From 12658dbc28fe3dba4de518151f965b5452dbe3bf Mon Sep 17 00:00:00 2001 From: 10191 <506754232@qq.com> Date: Sat, 18 Apr 2026 11:16:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=B1=E8=B4=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj | 1 + .../FineUIPro.Web/HJGL/DataIn/ocrz-app.css | 2 +- HJGL_DS/FineUIPro.Web/HJGL/DataIn/ocrz-app.js | 42 +- .../HJGL/JoinMarking/JoinMarking.aspx | 71 ++ .../HJGL/JoinMarking/JoinMarking.aspx.cs | 191 ++++ .../JoinMarking/JoinMarking.aspx.designer.cs | 71 ++ .../HJGL/JoinMarking/JointShow.aspx | 60 ++ .../HJGL/JoinMarking/JointShow.aspx.cs | 405 ++++++++ .../JoinMarking/JointShow.aspx.designer.cs | 98 ++ .../HJGL/JoinMarking/PDFMarking.aspx | 244 +++++ .../HJGL/JoinMarking/PDFMarking.aspx.cs | 887 ++++++++++++++++++ .../JoinMarking/PDFMarking.aspx.designer.cs | 179 ++++ .../HJGL/JoinMarking/PDFShow.aspx | 41 + .../HJGL/JoinMarking/PDFShow.aspx.cs | 195 ++++ .../HJGL/JoinMarking/PDFShow.aspx.designer.cs | 89 ++ .../HJGL/JoinMarking/assets/main-DE8eQLmE.js | 1 + .../HJGL/JoinMarking/assets/main-DSskaVYi.css | 1 + .../JoinMarking/assets/pdf-lib-D5zKcp81.js | 15 + .../HJGL/JoinMarking/assets/pdfjs-HfNT2Y4W.js | 23 + .../JoinMarking/assets/styles-Bno-H3Kc.js | 24 + .../JoinMarking/assets/styles-CDHjsf7D.css | 1 + .../JoinMarking/assets/viewer-BilNgxa5.css | 1 + .../JoinMarking/assets/viewer-Dla4Cfl-.js | 1 + 23 files changed, 2621 insertions(+), 22 deletions(-) create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JoinMarking.aspx create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JoinMarking.aspx.cs create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JoinMarking.aspx.designer.cs create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JointShow.aspx create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JointShow.aspx.cs create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JointShow.aspx.designer.cs create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFMarking.aspx create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFMarking.aspx.cs create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFMarking.aspx.designer.cs create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFShow.aspx create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFShow.aspx.cs create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFShow.aspx.designer.cs create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/main-DE8eQLmE.js create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/main-DSskaVYi.css create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/pdf-lib-D5zKcp81.js create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/pdfjs-HfNT2Y4W.js create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/styles-Bno-H3Kc.js create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/styles-CDHjsf7D.css create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/viewer-BilNgxa5.css create mode 100644 HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/viewer-Dla4Cfl-.js diff --git a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj index ce97e84..c7164e6 100644 --- a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj +++ b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj @@ -8270,6 +8270,7 @@ + diff --git a/HJGL_DS/FineUIPro.Web/HJGL/DataIn/ocrz-app.css b/HJGL_DS/FineUIPro.Web/HJGL/DataIn/ocrz-app.css index 94b94ec..71992c1 100644 --- a/HJGL_DS/FineUIPro.Web/HJGL/DataIn/ocrz-app.css +++ b/HJGL_DS/FineUIPro.Web/HJGL/DataIn/ocrz-app.css @@ -1 +1 @@ -@charset "UTF-8";: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","微软雅黑",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);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px;color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:rgb(121,187,255);--el-color-primary-light-5:rgb(160,207,255);--el-color-primary-light-7:rgb(198,226,255);--el-color-primary-light-8:rgb(217,236,255);--el-color-primary-light-9:rgb(236,245,255);--el-color-primary-dark-2:rgb(51,126,204);--el-color-success:#67c23a;--el-color-success-light-3:rgb(149,212,117);--el-color-success-light-5:rgb(179,225,157);--el-color-success-light-7:rgb(209,237,196);--el-color-success-light-8:rgb(225,243,216);--el-color-success-light-9:rgb(240,249,235);--el-color-success-dark-2:rgb(82,155,46);--el-color-warning:#e6a23c;--el-color-warning-light-3:rgb(238,190,119);--el-color-warning-light-5:rgb(243,209,158);--el-color-warning-light-7:rgb(248,227,197);--el-color-warning-light-8:rgb(250,236,216);--el-color-warning-light-9:rgb(253,246,236);--el-color-warning-dark-2:rgb(184,130,48);--el-color-danger:#f56c6c;--el-color-danger-light-3:rgb(248,152,152);--el-color-danger-light-5:rgb(250,182,182);--el-color-danger-light-7:rgb(252,211,211);--el-color-danger-light-8:rgb(253,226,226);--el-color-danger-light-9:rgb(254,240,240);--el-color-danger-dark-2:rgb(196,86,86);--el-color-error:#f56c6c;--el-color-error-light-3:rgb(248,152,152);--el-color-error-light-5:rgb(250,182,182);--el-color-error-light-7:rgb(252,211,211);--el-color-error-light-8:rgb(253,226,226);--el-color-error-light-9:rgb(254,240,240);--el-color-error-dark-2:rgb(196,86,86);--el-color-info:#909399;--el-color-info-light-3:rgb(177,179,184);--el-color-info-light-5:rgb(200,201,204);--el-color-info-light-7:rgb(222,223,224);--el-color-info-light-8:rgb(233,233,235);--el-color-info-light-9:rgb(244,244,245);--el-color-info-dark-2:rgb(115,118,122);--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--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);transform-origin:center top;transition:var(--el-transition-md-fade)}.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);transform-origin:center bottom;transition:var(--el-transition-md-fade)}.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);transform-origin:top left;transition:var(--el-transition-md-fade)}.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--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.el-icon{--color:inherit;align-items:center;color:var(--color);display:inline-flex;fill:currentColor;font-size:inherit;height:1em;justify-content:center;line-height:1em;position:relative;width:1em}.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:14px;--el-alert-title-with-description-font-size:16px;--el-alert-description-font-size:14px;--el-alert-close-font-size:16px;--el-alert-close-customed-font-size:14px;--el-alert-icon-size:16px;--el-alert-icon-large-size:28px;align-items:center;background-color:var(--el-color-white);border-radius:var(--el-alert-border-radius-base);box-sizing:border-box;display:flex;margin:0;opacity:1;overflow:hidden;padding:var(--el-alert-padding);position:relative;transition:opacity var(--el-transition-duration-fast);width:100%}.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--primary{--el-alert-bg-color:var(--el-color-primary-light-9)}.el-alert--primary.is-light{background-color:var(--el-alert-bg-color)}.el-alert--primary.is-light,.el-alert--primary.is-light .el-alert__description{color:var(--el-color-primary)}.el-alert--primary.is-dark{background-color:var(--el-color-primary);color:var(--el-color-white)}.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)}.el-alert--success.is-light,.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)}.el-alert--info.is-light,.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)}.el-alert--warning.is-light,.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)}.el-alert--error.is-light,.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:flex;flex-direction:column;gap:4px}.el-alert .el-alert__icon{font-size:var(--el-alert-icon-size);margin-right:8px;width:var(--el-alert-icon-size)}.el-alert .el-alert__icon.is-big{font-size:var(--el-alert-icon-large-size);margin-right:12px;width:var(--el-alert-icon-large-size)}.el-alert__title{font-size:var(--el-alert-title-font-size);line-height:24px}.el-alert__title.with-description{font-size:var(--el-alert-title-with-description-font-size)}.el-alert .el-alert__description{font-size:var(--el-alert-description-font-size);margin:0}.el-alert .el-alert__close-btn{cursor:pointer;font-size:var(--el-alert-close-font-size);opacity:1;position:absolute;right:16px;top:12px}.el-alert .el-alert__close-btn.is-customed{font-size:var(--el-alert-close-customed-font-size);font-style:normal;line-height:24px;top:8px}.el-alert-fade-enter-from,.el-alert-fade-leave-active{opacity:0}.el-aside{box-sizing:border-box;flex-shrink:0;overflow:auto;width:var(--el-aside-width,300px)}.el-autocomplete{--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-input-width:100%;display:inline-block;position:relative;width:var(--el-input-width)}.el-autocomplete__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper,.el-autocomplete__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-autocomplete__popper.el-popper[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__header{border-bottom:1px solid var(--el-border-color-lighter);padding:10px}.el-autocomplete-suggestion__footer{border-top:1px solid var(--el-border-color-lighter);padding:10px}.el-autocomplete-suggestion__wrap{box-sizing:border-box;max-height:280px;padding:10px 0}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);line-height:34px;list-style:none;margin:0;overflow:hidden;padding:0 20px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-autocomplete-suggestion li.highlighted,.el-autocomplete-suggestion li:hover{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{border-top:1px solid var(--el-color-black);margin-top:6px}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{align-items:center;color:var(--el-text-color-secondary);cursor:default;display:flex;font-size:20px;height:100px;justify-content:center}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-bg-color-overlay)}.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-small:24px;--el-avatar-size:40px;align-items:center;background:var(--el-avatar-bg-color);box-sizing:border-box;color:var(--el-avatar-text-color);display:inline-flex;font-size:var(--el-avatar-text-size);height:var(--el-avatar-size);justify-content:center;outline:none;overflow:hidden;text-align:center;width:var(--el-avatar-size)}.el-avatar>img{display:block;height:100%;width: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-avatar-group{--el-avatar-group-item-gap:-8px;--el-avatar-group-collapse-item-gap:4px;display:inline-flex}.el-avatar-group .el-avatar{border:1px solid var(--el-border-color-extra-light)}.el-avatar-group .el-avatar:not(:first-child){margin-left:var(--el-avatar-group-item-gap)}.el-avatar-group__collapse-avatars{--el-avatar-group-item-gap:-8px;--el-avatar-group-collapse-item-gap:4px}.el-avatar-group__collapse-avatars .el-avatar:not(:first-child){margin-left:var(--el-avatar-group-collapse-item-gap)}.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);align-items:center;background-color:var(--el-backtop-bg-color);border-radius:50%;box-shadow:var(--el-box-shadow-lighter);color:var(--el-backtop-text-color);cursor:pointer;display:flex;font-size:20px;height:40px;justify-content:center;position:fixed;width:40px;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;display:inline-block;position:relative;vertical-align:middle;width:-moz-fit-content;width:fit-content}.el-badge__content{align-items:center;background-color:var(--el-badge-bg-color);border:1px solid var(--el-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-flex;font-size:var(--el-badge-font-size);height:var(--el-badge-size);justify-content:center;padding:0 var(--el-badge-padding);white-space:nowrap}.el-badge__content.is-fixed{position:absolute;right:calc(1px + var(--el-badge-size)/2);top:0;transform:translateY(-50%) translate(100%);z-index:var(--el-index-normal)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{border-radius:50%;height:8px;padding:0;right:0;width:8px}.el-badge__content.is-hide-zero{display:none}.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__separator{color:var(--el-text-color-placeholder);font-weight:700;margin:0 9px}.el-breadcrumb__separator.el-icon{font-weight:400;margin:0 6px}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{align-items:center;display:inline-flex;float:left}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner a,.el-breadcrumb__inner.is-link{color:var(--el-text-color-primary);font-weight:700;text-decoration:none;transition:var(--el-transition-color)}.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{color:var(--el-text-color-regular);cursor:text;font-weight:400}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{content:"";display:table}.el-breadcrumb:after{clear:both}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child:last-child{border-bottom-left-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-top-right-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.is-active,.el-button-group>.el-button:active,.el-button-group>.el-button:focus,.el-button-group>.el-button:hover{z-index:1}.el-button-group--horizontal{display:inline-block;vertical-align:middle}.el-button-group--horizontal:after,.el-button-group--horizontal:before{content:"";display:table}.el-button-group--horizontal:after{clear:both}.el-button-group--horizontal>.el-button{float:left;position:relative}.el-button-group--horizontal>.el-button:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.el-button-group--horizontal>.el-button:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.el-button-group--horizontal>.el-button:not(:last-child){margin-right:-1px}.el-button-group--horizontal .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .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--horizontal .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .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--horizontal .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .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--horizontal .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .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--horizontal .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .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-group--horizontal>.el-dropdown>.el-button{border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0}.el-button-group--vertical{align-items:stretch;display:inline-flex;flex-direction:column}.el-button-group--vertical>.el-button{margin-top:-1px}.el-button-group--vertical>.el-button:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.el-button-group--vertical>.el-button:last-child{border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical>.el-dropdown{margin-top:-1px}.el-button-group--vertical>.el-dropdown>.el-button{border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical .el-button--primary:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-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-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-text-color-secondary);--el-button-active-color:var(--el-text-color-primary);align-items:center;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);box-sizing:border-box;color:var(--el-button-text-color);cursor:pointer;display:inline-flex;font-weight:var(--el-button-font-weight);height:32px;justify-content:center;line-height:1;outline:none;text-align:center;transition:.1s;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-button:hover{background-color:var(--el-button-hover-bg-color);border-color:var(--el-button-hover-border-color);color:var(--el-button-hover-text-color);outline:none}.el-button:active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button>span{align-items:center;display:inline-flex}.el-button+.el-button{margin-left:12px}.el-button{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base)}.el-button,.el-button.is-round{padding:8px 15px}.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{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{background-color:var(--el-button-disabled-bg-color);background-image:none;border-color:var(--el-button-disabled-border-color);color:var(--el-button-disabled-text-color);cursor:not-allowed}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{background-color:var(--el-mask-color-extra-light);border-radius:inherit;bottom:-1px;content:"";left:-1px;pointer-events:none;position:absolute;right:-1px;top:-1px;z-index:1}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px;width:32px}.el-button.is-text{background-color:transparent;border:0 solid transparent;color:var(--el-button-text-color)}.el-button.is-text.is-disabled{background-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{background:transparent;border-color:transparent;color:var(--el-button-text-color);height:auto;padding:2px}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-link:not(.is-disabled):active,.el-button.is-link:not(.is-disabled):hover{background-color:transparent;border-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color)}.el-button--text{background:transparent;border-color:transparent;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button--text:not(.is-disabled):hover{background-color:transparent;border-color:transparent;color:var(--el-color-primary-light-3)}.el-button--text:not(.is-disabled):active{background-color:transparent;border-color:transparent;color:var(--el-color-primary-dark-2)}.el-button__link--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-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--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-link,.el-button--primary.is-plain,.el-button--primary.is-text{--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-link.is-disabled,.el-button--primary.is-link.is-disabled:active,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:hover,.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,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8);color:var(--el-color-primary-light-5)}.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-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--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-link,.el-button--success.is-plain,.el-button--success.is-text{--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-link.is-disabled,.el-button--success.is-link.is-disabled:active,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:hover,.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,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8);color:var(--el-color-success-light-5)}.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-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--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-link,.el-button--warning.is-plain,.el-button--warning.is-text{--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-link.is-disabled,.el-button--warning.is-link.is-disabled:active,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:hover,.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,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8);color:var(--el-color-warning-light-5)}.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-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--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-link,.el-button--danger.is-plain,.el-button--danger.is-text{--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-link.is-disabled,.el-button--danger.is-link.is-disabled:active,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:hover,.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,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8);color:var(--el-color-danger-light-5)}.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-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--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-link,.el-button--info.is-plain,.el-button--info.is-text{--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-link.is-disabled,.el-button--info.is-link.is-disabled:active,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:hover,.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,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);color:var(--el-color-info-light-5)}.el-button--large{--el-button-size:40px;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base);padding:12px 19px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{padding:12px;width:var(--el-button-size)}.el-button--small{--el-button-size:24px;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:12px;padding:5px 11px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{padding:5px;width:var(--el-button-size)}.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{border-bottom:var(--el-calendar-header-border-bottom);display:flex;justify-content:space-between;padding:12px 20px}.el-calendar__title{align-self:center;color:var(--el-text-color)}.el-calendar__body{padding:12px 20px 35px}.el-calendar__select-controller .el-select{margin-right:8px}.el-calendar__select-controller .el-calendar-select__year{width:120px}.el-calendar__select-controller .el-calendar-select__month{width:60px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{color:var(--el-text-color-regular);font-weight:400;padding:12px 0}.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);transition:background-color var(--el-transition-duration-fast) ease;vertical-align:top}.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;height:var(--el-calendar-cell-width);padding:8px}.el-calendar-table .el-calendar-day:hover{background-color:var(--el-calendar-selected-bg-color);cursor:pointer}.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);background-color:var(--el-card-bg-color);border:1px solid var(--el-card-border-color);border-radius:var(--el-card-border-radius);color:var(--el-text-color-primary);display:flex;flex-direction:column;overflow:hidden;transition:var(--el-transition-duration)}.el-card.is-always-shadow,.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:var(--el-box-shadow-light)}.el-card__header{border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-card__body{flex-grow:1;overflow:auto;padding:var(--el-card-padding)}.el-card__footer{border-top:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-carousel__item{display:inline-block;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.el-carousel__item,.el-carousel__item.is-active{z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item--card,.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%}.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__item--card-vertical{height:50%;width:100%}.el-carousel__mask{background-color:var(--el-color-white);height:100%;left:0;opacity:.24;position:absolute;top:0;transition:var(--el-transition-duration-fast);width:100%}.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,.el-carousel--vertical{overflow:hidden}.el-carousel__container{height:300px;position:relative}.el-carousel__arrow{align-items:center;background-color:var(--el-carousel-arrow-background);border:none;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;font-size:var(--el-carousel-arrow-font-size);height:var(--el-carousel-arrow-size);justify-content:center;margin:0;outline:none;padding:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);transition:var(--el-transition-duration);width:var(--el-carousel-arrow-size);z-index:10}.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{list-style:none;margin:0;padding:0;position:absolute;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);position:static;text-align:center;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--right{right:0}.el-carousel__indicators--labels{left:0;right:0;text-align:center;transform:none}.el-carousel__indicators--labels .el-carousel__button{color:#000;font-size:12px;height:auto;padding:2px 18px;width:auto}.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{height:calc(var(--el-carousel-indicator-width)/2);width:var(--el-carousel-indicator-height)}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{background-color:#fff;border:none;cursor:pointer;display:block;height:var(--el-carousel-indicator-height);margin:0;opacity:.48;outline:none;padding:0;transition:var(--el-transition-duration);width:var(--el-carousel-indicator-width)}.carousel-arrow-left-enter-from,.carousel-arrow-left-leave-active{opacity:0;transform:translateY(-50%) translate(-10px)}.carousel-arrow-right-enter-from,.carousel-arrow-right-leave-active{opacity:0;transform:translateY(-50%) translate(10px)}.el-transitioning{filter:url(#elCarouselHorizontal)}.el-transitioning-vertical{filter:url(#elCarouselVertical)}.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);border-radius:var(--el-cascader-menu-radius);display:flex;font-size:var(--el-cascader-menu-font-size);width:-moz-fit-content;width:fit-content}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{border-right:var(--el-cascader-menu-border);box-sizing:border-box;color:var(--el-cascader-menu-text-color);min-width:180px}.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{box-sizing:border-box;list-style:none;margin:0;min-height:100%;padding:6px 0;position:relative}.el-cascader-menu__hover-zone{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.el-cascader-menu__empty-text{align-items:center;color:var(--el-cascader-color-empty);display:flex;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{align-items:center;display:flex;height:34px;line-height:34px;outline:none;padding:0 30px 0 20px;position:relative}.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{left:10px;position:absolute}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;overflow:hidden;padding:0 8px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-cascader-node>.el-checkbox,.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;font-size:var(--el-font-size-base);line-height:32px;outline:none;position:relative;vertical-align:middle}.el-cascader:not(.is-disabled):hover .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset;cursor:pointer}.el-cascader .el-input{cursor:pointer;display:flex}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis}.el-cascader .el-input .el-input__inner:-moz-read-only{cursor:pointer}.el-cascader .el-input .el-input__inner:read-only{cursor:pointer}.el-cascader .el-input .el-input__inner:disabled{cursor:not-allowed}.el-cascader .el-input .el-input__suffix-inner .el-icon svg{vertical-align:middle}.el-cascader .el-input .icon-arrow-down{font-size:14px;transition:transform var(--el-transition-duration)}.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__wrapper{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--large .el-cascader__tags{gap:6px;padding:8px}.el-cascader--large .el-cascader__search-input{height:24px;margin-left:7px}.el-cascader--small{font-size:12px;line-height:24px}.el-cascader--small .el-cascader__tags{gap:4px;padding:2px}.el-cascader--small .el-cascader__search-input{height:20px;margin-left:5px}.el-cascader.is-disabled .el-cascader__label{color:var(--el-disabled-text-color);z-index:calc(var(--el-index-normal) + 1)}.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);border-radius:var(--el-cascader-menu-radius);font-size:var(--el-cascader-menu-font-size)}.el-cascader__dropdown.el-popper{background:var(--el-cascader-menu-fill)}.el-cascader__dropdown.el-popper,.el-cascader__dropdown.el-popper .el-popper__arrow:before{border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-cascader__dropdown.el-popper[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__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-cascader__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-cascader__tags{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:6px;left:0;line-height:normal;padding:4px;position:absolute;right:30px;text-align:left;top:50%;transform:translateY(-50%)}.el-cascader__tags .el-tag{align-items:center;background:var(--el-cascader-tag-background);display:inline-flex;max-width:100%;text-overflow:ellipsis}.el-cascader__tags .el-tag.el-tag--dark,.el-cascader__tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__tags .el-tag>span{flex:1;line-height:normal;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__tags .el-tag+input{margin-left:0}.el-cascader__tags.is-validate{right:55px}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal)}.el-cascader__collapse-tags .el-tag{align-items:center;background:var(--el-fill-color);display:inline-flex;max-width:100%;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag.el-tag--dark,.el-cascader__collapse-tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__collapse-tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__collapse-tags .el-tag>span{flex:1;line-height:normal;overflow:hidden;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__collapse-tags .el-tag+input{margin-left:0}.el-cascader__collapse-tags .el-tag{margin:2px 0}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-list{color:var(--el-cascader-menu-text-color);font-size:var(--el-font-size-base);margin:0;max-height:204px;padding:6px 0;text-align:center}.el-cascader__suggestion-item{align-items:center;cursor:pointer;display:flex;height:34px;justify-content:space-between;outline:none;padding:0 15px;text-align:left}.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{color:var(--el-cascader-color-empty);margin:10px 0}.el-cascader__search-input{background:transparent;border:none;box-sizing:border-box;color:var(--el-cascader-menu-text-color);flex:1;height:24px;margin-left:7px;min-width:60px;outline:none;padding:0}.el-cascader__search-input::-moz-placeholder{color:transparent}.el-cascader__search-input::placeholder{color:transparent}.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);font-weight:700;line-height:var(--el-font-size-base);padding:7px 15px;transition:var(--el-transition-all)}.el-check-tag:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--primary.is-checked{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary)}.el-check-tag.el-check-tag--primary.is-checked:hover{background-color:var(--el-color-primary-light-7)}.el-check-tag.el-check-tag--primary.is-checked.is-disabled{background-color:var(--el-color-primary-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-checked.is-disabled:hover{background-color:var(--el-color-primary-light-8)}.el-check-tag.el-check-tag--primary.is-disabled{background-color:var(--el-color-info-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-check-tag.el-check-tag--success.is-checked{background-color:var(--el-color-success-light-8);color:var(--el-color-success)}.el-check-tag.el-check-tag--success.is-checked:hover{background-color:var(--el-color-success-light-7)}.el-check-tag.el-check-tag--success.is-checked.is-disabled{background-color:var(--el-color-success-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-checked.is-disabled:hover{background-color:var(--el-color-success-light-8)}.el-check-tag.el-check-tag--success.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-disabled,.el-check-tag.el-check-tag--success.is-disabled:hover{background-color:var(--el-color-success-light-9)}.el-check-tag.el-check-tag--warning.is-checked{background-color:var(--el-color-warning-light-8);color:var(--el-color-warning)}.el-check-tag.el-check-tag--warning.is-checked:hover{background-color:var(--el-color-warning-light-7)}.el-check-tag.el-check-tag--warning.is-checked.is-disabled{background-color:var(--el-color-warning-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-checked.is-disabled:hover{background-color:var(--el-color-warning-light-8)}.el-check-tag.el-check-tag--warning.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-disabled,.el-check-tag.el-check-tag--warning.is-disabled:hover{background-color:var(--el-color-warning-light-9)}.el-check-tag.el-check-tag--danger.is-checked{background-color:var(--el-color-danger-light-8);color:var(--el-color-danger)}.el-check-tag.el-check-tag--danger.is-checked:hover{background-color:var(--el-color-danger-light-7)}.el-check-tag.el-check-tag--danger.is-checked.is-disabled{background-color:var(--el-color-danger-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-checked.is-disabled:hover{background-color:var(--el-color-danger-light-8)}.el-check-tag.el-check-tag--danger.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-disabled,.el-check-tag.el-check-tag--danger.is-disabled:hover{background-color:var(--el-color-danger-light-9)}.el-check-tag.el-check-tag--error.is-checked{background-color:var(--el-color-error-light-8);color:var(--el-color-error)}.el-check-tag.el-check-tag--error.is-checked:hover{background-color:var(--el-color-error-light-7)}.el-check-tag.el-check-tag--error.is-checked.is-disabled{background-color:var(--el-color-error-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-checked.is-disabled:hover{background-color:var(--el-color-error-light-8)}.el-check-tag.el-check-tag--error.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-disabled,.el-check-tag.el-check-tag--error.is-disabled:hover{background-color:var(--el-color-error-light-9)}.el-check-tag.el-check-tag--info.is-checked{background-color:var(--el-color-info-light-8);color:var(--el-color-info)}.el-check-tag.el-check-tag--info.is-checked:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--info.is-checked.is-disabled{background-color:var(--el-color-info-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-checked.is-disabled:hover{background-color:var(--el-color-info-light-8)}.el-check-tag.el-check-tag--info.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-disabled,.el-check-tag.el-check-tag--info.is-disabled:hover{background-color:var(--el-color-info-light-9)}.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);display:inline-block;position:relative}.el-checkbox-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);line-height:1;margin:0;outline:var(--el-border);padding:8px 15px;position:relative;text-align:center;transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.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{margin:0;opacity:0;outline:none;position:absolute;z-index:-1}.el-checkbox-button.is-checked .el-checkbox-button__inner{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);color:var(--el-checkbox-button-checked-text-color)}.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{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.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-bottom-left-radius:var(--el-border-radius-base);border-top-left-radius: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-bottom-right-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-checkbox-button--large .el-checkbox-button__inner{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-checkbox-button--large .el-checkbox-button__inner.is-round{padding:12px 19px}.el-checkbox-button--small .el-checkbox-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.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);align-items:center;color:var(--el-checkbox-text-color);cursor:pointer;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);height:var(--el-checkbox-height,32px);margin-right:30px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.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)}.el-checkbox.is-bordered.el-checkbox--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.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{border-radius:calc(var(--el-border-radius-base) - 1px);padding:0 11px 0 7px}.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:focus-visible+.el-checkbox__inner{border-radius:var(--el-checkbox-border-radius);outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px}.el-checkbox__input{cursor:pointer;display:inline-flex;outline:none;position:relative;white-space:nowrap}.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{border-color:var(--el-checkbox-disabled-icon-color);cursor:not-allowed;will-change:transform}.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{border-color:var(--el-checkbox-checked-icon-color);transform:translate(-45%,-60%) rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){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{background-color:var(--el-checkbox-checked-icon-color);content:"";display:block;height:2px;left:0;position:absolute;right:0;top:5px;transform:scale(.5)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{background-color:var(--el-checkbox-bg-color);border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;display:inline-block;height:var(--el-checkbox-input-height);position:relative;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46);width:var(--el-checkbox-input-width);z-index:var(--el-index-normal)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{border:1px solid transparent;border-left:0;border-top:0;box-sizing:content-box;content:"";height:7px;left:50%;position:absolute;top:50%;transform:translate(-45%,-60%) rotate(45deg) scaleY(0);transform-origin:center;transition:transform .15s ease-in .05s;width:3px}.el-checkbox__original{height:0;margin:0;opacity:0;outline:none;position:absolute;width:0;z-index:-1}.el-checkbox__label{display:inline-block;font-size:var(--el-checkbox-font-size);line-height:1;padding-left:8px}.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{height:14px;width: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{height:12px;width: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{height:6px;width:2px}.el-checkbox:last-of-type{margin-right:0}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{display:block;min-height:1px}.el-col-0{flex:0 0 0%;max-width:0}.el-col-0,.el-col-0.is-guttered{display:none}.el-col-offset-0{margin-left:0}.el-col-pull-0{position:relative;right:0}.el-col-push-0{left:0;position:relative}.el-col-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-1,.el-col-1.is-guttered{display:block}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{left:4.1666666667%;position:relative}.el-col-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-2,.el-col-2.is-guttered{display:block}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{left:8.3333333333%;position:relative}.el-col-3{flex:0 0 12.5%;max-width:12.5%}.el-col-3,.el-col-3.is-guttered{display:block}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{left:12.5%;position:relative}.el-col-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-4,.el-col-4.is-guttered{display:block}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{left:16.6666666667%;position:relative}.el-col-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-5,.el-col-5.is-guttered{display:block}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{left:20.8333333333%;position:relative}.el-col-6{flex:0 0 25%;max-width:25%}.el-col-6,.el-col-6.is-guttered{display:block}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{left:25%;position:relative}.el-col-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-7,.el-col-7.is-guttered{display:block}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{left:29.1666666667%;position:relative}.el-col-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-8,.el-col-8.is-guttered{display:block}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{left:33.3333333333%;position:relative}.el-col-9{flex:0 0 37.5%;max-width:37.5%}.el-col-9,.el-col-9.is-guttered{display:block}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{left:37.5%;position:relative}.el-col-10{flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-10,.el-col-10.is-guttered{display:block}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{left:41.6666666667%;position:relative}.el-col-11{flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-11,.el-col-11.is-guttered{display:block}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{left:45.8333333333%;position:relative}.el-col-12{flex:0 0 50%;max-width:50%}.el-col-12,.el-col-12.is-guttered{display:block}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{left:50%;position:relative}.el-col-13{flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-13,.el-col-13.is-guttered{display:block}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{left:54.1666666667%;position:relative}.el-col-14{flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-14,.el-col-14.is-guttered{display:block}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{left:58.3333333333%;position:relative}.el-col-15{flex:0 0 62.5%;max-width:62.5%}.el-col-15,.el-col-15.is-guttered{display:block}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{left:62.5%;position:relative}.el-col-16{flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-16,.el-col-16.is-guttered{display:block}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{left:66.6666666667%;position:relative}.el-col-17{flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-17,.el-col-17.is-guttered{display:block}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{left:70.8333333333%;position:relative}.el-col-18{flex:0 0 75%;max-width:75%}.el-col-18,.el-col-18.is-guttered{display:block}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{left:75%;position:relative}.el-col-19{flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-19,.el-col-19.is-guttered{display:block}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{left:79.1666666667%;position:relative}.el-col-20{flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-20,.el-col-20.is-guttered{display:block}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{left:83.3333333333%;position:relative}.el-col-21{flex:0 0 87.5%;max-width:87.5%}.el-col-21,.el-col-21.is-guttered{display:block}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{left:87.5%;position:relative}.el-col-22{flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-22,.el-col-22.is-guttered{display:block}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{left:91.6666666667%;position:relative}.el-col-23{flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-23,.el-col-23.is-guttered{display:block}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{left:95.8333333333%;position:relative}.el-col-24{flex:0 0 100%;max-width:100%}.el-col-24,.el-col-24.is-guttered{display:block}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{left:100%;position:relative}@media only screen and (max-width:767px){.el-col-xs-0{display:none;flex:0 0 0%;max-width:0}.el-col-xs-0.is-guttered{display:none}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{left:0;position:relative}.el-col-xs-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xs-1,.el-col-xs-1.is-guttered{display:block}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{left:4.1666666667%;position:relative}.el-col-xs-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xs-2,.el-col-xs-2.is-guttered{display:block}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{left:8.3333333333%;position:relative}.el-col-xs-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xs-3,.el-col-xs-3.is-guttered{display:block}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{left:12.5%;position:relative}.el-col-xs-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xs-4,.el-col-xs-4.is-guttered{display:block}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{left:16.6666666667%;position:relative}.el-col-xs-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xs-5,.el-col-xs-5.is-guttered{display:block}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{left:20.8333333333%;position:relative}.el-col-xs-6{flex:0 0 25%;max-width:25%}.el-col-xs-6,.el-col-xs-6.is-guttered{display:block}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{left:25%;position:relative}.el-col-xs-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xs-7,.el-col-xs-7.is-guttered{display:block}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{left:29.1666666667%;position:relative}.el-col-xs-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xs-8,.el-col-xs-8.is-guttered{display:block}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{left:33.3333333333%;position:relative}.el-col-xs-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xs-9,.el-col-xs-9.is-guttered{display:block}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{left:37.5%;position:relative}.el-col-xs-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xs-10.is-guttered{display:block}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{left:41.6666666667%;position:relative}.el-col-xs-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xs-11.is-guttered{display:block}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{left:45.8333333333%;position:relative}.el-col-xs-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xs-12.is-guttered{display:block}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{left:50%;position:relative}.el-col-xs-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xs-13.is-guttered{display:block}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{left:54.1666666667%;position:relative}.el-col-xs-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xs-14.is-guttered{display:block}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{left:58.3333333333%;position:relative}.el-col-xs-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xs-15.is-guttered{display:block}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{left:62.5%;position:relative}.el-col-xs-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xs-16.is-guttered{display:block}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{left:66.6666666667%;position:relative}.el-col-xs-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xs-17.is-guttered{display:block}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{left:70.8333333333%;position:relative}.el-col-xs-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xs-18.is-guttered{display:block}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{left:75%;position:relative}.el-col-xs-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xs-19.is-guttered{display:block}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{left:79.1666666667%;position:relative}.el-col-xs-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xs-20.is-guttered{display:block}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{left:83.3333333333%;position:relative}.el-col-xs-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xs-21.is-guttered{display:block}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{left:87.5%;position:relative}.el-col-xs-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xs-22.is-guttered{display:block}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{left:91.6666666667%;position:relative}.el-col-xs-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xs-23.is-guttered{display:block}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{left:95.8333333333%;position:relative}.el-col-xs-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xs-24.is-guttered{display:block}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{left:100%;position:relative}}@media only screen and (min-width:768px){.el-col-sm-0{display:none;flex:0 0 0%;max-width:0}.el-col-sm-0.is-guttered{display:none}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{left:0;position:relative}.el-col-sm-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-sm-1,.el-col-sm-1.is-guttered{display:block}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{left:4.1666666667%;position:relative}.el-col-sm-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-sm-2,.el-col-sm-2.is-guttered{display:block}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{left:8.3333333333%;position:relative}.el-col-sm-3{flex:0 0 12.5%;max-width:12.5%}.el-col-sm-3,.el-col-sm-3.is-guttered{display:block}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{left:12.5%;position:relative}.el-col-sm-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-sm-4,.el-col-sm-4.is-guttered{display:block}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{left:16.6666666667%;position:relative}.el-col-sm-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-sm-5,.el-col-sm-5.is-guttered{display:block}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{left:20.8333333333%;position:relative}.el-col-sm-6{flex:0 0 25%;max-width:25%}.el-col-sm-6,.el-col-sm-6.is-guttered{display:block}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{left:25%;position:relative}.el-col-sm-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-sm-7,.el-col-sm-7.is-guttered{display:block}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{left:29.1666666667%;position:relative}.el-col-sm-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-sm-8,.el-col-sm-8.is-guttered{display:block}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{left:33.3333333333%;position:relative}.el-col-sm-9{flex:0 0 37.5%;max-width:37.5%}.el-col-sm-9,.el-col-sm-9.is-guttered{display:block}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{left:37.5%;position:relative}.el-col-sm-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-sm-10.is-guttered{display:block}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{left:41.6666666667%;position:relative}.el-col-sm-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-sm-11.is-guttered{display:block}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{left:45.8333333333%;position:relative}.el-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.el-col-sm-12.is-guttered{display:block}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{left:50%;position:relative}.el-col-sm-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-sm-13.is-guttered{display:block}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{left:54.1666666667%;position:relative}.el-col-sm-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-sm-14.is-guttered{display:block}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{left:58.3333333333%;position:relative}.el-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-sm-15.is-guttered{display:block}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{left:62.5%;position:relative}.el-col-sm-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-sm-16.is-guttered{display:block}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{left:66.6666666667%;position:relative}.el-col-sm-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-sm-17.is-guttered{display:block}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{left:70.8333333333%;position:relative}.el-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.el-col-sm-18.is-guttered{display:block}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{left:75%;position:relative}.el-col-sm-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-sm-19.is-guttered{display:block}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{left:79.1666666667%;position:relative}.el-col-sm-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-sm-20.is-guttered{display:block}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{left:83.3333333333%;position:relative}.el-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-sm-21.is-guttered{display:block}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{left:87.5%;position:relative}.el-col-sm-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-sm-22.is-guttered{display:block}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{left:91.6666666667%;position:relative}.el-col-sm-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-sm-23.is-guttered{display:block}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{left:95.8333333333%;position:relative}.el-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.el-col-sm-24.is-guttered{display:block}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{left:100%;position:relative}}@media only screen and (min-width:992px){.el-col-md-0{display:none;flex:0 0 0%;max-width:0}.el-col-md-0.is-guttered{display:none}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{left:0;position:relative}.el-col-md-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-md-1,.el-col-md-1.is-guttered{display:block}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{left:4.1666666667%;position:relative}.el-col-md-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-md-2,.el-col-md-2.is-guttered{display:block}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{left:8.3333333333%;position:relative}.el-col-md-3{flex:0 0 12.5%;max-width:12.5%}.el-col-md-3,.el-col-md-3.is-guttered{display:block}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{left:12.5%;position:relative}.el-col-md-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-md-4,.el-col-md-4.is-guttered{display:block}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{left:16.6666666667%;position:relative}.el-col-md-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-md-5,.el-col-md-5.is-guttered{display:block}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{left:20.8333333333%;position:relative}.el-col-md-6{flex:0 0 25%;max-width:25%}.el-col-md-6,.el-col-md-6.is-guttered{display:block}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{left:25%;position:relative}.el-col-md-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-md-7,.el-col-md-7.is-guttered{display:block}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{left:29.1666666667%;position:relative}.el-col-md-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-md-8,.el-col-md-8.is-guttered{display:block}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{left:33.3333333333%;position:relative}.el-col-md-9{flex:0 0 37.5%;max-width:37.5%}.el-col-md-9,.el-col-md-9.is-guttered{display:block}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{left:37.5%;position:relative}.el-col-md-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-md-10.is-guttered{display:block}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{left:41.6666666667%;position:relative}.el-col-md-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-md-11.is-guttered{display:block}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{left:45.8333333333%;position:relative}.el-col-md-12{display:block;flex:0 0 50%;max-width:50%}.el-col-md-12.is-guttered{display:block}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{left:50%;position:relative}.el-col-md-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-md-13.is-guttered{display:block}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{left:54.1666666667%;position:relative}.el-col-md-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-md-14.is-guttered{display:block}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{left:58.3333333333%;position:relative}.el-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-md-15.is-guttered{display:block}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{left:62.5%;position:relative}.el-col-md-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-md-16.is-guttered{display:block}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{left:66.6666666667%;position:relative}.el-col-md-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-md-17.is-guttered{display:block}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{left:70.8333333333%;position:relative}.el-col-md-18{display:block;flex:0 0 75%;max-width:75%}.el-col-md-18.is-guttered{display:block}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{left:75%;position:relative}.el-col-md-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-md-19.is-guttered{display:block}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{left:79.1666666667%;position:relative}.el-col-md-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-md-20.is-guttered{display:block}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{left:83.3333333333%;position:relative}.el-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-md-21.is-guttered{display:block}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{left:87.5%;position:relative}.el-col-md-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-md-22.is-guttered{display:block}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{left:91.6666666667%;position:relative}.el-col-md-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-md-23.is-guttered{display:block}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{left:95.8333333333%;position:relative}.el-col-md-24{display:block;flex:0 0 100%;max-width:100%}.el-col-md-24.is-guttered{display:block}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{left:100%;position:relative}}@media only screen and (min-width:1200px){.el-col-lg-0{display:none;flex:0 0 0%;max-width:0}.el-col-lg-0.is-guttered{display:none}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{left:0;position:relative}.el-col-lg-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-lg-1,.el-col-lg-1.is-guttered{display:block}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{left:4.1666666667%;position:relative}.el-col-lg-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-lg-2,.el-col-lg-2.is-guttered{display:block}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{left:8.3333333333%;position:relative}.el-col-lg-3{flex:0 0 12.5%;max-width:12.5%}.el-col-lg-3,.el-col-lg-3.is-guttered{display:block}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{left:12.5%;position:relative}.el-col-lg-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-lg-4,.el-col-lg-4.is-guttered{display:block}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{left:16.6666666667%;position:relative}.el-col-lg-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-lg-5,.el-col-lg-5.is-guttered{display:block}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{left:20.8333333333%;position:relative}.el-col-lg-6{flex:0 0 25%;max-width:25%}.el-col-lg-6,.el-col-lg-6.is-guttered{display:block}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{left:25%;position:relative}.el-col-lg-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-lg-7,.el-col-lg-7.is-guttered{display:block}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{left:29.1666666667%;position:relative}.el-col-lg-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-lg-8,.el-col-lg-8.is-guttered{display:block}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{left:33.3333333333%;position:relative}.el-col-lg-9{flex:0 0 37.5%;max-width:37.5%}.el-col-lg-9,.el-col-lg-9.is-guttered{display:block}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{left:37.5%;position:relative}.el-col-lg-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-lg-10.is-guttered{display:block}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{left:41.6666666667%;position:relative}.el-col-lg-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-lg-11.is-guttered{display:block}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{left:45.8333333333%;position:relative}.el-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.el-col-lg-12.is-guttered{display:block}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{left:50%;position:relative}.el-col-lg-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-lg-13.is-guttered{display:block}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{left:54.1666666667%;position:relative}.el-col-lg-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-lg-14.is-guttered{display:block}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{left:58.3333333333%;position:relative}.el-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-lg-15.is-guttered{display:block}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{left:62.5%;position:relative}.el-col-lg-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-lg-16.is-guttered{display:block}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{left:66.6666666667%;position:relative}.el-col-lg-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-lg-17.is-guttered{display:block}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{left:70.8333333333%;position:relative}.el-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.el-col-lg-18.is-guttered{display:block}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{left:75%;position:relative}.el-col-lg-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-lg-19.is-guttered{display:block}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{left:79.1666666667%;position:relative}.el-col-lg-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-lg-20.is-guttered{display:block}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{left:83.3333333333%;position:relative}.el-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-lg-21.is-guttered{display:block}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{left:87.5%;position:relative}.el-col-lg-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-lg-22.is-guttered{display:block}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{left:91.6666666667%;position:relative}.el-col-lg-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-lg-23.is-guttered{display:block}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{left:95.8333333333%;position:relative}.el-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.el-col-lg-24.is-guttered{display:block}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{left:100%;position:relative}}@media only screen and (min-width:1920px){.el-col-xl-0{display:none;flex:0 0 0%;max-width:0}.el-col-xl-0.is-guttered{display:none}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{left:0;position:relative}.el-col-xl-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xl-1,.el-col-xl-1.is-guttered{display:block}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{left:4.1666666667%;position:relative}.el-col-xl-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xl-2,.el-col-xl-2.is-guttered{display:block}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{left:8.3333333333%;position:relative}.el-col-xl-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xl-3,.el-col-xl-3.is-guttered{display:block}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{left:12.5%;position:relative}.el-col-xl-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xl-4,.el-col-xl-4.is-guttered{display:block}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{left:16.6666666667%;position:relative}.el-col-xl-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xl-5,.el-col-xl-5.is-guttered{display:block}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{left:20.8333333333%;position:relative}.el-col-xl-6{flex:0 0 25%;max-width:25%}.el-col-xl-6,.el-col-xl-6.is-guttered{display:block}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{left:25%;position:relative}.el-col-xl-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xl-7,.el-col-xl-7.is-guttered{display:block}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{left:29.1666666667%;position:relative}.el-col-xl-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xl-8,.el-col-xl-8.is-guttered{display:block}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{left:33.3333333333%;position:relative}.el-col-xl-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xl-9,.el-col-xl-9.is-guttered{display:block}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{left:37.5%;position:relative}.el-col-xl-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xl-10.is-guttered{display:block}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{left:41.6666666667%;position:relative}.el-col-xl-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xl-11.is-guttered{display:block}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{left:45.8333333333%;position:relative}.el-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xl-12.is-guttered{display:block}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{left:50%;position:relative}.el-col-xl-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xl-13.is-guttered{display:block}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{left:54.1666666667%;position:relative}.el-col-xl-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xl-14.is-guttered{display:block}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{left:58.3333333333%;position:relative}.el-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xl-15.is-guttered{display:block}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{left:62.5%;position:relative}.el-col-xl-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xl-16.is-guttered{display:block}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{left:66.6666666667%;position:relative}.el-col-xl-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xl-17.is-guttered{display:block}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{left:70.8333333333%;position:relative}.el-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xl-18.is-guttered{display:block}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{left:75%;position:relative}.el-col-xl-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xl-19.is-guttered{display:block}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{left:79.1666666667%;position:relative}.el-col-xl-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xl-20.is-guttered{display:block}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{left:83.3333333333%;position:relative}.el-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xl-21.is-guttered{display:block}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{left:87.5%;position:relative}.el-col-xl-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xl-22.is-guttered{display:block}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{left:91.6666666667%;position:relative}.el-col-xl-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xl-23.is-guttered{display:block}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{left:95.8333333333%;position:relative}.el-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xl-24.is-guttered{display:block}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{left:100%;position:relative}}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{align-items:center;background-color:var(--el-collapse-header-bg-color);border:none;border-bottom:1px solid var(--el-collapse-border-color);box-sizing:border-box;color:var(--el-collapse-header-text-color);cursor:pointer;display:flex;font-size:var(--el-collapse-header-font-size);font-weight:500;line-height:var(--el-collapse-header-height);min-height:var(--el-collapse-header-height);outline:none;padding:0;transition:border-bottom-color var(--el-transition-duration);width:100%}.el-collapse-item__arrow{font-weight:300;transition:transform var(--el-transition-duration)}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__title{flex:auto;text-align:left}.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{background-color:var(--el-collapse-content-bg-color);border-bottom:1px solid var(--el-collapse-border-color);box-sizing:border-box;overflow:hidden;will-change:height}.el-collapse-item__content{color:var(--el-collapse-content-text-color);font-size:var(--el-collapse-content-font-size);line-height:1.7692307692;padding-bottom:25px}.el-collapse-item:last-child{margin-bottom:-1px}.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-bottom:1px solid var(--el-collapse-border-color);border-top:1px solid var(--el-collapse-border-color)}.el-collapse-icon-position-left .el-collapse-item__header{gap:8px}.el-collapse-icon-position-left .el-collapse-item__title{order:1}.el-collapse-icon-position-right .el-collapse-item__header{padding-right:8px}.el-color-picker-panel{--el-colorpicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-colorpicker-bg-color);background:var(--el-colorpicker-bg-color);box-sizing:content-box;padding:12px;width:300px}.el-color-picker-panel.is-border{border:1px solid var(--el-border-color-lighter);border-radius:4px}.el-color-picker-panel__wrapper{margin-bottom:6px}.el-color-picker-panel__footer{display:flex;justify-content:space-between;margin-top:12px;text-align:right}.el-color-picker-panel__footer .el-input{color:#000;font-size:12px;line-height:26px;width:160px}.el-color-picker-panel.is-disabled .el-color-hue-slider,.el-color-picker-panel.is-disabled .el-color-svpanel{cursor:not-allowed;opacity:.3}.el-color-picker-panel.is-disabled .el-color-hue-slider__thumb{cursor:not-allowed}.el-color-picker-panel.is-disabled .el-color-alpha-slider,.el-color-picker-panel.is-disabled .el-color-predefine .el-color-predefine__color-selector{cursor:not-allowed;opacity:.3}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap;gap:8px}.el-color-predefine__color-selector{border:none;border-radius:var(--el-border-radius-base);cursor:pointer;height:20px;outline:none;overflow:hidden;padding:0;width:20px}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-predefine__color-selector>div{display:flex;height:100%}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{background-color:red;box-sizing:border-box;float:right;height:12px;padding:0 2px;position:relative;width:280px}.el-color-hue-slider__bar{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);height:100%;position:relative}.el-color-hue-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px #0009;box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-hue-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-hue-slider.is-vertical{height:180px;padding:2px 0;width:12px}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-svpanel{background-image:linear-gradient(0deg,#000,#0000),linear-gradient(90deg,#fff,#fff0);height:180px;position:relative;width:280px}.el-color-svpanel__cursor{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;cursor:pointer;height:4px;position:absolute;transform:translate(-2px,-2px);width:4px}.el-color-svpanel__cursor:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-alpha-slider{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px;box-sizing:border-box;height:12px;position:relative;width:280px}.el-color-alpha-slider.is-disabled .el-color-alpha-slider__thumb{cursor:not-allowed}.el-color-alpha-slider__bar{background:linear-gradient(to right,rgba(255,255,255,0) 0,var(--el-bg-color) 100%);height:100%;position:relative}.el-color-alpha-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px #0009;box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-alpha-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-alpha-slider.is-vertical{height:180px;width:20px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(180deg,#fff0 0,#fff)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-picker-panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker-panel{--el-color-picker-alpha-bg-a:#333333}.el-color-picker{display:inline-block;height:32px;line-height:normal;outline:none;position:relative;width:32px}.el-color-picker:hover:not(.is-disabled,.is-focused) .el-color-picker__trigger{border-color:var(--el-border-color-hover)}.el-color-picker:focus-visible:not(.is-disabled) .el-color-picker__trigger{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-picker.is-focused .el-color-picker__trigger{border-color:var(--el-color-primary)}.el-color-picker.is-disabled .el-color-picker__trigger{background-color:var(--el-fill-color-light);cursor:not-allowed}.el-color-picker.is-disabled .el-color-picker__color{opacity:.3}.el-color-picker--large{height:40px;width:40px}.el-color-picker--small{height:24px;width:24px}.el-color-picker--small .el-color-picker__empty,.el-color-picker--small .el-color-picker__icon{transform:scale(.8)}.el-color-picker__trigger{align-items:center;border:1px solid var(--el-border-color);border-radius:4px;cursor:pointer;display:inline-flex;font-size:0;justify-content:center;padding:4px}.el-color-picker__color,.el-color-picker__trigger{box-sizing:border-box;height:100%;position:relative;width:100%}.el-color-picker__color{border:1px solid var(--el-text-color-secondary);border-radius:var(--el-border-radius-small);display:block;text-align:center}.el-color-picker__color.is-alpha{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px}.el-color-picker__color-inner{align-items:center;display:inline-flex;height:100%;justify-content:center;width:100%}.el-color-picker .el-color-picker__empty{color:var(--el-text-color-secondary);font-size:12px}.el-color-picker .el-color-picker__icon{align-items:center;color:#fff;display:inline-flex;font-size:12px;justify-content:center}.el-color-picker__panel{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-color-picker,.el-color-picker__panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker,.dark .el-color-picker__panel{--el-color-picker-alpha-bg-a:#333333}.el-container{box-sizing:border-box;display:flex;flex:1;flex-basis:auto;flex-direction:row;min-width:0}.el-container.is-vertical{flex-direction:column}.el-date-table{font-size:12px;-webkit-user-select:none;-moz-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{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.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{box-sizing:border-box;cursor:pointer;height:30px;padding:4px 0;position:relative;text-align:center;width:32px}.el-date-table td .el-date-table-cell{box-sizing:border-box;height:30px;padding:3px 0}.el-date-table td .el-date-table-cell .el-date-table-cell__text{border-radius:50%;display:block;height:24px;left:50%;line-height:24px;margin:0 auto;position:absolute;transform:translate(-50%);width:24px}.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{background-color:var(--el-datepicker-active-color);color:#fff}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.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{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table td.end-date .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed;opacity:1}.el-date-table td.selected .el-date-table-cell{border-radius:15px;margin-left:5px;margin-right:5px}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);border-radius:15px;color:#fff}.el-date-table td.week{color:var(--el-datepicker-off-text-color);cursor:default;font-size:80%}.el-date-table td:focus{outline:none}.el-date-table th{border-bottom:1px solid var(--el-border-color-lighter);color:var(--el-datepicker-header-text-color);font-weight:400;padding:5px}.el-date-table th.el-date-table__week-header{padding:0;width:24px}.el-month-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-month-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-month-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-month-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.end-date .el-date-table-cell__text,.el-month-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-month-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-month-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-month-table td .el-date-table-cell__text{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;transform:translate(-50%);width:54px}.el-month-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.end-date .el-date-table-cell,.el-month-table td.start-date .el-date-table-cell{color:#fff}.el-month-table td.end-date .el-date-table-cell__text,.el-month-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-month-table td.start-date .el-date-table-cell{border-bottom-left-radius:24px;border-top-left-radius:24px;margin-left:3px}.el-month-table td.end-date .el-date-table-cell{border-bottom-right-radius:24px;border-top-right-radius:24px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell{border-radius:24px;margin-left:3px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-month-table td:focus-visible{outline:none}.el-month-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-year-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-year-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-year-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-year-table td.today.end-date .el-date-table-cell__text,.el-year-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-year-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-year-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-year-table td .el-date-table-cell__text{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;transform:translate(-50%);width:60px}.el-year-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-year-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-year-table td.end-date .el-date-table-cell,.el-year-table td.start-date .el-date-table-cell{color:#fff}.el-year-table td.end-date .el-date-table-cell__text,.el-year-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-year-table td.start-date .el-date-table-cell{border-bottom-left-radius:24px;border-top-left-radius:24px}.el-year-table td.end-date .el-date-table-cell{border-bottom-right-radius:24px;border-top-right-radius:24px}.el-year-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-year-table td:focus-visible{outline:none}.el-year-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{display:inline-block;max-height:192px;overflow:auto;position:relative;vertical-align:top;width:50%}.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;overflow:hidden;text-align:center}.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:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;height:30px;left:0;line-height:30px;position:absolute;text-align:center;width:100%;z-index:var(--el-index-normal)}.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,.el-time-spinner__list{padding:0;text-align:center}.el-time-spinner__list{list-style:none;margin:0}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;height:80px;width:100%}.el-time-spinner__item{color:var(--el-text-color-regular);font-size:12px;height:32px;line-height:32px}.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{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper,.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-picker__popper.el-popper[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);--el-input-width:100%;position:relative;text-align:left;vertical-align:middle}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{height:var(--el-input-height,var(--el-component-size));width:var(--el-date-editor-width)}.el-date-editor--monthrange{--el-date-editor-width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .clear-icon,.el-date-editor .close-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__icon{color:var(--el-text-color-placeholder);float:left;font-size:14px;height:inherit}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-text-color-regular);display:inline-block;font-size:var(--el-font-size-base);height:30px;line-height:30px;margin:0;outline:none;padding:0;text-align:center;width:39%}.el-date-editor .el-range-input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{align-items:center;color:var(--el-text-color-primary);display:inline-flex;flex:1;font-size:14px;height:100%;justify-content:center;margin:0;overflow-wrap:break-word;padding:0 5px}.el-date-editor .el-range__close-icon{color:var(--el-text-color-placeholder);cursor:pointer;font-size:14px;height:inherit;width:unset}.el-date-editor .el-range__close-icon:hover{color:var(--el-input-clear-hover-color)}.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__wrapper{align-items:center;display:inline-flex;padding:0 10px;vertical-align:middle}.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:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{font-size:14px;line-height:40px}.el-range-editor--large .el-range-input{font-size:14px;height:38px;line-height:38px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{font-size:12px;line-height:24px}.el-range-editor--small .el-range-input{font-size:12px;height:22px;line-height:22px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled,.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::-moz-placeholder{color:var(--el-text-color-placeholder)}.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{background:var(--el-datepicker-bg-color);border-radius:var(--el-popper-border-radius,var(--el-border-radius-base));color:var(--el-text-color-regular);line-height:30px}.el-picker-panel .el-time-panel{background-color:var(--el-datepicker-bg-color);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light);margin:5px 0}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{clear:both;content:"";display:table}.el-picker-panel__content{margin:15px;position:relative}.el-picker-panel__footer{background-color:var(--el-datepicker-bg-color);border-top:1px solid var(--el-datepicker-inner-border-color);font-size:0;padding:4px 12px;position:relative;text-align:right}.el-picker-panel__shortcut{background-color:transparent;border:0;color:var(--el-datepicker-text-color);cursor:pointer;display:block;font-size:14px;line-height:28px;outline:none;padding-left:12px;text-align:left;width:100%}.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{background-color:transparent;border:1px solid var(--el-fill-color-darker);border-radius:2px;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:24px;outline:none;padding:0 20px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{background:transparent;border:0;color:var(--el-datepicker-icon-color);cursor:pointer;font-size:12px;line-height:1;margin-top:8px;outline:none;padding:1px 6px}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn:focus-visible{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.is-disabled .el-icon{cursor:inherit}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel.is-disabled .el-picker-panel__prev-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__prev-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__prev-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__next-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__next-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__next-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__icon-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__icon-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__icon-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__shortcut{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__shortcut:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__shortcut .el-icon{cursor:inherit}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);bottom:0;box-sizing:border-box;overflow:auto;padding-top:6px;position:absolute;top:0;width:110px}.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-datepicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-datepicker-bg-color);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{display:table-cell;padding:0 5px;position:relative}.el-date-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-picker__header{padding:12px 12px 0;text-align:center}.el-date-picker__header--bordered{border-bottom:1px solid var(--el-border-color-lighter);margin-bottom:0;padding-bottom:12px}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{color:var(--el-text-color-regular);cursor:pointer;font-size:16px;font-weight:500;line-height:22px;padding:0 5px;text-align:center}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.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{cursor:pointer;float:left;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-picker.is-disabled .el-date-picker__header-label{color:var(--el-text-color-disabled)}.el-date-picker.is-disabled .el-date-picker__header-label:hover{cursor:not-allowed}.el-date-picker.is-disabled .el-date-picker__header-label .el-icon{cursor:inherit}.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-datepicker-bg-color:var(--el-bg-color-overlay);width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.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{height:28px;position:relative;text-align:center}.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__header-label{color:var(--el-text-color-regular);cursor:pointer;font-size:16px;font-weight:500;line-height:22px;padding:0 5px;text-align:center}.el-date-range-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-range-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-range-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-range-picker__content{box-sizing:border-box;display:table-cell;margin:0;padding:16px;width:50%}.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{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-range-picker__time-header>.el-icon-arrow-right{color:var(--el-datepicker-icon-color);display:table-cell;font-size:20px;vertical-align:middle}.el-date-range-picker__time-picker-wrap{display:table-cell;padding:0 5px;position:relative}.el-date-range-picker__time-picker-wrap .el-picker-panel{background:#fff;position:absolute;right:0;top:13px;z-index:1}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-date-range-picker.is-disabled .el-date-range-picker__header-label{color:var(--el-text-color-disabled)}.el-date-range-picker.is-disabled .el-date-range-picker__header-label:hover{cursor:not-allowed}.el-date-range-picker.is-disabled .el-date-range-picker__header-label .el-icon{cursor:inherit}.el-time-range-picker{overflow:visible;width:354px}.el-time-range-picker__content{padding:10px;position:relative;text-align:center;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;display:inline-block;margin:0;padding:4px 7px 7px;width:50%}.el-time-range-picker__header{font-size:14px;margin-bottom:5px;text-align:center}.el-time-range-picker__body{border:1px solid var(--el-datepicker-border-color);border-radius:2px}.el-time-panel{border-radius:2px;box-sizing:content-box;left:0;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:180px;z-index:var(--el-index-top)}.el-time-panel__content{font-size:0;overflow:hidden;position:relative}.el-time-panel__content:after,.el-time-panel__content:before{box-sizing:border-box;content:"";height:32px;left:0;margin-top:-16px;padding-top:6px;position:absolute;right:0;text-align:left;top:50%;z-index:-1}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{border-bottom:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);margin-left:12%;margin-right:12%;padding-left:50%}.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));box-sizing:border-box;height:36px;line-height:25px;padding:4px;text-align:right}.el-time-panel__btn{background-color:transparent;border:none;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:28px;margin:0 5px;outline:none;padding:0 5px}.el-time-panel__btn.confirm{color:var(--el-timepicker-active-color,var(--el-color-primary));font-weight:800}.el-picker-panel.is-border{border:1px solid var(--el-border-color-lighter)}.el-picker-panel.is-border .el-picker-panel__body-wrapper{position:relative}.el-picker-panel.is-border.el-picker-panel [slot=sidebar],.el-picker-panel.is-border.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;height:100%;overflow:auto;padding-top:6px;position:absolute;top:0;width:110px}.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;color:var(--el-text-color-primary);font-size:var(--el-font-size-base)}.el-descriptions__header{align-items:center;display:flex;justify-content:space-between;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;font-size:14px;line-height:23px;text-align:left}.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{background:var(--el-descriptions-item-bordered-label-background);color:var(--el-text-color-regular);font-weight:700}.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{background:var(--el-popup-modal-bg-color);height:100%;left:0;opacity:var(--el-popup-modal-opacity);position:fixed;top:0;width:100%}.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:16px;--el-dialog-border-radius:var(--el-border-radius-base);background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;margin:var(--el-dialog-margin-top,15vh) auto 50px;overflow-wrap:break-word;padding:var(--el-dialog-padding-primary);position:relative;width:var(--el-dialog-width,50%)}.el-dialog:focus{outline:none!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;border-radius:0;height:100%;margin-bottom:0;overflow:auto}.el-dialog__wrapper{bottom:0;left:0;margin:0;overflow:auto;position:fixed;right:0;top:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-dialog__header{padding-bottom:var(--el-dialog-padding-primary)}.el-dialog__header.show-close{padding-right:calc(var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px))}.el-dialog__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:48px;outline:none;padding:0;position:absolute;right:0;top:0;width:48px}.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{color:var(--el-text-color-primary);font-size:var(--el-dialog-title-font-size);line-height:var(--el-dialog-font-line-height)}.el-dialog__body{color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{box-sizing:border-box;padding-top:var(--el-dialog-padding-primary);text-align:right}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-modal-dialog.is-penetrable{pointer-events:none}.el-modal-dialog.is-penetrable .el-dialog{pointer-events:auto}.el-overlay-dialog{bottom:0;left:0;overflow:auto;position:fixed;right:0;top:0}.el-overlay-dialog.is-closing .el-dialog{pointer-events:none}.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%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes dialog-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,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{border-top:1px var(--el-border-color) var(--el-border-style);display:block;height:1px;margin:24px 0;width:100%}.el-divider--vertical{border-left:1px var(--el-border-color) var(--el-border-style);display:inline-block;height:1em;margin:0 8px;position:relative;vertical-align:middle;width:1px}.el-divider__text{background-color:var(--el-bg-color);color:var(--el-text-color-primary);font-size:14px;font-weight:500;padding:0 20px;position:absolute}.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-overlay.is-drawer{overflow:hidden}.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-dragger-size:8px;background-color:var(--el-drawer-bg-color);box-shadow:var(--el-box-shadow-dark);box-sizing:border-box;display:flex;flex-direction:column;position:absolute;transition:all var(--el-transition-duration)}.el-drawer .btt,.el-drawer .ltr,.el-drawer .rtl,.el-drawer .ttb{transform:translate(0)}.el-drawer__sr-focus:focus{outline:none!important}.el-drawer__header{align-items:center;color:var(--el-text-color-primary);display:flex;margin-bottom:32px;overflow:hidden;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{flex:1;font-size:16px;line-height:inherit;margin:0}.el-drawer__footer{overflow:hidden;padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{background-color:transparent;border:none;color:inherit;cursor:pointer;display:inline-flex;font-size:var(--el-font-size-extra-large);outline:none}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{flex:1;overflow:auto;padding:var(--el-drawer-padding-primary)}.el-drawer__body>*{box-sizing:border-box}.el-drawer.is-dragging{transition:none}.el-drawer__dragger{-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-drawer__dragger,.el-drawer__dragger:before{background-color:transparent;position:absolute;transition:all .2s}.el-drawer__dragger:before{content:""}.el-drawer__dragger:hover:before{background-color:var(--el-color-primary)}.el-drawer.ltr,.el-drawer.rtl{bottom:0;height:100%;top:0}.el-drawer.ltr>.el-drawer__dragger,.el-drawer.rtl>.el-drawer__dragger{bottom:0;cursor:ew-resize;height:100%;top:0;width:var(--el-drawer-dragger-size)}.el-drawer.ltr>.el-drawer__dragger:before,.el-drawer.rtl>.el-drawer__dragger:before{bottom:0;top:0;width:3px}.el-drawer.btt,.el-drawer.ttb{left:0;right:0;width:100%}.el-drawer.btt>.el-drawer__dragger,.el-drawer.ttb>.el-drawer__dragger{cursor:ns-resize;height:var(--el-drawer-dragger-size);left:0;right:0;width:100%}.el-drawer.btt>.el-drawer__dragger:before,.el-drawer.ttb>.el-drawer__dragger:before{height:3px;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.ltr>.el-drawer__dragger{right:0}.el-drawer.ltr>.el-drawer__dragger:before{right:-2px}.el-drawer.rtl{right:0}.el-drawer.rtl>.el-drawer__dragger{left:0}.el-drawer.rtl>.el-drawer__dragger:before{left:-2px}.el-drawer.ttb{top:0}.el-drawer.ttb>.el-drawer__dragger{bottom:0}.el-drawer.ttb>.el-drawer__dragger:before{bottom:-2px}.el-drawer.btt{bottom:0}.el-drawer.btt>.el-drawer__dragger{top:0}.el-drawer.btt>.el-drawer__dragger:before{top:-2px}.el-modal-drawer.is-penetrable{pointer-events:none}.el-modal-drawer.is-penetrable .el-drawer{pointer-events:auto}.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{background-color:transparent!important}.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);--el-dropdown-menu-index:10;color:var(--el-text-color-regular);display:inline-flex;font-size:var(--el-font-size-base);line-height:1;position:relative;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);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper,.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[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:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:0}.el-dropdown .el-dropdown__caret-button{align-items:center;border-left:none;display:inline-flex;justify-content:center;padding-left:0;padding-right:0;width:32px}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{background:var(--el-overlay-color-lighter);bottom:-1px;content:"";display:block;left:0;position:absolute;top:-1px;width:1px}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;left:0;list-style:none;margin:0;padding:5px 0;position:relative;top:0;z-index:var(--el-dropdown-menu-index)}.el-dropdown-menu__item{align-items:center;color:var(--el-text-color-regular);cursor:pointer;display:flex;font-size:var(--el-font-size-base);line-height:22px;list-style:none;margin:0;outline:none;padding:5px 16px;white-space:nowrap}.el-dropdown-menu__item:not(.is-disabled):focus,.el-dropdown-menu__item:not(.is-disabled):hover{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{border-top:1px solid var(--el-border-color-lighter);margin:6px 0}.el-dropdown-menu__item.is-disabled{color:var(--el-text-color-disabled);cursor:not-allowed}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{font-size:14px;line-height:22px;padding:7px 20px}.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{font-size:12px;line-height:20px;padding:2px 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;align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:var(--el-empty-padding);text-align:center}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{height:100%;-o-object-fit:contain;object-fit:contain;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:top;width:100%}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:100%;vertical-align:top;width:100%}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);margin:0}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.el-footer{--el-footer-padding:0 20px;--el-footer-height:60px;box-sizing:border-box;flex-shrink:0;height:var(--el-footer-height);padding:var(--el-footer-padding)}.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{height:40px;line-height:40px}.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{height:32px;line-height:32px}.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{height:24px;line-height:24px}.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-left .el-form-item__label{justify-content:flex-start;text-align:left}.el-form-item--label-right .el-form-item__label{justify-content:flex-end;text-align:right}.el-form-item--label-top{display:block}.el-form-item--label-top .el-form-item__label{display:block;height:auto;line-height:22px;margin-bottom:8px;padding-right:0;text-align:left;width:-moz-fit-content;width:fit-content}.el-form-item__label-wrap{display:flex}.el-form-item__label{align-items:flex-start;box-sizing:border-box;color:var(--el-text-color-regular);display:inline-flex;flex:0 0 auto;font-size:var(--el-form-label-font-size);height:32px;line-height:32px;padding:0 12px 0 0}.el-form-item__content{align-items:center;display:flex;flex:1;flex-wrap:wrap;font-size:var(--font-size);line-height:32px;min-width:0;position:relative}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;left:0;line-height:1;padding-top:2px;position:absolute;top:100%}.el-form-item__error--inline{display:inline-block;left:auto;margin-left:10px;position:relative;top:auto}.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before{color:var(--el-color-danger);content:"*";margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after{color:var(--el-color-danger);content:"*";margin-left:4px}.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-input__wrapper,.el-form-item.is-error .el-form-item__content .el-input__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-input__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-input__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-select__wrapper,.el-form-item.is-error .el-form-item__content .el-select__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-select__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-select__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-textarea__inner,.el-form-item.is-error .el-form-item__content .el-textarea__inner.is-focus,.el-form-item.is-error .el-form-item__content .el-textarea__inner:focus,.el-form-item.is-error .el-form-item__content .el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-form-item__content .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-form-item__content .el-input-group__prepend .el-input__wrapper{box-shadow:inset 0 0 0 1px transparent}.el-form-item.is-error .el-form-item__content .el-input-group__append .el-input__validateIcon,.el-form-item.is-error .el-form-item__content .el-input-group__prepend .el-input__validateIcon{display:none}.el-form-item.is-error .el-form-item__content .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}.el-form{--el-form-label-font-size:var(--el-font-size-base);--el-form-inline-content-width:220px}.el-form--inline .el-form-item{display:inline-flex;margin-right:32px;vertical-align:middle}.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-header{--el-header-padding:0 20px;--el-header-height:60px;box-sizing:border-box;flex-shrink:0;height:var(--el-header-height);padding:var(--el-header-padding)}.el-image-viewer__wrapper{bottom:0;left:0;position:fixed;right:0;top:0}.el-image-viewer__wrapper:focus{outline:none!important}.el-image-viewer__btn{align-items:center;border-radius:50%;box-sizing:border-box;cursor:pointer;display:flex;justify-content:center;opacity:.8;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1}.el-image-viewer__btn .el-icon{cursor:pointer}.el-image-viewer__close{font-size:40px;height:40px;right:40px;top:40px;width:40px}.el-image-viewer__canvas{align-items:center;display:flex;height:100%;justify-content:center;position:static;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.el-image-viewer__actions{background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px;bottom:30px;height:44px;left:50%;padding:0 23px;transform:translate(-50%)}.el-image-viewer__actions__inner{align-items:center;color:#fff;cursor:default;display:flex;font-size:23px;gap:22px;height:100%;justify-content:space-around;padding:0 6px;width:100%}.el-image-viewer__actions__divider{margin:0 -6px}.el-image-viewer__progress{bottom:90px;color:#fff;cursor:default;left:50%;transform:translate(-50%)}.el-image-viewer__prev{left:40px}.el-image-viewer__next,.el-image-viewer__prev{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;top:50%;transform:translateY(-50%);width:44px}.el-image-viewer__next{right:40px;text-indent:2px}.el-image-viewer__close{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;width:44px}.el-image-viewer__mask{background:#000;height:100%;left:0;opacity:.5;position:absolute;top:0;width:100%}.el-image-viewer-parent--hidden{overflow:hidden}.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%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes viewer-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}.el-image__error,.el-image__inner,.el-image__placeholder,.el-image__wrapper{height:100%;width:100%}.el-image{display:inline-block;overflow:hidden;position:relative}.el-image__inner{opacity:1;vertical-align:top}.el-image__inner.is-loading{opacity:0}.el-image__wrapper{left:0;position:absolute;top:0}.el-image__error,.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{align-items:center;color:var(--el-text-color-placeholder);display:flex;font-size:14px;justify-content:center;vertical-align:middle}.el-image__preview{cursor:pointer}.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-input-width:100%;display:inline-block;font-size:var(--el-font-size-base);position:relative;vertical-align:bottom;width:100%}.el-textarea__inner{-webkit-appearance:none;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));display:block;font-family:inherit;font-size:inherit;line-height:1.5;padding:5px 11px;position:relative;resize:vertical;transition:var(--el-transition-box-shadow);width:100%}.el-textarea__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.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{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset;outline:none}.el-textarea .el-input__count{background:var(--el-fill-color-blank);bottom:5px;color:var(--el-color-info);font-size:12px;line-height:14px;position:absolute;right:10px}.el-textarea .el-input__count.is-outside{background:transparent;bottom:unset;line-height:1;padding-top:2px;position:absolute;right:0;top:100%}.el-textarea.is-disabled .el-textarea__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-textarea.is-disabled .el-textarea__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.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);--el-input-width:100%;--el-input-height:var(--el-component-size);box-sizing:border-box;display:inline-flex;font-size:var(--el-font-size-base);line-height:var(--el-input-height);position:relative;vertical-align:middle;width:var(--el-input-width)}.el-input::-webkit-scrollbar{width:6px;z-index:11}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{background:var(--el-text-color-disabled);border-radius:5px;width:6px}.el-input::-webkit-scrollbar-corner,.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,.el-input .el-input__password{color:var(--el-input-icon-color);cursor:pointer;font-size:14px}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{align-items:center;color:var(--el-color-info);display:inline-flex;font-size:12px;height:100%}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);display:inline-block;line-height:normal;padding-left:8px}.el-input .el-input__count.is-outside{height:unset;padding-top:2px;position:absolute;right:0;top:100%}.el-input .el-input__count.is-outside .el-input__count-inner{background:transparent;line-height:1;padding-left:0}.el-input__wrapper{align-items:center;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-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;cursor:text;display:inline-flex;flex-grow:1;justify-content:center;padding:1px 11px;transform:translateZ(0);transition:var(--el-transition-box-shadow)}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input{--el-input-inner-height:calc(var(--el-input-height, 32px) - 2px)}.el-input__inner{-webkit-appearance:none;background:none;border:none;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));flex-grow:1;font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);outline:none;padding:0;width:100%}.el-input__inner:focus{outline:none}.el-input__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;line-height:var(--el-input-inner-height);pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__prefix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;line-height:var(--el-input-inner-height);pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__suffix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{align-items:center;display:flex;height:inherit;justify-content:center;line-height:inherit;margin-left:8px;transition:all var(--el-transition-duration)}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;cursor:not-allowed}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.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-disabled .el-input__prefix-inner,.el-input.is-disabled .el-input__suffix-inner{pointer-events:none}.el-input.is-exceed .el-input__wrapper{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--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large{--el-input-inner-height:calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small{--el-input-inner-height:calc(var(--el-input-height, 24px) - 2px)}.el-input-group{align-items:stretch;display:inline-flex;width:100%}.el-input-group__append,.el-input-group__prepend{align-items:center;background-color:var(--el-fill-color-light);border-radius:var(--el-input-border-radius);color:var(--el-color-info);display:inline-flex;justify-content:center;min-height:100%;padding:0 20px;position:relative;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.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;flex:1;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-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{background-color:transparent;border-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-bottom-right-radius:0;border-right:0;border-top-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;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__wrapper,.el-input-group__append{border-bottom-left-radius:0;border-top-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{border-bottom-right-radius:0;border-top-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>.el-input__wrapper{border-bottom-right-radius:0;border-top-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{border-bottom-left-radius:0;border-top-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-hidden{display:none!important}.el-input-number{display:inline-flex;line-height:30px;position:relative;vertical-align:middle;width:150px}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;line-height:1;text-align:center}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-input-number.is-left .el-input__inner{text-align:left}.el-input-number.is-right .el-input__inner{text-align:right}.el-input-number.is-center .el-input__inner{text-align:center}.el-input-number__decrease,.el-input-number__increase{align-items:center;background:var(--el-fill-color-light);bottom:1px;color:var(--el-text-color-regular);cursor:pointer;display:flex;font-size:13px;height:auto;justify-content:center;position:absolute;top:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:32px;z-index:1}.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__wrapper,.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input__wrapper{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{border-left:var(--el-border);border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;right:1px}.el-input-number__decrease{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border);left:1px}.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{line-height:38px;width:180px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{font-size:14px;width:40px}.el-input-number--large.is-controls-right .el-input--large .el-input__wrapper{padding-right:47px}.el-input-number--large .el-input--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{line-height:22px;width:120px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{font-size:12px;width:24px}.el-input-number--small.is-controls-right .el-input--small .el-input__wrapper{padding-right:31px}.el-input-number--small .el-input--small .el-input__wrapper{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__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{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{border-bottom:var(--el-border);border-radius:0 var(--el-border-radius-base) 0 0;bottom:auto;left:auto}.el-input-number.is-controls-right .el-input-number__decrease{border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0;border-right:none;left:auto;right:1px;top:auto}.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-input-tag{--el-input-tag-border-color-hover:var(--el-border-color-hover);--el-input-tag-placeholder-color:var(--el-text-color-placeholder);--el-input-tag-disabled-color:var(--el-disabled-text-color);--el-input-tag-disabled-border:var(--el-disabled-border-color);--el-input-tag-font-size:var(--el-font-size-base);--el-input-tag-close-hover-color:var(--el-text-color-secondary);--el-input-tag-text-color:var(--el-text-color-regular);--el-input-tag-input-focus-border-color:var(--el-color-primary);--el-input-tag-width:100%;--el-input-tag-mini-height:var(--el-component-size);--el-input-tag-gap:6px;--el-input-tag-padding:4px;--el-input-tag-inner-padding:8px;--el-input-tag-line-height:24px;align-items:center;background-color:var(--el-fill-color-blank);border-radius:var(--el-border-radius-base);box-shadow:0 0 0 1px var(--el-border-color) inset;box-sizing:border-box;cursor:pointer;display:flex;font-size:var(--el-input-tag-font-size);line-height:var(--el-input-tag-line-height);min-height:var(--el-input-tag-mini-height);padding:var(--el-input-tag-padding);transform:translateZ(0);transition:var(--el-transition-duration);width:var(--el-input-tag-width)}.el-input-tag.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-input-tag.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-input-tag.is-disabled{background-color:var(--el-fill-color-light);cursor:not-allowed}.el-input-tag.is-disabled,.el-input-tag.is-disabled:hover{box-shadow:0 0 0 1px var(--el-input-tag-disabled-border) inset}.el-input-tag.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input-tag.is-disabled .el-input-tag__inner .el-input-tag__input,.el-input-tag.is-disabled .el-input-tag__inner .el-tag{cursor:not-allowed}.el-input-tag__prefix,.el-input-tag__suffix{align-items:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:flex;flex-shrink:0;padding:0 var(--el-input-tag-inner-padding)}.el-input-tag__suffix{gap:8px}.el-input-tag__collapse-tag{line-height:1}.el-input-tag__input-tag-list{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0;position:relative}.el-input-tag__input-tag-list.is-near{margin-left:-8px}.el-input-tag__input-tag-list .el-tag{border-color:transparent;cursor:pointer}.el-input-tag__input-tag-list .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-input-tag__input-tag-list .el-tag .el-tag__content{min-width:0}.el-input-tag__inner{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:var(--el-input-tag-gap);max-width:100%;min-width:0;position:relative}.el-input-tag__inner.is-left-space{margin-left:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-right-space{margin-right:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-draggable .el-tag{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-input-tag__drop-indicator{background-color:var(--el-color-primary);height:var(--el-input-tag-line-height);position:absolute;top:0;width:1px}.el-input-tag__inner .el-tag{border-color:transparent;cursor:pointer;max-width:100%}.el-input-tag__inner .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-input-tag__inner .el-tag .el-tag__content{line-height:normal;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-input-tag__input-wrapper{flex:1}.el-input-tag__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-input-tag-text-color);font-family:inherit;font-size:inherit;line-height:inherit;outline:none;padding:0;width:100%}.el-input-tag__input::-moz-placeholder{color:var(--el-input-tag-placeholder-color)}.el-input-tag__input::placeholder{color:var(--el-input-tag-placeholder-color)}.el-input-tag__input-calculator{left:0;max-width:100%;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:pre}.el-input-tag--large{--el-input-tag-gap:6px;--el-input-tag-padding:8px;--el-input-tag-padding-left:8px;--el-input-tag-font-size:14px}.el-input-tag--small{--el-input-tag-gap:4px;--el-input-tag-padding:2px;--el-input-tag-padding-left:6px;--el-input-tag-font-size:12px;--el-input-tag-line-height:20px;--el-input-tag-mini-height:var(--el-component-size-small)}.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);align-items:center;color:var(--el-link-text-color);cursor:pointer;display:inline-flex;flex-direction:row;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);justify-content:center;outline:none;padding:0;position:relative;text-decoration:none;vertical-align:middle}.el-link.is-hover-underline:hover:after{border-bottom:1px solid var(--el-link-hover-text-color);bottom:0;content:"";height:0;left:0;position:absolute;right:0}.el-link.is-underline:after{border-bottom:1px solid var(--el-link-text-color);bottom:0;content:"";height:0;left:0;position:absolute;right:0}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link:hover:after{border-color:var(--el-link-hover-text-color)}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link__inner{align-items:center;display:inline-flex;justify-content: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--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--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--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--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--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.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link.is-disabled:after{border-color:var(--el-link-disabled-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{background-color:var(--el-mask-color);bottom:0;left:0;margin:0;position:absolute;right:0;top:0;transition:opacity var(--el-transition-duration);z-index:2000}.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{margin-top:calc((0px - var(--el-loading-spinner-size))/2);position:absolute;text-align:center;top:50%;width:100%}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);font-size:14px;margin:3px 0}.el-loading-spinner .circular{animation:loading-rotate 2s linear infinite;display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size)}.el-loading-spinner .path{animation:loading-dash 1.5s ease-in-out infinite;stroke:var(--el-color-primary);stroke-dasharray:90,150;stroke-dashoffset:0;stroke-linecap:round;stroke-width:2}.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(1turn)}}@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;box-sizing:border-box;display:block;flex:1;flex-basis:auto;overflow:auto;padding:var(--el-main-padding)}:root{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-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-sub-item-height:calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height:60px;--el-menu-horizontal-sub-item-height:36px;--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);--el-menu-base-level-padding:20px;--el-menu-level-padding:20px;--el-menu-icon-width:24px}.el-menu{background-color:var(--el-menu-bg-color);border-right:1px solid var(--el-menu-border-color);box-sizing:border-box;list-style:none;margin:0;padding-left:0;position:relative}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title{padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level)*var(--el-menu-level-padding));white-space:nowrap}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{border-right:none;display:flex;flex-wrap:nowrap;height:var(--el-menu-horizontal-height)}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:1px solid var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{align-items:center;border-bottom:2px solid transparent;color:var(--el-menu-text-color);display:inline-flex;height:100%;justify-content:center;margin:0}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.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{border-bottom:2px solid transparent;color:var(--el-menu-text-color);height:100%}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{align-items:center;background-color:var(--el-menu-bg-color);color:var(--el-menu-text-color);display:flex;height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);padding:0 10px}.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-menu-item.is-active:hover,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title:hover{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{background-color:var(--el-menu-hover-bg-color);color:var(--el-menu-active-color,var(--el-menu-hover-text-color));outline:none}.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:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding)*2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .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-group>ul>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span{display:inline-block;height:0;overflow:hidden;visibility:hidden;width:0}.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.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{border:none;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light);min-width:200px;padding:5px 0;z-index:100}.el-menu .el-icon{flex-shrink:0}.el-menu-item{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:focus,.el-menu-item:hover{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-menu-item [class^=el-icon]{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.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{align-items:center;box-sizing:border-box;display:inline-flex;height:100%;left:0;padding:0 var(--el-menu-base-level-padding);position:absolute;top:0;width:100%}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);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:none}.el-sub-menu__title.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.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:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu.el-sub-menu__hide-arrow .el-sub-menu__title{padding-right:var(--el-menu-base-level-padding)}.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-disabled .el-menu-item,.el-sub-menu.is-disabled .el-sub-menu__title{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu .el-icon{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{font-size:12px;margin-right:0;margin-top:-6px;position:absolute;right:var(--el-menu-base-level-padding);top:50%;transition:transform var(--el-transition-duration);width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{color:var(--el-text-color-secondary);font-size:12px;line-height:normal;padding:7px 0 7px var(--el-menu-base-level-padding)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{opacity:0;transition:var(--el-transition-duration-fast)}.el-menu,.el-menu--popup-container,.el-popper{outline:none}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-box-shadow:var(--el-box-shadow);--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:12px;--el-messagebox-font-line-height:var(--el-font-line-height-primary);backface-visibility:hidden;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);box-shadow:var(--el-messagebox-box-shadow);box-sizing:border-box;display:inline-block;font-size:var(--el-messagebox-font-size);max-width:var(--el-messagebox-width);overflow:hidden;overflow-wrap:break-word;padding:var(--el-messagebox-padding-primary);position:relative;text-align:left;vertical-align:middle;width:100%}.el-message-box:focus{outline:none!important}.is-message-box .el-overlay-message-box{bottom:0;left:0;overflow:auto;padding:16px;position:fixed;right:0;text-align:center;top:0}.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;vertical-align:middle;width:0}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-message-box__header{padding-bottom:var(--el-messagebox-padding-primary)}.el-message-box__header.show-close{padding-right:calc(var(--el-messagebox-padding-primary) + var(--el-message-close-size, 16px))}.el-message-box__title{color:var(--el-messagebox-title-color);font-size:var(--el-messagebox-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.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{color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{align-items:center;display:flex;gap:12px}.el-message-box__input{padding-top:12px}.el-message-box__input div.invalid>input,.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{font-size:24px}.el-message-box__status.el-message-box-icon--primary{--el-messagebox-color:var(--el-color-primary);color:var(--el-messagebox-color)}.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;min-width:0}.el-message-box__message p{line-height:var(--el-messagebox-font-line-height);margin:0}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__btns{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;padding-top:var(--el-messagebox-padding-primary)}.el-message-box--center .el-message-box__title{align-items:center;display:flex;gap:6px;justify-content:center}.el-message-box--center .el-message-box__status{font-size:inherit}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__container{justify-content:center}.el-message-box-parent--hidden{overflow:hidden}.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%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:11px 15px;--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);align-items:center;background-color:var(--el-message-bg-color);border-color:var(--el-message-border-color);border-radius:var(--el-border-radius-base);border-style:var(--el-border-style);border-width:var(--el-border-width);box-sizing:border-box;display:flex;gap:8px;max-width:calc(100% - 32px);padding:var(--el-message-padding);position:fixed;transition:opacity var(--el-transition-duration),transform .4s,top .4s,bottom .4s;width:-moz-fit-content;width:fit-content}.el-message.is-left{left:16px}.el-message.is-right{right:16px}.el-message.is-center{left:0;margin:0 auto;right:0}.el-message.is-plain{background-color:var(--el-bg-color-overlay);border-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-message p{margin:0}.el-message--primary{--el-message-bg-color:var(--el-color-primary-light-9);--el-message-border-color:var(--el-color-primary-light-8);--el-message-text-color:var(--el-color-primary)}.el-message--primary .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--primary{color:var(--el-message-text-color)}.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{color:var(--el-message-text-color);overflow-wrap:break-word}.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{color:var(--el-message-text-color);overflow-wrap:break-word}.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{color:var(--el-message-text-color);overflow-wrap:break-word}.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{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message .el-message__badge{position:absolute;right:-8px;top:-8px}.el-message__content{font-size:14px;line-height:1;padding:0}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{color:var(--el-message-close-icon-color);cursor:pointer;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:translateY(-100%)}.el-message-fade-enter-from.is-bottom,.el-message-fade-leave-to.is-bottom{transform:translateY(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);background-color:var(--el-bg-color-overlay);border:1px solid var(--el-notification-border-color);border-radius:var(--el-notification-radius);box-shadow:var(--el-notification-shadow);box-sizing:border-box;display:flex;overflow:hidden;overflow-wrap:break-word;padding:var(--el-notification-padding);position:fixed;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);width:var(--el-notification-width);z-index:9999}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{flex:1;margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right);min-width:0}.el-notification__title{color:var(--el-notification-title-color);font-size:var(--el-notification-title-font-size);font-weight:700;line-height:var(--el-notification-icon-size);margin:0}.el-notification__content{color:var(--el-notification-content-color);font-size:var(--el-notification-content-font-size);line-height:24px;margin:6px 0 0}.el-notification__content p{margin:0}.el-notification .el-notification__icon{flex-shrink:0;font-size:var(--el-notification-icon-size);height:var(--el-notification-icon-size);width:var(--el-notification-icon-size)}.el-notification .el-notification__closeBtn{color:var(--el-notification-close-color);cursor:pointer;font-size:var(--el-notification-close-font-size);position:absolute;right:15px;top:18px}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--primary{--el-notification-icon-color:var(--el-color-primary);color:var(--el-notification-icon-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{background-color:var(--el-overlay-color-lighter);bottom:0;height:100%;left:0;overflow:auto;position:fixed;right:0;top:0;z-index:2000}.el-overlay .el-overlay-root{height:0}.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{align-items:center;display:flex;justify-content:space-between;line-height:24px}.el-page-header__left{align-items:center;display:flex;margin-right:40px;position:relative}.el-page-header__back{align-items:center;cursor:pointer;display:flex}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{align-items:center;display:flex;font-size:16px;margin-right:10px}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{color:var(--el-text-color-primary);font-size:18px}.el-page-header__breadcrumb{margin-bottom:16px}.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:2px;--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-font-size-small:12px;--el-pagination-button-width-small:24px;--el-pagination-button-height-small:24px;--el-pagination-button-width-large:40px;--el-pagination-button-height-large:40px;--el-pagination-item-gap:16px;align-items:center;color:var(--el-pagination-text-color);display:flex;font-size:var(--el-pagination-font-size);font-weight:400;white-space:nowrap}.el-pagination .el-input__inner{-moz-appearance:textfield;text-align:center}.el-pagination .el-select{width:128px}.el-pagination .btn-next,.el-pagination .btn-prev{align-items:center;background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;display:flex;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pagination .btn-next *,.el-pagination .btn-prev *{pointer-events:none}.el-pagination .btn-next:focus,.el-pagination .btn-prev:focus{outline:none}.el-pagination .btn-next:hover,.el-pagination .btn-prev:hover{color:var(--el-pagination-hover-color)}.el-pagination .btn-next.is-active,.el-pagination .btn-prev.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pagination .btn-next.is-active.is-disabled,.el-pagination .btn-prev.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pagination .btn-next.is-disabled,.el-pagination .btn-next:disabled,.el-pagination .btn-prev.is-disabled,.el-pagination .btn-prev:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pagination .btn-next:focus-visible,.el-pagination .btn-prev:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px;font-weight:700;width:inherit}.el-pagination>.is-first{margin-left:0!important}.el-pagination>.is-last{margin-right:0!important}.el-pagination .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination__sizes,.el-pagination__total{color:var(--el-text-color-regular);font-weight:400;margin-left:var(--el-pagination-item-gap)}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{align-items:center;color:var(--el-text-color-regular);display:flex;font-weight:400;margin-left:var(--el-pagination-item-gap)}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__goto{margin-right:8px}.el-pagination__editor{box-sizing:border-box;text-align:center}.el-pagination__editor.el-input{width:56px}.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__classifier{margin-left:8px}.el-pagination__rightwrapper{align-items:center;display:flex;flex:1;justify-content:flex-end}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{background-color:var(--el-pagination-button-bg-color);margin:0 4px}.el-pagination.is-background .btn-next.is-active,.el-pagination.is-background .btn-prev.is-active,.el-pagination.is-background .el-pager li.is-active{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .el-pager li.is-disabled,.el-pagination.is-background .el-pager li:disabled{background-color:var(--el-disabled-bg-color);color:var(--el-text-color-placeholder)}.el-pagination.is-background .btn-next.is-disabled.is-active,.el-pagination.is-background .btn-next:disabled.is-active,.el-pagination.is-background .btn-prev.is-disabled.is-active,.el-pagination.is-background .btn-prev:disabled.is-active,.el-pagination.is-background .el-pager li.is-disabled.is-active,.el-pagination.is-background .el-pager li:disabled.is-active{background-color:var(--el-fill-color-dark);color:var(--el-text-color-secondary)}.el-pagination.is-background .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li{font-size:var(--el-pagination-font-size-small);height:var(--el-pagination-button-height-small);line-height:var(--el-pagination-button-height-small);min-width:var(--el-pagination-button-width-small)}.el-pagination--small button,.el-pagination--small span:not([class*=suffix]){font-size:var(--el-pagination-font-size-small)}.el-pagination--small .el-select{width:100px}.el-pagination--large .btn-next,.el-pagination--large .btn-prev,.el-pagination--large .el-pager li{height:var(--el-pagination-button-height-large);line-height:var(--el-pagination-button-height-large);min-width:var(--el-pagination-button-width-large)}.el-pagination--large .el-select .el-input{width:160px}.el-pager{font-size:0;list-style:none;margin:0;padding:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-pager,.el-pager li{align-items:center;display:flex}.el-pager li{background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pager li *{pointer-events:none}.el-pager li:focus{outline:none}.el-pager li.is-active,.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{cursor:default;font-weight:700}.el-pager li.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pager li.is-disabled,.el-pager li:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-popconfirm{outline:none}.el-popconfirm__main{align-items:center;display:flex}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{margin-top:8px;text-align:right}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--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);border:1px solid var(--el-popover-border-color);border-radius:var(--el-popover-border-radius);box-shadow:var(--el-box-shadow-light);box-sizing:border-box;color:var(--el-text-color-regular);font-size:var(--el-popover-font-size);line-height:1.4;min-width:150px;overflow-wrap:break-word;padding:var(--el-popover-padding);z-index:var(--el-index-popper)}.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.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}.el-progress{align-items:center;display:flex;line-height:1;position:relative}.el-progress__text{color:var(--el-text-color-regular);font-size:14px;line-height:1;margin-left:5px;min-width:50px}.el-progress__text i{display:block;vertical-align:middle}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{left:0;margin:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);width:100%}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{display:inline-block;vertical-align:middle}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{display:block;margin-right:0;padding-right:0}.el-progress--text-inside .el-progress-bar{margin-right:0;padding-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{box-sizing:border-box;flex-grow:1}.el-progress-bar__outer{background-color:var(--el-border-color-lighter);border-radius:100px;height:6px;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{background-color:var(--el-color-primary);border-radius:100px;height:100%;left:0;line-height:1;position:absolute;text-align:right;top:0;transition:width .6s ease;white-space:nowrap}.el-progress-bar__inner:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{animation:indeterminate 3s infinite;transform:translateZ(0)}.el-progress-bar__inner--striped{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0,transparent 50%,rgba(0,0,0,.1) 0,rgba(0,0,0,.1) 75%,transparent 0,transparent);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{animation:striped-flow 3s linear infinite}.el-progress-bar__innerText{color:#fff;display:inline-block;font-size:12px;margin:0 5px;vertical-align:middle}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position: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);display:inline-block;outline:none;position:relative}.el-radio-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));line-height:1;margin:0;outline:var(--el-border);padding:8px 15px;position:relative;text-align:center;transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.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-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button.is-active .el-radio-button__original-radio:not(:disabled)+.el-radio-button__inner{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));color:var(--el-radio-button-checked-text-color,var(--el-color-white))}.el-radio-button__original-radio{opacity:0;outline:none;position:absolute;z-index:-1}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));border-radius:var(--el-border-radius-base);box-shadow:none;outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2}.el-radio-button__original-radio:disabled+.el-radio-button__inner{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.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{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}.el-radio-group{align-items:center;display:inline-flex;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);align-items:center;color:var(--el-radio-text-color);cursor:pointer;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-radio-font-weight);height:32px;margin-right:30px;outline:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{border-color:var(--el-border-color-lighter);cursor:not-allowed}.el-radio.is-bordered.el-radio--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.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{border-radius:var(--el-border-radius-base);padding:0 11px 0 7px}.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{cursor:pointer;display:inline-flex;outline:none;position:relative;vertical-align:middle;white-space:nowrap}.el-radio__input.is-disabled .el-radio__inner{border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled .el-radio__inner,.el-radio__input.is-disabled .el-radio__inner:after{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.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{background:var(--el-color-primary);border-color:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{background-color:var(--el-color-white);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{background-color:var(--el-radio-input-bg-color);border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);box-sizing:border-box;cursor:pointer;display:inline-block;height:var(--el-radio-input-height);position:relative;transition:all .3s;width:var(--el-radio-input-width)}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{border-radius:var(--el-radio-input-border-radius);content:"";height:4px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in;width:4px}.el-radio__original{bottom:0;left:0;margin:0;opacity:0;outline:none;position:absolute;right:0;top:0;z-index:-1}.el-radio__original:focus-visible+.el-radio__inner{border-radius:var(--el-radio-input-border-radius);outline:2px solid var(--el-radio-input-border-color-hover);outline-offset:1px}.el-radio:focus:not(:focus-visible):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{height:14px;width:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{height:12px;width: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-outline-color:var(--el-color-primary-light-5);align-items:center;display:inline-flex;height:32px}.el-rate:active,.el-rate:focus{outline:none}.el-rate:focus-visible .el-rate__item .el-rate__icon.is-focus-visible{outline:2px solid var(--el-rate-outline-color);transition:outline-offset 0s,outline 0s}.el-rate__item{color:var(--el-rate-void-color);cursor:pointer;display:inline-block;font-size:0;line-height:normal;position:relative;vertical-align:middle}.el-rate .el-rate__icon{display:inline-block;font-size:var(--el-rate-icon-size);margin-right:var(--el-rate-icon-margin);position:relative;transition:var(--el-transition-duration)}.el-rate .el-rate__icon.hover{transform:scale(1.15)}.el-rate .el-rate__icon .path2{left:0;position:absolute;top:0}.el-rate .el-rate__icon.is-active{color:var(--el-rate-fill-color)}.el-rate__decimal{color:var(--el-rate-fill-color);display:inline-block;overflow:hidden}.el-rate__decimal,.el-rate__decimal--box{left:0;position:absolute;top:0}.el-rate__text{color:var(--el-rate-text-color);font-size:var(--el-rate-font-size);vertical-align:middle}.el-rate--large{height:40px}.el-rate--small{height:24px}.el-rate--small .el-rate__icon{font-size:14px}.el-rate.is-disabled .el-rate__item{color:var(--el-rate-disabled-void-color);cursor:not-allowed}.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;align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:var(--el-result-padding);text-align:center}.el-result__icon svg{height:var(--el-result-icon-font-size);width:var(--el-result-icon-font-size)}.el-result__title{margin-top:var(--el-result-title-margin-top)}.el-result__title p{color:var(--el-text-color-primary);font-size:var(--el-result-title-font-size);line-height:1.3;margin:0}.el-result__subtitle{margin-top:var(--el-result-subtitle-margin-top)}.el-result__subtitle p{color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1.3;margin:0}.el-result__extra{margin-top:var(--el-result-extra-margin-top)}.el-result .icon-primary{--el-result-color:var(--el-color-primary);color:var(--el-result-color)}.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-error{--el-result-color:var(--el-color-error);color:var(--el-result-color)}.el-result .icon-info{--el-result-color:var(--el-color-info);color:var(--el-result-color)}.el-row{box-sizing:border-box;display:flex;flex-wrap:wrap;position:relative}.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-top{align-items:flex-start}.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);height:100%;overflow:hidden;position:relative}.el-scrollbar__wrap{height:100%;overflow:auto}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));border-radius:inherit;cursor:pointer;display:block;height:0;opacity:var(--el-scrollbar-opacity,.3);position:relative;transition:var(--el-transition-duration) background-color;width:0}.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{border-radius:4px;bottom:2px;position:absolute;right:2px;z-index:1}.el-scrollbar__bar.is-vertical{top:2px;width:6px}.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{border-radius:var(--el-border-radius-base);box-sizing:border-box;z-index:calc(var(--el-index-top) + 1)}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty,.el-select-dropdown__loading{color:var(--el-text-color-secondary);font-size:var(--el-select-font-size);margin:0;padding:10px 0;text-align:center}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:6px 0}.el-select-dropdown__list.el-vl__window{margin:6px 0;padding:0}.el-select-dropdown__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__item{box-sizing:border-box;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);height:34px;line-height:34px;overflow:hidden;padding:0 32px 0 20px;position:relative;text-overflow:ellipsis;white-space:nowrap}.el-select-dropdown__item.is-hovering{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.is-selected{color:var(--el-color-primary);font-weight:700}.el-select-dropdown__item.is-disabled{background-color:unset;color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-selected:after{background-color:var(--el-color-primary);background-position:50%;background-repeat:no-repeat;border-right:none;border-top:none;content:"";height:12px;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%;position:absolute;right:20px;top:50%;transform:translateY(-50%);width:12px}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-disabled:after{background-color:var(--el-text-color-placeholder)}.el-select-group{margin:0;padding:0}.el-select-group__wrap{list-style:none;margin:0;padding:0;position:relative}.el-select-group__title{box-sizing:border-box;color:var(--el-color-info);font-size:12px;line-height:34px;overflow:hidden;padding:0 20px;text-overflow:ellipsis;white-space:nowrap}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-color:var(--el-disabled-text-color);--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-width:100%;display:inline-block;position:relative;vertical-align:middle;width:var(--el-select-width)}.el-select__wrapper{align-items:center;background-color:var(--el-fill-color-blank);border-radius:var(--el-border-radius-base);box-shadow:0 0 0 1px var(--el-border-color) inset;box-sizing:border-box;cursor:pointer;display:flex;font-size:14px;gap:6px;line-height:24px;min-height:32px;padding:4px 12px;position:relative;text-align:left;transform:translateZ(0);transition:var(--el-transition-duration)}.el-select__wrapper.is-filterable{cursor:text}.el-select__wrapper.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-select__wrapper.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-select__wrapper.is-disabled{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select__wrapper.is-disabled,.el-select__wrapper.is-disabled:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select__wrapper.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-select__wrapper.is-disabled .el-select__selected-item{color:var(--el-select-disabled-color)}.el-select__wrapper.is-disabled .el-select__caret,.el-select__wrapper.is-disabled .el-tag,.el-select__wrapper.is-disabled input{cursor:not-allowed}.el-select__wrapper.is-disabled .el-select__prefix,.el-select__wrapper.is-disabled .el-select__suffix{pointer-events:none}.el-select__prefix,.el-select__suffix{align-items:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:flex;flex-shrink:0;gap:6px}.el-select__caret{color:var(--el-select-input-color);cursor:pointer;font-size:var(--el-select-input-font-size);transform:rotate(0);transition:var(--el-transition-duration)}.el-select__caret.is-reverse{transform:rotate(180deg)}.el-select__clear{cursor:pointer}.el-select__clear:hover{color:var(--el-select-close-hover-color)}.el-select__selection{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0;position:relative}.el-select__selection.is-near{margin-left:-8px}.el-select__selection .el-tag{border-color:transparent;cursor:pointer}.el-select__selection .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-select__selection .el-tag .el-tag__content{min-width:0}.el-select__selected-item{display:flex;flex-wrap:wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-select__tags-text{line-height:normal}.el-select__placeholder,.el-select__tags-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-select__placeholder{color:var(--el-input-text-color,var(--el-text-color-regular));position:absolute;top:50%;transform:translateY(-50%);width:100%;z-index:-1}.el-select__placeholder.is-transparent{color:var(--el-text-color-placeholder);-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-select__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper,.el-select__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-select__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-select__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select__input-wrapper{flex:1}.el-select__input-wrapper.is-hidden{opacity:0;position:absolute;z-index:-1}.el-select__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-select-multiple-input-color);font-family:inherit;font-size:inherit;height:24px;outline:none;padding:0;width:100%}.el-select__input-calculator{left:0;max-width:100%;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:pre}.el-select--large .el-select__wrapper{font-size:14px;gap:6px;line-height:24px;min-height:40px;padding:8px 16px}.el-select--large .el-select__selection{gap:6px}.el-select--large .el-select__selection.is-near{margin-left:-8px}.el-select--large .el-select__prefix,.el-select--large .el-select__suffix{gap:6px}.el-select--large .el-select__input{height:24px}.el-select--small .el-select__wrapper{font-size:12px;gap:4px;line-height:20px;min-height:24px;padding:2px 8px}.el-select--small .el-select__selection{gap:4px}.el-select--small .el-select__selection.is-near{margin-left:-6px}.el-select--small .el-select__prefix,.el-select--small .el-select__suffix{gap:4px}.el-select--small .el-select__input{height:20px}.el-skeleton{--el-skeleton-circle-size:var(--el-avatar-size)}.el-skeleton__item{background:var(--el-skeleton-color);border-radius:var(--el-border-radius-base);display:inline-block;height:16px;width:100%}.el-skeleton__circle{border-radius:50%;height:var(--el-skeleton-circle-size);line-height:var(--el-skeleton-circle-size);width:var(--el-skeleton-circle-size)}.el-skeleton__button{border-radius:4px;height:40px;width:64px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{height:var(--el-font-size-small);width:100%}.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{align-items:center;border-radius:0;display:flex;justify-content:center;width:unset}.el-skeleton__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:22%;width: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{background:var(--el-skeleton-color);height:16px;margin-top:16px}.el-skeleton.is-animated .el-skeleton__item{animation:el-skeleton-loading 1.4s ease infinite;background:linear-gradient(90deg,var(--el-skeleton-color) 25%,var(--el-skeleton-to-color) 37%,var(--el-skeleton-color) 63%);background-size:400% 100%}.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;align-items:center;display:flex;height:32px;width:100%}.el-slider__runway{background-color:var(--el-slider-runway-bg-color);border-radius:var(--el-slider-border-radius);cursor:pointer;flex:1;height:var(--el-slider-height);position:relative}.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.dragging,.el-slider__runway.is-disabled .el-slider__button-wrapper.hover,.el-slider__runway.is-disabled .el-slider__button-wrapper:hover{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.dragging,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover{cursor:not-allowed}.el-slider__input{flex-shrink:0;width:130px}.el-slider__bar{background-color:var(--el-slider-main-bg-color);border-bottom-left-radius:var(--el-slider-border-radius);border-top-left-radius:var(--el-slider-border-radius);height:var(--el-slider-height);position:absolute}.el-slider__button-wrapper{background-color:transparent;height:var(--el-slider-button-wrapper-size);line-height:normal;outline:none;position:absolute;text-align:center;top:var(--el-slider-button-wrapper-offset);transform:translate(-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none;width:var(--el-slider-button-wrapper-size);z-index:1}.el-slider__button-wrapper:after{content:"";display:inline-block;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{background-color:var(--el-color-white);border:2px solid var(--el-slider-main-bg-color);border-radius:50%;box-sizing:border-box;display:inline-block;height:var(--el-slider-button-size);transition:var(--el-transition-duration-fast);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:var(--el-slider-button-size)}.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{background-color:var(--el-slider-stop-bg-color);border-radius:var(--el-border-radius-circle);height:var(--el-slider-height);position:absolute;transform:translate(-50%);width:var(--el-slider-height)}.el-slider__marks{height:100%;left:12px;top:0;width:18px}.el-slider__marks-text{color:var(--el-color-info);font-size:14px;margin-top:15px;position:absolute;transform:translate(-50%);white-space:pre}.el-slider.is-vertical{display:inline-flex;flex:0;height:100%;position:relative;width:auto}.el-slider.is-vertical .el-slider__runway{height:100%;margin:0 16px;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__bar{border-radius:0 0 3px 3px;height:auto;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__button-wrapper{left:var(--el-slider-button-wrapper-offset);top:auto;transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical .el-slider__marks-text{left:15px;margin-top:0;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{white-space:nowrap;width:100%}.el-spinner{display:inline-block;vertical-align:middle}.el-spinner-inner{animation:rotate 2s linear infinite;height:50px;width:50px}.el-spinner-inner .path{animation:dash 1.5s ease-in-out infinite;stroke:var(--el-border-color-lighter);stroke-linecap:round}@keyframes rotate{to{transform:rotate(1turn)}}@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{flex-shrink:1;position:relative}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-basis:auto!important;flex-grow:0;flex-shrink: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{border-color:var(--el-text-color-primary);color:var(--el-text-color-primary)}.el-step__head.is-wait{border-color:var(--el-text-color-placeholder);color:var(--el-text-color-placeholder)}.el-step__head.is-success{border-color:var(--el-color-success);color:var(--el-color-success)}.el-step__head.is-error{border-color:var(--el-color-danger);color:var(--el-color-danger)}.el-step__head.is-finish{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-step__icon{align-items:center;background:var(--el-bg-color);box-sizing:border-box;display:inline-flex;font-size:14px;height:24px;justify-content:center;position:relative;transition:.15s ease-out;width:24px;z-index:1}.el-step__icon.is-text{border:2px solid;border-radius:50%}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{color:inherit;display:inline-block;font-weight:700;line-height:1;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.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{background-color:var(--el-text-color-placeholder);border-color:currentColor;position:absolute}.el-step__line-inner{border:1px solid;box-sizing:border-box;display:block;height:0;transition:.15s ease-out;width:0}.el-step__main{text-align:left;white-space:normal}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{color:var(--el-text-color-primary);font-weight:700}.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{font-size:12px;font-weight:400;line-height:20px;margin-top:-5px;padding-right:10%}.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;left:0;right:0;top:11px}.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{flex-grow:1;padding-left:10px}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{bottom:0;left:11px;top:0;width:2px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-vertical .el-step__description{padding-right:0}.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{align-items:center;display:flex}.el-step.is-simple .el-step__head{font-size:0;padding-right:10px;width:auto}.el-step.is-simple .el-step__icon{background:transparent;font-size:12px;height:16px;width:16px}.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{align-items:stretch;display:flex;flex-grow:1;position:relative}.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%;overflow-wrap:break-word}.el-step.is-simple .el-step__arrow{align-items:center;display:flex;flex-grow:1;justify-content:center}.el-step.is-simple .el-step__arrow:after,.el-step.is-simple .el-step__arrow:before{background:var(--el-text-color-placeholder);content:"";display:inline-block;height:15px;position:absolute;width:1px}.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;line-height:normal}.el-steps--simple{background:var(--el-fill-color-light);border-radius:4px;padding:13px 8%}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{flex-flow:column;height:100%}.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color);align-items:center;display:inline-flex;font-size:14px;height:32px;line-height:20px;position:relative;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{color:var(--el-text-color-primary);cursor:pointer;display:inline-block;font-size:14px;font-weight:500;height:20px;transition:var(--el-transition-duration-fast);vertical-align:middle}.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 *{display:inline-block;font-size:14px;line-height:1}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{height:0;margin:0;opacity:0;position:absolute;width:0}.el-switch__input:focus-visible~.el-switch__core{outline:2px solid var(--el-switch-on-color);outline-offset:1px}.el-switch__core{align-items:center;background:var(--el-switch-off-color);border:1px solid var(--el-switch-border-color,var(--el-switch-off-color));border-radius:10px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:20px;min-width:40px;outline:none;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration)}.el-switch__core .el-switch__inner{align-items:center;display:flex;height:16px;justify-content:center;overflow:hidden;padding:0 4px 0 18px;transition:all var(--el-transition-duration);width:100%}.el-switch__core .el-switch__inner-wrapper{align-items:center;color:var(--el-color-white);display:flex;font-size:12px;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-switch__core .el-switch__action{align-items:center;background-color:var(--el-color-white);border-radius:var(--el-border-radius-circle);color:var(--el-switch-off-color);display:flex;height:16px;justify-content:center;left:1px;position:absolute;transition:all var(--el-transition-duration);width:16px}.el-switch.is-checked .el-switch__core{background-color:var(--el-switch-on-color);border-color:var(--el-switch-border-color,var(--el-switch-on-color))}.el-switch.is-checked .el-switch__core .el-switch__action{color:var(--el-switch-on-color);left:calc(100% - 17px)}.el-switch.is-checked .el-switch__core .el-switch__inner{padding:0 18px 0 4px}.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;line-height:24px}.el-switch--large .el-switch__label{font-size:14px;height:24px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{border-radius:12px;height:24px;min-width:50px}.el-switch--large .el-switch__core .el-switch__inner{height:20px;padding:0 6px 0 22px}.el-switch--large .el-switch__core .el-switch__action{height:20px;width:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action{left:calc(100% - 21px)}.el-switch--large.is-checked .el-switch__core .el-switch__inner{padding:0 22px 0 6px}.el-switch--small{font-size:12px;height:24px;line-height:16px}.el-switch--small .el-switch__label{font-size:12px;height:16px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{border-radius:8px;height:16px;min-width:30px}.el-switch--small .el-switch__core .el-switch__inner{height:12px;padding:0 2px 0 14px}.el-switch--small .el-switch__core .el-switch__action{height:12px;width:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 13px)}.el-switch--small.is-checked .el-switch__core .el-switch__inner{padding:0 14px 0 2px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{background-color:#fff;border:1px solid var(--el-border-color-lighter);border-radius:2px;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{list-style:none;margin:0;min-width:100px;outline:none;padding:5px 0}.el-table-filter__list-item{cursor:pointer;font-size:var(--el-font-size-base);line-height:36px;outline:none;padding:0 10px}.el-table-filter__list-item:focus,.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__multiple{outline:none}.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{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-filter__bottom button:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-filter__bottom button{color:var(--el-text-color-regular);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.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{align-items:center;display:flex;height:unset;margin-bottom:12px;margin-left:5px;margin-right:5px}.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-index:var(--el-index-normal);background-color:var(--el-table-bg-color);box-sizing:border-box;color:var(--el-table-text-color);font-size:var(--el-font-size-base);height:-moz-fit-content;height:fit-content;max-width:100%;overflow:hidden;position:relative;width:100%}.el-table__inner-wrapper{display:flex;flex-direction:column;height:100%;position:relative}.el-table__inner-wrapper:before{bottom:0;height:1px;left:0}.el-table tbody:focus-visible{outline:none}.el-table.has-footer.el-table--fluid-height tr:last-child td.el-table__cell,.el-table.has-footer.el-table--scrollable-y tr:last-child td.el-table__cell{border-bottom-color:transparent}.el-table__empty-block{align-items:center;display:flex;justify-content:center;left:0;min-height:60px;position:sticky;text-align:center;width:100%}.el-table__empty-text{color:var(--el-text-color-secondary);line-height:60px;width:50%}.el-table__expand-column .cell{padding:0;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table__expand-icon{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table__expand-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:-2px}.el-table__expand-icon{color:var(--el-text-color-regular);font-size:12px;height:23px;line-height:12px;width:min(23px,100%)}.el-table__expand-icon.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.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-bottom:0;border-right:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table--fit .el-table__inner-wrapper:before{width:100%}.el-table thead{color:var(--el-table-header-text-color)}.el-table thead th{font-weight:600}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{box-sizing:border-box;min-width:0;padding:8px 0;position:relative;text-align:left;text-overflow:ellipsis;vertical-align:middle;z-index:var(--el-table-index)}.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{border-bottom-width:0;border-right-width:0;padding:0;width:15px}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;line-height:23px;overflow:hidden;overflow-wrap:break-word;padding:0 12px;text-overflow:ellipsis;white-space:normal}.el-table .cell.el-tooltip{min-width:50px;white-space:nowrap}.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--default{font-size:var(--el-font-size-base)}.el-table--default .el-table__cell{padding:8px 0}.el-table--default .cell{padding:0 12px}.el-table--small{font-size:var(--el-font-size-extra-small)}.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{background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{background:#ff4d51;border-radius:50%;content:"";display:inline-block;height:8px;margin-right:5px;vertical-align:middle;width:8px}.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__inner-wrapper:after,.el-table--border:after,.el-table--border:before,.el-table__inner-wrapper:before{background-color:var(--el-table-border-color);content:"";position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table--border .el-table__inner-wrapper:after{height:1px;left:0;top:0;width:100%;z-index:calc(var(--el-table-index) + 2)}.el-table--border:before{height:100%;left:0;top:-1px;width:1px}.el-table--border:after{height:100%;right:0;top:-1px;width:1px}.el-table--border .el-table__inner-wrapper{border-bottom:none;border-right:none}.el-table--border .el-table__footer-wrapper{flex-shrink:0;position:relative}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.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{background:inherit;position:sticky!important;z-index:calc(var(--el-table-index) + 1)}.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{bottom:0;box-shadow:none;content:"";overflow-x:hidden;overflow-y:hidden;pointer-events:none;position:absolute;top:0;touch-action:none;width:10px}.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}.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{background:#fff;position:sticky!important;right:0;z-index:calc(var(--el-table-index) + 1)}.el-table__header-wrapper{flex-shrink: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{border-collapse:separate;table-layout:fixed}.el-table__header-wrapper{overflow:hidden}.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__footer-wrapper{flex-shrink:0;overflow:hidden}.el-table__footer-wrapper tfoot 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>.cell,.el-table__header-wrapper .el-table-column--selection>.cell{align-items:center;display:inline-flex;height:23px}.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{flex:1;overflow:hidden;position:relative}.el-table__body-wrapper .el-scrollbar__bar{z-index:calc(var(--el-table-index) + 2)}.el-table .caret-wrapper{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table .caret-wrapper:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table .caret-wrapper{align-items:center;display:inline-flex;flex-direction:column;height:14px;overflow:initial;position:relative;vertical-align:middle;width:24px}.el-table .sort-caret{border:5px solid transparent;height:0;left:7px;position:absolute;width:0}.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{position:absolute;visibility:hidden;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,.el-table__body tr>td.hover-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.el-table--scrollable-y .el-table__body-header{position:sticky;top:0;z-index:calc(var(--el-table-index) + 2)}.el-table.el-table--scrollable-y .el-table__body-footer{bottom:0;position:sticky;z-index:calc(var(--el-table-index) + 2)}.el-table__column-resize-proxy{border-left:var(--el-table-border);bottom:0;left:200px;position:absolute;top:0;width:0;z-index:calc(var(--el-table-index) + 9)}.el-table__column-filter-trigger{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table__column-filter-trigger:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table__column-filter-trigger{display:inline-block}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{height:100%;top:0;width:1px}.el-table__border-bottom-patch,.el-table__border-left-patch{background-color:var(--el-table-border-color);left:0;position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table__border-bottom-patch{height:1px}.el-table__border-right-patch{background-color:var(--el-table-border-color);height:100%;position:absolute;top:0;width:1px;z-index:calc(var(--el-table-index) + 2)}.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;text-align:center;width:20px}.el-table .el-table.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table:not(.el-table--border) .el-table__cell{border-right:none}.el-table:not(.el-table--border)>.el-table__inner-wrapper:after{content:none}.el-table-v2{--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-index:var(--el-index-normal);font-size:var(--el-font-size-base)}.el-table-v2 *{box-sizing:border-box}.el-table-v2__root{position:relative}.el-table-v2__root:hover .el-table-v2__main .el-virtual-scrollbar{opacity:1}.el-table-v2__main{background-color:var(--el-bg-color);display:flex;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0}.el-table-v2__main .el-vl__horizontal,.el-table-v2__main .el-vl__vertical{z-index:2}.el-table-v2__left{background-color:var(--el-bg-color);box-shadow:2px 0 4px #0000000f;display:flex;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0}.el-table-v2__left .el-virtual-scrollbar{opacity:0}.el-table-v2__left .el-vl__horizontal,.el-table-v2__left .el-vl__vertical{z-index:-1}.el-table-v2__right{background-color:var(--el-bg-color);box-shadow:-2px 0 4px #0000000f;display:flex;flex-direction:column-reverse;overflow:hidden;position:absolute;right:0;top:0}.el-table-v2__right .el-virtual-scrollbar{opacity:0}.el-table-v2__right .el-vl__horizontal,.el-table-v2__right .el-vl__vertical{z-index:-1}.el-table-v2__header-row,.el-table-v2__row{padding-inline-end:var(--el-table-scrollbar-size)}.el-table-v2__header-wrapper{overflow:hidden}.el-table-v2__header{overflow:hidden;position:relative}.el-table-v2__header .el-checkbox{z-index:0}.el-table-v2__footer{bottom:0;overflow:hidden;right:0}.el-table-v2__empty,.el-table-v2__footer,.el-table-v2__overlay{left:0;position:absolute}.el-table-v2__overlay{bottom:0;right:0;top:0;z-index:9999}.el-table-v2__header-row{border-bottom:var(--el-table-border);display:flex}.el-table-v2__header-cell{align-items:center;background-color:var(--el-table-header-bg-color);color:var(--el-table-header-text-color);display:flex;font-weight:700;height:100%;overflow:hidden;padding:0 8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table-v2__header-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__header-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__header-cell.is-sortable{cursor:pointer}.el-table-v2__header-cell:hover .el-icon{display:block}.el-table-v2__sort-icon{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-v2__sort-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-v2__sort-icon{display:none;opacity:.6;transition:opacity,display var(--el-transition-duration)}.el-table-v2__sort-icon.is-sorting{display:flex;opacity:1}.el-table-v2__row{align-items:center;border-bottom:var(--el-table-border);display:flex;transition:background-color var(--el-transition-duration)}.el-table-v2__row.is-hovered,.el-table-v2__row:hover{background-color:var(--el-table-row-hover-bg-color)}.el-table-v2__row-cell{align-items:center;display:flex;height:100%;overflow:hidden;padding:0 8px}.el-table-v2__row-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__row-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__expand-icon{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-v2__expand-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-v2__expand-icon{margin:0 4px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table-v2__expand-icon svg{transition:transform var(--el-transition-duration)}.el-table-v2__expand-icon.is-expanded svg{transform:rotate(90deg)}.el-table-v2:not(.is-dynamic) .el-table-v2__cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-table-v2.is-dynamic .el-table-v2__row{align-items:stretch;overflow:hidden}.el-table-v2.is-dynamic .el-table-v2__row .el-table-v2__row-cell{overflow-wrap:break-word}.el-tabs{--el-tabs-header-height:40px;display:flex}.el-tabs__header{align-items:center;display:flex;justify-content:space-between;margin:0 0 15px;padding:0;position:relative}.el-tabs__header-vertical{flex-direction:column}.el-tabs__active-bar{background-color:var(--el-color-primary);bottom:0;height:2px;left:0;list-style:none;position:absolute;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);z-index:1}.el-tabs__active-bar.is-bottom{bottom:auto}.el-tabs__new-tab{align-items:center;border:1px solid var(--el-border-color);border-radius:3px;color:var(--el-text-color-primary);cursor:pointer;display:flex;flex-shrink:0;font-size:12px;height:20px;justify-content:center;line-height:20px;margin:10px 0 10px 10px;text-align:center;transition:all .15s;width:20px}.el-tabs__new-tab .is-icon-plus{height:inherit;transform:scale(.8);width:inherit}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__new-tab-vertical{margin-left:0}.el-tabs__nav-wrap{flex:1 auto;margin-bottom:-1px;overflow:hidden;position:relative}.el-tabs__nav-wrap:after{background-color:var(--el-border-color-light);bottom:0;content:"";height:2px;left:0;position:absolute;width:100%;z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-bottom:after{bottom:auto;top:0}.el-tabs__nav-wrap.is-scrollable{box-sizing:border-box;padding:0 20px}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;line-height:44px;position:absolute;text-align:center;width:20px}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{display:flex;float:left;position:relative;transition:transform var(--el-transition-duration);white-space:nowrap;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{display:flex;min-width:100%}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{align-items:center;box-sizing:border-box;color:var(--el-text-color-primary);display:flex;font-size:var(--el-font-size-base);font-weight:500;height:var(--el-tabs-header-height);justify-content:center;list-style:none;padding:0 20px;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus-visible{border-radius:3px;box-shadow:0 0 2px 2px var(--el-color-primary) inset}.el-tabs__item .is-icon-close{border-radius:50%;margin-left:5px;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs__item .is-icon-close:before{display:inline-block;transform:scale(.9)}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item.is-active,.el-tabs__item:hover{color:var(--el-color-primary)}.el-tabs__item:hover{cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{flex-grow:1;overflow:hidden;position:relative}.el-tabs--bottom>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:0}.el-tabs--bottom>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top>.el-tabs__header .el-tabs__item:last-child{padding-right:0}.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--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--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--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--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light);box-sizing:border-box;height:var(--el-tabs-header-height)}.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{font-size:12px;height:14px;overflow:hidden;position:relative;right:-2px;transform-origin:100% 50%;width:0}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);margin-top:-1px;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:var(--el-bg-color)}.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{border:1px solid transparent;color:var(--el-text-color-secondary);margin-top:-1px;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item,.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.is-active{background-color:var(--el-bg-color-overlay);border-left-color:var(--el-border-color);border-right-color:var(--el-border-color);color:var(--el-color-primary)}.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{flex-direction:column}.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-bottom:0;margin-top:-1px}.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{bottom:auto;height:auto;top:0;width:2px}.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{cursor:pointer;height:30px;line-height:30px;text-align:center;width:100%}.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{bottom:0;right:auto}.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{bottom:auto;height:100%;top:0;width:2px}.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{flex-direction:column}.el-tabs--left .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-left{justify-content:flex-end}.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-right{justify-content:flex-start}.el-tabs--left{flex-direction:row}.el-tabs--left .el-tabs__header.is-left{margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.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-bottom:none;border-left:none;border-right:1px solid var(--el-border-color-light);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-bottom:none;border-left:none;border-right:1px solid #fff}.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-bottom:1px solid var(--el-border-color-light);border-radius:4px 0 0 4px;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:rgb(209,219,229) transparent}.el-tabs--left>.el-tabs__content+.el-tabs__header{order:-1}.el-tabs--right .el-tabs__header.is-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-bottom:none;border-left:1px solid #fff;border-right: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-bottom:1px solid var(--el-border-color-light);border-left:none;border-radius:0 4px 4px 0}.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:rgb(209,219,229) transparent}.el-tabs--top{flex-direction:column}.el-tabs--top>.el-tabs__content+.el-tabs__header{order:-1}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{animation:slideInRight-leave var(--el-transition-duration);left:0;position:absolute;right:0}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{animation:slideInLeft-leave var(--el-transition-duration);left:0;position:absolute;right:0}@keyframes slideInRight-enter{0%{opacity:0;transform:translate(100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInRight-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(100%);transform-origin:0 0}}@keyframes slideInLeft-enter{0%{opacity:0;transform:translate(-100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInLeft-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(-100%);transform-origin:0 0}}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px;align-items:center;background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);border-radius:var(--el-tag-border-radius);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--el-tag-text-color);display:inline-flex;font-size:var(--el-tag-font-size);height:24px;justify-content:center;line-height:1;padding:0 9px;vertical-align:middle;white-space:nowrap;--el-icon-size:14px}.el-tag,.el-tag.el-tag--primary{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary)}.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-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-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-hover-color:var(--el-color-danger)}.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-hover-color:var(--el-color-error)}.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-hover-color:var(--el-color-info)}.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);flex-shrink:0}.el-tag .el-tag__close:hover{background-color:var(--el-tag-hover-color);color:var(--el-color-white)}.el-tag.el-tag--primary{--el-tag-text-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color:var(--el-color-info)}.el-tag .el-icon{border-radius:50%;cursor:pointer;display:flex;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size)}.el-tag .el-tag__close{background-color:transparent;border:none;border-radius:50%;margin-left:6px;outline:none;overflow:hidden;padding:0}.el-tag .el-tag__close:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-tag--dark{--el-tag-text-color:var(--el-color-white)}.el-tag--dark,.el-tag--dark.el-tag--primary{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--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-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-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-hover-color:var(--el-color-danger-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-hover-color:var(--el-color-error-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-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info,.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning{--el-tag-text-color:var(--el-color-white)}.el-tag--plain,.el-tag--plain.el-tag--primary{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-hover-color:var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{height:32px;padding:0 11px;--el-icon-size:16px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{height:20px;padding:0 7px;--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--primary.is-hit{border-color:var(--el-color-primary)}.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--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.el-text{--el-text-font-size:var(--el-font-size-base);--el-text-color:var(--el-text-color-regular);align-self:center;color:var(--el-text-color);font-size:var(--el-text-font-size);margin:0;overflow-wrap:break-word;padding:0}.el-text.is-truncated{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-text.is-line-clamp{display:-webkit-inline-box;-webkit-box-orient:vertical;overflow:hidden}.el-text--large{--el-text-font-size:var(--el-font-size-medium)}.el-text--default{--el-text-font-size:var(--el-font-size-base)}.el-text--small{--el-text-font-size:var(--el-font-size-extra-small)}.el-text.el-text--primary{--el-text-color:var(--el-color-primary)}.el-text.el-text--success{--el-text-color:var(--el-color-success)}.el-text.el-text--warning{--el-text-color:var(--el-color-warning)}.el-text.el-text--danger{--el-text-color:var(--el-color-danger)}.el-text.el-text--error{--el-text-color:var(--el-color-error)}.el-text.el-text--info{--el-text-color:var(--el-color-info)}.el-text>.el-icon{vertical-align:-2px}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{margin:0;max-height:200px}.time-select-item{font-size:14px;line-height:20px;padding:8px 10px}.time-select-item.disabled{color:var(--el-datepicker-border-color);cursor:not-allowed}.time-select-item:hover{background-color:var(--el-fill-color-light);cursor:pointer;font-weight:700}.time-select .time-select-item.selected:not(.disabled){color:var(--el-color-primary);font-weight:700}.el-timeline-item{padding-bottom:20px;position:relative}.el-timeline-item__wrapper{box-sizing:content-box;position:relative;top:-3px}.el-timeline-item__tail{border-left:2px solid var(--el-timeline-node-color);height:100%;position:absolute}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{align-items:center;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;position:absolute}.el-timeline-item__node--normal{height:var(--el-timeline-node-size-normal);width:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{height:var(--el-timeline-node-size-large);width: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{align-items:center;display:flex;justify-content:center;position:absolute}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);font-size:var(--el-font-size-small);line-height:1}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline-item.is-start .el-timeline-item__wrapper{padding-left:28px}.el-timeline-item.is-start .el-timeline-item__tail{left:4px}.el-timeline-item.is-start .el-timeline-item__node--normal{left:-1px}.el-timeline-item.is-start .el-timeline-item__node--large{left:-2px}.el-timeline-item.is-end .el-timeline-item__wrapper{padding-right:28px;text-align:right}.el-timeline-item.is-end .el-timeline-item__tail{right:4px}.el-timeline-item.is-end .el-timeline-item__node--normal{right:-1px}.el-timeline-item.is-end .el-timeline-item__node--large{right:-2px}.el-timeline-item.is-alternate .el-timeline-item__node,.el-timeline-item.is-alternate .el-timeline-item__tail,.el-timeline-item.is-alternate-reverse .el-timeline-item__node,.el-timeline-item.is-alternate-reverse .el-timeline-item__tail{left:50%;transform:translate(-50%)}.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);font-size:var(--el-font-size-base);list-style:none;margin:0}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{align-items:center;display:flex}.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-timeline.is-start{padding-left:40px;padding-right:0}.el-timeline.is-end{padding-left:0;padding-right:40px}.el-timeline.is-alternate{padding-left:20px;padding-right:20px}.el-timeline.is-alternate .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{left:calc(50% - var(--el-timeline-node-size-large)/2);padding-left:28px;width:calc(50% - 28px)}.el-timeline.is-alternate .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{padding-right:28px;text-align:right;width:calc(50% - 28px + var(--el-timeline-node-size-large)/2)}.el-timeline.is-alternate-reverse{padding-left:20px;padding-right:20px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{padding-right:28px;text-align:right;width:calc(50% - 28px + var(--el-timeline-node-size-large)/2)}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{left:calc(50% - var(--el-timeline-node-size-large)/2);padding-left:28px;width:calc(50% - 28px)}.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;font-size:var(--el-font-size-base)}.el-transfer__buttons{display:inline-block;padding:0 30px;vertical-align:middle}.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{background:var(--el-bg-color-overlay);box-sizing:border-box;display:inline-block;max-height:100%;overflow:hidden;position:relative;text-align:left;vertical-align:middle;width:var(--el-transfer-panel-width)}.el-transfer-panel__body{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);border-left:1px solid var(--el-transfer-border-color);border-right:1px solid var(--el-transfer-border-color);height:var(--el-transfer-panel-body-height);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{box-sizing:border-box;height:var(--el-transfer-panel-body-height);list-style:none;margin:0;overflow:auto;padding:6px 0}.el-transfer-panel__list.is-filterable{height:calc(100% - var(--el-transfer-filter-height) - 30px);padding-top:0}.el-transfer-panel__item{display:block!important;height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding-left:15px}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:var(--el-text-color-regular);margin-right:30px}.el-transfer-panel__item:hover{color:var(--el-color-primary)}.el-transfer-panel__item.el-checkbox .el-checkbox__label{box-sizing:border-box;display:block;line-height:var(--el-transfer-item-height);overflow:hidden;padding-left:22px;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{box-sizing:border-box;padding:15px;text-align:center}.el-transfer-panel__filter .el-input__inner{box-sizing:border-box;display:inline-block;font-size:12px;height:var(--el-transfer-filter-height);width:100%}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{align-items:center;background:var(--el-transfer-panel-header-bg-color);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);display:flex;height:var(--el-transfer-panel-header-height);margin:0;padding-left:15px}.el-transfer-panel .el-transfer-panel__header .el-checkbox{align-items:center;display:flex;position:relative;width:100%}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{color:var(--el-text-color-primary);font-size:16px;font-weight:400}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span{color:var(--el-text-color-secondary);font-size:12px;font-weight:400;position:absolute;right:15px;top:50%;transform:translate3d(0,-50%,0)}.el-transfer-panel .el-transfer-panel__footer{background:var(--el-bg-color-overlay);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);height:var(--el-transfer-panel-footer-height);margin:0;padding:0}.el-transfer-panel .el-transfer-panel__footer:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{color:var(--el-text-color-regular);padding-left:20px}.el-transfer-panel .el-transfer-panel__empty{color:var(--el-text-color-secondary);height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);margin:0;padding:6px 15px 0;text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-tree{--el-tree-node-content-height:26px;--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);background:var(--el-fill-color-blank);color:var(--el-tree-text-color);cursor:default;font-size:var(--el-font-size-base);position:relative}.el-tree__empty-block{height:100%;min-height:60px;position:relative;text-align:center;width:100%}.el-tree__empty-text{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-tree__drop-indicator{background-color:var(--el-color-primary);height:1px;left:0;position:absolute;right:0}.el-tree-node{outline:none;white-space:nowrap}.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{--el-checkbox-height:var(--el-tree-node-content-height);align-items:center;cursor:pointer;display:flex;height:var(--el-tree-node-content-height)}.el-tree-node__content>.el-tree-node__expand-icon{box-sizing:content-box;padding:6px}.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{color:var(--el-tree-expand-icon-color);cursor:pointer;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;visibility:hidden}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{color:var(--el-tree-expand-icon-color);font-size:var(--el-font-size-base);margin-right:8px}.el-tree-node>.el-tree-node__children{background-color:transparent;overflow:hidden}.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-content-height:26px;--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__list>.el-select-dropdown__item{padding-left:32px}.el-tree-select__popper .el-select-dropdown__item{background:transparent!important;flex:1;height:20px;line-height:20px;padding-left:0}.el-upload{--el-upload-dragger-padding-horizontal:10px;--el-upload-dragger-padding-vertical:40px;--el-upload-list-picture-card-size:var(--el-upload-picture-card-size);--el-upload-picture-card-size:148px;align-items:center;cursor:pointer;display:inline-flex;justify-content:center;outline:none}.el-upload.is-disabled{cursor:not-allowed}.el-upload.is-disabled:focus{color:inherit}.el-upload.is-disabled:focus,.el-upload.is-disabled:focus .el-upload-dragger{border-color:var(--el-border-color-darker)}.el-upload.is-disabled .el-upload-dragger{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.el-upload.is-disabled .el-upload-dragger .el-upload__text{color:var(--el-text-color-placeholder)}.el-upload.is-disabled .el-upload-dragger .el-upload__text em{color:var(--el-disabled-text-color)}.el-upload.is-disabled .el-upload-dragger:hover{border-color:var(--el-border-color-darker)}.el-upload__input{display:none}.el-upload__tip{color:var(--el-text-color-regular);font-size:12px;margin-top:7px}.el-upload iframe{filter:alpha(opacity=0);left:0;opacity:0;position:absolute;top:0;z-index:-1}.el-upload--picture-card{align-items:center;background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);border-radius:6px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:var(--el-upload-picture-card-size);justify-content:center;vertical-align:top;width:var(--el-upload-picture-card-size)}.el-upload--picture-card>i{color:var(--el-text-color-secondary);font-size:28px}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload.is-drag{display:block}.el-upload:focus{color:var(--el-color-primary)}.el-upload:focus,.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;cursor:pointer;overflow:hidden;padding:var(--el-upload-dragger-padding-vertical) var(--el-upload-dragger-padding-horizontal);position:relative;text-align:center}.el-upload-dragger .el-icon--upload{color:var(--el-text-color-placeholder);font-size:67px;line-height:50px;margin-bottom:16px}.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);padding:calc(var(--el-upload-dragger-padding-vertical) - 1px) calc(var(--el-upload-dragger-padding-horizontal) - 1px)}.el-upload-list{--el-upload-dragger-padding-horizontal:10px;--el-upload-dragger-padding-vertical:40px;--el-upload-list-picture-card-size:var(--el-upload-picture-card-size);--el-upload-picture-card-size:148px;list-style:none;margin:10px 0 0;padding:0;position:relative}.el-upload-list__item{border-radius:4px;box-sizing:border-box;color:var(--el-text-color-regular);font-size:14px;margin-bottom:5px;position:relative;transition:all .5s cubic-bezier(.55,0,.1,1);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{color:var(--el-text-color-regular);cursor:pointer;display:none;opacity:.75;position:absolute;right:5px;top:50%;transform:translateY(-50%);transition:opacity var(--el-transition-duration)}.el-upload-list__item .el-icon--close:hover{color:var(--el-color-primary);opacity:1}.el-upload-list__item .el-icon--close-tip{color:var(--el-color-primary);cursor:pointer;display:none;font-size:12px;font-style:normal;opacity:1;position:absolute;right:5px;top:1px}.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;flex-direction:column;justify-content:center;margin-left:4px;width:calc(100% - 30px)}.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:focus .el-upload-list__item-status-label,.el-upload-list__item.is-success:hover .el-upload-list__item-status-label{display:none;opacity:0}.el-upload-list__item-name{align-items:center;color:var(--el-text-color-regular);display:inline-flex;font-size:var(--el-font-size-base);padding:0 4px;text-align:center;transition:color var(--el-transition-duration)}.el-upload-list__item-name .el-icon{color:var(--el-text-color-secondary);margin-right:6px}.el-upload-list__item-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-upload-list__item-status-label{align-items:center;display:none;height:100%;justify-content:center;line-height:inherit;position:absolute;right:5px;top:0;transition:opacity var(--el-transition-duration)}.el-upload-list__item-delete{color:var(--el-text-color-regular);display:none;font-size:12px;position:absolute;right:10px;top:0}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{display:inline-flex;flex-wrap:wrap;margin:0}.el-upload-list--picture-card .el-upload-list__item{background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:inline-flex;height:var(--el-upload-list-picture-card-size);margin:0 8px 8px 0;overflow:hidden;padding:0;width:var(--el-upload-list-picture-card-size)}.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{display:block;opacity:0}.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{height:100%;-o-object-fit:contain;object-fit:contain;width:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;transform:rotate(45deg);width:40px}.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{align-items:center;background-color:var(--el-overlay-color-lighter);color:#fff;cursor:default;display:inline-flex;font-size:20px;height:100%;justify-content:center;left:0;opacity:0;position:absolute;top:0;transition:opacity var(--el-transition-duration);width:100%}.el-upload-list--picture-card .el-upload-list__item-actions span{cursor:pointer;display:none}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:16px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{color:inherit;font-size:inherit;position:static}.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{bottom:auto;left:50%;top:50%;transform:translate(-50%,-50%);width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{align-items:center;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:flex;margin-top:10px;overflow:hidden;padding:10px;z-index:0}.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{display:inline-flex;opacity:0}.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{align-items:center;background-color:var(--el-color-white);display:inline-flex;height:70px;justify-content:center;-o-object-fit:contain;object-fit:contain;position:relative;width:70px;z-index:1}.el-upload-list--picture .el-upload-list__item-status-label{background:var(--el-color-success);height:26px;position:absolute;right:-17px;text-align:center;top:-7px;transform:rotate(45deg);width:46px}.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{cursor:default;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:10}.el-upload-cover:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-upload-cover img{display:block;height:100%;width:100%}.el-upload-cover__label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;transform:rotate(45deg);width:40px}.el-upload-cover__label i{color:#fff;font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-cover__progress{display:inline-block;position:static;vertical-align:middle;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{height:100%;left:0;position:absolute;top:0;width:100%}.el-upload-cover__interact{background-color:var(--el-overlay-color-light);bottom:0;height:100%;left:0;position:absolute;text-align:center;width:100%}.el-upload-cover__interact .btn{color:#fff;cursor:pointer;display:inline-block;font-size:14px;margin-top:60px;transition:var(--el-transition-md-fade);vertical-align:middle}.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{background-color:#fff;bottom:0;color:var(--el-text-color-primary);font-size:14px;font-weight:400;height:36px;left:0;line-height:36px;margin:0;overflow:hidden;padding:0 10px;position:absolute;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-vl__wrapper{position:relative}.el-vl__wrapper.always-on .el-virtual-scrollbar,.el-vl__wrapper:hover .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-virtual-scrollbar.always-on{opacity:1}.el-vg__wrapper{position:relative}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius,4px);--el-popper-bg-color-light:var(--el-bg-color-overlay);--el-popper-bg-color-dark:var(--el-text-color-primary);border-radius:var(--el-popper-border-radius);font-size:12px;line-height:20px;min-width:10px;overflow-wrap:break-word;padding:5px 11px;position:absolute;visibility:visible;word-break:normal;z-index:2000}.el-popper.is-dark{--el-fill-color-blank:var(--el-popper-bg-color-dark);color:var(--el-bg-color)}.el-popper.is-dark,.el-popper.is-dark>.el-popper__arrow:before{background:var(--el-popper-bg-color-dark);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark>.el-popper__arrow:before{right:0}.el-popper.is-light{--el-fill-color-blank:var(--el-popper-bg-color-light)}.el-popper.is-light,.el-popper.is-light>.el-popper__arrow:before{background:var(--el-popper-bg-color-light);border:1px solid var(--el-border-color-light)}.el-popper.is-light>.el-popper__arrow:before{right:0}.el-popper.is-pure{padding:0}.el-popper__arrow,.el-popper__arrow:before{height:10px;position:absolute;width:10px;z-index:-1}.el-popper__arrow:before{background:var(--el-text-color-primary);box-sizing:border-box;content:" ";transform:rotate(45deg)}.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-left-color:transparent!important;border-top-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-bottom-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.el-statistic{--el-statistic-title-font-weight:400;--el-statistic-title-font-size:var(--el-font-size-extra-small);--el-statistic-title-color:var(--el-text-color-regular);--el-statistic-content-font-weight:400;--el-statistic-content-font-size:var(--el-font-size-extra-large);--el-statistic-content-color:var(--el-text-color-primary)}.el-statistic__head{color:var(--el-statistic-title-color);font-size:var(--el-statistic-title-font-size);font-weight:var(--el-statistic-title-font-weight);line-height:20px;margin-bottom:4px}.el-statistic__content{color:var(--el-statistic-content-color);font-size:var(--el-statistic-content-font-size);font-weight:var(--el-statistic-content-font-weight)}.el-statistic__value{display:inline-block}.el-statistic__prefix{display:inline-block;margin-right:4px}.el-statistic__suffix{display:inline-block;margin-left:4px}.el-tour{--el-tour-width:520px;--el-tour-padding-primary:12px;--el-tour-font-line-height:var(--el-font-line-height-primary);--el-tour-title-font-size:16px;--el-tour-title-text-color:var(--el-text-color-primary);--el-tour-title-font-weight:400;--el-tour-close-color:var(--el-color-info);--el-tour-font-size:14px;--el-tour-color:var(--el-text-color-primary);--el-tour-bg-color:var(--el-bg-color);--el-tour-border-radius:4px}.el-tour__hollow{transition:all var(--el-transition-duration) ease}.el-tour__content{border-radius:var(--el-tour-border-radius);box-shadow:var(--el-box-shadow-light);outline:none;overflow-wrap:break-word;padding:var(--el-tour-padding-primary);width:var(--el-tour-width)}.el-tour__arrow,.el-tour__content{background:var(--el-tour-bg-color);box-sizing:border-box}.el-tour__arrow{height:10px;pointer-events:none;position:absolute;transform:rotate(45deg);width:10px}.el-tour__content[data-side^=top] .el-tour__arrow{border-left-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=bottom] .el-tour__arrow{border-bottom-color:transparent;border-right-color:transparent}.el-tour__content[data-side^=left] .el-tour__arrow{border-bottom-color:transparent;border-left-color:transparent}.el-tour__content[data-side^=right] .el-tour__arrow{border-right-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=top] .el-tour__arrow{bottom:-5px}.el-tour__content[data-side^=bottom] .el-tour__arrow{top:-5px}.el-tour__content[data-side^=left] .el-tour__arrow{right:-5px}.el-tour__content[data-side^=right] .el-tour__arrow{left:-5px}.el-tour__closebtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-tour__closebtn .el-tour__close{color:var(--el-tour-close-color);font-size:inherit}.el-tour__closebtn:focus .el-tour__close,.el-tour__closebtn:hover .el-tour__close{color:var(--el-color-primary)}.el-tour__header{padding-bottom:var(--el-tour-padding-primary)}.el-tour__header.show-close{padding-right:calc(var(--el-tour-padding-primary) + var(--el-message-close-size, 16px))}.el-tour__title{color:var(--el-tour-title-text-color);font-size:var(--el-tour-title-font-size);font-weight:var(--el-tour-title-font-weight);line-height:var(--el-tour-font-line-height)}.el-tour__body{color:var(--el-tour-text-color);font-size:var(--el-tour-font-size)}.el-tour__body img,.el-tour__body video{max-width:100%}.el-tour__footer{box-sizing:border-box;display:flex;justify-content:space-between;padding-top:var(--el-tour-padding-primary)}.el-tour__content .el-tour-indicators{display:inline-block;flex:1}.el-tour__content .el-tour-indicator{background:var(--el-color-info-light-9);border-radius:50%;display:inline-block;height:6px;margin-right:6px;width:6px}.el-tour__content .el-tour-indicator.is-active{background:var(--el-color-primary)}.el-tour.el-tour--primary{--el-tour-title-text-color:#fff;--el-tour-text-color:#fff;--el-tour-bg-color:var(--el-color-primary);--el-tour-close-color:#fff}.el-tour.el-tour--primary .el-tour__closebtn:focus .el-tour__close,.el-tour.el-tour--primary .el-tour__closebtn:hover .el-tour__close{color:var(--el-tour-title-text-color)}.el-tour.el-tour--primary .el-button--default{background:#fff;border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-tour.el-tour--primary .el-button--primary{border-color:#fff}.el-tour.el-tour--primary .el-tour-indicator{background:#ffffff26}.el-tour.el-tour--primary .el-tour-indicator.is-active{background:#fff}.el-tour-parent--hidden{overflow:hidden}.el-anchor{--el-anchor-bg-color:var(--el-bg-color);--el-anchor-padding-indent:14px;--el-anchor-line-height:22px;--el-anchor-font-size:12px;--el-anchor-color:var(--el-text-color-secondary);--el-anchor-active-color:var(--el-color-primary);--el-anchor-hover-color:var(--el-text-color-regular);--el-anchor-marker-bg-color:var(--el-color-primary);background-color:var(--el-anchor-bg-color);position:relative}.el-anchor__marker{background-color:var(--el-anchor-marker-bg-color);border-radius:4px;opacity:0;position:absolute;z-index:0}.el-anchor.el-anchor--vertical .el-anchor__marker{height:14px;left:0;top:8px;transition:top .25s ease-in-out,opacity .25s;width:4px}.el-anchor.el-anchor--vertical .el-anchor__list{padding-left:var(--el-anchor-padding-indent)}.el-anchor.el-anchor--vertical.el-anchor--underline:before{background-color:#0505050f;content:"";height:100%;left:0;position:absolute;width:2px}.el-anchor.el-anchor--vertical.el-anchor--underline .el-anchor__marker{border-radius:unset;width:2px}.el-anchor.el-anchor--horizontal .el-anchor__marker{bottom:0;height:2px;transition:left .25s ease-in-out,opacity .25s,width .25s;width:20px}.el-anchor.el-anchor--horizontal .el-anchor__list{display:flex;padding-bottom:4px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item{padding-left:16px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item:first-child{padding-left:0}.el-anchor.el-anchor--horizontal.el-anchor--underline:before{background-color:#0505050f;bottom:0;content:"";height:2px;position:absolute;width:100%}.el-anchor.el-anchor--horizontal.el-anchor--underline .el-anchor__marker{border-radius:unset;height:2px}.el-anchor__item{display:flex;flex-direction:column}.el-anchor__link{color:var(--el-anchor-color);cursor:pointer;font-size:var(--el-anchor-font-size);line-height:var(--el-anchor-line-height);max-width:100%;outline:none;overflow:hidden;padding:4px 0;text-decoration:none;text-overflow:ellipsis;transition:color var(--el-transition-duration);white-space:nowrap}.el-anchor__link:focus,.el-anchor__link:hover{color:var(--el-hover-color)}.el-anchor__link:focus-visible{border-radius:var(--el-border-radius-base);outline:2px solid var(--el-color-primary)}.el-anchor__link.is-active{color:var(--el-anchor-active-color)}.el-anchor .el-anchor__list .el-anchor__item a{display:inline-block}.el-segmented--vertical{flex-direction:column}.el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented{--el-segmented-color:var(--el-text-color-regular);--el-segmented-bg-color:var(--el-fill-color-light);--el-segmented-padding:2px;--el-segmented-item-selected-color:var(--el-color-white);--el-segmented-item-selected-bg-color:var(--el-color-primary);--el-segmented-item-selected-disabled-bg-color:var(--el-color-primary-light-5);--el-segmented-item-hover-color:var(--el-text-color-primary);--el-segmented-item-hover-bg-color:var(--el-fill-color-dark);--el-segmented-item-active-bg-color:var(--el-fill-color-darker);--el-segmented-item-disabled-color:var(--el-text-color-placeholder);align-items:stretch;background:var(--el-segmented-bg-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;color:var(--el-segmented-color);display:inline-flex;font-size:14px;min-height:32px;padding:var(--el-segmented-padding)}.el-segmented__group{align-items:stretch;display:flex;position:relative;width:100%}.el-segmented__item-selected{background:var(--el-segmented-item-selected-bg-color);border-radius:calc(var(--el-border-radius-base) - 2px);height:100%;left:0;pointer-events:none;position:absolute;top:0;transition:all .3s;width:10px}.el-segmented__item-selected.is-disabled{background:var(--el-segmented-item-selected-disabled-bg-color)}.el-segmented__item-selected.is-focus-visible:before{border-radius:inherit;bottom:0;content:"";left:0;outline:2px solid var(--el-segmented-item-selected-bg-color);outline-offset:1px;position:absolute;right:0;top:0}.el-segmented__item{align-items:center;border-radius:calc(var(--el-border-radius-base) - 2px);cursor:pointer;display:flex;flex:1;padding:0 11px}.el-segmented__item:not(.is-disabled):not(.is-selected):hover{background:var(--el-segmented-item-hover-bg-color);color:var(--el-segmented-item-hover-color)}.el-segmented__item:not(.is-disabled):not(.is-selected):active{background:var(--el-segmented-item-active-bg-color)}.el-segmented__item.is-selected,.el-segmented__item.is-selected.is-disabled{color:var(--el-segmented-item-selected-color)}.el-segmented__item.is-disabled{color:var(--el-segmented-item-disabled-color);cursor:not-allowed}.el-segmented__item-input{height:0;margin:0;opacity:0;pointer-events:none;position:absolute;width:0}.el-segmented__item-label{flex:1;line-height:normal;overflow:hidden;text-align:center;text-overflow:ellipsis;transition:color .3s;white-space:nowrap;z-index:1}.el-segmented.is-block{display:flex}.el-segmented.is-block .el-segmented__item{min-width:0}.el-segmented--large{border-radius:var(--el-border-radius-base);font-size:16px;min-height:40px}.el-segmented--large .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 2px)}.el-segmented--large .el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented--large .el-segmented__item{border-radius:calc(var(--el-border-radius-base) - 2px);padding:0 11px}.el-segmented--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:14px;min-height:24px}.el-segmented--small .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 3px)}.el-segmented--small .el-segmented--vertical .el-segmented__item{padding:7px}.el-segmented--small .el-segmented__item{border-radius:calc(var(--el-border-radius-base) - 3px);padding:0 7px}.el-mention{position:relative;width:100%}.el-mention__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-mention__popper.el-popper,.el-mention__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-mention__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-mention-dropdown{--el-mention-font-size:var(--el-font-size-base);--el-mention-bg-color:var(--el-bg-color-overlay);--el-mention-shadow:var(--el-box-shadow-light);--el-mention-border:1px solid var(--el-border-color-light);--el-mention-option-color:var(--el-text-color-regular);--el-mention-option-height:34px;--el-mention-option-min-width:100px;--el-mention-option-hover-background:var(--el-fill-color-light);--el-mention-option-selected-color:var(--el-color-primary);--el-mention-option-disabled-color:var(--el-text-color-placeholder);--el-mention-option-loading-color:var(--el-text-color-secondary);--el-mention-option-loading-padding:10px 0;--el-mention-max-height:174px;--el-mention-padding:6px 0;--el-mention-header-padding:10px;--el-mention-footer-padding:10px}.el-mention-dropdown__item{box-sizing:border-box;color:var(--el-mention-option-color);cursor:pointer;font-size:var(--el-mention-font-size);height:var(--el-mention-option-height);line-height:var(--el-mention-option-height);min-width:var(--el-mention-option-min-width);overflow:hidden;padding:0 20px;position:relative;text-overflow:ellipsis;white-space:nowrap}.el-mention-dropdown__item.is-hovering{background-color:var(--el-mention-option-hover-background)}.el-mention-dropdown__item.is-selected{color:var(--el-mention-option-selected-color);font-weight:700}.el-mention-dropdown__item.is-disabled{background-color:unset;color:var(--el-mention-option-disabled-color);cursor:not-allowed}.el-mention-dropdown{border-radius:var(--el-border-radius-base);box-sizing:border-box;z-index:calc(var(--el-index-top) + 1)}.el-mention-dropdown__loading{color:var(--el-mention-option-loading-color);font-size:12px;margin:0;min-width:var(--el-mention-option-min-width);padding:10px 0;text-align:center}.el-mention-dropdown__wrap{max-height:var(--el-mention-max-height)}.el-mention-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:var(--el-mention-padding)}.el-mention-dropdown__header{border-bottom:var(--el-mention-border);padding:var(--el-mention-header-padding)}.el-mention-dropdown__footer{border-top:var(--el-mention-border);padding:var(--el-mention-footer-padding)}.el-splitter{display:flex;height:100%;margin:0;padding:0;position:relative;width:100%}.el-splitter__mask{bottom:0;left:0;position:absolute;right:0;top:0;z-index:999}.el-splitter__mask-horizontal{cursor:ew-resize}.el-splitter__mask-vertical{cursor:ns-resize}.el-splitter__horizontal{flex-direction:row}.el-splitter__vertical{flex-direction:column}.el-splitter-bar{flex:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-splitter-bar__dragger{background:transparent;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:1}.el-splitter-bar__dragger:after,.el-splitter-bar__dragger:before{background-color:var(--el-border-color-light);content:"";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-splitter-bar__dragger:not(.is-lazy):after{display:none}.el-splitter-bar__dragger:after{opacity:.4}.el-splitter-bar__dragger:hover:not(.is-disabled):before{background-color:var(--el-color-primary-light-5)}.el-splitter-bar__dragger-horizontal:after,.el-splitter-bar__dragger-horizontal:before{height:100%;width:2px}.el-splitter-bar__dragger-vertical:after,.el-splitter-bar__dragger-vertical:before{height:2px;width:100%}.el-splitter-bar__dragger-active:after,.el-splitter-bar__dragger-active:before{background-color:var(--el-color-primary-light-3)}.el-splitter-bar__dragger-active.el-splitter-bar__dragger-horizontal:after{transform:translate(calc(-50% + var(--el-splitter-bar-offset)),-50%)}.el-splitter-bar__dragger-active.el-splitter-bar__dragger-vertical:after{transform:translate(-50%,calc(-50% + var(--el-splitter-bar-offset)))}.el-splitter-bar:hover .el-splitter-bar__collapse-icon{opacity:1}.el-splitter-bar__collapse-icon{align-items:center;background:var(--el-border-color-light);border-radius:2px;cursor:pointer;display:flex;justify-content:center;opacity:0;position:absolute;z-index:9}.el-splitter-bar__collapse-icon:hover{background-color:var(--el-color-primary-light-5);opacity:1}.el-splitter-bar__horizontal-collapse-icon-start{height:24px;left:-12px;top:50%;transform:translate(-50%,-50%);width:16px}.el-splitter-bar__horizontal-collapse-icon-end{height:24px;left:12px;top:50%;transform:translate(-50%,-50%);width:16px}.el-splitter-bar__vertical-collapse-icon-start{height:16px;right:50%;top:-12px;transform:translate(50%,-50%);width:24px}.el-splitter-bar__vertical-collapse-icon-end{height:16px;right:50%;top:12px;transform:translate(50%,-50%);width:24px}.el-splitter-panel{box-sizing:border-box;flex-grow:0;overflow:auto;scrollbar-width:thin}.upload-card[data-v-a0c75cf1]{border-radius:12px;border:none}.card-title[data-v-a0c75cf1]{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600}.drop-area[data-v-a0c75cf1] .el-upload-dragger{width:100%;height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:8px}.upload-icon[data-v-a0c75cf1]{font-size:48px;color:#409eff;margin-bottom:8px}.upload-text[data-v-a0c75cf1]{font-size:15px;color:#606266}.upload-text em[data-v-a0c75cf1]{color:#409eff;font-style:normal}.upload-tip[data-v-a0c75cf1]{font-size:12px;color:#909399;margin-top:6px}.option-row[data-v-a0c75cf1]{display:flex;align-items:center;gap:12px;margin-top:20px}.option-label[data-v-a0c75cf1]{font-size:14px;color:#606266;white-space:nowrap}.mode-hint[data-v-a0c75cf1]{font-size:12px;color:#909399;margin-left:4px}.submit-row[data-v-a0c75cf1]{margin-top:24px;display:flex;justify-content:center}.upload-tabs[data-v-a0c75cf1]{margin-bottom:8px}.batch-area[data-v-a0c75cf1]{min-height:160px}.batch-input-row[data-v-a0c75cf1]{display:flex;gap:12px;margin-bottom:16px}.batch-empty[data-v-a0c75cf1]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:140px;color:#909399;gap:8px}.batch-hint[data-v-a0c75cf1]{font-size:12px;color:#c0c4cc}.batch-preview[data-v-a0c75cf1]{display:flex;flex-direction:column;gap:8px}.batch-summary[data-v-a0c75cf1]{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.batch-limit-row[data-v-a0c75cf1]{display:flex;align-items:center;gap:6px;margin-left:8px}.batch-table[data-v-a0c75cf1]{border-radius:6px}.batch-more-hint[data-v-a0c75cf1]{font-size:12px;color:#909399;text-align:center;padding:4px 0}.batch-clear-btn[data-v-a0c75cf1]{align-self:flex-end}.batch-result-card[data-v-d95acc72]{border-radius:12px;border:none}.panel-header[data-v-d95acc72]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.panel-title[data-v-d95acc72]{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600}.panel-actions[data-v-d95acc72]{display:flex;align-items:center;gap:8px}.overall-progress[data-v-d95acc72]{margin-bottom:20px}.progress-label[data-v-d95acc72]{font-size:13px;color:#606266;margin-bottom:6px}.current-file[data-v-d95acc72]{color:#409eff;font-weight:500}.current-msg[data-v-d95acc72]{font-size:12px;color:#909399;margin-top:4px}.summary-row[data-v-d95acc72]{display:flex;gap:40px;padding:16px 0;border-bottom:1px solid #f0f0f0;margin-bottom:16px}.file-table[data-v-d95acc72]{margin-top:8px}.row-progress[data-v-d95acc72]{width:180px}.row-msg[data-v-d95acc72]{font-size:12px;color:#909399}.text-danger[data-v-d95acc72]{color:#f56c6c;font-size:12px}.text-success[data-v-d95acc72]{color:#67c23a;font-size:12px}.progress-card[data-v-673aebf7]{border-radius:12px;border:none}.card-title[data-v-673aebf7]{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600}.spin[data-v-673aebf7]{animation:spin-673aebf7 1.2s linear infinite;color:#409eff}@keyframes spin-673aebf7{to{transform:rotate(360deg)}}.page-indicator[data-v-673aebf7]{margin-left:auto;font-size:13px;color:#606266;font-weight:400}.main-progress[data-v-673aebf7]{margin-bottom:20px}.log-container[data-v-673aebf7]{height:280px;overflow-y:auto;background:#1e1e1e;border-radius:8px;padding:12px 16px;font-family:Consolas,Courier New,monospace;font-size:13px}.log-item[data-v-673aebf7]{line-height:1.8;color:#d4d4d4;word-break:break-all}.log-item.log-success[data-v-673aebf7]{color:#4ec9b0}.log-item.log-error[data-v-673aebf7]{color:#f44747}.log-time[data-v-673aebf7]{color:#608b4e;margin-right:6px;font-size:11px}.row-count[data-v-bfa225df]{margin-top:8px;font-size:12px;color:#909399;text-align:right}.raw-text[data-v-bfa225df]{background:#f8f8f8;border-radius:6px;padding:12px;font-size:13px;line-height:1.6;white-space:pre-wrap;word-break:break-all;max-height:400px;overflow-y:auto}.flagged-cell[data-v-bfa225df]{cursor:help}.raw-text[data-v-9250db36]{background:#f8f8f8;border-radius:6px;padding:10px;font-size:12px;line-height:1.6;white-space:pre-wrap;word-break:break-all;max-height:300px;overflow-y:auto}.toolbar-card[data-v-7ae18195],.part-card[data-v-7ae18195]{border-radius:12px;border:none;margin-bottom:16px}.toolbar[data-v-7ae18195]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.result-summary[data-v-7ae18195]{display:flex;align-items:center;gap:8px;font-size:15px}.btn-group[data-v-7ae18195]{display:flex;gap:8px;flex-wrap:wrap}.page-tabs[data-v-7ae18195]{margin-bottom:8px}.parts3-card[data-v-7ae18195]{border:2px solid #f0c040!important}.part-label[data-v-7ae18195]{font-weight:600;font-size:14px}.parts3-label[data-v-7ae18195]{color:#b45309}.meta-row[data-v-7ae18195]{margin-top:0}.token-hint[data-v-7ae18195]{font-size:12px;color:#c0c4cc;margin-left:6px}.correction-alert[data-v-7ae18195]{margin-bottom:16px;border-radius:12px}.reason-tags[data-v-7ae18195]{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.reason-tag[data-v-7ae18195]{font-size:12px}.toolbar-card[data-v-5cd76fd5],.table-card[data-v-5cd76fd5],.para-card[data-v-5cd76fd5]{border-radius:12px;border:none;margin-bottom:16px}.toolbar[data-v-5cd76fd5]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.result-summary[data-v-5cd76fd5]{display:flex;align-items:center;gap:8px;font-size:15px}.btn-group[data-v-5cd76fd5]{display:flex;gap:8px;flex-wrap:wrap}.token-hint[data-v-5cd76fd5]{font-size:12px;color:#c0c4cc;margin-left:4px}.page-tabs[data-v-5cd76fd5]{margin-bottom:8px}.table-header[data-v-5cd76fd5]{display:flex;align-items:center;gap:8px}.table-title[data-v-5cd76fd5],.para-label[data-v-5cd76fd5]{font-weight:600;font-size:14px}.para-item+.para-item[data-v-5cd76fd5]{margin-top:16px;border-top:1px solid #f0f0f0;padding-top:16px}.para-title[data-v-5cd76fd5]{font-weight:600;color:#303133;margin-bottom:6px}.para-text[data-v-5cd76fd5]{white-space:pre-wrap;word-break:break-all;font-size:13px;color:#606266;line-height:1.7;margin:0;font-family:inherit}*{box-sizing:border-box;margin:0;padding:0}body{font-family:PingFang SC,Microsoft YaHei,sans-serif;background:#f0f2f5;min-height:100vh}.ocr-app{min-height:100vh;display:flex;flex-direction:column}.app-header{background:linear-gradient(135deg,#1a5fb4,#2563eb);color:#fff;padding:0 32px;height:64px!important;display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 8px #00000026}.header-actions{display:flex;align-items:center;gap:8px}.swagger-btn,.manual-btn{color:#bfdbfe!important;border-color:#ffffff59!important;background:transparent!important;font-size:12px}.swagger-btn:hover,.manual-btn:hover{background:#ffffff26!important;color:#fff!important}.manual-btn{color:#93c5fd!important;border-color:#93c5fd!important;font-weight:600}.manual-btn:hover{background:#93c5fd26!important;color:#fff!important}.header-inner{display:flex;align-items:center;gap:12px}.logo-icon{color:#93c5fd}.title{font-size:20px;font-weight:700;letter-spacing:.5px}.subtitle{font-size:13px;color:#bfdbfe;margin-left:4px}.app-main{flex:1;padding:32px;max-width:1200px;margin:0 auto;width:100%}.mt-4{margin-top:16px}.auto-section-title{font-size:15px;font-weight:600;color:#3b82f6;margin:24px 0 8px;padding:6px 12px;background:#eff6ff;border-left:4px solid #3b82f6;border-radius:0 6px 6px 0}.manual-wrap[data-v-5e393216]{display:flex;height:100vh;overflow:hidden;background:#f0f2f5}.sidebar[data-v-5e393216]{width:280px;flex-shrink:0;background:#fff;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;overflow-y:auto;box-shadow:2px 0 8px #0000000f}.sb-section[data-v-5e393216]{padding:12px 14px;border-bottom:1px solid #f3f4f6}.sb-title[data-v-5e393216]{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#374151;margin-bottom:10px;text-transform:uppercase;letter-spacing:.4px}.sb-hint[data-v-5e393216]{font-size:11px;color:#9ca3af;font-weight:400;text-transform:none;margin-left:auto}.src-tabs[data-v-5e393216]{--el-font-size-base: 12px}.region-type-btns[data-v-5e393216]{display:flex;flex-direction:column;gap:6px}.rt-btn[data-v-5e393216]{display:flex;align-items:center;gap:8px;padding:7px 12px;border-radius:8px;border:2px solid #e5e7eb;background:#f9fafb;cursor:pointer;font-size:13px;color:#374151;transition:all .15s;font-weight:500}.rt-btn[data-v-5e393216]:hover{border-color:var(--rt-color);background:#fff}.rt-btn.active[data-v-5e393216]{border-color:var(--rt-color);background:color-mix(in srgb,var(--rt-color) 10%,#fff);color:var(--rt-color)}.rt-badge[data-v-5e393216]{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:var(--rt-color);color:#fff;font-size:12px;font-weight:700;flex-shrink:0}.sb-regions[data-v-5e393216]{flex:1;overflow:hidden;display:flex;flex-direction:column}.region-list[data-v-5e393216]{overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:6px;max-height:320px}.region-item[data-v-5e393216]{border:1.5px solid #e5e7eb;border-radius:8px;padding:8px 10px;cursor:pointer;transition:all .15s;background:#fafafa}.region-item[data-v-5e393216]:hover{border-color:var(--rt-color);background:#fff}.region-item.active[data-v-5e393216]{border-color:var(--rt-color);background:color-mix(in srgb,var(--rt-color) 8%,#fff)}.ri-top[data-v-5e393216]{display:flex;align-items:center;gap:5px;margin-bottom:4px}.ri-badge[data-v-5e393216]{width:18px;height:18px;border-radius:50%;background:var(--rt-color);color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.ri-label[data-v-5e393216]{font-size:12px;font-weight:600;color:var(--rt-color)}.ri-page[data-v-5e393216]{font-size:11px;color:#9ca3af;margin-left:auto}.ri-del[data-v-5e393216]{color:#d1d5db;cursor:pointer;font-size:14px}.ri-del[data-v-5e393216]:hover{color:#ef4444}.ri-status[data-v-5e393216]{display:flex;align-items:center;gap:6px;margin-bottom:2px}.ri-tokens[data-v-5e393216]{font-size:11px;color:#9ca3af}.ri-preview[data-v-5e393216]{font-size:11px;color:#6b7280;white-space:pre-wrap;word-break:break-all;margin:4px 0 0;max-height:48px;overflow:hidden;font-family:Consolas,monospace}.sb-actions[data-v-5e393216],.sb-export[data-v-5e393216]{padding:10px 14px}.vl-progress-wrap[data-v-5e393216]{margin-top:8px;padding:8px 10px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px}.vl-progress-label[data-v-5e393216]{font-size:12px;color:#1d4ed8;font-weight:600;display:flex;align-items:center;gap:4px;margin-bottom:2px}.vl-done[data-v-5e393216]{color:#059669}.vl-spin[data-v-5e393216]{display:inline-block;animation:spin-5e393216 1s linear infinite}.vl-fade-enter-active[data-v-5e393216],.vl-fade-leave-active[data-v-5e393216]{transition:opacity .3s,transform .3s}.vl-fade-enter-from[data-v-5e393216],.vl-fade-leave-to[data-v-5e393216]{opacity:0;transform:translateY(-4px)}.sb-footer[data-v-5e393216]{margin-top:auto;padding:10px 14px;border-top:1px solid #f3f4f6}.viewer[data-v-5e393216]{flex:1;display:flex;flex-direction:column;overflow:hidden;position:relative}.viewer-nav[data-v-5e393216]{height:44px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;gap:12px;padding:0 16px;flex-shrink:0}.nav-label[data-v-5e393216]{font-size:14px;font-weight:600;color:#374151}.nav-type-indicator[data-v-5e393216]{display:flex;align-items:center;gap:6px;font-size:13px;color:#374151}.nt-dot[data-v-5e393216]{width:10px;height:10px;border-radius:50%;display:inline-block}.nav-hint[data-v-5e393216]{font-size:12px;color:#9ca3af}.zoom-bar[data-v-5e393216]{display:flex;align-items:center;gap:4px;margin-left:auto}.zoom-pct[data-v-5e393216]{min-width:40px;text-align:center;font-size:13px;font-weight:600;color:#374151;-webkit-user-select:none;user-select:none}.engine-badge[data-v-5e393216]{display:flex;align-items:center;gap:6px;padding:6px 14px;border-bottom:1px solid #f3f4f6;font-size:11px}.es-text[data-v-5e393216]{color:#6b7280}.es-dot[data-v-5e393216]{width:7px;height:7px;border-radius:50%;flex-shrink:0;animation:pulse-5e393216 1.5s infinite}.es-loading .es-dot[data-v-5e393216]{background:#f59e0b}.es-ready .es-dot[data-v-5e393216]{background:#10b981;animation:none}.es-error .es-dot[data-v-5e393216]{background:#ef4444;animation:none}.es-ready .es-text[data-v-5e393216]{color:#059669}.es-error .es-text[data-v-5e393216]{color:#ef4444}@keyframes pulse-5e393216{0%,to{opacity:1}50%{opacity:.3}}.viewer-empty[data-v-5e393216]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#9ca3af;font-size:14px}.img-wrap[data-v-5e393216]{flex:1;overflow:auto;background:#e5e7eb;padding:12px;box-sizing:border-box;text-align:center}.img-inner[data-v-5e393216]{position:relative;display:inline-block;line-height:0;text-align:left}.pdf-canvas[data-v-5e393216]{display:block;-webkit-user-select:none;user-select:none}.overlay-canvas[data-v-5e393216]{position:absolute;top:0;left:0}.overlay-canvas[data-mode=draw][data-v-5e393216]{cursor:crosshair}.overlay-canvas[data-mode=pan][data-v-5e393216]{cursor:grab}.overlay-canvas[data-mode=pan][data-v-5e393216]:active{cursor:grabbing}.page-loading[data-v-5e393216]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;gap:8px;color:#6b7280;background:#ffffffb3;z-index:10;pointer-events:none}.spin[data-v-5e393216]{animation:spin-5e393216 1s linear infinite}@keyframes spin-5e393216{to{transform:rotate(360deg)}}.result-panel[data-v-5e393216]{position:absolute;bottom:16px;right:16px;width:440px;max-width:90%;background:#fff;border-radius:10px;box-shadow:0 8px 30px #00000026;z-index:50;overflow:hidden;border:1px solid #e5e7eb}.rp-header[data-v-5e393216]{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f8fafc;border-bottom:1px solid #e5e7eb}.rp-badge[data-v-5e393216]{width:20px;height:20px;border-radius:50%;color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.rp-title[data-v-5e393216]{font-size:13px;font-weight:600;color:#374151}.rp-tokens[data-v-5e393216]{font-size:11px;color:#9ca3af;margin-left:auto}.rp-text[data-v-5e393216]{padding:10px 14px;font-size:13px;line-height:1.7;color:#1f2937;white-space:pre-wrap;word-break:break-all;max-height:260px;overflow-y:auto;font-family:Consolas,PingFang SC,monospace}.fade-enter-active[data-v-5e393216],.fade-leave-active[data-v-5e393216]{transition:opacity .2s,transform .2s}.fade-enter-from[data-v-5e393216],.fade-leave-to[data-v-5e393216]{opacity:0;transform:translateY(10px)} +@charset "UTF-8";: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","微软雅黑",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);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px;color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:rgb(121,187,255);--el-color-primary-light-5:rgb(160,207,255);--el-color-primary-light-7:rgb(198,226,255);--el-color-primary-light-8:rgb(217,236,255);--el-color-primary-light-9:rgb(236,245,255);--el-color-primary-dark-2:rgb(51,126,204);--el-color-success:#67c23a;--el-color-success-light-3:rgb(149,212,117);--el-color-success-light-5:rgb(179,225,157);--el-color-success-light-7:rgb(209,237,196);--el-color-success-light-8:rgb(225,243,216);--el-color-success-light-9:rgb(240,249,235);--el-color-success-dark-2:rgb(82,155,46);--el-color-warning:#e6a23c;--el-color-warning-light-3:rgb(238,190,119);--el-color-warning-light-5:rgb(243,209,158);--el-color-warning-light-7:rgb(248,227,197);--el-color-warning-light-8:rgb(250,236,216);--el-color-warning-light-9:rgb(253,246,236);--el-color-warning-dark-2:rgb(184,130,48);--el-color-danger:#f56c6c;--el-color-danger-light-3:rgb(248,152,152);--el-color-danger-light-5:rgb(250,182,182);--el-color-danger-light-7:rgb(252,211,211);--el-color-danger-light-8:rgb(253,226,226);--el-color-danger-light-9:rgb(254,240,240);--el-color-danger-dark-2:rgb(196,86,86);--el-color-error:#f56c6c;--el-color-error-light-3:rgb(248,152,152);--el-color-error-light-5:rgb(250,182,182);--el-color-error-light-7:rgb(252,211,211);--el-color-error-light-8:rgb(253,226,226);--el-color-error-light-9:rgb(254,240,240);--el-color-error-dark-2:rgb(196,86,86);--el-color-info:#909399;--el-color-info-light-3:rgb(177,179,184);--el-color-info-light-5:rgb(200,201,204);--el-color-info-light-7:rgb(222,223,224);--el-color-info-light-8:rgb(233,233,235);--el-color-info-light-9:rgb(244,244,245);--el-color-info-dark-2:rgb(115,118,122);--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--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);transform-origin:center top;transition:var(--el-transition-md-fade)}.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);transform-origin:center bottom;transition:var(--el-transition-md-fade)}.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);transform-origin:top left;transition:var(--el-transition-md-fade)}.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--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.el-icon{--color:inherit;align-items:center;color:var(--color);display:inline-flex;fill:currentColor;font-size:inherit;height:1em;justify-content:center;line-height:1em;position:relative;width:1em}.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:14px;--el-alert-title-with-description-font-size:16px;--el-alert-description-font-size:14px;--el-alert-close-font-size:16px;--el-alert-close-customed-font-size:14px;--el-alert-icon-size:16px;--el-alert-icon-large-size:28px;align-items:center;background-color:var(--el-color-white);border-radius:var(--el-alert-border-radius-base);box-sizing:border-box;display:flex;margin:0;opacity:1;overflow:hidden;padding:var(--el-alert-padding);position:relative;transition:opacity var(--el-transition-duration-fast);width:100%}.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--primary{--el-alert-bg-color:var(--el-color-primary-light-9)}.el-alert--primary.is-light{background-color:var(--el-alert-bg-color)}.el-alert--primary.is-light,.el-alert--primary.is-light .el-alert__description{color:var(--el-color-primary)}.el-alert--primary.is-dark{background-color:var(--el-color-primary);color:var(--el-color-white)}.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)}.el-alert--success.is-light,.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)}.el-alert--info.is-light,.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)}.el-alert--warning.is-light,.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)}.el-alert--error.is-light,.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:flex;flex-direction:column;gap:4px}.el-alert .el-alert__icon{font-size:var(--el-alert-icon-size);margin-right:8px;width:var(--el-alert-icon-size)}.el-alert .el-alert__icon.is-big{font-size:var(--el-alert-icon-large-size);margin-right:12px;width:var(--el-alert-icon-large-size)}.el-alert__title{font-size:var(--el-alert-title-font-size);line-height:24px}.el-alert__title.with-description{font-size:var(--el-alert-title-with-description-font-size)}.el-alert .el-alert__description{font-size:var(--el-alert-description-font-size);margin:0}.el-alert .el-alert__close-btn{cursor:pointer;font-size:var(--el-alert-close-font-size);opacity:1;position:absolute;right:16px;top:12px}.el-alert .el-alert__close-btn.is-customed{font-size:var(--el-alert-close-customed-font-size);font-style:normal;line-height:24px;top:8px}.el-alert-fade-enter-from,.el-alert-fade-leave-active{opacity:0}.el-aside{box-sizing:border-box;flex-shrink:0;overflow:auto;width:var(--el-aside-width,300px)}.el-autocomplete{--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-input-width:100%;display:inline-block;position:relative;width:var(--el-input-width)}.el-autocomplete__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper,.el-autocomplete__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-autocomplete__popper.el-popper[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__header{border-bottom:1px solid var(--el-border-color-lighter);padding:10px}.el-autocomplete-suggestion__footer{border-top:1px solid var(--el-border-color-lighter);padding:10px}.el-autocomplete-suggestion__wrap{box-sizing:border-box;max-height:280px;padding:10px 0}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);line-height:34px;list-style:none;margin:0;overflow:hidden;padding:0 20px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-autocomplete-suggestion li.highlighted,.el-autocomplete-suggestion li:hover{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{border-top:1px solid var(--el-color-black);margin-top:6px}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{align-items:center;color:var(--el-text-color-secondary);cursor:default;display:flex;font-size:20px;height:100px;justify-content:center}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-bg-color-overlay)}.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-small:24px;--el-avatar-size:40px;align-items:center;background:var(--el-avatar-bg-color);box-sizing:border-box;color:var(--el-avatar-text-color);display:inline-flex;font-size:var(--el-avatar-text-size);height:var(--el-avatar-size);justify-content:center;outline:none;overflow:hidden;text-align:center;width:var(--el-avatar-size)}.el-avatar>img{display:block;height:100%;width: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-avatar-group{--el-avatar-group-item-gap:-8px;--el-avatar-group-collapse-item-gap:4px;display:inline-flex}.el-avatar-group .el-avatar{border:1px solid var(--el-border-color-extra-light)}.el-avatar-group .el-avatar:not(:first-child){margin-left:var(--el-avatar-group-item-gap)}.el-avatar-group__collapse-avatars{--el-avatar-group-item-gap:-8px;--el-avatar-group-collapse-item-gap:4px}.el-avatar-group__collapse-avatars .el-avatar:not(:first-child){margin-left:var(--el-avatar-group-collapse-item-gap)}.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);align-items:center;background-color:var(--el-backtop-bg-color);border-radius:50%;box-shadow:var(--el-box-shadow-lighter);color:var(--el-backtop-text-color);cursor:pointer;display:flex;font-size:20px;height:40px;justify-content:center;position:fixed;width:40px;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;display:inline-block;position:relative;vertical-align:middle;width:-moz-fit-content;width:fit-content}.el-badge__content{align-items:center;background-color:var(--el-badge-bg-color);border:1px solid var(--el-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-flex;font-size:var(--el-badge-font-size);height:var(--el-badge-size);justify-content:center;padding:0 var(--el-badge-padding);white-space:nowrap}.el-badge__content.is-fixed{position:absolute;right:calc(1px + var(--el-badge-size)/2);top:0;transform:translateY(-50%) translate(100%);z-index:var(--el-index-normal)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{border-radius:50%;height:8px;padding:0;right:0;width:8px}.el-badge__content.is-hide-zero{display:none}.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__separator{color:var(--el-text-color-placeholder);font-weight:700;margin:0 9px}.el-breadcrumb__separator.el-icon{font-weight:400;margin:0 6px}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{align-items:center;display:inline-flex;float:left}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner a,.el-breadcrumb__inner.is-link{color:var(--el-text-color-primary);font-weight:700;text-decoration:none;transition:var(--el-transition-color)}.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{color:var(--el-text-color-regular);cursor:text;font-weight:400}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{content:"";display:table}.el-breadcrumb:after{clear:both}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child:last-child{border-bottom-left-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-top-right-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.is-active,.el-button-group>.el-button:active,.el-button-group>.el-button:focus,.el-button-group>.el-button:hover{z-index:1}.el-button-group--horizontal{display:inline-block;vertical-align:middle}.el-button-group--horizontal:after,.el-button-group--horizontal:before{content:"";display:table}.el-button-group--horizontal:after{clear:both}.el-button-group--horizontal>.el-button{float:left;position:relative}.el-button-group--horizontal>.el-button:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.el-button-group--horizontal>.el-button:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.el-button-group--horizontal>.el-button:not(:last-child){margin-right:-1px}.el-button-group--horizontal .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .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--horizontal .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .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--horizontal .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .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--horizontal .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .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--horizontal .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .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-group--horizontal>.el-dropdown>.el-button{border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0}.el-button-group--vertical{align-items:stretch;display:inline-flex;flex-direction:column}.el-button-group--vertical>.el-button{margin-top:-1px}.el-button-group--vertical>.el-button:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.el-button-group--vertical>.el-button:last-child{border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical>.el-dropdown{margin-top:-1px}.el-button-group--vertical>.el-dropdown>.el-button{border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical .el-button--primary:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-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-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-text-color-secondary);--el-button-active-color:var(--el-text-color-primary);align-items:center;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);box-sizing:border-box;color:var(--el-button-text-color);cursor:pointer;display:inline-flex;font-weight:var(--el-button-font-weight);height:32px;justify-content:center;line-height:1;outline:none;text-align:center;transition:.1s;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-button:hover{background-color:var(--el-button-hover-bg-color);border-color:var(--el-button-hover-border-color);color:var(--el-button-hover-text-color);outline:none}.el-button:active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button>span{align-items:center;display:inline-flex}.el-button+.el-button{margin-left:12px}.el-button{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base)}.el-button,.el-button.is-round{padding:8px 15px}.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{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{background-color:var(--el-button-disabled-bg-color);background-image:none;border-color:var(--el-button-disabled-border-color);color:var(--el-button-disabled-text-color);cursor:not-allowed}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{background-color:var(--el-mask-color-extra-light);border-radius:inherit;bottom:-1px;content:"";left:-1px;pointer-events:none;position:absolute;right:-1px;top:-1px;z-index:1}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px;width:32px}.el-button.is-text{background-color:transparent;border:0 solid transparent;color:var(--el-button-text-color)}.el-button.is-text.is-disabled{background-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{background:transparent;border-color:transparent;color:var(--el-button-text-color);height:auto;padding:2px}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-link:not(.is-disabled):active,.el-button.is-link:not(.is-disabled):hover{background-color:transparent;border-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color)}.el-button--text{background:transparent;border-color:transparent;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button--text:not(.is-disabled):hover{background-color:transparent;border-color:transparent;color:var(--el-color-primary-light-3)}.el-button--text:not(.is-disabled):active{background-color:transparent;border-color:transparent;color:var(--el-color-primary-dark-2)}.el-button__link--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-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--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-link,.el-button--primary.is-plain,.el-button--primary.is-text{--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-link.is-disabled,.el-button--primary.is-link.is-disabled:active,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:hover,.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,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8);color:var(--el-color-primary-light-5)}.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-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--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-link,.el-button--success.is-plain,.el-button--success.is-text{--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-link.is-disabled,.el-button--success.is-link.is-disabled:active,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:hover,.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,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8);color:var(--el-color-success-light-5)}.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-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--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-link,.el-button--warning.is-plain,.el-button--warning.is-text{--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-link.is-disabled,.el-button--warning.is-link.is-disabled:active,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:hover,.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,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8);color:var(--el-color-warning-light-5)}.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-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--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-link,.el-button--danger.is-plain,.el-button--danger.is-text{--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-link.is-disabled,.el-button--danger.is-link.is-disabled:active,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:hover,.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,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8);color:var(--el-color-danger-light-5)}.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-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--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-link,.el-button--info.is-plain,.el-button--info.is-text{--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-link.is-disabled,.el-button--info.is-link.is-disabled:active,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:hover,.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,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);color:var(--el-color-info-light-5)}.el-button--large{--el-button-size:40px;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base);padding:12px 19px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{padding:12px;width:var(--el-button-size)}.el-button--small{--el-button-size:24px;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:12px;padding:5px 11px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{padding:5px;width:var(--el-button-size)}.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{border-bottom:var(--el-calendar-header-border-bottom);display:flex;justify-content:space-between;padding:12px 20px}.el-calendar__title{align-self:center;color:var(--el-text-color)}.el-calendar__body{padding:12px 20px 35px}.el-calendar__select-controller .el-select{margin-right:8px}.el-calendar__select-controller .el-calendar-select__year{width:120px}.el-calendar__select-controller .el-calendar-select__month{width:60px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{color:var(--el-text-color-regular);font-weight:400;padding:12px 0}.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);transition:background-color var(--el-transition-duration-fast) ease;vertical-align:top}.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;height:var(--el-calendar-cell-width);padding:8px}.el-calendar-table .el-calendar-day:hover{background-color:var(--el-calendar-selected-bg-color);cursor:pointer}.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);background-color:var(--el-card-bg-color);border:1px solid var(--el-card-border-color);border-radius:var(--el-card-border-radius);color:var(--el-text-color-primary);display:flex;flex-direction:column;overflow:hidden;transition:var(--el-transition-duration)}.el-card.is-always-shadow,.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:var(--el-box-shadow-light)}.el-card__header{border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-card__body{flex-grow:1;overflow:auto;padding:var(--el-card-padding)}.el-card__footer{border-top:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-carousel__item{display:inline-block;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.el-carousel__item,.el-carousel__item.is-active{z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item--card,.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%}.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__item--card-vertical{height:50%;width:100%}.el-carousel__mask{background-color:var(--el-color-white);height:100%;left:0;opacity:.24;position:absolute;top:0;transition:var(--el-transition-duration-fast);width:100%}.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,.el-carousel--vertical{overflow:hidden}.el-carousel__container{height:300px;position:relative}.el-carousel__arrow{align-items:center;background-color:var(--el-carousel-arrow-background);border:none;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;font-size:var(--el-carousel-arrow-font-size);height:var(--el-carousel-arrow-size);justify-content:center;margin:0;outline:none;padding:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);transition:var(--el-transition-duration);width:var(--el-carousel-arrow-size);z-index:10}.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{list-style:none;margin:0;padding:0;position:absolute;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);position:static;text-align:center;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--right{right:0}.el-carousel__indicators--labels{left:0;right:0;text-align:center;transform:none}.el-carousel__indicators--labels .el-carousel__button{color:#000;font-size:12px;height:auto;padding:2px 18px;width:auto}.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{height:calc(var(--el-carousel-indicator-width)/2);width:var(--el-carousel-indicator-height)}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{background-color:#fff;border:none;cursor:pointer;display:block;height:var(--el-carousel-indicator-height);margin:0;opacity:.48;outline:none;padding:0;transition:var(--el-transition-duration);width:var(--el-carousel-indicator-width)}.carousel-arrow-left-enter-from,.carousel-arrow-left-leave-active{opacity:0;transform:translateY(-50%) translate(-10px)}.carousel-arrow-right-enter-from,.carousel-arrow-right-leave-active{opacity:0;transform:translateY(-50%) translate(10px)}.el-transitioning{filter:url(#elCarouselHorizontal)}.el-transitioning-vertical{filter:url(#elCarouselVertical)}.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);border-radius:var(--el-cascader-menu-radius);display:flex;font-size:var(--el-cascader-menu-font-size);width:-moz-fit-content;width:fit-content}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{border-right:var(--el-cascader-menu-border);box-sizing:border-box;color:var(--el-cascader-menu-text-color);min-width:180px}.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{box-sizing:border-box;list-style:none;margin:0;min-height:100%;padding:6px 0;position:relative}.el-cascader-menu__hover-zone{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.el-cascader-menu__empty-text{align-items:center;color:var(--el-cascader-color-empty);display:flex;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{align-items:center;display:flex;height:34px;line-height:34px;outline:none;padding:0 30px 0 20px;position:relative}.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{left:10px;position:absolute}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;overflow:hidden;padding:0 8px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-cascader-node>.el-checkbox,.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;font-size:var(--el-font-size-base);line-height:32px;outline:none;position:relative;vertical-align:middle}.el-cascader:not(.is-disabled):hover .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset;cursor:pointer}.el-cascader .el-input{cursor:pointer;display:flex}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis}.el-cascader .el-input .el-input__inner:-moz-read-only{cursor:pointer}.el-cascader .el-input .el-input__inner:read-only{cursor:pointer}.el-cascader .el-input .el-input__inner:disabled{cursor:not-allowed}.el-cascader .el-input .el-input__suffix-inner .el-icon svg{vertical-align:middle}.el-cascader .el-input .icon-arrow-down{font-size:14px;transition:transform var(--el-transition-duration)}.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__wrapper{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--large .el-cascader__tags{gap:6px;padding:8px}.el-cascader--large .el-cascader__search-input{height:24px;margin-left:7px}.el-cascader--small{font-size:12px;line-height:24px}.el-cascader--small .el-cascader__tags{gap:4px;padding:2px}.el-cascader--small .el-cascader__search-input{height:20px;margin-left:5px}.el-cascader.is-disabled .el-cascader__label{color:var(--el-disabled-text-color);z-index:calc(var(--el-index-normal) + 1)}.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);border-radius:var(--el-cascader-menu-radius);font-size:var(--el-cascader-menu-font-size)}.el-cascader__dropdown.el-popper{background:var(--el-cascader-menu-fill)}.el-cascader__dropdown.el-popper,.el-cascader__dropdown.el-popper .el-popper__arrow:before{border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-cascader__dropdown.el-popper[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__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-cascader__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-cascader__tags{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:6px;left:0;line-height:normal;padding:4px;position:absolute;right:30px;text-align:left;top:50%;transform:translateY(-50%)}.el-cascader__tags .el-tag{align-items:center;background:var(--el-cascader-tag-background);display:inline-flex;max-width:100%;text-overflow:ellipsis}.el-cascader__tags .el-tag.el-tag--dark,.el-cascader__tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__tags .el-tag>span{flex:1;line-height:normal;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__tags .el-tag+input{margin-left:0}.el-cascader__tags.is-validate{right:55px}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal)}.el-cascader__collapse-tags .el-tag{align-items:center;background:var(--el-fill-color);display:inline-flex;max-width:100%;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag.el-tag--dark,.el-cascader__collapse-tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__collapse-tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__collapse-tags .el-tag>span{flex:1;line-height:normal;overflow:hidden;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__collapse-tags .el-tag+input{margin-left:0}.el-cascader__collapse-tags .el-tag{margin:2px 0}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-list{color:var(--el-cascader-menu-text-color);font-size:var(--el-font-size-base);margin:0;max-height:204px;padding:6px 0;text-align:center}.el-cascader__suggestion-item{align-items:center;cursor:pointer;display:flex;height:34px;justify-content:space-between;outline:none;padding:0 15px;text-align:left}.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{color:var(--el-cascader-color-empty);margin:10px 0}.el-cascader__search-input{background:transparent;border:none;box-sizing:border-box;color:var(--el-cascader-menu-text-color);flex:1;height:24px;margin-left:7px;min-width:60px;outline:none;padding:0}.el-cascader__search-input::-moz-placeholder{color:transparent}.el-cascader__search-input::placeholder{color:transparent}.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);font-weight:700;line-height:var(--el-font-size-base);padding:7px 15px;transition:var(--el-transition-all)}.el-check-tag:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--primary.is-checked{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary)}.el-check-tag.el-check-tag--primary.is-checked:hover{background-color:var(--el-color-primary-light-7)}.el-check-tag.el-check-tag--primary.is-checked.is-disabled{background-color:var(--el-color-primary-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-checked.is-disabled:hover{background-color:var(--el-color-primary-light-8)}.el-check-tag.el-check-tag--primary.is-disabled{background-color:var(--el-color-info-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-check-tag.el-check-tag--success.is-checked{background-color:var(--el-color-success-light-8);color:var(--el-color-success)}.el-check-tag.el-check-tag--success.is-checked:hover{background-color:var(--el-color-success-light-7)}.el-check-tag.el-check-tag--success.is-checked.is-disabled{background-color:var(--el-color-success-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-checked.is-disabled:hover{background-color:var(--el-color-success-light-8)}.el-check-tag.el-check-tag--success.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-disabled,.el-check-tag.el-check-tag--success.is-disabled:hover{background-color:var(--el-color-success-light-9)}.el-check-tag.el-check-tag--warning.is-checked{background-color:var(--el-color-warning-light-8);color:var(--el-color-warning)}.el-check-tag.el-check-tag--warning.is-checked:hover{background-color:var(--el-color-warning-light-7)}.el-check-tag.el-check-tag--warning.is-checked.is-disabled{background-color:var(--el-color-warning-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-checked.is-disabled:hover{background-color:var(--el-color-warning-light-8)}.el-check-tag.el-check-tag--warning.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-disabled,.el-check-tag.el-check-tag--warning.is-disabled:hover{background-color:var(--el-color-warning-light-9)}.el-check-tag.el-check-tag--danger.is-checked{background-color:var(--el-color-danger-light-8);color:var(--el-color-danger)}.el-check-tag.el-check-tag--danger.is-checked:hover{background-color:var(--el-color-danger-light-7)}.el-check-tag.el-check-tag--danger.is-checked.is-disabled{background-color:var(--el-color-danger-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-checked.is-disabled:hover{background-color:var(--el-color-danger-light-8)}.el-check-tag.el-check-tag--danger.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-disabled,.el-check-tag.el-check-tag--danger.is-disabled:hover{background-color:var(--el-color-danger-light-9)}.el-check-tag.el-check-tag--error.is-checked{background-color:var(--el-color-error-light-8);color:var(--el-color-error)}.el-check-tag.el-check-tag--error.is-checked:hover{background-color:var(--el-color-error-light-7)}.el-check-tag.el-check-tag--error.is-checked.is-disabled{background-color:var(--el-color-error-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-checked.is-disabled:hover{background-color:var(--el-color-error-light-8)}.el-check-tag.el-check-tag--error.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-disabled,.el-check-tag.el-check-tag--error.is-disabled:hover{background-color:var(--el-color-error-light-9)}.el-check-tag.el-check-tag--info.is-checked{background-color:var(--el-color-info-light-8);color:var(--el-color-info)}.el-check-tag.el-check-tag--info.is-checked:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--info.is-checked.is-disabled{background-color:var(--el-color-info-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-checked.is-disabled:hover{background-color:var(--el-color-info-light-8)}.el-check-tag.el-check-tag--info.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-disabled,.el-check-tag.el-check-tag--info.is-disabled:hover{background-color:var(--el-color-info-light-9)}.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);display:inline-block;position:relative}.el-checkbox-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);line-height:1;margin:0;outline:var(--el-border);padding:8px 15px;position:relative;text-align:center;transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.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{margin:0;opacity:0;outline:none;position:absolute;z-index:-1}.el-checkbox-button.is-checked .el-checkbox-button__inner{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);color:var(--el-checkbox-button-checked-text-color)}.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{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.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-bottom-left-radius:var(--el-border-radius-base);border-top-left-radius: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-bottom-right-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-checkbox-button--large .el-checkbox-button__inner{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-checkbox-button--large .el-checkbox-button__inner.is-round{padding:12px 19px}.el-checkbox-button--small .el-checkbox-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.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);align-items:center;color:var(--el-checkbox-text-color);cursor:pointer;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);height:var(--el-checkbox-height,32px);margin-right:30px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.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)}.el-checkbox.is-bordered.el-checkbox--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.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{border-radius:calc(var(--el-border-radius-base) - 1px);padding:0 11px 0 7px}.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:focus-visible+.el-checkbox__inner{border-radius:var(--el-checkbox-border-radius);outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px}.el-checkbox__input{cursor:pointer;display:inline-flex;outline:none;position:relative;white-space:nowrap}.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{border-color:var(--el-checkbox-disabled-icon-color);cursor:not-allowed;will-change:transform}.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{border-color:var(--el-checkbox-checked-icon-color);transform:translate(-45%,-60%) rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){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{background-color:var(--el-checkbox-checked-icon-color);content:"";display:block;height:2px;left:0;position:absolute;right:0;top:5px;transform:scale(.5)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{background-color:var(--el-checkbox-bg-color);border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;display:inline-block;height:var(--el-checkbox-input-height);position:relative;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46);width:var(--el-checkbox-input-width);z-index:var(--el-index-normal)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{border:1px solid transparent;border-left:0;border-top:0;box-sizing:content-box;content:"";height:7px;left:50%;position:absolute;top:50%;transform:translate(-45%,-60%) rotate(45deg) scaleY(0);transform-origin:center;transition:transform .15s ease-in .05s;width:3px}.el-checkbox__original{height:0;margin:0;opacity:0;outline:none;position:absolute;width:0;z-index:-1}.el-checkbox__label{display:inline-block;font-size:var(--el-checkbox-font-size);line-height:1;padding-left:8px}.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{height:14px;width: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{height:12px;width: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{height:6px;width:2px}.el-checkbox:last-of-type{margin-right:0}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{display:block;min-height:1px}.el-col-0{flex:0 0 0%;max-width:0}.el-col-0,.el-col-0.is-guttered{display:none}.el-col-offset-0{margin-left:0}.el-col-pull-0{position:relative;right:0}.el-col-push-0{left:0;position:relative}.el-col-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-1,.el-col-1.is-guttered{display:block}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{left:4.1666666667%;position:relative}.el-col-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-2,.el-col-2.is-guttered{display:block}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{left:8.3333333333%;position:relative}.el-col-3{flex:0 0 12.5%;max-width:12.5%}.el-col-3,.el-col-3.is-guttered{display:block}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{left:12.5%;position:relative}.el-col-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-4,.el-col-4.is-guttered{display:block}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{left:16.6666666667%;position:relative}.el-col-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-5,.el-col-5.is-guttered{display:block}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{left:20.8333333333%;position:relative}.el-col-6{flex:0 0 25%;max-width:25%}.el-col-6,.el-col-6.is-guttered{display:block}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{left:25%;position:relative}.el-col-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-7,.el-col-7.is-guttered{display:block}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{left:29.1666666667%;position:relative}.el-col-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-8,.el-col-8.is-guttered{display:block}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{left:33.3333333333%;position:relative}.el-col-9{flex:0 0 37.5%;max-width:37.5%}.el-col-9,.el-col-9.is-guttered{display:block}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{left:37.5%;position:relative}.el-col-10{flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-10,.el-col-10.is-guttered{display:block}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{left:41.6666666667%;position:relative}.el-col-11{flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-11,.el-col-11.is-guttered{display:block}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{left:45.8333333333%;position:relative}.el-col-12{flex:0 0 50%;max-width:50%}.el-col-12,.el-col-12.is-guttered{display:block}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{left:50%;position:relative}.el-col-13{flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-13,.el-col-13.is-guttered{display:block}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{left:54.1666666667%;position:relative}.el-col-14{flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-14,.el-col-14.is-guttered{display:block}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{left:58.3333333333%;position:relative}.el-col-15{flex:0 0 62.5%;max-width:62.5%}.el-col-15,.el-col-15.is-guttered{display:block}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{left:62.5%;position:relative}.el-col-16{flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-16,.el-col-16.is-guttered{display:block}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{left:66.6666666667%;position:relative}.el-col-17{flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-17,.el-col-17.is-guttered{display:block}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{left:70.8333333333%;position:relative}.el-col-18{flex:0 0 75%;max-width:75%}.el-col-18,.el-col-18.is-guttered{display:block}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{left:75%;position:relative}.el-col-19{flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-19,.el-col-19.is-guttered{display:block}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{left:79.1666666667%;position:relative}.el-col-20{flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-20,.el-col-20.is-guttered{display:block}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{left:83.3333333333%;position:relative}.el-col-21{flex:0 0 87.5%;max-width:87.5%}.el-col-21,.el-col-21.is-guttered{display:block}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{left:87.5%;position:relative}.el-col-22{flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-22,.el-col-22.is-guttered{display:block}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{left:91.6666666667%;position:relative}.el-col-23{flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-23,.el-col-23.is-guttered{display:block}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{left:95.8333333333%;position:relative}.el-col-24{flex:0 0 100%;max-width:100%}.el-col-24,.el-col-24.is-guttered{display:block}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{left:100%;position:relative}@media only screen and (max-width:767px){.el-col-xs-0{display:none;flex:0 0 0%;max-width:0}.el-col-xs-0.is-guttered{display:none}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{left:0;position:relative}.el-col-xs-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xs-1,.el-col-xs-1.is-guttered{display:block}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{left:4.1666666667%;position:relative}.el-col-xs-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xs-2,.el-col-xs-2.is-guttered{display:block}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{left:8.3333333333%;position:relative}.el-col-xs-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xs-3,.el-col-xs-3.is-guttered{display:block}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{left:12.5%;position:relative}.el-col-xs-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xs-4,.el-col-xs-4.is-guttered{display:block}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{left:16.6666666667%;position:relative}.el-col-xs-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xs-5,.el-col-xs-5.is-guttered{display:block}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{left:20.8333333333%;position:relative}.el-col-xs-6{flex:0 0 25%;max-width:25%}.el-col-xs-6,.el-col-xs-6.is-guttered{display:block}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{left:25%;position:relative}.el-col-xs-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xs-7,.el-col-xs-7.is-guttered{display:block}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{left:29.1666666667%;position:relative}.el-col-xs-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xs-8,.el-col-xs-8.is-guttered{display:block}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{left:33.3333333333%;position:relative}.el-col-xs-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xs-9,.el-col-xs-9.is-guttered{display:block}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{left:37.5%;position:relative}.el-col-xs-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xs-10.is-guttered{display:block}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{left:41.6666666667%;position:relative}.el-col-xs-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xs-11.is-guttered{display:block}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{left:45.8333333333%;position:relative}.el-col-xs-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xs-12.is-guttered{display:block}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{left:50%;position:relative}.el-col-xs-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xs-13.is-guttered{display:block}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{left:54.1666666667%;position:relative}.el-col-xs-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xs-14.is-guttered{display:block}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{left:58.3333333333%;position:relative}.el-col-xs-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xs-15.is-guttered{display:block}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{left:62.5%;position:relative}.el-col-xs-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xs-16.is-guttered{display:block}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{left:66.6666666667%;position:relative}.el-col-xs-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xs-17.is-guttered{display:block}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{left:70.8333333333%;position:relative}.el-col-xs-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xs-18.is-guttered{display:block}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{left:75%;position:relative}.el-col-xs-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xs-19.is-guttered{display:block}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{left:79.1666666667%;position:relative}.el-col-xs-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xs-20.is-guttered{display:block}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{left:83.3333333333%;position:relative}.el-col-xs-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xs-21.is-guttered{display:block}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{left:87.5%;position:relative}.el-col-xs-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xs-22.is-guttered{display:block}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{left:91.6666666667%;position:relative}.el-col-xs-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xs-23.is-guttered{display:block}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{left:95.8333333333%;position:relative}.el-col-xs-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xs-24.is-guttered{display:block}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{left:100%;position:relative}}@media only screen and (min-width:768px){.el-col-sm-0{display:none;flex:0 0 0%;max-width:0}.el-col-sm-0.is-guttered{display:none}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{left:0;position:relative}.el-col-sm-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-sm-1,.el-col-sm-1.is-guttered{display:block}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{left:4.1666666667%;position:relative}.el-col-sm-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-sm-2,.el-col-sm-2.is-guttered{display:block}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{left:8.3333333333%;position:relative}.el-col-sm-3{flex:0 0 12.5%;max-width:12.5%}.el-col-sm-3,.el-col-sm-3.is-guttered{display:block}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{left:12.5%;position:relative}.el-col-sm-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-sm-4,.el-col-sm-4.is-guttered{display:block}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{left:16.6666666667%;position:relative}.el-col-sm-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-sm-5,.el-col-sm-5.is-guttered{display:block}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{left:20.8333333333%;position:relative}.el-col-sm-6{flex:0 0 25%;max-width:25%}.el-col-sm-6,.el-col-sm-6.is-guttered{display:block}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{left:25%;position:relative}.el-col-sm-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-sm-7,.el-col-sm-7.is-guttered{display:block}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{left:29.1666666667%;position:relative}.el-col-sm-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-sm-8,.el-col-sm-8.is-guttered{display:block}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{left:33.3333333333%;position:relative}.el-col-sm-9{flex:0 0 37.5%;max-width:37.5%}.el-col-sm-9,.el-col-sm-9.is-guttered{display:block}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{left:37.5%;position:relative}.el-col-sm-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-sm-10.is-guttered{display:block}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{left:41.6666666667%;position:relative}.el-col-sm-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-sm-11.is-guttered{display:block}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{left:45.8333333333%;position:relative}.el-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.el-col-sm-12.is-guttered{display:block}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{left:50%;position:relative}.el-col-sm-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-sm-13.is-guttered{display:block}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{left:54.1666666667%;position:relative}.el-col-sm-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-sm-14.is-guttered{display:block}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{left:58.3333333333%;position:relative}.el-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-sm-15.is-guttered{display:block}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{left:62.5%;position:relative}.el-col-sm-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-sm-16.is-guttered{display:block}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{left:66.6666666667%;position:relative}.el-col-sm-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-sm-17.is-guttered{display:block}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{left:70.8333333333%;position:relative}.el-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.el-col-sm-18.is-guttered{display:block}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{left:75%;position:relative}.el-col-sm-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-sm-19.is-guttered{display:block}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{left:79.1666666667%;position:relative}.el-col-sm-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-sm-20.is-guttered{display:block}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{left:83.3333333333%;position:relative}.el-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-sm-21.is-guttered{display:block}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{left:87.5%;position:relative}.el-col-sm-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-sm-22.is-guttered{display:block}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{left:91.6666666667%;position:relative}.el-col-sm-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-sm-23.is-guttered{display:block}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{left:95.8333333333%;position:relative}.el-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.el-col-sm-24.is-guttered{display:block}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{left:100%;position:relative}}@media only screen and (min-width:992px){.el-col-md-0{display:none;flex:0 0 0%;max-width:0}.el-col-md-0.is-guttered{display:none}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{left:0;position:relative}.el-col-md-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-md-1,.el-col-md-1.is-guttered{display:block}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{left:4.1666666667%;position:relative}.el-col-md-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-md-2,.el-col-md-2.is-guttered{display:block}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{left:8.3333333333%;position:relative}.el-col-md-3{flex:0 0 12.5%;max-width:12.5%}.el-col-md-3,.el-col-md-3.is-guttered{display:block}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{left:12.5%;position:relative}.el-col-md-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-md-4,.el-col-md-4.is-guttered{display:block}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{left:16.6666666667%;position:relative}.el-col-md-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-md-5,.el-col-md-5.is-guttered{display:block}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{left:20.8333333333%;position:relative}.el-col-md-6{flex:0 0 25%;max-width:25%}.el-col-md-6,.el-col-md-6.is-guttered{display:block}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{left:25%;position:relative}.el-col-md-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-md-7,.el-col-md-7.is-guttered{display:block}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{left:29.1666666667%;position:relative}.el-col-md-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-md-8,.el-col-md-8.is-guttered{display:block}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{left:33.3333333333%;position:relative}.el-col-md-9{flex:0 0 37.5%;max-width:37.5%}.el-col-md-9,.el-col-md-9.is-guttered{display:block}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{left:37.5%;position:relative}.el-col-md-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-md-10.is-guttered{display:block}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{left:41.6666666667%;position:relative}.el-col-md-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-md-11.is-guttered{display:block}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{left:45.8333333333%;position:relative}.el-col-md-12{display:block;flex:0 0 50%;max-width:50%}.el-col-md-12.is-guttered{display:block}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{left:50%;position:relative}.el-col-md-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-md-13.is-guttered{display:block}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{left:54.1666666667%;position:relative}.el-col-md-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-md-14.is-guttered{display:block}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{left:58.3333333333%;position:relative}.el-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-md-15.is-guttered{display:block}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{left:62.5%;position:relative}.el-col-md-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-md-16.is-guttered{display:block}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{left:66.6666666667%;position:relative}.el-col-md-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-md-17.is-guttered{display:block}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{left:70.8333333333%;position:relative}.el-col-md-18{display:block;flex:0 0 75%;max-width:75%}.el-col-md-18.is-guttered{display:block}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{left:75%;position:relative}.el-col-md-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-md-19.is-guttered{display:block}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{left:79.1666666667%;position:relative}.el-col-md-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-md-20.is-guttered{display:block}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{left:83.3333333333%;position:relative}.el-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-md-21.is-guttered{display:block}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{left:87.5%;position:relative}.el-col-md-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-md-22.is-guttered{display:block}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{left:91.6666666667%;position:relative}.el-col-md-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-md-23.is-guttered{display:block}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{left:95.8333333333%;position:relative}.el-col-md-24{display:block;flex:0 0 100%;max-width:100%}.el-col-md-24.is-guttered{display:block}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{left:100%;position:relative}}@media only screen and (min-width:1200px){.el-col-lg-0{display:none;flex:0 0 0%;max-width:0}.el-col-lg-0.is-guttered{display:none}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{left:0;position:relative}.el-col-lg-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-lg-1,.el-col-lg-1.is-guttered{display:block}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{left:4.1666666667%;position:relative}.el-col-lg-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-lg-2,.el-col-lg-2.is-guttered{display:block}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{left:8.3333333333%;position:relative}.el-col-lg-3{flex:0 0 12.5%;max-width:12.5%}.el-col-lg-3,.el-col-lg-3.is-guttered{display:block}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{left:12.5%;position:relative}.el-col-lg-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-lg-4,.el-col-lg-4.is-guttered{display:block}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{left:16.6666666667%;position:relative}.el-col-lg-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-lg-5,.el-col-lg-5.is-guttered{display:block}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{left:20.8333333333%;position:relative}.el-col-lg-6{flex:0 0 25%;max-width:25%}.el-col-lg-6,.el-col-lg-6.is-guttered{display:block}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{left:25%;position:relative}.el-col-lg-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-lg-7,.el-col-lg-7.is-guttered{display:block}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{left:29.1666666667%;position:relative}.el-col-lg-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-lg-8,.el-col-lg-8.is-guttered{display:block}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{left:33.3333333333%;position:relative}.el-col-lg-9{flex:0 0 37.5%;max-width:37.5%}.el-col-lg-9,.el-col-lg-9.is-guttered{display:block}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{left:37.5%;position:relative}.el-col-lg-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-lg-10.is-guttered{display:block}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{left:41.6666666667%;position:relative}.el-col-lg-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-lg-11.is-guttered{display:block}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{left:45.8333333333%;position:relative}.el-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.el-col-lg-12.is-guttered{display:block}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{left:50%;position:relative}.el-col-lg-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-lg-13.is-guttered{display:block}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{left:54.1666666667%;position:relative}.el-col-lg-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-lg-14.is-guttered{display:block}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{left:58.3333333333%;position:relative}.el-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-lg-15.is-guttered{display:block}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{left:62.5%;position:relative}.el-col-lg-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-lg-16.is-guttered{display:block}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{left:66.6666666667%;position:relative}.el-col-lg-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-lg-17.is-guttered{display:block}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{left:70.8333333333%;position:relative}.el-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.el-col-lg-18.is-guttered{display:block}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{left:75%;position:relative}.el-col-lg-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-lg-19.is-guttered{display:block}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{left:79.1666666667%;position:relative}.el-col-lg-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-lg-20.is-guttered{display:block}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{left:83.3333333333%;position:relative}.el-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-lg-21.is-guttered{display:block}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{left:87.5%;position:relative}.el-col-lg-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-lg-22.is-guttered{display:block}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{left:91.6666666667%;position:relative}.el-col-lg-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-lg-23.is-guttered{display:block}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{left:95.8333333333%;position:relative}.el-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.el-col-lg-24.is-guttered{display:block}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{left:100%;position:relative}}@media only screen and (min-width:1920px){.el-col-xl-0{display:none;flex:0 0 0%;max-width:0}.el-col-xl-0.is-guttered{display:none}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{left:0;position:relative}.el-col-xl-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xl-1,.el-col-xl-1.is-guttered{display:block}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{left:4.1666666667%;position:relative}.el-col-xl-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xl-2,.el-col-xl-2.is-guttered{display:block}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{left:8.3333333333%;position:relative}.el-col-xl-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xl-3,.el-col-xl-3.is-guttered{display:block}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{left:12.5%;position:relative}.el-col-xl-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xl-4,.el-col-xl-4.is-guttered{display:block}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{left:16.6666666667%;position:relative}.el-col-xl-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xl-5,.el-col-xl-5.is-guttered{display:block}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{left:20.8333333333%;position:relative}.el-col-xl-6{flex:0 0 25%;max-width:25%}.el-col-xl-6,.el-col-xl-6.is-guttered{display:block}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{left:25%;position:relative}.el-col-xl-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xl-7,.el-col-xl-7.is-guttered{display:block}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{left:29.1666666667%;position:relative}.el-col-xl-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xl-8,.el-col-xl-8.is-guttered{display:block}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{left:33.3333333333%;position:relative}.el-col-xl-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xl-9,.el-col-xl-9.is-guttered{display:block}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{left:37.5%;position:relative}.el-col-xl-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xl-10.is-guttered{display:block}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{left:41.6666666667%;position:relative}.el-col-xl-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xl-11.is-guttered{display:block}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{left:45.8333333333%;position:relative}.el-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xl-12.is-guttered{display:block}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{left:50%;position:relative}.el-col-xl-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xl-13.is-guttered{display:block}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{left:54.1666666667%;position:relative}.el-col-xl-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xl-14.is-guttered{display:block}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{left:58.3333333333%;position:relative}.el-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xl-15.is-guttered{display:block}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{left:62.5%;position:relative}.el-col-xl-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xl-16.is-guttered{display:block}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{left:66.6666666667%;position:relative}.el-col-xl-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xl-17.is-guttered{display:block}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{left:70.8333333333%;position:relative}.el-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xl-18.is-guttered{display:block}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{left:75%;position:relative}.el-col-xl-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xl-19.is-guttered{display:block}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{left:79.1666666667%;position:relative}.el-col-xl-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xl-20.is-guttered{display:block}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{left:83.3333333333%;position:relative}.el-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xl-21.is-guttered{display:block}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{left:87.5%;position:relative}.el-col-xl-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xl-22.is-guttered{display:block}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{left:91.6666666667%;position:relative}.el-col-xl-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xl-23.is-guttered{display:block}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{left:95.8333333333%;position:relative}.el-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xl-24.is-guttered{display:block}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{left:100%;position:relative}}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{align-items:center;background-color:var(--el-collapse-header-bg-color);border:none;border-bottom:1px solid var(--el-collapse-border-color);box-sizing:border-box;color:var(--el-collapse-header-text-color);cursor:pointer;display:flex;font-size:var(--el-collapse-header-font-size);font-weight:500;line-height:var(--el-collapse-header-height);min-height:var(--el-collapse-header-height);outline:none;padding:0;transition:border-bottom-color var(--el-transition-duration);width:100%}.el-collapse-item__arrow{font-weight:300;transition:transform var(--el-transition-duration)}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__title{flex:auto;text-align:left}.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{background-color:var(--el-collapse-content-bg-color);border-bottom:1px solid var(--el-collapse-border-color);box-sizing:border-box;overflow:hidden;will-change:height}.el-collapse-item__content{color:var(--el-collapse-content-text-color);font-size:var(--el-collapse-content-font-size);line-height:1.7692307692;padding-bottom:25px}.el-collapse-item:last-child{margin-bottom:-1px}.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-bottom:1px solid var(--el-collapse-border-color);border-top:1px solid var(--el-collapse-border-color)}.el-collapse-icon-position-left .el-collapse-item__header{gap:8px}.el-collapse-icon-position-left .el-collapse-item__title{order:1}.el-collapse-icon-position-right .el-collapse-item__header{padding-right:8px}.el-color-picker-panel{--el-colorpicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-colorpicker-bg-color);background:var(--el-colorpicker-bg-color);box-sizing:content-box;padding:12px;width:300px}.el-color-picker-panel.is-border{border:1px solid var(--el-border-color-lighter);border-radius:4px}.el-color-picker-panel__wrapper{margin-bottom:6px}.el-color-picker-panel__footer{display:flex;justify-content:space-between;margin-top:12px;text-align:right}.el-color-picker-panel__footer .el-input{color:#000;font-size:12px;line-height:26px;width:160px}.el-color-picker-panel.is-disabled .el-color-hue-slider,.el-color-picker-panel.is-disabled .el-color-svpanel{cursor:not-allowed;opacity:.3}.el-color-picker-panel.is-disabled .el-color-hue-slider__thumb{cursor:not-allowed}.el-color-picker-panel.is-disabled .el-color-alpha-slider,.el-color-picker-panel.is-disabled .el-color-predefine .el-color-predefine__color-selector{cursor:not-allowed;opacity:.3}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap;gap:8px}.el-color-predefine__color-selector{border:none;border-radius:var(--el-border-radius-base);cursor:pointer;height:20px;outline:none;overflow:hidden;padding:0;width:20px}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-predefine__color-selector>div{display:flex;height:100%}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{background-color:red;box-sizing:border-box;float:right;height:12px;padding:0 2px;position:relative;width:280px}.el-color-hue-slider__bar{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);height:100%;position:relative}.el-color-hue-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px #0009;box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-hue-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-hue-slider.is-vertical{height:180px;padding:2px 0;width:12px}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-svpanel{background-image:linear-gradient(0deg,#000,#0000),linear-gradient(90deg,#fff,#fff0);height:180px;position:relative;width:280px}.el-color-svpanel__cursor{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;cursor:pointer;height:4px;position:absolute;transform:translate(-2px,-2px);width:4px}.el-color-svpanel__cursor:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-alpha-slider{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px;box-sizing:border-box;height:12px;position:relative;width:280px}.el-color-alpha-slider.is-disabled .el-color-alpha-slider__thumb{cursor:not-allowed}.el-color-alpha-slider__bar{background:linear-gradient(to right,rgba(255,255,255,0) 0,var(--el-bg-color) 100%);height:100%;position:relative}.el-color-alpha-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px #0009;box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-alpha-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-alpha-slider.is-vertical{height:180px;width:20px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(180deg,#fff0 0,#fff)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-picker-panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker-panel{--el-color-picker-alpha-bg-a:#333333}.el-color-picker{display:inline-block;height:32px;line-height:normal;outline:none;position:relative;width:32px}.el-color-picker:hover:not(.is-disabled,.is-focused) .el-color-picker__trigger{border-color:var(--el-border-color-hover)}.el-color-picker:focus-visible:not(.is-disabled) .el-color-picker__trigger{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-picker.is-focused .el-color-picker__trigger{border-color:var(--el-color-primary)}.el-color-picker.is-disabled .el-color-picker__trigger{background-color:var(--el-fill-color-light);cursor:not-allowed}.el-color-picker.is-disabled .el-color-picker__color{opacity:.3}.el-color-picker--large{height:40px;width:40px}.el-color-picker--small{height:24px;width:24px}.el-color-picker--small .el-color-picker__empty,.el-color-picker--small .el-color-picker__icon{transform:scale(.8)}.el-color-picker__trigger{align-items:center;border:1px solid var(--el-border-color);border-radius:4px;cursor:pointer;display:inline-flex;font-size:0;justify-content:center;padding:4px}.el-color-picker__color,.el-color-picker__trigger{box-sizing:border-box;height:100%;position:relative;width:100%}.el-color-picker__color{border:1px solid var(--el-text-color-secondary);border-radius:var(--el-border-radius-small);display:block;text-align:center}.el-color-picker__color.is-alpha{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px}.el-color-picker__color-inner{align-items:center;display:inline-flex;height:100%;justify-content:center;width:100%}.el-color-picker .el-color-picker__empty{color:var(--el-text-color-secondary);font-size:12px}.el-color-picker .el-color-picker__icon{align-items:center;color:#fff;display:inline-flex;font-size:12px;justify-content:center}.el-color-picker__panel{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-color-picker,.el-color-picker__panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker,.dark .el-color-picker__panel{--el-color-picker-alpha-bg-a:#333333}.el-container{box-sizing:border-box;display:flex;flex:1;flex-basis:auto;flex-direction:row;min-width:0}.el-container.is-vertical{flex-direction:column}.el-date-table{font-size:12px;-webkit-user-select:none;-moz-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{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.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{box-sizing:border-box;cursor:pointer;height:30px;padding:4px 0;position:relative;text-align:center;width:32px}.el-date-table td .el-date-table-cell{box-sizing:border-box;height:30px;padding:3px 0}.el-date-table td .el-date-table-cell .el-date-table-cell__text{border-radius:50%;display:block;height:24px;left:50%;line-height:24px;margin:0 auto;position:absolute;transform:translate(-50%);width:24px}.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{background-color:var(--el-datepicker-active-color);color:#fff}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.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{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table td.end-date .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed;opacity:1}.el-date-table td.selected .el-date-table-cell{border-radius:15px;margin-left:5px;margin-right:5px}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);border-radius:15px;color:#fff}.el-date-table td.week{color:var(--el-datepicker-off-text-color);cursor:default;font-size:80%}.el-date-table td:focus{outline:none}.el-date-table th{border-bottom:1px solid var(--el-border-color-lighter);color:var(--el-datepicker-header-text-color);font-weight:400;padding:5px}.el-date-table th.el-date-table__week-header{padding:0;width:24px}.el-month-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-month-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-month-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-month-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.end-date .el-date-table-cell__text,.el-month-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-month-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-month-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-month-table td .el-date-table-cell__text{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;transform:translate(-50%);width:54px}.el-month-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.end-date .el-date-table-cell,.el-month-table td.start-date .el-date-table-cell{color:#fff}.el-month-table td.end-date .el-date-table-cell__text,.el-month-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-month-table td.start-date .el-date-table-cell{border-bottom-left-radius:24px;border-top-left-radius:24px;margin-left:3px}.el-month-table td.end-date .el-date-table-cell{border-bottom-right-radius:24px;border-top-right-radius:24px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell{border-radius:24px;margin-left:3px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-month-table td:focus-visible{outline:none}.el-month-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-year-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-year-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-year-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-year-table td.today.end-date .el-date-table-cell__text,.el-year-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-year-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-year-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-year-table td .el-date-table-cell__text{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;transform:translate(-50%);width:60px}.el-year-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-year-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-year-table td.end-date .el-date-table-cell,.el-year-table td.start-date .el-date-table-cell{color:#fff}.el-year-table td.end-date .el-date-table-cell__text,.el-year-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-year-table td.start-date .el-date-table-cell{border-bottom-left-radius:24px;border-top-left-radius:24px}.el-year-table td.end-date .el-date-table-cell{border-bottom-right-radius:24px;border-top-right-radius:24px}.el-year-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-year-table td:focus-visible{outline:none}.el-year-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{display:inline-block;max-height:192px;overflow:auto;position:relative;vertical-align:top;width:50%}.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;overflow:hidden;text-align:center}.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:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;height:30px;left:0;line-height:30px;position:absolute;text-align:center;width:100%;z-index:var(--el-index-normal)}.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,.el-time-spinner__list{padding:0;text-align:center}.el-time-spinner__list{list-style:none;margin:0}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;height:80px;width:100%}.el-time-spinner__item{color:var(--el-text-color-regular);font-size:12px;height:32px;line-height:32px}.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{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper,.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-picker__popper.el-popper[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);--el-input-width:100%;position:relative;text-align:left;vertical-align:middle}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{height:var(--el-input-height,var(--el-component-size));width:var(--el-date-editor-width)}.el-date-editor--monthrange{--el-date-editor-width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .clear-icon,.el-date-editor .close-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__icon{color:var(--el-text-color-placeholder);float:left;font-size:14px;height:inherit}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-text-color-regular);display:inline-block;font-size:var(--el-font-size-base);height:30px;line-height:30px;margin:0;outline:none;padding:0;text-align:center;width:39%}.el-date-editor .el-range-input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{align-items:center;color:var(--el-text-color-primary);display:inline-flex;flex:1;font-size:14px;height:100%;justify-content:center;margin:0;overflow-wrap:break-word;padding:0 5px}.el-date-editor .el-range__close-icon{color:var(--el-text-color-placeholder);cursor:pointer;font-size:14px;height:inherit;width:unset}.el-date-editor .el-range__close-icon:hover{color:var(--el-input-clear-hover-color)}.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__wrapper{align-items:center;display:inline-flex;padding:0 10px;vertical-align:middle}.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:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{font-size:14px;line-height:40px}.el-range-editor--large .el-range-input{font-size:14px;height:38px;line-height:38px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{font-size:12px;line-height:24px}.el-range-editor--small .el-range-input{font-size:12px;height:22px;line-height:22px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled,.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::-moz-placeholder{color:var(--el-text-color-placeholder)}.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{background:var(--el-datepicker-bg-color);border-radius:var(--el-popper-border-radius,var(--el-border-radius-base));color:var(--el-text-color-regular);line-height:30px}.el-picker-panel .el-time-panel{background-color:var(--el-datepicker-bg-color);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light);margin:5px 0}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{clear:both;content:"";display:table}.el-picker-panel__content{margin:15px;position:relative}.el-picker-panel__footer{background-color:var(--el-datepicker-bg-color);border-top:1px solid var(--el-datepicker-inner-border-color);font-size:0;padding:4px 12px;position:relative;text-align:right}.el-picker-panel__shortcut{background-color:transparent;border:0;color:var(--el-datepicker-text-color);cursor:pointer;display:block;font-size:14px;line-height:28px;outline:none;padding-left:12px;text-align:left;width:100%}.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{background-color:transparent;border:1px solid var(--el-fill-color-darker);border-radius:2px;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:24px;outline:none;padding:0 20px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{background:transparent;border:0;color:var(--el-datepicker-icon-color);cursor:pointer;font-size:12px;line-height:1;margin-top:8px;outline:none;padding:1px 6px}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn:focus-visible{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.is-disabled .el-icon{cursor:inherit}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel.is-disabled .el-picker-panel__prev-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__prev-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__prev-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__next-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__next-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__next-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__icon-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__icon-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__icon-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__shortcut{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__shortcut:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__shortcut .el-icon{cursor:inherit}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);bottom:0;box-sizing:border-box;overflow:auto;padding-top:6px;position:absolute;top:0;width:110px}.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-datepicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-datepicker-bg-color);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{display:table-cell;padding:0 5px;position:relative}.el-date-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-picker__header{padding:12px 12px 0;text-align:center}.el-date-picker__header--bordered{border-bottom:1px solid var(--el-border-color-lighter);margin-bottom:0;padding-bottom:12px}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{color:var(--el-text-color-regular);cursor:pointer;font-size:16px;font-weight:500;line-height:22px;padding:0 5px;text-align:center}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.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{cursor:pointer;float:left;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-picker.is-disabled .el-date-picker__header-label{color:var(--el-text-color-disabled)}.el-date-picker.is-disabled .el-date-picker__header-label:hover{cursor:not-allowed}.el-date-picker.is-disabled .el-date-picker__header-label .el-icon{cursor:inherit}.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-datepicker-bg-color:var(--el-bg-color-overlay);width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.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{height:28px;position:relative;text-align:center}.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__header-label{color:var(--el-text-color-regular);cursor:pointer;font-size:16px;font-weight:500;line-height:22px;padding:0 5px;text-align:center}.el-date-range-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-range-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-range-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-range-picker__content{box-sizing:border-box;display:table-cell;margin:0;padding:16px;width:50%}.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{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-range-picker__time-header>.el-icon-arrow-right{color:var(--el-datepicker-icon-color);display:table-cell;font-size:20px;vertical-align:middle}.el-date-range-picker__time-picker-wrap{display:table-cell;padding:0 5px;position:relative}.el-date-range-picker__time-picker-wrap .el-picker-panel{background:#fff;position:absolute;right:0;top:13px;z-index:1}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-date-range-picker.is-disabled .el-date-range-picker__header-label{color:var(--el-text-color-disabled)}.el-date-range-picker.is-disabled .el-date-range-picker__header-label:hover{cursor:not-allowed}.el-date-range-picker.is-disabled .el-date-range-picker__header-label .el-icon{cursor:inherit}.el-time-range-picker{overflow:visible;width:354px}.el-time-range-picker__content{padding:10px;position:relative;text-align:center;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;display:inline-block;margin:0;padding:4px 7px 7px;width:50%}.el-time-range-picker__header{font-size:14px;margin-bottom:5px;text-align:center}.el-time-range-picker__body{border:1px solid var(--el-datepicker-border-color);border-radius:2px}.el-time-panel{border-radius:2px;box-sizing:content-box;left:0;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:180px;z-index:var(--el-index-top)}.el-time-panel__content{font-size:0;overflow:hidden;position:relative}.el-time-panel__content:after,.el-time-panel__content:before{box-sizing:border-box;content:"";height:32px;left:0;margin-top:-16px;padding-top:6px;position:absolute;right:0;text-align:left;top:50%;z-index:-1}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{border-bottom:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);margin-left:12%;margin-right:12%;padding-left:50%}.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));box-sizing:border-box;height:36px;line-height:25px;padding:4px;text-align:right}.el-time-panel__btn{background-color:transparent;border:none;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:28px;margin:0 5px;outline:none;padding:0 5px}.el-time-panel__btn.confirm{color:var(--el-timepicker-active-color,var(--el-color-primary));font-weight:800}.el-picker-panel.is-border{border:1px solid var(--el-border-color-lighter)}.el-picker-panel.is-border .el-picker-panel__body-wrapper{position:relative}.el-picker-panel.is-border.el-picker-panel [slot=sidebar],.el-picker-panel.is-border.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;height:100%;overflow:auto;padding-top:6px;position:absolute;top:0;width:110px}.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;color:var(--el-text-color-primary);font-size:var(--el-font-size-base)}.el-descriptions__header{align-items:center;display:flex;justify-content:space-between;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;font-size:14px;line-height:23px;text-align:left}.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{background:var(--el-descriptions-item-bordered-label-background);color:var(--el-text-color-regular);font-weight:700}.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{background:var(--el-popup-modal-bg-color);height:100%;left:0;opacity:var(--el-popup-modal-opacity);position:fixed;top:0;width:100%}.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:16px;--el-dialog-border-radius:var(--el-border-radius-base);background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;margin:var(--el-dialog-margin-top,15vh) auto 50px;overflow-wrap:break-word;padding:var(--el-dialog-padding-primary);position:relative;width:var(--el-dialog-width,50%)}.el-dialog:focus{outline:none!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;border-radius:0;height:100%;margin-bottom:0;overflow:auto}.el-dialog__wrapper{bottom:0;left:0;margin:0;overflow:auto;position:fixed;right:0;top:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-dialog__header{padding-bottom:var(--el-dialog-padding-primary)}.el-dialog__header.show-close{padding-right:calc(var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px))}.el-dialog__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:48px;outline:none;padding:0;position:absolute;right:0;top:0;width:48px}.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{color:var(--el-text-color-primary);font-size:var(--el-dialog-title-font-size);line-height:var(--el-dialog-font-line-height)}.el-dialog__body{color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{box-sizing:border-box;padding-top:var(--el-dialog-padding-primary);text-align:right}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-modal-dialog.is-penetrable{pointer-events:none}.el-modal-dialog.is-penetrable .el-dialog{pointer-events:auto}.el-overlay-dialog{bottom:0;left:0;overflow:auto;position:fixed;right:0;top:0}.el-overlay-dialog.is-closing .el-dialog{pointer-events:none}.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%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes dialog-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,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{border-top:1px var(--el-border-color) var(--el-border-style);display:block;height:1px;margin:24px 0;width:100%}.el-divider--vertical{border-left:1px var(--el-border-color) var(--el-border-style);display:inline-block;height:1em;margin:0 8px;position:relative;vertical-align:middle;width:1px}.el-divider__text{background-color:var(--el-bg-color);color:var(--el-text-color-primary);font-size:14px;font-weight:500;padding:0 20px;position:absolute}.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-overlay.is-drawer{overflow:hidden}.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-dragger-size:8px;background-color:var(--el-drawer-bg-color);box-shadow:var(--el-box-shadow-dark);box-sizing:border-box;display:flex;flex-direction:column;position:absolute;transition:all var(--el-transition-duration)}.el-drawer .btt,.el-drawer .ltr,.el-drawer .rtl,.el-drawer .ttb{transform:translate(0)}.el-drawer__sr-focus:focus{outline:none!important}.el-drawer__header{align-items:center;color:var(--el-text-color-primary);display:flex;margin-bottom:32px;overflow:hidden;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{flex:1;font-size:16px;line-height:inherit;margin:0}.el-drawer__footer{overflow:hidden;padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{background-color:transparent;border:none;color:inherit;cursor:pointer;display:inline-flex;font-size:var(--el-font-size-extra-large);outline:none}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{flex:1;overflow:auto;padding:var(--el-drawer-padding-primary)}.el-drawer__body>*{box-sizing:border-box}.el-drawer.is-dragging{transition:none}.el-drawer__dragger{-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-drawer__dragger,.el-drawer__dragger:before{background-color:transparent;position:absolute;transition:all .2s}.el-drawer__dragger:before{content:""}.el-drawer__dragger:hover:before{background-color:var(--el-color-primary)}.el-drawer.ltr,.el-drawer.rtl{bottom:0;height:100%;top:0}.el-drawer.ltr>.el-drawer__dragger,.el-drawer.rtl>.el-drawer__dragger{bottom:0;cursor:ew-resize;height:100%;top:0;width:var(--el-drawer-dragger-size)}.el-drawer.ltr>.el-drawer__dragger:before,.el-drawer.rtl>.el-drawer__dragger:before{bottom:0;top:0;width:3px}.el-drawer.btt,.el-drawer.ttb{left:0;right:0;width:100%}.el-drawer.btt>.el-drawer__dragger,.el-drawer.ttb>.el-drawer__dragger{cursor:ns-resize;height:var(--el-drawer-dragger-size);left:0;right:0;width:100%}.el-drawer.btt>.el-drawer__dragger:before,.el-drawer.ttb>.el-drawer__dragger:before{height:3px;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.ltr>.el-drawer__dragger{right:0}.el-drawer.ltr>.el-drawer__dragger:before{right:-2px}.el-drawer.rtl{right:0}.el-drawer.rtl>.el-drawer__dragger{left:0}.el-drawer.rtl>.el-drawer__dragger:before{left:-2px}.el-drawer.ttb{top:0}.el-drawer.ttb>.el-drawer__dragger{bottom:0}.el-drawer.ttb>.el-drawer__dragger:before{bottom:-2px}.el-drawer.btt{bottom:0}.el-drawer.btt>.el-drawer__dragger{top:0}.el-drawer.btt>.el-drawer__dragger:before{top:-2px}.el-modal-drawer.is-penetrable{pointer-events:none}.el-modal-drawer.is-penetrable .el-drawer{pointer-events:auto}.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{background-color:transparent!important}.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);--el-dropdown-menu-index:10;color:var(--el-text-color-regular);display:inline-flex;font-size:var(--el-font-size-base);line-height:1;position:relative;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);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper,.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[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:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:0}.el-dropdown .el-dropdown__caret-button{align-items:center;border-left:none;display:inline-flex;justify-content:center;padding-left:0;padding-right:0;width:32px}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{background:var(--el-overlay-color-lighter);bottom:-1px;content:"";display:block;left:0;position:absolute;top:-1px;width:1px}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;left:0;list-style:none;margin:0;padding:5px 0;position:relative;top:0;z-index:var(--el-dropdown-menu-index)}.el-dropdown-menu__item{align-items:center;color:var(--el-text-color-regular);cursor:pointer;display:flex;font-size:var(--el-font-size-base);line-height:22px;list-style:none;margin:0;outline:none;padding:5px 16px;white-space:nowrap}.el-dropdown-menu__item:not(.is-disabled):focus,.el-dropdown-menu__item:not(.is-disabled):hover{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{border-top:1px solid var(--el-border-color-lighter);margin:6px 0}.el-dropdown-menu__item.is-disabled{color:var(--el-text-color-disabled);cursor:not-allowed}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{font-size:14px;line-height:22px;padding:7px 20px}.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{font-size:12px;line-height:20px;padding:2px 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;align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:var(--el-empty-padding);text-align:center}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{height:100%;-o-object-fit:contain;object-fit:contain;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:top;width:100%}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:100%;vertical-align:top;width:100%}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);margin:0}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.el-footer{--el-footer-padding:0 20px;--el-footer-height:60px;box-sizing:border-box;flex-shrink:0;height:var(--el-footer-height);padding:var(--el-footer-padding)}.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{height:40px;line-height:40px}.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{height:32px;line-height:32px}.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{height:24px;line-height:24px}.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-left .el-form-item__label{justify-content:flex-start;text-align:left}.el-form-item--label-right .el-form-item__label{justify-content:flex-end;text-align:right}.el-form-item--label-top{display:block}.el-form-item--label-top .el-form-item__label{display:block;height:auto;line-height:22px;margin-bottom:8px;padding-right:0;text-align:left;width:-moz-fit-content;width:fit-content}.el-form-item__label-wrap{display:flex}.el-form-item__label{align-items:flex-start;box-sizing:border-box;color:var(--el-text-color-regular);display:inline-flex;flex:0 0 auto;font-size:var(--el-form-label-font-size);height:32px;line-height:32px;padding:0 12px 0 0}.el-form-item__content{align-items:center;display:flex;flex:1;flex-wrap:wrap;font-size:var(--font-size);line-height:32px;min-width:0;position:relative}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;left:0;line-height:1;padding-top:2px;position:absolute;top:100%}.el-form-item__error--inline{display:inline-block;left:auto;margin-left:10px;position:relative;top:auto}.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before{color:var(--el-color-danger);content:"*";margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after{color:var(--el-color-danger);content:"*";margin-left:4px}.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-input__wrapper,.el-form-item.is-error .el-form-item__content .el-input__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-input__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-input__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-select__wrapper,.el-form-item.is-error .el-form-item__content .el-select__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-select__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-select__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-textarea__inner,.el-form-item.is-error .el-form-item__content .el-textarea__inner.is-focus,.el-form-item.is-error .el-form-item__content .el-textarea__inner:focus,.el-form-item.is-error .el-form-item__content .el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-form-item__content .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-form-item__content .el-input-group__prepend .el-input__wrapper{box-shadow:inset 0 0 0 1px transparent}.el-form-item.is-error .el-form-item__content .el-input-group__append .el-input__validateIcon,.el-form-item.is-error .el-form-item__content .el-input-group__prepend .el-input__validateIcon{display:none}.el-form-item.is-error .el-form-item__content .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}.el-form{--el-form-label-font-size:var(--el-font-size-base);--el-form-inline-content-width:220px}.el-form--inline .el-form-item{display:inline-flex;margin-right:32px;vertical-align:middle}.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-header{--el-header-padding:0 20px;--el-header-height:60px;box-sizing:border-box;flex-shrink:0;height:var(--el-header-height);padding:var(--el-header-padding)}.el-image-viewer__wrapper{bottom:0;left:0;position:fixed;right:0;top:0}.el-image-viewer__wrapper:focus{outline:none!important}.el-image-viewer__btn{align-items:center;border-radius:50%;box-sizing:border-box;cursor:pointer;display:flex;justify-content:center;opacity:.8;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1}.el-image-viewer__btn .el-icon{cursor:pointer}.el-image-viewer__close{font-size:40px;height:40px;right:40px;top:40px;width:40px}.el-image-viewer__canvas{align-items:center;display:flex;height:100%;justify-content:center;position:static;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.el-image-viewer__actions{background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px;bottom:30px;height:44px;left:50%;padding:0 23px;transform:translate(-50%)}.el-image-viewer__actions__inner{align-items:center;color:#fff;cursor:default;display:flex;font-size:23px;gap:22px;height:100%;justify-content:space-around;padding:0 6px;width:100%}.el-image-viewer__actions__divider{margin:0 -6px}.el-image-viewer__progress{bottom:90px;color:#fff;cursor:default;left:50%;transform:translate(-50%)}.el-image-viewer__prev{left:40px}.el-image-viewer__next,.el-image-viewer__prev{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;top:50%;transform:translateY(-50%);width:44px}.el-image-viewer__next{right:40px;text-indent:2px}.el-image-viewer__close{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;width:44px}.el-image-viewer__mask{background:#000;height:100%;left:0;opacity:.5;position:absolute;top:0;width:100%}.el-image-viewer-parent--hidden{overflow:hidden}.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%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes viewer-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}.el-image__error,.el-image__inner,.el-image__placeholder,.el-image__wrapper{height:100%;width:100%}.el-image{display:inline-block;overflow:hidden;position:relative}.el-image__inner{opacity:1;vertical-align:top}.el-image__inner.is-loading{opacity:0}.el-image__wrapper{left:0;position:absolute;top:0}.el-image__error,.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{align-items:center;color:var(--el-text-color-placeholder);display:flex;font-size:14px;justify-content:center;vertical-align:middle}.el-image__preview{cursor:pointer}.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-input-width:100%;display:inline-block;font-size:var(--el-font-size-base);position:relative;vertical-align:bottom;width:100%}.el-textarea__inner{-webkit-appearance:none;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));display:block;font-family:inherit;font-size:inherit;line-height:1.5;padding:5px 11px;position:relative;resize:vertical;transition:var(--el-transition-box-shadow);width:100%}.el-textarea__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.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{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset;outline:none}.el-textarea .el-input__count{background:var(--el-fill-color-blank);bottom:5px;color:var(--el-color-info);font-size:12px;line-height:14px;position:absolute;right:10px}.el-textarea .el-input__count.is-outside{background:transparent;bottom:unset;line-height:1;padding-top:2px;position:absolute;right:0;top:100%}.el-textarea.is-disabled .el-textarea__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-textarea.is-disabled .el-textarea__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.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);--el-input-width:100%;--el-input-height:var(--el-component-size);box-sizing:border-box;display:inline-flex;font-size:var(--el-font-size-base);line-height:var(--el-input-height);position:relative;vertical-align:middle;width:var(--el-input-width)}.el-input::-webkit-scrollbar{width:6px;z-index:11}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{background:var(--el-text-color-disabled);border-radius:5px;width:6px}.el-input::-webkit-scrollbar-corner,.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,.el-input .el-input__password{color:var(--el-input-icon-color);cursor:pointer;font-size:14px}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{align-items:center;color:var(--el-color-info);display:inline-flex;font-size:12px;height:100%}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);display:inline-block;line-height:normal;padding-left:8px}.el-input .el-input__count.is-outside{height:unset;padding-top:2px;position:absolute;right:0;top:100%}.el-input .el-input__count.is-outside .el-input__count-inner{background:transparent;line-height:1;padding-left:0}.el-input__wrapper{align-items:center;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-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;cursor:text;display:inline-flex;flex-grow:1;justify-content:center;padding:1px 11px;transform:translateZ(0);transition:var(--el-transition-box-shadow)}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input{--el-input-inner-height:calc(var(--el-input-height, 32px) - 2px)}.el-input__inner{-webkit-appearance:none;background:none;border:none;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));flex-grow:1;font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);outline:none;padding:0;width:100%}.el-input__inner:focus{outline:none}.el-input__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;line-height:var(--el-input-inner-height);pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__prefix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;line-height:var(--el-input-inner-height);pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__suffix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{align-items:center;display:flex;height:inherit;justify-content:center;line-height:inherit;margin-left:8px;transition:all var(--el-transition-duration)}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;cursor:not-allowed}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.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-disabled .el-input__prefix-inner,.el-input.is-disabled .el-input__suffix-inner{pointer-events:none}.el-input.is-exceed .el-input__wrapper{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--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large{--el-input-inner-height:calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small{--el-input-inner-height:calc(var(--el-input-height, 24px) - 2px)}.el-input-group{align-items:stretch;display:inline-flex;width:100%}.el-input-group__append,.el-input-group__prepend{align-items:center;background-color:var(--el-fill-color-light);border-radius:var(--el-input-border-radius);color:var(--el-color-info);display:inline-flex;justify-content:center;min-height:100%;padding:0 20px;position:relative;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.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;flex:1;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-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{background-color:transparent;border-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-bottom-right-radius:0;border-right:0;border-top-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;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__wrapper,.el-input-group__append{border-bottom-left-radius:0;border-top-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{border-bottom-right-radius:0;border-top-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>.el-input__wrapper{border-bottom-right-radius:0;border-top-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{border-bottom-left-radius:0;border-top-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-hidden{display:none!important}.el-input-number{display:inline-flex;line-height:30px;position:relative;vertical-align:middle;width:150px}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;line-height:1;text-align:center}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-input-number.is-left .el-input__inner{text-align:left}.el-input-number.is-right .el-input__inner{text-align:right}.el-input-number.is-center .el-input__inner{text-align:center}.el-input-number__decrease,.el-input-number__increase{align-items:center;background:var(--el-fill-color-light);bottom:1px;color:var(--el-text-color-regular);cursor:pointer;display:flex;font-size:13px;height:auto;justify-content:center;position:absolute;top:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:32px;z-index:1}.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__wrapper,.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input__wrapper{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{border-left:var(--el-border);border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;right:1px}.el-input-number__decrease{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border);left:1px}.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{line-height:38px;width:180px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{font-size:14px;width:40px}.el-input-number--large.is-controls-right .el-input--large .el-input__wrapper{padding-right:47px}.el-input-number--large .el-input--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{line-height:22px;width:120px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{font-size:12px;width:24px}.el-input-number--small.is-controls-right .el-input--small .el-input__wrapper{padding-right:31px}.el-input-number--small .el-input--small .el-input__wrapper{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__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{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{border-bottom:var(--el-border);border-radius:0 var(--el-border-radius-base) 0 0;bottom:auto;left:auto}.el-input-number.is-controls-right .el-input-number__decrease{border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0;border-right:none;left:auto;right:1px;top:auto}.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-input-tag{--el-input-tag-border-color-hover:var(--el-border-color-hover);--el-input-tag-placeholder-color:var(--el-text-color-placeholder);--el-input-tag-disabled-color:var(--el-disabled-text-color);--el-input-tag-disabled-border:var(--el-disabled-border-color);--el-input-tag-font-size:var(--el-font-size-base);--el-input-tag-close-hover-color:var(--el-text-color-secondary);--el-input-tag-text-color:var(--el-text-color-regular);--el-input-tag-input-focus-border-color:var(--el-color-primary);--el-input-tag-width:100%;--el-input-tag-mini-height:var(--el-component-size);--el-input-tag-gap:6px;--el-input-tag-padding:4px;--el-input-tag-inner-padding:8px;--el-input-tag-line-height:24px;align-items:center;background-color:var(--el-fill-color-blank);border-radius:var(--el-border-radius-base);box-shadow:0 0 0 1px var(--el-border-color) inset;box-sizing:border-box;cursor:pointer;display:flex;font-size:var(--el-input-tag-font-size);line-height:var(--el-input-tag-line-height);min-height:var(--el-input-tag-mini-height);padding:var(--el-input-tag-padding);transform:translateZ(0);transition:var(--el-transition-duration);width:var(--el-input-tag-width)}.el-input-tag.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-input-tag.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-input-tag.is-disabled{background-color:var(--el-fill-color-light);cursor:not-allowed}.el-input-tag.is-disabled,.el-input-tag.is-disabled:hover{box-shadow:0 0 0 1px var(--el-input-tag-disabled-border) inset}.el-input-tag.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input-tag.is-disabled .el-input-tag__inner .el-input-tag__input,.el-input-tag.is-disabled .el-input-tag__inner .el-tag{cursor:not-allowed}.el-input-tag__prefix,.el-input-tag__suffix{align-items:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:flex;flex-shrink:0;padding:0 var(--el-input-tag-inner-padding)}.el-input-tag__suffix{gap:8px}.el-input-tag__collapse-tag{line-height:1}.el-input-tag__input-tag-list{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0;position:relative}.el-input-tag__input-tag-list.is-near{margin-left:-8px}.el-input-tag__input-tag-list .el-tag{border-color:transparent;cursor:pointer}.el-input-tag__input-tag-list .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-input-tag__input-tag-list .el-tag .el-tag__content{min-width:0}.el-input-tag__inner{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:var(--el-input-tag-gap);max-width:100%;min-width:0;position:relative}.el-input-tag__inner.is-left-space{margin-left:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-right-space{margin-right:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-draggable .el-tag{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-input-tag__drop-indicator{background-color:var(--el-color-primary);height:var(--el-input-tag-line-height);position:absolute;top:0;width:1px}.el-input-tag__inner .el-tag{border-color:transparent;cursor:pointer;max-width:100%}.el-input-tag__inner .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-input-tag__inner .el-tag .el-tag__content{line-height:normal;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-input-tag__input-wrapper{flex:1}.el-input-tag__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-input-tag-text-color);font-family:inherit;font-size:inherit;line-height:inherit;outline:none;padding:0;width:100%}.el-input-tag__input::-moz-placeholder{color:var(--el-input-tag-placeholder-color)}.el-input-tag__input::placeholder{color:var(--el-input-tag-placeholder-color)}.el-input-tag__input-calculator{left:0;max-width:100%;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:pre}.el-input-tag--large{--el-input-tag-gap:6px;--el-input-tag-padding:8px;--el-input-tag-padding-left:8px;--el-input-tag-font-size:14px}.el-input-tag--small{--el-input-tag-gap:4px;--el-input-tag-padding:2px;--el-input-tag-padding-left:6px;--el-input-tag-font-size:12px;--el-input-tag-line-height:20px;--el-input-tag-mini-height:var(--el-component-size-small)}.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);align-items:center;color:var(--el-link-text-color);cursor:pointer;display:inline-flex;flex-direction:row;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);justify-content:center;outline:none;padding:0;position:relative;text-decoration:none;vertical-align:middle}.el-link.is-hover-underline:hover:after{border-bottom:1px solid var(--el-link-hover-text-color);bottom:0;content:"";height:0;left:0;position:absolute;right:0}.el-link.is-underline:after{border-bottom:1px solid var(--el-link-text-color);bottom:0;content:"";height:0;left:0;position:absolute;right:0}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link:hover:after{border-color:var(--el-link-hover-text-color)}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link__inner{align-items:center;display:inline-flex;justify-content: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--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--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--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--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--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.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link.is-disabled:after{border-color:var(--el-link-disabled-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{background-color:var(--el-mask-color);bottom:0;left:0;margin:0;position:absolute;right:0;top:0;transition:opacity var(--el-transition-duration);z-index:2000}.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{margin-top:calc((0px - var(--el-loading-spinner-size))/2);position:absolute;text-align:center;top:50%;width:100%}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);font-size:14px;margin:3px 0}.el-loading-spinner .circular{animation:loading-rotate 2s linear infinite;display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size)}.el-loading-spinner .path{animation:loading-dash 1.5s ease-in-out infinite;stroke:var(--el-color-primary);stroke-dasharray:90,150;stroke-dashoffset:0;stroke-linecap:round;stroke-width:2}.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(1turn)}}@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;box-sizing:border-box;display:block;flex:1;flex-basis:auto;overflow:auto;padding:var(--el-main-padding)}:root{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-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-sub-item-height:calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height:60px;--el-menu-horizontal-sub-item-height:36px;--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);--el-menu-base-level-padding:20px;--el-menu-level-padding:20px;--el-menu-icon-width:24px}.el-menu{background-color:var(--el-menu-bg-color);border-right:1px solid var(--el-menu-border-color);box-sizing:border-box;list-style:none;margin:0;padding-left:0;position:relative}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title{padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level)*var(--el-menu-level-padding));white-space:nowrap}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{border-right:none;display:flex;flex-wrap:nowrap;height:var(--el-menu-horizontal-height)}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:1px solid var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{align-items:center;border-bottom:2px solid transparent;color:var(--el-menu-text-color);display:inline-flex;height:100%;justify-content:center;margin:0}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.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{border-bottom:2px solid transparent;color:var(--el-menu-text-color);height:100%}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{align-items:center;background-color:var(--el-menu-bg-color);color:var(--el-menu-text-color);display:flex;height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);padding:0 10px}.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-menu-item.is-active:hover,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title:hover{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{background-color:var(--el-menu-hover-bg-color);color:var(--el-menu-active-color,var(--el-menu-hover-text-color));outline:none}.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:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding)*2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .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-group>ul>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span{display:inline-block;height:0;overflow:hidden;visibility:hidden;width:0}.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.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{border:none;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light);min-width:200px;padding:5px 0;z-index:100}.el-menu .el-icon{flex-shrink:0}.el-menu-item{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:focus,.el-menu-item:hover{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-menu-item [class^=el-icon]{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.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{align-items:center;box-sizing:border-box;display:inline-flex;height:100%;left:0;padding:0 var(--el-menu-base-level-padding);position:absolute;top:0;width:100%}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);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:none}.el-sub-menu__title.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.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:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu.el-sub-menu__hide-arrow .el-sub-menu__title{padding-right:var(--el-menu-base-level-padding)}.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-disabled .el-menu-item,.el-sub-menu.is-disabled .el-sub-menu__title{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu .el-icon{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{font-size:12px;margin-right:0;margin-top:-6px;position:absolute;right:var(--el-menu-base-level-padding);top:50%;transition:transform var(--el-transition-duration);width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{color:var(--el-text-color-secondary);font-size:12px;line-height:normal;padding:7px 0 7px var(--el-menu-base-level-padding)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{opacity:0;transition:var(--el-transition-duration-fast)}.el-menu,.el-menu--popup-container,.el-popper{outline:none}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-box-shadow:var(--el-box-shadow);--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:12px;--el-messagebox-font-line-height:var(--el-font-line-height-primary);backface-visibility:hidden;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);box-shadow:var(--el-messagebox-box-shadow);box-sizing:border-box;display:inline-block;font-size:var(--el-messagebox-font-size);max-width:var(--el-messagebox-width);overflow:hidden;overflow-wrap:break-word;padding:var(--el-messagebox-padding-primary);position:relative;text-align:left;vertical-align:middle;width:100%}.el-message-box:focus{outline:none!important}.is-message-box .el-overlay-message-box{bottom:0;left:0;overflow:auto;padding:16px;position:fixed;right:0;text-align:center;top:0}.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;vertical-align:middle;width:0}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-message-box__header{padding-bottom:var(--el-messagebox-padding-primary)}.el-message-box__header.show-close{padding-right:calc(var(--el-messagebox-padding-primary) + var(--el-message-close-size, 16px))}.el-message-box__title{color:var(--el-messagebox-title-color);font-size:var(--el-messagebox-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.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{color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{align-items:center;display:flex;gap:12px}.el-message-box__input{padding-top:12px}.el-message-box__input div.invalid>input,.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{font-size:24px}.el-message-box__status.el-message-box-icon--primary{--el-messagebox-color:var(--el-color-primary);color:var(--el-messagebox-color)}.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;min-width:0}.el-message-box__message p{line-height:var(--el-messagebox-font-line-height);margin:0}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__btns{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;padding-top:var(--el-messagebox-padding-primary)}.el-message-box--center .el-message-box__title{align-items:center;display:flex;gap:6px;justify-content:center}.el-message-box--center .el-message-box__status{font-size:inherit}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__container{justify-content:center}.el-message-box-parent--hidden{overflow:hidden}.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%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:11px 15px;--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);align-items:center;background-color:var(--el-message-bg-color);border-color:var(--el-message-border-color);border-radius:var(--el-border-radius-base);border-style:var(--el-border-style);border-width:var(--el-border-width);box-sizing:border-box;display:flex;gap:8px;max-width:calc(100% - 32px);padding:var(--el-message-padding);position:fixed;transition:opacity var(--el-transition-duration),transform .4s,top .4s,bottom .4s;width:-moz-fit-content;width:fit-content}.el-message.is-left{left:16px}.el-message.is-right{right:16px}.el-message.is-center{left:0;margin:0 auto;right:0}.el-message.is-plain{background-color:var(--el-bg-color-overlay);border-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-message p{margin:0}.el-message--primary{--el-message-bg-color:var(--el-color-primary-light-9);--el-message-border-color:var(--el-color-primary-light-8);--el-message-text-color:var(--el-color-primary)}.el-message--primary .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--primary{color:var(--el-message-text-color)}.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{color:var(--el-message-text-color);overflow-wrap:break-word}.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{color:var(--el-message-text-color);overflow-wrap:break-word}.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{color:var(--el-message-text-color);overflow-wrap:break-word}.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{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message .el-message__badge{position:absolute;right:-8px;top:-8px}.el-message__content{font-size:14px;line-height:1;padding:0}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{color:var(--el-message-close-icon-color);cursor:pointer;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:translateY(-100%)}.el-message-fade-enter-from.is-bottom,.el-message-fade-leave-to.is-bottom{transform:translateY(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);background-color:var(--el-bg-color-overlay);border:1px solid var(--el-notification-border-color);border-radius:var(--el-notification-radius);box-shadow:var(--el-notification-shadow);box-sizing:border-box;display:flex;overflow:hidden;overflow-wrap:break-word;padding:var(--el-notification-padding);position:fixed;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);width:var(--el-notification-width);z-index:9999}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{flex:1;margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right);min-width:0}.el-notification__title{color:var(--el-notification-title-color);font-size:var(--el-notification-title-font-size);font-weight:700;line-height:var(--el-notification-icon-size);margin:0}.el-notification__content{color:var(--el-notification-content-color);font-size:var(--el-notification-content-font-size);line-height:24px;margin:6px 0 0}.el-notification__content p{margin:0}.el-notification .el-notification__icon{flex-shrink:0;font-size:var(--el-notification-icon-size);height:var(--el-notification-icon-size);width:var(--el-notification-icon-size)}.el-notification .el-notification__closeBtn{color:var(--el-notification-close-color);cursor:pointer;font-size:var(--el-notification-close-font-size);position:absolute;right:15px;top:18px}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--primary{--el-notification-icon-color:var(--el-color-primary);color:var(--el-notification-icon-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{background-color:var(--el-overlay-color-lighter);bottom:0;height:100%;left:0;overflow:auto;position:fixed;right:0;top:0;z-index:2000}.el-overlay .el-overlay-root{height:0}.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{align-items:center;display:flex;justify-content:space-between;line-height:24px}.el-page-header__left{align-items:center;display:flex;margin-right:40px;position:relative}.el-page-header__back{align-items:center;cursor:pointer;display:flex}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{align-items:center;display:flex;font-size:16px;margin-right:10px}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{color:var(--el-text-color-primary);font-size:18px}.el-page-header__breadcrumb{margin-bottom:16px}.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:2px;--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-font-size-small:12px;--el-pagination-button-width-small:24px;--el-pagination-button-height-small:24px;--el-pagination-button-width-large:40px;--el-pagination-button-height-large:40px;--el-pagination-item-gap:16px;align-items:center;color:var(--el-pagination-text-color);display:flex;font-size:var(--el-pagination-font-size);font-weight:400;white-space:nowrap}.el-pagination .el-input__inner{-moz-appearance:textfield;text-align:center}.el-pagination .el-select{width:128px}.el-pagination .btn-next,.el-pagination .btn-prev{align-items:center;background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;display:flex;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pagination .btn-next *,.el-pagination .btn-prev *{pointer-events:none}.el-pagination .btn-next:focus,.el-pagination .btn-prev:focus{outline:none}.el-pagination .btn-next:hover,.el-pagination .btn-prev:hover{color:var(--el-pagination-hover-color)}.el-pagination .btn-next.is-active,.el-pagination .btn-prev.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pagination .btn-next.is-active.is-disabled,.el-pagination .btn-prev.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pagination .btn-next.is-disabled,.el-pagination .btn-next:disabled,.el-pagination .btn-prev.is-disabled,.el-pagination .btn-prev:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pagination .btn-next:focus-visible,.el-pagination .btn-prev:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px;font-weight:700;width:inherit}.el-pagination>.is-first{margin-left:0!important}.el-pagination>.is-last{margin-right:0!important}.el-pagination .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination__sizes,.el-pagination__total{color:var(--el-text-color-regular);font-weight:400;margin-left:var(--el-pagination-item-gap)}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{align-items:center;color:var(--el-text-color-regular);display:flex;font-weight:400;margin-left:var(--el-pagination-item-gap)}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__goto{margin-right:8px}.el-pagination__editor{box-sizing:border-box;text-align:center}.el-pagination__editor.el-input{width:56px}.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__classifier{margin-left:8px}.el-pagination__rightwrapper{align-items:center;display:flex;flex:1;justify-content:flex-end}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{background-color:var(--el-pagination-button-bg-color);margin:0 4px}.el-pagination.is-background .btn-next.is-active,.el-pagination.is-background .btn-prev.is-active,.el-pagination.is-background .el-pager li.is-active{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .el-pager li.is-disabled,.el-pagination.is-background .el-pager li:disabled{background-color:var(--el-disabled-bg-color);color:var(--el-text-color-placeholder)}.el-pagination.is-background .btn-next.is-disabled.is-active,.el-pagination.is-background .btn-next:disabled.is-active,.el-pagination.is-background .btn-prev.is-disabled.is-active,.el-pagination.is-background .btn-prev:disabled.is-active,.el-pagination.is-background .el-pager li.is-disabled.is-active,.el-pagination.is-background .el-pager li:disabled.is-active{background-color:var(--el-fill-color-dark);color:var(--el-text-color-secondary)}.el-pagination.is-background .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li{font-size:var(--el-pagination-font-size-small);height:var(--el-pagination-button-height-small);line-height:var(--el-pagination-button-height-small);min-width:var(--el-pagination-button-width-small)}.el-pagination--small button,.el-pagination--small span:not([class*=suffix]){font-size:var(--el-pagination-font-size-small)}.el-pagination--small .el-select{width:100px}.el-pagination--large .btn-next,.el-pagination--large .btn-prev,.el-pagination--large .el-pager li{height:var(--el-pagination-button-height-large);line-height:var(--el-pagination-button-height-large);min-width:var(--el-pagination-button-width-large)}.el-pagination--large .el-select .el-input{width:160px}.el-pager{font-size:0;list-style:none;margin:0;padding:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-pager,.el-pager li{align-items:center;display:flex}.el-pager li{background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pager li *{pointer-events:none}.el-pager li:focus{outline:none}.el-pager li.is-active,.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{cursor:default;font-weight:700}.el-pager li.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pager li.is-disabled,.el-pager li:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-popconfirm{outline:none}.el-popconfirm__main{align-items:center;display:flex}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{margin-top:8px;text-align:right}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--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);border:1px solid var(--el-popover-border-color);border-radius:var(--el-popover-border-radius);box-shadow:var(--el-box-shadow-light);box-sizing:border-box;color:var(--el-text-color-regular);font-size:var(--el-popover-font-size);line-height:1.4;min-width:150px;overflow-wrap:break-word;padding:var(--el-popover-padding);z-index:var(--el-index-popper)}.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.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}.el-progress{align-items:center;display:flex;line-height:1;position:relative}.el-progress__text{color:var(--el-text-color-regular);font-size:14px;line-height:1;margin-left:5px;min-width:50px}.el-progress__text i{display:block;vertical-align:middle}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{left:0;margin:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);width:100%}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{display:inline-block;vertical-align:middle}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{display:block;margin-right:0;padding-right:0}.el-progress--text-inside .el-progress-bar{margin-right:0;padding-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{box-sizing:border-box;flex-grow:1}.el-progress-bar__outer{background-color:var(--el-border-color-lighter);border-radius:100px;height:6px;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{background-color:var(--el-color-primary);border-radius:100px;height:100%;left:0;line-height:1;position:absolute;text-align:right;top:0;transition:width .6s ease;white-space:nowrap}.el-progress-bar__inner:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{animation:indeterminate 3s infinite;transform:translateZ(0)}.el-progress-bar__inner--striped{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0,transparent 50%,rgba(0,0,0,.1) 0,rgba(0,0,0,.1) 75%,transparent 0,transparent);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{animation:striped-flow 3s linear infinite}.el-progress-bar__innerText{color:#fff;display:inline-block;font-size:12px;margin:0 5px;vertical-align:middle}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position: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);display:inline-block;outline:none;position:relative}.el-radio-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));line-height:1;margin:0;outline:var(--el-border);padding:8px 15px;position:relative;text-align:center;transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.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-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button.is-active .el-radio-button__original-radio:not(:disabled)+.el-radio-button__inner{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));color:var(--el-radio-button-checked-text-color,var(--el-color-white))}.el-radio-button__original-radio{opacity:0;outline:none;position:absolute;z-index:-1}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));border-radius:var(--el-border-radius-base);box-shadow:none;outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2}.el-radio-button__original-radio:disabled+.el-radio-button__inner{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.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{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}.el-radio-group{align-items:center;display:inline-flex;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);align-items:center;color:var(--el-radio-text-color);cursor:pointer;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-radio-font-weight);height:32px;margin-right:30px;outline:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{border-color:var(--el-border-color-lighter);cursor:not-allowed}.el-radio.is-bordered.el-radio--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.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{border-radius:var(--el-border-radius-base);padding:0 11px 0 7px}.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{cursor:pointer;display:inline-flex;outline:none;position:relative;vertical-align:middle;white-space:nowrap}.el-radio__input.is-disabled .el-radio__inner{border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled .el-radio__inner,.el-radio__input.is-disabled .el-radio__inner:after{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.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{background:var(--el-color-primary);border-color:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{background-color:var(--el-color-white);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{background-color:var(--el-radio-input-bg-color);border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);box-sizing:border-box;cursor:pointer;display:inline-block;height:var(--el-radio-input-height);position:relative;transition:all .3s;width:var(--el-radio-input-width)}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{border-radius:var(--el-radio-input-border-radius);content:"";height:4px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in;width:4px}.el-radio__original{bottom:0;left:0;margin:0;opacity:0;outline:none;position:absolute;right:0;top:0;z-index:-1}.el-radio__original:focus-visible+.el-radio__inner{border-radius:var(--el-radio-input-border-radius);outline:2px solid var(--el-radio-input-border-color-hover);outline-offset:1px}.el-radio:focus:not(:focus-visible):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{height:14px;width:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{height:12px;width: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-outline-color:var(--el-color-primary-light-5);align-items:center;display:inline-flex;height:32px}.el-rate:active,.el-rate:focus{outline:none}.el-rate:focus-visible .el-rate__item .el-rate__icon.is-focus-visible{outline:2px solid var(--el-rate-outline-color);transition:outline-offset 0s,outline 0s}.el-rate__item{color:var(--el-rate-void-color);cursor:pointer;display:inline-block;font-size:0;line-height:normal;position:relative;vertical-align:middle}.el-rate .el-rate__icon{display:inline-block;font-size:var(--el-rate-icon-size);margin-right:var(--el-rate-icon-margin);position:relative;transition:var(--el-transition-duration)}.el-rate .el-rate__icon.hover{transform:scale(1.15)}.el-rate .el-rate__icon .path2{left:0;position:absolute;top:0}.el-rate .el-rate__icon.is-active{color:var(--el-rate-fill-color)}.el-rate__decimal{color:var(--el-rate-fill-color);display:inline-block;overflow:hidden}.el-rate__decimal,.el-rate__decimal--box{left:0;position:absolute;top:0}.el-rate__text{color:var(--el-rate-text-color);font-size:var(--el-rate-font-size);vertical-align:middle}.el-rate--large{height:40px}.el-rate--small{height:24px}.el-rate--small .el-rate__icon{font-size:14px}.el-rate.is-disabled .el-rate__item{color:var(--el-rate-disabled-void-color);cursor:not-allowed}.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;align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:var(--el-result-padding);text-align:center}.el-result__icon svg{height:var(--el-result-icon-font-size);width:var(--el-result-icon-font-size)}.el-result__title{margin-top:var(--el-result-title-margin-top)}.el-result__title p{color:var(--el-text-color-primary);font-size:var(--el-result-title-font-size);line-height:1.3;margin:0}.el-result__subtitle{margin-top:var(--el-result-subtitle-margin-top)}.el-result__subtitle p{color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1.3;margin:0}.el-result__extra{margin-top:var(--el-result-extra-margin-top)}.el-result .icon-primary{--el-result-color:var(--el-color-primary);color:var(--el-result-color)}.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-error{--el-result-color:var(--el-color-error);color:var(--el-result-color)}.el-result .icon-info{--el-result-color:var(--el-color-info);color:var(--el-result-color)}.el-row{box-sizing:border-box;display:flex;flex-wrap:wrap;position:relative}.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-top{align-items:flex-start}.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);height:100%;overflow:hidden;position:relative}.el-scrollbar__wrap{height:100%;overflow:auto}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));border-radius:inherit;cursor:pointer;display:block;height:0;opacity:var(--el-scrollbar-opacity,.3);position:relative;transition:var(--el-transition-duration) background-color;width:0}.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{border-radius:4px;bottom:2px;position:absolute;right:2px;z-index:1}.el-scrollbar__bar.is-vertical{top:2px;width:6px}.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{border-radius:var(--el-border-radius-base);box-sizing:border-box;z-index:calc(var(--el-index-top) + 1)}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty,.el-select-dropdown__loading{color:var(--el-text-color-secondary);font-size:var(--el-select-font-size);margin:0;padding:10px 0;text-align:center}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:6px 0}.el-select-dropdown__list.el-vl__window{margin:6px 0;padding:0}.el-select-dropdown__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__item{box-sizing:border-box;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);height:34px;line-height:34px;overflow:hidden;padding:0 32px 0 20px;position:relative;text-overflow:ellipsis;white-space:nowrap}.el-select-dropdown__item.is-hovering{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.is-selected{color:var(--el-color-primary);font-weight:700}.el-select-dropdown__item.is-disabled{background-color:unset;color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-selected:after{background-color:var(--el-color-primary);background-position:50%;background-repeat:no-repeat;border-right:none;border-top:none;content:"";height:12px;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%;position:absolute;right:20px;top:50%;transform:translateY(-50%);width:12px}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-disabled:after{background-color:var(--el-text-color-placeholder)}.el-select-group{margin:0;padding:0}.el-select-group__wrap{list-style:none;margin:0;padding:0;position:relative}.el-select-group__title{box-sizing:border-box;color:var(--el-color-info);font-size:12px;line-height:34px;overflow:hidden;padding:0 20px;text-overflow:ellipsis;white-space:nowrap}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-color:var(--el-disabled-text-color);--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-width:100%;display:inline-block;position:relative;vertical-align:middle;width:var(--el-select-width)}.el-select__wrapper{align-items:center;background-color:var(--el-fill-color-blank);border-radius:var(--el-border-radius-base);box-shadow:0 0 0 1px var(--el-border-color) inset;box-sizing:border-box;cursor:pointer;display:flex;font-size:14px;gap:6px;line-height:24px;min-height:32px;padding:4px 12px;position:relative;text-align:left;transform:translateZ(0);transition:var(--el-transition-duration)}.el-select__wrapper.is-filterable{cursor:text}.el-select__wrapper.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-select__wrapper.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-select__wrapper.is-disabled{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select__wrapper.is-disabled,.el-select__wrapper.is-disabled:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select__wrapper.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-select__wrapper.is-disabled .el-select__selected-item{color:var(--el-select-disabled-color)}.el-select__wrapper.is-disabled .el-select__caret,.el-select__wrapper.is-disabled .el-tag,.el-select__wrapper.is-disabled input{cursor:not-allowed}.el-select__wrapper.is-disabled .el-select__prefix,.el-select__wrapper.is-disabled .el-select__suffix{pointer-events:none}.el-select__prefix,.el-select__suffix{align-items:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:flex;flex-shrink:0;gap:6px}.el-select__caret{color:var(--el-select-input-color);cursor:pointer;font-size:var(--el-select-input-font-size);transform:rotate(0);transition:var(--el-transition-duration)}.el-select__caret.is-reverse{transform:rotate(180deg)}.el-select__clear{cursor:pointer}.el-select__clear:hover{color:var(--el-select-close-hover-color)}.el-select__selection{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0;position:relative}.el-select__selection.is-near{margin-left:-8px}.el-select__selection .el-tag{border-color:transparent;cursor:pointer}.el-select__selection .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-select__selection .el-tag .el-tag__content{min-width:0}.el-select__selected-item{display:flex;flex-wrap:wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-select__tags-text{line-height:normal}.el-select__placeholder,.el-select__tags-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-select__placeholder{color:var(--el-input-text-color,var(--el-text-color-regular));position:absolute;top:50%;transform:translateY(-50%);width:100%;z-index:-1}.el-select__placeholder.is-transparent{color:var(--el-text-color-placeholder);-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-select__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper,.el-select__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-select__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-select__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select__input-wrapper{flex:1}.el-select__input-wrapper.is-hidden{opacity:0;position:absolute;z-index:-1}.el-select__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-select-multiple-input-color);font-family:inherit;font-size:inherit;height:24px;outline:none;padding:0;width:100%}.el-select__input-calculator{left:0;max-width:100%;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:pre}.el-select--large .el-select__wrapper{font-size:14px;gap:6px;line-height:24px;min-height:40px;padding:8px 16px}.el-select--large .el-select__selection{gap:6px}.el-select--large .el-select__selection.is-near{margin-left:-8px}.el-select--large .el-select__prefix,.el-select--large .el-select__suffix{gap:6px}.el-select--large .el-select__input{height:24px}.el-select--small .el-select__wrapper{font-size:12px;gap:4px;line-height:20px;min-height:24px;padding:2px 8px}.el-select--small .el-select__selection{gap:4px}.el-select--small .el-select__selection.is-near{margin-left:-6px}.el-select--small .el-select__prefix,.el-select--small .el-select__suffix{gap:4px}.el-select--small .el-select__input{height:20px}.el-skeleton{--el-skeleton-circle-size:var(--el-avatar-size)}.el-skeleton__item{background:var(--el-skeleton-color);border-radius:var(--el-border-radius-base);display:inline-block;height:16px;width:100%}.el-skeleton__circle{border-radius:50%;height:var(--el-skeleton-circle-size);line-height:var(--el-skeleton-circle-size);width:var(--el-skeleton-circle-size)}.el-skeleton__button{border-radius:4px;height:40px;width:64px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{height:var(--el-font-size-small);width:100%}.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{align-items:center;border-radius:0;display:flex;justify-content:center;width:unset}.el-skeleton__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:22%;width: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{background:var(--el-skeleton-color);height:16px;margin-top:16px}.el-skeleton.is-animated .el-skeleton__item{animation:el-skeleton-loading 1.4s ease infinite;background:linear-gradient(90deg,var(--el-skeleton-color) 25%,var(--el-skeleton-to-color) 37%,var(--el-skeleton-color) 63%);background-size:400% 100%}.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;align-items:center;display:flex;height:32px;width:100%}.el-slider__runway{background-color:var(--el-slider-runway-bg-color);border-radius:var(--el-slider-border-radius);cursor:pointer;flex:1;height:var(--el-slider-height);position:relative}.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.dragging,.el-slider__runway.is-disabled .el-slider__button-wrapper.hover,.el-slider__runway.is-disabled .el-slider__button-wrapper:hover{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.dragging,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover{cursor:not-allowed}.el-slider__input{flex-shrink:0;width:130px}.el-slider__bar{background-color:var(--el-slider-main-bg-color);border-bottom-left-radius:var(--el-slider-border-radius);border-top-left-radius:var(--el-slider-border-radius);height:var(--el-slider-height);position:absolute}.el-slider__button-wrapper{background-color:transparent;height:var(--el-slider-button-wrapper-size);line-height:normal;outline:none;position:absolute;text-align:center;top:var(--el-slider-button-wrapper-offset);transform:translate(-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none;width:var(--el-slider-button-wrapper-size);z-index:1}.el-slider__button-wrapper:after{content:"";display:inline-block;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{background-color:var(--el-color-white);border:2px solid var(--el-slider-main-bg-color);border-radius:50%;box-sizing:border-box;display:inline-block;height:var(--el-slider-button-size);transition:var(--el-transition-duration-fast);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:var(--el-slider-button-size)}.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{background-color:var(--el-slider-stop-bg-color);border-radius:var(--el-border-radius-circle);height:var(--el-slider-height);position:absolute;transform:translate(-50%);width:var(--el-slider-height)}.el-slider__marks{height:100%;left:12px;top:0;width:18px}.el-slider__marks-text{color:var(--el-color-info);font-size:14px;margin-top:15px;position:absolute;transform:translate(-50%);white-space:pre}.el-slider.is-vertical{display:inline-flex;flex:0;height:100%;position:relative;width:auto}.el-slider.is-vertical .el-slider__runway{height:100%;margin:0 16px;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__bar{border-radius:0 0 3px 3px;height:auto;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__button-wrapper{left:var(--el-slider-button-wrapper-offset);top:auto;transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical .el-slider__marks-text{left:15px;margin-top:0;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{white-space:nowrap;width:100%}.el-spinner{display:inline-block;vertical-align:middle}.el-spinner-inner{animation:rotate 2s linear infinite;height:50px;width:50px}.el-spinner-inner .path{animation:dash 1.5s ease-in-out infinite;stroke:var(--el-border-color-lighter);stroke-linecap:round}@keyframes rotate{to{transform:rotate(1turn)}}@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{flex-shrink:1;position:relative}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-basis:auto!important;flex-grow:0;flex-shrink: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{border-color:var(--el-text-color-primary);color:var(--el-text-color-primary)}.el-step__head.is-wait{border-color:var(--el-text-color-placeholder);color:var(--el-text-color-placeholder)}.el-step__head.is-success{border-color:var(--el-color-success);color:var(--el-color-success)}.el-step__head.is-error{border-color:var(--el-color-danger);color:var(--el-color-danger)}.el-step__head.is-finish{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-step__icon{align-items:center;background:var(--el-bg-color);box-sizing:border-box;display:inline-flex;font-size:14px;height:24px;justify-content:center;position:relative;transition:.15s ease-out;width:24px;z-index:1}.el-step__icon.is-text{border:2px solid;border-radius:50%}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{color:inherit;display:inline-block;font-weight:700;line-height:1;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.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{background-color:var(--el-text-color-placeholder);border-color:currentColor;position:absolute}.el-step__line-inner{border:1px solid;box-sizing:border-box;display:block;height:0;transition:.15s ease-out;width:0}.el-step__main{text-align:left;white-space:normal}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{color:var(--el-text-color-primary);font-weight:700}.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{font-size:12px;font-weight:400;line-height:20px;margin-top:-5px;padding-right:10%}.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;left:0;right:0;top:11px}.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{flex-grow:1;padding-left:10px}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{bottom:0;left:11px;top:0;width:2px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-vertical .el-step__description{padding-right:0}.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{align-items:center;display:flex}.el-step.is-simple .el-step__head{font-size:0;padding-right:10px;width:auto}.el-step.is-simple .el-step__icon{background:transparent;font-size:12px;height:16px;width:16px}.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{align-items:stretch;display:flex;flex-grow:1;position:relative}.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%;overflow-wrap:break-word}.el-step.is-simple .el-step__arrow{align-items:center;display:flex;flex-grow:1;justify-content:center}.el-step.is-simple .el-step__arrow:after,.el-step.is-simple .el-step__arrow:before{background:var(--el-text-color-placeholder);content:"";display:inline-block;height:15px;position:absolute;width:1px}.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;line-height:normal}.el-steps--simple{background:var(--el-fill-color-light);border-radius:4px;padding:13px 8%}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{flex-flow:column;height:100%}.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color);align-items:center;display:inline-flex;font-size:14px;height:32px;line-height:20px;position:relative;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{color:var(--el-text-color-primary);cursor:pointer;display:inline-block;font-size:14px;font-weight:500;height:20px;transition:var(--el-transition-duration-fast);vertical-align:middle}.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 *{display:inline-block;font-size:14px;line-height:1}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{height:0;margin:0;opacity:0;position:absolute;width:0}.el-switch__input:focus-visible~.el-switch__core{outline:2px solid var(--el-switch-on-color);outline-offset:1px}.el-switch__core{align-items:center;background:var(--el-switch-off-color);border:1px solid var(--el-switch-border-color,var(--el-switch-off-color));border-radius:10px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:20px;min-width:40px;outline:none;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration)}.el-switch__core .el-switch__inner{align-items:center;display:flex;height:16px;justify-content:center;overflow:hidden;padding:0 4px 0 18px;transition:all var(--el-transition-duration);width:100%}.el-switch__core .el-switch__inner-wrapper{align-items:center;color:var(--el-color-white);display:flex;font-size:12px;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-switch__core .el-switch__action{align-items:center;background-color:var(--el-color-white);border-radius:var(--el-border-radius-circle);color:var(--el-switch-off-color);display:flex;height:16px;justify-content:center;left:1px;position:absolute;transition:all var(--el-transition-duration);width:16px}.el-switch.is-checked .el-switch__core{background-color:var(--el-switch-on-color);border-color:var(--el-switch-border-color,var(--el-switch-on-color))}.el-switch.is-checked .el-switch__core .el-switch__action{color:var(--el-switch-on-color);left:calc(100% - 17px)}.el-switch.is-checked .el-switch__core .el-switch__inner{padding:0 18px 0 4px}.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;line-height:24px}.el-switch--large .el-switch__label{font-size:14px;height:24px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{border-radius:12px;height:24px;min-width:50px}.el-switch--large .el-switch__core .el-switch__inner{height:20px;padding:0 6px 0 22px}.el-switch--large .el-switch__core .el-switch__action{height:20px;width:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action{left:calc(100% - 21px)}.el-switch--large.is-checked .el-switch__core .el-switch__inner{padding:0 22px 0 6px}.el-switch--small{font-size:12px;height:24px;line-height:16px}.el-switch--small .el-switch__label{font-size:12px;height:16px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{border-radius:8px;height:16px;min-width:30px}.el-switch--small .el-switch__core .el-switch__inner{height:12px;padding:0 2px 0 14px}.el-switch--small .el-switch__core .el-switch__action{height:12px;width:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 13px)}.el-switch--small.is-checked .el-switch__core .el-switch__inner{padding:0 14px 0 2px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{background-color:#fff;border:1px solid var(--el-border-color-lighter);border-radius:2px;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{list-style:none;margin:0;min-width:100px;outline:none;padding:5px 0}.el-table-filter__list-item{cursor:pointer;font-size:var(--el-font-size-base);line-height:36px;outline:none;padding:0 10px}.el-table-filter__list-item:focus,.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__multiple{outline:none}.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{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-filter__bottom button:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-filter__bottom button{color:var(--el-text-color-regular);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.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{align-items:center;display:flex;height:unset;margin-bottom:12px;margin-left:5px;margin-right:5px}.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-index:var(--el-index-normal);background-color:var(--el-table-bg-color);box-sizing:border-box;color:var(--el-table-text-color);font-size:var(--el-font-size-base);height:-moz-fit-content;height:fit-content;max-width:100%;overflow:hidden;position:relative;width:100%}.el-table__inner-wrapper{display:flex;flex-direction:column;height:100%;position:relative}.el-table__inner-wrapper:before{bottom:0;height:1px;left:0}.el-table tbody:focus-visible{outline:none}.el-table.has-footer.el-table--fluid-height tr:last-child td.el-table__cell,.el-table.has-footer.el-table--scrollable-y tr:last-child td.el-table__cell{border-bottom-color:transparent}.el-table__empty-block{align-items:center;display:flex;justify-content:center;left:0;min-height:60px;position:sticky;text-align:center;width:100%}.el-table__empty-text{color:var(--el-text-color-secondary);line-height:60px;width:50%}.el-table__expand-column .cell{padding:0;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table__expand-icon{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table__expand-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:-2px}.el-table__expand-icon{color:var(--el-text-color-regular);font-size:12px;height:23px;line-height:12px;width:min(23px,100%)}.el-table__expand-icon.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.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-bottom:0;border-right:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table--fit .el-table__inner-wrapper:before{width:100%}.el-table thead{color:var(--el-table-header-text-color)}.el-table thead th{font-weight:600}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{box-sizing:border-box;min-width:0;padding:8px 0;position:relative;text-align:left;text-overflow:ellipsis;vertical-align:middle;z-index:var(--el-table-index)}.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{border-bottom-width:0;border-right-width:0;padding:0;width:15px}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;line-height:23px;overflow:hidden;overflow-wrap:break-word;padding:0 12px;text-overflow:ellipsis;white-space:normal}.el-table .cell.el-tooltip{min-width:50px;white-space:nowrap}.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--default{font-size:var(--el-font-size-base)}.el-table--default .el-table__cell{padding:8px 0}.el-table--default .cell{padding:0 12px}.el-table--small{font-size:var(--el-font-size-extra-small)}.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{background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{background:#ff4d51;border-radius:50%;content:"";display:inline-block;height:8px;margin-right:5px;vertical-align:middle;width:8px}.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__inner-wrapper:after,.el-table--border:after,.el-table--border:before,.el-table__inner-wrapper:before{background-color:var(--el-table-border-color);content:"";position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table--border .el-table__inner-wrapper:after{height:1px;left:0;top:0;width:100%;z-index:calc(var(--el-table-index) + 2)}.el-table--border:before{height:100%;left:0;top:-1px;width:1px}.el-table--border:after{height:100%;right:0;top:-1px;width:1px}.el-table--border .el-table__inner-wrapper{border-bottom:none;border-right:none}.el-table--border .el-table__footer-wrapper{flex-shrink:0;position:relative}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.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{background:inherit;position:sticky!important;z-index:calc(var(--el-table-index) + 1)}.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{bottom:0;box-shadow:none;content:"";overflow-x:hidden;overflow-y:hidden;pointer-events:none;position:absolute;top:0;touch-action:none;width:10px}.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}.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{background:#fff;position:sticky!important;right:0;z-index:calc(var(--el-table-index) + 1)}.el-table__header-wrapper{flex-shrink: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{border-collapse:separate;table-layout:fixed}.el-table__header-wrapper{overflow:hidden}.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__footer-wrapper{flex-shrink:0;overflow:hidden}.el-table__footer-wrapper tfoot 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>.cell,.el-table__header-wrapper .el-table-column--selection>.cell{align-items:center;display:inline-flex;height:23px}.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{flex:1;overflow:hidden;position:relative}.el-table__body-wrapper .el-scrollbar__bar{z-index:calc(var(--el-table-index) + 2)}.el-table .caret-wrapper{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table .caret-wrapper:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table .caret-wrapper{align-items:center;display:inline-flex;flex-direction:column;height:14px;overflow:initial;position:relative;vertical-align:middle;width:24px}.el-table .sort-caret{border:5px solid transparent;height:0;left:7px;position:absolute;width:0}.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{position:absolute;visibility:hidden;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,.el-table__body tr>td.hover-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.el-table--scrollable-y .el-table__body-header{position:sticky;top:0;z-index:calc(var(--el-table-index) + 2)}.el-table.el-table--scrollable-y .el-table__body-footer{bottom:0;position:sticky;z-index:calc(var(--el-table-index) + 2)}.el-table__column-resize-proxy{border-left:var(--el-table-border);bottom:0;left:200px;position:absolute;top:0;width:0;z-index:calc(var(--el-table-index) + 9)}.el-table__column-filter-trigger{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table__column-filter-trigger:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table__column-filter-trigger{display:inline-block}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{height:100%;top:0;width:1px}.el-table__border-bottom-patch,.el-table__border-left-patch{background-color:var(--el-table-border-color);left:0;position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table__border-bottom-patch{height:1px}.el-table__border-right-patch{background-color:var(--el-table-border-color);height:100%;position:absolute;top:0;width:1px;z-index:calc(var(--el-table-index) + 2)}.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;text-align:center;width:20px}.el-table .el-table.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table:not(.el-table--border) .el-table__cell{border-right:none}.el-table:not(.el-table--border)>.el-table__inner-wrapper:after{content:none}.el-table-v2{--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-index:var(--el-index-normal);font-size:var(--el-font-size-base)}.el-table-v2 *{box-sizing:border-box}.el-table-v2__root{position:relative}.el-table-v2__root:hover .el-table-v2__main .el-virtual-scrollbar{opacity:1}.el-table-v2__main{background-color:var(--el-bg-color);display:flex;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0}.el-table-v2__main .el-vl__horizontal,.el-table-v2__main .el-vl__vertical{z-index:2}.el-table-v2__left{background-color:var(--el-bg-color);box-shadow:2px 0 4px #0000000f;display:flex;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0}.el-table-v2__left .el-virtual-scrollbar{opacity:0}.el-table-v2__left .el-vl__horizontal,.el-table-v2__left .el-vl__vertical{z-index:-1}.el-table-v2__right{background-color:var(--el-bg-color);box-shadow:-2px 0 4px #0000000f;display:flex;flex-direction:column-reverse;overflow:hidden;position:absolute;right:0;top:0}.el-table-v2__right .el-virtual-scrollbar{opacity:0}.el-table-v2__right .el-vl__horizontal,.el-table-v2__right .el-vl__vertical{z-index:-1}.el-table-v2__header-row,.el-table-v2__row{padding-inline-end:var(--el-table-scrollbar-size)}.el-table-v2__header-wrapper{overflow:hidden}.el-table-v2__header{overflow:hidden;position:relative}.el-table-v2__header .el-checkbox{z-index:0}.el-table-v2__footer{bottom:0;overflow:hidden;right:0}.el-table-v2__empty,.el-table-v2__footer,.el-table-v2__overlay{left:0;position:absolute}.el-table-v2__overlay{bottom:0;right:0;top:0;z-index:9999}.el-table-v2__header-row{border-bottom:var(--el-table-border);display:flex}.el-table-v2__header-cell{align-items:center;background-color:var(--el-table-header-bg-color);color:var(--el-table-header-text-color);display:flex;font-weight:700;height:100%;overflow:hidden;padding:0 8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table-v2__header-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__header-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__header-cell.is-sortable{cursor:pointer}.el-table-v2__header-cell:hover .el-icon{display:block}.el-table-v2__sort-icon{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-v2__sort-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-v2__sort-icon{display:none;opacity:.6;transition:opacity,display var(--el-transition-duration)}.el-table-v2__sort-icon.is-sorting{display:flex;opacity:1}.el-table-v2__row{align-items:center;border-bottom:var(--el-table-border);display:flex;transition:background-color var(--el-transition-duration)}.el-table-v2__row.is-hovered,.el-table-v2__row:hover{background-color:var(--el-table-row-hover-bg-color)}.el-table-v2__row-cell{align-items:center;display:flex;height:100%;overflow:hidden;padding:0 8px}.el-table-v2__row-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__row-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__expand-icon{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-v2__expand-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-v2__expand-icon{margin:0 4px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table-v2__expand-icon svg{transition:transform var(--el-transition-duration)}.el-table-v2__expand-icon.is-expanded svg{transform:rotate(90deg)}.el-table-v2:not(.is-dynamic) .el-table-v2__cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-table-v2.is-dynamic .el-table-v2__row{align-items:stretch;overflow:hidden}.el-table-v2.is-dynamic .el-table-v2__row .el-table-v2__row-cell{overflow-wrap:break-word}.el-tabs{--el-tabs-header-height:40px;display:flex}.el-tabs__header{align-items:center;display:flex;justify-content:space-between;margin:0 0 15px;padding:0;position:relative}.el-tabs__header-vertical{flex-direction:column}.el-tabs__active-bar{background-color:var(--el-color-primary);bottom:0;height:2px;left:0;list-style:none;position:absolute;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);z-index:1}.el-tabs__active-bar.is-bottom{bottom:auto}.el-tabs__new-tab{align-items:center;border:1px solid var(--el-border-color);border-radius:3px;color:var(--el-text-color-primary);cursor:pointer;display:flex;flex-shrink:0;font-size:12px;height:20px;justify-content:center;line-height:20px;margin:10px 0 10px 10px;text-align:center;transition:all .15s;width:20px}.el-tabs__new-tab .is-icon-plus{height:inherit;transform:scale(.8);width:inherit}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__new-tab-vertical{margin-left:0}.el-tabs__nav-wrap{flex:1 auto;margin-bottom:-1px;overflow:hidden;position:relative}.el-tabs__nav-wrap:after{background-color:var(--el-border-color-light);bottom:0;content:"";height:2px;left:0;position:absolute;width:100%;z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-bottom:after{bottom:auto;top:0}.el-tabs__nav-wrap.is-scrollable{box-sizing:border-box;padding:0 20px}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;line-height:44px;position:absolute;text-align:center;width:20px}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{display:flex;float:left;position:relative;transition:transform var(--el-transition-duration);white-space:nowrap;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{display:flex;min-width:100%}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{align-items:center;box-sizing:border-box;color:var(--el-text-color-primary);display:flex;font-size:var(--el-font-size-base);font-weight:500;height:var(--el-tabs-header-height);justify-content:center;list-style:none;padding:0 20px;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus-visible{border-radius:3px;box-shadow:0 0 2px 2px var(--el-color-primary) inset}.el-tabs__item .is-icon-close{border-radius:50%;margin-left:5px;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs__item .is-icon-close:before{display:inline-block;transform:scale(.9)}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item.is-active,.el-tabs__item:hover{color:var(--el-color-primary)}.el-tabs__item:hover{cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{flex-grow:1;overflow:hidden;position:relative}.el-tabs--bottom>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:0}.el-tabs--bottom>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top>.el-tabs__header .el-tabs__item:last-child{padding-right:0}.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--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--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--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--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light);box-sizing:border-box;height:var(--el-tabs-header-height)}.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{font-size:12px;height:14px;overflow:hidden;position:relative;right:-2px;transform-origin:100% 50%;width:0}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);margin-top:-1px;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:var(--el-bg-color)}.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{border:1px solid transparent;color:var(--el-text-color-secondary);margin-top:-1px;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item,.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.is-active{background-color:var(--el-bg-color-overlay);border-left-color:var(--el-border-color);border-right-color:var(--el-border-color);color:var(--el-color-primary)}.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{flex-direction:column}.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-bottom:0;margin-top:-1px}.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{bottom:auto;height:auto;top:0;width:2px}.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{cursor:pointer;height:30px;line-height:30px;text-align:center;width:100%}.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{bottom:0;right:auto}.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{bottom:auto;height:100%;top:0;width:2px}.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{flex-direction:column}.el-tabs--left .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-left{justify-content:flex-end}.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-right{justify-content:flex-start}.el-tabs--left{flex-direction:row}.el-tabs--left .el-tabs__header.is-left{margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.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-bottom:none;border-left:none;border-right:1px solid var(--el-border-color-light);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-bottom:none;border-left:none;border-right:1px solid #fff}.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-bottom:1px solid var(--el-border-color-light);border-radius:4px 0 0 4px;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:rgb(209,219,229) transparent}.el-tabs--left>.el-tabs__content+.el-tabs__header{order:-1}.el-tabs--right .el-tabs__header.is-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-bottom:none;border-left:1px solid #fff;border-right: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-bottom:1px solid var(--el-border-color-light);border-left:none;border-radius:0 4px 4px 0}.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:rgb(209,219,229) transparent}.el-tabs--top{flex-direction:column}.el-tabs--top>.el-tabs__content+.el-tabs__header{order:-1}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{animation:slideInRight-leave var(--el-transition-duration);left:0;position:absolute;right:0}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{animation:slideInLeft-leave var(--el-transition-duration);left:0;position:absolute;right:0}@keyframes slideInRight-enter{0%{opacity:0;transform:translate(100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInRight-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(100%);transform-origin:0 0}}@keyframes slideInLeft-enter{0%{opacity:0;transform:translate(-100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInLeft-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(-100%);transform-origin:0 0}}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px;align-items:center;background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);border-radius:var(--el-tag-border-radius);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--el-tag-text-color);display:inline-flex;font-size:var(--el-tag-font-size);height:24px;justify-content:center;line-height:1;padding:0 9px;vertical-align:middle;white-space:nowrap;--el-icon-size:14px}.el-tag,.el-tag.el-tag--primary{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary)}.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-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-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-hover-color:var(--el-color-danger)}.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-hover-color:var(--el-color-error)}.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-hover-color:var(--el-color-info)}.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);flex-shrink:0}.el-tag .el-tag__close:hover{background-color:var(--el-tag-hover-color);color:var(--el-color-white)}.el-tag.el-tag--primary{--el-tag-text-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color:var(--el-color-info)}.el-tag .el-icon{border-radius:50%;cursor:pointer;display:flex;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size)}.el-tag .el-tag__close{background-color:transparent;border:none;border-radius:50%;margin-left:6px;outline:none;overflow:hidden;padding:0}.el-tag .el-tag__close:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-tag--dark{--el-tag-text-color:var(--el-color-white)}.el-tag--dark,.el-tag--dark.el-tag--primary{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--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-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-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-hover-color:var(--el-color-danger-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-hover-color:var(--el-color-error-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-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info,.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning{--el-tag-text-color:var(--el-color-white)}.el-tag--plain,.el-tag--plain.el-tag--primary{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-hover-color:var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{height:32px;padding:0 11px;--el-icon-size:16px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{height:20px;padding:0 7px;--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--primary.is-hit{border-color:var(--el-color-primary)}.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--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.el-text{--el-text-font-size:var(--el-font-size-base);--el-text-color:var(--el-text-color-regular);align-self:center;color:var(--el-text-color);font-size:var(--el-text-font-size);margin:0;overflow-wrap:break-word;padding:0}.el-text.is-truncated{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-text.is-line-clamp{display:-webkit-inline-box;-webkit-box-orient:vertical;overflow:hidden}.el-text--large{--el-text-font-size:var(--el-font-size-medium)}.el-text--default{--el-text-font-size:var(--el-font-size-base)}.el-text--small{--el-text-font-size:var(--el-font-size-extra-small)}.el-text.el-text--primary{--el-text-color:var(--el-color-primary)}.el-text.el-text--success{--el-text-color:var(--el-color-success)}.el-text.el-text--warning{--el-text-color:var(--el-color-warning)}.el-text.el-text--danger{--el-text-color:var(--el-color-danger)}.el-text.el-text--error{--el-text-color:var(--el-color-error)}.el-text.el-text--info{--el-text-color:var(--el-color-info)}.el-text>.el-icon{vertical-align:-2px}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{margin:0;max-height:200px}.time-select-item{font-size:14px;line-height:20px;padding:8px 10px}.time-select-item.disabled{color:var(--el-datepicker-border-color);cursor:not-allowed}.time-select-item:hover{background-color:var(--el-fill-color-light);cursor:pointer;font-weight:700}.time-select .time-select-item.selected:not(.disabled){color:var(--el-color-primary);font-weight:700}.el-timeline-item{padding-bottom:20px;position:relative}.el-timeline-item__wrapper{box-sizing:content-box;position:relative;top:-3px}.el-timeline-item__tail{border-left:2px solid var(--el-timeline-node-color);height:100%;position:absolute}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{align-items:center;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;position:absolute}.el-timeline-item__node--normal{height:var(--el-timeline-node-size-normal);width:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{height:var(--el-timeline-node-size-large);width: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{align-items:center;display:flex;justify-content:center;position:absolute}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);font-size:var(--el-font-size-small);line-height:1}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline-item.is-start .el-timeline-item__wrapper{padding-left:28px}.el-timeline-item.is-start .el-timeline-item__tail{left:4px}.el-timeline-item.is-start .el-timeline-item__node--normal{left:-1px}.el-timeline-item.is-start .el-timeline-item__node--large{left:-2px}.el-timeline-item.is-end .el-timeline-item__wrapper{padding-right:28px;text-align:right}.el-timeline-item.is-end .el-timeline-item__tail{right:4px}.el-timeline-item.is-end .el-timeline-item__node--normal{right:-1px}.el-timeline-item.is-end .el-timeline-item__node--large{right:-2px}.el-timeline-item.is-alternate .el-timeline-item__node,.el-timeline-item.is-alternate .el-timeline-item__tail,.el-timeline-item.is-alternate-reverse .el-timeline-item__node,.el-timeline-item.is-alternate-reverse .el-timeline-item__tail{left:50%;transform:translate(-50%)}.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);font-size:var(--el-font-size-base);list-style:none;margin:0}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{align-items:center;display:flex}.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-timeline.is-start{padding-left:40px;padding-right:0}.el-timeline.is-end{padding-left:0;padding-right:40px}.el-timeline.is-alternate{padding-left:20px;padding-right:20px}.el-timeline.is-alternate .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{left:calc(50% - var(--el-timeline-node-size-large)/2);padding-left:28px;width:calc(50% - 28px)}.el-timeline.is-alternate .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{padding-right:28px;text-align:right;width:calc(50% - 28px + var(--el-timeline-node-size-large)/2)}.el-timeline.is-alternate-reverse{padding-left:20px;padding-right:20px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{padding-right:28px;text-align:right;width:calc(50% - 28px + var(--el-timeline-node-size-large)/2)}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{left:calc(50% - var(--el-timeline-node-size-large)/2);padding-left:28px;width:calc(50% - 28px)}.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;font-size:var(--el-font-size-base)}.el-transfer__buttons{display:inline-block;padding:0 30px;vertical-align:middle}.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{background:var(--el-bg-color-overlay);box-sizing:border-box;display:inline-block;max-height:100%;overflow:hidden;position:relative;text-align:left;vertical-align:middle;width:var(--el-transfer-panel-width)}.el-transfer-panel__body{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);border-left:1px solid var(--el-transfer-border-color);border-right:1px solid var(--el-transfer-border-color);height:var(--el-transfer-panel-body-height);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{box-sizing:border-box;height:var(--el-transfer-panel-body-height);list-style:none;margin:0;overflow:auto;padding:6px 0}.el-transfer-panel__list.is-filterable{height:calc(100% - var(--el-transfer-filter-height) - 30px);padding-top:0}.el-transfer-panel__item{display:block!important;height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding-left:15px}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:var(--el-text-color-regular);margin-right:30px}.el-transfer-panel__item:hover{color:var(--el-color-primary)}.el-transfer-panel__item.el-checkbox .el-checkbox__label{box-sizing:border-box;display:block;line-height:var(--el-transfer-item-height);overflow:hidden;padding-left:22px;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{box-sizing:border-box;padding:15px;text-align:center}.el-transfer-panel__filter .el-input__inner{box-sizing:border-box;display:inline-block;font-size:12px;height:var(--el-transfer-filter-height);width:100%}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{align-items:center;background:var(--el-transfer-panel-header-bg-color);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);display:flex;height:var(--el-transfer-panel-header-height);margin:0;padding-left:15px}.el-transfer-panel .el-transfer-panel__header .el-checkbox{align-items:center;display:flex;position:relative;width:100%}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{color:var(--el-text-color-primary);font-size:16px;font-weight:400}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span{color:var(--el-text-color-secondary);font-size:12px;font-weight:400;position:absolute;right:15px;top:50%;transform:translate3d(0,-50%,0)}.el-transfer-panel .el-transfer-panel__footer{background:var(--el-bg-color-overlay);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);height:var(--el-transfer-panel-footer-height);margin:0;padding:0}.el-transfer-panel .el-transfer-panel__footer:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{color:var(--el-text-color-regular);padding-left:20px}.el-transfer-panel .el-transfer-panel__empty{color:var(--el-text-color-secondary);height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);margin:0;padding:6px 15px 0;text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-tree{--el-tree-node-content-height:26px;--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);background:var(--el-fill-color-blank);color:var(--el-tree-text-color);cursor:default;font-size:var(--el-font-size-base);position:relative}.el-tree__empty-block{height:100%;min-height:60px;position:relative;text-align:center;width:100%}.el-tree__empty-text{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-tree__drop-indicator{background-color:var(--el-color-primary);height:1px;left:0;position:absolute;right:0}.el-tree-node{outline:none;white-space:nowrap}.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{--el-checkbox-height:var(--el-tree-node-content-height);align-items:center;cursor:pointer;display:flex;height:var(--el-tree-node-content-height)}.el-tree-node__content>.el-tree-node__expand-icon{box-sizing:content-box;padding:6px}.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{color:var(--el-tree-expand-icon-color);cursor:pointer;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;visibility:hidden}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{color:var(--el-tree-expand-icon-color);font-size:var(--el-font-size-base);margin-right:8px}.el-tree-node>.el-tree-node__children{background-color:transparent;overflow:hidden}.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-content-height:26px;--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__list>.el-select-dropdown__item{padding-left:32px}.el-tree-select__popper .el-select-dropdown__item{background:transparent!important;flex:1;height:20px;line-height:20px;padding-left:0}.el-upload{--el-upload-dragger-padding-horizontal:10px;--el-upload-dragger-padding-vertical:40px;--el-upload-list-picture-card-size:var(--el-upload-picture-card-size);--el-upload-picture-card-size:148px;align-items:center;cursor:pointer;display:inline-flex;justify-content:center;outline:none}.el-upload.is-disabled{cursor:not-allowed}.el-upload.is-disabled:focus{color:inherit}.el-upload.is-disabled:focus,.el-upload.is-disabled:focus .el-upload-dragger{border-color:var(--el-border-color-darker)}.el-upload.is-disabled .el-upload-dragger{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.el-upload.is-disabled .el-upload-dragger .el-upload__text{color:var(--el-text-color-placeholder)}.el-upload.is-disabled .el-upload-dragger .el-upload__text em{color:var(--el-disabled-text-color)}.el-upload.is-disabled .el-upload-dragger:hover{border-color:var(--el-border-color-darker)}.el-upload__input{display:none}.el-upload__tip{color:var(--el-text-color-regular);font-size:12px;margin-top:7px}.el-upload iframe{filter:alpha(opacity=0);left:0;opacity:0;position:absolute;top:0;z-index:-1}.el-upload--picture-card{align-items:center;background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);border-radius:6px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:var(--el-upload-picture-card-size);justify-content:center;vertical-align:top;width:var(--el-upload-picture-card-size)}.el-upload--picture-card>i{color:var(--el-text-color-secondary);font-size:28px}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload.is-drag{display:block}.el-upload:focus{color:var(--el-color-primary)}.el-upload:focus,.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;cursor:pointer;overflow:hidden;padding:var(--el-upload-dragger-padding-vertical) var(--el-upload-dragger-padding-horizontal);position:relative;text-align:center}.el-upload-dragger .el-icon--upload{color:var(--el-text-color-placeholder);font-size:67px;line-height:50px;margin-bottom:16px}.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);padding:calc(var(--el-upload-dragger-padding-vertical) - 1px) calc(var(--el-upload-dragger-padding-horizontal) - 1px)}.el-upload-list{--el-upload-dragger-padding-horizontal:10px;--el-upload-dragger-padding-vertical:40px;--el-upload-list-picture-card-size:var(--el-upload-picture-card-size);--el-upload-picture-card-size:148px;list-style:none;margin:10px 0 0;padding:0;position:relative}.el-upload-list__item{border-radius:4px;box-sizing:border-box;color:var(--el-text-color-regular);font-size:14px;margin-bottom:5px;position:relative;transition:all .5s cubic-bezier(.55,0,.1,1);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{color:var(--el-text-color-regular);cursor:pointer;display:none;opacity:.75;position:absolute;right:5px;top:50%;transform:translateY(-50%);transition:opacity var(--el-transition-duration)}.el-upload-list__item .el-icon--close:hover{color:var(--el-color-primary);opacity:1}.el-upload-list__item .el-icon--close-tip{color:var(--el-color-primary);cursor:pointer;display:none;font-size:12px;font-style:normal;opacity:1;position:absolute;right:5px;top:1px}.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;flex-direction:column;justify-content:center;margin-left:4px;width:calc(100% - 30px)}.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:focus .el-upload-list__item-status-label,.el-upload-list__item.is-success:hover .el-upload-list__item-status-label{display:none;opacity:0}.el-upload-list__item-name{align-items:center;color:var(--el-text-color-regular);display:inline-flex;font-size:var(--el-font-size-base);padding:0 4px;text-align:center;transition:color var(--el-transition-duration)}.el-upload-list__item-name .el-icon{color:var(--el-text-color-secondary);margin-right:6px}.el-upload-list__item-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-upload-list__item-status-label{align-items:center;display:none;height:100%;justify-content:center;line-height:inherit;position:absolute;right:5px;top:0;transition:opacity var(--el-transition-duration)}.el-upload-list__item-delete{color:var(--el-text-color-regular);display:none;font-size:12px;position:absolute;right:10px;top:0}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{display:inline-flex;flex-wrap:wrap;margin:0}.el-upload-list--picture-card .el-upload-list__item{background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:inline-flex;height:var(--el-upload-list-picture-card-size);margin:0 8px 8px 0;overflow:hidden;padding:0;width:var(--el-upload-list-picture-card-size)}.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{display:block;opacity:0}.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{height:100%;-o-object-fit:contain;object-fit:contain;width:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;transform:rotate(45deg);width:40px}.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{align-items:center;background-color:var(--el-overlay-color-lighter);color:#fff;cursor:default;display:inline-flex;font-size:20px;height:100%;justify-content:center;left:0;opacity:0;position:absolute;top:0;transition:opacity var(--el-transition-duration);width:100%}.el-upload-list--picture-card .el-upload-list__item-actions span{cursor:pointer;display:none}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:16px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{color:inherit;font-size:inherit;position:static}.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{bottom:auto;left:50%;top:50%;transform:translate(-50%,-50%);width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{align-items:center;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:flex;margin-top:10px;overflow:hidden;padding:10px;z-index:0}.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{display:inline-flex;opacity:0}.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{align-items:center;background-color:var(--el-color-white);display:inline-flex;height:70px;justify-content:center;-o-object-fit:contain;object-fit:contain;position:relative;width:70px;z-index:1}.el-upload-list--picture .el-upload-list__item-status-label{background:var(--el-color-success);height:26px;position:absolute;right:-17px;text-align:center;top:-7px;transform:rotate(45deg);width:46px}.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{cursor:default;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:10}.el-upload-cover:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-upload-cover img{display:block;height:100%;width:100%}.el-upload-cover__label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;transform:rotate(45deg);width:40px}.el-upload-cover__label i{color:#fff;font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-cover__progress{display:inline-block;position:static;vertical-align:middle;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{height:100%;left:0;position:absolute;top:0;width:100%}.el-upload-cover__interact{background-color:var(--el-overlay-color-light);bottom:0;height:100%;left:0;position:absolute;text-align:center;width:100%}.el-upload-cover__interact .btn{color:#fff;cursor:pointer;display:inline-block;font-size:14px;margin-top:60px;transition:var(--el-transition-md-fade);vertical-align:middle}.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{background-color:#fff;bottom:0;color:var(--el-text-color-primary);font-size:14px;font-weight:400;height:36px;left:0;line-height:36px;margin:0;overflow:hidden;padding:0 10px;position:absolute;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-vl__wrapper{position:relative}.el-vl__wrapper.always-on .el-virtual-scrollbar,.el-vl__wrapper:hover .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-virtual-scrollbar.always-on{opacity:1}.el-vg__wrapper{position:relative}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius,4px);--el-popper-bg-color-light:var(--el-bg-color-overlay);--el-popper-bg-color-dark:var(--el-text-color-primary);border-radius:var(--el-popper-border-radius);font-size:12px;line-height:20px;min-width:10px;overflow-wrap:break-word;padding:5px 11px;position:absolute;visibility:visible;word-break:normal;z-index:2000}.el-popper.is-dark{--el-fill-color-blank:var(--el-popper-bg-color-dark);color:var(--el-bg-color)}.el-popper.is-dark,.el-popper.is-dark>.el-popper__arrow:before{background:var(--el-popper-bg-color-dark);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark>.el-popper__arrow:before{right:0}.el-popper.is-light{--el-fill-color-blank:var(--el-popper-bg-color-light)}.el-popper.is-light,.el-popper.is-light>.el-popper__arrow:before{background:var(--el-popper-bg-color-light);border:1px solid var(--el-border-color-light)}.el-popper.is-light>.el-popper__arrow:before{right:0}.el-popper.is-pure{padding:0}.el-popper__arrow,.el-popper__arrow:before{height:10px;position:absolute;width:10px;z-index:-1}.el-popper__arrow:before{background:var(--el-text-color-primary);box-sizing:border-box;content:" ";transform:rotate(45deg)}.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-left-color:transparent!important;border-top-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-bottom-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.el-statistic{--el-statistic-title-font-weight:400;--el-statistic-title-font-size:var(--el-font-size-extra-small);--el-statistic-title-color:var(--el-text-color-regular);--el-statistic-content-font-weight:400;--el-statistic-content-font-size:var(--el-font-size-extra-large);--el-statistic-content-color:var(--el-text-color-primary)}.el-statistic__head{color:var(--el-statistic-title-color);font-size:var(--el-statistic-title-font-size);font-weight:var(--el-statistic-title-font-weight);line-height:20px;margin-bottom:4px}.el-statistic__content{color:var(--el-statistic-content-color);font-size:var(--el-statistic-content-font-size);font-weight:var(--el-statistic-content-font-weight)}.el-statistic__value{display:inline-block}.el-statistic__prefix{display:inline-block;margin-right:4px}.el-statistic__suffix{display:inline-block;margin-left:4px}.el-tour{--el-tour-width:520px;--el-tour-padding-primary:12px;--el-tour-font-line-height:var(--el-font-line-height-primary);--el-tour-title-font-size:16px;--el-tour-title-text-color:var(--el-text-color-primary);--el-tour-title-font-weight:400;--el-tour-close-color:var(--el-color-info);--el-tour-font-size:14px;--el-tour-color:var(--el-text-color-primary);--el-tour-bg-color:var(--el-bg-color);--el-tour-border-radius:4px}.el-tour__hollow{transition:all var(--el-transition-duration) ease}.el-tour__content{border-radius:var(--el-tour-border-radius);box-shadow:var(--el-box-shadow-light);outline:none;overflow-wrap:break-word;padding:var(--el-tour-padding-primary);width:var(--el-tour-width)}.el-tour__arrow,.el-tour__content{background:var(--el-tour-bg-color);box-sizing:border-box}.el-tour__arrow{height:10px;pointer-events:none;position:absolute;transform:rotate(45deg);width:10px}.el-tour__content[data-side^=top] .el-tour__arrow{border-left-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=bottom] .el-tour__arrow{border-bottom-color:transparent;border-right-color:transparent}.el-tour__content[data-side^=left] .el-tour__arrow{border-bottom-color:transparent;border-left-color:transparent}.el-tour__content[data-side^=right] .el-tour__arrow{border-right-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=top] .el-tour__arrow{bottom:-5px}.el-tour__content[data-side^=bottom] .el-tour__arrow{top:-5px}.el-tour__content[data-side^=left] .el-tour__arrow{right:-5px}.el-tour__content[data-side^=right] .el-tour__arrow{left:-5px}.el-tour__closebtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-tour__closebtn .el-tour__close{color:var(--el-tour-close-color);font-size:inherit}.el-tour__closebtn:focus .el-tour__close,.el-tour__closebtn:hover .el-tour__close{color:var(--el-color-primary)}.el-tour__header{padding-bottom:var(--el-tour-padding-primary)}.el-tour__header.show-close{padding-right:calc(var(--el-tour-padding-primary) + var(--el-message-close-size, 16px))}.el-tour__title{color:var(--el-tour-title-text-color);font-size:var(--el-tour-title-font-size);font-weight:var(--el-tour-title-font-weight);line-height:var(--el-tour-font-line-height)}.el-tour__body{color:var(--el-tour-text-color);font-size:var(--el-tour-font-size)}.el-tour__body img,.el-tour__body video{max-width:100%}.el-tour__footer{box-sizing:border-box;display:flex;justify-content:space-between;padding-top:var(--el-tour-padding-primary)}.el-tour__content .el-tour-indicators{display:inline-block;flex:1}.el-tour__content .el-tour-indicator{background:var(--el-color-info-light-9);border-radius:50%;display:inline-block;height:6px;margin-right:6px;width:6px}.el-tour__content .el-tour-indicator.is-active{background:var(--el-color-primary)}.el-tour.el-tour--primary{--el-tour-title-text-color:#fff;--el-tour-text-color:#fff;--el-tour-bg-color:var(--el-color-primary);--el-tour-close-color:#fff}.el-tour.el-tour--primary .el-tour__closebtn:focus .el-tour__close,.el-tour.el-tour--primary .el-tour__closebtn:hover .el-tour__close{color:var(--el-tour-title-text-color)}.el-tour.el-tour--primary .el-button--default{background:#fff;border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-tour.el-tour--primary .el-button--primary{border-color:#fff}.el-tour.el-tour--primary .el-tour-indicator{background:#ffffff26}.el-tour.el-tour--primary .el-tour-indicator.is-active{background:#fff}.el-tour-parent--hidden{overflow:hidden}.el-anchor{--el-anchor-bg-color:var(--el-bg-color);--el-anchor-padding-indent:14px;--el-anchor-line-height:22px;--el-anchor-font-size:12px;--el-anchor-color:var(--el-text-color-secondary);--el-anchor-active-color:var(--el-color-primary);--el-anchor-hover-color:var(--el-text-color-regular);--el-anchor-marker-bg-color:var(--el-color-primary);background-color:var(--el-anchor-bg-color);position:relative}.el-anchor__marker{background-color:var(--el-anchor-marker-bg-color);border-radius:4px;opacity:0;position:absolute;z-index:0}.el-anchor.el-anchor--vertical .el-anchor__marker{height:14px;left:0;top:8px;transition:top .25s ease-in-out,opacity .25s;width:4px}.el-anchor.el-anchor--vertical .el-anchor__list{padding-left:var(--el-anchor-padding-indent)}.el-anchor.el-anchor--vertical.el-anchor--underline:before{background-color:#0505050f;content:"";height:100%;left:0;position:absolute;width:2px}.el-anchor.el-anchor--vertical.el-anchor--underline .el-anchor__marker{border-radius:unset;width:2px}.el-anchor.el-anchor--horizontal .el-anchor__marker{bottom:0;height:2px;transition:left .25s ease-in-out,opacity .25s,width .25s;width:20px}.el-anchor.el-anchor--horizontal .el-anchor__list{display:flex;padding-bottom:4px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item{padding-left:16px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item:first-child{padding-left:0}.el-anchor.el-anchor--horizontal.el-anchor--underline:before{background-color:#0505050f;bottom:0;content:"";height:2px;position:absolute;width:100%}.el-anchor.el-anchor--horizontal.el-anchor--underline .el-anchor__marker{border-radius:unset;height:2px}.el-anchor__item{display:flex;flex-direction:column}.el-anchor__link{color:var(--el-anchor-color);cursor:pointer;font-size:var(--el-anchor-font-size);line-height:var(--el-anchor-line-height);max-width:100%;outline:none;overflow:hidden;padding:4px 0;text-decoration:none;text-overflow:ellipsis;transition:color var(--el-transition-duration);white-space:nowrap}.el-anchor__link:focus,.el-anchor__link:hover{color:var(--el-hover-color)}.el-anchor__link:focus-visible{border-radius:var(--el-border-radius-base);outline:2px solid var(--el-color-primary)}.el-anchor__link.is-active{color:var(--el-anchor-active-color)}.el-anchor .el-anchor__list .el-anchor__item a{display:inline-block}.el-segmented--vertical{flex-direction:column}.el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented{--el-segmented-color:var(--el-text-color-regular);--el-segmented-bg-color:var(--el-fill-color-light);--el-segmented-padding:2px;--el-segmented-item-selected-color:var(--el-color-white);--el-segmented-item-selected-bg-color:var(--el-color-primary);--el-segmented-item-selected-disabled-bg-color:var(--el-color-primary-light-5);--el-segmented-item-hover-color:var(--el-text-color-primary);--el-segmented-item-hover-bg-color:var(--el-fill-color-dark);--el-segmented-item-active-bg-color:var(--el-fill-color-darker);--el-segmented-item-disabled-color:var(--el-text-color-placeholder);align-items:stretch;background:var(--el-segmented-bg-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;color:var(--el-segmented-color);display:inline-flex;font-size:14px;min-height:32px;padding:var(--el-segmented-padding)}.el-segmented__group{align-items:stretch;display:flex;position:relative;width:100%}.el-segmented__item-selected{background:var(--el-segmented-item-selected-bg-color);border-radius:calc(var(--el-border-radius-base) - 2px);height:100%;left:0;pointer-events:none;position:absolute;top:0;transition:all .3s;width:10px}.el-segmented__item-selected.is-disabled{background:var(--el-segmented-item-selected-disabled-bg-color)}.el-segmented__item-selected.is-focus-visible:before{border-radius:inherit;bottom:0;content:"";left:0;outline:2px solid var(--el-segmented-item-selected-bg-color);outline-offset:1px;position:absolute;right:0;top:0}.el-segmented__item{align-items:center;border-radius:calc(var(--el-border-radius-base) - 2px);cursor:pointer;display:flex;flex:1;padding:0 11px}.el-segmented__item:not(.is-disabled):not(.is-selected):hover{background:var(--el-segmented-item-hover-bg-color);color:var(--el-segmented-item-hover-color)}.el-segmented__item:not(.is-disabled):not(.is-selected):active{background:var(--el-segmented-item-active-bg-color)}.el-segmented__item.is-selected,.el-segmented__item.is-selected.is-disabled{color:var(--el-segmented-item-selected-color)}.el-segmented__item.is-disabled{color:var(--el-segmented-item-disabled-color);cursor:not-allowed}.el-segmented__item-input{height:0;margin:0;opacity:0;pointer-events:none;position:absolute;width:0}.el-segmented__item-label{flex:1;line-height:normal;overflow:hidden;text-align:center;text-overflow:ellipsis;transition:color .3s;white-space:nowrap;z-index:1}.el-segmented.is-block{display:flex}.el-segmented.is-block .el-segmented__item{min-width:0}.el-segmented--large{border-radius:var(--el-border-radius-base);font-size:16px;min-height:40px}.el-segmented--large .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 2px)}.el-segmented--large .el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented--large .el-segmented__item{border-radius:calc(var(--el-border-radius-base) - 2px);padding:0 11px}.el-segmented--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:14px;min-height:24px}.el-segmented--small .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 3px)}.el-segmented--small .el-segmented--vertical .el-segmented__item{padding:7px}.el-segmented--small .el-segmented__item{border-radius:calc(var(--el-border-radius-base) - 3px);padding:0 7px}.el-mention{position:relative;width:100%}.el-mention__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-mention__popper.el-popper,.el-mention__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-mention__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-mention-dropdown{--el-mention-font-size:var(--el-font-size-base);--el-mention-bg-color:var(--el-bg-color-overlay);--el-mention-shadow:var(--el-box-shadow-light);--el-mention-border:1px solid var(--el-border-color-light);--el-mention-option-color:var(--el-text-color-regular);--el-mention-option-height:34px;--el-mention-option-min-width:100px;--el-mention-option-hover-background:var(--el-fill-color-light);--el-mention-option-selected-color:var(--el-color-primary);--el-mention-option-disabled-color:var(--el-text-color-placeholder);--el-mention-option-loading-color:var(--el-text-color-secondary);--el-mention-option-loading-padding:10px 0;--el-mention-max-height:174px;--el-mention-padding:6px 0;--el-mention-header-padding:10px;--el-mention-footer-padding:10px}.el-mention-dropdown__item{box-sizing:border-box;color:var(--el-mention-option-color);cursor:pointer;font-size:var(--el-mention-font-size);height:var(--el-mention-option-height);line-height:var(--el-mention-option-height);min-width:var(--el-mention-option-min-width);overflow:hidden;padding:0 20px;position:relative;text-overflow:ellipsis;white-space:nowrap}.el-mention-dropdown__item.is-hovering{background-color:var(--el-mention-option-hover-background)}.el-mention-dropdown__item.is-selected{color:var(--el-mention-option-selected-color);font-weight:700}.el-mention-dropdown__item.is-disabled{background-color:unset;color:var(--el-mention-option-disabled-color);cursor:not-allowed}.el-mention-dropdown{border-radius:var(--el-border-radius-base);box-sizing:border-box;z-index:calc(var(--el-index-top) + 1)}.el-mention-dropdown__loading{color:var(--el-mention-option-loading-color);font-size:12px;margin:0;min-width:var(--el-mention-option-min-width);padding:10px 0;text-align:center}.el-mention-dropdown__wrap{max-height:var(--el-mention-max-height)}.el-mention-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:var(--el-mention-padding)}.el-mention-dropdown__header{border-bottom:var(--el-mention-border);padding:var(--el-mention-header-padding)}.el-mention-dropdown__footer{border-top:var(--el-mention-border);padding:var(--el-mention-footer-padding)}.el-splitter{display:flex;height:100%;margin:0;padding:0;position:relative;width:100%}.el-splitter__mask{bottom:0;left:0;position:absolute;right:0;top:0;z-index:999}.el-splitter__mask-horizontal{cursor:ew-resize}.el-splitter__mask-vertical{cursor:ns-resize}.el-splitter__horizontal{flex-direction:row}.el-splitter__vertical{flex-direction:column}.el-splitter-bar{flex:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-splitter-bar__dragger{background:transparent;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:1}.el-splitter-bar__dragger:after,.el-splitter-bar__dragger:before{background-color:var(--el-border-color-light);content:"";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-splitter-bar__dragger:not(.is-lazy):after{display:none}.el-splitter-bar__dragger:after{opacity:.4}.el-splitter-bar__dragger:hover:not(.is-disabled):before{background-color:var(--el-color-primary-light-5)}.el-splitter-bar__dragger-horizontal:after,.el-splitter-bar__dragger-horizontal:before{height:100%;width:2px}.el-splitter-bar__dragger-vertical:after,.el-splitter-bar__dragger-vertical:before{height:2px;width:100%}.el-splitter-bar__dragger-active:after,.el-splitter-bar__dragger-active:before{background-color:var(--el-color-primary-light-3)}.el-splitter-bar__dragger-active.el-splitter-bar__dragger-horizontal:after{transform:translate(calc(-50% + var(--el-splitter-bar-offset)),-50%)}.el-splitter-bar__dragger-active.el-splitter-bar__dragger-vertical:after{transform:translate(-50%,calc(-50% + var(--el-splitter-bar-offset)))}.el-splitter-bar:hover .el-splitter-bar__collapse-icon{opacity:1}.el-splitter-bar__collapse-icon{align-items:center;background:var(--el-border-color-light);border-radius:2px;cursor:pointer;display:flex;justify-content:center;opacity:0;position:absolute;z-index:9}.el-splitter-bar__collapse-icon:hover{background-color:var(--el-color-primary-light-5);opacity:1}.el-splitter-bar__horizontal-collapse-icon-start{height:24px;left:-12px;top:50%;transform:translate(-50%,-50%);width:16px}.el-splitter-bar__horizontal-collapse-icon-end{height:24px;left:12px;top:50%;transform:translate(-50%,-50%);width:16px}.el-splitter-bar__vertical-collapse-icon-start{height:16px;right:50%;top:-12px;transform:translate(50%,-50%);width:24px}.el-splitter-bar__vertical-collapse-icon-end{height:16px;right:50%;top:12px;transform:translate(50%,-50%);width:24px}.el-splitter-panel{box-sizing:border-box;flex-grow:0;overflow:auto;scrollbar-width:thin}.upload-card[data-v-a0c75cf1]{border-radius:12px;border:none}.card-title[data-v-a0c75cf1]{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600}.drop-area[data-v-a0c75cf1] .el-upload-dragger{width:100%;height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:8px}.upload-icon[data-v-a0c75cf1]{font-size:48px;color:#409eff;margin-bottom:8px}.upload-text[data-v-a0c75cf1]{font-size:15px;color:#606266}.upload-text em[data-v-a0c75cf1]{color:#409eff;font-style:normal}.upload-tip[data-v-a0c75cf1]{font-size:12px;color:#909399;margin-top:6px}.option-row[data-v-a0c75cf1]{display:flex;align-items:center;gap:12px;margin-top:20px}.option-label[data-v-a0c75cf1]{font-size:14px;color:#606266;white-space:nowrap}.mode-hint[data-v-a0c75cf1]{font-size:12px;color:#909399;margin-left:4px}.submit-row[data-v-a0c75cf1]{margin-top:24px;display:flex;justify-content:center}.upload-tabs[data-v-a0c75cf1]{margin-bottom:8px}.batch-area[data-v-a0c75cf1]{min-height:160px}.batch-input-row[data-v-a0c75cf1]{display:flex;gap:12px;margin-bottom:16px}.batch-empty[data-v-a0c75cf1]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:140px;color:#909399;gap:8px}.batch-hint[data-v-a0c75cf1]{font-size:12px;color:#c0c4cc}.batch-preview[data-v-a0c75cf1]{display:flex;flex-direction:column;gap:8px}.batch-summary[data-v-a0c75cf1]{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.batch-limit-row[data-v-a0c75cf1]{display:flex;align-items:center;gap:6px;margin-left:8px}.batch-table[data-v-a0c75cf1]{border-radius:6px}.batch-more-hint[data-v-a0c75cf1]{font-size:12px;color:#909399;text-align:center;padding:4px 0}.batch-clear-btn[data-v-a0c75cf1]{align-self:flex-end}.batch-result-card[data-v-d95acc72]{border-radius:12px;border:none}.panel-header[data-v-d95acc72]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.panel-title[data-v-d95acc72]{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600}.panel-actions[data-v-d95acc72]{display:flex;align-items:center;gap:8px}.overall-progress[data-v-d95acc72]{margin-bottom:20px}.progress-label[data-v-d95acc72]{font-size:13px;color:#606266;margin-bottom:6px}.current-file[data-v-d95acc72]{color:#409eff;font-weight:500}.current-msg[data-v-d95acc72]{font-size:12px;color:#909399;margin-top:4px}.summary-row[data-v-d95acc72]{display:flex;gap:40px;padding:16px 0;border-bottom:1px solid #f0f0f0;margin-bottom:16px}.file-table[data-v-d95acc72]{margin-top:8px}.row-progress[data-v-d95acc72]{width:180px}.row-msg[data-v-d95acc72]{font-size:12px;color:#909399}.text-danger[data-v-d95acc72]{color:#f56c6c;font-size:12px}.text-success[data-v-d95acc72]{color:#67c23a;font-size:12px}.progress-card[data-v-673aebf7]{border-radius:12px;border:none}.card-title[data-v-673aebf7]{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600}.spin[data-v-673aebf7]{animation:spin-673aebf7 1.2s linear infinite;color:#409eff}@keyframes spin-673aebf7{to{transform:rotate(360deg)}}.page-indicator[data-v-673aebf7]{margin-left:auto;font-size:13px;color:#606266;font-weight:400}.main-progress[data-v-673aebf7]{margin-bottom:20px}.log-container[data-v-673aebf7]{height:280px;overflow-y:auto;background:#1e1e1e;border-radius:8px;padding:12px 16px;font-family:Consolas,Courier New,monospace;font-size:13px}.log-item[data-v-673aebf7]{line-height:1.8;color:#d4d4d4;word-break:break-all}.log-item.log-success[data-v-673aebf7]{color:#4ec9b0}.log-item.log-error[data-v-673aebf7]{color:#f44747}.log-time[data-v-673aebf7]{color:#608b4e;margin-right:6px;font-size:11px}.row-count[data-v-bfa225df]{margin-top:8px;font-size:12px;color:#909399;text-align:right}.raw-text[data-v-bfa225df]{background:#f8f8f8;border-radius:6px;padding:12px;font-size:13px;line-height:1.6;white-space:pre-wrap;word-break:break-all;max-height:400px;overflow-y:auto}.flagged-cell[data-v-bfa225df]{cursor:help}.raw-text[data-v-9250db36]{background:#f8f8f8;border-radius:6px;padding:10px;font-size:12px;line-height:1.6;white-space:pre-wrap;word-break:break-all;max-height:300px;overflow-y:auto}.toolbar-card[data-v-7ae18195],.part-card[data-v-7ae18195]{border-radius:12px;border:none;margin-bottom:16px}.toolbar[data-v-7ae18195]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.result-summary[data-v-7ae18195]{display:flex;align-items:center;gap:8px;font-size:15px}.btn-group[data-v-7ae18195]{display:flex;gap:8px;flex-wrap:wrap}.page-tabs[data-v-7ae18195]{margin-bottom:8px}.parts3-card[data-v-7ae18195]{border:2px solid #f0c040!important}.part-label[data-v-7ae18195]{font-weight:600;font-size:14px}.parts3-label[data-v-7ae18195]{color:#b45309}.meta-row[data-v-7ae18195]{margin-top:0}.token-hint[data-v-7ae18195]{font-size:12px;color:#c0c4cc;margin-left:6px}.correction-alert[data-v-7ae18195]{margin-bottom:16px;border-radius:12px}.reason-tags[data-v-7ae18195]{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.reason-tag[data-v-7ae18195]{font-size:12px}.toolbar-card[data-v-5cd76fd5],.table-card[data-v-5cd76fd5],.para-card[data-v-5cd76fd5]{border-radius:12px;border:none;margin-bottom:16px}.toolbar[data-v-5cd76fd5]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.result-summary[data-v-5cd76fd5]{display:flex;align-items:center;gap:8px;font-size:15px}.btn-group[data-v-5cd76fd5]{display:flex;gap:8px;flex-wrap:wrap}.token-hint[data-v-5cd76fd5]{font-size:12px;color:#c0c4cc;margin-left:4px}.page-tabs[data-v-5cd76fd5]{margin-bottom:8px}.table-header[data-v-5cd76fd5]{display:flex;align-items:center;gap:8px}.table-title[data-v-5cd76fd5],.para-label[data-v-5cd76fd5]{font-weight:600;font-size:14px}.para-item+.para-item[data-v-5cd76fd5]{margin-top:16px;border-top:1px solid #f0f0f0;padding-top:16px}.para-title[data-v-5cd76fd5]{font-weight:600;color:#303133;margin-bottom:6px}.para-text[data-v-5cd76fd5]{white-space:pre-wrap;word-break:break-all;font-size:13px;color:#606266;line-height:1.7;margin:0;font-family:inherit}*{box-sizing:border-box;margin:0;padding:0}body{font-family:PingFang SC,Microsoft YaHei,sans-serif;background:#f0f2f5;min-height:100vh}.ocr-app{min-height:100vh;display:flex;flex-direction:column}.app-header{background:linear-gradient(135deg,#1a5fb4,#2563eb);color:#fff;padding:0 32px;height:64px!important;display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 8px #00000026}.header-actions{display:flex;align-items:center;gap:8px}.swagger-btn,.manual-btn{color:#bfdbfe!important;border-color:#ffffff59!important;background:transparent!important;font-size:12px}.swagger-btn:hover,.manual-btn:hover{background:#ffffff26!important;color:#fff!important}.manual-btn{color:#93c5fd!important;border-color:#93c5fd!important;font-weight:600}.manual-btn:hover{background:#93c5fd26!important;color:#fff!important}.header-inner{display:flex;align-items:center;gap:12px}.logo-icon{color:#93c5fd}.title{font-size:20px;font-weight:700;letter-spacing:.5px}.subtitle{font-size:13px;color:#bfdbfe;margin-left:4px}.app-main{flex:1;padding:32px;max-width:1200px;margin:0 auto;width:100%}.mt-4{margin-top:16px}.auto-section-title{font-size:15px;font-weight:600;color:#3b82f6;margin:24px 0 8px;padding:6px 12px;background:#eff6ff;border-left:4px solid #3b82f6;border-radius:0 6px 6px 0}.manual-wrap[data-v-c74743cd]{display:flex;height:100vh;overflow:hidden;background:#f0f2f5}.sidebar[data-v-c74743cd]{width:280px;flex-shrink:0;background:#fff;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;overflow-y:auto;box-shadow:2px 0 8px #0000000f}.sb-section[data-v-c74743cd]{padding:12px 14px;border-bottom:1px solid #f3f4f6}.sb-title[data-v-c74743cd]{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#374151;margin-bottom:10px;text-transform:uppercase;letter-spacing:.4px}.sb-hint[data-v-c74743cd]{font-size:11px;color:#9ca3af;font-weight:400;text-transform:none;margin-left:auto}.src-tabs[data-v-c74743cd]{--el-font-size-base: 12px}.region-type-btns[data-v-c74743cd]{display:flex;flex-direction:column;gap:6px}.rt-btn[data-v-c74743cd]{display:flex;align-items:center;gap:8px;padding:7px 12px;border-radius:8px;border:2px solid #e5e7eb;background:#f9fafb;cursor:pointer;font-size:13px;color:#374151;transition:all .15s;font-weight:500}.rt-btn[data-v-c74743cd]:hover{border-color:var(--rt-color);background:#fff}.rt-btn.active[data-v-c74743cd]{border-color:var(--rt-color);background:color-mix(in srgb,var(--rt-color) 10%,#fff);color:var(--rt-color)}.rt-badge[data-v-c74743cd]{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:var(--rt-color);color:#fff;font-size:12px;font-weight:700;flex-shrink:0}.sb-regions[data-v-c74743cd]{flex:1;overflow:hidden;display:flex;flex-direction:column}.region-list[data-v-c74743cd]{overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:6px;max-height:320px}.region-item[data-v-c74743cd]{border:1.5px solid #e5e7eb;border-radius:8px;padding:8px 10px;cursor:pointer;transition:all .15s;background:#fafafa}.region-item[data-v-c74743cd]:hover{border-color:var(--rt-color);background:#fff}.region-item.active[data-v-c74743cd]{border-color:var(--rt-color);background:color-mix(in srgb,var(--rt-color) 8%,#fff)}.ri-top[data-v-c74743cd]{display:flex;align-items:center;gap:5px;margin-bottom:4px}.ri-badge[data-v-c74743cd]{width:18px;height:18px;border-radius:50%;background:var(--rt-color);color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.ri-label[data-v-c74743cd]{font-size:12px;font-weight:600;color:var(--rt-color)}.ri-page[data-v-c74743cd]{font-size:11px;color:#9ca3af;margin-left:auto}.ri-del[data-v-c74743cd]{color:#d1d5db;cursor:pointer;font-size:14px}.ri-del[data-v-c74743cd]:hover{color:#ef4444}.ri-status[data-v-c74743cd]{display:flex;align-items:center;gap:6px;margin-bottom:2px}.ri-tokens[data-v-c74743cd]{font-size:11px;color:#9ca3af}.ri-preview[data-v-c74743cd]{font-size:11px;color:#6b7280;white-space:pre-wrap;word-break:break-all;margin:4px 0 0;max-height:48px;overflow:hidden;font-family:Consolas,monospace}.sb-actions[data-v-c74743cd],.sb-export[data-v-c74743cd]{padding:10px 14px}.vl-progress-wrap[data-v-c74743cd]{margin-top:8px;padding:8px 10px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px}.vl-progress-label[data-v-c74743cd]{font-size:12px;color:#1d4ed8;font-weight:600;display:flex;align-items:center;gap:4px;margin-bottom:2px}.vl-done[data-v-c74743cd]{color:#059669}.vl-spin[data-v-c74743cd]{display:inline-block;animation:spin-c74743cd 1s linear infinite}.vl-fade-enter-active[data-v-c74743cd],.vl-fade-leave-active[data-v-c74743cd]{transition:opacity .3s,transform .3s}.vl-fade-enter-from[data-v-c74743cd],.vl-fade-leave-to[data-v-c74743cd]{opacity:0;transform:translateY(-4px)}.sb-footer[data-v-c74743cd]{margin-top:auto;padding:10px 14px;border-top:1px solid #f3f4f6}.viewer[data-v-c74743cd]{flex:1;display:flex;flex-direction:column;overflow:hidden;position:relative}.viewer-nav[data-v-c74743cd]{height:44px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;gap:12px;padding:0 16px;flex-shrink:0}.nav-label[data-v-c74743cd]{font-size:14px;font-weight:600;color:#374151}.nav-type-indicator[data-v-c74743cd]{display:flex;align-items:center;gap:6px;font-size:13px;color:#374151}.nt-dot[data-v-c74743cd]{width:10px;height:10px;border-radius:50%;display:inline-block}.nav-hint[data-v-c74743cd]{font-size:12px;color:#9ca3af}.zoom-bar[data-v-c74743cd]{display:flex;align-items:center;gap:4px;margin-left:auto}.zoom-pct[data-v-c74743cd]{min-width:40px;text-align:center;font-size:13px;font-weight:600;color:#374151;-webkit-user-select:none;user-select:none}.engine-badge[data-v-c74743cd]{display:flex;align-items:center;gap:6px;padding:6px 14px;border-bottom:1px solid #f3f4f6;font-size:11px}.es-text[data-v-c74743cd]{color:#6b7280}.es-dot[data-v-c74743cd]{width:7px;height:7px;border-radius:50%;flex-shrink:0;animation:pulse-c74743cd 1.5s infinite}.es-loading .es-dot[data-v-c74743cd]{background:#f59e0b}.es-ready .es-dot[data-v-c74743cd]{background:#10b981;animation:none}.es-error .es-dot[data-v-c74743cd]{background:#ef4444;animation:none}.es-ready .es-text[data-v-c74743cd]{color:#059669}.es-error .es-text[data-v-c74743cd]{color:#ef4444}@keyframes pulse-c74743cd{0%,to{opacity:1}50%{opacity:.3}}.viewer-empty[data-v-c74743cd]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#9ca3af;font-size:14px}.img-wrap[data-v-c74743cd]{flex:1;overflow:auto;background:#e5e7eb;padding:12px;box-sizing:border-box;text-align:center}.img-inner[data-v-c74743cd]{position:relative;display:inline-block;line-height:0;text-align:left}.pdf-canvas[data-v-c74743cd]{display:block;-webkit-user-select:none;user-select:none}.overlay-canvas[data-v-c74743cd]{position:absolute;top:0;left:0}.overlay-canvas[data-mode=draw][data-v-c74743cd]{cursor:crosshair}.overlay-canvas[data-mode=pan][data-v-c74743cd]{cursor:grab}.overlay-canvas[data-mode=pan][data-v-c74743cd]:active{cursor:grabbing}.page-loading[data-v-c74743cd]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;gap:8px;color:#6b7280;background:#ffffffb3;z-index:10;pointer-events:none}.spin[data-v-c74743cd]{animation:spin-c74743cd 1s linear infinite}@keyframes spin-c74743cd{to{transform:rotate(360deg)}}.result-panel[data-v-c74743cd]{position:absolute;bottom:16px;right:16px;width:440px;max-width:90%;background:#fff;border-radius:10px;box-shadow:0 8px 30px #00000026;z-index:50;overflow:hidden;border:1px solid #e5e7eb}.rp-header[data-v-c74743cd]{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#f8fafc;border-bottom:1px solid #e5e7eb}.rp-badge[data-v-c74743cd]{width:20px;height:20px;border-radius:50%;color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.rp-title[data-v-c74743cd]{font-size:13px;font-weight:600;color:#374151}.rp-tokens[data-v-c74743cd]{font-size:11px;color:#9ca3af;margin-left:auto}.rp-text[data-v-c74743cd]{padding:10px 14px;font-size:13px;line-height:1.7;color:#1f2937;white-space:pre-wrap;word-break:break-all;max-height:260px;overflow-y:auto;font-family:Consolas,PingFang SC,monospace}.fade-enter-active[data-v-c74743cd],.fade-leave-active[data-v-c74743cd]{transition:opacity .2s,transform .2s}.fade-enter-from[data-v-c74743cd],.fade-leave-to[data-v-c74743cd]{opacity:0;transform:translateY(10px)} diff --git a/HJGL_DS/FineUIPro.Web/HJGL/DataIn/ocrz-app.js b/HJGL_DS/FineUIPro.Web/HJGL/DataIn/ocrz-app.js index 89015c6..5c4336a 100644 --- a/HJGL_DS/FineUIPro.Web/HJGL/DataIn/ocrz-app.js +++ b/HJGL_DS/FineUIPro.Web/HJGL/DataIn/ocrz-app.js @@ -6,24 +6,24 @@ var zye=Object.defineProperty;var sR=kn=>{throw TypeError(kn)};var Hye=(kn,Mn,Ut * @vue/reactivity v3.5.28 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let na;class F_{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=na,!t&&na&&(this.index=(na.scopes||(na.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(na=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if($0){let t=$0;for($0=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;N0;){let t=N0;for(N0=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function j_(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function K_(e){let t,n=e.depsTail,s=n;for(;s;){const a=s.prevDep;s.version===-1?(s===n&&(n=a),y4(s),zI(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=a}e.deps=t,e.depsTail=n}function b4(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(U_(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function U_(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===D0)||(e.globalVersion=D0,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!b4(e))))return;e.flags|=2;const t=e.dep,n=Vn,s=nr;Vn=e,nr=!0;try{j_(e);const a=e.fn(e._value);(t.version===0||Ul(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{Vn=n,nr=s,K_(e),e.flags&=-3}}function y4(e,t=!1){const{dep:n,prevSub:s,nextSub:a}=e;if(s&&(s.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)y4(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function zI(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let nr=!0;const q_=[];function Vr(){q_.push(nr),nr=!1}function zr(){const e=q_.pop();nr=e===void 0?!0:e}function G_(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Vn;Vn=void 0;try{t()}finally{Vn=n}}}let D0=0;class HI{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class w4{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Vn||!nr||Vn===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Vn)n=this.activeLink=new HI(Vn,this),Vn.deps?(n.prevDep=Vn.depsTail,Vn.depsTail.nextDep=n,Vn.depsTail=n):Vn.deps=Vn.depsTail=n,Y_(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Vn.depsTail,n.nextDep=void 0,Vn.depsTail.nextDep=n,Vn.depsTail=n,Vn.deps===n&&(Vn.deps=s)}return n}trigger(t){this.version++,D0++,this.notify(t)}notify(t){m4();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{g4()}}}function Y_(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Y_(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const k2=new WeakMap,su=Symbol(""),_4=Symbol(""),F0=Symbol("");function sa(e,t,n){if(nr&&Vn){let s=k2.get(e);s||k2.set(e,s=new Map);let a=s.get(n);a||(s.set(n,a=new w4),a.map=s,a.key=n),a.track()}}function Li(e,t,n,s,a,o){const r=k2.get(e);if(!r){D0++;return}const i=l=>{l&&l.trigger()};if(m4(),t==="clear")r.forEach(i);else{const l=ke(e),c=l&&C2(n);if(l&&n==="length"){const u=Number(s);r.forEach((d,h)=>{(h==="length"||h===F0||!tr(h)&&h>=u)&&i(d)})}else switch((n!==void 0||r.has(void 0))&&i(r.get(n)),c&&i(r.get(F0)),t){case"add":l?c&&i(r.get("length")):(i(r.get(su)),rf(e)&&i(r.get(_4)));break;case"delete":l||(i(r.get(su)),rf(e)&&i(r.get(_4)));break;case"set":rf(e)&&i(r.get(su));break}}g4()}function WI(e,t){const n=k2.get(e);return n&&n.get(t)}function lf(e){const t=cn(e);return t===e?t:(sa(t,"iterate",F0),oo(e)?t:t.map(sr))}function A2(e){return sa(e=cn(e),"iterate",F0),e}function ql(e,t){return $i(e)?cf(ou(e)?sr(t):t):sr(t)}const jI={__proto__:null,[Symbol.iterator](){return C4(this,Symbol.iterator,e=>ql(this,e))},concat(...e){return lf(this).concat(...e.map(t=>ke(t)?lf(t):t))},entries(){return C4(this,"entries",e=>(e[1]=ql(this,e[1]),e))},every(e,t){return Ni(this,"every",e,t,void 0,arguments)},filter(e,t){return Ni(this,"filter",e,t,n=>n.map(s=>ql(this,s)),arguments)},find(e,t){return Ni(this,"find",e,t,n=>ql(this,n),arguments)},findIndex(e,t){return Ni(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ni(this,"findLast",e,t,n=>ql(this,n),arguments)},findLastIndex(e,t){return Ni(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ni(this,"forEach",e,t,void 0,arguments)},includes(...e){return S4(this,"includes",e)},indexOf(...e){return S4(this,"indexOf",e)},join(e){return lf(this).join(e)},lastIndexOf(...e){return S4(this,"lastIndexOf",e)},map(e,t){return Ni(this,"map",e,t,void 0,arguments)},pop(){return B0(this,"pop")},push(...e){return B0(this,"push",e)},reduce(e,...t){return X_(this,"reduce",e,t)},reduceRight(e,...t){return X_(this,"reduceRight",e,t)},shift(){return B0(this,"shift")},some(e,t){return Ni(this,"some",e,t,void 0,arguments)},splice(...e){return B0(this,"splice",e)},toReversed(){return lf(this).toReversed()},toSorted(e){return lf(this).toSorted(e)},toSpliced(...e){return lf(this).toSpliced(...e)},unshift(...e){return B0(this,"unshift",e)},values(){return C4(this,"values",e=>ql(this,e))}};function C4(e,t,n){const s=A2(e),a=s[t]();return s!==e&&!oo(e)&&(a._next=a.next,a.next=()=>{const o=a._next();return o.done||(o.value=n(o.value)),o}),a}const KI=Array.prototype;function Ni(e,t,n,s,a,o){const r=A2(e),i=r!==e&&!oo(e),l=r[t];if(l!==KI[t]){const d=l.apply(e,o);return i?sr(d):d}let c=n;r!==e&&(i?c=function(d,h){return n.call(this,ql(e,d),h,e)}:n.length>2&&(c=function(d,h){return n.call(this,d,h,e)}));const u=l.call(r,c,s);return i&&a?a(u):u}function X_(e,t,n,s){const a=A2(e);let o=n;return a!==e&&(oo(e)?n.length>3&&(o=function(r,i,l){return n.call(this,r,i,l,e)}):o=function(r,i,l){return n.call(this,r,ql(e,i),l,e)}),a[t](o,...s)}function S4(e,t,n){const s=cn(e);sa(s,"iterate",F0);const a=s[t](...n);return(a===-1||a===!1)&&O2(n[0])?(n[0]=cn(n[0]),s[t](...n)):a}function B0(e,t,n=[]){Vr(),m4();const s=cn(e)[t].apply(e,n);return g4(),zr(),s}const UI=Mn("__proto__,__v_isRef,__isVue"),J_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(tr));function qI(e){tr(e)||(e=String(e));const t=cn(this);return sa(t,"has",e),t.hasOwnProperty(e)}class Z_{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const a=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(a?o?aC:sC:o?nC:tC).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const r=ke(t);if(!a){let l;if(r&&(l=jI[n]))return l;if(n==="hasOwnProperty")return qI}const i=Reflect.get(t,n,pn(t)?t:s);if((tr(n)?J_.has(n):UI(n))||(a||sa(t,"get",n),o))return i;if(pn(i)){const l=r&&C2(n)?i:i.value;return a&&ht(l)?au(l):l}return ht(i)?a?au(i):Wt(i):i}}class Q_ extends Z_{constructor(t=!1){super(!1,t)}set(t,n,s,a){let o=t[n];const r=ke(t)&&C2(n);if(!this._isShallow){const c=$i(o);if(!oo(s)&&!$i(s)&&(o=cn(o),s=cn(s)),!r&&pn(o)&&!pn(s))return c||(o.value=s),!0}const i=r?Number(n)e,T2=e=>Reflect.getPrototypeOf(e);function ZI(e,t,n){return function(...s){const a=this.__v_raw,o=cn(a),r=rf(o),i=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=a[e](...s),u=n?x4:t?cf:sr;return!t&&sa(o,"iterate",l?_4:su),hs(Object.create(c),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:i?[u(d[0]),u(d[1])]:u(d),done:h}}})}}function M2(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function QI(e,t){const n={get(a){const o=this.__v_raw,r=cn(o),i=cn(a);e||(Ul(a,i)&&sa(r,"get",a),sa(r,"get",i));const{has:l}=T2(r),c=t?x4:e?cf:sr;if(l.call(r,a))return c(o.get(a));if(l.call(r,i))return c(o.get(i));o!==r&&o.get(a)},get size(){const a=this.__v_raw;return!e&&sa(cn(a),"iterate",su),a.size},has(a){const o=this.__v_raw,r=cn(o),i=cn(a);return e||(Ul(a,i)&&sa(r,"has",a),sa(r,"has",i)),a===i?o.has(a):o.has(a)||o.has(i)},forEach(a,o){const r=this,i=r.__v_raw,l=cn(i),c=t?x4:e?cf:sr;return!e&&sa(l,"iterate",su),i.forEach((u,d)=>a.call(o,c(u),c(d),r))}};return hs(n,e?{add:M2("add"),set:M2("set"),delete:M2("delete"),clear:M2("clear")}:{add(a){!t&&!oo(a)&&!$i(a)&&(a=cn(a));const o=cn(this);return T2(o).has.call(o,a)||(o.add(a),Li(o,"add",a,a)),this},set(a,o){!t&&!oo(o)&&!$i(o)&&(o=cn(o));const r=cn(this),{has:i,get:l}=T2(r);let c=i.call(r,a);c||(a=cn(a),c=i.call(r,a));const u=l.call(r,a);return r.set(a,o),c?Ul(o,u)&&Li(r,"set",a,o):Li(r,"add",a,o),this},delete(a){const o=cn(this),{has:r,get:i}=T2(o);let l=r.call(o,a);l||(a=cn(a),l=r.call(o,a)),i&&i.call(o,a);const c=o.delete(a);return l&&Li(o,"delete",a,void 0),c},clear(){const a=cn(this),o=a.size!==0,r=a.clear();return o&&Li(a,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(a=>{n[a]=ZI(a,e,t)}),n}function P2(e,t){const n=QI(e,t);return(s,a,o)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?s:Reflect.get(Ht(n,a)&&a in s?n:s,a,o)}const eO={get:P2(!1,!1)},tO={get:P2(!1,!0)},nO={get:P2(!0,!1)},sO={get:P2(!0,!0)},tC=new WeakMap,nC=new WeakMap,sC=new WeakMap,aC=new WeakMap;function aO(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function oO(e){return e.__v_skip||!Object.isExtensible(e)?0:aO(PI(e))}function Wt(e){return $i(e)?e:I2(e,!1,GI,eO,tC)}function R2(e){return I2(e,!1,XI,tO,nC)}function au(e){return I2(e,!0,YI,nO,sC)}function jye(e){return I2(e,!0,JI,sO,aC)}function I2(e,t,n,s,a){if(!ht(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=oO(e);if(o===0)return e;const r=a.get(e);if(r)return r;const i=new Proxy(e,o===2?s:n);return a.set(e,i),i}function ou(e){return $i(e)?ou(e.__v_raw):!!(e&&e.__v_isReactive)}function $i(e){return!!(e&&e.__v_isReadonly)}function oo(e){return!!(e&&e.__v_isShallow)}function O2(e){return e?!!e.__v_raw:!1}function cn(e){const t=e&&e.__v_raw;return t?cn(t):e}function Hr(e){return!Ht(e,"__v_skip")&&Object.isExtensible(e)&&I_(e,"__v_skip",!0),e}const sr=e=>ht(e)?Wt(e):e,cf=e=>ht(e)?au(e):e;function pn(e){return e?e.__v_isRef===!0:!1}function F(e){return oC(e,!1)}function hn(e){return oC(e,!0)}function oC(e,t){return pn(e)?e:new rO(e,t)}class rO{constructor(t,n){this.dep=new w4,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:cn(t),this._value=n?t:sr(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||oo(t)||$i(t);t=s?t:cn(t),Ul(t,n)&&(this._rawValue=t,this._value=s?t:sr(t),this.dep.trigger())}}function L2(e){e.dep&&e.dep.trigger()}function f(e){return pn(e)?e.value:e}const iO={get:(e,t,n)=>t==="__v_raw"?e:f(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const a=e[t];return pn(a)&&!pn(n)?(a.value=n,!0):Reflect.set(e,t,n,s)}};function rC(e){return ou(e)?e:new Proxy(e,iO)}function ps(e){const t=ke(e)?new Array(e.length):{};for(const n in e)t[n]=iC(e,n);return t}class lO{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._raw=cn(t);let a=!0,o=t;if(!ke(t)||!C2(String(n)))do a=!O2(o)||oo(o);while(a&&(o=o.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=f(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&pn(this._raw[this._key])){const n=this._object[this._key];if(pn(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return WI(this._raw,this._key)}}class cO{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Jt(e,t,n){return pn(e)?e:et(e)?new cO(e):ht(e)&&arguments.length>1?iC(e,t,n):F(e)}function iC(e,t,n){return new lO(e,t,n)}class uO{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new w4(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=D0-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Vn!==this)return W_(this,!0),!0}get value(){const t=this.dep.track();return U_(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function dO(e,t,n=!1){let s,a;return et(e)?s=e:(s=e.get,a=e.set),new uO(s,a,n)}const N2={},$2=new WeakMap;let ru;function fO(e,t=!1,n=ru){if(n){let s=$2.get(n);s||$2.set(n,s=[]),s.push(e)}}function hO(e,t,n=Ut){const{immediate:s,deep:a,once:o,scheduler:r,augmentJob:i,call:l}=n,c=_=>a?_:oo(_)||a===!1||a===0?Di(_,1):Di(_);let u,d,h,p,v=!1,m=!1;if(pn(e)?(d=()=>e.value,v=oo(e)):ou(e)?(d=()=>c(e),v=!0):ke(e)?(m=!0,v=e.some(_=>ou(_)||oo(_)),d=()=>e.map(_=>{if(pn(_))return _.value;if(ou(_))return c(_);if(et(_))return l?l(_,2):_()})):et(e)?t?d=l?()=>l(e,2):e:d=()=>{if(h){Vr();try{h()}finally{zr()}}const _=ru;ru=u;try{return l?l(e,3,[p]):e(p)}finally{ru=_}}:d=qt,t&&a){const _=d,x=a===!0?1/0:a;d=()=>Di(_(),x)}const g=B_(),b=()=>{u.stop(),g&&g.active&&f4(g.effects,u)};if(o&&t){const _=t;t=(...x)=>{_(...x),b()}}let C=m?new Array(e.length).fill(N2):N2;const w=_=>{if(!(!(u.flags&1)||!u.dirty&&!_))if(t){const x=u.run();if(a||v||(m?x.some((E,T)=>Ul(E,C[T])):Ul(x,C))){h&&h();const E=ru;ru=u;try{const T=[x,C===N2?void 0:m&&C[0]===N2?[]:C,p];C=x,l?l(t,3,T):t(...T)}finally{ru=E}}}else u.run()};return i&&i(w),u=new z_(d),u.scheduler=r?()=>r(w,!1):w,p=_=>fO(_,!1,u),h=u.onStop=()=>{const _=$2.get(u);if(_){if(l)l(_,4);else for(const x of _)x();$2.delete(u)}},t?s?w(!0):C=u.run():r?r(w.bind(null,!0),!0):u.run(),b.pause=u.pause.bind(u),b.resume=u.resume.bind(u),b.stop=b,b}function Di(e,t=1/0,n){if(t<=0||!ht(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,pn(e))Di(e.value,t,n);else if(ke(e))for(let s=0;s{Di(s,t,n)});else if(R0(e)){for(const s in e)Di(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Di(e[s],t,n)}return e}/** +**/let na;class F_{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=na,!t&&na&&(this.index=(na.scopes||(na.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(na=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if($0){let t=$0;for($0=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;N0;){let t=N0;for(N0=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function j_(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function K_(e){let t,n=e.depsTail,s=n;for(;s;){const a=s.prevDep;s.version===-1?(s===n&&(n=a),y4(s),zI(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=a}e.deps=t,e.depsTail=n}function b4(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(U_(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function U_(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===D0)||(e.globalVersion=D0,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!b4(e))))return;e.flags|=2;const t=e.dep,n=Vn,s=nr;Vn=e,nr=!0;try{j_(e);const a=e.fn(e._value);(t.version===0||Ul(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{Vn=n,nr=s,K_(e),e.flags&=-3}}function y4(e,t=!1){const{dep:n,prevSub:s,nextSub:a}=e;if(s&&(s.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)y4(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function zI(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let nr=!0;const q_=[];function Vr(){q_.push(nr),nr=!1}function zr(){const e=q_.pop();nr=e===void 0?!0:e}function G_(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Vn;Vn=void 0;try{t()}finally{Vn=n}}}let D0=0;class HI{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class w4{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Vn||!nr||Vn===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Vn)n=this.activeLink=new HI(Vn,this),Vn.deps?(n.prevDep=Vn.depsTail,Vn.depsTail.nextDep=n,Vn.depsTail=n):Vn.deps=Vn.depsTail=n,Y_(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Vn.depsTail,n.nextDep=void 0,Vn.depsTail.nextDep=n,Vn.depsTail=n,Vn.deps===n&&(Vn.deps=s)}return n}trigger(t){this.version++,D0++,this.notify(t)}notify(t){m4();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{g4()}}}function Y_(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Y_(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const k2=new WeakMap,su=Symbol(""),_4=Symbol(""),F0=Symbol("");function sa(e,t,n){if(nr&&Vn){let s=k2.get(e);s||k2.set(e,s=new Map);let a=s.get(n);a||(s.set(n,a=new w4),a.map=s,a.key=n),a.track()}}function Li(e,t,n,s,a,o){const r=k2.get(e);if(!r){D0++;return}const i=l=>{l&&l.trigger()};if(m4(),t==="clear")r.forEach(i);else{const l=ke(e),c=l&&C2(n);if(l&&n==="length"){const u=Number(s);r.forEach((d,h)=>{(h==="length"||h===F0||!tr(h)&&h>=u)&&i(d)})}else switch((n!==void 0||r.has(void 0))&&i(r.get(n)),c&&i(r.get(F0)),t){case"add":l?c&&i(r.get("length")):(i(r.get(su)),rf(e)&&i(r.get(_4)));break;case"delete":l||(i(r.get(su)),rf(e)&&i(r.get(_4)));break;case"set":rf(e)&&i(r.get(su));break}}g4()}function WI(e,t){const n=k2.get(e);return n&&n.get(t)}function lf(e){const t=cn(e);return t===e?t:(sa(t,"iterate",F0),oo(e)?t:t.map(sr))}function A2(e){return sa(e=cn(e),"iterate",F0),e}function ql(e,t){return $i(e)?cf(ou(e)?sr(t):t):sr(t)}const jI={__proto__:null,[Symbol.iterator](){return C4(this,Symbol.iterator,e=>ql(this,e))},concat(...e){return lf(this).concat(...e.map(t=>ke(t)?lf(t):t))},entries(){return C4(this,"entries",e=>(e[1]=ql(this,e[1]),e))},every(e,t){return Ni(this,"every",e,t,void 0,arguments)},filter(e,t){return Ni(this,"filter",e,t,n=>n.map(s=>ql(this,s)),arguments)},find(e,t){return Ni(this,"find",e,t,n=>ql(this,n),arguments)},findIndex(e,t){return Ni(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ni(this,"findLast",e,t,n=>ql(this,n),arguments)},findLastIndex(e,t){return Ni(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ni(this,"forEach",e,t,void 0,arguments)},includes(...e){return S4(this,"includes",e)},indexOf(...e){return S4(this,"indexOf",e)},join(e){return lf(this).join(e)},lastIndexOf(...e){return S4(this,"lastIndexOf",e)},map(e,t){return Ni(this,"map",e,t,void 0,arguments)},pop(){return B0(this,"pop")},push(...e){return B0(this,"push",e)},reduce(e,...t){return X_(this,"reduce",e,t)},reduceRight(e,...t){return X_(this,"reduceRight",e,t)},shift(){return B0(this,"shift")},some(e,t){return Ni(this,"some",e,t,void 0,arguments)},splice(...e){return B0(this,"splice",e)},toReversed(){return lf(this).toReversed()},toSorted(e){return lf(this).toSorted(e)},toSpliced(...e){return lf(this).toSpliced(...e)},unshift(...e){return B0(this,"unshift",e)},values(){return C4(this,"values",e=>ql(this,e))}};function C4(e,t,n){const s=A2(e),a=s[t]();return s!==e&&!oo(e)&&(a._next=a.next,a.next=()=>{const o=a._next();return o.done||(o.value=n(o.value)),o}),a}const KI=Array.prototype;function Ni(e,t,n,s,a,o){const r=A2(e),i=r!==e&&!oo(e),l=r[t];if(l!==KI[t]){const d=l.apply(e,o);return i?sr(d):d}let c=n;r!==e&&(i?c=function(d,h){return n.call(this,ql(e,d),h,e)}:n.length>2&&(c=function(d,h){return n.call(this,d,h,e)}));const u=l.call(r,c,s);return i&&a?a(u):u}function X_(e,t,n,s){const a=A2(e);let o=n;return a!==e&&(oo(e)?n.length>3&&(o=function(r,i,l){return n.call(this,r,i,l,e)}):o=function(r,i,l){return n.call(this,r,ql(e,i),l,e)}),a[t](o,...s)}function S4(e,t,n){const s=cn(e);sa(s,"iterate",F0);const a=s[t](...n);return(a===-1||a===!1)&&O2(n[0])?(n[0]=cn(n[0]),s[t](...n)):a}function B0(e,t,n=[]){Vr(),m4();const s=cn(e)[t].apply(e,n);return g4(),zr(),s}const UI=Mn("__proto__,__v_isRef,__isVue"),J_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(tr));function qI(e){tr(e)||(e=String(e));const t=cn(this);return sa(t,"has",e),t.hasOwnProperty(e)}class Z_{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const a=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(a?o?aC:sC:o?nC:tC).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const r=ke(t);if(!a){let l;if(r&&(l=jI[n]))return l;if(n==="hasOwnProperty")return qI}const i=Reflect.get(t,n,pn(t)?t:s);if((tr(n)?J_.has(n):UI(n))||(a||sa(t,"get",n),o))return i;if(pn(i)){const l=r&&C2(n)?i:i.value;return a&&ht(l)?au(l):l}return ht(i)?a?au(i):Wt(i):i}}class Q_ extends Z_{constructor(t=!1){super(!1,t)}set(t,n,s,a){let o=t[n];const r=ke(t)&&C2(n);if(!this._isShallow){const c=$i(o);if(!oo(s)&&!$i(s)&&(o=cn(o),s=cn(s)),!r&&pn(o)&&!pn(s))return c||(o.value=s),!0}const i=r?Number(n)e,T2=e=>Reflect.getPrototypeOf(e);function ZI(e,t,n){return function(...s){const a=this.__v_raw,o=cn(a),r=rf(o),i=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=a[e](...s),u=n?x4:t?cf:sr;return!t&&sa(o,"iterate",l?_4:su),hs(Object.create(c),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:i?[u(d[0]),u(d[1])]:u(d),done:h}}})}}function M2(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function QI(e,t){const n={get(a){const o=this.__v_raw,r=cn(o),i=cn(a);e||(Ul(a,i)&&sa(r,"get",a),sa(r,"get",i));const{has:l}=T2(r),c=t?x4:e?cf:sr;if(l.call(r,a))return c(o.get(a));if(l.call(r,i))return c(o.get(i));o!==r&&o.get(a)},get size(){const a=this.__v_raw;return!e&&sa(cn(a),"iterate",su),a.size},has(a){const o=this.__v_raw,r=cn(o),i=cn(a);return e||(Ul(a,i)&&sa(r,"has",a),sa(r,"has",i)),a===i?o.has(a):o.has(a)||o.has(i)},forEach(a,o){const r=this,i=r.__v_raw,l=cn(i),c=t?x4:e?cf:sr;return!e&&sa(l,"iterate",su),i.forEach((u,d)=>a.call(o,c(u),c(d),r))}};return hs(n,e?{add:M2("add"),set:M2("set"),delete:M2("delete"),clear:M2("clear")}:{add(a){!t&&!oo(a)&&!$i(a)&&(a=cn(a));const o=cn(this);return T2(o).has.call(o,a)||(o.add(a),Li(o,"add",a,a)),this},set(a,o){!t&&!oo(o)&&!$i(o)&&(o=cn(o));const r=cn(this),{has:i,get:l}=T2(r);let c=i.call(r,a);c||(a=cn(a),c=i.call(r,a));const u=l.call(r,a);return r.set(a,o),c?Ul(o,u)&&Li(r,"set",a,o):Li(r,"add",a,o),this},delete(a){const o=cn(this),{has:r,get:i}=T2(o);let l=r.call(o,a);l||(a=cn(a),l=r.call(o,a)),i&&i.call(o,a);const c=o.delete(a);return l&&Li(o,"delete",a,void 0),c},clear(){const a=cn(this),o=a.size!==0,r=a.clear();return o&&Li(a,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(a=>{n[a]=ZI(a,e,t)}),n}function P2(e,t){const n=QI(e,t);return(s,a,o)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?s:Reflect.get(Ht(n,a)&&a in s?n:s,a,o)}const eO={get:P2(!1,!1)},tO={get:P2(!1,!0)},nO={get:P2(!0,!1)},sO={get:P2(!0,!0)},tC=new WeakMap,nC=new WeakMap,sC=new WeakMap,aC=new WeakMap;function aO(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function oO(e){return e.__v_skip||!Object.isExtensible(e)?0:aO(PI(e))}function Wt(e){return $i(e)?e:I2(e,!1,GI,eO,tC)}function R2(e){return I2(e,!1,XI,tO,nC)}function au(e){return I2(e,!0,YI,nO,sC)}function jye(e){return I2(e,!0,JI,sO,aC)}function I2(e,t,n,s,a){if(!ht(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=oO(e);if(o===0)return e;const r=a.get(e);if(r)return r;const i=new Proxy(e,o===2?s:n);return a.set(e,i),i}function ou(e){return $i(e)?ou(e.__v_raw):!!(e&&e.__v_isReactive)}function $i(e){return!!(e&&e.__v_isReadonly)}function oo(e){return!!(e&&e.__v_isShallow)}function O2(e){return e?!!e.__v_raw:!1}function cn(e){const t=e&&e.__v_raw;return t?cn(t):e}function Hr(e){return!Ht(e,"__v_skip")&&Object.isExtensible(e)&&I_(e,"__v_skip",!0),e}const sr=e=>ht(e)?Wt(e):e,cf=e=>ht(e)?au(e):e;function pn(e){return e?e.__v_isRef===!0:!1}function F(e){return oC(e,!1)}function hn(e){return oC(e,!0)}function oC(e,t){return pn(e)?e:new rO(e,t)}class rO{constructor(t,n){this.dep=new w4,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:cn(t),this._value=n?t:sr(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||oo(t)||$i(t);t=s?t:cn(t),Ul(t,n)&&(this._rawValue=t,this._value=s?t:sr(t),this.dep.trigger())}}function L2(e){e.dep&&e.dep.trigger()}function f(e){return pn(e)?e.value:e}const iO={get:(e,t,n)=>t==="__v_raw"?e:f(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const a=e[t];return pn(a)&&!pn(n)?(a.value=n,!0):Reflect.set(e,t,n,s)}};function rC(e){return ou(e)?e:new Proxy(e,iO)}function ps(e){const t=ke(e)?new Array(e.length):{};for(const n in e)t[n]=iC(e,n);return t}class lO{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._raw=cn(t);let a=!0,o=t;if(!ke(t)||!C2(String(n)))do a=!O2(o)||oo(o);while(a&&(o=o.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=f(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&pn(this._raw[this._key])){const n=this._object[this._key];if(pn(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return WI(this._raw,this._key)}}class cO{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Jt(e,t,n){return pn(e)?e:et(e)?new cO(e):ht(e)&&arguments.length>1?iC(e,t,n):F(e)}function iC(e,t,n){return new lO(e,t,n)}class uO{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new w4(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=D0-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Vn!==this)return W_(this,!0),!0}get value(){const t=this.dep.track();return U_(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function dO(e,t,n=!1){let s,a;return et(e)?s=e:(s=e.get,a=e.set),new uO(s,a,n)}const N2={},$2=new WeakMap;let ru;function fO(e,t=!1,n=ru){if(n){let s=$2.get(n);s||$2.set(n,s=[]),s.push(e)}}function hO(e,t,n=Ut){const{immediate:s,deep:a,once:o,scheduler:r,augmentJob:i,call:l}=n,c=C=>a?C:oo(C)||a===!1||a===0?Di(C,1):Di(C);let u,d,h,p,v=!1,m=!1;if(pn(e)?(d=()=>e.value,v=oo(e)):ou(e)?(d=()=>c(e),v=!0):ke(e)?(m=!0,v=e.some(C=>ou(C)||oo(C)),d=()=>e.map(C=>{if(pn(C))return C.value;if(ou(C))return c(C);if(et(C))return l?l(C,2):C()})):et(e)?t?d=l?()=>l(e,2):e:d=()=>{if(h){Vr();try{h()}finally{zr()}}const C=ru;ru=u;try{return l?l(e,3,[p]):e(p)}finally{ru=C}}:d=qt,t&&a){const C=d,x=a===!0?1/0:a;d=()=>Di(C(),x)}const g=B_(),b=()=>{u.stop(),g&&g.active&&f4(g.effects,u)};if(o&&t){const C=t;t=(...x)=>{C(...x),b()}}let _=m?new Array(e.length).fill(N2):N2;const w=C=>{if(!(!(u.flags&1)||!u.dirty&&!C))if(t){const x=u.run();if(a||v||(m?x.some((E,T)=>Ul(E,_[T])):Ul(x,_))){h&&h();const E=ru;ru=u;try{const T=[x,_===N2?void 0:m&&_[0]===N2?[]:_,p];_=x,l?l(t,3,T):t(...T)}finally{ru=E}}}else u.run()};return i&&i(w),u=new z_(d),u.scheduler=r?()=>r(w,!1):w,p=C=>fO(C,!1,u),h=u.onStop=()=>{const C=$2.get(u);if(C){if(l)l(C,4);else for(const x of C)x();$2.delete(u)}},t?s?w(!0):_=u.run():r?r(w.bind(null,!0),!0):u.run(),b.pause=u.pause.bind(u),b.resume=u.resume.bind(u),b.stop=b,b}function Di(e,t=1/0,n){if(t<=0||!ht(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,pn(e))Di(e.value,t,n);else if(ke(e))for(let s=0;s{Di(s,t,n)});else if(R0(e)){for(const s in e)Di(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Di(e[s],t,n)}return e}/** * @vue/runtime-core v3.5.28 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const V0=[];let E4=!1;function Kye(e,...t){if(E4)return;E4=!0,Vr();const n=V0.length?V0[V0.length-1].component:null,s=n&&n.appContext.config.warnHandler,a=pO();if(s)uf(s,n,11,[e+t.map(o=>{var r,i;return(i=(r=o.toString)==null?void 0:r.call(o))!=null?i:JSON.stringify(o)}).join(""),n&&n.proxy,a.map(({vnode:o})=>`at <${pS(n,o.type)}>`).join(` `),a]);else{const o=[`[Vue warn]: ${e}`,...t];a.length&&o.push(` `,...vO(a)),console.warn(...o)}zr(),E4=!1}function pO(){let e=V0[V0.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 s=e.component&&e.component.parent;e=s&&s.vnode}return t}function vO(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[` -`],...mO(n))}),t}function mO({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,a=` at <${pS(e.component,e.type,s)}`,o=">"+n;return e.props?[a,...gO(e.props),o]:[a+o]}function gO(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...lC(s,e[s]))}),n.length>3&&t.push(" ..."),t}function lC(e,t,n){return Xe(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:pn(t)?(t=lC(e,cn(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):et(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=cn(t),n?t:[`${e}=`,t])}function uf(e,t,n,s){try{return s?e(...s):e()}catch(a){D2(a,t,n)}}function ar(e,t,n,s){if(et(e)){const a=uf(e,t,n,s);return a&&tu(a)&&a.catch(o=>{D2(o,t,n)}),a}if(ke(e)){const a=[];for(let o=0;o>>1,a=Ea[s],o=z0(a);o=z0(n)?Ea.push(e):Ea.splice(yO(t),0,e),e.flags|=1,uC()}}function uC(){F2||(F2=cC.then(hC))}function wO(e){ke(e)?df.push(...e):Gl&&e.id===-1?Gl.splice(ff+1,0,e):e.flags&1||(df.push(e),e.flags|=1),uC()}function dC(e,t,n=Wr+1){for(;nz0(n)-z0(s));if(df.length=0,Gl){Gl.push(...t);return}for(Gl=t,ff=0;ffe.id==null?e.flags&2?-1:1/0:e.id;function hC(e){try{for(Wr=0;Wr{s._d&&G2(-1);const o=B2(t);let r;try{r=e(...a)}finally{B2(o),s._d&&G2(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function gt(e,t){if(js===null)return e;const n=J2(js),s=e.dirs||(e.dirs=[]);for(let a=0;a1)return n&&et(t)?t.call(s&&s.proxy):t}}const _O=Symbol.for("v-scx"),CO=()=>je(_O);function Wa(e,t){return A4(e,null,t)}function me(e,t,n){return A4(e,t,n)}function A4(e,t,n=Ut){const{immediate:s,deep:a,flush:o,once:r}=n,i=hs({},n),l=t&&s||!t&&o!=="post";let c;if(Z0){if(o==="sync"){const p=CO();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=qt,p.resume=qt,p.pause=qt,p}}const u=oa;i.call=(p,v,m)=>ar(p,u,v,m);let d=!1;o==="post"?i.scheduler=p=>{aa(p,u&&u.suspense)}:o!=="sync"&&(d=!0,i.scheduler=(p,v)=>{v?p():k4(p)}),i.augmentJob=p=>{t&&(p.flags|=4),d&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const h=hO(e,t,i);return Z0&&(c?c.push(h):l&&h()),h}function SO(e,t,n){const s=this.proxy,a=Xe(e)?e.includes(".")?vC(s,e):()=>s[e]:e.bind(s,s);let o;et(t)?o=t:(o=t.handler,n=t);const r=J0(this),i=A4(a,o.bind(s),n);return r(),i}function vC(e,t){const n=t.split(".");return()=>{let s=e;for(let a=0;ae.__isTeleport,H0=e=>e&&(e.disabled||e.disabled===""),bC=e=>e&&(e.defer||e.defer===""),yC=e=>typeof SVGElement<"u"&&e instanceof SVGElement,wC=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,T4=(e,t)=>{const n=e&&e.to;return Xe(n)?t?t(n):null:n},_C={name:"Teleport",__isTeleport:!0,process(e,t,n,s,a,o,r,i,l,c){const{mc:u,pc:d,pbc:h,o:{insert:p,querySelector:v,createText:m,createComment:g}}=c,b=H0(t.props);let{shapeFlag:C,children:w,dynamicChildren:_}=t;if(e==null){const x=t.el=m(""),E=t.anchor=m("");p(x,n,s),p(E,n,s);const T=(I,M)=>{C&16&&u(w,I,M,a,o,r,i,l)},R=()=>{const I=t.target=T4(t.props,v),M=M4(I,t,m,p);I&&(r!=="svg"&&yC(I)?r="svg":r!=="mathml"&&wC(I)&&(r="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(I),b||(T(I,M),z2(t,!1)))};b&&(T(n,E),z2(t,!0)),bC(t.props)?(t.el.__isMounted=!1,aa(()=>{R(),delete t.el.__isMounted},o)):R()}else{if(bC(t.props)&&e.el.__isMounted===!1){aa(()=>{_C.process(e,t,n,s,a,o,r,i,l,c)},o);return}t.el=e.el,t.targetStart=e.targetStart;const x=t.anchor=e.anchor,E=t.target=e.target,T=t.targetAnchor=e.targetAnchor,R=H0(e.props),I=R?n:E,M=R?x:T;if(r==="svg"||yC(E)?r="svg":(r==="mathml"||wC(E))&&(r="mathml"),_?(h(e.dynamicChildren,_,I,a,o,r,i),K4(e,t,!0)):l||d(e,t,I,M,a,o,r,i,!1),b)R?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):V2(t,n,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=T4(t.props,v);$&&V2(t,$,null,c,0)}else R&&V2(t,E,T,c,1);z2(t,b)}},remove(e,t,n,{um:s,o:{remove:a}},o){const{shapeFlag:r,children:i,anchor:l,targetStart:c,targetAnchor:u,target:d,props:h}=e;if(d&&(a(c),a(u)),o&&a(l),r&16){const p=o||!H0(h);for(let v=0;v{e.isMounted=!0}),Gt(()=>{e.isUnmounting=!0}),e}const Io=[Function,Array],SC={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Io,onEnter:Io,onAfterEnter:Io,onEnterCancelled:Io,onBeforeLeave:Io,onLeave:Io,onAfterLeave:Io,onLeaveCancelled:Io,onBeforeAppear:Io,onAppear:Io,onAfterAppear:Io,onAppearCancelled:Io},xC=e=>{const t=e.subTree;return t.component?xC(t.component):t},kO={name:"BaseTransition",props:SC,setup(e,{slots:t}){const n=_t(),s=CC();return()=>{const a=t.default&&R4(t.default(),!0);if(!a||!a.length)return;const o=EC(a),r=cn(e),{mode:i}=r;if(s.isLeaving)return P4(o);const l=AC(o);if(!l)return P4(o);let c=j0(l,r,s,n,d=>c=d);l.type!==Kn&&lu(l,c);let u=n.subTree&&AC(n.subTree);if(u&&u.type!==Kn&&!du(u,l)&&xC(n).type!==Kn){let d=j0(u,r,s,n);if(lu(u,d),i==="out-in"&&l.type!==Kn)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},P4(o);i==="in-out"&&l.type!==Kn?d.delayLeave=(h,p,v)=>{const m=kC(s,u);m[String(u.key)]=u,h[jr]=()=>{p(),h[jr]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{v(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function EC(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Kn){t=n;break}}return t}const AO=kO;function kC(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function j0(e,t,n,s,a){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:h,onLeave:p,onAfterLeave:v,onLeaveCancelled:m,onBeforeAppear:g,onAppear:b,onAfterAppear:C,onAppearCancelled:w}=t,_=String(e.key),x=kC(n,e),E=(I,M)=>{I&&ar(I,s,9,M)},T=(I,M)=>{const $=M[1];E(I,M),ke(I)?I.every(O=>O.length<=1)&&$():I.length<=1&&$()},R={mode:r,persisted:i,beforeEnter(I){let M=l;if(!n.isMounted)if(o)M=g||l;else return;I[jr]&&I[jr](!0);const $=x[_];$&&du(e,$)&&$.el[jr]&&$.el[jr](),E(M,[I])},enter(I){let M=c,$=u,O=d;if(!n.isMounted)if(o)M=b||c,$=C||u,O=w||d;else return;let B=!1;I[W0]=J=>{B||(B=!0,J?E(O,[I]):E($,[I]),R.delayedLeave&&R.delayedLeave(),I[W0]=void 0)};const U=I[W0].bind(null,!1);M?T(M,[I,U]):U()},leave(I,M){const $=String(e.key);if(I[W0]&&I[W0](!0),n.isUnmounting)return M();E(h,[I]);let O=!1;I[jr]=U=>{O||(O=!0,M(),U?E(m,[I]):E(v,[I]),I[jr]=void 0,x[$]===e&&delete x[$])};const B=I[jr].bind(null,!1);x[$]=e,p?T(p,[I,B]):B()},clone(I){const M=j0(I,t,n,s,a);return a&&a(M),M}};return R}function P4(e){if(W2(e))return e=Kr(e),e.children=null,e}function AC(e){if(!W2(e))return gC(e.type)&&e.children?EC(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&et(n.default))return n.default()}}function lu(e,t){e.shapeFlag&6&&e.component?(e.transition=t,lu(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 R4(e,t=!1,n){let s=[],a=0;for(let o=0;o1)for(let o=0;oK0(m,t&&(ke(t)?t[g]:t),n,s,a));return}if(hf(s)&&!a){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&K0(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?J2(s.component):s.el,r=a?null:o,{i,r:l}=e,c=t&&t.r,u=i.refs===Ut?i.refs={}:i.refs,d=i.setupState,h=cn(d),p=d===Ut?P_:m=>MC(u,m)?!1:Ht(h,m),v=(m,g)=>!(g&&MC(u,g));if(c!=null&&c!==l){if(PC(t),Xe(c))u[c]=null,p(c)&&(d[c]=null);else if(pn(c)){const m=t;v(c,m.k)&&(c.value=null),m.k&&(u[m.k]=null)}}if(et(l))uf(l,i,12,[r,u]);else{const m=Xe(l),g=pn(l);if(m||g){const b=()=>{if(e.f){const C=m?p(l)?d[l]:u[l]:v()||!e.k?l.value:u[e.k];if(a)ke(C)&&f4(C,o);else if(ke(C))C.includes(o)||C.push(o);else if(m)u[l]=[o],p(l)&&(d[l]=u[l]);else{const w=[o];v(l,e.k)&&(l.value=w),e.k&&(u[e.k]=w)}}else m?(u[l]=r,p(l)&&(d[l]=r)):g&&(v(l,e.k)&&(l.value=r),e.k&&(u[e.k]=r))};if(r){const C=()=>{b(),H2.delete(e)};C.id=-1,H2.set(e,C),aa(C,n)}else PC(e),b()}}}function PC(e){const t=H2.get(e);t&&(t.flags|=8,H2.delete(e))}E2().requestIdleCallback,E2().cancelIdleCallback;const hf=e=>!!e.type.__asyncLoader,W2=e=>e.type.__isKeepAlive;function U0(e,t){RC(e,"a",t)}function I4(e,t){RC(e,"da",t)}function RC(e,t,n=oa){const s=e.__wdc||(e.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(j2(t,s,n),n){let a=n.parent;for(;a&&a.parent;)W2(a.parent.vnode)&&TO(s,t,n,a),a=a.parent}}function TO(e,t,n,s){const a=j2(t,e,s,!0);cu(()=>{f4(s[t],a)},n)}function j2(e,t,n=oa,s=!1){if(n){const a=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{Vr();const i=J0(n),l=ar(t,n,e,r);return i(),zr(),l});return s?a.unshift(o):a.push(o),o}}const Fi=e=>(t,n=oa)=>{(!Z0||e==="sp")&&j2(e,(...s)=>t(...s),n)},K2=Fi("bm"),St=Fi("m"),O4=Fi("bu"),or=Fi("u"),Gt=Fi("bum"),cu=Fi("um"),MO=Fi("sp"),PO=Fi("rtg"),RO=Fi("rtc");function IO(e,t=oa){j2("ec",e,t)}const L4="components",OO="directives";function Ge(e,t){return $4(L4,e,!0,t)||e}const IC=Symbol.for("v-ndc");function bt(e){return Xe(e)?$4(L4,e,!1)||e:e||IC}function N4(e){return $4(OO,e)}function $4(e,t,n=!0,s=!1){const a=js||oa;if(a){const o=a.type;if(e===L4){const i=hS(o,!1);if(i&&(i===t||i===xa(t)||i===O0(xa(t))))return o}const r=OC(a[e]||o[e],t)||OC(a.appContext[e],t);return!r&&s?o:r}}function OC(e,t){return e&&(e[t]||e[xa(t)]||e[O0(xa(t))])}function yt(e,t,n,s){let a;const o=n,r=ke(e);if(r||Xe(e)){const i=r&&ou(e);let l=!1,c=!1;i&&(l=!oo(e),c=$i(e),e=A2(e)),a=new Array(e.length);for(let u=0,d=e.length;ut(i,l,void 0,o));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l{const o=s.fn(...a);return o&&(o.key=s.key),o}:s.fn)}return e}function ue(e,t,n={},s,a){if(js.ce||js.parent&&hf(js.parent)&&js.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),S(),le(He,null,[j("slot",n,s&&s())],c?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),S();const r=o&&LC(o(n)),i=n.key||r&&r.key,l=le(He,{key:(i&&!tr(i)?i:`_${t}`)+(!r&&s?"_fb":"")},r||(s?s():[]),r&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function LC(e){return e.some(t=>un(t)?!(t.type===Kn||t.type===He&&!LC(t.children)):!0)?e:null}function LO(e,t){const n={};for(const s in e)n[L0(s)]=e[s];return n}const D4=e=>e?cS(e)?J2(e):D4(e.parent):null,q0=hs(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=>D4(e.parent),$root:e=>D4(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>BC(e),$forceUpdate:e=>e.f||(e.f=()=>{k4(e.update)}),$nextTick:e=>e.n||(e.n=ze.bind(e.proxy)),$watch:e=>SO.bind(e)}),F4=(e,t)=>e!==Ut&&!e.__isScriptSetup&&Ht(e,t),NO={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:a,props:o,accessCache:r,type:i,appContext:l}=e;if(t[0]!=="$"){const h=r[t];if(h!==void 0)switch(h){case 1:return s[t];case 2:return a[t];case 4:return n[t];case 3:return o[t]}else{if(F4(s,t))return r[t]=1,s[t];if(a!==Ut&&Ht(a,t))return r[t]=2,a[t];if(Ht(o,t))return r[t]=3,o[t];if(n!==Ut&&Ht(n,t))return r[t]=4,n[t];B4&&(r[t]=0)}}const c=q0[t];let u,d;if(c)return t==="$attrs"&&sa(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(n!==Ut&&Ht(n,t))return r[t]=4,n[t];if(d=l.config.globalProperties,Ht(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:a,ctx:o}=e;return F4(a,t)?(a[t]=n,!0):s!==Ut&&Ht(s,t)?(s[t]=n,!0):Ht(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:a,props:o,type:r}},i){let l;return!!(n[i]||e!==Ut&&i[0]!=="$"&&Ht(e,i)||F4(t,i)||Ht(o,i)||Ht(s,i)||Ht(q0,i)||Ht(a.config.globalProperties,i)||(l=r.__cssModules)&&l[i])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ht(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function zn(){return NC().slots}function Bi(){return NC().attrs}function NC(e){const t=_t();return t.setupContext||(t.setupContext=fS(t))}function $C(e){return ke(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let B4=!0;function $O(e){const t=BC(e),n=e.proxy,s=e.ctx;B4=!1,t.beforeCreate&&DC(t.beforeCreate,e,"bc");const{data:a,computed:o,methods:r,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:p,updated:v,activated:m,deactivated:g,beforeDestroy:b,beforeUnmount:C,destroyed:w,unmounted:_,render:x,renderTracked:E,renderTriggered:T,errorCaptured:R,serverPrefetch:I,expose:M,inheritAttrs:$,components:O,directives:B,filters:U}=t;if(c&&DO(c,s,null),r)for(const N in r){const L=r[N];et(L)&&(s[N]=L.bind(n))}if(a){const N=a.call(n,n);ht(N)&&(e.data=Wt(N))}if(B4=!0,o)for(const N in o){const L=o[N],V=et(L)?L.bind(n,n):et(L.get)?L.get.bind(n,n):qt,z=!et(L)&&et(L.set)?L.set.bind(n):qt,G=k({get:V,set:z});Object.defineProperty(s,N,{enumerable:!0,configurable:!0,get:()=>G.value,set:Q=>G.value=Q})}if(i)for(const N in i)FC(i[N],s,n,N);if(l){const N=et(l)?l.call(n):l;Reflect.ownKeys(N).forEach(L=>{Tt(L,N[L])})}u&&DC(u,e,"c");function Y(N,L){ke(L)?L.forEach(V=>N(V.bind(n))):L&&N(L.bind(n))}if(Y(K2,d),Y(St,h),Y(O4,p),Y(or,v),Y(U0,m),Y(I4,g),Y(IO,R),Y(RO,E),Y(PO,T),Y(Gt,C),Y(cu,_),Y(MO,I),ke(M))if(M.length){const N=e.exposed||(e.exposed={});M.forEach(L=>{Object.defineProperty(N,L,{get:()=>n[L],set:V=>n[L]=V,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===qt&&(e.render=x),$!=null&&(e.inheritAttrs=$),O&&(e.components=O),B&&(e.directives=B),I&&TC(e)}function DO(e,t,n=qt){ke(e)&&(e=V4(e));for(const s in e){const a=e[s];let o;ht(a)?"default"in a?o=je(a.from||s,a.default,!0):o=je(a.from||s):o=je(a),pn(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):t[s]=o}}function DC(e,t,n){ar(ke(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function FC(e,t,n,s){let a=s.includes(".")?vC(n,s):()=>n[s];if(Xe(e)){const o=t[e];et(o)&&me(a,o)}else if(et(e))me(a,e.bind(n));else if(ht(e))if(ke(e))e.forEach(o=>FC(o,t,n,s));else{const o=et(e.handler)?e.handler.bind(n):t[e.handler];et(o)&&me(a,o,e)}}function BC(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:a,optionsCache:o,config:{optionMergeStrategies:r}}=e.appContext,i=o.get(t);let l;return i?l=i:!a.length&&!n&&!s?l=t:(l={},a.length&&a.forEach(c=>U2(l,c,r,!0)),U2(l,t,r)),ht(t)&&o.set(t,l),l}function U2(e,t,n,s=!1){const{mixins:a,extends:o}=t;o&&U2(e,o,n,!0),a&&a.forEach(r=>U2(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const i=FO[r]||n&&n[r];e[r]=i?i(e[r],t[r]):t[r]}return e}const FO={data:VC,props:zC,emits:zC,methods:G0,computed:G0,beforeCreate:Aa,created:Aa,beforeMount:Aa,mounted:Aa,beforeUpdate:Aa,updated:Aa,beforeDestroy:Aa,beforeUnmount:Aa,destroyed:Aa,unmounted:Aa,activated:Aa,deactivated:Aa,errorCaptured:Aa,serverPrefetch:Aa,components:G0,directives:G0,watch:VO,provide:VC,inject:BO};function VC(e,t){return t?e?function(){return hs(et(e)?e.call(this,this):e,et(t)?t.call(this,this):t)}:t:e}function BO(e,t){return G0(V4(e),V4(t))}function V4(e){if(ke(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${xa(t)}Modifiers`]||e[`${Ii(t)}Modifiers`];function jO(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Ut;let a=n;const o=t.startsWith("update:"),r=o&&WO(s,t.slice(7));r&&(r.trim&&(a=n.map(u=>Xe(u)?u.trim():u)),r.number&&(a=n.map(h4)));let i,l=s[i=L0(t)]||s[i=L0(xa(t))];!l&&o&&(l=s[i=L0(Ii(t))]),l&&ar(l,e,6,a);const c=s[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ar(c,e,6,a)}}const KO=new WeakMap;function WC(e,t,n=!1){const s=n?KO:t.emitsCache,a=s.get(e);if(a!==void 0)return a;const o=e.emits;let r={},i=!1;if(!et(e)){const l=c=>{const u=WC(c,t,!0);u&&(i=!0,hs(r,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!i?(ht(e)&&s.set(e,null),null):(ke(o)?o.forEach(l=>r[l]=null):hs(r,o),ht(e)&&s.set(e,r),r)}function q2(e,t){return!e||!w2(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ht(e,t[0].toLowerCase()+t.slice(1))||Ht(e,Ii(t))||Ht(e,t))}function Uye(){}function jC(e){const{type:t,vnode:n,proxy:s,withProxy:a,propsOptions:[o],slots:r,attrs:i,emit:l,render:c,renderCache:u,props:d,data:h,setupState:p,ctx:v,inheritAttrs:m}=e,g=B2(e);let b,C;try{if(n.shapeFlag&4){const _=a||s,x=_;b=Ur(c.call(x,_,u,d,p,h,v)),C=i}else{const _=t;b=Ur(_.length>1?_(d,{attrs:i,slots:r,emit:l}):_(d,null)),C=t.props?i:UO(i)}}catch(_){Y0.length=0,D2(_,e,1),b=j(Kn)}let w=b;if(C&&m!==!1){const _=Object.keys(C),{shapeFlag:x}=w;_.length&&x&7&&(o&&_.some(d4)&&(C=qO(C,o)),w=Kr(w,C,!1,!0))}return n.dirs&&(w=Kr(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&lu(w,n.transition),b=w,B2(g),b}const UO=e=>{let t;for(const n in e)(n==="class"||n==="style"||w2(n))&&((t||(t={}))[n]=e[n]);return t},qO=(e,t)=>{const n={};for(const s in e)(!d4(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function GO(e,t,n){const{props:s,children:a,component:o}=e,{props:r,children:i,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?KC(s,r,c):!!r;if(l&8){const u=t.dynamicProps;for(let d=0;dObject.create(qC),YC=e=>Object.getPrototypeOf(e)===qC;function XO(e,t,n,s=!1){const a={},o=GC();e.propsDefaults=Object.create(null),XC(e,t,a,o);for(const r in e.propsOptions[0])r in a||(a[r]=void 0);n?e.props=s?a:R2(a):e.type.props?e.props=a:e.props=o,e.attrs=o}function JO(e,t,n,s){const{props:a,attrs:o,vnode:{patchFlag:r}}=e,i=cn(a),[l]=e.propsOptions;let c=!1;if((s||r>0)&&!(r&16)){if(r&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[h,p]=JC(d,t,!0);hs(r,h),p&&i.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return ht(e)&&s.set(e,er),er;if(ke(o))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",W4=e=>ke(e)?e.map(Ur):[Ur(e)],QO=(e,t,n)=>{if(t._n)return t;const s=X((...a)=>W4(t(...a)),n);return s._c=!1,s},QC=(e,t,n)=>{const s=e._ctx;for(const a in e){if(H4(a))continue;const o=e[a];if(et(o))t[a]=QO(a,o,s);else if(o!=null){const r=W4(o);t[a]=()=>r}}},eS=(e,t)=>{const n=W4(t);e.slots.default=()=>n},tS=(e,t,n)=>{for(const s in t)(n||!H4(s))&&(e[s]=t[s])},eL=(e,t,n)=>{const s=e.slots=GC();if(e.vnode.shapeFlag&32){const a=t._;a?(tS(s,t,n),n&&I_(s,"_",a,!0)):QC(t,s)}else t&&eS(e,t)},tL=(e,t,n)=>{const{vnode:s,slots:a}=e;let o=!0,r=Ut;if(s.shapeFlag&32){const i=t._;i?n&&i===1?o=!1:tS(a,t,n):(o=!t.$stable,QC(t,a)),r=t}else t&&(eS(e,t),r={default:1});if(o)for(const i in a)!H4(i)&&r[i]==null&&delete a[i]},aa=rL;function nL(e){return sL(e)}function sL(e,t){const n=E2();n.__VUE__=!0;const{insert:s,remove:a,patchProp:o,createElement:r,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:p=qt,insertStaticContent:v}=e,m=(H,te,de,be=null,_e=null,Se=null,Ne=void 0,Ve=null,$e=!!te.dynamicChildren)=>{if(H===te)return;H&&!du(H,te)&&(be=ne(H),Q(H,_e,Se,!0),H=null),te.patchFlag===-2&&($e=!1,te.dynamicChildren=null);const{type:we,ref:Oe,shapeFlag:Pe}=te;switch(we){case vf:g(H,te,de,be);break;case Kn:b(H,te,de,be);break;case U4:H==null&&C(te,de,be,Ne);break;case He:O(H,te,de,be,_e,Se,Ne,Ve,$e);break;default:Pe&1?x(H,te,de,be,_e,Se,Ne,Ve,$e):Pe&6?B(H,te,de,be,_e,Se,Ne,Ve,$e):(Pe&64||Pe&128)&&we.process(H,te,de,be,_e,Se,Ne,Ve,$e,ce)}Oe!=null&&_e?K0(Oe,H&&H.ref,Se,te||H,!te):Oe==null&&H&&H.ref!=null&&K0(H.ref,null,Se,H,!0)},g=(H,te,de,be)=>{if(H==null)s(te.el=i(te.children),de,be);else{const _e=te.el=H.el;te.children!==H.children&&c(_e,te.children)}},b=(H,te,de,be)=>{H==null?s(te.el=l(te.children||""),de,be):te.el=H.el},C=(H,te,de,be)=>{[H.el,H.anchor]=v(H.children,te,de,be,H.el,H.anchor)},w=({el:H,anchor:te},de,be)=>{let _e;for(;H&&H!==te;)_e=h(H),s(H,de,be),H=_e;s(te,de,be)},_=({el:H,anchor:te})=>{let de;for(;H&&H!==te;)de=h(H),a(H),H=de;a(te)},x=(H,te,de,be,_e,Se,Ne,Ve,$e)=>{if(te.type==="svg"?Ne="svg":te.type==="math"&&(Ne="mathml"),H==null)E(te,de,be,_e,Se,Ne,Ve,$e);else{const we=H.el&&H.el._isVueCE?H.el:null;try{we&&we._beginPatch(),I(H,te,_e,Se,Ne,Ve,$e)}finally{we&&we._endPatch()}}},E=(H,te,de,be,_e,Se,Ne,Ve)=>{let $e,we;const{props:Oe,shapeFlag:Pe,transition:We,dirs:Qe}=H;if($e=H.el=r(H.type,Se,Oe&&Oe.is,Oe),Pe&8?u($e,H.children):Pe&16&&R(H.children,$e,null,be,_e,j4(H,Se),Ne,Ve),Qe&&iu(H,null,be,"created"),T($e,H,H.scopeId,Ne,be),Oe){for(const De in Oe)De!=="value"&&!I0(De)&&o($e,De,null,Oe[De],Se,be);"value"in Oe&&o($e,"value",null,Oe.value,Se),(we=Oe.onVnodeBeforeMount)&&qr(we,be,H)}Qe&&iu(H,null,be,"beforeMount");const it=aL(_e,We);it&&We.beforeEnter($e),s($e,te,de),((we=Oe&&Oe.onVnodeMounted)||it||Qe)&&aa(()=>{we&&qr(we,be,H),it&&We.enter($e),Qe&&iu(H,null,be,"mounted")},_e)},T=(H,te,de,be,_e)=>{if(de&&p(H,de),be)for(let Se=0;Se{for(let we=$e;we{const Ve=te.el=H.el;let{patchFlag:$e,dynamicChildren:we,dirs:Oe}=te;$e|=H.patchFlag&16;const Pe=H.props||Ut,We=te.props||Ut;let Qe;if(de&&uu(de,!1),(Qe=We.onVnodeBeforeUpdate)&&qr(Qe,de,te,H),Oe&&iu(te,H,de,"beforeUpdate"),de&&uu(de,!0),(Pe.innerHTML&&We.innerHTML==null||Pe.textContent&&We.textContent==null)&&u(Ve,""),we?M(H.dynamicChildren,we,Ve,de,be,j4(te,_e),Se):Ne||L(H,te,Ve,null,de,be,j4(te,_e),Se,!1),$e>0){if($e&16)$(Ve,Pe,We,de,_e);else if($e&2&&Pe.class!==We.class&&o(Ve,"class",null,We.class,_e),$e&4&&o(Ve,"style",Pe.style,We.style,_e),$e&8){const it=te.dynamicProps;for(let De=0;De{Qe&&qr(Qe,de,te,H),Oe&&iu(te,H,de,"updated")},be)},M=(H,te,de,be,_e,Se,Ne)=>{for(let Ve=0;Ve{if(te!==de){if(te!==Ut)for(const Se in te)!I0(Se)&&!(Se in de)&&o(H,Se,te[Se],null,_e,be);for(const Se in de){if(I0(Se))continue;const Ne=de[Se],Ve=te[Se];Ne!==Ve&&Se!=="value"&&o(H,Se,Ve,Ne,_e,be)}"value"in de&&o(H,"value",te.value,de.value,_e)}},O=(H,te,de,be,_e,Se,Ne,Ve,$e)=>{const we=te.el=H?H.el:i(""),Oe=te.anchor=H?H.anchor:i("");let{patchFlag:Pe,dynamicChildren:We,slotScopeIds:Qe}=te;Qe&&(Ve=Ve?Ve.concat(Qe):Qe),H==null?(s(we,de,be),s(Oe,de,be),R(te.children||[],de,Oe,_e,Se,Ne,Ve,$e)):Pe>0&&Pe&64&&We&&H.dynamicChildren&&H.dynamicChildren.length===We.length?(M(H.dynamicChildren,We,de,_e,Se,Ne,Ve),(te.key!=null||_e&&te===_e.subTree)&&K4(H,te,!0)):L(H,te,de,Oe,_e,Se,Ne,Ve,$e)},B=(H,te,de,be,_e,Se,Ne,Ve,$e)=>{te.slotScopeIds=Ve,H==null?te.shapeFlag&512?_e.ctx.activate(te,de,be,Ne,$e):U(te,de,be,_e,Se,Ne,$e):J(H,te,$e)},U=(H,te,de,be,_e,Se,Ne)=>{const Ve=H.component=dL(H,be,_e);if(W2(H)&&(Ve.ctx.renderer=ce),fL(Ve,!1,Ne),Ve.asyncDep){if(_e&&_e.registerDep(Ve,Y,Ne),!H.el){const $e=Ve.subTree=j(Kn);b(null,$e,te,de),H.placeholder=$e.el}}else Y(Ve,H,te,de,_e,Se,Ne)},J=(H,te,de)=>{const be=te.component=H.component;if(GO(H,te,de))if(be.asyncDep&&!be.asyncResolved){N(be,te,de);return}else be.next=te,be.update();else te.el=H.el,be.vnode=te},Y=(H,te,de,be,_e,Se,Ne)=>{const Ve=()=>{if(H.isMounted){let{next:Pe,bu:We,u:Qe,parent:it,vnode:De}=H;{const ot=nS(H);if(ot){Pe&&(Pe.el=De.el,N(H,Pe,Ne)),ot.asyncDep.then(()=>{aa(()=>{H.isUnmounted||we()},_e)});return}}let Ke=Pe,nt;uu(H,!1),Pe?(Pe.el=De.el,N(H,Pe,Ne)):Pe=De,We&&x2(We),(nt=Pe.props&&Pe.props.onVnodeBeforeUpdate)&&qr(nt,it,Pe,De),uu(H,!0);const Ft=jC(H),Kt=H.subTree;H.subTree=Ft,m(Kt,Ft,d(Kt.el),ne(Kt),H,_e,Se),Pe.el=Ft.el,Ke===null&&YO(H,Ft.el),Qe&&aa(Qe,_e),(nt=Pe.props&&Pe.props.onVnodeUpdated)&&aa(()=>qr(nt,it,Pe,De),_e)}else{let Pe;const{el:We,props:Qe}=te,{bm:it,m:De,parent:Ke,root:nt,type:Ft}=H,Kt=hf(te);uu(H,!1),it&&x2(it),!Kt&&(Pe=Qe&&Qe.onVnodeBeforeMount)&&qr(Pe,Ke,te),uu(H,!0);{nt.ce&&nt.ce._hasShadowRoot()&&nt.ce._injectChildStyle(Ft);const ot=H.subTree=jC(H);m(null,ot,de,be,H,_e,Se),te.el=ot.el}if(De&&aa(De,_e),!Kt&&(Pe=Qe&&Qe.onVnodeMounted)){const ot=te;aa(()=>qr(Pe,Ke,ot),_e)}(te.shapeFlag&256||Ke&&hf(Ke.vnode)&&Ke.vnode.shapeFlag&256)&&H.a&&aa(H.a,_e),H.isMounted=!0,te=de=be=null}};H.scope.on();const $e=H.effect=new z_(Ve);H.scope.off();const we=H.update=$e.run.bind($e),Oe=H.job=$e.runIfDirty.bind($e);Oe.i=H,Oe.id=H.uid,$e.scheduler=()=>k4(Oe),uu(H,!0),we()},N=(H,te,de)=>{te.component=H;const be=H.vnode.props;H.vnode=te,H.next=null,JO(H,te.props,be,de),tL(H,te.children,de),Vr(),dC(H),zr()},L=(H,te,de,be,_e,Se,Ne,Ve,$e=!1)=>{const we=H&&H.children,Oe=H?H.shapeFlag:0,Pe=te.children,{patchFlag:We,shapeFlag:Qe}=te;if(We>0){if(We&128){z(we,Pe,de,be,_e,Se,Ne,Ve,$e);return}else if(We&256){V(we,Pe,de,be,_e,Se,Ne,Ve,$e);return}}Qe&8?(Oe&16&&fe(we,_e,Se),Pe!==we&&u(de,Pe)):Oe&16?Qe&16?z(we,Pe,de,be,_e,Se,Ne,Ve,$e):fe(we,_e,Se,!0):(Oe&8&&u(de,""),Qe&16&&R(Pe,de,be,_e,Se,Ne,Ve,$e))},V=(H,te,de,be,_e,Se,Ne,Ve,$e)=>{H=H||er,te=te||er;const we=H.length,Oe=te.length,Pe=Math.min(we,Oe);let We;for(We=0;WeOe?fe(H,_e,Se,!0,!1,Pe):R(te,de,be,_e,Se,Ne,Ve,$e,Pe)},z=(H,te,de,be,_e,Se,Ne,Ve,$e)=>{let we=0;const Oe=te.length;let Pe=H.length-1,We=Oe-1;for(;we<=Pe&&we<=We;){const Qe=H[we],it=te[we]=$e?zi(te[we]):Ur(te[we]);if(du(Qe,it))m(Qe,it,de,null,_e,Se,Ne,Ve,$e);else break;we++}for(;we<=Pe&&we<=We;){const Qe=H[Pe],it=te[We]=$e?zi(te[We]):Ur(te[We]);if(du(Qe,it))m(Qe,it,de,null,_e,Se,Ne,Ve,$e);else break;Pe--,We--}if(we>Pe){if(we<=We){const Qe=We+1,it=QeWe)for(;we<=Pe;)Q(H[we],_e,Se,!0),we++;else{const Qe=we,it=we,De=new Map;for(we=it;we<=We;we++){const xe=te[we]=$e?zi(te[we]):Ur(te[we]);xe.key!=null&&De.set(xe.key,we)}let Ke,nt=0;const Ft=We-it+1;let Kt=!1,ot=0;const dt=new Array(Ft);for(we=0;we=Ft){Q(xe,_e,Se,!0);continue}let qe;if(xe.key!=null)qe=De.get(xe.key);else for(Ke=it;Ke<=We;Ke++)if(dt[Ke-it]===0&&du(xe,te[Ke])){qe=Ke;break}qe===void 0?Q(xe,_e,Se,!0):(dt[qe-it]=we+1,qe>=ot?ot=qe:Kt=!0,m(xe,te[qe],de,null,_e,Se,Ne,Ve,$e),nt++)}const kt=Kt?oL(dt):er;for(Ke=kt.length-1,we=Ft-1;we>=0;we--){const xe=it+we,qe=te[xe],ye=te[xe+1],Ye=xe+1{const{el:Se,type:Ne,transition:Ve,children:$e,shapeFlag:we}=H;if(we&6){G(H.component.subTree,te,de,be);return}if(we&128){H.suspense.move(te,de,be);return}if(we&64){Ne.move(H,te,de,ce);return}if(Ne===He){s(Se,te,de);for(let Pe=0;Pe<$e.length;Pe++)G($e[Pe],te,de,be);s(H.anchor,te,de);return}if(Ne===U4){w(H,te,de);return}if(be!==2&&we&1&&Ve)if(be===0)Ve.beforeEnter(Se),s(Se,te,de),aa(()=>Ve.enter(Se),_e);else{const{leave:Pe,delayLeave:We,afterLeave:Qe}=Ve,it=()=>{H.ctx.isUnmounted?a(Se):s(Se,te,de)},De=()=>{Se._isLeaving&&Se[jr](!0),Pe(Se,()=>{it(),Qe&&Qe()})};We?We(Se,it,De):De()}else s(Se,te,de)},Q=(H,te,de,be=!1,_e=!1)=>{const{type:Se,props:Ne,ref:Ve,children:$e,dynamicChildren:we,shapeFlag:Oe,patchFlag:Pe,dirs:We,cacheIndex:Qe}=H;if(Pe===-2&&(_e=!1),Ve!=null&&(Vr(),K0(Ve,null,de,H,!0),zr()),Qe!=null&&(te.renderCache[Qe]=void 0),Oe&256){te.ctx.deactivate(H);return}const it=Oe&1&&We,De=!hf(H);let Ke;if(De&&(Ke=Ne&&Ne.onVnodeBeforeUnmount)&&qr(Ke,te,H),Oe&6)ae(H.component,de,be);else{if(Oe&128){H.suspense.unmount(de,be);return}it&&iu(H,null,te,"beforeUnmount"),Oe&64?H.type.remove(H,te,de,ce,be):we&&!we.hasOnce&&(Se!==He||Pe>0&&Pe&64)?fe(we,te,de,!1,!0):(Se===He&&Pe&384||!_e&&Oe&16)&&fe($e,te,de),be&&K(H)}(De&&(Ke=Ne&&Ne.onVnodeUnmounted)||it)&&aa(()=>{Ke&&qr(Ke,te,H),it&&iu(H,null,te,"unmounted")},de)},K=H=>{const{type:te,el:de,anchor:be,transition:_e}=H;if(te===He){ee(de,be);return}if(te===U4){_(H);return}const Se=()=>{a(de),_e&&!_e.persisted&&_e.afterLeave&&_e.afterLeave()};if(H.shapeFlag&1&&_e&&!_e.persisted){const{leave:Ne,delayLeave:Ve}=_e,$e=()=>Ne(de,Se);Ve?Ve(H.el,Se,$e):$e()}else Se()},ee=(H,te)=>{let de;for(;H!==te;)de=h(H),a(H),H=de;a(te)},ae=(H,te,de)=>{const{bum:be,scope:_e,job:Se,subTree:Ne,um:Ve,m:$e,a:we}=H;sS($e),sS(we),be&&x2(be),_e.stop(),Se&&(Se.flags|=8,Q(Ne,H,te,de)),Ve&&aa(Ve,te),aa(()=>{H.isUnmounted=!0},te)},fe=(H,te,de,be=!1,_e=!1,Se=0)=>{for(let Ne=Se;Ne{if(H.shapeFlag&6)return ne(H.component.subTree);if(H.shapeFlag&128)return H.suspense.next();const te=h(H.anchor||H.el),de=te&&te[mC];return de?h(de):te};let pe=!1;const he=(H,te,de)=>{let be;H==null?te._vnode&&(Q(te._vnode,null,null,!0),be=te._vnode.component):m(te._vnode||null,H,te,null,null,null,de),te._vnode=H,pe||(pe=!0,dC(be),fC(),pe=!1)},ce={p:m,um:Q,m:G,r:K,mt:U,mc:R,pc:L,pbc:M,n:ne,o:e};return{render:he,hydrate:void 0,createApp:HO(he)}}function j4({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function uu({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function aL(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function K4(e,t,n=!1){const s=e.children,a=t.children;if(ke(s)&&ke(a))for(let o=0;o>1,e[n[i]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,r=n[o-1];o-- >0;)n[o]=r,r=t[r];return n}function nS(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:nS(t)}function sS(e){if(e)for(let t=0;te.__isSuspense;function rL(e,t){t&&t.pendingBranch?ke(e)?t.effects.push(...e):t.effects.push(e):wO(e)}const He=Symbol.for("v-fgt"),vf=Symbol.for("v-txt"),Kn=Symbol.for("v-cmt"),U4=Symbol.for("v-stc"),Y0=[];let ro=null;function S(e=!1){Y0.push(ro=e?null:[])}function iL(){Y0.pop(),ro=Y0[Y0.length-1]||null}let X0=1;function G2(e,t=!1){X0+=e,e<0&&ro&&t&&(ro.hasOnce=!0)}function rS(e){return e.dynamicChildren=X0>0?ro||er:null,iL(),X0>0&&ro&&ro.push(e),e}function P(e,t,n,s,a,o){return rS(A(e,t,n,s,a,o,!0))}function le(e,t,n,s,a){return rS(j(e,t,n,s,a,!0))}function un(e){return e?e.__v_isVNode===!0:!1}function du(e,t){return e.type===t.type&&e.key===t.key}const iS=({key:e})=>e??null,Y2=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Xe(e)||pn(e)||et(e)?{i:js,r:e,k:t,f:!!n}:e:null);function A(e,t=null,n=null,s=0,a=null,o=e===He?0:1,r=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&iS(t),ref:t&&Y2(t),scopeId:pC,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:js};return i?(q4(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Xe(n)?8:16),X0>0&&!r&&ro&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&ro.push(l),l}const j=lL;function lL(e,t=null,n=null,s=0,a=null,o=!1){if((!e||e===IC)&&(e=Kn),un(e)){const i=Kr(e,t,!0);return n&&q4(i,n),X0>0&&!o&&ro&&(i.shapeFlag&6?ro[ro.indexOf(e)]=i:ro.push(i)),i.patchFlag=-2,i}if(gL(e)&&(e=e.__vccOpts),t){t=Vi(t);let{class:i,style:l}=t;i&&!Xe(i)&&(t.class=D(i)),ht(l)&&(O2(l)&&!ke(l)&&(l=hs({},l)),t.style=tt(l))}const r=Xe(e)?1:oS(e)?128:gC(e)?64:ht(e)?4:et(e)?2:0;return A(e,t,n,s,a,r,o,!0)}function Vi(e){return e?O2(e)||YC(e)?hs({},e):e:null}function Kr(e,t,n=!1,s=!1){const{props:a,ref:o,patchFlag:r,children:i,transition:l}=e,c=t?wt(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&iS(c),ref:t&&t.ref?n&&o?ke(o)?o.concat(Y2(t)):[o,Y2(t)]:Y2(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kr(e.ssContent),ssFallback:e.ssFallback&&Kr(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&lu(u,l.clone(u)),u}function Ue(e=" ",t=0){return j(vf,null,e,t)}function ie(e="",t=!1){return t?(S(),le(Kn,null,e)):j(Kn,null,e)}function Ur(e){return e==null||typeof e=="boolean"?j(Kn):ke(e)?j(He,null,e.slice()):un(e)?zi(e):j(vf,null,String(e))}function zi(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kr(e)}function q4(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(ke(t))n=16;else if(typeof t=="object")if(s&65){const a=t.default;a&&(a._c&&(a._d=!1),q4(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!YC(t)?t._ctx=js:a===3&&js&&(js.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else et(t)?(t={default:t,_ctx:js},n=32):(t=String(t),s&64?(n=16,t=[Ue(t)]):n=8);e.children=t,e.shapeFlag|=n}function wt(...e){const t={};for(let n=0;noa||js;let X2,G4;{const e=E2(),t=(n,s)=>{let a;return(a=e[n])||(a=e[n]=[]),a.push(s),o=>{a.length>1?a.forEach(r=>r(o)):a[0](o)}};X2=t("__VUE_INSTANCE_SETTERS__",n=>oa=n),G4=t("__VUE_SSR_SETTERS__",n=>Z0=n)}const J0=e=>{const t=oa;return X2(e),e.scope.on(),()=>{e.scope.off(),X2(t)}},lS=()=>{oa&&oa.scope.off(),X2(null)};function cS(e){return e.vnode.shapeFlag&4}let Z0=!1;function fL(e,t=!1,n=!1){t&&G4(t);const{props:s,children:a}=e.vnode,o=cS(e);XO(e,s,o,t),eL(e,a,n||t);const r=o?hL(e,t):void 0;return t&&G4(!1),r}function hL(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,NO);const{setup:s}=n;if(s){Vr();const a=e.setupContext=s.length>1?fS(e):null,o=J0(e),r=uf(s,e,0,[e.props,a]),i=tu(r);if(zr(),o(),(i||e.sp)&&!hf(e)&&TC(e),i){if(r.then(lS,lS),t)return r.then(l=>{uS(e,l)}).catch(l=>{D2(l,e,0)});e.asyncDep=r}else uS(e,r)}else dS(e)}function uS(e,t,n){et(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ht(t)&&(e.setupState=rC(t)),dS(e)}function dS(e,t,n){const s=e.type;e.render||(e.render=s.render||qt);{const a=J0(e);Vr();try{$O(e)}finally{zr(),a()}}}const pL={get(e,t){return sa(e,"get",""),e[t]}};function fS(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,pL),slots:e.slots,emit:e.emit,expose:t}}function J2(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(rC(Hr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in q0)return q0[n](e)},has(t,n){return n in t||n in q0}})):e.proxy}const vL=/(?:^|[-_])\w/g,mL=e=>e.replace(vL,t=>t.toUpperCase()).replace(/[-_]/g,"");function hS(e,t=!0){return et(e)?e.displayName||e.name:e.name||t&&e.__name}function pS(e,t,n=!1){let s=hS(t);if(!s&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(s=a[1])}if(!s&&e){const a=o=>{for(const r in o)if(o[r]===t)return r};s=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return s?mL(s):n?"App":"Anonymous"}function gL(e){return et(e)&&"__vccOpts"in e}const k=(e,t)=>dO(e,t,Z0);function rt(e,t,n){try{G2(-1);const s=arguments.length;return s===2?ht(t)&&!ke(t)?un(t)?j(e,null,[t]):j(e,t):j(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&un(n)&&(n=[n]),j(e,t,n))}finally{G2(1)}}const bL="3.5.28",yL=qt;/** +`],...mO(n))}),t}function mO({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,a=` at <${pS(e.component,e.type,s)}`,o=">"+n;return e.props?[a,...gO(e.props),o]:[a+o]}function gO(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...lC(s,e[s]))}),n.length>3&&t.push(" ..."),t}function lC(e,t,n){return Xe(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:pn(t)?(t=lC(e,cn(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):et(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=cn(t),n?t:[`${e}=`,t])}function uf(e,t,n,s){try{return s?e(...s):e()}catch(a){D2(a,t,n)}}function ar(e,t,n,s){if(et(e)){const a=uf(e,t,n,s);return a&&tu(a)&&a.catch(o=>{D2(o,t,n)}),a}if(ke(e)){const a=[];for(let o=0;o>>1,a=Ea[s],o=z0(a);o=z0(n)?Ea.push(e):Ea.splice(yO(t),0,e),e.flags|=1,uC()}}function uC(){F2||(F2=cC.then(hC))}function wO(e){ke(e)?df.push(...e):Gl&&e.id===-1?Gl.splice(ff+1,0,e):e.flags&1||(df.push(e),e.flags|=1),uC()}function dC(e,t,n=Wr+1){for(;nz0(n)-z0(s));if(df.length=0,Gl){Gl.push(...t);return}for(Gl=t,ff=0;ffe.id==null?e.flags&2?-1:1/0:e.id;function hC(e){try{for(Wr=0;Wr{s._d&&G2(-1);const o=B2(t);let r;try{r=e(...a)}finally{B2(o),s._d&&G2(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function gt(e,t){if(js===null)return e;const n=J2(js),s=e.dirs||(e.dirs=[]);for(let a=0;a1)return n&&et(t)?t.call(s&&s.proxy):t}}const _O=Symbol.for("v-scx"),CO=()=>je(_O);function Wa(e,t){return A4(e,null,t)}function me(e,t,n){return A4(e,t,n)}function A4(e,t,n=Ut){const{immediate:s,deep:a,flush:o,once:r}=n,i=hs({},n),l=t&&s||!t&&o!=="post";let c;if(Z0){if(o==="sync"){const p=CO();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=qt,p.resume=qt,p.pause=qt,p}}const u=oa;i.call=(p,v,m)=>ar(p,u,v,m);let d=!1;o==="post"?i.scheduler=p=>{aa(p,u&&u.suspense)}:o!=="sync"&&(d=!0,i.scheduler=(p,v)=>{v?p():k4(p)}),i.augmentJob=p=>{t&&(p.flags|=4),d&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const h=hO(e,t,i);return Z0&&(c?c.push(h):l&&h()),h}function SO(e,t,n){const s=this.proxy,a=Xe(e)?e.includes(".")?vC(s,e):()=>s[e]:e.bind(s,s);let o;et(t)?o=t:(o=t.handler,n=t);const r=J0(this),i=A4(a,o.bind(s),n);return r(),i}function vC(e,t){const n=t.split(".");return()=>{let s=e;for(let a=0;ae.__isTeleport,H0=e=>e&&(e.disabled||e.disabled===""),bC=e=>e&&(e.defer||e.defer===""),yC=e=>typeof SVGElement<"u"&&e instanceof SVGElement,wC=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,T4=(e,t)=>{const n=e&&e.to;return Xe(n)?t?t(n):null:n},_C={name:"Teleport",__isTeleport:!0,process(e,t,n,s,a,o,r,i,l,c){const{mc:u,pc:d,pbc:h,o:{insert:p,querySelector:v,createText:m,createComment:g}}=c,b=H0(t.props);let{shapeFlag:_,children:w,dynamicChildren:C}=t;if(e==null){const x=t.el=m(""),E=t.anchor=m("");p(x,n,s),p(E,n,s);const T=(I,M)=>{_&16&&u(w,I,M,a,o,r,i,l)},R=()=>{const I=t.target=T4(t.props,v),M=M4(I,t,m,p);I&&(r!=="svg"&&yC(I)?r="svg":r!=="mathml"&&wC(I)&&(r="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(I),b||(T(I,M),z2(t,!1)))};b&&(T(n,E),z2(t,!0)),bC(t.props)?(t.el.__isMounted=!1,aa(()=>{R(),delete t.el.__isMounted},o)):R()}else{if(bC(t.props)&&e.el.__isMounted===!1){aa(()=>{_C.process(e,t,n,s,a,o,r,i,l,c)},o);return}t.el=e.el,t.targetStart=e.targetStart;const x=t.anchor=e.anchor,E=t.target=e.target,T=t.targetAnchor=e.targetAnchor,R=H0(e.props),I=R?n:E,M=R?x:T;if(r==="svg"||yC(E)?r="svg":(r==="mathml"||wC(E))&&(r="mathml"),C?(h(e.dynamicChildren,C,I,a,o,r,i),K4(e,t,!0)):l||d(e,t,I,M,a,o,r,i,!1),b)R?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):V2(t,n,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=T4(t.props,v);$&&V2(t,$,null,c,0)}else R&&V2(t,E,T,c,1);z2(t,b)}},remove(e,t,n,{um:s,o:{remove:a}},o){const{shapeFlag:r,children:i,anchor:l,targetStart:c,targetAnchor:u,target:d,props:h}=e;if(d&&(a(c),a(u)),o&&a(l),r&16){const p=o||!H0(h);for(let v=0;v{e.isMounted=!0}),Gt(()=>{e.isUnmounting=!0}),e}const Io=[Function,Array],SC={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Io,onEnter:Io,onAfterEnter:Io,onEnterCancelled:Io,onBeforeLeave:Io,onLeave:Io,onAfterLeave:Io,onLeaveCancelled:Io,onBeforeAppear:Io,onAppear:Io,onAfterAppear:Io,onAppearCancelled:Io},xC=e=>{const t=e.subTree;return t.component?xC(t.component):t},kO={name:"BaseTransition",props:SC,setup(e,{slots:t}){const n=_t(),s=CC();return()=>{const a=t.default&&R4(t.default(),!0);if(!a||!a.length)return;const o=EC(a),r=cn(e),{mode:i}=r;if(s.isLeaving)return P4(o);const l=AC(o);if(!l)return P4(o);let c=j0(l,r,s,n,d=>c=d);l.type!==Kn&&lu(l,c);let u=n.subTree&&AC(n.subTree);if(u&&u.type!==Kn&&!du(u,l)&&xC(n).type!==Kn){let d=j0(u,r,s,n);if(lu(u,d),i==="out-in"&&l.type!==Kn)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},P4(o);i==="in-out"&&l.type!==Kn?d.delayLeave=(h,p,v)=>{const m=kC(s,u);m[String(u.key)]=u,h[jr]=()=>{p(),h[jr]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{v(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function EC(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Kn){t=n;break}}return t}const AO=kO;function kC(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function j0(e,t,n,s,a){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:h,onLeave:p,onAfterLeave:v,onLeaveCancelled:m,onBeforeAppear:g,onAppear:b,onAfterAppear:_,onAppearCancelled:w}=t,C=String(e.key),x=kC(n,e),E=(I,M)=>{I&&ar(I,s,9,M)},T=(I,M)=>{const $=M[1];E(I,M),ke(I)?I.every(O=>O.length<=1)&&$():I.length<=1&&$()},R={mode:r,persisted:i,beforeEnter(I){let M=l;if(!n.isMounted)if(o)M=g||l;else return;I[jr]&&I[jr](!0);const $=x[C];$&&du(e,$)&&$.el[jr]&&$.el[jr](),E(M,[I])},enter(I){let M=c,$=u,O=d;if(!n.isMounted)if(o)M=b||c,$=_||u,O=w||d;else return;let B=!1;I[W0]=J=>{B||(B=!0,J?E(O,[I]):E($,[I]),R.delayedLeave&&R.delayedLeave(),I[W0]=void 0)};const U=I[W0].bind(null,!1);M?T(M,[I,U]):U()},leave(I,M){const $=String(e.key);if(I[W0]&&I[W0](!0),n.isUnmounting)return M();E(h,[I]);let O=!1;I[jr]=U=>{O||(O=!0,M(),U?E(m,[I]):E(v,[I]),I[jr]=void 0,x[$]===e&&delete x[$])};const B=I[jr].bind(null,!1);x[$]=e,p?T(p,[I,B]):B()},clone(I){const M=j0(I,t,n,s,a);return a&&a(M),M}};return R}function P4(e){if(W2(e))return e=Kr(e),e.children=null,e}function AC(e){if(!W2(e))return gC(e.type)&&e.children?EC(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&et(n.default))return n.default()}}function lu(e,t){e.shapeFlag&6&&e.component?(e.transition=t,lu(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 R4(e,t=!1,n){let s=[],a=0;for(let o=0;o1)for(let o=0;oK0(m,t&&(ke(t)?t[g]:t),n,s,a));return}if(hf(s)&&!a){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&K0(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?J2(s.component):s.el,r=a?null:o,{i,r:l}=e,c=t&&t.r,u=i.refs===Ut?i.refs={}:i.refs,d=i.setupState,h=cn(d),p=d===Ut?P_:m=>MC(u,m)?!1:Ht(h,m),v=(m,g)=>!(g&&MC(u,g));if(c!=null&&c!==l){if(PC(t),Xe(c))u[c]=null,p(c)&&(d[c]=null);else if(pn(c)){const m=t;v(c,m.k)&&(c.value=null),m.k&&(u[m.k]=null)}}if(et(l))uf(l,i,12,[r,u]);else{const m=Xe(l),g=pn(l);if(m||g){const b=()=>{if(e.f){const _=m?p(l)?d[l]:u[l]:v()||!e.k?l.value:u[e.k];if(a)ke(_)&&f4(_,o);else if(ke(_))_.includes(o)||_.push(o);else if(m)u[l]=[o],p(l)&&(d[l]=u[l]);else{const w=[o];v(l,e.k)&&(l.value=w),e.k&&(u[e.k]=w)}}else m?(u[l]=r,p(l)&&(d[l]=r)):g&&(v(l,e.k)&&(l.value=r),e.k&&(u[e.k]=r))};if(r){const _=()=>{b(),H2.delete(e)};_.id=-1,H2.set(e,_),aa(_,n)}else PC(e),b()}}}function PC(e){const t=H2.get(e);t&&(t.flags|=8,H2.delete(e))}E2().requestIdleCallback,E2().cancelIdleCallback;const hf=e=>!!e.type.__asyncLoader,W2=e=>e.type.__isKeepAlive;function U0(e,t){RC(e,"a",t)}function I4(e,t){RC(e,"da",t)}function RC(e,t,n=oa){const s=e.__wdc||(e.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(j2(t,s,n),n){let a=n.parent;for(;a&&a.parent;)W2(a.parent.vnode)&&TO(s,t,n,a),a=a.parent}}function TO(e,t,n,s){const a=j2(t,e,s,!0);cu(()=>{f4(s[t],a)},n)}function j2(e,t,n=oa,s=!1){if(n){const a=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{Vr();const i=J0(n),l=ar(t,n,e,r);return i(),zr(),l});return s?a.unshift(o):a.push(o),o}}const Fi=e=>(t,n=oa)=>{(!Z0||e==="sp")&&j2(e,(...s)=>t(...s),n)},K2=Fi("bm"),St=Fi("m"),O4=Fi("bu"),or=Fi("u"),Gt=Fi("bum"),cu=Fi("um"),MO=Fi("sp"),PO=Fi("rtg"),RO=Fi("rtc");function IO(e,t=oa){j2("ec",e,t)}const L4="components",OO="directives";function Ge(e,t){return $4(L4,e,!0,t)||e}const IC=Symbol.for("v-ndc");function bt(e){return Xe(e)?$4(L4,e,!1)||e:e||IC}function N4(e){return $4(OO,e)}function $4(e,t,n=!0,s=!1){const a=js||oa;if(a){const o=a.type;if(e===L4){const i=hS(o,!1);if(i&&(i===t||i===xa(t)||i===O0(xa(t))))return o}const r=OC(a[e]||o[e],t)||OC(a.appContext[e],t);return!r&&s?o:r}}function OC(e,t){return e&&(e[t]||e[xa(t)]||e[O0(xa(t))])}function yt(e,t,n,s){let a;const o=n,r=ke(e);if(r||Xe(e)){const i=r&&ou(e);let l=!1,c=!1;i&&(l=!oo(e),c=$i(e),e=A2(e)),a=new Array(e.length);for(let u=0,d=e.length;ut(i,l,void 0,o));else{const i=Object.keys(e);a=new Array(i.length);for(let l=0,c=i.length;l{const o=s.fn(...a);return o&&(o.key=s.key),o}:s.fn)}return e}function ue(e,t,n={},s,a){if(js.ce||js.parent&&hf(js.parent)&&js.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),S(),le(He,null,[j("slot",n,s&&s())],c?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),S();const r=o&&LC(o(n)),i=n.key||r&&r.key,l=le(He,{key:(i&&!tr(i)?i:`_${t}`)+(!r&&s?"_fb":"")},r||(s?s():[]),r&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function LC(e){return e.some(t=>un(t)?!(t.type===Kn||t.type===He&&!LC(t.children)):!0)?e:null}function LO(e,t){const n={};for(const s in e)n[L0(s)]=e[s];return n}const D4=e=>e?cS(e)?J2(e):D4(e.parent):null,q0=hs(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=>D4(e.parent),$root:e=>D4(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>BC(e),$forceUpdate:e=>e.f||(e.f=()=>{k4(e.update)}),$nextTick:e=>e.n||(e.n=ze.bind(e.proxy)),$watch:e=>SO.bind(e)}),F4=(e,t)=>e!==Ut&&!e.__isScriptSetup&&Ht(e,t),NO={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:a,props:o,accessCache:r,type:i,appContext:l}=e;if(t[0]!=="$"){const h=r[t];if(h!==void 0)switch(h){case 1:return s[t];case 2:return a[t];case 4:return n[t];case 3:return o[t]}else{if(F4(s,t))return r[t]=1,s[t];if(a!==Ut&&Ht(a,t))return r[t]=2,a[t];if(Ht(o,t))return r[t]=3,o[t];if(n!==Ut&&Ht(n,t))return r[t]=4,n[t];B4&&(r[t]=0)}}const c=q0[t];let u,d;if(c)return t==="$attrs"&&sa(e.attrs,"get",""),c(e);if((u=i.__cssModules)&&(u=u[t]))return u;if(n!==Ut&&Ht(n,t))return r[t]=4,n[t];if(d=l.config.globalProperties,Ht(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:a,ctx:o}=e;return F4(a,t)?(a[t]=n,!0):s!==Ut&&Ht(s,t)?(s[t]=n,!0):Ht(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:a,props:o,type:r}},i){let l;return!!(n[i]||e!==Ut&&i[0]!=="$"&&Ht(e,i)||F4(t,i)||Ht(o,i)||Ht(s,i)||Ht(q0,i)||Ht(a.config.globalProperties,i)||(l=r.__cssModules)&&l[i])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ht(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function zn(){return NC().slots}function Bi(){return NC().attrs}function NC(e){const t=_t();return t.setupContext||(t.setupContext=fS(t))}function $C(e){return ke(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let B4=!0;function $O(e){const t=BC(e),n=e.proxy,s=e.ctx;B4=!1,t.beforeCreate&&DC(t.beforeCreate,e,"bc");const{data:a,computed:o,methods:r,watch:i,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:p,updated:v,activated:m,deactivated:g,beforeDestroy:b,beforeUnmount:_,destroyed:w,unmounted:C,render:x,renderTracked:E,renderTriggered:T,errorCaptured:R,serverPrefetch:I,expose:M,inheritAttrs:$,components:O,directives:B,filters:U}=t;if(c&&DO(c,s,null),r)for(const N in r){const L=r[N];et(L)&&(s[N]=L.bind(n))}if(a){const N=a.call(n,n);ht(N)&&(e.data=Wt(N))}if(B4=!0,o)for(const N in o){const L=o[N],V=et(L)?L.bind(n,n):et(L.get)?L.get.bind(n,n):qt,z=!et(L)&&et(L.set)?L.set.bind(n):qt,G=k({get:V,set:z});Object.defineProperty(s,N,{enumerable:!0,configurable:!0,get:()=>G.value,set:Q=>G.value=Q})}if(i)for(const N in i)FC(i[N],s,n,N);if(l){const N=et(l)?l.call(n):l;Reflect.ownKeys(N).forEach(L=>{Tt(L,N[L])})}u&&DC(u,e,"c");function Y(N,L){ke(L)?L.forEach(V=>N(V.bind(n))):L&&N(L.bind(n))}if(Y(K2,d),Y(St,h),Y(O4,p),Y(or,v),Y(U0,m),Y(I4,g),Y(IO,R),Y(RO,E),Y(PO,T),Y(Gt,_),Y(cu,C),Y(MO,I),ke(M))if(M.length){const N=e.exposed||(e.exposed={});M.forEach(L=>{Object.defineProperty(N,L,{get:()=>n[L],set:V=>n[L]=V,enumerable:!0})})}else e.exposed||(e.exposed={});x&&e.render===qt&&(e.render=x),$!=null&&(e.inheritAttrs=$),O&&(e.components=O),B&&(e.directives=B),I&&TC(e)}function DO(e,t,n=qt){ke(e)&&(e=V4(e));for(const s in e){const a=e[s];let o;ht(a)?"default"in a?o=je(a.from||s,a.default,!0):o=je(a.from||s):o=je(a),pn(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):t[s]=o}}function DC(e,t,n){ar(ke(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function FC(e,t,n,s){let a=s.includes(".")?vC(n,s):()=>n[s];if(Xe(e)){const o=t[e];et(o)&&me(a,o)}else if(et(e))me(a,e.bind(n));else if(ht(e))if(ke(e))e.forEach(o=>FC(o,t,n,s));else{const o=et(e.handler)?e.handler.bind(n):t[e.handler];et(o)&&me(a,o,e)}}function BC(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:a,optionsCache:o,config:{optionMergeStrategies:r}}=e.appContext,i=o.get(t);let l;return i?l=i:!a.length&&!n&&!s?l=t:(l={},a.length&&a.forEach(c=>U2(l,c,r,!0)),U2(l,t,r)),ht(t)&&o.set(t,l),l}function U2(e,t,n,s=!1){const{mixins:a,extends:o}=t;o&&U2(e,o,n,!0),a&&a.forEach(r=>U2(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const i=FO[r]||n&&n[r];e[r]=i?i(e[r],t[r]):t[r]}return e}const FO={data:VC,props:zC,emits:zC,methods:G0,computed:G0,beforeCreate:Aa,created:Aa,beforeMount:Aa,mounted:Aa,beforeUpdate:Aa,updated:Aa,beforeDestroy:Aa,beforeUnmount:Aa,destroyed:Aa,unmounted:Aa,activated:Aa,deactivated:Aa,errorCaptured:Aa,serverPrefetch:Aa,components:G0,directives:G0,watch:VO,provide:VC,inject:BO};function VC(e,t){return t?e?function(){return hs(et(e)?e.call(this,this):e,et(t)?t.call(this,this):t)}:t:e}function BO(e,t){return G0(V4(e),V4(t))}function V4(e){if(ke(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${xa(t)}Modifiers`]||e[`${Ii(t)}Modifiers`];function jO(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Ut;let a=n;const o=t.startsWith("update:"),r=o&&WO(s,t.slice(7));r&&(r.trim&&(a=n.map(u=>Xe(u)?u.trim():u)),r.number&&(a=n.map(h4)));let i,l=s[i=L0(t)]||s[i=L0(xa(t))];!l&&o&&(l=s[i=L0(Ii(t))]),l&&ar(l,e,6,a);const c=s[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,ar(c,e,6,a)}}const KO=new WeakMap;function WC(e,t,n=!1){const s=n?KO:t.emitsCache,a=s.get(e);if(a!==void 0)return a;const o=e.emits;let r={},i=!1;if(!et(e)){const l=c=>{const u=WC(c,t,!0);u&&(i=!0,hs(r,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!i?(ht(e)&&s.set(e,null),null):(ke(o)?o.forEach(l=>r[l]=null):hs(r,o),ht(e)&&s.set(e,r),r)}function q2(e,t){return!e||!w2(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ht(e,t[0].toLowerCase()+t.slice(1))||Ht(e,Ii(t))||Ht(e,t))}function Uye(){}function jC(e){const{type:t,vnode:n,proxy:s,withProxy:a,propsOptions:[o],slots:r,attrs:i,emit:l,render:c,renderCache:u,props:d,data:h,setupState:p,ctx:v,inheritAttrs:m}=e,g=B2(e);let b,_;try{if(n.shapeFlag&4){const C=a||s,x=C;b=Ur(c.call(x,C,u,d,p,h,v)),_=i}else{const C=t;b=Ur(C.length>1?C(d,{attrs:i,slots:r,emit:l}):C(d,null)),_=t.props?i:UO(i)}}catch(C){Y0.length=0,D2(C,e,1),b=j(Kn)}let w=b;if(_&&m!==!1){const C=Object.keys(_),{shapeFlag:x}=w;C.length&&x&7&&(o&&C.some(d4)&&(_=qO(_,o)),w=Kr(w,_,!1,!0))}return n.dirs&&(w=Kr(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&lu(w,n.transition),b=w,B2(g),b}const UO=e=>{let t;for(const n in e)(n==="class"||n==="style"||w2(n))&&((t||(t={}))[n]=e[n]);return t},qO=(e,t)=>{const n={};for(const s in e)(!d4(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function GO(e,t,n){const{props:s,children:a,component:o}=e,{props:r,children:i,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?KC(s,r,c):!!r;if(l&8){const u=t.dynamicProps;for(let d=0;dObject.create(qC),YC=e=>Object.getPrototypeOf(e)===qC;function XO(e,t,n,s=!1){const a={},o=GC();e.propsDefaults=Object.create(null),XC(e,t,a,o);for(const r in e.propsOptions[0])r in a||(a[r]=void 0);n?e.props=s?a:R2(a):e.type.props?e.props=a:e.props=o,e.attrs=o}function JO(e,t,n,s){const{props:a,attrs:o,vnode:{patchFlag:r}}=e,i=cn(a),[l]=e.propsOptions;let c=!1;if((s||r>0)&&!(r&16)){if(r&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[h,p]=JC(d,t,!0);hs(r,h),p&&i.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return ht(e)&&s.set(e,er),er;if(ke(o))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",W4=e=>ke(e)?e.map(Ur):[Ur(e)],QO=(e,t,n)=>{if(t._n)return t;const s=X((...a)=>W4(t(...a)),n);return s._c=!1,s},QC=(e,t,n)=>{const s=e._ctx;for(const a in e){if(H4(a))continue;const o=e[a];if(et(o))t[a]=QO(a,o,s);else if(o!=null){const r=W4(o);t[a]=()=>r}}},eS=(e,t)=>{const n=W4(t);e.slots.default=()=>n},tS=(e,t,n)=>{for(const s in t)(n||!H4(s))&&(e[s]=t[s])},eL=(e,t,n)=>{const s=e.slots=GC();if(e.vnode.shapeFlag&32){const a=t._;a?(tS(s,t,n),n&&I_(s,"_",a,!0)):QC(t,s)}else t&&eS(e,t)},tL=(e,t,n)=>{const{vnode:s,slots:a}=e;let o=!0,r=Ut;if(s.shapeFlag&32){const i=t._;i?n&&i===1?o=!1:tS(a,t,n):(o=!t.$stable,QC(t,a)),r=t}else t&&(eS(e,t),r={default:1});if(o)for(const i in a)!H4(i)&&r[i]==null&&delete a[i]},aa=rL;function nL(e){return sL(e)}function sL(e,t){const n=E2();n.__VUE__=!0;const{insert:s,remove:a,patchProp:o,createElement:r,createText:i,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:p=qt,insertStaticContent:v}=e,m=(H,te,de,be=null,Ce=null,Se=null,Ne=void 0,Ve=null,$e=!!te.dynamicChildren)=>{if(H===te)return;H&&!du(H,te)&&(be=ne(H),Q(H,Ce,Se,!0),H=null),te.patchFlag===-2&&($e=!1,te.dynamicChildren=null);const{type:_e,ref:Oe,shapeFlag:Pe}=te;switch(_e){case vf:g(H,te,de,be);break;case Kn:b(H,te,de,be);break;case U4:H==null&&_(te,de,be,Ne);break;case He:O(H,te,de,be,Ce,Se,Ne,Ve,$e);break;default:Pe&1?x(H,te,de,be,Ce,Se,Ne,Ve,$e):Pe&6?B(H,te,de,be,Ce,Se,Ne,Ve,$e):(Pe&64||Pe&128)&&_e.process(H,te,de,be,Ce,Se,Ne,Ve,$e,ce)}Oe!=null&&Ce?K0(Oe,H&&H.ref,Se,te||H,!te):Oe==null&&H&&H.ref!=null&&K0(H.ref,null,Se,H,!0)},g=(H,te,de,be)=>{if(H==null)s(te.el=i(te.children),de,be);else{const Ce=te.el=H.el;te.children!==H.children&&c(Ce,te.children)}},b=(H,te,de,be)=>{H==null?s(te.el=l(te.children||""),de,be):te.el=H.el},_=(H,te,de,be)=>{[H.el,H.anchor]=v(H.children,te,de,be,H.el,H.anchor)},w=({el:H,anchor:te},de,be)=>{let Ce;for(;H&&H!==te;)Ce=h(H),s(H,de,be),H=Ce;s(te,de,be)},C=({el:H,anchor:te})=>{let de;for(;H&&H!==te;)de=h(H),a(H),H=de;a(te)},x=(H,te,de,be,Ce,Se,Ne,Ve,$e)=>{if(te.type==="svg"?Ne="svg":te.type==="math"&&(Ne="mathml"),H==null)E(te,de,be,Ce,Se,Ne,Ve,$e);else{const _e=H.el&&H.el._isVueCE?H.el:null;try{_e&&_e._beginPatch(),I(H,te,Ce,Se,Ne,Ve,$e)}finally{_e&&_e._endPatch()}}},E=(H,te,de,be,Ce,Se,Ne,Ve)=>{let $e,_e;const{props:Oe,shapeFlag:Pe,transition:We,dirs:Qe}=H;if($e=H.el=r(H.type,Se,Oe&&Oe.is,Oe),Pe&8?u($e,H.children):Pe&16&&R(H.children,$e,null,be,Ce,j4(H,Se),Ne,Ve),Qe&&iu(H,null,be,"created"),T($e,H,H.scopeId,Ne,be),Oe){for(const De in Oe)De!=="value"&&!I0(De)&&o($e,De,null,Oe[De],Se,be);"value"in Oe&&o($e,"value",null,Oe.value,Se),(_e=Oe.onVnodeBeforeMount)&&qr(_e,be,H)}Qe&&iu(H,null,be,"beforeMount");const it=aL(Ce,We);it&&We.beforeEnter($e),s($e,te,de),((_e=Oe&&Oe.onVnodeMounted)||it||Qe)&&aa(()=>{_e&&qr(_e,be,H),it&&We.enter($e),Qe&&iu(H,null,be,"mounted")},Ce)},T=(H,te,de,be,Ce)=>{if(de&&p(H,de),be)for(let Se=0;Se{for(let _e=$e;_e{const Ve=te.el=H.el;let{patchFlag:$e,dynamicChildren:_e,dirs:Oe}=te;$e|=H.patchFlag&16;const Pe=H.props||Ut,We=te.props||Ut;let Qe;if(de&&uu(de,!1),(Qe=We.onVnodeBeforeUpdate)&&qr(Qe,de,te,H),Oe&&iu(te,H,de,"beforeUpdate"),de&&uu(de,!0),(Pe.innerHTML&&We.innerHTML==null||Pe.textContent&&We.textContent==null)&&u(Ve,""),_e?M(H.dynamicChildren,_e,Ve,de,be,j4(te,Ce),Se):Ne||L(H,te,Ve,null,de,be,j4(te,Ce),Se,!1),$e>0){if($e&16)$(Ve,Pe,We,de,Ce);else if($e&2&&Pe.class!==We.class&&o(Ve,"class",null,We.class,Ce),$e&4&&o(Ve,"style",Pe.style,We.style,Ce),$e&8){const it=te.dynamicProps;for(let De=0;De{Qe&&qr(Qe,de,te,H),Oe&&iu(te,H,de,"updated")},be)},M=(H,te,de,be,Ce,Se,Ne)=>{for(let Ve=0;Ve{if(te!==de){if(te!==Ut)for(const Se in te)!I0(Se)&&!(Se in de)&&o(H,Se,te[Se],null,Ce,be);for(const Se in de){if(I0(Se))continue;const Ne=de[Se],Ve=te[Se];Ne!==Ve&&Se!=="value"&&o(H,Se,Ve,Ne,Ce,be)}"value"in de&&o(H,"value",te.value,de.value,Ce)}},O=(H,te,de,be,Ce,Se,Ne,Ve,$e)=>{const _e=te.el=H?H.el:i(""),Oe=te.anchor=H?H.anchor:i("");let{patchFlag:Pe,dynamicChildren:We,slotScopeIds:Qe}=te;Qe&&(Ve=Ve?Ve.concat(Qe):Qe),H==null?(s(_e,de,be),s(Oe,de,be),R(te.children||[],de,Oe,Ce,Se,Ne,Ve,$e)):Pe>0&&Pe&64&&We&&H.dynamicChildren&&H.dynamicChildren.length===We.length?(M(H.dynamicChildren,We,de,Ce,Se,Ne,Ve),(te.key!=null||Ce&&te===Ce.subTree)&&K4(H,te,!0)):L(H,te,de,Oe,Ce,Se,Ne,Ve,$e)},B=(H,te,de,be,Ce,Se,Ne,Ve,$e)=>{te.slotScopeIds=Ve,H==null?te.shapeFlag&512?Ce.ctx.activate(te,de,be,Ne,$e):U(te,de,be,Ce,Se,Ne,$e):J(H,te,$e)},U=(H,te,de,be,Ce,Se,Ne)=>{const Ve=H.component=dL(H,be,Ce);if(W2(H)&&(Ve.ctx.renderer=ce),fL(Ve,!1,Ne),Ve.asyncDep){if(Ce&&Ce.registerDep(Ve,Y,Ne),!H.el){const $e=Ve.subTree=j(Kn);b(null,$e,te,de),H.placeholder=$e.el}}else Y(Ve,H,te,de,Ce,Se,Ne)},J=(H,te,de)=>{const be=te.component=H.component;if(GO(H,te,de))if(be.asyncDep&&!be.asyncResolved){N(be,te,de);return}else be.next=te,be.update();else te.el=H.el,be.vnode=te},Y=(H,te,de,be,Ce,Se,Ne)=>{const Ve=()=>{if(H.isMounted){let{next:Pe,bu:We,u:Qe,parent:it,vnode:De}=H;{const ot=nS(H);if(ot){Pe&&(Pe.el=De.el,N(H,Pe,Ne)),ot.asyncDep.then(()=>{aa(()=>{H.isUnmounted||_e()},Ce)});return}}let Ke=Pe,nt;uu(H,!1),Pe?(Pe.el=De.el,N(H,Pe,Ne)):Pe=De,We&&x2(We),(nt=Pe.props&&Pe.props.onVnodeBeforeUpdate)&&qr(nt,it,Pe,De),uu(H,!0);const Ft=jC(H),Kt=H.subTree;H.subTree=Ft,m(Kt,Ft,d(Kt.el),ne(Kt),H,Ce,Se),Pe.el=Ft.el,Ke===null&&YO(H,Ft.el),Qe&&aa(Qe,Ce),(nt=Pe.props&&Pe.props.onVnodeUpdated)&&aa(()=>qr(nt,it,Pe,De),Ce)}else{let Pe;const{el:We,props:Qe}=te,{bm:it,m:De,parent:Ke,root:nt,type:Ft}=H,Kt=hf(te);uu(H,!1),it&&x2(it),!Kt&&(Pe=Qe&&Qe.onVnodeBeforeMount)&&qr(Pe,Ke,te),uu(H,!0);{nt.ce&&nt.ce._hasShadowRoot()&&nt.ce._injectChildStyle(Ft);const ot=H.subTree=jC(H);m(null,ot,de,be,H,Ce,Se),te.el=ot.el}if(De&&aa(De,Ce),!Kt&&(Pe=Qe&&Qe.onVnodeMounted)){const ot=te;aa(()=>qr(Pe,Ke,ot),Ce)}(te.shapeFlag&256||Ke&&hf(Ke.vnode)&&Ke.vnode.shapeFlag&256)&&H.a&&aa(H.a,Ce),H.isMounted=!0,te=de=be=null}};H.scope.on();const $e=H.effect=new z_(Ve);H.scope.off();const _e=H.update=$e.run.bind($e),Oe=H.job=$e.runIfDirty.bind($e);Oe.i=H,Oe.id=H.uid,$e.scheduler=()=>k4(Oe),uu(H,!0),_e()},N=(H,te,de)=>{te.component=H;const be=H.vnode.props;H.vnode=te,H.next=null,JO(H,te.props,be,de),tL(H,te.children,de),Vr(),dC(H),zr()},L=(H,te,de,be,Ce,Se,Ne,Ve,$e=!1)=>{const _e=H&&H.children,Oe=H?H.shapeFlag:0,Pe=te.children,{patchFlag:We,shapeFlag:Qe}=te;if(We>0){if(We&128){z(_e,Pe,de,be,Ce,Se,Ne,Ve,$e);return}else if(We&256){V(_e,Pe,de,be,Ce,Se,Ne,Ve,$e);return}}Qe&8?(Oe&16&&fe(_e,Ce,Se),Pe!==_e&&u(de,Pe)):Oe&16?Qe&16?z(_e,Pe,de,be,Ce,Se,Ne,Ve,$e):fe(_e,Ce,Se,!0):(Oe&8&&u(de,""),Qe&16&&R(Pe,de,be,Ce,Se,Ne,Ve,$e))},V=(H,te,de,be,Ce,Se,Ne,Ve,$e)=>{H=H||er,te=te||er;const _e=H.length,Oe=te.length,Pe=Math.min(_e,Oe);let We;for(We=0;WeOe?fe(H,Ce,Se,!0,!1,Pe):R(te,de,be,Ce,Se,Ne,Ve,$e,Pe)},z=(H,te,de,be,Ce,Se,Ne,Ve,$e)=>{let _e=0;const Oe=te.length;let Pe=H.length-1,We=Oe-1;for(;_e<=Pe&&_e<=We;){const Qe=H[_e],it=te[_e]=$e?zi(te[_e]):Ur(te[_e]);if(du(Qe,it))m(Qe,it,de,null,Ce,Se,Ne,Ve,$e);else break;_e++}for(;_e<=Pe&&_e<=We;){const Qe=H[Pe],it=te[We]=$e?zi(te[We]):Ur(te[We]);if(du(Qe,it))m(Qe,it,de,null,Ce,Se,Ne,Ve,$e);else break;Pe--,We--}if(_e>Pe){if(_e<=We){const Qe=We+1,it=QeWe)for(;_e<=Pe;)Q(H[_e],Ce,Se,!0),_e++;else{const Qe=_e,it=_e,De=new Map;for(_e=it;_e<=We;_e++){const xe=te[_e]=$e?zi(te[_e]):Ur(te[_e]);xe.key!=null&&De.set(xe.key,_e)}let Ke,nt=0;const Ft=We-it+1;let Kt=!1,ot=0;const dt=new Array(Ft);for(_e=0;_e=Ft){Q(xe,Ce,Se,!0);continue}let qe;if(xe.key!=null)qe=De.get(xe.key);else for(Ke=it;Ke<=We;Ke++)if(dt[Ke-it]===0&&du(xe,te[Ke])){qe=Ke;break}qe===void 0?Q(xe,Ce,Se,!0):(dt[qe-it]=_e+1,qe>=ot?ot=qe:Kt=!0,m(xe,te[qe],de,null,Ce,Se,Ne,Ve,$e),nt++)}const kt=Kt?oL(dt):er;for(Ke=kt.length-1,_e=Ft-1;_e>=0;_e--){const xe=it+_e,qe=te[xe],we=te[xe+1],Ye=xe+1{const{el:Se,type:Ne,transition:Ve,children:$e,shapeFlag:_e}=H;if(_e&6){G(H.component.subTree,te,de,be);return}if(_e&128){H.suspense.move(te,de,be);return}if(_e&64){Ne.move(H,te,de,ce);return}if(Ne===He){s(Se,te,de);for(let Pe=0;Pe<$e.length;Pe++)G($e[Pe],te,de,be);s(H.anchor,te,de);return}if(Ne===U4){w(H,te,de);return}if(be!==2&&_e&1&&Ve)if(be===0)Ve.beforeEnter(Se),s(Se,te,de),aa(()=>Ve.enter(Se),Ce);else{const{leave:Pe,delayLeave:We,afterLeave:Qe}=Ve,it=()=>{H.ctx.isUnmounted?a(Se):s(Se,te,de)},De=()=>{Se._isLeaving&&Se[jr](!0),Pe(Se,()=>{it(),Qe&&Qe()})};We?We(Se,it,De):De()}else s(Se,te,de)},Q=(H,te,de,be=!1,Ce=!1)=>{const{type:Se,props:Ne,ref:Ve,children:$e,dynamicChildren:_e,shapeFlag:Oe,patchFlag:Pe,dirs:We,cacheIndex:Qe}=H;if(Pe===-2&&(Ce=!1),Ve!=null&&(Vr(),K0(Ve,null,de,H,!0),zr()),Qe!=null&&(te.renderCache[Qe]=void 0),Oe&256){te.ctx.deactivate(H);return}const it=Oe&1&&We,De=!hf(H);let Ke;if(De&&(Ke=Ne&&Ne.onVnodeBeforeUnmount)&&qr(Ke,te,H),Oe&6)ae(H.component,de,be);else{if(Oe&128){H.suspense.unmount(de,be);return}it&&iu(H,null,te,"beforeUnmount"),Oe&64?H.type.remove(H,te,de,ce,be):_e&&!_e.hasOnce&&(Se!==He||Pe>0&&Pe&64)?fe(_e,te,de,!1,!0):(Se===He&&Pe&384||!Ce&&Oe&16)&&fe($e,te,de),be&&K(H)}(De&&(Ke=Ne&&Ne.onVnodeUnmounted)||it)&&aa(()=>{Ke&&qr(Ke,te,H),it&&iu(H,null,te,"unmounted")},de)},K=H=>{const{type:te,el:de,anchor:be,transition:Ce}=H;if(te===He){ee(de,be);return}if(te===U4){C(H);return}const Se=()=>{a(de),Ce&&!Ce.persisted&&Ce.afterLeave&&Ce.afterLeave()};if(H.shapeFlag&1&&Ce&&!Ce.persisted){const{leave:Ne,delayLeave:Ve}=Ce,$e=()=>Ne(de,Se);Ve?Ve(H.el,Se,$e):$e()}else Se()},ee=(H,te)=>{let de;for(;H!==te;)de=h(H),a(H),H=de;a(te)},ae=(H,te,de)=>{const{bum:be,scope:Ce,job:Se,subTree:Ne,um:Ve,m:$e,a:_e}=H;sS($e),sS(_e),be&&x2(be),Ce.stop(),Se&&(Se.flags|=8,Q(Ne,H,te,de)),Ve&&aa(Ve,te),aa(()=>{H.isUnmounted=!0},te)},fe=(H,te,de,be=!1,Ce=!1,Se=0)=>{for(let Ne=Se;Ne{if(H.shapeFlag&6)return ne(H.component.subTree);if(H.shapeFlag&128)return H.suspense.next();const te=h(H.anchor||H.el),de=te&&te[mC];return de?h(de):te};let pe=!1;const he=(H,te,de)=>{let be;H==null?te._vnode&&(Q(te._vnode,null,null,!0),be=te._vnode.component):m(te._vnode||null,H,te,null,null,null,de),te._vnode=H,pe||(pe=!0,dC(be),fC(),pe=!1)},ce={p:m,um:Q,m:G,r:K,mt:U,mc:R,pc:L,pbc:M,n:ne,o:e};return{render:he,hydrate:void 0,createApp:HO(he)}}function j4({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function uu({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function aL(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function K4(e,t,n=!1){const s=e.children,a=t.children;if(ke(s)&&ke(a))for(let o=0;o>1,e[n[i]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,r=n[o-1];o-- >0;)n[o]=r,r=t[r];return n}function nS(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:nS(t)}function sS(e){if(e)for(let t=0;te.__isSuspense;function rL(e,t){t&&t.pendingBranch?ke(e)?t.effects.push(...e):t.effects.push(e):wO(e)}const He=Symbol.for("v-fgt"),vf=Symbol.for("v-txt"),Kn=Symbol.for("v-cmt"),U4=Symbol.for("v-stc"),Y0=[];let ro=null;function S(e=!1){Y0.push(ro=e?null:[])}function iL(){Y0.pop(),ro=Y0[Y0.length-1]||null}let X0=1;function G2(e,t=!1){X0+=e,e<0&&ro&&t&&(ro.hasOnce=!0)}function rS(e){return e.dynamicChildren=X0>0?ro||er:null,iL(),X0>0&&ro&&ro.push(e),e}function P(e,t,n,s,a,o){return rS(A(e,t,n,s,a,o,!0))}function le(e,t,n,s,a){return rS(j(e,t,n,s,a,!0))}function un(e){return e?e.__v_isVNode===!0:!1}function du(e,t){return e.type===t.type&&e.key===t.key}const iS=({key:e})=>e??null,Y2=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Xe(e)||pn(e)||et(e)?{i:js,r:e,k:t,f:!!n}:e:null);function A(e,t=null,n=null,s=0,a=null,o=e===He?0:1,r=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&iS(t),ref:t&&Y2(t),scopeId:pC,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:js};return i?(q4(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Xe(n)?8:16),X0>0&&!r&&ro&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&ro.push(l),l}const j=lL;function lL(e,t=null,n=null,s=0,a=null,o=!1){if((!e||e===IC)&&(e=Kn),un(e)){const i=Kr(e,t,!0);return n&&q4(i,n),X0>0&&!o&&ro&&(i.shapeFlag&6?ro[ro.indexOf(e)]=i:ro.push(i)),i.patchFlag=-2,i}if(gL(e)&&(e=e.__vccOpts),t){t=Vi(t);let{class:i,style:l}=t;i&&!Xe(i)&&(t.class=D(i)),ht(l)&&(O2(l)&&!ke(l)&&(l=hs({},l)),t.style=tt(l))}const r=Xe(e)?1:oS(e)?128:gC(e)?64:ht(e)?4:et(e)?2:0;return A(e,t,n,s,a,r,o,!0)}function Vi(e){return e?O2(e)||YC(e)?hs({},e):e:null}function Kr(e,t,n=!1,s=!1){const{props:a,ref:o,patchFlag:r,children:i,transition:l}=e,c=t?wt(a||{},t):a,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&iS(c),ref:t&&t.ref?n&&o?ke(o)?o.concat(Y2(t)):[o,Y2(t)]:Y2(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kr(e.ssContent),ssFallback:e.ssFallback&&Kr(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&lu(u,l.clone(u)),u}function Ue(e=" ",t=0){return j(vf,null,e,t)}function ie(e="",t=!1){return t?(S(),le(Kn,null,e)):j(Kn,null,e)}function Ur(e){return e==null||typeof e=="boolean"?j(Kn):ke(e)?j(He,null,e.slice()):un(e)?zi(e):j(vf,null,String(e))}function zi(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kr(e)}function q4(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(ke(t))n=16;else if(typeof t=="object")if(s&65){const a=t.default;a&&(a._c&&(a._d=!1),q4(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!YC(t)?t._ctx=js:a===3&&js&&(js.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else et(t)?(t={default:t,_ctx:js},n=32):(t=String(t),s&64?(n=16,t=[Ue(t)]):n=8);e.children=t,e.shapeFlag|=n}function wt(...e){const t={};for(let n=0;noa||js;let X2,G4;{const e=E2(),t=(n,s)=>{let a;return(a=e[n])||(a=e[n]=[]),a.push(s),o=>{a.length>1?a.forEach(r=>r(o)):a[0](o)}};X2=t("__VUE_INSTANCE_SETTERS__",n=>oa=n),G4=t("__VUE_SSR_SETTERS__",n=>Z0=n)}const J0=e=>{const t=oa;return X2(e),e.scope.on(),()=>{e.scope.off(),X2(t)}},lS=()=>{oa&&oa.scope.off(),X2(null)};function cS(e){return e.vnode.shapeFlag&4}let Z0=!1;function fL(e,t=!1,n=!1){t&&G4(t);const{props:s,children:a}=e.vnode,o=cS(e);XO(e,s,o,t),eL(e,a,n||t);const r=o?hL(e,t):void 0;return t&&G4(!1),r}function hL(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,NO);const{setup:s}=n;if(s){Vr();const a=e.setupContext=s.length>1?fS(e):null,o=J0(e),r=uf(s,e,0,[e.props,a]),i=tu(r);if(zr(),o(),(i||e.sp)&&!hf(e)&&TC(e),i){if(r.then(lS,lS),t)return r.then(l=>{uS(e,l)}).catch(l=>{D2(l,e,0)});e.asyncDep=r}else uS(e,r)}else dS(e)}function uS(e,t,n){et(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ht(t)&&(e.setupState=rC(t)),dS(e)}function dS(e,t,n){const s=e.type;e.render||(e.render=s.render||qt);{const a=J0(e);Vr();try{$O(e)}finally{zr(),a()}}}const pL={get(e,t){return sa(e,"get",""),e[t]}};function fS(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,pL),slots:e.slots,emit:e.emit,expose:t}}function J2(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(rC(Hr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in q0)return q0[n](e)},has(t,n){return n in t||n in q0}})):e.proxy}const vL=/(?:^|[-_])\w/g,mL=e=>e.replace(vL,t=>t.toUpperCase()).replace(/[-_]/g,"");function hS(e,t=!0){return et(e)?e.displayName||e.name:e.name||t&&e.__name}function pS(e,t,n=!1){let s=hS(t);if(!s&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(s=a[1])}if(!s&&e){const a=o=>{for(const r in o)if(o[r]===t)return r};s=a(e.components)||e.parent&&a(e.parent.type.components)||a(e.appContext.components)}return s?mL(s):n?"App":"Anonymous"}function gL(e){return et(e)&&"__vccOpts"in e}const k=(e,t)=>dO(e,t,Z0);function rt(e,t,n){try{G2(-1);const s=arguments.length;return s===2?ht(t)&&!ke(t)?un(t)?j(e,null,[t]):j(e,t):j(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&un(n)&&(n=[n]),j(e,t,n))}finally{G2(1)}}const bL="3.5.28",yL=qt;/** * @vue/runtime-dom v3.5.28 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Y4;const vS=typeof window<"u"&&window.trustedTypes;if(vS)try{Y4=vS.createPolicy("vue",{createHTML:e=>e})}catch{}const mS=Y4?e=>Y4.createHTML(e):e=>e,wL="http://www.w3.org/2000/svg",_L="http://www.w3.org/1998/Math/MathML",Hi=typeof document<"u"?document:null,gS=Hi&&Hi.createElement("template"),CL={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const a=t==="svg"?Hi.createElementNS(wL,e):t==="mathml"?Hi.createElementNS(_L,e):n?Hi.createElement(e,{is:n}):Hi.createElement(e);return e==="select"&&s&&s.multiple!=null&&a.setAttribute("multiple",s.multiple),a},createText:e=>Hi.createTextNode(e),createComment:e=>Hi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Hi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,a,o){const r=n?n.previousSibling:t.lastChild;if(a&&(a===o||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===o||!(a=a.nextSibling)););else{gS.innerHTML=mS(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const i=gS.content;if(s==="svg"||s==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Yl="transition",Q0="animation",mf=Symbol("_vtc"),bS={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},yS=hs({},SC,bS),vs=(e=>(e.displayName="Transition",e.props=yS,e))((e,{slots:t})=>rt(AO,_S(e),t)),fu=(e,t=[])=>{ke(e)?e.forEach(n=>n(...t)):e&&e(...t)},wS=e=>e?ke(e)?e.some(t=>t.length>1):e.length>1:!1;function _S(e){const t={};for(const O in e)O in bS||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:s,duration:a,enterFromClass:o=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=r,appearToClass:u=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,v=SL(a),m=v&&v[0],g=v&&v[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:w,onLeave:_,onLeaveCancelled:x,onBeforeAppear:E=b,onAppear:T=C,onAppearCancelled:R=w}=t,I=(O,B,U,J)=>{O._enterCancelled=J,Xl(O,B?u:i),Xl(O,B?c:r),U&&U()},M=(O,B)=>{O._isLeaving=!1,Xl(O,d),Xl(O,p),Xl(O,h),B&&B()},$=O=>(B,U)=>{const J=O?T:C,Y=()=>I(B,O,U);fu(J,[B,Y]),CS(()=>{Xl(B,O?l:o),Gr(B,O?u:i),wS(J)||SS(B,s,m,Y)})};return hs(t,{onBeforeEnter(O){fu(b,[O]),Gr(O,o),Gr(O,r)},onBeforeAppear(O){fu(E,[O]),Gr(O,l),Gr(O,c)},onEnter:$(!1),onAppear:$(!0),onLeave(O,B){O._isLeaving=!0;const U=()=>M(O,B);Gr(O,d),O._enterCancelled?(Gr(O,h),J4(O)):(J4(O),Gr(O,h)),CS(()=>{O._isLeaving&&(Xl(O,d),Gr(O,p),wS(_)||SS(O,s,g,U))}),fu(_,[O,U])},onEnterCancelled(O){I(O,!1,void 0,!0),fu(w,[O])},onAppearCancelled(O){I(O,!0,void 0,!0),fu(R,[O])},onLeaveCancelled(O){M(O),fu(x,[O])}})}function SL(e){if(e==null)return null;if(ht(e))return[X4(e.enter),X4(e.leave)];{const t=X4(e);return[t,t]}}function X4(e){return OI(e)}function Gr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[mf]||(e[mf]=new Set)).add(t)}function Xl(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[mf];n&&(n.delete(t),n.size||(e[mf]=void 0))}function CS(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let xL=0;function SS(e,t,n,s){const a=e._endId=++xL,o=()=>{a===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:r,timeout:i,propCount:l}=xS(e,t);if(!r)return s();const c=r+"end";let u=0;const d=()=>{e.removeEventListener(c,h),o()},h=p=>{p.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[v]||"").split(", "),a=s(`${Yl}Delay`),o=s(`${Yl}Duration`),r=ES(a,o),i=s(`${Q0}Delay`),l=s(`${Q0}Duration`),c=ES(i,l);let u=null,d=0,h=0;t===Yl?r>0&&(u=Yl,d=r,h=o.length):t===Q0?c>0&&(u=Q0,d=c,h=l.length):(d=Math.max(r,c),u=d>0?r>c?Yl:Q0:null,h=u?u===Yl?o.length:l.length:0);const p=u===Yl&&/\b(?:transform|all)(?:,|$)/.test(s(`${Yl}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:p}}function ES(e,t){for(;e.lengthkS(n)+kS(e[s])))}function kS(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function J4(e){return(e?e.ownerDocument:document).body.offsetHeight}function EL(e,t,n){const s=e[mf];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Z2=Symbol("_vod"),AS=Symbol("_vsh"),Bt={name:"show",beforeMount(e,{value:t},{transition:n}){e[Z2]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ep(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),ep(e,!0),s.enter(e)):s.leave(e,()=>{ep(e,!1)}):ep(e,t))},beforeUnmount(e,{value:t}){ep(e,t)}};function ep(e,t){e.style.display=t?e[Z2]:"none",e[AS]=!t}const kL=Symbol(""),AL=/(?:^|;)\s*display\s*:/;function TL(e,t,n){const s=e.style,a=Xe(n);let o=!1;if(n&&!a){if(t)if(Xe(t))for(const r of t.split(";")){const i=r.slice(0,r.indexOf(":")).trim();n[i]==null&&Q2(s,i,"")}else for(const r in t)n[r]==null&&Q2(s,r,"");for(const r in n)r==="display"&&(o=!0),Q2(s,r,n[r])}else if(a){if(t!==n){const r=s[kL];r&&(n+=";"+r),s.cssText=n,o=AL.test(n)}}else t&&e.removeAttribute("style");Z2 in e&&(e[Z2]=o?s.display:"",e[AS]&&(s.display="none"))}const TS=/\s*!important$/;function Q2(e,t,n){if(ke(n))n.forEach(s=>Q2(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ML(e,t);TS.test(n)?e.setProperty(Ii(s),n.replace(TS,""),"important"):e[s]=n}}const MS=["Webkit","Moz","ms"],Z4={};function ML(e,t){const n=Z4[t];if(n)return n;let s=xa(t);if(s!=="filter"&&s in e)return Z4[t]=s;s=O0(s);for(let a=0;aQ4||(OL.then(()=>Q4=0),Q4=Date.now());function NL(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ar($L(s,n.value),t,5,[s])};return n.value=e,n.attached=LL(),n}function $L(e,t){if(ke(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>a=>!a._stopped&&s&&s(a))}else return t}const NS=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,DL=(e,t,n,s,a,o)=>{const r=a==="svg";t==="class"?EL(e,s,r):t==="style"?TL(e,n,s):w2(t)?d4(t)||RL(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):FL(e,t,s,r))?(IS(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&RS(e,t,s,r,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Xe(s))?IS(e,xa(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),RS(e,t,s,r))};function FL(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&NS(t)&&et(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return NS(t)&&Xe(n)?!1:t in e}const $S=new WeakMap,DS=new WeakMap,eg=Symbol("_moveCb"),FS=Symbol("_enterCb"),BS=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:hs({},yS,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=_t(),s=CC();let a,o;return or(()=>{if(!a.length)return;const r=e.moveClass||`${e.name||"v"}-move`;if(!HL(a[0].el,n.vnode.el,r)){a=[];return}a.forEach(BL),a.forEach(VL);const i=a.filter(zL);J4(n.vnode.el),i.forEach(l=>{const c=l.el,u=c.style;Gr(c,r),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[eg]=h=>{h&&h.target!==c||(!h||h.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",d),c[eg]=null,Xl(c,r))};c.addEventListener("transitionend",d)}),a=[]}),()=>{const r=cn(e),i=_S(r);let l=r.tag||He;if(a=[],o)for(let c=0;c{i.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:r}=xS(s);return o.removeChild(s),r}const gf=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ke(t)?n=>x2(t,n):t};function WL(e){e.target.composing=!0}function zS(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Wi=Symbol("_assign");function HS(e,t,n){return t&&(e=e.trim()),n&&(e=h4(e)),e}const WS={created(e,{modifiers:{lazy:t,trim:n,number:s}},a){e[Wi]=gf(a);const o=s||a.props&&a.props.type==="number";Jl(e,t?"change":"input",r=>{r.target.composing||e[Wi](HS(e.value,n,o))}),(n||o)&&Jl(e,"change",()=>{e.value=HS(e.value,n,o)}),t||(Jl(e,"compositionstart",WL),Jl(e,"compositionend",zS),Jl(e,"change",zS))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:a,number:o}},r){if(e[Wi]=gf(r),e.composing)return;const i=(o||e.type==="number")&&!/^0\d/.test(e.value)?h4(e.value):e.value,l=t??"";i!==l&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||a&&e.value.trim()===l)||(e.value=l))}},jS={deep:!0,created(e,t,n){e[Wi]=gf(n),Jl(e,"change",()=>{const s=e._modelValue,a=qS(e),o=e.checked,r=e[Wi];if(ke(s)){const i=N_(s,a),l=i!==-1;if(o&&!l)r(s.concat(a));else if(!o&&l){const c=[...s];c.splice(i,1),r(c)}}else if(_2(s)){const i=new Set(s);o?i.add(a):i.delete(a),r(i)}else r(GS(e,o))})},mounted:KS,beforeUpdate(e,t,n){e[Wi]=gf(n),KS(e,t,n)}};function KS(e,{value:t,oldValue:n},s){e._modelValue=t;let a;if(ke(t))a=N_(t,s.props.value)>-1;else if(_2(t))a=t.has(s.props.value);else{if(t===n)return;a=nu(t,GS(e,!0))}e.checked!==a&&(e.checked=a)}const US={created(e,{value:t},n){e.checked=nu(t,n.props.value),e[Wi]=gf(n),Jl(e,"change",()=>{e[Wi](qS(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Wi]=gf(s),t!==n&&(e.checked=nu(t,s.props.value))}};function qS(e){return"_value"in e?e._value:e.value}function GS(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const jL=["ctrl","shift","alt","meta"],KL={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)=>jL.some(n=>e[`${n}Key`]&&!t.includes(n))},lt=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(a,...o)=>{for(let r=0;r{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=a=>{if(!("key"in a))return;const o=Ii(a.key);if(t.some(r=>r===o||UL[r]===o))return e(a)})},qL=hs({patchProp:DL},CL);let YS;function XS(){return YS||(YS=nL(qL))}const Zl=(...e)=>{XS().render(...e)},JS=(...e)=>{const t=XS().createApp(...e),{mount:n}=t;return t.mount=s=>{const a=YL(s);if(!a)return;const o=t._component;!et(o)&&!o.render&&!o.template&&(o.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const r=n(a,!1,GL(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),r},t};function GL(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function YL(e){return Xe(e)?document.querySelector(e):e}const XL="2.13.2",ZS=Symbol("INSTALLED_KEY"),QS=Symbol();var e5=typeof global=="object"&&global&&global.Object===Object&&global,JL=typeof self=="object"&&self&&self.Object===Object&&self,rr=e5||JL||Function("return this")(),Oo=rr.Symbol,t5=Object.prototype,ZL=t5.hasOwnProperty,QL=t5.toString,tp=Oo?Oo.toStringTag:void 0;function eN(e){var t=ZL.call(e,tp),n=e[tp];try{e[tp]=void 0;var s=!0}catch{}var a=QL.call(e);return s&&(t?e[tp]=n:delete e[tp]),a}var tN=Object.prototype,nN=tN.toString;function sN(e){return nN.call(e)}var aN="[object Null]",oN="[object Undefined]",n5=Oo?Oo.toStringTag:void 0;function hu(e){return e==null?e===void 0?oN:aN:n5&&n5 in Object(e)?eN(e):sN(e)}function Yr(e){return e!=null&&typeof e=="object"}var rN="[object Symbol]";function tg(e){return typeof e=="symbol"||Yr(e)&&hu(e)==rN}function ey(e,t){for(var n=-1,s=e==null?0:e.length,a=Array(s);++n0){if(++t>=LN)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function FN(e){return function(){return e}}var ng=function(){try{var e=vu(Object,"defineProperty");return e({},"",{}),e}catch{}}(),BN=ng?function(e,t){return ng(e,"toString",{configurable:!0,enumerable:!1,value:FN(t),writable:!0})}:ty,u5=DN(BN);function VN(e,t){for(var n=-1,s=e==null?0:e.length;++n-1}var KN=9007199254740991,UN=/^(?:0|[1-9]\d*)$/;function sg(e,t){var n=typeof e;return t=t??KN,!!t&&(n=="number"||n!="symbol"&&UN.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=YN}function yf(e){return e!=null&&iy(e.length)&&!ny(e)}function XN(e,t,n){if(!Ma(n))return!1;var s=typeof t;return(s=="number"?yf(n)&&sg(t,n.length):s=="string"&&t in n)?sp(n[t],e):!1}function JN(e){return p5(function(t,n){var s=-1,a=n.length,o=a>1?n[a-1]:void 0,r=a>2?n[2]:void 0;for(o=e.length>3&&typeof o=="function"?(a--,o):void 0,r&&XN(n[0],n[1],r)&&(o=a<3?void 0:o,a=1),t=Object(t);++s-1}function iD(e,t){var n=this.__data__,s=ag(n,e);return s<0?(++this.size,n.push([e,t])):n[s][1]=t,this}function ji(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(i)?t>1?dp(i,t-1,n,s,a):hy(a,i):s||(a[a.length]=i)}return a}function lg(e){var t=e==null?0:e.length;return t?dp(e,1):[]}function E5(e){return u5(h5(e,void 0,lg),e+"")}var py=S5(Object.getPrototypeOf,Object),CD="[object Object]",SD=Function.prototype,xD=Object.prototype,k5=SD.toString,ED=xD.hasOwnProperty,kD=k5.call(Object);function A5(e){if(!Yr(e)||hu(e)!=CD)return!1;var t=py(e);if(t===null)return!0;var n=ED.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&k5.call(n)==kD}function AD(e,t,n){var s=-1,a=e.length;t<0&&(t=-t>a?0:a+t),n=n>a?a:n,n<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(a);++s=t?e:t)),e}function gu(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=np(n),n=n===n?n:0),t!==void 0&&(t=np(t),t=t===t?t:0),TD(np(e),t,n)}function MD(){this.__data__=new ji,this.size=0}function PD(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function RD(e){return this.__data__.get(e)}function ID(e){return this.__data__.has(e)}var OD=200;function LD(e,t){var n=this.__data__;if(n instanceof ji){var s=n.__data__;if(!up||s.lengthi))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var d=-1,h=!0,p=n&cB?new fp:void 0;for(o.set(e,t),o.set(t,e);++d=t||T<0||d&&R>=o}function b(){var E=Sy();if(g(E))return C(E);i=setTimeout(b,m(E))}function C(E){return i=void 0,h&&s?p(E):(s=a=void 0,r)}function w(){i!==void 0&&clearTimeout(i),c=0,s=l=a=i=void 0}function _(){return i===void 0?r:C(Sy())}function x(){var E=Sy(),T=g(E);if(s=arguments,a=this,l=E,T){if(i===void 0)return v(l);if(d)return clearTimeout(i),i=setTimeout(b,t),p(l)}return i===void 0&&(i=setTimeout(b,t)),r}return x.cancel=w,x.flush=_,x}function xy(e,t,n){(n!==void 0&&!sp(e[t],n)||n===void 0&&!(t in e))&&oy(e,t,n)}function ux(e){return Yr(e)&&yf(e)}function Ey(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function JB(e){return bf(e,lp(e))}function ZB(e,t,n,s,a,o,r){var i=Ey(e,n),l=Ey(t,n),c=r.get(l);if(c){xy(e,n,c);return}var u=o?o(i,l,n+"",e,t,r):void 0,d=u===void 0;if(d){var h=Ta(l),p=!h&&op(l),v=!h&&!p&&dy(l);u=l,h||p||v?Ta(i)?u=i:ux(i)?u=c5(i):p?(d=!1,u=I5(l,!0)):v?(d=!1,u=K5(l,!0)):u=[]:A5(l)||ap(l)?(u=i,ap(i)?u=JB(i):(!Ma(i)||ny(i))&&(u=U5(l))):d=!1}d&&(r.set(l,u),a(u,l,s,o,r),r.delete(l)),xy(e,n,u)}function dx(e,t,n,s,a){e!==t&&cx(t,function(o,r){if(a||(a=new ir),Ma(o))ZB(e,t,r,n,dx,s,a);else{var i=s?s(Ey(e,r),o,r+"",e,t,a):void 0;i===void 0&&(i=o),xy(e,r,i)}},lp)}function QB(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function fx(e,t,n){var s=e==null?0:e.length;if(!s)return-1;var a=s-1;return d5(e,lx(t),a,!0)}function eV(e,t){var n=-1,s=yf(e)?Array(e.length):[];return qB(e,function(a,o,r){s[++n]=t(a,o,r)}),s}function tV(e,t){var n=Ta(e)?ey:eV;return n(e,lx(t))}function hx(e,t){return dp(tV(e,t),1)}var nV=1/0;function sV(e){var t=e==null?0:e.length;return t?dp(e,nV):[]}function hp(e){for(var t=-1,n=e==null?0:e.length,s={};++t1),o}),bf(e,D5(e),n),s&&(n=xf(n,pV|vV|mV,hV));for(var a=t.length;a--;)fV(n,t[a]);return n});function vx(e,t,n,s){if(!Ma(e))return e;t=_f(t,e);for(var a=-1,o=t.length,r=o-1,i=e;i!=null&&++a=SV){var c=CV(e);if(c)return _y(c);r=!1,a=Z5,l=new fp}else l=i;e:for(;++s(t,n)=>AV(t,n,f(e)),AV=(e,t,n)=>Yn(n,e,e).replace(/\{(\w+)\}/g,(s,a)=>{var o;return`${(o=t==null?void 0:t[a])!=null?o:`{${a}}`}`}),TV=e=>({lang:k(()=>f(e).name),locale:pn(e)?e:F(e),t:kV(e)}),mx=Symbol("localeContextKey"),It=e=>{const t=e||je(mx,F());return TV(k(()=>t.value||EV))},vp="el",MV="is-",bu=(e,t,n,s,a)=>{let o=`${e}-${t}`;return n&&(o+=`-${n}`),s&&(o+=`__${s}`),a&&(o+=`--${a}`),o},gx=Symbol("namespaceContextKey"),Ay=e=>{const t=e||(_t()?je(gx,F(vp)):F(vp));return k(()=>f(t)||vp)},Ee=(e,t)=>{const n=Ay(t);return{namespace:n,b:(m="")=>bu(n.value,e,m,"",""),e:m=>m?bu(n.value,e,"",m,""):"",m:m=>m?bu(n.value,e,"","",m):"",be:(m,g)=>m&&g?bu(n.value,e,m,g,""):"",em:(m,g)=>m&&g?bu(n.value,e,"",m,g):"",bm:(m,g)=>m&&g?bu(n.value,e,m,"",g):"",bem:(m,g,b)=>m&&g&&b?bu(n.value,e,m,g,b):"",is:(m,...g)=>{const b=g.length>=1?g[0]:!0;return m&&b?`${MV}${m}`:""},cssVar:m=>{const g={};for(const b in m)m[b]&&(g[`--${n.value}-${b}`]=m[b]);return g},cssVarName:m=>`--${n.value}-${m}`,cssVarBlock:m=>{const g={};for(const b in m)m[b]&&(g[`--${n.value}-${e}-${b}`]=m[b]);return g},cssVarBlockName:m=>`--${n.value}-${e}-${m}`}},$t=e=>e===void 0,Qt=e=>typeof e=="boolean",at=e=>typeof e=="number",Pa=e=>!e&&e!==0||ke(e)&&e.length===0||ht(e)&&!Object.keys(e).length,ja=e=>typeof Element>"u"?!1:e instanceof Element,Ka=e=>qn(e),PV=e=>Xe(e)?!Number.isNaN(Number(e)):!1,mp=e=>e===window;function bx(e,t){var n;const s=hn();return Wa(()=>{s.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),au(s)}function yu(e){return B_()?(V_(e),!0):!1}function io(e){return typeof e=="function"?e():f(e)}function RV(e){if(!pn(e))return Wt(e);const t=new Proxy({},{get(n,s,a){return f(Reflect.get(e.value,s,a))},set(n,s,a){return pn(e.value[s])&&!pn(a)?e.value[s].value=a:e.value[s]=a,!0},deleteProperty(n,s){return Reflect.deleteProperty(e.value,s)},has(n,s){return Reflect.has(e.value,s)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Wt(t)}function IV(e){return RV(k(e))}const jt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const OV=e=>typeof e<"u",yx=e=>e!=null,LV=Object.prototype.toString,NV=e=>LV.call(e)==="[object Object]",wx=(e,t,n)=>Math.min(n,Math.max(t,e)),cr=()=>{},pg=$V();function $V(){var e,t;return jt&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function _x(e,t){function n(...s){return new Promise((a,o)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(a).catch(o)})}return n}function DV(e,t={}){let n,s,a=cr;const o=i=>{clearTimeout(i),a(),a=cr};return i=>{const l=io(e),c=io(t.maxWait);return n&&o(n),l<=0||c!==void 0&&c<=0?(s&&(o(s),s=null),Promise.resolve(i())):new Promise((u,d)=>{a=t.rejectOnCancel?d:u,c&&!s&&(s=setTimeout(()=>{n&&o(n),s=null,u(i())},c)),n=setTimeout(()=>{s&&o(s),s=null,u(i())},l)})}}function FV(...e){let t=0,n,s=!0,a=cr,o,r,i,l,c;!pn(e[0])&&typeof e[0]=="object"?{delay:r,trailing:i=!0,leading:l=!0,rejectOnCancel:c=!1}=e[0]:[r,i=!0,l=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,a(),a=cr)};return h=>{const p=io(r),v=Date.now()-t,m=()=>o=h();return u(),p<=0?(t=Date.now(),m()):(v>p&&(l||!s)?(t=Date.now(),m()):i&&(o=new Promise((g,b)=>{a=c?b:g,n=setTimeout(()=>{t=Date.now(),s=!0,g(m()),u()},Math.max(0,p-v))})),!l&&!n&&(n=setTimeout(()=>s=!0,p)),s=!1,o)}}function BV(e){return _t()}function gp(e,t=200,n={}){return _x(DV(t,n),e)}function VV(e,t=200,n={}){const s=F(e.value),a=gp(()=>{s.value=e.value},t,n);return me(e,()=>a()),s}function Cx(e,t=200,n=!1,s=!0,a=!1){return _x(FV(t,n,s,a),e)}function Ty(e,t=!0,n){BV()?St(e,n):t?e():ze(e)}function Ef(e,t,n={}){const{immediate:s=!0}=n,a=F(!1);let o=null;function r(){o&&(clearTimeout(o),o=null)}function i(){a.value=!1,r()}function l(...c){r(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=null,e(...c)},io(t))}return s&&(a.value=!0,jt&&l()),yu(i),{isPending:au(a),start:l,stop:i}}function os(e){var t;const n=io(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ur=jt?window:void 0,zV=jt?window.document:void 0;function Zt(...e){let t,n,s,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,a]=e,t=ur):[t,n,s,a]=e,!t)return cr;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const o=[],r=()=>{o.forEach(u=>u()),o.length=0},i=(u,d,h,p)=>(u.addEventListener(d,h,p),()=>u.removeEventListener(d,h,p)),l=me(()=>[os(t),io(a)],([u,d])=>{if(r(),!u)return;const h=NV(d)?{...d}:d;o.push(...n.flatMap(p=>s.map(v=>i(u,p,v,h))))},{immediate:!0,flush:"post"}),c=()=>{l(),r()};return yu(c),c}let Sx=!1;function My(e,t,n={}){const{window:s=ur,ignore:a=[],capture:o=!0,detectIframe:r=!1}=n;if(!s)return cr;pg&&!Sx&&(Sx=!0,Array.from(s.document.body.children).forEach(h=>h.addEventListener("click",cr)),s.document.documentElement.addEventListener("click",cr));let i=!0;const l=h=>a.some(p=>{if(typeof p=="string")return Array.from(s.document.querySelectorAll(p)).some(v=>v===h.target||h.composedPath().includes(v));{const v=os(p);return v&&(h.target===v||h.composedPath().includes(v))}}),u=[Zt(s,"click",h=>{const p=os(e);if(!(!p||p===h.target||h.composedPath().includes(p))){if(h.detail===0&&(i=!l(h)),!i){i=!0;return}t(h)}},{passive:!0,capture:o}),Zt(s,"pointerdown",h=>{const p=os(e);i=!l(h)&&!!(p&&!h.composedPath().includes(p))},{passive:!0}),r&&Zt(s,"blur",h=>{setTimeout(()=>{var p;const v=os(e);((p=s.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(v!=null&&v.contains(s.document.activeElement))&&t(h)},0)})].filter(Boolean);return()=>u.forEach(h=>h())}function HV(){const e=F(!1),t=_t();return t&&St(()=>{e.value=!0},t),e}function vg(e){const t=HV();return k(()=>(t.value,!!e()))}function bp(e,t,n={}){const{window:s=ur,...a}=n;let o;const r=vg(()=>s&&"MutationObserver"in s),i=()=>{o&&(o.disconnect(),o=void 0)},l=k(()=>{const h=io(e),p=(Array.isArray(h)?h:[h]).map(os).filter(yx);return new Set(p)}),c=me(()=>l.value,h=>{i(),r.value&&h.size&&(o=new MutationObserver(t),h.forEach(p=>o.observe(p,a)))},{immediate:!0,flush:"post"}),u=()=>o==null?void 0:o.takeRecords(),d=()=>{i(),c()};return yu(d),{isSupported:r,stop:d,takeRecords:u}}function WV(e={}){var t;const{window:n=ur,deep:s=!0,triggerOnRemoval:a=!1}=e,o=(t=e.document)!=null?t:n==null?void 0:n.document,r=()=>{var c;let u=o==null?void 0:o.activeElement;if(s)for(;u!=null&&u.shadowRoot;)u=(c=u==null?void 0:u.shadowRoot)==null?void 0:c.activeElement;return u},i=F(),l=()=>{i.value=r()};return n&&(Zt(n,"blur",c=>{c.relatedTarget===null&&l()},!0),Zt(n,"focus",l,!0)),a&&bp(o,c=>{c.filter(u=>u.removedNodes.length).map(u=>Array.from(u.removedNodes)).flat().forEach(u=>{u===i.value&&l()})},{childList:!0,subtree:!0}),l(),i}function jV(e,t={}){const{window:n=ur}=t,s=vg(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let a;const o=F(!1),r=c=>{o.value=c.matches},i=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",r):a.removeListener(r))},l=Wa(()=>{s.value&&(i(),a=n.matchMedia(io(e)),"addEventListener"in a?a.addEventListener("change",r):a.addListener(r),o.value=a.matches)});return yu(()=>{l(),i(),a=void 0}),o}function KV(e){return JSON.parse(JSON.stringify(e))}function UV(e,t,n={}){const{window:s=ur,initialValue:a="",observe:o=!1}=n,r=F(a),i=k(()=>{var c;return os(t)||((c=s==null?void 0:s.document)==null?void 0:c.documentElement)});function l(){var c;const u=io(e),d=io(i);if(d&&s){const h=(c=s.getComputedStyle(d).getPropertyValue(u))==null?void 0:c.trim();r.value=h||a}}return o&&bp(i,l,{attributeFilter:["style","class"],window:s}),me([i,()=>io(e)],l,{immediate:!0}),me(r,c=>{var u;(u=i.value)!=null&&u.style&&i.value.style.setProperty(io(e),c)}),r}function qV(e={}){const{document:t=zV}=e;if(!t)return F("visible");const n=F(t.visibilityState);return Zt(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function bn(e,t,n={}){const{window:s=ur,...a}=n;let o;const r=vg(()=>s&&"ResizeObserver"in s),i=()=>{o&&(o.disconnect(),o=void 0)},l=k(()=>Array.isArray(e)?e.map(d=>os(d)):[os(e)]),c=me(l,d=>{if(i(),r.value&&s){o=new ResizeObserver(t);for(const h of d)h&&o.observe(h,a)}},{immediate:!0,flush:"post"}),u=()=>{i(),c()};return yu(u),{isSupported:r,stop:u}}function xx(e,t={}){const{reset:n=!0,windowResize:s=!0,windowScroll:a=!0,immediate:o=!0}=t,r=F(0),i=F(0),l=F(0),c=F(0),u=F(0),d=F(0),h=F(0),p=F(0);function v(){const m=os(e);if(!m){n&&(r.value=0,i.value=0,l.value=0,c.value=0,u.value=0,d.value=0,h.value=0,p.value=0);return}const g=m.getBoundingClientRect();r.value=g.height,i.value=g.bottom,l.value=g.left,c.value=g.right,u.value=g.top,d.value=g.width,h.value=g.x,p.value=g.y}return bn(e,v),me(()=>os(e),m=>!m&&v()),bp(e,v,{attributeFilter:["style","class"]}),a&&Zt("scroll",v,{capture:!0,passive:!0}),s&&Zt("resize",v,{passive:!0}),Ty(()=>{o&&v()}),{height:r,bottom:i,left:l,right:c,top:u,width:d,x:h,y:p,update:v}}function Py(e,t={width:0,height:0},n={}){const{window:s=ur,box:a="content-box"}=n,o=k(()=>{var d,h;return(h=(d=os(e))==null?void 0:d.namespaceURI)==null?void 0:h.includes("svg")}),r=F(t.width),i=F(t.height),{stop:l}=bn(e,([d])=>{const h=a==="border-box"?d.borderBoxSize:a==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(s&&o.value){const p=os(e);if(p){const v=p.getBoundingClientRect();r.value=v.width,i.value=v.height}}else if(h){const p=Array.isArray(h)?h:[h];r.value=p.reduce((v,{inlineSize:m})=>v+m,0),i.value=p.reduce((v,{blockSize:m})=>v+m,0)}else r.value=d.contentRect.width,i.value=d.contentRect.height},n);Ty(()=>{const d=os(e);d&&(r.value="offsetWidth"in d?d.offsetWidth:t.width,i.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=me(()=>os(e),d=>{r.value=d?t.width:0,i.value=d?t.height:0});function u(){l(),c()}return{width:r,height:i,stop:u}}function GV(e,t,n={}){const{root:s,rootMargin:a="0px",threshold:o=.1,window:r=ur,immediate:i=!0}=n,l=vg(()=>r&&"IntersectionObserver"in r),c=k(()=>{const v=io(e);return(Array.isArray(v)?v:[v]).map(os).filter(yx)});let u=cr;const d=F(i),h=l.value?me(()=>[c.value,os(s),d.value],([v,m])=>{if(u(),!d.value||!v.length)return;const g=new IntersectionObserver(t,{root:os(m),rootMargin:a,threshold:o});v.forEach(b=>b&&g.observe(b)),u=()=>{g.disconnect(),u=cr}},{immediate:i,flush:"post"}):cr,p=()=>{u(),h(),d.value=!1};return yu(p),{isSupported:l,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:p}}function Ex(e,t,n,s={}){var a,o,r;const{clone:i=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:d,shouldEmit:h}=s,p=_t(),v=n||(p==null?void 0:p.emit)||((a=p==null?void 0:p.$emit)==null?void 0:a.bind(p))||((r=(o=p==null?void 0:p.proxy)==null?void 0:o.$emit)==null?void 0:r.bind(p==null?void 0:p.proxy));let m=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const g=w=>i?typeof i=="function"?i(w):KV(w):w,b=()=>OV(e[t])?g(e[t]):d,C=w=>{h?h(w)&&v(m,w):v(m,w)};if(l){const w=b(),_=F(w);let x=!1;return me(()=>e[t],E=>{x||(x=!0,_.value=g(E),ze(()=>x=!1))}),me(_,E=>{!x&&(E!==e[t]||u)&&C(E)},{deep:u}),_}else return k({get(){return b()},set(w){C(w)}})}function YV(e={}){const{window:t=ur}=e;if(!t)return F(!1);const n=F(t.document.hasFocus());return Zt(t,"blur",()=>{n.value=!1}),Zt(t,"focus",()=>{n.value=!0}),n}function Ry(e={}){const{window:t=ur,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:a=!0,includeScrollbar:o=!0}=e,r=F(n),i=F(s),l=()=>{t&&(o?(r.value=t.innerWidth,i.value=t.innerHeight):(r.value=t.document.documentElement.clientWidth,i.value=t.document.documentElement.clientHeight))};if(l(),Ty(l),Zt("resize",l,{passive:!0}),a){const c=jV("(orientation: portrait)");me(c,()=>l())}return{width:r,height:i}}class XV extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Xn(e,t){throw new XV(`[${e}] ${t}`)}function Xye(e,t){}const kx={current:0},Ax=F(0),Tx=2e3,Mx=Symbol("elZIndexContextKey"),Px=Symbol("zIndexContextKey"),yp=e=>{const t=_t()?je(Mx,kx):kx,n=e||(_t()?je(Px,void 0):void 0),s=k(()=>{const r=f(n);return at(r)?r:Tx}),a=k(()=>s.value+Ax.value),o=()=>(t.current++,Ax.value=t.current,a.value);return!jt&&je(Mx),{initialZIndex:s,currentZIndex:a,nextZIndex:o}},Rx="__epPropKey",re=e=>e,JV=e=>ht(e)&&!!e[Rx],dr=(e,t)=>{if(!ht(e)||JV(e))return e;const{values:n,required:s,default:a,type:o,validator:r}=e,l={type:o,required:!!s,validator:n||r?c=>{let u=!1,d=[];if(n&&(d=Array.from(n),Ht(e,"default")&&d.push(a),u||(u=d.includes(c))),r&&(u||(u=r(c))),!u&&d.length>0){const h=[...new Set(d)].map(p=>JSON.stringify(p)).join(", ");yL(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${h}], got value ${JSON.stringify(c)}.`)}return u}:void 0,[Rx]:!0};return Ht(e,"default")&&(l.default=a),l},Te=e=>hp(Object.entries(e).map(([t,n])=>[t,dr(n,t)])),fr=["","default","small","large"],rs=dr({type:String,values:fr,required:!1}),Ix=Symbol("size"),Ox=()=>{const e=je(Ix,{});return k(()=>f(e.size)||"")},Lx=Symbol("emptyValuesContextKey"),ZV=["",void 0,null],QV=void 0,wu=Te({emptyValues:Array,valueOnClear:{type:re([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=et(e)?e():e,ke(e)?e.every(t=>!t):!e)}}),wp=(e,t)=>{const n=_t()?je(Lx,F({})):F({}),s=k(()=>e.emptyValues||n.value.emptyValues||ZV),a=k(()=>et(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:et(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:QV),o=r=>{let i=!0;return ke(r)?i=s.value.some(l=>$n(r,l)):i=s.value.includes(r),i};return o(a.value),{emptyValues:s,valueOnClear:a,isEmptyValue:o}},_p=e=>Object.keys(e),Nx=e=>Object.entries(e),kf=(e,t,n)=>({get value(){return Yn(e,t,n)},set value(s){yV(e,t,s)}}),mg=F();function Af(e,t=void 0){const n=_t()?je(QS,mg):mg;return e?k(()=>{var s,a;return(a=(s=n.value)==null?void 0:s[e])!=null?a:t}):n}function gg(e,t){const n=Af(),s=Ee(e,k(()=>{var i;return((i=n.value)==null?void 0:i.namespace)||vp})),a=It(k(()=>{var i;return(i=n.value)==null?void 0:i.locale})),o=yp(k(()=>{var i;return((i=n.value)==null?void 0:i.zIndex)||Tx})),r=k(()=>{var i;return f(t)||((i=n.value)==null?void 0:i.size)||""});return Iy(k(()=>f(n)||{})),{ns:s,locale:a,zIndex:o,size:r}}const Iy=(e,t,n=!1)=>{var s;const a=!!_t(),o=a?Af():void 0,r=(s=t==null?void 0:t.provide)!=null?s:a?Tt:void 0;if(!r)return;const i=k(()=>{const l=f(e);return o!=null&&o.value?ez(o.value,l):l});return r(QS,i),r(mx,k(()=>i.value.locale)),r(gx,k(()=>i.value.namespace)),r(Px,k(()=>i.value.zIndex)),r(Ix,{size:k(()=>i.value.size||"")}),r(Lx,k(()=>({emptyValues:i.value.emptyValues,valueOnClear:i.value.valueOnClear}))),(n||!mg.value)&&(mg.value=i.value),i},ez=(e,t)=>{const n=[...new Set([..._p(e),..._p(t)])],s={};for(const a of n)s[a]=t[a]!==void 0?t[a]:e[a];return s},tz=(e=[])=>({version:XL,install:(n,s)=>{n[ZS]||(n[ZS]=!0,e.forEach(a=>n.use(a)),s&&Iy(s,n,!0))}}),Cp=Te({to:{type:re([String,Object]),required:!0},disabled:Boolean}),ct="update:modelValue",Pt="change",es="input",nz=Te({zIndex:{type:re([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"},teleported:Boolean,appendTo:{type:Cp.to.type,default:"body"}}),sz={scroll:({scrollTop:e,fixed:t})=>at(e)&&Qt(t),[Pt]:e=>Qt(e)};var az=W({__name:"teleport",props:Cp,setup(e){return(t,n)=>t.disabled?ue(t.$slots,"default",{key:0}):(S(),le(EO,{key:1,to:t.to},[ue(t.$slots,"default")],8,["to"]))}});const pt=(e,t)=>{if(e.install=n=>{for(const s of[e,...Object.values(t??{})])n.component(s.name,s)},t)for(const[n,s]of Object.entries(t))e[n]=s;return e},$x=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),oz=(e,t)=>(e.install=n=>{n.directive(t,e)},e),An=e=>(e.install=qt,e),Tf=pt(az);function rz(e,t,n,s){const a=n-t;return e/=s/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}const Jr=e=>jt?window.requestAnimationFrame(e):setTimeout(e,16),qi=e=>jt?window.cancelAnimationFrame(e):clearTimeout(e),Dx=(e="")=>e.split(" ").filter(t=>!!t.trim()),Zr=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Lo=(e,t)=>{!e||!t.trim()||e.classList.add(...Dx(t))},ra=(e,t)=>{!e||!t.trim()||e.classList.remove(...Dx(t))},Gi=(e,t)=>{var n;if(!jt||!e||!t)return"";let s=xa(t);s==="float"&&(s="cssFloat");try{const a=e.style[s];if(a)return a;const o=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return o?o[s]:""}catch{return e.style[s]}},Fx=(e,t,n)=>{if(!(!e||!t))if(ht(t))Nx(t).forEach(([s,a])=>Fx(e,s,a));else{const s=xa(t);e.style[s]=n}};function Pn(e,t="px"){if(!e&&e!==0)return"";if(at(e)||PV(e))return`${e}${t}`;if(Xe(e))return e}const iz=(e,t)=>{if(!jt)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],s=Gi(e,n);return["scroll","auto","overlay"].some(a=>s.includes(a))},Oy=(e,t)=>{if(!jt)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(iz(n,t))return n;n=n.parentNode}return n};let bg;const Bx=e=>{var t;if(!jt)return 0;if(bg!==void 0)return bg;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const s=n.offsetWidth;n.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",n.appendChild(a);const o=a.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),bg=s-o,bg};function Ly(e,t){if(!jt)return;if(!t){e.scrollTop=0;return}const n=[];let s=t.offsetParent;for(;s!==null&&e!==s&&e.contains(s);)n.push(s),s=s.offsetParent;const a=t.offsetTop+n.reduce((l,c)=>l+c.offsetTop,0),o=a+t.offsetHeight,r=e.scrollTop,i=r+e.clientHeight;ai&&(e.scrollTop=o-e.clientHeight)}function lz(e,t,n,s,a){const o=Date.now();let r;const i=()=>{const c=Date.now()-o,u=rz(c>s?s:c,t,n,s);mp(e)?e.scrollTo(window.pageXOffset,u):e.scrollTop=u,c{r&&qi(r)}}const Vx=(e,t)=>mp(t)?e.ownerDocument.documentElement:t,zx=e=>mp(e)?window.scrollY:e.scrollTop,Hx="ElAffix";var cz=W({name:Hx,__name:"affix",props:nz,emits:sz,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Ee("affix"),r=hn(),i=hn(),l=hn(),{height:c}=Ry(),{height:u,width:d,top:h,bottom:p,left:v,update:m}=xx(i,{windowScroll:!1}),g=xx(r),b=F(!1),C=F(0),w=F(0),_=k(()=>!s.teleported||!b.value),x=k(()=>({height:b.value?`${u.value}px`:"",width:b.value?`${d.value}px`:""})),E=k(()=>{if(!b.value)return{};const M=Pn(s.offset);return{height:`${u.value}px`,width:`${d.value}px`,top:s.position==="top"?M:"",bottom:s.position==="bottom"?M:"",left:s.teleported?`${v.value}px`:"",transform:w.value?`translateY(${w.value}px)`:"",zIndex:s.zIndex}}),T=()=>{if(!l.value)return;C.value=l.value instanceof Window?document.documentElement.scrollTop:l.value.scrollTop||0;const{position:M,target:$,offset:O}=s,B=O+u.value;if(M==="top")if($){const U=g.bottom.value-B;b.value=O>h.value&&g.bottom.value>0,w.value=U<0?U:0}else b.value=O>h.value;else if($){const U=c.value-g.top.value-B;b.value=c.value-Og.top.value,w.value=U<0?-U:0}else b.value=c.value-O{if(!b.value){m();return}b.value=!1,await ze(),m(),b.value=!0},I=async()=>{m(),await ze(),a("scroll",{scrollTop:C.value,fixed:b.value})};return me(b,M=>a(Pt,M)),St(()=>{var M;s.target?(r.value=(M=document.querySelector(s.target))!=null?M:void 0,r.value||Xn(Hx,`Target does not exist: ${s.target}`)):r.value=document.documentElement,l.value=Oy(i.value,!0),m()}),U0(()=>{ze(R)}),I4(()=>{b.value=!1}),Zt(l,"scroll",I),Wa(T),t({update:T,updateRoot:R}),(M,$)=>(S(),P("div",{ref_key:"root",ref:i,class:D(f(o).b()),style:tt(x.value)},[j(f(Tf),{disabled:_.value,to:e.appendTo},{default:X(()=>[A("div",{class:D({[f(o).m("fixed")]:b.value}),style:tt(E.value)},[ue(M.$slots,"default")],6)]),_:3},8,["disabled","to"])],6))}});const uz=pt(cz);/*! Element Plus Icons Vue v2.3.2 */var dz=W({name:"AddLocation",__name:"add-location",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),A("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),A("path",{fill:"currentColor",d:"M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z"})]))}}),fz=dz,hz=W({name:"Aim",__name:"aim",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),A("path",{fill:"currentColor",d:"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32m0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32M96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32m576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32"})]))}}),pz=hz,vz=W({name:"AlarmClock",__name:"alarm-clock",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),A("path",{fill:"currentColor",d:"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0zM90.496 312.256A160 160 0 0 1 312.32 90.496l-46.848 46.848a96 96 0 0 0-128 128L90.56 312.256zm835.264 0A160 160 0 0 0 704 90.496l46.848 46.848a96 96 0 0 1 128 128z"})]))}}),mz=vz,gz=W({name:"Apple",__name:"apple",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M599.872 203.776a189.4 189.4 0 0 1 64.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a427 427 0 0 1-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1 1 60.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664m-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 1 1-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688s81.28 34.688 136.96 33.536c56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152"})]))}}),bz=gz,yz=W({name:"ArrowDownBold",__name:"arrow-down-bold",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496"})]))}}),wz=yz,_z=W({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 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.59 30.59 0 0 0-42.752 0z"})]))}}),hr=_z,Cz=W({name:"ArrowLeftBold",__name:"arrow-left-bold",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0"})]))}}),Sz=Cz,xz=W({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),No=xz,Ez=W({name:"ArrowRightBold",__name:"arrow-right-bold",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0"})]))}}),kz=Ez,Az=W({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 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"})]))}}),Ls=Az,Tz=W({name:"ArrowUpBold",__name:"arrow-up-bold",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496"})]))}}),Mz=Tz,Pz=W({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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 0"})]))}}),Sp=Pz,Rz=W({name:"Avatar",__name:"avatar",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.87 415.87 0 0 1 299.264-399.104L512 704zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0"})]))}}),Iz=Rz,Oz=W({name:"Back",__name:"back",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),A("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.312z"})]))}}),Wx=Oz,Lz=W({name:"Baseball",__name:"baseball",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M195.2 828.8a448 448 0 1 1 633.6-633.6 448 448 0 0 1-633.6 633.6m45.248-45.248a384 384 0 1 0 543.104-543.104 384 384 0 0 0-543.104 543.104"}),A("path",{fill:"currentColor",d:"M497.472 96.896c22.784 4.672 44.416 9.472 64.896 14.528a256.128 256.128 0 0 0 350.208 350.208c5.056 20.48 9.856 42.112 14.528 64.896A320.128 320.128 0 0 1 497.472 96.896M108.48 491.904a320.128 320.128 0 0 1 423.616 423.68c-23.04-3.648-44.992-7.424-65.728-11.52a256.128 256.128 0 0 0-346.496-346.432 1737 1737 0 0 1-11.392-65.728"})]))}}),Nz=Lz,$z=W({name:"Basketball",__name:"basketball",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M778.752 788.224a382.46 382.46 0 0 0 116.032-245.632 256.51 256.51 0 0 0-241.728-13.952 762.9 762.9 0 0 1 125.696 259.584m-55.04 44.224a699.65 699.65 0 0 0-125.056-269.632 256.13 256.13 0 0 0-56.064 331.968 382.7 382.7 0 0 0 181.12-62.336m-254.08 61.248A320.13 320.13 0 0 1 557.76 513.6a716 716 0 0 0-48.192-48.128 320.13 320.13 0 0 1-379.264 88.384 382.4 382.4 0 0 0 110.144 229.696 382.4 382.4 0 0 0 229.184 110.08zM129.28 481.088a256.13 256.13 0 0 0 331.072-56.448 699.65 699.65 0 0 0-268.8-124.352 382.66 382.66 0 0 0-62.272 180.8m106.56-235.84a762.9 762.9 0 0 1 258.688 125.056 256.51 256.51 0 0 0-13.44-241.088A382.46 382.46 0 0 0 235.84 245.248m318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a780 780 0 0 1 66.176 66.112 320.83 320.83 0 0 1 282.112-8.128 382.4 382.4 0 0 0-110.144-229.12 382.4 382.4 0 0 0-229.632-110.208zM828.8 828.8a448 448 0 1 1-633.6-633.6 448 448 0 0 1 633.6 633.6"})]))}}),Dz=$z,Fz=W({name:"BellFilled",__name:"bell-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.13 320.13 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z"})]))}}),Bz=Fz,Vz=W({name:"Bell",__name:"bell",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"}),A("path",{fill:"currentColor",d:"M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320"}),A("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"})]))}}),zz=Vz,Hz=W({name:"Bicycle",__name:"bicycle",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),A("path",{fill:"currentColor",d:"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),A("path",{fill:"currentColor",d:"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),A("path",{fill:"currentColor",d:"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384z"}),A("path",{fill:"currentColor",d:"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"})]))}}),Wz=Hz,jz=W({name:"BottomLeft",__name:"bottom-left",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z"}),A("path",{fill:"currentColor",d:"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312z"})]))}}),Kz=jz,Uz=W({name:"BottomRight",__name:"bottom-right",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z"}),A("path",{fill:"currentColor",d:"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312z"})]))}}),qz=Uz,Gz=W({name:"Bottom",__name:"bottom",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}}),Yz=Gz,Xz=W({name:"Bowl",__name:"bowl",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M714.432 704a351.74 351.74 0 0 0 148.16-256H161.408a351.74 351.74 0 0 0 148.16 256zM288 766.592A415.68 415.68 0 0 1 96 416a32 32 0 0 1 32-32h768a32 32 0 0 1 32 32 415.68 415.68 0 0 1-192 350.592V832a64 64 0 0 1-64 64H352a64 64 0 0 1-64-64zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424zM352 768v64h320v-64z"})]))}}),Jz=Xz,Zz=W({name:"Box",__name:"box",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M317.056 128 128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64"}),A("path",{fill:"currentColor",d:"M64 320h896v64H64z"}),A("path",{fill:"currentColor",d:"M448 327.872V640h128V327.872L526.08 128h-28.16zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"})]))}}),Qz=Zz,eH=W({name:"Briefcase",__name:"briefcase",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z"})]))}}),tH=eH,nH=W({name:"BrushFilled",__name:"brush-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128zM192 512V128.064h640V512z"})]))}}),sH=nH,aH=W({name:"Brush",__name:"brush",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a664 664 0 0 0-6.144 128H960v256a128 128 0 0 1-128 128H704v160a32 32 0 0 1-32 32H352a32 32 0 0 1-32-32V768H192A128 128 0 0 1 64 640V384zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168"})]))}}),oH=aH,rH=W({name:"Burger",__name:"burger",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 512a32 32 0 0 0-32 32v64a32 32 0 0 0 30.08 32H864a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm736-58.56A96 96 0 0 1 960 544v64a96 96 0 0 1-51.968 85.312L855.36 833.6a96 96 0 0 1-89.856 62.272H258.496A96 96 0 0 1 168.64 833.6l-52.608-140.224A96 96 0 0 1 64 608v-64a96 96 0 0 1 64-90.56V448a384 384 0 1 1 768 5.44M832 448a320 320 0 0 0-640 0zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704z"})]))}}),iH=rH,lH=W({name:"Calendar",__name:"calendar",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-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 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),jx=lH,cH=W({name:"CameraFilled",__name:"camera-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 224a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h704a64 64 0 0 0 64-64V288a64 64 0 0 0-64-64H748.416l-46.464-92.672A64 64 0 0 0 644.736 96H379.328a64 64 0 0 0-57.216 35.392L275.776 224zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4m0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),uH=cH,dH=W({name:"Camera",__name:"camera",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448"})]))}}),fH=dH,hH=W({name:"CaretBottom",__name:"caret-bottom",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"})]))}}),pH=hH,vH=W({name:"CaretLeft",__name:"caret-left",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"})]))}}),mH=vH,gH=W({name:"CaretRight",__name:"caret-right",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),Ny=gH,bH=W({name:"CaretTop",__name:"caret-top",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),Kx=bH,yH=W({name:"Cellphone",__name:"cellphone",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64m128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64m128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),wH=yH,_H=W({name:"ChatDotRound",__name:"chat-dot-round",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.06 461.06 0 0 1-206.912-48.384l-175.616 58.56z"}),A("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),CH=_H,SH=W({name:"ChatDotSquare",__name:"chat-dot-square",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),A("path",{fill:"currentColor",d:"M512 499.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),xH=SH,EH=W({name:"ChatLineRound",__name:"chat-line-round",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.06 461.06 0 0 1-206.912-48.384l-175.616 58.56z"}),A("path",{fill:"currentColor",d:"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),kH=EH,AH=W({name:"ChatLineSquare",__name:"chat-line-square",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),A("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),TH=AH,MH=W({name:"ChatRound",__name:"chat-round",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m174.72 855.68 130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0 0 69.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0 1 89.6 896l56.512-141.248A405.12 405.12 0 0 1 64 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z"})]))}}),PH=MH,RH=W({name:"ChatSquare",__name:"chat-square",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"})]))}}),IH=RH,OH=W({name:"Check",__name:"check",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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"})]))}}),Mf=OH,LH=W({name:"Checked",__name:"checked",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z"})]))}}),NH=LH,$H=W({name:"Cherry",__name:"cherry",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M261.056 449.6c13.824-69.696 34.88-128.96 63.36-177.728 23.744-40.832 61.12-88.64 112.256-143.872H320a32 32 0 0 1 0-64h384a32 32 0 1 1 0 64H554.752c14.912 39.168 41.344 86.592 79.552 141.76 47.36 68.48 84.8 106.752 106.304 114.304a224 224 0 1 1-84.992 14.784c-22.656-22.912-47.04-53.76-73.92-92.608-38.848-56.128-67.008-105.792-84.352-149.312-55.296 58.24-94.528 107.52-117.76 147.2-23.168 39.744-41.088 88.768-53.568 147.072a224.064 224.064 0 1 1-64.96-1.6M288 832a160 160 0 1 0 0-320 160 160 0 0 0 0 320m448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320"})]))}}),DH=$H,FH=W({name:"Chicken",__name:"chicken",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M349.952 716.992 478.72 588.16a106.7 106.7 0 0 1-26.176-19.072 106.7 106.7 0 0 1-19.072-26.176L304.704 671.744c.768 3.072 1.472 6.144 2.048 9.216l2.048 31.936 31.872 1.984c3.136.64 6.208 1.28 9.28 2.112m57.344 33.152a128 128 0 1 1-216.32 114.432l-1.92-32-32-1.92a128 128 0 1 1 114.432-216.32L416.64 469.248c-2.432-101.44 58.112-239.104 149.056-330.048 107.328-107.328 231.296-85.504 316.8 0 85.44 85.44 107.328 209.408 0 316.8-91.008 90.88-228.672 151.424-330.112 149.056L407.296 750.08zm90.496-226.304c49.536 49.536 233.344-7.04 339.392-113.088 78.208-78.208 63.232-163.072 0-226.304-63.168-63.232-148.032-78.208-226.24 0C504.896 290.496 448.32 474.368 497.792 523.84M244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52z"})]))}}),BH=FH,VH=W({name:"ChromeFilled",__name:"chrome-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.37 212.37 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67"}),A("path",{fill:"currentColor",d:"M576.79 401.63a127.9 127.9 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128 128 0 0 0-2.16 127.44l1.24 2.13a127.9 127.9 0 0 0 46.36 46.61 127.9 127.9 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.98 127.98 0 0 0 .29-127.46 127.96 127.96 0 0 0-46.36-46.91"}),A("path",{fill:"currentColor",d:"M394.45 333.96A213.34 213.34 0 0 1 512 298.67h369.58A426.5 426.5 0 0 0 512 85.34a425.6 425.6 0 0 0-171.74 35.98 425.6 425.6 0 0 0-142.62 102.22l118.14 204.63a213.4 213.4 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.3 213.3 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.3 213.3 0 0 1-122.77-21.91"})]))}}),zH=VH,HH=W({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),Ux=HH,WH=W({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),A("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.752z"})]))}}),xp=WH,jH=W({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 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.336z"})]))}}),yg=jH,KH=W({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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.248z"}),A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),$o=KH,UH=W({name:"CirclePlusFilled",__name:"circle-plus-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0z"})]))}}),qH=UH,GH=W({name:"CirclePlus",__name:"circle-plus",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),A("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"}),A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),YH=GH,XH=W({name:"Clock",__name:"clock",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),A("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),$y=XH,JH=W({name:"CloseBold",__name:"close-bold",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496"})]))}}),ZH=JH,QH=W({name:"Close",__name:"close",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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"})]))}}),Ua=QH,eW=W({name:"Cloudy",__name:"cloudy",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 381.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"})]))}}),tW=eW,nW=W({name:"CoffeeCup",__name:"coffee-cup",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M768 192a192 192 0 1 1-8 383.808A256.13 256.13 0 0 1 512 768H320A256 256 0 0 1 64 512V160a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v256a128 128 0 1 0 0-256M96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192z"})]))}}),sW=nW,aW=W({name:"Coffee",__name:"coffee",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M822.592 192h14.272a32 32 0 0 1 31.616 26.752l21.312 128A32 32 0 0 1 858.24 384h-49.344l-39.04 546.304A32 32 0 0 1 737.92 960H285.824a32 32 0 0 1-32-29.696L214.912 384H165.76a32 32 0 0 1-31.552-37.248l21.312-128A32 32 0 0 1 187.136 192h14.016l-6.72-93.696A32 32 0 0 1 226.368 64h571.008a32 32 0 0 1 31.936 34.304zm-64.128 0 4.544-64H260.736l4.544 64zm-548.16 128H820.48l-10.688-64H214.208l-10.688 64zm68.736 64 36.544 512H708.16l36.544-512z"})]))}}),oW=aW,rW=W({name:"Coin",__name:"coin",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m161.92 580.736 29.888 58.88C171.328 659.776 160 681.728 160 704c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 615.808 928 657.664 928 704c0 129.728-188.544 224-416 224S96 833.728 96 704c0-46.592 24.32-88.576 65.92-123.264"}),A("path",{fill:"currentColor",d:"m161.92 388.736 29.888 58.88C171.328 467.84 160 489.792 160 512c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 423.808 928 465.664 928 512c0 129.728-188.544 224-416 224S96 641.728 96 512c0-46.592 24.32-88.576 65.92-123.264"}),A("path",{fill:"currentColor",d:"M512 544c-227.456 0-416-94.272-416-224S284.544 96 512 96s416 94.272 416 224-188.544 224-416 224m0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160"})]))}}),iW=rW,lW=W({name:"ColdDrink",__name:"cold-drink",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M768 64a192 192 0 1 1-69.952 370.88L480 725.376V896h96a32 32 0 1 1 0 64H320a32 32 0 1 1 0-64h96V725.376L76.8 273.536a64 64 0 0 1-12.8-38.4v-10.688a32 32 0 0 1 32-32h71.808l-65.536-83.84a32 32 0 0 1 50.432-39.424l96.256 123.264h337.728A192.06 192.06 0 0 1 768 64M656.896 192.448H800a32 32 0 0 1 32 32v10.624a64 64 0 0 1-12.8 38.4l-80.448 107.2a128 128 0 1 0-81.92-188.16v-.064zm-357.888 64 129.472 165.76a32 32 0 0 1-50.432 39.36l-160.256-205.12H144l304 404.928 304-404.928z"})]))}}),cW=lW,uW=W({name:"CollectionTag",__name:"collection-tag",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128zm-32-64h576a32 32 0 0 1 32 32v797.44a32 32 0 0 1-51.968 24.96L531.968 720a32 32 0 0 0-39.936 0L243.968 918.4A32 32 0 0 1 192 893.44V96a32 32 0 0 1 32-32"})]))}}),dW=uW,fW=W({name:"Collection",__name:"collection",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64"}),A("path",{fill:"currentColor",d:"M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z"})]))}}),hW=fW,pW=W({name:"Comment",__name:"comment",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z"})]))}}),vW=pW,mW=W({name:"Compass",__name:"compass",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),A("path",{fill:"currentColor",d:"M725.888 315.008C676.48 428.672 624 513.28 568.576 568.64c-55.424 55.424-139.968 107.904-253.568 157.312a12.8 12.8 0 0 1-16.896-16.832c49.536-113.728 102.016-198.272 157.312-253.632 55.36-55.296 139.904-107.776 253.632-157.312a12.8 12.8 0 0 1 16.832 16.832"})]))}}),gW=mW,bW=W({name:"Connection",__name:"connection",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z"}),A("path",{fill:"currentColor",d:"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.06 192.06 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z"})]))}}),yW=bW,wW=W({name:"Coordinate",__name:"coordinate",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M480 512h64v320h-64z"}),A("path",{fill:"currentColor",d:"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64m64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128m256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),_W=wW,CW=W({name:"CopyDocument",__name:"copy-document",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"}),A("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64"})]))}}),SW=CW,xW=W({name:"Cpu",__name:"cpu",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128"}),A("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32M64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32"})]))}}),EW=xW,kW=W({name:"CreditCard",__name:"credit-card",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M896 324.096c0-42.368-2.496-55.296-9.536-68.48a52.35 52.35 0 0 0-22.144-22.08c-13.12-7.04-26.048-9.536-68.416-9.536H228.096c-42.368 0-55.296 2.496-68.48 9.536a52.35 52.35 0 0 0-22.08 22.144c-7.04 13.12-9.536 26.048-9.536 68.416v375.808c0 42.368 2.496 55.296 9.536 68.48a52.35 52.35 0 0 0 22.144 22.08c13.12 7.04 26.048 9.536 68.416 9.536h567.808c42.368 0 55.296-2.496 68.48-9.536a52.35 52.35 0 0 0 22.08-22.144c7.04-13.12 9.536-26.048 9.536-68.416zm64 0v375.808c0 57.088-5.952 77.76-17.088 98.56-11.136 20.928-27.52 37.312-48.384 48.448S852.928 864 795.968 864H228.032c-57.088 0-77.76-5.952-98.56-17.088a116.3 116.3 0 0 1-48.448-48.384c-11.136-20.864-17.088-41.6-17.088-98.56V324.032c0-57.088 5.952-77.76 17.088-98.56 11.136-20.928 27.52-37.312 48.384-48.448s41.6-17.088 98.56-17.088H795.84c57.088 0 77.76 5.952 98.56 17.088 20.928 11.136 37.312 27.52 48.448 48.384s17.088 41.6 17.088 98.56z"}),A("path",{fill:"currentColor",d:"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z"})]))}}),AW=kW,TW=W({name:"Crop",__name:"crop",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z"}),A("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32"})]))}}),wg=TW,MW=W({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.59 30.59 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.672zm256 0a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.59 30.59 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.672z"})]))}}),Yi=MW,PW=W({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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.59 30.59 0 0 1 0-42.752L764.736 512 452.864 192a30.59 30.59 0 0 1 0-42.688m-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.59 30.59 0 0 1 0-42.752L508.736 512 196.864 192a30.59 30.59 0 0 1 0-42.688"})]))}}),Xi=PW,RW=W({name:"DCaret",__name:"d-caret",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),IW=RW,OW=W({name:"DataAnalysis",__name:"data-analysis",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m665.216 768 110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32"})]))}}),LW=OW,NW=W({name:"DataBoard",__name:"data-board",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M32 128h960v64H32z"}),A("path",{fill:"currentColor",d:"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),A("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z"})]))}}),$W=NW,DW=W({name:"DataLine",__name:"data-line",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M359.168 768H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32H665.216l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32zM832 192H192v512h640zM342.656 534.656a32 32 0 1 1-45.312-45.312L444.992 341.76l125.44 94.08L679.04 300.032a32 32 0 1 1 49.92 39.936L581.632 524.224 451.008 426.24 342.656 534.592z"})]))}}),FW=DW,BW=W({name:"DeleteFilled",__name:"delete-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}}),VW=BW,zW=W({name:"DeleteLocation",__name:"delete-location",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),A("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),A("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),HW=zW,WW=W({name:"Delete",__name:"delete",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),qx=WW,jW=W({name:"Dessert",__name:"dessert",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 416v-48a144 144 0 0 1 168.64-141.888 224.128 224.128 0 0 1 430.72 0A144 144 0 0 1 896 368v48a384 384 0 0 1-352 382.72V896h-64v-97.28A384 384 0 0 1 128 416m287.104-32.064h193.792a143.81 143.81 0 0 1 58.88-132.736 160.064 160.064 0 0 0-311.552 0 143.81 143.81 0 0 1 58.88 132.8zm-72.896 0a72 72 0 1 0-140.48 0zm339.584 0h140.416a72 72 0 1 0-140.48 0zM512 736a320 320 0 0 0 318.4-288.064H193.6A320 320 0 0 0 512 736M384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64"})]))}}),KW=jW,UW=W({name:"Discount",__name:"discount",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zm0 64v128h576V768zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),A("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),qW=UW,GW=W({name:"DishDot",__name:"dish-dot",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m384.064 274.56.064-50.688A128 128 0 0 1 512.128 96c70.528 0 127.68 57.152 127.68 127.68v50.752A448.19 448.19 0 0 1 955.392 768H68.544A448.19 448.19 0 0 1 384 274.56zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-128h768a384 384 0 1 0-768 0m447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256z"})]))}}),YW=GW,XW=W({name:"Dish",__name:"dish",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M480 257.152V192h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96v65.152A448 448 0 0 1 955.52 768H68.48A448 448 0 0 1 480 257.152M128 704h768a384 384 0 1 0-768 0M96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64"})]))}}),JW=XW,ZW=W({name:"DocumentAdd",__name:"document-add",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z"})]))}}),Gx=ZW,QW=W({name:"DocumentChecked",__name:"document-checked",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"})]))}}),ej=QW,tj=W({name:"DocumentCopy",__name:"document-copy",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}}),nj=tj,sj=W({name:"DocumentDelete",__name:"document-delete",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304-90.496-90.624 45.248-45.248 90.56 90.496 90.496-90.432 45.248 45.248-90.496 90.56 90.496 90.496-45.248 45.248-90.496-90.496-90.56 90.496-45.248-45.248z"})]))}}),aj=sj,oj=W({name:"DocumentRemove",__name:"document-remove",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m192 512h320v64H352z"})]))}}),rj=oj,ij=W({name:"Document",__name:"document",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),_g=ij,lj=W({name:"Download",__name:"download",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),Ji=lj,cj=W({name:"Drizzling",__name:"drizzling",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672M959.552 480a256 256 0 0 1-256 256h-400A239.81 239.81 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M288 800h64v64h-64zm192 0h64v64h-64zm-96 96h64v64h-64zm192 0h64v64h-64zm96-96h64v64h-64z"})]))}}),uj=cj,dj=W({name:"EditPen",__name:"edit-pen",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64z"})]))}}),fj=dj,hj=W({name:"Edit",__name:"edit",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),A("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}}),pj=hj,vj=W({name:"ElemeFilled",__name:"eleme-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M176 64h672c61.824 0 112 50.176 112 112v672a112 112 0 0 1-112 112H176A112 112 0 0 1 64 848V176c0-61.824 50.176-112 112-112m150.528 173.568c-152.896 99.968-196.544 304.064-97.408 456.96a330.69 330.69 0 0 0 456.96 96.64c9.216-5.888 17.6-11.776 25.152-18.56a18.24 18.24 0 0 0 4.224-24.32L700.352 724.8a47.55 47.55 0 0 0-65.536-14.272A234.56 234.56 0 0 1 310.592 641.6C240 533.248 271.104 387.968 379.456 316.48a234.3 234.3 0 0 1 276.352 15.168c1.664.832 2.56 2.56 3.392 4.224 5.888 8.384 3.328 19.328-5.12 25.216L456.832 489.6a47.55 47.55 0 0 0-14.336 65.472l16 24.384c5.888 8.384 16.768 10.88 25.216 5.056l308.224-199.936a19.584 19.584 0 0 0 6.72-23.488v-.896c-4.992-9.216-10.048-17.6-15.104-26.88-99.968-151.168-304.064-194.88-456.96-95.744zM786.88 504.704l-62.208 40.32c-8.32 5.888-10.88 16.768-4.992 25.216L760 632.32c5.888 8.448 16.768 11.008 25.152 5.12l31.104-20.16a55.36 55.36 0 0 0 16-76.48l-20.224-31.04a19.52 19.52 0 0 0-25.152-5.12z"})]))}}),mj=vj,gj=W({name:"Eleme",__name:"eleme",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24m526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.23 63.23 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8z"})]))}}),bj=gj,yj=W({name:"ElementPlus",__name:"element-plus",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6q19.2-7.65 38.4 0s279 161.3 309.8 179.2c17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64z"})]))}}),wj=yj,_j=W({name:"Expand",__name:"expand",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z"})]))}}),Cj=_j,Sj=W({name:"Failed",__name:"failed",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m557.248 608 135.744-135.744-45.248-45.248-135.68 135.744-135.808-135.68-45.248 45.184L466.752 608l-135.68 135.68 45.184 45.312L512 653.248l135.744 135.744 45.248-45.248L557.312 608zM704 192h160v736H160V192h160v64h384zm-320 0V96h256v96z"})]))}}),xj=Sj,Ej=W({name:"Female",__name:"female",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),A("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32"}),A("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),kj=Ej,Aj=W({name:"Files",__name:"files",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 384v448h768V384zm-32-64h832a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32m64-128h704v64H160zm96-128h512v64H256z"})]))}}),Dy=Aj,Tj=W({name:"Film",__name:"film",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z"})]))}}),Mj=Tj,Pj=W({name:"Filter",__name:"filter",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M384 523.392V928a32 32 0 0 0 46.336 28.608l192-96A32 32 0 0 0 640 832V523.392l280.768-343.104a32 32 0 1 0-49.536-40.576l-288 352A32 32 0 0 0 576 512v300.224l-128 64V512a32 32 0 0 0-7.232-20.288L195.52 192H704a32 32 0 1 0 0-64H128a32 32 0 0 0-24.768 52.288z"})]))}}),Rj=Pj,Ij=W({name:"Finished",__name:"finished",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M280.768 753.728 691.456 167.04a32 32 0 1 1 52.416 36.672L314.24 817.472a32 32 0 0 1-45.44 7.296l-230.4-172.8a32 32 0 0 1 38.4-51.2zM736 448a32 32 0 1 1 0-64h192a32 32 0 1 1 0 64zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64z"})]))}}),Yx=Ij,Oj=W({name:"FirstAidKit",__name:"first-aid-kit",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M192 256a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),A("path",{fill:"currentColor",d:"M544 512h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0zM352 128v64h320v-64zm-32-64h384a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32H320a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"})]))}}),Lj=Oj,Nj=W({name:"Flag",__name:"flag",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96z"})]))}}),$j=Nj,Dj=W({name:"Fold",__name:"fold",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z"})]))}}),Fj=Dj,Bj=W({name:"FolderAdd",__name:"folder-add",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m384 416V416h64v128h128v64H544v128h-64V608H352v-64z"})]))}}),Vj=Bj,zj=W({name:"FolderChecked",__name:"folder-checked",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312z"})]))}}),Hj=zj,Wj=W({name:"FolderDelete",__name:"folder-delete",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m370.752 448-90.496-90.496 45.248-45.248L512 530.752l90.496-90.496 45.248 45.248L557.248 576l90.496 90.496-45.248 45.248L512 621.248l-90.496 90.496-45.248-45.248z"})]))}}),jj=Wj,Kj=W({name:"FolderOpened",__name:"folder-opened",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896"})]))}}),Cg=Kj,Uj=W({name:"FolderRemove",__name:"folder-remove",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m256 416h320v64H352z"})]))}}),qj=Uj,Gj=W({name:"Folder",__name:"folder",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}}),Yj=Gj,Xj=W({name:"Food",__name:"food",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 352.576V352a288 288 0 0 1 491.072-204.224 192 192 0 0 1 274.24 204.48 64 64 0 0 1 57.216 74.24C921.6 600.512 850.048 710.656 736 756.992V800a96 96 0 0 1-96 96H384a96 96 0 0 1-96-96v-43.008c-114.048-46.336-185.6-156.48-214.528-330.496A64 64 0 0 1 128 352.64zm64-.576h64a160 160 0 0 1 320 0h64a224 224 0 0 0-448 0m128 0h192a96 96 0 0 0-192 0m439.424 0h68.544A128.256 128.256 0 0 0 704 192c-15.36 0-29.952 2.688-43.52 7.616 11.328 18.176 20.672 37.76 27.84 58.304A64.128 64.128 0 0 1 759.424 352M672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32zm-342.528-64h365.056c101.504-32.64 165.76-124.928 192.896-288H136.576c27.136 163.072 91.392 255.36 192.896 288"})]))}}),Jj=Xj,Zj=W({name:"Football",__name:"football",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768"}),A("path",{fill:"currentColor",d:"M186.816 268.288c16-16.384 31.616-31.744 46.976-46.08 17.472 30.656 39.808 58.112 65.984 81.28l-32.512 56.448a386 386 0 0 1-80.448-91.648m653.696-5.312a385.9 385.9 0 0 1-83.776 96.96l-32.512-56.384a322.9 322.9 0 0 0 68.48-85.76c15.552 14.08 31.488 29.12 47.808 45.184M465.984 445.248l11.136-63.104a323.6 323.6 0 0 0 69.76 0l11.136 63.104a388 388 0 0 1-92.032 0m-62.72-12.8A381.8 381.8 0 0 1 320 396.544l32-55.424a320 320 0 0 0 62.464 27.712l-11.2 63.488zm300.8-35.84a381.8 381.8 0 0 1-83.328 35.84l-11.2-63.552A320 320 0 0 0 672 341.184l32 55.424zm-520.768 364.8a385.9 385.9 0 0 1 83.968-97.28l32.512 56.32c-26.88 23.936-49.856 52.352-67.52 84.032-16-13.44-32.32-27.712-48.96-43.072m657.536.128a1443 1443 0 0 1-49.024 43.072 321.4 321.4 0 0 0-67.584-84.16l32.512-56.32c33.216 27.456 61.696 60.352 84.096 97.408M465.92 578.752a388 388 0 0 1 92.032 0l-11.136 63.104a323.6 323.6 0 0 0-69.76 0zm-62.72 12.8 11.2 63.552a320 320 0 0 0-62.464 27.712L320 627.392a381.8 381.8 0 0 1 83.264-35.84zm300.8 35.84-32 55.424a318.3 318.3 0 0 0-62.528-27.712l11.2-63.488c29.44 8.64 57.28 20.736 83.264 35.776z"})]))}}),Qj=Zj,eK=W({name:"ForkSpoon",__name:"fork-spoon",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 410.304V96a32 32 0 0 1 64 0v314.304a96 96 0 0 0 64-90.56V96a32 32 0 0 1 64 0v223.744a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.544a160 160 0 0 1-128-156.8V96a32 32 0 0 1 64 0v223.744a96 96 0 0 0 64 90.56M672 572.48C581.184 552.128 512 446.848 512 320c0-141.44 85.952-256 192-256s192 114.56 192 256c0 126.848-69.184 232.128-160 252.48V928a32 32 0 1 1-64 0zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192"})]))}}),tK=eK,nK=W({name:"Fries",__name:"fries",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160zm74.88 0a92.928 92.928 0 0 1 91.328 110.08l-60.672 323.584A96 96 0 0 1 720.32 896H303.68a96 96 0 0 1-94.336-78.336L148.672 494.08A92.928 92.928 0 0 1 240 384h-16V224a96 96 0 0 1 188.608-25.28A95.74 95.74 0 0 1 480 197.44V160a96 96 0 0 1 188.608-25.28A96 96 0 0 1 800 224v160zM670.784 512a128 128 0 0 1-99.904 48H453.12a128 128 0 0 1-99.84-48H352v-1.536a128 128 0 0 1-9.984-14.976L314.88 448H240a28.928 28.928 0 0 0-28.48 34.304L241.088 640h541.824l29.568-157.696A28.928 28.928 0 0 0 784 448h-74.88l-27.136 47.488A132 132 0 0 1 672 510.464V512zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480zm-128 96V224a32 32 0 0 0-64 0v160zh-37.12A64 64 0 0 1 352 395.904zm-98.88 320 19.072 101.888A32 32 0 0 0 303.68 832h416.64a32 32 0 0 0 31.488-26.112L770.88 704z"})]))}}),sK=nK,aK=W({name:"FullScreen",__name:"full-screen",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),Fy=aK,oK=W({name:"GobletFull",__name:"goblet-full",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320m503.936 64H264.064a256.128 256.128 0 0 0 495.872 0M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4"})]))}}),rK=oK,iK=W({name:"GobletSquareFull",__name:"goblet-square-full",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 270.912c10.048 6.72 22.464 14.912 28.992 18.624a220.16 220.16 0 0 0 114.752 30.72c30.592 0 49.408-9.472 91.072-41.152l.64-.448c52.928-40.32 82.368-55.04 132.288-54.656 55.552.448 99.584 20.8 142.72 57.408l1.536 1.28V128H256zm.96 76.288C266.368 482.176 346.88 575.872 512 576c157.44.064 237.952-85.056 253.248-209.984a952 952 0 0 1-40.192-35.712c-32.704-27.776-63.36-41.92-101.888-42.24-31.552-.256-50.624 9.28-93.12 41.6l-.576.448c-52.096 39.616-81.024 54.208-129.792 54.208-54.784 0-100.48-13.376-142.784-37.056zM480 638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96z"})]))}}),lK=iK,cK=W({name:"GobletSquare",__name:"goblet-square",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M544 638.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912M256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256z"})]))}}),uK=cK,dK=W({name:"Goblet",__name:"goblet",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320"})]))}}),fK=dK,hK=W({name:"GoldMedal",__name:"gold-medal",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m772.13 452.84 53.86-351.81c1.32-10.01-1.17-18.68-7.49-26.02S804.35 64 795.01 64H228.99v-.01h-.06c-9.33 0-17.15 3.67-23.49 11.01s-8.83 16.01-7.49 26.02l53.87 351.89C213.54 505.73 193.59 568.09 192 640c2 90.67 33.17 166.17 93.5 226.5S421.33 957.99 512 960c90.67-2 166.17-33.17 226.5-93.5 60.33-60.34 91.49-135.83 93.5-226.5-1.59-71.94-21.56-134.32-59.87-187.16M640.01 128h117.02l-39.01 254.02c-20.75-10.64-40.74-19.73-59.94-27.28-5.92-3-11.95-5.8-18.08-8.41V128zM576 128v198.76c-13.18-2.58-26.74-4.43-40.67-5.55-8.07-.8-15.85-1.2-23.33-1.2-10.54 0-21.09.66-31.64 1.96a360 360 0 0 0-32.36 4.79V128zm-192 0h.04v218.3c-6.22 2.66-12.34 5.5-18.36 8.56-19.13 7.54-39.02 16.6-59.66 27.16L267.01 128zm308.99 692.99c-48 48-108.33 73-180.99 75.01-72.66-2.01-132.99-27.01-180.99-75.01S258.01 712.66 256 640c2.01-72.66 27.01-132.99 75.01-180.99 19.67-19.67 41.41-35.47 65.22-47.41 38.33-15.04 71.15-23.92 98.44-26.65 5.07-.41 10.2-.7 15.39-.88.63-.01 1.28-.03 1.91-.03.66 0 1.35.03 2.02.04 5.11.17 10.15.46 15.13.86 27.4 2.71 60.37 11.65 98.91 26.79 23.71 11.93 45.36 27.69 64.96 47.29 48 48 73 108.33 75.01 180.99-2.01 72.65-27.01 132.98-75.01 180.98"}),A("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"})]))}}),pK=hK,vK=W({name:"GoodsFilled",__name:"goods-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M192 352h640l64 544H128zm128 224h64V448h-64zm320 0h64V448h-64zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0"})]))}}),mK=vK,gK=W({name:"Goods",__name:"goods",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M320 288v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4h131.072a32 32 0 0 1 31.808 28.8l57.6 576a32 32 0 0 1-31.808 35.2H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320zm64 0h256v-22.336C640 189.248 582.272 128 512 128s-128 61.248-128 137.664v22.4zm-64 64H217.92l-51.2 512h690.56l-51.264-512H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0z"})]))}}),bK=gK,yK=W({name:"Grape",__name:"grape",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M544 195.2a160 160 0 0 1 96 60.8 160 160 0 1 1 146.24 254.976 160 160 0 0 1-128 224 160 160 0 1 1-292.48 0 160 160 0 0 1-128-224A160 160 0 1 1 384 256a160 160 0 0 1 96-60.8V128h-64a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64h-64zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192m-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),wK=yK,_K=W({name:"Grid",__name:"grid",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"})]))}}),Xx=_K,CK=W({name:"Guide",__name:"guide",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M640 608h-64V416h64zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768zM384 608V416h64v192zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32z"}),A("path",{fill:"currentColor",d:"m220.8 256-71.232 80 71.168 80H768V256zm-14.4-64H800a32 32 0 0 1 32 32v224a32 32 0 0 1-32 32H206.4a32 32 0 0 1-23.936-10.752l-99.584-112a32 32 0 0 1 0-42.496l99.584-112A32 32 0 0 1 206.4 192m678.784 496-71.104 80H266.816V608h547.2zm-56.768-144H234.88a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h593.6a32 32 0 0 0 23.936-10.752l99.584-112a32 32 0 0 0 0-42.496l-99.584-112A32 32 0 0 0 828.48 544z"})]))}}),SK=CK,xK=W({name:"Handbag",__name:"handbag",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M887.01 264.99c-6-5.99-13.67-8.99-23.01-8.99H704c-1.34-54.68-20.01-100.01-56-136s-81.32-54.66-136-56c-54.68 1.34-100.01 20.01-136 56s-54.66 81.32-56 136H160c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.67-8.99 23.01v640c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V288c0-9.35-2.99-17.02-8.99-23.01M421.5 165.5c24.32-24.34 54.49-36.84 90.5-37.5 35.99.68 66.16 13.18 90.5 37.5s36.84 54.49 37.5 90.5H384c.68-35.99 13.18-66.16 37.5-90.5M832 896H192V320h128v128h64V320h256v128h64V320h128z"})]))}}),EK=xK,kK=W({name:"Headset",__name:"headset",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848M896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0"})]))}}),AK=kK,TK=W({name:"HelpFilled",__name:"help-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M926.784 480H701.312A192.51 192.51 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.51 192.51 0 0 0 701.312 544zM97.28 544h225.472A192.51 192.51 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.51 192.51 0 0 0 322.688 480H97.216z"})]))}}),MK=TK,PK=W({name:"Help",__name:"help",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m759.936 805.248-90.944-91.008A254.9 254.9 0 0 1 512 768a254.9 254.9 0 0 1-156.992-53.76l-90.944 91.008A382.46 382.46 0 0 0 512 896c94.528 0 181.12-34.176 247.936-90.752m45.312-45.312A382.46 382.46 0 0 0 896 512c0-94.528-34.176-181.12-90.752-247.936l-91.008 90.944C747.904 398.4 768 452.864 768 512s-20.096 113.6-53.76 156.992zm-45.312-541.184A382.46 382.46 0 0 0 512 128c-94.528 0-181.12 34.176-247.936 90.752l90.944 91.008A254.9 254.9 0 0 1 512 256c59.136 0 113.6 20.096 156.992 53.76zm-541.184 45.312A382.46 382.46 0 0 0 128 512c0 94.528 34.176 181.12 90.752 247.936l91.008-90.944A254.9 254.9 0 0 1 256 512c0-59.136 20.096-113.6 53.76-156.992zm417.28 394.496a194.6 194.6 0 0 0 22.528-22.528C686.912 602.56 704 559.232 704 512a191.23 191.23 0 0 0-67.968-146.56A191.3 191.3 0 0 0 512 320a191.23 191.23 0 0 0-146.56 67.968C337.088 421.44 320 464.768 320 512a191.23 191.23 0 0 0 67.968 146.56C421.44 686.912 464.768 704 512 704c47.296 0 90.56-17.088 124.032-45.44M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),RK=PK,IK=W({name:"Hide",__name:"hide",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-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 176S0 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.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 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.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.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.6q-43.2 72-153.6 172.8c-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-176S1024 528 1024 512s-48.001-73.6-134.401-176"}),A("path",{fill:"currentColor",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 112s-67.2 48-112 48"})]))}}),Jx=IK,OK=W({name:"Histogram",__name:"histogram",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"})]))}}),LK=OK,NK=W({name:"HomeFilled",__name:"home-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"})]))}}),$K=NK,DK=W({name:"HotWater",__name:"hot-water",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M273.067 477.867h477.866V409.6H273.067zm0 68.266v51.2A187.733 187.733 0 0 0 460.8 785.067h102.4a187.733 187.733 0 0 0 187.733-187.734v-51.2zm-34.134-204.8h546.134a34.133 34.133 0 0 1 34.133 34.134v221.866a256 256 0 0 1-256 256H460.8a256 256 0 0 1-256-256V375.467a34.133 34.133 0 0 1 34.133-34.134M512 34.133a34.133 34.133 0 0 1 34.133 34.134v170.666a34.133 34.133 0 0 1-68.266 0V68.267A34.133 34.133 0 0 1 512 34.133M375.467 102.4a34.133 34.133 0 0 1 34.133 34.133v102.4a34.133 34.133 0 0 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.134-34.133m273.066 0a34.133 34.133 0 0 1 34.134 34.133v102.4a34.133 34.133 0 1 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.133-34.133M170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267"})]))}}),FK=DK,BK=W({name:"House",__name:"house",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"})]))}}),VK=BK,zK=W({name:"IceCreamRound",__name:"ice-cream-round",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m308.352 489.344 226.304 226.304a32 32 0 0 0 45.248 0L783.552 512A192 192 0 1 0 512 240.448L308.352 444.16a32 32 0 0 0 0 45.248zm135.744 226.304L308.352 851.392a96 96 0 0 1-135.744-135.744l135.744-135.744-45.248-45.248a96 96 0 0 1 0-135.808L466.752 195.2A256 256 0 0 1 828.8 557.248L625.152 760.96a96 96 0 0 1-135.808 0l-45.248-45.248zM398.848 670.4 353.6 625.152 217.856 760.896a32 32 0 0 0 45.248 45.248zm248.96-384.64a32 32 0 0 1 0 45.248L466.624 512a32 32 0 1 1-45.184-45.248l180.992-181.056a32 32 0 0 1 45.248 0zm90.496 90.496a32 32 0 0 1 0 45.248L557.248 602.496A32 32 0 1 1 512 557.248l180.992-180.992a32 32 0 0 1 45.312 0"})]))}}),HK=zK,WK=W({name:"IceCreamSquare",__name:"ice-cream-square",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M416 640h256a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32H352a32 32 0 0 0-32 32v448a32 32 0 0 0 32 32zm192 64v160a96 96 0 0 1-192 0V704h-64a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96h320a96 96 0 0 1 96 96v448a96 96 0 0 1-96 96zm-64 0h-64v160a32 32 0 1 0 64 0z"})]))}}),jK=WK,KK=W({name:"IceCream",__name:"ice-cream",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128.64 448a208 208 0 0 1 193.536-191.552 224 224 0 0 1 445.248 15.488A208.13 208.13 0 0 1 894.784 448H896L548.8 983.68a32 32 0 0 1-53.248.704L128 448zm64.256 0h286.208a144 144 0 0 0-286.208 0m351.36 0h286.272a144 144 0 0 0-286.272 0m-294.848 64 271.808 396.608L778.24 512zM511.68 352.64a207.87 207.87 0 0 1 189.184-96.192 160 160 0 0 0-314.752 5.632c52.608 12.992 97.28 46.08 125.568 90.56"})]))}}),UK=KK,qK=W({name:"IceDrink",__name:"ice-drink",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 448v128h239.68l16.064-128zm-64 0H256.256l16.064 128H448zm64-255.36V384h247.744A256.13 256.13 0 0 0 512 192.64m-64 8.064A256.45 256.45 0 0 0 264.256 384H448zm64-72.064A320.13 320.13 0 0 1 825.472 384H896a32 32 0 1 1 0 64h-64v1.92l-56.96 454.016A64 64 0 0 1 711.552 960H312.448a64 64 0 0 1-63.488-56.064L192 449.92V448h-64a32 32 0 0 1 0-64h70.528A320.38 320.38 0 0 1 448 135.04V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H544a32 32 0 0 0-32 32zM743.68 640H280.32l32.128 256h399.104z"})]))}}),GK=qK,YK=W({name:"IceTea",__name:"ice-tea",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z"})]))}}),XK=YK,JK=W({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.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.344M590.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.99 12.99 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"})]))}}),Pf=JK,ZK=W({name:"Iphone",__name:"iphone",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0"})]))}}),QK=ZK,eU=W({name:"Key",__name:"key",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"})]))}}),tU=eU,nU=W({name:"KnifeFork",__name:"knife-fork",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 410.56V96a32 32 0 0 1 64 0v314.56A96 96 0 0 0 384 320V96a32 32 0 0 1 64 0v224a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.8A160 160 0 0 1 128 320V96a32 32 0 0 1 64 0v224a96 96 0 0 0 64 90.56m384-250.24V544h126.72c-3.328-78.72-12.928-147.968-28.608-207.744-14.336-54.528-46.848-113.344-98.112-175.872zM640 608v320a32 32 0 1 1-64 0V64h64c85.312 89.472 138.688 174.848 160 256s32 177.152 32 288z"})]))}}),sU=nU,aU=W({name:"Lightning",__name:"lightning",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M288 671.36v64.128A239.81 239.81 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 736 734.016v-64.768a192 192 0 0 0 3.328-377.92l-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 91.968 70.464 167.36 160.256 175.232z"}),A("path",{fill:"currentColor",d:"M416 736a32 32 0 0 1-27.776-47.872l128-224a32 32 0 1 1 55.552 31.744L471.168 672H608a32 32 0 0 1 27.776 47.872l-128 224a32 32 0 1 1-55.68-31.744L552.96 736z"})]))}}),oU=aU,rU=W({name:"Link",__name:"link",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}}),iU=rU,lU=W({name:"List",__name:"list",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"})]))}}),Zx=lU,cU=W({name:"Loading",__name:"loading",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.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.248m452.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.248M828.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 0m-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 0"})]))}}),Ns=cU,uU=W({name:"LocationFilled",__name:"location-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 928c23.936 0 117.504-68.352 192.064-153.152C803.456 661.888 864 535.808 864 416c0-189.632-155.84-320-352-320S160 226.368 160 416c0 120.32 60.544 246.4 159.936 359.232C394.432 859.84 488 928 512 928m0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6"})]))}}),dU=uU,fU=W({name:"LocationInformation",__name:"location-information",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),A("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),A("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),hU=fU,pU=W({name:"Location",__name:"location",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),A("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),vU=pU,mU=W({name:"Lock",__name:"lock",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),A("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}}),gU=mU,bU=W({name:"Lollipop",__name:"lollipop",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M513.28 448a64 64 0 1 1 76.544 49.728A96 96 0 0 0 768 448h64a160 160 0 0 1-320 0zm-126.976-29.696a256 256 0 1 0 43.52-180.48A256 256 0 0 1 832 448h-64a192 192 0 0 0-381.696-29.696m105.664 249.472L285.696 874.048a96 96 0 0 1-135.68-135.744l206.208-206.272a320 320 0 1 1 135.744 135.744m-54.464-36.032a322 322 0 0 1-45.248-45.248L195.2 783.552a32 32 0 1 0 45.248 45.248l197.056-197.12z"})]))}}),yU=bU,wU=W({name:"MagicStick",__name:"magic-stick",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64h64v192h-64zm0 576h64v192h-64zM160 480v-64h192v64zm576 0v-64h192v64zM249.856 199.04l45.248-45.184L430.848 289.6 385.6 334.848 249.856 199.104zM657.152 606.4l45.248-45.248 135.744 135.744-45.248 45.248zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248z"})]))}}),_U=wU,CU=W({name:"Magnet",__name:"magnet",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0"})]))}}),SU=CU,xU=W({name:"Male",__name:"male",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450m0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5m253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125"}),A("path",{fill:"currentColor",d:"M877.625 118.25q28.125 0 28.125 28.125v225q0 28.125-28.125 28.125T849.5 371.375v-225q0-28.125 28.125-28.125"}),A("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"})]))}}),EU=xU,kU=W({name:"Management",__name:"management",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z"})]))}}),AU=kU,TU=W({name:"MapLocation",__name:"map-location",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),A("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"})]))}}),MU=TU,PU=W({name:"Medal",__name:"medal",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),A("path",{fill:"currentColor",d:"M576 128H448v200a286.7 286.7 0 0 1 64-8c19.52 0 40.832 2.688 64 8zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128zm-256 0H266.624l39.04 253.568c27.84-13.504 53.888-24.832 78.336-33.92zM229.312 64h565.376a32 32 0 0 1 31.616 36.864L768 480c-113.792-64-199.104-96-256-96s-142.208 32-256 96l-58.304-379.136A32 32 0 0 1 229.312 64"})]))}}),RU=PU,IU=W({name:"Memo",__name:"memo",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M480 320h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"}),A("path",{fill:"currentColor",d:"M887.01 72.99C881.01 67 873.34 64 864 64H160c-9.35 0-17.02 3-23.01 8.99C131 78.99 128 86.66 128 96v832c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V96c0-9.35-3-17.02-8.99-23.01M192 896V128h96v768zm640 0H352V128h480z"}),A("path",{fill:"currentColor",d:"M480 512h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32m0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"})]))}}),OU=IU,LU=W({name:"Menu",__name:"menu",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"})]))}}),NU=LU,$U=W({name:"MessageBox",__name:"message-box",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M288 384h448v64H288zm96-128h256v64H384zM131.456 512H384v128h256V512h252.544L721.856 192H302.144zM896 576H704v128H320V576H128v256h768zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128"})]))}}),DU=$U,FU=W({name:"Message",__name:"message",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"}),A("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224z"})]))}}),BU=FU,VU=W({name:"Mic",__name:"mic",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M480 704h160a64 64 0 0 0 64-64v-32h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-32a64 64 0 0 0-64-64H384a64 64 0 0 0-64 64v32h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v32a64 64 0 0 0 64 64zm64 64v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768h-96a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64h256a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128z"})]))}}),zU=VU,HU=W({name:"Microphone",__name:"microphone",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128m0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64m-32 832v-64a288 288 0 0 1-288-288v-32a32 32 0 0 1 64 0v32a224 224 0 0 0 224 224h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64z"})]))}}),WU=HU,jU=W({name:"MilkTea",__name:"milk-tea",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M416 128V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H512a32 32 0 0 0-32 32v32h320a96 96 0 0 1 11.712 191.296l-39.68 581.056A64 64 0 0 1 708.224 960H315.776a64 64 0 0 1-63.872-59.648l-39.616-581.056A96 96 0 0 1 224 128zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64m493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12"})]))}}),KU=jU,UU=W({name:"Minus",__name:"minus",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),Qx=UU,qU=W({name:"Money",__name:"money",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 640v192h640V384H768v-64h150.976c14.272 0 19.456 1.472 24.64 4.288a29.06 29.06 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64v493.952c0 14.272-1.472 19.456-4.288 24.64a29.06 29.06 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H233.024c-14.272 0-19.456-1.472-24.64-4.288a29.06 29.06 0 0 1-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z"}),A("path",{fill:"currentColor",d:"M768 192H128v448h640zm64-22.976v493.952c0 14.272-1.472 19.456-4.288 24.64a29.06 29.06 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.06 29.06 0 0 1-12.16-12.096C65.536 682.432 64 677.248 64 663.04V169.024c0-14.272 1.472-19.456 4.288-24.64a29.06 29.06 0 0 1 12.096-12.16C85.568 129.536 90.752 128 104.96 128h685.952c14.272 0 19.456 1.472 24.64 4.288a29.06 29.06 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64z"}),A("path",{fill:"currentColor",d:"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320m0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),GU=qU,YU=W({name:"Monitor",__name:"monitor",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z"})]))}}),XU=YU,JU=W({name:"MoonNight",__name:"moon-night",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.3 448.3 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"}),A("path",{fill:"currentColor",d:"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z"})]))}}),ZU=JU,QU=W({name:"Moon",__name:"moon",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 391 391 0 0 0-17.408 16.384m181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"})]))}}),eq=QU,tq=W({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),By=tq,nq=W({name:"More",__name:"more",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),e9=nq,sq=W({name:"MostlyCloudy",__name:"mostly-cloudy",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.81 207.81 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.81 271.81 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72"})]))}}),aq=sq,oq=W({name:"Mouse",__name:"mouse",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M438.144 256c-68.352 0-92.736 4.672-117.76 18.112q-30.144 16.128-46.272 46.272C260.672 345.408 256 369.792 256 438.144v275.712c0 68.352 4.672 92.736 18.112 117.76q16.128 30.144 46.272 46.272C345.408 891.328 369.792 896 438.144 896h147.712c68.352 0 92.736-4.672 117.76-18.112q30.144-16.128 46.272-46.272C763.328 806.592 768 782.208 768 713.856V438.144c0-68.352-4.672-92.736-18.112-117.76a110.46 110.46 0 0 0-46.272-46.272C678.592 260.672 654.208 256 585.856 256zm0-64h147.712c85.568 0 116.608 8.96 147.904 25.6 31.36 16.768 55.872 41.344 72.576 72.64C823.104 321.536 832 352.576 832 438.08v275.84c0 85.504-8.96 116.544-25.6 147.84a174.46 174.46 0 0 1-72.64 72.576C702.464 951.104 671.424 960 585.92 960H438.08c-85.504 0-116.544-8.96-147.84-25.6a174.46 174.46 0 0 1-72.64-72.704c-16.768-31.296-25.664-62.336-25.664-147.84v-275.84c0-85.504 8.96-116.544 25.6-147.84a174.46 174.46 0 0 1 72.768-72.576c31.232-16.704 62.272-25.6 147.776-25.6z"}),A("path",{fill:"currentColor",d:"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32m32-96a32 32 0 0 1-64 0v-64a32 32 0 0 0-32-32h-96a32 32 0 0 1 0-64h96a96 96 0 0 1 96 96z"})]))}}),rq=oq,iq=W({name:"Mug",__name:"mug",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64m64-544h63.552a96 96 0 0 1 96 96v224a96 96 0 0 1-96 96H800v128a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V128a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32z"})]))}}),lq=iq,cq=W({name:"MuteNotification",__name:"mute-notification",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m241.216 832 63.616-64H768V448c0-42.368-10.24-82.304-28.48-117.504l46.912-47.232C815.36 331.392 832 387.84 832 448v320h96a32 32 0 1 1 0 64zm-90.24 0H96a32 32 0 1 1 0-64h96V448a320.13 320.13 0 0 1 256-313.6V128a64 64 0 1 1 128 0v6.4a319.55 319.55 0 0 1 171.648 97.088l-45.184 45.44A256 256 0 0 0 256 448v278.336L151.04 832zM448 896h128a64 64 0 0 1-128 0"}),A("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056z"})]))}}),uq=cq,dq=W({name:"Mute",__name:"mute",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m412.16 592.128-45.44 45.44A191.23 191.23 0 0 1 320 512V256a192 192 0 1 1 384 0v44.352l-64 64V256a128 128 0 1 0-256 0v256c0 30.336 10.56 58.24 28.16 80.128m51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528zM314.88 779.968l46.144-46.08A223 223 0 0 0 480 768h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64h64v-64c-61.44 0-118.4-19.2-165.12-52.032M266.752 737.6A286.98 286.98 0 0 1 192 544v-32a32 32 0 0 1 64 0v32c0 56.832 21.184 108.8 56.064 148.288z"}),A("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056z"})]))}}),fq=dq,hq=W({name:"NoSmoking",__name:"no-smoking",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744zM768 576v128h128V576zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),pq=hq,vq=W({name:"Notebook",__name:"notebook",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32"})]))}}),mq=vq,gq=W({name:"Notification",__name:"notification",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 128v64H256a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V512h64v256a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V256a128 128 0 0 1 128-128z"}),A("path",{fill:"currentColor",d:"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"})]))}}),bq=gq,yq=W({name:"Odometer",__name:"odometer",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),A("path",{fill:"currentColor",d:"M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0"}),A("path",{fill:"currentColor",d:"M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928"})]))}}),wq=yq,_q=W({name:"OfficeBuilding",__name:"office-building",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"}),A("path",{fill:"currentColor",d:"M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"})]))}}),Cq=_q,Sq=W({name:"Open",__name:"open",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36"}),A("path",{fill:"currentColor",d:"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),xq=Sq,Eq=W({name:"Operation",__name:"operation",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}}),kq=Eq,Aq=W({name:"Opportunity",__name:"opportunity",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M384 960v-64h192.064v64zm448-544a350.66 350.66 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.55 351.55 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z"})]))}}),Tq=Aq,Mq=W({name:"Orange",__name:"orange",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M544 894.72a382.34 382.34 0 0 0 215.936-89.472L577.024 622.272c-10.24 6.016-21.248 10.688-33.024 13.696v258.688zm261.248-134.784A382.34 382.34 0 0 0 894.656 544H635.968c-3.008 11.776-7.68 22.848-13.696 33.024zM894.656 480a382.34 382.34 0 0 0-89.408-215.936L622.272 446.976c6.016 10.24 10.688 21.248 13.696 33.024zm-134.72-261.248A382.34 382.34 0 0 0 544 129.344v258.688c11.776 3.008 22.848 7.68 33.024 13.696zM480 129.344a382.34 382.34 0 0 0-215.936 89.408l182.912 182.976c10.24-6.016 21.248-10.688 33.024-13.696zm-261.248 134.72A382.34 382.34 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024zM129.344 544a382.34 382.34 0 0 0 89.408 215.936l182.976-182.912A127.2 127.2 0 0 1 388.032 544zm134.72 261.248A382.34 382.34 0 0 0 480 894.656V635.968a127.2 127.2 0 0 1-33.024-13.696zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128"})]))}}),Pq=Mq,Rq=W({name:"Paperclip",__name:"paperclip",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M602.496 240.448A192 192 0 1 1 874.048 512l-316.8 316.8A256 256 0 0 1 195.2 466.752L602.496 59.456l45.248 45.248L240.448 512A192 192 0 0 0 512 783.552l316.8-316.8a128 128 0 1 0-181.056-181.056L353.6 579.904a32 32 0 1 0 45.248 45.248l294.144-294.144 45.312 45.248L444.096 670.4a96 96 0 1 1-135.744-135.744z"})]))}}),Iq=Rq,Oq=W({name:"PartlyCloudy",__name:"partly-cloudy",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 445.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"}),A("path",{fill:"currentColor",d:"M139.84 501.888a256 256 0 1 1 417.856-277.12c-17.728 2.176-38.208 8.448-61.504 18.816A192 192 0 1 0 189.12 460.48a6004 6004 0 0 0-49.28 41.408"})]))}}),Lq=Oq,Nq=W({name:"Pear",__name:"pear",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M542.336 258.816a443 443 0 0 0-9.024 25.088 32 32 0 1 1-60.8-20.032l1.088-3.328a162.69 162.69 0 0 0-122.048 131.392l-17.088 102.72-20.736 15.36C256.192 552.704 224 610.88 224 672c0 120.576 126.4 224 288 224s288-103.424 288-224c0-61.12-32.192-119.296-89.728-161.92l-20.736-15.424-17.088-102.72a162.69 162.69 0 0 0-130.112-133.12m-40.128-66.56c7.936-15.552 16.576-30.08 25.92-43.776 23.296-33.92 49.408-59.776 78.528-77.12a32 32 0 1 1 32.704 55.04c-20.544 12.224-40.064 31.552-58.432 58.304a317 317 0 0 0-9.792 15.104 226.69 226.69 0 0 1 164.48 181.568l12.8 77.248C819.456 511.36 864 587.392 864 672c0 159.04-157.568 288-352 288S160 831.04 160 672c0-84.608 44.608-160.64 115.584-213.376l12.8-77.248a226.624 226.624 0 0 1 213.76-189.184z"})]))}}),$q=Nq,Dq=W({name:"PhoneFilled",__name:"phone-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M199.232 125.568 90.624 379.008a32 32 0 0 0 6.784 35.2l512.384 512.384a32 32 0 0 0 35.2 6.784l253.44-108.608a32 32 0 0 0 10.048-52.032L769.6 633.92a32 32 0 0 0-36.928-5.952l-130.176 65.088-271.488-271.552 65.024-130.176a32 32 0 0 0-5.952-36.928L251.2 115.52a32 32 0 0 0-51.968 10.048"})]))}}),Fq=Dq,Bq=W({name:"Phone",__name:"phone",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M79.36 432.256 591.744 944.64a32 32 0 0 0 35.2 6.784l253.44-108.544a32 32 0 0 0 9.984-52.032l-153.856-153.92a32 32 0 0 0-36.928-6.016l-69.888 34.944L358.08 394.24l35.008-69.888a32 32 0 0 0-5.952-36.928L233.152 133.568a32 32 0 0 0-52.032 10.048L72.512 397.056a32 32 0 0 0 6.784 35.2zm60.48-29.952 81.536-190.08L325.568 316.48l-24.64 49.216-20.608 41.216 32.576 32.64 271.552 271.552 32.64 32.64 41.216-20.672 49.28-24.576 104.192 104.128-190.08 81.472zM512 320v-64a256 256 0 0 1 256 256h-64a192 192 0 0 0-192-192m0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384"})]))}}),Vq=Bq,zq=W({name:"PictureFilled",__name:"picture-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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 32zm315.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.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),t9=zq,Hq=W({name:"PictureRounded",__name:"picture-rounded",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768m0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896"}),A("path",{fill:"currentColor",d:"M640 288q64 0 64 64t-64 64-64-64 64-64M214.656 790.656l-45.312-45.312 185.664-185.6a96 96 0 0 1 123.712-10.24l138.24 98.688a32 32 0 0 0 39.872-2.176L906.688 422.4l42.624 47.744L699.52 693.696a96 96 0 0 1-119.808 6.592l-138.24-98.752a32 32 0 0 0-41.152 3.456l-185.664 185.6z"})]))}}),Wq=Hq,jq=W({name:"Picture",__name:"picture",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64-64-64 64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"})]))}}),Kq=jq,Uq=W({name:"PieChart",__name:"pie-chart",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M448 68.48v64.832A384.128 384.128 0 0 0 512 896a384.13 384.13 0 0 0 378.688-320h64.768A448.128 448.128 0 0 1 64 512 448.13 448.13 0 0 1 448 68.48"}),A("path",{fill:"currentColor",d:"M576 97.28V448h350.72A384.064 384.064 0 0 0 576 97.28M512 64V33.152A448 448 0 0 1 990.848 512H512z"})]))}}),qq=Uq,Gq=W({name:"Place",__name:"place",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"}),A("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M384 649.088v64.96C269.76 732.352 192 771.904 192 800c0 37.696 139.904 96 320 96s320-58.304 320-96c0-28.16-77.76-67.648-192-85.952v-64.96C789.12 671.04 896 730.368 896 800c0 88.32-171.904 160-384 160s-384-71.68-384-160c0-69.696 106.88-128.96 256-150.912"})]))}}),Yq=Gq,Xq=W({name:"Platform",__name:"platform",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z"})]))}}),Jq=Xq,Zq=W({name:"Plus",__name:"plus",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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-64z"})]))}}),Vy=Zq,Qq=W({name:"Pointer",__name:"pointer",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M511.552 128c-35.584 0-64.384 28.8-64.384 64.448v516.48L274.048 570.88a94.27 94.27 0 0 0-112.896-3.456 44.416 44.416 0 0 0-8.96 62.208L332.8 870.4A64 64 0 0 0 384 896h512V575.232a64 64 0 0 0-45.632-61.312l-205.952-61.76A96 96 0 0 1 576 360.192V192.448C576 156.8 547.2 128 511.552 128M359.04 556.8l24.128 19.2V192.448a128.448 128.448 0 1 1 256.832 0v167.744a32 32 0 0 0 22.784 30.656l206.016 61.76A128 128 0 0 1 960 575.232V896a64 64 0 0 1-64 64H384a128 128 0 0 1-102.4-51.2L101.056 668.032A108.416 108.416 0 0 1 128 512.512a158.27 158.27 0 0 1 185.984 8.32z"})]))}}),eG=Qq,tG=W({name:"Position",__name:"position",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992z"})]))}}),nG=tG,sG=W({name:"Postcard",__name:"postcard",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96"}),A("path",{fill:"currentColor",d:"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128M288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32m0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),aG=sG,oG=W({name:"Pouring",__name:"pouring",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672M959.552 480a256 256 0 0 1-256 256h-400A239.81 239.81 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32"})]))}}),rG=oG,iG=W({name:"Present",__name:"present",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),A("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32"}),A("path",{fill:"currentColor",d:"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),A("path",{fill:"currentColor",d:"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),lG=iG,cG=W({name:"PriceTag",__name:"price-tag",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),A("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),uG=cG,dG=W({name:"Printer",__name:"printer",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 768H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.06 29.06 0 0 1-12.16-12.096C65.536 746.432 64 741.248 64 727.04V379.072c0-42.816 4.48-58.304 12.8-73.984 8.384-15.616 20.672-27.904 36.288-36.288 15.68-8.32 31.168-12.8 73.984-12.8H256V64h512v192h68.928c42.816 0 58.304 4.48 73.984 12.8 15.616 8.384 27.904 20.672 36.288 36.288 8.32 15.68 12.8 31.168 12.8 73.984v347.904c0 14.272-1.472 19.456-4.288 24.64a29.06 29.06 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H768v192H256zm64-192v320h384V576zm-64 128V512h512v192h128V379.072c0-29.376-1.408-36.48-5.248-43.776a23.3 23.3 0 0 0-10.048-10.048c-7.232-3.84-14.4-5.248-43.776-5.248H187.072c-29.376 0-36.48 1.408-43.776 5.248a23.3 23.3 0 0 0-10.048 10.048c-3.84 7.232-5.248 14.4-5.248 43.776V704zm64-448h384V128H320zm-64 128h64v64h-64zm128 0h64v64h-64z"})]))}}),fG=dG,hG=W({name:"Promotion",__name:"promotion",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"})]))}}),n9=hG,pG=W({name:"QuartzWatch",__name:"quartz-watch",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M422.02 602.01v-.03c-6.68-5.99-14.35-8.83-23.01-8.51q-13.005.48-22.5 10.02c-6.33 6.36-9.5 13.7-9.5 22.02s3 15.82 8.99 22.5c8.68 8.68 19.02 11.35 31.01 8s19.49-10.85 22.5-22.5.51-22.15-7.49-31.49zM384 512c0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01m6.53-82.49c11.65 3.01 22.15.51 31.49-7.49h.04c5.99-6.68 8.83-14.34 8.51-23.01s-3.66-16.16-10.02-22.5c-6.36-6.33-13.7-9.5-22.02-9.5s-15.82 3-22.5 8.99c-8.68 8.69-11.35 19.02-8 31.01q5.025 17.985 22.5 22.5m242.94 0q17.505-4.545 22.02-22.02c3.01-11.65.51-22.15-7.49-31.49h.01c-6.68-5.99-14.18-8.99-22.5-8.99s-15.66 3.16-22.02 9.5q-9.54 9.51-10.02 22.5c-.32 8.66 2.52 16.33 8.51 23.01 9.32 8.02 19.82 10.52 31.49 7.49M512 640c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m183.01-151.01c-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01 0-9.35-3-17.02-8.99-23.01"}),A("path",{fill:"currentColor",d:"M832 512c-2-90.67-33.17-166.17-93.5-226.5-20.43-20.42-42.6-37.49-66.5-51.23V64H352v170.26c-23.9 13.74-46.07 30.81-66.5 51.24-60.33 60.33-91.49 135.83-93.5 226.5 2 90.67 33.17 166.17 93.5 226.5 20.43 20.43 42.6 37.5 66.5 51.24V960h320V789.74c23.9-13.74 46.07-30.81 66.5-51.24 60.33-60.34 91.49-135.83 93.5-226.5M416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68zm-96-128c-72.66-2.01-132.99-27.01-180.99-75.01S258.01 584.66 256 512c2.01-72.66 27.01-132.99 75.01-180.99S439.34 258.01 512 256c72.66 2.01 132.99 27.01 180.99 75.01S765.99 439.34 768 512c-2.01 72.66-27.01 132.99-75.01 180.99S584.66 765.99 512 768"}),A("path",{fill:"currentColor",d:"M512 320c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m112.99 273.5c-8.66-.32-16.33 2.52-23.01 8.51-7.98 9.32-10.48 19.82-7.49 31.49s10.49 19.17 22.5 22.5 22.35.66 31.01-8v.04c5.99-6.68 8.99-14.18 8.99-22.5s-3.16-15.66-9.5-22.02-13.84-9.7-22.5-10.02"})]))}}),vG=pG,mG=W({name:"QuestionFilled",__name:"question-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.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.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672 406.208a54.27 54.27 0 0 0-38.72 14.784 49.4 49.4 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.85 54.85 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.97 51.97 0 0 0-15.488-38.016 55.94 55.94 0 0 0-39.424-14.784"})]))}}),s9=mG,gG=W({name:"Rank",__name:"rank",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544z"})]))}}),a9=gG,bG=W({name:"ReadingLamp",__name:"reading-lamp",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m-44.672-768-99.52 448h608.384l-99.52-448zm-25.6-64h460.608a32 32 0 0 1 31.232 25.088l113.792 512A32 32 0 0 1 856.128 640H167.872a32 32 0 0 1-31.232-38.912l113.792-512A32 32 0 0 1 281.664 64z"}),A("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z"})]))}}),yG=bG,wG=W({name:"Reading",__name:"reading",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72zM137.024 106.432l370.432 52.928a32 32 0 0 0 9.088 0l370.432-52.928A64 64 0 0 1 960 169.792v638.72a64 64 0 0 1-54.976 63.36l-388.48 55.488a32 32 0 0 1-9.088 0l-388.48-55.488A64 64 0 0 1 64 808.512v-638.72a64 64 0 0 1 73.024-63.36"}),A("path",{fill:"currentColor",d:"M480 192h64v704h-64z"})]))}}),_G=wG,CG=W({name:"RefreshLeft",__name:"refresh-left",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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"})]))}}),Sg=CG,SG=W({name:"RefreshRight",__name:"refresh-right",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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.88"})]))}}),o9=SG,xG=W({name:"Refresh",__name:"refresh",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),EG=xG,kG=W({name:"Refrigerator",__name:"refrigerator",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96m32 224h64v96h-64zm0 288h64v96h-64z"})]))}}),AG=kG,TG=W({name:"RemoveFilled",__name:"remove-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"})]))}}),MG=TG,PG=W({name:"Remove",__name:"remove",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),RG=PG,IG=W({name:"Right",__name:"right",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"})]))}}),OG=IG,LG=W({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118m-361.412 0a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118M512 361.412a30.12 30.12 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.12 30.12 0 0 0 512 361.412M512 512a30.12 30.12 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.12 30.12 0 0 0 512 512"})]))}}),r9=LG,NG=W({name:"School",__name:"school",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 128v704h576V128zm-32-64h640a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"}),A("path",{fill:"currentColor",d:"M384 832h256v-64a128 128 0 1 0-256 0zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192M320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z"})]))}}),$G=NG,DG=W({name:"Scissor",__name:"scissor",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m512.064 578.368-106.88 152.768a160 160 0 1 1-23.36-78.208L472.96 522.56 196.864 128.256a32 32 0 1 1 52.48-36.736l393.024 561.344a160 160 0 1 1-23.36 78.208l-106.88-152.704zm54.4-189.248 208.384-297.6a32 32 0 0 1 52.48 36.736l-221.76 316.672-39.04-55.808zm-376.32 425.856a96 96 0 1 0 110.144-157.248 96 96 0 0 0-110.08 157.248zm643.84 0a96 96 0 1 0-110.08-157.248 96 96 0 0 0 110.08 157.248"})]))}}),FG=DG,BG=W({name:"Search",__name:"search",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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 704"})]))}}),i9=BG,VG=W({name:"Select",__name:"select",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496"})]))}}),zG=VG,HG=W({name:"Sell",__name:"sell",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128s-128 61.248-128 137.664v22.4h256zm201.408 483.84L768 698.496V928a32 32 0 1 1-64 0V698.496l-73.344 73.344a32 32 0 1 1-45.248-45.248l128-128a32 32 0 0 1 45.248 0l128 128a32 32 0 1 1-45.248 45.248"})]))}}),WG=HG,jG=W({name:"SemiSelect",__name:"semi-select",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64"})]))}}),KG=jG,UG=W({name:"Service",__name:"service",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M864 409.6a192 192 0 0 1-37.888 349.44A256.064 256.064 0 0 1 576 960h-96a32 32 0 1 1 0-64h96a192.06 192.06 0 0 0 181.12-128H736a32 32 0 0 1-32-32V416a32 32 0 0 1 32-32h32c10.368 0 20.544.832 30.528 2.432a288 288 0 0 0-573.056 0A193 193 0 0 1 256 384h32a32 32 0 0 1 32 32v320a32 32 0 0 1-32 32h-32a192 192 0 0 1-96-358.4 352 352 0 0 1 704 0M256 448a128 128 0 1 0 0 256zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128"})]))}}),qG=UG,GG=W({name:"SetUp",__name:"set-up",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96"}),A("path",{fill:"currentColor",d:"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),A("path",{fill:"currentColor",d:"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),A("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),YG=GG,XG=W({name:"Setting",__name:"setting",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357 357 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a352 352 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357 357 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294 294 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293 293 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294 294 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288 288 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293 293 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a288 288 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"})]))}}),JG=XG,ZG=W({name:"Share",__name:"share",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m679.872 348.8-301.76 188.608a127.8 127.8 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z"})]))}}),QG=ZG,eY=W({name:"Ship",__name:"ship",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 386.88V448h405.568a32 32 0 0 1 30.72 40.768l-76.48 267.968A192 192 0 0 1 687.168 896H336.832a192 192 0 0 1-184.64-139.264L75.648 488.768A32 32 0 0 1 106.368 448H448V117.888a32 32 0 0 1 47.36-28.096l13.888 7.616L512 96v2.88l231.68 126.4a32 32 0 0 1-2.048 57.216zm0-70.272 144.768-65.792L512 171.84zM512 512H148.864l18.24 64H856.96l18.24-64zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2z"})]))}}),tY=eY,nY=W({name:"Shop",__name:"shop",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M704 704h64v192H256V704h64v64h384zm188.544-152.192C894.528 559.616 896 567.616 896 576a96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0c0-8.384 1.408-16.384 3.392-24.192L192 128h640z"})]))}}),sY=nY,aY=W({name:"ShoppingBag",__name:"shopping-bag",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320zm-384-64a192 192 0 1 1 384 0h160a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zm64 0h256a128 128 0 1 0-256 0"}),A("path",{fill:"currentColor",d:"M192 704h640v64H192z"})]))}}),oY=aY,rY=W({name:"ShoppingCartFull",__name:"shopping-cart-full",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44z"}),A("path",{fill:"currentColor",d:"M699.648 256 608 145.984 516.352 256zm-140.8-151.04a64 64 0 0 1 98.304 0L836.352 320H379.648z"})]))}}),iY=rY,lY=W({name:"ShoppingCart",__name:"shopping-cart",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44z"})]))}}),cY=lY,uY=W({name:"ShoppingTrolley",__name:"shopping-trolley",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833m439-193c7.4 0 13.8-2.2 19.5-6.5S836 623.3 838 616l112-448c2-10-.2-19.2-6.5-27.5S929 128 919 128H96c-9.3 0-17 3-23 9s-9 13.7-9 23 3 17 9 23 13.7 9 23 9h96v576h672c9.3 0 17-3 23-9s9-13.7 9-23-3-17-9-23-13.7-9-23-9H256v-64zM256 192h622l-96 384H256zm432 641c-13.3 0-24.5 4.5-33.5 13.5S641 866.7 641 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S735 893.3 735 880s-4.5-24.5-13.5-33.5S701.3 833 688 833"})]))}}),dY=uY,fY=W({name:"Smoking",__name:"smoking",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 576v128h640V576zm-32-64h704a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),hY=fY,pY=W({name:"Soccer",__name:"soccer",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M418.496 871.04 152.256 604.8c-16.512 94.016-2.368 178.624 42.944 224 44.928 44.928 129.344 58.752 223.296 42.24m72.32-18.176a573.06 573.06 0 0 0 224.832-137.216 573.1 573.1 0 0 0 137.216-224.832L533.888 171.84a578.56 578.56 0 0 0-227.52 138.496A567.7 567.7 0 0 0 170.432 532.48zM871.04 418.496c16.512-93.952 2.688-178.368-42.24-223.296-44.544-44.544-128.704-58.048-222.592-41.536zM149.952 874.048c-112.96-112.96-88.832-408.96 111.168-608.96C461.056 65.152 760.96 36.928 874.048 149.952c113.024 113.024 86.784 411.008-113.152 610.944s-497.92 226.112-610.944 113.152m452.544-497.792 22.656-22.656a32 32 0 0 1 45.248 45.248l-22.656 22.656 45.248 45.248A32 32 0 1 1 647.744 512l-45.248-45.248L557.248 512l45.248 45.248a32 32 0 1 1-45.248 45.248L512 557.248l-45.248 45.248L512 647.744a32 32 0 1 1-45.248 45.248l-45.248-45.248-22.656 22.656a32 32 0 1 1-45.248-45.248l22.656-22.656-45.248-45.248A32 32 0 1 1 376.256 512l45.248 45.248L466.752 512l-45.248-45.248a32 32 0 1 1 45.248-45.248L512 466.752l45.248-45.248L512 376.256a32 32 0 0 1 45.248-45.248z"})]))}}),vY=pY,mY=W({name:"SoldOut",__name:"sold-out",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128s-128 61.248-128 137.664v22.4h256zm201.408 476.16a32 32 0 1 1 45.248 45.184l-128 128a32 32 0 0 1-45.248 0l-128-128a32 32 0 1 1 45.248-45.248L704 837.504V608a32 32 0 1 1 64 0v229.504l73.408-73.408z"})]))}}),gY=mY,bY=W({name:"SortDown",__name:"sort-down",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),l9=bY,yY=W({name:"SortUp",__name:"sort-up",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),c9=yY,wY=W({name:"Sort",__name:"sort",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0z"})]))}}),_Y=wY,CY=W({name:"Stamp",__name:"stamp",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z"})]))}}),SY=CY,xY=W({name:"StarFilled",__name:"star-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M313.6 924.48a70.4 70.4 0 0 1-74.152-5.365 70.4 70.4 0 0 1-27.992-68.875l37.888-220.928L88.96 472.96a70.4 70.4 0 0 1 3.788-104.225A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 100.246-28.595 70.4 70.4 0 0 1 25.962 28.595l99.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"})]))}}),Ep=xY,EY=W({name:"Star",__name:"star",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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.72zM313.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"})]))}}),u9=EY,kY=W({name:"Stopwatch",__name:"stopwatch",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),A("path",{fill:"currentColor",d:"M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z"})]))}}),AY=kY,TY=W({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),zy=TY,MY=W({name:"Sugar",__name:"sugar",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m801.728 349.184 4.48 4.48a128 128 0 0 1 0 180.992L534.656 806.144a128 128 0 0 1-181.056 0l-4.48-4.48-19.392 109.696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16zm-548.8 198.72h447.168v2.24l60.8-60.8a63.8 63.8 0 0 0 18.752-44.416h-426.88l-89.664 89.728a64 64 0 0 0-10.24 13.248zm0 64q4.128 7.104 10.176 13.248l135.744 135.744a64 64 0 0 0 90.496 0L638.4 611.904zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928zM123.712 757.312l142.976 142.976 24.32-137.6a25.6 25.6 0 0 0-29.696-29.632zm633.6-633.344-24.32 137.472a25.6 25.6 0 0 0 29.632 29.632l137.28-24.064-142.656-143.04z"})]))}}),PY=MY,RY=W({name:"SuitcaseLine",__name:"suitcase-line",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5S64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z"})]))}}),IY=RY,OY=W({name:"Suitcase",__name:"suitcase",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),A("path",{fill:"currentColor",d:"M384 128v64h256v-64zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64"})]))}}),LY=OY,NY=W({name:"Sunny",__name:"sunny",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0m543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"})]))}}),$Y=NY,DY=W({name:"Sunrise",__name:"sunrise",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64m129.408-96a352 352 0 0 1 701.184 0h-64.32a288 288 0 0 0-572.544 0zM512 128a32 32 0 0 1 32 32v96a32 32 0 0 1-64 0v-96a32 32 0 0 1 32-32m407.296 168.704a32 32 0 0 1 0 45.248l-67.84 67.84a32 32 0 1 1-45.248-45.248l67.84-67.84a32 32 0 0 1 45.248 0m-814.592 0a32 32 0 0 1 45.248 0l67.84 67.84a32 32 0 1 1-45.248 45.248l-67.84-67.84a32 32 0 0 1 0-45.248"})]))}}),FY=DY,BY=W({name:"Sunset",__name:"sunset",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),VY=BY,zY=W({name:"SwitchButton",__name:"switch-button",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128"}),A("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"})]))}}),HY=zY,WY=W({name:"SwitchFilled",__name:"switch-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M247.47 358.4v.04c.07 19.17 7.72 37.53 21.27 51.09s31.92 21.2 51.09 21.27c39.86 0 72.41-32.6 72.41-72.4s-32.6-72.36-72.41-72.36-72.36 32.55-72.36 72.36"}),A("path",{fill:"currentColor",d:"M492.38 128H324.7c-52.16 0-102.19 20.73-139.08 57.61a196.66 196.66 0 0 0-57.61 139.08V698.7c-.01 25.84 5.08 51.42 14.96 75.29s24.36 45.56 42.63 63.83 39.95 32.76 63.82 42.65a196.7 196.7 0 0 0 75.28 14.98h167.68c3.03 0 5.46-2.43 5.46-5.42V133.42c.6-2.99-1.83-5.42-5.46-5.42m-56.11 705.88H324.7c-17.76.13-35.36-3.33-51.75-10.18s-31.22-16.94-43.61-29.67c-25.3-25.35-39.81-59.1-39.81-95.32V324.69c-.13-17.75 3.33-35.35 10.17-51.74a131.7 131.7 0 0 1 29.64-43.62c25.39-25.3 59.14-39.81 95.36-39.81h111.57zm402.12-647.67a196.66 196.66 0 0 0-139.08-57.61H580.48c-3.03 0-4.82 2.43-4.82 4.82v757.16c-.6 2.99 1.79 5.42 5.42 5.42h118.23a196.7 196.7 0 0 0 139.08-57.61A196.66 196.66 0 0 0 896 699.31V325.29a196.7 196.7 0 0 0-57.61-139.08m-111.3 441.92c-42.83 0-77.82-34.99-77.82-77.82s34.98-77.82 77.82-77.82c42.83 0 77.82 34.99 77.82 77.82s-34.99 77.82-77.82 77.82"})]))}}),jY=WY,KY=W({name:"Switch",__name:"switch",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344M64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}}),UY=KY,qY=W({name:"TakeawayBox",__name:"takeaway-box",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M832 384H192v448h640zM96 320h832V128H96zm800 64v480a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V384H64a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h896a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64"})]))}}),GY=qY,YY=W({name:"Ticket",__name:"ticket",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"})]))}}),XY=YY,JY=W({name:"Tickets",__name:"tickets",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z"})]))}}),ZY=JY,QY=W({name:"Timer",__name:"timer",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),A("path",{fill:"currentColor",d:"M512 320a32 32 0 0 1 32 32l-.512 224a32 32 0 1 1-64 0L480 352a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0m96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64z"})]))}}),eX=QY,tX=W({name:"ToiletPaper",__name:"toilet-paper",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224M736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224"}),A("path",{fill:"currentColor",d:"M736 448c-35.328 0-64-43.008-64-96s28.672-96 64-96 64 43.008 64 96-28.672 96-64 96"})]))}}),nX=tX,sX=W({name:"Tools",__name:"tools",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M764.416 254.72a351.7 351.7 0 0 1 86.336 149.184H960v192.064H850.752a351.7 351.7 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.7 351.7 0 0 1-86.336-149.312H64v-192h109.248a351.7 351.7 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"})]))}}),aX=sX,oX=W({name:"TopLeft",__name:"top-left",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z"}),A("path",{fill:"currentColor",d:"M246.656 201.344a32 32 0 0 0-45.312 45.312l544 544a32 32 0 0 0 45.312-45.312z"})]))}}),rX=oX,iX=W({name:"TopRight",__name:"top-right",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"}),A("path",{fill:"currentColor",d:"M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312z"})]))}}),lX=iX,cX=W({name:"Top",__name:"top",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}}),uX=cX,dX=W({name:"TrendCharts",__name:"trend-charts",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0"})]))}}),fX=dX,hX=W({name:"TrophyBase",__name:"trophy-base",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M918.4 201.6c-6.4-6.4-12.8-9.6-22.4-9.6H768V96c0-9.6-3.2-16-9.6-22.4S745.6 64 736 64H288c-9.6 0-16 3.2-22.4 9.6S256 86.4 256 96v96H128c-9.6 0-16 3.2-22.4 9.6S96 217.6 96 224c3.2 108.8 25.6 185.6 64 224 34.4 34.4 77.56 55.65 127.65 61.99 10.91 20.44 24.78 39.25 41.95 56.41 40.86 40.86 91 65.47 150.4 71.9V768h-96c-9.6 0-16 3.2-22.4 9.6S352 790.4 352 800s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6h256c9.6 0 16-3.2 22.4-9.6s9.6-12.8 9.6-22.4-3.2-16-9.6-22.4-12.8-9.6-22.4-9.6h-96V637.26c59.4-7.71 109.54-30.01 150.4-70.86 17.2-17.2 31.51-36.06 42.81-56.55 48.93-6.51 90.02-27.7 126.79-61.85 38.4-38.4 60.8-112 64-224 0-6.4-3.2-16-9.6-22.4M256 438.4c-19.2-6.4-35.2-19.2-51.2-35.2-22.4-22.4-35.2-70.4-41.6-147.2H256zm390.4 80C608 553.6 566.4 576 512 576s-99.2-19.2-134.4-57.6S320 438.4 320 384V128h384v256q0 81.6-57.6 134.4m172.8-115.2c-16 16-32 25.6-51.2 35.2V256h92.8c-6.4 76.8-19.2 124.8-41.6 147.2M768 896H256c-9.6 0-16 3.2-22.4 9.6S224 918.4 224 928s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6h512c9.6 0 16-3.2 22.4-9.6s9.6-12.8 9.6-22.4-3.2-16-9.6-22.4-12.8-9.6-22.4-9.6"})]))}}),pX=hX,vX=W({name:"Trophy",__name:"trophy",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M480 896V702.08A256.26 256.26 0 0 1 264.064 512h-32.64a96 96 0 0 1-91.968-68.416L93.632 290.88a76.8 76.8 0 0 1 73.6-98.88H256V96a32 32 0 0 1 32-32h448a32 32 0 0 1 32 32v96h88.768a76.8 76.8 0 0 1 73.6 98.88L884.48 443.52A96 96 0 0 1 792.576 512h-32.64A256.26 256.26 0 0 1 544 702.08V896h128a32 32 0 1 1 0 64H352a32 32 0 1 1 0-64zm224-448V128H320v320a192 192 0 1 0 384 0m64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448z"})]))}}),mX=vX,gX=W({name:"TurnOff",__name:"turn-off",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36"}),A("path",{fill:"currentColor",d:"M329.956 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),bX=gX,yX=W({name:"Umbrella",__name:"umbrella",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M320 768a32 32 0 1 1 64 0 64 64 0 0 0 128 0V512H64a448 448 0 1 1 896 0H576v256a128 128 0 1 1-256 0m570.688-320a384.128 384.128 0 0 0-757.376 0z"})]))}}),wX=yX,_X=W({name:"Unlock",__name:"unlock",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),A("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}}),CX=_X,SX=W({name:"UploadFilled",__name:"upload-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.81 239.81 0 0 1 512 192a239.87 239.87 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}}),xX=SX,EX=W({name:"Upload",__name:"upload",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),d9=EX,kX=W({name:"UserFilled",__name:"user-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"})]))}}),AX=kX,TX=W({name:"User",__name:"user",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}}),MX=TX,PX=W({name:"Van",__name:"van",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128.896 736H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v96h164.544a32 32 0 0 1 31.616 27.136l54.144 352A32 32 0 0 1 922.688 736h-91.52a144 144 0 1 1-286.272 0H415.104a144 144 0 1 1-286.272 0zm23.36-64a143.872 143.872 0 0 1 239.488 0H568.32c17.088-25.6 42.24-45.376 71.744-55.808V256H128v416zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672m48.128-192-14.72-96H704v96zM688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160m-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160"})]))}}),RX=PX,IX=W({name:"VideoCameraFilled",__name:"video-camera-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m768 576 192-64v320l-192-64v96a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V480a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zM192 768v64h384v-64zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0m64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288m-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320m64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0"})]))}}),OX=IX,LX=W({name:"VideoCamera",__name:"video-camera",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z"})]))}}),NX=LX,$X=W({name:"VideoPause",__name:"video-pause",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32m192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32"})]))}}),DX=$X,FX=W({name:"VideoPlay",__name:"video-play",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-48-247.616L668.608 512 464 375.616zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z"})]))}}),BX=FX,VX=W({name:"View",__name:"view",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 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-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),Hy=VX,zX=W({name:"WalletFilled",__name:"wallet-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96m-80-544 128 160H384z"})]))}}),HX=zX,WX=W({name:"Wallet",__name:"wallet",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z"}),A("path",{fill:"currentColor",d:"M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),jX=WX,KX=W({name:"WarnTriangleFilled",__name:"warn-triangle-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M928.99 755.83 574.6 203.25c-12.89-20.16-36.76-32.58-62.6-32.58s-49.71 12.43-62.6 32.58L95.01 755.83c-12.91 20.12-12.9 44.91.01 65.03 12.92 20.12 36.78 32.51 62.59 32.49h708.78c25.82.01 49.68-12.37 62.59-32.49s12.92-44.91.01-65.03M554.67 768h-85.33v-85.33h85.33zm0-426.67v298.66h-85.33V341.32z"})]))}}),UX=KX,qX=W({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),kp=qX,GX=W({name:"Warning",__name:"warning",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}}),YX=GX,XX=W({name:"Watch",__name:"watch",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),A("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z"})]))}}),JX=XX,ZX=W({name:"Watermelon",__name:"watermelon",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m683.072 600.32-43.648 162.816-61.824-16.512 53.248-198.528L576 493.248l-158.4 158.4-45.248-45.248 158.4-158.4-55.616-55.616-198.528 53.248-16.512-61.824 162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632z"})]))}}),QX=ZX,eJ=W({name:"WindPower",__name:"wind-power",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32m416 354.624 128-11.584V168.96l-128-11.52v261.12zm-64 5.824V151.552L320 134.08V160h-64V64l616.704 56.064A96 96 0 0 1 960 215.68v144.64a96 96 0 0 1-87.296 95.616L256 512V224h64v217.92zm256-23.232 98.88-8.96A32 32 0 0 0 896 360.32V215.68a32 32 0 0 0-29.12-31.872l-98.88-8.96z"})]))}}),tJ=eJ,nJ=W({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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 704m-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-64z"})]))}}),xg=nJ,sJ=W({name:"ZoomOut",__name:"zoom-out",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),Wy=sJ;const aJ=Object.freeze(Object.defineProperty({__proto__:null,AddLocation:fz,Aim:pz,AlarmClock:mz,Apple:bz,ArrowDown:hr,ArrowDownBold:wz,ArrowLeft:No,ArrowLeftBold:Sz,ArrowRight:Ls,ArrowRightBold:kz,ArrowUp:Sp,ArrowUpBold:Mz,Avatar:Iz,Back:Wx,Baseball:Nz,Basketball:Dz,Bell:zz,BellFilled:Bz,Bicycle:Wz,Bottom:Yz,BottomLeft:Kz,BottomRight:qz,Bowl:Jz,Box:Qz,Briefcase:tH,Brush:oH,BrushFilled:sH,Burger:iH,Calendar:jx,Camera:fH,CameraFilled:uH,CaretBottom:pH,CaretLeft:mH,CaretRight:Ny,CaretTop:Kx,Cellphone:wH,ChatDotRound:CH,ChatDotSquare:xH,ChatLineRound:kH,ChatLineSquare:TH,ChatRound:PH,ChatSquare:IH,Check:Mf,Checked:NH,Cherry:DH,Chicken:BH,ChromeFilled:zH,CircleCheck:xp,CircleCheckFilled:Ux,CircleClose:$o,CircleCloseFilled:yg,CirclePlus:YH,CirclePlusFilled:qH,Clock:$y,Close:Ua,CloseBold:ZH,Cloudy:tW,Coffee:oW,CoffeeCup:sW,Coin:iW,ColdDrink:cW,Collection:hW,CollectionTag:dW,Comment:vW,Compass:gW,Connection:yW,Coordinate:_W,CopyDocument:SW,Cpu:EW,CreditCard:AW,Crop:wg,DArrowLeft:Yi,DArrowRight:Xi,DCaret:IW,DataAnalysis:LW,DataBoard:$W,DataLine:FW,Delete:qx,DeleteFilled:VW,DeleteLocation:HW,Dessert:KW,Discount:qW,Dish:JW,DishDot:YW,Document:_g,DocumentAdd:Gx,DocumentChecked:ej,DocumentCopy:nj,DocumentDelete:aj,DocumentRemove:rj,Download:Ji,Drizzling:uj,Edit:pj,EditPen:fj,Eleme:bj,ElemeFilled:mj,ElementPlus:wj,Expand:Cj,Failed:xj,Female:kj,Files:Dy,Film:Mj,Filter:Rj,Finished:Yx,FirstAidKit:Lj,Flag:$j,Fold:Fj,Folder:Yj,FolderAdd:Vj,FolderChecked:Hj,FolderDelete:jj,FolderOpened:Cg,FolderRemove:qj,Food:Jj,Football:Qj,ForkSpoon:tK,Fries:sK,FullScreen:Fy,Goblet:fK,GobletFull:rK,GobletSquare:uK,GobletSquareFull:lK,GoldMedal:pK,Goods:bK,GoodsFilled:mK,Grape:wK,Grid:Xx,Guide:SK,Handbag:EK,Headset:AK,Help:RK,HelpFilled:MK,Hide:Jx,Histogram:LK,HomeFilled:$K,HotWater:FK,House:VK,IceCream:UK,IceCreamRound:HK,IceCreamSquare:jK,IceDrink:GK,IceTea:XK,InfoFilled:Pf,Iphone:QK,Key:tU,KnifeFork:sU,Lightning:oU,Link:iU,List:Zx,Loading:Ns,Location:vU,LocationFilled:dU,LocationInformation:hU,Lock:gU,Lollipop:yU,MagicStick:_U,Magnet:SU,Male:EU,Management:AU,MapLocation:MU,Medal:RU,Memo:OU,Menu:NU,Message:BU,MessageBox:DU,Mic:zU,Microphone:WU,MilkTea:KU,Minus:Qx,Money:GU,Monitor:XU,Moon:eq,MoonNight:ZU,More:e9,MoreFilled:By,MostlyCloudy:aq,Mouse:rq,Mug:lq,Mute:fq,MuteNotification:uq,NoSmoking:pq,Notebook:mq,Notification:bq,Odometer:wq,OfficeBuilding:Cq,Open:xq,Operation:kq,Opportunity:Tq,Orange:Pq,Paperclip:Iq,PartlyCloudy:Lq,Pear:$q,Phone:Vq,PhoneFilled:Fq,Picture:Kq,PictureFilled:t9,PictureRounded:Wq,PieChart:qq,Place:Yq,Platform:Jq,Plus:Vy,Pointer:eG,Position:nG,Postcard:aG,Pouring:rG,Present:lG,PriceTag:uG,Printer:fG,Promotion:n9,QuartzWatch:vG,QuestionFilled:s9,Rank:a9,Reading:_G,ReadingLamp:yG,Refresh:EG,RefreshLeft:Sg,RefreshRight:o9,Refrigerator:AG,Remove:RG,RemoveFilled:MG,Right:OG,ScaleToOriginal:r9,School:$G,Scissor:FG,Search:i9,Select:zG,Sell:WG,SemiSelect:KG,Service:qG,SetUp:YG,Setting:JG,Share:QG,Ship:tY,Shop:sY,ShoppingBag:oY,ShoppingCart:cY,ShoppingCartFull:iY,ShoppingTrolley:dY,Smoking:hY,Soccer:vY,SoldOut:gY,Sort:_Y,SortDown:l9,SortUp:c9,Stamp:SY,Star:u9,StarFilled:Ep,Stopwatch:AY,SuccessFilled:zy,Sugar:PY,Suitcase:LY,SuitcaseLine:IY,Sunny:$Y,Sunrise:FY,Sunset:VY,Switch:UY,SwitchButton:HY,SwitchFilled:jY,TakeawayBox:GY,Ticket:XY,Tickets:ZY,Timer:eX,ToiletPaper:nX,Tools:aX,Top:uX,TopLeft:rX,TopRight:lX,TrendCharts:fX,Trophy:mX,TrophyBase:pX,TurnOff:bX,Umbrella:wX,Unlock:CX,Upload:d9,UploadFilled:xX,User:MX,UserFilled:AX,Van:RX,VideoCamera:NX,VideoCameraFilled:OX,VideoPause:DX,VideoPlay:BX,View:Hy,Wallet:jX,WalletFilled:HX,WarnTriangleFilled:UX,Warning:YX,WarningFilled:kp,Watch:JX,Watermelon:QX,WindPower:tJ,ZoomIn:xg,ZoomOut:Wy},Symbol.toStringTag,{value:"Module"})),en=re([String,Object,Function]),f9={Close:Ua},jy={Close:Ua,SuccessFilled:zy,InfoFilled:Pf,WarningFilled:kp,CircleCloseFilled:yg},ec={primary:Pf,success:zy,warning:kp,error:yg,info:Pf},Eg={validating:Ns,success:xp,error:$o},oJ=["light","dark"],rJ=Te({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:_p(ec),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:oJ,default:"light"}}),iJ={close:e=>e instanceof MouseEvent},lJ=Te({size:{type:re([Number,String])},color:{type:String}});var cJ=W({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:lJ,setup(e){const t=e,n=Ee("icon"),s=k(()=>{const{size:a,color:o}=t,r=Pn(a);return!r&&!o?{}:{fontSize:r,"--color":o}});return(a,o)=>(S(),P("i",wt({class:f(n).b(),style:s.value},a.$attrs),[ue(a.$slots,"default")],16))}});const Je=pt(cJ);var Do=(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))(Do||{});function Ky(e){return un(e)&&e.type===He}function h9(e){return un(e)&&e.type===Kn}function uJ(e){return un(e)&&!Ky(e)&&!h9(e)}const dJ=e=>{if(!un(e))return{};const t=e.props||{},n=(un(e.type)?e.type.props:void 0)||{},s={};return Object.keys(n).forEach(a=>{Ht(n[a],"default")&&(s[a]=n[a].default)}),Object.keys(t).forEach(a=>{s[xa(a)]=t[a]}),s},lo=e=>{const t=ke(e)?e:[e],n=[];return t.forEach(s=>{var a;ke(s)?n.push(...lo(s)):un(s)&&((a=s.component)!=null&&a.subTree)?n.push(s,...lo(s.component.subTree)):un(s)&&ke(s.children)?n.push(...lo(s.children)):un(s)&&s.shapeFlag===2?n.push(...lo(s.type())):n.push(s)}),n};var fJ=W({name:"ElAlert",__name:"alert",props:rJ,emits:iJ,setup(e,{emit:t}){const{Close:n}=jy,s=e,a=t,o=zn(),r=Ee("alert"),i=F(!0),l=k(()=>ec[s.type]),c=k(()=>{var d;if(s.description)return!0;const h=(d=o.default)==null?void 0:d.call(o);return h?lo(h).some(v=>!h9(v)):!1}),u=d=>{i.value=!1,a("close",d)};return(d,h)=>(S(),le(vs,{name:f(r).b("fade"),persisted:""},{default:X(()=>[gt(A("div",{class:D([f(r).b(),f(r).m(e.type),f(r).is("center",e.center),f(r).is(e.effect)]),role:"alert"},[e.showIcon&&(d.$slots.icon||l.value)?(S(),le(f(Je),{key:0,class:D([f(r).e("icon"),f(r).is("big",c.value)])},{default:X(()=>[ue(d.$slots,"icon",{},()=>[(S(),le(bt(l.value)))])]),_:3},8,["class"])):ie("v-if",!0),A("div",{class:D(f(r).e("content"))},[e.title||d.$slots.title?(S(),P("span",{key:0,class:D([f(r).e("title"),{"with-description":c.value}])},[ue(d.$slots,"title",{},()=>[Ue(ve(e.title),1)])],2)):ie("v-if",!0),c.value?(S(),P("p",{key:1,class:D(f(r).e("description"))},[ue(d.$slots,"default",{},()=>[Ue(ve(e.description),1)])],2)):ie("v-if",!0),e.closable?(S(),P(He,{key:2},[e.closeText?(S(),P("div",{key:0,class:D([f(r).e("close-btn"),f(r).is("customed")]),onClick:u},ve(e.closeText),3)):(S(),le(f(Je),{key:1,class:D(f(r).e("close-btn")),onClick:u},{default:X(()=>[j(f(n))]),_:1},8,["class"]))],64)):ie("v-if",!0)],2)],2),[[Bt,i.value]])]),_:3},8,["name"]))}});const hJ=pt(fJ);var qa="top",Fo="bottom",Bo="right",Ga="left",Uy="auto",Ap=[qa,Fo,Bo,Ga],Rf="start",Tp="end",pJ="clippingParents",p9="viewport",Mp="popper",vJ="reference",v9=Ap.reduce(function(e,t){return e.concat([t+"-"+Rf,t+"-"+Tp])},[]),Qr=[].concat(Ap,[Uy]).reduce(function(e,t){return e.concat([t,t+"-"+Rf,t+"-"+Tp])},[]),mJ="beforeRead",gJ="read",bJ="afterRead",yJ="beforeMain",wJ="main",_J="afterMain",CJ="beforeWrite",SJ="write",xJ="afterWrite",EJ=[mJ,gJ,bJ,yJ,wJ,_J,CJ,SJ,xJ];function ei(e){return e?(e.nodeName||"").toLowerCase():null}function co(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function _u(e){var t=co(e).Element;return e instanceof t||e instanceof Element}function Vo(e){var t=co(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function qy(e){if(typeof ShadowRoot>"u")return!1;var t=co(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function kJ(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},a=t.attributes[n]||{},o=t.elements[n];!Vo(o)||!ei(o)||(Object.assign(o.style,s),Object.keys(a).forEach(function(r){var i=a[r];i===!1?o.removeAttribute(r):o.setAttribute(r,i===!0?"":i)}))})}function AJ(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(s){var a=t.elements[s],o=t.attributes[s]||{},r=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),i=r.reduce(function(l,c){return l[c]="",l},{});!Vo(a)||!ei(a)||(Object.assign(a.style,i),Object.keys(o).forEach(function(l){a.removeAttribute(l)}))})}}var m9={name:"applyStyles",enabled:!0,phase:"write",fn:kJ,effect:AJ,requires:["computeStyles"]};function ti(e){return e.split("-")[0]}var Cu=Math.max,kg=Math.min,If=Math.round;function Gy(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function g9(){return!/^((?!chrome|android).)*safari/i.test(Gy())}function Of(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),a=1,o=1;t&&Vo(e)&&(a=e.offsetWidth>0&&If(s.width)/e.offsetWidth||1,o=e.offsetHeight>0&&If(s.height)/e.offsetHeight||1);var r=_u(e)?co(e):window,i=r.visualViewport,l=!g9()&&n,c=(s.left+(l&&i?i.offsetLeft:0))/a,u=(s.top+(l&&i?i.offsetTop:0))/o,d=s.width/a,h=s.height/o;return{width:d,height:h,top:u,right:c+d,bottom:u+h,left:c,x:c,y:u}}function Yy(e){var t=Of(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function b9(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&qy(n)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Zi(e){return co(e).getComputedStyle(e)}function TJ(e){return["table","td","th"].indexOf(ei(e))>=0}function tc(e){return((_u(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ag(e){return ei(e)==="html"?e:e.assignedSlot||e.parentNode||(qy(e)?e.host:null)||tc(e)}function y9(e){return!Vo(e)||Zi(e).position==="fixed"?null:e.offsetParent}function MJ(e){var t=/firefox/i.test(Gy()),n=/Trident/i.test(Gy());if(n&&Vo(e)){var s=Zi(e);if(s.position==="fixed")return null}var a=Ag(e);for(qy(a)&&(a=a.host);Vo(a)&&["html","body"].indexOf(ei(a))<0;){var o=Zi(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function Pp(e){for(var t=co(e),n=y9(e);n&&TJ(n)&&Zi(n).position==="static";)n=y9(n);return n&&(ei(n)==="html"||ei(n)==="body"&&Zi(n).position==="static")?t:n||MJ(e)||t}function Xy(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Rp(e,t,n){return Cu(e,kg(t,n))}function PJ(e,t,n){var s=Rp(e,t,n);return s>n?n:s}function w9(){return{top:0,right:0,bottom:0,left:0}}function _9(e){return Object.assign({},w9(),e)}function C9(e,t){return t.reduce(function(n,s){return n[s]=e,n},{})}var RJ=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,_9(typeof e!="number"?e:C9(e,Ap))};function IJ(e){var t,n=e.state,s=e.name,a=e.options,o=n.elements.arrow,r=n.modifiersData.popperOffsets,i=ti(n.placement),l=Xy(i),c=[Ga,Bo].indexOf(i)>=0,u=c?"height":"width";if(!(!o||!r)){var d=RJ(a.padding,n),h=Yy(o),p=l==="y"?qa:Ga,v=l==="y"?Fo:Bo,m=n.rects.reference[u]+n.rects.reference[l]-r[l]-n.rects.popper[u],g=r[l]-n.rects.reference[l],b=Pp(o),C=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,w=m/2-g/2,_=d[p],x=C-h[u]-d[v],E=C/2-h[u]/2+w,T=Rp(_,E,x),R=l;n.modifiersData[s]=(t={},t[R]=T,t.centerOffset=T-E,t)}}function OJ(e){var t=e.state,n=e.options,s=n.element,a=s===void 0?"[data-popper-arrow]":s;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||b9(t.elements.popper,a)&&(t.elements.arrow=a))}var LJ={name:"arrow",enabled:!0,phase:"main",fn:IJ,effect:OJ,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Lf(e){return e.split("-")[1]}var NJ={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $J(e,t){var n=e.x,s=e.y,a=t.devicePixelRatio||1;return{x:If(n*a)/a||0,y:If(s*a)/a||0}}function S9(e){var t,n=e.popper,s=e.popperRect,a=e.placement,o=e.variation,r=e.offsets,i=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=r.x,p=h===void 0?0:h,v=r.y,m=v===void 0?0:v,g=typeof u=="function"?u({x:p,y:m}):{x:p,y:m};p=g.x,m=g.y;var b=r.hasOwnProperty("x"),C=r.hasOwnProperty("y"),w=Ga,_=qa,x=window;if(c){var E=Pp(n),T="clientHeight",R="clientWidth";if(E===co(n)&&(E=tc(n),Zi(E).position!=="static"&&i==="absolute"&&(T="scrollHeight",R="scrollWidth")),E=E,a===qa||(a===Ga||a===Bo)&&o===Tp){_=Fo;var I=d&&E===x&&x.visualViewport?x.visualViewport.height:E[T];m-=I-s.height,m*=l?1:-1}if(a===Ga||(a===qa||a===Fo)&&o===Tp){w=Bo;var M=d&&E===x&&x.visualViewport?x.visualViewport.width:E[R];p-=M-s.width,p*=l?1:-1}}var $=Object.assign({position:i},c&&NJ),O=u===!0?$J({x:p,y:m},co(n)):{x:p,y:m};if(p=O.x,m=O.y,l){var B;return Object.assign({},$,(B={},B[_]=C?"0":"",B[w]=b?"0":"",B.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",B))}return Object.assign({},$,(t={},t[_]=C?m+"px":"",t[w]=b?p+"px":"",t.transform="",t))}function DJ(e){var t=e.state,n=e.options,s=n.gpuAcceleration,a=s===void 0?!0:s,o=n.adaptive,r=o===void 0?!0:o,i=n.roundOffsets,l=i===void 0?!0:i,c={placement:ti(t.placement),variation:Lf(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,S9(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,S9(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var x9={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:DJ,data:{}},Tg={passive:!0};function FJ(e){var t=e.state,n=e.instance,s=e.options,a=s.scroll,o=a===void 0?!0:a,r=s.resize,i=r===void 0?!0:r,l=co(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,Tg)}),i&&l.addEventListener("resize",n.update,Tg),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Tg)}),i&&l.removeEventListener("resize",n.update,Tg)}}var E9={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:FJ,data:{}},BJ={left:"right",right:"left",bottom:"top",top:"bottom"};function Mg(e){return e.replace(/left|right|bottom|top/g,function(t){return BJ[t]})}var VJ={start:"end",end:"start"};function k9(e){return e.replace(/start|end/g,function(t){return VJ[t]})}function Jy(e){var t=co(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Zy(e){return Of(tc(e)).left+Jy(e).scrollLeft}function zJ(e,t){var n=co(e),s=tc(e),a=n.visualViewport,o=s.clientWidth,r=s.clientHeight,i=0,l=0;if(a){o=a.width,r=a.height;var c=g9();(c||!c&&t==="fixed")&&(i=a.offsetLeft,l=a.offsetTop)}return{width:o,height:r,x:i+Zy(e),y:l}}function HJ(e){var t,n=tc(e),s=Jy(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=Cu(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),r=Cu(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),i=-s.scrollLeft+Zy(e),l=-s.scrollTop;return Zi(a||n).direction==="rtl"&&(i+=Cu(n.clientWidth,a?a.clientWidth:0)-o),{width:o,height:r,x:i,y:l}}function Qy(e){var t=Zi(e),n=t.overflow,s=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+s)}function A9(e){return["html","body","#document"].indexOf(ei(e))>=0?e.ownerDocument.body:Vo(e)&&Qy(e)?e:A9(Ag(e))}function Ip(e,t){var n;t===void 0&&(t=[]);var s=A9(e),a=s===((n=e.ownerDocument)==null?void 0:n.body),o=co(s),r=a?[o].concat(o.visualViewport||[],Qy(s)?s:[]):s,i=t.concat(r);return a?i:i.concat(Ip(Ag(r)))}function e3(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function WJ(e,t){var n=Of(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function T9(e,t,n){return t===p9?e3(zJ(e,n)):_u(t)?WJ(t,n):e3(HJ(tc(e)))}function jJ(e){var t=Ip(Ag(e)),n=["absolute","fixed"].indexOf(Zi(e).position)>=0,s=n&&Vo(e)?Pp(e):e;return _u(s)?t.filter(function(a){return _u(a)&&b9(a,s)&&ei(a)!=="body"}):[]}function KJ(e,t,n,s){var a=t==="clippingParents"?jJ(e):[].concat(t),o=[].concat(a,[n]),r=o[0],i=o.reduce(function(l,c){var u=T9(e,c,s);return l.top=Cu(u.top,l.top),l.right=kg(u.right,l.right),l.bottom=kg(u.bottom,l.bottom),l.left=Cu(u.left,l.left),l},T9(e,r,s));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function M9(e){var t=e.reference,n=e.element,s=e.placement,a=s?ti(s):null,o=s?Lf(s):null,r=t.x+t.width/2-n.width/2,i=t.y+t.height/2-n.height/2,l;switch(a){case qa:l={x:r,y:t.y-n.height};break;case Fo:l={x:r,y:t.y+t.height};break;case Bo:l={x:t.x+t.width,y:i};break;case Ga:l={x:t.x-n.width,y:i};break;default:l={x:t.x,y:t.y}}var c=a?Xy(a):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case Rf:l[c]=l[c]-(t[u]/2-n[u]/2);break;case Tp:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function Op(e,t){t===void 0&&(t={});var n=t,s=n.placement,a=s===void 0?e.placement:s,o=n.strategy,r=o===void 0?e.strategy:o,i=n.boundary,l=i===void 0?pJ:i,c=n.rootBoundary,u=c===void 0?p9:c,d=n.elementContext,h=d===void 0?Mp:d,p=n.altBoundary,v=p===void 0?!1:p,m=n.padding,g=m===void 0?0:m,b=_9(typeof g!="number"?g:C9(g,Ap)),C=h===Mp?vJ:Mp,w=e.rects.popper,_=e.elements[v?C:h],x=KJ(_u(_)?_:_.contextElement||tc(e.elements.popper),l,u,r),E=Of(e.elements.reference),T=M9({reference:E,element:w,placement:a}),R=e3(Object.assign({},w,T)),I=h===Mp?R:E,M={top:x.top-I.top+b.top,bottom:I.bottom-x.bottom+b.bottom,left:x.left-I.left+b.left,right:I.right-x.right+b.right},$=e.modifiersData.offset;if(h===Mp&&$){var O=$[a];Object.keys(M).forEach(function(B){var U=[Bo,Fo].indexOf(B)>=0?1:-1,J=[qa,Fo].indexOf(B)>=0?"y":"x";M[B]+=O[J]*U})}return M}function UJ(e,t){t===void 0&&(t={});var n=t,s=n.placement,a=n.boundary,o=n.rootBoundary,r=n.padding,i=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Qr:l,u=Lf(s),d=u?i?v9:v9.filter(function(v){return Lf(v)===u}):Ap,h=d.filter(function(v){return c.indexOf(v)>=0});h.length===0&&(h=d);var p=h.reduce(function(v,m){return v[m]=Op(e,{placement:m,boundary:a,rootBoundary:o,padding:r})[ti(m)],v},{});return Object.keys(p).sort(function(v,m){return p[v]-p[m]})}function qJ(e){if(ti(e)===Uy)return[];var t=Mg(e);return[k9(e),t,k9(t)]}function GJ(e){var t=e.state,n=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var a=n.mainAxis,o=a===void 0?!0:a,r=n.altAxis,i=r===void 0?!0:r,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,v=p===void 0?!0:p,m=n.allowedAutoPlacements,g=t.options.placement,b=ti(g),C=b===g,w=l||(C||!v?[Mg(g)]:qJ(g)),_=[g].concat(w).reduce(function(ee,ae){return ee.concat(ti(ae)===Uy?UJ(t,{placement:ae,boundary:u,rootBoundary:d,padding:c,flipVariations:v,allowedAutoPlacements:m}):ae)},[]),x=t.rects.reference,E=t.rects.popper,T=new Map,R=!0,I=_[0],M=0;M<_.length;M++){var $=_[M],O=ti($),B=Lf($)===Rf,U=[qa,Fo].indexOf(O)>=0,J=U?"width":"height",Y=Op(t,{placement:$,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),N=U?B?Bo:Ga:B?Fo:qa;x[J]>E[J]&&(N=Mg(N));var L=Mg(N),V=[];if(o&&V.push(Y[O]<=0),i&&V.push(Y[N]<=0,Y[L]<=0),V.every(function(ee){return ee})){I=$,R=!1;break}T.set($,V)}if(R)for(var z=v?3:1,G=function(ee){var ae=_.find(function(fe){var ne=T.get(fe);if(ne)return ne.slice(0,ee).every(function(pe){return pe})});if(ae)return I=ae,"break"},Q=z;Q>0;Q--){var K=G(Q);if(K==="break")break}t.placement!==I&&(t.modifiersData[s]._skip=!0,t.placement=I,t.reset=!0)}}var YJ={name:"flip",enabled:!0,phase:"main",fn:GJ,requiresIfExists:["offset"],data:{_skip:!1}};function P9(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 R9(e){return[qa,Bo,Fo,Ga].some(function(t){return e[t]>=0})}function XJ(e){var t=e.state,n=e.name,s=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,r=Op(t,{elementContext:"reference"}),i=Op(t,{altBoundary:!0}),l=P9(r,s),c=P9(i,a,o),u=R9(l),d=R9(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var JJ={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:XJ};function ZJ(e,t,n){var s=ti(e),a=[Ga,qa].indexOf(s)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,r=o[0],i=o[1];return r=r||0,i=(i||0)*a,[Ga,Bo].indexOf(s)>=0?{x:i,y:r}:{x:r,y:i}}function QJ(e){var t=e.state,n=e.options,s=e.name,a=n.offset,o=a===void 0?[0,0]:a,r=Qr.reduce(function(u,d){return u[d]=ZJ(d,t.rects,o),u},{}),i=r[t.placement],l=i.x,c=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[s]=r}var eZ={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:QJ};function tZ(e){var t=e.state,n=e.name;t.modifiersData[n]=M9({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var I9={name:"popperOffsets",enabled:!0,phase:"read",fn:tZ,data:{}};function nZ(e){return e==="x"?"y":"x"}function sZ(e){var t=e.state,n=e.options,s=e.name,a=n.mainAxis,o=a===void 0?!0:a,r=n.altAxis,i=r===void 0?!1:r,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,p=h===void 0?!0:h,v=n.tetherOffset,m=v===void 0?0:v,g=Op(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=ti(t.placement),C=Lf(t.placement),w=!C,_=Xy(b),x=nZ(_),E=t.modifiersData.popperOffsets,T=t.rects.reference,R=t.rects.popper,I=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,M=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(E){if(o){var B,U=_==="y"?qa:Ga,J=_==="y"?Fo:Bo,Y=_==="y"?"height":"width",N=E[_],L=N+g[U],V=N-g[J],z=p?-R[Y]/2:0,G=C===Rf?T[Y]:R[Y],Q=C===Rf?-R[Y]:-T[Y],K=t.elements.arrow,ee=p&&K?Yy(K):{width:0,height:0},ae=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:w9(),fe=ae[U],ne=ae[J],pe=Rp(0,T[Y],ee[Y]),he=w?T[Y]/2-z-pe-fe-M.mainAxis:G-pe-fe-M.mainAxis,ce=w?-T[Y]/2+z+pe+ne+M.mainAxis:Q+pe+ne+M.mainAxis,Z=t.elements.arrow&&Pp(t.elements.arrow),H=Z?_==="y"?Z.clientTop||0:Z.clientLeft||0:0,te=(B=$==null?void 0:$[_])!=null?B:0,de=N+he-te-H,be=N+ce-te,_e=Rp(p?kg(L,de):L,N,p?Cu(V,be):V);E[_]=_e,O[_]=_e-N}if(i){var Se,Ne=_==="x"?qa:Ga,Ve=_==="x"?Fo:Bo,$e=E[x],we=x==="y"?"height":"width",Oe=$e+g[Ne],Pe=$e-g[Ve],We=[qa,Ga].indexOf(b)!==-1,Qe=(Se=$==null?void 0:$[x])!=null?Se:0,it=We?Oe:$e-T[we]-R[we]-Qe+M.altAxis,De=We?$e+T[we]+R[we]-Qe-M.altAxis:Pe,Ke=p&&We?PJ(it,$e,De):Rp(p?it:Oe,$e,p?De:Pe);E[x]=Ke,O[x]=Ke-$e}t.modifiersData[s]=O}}var aZ={name:"preventOverflow",enabled:!0,phase:"main",fn:sZ,requiresIfExists:["offset"]};function oZ(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function rZ(e){return e===co(e)||!Vo(e)?Jy(e):oZ(e)}function iZ(e){var t=e.getBoundingClientRect(),n=If(t.width)/e.offsetWidth||1,s=If(t.height)/e.offsetHeight||1;return n!==1||s!==1}function lZ(e,t,n){n===void 0&&(n=!1);var s=Vo(t),a=Vo(t)&&iZ(t),o=tc(t),r=Of(e,a,n),i={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((ei(t)!=="body"||Qy(o))&&(i=rZ(t)),Vo(t)?(l=Of(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=Zy(o))),{x:r.left+i.scrollLeft-l.x,y:r.top+i.scrollTop-l.y,width:r.width,height:r.height}}function cZ(e){var t=new Map,n=new Set,s=[];e.forEach(function(o){t.set(o.name,o)});function a(o){n.add(o.name);var r=[].concat(o.requires||[],o.requiresIfExists||[]);r.forEach(function(i){if(!n.has(i)){var l=t.get(i);l&&a(l)}}),s.push(o)}return e.forEach(function(o){n.has(o.name)||a(o)}),s}function uZ(e){var t=cZ(e);return EJ.reduce(function(n,s){return n.concat(t.filter(function(a){return a.phase===s}))},[])}function dZ(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function fZ(e){var t=e.reduce(function(n,s){var a=n[s.name];return n[s.name]=a?Object.assign({},a,s,{options:Object.assign({},a.options,s.options),data:Object.assign({},a.data,s.data)}):s,n},{});return Object.keys(t).map(function(n){return t[n]})}var O9={placement:"bottom",modifiers:[],strategy:"absolute"};function L9(){for(var e=arguments.length,t=new Array(e),n=0;nUi(mZ,e),gZ=["fixed","absolute"],bZ=Te({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:re(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Qr,default:"bottom"},popperOptions:{type:re(Object),default:()=>({})},strategy:{type:String,values:gZ,default:"absolute"}}),$9=Te({...bZ,...N9,id:String,style:{type:re([String,Array,Object])},className:{type:re([String,Array,Object])},effect:{type:re(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:re([String,Array,Object])},popperStyle:{type:re([String,Array,Object])},referenceEl:{type:re(Object)},triggerTargetEl:{type:re(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...ia(["ariaLabel"]),loop:Boolean}),yZ={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0};function D9(){let e;const t=(s,a)=>{n(),e=window.setTimeout(s,a)},n=()=>window.clearTimeout(e);return yu(()=>n()),{registerTimeout:t,cancelTimeout:n}}const wZ=Te({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),_Z=({showAfter:e,hideAfter:t,autoClose:n,open:s,close:a})=>{const{registerTimeout:o}=D9(),{registerTimeout:r,cancelTimeout:i}=D9();return{onOpen:(u,d=f(e))=>{o(()=>{s(u);const h=f(n);at(h)&&h>0&&r(()=>{a(u)},h)},d)},onClose:(u,d=f(t))=>{i(),o(()=>{a(u)},d)}}},tn=Te({...wZ,...$9,appendTo:{type:Cp.to.type},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:re(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...ia(["ariaLabel"])}),Rn=e=>e,Lp=Te({id:{type:String,default:void 0},size:rs,disabled:{type:Boolean,default:void 0},modelValue:{type:re([String,Number,Object]),default:""},modelModifiers:{type:re(Object),default:()=>({})},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:re(String),default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:re([Boolean,Object]),default:!1},autocomplete:{type:re(String),default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:en,default:$o},showPassword:Boolean,showWordLimit:Boolean,wordLimitPosition:{type:String,values:["inside","outside"],default:"inside"},suffixIcon:{type:en},prefixIcon:{type:en},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:re([Object,Array,String]),default:()=>Rn({})},autofocus:Boolean,rows:{type:Number,default:2},...ia(["ariaLabel"]),inputmode:{type:re(String),default:void 0},name:String}),CZ={[ct]:e=>Xe(e),input:e=>Xe(e),change:(e,t)=>Xe(e)&&(t instanceof Event||t===void 0),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};Hr($o);const SZ=Te({...Lp,valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:re(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:re([Function,Array]),default:qt},popperClass:tn.popperClass,popperStyle:tn.popperStyle,triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:Boolean,hideLoading:Boolean,teleported:tn.teleported,appendTo:tn.appendTo,highlightFirstItem:Boolean,fitInputWidth:Boolean,loopNavigation:{type:Boolean,default:!0}}),xZ={[ct]:e=>Xe(e)||at(e),[es]:e=>Xe(e)||at(e),[Pt]:e=>Xe(e)||at(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>ht(e)},n3=()=>jt&&/firefox/i.test(window.navigator.userAgent),F9=()=>jt&&/android/i.test(window.navigator.userAgent);let Ya;const EZ={height:"0",visibility:"hidden",overflow:n3()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},kZ=["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","word-break"],B9=e=>{const t=Number.parseFloat(e);return Number.isNaN(t)?e:t};function AZ(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),s=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),a=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:kZ.map(r=>[r,t.getPropertyValue(r)]),paddingSize:s,borderSize:a,boxSizing:n}}function V9(e,t=1,n){var s,a;Ya||(Ya=document.createElement("textarea"),((s=e.parentNode)!=null?s:document.body).appendChild(Ya));const{paddingSize:o,borderSize:r,boxSizing:i,contextStyle:l}=AZ(e);l.forEach(([h,p])=>Ya==null?void 0:Ya.style.setProperty(h,p)),Object.entries(EZ).forEach(([h,p])=>Ya==null?void 0:Ya.style.setProperty(h,p,"important")),Ya.value=e.value||e.placeholder||"";let c=Ya.scrollHeight;const u={};i==="border-box"?c=c+r:i==="content-box"&&(c=c-o),Ya.value="";const d=Ya.scrollHeight-o;if(at(t)){let h=d*t;i==="border-box"&&(h=h+o+r),c=Math.max(h,c),u.minHeight=`${h}px`}if(at(n)){let h=d*n;i==="border-box"&&(h=h+o+r),c=Math.min(h,c)}return u.height=`${c}px`,(a=Ya.parentNode)==null||a.removeChild(Ya),Ya=void 0,u}const TZ=["class","style"],MZ=/^on[A-Z]/,Pg=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,s=k(()=>((n==null?void 0:n.value)||[]).concat(TZ)),a=_t();return k(a?()=>{var o;return hp(Object.entries((o=a.proxy)==null?void 0:o.$attrs).filter(([r])=>!s.value.includes(r)&&!(t&&MZ.test(r))))}:()=>({}))},z9=e=>{const t=_t();return k(()=>{var n,s;return(s=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:s[e]})},Su=Symbol("formContextKey"),ni=Symbol("formItemContextKey"),ts=(e,t={})=>{const n=F(void 0),s=t.prop?n:z9("size"),a=t.global?n:Ox(),o=t.form?{size:void 0}:je(Su,void 0),r=t.formItem?{size:void 0}:je(ni,void 0);return k(()=>s.value||f(e)||(r==null?void 0:r.size)||(o==null?void 0:o.size)||a.value||"")},In=e=>{const t=z9("disabled"),n=je(Su,void 0);return k(()=>{var s,a,o;return(o=(a=(s=t.value)!=null?s:f(e))!=null?a:n==null?void 0:n.disabled)!=null?o:!1})},PZ='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',H9=e=>typeof Element>"u"?!1:e instanceof Element,RZ=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,W9=e=>Array.from(e.querySelectorAll(PZ)).filter(t=>Np(t)&&RZ(t)),Np=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")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}},Rg=function(e,t,...n){let s;t.includes("mouse")||t.includes("click")?s="MouseEvents":t.includes("key")?s="KeyboardEvent":s="HTMLEvents";const a=document.createEvent(s);return a.initEvent(t,...n),e.dispatchEvent(a),e},j9=e=>!e.getAttribute("aria-owns"),K9=(e,t,n)=>{const{parentNode:s}=e;if(!s)return null;const a=s.querySelectorAll(n),o=Array.prototype.indexOf.call(a,e);return a[o+t]||null},$p=(e,t)=>{if(!e||!e.focus)return;let n=!1;H9(e)&&!Np(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),H9(e)&&n&&e.removeAttribute("tabindex")},Ig=e=>{e&&($p(e),!j9(e)&&e.click())};function Qi(e,{disabled:t,beforeFocus:n,afterFocus:s,beforeBlur:a,afterBlur:o}={}){const r=_t(),{emit:i}=r,l=hn(),c=F(!1),u=p=>{const v=et(n)?n(p):!1;f(t)||c.value||v||(c.value=!0,i("focus",p),s==null||s())},d=p=>{var v;const m=et(a)?a(p):!1;f(t)||p.relatedTarget&&((v=l.value)!=null&&v.contains(p.relatedTarget))||m||(c.value=!1,i("blur",p),o==null||o())},h=p=>{var v,m;f(t)||Np(p.target)||(v=l.value)!=null&&v.contains(document.activeElement)&&l.value!==document.activeElement||(m=e.value)==null||m.focus()};return me([l,()=>f(t)],([p,v])=>{p&&(v?p.removeAttribute("tabindex"):p.setAttribute("tabindex","-1"))}),Zt(l,"focus",u,!0),Zt(l,"blur",d,!0),Zt(l,"click",h,!0),{isFocused:c,wrapperRef:l,handleFocus:u,handleBlur:d}}const U9={prefix:Math.floor(Math.random()*1e4),current:0},IZ=Symbol("elIdInjection"),s3=()=>_t()?je(IZ,U9):U9,$s=e=>{const t=s3(),n=Ay();return bx(()=>f(e)||`${n.value}-id-${t.prefix}-${t.current++}`)},Cs=()=>{const e=je(Su,void 0),t=je(ni,void 0);return{form:e,formItem:t}},uo=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:s})=>{n||(n=F(!1)),s||(s=F(!1));const a=_t(),o=()=>{let c=a==null?void 0:a.parent;for(;c;){if(c.type.name==="ElFormItem")return!1;if(c.type.name==="ElLabelWrap")return!0;c=c.parent}return!1},r=F();let i;const l=k(()=>{var c;return!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&((c=t.inputIds)==null?void 0:c.length)<=1)});return St(()=>{i=me([Jt(e,"id"),n],([c,u])=>{const d=c??(u?void 0:$s().value);d!==r.value&&(t!=null&&t.removeInputId&&!o()&&(r.value&&t.removeInputId(r.value),!(s!=null&&s.value)&&!u&&d&&t.addInputId(d)),r.value=d)},{immediate:!0})}),cu(()=>{i&&i(),t!=null&&t.removeInputId&&r.value&&t.removeInputId(r.value)}),{isLabeledByFormItem:l,inputId:r}},OZ=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e);function Dp({afterComposition:e,emit:t}){const n=F(!1),s=i=>{t==null||t("compositionstart",i),n.value=!0},a=i=>{var l;t==null||t("compositionupdate",i);const c=(l=i.target)==null?void 0:l.value,u=c[c.length-1]||"";n.value=!OZ(u)},o=i=>{t==null||t("compositionend",i),n.value&&(n.value=!1,ze(()=>e(i)))};return{isComposing:n,handleComposition:i=>{i.type==="compositionend"?o(i):a(i)},handleCompositionStart:s,handleCompositionUpdate:a,handleCompositionEnd:o}}function LZ(e){let t;function n(){if(e.value==null)return;const{selectionStart:a,selectionEnd:o,value:r}=e.value;if(a==null||o==null)return;const i=r.slice(0,Math.max(0,a)),l=r.slice(Math.max(0,o));t={selectionStart:a,selectionEnd:o,value:r,beforeTxt:i,afterTxt:l}}function s(){if(e.value==null||t==null)return;const{value:a}=e.value,{beforeTxt:o,afterTxt:r,selectionStart:i}=t;if(o==null||r==null||i==null)return;let l=a.length;if(a.endsWith(r))l=a.length-r.length;else if(a.startsWith(o))l=o.length;else{const c=o[i-1],u=a.indexOf(c,i-1);u!==-1&&(l=u+1)}e.value.setSelectionRange(l,l)}return[n,s]}const NZ=["id","name","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","inputmode"],$Z=["id","name","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role"];var DZ=W({name:"ElInput",inheritAttrs:!1,__name:"input",props:Lp,emits:CZ,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Bi(),r=Pg(),i=zn(),l=k(()=>[s.type==="textarea"?g.b():m.b(),m.m(p.value),m.is("disabled",v.value),m.is("exceed",K.value),{[m.b("group")]:i.prepend||i.append,[m.m("prefix")]:i.prefix||s.prefixIcon,[m.m("suffix")]:i.suffix||s.suffixIcon||s.clearable||s.showPassword,[m.bm("suffix","password-clear")]:V.value&&z.value,[m.b("hidden")]:s.type==="hidden"},o.class]),c=k(()=>[m.e("wrapper"),m.is("focus",I.value)]),{form:u,formItem:d}=Cs(),{inputId:h}=uo(s,{formItemContext:d}),p=ts(),v=In(),m=Ee("input"),g=Ee("textarea"),b=hn(),C=hn(),w=F(!1),_=F(!1),x=F(),E=hn(s.inputStyle),T=k(()=>b.value||C.value),{wrapperRef:R,isFocused:I,handleFocus:M,handleBlur:$}=Qi(T,{disabled:v,afterBlur(){var De;s.validateEvent&&((De=d==null?void 0:d.validate)==null||De.call(d,"blur").catch(Ke=>void 0))}}),O=k(()=>{var De;return(De=u==null?void 0:u.statusIcon)!=null?De:!1}),B=k(()=>(d==null?void 0:d.validateState)||""),U=k(()=>B.value&&Eg[B.value]),J=k(()=>_.value?Hy:Jx),Y=k(()=>[o.style]),N=k(()=>[s.inputStyle,E.value,{resize:s.resize}]),L=k(()=>qn(s.modelValue)?"":String(s.modelValue)),V=k(()=>s.clearable&&!v.value&&!s.readonly&&!!L.value&&(I.value||w.value)),z=k(()=>s.showPassword&&!v.value&&!!L.value),G=k(()=>s.showWordLimit&&!!s.maxlength&&(s.type==="text"||s.type==="textarea")&&!v.value&&!s.readonly&&!s.showPassword),Q=k(()=>L.value.length),K=k(()=>!!G.value&&Q.value>Number(s.maxlength)),ee=k(()=>!!i.suffix||!!s.suffixIcon||V.value||s.showPassword||G.value||!!B.value&&O.value),ae=k(()=>!!Object.keys(s.modelModifiers).length),[fe,ne]=LZ(b);bn(C,De=>{if(ce(),!G.value||s.resize!=="both"&&s.resize!=="horizontal")return;const Ke=De[0],{width:nt}=Ke.contentRect;x.value={right:`calc(100% - ${nt+22-10}px)`}});const pe=()=>{const{type:De,autosize:Ke}=s;if(!(!jt||De!=="textarea"||!C.value))if(Ke){const nt=ht(Ke)?Ke.minRows:void 0,Ft=ht(Ke)?Ke.maxRows:void 0,Kt=V9(C.value,nt,Ft);E.value={overflowY:"hidden",...Kt},ze(()=>{C.value.offsetHeight,E.value=Kt})}else E.value={minHeight:V9(C.value).minHeight}},ce=(De=>{let Ke=!1;return()=>{var nt;if(Ke||!s.autosize)return;((nt=C.value)==null?void 0:nt.offsetParent)===null||(setTimeout(De),Ke=!0)}})(pe),Z=()=>{const De=T.value,Ke=s.formatter?s.formatter(L.value):L.value;!De||De.value===Ke||s.type==="file"||(De.value=Ke)},H=De=>{const{trim:Ke,number:nt}=s.modelModifiers;return Ke&&(De=De.trim()),nt&&(De=`${B9(De)}`),s.formatter&&s.parser&&(De=s.parser(De)),De},te=async De=>{if(be.value)return;const{lazy:Ke}=s.modelModifiers;let{value:nt}=De.target;if(Ke){a(es,nt);return}if(nt=H(nt),String(nt)===L.value){s.formatter&&Z();return}fe(),a(ct,nt),a(es,nt),await ze(),(s.formatter&&s.parser||!ae.value)&&Z(),ne()},de=async De=>{let{value:Ke}=De.target;Ke=H(Ke),s.modelModifiers.lazy&&a(ct,Ke),a(Pt,Ke,De),await ze(),Z()},{isComposing:be,handleCompositionStart:_e,handleCompositionUpdate:Se,handleCompositionEnd:Ne}=Dp({emit:a,afterComposition:te}),Ve=()=>{_.value=!_.value},$e=()=>{var De;return(De=T.value)==null?void 0:De.focus()},we=()=>{var De;return(De=T.value)==null?void 0:De.blur()},Oe=De=>{w.value=!1,a("mouseleave",De)},Pe=De=>{w.value=!0,a("mouseenter",De)},We=De=>{a("keydown",De)},Qe=()=>{var De;(De=T.value)==null||De.select()},it=()=>{a(ct,""),a(Pt,""),a("clear"),a(es,"")};return me(()=>s.modelValue,()=>{var De;ze(()=>pe()),s.validateEvent&&((De=d==null?void 0:d.validate)==null||De.call(d,"change").catch(Ke=>void 0))}),me(L,De=>{if(!T.value)return;const{trim:Ke,number:nt}=s.modelModifiers,Ft=T.value.value,Kt=(nt||s.type==="number")&&!/^0\d/.test(Ft)?`${B9(Ft)}`:Ft;Kt!==De&&(document.activeElement===T.value&&T.value.type!=="range"&&Ke&&Kt.trim()===De||Z())}),me(()=>s.type,async()=>{await ze(),Z(),pe()}),St(()=>{!s.formatter&&s.parser,Z(),ze(pe)}),t({input:b,textarea:C,ref:T,textareaStyle:N,autosize:Jt(s,"autosize"),isComposing:be,focus:$e,blur:we,select:Qe,clear:it,resizeTextarea:pe}),(De,Ke)=>(S(),P("div",{class:D([l.value,{[f(m).bm("group","append")]:De.$slots.append,[f(m).bm("group","prepend")]:De.$slots.prepend}]),style:tt(Y.value),onMouseenter:Pe,onMouseleave:Oe},[ie(" input "),e.type!=="textarea"?(S(),P(He,{key:0},[ie(" prepend slot "),De.$slots.prepend?(S(),P("div",{key:0,class:D(f(m).be("group","prepend"))},[ue(De.$slots,"prepend")],2)):ie("v-if",!0),A("div",{ref_key:"wrapperRef",ref:R,class:D(c.value)},[ie(" prefix slot "),De.$slots.prefix||e.prefixIcon?(S(),P("span",{key:0,class:D(f(m).e("prefix"))},[A("span",{class:D(f(m).e("prefix-inner"))},[ue(De.$slots,"prefix"),e.prefixIcon?(S(),le(f(Je),{key:0,class:D(f(m).e("icon"))},{default:X(()=>[(S(),le(bt(e.prefixIcon)))]),_:1},8,["class"])):ie("v-if",!0)],2)],2)):ie("v-if",!0),A("input",wt({id:f(h),ref_key:"input",ref:b,class:f(m).e("inner")},f(r),{name:e.name,minlength:e.minlength,maxlength:e.maxlength,type:e.showPassword?_.value?"text":"password":e.type,disabled:f(v),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:Ke[0]||(Ke[0]=(...nt)=>f(_e)&&f(_e)(...nt)),onCompositionupdate:Ke[1]||(Ke[1]=(...nt)=>f(Se)&&f(Se)(...nt)),onCompositionend:Ke[2]||(Ke[2]=(...nt)=>f(Ne)&&f(Ne)(...nt)),onInput:te,onChange:de,onKeydown:We}),null,16,NZ),ie(" suffix slot "),ee.value?(S(),P("span",{key:1,class:D(f(m).e("suffix"))},[A("span",{class:D(f(m).e("suffix-inner"))},[!V.value||!z.value||!G.value?(S(),P(He,{key:0},[ue(De.$slots,"suffix"),e.suffixIcon?(S(),le(f(Je),{key:0,class:D(f(m).e("icon"))},{default:X(()=>[(S(),le(bt(e.suffixIcon)))]),_:1},8,["class"])):ie("v-if",!0)],64)):ie("v-if",!0),V.value?(S(),le(f(Je),{key:1,class:D([f(m).e("icon"),f(m).e("clear")]),onMousedown:lt(f(qt),["prevent"]),onClick:it},{default:X(()=>[(S(),le(bt(e.clearIcon)))]),_:1},8,["class","onMousedown"])):ie("v-if",!0),z.value?(S(),le(f(Je),{key:2,class:D([f(m).e("icon"),f(m).e("password")]),onClick:Ve,onMousedown:lt(f(qt),["prevent"]),onMouseup:lt(f(qt),["prevent"])},{default:X(()=>[(S(),le(bt(J.value)))]),_:1},8,["class","onMousedown","onMouseup"])):ie("v-if",!0),G.value?(S(),P("span",{key:3,class:D([f(m).e("count"),f(m).is("outside",e.wordLimitPosition==="outside")])},[A("span",{class:D(f(m).e("count-inner"))},ve(Q.value)+" / "+ve(e.maxlength),3)],2)):ie("v-if",!0),B.value&&U.value&&O.value?(S(),le(f(Je),{key:4,class:D([f(m).e("icon"),f(m).e("validateIcon"),f(m).is("loading",B.value==="validating")])},{default:X(()=>[(S(),le(bt(U.value)))]),_:1},8,["class"])):ie("v-if",!0)],2)],2)):ie("v-if",!0)],2),ie(" append slot "),De.$slots.append?(S(),P("div",{key:1,class:D(f(m).be("group","append"))},[ue(De.$slots,"append")],2)):ie("v-if",!0)],64)):(S(),P(He,{key:1},[ie(" textarea "),A("textarea",wt({id:f(h),ref_key:"textarea",ref:C,class:[f(g).e("inner"),f(m).is("focus",f(I))]},f(r),{name:e.name,minlength:e.minlength,maxlength:e.maxlength,tabindex:e.tabindex,disabled:f(v),readonly:e.readonly,autocomplete:e.autocomplete,style:N.value,"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,role:e.containerRole,onCompositionstart:Ke[3]||(Ke[3]=(...nt)=>f(_e)&&f(_e)(...nt)),onCompositionupdate:Ke[4]||(Ke[4]=(...nt)=>f(Se)&&f(Se)(...nt)),onCompositionend:Ke[5]||(Ke[5]=(...nt)=>f(Ne)&&f(Ne)(...nt)),onInput:te,onFocus:Ke[6]||(Ke[6]=(...nt)=>f(M)&&f(M)(...nt)),onBlur:Ke[7]||(Ke[7]=(...nt)=>f($)&&f($)(...nt)),onChange:de,onKeydown:We}),null,16,$Z),G.value?(S(),P("span",{key:0,style:tt(x.value),class:D([f(m).e("count"),f(m).is("outside",e.wordLimitPosition==="outside")])},ve(Q.value)+" / "+ve(e.maxlength),7)):ie("v-if",!0)],64))],38))}});const la=pt(DZ),FZ=Te({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:re([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:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...ia(["ariaLabel","ariaOrientation"])}),q9={"end-reached":e=>["left","right","top","bottom"].includes(e),scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(at)},BZ=Te({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),Nf=4,G9={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"}},VZ=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),zZ=Te({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),a3=Symbol("scrollbarContextKey"),HZ="Thumb";var Y9=W({__name:"thumb",props:zZ,setup(e){const t=e,n=je(a3),s=Ee("scrollbar");n||Xn(HZ,"can not inject scrollbar context");const a=F(),o=F(),r=F({}),i=F(!1);let l=!1,c=!1,u=0,d=0,h=jt?document.onselectstart:null;const p=k(()=>G9[t.vertical?"vertical":"horizontal"]),v=k(()=>VZ({size:t.size,move:t.move,bar:p.value})),m=k(()=>a.value[p.value.offset]**2/n.wrapElement[p.value.scrollSize]/t.ratio/o.value[p.value.offset]),g=R=>{var I;if(R.stopPropagation(),R.ctrlKey||[1,2].includes(R.button))return;(I=window.getSelection())==null||I.removeAllRanges(),C(R);const M=R.currentTarget;M&&(r.value[p.value.axis]=M[p.value.offset]-(R[p.value.client]-M.getBoundingClientRect()[p.value.direction]))},b=R=>{if(!o.value||!a.value||!n.wrapElement)return;const I=Math.abs(R.target.getBoundingClientRect()[p.value.direction]-R[p.value.client]),M=o.value[p.value.offset]/2,$=(I-M)*100*m.value/a.value[p.value.offset];n.wrapElement[p.value.scroll]=$*n.wrapElement[p.value.scrollSize]/100},C=R=>{R.stopImmediatePropagation(),l=!0,u=n.wrapElement.scrollHeight,d=n.wrapElement.scrollWidth,document.addEventListener("mousemove",w),document.addEventListener("mouseup",_),h=document.onselectstart,document.onselectstart=()=>!1},w=R=>{if(!a.value||!o.value||l===!1)return;const I=r.value[p.value.axis];if(!I)return;const M=(a.value.getBoundingClientRect()[p.value.direction]-R[p.value.client])*-1,$=o.value[p.value.offset]-I,O=(M-$)*100*m.value/a.value[p.value.offset];p.value.scroll==="scrollLeft"?n.wrapElement[p.value.scroll]=O*d/100:n.wrapElement[p.value.scroll]=O*u/100},_=()=>{l=!1,r.value[p.value.axis]=0,document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",_),T(),c&&(i.value=!1)},x=()=>{c=!1,i.value=!!t.size},E=()=>{c=!0,i.value=l};Gt(()=>{T(),document.removeEventListener("mouseup",_)});const T=()=>{document.onselectstart!==h&&(document.onselectstart=h)};return Zt(Jt(n,"scrollbarElement"),"mousemove",x),Zt(Jt(n,"scrollbarElement"),"mouseleave",E),(R,I)=>(S(),le(vs,{name:f(s).b("fade"),persisted:""},{default:X(()=>[gt(A("div",{ref_key:"instance",ref:a,class:D([f(s).e("bar"),f(s).is(p.value.key)]),onMousedown:b,onClick:I[0]||(I[0]=lt(()=>{},["stop"]))},[A("div",{ref_key:"thumb",ref:o,class:D(f(s).e("thumb")),style:tt(v.value),onMousedown:g},null,38)],34),[[Bt,e.always||i.value]])]),_:1},8,["name"]))}}),WZ=W({__name:"bar",props:BZ,setup(e,{expose:t}){const n=e,s=je(a3),a=F(0),o=F(0),r=F(""),i=F(""),l=F(1),c=F(1);return t({handleScroll:h=>{if(h){const p=h.offsetHeight-Nf,v=h.offsetWidth-Nf;o.value=h.scrollTop*100/p*l.value,a.value=h.scrollLeft*100/v*c.value}},update:()=>{const h=s==null?void 0:s.wrapElement;if(!h)return;const p=h.offsetHeight-Nf,v=h.offsetWidth-Nf,m=p**2/h.scrollHeight,g=v**2/h.scrollWidth,b=Math.max(m,n.minSize),C=Math.max(g,n.minSize);l.value=m/(p-m)/(b/(p-b)),c.value=g/(v-g)/(C/(v-C)),i.value=b+Nf(S(),P(He,null,[j(Y9,{move:a.value,ratio:c.value,size:r.value,always:e.always},null,8,["move","ratio","size","always"]),j(Y9,{move:o.value,ratio:l.value,size:i.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}});const jZ=["tabindex"];var KZ=W({name:"ElScrollbar",__name:"scrollbar",props:FZ,emits:q9,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Ee("scrollbar");let r,i,l,c=0,u=0,d="";const h={bottom:!1,top:!1,right:!1,left:!1},p=F(),v=F(),m=F(),g=F(),b=k(()=>{const O={},B=Pn(s.height),U=Pn(s.maxHeight);return B&&(O.height=B),U&&(O.maxHeight=U),[s.wrapStyle,O]}),C=k(()=>[s.wrapClass,o.e("wrap"),{[o.em("wrap","hidden-default")]:!s.native}]),w=k(()=>[o.e("view"),s.viewClass]),_=O=>{var B;return(B=h[O])!=null?B:!1},x={top:"bottom",bottom:"top",left:"right",right:"left"},E=O=>{const B=x[d];if(!B)return;const U=O[d],J=O[B];U&&!h[d]&&(h[d]=!0),!J&&h[B]&&(h[B]=!1)},T=()=>{var O;if(v.value){(O=g.value)==null||O.handleScroll(v.value);const B=c,U=u;c=v.value.scrollTop,u=v.value.scrollLeft;const J={bottom:c+v.value.clientHeight>=v.value.scrollHeight-s.distance,top:c<=s.distance&&B!==0,right:u+v.value.clientWidth>=v.value.scrollWidth-s.distance&&U!==u,left:u<=s.distance&&U!==0};if(a("scroll",{scrollTop:c,scrollLeft:u}),B!==c&&(d=c>B?"bottom":"top"),U!==u&&(d=u>U?"right":"left"),s.distance>0){if(_(d))return;E(J)}J[d]&&a("end-reached",d)}};function R(O,B){ht(O)?v.value.scrollTo(O):at(O)&&at(B)&&v.value.scrollTo(O,B)}const I=O=>{at(O)&&(v.value.scrollTop=O)},M=O=>{at(O)&&(v.value.scrollLeft=O)},$=()=>{var O;(O=g.value)==null||O.update(),h[d]=!1};return me(()=>s.noresize,O=>{O?(r==null||r(),i==null||i(),l==null||l()):({stop:r}=bn(m,$),{stop:i}=bn(v,$),l=Zt("resize",$))},{immediate:!0}),me(()=>[s.maxHeight,s.height],()=>{s.native||ze(()=>{var O;$(),v.value&&((O=g.value)==null||O.handleScroll(v.value))})}),Tt(a3,Wt({scrollbarElement:p,wrapElement:v})),U0(()=>{v.value&&(v.value.scrollTop=c,v.value.scrollLeft=u)}),St(()=>{s.native||ze(()=>{$()})}),or(()=>$()),t({wrapRef:v,update:$,scrollTo:R,setScrollTop:I,setScrollLeft:M,handleScroll:T}),(O,B)=>(S(),P("div",{ref_key:"scrollbarRef",ref:p,class:D(f(o).b())},[A("div",{ref_key:"wrapRef",ref:v,class:D(C.value),style:tt(b.value),tabindex:e.tabindex,onScroll:T},[(S(),le(bt(e.tag),{id:e.id,ref_key:"resizeRef",ref:m,class:D(w.value),style:tt(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:X(()=>[ue(O.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,jZ),e.native?ie("v-if",!0):(S(),le(WZ,{key:0,ref_key:"barRef",ref:g,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}});const pr=pt(KZ),X9=Te({virtualRef:{type:re(Object)},virtualTriggering:Boolean,onMouseenter:{type:re(Function)},onMouseleave:{type:re(Function)},onClick:{type:re(Function)},onKeydown:{type:re(Function)},onFocus:{type:re(Function)},onBlur:{type:re(Function)},onContextmenu:{type:re(Function)},id:String,open:Boolean}),Ae={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"},si=Te({...X9,disabled:Boolean,trigger:{type:re([String,Array]),default:"hover"},triggerKeys:{type:re(Array),default:()=>[Ae.enter,Ae.numpadEnter,Ae.space]},focusOnTarget:Boolean}),UZ=dr({type:re(Boolean),default:null}),qZ=dr({type:re(Function)}),GZ=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,s=[t],a={[e]:UZ,[n]:qZ};return{useModelToggle:({indicator:r,toggleReason:i,shouldHideWhenRouteChanges:l,shouldProceed:c,onShow:u,onHide:d})=>{const h=_t(),{emit:p}=h,v=h.props,m=k(()=>et(v[n])),g=k(()=>v[e]===null),b=T=>{r.value!==!0&&(r.value=!0,i&&(i.value=T),et(u)&&u(T))},C=T=>{r.value!==!1&&(r.value=!1,i&&(i.value=T),et(d)&&d(T))},w=T=>{if(v.disabled===!0||et(c)&&!c())return;const R=m.value&&jt;R&&p(t,!0),(g.value||!R)&&b(T)},_=T=>{if(v.disabled===!0||!jt)return;const R=m.value&&jt;R&&p(t,!1),(g.value||!R)&&C(T)},x=T=>{Qt(T)&&(v.disabled&&T?m.value&&p(t,!1):r.value!==T&&(T?b():C()))},E=()=>{r.value?_():w()};return me(()=>v[e],x),l&&h.appContext.config.globalProperties.$route!==void 0&&me(()=>({...h.proxy.$route}),()=>{l.value&&r.value&&_()}),St(()=>{x(v[e])}),{hide:_,show:w,toggle:E,hasUpdateHandler:m}},useModelToggleProps:a,useModelToggleEmits:s}},J9=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],Z9=Te({role:{type:String,values:J9,default:"tooltip"}}),{useModelToggleProps:YZ,useModelToggleEmits:XZ,useModelToggle:JZ}=GZ("visible"),ZZ=Te({...Z9,...YZ,...tn,...si,...N9,showArrow:{type:Boolean,default:!0}}),QZ=[...XZ,"before-show","before-hide","show","hide","open","close"],o3=Symbol("popper"),Q9=Symbol("popperContent");var eQ=W({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:Z9,setup(e,{expose:t}){const n=e,s=F(),a=F(),o=F(),r=F(),i=k(()=>n.role),l={triggerRef:s,popperInstanceRef:a,contentRef:o,referenceRef:r,role:i};return t(l),Tt(o3,l),(c,u)=>ue(c.$slots,"default")}}),tQ=W({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=Ee("popper"),{arrowRef:s,arrowStyle:a}=je(Q9,void 0);return Gt(()=>{s.value=void 0}),t({arrowRef:s}),(o,r)=>(S(),P("span",{ref_key:"arrowRef",ref:s,class:D(f(n).e("arrow")),style:tt(f(a)),"data-popper-arrow":""},null,6))}});const eE=Symbol("elForwardRef"),nQ=e=>{Tt(eE,{setForwardRef:n=>{e.value=n}})},sQ=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),tE=W({name:"ElOnlyChild",setup(e,{slots:t,attrs:n}){var s;const a=je(eE),o=sQ((s=a==null?void 0:a.setForwardRef)!=null?s:qt);return()=>{var r;const i=(r=t.default)==null?void 0:r.call(t,n);if(!i)return null;const[l,c]=nE(i);return l?gt(Kr(l,n),[[o]]):null}}});function nE(e){if(!e)return[null,0];const t=e,n=t.filter(s=>s.type!==Kn).length;for(const s of t){if(ht(s))switch(s.type){case Kn:continue;case vf:case"svg":return[sE(s),n];case He:return nE(s.children);default:return[s,n]}return[sE(s),n]}return[null,0]}function sE(e){const t=Ee("only-child");return j("span",{class:t.e("content")},[e])}var aQ=W({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:X9,setup(e,{expose:t}){const n=e,{role:s,triggerRef:a}=je(o3,void 0);nQ(a);const o=k(()=>i.value?n.id:void 0),r=k(()=>{if(s&&s.value==="tooltip")return n.open&&n.id?n.id:void 0}),i=k(()=>{if(s&&s.value!=="tooltip")return s.value}),l=k(()=>i.value?`${n.open}`:void 0);let c;const u=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return St(()=>{me(()=>n.virtualRef,d=>{d&&(a.value=os(d))},{immediate:!0}),me(a,(d,h)=>{c==null||c(),c=void 0,ja(h)&&u.forEach(p=>{const v=n[p];v&&h.removeEventListener(p.slice(2).toLowerCase(),v,["onFocus","onBlur"].includes(p))}),ja(d)&&(u.forEach(p=>{const v=n[p];v&&d.addEventListener(p.slice(2).toLowerCase(),v,["onFocus","onBlur"].includes(p))}),Np(d)&&(c=me([o,r,i,l],p=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((v,m)=>{qn(p[m])?d.removeAttribute(v):d.setAttribute(v,p[m])})},{immediate:!0}))),ja(h)&&Np(h)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(p=>h.removeAttribute(p))},{immediate:!0})}),Gt(()=>{if(c==null||c(),c=void 0,a.value&&ja(a.value)){const d=a.value;u.forEach(h=>{const p=n[h];p&&d.removeEventListener(h.slice(2).toLowerCase(),p,["onFocus","onBlur"].includes(h))}),a.value=void 0}}),t({triggerRef:a}),(d,h)=>e.virtualTriggering?ie("v-if",!0):(S(),le(f(tE),wt({key:0},d.$attrs,{"aria-controls":o.value,"aria-describedby":r.value,"aria-expanded":l.value,"aria-haspopup":i.value}),{default:X(()=>[ue(d.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});const r3="focus-trap.focus-after-trapped",i3="focus-trap.focus-after-released",oQ="focus-trap.focusout-prevented",aE={cancelable:!0,bubbles:!1},rQ={cancelable:!0,bubbles:!1},oE="focusAfterTrapped",rE="focusAfterReleased",iE=Symbol("elFocusTrap"),l3=F(),Og=F(0),c3=F(0);let Lg=0;const lE=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const a=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||a?NodeFilter.FILTER_SKIP:s.tabIndex>=0||s===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},cE=(e,t)=>{for(const n of e)if(!iQ(n,t))return n},iQ=(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},lQ=e=>{const t=lE(e),n=cE(t,e),s=cE(t.reverse(),e);return[n,s]},cQ=e=>e instanceof HTMLInputElement&&"select"in e,nc=(e,t)=>{if(e){const n=document.activeElement;$p(e,{preventScroll:!0}),c3.value=window.performance.now(),e!==n&&cQ(e)&&t&&e.select()}};function uE(e,t){const n=[...e],s=e.indexOf(t);return s!==-1&&n.splice(s,1),n}const uQ=()=>{let e=[];return{push:s=>{const a=e[0];a&&s!==a&&a.pause(),e=uE(e,s),e.unshift(s)},remove:s=>{var a,o;e=uE(e,s),(o=(a=e[0])==null?void 0:a.resume)==null||o.call(a)}}},dQ=(e,t=!1)=>{const n=document.activeElement;for(const s of e)if(nc(s,t),document.activeElement!==n)return},dE=uQ(),fQ=()=>Og.value>c3.value,Ng=()=>{l3.value="pointer",Og.value=window.performance.now()},fE=()=>{l3.value="keyboard",Og.value=window.performance.now()},hQ=()=>(St(()=>{Lg===0&&(document.addEventListener("mousedown",Ng),document.addEventListener("touchstart",Ng),document.addEventListener("keydown",fE)),Lg++}),Gt(()=>{Lg--,Lg<=0&&(document.removeEventListener("mousedown",Ng),document.removeEventListener("touchstart",Ng),document.removeEventListener("keydown",fE))}),{focusReason:l3,lastUserFocusTimestamp:Og,lastAutomatedFocusTimestamp:c3}),$g=e=>new CustomEvent(oQ,{...rQ,detail:e}),ms=(e,t,{checkForDefaultPrevented:n=!0}={})=>a=>{const o=e==null?void 0:e(a);if(n===!1||!o)return t==null?void 0:t(a)},hE=e=>t=>t.pointerType==="mouse"?e(t):void 0,an=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=pE(e);if(t){if(Object.values(Ae).includes(t))return t;switch(t){case" ":return Ae.space;default:return""}}return""},pE=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&F9()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t};let $f=[];const vE=e=>{an(e)===Ae.esc&&$f.forEach(n=>n(e))},pQ=e=>{St(()=>{$f.length===0&&document.addEventListener("keydown",vE),jt&&$f.push(e)}),Gt(()=>{$f=$f.filter(t=>t!==e),$f.length===0&&jt&&document.removeEventListener("keydown",vE)})};var vQ=W({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[oE,rE,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=F();let s,a;const{focusReason:o}=hQ();pQ(v=>{e.trapped&&!r.paused&&t("release-requested",v)});const r={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},i=v=>{if(!e.loop&&!e.trapped||r.paused)return;const{altKey:m,ctrlKey:g,metaKey:b,currentTarget:C,shiftKey:w}=v,{loop:_}=e,E=an(v)===Ae.tab&&!m&&!g&&!b,T=document.activeElement;if(E&&T){const R=C,[I,M]=lQ(R);if(I&&M){if(!w&&T===M){const O=$g({focusReason:o.value});t("focusout-prevented",O),O.defaultPrevented||(v.preventDefault(),_&&nc(I,!0))}else if(w&&[I,R].includes(T)){const O=$g({focusReason:o.value});t("focusout-prevented",O),O.defaultPrevented||(v.preventDefault(),_&&nc(M,!0))}}else if(T===R){const O=$g({focusReason:o.value});t("focusout-prevented",O),O.defaultPrevented||v.preventDefault()}}};Tt(iE,{focusTrapRef:n,onKeydown:i}),me(()=>e.focusTrapEl,v=>{v&&(n.value=v)},{immediate:!0}),me([n],([v],[m])=>{v&&(v.addEventListener("keydown",i),v.addEventListener("focusin",u),v.addEventListener("focusout",d)),m&&(m.removeEventListener("keydown",i),m.removeEventListener("focusin",u),m.removeEventListener("focusout",d))});const l=v=>{t(oE,v)},c=v=>t(rE,v),u=v=>{const m=f(n);if(!m)return;const g=v.target,b=v.relatedTarget,C=g&&m.contains(g);e.trapped||b&&m.contains(b)||(s=b),C&&t("focusin",v),!r.paused&&e.trapped&&(C?a=g:nc(a,!0))},d=v=>{const m=f(n);if(!(r.paused||!m))if(e.trapped){const g=v.relatedTarget;!qn(g)&&!m.contains(g)&&setTimeout(()=>{if(!r.paused&&e.trapped){const b=$g({focusReason:o.value});t("focusout-prevented",b),b.defaultPrevented||nc(a,!0)}},0)}else{const g=v.target;g&&m.contains(g)||t("focusout",v)}};async function h(){await ze();const v=f(n);if(v){dE.push(r);const m=v.contains(document.activeElement)?s:document.activeElement;if(s=m,!v.contains(m)){const b=new Event(r3,aE);v.addEventListener(r3,l),v.dispatchEvent(b),b.defaultPrevented||ze(()=>{let C=e.focusStartEl;Xe(C)||(nc(C),document.activeElement!==C&&(C="first")),C==="first"&&dQ(lE(v),!0),(document.activeElement===m||C==="container")&&nc(v)})}}}function p(){const v=f(n);if(v){v.removeEventListener(r3,l);const m=new CustomEvent(i3,{...aE,detail:{focusReason:o.value}});v.addEventListener(i3,c),v.dispatchEvent(m),!m.defaultPrevented&&(o.value=="keyboard"||!fQ()||v.contains(document.activeElement))&&nc(s??document.body),v.removeEventListener(i3,c),dE.remove(r),s=null,a=null}}return St(()=>{e.trapped&&h(),me(()=>e.trapped,v=>{v?h():p()})}),Gt(()=>{e.trapped&&p(),n.value&&(n.value.removeEventListener("keydown",i),n.value.removeEventListener("focusin",u),n.value.removeEventListener("focusout",d),n.value=void 0),s=null,a=null}),{onKeydown:i}}}),is=(e,t)=>{const n=e.__vccOpts||e;for(const[s,a]of t)n[s]=a;return n};function mQ(e,t,n,s,a,o){return ue(e.$slots,"default",{handleKeydown:e.onKeydown})}var Df=is(vQ,[["render",mQ]]);const gQ=(e,t)=>{const n=F(!1),s=F(),a=()=>{t("focus")},o=c=>{var u;((u=c.detail)==null?void 0:u.focusReason)!=="pointer"&&(s.value="first",t("blur"))},r=c=>{e.visible&&!n.value&&(c.target&&(s.value=c.target),n.value=!0)},i=c=>{e.trapping||(c.detail.focusReason==="pointer"&&c.preventDefault(),n.value=!1)},l=()=>{n.value=!1,t("close")};return Gt(()=>{s.value=void 0}),{focusStartRef:s,trapped:n,onFocusAfterReleased:o,onFocusAfterTrapped:a,onFocusInTrap:r,onFocusoutPrevented:i,onReleaseRequested:l}},bQ=(e,t=[])=>{const{placement:n,strategy:s,popperOptions:a}=e,o={placement:n,strategy:s,...a,modifiers:[...wQ(e),...t]};return _Q(o,a==null?void 0:a.modifiers),o},yQ=e=>{if(jt)return os(e)};function wQ(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:s}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:s}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function _Q(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const CQ=(e,t,n={})=>{const s={name:"updateState",enabled:!0,phase:"write",fn:({state:l})=>{const c=SQ(l);Object.assign(r.value,c)},requires:["computeStyles"]},a=k(()=>{const{onFirstUpdate:l,placement:c,strategy:u,modifiers:d}=f(n);return{onFirstUpdate:l,placement:c||"bottom",strategy:u||"absolute",modifiers:[...d||[],s,{name:"applyStyles",enabled:!1}]}}),o=hn(),r=F({styles:{popper:{position:f(a).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=()=>{o.value&&(o.value.destroy(),o.value=void 0)};return me(a,l=>{const c=f(o);c&&c.setOptions(l)},{deep:!0}),me([e,t],([l,c])=>{i(),!(!l||!c)&&(o.value=vZ(l,c,f(a)))}),Gt(()=>{i()}),{state:k(()=>{var l;return{...((l=f(o))==null?void 0:l.state)||{}}}),styles:k(()=>f(r).styles),attributes:k(()=>f(r).attributes),update:()=>{var l;return(l=f(o))==null?void 0:l.update()},forceUpdate:()=>{var l;return(l=f(o))==null?void 0:l.forceUpdate()},instanceRef:k(()=>f(o))}};function SQ(e){const t=Object.keys(e.elements),n=hp(t.map(a=>[a,e.styles[a]||{}])),s=hp(t.map(a=>[a,e.attributes[a]]));return{styles:n,attributes:s}}const xQ=0,EQ=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:s,role:a}=je(o3,void 0),o=F(),r=k(()=>e.arrowOffset),i=k(()=>({name:"eventListeners",enabled:!!e.visible})),l=k(()=>{var b;const C=f(o),w=(b=f(r))!=null?b:xQ;return{name:"arrow",enabled:!cV(C),options:{element:C,padding:w}}}),c=k(()=>({onFirstUpdate:()=>{v()},...bQ(e,[f(l),f(i)])})),u=k(()=>yQ(e.referenceEl)||f(s)),{attributes:d,state:h,styles:p,update:v,forceUpdate:m,instanceRef:g}=CQ(u,n,c);return me(g,b=>t.value=b,{flush:"sync"}),St(()=>{me(()=>{var b,C;return(C=(b=f(u))==null?void 0:b.getBoundingClientRect)==null?void 0:C.call(b)},()=>{v()})}),Gt(()=>{t.value=void 0}),{attributes:d,arrowRef:o,contentRef:n,instanceRef:g,state:h,styles:p,role:a,forceUpdate:m,update:v}},kQ=(e,{attributes:t,styles:n,role:s})=>{const{nextZIndex:a}=yp(),o=Ee("popper"),r=k(()=>f(t).popper),i=F(at(e.zIndex)?e.zIndex:a()),l=k(()=>[o.b(),o.is("pure",e.pure),o.is(e.effect),e.popperClass]),c=k(()=>[{zIndex:f(i)},f(n).popper,e.popperStyle||{}]),u=k(()=>s.value==="dialog"?"false":void 0),d=k(()=>f(n).arrow||{});return{ariaModal:u,arrowStyle:d,contentAttrs:r,contentClass:l,contentStyle:c,contentZIndex:i,updateZIndex:()=>{i.value=at(e.zIndex)?e.zIndex:a()}}};var AQ=W({name:"ElPopperContent",__name:"content",props:$9,emits:yZ,setup(e,{expose:t,emit:n}){const s=n,a=e,{focusStartRef:o,trapped:r,onFocusAfterReleased:i,onFocusAfterTrapped:l,onFocusInTrap:c,onFocusoutPrevented:u,onReleaseRequested:d}=gQ(a,s),{attributes:h,arrowRef:p,contentRef:v,styles:m,instanceRef:g,role:b,update:C}=EQ(a),{ariaModal:w,arrowStyle:_,contentAttrs:x,contentClass:E,contentStyle:T,updateZIndex:R}=kQ(a,{styles:m,attributes:h,role:b}),I=je(ni,void 0);Tt(Q9,{arrowStyle:_,arrowRef:p}),I&&Tt(ni,{...I,addInputId:qt,removeInputId:qt});let M;const $=(B=!0)=>{C(),B&&R()},O=()=>{$(!1),a.visible&&a.focusOnShow?r.value=!0:a.visible===!1&&(r.value=!1)};return St(()=>{me(()=>a.triggerTargetEl,(B,U)=>{M==null||M(),M=void 0;const J=f(B||v.value),Y=f(U||v.value);ja(J)&&(M=me([b,()=>a.ariaLabel,w,()=>a.id],N=>{["role","aria-label","aria-modal","id"].forEach((L,V)=>{qn(N[V])?J.removeAttribute(L):J.setAttribute(L,N[V])})},{immediate:!0})),Y!==J&&ja(Y)&&["role","aria-label","aria-modal","id"].forEach(N=>{Y.removeAttribute(N)})},{immediate:!0}),me(()=>a.visible,O,{immediate:!0})}),Gt(()=>{M==null||M(),M=void 0,v.value=void 0}),t({popperContentRef:v,popperInstanceRef:g,updatePopper:$,contentStyle:T}),(B,U)=>(S(),P("div",wt({ref_key:"contentRef",ref:v},f(x),{style:f(T),class:f(E),tabindex:"-1",onMouseenter:U[0]||(U[0]=J=>B.$emit("mouseenter",J)),onMouseleave:U[1]||(U[1]=J=>B.$emit("mouseleave",J))}),[j(f(Df),{loop:e.loop,trapped:f(r),"trap-on-focus-in":!0,"focus-trap-el":f(v),"focus-start-el":f(o),onFocusAfterTrapped:f(l),onFocusAfterReleased:f(i),onFocusin:f(c),onFocusoutPrevented:f(u),onReleaseRequested:f(d)},{default:X(()=>[ue(B.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});const mE=pt(eQ),u3=Symbol("elTooltip"),d3=(e,t)=>ke(e)?e.includes(t):e===t,Ff=(e,t,n)=>s=>{d3(f(e),t)&&n(s)};var TQ=W({name:"ElTooltipTrigger",__name:"trigger",props:si,setup(e,{expose:t}){const n=e,s=Ee("tooltip"),{controlled:a,id:o,open:r,onOpen:i,onClose:l,onToggle:c}=je(u3,void 0),u=F(null),d=()=>{if(f(a)||n.disabled)return!0},h=Jt(n,"trigger"),p=ms(d,Ff(h,"hover",_=>{i(_),n.focusOnTarget&&_.target&&ze(()=>{$p(_.target,{preventScroll:!0})})})),v=ms(d,Ff(h,"hover",l)),m=ms(d,Ff(h,"click",_=>{_.button===0&&c(_)})),g=ms(d,Ff(h,"focus",i)),b=ms(d,Ff(h,"focus",l)),C=ms(d,Ff(h,"contextmenu",_=>{_.preventDefault(),c(_)})),w=ms(d,_=>{const x=an(_);n.triggerKeys.includes(x)&&(_.preventDefault(),c(_))});return t({triggerRef:u}),(_,x)=>(S(),le(f(aQ),{id:f(o),"virtual-ref":e.virtualRef,open:f(r),"virtual-triggering":e.virtualTriggering,class:D(f(s).e("trigger")),onBlur:f(b),onClick:f(m),onContextmenu:f(C),onFocus:f(g),onMouseenter:f(p),onMouseleave:f(v),onKeydown:f(w)},{default:X(()=>[ue(_.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});const gE=()=>{const e=Ay(),t=s3(),n=k(()=>`${e.value}-popper-container-${t.prefix}`),s=k(()=>`#${n.value}`);return{id:n,selector:s}},MQ=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},PQ=()=>{const{id:e,selector:t}=gE();return K2(()=>{jt&&(document.body.querySelector(t.value)||MQ(e.value))}),{id:e,selector:t}},bE=e=>[...new Set(e)],Fp=e=>ke(e)?e[0]:e,ca=e=>!e&&e!==0?[]:ke(e)?e:[e];var RQ=W({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:tn,setup(e,{expose:t}){const n=e,{selector:s}=gE(),a=Ee("tooltip"),o=F(),r=bx(()=>{var L;return(L=o.value)==null?void 0:L.popperContentRef});let i;const{controlled:l,id:c,open:u,trigger:d,onClose:h,onOpen:p,onShow:v,onHide:m,onBeforeShow:g,onBeforeHide:b}=je(u3,void 0),C=k(()=>n.transition||`${a.namespace.value}-fade-in-linear`),w=k(()=>n.persistent);Gt(()=>{i==null||i()});const _=k(()=>f(w)?!0:f(u)),x=k(()=>n.disabled?!1:f(u)),E=k(()=>n.appendTo||s.value),T=k(()=>{var L;return(L=n.style)!=null?L:{}}),R=F(!0),I=()=>{m(),N()&&$p(document.body,{preventScroll:!0}),R.value=!0},M=()=>{if(f(l))return!0},$=ms(M,()=>{n.enterable&&d3(f(d),"hover")&&p()}),O=ms(M,()=>{d3(f(d),"hover")&&h()}),B=()=>{var L,V;(V=(L=o.value)==null?void 0:L.updatePopper)==null||V.call(L),g==null||g()},U=()=>{b==null||b()},J=()=>{v()},Y=()=>{n.virtualTriggering||h()},N=L=>{var V;const z=(V=o.value)==null?void 0:V.popperContentRef,G=(L==null?void 0:L.relatedTarget)||document.activeElement;return z==null?void 0:z.contains(G)};return me(()=>f(u),L=>{L?(R.value=!1,i=My(r,()=>{if(f(l))return;ca(f(d)).every(z=>z!=="hover"&&z!=="focus")&&h()},{detectIframe:!0})):i==null||i()},{flush:"post"}),me(()=>n.content,()=>{var L,V;(V=(L=o.value)==null?void 0:L.updatePopper)==null||V.call(L)}),t({contentRef:o,isFocusInsideContent:N}),(L,V)=>(S(),le(f(Tf),{disabled:!e.teleported,to:E.value},{default:X(()=>[_.value||!R.value?(S(),le(vs,{key:0,name:C.value,appear:!w.value,onAfterLeave:I,onBeforeEnter:B,onAfterEnter:J,onBeforeLeave:U,persisted:""},{default:X(()=>[gt(j(f(AQ),wt({id:f(c),ref_key:"contentRef",ref:o},L.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":R.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,T.value],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:x.value,"z-index":e.zIndex,loop:e.loop,onMouseenter:f($),onMouseleave:f(O),onBlur:Y,onClose:f(h)}),{default:X(()=>[ue(L.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[Bt,x.value]])]),_:3},8,["name","appear"])):ie("v-if",!0)]),_:3},8,["disabled","to"]))}});const IQ=["innerHTML"],OQ={key:1};var LQ=W({name:"ElTooltip",__name:"tooltip",props:ZZ,emits:QZ,setup(e,{expose:t,emit:n}){const s=e,a=n;PQ();const o=Ee("tooltip"),r=$s(),i=F(),l=F(),c=()=>{var _;const x=f(i);x&&((_=x.popperInstanceRef)==null||_.update())},u=F(!1),d=F(),{show:h,hide:p,hasUpdateHandler:v}=JZ({indicator:u,toggleReason:d}),{onOpen:m,onClose:g}=_Z({showAfter:Jt(s,"showAfter"),hideAfter:Jt(s,"hideAfter"),autoClose:Jt(s,"autoClose"),open:h,close:p}),b=k(()=>Qt(s.visible)&&!v.value),C=k(()=>[o.b(),s.popperClass]);Tt(u3,{controlled:b,id:r,open:au(u),trigger:Jt(s,"trigger"),onOpen:m,onClose:g,onToggle:_=>{f(u)?g(_):m(_)},onShow:()=>{a("show",d.value)},onHide:()=>{a("hide",d.value)},onBeforeShow:()=>{a("before-show",d.value)},onBeforeHide:()=>{a("before-hide",d.value)},updatePopper:c}),me(()=>s.disabled,_=>{_&&u.value&&(u.value=!1)});const w=_=>{var x;return(x=l.value)==null?void 0:x.isFocusInsideContent(_)};return I4(()=>u.value&&p()),Gt(()=>{d.value=void 0}),t({popperRef:i,contentRef:l,isFocusInsideContent:w,updatePopper:c,onOpen:m,onClose:g,hide:p}),(_,x)=>(S(),le(f(mE),{ref_key:"popperRef",ref:i,role:e.role},{default:X(()=>[j(TQ,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering,"focus-on-target":e.focusOnTarget},{default:X(()=>[_.$slots.default?ue(_.$slots,"default",{key:0}):ie("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),j(RQ,{ref_key:"contentRef",ref:l,"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":C.value,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo,loop:e.loop},{default:X(()=>[ue(_.$slots,"content",{},()=>[e.rawContent?(S(),P("span",{key:0,innerHTML:e.content},null,8,IQ)):(S(),P("span",OQ,ve(e.content),1))]),e.showArrow?(S(),le(f(tQ),{key:0})):ie("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","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}});const Ss=pt(LQ),NQ=["aria-expanded","aria-owns"],$Q={key:0},DQ=["id","aria-selected","onClick"],yE="ElAutocomplete";var FQ=W({name:yE,inheritAttrs:!1,__name:"autocomplete",props:SZ,emits:xZ,setup(e,{expose:t,emit:n}){const s=e,a=n,o=k(()=>Ui(s,Object.keys(Lp))),r=Bi(),i=In(),l=Ee("autocomplete"),c=F(),u=F(),d=F(),h=F();let p=!1,v=!1;const m=F([]),g=F(-1),b=F(""),C=F(!1),w=F(!1),_=F(!1),x=$s(),E=k(()=>r.style),T=k(()=>(m.value.length>0||_.value)&&C.value),R=k(()=>!s.hideLoading&&_.value),I=k(()=>c.value?Array.from(c.value.$el.querySelectorAll("input")):[]),M=()=>{T.value&&(b.value=`${c.value.$el.offsetWidth}px`)},$=()=>{g.value=-1},O=async Z=>{if(w.value)return;const H=te=>{_.value=!1,!w.value&&(ke(te)?(m.value=te,g.value=s.highlightFirstItem?0:-1):Xn(yE,"autocomplete suggestions must be an array"))};if(_.value=!0,ke(s.fetchSuggestions))H(s.fetchSuggestions);else{const te=await s.fetchSuggestions(Z,H);ke(te)&&H(te)}},B=k(()=>s.debounce),U=gp(O,B),J=Z=>{const H=!!Z;if(a(es,Z),a(ct,Z),w.value=!1,C.value||(C.value=H),!s.triggerOnFocus&&!Z){w.value=!0,m.value=[];return}U(Z)},Y=Z=>{var H;i.value||(((H=Z.target)==null?void 0:H.tagName)!=="INPUT"||I.value.includes(document.activeElement))&&(C.value=!0)},N=Z=>{a(Pt,Z)},L=Z=>{var H;if(v)v=!1;else{C.value=!0,a("focus",Z);const te=(H=s.modelValue)!=null?H:"";s.triggerOnFocus&&!p&&U(String(te))}},V=Z=>{setTimeout(()=>{var H;if((H=d.value)!=null&&H.isFocusInsideContent()){v=!0;return}C.value&&K(),a("blur",Z)})},z=()=>{C.value=!1,a(ct,""),a("clear")},G=async()=>{var Z;(Z=c.value)!=null&&Z.isComposing||(T.value&&g.value>=0&&g.value{T.value&&(Z.preventDefault(),Z.stopPropagation(),K())},K=()=>{C.value=!1},ee=()=>{var Z;(Z=c.value)==null||Z.focus()},ae=()=>{var Z;(Z=c.value)==null||Z.blur()},fe=async Z=>{a(es,Z[s.valueKey]),a(ct,Z[s.valueKey]),a("select",Z),m.value=[],g.value=-1},ne=Z=>{var H,te;if(!T.value||_.value)return;if(Z<0){if(!s.loopNavigation){g.value=-1;return}Z=m.value.length-1}Z>=m.value.length&&(Z=s.loopNavigation?0:m.value.length-1);const[de,be]=pe(),_e=be[Z],Se=de.scrollTop,{offsetTop:Ne,scrollHeight:Ve}=_e;Ne+Ve>Se+de.clientHeight&&(de.scrollTop=Ne+Ve-de.clientHeight),Ne{const Z=u.value.querySelector(`.${l.be("suggestion","wrap")}`),H=Z.querySelectorAll(`.${l.be("suggestion","list")} li`);return[Z,H]},he=My(h,()=>{var Z;(Z=d.value)!=null&&Z.isFocusInsideContent()||T.value&&K()}),ce=Z=>{switch(an(Z)){case Ae.up:Z.preventDefault(),ne(g.value-1);break;case Ae.down:Z.preventDefault(),ne(g.value+1);break;case Ae.enter:case Ae.numpadEnter:Z.preventDefault(),G();break;case Ae.tab:K();break;case Ae.esc:Q(Z);break;case Ae.home:Z.preventDefault(),ne(0);break;case Ae.end:Z.preventDefault(),ne(m.value.length-1);break;case Ae.pageUp:Z.preventDefault(),ne(Math.max(0,g.value-10));break;case Ae.pageDown:Z.preventDefault(),ne(Math.min(m.value.length-1,g.value+10));break}};return Gt(()=>{he==null||he()}),St(()=>{var Z;const H=(Z=c.value)==null?void 0:Z.ref;H&&([{key:"role",value:"textbox"},{key:"aria-autocomplete",value:"list"},{key:"aria-controls",value:x.value},{key:"aria-activedescendant",value:`${x.value}-item-${g.value}`}].forEach(({key:te,value:de})=>H.setAttribute(te,de)),p=H.hasAttribute("readonly"))}),t({highlightedIndex:g,activated:C,loading:_,inputRef:c,popperRef:d,suggestions:m,handleSelect:fe,handleKeyEnter:G,focus:ee,blur:ae,close:K,highlight:ne,getData:O}),(Z,H)=>(S(),le(f(Ss),{ref_key:"popperRef",ref:d,visible:T.value,placement:e.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[f(l).e("popper"),e.popperClass],"popper-style":e.popperStyle,teleported:e.teleported,"append-to":e.appendTo,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${f(l).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:M,onHide:$},{content:X(()=>[A("div",{ref_key:"regionRef",ref:u,class:D([f(l).b("suggestion"),f(l).is("loading",R.value)]),style:tt({[e.fitInputWidth?"width":"minWidth"]:b.value,outline:"none"}),role:"region"},[Z.$slots.header?(S(),P("div",{key:0,class:D(f(l).be("suggestion","header")),onClick:H[0]||(H[0]=lt(()=>{},["stop"]))},[ue(Z.$slots,"header")],2)):ie("v-if",!0),j(f(pr),{id:f(x),tag:"ul","wrap-class":f(l).be("suggestion","wrap"),"view-class":f(l).be("suggestion","list"),role:"listbox"},{default:X(()=>[R.value?(S(),P("li",$Q,[ue(Z.$slots,"loading",{},()=>[j(f(Je),{class:D(f(l).is("loading"))},{default:X(()=>[j(f(Ns))]),_:1},8,["class"])])])):(S(!0),P(He,{key:1},yt(m.value,(te,de)=>(S(),P("li",{id:`${f(x)}-item-${de}`,key:de,class:D({highlighted:g.value===de}),role:"option","aria-selected":g.value===de,onClick:be=>fe(te)},[ue(Z.$slots,"default",{item:te},()=>[Ue(ve(te[e.valueKey]),1)])],10,DQ))),128))]),_:3},8,["id","wrap-class","view-class"]),Z.$slots.footer?(S(),P("div",{key:1,class:D(f(l).be("suggestion","footer")),onClick:H[1]||(H[1]=lt(()=>{},["stop"]))},[ue(Z.$slots,"footer")],2)):ie("v-if",!0)],6)]),default:X(()=>[A("div",{ref_key:"listboxRef",ref:h,class:D([f(l).b(),Z.$attrs.class]),style:tt(E.value),role:"combobox","aria-haspopup":"listbox","aria-expanded":T.value,"aria-owns":f(x)},[j(f(la),wt({ref_key:"inputRef",ref:c},wt(o.value,Z.$attrs),{"model-value":e.modelValue,disabled:f(i),onInput:J,onChange:N,onFocus:L,onBlur:V,onClear:z,onKeydown:ce,onMousedown:Y}),ka({_:2},[Z.$slots.prepend?{name:"prepend",fn:X(()=>[ue(Z.$slots,"prepend")]),key:"0"}:void 0,Z.$slots.append?{name:"append",fn:X(()=>[ue(Z.$slots,"append")]),key:"1"}:void 0,Z.$slots.prefix?{name:"prefix",fn:X(()=>[ue(Z.$slots,"prefix")]),key:"2"}:void 0,Z.$slots.suffix?{name:"suffix",fn:X(()=>[ue(Z.$slots,"suffix")]),key:"3"}:void 0]),1040,["model-value","disabled"])],14,NQ)]),_:3},8,["visible","placement","popper-class","popper-style","teleported","append-to","transition"]))}});const BQ=pt(FQ),VQ=Te({size:{type:[Number,String],values:fr,validator:e=>at(e)},shape:{type:String,values:["circle","square"]},icon:{type:en},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:re(String),default:"cover"}}),zQ={error:e=>e instanceof Event},wE=Symbol("avatarGroupContextKey"),HQ=["src","alt","srcset"];var _E=W({name:"ElAvatar",__name:"avatar",props:VQ,emits:zQ,setup(e,{emit:t}){const n=e,s=t,a=je(wE,void 0),o=Ee("avatar"),r=F(!1),i=k(()=>{var p;return(p=n.size)!=null?p:a==null?void 0:a.size}),l=k(()=>{var p,v;return(v=(p=n.shape)!=null?p:a==null?void 0:a.shape)!=null?v:"circle"}),c=k(()=>{const{icon:p}=n,v=[o.b()];return Xe(i.value)&&v.push(o.m(i.value)),p&&v.push(o.m("icon")),l.value&&v.push(o.m(l.value)),v}),u=k(()=>at(i.value)?o.cssVarBlock({size:Pn(i.value)}):void 0),d=k(()=>({objectFit:n.fit}));me(()=>[n.src,n.srcSet],()=>r.value=!1);function h(p){r.value=!0,s("error",p)}return(p,v)=>(S(),P("span",{class:D(c.value),style:tt(u.value)},[(e.src||e.srcSet)&&!r.value?(S(),P("img",{key:0,src:e.src,alt:e.alt,srcset:e.srcSet,style:tt(d.value),onError:h},null,44,HQ)):e.icon?(S(),le(f(Je),{key:1},{default:X(()=>[(S(),le(bt(e.icon)))]),_:1})):ue(p.$slots,"default",{key:2})],6))}});const WQ={size:{type:re([Number,String]),values:fr,validator:e=>at(e)},shape:{type:re(String),values:["circle","square"]},collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:re(String),default:"light"},placement:{type:re(String),values:Qr,default:"top"},popperClass:tn.popperClass,popperStyle:tn.popperStyle,collapseClass:String,collapseStyle:{type:re([String,Array,Object])}};var CE=W({name:"ElAvatarGroup",props:WQ,setup(e,{slots:t}){const n=Ee("avatar-group");return Tt(wE,Wt({size:Jt(e,"size"),shape:Jt(e,"shape")})),()=>{var s,a;const o=lo((a=(s=t.default)==null?void 0:s.call(t))!=null?a:[]);let r=o;if(e.collapseAvatars&&o.length>e.maxCollapseAvatars){r=o.slice(0,e.maxCollapseAvatars);const l=o.slice(e.maxCollapseAvatars);r.push(j(Ss,{popperClass:e.popperClass,popperStyle:e.popperStyle,placement:e.placement,effect:e.effect,disabled:!e.collapseAvatarsTooltip},{default:()=>j(_E,{size:e.size,shape:e.shape,class:e.collapseClass,style:e.collapseStyle},{default:()=>[Ue("+ "),l.length]}),content:()=>j("div",{class:n.e("collapse-avatars")},[l.map((c,u)=>{var d;return un(c)?Kr(c,{key:(d=c.key)!=null?d:u}):c})])}))}return j("div",{class:n.b()},[r])}}});const jQ=pt(_E,{AvatarGroup:CE}),KQ=An(CE),UQ={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},qQ={click:e=>e instanceof MouseEvent},GQ=(e,t,n)=>{const s=hn(),a=hn(),o=F(!1),r=()=>{s.value&&(o.value=s.value.scrollTop>=e.visibilityHeight)},i=c=>{var u;(u=s.value)==null||u.scrollTo({top:0,behavior:"smooth"}),t("click",c)},l=Cx(r,300,!0);return Zt(a,"scroll",l),St(()=>{var c;a.value=document,s.value=document.documentElement,e.target&&(s.value=(c=document.querySelector(e.target))!=null?c:void 0,s.value||Xn(n,`target does not exist: ${e.target}`),a.value=s.value),r()}),{visible:o,handleClick:i}},SE="ElBacktop";var YQ=W({name:SE,__name:"backtop",props:UQ,emits:qQ,setup(e,{emit:t}){const n=e,s=t,a=Ee("backtop"),{handleClick:o,visible:r}=GQ(n,s,SE),i=k(()=>({right:`${n.right}px`,bottom:`${n.bottom}px`}));return(l,c)=>(S(),le(vs,{name:`${f(a).namespace.value}-fade-in`},{default:X(()=>[f(r)?(S(),P("div",{key:0,style:tt(i.value),class:D(f(a).b()),onClick:c[0]||(c[0]=lt((...u)=>f(o)&&f(o)(...u),["stop"]))},[ue(l.$slots,"default",{},()=>[j(f(Je),{class:D(f(a).e("icon"))},{default:X(()=>[j(f(Kx))]),_:1},8,["class"])])],6)):ie("v-if",!0)]),_:3},8,["name"]))}});const XQ=pt(YQ),JQ=Te({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"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:re([String,Object,Array])},offset:{type:re(Array),default:()=>[0,0]},badgeClass:{type:String}});var ZQ=W({name:"ElBadge",__name:"badge",props:JQ,setup(e,{expose:t}){const n=e,s=Ee("badge"),a=k(()=>n.isDot?"":at(n.value)&&at(n.max)?n.max{var r;return[{backgroundColor:n.color,marginRight:Pn(-n.offset[0]),marginTop:Pn(n.offset[1])},(r=n.badgeStyle)!=null?r:{}]});return t({content:a}),(r,i)=>(S(),P("div",{class:D(f(s).b())},[ue(r.$slots,"default"),j(vs,{name:`${f(s).namespace.value}-zoom-in-center`,persisted:""},{default:X(()=>[gt(A("sup",{class:D([f(s).e("content"),f(s).em("content",e.type),f(s).is("fixed",!!r.$slots.default),f(s).is("dot",e.isDot),f(s).is("hide-zero",!e.showZero&&e.value===0),e.badgeClass]),style:tt(o.value)},[ue(r.$slots,"content",{value:a.value},()=>[Ue(ve(a.value),1)])],6),[[Bt,!e.hidden&&(a.value||e.isDot||r.$slots.content)]])]),_:3},8,["name"])],2))}});const xE=pt(ZQ),QQ=Te({separator:{type:String,default:"/"},separatorIcon:{type:en}}),EE=Symbol("breadcrumbKey"),eee=["aria-label"];var tee=W({name:"ElBreadcrumb",__name:"breadcrumb",props:QQ,setup(e){const{t}=It(),n=e,s=Ee("breadcrumb"),a=F();return Tt(EE,n),St(()=>{const o=a.value.querySelectorAll(`.${s.e("item")}`);o.length&&o[o.length-1].setAttribute("aria-current","page")}),(o,r)=>(S(),P("div",{ref_key:"breadcrumb",ref:a,class:D(f(s).b()),"aria-label":f(t)("el.breadcrumb.label"),role:"navigation"},[ue(o.$slots,"default")],10,eee))}});const nee=Te({to:{type:re([String,Object]),default:""},replace:Boolean});var kE=W({name:"ElBreadcrumbItem",__name:"breadcrumb-item",props:nee,setup(e){const t=e,n=_t(),s=je(EE,void 0),a=Ee("breadcrumb"),o=n.appContext.config.globalProperties.$router,r=()=>{!t.to||!o||(t.replace?o.replace(t.to):o.push(t.to))};return(i,l)=>{var c,u;return S(),P("span",{class:D(f(a).e("item"))},[A("span",{class:D([f(a).e("inner"),f(a).is("link",!!e.to)]),role:"link",onClick:r},[ue(i.$slots,"default")],2),(c=f(s))!=null&&c.separatorIcon?(S(),le(f(Je),{key:0,class:D(f(a).e("separator"))},{default:X(()=>[(S(),le(bt(f(s).separatorIcon)))]),_:1},8,["class"])):(S(),P("span",{key:1,class:D(f(a).e("separator")),role:"presentation"},ve((u=f(s))==null?void 0:u.separator),3))],2)}}});const see=pt(tee,{BreadcrumbItem:kE}),aee=An(kE),f3=["default","primary","success","warning","info","danger","text",""],h3=Te({size:rs,disabled:{type:Boolean,default:void 0},type:{type:String,values:f3,default:""},icon:{type:en},nativeType:{type:String,values:["button","submit","reset"],default:"button"},loading:Boolean,loadingIcon:{type:en,default:()=>Ns},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:re([String,Object]),default:"button"}}),oee={click:e=>e instanceof MouseEvent},AE=Symbol("buttonGroupContextKey"),ai=({from:e,replacement:t,scope:n,version:s,ref:a,type:o="API"},r)=>{me(()=>f(r),i=>{},{immediate:!0})},ree=(e,t)=>{ai({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},k(()=>e.type==="text"));const n=je(AE,void 0),s=Af("button"),{form:a}=Cs(),o=ts(k(()=>n==null?void 0:n.size)),r=In(),i=F(),l=zn(),c=k(()=>{var b;return e.type||(n==null?void 0:n.type)||((b=s.value)==null?void 0:b.type)||""}),u=k(()=>{var b,C,w;return(w=(C=e.autoInsertSpace)!=null?C:(b=s.value)==null?void 0:b.autoInsertSpace)!=null?w:!1}),d=k(()=>{var b,C,w;return(w=(C=e.plain)!=null?C:(b=s.value)==null?void 0:b.plain)!=null?w:!1}),h=k(()=>{var b,C,w;return(w=(C=e.round)!=null?C:(b=s.value)==null?void 0:b.round)!=null?w:!1}),p=k(()=>{var b,C,w;return(w=(C=e.text)!=null?C:(b=s.value)==null?void 0:b.text)!=null?w:!1}),v=k(()=>e.tag==="button"?{ariaDisabled:r.value||e.loading,disabled:r.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),m=k(()=>{var b;const C=(b=l.default)==null?void 0:b.call(l);if(u.value&&(C==null?void 0:C.length)===1){const w=C[0];if((w==null?void 0:w.type)===vf){const _=w.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(_.trim())}}return!1});return{_disabled:r,_size:o,_type:c,_ref:i,_props:v,_plain:d,_round:h,_text:p,shouldAddSpace:m,handleClick:b=>{if(r.value||e.loading){b.stopPropagation();return}e.nativeType==="reset"&&(a==null||a.resetFields()),t("click",b)}}};function Ks(e,t){iee(e)&&(e="100%");var n=lee(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 Dg(e){return Math.min(1,Math.max(0,e))}function iee(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function lee(e){return typeof e=="string"&&e.indexOf("%")!==-1}function TE(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Fg(e){return e<=1?"".concat(Number(e)*100,"%"):e}function xu(e){return e.length===1?"0"+e:String(e)}function cee(e,t,n){return{r:Ks(e,255)*255,g:Ks(t,255)*255,b:Ks(n,255)*255}}function ME(e,t,n){e=Ks(e,255),t=Ks(t,255),n=Ks(n,255);var s=Math.max(e,t,n),a=Math.min(e,t,n),o=0,r=0,i=(s+a)/2;if(s===a)r=0,o=0;else{var l=s-a;switch(r=i>.5?l/(2-s-a):l/(s+a),s){case e:o=(t-n)/l+(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 uee(e,t,n){var s,a,o;if(e=Ks(e,360),t=Ks(t,100),n=Ks(n,100),t===0)a=n,o=n,s=n;else{var r=n<.5?n*(1+t):n+t-n*t,i=2*n-r;s=p3(i,r,e+1/3),a=p3(i,r,e),o=p3(i,r,e-1/3)}return{r:s*255,g:a*255,b:o*255}}function PE(e,t,n){e=Ks(e,255),t=Ks(t,255),n=Ks(n,255);var s=Math.max(e,t,n),a=Math.min(e,t,n),o=0,r=s,i=s-a,l=s===0?0:i/s;if(s===a)o=0;else{switch(s){case e:o=(t-n)/i+(t>16,g:(e&65280)>>8,b:e&255}}var v3={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 vee(e){var t={r:0,g:0,b:0},n=1,s=null,a=null,o=null,r=!1,i=!1;return typeof e=="string"&&(e=bee(e)),typeof e=="object"&&(el(e.r)&&el(e.g)&&el(e.b)?(t=cee(e.r,e.g,e.b),r=!0,i=String(e.r).substr(-1)==="%"?"prgb":"rgb"):el(e.h)&&el(e.s)&&el(e.v)?(s=Fg(e.s),a=Fg(e.v),t=dee(e.h,s,a),r=!0,i="hsv"):el(e.h)&&el(e.s)&&el(e.l)&&(s=Fg(e.s),o=Fg(e.l),t=uee(e.h,s,o),r=!0,i="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=TE(n),{ok:r,format:e.format||i,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 mee="[-\\+]?\\d+%?",gee="[-\\+]?\\d*\\.\\d+%?",sc="(?:".concat(gee,")|(?:").concat(mee,")"),m3="[\\s|\\(]+(".concat(sc,")[,|\\s]+(").concat(sc,")[,|\\s]+(").concat(sc,")\\s*\\)?"),g3="[\\s|\\(]+(".concat(sc,")[,|\\s]+(").concat(sc,")[,|\\s]+(").concat(sc,")[,|\\s]+(").concat(sc,")\\s*\\)?"),vr={CSS_UNIT:new RegExp(sc),rgb:new RegExp("rgb"+m3),rgba:new RegExp("rgba"+g3),hsl:new RegExp("hsl"+m3),hsla:new RegExp("hsla"+g3),hsv:new RegExp("hsv"+m3),hsva:new RegExp("hsva"+g3),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 bee(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(v3[e])e=v3[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=vr.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=vr.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=vr.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=vr.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=vr.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=vr.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=vr.hex8.exec(e),n?{r:fo(n[1]),g:fo(n[2]),b:fo(n[3]),a:IE(n[4]),format:t?"name":"hex8"}:(n=vr.hex6.exec(e),n?{r:fo(n[1]),g:fo(n[2]),b:fo(n[3]),format:t?"name":"hex"}:(n=vr.hex4.exec(e),n?{r:fo(n[1]+n[1]),g:fo(n[2]+n[2]),b:fo(n[3]+n[3]),a:IE(n[4]+n[4]),format:t?"name":"hex8"}:(n=vr.hex3.exec(e),n?{r:fo(n[1]+n[1]),g:fo(n[2]+n[2]),b:fo(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function el(e){return!!vr.CSS_UNIT.exec(String(e))}var Bf=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var s;if(t instanceof e)return t;typeof t=="number"&&(t=pee(t)),this.originalInput=t;var a=vee(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(s=n.format)!==null&&s!==void 0?s:a.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=a.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,s,a,o=t.r/255,r=t.g/255,i=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),r<=.03928?s=r/12.92:s=Math.pow((r+.055)/1.055,2.4),i<=.03928?a=i/12.92:a=Math.pow((i+.055)/1.055,2.4),.2126*n+.7152*s+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=TE(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=PE(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=PE(this.r,this.g,this.b),n=Math.round(t.h*360),s=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(s,"%, ").concat(a,"%)"):"hsva(".concat(n,", ").concat(s,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=ME(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=ME(this.r,this.g,this.b),n=Math.round(t.h*360),s=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(s,"%, ").concat(a,"%)"):"hsla(".concat(n,", ").concat(s,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),RE(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),fee(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.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(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),s=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(s,")"):"rgba(".concat(t,", ").concat(n,", ").concat(s,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ks(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(Ks(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="#"+RE(this.r,this.g,this.b,!1),n=0,s=Object.entries(v3);n=0,o=!n&&a&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(s=this.toRgbString()),t==="prgb"&&(s=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(s=this.toHexString()),t==="hex3"&&(s=this.toHexString(!0)),t==="hex4"&&(s=this.toHex8String(!0)),t==="hex8"&&(s=this.toHex8String()),t==="name"&&(s=this.toName()),t==="hsl"&&(s=this.toHslString()),t==="hsv"&&(s=this.toHsvString()),s||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=Dg(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=Dg(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=Dg(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=Dg(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),s=(n.h+t)%360;return n.h=s<0?360+s:s,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var s=this.toRgb(),a=new e(t).toRgb(),o=n/100,r={r:(a.r-s.r)*o+s.r,g:(a.g-s.g)*o+s.g,b:(a.b-s.b)*o+s.b,a:(a.a-s.a)*o+s.a};return new e(r)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var s=this.toHsl(),a=360/n,o=[this];for(s.h=(s.h-(a*t>>1)+720)%360;--t;)s.h=(s.h+a)%360,o.push(new e(s));return o},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(),s=n.h,a=n.s,o=n.v,r=[],i=1/t;t--;)r.push(new e({h:s,s:a,v:o})),o=(o+i)%1;return r},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(),s=new e(t).toRgb(),a=n.a+s.a*(1-n.a);return new e({r:(n.r*n.a+s.r*s.a*(1-n.a))/a,g:(n.g*n.a+s.g*s.a*(1-n.a))/a,b:(n.b*n.a+s.b*s.a*(1-n.a))/a,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(),s=n.h,a=[this],o=360/t,r=1;r{let s={},a=e.color;if(a){const o=a.match(/var\((.*?)\)/);o&&(a=window.getComputedStyle(window.document.documentElement).getPropertyValue(o[1]));const r=new Bf(a),i=e.dark?r.tint(20).toString():ac(r,20);if(e.plain)s=n.cssVarBlock({"bg-color":e.dark?ac(r,90):r.tint(90).toString(),"text-color":a,"border-color":e.dark?ac(r,50):r.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":a,"hover-border-color":a,"active-bg-color":i,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":i}),t.value&&(s[n.cssVarBlockName("disabled-bg-color")]=e.dark?ac(r,90):r.tint(90).toString(),s[n.cssVarBlockName("disabled-text-color")]=e.dark?ac(r,50):r.tint(50).toString(),s[n.cssVarBlockName("disabled-border-color")]=e.dark?ac(r,80):r.tint(80).toString());else{const l=e.dark?ac(r,30):r.tint(30).toString(),c=r.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(s=n.cssVarBlock({"bg-color":a,"text-color":c,"border-color":a,"hover-bg-color":l,"hover-text-color":c,"hover-border-color":l,"active-bg-color":i,"active-border-color":i}),t.value){const u=e.dark?ac(r,50):r.tint(50).toString();s[n.cssVarBlockName("disabled-bg-color")]=u,s[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,s[n.cssVarBlockName("disabled-border-color")]=u}}}return s})}var wee=W({name:"ElButton",__name:"button",props:h3,emits:oee,setup(e,{expose:t,emit:n}){const s=e,a=n,o=yee(s),r=Ee("button"),{_ref:i,_size:l,_type:c,_disabled:u,_props:d,_plain:h,_round:p,_text:v,shouldAddSpace:m,handleClick:g}=ree(s,a),b=k(()=>[r.b(),r.m(c.value),r.m(l.value),r.is("disabled",u.value),r.is("loading",s.loading),r.is("plain",h.value),r.is("round",p.value),r.is("circle",s.circle),r.is("text",v.value),r.is("link",s.link),r.is("has-bg",s.bg)]);return t({ref:i,size:l,type:c,disabled:u,shouldAddSpace:m}),(C,w)=>(S(),le(bt(e.tag),wt({ref_key:"_ref",ref:i},f(d),{class:b.value,style:f(o),onClick:f(g)}),{default:X(()=>[e.loading?(S(),P(He,{key:0},[C.$slots.loading?ue(C.$slots,"loading",{key:0}):(S(),le(f(Je),{key:1,class:D(f(r).is("loading"))},{default:X(()=>[(S(),le(bt(e.loadingIcon)))]),_:1},8,["class"]))],64)):e.icon||C.$slots.icon?(S(),le(f(Je),{key:1},{default:X(()=>[e.icon?(S(),le(bt(e.icon),{key:0})):ue(C.$slots,"icon",{key:1})]),_:3})):ie("v-if",!0),C.$slots.default?(S(),P("span",{key:2,class:D({[f(r).em("text","expand")]:f(m)})},[ue(C.$slots,"default")],2)):ie("v-if",!0)]),_:3},16,["class","style","onClick"]))}});const _ee={size:h3.size,type:h3.type,direction:{type:re(String),values:["horizontal","vertical"],default:"horizontal"}};var OE=W({name:"ElButtonGroup",__name:"button-group",props:_ee,setup(e){const t=e;Tt(AE,Wt({size:Jt(t,"size"),type:Jt(t,"type")}));const n=Ee("button");return(s,a)=>(S(),P("div",{class:D([f(n).b("group"),f(n).bm("group",t.direction)])},[ue(s.$slots,"default")],2))}});const gs=pt(wee,{ButtonGroup:OE}),LE=An(OE),Cee=e=>ke(e)&&e.length===2&&e.every(t=>Kl(t)),See=Te({modelValue:{type:Date},range:{type:re(Array),validator:Cee},controllerType:{type:String,values:["button","select"],default:"button"},formatter:{type:re(Function)}}),xee={[ct]:e=>Kl(e),[es]:e=>Kl(e)};var tl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var NE={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){var n=1e3,s=6e4,a=36e5,o="millisecond",r="second",i="minute",l="hour",c="day",u="week",d="month",h="quarter",p="year",v="date",m="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(U){var J=["th","st","nd","rd"],Y=U%100;return"["+U+(J[(Y-20)%10]||J[Y]||J[0])+"]"}},w=function(U,J,Y){var N=String(U);return!N||N.length>=J?U:""+Array(J+1-N.length).join(Y)+U},_={s:w,z:function(U){var J=-U.utcOffset(),Y=Math.abs(J),N=Math.floor(Y/60),L=Y%60;return(J<=0?"+":"-")+w(N,2,"0")+":"+w(L,2,"0")},m:function U(J,Y){if(J.date()1)return U(z[0])}else{var G=J.name;E[G]=J,L=G}return!N&&L&&(x=L),L||!N&&x},M=function(U,J){if(R(U))return U.clone();var Y=typeof J=="object"?J:{};return Y.date=U,Y.args=arguments,new O(Y)},$=_;$.l=I,$.i=R,$.w=function(U,J){return M(U,{locale:J.$L,utc:J.$u,x:J.$x,$offset:J.$offset})};var O=function(){function U(Y){this.$L=I(Y.locale,null,!0),this.parse(Y),this.$x=this.$x||Y.x||{},this[T]=!0}var J=U.prototype;return J.parse=function(Y){this.$d=function(N){var L=N.date,V=N.utc;if(L===null)return new Date(NaN);if($.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var z=L.match(g);if(z){var G=z[2]-1||0,Q=(z[7]||"0").substring(0,3);return V?new Date(Date.UTC(z[1],G,z[3]||1,z[4]||0,z[5]||0,z[6]||0,Q)):new Date(z[1],G,z[3]||1,z[4]||0,z[5]||0,z[6]||0,Q)}}return new Date(L)}(Y),this.init()},J.init=function(){var Y=this.$d;this.$y=Y.getFullYear(),this.$M=Y.getMonth(),this.$D=Y.getDate(),this.$W=Y.getDay(),this.$H=Y.getHours(),this.$m=Y.getMinutes(),this.$s=Y.getSeconds(),this.$ms=Y.getMilliseconds()},J.$utils=function(){return $},J.isValid=function(){return this.$d.toString()!==m},J.isSame=function(Y,N){var L=M(Y);return this.startOf(N)<=L&&L<=this.endOf(N)},J.isAfter=function(Y,N){return M(Y)[e>0?e-1:void 0,e,eArray.from(Array.from({length:e}).keys()),$E=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),DE=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),FE=function(e,t){const n=Kl(e),s=Kl(t);return n&&s?e.getTime()===t.getTime():!n&&!s?e===t:!1},BE=function(e,t){const n=ke(e),s=ke(t);return n&&s?e.length!==t.length?!1:e.every((a,o)=>FE(a,t[o])):!n&&!s?FE(e,t):!1},VE=function(e,t,n){const s=Pa(t)||t==="x"?vt(e).locale(n):vt(e,t).locale(n);return s.isValid()?s:void 0},zE=function(e,t,n){return Pa(t)?e:t==="x"?+e:vt(e).locale(n).format(t)},y3=(e,t)=>{var n;const s=[],a=t==null?void 0:t();for(let o=0;oke(e)?e.map(t=>t.toDate()):e.toDate(),kee=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return oc(t).map((s,a)=>n-(t-a-1))},Aee=e=>{const t=e.daysInMonth();return oc(t).map((n,s)=>s+1)},Tee=e=>oc(e.length/7).map(t=>{const n=t*7;return e.slice(n,n+7)}),Mee=Te({selectedDay:{type:re(Object)},range:{type:re(Array)},date:{type:re(Object),required:!0},hideHeader:{type:Boolean}}),Pee={pick:e=>ht(e)};var HE={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){return function(n,s,a){var o=s.prototype,r=function(d){return d&&(d.indexOf?d:d.s)},i=function(d,h,p,v,m){var g=d.name?d:d.$locale(),b=r(g[h]),C=r(g[p]),w=b||C.map(function(x){return x.slice(0,v)});if(!m)return w;var _=g.weekStart;return w.map(function(x,E){return w[(E+(_||0))%7]})},l=function(){return a.Ls[a.locale()]},c=function(d,h){return d.formats[h]||function(p){return p.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(v,m,g){return m||g.slice(1)})}(d.formats[h.toUpperCase()])},u=function(){var d=this;return{months:function(h){return h?h.format("MMMM"):i(d,"months")},monthsShort:function(h){return h?h.format("MMM"):i(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(h){return h?h.format("dddd"):i(d,"weekdays")},weekdaysMin:function(h){return h?h.format("dd"):i(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(h){return h?h.format("ddd"):i(d,"weekdaysShort","weekdays",3)},longDateFormat:function(h){return c(d.$locale(),h)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return u.bind(this)()},a.localeData=function(){var d=l();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(h){return c(d,h)},meridiem:d.meridiem,ordinal:d.ordinal}},a.months=function(){return i(l(),"months")},a.monthsShort=function(){return i(l(),"monthsShort","months",3)},a.weekdays=function(d){return i(l(),"weekdays",null,null,d)},a.weekdaysShort=function(d){return i(l(),"weekdaysShort","weekdays",3,d)},a.weekdaysMin=function(d){return i(l(),"weekdaysMin","weekdays",2,d)}}})})(HE);var Ree=HE.exports;const WE=nl(Ree),Iee=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"],w3=["sun","mon","tue","wed","thu","fri","sat"],Oee=(e,t)=>{vt.extend(WE);const n=vt.localeData().firstDayOfWeek(),{t:s,lang:a}=It(),o=vt().locale(a.value),r=k(()=>!!e.range&&!!e.range.length),i=k(()=>{let h=[];if(r.value){const[p,v]=e.range,m=oc(v.date()-p.date()+1).map(C=>({text:p.date()+C,type:"current"}));let g=m.length%7;g=g===0?0:7-g;const b=oc(g).map((C,w)=>({text:w+1,type:"next"}));h=m.concat(b)}else{const p=e.date.startOf("month").day(),v=kee(e.date,(p-n+7)%7).map(C=>({text:C,type:"prev"})),m=Aee(e.date).map(C=>({text:C,type:"current"}));h=[...v,...m];const g=7-(h.length%7||7),b=oc(g).map((C,w)=>({text:w+1,type:"next"}));h=h.concat(b)}return Tee(h)}),l=k(()=>{const h=n;return h===0?w3.map(p=>s(`el.datepicker.weeks.${p}`)):w3.slice(h).concat(w3.slice(0,h)).map(p=>s(`el.datepicker.weeks.${p}`))}),c=(h,p)=>{switch(p){case"prev":return e.date.startOf("month").subtract(1,"month").date(h);case"next":return e.date.startOf("month").add(1,"month").date(h);case"current":return e.date.date(h)}};return{now:o,isInRange:r,rows:i,weekDays:l,getFormattedDate:c,handlePickDay:({text:h,type:p})=>{const v=c(h,p);t("pick",v)},getSlotData:({text:h,type:p})=>{const v=c(h,p);return{isSelected:v.isSame(e.selectedDay),type:`${p}-month`,day:v.format("YYYY-MM-DD"),date:v.toDate()}}}},Lee={key:0},Nee=["onClick"];var jE=W({name:"DateTable",__name:"date-table",props:Mee,emits:Pee,setup(e,{expose:t,emit:n}){const s=e,a=n,{isInRange:o,now:r,rows:i,weekDays:l,getFormattedDate:c,handlePickDay:u,getSlotData:d}=Oee(s,a),h=Ee("calendar-table"),p=Ee("calendar-day"),v=({text:m,type:g})=>{const b=[g];if(g==="current"){const C=c(m,g);C.isSame(s.selectedDay,"day")&&b.push(p.is("selected")),C.isSame(r,"day")&&b.push(p.is("today"))}return b};return t({getFormattedDate:c}),(m,g)=>(S(),P("table",{class:D([f(h).b(),f(h).is("range",f(o))]),cellspacing:"0",cellpadding:"0"},[e.hideHeader?ie("v-if",!0):(S(),P("thead",Lee,[A("tr",null,[(S(!0),P(He,null,yt(f(l),b=>(S(),P("th",{key:b,scope:"col"},ve(b),1))),128))])])),A("tbody",null,[(S(!0),P(He,null,yt(f(i),(b,C)=>(S(),P("tr",{key:C,class:D({[f(h).e("row")]:!0,[f(h).em("row","hide-border")]:C===0&&e.hideHeader})},[(S(!0),P(He,null,yt(b,(w,_)=>(S(),P("td",{key:_,class:D(v(w)),onClick:x=>f(u)(w)},[A("div",{class:D(f(p).b())},[ue(m.$slots,"date-cell",{data:f(d)(w)},()=>[A("span",null,ve(w.text),1)])],2)],10,Nee))),128))],2))),128))])],2))}});const $ee=(e,t)=>{const n=e.endOf("month"),s=t.startOf("month"),o=n.isSame(s,"week")?s.add(1,"week"):s;return[[e,n],[o.startOf("week"),t]]},Dee=(e,t)=>{const n=e.endOf("month"),s=e.add(1,"month").startOf("month"),a=n.isSame(s,"week")?s.add(1,"week"):s,o=a.endOf("month"),r=t.startOf("month"),i=o.isSame(r,"week")?r.add(1,"week"):r;return[[e,n],[a.startOf("week"),o],[i.startOf("week"),t]]},Fee=(e,t,n)=>{const{lang:s}=It(),a=F(),o=vt().locale(s.value),r=k({get(){return e.modelValue?l.value:a.value},set(b){if(!b)return;a.value=b;const C=b.toDate();t(es,C),t(ct,C)}}),i=k(()=>{if(!e.range||!ke(e.range)||e.range.length!==2||e.range.some(_=>!Kl(_)))return[];const b=e.range.map(_=>vt(_).locale(s.value)),[C,w]=b;return C.isAfter(w)?[]:C.isSame(w,"month")?p(C,w):C.add(1,"month").month()!==w.month()?[]:p(C,w)}),l=k(()=>e.modelValue?vt(e.modelValue).locale(s.value):r.value||(i.value.length?i.value[0][0]:o)),c=k(()=>l.value.subtract(1,"month").date(1)),u=k(()=>l.value.add(1,"month").date(1)),d=k(()=>l.value.subtract(1,"year").date(1)),h=k(()=>l.value.add(1,"year").date(1)),p=(b,C)=>{const w=b.startOf("week"),_=C.endOf("week"),x=w.get("month"),E=_.get("month");return x===E?[[w,_]]:(x+1)%12===E?$ee(w,_):x+2===E||(x+1)%11===E?Dee(w,_):[]},v=b=>{r.value=b},m=b=>{const w={"prev-month":c.value,"next-month":u.value,"prev-year":d.value,"next-year":h.value,today:o}[b];w.isSame(l.value,"day")||v(w)};return{calculateValidatedDateRange:p,date:l,realSelectedDay:r,pickDay:v,selectDate:m,validatedRange:i,handleDateChange:b=>{b==="today"?m("today"):v(b)}}},Bee=Te({date:{type:re(Object),required:!0},formatter:{type:re(Function)}}),Vee={"date-change":e=>ht(e)||Xe(e)},sl=Te({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:fr},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),zee={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},Hee=["aria-label"],Wee=["aria-label"];var jee=W({name:"ElTag",__name:"tag",props:sl,emits:zee,setup(e,{emit:t}){const n=e,s=t,a=ts(),{t:o}=It(),r=Ee("tag"),i=k(()=>{const{type:d,hit:h,effect:p,closable:v,round:m}=n;return[r.b(),r.is("closable",v),r.m(d||"primary"),r.m(a.value),r.m(p),r.is("hit",h),r.is("round",m)]}),l=d=>{s("close",d)},c=d=>{s("click",d)},u=d=>{var h,p,v;(v=(p=(h=d==null?void 0:d.component)==null?void 0:h.subTree)==null?void 0:p.component)!=null&&v.bum&&(d.component.subTree.component.bum=null)};return(d,h)=>e.disableTransitions?(S(),P("span",{key:0,class:D(i.value),style:tt({backgroundColor:e.color}),onClick:c},[A("span",{class:D(f(r).e("content"))},[ue(d.$slots,"default")],2),e.closable?(S(),P("button",{key:0,"aria-label":f(o)("el.tag.close"),class:D(f(r).e("close")),type:"button",onClick:lt(l,["stop"])},[j(f(Je),null,{default:X(()=>[j(f(Ua))]),_:1})],10,Hee)):ie("v-if",!0)],6)):(S(),le(vs,{key:1,name:`${f(r).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:u},{default:X(()=>[A("span",{class:D(i.value),style:tt({backgroundColor:e.color}),onClick:c},[A("span",{class:D(f(r).e("content"))},[ue(d.$slots,"default")],2),e.closable?(S(),P("button",{key:0,"aria-label":f(o)("el.tag.close"),class:D(f(r).e("close")),type:"button",onClick:lt(l,["stop"])},[j(f(Je),null,{default:X(()=>[j(f(Ua))]),_:1})],10,Wee)):ie("v-if",!0)],6)]),_:3},8,["name"]))}});const al=pt(jee),Vg={label:"label",value:"value",disabled:"disabled",options:"options"};function Bp(e){const t=F({...Vg,...e.props});let n={...e.props};return me(()=>e.props,i=>{$n(i,n)||(t.value={...Vg,...i},n={...i})},{deep:!0}),{aliasProps:t,getLabel:i=>Yn(i,t.value.label),getValue:i=>Yn(i,t.value.value),getDisabled:i=>Yn(i,t.value.disabled),getOptions:i=>Yn(i,t.value.options)}}const KE=Symbol("ElSelectGroup"),Vp=Symbol("ElSelect"),_3="ElOption",Kee=Te({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean}),C3=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),rc=e=>O0(e);function Uee(e,t){const n=je(Vp);n||Xn(_3,"usage: ");const s=je(KE,{disabled:!1}),a=k(()=>u(_s(n.props.modelValue),e.value)),o=k(()=>{var p;if(n.props.multiple){const v=_s((p=n.props.modelValue)!=null?p:[]);return!a.value&&v.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),r=k(()=>{var p;return(p=e.label)!=null?p:ht(e.value)?"":e.value}),i=k(()=>e.value||e.label||""),l=k(()=>e.disabled||t.groupDisabled||o.value),c=_t(),u=(p=[],v)=>{if(ht(e.value)){const m=n.props.valueKey;return p&&p.some(g=>cn(Yn(g,m))===Yn(v,m))}else return p&&p.includes(v)},d=()=>{l.value||(n.states.hoveringIndex=n.optionsArray.indexOf(c.proxy))},h=p=>{const v=new RegExp(C3(p),"i");t.visible=v.test(String(r.value))||e.created};return me(()=>r.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),me(()=>e.value,(p,v)=>{const{remote:m,valueKey:g}=n.props;if((m?p!==v:!$n(p,v))&&(n.onOptionDestroy(v,c.proxy),n.onOptionCreate(c.proxy)),!e.created&&!m){if(g&&ht(p)&&ht(v)&&p[g]===v[g])return;n.setSelected()}}),me(()=>s.disabled,()=>{t.groupDisabled=s.disabled},{immediate:!0}),{select:n,currentLabel:r,currentValue:i,itemSelected:a,isDisabled:l,hoverItem:d,updateOption:h}}var qee=W({name:_3,componentName:_3,props:Kee,setup(e){const t=Ee("select"),n=$s(),s=k(()=>[t.be("dropdown","item"),t.is("disabled",f(i)),t.is("selected",f(r)),t.is("hovering",f(h))]),a=Wt({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:o,itemSelected:r,isDisabled:i,select:l,hoverItem:c,updateOption:u}=Uee(e,a),{visible:d,hover:h}=ps(a),p=_t().proxy;l.onOptionCreate(p),Gt(()=>{const m=p.value;ze(()=>{const{selected:g}=l.states,b=g.some(C=>C.value===p.value);l.states.cachedOptions.get(m)===p&&!b&&l.states.cachedOptions.delete(m)}),l.onOptionDestroy(m,p)});function v(){i.value||l.handleOptionSelect(p)}return{ns:t,id:n,containerKls:s,currentLabel:o,itemSelected:r,isDisabled:i,select:l,visible:d,hover:h,states:a,hoverItem:c,updateOption:u,selectOptionClick:v}}});const Gee=["id","aria-disabled","aria-selected"];function Yee(e,t,n,s,a,o){return gt((S(),P("li",{id:e.id,class:D(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMousemove:t[0]||(t[0]=(...r)=>e.hoverItem&&e.hoverItem(...r)),onClick:t[1]||(t[1]=lt((...r)=>e.selectOptionClick&&e.selectOptionClick(...r),["stop"]))},[ue(e.$slots,"default",{},()=>[A("span",null,ve(e.currentLabel),1)])],42,Gee)),[[Bt,e.visible]])}var S3=is(qee,[["render",Yee]]);const zg=11,UE=2;var Xee=W({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=je(Vp),t=Ee("select"),n=k(()=>e.props.popperClass),s=k(()=>e.props.multiple),a=k(()=>e.props.fitInputWidth),o=F("");function r(){var i;const l=(i=e.selectRef)==null?void 0:i.offsetWidth;l?o.value=`${l-UE}px`:o.value=""}return St(()=>{r(),bn(e.selectRef,r)}),{ns:t,minWidth:o,popperClass:n,isMultiple:s,isFitInputWidth:a}}});function Jee(e,t,n,s,a,o){return S(),P("div",{class:D([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:tt({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(S(),P("div",{key:0,class:D(e.ns.be("dropdown","header"))},[ue(e.$slots,"header")],2)):ie("v-if",!0),ue(e.$slots,"default"),e.$slots.footer?(S(),P("div",{key:1,class:D(e.ns.be("dropdown","footer"))},[ue(e.$slots,"footer")],2)):ie("v-if",!0)],6)}var Zee=is(Xee,[["render",Jee]]);const Qee=(e,t)=>{const{t:n}=It(),s=zn(),a=$s(),o=Ee("select"),r=Ee("input"),i=Wt({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),l=F(),c=F(),u=F(),d=F(),h=F(),p=F(),v=F(),m=F(),g=F(),b=F(),C=F(),w=F(!1),_=F(),x=F(!1),{form:E,formItem:T}=Cs(),{inputId:R}=uo(e,{formItemContext:T}),{valueOnClear:I,isEmptyValue:M}=wp(e),{isComposing:$,handleCompositionStart:O,handleCompositionUpdate:B,handleCompositionEnd:U}=Dp({afterComposition:Ie=>Ft(Ie)}),J=In(),{wrapperRef:Y,isFocused:N,handleBlur:L}=Qi(h,{disabled:J,afterFocus(){e.automaticDropdown&&!w.value&&(w.value=!0,i.menuVisibleOnFocus=!0)},beforeBlur(Ie){var ut,Dt;return((ut=u.value)==null?void 0:ut.isFocusInsideContent(Ie))||((Dt=d.value)==null?void 0:Dt.isFocusInsideContent(Ie))},afterBlur(){var Ie;w.value=!1,i.menuVisibleOnFocus=!1,e.validateEvent&&((Ie=T==null?void 0:T.validate)==null||Ie.call(T,"blur").catch(ut=>void 0))}}),V=k(()=>ke(e.modelValue)?e.modelValue.length>0:!M(e.modelValue)),z=k(()=>{var Ie;return(Ie=E==null?void 0:E.statusIcon)!=null?Ie:!1}),G=k(()=>e.clearable&&!J.value&&V.value&&(N.value||i.inputHovering)),Q=k(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),K=k(()=>o.is("reverse",!!(Q.value&&w.value))),ee=k(()=>(T==null?void 0:T.validateState)||""),ae=k(()=>ee.value&&Eg[ee.value]),fe=k(()=>e.remote?e.debounce:0),ne=k(()=>e.remote&&!i.inputValue&&i.options.size===0),pe=k(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&i.inputValue&&i.options.size>0&&he.value===0?e.noMatchText||n("el.select.noMatch"):i.options.size===0?e.noDataText||n("el.select.noData"):null),he=k(()=>ce.value.filter(Ie=>Ie.visible).length),ce=k(()=>{const Ie=Array.from(i.options.values()),ut=[];return i.optionValues.forEach(Dt=>{const En=Ie.findIndex(jn=>jn.value===Dt);En>-1&&ut.push(Ie[En])}),ut.length>=Ie.length?ut:Ie}),Z=k(()=>Array.from(i.cachedOptions.values())),H=k(()=>{const Ie=ce.value.filter(ut=>!ut.created).some(ut=>ut.currentLabel===i.inputValue);return e.filterable&&e.allowCreate&&i.inputValue!==""&&!Ie}),te=()=>{e.filterable&&et(e.filterMethod)||e.filterable&&e.remote&&et(e.remoteMethod)||ce.value.forEach(Ie=>{var ut;(ut=Ie.updateOption)==null||ut.call(Ie,i.inputValue)})},de=ts(),be=k(()=>["small"].includes(de.value)?"small":"default"),_e=k({get(){return w.value&&(e.loading||!ne.value||e.remote&&!!s.empty)&&(!x.value||!Pa(i.previousQuery))},set(Ie){w.value=Ie}}),Se=k(()=>{if(e.multiple&&!$t(e.modelValue))return _s(e.modelValue).length===0&&!i.inputValue;const Ie=ke(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||$t(Ie)?!i.inputValue:!0}),Ne=k(()=>{var Ie;const ut=(Ie=e.placeholder)!=null?Ie:n("el.select.placeholder");return e.multiple||!V.value?ut:i.selectedLabel}),Ve=k(()=>pg?null:"mouseenter");me(()=>e.modelValue,(Ie,ut)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(i.inputValue="",$e("")),Oe(),!$n(Ie,ut)&&e.validateEvent&&(T==null||T.validate("change").catch(Dt=>void 0))},{flush:"post",deep:!0}),me(()=>w.value,Ie=>{Ie?$e(i.inputValue):(i.inputValue="",i.previousQuery=null,i.isBeforeHide=!0,i.menuVisibleOnFocus=!1)}),me(()=>i.options.entries(),()=>{jt&&(Oe(),e.defaultFirstOption&&(e.filterable||e.remote)&&he.value&&we())},{flush:"post"}),me([()=>i.hoveringIndex,ce],([Ie])=>{at(Ie)&&Ie>-1?_.value=ce.value[Ie]||{}:_.value={},ce.value.forEach(ut=>{ut.hover=_.value===ut})}),Wa(()=>{i.isBeforeHide||te()});const $e=Ie=>{i.previousQuery===Ie||$.value||(i.previousQuery=Ie,e.filterable&&et(e.filterMethod)?e.filterMethod(Ie):e.filterable&&e.remote&&et(e.remoteMethod)&&e.remoteMethod(Ie),e.defaultFirstOption&&(e.filterable||e.remote)&&he.value?ze(we):ze(We))},we=()=>{const Ie=ce.value.filter(jn=>jn.visible&&!jn.disabled&&!jn.states.groupDisabled),ut=Ie.find(jn=>jn.created),Dt=Ie[0],En=ce.value.map(jn=>jn.value);i.hoveringIndex=Ye(En,ut||Dt)},Oe=()=>{if(e.multiple)i.selectedLabel="";else{const ut=ke(e.modelValue)?e.modelValue[0]:e.modelValue,Dt=Pe(ut);i.selectedLabel=Dt.currentLabel,i.selected=[Dt];return}const Ie=[];$t(e.modelValue)||_s(e.modelValue).forEach(ut=>{Ie.push(Pe(ut))}),i.selected=Ie},Pe=Ie=>{let ut;const Dt=R0(Ie);for(let Ca=i.cachedOptions.size-1;Ca>=0;Ca--){const ta=Z.value[Ca];if(Dt?Yn(ta.value,e.valueKey)===Yn(Ie,e.valueKey):ta.value===Ie){ut={index:ce.value.filter(Hl=>!Hl.created).indexOf(ta),value:Ie,currentLabel:ta.currentLabel,get isDisabled(){return ta.isDisabled}};break}}if(ut)return ut;const En=Dt?Ie.label:Ie??"";return{index:-1,value:Ie,currentLabel:En}},We=()=>{const Ie=i.selected.length;if(Ie>0){const ut=i.selected[Ie-1];i.hoveringIndex=ce.value.findIndex(Dt=>sn(ut)===sn(Dt))}else i.hoveringIndex=-1},Qe=()=>{i.selectionWidth=Number.parseFloat(window.getComputedStyle(c.value).width)},it=()=>{i.collapseItemWidth=b.value.getBoundingClientRect().width},De=()=>{var Ie,ut;(ut=(Ie=u.value)==null?void 0:Ie.updatePopper)==null||ut.call(Ie)},Ke=()=>{var Ie,ut;(ut=(Ie=d.value)==null?void 0:Ie.updatePopper)==null||ut.call(Ie)},nt=()=>{i.inputValue.length>0&&!w.value&&(w.value=!0),$e(i.inputValue)},Ft=Ie=>{if(i.inputValue=Ie.target.value,e.remote)x.value=!0,Kt();else return nt()},Kt=gp(()=>{nt(),x.value=!1},fe),ot=Ie=>{$n(e.modelValue,Ie)||t(Pt,Ie)},dt=Ie=>fx(Ie,ut=>{const Dt=i.cachedOptions.get(ut);return!(Dt!=null&&Dt.disabled)&&!(Dt!=null&&Dt.states.groupDisabled)}),kt=Ie=>{const ut=an(Ie);if(e.multiple&&ut!==Ae.delete&&Ie.target.value.length<=0){const Dt=_s(e.modelValue).slice(),En=dt(Dt);if(En<0)return;const jn=Dt[En];Dt.splice(En,1),t(ct,Dt),ot(Dt),t("remove-tag",jn)}},xe=(Ie,ut)=>{const Dt=i.selected.indexOf(ut);if(Dt>-1&&!J.value){const En=_s(e.modelValue).slice();En.splice(Dt,1),t(ct,En),ot(En),t("remove-tag",ut.value)}Ie.stopPropagation(),st()},qe=Ie=>{Ie.stopPropagation();const ut=e.multiple?[]:I.value;if(e.multiple)for(const Dt of i.selected)Dt.isDisabled&&ut.push(Dt.value);t(ct,ut),ot(ut),i.hoveringIndex=-1,w.value=!1,t("clear"),st()},ye=Ie=>{var ut;if(e.multiple){const Dt=_s((ut=e.modelValue)!=null?ut:[]).slice(),En=Ye(Dt,Ie);En>-1?Dt.splice(En,1):(e.multipleLimit<=0||Dt.length{Ct(Ie)})},Ye=(Ie,ut)=>$t(ut)?-1:ht(ut.value)?Ie.findIndex(Dt=>$n(Yn(Dt,e.valueKey),sn(ut))):Ie.indexOf(ut.value),Ct=Ie=>{var ut,Dt,En,jn,Ca;const ta=ke(Ie)?Ie[Ie.length-1]:Ie;let Pi=null;if(!qn(ta==null?void 0:ta.value)){const Hl=ce.value.filter(S0=>S0.value===ta.value);Hl.length>0&&(Pi=Hl[0].$el)}if(u.value&&Pi){const Hl=(jn=(En=(Dt=(ut=u.value)==null?void 0:ut.popperRef)==null?void 0:Dt.contentRef)==null?void 0:En.querySelector)==null?void 0:jn.call(En,`.${o.be("dropdown","wrap")}`);Hl&&Ly(Hl,Pi)}(Ca=C.value)==null||Ca.handleScroll()},Xt=Ie=>{i.options.set(Ie.value,Ie),i.cachedOptions.set(Ie.value,Ie)},wn=(Ie,ut)=>{i.options.get(Ie)===ut&&i.options.delete(Ie)},Sn=k(()=>{var Ie,ut;return(ut=(Ie=u.value)==null?void 0:Ie.popperRef)==null?void 0:ut.contentRef}),Fe=()=>{i.isBeforeHide=!1,ze(()=>{var Ie;(Ie=C.value)==null||Ie.update(),Ct(i.selected)})},st=()=>{var Ie;(Ie=h.value)==null||Ie.focus()},ge=()=>{var Ie;if(w.value){w.value=!1,ze(()=>{var ut;return(ut=h.value)==null?void 0:ut.blur()});return}(Ie=h.value)==null||Ie.blur()},Ce=Ie=>{qe(Ie)},Be=Ie=>{if(w.value=!1,N.value){const ut=new FocusEvent("blur",Ie);ze(()=>L(ut))}},Re=()=>{i.inputValue.length>0?i.inputValue="":w.value=!1},Me=Ie=>{var ut;J.value||e.filterable&&w.value&&Ie&&!((ut=v.value)!=null&&ut.contains(Ie.target))||(pg&&(i.inputHovering=!0),i.menuVisibleOnFocus?i.menuVisibleOnFocus=!1:w.value=!w.value)},Ze=()=>{if(!w.value)Me();else{const Ie=ce.value[i.hoveringIndex];Ie&&!Ie.isDisabled&&ye(Ie)}},sn=Ie=>ht(Ie.value)?Yn(Ie.value,e.valueKey):Ie.value,_n=k(()=>ce.value.filter(Ie=>Ie.visible).every(Ie=>Ie.isDisabled)),xn=k(()=>e.multiple?e.collapseTags?i.selected.slice(0,e.maxCollapseTags):i.selected:[]),Rt=k(()=>e.multiple?e.collapseTags?i.selected.slice(e.maxCollapseTags):[]:[]),Rs=Ie=>{if(!w.value){w.value=!0;return}if(!(i.options.size===0||he.value===0||$.value)&&!_n.value){Ie==="next"?(i.hoveringIndex++,i.hoveringIndex===i.options.size&&(i.hoveringIndex=0)):Ie==="prev"&&(i.hoveringIndex--,i.hoveringIndex<0&&(i.hoveringIndex=i.options.size-1));const ut=ce.value[i.hoveringIndex];(ut.isDisabled||!ut.visible)&&Rs(Ie),ze(()=>Ct(_.value))}},Is=(Ie,ut,Dt,En)=>{for(let jn=ut;jn>=0&&jn{var Dt;const En=i.options.size;if(En===0)return;const jn=gu(Ie,0,En-1),Ca=ce.value,ta=ut==="up"?-1:1,Pi=(Dt=Is(Ca,jn,ta,En))!=null?Dt:Is(Ca,jn-ta,-ta,En);Pi!=null&&(i.hoveringIndex=Pi,ze(()=>Ct(_.value)))},Qc=Ie=>{const ut=an(Ie);let Dt=!0;switch(ut){case Ae.up:Rs("prev");break;case Ae.down:Rs("next");break;case Ae.enter:case Ae.numpadEnter:$.value||Ze();break;case Ae.esc:Re();break;case Ae.backspace:Dt=!1,kt(Ie);return;case Ae.home:if(!w.value)return;Va(0,"down");break;case Ae.end:if(!w.value)return;Va(i.options.size-1,"up");break;case Ae.pageUp:if(!w.value)return;Va(i.hoveringIndex-10,"up");break;case Ae.pageDown:if(!w.value)return;Va(i.hoveringIndex+10,"down");break;default:Dt=!1;break}Dt&&(Ie.preventDefault(),Ie.stopPropagation())},Qd=()=>{if(!c.value)return 0;const Ie=window.getComputedStyle(c.value);return Number.parseFloat(Ie.gap||"6px")},ef=k(()=>{const Ie=Qd(),ut=e.filterable?Ie+zg:0;return{maxWidth:`${b.value&&e.maxCollapseTags===1?i.selectionWidth-i.collapseItemWidth-Ie-ut:i.selectionWidth-ut}px`}}),tf=k(()=>({maxWidth:`${i.selectionWidth}px`})),Lw=Ie=>{t("popup-scroll",Ie)};bn(c,Qe),bn(Y,De),bn(g,Ke),bn(b,it);let nf;return me(()=>_e.value,Ie=>{Ie?nf=bn(m,De).stop:(nf==null||nf(),nf=void 0),t("visible-change",Ie)}),St(()=>{Oe()}),{inputId:R,contentId:a,nsSelect:o,nsInput:r,states:i,isFocused:N,expanded:w,optionsArray:ce,hoverOption:_,selectSize:de,filteredOptionsCount:he,updateTooltip:De,updateTagTooltip:Ke,debouncedOnInputChange:Kt,onInput:Ft,deletePrevTag:kt,deleteTag:xe,deleteSelected:qe,handleOptionSelect:ye,scrollToOption:Ct,hasModelValue:V,shouldShowPlaceholder:Se,currentPlaceholder:Ne,mouseEnterEventName:Ve,needStatusIcon:z,showClearBtn:G,iconComponent:Q,iconReverse:K,validateState:ee,validateIcon:ae,showNewOption:H,updateOptions:te,collapseTagSize:be,setSelected:Oe,selectDisabled:J,emptyText:pe,handleCompositionStart:O,handleCompositionUpdate:B,handleCompositionEnd:U,handleKeydown:Qc,onOptionCreate:Xt,onOptionDestroy:wn,handleMenuEnter:Fe,focus:st,blur:ge,handleClearClick:Ce,handleClickOutside:Be,handleEsc:Re,toggleMenu:Me,selectOption:Ze,getValueKey:sn,navigateOptions:Rs,dropdownMenuVisible:_e,showTagList:xn,collapseTagList:Rt,popupScroll:Lw,getOption:Pe,tagStyle:ef,collapseTagStyle:tf,popperRef:Sn,inputRef:h,tooltipRef:u,tagTooltipRef:d,prefixRef:p,suffixRef:v,selectRef:l,wrapperRef:Y,selectionRef:c,scrollbarRef:C,menuRef:m,tagMenuRef:g,collapseItemRef:b}};var ete=W({name:"ElOptions",setup(e,{slots:t}){const n=je(Vp);let s=[];return()=>{var a,o;const r=(a=t.default)==null?void 0:a.call(t),i=[];function l(c){ke(c)&&c.forEach(u=>{var d,h,p,v;const m=(d=(u==null?void 0:u.type)||{})==null?void 0:d.name;m==="ElOptionGroup"?l(!Xe(u.children)&&!ke(u.children)&&et((h=u.children)==null?void 0:h.default)?(p=u.children)==null?void 0:p.default():u.children):m==="ElOption"?i.push((v=u.props)==null?void 0:v.value):ke(u.children)&&l(u.children)})}return r.length&&l((o=r[0])==null?void 0:o.children),$n(i,s)||(s=i,n&&(n.states.optionValues=i)),r}}});const qE=Te({name:String,id:String,modelValue:{type:re([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:rs,effect:{type:re(String),default:"light"},disabled:{type:Boolean,default:void 0},clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperStyle:{type:re([String,Object])},popperOptions:{type:re(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:re(Function)},filterMethod:{type:re(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:Boolean,maxCollapseTags:{type:Number,default:1},teleported:tn.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:en,default:$o},fitInputWidth:Boolean,suffixIcon:{type:en,default:hr},tagType:{...sl.type,default:"info"},tagEffect:{...sl.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:re(String),values:Qr,default:"bottom-start"},fallbackPlacements:{type:re(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:tn.appendTo,options:{type:re(Array)},props:{type:re(Object),default:()=>Vg},...wu,...ia(["ariaLabel"])});q9.scroll;var tte=W({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=Ee("select"),n=F(),s=_t(),a=F([]);Tt(KE,Wt({...ps(e)}));const o=k(()=>a.value.some(c=>c.visible===!0)),r=c=>{var u;return c.type.name==="ElOption"&&!!((u=c.component)!=null&&u.proxy)},i=c=>{const u=_s(c),d=[];return u.forEach(h=>{var p;un(h)&&(r(h)?d.push(h.component.proxy):ke(h.children)&&h.children.length?d.push(...i(h.children)):(p=h.component)!=null&&p.subTree&&d.push(...i(h.component.subTree)))}),d},l=()=>{a.value=i(s.subTree)};return St(()=>{l()}),bp(n,l,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:o,ns:t}}});function nte(e,t,n,s,a,o){return gt((S(),P("ul",{ref:"groupRef",class:D(e.ns.be("group","wrap"))},[A("li",{class:D(e.ns.be("group","title"))},ve(e.label),3),A("li",null,[A("ul",{class:D(e.ns.b("group"))},[ue(e.$slots,"default")],2)])],2)),[[Bt,e.visible]])}var x3=is(tte,[["render",nte]]);const ic=new Map;if(jt){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of ic.values())for(const{documentHandler:s}of n)s(t,e);e=void 0}})}function GE(e,t){let n=[];return ke(t.arg)?n=t.arg:ja(t.arg)&&n.push(t.arg),function(s,a){const o=t.instance.popperRef,r=s.target,i=a==null?void 0:a.target,l=!t||!t.instance,c=!r||!i,u=e.contains(r)||e.contains(i),d=e===r,h=n.length&&n.some(v=>v==null?void 0:v.contains(r))||n.length&&n.includes(i),p=o&&(o.contains(r)||o.contains(i));l||c||u||d||h||p||t.value(s,a)}}const lc={beforeMount(e,t){ic.has(e)||ic.set(e,[]),ic.get(e).push({documentHandler:GE(e,t),bindingFn:t.value})},updated(e,t){ic.has(e)||ic.set(e,[]);const n=ic.get(e),s=n.findIndex(o=>o.bindingFn===t.oldValue),a={documentHandler:GE(e,t),bindingFn:t.value};s>=0?n.splice(s,1,a):n.push(a)},unmounted(e){ic.delete(e)}};function E3(){const e=hn(),t=F(0),n=k(()=>({minWidth:`${Math.max(t.value,zg)}px`}));return bn(e,()=>{var a,o;t.value=(o=(a=e.value)==null?void 0:a.getBoundingClientRect().width)!=null?o:0}),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}const YE="ElSelect",zp=new WeakMap,ste=e=>(...t)=>{var n,s;const a=t[0];if(!a||a.includes('Slot "default" invoked outside of the render function')&&((n=t[2])!=null&&n.includes("ElTreeSelect")))return;const o=(s=zp.get(e))==null?void 0:s.originalWarnHandler;if(o){o(...t);return}console.warn(...t)},ate=e=>{let t=zp.get(e);return t||(t={originalWarnHandler:e.config.warnHandler,handler:ste(e),count:0},zp.set(e,t)),t};var ote=W({name:YE,componentName:YE,components:{ElSelectMenu:Zee,ElOption:S3,ElOptions:ete,ElOptionGroup:x3,ElTag:al,ElScrollbar:pr,ElTooltip:Ss,ElIcon:Je},directives:{ClickOutside:lc},props:qE,emits:[ct,Pt,"remove-tag","clear","visible-change","focus","blur","popup-scroll"],setup(e,{emit:t,slots:n}){const s=_t(),a=ate(s.appContext);a.count+=1,s.appContext.config.warnHandler=a.handler;const o=k(()=>{const{modelValue:C,multiple:w}=e,_=w?[]:void 0;return ke(C)?w?C:_:w?_:C}),r=Wt({...ps(e),modelValue:o}),i=Qee(r,t),{calculatorRef:l,inputStyle:c}=E3(),{getLabel:u,getValue:d,getOptions:h,getDisabled:p}=Bp(e),v=C=>({label:u(C),value:d(C),disabled:p(C)}),m=C=>C.reduce((w,_)=>(w.push(_),_.children&&_.children.length>0&&w.push(...m(_.children)),w),[]),g=C=>{lo(C||[]).forEach(_=>{var x;if(ht(_)&&(_.type.name==="ElOption"||_.type.name==="ElTree")){const E=_.type.name;if(E==="ElTree"){const T=((x=_.props)==null?void 0:x.data)||[];m(T).forEach(I=>{I.currentLabel=I.label||(ht(I.value)?"":I.value),i.onOptionCreate(I)})}else if(E==="ElOption"){const T={..._.props};T.currentLabel=T.label||(ht(T.value)?"":T.value),i.onOptionCreate(T)}}})};me(()=>{var C;return[(C=n.default)==null?void 0:C.call(n),o.value]},()=>{var C;e.persistent||i.expanded.value||(i.states.options.clear(),g((C=n.default)==null?void 0:C.call(n)))},{immediate:!0}),Tt(Vp,Wt({props:r,states:i.states,selectRef:i.selectRef,optionsArray:i.optionsArray,setSelected:i.setSelected,handleOptionSelect:i.handleOptionSelect,onOptionCreate:i.onOptionCreate,onOptionDestroy:i.onOptionDestroy}));const b=k(()=>e.multiple?i.states.selected.map(C=>C.currentLabel):i.states.selectedLabel);return Gt(()=>{const C=zp.get(s.appContext);C&&(C.count-=1,C.count<=0&&(s.appContext.config.warnHandler=C.originalWarnHandler,zp.delete(s.appContext)))}),{...i,modelValue:o,selectedLabel:b,calculatorRef:l,inputStyle:c,getLabel:u,getValue:d,getOptions:h,getDisabled:p,getOptionProps:v}}});const rte=["id","value","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],ite=["textContent"],lte={key:1};function cte(e,t,n,s,a,o){const r=Ge("el-tag"),i=Ge("el-tooltip"),l=Ge("el-icon"),c=Ge("el-option"),u=Ge("el-option-group"),d=Ge("el-options"),h=Ge("el-scrollbar"),p=Ge("el-select-menu"),v=N4("click-outside");return gt((S(),P("div",wt({ref:"selectRef",class:[e.nsSelect.b(),e.nsSelect.m(e.selectSize)]},{[L0(e.mouseEnterEventName)]:t[10]||(t[10]=m=>e.states.inputHovering=!0)},{onMouseleave:t[11]||(t[11]=m=>e.states.inputHovering=!1)}),[j(i,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,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,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t[9]||(t[9]=m=>e.states.isBeforeHide=!1)},{default:X(()=>{var m;return[A("div",{ref:"wrapperRef",class:D([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:t[6]||(t[6]=lt((...g)=>e.toggleMenu&&e.toggleMenu(...g),["prevent"]))},[e.$slots.prefix?(S(),P("div",{key:0,ref:"prefixRef",class:D(e.nsSelect.e("prefix"))},[ue(e.$slots,"prefix")],2)):ie("v-if",!0),A("div",{ref:"selectionRef",class:D([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?ue(e.$slots,"tag",{key:0,data:e.states.selected,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(S(!0),P(He,null,yt(e.showTagList,g=>(S(),P("div",{key:e.getValueKey(g),class:D(e.nsSelect.e("selected-item"))},[j(r,{closable:!e.selectDisabled&&!g.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:tt(e.tagStyle),onClose:b=>e.deleteTag(b,g)},{default:X(()=>[A("span",{class:D(e.nsSelect.e("tags-text"))},[ue(e.$slots,"label",{index:g.index,label:g.currentLabel,value:g.value},()=>[Ue(ve(g.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(S(),le(i,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom","popper-class":e.popperClass,"popper-style":e.popperStyle,teleported:e.teleported,"popper-options":e.popperOptions},{default:X(()=>[A("div",{ref:"collapseItemRef",class:D(e.nsSelect.e("selected-item"))},[j(r,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:tt(e.collapseTagStyle)},{default:X(()=>[A("span",{class:D(e.nsSelect.e("tags-text"))}," + "+ve(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:X(()=>[A("div",{ref:"tagMenuRef",class:D(e.nsSelect.e("selection"))},[(S(!0),P(He,null,yt(e.collapseTagList,g=>(S(),P("div",{key:e.getValueKey(g),class:D(e.nsSelect.e("selected-item"))},[j(r,{class:"in-tooltip",closable:!e.selectDisabled&&!g.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:b=>e.deleteTag(b,g)},{default:X(()=>[A("span",{class:D(e.nsSelect.e("tags-text"))},[ue(e.$slots,"label",{index:g.index,label:g.currentLabel,value:g.value},()=>[Ue(ve(g.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","popper-class","popper-style","teleported","popper-options"])):ie("v-if",!0)]):ie("v-if",!0),A("div",{class:D([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled)])},[A("input",{id:e.inputId,ref:"inputRef",value:e.states.inputValue,type:"text",name:e.name,class:D([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:tt(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":((m=e.hoverOption)==null?void 0:m.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:t[0]||(t[0]=(...g)=>e.handleKeydown&&e.handleKeydown(...g)),onCompositionstart:t[1]||(t[1]=(...g)=>e.handleCompositionStart&&e.handleCompositionStart(...g)),onCompositionupdate:t[2]||(t[2]=(...g)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...g)),onCompositionend:t[3]||(t[3]=(...g)=>e.handleCompositionEnd&&e.handleCompositionEnd(...g)),onInput:t[4]||(t[4]=(...g)=>e.onInput&&e.onInput(...g)),onClick:t[5]||(t[5]=lt((...g)=>e.toggleMenu&&e.toggleMenu(...g),["stop"]))},null,46,rte),e.filterable?(S(),P("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:D(e.nsSelect.e("input-calculator")),textContent:ve(e.states.inputValue)},null,10,ite)):ie("v-if",!0)],2),e.shouldShowPlaceholder?(S(),P("div",{key:1,class:D([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?ue(e.$slots,"label",{key:0,index:e.getOption(e.modelValue).index,label:e.currentPlaceholder,value:e.modelValue},()=>[A("span",null,ve(e.currentPlaceholder),1)]):(S(),P("span",lte,ve(e.currentPlaceholder),1))],2)):ie("v-if",!0)],2),A("div",{ref:"suffixRef",class:D(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClearBtn?(S(),le(l,{key:0,class:D([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:X(()=>[(S(),le(bt(e.iconComponent)))]),_:1},8,["class"])):ie("v-if",!0),e.showClearBtn&&e.clearIcon?(S(),le(l,{key:1,class:D([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:X(()=>[(S(),le(bt(e.clearIcon)))]),_:1},8,["class","onClick"])):ie("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(S(),le(l,{key:2,class:D([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:X(()=>[(S(),le(bt(e.validateIcon)))]),_:1},8,["class"])):ie("v-if",!0)],2)],2)]}),content:X(()=>[j(p,{ref:"menuRef"},{default:X(()=>[e.$slots.header?(S(),P("div",{key:0,class:D(e.nsSelect.be("dropdown","header")),onClick:t[7]||(t[7]=lt(()=>{},["stop"]))},[ue(e.$slots,"header")],2)):ie("v-if",!0),gt(j(h,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:D([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical",onScroll:e.popupScroll},{default:X(()=>[e.showNewOption?(S(),le(c,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):ie("v-if",!0),j(d,null,{default:X(()=>[ue(e.$slots,"default",{},()=>[(S(!0),P(He,null,yt(e.options,(m,g)=>{var b;return S(),P(He,{key:g},[(b=e.getOptions(m))!=null&&b.length?(S(),le(u,{key:0,label:e.getLabel(m),disabled:e.getDisabled(m)},{default:X(()=>[(S(!0),P(He,null,yt(e.getOptions(m),C=>(S(),le(c,wt({key:e.getValue(C)},{ref_for:!0},e.getOptionProps(C)),null,16))),128))]),_:2},1032,["label","disabled"])):(S(),le(c,wt({key:1,ref_for:!0},e.getOptionProps(m)),null,16))],64)}),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll"]),[[Bt,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(S(),P("div",{key:1,class:D(e.nsSelect.be("dropdown","loading"))},[ue(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(S(),P("div",{key:2,class:D(e.nsSelect.be("dropdown","empty"))},[ue(e.$slots,"empty",{},()=>[A("span",null,ve(e.emptyText),1)])],2)):ie("v-if",!0),e.$slots.footer?(S(),P("div",{key:3,class:D(e.nsSelect.be("dropdown","footer")),onClick:t[8]||(t[8]=lt(()=>{},["stop"]))},[ue(e.$slots,"footer")],2)):ie("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],16)),[[v,e.handleClickOutside,e.popperRef]])}var ute=is(ote,[["render",cte]]);const cc=pt(ute,{Option:S3,OptionGroup:x3}),Hg=An(S3),dte=An(x3);var fte=W({name:"SelectController",__name:"select-controller",props:Bee,emits:Vee,setup(e,{emit:t}){const n=e,s=t,a=Ee("calendar-select"),{t:o,lang:r}=It(),i=Array.from({length:12},(v,m)=>{const g=m+1,b=et(n.formatter)?n.formatter(g,"month"):g;return{value:g,label:b}}),l=k(()=>n.date.year()),c=k(()=>n.date.month()+1),u=k(()=>{const v=[];for(let m=-10;m<10;m++){const g=l.value+m;if(g>0){const b=et(n.formatter)?n.formatter(g,"year"):g;v.push({value:g,label:b})}}return v}),d=v=>{s("date-change",vt(new Date(v,c.value-1,1)).locale(r.value))},h=v=>{s("date-change",vt(new Date(l.value,v-1,1)).locale(r.value))},p=()=>{s("date-change","today")};return(v,m)=>(S(),P(He,null,[j(f(cc),{"model-value":l.value,size:"small",class:D(f(a).e("year")),"validate-event":!1,options:u.value,onChange:d},null,8,["model-value","class","options"]),j(f(cc),{"model-value":c.value,size:"small",class:D(f(a).e("month")),"validate-event":!1,options:f(i),onChange:h},null,8,["model-value","class","options"]),j(f(gs),{size:"small",onClick:p},{default:X(()=>[Ue(ve(f(o)("el.datepicker.today")),1)]),_:1})],64))}}),hte=W({name:"ElCalendar",__name:"calendar",props:See,emits:xee,setup(e,{expose:t,emit:n}){const s=Ee("calendar"),a=e,o=n,{calculateValidatedDateRange:r,date:i,pickDay:l,realSelectedDay:c,selectDate:u,validatedRange:d,handleDateChange:h}=Fee(a,o),{t:p}=It(),v=k(()=>{const m=`el.datepicker.month${i.value.format("M")}`;return`${i.value.year()} ${p("el.datepicker.year")} ${p(m)}`});return t({selectedDay:c,pickDay:l,selectDate:u,calculateValidatedDateRange:r}),(m,g)=>(S(),P("div",{class:D(f(s).b())},[A("div",{class:D(f(s).e("header"))},[ue(m.$slots,"header",{date:v.value},()=>[A("div",{class:D(f(s).e("title"))},ve(v.value),3),f(d).length===0&&e.controllerType==="button"?(S(),P("div",{key:0,class:D(f(s).e("button-group"))},[j(f(LE),null,{default:X(()=>[j(f(gs),{size:"small",onClick:g[0]||(g[0]=b=>f(u)("prev-month"))},{default:X(()=>[Ue(ve(f(p)("el.datepicker.prevMonth")),1)]),_:1}),j(f(gs),{size:"small",onClick:g[1]||(g[1]=b=>f(u)("today"))},{default:X(()=>[Ue(ve(f(p)("el.datepicker.today")),1)]),_:1}),j(f(gs),{size:"small",onClick:g[2]||(g[2]=b=>f(u)("next-month"))},{default:X(()=>[Ue(ve(f(p)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):f(d).length===0&&e.controllerType==="select"?(S(),P("div",{key:1,class:D(f(s).e("select-controller"))},[j(fte,{date:f(i),formatter:e.formatter,onDateChange:f(h)},null,8,["date","formatter","onDateChange"])],2)):ie("v-if",!0)])],2),f(d).length===0?(S(),P("div",{key:0,class:D(f(s).e("body"))},[j(jE,{date:f(i),"selected-day":f(c),onPick:f(l)},ka({_:2},[m.$slots["date-cell"]?{name:"date-cell",fn:X(b=>[ue(m.$slots,"date-cell",Oi(Vi(b)))]),key:"0"}:void 0]),1032,["date","selected-day","onPick"])],2)):(S(),P("div",{key:1,class:D(f(s).e("body"))},[(S(!0),P(He,null,yt(f(d),(b,C)=>(S(),le(jE,{key:C,date:b[0],"selected-day":f(c),range:b,"hide-header":C!==0,onPick:f(l)},ka({_:2},[m.$slots["date-cell"]?{name:"date-cell",fn:X(w=>[ue(m.$slots,"date-cell",wt({ref_for:!0},w))]),key:"0"}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});const pte=pt(hte),vte=Te({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:re([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}});var mte=W({name:"ElCard",__name:"card",props:vte,setup(e){const t=Af("card"),n=Ee("card");return(s,a)=>{var o;return S(),P("div",{class:D([f(n).b(),f(n).is(`${e.shadow||((o=f(t))==null?void 0:o.shadow)||"always"}-shadow`)])},[s.$slots.header||e.header?(S(),P("div",{key:0,class:D([f(n).e("header"),e.headerClass])},[ue(s.$slots,"header",{},()=>[Ue(ve(e.header),1)])],2)):ie("v-if",!0),A("div",{class:D([f(n).e("body"),e.bodyClass]),style:tt(e.bodyStyle)},[ue(s.$slots,"default")],6),s.$slots.footer||e.footer?(S(),P("div",{key:1,class:D([f(n).e("footer"),e.footerClass])},[ue(s.$slots,"footer",{},()=>[Ue(ve(e.footer),1)])],2)):ie("v-if",!0)],2)}}});const gte=pt(mte),bte=Te({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},cardScale:{type:Number,default:.83},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:Boolean}),yte={change:(e,t)=>[e,t].every(at)},XE=Symbol("carouselContextKey"),k3="ElCarouselItem",wte=(e,t,n)=>lo(e.subTree).filter(o=>{var r;return un(o)&&((r=o.type)==null?void 0:r.name)===t&&!!o.component}).map(o=>o.component.uid).map(o=>n[o]).filter(o=>!!o),Wg=(e,t)=>{const n=hn({}),s=hn([]),a=new WeakMap,o=u=>{n.value[u.uid]=u,L2(n),St(()=>{const d=u.getVnode().el,h=d.parentNode;if(!a.has(h)){a.set(h,[]);const p=h.insertBefore.bind(h);h.insertBefore=(v,m)=>(a.get(h).some(b=>v===b||m===b)&&L2(n),p(v,m))}a.get(h).push(d)})},r=u=>{delete n.value[u.uid],L2(n);const d=u.getVnode().el,h=d.parentNode,p=a.get(h),v=p.indexOf(d);p.splice(v,1)},i=()=>{s.value=wte(e,t,n.value)},l=u=>u.render();return{children:s,addChild:o,removeChild:r,ChildrenSorter:W({setup(u,{slots:d}){return()=>(i(),d.default?rt(l,{render:d.default}):null)}})}},JE=300,_te=(e,t,n)=>{const{children:s,addChild:a,removeChild:o,ChildrenSorter:r}=Wg(_t(),k3),i=zn(),l=F(-1),c=F(null),u=F(!1),d=F(),h=F(0),p=F(!0),v=k(()=>e.arrow!=="never"&&!f(b)),m=k(()=>s.value.some(ae=>ae.props.label.toString().length>0)),g=k(()=>e.type==="card"),b=k(()=>e.direction==="vertical"),C=k(()=>e.height!=="auto"?{height:e.height}:{height:`${h.value}px`,overflow:"hidden"}),w=Ql(ae=>{I(ae)},JE,{trailing:!0}),_=Ql(ae=>{N(ae)},JE),x=ae=>p.value?l.value<=1?ae<=1:ae>1:!0;function E(){c.value&&(clearInterval(c.value),c.value=null)}function T(){e.interval<=0||!e.autoplay||c.value||(c.value=setInterval(()=>R(),e.interval))}const R=()=>{l.valuehe.props.name===ae);pe.length>0&&(ae=s.value.indexOf(pe[0]))}if(ae=Number(ae),Number.isNaN(ae)||ae!==Math.floor(ae))return;const fe=s.value.length,ne=l.value;ae<0?l.value=e.loop?fe-1:0:ae>=fe?l.value=e.loop?0:fe-1:l.value=ae,ne===l.value&&M(ne),z()}function M(ae){s.value.forEach((fe,ne)=>{fe.translateItem(ne,l.value,ae)})}function $(ae,fe){var ne,pe,he,ce;const Z=f(s),H=Z.length;if(H===0||!ae.states.inStage)return!1;const te=fe+1,de=fe-1,be=H-1,_e=Z[be].states.active,Se=Z[0].states.active,Ne=(pe=(ne=Z[te])==null?void 0:ne.states)==null?void 0:pe.active,Ve=(ce=(he=Z[de])==null?void 0:he.states)==null?void 0:ce.active;return fe===be&&Se||Ne?"left":fe===0&&_e||Ve?"right":!1}function O(){u.value=!0,e.pauseOnHover&&E()}function B(){u.value=!1,T()}function U(ae){f(b)||s.value.forEach((fe,ne)=>{ae===$(fe,ne)&&(fe.states.hover=!0)})}function J(){f(b)||s.value.forEach(ae=>{ae.states.hover=!1})}function Y(ae){l.value=ae}function N(ae){e.trigger==="hover"&&ae!==l.value&&(l.value=ae)}function L(){I(l.value-1)}function V(){I(l.value+1)}function z(){E(),e.pauseOnHover||T()}function G(ae){e.height==="auto"&&(h.value=ae)}function Q(){var ae;const fe=(ae=i.default)==null?void 0:ae.call(i);if(!fe)return null;const pe=lo(fe).filter(he=>un(he)&&he.type.name===k3);return(pe==null?void 0:pe.length)===2&&e.loop&&!g.value?(p.value=!0,pe):(p.value=!1,null)}me(()=>l.value,(ae,fe)=>{M(fe),p.value&&(ae=ae%2,fe=fe%2),fe>-1&&t(Pt,ae,fe)});const K=k({get:()=>p.value?l.value%2:l.value,set:ae=>l.value=ae});me(()=>e.autoplay,ae=>{ae?T():E()}),me(()=>e.loop,()=>{I(l.value)}),me(()=>e.interval,()=>{z()});const ee=hn();return St(()=>{me(()=>s.value,()=>{s.value.length>0&&I(e.initialIndex)},{immediate:!0}),ee.value=bn(d.value,()=>{M()}),T()}),Gt(()=>{E(),d.value&&ee.value&&ee.value.stop()}),Tt(XE,{root:d,isCardType:g,isVertical:b,items:s,loop:e.loop,cardScale:e.cardScale,addItem:a,removeItem:o,setActiveItem:I,setContainerHeight:G}),{root:d,activeIndex:l,exposeActiveIndex:K,arrowDisplay:v,hasLabel:m,hover:u,isCardType:g,items:s,isVertical:b,containerStyle:C,isItemsTwoLength:p,handleButtonEnter:U,handleButtonLeave:J,handleIndicatorClick:Y,handleMouseEnter:O,handleMouseLeave:B,setActiveItem:I,prev:L,next:V,PlaceholderItem:Q,isTwoLengthShow:x,ItemsSorter:r,throttledArrowClick:w,throttledIndicatorHover:_}},Cte=["aria-label"],Ste=["aria-label"],xte=["onMouseenter","onClick"],Ete=["aria-label"],kte={key:0},Ate={key:2,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}};var Tte=W({name:"ElCarousel",__name:"carousel",props:bte,emits:yte,setup(e,{expose:t,emit:n}){const s=e,a=n,{root:o,activeIndex:r,exposeActiveIndex:i,arrowDisplay:l,hasLabel:c,hover:u,isCardType:d,items:h,isVertical:p,containerStyle:v,handleButtonEnter:m,handleButtonLeave:g,handleIndicatorClick:b,handleMouseEnter:C,handleMouseLeave:w,setActiveItem:_,prev:x,next:E,PlaceholderItem:T,isTwoLengthShow:R,ItemsSorter:I,throttledArrowClick:M,throttledIndicatorHover:$}=_te(s,a),O=Ee("carousel"),{t:B}=It(),U=k(()=>{const L=[O.b(),O.m(s.direction)];return f(d)&&L.push(O.m("card")),L}),J=k(()=>{const L=[O.e("indicators"),O.em("indicators",s.direction)];return f(c)&&L.push(O.em("indicators","labels")),s.indicatorPosition==="outside"&&L.push(O.em("indicators","outside")),f(p)&&L.push(O.em("indicators","right")),L});function Y(L){if(!s.motionBlur)return;const V=f(p)?`${O.namespace.value}-transitioning-vertical`:`${O.namespace.value}-transitioning`;L.currentTarget.classList.add(V)}function N(L){if(!s.motionBlur)return;const V=f(p)?`${O.namespace.value}-transitioning-vertical`:`${O.namespace.value}-transitioning`;L.currentTarget.classList.remove(V)}return t({activeIndex:i,setActiveItem:_,prev:x,next:E}),(L,V)=>(S(),P("div",{ref_key:"root",ref:o,class:D(U.value),onMouseenter:V[6]||(V[6]=lt((...z)=>f(C)&&f(C)(...z),["stop"])),onMouseleave:V[7]||(V[7]=lt((...z)=>f(w)&&f(w)(...z),["stop"]))},[f(l)?(S(),le(vs,{key:0,name:"carousel-arrow-left",persisted:""},{default:X(()=>[gt(A("button",{type:"button",class:D([f(O).e("arrow"),f(O).em("arrow","left")]),"aria-label":f(B)("el.carousel.leftArrow"),onMouseenter:V[0]||(V[0]=z=>f(m)("left")),onMouseleave:V[1]||(V[1]=(...z)=>f(g)&&f(g)(...z)),onClick:V[2]||(V[2]=lt(z=>f(M)(f(r)-1),["stop"]))},[j(f(Je),null,{default:X(()=>[j(f(No))]),_:1})],42,Cte),[[Bt,(e.arrow==="always"||f(u))&&(e.loop||f(r)>0)]])]),_:1})):ie("v-if",!0),f(l)?(S(),le(vs,{key:1,name:"carousel-arrow-right",persisted:""},{default:X(()=>[gt(A("button",{type:"button",class:D([f(O).e("arrow"),f(O).em("arrow","right")]),"aria-label":f(B)("el.carousel.rightArrow"),onMouseenter:V[3]||(V[3]=z=>f(m)("right")),onMouseleave:V[4]||(V[4]=(...z)=>f(g)&&f(g)(...z)),onClick:V[5]||(V[5]=lt(z=>f(M)(f(r)+1),["stop"]))},[j(f(Je),null,{default:X(()=>[j(f(Ls))]),_:1})],42,Ste),[[Bt,(e.arrow==="always"||f(u))&&(e.loop||f(r)[e.indicatorPosition!=="none"?(S(),P("ul",{key:0,class:D(J.value)},[(S(!0),P(He,null,yt(f(h),(z,G)=>gt((S(),P("li",{key:G,class:D([f(O).e("indicator"),f(O).em("indicator",e.direction),f(O).is("active",G===f(r))]),onMouseenter:Q=>f($)(G),onClick:lt(Q=>f(b)(G),["stop"])},[A("button",{class:D(f(O).e("button")),"aria-label":f(B)("el.carousel.indicator",{index:G+1})},[f(c)?(S(),P("span",kte,ve(z.props.label),1)):ie("v-if",!0)],10,Ete)],42,xte)),[[Bt,f(R)(G)]])),128))],2)):ie("v-if",!0)]),_:1}),e.motionBlur?(S(),P("svg",Ate,[...V[8]||(V[8]=[A("defs",null,[A("filter",{id:"elCarouselHorizontal"},[A("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),A("filter",{id:"elCarouselVertical"},[A("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])],-1)])])):ie("v-if",!0)],34))}});const Mte=Te({name:{type:String,default:""},label:{type:[String,Number],default:""}}),Pte=e=>{const t=je(XE),n=_t(),s=F(),a=F(!1),o=F(0),r=F(1),i=F(!1),l=F(!1),c=F(!1),u=F(!1),{isCardType:d,isVertical:h,cardScale:p}=t;function v(_,x,E){const T=E-1,R=x-1,I=x+1,M=E/2;return x===0&&_===T?-1:x===T&&_===0?E:_=M?E+1:_>I&&_-x>=M?-2:_}function m(_,x){var E,T;const R=f(h)?((E=t.root.value)==null?void 0:E.offsetHeight)||0:((T=t.root.value)==null?void 0:T.offsetWidth)||0;return c.value?R*((2-p)*(_-x)+1)/4:_{var T;const R=f(d),I=(T=t.items.value.length)!=null?T:Number.NaN,M=_===x;!R&&!$t(E)&&(u.value=M||_===E),!M&&I>2&&t.loop&&(_=v(_,x,I));const $=f(h);i.value=M,R?(c.value=Math.round(Math.abs(_-x))<=1,o.value=m(_,x),r.value=f(i)?1:p):o.value=g(_,x,$),l.value=!0,M&&s.value&&t.setContainerHeight(s.value.offsetHeight)};function C(){if(t&&f(d)){const _=t.items.value.findIndex(({uid:x})=>x===n.uid);t.setActiveItem(_)}}const w={props:e,states:Wt({hover:a,translate:o,scale:r,active:i,ready:l,inStage:c,animating:u}),uid:n.uid,getVnode:()=>n.vnode,translateItem:b};return t.addItem(w),Gt(()=>{t.removeItem(w)}),{carouselItemRef:s,active:i,animating:u,hover:a,inStage:c,isVertical:h,translate:o,isCardType:d,scale:r,ready:l,handleItemClick:C}};var ZE=W({name:k3,__name:"carousel-item",props:Mte,setup(e){const t=e,n=Ee("carousel"),{carouselItemRef:s,active:a,animating:o,hover:r,inStage:i,isVertical:l,translate:c,isCardType:u,scale:d,ready:h,handleItemClick:p}=Pte(t),v=k(()=>[n.e("item"),n.is("active",a.value),n.is("in-stage",i.value),n.is("hover",r.value),n.is("animating",o.value),{[n.em("item","card")]:u.value,[n.em("item","card-vertical")]:u.value&&l.value}]),m=k(()=>{const b=`${`translate${f(l)?"Y":"X"}`}(${f(c)}px)`,C=`scale(${f(d)})`;return{transform:[b,C].join(" ")}});return(g,b)=>gt((S(),P("div",{ref_key:"carouselItemRef",ref:s,class:D(v.value),style:tt(m.value),onClick:b[0]||(b[0]=(...C)=>f(p)&&f(p)(...C))},[f(u)?gt((S(),P("div",{key:0,class:D(f(n).e("mask"))},null,2)),[[Bt,!f(a)]]):ie("v-if",!0),ue(g.$slots,"default")],6)),[[Bt,f(h)]])}});const Rte=pt(Tte,{CarouselItem:ZE}),Ite=An(ZE),QE=Te({modelValue:{type:re([Number,String,Array,Object])},options:{type:re(Array),default:()=>[]},props:{type:re(Object),default:()=>({})}}),Ote={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:qt,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500,checkOnClickNode:!1,checkOnClickLeaf:!0,showPrefix:!0},Lte=Te({...QE,border:{type:Boolean,default:!0},renderLabel:{type:Function}}),ek=e=>!0,Nte={[ct]:ek,[Pt]:ek,close:()=>!0,"expand-change":e=>e},$te=e=>k(()=>({...Ote,...e.props})),Dte=Te({...QE,size:rs,placeholder:String,disabled:{type:Boolean,default:void 0},clearable:Boolean,clearIcon:{type:en,default:$o},filterable:Boolean,filterMethod:{type:re(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:Boolean,maxCollapseTagsTooltipHeight:{type:[String,Number]},debounce:{type:Number,default:300},beforeFilter:{type:re(Function),default:()=>!0},placement:{type:re(String),values:Qr,default:"bottom-start"},fallbackPlacements:{type:re(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:tn.popperClass,popperStyle:tn.popperStyle,teleported:tn.teleported,effect:{type:re(String),default:"light"},tagType:{...sl.type,default:"info"},tagEffect:{...sl.effect,default:"light"},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},showCheckedStrategy:{type:String,values:["parent","child"],default:"child"},checkOnClickNode:Boolean,showPrefix:{type:Boolean,default:!0},...wu}),tk=e=>!0,Fte={[ct]:tk,[Pt]:tk,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,visibleChange:e=>Qt(e),expandChange:e=>!!e,removeTag:e=>!!e},nk={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:rs,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...ia(["ariaControls"])},sk={[ct]:e=>Xe(e)||at(e)||Qt(e),change:e=>Xe(e)||at(e)||Qt(e)},Vf=Symbol("checkboxGroupContextKey"),Bte=({model:e,isChecked:t})=>{const n=je(Vf,void 0),s=je(Su,void 0),a=k(()=>{var r,i;const l=(r=n==null?void 0:n.max)==null?void 0:r.value,c=(i=n==null?void 0:n.min)==null?void 0:i.value;return!$t(l)&&e.value.length>=l&&!t.value||!$t(c)&&e.value.length<=c&&t.value});return{isDisabled:In(k(()=>{var r,i;return n===void 0?(r=s==null?void 0:s.disabled)!=null?r:a.value:((i=n.disabled)==null?void 0:i.value)||a.value})),isLimitDisabled:a}},Vte=(e,{model:t,isLimitExceeded:n,hasOwnLabel:s,isDisabled:a,isLabeledByFormItem:o})=>{const r=je(Vf,void 0),{formItem:i}=Cs(),{emit:l}=_t();function c(v){var m,g,b,C;return[!0,e.trueValue,e.trueLabel].includes(v)?(g=(m=e.trueValue)!=null?m:e.trueLabel)!=null?g:!0:(C=(b=e.falseValue)!=null?b:e.falseLabel)!=null?C:!1}function u(v,m){l(Pt,c(v),m)}function d(v){if(n.value)return;const m=v.target;l(Pt,c(m.checked),v)}async function h(v){n.value||!s.value&&!a.value&&o.value&&(v.composedPath().some(b=>b.tagName==="LABEL")||(t.value=c([!1,e.falseValue,e.falseLabel].includes(t.value)),await ze(),u(t.value,v)))}const p=k(()=>(r==null?void 0:r.validateEvent)||e.validateEvent);return me(()=>e.modelValue,()=>{p.value&&(i==null||i.validate("change").catch(v=>void 0))}),{handleChange:d,onClickRoot:h}},zte=e=>{const t=F(!1),{emit:n}=_t(),s=je(Vf,void 0),a=k(()=>$t(s)===!1),o=F(!1),r=k({get(){var i,l;return a.value?(i=s==null?void 0:s.modelValue)==null?void 0:i.value:(l=e.modelValue)!=null?l:t.value},set(i){var l,c;a.value&&ke(i)?(o.value=((l=s==null?void 0:s.max)==null?void 0:l.value)!==void 0&&i.length>(s==null?void 0:s.max.value)&&i.length>r.value.length,o.value===!1&&((c=s==null?void 0:s.changeEvent)==null||c.call(s,i))):(n(ct,i),t.value=i)}});return{model:r,isGroup:a,isLimitExceeded:o}},Hte=(e,t,{model:n})=>{const s=je(Vf,void 0),a=F(!1),o=k(()=>Ka(e.value)?e.label:e.value),r=k(()=>{const u=n.value;return Qt(u)?u:ke(u)?ht(o.value)?u.map(cn).some(d=>$n(d,o.value)):u.map(cn).includes(o.value):u!=null?u===e.trueValue||u===e.trueLabel:!!u}),i=ts(k(()=>{var u;return(u=s==null?void 0:s.size)==null?void 0:u.value}),{prop:!0}),l=ts(k(()=>{var u;return(u=s==null?void 0:s.size)==null?void 0:u.value})),c=k(()=>!!t.default||!Ka(o.value));return{checkboxButtonSize:i,isChecked:r,isFocused:a,checkboxSize:l,hasOwnLabel:c,actualValue:o}},ak=(e,t)=>{const{formItem:n}=Cs(),{model:s,isGroup:a,isLimitExceeded:o}=zte(e),{isFocused:r,isChecked:i,checkboxButtonSize:l,checkboxSize:c,hasOwnLabel:u,actualValue:d}=Hte(e,t,{model:s}),{isDisabled:h}=Bte({model:s,isChecked:i}),{inputId:p,isLabeledByFormItem:v}=uo(e,{formItemContext:n,disableIdGeneration:u,disableIdManagement:a}),{handleChange:m,onClickRoot:g}=Vte(e,{model:s,isLimitExceeded:o,hasOwnLabel:u,isDisabled:h,isLabeledByFormItem:v});return(()=>{function C(){var w,_;ke(s.value)&&!s.value.includes(d.value)?s.value.push(d.value):s.value=(_=(w=e.trueValue)!=null?w:e.trueLabel)!=null?_:!0}e.checked&&C()})(),ai({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},k(()=>a.value&&Ka(e.value))),ai({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},k(()=>!!e.trueLabel)),ai({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},k(()=>!!e.falseLabel)),{inputId:p,isLabeledByFormItem:v,isChecked:i,isDisabled:h,isFocused:r,checkboxButtonSize:l,checkboxSize:c,hasOwnLabel:u,model:s,actualValue:d,handleChange:m,onClickRoot:g}},Wte=["id","indeterminate","name","tabindex","disabled"];var ok=W({name:"ElCheckbox",__name:"checkbox",props:nk,emits:sk,setup(e){const t=e,n=zn(),{inputId:s,isLabeledByFormItem:a,isChecked:o,isDisabled:r,isFocused:i,checkboxSize:l,hasOwnLabel:c,model:u,actualValue:d,handleChange:h,onClickRoot:p}=ak(t,n),v=k(()=>{var C,w,_,x;return t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":(w=(C=t.trueValue)!=null?C:t.trueLabel)!=null?w:!0,"false-value":(x=(_=t.falseValue)!=null?_:t.falseLabel)!=null?x:!1}:{value:d.value}}),m=Ee("checkbox"),g=k(()=>[m.b(),m.m(l.value),m.is("disabled",r.value),m.is("bordered",t.border),m.is("checked",o.value)]),b=k(()=>[m.e("input"),m.is("disabled",r.value),m.is("checked",o.value),m.is("indeterminate",t.indeterminate),m.is("focus",i.value)]);return(C,w)=>(S(),le(bt(!f(c)&&f(a)?"span":"label"),{for:!f(c)&&f(a)?null:f(s),class:D(g.value),"aria-controls":e.indeterminate?e.ariaControls:null,"aria-checked":e.indeterminate?"mixed":void 0,"aria-label":e.ariaLabel,onClick:f(p)},{default:X(()=>[A("span",{class:D(b.value)},[gt(A("input",wt({id:f(s),"onUpdate:modelValue":w[0]||(w[0]=_=>pn(u)?u.value=_:null),class:f(m).e("original"),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:f(r)},v.value,{onChange:w[1]||(w[1]=(..._)=>f(h)&&f(h)(..._)),onFocus:w[2]||(w[2]=_=>i.value=!0),onBlur:w[3]||(w[3]=_=>i.value=!1),onClick:w[4]||(w[4]=lt(()=>{},["stop"]))}),null,16,Wte),[[jS,f(u)]]),A("span",{class:D(f(m).e("inner"))},null,2)],2),f(c)?(S(),P("span",{key:0,class:D(f(m).e("label"))},[ue(C.$slots,"default"),C.$slots.default?ie("v-if",!0):(S(),P(He,{key:0},[Ue(ve(e.label),1)],64))],2)):ie("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}});const jte=["name","tabindex","disabled"];var A3=W({name:"ElCheckboxButton",__name:"checkbox-button",props:nk,emits:sk,setup(e){const t=e,n=zn(),{isFocused:s,isChecked:a,isDisabled:o,checkboxButtonSize:r,model:i,actualValue:l,handleChange:c}=ak(t,n),u=k(()=>{var m,g,b,C;return t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":(g=(m=t.trueValue)!=null?m:t.trueLabel)!=null?g:!0,"false-value":(C=(b=t.falseValue)!=null?b:t.falseLabel)!=null?C:!1}:{value:l.value}}),d=je(Vf,void 0),h=Ee("checkbox"),p=k(()=>{var m,g,b,C;const w=(g=(m=d==null?void 0:d.fill)==null?void 0:m.value)!=null?g:"";return{backgroundColor:w,borderColor:w,color:(C=(b=d==null?void 0:d.textColor)==null?void 0:b.value)!=null?C:"",boxShadow:w?`-1px 0 0 0 ${w}`:void 0}}),v=k(()=>[h.b("button"),h.bm("button",r.value),h.is("disabled",o.value),h.is("checked",a.value),h.is("focus",s.value)]);return(m,g)=>(S(),P("label",{class:D(v.value)},[gt(A("input",wt({"onUpdate:modelValue":g[0]||(g[0]=b=>pn(i)?i.value=b:null),class:f(h).be("button","original"),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:f(o)},u.value,{onChange:g[1]||(g[1]=(...b)=>f(c)&&f(c)(...b)),onFocus:g[2]||(g[2]=b=>s.value=!0),onBlur:g[3]||(g[3]=b=>s.value=!1),onClick:g[4]||(g[4]=lt(()=>{},["stop"]))}),null,16,jte),[[jS,f(i)]]),m.$slots.default||e.label?(S(),P("span",{key:0,class:D(f(h).be("button","inner")),style:tt(f(a)?p.value:void 0)},[ue(m.$slots,"default",{},()=>[Ue(ve(e.label),1)])],6)):ie("v-if",!0)],2))}});const Kte=Te({modelValue:{type:re(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:rs,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:re(Array)},props:{type:re(Object),default:()=>rk},type:{type:String,values:["checkbox","button"],default:"checkbox"},...ia(["ariaLabel"])}),Ute={[ct]:e=>ke(e),change:e=>ke(e)},rk={label:"label",value:"value",disabled:"disabled"};var ik=W({name:"ElCheckboxGroup",__name:"checkbox-group",props:Kte,emits:Ute,setup(e,{emit:t}){const n=e,s=t,a=Ee("checkbox"),o=In(),{formItem:r}=Cs(),{inputId:i,isLabeledByFormItem:l}=uo(n,{formItemContext:r}),c=async v=>{s(ct,v),await ze(),s(Pt,v)},u=k({get(){return n.modelValue},set(v){c(v)}}),d=k(()=>({...rk,...n.props})),h=v=>{const{label:m,value:g,disabled:b}=d.value,C={label:v[m],value:v[g],disabled:v[b]};return{...pp(v,[m,g,b]),...C}},p=k(()=>n.type==="button"?A3:ok);return Tt(Vf,{...Ui(ps(n),["size","min","max","validateEvent","fill","textColor"]),disabled:o,modelValue:u,changeEvent:c}),me(()=>n.modelValue,(v,m)=>{n.validateEvent&&!$n(v,m)&&(r==null||r.validate("change").catch(g=>void 0))}),(v,m)=>{var g;return S(),le(bt(e.tag),{id:f(i),class:D(f(a).b("group")),role:"group","aria-label":f(l)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":f(l)?(g=f(r))==null?void 0:g.labelId:void 0},{default:X(()=>[ue(v.$slots,"default",{},()=>[(S(!0),P(He,null,yt(e.options,(b,C)=>(S(),le(bt(p.value),wt({key:C},{ref_for:!0},h(b)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});const mr=pt(ok,{CheckboxButton:A3,CheckboxGroup:ik}),qte=An(A3),T3=An(ik),lk=Te({modelValue:{type:[String,Number,Boolean],default:void 0},size:rs,disabled:{type:Boolean,default:void 0},label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),Gte=Te({...lk,border:Boolean}),ck={[ct]:e=>Xe(e)||at(e)||Qt(e),[Pt]:e=>Xe(e)||at(e)||Qt(e)},uk=Symbol("radioGroupKey"),dk=(e,t)=>{const n=F(),s=je(uk,void 0),a=k(()=>!!s),o=k(()=>Ka(e.value)?e.label:e.value),r=k({get(){return a.value?s.modelValue:e.modelValue},set(d){a.value?s.changeEvent(d):t&&t(ct,d),n.value.checked=e.modelValue===o.value}}),i=ts(k(()=>s==null?void 0:s.size)),l=In(k(()=>s==null?void 0:s.disabled)),c=F(!1),u=k(()=>l.value||a.value&&r.value!==o.value?-1:0);return ai({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},k(()=>a.value&&Ka(e.value))),{radioRef:n,isGroup:a,radioGroup:s,focus:c,size:i,disabled:l,tabIndex:u,modelValue:r,actualValue:o}},Yte=["value","name","disabled","checked"];var fk=W({name:"ElRadio",__name:"radio",props:Gte,emits:ck,setup(e,{emit:t}){const n=e,s=t,a=Ee("radio"),{radioRef:o,radioGroup:r,focus:i,size:l,disabled:c,modelValue:u,actualValue:d}=dk(n,s);function h(){ze(()=>s(Pt,u.value))}return(p,v)=>{var m;return S(),P("label",{class:D([f(a).b(),f(a).is("disabled",f(c)),f(a).is("focus",f(i)),f(a).is("bordered",e.border),f(a).is("checked",f(u)===f(d)),f(a).m(f(l))])},[A("span",{class:D([f(a).e("input"),f(a).is("disabled",f(c)),f(a).is("checked",f(u)===f(d))])},[gt(A("input",{ref_key:"radioRef",ref:o,"onUpdate:modelValue":v[0]||(v[0]=g=>pn(u)?u.value=g:null),class:D(f(a).e("original")),value:f(d),name:e.name||((m=f(r))==null?void 0:m.name),disabled:f(c),checked:f(u)===f(d),type:"radio",onFocus:v[1]||(v[1]=g=>i.value=!0),onBlur:v[2]||(v[2]=g=>i.value=!1),onChange:h,onClick:v[3]||(v[3]=lt(()=>{},["stop"]))},null,42,Yte),[[US,f(u)]]),A("span",{class:D(f(a).e("inner"))},null,2)],2),A("span",{class:D(f(a).e("label")),onKeydown:v[4]||(v[4]=lt(()=>{},["stop"]))},[ue(p.$slots,"default",{},()=>[Ue(ve(e.label),1)])],34)],2)}}});const Xte=Te({...lk}),Jte=["value","name","disabled"];var M3=W({name:"ElRadioButton",__name:"radio-button",props:Xte,setup(e){const t=e,n=Ee("radio"),{radioRef:s,focus:a,size:o,disabled:r,modelValue:i,radioGroup:l,actualValue:c}=dk(t),u=k(()=>({backgroundColor:(l==null?void 0:l.fill)||"",borderColor:(l==null?void 0:l.fill)||"",boxShadow:l!=null&&l.fill?`-1px 0 0 0 ${l.fill}`:"",color:(l==null?void 0:l.textColor)||""}));return(d,h)=>{var p;return S(),P("label",{class:D([f(n).b("button"),f(n).is("active",f(i)===f(c)),f(n).is("disabled",f(r)),f(n).is("focus",f(a)),f(n).bm("button",f(o))])},[gt(A("input",{ref_key:"radioRef",ref:s,"onUpdate:modelValue":h[0]||(h[0]=v=>pn(i)?i.value=v:null),class:D(f(n).be("button","original-radio")),value:f(c),type:"radio",name:e.name||((p=f(l))==null?void 0:p.name),disabled:f(r),onFocus:h[1]||(h[1]=v=>a.value=!0),onBlur:h[2]||(h[2]=v=>a.value=!1),onClick:h[3]||(h[3]=lt(()=>{},["stop"]))},null,42,Jte),[[US,f(i)]]),A("span",{class:D(f(n).be("button","inner")),style:tt(f(i)===f(c)?u.value:{}),onKeydown:h[4]||(h[4]=lt(()=>{},["stop"]))},[ue(d.$slots,"default",{},()=>[Ue(ve(e.label),1)])],38)],2)}}});const hk={label:"label",value:"value",disabled:"disabled"},Zte=Te({id:{type:String,default:void 0},size:rs,disabled:{type:Boolean,default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},options:{type:re(Array)},props:{type:re(Object),default:()=>hk},type:{type:String,values:["radio","button"],default:"radio"},...ia(["ariaLabel"])}),Qte=ck,ene=["id","aria-label","aria-labelledby"];var pk=W({name:"ElRadioGroup",__name:"radio-group",props:Zte,emits:Qte,setup(e,{emit:t}){const n=e,s=t,a=Ee("radio"),o=$s(),r=F(),{formItem:i}=Cs(),{inputId:l,isLabeledByFormItem:c}=uo(n,{formItemContext:i}),u=m=>{s(ct,m),ze(()=>s(Pt,m))};St(()=>{const m=r.value.querySelectorAll("[type=radio]"),g=m[0];!Array.from(m).some(b=>b.checked)&&g&&(g.tabIndex=0)});const d=k(()=>n.name||o.value),h=k(()=>({...hk,...n.props})),p=m=>{const{label:g,value:b,disabled:C}=h.value,w={label:m[g],value:m[b],disabled:m[C]};return{...pp(m,[g,b,C]),...w}},v=k(()=>n.type==="button"?M3:fk);return Tt(uk,Wt({...ps(n),changeEvent:u,name:d})),me(()=>n.modelValue,(m,g)=>{n.validateEvent&&!$n(m,g)&&(i==null||i.validate("change").catch(b=>void 0))}),(m,g)=>(S(),P("div",{id:f(l),ref_key:"radioGroupRef",ref:r,class:D(f(a).b("group")),role:"radiogroup","aria-label":f(c)?void 0:e.ariaLabel||"radio-group","aria-labelledby":f(c)?f(i).labelId:void 0},[ue(m.$slots,"default",{},()=>[(S(!0),P(He,null,yt(e.options,(b,C)=>(S(),le(bt(v.value),wt({key:C},{ref_for:!0},p(b)),null,16))),128))])],10,ene))}});const vk=pt(fk,{RadioButton:M3,RadioGroup:pk}),tne=An(pk),nne=An(M3),jg=Symbol();function sne(e){return!!(ke(e)?e.every(({type:t})=>t===Kn):(e==null?void 0:e.type)===Kn)}var ane=W({name:"NodeContent",props:{node:{type:Object,required:!0}},setup(e){const t=Ee("cascader-node"),{renderLabelFn:n}=je(jg),{node:s}=e,{data:a,label:o}=s,r=()=>{const i=n==null?void 0:n({node:s,data:a});return sne(i)?o:i??o};return()=>j("span",{class:t.e("label")},[r()])}});const one=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"];var rne=W({name:"ElCascaderNode",__name:"node",props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=e,s=t,a=je(jg),o=Ee("cascader-node"),r=k(()=>a.isHoverMenu),i=k(()=>a.config.multiple),l=k(()=>a.config.checkStrictly),c=k(()=>a.config.showPrefix),u=k(()=>{var I;return(I=a.checkedNodes[0])==null?void 0:I.uid}),d=k(()=>n.node.isDisabled),h=k(()=>n.node.isLeaf),p=k(()=>l.value&&!h.value||!d.value),v=k(()=>g(a.expandingNode)),m=k(()=>l.value&&a.checkedNodes.some(g)),g=I=>{var M;const{level:$,uid:O}=n.node;return((M=I==null?void 0:I.pathNodes[$-1])==null?void 0:M.uid)===O},b=()=>{v.value||a.expandNode(n.node)},C=I=>{const{node:M}=n;I!==M.checked&&a.handleCheckChange(M,I)},w=()=>{a.lazyLoad(n.node,()=>{h.value||b()})},_=I=>{r.value&&(x(),!h.value&&s("expand",I))},x=()=>{const{node:I}=n;!p.value||I.loading||(I.loaded?b():w())},E=()=>{h.value&&!d.value&&!l.value&&!i.value?R(!0):(a.config.checkOnClickNode&&(i.value||l.value)||h.value&&a.config.checkOnClickLeaf)&&!d.value?T(!n.node.checked):r.value||x()},T=I=>{l.value?(C(I),n.node.loaded&&b()):R(I)},R=I=>{n.node.loaded?(C(I),!l.value&&b()):w()};return(I,M)=>(S(),P("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!h.value,"aria-owns":h.value?void 0:e.menuId,"aria-expanded":v.value,tabindex:p.value?-1:void 0,class:D([f(o).b(),f(o).is("selectable",l.value),f(o).is("active",e.node.checked),f(o).is("disabled",!p.value),v.value&&"in-active-path",m.value&&"in-checked-path"]),onMouseenter:_,onFocus:_,onClick:E},[ie(" prefix "),i.value&&c.value?(S(),le(f(mr),{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:d.value,onClick:M[0]||(M[0]=lt(()=>{},["stop"])),"onUpdate:modelValue":T},null,8,["model-value","indeterminate","disabled"])):l.value&&c.value?(S(),le(f(vk),{key:1,"model-value":u.value,label:e.node.uid,disabled:d.value,"onUpdate:modelValue":T,onClick:M[1]||(M[1]=lt(()=>{},["stop"]))},{default:X(()=>[ie(` +**/let Y4;const vS=typeof window<"u"&&window.trustedTypes;if(vS)try{Y4=vS.createPolicy("vue",{createHTML:e=>e})}catch{}const mS=Y4?e=>Y4.createHTML(e):e=>e,wL="http://www.w3.org/2000/svg",_L="http://www.w3.org/1998/Math/MathML",Hi=typeof document<"u"?document:null,gS=Hi&&Hi.createElement("template"),CL={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const a=t==="svg"?Hi.createElementNS(wL,e):t==="mathml"?Hi.createElementNS(_L,e):n?Hi.createElement(e,{is:n}):Hi.createElement(e);return e==="select"&&s&&s.multiple!=null&&a.setAttribute("multiple",s.multiple),a},createText:e=>Hi.createTextNode(e),createComment:e=>Hi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Hi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,a,o){const r=n?n.previousSibling:t.lastChild;if(a&&(a===o||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===o||!(a=a.nextSibling)););else{gS.innerHTML=mS(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const i=gS.content;if(s==="svg"||s==="mathml"){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Yl="transition",Q0="animation",mf=Symbol("_vtc"),bS={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},yS=hs({},SC,bS),vs=(e=>(e.displayName="Transition",e.props=yS,e))((e,{slots:t})=>rt(AO,_S(e),t)),fu=(e,t=[])=>{ke(e)?e.forEach(n=>n(...t)):e&&e(...t)},wS=e=>e?ke(e)?e.some(t=>t.length>1):e.length>1:!1;function _S(e){const t={};for(const O in e)O in bS||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:s,duration:a,enterFromClass:o=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=r,appearToClass:u=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,v=SL(a),m=v&&v[0],g=v&&v[1],{onBeforeEnter:b,onEnter:_,onEnterCancelled:w,onLeave:C,onLeaveCancelled:x,onBeforeAppear:E=b,onAppear:T=_,onAppearCancelled:R=w}=t,I=(O,B,U,J)=>{O._enterCancelled=J,Xl(O,B?u:i),Xl(O,B?c:r),U&&U()},M=(O,B)=>{O._isLeaving=!1,Xl(O,d),Xl(O,p),Xl(O,h),B&&B()},$=O=>(B,U)=>{const J=O?T:_,Y=()=>I(B,O,U);fu(J,[B,Y]),CS(()=>{Xl(B,O?l:o),Gr(B,O?u:i),wS(J)||SS(B,s,m,Y)})};return hs(t,{onBeforeEnter(O){fu(b,[O]),Gr(O,o),Gr(O,r)},onBeforeAppear(O){fu(E,[O]),Gr(O,l),Gr(O,c)},onEnter:$(!1),onAppear:$(!0),onLeave(O,B){O._isLeaving=!0;const U=()=>M(O,B);Gr(O,d),O._enterCancelled?(Gr(O,h),J4(O)):(J4(O),Gr(O,h)),CS(()=>{O._isLeaving&&(Xl(O,d),Gr(O,p),wS(C)||SS(O,s,g,U))}),fu(C,[O,U])},onEnterCancelled(O){I(O,!1,void 0,!0),fu(w,[O])},onAppearCancelled(O){I(O,!0,void 0,!0),fu(R,[O])},onLeaveCancelled(O){M(O),fu(x,[O])}})}function SL(e){if(e==null)return null;if(ht(e))return[X4(e.enter),X4(e.leave)];{const t=X4(e);return[t,t]}}function X4(e){return OI(e)}function Gr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[mf]||(e[mf]=new Set)).add(t)}function Xl(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[mf];n&&(n.delete(t),n.size||(e[mf]=void 0))}function CS(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let xL=0;function SS(e,t,n,s){const a=e._endId=++xL,o=()=>{a===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:r,timeout:i,propCount:l}=xS(e,t);if(!r)return s();const c=r+"end";let u=0;const d=()=>{e.removeEventListener(c,h),o()},h=p=>{p.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[v]||"").split(", "),a=s(`${Yl}Delay`),o=s(`${Yl}Duration`),r=ES(a,o),i=s(`${Q0}Delay`),l=s(`${Q0}Duration`),c=ES(i,l);let u=null,d=0,h=0;t===Yl?r>0&&(u=Yl,d=r,h=o.length):t===Q0?c>0&&(u=Q0,d=c,h=l.length):(d=Math.max(r,c),u=d>0?r>c?Yl:Q0:null,h=u?u===Yl?o.length:l.length:0);const p=u===Yl&&/\b(?:transform|all)(?:,|$)/.test(s(`${Yl}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:p}}function ES(e,t){for(;e.lengthkS(n)+kS(e[s])))}function kS(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function J4(e){return(e?e.ownerDocument:document).body.offsetHeight}function EL(e,t,n){const s=e[mf];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Z2=Symbol("_vod"),AS=Symbol("_vsh"),Bt={name:"show",beforeMount(e,{value:t},{transition:n}){e[Z2]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ep(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),ep(e,!0),s.enter(e)):s.leave(e,()=>{ep(e,!1)}):ep(e,t))},beforeUnmount(e,{value:t}){ep(e,t)}};function ep(e,t){e.style.display=t?e[Z2]:"none",e[AS]=!t}const kL=Symbol(""),AL=/(?:^|;)\s*display\s*:/;function TL(e,t,n){const s=e.style,a=Xe(n);let o=!1;if(n&&!a){if(t)if(Xe(t))for(const r of t.split(";")){const i=r.slice(0,r.indexOf(":")).trim();n[i]==null&&Q2(s,i,"")}else for(const r in t)n[r]==null&&Q2(s,r,"");for(const r in n)r==="display"&&(o=!0),Q2(s,r,n[r])}else if(a){if(t!==n){const r=s[kL];r&&(n+=";"+r),s.cssText=n,o=AL.test(n)}}else t&&e.removeAttribute("style");Z2 in e&&(e[Z2]=o?s.display:"",e[AS]&&(s.display="none"))}const TS=/\s*!important$/;function Q2(e,t,n){if(ke(n))n.forEach(s=>Q2(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ML(e,t);TS.test(n)?e.setProperty(Ii(s),n.replace(TS,""),"important"):e[s]=n}}const MS=["Webkit","Moz","ms"],Z4={};function ML(e,t){const n=Z4[t];if(n)return n;let s=xa(t);if(s!=="filter"&&s in e)return Z4[t]=s;s=O0(s);for(let a=0;aQ4||(OL.then(()=>Q4=0),Q4=Date.now());function NL(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ar($L(s,n.value),t,5,[s])};return n.value=e,n.attached=LL(),n}function $L(e,t){if(ke(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>a=>!a._stopped&&s&&s(a))}else return t}const NS=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,DL=(e,t,n,s,a,o)=>{const r=a==="svg";t==="class"?EL(e,s,r):t==="style"?TL(e,n,s):w2(t)?d4(t)||RL(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):FL(e,t,s,r))?(IS(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&RS(e,t,s,r,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Xe(s))?IS(e,xa(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),RS(e,t,s,r))};function FL(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&NS(t)&&et(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return NS(t)&&Xe(n)?!1:t in e}const $S=new WeakMap,DS=new WeakMap,eg=Symbol("_moveCb"),FS=Symbol("_enterCb"),BS=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:hs({},yS,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=_t(),s=CC();let a,o;return or(()=>{if(!a.length)return;const r=e.moveClass||`${e.name||"v"}-move`;if(!HL(a[0].el,n.vnode.el,r)){a=[];return}a.forEach(BL),a.forEach(VL);const i=a.filter(zL);J4(n.vnode.el),i.forEach(l=>{const c=l.el,u=c.style;Gr(c,r),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[eg]=h=>{h&&h.target!==c||(!h||h.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",d),c[eg]=null,Xl(c,r))};c.addEventListener("transitionend",d)}),a=[]}),()=>{const r=cn(e),i=_S(r);let l=r.tag||He;if(a=[],o)for(let c=0;c{i.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:r}=xS(s);return o.removeChild(s),r}const gf=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ke(t)?n=>x2(t,n):t};function WL(e){e.target.composing=!0}function zS(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Wi=Symbol("_assign");function HS(e,t,n){return t&&(e=e.trim()),n&&(e=h4(e)),e}const WS={created(e,{modifiers:{lazy:t,trim:n,number:s}},a){e[Wi]=gf(a);const o=s||a.props&&a.props.type==="number";Jl(e,t?"change":"input",r=>{r.target.composing||e[Wi](HS(e.value,n,o))}),(n||o)&&Jl(e,"change",()=>{e.value=HS(e.value,n,o)}),t||(Jl(e,"compositionstart",WL),Jl(e,"compositionend",zS),Jl(e,"change",zS))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:a,number:o}},r){if(e[Wi]=gf(r),e.composing)return;const i=(o||e.type==="number")&&!/^0\d/.test(e.value)?h4(e.value):e.value,l=t??"";i!==l&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||a&&e.value.trim()===l)||(e.value=l))}},jS={deep:!0,created(e,t,n){e[Wi]=gf(n),Jl(e,"change",()=>{const s=e._modelValue,a=qS(e),o=e.checked,r=e[Wi];if(ke(s)){const i=N_(s,a),l=i!==-1;if(o&&!l)r(s.concat(a));else if(!o&&l){const c=[...s];c.splice(i,1),r(c)}}else if(_2(s)){const i=new Set(s);o?i.add(a):i.delete(a),r(i)}else r(GS(e,o))})},mounted:KS,beforeUpdate(e,t,n){e[Wi]=gf(n),KS(e,t,n)}};function KS(e,{value:t,oldValue:n},s){e._modelValue=t;let a;if(ke(t))a=N_(t,s.props.value)>-1;else if(_2(t))a=t.has(s.props.value);else{if(t===n)return;a=nu(t,GS(e,!0))}e.checked!==a&&(e.checked=a)}const US={created(e,{value:t},n){e.checked=nu(t,n.props.value),e[Wi]=gf(n),Jl(e,"change",()=>{e[Wi](qS(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Wi]=gf(s),t!==n&&(e.checked=nu(t,s.props.value))}};function qS(e){return"_value"in e?e._value:e.value}function GS(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const jL=["ctrl","shift","alt","meta"],KL={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)=>jL.some(n=>e[`${n}Key`]&&!t.includes(n))},lt=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(a,...o)=>{for(let r=0;r{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=a=>{if(!("key"in a))return;const o=Ii(a.key);if(t.some(r=>r===o||UL[r]===o))return e(a)})},qL=hs({patchProp:DL},CL);let YS;function XS(){return YS||(YS=nL(qL))}const Zl=(...e)=>{XS().render(...e)},JS=(...e)=>{const t=XS().createApp(...e),{mount:n}=t;return t.mount=s=>{const a=YL(s);if(!a)return;const o=t._component;!et(o)&&!o.render&&!o.template&&(o.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const r=n(a,!1,GL(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),r},t};function GL(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function YL(e){return Xe(e)?document.querySelector(e):e}const XL="2.13.2",ZS=Symbol("INSTALLED_KEY"),QS=Symbol();var e5=typeof global=="object"&&global&&global.Object===Object&&global,JL=typeof self=="object"&&self&&self.Object===Object&&self,rr=e5||JL||Function("return this")(),Oo=rr.Symbol,t5=Object.prototype,ZL=t5.hasOwnProperty,QL=t5.toString,tp=Oo?Oo.toStringTag:void 0;function eN(e){var t=ZL.call(e,tp),n=e[tp];try{e[tp]=void 0;var s=!0}catch{}var a=QL.call(e);return s&&(t?e[tp]=n:delete e[tp]),a}var tN=Object.prototype,nN=tN.toString;function sN(e){return nN.call(e)}var aN="[object Null]",oN="[object Undefined]",n5=Oo?Oo.toStringTag:void 0;function hu(e){return e==null?e===void 0?oN:aN:n5&&n5 in Object(e)?eN(e):sN(e)}function Yr(e){return e!=null&&typeof e=="object"}var rN="[object Symbol]";function tg(e){return typeof e=="symbol"||Yr(e)&&hu(e)==rN}function ey(e,t){for(var n=-1,s=e==null?0:e.length,a=Array(s);++n0){if(++t>=LN)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function FN(e){return function(){return e}}var ng=function(){try{var e=vu(Object,"defineProperty");return e({},"",{}),e}catch{}}(),BN=ng?function(e,t){return ng(e,"toString",{configurable:!0,enumerable:!1,value:FN(t),writable:!0})}:ty,u5=DN(BN);function VN(e,t){for(var n=-1,s=e==null?0:e.length;++n-1}var KN=9007199254740991,UN=/^(?:0|[1-9]\d*)$/;function sg(e,t){var n=typeof e;return t=t??KN,!!t&&(n=="number"||n!="symbol"&&UN.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=YN}function yf(e){return e!=null&&iy(e.length)&&!ny(e)}function XN(e,t,n){if(!Ma(n))return!1;var s=typeof t;return(s=="number"?yf(n)&&sg(t,n.length):s=="string"&&t in n)?sp(n[t],e):!1}function JN(e){return p5(function(t,n){var s=-1,a=n.length,o=a>1?n[a-1]:void 0,r=a>2?n[2]:void 0;for(o=e.length>3&&typeof o=="function"?(a--,o):void 0,r&&XN(n[0],n[1],r)&&(o=a<3?void 0:o,a=1),t=Object(t);++s-1}function iD(e,t){var n=this.__data__,s=ag(n,e);return s<0?(++this.size,n.push([e,t])):n[s][1]=t,this}function ji(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(i)?t>1?dp(i,t-1,n,s,a):hy(a,i):s||(a[a.length]=i)}return a}function lg(e){var t=e==null?0:e.length;return t?dp(e,1):[]}function E5(e){return u5(h5(e,void 0,lg),e+"")}var py=S5(Object.getPrototypeOf,Object),CD="[object Object]",SD=Function.prototype,xD=Object.prototype,k5=SD.toString,ED=xD.hasOwnProperty,kD=k5.call(Object);function A5(e){if(!Yr(e)||hu(e)!=CD)return!1;var t=py(e);if(t===null)return!0;var n=ED.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&k5.call(n)==kD}function AD(e,t,n){var s=-1,a=e.length;t<0&&(t=-t>a?0:a+t),n=n>a?a:n,n<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(a);++s=t?e:t)),e}function gu(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=np(n),n=n===n?n:0),t!==void 0&&(t=np(t),t=t===t?t:0),TD(np(e),t,n)}function MD(){this.__data__=new ji,this.size=0}function PD(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function RD(e){return this.__data__.get(e)}function ID(e){return this.__data__.has(e)}var OD=200;function LD(e,t){var n=this.__data__;if(n instanceof ji){var s=n.__data__;if(!up||s.lengthi))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var d=-1,h=!0,p=n&cB?new fp:void 0;for(o.set(e,t),o.set(t,e);++d=t||T<0||d&&R>=o}function b(){var E=Sy();if(g(E))return _(E);i=setTimeout(b,m(E))}function _(E){return i=void 0,h&&s?p(E):(s=a=void 0,r)}function w(){i!==void 0&&clearTimeout(i),c=0,s=l=a=i=void 0}function C(){return i===void 0?r:_(Sy())}function x(){var E=Sy(),T=g(E);if(s=arguments,a=this,l=E,T){if(i===void 0)return v(l);if(d)return clearTimeout(i),i=setTimeout(b,t),p(l)}return i===void 0&&(i=setTimeout(b,t)),r}return x.cancel=w,x.flush=C,x}function xy(e,t,n){(n!==void 0&&!sp(e[t],n)||n===void 0&&!(t in e))&&oy(e,t,n)}function ux(e){return Yr(e)&&yf(e)}function Ey(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function JB(e){return bf(e,lp(e))}function ZB(e,t,n,s,a,o,r){var i=Ey(e,n),l=Ey(t,n),c=r.get(l);if(c){xy(e,n,c);return}var u=o?o(i,l,n+"",e,t,r):void 0,d=u===void 0;if(d){var h=Ta(l),p=!h&&op(l),v=!h&&!p&&dy(l);u=l,h||p||v?Ta(i)?u=i:ux(i)?u=c5(i):p?(d=!1,u=I5(l,!0)):v?(d=!1,u=K5(l,!0)):u=[]:A5(l)||ap(l)?(u=i,ap(i)?u=JB(i):(!Ma(i)||ny(i))&&(u=U5(l))):d=!1}d&&(r.set(l,u),a(u,l,s,o,r),r.delete(l)),xy(e,n,u)}function dx(e,t,n,s,a){e!==t&&cx(t,function(o,r){if(a||(a=new ir),Ma(o))ZB(e,t,r,n,dx,s,a);else{var i=s?s(Ey(e,r),o,r+"",e,t,a):void 0;i===void 0&&(i=o),xy(e,r,i)}},lp)}function QB(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function fx(e,t,n){var s=e==null?0:e.length;if(!s)return-1;var a=s-1;return d5(e,lx(t),a,!0)}function eV(e,t){var n=-1,s=yf(e)?Array(e.length):[];return qB(e,function(a,o,r){s[++n]=t(a,o,r)}),s}function tV(e,t){var n=Ta(e)?ey:eV;return n(e,lx(t))}function hx(e,t){return dp(tV(e,t),1)}var nV=1/0;function sV(e){var t=e==null?0:e.length;return t?dp(e,nV):[]}function hp(e){for(var t=-1,n=e==null?0:e.length,s={};++t1),o}),bf(e,D5(e),n),s&&(n=xf(n,pV|vV|mV,hV));for(var a=t.length;a--;)fV(n,t[a]);return n});function vx(e,t,n,s){if(!Ma(e))return e;t=_f(t,e);for(var a=-1,o=t.length,r=o-1,i=e;i!=null&&++a=SV){var c=CV(e);if(c)return _y(c);r=!1,a=Z5,l=new fp}else l=i;e:for(;++s(t,n)=>AV(t,n,f(e)),AV=(e,t,n)=>Yn(n,e,e).replace(/\{(\w+)\}/g,(s,a)=>{var o;return`${(o=t==null?void 0:t[a])!=null?o:`{${a}}`}`}),TV=e=>({lang:k(()=>f(e).name),locale:pn(e)?e:F(e),t:kV(e)}),mx=Symbol("localeContextKey"),It=e=>{const t=e||je(mx,F());return TV(k(()=>t.value||EV))},vp="el",MV="is-",bu=(e,t,n,s,a)=>{let o=`${e}-${t}`;return n&&(o+=`-${n}`),s&&(o+=`__${s}`),a&&(o+=`--${a}`),o},gx=Symbol("namespaceContextKey"),Ay=e=>{const t=e||(_t()?je(gx,F(vp)):F(vp));return k(()=>f(t)||vp)},Ee=(e,t)=>{const n=Ay(t);return{namespace:n,b:(m="")=>bu(n.value,e,m,"",""),e:m=>m?bu(n.value,e,"",m,""):"",m:m=>m?bu(n.value,e,"","",m):"",be:(m,g)=>m&&g?bu(n.value,e,m,g,""):"",em:(m,g)=>m&&g?bu(n.value,e,"",m,g):"",bm:(m,g)=>m&&g?bu(n.value,e,m,"",g):"",bem:(m,g,b)=>m&&g&&b?bu(n.value,e,m,g,b):"",is:(m,...g)=>{const b=g.length>=1?g[0]:!0;return m&&b?`${MV}${m}`:""},cssVar:m=>{const g={};for(const b in m)m[b]&&(g[`--${n.value}-${b}`]=m[b]);return g},cssVarName:m=>`--${n.value}-${m}`,cssVarBlock:m=>{const g={};for(const b in m)m[b]&&(g[`--${n.value}-${e}-${b}`]=m[b]);return g},cssVarBlockName:m=>`--${n.value}-${e}-${m}`}},$t=e=>e===void 0,Qt=e=>typeof e=="boolean",at=e=>typeof e=="number",Pa=e=>!e&&e!==0||ke(e)&&e.length===0||ht(e)&&!Object.keys(e).length,ja=e=>typeof Element>"u"?!1:e instanceof Element,Ka=e=>qn(e),PV=e=>Xe(e)?!Number.isNaN(Number(e)):!1,mp=e=>e===window;function bx(e,t){var n;const s=hn();return Wa(()=>{s.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),au(s)}function yu(e){return B_()?(V_(e),!0):!1}function io(e){return typeof e=="function"?e():f(e)}function RV(e){if(!pn(e))return Wt(e);const t=new Proxy({},{get(n,s,a){return f(Reflect.get(e.value,s,a))},set(n,s,a){return pn(e.value[s])&&!pn(a)?e.value[s].value=a:e.value[s]=a,!0},deleteProperty(n,s){return Reflect.deleteProperty(e.value,s)},has(n,s){return Reflect.has(e.value,s)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Wt(t)}function IV(e){return RV(k(e))}const jt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const OV=e=>typeof e<"u",yx=e=>e!=null,LV=Object.prototype.toString,NV=e=>LV.call(e)==="[object Object]",wx=(e,t,n)=>Math.min(n,Math.max(t,e)),cr=()=>{},pg=$V();function $V(){var e,t;return jt&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function _x(e,t){function n(...s){return new Promise((a,o)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(a).catch(o)})}return n}function DV(e,t={}){let n,s,a=cr;const o=i=>{clearTimeout(i),a(),a=cr};return i=>{const l=io(e),c=io(t.maxWait);return n&&o(n),l<=0||c!==void 0&&c<=0?(s&&(o(s),s=null),Promise.resolve(i())):new Promise((u,d)=>{a=t.rejectOnCancel?d:u,c&&!s&&(s=setTimeout(()=>{n&&o(n),s=null,u(i())},c)),n=setTimeout(()=>{s&&o(s),s=null,u(i())},l)})}}function FV(...e){let t=0,n,s=!0,a=cr,o,r,i,l,c;!pn(e[0])&&typeof e[0]=="object"?{delay:r,trailing:i=!0,leading:l=!0,rejectOnCancel:c=!1}=e[0]:[r,i=!0,l=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,a(),a=cr)};return h=>{const p=io(r),v=Date.now()-t,m=()=>o=h();return u(),p<=0?(t=Date.now(),m()):(v>p&&(l||!s)?(t=Date.now(),m()):i&&(o=new Promise((g,b)=>{a=c?b:g,n=setTimeout(()=>{t=Date.now(),s=!0,g(m()),u()},Math.max(0,p-v))})),!l&&!n&&(n=setTimeout(()=>s=!0,p)),s=!1,o)}}function BV(e){return _t()}function gp(e,t=200,n={}){return _x(DV(t,n),e)}function VV(e,t=200,n={}){const s=F(e.value),a=gp(()=>{s.value=e.value},t,n);return me(e,()=>a()),s}function Cx(e,t=200,n=!1,s=!0,a=!1){return _x(FV(t,n,s,a),e)}function Ty(e,t=!0,n){BV()?St(e,n):t?e():ze(e)}function Ef(e,t,n={}){const{immediate:s=!0}=n,a=F(!1);let o=null;function r(){o&&(clearTimeout(o),o=null)}function i(){a.value=!1,r()}function l(...c){r(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=null,e(...c)},io(t))}return s&&(a.value=!0,jt&&l()),yu(i),{isPending:au(a),start:l,stop:i}}function os(e){var t;const n=io(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ur=jt?window:void 0,zV=jt?window.document:void 0;function Zt(...e){let t,n,s,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,a]=e,t=ur):[t,n,s,a]=e,!t)return cr;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const o=[],r=()=>{o.forEach(u=>u()),o.length=0},i=(u,d,h,p)=>(u.addEventListener(d,h,p),()=>u.removeEventListener(d,h,p)),l=me(()=>[os(t),io(a)],([u,d])=>{if(r(),!u)return;const h=NV(d)?{...d}:d;o.push(...n.flatMap(p=>s.map(v=>i(u,p,v,h))))},{immediate:!0,flush:"post"}),c=()=>{l(),r()};return yu(c),c}let Sx=!1;function My(e,t,n={}){const{window:s=ur,ignore:a=[],capture:o=!0,detectIframe:r=!1}=n;if(!s)return cr;pg&&!Sx&&(Sx=!0,Array.from(s.document.body.children).forEach(h=>h.addEventListener("click",cr)),s.document.documentElement.addEventListener("click",cr));let i=!0;const l=h=>a.some(p=>{if(typeof p=="string")return Array.from(s.document.querySelectorAll(p)).some(v=>v===h.target||h.composedPath().includes(v));{const v=os(p);return v&&(h.target===v||h.composedPath().includes(v))}}),u=[Zt(s,"click",h=>{const p=os(e);if(!(!p||p===h.target||h.composedPath().includes(p))){if(h.detail===0&&(i=!l(h)),!i){i=!0;return}t(h)}},{passive:!0,capture:o}),Zt(s,"pointerdown",h=>{const p=os(e);i=!l(h)&&!!(p&&!h.composedPath().includes(p))},{passive:!0}),r&&Zt(s,"blur",h=>{setTimeout(()=>{var p;const v=os(e);((p=s.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(v!=null&&v.contains(s.document.activeElement))&&t(h)},0)})].filter(Boolean);return()=>u.forEach(h=>h())}function HV(){const e=F(!1),t=_t();return t&&St(()=>{e.value=!0},t),e}function vg(e){const t=HV();return k(()=>(t.value,!!e()))}function bp(e,t,n={}){const{window:s=ur,...a}=n;let o;const r=vg(()=>s&&"MutationObserver"in s),i=()=>{o&&(o.disconnect(),o=void 0)},l=k(()=>{const h=io(e),p=(Array.isArray(h)?h:[h]).map(os).filter(yx);return new Set(p)}),c=me(()=>l.value,h=>{i(),r.value&&h.size&&(o=new MutationObserver(t),h.forEach(p=>o.observe(p,a)))},{immediate:!0,flush:"post"}),u=()=>o==null?void 0:o.takeRecords(),d=()=>{i(),c()};return yu(d),{isSupported:r,stop:d,takeRecords:u}}function WV(e={}){var t;const{window:n=ur,deep:s=!0,triggerOnRemoval:a=!1}=e,o=(t=e.document)!=null?t:n==null?void 0:n.document,r=()=>{var c;let u=o==null?void 0:o.activeElement;if(s)for(;u!=null&&u.shadowRoot;)u=(c=u==null?void 0:u.shadowRoot)==null?void 0:c.activeElement;return u},i=F(),l=()=>{i.value=r()};return n&&(Zt(n,"blur",c=>{c.relatedTarget===null&&l()},!0),Zt(n,"focus",l,!0)),a&&bp(o,c=>{c.filter(u=>u.removedNodes.length).map(u=>Array.from(u.removedNodes)).flat().forEach(u=>{u===i.value&&l()})},{childList:!0,subtree:!0}),l(),i}function jV(e,t={}){const{window:n=ur}=t,s=vg(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let a;const o=F(!1),r=c=>{o.value=c.matches},i=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",r):a.removeListener(r))},l=Wa(()=>{s.value&&(i(),a=n.matchMedia(io(e)),"addEventListener"in a?a.addEventListener("change",r):a.addListener(r),o.value=a.matches)});return yu(()=>{l(),i(),a=void 0}),o}function KV(e){return JSON.parse(JSON.stringify(e))}function UV(e,t,n={}){const{window:s=ur,initialValue:a="",observe:o=!1}=n,r=F(a),i=k(()=>{var c;return os(t)||((c=s==null?void 0:s.document)==null?void 0:c.documentElement)});function l(){var c;const u=io(e),d=io(i);if(d&&s){const h=(c=s.getComputedStyle(d).getPropertyValue(u))==null?void 0:c.trim();r.value=h||a}}return o&&bp(i,l,{attributeFilter:["style","class"],window:s}),me([i,()=>io(e)],l,{immediate:!0}),me(r,c=>{var u;(u=i.value)!=null&&u.style&&i.value.style.setProperty(io(e),c)}),r}function qV(e={}){const{document:t=zV}=e;if(!t)return F("visible");const n=F(t.visibilityState);return Zt(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function bn(e,t,n={}){const{window:s=ur,...a}=n;let o;const r=vg(()=>s&&"ResizeObserver"in s),i=()=>{o&&(o.disconnect(),o=void 0)},l=k(()=>Array.isArray(e)?e.map(d=>os(d)):[os(e)]),c=me(l,d=>{if(i(),r.value&&s){o=new ResizeObserver(t);for(const h of d)h&&o.observe(h,a)}},{immediate:!0,flush:"post"}),u=()=>{i(),c()};return yu(u),{isSupported:r,stop:u}}function xx(e,t={}){const{reset:n=!0,windowResize:s=!0,windowScroll:a=!0,immediate:o=!0}=t,r=F(0),i=F(0),l=F(0),c=F(0),u=F(0),d=F(0),h=F(0),p=F(0);function v(){const m=os(e);if(!m){n&&(r.value=0,i.value=0,l.value=0,c.value=0,u.value=0,d.value=0,h.value=0,p.value=0);return}const g=m.getBoundingClientRect();r.value=g.height,i.value=g.bottom,l.value=g.left,c.value=g.right,u.value=g.top,d.value=g.width,h.value=g.x,p.value=g.y}return bn(e,v),me(()=>os(e),m=>!m&&v()),bp(e,v,{attributeFilter:["style","class"]}),a&&Zt("scroll",v,{capture:!0,passive:!0}),s&&Zt("resize",v,{passive:!0}),Ty(()=>{o&&v()}),{height:r,bottom:i,left:l,right:c,top:u,width:d,x:h,y:p,update:v}}function Py(e,t={width:0,height:0},n={}){const{window:s=ur,box:a="content-box"}=n,o=k(()=>{var d,h;return(h=(d=os(e))==null?void 0:d.namespaceURI)==null?void 0:h.includes("svg")}),r=F(t.width),i=F(t.height),{stop:l}=bn(e,([d])=>{const h=a==="border-box"?d.borderBoxSize:a==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(s&&o.value){const p=os(e);if(p){const v=p.getBoundingClientRect();r.value=v.width,i.value=v.height}}else if(h){const p=Array.isArray(h)?h:[h];r.value=p.reduce((v,{inlineSize:m})=>v+m,0),i.value=p.reduce((v,{blockSize:m})=>v+m,0)}else r.value=d.contentRect.width,i.value=d.contentRect.height},n);Ty(()=>{const d=os(e);d&&(r.value="offsetWidth"in d?d.offsetWidth:t.width,i.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=me(()=>os(e),d=>{r.value=d?t.width:0,i.value=d?t.height:0});function u(){l(),c()}return{width:r,height:i,stop:u}}function GV(e,t,n={}){const{root:s,rootMargin:a="0px",threshold:o=.1,window:r=ur,immediate:i=!0}=n,l=vg(()=>r&&"IntersectionObserver"in r),c=k(()=>{const v=io(e);return(Array.isArray(v)?v:[v]).map(os).filter(yx)});let u=cr;const d=F(i),h=l.value?me(()=>[c.value,os(s),d.value],([v,m])=>{if(u(),!d.value||!v.length)return;const g=new IntersectionObserver(t,{root:os(m),rootMargin:a,threshold:o});v.forEach(b=>b&&g.observe(b)),u=()=>{g.disconnect(),u=cr}},{immediate:i,flush:"post"}):cr,p=()=>{u(),h(),d.value=!1};return yu(p),{isSupported:l,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:p}}function Ex(e,t,n,s={}){var a,o,r;const{clone:i=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:d,shouldEmit:h}=s,p=_t(),v=n||(p==null?void 0:p.emit)||((a=p==null?void 0:p.$emit)==null?void 0:a.bind(p))||((r=(o=p==null?void 0:p.proxy)==null?void 0:o.$emit)==null?void 0:r.bind(p==null?void 0:p.proxy));let m=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const g=w=>i?typeof i=="function"?i(w):KV(w):w,b=()=>OV(e[t])?g(e[t]):d,_=w=>{h?h(w)&&v(m,w):v(m,w)};if(l){const w=b(),C=F(w);let x=!1;return me(()=>e[t],E=>{x||(x=!0,C.value=g(E),ze(()=>x=!1))}),me(C,E=>{!x&&(E!==e[t]||u)&&_(E)},{deep:u}),C}else return k({get(){return b()},set(w){_(w)}})}function YV(e={}){const{window:t=ur}=e;if(!t)return F(!1);const n=F(t.document.hasFocus());return Zt(t,"blur",()=>{n.value=!1}),Zt(t,"focus",()=>{n.value=!0}),n}function Ry(e={}){const{window:t=ur,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:a=!0,includeScrollbar:o=!0}=e,r=F(n),i=F(s),l=()=>{t&&(o?(r.value=t.innerWidth,i.value=t.innerHeight):(r.value=t.document.documentElement.clientWidth,i.value=t.document.documentElement.clientHeight))};if(l(),Ty(l),Zt("resize",l,{passive:!0}),a){const c=jV("(orientation: portrait)");me(c,()=>l())}return{width:r,height:i}}class XV extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Xn(e,t){throw new XV(`[${e}] ${t}`)}function Xye(e,t){}const kx={current:0},Ax=F(0),Tx=2e3,Mx=Symbol("elZIndexContextKey"),Px=Symbol("zIndexContextKey"),yp=e=>{const t=_t()?je(Mx,kx):kx,n=e||(_t()?je(Px,void 0):void 0),s=k(()=>{const r=f(n);return at(r)?r:Tx}),a=k(()=>s.value+Ax.value),o=()=>(t.current++,Ax.value=t.current,a.value);return!jt&&je(Mx),{initialZIndex:s,currentZIndex:a,nextZIndex:o}},Rx="__epPropKey",re=e=>e,JV=e=>ht(e)&&!!e[Rx],dr=(e,t)=>{if(!ht(e)||JV(e))return e;const{values:n,required:s,default:a,type:o,validator:r}=e,l={type:o,required:!!s,validator:n||r?c=>{let u=!1,d=[];if(n&&(d=Array.from(n),Ht(e,"default")&&d.push(a),u||(u=d.includes(c))),r&&(u||(u=r(c))),!u&&d.length>0){const h=[...new Set(d)].map(p=>JSON.stringify(p)).join(", ");yL(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${h}], got value ${JSON.stringify(c)}.`)}return u}:void 0,[Rx]:!0};return Ht(e,"default")&&(l.default=a),l},Me=e=>hp(Object.entries(e).map(([t,n])=>[t,dr(n,t)])),fr=["","default","small","large"],rs=dr({type:String,values:fr,required:!1}),Ix=Symbol("size"),Ox=()=>{const e=je(Ix,{});return k(()=>f(e.size)||"")},Lx=Symbol("emptyValuesContextKey"),ZV=["",void 0,null],QV=void 0,wu=Me({emptyValues:Array,valueOnClear:{type:re([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=et(e)?e():e,ke(e)?e.every(t=>!t):!e)}}),wp=(e,t)=>{const n=_t()?je(Lx,F({})):F({}),s=k(()=>e.emptyValues||n.value.emptyValues||ZV),a=k(()=>et(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:et(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:QV),o=r=>{let i=!0;return ke(r)?i=s.value.some(l=>$n(r,l)):i=s.value.includes(r),i};return o(a.value),{emptyValues:s,valueOnClear:a,isEmptyValue:o}},_p=e=>Object.keys(e),Nx=e=>Object.entries(e),kf=(e,t,n)=>({get value(){return Yn(e,t,n)},set value(s){yV(e,t,s)}}),mg=F();function Af(e,t=void 0){const n=_t()?je(QS,mg):mg;return e?k(()=>{var s,a;return(a=(s=n.value)==null?void 0:s[e])!=null?a:t}):n}function gg(e,t){const n=Af(),s=Ee(e,k(()=>{var i;return((i=n.value)==null?void 0:i.namespace)||vp})),a=It(k(()=>{var i;return(i=n.value)==null?void 0:i.locale})),o=yp(k(()=>{var i;return((i=n.value)==null?void 0:i.zIndex)||Tx})),r=k(()=>{var i;return f(t)||((i=n.value)==null?void 0:i.size)||""});return Iy(k(()=>f(n)||{})),{ns:s,locale:a,zIndex:o,size:r}}const Iy=(e,t,n=!1)=>{var s;const a=!!_t(),o=a?Af():void 0,r=(s=t==null?void 0:t.provide)!=null?s:a?Tt:void 0;if(!r)return;const i=k(()=>{const l=f(e);return o!=null&&o.value?ez(o.value,l):l});return r(QS,i),r(mx,k(()=>i.value.locale)),r(gx,k(()=>i.value.namespace)),r(Px,k(()=>i.value.zIndex)),r(Ix,{size:k(()=>i.value.size||"")}),r(Lx,k(()=>({emptyValues:i.value.emptyValues,valueOnClear:i.value.valueOnClear}))),(n||!mg.value)&&(mg.value=i.value),i},ez=(e,t)=>{const n=[...new Set([..._p(e),..._p(t)])],s={};for(const a of n)s[a]=t[a]!==void 0?t[a]:e[a];return s},tz=(e=[])=>({version:XL,install:(n,s)=>{n[ZS]||(n[ZS]=!0,e.forEach(a=>n.use(a)),s&&Iy(s,n,!0))}}),Cp=Me({to:{type:re([String,Object]),required:!0},disabled:Boolean}),ct="update:modelValue",Pt="change",es="input",nz=Me({zIndex:{type:re([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"},teleported:Boolean,appendTo:{type:Cp.to.type,default:"body"}}),sz={scroll:({scrollTop:e,fixed:t})=>at(e)&&Qt(t),[Pt]:e=>Qt(e)};var az=W({__name:"teleport",props:Cp,setup(e){return(t,n)=>t.disabled?ue(t.$slots,"default",{key:0}):(S(),le(EO,{key:1,to:t.to},[ue(t.$slots,"default")],8,["to"]))}});const pt=(e,t)=>{if(e.install=n=>{for(const s of[e,...Object.values(t??{})])n.component(s.name,s)},t)for(const[n,s]of Object.entries(t))e[n]=s;return e},$x=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),oz=(e,t)=>(e.install=n=>{n.directive(t,e)},e),An=e=>(e.install=qt,e),Tf=pt(az);function rz(e,t,n,s){const a=n-t;return e/=s/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}const Jr=e=>jt?window.requestAnimationFrame(e):setTimeout(e,16),qi=e=>jt?window.cancelAnimationFrame(e):clearTimeout(e),Dx=(e="")=>e.split(" ").filter(t=>!!t.trim()),Zr=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Lo=(e,t)=>{!e||!t.trim()||e.classList.add(...Dx(t))},ra=(e,t)=>{!e||!t.trim()||e.classList.remove(...Dx(t))},Gi=(e,t)=>{var n;if(!jt||!e||!t)return"";let s=xa(t);s==="float"&&(s="cssFloat");try{const a=e.style[s];if(a)return a;const o=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return o?o[s]:""}catch{return e.style[s]}},Fx=(e,t,n)=>{if(!(!e||!t))if(ht(t))Nx(t).forEach(([s,a])=>Fx(e,s,a));else{const s=xa(t);e.style[s]=n}};function Pn(e,t="px"){if(!e&&e!==0)return"";if(at(e)||PV(e))return`${e}${t}`;if(Xe(e))return e}const iz=(e,t)=>{if(!jt)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],s=Gi(e,n);return["scroll","auto","overlay"].some(a=>s.includes(a))},Oy=(e,t)=>{if(!jt)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(iz(n,t))return n;n=n.parentNode}return n};let bg;const Bx=e=>{var t;if(!jt)return 0;if(bg!==void 0)return bg;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const s=n.offsetWidth;n.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",n.appendChild(a);const o=a.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),bg=s-o,bg};function Ly(e,t){if(!jt)return;if(!t){e.scrollTop=0;return}const n=[];let s=t.offsetParent;for(;s!==null&&e!==s&&e.contains(s);)n.push(s),s=s.offsetParent;const a=t.offsetTop+n.reduce((l,c)=>l+c.offsetTop,0),o=a+t.offsetHeight,r=e.scrollTop,i=r+e.clientHeight;ai&&(e.scrollTop=o-e.clientHeight)}function lz(e,t,n,s,a){const o=Date.now();let r;const i=()=>{const c=Date.now()-o,u=rz(c>s?s:c,t,n,s);mp(e)?e.scrollTo(window.pageXOffset,u):e.scrollTop=u,c{r&&qi(r)}}const Vx=(e,t)=>mp(t)?e.ownerDocument.documentElement:t,zx=e=>mp(e)?window.scrollY:e.scrollTop,Hx="ElAffix";var cz=W({name:Hx,__name:"affix",props:nz,emits:sz,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Ee("affix"),r=hn(),i=hn(),l=hn(),{height:c}=Ry(),{height:u,width:d,top:h,bottom:p,left:v,update:m}=xx(i,{windowScroll:!1}),g=xx(r),b=F(!1),_=F(0),w=F(0),C=k(()=>!s.teleported||!b.value),x=k(()=>({height:b.value?`${u.value}px`:"",width:b.value?`${d.value}px`:""})),E=k(()=>{if(!b.value)return{};const M=Pn(s.offset);return{height:`${u.value}px`,width:`${d.value}px`,top:s.position==="top"?M:"",bottom:s.position==="bottom"?M:"",left:s.teleported?`${v.value}px`:"",transform:w.value?`translateY(${w.value}px)`:"",zIndex:s.zIndex}}),T=()=>{if(!l.value)return;_.value=l.value instanceof Window?document.documentElement.scrollTop:l.value.scrollTop||0;const{position:M,target:$,offset:O}=s,B=O+u.value;if(M==="top")if($){const U=g.bottom.value-B;b.value=O>h.value&&g.bottom.value>0,w.value=U<0?U:0}else b.value=O>h.value;else if($){const U=c.value-g.top.value-B;b.value=c.value-Og.top.value,w.value=U<0?-U:0}else b.value=c.value-O{if(!b.value){m();return}b.value=!1,await ze(),m(),b.value=!0},I=async()=>{m(),await ze(),a("scroll",{scrollTop:_.value,fixed:b.value})};return me(b,M=>a(Pt,M)),St(()=>{var M;s.target?(r.value=(M=document.querySelector(s.target))!=null?M:void 0,r.value||Xn(Hx,`Target does not exist: ${s.target}`)):r.value=document.documentElement,l.value=Oy(i.value,!0),m()}),U0(()=>{ze(R)}),I4(()=>{b.value=!1}),Zt(l,"scroll",I),Wa(T),t({update:T,updateRoot:R}),(M,$)=>(S(),P("div",{ref_key:"root",ref:i,class:D(f(o).b()),style:tt(x.value)},[j(f(Tf),{disabled:C.value,to:e.appendTo},{default:X(()=>[A("div",{class:D({[f(o).m("fixed")]:b.value}),style:tt(E.value)},[ue(M.$slots,"default")],6)]),_:3},8,["disabled","to"])],6))}});const uz=pt(cz);/*! Element Plus Icons Vue v2.3.2 */var dz=W({name:"AddLocation",__name:"add-location",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),A("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),A("path",{fill:"currentColor",d:"M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z"})]))}}),fz=dz,hz=W({name:"Aim",__name:"aim",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),A("path",{fill:"currentColor",d:"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32m0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32M96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32m576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32"})]))}}),pz=hz,vz=W({name:"AlarmClock",__name:"alarm-clock",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),A("path",{fill:"currentColor",d:"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0zM90.496 312.256A160 160 0 0 1 312.32 90.496l-46.848 46.848a96 96 0 0 0-128 128L90.56 312.256zm835.264 0A160 160 0 0 0 704 90.496l46.848 46.848a96 96 0 0 1 128 128z"})]))}}),mz=vz,gz=W({name:"Apple",__name:"apple",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M599.872 203.776a189.4 189.4 0 0 1 64.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a427 427 0 0 1-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1 1 60.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664m-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 1 1-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688s81.28 34.688 136.96 33.536c56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152"})]))}}),bz=gz,yz=W({name:"ArrowDownBold",__name:"arrow-down-bold",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496"})]))}}),wz=yz,_z=W({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 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.59 30.59 0 0 0-42.752 0z"})]))}}),hr=_z,Cz=W({name:"ArrowLeftBold",__name:"arrow-left-bold",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0"})]))}}),Sz=Cz,xz=W({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),No=xz,Ez=W({name:"ArrowRightBold",__name:"arrow-right-bold",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0"})]))}}),kz=Ez,Az=W({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 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"})]))}}),Ls=Az,Tz=W({name:"ArrowUpBold",__name:"arrow-up-bold",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496"})]))}}),Mz=Tz,Pz=W({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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 0"})]))}}),Sp=Pz,Rz=W({name:"Avatar",__name:"avatar",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.87 415.87 0 0 1 299.264-399.104L512 704zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0"})]))}}),Iz=Rz,Oz=W({name:"Back",__name:"back",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),A("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.312z"})]))}}),Wx=Oz,Lz=W({name:"Baseball",__name:"baseball",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M195.2 828.8a448 448 0 1 1 633.6-633.6 448 448 0 0 1-633.6 633.6m45.248-45.248a384 384 0 1 0 543.104-543.104 384 384 0 0 0-543.104 543.104"}),A("path",{fill:"currentColor",d:"M497.472 96.896c22.784 4.672 44.416 9.472 64.896 14.528a256.128 256.128 0 0 0 350.208 350.208c5.056 20.48 9.856 42.112 14.528 64.896A320.128 320.128 0 0 1 497.472 96.896M108.48 491.904a320.128 320.128 0 0 1 423.616 423.68c-23.04-3.648-44.992-7.424-65.728-11.52a256.128 256.128 0 0 0-346.496-346.432 1737 1737 0 0 1-11.392-65.728"})]))}}),Nz=Lz,$z=W({name:"Basketball",__name:"basketball",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M778.752 788.224a382.46 382.46 0 0 0 116.032-245.632 256.51 256.51 0 0 0-241.728-13.952 762.9 762.9 0 0 1 125.696 259.584m-55.04 44.224a699.65 699.65 0 0 0-125.056-269.632 256.13 256.13 0 0 0-56.064 331.968 382.7 382.7 0 0 0 181.12-62.336m-254.08 61.248A320.13 320.13 0 0 1 557.76 513.6a716 716 0 0 0-48.192-48.128 320.13 320.13 0 0 1-379.264 88.384 382.4 382.4 0 0 0 110.144 229.696 382.4 382.4 0 0 0 229.184 110.08zM129.28 481.088a256.13 256.13 0 0 0 331.072-56.448 699.65 699.65 0 0 0-268.8-124.352 382.66 382.66 0 0 0-62.272 180.8m106.56-235.84a762.9 762.9 0 0 1 258.688 125.056 256.51 256.51 0 0 0-13.44-241.088A382.46 382.46 0 0 0 235.84 245.248m318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a780 780 0 0 1 66.176 66.112 320.83 320.83 0 0 1 282.112-8.128 382.4 382.4 0 0 0-110.144-229.12 382.4 382.4 0 0 0-229.632-110.208zM828.8 828.8a448 448 0 1 1-633.6-633.6 448 448 0 0 1 633.6 633.6"})]))}}),Dz=$z,Fz=W({name:"BellFilled",__name:"bell-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.13 320.13 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z"})]))}}),Bz=Fz,Vz=W({name:"Bell",__name:"bell",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"}),A("path",{fill:"currentColor",d:"M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320"}),A("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"})]))}}),zz=Vz,Hz=W({name:"Bicycle",__name:"bicycle",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),A("path",{fill:"currentColor",d:"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),A("path",{fill:"currentColor",d:"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),A("path",{fill:"currentColor",d:"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384z"}),A("path",{fill:"currentColor",d:"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"})]))}}),Wz=Hz,jz=W({name:"BottomLeft",__name:"bottom-left",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z"}),A("path",{fill:"currentColor",d:"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312z"})]))}}),Kz=jz,Uz=W({name:"BottomRight",__name:"bottom-right",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z"}),A("path",{fill:"currentColor",d:"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312z"})]))}}),qz=Uz,Gz=W({name:"Bottom",__name:"bottom",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}}),Yz=Gz,Xz=W({name:"Bowl",__name:"bowl",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M714.432 704a351.74 351.74 0 0 0 148.16-256H161.408a351.74 351.74 0 0 0 148.16 256zM288 766.592A415.68 415.68 0 0 1 96 416a32 32 0 0 1 32-32h768a32 32 0 0 1 32 32 415.68 415.68 0 0 1-192 350.592V832a64 64 0 0 1-64 64H352a64 64 0 0 1-64-64zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424zM352 768v64h320v-64z"})]))}}),Jz=Xz,Zz=W({name:"Box",__name:"box",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M317.056 128 128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64"}),A("path",{fill:"currentColor",d:"M64 320h896v64H64z"}),A("path",{fill:"currentColor",d:"M448 327.872V640h128V327.872L526.08 128h-28.16zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"})]))}}),Qz=Zz,eH=W({name:"Briefcase",__name:"briefcase",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z"})]))}}),tH=eH,nH=W({name:"BrushFilled",__name:"brush-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128zM192 512V128.064h640V512z"})]))}}),sH=nH,aH=W({name:"Brush",__name:"brush",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a664 664 0 0 0-6.144 128H960v256a128 128 0 0 1-128 128H704v160a32 32 0 0 1-32 32H352a32 32 0 0 1-32-32V768H192A128 128 0 0 1 64 640V384zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168"})]))}}),oH=aH,rH=W({name:"Burger",__name:"burger",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 512a32 32 0 0 0-32 32v64a32 32 0 0 0 30.08 32H864a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm736-58.56A96 96 0 0 1 960 544v64a96 96 0 0 1-51.968 85.312L855.36 833.6a96 96 0 0 1-89.856 62.272H258.496A96 96 0 0 1 168.64 833.6l-52.608-140.224A96 96 0 0 1 64 608v-64a96 96 0 0 1 64-90.56V448a384 384 0 1 1 768 5.44M832 448a320 320 0 0 0-640 0zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704z"})]))}}),iH=rH,lH=W({name:"Calendar",__name:"calendar",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-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 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),jx=lH,cH=W({name:"CameraFilled",__name:"camera-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 224a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h704a64 64 0 0 0 64-64V288a64 64 0 0 0-64-64H748.416l-46.464-92.672A64 64 0 0 0 644.736 96H379.328a64 64 0 0 0-57.216 35.392L275.776 224zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4m0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),uH=cH,dH=W({name:"Camera",__name:"camera",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448"})]))}}),fH=dH,hH=W({name:"CaretBottom",__name:"caret-bottom",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"})]))}}),pH=hH,vH=W({name:"CaretLeft",__name:"caret-left",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"})]))}}),mH=vH,gH=W({name:"CaretRight",__name:"caret-right",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),Ny=gH,bH=W({name:"CaretTop",__name:"caret-top",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),Kx=bH,yH=W({name:"Cellphone",__name:"cellphone",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64m128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64m128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),wH=yH,_H=W({name:"ChatDotRound",__name:"chat-dot-round",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.06 461.06 0 0 1-206.912-48.384l-175.616 58.56z"}),A("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),CH=_H,SH=W({name:"ChatDotSquare",__name:"chat-dot-square",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),A("path",{fill:"currentColor",d:"M512 499.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),xH=SH,EH=W({name:"ChatLineRound",__name:"chat-line-round",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.06 461.06 0 0 1-206.912-48.384l-175.616 58.56z"}),A("path",{fill:"currentColor",d:"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),kH=EH,AH=W({name:"ChatLineSquare",__name:"chat-line-square",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),A("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),TH=AH,MH=W({name:"ChatRound",__name:"chat-round",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m174.72 855.68 130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0 0 69.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0 1 89.6 896l56.512-141.248A405.12 405.12 0 0 1 64 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z"})]))}}),PH=MH,RH=W({name:"ChatSquare",__name:"chat-square",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"})]))}}),IH=RH,OH=W({name:"Check",__name:"check",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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"})]))}}),Mf=OH,LH=W({name:"Checked",__name:"checked",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z"})]))}}),NH=LH,$H=W({name:"Cherry",__name:"cherry",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M261.056 449.6c13.824-69.696 34.88-128.96 63.36-177.728 23.744-40.832 61.12-88.64 112.256-143.872H320a32 32 0 0 1 0-64h384a32 32 0 1 1 0 64H554.752c14.912 39.168 41.344 86.592 79.552 141.76 47.36 68.48 84.8 106.752 106.304 114.304a224 224 0 1 1-84.992 14.784c-22.656-22.912-47.04-53.76-73.92-92.608-38.848-56.128-67.008-105.792-84.352-149.312-55.296 58.24-94.528 107.52-117.76 147.2-23.168 39.744-41.088 88.768-53.568 147.072a224.064 224.064 0 1 1-64.96-1.6M288 832a160 160 0 1 0 0-320 160 160 0 0 0 0 320m448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320"})]))}}),DH=$H,FH=W({name:"Chicken",__name:"chicken",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M349.952 716.992 478.72 588.16a106.7 106.7 0 0 1-26.176-19.072 106.7 106.7 0 0 1-19.072-26.176L304.704 671.744c.768 3.072 1.472 6.144 2.048 9.216l2.048 31.936 31.872 1.984c3.136.64 6.208 1.28 9.28 2.112m57.344 33.152a128 128 0 1 1-216.32 114.432l-1.92-32-32-1.92a128 128 0 1 1 114.432-216.32L416.64 469.248c-2.432-101.44 58.112-239.104 149.056-330.048 107.328-107.328 231.296-85.504 316.8 0 85.44 85.44 107.328 209.408 0 316.8-91.008 90.88-228.672 151.424-330.112 149.056L407.296 750.08zm90.496-226.304c49.536 49.536 233.344-7.04 339.392-113.088 78.208-78.208 63.232-163.072 0-226.304-63.168-63.232-148.032-78.208-226.24 0C504.896 290.496 448.32 474.368 497.792 523.84M244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52z"})]))}}),BH=FH,VH=W({name:"ChromeFilled",__name:"chrome-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.37 212.37 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67"}),A("path",{fill:"currentColor",d:"M576.79 401.63a127.9 127.9 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128 128 0 0 0-2.16 127.44l1.24 2.13a127.9 127.9 0 0 0 46.36 46.61 127.9 127.9 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.98 127.98 0 0 0 .29-127.46 127.96 127.96 0 0 0-46.36-46.91"}),A("path",{fill:"currentColor",d:"M394.45 333.96A213.34 213.34 0 0 1 512 298.67h369.58A426.5 426.5 0 0 0 512 85.34a425.6 425.6 0 0 0-171.74 35.98 425.6 425.6 0 0 0-142.62 102.22l118.14 204.63a213.4 213.4 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.3 213.3 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.3 213.3 0 0 1-122.77-21.91"})]))}}),zH=VH,HH=W({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),Ux=HH,WH=W({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),A("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.752z"})]))}}),xp=WH,jH=W({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 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.336z"})]))}}),yg=jH,KH=W({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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.248z"}),A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),$o=KH,UH=W({name:"CirclePlusFilled",__name:"circle-plus-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0z"})]))}}),qH=UH,GH=W({name:"CirclePlus",__name:"circle-plus",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),A("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"}),A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),YH=GH,XH=W({name:"Clock",__name:"clock",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),A("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),$y=XH,JH=W({name:"CloseBold",__name:"close-bold",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496"})]))}}),ZH=JH,QH=W({name:"Close",__name:"close",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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"})]))}}),Ua=QH,eW=W({name:"Cloudy",__name:"cloudy",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 381.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"})]))}}),tW=eW,nW=W({name:"CoffeeCup",__name:"coffee-cup",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M768 192a192 192 0 1 1-8 383.808A256.13 256.13 0 0 1 512 768H320A256 256 0 0 1 64 512V160a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v256a128 128 0 1 0 0-256M96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192z"})]))}}),sW=nW,aW=W({name:"Coffee",__name:"coffee",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M822.592 192h14.272a32 32 0 0 1 31.616 26.752l21.312 128A32 32 0 0 1 858.24 384h-49.344l-39.04 546.304A32 32 0 0 1 737.92 960H285.824a32 32 0 0 1-32-29.696L214.912 384H165.76a32 32 0 0 1-31.552-37.248l21.312-128A32 32 0 0 1 187.136 192h14.016l-6.72-93.696A32 32 0 0 1 226.368 64h571.008a32 32 0 0 1 31.936 34.304zm-64.128 0 4.544-64H260.736l4.544 64zm-548.16 128H820.48l-10.688-64H214.208l-10.688 64zm68.736 64 36.544 512H708.16l36.544-512z"})]))}}),oW=aW,rW=W({name:"Coin",__name:"coin",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m161.92 580.736 29.888 58.88C171.328 659.776 160 681.728 160 704c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 615.808 928 657.664 928 704c0 129.728-188.544 224-416 224S96 833.728 96 704c0-46.592 24.32-88.576 65.92-123.264"}),A("path",{fill:"currentColor",d:"m161.92 388.736 29.888 58.88C171.328 467.84 160 489.792 160 512c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 423.808 928 465.664 928 512c0 129.728-188.544 224-416 224S96 641.728 96 512c0-46.592 24.32-88.576 65.92-123.264"}),A("path",{fill:"currentColor",d:"M512 544c-227.456 0-416-94.272-416-224S284.544 96 512 96s416 94.272 416 224-188.544 224-416 224m0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160"})]))}}),iW=rW,lW=W({name:"ColdDrink",__name:"cold-drink",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M768 64a192 192 0 1 1-69.952 370.88L480 725.376V896h96a32 32 0 1 1 0 64H320a32 32 0 1 1 0-64h96V725.376L76.8 273.536a64 64 0 0 1-12.8-38.4v-10.688a32 32 0 0 1 32-32h71.808l-65.536-83.84a32 32 0 0 1 50.432-39.424l96.256 123.264h337.728A192.06 192.06 0 0 1 768 64M656.896 192.448H800a32 32 0 0 1 32 32v10.624a64 64 0 0 1-12.8 38.4l-80.448 107.2a128 128 0 1 0-81.92-188.16v-.064zm-357.888 64 129.472 165.76a32 32 0 0 1-50.432 39.36l-160.256-205.12H144l304 404.928 304-404.928z"})]))}}),cW=lW,uW=W({name:"CollectionTag",__name:"collection-tag",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128zm-32-64h576a32 32 0 0 1 32 32v797.44a32 32 0 0 1-51.968 24.96L531.968 720a32 32 0 0 0-39.936 0L243.968 918.4A32 32 0 0 1 192 893.44V96a32 32 0 0 1 32-32"})]))}}),dW=uW,fW=W({name:"Collection",__name:"collection",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64"}),A("path",{fill:"currentColor",d:"M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z"})]))}}),hW=fW,pW=W({name:"Comment",__name:"comment",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z"})]))}}),vW=pW,mW=W({name:"Compass",__name:"compass",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),A("path",{fill:"currentColor",d:"M725.888 315.008C676.48 428.672 624 513.28 568.576 568.64c-55.424 55.424-139.968 107.904-253.568 157.312a12.8 12.8 0 0 1-16.896-16.832c49.536-113.728 102.016-198.272 157.312-253.632 55.36-55.296 139.904-107.776 253.632-157.312a12.8 12.8 0 0 1 16.832 16.832"})]))}}),gW=mW,bW=W({name:"Connection",__name:"connection",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z"}),A("path",{fill:"currentColor",d:"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.06 192.06 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z"})]))}}),yW=bW,wW=W({name:"Coordinate",__name:"coordinate",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M480 512h64v320h-64z"}),A("path",{fill:"currentColor",d:"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64m64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128m256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),_W=wW,CW=W({name:"CopyDocument",__name:"copy-document",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"}),A("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64"})]))}}),SW=CW,xW=W({name:"Cpu",__name:"cpu",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128"}),A("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32M64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32"})]))}}),EW=xW,kW=W({name:"CreditCard",__name:"credit-card",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M896 324.096c0-42.368-2.496-55.296-9.536-68.48a52.35 52.35 0 0 0-22.144-22.08c-13.12-7.04-26.048-9.536-68.416-9.536H228.096c-42.368 0-55.296 2.496-68.48 9.536a52.35 52.35 0 0 0-22.08 22.144c-7.04 13.12-9.536 26.048-9.536 68.416v375.808c0 42.368 2.496 55.296 9.536 68.48a52.35 52.35 0 0 0 22.144 22.08c13.12 7.04 26.048 9.536 68.416 9.536h567.808c42.368 0 55.296-2.496 68.48-9.536a52.35 52.35 0 0 0 22.08-22.144c7.04-13.12 9.536-26.048 9.536-68.416zm64 0v375.808c0 57.088-5.952 77.76-17.088 98.56-11.136 20.928-27.52 37.312-48.384 48.448S852.928 864 795.968 864H228.032c-57.088 0-77.76-5.952-98.56-17.088a116.3 116.3 0 0 1-48.448-48.384c-11.136-20.864-17.088-41.6-17.088-98.56V324.032c0-57.088 5.952-77.76 17.088-98.56 11.136-20.928 27.52-37.312 48.384-48.448s41.6-17.088 98.56-17.088H795.84c57.088 0 77.76 5.952 98.56 17.088 20.928 11.136 37.312 27.52 48.448 48.384s17.088 41.6 17.088 98.56z"}),A("path",{fill:"currentColor",d:"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z"})]))}}),AW=kW,TW=W({name:"Crop",__name:"crop",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z"}),A("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32"})]))}}),wg=TW,MW=W({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.59 30.59 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.672zm256 0a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.59 30.59 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.672z"})]))}}),Yi=MW,PW=W({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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.59 30.59 0 0 1 0-42.752L764.736 512 452.864 192a30.59 30.59 0 0 1 0-42.688m-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.59 30.59 0 0 1 0-42.752L508.736 512 196.864 192a30.59 30.59 0 0 1 0-42.688"})]))}}),Xi=PW,RW=W({name:"DCaret",__name:"d-caret",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),IW=RW,OW=W({name:"DataAnalysis",__name:"data-analysis",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m665.216 768 110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32"})]))}}),LW=OW,NW=W({name:"DataBoard",__name:"data-board",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M32 128h960v64H32z"}),A("path",{fill:"currentColor",d:"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),A("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z"})]))}}),$W=NW,DW=W({name:"DataLine",__name:"data-line",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M359.168 768H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32H665.216l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32zM832 192H192v512h640zM342.656 534.656a32 32 0 1 1-45.312-45.312L444.992 341.76l125.44 94.08L679.04 300.032a32 32 0 1 1 49.92 39.936L581.632 524.224 451.008 426.24 342.656 534.592z"})]))}}),FW=DW,BW=W({name:"DeleteFilled",__name:"delete-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}}),VW=BW,zW=W({name:"DeleteLocation",__name:"delete-location",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),A("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),A("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),HW=zW,WW=W({name:"Delete",__name:"delete",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),qx=WW,jW=W({name:"Dessert",__name:"dessert",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 416v-48a144 144 0 0 1 168.64-141.888 224.128 224.128 0 0 1 430.72 0A144 144 0 0 1 896 368v48a384 384 0 0 1-352 382.72V896h-64v-97.28A384 384 0 0 1 128 416m287.104-32.064h193.792a143.81 143.81 0 0 1 58.88-132.736 160.064 160.064 0 0 0-311.552 0 143.81 143.81 0 0 1 58.88 132.8zm-72.896 0a72 72 0 1 0-140.48 0zm339.584 0h140.416a72 72 0 1 0-140.48 0zM512 736a320 320 0 0 0 318.4-288.064H193.6A320 320 0 0 0 512 736M384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64"})]))}}),KW=jW,UW=W({name:"Discount",__name:"discount",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zm0 64v128h576V768zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),A("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),qW=UW,GW=W({name:"DishDot",__name:"dish-dot",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m384.064 274.56.064-50.688A128 128 0 0 1 512.128 96c70.528 0 127.68 57.152 127.68 127.68v50.752A448.19 448.19 0 0 1 955.392 768H68.544A448.19 448.19 0 0 1 384 274.56zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-128h768a384 384 0 1 0-768 0m447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256z"})]))}}),YW=GW,XW=W({name:"Dish",__name:"dish",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M480 257.152V192h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96v65.152A448 448 0 0 1 955.52 768H68.48A448 448 0 0 1 480 257.152M128 704h768a384 384 0 1 0-768 0M96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64"})]))}}),JW=XW,ZW=W({name:"DocumentAdd",__name:"document-add",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z"})]))}}),Gx=ZW,QW=W({name:"DocumentChecked",__name:"document-checked",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"})]))}}),ej=QW,tj=W({name:"DocumentCopy",__name:"document-copy",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}}),nj=tj,sj=W({name:"DocumentDelete",__name:"document-delete",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304-90.496-90.624 45.248-45.248 90.56 90.496 90.496-90.432 45.248 45.248-90.496 90.56 90.496 90.496-45.248 45.248-90.496-90.496-90.56 90.496-45.248-45.248z"})]))}}),aj=sj,oj=W({name:"DocumentRemove",__name:"document-remove",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m192 512h320v64H352z"})]))}}),rj=oj,ij=W({name:"Document",__name:"document",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),_g=ij,lj=W({name:"Download",__name:"download",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),Ji=lj,cj=W({name:"Drizzling",__name:"drizzling",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672M959.552 480a256 256 0 0 1-256 256h-400A239.81 239.81 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M288 800h64v64h-64zm192 0h64v64h-64zm-96 96h64v64h-64zm192 0h64v64h-64zm96-96h64v64h-64z"})]))}}),uj=cj,dj=W({name:"EditPen",__name:"edit-pen",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64z"})]))}}),fj=dj,hj=W({name:"Edit",__name:"edit",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),A("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}}),pj=hj,vj=W({name:"ElemeFilled",__name:"eleme-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M176 64h672c61.824 0 112 50.176 112 112v672a112 112 0 0 1-112 112H176A112 112 0 0 1 64 848V176c0-61.824 50.176-112 112-112m150.528 173.568c-152.896 99.968-196.544 304.064-97.408 456.96a330.69 330.69 0 0 0 456.96 96.64c9.216-5.888 17.6-11.776 25.152-18.56a18.24 18.24 0 0 0 4.224-24.32L700.352 724.8a47.55 47.55 0 0 0-65.536-14.272A234.56 234.56 0 0 1 310.592 641.6C240 533.248 271.104 387.968 379.456 316.48a234.3 234.3 0 0 1 276.352 15.168c1.664.832 2.56 2.56 3.392 4.224 5.888 8.384 3.328 19.328-5.12 25.216L456.832 489.6a47.55 47.55 0 0 0-14.336 65.472l16 24.384c5.888 8.384 16.768 10.88 25.216 5.056l308.224-199.936a19.584 19.584 0 0 0 6.72-23.488v-.896c-4.992-9.216-10.048-17.6-15.104-26.88-99.968-151.168-304.064-194.88-456.96-95.744zM786.88 504.704l-62.208 40.32c-8.32 5.888-10.88 16.768-4.992 25.216L760 632.32c5.888 8.448 16.768 11.008 25.152 5.12l31.104-20.16a55.36 55.36 0 0 0 16-76.48l-20.224-31.04a19.52 19.52 0 0 0-25.152-5.12z"})]))}}),mj=vj,gj=W({name:"Eleme",__name:"eleme",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24m526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.23 63.23 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8z"})]))}}),bj=gj,yj=W({name:"ElementPlus",__name:"element-plus",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6q19.2-7.65 38.4 0s279 161.3 309.8 179.2c17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64z"})]))}}),wj=yj,_j=W({name:"Expand",__name:"expand",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z"})]))}}),Cj=_j,Sj=W({name:"Failed",__name:"failed",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m557.248 608 135.744-135.744-45.248-45.248-135.68 135.744-135.808-135.68-45.248 45.184L466.752 608l-135.68 135.68 45.184 45.312L512 653.248l135.744 135.744 45.248-45.248L557.312 608zM704 192h160v736H160V192h160v64h384zm-320 0V96h256v96z"})]))}}),xj=Sj,Ej=W({name:"Female",__name:"female",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),A("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32"}),A("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),kj=Ej,Aj=W({name:"Files",__name:"files",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 384v448h768V384zm-32-64h832a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32m64-128h704v64H160zm96-128h512v64H256z"})]))}}),Dy=Aj,Tj=W({name:"Film",__name:"film",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z"})]))}}),Mj=Tj,Pj=W({name:"Filter",__name:"filter",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M384 523.392V928a32 32 0 0 0 46.336 28.608l192-96A32 32 0 0 0 640 832V523.392l280.768-343.104a32 32 0 1 0-49.536-40.576l-288 352A32 32 0 0 0 576 512v300.224l-128 64V512a32 32 0 0 0-7.232-20.288L195.52 192H704a32 32 0 1 0 0-64H128a32 32 0 0 0-24.768 52.288z"})]))}}),Rj=Pj,Ij=W({name:"Finished",__name:"finished",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M280.768 753.728 691.456 167.04a32 32 0 1 1 52.416 36.672L314.24 817.472a32 32 0 0 1-45.44 7.296l-230.4-172.8a32 32 0 0 1 38.4-51.2zM736 448a32 32 0 1 1 0-64h192a32 32 0 1 1 0 64zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64z"})]))}}),Yx=Ij,Oj=W({name:"FirstAidKit",__name:"first-aid-kit",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M192 256a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),A("path",{fill:"currentColor",d:"M544 512h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0zM352 128v64h320v-64zm-32-64h384a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32H320a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"})]))}}),Lj=Oj,Nj=W({name:"Flag",__name:"flag",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96z"})]))}}),$j=Nj,Dj=W({name:"Fold",__name:"fold",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z"})]))}}),Fj=Dj,Bj=W({name:"FolderAdd",__name:"folder-add",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m384 416V416h64v128h128v64H544v128h-64V608H352v-64z"})]))}}),Vj=Bj,zj=W({name:"FolderChecked",__name:"folder-checked",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312z"})]))}}),Hj=zj,Wj=W({name:"FolderDelete",__name:"folder-delete",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m370.752 448-90.496-90.496 45.248-45.248L512 530.752l90.496-90.496 45.248 45.248L557.248 576l90.496 90.496-45.248 45.248L512 621.248l-90.496 90.496-45.248-45.248z"})]))}}),jj=Wj,Kj=W({name:"FolderOpened",__name:"folder-opened",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896"})]))}}),Cg=Kj,Uj=W({name:"FolderRemove",__name:"folder-remove",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m256 416h320v64H352z"})]))}}),qj=Uj,Gj=W({name:"Folder",__name:"folder",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}}),Yj=Gj,Xj=W({name:"Food",__name:"food",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 352.576V352a288 288 0 0 1 491.072-204.224 192 192 0 0 1 274.24 204.48 64 64 0 0 1 57.216 74.24C921.6 600.512 850.048 710.656 736 756.992V800a96 96 0 0 1-96 96H384a96 96 0 0 1-96-96v-43.008c-114.048-46.336-185.6-156.48-214.528-330.496A64 64 0 0 1 128 352.64zm64-.576h64a160 160 0 0 1 320 0h64a224 224 0 0 0-448 0m128 0h192a96 96 0 0 0-192 0m439.424 0h68.544A128.256 128.256 0 0 0 704 192c-15.36 0-29.952 2.688-43.52 7.616 11.328 18.176 20.672 37.76 27.84 58.304A64.128 64.128 0 0 1 759.424 352M672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32zm-342.528-64h365.056c101.504-32.64 165.76-124.928 192.896-288H136.576c27.136 163.072 91.392 255.36 192.896 288"})]))}}),Jj=Xj,Zj=W({name:"Football",__name:"football",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768"}),A("path",{fill:"currentColor",d:"M186.816 268.288c16-16.384 31.616-31.744 46.976-46.08 17.472 30.656 39.808 58.112 65.984 81.28l-32.512 56.448a386 386 0 0 1-80.448-91.648m653.696-5.312a385.9 385.9 0 0 1-83.776 96.96l-32.512-56.384a322.9 322.9 0 0 0 68.48-85.76c15.552 14.08 31.488 29.12 47.808 45.184M465.984 445.248l11.136-63.104a323.6 323.6 0 0 0 69.76 0l11.136 63.104a388 388 0 0 1-92.032 0m-62.72-12.8A381.8 381.8 0 0 1 320 396.544l32-55.424a320 320 0 0 0 62.464 27.712l-11.2 63.488zm300.8-35.84a381.8 381.8 0 0 1-83.328 35.84l-11.2-63.552A320 320 0 0 0 672 341.184l32 55.424zm-520.768 364.8a385.9 385.9 0 0 1 83.968-97.28l32.512 56.32c-26.88 23.936-49.856 52.352-67.52 84.032-16-13.44-32.32-27.712-48.96-43.072m657.536.128a1443 1443 0 0 1-49.024 43.072 321.4 321.4 0 0 0-67.584-84.16l32.512-56.32c33.216 27.456 61.696 60.352 84.096 97.408M465.92 578.752a388 388 0 0 1 92.032 0l-11.136 63.104a323.6 323.6 0 0 0-69.76 0zm-62.72 12.8 11.2 63.552a320 320 0 0 0-62.464 27.712L320 627.392a381.8 381.8 0 0 1 83.264-35.84zm300.8 35.84-32 55.424a318.3 318.3 0 0 0-62.528-27.712l11.2-63.488c29.44 8.64 57.28 20.736 83.264 35.776z"})]))}}),Qj=Zj,eK=W({name:"ForkSpoon",__name:"fork-spoon",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 410.304V96a32 32 0 0 1 64 0v314.304a96 96 0 0 0 64-90.56V96a32 32 0 0 1 64 0v223.744a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.544a160 160 0 0 1-128-156.8V96a32 32 0 0 1 64 0v223.744a96 96 0 0 0 64 90.56M672 572.48C581.184 552.128 512 446.848 512 320c0-141.44 85.952-256 192-256s192 114.56 192 256c0 126.848-69.184 232.128-160 252.48V928a32 32 0 1 1-64 0zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192"})]))}}),tK=eK,nK=W({name:"Fries",__name:"fries",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160zm74.88 0a92.928 92.928 0 0 1 91.328 110.08l-60.672 323.584A96 96 0 0 1 720.32 896H303.68a96 96 0 0 1-94.336-78.336L148.672 494.08A92.928 92.928 0 0 1 240 384h-16V224a96 96 0 0 1 188.608-25.28A95.74 95.74 0 0 1 480 197.44V160a96 96 0 0 1 188.608-25.28A96 96 0 0 1 800 224v160zM670.784 512a128 128 0 0 1-99.904 48H453.12a128 128 0 0 1-99.84-48H352v-1.536a128 128 0 0 1-9.984-14.976L314.88 448H240a28.928 28.928 0 0 0-28.48 34.304L241.088 640h541.824l29.568-157.696A28.928 28.928 0 0 0 784 448h-74.88l-27.136 47.488A132 132 0 0 1 672 510.464V512zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480zm-128 96V224a32 32 0 0 0-64 0v160zh-37.12A64 64 0 0 1 352 395.904zm-98.88 320 19.072 101.888A32 32 0 0 0 303.68 832h416.64a32 32 0 0 0 31.488-26.112L770.88 704z"})]))}}),sK=nK,aK=W({name:"FullScreen",__name:"full-screen",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),Fy=aK,oK=W({name:"GobletFull",__name:"goblet-full",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320m503.936 64H264.064a256.128 256.128 0 0 0 495.872 0M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4"})]))}}),rK=oK,iK=W({name:"GobletSquareFull",__name:"goblet-square-full",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 270.912c10.048 6.72 22.464 14.912 28.992 18.624a220.16 220.16 0 0 0 114.752 30.72c30.592 0 49.408-9.472 91.072-41.152l.64-.448c52.928-40.32 82.368-55.04 132.288-54.656 55.552.448 99.584 20.8 142.72 57.408l1.536 1.28V128H256zm.96 76.288C266.368 482.176 346.88 575.872 512 576c157.44.064 237.952-85.056 253.248-209.984a952 952 0 0 1-40.192-35.712c-32.704-27.776-63.36-41.92-101.888-42.24-31.552-.256-50.624 9.28-93.12 41.6l-.576.448c-52.096 39.616-81.024 54.208-129.792 54.208-54.784 0-100.48-13.376-142.784-37.056zM480 638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96z"})]))}}),lK=iK,cK=W({name:"GobletSquare",__name:"goblet-square",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M544 638.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912M256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256z"})]))}}),uK=cK,dK=W({name:"Goblet",__name:"goblet",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320"})]))}}),fK=dK,hK=W({name:"GoldMedal",__name:"gold-medal",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m772.13 452.84 53.86-351.81c1.32-10.01-1.17-18.68-7.49-26.02S804.35 64 795.01 64H228.99v-.01h-.06c-9.33 0-17.15 3.67-23.49 11.01s-8.83 16.01-7.49 26.02l53.87 351.89C213.54 505.73 193.59 568.09 192 640c2 90.67 33.17 166.17 93.5 226.5S421.33 957.99 512 960c90.67-2 166.17-33.17 226.5-93.5 60.33-60.34 91.49-135.83 93.5-226.5-1.59-71.94-21.56-134.32-59.87-187.16M640.01 128h117.02l-39.01 254.02c-20.75-10.64-40.74-19.73-59.94-27.28-5.92-3-11.95-5.8-18.08-8.41V128zM576 128v198.76c-13.18-2.58-26.74-4.43-40.67-5.55-8.07-.8-15.85-1.2-23.33-1.2-10.54 0-21.09.66-31.64 1.96a360 360 0 0 0-32.36 4.79V128zm-192 0h.04v218.3c-6.22 2.66-12.34 5.5-18.36 8.56-19.13 7.54-39.02 16.6-59.66 27.16L267.01 128zm308.99 692.99c-48 48-108.33 73-180.99 75.01-72.66-2.01-132.99-27.01-180.99-75.01S258.01 712.66 256 640c2.01-72.66 27.01-132.99 75.01-180.99 19.67-19.67 41.41-35.47 65.22-47.41 38.33-15.04 71.15-23.92 98.44-26.65 5.07-.41 10.2-.7 15.39-.88.63-.01 1.28-.03 1.91-.03.66 0 1.35.03 2.02.04 5.11.17 10.15.46 15.13.86 27.4 2.71 60.37 11.65 98.91 26.79 23.71 11.93 45.36 27.69 64.96 47.29 48 48 73 108.33 75.01 180.99-2.01 72.65-27.01 132.98-75.01 180.98"}),A("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"})]))}}),pK=hK,vK=W({name:"GoodsFilled",__name:"goods-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M192 352h640l64 544H128zm128 224h64V448h-64zm320 0h64V448h-64zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0"})]))}}),mK=vK,gK=W({name:"Goods",__name:"goods",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M320 288v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4h131.072a32 32 0 0 1 31.808 28.8l57.6 576a32 32 0 0 1-31.808 35.2H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320zm64 0h256v-22.336C640 189.248 582.272 128 512 128s-128 61.248-128 137.664v22.4zm-64 64H217.92l-51.2 512h690.56l-51.264-512H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0z"})]))}}),bK=gK,yK=W({name:"Grape",__name:"grape",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M544 195.2a160 160 0 0 1 96 60.8 160 160 0 1 1 146.24 254.976 160 160 0 0 1-128 224 160 160 0 1 1-292.48 0 160 160 0 0 1-128-224A160 160 0 1 1 384 256a160 160 0 0 1 96-60.8V128h-64a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64h-64zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192m-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),wK=yK,_K=W({name:"Grid",__name:"grid",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"})]))}}),Xx=_K,CK=W({name:"Guide",__name:"guide",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M640 608h-64V416h64zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768zM384 608V416h64v192zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32z"}),A("path",{fill:"currentColor",d:"m220.8 256-71.232 80 71.168 80H768V256zm-14.4-64H800a32 32 0 0 1 32 32v224a32 32 0 0 1-32 32H206.4a32 32 0 0 1-23.936-10.752l-99.584-112a32 32 0 0 1 0-42.496l99.584-112A32 32 0 0 1 206.4 192m678.784 496-71.104 80H266.816V608h547.2zm-56.768-144H234.88a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h593.6a32 32 0 0 0 23.936-10.752l99.584-112a32 32 0 0 0 0-42.496l-99.584-112A32 32 0 0 0 828.48 544z"})]))}}),SK=CK,xK=W({name:"Handbag",__name:"handbag",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M887.01 264.99c-6-5.99-13.67-8.99-23.01-8.99H704c-1.34-54.68-20.01-100.01-56-136s-81.32-54.66-136-56c-54.68 1.34-100.01 20.01-136 56s-54.66 81.32-56 136H160c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.67-8.99 23.01v640c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V288c0-9.35-2.99-17.02-8.99-23.01M421.5 165.5c24.32-24.34 54.49-36.84 90.5-37.5 35.99.68 66.16 13.18 90.5 37.5s36.84 54.49 37.5 90.5H384c.68-35.99 13.18-66.16 37.5-90.5M832 896H192V320h128v128h64V320h256v128h64V320h128z"})]))}}),EK=xK,kK=W({name:"Headset",__name:"headset",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848M896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0"})]))}}),AK=kK,TK=W({name:"HelpFilled",__name:"help-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M926.784 480H701.312A192.51 192.51 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.51 192.51 0 0 0 701.312 544zM97.28 544h225.472A192.51 192.51 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.51 192.51 0 0 0 322.688 480H97.216z"})]))}}),MK=TK,PK=W({name:"Help",__name:"help",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m759.936 805.248-90.944-91.008A254.9 254.9 0 0 1 512 768a254.9 254.9 0 0 1-156.992-53.76l-90.944 91.008A382.46 382.46 0 0 0 512 896c94.528 0 181.12-34.176 247.936-90.752m45.312-45.312A382.46 382.46 0 0 0 896 512c0-94.528-34.176-181.12-90.752-247.936l-91.008 90.944C747.904 398.4 768 452.864 768 512s-20.096 113.6-53.76 156.992zm-45.312-541.184A382.46 382.46 0 0 0 512 128c-94.528 0-181.12 34.176-247.936 90.752l90.944 91.008A254.9 254.9 0 0 1 512 256c59.136 0 113.6 20.096 156.992 53.76zm-541.184 45.312A382.46 382.46 0 0 0 128 512c0 94.528 34.176 181.12 90.752 247.936l91.008-90.944A254.9 254.9 0 0 1 256 512c0-59.136 20.096-113.6 53.76-156.992zm417.28 394.496a194.6 194.6 0 0 0 22.528-22.528C686.912 602.56 704 559.232 704 512a191.23 191.23 0 0 0-67.968-146.56A191.3 191.3 0 0 0 512 320a191.23 191.23 0 0 0-146.56 67.968C337.088 421.44 320 464.768 320 512a191.23 191.23 0 0 0 67.968 146.56C421.44 686.912 464.768 704 512 704c47.296 0 90.56-17.088 124.032-45.44M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),RK=PK,IK=W({name:"Hide",__name:"hide",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-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 176S0 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.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 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.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.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.6q-43.2 72-153.6 172.8c-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-176S1024 528 1024 512s-48.001-73.6-134.401-176"}),A("path",{fill:"currentColor",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 112s-67.2 48-112 48"})]))}}),Jx=IK,OK=W({name:"Histogram",__name:"histogram",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"})]))}}),LK=OK,NK=W({name:"HomeFilled",__name:"home-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"})]))}}),$K=NK,DK=W({name:"HotWater",__name:"hot-water",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M273.067 477.867h477.866V409.6H273.067zm0 68.266v51.2A187.733 187.733 0 0 0 460.8 785.067h102.4a187.733 187.733 0 0 0 187.733-187.734v-51.2zm-34.134-204.8h546.134a34.133 34.133 0 0 1 34.133 34.134v221.866a256 256 0 0 1-256 256H460.8a256 256 0 0 1-256-256V375.467a34.133 34.133 0 0 1 34.133-34.134M512 34.133a34.133 34.133 0 0 1 34.133 34.134v170.666a34.133 34.133 0 0 1-68.266 0V68.267A34.133 34.133 0 0 1 512 34.133M375.467 102.4a34.133 34.133 0 0 1 34.133 34.133v102.4a34.133 34.133 0 0 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.134-34.133m273.066 0a34.133 34.133 0 0 1 34.134 34.133v102.4a34.133 34.133 0 1 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.133-34.133M170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267"})]))}}),FK=DK,BK=W({name:"House",__name:"house",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"})]))}}),VK=BK,zK=W({name:"IceCreamRound",__name:"ice-cream-round",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m308.352 489.344 226.304 226.304a32 32 0 0 0 45.248 0L783.552 512A192 192 0 1 0 512 240.448L308.352 444.16a32 32 0 0 0 0 45.248zm135.744 226.304L308.352 851.392a96 96 0 0 1-135.744-135.744l135.744-135.744-45.248-45.248a96 96 0 0 1 0-135.808L466.752 195.2A256 256 0 0 1 828.8 557.248L625.152 760.96a96 96 0 0 1-135.808 0l-45.248-45.248zM398.848 670.4 353.6 625.152 217.856 760.896a32 32 0 0 0 45.248 45.248zm248.96-384.64a32 32 0 0 1 0 45.248L466.624 512a32 32 0 1 1-45.184-45.248l180.992-181.056a32 32 0 0 1 45.248 0zm90.496 90.496a32 32 0 0 1 0 45.248L557.248 602.496A32 32 0 1 1 512 557.248l180.992-180.992a32 32 0 0 1 45.312 0"})]))}}),HK=zK,WK=W({name:"IceCreamSquare",__name:"ice-cream-square",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M416 640h256a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32H352a32 32 0 0 0-32 32v448a32 32 0 0 0 32 32zm192 64v160a96 96 0 0 1-192 0V704h-64a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96h320a96 96 0 0 1 96 96v448a96 96 0 0 1-96 96zm-64 0h-64v160a32 32 0 1 0 64 0z"})]))}}),jK=WK,KK=W({name:"IceCream",__name:"ice-cream",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128.64 448a208 208 0 0 1 193.536-191.552 224 224 0 0 1 445.248 15.488A208.13 208.13 0 0 1 894.784 448H896L548.8 983.68a32 32 0 0 1-53.248.704L128 448zm64.256 0h286.208a144 144 0 0 0-286.208 0m351.36 0h286.272a144 144 0 0 0-286.272 0m-294.848 64 271.808 396.608L778.24 512zM511.68 352.64a207.87 207.87 0 0 1 189.184-96.192 160 160 0 0 0-314.752 5.632c52.608 12.992 97.28 46.08 125.568 90.56"})]))}}),UK=KK,qK=W({name:"IceDrink",__name:"ice-drink",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 448v128h239.68l16.064-128zm-64 0H256.256l16.064 128H448zm64-255.36V384h247.744A256.13 256.13 0 0 0 512 192.64m-64 8.064A256.45 256.45 0 0 0 264.256 384H448zm64-72.064A320.13 320.13 0 0 1 825.472 384H896a32 32 0 1 1 0 64h-64v1.92l-56.96 454.016A64 64 0 0 1 711.552 960H312.448a64 64 0 0 1-63.488-56.064L192 449.92V448h-64a32 32 0 0 1 0-64h70.528A320.38 320.38 0 0 1 448 135.04V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H544a32 32 0 0 0-32 32zM743.68 640H280.32l32.128 256h399.104z"})]))}}),GK=qK,YK=W({name:"IceTea",__name:"ice-tea",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z"})]))}}),XK=YK,JK=W({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.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.344M590.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.99 12.99 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"})]))}}),Pf=JK,ZK=W({name:"Iphone",__name:"iphone",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0"})]))}}),QK=ZK,eU=W({name:"Key",__name:"key",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"})]))}}),tU=eU,nU=W({name:"KnifeFork",__name:"knife-fork",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 410.56V96a32 32 0 0 1 64 0v314.56A96 96 0 0 0 384 320V96a32 32 0 0 1 64 0v224a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.8A160 160 0 0 1 128 320V96a32 32 0 0 1 64 0v224a96 96 0 0 0 64 90.56m384-250.24V544h126.72c-3.328-78.72-12.928-147.968-28.608-207.744-14.336-54.528-46.848-113.344-98.112-175.872zM640 608v320a32 32 0 1 1-64 0V64h64c85.312 89.472 138.688 174.848 160 256s32 177.152 32 288z"})]))}}),sU=nU,aU=W({name:"Lightning",__name:"lightning",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M288 671.36v64.128A239.81 239.81 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 736 734.016v-64.768a192 192 0 0 0 3.328-377.92l-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 91.968 70.464 167.36 160.256 175.232z"}),A("path",{fill:"currentColor",d:"M416 736a32 32 0 0 1-27.776-47.872l128-224a32 32 0 1 1 55.552 31.744L471.168 672H608a32 32 0 0 1 27.776 47.872l-128 224a32 32 0 1 1-55.68-31.744L552.96 736z"})]))}}),oU=aU,rU=W({name:"Link",__name:"link",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}}),iU=rU,lU=W({name:"List",__name:"list",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"})]))}}),Zx=lU,cU=W({name:"Loading",__name:"loading",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.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.248m452.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.248M828.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 0m-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 0"})]))}}),Ns=cU,uU=W({name:"LocationFilled",__name:"location-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 928c23.936 0 117.504-68.352 192.064-153.152C803.456 661.888 864 535.808 864 416c0-189.632-155.84-320-352-320S160 226.368 160 416c0 120.32 60.544 246.4 159.936 359.232C394.432 859.84 488 928 512 928m0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6"})]))}}),dU=uU,fU=W({name:"LocationInformation",__name:"location-information",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),A("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),A("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),hU=fU,pU=W({name:"Location",__name:"location",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),A("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),vU=pU,mU=W({name:"Lock",__name:"lock",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),A("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}}),gU=mU,bU=W({name:"Lollipop",__name:"lollipop",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M513.28 448a64 64 0 1 1 76.544 49.728A96 96 0 0 0 768 448h64a160 160 0 0 1-320 0zm-126.976-29.696a256 256 0 1 0 43.52-180.48A256 256 0 0 1 832 448h-64a192 192 0 0 0-381.696-29.696m105.664 249.472L285.696 874.048a96 96 0 0 1-135.68-135.744l206.208-206.272a320 320 0 1 1 135.744 135.744m-54.464-36.032a322 322 0 0 1-45.248-45.248L195.2 783.552a32 32 0 1 0 45.248 45.248l197.056-197.12z"})]))}}),yU=bU,wU=W({name:"MagicStick",__name:"magic-stick",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64h64v192h-64zm0 576h64v192h-64zM160 480v-64h192v64zm576 0v-64h192v64zM249.856 199.04l45.248-45.184L430.848 289.6 385.6 334.848 249.856 199.104zM657.152 606.4l45.248-45.248 135.744 135.744-45.248 45.248zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248z"})]))}}),_U=wU,CU=W({name:"Magnet",__name:"magnet",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0"})]))}}),SU=CU,xU=W({name:"Male",__name:"male",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450m0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5m253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125"}),A("path",{fill:"currentColor",d:"M877.625 118.25q28.125 0 28.125 28.125v225q0 28.125-28.125 28.125T849.5 371.375v-225q0-28.125 28.125-28.125"}),A("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"})]))}}),EU=xU,kU=W({name:"Management",__name:"management",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z"})]))}}),AU=kU,TU=W({name:"MapLocation",__name:"map-location",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),A("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"})]))}}),MU=TU,PU=W({name:"Medal",__name:"medal",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),A("path",{fill:"currentColor",d:"M576 128H448v200a286.7 286.7 0 0 1 64-8c19.52 0 40.832 2.688 64 8zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128zm-256 0H266.624l39.04 253.568c27.84-13.504 53.888-24.832 78.336-33.92zM229.312 64h565.376a32 32 0 0 1 31.616 36.864L768 480c-113.792-64-199.104-96-256-96s-142.208 32-256 96l-58.304-379.136A32 32 0 0 1 229.312 64"})]))}}),RU=PU,IU=W({name:"Memo",__name:"memo",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M480 320h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"}),A("path",{fill:"currentColor",d:"M887.01 72.99C881.01 67 873.34 64 864 64H160c-9.35 0-17.02 3-23.01 8.99C131 78.99 128 86.66 128 96v832c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V96c0-9.35-3-17.02-8.99-23.01M192 896V128h96v768zm640 0H352V128h480z"}),A("path",{fill:"currentColor",d:"M480 512h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32m0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"})]))}}),OU=IU,LU=W({name:"Menu",__name:"menu",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"})]))}}),NU=LU,$U=W({name:"MessageBox",__name:"message-box",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M288 384h448v64H288zm96-128h256v64H384zM131.456 512H384v128h256V512h252.544L721.856 192H302.144zM896 576H704v128H320V576H128v256h768zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128"})]))}}),DU=$U,FU=W({name:"Message",__name:"message",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"}),A("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224z"})]))}}),BU=FU,VU=W({name:"Mic",__name:"mic",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M480 704h160a64 64 0 0 0 64-64v-32h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-32a64 64 0 0 0-64-64H384a64 64 0 0 0-64 64v32h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v32a64 64 0 0 0 64 64zm64 64v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768h-96a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64h256a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128z"})]))}}),zU=VU,HU=W({name:"Microphone",__name:"microphone",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128m0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64m-32 832v-64a288 288 0 0 1-288-288v-32a32 32 0 0 1 64 0v32a224 224 0 0 0 224 224h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64z"})]))}}),WU=HU,jU=W({name:"MilkTea",__name:"milk-tea",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M416 128V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H512a32 32 0 0 0-32 32v32h320a96 96 0 0 1 11.712 191.296l-39.68 581.056A64 64 0 0 1 708.224 960H315.776a64 64 0 0 1-63.872-59.648l-39.616-581.056A96 96 0 0 1 224 128zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64m493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12"})]))}}),KU=jU,UU=W({name:"Minus",__name:"minus",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),Qx=UU,qU=W({name:"Money",__name:"money",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 640v192h640V384H768v-64h150.976c14.272 0 19.456 1.472 24.64 4.288a29.06 29.06 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64v493.952c0 14.272-1.472 19.456-4.288 24.64a29.06 29.06 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H233.024c-14.272 0-19.456-1.472-24.64-4.288a29.06 29.06 0 0 1-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z"}),A("path",{fill:"currentColor",d:"M768 192H128v448h640zm64-22.976v493.952c0 14.272-1.472 19.456-4.288 24.64a29.06 29.06 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.06 29.06 0 0 1-12.16-12.096C65.536 682.432 64 677.248 64 663.04V169.024c0-14.272 1.472-19.456 4.288-24.64a29.06 29.06 0 0 1 12.096-12.16C85.568 129.536 90.752 128 104.96 128h685.952c14.272 0 19.456 1.472 24.64 4.288a29.06 29.06 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64z"}),A("path",{fill:"currentColor",d:"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320m0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),GU=qU,YU=W({name:"Monitor",__name:"monitor",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z"})]))}}),XU=YU,JU=W({name:"MoonNight",__name:"moon-night",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.3 448.3 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"}),A("path",{fill:"currentColor",d:"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z"})]))}}),ZU=JU,QU=W({name:"Moon",__name:"moon",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 391 391 0 0 0-17.408 16.384m181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"})]))}}),eq=QU,tq=W({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),By=tq,nq=W({name:"More",__name:"more",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),e9=nq,sq=W({name:"MostlyCloudy",__name:"mostly-cloudy",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.81 207.81 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.81 271.81 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72"})]))}}),aq=sq,oq=W({name:"Mouse",__name:"mouse",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M438.144 256c-68.352 0-92.736 4.672-117.76 18.112q-30.144 16.128-46.272 46.272C260.672 345.408 256 369.792 256 438.144v275.712c0 68.352 4.672 92.736 18.112 117.76q16.128 30.144 46.272 46.272C345.408 891.328 369.792 896 438.144 896h147.712c68.352 0 92.736-4.672 117.76-18.112q30.144-16.128 46.272-46.272C763.328 806.592 768 782.208 768 713.856V438.144c0-68.352-4.672-92.736-18.112-117.76a110.46 110.46 0 0 0-46.272-46.272C678.592 260.672 654.208 256 585.856 256zm0-64h147.712c85.568 0 116.608 8.96 147.904 25.6 31.36 16.768 55.872 41.344 72.576 72.64C823.104 321.536 832 352.576 832 438.08v275.84c0 85.504-8.96 116.544-25.6 147.84a174.46 174.46 0 0 1-72.64 72.576C702.464 951.104 671.424 960 585.92 960H438.08c-85.504 0-116.544-8.96-147.84-25.6a174.46 174.46 0 0 1-72.64-72.704c-16.768-31.296-25.664-62.336-25.664-147.84v-275.84c0-85.504 8.96-116.544 25.6-147.84a174.46 174.46 0 0 1 72.768-72.576c31.232-16.704 62.272-25.6 147.776-25.6z"}),A("path",{fill:"currentColor",d:"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32m32-96a32 32 0 0 1-64 0v-64a32 32 0 0 0-32-32h-96a32 32 0 0 1 0-64h96a96 96 0 0 1 96 96z"})]))}}),rq=oq,iq=W({name:"Mug",__name:"mug",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64m64-544h63.552a96 96 0 0 1 96 96v224a96 96 0 0 1-96 96H800v128a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V128a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32z"})]))}}),lq=iq,cq=W({name:"MuteNotification",__name:"mute-notification",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m241.216 832 63.616-64H768V448c0-42.368-10.24-82.304-28.48-117.504l46.912-47.232C815.36 331.392 832 387.84 832 448v320h96a32 32 0 1 1 0 64zm-90.24 0H96a32 32 0 1 1 0-64h96V448a320.13 320.13 0 0 1 256-313.6V128a64 64 0 1 1 128 0v6.4a319.55 319.55 0 0 1 171.648 97.088l-45.184 45.44A256 256 0 0 0 256 448v278.336L151.04 832zM448 896h128a64 64 0 0 1-128 0"}),A("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056z"})]))}}),uq=cq,dq=W({name:"Mute",__name:"mute",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m412.16 592.128-45.44 45.44A191.23 191.23 0 0 1 320 512V256a192 192 0 1 1 384 0v44.352l-64 64V256a128 128 0 1 0-256 0v256c0 30.336 10.56 58.24 28.16 80.128m51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528zM314.88 779.968l46.144-46.08A223 223 0 0 0 480 768h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64h64v-64c-61.44 0-118.4-19.2-165.12-52.032M266.752 737.6A286.98 286.98 0 0 1 192 544v-32a32 32 0 0 1 64 0v32c0 56.832 21.184 108.8 56.064 148.288z"}),A("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056z"})]))}}),fq=dq,hq=W({name:"NoSmoking",__name:"no-smoking",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744zM768 576v128h128V576zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),pq=hq,vq=W({name:"Notebook",__name:"notebook",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32"})]))}}),mq=vq,gq=W({name:"Notification",__name:"notification",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 128v64H256a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V512h64v256a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V256a128 128 0 0 1 128-128z"}),A("path",{fill:"currentColor",d:"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"})]))}}),bq=gq,yq=W({name:"Odometer",__name:"odometer",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),A("path",{fill:"currentColor",d:"M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0"}),A("path",{fill:"currentColor",d:"M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928"})]))}}),wq=yq,_q=W({name:"OfficeBuilding",__name:"office-building",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"}),A("path",{fill:"currentColor",d:"M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"})]))}}),Cq=_q,Sq=W({name:"Open",__name:"open",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36"}),A("path",{fill:"currentColor",d:"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),xq=Sq,Eq=W({name:"Operation",__name:"operation",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}}),kq=Eq,Aq=W({name:"Opportunity",__name:"opportunity",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M384 960v-64h192.064v64zm448-544a350.66 350.66 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.55 351.55 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z"})]))}}),Tq=Aq,Mq=W({name:"Orange",__name:"orange",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M544 894.72a382.34 382.34 0 0 0 215.936-89.472L577.024 622.272c-10.24 6.016-21.248 10.688-33.024 13.696v258.688zm261.248-134.784A382.34 382.34 0 0 0 894.656 544H635.968c-3.008 11.776-7.68 22.848-13.696 33.024zM894.656 480a382.34 382.34 0 0 0-89.408-215.936L622.272 446.976c6.016 10.24 10.688 21.248 13.696 33.024zm-134.72-261.248A382.34 382.34 0 0 0 544 129.344v258.688c11.776 3.008 22.848 7.68 33.024 13.696zM480 129.344a382.34 382.34 0 0 0-215.936 89.408l182.912 182.976c10.24-6.016 21.248-10.688 33.024-13.696zm-261.248 134.72A382.34 382.34 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024zM129.344 544a382.34 382.34 0 0 0 89.408 215.936l182.976-182.912A127.2 127.2 0 0 1 388.032 544zm134.72 261.248A382.34 382.34 0 0 0 480 894.656V635.968a127.2 127.2 0 0 1-33.024-13.696zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128"})]))}}),Pq=Mq,Rq=W({name:"Paperclip",__name:"paperclip",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M602.496 240.448A192 192 0 1 1 874.048 512l-316.8 316.8A256 256 0 0 1 195.2 466.752L602.496 59.456l45.248 45.248L240.448 512A192 192 0 0 0 512 783.552l316.8-316.8a128 128 0 1 0-181.056-181.056L353.6 579.904a32 32 0 1 0 45.248 45.248l294.144-294.144 45.312 45.248L444.096 670.4a96 96 0 1 1-135.744-135.744z"})]))}}),Iq=Rq,Oq=W({name:"PartlyCloudy",__name:"partly-cloudy",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 445.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"}),A("path",{fill:"currentColor",d:"M139.84 501.888a256 256 0 1 1 417.856-277.12c-17.728 2.176-38.208 8.448-61.504 18.816A192 192 0 1 0 189.12 460.48a6004 6004 0 0 0-49.28 41.408"})]))}}),Lq=Oq,Nq=W({name:"Pear",__name:"pear",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M542.336 258.816a443 443 0 0 0-9.024 25.088 32 32 0 1 1-60.8-20.032l1.088-3.328a162.69 162.69 0 0 0-122.048 131.392l-17.088 102.72-20.736 15.36C256.192 552.704 224 610.88 224 672c0 120.576 126.4 224 288 224s288-103.424 288-224c0-61.12-32.192-119.296-89.728-161.92l-20.736-15.424-17.088-102.72a162.69 162.69 0 0 0-130.112-133.12m-40.128-66.56c7.936-15.552 16.576-30.08 25.92-43.776 23.296-33.92 49.408-59.776 78.528-77.12a32 32 0 1 1 32.704 55.04c-20.544 12.224-40.064 31.552-58.432 58.304a317 317 0 0 0-9.792 15.104 226.69 226.69 0 0 1 164.48 181.568l12.8 77.248C819.456 511.36 864 587.392 864 672c0 159.04-157.568 288-352 288S160 831.04 160 672c0-84.608 44.608-160.64 115.584-213.376l12.8-77.248a226.624 226.624 0 0 1 213.76-189.184z"})]))}}),$q=Nq,Dq=W({name:"PhoneFilled",__name:"phone-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M199.232 125.568 90.624 379.008a32 32 0 0 0 6.784 35.2l512.384 512.384a32 32 0 0 0 35.2 6.784l253.44-108.608a32 32 0 0 0 10.048-52.032L769.6 633.92a32 32 0 0 0-36.928-5.952l-130.176 65.088-271.488-271.552 65.024-130.176a32 32 0 0 0-5.952-36.928L251.2 115.52a32 32 0 0 0-51.968 10.048"})]))}}),Fq=Dq,Bq=W({name:"Phone",__name:"phone",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M79.36 432.256 591.744 944.64a32 32 0 0 0 35.2 6.784l253.44-108.544a32 32 0 0 0 9.984-52.032l-153.856-153.92a32 32 0 0 0-36.928-6.016l-69.888 34.944L358.08 394.24l35.008-69.888a32 32 0 0 0-5.952-36.928L233.152 133.568a32 32 0 0 0-52.032 10.048L72.512 397.056a32 32 0 0 0 6.784 35.2zm60.48-29.952 81.536-190.08L325.568 316.48l-24.64 49.216-20.608 41.216 32.576 32.64 271.552 271.552 32.64 32.64 41.216-20.672 49.28-24.576 104.192 104.128-190.08 81.472zM512 320v-64a256 256 0 0 1 256 256h-64a192 192 0 0 0-192-192m0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384"})]))}}),Vq=Bq,zq=W({name:"PictureFilled",__name:"picture-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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 32zm315.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.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),t9=zq,Hq=W({name:"PictureRounded",__name:"picture-rounded",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768m0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896"}),A("path",{fill:"currentColor",d:"M640 288q64 0 64 64t-64 64-64-64 64-64M214.656 790.656l-45.312-45.312 185.664-185.6a96 96 0 0 1 123.712-10.24l138.24 98.688a32 32 0 0 0 39.872-2.176L906.688 422.4l42.624 47.744L699.52 693.696a96 96 0 0 1-119.808 6.592l-138.24-98.752a32 32 0 0 0-41.152 3.456l-185.664 185.6z"})]))}}),Wq=Hq,jq=W({name:"Picture",__name:"picture",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64-64-64 64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"})]))}}),Kq=jq,Uq=W({name:"PieChart",__name:"pie-chart",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M448 68.48v64.832A384.128 384.128 0 0 0 512 896a384.13 384.13 0 0 0 378.688-320h64.768A448.128 448.128 0 0 1 64 512 448.13 448.13 0 0 1 448 68.48"}),A("path",{fill:"currentColor",d:"M576 97.28V448h350.72A384.064 384.064 0 0 0 576 97.28M512 64V33.152A448 448 0 0 1 990.848 512H512z"})]))}}),qq=Uq,Gq=W({name:"Place",__name:"place",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"}),A("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M384 649.088v64.96C269.76 732.352 192 771.904 192 800c0 37.696 139.904 96 320 96s320-58.304 320-96c0-28.16-77.76-67.648-192-85.952v-64.96C789.12 671.04 896 730.368 896 800c0 88.32-171.904 160-384 160s-384-71.68-384-160c0-69.696 106.88-128.96 256-150.912"})]))}}),Yq=Gq,Xq=W({name:"Platform",__name:"platform",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z"})]))}}),Jq=Xq,Zq=W({name:"Plus",__name:"plus",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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-64z"})]))}}),Vy=Zq,Qq=W({name:"Pointer",__name:"pointer",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M511.552 128c-35.584 0-64.384 28.8-64.384 64.448v516.48L274.048 570.88a94.27 94.27 0 0 0-112.896-3.456 44.416 44.416 0 0 0-8.96 62.208L332.8 870.4A64 64 0 0 0 384 896h512V575.232a64 64 0 0 0-45.632-61.312l-205.952-61.76A96 96 0 0 1 576 360.192V192.448C576 156.8 547.2 128 511.552 128M359.04 556.8l24.128 19.2V192.448a128.448 128.448 0 1 1 256.832 0v167.744a32 32 0 0 0 22.784 30.656l206.016 61.76A128 128 0 0 1 960 575.232V896a64 64 0 0 1-64 64H384a128 128 0 0 1-102.4-51.2L101.056 668.032A108.416 108.416 0 0 1 128 512.512a158.27 158.27 0 0 1 185.984 8.32z"})]))}}),eG=Qq,tG=W({name:"Position",__name:"position",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992z"})]))}}),nG=tG,sG=W({name:"Postcard",__name:"postcard",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96"}),A("path",{fill:"currentColor",d:"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128M288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32m0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),aG=sG,oG=W({name:"Pouring",__name:"pouring",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672M959.552 480a256 256 0 0 1-256 256h-400A239.81 239.81 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32"})]))}}),rG=oG,iG=W({name:"Present",__name:"present",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),A("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32"}),A("path",{fill:"currentColor",d:"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),A("path",{fill:"currentColor",d:"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),lG=iG,cG=W({name:"PriceTag",__name:"price-tag",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),A("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),uG=cG,dG=W({name:"Printer",__name:"printer",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 768H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.06 29.06 0 0 1-12.16-12.096C65.536 746.432 64 741.248 64 727.04V379.072c0-42.816 4.48-58.304 12.8-73.984 8.384-15.616 20.672-27.904 36.288-36.288 15.68-8.32 31.168-12.8 73.984-12.8H256V64h512v192h68.928c42.816 0 58.304 4.48 73.984 12.8 15.616 8.384 27.904 20.672 36.288 36.288 8.32 15.68 12.8 31.168 12.8 73.984v347.904c0 14.272-1.472 19.456-4.288 24.64a29.06 29.06 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H768v192H256zm64-192v320h384V576zm-64 128V512h512v192h128V379.072c0-29.376-1.408-36.48-5.248-43.776a23.3 23.3 0 0 0-10.048-10.048c-7.232-3.84-14.4-5.248-43.776-5.248H187.072c-29.376 0-36.48 1.408-43.776 5.248a23.3 23.3 0 0 0-10.048 10.048c-3.84 7.232-5.248 14.4-5.248 43.776V704zm64-448h384V128H320zm-64 128h64v64h-64zm128 0h64v64h-64z"})]))}}),fG=dG,hG=W({name:"Promotion",__name:"promotion",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"})]))}}),n9=hG,pG=W({name:"QuartzWatch",__name:"quartz-watch",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M422.02 602.01v-.03c-6.68-5.99-14.35-8.83-23.01-8.51q-13.005.48-22.5 10.02c-6.33 6.36-9.5 13.7-9.5 22.02s3 15.82 8.99 22.5c8.68 8.68 19.02 11.35 31.01 8s19.49-10.85 22.5-22.5.51-22.15-7.49-31.49zM384 512c0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01m6.53-82.49c11.65 3.01 22.15.51 31.49-7.49h.04c5.99-6.68 8.83-14.34 8.51-23.01s-3.66-16.16-10.02-22.5c-6.36-6.33-13.7-9.5-22.02-9.5s-15.82 3-22.5 8.99c-8.68 8.69-11.35 19.02-8 31.01q5.025 17.985 22.5 22.5m242.94 0q17.505-4.545 22.02-22.02c3.01-11.65.51-22.15-7.49-31.49h.01c-6.68-5.99-14.18-8.99-22.5-8.99s-15.66 3.16-22.02 9.5q-9.54 9.51-10.02 22.5c-.32 8.66 2.52 16.33 8.51 23.01 9.32 8.02 19.82 10.52 31.49 7.49M512 640c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m183.01-151.01c-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01 0-9.35-3-17.02-8.99-23.01"}),A("path",{fill:"currentColor",d:"M832 512c-2-90.67-33.17-166.17-93.5-226.5-20.43-20.42-42.6-37.49-66.5-51.23V64H352v170.26c-23.9 13.74-46.07 30.81-66.5 51.24-60.33 60.33-91.49 135.83-93.5 226.5 2 90.67 33.17 166.17 93.5 226.5 20.43 20.43 42.6 37.5 66.5 51.24V960h320V789.74c23.9-13.74 46.07-30.81 66.5-51.24 60.33-60.34 91.49-135.83 93.5-226.5M416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68zm-96-128c-72.66-2.01-132.99-27.01-180.99-75.01S258.01 584.66 256 512c2.01-72.66 27.01-132.99 75.01-180.99S439.34 258.01 512 256c72.66 2.01 132.99 27.01 180.99 75.01S765.99 439.34 768 512c-2.01 72.66-27.01 132.99-75.01 180.99S584.66 765.99 512 768"}),A("path",{fill:"currentColor",d:"M512 320c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m112.99 273.5c-8.66-.32-16.33 2.52-23.01 8.51-7.98 9.32-10.48 19.82-7.49 31.49s10.49 19.17 22.5 22.5 22.35.66 31.01-8v.04c5.99-6.68 8.99-14.18 8.99-22.5s-3.16-15.66-9.5-22.02-13.84-9.7-22.5-10.02"})]))}}),vG=pG,mG=W({name:"QuestionFilled",__name:"question-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.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.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672 406.208a54.27 54.27 0 0 0-38.72 14.784 49.4 49.4 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.85 54.85 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.97 51.97 0 0 0-15.488-38.016 55.94 55.94 0 0 0-39.424-14.784"})]))}}),s9=mG,gG=W({name:"Rank",__name:"rank",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544z"})]))}}),a9=gG,bG=W({name:"ReadingLamp",__name:"reading-lamp",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m-44.672-768-99.52 448h608.384l-99.52-448zm-25.6-64h460.608a32 32 0 0 1 31.232 25.088l113.792 512A32 32 0 0 1 856.128 640H167.872a32 32 0 0 1-31.232-38.912l113.792-512A32 32 0 0 1 281.664 64z"}),A("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z"})]))}}),yG=bG,wG=W({name:"Reading",__name:"reading",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72zM137.024 106.432l370.432 52.928a32 32 0 0 0 9.088 0l370.432-52.928A64 64 0 0 1 960 169.792v638.72a64 64 0 0 1-54.976 63.36l-388.48 55.488a32 32 0 0 1-9.088 0l-388.48-55.488A64 64 0 0 1 64 808.512v-638.72a64 64 0 0 1 73.024-63.36"}),A("path",{fill:"currentColor",d:"M480 192h64v704h-64z"})]))}}),_G=wG,CG=W({name:"RefreshLeft",__name:"refresh-left",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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"})]))}}),Sg=CG,SG=W({name:"RefreshRight",__name:"refresh-right",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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.88"})]))}}),o9=SG,xG=W({name:"Refresh",__name:"refresh",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),EG=xG,kG=W({name:"Refrigerator",__name:"refrigerator",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96m32 224h64v96h-64zm0 288h64v96h-64z"})]))}}),AG=kG,TG=W({name:"RemoveFilled",__name:"remove-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"})]))}}),MG=TG,PG=W({name:"Remove",__name:"remove",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),RG=PG,IG=W({name:"Right",__name:"right",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"})]))}}),OG=IG,LG=W({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118m-361.412 0a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118M512 361.412a30.12 30.12 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.12 30.12 0 0 0 512 361.412M512 512a30.12 30.12 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.12 30.12 0 0 0 512 512"})]))}}),r9=LG,NG=W({name:"School",__name:"school",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 128v704h576V128zm-32-64h640a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"}),A("path",{fill:"currentColor",d:"M384 832h256v-64a128 128 0 1 0-256 0zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192M320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z"})]))}}),$G=NG,DG=W({name:"Scissor",__name:"scissor",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m512.064 578.368-106.88 152.768a160 160 0 1 1-23.36-78.208L472.96 522.56 196.864 128.256a32 32 0 1 1 52.48-36.736l393.024 561.344a160 160 0 1 1-23.36 78.208l-106.88-152.704zm54.4-189.248 208.384-297.6a32 32 0 0 1 52.48 36.736l-221.76 316.672-39.04-55.808zm-376.32 425.856a96 96 0 1 0 110.144-157.248 96 96 0 0 0-110.08 157.248zm643.84 0a96 96 0 1 0-110.08-157.248 96 96 0 0 0 110.08 157.248"})]))}}),FG=DG,BG=W({name:"Search",__name:"search",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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 704"})]))}}),i9=BG,VG=W({name:"Select",__name:"select",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496"})]))}}),zG=VG,HG=W({name:"Sell",__name:"sell",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128s-128 61.248-128 137.664v22.4h256zm201.408 483.84L768 698.496V928a32 32 0 1 1-64 0V698.496l-73.344 73.344a32 32 0 1 1-45.248-45.248l128-128a32 32 0 0 1 45.248 0l128 128a32 32 0 1 1-45.248 45.248"})]))}}),WG=HG,jG=W({name:"SemiSelect",__name:"semi-select",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64"})]))}}),KG=jG,UG=W({name:"Service",__name:"service",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M864 409.6a192 192 0 0 1-37.888 349.44A256.064 256.064 0 0 1 576 960h-96a32 32 0 1 1 0-64h96a192.06 192.06 0 0 0 181.12-128H736a32 32 0 0 1-32-32V416a32 32 0 0 1 32-32h32c10.368 0 20.544.832 30.528 2.432a288 288 0 0 0-573.056 0A193 193 0 0 1 256 384h32a32 32 0 0 1 32 32v320a32 32 0 0 1-32 32h-32a192 192 0 0 1-96-358.4 352 352 0 0 1 704 0M256 448a128 128 0 1 0 0 256zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128"})]))}}),qG=UG,GG=W({name:"SetUp",__name:"set-up",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96"}),A("path",{fill:"currentColor",d:"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),A("path",{fill:"currentColor",d:"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),A("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),YG=GG,XG=W({name:"Setting",__name:"setting",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357 357 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a352 352 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357 357 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294 294 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293 293 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294 294 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288 288 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293 293 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a288 288 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"})]))}}),JG=XG,ZG=W({name:"Share",__name:"share",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m679.872 348.8-301.76 188.608a127.8 127.8 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z"})]))}}),QG=ZG,eY=W({name:"Ship",__name:"ship",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 386.88V448h405.568a32 32 0 0 1 30.72 40.768l-76.48 267.968A192 192 0 0 1 687.168 896H336.832a192 192 0 0 1-184.64-139.264L75.648 488.768A32 32 0 0 1 106.368 448H448V117.888a32 32 0 0 1 47.36-28.096l13.888 7.616L512 96v2.88l231.68 126.4a32 32 0 0 1-2.048 57.216zm0-70.272 144.768-65.792L512 171.84zM512 512H148.864l18.24 64H856.96l18.24-64zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2z"})]))}}),tY=eY,nY=W({name:"Shop",__name:"shop",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M704 704h64v192H256V704h64v64h384zm188.544-152.192C894.528 559.616 896 567.616 896 576a96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0c0-8.384 1.408-16.384 3.392-24.192L192 128h640z"})]))}}),sY=nY,aY=W({name:"ShoppingBag",__name:"shopping-bag",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320zm-384-64a192 192 0 1 1 384 0h160a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zm64 0h256a128 128 0 1 0-256 0"}),A("path",{fill:"currentColor",d:"M192 704h640v64H192z"})]))}}),oY=aY,rY=W({name:"ShoppingCartFull",__name:"shopping-cart-full",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44z"}),A("path",{fill:"currentColor",d:"M699.648 256 608 145.984 516.352 256zm-140.8-151.04a64 64 0 0 1 98.304 0L836.352 320H379.648z"})]))}}),iY=rY,lY=W({name:"ShoppingCart",__name:"shopping-cart",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44z"})]))}}),cY=lY,uY=W({name:"ShoppingTrolley",__name:"shopping-trolley",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833m439-193c7.4 0 13.8-2.2 19.5-6.5S836 623.3 838 616l112-448c2-10-.2-19.2-6.5-27.5S929 128 919 128H96c-9.3 0-17 3-23 9s-9 13.7-9 23 3 17 9 23 13.7 9 23 9h96v576h672c9.3 0 17-3 23-9s9-13.7 9-23-3-17-9-23-13.7-9-23-9H256v-64zM256 192h622l-96 384H256zm432 641c-13.3 0-24.5 4.5-33.5 13.5S641 866.7 641 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S735 893.3 735 880s-4.5-24.5-13.5-33.5S701.3 833 688 833"})]))}}),dY=uY,fY=W({name:"Smoking",__name:"smoking",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 576v128h640V576zm-32-64h704a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),hY=fY,pY=W({name:"Soccer",__name:"soccer",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M418.496 871.04 152.256 604.8c-16.512 94.016-2.368 178.624 42.944 224 44.928 44.928 129.344 58.752 223.296 42.24m72.32-18.176a573.06 573.06 0 0 0 224.832-137.216 573.1 573.1 0 0 0 137.216-224.832L533.888 171.84a578.56 578.56 0 0 0-227.52 138.496A567.7 567.7 0 0 0 170.432 532.48zM871.04 418.496c16.512-93.952 2.688-178.368-42.24-223.296-44.544-44.544-128.704-58.048-222.592-41.536zM149.952 874.048c-112.96-112.96-88.832-408.96 111.168-608.96C461.056 65.152 760.96 36.928 874.048 149.952c113.024 113.024 86.784 411.008-113.152 610.944s-497.92 226.112-610.944 113.152m452.544-497.792 22.656-22.656a32 32 0 0 1 45.248 45.248l-22.656 22.656 45.248 45.248A32 32 0 1 1 647.744 512l-45.248-45.248L557.248 512l45.248 45.248a32 32 0 1 1-45.248 45.248L512 557.248l-45.248 45.248L512 647.744a32 32 0 1 1-45.248 45.248l-45.248-45.248-22.656 22.656a32 32 0 1 1-45.248-45.248l22.656-22.656-45.248-45.248A32 32 0 1 1 376.256 512l45.248 45.248L466.752 512l-45.248-45.248a32 32 0 1 1 45.248-45.248L512 466.752l45.248-45.248L512 376.256a32 32 0 0 1 45.248-45.248z"})]))}}),vY=pY,mY=W({name:"SoldOut",__name:"sold-out",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128s-128 61.248-128 137.664v22.4h256zm201.408 476.16a32 32 0 1 1 45.248 45.184l-128 128a32 32 0 0 1-45.248 0l-128-128a32 32 0 1 1 45.248-45.248L704 837.504V608a32 32 0 1 1 64 0v229.504l73.408-73.408z"})]))}}),gY=mY,bY=W({name:"SortDown",__name:"sort-down",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),l9=bY,yY=W({name:"SortUp",__name:"sort-up",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),c9=yY,wY=W({name:"Sort",__name:"sort",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0z"})]))}}),_Y=wY,CY=W({name:"Stamp",__name:"stamp",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z"})]))}}),SY=CY,xY=W({name:"StarFilled",__name:"star-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M313.6 924.48a70.4 70.4 0 0 1-74.152-5.365 70.4 70.4 0 0 1-27.992-68.875l37.888-220.928L88.96 472.96a70.4 70.4 0 0 1 3.788-104.225A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 100.246-28.595 70.4 70.4 0 0 1 25.962 28.595l99.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"})]))}}),Ep=xY,EY=W({name:"Star",__name:"star",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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.72zM313.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"})]))}}),u9=EY,kY=W({name:"Stopwatch",__name:"stopwatch",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),A("path",{fill:"currentColor",d:"M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z"})]))}}),AY=kY,TY=W({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),zy=TY,MY=W({name:"Sugar",__name:"sugar",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m801.728 349.184 4.48 4.48a128 128 0 0 1 0 180.992L534.656 806.144a128 128 0 0 1-181.056 0l-4.48-4.48-19.392 109.696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16zm-548.8 198.72h447.168v2.24l60.8-60.8a63.8 63.8 0 0 0 18.752-44.416h-426.88l-89.664 89.728a64 64 0 0 0-10.24 13.248zm0 64q4.128 7.104 10.176 13.248l135.744 135.744a64 64 0 0 0 90.496 0L638.4 611.904zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928zM123.712 757.312l142.976 142.976 24.32-137.6a25.6 25.6 0 0 0-29.696-29.632zm633.6-633.344-24.32 137.472a25.6 25.6 0 0 0 29.632 29.632l137.28-24.064-142.656-143.04z"})]))}}),PY=MY,RY=W({name:"SuitcaseLine",__name:"suitcase-line",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5S64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z"})]))}}),IY=RY,OY=W({name:"Suitcase",__name:"suitcase",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),A("path",{fill:"currentColor",d:"M384 128v64h256v-64zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64"})]))}}),LY=OY,NY=W({name:"Sunny",__name:"sunny",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0m543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"})]))}}),$Y=NY,DY=W({name:"Sunrise",__name:"sunrise",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64m129.408-96a352 352 0 0 1 701.184 0h-64.32a288 288 0 0 0-572.544 0zM512 128a32 32 0 0 1 32 32v96a32 32 0 0 1-64 0v-96a32 32 0 0 1 32-32m407.296 168.704a32 32 0 0 1 0 45.248l-67.84 67.84a32 32 0 1 1-45.248-45.248l67.84-67.84a32 32 0 0 1 45.248 0m-814.592 0a32 32 0 0 1 45.248 0l67.84 67.84a32 32 0 1 1-45.248 45.248l-67.84-67.84a32 32 0 0 1 0-45.248"})]))}}),FY=DY,BY=W({name:"Sunset",__name:"sunset",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),VY=BY,zY=W({name:"SwitchButton",__name:"switch-button",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128"}),A("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"})]))}}),HY=zY,WY=W({name:"SwitchFilled",__name:"switch-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M247.47 358.4v.04c.07 19.17 7.72 37.53 21.27 51.09s31.92 21.2 51.09 21.27c39.86 0 72.41-32.6 72.41-72.4s-32.6-72.36-72.41-72.36-72.36 32.55-72.36 72.36"}),A("path",{fill:"currentColor",d:"M492.38 128H324.7c-52.16 0-102.19 20.73-139.08 57.61a196.66 196.66 0 0 0-57.61 139.08V698.7c-.01 25.84 5.08 51.42 14.96 75.29s24.36 45.56 42.63 63.83 39.95 32.76 63.82 42.65a196.7 196.7 0 0 0 75.28 14.98h167.68c3.03 0 5.46-2.43 5.46-5.42V133.42c.6-2.99-1.83-5.42-5.46-5.42m-56.11 705.88H324.7c-17.76.13-35.36-3.33-51.75-10.18s-31.22-16.94-43.61-29.67c-25.3-25.35-39.81-59.1-39.81-95.32V324.69c-.13-17.75 3.33-35.35 10.17-51.74a131.7 131.7 0 0 1 29.64-43.62c25.39-25.3 59.14-39.81 95.36-39.81h111.57zm402.12-647.67a196.66 196.66 0 0 0-139.08-57.61H580.48c-3.03 0-4.82 2.43-4.82 4.82v757.16c-.6 2.99 1.79 5.42 5.42 5.42h118.23a196.7 196.7 0 0 0 139.08-57.61A196.66 196.66 0 0 0 896 699.31V325.29a196.7 196.7 0 0 0-57.61-139.08m-111.3 441.92c-42.83 0-77.82-34.99-77.82-77.82s34.98-77.82 77.82-77.82c42.83 0 77.82 34.99 77.82 77.82s-34.99 77.82-77.82 77.82"})]))}}),jY=WY,KY=W({name:"Switch",__name:"switch",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344M64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}}),UY=KY,qY=W({name:"TakeawayBox",__name:"takeaway-box",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M832 384H192v448h640zM96 320h832V128H96zm800 64v480a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V384H64a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h896a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64"})]))}}),GY=qY,YY=W({name:"Ticket",__name:"ticket",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"})]))}}),XY=YY,JY=W({name:"Tickets",__name:"tickets",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z"})]))}}),ZY=JY,QY=W({name:"Timer",__name:"timer",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),A("path",{fill:"currentColor",d:"M512 320a32 32 0 0 1 32 32l-.512 224a32 32 0 1 1-64 0L480 352a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0m96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64z"})]))}}),eX=QY,tX=W({name:"ToiletPaper",__name:"toilet-paper",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224M736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224"}),A("path",{fill:"currentColor",d:"M736 448c-35.328 0-64-43.008-64-96s28.672-96 64-96 64 43.008 64 96-28.672 96-64 96"})]))}}),nX=tX,sX=W({name:"Tools",__name:"tools",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M764.416 254.72a351.7 351.7 0 0 1 86.336 149.184H960v192.064H850.752a351.7 351.7 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.7 351.7 0 0 1-86.336-149.312H64v-192h109.248a351.7 351.7 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"})]))}}),aX=sX,oX=W({name:"TopLeft",__name:"top-left",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z"}),A("path",{fill:"currentColor",d:"M246.656 201.344a32 32 0 0 0-45.312 45.312l544 544a32 32 0 0 0 45.312-45.312z"})]))}}),rX=oX,iX=W({name:"TopRight",__name:"top-right",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"}),A("path",{fill:"currentColor",d:"M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312z"})]))}}),lX=iX,cX=W({name:"Top",__name:"top",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}}),uX=cX,dX=W({name:"TrendCharts",__name:"trend-charts",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0"})]))}}),fX=dX,hX=W({name:"TrophyBase",__name:"trophy-base",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M918.4 201.6c-6.4-6.4-12.8-9.6-22.4-9.6H768V96c0-9.6-3.2-16-9.6-22.4S745.6 64 736 64H288c-9.6 0-16 3.2-22.4 9.6S256 86.4 256 96v96H128c-9.6 0-16 3.2-22.4 9.6S96 217.6 96 224c3.2 108.8 25.6 185.6 64 224 34.4 34.4 77.56 55.65 127.65 61.99 10.91 20.44 24.78 39.25 41.95 56.41 40.86 40.86 91 65.47 150.4 71.9V768h-96c-9.6 0-16 3.2-22.4 9.6S352 790.4 352 800s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6h256c9.6 0 16-3.2 22.4-9.6s9.6-12.8 9.6-22.4-3.2-16-9.6-22.4-12.8-9.6-22.4-9.6h-96V637.26c59.4-7.71 109.54-30.01 150.4-70.86 17.2-17.2 31.51-36.06 42.81-56.55 48.93-6.51 90.02-27.7 126.79-61.85 38.4-38.4 60.8-112 64-224 0-6.4-3.2-16-9.6-22.4M256 438.4c-19.2-6.4-35.2-19.2-51.2-35.2-22.4-22.4-35.2-70.4-41.6-147.2H256zm390.4 80C608 553.6 566.4 576 512 576s-99.2-19.2-134.4-57.6S320 438.4 320 384V128h384v256q0 81.6-57.6 134.4m172.8-115.2c-16 16-32 25.6-51.2 35.2V256h92.8c-6.4 76.8-19.2 124.8-41.6 147.2M768 896H256c-9.6 0-16 3.2-22.4 9.6S224 918.4 224 928s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6h512c9.6 0 16-3.2 22.4-9.6s9.6-12.8 9.6-22.4-3.2-16-9.6-22.4-12.8-9.6-22.4-9.6"})]))}}),pX=hX,vX=W({name:"Trophy",__name:"trophy",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M480 896V702.08A256.26 256.26 0 0 1 264.064 512h-32.64a96 96 0 0 1-91.968-68.416L93.632 290.88a76.8 76.8 0 0 1 73.6-98.88H256V96a32 32 0 0 1 32-32h448a32 32 0 0 1 32 32v96h88.768a76.8 76.8 0 0 1 73.6 98.88L884.48 443.52A96 96 0 0 1 792.576 512h-32.64A256.26 256.26 0 0 1 544 702.08V896h128a32 32 0 1 1 0 64H352a32 32 0 1 1 0-64zm224-448V128H320v320a192 192 0 1 0 384 0m64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448z"})]))}}),mX=vX,gX=W({name:"TurnOff",__name:"turn-off",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36"}),A("path",{fill:"currentColor",d:"M329.956 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),bX=gX,yX=W({name:"Umbrella",__name:"umbrella",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M320 768a32 32 0 1 1 64 0 64 64 0 0 0 128 0V512H64a448 448 0 1 1 896 0H576v256a128 128 0 1 1-256 0m570.688-320a384.128 384.128 0 0 0-757.376 0z"})]))}}),wX=yX,_X=W({name:"Unlock",__name:"unlock",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),A("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}}),CX=_X,SX=W({name:"UploadFilled",__name:"upload-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.81 239.81 0 0 1 512 192a239.87 239.87 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}}),xX=SX,EX=W({name:"Upload",__name:"upload",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),d9=EX,kX=W({name:"UserFilled",__name:"user-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"})]))}}),AX=kX,TX=W({name:"User",__name:"user",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}}),MX=TX,PX=W({name:"Van",__name:"van",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M128.896 736H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v96h164.544a32 32 0 0 1 31.616 27.136l54.144 352A32 32 0 0 1 922.688 736h-91.52a144 144 0 1 1-286.272 0H415.104a144 144 0 1 1-286.272 0zm23.36-64a143.872 143.872 0 0 1 239.488 0H568.32c17.088-25.6 42.24-45.376 71.744-55.808V256H128v416zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672m48.128-192-14.72-96H704v96zM688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160m-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160"})]))}}),RX=PX,IX=W({name:"VideoCameraFilled",__name:"video-camera-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m768 576 192-64v320l-192-64v96a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V480a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zM192 768v64h384v-64zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0m64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288m-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320m64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0"})]))}}),OX=IX,LX=W({name:"VideoCamera",__name:"video-camera",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z"})]))}}),NX=LX,$X=W({name:"VideoPause",__name:"video-pause",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32m192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32"})]))}}),DX=$X,FX=W({name:"VideoPlay",__name:"video-play",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-48-247.616L668.608 512 464 375.616zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z"})]))}}),BX=FX,VX=W({name:"View",__name:"view",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 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-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),Hy=VX,zX=W({name:"WalletFilled",__name:"wallet-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96m-80-544 128 160H384z"})]))}}),HX=zX,WX=W({name:"Wallet",__name:"wallet",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z"}),A("path",{fill:"currentColor",d:"M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),jX=WX,KX=W({name:"WarnTriangleFilled",__name:"warn-triangle-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M928.99 755.83 574.6 203.25c-12.89-20.16-36.76-32.58-62.6-32.58s-49.71 12.43-62.6 32.58L95.01 755.83c-12.91 20.12-12.9 44.91.01 65.03 12.92 20.12 36.78 32.51 62.59 32.49h708.78c25.82.01 49.68-12.37 62.59-32.49s12.92-44.91.01-65.03M554.67 768h-85.33v-85.33h85.33zm0-426.67v298.66h-85.33V341.32z"})]))}}),UX=KX,qX=W({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),kp=qX,GX=W({name:"Warning",__name:"warning",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}}),YX=GX,XX=W({name:"Watch",__name:"watch",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),A("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32"}),A("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z"})]))}}),JX=XX,ZX=W({name:"Watermelon",__name:"watermelon",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"m683.072 600.32-43.648 162.816-61.824-16.512 53.248-198.528L576 493.248l-158.4 158.4-45.248-45.248 158.4-158.4-55.616-55.616-198.528 53.248-16.512-61.824 162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632z"})]))}}),QX=ZX,eJ=W({name:"WindPower",__name:"wind-power",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("path",{fill:"currentColor",d:"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32m416 354.624 128-11.584V168.96l-128-11.52v261.12zm-64 5.824V151.552L320 134.08V160h-64V64l616.704 56.064A96 96 0 0 1 960 215.68v144.64a96 96 0 0 1-87.296 95.616L256 512V224h64v217.92zm256-23.232 98.88-8.96A32 32 0 0 0 896 360.32V215.68a32 32 0 0 0-29.12-31.872l-98.88-8.96z"})]))}}),tJ=eJ,nJ=W({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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 704m-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-64z"})]))}}),xg=nJ,sJ=W({name:"ZoomOut",__name:"zoom-out",setup(e){return(t,n)=>(S(),P("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[A("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 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),Wy=sJ;const aJ=Object.freeze(Object.defineProperty({__proto__:null,AddLocation:fz,Aim:pz,AlarmClock:mz,Apple:bz,ArrowDown:hr,ArrowDownBold:wz,ArrowLeft:No,ArrowLeftBold:Sz,ArrowRight:Ls,ArrowRightBold:kz,ArrowUp:Sp,ArrowUpBold:Mz,Avatar:Iz,Back:Wx,Baseball:Nz,Basketball:Dz,Bell:zz,BellFilled:Bz,Bicycle:Wz,Bottom:Yz,BottomLeft:Kz,BottomRight:qz,Bowl:Jz,Box:Qz,Briefcase:tH,Brush:oH,BrushFilled:sH,Burger:iH,Calendar:jx,Camera:fH,CameraFilled:uH,CaretBottom:pH,CaretLeft:mH,CaretRight:Ny,CaretTop:Kx,Cellphone:wH,ChatDotRound:CH,ChatDotSquare:xH,ChatLineRound:kH,ChatLineSquare:TH,ChatRound:PH,ChatSquare:IH,Check:Mf,Checked:NH,Cherry:DH,Chicken:BH,ChromeFilled:zH,CircleCheck:xp,CircleCheckFilled:Ux,CircleClose:$o,CircleCloseFilled:yg,CirclePlus:YH,CirclePlusFilled:qH,Clock:$y,Close:Ua,CloseBold:ZH,Cloudy:tW,Coffee:oW,CoffeeCup:sW,Coin:iW,ColdDrink:cW,Collection:hW,CollectionTag:dW,Comment:vW,Compass:gW,Connection:yW,Coordinate:_W,CopyDocument:SW,Cpu:EW,CreditCard:AW,Crop:wg,DArrowLeft:Yi,DArrowRight:Xi,DCaret:IW,DataAnalysis:LW,DataBoard:$W,DataLine:FW,Delete:qx,DeleteFilled:VW,DeleteLocation:HW,Dessert:KW,Discount:qW,Dish:JW,DishDot:YW,Document:_g,DocumentAdd:Gx,DocumentChecked:ej,DocumentCopy:nj,DocumentDelete:aj,DocumentRemove:rj,Download:Ji,Drizzling:uj,Edit:pj,EditPen:fj,Eleme:bj,ElemeFilled:mj,ElementPlus:wj,Expand:Cj,Failed:xj,Female:kj,Files:Dy,Film:Mj,Filter:Rj,Finished:Yx,FirstAidKit:Lj,Flag:$j,Fold:Fj,Folder:Yj,FolderAdd:Vj,FolderChecked:Hj,FolderDelete:jj,FolderOpened:Cg,FolderRemove:qj,Food:Jj,Football:Qj,ForkSpoon:tK,Fries:sK,FullScreen:Fy,Goblet:fK,GobletFull:rK,GobletSquare:uK,GobletSquareFull:lK,GoldMedal:pK,Goods:bK,GoodsFilled:mK,Grape:wK,Grid:Xx,Guide:SK,Handbag:EK,Headset:AK,Help:RK,HelpFilled:MK,Hide:Jx,Histogram:LK,HomeFilled:$K,HotWater:FK,House:VK,IceCream:UK,IceCreamRound:HK,IceCreamSquare:jK,IceDrink:GK,IceTea:XK,InfoFilled:Pf,Iphone:QK,Key:tU,KnifeFork:sU,Lightning:oU,Link:iU,List:Zx,Loading:Ns,Location:vU,LocationFilled:dU,LocationInformation:hU,Lock:gU,Lollipop:yU,MagicStick:_U,Magnet:SU,Male:EU,Management:AU,MapLocation:MU,Medal:RU,Memo:OU,Menu:NU,Message:BU,MessageBox:DU,Mic:zU,Microphone:WU,MilkTea:KU,Minus:Qx,Money:GU,Monitor:XU,Moon:eq,MoonNight:ZU,More:e9,MoreFilled:By,MostlyCloudy:aq,Mouse:rq,Mug:lq,Mute:fq,MuteNotification:uq,NoSmoking:pq,Notebook:mq,Notification:bq,Odometer:wq,OfficeBuilding:Cq,Open:xq,Operation:kq,Opportunity:Tq,Orange:Pq,Paperclip:Iq,PartlyCloudy:Lq,Pear:$q,Phone:Vq,PhoneFilled:Fq,Picture:Kq,PictureFilled:t9,PictureRounded:Wq,PieChart:qq,Place:Yq,Platform:Jq,Plus:Vy,Pointer:eG,Position:nG,Postcard:aG,Pouring:rG,Present:lG,PriceTag:uG,Printer:fG,Promotion:n9,QuartzWatch:vG,QuestionFilled:s9,Rank:a9,Reading:_G,ReadingLamp:yG,Refresh:EG,RefreshLeft:Sg,RefreshRight:o9,Refrigerator:AG,Remove:RG,RemoveFilled:MG,Right:OG,ScaleToOriginal:r9,School:$G,Scissor:FG,Search:i9,Select:zG,Sell:WG,SemiSelect:KG,Service:qG,SetUp:YG,Setting:JG,Share:QG,Ship:tY,Shop:sY,ShoppingBag:oY,ShoppingCart:cY,ShoppingCartFull:iY,ShoppingTrolley:dY,Smoking:hY,Soccer:vY,SoldOut:gY,Sort:_Y,SortDown:l9,SortUp:c9,Stamp:SY,Star:u9,StarFilled:Ep,Stopwatch:AY,SuccessFilled:zy,Sugar:PY,Suitcase:LY,SuitcaseLine:IY,Sunny:$Y,Sunrise:FY,Sunset:VY,Switch:UY,SwitchButton:HY,SwitchFilled:jY,TakeawayBox:GY,Ticket:XY,Tickets:ZY,Timer:eX,ToiletPaper:nX,Tools:aX,Top:uX,TopLeft:rX,TopRight:lX,TrendCharts:fX,Trophy:mX,TrophyBase:pX,TurnOff:bX,Umbrella:wX,Unlock:CX,Upload:d9,UploadFilled:xX,User:MX,UserFilled:AX,Van:RX,VideoCamera:NX,VideoCameraFilled:OX,VideoPause:DX,VideoPlay:BX,View:Hy,Wallet:jX,WalletFilled:HX,WarnTriangleFilled:UX,Warning:YX,WarningFilled:kp,Watch:JX,Watermelon:QX,WindPower:tJ,ZoomIn:xg,ZoomOut:Wy},Symbol.toStringTag,{value:"Module"})),en=re([String,Object,Function]),f9={Close:Ua},jy={Close:Ua,SuccessFilled:zy,InfoFilled:Pf,WarningFilled:kp,CircleCloseFilled:yg},ec={primary:Pf,success:zy,warning:kp,error:yg,info:Pf},Eg={validating:Ns,success:xp,error:$o},oJ=["light","dark"],rJ=Me({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:_p(ec),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:oJ,default:"light"}}),iJ={close:e=>e instanceof MouseEvent},lJ=Me({size:{type:re([Number,String])},color:{type:String}});var cJ=W({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:lJ,setup(e){const t=e,n=Ee("icon"),s=k(()=>{const{size:a,color:o}=t,r=Pn(a);return!r&&!o?{}:{fontSize:r,"--color":o}});return(a,o)=>(S(),P("i",wt({class:f(n).b(),style:s.value},a.$attrs),[ue(a.$slots,"default")],16))}});const Je=pt(cJ);var Do=(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))(Do||{});function Ky(e){return un(e)&&e.type===He}function h9(e){return un(e)&&e.type===Kn}function uJ(e){return un(e)&&!Ky(e)&&!h9(e)}const dJ=e=>{if(!un(e))return{};const t=e.props||{},n=(un(e.type)?e.type.props:void 0)||{},s={};return Object.keys(n).forEach(a=>{Ht(n[a],"default")&&(s[a]=n[a].default)}),Object.keys(t).forEach(a=>{s[xa(a)]=t[a]}),s},lo=e=>{const t=ke(e)?e:[e],n=[];return t.forEach(s=>{var a;ke(s)?n.push(...lo(s)):un(s)&&((a=s.component)!=null&&a.subTree)?n.push(s,...lo(s.component.subTree)):un(s)&&ke(s.children)?n.push(...lo(s.children)):un(s)&&s.shapeFlag===2?n.push(...lo(s.type())):n.push(s)}),n};var fJ=W({name:"ElAlert",__name:"alert",props:rJ,emits:iJ,setup(e,{emit:t}){const{Close:n}=jy,s=e,a=t,o=zn(),r=Ee("alert"),i=F(!0),l=k(()=>ec[s.type]),c=k(()=>{var d;if(s.description)return!0;const h=(d=o.default)==null?void 0:d.call(o);return h?lo(h).some(v=>!h9(v)):!1}),u=d=>{i.value=!1,a("close",d)};return(d,h)=>(S(),le(vs,{name:f(r).b("fade"),persisted:""},{default:X(()=>[gt(A("div",{class:D([f(r).b(),f(r).m(e.type),f(r).is("center",e.center),f(r).is(e.effect)]),role:"alert"},[e.showIcon&&(d.$slots.icon||l.value)?(S(),le(f(Je),{key:0,class:D([f(r).e("icon"),f(r).is("big",c.value)])},{default:X(()=>[ue(d.$slots,"icon",{},()=>[(S(),le(bt(l.value)))])]),_:3},8,["class"])):ie("v-if",!0),A("div",{class:D(f(r).e("content"))},[e.title||d.$slots.title?(S(),P("span",{key:0,class:D([f(r).e("title"),{"with-description":c.value}])},[ue(d.$slots,"title",{},()=>[Ue(ve(e.title),1)])],2)):ie("v-if",!0),c.value?(S(),P("p",{key:1,class:D(f(r).e("description"))},[ue(d.$slots,"default",{},()=>[Ue(ve(e.description),1)])],2)):ie("v-if",!0),e.closable?(S(),P(He,{key:2},[e.closeText?(S(),P("div",{key:0,class:D([f(r).e("close-btn"),f(r).is("customed")]),onClick:u},ve(e.closeText),3)):(S(),le(f(Je),{key:1,class:D(f(r).e("close-btn")),onClick:u},{default:X(()=>[j(f(n))]),_:1},8,["class"]))],64)):ie("v-if",!0)],2)],2),[[Bt,i.value]])]),_:3},8,["name"]))}});const hJ=pt(fJ);var qa="top",Fo="bottom",Bo="right",Ga="left",Uy="auto",Ap=[qa,Fo,Bo,Ga],Rf="start",Tp="end",pJ="clippingParents",p9="viewport",Mp="popper",vJ="reference",v9=Ap.reduce(function(e,t){return e.concat([t+"-"+Rf,t+"-"+Tp])},[]),Qr=[].concat(Ap,[Uy]).reduce(function(e,t){return e.concat([t,t+"-"+Rf,t+"-"+Tp])},[]),mJ="beforeRead",gJ="read",bJ="afterRead",yJ="beforeMain",wJ="main",_J="afterMain",CJ="beforeWrite",SJ="write",xJ="afterWrite",EJ=[mJ,gJ,bJ,yJ,wJ,_J,CJ,SJ,xJ];function ei(e){return e?(e.nodeName||"").toLowerCase():null}function co(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function _u(e){var t=co(e).Element;return e instanceof t||e instanceof Element}function Vo(e){var t=co(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function qy(e){if(typeof ShadowRoot>"u")return!1;var t=co(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function kJ(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},a=t.attributes[n]||{},o=t.elements[n];!Vo(o)||!ei(o)||(Object.assign(o.style,s),Object.keys(a).forEach(function(r){var i=a[r];i===!1?o.removeAttribute(r):o.setAttribute(r,i===!0?"":i)}))})}function AJ(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(s){var a=t.elements[s],o=t.attributes[s]||{},r=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),i=r.reduce(function(l,c){return l[c]="",l},{});!Vo(a)||!ei(a)||(Object.assign(a.style,i),Object.keys(o).forEach(function(l){a.removeAttribute(l)}))})}}var m9={name:"applyStyles",enabled:!0,phase:"write",fn:kJ,effect:AJ,requires:["computeStyles"]};function ti(e){return e.split("-")[0]}var Cu=Math.max,kg=Math.min,If=Math.round;function Gy(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function g9(){return!/^((?!chrome|android).)*safari/i.test(Gy())}function Of(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),a=1,o=1;t&&Vo(e)&&(a=e.offsetWidth>0&&If(s.width)/e.offsetWidth||1,o=e.offsetHeight>0&&If(s.height)/e.offsetHeight||1);var r=_u(e)?co(e):window,i=r.visualViewport,l=!g9()&&n,c=(s.left+(l&&i?i.offsetLeft:0))/a,u=(s.top+(l&&i?i.offsetTop:0))/o,d=s.width/a,h=s.height/o;return{width:d,height:h,top:u,right:c+d,bottom:u+h,left:c,x:c,y:u}}function Yy(e){var t=Of(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function b9(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&qy(n)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Zi(e){return co(e).getComputedStyle(e)}function TJ(e){return["table","td","th"].indexOf(ei(e))>=0}function tc(e){return((_u(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ag(e){return ei(e)==="html"?e:e.assignedSlot||e.parentNode||(qy(e)?e.host:null)||tc(e)}function y9(e){return!Vo(e)||Zi(e).position==="fixed"?null:e.offsetParent}function MJ(e){var t=/firefox/i.test(Gy()),n=/Trident/i.test(Gy());if(n&&Vo(e)){var s=Zi(e);if(s.position==="fixed")return null}var a=Ag(e);for(qy(a)&&(a=a.host);Vo(a)&&["html","body"].indexOf(ei(a))<0;){var o=Zi(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function Pp(e){for(var t=co(e),n=y9(e);n&&TJ(n)&&Zi(n).position==="static";)n=y9(n);return n&&(ei(n)==="html"||ei(n)==="body"&&Zi(n).position==="static")?t:n||MJ(e)||t}function Xy(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Rp(e,t,n){return Cu(e,kg(t,n))}function PJ(e,t,n){var s=Rp(e,t,n);return s>n?n:s}function w9(){return{top:0,right:0,bottom:0,left:0}}function _9(e){return Object.assign({},w9(),e)}function C9(e,t){return t.reduce(function(n,s){return n[s]=e,n},{})}var RJ=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,_9(typeof e!="number"?e:C9(e,Ap))};function IJ(e){var t,n=e.state,s=e.name,a=e.options,o=n.elements.arrow,r=n.modifiersData.popperOffsets,i=ti(n.placement),l=Xy(i),c=[Ga,Bo].indexOf(i)>=0,u=c?"height":"width";if(!(!o||!r)){var d=RJ(a.padding,n),h=Yy(o),p=l==="y"?qa:Ga,v=l==="y"?Fo:Bo,m=n.rects.reference[u]+n.rects.reference[l]-r[l]-n.rects.popper[u],g=r[l]-n.rects.reference[l],b=Pp(o),_=b?l==="y"?b.clientHeight||0:b.clientWidth||0:0,w=m/2-g/2,C=d[p],x=_-h[u]-d[v],E=_/2-h[u]/2+w,T=Rp(C,E,x),R=l;n.modifiersData[s]=(t={},t[R]=T,t.centerOffset=T-E,t)}}function OJ(e){var t=e.state,n=e.options,s=n.element,a=s===void 0?"[data-popper-arrow]":s;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||b9(t.elements.popper,a)&&(t.elements.arrow=a))}var LJ={name:"arrow",enabled:!0,phase:"main",fn:IJ,effect:OJ,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Lf(e){return e.split("-")[1]}var NJ={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $J(e,t){var n=e.x,s=e.y,a=t.devicePixelRatio||1;return{x:If(n*a)/a||0,y:If(s*a)/a||0}}function S9(e){var t,n=e.popper,s=e.popperRect,a=e.placement,o=e.variation,r=e.offsets,i=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=r.x,p=h===void 0?0:h,v=r.y,m=v===void 0?0:v,g=typeof u=="function"?u({x:p,y:m}):{x:p,y:m};p=g.x,m=g.y;var b=r.hasOwnProperty("x"),_=r.hasOwnProperty("y"),w=Ga,C=qa,x=window;if(c){var E=Pp(n),T="clientHeight",R="clientWidth";if(E===co(n)&&(E=tc(n),Zi(E).position!=="static"&&i==="absolute"&&(T="scrollHeight",R="scrollWidth")),E=E,a===qa||(a===Ga||a===Bo)&&o===Tp){C=Fo;var I=d&&E===x&&x.visualViewport?x.visualViewport.height:E[T];m-=I-s.height,m*=l?1:-1}if(a===Ga||(a===qa||a===Fo)&&o===Tp){w=Bo;var M=d&&E===x&&x.visualViewport?x.visualViewport.width:E[R];p-=M-s.width,p*=l?1:-1}}var $=Object.assign({position:i},c&&NJ),O=u===!0?$J({x:p,y:m},co(n)):{x:p,y:m};if(p=O.x,m=O.y,l){var B;return Object.assign({},$,(B={},B[C]=_?"0":"",B[w]=b?"0":"",B.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",B))}return Object.assign({},$,(t={},t[C]=_?m+"px":"",t[w]=b?p+"px":"",t.transform="",t))}function DJ(e){var t=e.state,n=e.options,s=n.gpuAcceleration,a=s===void 0?!0:s,o=n.adaptive,r=o===void 0?!0:o,i=n.roundOffsets,l=i===void 0?!0:i,c={placement:ti(t.placement),variation:Lf(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,S9(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,S9(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var x9={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:DJ,data:{}},Tg={passive:!0};function FJ(e){var t=e.state,n=e.instance,s=e.options,a=s.scroll,o=a===void 0?!0:a,r=s.resize,i=r===void 0?!0:r,l=co(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,Tg)}),i&&l.addEventListener("resize",n.update,Tg),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Tg)}),i&&l.removeEventListener("resize",n.update,Tg)}}var E9={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:FJ,data:{}},BJ={left:"right",right:"left",bottom:"top",top:"bottom"};function Mg(e){return e.replace(/left|right|bottom|top/g,function(t){return BJ[t]})}var VJ={start:"end",end:"start"};function k9(e){return e.replace(/start|end/g,function(t){return VJ[t]})}function Jy(e){var t=co(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Zy(e){return Of(tc(e)).left+Jy(e).scrollLeft}function zJ(e,t){var n=co(e),s=tc(e),a=n.visualViewport,o=s.clientWidth,r=s.clientHeight,i=0,l=0;if(a){o=a.width,r=a.height;var c=g9();(c||!c&&t==="fixed")&&(i=a.offsetLeft,l=a.offsetTop)}return{width:o,height:r,x:i+Zy(e),y:l}}function HJ(e){var t,n=tc(e),s=Jy(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=Cu(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),r=Cu(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),i=-s.scrollLeft+Zy(e),l=-s.scrollTop;return Zi(a||n).direction==="rtl"&&(i+=Cu(n.clientWidth,a?a.clientWidth:0)-o),{width:o,height:r,x:i,y:l}}function Qy(e){var t=Zi(e),n=t.overflow,s=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+s)}function A9(e){return["html","body","#document"].indexOf(ei(e))>=0?e.ownerDocument.body:Vo(e)&&Qy(e)?e:A9(Ag(e))}function Ip(e,t){var n;t===void 0&&(t=[]);var s=A9(e),a=s===((n=e.ownerDocument)==null?void 0:n.body),o=co(s),r=a?[o].concat(o.visualViewport||[],Qy(s)?s:[]):s,i=t.concat(r);return a?i:i.concat(Ip(Ag(r)))}function e3(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function WJ(e,t){var n=Of(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function T9(e,t,n){return t===p9?e3(zJ(e,n)):_u(t)?WJ(t,n):e3(HJ(tc(e)))}function jJ(e){var t=Ip(Ag(e)),n=["absolute","fixed"].indexOf(Zi(e).position)>=0,s=n&&Vo(e)?Pp(e):e;return _u(s)?t.filter(function(a){return _u(a)&&b9(a,s)&&ei(a)!=="body"}):[]}function KJ(e,t,n,s){var a=t==="clippingParents"?jJ(e):[].concat(t),o=[].concat(a,[n]),r=o[0],i=o.reduce(function(l,c){var u=T9(e,c,s);return l.top=Cu(u.top,l.top),l.right=kg(u.right,l.right),l.bottom=kg(u.bottom,l.bottom),l.left=Cu(u.left,l.left),l},T9(e,r,s));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function M9(e){var t=e.reference,n=e.element,s=e.placement,a=s?ti(s):null,o=s?Lf(s):null,r=t.x+t.width/2-n.width/2,i=t.y+t.height/2-n.height/2,l;switch(a){case qa:l={x:r,y:t.y-n.height};break;case Fo:l={x:r,y:t.y+t.height};break;case Bo:l={x:t.x+t.width,y:i};break;case Ga:l={x:t.x-n.width,y:i};break;default:l={x:t.x,y:t.y}}var c=a?Xy(a):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case Rf:l[c]=l[c]-(t[u]/2-n[u]/2);break;case Tp:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function Op(e,t){t===void 0&&(t={});var n=t,s=n.placement,a=s===void 0?e.placement:s,o=n.strategy,r=o===void 0?e.strategy:o,i=n.boundary,l=i===void 0?pJ:i,c=n.rootBoundary,u=c===void 0?p9:c,d=n.elementContext,h=d===void 0?Mp:d,p=n.altBoundary,v=p===void 0?!1:p,m=n.padding,g=m===void 0?0:m,b=_9(typeof g!="number"?g:C9(g,Ap)),_=h===Mp?vJ:Mp,w=e.rects.popper,C=e.elements[v?_:h],x=KJ(_u(C)?C:C.contextElement||tc(e.elements.popper),l,u,r),E=Of(e.elements.reference),T=M9({reference:E,element:w,placement:a}),R=e3(Object.assign({},w,T)),I=h===Mp?R:E,M={top:x.top-I.top+b.top,bottom:I.bottom-x.bottom+b.bottom,left:x.left-I.left+b.left,right:I.right-x.right+b.right},$=e.modifiersData.offset;if(h===Mp&&$){var O=$[a];Object.keys(M).forEach(function(B){var U=[Bo,Fo].indexOf(B)>=0?1:-1,J=[qa,Fo].indexOf(B)>=0?"y":"x";M[B]+=O[J]*U})}return M}function UJ(e,t){t===void 0&&(t={});var n=t,s=n.placement,a=n.boundary,o=n.rootBoundary,r=n.padding,i=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Qr:l,u=Lf(s),d=u?i?v9:v9.filter(function(v){return Lf(v)===u}):Ap,h=d.filter(function(v){return c.indexOf(v)>=0});h.length===0&&(h=d);var p=h.reduce(function(v,m){return v[m]=Op(e,{placement:m,boundary:a,rootBoundary:o,padding:r})[ti(m)],v},{});return Object.keys(p).sort(function(v,m){return p[v]-p[m]})}function qJ(e){if(ti(e)===Uy)return[];var t=Mg(e);return[k9(e),t,k9(t)]}function GJ(e){var t=e.state,n=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var a=n.mainAxis,o=a===void 0?!0:a,r=n.altAxis,i=r===void 0?!0:r,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,v=p===void 0?!0:p,m=n.allowedAutoPlacements,g=t.options.placement,b=ti(g),_=b===g,w=l||(_||!v?[Mg(g)]:qJ(g)),C=[g].concat(w).reduce(function(ee,ae){return ee.concat(ti(ae)===Uy?UJ(t,{placement:ae,boundary:u,rootBoundary:d,padding:c,flipVariations:v,allowedAutoPlacements:m}):ae)},[]),x=t.rects.reference,E=t.rects.popper,T=new Map,R=!0,I=C[0],M=0;M=0,J=U?"width":"height",Y=Op(t,{placement:$,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),N=U?B?Bo:Ga:B?Fo:qa;x[J]>E[J]&&(N=Mg(N));var L=Mg(N),V=[];if(o&&V.push(Y[O]<=0),i&&V.push(Y[N]<=0,Y[L]<=0),V.every(function(ee){return ee})){I=$,R=!1;break}T.set($,V)}if(R)for(var z=v?3:1,G=function(ee){var ae=C.find(function(fe){var ne=T.get(fe);if(ne)return ne.slice(0,ee).every(function(pe){return pe})});if(ae)return I=ae,"break"},Q=z;Q>0;Q--){var K=G(Q);if(K==="break")break}t.placement!==I&&(t.modifiersData[s]._skip=!0,t.placement=I,t.reset=!0)}}var YJ={name:"flip",enabled:!0,phase:"main",fn:GJ,requiresIfExists:["offset"],data:{_skip:!1}};function P9(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 R9(e){return[qa,Bo,Fo,Ga].some(function(t){return e[t]>=0})}function XJ(e){var t=e.state,n=e.name,s=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,r=Op(t,{elementContext:"reference"}),i=Op(t,{altBoundary:!0}),l=P9(r,s),c=P9(i,a,o),u=R9(l),d=R9(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var JJ={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:XJ};function ZJ(e,t,n){var s=ti(e),a=[Ga,qa].indexOf(s)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,r=o[0],i=o[1];return r=r||0,i=(i||0)*a,[Ga,Bo].indexOf(s)>=0?{x:i,y:r}:{x:r,y:i}}function QJ(e){var t=e.state,n=e.options,s=e.name,a=n.offset,o=a===void 0?[0,0]:a,r=Qr.reduce(function(u,d){return u[d]=ZJ(d,t.rects,o),u},{}),i=r[t.placement],l=i.x,c=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[s]=r}var eZ={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:QJ};function tZ(e){var t=e.state,n=e.name;t.modifiersData[n]=M9({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var I9={name:"popperOffsets",enabled:!0,phase:"read",fn:tZ,data:{}};function nZ(e){return e==="x"?"y":"x"}function sZ(e){var t=e.state,n=e.options,s=e.name,a=n.mainAxis,o=a===void 0?!0:a,r=n.altAxis,i=r===void 0?!1:r,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,p=h===void 0?!0:h,v=n.tetherOffset,m=v===void 0?0:v,g=Op(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=ti(t.placement),_=Lf(t.placement),w=!_,C=Xy(b),x=nZ(C),E=t.modifiersData.popperOffsets,T=t.rects.reference,R=t.rects.popper,I=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,M=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(E){if(o){var B,U=C==="y"?qa:Ga,J=C==="y"?Fo:Bo,Y=C==="y"?"height":"width",N=E[C],L=N+g[U],V=N-g[J],z=p?-R[Y]/2:0,G=_===Rf?T[Y]:R[Y],Q=_===Rf?-R[Y]:-T[Y],K=t.elements.arrow,ee=p&&K?Yy(K):{width:0,height:0},ae=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:w9(),fe=ae[U],ne=ae[J],pe=Rp(0,T[Y],ee[Y]),he=w?T[Y]/2-z-pe-fe-M.mainAxis:G-pe-fe-M.mainAxis,ce=w?-T[Y]/2+z+pe+ne+M.mainAxis:Q+pe+ne+M.mainAxis,Z=t.elements.arrow&&Pp(t.elements.arrow),H=Z?C==="y"?Z.clientTop||0:Z.clientLeft||0:0,te=(B=$==null?void 0:$[C])!=null?B:0,de=N+he-te-H,be=N+ce-te,Ce=Rp(p?kg(L,de):L,N,p?Cu(V,be):V);E[C]=Ce,O[C]=Ce-N}if(i){var Se,Ne=C==="x"?qa:Ga,Ve=C==="x"?Fo:Bo,$e=E[x],_e=x==="y"?"height":"width",Oe=$e+g[Ne],Pe=$e-g[Ve],We=[qa,Ga].indexOf(b)!==-1,Qe=(Se=$==null?void 0:$[x])!=null?Se:0,it=We?Oe:$e-T[_e]-R[_e]-Qe+M.altAxis,De=We?$e+T[_e]+R[_e]-Qe-M.altAxis:Pe,Ke=p&&We?PJ(it,$e,De):Rp(p?it:Oe,$e,p?De:Pe);E[x]=Ke,O[x]=Ke-$e}t.modifiersData[s]=O}}var aZ={name:"preventOverflow",enabled:!0,phase:"main",fn:sZ,requiresIfExists:["offset"]};function oZ(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function rZ(e){return e===co(e)||!Vo(e)?Jy(e):oZ(e)}function iZ(e){var t=e.getBoundingClientRect(),n=If(t.width)/e.offsetWidth||1,s=If(t.height)/e.offsetHeight||1;return n!==1||s!==1}function lZ(e,t,n){n===void 0&&(n=!1);var s=Vo(t),a=Vo(t)&&iZ(t),o=tc(t),r=Of(e,a,n),i={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((ei(t)!=="body"||Qy(o))&&(i=rZ(t)),Vo(t)?(l=Of(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=Zy(o))),{x:r.left+i.scrollLeft-l.x,y:r.top+i.scrollTop-l.y,width:r.width,height:r.height}}function cZ(e){var t=new Map,n=new Set,s=[];e.forEach(function(o){t.set(o.name,o)});function a(o){n.add(o.name);var r=[].concat(o.requires||[],o.requiresIfExists||[]);r.forEach(function(i){if(!n.has(i)){var l=t.get(i);l&&a(l)}}),s.push(o)}return e.forEach(function(o){n.has(o.name)||a(o)}),s}function uZ(e){var t=cZ(e);return EJ.reduce(function(n,s){return n.concat(t.filter(function(a){return a.phase===s}))},[])}function dZ(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function fZ(e){var t=e.reduce(function(n,s){var a=n[s.name];return n[s.name]=a?Object.assign({},a,s,{options:Object.assign({},a.options,s.options),data:Object.assign({},a.data,s.data)}):s,n},{});return Object.keys(t).map(function(n){return t[n]})}var O9={placement:"bottom",modifiers:[],strategy:"absolute"};function L9(){for(var e=arguments.length,t=new Array(e),n=0;nUi(mZ,e),gZ=["fixed","absolute"],bZ=Me({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:re(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Qr,default:"bottom"},popperOptions:{type:re(Object),default:()=>({})},strategy:{type:String,values:gZ,default:"absolute"}}),$9=Me({...bZ,...N9,id:String,style:{type:re([String,Array,Object])},className:{type:re([String,Array,Object])},effect:{type:re(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:re([String,Array,Object])},popperStyle:{type:re([String,Array,Object])},referenceEl:{type:re(Object)},triggerTargetEl:{type:re(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...ia(["ariaLabel"]),loop:Boolean}),yZ={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0};function D9(){let e;const t=(s,a)=>{n(),e=window.setTimeout(s,a)},n=()=>window.clearTimeout(e);return yu(()=>n()),{registerTimeout:t,cancelTimeout:n}}const wZ=Me({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),_Z=({showAfter:e,hideAfter:t,autoClose:n,open:s,close:a})=>{const{registerTimeout:o}=D9(),{registerTimeout:r,cancelTimeout:i}=D9();return{onOpen:(u,d=f(e))=>{o(()=>{s(u);const h=f(n);at(h)&&h>0&&r(()=>{a(u)},h)},d)},onClose:(u,d=f(t))=>{i(),o(()=>{a(u)},d)}}},tn=Me({...wZ,...$9,appendTo:{type:Cp.to.type},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:re(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...ia(["ariaLabel"])}),Rn=e=>e,Lp=Me({id:{type:String,default:void 0},size:rs,disabled:{type:Boolean,default:void 0},modelValue:{type:re([String,Number,Object]),default:""},modelModifiers:{type:re(Object),default:()=>({})},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:re(String),default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:re([Boolean,Object]),default:!1},autocomplete:{type:re(String),default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:en,default:$o},showPassword:Boolean,showWordLimit:Boolean,wordLimitPosition:{type:String,values:["inside","outside"],default:"inside"},suffixIcon:{type:en},prefixIcon:{type:en},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:re([Object,Array,String]),default:()=>Rn({})},autofocus:Boolean,rows:{type:Number,default:2},...ia(["ariaLabel"]),inputmode:{type:re(String),default:void 0},name:String}),CZ={[ct]:e=>Xe(e),input:e=>Xe(e),change:(e,t)=>Xe(e)&&(t instanceof Event||t===void 0),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};Hr($o);const SZ=Me({...Lp,valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:re(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:re([Function,Array]),default:qt},popperClass:tn.popperClass,popperStyle:tn.popperStyle,triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:Boolean,hideLoading:Boolean,teleported:tn.teleported,appendTo:tn.appendTo,highlightFirstItem:Boolean,fitInputWidth:Boolean,loopNavigation:{type:Boolean,default:!0}}),xZ={[ct]:e=>Xe(e)||at(e),[es]:e=>Xe(e)||at(e),[Pt]:e=>Xe(e)||at(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>ht(e)},n3=()=>jt&&/firefox/i.test(window.navigator.userAgent),F9=()=>jt&&/android/i.test(window.navigator.userAgent);let Ya;const EZ={height:"0",visibility:"hidden",overflow:n3()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},kZ=["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","word-break"],B9=e=>{const t=Number.parseFloat(e);return Number.isNaN(t)?e:t};function AZ(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),s=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),a=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:kZ.map(r=>[r,t.getPropertyValue(r)]),paddingSize:s,borderSize:a,boxSizing:n}}function V9(e,t=1,n){var s,a;Ya||(Ya=document.createElement("textarea"),((s=e.parentNode)!=null?s:document.body).appendChild(Ya));const{paddingSize:o,borderSize:r,boxSizing:i,contextStyle:l}=AZ(e);l.forEach(([h,p])=>Ya==null?void 0:Ya.style.setProperty(h,p)),Object.entries(EZ).forEach(([h,p])=>Ya==null?void 0:Ya.style.setProperty(h,p,"important")),Ya.value=e.value||e.placeholder||"";let c=Ya.scrollHeight;const u={};i==="border-box"?c=c+r:i==="content-box"&&(c=c-o),Ya.value="";const d=Ya.scrollHeight-o;if(at(t)){let h=d*t;i==="border-box"&&(h=h+o+r),c=Math.max(h,c),u.minHeight=`${h}px`}if(at(n)){let h=d*n;i==="border-box"&&(h=h+o+r),c=Math.min(h,c)}return u.height=`${c}px`,(a=Ya.parentNode)==null||a.removeChild(Ya),Ya=void 0,u}const TZ=["class","style"],MZ=/^on[A-Z]/,Pg=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,s=k(()=>((n==null?void 0:n.value)||[]).concat(TZ)),a=_t();return k(a?()=>{var o;return hp(Object.entries((o=a.proxy)==null?void 0:o.$attrs).filter(([r])=>!s.value.includes(r)&&!(t&&MZ.test(r))))}:()=>({}))},z9=e=>{const t=_t();return k(()=>{var n,s;return(s=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:s[e]})},Su=Symbol("formContextKey"),ni=Symbol("formItemContextKey"),ts=(e,t={})=>{const n=F(void 0),s=t.prop?n:z9("size"),a=t.global?n:Ox(),o=t.form?{size:void 0}:je(Su,void 0),r=t.formItem?{size:void 0}:je(ni,void 0);return k(()=>s.value||f(e)||(r==null?void 0:r.size)||(o==null?void 0:o.size)||a.value||"")},In=e=>{const t=z9("disabled"),n=je(Su,void 0);return k(()=>{var s,a,o;return(o=(a=(s=t.value)!=null?s:f(e))!=null?a:n==null?void 0:n.disabled)!=null?o:!1})},PZ='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',H9=e=>typeof Element>"u"?!1:e instanceof Element,RZ=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,W9=e=>Array.from(e.querySelectorAll(PZ)).filter(t=>Np(t)&&RZ(t)),Np=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")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}},Rg=function(e,t,...n){let s;t.includes("mouse")||t.includes("click")?s="MouseEvents":t.includes("key")?s="KeyboardEvent":s="HTMLEvents";const a=document.createEvent(s);return a.initEvent(t,...n),e.dispatchEvent(a),e},j9=e=>!e.getAttribute("aria-owns"),K9=(e,t,n)=>{const{parentNode:s}=e;if(!s)return null;const a=s.querySelectorAll(n),o=Array.prototype.indexOf.call(a,e);return a[o+t]||null},$p=(e,t)=>{if(!e||!e.focus)return;let n=!1;H9(e)&&!Np(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),H9(e)&&n&&e.removeAttribute("tabindex")},Ig=e=>{e&&($p(e),!j9(e)&&e.click())};function Qi(e,{disabled:t,beforeFocus:n,afterFocus:s,beforeBlur:a,afterBlur:o}={}){const r=_t(),{emit:i}=r,l=hn(),c=F(!1),u=p=>{const v=et(n)?n(p):!1;f(t)||c.value||v||(c.value=!0,i("focus",p),s==null||s())},d=p=>{var v;const m=et(a)?a(p):!1;f(t)||p.relatedTarget&&((v=l.value)!=null&&v.contains(p.relatedTarget))||m||(c.value=!1,i("blur",p),o==null||o())},h=p=>{var v,m;f(t)||Np(p.target)||(v=l.value)!=null&&v.contains(document.activeElement)&&l.value!==document.activeElement||(m=e.value)==null||m.focus()};return me([l,()=>f(t)],([p,v])=>{p&&(v?p.removeAttribute("tabindex"):p.setAttribute("tabindex","-1"))}),Zt(l,"focus",u,!0),Zt(l,"blur",d,!0),Zt(l,"click",h,!0),{isFocused:c,wrapperRef:l,handleFocus:u,handleBlur:d}}const U9={prefix:Math.floor(Math.random()*1e4),current:0},IZ=Symbol("elIdInjection"),s3=()=>_t()?je(IZ,U9):U9,$s=e=>{const t=s3(),n=Ay();return bx(()=>f(e)||`${n.value}-id-${t.prefix}-${t.current++}`)},Cs=()=>{const e=je(Su,void 0),t=je(ni,void 0);return{form:e,formItem:t}},uo=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:s})=>{n||(n=F(!1)),s||(s=F(!1));const a=_t(),o=()=>{let c=a==null?void 0:a.parent;for(;c;){if(c.type.name==="ElFormItem")return!1;if(c.type.name==="ElLabelWrap")return!0;c=c.parent}return!1},r=F();let i;const l=k(()=>{var c;return!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&((c=t.inputIds)==null?void 0:c.length)<=1)});return St(()=>{i=me([Jt(e,"id"),n],([c,u])=>{const d=c??(u?void 0:$s().value);d!==r.value&&(t!=null&&t.removeInputId&&!o()&&(r.value&&t.removeInputId(r.value),!(s!=null&&s.value)&&!u&&d&&t.addInputId(d)),r.value=d)},{immediate:!0})}),cu(()=>{i&&i(),t!=null&&t.removeInputId&&r.value&&t.removeInputId(r.value)}),{isLabeledByFormItem:l,inputId:r}},OZ=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e);function Dp({afterComposition:e,emit:t}){const n=F(!1),s=i=>{t==null||t("compositionstart",i),n.value=!0},a=i=>{var l;t==null||t("compositionupdate",i);const c=(l=i.target)==null?void 0:l.value,u=c[c.length-1]||"";n.value=!OZ(u)},o=i=>{t==null||t("compositionend",i),n.value&&(n.value=!1,ze(()=>e(i)))};return{isComposing:n,handleComposition:i=>{i.type==="compositionend"?o(i):a(i)},handleCompositionStart:s,handleCompositionUpdate:a,handleCompositionEnd:o}}function LZ(e){let t;function n(){if(e.value==null)return;const{selectionStart:a,selectionEnd:o,value:r}=e.value;if(a==null||o==null)return;const i=r.slice(0,Math.max(0,a)),l=r.slice(Math.max(0,o));t={selectionStart:a,selectionEnd:o,value:r,beforeTxt:i,afterTxt:l}}function s(){if(e.value==null||t==null)return;const{value:a}=e.value,{beforeTxt:o,afterTxt:r,selectionStart:i}=t;if(o==null||r==null||i==null)return;let l=a.length;if(a.endsWith(r))l=a.length-r.length;else if(a.startsWith(o))l=o.length;else{const c=o[i-1],u=a.indexOf(c,i-1);u!==-1&&(l=u+1)}e.value.setSelectionRange(l,l)}return[n,s]}const NZ=["id","name","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","inputmode"],$Z=["id","name","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role"];var DZ=W({name:"ElInput",inheritAttrs:!1,__name:"input",props:Lp,emits:CZ,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Bi(),r=Pg(),i=zn(),l=k(()=>[s.type==="textarea"?g.b():m.b(),m.m(p.value),m.is("disabled",v.value),m.is("exceed",K.value),{[m.b("group")]:i.prepend||i.append,[m.m("prefix")]:i.prefix||s.prefixIcon,[m.m("suffix")]:i.suffix||s.suffixIcon||s.clearable||s.showPassword,[m.bm("suffix","password-clear")]:V.value&&z.value,[m.b("hidden")]:s.type==="hidden"},o.class]),c=k(()=>[m.e("wrapper"),m.is("focus",I.value)]),{form:u,formItem:d}=Cs(),{inputId:h}=uo(s,{formItemContext:d}),p=ts(),v=In(),m=Ee("input"),g=Ee("textarea"),b=hn(),_=hn(),w=F(!1),C=F(!1),x=F(),E=hn(s.inputStyle),T=k(()=>b.value||_.value),{wrapperRef:R,isFocused:I,handleFocus:M,handleBlur:$}=Qi(T,{disabled:v,afterBlur(){var De;s.validateEvent&&((De=d==null?void 0:d.validate)==null||De.call(d,"blur").catch(Ke=>void 0))}}),O=k(()=>{var De;return(De=u==null?void 0:u.statusIcon)!=null?De:!1}),B=k(()=>(d==null?void 0:d.validateState)||""),U=k(()=>B.value&&Eg[B.value]),J=k(()=>C.value?Hy:Jx),Y=k(()=>[o.style]),N=k(()=>[s.inputStyle,E.value,{resize:s.resize}]),L=k(()=>qn(s.modelValue)?"":String(s.modelValue)),V=k(()=>s.clearable&&!v.value&&!s.readonly&&!!L.value&&(I.value||w.value)),z=k(()=>s.showPassword&&!v.value&&!!L.value),G=k(()=>s.showWordLimit&&!!s.maxlength&&(s.type==="text"||s.type==="textarea")&&!v.value&&!s.readonly&&!s.showPassword),Q=k(()=>L.value.length),K=k(()=>!!G.value&&Q.value>Number(s.maxlength)),ee=k(()=>!!i.suffix||!!s.suffixIcon||V.value||s.showPassword||G.value||!!B.value&&O.value),ae=k(()=>!!Object.keys(s.modelModifiers).length),[fe,ne]=LZ(b);bn(_,De=>{if(ce(),!G.value||s.resize!=="both"&&s.resize!=="horizontal")return;const Ke=De[0],{width:nt}=Ke.contentRect;x.value={right:`calc(100% - ${nt+22-10}px)`}});const pe=()=>{const{type:De,autosize:Ke}=s;if(!(!jt||De!=="textarea"||!_.value))if(Ke){const nt=ht(Ke)?Ke.minRows:void 0,Ft=ht(Ke)?Ke.maxRows:void 0,Kt=V9(_.value,nt,Ft);E.value={overflowY:"hidden",...Kt},ze(()=>{_.value.offsetHeight,E.value=Kt})}else E.value={minHeight:V9(_.value).minHeight}},ce=(De=>{let Ke=!1;return()=>{var nt;if(Ke||!s.autosize)return;((nt=_.value)==null?void 0:nt.offsetParent)===null||(setTimeout(De),Ke=!0)}})(pe),Z=()=>{const De=T.value,Ke=s.formatter?s.formatter(L.value):L.value;!De||De.value===Ke||s.type==="file"||(De.value=Ke)},H=De=>{const{trim:Ke,number:nt}=s.modelModifiers;return Ke&&(De=De.trim()),nt&&(De=`${B9(De)}`),s.formatter&&s.parser&&(De=s.parser(De)),De},te=async De=>{if(be.value)return;const{lazy:Ke}=s.modelModifiers;let{value:nt}=De.target;if(Ke){a(es,nt);return}if(nt=H(nt),String(nt)===L.value){s.formatter&&Z();return}fe(),a(ct,nt),a(es,nt),await ze(),(s.formatter&&s.parser||!ae.value)&&Z(),ne()},de=async De=>{let{value:Ke}=De.target;Ke=H(Ke),s.modelModifiers.lazy&&a(ct,Ke),a(Pt,Ke,De),await ze(),Z()},{isComposing:be,handleCompositionStart:Ce,handleCompositionUpdate:Se,handleCompositionEnd:Ne}=Dp({emit:a,afterComposition:te}),Ve=()=>{C.value=!C.value},$e=()=>{var De;return(De=T.value)==null?void 0:De.focus()},_e=()=>{var De;return(De=T.value)==null?void 0:De.blur()},Oe=De=>{w.value=!1,a("mouseleave",De)},Pe=De=>{w.value=!0,a("mouseenter",De)},We=De=>{a("keydown",De)},Qe=()=>{var De;(De=T.value)==null||De.select()},it=()=>{a(ct,""),a(Pt,""),a("clear"),a(es,"")};return me(()=>s.modelValue,()=>{var De;ze(()=>pe()),s.validateEvent&&((De=d==null?void 0:d.validate)==null||De.call(d,"change").catch(Ke=>void 0))}),me(L,De=>{if(!T.value)return;const{trim:Ke,number:nt}=s.modelModifiers,Ft=T.value.value,Kt=(nt||s.type==="number")&&!/^0\d/.test(Ft)?`${B9(Ft)}`:Ft;Kt!==De&&(document.activeElement===T.value&&T.value.type!=="range"&&Ke&&Kt.trim()===De||Z())}),me(()=>s.type,async()=>{await ze(),Z(),pe()}),St(()=>{!s.formatter&&s.parser,Z(),ze(pe)}),t({input:b,textarea:_,ref:T,textareaStyle:N,autosize:Jt(s,"autosize"),isComposing:be,focus:$e,blur:_e,select:Qe,clear:it,resizeTextarea:pe}),(De,Ke)=>(S(),P("div",{class:D([l.value,{[f(m).bm("group","append")]:De.$slots.append,[f(m).bm("group","prepend")]:De.$slots.prepend}]),style:tt(Y.value),onMouseenter:Pe,onMouseleave:Oe},[ie(" input "),e.type!=="textarea"?(S(),P(He,{key:0},[ie(" prepend slot "),De.$slots.prepend?(S(),P("div",{key:0,class:D(f(m).be("group","prepend"))},[ue(De.$slots,"prepend")],2)):ie("v-if",!0),A("div",{ref_key:"wrapperRef",ref:R,class:D(c.value)},[ie(" prefix slot "),De.$slots.prefix||e.prefixIcon?(S(),P("span",{key:0,class:D(f(m).e("prefix"))},[A("span",{class:D(f(m).e("prefix-inner"))},[ue(De.$slots,"prefix"),e.prefixIcon?(S(),le(f(Je),{key:0,class:D(f(m).e("icon"))},{default:X(()=>[(S(),le(bt(e.prefixIcon)))]),_:1},8,["class"])):ie("v-if",!0)],2)],2)):ie("v-if",!0),A("input",wt({id:f(h),ref_key:"input",ref:b,class:f(m).e("inner")},f(r),{name:e.name,minlength:e.minlength,maxlength:e.maxlength,type:e.showPassword?C.value?"text":"password":e.type,disabled:f(v),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.ariaLabel,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,role:e.containerRole,inputmode:e.inputmode,onCompositionstart:Ke[0]||(Ke[0]=(...nt)=>f(Ce)&&f(Ce)(...nt)),onCompositionupdate:Ke[1]||(Ke[1]=(...nt)=>f(Se)&&f(Se)(...nt)),onCompositionend:Ke[2]||(Ke[2]=(...nt)=>f(Ne)&&f(Ne)(...nt)),onInput:te,onChange:de,onKeydown:We}),null,16,NZ),ie(" suffix slot "),ee.value?(S(),P("span",{key:1,class:D(f(m).e("suffix"))},[A("span",{class:D(f(m).e("suffix-inner"))},[!V.value||!z.value||!G.value?(S(),P(He,{key:0},[ue(De.$slots,"suffix"),e.suffixIcon?(S(),le(f(Je),{key:0,class:D(f(m).e("icon"))},{default:X(()=>[(S(),le(bt(e.suffixIcon)))]),_:1},8,["class"])):ie("v-if",!0)],64)):ie("v-if",!0),V.value?(S(),le(f(Je),{key:1,class:D([f(m).e("icon"),f(m).e("clear")]),onMousedown:lt(f(qt),["prevent"]),onClick:it},{default:X(()=>[(S(),le(bt(e.clearIcon)))]),_:1},8,["class","onMousedown"])):ie("v-if",!0),z.value?(S(),le(f(Je),{key:2,class:D([f(m).e("icon"),f(m).e("password")]),onClick:Ve,onMousedown:lt(f(qt),["prevent"]),onMouseup:lt(f(qt),["prevent"])},{default:X(()=>[(S(),le(bt(J.value)))]),_:1},8,["class","onMousedown","onMouseup"])):ie("v-if",!0),G.value?(S(),P("span",{key:3,class:D([f(m).e("count"),f(m).is("outside",e.wordLimitPosition==="outside")])},[A("span",{class:D(f(m).e("count-inner"))},ve(Q.value)+" / "+ve(e.maxlength),3)],2)):ie("v-if",!0),B.value&&U.value&&O.value?(S(),le(f(Je),{key:4,class:D([f(m).e("icon"),f(m).e("validateIcon"),f(m).is("loading",B.value==="validating")])},{default:X(()=>[(S(),le(bt(U.value)))]),_:1},8,["class"])):ie("v-if",!0)],2)],2)):ie("v-if",!0)],2),ie(" append slot "),De.$slots.append?(S(),P("div",{key:1,class:D(f(m).be("group","append"))},[ue(De.$slots,"append")],2)):ie("v-if",!0)],64)):(S(),P(He,{key:1},[ie(" textarea "),A("textarea",wt({id:f(h),ref_key:"textarea",ref:_,class:[f(g).e("inner"),f(m).is("focus",f(I))]},f(r),{name:e.name,minlength:e.minlength,maxlength:e.maxlength,tabindex:e.tabindex,disabled:f(v),readonly:e.readonly,autocomplete:e.autocomplete,style:N.value,"aria-label":e.ariaLabel,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,rows:e.rows,role:e.containerRole,onCompositionstart:Ke[3]||(Ke[3]=(...nt)=>f(Ce)&&f(Ce)(...nt)),onCompositionupdate:Ke[4]||(Ke[4]=(...nt)=>f(Se)&&f(Se)(...nt)),onCompositionend:Ke[5]||(Ke[5]=(...nt)=>f(Ne)&&f(Ne)(...nt)),onInput:te,onFocus:Ke[6]||(Ke[6]=(...nt)=>f(M)&&f(M)(...nt)),onBlur:Ke[7]||(Ke[7]=(...nt)=>f($)&&f($)(...nt)),onChange:de,onKeydown:We}),null,16,$Z),G.value?(S(),P("span",{key:0,style:tt(x.value),class:D([f(m).e("count"),f(m).is("outside",e.wordLimitPosition==="outside")])},ve(Q.value)+" / "+ve(e.maxlength),7)):ie("v-if",!0)],64))],38))}});const la=pt(DZ),FZ=Me({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:re([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:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...ia(["ariaLabel","ariaOrientation"])}),q9={"end-reached":e=>["left","right","top","bottom"].includes(e),scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(at)},BZ=Me({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),Nf=4,G9={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"}},VZ=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),zZ=Me({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),a3=Symbol("scrollbarContextKey"),HZ="Thumb";var Y9=W({__name:"thumb",props:zZ,setup(e){const t=e,n=je(a3),s=Ee("scrollbar");n||Xn(HZ,"can not inject scrollbar context");const a=F(),o=F(),r=F({}),i=F(!1);let l=!1,c=!1,u=0,d=0,h=jt?document.onselectstart:null;const p=k(()=>G9[t.vertical?"vertical":"horizontal"]),v=k(()=>VZ({size:t.size,move:t.move,bar:p.value})),m=k(()=>a.value[p.value.offset]**2/n.wrapElement[p.value.scrollSize]/t.ratio/o.value[p.value.offset]),g=R=>{var I;if(R.stopPropagation(),R.ctrlKey||[1,2].includes(R.button))return;(I=window.getSelection())==null||I.removeAllRanges(),_(R);const M=R.currentTarget;M&&(r.value[p.value.axis]=M[p.value.offset]-(R[p.value.client]-M.getBoundingClientRect()[p.value.direction]))},b=R=>{if(!o.value||!a.value||!n.wrapElement)return;const I=Math.abs(R.target.getBoundingClientRect()[p.value.direction]-R[p.value.client]),M=o.value[p.value.offset]/2,$=(I-M)*100*m.value/a.value[p.value.offset];n.wrapElement[p.value.scroll]=$*n.wrapElement[p.value.scrollSize]/100},_=R=>{R.stopImmediatePropagation(),l=!0,u=n.wrapElement.scrollHeight,d=n.wrapElement.scrollWidth,document.addEventListener("mousemove",w),document.addEventListener("mouseup",C),h=document.onselectstart,document.onselectstart=()=>!1},w=R=>{if(!a.value||!o.value||l===!1)return;const I=r.value[p.value.axis];if(!I)return;const M=(a.value.getBoundingClientRect()[p.value.direction]-R[p.value.client])*-1,$=o.value[p.value.offset]-I,O=(M-$)*100*m.value/a.value[p.value.offset];p.value.scroll==="scrollLeft"?n.wrapElement[p.value.scroll]=O*d/100:n.wrapElement[p.value.scroll]=O*u/100},C=()=>{l=!1,r.value[p.value.axis]=0,document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",C),T(),c&&(i.value=!1)},x=()=>{c=!1,i.value=!!t.size},E=()=>{c=!0,i.value=l};Gt(()=>{T(),document.removeEventListener("mouseup",C)});const T=()=>{document.onselectstart!==h&&(document.onselectstart=h)};return Zt(Jt(n,"scrollbarElement"),"mousemove",x),Zt(Jt(n,"scrollbarElement"),"mouseleave",E),(R,I)=>(S(),le(vs,{name:f(s).b("fade"),persisted:""},{default:X(()=>[gt(A("div",{ref_key:"instance",ref:a,class:D([f(s).e("bar"),f(s).is(p.value.key)]),onMousedown:b,onClick:I[0]||(I[0]=lt(()=>{},["stop"]))},[A("div",{ref_key:"thumb",ref:o,class:D(f(s).e("thumb")),style:tt(v.value),onMousedown:g},null,38)],34),[[Bt,e.always||i.value]])]),_:1},8,["name"]))}}),WZ=W({__name:"bar",props:BZ,setup(e,{expose:t}){const n=e,s=je(a3),a=F(0),o=F(0),r=F(""),i=F(""),l=F(1),c=F(1);return t({handleScroll:h=>{if(h){const p=h.offsetHeight-Nf,v=h.offsetWidth-Nf;o.value=h.scrollTop*100/p*l.value,a.value=h.scrollLeft*100/v*c.value}},update:()=>{const h=s==null?void 0:s.wrapElement;if(!h)return;const p=h.offsetHeight-Nf,v=h.offsetWidth-Nf,m=p**2/h.scrollHeight,g=v**2/h.scrollWidth,b=Math.max(m,n.minSize),_=Math.max(g,n.minSize);l.value=m/(p-m)/(b/(p-b)),c.value=g/(v-g)/(_/(v-_)),i.value=b+Nf(S(),P(He,null,[j(Y9,{move:a.value,ratio:c.value,size:r.value,always:e.always},null,8,["move","ratio","size","always"]),j(Y9,{move:o.value,ratio:l.value,size:i.value,vertical:"",always:e.always},null,8,["move","ratio","size","always"])],64))}});const jZ=["tabindex"];var KZ=W({name:"ElScrollbar",__name:"scrollbar",props:FZ,emits:q9,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Ee("scrollbar");let r,i,l,c=0,u=0,d="";const h={bottom:!1,top:!1,right:!1,left:!1},p=F(),v=F(),m=F(),g=F(),b=k(()=>{const O={},B=Pn(s.height),U=Pn(s.maxHeight);return B&&(O.height=B),U&&(O.maxHeight=U),[s.wrapStyle,O]}),_=k(()=>[s.wrapClass,o.e("wrap"),{[o.em("wrap","hidden-default")]:!s.native}]),w=k(()=>[o.e("view"),s.viewClass]),C=O=>{var B;return(B=h[O])!=null?B:!1},x={top:"bottom",bottom:"top",left:"right",right:"left"},E=O=>{const B=x[d];if(!B)return;const U=O[d],J=O[B];U&&!h[d]&&(h[d]=!0),!J&&h[B]&&(h[B]=!1)},T=()=>{var O;if(v.value){(O=g.value)==null||O.handleScroll(v.value);const B=c,U=u;c=v.value.scrollTop,u=v.value.scrollLeft;const J={bottom:c+v.value.clientHeight>=v.value.scrollHeight-s.distance,top:c<=s.distance&&B!==0,right:u+v.value.clientWidth>=v.value.scrollWidth-s.distance&&U!==u,left:u<=s.distance&&U!==0};if(a("scroll",{scrollTop:c,scrollLeft:u}),B!==c&&(d=c>B?"bottom":"top"),U!==u&&(d=u>U?"right":"left"),s.distance>0){if(C(d))return;E(J)}J[d]&&a("end-reached",d)}};function R(O,B){ht(O)?v.value.scrollTo(O):at(O)&&at(B)&&v.value.scrollTo(O,B)}const I=O=>{at(O)&&(v.value.scrollTop=O)},M=O=>{at(O)&&(v.value.scrollLeft=O)},$=()=>{var O;(O=g.value)==null||O.update(),h[d]=!1};return me(()=>s.noresize,O=>{O?(r==null||r(),i==null||i(),l==null||l()):({stop:r}=bn(m,$),{stop:i}=bn(v,$),l=Zt("resize",$))},{immediate:!0}),me(()=>[s.maxHeight,s.height],()=>{s.native||ze(()=>{var O;$(),v.value&&((O=g.value)==null||O.handleScroll(v.value))})}),Tt(a3,Wt({scrollbarElement:p,wrapElement:v})),U0(()=>{v.value&&(v.value.scrollTop=c,v.value.scrollLeft=u)}),St(()=>{s.native||ze(()=>{$()})}),or(()=>$()),t({wrapRef:v,update:$,scrollTo:R,setScrollTop:I,setScrollLeft:M,handleScroll:T}),(O,B)=>(S(),P("div",{ref_key:"scrollbarRef",ref:p,class:D(f(o).b())},[A("div",{ref_key:"wrapRef",ref:v,class:D(_.value),style:tt(b.value),tabindex:e.tabindex,onScroll:T},[(S(),le(bt(e.tag),{id:e.id,ref_key:"resizeRef",ref:m,class:D(w.value),style:tt(e.viewStyle),role:e.role,"aria-label":e.ariaLabel,"aria-orientation":e.ariaOrientation},{default:X(()=>[ue(O.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,jZ),e.native?ie("v-if",!0):(S(),le(WZ,{key:0,ref_key:"barRef",ref:g,always:e.always,"min-size":e.minSize},null,8,["always","min-size"]))],2))}});const pr=pt(KZ),X9=Me({virtualRef:{type:re(Object)},virtualTriggering:Boolean,onMouseenter:{type:re(Function)},onMouseleave:{type:re(Function)},onClick:{type:re(Function)},onKeydown:{type:re(Function)},onFocus:{type:re(Function)},onBlur:{type:re(Function)},onContextmenu:{type:re(Function)},id:String,open:Boolean}),Te={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"},si=Me({...X9,disabled:Boolean,trigger:{type:re([String,Array]),default:"hover"},triggerKeys:{type:re(Array),default:()=>[Te.enter,Te.numpadEnter,Te.space]},focusOnTarget:Boolean}),UZ=dr({type:re(Boolean),default:null}),qZ=dr({type:re(Function)}),GZ=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,s=[t],a={[e]:UZ,[n]:qZ};return{useModelToggle:({indicator:r,toggleReason:i,shouldHideWhenRouteChanges:l,shouldProceed:c,onShow:u,onHide:d})=>{const h=_t(),{emit:p}=h,v=h.props,m=k(()=>et(v[n])),g=k(()=>v[e]===null),b=T=>{r.value!==!0&&(r.value=!0,i&&(i.value=T),et(u)&&u(T))},_=T=>{r.value!==!1&&(r.value=!1,i&&(i.value=T),et(d)&&d(T))},w=T=>{if(v.disabled===!0||et(c)&&!c())return;const R=m.value&&jt;R&&p(t,!0),(g.value||!R)&&b(T)},C=T=>{if(v.disabled===!0||!jt)return;const R=m.value&&jt;R&&p(t,!1),(g.value||!R)&&_(T)},x=T=>{Qt(T)&&(v.disabled&&T?m.value&&p(t,!1):r.value!==T&&(T?b():_()))},E=()=>{r.value?C():w()};return me(()=>v[e],x),l&&h.appContext.config.globalProperties.$route!==void 0&&me(()=>({...h.proxy.$route}),()=>{l.value&&r.value&&C()}),St(()=>{x(v[e])}),{hide:C,show:w,toggle:E,hasUpdateHandler:m}},useModelToggleProps:a,useModelToggleEmits:s}},J9=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],Z9=Me({role:{type:String,values:J9,default:"tooltip"}}),{useModelToggleProps:YZ,useModelToggleEmits:XZ,useModelToggle:JZ}=GZ("visible"),ZZ=Me({...Z9,...YZ,...tn,...si,...N9,showArrow:{type:Boolean,default:!0}}),QZ=[...XZ,"before-show","before-hide","show","hide","open","close"],o3=Symbol("popper"),Q9=Symbol("popperContent");var eQ=W({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:Z9,setup(e,{expose:t}){const n=e,s=F(),a=F(),o=F(),r=F(),i=k(()=>n.role),l={triggerRef:s,popperInstanceRef:a,contentRef:o,referenceRef:r,role:i};return t(l),Tt(o3,l),(c,u)=>ue(c.$slots,"default")}}),tQ=W({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=Ee("popper"),{arrowRef:s,arrowStyle:a}=je(Q9,void 0);return Gt(()=>{s.value=void 0}),t({arrowRef:s}),(o,r)=>(S(),P("span",{ref_key:"arrowRef",ref:s,class:D(f(n).e("arrow")),style:tt(f(a)),"data-popper-arrow":""},null,6))}});const eE=Symbol("elForwardRef"),nQ=e=>{Tt(eE,{setForwardRef:n=>{e.value=n}})},sQ=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),tE=W({name:"ElOnlyChild",setup(e,{slots:t,attrs:n}){var s;const a=je(eE),o=sQ((s=a==null?void 0:a.setForwardRef)!=null?s:qt);return()=>{var r;const i=(r=t.default)==null?void 0:r.call(t,n);if(!i)return null;const[l,c]=nE(i);return l?gt(Kr(l,n),[[o]]):null}}});function nE(e){if(!e)return[null,0];const t=e,n=t.filter(s=>s.type!==Kn).length;for(const s of t){if(ht(s))switch(s.type){case Kn:continue;case vf:case"svg":return[sE(s),n];case He:return nE(s.children);default:return[s,n]}return[sE(s),n]}return[null,0]}function sE(e){const t=Ee("only-child");return j("span",{class:t.e("content")},[e])}var aQ=W({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:X9,setup(e,{expose:t}){const n=e,{role:s,triggerRef:a}=je(o3,void 0);nQ(a);const o=k(()=>i.value?n.id:void 0),r=k(()=>{if(s&&s.value==="tooltip")return n.open&&n.id?n.id:void 0}),i=k(()=>{if(s&&s.value!=="tooltip")return s.value}),l=k(()=>i.value?`${n.open}`:void 0);let c;const u=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return St(()=>{me(()=>n.virtualRef,d=>{d&&(a.value=os(d))},{immediate:!0}),me(a,(d,h)=>{c==null||c(),c=void 0,ja(h)&&u.forEach(p=>{const v=n[p];v&&h.removeEventListener(p.slice(2).toLowerCase(),v,["onFocus","onBlur"].includes(p))}),ja(d)&&(u.forEach(p=>{const v=n[p];v&&d.addEventListener(p.slice(2).toLowerCase(),v,["onFocus","onBlur"].includes(p))}),Np(d)&&(c=me([o,r,i,l],p=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((v,m)=>{qn(p[m])?d.removeAttribute(v):d.setAttribute(v,p[m])})},{immediate:!0}))),ja(h)&&Np(h)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(p=>h.removeAttribute(p))},{immediate:!0})}),Gt(()=>{if(c==null||c(),c=void 0,a.value&&ja(a.value)){const d=a.value;u.forEach(h=>{const p=n[h];p&&d.removeEventListener(h.slice(2).toLowerCase(),p,["onFocus","onBlur"].includes(h))}),a.value=void 0}}),t({triggerRef:a}),(d,h)=>e.virtualTriggering?ie("v-if",!0):(S(),le(f(tE),wt({key:0},d.$attrs,{"aria-controls":o.value,"aria-describedby":r.value,"aria-expanded":l.value,"aria-haspopup":i.value}),{default:X(()=>[ue(d.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});const r3="focus-trap.focus-after-trapped",i3="focus-trap.focus-after-released",oQ="focus-trap.focusout-prevented",aE={cancelable:!0,bubbles:!1},rQ={cancelable:!0,bubbles:!1},oE="focusAfterTrapped",rE="focusAfterReleased",iE=Symbol("elFocusTrap"),l3=F(),Og=F(0),c3=F(0);let Lg=0;const lE=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const a=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||a?NodeFilter.FILTER_SKIP:s.tabIndex>=0||s===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},cE=(e,t)=>{for(const n of e)if(!iQ(n,t))return n},iQ=(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},lQ=e=>{const t=lE(e),n=cE(t,e),s=cE(t.reverse(),e);return[n,s]},cQ=e=>e instanceof HTMLInputElement&&"select"in e,nc=(e,t)=>{if(e){const n=document.activeElement;$p(e,{preventScroll:!0}),c3.value=window.performance.now(),e!==n&&cQ(e)&&t&&e.select()}};function uE(e,t){const n=[...e],s=e.indexOf(t);return s!==-1&&n.splice(s,1),n}const uQ=()=>{let e=[];return{push:s=>{const a=e[0];a&&s!==a&&a.pause(),e=uE(e,s),e.unshift(s)},remove:s=>{var a,o;e=uE(e,s),(o=(a=e[0])==null?void 0:a.resume)==null||o.call(a)}}},dQ=(e,t=!1)=>{const n=document.activeElement;for(const s of e)if(nc(s,t),document.activeElement!==n)return},dE=uQ(),fQ=()=>Og.value>c3.value,Ng=()=>{l3.value="pointer",Og.value=window.performance.now()},fE=()=>{l3.value="keyboard",Og.value=window.performance.now()},hQ=()=>(St(()=>{Lg===0&&(document.addEventListener("mousedown",Ng),document.addEventListener("touchstart",Ng),document.addEventListener("keydown",fE)),Lg++}),Gt(()=>{Lg--,Lg<=0&&(document.removeEventListener("mousedown",Ng),document.removeEventListener("touchstart",Ng),document.removeEventListener("keydown",fE))}),{focusReason:l3,lastUserFocusTimestamp:Og,lastAutomatedFocusTimestamp:c3}),$g=e=>new CustomEvent(oQ,{...rQ,detail:e}),ms=(e,t,{checkForDefaultPrevented:n=!0}={})=>a=>{const o=e==null?void 0:e(a);if(n===!1||!o)return t==null?void 0:t(a)},hE=e=>t=>t.pointerType==="mouse"?e(t):void 0,an=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=pE(e);if(t){if(Object.values(Te).includes(t))return t;switch(t){case" ":return Te.space;default:return""}}return""},pE=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&F9()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t};let $f=[];const vE=e=>{an(e)===Te.esc&&$f.forEach(n=>n(e))},pQ=e=>{St(()=>{$f.length===0&&document.addEventListener("keydown",vE),jt&&$f.push(e)}),Gt(()=>{$f=$f.filter(t=>t!==e),$f.length===0&&jt&&document.removeEventListener("keydown",vE)})};var vQ=W({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[oE,rE,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=F();let s,a;const{focusReason:o}=hQ();pQ(v=>{e.trapped&&!r.paused&&t("release-requested",v)});const r={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},i=v=>{if(!e.loop&&!e.trapped||r.paused)return;const{altKey:m,ctrlKey:g,metaKey:b,currentTarget:_,shiftKey:w}=v,{loop:C}=e,E=an(v)===Te.tab&&!m&&!g&&!b,T=document.activeElement;if(E&&T){const R=_,[I,M]=lQ(R);if(I&&M){if(!w&&T===M){const O=$g({focusReason:o.value});t("focusout-prevented",O),O.defaultPrevented||(v.preventDefault(),C&&nc(I,!0))}else if(w&&[I,R].includes(T)){const O=$g({focusReason:o.value});t("focusout-prevented",O),O.defaultPrevented||(v.preventDefault(),C&&nc(M,!0))}}else if(T===R){const O=$g({focusReason:o.value});t("focusout-prevented",O),O.defaultPrevented||v.preventDefault()}}};Tt(iE,{focusTrapRef:n,onKeydown:i}),me(()=>e.focusTrapEl,v=>{v&&(n.value=v)},{immediate:!0}),me([n],([v],[m])=>{v&&(v.addEventListener("keydown",i),v.addEventListener("focusin",u),v.addEventListener("focusout",d)),m&&(m.removeEventListener("keydown",i),m.removeEventListener("focusin",u),m.removeEventListener("focusout",d))});const l=v=>{t(oE,v)},c=v=>t(rE,v),u=v=>{const m=f(n);if(!m)return;const g=v.target,b=v.relatedTarget,_=g&&m.contains(g);e.trapped||b&&m.contains(b)||(s=b),_&&t("focusin",v),!r.paused&&e.trapped&&(_?a=g:nc(a,!0))},d=v=>{const m=f(n);if(!(r.paused||!m))if(e.trapped){const g=v.relatedTarget;!qn(g)&&!m.contains(g)&&setTimeout(()=>{if(!r.paused&&e.trapped){const b=$g({focusReason:o.value});t("focusout-prevented",b),b.defaultPrevented||nc(a,!0)}},0)}else{const g=v.target;g&&m.contains(g)||t("focusout",v)}};async function h(){await ze();const v=f(n);if(v){dE.push(r);const m=v.contains(document.activeElement)?s:document.activeElement;if(s=m,!v.contains(m)){const b=new Event(r3,aE);v.addEventListener(r3,l),v.dispatchEvent(b),b.defaultPrevented||ze(()=>{let _=e.focusStartEl;Xe(_)||(nc(_),document.activeElement!==_&&(_="first")),_==="first"&&dQ(lE(v),!0),(document.activeElement===m||_==="container")&&nc(v)})}}}function p(){const v=f(n);if(v){v.removeEventListener(r3,l);const m=new CustomEvent(i3,{...aE,detail:{focusReason:o.value}});v.addEventListener(i3,c),v.dispatchEvent(m),!m.defaultPrevented&&(o.value=="keyboard"||!fQ()||v.contains(document.activeElement))&&nc(s??document.body),v.removeEventListener(i3,c),dE.remove(r),s=null,a=null}}return St(()=>{e.trapped&&h(),me(()=>e.trapped,v=>{v?h():p()})}),Gt(()=>{e.trapped&&p(),n.value&&(n.value.removeEventListener("keydown",i),n.value.removeEventListener("focusin",u),n.value.removeEventListener("focusout",d),n.value=void 0),s=null,a=null}),{onKeydown:i}}}),is=(e,t)=>{const n=e.__vccOpts||e;for(const[s,a]of t)n[s]=a;return n};function mQ(e,t,n,s,a,o){return ue(e.$slots,"default",{handleKeydown:e.onKeydown})}var Df=is(vQ,[["render",mQ]]);const gQ=(e,t)=>{const n=F(!1),s=F(),a=()=>{t("focus")},o=c=>{var u;((u=c.detail)==null?void 0:u.focusReason)!=="pointer"&&(s.value="first",t("blur"))},r=c=>{e.visible&&!n.value&&(c.target&&(s.value=c.target),n.value=!0)},i=c=>{e.trapping||(c.detail.focusReason==="pointer"&&c.preventDefault(),n.value=!1)},l=()=>{n.value=!1,t("close")};return Gt(()=>{s.value=void 0}),{focusStartRef:s,trapped:n,onFocusAfterReleased:o,onFocusAfterTrapped:a,onFocusInTrap:r,onFocusoutPrevented:i,onReleaseRequested:l}},bQ=(e,t=[])=>{const{placement:n,strategy:s,popperOptions:a}=e,o={placement:n,strategy:s,...a,modifiers:[...wQ(e),...t]};return _Q(o,a==null?void 0:a.modifiers),o},yQ=e=>{if(jt)return os(e)};function wQ(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:s}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:s}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function _Q(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const CQ=(e,t,n={})=>{const s={name:"updateState",enabled:!0,phase:"write",fn:({state:l})=>{const c=SQ(l);Object.assign(r.value,c)},requires:["computeStyles"]},a=k(()=>{const{onFirstUpdate:l,placement:c,strategy:u,modifiers:d}=f(n);return{onFirstUpdate:l,placement:c||"bottom",strategy:u||"absolute",modifiers:[...d||[],s,{name:"applyStyles",enabled:!1}]}}),o=hn(),r=F({styles:{popper:{position:f(a).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=()=>{o.value&&(o.value.destroy(),o.value=void 0)};return me(a,l=>{const c=f(o);c&&c.setOptions(l)},{deep:!0}),me([e,t],([l,c])=>{i(),!(!l||!c)&&(o.value=vZ(l,c,f(a)))}),Gt(()=>{i()}),{state:k(()=>{var l;return{...((l=f(o))==null?void 0:l.state)||{}}}),styles:k(()=>f(r).styles),attributes:k(()=>f(r).attributes),update:()=>{var l;return(l=f(o))==null?void 0:l.update()},forceUpdate:()=>{var l;return(l=f(o))==null?void 0:l.forceUpdate()},instanceRef:k(()=>f(o))}};function SQ(e){const t=Object.keys(e.elements),n=hp(t.map(a=>[a,e.styles[a]||{}])),s=hp(t.map(a=>[a,e.attributes[a]]));return{styles:n,attributes:s}}const xQ=0,EQ=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:s,role:a}=je(o3,void 0),o=F(),r=k(()=>e.arrowOffset),i=k(()=>({name:"eventListeners",enabled:!!e.visible})),l=k(()=>{var b;const _=f(o),w=(b=f(r))!=null?b:xQ;return{name:"arrow",enabled:!cV(_),options:{element:_,padding:w}}}),c=k(()=>({onFirstUpdate:()=>{v()},...bQ(e,[f(l),f(i)])})),u=k(()=>yQ(e.referenceEl)||f(s)),{attributes:d,state:h,styles:p,update:v,forceUpdate:m,instanceRef:g}=CQ(u,n,c);return me(g,b=>t.value=b,{flush:"sync"}),St(()=>{me(()=>{var b,_;return(_=(b=f(u))==null?void 0:b.getBoundingClientRect)==null?void 0:_.call(b)},()=>{v()})}),Gt(()=>{t.value=void 0}),{attributes:d,arrowRef:o,contentRef:n,instanceRef:g,state:h,styles:p,role:a,forceUpdate:m,update:v}},kQ=(e,{attributes:t,styles:n,role:s})=>{const{nextZIndex:a}=yp(),o=Ee("popper"),r=k(()=>f(t).popper),i=F(at(e.zIndex)?e.zIndex:a()),l=k(()=>[o.b(),o.is("pure",e.pure),o.is(e.effect),e.popperClass]),c=k(()=>[{zIndex:f(i)},f(n).popper,e.popperStyle||{}]),u=k(()=>s.value==="dialog"?"false":void 0),d=k(()=>f(n).arrow||{});return{ariaModal:u,arrowStyle:d,contentAttrs:r,contentClass:l,contentStyle:c,contentZIndex:i,updateZIndex:()=>{i.value=at(e.zIndex)?e.zIndex:a()}}};var AQ=W({name:"ElPopperContent",__name:"content",props:$9,emits:yZ,setup(e,{expose:t,emit:n}){const s=n,a=e,{focusStartRef:o,trapped:r,onFocusAfterReleased:i,onFocusAfterTrapped:l,onFocusInTrap:c,onFocusoutPrevented:u,onReleaseRequested:d}=gQ(a,s),{attributes:h,arrowRef:p,contentRef:v,styles:m,instanceRef:g,role:b,update:_}=EQ(a),{ariaModal:w,arrowStyle:C,contentAttrs:x,contentClass:E,contentStyle:T,updateZIndex:R}=kQ(a,{styles:m,attributes:h,role:b}),I=je(ni,void 0);Tt(Q9,{arrowStyle:C,arrowRef:p}),I&&Tt(ni,{...I,addInputId:qt,removeInputId:qt});let M;const $=(B=!0)=>{_(),B&&R()},O=()=>{$(!1),a.visible&&a.focusOnShow?r.value=!0:a.visible===!1&&(r.value=!1)};return St(()=>{me(()=>a.triggerTargetEl,(B,U)=>{M==null||M(),M=void 0;const J=f(B||v.value),Y=f(U||v.value);ja(J)&&(M=me([b,()=>a.ariaLabel,w,()=>a.id],N=>{["role","aria-label","aria-modal","id"].forEach((L,V)=>{qn(N[V])?J.removeAttribute(L):J.setAttribute(L,N[V])})},{immediate:!0})),Y!==J&&ja(Y)&&["role","aria-label","aria-modal","id"].forEach(N=>{Y.removeAttribute(N)})},{immediate:!0}),me(()=>a.visible,O,{immediate:!0})}),Gt(()=>{M==null||M(),M=void 0,v.value=void 0}),t({popperContentRef:v,popperInstanceRef:g,updatePopper:$,contentStyle:T}),(B,U)=>(S(),P("div",wt({ref_key:"contentRef",ref:v},f(x),{style:f(T),class:f(E),tabindex:"-1",onMouseenter:U[0]||(U[0]=J=>B.$emit("mouseenter",J)),onMouseleave:U[1]||(U[1]=J=>B.$emit("mouseleave",J))}),[j(f(Df),{loop:e.loop,trapped:f(r),"trap-on-focus-in":!0,"focus-trap-el":f(v),"focus-start-el":f(o),onFocusAfterTrapped:f(l),onFocusAfterReleased:f(i),onFocusin:f(c),onFocusoutPrevented:f(u),onReleaseRequested:f(d)},{default:X(()=>[ue(B.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});const mE=pt(eQ),u3=Symbol("elTooltip"),d3=(e,t)=>ke(e)?e.includes(t):e===t,Ff=(e,t,n)=>s=>{d3(f(e),t)&&n(s)};var TQ=W({name:"ElTooltipTrigger",__name:"trigger",props:si,setup(e,{expose:t}){const n=e,s=Ee("tooltip"),{controlled:a,id:o,open:r,onOpen:i,onClose:l,onToggle:c}=je(u3,void 0),u=F(null),d=()=>{if(f(a)||n.disabled)return!0},h=Jt(n,"trigger"),p=ms(d,Ff(h,"hover",C=>{i(C),n.focusOnTarget&&C.target&&ze(()=>{$p(C.target,{preventScroll:!0})})})),v=ms(d,Ff(h,"hover",l)),m=ms(d,Ff(h,"click",C=>{C.button===0&&c(C)})),g=ms(d,Ff(h,"focus",i)),b=ms(d,Ff(h,"focus",l)),_=ms(d,Ff(h,"contextmenu",C=>{C.preventDefault(),c(C)})),w=ms(d,C=>{const x=an(C);n.triggerKeys.includes(x)&&(C.preventDefault(),c(C))});return t({triggerRef:u}),(C,x)=>(S(),le(f(aQ),{id:f(o),"virtual-ref":e.virtualRef,open:f(r),"virtual-triggering":e.virtualTriggering,class:D(f(s).e("trigger")),onBlur:f(b),onClick:f(m),onContextmenu:f(_),onFocus:f(g),onMouseenter:f(p),onMouseleave:f(v),onKeydown:f(w)},{default:X(()=>[ue(C.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});const gE=()=>{const e=Ay(),t=s3(),n=k(()=>`${e.value}-popper-container-${t.prefix}`),s=k(()=>`#${n.value}`);return{id:n,selector:s}},MQ=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},PQ=()=>{const{id:e,selector:t}=gE();return K2(()=>{jt&&(document.body.querySelector(t.value)||MQ(e.value))}),{id:e,selector:t}},bE=e=>[...new Set(e)],Fp=e=>ke(e)?e[0]:e,ca=e=>!e&&e!==0?[]:ke(e)?e:[e];var RQ=W({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:tn,setup(e,{expose:t}){const n=e,{selector:s}=gE(),a=Ee("tooltip"),o=F(),r=bx(()=>{var L;return(L=o.value)==null?void 0:L.popperContentRef});let i;const{controlled:l,id:c,open:u,trigger:d,onClose:h,onOpen:p,onShow:v,onHide:m,onBeforeShow:g,onBeforeHide:b}=je(u3,void 0),_=k(()=>n.transition||`${a.namespace.value}-fade-in-linear`),w=k(()=>n.persistent);Gt(()=>{i==null||i()});const C=k(()=>f(w)?!0:f(u)),x=k(()=>n.disabled?!1:f(u)),E=k(()=>n.appendTo||s.value),T=k(()=>{var L;return(L=n.style)!=null?L:{}}),R=F(!0),I=()=>{m(),N()&&$p(document.body,{preventScroll:!0}),R.value=!0},M=()=>{if(f(l))return!0},$=ms(M,()=>{n.enterable&&d3(f(d),"hover")&&p()}),O=ms(M,()=>{d3(f(d),"hover")&&h()}),B=()=>{var L,V;(V=(L=o.value)==null?void 0:L.updatePopper)==null||V.call(L),g==null||g()},U=()=>{b==null||b()},J=()=>{v()},Y=()=>{n.virtualTriggering||h()},N=L=>{var V;const z=(V=o.value)==null?void 0:V.popperContentRef,G=(L==null?void 0:L.relatedTarget)||document.activeElement;return z==null?void 0:z.contains(G)};return me(()=>f(u),L=>{L?(R.value=!1,i=My(r,()=>{if(f(l))return;ca(f(d)).every(z=>z!=="hover"&&z!=="focus")&&h()},{detectIframe:!0})):i==null||i()},{flush:"post"}),me(()=>n.content,()=>{var L,V;(V=(L=o.value)==null?void 0:L.updatePopper)==null||V.call(L)}),t({contentRef:o,isFocusInsideContent:N}),(L,V)=>(S(),le(f(Tf),{disabled:!e.teleported,to:E.value},{default:X(()=>[C.value||!R.value?(S(),le(vs,{key:0,name:_.value,appear:!w.value,onAfterLeave:I,onBeforeEnter:B,onAfterEnter:J,onBeforeLeave:U,persisted:""},{default:X(()=>[gt(j(f(AQ),wt({id:f(c),ref_key:"contentRef",ref:o},L.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":R.value,"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,T.value],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:x.value,"z-index":e.zIndex,loop:e.loop,onMouseenter:f($),onMouseleave:f(O),onBlur:Y,onClose:f(h)}),{default:X(()=>[ue(L.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[Bt,x.value]])]),_:3},8,["name","appear"])):ie("v-if",!0)]),_:3},8,["disabled","to"]))}});const IQ=["innerHTML"],OQ={key:1};var LQ=W({name:"ElTooltip",__name:"tooltip",props:ZZ,emits:QZ,setup(e,{expose:t,emit:n}){const s=e,a=n;PQ();const o=Ee("tooltip"),r=$s(),i=F(),l=F(),c=()=>{var C;const x=f(i);x&&((C=x.popperInstanceRef)==null||C.update())},u=F(!1),d=F(),{show:h,hide:p,hasUpdateHandler:v}=JZ({indicator:u,toggleReason:d}),{onOpen:m,onClose:g}=_Z({showAfter:Jt(s,"showAfter"),hideAfter:Jt(s,"hideAfter"),autoClose:Jt(s,"autoClose"),open:h,close:p}),b=k(()=>Qt(s.visible)&&!v.value),_=k(()=>[o.b(),s.popperClass]);Tt(u3,{controlled:b,id:r,open:au(u),trigger:Jt(s,"trigger"),onOpen:m,onClose:g,onToggle:C=>{f(u)?g(C):m(C)},onShow:()=>{a("show",d.value)},onHide:()=>{a("hide",d.value)},onBeforeShow:()=>{a("before-show",d.value)},onBeforeHide:()=>{a("before-hide",d.value)},updatePopper:c}),me(()=>s.disabled,C=>{C&&u.value&&(u.value=!1)});const w=C=>{var x;return(x=l.value)==null?void 0:x.isFocusInsideContent(C)};return I4(()=>u.value&&p()),Gt(()=>{d.value=void 0}),t({popperRef:i,contentRef:l,isFocusInsideContent:w,updatePopper:c,onOpen:m,onClose:g,hide:p}),(C,x)=>(S(),le(f(mE),{ref_key:"popperRef",ref:i,role:e.role},{default:X(()=>[j(TQ,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering,"focus-on-target":e.focusOnTarget},{default:X(()=>[C.$slots.default?ue(C.$slots,"default",{key:0}):ie("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),j(RQ,{ref_key:"contentRef",ref:l,"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":_.value,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,"arrow-offset":e.arrowOffset,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo,loop:e.loop},{default:X(()=>[ue(C.$slots,"content",{},()=>[e.rawContent?(S(),P("span",{key:0,innerHTML:e.content},null,8,IQ)):(S(),P("span",OQ,ve(e.content),1))]),e.showArrow?(S(),le(f(tQ),{key:0})):ie("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","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}});const Ss=pt(LQ),NQ=["aria-expanded","aria-owns"],$Q={key:0},DQ=["id","aria-selected","onClick"],yE="ElAutocomplete";var FQ=W({name:yE,inheritAttrs:!1,__name:"autocomplete",props:SZ,emits:xZ,setup(e,{expose:t,emit:n}){const s=e,a=n,o=k(()=>Ui(s,Object.keys(Lp))),r=Bi(),i=In(),l=Ee("autocomplete"),c=F(),u=F(),d=F(),h=F();let p=!1,v=!1;const m=F([]),g=F(-1),b=F(""),_=F(!1),w=F(!1),C=F(!1),x=$s(),E=k(()=>r.style),T=k(()=>(m.value.length>0||C.value)&&_.value),R=k(()=>!s.hideLoading&&C.value),I=k(()=>c.value?Array.from(c.value.$el.querySelectorAll("input")):[]),M=()=>{T.value&&(b.value=`${c.value.$el.offsetWidth}px`)},$=()=>{g.value=-1},O=async Z=>{if(w.value)return;const H=te=>{C.value=!1,!w.value&&(ke(te)?(m.value=te,g.value=s.highlightFirstItem?0:-1):Xn(yE,"autocomplete suggestions must be an array"))};if(C.value=!0,ke(s.fetchSuggestions))H(s.fetchSuggestions);else{const te=await s.fetchSuggestions(Z,H);ke(te)&&H(te)}},B=k(()=>s.debounce),U=gp(O,B),J=Z=>{const H=!!Z;if(a(es,Z),a(ct,Z),w.value=!1,_.value||(_.value=H),!s.triggerOnFocus&&!Z){w.value=!0,m.value=[];return}U(Z)},Y=Z=>{var H;i.value||(((H=Z.target)==null?void 0:H.tagName)!=="INPUT"||I.value.includes(document.activeElement))&&(_.value=!0)},N=Z=>{a(Pt,Z)},L=Z=>{var H;if(v)v=!1;else{_.value=!0,a("focus",Z);const te=(H=s.modelValue)!=null?H:"";s.triggerOnFocus&&!p&&U(String(te))}},V=Z=>{setTimeout(()=>{var H;if((H=d.value)!=null&&H.isFocusInsideContent()){v=!0;return}_.value&&K(),a("blur",Z)})},z=()=>{_.value=!1,a(ct,""),a("clear")},G=async()=>{var Z;(Z=c.value)!=null&&Z.isComposing||(T.value&&g.value>=0&&g.value{T.value&&(Z.preventDefault(),Z.stopPropagation(),K())},K=()=>{_.value=!1},ee=()=>{var Z;(Z=c.value)==null||Z.focus()},ae=()=>{var Z;(Z=c.value)==null||Z.blur()},fe=async Z=>{a(es,Z[s.valueKey]),a(ct,Z[s.valueKey]),a("select",Z),m.value=[],g.value=-1},ne=Z=>{var H,te;if(!T.value||C.value)return;if(Z<0){if(!s.loopNavigation){g.value=-1;return}Z=m.value.length-1}Z>=m.value.length&&(Z=s.loopNavigation?0:m.value.length-1);const[de,be]=pe(),Ce=be[Z],Se=de.scrollTop,{offsetTop:Ne,scrollHeight:Ve}=Ce;Ne+Ve>Se+de.clientHeight&&(de.scrollTop=Ne+Ve-de.clientHeight),Ne{const Z=u.value.querySelector(`.${l.be("suggestion","wrap")}`),H=Z.querySelectorAll(`.${l.be("suggestion","list")} li`);return[Z,H]},he=My(h,()=>{var Z;(Z=d.value)!=null&&Z.isFocusInsideContent()||T.value&&K()}),ce=Z=>{switch(an(Z)){case Te.up:Z.preventDefault(),ne(g.value-1);break;case Te.down:Z.preventDefault(),ne(g.value+1);break;case Te.enter:case Te.numpadEnter:Z.preventDefault(),G();break;case Te.tab:K();break;case Te.esc:Q(Z);break;case Te.home:Z.preventDefault(),ne(0);break;case Te.end:Z.preventDefault(),ne(m.value.length-1);break;case Te.pageUp:Z.preventDefault(),ne(Math.max(0,g.value-10));break;case Te.pageDown:Z.preventDefault(),ne(Math.min(m.value.length-1,g.value+10));break}};return Gt(()=>{he==null||he()}),St(()=>{var Z;const H=(Z=c.value)==null?void 0:Z.ref;H&&([{key:"role",value:"textbox"},{key:"aria-autocomplete",value:"list"},{key:"aria-controls",value:x.value},{key:"aria-activedescendant",value:`${x.value}-item-${g.value}`}].forEach(({key:te,value:de})=>H.setAttribute(te,de)),p=H.hasAttribute("readonly"))}),t({highlightedIndex:g,activated:_,loading:C,inputRef:c,popperRef:d,suggestions:m,handleSelect:fe,handleKeyEnter:G,focus:ee,blur:ae,close:K,highlight:ne,getData:O}),(Z,H)=>(S(),le(f(Ss),{ref_key:"popperRef",ref:d,visible:T.value,placement:e.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[f(l).e("popper"),e.popperClass],"popper-style":e.popperStyle,teleported:e.teleported,"append-to":e.appendTo,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${f(l).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:M,onHide:$},{content:X(()=>[A("div",{ref_key:"regionRef",ref:u,class:D([f(l).b("suggestion"),f(l).is("loading",R.value)]),style:tt({[e.fitInputWidth?"width":"minWidth"]:b.value,outline:"none"}),role:"region"},[Z.$slots.header?(S(),P("div",{key:0,class:D(f(l).be("suggestion","header")),onClick:H[0]||(H[0]=lt(()=>{},["stop"]))},[ue(Z.$slots,"header")],2)):ie("v-if",!0),j(f(pr),{id:f(x),tag:"ul","wrap-class":f(l).be("suggestion","wrap"),"view-class":f(l).be("suggestion","list"),role:"listbox"},{default:X(()=>[R.value?(S(),P("li",$Q,[ue(Z.$slots,"loading",{},()=>[j(f(Je),{class:D(f(l).is("loading"))},{default:X(()=>[j(f(Ns))]),_:1},8,["class"])])])):(S(!0),P(He,{key:1},yt(m.value,(te,de)=>(S(),P("li",{id:`${f(x)}-item-${de}`,key:de,class:D({highlighted:g.value===de}),role:"option","aria-selected":g.value===de,onClick:be=>fe(te)},[ue(Z.$slots,"default",{item:te},()=>[Ue(ve(te[e.valueKey]),1)])],10,DQ))),128))]),_:3},8,["id","wrap-class","view-class"]),Z.$slots.footer?(S(),P("div",{key:1,class:D(f(l).be("suggestion","footer")),onClick:H[1]||(H[1]=lt(()=>{},["stop"]))},[ue(Z.$slots,"footer")],2)):ie("v-if",!0)],6)]),default:X(()=>[A("div",{ref_key:"listboxRef",ref:h,class:D([f(l).b(),Z.$attrs.class]),style:tt(E.value),role:"combobox","aria-haspopup":"listbox","aria-expanded":T.value,"aria-owns":f(x)},[j(f(la),wt({ref_key:"inputRef",ref:c},wt(o.value,Z.$attrs),{"model-value":e.modelValue,disabled:f(i),onInput:J,onChange:N,onFocus:L,onBlur:V,onClear:z,onKeydown:ce,onMousedown:Y}),ka({_:2},[Z.$slots.prepend?{name:"prepend",fn:X(()=>[ue(Z.$slots,"prepend")]),key:"0"}:void 0,Z.$slots.append?{name:"append",fn:X(()=>[ue(Z.$slots,"append")]),key:"1"}:void 0,Z.$slots.prefix?{name:"prefix",fn:X(()=>[ue(Z.$slots,"prefix")]),key:"2"}:void 0,Z.$slots.suffix?{name:"suffix",fn:X(()=>[ue(Z.$slots,"suffix")]),key:"3"}:void 0]),1040,["model-value","disabled"])],14,NQ)]),_:3},8,["visible","placement","popper-class","popper-style","teleported","append-to","transition"]))}});const BQ=pt(FQ),VQ=Me({size:{type:[Number,String],values:fr,validator:e=>at(e)},shape:{type:String,values:["circle","square"]},icon:{type:en},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:re(String),default:"cover"}}),zQ={error:e=>e instanceof Event},wE=Symbol("avatarGroupContextKey"),HQ=["src","alt","srcset"];var _E=W({name:"ElAvatar",__name:"avatar",props:VQ,emits:zQ,setup(e,{emit:t}){const n=e,s=t,a=je(wE,void 0),o=Ee("avatar"),r=F(!1),i=k(()=>{var p;return(p=n.size)!=null?p:a==null?void 0:a.size}),l=k(()=>{var p,v;return(v=(p=n.shape)!=null?p:a==null?void 0:a.shape)!=null?v:"circle"}),c=k(()=>{const{icon:p}=n,v=[o.b()];return Xe(i.value)&&v.push(o.m(i.value)),p&&v.push(o.m("icon")),l.value&&v.push(o.m(l.value)),v}),u=k(()=>at(i.value)?o.cssVarBlock({size:Pn(i.value)}):void 0),d=k(()=>({objectFit:n.fit}));me(()=>[n.src,n.srcSet],()=>r.value=!1);function h(p){r.value=!0,s("error",p)}return(p,v)=>(S(),P("span",{class:D(c.value),style:tt(u.value)},[(e.src||e.srcSet)&&!r.value?(S(),P("img",{key:0,src:e.src,alt:e.alt,srcset:e.srcSet,style:tt(d.value),onError:h},null,44,HQ)):e.icon?(S(),le(f(Je),{key:1},{default:X(()=>[(S(),le(bt(e.icon)))]),_:1})):ue(p.$slots,"default",{key:2})],6))}});const WQ={size:{type:re([Number,String]),values:fr,validator:e=>at(e)},shape:{type:re(String),values:["circle","square"]},collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:re(String),default:"light"},placement:{type:re(String),values:Qr,default:"top"},popperClass:tn.popperClass,popperStyle:tn.popperStyle,collapseClass:String,collapseStyle:{type:re([String,Array,Object])}};var CE=W({name:"ElAvatarGroup",props:WQ,setup(e,{slots:t}){const n=Ee("avatar-group");return Tt(wE,Wt({size:Jt(e,"size"),shape:Jt(e,"shape")})),()=>{var s,a;const o=lo((a=(s=t.default)==null?void 0:s.call(t))!=null?a:[]);let r=o;if(e.collapseAvatars&&o.length>e.maxCollapseAvatars){r=o.slice(0,e.maxCollapseAvatars);const l=o.slice(e.maxCollapseAvatars);r.push(j(Ss,{popperClass:e.popperClass,popperStyle:e.popperStyle,placement:e.placement,effect:e.effect,disabled:!e.collapseAvatarsTooltip},{default:()=>j(_E,{size:e.size,shape:e.shape,class:e.collapseClass,style:e.collapseStyle},{default:()=>[Ue("+ "),l.length]}),content:()=>j("div",{class:n.e("collapse-avatars")},[l.map((c,u)=>{var d;return un(c)?Kr(c,{key:(d=c.key)!=null?d:u}):c})])}))}return j("div",{class:n.b()},[r])}}});const jQ=pt(_E,{AvatarGroup:CE}),KQ=An(CE),UQ={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},qQ={click:e=>e instanceof MouseEvent},GQ=(e,t,n)=>{const s=hn(),a=hn(),o=F(!1),r=()=>{s.value&&(o.value=s.value.scrollTop>=e.visibilityHeight)},i=c=>{var u;(u=s.value)==null||u.scrollTo({top:0,behavior:"smooth"}),t("click",c)},l=Cx(r,300,!0);return Zt(a,"scroll",l),St(()=>{var c;a.value=document,s.value=document.documentElement,e.target&&(s.value=(c=document.querySelector(e.target))!=null?c:void 0,s.value||Xn(n,`target does not exist: ${e.target}`),a.value=s.value),r()}),{visible:o,handleClick:i}},SE="ElBacktop";var YQ=W({name:SE,__name:"backtop",props:UQ,emits:qQ,setup(e,{emit:t}){const n=e,s=t,a=Ee("backtop"),{handleClick:o,visible:r}=GQ(n,s,SE),i=k(()=>({right:`${n.right}px`,bottom:`${n.bottom}px`}));return(l,c)=>(S(),le(vs,{name:`${f(a).namespace.value}-fade-in`},{default:X(()=>[f(r)?(S(),P("div",{key:0,style:tt(i.value),class:D(f(a).b()),onClick:c[0]||(c[0]=lt((...u)=>f(o)&&f(o)(...u),["stop"]))},[ue(l.$slots,"default",{},()=>[j(f(Je),{class:D(f(a).e("icon"))},{default:X(()=>[j(f(Kx))]),_:1},8,["class"])])],6)):ie("v-if",!0)]),_:3},8,["name"]))}});const XQ=pt(YQ),JQ=Me({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"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:re([String,Object,Array])},offset:{type:re(Array),default:()=>[0,0]},badgeClass:{type:String}});var ZQ=W({name:"ElBadge",__name:"badge",props:JQ,setup(e,{expose:t}){const n=e,s=Ee("badge"),a=k(()=>n.isDot?"":at(n.value)&&at(n.max)?n.max{var r;return[{backgroundColor:n.color,marginRight:Pn(-n.offset[0]),marginTop:Pn(n.offset[1])},(r=n.badgeStyle)!=null?r:{}]});return t({content:a}),(r,i)=>(S(),P("div",{class:D(f(s).b())},[ue(r.$slots,"default"),j(vs,{name:`${f(s).namespace.value}-zoom-in-center`,persisted:""},{default:X(()=>[gt(A("sup",{class:D([f(s).e("content"),f(s).em("content",e.type),f(s).is("fixed",!!r.$slots.default),f(s).is("dot",e.isDot),f(s).is("hide-zero",!e.showZero&&e.value===0),e.badgeClass]),style:tt(o.value)},[ue(r.$slots,"content",{value:a.value},()=>[Ue(ve(a.value),1)])],6),[[Bt,!e.hidden&&(a.value||e.isDot||r.$slots.content)]])]),_:3},8,["name"])],2))}});const xE=pt(ZQ),QQ=Me({separator:{type:String,default:"/"},separatorIcon:{type:en}}),EE=Symbol("breadcrumbKey"),eee=["aria-label"];var tee=W({name:"ElBreadcrumb",__name:"breadcrumb",props:QQ,setup(e){const{t}=It(),n=e,s=Ee("breadcrumb"),a=F();return Tt(EE,n),St(()=>{const o=a.value.querySelectorAll(`.${s.e("item")}`);o.length&&o[o.length-1].setAttribute("aria-current","page")}),(o,r)=>(S(),P("div",{ref_key:"breadcrumb",ref:a,class:D(f(s).b()),"aria-label":f(t)("el.breadcrumb.label"),role:"navigation"},[ue(o.$slots,"default")],10,eee))}});const nee=Me({to:{type:re([String,Object]),default:""},replace:Boolean});var kE=W({name:"ElBreadcrumbItem",__name:"breadcrumb-item",props:nee,setup(e){const t=e,n=_t(),s=je(EE,void 0),a=Ee("breadcrumb"),o=n.appContext.config.globalProperties.$router,r=()=>{!t.to||!o||(t.replace?o.replace(t.to):o.push(t.to))};return(i,l)=>{var c,u;return S(),P("span",{class:D(f(a).e("item"))},[A("span",{class:D([f(a).e("inner"),f(a).is("link",!!e.to)]),role:"link",onClick:r},[ue(i.$slots,"default")],2),(c=f(s))!=null&&c.separatorIcon?(S(),le(f(Je),{key:0,class:D(f(a).e("separator"))},{default:X(()=>[(S(),le(bt(f(s).separatorIcon)))]),_:1},8,["class"])):(S(),P("span",{key:1,class:D(f(a).e("separator")),role:"presentation"},ve((u=f(s))==null?void 0:u.separator),3))],2)}}});const see=pt(tee,{BreadcrumbItem:kE}),aee=An(kE),f3=["default","primary","success","warning","info","danger","text",""],h3=Me({size:rs,disabled:{type:Boolean,default:void 0},type:{type:String,values:f3,default:""},icon:{type:en},nativeType:{type:String,values:["button","submit","reset"],default:"button"},loading:Boolean,loadingIcon:{type:en,default:()=>Ns},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:re([String,Object]),default:"button"}}),oee={click:e=>e instanceof MouseEvent},AE=Symbol("buttonGroupContextKey"),ai=({from:e,replacement:t,scope:n,version:s,ref:a,type:o="API"},r)=>{me(()=>f(r),i=>{},{immediate:!0})},ree=(e,t)=>{ai({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},k(()=>e.type==="text"));const n=je(AE,void 0),s=Af("button"),{form:a}=Cs(),o=ts(k(()=>n==null?void 0:n.size)),r=In(),i=F(),l=zn(),c=k(()=>{var b;return e.type||(n==null?void 0:n.type)||((b=s.value)==null?void 0:b.type)||""}),u=k(()=>{var b,_,w;return(w=(_=e.autoInsertSpace)!=null?_:(b=s.value)==null?void 0:b.autoInsertSpace)!=null?w:!1}),d=k(()=>{var b,_,w;return(w=(_=e.plain)!=null?_:(b=s.value)==null?void 0:b.plain)!=null?w:!1}),h=k(()=>{var b,_,w;return(w=(_=e.round)!=null?_:(b=s.value)==null?void 0:b.round)!=null?w:!1}),p=k(()=>{var b,_,w;return(w=(_=e.text)!=null?_:(b=s.value)==null?void 0:b.text)!=null?w:!1}),v=k(()=>e.tag==="button"?{ariaDisabled:r.value||e.loading,disabled:r.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),m=k(()=>{var b;const _=(b=l.default)==null?void 0:b.call(l);if(u.value&&(_==null?void 0:_.length)===1){const w=_[0];if((w==null?void 0:w.type)===vf){const C=w.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(C.trim())}}return!1});return{_disabled:r,_size:o,_type:c,_ref:i,_props:v,_plain:d,_round:h,_text:p,shouldAddSpace:m,handleClick:b=>{if(r.value||e.loading){b.stopPropagation();return}e.nativeType==="reset"&&(a==null||a.resetFields()),t("click",b)}}};function Ks(e,t){iee(e)&&(e="100%");var n=lee(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 Dg(e){return Math.min(1,Math.max(0,e))}function iee(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function lee(e){return typeof e=="string"&&e.indexOf("%")!==-1}function TE(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Fg(e){return e<=1?"".concat(Number(e)*100,"%"):e}function xu(e){return e.length===1?"0"+e:String(e)}function cee(e,t,n){return{r:Ks(e,255)*255,g:Ks(t,255)*255,b:Ks(n,255)*255}}function ME(e,t,n){e=Ks(e,255),t=Ks(t,255),n=Ks(n,255);var s=Math.max(e,t,n),a=Math.min(e,t,n),o=0,r=0,i=(s+a)/2;if(s===a)r=0,o=0;else{var l=s-a;switch(r=i>.5?l/(2-s-a):l/(s+a),s){case e:o=(t-n)/l+(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 uee(e,t,n){var s,a,o;if(e=Ks(e,360),t=Ks(t,100),n=Ks(n,100),t===0)a=n,o=n,s=n;else{var r=n<.5?n*(1+t):n+t-n*t,i=2*n-r;s=p3(i,r,e+1/3),a=p3(i,r,e),o=p3(i,r,e-1/3)}return{r:s*255,g:a*255,b:o*255}}function PE(e,t,n){e=Ks(e,255),t=Ks(t,255),n=Ks(n,255);var s=Math.max(e,t,n),a=Math.min(e,t,n),o=0,r=s,i=s-a,l=s===0?0:i/s;if(s===a)o=0;else{switch(s){case e:o=(t-n)/i+(t>16,g:(e&65280)>>8,b:e&255}}var v3={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 vee(e){var t={r:0,g:0,b:0},n=1,s=null,a=null,o=null,r=!1,i=!1;return typeof e=="string"&&(e=bee(e)),typeof e=="object"&&(el(e.r)&&el(e.g)&&el(e.b)?(t=cee(e.r,e.g,e.b),r=!0,i=String(e.r).substr(-1)==="%"?"prgb":"rgb"):el(e.h)&&el(e.s)&&el(e.v)?(s=Fg(e.s),a=Fg(e.v),t=dee(e.h,s,a),r=!0,i="hsv"):el(e.h)&&el(e.s)&&el(e.l)&&(s=Fg(e.s),o=Fg(e.l),t=uee(e.h,s,o),r=!0,i="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=TE(n),{ok:r,format:e.format||i,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 mee="[-\\+]?\\d+%?",gee="[-\\+]?\\d*\\.\\d+%?",sc="(?:".concat(gee,")|(?:").concat(mee,")"),m3="[\\s|\\(]+(".concat(sc,")[,|\\s]+(").concat(sc,")[,|\\s]+(").concat(sc,")\\s*\\)?"),g3="[\\s|\\(]+(".concat(sc,")[,|\\s]+(").concat(sc,")[,|\\s]+(").concat(sc,")[,|\\s]+(").concat(sc,")\\s*\\)?"),vr={CSS_UNIT:new RegExp(sc),rgb:new RegExp("rgb"+m3),rgba:new RegExp("rgba"+g3),hsl:new RegExp("hsl"+m3),hsla:new RegExp("hsla"+g3),hsv:new RegExp("hsv"+m3),hsva:new RegExp("hsva"+g3),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 bee(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(v3[e])e=v3[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=vr.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=vr.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=vr.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=vr.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=vr.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=vr.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=vr.hex8.exec(e),n?{r:fo(n[1]),g:fo(n[2]),b:fo(n[3]),a:IE(n[4]),format:t?"name":"hex8"}:(n=vr.hex6.exec(e),n?{r:fo(n[1]),g:fo(n[2]),b:fo(n[3]),format:t?"name":"hex"}:(n=vr.hex4.exec(e),n?{r:fo(n[1]+n[1]),g:fo(n[2]+n[2]),b:fo(n[3]+n[3]),a:IE(n[4]+n[4]),format:t?"name":"hex8"}:(n=vr.hex3.exec(e),n?{r:fo(n[1]+n[1]),g:fo(n[2]+n[2]),b:fo(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function el(e){return!!vr.CSS_UNIT.exec(String(e))}var Bf=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var s;if(t instanceof e)return t;typeof t=="number"&&(t=pee(t)),this.originalInput=t;var a=vee(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(s=n.format)!==null&&s!==void 0?s:a.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=a.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,s,a,o=t.r/255,r=t.g/255,i=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),r<=.03928?s=r/12.92:s=Math.pow((r+.055)/1.055,2.4),i<=.03928?a=i/12.92:a=Math.pow((i+.055)/1.055,2.4),.2126*n+.7152*s+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=TE(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=PE(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=PE(this.r,this.g,this.b),n=Math.round(t.h*360),s=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(s,"%, ").concat(a,"%)"):"hsva(".concat(n,", ").concat(s,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=ME(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=ME(this.r,this.g,this.b),n=Math.round(t.h*360),s=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(s,"%, ").concat(a,"%)"):"hsla(".concat(n,", ").concat(s,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),RE(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),fee(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.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(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),s=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(s,")"):"rgba(".concat(t,", ").concat(n,", ").concat(s,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ks(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(Ks(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="#"+RE(this.r,this.g,this.b,!1),n=0,s=Object.entries(v3);n=0,o=!n&&a&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(s=this.toRgbString()),t==="prgb"&&(s=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(s=this.toHexString()),t==="hex3"&&(s=this.toHexString(!0)),t==="hex4"&&(s=this.toHex8String(!0)),t==="hex8"&&(s=this.toHex8String()),t==="name"&&(s=this.toName()),t==="hsl"&&(s=this.toHslString()),t==="hsv"&&(s=this.toHsvString()),s||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=Dg(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=Dg(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=Dg(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=Dg(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),s=(n.h+t)%360;return n.h=s<0?360+s:s,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var s=this.toRgb(),a=new e(t).toRgb(),o=n/100,r={r:(a.r-s.r)*o+s.r,g:(a.g-s.g)*o+s.g,b:(a.b-s.b)*o+s.b,a:(a.a-s.a)*o+s.a};return new e(r)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var s=this.toHsl(),a=360/n,o=[this];for(s.h=(s.h-(a*t>>1)+720)%360;--t;)s.h=(s.h+a)%360,o.push(new e(s));return o},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(),s=n.h,a=n.s,o=n.v,r=[],i=1/t;t--;)r.push(new e({h:s,s:a,v:o})),o=(o+i)%1;return r},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(),s=new e(t).toRgb(),a=n.a+s.a*(1-n.a);return new e({r:(n.r*n.a+s.r*s.a*(1-n.a))/a,g:(n.g*n.a+s.g*s.a*(1-n.a))/a,b:(n.b*n.a+s.b*s.a*(1-n.a))/a,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(),s=n.h,a=[this],o=360/t,r=1;r{let s={},a=e.color;if(a){const o=a.match(/var\((.*?)\)/);o&&(a=window.getComputedStyle(window.document.documentElement).getPropertyValue(o[1]));const r=new Bf(a),i=e.dark?r.tint(20).toString():ac(r,20);if(e.plain)s=n.cssVarBlock({"bg-color":e.dark?ac(r,90):r.tint(90).toString(),"text-color":a,"border-color":e.dark?ac(r,50):r.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":a,"hover-border-color":a,"active-bg-color":i,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":i}),t.value&&(s[n.cssVarBlockName("disabled-bg-color")]=e.dark?ac(r,90):r.tint(90).toString(),s[n.cssVarBlockName("disabled-text-color")]=e.dark?ac(r,50):r.tint(50).toString(),s[n.cssVarBlockName("disabled-border-color")]=e.dark?ac(r,80):r.tint(80).toString());else{const l=e.dark?ac(r,30):r.tint(30).toString(),c=r.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(s=n.cssVarBlock({"bg-color":a,"text-color":c,"border-color":a,"hover-bg-color":l,"hover-text-color":c,"hover-border-color":l,"active-bg-color":i,"active-border-color":i}),t.value){const u=e.dark?ac(r,50):r.tint(50).toString();s[n.cssVarBlockName("disabled-bg-color")]=u,s[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,s[n.cssVarBlockName("disabled-border-color")]=u}}}return s})}var wee=W({name:"ElButton",__name:"button",props:h3,emits:oee,setup(e,{expose:t,emit:n}){const s=e,a=n,o=yee(s),r=Ee("button"),{_ref:i,_size:l,_type:c,_disabled:u,_props:d,_plain:h,_round:p,_text:v,shouldAddSpace:m,handleClick:g}=ree(s,a),b=k(()=>[r.b(),r.m(c.value),r.m(l.value),r.is("disabled",u.value),r.is("loading",s.loading),r.is("plain",h.value),r.is("round",p.value),r.is("circle",s.circle),r.is("text",v.value),r.is("link",s.link),r.is("has-bg",s.bg)]);return t({ref:i,size:l,type:c,disabled:u,shouldAddSpace:m}),(_,w)=>(S(),le(bt(e.tag),wt({ref_key:"_ref",ref:i},f(d),{class:b.value,style:f(o),onClick:f(g)}),{default:X(()=>[e.loading?(S(),P(He,{key:0},[_.$slots.loading?ue(_.$slots,"loading",{key:0}):(S(),le(f(Je),{key:1,class:D(f(r).is("loading"))},{default:X(()=>[(S(),le(bt(e.loadingIcon)))]),_:1},8,["class"]))],64)):e.icon||_.$slots.icon?(S(),le(f(Je),{key:1},{default:X(()=>[e.icon?(S(),le(bt(e.icon),{key:0})):ue(_.$slots,"icon",{key:1})]),_:3})):ie("v-if",!0),_.$slots.default?(S(),P("span",{key:2,class:D({[f(r).em("text","expand")]:f(m)})},[ue(_.$slots,"default")],2)):ie("v-if",!0)]),_:3},16,["class","style","onClick"]))}});const _ee={size:h3.size,type:h3.type,direction:{type:re(String),values:["horizontal","vertical"],default:"horizontal"}};var OE=W({name:"ElButtonGroup",__name:"button-group",props:_ee,setup(e){const t=e;Tt(AE,Wt({size:Jt(t,"size"),type:Jt(t,"type")}));const n=Ee("button");return(s,a)=>(S(),P("div",{class:D([f(n).b("group"),f(n).bm("group",t.direction)])},[ue(s.$slots,"default")],2))}});const gs=pt(wee,{ButtonGroup:OE}),LE=An(OE),Cee=e=>ke(e)&&e.length===2&&e.every(t=>Kl(t)),See=Me({modelValue:{type:Date},range:{type:re(Array),validator:Cee},controllerType:{type:String,values:["button","select"],default:"button"},formatter:{type:re(Function)}}),xee={[ct]:e=>Kl(e),[es]:e=>Kl(e)};var tl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var NE={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){var n=1e3,s=6e4,a=36e5,o="millisecond",r="second",i="minute",l="hour",c="day",u="week",d="month",h="quarter",p="year",v="date",m="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(U){var J=["th","st","nd","rd"],Y=U%100;return"["+U+(J[(Y-20)%10]||J[Y]||J[0])+"]"}},w=function(U,J,Y){var N=String(U);return!N||N.length>=J?U:""+Array(J+1-N.length).join(Y)+U},C={s:w,z:function(U){var J=-U.utcOffset(),Y=Math.abs(J),N=Math.floor(Y/60),L=Y%60;return(J<=0?"+":"-")+w(N,2,"0")+":"+w(L,2,"0")},m:function U(J,Y){if(J.date()1)return U(z[0])}else{var G=J.name;E[G]=J,L=G}return!N&&L&&(x=L),L||!N&&x},M=function(U,J){if(R(U))return U.clone();var Y=typeof J=="object"?J:{};return Y.date=U,Y.args=arguments,new O(Y)},$=C;$.l=I,$.i=R,$.w=function(U,J){return M(U,{locale:J.$L,utc:J.$u,x:J.$x,$offset:J.$offset})};var O=function(){function U(Y){this.$L=I(Y.locale,null,!0),this.parse(Y),this.$x=this.$x||Y.x||{},this[T]=!0}var J=U.prototype;return J.parse=function(Y){this.$d=function(N){var L=N.date,V=N.utc;if(L===null)return new Date(NaN);if($.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var z=L.match(g);if(z){var G=z[2]-1||0,Q=(z[7]||"0").substring(0,3);return V?new Date(Date.UTC(z[1],G,z[3]||1,z[4]||0,z[5]||0,z[6]||0,Q)):new Date(z[1],G,z[3]||1,z[4]||0,z[5]||0,z[6]||0,Q)}}return new Date(L)}(Y),this.init()},J.init=function(){var Y=this.$d;this.$y=Y.getFullYear(),this.$M=Y.getMonth(),this.$D=Y.getDate(),this.$W=Y.getDay(),this.$H=Y.getHours(),this.$m=Y.getMinutes(),this.$s=Y.getSeconds(),this.$ms=Y.getMilliseconds()},J.$utils=function(){return $},J.isValid=function(){return this.$d.toString()!==m},J.isSame=function(Y,N){var L=M(Y);return this.startOf(N)<=L&&L<=this.endOf(N)},J.isAfter=function(Y,N){return M(Y)[e>0?e-1:void 0,e,eArray.from(Array.from({length:e}).keys()),$E=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),DE=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),FE=function(e,t){const n=Kl(e),s=Kl(t);return n&&s?e.getTime()===t.getTime():!n&&!s?e===t:!1},BE=function(e,t){const n=ke(e),s=ke(t);return n&&s?e.length!==t.length?!1:e.every((a,o)=>FE(a,t[o])):!n&&!s?FE(e,t):!1},VE=function(e,t,n){const s=Pa(t)||t==="x"?vt(e).locale(n):vt(e,t).locale(n);return s.isValid()?s:void 0},zE=function(e,t,n){return Pa(t)?e:t==="x"?+e:vt(e).locale(n).format(t)},y3=(e,t)=>{var n;const s=[],a=t==null?void 0:t();for(let o=0;oke(e)?e.map(t=>t.toDate()):e.toDate(),kee=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return oc(t).map((s,a)=>n-(t-a-1))},Aee=e=>{const t=e.daysInMonth();return oc(t).map((n,s)=>s+1)},Tee=e=>oc(e.length/7).map(t=>{const n=t*7;return e.slice(n,n+7)}),Mee=Me({selectedDay:{type:re(Object)},range:{type:re(Array)},date:{type:re(Object),required:!0},hideHeader:{type:Boolean}}),Pee={pick:e=>ht(e)};var HE={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){return function(n,s,a){var o=s.prototype,r=function(d){return d&&(d.indexOf?d:d.s)},i=function(d,h,p,v,m){var g=d.name?d:d.$locale(),b=r(g[h]),_=r(g[p]),w=b||_.map(function(x){return x.slice(0,v)});if(!m)return w;var C=g.weekStart;return w.map(function(x,E){return w[(E+(C||0))%7]})},l=function(){return a.Ls[a.locale()]},c=function(d,h){return d.formats[h]||function(p){return p.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(v,m,g){return m||g.slice(1)})}(d.formats[h.toUpperCase()])},u=function(){var d=this;return{months:function(h){return h?h.format("MMMM"):i(d,"months")},monthsShort:function(h){return h?h.format("MMM"):i(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(h){return h?h.format("dddd"):i(d,"weekdays")},weekdaysMin:function(h){return h?h.format("dd"):i(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(h){return h?h.format("ddd"):i(d,"weekdaysShort","weekdays",3)},longDateFormat:function(h){return c(d.$locale(),h)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return u.bind(this)()},a.localeData=function(){var d=l();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(h){return c(d,h)},meridiem:d.meridiem,ordinal:d.ordinal}},a.months=function(){return i(l(),"months")},a.monthsShort=function(){return i(l(),"monthsShort","months",3)},a.weekdays=function(d){return i(l(),"weekdays",null,null,d)},a.weekdaysShort=function(d){return i(l(),"weekdaysShort","weekdays",3,d)},a.weekdaysMin=function(d){return i(l(),"weekdaysMin","weekdays",2,d)}}})})(HE);var Ree=HE.exports;const WE=nl(Ree),Iee=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"],w3=["sun","mon","tue","wed","thu","fri","sat"],Oee=(e,t)=>{vt.extend(WE);const n=vt.localeData().firstDayOfWeek(),{t:s,lang:a}=It(),o=vt().locale(a.value),r=k(()=>!!e.range&&!!e.range.length),i=k(()=>{let h=[];if(r.value){const[p,v]=e.range,m=oc(v.date()-p.date()+1).map(_=>({text:p.date()+_,type:"current"}));let g=m.length%7;g=g===0?0:7-g;const b=oc(g).map((_,w)=>({text:w+1,type:"next"}));h=m.concat(b)}else{const p=e.date.startOf("month").day(),v=kee(e.date,(p-n+7)%7).map(_=>({text:_,type:"prev"})),m=Aee(e.date).map(_=>({text:_,type:"current"}));h=[...v,...m];const g=7-(h.length%7||7),b=oc(g).map((_,w)=>({text:w+1,type:"next"}));h=h.concat(b)}return Tee(h)}),l=k(()=>{const h=n;return h===0?w3.map(p=>s(`el.datepicker.weeks.${p}`)):w3.slice(h).concat(w3.slice(0,h)).map(p=>s(`el.datepicker.weeks.${p}`))}),c=(h,p)=>{switch(p){case"prev":return e.date.startOf("month").subtract(1,"month").date(h);case"next":return e.date.startOf("month").add(1,"month").date(h);case"current":return e.date.date(h)}};return{now:o,isInRange:r,rows:i,weekDays:l,getFormattedDate:c,handlePickDay:({text:h,type:p})=>{const v=c(h,p);t("pick",v)},getSlotData:({text:h,type:p})=>{const v=c(h,p);return{isSelected:v.isSame(e.selectedDay),type:`${p}-month`,day:v.format("YYYY-MM-DD"),date:v.toDate()}}}},Lee={key:0},Nee=["onClick"];var jE=W({name:"DateTable",__name:"date-table",props:Mee,emits:Pee,setup(e,{expose:t,emit:n}){const s=e,a=n,{isInRange:o,now:r,rows:i,weekDays:l,getFormattedDate:c,handlePickDay:u,getSlotData:d}=Oee(s,a),h=Ee("calendar-table"),p=Ee("calendar-day"),v=({text:m,type:g})=>{const b=[g];if(g==="current"){const _=c(m,g);_.isSame(s.selectedDay,"day")&&b.push(p.is("selected")),_.isSame(r,"day")&&b.push(p.is("today"))}return b};return t({getFormattedDate:c}),(m,g)=>(S(),P("table",{class:D([f(h).b(),f(h).is("range",f(o))]),cellspacing:"0",cellpadding:"0"},[e.hideHeader?ie("v-if",!0):(S(),P("thead",Lee,[A("tr",null,[(S(!0),P(He,null,yt(f(l),b=>(S(),P("th",{key:b,scope:"col"},ve(b),1))),128))])])),A("tbody",null,[(S(!0),P(He,null,yt(f(i),(b,_)=>(S(),P("tr",{key:_,class:D({[f(h).e("row")]:!0,[f(h).em("row","hide-border")]:_===0&&e.hideHeader})},[(S(!0),P(He,null,yt(b,(w,C)=>(S(),P("td",{key:C,class:D(v(w)),onClick:x=>f(u)(w)},[A("div",{class:D(f(p).b())},[ue(m.$slots,"date-cell",{data:f(d)(w)},()=>[A("span",null,ve(w.text),1)])],2)],10,Nee))),128))],2))),128))])],2))}});const $ee=(e,t)=>{const n=e.endOf("month"),s=t.startOf("month"),o=n.isSame(s,"week")?s.add(1,"week"):s;return[[e,n],[o.startOf("week"),t]]},Dee=(e,t)=>{const n=e.endOf("month"),s=e.add(1,"month").startOf("month"),a=n.isSame(s,"week")?s.add(1,"week"):s,o=a.endOf("month"),r=t.startOf("month"),i=o.isSame(r,"week")?r.add(1,"week"):r;return[[e,n],[a.startOf("week"),o],[i.startOf("week"),t]]},Fee=(e,t,n)=>{const{lang:s}=It(),a=F(),o=vt().locale(s.value),r=k({get(){return e.modelValue?l.value:a.value},set(b){if(!b)return;a.value=b;const _=b.toDate();t(es,_),t(ct,_)}}),i=k(()=>{if(!e.range||!ke(e.range)||e.range.length!==2||e.range.some(C=>!Kl(C)))return[];const b=e.range.map(C=>vt(C).locale(s.value)),[_,w]=b;return _.isAfter(w)?[]:_.isSame(w,"month")?p(_,w):_.add(1,"month").month()!==w.month()?[]:p(_,w)}),l=k(()=>e.modelValue?vt(e.modelValue).locale(s.value):r.value||(i.value.length?i.value[0][0]:o)),c=k(()=>l.value.subtract(1,"month").date(1)),u=k(()=>l.value.add(1,"month").date(1)),d=k(()=>l.value.subtract(1,"year").date(1)),h=k(()=>l.value.add(1,"year").date(1)),p=(b,_)=>{const w=b.startOf("week"),C=_.endOf("week"),x=w.get("month"),E=C.get("month");return x===E?[[w,C]]:(x+1)%12===E?$ee(w,C):x+2===E||(x+1)%11===E?Dee(w,C):[]},v=b=>{r.value=b},m=b=>{const w={"prev-month":c.value,"next-month":u.value,"prev-year":d.value,"next-year":h.value,today:o}[b];w.isSame(l.value,"day")||v(w)};return{calculateValidatedDateRange:p,date:l,realSelectedDay:r,pickDay:v,selectDate:m,validatedRange:i,handleDateChange:b=>{b==="today"?m("today"):v(b)}}},Bee=Me({date:{type:re(Object),required:!0},formatter:{type:re(Function)}}),Vee={"date-change":e=>ht(e)||Xe(e)},sl=Me({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:fr},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),zee={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},Hee=["aria-label"],Wee=["aria-label"];var jee=W({name:"ElTag",__name:"tag",props:sl,emits:zee,setup(e,{emit:t}){const n=e,s=t,a=ts(),{t:o}=It(),r=Ee("tag"),i=k(()=>{const{type:d,hit:h,effect:p,closable:v,round:m}=n;return[r.b(),r.is("closable",v),r.m(d||"primary"),r.m(a.value),r.m(p),r.is("hit",h),r.is("round",m)]}),l=d=>{s("close",d)},c=d=>{s("click",d)},u=d=>{var h,p,v;(v=(p=(h=d==null?void 0:d.component)==null?void 0:h.subTree)==null?void 0:p.component)!=null&&v.bum&&(d.component.subTree.component.bum=null)};return(d,h)=>e.disableTransitions?(S(),P("span",{key:0,class:D(i.value),style:tt({backgroundColor:e.color}),onClick:c},[A("span",{class:D(f(r).e("content"))},[ue(d.$slots,"default")],2),e.closable?(S(),P("button",{key:0,"aria-label":f(o)("el.tag.close"),class:D(f(r).e("close")),type:"button",onClick:lt(l,["stop"])},[j(f(Je),null,{default:X(()=>[j(f(Ua))]),_:1})],10,Hee)):ie("v-if",!0)],6)):(S(),le(vs,{key:1,name:`${f(r).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:u},{default:X(()=>[A("span",{class:D(i.value),style:tt({backgroundColor:e.color}),onClick:c},[A("span",{class:D(f(r).e("content"))},[ue(d.$slots,"default")],2),e.closable?(S(),P("button",{key:0,"aria-label":f(o)("el.tag.close"),class:D(f(r).e("close")),type:"button",onClick:lt(l,["stop"])},[j(f(Je),null,{default:X(()=>[j(f(Ua))]),_:1})],10,Wee)):ie("v-if",!0)],6)]),_:3},8,["name"]))}});const al=pt(jee),Vg={label:"label",value:"value",disabled:"disabled",options:"options"};function Bp(e){const t=F({...Vg,...e.props});let n={...e.props};return me(()=>e.props,i=>{$n(i,n)||(t.value={...Vg,...i},n={...i})},{deep:!0}),{aliasProps:t,getLabel:i=>Yn(i,t.value.label),getValue:i=>Yn(i,t.value.value),getDisabled:i=>Yn(i,t.value.disabled),getOptions:i=>Yn(i,t.value.options)}}const KE=Symbol("ElSelectGroup"),Vp=Symbol("ElSelect"),_3="ElOption",Kee=Me({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean}),C3=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),rc=e=>O0(e);function Uee(e,t){const n=je(Vp);n||Xn(_3,"usage: ");const s=je(KE,{disabled:!1}),a=k(()=>u(_s(n.props.modelValue),e.value)),o=k(()=>{var p;if(n.props.multiple){const v=_s((p=n.props.modelValue)!=null?p:[]);return!a.value&&v.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),r=k(()=>{var p;return(p=e.label)!=null?p:ht(e.value)?"":e.value}),i=k(()=>e.value||e.label||""),l=k(()=>e.disabled||t.groupDisabled||o.value),c=_t(),u=(p=[],v)=>{if(ht(e.value)){const m=n.props.valueKey;return p&&p.some(g=>cn(Yn(g,m))===Yn(v,m))}else return p&&p.includes(v)},d=()=>{l.value||(n.states.hoveringIndex=n.optionsArray.indexOf(c.proxy))},h=p=>{const v=new RegExp(C3(p),"i");t.visible=v.test(String(r.value))||e.created};return me(()=>r.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),me(()=>e.value,(p,v)=>{const{remote:m,valueKey:g}=n.props;if((m?p!==v:!$n(p,v))&&(n.onOptionDestroy(v,c.proxy),n.onOptionCreate(c.proxy)),!e.created&&!m){if(g&&ht(p)&&ht(v)&&p[g]===v[g])return;n.setSelected()}}),me(()=>s.disabled,()=>{t.groupDisabled=s.disabled},{immediate:!0}),{select:n,currentLabel:r,currentValue:i,itemSelected:a,isDisabled:l,hoverItem:d,updateOption:h}}var qee=W({name:_3,componentName:_3,props:Kee,setup(e){const t=Ee("select"),n=$s(),s=k(()=>[t.be("dropdown","item"),t.is("disabled",f(i)),t.is("selected",f(r)),t.is("hovering",f(h))]),a=Wt({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:o,itemSelected:r,isDisabled:i,select:l,hoverItem:c,updateOption:u}=Uee(e,a),{visible:d,hover:h}=ps(a),p=_t().proxy;l.onOptionCreate(p),Gt(()=>{const m=p.value;ze(()=>{const{selected:g}=l.states,b=g.some(_=>_.value===p.value);l.states.cachedOptions.get(m)===p&&!b&&l.states.cachedOptions.delete(m)}),l.onOptionDestroy(m,p)});function v(){i.value||l.handleOptionSelect(p)}return{ns:t,id:n,containerKls:s,currentLabel:o,itemSelected:r,isDisabled:i,select:l,visible:d,hover:h,states:a,hoverItem:c,updateOption:u,selectOptionClick:v}}});const Gee=["id","aria-disabled","aria-selected"];function Yee(e,t,n,s,a,o){return gt((S(),P("li",{id:e.id,class:D(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMousemove:t[0]||(t[0]=(...r)=>e.hoverItem&&e.hoverItem(...r)),onClick:t[1]||(t[1]=lt((...r)=>e.selectOptionClick&&e.selectOptionClick(...r),["stop"]))},[ue(e.$slots,"default",{},()=>[A("span",null,ve(e.currentLabel),1)])],42,Gee)),[[Bt,e.visible]])}var S3=is(qee,[["render",Yee]]);const zg=11,UE=2;var Xee=W({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=je(Vp),t=Ee("select"),n=k(()=>e.props.popperClass),s=k(()=>e.props.multiple),a=k(()=>e.props.fitInputWidth),o=F("");function r(){var i;const l=(i=e.selectRef)==null?void 0:i.offsetWidth;l?o.value=`${l-UE}px`:o.value=""}return St(()=>{r(),bn(e.selectRef,r)}),{ns:t,minWidth:o,popperClass:n,isMultiple:s,isFitInputWidth:a}}});function Jee(e,t,n,s,a,o){return S(),P("div",{class:D([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:tt({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(S(),P("div",{key:0,class:D(e.ns.be("dropdown","header"))},[ue(e.$slots,"header")],2)):ie("v-if",!0),ue(e.$slots,"default"),e.$slots.footer?(S(),P("div",{key:1,class:D(e.ns.be("dropdown","footer"))},[ue(e.$slots,"footer")],2)):ie("v-if",!0)],6)}var Zee=is(Xee,[["render",Jee]]);const Qee=(e,t)=>{const{t:n}=It(),s=zn(),a=$s(),o=Ee("select"),r=Ee("input"),i=Wt({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),l=F(),c=F(),u=F(),d=F(),h=F(),p=F(),v=F(),m=F(),g=F(),b=F(),_=F(),w=F(!1),C=F(),x=F(!1),{form:E,formItem:T}=Cs(),{inputId:R}=uo(e,{formItemContext:T}),{valueOnClear:I,isEmptyValue:M}=wp(e),{isComposing:$,handleCompositionStart:O,handleCompositionUpdate:B,handleCompositionEnd:U}=Dp({afterComposition:Ie=>Ft(Ie)}),J=In(),{wrapperRef:Y,isFocused:N,handleBlur:L}=Qi(h,{disabled:J,afterFocus(){e.automaticDropdown&&!w.value&&(w.value=!0,i.menuVisibleOnFocus=!0)},beforeBlur(Ie){var ut,Dt;return((ut=u.value)==null?void 0:ut.isFocusInsideContent(Ie))||((Dt=d.value)==null?void 0:Dt.isFocusInsideContent(Ie))},afterBlur(){var Ie;w.value=!1,i.menuVisibleOnFocus=!1,e.validateEvent&&((Ie=T==null?void 0:T.validate)==null||Ie.call(T,"blur").catch(ut=>void 0))}}),V=k(()=>ke(e.modelValue)?e.modelValue.length>0:!M(e.modelValue)),z=k(()=>{var Ie;return(Ie=E==null?void 0:E.statusIcon)!=null?Ie:!1}),G=k(()=>e.clearable&&!J.value&&V.value&&(N.value||i.inputHovering)),Q=k(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),K=k(()=>o.is("reverse",!!(Q.value&&w.value))),ee=k(()=>(T==null?void 0:T.validateState)||""),ae=k(()=>ee.value&&Eg[ee.value]),fe=k(()=>e.remote?e.debounce:0),ne=k(()=>e.remote&&!i.inputValue&&i.options.size===0),pe=k(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&i.inputValue&&i.options.size>0&&he.value===0?e.noMatchText||n("el.select.noMatch"):i.options.size===0?e.noDataText||n("el.select.noData"):null),he=k(()=>ce.value.filter(Ie=>Ie.visible).length),ce=k(()=>{const Ie=Array.from(i.options.values()),ut=[];return i.optionValues.forEach(Dt=>{const En=Ie.findIndex(jn=>jn.value===Dt);En>-1&&ut.push(Ie[En])}),ut.length>=Ie.length?ut:Ie}),Z=k(()=>Array.from(i.cachedOptions.values())),H=k(()=>{const Ie=ce.value.filter(ut=>!ut.created).some(ut=>ut.currentLabel===i.inputValue);return e.filterable&&e.allowCreate&&i.inputValue!==""&&!Ie}),te=()=>{e.filterable&&et(e.filterMethod)||e.filterable&&e.remote&&et(e.remoteMethod)||ce.value.forEach(Ie=>{var ut;(ut=Ie.updateOption)==null||ut.call(Ie,i.inputValue)})},de=ts(),be=k(()=>["small"].includes(de.value)?"small":"default"),Ce=k({get(){return w.value&&(e.loading||!ne.value||e.remote&&!!s.empty)&&(!x.value||!Pa(i.previousQuery))},set(Ie){w.value=Ie}}),Se=k(()=>{if(e.multiple&&!$t(e.modelValue))return _s(e.modelValue).length===0&&!i.inputValue;const Ie=ke(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||$t(Ie)?!i.inputValue:!0}),Ne=k(()=>{var Ie;const ut=(Ie=e.placeholder)!=null?Ie:n("el.select.placeholder");return e.multiple||!V.value?ut:i.selectedLabel}),Ve=k(()=>pg?null:"mouseenter");me(()=>e.modelValue,(Ie,ut)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(i.inputValue="",$e("")),Oe(),!$n(Ie,ut)&&e.validateEvent&&(T==null||T.validate("change").catch(Dt=>void 0))},{flush:"post",deep:!0}),me(()=>w.value,Ie=>{Ie?$e(i.inputValue):(i.inputValue="",i.previousQuery=null,i.isBeforeHide=!0,i.menuVisibleOnFocus=!1)}),me(()=>i.options.entries(),()=>{jt&&(Oe(),e.defaultFirstOption&&(e.filterable||e.remote)&&he.value&&_e())},{flush:"post"}),me([()=>i.hoveringIndex,ce],([Ie])=>{at(Ie)&&Ie>-1?C.value=ce.value[Ie]||{}:C.value={},ce.value.forEach(ut=>{ut.hover=C.value===ut})}),Wa(()=>{i.isBeforeHide||te()});const $e=Ie=>{i.previousQuery===Ie||$.value||(i.previousQuery=Ie,e.filterable&&et(e.filterMethod)?e.filterMethod(Ie):e.filterable&&e.remote&&et(e.remoteMethod)&&e.remoteMethod(Ie),e.defaultFirstOption&&(e.filterable||e.remote)&&he.value?ze(_e):ze(We))},_e=()=>{const Ie=ce.value.filter(jn=>jn.visible&&!jn.disabled&&!jn.states.groupDisabled),ut=Ie.find(jn=>jn.created),Dt=Ie[0],En=ce.value.map(jn=>jn.value);i.hoveringIndex=Ye(En,ut||Dt)},Oe=()=>{if(e.multiple)i.selectedLabel="";else{const ut=ke(e.modelValue)?e.modelValue[0]:e.modelValue,Dt=Pe(ut);i.selectedLabel=Dt.currentLabel,i.selected=[Dt];return}const Ie=[];$t(e.modelValue)||_s(e.modelValue).forEach(ut=>{Ie.push(Pe(ut))}),i.selected=Ie},Pe=Ie=>{let ut;const Dt=R0(Ie);for(let Ca=i.cachedOptions.size-1;Ca>=0;Ca--){const ta=Z.value[Ca];if(Dt?Yn(ta.value,e.valueKey)===Yn(Ie,e.valueKey):ta.value===Ie){ut={index:ce.value.filter(Hl=>!Hl.created).indexOf(ta),value:Ie,currentLabel:ta.currentLabel,get isDisabled(){return ta.isDisabled}};break}}if(ut)return ut;const En=Dt?Ie.label:Ie??"";return{index:-1,value:Ie,currentLabel:En}},We=()=>{const Ie=i.selected.length;if(Ie>0){const ut=i.selected[Ie-1];i.hoveringIndex=ce.value.findIndex(Dt=>sn(ut)===sn(Dt))}else i.hoveringIndex=-1},Qe=()=>{i.selectionWidth=Number.parseFloat(window.getComputedStyle(c.value).width)},it=()=>{i.collapseItemWidth=b.value.getBoundingClientRect().width},De=()=>{var Ie,ut;(ut=(Ie=u.value)==null?void 0:Ie.updatePopper)==null||ut.call(Ie)},Ke=()=>{var Ie,ut;(ut=(Ie=d.value)==null?void 0:Ie.updatePopper)==null||ut.call(Ie)},nt=()=>{i.inputValue.length>0&&!w.value&&(w.value=!0),$e(i.inputValue)},Ft=Ie=>{if(i.inputValue=Ie.target.value,e.remote)x.value=!0,Kt();else return nt()},Kt=gp(()=>{nt(),x.value=!1},fe),ot=Ie=>{$n(e.modelValue,Ie)||t(Pt,Ie)},dt=Ie=>fx(Ie,ut=>{const Dt=i.cachedOptions.get(ut);return!(Dt!=null&&Dt.disabled)&&!(Dt!=null&&Dt.states.groupDisabled)}),kt=Ie=>{const ut=an(Ie);if(e.multiple&&ut!==Te.delete&&Ie.target.value.length<=0){const Dt=_s(e.modelValue).slice(),En=dt(Dt);if(En<0)return;const jn=Dt[En];Dt.splice(En,1),t(ct,Dt),ot(Dt),t("remove-tag",jn)}},xe=(Ie,ut)=>{const Dt=i.selected.indexOf(ut);if(Dt>-1&&!J.value){const En=_s(e.modelValue).slice();En.splice(Dt,1),t(ct,En),ot(En),t("remove-tag",ut.value)}Ie.stopPropagation(),st()},qe=Ie=>{Ie.stopPropagation();const ut=e.multiple?[]:I.value;if(e.multiple)for(const Dt of i.selected)Dt.isDisabled&&ut.push(Dt.value);t(ct,ut),ot(ut),i.hoveringIndex=-1,w.value=!1,t("clear"),st()},we=Ie=>{var ut;if(e.multiple){const Dt=_s((ut=e.modelValue)!=null?ut:[]).slice(),En=Ye(Dt,Ie);En>-1?Dt.splice(En,1):(e.multipleLimit<=0||Dt.length{Ct(Ie)})},Ye=(Ie,ut)=>$t(ut)?-1:ht(ut.value)?Ie.findIndex(Dt=>$n(Yn(Dt,e.valueKey),sn(ut))):Ie.indexOf(ut.value),Ct=Ie=>{var ut,Dt,En,jn,Ca;const ta=ke(Ie)?Ie[Ie.length-1]:Ie;let Pi=null;if(!qn(ta==null?void 0:ta.value)){const Hl=ce.value.filter(S0=>S0.value===ta.value);Hl.length>0&&(Pi=Hl[0].$el)}if(u.value&&Pi){const Hl=(jn=(En=(Dt=(ut=u.value)==null?void 0:ut.popperRef)==null?void 0:Dt.contentRef)==null?void 0:En.querySelector)==null?void 0:jn.call(En,`.${o.be("dropdown","wrap")}`);Hl&&Ly(Hl,Pi)}(Ca=_.value)==null||Ca.handleScroll()},Xt=Ie=>{i.options.set(Ie.value,Ie),i.cachedOptions.set(Ie.value,Ie)},wn=(Ie,ut)=>{i.options.get(Ie)===ut&&i.options.delete(Ie)},Sn=k(()=>{var Ie,ut;return(ut=(Ie=u.value)==null?void 0:Ie.popperRef)==null?void 0:ut.contentRef}),Fe=()=>{i.isBeforeHide=!1,ze(()=>{var Ie;(Ie=_.value)==null||Ie.update(),Ct(i.selected)})},st=()=>{var Ie;(Ie=h.value)==null||Ie.focus()},ge=()=>{var Ie;if(w.value){w.value=!1,ze(()=>{var ut;return(ut=h.value)==null?void 0:ut.blur()});return}(Ie=h.value)==null||Ie.blur()},ye=Ie=>{qe(Ie)},Be=Ie=>{if(w.value=!1,N.value){const ut=new FocusEvent("blur",Ie);ze(()=>L(ut))}},Re=()=>{i.inputValue.length>0?i.inputValue="":w.value=!1},Ae=Ie=>{var ut;J.value||e.filterable&&w.value&&Ie&&!((ut=v.value)!=null&&ut.contains(Ie.target))||(pg&&(i.inputHovering=!0),i.menuVisibleOnFocus?i.menuVisibleOnFocus=!1:w.value=!w.value)},Ze=()=>{if(!w.value)Ae();else{const Ie=ce.value[i.hoveringIndex];Ie&&!Ie.isDisabled&&we(Ie)}},sn=Ie=>ht(Ie.value)?Yn(Ie.value,e.valueKey):Ie.value,_n=k(()=>ce.value.filter(Ie=>Ie.visible).every(Ie=>Ie.isDisabled)),xn=k(()=>e.multiple?e.collapseTags?i.selected.slice(0,e.maxCollapseTags):i.selected:[]),Rt=k(()=>e.multiple?e.collapseTags?i.selected.slice(e.maxCollapseTags):[]:[]),Rs=Ie=>{if(!w.value){w.value=!0;return}if(!(i.options.size===0||he.value===0||$.value)&&!_n.value){Ie==="next"?(i.hoveringIndex++,i.hoveringIndex===i.options.size&&(i.hoveringIndex=0)):Ie==="prev"&&(i.hoveringIndex--,i.hoveringIndex<0&&(i.hoveringIndex=i.options.size-1));const ut=ce.value[i.hoveringIndex];(ut.isDisabled||!ut.visible)&&Rs(Ie),ze(()=>Ct(C.value))}},Is=(Ie,ut,Dt,En)=>{for(let jn=ut;jn>=0&&jn{var Dt;const En=i.options.size;if(En===0)return;const jn=gu(Ie,0,En-1),Ca=ce.value,ta=ut==="up"?-1:1,Pi=(Dt=Is(Ca,jn,ta,En))!=null?Dt:Is(Ca,jn-ta,-ta,En);Pi!=null&&(i.hoveringIndex=Pi,ze(()=>Ct(C.value)))},Qc=Ie=>{const ut=an(Ie);let Dt=!0;switch(ut){case Te.up:Rs("prev");break;case Te.down:Rs("next");break;case Te.enter:case Te.numpadEnter:$.value||Ze();break;case Te.esc:Re();break;case Te.backspace:Dt=!1,kt(Ie);return;case Te.home:if(!w.value)return;Va(0,"down");break;case Te.end:if(!w.value)return;Va(i.options.size-1,"up");break;case Te.pageUp:if(!w.value)return;Va(i.hoveringIndex-10,"up");break;case Te.pageDown:if(!w.value)return;Va(i.hoveringIndex+10,"down");break;default:Dt=!1;break}Dt&&(Ie.preventDefault(),Ie.stopPropagation())},Qd=()=>{if(!c.value)return 0;const Ie=window.getComputedStyle(c.value);return Number.parseFloat(Ie.gap||"6px")},ef=k(()=>{const Ie=Qd(),ut=e.filterable?Ie+zg:0;return{maxWidth:`${b.value&&e.maxCollapseTags===1?i.selectionWidth-i.collapseItemWidth-Ie-ut:i.selectionWidth-ut}px`}}),tf=k(()=>({maxWidth:`${i.selectionWidth}px`})),Lw=Ie=>{t("popup-scroll",Ie)};bn(c,Qe),bn(Y,De),bn(g,Ke),bn(b,it);let nf;return me(()=>Ce.value,Ie=>{Ie?nf=bn(m,De).stop:(nf==null||nf(),nf=void 0),t("visible-change",Ie)}),St(()=>{Oe()}),{inputId:R,contentId:a,nsSelect:o,nsInput:r,states:i,isFocused:N,expanded:w,optionsArray:ce,hoverOption:C,selectSize:de,filteredOptionsCount:he,updateTooltip:De,updateTagTooltip:Ke,debouncedOnInputChange:Kt,onInput:Ft,deletePrevTag:kt,deleteTag:xe,deleteSelected:qe,handleOptionSelect:we,scrollToOption:Ct,hasModelValue:V,shouldShowPlaceholder:Se,currentPlaceholder:Ne,mouseEnterEventName:Ve,needStatusIcon:z,showClearBtn:G,iconComponent:Q,iconReverse:K,validateState:ee,validateIcon:ae,showNewOption:H,updateOptions:te,collapseTagSize:be,setSelected:Oe,selectDisabled:J,emptyText:pe,handleCompositionStart:O,handleCompositionUpdate:B,handleCompositionEnd:U,handleKeydown:Qc,onOptionCreate:Xt,onOptionDestroy:wn,handleMenuEnter:Fe,focus:st,blur:ge,handleClearClick:ye,handleClickOutside:Be,handleEsc:Re,toggleMenu:Ae,selectOption:Ze,getValueKey:sn,navigateOptions:Rs,dropdownMenuVisible:Ce,showTagList:xn,collapseTagList:Rt,popupScroll:Lw,getOption:Pe,tagStyle:ef,collapseTagStyle:tf,popperRef:Sn,inputRef:h,tooltipRef:u,tagTooltipRef:d,prefixRef:p,suffixRef:v,selectRef:l,wrapperRef:Y,selectionRef:c,scrollbarRef:_,menuRef:m,tagMenuRef:g,collapseItemRef:b}};var ete=W({name:"ElOptions",setup(e,{slots:t}){const n=je(Vp);let s=[];return()=>{var a,o;const r=(a=t.default)==null?void 0:a.call(t),i=[];function l(c){ke(c)&&c.forEach(u=>{var d,h,p,v;const m=(d=(u==null?void 0:u.type)||{})==null?void 0:d.name;m==="ElOptionGroup"?l(!Xe(u.children)&&!ke(u.children)&&et((h=u.children)==null?void 0:h.default)?(p=u.children)==null?void 0:p.default():u.children):m==="ElOption"?i.push((v=u.props)==null?void 0:v.value):ke(u.children)&&l(u.children)})}return r.length&&l((o=r[0])==null?void 0:o.children),$n(i,s)||(s=i,n&&(n.states.optionValues=i)),r}}});const qE=Me({name:String,id:String,modelValue:{type:re([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:rs,effect:{type:re(String),default:"light"},disabled:{type:Boolean,default:void 0},clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperStyle:{type:re([String,Object])},popperOptions:{type:re(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:re(Function)},filterMethod:{type:re(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:Boolean,maxCollapseTags:{type:Number,default:1},teleported:tn.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:en,default:$o},fitInputWidth:Boolean,suffixIcon:{type:en,default:hr},tagType:{...sl.type,default:"info"},tagEffect:{...sl.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:re(String),values:Qr,default:"bottom-start"},fallbackPlacements:{type:re(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:tn.appendTo,options:{type:re(Array)},props:{type:re(Object),default:()=>Vg},...wu,...ia(["ariaLabel"])});q9.scroll;var tte=W({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=Ee("select"),n=F(),s=_t(),a=F([]);Tt(KE,Wt({...ps(e)}));const o=k(()=>a.value.some(c=>c.visible===!0)),r=c=>{var u;return c.type.name==="ElOption"&&!!((u=c.component)!=null&&u.proxy)},i=c=>{const u=_s(c),d=[];return u.forEach(h=>{var p;un(h)&&(r(h)?d.push(h.component.proxy):ke(h.children)&&h.children.length?d.push(...i(h.children)):(p=h.component)!=null&&p.subTree&&d.push(...i(h.component.subTree)))}),d},l=()=>{a.value=i(s.subTree)};return St(()=>{l()}),bp(n,l,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:o,ns:t}}});function nte(e,t,n,s,a,o){return gt((S(),P("ul",{ref:"groupRef",class:D(e.ns.be("group","wrap"))},[A("li",{class:D(e.ns.be("group","title"))},ve(e.label),3),A("li",null,[A("ul",{class:D(e.ns.b("group"))},[ue(e.$slots,"default")],2)])],2)),[[Bt,e.visible]])}var x3=is(tte,[["render",nte]]);const ic=new Map;if(jt){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of ic.values())for(const{documentHandler:s}of n)s(t,e);e=void 0}})}function GE(e,t){let n=[];return ke(t.arg)?n=t.arg:ja(t.arg)&&n.push(t.arg),function(s,a){const o=t.instance.popperRef,r=s.target,i=a==null?void 0:a.target,l=!t||!t.instance,c=!r||!i,u=e.contains(r)||e.contains(i),d=e===r,h=n.length&&n.some(v=>v==null?void 0:v.contains(r))||n.length&&n.includes(i),p=o&&(o.contains(r)||o.contains(i));l||c||u||d||h||p||t.value(s,a)}}const lc={beforeMount(e,t){ic.has(e)||ic.set(e,[]),ic.get(e).push({documentHandler:GE(e,t),bindingFn:t.value})},updated(e,t){ic.has(e)||ic.set(e,[]);const n=ic.get(e),s=n.findIndex(o=>o.bindingFn===t.oldValue),a={documentHandler:GE(e,t),bindingFn:t.value};s>=0?n.splice(s,1,a):n.push(a)},unmounted(e){ic.delete(e)}};function E3(){const e=hn(),t=F(0),n=k(()=>({minWidth:`${Math.max(t.value,zg)}px`}));return bn(e,()=>{var a,o;t.value=(o=(a=e.value)==null?void 0:a.getBoundingClientRect().width)!=null?o:0}),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}const YE="ElSelect",zp=new WeakMap,ste=e=>(...t)=>{var n,s;const a=t[0];if(!a||a.includes('Slot "default" invoked outside of the render function')&&((n=t[2])!=null&&n.includes("ElTreeSelect")))return;const o=(s=zp.get(e))==null?void 0:s.originalWarnHandler;if(o){o(...t);return}console.warn(...t)},ate=e=>{let t=zp.get(e);return t||(t={originalWarnHandler:e.config.warnHandler,handler:ste(e),count:0},zp.set(e,t)),t};var ote=W({name:YE,componentName:YE,components:{ElSelectMenu:Zee,ElOption:S3,ElOptions:ete,ElOptionGroup:x3,ElTag:al,ElScrollbar:pr,ElTooltip:Ss,ElIcon:Je},directives:{ClickOutside:lc},props:qE,emits:[ct,Pt,"remove-tag","clear","visible-change","focus","blur","popup-scroll"],setup(e,{emit:t,slots:n}){const s=_t(),a=ate(s.appContext);a.count+=1,s.appContext.config.warnHandler=a.handler;const o=k(()=>{const{modelValue:_,multiple:w}=e,C=w?[]:void 0;return ke(_)?w?_:C:w?C:_}),r=Wt({...ps(e),modelValue:o}),i=Qee(r,t),{calculatorRef:l,inputStyle:c}=E3(),{getLabel:u,getValue:d,getOptions:h,getDisabled:p}=Bp(e),v=_=>({label:u(_),value:d(_),disabled:p(_)}),m=_=>_.reduce((w,C)=>(w.push(C),C.children&&C.children.length>0&&w.push(...m(C.children)),w),[]),g=_=>{lo(_||[]).forEach(C=>{var x;if(ht(C)&&(C.type.name==="ElOption"||C.type.name==="ElTree")){const E=C.type.name;if(E==="ElTree"){const T=((x=C.props)==null?void 0:x.data)||[];m(T).forEach(I=>{I.currentLabel=I.label||(ht(I.value)?"":I.value),i.onOptionCreate(I)})}else if(E==="ElOption"){const T={...C.props};T.currentLabel=T.label||(ht(T.value)?"":T.value),i.onOptionCreate(T)}}})};me(()=>{var _;return[(_=n.default)==null?void 0:_.call(n),o.value]},()=>{var _;e.persistent||i.expanded.value||(i.states.options.clear(),g((_=n.default)==null?void 0:_.call(n)))},{immediate:!0}),Tt(Vp,Wt({props:r,states:i.states,selectRef:i.selectRef,optionsArray:i.optionsArray,setSelected:i.setSelected,handleOptionSelect:i.handleOptionSelect,onOptionCreate:i.onOptionCreate,onOptionDestroy:i.onOptionDestroy}));const b=k(()=>e.multiple?i.states.selected.map(_=>_.currentLabel):i.states.selectedLabel);return Gt(()=>{const _=zp.get(s.appContext);_&&(_.count-=1,_.count<=0&&(s.appContext.config.warnHandler=_.originalWarnHandler,zp.delete(s.appContext)))}),{...i,modelValue:o,selectedLabel:b,calculatorRef:l,inputStyle:c,getLabel:u,getValue:d,getOptions:h,getDisabled:p,getOptionProps:v}}});const rte=["id","value","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],ite=["textContent"],lte={key:1};function cte(e,t,n,s,a,o){const r=Ge("el-tag"),i=Ge("el-tooltip"),l=Ge("el-icon"),c=Ge("el-option"),u=Ge("el-option-group"),d=Ge("el-options"),h=Ge("el-scrollbar"),p=Ge("el-select-menu"),v=N4("click-outside");return gt((S(),P("div",wt({ref:"selectRef",class:[e.nsSelect.b(),e.nsSelect.m(e.selectSize)]},{[L0(e.mouseEnterEventName)]:t[10]||(t[10]=m=>e.states.inputHovering=!0)},{onMouseleave:t[11]||(t[11]=m=>e.states.inputHovering=!1)}),[j(i,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,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,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t[9]||(t[9]=m=>e.states.isBeforeHide=!1)},{default:X(()=>{var m;return[A("div",{ref:"wrapperRef",class:D([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:t[6]||(t[6]=lt((...g)=>e.toggleMenu&&e.toggleMenu(...g),["prevent"]))},[e.$slots.prefix?(S(),P("div",{key:0,ref:"prefixRef",class:D(e.nsSelect.e("prefix"))},[ue(e.$slots,"prefix")],2)):ie("v-if",!0),A("div",{ref:"selectionRef",class:D([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?ue(e.$slots,"tag",{key:0,data:e.states.selected,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(S(!0),P(He,null,yt(e.showTagList,g=>(S(),P("div",{key:e.getValueKey(g),class:D(e.nsSelect.e("selected-item"))},[j(r,{closable:!e.selectDisabled&&!g.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:tt(e.tagStyle),onClose:b=>e.deleteTag(b,g)},{default:X(()=>[A("span",{class:D(e.nsSelect.e("tags-text"))},[ue(e.$slots,"label",{index:g.index,label:g.currentLabel,value:g.value},()=>[Ue(ve(g.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(S(),le(i,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom","popper-class":e.popperClass,"popper-style":e.popperStyle,teleported:e.teleported,"popper-options":e.popperOptions},{default:X(()=>[A("div",{ref:"collapseItemRef",class:D(e.nsSelect.e("selected-item"))},[j(r,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:tt(e.collapseTagStyle)},{default:X(()=>[A("span",{class:D(e.nsSelect.e("tags-text"))}," + "+ve(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:X(()=>[A("div",{ref:"tagMenuRef",class:D(e.nsSelect.e("selection"))},[(S(!0),P(He,null,yt(e.collapseTagList,g=>(S(),P("div",{key:e.getValueKey(g),class:D(e.nsSelect.e("selected-item"))},[j(r,{class:"in-tooltip",closable:!e.selectDisabled&&!g.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:b=>e.deleteTag(b,g)},{default:X(()=>[A("span",{class:D(e.nsSelect.e("tags-text"))},[ue(e.$slots,"label",{index:g.index,label:g.currentLabel,value:g.value},()=>[Ue(ve(g.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","popper-class","popper-style","teleported","popper-options"])):ie("v-if",!0)]):ie("v-if",!0),A("div",{class:D([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled)])},[A("input",{id:e.inputId,ref:"inputRef",value:e.states.inputValue,type:"text",name:e.name,class:D([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:tt(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":((m=e.hoverOption)==null?void 0:m.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:t[0]||(t[0]=(...g)=>e.handleKeydown&&e.handleKeydown(...g)),onCompositionstart:t[1]||(t[1]=(...g)=>e.handleCompositionStart&&e.handleCompositionStart(...g)),onCompositionupdate:t[2]||(t[2]=(...g)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...g)),onCompositionend:t[3]||(t[3]=(...g)=>e.handleCompositionEnd&&e.handleCompositionEnd(...g)),onInput:t[4]||(t[4]=(...g)=>e.onInput&&e.onInput(...g)),onClick:t[5]||(t[5]=lt((...g)=>e.toggleMenu&&e.toggleMenu(...g),["stop"]))},null,46,rte),e.filterable?(S(),P("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:D(e.nsSelect.e("input-calculator")),textContent:ve(e.states.inputValue)},null,10,ite)):ie("v-if",!0)],2),e.shouldShowPlaceholder?(S(),P("div",{key:1,class:D([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?ue(e.$slots,"label",{key:0,index:e.getOption(e.modelValue).index,label:e.currentPlaceholder,value:e.modelValue},()=>[A("span",null,ve(e.currentPlaceholder),1)]):(S(),P("span",lte,ve(e.currentPlaceholder),1))],2)):ie("v-if",!0)],2),A("div",{ref:"suffixRef",class:D(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClearBtn?(S(),le(l,{key:0,class:D([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:X(()=>[(S(),le(bt(e.iconComponent)))]),_:1},8,["class"])):ie("v-if",!0),e.showClearBtn&&e.clearIcon?(S(),le(l,{key:1,class:D([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:X(()=>[(S(),le(bt(e.clearIcon)))]),_:1},8,["class","onClick"])):ie("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(S(),le(l,{key:2,class:D([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:X(()=>[(S(),le(bt(e.validateIcon)))]),_:1},8,["class"])):ie("v-if",!0)],2)],2)]}),content:X(()=>[j(p,{ref:"menuRef"},{default:X(()=>[e.$slots.header?(S(),P("div",{key:0,class:D(e.nsSelect.be("dropdown","header")),onClick:t[7]||(t[7]=lt(()=>{},["stop"]))},[ue(e.$slots,"header")],2)):ie("v-if",!0),gt(j(h,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:D([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical",onScroll:e.popupScroll},{default:X(()=>[e.showNewOption?(S(),le(c,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):ie("v-if",!0),j(d,null,{default:X(()=>[ue(e.$slots,"default",{},()=>[(S(!0),P(He,null,yt(e.options,(m,g)=>{var b;return S(),P(He,{key:g},[(b=e.getOptions(m))!=null&&b.length?(S(),le(u,{key:0,label:e.getLabel(m),disabled:e.getDisabled(m)},{default:X(()=>[(S(!0),P(He,null,yt(e.getOptions(m),_=>(S(),le(c,wt({key:e.getValue(_)},{ref_for:!0},e.getOptionProps(_)),null,16))),128))]),_:2},1032,["label","disabled"])):(S(),le(c,wt({key:1,ref_for:!0},e.getOptionProps(m)),null,16))],64)}),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll"]),[[Bt,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(S(),P("div",{key:1,class:D(e.nsSelect.be("dropdown","loading"))},[ue(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(S(),P("div",{key:2,class:D(e.nsSelect.be("dropdown","empty"))},[ue(e.$slots,"empty",{},()=>[A("span",null,ve(e.emptyText),1)])],2)):ie("v-if",!0),e.$slots.footer?(S(),P("div",{key:3,class:D(e.nsSelect.be("dropdown","footer")),onClick:t[8]||(t[8]=lt(()=>{},["stop"]))},[ue(e.$slots,"footer")],2)):ie("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],16)),[[v,e.handleClickOutside,e.popperRef]])}var ute=is(ote,[["render",cte]]);const cc=pt(ute,{Option:S3,OptionGroup:x3}),Hg=An(S3),dte=An(x3);var fte=W({name:"SelectController",__name:"select-controller",props:Bee,emits:Vee,setup(e,{emit:t}){const n=e,s=t,a=Ee("calendar-select"),{t:o,lang:r}=It(),i=Array.from({length:12},(v,m)=>{const g=m+1,b=et(n.formatter)?n.formatter(g,"month"):g;return{value:g,label:b}}),l=k(()=>n.date.year()),c=k(()=>n.date.month()+1),u=k(()=>{const v=[];for(let m=-10;m<10;m++){const g=l.value+m;if(g>0){const b=et(n.formatter)?n.formatter(g,"year"):g;v.push({value:g,label:b})}}return v}),d=v=>{s("date-change",vt(new Date(v,c.value-1,1)).locale(r.value))},h=v=>{s("date-change",vt(new Date(l.value,v-1,1)).locale(r.value))},p=()=>{s("date-change","today")};return(v,m)=>(S(),P(He,null,[j(f(cc),{"model-value":l.value,size:"small",class:D(f(a).e("year")),"validate-event":!1,options:u.value,onChange:d},null,8,["model-value","class","options"]),j(f(cc),{"model-value":c.value,size:"small",class:D(f(a).e("month")),"validate-event":!1,options:f(i),onChange:h},null,8,["model-value","class","options"]),j(f(gs),{size:"small",onClick:p},{default:X(()=>[Ue(ve(f(o)("el.datepicker.today")),1)]),_:1})],64))}}),hte=W({name:"ElCalendar",__name:"calendar",props:See,emits:xee,setup(e,{expose:t,emit:n}){const s=Ee("calendar"),a=e,o=n,{calculateValidatedDateRange:r,date:i,pickDay:l,realSelectedDay:c,selectDate:u,validatedRange:d,handleDateChange:h}=Fee(a,o),{t:p}=It(),v=k(()=>{const m=`el.datepicker.month${i.value.format("M")}`;return`${i.value.year()} ${p("el.datepicker.year")} ${p(m)}`});return t({selectedDay:c,pickDay:l,selectDate:u,calculateValidatedDateRange:r}),(m,g)=>(S(),P("div",{class:D(f(s).b())},[A("div",{class:D(f(s).e("header"))},[ue(m.$slots,"header",{date:v.value},()=>[A("div",{class:D(f(s).e("title"))},ve(v.value),3),f(d).length===0&&e.controllerType==="button"?(S(),P("div",{key:0,class:D(f(s).e("button-group"))},[j(f(LE),null,{default:X(()=>[j(f(gs),{size:"small",onClick:g[0]||(g[0]=b=>f(u)("prev-month"))},{default:X(()=>[Ue(ve(f(p)("el.datepicker.prevMonth")),1)]),_:1}),j(f(gs),{size:"small",onClick:g[1]||(g[1]=b=>f(u)("today"))},{default:X(()=>[Ue(ve(f(p)("el.datepicker.today")),1)]),_:1}),j(f(gs),{size:"small",onClick:g[2]||(g[2]=b=>f(u)("next-month"))},{default:X(()=>[Ue(ve(f(p)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):f(d).length===0&&e.controllerType==="select"?(S(),P("div",{key:1,class:D(f(s).e("select-controller"))},[j(fte,{date:f(i),formatter:e.formatter,onDateChange:f(h)},null,8,["date","formatter","onDateChange"])],2)):ie("v-if",!0)])],2),f(d).length===0?(S(),P("div",{key:0,class:D(f(s).e("body"))},[j(jE,{date:f(i),"selected-day":f(c),onPick:f(l)},ka({_:2},[m.$slots["date-cell"]?{name:"date-cell",fn:X(b=>[ue(m.$slots,"date-cell",Oi(Vi(b)))]),key:"0"}:void 0]),1032,["date","selected-day","onPick"])],2)):(S(),P("div",{key:1,class:D(f(s).e("body"))},[(S(!0),P(He,null,yt(f(d),(b,_)=>(S(),le(jE,{key:_,date:b[0],"selected-day":f(c),range:b,"hide-header":_!==0,onPick:f(l)},ka({_:2},[m.$slots["date-cell"]?{name:"date-cell",fn:X(w=>[ue(m.$slots,"date-cell",wt({ref_for:!0},w))]),key:"0"}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});const pte=pt(hte),vte=Me({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:re([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}});var mte=W({name:"ElCard",__name:"card",props:vte,setup(e){const t=Af("card"),n=Ee("card");return(s,a)=>{var o;return S(),P("div",{class:D([f(n).b(),f(n).is(`${e.shadow||((o=f(t))==null?void 0:o.shadow)||"always"}-shadow`)])},[s.$slots.header||e.header?(S(),P("div",{key:0,class:D([f(n).e("header"),e.headerClass])},[ue(s.$slots,"header",{},()=>[Ue(ve(e.header),1)])],2)):ie("v-if",!0),A("div",{class:D([f(n).e("body"),e.bodyClass]),style:tt(e.bodyStyle)},[ue(s.$slots,"default")],6),s.$slots.footer||e.footer?(S(),P("div",{key:1,class:D([f(n).e("footer"),e.footerClass])},[ue(s.$slots,"footer",{},()=>[Ue(ve(e.footer),1)])],2)):ie("v-if",!0)],2)}}});const gte=pt(mte),bte=Me({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},cardScale:{type:Number,default:.83},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:Boolean}),yte={change:(e,t)=>[e,t].every(at)},XE=Symbol("carouselContextKey"),k3="ElCarouselItem",wte=(e,t,n)=>lo(e.subTree).filter(o=>{var r;return un(o)&&((r=o.type)==null?void 0:r.name)===t&&!!o.component}).map(o=>o.component.uid).map(o=>n[o]).filter(o=>!!o),Wg=(e,t)=>{const n=hn({}),s=hn([]),a=new WeakMap,o=u=>{n.value[u.uid]=u,L2(n),St(()=>{const d=u.getVnode().el,h=d.parentNode;if(!a.has(h)){a.set(h,[]);const p=h.insertBefore.bind(h);h.insertBefore=(v,m)=>(a.get(h).some(b=>v===b||m===b)&&L2(n),p(v,m))}a.get(h).push(d)})},r=u=>{delete n.value[u.uid],L2(n);const d=u.getVnode().el,h=d.parentNode,p=a.get(h),v=p.indexOf(d);p.splice(v,1)},i=()=>{s.value=wte(e,t,n.value)},l=u=>u.render();return{children:s,addChild:o,removeChild:r,ChildrenSorter:W({setup(u,{slots:d}){return()=>(i(),d.default?rt(l,{render:d.default}):null)}})}},JE=300,_te=(e,t,n)=>{const{children:s,addChild:a,removeChild:o,ChildrenSorter:r}=Wg(_t(),k3),i=zn(),l=F(-1),c=F(null),u=F(!1),d=F(),h=F(0),p=F(!0),v=k(()=>e.arrow!=="never"&&!f(b)),m=k(()=>s.value.some(ae=>ae.props.label.toString().length>0)),g=k(()=>e.type==="card"),b=k(()=>e.direction==="vertical"),_=k(()=>e.height!=="auto"?{height:e.height}:{height:`${h.value}px`,overflow:"hidden"}),w=Ql(ae=>{I(ae)},JE,{trailing:!0}),C=Ql(ae=>{N(ae)},JE),x=ae=>p.value?l.value<=1?ae<=1:ae>1:!0;function E(){c.value&&(clearInterval(c.value),c.value=null)}function T(){e.interval<=0||!e.autoplay||c.value||(c.value=setInterval(()=>R(),e.interval))}const R=()=>{l.valuehe.props.name===ae);pe.length>0&&(ae=s.value.indexOf(pe[0]))}if(ae=Number(ae),Number.isNaN(ae)||ae!==Math.floor(ae))return;const fe=s.value.length,ne=l.value;ae<0?l.value=e.loop?fe-1:0:ae>=fe?l.value=e.loop?0:fe-1:l.value=ae,ne===l.value&&M(ne),z()}function M(ae){s.value.forEach((fe,ne)=>{fe.translateItem(ne,l.value,ae)})}function $(ae,fe){var ne,pe,he,ce;const Z=f(s),H=Z.length;if(H===0||!ae.states.inStage)return!1;const te=fe+1,de=fe-1,be=H-1,Ce=Z[be].states.active,Se=Z[0].states.active,Ne=(pe=(ne=Z[te])==null?void 0:ne.states)==null?void 0:pe.active,Ve=(ce=(he=Z[de])==null?void 0:he.states)==null?void 0:ce.active;return fe===be&&Se||Ne?"left":fe===0&&Ce||Ve?"right":!1}function O(){u.value=!0,e.pauseOnHover&&E()}function B(){u.value=!1,T()}function U(ae){f(b)||s.value.forEach((fe,ne)=>{ae===$(fe,ne)&&(fe.states.hover=!0)})}function J(){f(b)||s.value.forEach(ae=>{ae.states.hover=!1})}function Y(ae){l.value=ae}function N(ae){e.trigger==="hover"&&ae!==l.value&&(l.value=ae)}function L(){I(l.value-1)}function V(){I(l.value+1)}function z(){E(),e.pauseOnHover||T()}function G(ae){e.height==="auto"&&(h.value=ae)}function Q(){var ae;const fe=(ae=i.default)==null?void 0:ae.call(i);if(!fe)return null;const pe=lo(fe).filter(he=>un(he)&&he.type.name===k3);return(pe==null?void 0:pe.length)===2&&e.loop&&!g.value?(p.value=!0,pe):(p.value=!1,null)}me(()=>l.value,(ae,fe)=>{M(fe),p.value&&(ae=ae%2,fe=fe%2),fe>-1&&t(Pt,ae,fe)});const K=k({get:()=>p.value?l.value%2:l.value,set:ae=>l.value=ae});me(()=>e.autoplay,ae=>{ae?T():E()}),me(()=>e.loop,()=>{I(l.value)}),me(()=>e.interval,()=>{z()});const ee=hn();return St(()=>{me(()=>s.value,()=>{s.value.length>0&&I(e.initialIndex)},{immediate:!0}),ee.value=bn(d.value,()=>{M()}),T()}),Gt(()=>{E(),d.value&&ee.value&&ee.value.stop()}),Tt(XE,{root:d,isCardType:g,isVertical:b,items:s,loop:e.loop,cardScale:e.cardScale,addItem:a,removeItem:o,setActiveItem:I,setContainerHeight:G}),{root:d,activeIndex:l,exposeActiveIndex:K,arrowDisplay:v,hasLabel:m,hover:u,isCardType:g,items:s,isVertical:b,containerStyle:_,isItemsTwoLength:p,handleButtonEnter:U,handleButtonLeave:J,handleIndicatorClick:Y,handleMouseEnter:O,handleMouseLeave:B,setActiveItem:I,prev:L,next:V,PlaceholderItem:Q,isTwoLengthShow:x,ItemsSorter:r,throttledArrowClick:w,throttledIndicatorHover:C}},Cte=["aria-label"],Ste=["aria-label"],xte=["onMouseenter","onClick"],Ete=["aria-label"],kte={key:0},Ate={key:2,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}};var Tte=W({name:"ElCarousel",__name:"carousel",props:bte,emits:yte,setup(e,{expose:t,emit:n}){const s=e,a=n,{root:o,activeIndex:r,exposeActiveIndex:i,arrowDisplay:l,hasLabel:c,hover:u,isCardType:d,items:h,isVertical:p,containerStyle:v,handleButtonEnter:m,handleButtonLeave:g,handleIndicatorClick:b,handleMouseEnter:_,handleMouseLeave:w,setActiveItem:C,prev:x,next:E,PlaceholderItem:T,isTwoLengthShow:R,ItemsSorter:I,throttledArrowClick:M,throttledIndicatorHover:$}=_te(s,a),O=Ee("carousel"),{t:B}=It(),U=k(()=>{const L=[O.b(),O.m(s.direction)];return f(d)&&L.push(O.m("card")),L}),J=k(()=>{const L=[O.e("indicators"),O.em("indicators",s.direction)];return f(c)&&L.push(O.em("indicators","labels")),s.indicatorPosition==="outside"&&L.push(O.em("indicators","outside")),f(p)&&L.push(O.em("indicators","right")),L});function Y(L){if(!s.motionBlur)return;const V=f(p)?`${O.namespace.value}-transitioning-vertical`:`${O.namespace.value}-transitioning`;L.currentTarget.classList.add(V)}function N(L){if(!s.motionBlur)return;const V=f(p)?`${O.namespace.value}-transitioning-vertical`:`${O.namespace.value}-transitioning`;L.currentTarget.classList.remove(V)}return t({activeIndex:i,setActiveItem:C,prev:x,next:E}),(L,V)=>(S(),P("div",{ref_key:"root",ref:o,class:D(U.value),onMouseenter:V[6]||(V[6]=lt((...z)=>f(_)&&f(_)(...z),["stop"])),onMouseleave:V[7]||(V[7]=lt((...z)=>f(w)&&f(w)(...z),["stop"]))},[f(l)?(S(),le(vs,{key:0,name:"carousel-arrow-left",persisted:""},{default:X(()=>[gt(A("button",{type:"button",class:D([f(O).e("arrow"),f(O).em("arrow","left")]),"aria-label":f(B)("el.carousel.leftArrow"),onMouseenter:V[0]||(V[0]=z=>f(m)("left")),onMouseleave:V[1]||(V[1]=(...z)=>f(g)&&f(g)(...z)),onClick:V[2]||(V[2]=lt(z=>f(M)(f(r)-1),["stop"]))},[j(f(Je),null,{default:X(()=>[j(f(No))]),_:1})],42,Cte),[[Bt,(e.arrow==="always"||f(u))&&(e.loop||f(r)>0)]])]),_:1})):ie("v-if",!0),f(l)?(S(),le(vs,{key:1,name:"carousel-arrow-right",persisted:""},{default:X(()=>[gt(A("button",{type:"button",class:D([f(O).e("arrow"),f(O).em("arrow","right")]),"aria-label":f(B)("el.carousel.rightArrow"),onMouseenter:V[3]||(V[3]=z=>f(m)("right")),onMouseleave:V[4]||(V[4]=(...z)=>f(g)&&f(g)(...z)),onClick:V[5]||(V[5]=lt(z=>f(M)(f(r)+1),["stop"]))},[j(f(Je),null,{default:X(()=>[j(f(Ls))]),_:1})],42,Ste),[[Bt,(e.arrow==="always"||f(u))&&(e.loop||f(r)[e.indicatorPosition!=="none"?(S(),P("ul",{key:0,class:D(J.value)},[(S(!0),P(He,null,yt(f(h),(z,G)=>gt((S(),P("li",{key:G,class:D([f(O).e("indicator"),f(O).em("indicator",e.direction),f(O).is("active",G===f(r))]),onMouseenter:Q=>f($)(G),onClick:lt(Q=>f(b)(G),["stop"])},[A("button",{class:D(f(O).e("button")),"aria-label":f(B)("el.carousel.indicator",{index:G+1})},[f(c)?(S(),P("span",kte,ve(z.props.label),1)):ie("v-if",!0)],10,Ete)],42,xte)),[[Bt,f(R)(G)]])),128))],2)):ie("v-if",!0)]),_:1}),e.motionBlur?(S(),P("svg",Ate,[...V[8]||(V[8]=[A("defs",null,[A("filter",{id:"elCarouselHorizontal"},[A("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),A("filter",{id:"elCarouselVertical"},[A("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])],-1)])])):ie("v-if",!0)],34))}});const Mte=Me({name:{type:String,default:""},label:{type:[String,Number],default:""}}),Pte=e=>{const t=je(XE),n=_t(),s=F(),a=F(!1),o=F(0),r=F(1),i=F(!1),l=F(!1),c=F(!1),u=F(!1),{isCardType:d,isVertical:h,cardScale:p}=t;function v(C,x,E){const T=E-1,R=x-1,I=x+1,M=E/2;return x===0&&C===T?-1:x===T&&C===0?E:C=M?E+1:C>I&&C-x>=M?-2:C}function m(C,x){var E,T;const R=f(h)?((E=t.root.value)==null?void 0:E.offsetHeight)||0:((T=t.root.value)==null?void 0:T.offsetWidth)||0;return c.value?R*((2-p)*(C-x)+1)/4:C{var T;const R=f(d),I=(T=t.items.value.length)!=null?T:Number.NaN,M=C===x;!R&&!$t(E)&&(u.value=M||C===E),!M&&I>2&&t.loop&&(C=v(C,x,I));const $=f(h);i.value=M,R?(c.value=Math.round(Math.abs(C-x))<=1,o.value=m(C,x),r.value=f(i)?1:p):o.value=g(C,x,$),l.value=!0,M&&s.value&&t.setContainerHeight(s.value.offsetHeight)};function _(){if(t&&f(d)){const C=t.items.value.findIndex(({uid:x})=>x===n.uid);t.setActiveItem(C)}}const w={props:e,states:Wt({hover:a,translate:o,scale:r,active:i,ready:l,inStage:c,animating:u}),uid:n.uid,getVnode:()=>n.vnode,translateItem:b};return t.addItem(w),Gt(()=>{t.removeItem(w)}),{carouselItemRef:s,active:i,animating:u,hover:a,inStage:c,isVertical:h,translate:o,isCardType:d,scale:r,ready:l,handleItemClick:_}};var ZE=W({name:k3,__name:"carousel-item",props:Mte,setup(e){const t=e,n=Ee("carousel"),{carouselItemRef:s,active:a,animating:o,hover:r,inStage:i,isVertical:l,translate:c,isCardType:u,scale:d,ready:h,handleItemClick:p}=Pte(t),v=k(()=>[n.e("item"),n.is("active",a.value),n.is("in-stage",i.value),n.is("hover",r.value),n.is("animating",o.value),{[n.em("item","card")]:u.value,[n.em("item","card-vertical")]:u.value&&l.value}]),m=k(()=>{const b=`${`translate${f(l)?"Y":"X"}`}(${f(c)}px)`,_=`scale(${f(d)})`;return{transform:[b,_].join(" ")}});return(g,b)=>gt((S(),P("div",{ref_key:"carouselItemRef",ref:s,class:D(v.value),style:tt(m.value),onClick:b[0]||(b[0]=(..._)=>f(p)&&f(p)(..._))},[f(u)?gt((S(),P("div",{key:0,class:D(f(n).e("mask"))},null,2)),[[Bt,!f(a)]]):ie("v-if",!0),ue(g.$slots,"default")],6)),[[Bt,f(h)]])}});const Rte=pt(Tte,{CarouselItem:ZE}),Ite=An(ZE),QE=Me({modelValue:{type:re([Number,String,Array,Object])},options:{type:re(Array),default:()=>[]},props:{type:re(Object),default:()=>({})}}),Ote={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:qt,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500,checkOnClickNode:!1,checkOnClickLeaf:!0,showPrefix:!0},Lte=Me({...QE,border:{type:Boolean,default:!0},renderLabel:{type:Function}}),ek=e=>!0,Nte={[ct]:ek,[Pt]:ek,close:()=>!0,"expand-change":e=>e},$te=e=>k(()=>({...Ote,...e.props})),Dte=Me({...QE,size:rs,placeholder:String,disabled:{type:Boolean,default:void 0},clearable:Boolean,clearIcon:{type:en,default:$o},filterable:Boolean,filterMethod:{type:re(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:Boolean,maxCollapseTagsTooltipHeight:{type:[String,Number]},debounce:{type:Number,default:300},beforeFilter:{type:re(Function),default:()=>!0},placement:{type:re(String),values:Qr,default:"bottom-start"},fallbackPlacements:{type:re(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:tn.popperClass,popperStyle:tn.popperStyle,teleported:tn.teleported,effect:{type:re(String),default:"light"},tagType:{...sl.type,default:"info"},tagEffect:{...sl.effect,default:"light"},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},showCheckedStrategy:{type:String,values:["parent","child"],default:"child"},checkOnClickNode:Boolean,showPrefix:{type:Boolean,default:!0},...wu}),tk=e=>!0,Fte={[ct]:tk,[Pt]:tk,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,visibleChange:e=>Qt(e),expandChange:e=>!!e,removeTag:e=>!!e},nk={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:rs,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...ia(["ariaControls"])},sk={[ct]:e=>Xe(e)||at(e)||Qt(e),change:e=>Xe(e)||at(e)||Qt(e)},Vf=Symbol("checkboxGroupContextKey"),Bte=({model:e,isChecked:t})=>{const n=je(Vf,void 0),s=je(Su,void 0),a=k(()=>{var r,i;const l=(r=n==null?void 0:n.max)==null?void 0:r.value,c=(i=n==null?void 0:n.min)==null?void 0:i.value;return!$t(l)&&e.value.length>=l&&!t.value||!$t(c)&&e.value.length<=c&&t.value});return{isDisabled:In(k(()=>{var r,i;return n===void 0?(r=s==null?void 0:s.disabled)!=null?r:a.value:((i=n.disabled)==null?void 0:i.value)||a.value})),isLimitDisabled:a}},Vte=(e,{model:t,isLimitExceeded:n,hasOwnLabel:s,isDisabled:a,isLabeledByFormItem:o})=>{const r=je(Vf,void 0),{formItem:i}=Cs(),{emit:l}=_t();function c(v){var m,g,b,_;return[!0,e.trueValue,e.trueLabel].includes(v)?(g=(m=e.trueValue)!=null?m:e.trueLabel)!=null?g:!0:(_=(b=e.falseValue)!=null?b:e.falseLabel)!=null?_:!1}function u(v,m){l(Pt,c(v),m)}function d(v){if(n.value)return;const m=v.target;l(Pt,c(m.checked),v)}async function h(v){n.value||!s.value&&!a.value&&o.value&&(v.composedPath().some(b=>b.tagName==="LABEL")||(t.value=c([!1,e.falseValue,e.falseLabel].includes(t.value)),await ze(),u(t.value,v)))}const p=k(()=>(r==null?void 0:r.validateEvent)||e.validateEvent);return me(()=>e.modelValue,()=>{p.value&&(i==null||i.validate("change").catch(v=>void 0))}),{handleChange:d,onClickRoot:h}},zte=e=>{const t=F(!1),{emit:n}=_t(),s=je(Vf,void 0),a=k(()=>$t(s)===!1),o=F(!1),r=k({get(){var i,l;return a.value?(i=s==null?void 0:s.modelValue)==null?void 0:i.value:(l=e.modelValue)!=null?l:t.value},set(i){var l,c;a.value&&ke(i)?(o.value=((l=s==null?void 0:s.max)==null?void 0:l.value)!==void 0&&i.length>(s==null?void 0:s.max.value)&&i.length>r.value.length,o.value===!1&&((c=s==null?void 0:s.changeEvent)==null||c.call(s,i))):(n(ct,i),t.value=i)}});return{model:r,isGroup:a,isLimitExceeded:o}},Hte=(e,t,{model:n})=>{const s=je(Vf,void 0),a=F(!1),o=k(()=>Ka(e.value)?e.label:e.value),r=k(()=>{const u=n.value;return Qt(u)?u:ke(u)?ht(o.value)?u.map(cn).some(d=>$n(d,o.value)):u.map(cn).includes(o.value):u!=null?u===e.trueValue||u===e.trueLabel:!!u}),i=ts(k(()=>{var u;return(u=s==null?void 0:s.size)==null?void 0:u.value}),{prop:!0}),l=ts(k(()=>{var u;return(u=s==null?void 0:s.size)==null?void 0:u.value})),c=k(()=>!!t.default||!Ka(o.value));return{checkboxButtonSize:i,isChecked:r,isFocused:a,checkboxSize:l,hasOwnLabel:c,actualValue:o}},ak=(e,t)=>{const{formItem:n}=Cs(),{model:s,isGroup:a,isLimitExceeded:o}=zte(e),{isFocused:r,isChecked:i,checkboxButtonSize:l,checkboxSize:c,hasOwnLabel:u,actualValue:d}=Hte(e,t,{model:s}),{isDisabled:h}=Bte({model:s,isChecked:i}),{inputId:p,isLabeledByFormItem:v}=uo(e,{formItemContext:n,disableIdGeneration:u,disableIdManagement:a}),{handleChange:m,onClickRoot:g}=Vte(e,{model:s,isLimitExceeded:o,hasOwnLabel:u,isDisabled:h,isLabeledByFormItem:v});return(()=>{function _(){var w,C;ke(s.value)&&!s.value.includes(d.value)?s.value.push(d.value):s.value=(C=(w=e.trueValue)!=null?w:e.trueLabel)!=null?C:!0}e.checked&&_()})(),ai({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},k(()=>a.value&&Ka(e.value))),ai({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},k(()=>!!e.trueLabel)),ai({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},k(()=>!!e.falseLabel)),{inputId:p,isLabeledByFormItem:v,isChecked:i,isDisabled:h,isFocused:r,checkboxButtonSize:l,checkboxSize:c,hasOwnLabel:u,model:s,actualValue:d,handleChange:m,onClickRoot:g}},Wte=["id","indeterminate","name","tabindex","disabled"];var ok=W({name:"ElCheckbox",__name:"checkbox",props:nk,emits:sk,setup(e){const t=e,n=zn(),{inputId:s,isLabeledByFormItem:a,isChecked:o,isDisabled:r,isFocused:i,checkboxSize:l,hasOwnLabel:c,model:u,actualValue:d,handleChange:h,onClickRoot:p}=ak(t,n),v=k(()=>{var _,w,C,x;return t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":(w=(_=t.trueValue)!=null?_:t.trueLabel)!=null?w:!0,"false-value":(x=(C=t.falseValue)!=null?C:t.falseLabel)!=null?x:!1}:{value:d.value}}),m=Ee("checkbox"),g=k(()=>[m.b(),m.m(l.value),m.is("disabled",r.value),m.is("bordered",t.border),m.is("checked",o.value)]),b=k(()=>[m.e("input"),m.is("disabled",r.value),m.is("checked",o.value),m.is("indeterminate",t.indeterminate),m.is("focus",i.value)]);return(_,w)=>(S(),le(bt(!f(c)&&f(a)?"span":"label"),{for:!f(c)&&f(a)?null:f(s),class:D(g.value),"aria-controls":e.indeterminate?e.ariaControls:null,"aria-checked":e.indeterminate?"mixed":void 0,"aria-label":e.ariaLabel,onClick:f(p)},{default:X(()=>[A("span",{class:D(b.value)},[gt(A("input",wt({id:f(s),"onUpdate:modelValue":w[0]||(w[0]=C=>pn(u)?u.value=C:null),class:f(m).e("original"),type:"checkbox",indeterminate:e.indeterminate,name:e.name,tabindex:e.tabindex,disabled:f(r)},v.value,{onChange:w[1]||(w[1]=(...C)=>f(h)&&f(h)(...C)),onFocus:w[2]||(w[2]=C=>i.value=!0),onBlur:w[3]||(w[3]=C=>i.value=!1),onClick:w[4]||(w[4]=lt(()=>{},["stop"]))}),null,16,Wte),[[jS,f(u)]]),A("span",{class:D(f(m).e("inner"))},null,2)],2),f(c)?(S(),P("span",{key:0,class:D(f(m).e("label"))},[ue(_.$slots,"default"),_.$slots.default?ie("v-if",!0):(S(),P(He,{key:0},[Ue(ve(e.label),1)],64))],2)):ie("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}});const jte=["name","tabindex","disabled"];var A3=W({name:"ElCheckboxButton",__name:"checkbox-button",props:nk,emits:sk,setup(e){const t=e,n=zn(),{isFocused:s,isChecked:a,isDisabled:o,checkboxButtonSize:r,model:i,actualValue:l,handleChange:c}=ak(t,n),u=k(()=>{var m,g,b,_;return t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":(g=(m=t.trueValue)!=null?m:t.trueLabel)!=null?g:!0,"false-value":(_=(b=t.falseValue)!=null?b:t.falseLabel)!=null?_:!1}:{value:l.value}}),d=je(Vf,void 0),h=Ee("checkbox"),p=k(()=>{var m,g,b,_;const w=(g=(m=d==null?void 0:d.fill)==null?void 0:m.value)!=null?g:"";return{backgroundColor:w,borderColor:w,color:(_=(b=d==null?void 0:d.textColor)==null?void 0:b.value)!=null?_:"",boxShadow:w?`-1px 0 0 0 ${w}`:void 0}}),v=k(()=>[h.b("button"),h.bm("button",r.value),h.is("disabled",o.value),h.is("checked",a.value),h.is("focus",s.value)]);return(m,g)=>(S(),P("label",{class:D(v.value)},[gt(A("input",wt({"onUpdate:modelValue":g[0]||(g[0]=b=>pn(i)?i.value=b:null),class:f(h).be("button","original"),type:"checkbox",name:e.name,tabindex:e.tabindex,disabled:f(o)},u.value,{onChange:g[1]||(g[1]=(...b)=>f(c)&&f(c)(...b)),onFocus:g[2]||(g[2]=b=>s.value=!0),onBlur:g[3]||(g[3]=b=>s.value=!1),onClick:g[4]||(g[4]=lt(()=>{},["stop"]))}),null,16,jte),[[jS,f(i)]]),m.$slots.default||e.label?(S(),P("span",{key:0,class:D(f(h).be("button","inner")),style:tt(f(a)?p.value:void 0)},[ue(m.$slots,"default",{},()=>[Ue(ve(e.label),1)])],6)):ie("v-if",!0)],2))}});const Kte=Me({modelValue:{type:re(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:rs,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:re(Array)},props:{type:re(Object),default:()=>rk},type:{type:String,values:["checkbox","button"],default:"checkbox"},...ia(["ariaLabel"])}),Ute={[ct]:e=>ke(e),change:e=>ke(e)},rk={label:"label",value:"value",disabled:"disabled"};var ik=W({name:"ElCheckboxGroup",__name:"checkbox-group",props:Kte,emits:Ute,setup(e,{emit:t}){const n=e,s=t,a=Ee("checkbox"),o=In(),{formItem:r}=Cs(),{inputId:i,isLabeledByFormItem:l}=uo(n,{formItemContext:r}),c=async v=>{s(ct,v),await ze(),s(Pt,v)},u=k({get(){return n.modelValue},set(v){c(v)}}),d=k(()=>({...rk,...n.props})),h=v=>{const{label:m,value:g,disabled:b}=d.value,_={label:v[m],value:v[g],disabled:v[b]};return{...pp(v,[m,g,b]),..._}},p=k(()=>n.type==="button"?A3:ok);return Tt(Vf,{...Ui(ps(n),["size","min","max","validateEvent","fill","textColor"]),disabled:o,modelValue:u,changeEvent:c}),me(()=>n.modelValue,(v,m)=>{n.validateEvent&&!$n(v,m)&&(r==null||r.validate("change").catch(g=>void 0))}),(v,m)=>{var g;return S(),le(bt(e.tag),{id:f(i),class:D(f(a).b("group")),role:"group","aria-label":f(l)?void 0:e.ariaLabel||"checkbox-group","aria-labelledby":f(l)?(g=f(r))==null?void 0:g.labelId:void 0},{default:X(()=>[ue(v.$slots,"default",{},()=>[(S(!0),P(He,null,yt(e.options,(b,_)=>(S(),le(bt(p.value),wt({key:_},{ref_for:!0},h(b)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});const mr=pt(ok,{CheckboxButton:A3,CheckboxGroup:ik}),qte=An(A3),T3=An(ik),lk=Me({modelValue:{type:[String,Number,Boolean],default:void 0},size:rs,disabled:{type:Boolean,default:void 0},label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),Gte=Me({...lk,border:Boolean}),ck={[ct]:e=>Xe(e)||at(e)||Qt(e),[Pt]:e=>Xe(e)||at(e)||Qt(e)},uk=Symbol("radioGroupKey"),dk=(e,t)=>{const n=F(),s=je(uk,void 0),a=k(()=>!!s),o=k(()=>Ka(e.value)?e.label:e.value),r=k({get(){return a.value?s.modelValue:e.modelValue},set(d){a.value?s.changeEvent(d):t&&t(ct,d),n.value.checked=e.modelValue===o.value}}),i=ts(k(()=>s==null?void 0:s.size)),l=In(k(()=>s==null?void 0:s.disabled)),c=F(!1),u=k(()=>l.value||a.value&&r.value!==o.value?-1:0);return ai({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},k(()=>a.value&&Ka(e.value))),{radioRef:n,isGroup:a,radioGroup:s,focus:c,size:i,disabled:l,tabIndex:u,modelValue:r,actualValue:o}},Yte=["value","name","disabled","checked"];var fk=W({name:"ElRadio",__name:"radio",props:Gte,emits:ck,setup(e,{emit:t}){const n=e,s=t,a=Ee("radio"),{radioRef:o,radioGroup:r,focus:i,size:l,disabled:c,modelValue:u,actualValue:d}=dk(n,s);function h(){ze(()=>s(Pt,u.value))}return(p,v)=>{var m;return S(),P("label",{class:D([f(a).b(),f(a).is("disabled",f(c)),f(a).is("focus",f(i)),f(a).is("bordered",e.border),f(a).is("checked",f(u)===f(d)),f(a).m(f(l))])},[A("span",{class:D([f(a).e("input"),f(a).is("disabled",f(c)),f(a).is("checked",f(u)===f(d))])},[gt(A("input",{ref_key:"radioRef",ref:o,"onUpdate:modelValue":v[0]||(v[0]=g=>pn(u)?u.value=g:null),class:D(f(a).e("original")),value:f(d),name:e.name||((m=f(r))==null?void 0:m.name),disabled:f(c),checked:f(u)===f(d),type:"radio",onFocus:v[1]||(v[1]=g=>i.value=!0),onBlur:v[2]||(v[2]=g=>i.value=!1),onChange:h,onClick:v[3]||(v[3]=lt(()=>{},["stop"]))},null,42,Yte),[[US,f(u)]]),A("span",{class:D(f(a).e("inner"))},null,2)],2),A("span",{class:D(f(a).e("label")),onKeydown:v[4]||(v[4]=lt(()=>{},["stop"]))},[ue(p.$slots,"default",{},()=>[Ue(ve(e.label),1)])],34)],2)}}});const Xte=Me({...lk}),Jte=["value","name","disabled"];var M3=W({name:"ElRadioButton",__name:"radio-button",props:Xte,setup(e){const t=e,n=Ee("radio"),{radioRef:s,focus:a,size:o,disabled:r,modelValue:i,radioGroup:l,actualValue:c}=dk(t),u=k(()=>({backgroundColor:(l==null?void 0:l.fill)||"",borderColor:(l==null?void 0:l.fill)||"",boxShadow:l!=null&&l.fill?`-1px 0 0 0 ${l.fill}`:"",color:(l==null?void 0:l.textColor)||""}));return(d,h)=>{var p;return S(),P("label",{class:D([f(n).b("button"),f(n).is("active",f(i)===f(c)),f(n).is("disabled",f(r)),f(n).is("focus",f(a)),f(n).bm("button",f(o))])},[gt(A("input",{ref_key:"radioRef",ref:s,"onUpdate:modelValue":h[0]||(h[0]=v=>pn(i)?i.value=v:null),class:D(f(n).be("button","original-radio")),value:f(c),type:"radio",name:e.name||((p=f(l))==null?void 0:p.name),disabled:f(r),onFocus:h[1]||(h[1]=v=>a.value=!0),onBlur:h[2]||(h[2]=v=>a.value=!1),onClick:h[3]||(h[3]=lt(()=>{},["stop"]))},null,42,Jte),[[US,f(i)]]),A("span",{class:D(f(n).be("button","inner")),style:tt(f(i)===f(c)?u.value:{}),onKeydown:h[4]||(h[4]=lt(()=>{},["stop"]))},[ue(d.$slots,"default",{},()=>[Ue(ve(e.label),1)])],38)],2)}}});const hk={label:"label",value:"value",disabled:"disabled"},Zte=Me({id:{type:String,default:void 0},size:rs,disabled:{type:Boolean,default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},options:{type:re(Array)},props:{type:re(Object),default:()=>hk},type:{type:String,values:["radio","button"],default:"radio"},...ia(["ariaLabel"])}),Qte=ck,ene=["id","aria-label","aria-labelledby"];var pk=W({name:"ElRadioGroup",__name:"radio-group",props:Zte,emits:Qte,setup(e,{emit:t}){const n=e,s=t,a=Ee("radio"),o=$s(),r=F(),{formItem:i}=Cs(),{inputId:l,isLabeledByFormItem:c}=uo(n,{formItemContext:i}),u=m=>{s(ct,m),ze(()=>s(Pt,m))};St(()=>{const m=r.value.querySelectorAll("[type=radio]"),g=m[0];!Array.from(m).some(b=>b.checked)&&g&&(g.tabIndex=0)});const d=k(()=>n.name||o.value),h=k(()=>({...hk,...n.props})),p=m=>{const{label:g,value:b,disabled:_}=h.value,w={label:m[g],value:m[b],disabled:m[_]};return{...pp(m,[g,b,_]),...w}},v=k(()=>n.type==="button"?M3:fk);return Tt(uk,Wt({...ps(n),changeEvent:u,name:d})),me(()=>n.modelValue,(m,g)=>{n.validateEvent&&!$n(m,g)&&(i==null||i.validate("change").catch(b=>void 0))}),(m,g)=>(S(),P("div",{id:f(l),ref_key:"radioGroupRef",ref:r,class:D(f(a).b("group")),role:"radiogroup","aria-label":f(c)?void 0:e.ariaLabel||"radio-group","aria-labelledby":f(c)?f(i).labelId:void 0},[ue(m.$slots,"default",{},()=>[(S(!0),P(He,null,yt(e.options,(b,_)=>(S(),le(bt(v.value),wt({key:_},{ref_for:!0},p(b)),null,16))),128))])],10,ene))}});const vk=pt(fk,{RadioButton:M3,RadioGroup:pk}),tne=An(pk),nne=An(M3),jg=Symbol();function sne(e){return!!(ke(e)?e.every(({type:t})=>t===Kn):(e==null?void 0:e.type)===Kn)}var ane=W({name:"NodeContent",props:{node:{type:Object,required:!0}},setup(e){const t=Ee("cascader-node"),{renderLabelFn:n}=je(jg),{node:s}=e,{data:a,label:o}=s,r=()=>{const i=n==null?void 0:n({node:s,data:a});return sne(i)?o:i??o};return()=>j("span",{class:t.e("label")},[r()])}});const one=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"];var rne=W({name:"ElCascaderNode",__name:"node",props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=e,s=t,a=je(jg),o=Ee("cascader-node"),r=k(()=>a.isHoverMenu),i=k(()=>a.config.multiple),l=k(()=>a.config.checkStrictly),c=k(()=>a.config.showPrefix),u=k(()=>{var I;return(I=a.checkedNodes[0])==null?void 0:I.uid}),d=k(()=>n.node.isDisabled),h=k(()=>n.node.isLeaf),p=k(()=>l.value&&!h.value||!d.value),v=k(()=>g(a.expandingNode)),m=k(()=>l.value&&a.checkedNodes.some(g)),g=I=>{var M;const{level:$,uid:O}=n.node;return((M=I==null?void 0:I.pathNodes[$-1])==null?void 0:M.uid)===O},b=()=>{v.value||a.expandNode(n.node)},_=I=>{const{node:M}=n;I!==M.checked&&a.handleCheckChange(M,I)},w=()=>{a.lazyLoad(n.node,()=>{h.value||b()})},C=I=>{r.value&&(x(),!h.value&&s("expand",I))},x=()=>{const{node:I}=n;!p.value||I.loading||(I.loaded?b():w())},E=()=>{h.value&&!d.value&&!l.value&&!i.value?R(!0):(a.config.checkOnClickNode&&(i.value||l.value)||h.value&&a.config.checkOnClickLeaf)&&!d.value?T(!n.node.checked):r.value||x()},T=I=>{l.value?(_(I),n.node.loaded&&b()):R(I)},R=I=>{n.node.loaded?(_(I),!l.value&&b()):w()};return(I,M)=>(S(),P("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!h.value,"aria-owns":h.value?void 0:e.menuId,"aria-expanded":v.value,tabindex:p.value?-1:void 0,class:D([f(o).b(),f(o).is("selectable",l.value),f(o).is("active",e.node.checked),f(o).is("disabled",!p.value),v.value&&"in-active-path",m.value&&"in-checked-path"]),onMouseenter:C,onFocus:C,onClick:E},[ie(" prefix "),i.value&&c.value?(S(),le(f(mr),{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:d.value,onClick:M[0]||(M[0]=lt(()=>{},["stop"])),"onUpdate:modelValue":T},null,8,["model-value","indeterminate","disabled"])):l.value&&c.value?(S(),le(f(vk),{key:1,"model-value":u.value,label:e.node.uid,disabled:d.value,"onUpdate:modelValue":T,onClick:M[1]||(M[1]=lt(()=>{},["stop"]))},{default:X(()=>[ie(` Add an empty element to avoid render label, do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485 - `),M[2]||(M[2]=A("span",null,null,-1))]),_:1},8,["model-value","label","disabled"])):h.value&&e.node.checked?(S(),le(f(Je),{key:2,class:D(f(o).e("prefix"))},{default:X(()=>[j(f(Mf))]),_:1},8,["class"])):ie("v-if",!0),ie(" content "),j(f(ane),{node:e.node},null,8,["node"]),ie(" postfix "),h.value?ie("v-if",!0):(S(),P(He,{key:3},[e.node.loading?(S(),le(f(Je),{key:0,class:D([f(o).is("loading"),f(o).e("postfix")])},{default:X(()=>[j(f(Ns))]),_:1},8,["class"])):(S(),le(f(Je),{key:1,class:D(["arrow-right",f(o).e("postfix")])},{default:X(()=>[j(f(Ls))]),_:1},8,["class"]))],64))],42,one))}}),ine=W({name:"ElCascaderMenu",__name:"menu",props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=e,n=_t(),s=Ee("cascader-menu"),{t:a}=It(),o=$s();let r,i;const l=je(jg),c=F(),u=k(()=>!t.nodes.length),d=k(()=>!l.initialLoaded),h=k(()=>`${o.value}-${t.index}`),p=b=>{r=b.target},v=b=>{var C;if(!(!l.isHoverMenu||!r||!c.value))if(r.contains(b.target)){m();const w=n.vnode.el,{left:_}=w.getBoundingClientRect(),{offsetWidth:x,offsetHeight:E}=w,T=b.clientX-_,R=r.offsetTop,I=R+r.offsetHeight,M=((C=w.querySelector(`.${s.e("wrap")}`))==null?void 0:C.scrollTop)||0;c.value.innerHTML=` + `),M[2]||(M[2]=A("span",null,null,-1))]),_:1},8,["model-value","label","disabled"])):h.value&&e.node.checked?(S(),le(f(Je),{key:2,class:D(f(o).e("prefix"))},{default:X(()=>[j(f(Mf))]),_:1},8,["class"])):ie("v-if",!0),ie(" content "),j(f(ane),{node:e.node},null,8,["node"]),ie(" postfix "),h.value?ie("v-if",!0):(S(),P(He,{key:3},[e.node.loading?(S(),le(f(Je),{key:0,class:D([f(o).is("loading"),f(o).e("postfix")])},{default:X(()=>[j(f(Ns))]),_:1},8,["class"])):(S(),le(f(Je),{key:1,class:D(["arrow-right",f(o).e("postfix")])},{default:X(()=>[j(f(Ls))]),_:1},8,["class"]))],64))],42,one))}}),ine=W({name:"ElCascaderMenu",__name:"menu",props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=e,n=_t(),s=Ee("cascader-menu"),{t:a}=It(),o=$s();let r,i;const l=je(jg),c=F(),u=k(()=>!t.nodes.length),d=k(()=>!l.initialLoaded),h=k(()=>`${o.value}-${t.index}`),p=b=>{r=b.target},v=b=>{var _;if(!(!l.isHoverMenu||!r||!c.value))if(r.contains(b.target)){m();const w=n.vnode.el,{left:C}=w.getBoundingClientRect(),{offsetWidth:x,offsetHeight:E}=w,T=b.clientX-C,R=r.offsetTop,I=R+r.offsetHeight,M=((_=w.querySelector(`.${s.e("wrap")}`))==null?void 0:_.scrollTop)||0;c.value.innerHTML=` - `}else i||(i=window.setTimeout(g,l.config.hoverThreshold))},m=()=>{i&&(clearTimeout(i),i=void 0)},g=()=>{c.value&&(c.value.innerHTML="",m())};return(b,C)=>(S(),le(f(pr),{key:h.value,tag:"ul",role:"menu",class:D(f(s).b()),"wrap-class":f(s).e("wrap"),"view-class":[f(s).e("list"),f(s).is("empty",u.value)],onMousemove:v,onMouseleave:g},{default:X(()=>{var w;return[(S(!0),P(He,null,yt(e.nodes,_=>(S(),le(rne,{key:_.uid,node:_,"menu-id":h.value,onExpand:p},null,8,["node","menu-id"]))),128)),d.value?(S(),P("div",{key:0,class:D(f(s).e("empty-text"))},[j(f(Je),{size:"14",class:D(f(s).is("loading"))},{default:X(()=>[j(f(Ns))]),_:1},8,["class"]),Ue(" "+ve(f(a)("el.cascader.loading")),1)],2)):u.value?(S(),P("div",{key:1,class:D(f(s).e("empty-text"))},[ue(b.$slots,"empty",{},()=>[Ue(ve(f(a)("el.cascader.noData")),1)])],2)):(w=f(l))!=null&&w.isHoverMenu?(S(),P(He,{key:2},[ie(" eslint-disable vue/html-self-closing "),(S(),P("svg",{ref_key:"hoverZone",ref:c,class:D(f(s).e("hover-zone"))},null,2))],2112)):ie("v-if",!0),ie(" eslint-enable vue/html-self-closing ")]}),_:3},8,["class","wrap-class","view-class"]))}}),lne=Object.defineProperty,cne=(e,t,n)=>t in e?lne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xa=(e,t,n)=>cne(e,typeof t!="symbol"?t+"":t,n);let une=0;const dne=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};let P3=class $w{constructor(t,n,s,a=!1){this.data=t,this.config=n,this.parent=s,this.root=a,Xa(this,"uid",une++),Xa(this,"level"),Xa(this,"value"),Xa(this,"label"),Xa(this,"pathNodes"),Xa(this,"pathValues"),Xa(this,"pathLabels"),Xa(this,"childrenData"),Xa(this,"children"),Xa(this,"text"),Xa(this,"loaded"),Xa(this,"checked",!1),Xa(this,"indeterminate",!1),Xa(this,"loading",!1);const{value:o,label:r,children:i}=n,l=t[i],c=dne(this);this.level=a?0:s?s.level+1:1,this.value=t[o],this.label=t[r],this.pathNodes=c,this.pathValues=c.map(u=>u.value),this.pathLabels=c.map(u=>u.label),this.childrenData=l,this.children=(l||[]).map(u=>new $w(u,n,this)),this.loaded=!n.lazy||this.isLeaf||!Pa(l),this.text=""}get isDisabled(){const{data:t,parent:n,config:s}=this,{disabled:a,checkStrictly:o}=s;return(et(a)?a(t,this):!!t[a])||!o&&!!(n!=null&&n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:s,loaded:a}=this,{lazy:o,leaf:r}=n,i=et(r)?r(t,this):t[r];return $t(i)?o&&!a?!1:!(ke(s)&&s.length):!!i}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:s}=this,a=new $w(t,this.config,this);return ke(n)?n.push(t):this.childrenData=[t],s.push(a),a}calcText(t,n){const s=t?this.pathLabels.join(n):this.label;return this.text=s,s}broadcast(t){this.children.forEach(n=>{var s;n&&(n.broadcast(t),(s=n.onParentCheck)==null||s.call(n,t))})}emit(){var t;const{parent:n}=this;n&&((t=n.onChildCheck)==null||t.call(n),n.emit())}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(a=>!a.isDisabled),s=n.length?n.every(a=>a.checked):!1;this.setCheckState(s)}setCheckState(t){const n=this.children.length,s=this.children.reduce((a,o)=>{const r=o.checked?1:o.indeterminate?.5:0;return a+r},0);this.checked=this.loaded&&this.children.filter(a=>!a.isDisabled).every(a=>a.loaded&&a.checked)&&t,this.indeterminate=this.loaded&&s!==n&&s>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:s}=this.config;n||!s?this.checked=t:(this.broadcast(t),this.setCheckState(t),this.emit())}};var fne=Object.defineProperty,hne=(e,t,n)=>t in e?fne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,R3=(e,t,n)=>hne(e,typeof t!="symbol"?t+"":t,n);const I3=(e,t)=>e.reduce((n,s)=>(s.isLeaf?n.push(s):(!t&&n.push(s),n=n.concat(I3(s.children,t))),n),[]);class mk{constructor(t,n){this.config=n,R3(this,"nodes"),R3(this,"allNodes"),R3(this,"leafNodes");const s=(t||[]).map(a=>new P3(a,this.config));this.nodes=s,this.allNodes=I3(s,!1),this.leafNodes=I3(s,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,n){const s=n?n.appendChild(t):new P3(t,this.config);n||this.nodes.push(s),this.appendAllNodesAndLeafNodes(s)}appendNodes(t,n){t.length>0?t.forEach(s=>this.appendNode(s,n)):n&&n.isLeaf&&this.leafNodes.push(n)}appendAllNodesAndLeafNodes(t){this.allNodes.push(t),t.isLeaf&&this.leafNodes.push(t),t.children&&t.children.forEach(n=>{this.appendAllNodesAndLeafNodes(n)})}getNodeByValue(t,n=!1){return Ka(t)?null:this.getFlattedNodes(n).find(a=>$n(a.value,t)||$n(a.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:s,level:a})=>$n(t.value,s)&&t.level===a)||null}}const gk=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},pne=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():j9(e)&&e.click()},vne=(e,t)=>{const n=t.slice(0),s=n.map(o=>o.uid),a=e.reduce((o,r)=>{const i=s.indexOf(r.uid);return i>-1&&(o.push(r),n.splice(i,1),s.splice(i,1)),o},[]);return a.push(...n),a};var mne=W({name:"ElCascaderPanel",__name:"index",props:Lte,emits:Nte,setup(e,{expose:t,emit:n}){const s=e,a=n;let o=!1;const r=Ee("cascader"),i=$te(s),l=zn();let c;const u=F(!0),d=F(!1),h=F([]),p=F(),v=F([]),m=F(),g=F([]),b=k(()=>i.value.expandTrigger==="hover"),C=k(()=>s.renderLabel||l.default),w=()=>{const{options:N}=s,L=i.value;o=!1,c=new mk(N,L),v.value=[c.getNodes()],L.lazy&&Pa(s.options)?(u.value=!1,_(void 0,V=>{V&&(c=new mk(V,L),v.value=[c.getNodes()]),u.value=!0,O(!1,!0)})):O(!1,!0)},_=(N,L)=>{const V=i.value;N=N||new P3({},V,void 0,!0),N.loading=!0;const z=Q=>{const K=N,ee=K.root?null:K;K.loading=!1,K.loaded=!0,K.childrenData=K.childrenData||[],Q&&(c==null||c.appendNodes(Q,ee)),Q&&(L==null||L(Q)),N.level===0&&(d.value=!0)},G=()=>{N.loading=!1,N.loaded=!1,N.level===0&&(u.value=!0)};V.lazyLoad(N,z,G)},x=(N,L)=>{var V;const{level:z}=N,G=v.value.slice(0,z);let Q;N.isLeaf?Q=N.pathNodes[z-2]:(Q=N,G.push(N.children)),((V=m.value)==null?void 0:V.uid)!==(Q==null?void 0:Q.uid)&&(m.value=N,v.value=G,!L&&a("expand-change",(N==null?void 0:N.pathValues)||[]))},E=(N,L,V=!0)=>{const{checkStrictly:z,multiple:G}=i.value,Q=g.value[0];o=!0,!G&&(Q==null||Q.doCheck(!1)),N.doCheck(L),$(),V&&!G&&!z&&a("close"),!V&&!G&&T(N)},T=N=>{N&&(N=N.parent,T(N),N&&x(N))},R=N=>c==null?void 0:c.getFlattedNodes(N),I=N=>{var L;return(L=R(N))==null?void 0:L.filter(({checked:V})=>V!==!1)},M=()=>{g.value.forEach(N=>N.doCheck(!1)),$(),v.value=v.value.slice(0,1),m.value=void 0,a("expand-change",[])},$=()=>{var N;const{checkStrictly:L,multiple:V}=i.value,z=g.value,G=I(!L),Q=vne(z,G),K=Q.map(ee=>ee.valueByOption);g.value=Q,p.value=V?K:(N=K[0])!=null?N:null},O=(N=!1,L=!1)=>{const{modelValue:V}=s,{lazy:z,multiple:G,checkStrictly:Q}=i.value,K=!Q;if(!(!u.value||o||!L&&$n(V,p.value)))if(z&&!N){const ae=bE(sV(ca(V))).map(fe=>c==null?void 0:c.getNodeByValue(fe)).filter(fe=>!!fe&&!fe.loaded&&!fe.loading);ae.length?ae.forEach(fe=>{_(fe,()=>O(!1,L))}):O(!0,L)}else{const ee=G?ca(V):[V],ae=bE(ee.map(fe=>c==null?void 0:c.getNodeByValue(fe,K)));B(ae,L),p.value=ug(V??void 0)}},B=(N,L=!0)=>{const{checkStrictly:V}=i.value,z=g.value,G=N.filter(ee=>!!ee&&(V||ee.isLeaf)),Q=c==null?void 0:c.getSameNode(m.value),K=L&&Q||G[0];K?K.pathNodes.forEach(ee=>x(ee,!0)):m.value=void 0,z.forEach(ee=>ee.doCheck(!1)),Wt(G).forEach(ee=>ee.doCheck(!0)),g.value=G,ze(U)},U=()=>{jt&&h.value.forEach(N=>{const L=N==null?void 0:N.$el;if(L){const V=L.querySelector(`.${r.namespace.value}-scrollbar__wrap`);let z=L.querySelector(`.${r.b("node")}.in-active-path`);if(!z){const G=L.querySelectorAll(`.${r.b("node")}.${r.is("active")}`);z=G[G.length-1]}Ly(V,z)}})},J=N=>{const L=N.target,V=an(N);switch(V){case Ae.up:case Ae.down:{N.preventDefault();const z=V===Ae.up?-1:1;Ig(K9(L,z,`.${r.b("node")}[tabindex="-1"]`));break}case Ae.left:{N.preventDefault();const z=h.value[gk(L)-1],G=z==null?void 0:z.$el.querySelector(`.${r.b("node")}[aria-expanded="true"]`);Ig(G);break}case Ae.right:{N.preventDefault();const z=h.value[gk(L)+1],G=z==null?void 0:z.$el.querySelector(`.${r.b("node")}[tabindex="-1"]`);Ig(G);break}case Ae.enter:case Ae.numpadEnter:pne(L);break}};Tt(jg,Wt({config:i,expandingNode:m,checkedNodes:g,isHoverMenu:b,initialLoaded:u,renderLabelFn:C,lazyLoad:_,expandNode:x,handleCheckChange:E})),me(i,(N,L)=>{$n(N,L)||w()},{immediate:!0}),me(()=>s.options,w,{deep:!0}),me(()=>s.modelValue,()=>{o=!1,O()},{deep:!0}),me(()=>p.value,N=>{$n(N,s.modelValue)||(a(ct,N),a(Pt,N))});const Y=()=>{d.value||w()};return O4(()=>h.value=[]),St(()=>!Pa(s.modelValue)&&O()),t({menuList:h,menus:v,checkedNodes:g,handleKeyDown:J,handleCheckChange:E,getFlattedNodes:R,getCheckedNodes:I,clearCheckedNodes:M,calculateCheckedValue:$,scrollToExpandingNode:U,loadLazyRootNodes:Y}),(N,L)=>(S(),P("div",{class:D([f(r).b("panel"),f(r).is("bordered",e.border)]),onKeydown:J},[(S(!0),P(He,null,yt(v.value,(V,z)=>(S(),le(ine,{key:z,ref_for:!0,ref:G=>h.value[z]=G,index:z,nodes:[...V]},{empty:X(()=>[ue(N.$slots,"empty")]),_:3},8,["index","nodes"]))),128))],34))}});const bk=pt(mne),gne=["placeholder"],bne=["onClick"];var yne=W({name:"ElCascader",__name:"cascader",props:Dte,emits:Fte,setup(e,{expose:t,emit:n}){const s={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:Fe})=>{const{modifiersData:st,placement:ge}=Fe;["right","left","bottom","top"].includes(ge)||st.arrow&&(st.arrow.x=35)},requires:["arrow"]}]},a=e,o=n,r=Bi(),i=zn();let l=0,c=0;const u=Ee("cascader"),d=Ee("input"),h={small:7,default:11,large:15},{t:p}=It(),{formItem:v}=Cs(),m=In(),{valueOnClear:g}=wp(a),{isComposing:b,handleComposition:C}=Dp({afterComposition(Fe){var st;const ge=(st=Fe.target)==null?void 0:st.value;Ct(ge)}}),w=F(),_=F(),x=F(),E=F(),T=F(),R=F(),I=F(!1),M=F(!1),$=F(!1),O=F(""),B=F(""),U=F([]),J=F([]),Y=k(()=>a.props.multiple?a.collapseTags?U.value.slice(0,a.maxCollapseTags):U.value:[]),N=k(()=>a.props.multiple?a.collapseTags?U.value.slice(a.maxCollapseTags):[]:[]),L=k(()=>r.style),V=k(()=>{var Fe;return(Fe=a.placeholder)!=null?Fe:p("el.cascader.placeholder")}),z=k(()=>B.value||U.value.length>0||b.value?"":V.value),G=ts(),Q=k(()=>G.value==="small"?"small":"default"),K=k(()=>!!a.props.multiple),ee=k(()=>!a.filterable||K.value),ae=k(()=>K.value?B.value:O.value),fe=k(()=>{var Fe;return((Fe=T.value)==null?void 0:Fe.checkedNodes)||[]}),{wrapperRef:ne,isFocused:pe,handleBlur:he}=Qi(x,{disabled:m,beforeBlur(Fe){var st,ge;return((st=w.value)==null?void 0:st.isFocusInsideContent(Fe))||((ge=_.value)==null?void 0:ge.isFocusInsideContent(Fe))},afterBlur(){var Fe;a.validateEvent&&((Fe=v==null?void 0:v.validate)==null||Fe.call(v,"blur").catch(st=>void 0))}}),ce=k(()=>!a.clearable||m.value||$.value||!M.value&&!pe.value?!1:!!fe.value.length),Z=k(()=>{const{showAllLevels:Fe,separator:st}=a,ge=fe.value;return ge.length?K.value?"":ge[0].calcText(Fe,st):""}),H=k(()=>(v==null?void 0:v.validateState)||""),te=k({get(){return ug(a.modelValue)},set(Fe){const st=Fe??g.value;o(ct,st),o(Pt,st),a.validateEvent&&(v==null||v.validate("change").catch(ge=>void 0))}}),de=k(()=>[u.b(),u.m(G.value),u.is("disabled",m.value),r.class]),be=k(()=>[d.e("icon"),"icon-arrow-down",u.is("reverse",I.value)]),_e=k(()=>u.is("focus",pe.value)),Se=k(()=>{var Fe,st;return(st=(Fe=w.value)==null?void 0:Fe.popperRef)==null?void 0:st.contentRef}),Ne=Fe=>{if(pe.value){const st=new FocusEvent("blur",Fe);he(st)}Ve(!1)},Ve=Fe=>{var st,ge;m.value||(Fe=Fe??!I.value,Fe!==I.value&&(I.value=Fe,(ge=(st=x.value)==null?void 0:st.input)==null||ge.setAttribute("aria-expanded",`${Fe}`),Fe?($e(),T.value&&ze(T.value.scrollToExpandingNode)):a.filterable&&dt(),o("visibleChange",Fe)))},$e=()=>{ze(()=>{var Fe;(Fe=w.value)==null||Fe.updatePopper()})},we=()=>{$.value=!1},Oe=Fe=>{const{showAllLevels:st,separator:ge}=a;return{node:Fe,key:Fe.uid,text:Fe.calcText(st,ge),hitState:!1,closable:!m.value&&!Fe.isDisabled}},Pe=Fe=>{var st;const ge=Fe.node;ge.doCheck(!1),(st=T.value)==null||st.calculateCheckedValue(),o("removeTag",ge.valueByOption)},We=()=>{switch(a.showCheckedStrategy){case"child":return fe.value;case"parent":{const Fe=nt(!1),st=Fe.map(Ce=>Ce.value);return Fe.filter(Ce=>!Ce.parent||!st.includes(Ce.parent.value))}default:return[]}},Qe=()=>{if(!K.value)return;const Fe=We(),st=[];Fe.forEach(ge=>st.push(Oe(ge))),U.value=st},it=()=>{var Fe,st;const{filterMethod:ge,showAllLevels:Ce,separator:Be}=a,Re=(st=(Fe=T.value)==null?void 0:Fe.getFlattedNodes(!a.props.checkStrictly))==null?void 0:st.filter(Me=>Me.isDisabled?!1:(Me.calcText(Ce,Be),ge(Me,ae.value)));K.value&&U.value.forEach(Me=>{Me.hitState=!1}),$.value=!0,J.value=Re,$e()},De=()=>{var Fe;let st;$.value&&R.value?st=R.value.$el.querySelector(`.${u.e("suggestion-item")}`):st=(Fe=T.value)==null?void 0:Fe.$el.querySelector(`.${u.b("node")}[tabindex="-1"]`),st&&(st.focus(),!$.value&&st.click())},Ke=()=>{var Fe,st,ge;const Ce=(Fe=x.value)==null?void 0:Fe.input,Be=E.value,Re=(st=R.value)==null?void 0:st.$el;if(!(!jt||!Ce)){if(Re){const Me=Re.querySelector(`.${u.e("suggestion-list")}`);Me.style.minWidth=`${Ce.offsetWidth}px`}if(Be){const{offsetHeight:Me}=Be,Ze=U.value.length>0?`${Math.max(Me,l)-2}px`:`${l}px`;if(Ce.style.height=Ze,i.prefix){const sn=(ge=x.value)==null?void 0:ge.$el.querySelector(`.${d.e("prefix")}`);let _n=0;sn&&(_n=sn.offsetWidth,_n>0&&(_n+=h[G.value||"default"])),Be.style.left=`${_n}px`}else Be.style.left="0";$e()}}},nt=Fe=>{var st;return(st=T.value)==null?void 0:st.getCheckedNodes(Fe)},Ft=Fe=>{$e(),o("expandChange",Fe)},Kt=Fe=>{if(b.value)return;switch(an(Fe)){case Ae.enter:case Ae.numpadEnter:Ve();break;case Ae.down:Ve(!0),ze(De),Fe.preventDefault();break;case Ae.esc:I.value===!0&&(Fe.preventDefault(),Fe.stopPropagation(),Ve(!1));break;case Ae.tab:Ve(!1);break}},ot=()=>{var Fe;(Fe=T.value)==null||Fe.clearCheckedNodes(),!I.value&&a.filterable&&dt(),Ve(!1),o("clear")},dt=()=>{const{value:Fe}=Z;O.value=Fe,B.value=Fe},kt=Fe=>{var st,ge;const{checked:Ce}=Fe;K.value?(st=T.value)==null||st.handleCheckChange(Fe,!Ce,!1):(!Ce&&((ge=T.value)==null||ge.handleCheckChange(Fe,!0,!1)),Ve(!1))},xe=Fe=>{const st=Fe.target,ge=an(Fe);switch(ge){case Ae.up:case Ae.down:{Fe.preventDefault();const Ce=ge===Ae.up?-1:1;Ig(K9(st,Ce,`.${u.e("suggestion-item")}[tabindex="-1"]`));break}case Ae.enter:case Ae.numpadEnter:st.click();break}},qe=()=>{const Fe=U.value[U.value.length-1];c=B.value?0:c+1,!(!Fe||!c||a.collapseTags&&U.value.length>1)&&(Fe.hitState?Pe(Fe):Fe.hitState=!0)},ye=k(()=>a.debounce),Ye=gp(()=>{const{value:Fe}=ae;if(!Fe)return;const st=a.beforeFilter(Fe);tu(st)?st.then(it).catch(()=>{}):st!==!1?it():we()},ye),Ct=(Fe,st)=>{!I.value&&Ve(!0),!(st!=null&&st.isComposing)&&(Fe?Ye():we())},Xt=Fe=>Number.parseFloat(UV(d.cssVarName("input-height"),Fe).value)-2,wn=()=>{var Fe;(Fe=x.value)==null||Fe.focus()},Sn=()=>{var Fe;(Fe=x.value)==null||Fe.blur()};return me($,$e),me([fe,m,()=>a.collapseTags,()=>a.maxCollapseTags],Qe),me(U,()=>{ze(()=>Ke())}),me(G,async()=>{await ze();const Fe=x.value.input;l=Xt(Fe)||l,Ke()}),me(Z,dt,{immediate:!0}),me(()=>I.value,Fe=>{var st;Fe&&a.props.lazy&&a.props.lazyLoad&&((st=T.value)==null||st.loadLazyRootNodes())}),St(()=>{const Fe=x.value.input,st=Xt(Fe);l=Fe.offsetHeight||st,bn(Fe,Ke)}),t({getCheckedNodes:nt,cascaderPanelRef:T,togglePopperVisible:Ve,contentRef:Se,presentText:Z,focus:wn,blur:Sn}),(Fe,st)=>(S(),le(f(Ss),{ref_key:"tooltipRef",ref:w,visible:I.value,teleported:e.teleported,"popper-class":[f(u).e("dropdown"),e.popperClass],"popper-style":e.popperStyle,"popper-options":s,"fallback-placements":e.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:e.placement,transition:`${f(u).namespace.value}-zoom-in-top`,effect:e.effect,pure:"",persistent:e.persistent,onHide:we},{default:X(()=>[gt((S(),P("div",{ref_key:"wrapperRef",ref:ne,class:D(de.value),style:tt(L.value),onClick:st[8]||(st[8]=()=>Ve(ee.value?void 0:!0)),onKeydown:Kt,onMouseenter:st[9]||(st[9]=ge=>M.value=!0),onMouseleave:st[10]||(st[10]=ge=>M.value=!1)},[j(f(la),{ref_key:"inputRef",ref:x,modelValue:O.value,"onUpdate:modelValue":st[1]||(st[1]=ge=>O.value=ge),placeholder:z.value,readonly:ee.value,disabled:f(m),"validate-event":!1,size:f(G),class:D(_e.value),tabindex:K.value&&e.filterable&&!f(m)?-1:void 0,onCompositionstart:f(C),onCompositionupdate:f(C),onCompositionend:f(C),onInput:Ct},ka({suffix:X(()=>[ce.value?(S(),le(f(Je),{key:"clear",class:D([f(d).e("icon"),"icon-circle-close"]),onClick:lt(ot,["stop"])},{default:X(()=>[(S(),le(bt(e.clearIcon)))]),_:1},8,["class"])):(S(),le(f(Je),{key:"arrow-down",class:D(be.value),onClick:st[0]||(st[0]=lt(ge=>Ve(),["stop"]))},{default:X(()=>[j(f(hr))]),_:1},8,["class"]))]),_:2},[Fe.$slots.prefix?{name:"prefix",fn:X(()=>[ue(Fe.$slots,"prefix")]),key:"0"}:void 0]),1032,["modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),K.value?(S(),P("div",{key:0,ref_key:"tagWrapper",ref:E,class:D([f(u).e("tags"),f(u).is("validate",!!H.value)])},[ue(Fe.$slots,"tag",{data:U.value,deleteTag:Pe},()=>[(S(!0),P(He,null,yt(Y.value,ge=>(S(),le(f(al),{key:ge.key,type:e.tagType,size:Q.value,effect:e.tagEffect,hit:ge.hitState,closable:ge.closable,"disable-transitions":"",onClose:Ce=>Pe(ge)},{default:X(()=>[A("span",null,ve(ge.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))),128))]),e.collapseTags&&U.value.length>e.maxCollapseTags?(S(),le(f(Ss),{key:0,ref_key:"tagTooltipRef",ref:_,disabled:I.value||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom","popper-class":e.popperClass,"popper-style":e.popperStyle,effect:e.effect,persistent:e.persistent},{default:X(()=>[j(f(al),{closable:!1,size:Q.value,type:e.tagType,effect:e.tagEffect,"disable-transitions":""},{default:X(()=>[A("span",{class:D(f(u).e("tags-text"))}," + "+ve(U.value.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect"])]),content:X(()=>[j(f(pr),{"max-height":e.maxCollapseTagsTooltipHeight},{default:X(()=>[A("div",{class:D(f(u).e("collapse-tags"))},[(S(!0),P(He,null,yt(N.value,(ge,Ce)=>(S(),P("div",{key:Ce,class:D(f(u).e("collapse-tag"))},[(S(),le(f(al),{key:ge.key,class:"in-tooltip",type:e.tagType,size:Q.value,effect:e.tagEffect,hit:ge.hitState,closable:ge.closable,"disable-transitions":"",onClose:Be=>Pe(ge)},{default:X(()=>[A("span",null,ve(ge.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))],2))),128))],2)]),_:1},8,["max-height"])]),_:1},8,["disabled","popper-class","popper-style","effect","persistent"])):ie("v-if",!0),e.filterable&&!f(m)?gt((S(),P("input",{key:1,"onUpdate:modelValue":st[2]||(st[2]=ge=>B.value=ge),type:"text",class:D(f(u).e("search-input")),placeholder:Z.value?"":V.value,onInput:st[3]||(st[3]=ge=>Ct(B.value,ge)),onClick:st[4]||(st[4]=lt(ge=>Ve(!0),["stop"])),onKeydown:Nn(qe,["delete"]),onCompositionstart:st[5]||(st[5]=(...ge)=>f(C)&&f(C)(...ge)),onCompositionupdate:st[6]||(st[6]=(...ge)=>f(C)&&f(C)(...ge)),onCompositionend:st[7]||(st[7]=(...ge)=>f(C)&&f(C)(...ge))},null,42,gne)),[[WS,B.value]]):ie("v-if",!0)],2)):ie("v-if",!0)],38)),[[f(lc),Ne,Se.value]])]),content:X(()=>[Fe.$slots.header?(S(),P("div",{key:0,class:D(f(u).e("header")),onClick:st[11]||(st[11]=lt(()=>{},["stop"]))},[ue(Fe.$slots,"header")],2)):ie("v-if",!0),gt(j(f(bk),{ref_key:"cascaderPanelRef",ref:T,modelValue:te.value,"onUpdate:modelValue":st[12]||(st[12]=ge=>te.value=ge),options:e.options,props:a.props,border:!1,"render-label":Fe.$slots.default,onExpandChange:Ft,onClose:st[13]||(st[13]=ge=>Fe.$nextTick(()=>Ve(!1)))},{empty:X(()=>[ue(Fe.$slots,"empty")]),_:3},8,["modelValue","options","props","render-label"]),[[Bt,!$.value]]),e.filterable?gt((S(),le(f(pr),{key:1,ref_key:"suggestionPanel",ref:R,tag:"ul",class:D(f(u).e("suggestion-panel")),"view-class":f(u).e("suggestion-list"),onKeydown:xe},{default:X(()=>[J.value.length?(S(!0),P(He,{key:0},yt(J.value,ge=>(S(),P("li",{key:ge.uid,class:D([f(u).e("suggestion-item"),f(u).is("checked",ge.checked)]),tabindex:-1,onClick:Ce=>kt(ge)},[ue(Fe.$slots,"suggestion-item",{item:ge},()=>[A("span",null,ve(ge.text),1),ge.checked?(S(),le(f(Je),{key:0},{default:X(()=>[j(f(Mf))]),_:1})):ie("v-if",!0)])],10,bne))),128)):ue(Fe.$slots,"empty",{key:1},()=>[A("li",{class:D(f(u).e("empty-text"))},ve(f(p)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[Bt,$.value]]):ie("v-if",!0),Fe.$slots.footer?(S(),P("div",{key:2,class:D(f(u).e("footer")),onClick:st[14]||(st[14]=lt(()=>{},["stop"]))},[ue(Fe.$slots,"footer")],2)):ie("v-if",!0)]),_:3},8,["visible","teleported","popper-class","popper-style","fallback-placements","placement","transition","effect","persistent"]))}});const wne=pt(yne),_ne=Te({checked:Boolean,disabled:Boolean,type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),Cne={"update:checked":e=>Qt(e),[Pt]:e=>Qt(e)};var Sne=W({name:"ElCheckTag",__name:"check-tag",props:_ne,emits:Cne,setup(e,{emit:t}){const n=e,s=t,a=Ee("check-tag"),o=k(()=>[a.b(),a.is("checked",n.checked),a.is("disabled",n.disabled),a.m(n.type||"primary")]),r=()=>{if(n.disabled)return;const i=!n.checked;s(Pt,i),s("update:checked",i)};return(i,l)=>(S(),P("span",{class:D(o.value),onClick:r},[ue(i.$slots,"default")],2))}});const xne=pt(Sne),Ene=Te({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:re([Number,Object]),default:()=>Rn({})},sm:{type:re([Number,Object]),default:()=>Rn({})},md:{type:re([Number,Object]),default:()=>Rn({})},lg:{type:re([Number,Object]),default:()=>Rn({})},xl:{type:re([Number,Object]),default:()=>Rn({})}}),yk=Symbol("rowContextKey");var kne=W({name:"ElCol",__name:"col",props:Ene,setup(e){const t=e,{gutter:n}=je(yk,{gutter:k(()=>0)}),s=Ee("col"),a=k(()=>{const r={};return n.value&&(r.paddingLeft=r.paddingRight=`${n.value/2}px`),r}),o=k(()=>{const r=[];return["span","offset","pull","push"].forEach(c=>{const u=t[c];at(u)&&(c==="span"?r.push(s.b(`${t[c]}`)):u>0&&r.push(s.b(`${c}-${t[c]}`)))}),["xs","sm","md","lg","xl"].forEach(c=>{at(t[c])?r.push(s.b(`${c}-${t[c]}`)):ht(t[c])&&Object.entries(t[c]).forEach(([u,d])=>{r.push(u!=="span"?s.b(`${c}-${u}-${d}`):s.b(`${c}-${d}`))})}),n.value&&r.push(s.is("guttered")),[s.b(),r]});return(r,i)=>(S(),le(bt(e.tag),{class:D(o.value),style:tt(a.value)},{default:X(()=>[ue(r.$slots,"default")]),_:3},8,["class","style"]))}});const Ane=pt(kne),wk=e=>at(e)||Xe(e)||ke(e),Tne=Te({accordion:Boolean,modelValue:{type:re([Array,String,Number]),default:()=>Rn([])},expandIconPosition:{type:re([String]),default:"right"},beforeCollapse:{type:re(Function)}}),Mne={[ct]:wk,[Pt]:wk},_k=Symbol("collapseContextKey"),Pne="ElCollapse",Rne=(e,t)=>{const n=F(_s(e.modelValue)),s=r=>{n.value=r;const i=e.accordion?n.value[0]:n.value;t(ct,i),t(Pt,i)},a=r=>{if(e.accordion)s([n.value[0]===r?"":r]);else{const i=[...n.value],l=i.indexOf(r);l>-1?i.splice(l,1):i.push(r),s(i)}},o=async r=>{const{beforeCollapse:i}=e;if(!i){a(r);return}const l=i(r);[tu(l),Qt(l)].includes(!0)||Xn(Pne,"beforeCollapse must return type `Promise` or `boolean`"),tu(l)?l.then(u=>{u!==!1&&a(r)}).catch(u=>{}):l&&a(r)};return me(()=>e.modelValue,()=>n.value=_s(e.modelValue),{deep:!0}),Tt(_k,{activeNames:n,handleItemClick:o}),{activeNames:n,setActiveNames:s}},Ine=e=>{const t=Ee("collapse");return{rootKls:k(()=>[t.b(),t.b(`icon-position-${e.expandIconPosition}`)])}};var One=W({name:"ElCollapse",__name:"collapse",props:Tne,emits:Mne,setup(e,{expose:t,emit:n}){const s=e,a=n,{activeNames:o,setActiveNames:r}=Rne(s,a),{rootKls:i}=Ine(s);return t({activeNames:o,setActiveNames:r}),(l,c)=>(S(),P("div",{class:D(f(i))},[ue(l.$slots,"default")],2))}});const Lne=Te({title:{type:String,default:""},name:{type:re([String,Number]),default:void 0},icon:{type:en,default:Ls},disabled:Boolean});var Nne=W({name:"ElCollapseTransition",__name:"collapse-transition",setup(e){const t=Ee("collapse-transition"),n=a=>{a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom},s={beforeEnter(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.style.height&&(a.dataset.elExistsHeight=a.style.height),a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0},enter(a){requestAnimationFrame(()=>{a.dataset.oldOverflow=a.style.overflow,a.dataset.elExistsHeight?a.style.maxHeight=a.dataset.elExistsHeight:a.scrollHeight!==0?a.style.maxHeight=`${a.scrollHeight}px`:a.style.maxHeight=0,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom,a.style.overflow="hidden"})},afterEnter(a){a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow},enterCancelled(a){n(a)},beforeLeave(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.dataset.oldOverflow=a.style.overflow,a.style.maxHeight=`${a.scrollHeight}px`,a.style.overflow="hidden"},leave(a){a.scrollHeight!==0&&(a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0)},afterLeave(a){n(a)},leaveCancelled(a){n(a)}};return(a,o)=>(S(),le(vs,wt({name:f(t).b()},LO(s)),{default:X(()=>[ue(a.$slots,"default")]),_:3},16,["name"]))}});const Kg=pt(Nne),$ne=e=>{const t=je(_k),{namespace:n}=Ee("collapse"),s=F(!1),a=F(!1),o=s3(),r=k(()=>o.current++),i=k(()=>{var h;return(h=e.name)!=null?h:`${n.value}-id-${o.prefix}-${f(r)}`}),l=k(()=>t==null?void 0:t.activeNames.value.includes(f(i)));return{focusing:s,id:r,isActive:l,handleFocus:()=>{setTimeout(()=>{a.value?a.value=!1:s.value=!0},50)},handleHeaderClick:h=>{if(e.disabled)return;const p=h.target;p!=null&&p.closest("input, textarea, select")||(t==null||t.handleItemClick(f(i)),s.value=!1,a.value=!0)},handleEnterClick:h=>{const p=h.target;p!=null&&p.closest("input, textarea, select")||(h.preventDefault(),t==null||t.handleItemClick(f(i)))}}},Dne=(e,{focusing:t,isActive:n,id:s})=>{const a=Ee("collapse"),o=k(()=>[a.b("item"),a.is("active",f(n)),a.is("disabled",e.disabled)]),r=k(()=>[a.be("item","header"),a.is("active",f(n)),{focusing:f(t)&&!e.disabled}]),i=k(()=>[a.be("item","arrow"),a.is("active",f(n))]),l=k(()=>[a.be("item","title")]),c=k(()=>a.be("item","wrap")),u=k(()=>a.be("item","content")),d=k(()=>a.b(`content-${f(s)}`)),h=k(()=>a.b(`head-${f(s)}`));return{itemTitleKls:l,arrowKls:i,headKls:r,rootKls:o,itemWrapperKls:c,itemContentKls:u,scopedContentId:d,scopedHeadId:h}},Fne=["id","aria-expanded","aria-controls","aria-describedby","tabindex","aria-disabled"],Bne=["id","aria-hidden","aria-labelledby"];var Ck=W({name:"ElCollapseItem",__name:"collapse-item",props:Lne,setup(e,{expose:t}){const n=e,{focusing:s,id:a,isActive:o,handleFocus:r,handleHeaderClick:i,handleEnterClick:l}=$ne(n),{arrowKls:c,headKls:u,rootKls:d,itemTitleKls:h,itemWrapperKls:p,itemContentKls:v,scopedContentId:m,scopedHeadId:g}=Dne(n,{focusing:s,isActive:o,id:a});return t({isActive:o}),(b,C)=>(S(),P("div",{class:D(f(d))},[A("div",{id:f(g),class:D(f(u)),"aria-expanded":f(o),"aria-controls":f(m),"aria-describedby":f(m),tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,role:"button",onClick:C[0]||(C[0]=(...w)=>f(i)&&f(i)(...w)),onKeydown:C[1]||(C[1]=Nn(lt((...w)=>f(l)&&f(l)(...w),["stop"]),["space","enter"])),onFocus:C[2]||(C[2]=(...w)=>f(r)&&f(r)(...w)),onBlur:C[3]||(C[3]=w=>s.value=!1)},[A("span",{class:D(f(h))},[ue(b.$slots,"title",{isActive:f(o)},()=>[Ue(ve(e.title),1)])],2),ue(b.$slots,"icon",{isActive:f(o)},()=>[j(f(Je),{class:D(f(c))},{default:X(()=>[(S(),le(bt(e.icon)))]),_:1},8,["class"])])],42,Fne),j(f(Kg),null,{default:X(()=>[gt(A("div",{id:f(m),role:"region",class:D(f(p)),"aria-hidden":!f(o),"aria-labelledby":f(g)},[A("div",{class:D(f(v))},[ue(b.$slots,"default")],2)],10,Bne),[[Bt,f(o)]])]),_:3})],2))}});const Vne=pt(One,{CollapseItem:Ck}),zne=An(Ck),Sk=Te({modelValue:{type:re(String),default:void 0},border:{type:Boolean,default:!0},showAlpha:Boolean,colorFormat:String,disabled:Boolean,predefine:{type:re(Array)},validateEvent:{type:Boolean,default:!0}}),Hne={[ct]:e=>Xe(e)||qn(e)},xk=Symbol("colorCommonPickerKey"),Ek=Symbol("colorPickerPanelContextKey"),kk=Te({color:{type:re(Object),required:!0},vertical:Boolean,disabled:Boolean}),Wne=kk;let O3=!1;function L3(e,t){if(!jt)return;const n=function(o){var r;(r=t.drag)==null||r.call(t,o)},s=function(o){var r;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",s),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",s),document.onselectstart=null,document.ondragstart=null,O3=!1,(r=t.end)==null||r.call(t,o)},a=function(o){var r;O3||(document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",s),document.addEventListener("touchmove",n),document.addEventListener("touchend",s),O3=!0,(r=t.start)==null||r.call(t,o))};e.addEventListener("mousedown",a),e.addEventListener("touchstart",a,{passive:!1})}const Ak=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},N3=(e,t)=>Math.abs(Ak(e)-Ak(t)),Tk=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}},Mk=(e,{key:t,minValue:n,maxValue:s})=>{const a=_t(),o=hn(),r=hn(),i=k(()=>e.color.get(t));function l(h){var p;if(e.disabled)return;h.target!==o.value&&c(h),(p=o.value)==null||p.focus()}function c(h){if(!r.value||!o.value||e.disabled)return;const v=a.vnode.el.getBoundingClientRect(),{clientX:m,clientY:g}=Tk(h);let b;if(e.vertical){let C=g-v.top;C=Math.max(o.value.offsetHeight/2,C),C=Math.min(C,v.height-o.value.offsetHeight/2),b=Math.round((C-o.value.offsetHeight/2)/(v.height-o.value.offsetHeight)*s)}else{let C=m-v.left;C=Math.max(o.value.offsetWidth/2,C),C=Math.min(C,v.width-o.value.offsetWidth/2),b=Math.round((C-o.value.offsetWidth/2)/(v.width-o.value.offsetWidth)*s)}e.color.set(t,b)}function u(h){if(e.disabled)return;const{shiftKey:p}=h,v=an(h),m=p?10:1,g=t==="hue"?-1:1;let b=!0;switch(v){case Ae.left:case Ae.down:d(-m*g);break;case Ae.right:case Ae.up:d(m*g);break;case Ae.home:e.color.set(t,t==="hue"?s:n);break;case Ae.end:e.color.set(t,t==="hue"?n:s);break;case Ae.pageDown:d(-4*g);break;case Ae.pageUp:d(4*g);break;default:b=!1;break}b&&h.preventDefault()}function d(h){let p=i.value+h;p=ps?s:p,e.color.set(t,p)}return{thumb:o,bar:r,currentValue:i,handleDrag:c,handleClick:l,handleKeydown:u}},Pk=(e,{namespace:t,maxValue:n,bar:s,thumb:a,currentValue:o,handleDrag:r,getBackground:i})=>{const l=_t(),c=Ee(t),u=F(0),d=F(0),h=F();function p(){if(!a.value||e.vertical)return 0;const x=l.vnode.el,E=o.value;return x?Math.round(E*(x.offsetWidth-a.value.offsetWidth/2)/n):0}function v(){if(!a.value)return 0;const x=l.vnode.el;if(!e.vertical)return 0;const E=o.value;return x?Math.round(E*(x.offsetHeight-a.value.offsetHeight/2)/n):0}function m(){u.value=p(),d.value=v(),h.value=i==null?void 0:i()}St(()=>{if(!s.value||!a.value)return;const x={drag:E=>{r(E)},end:E=>{r(E)}};L3(s.value,x),L3(a.value,x),m()}),me(o,()=>m()),me(()=>e.color.value,()=>m());const g=k(()=>[c.b(),c.is("vertical",e.vertical),c.is("disabled",e.disabled)]),b=k(()=>c.e("bar")),C=k(()=>c.e("thumb")),w=k(()=>({background:h.value})),_=k(()=>({left:Pn(u.value),top:Pn(d.value)}));return{rootKls:g,barKls:b,barStyle:w,thumbKls:C,thumbStyle:_,thumbLeft:u,thumbTop:d,update:m}},jne=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],Rk=0,$3=100;var Kne=W({name:"ElColorAlphaSlider",__name:"alpha-slider",props:kk,setup(e,{expose:t}){const n=e,{currentValue:s,bar:a,thumb:o,handleDrag:r,handleClick:i,handleKeydown:l}=Mk(n,{key:"alpha",minValue:Rk,maxValue:$3}),{rootKls:c,barKls:u,barStyle:d,thumbKls:h,thumbStyle:p,update:v}=Pk(n,{namespace:"color-alpha-slider",maxValue:$3,currentValue:s,bar:a,thumb:o,handleDrag:r,getBackground:C}),{t:m}=It(),g=k(()=>m("el.colorpicker.alphaLabel")),b=k(()=>m("el.colorpicker.alphaDescription",{alpha:s.value,color:n.color.value}));function C(){if(n.color&&n.color.value){const{r:w,g:_,b:x}=n.color.toRgb();return`linear-gradient(to right, rgba(${w}, ${_}, ${x}, 0) 0%, rgba(${w}, ${_}, ${x}, 1) 100%)`}return""}return t({update:v,bar:a,thumb:o}),(w,_)=>(S(),P("div",{class:D(f(c))},[A("div",{ref_key:"bar",ref:a,class:D(f(u)),style:tt(f(d)),onClick:_[0]||(_[0]=(...x)=>f(i)&&f(i)(...x))},null,6),A("div",{ref_key:"thumb",ref:o,class:D(f(h)),style:tt(f(p)),"aria-label":g.value,"aria-valuenow":f(s),"aria-valuetext":b.value,"aria-orientation":e.vertical?"vertical":"horizontal","aria-valuemin":Rk,"aria-valuemax":$3,role:"slider",tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,onKeydown:_[1]||(_[1]=(...x)=>f(l)&&f(l)(...x))},null,46,jne)],2))}});const Une=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],Ik=0,D3=360;var qne=W({name:"ElColorHueSlider",__name:"hue-slider",props:Wne,setup(e,{expose:t}){const n=e,{currentValue:s,bar:a,thumb:o,handleDrag:r,handleClick:i,handleKeydown:l}=Mk(n,{key:"hue",minValue:Ik,maxValue:D3}),{rootKls:c,barKls:u,thumbKls:d,thumbStyle:h,thumbTop:p,update:v}=Pk(n,{namespace:"color-hue-slider",maxValue:D3,currentValue:s,bar:a,thumb:o,handleDrag:r}),{t:m}=It(),g=k(()=>m("el.colorpicker.hueLabel")),b=k(()=>m("el.colorpicker.hueDescription",{hue:s.value,color:n.color.value}));return t({bar:a,thumb:o,thumbTop:p,update:v}),(C,w)=>(S(),P("div",{class:D(f(c))},[A("div",{ref_key:"bar",ref:a,class:D(f(u)),onClick:w[0]||(w[0]=(..._)=>f(i)&&f(i)(..._))},null,2),A("div",{ref_key:"thumb",ref:o,class:D(f(d)),style:tt(f(h)),"aria-label":g.value,"aria-valuenow":f(s),"aria-valuetext":b.value,"aria-orientation":e.vertical?"vertical":"horizontal","aria-valuemin":Ik,"aria-valuemax":D3,role:"slider",tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,onKeydown:w[1]||(w[1]=(..._)=>f(l)&&f(l)(..._))},null,46,Une)],2))}});const Gne=Te({colors:{type:re(Array),required:!0},color:{type:re(Object),required:!0},enableAlpha:{type:Boolean,required:!0},disabled:Boolean});var Yne=Object.defineProperty,Xne=(e,t,n)=>t in e?Yne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,oi=(e,t,n)=>Xne(e,typeof t!="symbol"?t+"":t,n);class Ug{constructor(t={}){oi(this,"_hue",0),oi(this,"_saturation",100),oi(this,"_value",100),oi(this,"_alpha",100),oi(this,"_tiny",new Bf),oi(this,"_isValid",!1),oi(this,"enableAlpha",!1),oi(this,"format",""),oi(this,"value",""),oi(this,"selected");for(const n in t)Ht(t,n)&&(this[n]=t[n]);t.value?this.fromString(t.value):this.doOnChange()}set(t,n){if(arguments.length===1&&typeof t=="object"){for(const s in t)Ht(t,s)&&this.set(s,t[s]);return}this[`_${t}`]=n,this._isValid=!0,this.doOnChange()}get(t){return["hue","saturation","value","alpha"].includes(t)?Math.round(this[`_${t}`]):this[`_${t}`]}toRgb(){return this._isValid?this._tiny.toRgb():{r:255,g:255,b:255,a:0}}fromString(t){const n=new Bf(t);if(this._isValid=n.isValid,n.isValid){const{h:s,s:a,v:o,a:r}=n.toHsv();this._hue=s,this._saturation=a*100,this._value=o*100,this._alpha=r*100}else this._hue=0,this._saturation=100,this._value=100,this._alpha=100;this.doOnChange()}clear(){this._isValid=!1,this.value="",this._hue=0,this._saturation=100,this._value=100,this._alpha=100}compare(t){const n=new Bf({h:t._hue,s:t._saturation/100,v:t._value/100,a:t._alpha/100});return this._tiny.equals(n)}doOnChange(){const{_hue:t,_saturation:n,_value:s,_alpha:a,format:o,enableAlpha:r}=this;let i=o||(r?"rgb":"hex");o==="hex"&&r&&(i="hex8"),this._tiny=new Bf({h:t,s:n/100,v:s/100,a:a/100}),this.value=this._isValid?this._tiny.toString(i):""}}const Jne=e=>{const{currentColor:t}=je(Ek),n=F(a(e.colors,e.color));me(()=>t.value,o=>{const r=new Ug({value:o,enableAlpha:e.enableAlpha});n.value.forEach(i=>{i.selected=r.compare(i)})}),Wa(()=>{n.value=a(e.colors,e.color)});function s(o){e.color.fromString(e.colors[o])}function a(o,r){return o.map(i=>{const l=new Ug({value:i,enableAlpha:e.enableAlpha});return l.selected=l.compare(r),l})}return{rgbaColors:n,handleSelect:s}},Zne=e=>{const t=Ee("color-predefine"),n=k(()=>[t.b(),t.is("disabled",e.disabled)]),s=k(()=>t.e("colors"));function a(o){return[t.e("color-selector"),t.is("alpha",o.get("alpha")<100),{selected:o.selected}]}return{rootKls:n,colorsKls:s,colorSelectorKls:a}},Qne=["disabled","aria-label","onClick"];var ese=W({name:"ElColorPredefine",__name:"predefine",props:Gne,setup(e){const t=e,{rgbaColors:n,handleSelect:s}=Jne(t),{rootKls:a,colorsKls:o,colorSelectorKls:r}=Zne(t),{t:i}=It(),l=c=>i("el.colorpicker.predefineDescription",{value:c});return(c,u)=>(S(),P("div",{class:D(f(a))},[A("div",{class:D(f(o))},[(S(!0),P(He,null,yt(f(n),(d,h)=>(S(),P("button",{key:e.colors[h],type:"button",disabled:e.disabled,"aria-label":l(d.value),class:D(f(r)(d)),onClick:p=>f(s)(h)},[A("div",{style:tt({backgroundColor:d.value})},null,4)],10,Qne))),128))],2)],2))}});const tse=Te({color:{type:re(Object),required:!0},disabled:Boolean}),nse=e=>{const t=_t(),n=F(),s=F(0),a=F(0),o=F("hsl(0, 100%, 50%)"),r=k(()=>e.color.get("saturation")),i=k(()=>e.color.get("value")),l=k(()=>e.color.get("hue"));function c(v){var m;if(e.disabled)return;v.target!==n.value&&u(v),(m=n.value)==null||m.focus({preventScroll:!0})}function u(v){if(e.disabled)return;const g=t.vnode.el.getBoundingClientRect(),{clientX:b,clientY:C}=Tk(v);let w=b-g.left,_=C-g.top;w=Math.max(0,w),w=Math.min(w,g.width),_=Math.max(0,_),_=Math.min(_,g.height),a.value=w,s.value=_,e.color.set({saturation:w/g.width*100,value:100-_/g.height*100})}function d(v){if(e.disabled)return;const{shiftKey:m}=v,g=an(v),b=m?10:1;let C=!0;switch(g){case Ae.left:h(-b);break;case Ae.right:h(b);break;case Ae.up:p(b);break;case Ae.down:p(-b);break;default:C=!1;break}C&&v.preventDefault()}function h(v){let m=r.value+v;m=m<0?0:m>100?100:m,e.color.set("saturation",m)}function p(v){let m=i.value+v;m=m<0?0:m>100?100:m,e.color.set("value",m)}return{cursorRef:n,cursorTop:s,cursorLeft:a,background:o,saturation:r,brightness:i,hue:l,handleClick:c,handleDrag:u,handleKeydown:d}},sse=(e,{cursorTop:t,cursorLeft:n,background:s,handleDrag:a})=>{const o=_t(),r=Ee("color-svpanel");function i(){const h=e.color.get("saturation"),p=e.color.get("value"),v=o.vnode.el,{clientWidth:m,clientHeight:g}=v;n.value=h*m/100,t.value=(100-p)*g/100,s.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}St(()=>{L3(o.vnode.el,{drag:h=>{a(h)},end:h=>{a(h)}}),i()}),me([()=>e.color.get("hue"),()=>e.color.get("value"),()=>e.color.value],()=>i());const l=k(()=>r.b()),c=k(()=>r.e("cursor")),u=k(()=>({backgroundColor:s.value})),d=k(()=>({top:Pn(t.value),left:Pn(n.value)}));return{rootKls:l,cursorKls:c,rootStyle:u,cursorStyle:d,update:i}},ase=["tabindex","aria-disabled","aria-label","aria-valuenow","aria-valuetext"];var ose=W({name:"ElSvPanel",__name:"sv-panel",props:tse,setup(e,{expose:t}){const n=e,{cursorRef:s,cursorTop:a,cursorLeft:o,background:r,saturation:i,brightness:l,handleClick:c,handleDrag:u,handleKeydown:d}=nse(n),{rootKls:h,cursorKls:p,rootStyle:v,cursorStyle:m,update:g}=sse(n,{cursorTop:a,cursorLeft:o,background:r,handleDrag:u}),{t:b}=It(),C=k(()=>b("el.colorpicker.svLabel")),w=k(()=>b("el.colorpicker.svDescription",{saturation:i.value,brightness:l.value,color:n.color.value}));return t({update:g}),(_,x)=>(S(),P("div",{class:D(f(h)),style:tt(f(v)),onClick:x[1]||(x[1]=(...E)=>f(c)&&f(c)(...E))},[A("div",{ref_key:"cursorRef",ref:s,class:D(f(p)),style:tt(f(m)),tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,role:"slider","aria-valuemin":"0,0","aria-valuemax":"100,100","aria-label":C.value,"aria-valuenow":`${f(i)},${f(l)}`,"aria-valuetext":w.value,onKeydown:x[0]||(x[0]=(...E)=>f(d)&&f(d)(...E))},null,46,ase)],6))}});const Ok=(e,t)=>{const n=Wt(new Ug({enableAlpha:e.showAlpha,format:e.colorFormat||"",value:e.modelValue}));return me(()=>[e.colorFormat,e.showAlpha],()=>{n.enableAlpha=e.showAlpha,n.format=e.colorFormat||n.format,n.doOnChange(),t(ct,n.value)}),{color:n}};var rse=W({name:"ElColorPickerPanel",__name:"color-picker-panel",props:Sk,emits:Hne,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Ee("color-picker-panel"),{formItem:r}=Cs(),i=In(),l=F(),c=F(),u=F(),d=F(),h=F(""),{color:p}=je(xk,()=>Ok(s,a),!0);function v(){p.fromString(h.value),p.value!==h.value&&(h.value=p.value)}function m(){var b;s.validateEvent&&((b=r==null?void 0:r.validate)==null||b.call(r,"blur").catch(C=>void 0))}function g(){var b,C,w;(b=l.value)==null||b.update(),(C=c.value)==null||C.update(),(w=u.value)==null||w.update()}return St(()=>{s.modelValue&&(h.value=p.value),ze(g)}),me(()=>s.modelValue,b=>{b!==p.value&&(b?p.fromString(b):p.clear())}),me(()=>p.value,b=>{a(ct,b),h.value=b,s.validateEvent&&(r==null||r.validate("change").catch(C=>void 0))}),Tt(Ek,{currentColor:k(()=>p.value)}),t({color:p,inputRef:d,update:g}),(b,C)=>(S(),P("div",{class:D([f(o).b(),f(o).is("disabled",f(i)),f(o).is("border",e.border)]),onFocusout:m},[A("div",{class:D(f(o).e("wrapper"))},[j(qne,{ref_key:"hueRef",ref:l,class:"hue-slider",color:f(p),vertical:"",disabled:f(i)},null,8,["color","disabled"]),j(ose,{ref_key:"svRef",ref:c,color:f(p),disabled:f(i)},null,8,["color","disabled"])],2),e.showAlpha?(S(),le(Kne,{key:0,ref_key:"alphaRef",ref:u,color:f(p),disabled:f(i)},null,8,["color","disabled"])):ie("v-if",!0),e.predefine?(S(),le(ese,{key:1,ref:"predefine","enable-alpha":e.showAlpha,color:f(p),colors:e.predefine,disabled:f(i)},null,8,["enable-alpha","color","colors","disabled"])):ie("v-if",!0),A("div",{class:D(f(o).e("footer"))},[j(f(la),{ref_key:"inputRef",ref:d,modelValue:h.value,"onUpdate:modelValue":C[0]||(C[0]=w=>h.value=w),"validate-event":!1,size:"small",disabled:f(i),onChange:v},null,8,["modelValue","disabled"]),ue(b.$slots,"footer")],2)],34))}});const Lk=pt(rse),ise=Te({persistent:{type:Boolean,default:!0},modelValue:{type:re(String),default:void 0},id:String,showAlpha:Boolean,colorFormat:String,disabled:{type:Boolean,default:void 0},clearable:{type:Boolean,default:!0},size:rs,popperClass:tn.popperClass,popperStyle:tn.popperStyle,tabindex:{type:[String,Number],default:0},teleported:tn.teleported,appendTo:tn.appendTo,predefine:{type:re(Array)},validateEvent:{type:Boolean,default:!0},...wu,...ia(["ariaLabel"])}),lse={[ct]:e=>Xe(e)||qn(e),[Pt]:e=>Xe(e)||qn(e),activeChange:e=>Xe(e)||qn(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},cse=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"];var use=W({name:"ElColorPicker",__name:"color-picker",props:ise,emits:lse,setup(e,{expose:t,emit:n}){const s=e,a=n,{t:o}=It(),r=Ee("color"),{formItem:i}=Cs(),l=ts(),c=In(),{valueOnClear:u,isEmptyValue:d}=wp(s,null),h=Ok(s,a),{inputId:p,isLabeledByFormItem:v}=uo(s,{formItemContext:i}),m=F(),g=F(),b=F(),C=F(!1),w=F(!1);let _=!0;const{isFocused:x,handleFocus:E,handleBlur:T}=Qi(g,{disabled:c,beforeBlur(ce){var Z;return(Z=m.value)==null?void 0:Z.isFocusInsideContent(ce)},afterBlur(){var ce;Y(!1),z(),s.validateEvent&&((ce=i==null?void 0:i.validate)==null||ce.call(i,"blur").catch(Z=>void 0))}}),R=IV(()=>{var ce,Z;return(Z=(ce=b.value)==null?void 0:ce.color)!=null?Z:h.color}),I=k(()=>Ui(s,Object.keys(Sk))),M=k(()=>!s.modelValue&&!w.value?"transparent":J(R,s.showAlpha)),$=k(()=>!s.modelValue&&!w.value?"":R.value),O=k(()=>v.value?void 0:s.ariaLabel||o("el.colorpicker.defaultLabel")),B=k(()=>v.value?i==null?void 0:i.labelId:void 0),U=k(()=>[r.b("picker"),r.is("disabled",c.value),r.bm("picker",l.value),r.is("focused",x.value)]);function J(ce,Z){const{r:H,g:te,b:de,a:be}=ce.toRgb();return Z?`rgba(${H}, ${te}, ${de}, ${be})`:`rgb(${H}, ${te}, ${de})`}function Y(ce){C.value=ce}const N=Xr(Y,100,{leading:!0});function L(){c.value||Y(!0)}function V(){N(!1),z()}function z(){ze(()=>{s.modelValue?R.fromString(s.modelValue):(R.value="",ze(()=>{w.value=!1}))})}function G(){c.value||(C.value&&z(),N(!C.value))}function Q(){const ce=d(R.value)?u.value:R.value;a(ct,ce),a(Pt,ce),s.validateEvent&&(i==null||i.validate("change").catch(Z=>void 0)),N(!1),ze(()=>{const Z=new Ug({enableAlpha:s.showAlpha,format:s.colorFormat||"",value:s.modelValue});R.compare(Z)||z()})}function K(){N(!1),a(ct,u.value),a(Pt,u.value),s.modelValue!==u.value&&s.validateEvent&&(i==null||i.validate("change").catch(ce=>void 0)),z(),a("clear")}function ee(){var ce,Z;(Z=(ce=b==null?void 0:b.value)==null?void 0:ce.inputRef)==null||Z.focus()}function ae(){C.value&&(V(),x.value&&pe())}function fe(ce){ce.preventDefault(),ce.stopPropagation(),Y(!1),z()}function ne(ce){switch(an(ce)){case Ae.enter:case Ae.numpadEnter:case Ae.space:ce.preventDefault(),ce.stopPropagation(),L();break;case Ae.esc:fe(ce);break}}function pe(){g.value.focus()}function he(){g.value.blur()}return me(()=>$.value,ce=>{_&&a("activeChange",ce),_=!0}),me(()=>R.value,()=>{!s.modelValue&&!w.value&&(w.value=!0)}),me(()=>s.modelValue,ce=>{ce?ce&&ce!==R.value&&(_=!1,R.fromString(ce)):w.value=!1}),me(()=>C.value,()=>{b.value&&ze(b.value.update)}),Tt(xk,h),t({color:R,show:L,hide:V,focus:pe,blur:he}),(ce,Z)=>(S(),le(f(Ss),{ref_key:"popper",ref:m,visible:C.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[f(r).be("picker","panel"),e.popperClass],"popper-style":e.popperStyle,"stop-popper-mouse-event":!1,pure:"",loop:"",role:"dialog",effect:"light",trigger:"click",teleported:e.teleported,transition:`${f(r).namespace.value}-zoom-in-top`,persistent:e.persistent,"append-to":e.appendTo,onShow:ee,onHide:Z[2]||(Z[2]=H=>Y(!1))},{content:X(()=>[gt((S(),le(f(Lk),wt({ref_key:"pickerPanelRef",ref:b},I.value,{border:!1,"validate-event":!1,onKeydown:Nn(fe,["esc"])}),{footer:X(()=>[A("div",null,[e.clearable?(S(),le(f(gs),{key:0,class:D(f(r).be("footer","link-btn")),text:"",size:"small",onClick:K},{default:X(()=>[Ue(ve(f(o)("el.colorpicker.clear")),1)]),_:1},8,["class"])):ie("v-if",!0),j(f(gs),{plain:"",size:"small",class:D(f(r).be("footer","btn")),onClick:Q},{default:X(()=>[Ue(ve(f(o)("el.colorpicker.confirm")),1)]),_:1},8,["class"])])]),_:1},16)),[[f(lc),ae,g.value]])]),default:X(()=>[A("div",wt({id:f(p),ref_key:"triggerRef",ref:g},ce.$attrs,{class:U.value,role:"button","aria-label":O.value,"aria-labelledby":B.value,"aria-description":f(o)("el.colorpicker.description",{color:e.modelValue||""}),"aria-disabled":f(c),tabindex:f(c)?void 0:e.tabindex,onKeydown:ne,onFocus:Z[0]||(Z[0]=(...H)=>f(E)&&f(E)(...H)),onBlur:Z[1]||(Z[1]=(...H)=>f(T)&&f(T)(...H))}),[A("div",{class:D(f(r).be("picker","trigger")),onClick:G},[A("span",{class:D([f(r).be("picker","color"),f(r).is("alpha",e.showAlpha)])},[A("span",{class:D(f(r).be("picker","color-inner")),style:tt({backgroundColor:M.value})},[gt(j(f(Je),{class:D([f(r).be("picker","icon"),f(r).is("icon-arrow-down")])},{default:X(()=>[j(f(hr))]),_:1},8,["class"]),[[Bt,e.modelValue||w.value]]),gt(j(f(Je),{class:D([f(r).be("picker","empty"),f(r).is("icon-close")])},{default:X(()=>[j(f(Ua))]),_:1},8,["class"]),[[Bt,!e.modelValue&&!w.value]])],6)],2)],2)],16,cse)]),_:1},8,["visible","popper-class","popper-style","teleported","transition","persistent","append-to"]))}});const dse=pt(use),fse=Te({a11y:{type:Boolean,default:!0},locale:{type:re(Object)},size:rs,button:{type:re(Object)},card:{type:re(Object)},dialog:{type:re(Object)},link:{type:re(Object)},experimentalFeatures:{type:re(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:re(Object)},zIndex:Number,namespace:{type:String,default:"el"},...wu}),ua={placement:"top"},hse=pt(W({name:"ElConfigProvider",props:fse,setup(e,{slots:t}){const n=Iy(e);return me(()=>e.message,s=>{var a,o;Object.assign(ua,(o=(a=n==null?void 0:n.value)==null?void 0:a.message)!=null?o:{},s??{})},{immediate:!0,deep:!0}),()=>ue(t,"default",{config:n==null?void 0:n.value})}}));var pse=W({name:"ElContainer",__name:"container",props:{direction:{type:String,required:!1}},setup(e){const t=e,n=zn(),s=Ee("container"),a=k(()=>t.direction==="vertical"?!0:t.direction==="horizontal"?!1:n&&n.default?n.default().some(r=>{const i=r.type.name;return i==="ElHeader"||i==="ElFooter"}):!1);return(o,r)=>(S(),P("section",{class:D([f(s).b(),f(s).is("vertical",a.value)])},[ue(o.$slots,"default")],2))}}),Nk=W({name:"ElAside",__name:"aside",props:{width:{type:[String,null],required:!1,default:null}},setup(e){const t=e,n=Ee("aside"),s=k(()=>t.width?n.cssVarBlock({width:t.width}):{});return(a,o)=>(S(),P("aside",{class:D(f(n).b()),style:tt(s.value)},[ue(a.$slots,"default")],6))}}),$k=W({name:"ElFooter",__name:"footer",props:{height:{type:[String,null],required:!1,default:null}},setup(e){const t=e,n=Ee("footer"),s=k(()=>t.height?n.cssVarBlock({height:t.height}):{});return(a,o)=>(S(),P("footer",{class:D(f(n).b()),style:tt(s.value)},[ue(a.$slots,"default")],6))}}),Dk=W({name:"ElHeader",__name:"header",props:{height:{type:[String,null],required:!1,default:null}},setup(e){const t=e,n=Ee("header"),s=k(()=>t.height?n.cssVarBlock({height:t.height}):{});return(a,o)=>(S(),P("header",{class:D(f(n).b()),style:tt(s.value)},[ue(a.$slots,"default")],6))}}),Fk=W({name:"ElMain",__name:"main",setup(e){const t=Ee("main");return(n,s)=>(S(),P("main",{class:D(f(t).b())},[ue(n.$slots,"default")],2))}});const vse=pt(pse,{Aside:Nk,Footer:$k,Header:Dk,Main:Fk}),mse=An(Nk),gse=An($k),bse=An(Dk),yse=An(Fk);var Bk={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},s=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,o=/\d\d/,r=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,l={},c=function(g){return(g=+g)+(g>68?1900:2e3)},u=function(g){return function(b){this[g]=+b}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var C=b.match(/([+-]|\d\d)/g),w=60*C[1]+(+C[2]||0);return w===0?0:C[0]==="+"?-w:w}(g)}],h=function(g){var b=l[g];return b&&(b.indexOf?b:b.s.concat(b.f))},p=function(g,b){var C,w=l.meridiem;if(w){for(var _=1;_<=24;_+=1)if(g.indexOf(w(_,0,b))>-1){C=_>12;break}}else C=g===(b?"pm":"PM");return C},v={A:[i,function(g){this.afternoon=p(g,!1)}],a:[i,function(g){this.afternoon=p(g,!0)}],Q:[a,function(g){this.month=3*(g-1)+1}],S:[a,function(g){this.milliseconds=100*+g}],SS:[o,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[r,u("seconds")],ss:[r,u("seconds")],m:[r,u("minutes")],mm:[r,u("minutes")],H:[r,u("hours")],h:[r,u("hours")],HH:[r,u("hours")],hh:[r,u("hours")],D:[r,u("day")],DD:[o,u("day")],Do:[i,function(g){var b=l.ordinal,C=g.match(/\d+/);if(this.day=C[0],b)for(var w=1;w<=31;w+=1)b(w).replace(/\[|\]/g,"")===g&&(this.day=w)}],w:[r,u("week")],ww:[o,u("week")],M:[r,u("month")],MM:[o,u("month")],MMM:[i,function(g){var b=h("months"),C=(h("monthsShort")||b.map(function(w){return w.slice(0,3)})).indexOf(g)+1;if(C<1)throw new Error;this.month=C%12||C}],MMMM:[i,function(g){var b=h("months").indexOf(g)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,u("year")],YY:[o,function(g){this.year=c(g)}],YYYY:[/\d{4}/,u("year")],Z:d,ZZ:d};function m(g){var b,C;b=g,C=l&&l.formats;for(var w=(g=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(M,$,O){var B=O&&O.toUpperCase();return $||C[O]||n[O]||C[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(U,J,Y){return J||Y.slice(1)})})).match(s),_=w.length,x=0;x<_;x+=1){var E=w[x],T=v[E],R=T&&T[0],I=T&&T[1];w[x]=I?{regex:R,parser:I}:E.replace(/^\[|\]$/g,"")}return function(M){for(var $={},O=0,B=0;O<_;O+=1){var U=w[O];if(typeof U=="string")B+=U.length;else{var J=U.regex,Y=U.parser,N=M.slice(B),L=J.exec(N)[0];Y.call($,L),M=M.replace(L,"")}}return function(V){var z=V.afternoon;if(z!==void 0){var G=V.hours;z?G<12&&(V.hours+=12):G===12&&(V.hours=0),delete V.afternoon}}($),$}}return function(g,b,C){C.p.customParseFormat=!0,g&&g.parseTwoDigitYear&&(c=g.parseTwoDigitYear);var w=b.prototype,_=w.parse;w.parse=function(x){var E=x.date,T=x.utc,R=x.args;this.$u=T;var I=R[1];if(typeof I=="string"){var M=R[2]===!0,$=R[3]===!0,O=M||$,B=R[2];$&&(B=R[2]),l=this.$locale(),!M&&B&&(l=C.Ls[B]),this.$d=function(N,L,V,z){try{if(["x","X"].indexOf(L)>-1)return new Date((L==="X"?1e3:1)*N);var G=m(L)(N),Q=G.year,K=G.month,ee=G.day,ae=G.hours,fe=G.minutes,ne=G.seconds,pe=G.milliseconds,he=G.zone,ce=G.week,Z=new Date,H=ee||(Q||K?1:Z.getDate()),te=Q||Z.getFullYear(),de=0;Q&&!K||(de=K>0?K-1:Z.getMonth());var be,_e=ae||0,Se=fe||0,Ne=ne||0,Ve=pe||0;return he?new Date(Date.UTC(te,de,H,_e,Se,Ne,Ve+60*he.offset*1e3)):V?new Date(Date.UTC(te,de,H,_e,Se,Ne,Ve)):(be=new Date(te,de,H,_e,Se,Ne,Ve),ce&&(be=z(be).week(ce).toDate()),be)}catch{return new Date("")}}(E,I,T,C),this.init(),B&&B!==!0&&(this.$L=this.locale(B).$L),O&&E!=this.format(I)&&(this.$d=new Date("")),l={}}else if(I instanceof Array)for(var U=I.length,J=1;J<=U;J+=1){R[1]=I[J-1];var Y=C.apply(this,R);if(Y.isValid()){this.$d=Y.$d,this.$L=Y.$L,this.init();break}J===U&&(this.$d=new Date(""))}else _.call(this,x)}}})})(Bk);var wse=Bk.exports;const F3=nl(wse),Vk=["hours","minutes","seconds"],gr="EP_PICKER_BASE",B3="ElPopperOptions",zk=Symbol("commonPickerContextKey"),zf="HH:mm:ss",uc="YYYY-MM-DD",_se={date:uc,dates:uc,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:`${uc} ${zf}`,monthrange:"YYYY-MM",yearrange:"YYYY",daterange:uc,datetimerange:`${uc} ${zf}`},Hk=(e,t)=>{const{lang:n}=It(),s=F(!1),a=F(!1),o=F(null),r=k(()=>{const{modelValue:v}=e;return!v||ke(v)&&!v.filter(Boolean).length}),i=v=>{if(!BE(e.modelValue,v)){let m;ke(v)?m=v.map(b=>zE(b,e.valueFormat,n.value)):v&&(m=zE(v,e.valueFormat,n.value)),t(ct,v&&m,n.value)}},l=k(()=>{var v;let m;if(r.value?c.value.getDefaultValue&&(m=c.value.getDefaultValue()):ke(e.modelValue)?m=e.modelValue.map(g=>VE(g,e.valueFormat,n.value)):m=VE((v=e.modelValue)!=null?v:"",e.valueFormat,n.value),c.value.getRangeAvailableTime){const g=c.value.getRangeAvailableTime(m);$n(g,m)||(m=g,r.value||i(Bg(m)))}return ke(m)&&m.some(g=>!g)&&(m=[]),m}),c=F({});return{parsedValue:l,pickerActualVisible:a,pickerOptions:c,pickerVisible:s,userInput:o,valueIsEmpty:r,emitInput:i,onCalendarChange:v=>{t("calendar-change",v)},onPanelChange:(v,m,g)=>{t("panel-change",v,m,g)},onPick:(v="",m=!1)=>{s.value=m;let g;ke(v)?g=v.map(b=>b.toDate()):g=v&&v.toDate(),o.value=null,i(g)},onSetPickerOption:v=>{c.value[v[0]]=v[1],c.value.panelReady=!0}}},V3=Te({disabledHours:{type:re(Function)},disabledMinutes:{type:re(Function)},disabledSeconds:{type:re(Function)}}),Wk=Te({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),z3=Te({automaticDropdown:{type:Boolean,default:!0},id:{type:re([Array,String])},name:{type:re([Array,String])},popperClass:tn.popperClass,popperStyle:tn.popperStyle,format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:re([String,Object]),default:$o},editable:{type:Boolean,default:!0},prefixIcon:{type:re([String,Object]),default:""},size:rs,readonly:Boolean,disabled:{type:Boolean,default:void 0},placeholder:{type:String,default:""},popperOptions:{type:re(Object),default:()=>({})},modelValue:{type:re([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:re([Date,Array])},defaultTime:{type:re([Date,Array])},isRange:Boolean,...V3,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:re([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,placement:{type:re(String),values:Qr,default:"bottom"},fallbackPlacements:{type:re(Array),default:["bottom","top","right","left"]},...wu,...ia(["ariaLabel"]),showNow:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean}),Cse=Te({id:{type:re(Array)},name:{type:re(Array)},modelValue:{type:re([Array,String])},startPlaceholder:String,endPlaceholder:String,disabled:Boolean}),Sse=["id","name","placeholder","value","disabled"],xse=["id","name","placeholder","value","disabled"];var Ese=W({name:"PickerRangeTrigger",inheritAttrs:!1,__name:"picker-range-trigger",props:Cse,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(e,{expose:t,emit:n}){const s=e,a=n,{formItem:o}=Cs(),{inputId:r}=uo(Wt({id:k(()=>{var R;return(R=s.id)==null?void 0:R[0]})}),{formItemContext:o}),i=Pg(),l=Ee("date"),c=Ee("range"),u=F(),d=F(),{wrapperRef:h,isFocused:p}=Qi(u,{disabled:k(()=>s.disabled)}),v=R=>{a("click",R)},m=R=>{a("mouseenter",R)},g=R=>{a("mouseleave",R)},b=R=>{a("touchstart",R)},C=R=>{a("startInput",R)},w=R=>{a("endInput",R)},_=R=>{a("startChange",R)},x=R=>{a("endChange",R)};return t({focus:()=>{var R;(R=u.value)==null||R.focus()},blur:()=>{var R,I;(R=u.value)==null||R.blur(),(I=d.value)==null||I.blur()}}),(R,I)=>(S(),P("div",{ref_key:"wrapperRef",ref:h,class:D([f(l).is("active",f(p)),R.$attrs.class]),style:tt(R.$attrs.style),onClick:v,onMouseenter:m,onMouseleave:g,onTouchstartPassive:b},[ue(R.$slots,"prefix"),A("input",wt(f(i),{id:f(r),ref_key:"inputRef",ref:u,name:R.name&&R.name[0],placeholder:R.startPlaceholder,value:R.modelValue&&R.modelValue[0],class:f(c).b("input"),disabled:R.disabled,onInput:C,onChange:_}),null,16,Sse),ue(R.$slots,"range-separator"),A("input",wt(f(i),{id:R.id&&R.id[1],ref_key:"endInputRef",ref:d,name:R.name&&R.name[1],placeholder:R.endPlaceholder,value:R.modelValue&&R.modelValue[1],class:f(c).b("input"),disabled:R.disabled,onInput:w,onChange:x}),null,16,xse),ue(R.$slots,"suffix")],38))}}),jk=W({name:"Picker",__name:"picker",props:z3,emits:[ct,Pt,"focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:n}){const s=e,a=n,o=Bi(),r=Ee("date"),i=Ee("input"),l=Ee("range"),{formItem:c}=Cs(),u=je(B3,{}),d=wp(s,null),h=F(),p=F(),v=F(null);let m=!1;const g=In(),b=Hk(s,a),{parsedValue:C,pickerActualVisible:w,userInput:_,pickerVisible:x,pickerOptions:E,valueIsEmpty:T,emitInput:R,onPick:I,onSetPickerOption:M,onCalendarChange:$,onPanelChange:O}=b,{isFocused:B,handleFocus:U,handleBlur:J}=Qi(p,{disabled:g,beforeFocus(){return s.readonly},afterFocus(){s.automaticDropdown&&(x.value=!0)},beforeBlur(ye){var Ye;return!m&&((Ye=h.value)==null?void 0:Ye.isFocusInsideContent(ye))},afterBlur(){Qe(),x.value=!1,m=!1,s.validateEvent&&(c==null||c.validate("blur").catch(ye=>void 0))}}),Y=F(!1),N=k(()=>[r.b("editor"),r.bm("editor",s.type),i.e("wrapper"),r.is("disabled",g.value),r.is("active",x.value),l.b("editor"),Oe?l.bm("editor",Oe.value):"",o.class]),L=k(()=>[i.e("icon"),l.e("close-icon"),be.value?"":l.em("close-icon","hidden")]);me(x,ye=>{ye?ze(()=>{ye&&(v.value=s.modelValue)}):(_.value=null,ze(()=>{V(s.modelValue)}))});const V=(ye,Ye)=>{(Ye||!BE(ye,v.value))&&(a(Pt,ye),Ye&&(v.value=ye),s.validateEvent&&(c==null||c.validate("change").catch(Ct=>void 0)))},z=ye=>{a("keydown",ye)},G=k(()=>p.value?Array.from(p.value.$el.querySelectorAll("input")):[]),Q=(ye,Ye,Ct)=>{const Xt=G.value;Xt.length&&(!Ct||Ct==="min"?(Xt[0].setSelectionRange(ye,Ye),Xt[0].focus()):Ct==="max"&&(Xt[1].setSelectionRange(ye,Ye),Xt[1].focus()))},K=()=>{w.value=!0},ee=()=>{a("visible-change",!0)},ae=()=>{w.value=!1,x.value=!1,a("visible-change",!1)},fe=()=>{x.value=!0},ne=()=>{x.value=!1},pe=k(()=>{const ye=De(C.value);return ke(_.value)?[_.value[0]||ye&&ye[0]||"",_.value[1]||ye&&ye[1]||""]:_.value!==null?_.value:!ce.value&&T.value||!x.value&&T.value?"":ye?Z.value||H.value||te.value?ye.join(", "):ye:""}),he=k(()=>s.type.includes("time")),ce=k(()=>s.type.startsWith("time")),Z=k(()=>s.type==="dates"),H=k(()=>s.type==="months"),te=k(()=>s.type==="years"),de=k(()=>s.prefixIcon||(he.value?$y:jx)),be=k(()=>s.clearable&&!g.value&&!s.readonly&&!T.value&&(Y.value||B.value)),_e=ye=>{s.readonly||g.value||(be.value&&(ye==null||ye.stopPropagation(),E.value.handleClear?E.value.handleClear():R(d.valueOnClear.value),V(d.valueOnClear.value,!0),ae()),a("clear"))},Se=async ye=>{var Ye;s.readonly||g.value||(((Ye=ye.target)==null?void 0:Ye.tagName)!=="INPUT"||B.value||!s.automaticDropdown)&&(x.value=!0)},Ne=()=>{s.readonly||g.value||!T.value&&s.clearable&&(Y.value=!0)},Ve=()=>{Y.value=!1},$e=ye=>{var Ye;s.readonly||g.value||(((Ye=ye.touches[0].target)==null?void 0:Ye.tagName)!=="INPUT"||B.value||!s.automaticDropdown)&&(x.value=!0)},we=k(()=>s.type.includes("range")),Oe=ts(),Pe=k(()=>{var ye,Ye;return(Ye=(ye=f(h))==null?void 0:ye.popperRef)==null?void 0:Ye.contentRef}),We=My(p,ye=>{const Ye=f(Pe),Ct=os(p);Ye&&(ye.target===Ye||ye.composedPath().includes(Ye))||ye.target===Ct||Ct&&ye.composedPath().includes(Ct)||(x.value=!1)});Gt(()=>{We==null||We()});const Qe=()=>{if(_.value){const ye=it(pe.value);ye&&(Ke(ye)&&R(Bg(ye)),_.value=null)}_.value===""&&(R(d.valueOnClear.value),V(d.valueOnClear.value,!0),_.value=null)},it=ye=>ye?E.value.parseUserInput(ye):null,De=ye=>ye?ke(ye)?ye.map(Ct=>Ct.format(s.format)):ye.format(s.format):null,Ke=ye=>E.value.isValidValue(ye),nt=async ye=>{if(s.readonly||g.value)return;const Ye=an(ye);if(z(ye),Ye===Ae.esc){x.value===!0&&(x.value=!1,ye.preventDefault(),ye.stopPropagation());return}if(Ye===Ae.down&&(E.value.handleFocusPicker&&(ye.preventDefault(),ye.stopPropagation()),x.value===!1&&(x.value=!0,await ze()),E.value.handleFocusPicker)){E.value.handleFocusPicker();return}if(Ye===Ae.tab){m=!0;return}if(Ye===Ae.enter||Ye===Ae.numpadEnter){x.value?(_.value===null||_.value===""||Ke(it(pe.value)))&&(Qe(),x.value=!1):x.value=!0,ye.preventDefault(),ye.stopPropagation();return}if(_.value){ye.stopPropagation();return}E.value.handleKeydownInput&&E.value.handleKeydownInput(ye)},Ft=ye=>{_.value=ye,x.value||(x.value=!0)},Kt=ye=>{const Ye=ye.target;_.value?_.value=[Ye.value,_.value[1]]:_.value=[Ye.value,null]},ot=ye=>{const Ye=ye.target;_.value?_.value=[_.value[0],Ye.value]:_.value=[null,Ye.value]},dt=()=>{var ye;const Ye=_.value,Ct=it(Ye&&Ye[0]),Xt=f(C);if(Ct&&Ct.isValid()){_.value=[De(Ct),((ye=pe.value)==null?void 0:ye[1])||null];const wn=[Ct,Xt&&(Xt[1]||null)];Ke(wn)&&(R(Bg(wn)),_.value=null)}},kt=()=>{var ye;const Ye=f(_),Ct=it(Ye&&Ye[1]),Xt=f(C);if(Ct&&Ct.isValid()){_.value=[((ye=f(pe))==null?void 0:ye[0])||null,De(Ct)];const wn=[Xt&&Xt[0],Ct];Ke(wn)&&(R(Bg(wn)),_.value=null)}},xe=()=>{var ye;(ye=p.value)==null||ye.focus()},qe=()=>{var ye;(ye=p.value)==null||ye.blur()};return Tt(gr,{props:s,emptyValues:d}),Tt(zk,b),t({focus:xe,blur:qe,handleOpen:fe,handleClose:ne,onPick:I}),(ye,Ye)=>(S(),le(f(Ss),wt({ref_key:"refPopper",ref:h,visible:f(x),effect:"light",pure:"",trigger:"click"},ye.$attrs,{role:"dialog",teleported:"",transition:`${f(r).namespace.value}-zoom-in-top`,"popper-class":[`${f(r).namespace.value}-picker__popper`,ye.popperClass],"popper-style":ye.popperStyle,"popper-options":f(u),"fallback-placements":ye.fallbackPlacements,"gpu-acceleration":!1,placement:ye.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:K,onShow:ee,onHide:ae}),{default:X(()=>[we.value?(S(),le(Ese,{key:1,id:ye.id,ref_key:"inputRef",ref:p,"model-value":pe.value,name:ye.name,disabled:f(g),readonly:!ye.editable||ye.readonly,"start-placeholder":ye.startPlaceholder,"end-placeholder":ye.endPlaceholder,class:D(N.value),style:tt(ye.$attrs.style),"aria-label":ye.ariaLabel,tabindex:ye.tabindex,autocomplete:"off",role:"combobox",onClick:Se,onFocus:f(U),onBlur:f(J),onStartInput:Kt,onStartChange:dt,onEndInput:ot,onEndChange:kt,onMousedown:Se,onMouseenter:Ne,onMouseleave:Ve,onTouchstartPassive:$e,onKeydown:nt},{prefix:X(()=>[de.value?(S(),le(f(Je),{key:0,class:D([f(i).e("icon"),f(l).e("icon")])},{default:X(()=>[(S(),le(bt(de.value)))]),_:1},8,["class"])):ie("v-if",!0)]),"range-separator":X(()=>[ue(ye.$slots,"range-separator",{},()=>[A("span",{class:D(f(l).b("separator"))},ve(ye.rangeSeparator),3)])]),suffix:X(()=>[ye.clearIcon?(S(),le(f(Je),{key:0,class:D(L.value),onMousedown:lt(f(qt),["prevent"]),onClick:_e},{default:X(()=>[(S(),le(bt(ye.clearIcon)))]),_:1},8,["class","onMousedown"])):ie("v-if",!0)]),_:3},8,["id","model-value","name","disabled","readonly","start-placeholder","end-placeholder","class","style","aria-label","tabindex","onFocus","onBlur"])):(S(),le(f(la),{key:0,id:ye.id,ref_key:"inputRef",ref:p,"container-role":"combobox","model-value":pe.value,name:ye.name,size:f(Oe),disabled:f(g),placeholder:ye.placeholder,class:D([f(r).b("editor"),f(r).bm("editor",ye.type),f(r).is("focus",f(x)),ye.$attrs.class]),style:tt(ye.$attrs.style),readonly:!ye.editable||ye.readonly||Z.value||H.value||te.value||ye.type==="week","aria-label":ye.ariaLabel,tabindex:ye.tabindex,"validate-event":!1,onInput:Ft,onFocus:f(U),onBlur:f(J),onKeydown:nt,onChange:Qe,onMousedown:Se,onMouseenter:Ne,onMouseleave:Ve,onTouchstartPassive:$e,onClick:Ye[0]||(Ye[0]=lt(()=>{},["stop"]))},{prefix:X(()=>[de.value?(S(),le(f(Je),{key:0,class:D(f(i).e("icon")),onMousedown:lt(Se,["prevent"]),onTouchstartPassive:$e},{default:X(()=>[(S(),le(bt(de.value)))]),_:1},8,["class"])):ie("v-if",!0)]),suffix:X(()=>[be.value&&ye.clearIcon?(S(),le(f(Je),{key:0,class:D(`${f(i).e("icon")} clear-icon`),onMousedown:lt(f(qt),["prevent"]),onClick:_e},{default:X(()=>[(S(),le(bt(ye.clearIcon)))]),_:1},8,["class","onMousedown"])):ie("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onFocus","onBlur"]))]),content:X(()=>[ue(ye.$slots,"default",{visible:f(x),actualVisible:f(w),parsedValue:f(C),format:ye.format,dateFormat:ye.dateFormat,timeFormat:ye.timeFormat,unlinkPanels:ye.unlinkPanels,type:ye.type,defaultValue:ye.defaultValue,showNow:ye.showNow,showConfirm:ye.showConfirm,showFooter:ye.showFooter,showWeekNumber:ye.showWeekNumber,onPick:Ye[1]||(Ye[1]=(...Ct)=>f(I)&&f(I)(...Ct)),onSelectRange:Q,onSetPickerOption:Ye[2]||(Ye[2]=(...Ct)=>f(M)&&f(M)(...Ct)),onCalendarChange:Ye[3]||(Ye[3]=(...Ct)=>f($)&&f($)(...Ct)),onClear:_e,onPanelChange:Ye[4]||(Ye[4]=(...Ct)=>f(O)&&f(O)(...Ct)),onMousedown:Ye[5]||(Ye[5]=lt(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-style","popper-options","fallback-placements","placement"]))}});const kse=Te({...Wk,datetimeRole:String,parsedValue:{type:re(Object)}}),Kk=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const s=(r,i,l,c)=>{const u={hour:e,minute:t,second:n};let d=r;return["hour","minute","second"].forEach(h=>{if(u[h]){let p;const v=u[h];switch(h){case"minute":{p=v(d.hour(),i,c);break}case"second":{p=v(d.hour(),d.minute(),i,c);break}default:{p=v(i,c);break}}if(p!=null&&p.length&&!p.includes(d[h]())){const m=l?0:p.length-1;d=d[h](p[m])}}}),d},a={};return{timePickerOptions:a,getAvailableTime:s,onSetOption:([r,i])=>{a[r]=i}}},H3=e=>{const t=(s,a)=>s||a,n=s=>s!==!0;return e.map(t).filter(n)},Uk=(e,t,n)=>({getHoursList:(r,i)=>y3(24,e&&(()=>e==null?void 0:e(r,i))),getMinutesList:(r,i,l)=>y3(60,t&&(()=>t==null?void 0:t(r,i,l))),getSecondsList:(r,i,l,c)=>y3(60,n&&(()=>n==null?void 0:n(r,i,l,c)))}),qk=(e,t,n)=>{const{getHoursList:s,getMinutesList:a,getSecondsList:o}=Uk(e,t,n);return{getAvailableHours:(c,u)=>H3(s(c,u)),getAvailableMinutes:(c,u,d)=>H3(a(c,u,d)),getAvailableSeconds:(c,u,d,h)=>H3(o(c,u,d,h))}},Gk=e=>{const t=F(e.parsedValue);return me(()=>e.visible,n=>{n||(t.value=e.parsedValue)}),t},Ase=Te({role:{type:String,required:!0},spinnerDate:{type:re(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:re(String),default:""},...V3}),Tse=100,Mse=600,qg="_RepeatClick",Gg={beforeMount(e,t){const n=t.value,{interval:s=Tse,delay:a=Mse}=et(n)?{}:n;let o,r;const i=()=>et(n)?n():n.handler(),l=()=>{r&&(clearTimeout(r),r=void 0),o&&(clearInterval(o),o=void 0)},c=u=>{u.button===0&&(l(),i(),document.addEventListener("mouseup",l,{once:!0}),r=setTimeout(()=>{o=setInterval(()=>{i()},s)},a))};e[qg]={start:c,clear:l},e.addEventListener("mousedown",c)},unmounted(e){if(!e[qg])return;const{start:t,clear:n}=e[qg];t&&e.removeEventListener("mousedown",t),n&&(n(),document.removeEventListener("mouseup",n)),e[qg]=null}},Pse=["onClick"],Rse=["onMouseenter"];var W3=W({__name:"basic-time-spinner",props:Ase,emits:[Pt,"select-range","set-option"],setup(e,{emit:t}){const n=e,s=je(gr),{isRange:a,format:o}=s.props,r=t,i=Ee("time"),{getHoursList:l,getMinutesList:c,getSecondsList:u}=Uk(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let d=!1;const h=F(),g={hours:F(),minutes:F(),seconds:F()},b=k(()=>n.showSeconds?Vk:Vk.slice(0,2)),C=k(()=>{const{spinnerDate:K}=n,ee=K.hour(),ae=K.minute(),fe=K.second();return{hours:ee,minutes:ae,seconds:fe}}),w=k(()=>{const{hours:K,minutes:ee}=f(C),{role:ae,spinnerDate:fe}=n,ne=a?void 0:fe;return{hours:l(ae,ne),minutes:c(K,ae,ne),seconds:u(K,ee,ae,ne)}}),_=k(()=>{const{hours:K,minutes:ee,seconds:ae}=f(C);return{hours:b3(K,23),minutes:b3(ee,59),seconds:b3(ae,59)}}),x=Xr(K=>{d=!1,R(K)},200),E=K=>{if(!!!n.amPmMode)return"";const ae=n.amPmMode==="A";let fe=K<12?" am":" pm";return ae&&(fe=fe.toUpperCase()),fe},T=K=>{let ee=[0,0];const ae=o||zf,fe=ae.indexOf("HH"),ne=ae.indexOf("mm"),pe=ae.indexOf("ss");switch(K){case"hours":fe!==-1&&(ee=[fe,fe+2]);break;case"minutes":ne!==-1&&(ee=[ne,ne+2]);break;case"seconds":pe!==-1&&(ee=[pe,pe+2]);break}const[he,ce]=ee;r("select-range",he,ce),h.value=K},R=K=>{$(K,f(C)[K])},I=()=>{R("hours"),R("minutes"),R("seconds")},M=K=>K.querySelector(`.${i.namespace.value}-scrollbar__wrap`),$=(K,ee)=>{if(n.arrowControl)return;const ae=f(g[K]);ae&&ae.$el&&(M(ae.$el).scrollTop=Math.max(0,ee*O(K)))},O=K=>{const ee=f(g[K]),ae=ee==null?void 0:ee.$el.querySelector("li");return ae&&Number.parseFloat(Gi(ae,"height"))||0},B=()=>{J(1)},U=()=>{J(-1)},J=K=>{h.value||T("hours");const ee=h.value,ae=f(C)[ee],fe=h.value==="hours"?24:60,ne=Y(ee,ae,K,fe);N(ee,ne),$(ee,ne),ze(()=>T(ee))},Y=(K,ee,ae,fe)=>{let ne=(ee+ae+fe)%fe;const pe=f(w)[K];for(;pe[ne]&&ne!==ee;)ne=(ne+ae+fe)%fe;return ne},N=(K,ee)=>{if(f(w)[K][ee])return;const{hours:ne,minutes:pe,seconds:he}=f(C);let ce;switch(K){case"hours":ce=n.spinnerDate.hour(ee).minute(pe).second(he);break;case"minutes":ce=n.spinnerDate.hour(ne).minute(ee).second(he);break;case"seconds":ce=n.spinnerDate.hour(ne).minute(pe).second(ee);break}r(Pt,ce)},L=(K,{value:ee,disabled:ae})=>{ae||(N(K,ee),T(K),$(K,ee))},V=K=>{const ee=f(g[K]);if(!ee)return;d=!0,x(K);const ae=Math.min(Math.round((M(ee.$el).scrollTop-(z(K)*.5-10)/O(K)+3)/O(K)),K==="hours"?23:59);N(K,ae)},z=K=>f(g[K]).$el.offsetHeight,G=()=>{const K=ee=>{const ae=f(g[ee]);ae&&ae.$el&&(M(ae.$el).onscroll=()=>{V(ee)})};K("hours"),K("minutes"),K("seconds")};St(()=>{ze(()=>{!n.arrowControl&&G(),I(),n.role==="start"&&T("hours")})});const Q=(K,ee)=>{g[ee].value=K??void 0};return r("set-option",[`${n.role}_scrollDown`,J]),r("set-option",[`${n.role}_emitSelectRange`,T]),me(()=>n.spinnerDate,()=>{d||I()}),(K,ee)=>(S(),P("div",{class:D([f(i).b("spinner"),{"has-seconds":K.showSeconds}])},[K.arrowControl?ie("v-if",!0):(S(!0),P(He,{key:0},yt(b.value,ae=>(S(),le(f(pr),{key:ae,ref_for:!0,ref:fe=>Q(fe,ae),class:D(f(i).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":f(i).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:fe=>T(ae),onMousemove:fe=>R(ae)},{default:X(()=>[(S(!0),P(He,null,yt(w.value[ae],(fe,ne)=>(S(),P("li",{key:ne,class:D([f(i).be("spinner","item"),f(i).is("active",ne===C.value[ae]),f(i).is("disabled",fe)]),onClick:pe=>L(ae,{value:ne,disabled:fe})},[ae==="hours"?(S(),P(He,{key:0},[Ue(ve(("0"+(K.amPmMode?ne%12||12:ne)).slice(-2))+ve(E(ne)),1)],64)):(S(),P(He,{key:1},[Ue(ve(("0"+ne).slice(-2)),1)],64))],10,Pse))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),K.arrowControl?(S(!0),P(He,{key:1},yt(b.value,ae=>(S(),P("div",{key:ae,class:D([f(i).be("spinner","wrapper"),f(i).is("arrow")]),onMouseenter:fe=>T(ae)},[gt((S(),le(f(Je),{class:D(["arrow-up",f(i).be("spinner","arrow")])},{default:X(()=>[j(f(Sp))]),_:1},8,["class"])),[[f(Gg),U]]),gt((S(),le(f(Je),{class:D(["arrow-down",f(i).be("spinner","arrow")])},{default:X(()=>[j(f(hr))]),_:1},8,["class"])),[[f(Gg),B]]),A("ul",{class:D(f(i).be("spinner","list"))},[(S(!0),P(He,null,yt(_.value[ae],(fe,ne)=>(S(),P("li",{key:ne,class:D([f(i).be("spinner","item"),f(i).is("active",fe===C.value[ae]),f(i).is("disabled",w.value[ae][fe])])},[f(at)(fe)?(S(),P(He,{key:0},[ae==="hours"?(S(),P(He,{key:0},[Ue(ve(("0"+(K.amPmMode?fe%12||12:fe)).slice(-2))+ve(E(fe)),1)],64)):(S(),P(He,{key:1},[Ue(ve(("0"+fe).slice(-2)),1)],64))],64)):ie("v-if",!0)],2))),128))],2)],42,Rse))),128)):ie("v-if",!0)],2))}}),Yg=W({__name:"panel-time-pick",props:kse,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,s=t,a=je(gr),{arrowControl:o,disabledHours:r,disabledMinutes:i,disabledSeconds:l,defaultValue:c}=a.props,{getAvailableHours:u,getAvailableMinutes:d,getAvailableSeconds:h}=qk(r,i,l),p=Ee("time"),{t:v,lang:m}=It(),g=F([0,2]),b=Gk(n),C=k(()=>$t(n.actualVisible)?`${p.namespace.value}-zoom-in-top`:""),w=k(()=>n.format.includes("ss")),_=k(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),x=L=>{const V=vt(L).locale(m.value),z=J(V);return V.isSame(z)},E=()=>{const L=b.value;s("pick",L,!1),ze(()=>{b.value=L})},T=(L=!1,V=!1)=>{V||s("pick",n.parsedValue,L)},R=L=>{if(!n.visible)return;const V=J(L).millisecond(0);s("pick",V,!0)},I=(L,V)=>{s("select-range",L,V),g.value=[L,V]},M=L=>{const V=n.format,z=V.indexOf("HH"),G=V.indexOf("mm"),Q=V.indexOf("ss"),K=[],ee=[];z!==-1&&(K.push(z),ee.push("hours")),G!==-1&&(K.push(G),ee.push("minutes")),Q!==-1&&w.value&&(K.push(Q),ee.push("seconds"));const fe=(K.indexOf(g.value[0])+L+K.length)%K.length;O.start_emitSelectRange(ee[fe])},$=L=>{const V=an(L),{left:z,right:G,up:Q,down:K}=Ae;if([z,G].includes(V)){M(V===z?-1:1),L.preventDefault();return}if([Q,K].includes(V)){const ee=V===Q?-1:1;O.start_scrollDown(ee),L.preventDefault();return}},{timePickerOptions:O,onSetOption:B,getAvailableTime:U}=Kk({getAvailableHours:u,getAvailableMinutes:d,getAvailableSeconds:h}),J=L=>U(L,n.datetimeRole||"",!0),Y=L=>L?vt(L,n.format).locale(m.value):null,N=()=>vt(c).locale(m.value);return s("set-picker-option",["isValidValue",x]),s("set-picker-option",["parseUserInput",Y]),s("set-picker-option",["handleKeydownInput",$]),s("set-picker-option",["getRangeAvailableTime",J]),s("set-picker-option",["getDefaultValue",N]),(L,V)=>(S(),le(vs,{name:C.value},{default:X(()=>[L.actualVisible||L.visible?(S(),P("div",{key:0,class:D(f(p).b("panel"))},[A("div",{class:D([f(p).be("panel","content"),{"has-seconds":w.value}])},[j(W3,{ref:"spinner",role:L.datetimeRole||"start","arrow-control":f(o),"show-seconds":w.value,"am-pm-mode":_.value,"spinner-date":L.parsedValue,"disabled-hours":f(r),"disabled-minutes":f(i),"disabled-seconds":f(l),onChange:R,onSetOption:f(B),onSelectRange:I},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),A("div",{class:D(f(p).be("panel","footer"))},[A("button",{type:"button",class:D([f(p).be("panel","btn"),"cancel"]),onClick:E},ve(f(v)("el.datepicker.cancel")),3),A("button",{type:"button",class:D([f(p).be("panel","btn"),"confirm"]),onClick:V[0]||(V[0]=z=>T())},ve(f(v)("el.datepicker.confirm")),3)],2)],2)):ie("v-if",!0)]),_:1},8,["name"]))}});const Ise=Te({...Wk,parsedValue:{type:re(Array)}}),Ose=["disabled"];var Lse=W({__name:"panel-time-range",props:Ise,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,s=t,a=(Z,H)=>{const te=[];for(let de=Z;de<=H;de++)te.push(de);return te},{t:o,lang:r}=It(),i=Ee("time"),l=Ee("picker"),c=je(gr),{arrowControl:u,disabledHours:d,disabledMinutes:h,disabledSeconds:p,defaultValue:v}=c.props,m=k(()=>[i.be("range-picker","body"),i.be("panel","content"),i.is("arrow",u),x.value?"has-seconds":""]),g=k(()=>[i.be("range-picker","body"),i.be("panel","content"),i.is("arrow",u),x.value?"has-seconds":""]),b=k(()=>n.parsedValue[0]),C=k(()=>n.parsedValue[1]),w=Gk(n),_=()=>{const Z=w.value;s("pick",Z,!1),ze(()=>{w.value=Z})},x=k(()=>n.format.includes("ss")),E=k(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),T=(Z=!1)=>{s("pick",[b.value,C.value],Z)},R=Z=>{$(Z.millisecond(0),C.value)},I=Z=>{$(b.value,Z.millisecond(0))},M=Z=>{const H=Z.map(de=>vt(de).locale(r.value)),te=Q(H);return H[0].isSame(te[0])&&H[1].isSame(te[1])},$=(Z,H)=>{n.visible&&s("pick",[Z,H],!0)},O=k(()=>b.value>C.value),B=F([0,2]),U=(Z,H)=>{s("select-range",Z,H,"min"),B.value=[Z,H]},J=k(()=>x.value?11:8),Y=(Z,H)=>{s("select-range",Z,H,"max");const te=f(J);B.value=[Z+te,H+te]},N=Z=>{const H=x.value?[0,3,6,11,14,17]:[0,3,8,11],te=["hours","minutes"].concat(x.value?["seconds"]:[]),be=(H.indexOf(B.value[0])+Z+H.length)%H.length,_e=H.length/2;be<_e?fe.start_emitSelectRange(te[be]):fe.end_emitSelectRange(te[be-_e])},L=Z=>{const H=an(Z),{left:te,right:de,up:be,down:_e}=Ae;if([te,de].includes(H)){N(H===te?-1:1),Z.preventDefault();return}if([be,_e].includes(H)){const Se=H===be?-1:1,Ne=B.value[0]{const te=d?d(Z):[],de=Z==="start",_e=(H||(de?C.value:b.value)).hour(),Se=de?a(_e+1,23):a(0,_e-1);return ky(te,Se)},z=(Z,H,te)=>{const de=h?h(Z,H):[],be=H==="start",_e=te||(be?C.value:b.value),Se=_e.hour();if(Z!==Se)return de;const Ne=_e.minute(),Ve=be?a(Ne+1,59):a(0,Ne-1);return ky(de,Ve)},G=(Z,H,te,de)=>{const be=p?p(Z,H,te):[],_e=te==="start",Se=de||(_e?C.value:b.value),Ne=Se.hour(),Ve=Se.minute();if(Z!==Ne||H!==Ve)return be;const $e=Se.second(),we=_e?a($e+1,59):a(0,$e-1);return ky(be,we)},Q=([Z,H])=>[ne(Z,"start",!0,H),ne(H,"end",!1,Z)],{getAvailableHours:K,getAvailableMinutes:ee,getAvailableSeconds:ae}=qk(V,z,G),{timePickerOptions:fe,getAvailableTime:ne,onSetOption:pe}=Kk({getAvailableHours:K,getAvailableMinutes:ee,getAvailableSeconds:ae}),he=Z=>Z?ke(Z)?Z.map(H=>vt(H,n.format).locale(r.value)):vt(Z,n.format).locale(r.value):null,ce=()=>{if(ke(v))return v.map(H=>vt(H).locale(r.value));const Z=vt(v).locale(r.value);return[Z,Z.add(60,"m")]};return s("set-picker-option",["parseUserInput",he]),s("set-picker-option",["isValidValue",M]),s("set-picker-option",["handleKeydownInput",L]),s("set-picker-option",["getDefaultValue",ce]),s("set-picker-option",["getRangeAvailableTime",Q]),(Z,H)=>Z.actualVisible?(S(),P("div",{key:0,class:D([f(i).b("range-picker"),f(l).b("panel")])},[A("div",{class:D(f(i).be("range-picker","content"))},[A("div",{class:D(f(i).be("range-picker","cell"))},[A("div",{class:D(f(i).be("range-picker","header"))},ve(f(o)("el.datepicker.startTime")),3),A("div",{class:D(m.value)},[j(W3,{ref:"minSpinner",role:"start","show-seconds":x.value,"am-pm-mode":E.value,"arrow-control":f(u),"spinner-date":b.value,"disabled-hours":V,"disabled-minutes":z,"disabled-seconds":G,onChange:R,onSetOption:f(pe),onSelectRange:U},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),A("div",{class:D(f(i).be("range-picker","cell"))},[A("div",{class:D(f(i).be("range-picker","header"))},ve(f(o)("el.datepicker.endTime")),3),A("div",{class:D(g.value)},[j(W3,{ref:"maxSpinner",role:"end","show-seconds":x.value,"am-pm-mode":E.value,"arrow-control":f(u),"spinner-date":C.value,"disabled-hours":V,"disabled-minutes":z,"disabled-seconds":G,onChange:I,onSetOption:f(pe),onSelectRange:Y},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),A("div",{class:D(f(i).be("panel","footer"))},[A("button",{type:"button",class:D([f(i).be("panel","btn"),"cancel"]),onClick:H[0]||(H[0]=te=>_())},ve(f(o)("el.datepicker.cancel")),3),A("button",{type:"button",class:D([f(i).be("panel","btn"),"confirm"]),disabled:O.value,onClick:H[1]||(H[1]=te=>T())},ve(f(o)("el.datepicker.confirm")),11,Ose)],2)],2)):ie("v-if",!0)}});vt.extend(F3);var Nse=W({name:"ElTimePicker",install:null,props:{...z3,isRange:Boolean},emits:[ct],setup(e,t){const n=F(),[s,a]=e.isRange?["timerange",Lse]:["time",Yg],o=r=>t.emit(ct,r);return Tt(B3,e.popperOptions),t.expose({focus:()=>{var r;(r=n.value)==null||r.focus()},blur:()=>{var r;(r=n.value)==null||r.blur()},handleOpen:()=>{var r;(r=n.value)==null||r.handleOpen()},handleClose:()=>{var r;(r=n.value)==null||r.handleClose()}}),()=>{var r;const i=(r=e.format)!=null?r:zf;return j(jk,wt(e,{ref:n,type:s,format:i,"onUpdate:modelValue":o}),{default:l=>j(a,l,null)})}}});const $se=pt(Nse);var Yk={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){return function(n,s){var a=s.prototype,o=a.format;a.format=function(r){var i=this,l=this.$locale();if(!this.isValid())return o.bind(this)(r);var c=this.$utils(),u=(r||"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(d){switch(d){case"Q":return Math.ceil((i.$M+1)/3);case"Do":return l.ordinal(i.$D);case"gggg":return i.weekYear();case"GGGG":return i.isoWeekYear();case"wo":return l.ordinal(i.week(),"W");case"w":case"ww":return c.s(i.week(),d==="w"?1:2,"0");case"W":case"WW":return c.s(i.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return c.s(String(i.$H===0?24:i.$H),d==="k"?1:2,"0");case"X":return Math.floor(i.$d.getTime()/1e3);case"x":return i.$d.getTime();case"z":return"["+i.offsetName()+"]";case"zzz":return"["+i.offsetName("long")+"]";default:return d}});return o.bind(this)(u)}}})})(Yk);var Dse=Yk.exports;const Fse=nl(Dse);var Xk={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){var n="week",s="year";return function(a,o,r){var i=o.prototype;i.week=function(l){if(l===void 0&&(l=null),l!==null)return this.add(7*(l-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var u=r(this).startOf(s).add(1,s).date(c),d=r(this).endOf(n);if(u.isBefore(d))return 1}var h=r(this).startOf(s).date(c).startOf(n).subtract(1,"millisecond"),p=this.diff(h,n,!0);return p<0?r(this).startOf("week").week():Math.ceil(p)},i.weeks=function(l){return l===void 0&&(l=null),this.week(l)}}})})(Xk);var Bse=Xk.exports;const Vse=nl(Bse);var Jk={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){return function(n,s){s.prototype.weekYear=function(){var a=this.month(),o=this.week(),r=this.year();return o===1&&a===11?r+1:a===0&&o>=52?r-1:r}}})})(Jk);var zse=Jk.exports;const Hse=nl(zse);var Zk={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){return function(n,s,a){s.prototype.dayOfYear=function(o){var r=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return o==null?r:this.add(o-r,"day")}}})})(Zk);var Wse=Zk.exports;const jse=nl(Wse);var Qk={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){return function(n,s){s.prototype.isSameOrAfter=function(a,o){return this.isSame(a,o)||this.isAfter(a,o)}}})})(Qk);var Kse=Qk.exports;const Use=nl(Kse);var eA={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){return function(n,s){s.prototype.isSameOrBefore=function(a,o){return this.isSame(a,o)||this.isBefore(a,o)}}})})(eA);var qse=eA.exports;const Gse=nl(qse),Yse=Te({valueFormat:String,dateFormat:String,timeFormat:String,disabled:{type:Boolean,default:void 0},modelValue:{type:re([Date,Array,String,Number]),default:""},defaultValue:{type:re([Date,Array])},defaultTime:{type:re([Date,Array])},isRange:Boolean,...V3,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,unlinkPanels:Boolean,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:Boolean,showWeekNumber:Boolean,type:{type:re(String),default:"date"},clearable:{type:Boolean,default:!0},border:{type:Boolean,default:!0},editable:{type:Boolean,default:!0}}),j3=Symbol("rootPickerContextKey"),Hp="ElIsDefaultFormat",Xse=["date","dates","year","years","month","months","week","range"],K3=Te({cellClassName:{type:re(Function)},disabledDate:{type:re(Function)},date:{type:re(Object),required:!0},minDate:{type:re(Object)},maxDate:{type:re(Object)},parsedValue:{type:re([Object,Array])},rangeState:{type:re(Object),default:()=>({endDate:null,selecting:!1})},disabled:Boolean}),tA=Te({type:{type:re(String),required:!0,values:Iee},dateFormat:String,timeFormat:String,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean,border:Boolean,disabled:Boolean,editable:{type:Boolean,default:!0}}),U3=Te({unlinkPanels:Boolean,visible:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},border:Boolean,disabled:Boolean,parsedValue:{type:re(Array)}}),q3=e=>({type:String,values:Xse,default:e}),Jse=Te({...tA,parsedValue:{type:re([Object,Array])},visible:{type:Boolean,default:!0},format:{type:String,default:""}}),Wp=e=>{if(!ke(e))return!1;const[t,n]=e;return vt.isDayjs(t)&&vt.isDayjs(n)&&vt(t).isValid()&&vt(n).isValid()&&t.isSameOrBefore(n)},Xg=(e,{lang:t,step:n=1,unit:s,unlinkPanels:a})=>{let o;if(ke(e)){let[r,i]=e.map(l=>vt(l).locale(t));return a||(i=r.add(n,s)),[r,i]}else e?o=vt(e):o=vt();return o=o.locale(t),[o,o.add(n,s)]},Zse=(e,t,{columnIndexOffset:n,startDate:s,nextEndDate:a,now:o,unit:r,relativeDateGetter:i,setCellMetadata:l,setRowMetadata:c})=>{for(let u=0;u{const a=vt().locale(s).startOf("month").month(n).year(t).hour(e.hour()).minute(e.minute()).second(e.second()),o=a.daysInMonth();return oc(o).map(r=>a.add(r,"day").toDate())},Hf=(e,t,n,s,a)=>{const o=vt().year(t).month(n).startOf("month").hour(e.hour()).minute(e.minute()).second(e.second()),r=Jg(e,t,n,s).find(i=>!(a!=null&&a(i)));return r?vt(r).locale(s):o.locale(s)},Zg=(e,t,n)=>{const s=e.year();if(!(n!=null&&n(e.toDate())))return e.locale(t);const a=e.month();if(!Jg(e,s,a,t).every(n))return Hf(e,s,a,t,n);for(let o=0;o<12;o++)if(!Jg(e,s,o,t).every(n))return Hf(e,s,o,t,n);return e},Wf=(e,t,n,s)=>{if(ke(e))return e.map(a=>Wf(a,t,n,s));if(Xe(e)){const a=s!=null&&s.value?vt(e):vt(e,t);if(!a.isValid())return a}return vt(e,t).locale(n)},Qse=Te({...K3,showWeekNumber:Boolean,selectionMode:q3("date")}),eae=["changerange","pick","select"],Qg=(e="")=>["normal","today"].includes(e),tae=(e,t)=>{const{lang:n}=It(),s=F(),a=F(),o=F(),r=F(),i=F([[],[],[],[],[],[]]);let l=!1;const c=e.date.$locale().weekStart||7,u=e.date.locale("en").localeData().weekdaysShort().map(V=>V.toLowerCase()),d=k(()=>c>3?7-c:-c),h=k(()=>{const V=e.date.startOf("month");return V.subtract(V.day()||7,"day")}),p=k(()=>u.concat(u).slice(c,c+7)),v=k(()=>lg(f(_)).some(V=>V.isCurrent)),m=k(()=>{const V=e.date.startOf("month"),z=V.day()||7,G=V.daysInMonth(),Q=V.subtract(1,"month").daysInMonth();return{startOfMonthDay:z,dateCountOfMonth:G,dateCountOfLastMonth:Q}}),g=k(()=>e.selectionMode==="dates"?ca(e.parsedValue):[]),b=(V,{count:z,rowIndex:G,columnIndex:Q})=>{const{startOfMonthDay:K,dateCountOfMonth:ee,dateCountOfLastMonth:ae}=f(m),fe=f(d);if(G>=0&&G<=1){const ne=K+fe<0?7+K+fe:K+fe;if(Q+G*7>=ne)return V.text=z,!0;V.text=ae-(ne-Q%7)+1+G*7,V.type="prev-month"}else return z<=ee?V.text=z:(V.text=z-ee,V.type="next-month"),!0;return!1},C=(V,{columnIndex:z,rowIndex:G},Q)=>{const{disabledDate:K,cellClassName:ee}=e,ae=f(g),fe=b(V,{count:Q,rowIndex:G,columnIndex:z}),ne=V.dayjs.toDate();return V.selected=ae.find(pe=>pe.isSame(V.dayjs,"day")),V.isSelected=!!V.selected,V.isCurrent=E(V),V.disabled=K==null?void 0:K(ne),V.customClass=ee==null?void 0:ee(ne),fe},w=V=>{if(e.selectionMode==="week"){const[z,G]=e.showWeekNumber?[1,7]:[0,6],Q=L(V[z+1]);V[z].inRange=Q,V[z].start=Q,V[G].inRange=Q,V[G].end=Q}},_=k(()=>{const{minDate:V,maxDate:z,rangeState:G,showWeekNumber:Q}=e,K=f(d),ee=f(i),ae="day";let fe=1;if(Zse({row:6,column:7},ee,{startDate:V,columnIndexOffset:Q?1:0,nextEndDate:G.endDate||z||G.selecting&&V||null,now:vt().locale(f(n)).startOf(ae),unit:ae,relativeDateGetter:ne=>f(h).add(ne-K,ae),setCellMetadata:(...ne)=>{C(...ne,fe)&&(fe+=1)},setRowMetadata:w}),Q)for(let ne=0;ne<6;ne++)ee[ne][1].dayjs&&(ee[ne][0]={type:"week",text:ee[ne][1].dayjs.week()});return ee});me(()=>e.date,async()=>{var V;(V=f(s))!=null&&V.contains(document.activeElement)&&(await ze(),await x())});const x=async()=>{var V;return(V=f(a))==null?void 0:V.focus()},E=V=>e.selectionMode==="date"&&Qg(V.type)&&T(V,e.parsedValue),T=(V,z)=>z?vt(z).locale(f(n)).isSame(e.date.date(Number(V.text)),"day"):!1,R=(V,z)=>{const G=f(m).startOfMonthDay,Q=f(d),K=G+Q<0?7+G+Q:G+Q,ee=V*7+(z-(e.showWeekNumber?1:0));return e.date.startOf("month").subtract(K,"day").add(ee,"day")},I=V=>{var z;if(!e.rangeState.selecting)return;let G=V.target;if(G.tagName==="SPAN"&&(G=(z=G.parentNode)==null?void 0:z.parentNode),G.tagName==="DIV"&&(G=G.parentNode),G.tagName!=="TD")return;const Q=G.parentNode.rowIndex-1,K=G.cellIndex;f(_)[Q][K].disabled||(Q!==f(o)||K!==f(r))&&(o.value=Q,r.value=K,t("changerange",{selecting:!0,endDate:R(Q,K)}))},M=V=>!f(v)&&(V==null?void 0:V.text)===1&&Qg(V.type)||V.isCurrent,$=V=>{l||f(v)||e.selectionMode!=="date"||N(V,!0)},O=V=>{V.target.closest("td")&&(l=!0)},B=V=>{V.target.closest("td")&&(l=!1)},U=V=>{!e.rangeState.selecting||!e.minDate?(t("pick",{minDate:V,maxDate:null}),t("select",!0)):(V>=e.minDate?t("pick",{minDate:e.minDate,maxDate:V}):t("pick",{minDate:V,maxDate:e.minDate}),t("select",!1))},J=V=>{const z=V.week(),G=`${V.year()}w${z}`;t("pick",{year:V.year(),week:z,value:G,date:V.startOf("week")})},Y=(V,z)=>{const G=z?ca(e.parsedValue).filter(Q=>(Q==null?void 0:Q.valueOf())!==V.valueOf()):ca(e.parsedValue).concat([V]);t("pick",G)},N=(V,z=!1)=>{if(e.disabled)return;const G=V.target.closest("td");if(!G)return;const Q=G.parentNode.rowIndex-1,K=G.cellIndex,ee=f(_)[Q][K];if(ee.disabled||ee.type==="week")return;const ae=R(Q,K);switch(e.selectionMode){case"range":{U(ae);break}case"date":{t("pick",ae,z);break}case"week":{J(ae);break}case"dates":{Y(ae,!!ee.selected);break}}},L=V=>{if(e.selectionMode!=="week")return!1;let z=e.date.startOf("day");if(V.type==="prev-month"&&(z=z.subtract(1,"month")),V.type==="next-month"&&(z=z.add(1,"month")),z=z.date(Number.parseInt(V.text,10)),e.parsedValue&&!ke(e.parsedValue)){const G=(e.parsedValue.day()-c+7)%7-1;return e.parsedValue.subtract(G,"day").isSame(z,"day")}return!1};return{WEEKS:p,rows:_,tbodyRef:s,currentCellRef:a,focus:x,isCurrent:E,isWeekActive:L,isSelectedCell:M,handlePickDate:N,handleMouseUp:B,handleMouseDown:O,handleMouseMove:I,handleFocus:$}},nae=(e,{isCurrent:t,isWeekActive:n})=>{const s=Ee("date-table"),{t:a}=It(),o=k(()=>[s.b(),s.is("week-mode",e.selectionMode==="week"&&!e.disabled)]),r=k(()=>a("el.datepicker.dateTablePrompt")),i=c=>{const u=[];return Qg(c.type)&&!c.disabled?(u.push("available"),c.type==="today"&&u.push("today")):u.push(c.type),t(c)&&u.push("current"),c.inRange&&(Qg(c.type)||e.selectionMode==="week")&&(u.push("in-range"),c.start&&u.push("start-date"),c.end&&u.push("end-date")),(c.disabled||e.disabled)&&u.push("disabled"),c.selected&&u.push("selected"),c.customClass&&u.push(c.customClass),u.join(" ")},l=c=>[s.e("row"),{current:n(c)}];return{tableKls:o,tableLabel:r,weekHeaderClass:s.e("week-header"),getCellClasses:i,getRowKls:l,t:a}},sae=Te({cell:{type:re(Object)}});var G3=W({name:"ElDatePickerCell",props:sae,setup(e){const t=Ee("date-table-cell"),{slots:n}=je(j3);return()=>{const{cell:s}=e;return ue(n,"default",{...s},()=>{var a;return[j("div",{class:t.b()},[j("span",{class:t.e("text")},[(a=s==null?void 0:s.renderText)!=null?a:s==null?void 0:s.text])])]})}}});const aae=["aria-label"],oae=["aria-label"],rae=["aria-current","aria-selected","tabindex","aria-disabled"];var Y3=W({__name:"basic-date-table",props:Qse,emits:eae,setup(e,{expose:t,emit:n}){const s=e,a=n,{WEEKS:o,rows:r,tbodyRef:i,currentCellRef:l,focus:c,isCurrent:u,isWeekActive:d,isSelectedCell:h,handlePickDate:p,handleMouseUp:v,handleMouseDown:m,handleMouseMove:g,handleFocus:b}=tae(s,a),{tableLabel:C,tableKls:w,getCellClasses:_,getRowKls:x,weekHeaderClass:E,t:T}=nae(s,{isCurrent:u,isWeekActive:d});let R=!1;return Gt(()=>{R=!0}),t({focus:c}),(I,M)=>(S(),P("table",{"aria-label":f(C),class:D(f(w)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:M[1]||(M[1]=(...$)=>f(p)&&f(p)(...$)),onMousemove:M[2]||(M[2]=(...$)=>f(g)&&f(g)(...$)),onMousedown:M[3]||(M[3]=(...$)=>f(m)&&f(m)(...$)),onMouseup:M[4]||(M[4]=(...$)=>f(v)&&f(v)(...$))},[A("tbody",{ref_key:"tbodyRef",ref:i},[A("tr",null,[I.showWeekNumber?(S(),P("th",{key:0,scope:"col",class:D(f(E))},null,2)):ie("v-if",!0),(S(!0),P(He,null,yt(f(o),($,O)=>(S(),P("th",{key:O,"aria-label":f(T)("el.datepicker.weeksFull."+$),scope:"col"},ve(f(T)("el.datepicker.weeks."+$)),9,oae))),128))]),(S(!0),P(He,null,yt(f(r),($,O)=>(S(),P("tr",{key:O,class:D(f(x)(I.showWeekNumber?$[2]:$[1]))},[(S(!0),P(He,null,yt($,(B,U)=>(S(),P("td",{key:`${O}.${U}`,ref_for:!0,ref:J=>!f(R)&&f(h)(B)&&(l.value=J),class:D(f(_)(B)),"aria-current":B.isCurrent?"date":void 0,"aria-selected":B.isCurrent,tabindex:I.disabled?void 0:f(h)(B)?0:-1,"aria-disabled":I.disabled,onFocus:M[0]||(M[0]=(...J)=>f(b)&&f(b)(...J))},[j(f(G3),{cell:B},null,8,["cell"])],42,rae))),128))],2))),128))],512)],42,aae))}});const iae=Te({...K3,selectionMode:q3("month")}),lae=["aria-label"],cae=["aria-selected","aria-label","tabindex","onKeydown"];var jp=W({__name:"basic-month-table",props:iae,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const s=e,a=n,o=Ee("month-table"),{t:r,lang:i}=It(),l=F(),c=F(),u=F(s.date.locale("en").localeData().monthsShort().map(_=>_.toLowerCase())),d=F([[],[],[]]),h=F(),p=F(),v=k(()=>{var _,x,E;const T=d.value,R=vt().locale(i.value).startOf("month");for(let I=0;I<3;I++){const M=T[I];for(let $=0;$<4;$++){const O=M[$]||(M[$]={row:I,column:$,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0});O.type="normal";const B=I*4+$,U=s.date.startOf("year").month(B),J=s.rangeState.endDate||s.maxDate||s.rangeState.selecting&&s.minDate||null;O.inRange=!!(s.minDate&&U.isSameOrAfter(s.minDate,"month")&&J&&U.isSameOrBefore(J,"month"))||!!(s.minDate&&U.isSameOrBefore(s.minDate,"month")&&J&&U.isSameOrAfter(J,"month")),(_=s.minDate)!=null&&_.isSameOrAfter(J)?(O.start=!!(J&&U.isSame(J,"month")),O.end=s.minDate&&U.isSame(s.minDate,"month")):(O.start=!!(s.minDate&&U.isSame(s.minDate,"month")),O.end=!!(J&&U.isSame(J,"month"))),R.isSame(U)&&(O.type="today");const N=U.toDate();O.text=B,O.disabled=((x=s.disabledDate)==null?void 0:x.call(s,N))||!1,O.date=N,O.customClass=(E=s.cellClassName)==null?void 0:E.call(s,N),O.dayjs=U,O.timestamp=U.valueOf(),O.isSelected=b(O)}}return T}),m=()=>{var _;(_=c.value)==null||_.focus()},g=_=>{const x={},E=s.date.year(),T=new Date,R=_.text;return x.disabled=s.disabled||(s.disabledDate?Jg(s.date,E,R,i.value).every(s.disabledDate):!1),x.current=ca(s.parsedValue).some(I=>vt.isDayjs(I)&&I.year()===E&&I.month()===R),x.today=T.getFullYear()===E&&T.getMonth()===R,_.customClass&&(x[_.customClass]=!0),_.inRange&&(x["in-range"]=!0,_.start&&(x["start-date"]=!0),_.end&&(x["end-date"]=!0)),x},b=_=>{const x=s.date.year(),E=_.text;return ca(s.date).some(T=>T.year()===x&&T.month()===E)},C=_=>{var x;if(!s.rangeState.selecting)return;let E=_.target;if(E.tagName==="SPAN"&&(E=(x=E.parentNode)==null?void 0:x.parentNode),E.tagName==="DIV"&&(E=E.parentNode),E.tagName!=="TD")return;const T=E.parentNode.rowIndex,R=E.cellIndex;v.value[T][R].disabled||(T!==h.value||R!==p.value)&&(h.value=T,p.value=R,a("changerange",{selecting:!0,endDate:s.date.startOf("year").month(T*4+R)}))},w=_=>{var x;if(s.disabled)return;const E=(x=_.target)==null?void 0:x.closest("td");if((E==null?void 0:E.tagName)!=="TD"||Zr(E,"disabled"))return;const T=E.cellIndex,I=E.parentNode.rowIndex*4+T,M=s.date.startOf("year").month(I);if(s.selectionMode==="months"){if(_.type==="keydown"){a("pick",ca(s.parsedValue),!1);return}const $=Hf(s.date,s.date.year(),I,i.value,s.disabledDate),O=Zr(E,"current")?ca(s.parsedValue).filter(B=>(B==null?void 0:B.year())!==$.year()||(B==null?void 0:B.month())!==$.month()):ca(s.parsedValue).concat([vt($)]);a("pick",O)}else s.selectionMode==="range"?s.rangeState.selecting?(s.minDate&&M>=s.minDate?a("pick",{minDate:s.minDate,maxDate:M}):a("pick",{minDate:M,maxDate:s.minDate}),a("select",!1)):(a("pick",{minDate:M,maxDate:null}),a("select",!0)):a("pick",I)};return me(()=>s.date,async()=>{var _,x;(_=l.value)!=null&&_.contains(document.activeElement)&&(await ze(),(x=c.value)==null||x.focus())}),t({focus:m}),(_,x)=>(S(),P("table",{role:"grid","aria-label":f(r)("el.datepicker.monthTablePrompt"),class:D(f(o).b()),onClick:w,onMousemove:C},[A("tbody",{ref_key:"tbodyRef",ref:l},[(S(!0),P(He,null,yt(v.value,(E,T)=>(S(),P("tr",{key:T},[(S(!0),P(He,null,yt(E,(R,I)=>(S(),P("td",{key:I,ref_for:!0,ref:M=>R.isSelected&&(c.value=M),class:D(g(R)),"aria-selected":!!R.isSelected,"aria-label":f(r)(`el.datepicker.month${+R.text+1}`),tabindex:R.isSelected?0:-1,onKeydown:[Nn(lt(w,["prevent","stop"]),["space"]),Nn(lt(w,["prevent","stop"]),["enter"])]},[j(f(G3),{cell:{...R,renderText:f(r)("el.datepicker.months."+u.value[R.text])}},null,8,["cell"])],42,cae))),128))]))),128))],512)],42,lae))}});const uae=Te({...K3,selectionMode:q3("year")}),dae=["aria-label"],fae=["aria-selected","aria-label","tabindex","onKeydown"];var Kp=W({__name:"basic-year-table",props:uae,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const s=(x,E)=>{const T=vt(String(x)).locale(E).startOf("year"),I=T.endOf("year").dayOfYear();return oc(I).map(M=>T.add(M,"day").toDate())},a=e,o=n,r=Ee("year-table"),{t:i,lang:l}=It(),c=F(),u=F(),d=k(()=>Math.floor(a.date.year()/10)*10),h=F([[],[],[]]),p=F(),v=F(),m=k(()=>{var x,E,T;const R=h.value,I=vt().locale(l.value).startOf("year");for(let M=0;M<3;M++){const $=R[M];for(let O=0;O<4&&!(M*4+O>=10);O++){let B=$[O];B||(B={row:M,column:O,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0}),B.type="normal";const U=M*4+O+d.value,J=vt().year(U),Y=a.rangeState.endDate||a.maxDate||a.rangeState.selecting&&a.minDate||null;B.inRange=!!(a.minDate&&J.isSameOrAfter(a.minDate,"year")&&Y&&J.isSameOrBefore(Y,"year"))||!!(a.minDate&&J.isSameOrBefore(a.minDate,"year")&&Y&&J.isSameOrAfter(Y,"year")),(x=a.minDate)!=null&&x.isSameOrAfter(Y)?(B.start=!!(Y&&J.isSame(Y,"year")),B.end=!!(a.minDate&&J.isSame(a.minDate,"year"))):(B.start=!!(a.minDate&&J.isSame(a.minDate,"year")),B.end=!!(Y&&J.isSame(Y,"year"))),I.isSame(J)&&(B.type="today"),B.text=U;const L=J.toDate();B.disabled=((E=a.disabledDate)==null?void 0:E.call(a,L))||!1,B.date=L,B.customClass=(T=a.cellClassName)==null?void 0:T.call(a,L),B.dayjs=J,B.timestamp=J.valueOf(),B.isSelected=C(B),$[O]=B}}return R}),g=()=>{var x;(x=u.value)==null||x.focus()},b=x=>{const E={},T=vt().locale(l.value),R=x.text;return E.disabled=a.disabled||(a.disabledDate?s(R,l.value).every(a.disabledDate):!1),E.today=T.year()===R,E.current=ca(a.parsedValue).some(I=>I.year()===R),x.customClass&&(E[x.customClass]=!0),x.inRange&&(E["in-range"]=!0,x.start&&(E["start-date"]=!0),x.end&&(E["end-date"]=!0)),E},C=x=>{const E=x.text;return ca(a.date).some(T=>T.year()===E)},w=x=>{var E;if(a.disabled)return;const T=(E=x.target)==null?void 0:E.closest("td");if(!T||!T.textContent||Zr(T,"disabled"))return;const R=T.cellIndex,M=T.parentNode.rowIndex*4+R+d.value,$=vt().year(M);if(a.selectionMode==="range")a.rangeState.selecting?(a.minDate&&$>=a.minDate?o("pick",{minDate:a.minDate,maxDate:$}):o("pick",{minDate:$,maxDate:a.minDate}),o("select",!1)):(o("pick",{minDate:$,maxDate:null}),o("select",!0));else if(a.selectionMode==="years"){if(x.type==="keydown"){o("pick",ca(a.parsedValue),!1);return}const O=Zg($.startOf("year"),l.value,a.disabledDate),B=Zr(T,"current")?ca(a.parsedValue).filter(U=>(U==null?void 0:U.year())!==M):ca(a.parsedValue).concat([O]);o("pick",B)}else o("pick",M)},_=x=>{var E;if(!a.rangeState.selecting)return;const T=(E=x.target)==null?void 0:E.closest("td");if(!T)return;const R=T.parentNode.rowIndex,I=T.cellIndex;m.value[R][I].disabled||(R!==p.value||I!==v.value)&&(p.value=R,v.value=I,o("changerange",{selecting:!0,endDate:vt().year(d.value).add(R*4+I,"year")}))};return me(()=>a.date,async()=>{var x,E;(x=c.value)!=null&&x.contains(document.activeElement)&&(await ze(),(E=u.value)==null||E.focus())}),t({focus:g}),(x,E)=>(S(),P("table",{role:"grid","aria-label":f(i)("el.datepicker.yearTablePrompt"),class:D(f(r).b()),onClick:w,onMousemove:_},[A("tbody",{ref_key:"tbodyRef",ref:c},[(S(!0),P(He,null,yt(m.value,(T,R)=>(S(),P("tr",{key:R},[(S(!0),P(He,null,yt(T,(I,M)=>(S(),P("td",{key:`${R}_${M}`,ref_for:!0,ref:$=>I.isSelected&&(u.value=$),class:D(["available",b(I)]),"aria-selected":I.isSelected,"aria-label":String(I.text),tabindex:I.isSelected?0:-1,onKeydown:[Nn(lt(w,["prevent","stop"]),["space"]),Nn(lt(w,["prevent","stop"]),["enter"])]},[j(f(G3),{cell:I},null,8,["cell"])],42,fae))),128))]))),128))],512)],42,dae))}});const hae=["disabled","onClick"],pae=["aria-label","disabled"],vae=["aria-label","disabled"],mae=["tabindex","aria-disabled"],gae=["tabindex","aria-disabled"],bae=["aria-label","disabled"],yae=["aria-label","disabled"];var wae=W({__name:"panel-date-pick",props:Jse,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=(xe,qe,ye)=>!0,s=e,a=t,o=Ee("picker-panel"),r=Ee("date-picker"),i=Bi(),l=zn(),{t:c,lang:u}=It(),d=je(gr),h=je(Hp,void 0),{shortcuts:p,disabledDate:v,cellClassName:m,defaultTime:g}=d.props,b=Jt(d.props,"defaultValue"),C=F(),w=F(vt().locale(u.value)),_=F(!1);let x=!1;const E=k(()=>vt(g).locale(u.value)),T=k(()=>w.value.month()),R=k(()=>w.value.year()),I=F([]),M=F(null),$=F(null),O=xe=>I.value.length>0?n(xe,I.value,s.format||"HH:mm:ss"):!0,B=xe=>g&&!Ne.value&&!_.value&&!x?E.value.year(xe.year()).month(xe.month()).date(xe.date()):he.value?xe.millisecond(0):xe.startOf("day"),U=(xe,...qe)=>{if(!xe)a("pick",xe,...qe);else if(ke(xe)){const ye=xe.map(B);a("pick",ye,...qe)}else a("pick",B(xe),...qe);M.value=null,$.value=null,_.value=!1,x=!1},J=async(xe,qe)=>{if(G.value==="date"&&vt.isDayjs(xe)){const ye=Fp(s.parsedValue);let Ye=ye?ye.year(xe.year()).month(xe.month()).date(xe.date()):xe;O(Ye),w.value=Ye,U(Ye,he.value||qe)}else G.value==="week"?U(xe.date):G.value==="dates"&&U(xe,!0)},Y=xe=>{const qe=xe?"add":"subtract";w.value=w.value[qe](1,"month"),kt("month")},N=xe=>{const qe=w.value,ye=xe?"add":"subtract";w.value=L.value==="year"?qe[ye](10,"year"):qe[ye](1,"year"),kt("year")},L=F("date"),V=k(()=>{const xe=c("el.datepicker.year");if(L.value==="year"){const qe=Math.floor(R.value/10)*10;return xe?`${qe} ${xe} - ${qe+9} ${xe}`:`${qe} - ${qe+9}`}return`${R.value} ${xe}`}),z=xe=>{const qe=et(xe.value)?xe.value():xe.value;if(qe){x=!0,U(vt(qe).locale(u.value));return}xe.onClick&&xe.onClick({attrs:i,slots:l,emit:a})},G=k(()=>{const{type:xe}=s;return["week","month","months","year","years","dates"].includes(xe)?xe:"date"}),Q=k(()=>G.value==="dates"||G.value==="months"||G.value==="years"),K=k(()=>G.value==="date"?L.value:G.value),ee=k(()=>!!p.length),ae=async(xe,qe)=>{G.value==="month"?(w.value=Hf(w.value,w.value.year(),xe,u.value,v),U(w.value,!1)):G.value==="months"?U(xe,qe??!0):(w.value=Hf(w.value,w.value.year(),xe,u.value,v),L.value="date",["month","year","date","week"].includes(G.value)&&(U(w.value,!0),await ze(),Ft())),kt("month")},fe=async(xe,qe)=>{if(G.value==="year"){const ye=w.value.startOf("year").year(xe);w.value=Zg(ye,u.value,v),U(w.value,!1)}else if(G.value==="years")U(xe,qe??!0);else{const ye=w.value.year(xe);w.value=Zg(ye,u.value,v),L.value="month",["month","year","date","week"].includes(G.value)&&(U(w.value,!0),await ze(),Ft())}kt("year")},ne=In(),pe=async xe=>{ne.value||(L.value=xe,await ze(),Ft())},he=k(()=>s.type==="datetime"||s.type==="datetimerange"),ce=k(()=>{const xe=he.value||G.value==="dates",qe=G.value==="years",ye=G.value==="months",Ye=L.value==="date",Ct=L.value==="year",Xt=L.value==="month";return xe&&Ye||qe&&Ct||ye&&Xt}),Z=k(()=>!Q.value&&s.showNow||s.showConfirm),H=k(()=>v?s.parsedValue?ke(s.parsedValue)?v(s.parsedValue[0].toDate()):v(s.parsedValue.toDate()):!0:!1),te=()=>{if(Q.value)U(s.parsedValue);else{let xe=Fp(s.parsedValue);if(!xe){const qe=vt(g).locale(u.value),ye=nt();xe=qe.year(ye.year()).month(ye.month()).date(ye.date())}w.value=xe,U(xe)}},de=k(()=>v?v(vt().locale(u.value).toDate()):!1),be=()=>{const qe=vt().locale(u.value).toDate();_.value=!0,(!v||!v(qe))&&O(qe)&&(w.value=vt().locale(u.value),U(w.value))},_e=k(()=>s.timeFormat||DE(s.format)||zf),Se=k(()=>s.dateFormat||$E(s.format)||uc),Ne=k(()=>$.value?$.value:!s.parsedValue&&!b.value?void 0:(Fp(s.parsedValue)||w.value).format(_e.value)),Ve=k(()=>M.value?M.value:!s.parsedValue&&!b.value?void 0:(Fp(s.parsedValue)||w.value).format(Se.value)),$e=F(!1),we=()=>{$e.value=!0},Oe=()=>{$e.value=!1},Pe=xe=>({hour:xe.hour(),minute:xe.minute(),second:xe.second(),year:xe.year(),month:xe.month(),date:xe.date()}),We=(xe,qe,ye)=>{const{hour:Ye,minute:Ct,second:Xt}=Pe(xe),wn=Fp(s.parsedValue),Sn=wn?wn.hour(Ye).minute(Ct).second(Xt):xe;w.value=Sn,U(w.value,!0),ye||($e.value=qe)},Qe=xe=>{const qe=vt(xe,_e.value).locale(u.value);if(qe.isValid()&&O(qe)){const{year:ye,month:Ye,date:Ct}=Pe(w.value);w.value=qe.year(ye).month(Ye).date(Ct),$.value=null,$e.value=!1,U(w.value,!0)}},it=xe=>{const qe=Wf(xe,Se.value,u.value,h);if(qe.isValid()){if(v&&v(qe.toDate()))return;const{hour:ye,minute:Ye,second:Ct}=Pe(w.value);w.value=qe.hour(ye).minute(Ye).second(Ct),M.value=null,U(w.value,!0)}},De=xe=>vt.isDayjs(xe)&&xe.isValid()&&(v?!v(xe.toDate()):!0),Ke=xe=>Wf(xe,s.format,u.value,h),nt=()=>{const xe=vt(b.value).locale(u.value);if(!b.value){const qe=E.value;return vt().hour(qe.hour()).minute(qe.minute()).second(qe.second()).locale(u.value)}return xe},Ft=()=>{var xe;["week","month","year","date"].includes(G.value)&&((xe=C.value)==null||xe.focus())},Kt=()=>{Ft(),G.value==="week"&&dt(Ae.down)},ot=xe=>{const qe=an(xe);[Ae.up,Ae.down,Ae.left,Ae.right,Ae.home,Ae.end,Ae.pageUp,Ae.pageDown].includes(qe)&&(dt(qe),xe.stopPropagation(),xe.preventDefault()),[Ae.enter,Ae.space,Ae.numpadEnter].includes(qe)&&M.value===null&&$.value===null&&(xe.preventDefault(),U(w.value,!1))},dt=xe=>{var qe;const{up:ye,down:Ye,left:Ct,right:Xt,home:wn,end:Sn,pageUp:Fe,pageDown:st}=Ae,ge={year:{[ye]:-4,[Ye]:4,[Ct]:-1,[Xt]:1,offset:(Be,Re)=>Be.setFullYear(Be.getFullYear()+Re)},month:{[ye]:-4,[Ye]:4,[Ct]:-1,[Xt]:1,offset:(Be,Re)=>Be.setMonth(Be.getMonth()+Re)},week:{[ye]:-1,[Ye]:1,[Ct]:-1,[Xt]:1,offset:(Be,Re)=>Be.setDate(Be.getDate()+Re*7)},date:{[ye]:-7,[Ye]:7,[Ct]:-1,[Xt]:1,[wn]:Be=>-Be.getDay(),[Sn]:Be=>-Be.getDay()+6,[Fe]:Be=>-new Date(Be.getFullYear(),Be.getMonth(),0).getDate(),[st]:Be=>new Date(Be.getFullYear(),Be.getMonth()+1,0).getDate(),offset:(Be,Re)=>Be.setDate(Be.getDate()+Re)}},Ce=w.value.toDate();for(;Math.abs(w.value.diff(Ce,"year",!0))<1;){const Be=ge[K.value];if(!Be)return;if(Be.offset(Ce,et(Be[xe])?Be[xe](Ce):(qe=Be[xe])!=null?qe:0),v&&v(Ce))break;const Re=vt(Ce).locale(u.value);w.value=Re,a("pick",Re,!0);break}},kt=xe=>{a("panel-change",w.value.toDate(),xe,L.value)};return me(()=>G.value,xe=>{if(["month","year"].includes(xe)){L.value=xe;return}else if(xe==="years"){L.value="year";return}else if(xe==="months"){L.value="month";return}L.value="date"},{immediate:!0}),me(()=>b.value,xe=>{xe&&(w.value=nt())},{immediate:!0}),me(()=>s.parsedValue,xe=>{if(xe){if(Q.value||ke(xe))return;w.value=xe}else w.value=nt()},{immediate:!0}),a("set-picker-option",["isValidValue",De]),a("set-picker-option",["parseUserInput",Ke]),a("set-picker-option",["handleFocusPicker",Kt]),(xe,qe)=>(S(),P("div",{class:D([f(o).b(),f(r).b(),f(o).is("border",xe.border),f(o).is("disabled",f(ne)),{"has-sidebar":xe.$slots.sidebar||ee.value,"has-time":he.value}])},[A("div",{class:D(f(o).e("body-wrapper"))},[ue(xe.$slots,"sidebar",{class:D(f(o).e("sidebar"))}),ee.value?(S(),P("div",{key:0,class:D(f(o).e("sidebar"))},[(S(!0),P(He,null,yt(f(p),(ye,Ye)=>(S(),P("button",{key:Ye,type:"button",disabled:f(ne),class:D(f(o).e("shortcut")),onClick:Ct=>z(ye)},ve(ye.text),11,hae))),128))],2)):ie("v-if",!0),A("div",{class:D(f(o).e("body"))},[he.value?(S(),P("div",{key:0,class:D(f(r).e("time-header"))},[A("span",{class:D(f(r).e("editor-wrap"))},[j(f(la),{placeholder:f(c)("el.datepicker.selectDate"),"model-value":Ve.value,size:"small","validate-event":!1,disabled:f(ne),readonly:!xe.editable,onInput:qe[0]||(qe[0]=ye=>M.value=ye),onChange:it},null,8,["placeholder","model-value","disabled","readonly"])],2),gt((S(),P("span",{class:D(f(r).e("editor-wrap"))},[j(f(la),{placeholder:f(c)("el.datepicker.selectTime"),"model-value":Ne.value,size:"small","validate-event":!1,disabled:f(ne),readonly:!xe.editable,onFocus:we,onInput:qe[1]||(qe[1]=ye=>$.value=ye),onChange:Qe},null,8,["placeholder","model-value","disabled","readonly"]),j(f(Yg),{visible:$e.value,format:_e.value,"parsed-value":w.value,onPick:We},null,8,["visible","format","parsed-value"])],2)),[[f(lc),Oe]])],2)):ie("v-if",!0),gt(A("div",{class:D([f(r).e("header"),(L.value==="year"||L.value==="month")&&f(r).em("header","bordered")])},[A("span",{class:D(f(r).e("prev-btn"))},[A("button",{type:"button","aria-label":f(c)("el.datepicker.prevYear"),class:D(["d-arrow-left",f(o).e("icon-btn")]),disabled:f(ne),onClick:qe[2]||(qe[2]=ye=>N(!1))},[ue(xe.$slots,"prev-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Yi))]),_:1})])],10,pae),gt(A("button",{type:"button","aria-label":f(c)("el.datepicker.prevMonth"),class:D([f(o).e("icon-btn"),"arrow-left"]),disabled:f(ne),onClick:qe[3]||(qe[3]=ye=>Y(!1))},[ue(xe.$slots,"prev-month",{},()=>[j(f(Je),null,{default:X(()=>[j(f(No))]),_:1})])],10,vae),[[Bt,L.value==="date"]])],2),A("span",{role:"button",class:D(f(r).e("header-label")),"aria-live":"polite",tabindex:xe.disabled?void 0:0,"aria-disabled":xe.disabled,onKeydown:qe[4]||(qe[4]=Nn(ye=>pe("year"),["enter"])),onClick:qe[5]||(qe[5]=ye=>pe("year"))},ve(V.value),43,mae),gt(A("span",{role:"button","aria-live":"polite",tabindex:xe.disabled?void 0:0,"aria-disabled":xe.disabled,class:D([f(r).e("header-label"),{active:L.value==="month"}]),onKeydown:qe[6]||(qe[6]=Nn(ye=>pe("month"),["enter"])),onClick:qe[7]||(qe[7]=ye=>pe("month"))},ve(f(c)(`el.datepicker.month${T.value+1}`)),43,gae),[[Bt,L.value==="date"]]),A("span",{class:D(f(r).e("next-btn"))},[gt(A("button",{type:"button","aria-label":f(c)("el.datepicker.nextMonth"),class:D([f(o).e("icon-btn"),"arrow-right"]),disabled:f(ne),onClick:qe[8]||(qe[8]=ye=>Y(!0))},[ue(xe.$slots,"next-month",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Ls))]),_:1})])],10,bae),[[Bt,L.value==="date"]]),A("button",{type:"button","aria-label":f(c)("el.datepicker.nextYear"),class:D([f(o).e("icon-btn"),"d-arrow-right"]),disabled:f(ne),onClick:qe[9]||(qe[9]=ye=>N(!0))},[ue(xe.$slots,"next-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Xi))]),_:1})])],10,yae)],2)],2),[[Bt,L.value!=="time"]]),A("div",{class:D(f(o).e("content")),onKeydown:ot},[L.value==="date"?(S(),le(Y3,{key:0,ref_key:"currentViewRef",ref:C,"selection-mode":G.value,date:w.value,"parsed-value":xe.parsedValue,"disabled-date":f(v),disabled:f(ne),"cell-class-name":f(m),"show-week-number":xe.showWeekNumber,onPick:J},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name","show-week-number"])):ie("v-if",!0),L.value==="year"?(S(),le(Kp,{key:1,ref_key:"currentViewRef",ref:C,"selection-mode":G.value,date:w.value,"disabled-date":f(v),disabled:f(ne),"parsed-value":xe.parsedValue,"cell-class-name":f(m),onPick:fe},null,8,["selection-mode","date","disabled-date","disabled","parsed-value","cell-class-name"])):ie("v-if",!0),L.value==="month"?(S(),le(jp,{key:2,ref_key:"currentViewRef",ref:C,"selection-mode":G.value,date:w.value,"parsed-value":xe.parsedValue,"disabled-date":f(v),disabled:f(ne),"cell-class-name":f(m),onPick:ae},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name"])):ie("v-if",!0)],34)],2)],2),xe.showFooter&&ce.value&&Z.value?(S(),P("div",{key:0,class:D(f(o).e("footer"))},[gt(j(f(gs),{text:"",size:"small",class:D(f(o).e("link-btn")),disabled:de.value,onClick:be},{default:X(()=>[Ue(ve(f(c)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[Bt,!Q.value&&xe.showNow]]),xe.showConfirm?(S(),le(f(gs),{key:0,plain:"",size:"small",class:D(f(o).e("link-btn")),disabled:H.value,onClick:te},{default:X(()=>[Ue(ve(f(c)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):ie("v-if",!0)],2)):ie("v-if",!0)],2))}});const _ae=Te({...tA,...U3}),Cae=e=>{const{emit:t}=_t(),n=Bi(),s=zn();return o=>{const r=et(o.value)?o.value():o.value;if(r){t("pick",[vt(r[0]).locale(e.value),vt(r[1]).locale(e.value)]);return}o.onClick&&o.onClick({attrs:n,slots:s,emit:t})}},X3=(e,{defaultValue:t,defaultTime:n,leftDate:s,rightDate:a,step:o,unit:r,sortDates:i})=>{const{emit:l}=_t(),{pickerNs:c}=je(j3),u=Ee("date-range-picker"),{t:d,lang:h}=It(),p=Cae(h),v=F(),m=F(),g=F({endDate:null,selecting:!1}),b=E=>{g.value=E},C=(E=!1)=>{const T=f(v),R=f(m);Wp([T,R])&&l("pick",[T,R],E)},w=E=>{g.value.selecting=E,E||(g.value.endDate=null)},_=E=>{if(ke(E)&&E.length===2){const[T,R]=E;v.value=T,s.value=T,m.value=R,i(f(v),f(m))}else x()},x=()=>{let[E,T]=Xg(f(t),{lang:f(h),step:o,unit:r,unlinkPanels:e.unlinkPanels});const R=M=>M.diff(M.startOf("d"),"ms"),I=f(n);if(I){let M=0,$=0;if(ke(I)){const[O,B]=I.map(vt);M=R(O),$=R(B)}else{const O=R(vt(I));M=O,$=O}E=E.startOf("d").add(M,"ms"),T=T.startOf("d").add($,"ms")}v.value=void 0,m.value=void 0,s.value=E,a.value=T};return me(t,E=>{E&&x()},{immediate:!0}),me(()=>e.parsedValue,E=>{(!(E!=null&&E.length)||!$n(E,[v.value,m.value]))&&_(E)},{immediate:!0}),me(()=>e.visible,()=>{e.visible&&_(e.parsedValue)},{immediate:!0}),{minDate:v,maxDate:m,rangeState:g,lang:h,ppNs:c,drpNs:u,handleChangeRange:b,handleRangeConfirm:C,handleShortcutClick:p,onSelect:w,parseValue:_,t:d}},Sae=(e,t,n,s)=>{const a=F("date"),o=F(),r=F("date"),i=F(),l=je(gr),{disabledDate:c}=l.props,{t:u,lang:d}=It(),h=k(()=>n.value.year()),p=k(()=>n.value.month()),v=k(()=>s.value.year()),m=k(()=>s.value.month());function g(E,T){const R=u("el.datepicker.year");if(E.value==="year"){const I=Math.floor(T.value/10)*10;return R?`${I} ${R} - ${I+9} ${R}`:`${I} - ${I+9}`}return`${T.value} ${R}`}function b(E){E==null||E.focus()}async function C(E,T){if(e.disabled)return;const R=E==="left"?a:r,I=E==="left"?o:i;R.value=T,await ze(),b(I.value)}async function w(E,T,R){if(e.disabled)return;const I=T==="left",M=I?n:s,$=I?s:n,O=I?a:r,B=I?o:i;if(E==="year"){const U=M.value.year(R);M.value=Zg(U,d.value,c)}E==="month"&&(M.value=Hf(M.value,M.value.year(),R,d.value,c)),e.unlinkPanels||($.value=T==="left"?M.value.add(1,"month"):M.value.subtract(1,"month")),O.value=E==="year"?"month":"date",await ze(),b(B.value),_(E)}function _(E){t("panel-change",[n.value.toDate(),s.value.toDate()],E)}function x(E,T,R){const I=R?"add":"subtract";return E==="year"?T[I](10,"year"):T[I](1,"year")}return{leftCurrentView:a,rightCurrentView:r,leftCurrentViewRef:o,rightCurrentViewRef:i,leftYear:h,rightYear:v,leftMonth:p,rightMonth:m,leftYearLabel:k(()=>g(a,h)),rightYearLabel:k(()=>g(r,v)),showLeftPicker:E=>C("left",E),showRightPicker:E=>C("right",E),handleLeftYearPick:E=>w("year","left",E),handleRightYearPick:E=>w("year","right",E),handleLeftMonthPick:E=>w("month","left",E),handleRightMonthPick:E=>w("month","right",E),handlePanelChange:_,adjustDateByView:x}},xae=["disabled","onClick"],Eae=["aria-label","disabled"],kae=["aria-label","disabled"],Aae=["disabled","aria-label"],Tae=["disabled","aria-label"],Mae=["tabindex","aria-disabled"],Pae=["tabindex","aria-disabled"],Rae=["disabled","aria-label"],Iae=["disabled","aria-label"],Oae=["aria-label","disabled"],Lae=["disabled","aria-label"],Nae=["tabindex","aria-disabled"],$ae=["tabindex","aria-disabled"],e1="month";var Dae=W({__name:"panel-date-range",props:_ae,emits:["pick","set-picker-option","calendar-change","panel-change","clear"],setup(e,{emit:t}){const n=e,s=t,a=je(gr),o=je(Hp,void 0),{disabledDate:r,cellClassName:i,defaultTime:l,clearable:c}=a.props,u=Jt(a.props,"format"),d=Jt(a.props,"shortcuts"),h=Jt(a.props,"defaultValue"),{lang:p}=It(),v=F(vt().locale(p.value)),m=F(vt().locale(p.value).add(1,e1)),{minDate:g,maxDate:b,rangeState:C,ppNs:w,drpNs:_,handleChangeRange:x,handleRangeConfirm:E,handleShortcutClick:T,onSelect:R,parseValue:I,t:M}=X3(n,{defaultValue:h,defaultTime:l,leftDate:v,rightDate:m,unit:e1,sortDates:Be});me(()=>n.visible,Re=>{!Re&&C.value.selecting&&(I(n.parsedValue),R(!1))});const $=F({min:null,max:null}),O=F({min:null,max:null}),{leftCurrentView:B,rightCurrentView:U,leftCurrentViewRef:J,rightCurrentViewRef:Y,leftYear:N,rightYear:L,leftMonth:V,rightMonth:z,leftYearLabel:G,rightYearLabel:Q,showLeftPicker:K,showRightPicker:ee,handleLeftYearPick:ae,handleRightYearPick:fe,handleLeftMonthPick:ne,handleRightMonthPick:pe,handlePanelChange:he,adjustDateByView:ce}=Sae(n,s,v,m),Z=k(()=>!!d.value.length),H=k(()=>$.value.min!==null?$.value.min:g.value?g.value.format(Se.value):""),te=k(()=>$.value.max!==null?$.value.max:b.value||g.value?(b.value||g.value).format(Se.value):""),de=k(()=>O.value.min!==null?O.value.min:g.value?g.value.format(_e.value):""),be=k(()=>O.value.max!==null?O.value.max:b.value||g.value?(b.value||g.value).format(_e.value):""),_e=k(()=>n.timeFormat||DE(u.value||"")||zf),Se=k(()=>n.dateFormat||$E(u.value||"")||uc),Ne=Re=>Wp(Re)&&(r?!r(Re[0].toDate())&&!r(Re[1].toDate()):!0),Ve=()=>{v.value=ce(B.value,v.value,!1),n.unlinkPanels||(m.value=v.value.add(1,"month")),he("year")},$e=()=>{v.value=v.value.subtract(1,"month"),n.unlinkPanels||(m.value=v.value.add(1,"month")),he("month")},we=()=>{n.unlinkPanels?m.value=ce(U.value,m.value,!0):(v.value=ce(U.value,v.value,!0),m.value=v.value.add(1,"month")),he("year")},Oe=()=>{n.unlinkPanels?m.value=m.value.add(1,"month"):(v.value=v.value.add(1,"month"),m.value=v.value.add(1,"month")),he("month")},Pe=()=>{v.value=ce(B.value,v.value,!0),he("year")},We=()=>{v.value=v.value.add(1,"month"),he("month")},Qe=()=>{m.value=ce(U.value,m.value,!1),he("year")},it=()=>{m.value=m.value.subtract(1,"month"),he("month")},De=k(()=>{const Re=(V.value+1)%12,Me=V.value+1>=12?1:0;return n.unlinkPanels&&new Date(N.value+Me,Re)n.unlinkPanels&&L.value*12+z.value-(N.value*12+V.value+1)>=12),nt=In(),Ft=k(()=>!(g.value&&b.value&&!C.value.selecting&&Wp([g.value,b.value])&&!nt.value)),Kt=k(()=>n.type==="datetime"||n.type==="datetimerange"),ot=(Re,Me)=>{if(Re)return l?vt(l[Me]||l).locale(p.value).year(Re.year()).month(Re.month()).date(Re.date()):Re},dt=(Re,Me=!0)=>{const Ze=Re.minDate,sn=Re.maxDate,_n=ot(Ze,0),xn=ot(sn,1);b.value===xn&&g.value===_n||(s("calendar-change",[Ze.toDate(),sn&&sn.toDate()]),b.value=xn,g.value=_n,!Kt.value&&Me&&(Me=!_n||!xn),E(Me))},kt=F(!1),xe=F(!1),qe=()=>{kt.value=!1},ye=()=>{xe.value=!1},Ye=(Re,Me)=>{$.value[Me]=Re;const Ze=vt(Re,Se.value).locale(p.value);if(Ze.isValid()){if(r&&r(Ze.toDate()))return;Me==="min"?(v.value=Ze,g.value=(g.value||v.value).year(Ze.year()).month(Ze.month()).date(Ze.date()),!n.unlinkPanels&&(!b.value||b.value.isBefore(g.value))&&(m.value=Ze.add(1,"month"),b.value=g.value.add(1,"month"))):(m.value=Ze,b.value=(b.value||m.value).year(Ze.year()).month(Ze.month()).date(Ze.date()),!n.unlinkPanels&&(!g.value||g.value.isAfter(b.value))&&(v.value=Ze.subtract(1,"month"),g.value=b.value.subtract(1,"month"))),Be(g.value,b.value),E(!0)}},Ct=(Re,Me)=>{$.value[Me]=null},Xt=(Re,Me)=>{O.value[Me]=Re;const Ze=vt(Re,_e.value).locale(p.value);Ze.isValid()&&(Me==="min"?(kt.value=!0,g.value=(g.value||v.value).hour(Ze.hour()).minute(Ze.minute()).second(Ze.second()),v.value=g.value):(xe.value=!0,b.value=(b.value||m.value).hour(Ze.hour()).minute(Ze.minute()).second(Ze.second()),m.value=b.value))},wn=(Re,Me)=>{O.value[Me]=null,Me==="min"?(v.value=g.value,kt.value=!1,(!b.value||b.value.isBefore(g.value))&&(b.value=g.value)):(m.value=b.value,xe.value=!1,b.value&&b.value.isBefore(g.value)&&(g.value=b.value)),E(!0)},Sn=(Re,Me,Ze)=>{O.value.min||(Re&&(g.value=(g.value||v.value).hour(Re.hour()).minute(Re.minute()).second(Re.second())),Ze||(kt.value=Me),(!b.value||b.value.isBefore(g.value))&&(b.value=g.value,m.value=Re,ze(()=>{I(n.parsedValue)})),E(!0))},Fe=(Re,Me,Ze)=>{O.value.max||(Re&&(b.value=(b.value||m.value).hour(Re.hour()).minute(Re.minute()).second(Re.second())),Ze||(xe.value=Me),b.value&&b.value.isBefore(g.value)&&(g.value=b.value),E(!0))},st=()=>{ge(),s("clear")},ge=()=>{let Re=null;a!=null&&a.emptyValues&&(Re=a.emptyValues.valueOnClear.value),v.value=Xg(f(h),{lang:f(p),unit:"month",unlinkPanels:n.unlinkPanels})[0],m.value=v.value.add(1,"month"),b.value=void 0,g.value=void 0,E(!0),s("pick",Re)},Ce=Re=>Wf(Re,u.value||"",p.value,o);function Be(Re,Me){if(n.unlinkPanels&&Me){const Ze=(Re==null?void 0:Re.year())||0,sn=(Re==null?void 0:Re.month())||0,_n=Me.year(),xn=Me.month();m.value=Ze===_n&&sn===xn?Me.add(1,e1):Me}else m.value=v.value.add(1,e1),Me&&(m.value=m.value.hour(Me.hour()).minute(Me.minute()).second(Me.second()))}return s("set-picker-option",["isValidValue",Ne]),s("set-picker-option",["parseUserInput",Ce]),s("set-picker-option",["handleClear",ge]),(Re,Me)=>(S(),P("div",{class:D([f(w).b(),f(_).b(),f(w).is("border",Re.border),f(w).is("disabled",f(nt)),{"has-sidebar":Re.$slots.sidebar||Z.value,"has-time":Kt.value}])},[A("div",{class:D(f(w).e("body-wrapper"))},[ue(Re.$slots,"sidebar",{class:D(f(w).e("sidebar"))}),Z.value?(S(),P("div",{key:0,class:D(f(w).e("sidebar"))},[(S(!0),P(He,null,yt(d.value,(Ze,sn)=>(S(),P("button",{key:sn,type:"button",disabled:f(nt),class:D(f(w).e("shortcut")),onClick:_n=>f(T)(Ze)},ve(Ze.text),11,xae))),128))],2)):ie("v-if",!0),A("div",{class:D(f(w).e("body"))},[Kt.value?(S(),P("div",{key:0,class:D(f(_).e("time-header"))},[A("span",{class:D(f(_).e("editors-wrap"))},[A("span",{class:D(f(_).e("time-picker-wrap"))},[j(f(la),{size:"small",disabled:f(C).selecting||f(nt),placeholder:f(M)("el.datepicker.startDate"),class:D(f(_).e("editor")),"model-value":H.value,"validate-event":!1,readonly:!Re.editable,onInput:Me[0]||(Me[0]=Ze=>Ye(Ze,"min")),onChange:Me[1]||(Me[1]=Ze=>Ct(Ze,"min"))},null,8,["disabled","placeholder","class","model-value","readonly"])],2),gt((S(),P("span",{class:D(f(_).e("time-picker-wrap"))},[j(f(la),{size:"small",class:D(f(_).e("editor")),disabled:f(C).selecting||f(nt),placeholder:f(M)("el.datepicker.startTime"),"model-value":de.value,"validate-event":!1,readonly:!Re.editable,onFocus:Me[2]||(Me[2]=Ze=>kt.value=!0),onInput:Me[3]||(Me[3]=Ze=>Xt(Ze,"min")),onChange:Me[4]||(Me[4]=Ze=>wn(Ze,"min"))},null,8,["class","disabled","placeholder","model-value","readonly"]),j(f(Yg),{visible:kt.value,format:_e.value,"datetime-role":"start","parsed-value":f(g)||v.value,onPick:Sn},null,8,["visible","format","parsed-value"])],2)),[[f(lc),qe]])],2),A("span",null,[j(f(Je),null,{default:X(()=>[j(f(Ls))]),_:1})]),A("span",{class:D([f(_).e("editors-wrap"),"is-right"])},[A("span",{class:D(f(_).e("time-picker-wrap"))},[j(f(la),{size:"small",class:D(f(_).e("editor")),disabled:f(C).selecting||f(nt),placeholder:f(M)("el.datepicker.endDate"),"model-value":te.value,readonly:!f(g)||!Re.editable,"validate-event":!1,onInput:Me[5]||(Me[5]=Ze=>Ye(Ze,"max")),onChange:Me[6]||(Me[6]=Ze=>Ct(Ze,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),gt((S(),P("span",{class:D(f(_).e("time-picker-wrap"))},[j(f(la),{size:"small",class:D(f(_).e("editor")),disabled:f(C).selecting||f(nt),placeholder:f(M)("el.datepicker.endTime"),"model-value":be.value,readonly:!f(g)||!Re.editable,"validate-event":!1,onFocus:Me[7]||(Me[7]=Ze=>f(g)&&(xe.value=!0)),onInput:Me[8]||(Me[8]=Ze=>Xt(Ze,"max")),onChange:Me[9]||(Me[9]=Ze=>wn(Ze,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),j(f(Yg),{"datetime-role":"end",visible:xe.value,format:_e.value,"parsed-value":f(b)||m.value,onPick:Fe},null,8,["visible","format","parsed-value"])],2)),[[f(lc),ye]])],2)],2)):ie("v-if",!0),A("div",{class:D([[f(w).e("content"),f(_).e("content")],"is-left"])},[A("div",{class:D(f(_).e("header"))},[A("button",{type:"button",class:D([f(w).e("icon-btn"),"d-arrow-left"]),"aria-label":f(M)("el.datepicker.prevYear"),disabled:f(nt),onClick:Ve},[ue(Re.$slots,"prev-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Yi))]),_:1})])],10,Eae),gt(A("button",{type:"button",class:D([f(w).e("icon-btn"),"arrow-left"]),"aria-label":f(M)("el.datepicker.prevMonth"),disabled:f(nt),onClick:$e},[ue(Re.$slots,"prev-month",{},()=>[j(f(Je),null,{default:X(()=>[j(f(No))]),_:1})])],10,kae),[[Bt,f(B)==="date"]]),Re.unlinkPanels?(S(),P("button",{key:0,type:"button",disabled:!Ke.value||f(nt),class:D([[f(w).e("icon-btn"),f(w).is("disabled",!Ke.value||f(nt))],"d-arrow-right"]),"aria-label":f(M)("el.datepicker.nextYear"),onClick:Pe},[ue(Re.$slots,"next-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Xi))]),_:1})])],10,Aae)):ie("v-if",!0),Re.unlinkPanels&&f(B)==="date"?(S(),P("button",{key:1,type:"button",disabled:!De.value||f(nt),class:D([[f(w).e("icon-btn"),f(w).is("disabled",!De.value||f(nt))],"arrow-right"]),"aria-label":f(M)("el.datepicker.nextMonth"),onClick:We},[ue(Re.$slots,"next-month",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Ls))]),_:1})])],10,Tae)):ie("v-if",!0),A("div",null,[A("span",{role:"button",class:D(f(_).e("header-label")),"aria-live":"polite",tabindex:Re.disabled?void 0:0,"aria-disabled":Re.disabled,onKeydown:Me[10]||(Me[10]=Nn(Ze=>f(K)("year"),["enter"])),onClick:Me[11]||(Me[11]=Ze=>f(K)("year"))},ve(f(G)),43,Mae),gt(A("span",{role:"button","aria-live":"polite",tabindex:Re.disabled?void 0:0,"aria-disabled":Re.disabled,class:D([f(_).e("header-label"),{active:f(B)==="month"}]),onKeydown:Me[12]||(Me[12]=Nn(Ze=>f(K)("month"),["enter"])),onClick:Me[13]||(Me[13]=Ze=>f(K)("month"))},ve(f(M)(`el.datepicker.month${v.value.month()+1}`)),43,Pae),[[Bt,f(B)==="date"]])])],2),f(B)==="date"?(S(),le(Y3,{key:0,ref_key:"leftCurrentViewRef",ref:J,"selection-mode":"range",date:v.value,"min-date":f(g),"max-date":f(b),"range-state":f(C),"disabled-date":f(r),"cell-class-name":f(i),"show-week-number":Re.showWeekNumber,disabled:f(nt),onChangerange:f(x),onPick:dt,onSelect:f(R)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):ie("v-if",!0),f(B)==="year"?(S(),le(Kp,{key:1,ref_key:"leftCurrentViewRef",ref:J,"selection-mode":"year",date:v.value,"disabled-date":f(r),"parsed-value":Re.parsedValue,disabled:f(nt),onPick:f(ae)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):ie("v-if",!0),f(B)==="month"?(S(),le(jp,{key:2,ref_key:"leftCurrentViewRef",ref:J,"selection-mode":"month",date:v.value,"parsed-value":Re.parsedValue,"disabled-date":f(r),disabled:f(nt),onPick:f(ne)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):ie("v-if",!0)],2),A("div",{class:D([[f(w).e("content"),f(_).e("content")],"is-right"])},[A("div",{class:D(f(_).e("header"))},[Re.unlinkPanels?(S(),P("button",{key:0,type:"button",disabled:!Ke.value||f(nt),class:D([[f(w).e("icon-btn"),f(w).is("disabled",!Ke.value||f(nt))],"d-arrow-left"]),"aria-label":f(M)("el.datepicker.prevYear"),onClick:Qe},[ue(Re.$slots,"prev-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Yi))]),_:1})])],10,Rae)):ie("v-if",!0),Re.unlinkPanels&&f(U)==="date"?(S(),P("button",{key:1,type:"button",disabled:!De.value||f(nt),class:D([[f(w).e("icon-btn"),f(w).is("disabled",!De.value||f(nt))],"arrow-left"]),"aria-label":f(M)("el.datepicker.prevMonth"),onClick:it},[ue(Re.$slots,"prev-month",{},()=>[j(f(Je),null,{default:X(()=>[j(f(No))]),_:1})])],10,Iae)):ie("v-if",!0),A("button",{type:"button","aria-label":f(M)("el.datepicker.nextYear"),class:D([f(w).e("icon-btn"),"d-arrow-right"]),disabled:f(nt),onClick:we},[ue(Re.$slots,"next-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Xi))]),_:1})])],10,Oae),gt(A("button",{type:"button",class:D([f(w).e("icon-btn"),"arrow-right"]),disabled:f(nt),"aria-label":f(M)("el.datepicker.nextMonth"),onClick:Oe},[ue(Re.$slots,"next-month",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Ls))]),_:1})])],10,Lae),[[Bt,f(U)==="date"]]),A("div",null,[A("span",{role:"button",class:D(f(_).e("header-label")),"aria-live":"polite",tabindex:Re.disabled?void 0:0,"aria-disabled":Re.disabled,onKeydown:Me[14]||(Me[14]=Nn(Ze=>f(ee)("year"),["enter"])),onClick:Me[15]||(Me[15]=Ze=>f(ee)("year"))},ve(f(Q)),43,Nae),gt(A("span",{role:"button","aria-live":"polite",tabindex:Re.disabled?void 0:0,"aria-disabled":Re.disabled,class:D([f(_).e("header-label"),{active:f(U)==="month"}]),onKeydown:Me[16]||(Me[16]=Nn(Ze=>f(ee)("month"),["enter"])),onClick:Me[17]||(Me[17]=Ze=>f(ee)("month"))},ve(f(M)(`el.datepicker.month${m.value.month()+1}`)),43,$ae),[[Bt,f(U)==="date"]])])],2),f(U)==="date"?(S(),le(Y3,{key:0,ref_key:"rightCurrentViewRef",ref:Y,"selection-mode":"range",date:m.value,"min-date":f(g),"max-date":f(b),"range-state":f(C),"disabled-date":f(r),"cell-class-name":f(i),"show-week-number":Re.showWeekNumber,disabled:f(nt),onChangerange:f(x),onPick:dt,onSelect:f(R)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):ie("v-if",!0),f(U)==="year"?(S(),le(Kp,{key:1,ref_key:"rightCurrentViewRef",ref:Y,"selection-mode":"year",date:m.value,"disabled-date":f(r),"parsed-value":Re.parsedValue,disabled:f(nt),onPick:f(fe)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):ie("v-if",!0),f(U)==="month"?(S(),le(jp,{key:2,ref_key:"rightCurrentViewRef",ref:Y,"selection-mode":"month",date:m.value,"parsed-value":Re.parsedValue,"disabled-date":f(r),disabled:f(nt),onPick:f(pe)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):ie("v-if",!0)],2)],2)],2),Re.showFooter&&Kt.value&&(Re.showConfirm||f(c))?(S(),P("div",{key:0,class:D(f(w).e("footer"))},[f(c)?(S(),le(f(gs),{key:0,text:"",size:"small",class:D(f(w).e("link-btn")),onClick:st},{default:X(()=>[Ue(ve(f(M)("el.datepicker.clear")),1)]),_:1},8,["class"])):ie("v-if",!0),Re.showConfirm?(S(),le(f(gs),{key:1,plain:"",size:"small",class:D(f(w).e("link-btn")),disabled:Ft.value,onClick:Me[18]||(Me[18]=Ze=>f(E)(!1))},{default:X(()=>[Ue(ve(f(M)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):ie("v-if",!0)],2)):ie("v-if",!0)],2))}});const Fae=Te({...U3}),Bae=["pick","set-picker-option","calendar-change"],Vae=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const{t:s}=It(),a=()=>{t.value=t.value.subtract(1,"year"),e.value||(n.value=n.value.subtract(1,"year"))},o=()=>{e.value||(t.value=t.value.add(1,"year")),n.value=n.value.add(1,"year")},r=()=>{t.value=t.value.add(1,"year")},i=()=>{n.value=n.value.subtract(1,"year")},l=k(()=>`${t.value.year()} ${s("el.datepicker.year")}`),c=k(()=>`${n.value.year()} ${s("el.datepicker.year")}`),u=k(()=>t.value.year()),d=k(()=>n.value.year()===t.value.year()?t.value.year()+1:n.value.year());return{leftPrevYear:a,rightNextYear:o,leftNextYear:r,rightPrevYear:i,leftLabel:l,rightLabel:c,leftYear:u,rightYear:d}},zae=["disabled","onClick"],Hae=["disabled"],Wae=["disabled"],jae=["disabled"],Kae=["disabled"],t1="year";var Uae=W({name:"DatePickerMonthRange",__name:"panel-month-range",props:Fae,emits:Bae,setup(e,{emit:t}){const n=e,s=t,{lang:a}=It(),o=je(gr),r=je(Hp,void 0),{shortcuts:i,disabledDate:l,cellClassName:c}=o.props,u=Jt(o.props,"format"),d=Jt(o.props,"defaultValue"),h=F(vt().locale(a.value)),p=F(vt().locale(a.value).add(1,t1)),{minDate:v,maxDate:m,rangeState:g,ppNs:b,drpNs:C,handleChangeRange:w,handleRangeConfirm:_,handleShortcutClick:x,onSelect:E,parseValue:T}=X3(n,{defaultValue:d,leftDate:h,rightDate:p,unit:t1,sortDates:G}),R=k(()=>!!i.length),{leftPrevYear:I,rightNextYear:M,leftNextYear:$,rightPrevYear:O,leftLabel:B,rightLabel:U,leftYear:J,rightYear:Y}=Vae({unlinkPanels:Jt(n,"unlinkPanels"),leftDate:h,rightDate:p}),N=k(()=>n.unlinkPanels&&Y.value>J.value+1),L=(K,ee=!0)=>{const ae=K.minDate,fe=K.maxDate;m.value===fe&&v.value===ae||(s("calendar-change",[ae.toDate(),fe&&fe.toDate()]),m.value=fe,v.value=ae,ee&&_())},V=()=>{let K=null;o!=null&&o.emptyValues&&(K=o.emptyValues.valueOnClear.value),h.value=Xg(f(d),{lang:f(a),unit:"year",unlinkPanels:n.unlinkPanels})[0],p.value=h.value.add(1,"year"),s("pick",K)},z=K=>Wf(K,u.value,a.value,r);function G(K,ee){if(n.unlinkPanels&&ee){const ae=(K==null?void 0:K.year())||0,fe=ee.year();p.value=ae===fe?ee.add(1,t1):ee}else p.value=h.value.add(1,t1)}const Q=In();return me(()=>n.visible,K=>{!K&&g.value.selecting&&(T(n.parsedValue),E(!1))}),s("set-picker-option",["isValidValue",Wp]),s("set-picker-option",["parseUserInput",z]),s("set-picker-option",["handleClear",V]),(K,ee)=>(S(),P("div",{class:D([f(b).b(),f(C).b(),f(b).is("border",K.border),f(b).is("disabled",f(Q)),{"has-sidebar":!!K.$slots.sidebar||R.value}])},[A("div",{class:D(f(b).e("body-wrapper"))},[ue(K.$slots,"sidebar",{class:D(f(b).e("sidebar"))}),R.value?(S(),P("div",{key:0,class:D(f(b).e("sidebar"))},[(S(!0),P(He,null,yt(f(i),(ae,fe)=>(S(),P("button",{key:fe,type:"button",class:D(f(b).e("shortcut")),disabled:f(Q),onClick:ne=>f(x)(ae)},ve(ae.text),11,zae))),128))],2)):ie("v-if",!0),A("div",{class:D(f(b).e("body"))},[A("div",{class:D([[f(b).e("content"),f(C).e("content")],"is-left"])},[A("div",{class:D(f(C).e("header"))},[A("button",{type:"button",class:D([f(b).e("icon-btn"),"d-arrow-left"]),disabled:f(Q),onClick:ee[0]||(ee[0]=(...ae)=>f(I)&&f(I)(...ae))},[ue(K.$slots,"prev-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Yi))]),_:1})])],10,Hae),K.unlinkPanels?(S(),P("button",{key:0,type:"button",disabled:!N.value||f(Q),class:D([[f(b).e("icon-btn"),f(b).is("disabled",!N.value||f(Q))],"d-arrow-right"]),onClick:ee[1]||(ee[1]=(...ae)=>f($)&&f($)(...ae))},[ue(K.$slots,"next-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Xi))]),_:1})])],10,Wae)):ie("v-if",!0),A("div",null,ve(f(B)),1)],2),j(jp,{"selection-mode":"range",date:h.value,"min-date":f(v),"max-date":f(m),"range-state":f(g),"disabled-date":f(l),disabled:f(Q),"cell-class-name":f(c),onChangerange:f(w),onPick:L,onSelect:f(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),A("div",{class:D([[f(b).e("content"),f(C).e("content")],"is-right"])},[A("div",{class:D(f(C).e("header"))},[K.unlinkPanels?(S(),P("button",{key:0,type:"button",disabled:!N.value||f(Q),class:D([[f(b).e("icon-btn"),f(b).is("disabled",!N.value||f(Q))],"d-arrow-left"]),onClick:ee[2]||(ee[2]=(...ae)=>f(O)&&f(O)(...ae))},[ue(K.$slots,"prev-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Yi))]),_:1})])],10,jae)):ie("v-if",!0),A("button",{type:"button",class:D([f(b).e("icon-btn"),"d-arrow-right"]),disabled:f(Q),onClick:ee[3]||(ee[3]=(...ae)=>f(M)&&f(M)(...ae))},[ue(K.$slots,"next-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Xi))]),_:1})])],10,Kae),A("div",null,ve(f(U)),1)],2),j(jp,{"selection-mode":"range",date:p.value,"min-date":f(v),"max-date":f(m),"range-state":f(g),"disabled-date":f(l),disabled:f(Q),"cell-class-name":f(c),onChangerange:f(w),onPick:L,onSelect:f(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});const qae=Te({...U3}),Gae=["pick","set-picker-option","calendar-change"],Yae=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const s=()=>{t.value=t.value.subtract(10,"year"),e.value||(n.value=n.value.subtract(10,"year"))},a=()=>{e.value||(t.value=t.value.add(10,"year")),n.value=n.value.add(10,"year")},o=()=>{t.value=t.value.add(10,"year")},r=()=>{n.value=n.value.subtract(10,"year")},i=k(()=>{const d=Math.floor(t.value.year()/10)*10;return`${d}-${d+9}`}),l=k(()=>{const d=Math.floor(n.value.year()/10)*10;return`${d}-${d+9}`}),c=k(()=>Math.floor(t.value.year()/10)*10+9),u=k(()=>Math.floor(n.value.year()/10)*10);return{leftPrevYear:s,rightNextYear:a,leftNextYear:o,rightPrevYear:r,leftLabel:i,rightLabel:l,leftYear:c,rightYear:u}},Xae=["disabled","onClick"],Jae=["disabled"],Zae=["disabled"],Qae=["disabled"],eoe=["disabled"],jf=10,Up="year";var toe=W({name:"DatePickerYearRange",__name:"panel-year-range",props:qae,emits:Gae,setup(e,{emit:t}){const n=e,s=t,{lang:a}=It(),o=F(vt().locale(a.value)),r=F(vt().locale(a.value).add(jf,Up)),i=je(Hp,void 0),l=je(gr),{shortcuts:c,disabledDate:u,cellClassName:d}=l.props,h=Jt(l.props,"format"),p=Jt(l.props,"defaultValue"),{minDate:v,maxDate:m,rangeState:g,ppNs:b,drpNs:C,handleChangeRange:w,handleRangeConfirm:_,handleShortcutClick:x,onSelect:E,parseValue:T}=X3(n,{defaultValue:p,leftDate:o,rightDate:r,step:jf,unit:Up,sortDates:fe}),{leftPrevYear:R,rightNextYear:I,leftNextYear:M,rightPrevYear:$,leftLabel:O,rightLabel:B,leftYear:U,rightYear:J}=Yae({unlinkPanels:Jt(n,"unlinkPanels"),leftDate:o,rightDate:r}),Y=In(),N=k(()=>!!c.length),L=k(()=>[b.b(),C.b(),b.is("border",n.border),b.is("disabled",Y.value),{"has-sidebar":!!zn().sidebar||N.value}]),V=k(()=>({content:[b.e("content"),C.e("content"),"is-left"],arrowLeftBtn:[b.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[b.e("icon-btn"),b.is("disabled",!G.value||Y.value),"d-arrow-right"]})),z=k(()=>({content:[b.e("content"),C.e("content"),"is-right"],arrowLeftBtn:[b.e("icon-btn"),b.is("disabled",!G.value||Y.value),"d-arrow-left"],arrowRightBtn:[b.e("icon-btn"),"d-arrow-right"]})),G=k(()=>n.unlinkPanels&&J.value>U.value+1),Q=(ne,pe=!0)=>{const he=ne.minDate,ce=ne.maxDate;m.value===ce&&v.value===he||(s("calendar-change",[he.toDate(),ce&&ce.toDate()]),m.value=ce,v.value=he,pe&&_())},K=ne=>Wf(ne,h.value,a.value,i),ee=ne=>Wp(ne)&&(u?!u(ne[0].toDate())&&!u(ne[1].toDate()):!0),ae=()=>{let ne=null;l!=null&&l.emptyValues&&(ne=l.emptyValues.valueOnClear.value);const pe=Xg(f(p),{lang:f(a),step:jf,unit:Up,unlinkPanels:n.unlinkPanels});o.value=pe[0],r.value=pe[1],s("pick",ne)};function fe(ne,pe){if(n.unlinkPanels&&pe){const he=(ne==null?void 0:ne.year())||0,ce=pe.year();r.value=he+jf>ce?pe.add(jf,Up):pe}else r.value=o.value.add(jf,Up)}return me(()=>n.visible,ne=>{!ne&&g.value.selecting&&(T(n.parsedValue),E(!1))}),s("set-picker-option",["isValidValue",ee]),s("set-picker-option",["parseUserInput",K]),s("set-picker-option",["handleClear",ae]),(ne,pe)=>(S(),P("div",{class:D(L.value)},[A("div",{class:D(f(b).e("body-wrapper"))},[ue(ne.$slots,"sidebar",{class:D(f(b).e("sidebar"))}),N.value?(S(),P("div",{key:0,class:D(f(b).e("sidebar"))},[(S(!0),P(He,null,yt(f(c),(he,ce)=>(S(),P("button",{key:ce,type:"button",class:D(f(b).e("shortcut")),disabled:f(Y),onClick:Z=>f(x)(he)},ve(he.text),11,Xae))),128))],2)):ie("v-if",!0),A("div",{class:D(f(b).e("body"))},[A("div",{class:D(V.value.content)},[A("div",{class:D(f(C).e("header"))},[A("button",{type:"button",class:D(V.value.arrowLeftBtn),disabled:f(Y),onClick:pe[0]||(pe[0]=(...he)=>f(R)&&f(R)(...he))},[ue(ne.$slots,"prev-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Yi))]),_:1})])],10,Jae),ne.unlinkPanels?(S(),P("button",{key:0,type:"button",disabled:!G.value||f(Y),class:D(V.value.arrowRightBtn),onClick:pe[1]||(pe[1]=(...he)=>f(M)&&f(M)(...he))},[ue(ne.$slots,"next-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Xi))]),_:1})])],10,Zae)):ie("v-if",!0),A("div",null,ve(f(O)),1)],2),j(Kp,{"selection-mode":"range",date:o.value,"min-date":f(v),"max-date":f(m),"range-state":f(g),"disabled-date":f(u),disabled:f(Y),"cell-class-name":f(d),onChangerange:f(w),onPick:Q,onSelect:f(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),A("div",{class:D(z.value.content)},[A("div",{class:D(f(C).e("header"))},[ne.unlinkPanels?(S(),P("button",{key:0,type:"button",disabled:!G.value||f(Y),class:D(z.value.arrowLeftBtn),onClick:pe[2]||(pe[2]=(...he)=>f($)&&f($)(...he))},[ue(ne.$slots,"prev-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Yi))]),_:1})])],10,Qae)):ie("v-if",!0),A("button",{type:"button",class:D(z.value.arrowRightBtn),disabled:f(Y),onClick:pe[3]||(pe[3]=(...he)=>f(I)&&f(I)(...he))},[ue(ne.$slots,"next-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Xi))]),_:1})])],10,eoe),A("div",null,ve(f(B)),1)],2),j(Kp,{"selection-mode":"range",date:r.value,"min-date":f(v),"max-date":f(m),"range-state":f(g),"disabled-date":f(u),disabled:f(Y),"cell-class-name":f(d),onChangerange:f(w),onPick:Q,onSelect:f(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});const noe=function(e){switch(e){case"daterange":case"datetimerange":return Dae;case"monthrange":return Uae;case"yearrange":return toe;default:return wae}};function soe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}vt.extend(WE),vt.extend(Fse),vt.extend(F3),vt.extend(Vse),vt.extend(Hse),vt.extend(jse),vt.extend(Use),vt.extend(Gse);var aoe=W({name:"ElDatePickerPanel",install:null,inheritAttrs:!1,props:Yse,emits:[ct,"calendar-change","panel-change","visible-change","clear"],setup(e,{slots:t,emit:n,attrs:s}){const a=Ee("picker-panel"),o=je(gr,void 0);if($t(o)){const d=Wt({...ps(e)});Tt(gr,{props:d})}Tt(j3,{slots:t,pickerNs:a});const{parsedValue:r,onCalendarChange:i,onPanelChange:l,onSetPickerOption:c,onPick:u}=je(zk,()=>Hk(e,n),!0);return()=>{const d=noe(e.type);return j(d,wt(pp(s,"onPick"),e,{parsedValue:r.value,"onSet-picker-option":c,"onCalendar-change":i,"onPanel-change":l,onClear:()=>n("clear"),onPick:u}),soe(t)?t:{default:()=>[t]})}}});const nA=pt(aoe),ooe=Te({...z3,type:{type:re(String),default:"date"}});function roe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}var ioe=W({name:"ElDatePicker",install:null,props:ooe,emits:[ct],setup(e,{expose:t,emit:n,slots:s}){const a=k(()=>!e.format);Tt(Hp,a),Tt(B3,Wt(Jt(e,"popperOptions")));const o=F();t({focus:()=>{var l;(l=o.value)==null||l.focus()},blur:()=>{var l;(l=o.value)==null||l.blur()},handleOpen:()=>{var l;(l=o.value)==null||l.handleOpen()},handleClose:()=>{var l;(l=o.value)==null||l.handleClose()}});const i=l=>{n(ct,l)};return()=>{var l;const c=(l=e.format)!=null?l:_se[e.type]||uc;return j(jk,wt(e,{format:c,type:e.type,ref:o,"onUpdate:modelValue":i}),{default:u=>j(nA,wt({disabled:e.disabled,editable:e.editable,border:!1},u),roe(s)?s:{default:()=>[s]}),"range-separator":s["range-separator"]})}}});const loe=pt(ioe),coe=Te({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:rs,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number]}}),uoe=Te({row:{type:re(Array),default:()=>[]}}),J3=Symbol("elDescriptions");var qp=W({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:je(J3,{})}},render(){var e,t,n,s;const a=dJ(this.cell),o=(((e=this.cell)==null?void 0:e.dirs)||[]).map(_=>{const{dir:x,arg:E,modifiers:T,value:R}=_;return[x,R,E,T]}),{border:r,direction:i}=this.descriptions,l=i==="vertical",c=()=>{var _,x,E;return((E=(x=(_=this.cell)==null?void 0:_.children)==null?void 0:x.label)==null?void 0:E.call(x))||a.label},u=()=>{var _,x,E;return(E=(x=(_=this.cell)==null?void 0:_.children)==null?void 0:x.default)==null?void 0:E.call(x)},d=a.span,h=a.rowspan,p=a.align?`is-${a.align}`:"",v=a.labelAlign?`is-${a.labelAlign}`:p,m=a.className,g=a.labelClassName,b=this.type==="label"&&(n=(t=a.labelWidth)!=null?t:this.descriptions.labelWidth)!=null?n:a.width,C={width:Pn(b),minWidth:Pn(a.minWidth)},w=Ee("descriptions");switch(this.type){case"label":return gt(rt(this.tag,{style:C,class:[w.e("cell"),w.e("label"),w.is("bordered-label",r),w.is("vertical-label",l),v,g],colSpan:l?d:1,rowspan:l?1:h},c()),o);case"content":return gt(rt(this.tag,{style:C,class:[w.e("cell"),w.e("content"),w.is("bordered-content",r),w.is("vertical-content",l),p,m],colSpan:l?d:d*2-1,rowspan:l?h*2-1:h},u()),o);default:{const _=c(),x={},E=Pn((s=a.labelWidth)!=null?s:this.descriptions.labelWidth);return E&&(x.width=E,x.display="inline-block"),gt(rt("td",{style:C,class:[w.e("cell"),p],colSpan:d,rowspan:h},[qn(_)?void 0:rt("span",{style:x,class:[w.e("label"),g]},_),rt("span",{class:[w.e("content"),m]},u())]),o)}}}});const doe={key:1};var foe=W({name:"ElDescriptionsRow",__name:"descriptions-row",props:uoe,setup(e){const t=je(J3,{});return(n,s)=>f(t).direction==="vertical"?(S(),P(He,{key:0},[A("tr",null,[(S(!0),P(He,null,yt(e.row,(a,o)=>(S(),le(f(qp),{key:`tr1-${o}`,cell:a,tag:"th",type:"label"},null,8,["cell"]))),128))]),A("tr",null,[(S(!0),P(He,null,yt(e.row,(a,o)=>(S(),le(f(qp),{key:`tr2-${o}`,cell:a,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(S(),P("tr",doe,[(S(!0),P(He,null,yt(e.row,(a,o)=>(S(),P(He,{key:`tr3-${o}`},[f(t).border?(S(),P(He,{key:0},[j(f(qp),{cell:a,tag:"td",type:"label"},null,8,["cell"]),j(f(qp),{cell:a,tag:"td",type:"content"},null,8,["cell"])],64)):(S(),le(f(qp),{key:1,cell:a,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});const sA="ElDescriptionsItem";var hoe=W({name:"ElDescriptions",__name:"description",props:coe,setup(e){const t=e,n=Ee("descriptions"),s=ts(),a=zn();Tt(J3,t);const o=k(()=>[n.b(),n.m(s.value)]),r=(l,c,u,d=!1)=>(l.props||(l.props={}),c>u&&(l.props.span=u),d&&(l.props.span=c),l),i=()=>{if(!a.default)return[];const l=lo(a.default()).filter(v=>{var m;return((m=v==null?void 0:v.type)==null?void 0:m.name)===sA}),c=[];let u=[],d=t.column,h=0;const p=[];return l.forEach((v,m)=>{var g,b,C;const w=((g=v.props)==null?void 0:g.span)||1,_=((b=v.props)==null?void 0:b.rowspan)||1,x=c.length;if(p[x]||(p[x]=0),_>1)for(let E=1;E<_;E++)p[C=x+E]||(p[C]=0),p[x+E]++,h++;if(p[x]>0&&(d-=p[x],p[x]=0),md?d:w),m===l.length-1){const E=t.column-h%t.column;u.push(r(v,E,d,!0)),c.push(u);return}w(S(),P("div",{class:D(o.value)},[e.title||e.extra||l.$slots.title||l.$slots.extra?(S(),P("div",{key:0,class:D(f(n).e("header"))},[A("div",{class:D(f(n).e("title"))},[ue(l.$slots,"title",{},()=>[Ue(ve(e.title),1)])],2),A("div",{class:D(f(n).e("extra"))},[ue(l.$slots,"extra",{},()=>[Ue(ve(e.extra),1)])],2)],2)):ie("v-if",!0),A("div",{class:D(f(n).e("body"))},[A("table",{class:D([f(n).e("table"),f(n).is("bordered",e.border)])},[A("tbody",null,[(S(!0),P(He,null,yt(i(),(u,d)=>(S(),le(foe,{key:d,row:u},null,8,["row"]))),128))])],2)],2)],2))}});const aA=["left","center","right"],poe=Te({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number]},align:{type:String,values:aA,default:"left"},labelAlign:{type:String,values:aA},className:{type:String,default:""},labelClassName:{type:String,default:""}}),oA=W({name:sA,props:poe}),voe=pt(hoe,{DescriptionsItem:oA}),moe=An(oA),rA=Te({center:Boolean,alignCenter:{type:Boolean,default:void 0},closeIcon:{type:en},draggable:{type:Boolean,default:void 0},overflow:{type:Boolean,default:void 0},fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),goe={close:()=>!0},iA=Te({...rA,appendToBody:Boolean,appendTo:{type:Cp.to.type,default:"body"},beforeClose:{type:re(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},modalPenetrable:Boolean,openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"},transition:{type:re([String,Object]),default:void 0}}),lA={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[ct]:e=>Qt(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},Z3=e=>{if(!e)return{onClick:qt,onMousedown:qt,onMouseup:qt};let t=!1,n=!1;return{onClick:r=>{t&&n&&e(r),t=n=!1},onMousedown:r=>{t=r.target===r.currentTarget},onMouseup:r=>{n=r.target===r.currentTarget}}},boe=Te({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:re([String,Array,Object])},zIndex:{type:re([String,Number])}}),yoe={click:e=>e instanceof MouseEvent},woe="overlay";var _oe=W({name:"ElOverlay",props:boe,emits:yoe,setup(e,{slots:t,emit:n}){const s=Ee(woe),a=l=>{n("click",l)},{onClick:o,onMousedown:r,onMouseup:i}=Z3(e.customMaskEvent?void 0:a);return()=>e.mask?j("div",{class:[s.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:o,onMousedown:r,onMouseup:i},[ue(t,"default")],Do.STYLE|Do.CLASS|Do.PROPS,["onClick","onMouseup","onMousedown"]):rt("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[ue(t,"default")])}});const Q3=_oe,cA=Symbol("dialogInjectionKey"),uA="dialog-fade",e6=(...e)=>t=>{e.forEach(n=>{n.value=t})},dA=(e,t,n,s)=>{const a={offsetX:0,offsetY:0},o=F(!1),r=(h,p)=>{if(e.value){const{offsetX:v,offsetY:m}=a,g=e.value.getBoundingClientRect(),b=g.left,C=g.top,w=g.width,_=g.height,x=document.documentElement.clientWidth,E=document.documentElement.clientHeight,T=-b+v,R=-C+m,I=x-b-w+v,M=E-C-(_{const p=h.clientX,v=h.clientY,{offsetX:m,offsetY:g}=a,b=w=>{o.value||(o.value=!0);const _=m+w.clientX-p,x=g+w.clientY-v;r(_,x)},C=()=>{o.value=!1,document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",C)};document.addEventListener("mousemove",b),document.addEventListener("mouseup",C)},l=()=>{t.value&&e.value&&(t.value.addEventListener("mousedown",i),window.addEventListener("resize",d))},c=()=>{t.value&&e.value&&(t.value.removeEventListener("mousedown",i),window.removeEventListener("resize",d))},u=()=>{a.offsetX=0,a.offsetY=0,e.value&&(e.value.style.transform="")},d=()=>{const{offsetX:h,offsetY:p}=a;r(h,p)};return St(()=>{Wa(()=>{n.value?l():c()})}),Gt(()=>{c()}),{isDragging:o,resetPosition:u,updatePosition:d}},Coe=["aria-level"],Soe=["aria-label"],xoe=["id"];var Eoe=W({name:"ElDialogContent",__name:"dialog-content",props:rA,emits:goe,setup(e,{expose:t}){const{t:n}=It(),{Close:s}=f9,a=e,{dialogRef:o,headerRef:r,bodyId:i,ns:l,style:c}=je(cA),{focusTrapRef:u}=je(iE),d=e6(u,o),h=k(()=>!!a.draggable),p=k(()=>!!a.overflow),{resetPosition:v,updatePosition:m,isDragging:g}=dA(o,r,h,p),b=k(()=>[l.b(),l.is("fullscreen",a.fullscreen),l.is("draggable",h.value),l.is("dragging",g.value),l.is("align-center",!!a.alignCenter),{[l.m("center")]:a.center}]);return t({resetPosition:v,updatePosition:m}),(C,w)=>(S(),P("div",{ref:f(d),class:D(b.value),style:tt(f(c)),tabindex:"-1"},[A("header",{ref_key:"headerRef",ref:r,class:D([f(l).e("header"),e.headerClass,{"show-close":e.showClose}])},[ue(C.$slots,"header",{},()=>[A("span",{role:"heading","aria-level":e.ariaLevel,class:D(f(l).e("title"))},ve(e.title),11,Coe)]),e.showClose?(S(),P("button",{key:0,"aria-label":f(n)("el.dialog.close"),class:D(f(l).e("headerbtn")),type:"button",onClick:w[0]||(w[0]=_=>C.$emit("close"))},[j(f(Je),{class:D(f(l).e("close"))},{default:X(()=>[(S(),le(bt(e.closeIcon||f(s))))]),_:1},8,["class"])],10,Soe)):ie("v-if",!0)],2),A("div",{id:f(i),class:D([f(l).e("body"),e.bodyClass])},[ue(C.$slots,"default")],10,xoe),C.$slots.footer?(S(),P("footer",{key:0,class:D([f(l).e("footer"),e.footerClass])},[ue(C.$slots,"footer")],2)):ie("v-if",!0)],6))}});const n1=(e,t={})=>{pn(e)||Xn("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||Ee("popup"),s=k(()=>n.bm("parent","hidden"));let a=0,o=!1,r="0",i=!1;const l=()=>{i||(i=!0,setTimeout(()=>{typeof document>"u"||o&&document&&(document.body.style.width=r,ra(document.body,s.value))},200))};me(e,c=>{if(!c){l();return}i=!1,o=!Zr(document.body,s.value),o&&(r=document.body.style.width,Lo(document.body,s.value)),a=Bx(n.namespace.value);const u=document.documentElement.clientHeight0&&(u||d==="scroll")&&o&&(document.body.style.width=`calc(100% - ${a}px)`)}),V_(()=>l())},fA=(e,t)=>{var n;const a=_t().emit,{nextZIndex:o}=yp();let r="";const i=$s(),l=$s(),c=F(!1),u=F(!1),d=F(!1),h=F((n=e.zIndex)!=null?n:o()),p=F(!1);let v,m;const g=Af(),b=k(()=>{var Q,K;return(K=(Q=g.value)==null?void 0:Q.namespace)!=null?K:vp}),C=k(()=>{var Q;return(Q=g.value)==null?void 0:Q.dialog}),w=k(()=>{const Q={},K=`--${b.value}-dialog`;if(!e.fullscreen){e.top&&(Q[`${K}-margin-top`]=e.top);const ee=Pn(e.width);ee&&(Q[`${K}-width`]=ee)}return Q}),_=k(()=>{var Q,K,ee;return((ee=(K=e.draggable)!=null?K:(Q=C.value)==null?void 0:Q.draggable)!=null?ee:!1)&&!e.fullscreen}),x=k(()=>{var Q,K,ee;return(ee=(K=e.alignCenter)!=null?K:(Q=C.value)==null?void 0:Q.alignCenter)!=null?ee:!1}),E=k(()=>{var Q,K,ee;return(ee=(K=e.overflow)!=null?K:(Q=C.value)==null?void 0:Q.overflow)!=null?ee:!1}),T=k(()=>x.value?{display:"flex"}:{}),R=k(()=>{var Q,K,ee;const ae=(ee=(K=e.transition)!=null?K:(Q=C.value)==null?void 0:Q.transition)!=null?ee:uA,fe={name:ae,onAfterEnter:I,onBeforeLeave:$,onAfterLeave:M};if(ht(ae)){const ne={...ae},pe=(he,ce)=>Z=>{ke(he)?he.forEach(H=>{et(H)&&H(Z)}):et(he)&&he(Z),ce()};return ne.onAfterEnter=pe(ne.onAfterEnter,I),ne.onBeforeLeave=pe(ne.onBeforeLeave,$),ne.onAfterLeave=pe(ne.onAfterLeave,M),ne.name||(ne.name=uA),ne}return fe});function I(){a("opened")}function M(){a("closed"),a(ct,!1),e.destroyOnClose&&(d.value=!1),p.value=!1}function $(){p.value=!0,a("close")}function O(){m==null||m(),v==null||v(),e.openDelay&&e.openDelay>0?{stop:v}=Ef(()=>Y(),e.openDelay):Y()}function B(){v==null||v(),m==null||m(),e.closeDelay&&e.closeDelay>0?{stop:m}=Ef(()=>N(),e.closeDelay):N()}function U(){function Q(K){K||(u.value=!0,c.value=!1)}e.beforeClose?e.beforeClose(Q):B()}function J(){e.closeOnClickModal&&U()}function Y(){jt&&(c.value=!0)}function N(){c.value=!1}function L(){a("openAutoFocus")}function V(){a("closeAutoFocus")}function z(Q){var K;((K=Q.detail)==null?void 0:K.focusReason)==="pointer"&&Q.preventDefault()}e.lockScroll&&n1(c);function G(){e.closeOnPressEscape&&U()}return me(()=>e.zIndex,()=>{var Q;h.value=(Q=e.zIndex)!=null?Q:o()}),me(()=>e.modelValue,Q=>{var K;Q?(u.value=!1,p.value=!1,O(),d.value=!0,h.value=(K=e.zIndex)!=null?K:o(),ze(()=>{a("open"),t.value&&(t.value.parentElement.scrollTop=0,t.value.parentElement.scrollLeft=0,t.value.scrollTop=0)})):c.value&&B()}),me(()=>e.fullscreen,Q=>{t.value&&(Q?(r=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=r)}),St(()=>{e.modelValue&&(c.value=!0,d.value=!0,O())}),{afterEnter:I,afterLeave:M,beforeLeave:$,handleClose:U,onModalClick:J,close:B,doClose:N,onOpenAutoFocus:L,onCloseAutoFocus:V,onCloseRequested:G,onFocusoutPrevented:z,titleId:i,bodyId:l,closed:u,style:w,overlayDialogStyle:T,rendered:d,visible:c,zIndex:h,transitionConfig:R,_draggable:_,_alignCenter:x,_overflow:E,closing:p}},koe=["aria-label","aria-labelledby","aria-describedby"];var Aoe=W({name:"ElDialog",inheritAttrs:!1,__name:"dialog",props:iA,emits:lA,setup(e,{expose:t}){const n=e,s=zn();ai({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},k(()=>!!s.title));const a=Ee("dialog"),o=F(),r=F(),i=F(),{visible:l,titleId:c,bodyId:u,style:d,overlayDialogStyle:h,rendered:p,transitionConfig:v,zIndex:m,_draggable:g,_alignCenter:b,_overflow:C,handleClose:w,onModalClick:_,onOpenAutoFocus:x,onCloseAutoFocus:E,onCloseRequested:T,onFocusoutPrevented:R,closing:I}=fA(n,o);Tt(cA,{dialogRef:o,headerRef:r,bodyId:u,ns:a,rendered:p,style:d});const M=Z3(_),$=k(()=>n.modalPenetrable&&!n.modal&&!n.fullscreen);return t({visible:l,dialogContentRef:i,resetPosition:()=>{var B;(B=i.value)==null||B.resetPosition()},handleClose:w}),(B,U)=>(S(),le(f(Tf),{to:e.appendTo,disabled:e.appendTo!=="body"?!1:!e.appendToBody},{default:X(()=>[j(vs,wt(f(v),{persisted:""}),{default:X(()=>{var J;return[gt(j(f(Q3),{"custom-mask-event":"",mask:e.modal,"overlay-class":[(J=e.modalClass)!=null?J:"",`${f(a).namespace.value}-modal-dialog`,f(a).is("penetrable",$.value)],"z-index":f(m)},{default:X(()=>[A("div",{role:"dialog","aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:f(c),"aria-describedby":f(u),class:D([`${f(a).namespace.value}-overlay-dialog`,f(a).is("closing",f(I))]),style:tt(f(h)),onClick:U[0]||(U[0]=(...Y)=>f(M).onClick&&f(M).onClick(...Y)),onMousedown:U[1]||(U[1]=(...Y)=>f(M).onMousedown&&f(M).onMousedown(...Y)),onMouseup:U[2]||(U[2]=(...Y)=>f(M).onMouseup&&f(M).onMouseup(...Y))},[j(f(Df),{loop:"",trapped:f(l),"focus-start-el":"container",onFocusAfterTrapped:f(x),onFocusAfterReleased:f(E),onFocusoutPrevented:f(R),onReleaseRequested:f(T)},{default:X(()=>[f(p)?(S(),le(Eoe,wt({key:0,ref_key:"dialogContentRef",ref:i},B.$attrs,{center:e.center,"align-center":f(b),"close-icon":e.closeIcon,draggable:f(g),overflow:f(C),fullscreen:e.fullscreen,"header-class":e.headerClass,"body-class":e.bodyClass,"footer-class":e.footerClass,"show-close":e.showClose,title:e.title,"aria-level":e.headerAriaLevel,onClose:f(w)}),ka({header:X(()=>[B.$slots.title?ue(B.$slots,"title",{key:1}):ue(B.$slots,"header",{key:0,close:f(w),titleId:f(c),titleClass:f(a).e("title")})]),default:X(()=>[ue(B.$slots,"default")]),_:2},[B.$slots.footer?{name:"footer",fn:X(()=>[ue(B.$slots,"footer")]),key:"0"}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose"])):ie("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,koe)]),_:3},8,["mask","overlay-class","z-index"]),[[Bt,f(l)]])]}),_:3},16)]),_:3},8,["to","disabled"]))}});const Toe=pt(Aoe),Moe=Te({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:re(String),default:"solid"}});var Poe=W({name:"ElDivider",__name:"divider",props:Moe,setup(e){const t=e,n=Ee("divider"),s=k(()=>n.cssVar({"border-style":t.borderStyle}));return(a,o)=>(S(),P("div",{class:D([f(n).b(),f(n).m(e.direction)]),style:tt(s.value),role:"separator"},[a.$slots.default&&e.direction!=="vertical"?(S(),P("div",{key:0,class:D([f(n).e("text"),f(n).is(e.contentPosition)])},[ue(a.$slots,"default")],2)):ie("v-if",!0)],6))}});const hA=pt(Poe),Roe=Te({...iA,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},resizable:Boolean,size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),Ioe={...lA,"resize-start":(e,t)=>e instanceof MouseEvent&&typeof t=="number",resize:(e,t)=>e instanceof MouseEvent&&typeof t=="number","resize-end":(e,t)=>e instanceof MouseEvent&&typeof t=="number"};function Ooe(e,t,n){const{width:s,height:a}=Ry(),o=k(()=>["ltr","rtl"].includes(e.direction)),r=k(()=>["ltr","ttb"].includes(e.direction)?1:-1),i=k(()=>o.value?s.value:a.value),l=k(()=>wx(c.value+r.value*u.value,4,i.value)),c=F(0),u=F(0),d=F(!1),h=F(!1);let p=[],v=[];const m=()=>{var _;const x=(_=t.value)==null?void 0:_.closest('[aria-modal="true"]');return x?o.value?x.offsetWidth:x.offsetHeight:100};me(()=>[e.size,e.resizable],()=>{h.value=!1,c.value=0,u.value=0,C()});const g=_=>{e.resizable&&(h.value||(c.value=m(),h.value=!0),p=[_.pageX,_.pageY],d.value=!0,n("resize-start",_,c.value),v.push(Zt(window,"mouseup",C),Zt(window,"mousemove",b)))},b=_=>{const{pageX:x,pageY:E}=_,T=x-p[0],R=E-p[1];u.value=o.value?T:R,n("resize",_,l.value)},C=_=>{d.value&&(p=[],c.value=l.value,u.value=0,d.value=!1,v.forEach(x=>x==null?void 0:x()),v=[],_&&n("resize-end",_,c.value))},w=Zt(t,"mousedown",g);return Gt(()=>{w(),C()}),{size:k(()=>h.value?`${l.value}px`:Pn(e.size)),isResizing:d,isHorizontal:o}}const Loe=["aria-label","aria-labelledby","aria-describedby"],Noe=["id","aria-level"],$oe=["aria-label"],Doe=["id"];var Foe=W({name:"ElDrawer",inheritAttrs:!1,__name:"drawer",props:Roe,emits:Ioe,setup(e,{expose:t,emit:n}){const s=e,a=n,o=zn();ai({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},k(()=>!!o.title));const r=F(),i=F(),l=F(),c=Ee("drawer"),{t:u}=It(),{afterEnter:d,afterLeave:h,beforeLeave:p,visible:v,rendered:m,titleId:g,bodyId:b,zIndex:C,onModalClick:w,onOpenAutoFocus:_,onCloseAutoFocus:x,onFocusoutPrevented:E,onCloseRequested:T,handleClose:R}=fA(s,r),{isHorizontal:I,size:M,isResizing:$}=Ooe(s,l,a),O=k(()=>s.modalPenetrable&&!s.modal);return t({handleClose:R,afterEnter:d,afterLeave:h}),(B,U)=>(S(),le(f(Tf),{to:e.appendTo,disabled:e.appendTo!=="body"?!1:!e.appendToBody},{default:X(()=>[j(vs,{name:f(c).b("fade"),onAfterEnter:f(d),onAfterLeave:f(h),onBeforeLeave:f(p),persisted:""},{default:X(()=>{var J;return[gt(j(f(Q3),{mask:e.modal,"overlay-class":[f(c).is("drawer"),(J=e.modalClass)!=null?J:"",`${f(c).namespace.value}-modal-drawer`,f(c).is("penetrable",O.value)],"z-index":f(C),onClick:f(w)},{default:X(()=>[j(f(Df),{loop:"",trapped:f(v),"focus-trap-el":r.value,"focus-start-el":i.value,onFocusAfterTrapped:f(_),onFocusAfterReleased:f(x),onFocusoutPrevented:f(E),onReleaseRequested:f(T)},{default:X(()=>[A("div",wt({ref_key:"drawerRef",ref:r,"aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:f(g),"aria-describedby":f(b)},B.$attrs,{class:[f(c).b(),e.direction,f(v)&&"open",f(c).is("dragging",f($))],style:{[f(I)?"width":"height"]:f(M)},role:"dialog",onClick:U[1]||(U[1]=lt(()=>{},["stop"]))}),[A("span",{ref_key:"focusStartRef",ref:i,class:D(f(c).e("sr-focus")),tabindex:"-1"},null,2),e.withHeader?(S(),P("header",{key:0,class:D([f(c).e("header"),e.headerClass])},[B.$slots.title?ue(B.$slots,"title",{key:1},()=>[ie(" DEPRECATED SLOT ")]):ue(B.$slots,"header",{key:0,close:f(R),titleId:f(g),titleClass:f(c).e("title")},()=>[A("span",{id:f(g),role:"heading","aria-level":e.headerAriaLevel,class:D(f(c).e("title"))},ve(e.title),11,Noe)]),e.showClose?(S(),P("button",{key:2,"aria-label":f(u)("el.drawer.close"),class:D(f(c).e("close-btn")),type:"button",onClick:U[0]||(U[0]=(...Y)=>f(R)&&f(R)(...Y))},[j(f(Je),{class:D(f(c).e("close"))},{default:X(()=>[j(f(Ua))]),_:1},8,["class"])],10,$oe)):ie("v-if",!0)],2)):ie("v-if",!0),f(m)?(S(),P("div",{key:1,id:f(b),class:D([f(c).e("body"),e.bodyClass])},[ue(B.$slots,"default")],10,Doe)):ie("v-if",!0),B.$slots.footer?(S(),P("div",{key:2,class:D([f(c).e("footer"),e.footerClass])},[ue(B.$slots,"footer")],2)):ie("v-if",!0),e.resizable?(S(),P("div",{key:3,ref_key:"draggerRef",ref:l,style:tt({zIndex:f(C)}),class:D(f(c).e("dragger"))},null,6)):ie("v-if",!0)],16,Loe)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[Bt,f(v)]])]}),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}});const Boe=pt(Foe);var Voe=W({inheritAttrs:!1});function zoe(e,t,n,s,a,o){return ue(e.$slots,"default")}var Hoe=is(Voe,[["render",zoe]]),Woe=W({name:"ElCollectionItem",inheritAttrs:!1});function joe(e,t,n,s,a,o){return ue(e.$slots,"default")}var Koe=is(Woe,[["render",joe]]);const pA="data-el-collection-item",Uoe=e=>{const t=`El${e}Collection`,n=`${t}Item`,s=Symbol(t),a=Symbol(n),o=Object.assign({},Hoe,{name:t,setup(){const i=F(),l=new Map;Tt(s,{itemMap:l,getItems:()=>{const u=f(i);if(!u)return[];const d=Array.from(u.querySelectorAll(`[${pA}]`));return[...l.values()].sort((p,v)=>d.indexOf(p.ref)-d.indexOf(v.ref))},collectionRef:i})}}),r=Object.assign({},Koe,{name:n,setup(i,{attrs:l}){const c=F(),u=je(s,void 0);Tt(a,{collectionItemRef:c}),St(()=>{const d=f(c);d&&u.itemMap.set(d,{ref:d,...l})}),Gt(()=>{const d=f(c);u.itemMap.delete(d)})}});return{COLLECTION_INJECTION_KEY:s,COLLECTION_ITEM_INJECTION_KEY:a,ElCollection:o,ElCollectionItem:r}},qoe=Te({style:{type:re([String,Array,Object])},currentTabId:{type:re(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:re(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:Goe,ElCollectionItem:Yoe,COLLECTION_INJECTION_KEY:vA,COLLECTION_ITEM_INJECTION_KEY:Xoe}=Uoe("RovingFocusGroup"),t6=Symbol("elRovingFocusGroup"),mA=Symbol("elRovingFocusGroupItem"),Joe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},Zoe=(e,t)=>e,Qoe=(e,t,n)=>{const s=an(e),a=Zoe(s);return Joe[a]},ere=(e,t)=>e.map((n,s)=>e[(s+t)%e.length]),gA=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},bA="currentTabIdChange",yA="rovingFocusGroup.entryFocus",tre={bubbles:!1,cancelable:!0};var nre=W({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:qoe,emits:[bA,"entryFocus"],setup(e,{emit:t}){var n;const s=F((n=e.currentTabId||e.defaultCurrentTabId)!=null?n:null),a=F(!1),o=F(!1),r=F(),{getItems:i}=je(vA,void 0),l=k(()=>[{outline:"none"},e.style]),c=g=>{t(bA,g)},u=()=>{a.value=!0},d=ms(g=>{var b;(b=e.onMousedown)==null||b.call(e,g)},()=>{o.value=!0}),h=ms(g=>{var b;(b=e.onFocus)==null||b.call(e,g)},g=>{const b=!f(o),{target:C,currentTarget:w}=g;if(C===w&&b&&!f(a)){const _=new Event(yA,tre);if(w==null||w.dispatchEvent(_),!_.defaultPrevented){const x=i().filter(M=>M.focusable),E=x.find(M=>M.active),T=x.find(M=>M.id===f(s)),I=[E,T,...x].filter(Boolean).map(M=>M.ref);gA(I)}}o.value=!1}),p=ms(g=>{var b;(b=e.onBlur)==null||b.call(e,g)},()=>{a.value=!1}),v=(...g)=>{t("entryFocus",...g)},m=g=>{const b=Qoe(g);if(b){g.preventDefault();let w=i().filter(_=>_.focusable).map(_=>_.ref);switch(b){case"last":{w.reverse();break}case"prev":case"next":{b==="prev"&&w.reverse();const _=w.indexOf(g.currentTarget);w=e.loop?ere(w,_+1):w.slice(_+1);break}}ze(()=>{gA(w)})}};Tt(t6,{currentTabbedId:au(s),loop:Jt(e,"loop"),tabIndex:k(()=>f(a)?-1:0),rovingFocusGroupRef:r,rovingFocusGroupRootStyle:l,orientation:Jt(e,"orientation"),dir:Jt(e,"dir"),onItemFocus:c,onItemShiftTab:u,onBlur:p,onFocus:h,onMousedown:d,onKeydown:m}),me(()=>e.currentTabId,g=>{s.value=g??null}),Zt(r,yA,v)}});function sre(e,t,n,s,a,o){return ue(e.$slots,"default")}var are=is(nre,[["render",sre]]),ore=W({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:Goe,ElRovingFocusGroupImpl:are}});function rre(e,t,n,s,a,o){const r=Ge("el-roving-focus-group-impl"),i=Ge("el-focus-group-collection");return S(),le(i,null,{default:X(()=>[j(r,Oi(Vi(e.$attrs)),{default:X(()=>[ue(e.$slots,"default")]),_:3},16)]),_:3})}var ire=is(ore,[["render",rre]]);const s1=Te({trigger:{...si.trigger,type:re([String,Array])},triggerKeys:{type:re(Array),default:()=>[Ae.enter,Ae.numpadEnter,Ae.space,Ae.down]},virtualTriggering:si.virtualTriggering,virtualRef:si.virtualRef,effect:{...tn.effect,default:"light"},type:{type:re(String)},placement:{type:re(String),default:"bottom"},popperOptions:{type:re(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:re([Number,String]),default:0},maxHeight:{type:re([Number,String]),default:""},popperClass:tn.popperClass,popperStyle:tn.popperStyle,disabled:Boolean,role:{type:String,values:J9,default:"menu"},buttonProps:{type:re(Object)},teleported:tn.teleported,appendTo:tn.appendTo,persistent:{type:Boolean,default:!0}}),wA=Te({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:en}}),lre=Te({onKeydown:{type:re(Function)}}),a1=Symbol("elDropdown"),_A="elDropdown",{ButtonGroup:cre}=gs;var ure=W({name:"ElDropdown",components:{ElButton:gs,ElButtonGroup:cre,ElScrollbar:pr,ElTooltip:Ss,ElRovingFocusGroup:ire,ElOnlyChild:tE,ElIcon:Je,ArrowDown:hr},props:s1,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=_t(),s=Ee("dropdown"),{t:a}=It(),o=F(),r=F(),i=F(),l=F(),c=F(null),u=F(null),d=F(!1),h=k(()=>({maxHeight:Pn(e.maxHeight)})),p=k(()=>[s.m(_.value)]),v=k(()=>_s(e.trigger)),m=$s().value,g=k(()=>e.id||m);function b(){var B;(B=i.value)==null||B.onClose(void 0,0)}function C(){var B;(B=i.value)==null||B.onClose()}function w(){var B;(B=i.value)==null||B.onOpen()}const _=ts();function x(...B){t("command",...B)}function E(){}function T(){const B=f(l);v.value.includes("hover")&&(B==null||B.focus({preventScroll:!0})),u.value=null}function R(B){u.value=B}function I(){t("visible-change",!0)}function M(B){var U;d.value=(B==null?void 0:B.type)==="keydown",(U=l.value)==null||U.focus()}function $(){t("visible-change",!1)}return Tt(a1,{contentRef:l,role:k(()=>e.role),triggerId:g,isUsingKeyboard:d,onItemEnter:E,onItemLeave:T,handleClose:C}),Tt(_A,{instance:n,dropdownSize:_,handleClick:b,commandHandler:x,trigger:Jt(e,"trigger"),hideOnClick:Jt(e,"hideOnClick")}),{t:a,ns:s,scrollbar:c,wrapStyle:h,dropdownTriggerKls:p,dropdownSize:_,triggerId:g,currentTabId:u,handleCurrentTabIdChange:R,handlerMainButtonClick:B=>{t("click",B)},handleClose:C,handleOpen:w,handleBeforeShowTooltip:I,handleShowTooltip:M,handleBeforeHideTooltip:$,popperRef:i,contentRef:l,triggeringElementRef:o,referenceElementRef:r}}});function dre(e,t,n,s,a,o){var r;const i=Ge("el-roving-focus-group"),l=Ge("el-scrollbar"),c=Ge("el-only-child"),u=Ge("el-tooltip"),d=Ge("el-button"),h=Ge("arrow-down"),p=Ge("el-icon"),v=Ge("el-button-group");return S(),P("div",{class:D([e.ns.b(),e.ns.is("disabled",e.disabled)])},[j(u,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"popper-style":e.popperStyle,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-arrow":e.showArrow,"show-after":e.trigger==="hover"?e.showTimeout:0,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"virtual-ref":(r=e.virtualRef)!=null?r:e.triggeringElementRef,"virtual-triggering":e.virtualTriggering||e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,"append-to":e.appendTo,pure:"","focus-on-target":"",persistent:e.persistent,onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},ka({content:X(()=>[j(l,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:X(()=>[j(i,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange},{default:X(()=>[ue(e.$slots,"dropdown")]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:X(()=>[j(c,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:X(()=>[ue(e.$slots,"default")]),_:3},8,["id","tabindex"])]),key:"0"}]),1032,["role","effect","popper-options","placement","popper-class","popper-style","trigger","trigger-keys","trigger-target-el","show-arrow","show-after","hide-after","virtual-ref","virtual-triggering","disabled","transition","teleported","append-to","persistent","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(S(),le(v,{key:0},{default:X(()=>[j(d,wt({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:X(()=>[ue(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),j(d,wt({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:X(()=>[j(p,{class:D(e.ns.e("icon"))},{default:X(()=>[j(h)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):ie("v-if",!0)],2)}var fre=is(ure,[["render",dre]]),hre=W({components:{ElRovingFocusCollectionItem:Yoe},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,onItemFocus:s,onItemShiftTab:a,onKeydown:o}=je(t6,void 0),r=$s(),i=F(),l=ms(h=>{t("mousedown",h)},h=>{e.focusable?s(f(r)):h.preventDefault()}),c=ms(h=>{t("focus",h)},()=>{s(f(r))}),u=ms(h=>{t("keydown",h)},h=>{const{shiftKey:p,target:v,currentTarget:m}=h;if(an(h)===Ae.tab&&p){a();return}v===m&&o(h)}),d=k(()=>n.value===f(r));return Tt(mA,{rovingFocusGroupItemRef:i,tabIndex:k(()=>f(d)?0:-1),handleMousedown:l,handleFocus:c,handleKeydown:u}),{id:r,handleKeydown:u,handleFocus:c,handleMousedown:l}}});function pre(e,t,n,s,a,o){const r=Ge("el-roving-focus-collection-item");return S(),le(r,{id:e.id,focusable:e.focusable,active:e.active},{default:X(()=>[ue(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var vre=is(hre,[["render",pre]]),mre=W({name:"DropdownItemImpl",components:{ElIcon:Je},props:wA,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=Ee("dropdown"),{role:s}=je(a1,void 0),{collectionItemRef:a}=je(Xoe,void 0),{rovingFocusGroupItemRef:o,tabIndex:r,handleFocus:i,handleKeydown:l,handleMousedown:c}=je(mA,void 0),u=e6(a,o),d=k(()=>s.value==="menu"?"menuitem":s.value==="navigation"?"link":"button"),h=ms(p=>{const v=an(p);if([Ae.enter,Ae.numpadEnter,Ae.space].includes(v))return p.preventDefault(),p.stopImmediatePropagation(),t("clickimpl",p),!0},l);return{ns:n,itemRef:u,dataset:{[pA]:""},role:d,tabIndex:r,handleFocus:i,handleKeydown:h,handleMousedown:c}}});const gre=["aria-disabled","tabindex","role"];function bre(e,t,n,s,a,o){const r=Ge("el-icon");return S(),P(He,null,[e.divided?(S(),P("li",{key:0,role:"separator",class:D(e.ns.bem("menu","item","divided"))},null,2)):ie("v-if",!0),A("li",wt({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:t[0]||(t[0]=i=>e.$emit("clickimpl",i)),onFocus:t[1]||(t[1]=(...i)=>e.handleFocus&&e.handleFocus(...i)),onKeydown:t[2]||(t[2]=lt((...i)=>e.handleKeydown&&e.handleKeydown(...i),["self"])),onMousedown:t[3]||(t[3]=(...i)=>e.handleMousedown&&e.handleMousedown(...i)),onPointermove:t[4]||(t[4]=i=>e.$emit("pointermove",i)),onPointerleave:t[5]||(t[5]=i=>e.$emit("pointerleave",i))}),[e.icon||e.$slots.icon?(S(),le(r,{key:0},{default:X(()=>[ue(e.$slots,"icon",{},()=>[(S(),le(bt(e.icon)))])]),_:3})):ie("v-if",!0),ue(e.$slots,"default")],16,gre)],64)}var yre=is(mre,[["render",bre]]);const CA=()=>{const e=je(_A,{}),t=k(()=>e==null?void 0:e.dropdownSize);return{elDropdown:e,_elDropdownSize:t}};var wre=W({name:"ElDropdownItem",components:{ElRovingFocusItem:vre,ElDropdownItemImpl:yre},inheritAttrs:!1,props:wA,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:s}=CA(),a=_t(),{onItemEnter:o,onItemLeave:r}=je(a1,void 0),i=ms(d=>(t("pointermove",d),d.defaultPrevented),hE(d=>{if(e.disabled){r(d);return}const h=d.currentTarget;h===document.activeElement||h.contains(document.activeElement)||(o(d),d.defaultPrevented||h==null||h.focus({preventScroll:!0}))})),l=ms(d=>(t("pointerleave",d),d.defaultPrevented),hE(r)),c=ms(d=>{if(!e.disabled)return t("click",d),d.type!=="keydown"&&d.defaultPrevented},d=>{var h,p,v;if(e.disabled){d.stopImmediatePropagation();return}(h=s==null?void 0:s.hideOnClick)!=null&&h.value&&((p=s.handleClick)==null||p.call(s)),(v=s.commandHandler)==null||v.call(s,e.command,a,d)}),u=k(()=>({...e,...n}));return{handleClick:c,handlePointerMove:i,handlePointerLeave:l,propsAndAttrs:u}}});function _re(e,t,n,s,a,o){const r=Ge("el-dropdown-item-impl"),i=Ge("el-roving-focus-item");return S(),le(i,{focusable:!e.disabled},{default:X(()=>[j(r,wt(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),ka({default:X(()=>[ue(e.$slots,"default")]),_:2},[e.$slots.icon?{name:"icon",fn:X(()=>[ue(e.$slots,"icon")]),key:"0"}:void 0]),1040,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])}var SA=is(wre,[["render",_re]]),Cre=W({name:"ElDropdownMenu",props:lre,setup(e){const t=Ee("dropdown"),{_elDropdownSize:n}=CA(),s=n.value,{contentRef:a,role:o,triggerId:r,isUsingKeyboard:i,handleClose:l}=je(a1,void 0),{rovingFocusGroupRef:c,rovingFocusGroupRootStyle:u,onBlur:d,onFocus:h,onKeydown:p,onMousedown:v}=je(t6,void 0),{collectionRef:m}=je(vA,void 0),g=k(()=>[t.b("menu"),t.bm("menu",s==null?void 0:s.value)]),b=e6(a,c,m),C=ms(_=>{var x;(x=e.onKeydown)==null||x.call(e,_)},_=>{const{currentTarget:x,target:E}=_,T=an(_);if(x.contains(E),Ae.tab===T)return l();p(_)});function w(_){i.value&&h(_)}return{size:s,rovingFocusGroupRootStyle:u,dropdownKls:g,role:o,triggerId:r,dropdownListWrapperRef:b,handleKeydown:C,onBlur:d,handleFocus:w,onMousedown:v}}});const Sre=["role","aria-labelledby"];function xre(e,t,n,s,a,o){return S(),P("ul",{ref:e.dropdownListWrapperRef,class:D(e.dropdownKls),style:tt(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onFocusin:t[0]||(t[0]=(...r)=>e.handleFocus&&e.handleFocus(...r)),onFocusout:t[1]||(t[1]=(...r)=>e.onBlur&&e.onBlur(...r)),onKeydown:t[2]||(t[2]=lt((...r)=>e.handleKeydown&&e.handleKeydown(...r),["self"])),onMousedown:t[3]||(t[3]=lt((...r)=>e.onMousedown&&e.onMousedown(...r),["self"]))},[ue(e.$slots,"default")],46,Sre)}var xA=is(Cre,[["render",xre]]);const Ere=pt(fre,{DropdownItem:SA,DropdownMenu:xA}),kre=An(SA),Are=An(xA),Tre=Te({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),Mre={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Pre=["id"],Rre=["stop-color"],Ire=["stop-color"],Ore=["id"],Lre=["stop-color"],Nre=["stop-color"],$re=["id"],Dre={stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Fre={transform:"translate(-1268.000000, -535.000000)"},Bre={transform:"translate(1268.000000, 535.000000)"},Vre=["fill"],zre=["fill"],Hre={transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},Wre=["fill"],jre=["fill"],Kre=["fill"],Ure=["fill"],qre=["fill"],Gre={transform:"translate(53.000000, 45.000000)"},Yre=["fill","xlink:href"],Xre=["fill","mask"],Jre=["fill"];var Zre=W({name:"ImgEmpty",__name:"img-empty",setup(e){const t=Ee("empty"),n=$s();return(s,a)=>(S(),P("svg",Mre,[A("defs",null,[A("linearGradient",{id:`linearGradient-1-${f(n)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[A("stop",{"stop-color":`var(${f(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,Rre),A("stop",{"stop-color":`var(${f(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,Ire)],8,Pre),A("linearGradient",{id:`linearGradient-2-${f(n)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[A("stop",{"stop-color":`var(${f(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,Lre),A("stop",{"stop-color":`var(${f(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,Nre)],8,Ore),A("rect",{id:`path-3-${f(n)}`,x:"0",y:"0",width:"17",height:"36"},null,8,$re)]),A("g",Dre,[A("g",Fre,[A("g",Bre,[A("path",{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(${f(t).cssVarBlockName("fill-color-3")})`},null,8,Vre),A("polygon",{fill:`var(${f(t).cssVarBlockName("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,8,zre),A("g",Hre,[A("polygon",{fill:`var(${f(t).cssVarBlockName("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,8,Wre),A("polygon",{fill:`var(${f(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,jre),A("rect",{fill:`url(#linearGradient-1-${f(n)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,Kre),A("polygon",{fill:`var(${f(t).cssVarBlockName("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,8,Ure)]),A("rect",{fill:`url(#linearGradient-2-${f(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,qre),A("g",Gre,[A("use",{fill:`var(${f(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${f(n)}`},null,8,Yre),A("polygon",{fill:`var(${f(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${f(n)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,Xre)]),A("polygon",{fill:`var(${f(t).cssVarBlockName("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,8,Jre)])])])]))}});const Qre=["src"],eie={key:1};var tie=W({name:"ElEmpty",__name:"empty",props:Tre,setup(e){const t=e,{t:n}=It(),s=Ee("empty"),a=k(()=>t.description||n("el.table.emptyText")),o=k(()=>({width:Pn(t.imageSize)}));return(r,i)=>(S(),P("div",{class:D(f(s).b())},[A("div",{class:D(f(s).e("image")),style:tt(o.value)},[e.image?(S(),P("img",{key:0,src:e.image,ondragstart:"return false"},null,8,Qre)):ue(r.$slots,"image",{key:1},()=>[j(Zre)])],6),A("div",{class:D(f(s).e("description"))},[r.$slots.description?ue(r.$slots,"description",{key:0}):(S(),P("p",eie,ve(a.value),1))],2),r.$slots.default?(S(),P("div",{key:0,class:D(f(s).e("bottom"))},[ue(r.$slots,"default")],2)):ie("v-if",!0)],2))}});const EA=pt(tie),nie=Te({size:{type:String,values:fr},disabled:Boolean}),sie=Te({...nie,model:Object,rules:{type:re(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:re([Object,Boolean]),default:!0}}),aie={validate:(e,t,n)=>(ke(e)||Xe(e))&&Qt(t)&&Xe(n)};function oie(){const e=F([]),t=k(()=>{if(!e.value.length)return"0";const o=Math.max(...e.value);return o?`${o}px`:""});function n(o){const r=e.value.indexOf(o);return r===-1&&t.value,r}function s(o,r){if(o&&r){const i=n(r);e.value.splice(i,1,o)}else o&&e.value.push(o)}function a(o){const r=n(o);r>-1&&e.value.splice(r,1)}return{autoLabelWidth:t,registerLabelWidth:s,deregisterLabelWidth:a}}const o1=(e,t)=>{const n=_s(t).map(s=>ke(s)?s.join("."):s);return n.length>0?e.filter(s=>s.propString&&n.includes(s.propString)):e};var rie=W({name:"ElForm",__name:"form",props:sie,emits:aie,setup(e,{expose:t,emit:n}){const s=e,a=n,o=F(),r=Wt([]),i=ts(),l=Ee("form"),c=k(()=>{const{labelPosition:E,inline:T}=s;return[l.b(),l.m(i.value||"default"),{[l.m(`label-${E}`)]:E,[l.m("inline")]:T}]}),u=E=>o1(r,[E])[0],d=E=>{r.push(E)},h=E=>{E.prop&&r.splice(r.indexOf(E),1)},p=E=>{s.model&&E&&r.forEach(T=>{if(T.prop&&iV(E,T.prop)){const R=kf(E,T.prop).value;T.setInitialValue(R)}})},v=(E=[])=>{s.model&&o1(r,E).forEach(T=>T.resetField())},m=(E=[])=>{o1(r,E).forEach(T=>T.clearValidate())},g=k(()=>!!s.model),b=E=>{if(r.length===0)return[];const T=o1(r,E);return T.length?T:[]},C=async E=>_(void 0,E),w=async(E=[])=>{if(!g.value)return!1;const T=b(E);if(T.length===0)return!0;let R={};for(const I of T)try{await I.validate(""),I.validateState==="error"&&!I.error&&I.resetField()}catch(M){R={...R,...M}}return Object.keys(R).length===0?!0:Promise.reject(R)},_=async(E=[],T)=>{let R=!1;const I=!et(T);try{return R=await w(E),R===!0&&await(T==null?void 0:T(R)),R}catch(M){if(M instanceof Error)throw M;const $=M;if(s.scrollToError&&o.value){const O=o.value.querySelector(`.${l.b()}-item.is-error`);O==null||O.scrollIntoView(s.scrollIntoViewOptions)}return!R&&await(T==null?void 0:T(!1,$)),I&&Promise.reject($)}},x=E=>{var T;const R=u(E);R&&((T=R.$el)==null||T.scrollIntoView(s.scrollIntoViewOptions))};return me(()=>s.rules,()=>{s.validateOnRuleChange&&C().catch(E=>void 0)},{deep:!0,flush:"post"}),Tt(Su,Wt({...ps(s),emit:a,resetFields:v,clearValidate:m,validateField:_,getField:u,addField:d,removeField:h,setInitialValues:p,...oie()})),t({validate:C,validateField:_,resetFields:v,clearValidate:m,scrollToField:x,getField:u,fields:r,setInitialValues:p}),(E,T)=>(S(),P("form",{ref_key:"formRef",ref:o,class:D(c.value)},[ue(E.$slots,"default")],2))}});const iie=["","error","validating","success"],lie=Te({label:String,labelWidth:{type:[String,Number]},labelPosition:{type:String,values:["left","right","top",""],default:""},prop:{type:re([String,Array])},required:{type:Boolean,default:void 0},rules:{type:re([Object,Array])},error:String,validateStatus:{type:String,values:iie},for:String,inlineMessage:{type:Boolean,default:void 0},showMessage:{type:Boolean,default:!0},size:{type:String,values:fr}});function Eu(){return Eu=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function r1(e,t,n){return uie()?r1=Reflect.construct.bind():r1=function(a,o,r){var i=[null];i.push.apply(i,o);var l=Function.bind.apply(a,i),c=new l;return r&&Gp(c,r.prototype),c},r1.apply(null,arguments)}function die(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function s6(e){var t=typeof Map=="function"?new Map:void 0;return s6=function(s){if(s===null||!die(s))return s;if(typeof s!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(s))return t.get(s);t.set(s,a)}function a(){return r1(s,arguments,n6(this).constructor)}return a.prototype=Object.create(s.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Gp(a,s)},s6(e)}var fie=/%[sdj%]/g,hie=function(){};function a6(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var s=n.field;t[s]=t[s]||[],t[s].push(n)}),t}function ho(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s=o)return i;switch(i){case"%s":return String(n[a++]);case"%d":return Number(n[a++]);case"%j":try{return JSON.stringify(n[a++])}catch{return"[Circular]"}break;default:return i}});return r}return e}function pie(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function xs(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||pie(t)&&typeof e=="string"&&!e)}function vie(e,t,n){var s=[],a=0,o=e.length;function r(i){s.push.apply(s,i||[]),a++,a===o&&n(s)}e.forEach(function(i){t(i,r)})}function kA(e,t,n){var s=0,a=e.length;function o(r){if(r&&r.length){n(r);return}var i=s;s=s+1,i{i&&(clearTimeout(i),i=void 0)},g=()=>{c.value&&(c.value.innerHTML="",m())};return(b,_)=>(S(),le(f(pr),{key:h.value,tag:"ul",role:"menu",class:D(f(s).b()),"wrap-class":f(s).e("wrap"),"view-class":[f(s).e("list"),f(s).is("empty",u.value)],onMousemove:v,onMouseleave:g},{default:X(()=>{var w;return[(S(!0),P(He,null,yt(e.nodes,C=>(S(),le(rne,{key:C.uid,node:C,"menu-id":h.value,onExpand:p},null,8,["node","menu-id"]))),128)),d.value?(S(),P("div",{key:0,class:D(f(s).e("empty-text"))},[j(f(Je),{size:"14",class:D(f(s).is("loading"))},{default:X(()=>[j(f(Ns))]),_:1},8,["class"]),Ue(" "+ve(f(a)("el.cascader.loading")),1)],2)):u.value?(S(),P("div",{key:1,class:D(f(s).e("empty-text"))},[ue(b.$slots,"empty",{},()=>[Ue(ve(f(a)("el.cascader.noData")),1)])],2)):(w=f(l))!=null&&w.isHoverMenu?(S(),P(He,{key:2},[ie(" eslint-disable vue/html-self-closing "),(S(),P("svg",{ref_key:"hoverZone",ref:c,class:D(f(s).e("hover-zone"))},null,2))],2112)):ie("v-if",!0),ie(" eslint-enable vue/html-self-closing ")]}),_:3},8,["class","wrap-class","view-class"]))}}),lne=Object.defineProperty,cne=(e,t,n)=>t in e?lne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xa=(e,t,n)=>cne(e,typeof t!="symbol"?t+"":t,n);let une=0;const dne=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};let P3=class $w{constructor(t,n,s,a=!1){this.data=t,this.config=n,this.parent=s,this.root=a,Xa(this,"uid",une++),Xa(this,"level"),Xa(this,"value"),Xa(this,"label"),Xa(this,"pathNodes"),Xa(this,"pathValues"),Xa(this,"pathLabels"),Xa(this,"childrenData"),Xa(this,"children"),Xa(this,"text"),Xa(this,"loaded"),Xa(this,"checked",!1),Xa(this,"indeterminate",!1),Xa(this,"loading",!1);const{value:o,label:r,children:i}=n,l=t[i],c=dne(this);this.level=a?0:s?s.level+1:1,this.value=t[o],this.label=t[r],this.pathNodes=c,this.pathValues=c.map(u=>u.value),this.pathLabels=c.map(u=>u.label),this.childrenData=l,this.children=(l||[]).map(u=>new $w(u,n,this)),this.loaded=!n.lazy||this.isLeaf||!Pa(l),this.text=""}get isDisabled(){const{data:t,parent:n,config:s}=this,{disabled:a,checkStrictly:o}=s;return(et(a)?a(t,this):!!t[a])||!o&&!!(n!=null&&n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:s,loaded:a}=this,{lazy:o,leaf:r}=n,i=et(r)?r(t,this):t[r];return $t(i)?o&&!a?!1:!(ke(s)&&s.length):!!i}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:s}=this,a=new $w(t,this.config,this);return ke(n)?n.push(t):this.childrenData=[t],s.push(a),a}calcText(t,n){const s=t?this.pathLabels.join(n):this.label;return this.text=s,s}broadcast(t){this.children.forEach(n=>{var s;n&&(n.broadcast(t),(s=n.onParentCheck)==null||s.call(n,t))})}emit(){var t;const{parent:n}=this;n&&((t=n.onChildCheck)==null||t.call(n),n.emit())}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(a=>!a.isDisabled),s=n.length?n.every(a=>a.checked):!1;this.setCheckState(s)}setCheckState(t){const n=this.children.length,s=this.children.reduce((a,o)=>{const r=o.checked?1:o.indeterminate?.5:0;return a+r},0);this.checked=this.loaded&&this.children.filter(a=>!a.isDisabled).every(a=>a.loaded&&a.checked)&&t,this.indeterminate=this.loaded&&s!==n&&s>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:s}=this.config;n||!s?this.checked=t:(this.broadcast(t),this.setCheckState(t),this.emit())}};var fne=Object.defineProperty,hne=(e,t,n)=>t in e?fne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,R3=(e,t,n)=>hne(e,typeof t!="symbol"?t+"":t,n);const I3=(e,t)=>e.reduce((n,s)=>(s.isLeaf?n.push(s):(!t&&n.push(s),n=n.concat(I3(s.children,t))),n),[]);class mk{constructor(t,n){this.config=n,R3(this,"nodes"),R3(this,"allNodes"),R3(this,"leafNodes");const s=(t||[]).map(a=>new P3(a,this.config));this.nodes=s,this.allNodes=I3(s,!1),this.leafNodes=I3(s,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,n){const s=n?n.appendChild(t):new P3(t,this.config);n||this.nodes.push(s),this.appendAllNodesAndLeafNodes(s)}appendNodes(t,n){t.length>0?t.forEach(s=>this.appendNode(s,n)):n&&n.isLeaf&&this.leafNodes.push(n)}appendAllNodesAndLeafNodes(t){this.allNodes.push(t),t.isLeaf&&this.leafNodes.push(t),t.children&&t.children.forEach(n=>{this.appendAllNodesAndLeafNodes(n)})}getNodeByValue(t,n=!1){return Ka(t)?null:this.getFlattedNodes(n).find(a=>$n(a.value,t)||$n(a.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:s,level:a})=>$n(t.value,s)&&t.level===a)||null}}const gk=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},pne=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():j9(e)&&e.click()},vne=(e,t)=>{const n=t.slice(0),s=n.map(o=>o.uid),a=e.reduce((o,r)=>{const i=s.indexOf(r.uid);return i>-1&&(o.push(r),n.splice(i,1),s.splice(i,1)),o},[]);return a.push(...n),a};var mne=W({name:"ElCascaderPanel",__name:"index",props:Lte,emits:Nte,setup(e,{expose:t,emit:n}){const s=e,a=n;let o=!1;const r=Ee("cascader"),i=$te(s),l=zn();let c;const u=F(!0),d=F(!1),h=F([]),p=F(),v=F([]),m=F(),g=F([]),b=k(()=>i.value.expandTrigger==="hover"),_=k(()=>s.renderLabel||l.default),w=()=>{const{options:N}=s,L=i.value;o=!1,c=new mk(N,L),v.value=[c.getNodes()],L.lazy&&Pa(s.options)?(u.value=!1,C(void 0,V=>{V&&(c=new mk(V,L),v.value=[c.getNodes()]),u.value=!0,O(!1,!0)})):O(!1,!0)},C=(N,L)=>{const V=i.value;N=N||new P3({},V,void 0,!0),N.loading=!0;const z=Q=>{const K=N,ee=K.root?null:K;K.loading=!1,K.loaded=!0,K.childrenData=K.childrenData||[],Q&&(c==null||c.appendNodes(Q,ee)),Q&&(L==null||L(Q)),N.level===0&&(d.value=!0)},G=()=>{N.loading=!1,N.loaded=!1,N.level===0&&(u.value=!0)};V.lazyLoad(N,z,G)},x=(N,L)=>{var V;const{level:z}=N,G=v.value.slice(0,z);let Q;N.isLeaf?Q=N.pathNodes[z-2]:(Q=N,G.push(N.children)),((V=m.value)==null?void 0:V.uid)!==(Q==null?void 0:Q.uid)&&(m.value=N,v.value=G,!L&&a("expand-change",(N==null?void 0:N.pathValues)||[]))},E=(N,L,V=!0)=>{const{checkStrictly:z,multiple:G}=i.value,Q=g.value[0];o=!0,!G&&(Q==null||Q.doCheck(!1)),N.doCheck(L),$(),V&&!G&&!z&&a("close"),!V&&!G&&T(N)},T=N=>{N&&(N=N.parent,T(N),N&&x(N))},R=N=>c==null?void 0:c.getFlattedNodes(N),I=N=>{var L;return(L=R(N))==null?void 0:L.filter(({checked:V})=>V!==!1)},M=()=>{g.value.forEach(N=>N.doCheck(!1)),$(),v.value=v.value.slice(0,1),m.value=void 0,a("expand-change",[])},$=()=>{var N;const{checkStrictly:L,multiple:V}=i.value,z=g.value,G=I(!L),Q=vne(z,G),K=Q.map(ee=>ee.valueByOption);g.value=Q,p.value=V?K:(N=K[0])!=null?N:null},O=(N=!1,L=!1)=>{const{modelValue:V}=s,{lazy:z,multiple:G,checkStrictly:Q}=i.value,K=!Q;if(!(!u.value||o||!L&&$n(V,p.value)))if(z&&!N){const ae=bE(sV(ca(V))).map(fe=>c==null?void 0:c.getNodeByValue(fe)).filter(fe=>!!fe&&!fe.loaded&&!fe.loading);ae.length?ae.forEach(fe=>{C(fe,()=>O(!1,L))}):O(!0,L)}else{const ee=G?ca(V):[V],ae=bE(ee.map(fe=>c==null?void 0:c.getNodeByValue(fe,K)));B(ae,L),p.value=ug(V??void 0)}},B=(N,L=!0)=>{const{checkStrictly:V}=i.value,z=g.value,G=N.filter(ee=>!!ee&&(V||ee.isLeaf)),Q=c==null?void 0:c.getSameNode(m.value),K=L&&Q||G[0];K?K.pathNodes.forEach(ee=>x(ee,!0)):m.value=void 0,z.forEach(ee=>ee.doCheck(!1)),Wt(G).forEach(ee=>ee.doCheck(!0)),g.value=G,ze(U)},U=()=>{jt&&h.value.forEach(N=>{const L=N==null?void 0:N.$el;if(L){const V=L.querySelector(`.${r.namespace.value}-scrollbar__wrap`);let z=L.querySelector(`.${r.b("node")}.in-active-path`);if(!z){const G=L.querySelectorAll(`.${r.b("node")}.${r.is("active")}`);z=G[G.length-1]}Ly(V,z)}})},J=N=>{const L=N.target,V=an(N);switch(V){case Te.up:case Te.down:{N.preventDefault();const z=V===Te.up?-1:1;Ig(K9(L,z,`.${r.b("node")}[tabindex="-1"]`));break}case Te.left:{N.preventDefault();const z=h.value[gk(L)-1],G=z==null?void 0:z.$el.querySelector(`.${r.b("node")}[aria-expanded="true"]`);Ig(G);break}case Te.right:{N.preventDefault();const z=h.value[gk(L)+1],G=z==null?void 0:z.$el.querySelector(`.${r.b("node")}[tabindex="-1"]`);Ig(G);break}case Te.enter:case Te.numpadEnter:pne(L);break}};Tt(jg,Wt({config:i,expandingNode:m,checkedNodes:g,isHoverMenu:b,initialLoaded:u,renderLabelFn:_,lazyLoad:C,expandNode:x,handleCheckChange:E})),me(i,(N,L)=>{$n(N,L)||w()},{immediate:!0}),me(()=>s.options,w,{deep:!0}),me(()=>s.modelValue,()=>{o=!1,O()},{deep:!0}),me(()=>p.value,N=>{$n(N,s.modelValue)||(a(ct,N),a(Pt,N))});const Y=()=>{d.value||w()};return O4(()=>h.value=[]),St(()=>!Pa(s.modelValue)&&O()),t({menuList:h,menus:v,checkedNodes:g,handleKeyDown:J,handleCheckChange:E,getFlattedNodes:R,getCheckedNodes:I,clearCheckedNodes:M,calculateCheckedValue:$,scrollToExpandingNode:U,loadLazyRootNodes:Y}),(N,L)=>(S(),P("div",{class:D([f(r).b("panel"),f(r).is("bordered",e.border)]),onKeydown:J},[(S(!0),P(He,null,yt(v.value,(V,z)=>(S(),le(ine,{key:z,ref_for:!0,ref:G=>h.value[z]=G,index:z,nodes:[...V]},{empty:X(()=>[ue(N.$slots,"empty")]),_:3},8,["index","nodes"]))),128))],34))}});const bk=pt(mne),gne=["placeholder"],bne=["onClick"];var yne=W({name:"ElCascader",__name:"cascader",props:Dte,emits:Fte,setup(e,{expose:t,emit:n}){const s={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:Fe})=>{const{modifiersData:st,placement:ge}=Fe;["right","left","bottom","top"].includes(ge)||st.arrow&&(st.arrow.x=35)},requires:["arrow"]}]},a=e,o=n,r=Bi(),i=zn();let l=0,c=0;const u=Ee("cascader"),d=Ee("input"),h={small:7,default:11,large:15},{t:p}=It(),{formItem:v}=Cs(),m=In(),{valueOnClear:g}=wp(a),{isComposing:b,handleComposition:_}=Dp({afterComposition(Fe){var st;const ge=(st=Fe.target)==null?void 0:st.value;Ct(ge)}}),w=F(),C=F(),x=F(),E=F(),T=F(),R=F(),I=F(!1),M=F(!1),$=F(!1),O=F(""),B=F(""),U=F([]),J=F([]),Y=k(()=>a.props.multiple?a.collapseTags?U.value.slice(0,a.maxCollapseTags):U.value:[]),N=k(()=>a.props.multiple?a.collapseTags?U.value.slice(a.maxCollapseTags):[]:[]),L=k(()=>r.style),V=k(()=>{var Fe;return(Fe=a.placeholder)!=null?Fe:p("el.cascader.placeholder")}),z=k(()=>B.value||U.value.length>0||b.value?"":V.value),G=ts(),Q=k(()=>G.value==="small"?"small":"default"),K=k(()=>!!a.props.multiple),ee=k(()=>!a.filterable||K.value),ae=k(()=>K.value?B.value:O.value),fe=k(()=>{var Fe;return((Fe=T.value)==null?void 0:Fe.checkedNodes)||[]}),{wrapperRef:ne,isFocused:pe,handleBlur:he}=Qi(x,{disabled:m,beforeBlur(Fe){var st,ge;return((st=w.value)==null?void 0:st.isFocusInsideContent(Fe))||((ge=C.value)==null?void 0:ge.isFocusInsideContent(Fe))},afterBlur(){var Fe;a.validateEvent&&((Fe=v==null?void 0:v.validate)==null||Fe.call(v,"blur").catch(st=>void 0))}}),ce=k(()=>!a.clearable||m.value||$.value||!M.value&&!pe.value?!1:!!fe.value.length),Z=k(()=>{const{showAllLevels:Fe,separator:st}=a,ge=fe.value;return ge.length?K.value?"":ge[0].calcText(Fe,st):""}),H=k(()=>(v==null?void 0:v.validateState)||""),te=k({get(){return ug(a.modelValue)},set(Fe){const st=Fe??g.value;o(ct,st),o(Pt,st),a.validateEvent&&(v==null||v.validate("change").catch(ge=>void 0))}}),de=k(()=>[u.b(),u.m(G.value),u.is("disabled",m.value),r.class]),be=k(()=>[d.e("icon"),"icon-arrow-down",u.is("reverse",I.value)]),Ce=k(()=>u.is("focus",pe.value)),Se=k(()=>{var Fe,st;return(st=(Fe=w.value)==null?void 0:Fe.popperRef)==null?void 0:st.contentRef}),Ne=Fe=>{if(pe.value){const st=new FocusEvent("blur",Fe);he(st)}Ve(!1)},Ve=Fe=>{var st,ge;m.value||(Fe=Fe??!I.value,Fe!==I.value&&(I.value=Fe,(ge=(st=x.value)==null?void 0:st.input)==null||ge.setAttribute("aria-expanded",`${Fe}`),Fe?($e(),T.value&&ze(T.value.scrollToExpandingNode)):a.filterable&&dt(),o("visibleChange",Fe)))},$e=()=>{ze(()=>{var Fe;(Fe=w.value)==null||Fe.updatePopper()})},_e=()=>{$.value=!1},Oe=Fe=>{const{showAllLevels:st,separator:ge}=a;return{node:Fe,key:Fe.uid,text:Fe.calcText(st,ge),hitState:!1,closable:!m.value&&!Fe.isDisabled}},Pe=Fe=>{var st;const ge=Fe.node;ge.doCheck(!1),(st=T.value)==null||st.calculateCheckedValue(),o("removeTag",ge.valueByOption)},We=()=>{switch(a.showCheckedStrategy){case"child":return fe.value;case"parent":{const Fe=nt(!1),st=Fe.map(ye=>ye.value);return Fe.filter(ye=>!ye.parent||!st.includes(ye.parent.value))}default:return[]}},Qe=()=>{if(!K.value)return;const Fe=We(),st=[];Fe.forEach(ge=>st.push(Oe(ge))),U.value=st},it=()=>{var Fe,st;const{filterMethod:ge,showAllLevels:ye,separator:Be}=a,Re=(st=(Fe=T.value)==null?void 0:Fe.getFlattedNodes(!a.props.checkStrictly))==null?void 0:st.filter(Ae=>Ae.isDisabled?!1:(Ae.calcText(ye,Be),ge(Ae,ae.value)));K.value&&U.value.forEach(Ae=>{Ae.hitState=!1}),$.value=!0,J.value=Re,$e()},De=()=>{var Fe;let st;$.value&&R.value?st=R.value.$el.querySelector(`.${u.e("suggestion-item")}`):st=(Fe=T.value)==null?void 0:Fe.$el.querySelector(`.${u.b("node")}[tabindex="-1"]`),st&&(st.focus(),!$.value&&st.click())},Ke=()=>{var Fe,st,ge;const ye=(Fe=x.value)==null?void 0:Fe.input,Be=E.value,Re=(st=R.value)==null?void 0:st.$el;if(!(!jt||!ye)){if(Re){const Ae=Re.querySelector(`.${u.e("suggestion-list")}`);Ae.style.minWidth=`${ye.offsetWidth}px`}if(Be){const{offsetHeight:Ae}=Be,Ze=U.value.length>0?`${Math.max(Ae,l)-2}px`:`${l}px`;if(ye.style.height=Ze,i.prefix){const sn=(ge=x.value)==null?void 0:ge.$el.querySelector(`.${d.e("prefix")}`);let _n=0;sn&&(_n=sn.offsetWidth,_n>0&&(_n+=h[G.value||"default"])),Be.style.left=`${_n}px`}else Be.style.left="0";$e()}}},nt=Fe=>{var st;return(st=T.value)==null?void 0:st.getCheckedNodes(Fe)},Ft=Fe=>{$e(),o("expandChange",Fe)},Kt=Fe=>{if(b.value)return;switch(an(Fe)){case Te.enter:case Te.numpadEnter:Ve();break;case Te.down:Ve(!0),ze(De),Fe.preventDefault();break;case Te.esc:I.value===!0&&(Fe.preventDefault(),Fe.stopPropagation(),Ve(!1));break;case Te.tab:Ve(!1);break}},ot=()=>{var Fe;(Fe=T.value)==null||Fe.clearCheckedNodes(),!I.value&&a.filterable&&dt(),Ve(!1),o("clear")},dt=()=>{const{value:Fe}=Z;O.value=Fe,B.value=Fe},kt=Fe=>{var st,ge;const{checked:ye}=Fe;K.value?(st=T.value)==null||st.handleCheckChange(Fe,!ye,!1):(!ye&&((ge=T.value)==null||ge.handleCheckChange(Fe,!0,!1)),Ve(!1))},xe=Fe=>{const st=Fe.target,ge=an(Fe);switch(ge){case Te.up:case Te.down:{Fe.preventDefault();const ye=ge===Te.up?-1:1;Ig(K9(st,ye,`.${u.e("suggestion-item")}[tabindex="-1"]`));break}case Te.enter:case Te.numpadEnter:st.click();break}},qe=()=>{const Fe=U.value[U.value.length-1];c=B.value?0:c+1,!(!Fe||!c||a.collapseTags&&U.value.length>1)&&(Fe.hitState?Pe(Fe):Fe.hitState=!0)},we=k(()=>a.debounce),Ye=gp(()=>{const{value:Fe}=ae;if(!Fe)return;const st=a.beforeFilter(Fe);tu(st)?st.then(it).catch(()=>{}):st!==!1?it():_e()},we),Ct=(Fe,st)=>{!I.value&&Ve(!0),!(st!=null&&st.isComposing)&&(Fe?Ye():_e())},Xt=Fe=>Number.parseFloat(UV(d.cssVarName("input-height"),Fe).value)-2,wn=()=>{var Fe;(Fe=x.value)==null||Fe.focus()},Sn=()=>{var Fe;(Fe=x.value)==null||Fe.blur()};return me($,$e),me([fe,m,()=>a.collapseTags,()=>a.maxCollapseTags],Qe),me(U,()=>{ze(()=>Ke())}),me(G,async()=>{await ze();const Fe=x.value.input;l=Xt(Fe)||l,Ke()}),me(Z,dt,{immediate:!0}),me(()=>I.value,Fe=>{var st;Fe&&a.props.lazy&&a.props.lazyLoad&&((st=T.value)==null||st.loadLazyRootNodes())}),St(()=>{const Fe=x.value.input,st=Xt(Fe);l=Fe.offsetHeight||st,bn(Fe,Ke)}),t({getCheckedNodes:nt,cascaderPanelRef:T,togglePopperVisible:Ve,contentRef:Se,presentText:Z,focus:wn,blur:Sn}),(Fe,st)=>(S(),le(f(Ss),{ref_key:"tooltipRef",ref:w,visible:I.value,teleported:e.teleported,"popper-class":[f(u).e("dropdown"),e.popperClass],"popper-style":e.popperStyle,"popper-options":s,"fallback-placements":e.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:e.placement,transition:`${f(u).namespace.value}-zoom-in-top`,effect:e.effect,pure:"",persistent:e.persistent,onHide:_e},{default:X(()=>[gt((S(),P("div",{ref_key:"wrapperRef",ref:ne,class:D(de.value),style:tt(L.value),onClick:st[8]||(st[8]=()=>Ve(ee.value?void 0:!0)),onKeydown:Kt,onMouseenter:st[9]||(st[9]=ge=>M.value=!0),onMouseleave:st[10]||(st[10]=ge=>M.value=!1)},[j(f(la),{ref_key:"inputRef",ref:x,modelValue:O.value,"onUpdate:modelValue":st[1]||(st[1]=ge=>O.value=ge),placeholder:z.value,readonly:ee.value,disabled:f(m),"validate-event":!1,size:f(G),class:D(Ce.value),tabindex:K.value&&e.filterable&&!f(m)?-1:void 0,onCompositionstart:f(_),onCompositionupdate:f(_),onCompositionend:f(_),onInput:Ct},ka({suffix:X(()=>[ce.value?(S(),le(f(Je),{key:"clear",class:D([f(d).e("icon"),"icon-circle-close"]),onClick:lt(ot,["stop"])},{default:X(()=>[(S(),le(bt(e.clearIcon)))]),_:1},8,["class"])):(S(),le(f(Je),{key:"arrow-down",class:D(be.value),onClick:st[0]||(st[0]=lt(ge=>Ve(),["stop"]))},{default:X(()=>[j(f(hr))]),_:1},8,["class"]))]),_:2},[Fe.$slots.prefix?{name:"prefix",fn:X(()=>[ue(Fe.$slots,"prefix")]),key:"0"}:void 0]),1032,["modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),K.value?(S(),P("div",{key:0,ref_key:"tagWrapper",ref:E,class:D([f(u).e("tags"),f(u).is("validate",!!H.value)])},[ue(Fe.$slots,"tag",{data:U.value,deleteTag:Pe},()=>[(S(!0),P(He,null,yt(Y.value,ge=>(S(),le(f(al),{key:ge.key,type:e.tagType,size:Q.value,effect:e.tagEffect,hit:ge.hitState,closable:ge.closable,"disable-transitions":"",onClose:ye=>Pe(ge)},{default:X(()=>[A("span",null,ve(ge.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))),128))]),e.collapseTags&&U.value.length>e.maxCollapseTags?(S(),le(f(Ss),{key:0,ref_key:"tagTooltipRef",ref:C,disabled:I.value||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom","popper-class":e.popperClass,"popper-style":e.popperStyle,effect:e.effect,persistent:e.persistent},{default:X(()=>[j(f(al),{closable:!1,size:Q.value,type:e.tagType,effect:e.tagEffect,"disable-transitions":""},{default:X(()=>[A("span",{class:D(f(u).e("tags-text"))}," + "+ve(U.value.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect"])]),content:X(()=>[j(f(pr),{"max-height":e.maxCollapseTagsTooltipHeight},{default:X(()=>[A("div",{class:D(f(u).e("collapse-tags"))},[(S(!0),P(He,null,yt(N.value,(ge,ye)=>(S(),P("div",{key:ye,class:D(f(u).e("collapse-tag"))},[(S(),le(f(al),{key:ge.key,class:"in-tooltip",type:e.tagType,size:Q.value,effect:e.tagEffect,hit:ge.hitState,closable:ge.closable,"disable-transitions":"",onClose:Be=>Pe(ge)},{default:X(()=>[A("span",null,ve(ge.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))],2))),128))],2)]),_:1},8,["max-height"])]),_:1},8,["disabled","popper-class","popper-style","effect","persistent"])):ie("v-if",!0),e.filterable&&!f(m)?gt((S(),P("input",{key:1,"onUpdate:modelValue":st[2]||(st[2]=ge=>B.value=ge),type:"text",class:D(f(u).e("search-input")),placeholder:Z.value?"":V.value,onInput:st[3]||(st[3]=ge=>Ct(B.value,ge)),onClick:st[4]||(st[4]=lt(ge=>Ve(!0),["stop"])),onKeydown:Nn(qe,["delete"]),onCompositionstart:st[5]||(st[5]=(...ge)=>f(_)&&f(_)(...ge)),onCompositionupdate:st[6]||(st[6]=(...ge)=>f(_)&&f(_)(...ge)),onCompositionend:st[7]||(st[7]=(...ge)=>f(_)&&f(_)(...ge))},null,42,gne)),[[WS,B.value]]):ie("v-if",!0)],2)):ie("v-if",!0)],38)),[[f(lc),Ne,Se.value]])]),content:X(()=>[Fe.$slots.header?(S(),P("div",{key:0,class:D(f(u).e("header")),onClick:st[11]||(st[11]=lt(()=>{},["stop"]))},[ue(Fe.$slots,"header")],2)):ie("v-if",!0),gt(j(f(bk),{ref_key:"cascaderPanelRef",ref:T,modelValue:te.value,"onUpdate:modelValue":st[12]||(st[12]=ge=>te.value=ge),options:e.options,props:a.props,border:!1,"render-label":Fe.$slots.default,onExpandChange:Ft,onClose:st[13]||(st[13]=ge=>Fe.$nextTick(()=>Ve(!1)))},{empty:X(()=>[ue(Fe.$slots,"empty")]),_:3},8,["modelValue","options","props","render-label"]),[[Bt,!$.value]]),e.filterable?gt((S(),le(f(pr),{key:1,ref_key:"suggestionPanel",ref:R,tag:"ul",class:D(f(u).e("suggestion-panel")),"view-class":f(u).e("suggestion-list"),onKeydown:xe},{default:X(()=>[J.value.length?(S(!0),P(He,{key:0},yt(J.value,ge=>(S(),P("li",{key:ge.uid,class:D([f(u).e("suggestion-item"),f(u).is("checked",ge.checked)]),tabindex:-1,onClick:ye=>kt(ge)},[ue(Fe.$slots,"suggestion-item",{item:ge},()=>[A("span",null,ve(ge.text),1),ge.checked?(S(),le(f(Je),{key:0},{default:X(()=>[j(f(Mf))]),_:1})):ie("v-if",!0)])],10,bne))),128)):ue(Fe.$slots,"empty",{key:1},()=>[A("li",{class:D(f(u).e("empty-text"))},ve(f(p)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[Bt,$.value]]):ie("v-if",!0),Fe.$slots.footer?(S(),P("div",{key:2,class:D(f(u).e("footer")),onClick:st[14]||(st[14]=lt(()=>{},["stop"]))},[ue(Fe.$slots,"footer")],2)):ie("v-if",!0)]),_:3},8,["visible","teleported","popper-class","popper-style","fallback-placements","placement","transition","effect","persistent"]))}});const wne=pt(yne),_ne=Me({checked:Boolean,disabled:Boolean,type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),Cne={"update:checked":e=>Qt(e),[Pt]:e=>Qt(e)};var Sne=W({name:"ElCheckTag",__name:"check-tag",props:_ne,emits:Cne,setup(e,{emit:t}){const n=e,s=t,a=Ee("check-tag"),o=k(()=>[a.b(),a.is("checked",n.checked),a.is("disabled",n.disabled),a.m(n.type||"primary")]),r=()=>{if(n.disabled)return;const i=!n.checked;s(Pt,i),s("update:checked",i)};return(i,l)=>(S(),P("span",{class:D(o.value),onClick:r},[ue(i.$slots,"default")],2))}});const xne=pt(Sne),Ene=Me({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:re([Number,Object]),default:()=>Rn({})},sm:{type:re([Number,Object]),default:()=>Rn({})},md:{type:re([Number,Object]),default:()=>Rn({})},lg:{type:re([Number,Object]),default:()=>Rn({})},xl:{type:re([Number,Object]),default:()=>Rn({})}}),yk=Symbol("rowContextKey");var kne=W({name:"ElCol",__name:"col",props:Ene,setup(e){const t=e,{gutter:n}=je(yk,{gutter:k(()=>0)}),s=Ee("col"),a=k(()=>{const r={};return n.value&&(r.paddingLeft=r.paddingRight=`${n.value/2}px`),r}),o=k(()=>{const r=[];return["span","offset","pull","push"].forEach(c=>{const u=t[c];at(u)&&(c==="span"?r.push(s.b(`${t[c]}`)):u>0&&r.push(s.b(`${c}-${t[c]}`)))}),["xs","sm","md","lg","xl"].forEach(c=>{at(t[c])?r.push(s.b(`${c}-${t[c]}`)):ht(t[c])&&Object.entries(t[c]).forEach(([u,d])=>{r.push(u!=="span"?s.b(`${c}-${u}-${d}`):s.b(`${c}-${d}`))})}),n.value&&r.push(s.is("guttered")),[s.b(),r]});return(r,i)=>(S(),le(bt(e.tag),{class:D(o.value),style:tt(a.value)},{default:X(()=>[ue(r.$slots,"default")]),_:3},8,["class","style"]))}});const Ane=pt(kne),wk=e=>at(e)||Xe(e)||ke(e),Tne=Me({accordion:Boolean,modelValue:{type:re([Array,String,Number]),default:()=>Rn([])},expandIconPosition:{type:re([String]),default:"right"},beforeCollapse:{type:re(Function)}}),Mne={[ct]:wk,[Pt]:wk},_k=Symbol("collapseContextKey"),Pne="ElCollapse",Rne=(e,t)=>{const n=F(_s(e.modelValue)),s=r=>{n.value=r;const i=e.accordion?n.value[0]:n.value;t(ct,i),t(Pt,i)},a=r=>{if(e.accordion)s([n.value[0]===r?"":r]);else{const i=[...n.value],l=i.indexOf(r);l>-1?i.splice(l,1):i.push(r),s(i)}},o=async r=>{const{beforeCollapse:i}=e;if(!i){a(r);return}const l=i(r);[tu(l),Qt(l)].includes(!0)||Xn(Pne,"beforeCollapse must return type `Promise` or `boolean`"),tu(l)?l.then(u=>{u!==!1&&a(r)}).catch(u=>{}):l&&a(r)};return me(()=>e.modelValue,()=>n.value=_s(e.modelValue),{deep:!0}),Tt(_k,{activeNames:n,handleItemClick:o}),{activeNames:n,setActiveNames:s}},Ine=e=>{const t=Ee("collapse");return{rootKls:k(()=>[t.b(),t.b(`icon-position-${e.expandIconPosition}`)])}};var One=W({name:"ElCollapse",__name:"collapse",props:Tne,emits:Mne,setup(e,{expose:t,emit:n}){const s=e,a=n,{activeNames:o,setActiveNames:r}=Rne(s,a),{rootKls:i}=Ine(s);return t({activeNames:o,setActiveNames:r}),(l,c)=>(S(),P("div",{class:D(f(i))},[ue(l.$slots,"default")],2))}});const Lne=Me({title:{type:String,default:""},name:{type:re([String,Number]),default:void 0},icon:{type:en,default:Ls},disabled:Boolean});var Nne=W({name:"ElCollapseTransition",__name:"collapse-transition",setup(e){const t=Ee("collapse-transition"),n=a=>{a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom},s={beforeEnter(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.style.height&&(a.dataset.elExistsHeight=a.style.height),a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0},enter(a){requestAnimationFrame(()=>{a.dataset.oldOverflow=a.style.overflow,a.dataset.elExistsHeight?a.style.maxHeight=a.dataset.elExistsHeight:a.scrollHeight!==0?a.style.maxHeight=`${a.scrollHeight}px`:a.style.maxHeight=0,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom,a.style.overflow="hidden"})},afterEnter(a){a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow},enterCancelled(a){n(a)},beforeLeave(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.dataset.oldOverflow=a.style.overflow,a.style.maxHeight=`${a.scrollHeight}px`,a.style.overflow="hidden"},leave(a){a.scrollHeight!==0&&(a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0)},afterLeave(a){n(a)},leaveCancelled(a){n(a)}};return(a,o)=>(S(),le(vs,wt({name:f(t).b()},LO(s)),{default:X(()=>[ue(a.$slots,"default")]),_:3},16,["name"]))}});const Kg=pt(Nne),$ne=e=>{const t=je(_k),{namespace:n}=Ee("collapse"),s=F(!1),a=F(!1),o=s3(),r=k(()=>o.current++),i=k(()=>{var h;return(h=e.name)!=null?h:`${n.value}-id-${o.prefix}-${f(r)}`}),l=k(()=>t==null?void 0:t.activeNames.value.includes(f(i)));return{focusing:s,id:r,isActive:l,handleFocus:()=>{setTimeout(()=>{a.value?a.value=!1:s.value=!0},50)},handleHeaderClick:h=>{if(e.disabled)return;const p=h.target;p!=null&&p.closest("input, textarea, select")||(t==null||t.handleItemClick(f(i)),s.value=!1,a.value=!0)},handleEnterClick:h=>{const p=h.target;p!=null&&p.closest("input, textarea, select")||(h.preventDefault(),t==null||t.handleItemClick(f(i)))}}},Dne=(e,{focusing:t,isActive:n,id:s})=>{const a=Ee("collapse"),o=k(()=>[a.b("item"),a.is("active",f(n)),a.is("disabled",e.disabled)]),r=k(()=>[a.be("item","header"),a.is("active",f(n)),{focusing:f(t)&&!e.disabled}]),i=k(()=>[a.be("item","arrow"),a.is("active",f(n))]),l=k(()=>[a.be("item","title")]),c=k(()=>a.be("item","wrap")),u=k(()=>a.be("item","content")),d=k(()=>a.b(`content-${f(s)}`)),h=k(()=>a.b(`head-${f(s)}`));return{itemTitleKls:l,arrowKls:i,headKls:r,rootKls:o,itemWrapperKls:c,itemContentKls:u,scopedContentId:d,scopedHeadId:h}},Fne=["id","aria-expanded","aria-controls","aria-describedby","tabindex","aria-disabled"],Bne=["id","aria-hidden","aria-labelledby"];var Ck=W({name:"ElCollapseItem",__name:"collapse-item",props:Lne,setup(e,{expose:t}){const n=e,{focusing:s,id:a,isActive:o,handleFocus:r,handleHeaderClick:i,handleEnterClick:l}=$ne(n),{arrowKls:c,headKls:u,rootKls:d,itemTitleKls:h,itemWrapperKls:p,itemContentKls:v,scopedContentId:m,scopedHeadId:g}=Dne(n,{focusing:s,isActive:o,id:a});return t({isActive:o}),(b,_)=>(S(),P("div",{class:D(f(d))},[A("div",{id:f(g),class:D(f(u)),"aria-expanded":f(o),"aria-controls":f(m),"aria-describedby":f(m),tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,role:"button",onClick:_[0]||(_[0]=(...w)=>f(i)&&f(i)(...w)),onKeydown:_[1]||(_[1]=Nn(lt((...w)=>f(l)&&f(l)(...w),["stop"]),["space","enter"])),onFocus:_[2]||(_[2]=(...w)=>f(r)&&f(r)(...w)),onBlur:_[3]||(_[3]=w=>s.value=!1)},[A("span",{class:D(f(h))},[ue(b.$slots,"title",{isActive:f(o)},()=>[Ue(ve(e.title),1)])],2),ue(b.$slots,"icon",{isActive:f(o)},()=>[j(f(Je),{class:D(f(c))},{default:X(()=>[(S(),le(bt(e.icon)))]),_:1},8,["class"])])],42,Fne),j(f(Kg),null,{default:X(()=>[gt(A("div",{id:f(m),role:"region",class:D(f(p)),"aria-hidden":!f(o),"aria-labelledby":f(g)},[A("div",{class:D(f(v))},[ue(b.$slots,"default")],2)],10,Bne),[[Bt,f(o)]])]),_:3})],2))}});const Vne=pt(One,{CollapseItem:Ck}),zne=An(Ck),Sk=Me({modelValue:{type:re(String),default:void 0},border:{type:Boolean,default:!0},showAlpha:Boolean,colorFormat:String,disabled:Boolean,predefine:{type:re(Array)},validateEvent:{type:Boolean,default:!0}}),Hne={[ct]:e=>Xe(e)||qn(e)},xk=Symbol("colorCommonPickerKey"),Ek=Symbol("colorPickerPanelContextKey"),kk=Me({color:{type:re(Object),required:!0},vertical:Boolean,disabled:Boolean}),Wne=kk;let O3=!1;function L3(e,t){if(!jt)return;const n=function(o){var r;(r=t.drag)==null||r.call(t,o)},s=function(o){var r;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",s),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",s),document.onselectstart=null,document.ondragstart=null,O3=!1,(r=t.end)==null||r.call(t,o)},a=function(o){var r;O3||(document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",s),document.addEventListener("touchmove",n),document.addEventListener("touchend",s),O3=!0,(r=t.start)==null||r.call(t,o))};e.addEventListener("mousedown",a),e.addEventListener("touchstart",a,{passive:!1})}const Ak=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},N3=(e,t)=>Math.abs(Ak(e)-Ak(t)),Tk=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}},Mk=(e,{key:t,minValue:n,maxValue:s})=>{const a=_t(),o=hn(),r=hn(),i=k(()=>e.color.get(t));function l(h){var p;if(e.disabled)return;h.target!==o.value&&c(h),(p=o.value)==null||p.focus()}function c(h){if(!r.value||!o.value||e.disabled)return;const v=a.vnode.el.getBoundingClientRect(),{clientX:m,clientY:g}=Tk(h);let b;if(e.vertical){let _=g-v.top;_=Math.max(o.value.offsetHeight/2,_),_=Math.min(_,v.height-o.value.offsetHeight/2),b=Math.round((_-o.value.offsetHeight/2)/(v.height-o.value.offsetHeight)*s)}else{let _=m-v.left;_=Math.max(o.value.offsetWidth/2,_),_=Math.min(_,v.width-o.value.offsetWidth/2),b=Math.round((_-o.value.offsetWidth/2)/(v.width-o.value.offsetWidth)*s)}e.color.set(t,b)}function u(h){if(e.disabled)return;const{shiftKey:p}=h,v=an(h),m=p?10:1,g=t==="hue"?-1:1;let b=!0;switch(v){case Te.left:case Te.down:d(-m*g);break;case Te.right:case Te.up:d(m*g);break;case Te.home:e.color.set(t,t==="hue"?s:n);break;case Te.end:e.color.set(t,t==="hue"?n:s);break;case Te.pageDown:d(-4*g);break;case Te.pageUp:d(4*g);break;default:b=!1;break}b&&h.preventDefault()}function d(h){let p=i.value+h;p=ps?s:p,e.color.set(t,p)}return{thumb:o,bar:r,currentValue:i,handleDrag:c,handleClick:l,handleKeydown:u}},Pk=(e,{namespace:t,maxValue:n,bar:s,thumb:a,currentValue:o,handleDrag:r,getBackground:i})=>{const l=_t(),c=Ee(t),u=F(0),d=F(0),h=F();function p(){if(!a.value||e.vertical)return 0;const x=l.vnode.el,E=o.value;return x?Math.round(E*(x.offsetWidth-a.value.offsetWidth/2)/n):0}function v(){if(!a.value)return 0;const x=l.vnode.el;if(!e.vertical)return 0;const E=o.value;return x?Math.round(E*(x.offsetHeight-a.value.offsetHeight/2)/n):0}function m(){u.value=p(),d.value=v(),h.value=i==null?void 0:i()}St(()=>{if(!s.value||!a.value)return;const x={drag:E=>{r(E)},end:E=>{r(E)}};L3(s.value,x),L3(a.value,x),m()}),me(o,()=>m()),me(()=>e.color.value,()=>m());const g=k(()=>[c.b(),c.is("vertical",e.vertical),c.is("disabled",e.disabled)]),b=k(()=>c.e("bar")),_=k(()=>c.e("thumb")),w=k(()=>({background:h.value})),C=k(()=>({left:Pn(u.value),top:Pn(d.value)}));return{rootKls:g,barKls:b,barStyle:w,thumbKls:_,thumbStyle:C,thumbLeft:u,thumbTop:d,update:m}},jne=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],Rk=0,$3=100;var Kne=W({name:"ElColorAlphaSlider",__name:"alpha-slider",props:kk,setup(e,{expose:t}){const n=e,{currentValue:s,bar:a,thumb:o,handleDrag:r,handleClick:i,handleKeydown:l}=Mk(n,{key:"alpha",minValue:Rk,maxValue:$3}),{rootKls:c,barKls:u,barStyle:d,thumbKls:h,thumbStyle:p,update:v}=Pk(n,{namespace:"color-alpha-slider",maxValue:$3,currentValue:s,bar:a,thumb:o,handleDrag:r,getBackground:_}),{t:m}=It(),g=k(()=>m("el.colorpicker.alphaLabel")),b=k(()=>m("el.colorpicker.alphaDescription",{alpha:s.value,color:n.color.value}));function _(){if(n.color&&n.color.value){const{r:w,g:C,b:x}=n.color.toRgb();return`linear-gradient(to right, rgba(${w}, ${C}, ${x}, 0) 0%, rgba(${w}, ${C}, ${x}, 1) 100%)`}return""}return t({update:v,bar:a,thumb:o}),(w,C)=>(S(),P("div",{class:D(f(c))},[A("div",{ref_key:"bar",ref:a,class:D(f(u)),style:tt(f(d)),onClick:C[0]||(C[0]=(...x)=>f(i)&&f(i)(...x))},null,6),A("div",{ref_key:"thumb",ref:o,class:D(f(h)),style:tt(f(p)),"aria-label":g.value,"aria-valuenow":f(s),"aria-valuetext":b.value,"aria-orientation":e.vertical?"vertical":"horizontal","aria-valuemin":Rk,"aria-valuemax":$3,role:"slider",tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,onKeydown:C[1]||(C[1]=(...x)=>f(l)&&f(l)(...x))},null,46,jne)],2))}});const Une=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],Ik=0,D3=360;var qne=W({name:"ElColorHueSlider",__name:"hue-slider",props:Wne,setup(e,{expose:t}){const n=e,{currentValue:s,bar:a,thumb:o,handleDrag:r,handleClick:i,handleKeydown:l}=Mk(n,{key:"hue",minValue:Ik,maxValue:D3}),{rootKls:c,barKls:u,thumbKls:d,thumbStyle:h,thumbTop:p,update:v}=Pk(n,{namespace:"color-hue-slider",maxValue:D3,currentValue:s,bar:a,thumb:o,handleDrag:r}),{t:m}=It(),g=k(()=>m("el.colorpicker.hueLabel")),b=k(()=>m("el.colorpicker.hueDescription",{hue:s.value,color:n.color.value}));return t({bar:a,thumb:o,thumbTop:p,update:v}),(_,w)=>(S(),P("div",{class:D(f(c))},[A("div",{ref_key:"bar",ref:a,class:D(f(u)),onClick:w[0]||(w[0]=(...C)=>f(i)&&f(i)(...C))},null,2),A("div",{ref_key:"thumb",ref:o,class:D(f(d)),style:tt(f(h)),"aria-label":g.value,"aria-valuenow":f(s),"aria-valuetext":b.value,"aria-orientation":e.vertical?"vertical":"horizontal","aria-valuemin":Ik,"aria-valuemax":D3,role:"slider",tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,onKeydown:w[1]||(w[1]=(...C)=>f(l)&&f(l)(...C))},null,46,Une)],2))}});const Gne=Me({colors:{type:re(Array),required:!0},color:{type:re(Object),required:!0},enableAlpha:{type:Boolean,required:!0},disabled:Boolean});var Yne=Object.defineProperty,Xne=(e,t,n)=>t in e?Yne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,oi=(e,t,n)=>Xne(e,typeof t!="symbol"?t+"":t,n);class Ug{constructor(t={}){oi(this,"_hue",0),oi(this,"_saturation",100),oi(this,"_value",100),oi(this,"_alpha",100),oi(this,"_tiny",new Bf),oi(this,"_isValid",!1),oi(this,"enableAlpha",!1),oi(this,"format",""),oi(this,"value",""),oi(this,"selected");for(const n in t)Ht(t,n)&&(this[n]=t[n]);t.value?this.fromString(t.value):this.doOnChange()}set(t,n){if(arguments.length===1&&typeof t=="object"){for(const s in t)Ht(t,s)&&this.set(s,t[s]);return}this[`_${t}`]=n,this._isValid=!0,this.doOnChange()}get(t){return["hue","saturation","value","alpha"].includes(t)?Math.round(this[`_${t}`]):this[`_${t}`]}toRgb(){return this._isValid?this._tiny.toRgb():{r:255,g:255,b:255,a:0}}fromString(t){const n=new Bf(t);if(this._isValid=n.isValid,n.isValid){const{h:s,s:a,v:o,a:r}=n.toHsv();this._hue=s,this._saturation=a*100,this._value=o*100,this._alpha=r*100}else this._hue=0,this._saturation=100,this._value=100,this._alpha=100;this.doOnChange()}clear(){this._isValid=!1,this.value="",this._hue=0,this._saturation=100,this._value=100,this._alpha=100}compare(t){const n=new Bf({h:t._hue,s:t._saturation/100,v:t._value/100,a:t._alpha/100});return this._tiny.equals(n)}doOnChange(){const{_hue:t,_saturation:n,_value:s,_alpha:a,format:o,enableAlpha:r}=this;let i=o||(r?"rgb":"hex");o==="hex"&&r&&(i="hex8"),this._tiny=new Bf({h:t,s:n/100,v:s/100,a:a/100}),this.value=this._isValid?this._tiny.toString(i):""}}const Jne=e=>{const{currentColor:t}=je(Ek),n=F(a(e.colors,e.color));me(()=>t.value,o=>{const r=new Ug({value:o,enableAlpha:e.enableAlpha});n.value.forEach(i=>{i.selected=r.compare(i)})}),Wa(()=>{n.value=a(e.colors,e.color)});function s(o){e.color.fromString(e.colors[o])}function a(o,r){return o.map(i=>{const l=new Ug({value:i,enableAlpha:e.enableAlpha});return l.selected=l.compare(r),l})}return{rgbaColors:n,handleSelect:s}},Zne=e=>{const t=Ee("color-predefine"),n=k(()=>[t.b(),t.is("disabled",e.disabled)]),s=k(()=>t.e("colors"));function a(o){return[t.e("color-selector"),t.is("alpha",o.get("alpha")<100),{selected:o.selected}]}return{rootKls:n,colorsKls:s,colorSelectorKls:a}},Qne=["disabled","aria-label","onClick"];var ese=W({name:"ElColorPredefine",__name:"predefine",props:Gne,setup(e){const t=e,{rgbaColors:n,handleSelect:s}=Jne(t),{rootKls:a,colorsKls:o,colorSelectorKls:r}=Zne(t),{t:i}=It(),l=c=>i("el.colorpicker.predefineDescription",{value:c});return(c,u)=>(S(),P("div",{class:D(f(a))},[A("div",{class:D(f(o))},[(S(!0),P(He,null,yt(f(n),(d,h)=>(S(),P("button",{key:e.colors[h],type:"button",disabled:e.disabled,"aria-label":l(d.value),class:D(f(r)(d)),onClick:p=>f(s)(h)},[A("div",{style:tt({backgroundColor:d.value})},null,4)],10,Qne))),128))],2)],2))}});const tse=Me({color:{type:re(Object),required:!0},disabled:Boolean}),nse=e=>{const t=_t(),n=F(),s=F(0),a=F(0),o=F("hsl(0, 100%, 50%)"),r=k(()=>e.color.get("saturation")),i=k(()=>e.color.get("value")),l=k(()=>e.color.get("hue"));function c(v){var m;if(e.disabled)return;v.target!==n.value&&u(v),(m=n.value)==null||m.focus({preventScroll:!0})}function u(v){if(e.disabled)return;const g=t.vnode.el.getBoundingClientRect(),{clientX:b,clientY:_}=Tk(v);let w=b-g.left,C=_-g.top;w=Math.max(0,w),w=Math.min(w,g.width),C=Math.max(0,C),C=Math.min(C,g.height),a.value=w,s.value=C,e.color.set({saturation:w/g.width*100,value:100-C/g.height*100})}function d(v){if(e.disabled)return;const{shiftKey:m}=v,g=an(v),b=m?10:1;let _=!0;switch(g){case Te.left:h(-b);break;case Te.right:h(b);break;case Te.up:p(b);break;case Te.down:p(-b);break;default:_=!1;break}_&&v.preventDefault()}function h(v){let m=r.value+v;m=m<0?0:m>100?100:m,e.color.set("saturation",m)}function p(v){let m=i.value+v;m=m<0?0:m>100?100:m,e.color.set("value",m)}return{cursorRef:n,cursorTop:s,cursorLeft:a,background:o,saturation:r,brightness:i,hue:l,handleClick:c,handleDrag:u,handleKeydown:d}},sse=(e,{cursorTop:t,cursorLeft:n,background:s,handleDrag:a})=>{const o=_t(),r=Ee("color-svpanel");function i(){const h=e.color.get("saturation"),p=e.color.get("value"),v=o.vnode.el,{clientWidth:m,clientHeight:g}=v;n.value=h*m/100,t.value=(100-p)*g/100,s.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}St(()=>{L3(o.vnode.el,{drag:h=>{a(h)},end:h=>{a(h)}}),i()}),me([()=>e.color.get("hue"),()=>e.color.get("value"),()=>e.color.value],()=>i());const l=k(()=>r.b()),c=k(()=>r.e("cursor")),u=k(()=>({backgroundColor:s.value})),d=k(()=>({top:Pn(t.value),left:Pn(n.value)}));return{rootKls:l,cursorKls:c,rootStyle:u,cursorStyle:d,update:i}},ase=["tabindex","aria-disabled","aria-label","aria-valuenow","aria-valuetext"];var ose=W({name:"ElSvPanel",__name:"sv-panel",props:tse,setup(e,{expose:t}){const n=e,{cursorRef:s,cursorTop:a,cursorLeft:o,background:r,saturation:i,brightness:l,handleClick:c,handleDrag:u,handleKeydown:d}=nse(n),{rootKls:h,cursorKls:p,rootStyle:v,cursorStyle:m,update:g}=sse(n,{cursorTop:a,cursorLeft:o,background:r,handleDrag:u}),{t:b}=It(),_=k(()=>b("el.colorpicker.svLabel")),w=k(()=>b("el.colorpicker.svDescription",{saturation:i.value,brightness:l.value,color:n.color.value}));return t({update:g}),(C,x)=>(S(),P("div",{class:D(f(h)),style:tt(f(v)),onClick:x[1]||(x[1]=(...E)=>f(c)&&f(c)(...E))},[A("div",{ref_key:"cursorRef",ref:s,class:D(f(p)),style:tt(f(m)),tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,role:"slider","aria-valuemin":"0,0","aria-valuemax":"100,100","aria-label":_.value,"aria-valuenow":`${f(i)},${f(l)}`,"aria-valuetext":w.value,onKeydown:x[0]||(x[0]=(...E)=>f(d)&&f(d)(...E))},null,46,ase)],6))}});const Ok=(e,t)=>{const n=Wt(new Ug({enableAlpha:e.showAlpha,format:e.colorFormat||"",value:e.modelValue}));return me(()=>[e.colorFormat,e.showAlpha],()=>{n.enableAlpha=e.showAlpha,n.format=e.colorFormat||n.format,n.doOnChange(),t(ct,n.value)}),{color:n}};var rse=W({name:"ElColorPickerPanel",__name:"color-picker-panel",props:Sk,emits:Hne,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Ee("color-picker-panel"),{formItem:r}=Cs(),i=In(),l=F(),c=F(),u=F(),d=F(),h=F(""),{color:p}=je(xk,()=>Ok(s,a),!0);function v(){p.fromString(h.value),p.value!==h.value&&(h.value=p.value)}function m(){var b;s.validateEvent&&((b=r==null?void 0:r.validate)==null||b.call(r,"blur").catch(_=>void 0))}function g(){var b,_,w;(b=l.value)==null||b.update(),(_=c.value)==null||_.update(),(w=u.value)==null||w.update()}return St(()=>{s.modelValue&&(h.value=p.value),ze(g)}),me(()=>s.modelValue,b=>{b!==p.value&&(b?p.fromString(b):p.clear())}),me(()=>p.value,b=>{a(ct,b),h.value=b,s.validateEvent&&(r==null||r.validate("change").catch(_=>void 0))}),Tt(Ek,{currentColor:k(()=>p.value)}),t({color:p,inputRef:d,update:g}),(b,_)=>(S(),P("div",{class:D([f(o).b(),f(o).is("disabled",f(i)),f(o).is("border",e.border)]),onFocusout:m},[A("div",{class:D(f(o).e("wrapper"))},[j(qne,{ref_key:"hueRef",ref:l,class:"hue-slider",color:f(p),vertical:"",disabled:f(i)},null,8,["color","disabled"]),j(ose,{ref_key:"svRef",ref:c,color:f(p),disabled:f(i)},null,8,["color","disabled"])],2),e.showAlpha?(S(),le(Kne,{key:0,ref_key:"alphaRef",ref:u,color:f(p),disabled:f(i)},null,8,["color","disabled"])):ie("v-if",!0),e.predefine?(S(),le(ese,{key:1,ref:"predefine","enable-alpha":e.showAlpha,color:f(p),colors:e.predefine,disabled:f(i)},null,8,["enable-alpha","color","colors","disabled"])):ie("v-if",!0),A("div",{class:D(f(o).e("footer"))},[j(f(la),{ref_key:"inputRef",ref:d,modelValue:h.value,"onUpdate:modelValue":_[0]||(_[0]=w=>h.value=w),"validate-event":!1,size:"small",disabled:f(i),onChange:v},null,8,["modelValue","disabled"]),ue(b.$slots,"footer")],2)],34))}});const Lk=pt(rse),ise=Me({persistent:{type:Boolean,default:!0},modelValue:{type:re(String),default:void 0},id:String,showAlpha:Boolean,colorFormat:String,disabled:{type:Boolean,default:void 0},clearable:{type:Boolean,default:!0},size:rs,popperClass:tn.popperClass,popperStyle:tn.popperStyle,tabindex:{type:[String,Number],default:0},teleported:tn.teleported,appendTo:tn.appendTo,predefine:{type:re(Array)},validateEvent:{type:Boolean,default:!0},...wu,...ia(["ariaLabel"])}),lse={[ct]:e=>Xe(e)||qn(e),[Pt]:e=>Xe(e)||qn(e),activeChange:e=>Xe(e)||qn(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},cse=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"];var use=W({name:"ElColorPicker",__name:"color-picker",props:ise,emits:lse,setup(e,{expose:t,emit:n}){const s=e,a=n,{t:o}=It(),r=Ee("color"),{formItem:i}=Cs(),l=ts(),c=In(),{valueOnClear:u,isEmptyValue:d}=wp(s,null),h=Ok(s,a),{inputId:p,isLabeledByFormItem:v}=uo(s,{formItemContext:i}),m=F(),g=F(),b=F(),_=F(!1),w=F(!1);let C=!0;const{isFocused:x,handleFocus:E,handleBlur:T}=Qi(g,{disabled:c,beforeBlur(ce){var Z;return(Z=m.value)==null?void 0:Z.isFocusInsideContent(ce)},afterBlur(){var ce;Y(!1),z(),s.validateEvent&&((ce=i==null?void 0:i.validate)==null||ce.call(i,"blur").catch(Z=>void 0))}}),R=IV(()=>{var ce,Z;return(Z=(ce=b.value)==null?void 0:ce.color)!=null?Z:h.color}),I=k(()=>Ui(s,Object.keys(Sk))),M=k(()=>!s.modelValue&&!w.value?"transparent":J(R,s.showAlpha)),$=k(()=>!s.modelValue&&!w.value?"":R.value),O=k(()=>v.value?void 0:s.ariaLabel||o("el.colorpicker.defaultLabel")),B=k(()=>v.value?i==null?void 0:i.labelId:void 0),U=k(()=>[r.b("picker"),r.is("disabled",c.value),r.bm("picker",l.value),r.is("focused",x.value)]);function J(ce,Z){const{r:H,g:te,b:de,a:be}=ce.toRgb();return Z?`rgba(${H}, ${te}, ${de}, ${be})`:`rgb(${H}, ${te}, ${de})`}function Y(ce){_.value=ce}const N=Xr(Y,100,{leading:!0});function L(){c.value||Y(!0)}function V(){N(!1),z()}function z(){ze(()=>{s.modelValue?R.fromString(s.modelValue):(R.value="",ze(()=>{w.value=!1}))})}function G(){c.value||(_.value&&z(),N(!_.value))}function Q(){const ce=d(R.value)?u.value:R.value;a(ct,ce),a(Pt,ce),s.validateEvent&&(i==null||i.validate("change").catch(Z=>void 0)),N(!1),ze(()=>{const Z=new Ug({enableAlpha:s.showAlpha,format:s.colorFormat||"",value:s.modelValue});R.compare(Z)||z()})}function K(){N(!1),a(ct,u.value),a(Pt,u.value),s.modelValue!==u.value&&s.validateEvent&&(i==null||i.validate("change").catch(ce=>void 0)),z(),a("clear")}function ee(){var ce,Z;(Z=(ce=b==null?void 0:b.value)==null?void 0:ce.inputRef)==null||Z.focus()}function ae(){_.value&&(V(),x.value&&pe())}function fe(ce){ce.preventDefault(),ce.stopPropagation(),Y(!1),z()}function ne(ce){switch(an(ce)){case Te.enter:case Te.numpadEnter:case Te.space:ce.preventDefault(),ce.stopPropagation(),L();break;case Te.esc:fe(ce);break}}function pe(){g.value.focus()}function he(){g.value.blur()}return me(()=>$.value,ce=>{C&&a("activeChange",ce),C=!0}),me(()=>R.value,()=>{!s.modelValue&&!w.value&&(w.value=!0)}),me(()=>s.modelValue,ce=>{ce?ce&&ce!==R.value&&(C=!1,R.fromString(ce)):w.value=!1}),me(()=>_.value,()=>{b.value&&ze(b.value.update)}),Tt(xk,h),t({color:R,show:L,hide:V,focus:pe,blur:he}),(ce,Z)=>(S(),le(f(Ss),{ref_key:"popper",ref:m,visible:_.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[f(r).be("picker","panel"),e.popperClass],"popper-style":e.popperStyle,"stop-popper-mouse-event":!1,pure:"",loop:"",role:"dialog",effect:"light",trigger:"click",teleported:e.teleported,transition:`${f(r).namespace.value}-zoom-in-top`,persistent:e.persistent,"append-to":e.appendTo,onShow:ee,onHide:Z[2]||(Z[2]=H=>Y(!1))},{content:X(()=>[gt((S(),le(f(Lk),wt({ref_key:"pickerPanelRef",ref:b},I.value,{border:!1,"validate-event":!1,onKeydown:Nn(fe,["esc"])}),{footer:X(()=>[A("div",null,[e.clearable?(S(),le(f(gs),{key:0,class:D(f(r).be("footer","link-btn")),text:"",size:"small",onClick:K},{default:X(()=>[Ue(ve(f(o)("el.colorpicker.clear")),1)]),_:1},8,["class"])):ie("v-if",!0),j(f(gs),{plain:"",size:"small",class:D(f(r).be("footer","btn")),onClick:Q},{default:X(()=>[Ue(ve(f(o)("el.colorpicker.confirm")),1)]),_:1},8,["class"])])]),_:1},16)),[[f(lc),ae,g.value]])]),default:X(()=>[A("div",wt({id:f(p),ref_key:"triggerRef",ref:g},ce.$attrs,{class:U.value,role:"button","aria-label":O.value,"aria-labelledby":B.value,"aria-description":f(o)("el.colorpicker.description",{color:e.modelValue||""}),"aria-disabled":f(c),tabindex:f(c)?void 0:e.tabindex,onKeydown:ne,onFocus:Z[0]||(Z[0]=(...H)=>f(E)&&f(E)(...H)),onBlur:Z[1]||(Z[1]=(...H)=>f(T)&&f(T)(...H))}),[A("div",{class:D(f(r).be("picker","trigger")),onClick:G},[A("span",{class:D([f(r).be("picker","color"),f(r).is("alpha",e.showAlpha)])},[A("span",{class:D(f(r).be("picker","color-inner")),style:tt({backgroundColor:M.value})},[gt(j(f(Je),{class:D([f(r).be("picker","icon"),f(r).is("icon-arrow-down")])},{default:X(()=>[j(f(hr))]),_:1},8,["class"]),[[Bt,e.modelValue||w.value]]),gt(j(f(Je),{class:D([f(r).be("picker","empty"),f(r).is("icon-close")])},{default:X(()=>[j(f(Ua))]),_:1},8,["class"]),[[Bt,!e.modelValue&&!w.value]])],6)],2)],2)],16,cse)]),_:1},8,["visible","popper-class","popper-style","teleported","transition","persistent","append-to"]))}});const dse=pt(use),fse=Me({a11y:{type:Boolean,default:!0},locale:{type:re(Object)},size:rs,button:{type:re(Object)},card:{type:re(Object)},dialog:{type:re(Object)},link:{type:re(Object)},experimentalFeatures:{type:re(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:re(Object)},zIndex:Number,namespace:{type:String,default:"el"},...wu}),ua={placement:"top"},hse=pt(W({name:"ElConfigProvider",props:fse,setup(e,{slots:t}){const n=Iy(e);return me(()=>e.message,s=>{var a,o;Object.assign(ua,(o=(a=n==null?void 0:n.value)==null?void 0:a.message)!=null?o:{},s??{})},{immediate:!0,deep:!0}),()=>ue(t,"default",{config:n==null?void 0:n.value})}}));var pse=W({name:"ElContainer",__name:"container",props:{direction:{type:String,required:!1}},setup(e){const t=e,n=zn(),s=Ee("container"),a=k(()=>t.direction==="vertical"?!0:t.direction==="horizontal"?!1:n&&n.default?n.default().some(r=>{const i=r.type.name;return i==="ElHeader"||i==="ElFooter"}):!1);return(o,r)=>(S(),P("section",{class:D([f(s).b(),f(s).is("vertical",a.value)])},[ue(o.$slots,"default")],2))}}),Nk=W({name:"ElAside",__name:"aside",props:{width:{type:[String,null],required:!1,default:null}},setup(e){const t=e,n=Ee("aside"),s=k(()=>t.width?n.cssVarBlock({width:t.width}):{});return(a,o)=>(S(),P("aside",{class:D(f(n).b()),style:tt(s.value)},[ue(a.$slots,"default")],6))}}),$k=W({name:"ElFooter",__name:"footer",props:{height:{type:[String,null],required:!1,default:null}},setup(e){const t=e,n=Ee("footer"),s=k(()=>t.height?n.cssVarBlock({height:t.height}):{});return(a,o)=>(S(),P("footer",{class:D(f(n).b()),style:tt(s.value)},[ue(a.$slots,"default")],6))}}),Dk=W({name:"ElHeader",__name:"header",props:{height:{type:[String,null],required:!1,default:null}},setup(e){const t=e,n=Ee("header"),s=k(()=>t.height?n.cssVarBlock({height:t.height}):{});return(a,o)=>(S(),P("header",{class:D(f(n).b()),style:tt(s.value)},[ue(a.$slots,"default")],6))}}),Fk=W({name:"ElMain",__name:"main",setup(e){const t=Ee("main");return(n,s)=>(S(),P("main",{class:D(f(t).b())},[ue(n.$slots,"default")],2))}});const vse=pt(pse,{Aside:Nk,Footer:$k,Header:Dk,Main:Fk}),mse=An(Nk),gse=An($k),bse=An(Dk),yse=An(Fk);var Bk={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},s=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,o=/\d\d/,r=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,l={},c=function(g){return(g=+g)+(g>68?1900:2e3)},u=function(g){return function(b){this[g]=+b}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(b){if(!b||b==="Z")return 0;var _=b.match(/([+-]|\d\d)/g),w=60*_[1]+(+_[2]||0);return w===0?0:_[0]==="+"?-w:w}(g)}],h=function(g){var b=l[g];return b&&(b.indexOf?b:b.s.concat(b.f))},p=function(g,b){var _,w=l.meridiem;if(w){for(var C=1;C<=24;C+=1)if(g.indexOf(w(C,0,b))>-1){_=C>12;break}}else _=g===(b?"pm":"PM");return _},v={A:[i,function(g){this.afternoon=p(g,!1)}],a:[i,function(g){this.afternoon=p(g,!0)}],Q:[a,function(g){this.month=3*(g-1)+1}],S:[a,function(g){this.milliseconds=100*+g}],SS:[o,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[r,u("seconds")],ss:[r,u("seconds")],m:[r,u("minutes")],mm:[r,u("minutes")],H:[r,u("hours")],h:[r,u("hours")],HH:[r,u("hours")],hh:[r,u("hours")],D:[r,u("day")],DD:[o,u("day")],Do:[i,function(g){var b=l.ordinal,_=g.match(/\d+/);if(this.day=_[0],b)for(var w=1;w<=31;w+=1)b(w).replace(/\[|\]/g,"")===g&&(this.day=w)}],w:[r,u("week")],ww:[o,u("week")],M:[r,u("month")],MM:[o,u("month")],MMM:[i,function(g){var b=h("months"),_=(h("monthsShort")||b.map(function(w){return w.slice(0,3)})).indexOf(g)+1;if(_<1)throw new Error;this.month=_%12||_}],MMMM:[i,function(g){var b=h("months").indexOf(g)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,u("year")],YY:[o,function(g){this.year=c(g)}],YYYY:[/\d{4}/,u("year")],Z:d,ZZ:d};function m(g){var b,_;b=g,_=l&&l.formats;for(var w=(g=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(M,$,O){var B=O&&O.toUpperCase();return $||_[O]||n[O]||_[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(U,J,Y){return J||Y.slice(1)})})).match(s),C=w.length,x=0;x-1)return new Date((L==="X"?1e3:1)*N);var G=m(L)(N),Q=G.year,K=G.month,ee=G.day,ae=G.hours,fe=G.minutes,ne=G.seconds,pe=G.milliseconds,he=G.zone,ce=G.week,Z=new Date,H=ee||(Q||K?1:Z.getDate()),te=Q||Z.getFullYear(),de=0;Q&&!K||(de=K>0?K-1:Z.getMonth());var be,Ce=ae||0,Se=fe||0,Ne=ne||0,Ve=pe||0;return he?new Date(Date.UTC(te,de,H,Ce,Se,Ne,Ve+60*he.offset*1e3)):V?new Date(Date.UTC(te,de,H,Ce,Se,Ne,Ve)):(be=new Date(te,de,H,Ce,Se,Ne,Ve),ce&&(be=z(be).week(ce).toDate()),be)}catch{return new Date("")}}(E,I,T,_),this.init(),B&&B!==!0&&(this.$L=this.locale(B).$L),O&&E!=this.format(I)&&(this.$d=new Date("")),l={}}else if(I instanceof Array)for(var U=I.length,J=1;J<=U;J+=1){R[1]=I[J-1];var Y=_.apply(this,R);if(Y.isValid()){this.$d=Y.$d,this.$L=Y.$L,this.init();break}J===U&&(this.$d=new Date(""))}else C.call(this,x)}}})})(Bk);var wse=Bk.exports;const F3=nl(wse),Vk=["hours","minutes","seconds"],gr="EP_PICKER_BASE",B3="ElPopperOptions",zk=Symbol("commonPickerContextKey"),zf="HH:mm:ss",uc="YYYY-MM-DD",_se={date:uc,dates:uc,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:`${uc} ${zf}`,monthrange:"YYYY-MM",yearrange:"YYYY",daterange:uc,datetimerange:`${uc} ${zf}`},Hk=(e,t)=>{const{lang:n}=It(),s=F(!1),a=F(!1),o=F(null),r=k(()=>{const{modelValue:v}=e;return!v||ke(v)&&!v.filter(Boolean).length}),i=v=>{if(!BE(e.modelValue,v)){let m;ke(v)?m=v.map(b=>zE(b,e.valueFormat,n.value)):v&&(m=zE(v,e.valueFormat,n.value)),t(ct,v&&m,n.value)}},l=k(()=>{var v;let m;if(r.value?c.value.getDefaultValue&&(m=c.value.getDefaultValue()):ke(e.modelValue)?m=e.modelValue.map(g=>VE(g,e.valueFormat,n.value)):m=VE((v=e.modelValue)!=null?v:"",e.valueFormat,n.value),c.value.getRangeAvailableTime){const g=c.value.getRangeAvailableTime(m);$n(g,m)||(m=g,r.value||i(Bg(m)))}return ke(m)&&m.some(g=>!g)&&(m=[]),m}),c=F({});return{parsedValue:l,pickerActualVisible:a,pickerOptions:c,pickerVisible:s,userInput:o,valueIsEmpty:r,emitInput:i,onCalendarChange:v=>{t("calendar-change",v)},onPanelChange:(v,m,g)=>{t("panel-change",v,m,g)},onPick:(v="",m=!1)=>{s.value=m;let g;ke(v)?g=v.map(b=>b.toDate()):g=v&&v.toDate(),o.value=null,i(g)},onSetPickerOption:v=>{c.value[v[0]]=v[1],c.value.panelReady=!0}}},V3=Me({disabledHours:{type:re(Function)},disabledMinutes:{type:re(Function)},disabledSeconds:{type:re(Function)}}),Wk=Me({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),z3=Me({automaticDropdown:{type:Boolean,default:!0},id:{type:re([Array,String])},name:{type:re([Array,String])},popperClass:tn.popperClass,popperStyle:tn.popperStyle,format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:re([String,Object]),default:$o},editable:{type:Boolean,default:!0},prefixIcon:{type:re([String,Object]),default:""},size:rs,readonly:Boolean,disabled:{type:Boolean,default:void 0},placeholder:{type:String,default:""},popperOptions:{type:re(Object),default:()=>({})},modelValue:{type:re([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:re([Date,Array])},defaultTime:{type:re([Date,Array])},isRange:Boolean,...V3,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:re([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,placement:{type:re(String),values:Qr,default:"bottom"},fallbackPlacements:{type:re(Array),default:["bottom","top","right","left"]},...wu,...ia(["ariaLabel"]),showNow:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean}),Cse=Me({id:{type:re(Array)},name:{type:re(Array)},modelValue:{type:re([Array,String])},startPlaceholder:String,endPlaceholder:String,disabled:Boolean}),Sse=["id","name","placeholder","value","disabled"],xse=["id","name","placeholder","value","disabled"];var Ese=W({name:"PickerRangeTrigger",inheritAttrs:!1,__name:"picker-range-trigger",props:Cse,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(e,{expose:t,emit:n}){const s=e,a=n,{formItem:o}=Cs(),{inputId:r}=uo(Wt({id:k(()=>{var R;return(R=s.id)==null?void 0:R[0]})}),{formItemContext:o}),i=Pg(),l=Ee("date"),c=Ee("range"),u=F(),d=F(),{wrapperRef:h,isFocused:p}=Qi(u,{disabled:k(()=>s.disabled)}),v=R=>{a("click",R)},m=R=>{a("mouseenter",R)},g=R=>{a("mouseleave",R)},b=R=>{a("touchstart",R)},_=R=>{a("startInput",R)},w=R=>{a("endInput",R)},C=R=>{a("startChange",R)},x=R=>{a("endChange",R)};return t({focus:()=>{var R;(R=u.value)==null||R.focus()},blur:()=>{var R,I;(R=u.value)==null||R.blur(),(I=d.value)==null||I.blur()}}),(R,I)=>(S(),P("div",{ref_key:"wrapperRef",ref:h,class:D([f(l).is("active",f(p)),R.$attrs.class]),style:tt(R.$attrs.style),onClick:v,onMouseenter:m,onMouseleave:g,onTouchstartPassive:b},[ue(R.$slots,"prefix"),A("input",wt(f(i),{id:f(r),ref_key:"inputRef",ref:u,name:R.name&&R.name[0],placeholder:R.startPlaceholder,value:R.modelValue&&R.modelValue[0],class:f(c).b("input"),disabled:R.disabled,onInput:_,onChange:C}),null,16,Sse),ue(R.$slots,"range-separator"),A("input",wt(f(i),{id:R.id&&R.id[1],ref_key:"endInputRef",ref:d,name:R.name&&R.name[1],placeholder:R.endPlaceholder,value:R.modelValue&&R.modelValue[1],class:f(c).b("input"),disabled:R.disabled,onInput:w,onChange:x}),null,16,xse),ue(R.$slots,"suffix")],38))}}),jk=W({name:"Picker",__name:"picker",props:z3,emits:[ct,Pt,"focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:n}){const s=e,a=n,o=Bi(),r=Ee("date"),i=Ee("input"),l=Ee("range"),{formItem:c}=Cs(),u=je(B3,{}),d=wp(s,null),h=F(),p=F(),v=F(null);let m=!1;const g=In(),b=Hk(s,a),{parsedValue:_,pickerActualVisible:w,userInput:C,pickerVisible:x,pickerOptions:E,valueIsEmpty:T,emitInput:R,onPick:I,onSetPickerOption:M,onCalendarChange:$,onPanelChange:O}=b,{isFocused:B,handleFocus:U,handleBlur:J}=Qi(p,{disabled:g,beforeFocus(){return s.readonly},afterFocus(){s.automaticDropdown&&(x.value=!0)},beforeBlur(we){var Ye;return!m&&((Ye=h.value)==null?void 0:Ye.isFocusInsideContent(we))},afterBlur(){Qe(),x.value=!1,m=!1,s.validateEvent&&(c==null||c.validate("blur").catch(we=>void 0))}}),Y=F(!1),N=k(()=>[r.b("editor"),r.bm("editor",s.type),i.e("wrapper"),r.is("disabled",g.value),r.is("active",x.value),l.b("editor"),Oe?l.bm("editor",Oe.value):"",o.class]),L=k(()=>[i.e("icon"),l.e("close-icon"),be.value?"":l.em("close-icon","hidden")]);me(x,we=>{we?ze(()=>{we&&(v.value=s.modelValue)}):(C.value=null,ze(()=>{V(s.modelValue)}))});const V=(we,Ye)=>{(Ye||!BE(we,v.value))&&(a(Pt,we),Ye&&(v.value=we),s.validateEvent&&(c==null||c.validate("change").catch(Ct=>void 0)))},z=we=>{a("keydown",we)},G=k(()=>p.value?Array.from(p.value.$el.querySelectorAll("input")):[]),Q=(we,Ye,Ct)=>{const Xt=G.value;Xt.length&&(!Ct||Ct==="min"?(Xt[0].setSelectionRange(we,Ye),Xt[0].focus()):Ct==="max"&&(Xt[1].setSelectionRange(we,Ye),Xt[1].focus()))},K=()=>{w.value=!0},ee=()=>{a("visible-change",!0)},ae=()=>{w.value=!1,x.value=!1,a("visible-change",!1)},fe=()=>{x.value=!0},ne=()=>{x.value=!1},pe=k(()=>{const we=De(_.value);return ke(C.value)?[C.value[0]||we&&we[0]||"",C.value[1]||we&&we[1]||""]:C.value!==null?C.value:!ce.value&&T.value||!x.value&&T.value?"":we?Z.value||H.value||te.value?we.join(", "):we:""}),he=k(()=>s.type.includes("time")),ce=k(()=>s.type.startsWith("time")),Z=k(()=>s.type==="dates"),H=k(()=>s.type==="months"),te=k(()=>s.type==="years"),de=k(()=>s.prefixIcon||(he.value?$y:jx)),be=k(()=>s.clearable&&!g.value&&!s.readonly&&!T.value&&(Y.value||B.value)),Ce=we=>{s.readonly||g.value||(be.value&&(we==null||we.stopPropagation(),E.value.handleClear?E.value.handleClear():R(d.valueOnClear.value),V(d.valueOnClear.value,!0),ae()),a("clear"))},Se=async we=>{var Ye;s.readonly||g.value||(((Ye=we.target)==null?void 0:Ye.tagName)!=="INPUT"||B.value||!s.automaticDropdown)&&(x.value=!0)},Ne=()=>{s.readonly||g.value||!T.value&&s.clearable&&(Y.value=!0)},Ve=()=>{Y.value=!1},$e=we=>{var Ye;s.readonly||g.value||(((Ye=we.touches[0].target)==null?void 0:Ye.tagName)!=="INPUT"||B.value||!s.automaticDropdown)&&(x.value=!0)},_e=k(()=>s.type.includes("range")),Oe=ts(),Pe=k(()=>{var we,Ye;return(Ye=(we=f(h))==null?void 0:we.popperRef)==null?void 0:Ye.contentRef}),We=My(p,we=>{const Ye=f(Pe),Ct=os(p);Ye&&(we.target===Ye||we.composedPath().includes(Ye))||we.target===Ct||Ct&&we.composedPath().includes(Ct)||(x.value=!1)});Gt(()=>{We==null||We()});const Qe=()=>{if(C.value){const we=it(pe.value);we&&(Ke(we)&&R(Bg(we)),C.value=null)}C.value===""&&(R(d.valueOnClear.value),V(d.valueOnClear.value,!0),C.value=null)},it=we=>we?E.value.parseUserInput(we):null,De=we=>we?ke(we)?we.map(Ct=>Ct.format(s.format)):we.format(s.format):null,Ke=we=>E.value.isValidValue(we),nt=async we=>{if(s.readonly||g.value)return;const Ye=an(we);if(z(we),Ye===Te.esc){x.value===!0&&(x.value=!1,we.preventDefault(),we.stopPropagation());return}if(Ye===Te.down&&(E.value.handleFocusPicker&&(we.preventDefault(),we.stopPropagation()),x.value===!1&&(x.value=!0,await ze()),E.value.handleFocusPicker)){E.value.handleFocusPicker();return}if(Ye===Te.tab){m=!0;return}if(Ye===Te.enter||Ye===Te.numpadEnter){x.value?(C.value===null||C.value===""||Ke(it(pe.value)))&&(Qe(),x.value=!1):x.value=!0,we.preventDefault(),we.stopPropagation();return}if(C.value){we.stopPropagation();return}E.value.handleKeydownInput&&E.value.handleKeydownInput(we)},Ft=we=>{C.value=we,x.value||(x.value=!0)},Kt=we=>{const Ye=we.target;C.value?C.value=[Ye.value,C.value[1]]:C.value=[Ye.value,null]},ot=we=>{const Ye=we.target;C.value?C.value=[C.value[0],Ye.value]:C.value=[null,Ye.value]},dt=()=>{var we;const Ye=C.value,Ct=it(Ye&&Ye[0]),Xt=f(_);if(Ct&&Ct.isValid()){C.value=[De(Ct),((we=pe.value)==null?void 0:we[1])||null];const wn=[Ct,Xt&&(Xt[1]||null)];Ke(wn)&&(R(Bg(wn)),C.value=null)}},kt=()=>{var we;const Ye=f(C),Ct=it(Ye&&Ye[1]),Xt=f(_);if(Ct&&Ct.isValid()){C.value=[((we=f(pe))==null?void 0:we[0])||null,De(Ct)];const wn=[Xt&&Xt[0],Ct];Ke(wn)&&(R(Bg(wn)),C.value=null)}},xe=()=>{var we;(we=p.value)==null||we.focus()},qe=()=>{var we;(we=p.value)==null||we.blur()};return Tt(gr,{props:s,emptyValues:d}),Tt(zk,b),t({focus:xe,blur:qe,handleOpen:fe,handleClose:ne,onPick:I}),(we,Ye)=>(S(),le(f(Ss),wt({ref_key:"refPopper",ref:h,visible:f(x),effect:"light",pure:"",trigger:"click"},we.$attrs,{role:"dialog",teleported:"",transition:`${f(r).namespace.value}-zoom-in-top`,"popper-class":[`${f(r).namespace.value}-picker__popper`,we.popperClass],"popper-style":we.popperStyle,"popper-options":f(u),"fallback-placements":we.fallbackPlacements,"gpu-acceleration":!1,placement:we.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:K,onShow:ee,onHide:ae}),{default:X(()=>[_e.value?(S(),le(Ese,{key:1,id:we.id,ref_key:"inputRef",ref:p,"model-value":pe.value,name:we.name,disabled:f(g),readonly:!we.editable||we.readonly,"start-placeholder":we.startPlaceholder,"end-placeholder":we.endPlaceholder,class:D(N.value),style:tt(we.$attrs.style),"aria-label":we.ariaLabel,tabindex:we.tabindex,autocomplete:"off",role:"combobox",onClick:Se,onFocus:f(U),onBlur:f(J),onStartInput:Kt,onStartChange:dt,onEndInput:ot,onEndChange:kt,onMousedown:Se,onMouseenter:Ne,onMouseleave:Ve,onTouchstartPassive:$e,onKeydown:nt},{prefix:X(()=>[de.value?(S(),le(f(Je),{key:0,class:D([f(i).e("icon"),f(l).e("icon")])},{default:X(()=>[(S(),le(bt(de.value)))]),_:1},8,["class"])):ie("v-if",!0)]),"range-separator":X(()=>[ue(we.$slots,"range-separator",{},()=>[A("span",{class:D(f(l).b("separator"))},ve(we.rangeSeparator),3)])]),suffix:X(()=>[we.clearIcon?(S(),le(f(Je),{key:0,class:D(L.value),onMousedown:lt(f(qt),["prevent"]),onClick:Ce},{default:X(()=>[(S(),le(bt(we.clearIcon)))]),_:1},8,["class","onMousedown"])):ie("v-if",!0)]),_:3},8,["id","model-value","name","disabled","readonly","start-placeholder","end-placeholder","class","style","aria-label","tabindex","onFocus","onBlur"])):(S(),le(f(la),{key:0,id:we.id,ref_key:"inputRef",ref:p,"container-role":"combobox","model-value":pe.value,name:we.name,size:f(Oe),disabled:f(g),placeholder:we.placeholder,class:D([f(r).b("editor"),f(r).bm("editor",we.type),f(r).is("focus",f(x)),we.$attrs.class]),style:tt(we.$attrs.style),readonly:!we.editable||we.readonly||Z.value||H.value||te.value||we.type==="week","aria-label":we.ariaLabel,tabindex:we.tabindex,"validate-event":!1,onInput:Ft,onFocus:f(U),onBlur:f(J),onKeydown:nt,onChange:Qe,onMousedown:Se,onMouseenter:Ne,onMouseleave:Ve,onTouchstartPassive:$e,onClick:Ye[0]||(Ye[0]=lt(()=>{},["stop"]))},{prefix:X(()=>[de.value?(S(),le(f(Je),{key:0,class:D(f(i).e("icon")),onMousedown:lt(Se,["prevent"]),onTouchstartPassive:$e},{default:X(()=>[(S(),le(bt(de.value)))]),_:1},8,["class"])):ie("v-if",!0)]),suffix:X(()=>[be.value&&we.clearIcon?(S(),le(f(Je),{key:0,class:D(`${f(i).e("icon")} clear-icon`),onMousedown:lt(f(qt),["prevent"]),onClick:Ce},{default:X(()=>[(S(),le(bt(we.clearIcon)))]),_:1},8,["class","onMousedown"])):ie("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onFocus","onBlur"]))]),content:X(()=>[ue(we.$slots,"default",{visible:f(x),actualVisible:f(w),parsedValue:f(_),format:we.format,dateFormat:we.dateFormat,timeFormat:we.timeFormat,unlinkPanels:we.unlinkPanels,type:we.type,defaultValue:we.defaultValue,showNow:we.showNow,showConfirm:we.showConfirm,showFooter:we.showFooter,showWeekNumber:we.showWeekNumber,onPick:Ye[1]||(Ye[1]=(...Ct)=>f(I)&&f(I)(...Ct)),onSelectRange:Q,onSetPickerOption:Ye[2]||(Ye[2]=(...Ct)=>f(M)&&f(M)(...Ct)),onCalendarChange:Ye[3]||(Ye[3]=(...Ct)=>f($)&&f($)(...Ct)),onClear:Ce,onPanelChange:Ye[4]||(Ye[4]=(...Ct)=>f(O)&&f(O)(...Ct)),onMousedown:Ye[5]||(Ye[5]=lt(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-style","popper-options","fallback-placements","placement"]))}});const kse=Me({...Wk,datetimeRole:String,parsedValue:{type:re(Object)}}),Kk=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const s=(r,i,l,c)=>{const u={hour:e,minute:t,second:n};let d=r;return["hour","minute","second"].forEach(h=>{if(u[h]){let p;const v=u[h];switch(h){case"minute":{p=v(d.hour(),i,c);break}case"second":{p=v(d.hour(),d.minute(),i,c);break}default:{p=v(i,c);break}}if(p!=null&&p.length&&!p.includes(d[h]())){const m=l?0:p.length-1;d=d[h](p[m])}}}),d},a={};return{timePickerOptions:a,getAvailableTime:s,onSetOption:([r,i])=>{a[r]=i}}},H3=e=>{const t=(s,a)=>s||a,n=s=>s!==!0;return e.map(t).filter(n)},Uk=(e,t,n)=>({getHoursList:(r,i)=>y3(24,e&&(()=>e==null?void 0:e(r,i))),getMinutesList:(r,i,l)=>y3(60,t&&(()=>t==null?void 0:t(r,i,l))),getSecondsList:(r,i,l,c)=>y3(60,n&&(()=>n==null?void 0:n(r,i,l,c)))}),qk=(e,t,n)=>{const{getHoursList:s,getMinutesList:a,getSecondsList:o}=Uk(e,t,n);return{getAvailableHours:(c,u)=>H3(s(c,u)),getAvailableMinutes:(c,u,d)=>H3(a(c,u,d)),getAvailableSeconds:(c,u,d,h)=>H3(o(c,u,d,h))}},Gk=e=>{const t=F(e.parsedValue);return me(()=>e.visible,n=>{n||(t.value=e.parsedValue)}),t},Ase=Me({role:{type:String,required:!0},spinnerDate:{type:re(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:re(String),default:""},...V3}),Tse=100,Mse=600,qg="_RepeatClick",Gg={beforeMount(e,t){const n=t.value,{interval:s=Tse,delay:a=Mse}=et(n)?{}:n;let o,r;const i=()=>et(n)?n():n.handler(),l=()=>{r&&(clearTimeout(r),r=void 0),o&&(clearInterval(o),o=void 0)},c=u=>{u.button===0&&(l(),i(),document.addEventListener("mouseup",l,{once:!0}),r=setTimeout(()=>{o=setInterval(()=>{i()},s)},a))};e[qg]={start:c,clear:l},e.addEventListener("mousedown",c)},unmounted(e){if(!e[qg])return;const{start:t,clear:n}=e[qg];t&&e.removeEventListener("mousedown",t),n&&(n(),document.removeEventListener("mouseup",n)),e[qg]=null}},Pse=["onClick"],Rse=["onMouseenter"];var W3=W({__name:"basic-time-spinner",props:Ase,emits:[Pt,"select-range","set-option"],setup(e,{emit:t}){const n=e,s=je(gr),{isRange:a,format:o}=s.props,r=t,i=Ee("time"),{getHoursList:l,getMinutesList:c,getSecondsList:u}=Uk(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let d=!1;const h=F(),g={hours:F(),minutes:F(),seconds:F()},b=k(()=>n.showSeconds?Vk:Vk.slice(0,2)),_=k(()=>{const{spinnerDate:K}=n,ee=K.hour(),ae=K.minute(),fe=K.second();return{hours:ee,minutes:ae,seconds:fe}}),w=k(()=>{const{hours:K,minutes:ee}=f(_),{role:ae,spinnerDate:fe}=n,ne=a?void 0:fe;return{hours:l(ae,ne),minutes:c(K,ae,ne),seconds:u(K,ee,ae,ne)}}),C=k(()=>{const{hours:K,minutes:ee,seconds:ae}=f(_);return{hours:b3(K,23),minutes:b3(ee,59),seconds:b3(ae,59)}}),x=Xr(K=>{d=!1,R(K)},200),E=K=>{if(!!!n.amPmMode)return"";const ae=n.amPmMode==="A";let fe=K<12?" am":" pm";return ae&&(fe=fe.toUpperCase()),fe},T=K=>{let ee=[0,0];const ae=o||zf,fe=ae.indexOf("HH"),ne=ae.indexOf("mm"),pe=ae.indexOf("ss");switch(K){case"hours":fe!==-1&&(ee=[fe,fe+2]);break;case"minutes":ne!==-1&&(ee=[ne,ne+2]);break;case"seconds":pe!==-1&&(ee=[pe,pe+2]);break}const[he,ce]=ee;r("select-range",he,ce),h.value=K},R=K=>{$(K,f(_)[K])},I=()=>{R("hours"),R("minutes"),R("seconds")},M=K=>K.querySelector(`.${i.namespace.value}-scrollbar__wrap`),$=(K,ee)=>{if(n.arrowControl)return;const ae=f(g[K]);ae&&ae.$el&&(M(ae.$el).scrollTop=Math.max(0,ee*O(K)))},O=K=>{const ee=f(g[K]),ae=ee==null?void 0:ee.$el.querySelector("li");return ae&&Number.parseFloat(Gi(ae,"height"))||0},B=()=>{J(1)},U=()=>{J(-1)},J=K=>{h.value||T("hours");const ee=h.value,ae=f(_)[ee],fe=h.value==="hours"?24:60,ne=Y(ee,ae,K,fe);N(ee,ne),$(ee,ne),ze(()=>T(ee))},Y=(K,ee,ae,fe)=>{let ne=(ee+ae+fe)%fe;const pe=f(w)[K];for(;pe[ne]&&ne!==ee;)ne=(ne+ae+fe)%fe;return ne},N=(K,ee)=>{if(f(w)[K][ee])return;const{hours:ne,minutes:pe,seconds:he}=f(_);let ce;switch(K){case"hours":ce=n.spinnerDate.hour(ee).minute(pe).second(he);break;case"minutes":ce=n.spinnerDate.hour(ne).minute(ee).second(he);break;case"seconds":ce=n.spinnerDate.hour(ne).minute(pe).second(ee);break}r(Pt,ce)},L=(K,{value:ee,disabled:ae})=>{ae||(N(K,ee),T(K),$(K,ee))},V=K=>{const ee=f(g[K]);if(!ee)return;d=!0,x(K);const ae=Math.min(Math.round((M(ee.$el).scrollTop-(z(K)*.5-10)/O(K)+3)/O(K)),K==="hours"?23:59);N(K,ae)},z=K=>f(g[K]).$el.offsetHeight,G=()=>{const K=ee=>{const ae=f(g[ee]);ae&&ae.$el&&(M(ae.$el).onscroll=()=>{V(ee)})};K("hours"),K("minutes"),K("seconds")};St(()=>{ze(()=>{!n.arrowControl&&G(),I(),n.role==="start"&&T("hours")})});const Q=(K,ee)=>{g[ee].value=K??void 0};return r("set-option",[`${n.role}_scrollDown`,J]),r("set-option",[`${n.role}_emitSelectRange`,T]),me(()=>n.spinnerDate,()=>{d||I()}),(K,ee)=>(S(),P("div",{class:D([f(i).b("spinner"),{"has-seconds":K.showSeconds}])},[K.arrowControl?ie("v-if",!0):(S(!0),P(He,{key:0},yt(b.value,ae=>(S(),le(f(pr),{key:ae,ref_for:!0,ref:fe=>Q(fe,ae),class:D(f(i).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":f(i).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:fe=>T(ae),onMousemove:fe=>R(ae)},{default:X(()=>[(S(!0),P(He,null,yt(w.value[ae],(fe,ne)=>(S(),P("li",{key:ne,class:D([f(i).be("spinner","item"),f(i).is("active",ne===_.value[ae]),f(i).is("disabled",fe)]),onClick:pe=>L(ae,{value:ne,disabled:fe})},[ae==="hours"?(S(),P(He,{key:0},[Ue(ve(("0"+(K.amPmMode?ne%12||12:ne)).slice(-2))+ve(E(ne)),1)],64)):(S(),P(He,{key:1},[Ue(ve(("0"+ne).slice(-2)),1)],64))],10,Pse))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),K.arrowControl?(S(!0),P(He,{key:1},yt(b.value,ae=>(S(),P("div",{key:ae,class:D([f(i).be("spinner","wrapper"),f(i).is("arrow")]),onMouseenter:fe=>T(ae)},[gt((S(),le(f(Je),{class:D(["arrow-up",f(i).be("spinner","arrow")])},{default:X(()=>[j(f(Sp))]),_:1},8,["class"])),[[f(Gg),U]]),gt((S(),le(f(Je),{class:D(["arrow-down",f(i).be("spinner","arrow")])},{default:X(()=>[j(f(hr))]),_:1},8,["class"])),[[f(Gg),B]]),A("ul",{class:D(f(i).be("spinner","list"))},[(S(!0),P(He,null,yt(C.value[ae],(fe,ne)=>(S(),P("li",{key:ne,class:D([f(i).be("spinner","item"),f(i).is("active",fe===_.value[ae]),f(i).is("disabled",w.value[ae][fe])])},[f(at)(fe)?(S(),P(He,{key:0},[ae==="hours"?(S(),P(He,{key:0},[Ue(ve(("0"+(K.amPmMode?fe%12||12:fe)).slice(-2))+ve(E(fe)),1)],64)):(S(),P(He,{key:1},[Ue(ve(("0"+fe).slice(-2)),1)],64))],64)):ie("v-if",!0)],2))),128))],2)],42,Rse))),128)):ie("v-if",!0)],2))}}),Yg=W({__name:"panel-time-pick",props:kse,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,s=t,a=je(gr),{arrowControl:o,disabledHours:r,disabledMinutes:i,disabledSeconds:l,defaultValue:c}=a.props,{getAvailableHours:u,getAvailableMinutes:d,getAvailableSeconds:h}=qk(r,i,l),p=Ee("time"),{t:v,lang:m}=It(),g=F([0,2]),b=Gk(n),_=k(()=>$t(n.actualVisible)?`${p.namespace.value}-zoom-in-top`:""),w=k(()=>n.format.includes("ss")),C=k(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),x=L=>{const V=vt(L).locale(m.value),z=J(V);return V.isSame(z)},E=()=>{const L=b.value;s("pick",L,!1),ze(()=>{b.value=L})},T=(L=!1,V=!1)=>{V||s("pick",n.parsedValue,L)},R=L=>{if(!n.visible)return;const V=J(L).millisecond(0);s("pick",V,!0)},I=(L,V)=>{s("select-range",L,V),g.value=[L,V]},M=L=>{const V=n.format,z=V.indexOf("HH"),G=V.indexOf("mm"),Q=V.indexOf("ss"),K=[],ee=[];z!==-1&&(K.push(z),ee.push("hours")),G!==-1&&(K.push(G),ee.push("minutes")),Q!==-1&&w.value&&(K.push(Q),ee.push("seconds"));const fe=(K.indexOf(g.value[0])+L+K.length)%K.length;O.start_emitSelectRange(ee[fe])},$=L=>{const V=an(L),{left:z,right:G,up:Q,down:K}=Te;if([z,G].includes(V)){M(V===z?-1:1),L.preventDefault();return}if([Q,K].includes(V)){const ee=V===Q?-1:1;O.start_scrollDown(ee),L.preventDefault();return}},{timePickerOptions:O,onSetOption:B,getAvailableTime:U}=Kk({getAvailableHours:u,getAvailableMinutes:d,getAvailableSeconds:h}),J=L=>U(L,n.datetimeRole||"",!0),Y=L=>L?vt(L,n.format).locale(m.value):null,N=()=>vt(c).locale(m.value);return s("set-picker-option",["isValidValue",x]),s("set-picker-option",["parseUserInput",Y]),s("set-picker-option",["handleKeydownInput",$]),s("set-picker-option",["getRangeAvailableTime",J]),s("set-picker-option",["getDefaultValue",N]),(L,V)=>(S(),le(vs,{name:_.value},{default:X(()=>[L.actualVisible||L.visible?(S(),P("div",{key:0,class:D(f(p).b("panel"))},[A("div",{class:D([f(p).be("panel","content"),{"has-seconds":w.value}])},[j(W3,{ref:"spinner",role:L.datetimeRole||"start","arrow-control":f(o),"show-seconds":w.value,"am-pm-mode":C.value,"spinner-date":L.parsedValue,"disabled-hours":f(r),"disabled-minutes":f(i),"disabled-seconds":f(l),onChange:R,onSetOption:f(B),onSelectRange:I},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),A("div",{class:D(f(p).be("panel","footer"))},[A("button",{type:"button",class:D([f(p).be("panel","btn"),"cancel"]),onClick:E},ve(f(v)("el.datepicker.cancel")),3),A("button",{type:"button",class:D([f(p).be("panel","btn"),"confirm"]),onClick:V[0]||(V[0]=z=>T())},ve(f(v)("el.datepicker.confirm")),3)],2)],2)):ie("v-if",!0)]),_:1},8,["name"]))}});const Ise=Me({...Wk,parsedValue:{type:re(Array)}}),Ose=["disabled"];var Lse=W({__name:"panel-time-range",props:Ise,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,s=t,a=(Z,H)=>{const te=[];for(let de=Z;de<=H;de++)te.push(de);return te},{t:o,lang:r}=It(),i=Ee("time"),l=Ee("picker"),c=je(gr),{arrowControl:u,disabledHours:d,disabledMinutes:h,disabledSeconds:p,defaultValue:v}=c.props,m=k(()=>[i.be("range-picker","body"),i.be("panel","content"),i.is("arrow",u),x.value?"has-seconds":""]),g=k(()=>[i.be("range-picker","body"),i.be("panel","content"),i.is("arrow",u),x.value?"has-seconds":""]),b=k(()=>n.parsedValue[0]),_=k(()=>n.parsedValue[1]),w=Gk(n),C=()=>{const Z=w.value;s("pick",Z,!1),ze(()=>{w.value=Z})},x=k(()=>n.format.includes("ss")),E=k(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),T=(Z=!1)=>{s("pick",[b.value,_.value],Z)},R=Z=>{$(Z.millisecond(0),_.value)},I=Z=>{$(b.value,Z.millisecond(0))},M=Z=>{const H=Z.map(de=>vt(de).locale(r.value)),te=Q(H);return H[0].isSame(te[0])&&H[1].isSame(te[1])},$=(Z,H)=>{n.visible&&s("pick",[Z,H],!0)},O=k(()=>b.value>_.value),B=F([0,2]),U=(Z,H)=>{s("select-range",Z,H,"min"),B.value=[Z,H]},J=k(()=>x.value?11:8),Y=(Z,H)=>{s("select-range",Z,H,"max");const te=f(J);B.value=[Z+te,H+te]},N=Z=>{const H=x.value?[0,3,6,11,14,17]:[0,3,8,11],te=["hours","minutes"].concat(x.value?["seconds"]:[]),be=(H.indexOf(B.value[0])+Z+H.length)%H.length,Ce=H.length/2;be{const H=an(Z),{left:te,right:de,up:be,down:Ce}=Te;if([te,de].includes(H)){N(H===te?-1:1),Z.preventDefault();return}if([be,Ce].includes(H)){const Se=H===be?-1:1,Ne=B.value[0]{const te=d?d(Z):[],de=Z==="start",Ce=(H||(de?_.value:b.value)).hour(),Se=de?a(Ce+1,23):a(0,Ce-1);return ky(te,Se)},z=(Z,H,te)=>{const de=h?h(Z,H):[],be=H==="start",Ce=te||(be?_.value:b.value),Se=Ce.hour();if(Z!==Se)return de;const Ne=Ce.minute(),Ve=be?a(Ne+1,59):a(0,Ne-1);return ky(de,Ve)},G=(Z,H,te,de)=>{const be=p?p(Z,H,te):[],Ce=te==="start",Se=de||(Ce?_.value:b.value),Ne=Se.hour(),Ve=Se.minute();if(Z!==Ne||H!==Ve)return be;const $e=Se.second(),_e=Ce?a($e+1,59):a(0,$e-1);return ky(be,_e)},Q=([Z,H])=>[ne(Z,"start",!0,H),ne(H,"end",!1,Z)],{getAvailableHours:K,getAvailableMinutes:ee,getAvailableSeconds:ae}=qk(V,z,G),{timePickerOptions:fe,getAvailableTime:ne,onSetOption:pe}=Kk({getAvailableHours:K,getAvailableMinutes:ee,getAvailableSeconds:ae}),he=Z=>Z?ke(Z)?Z.map(H=>vt(H,n.format).locale(r.value)):vt(Z,n.format).locale(r.value):null,ce=()=>{if(ke(v))return v.map(H=>vt(H).locale(r.value));const Z=vt(v).locale(r.value);return[Z,Z.add(60,"m")]};return s("set-picker-option",["parseUserInput",he]),s("set-picker-option",["isValidValue",M]),s("set-picker-option",["handleKeydownInput",L]),s("set-picker-option",["getDefaultValue",ce]),s("set-picker-option",["getRangeAvailableTime",Q]),(Z,H)=>Z.actualVisible?(S(),P("div",{key:0,class:D([f(i).b("range-picker"),f(l).b("panel")])},[A("div",{class:D(f(i).be("range-picker","content"))},[A("div",{class:D(f(i).be("range-picker","cell"))},[A("div",{class:D(f(i).be("range-picker","header"))},ve(f(o)("el.datepicker.startTime")),3),A("div",{class:D(m.value)},[j(W3,{ref:"minSpinner",role:"start","show-seconds":x.value,"am-pm-mode":E.value,"arrow-control":f(u),"spinner-date":b.value,"disabled-hours":V,"disabled-minutes":z,"disabled-seconds":G,onChange:R,onSetOption:f(pe),onSelectRange:U},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),A("div",{class:D(f(i).be("range-picker","cell"))},[A("div",{class:D(f(i).be("range-picker","header"))},ve(f(o)("el.datepicker.endTime")),3),A("div",{class:D(g.value)},[j(W3,{ref:"maxSpinner",role:"end","show-seconds":x.value,"am-pm-mode":E.value,"arrow-control":f(u),"spinner-date":_.value,"disabled-hours":V,"disabled-minutes":z,"disabled-seconds":G,onChange:I,onSetOption:f(pe),onSelectRange:Y},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),A("div",{class:D(f(i).be("panel","footer"))},[A("button",{type:"button",class:D([f(i).be("panel","btn"),"cancel"]),onClick:H[0]||(H[0]=te=>C())},ve(f(o)("el.datepicker.cancel")),3),A("button",{type:"button",class:D([f(i).be("panel","btn"),"confirm"]),disabled:O.value,onClick:H[1]||(H[1]=te=>T())},ve(f(o)("el.datepicker.confirm")),11,Ose)],2)],2)):ie("v-if",!0)}});vt.extend(F3);var Nse=W({name:"ElTimePicker",install:null,props:{...z3,isRange:Boolean},emits:[ct],setup(e,t){const n=F(),[s,a]=e.isRange?["timerange",Lse]:["time",Yg],o=r=>t.emit(ct,r);return Tt(B3,e.popperOptions),t.expose({focus:()=>{var r;(r=n.value)==null||r.focus()},blur:()=>{var r;(r=n.value)==null||r.blur()},handleOpen:()=>{var r;(r=n.value)==null||r.handleOpen()},handleClose:()=>{var r;(r=n.value)==null||r.handleClose()}}),()=>{var r;const i=(r=e.format)!=null?r:zf;return j(jk,wt(e,{ref:n,type:s,format:i,"onUpdate:modelValue":o}),{default:l=>j(a,l,null)})}}});const $se=pt(Nse);var Yk={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){return function(n,s){var a=s.prototype,o=a.format;a.format=function(r){var i=this,l=this.$locale();if(!this.isValid())return o.bind(this)(r);var c=this.$utils(),u=(r||"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(d){switch(d){case"Q":return Math.ceil((i.$M+1)/3);case"Do":return l.ordinal(i.$D);case"gggg":return i.weekYear();case"GGGG":return i.isoWeekYear();case"wo":return l.ordinal(i.week(),"W");case"w":case"ww":return c.s(i.week(),d==="w"?1:2,"0");case"W":case"WW":return c.s(i.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return c.s(String(i.$H===0?24:i.$H),d==="k"?1:2,"0");case"X":return Math.floor(i.$d.getTime()/1e3);case"x":return i.$d.getTime();case"z":return"["+i.offsetName()+"]";case"zzz":return"["+i.offsetName("long")+"]";default:return d}});return o.bind(this)(u)}}})})(Yk);var Dse=Yk.exports;const Fse=nl(Dse);var Xk={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){var n="week",s="year";return function(a,o,r){var i=o.prototype;i.week=function(l){if(l===void 0&&(l=null),l!==null)return this.add(7*(l-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var u=r(this).startOf(s).add(1,s).date(c),d=r(this).endOf(n);if(u.isBefore(d))return 1}var h=r(this).startOf(s).date(c).startOf(n).subtract(1,"millisecond"),p=this.diff(h,n,!0);return p<0?r(this).startOf("week").week():Math.ceil(p)},i.weeks=function(l){return l===void 0&&(l=null),this.week(l)}}})})(Xk);var Bse=Xk.exports;const Vse=nl(Bse);var Jk={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){return function(n,s){s.prototype.weekYear=function(){var a=this.month(),o=this.week(),r=this.year();return o===1&&a===11?r+1:a===0&&o>=52?r-1:r}}})})(Jk);var zse=Jk.exports;const Hse=nl(zse);var Zk={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){return function(n,s,a){s.prototype.dayOfYear=function(o){var r=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return o==null?r:this.add(o-r,"day")}}})})(Zk);var Wse=Zk.exports;const jse=nl(Wse);var Qk={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){return function(n,s){s.prototype.isSameOrAfter=function(a,o){return this.isSame(a,o)||this.isAfter(a,o)}}})})(Qk);var Kse=Qk.exports;const Use=nl(Kse);var eA={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(tl,function(){return function(n,s){s.prototype.isSameOrBefore=function(a,o){return this.isSame(a,o)||this.isBefore(a,o)}}})})(eA);var qse=eA.exports;const Gse=nl(qse),Yse=Me({valueFormat:String,dateFormat:String,timeFormat:String,disabled:{type:Boolean,default:void 0},modelValue:{type:re([Date,Array,String,Number]),default:""},defaultValue:{type:re([Date,Array])},defaultTime:{type:re([Date,Array])},isRange:Boolean,...V3,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,unlinkPanels:Boolean,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:Boolean,showWeekNumber:Boolean,type:{type:re(String),default:"date"},clearable:{type:Boolean,default:!0},border:{type:Boolean,default:!0},editable:{type:Boolean,default:!0}}),j3=Symbol("rootPickerContextKey"),Hp="ElIsDefaultFormat",Xse=["date","dates","year","years","month","months","week","range"],K3=Me({cellClassName:{type:re(Function)},disabledDate:{type:re(Function)},date:{type:re(Object),required:!0},minDate:{type:re(Object)},maxDate:{type:re(Object)},parsedValue:{type:re([Object,Array])},rangeState:{type:re(Object),default:()=>({endDate:null,selecting:!1})},disabled:Boolean}),tA=Me({type:{type:re(String),required:!0,values:Iee},dateFormat:String,timeFormat:String,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean,border:Boolean,disabled:Boolean,editable:{type:Boolean,default:!0}}),U3=Me({unlinkPanels:Boolean,visible:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},border:Boolean,disabled:Boolean,parsedValue:{type:re(Array)}}),q3=e=>({type:String,values:Xse,default:e}),Jse=Me({...tA,parsedValue:{type:re([Object,Array])},visible:{type:Boolean,default:!0},format:{type:String,default:""}}),Wp=e=>{if(!ke(e))return!1;const[t,n]=e;return vt.isDayjs(t)&&vt.isDayjs(n)&&vt(t).isValid()&&vt(n).isValid()&&t.isSameOrBefore(n)},Xg=(e,{lang:t,step:n=1,unit:s,unlinkPanels:a})=>{let o;if(ke(e)){let[r,i]=e.map(l=>vt(l).locale(t));return a||(i=r.add(n,s)),[r,i]}else e?o=vt(e):o=vt();return o=o.locale(t),[o,o.add(n,s)]},Zse=(e,t,{columnIndexOffset:n,startDate:s,nextEndDate:a,now:o,unit:r,relativeDateGetter:i,setCellMetadata:l,setRowMetadata:c})=>{for(let u=0;u{const a=vt().locale(s).startOf("month").month(n).year(t).hour(e.hour()).minute(e.minute()).second(e.second()),o=a.daysInMonth();return oc(o).map(r=>a.add(r,"day").toDate())},Hf=(e,t,n,s,a)=>{const o=vt().year(t).month(n).startOf("month").hour(e.hour()).minute(e.minute()).second(e.second()),r=Jg(e,t,n,s).find(i=>!(a!=null&&a(i)));return r?vt(r).locale(s):o.locale(s)},Zg=(e,t,n)=>{const s=e.year();if(!(n!=null&&n(e.toDate())))return e.locale(t);const a=e.month();if(!Jg(e,s,a,t).every(n))return Hf(e,s,a,t,n);for(let o=0;o<12;o++)if(!Jg(e,s,o,t).every(n))return Hf(e,s,o,t,n);return e},Wf=(e,t,n,s)=>{if(ke(e))return e.map(a=>Wf(a,t,n,s));if(Xe(e)){const a=s!=null&&s.value?vt(e):vt(e,t);if(!a.isValid())return a}return vt(e,t).locale(n)},Qse=Me({...K3,showWeekNumber:Boolean,selectionMode:q3("date")}),eae=["changerange","pick","select"],Qg=(e="")=>["normal","today"].includes(e),tae=(e,t)=>{const{lang:n}=It(),s=F(),a=F(),o=F(),r=F(),i=F([[],[],[],[],[],[]]);let l=!1;const c=e.date.$locale().weekStart||7,u=e.date.locale("en").localeData().weekdaysShort().map(V=>V.toLowerCase()),d=k(()=>c>3?7-c:-c),h=k(()=>{const V=e.date.startOf("month");return V.subtract(V.day()||7,"day")}),p=k(()=>u.concat(u).slice(c,c+7)),v=k(()=>lg(f(C)).some(V=>V.isCurrent)),m=k(()=>{const V=e.date.startOf("month"),z=V.day()||7,G=V.daysInMonth(),Q=V.subtract(1,"month").daysInMonth();return{startOfMonthDay:z,dateCountOfMonth:G,dateCountOfLastMonth:Q}}),g=k(()=>e.selectionMode==="dates"?ca(e.parsedValue):[]),b=(V,{count:z,rowIndex:G,columnIndex:Q})=>{const{startOfMonthDay:K,dateCountOfMonth:ee,dateCountOfLastMonth:ae}=f(m),fe=f(d);if(G>=0&&G<=1){const ne=K+fe<0?7+K+fe:K+fe;if(Q+G*7>=ne)return V.text=z,!0;V.text=ae-(ne-Q%7)+1+G*7,V.type="prev-month"}else return z<=ee?V.text=z:(V.text=z-ee,V.type="next-month"),!0;return!1},_=(V,{columnIndex:z,rowIndex:G},Q)=>{const{disabledDate:K,cellClassName:ee}=e,ae=f(g),fe=b(V,{count:Q,rowIndex:G,columnIndex:z}),ne=V.dayjs.toDate();return V.selected=ae.find(pe=>pe.isSame(V.dayjs,"day")),V.isSelected=!!V.selected,V.isCurrent=E(V),V.disabled=K==null?void 0:K(ne),V.customClass=ee==null?void 0:ee(ne),fe},w=V=>{if(e.selectionMode==="week"){const[z,G]=e.showWeekNumber?[1,7]:[0,6],Q=L(V[z+1]);V[z].inRange=Q,V[z].start=Q,V[G].inRange=Q,V[G].end=Q}},C=k(()=>{const{minDate:V,maxDate:z,rangeState:G,showWeekNumber:Q}=e,K=f(d),ee=f(i),ae="day";let fe=1;if(Zse({row:6,column:7},ee,{startDate:V,columnIndexOffset:Q?1:0,nextEndDate:G.endDate||z||G.selecting&&V||null,now:vt().locale(f(n)).startOf(ae),unit:ae,relativeDateGetter:ne=>f(h).add(ne-K,ae),setCellMetadata:(...ne)=>{_(...ne,fe)&&(fe+=1)},setRowMetadata:w}),Q)for(let ne=0;ne<6;ne++)ee[ne][1].dayjs&&(ee[ne][0]={type:"week",text:ee[ne][1].dayjs.week()});return ee});me(()=>e.date,async()=>{var V;(V=f(s))!=null&&V.contains(document.activeElement)&&(await ze(),await x())});const x=async()=>{var V;return(V=f(a))==null?void 0:V.focus()},E=V=>e.selectionMode==="date"&&Qg(V.type)&&T(V,e.parsedValue),T=(V,z)=>z?vt(z).locale(f(n)).isSame(e.date.date(Number(V.text)),"day"):!1,R=(V,z)=>{const G=f(m).startOfMonthDay,Q=f(d),K=G+Q<0?7+G+Q:G+Q,ee=V*7+(z-(e.showWeekNumber?1:0));return e.date.startOf("month").subtract(K,"day").add(ee,"day")},I=V=>{var z;if(!e.rangeState.selecting)return;let G=V.target;if(G.tagName==="SPAN"&&(G=(z=G.parentNode)==null?void 0:z.parentNode),G.tagName==="DIV"&&(G=G.parentNode),G.tagName!=="TD")return;const Q=G.parentNode.rowIndex-1,K=G.cellIndex;f(C)[Q][K].disabled||(Q!==f(o)||K!==f(r))&&(o.value=Q,r.value=K,t("changerange",{selecting:!0,endDate:R(Q,K)}))},M=V=>!f(v)&&(V==null?void 0:V.text)===1&&Qg(V.type)||V.isCurrent,$=V=>{l||f(v)||e.selectionMode!=="date"||N(V,!0)},O=V=>{V.target.closest("td")&&(l=!0)},B=V=>{V.target.closest("td")&&(l=!1)},U=V=>{!e.rangeState.selecting||!e.minDate?(t("pick",{minDate:V,maxDate:null}),t("select",!0)):(V>=e.minDate?t("pick",{minDate:e.minDate,maxDate:V}):t("pick",{minDate:V,maxDate:e.minDate}),t("select",!1))},J=V=>{const z=V.week(),G=`${V.year()}w${z}`;t("pick",{year:V.year(),week:z,value:G,date:V.startOf("week")})},Y=(V,z)=>{const G=z?ca(e.parsedValue).filter(Q=>(Q==null?void 0:Q.valueOf())!==V.valueOf()):ca(e.parsedValue).concat([V]);t("pick",G)},N=(V,z=!1)=>{if(e.disabled)return;const G=V.target.closest("td");if(!G)return;const Q=G.parentNode.rowIndex-1,K=G.cellIndex,ee=f(C)[Q][K];if(ee.disabled||ee.type==="week")return;const ae=R(Q,K);switch(e.selectionMode){case"range":{U(ae);break}case"date":{t("pick",ae,z);break}case"week":{J(ae);break}case"dates":{Y(ae,!!ee.selected);break}}},L=V=>{if(e.selectionMode!=="week")return!1;let z=e.date.startOf("day");if(V.type==="prev-month"&&(z=z.subtract(1,"month")),V.type==="next-month"&&(z=z.add(1,"month")),z=z.date(Number.parseInt(V.text,10)),e.parsedValue&&!ke(e.parsedValue)){const G=(e.parsedValue.day()-c+7)%7-1;return e.parsedValue.subtract(G,"day").isSame(z,"day")}return!1};return{WEEKS:p,rows:C,tbodyRef:s,currentCellRef:a,focus:x,isCurrent:E,isWeekActive:L,isSelectedCell:M,handlePickDate:N,handleMouseUp:B,handleMouseDown:O,handleMouseMove:I,handleFocus:$}},nae=(e,{isCurrent:t,isWeekActive:n})=>{const s=Ee("date-table"),{t:a}=It(),o=k(()=>[s.b(),s.is("week-mode",e.selectionMode==="week"&&!e.disabled)]),r=k(()=>a("el.datepicker.dateTablePrompt")),i=c=>{const u=[];return Qg(c.type)&&!c.disabled?(u.push("available"),c.type==="today"&&u.push("today")):u.push(c.type),t(c)&&u.push("current"),c.inRange&&(Qg(c.type)||e.selectionMode==="week")&&(u.push("in-range"),c.start&&u.push("start-date"),c.end&&u.push("end-date")),(c.disabled||e.disabled)&&u.push("disabled"),c.selected&&u.push("selected"),c.customClass&&u.push(c.customClass),u.join(" ")},l=c=>[s.e("row"),{current:n(c)}];return{tableKls:o,tableLabel:r,weekHeaderClass:s.e("week-header"),getCellClasses:i,getRowKls:l,t:a}},sae=Me({cell:{type:re(Object)}});var G3=W({name:"ElDatePickerCell",props:sae,setup(e){const t=Ee("date-table-cell"),{slots:n}=je(j3);return()=>{const{cell:s}=e;return ue(n,"default",{...s},()=>{var a;return[j("div",{class:t.b()},[j("span",{class:t.e("text")},[(a=s==null?void 0:s.renderText)!=null?a:s==null?void 0:s.text])])]})}}});const aae=["aria-label"],oae=["aria-label"],rae=["aria-current","aria-selected","tabindex","aria-disabled"];var Y3=W({__name:"basic-date-table",props:Qse,emits:eae,setup(e,{expose:t,emit:n}){const s=e,a=n,{WEEKS:o,rows:r,tbodyRef:i,currentCellRef:l,focus:c,isCurrent:u,isWeekActive:d,isSelectedCell:h,handlePickDate:p,handleMouseUp:v,handleMouseDown:m,handleMouseMove:g,handleFocus:b}=tae(s,a),{tableLabel:_,tableKls:w,getCellClasses:C,getRowKls:x,weekHeaderClass:E,t:T}=nae(s,{isCurrent:u,isWeekActive:d});let R=!1;return Gt(()=>{R=!0}),t({focus:c}),(I,M)=>(S(),P("table",{"aria-label":f(_),class:D(f(w)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:M[1]||(M[1]=(...$)=>f(p)&&f(p)(...$)),onMousemove:M[2]||(M[2]=(...$)=>f(g)&&f(g)(...$)),onMousedown:M[3]||(M[3]=(...$)=>f(m)&&f(m)(...$)),onMouseup:M[4]||(M[4]=(...$)=>f(v)&&f(v)(...$))},[A("tbody",{ref_key:"tbodyRef",ref:i},[A("tr",null,[I.showWeekNumber?(S(),P("th",{key:0,scope:"col",class:D(f(E))},null,2)):ie("v-if",!0),(S(!0),P(He,null,yt(f(o),($,O)=>(S(),P("th",{key:O,"aria-label":f(T)("el.datepicker.weeksFull."+$),scope:"col"},ve(f(T)("el.datepicker.weeks."+$)),9,oae))),128))]),(S(!0),P(He,null,yt(f(r),($,O)=>(S(),P("tr",{key:O,class:D(f(x)(I.showWeekNumber?$[2]:$[1]))},[(S(!0),P(He,null,yt($,(B,U)=>(S(),P("td",{key:`${O}.${U}`,ref_for:!0,ref:J=>!f(R)&&f(h)(B)&&(l.value=J),class:D(f(C)(B)),"aria-current":B.isCurrent?"date":void 0,"aria-selected":B.isCurrent,tabindex:I.disabled?void 0:f(h)(B)?0:-1,"aria-disabled":I.disabled,onFocus:M[0]||(M[0]=(...J)=>f(b)&&f(b)(...J))},[j(f(G3),{cell:B},null,8,["cell"])],42,rae))),128))],2))),128))],512)],42,aae))}});const iae=Me({...K3,selectionMode:q3("month")}),lae=["aria-label"],cae=["aria-selected","aria-label","tabindex","onKeydown"];var jp=W({__name:"basic-month-table",props:iae,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const s=e,a=n,o=Ee("month-table"),{t:r,lang:i}=It(),l=F(),c=F(),u=F(s.date.locale("en").localeData().monthsShort().map(C=>C.toLowerCase())),d=F([[],[],[]]),h=F(),p=F(),v=k(()=>{var C,x,E;const T=d.value,R=vt().locale(i.value).startOf("month");for(let I=0;I<3;I++){const M=T[I];for(let $=0;$<4;$++){const O=M[$]||(M[$]={row:I,column:$,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0});O.type="normal";const B=I*4+$,U=s.date.startOf("year").month(B),J=s.rangeState.endDate||s.maxDate||s.rangeState.selecting&&s.minDate||null;O.inRange=!!(s.minDate&&U.isSameOrAfter(s.minDate,"month")&&J&&U.isSameOrBefore(J,"month"))||!!(s.minDate&&U.isSameOrBefore(s.minDate,"month")&&J&&U.isSameOrAfter(J,"month")),(C=s.minDate)!=null&&C.isSameOrAfter(J)?(O.start=!!(J&&U.isSame(J,"month")),O.end=s.minDate&&U.isSame(s.minDate,"month")):(O.start=!!(s.minDate&&U.isSame(s.minDate,"month")),O.end=!!(J&&U.isSame(J,"month"))),R.isSame(U)&&(O.type="today");const N=U.toDate();O.text=B,O.disabled=((x=s.disabledDate)==null?void 0:x.call(s,N))||!1,O.date=N,O.customClass=(E=s.cellClassName)==null?void 0:E.call(s,N),O.dayjs=U,O.timestamp=U.valueOf(),O.isSelected=b(O)}}return T}),m=()=>{var C;(C=c.value)==null||C.focus()},g=C=>{const x={},E=s.date.year(),T=new Date,R=C.text;return x.disabled=s.disabled||(s.disabledDate?Jg(s.date,E,R,i.value).every(s.disabledDate):!1),x.current=ca(s.parsedValue).some(I=>vt.isDayjs(I)&&I.year()===E&&I.month()===R),x.today=T.getFullYear()===E&&T.getMonth()===R,C.customClass&&(x[C.customClass]=!0),C.inRange&&(x["in-range"]=!0,C.start&&(x["start-date"]=!0),C.end&&(x["end-date"]=!0)),x},b=C=>{const x=s.date.year(),E=C.text;return ca(s.date).some(T=>T.year()===x&&T.month()===E)},_=C=>{var x;if(!s.rangeState.selecting)return;let E=C.target;if(E.tagName==="SPAN"&&(E=(x=E.parentNode)==null?void 0:x.parentNode),E.tagName==="DIV"&&(E=E.parentNode),E.tagName!=="TD")return;const T=E.parentNode.rowIndex,R=E.cellIndex;v.value[T][R].disabled||(T!==h.value||R!==p.value)&&(h.value=T,p.value=R,a("changerange",{selecting:!0,endDate:s.date.startOf("year").month(T*4+R)}))},w=C=>{var x;if(s.disabled)return;const E=(x=C.target)==null?void 0:x.closest("td");if((E==null?void 0:E.tagName)!=="TD"||Zr(E,"disabled"))return;const T=E.cellIndex,I=E.parentNode.rowIndex*4+T,M=s.date.startOf("year").month(I);if(s.selectionMode==="months"){if(C.type==="keydown"){a("pick",ca(s.parsedValue),!1);return}const $=Hf(s.date,s.date.year(),I,i.value,s.disabledDate),O=Zr(E,"current")?ca(s.parsedValue).filter(B=>(B==null?void 0:B.year())!==$.year()||(B==null?void 0:B.month())!==$.month()):ca(s.parsedValue).concat([vt($)]);a("pick",O)}else s.selectionMode==="range"?s.rangeState.selecting?(s.minDate&&M>=s.minDate?a("pick",{minDate:s.minDate,maxDate:M}):a("pick",{minDate:M,maxDate:s.minDate}),a("select",!1)):(a("pick",{minDate:M,maxDate:null}),a("select",!0)):a("pick",I)};return me(()=>s.date,async()=>{var C,x;(C=l.value)!=null&&C.contains(document.activeElement)&&(await ze(),(x=c.value)==null||x.focus())}),t({focus:m}),(C,x)=>(S(),P("table",{role:"grid","aria-label":f(r)("el.datepicker.monthTablePrompt"),class:D(f(o).b()),onClick:w,onMousemove:_},[A("tbody",{ref_key:"tbodyRef",ref:l},[(S(!0),P(He,null,yt(v.value,(E,T)=>(S(),P("tr",{key:T},[(S(!0),P(He,null,yt(E,(R,I)=>(S(),P("td",{key:I,ref_for:!0,ref:M=>R.isSelected&&(c.value=M),class:D(g(R)),"aria-selected":!!R.isSelected,"aria-label":f(r)(`el.datepicker.month${+R.text+1}`),tabindex:R.isSelected?0:-1,onKeydown:[Nn(lt(w,["prevent","stop"]),["space"]),Nn(lt(w,["prevent","stop"]),["enter"])]},[j(f(G3),{cell:{...R,renderText:f(r)("el.datepicker.months."+u.value[R.text])}},null,8,["cell"])],42,cae))),128))]))),128))],512)],42,lae))}});const uae=Me({...K3,selectionMode:q3("year")}),dae=["aria-label"],fae=["aria-selected","aria-label","tabindex","onKeydown"];var Kp=W({__name:"basic-year-table",props:uae,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const s=(x,E)=>{const T=vt(String(x)).locale(E).startOf("year"),I=T.endOf("year").dayOfYear();return oc(I).map(M=>T.add(M,"day").toDate())},a=e,o=n,r=Ee("year-table"),{t:i,lang:l}=It(),c=F(),u=F(),d=k(()=>Math.floor(a.date.year()/10)*10),h=F([[],[],[]]),p=F(),v=F(),m=k(()=>{var x,E,T;const R=h.value,I=vt().locale(l.value).startOf("year");for(let M=0;M<3;M++){const $=R[M];for(let O=0;O<4&&!(M*4+O>=10);O++){let B=$[O];B||(B={row:M,column:O,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0}),B.type="normal";const U=M*4+O+d.value,J=vt().year(U),Y=a.rangeState.endDate||a.maxDate||a.rangeState.selecting&&a.minDate||null;B.inRange=!!(a.minDate&&J.isSameOrAfter(a.minDate,"year")&&Y&&J.isSameOrBefore(Y,"year"))||!!(a.minDate&&J.isSameOrBefore(a.minDate,"year")&&Y&&J.isSameOrAfter(Y,"year")),(x=a.minDate)!=null&&x.isSameOrAfter(Y)?(B.start=!!(Y&&J.isSame(Y,"year")),B.end=!!(a.minDate&&J.isSame(a.minDate,"year"))):(B.start=!!(a.minDate&&J.isSame(a.minDate,"year")),B.end=!!(Y&&J.isSame(Y,"year"))),I.isSame(J)&&(B.type="today"),B.text=U;const L=J.toDate();B.disabled=((E=a.disabledDate)==null?void 0:E.call(a,L))||!1,B.date=L,B.customClass=(T=a.cellClassName)==null?void 0:T.call(a,L),B.dayjs=J,B.timestamp=J.valueOf(),B.isSelected=_(B),$[O]=B}}return R}),g=()=>{var x;(x=u.value)==null||x.focus()},b=x=>{const E={},T=vt().locale(l.value),R=x.text;return E.disabled=a.disabled||(a.disabledDate?s(R,l.value).every(a.disabledDate):!1),E.today=T.year()===R,E.current=ca(a.parsedValue).some(I=>I.year()===R),x.customClass&&(E[x.customClass]=!0),x.inRange&&(E["in-range"]=!0,x.start&&(E["start-date"]=!0),x.end&&(E["end-date"]=!0)),E},_=x=>{const E=x.text;return ca(a.date).some(T=>T.year()===E)},w=x=>{var E;if(a.disabled)return;const T=(E=x.target)==null?void 0:E.closest("td");if(!T||!T.textContent||Zr(T,"disabled"))return;const R=T.cellIndex,M=T.parentNode.rowIndex*4+R+d.value,$=vt().year(M);if(a.selectionMode==="range")a.rangeState.selecting?(a.minDate&&$>=a.minDate?o("pick",{minDate:a.minDate,maxDate:$}):o("pick",{minDate:$,maxDate:a.minDate}),o("select",!1)):(o("pick",{minDate:$,maxDate:null}),o("select",!0));else if(a.selectionMode==="years"){if(x.type==="keydown"){o("pick",ca(a.parsedValue),!1);return}const O=Zg($.startOf("year"),l.value,a.disabledDate),B=Zr(T,"current")?ca(a.parsedValue).filter(U=>(U==null?void 0:U.year())!==M):ca(a.parsedValue).concat([O]);o("pick",B)}else o("pick",M)},C=x=>{var E;if(!a.rangeState.selecting)return;const T=(E=x.target)==null?void 0:E.closest("td");if(!T)return;const R=T.parentNode.rowIndex,I=T.cellIndex;m.value[R][I].disabled||(R!==p.value||I!==v.value)&&(p.value=R,v.value=I,o("changerange",{selecting:!0,endDate:vt().year(d.value).add(R*4+I,"year")}))};return me(()=>a.date,async()=>{var x,E;(x=c.value)!=null&&x.contains(document.activeElement)&&(await ze(),(E=u.value)==null||E.focus())}),t({focus:g}),(x,E)=>(S(),P("table",{role:"grid","aria-label":f(i)("el.datepicker.yearTablePrompt"),class:D(f(r).b()),onClick:w,onMousemove:C},[A("tbody",{ref_key:"tbodyRef",ref:c},[(S(!0),P(He,null,yt(m.value,(T,R)=>(S(),P("tr",{key:R},[(S(!0),P(He,null,yt(T,(I,M)=>(S(),P("td",{key:`${R}_${M}`,ref_for:!0,ref:$=>I.isSelected&&(u.value=$),class:D(["available",b(I)]),"aria-selected":I.isSelected,"aria-label":String(I.text),tabindex:I.isSelected?0:-1,onKeydown:[Nn(lt(w,["prevent","stop"]),["space"]),Nn(lt(w,["prevent","stop"]),["enter"])]},[j(f(G3),{cell:I},null,8,["cell"])],42,fae))),128))]))),128))],512)],42,dae))}});const hae=["disabled","onClick"],pae=["aria-label","disabled"],vae=["aria-label","disabled"],mae=["tabindex","aria-disabled"],gae=["tabindex","aria-disabled"],bae=["aria-label","disabled"],yae=["aria-label","disabled"];var wae=W({__name:"panel-date-pick",props:Jse,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=(xe,qe,we)=>!0,s=e,a=t,o=Ee("picker-panel"),r=Ee("date-picker"),i=Bi(),l=zn(),{t:c,lang:u}=It(),d=je(gr),h=je(Hp,void 0),{shortcuts:p,disabledDate:v,cellClassName:m,defaultTime:g}=d.props,b=Jt(d.props,"defaultValue"),_=F(),w=F(vt().locale(u.value)),C=F(!1);let x=!1;const E=k(()=>vt(g).locale(u.value)),T=k(()=>w.value.month()),R=k(()=>w.value.year()),I=F([]),M=F(null),$=F(null),O=xe=>I.value.length>0?n(xe,I.value,s.format||"HH:mm:ss"):!0,B=xe=>g&&!Ne.value&&!C.value&&!x?E.value.year(xe.year()).month(xe.month()).date(xe.date()):he.value?xe.millisecond(0):xe.startOf("day"),U=(xe,...qe)=>{if(!xe)a("pick",xe,...qe);else if(ke(xe)){const we=xe.map(B);a("pick",we,...qe)}else a("pick",B(xe),...qe);M.value=null,$.value=null,C.value=!1,x=!1},J=async(xe,qe)=>{if(G.value==="date"&&vt.isDayjs(xe)){const we=Fp(s.parsedValue);let Ye=we?we.year(xe.year()).month(xe.month()).date(xe.date()):xe;O(Ye),w.value=Ye,U(Ye,he.value||qe)}else G.value==="week"?U(xe.date):G.value==="dates"&&U(xe,!0)},Y=xe=>{const qe=xe?"add":"subtract";w.value=w.value[qe](1,"month"),kt("month")},N=xe=>{const qe=w.value,we=xe?"add":"subtract";w.value=L.value==="year"?qe[we](10,"year"):qe[we](1,"year"),kt("year")},L=F("date"),V=k(()=>{const xe=c("el.datepicker.year");if(L.value==="year"){const qe=Math.floor(R.value/10)*10;return xe?`${qe} ${xe} - ${qe+9} ${xe}`:`${qe} - ${qe+9}`}return`${R.value} ${xe}`}),z=xe=>{const qe=et(xe.value)?xe.value():xe.value;if(qe){x=!0,U(vt(qe).locale(u.value));return}xe.onClick&&xe.onClick({attrs:i,slots:l,emit:a})},G=k(()=>{const{type:xe}=s;return["week","month","months","year","years","dates"].includes(xe)?xe:"date"}),Q=k(()=>G.value==="dates"||G.value==="months"||G.value==="years"),K=k(()=>G.value==="date"?L.value:G.value),ee=k(()=>!!p.length),ae=async(xe,qe)=>{G.value==="month"?(w.value=Hf(w.value,w.value.year(),xe,u.value,v),U(w.value,!1)):G.value==="months"?U(xe,qe??!0):(w.value=Hf(w.value,w.value.year(),xe,u.value,v),L.value="date",["month","year","date","week"].includes(G.value)&&(U(w.value,!0),await ze(),Ft())),kt("month")},fe=async(xe,qe)=>{if(G.value==="year"){const we=w.value.startOf("year").year(xe);w.value=Zg(we,u.value,v),U(w.value,!1)}else if(G.value==="years")U(xe,qe??!0);else{const we=w.value.year(xe);w.value=Zg(we,u.value,v),L.value="month",["month","year","date","week"].includes(G.value)&&(U(w.value,!0),await ze(),Ft())}kt("year")},ne=In(),pe=async xe=>{ne.value||(L.value=xe,await ze(),Ft())},he=k(()=>s.type==="datetime"||s.type==="datetimerange"),ce=k(()=>{const xe=he.value||G.value==="dates",qe=G.value==="years",we=G.value==="months",Ye=L.value==="date",Ct=L.value==="year",Xt=L.value==="month";return xe&&Ye||qe&&Ct||we&&Xt}),Z=k(()=>!Q.value&&s.showNow||s.showConfirm),H=k(()=>v?s.parsedValue?ke(s.parsedValue)?v(s.parsedValue[0].toDate()):v(s.parsedValue.toDate()):!0:!1),te=()=>{if(Q.value)U(s.parsedValue);else{let xe=Fp(s.parsedValue);if(!xe){const qe=vt(g).locale(u.value),we=nt();xe=qe.year(we.year()).month(we.month()).date(we.date())}w.value=xe,U(xe)}},de=k(()=>v?v(vt().locale(u.value).toDate()):!1),be=()=>{const qe=vt().locale(u.value).toDate();C.value=!0,(!v||!v(qe))&&O(qe)&&(w.value=vt().locale(u.value),U(w.value))},Ce=k(()=>s.timeFormat||DE(s.format)||zf),Se=k(()=>s.dateFormat||$E(s.format)||uc),Ne=k(()=>$.value?$.value:!s.parsedValue&&!b.value?void 0:(Fp(s.parsedValue)||w.value).format(Ce.value)),Ve=k(()=>M.value?M.value:!s.parsedValue&&!b.value?void 0:(Fp(s.parsedValue)||w.value).format(Se.value)),$e=F(!1),_e=()=>{$e.value=!0},Oe=()=>{$e.value=!1},Pe=xe=>({hour:xe.hour(),minute:xe.minute(),second:xe.second(),year:xe.year(),month:xe.month(),date:xe.date()}),We=(xe,qe,we)=>{const{hour:Ye,minute:Ct,second:Xt}=Pe(xe),wn=Fp(s.parsedValue),Sn=wn?wn.hour(Ye).minute(Ct).second(Xt):xe;w.value=Sn,U(w.value,!0),we||($e.value=qe)},Qe=xe=>{const qe=vt(xe,Ce.value).locale(u.value);if(qe.isValid()&&O(qe)){const{year:we,month:Ye,date:Ct}=Pe(w.value);w.value=qe.year(we).month(Ye).date(Ct),$.value=null,$e.value=!1,U(w.value,!0)}},it=xe=>{const qe=Wf(xe,Se.value,u.value,h);if(qe.isValid()){if(v&&v(qe.toDate()))return;const{hour:we,minute:Ye,second:Ct}=Pe(w.value);w.value=qe.hour(we).minute(Ye).second(Ct),M.value=null,U(w.value,!0)}},De=xe=>vt.isDayjs(xe)&&xe.isValid()&&(v?!v(xe.toDate()):!0),Ke=xe=>Wf(xe,s.format,u.value,h),nt=()=>{const xe=vt(b.value).locale(u.value);if(!b.value){const qe=E.value;return vt().hour(qe.hour()).minute(qe.minute()).second(qe.second()).locale(u.value)}return xe},Ft=()=>{var xe;["week","month","year","date"].includes(G.value)&&((xe=_.value)==null||xe.focus())},Kt=()=>{Ft(),G.value==="week"&&dt(Te.down)},ot=xe=>{const qe=an(xe);[Te.up,Te.down,Te.left,Te.right,Te.home,Te.end,Te.pageUp,Te.pageDown].includes(qe)&&(dt(qe),xe.stopPropagation(),xe.preventDefault()),[Te.enter,Te.space,Te.numpadEnter].includes(qe)&&M.value===null&&$.value===null&&(xe.preventDefault(),U(w.value,!1))},dt=xe=>{var qe;const{up:we,down:Ye,left:Ct,right:Xt,home:wn,end:Sn,pageUp:Fe,pageDown:st}=Te,ge={year:{[we]:-4,[Ye]:4,[Ct]:-1,[Xt]:1,offset:(Be,Re)=>Be.setFullYear(Be.getFullYear()+Re)},month:{[we]:-4,[Ye]:4,[Ct]:-1,[Xt]:1,offset:(Be,Re)=>Be.setMonth(Be.getMonth()+Re)},week:{[we]:-1,[Ye]:1,[Ct]:-1,[Xt]:1,offset:(Be,Re)=>Be.setDate(Be.getDate()+Re*7)},date:{[we]:-7,[Ye]:7,[Ct]:-1,[Xt]:1,[wn]:Be=>-Be.getDay(),[Sn]:Be=>-Be.getDay()+6,[Fe]:Be=>-new Date(Be.getFullYear(),Be.getMonth(),0).getDate(),[st]:Be=>new Date(Be.getFullYear(),Be.getMonth()+1,0).getDate(),offset:(Be,Re)=>Be.setDate(Be.getDate()+Re)}},ye=w.value.toDate();for(;Math.abs(w.value.diff(ye,"year",!0))<1;){const Be=ge[K.value];if(!Be)return;if(Be.offset(ye,et(Be[xe])?Be[xe](ye):(qe=Be[xe])!=null?qe:0),v&&v(ye))break;const Re=vt(ye).locale(u.value);w.value=Re,a("pick",Re,!0);break}},kt=xe=>{a("panel-change",w.value.toDate(),xe,L.value)};return me(()=>G.value,xe=>{if(["month","year"].includes(xe)){L.value=xe;return}else if(xe==="years"){L.value="year";return}else if(xe==="months"){L.value="month";return}L.value="date"},{immediate:!0}),me(()=>b.value,xe=>{xe&&(w.value=nt())},{immediate:!0}),me(()=>s.parsedValue,xe=>{if(xe){if(Q.value||ke(xe))return;w.value=xe}else w.value=nt()},{immediate:!0}),a("set-picker-option",["isValidValue",De]),a("set-picker-option",["parseUserInput",Ke]),a("set-picker-option",["handleFocusPicker",Kt]),(xe,qe)=>(S(),P("div",{class:D([f(o).b(),f(r).b(),f(o).is("border",xe.border),f(o).is("disabled",f(ne)),{"has-sidebar":xe.$slots.sidebar||ee.value,"has-time":he.value}])},[A("div",{class:D(f(o).e("body-wrapper"))},[ue(xe.$slots,"sidebar",{class:D(f(o).e("sidebar"))}),ee.value?(S(),P("div",{key:0,class:D(f(o).e("sidebar"))},[(S(!0),P(He,null,yt(f(p),(we,Ye)=>(S(),P("button",{key:Ye,type:"button",disabled:f(ne),class:D(f(o).e("shortcut")),onClick:Ct=>z(we)},ve(we.text),11,hae))),128))],2)):ie("v-if",!0),A("div",{class:D(f(o).e("body"))},[he.value?(S(),P("div",{key:0,class:D(f(r).e("time-header"))},[A("span",{class:D(f(r).e("editor-wrap"))},[j(f(la),{placeholder:f(c)("el.datepicker.selectDate"),"model-value":Ve.value,size:"small","validate-event":!1,disabled:f(ne),readonly:!xe.editable,onInput:qe[0]||(qe[0]=we=>M.value=we),onChange:it},null,8,["placeholder","model-value","disabled","readonly"])],2),gt((S(),P("span",{class:D(f(r).e("editor-wrap"))},[j(f(la),{placeholder:f(c)("el.datepicker.selectTime"),"model-value":Ne.value,size:"small","validate-event":!1,disabled:f(ne),readonly:!xe.editable,onFocus:_e,onInput:qe[1]||(qe[1]=we=>$.value=we),onChange:Qe},null,8,["placeholder","model-value","disabled","readonly"]),j(f(Yg),{visible:$e.value,format:Ce.value,"parsed-value":w.value,onPick:We},null,8,["visible","format","parsed-value"])],2)),[[f(lc),Oe]])],2)):ie("v-if",!0),gt(A("div",{class:D([f(r).e("header"),(L.value==="year"||L.value==="month")&&f(r).em("header","bordered")])},[A("span",{class:D(f(r).e("prev-btn"))},[A("button",{type:"button","aria-label":f(c)("el.datepicker.prevYear"),class:D(["d-arrow-left",f(o).e("icon-btn")]),disabled:f(ne),onClick:qe[2]||(qe[2]=we=>N(!1))},[ue(xe.$slots,"prev-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Yi))]),_:1})])],10,pae),gt(A("button",{type:"button","aria-label":f(c)("el.datepicker.prevMonth"),class:D([f(o).e("icon-btn"),"arrow-left"]),disabled:f(ne),onClick:qe[3]||(qe[3]=we=>Y(!1))},[ue(xe.$slots,"prev-month",{},()=>[j(f(Je),null,{default:X(()=>[j(f(No))]),_:1})])],10,vae),[[Bt,L.value==="date"]])],2),A("span",{role:"button",class:D(f(r).e("header-label")),"aria-live":"polite",tabindex:xe.disabled?void 0:0,"aria-disabled":xe.disabled,onKeydown:qe[4]||(qe[4]=Nn(we=>pe("year"),["enter"])),onClick:qe[5]||(qe[5]=we=>pe("year"))},ve(V.value),43,mae),gt(A("span",{role:"button","aria-live":"polite",tabindex:xe.disabled?void 0:0,"aria-disabled":xe.disabled,class:D([f(r).e("header-label"),{active:L.value==="month"}]),onKeydown:qe[6]||(qe[6]=Nn(we=>pe("month"),["enter"])),onClick:qe[7]||(qe[7]=we=>pe("month"))},ve(f(c)(`el.datepicker.month${T.value+1}`)),43,gae),[[Bt,L.value==="date"]]),A("span",{class:D(f(r).e("next-btn"))},[gt(A("button",{type:"button","aria-label":f(c)("el.datepicker.nextMonth"),class:D([f(o).e("icon-btn"),"arrow-right"]),disabled:f(ne),onClick:qe[8]||(qe[8]=we=>Y(!0))},[ue(xe.$slots,"next-month",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Ls))]),_:1})])],10,bae),[[Bt,L.value==="date"]]),A("button",{type:"button","aria-label":f(c)("el.datepicker.nextYear"),class:D([f(o).e("icon-btn"),"d-arrow-right"]),disabled:f(ne),onClick:qe[9]||(qe[9]=we=>N(!0))},[ue(xe.$slots,"next-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Xi))]),_:1})])],10,yae)],2)],2),[[Bt,L.value!=="time"]]),A("div",{class:D(f(o).e("content")),onKeydown:ot},[L.value==="date"?(S(),le(Y3,{key:0,ref_key:"currentViewRef",ref:_,"selection-mode":G.value,date:w.value,"parsed-value":xe.parsedValue,"disabled-date":f(v),disabled:f(ne),"cell-class-name":f(m),"show-week-number":xe.showWeekNumber,onPick:J},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name","show-week-number"])):ie("v-if",!0),L.value==="year"?(S(),le(Kp,{key:1,ref_key:"currentViewRef",ref:_,"selection-mode":G.value,date:w.value,"disabled-date":f(v),disabled:f(ne),"parsed-value":xe.parsedValue,"cell-class-name":f(m),onPick:fe},null,8,["selection-mode","date","disabled-date","disabled","parsed-value","cell-class-name"])):ie("v-if",!0),L.value==="month"?(S(),le(jp,{key:2,ref_key:"currentViewRef",ref:_,"selection-mode":G.value,date:w.value,"parsed-value":xe.parsedValue,"disabled-date":f(v),disabled:f(ne),"cell-class-name":f(m),onPick:ae},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name"])):ie("v-if",!0)],34)],2)],2),xe.showFooter&&ce.value&&Z.value?(S(),P("div",{key:0,class:D(f(o).e("footer"))},[gt(j(f(gs),{text:"",size:"small",class:D(f(o).e("link-btn")),disabled:de.value,onClick:be},{default:X(()=>[Ue(ve(f(c)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[Bt,!Q.value&&xe.showNow]]),xe.showConfirm?(S(),le(f(gs),{key:0,plain:"",size:"small",class:D(f(o).e("link-btn")),disabled:H.value,onClick:te},{default:X(()=>[Ue(ve(f(c)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):ie("v-if",!0)],2)):ie("v-if",!0)],2))}});const _ae=Me({...tA,...U3}),Cae=e=>{const{emit:t}=_t(),n=Bi(),s=zn();return o=>{const r=et(o.value)?o.value():o.value;if(r){t("pick",[vt(r[0]).locale(e.value),vt(r[1]).locale(e.value)]);return}o.onClick&&o.onClick({attrs:n,slots:s,emit:t})}},X3=(e,{defaultValue:t,defaultTime:n,leftDate:s,rightDate:a,step:o,unit:r,sortDates:i})=>{const{emit:l}=_t(),{pickerNs:c}=je(j3),u=Ee("date-range-picker"),{t:d,lang:h}=It(),p=Cae(h),v=F(),m=F(),g=F({endDate:null,selecting:!1}),b=E=>{g.value=E},_=(E=!1)=>{const T=f(v),R=f(m);Wp([T,R])&&l("pick",[T,R],E)},w=E=>{g.value.selecting=E,E||(g.value.endDate=null)},C=E=>{if(ke(E)&&E.length===2){const[T,R]=E;v.value=T,s.value=T,m.value=R,i(f(v),f(m))}else x()},x=()=>{let[E,T]=Xg(f(t),{lang:f(h),step:o,unit:r,unlinkPanels:e.unlinkPanels});const R=M=>M.diff(M.startOf("d"),"ms"),I=f(n);if(I){let M=0,$=0;if(ke(I)){const[O,B]=I.map(vt);M=R(O),$=R(B)}else{const O=R(vt(I));M=O,$=O}E=E.startOf("d").add(M,"ms"),T=T.startOf("d").add($,"ms")}v.value=void 0,m.value=void 0,s.value=E,a.value=T};return me(t,E=>{E&&x()},{immediate:!0}),me(()=>e.parsedValue,E=>{(!(E!=null&&E.length)||!$n(E,[v.value,m.value]))&&C(E)},{immediate:!0}),me(()=>e.visible,()=>{e.visible&&C(e.parsedValue)},{immediate:!0}),{minDate:v,maxDate:m,rangeState:g,lang:h,ppNs:c,drpNs:u,handleChangeRange:b,handleRangeConfirm:_,handleShortcutClick:p,onSelect:w,parseValue:C,t:d}},Sae=(e,t,n,s)=>{const a=F("date"),o=F(),r=F("date"),i=F(),l=je(gr),{disabledDate:c}=l.props,{t:u,lang:d}=It(),h=k(()=>n.value.year()),p=k(()=>n.value.month()),v=k(()=>s.value.year()),m=k(()=>s.value.month());function g(E,T){const R=u("el.datepicker.year");if(E.value==="year"){const I=Math.floor(T.value/10)*10;return R?`${I} ${R} - ${I+9} ${R}`:`${I} - ${I+9}`}return`${T.value} ${R}`}function b(E){E==null||E.focus()}async function _(E,T){if(e.disabled)return;const R=E==="left"?a:r,I=E==="left"?o:i;R.value=T,await ze(),b(I.value)}async function w(E,T,R){if(e.disabled)return;const I=T==="left",M=I?n:s,$=I?s:n,O=I?a:r,B=I?o:i;if(E==="year"){const U=M.value.year(R);M.value=Zg(U,d.value,c)}E==="month"&&(M.value=Hf(M.value,M.value.year(),R,d.value,c)),e.unlinkPanels||($.value=T==="left"?M.value.add(1,"month"):M.value.subtract(1,"month")),O.value=E==="year"?"month":"date",await ze(),b(B.value),C(E)}function C(E){t("panel-change",[n.value.toDate(),s.value.toDate()],E)}function x(E,T,R){const I=R?"add":"subtract";return E==="year"?T[I](10,"year"):T[I](1,"year")}return{leftCurrentView:a,rightCurrentView:r,leftCurrentViewRef:o,rightCurrentViewRef:i,leftYear:h,rightYear:v,leftMonth:p,rightMonth:m,leftYearLabel:k(()=>g(a,h)),rightYearLabel:k(()=>g(r,v)),showLeftPicker:E=>_("left",E),showRightPicker:E=>_("right",E),handleLeftYearPick:E=>w("year","left",E),handleRightYearPick:E=>w("year","right",E),handleLeftMonthPick:E=>w("month","left",E),handleRightMonthPick:E=>w("month","right",E),handlePanelChange:C,adjustDateByView:x}},xae=["disabled","onClick"],Eae=["aria-label","disabled"],kae=["aria-label","disabled"],Aae=["disabled","aria-label"],Tae=["disabled","aria-label"],Mae=["tabindex","aria-disabled"],Pae=["tabindex","aria-disabled"],Rae=["disabled","aria-label"],Iae=["disabled","aria-label"],Oae=["aria-label","disabled"],Lae=["disabled","aria-label"],Nae=["tabindex","aria-disabled"],$ae=["tabindex","aria-disabled"],e1="month";var Dae=W({__name:"panel-date-range",props:_ae,emits:["pick","set-picker-option","calendar-change","panel-change","clear"],setup(e,{emit:t}){const n=e,s=t,a=je(gr),o=je(Hp,void 0),{disabledDate:r,cellClassName:i,defaultTime:l,clearable:c}=a.props,u=Jt(a.props,"format"),d=Jt(a.props,"shortcuts"),h=Jt(a.props,"defaultValue"),{lang:p}=It(),v=F(vt().locale(p.value)),m=F(vt().locale(p.value).add(1,e1)),{minDate:g,maxDate:b,rangeState:_,ppNs:w,drpNs:C,handleChangeRange:x,handleRangeConfirm:E,handleShortcutClick:T,onSelect:R,parseValue:I,t:M}=X3(n,{defaultValue:h,defaultTime:l,leftDate:v,rightDate:m,unit:e1,sortDates:Be});me(()=>n.visible,Re=>{!Re&&_.value.selecting&&(I(n.parsedValue),R(!1))});const $=F({min:null,max:null}),O=F({min:null,max:null}),{leftCurrentView:B,rightCurrentView:U,leftCurrentViewRef:J,rightCurrentViewRef:Y,leftYear:N,rightYear:L,leftMonth:V,rightMonth:z,leftYearLabel:G,rightYearLabel:Q,showLeftPicker:K,showRightPicker:ee,handleLeftYearPick:ae,handleRightYearPick:fe,handleLeftMonthPick:ne,handleRightMonthPick:pe,handlePanelChange:he,adjustDateByView:ce}=Sae(n,s,v,m),Z=k(()=>!!d.value.length),H=k(()=>$.value.min!==null?$.value.min:g.value?g.value.format(Se.value):""),te=k(()=>$.value.max!==null?$.value.max:b.value||g.value?(b.value||g.value).format(Se.value):""),de=k(()=>O.value.min!==null?O.value.min:g.value?g.value.format(Ce.value):""),be=k(()=>O.value.max!==null?O.value.max:b.value||g.value?(b.value||g.value).format(Ce.value):""),Ce=k(()=>n.timeFormat||DE(u.value||"")||zf),Se=k(()=>n.dateFormat||$E(u.value||"")||uc),Ne=Re=>Wp(Re)&&(r?!r(Re[0].toDate())&&!r(Re[1].toDate()):!0),Ve=()=>{v.value=ce(B.value,v.value,!1),n.unlinkPanels||(m.value=v.value.add(1,"month")),he("year")},$e=()=>{v.value=v.value.subtract(1,"month"),n.unlinkPanels||(m.value=v.value.add(1,"month")),he("month")},_e=()=>{n.unlinkPanels?m.value=ce(U.value,m.value,!0):(v.value=ce(U.value,v.value,!0),m.value=v.value.add(1,"month")),he("year")},Oe=()=>{n.unlinkPanels?m.value=m.value.add(1,"month"):(v.value=v.value.add(1,"month"),m.value=v.value.add(1,"month")),he("month")},Pe=()=>{v.value=ce(B.value,v.value,!0),he("year")},We=()=>{v.value=v.value.add(1,"month"),he("month")},Qe=()=>{m.value=ce(U.value,m.value,!1),he("year")},it=()=>{m.value=m.value.subtract(1,"month"),he("month")},De=k(()=>{const Re=(V.value+1)%12,Ae=V.value+1>=12?1:0;return n.unlinkPanels&&new Date(N.value+Ae,Re)n.unlinkPanels&&L.value*12+z.value-(N.value*12+V.value+1)>=12),nt=In(),Ft=k(()=>!(g.value&&b.value&&!_.value.selecting&&Wp([g.value,b.value])&&!nt.value)),Kt=k(()=>n.type==="datetime"||n.type==="datetimerange"),ot=(Re,Ae)=>{if(Re)return l?vt(l[Ae]||l).locale(p.value).year(Re.year()).month(Re.month()).date(Re.date()):Re},dt=(Re,Ae=!0)=>{const Ze=Re.minDate,sn=Re.maxDate,_n=ot(Ze,0),xn=ot(sn,1);b.value===xn&&g.value===_n||(s("calendar-change",[Ze.toDate(),sn&&sn.toDate()]),b.value=xn,g.value=_n,!Kt.value&&Ae&&(Ae=!_n||!xn),E(Ae))},kt=F(!1),xe=F(!1),qe=()=>{kt.value=!1},we=()=>{xe.value=!1},Ye=(Re,Ae)=>{$.value[Ae]=Re;const Ze=vt(Re,Se.value).locale(p.value);if(Ze.isValid()){if(r&&r(Ze.toDate()))return;Ae==="min"?(v.value=Ze,g.value=(g.value||v.value).year(Ze.year()).month(Ze.month()).date(Ze.date()),!n.unlinkPanels&&(!b.value||b.value.isBefore(g.value))&&(m.value=Ze.add(1,"month"),b.value=g.value.add(1,"month"))):(m.value=Ze,b.value=(b.value||m.value).year(Ze.year()).month(Ze.month()).date(Ze.date()),!n.unlinkPanels&&(!g.value||g.value.isAfter(b.value))&&(v.value=Ze.subtract(1,"month"),g.value=b.value.subtract(1,"month"))),Be(g.value,b.value),E(!0)}},Ct=(Re,Ae)=>{$.value[Ae]=null},Xt=(Re,Ae)=>{O.value[Ae]=Re;const Ze=vt(Re,Ce.value).locale(p.value);Ze.isValid()&&(Ae==="min"?(kt.value=!0,g.value=(g.value||v.value).hour(Ze.hour()).minute(Ze.minute()).second(Ze.second()),v.value=g.value):(xe.value=!0,b.value=(b.value||m.value).hour(Ze.hour()).minute(Ze.minute()).second(Ze.second()),m.value=b.value))},wn=(Re,Ae)=>{O.value[Ae]=null,Ae==="min"?(v.value=g.value,kt.value=!1,(!b.value||b.value.isBefore(g.value))&&(b.value=g.value)):(m.value=b.value,xe.value=!1,b.value&&b.value.isBefore(g.value)&&(g.value=b.value)),E(!0)},Sn=(Re,Ae,Ze)=>{O.value.min||(Re&&(g.value=(g.value||v.value).hour(Re.hour()).minute(Re.minute()).second(Re.second())),Ze||(kt.value=Ae),(!b.value||b.value.isBefore(g.value))&&(b.value=g.value,m.value=Re,ze(()=>{I(n.parsedValue)})),E(!0))},Fe=(Re,Ae,Ze)=>{O.value.max||(Re&&(b.value=(b.value||m.value).hour(Re.hour()).minute(Re.minute()).second(Re.second())),Ze||(xe.value=Ae),b.value&&b.value.isBefore(g.value)&&(g.value=b.value),E(!0))},st=()=>{ge(),s("clear")},ge=()=>{let Re=null;a!=null&&a.emptyValues&&(Re=a.emptyValues.valueOnClear.value),v.value=Xg(f(h),{lang:f(p),unit:"month",unlinkPanels:n.unlinkPanels})[0],m.value=v.value.add(1,"month"),b.value=void 0,g.value=void 0,E(!0),s("pick",Re)},ye=Re=>Wf(Re,u.value||"",p.value,o);function Be(Re,Ae){if(n.unlinkPanels&&Ae){const Ze=(Re==null?void 0:Re.year())||0,sn=(Re==null?void 0:Re.month())||0,_n=Ae.year(),xn=Ae.month();m.value=Ze===_n&&sn===xn?Ae.add(1,e1):Ae}else m.value=v.value.add(1,e1),Ae&&(m.value=m.value.hour(Ae.hour()).minute(Ae.minute()).second(Ae.second()))}return s("set-picker-option",["isValidValue",Ne]),s("set-picker-option",["parseUserInput",ye]),s("set-picker-option",["handleClear",ge]),(Re,Ae)=>(S(),P("div",{class:D([f(w).b(),f(C).b(),f(w).is("border",Re.border),f(w).is("disabled",f(nt)),{"has-sidebar":Re.$slots.sidebar||Z.value,"has-time":Kt.value}])},[A("div",{class:D(f(w).e("body-wrapper"))},[ue(Re.$slots,"sidebar",{class:D(f(w).e("sidebar"))}),Z.value?(S(),P("div",{key:0,class:D(f(w).e("sidebar"))},[(S(!0),P(He,null,yt(d.value,(Ze,sn)=>(S(),P("button",{key:sn,type:"button",disabled:f(nt),class:D(f(w).e("shortcut")),onClick:_n=>f(T)(Ze)},ve(Ze.text),11,xae))),128))],2)):ie("v-if",!0),A("div",{class:D(f(w).e("body"))},[Kt.value?(S(),P("div",{key:0,class:D(f(C).e("time-header"))},[A("span",{class:D(f(C).e("editors-wrap"))},[A("span",{class:D(f(C).e("time-picker-wrap"))},[j(f(la),{size:"small",disabled:f(_).selecting||f(nt),placeholder:f(M)("el.datepicker.startDate"),class:D(f(C).e("editor")),"model-value":H.value,"validate-event":!1,readonly:!Re.editable,onInput:Ae[0]||(Ae[0]=Ze=>Ye(Ze,"min")),onChange:Ae[1]||(Ae[1]=Ze=>Ct(Ze,"min"))},null,8,["disabled","placeholder","class","model-value","readonly"])],2),gt((S(),P("span",{class:D(f(C).e("time-picker-wrap"))},[j(f(la),{size:"small",class:D(f(C).e("editor")),disabled:f(_).selecting||f(nt),placeholder:f(M)("el.datepicker.startTime"),"model-value":de.value,"validate-event":!1,readonly:!Re.editable,onFocus:Ae[2]||(Ae[2]=Ze=>kt.value=!0),onInput:Ae[3]||(Ae[3]=Ze=>Xt(Ze,"min")),onChange:Ae[4]||(Ae[4]=Ze=>wn(Ze,"min"))},null,8,["class","disabled","placeholder","model-value","readonly"]),j(f(Yg),{visible:kt.value,format:Ce.value,"datetime-role":"start","parsed-value":f(g)||v.value,onPick:Sn},null,8,["visible","format","parsed-value"])],2)),[[f(lc),qe]])],2),A("span",null,[j(f(Je),null,{default:X(()=>[j(f(Ls))]),_:1})]),A("span",{class:D([f(C).e("editors-wrap"),"is-right"])},[A("span",{class:D(f(C).e("time-picker-wrap"))},[j(f(la),{size:"small",class:D(f(C).e("editor")),disabled:f(_).selecting||f(nt),placeholder:f(M)("el.datepicker.endDate"),"model-value":te.value,readonly:!f(g)||!Re.editable,"validate-event":!1,onInput:Ae[5]||(Ae[5]=Ze=>Ye(Ze,"max")),onChange:Ae[6]||(Ae[6]=Ze=>Ct(Ze,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),gt((S(),P("span",{class:D(f(C).e("time-picker-wrap"))},[j(f(la),{size:"small",class:D(f(C).e("editor")),disabled:f(_).selecting||f(nt),placeholder:f(M)("el.datepicker.endTime"),"model-value":be.value,readonly:!f(g)||!Re.editable,"validate-event":!1,onFocus:Ae[7]||(Ae[7]=Ze=>f(g)&&(xe.value=!0)),onInput:Ae[8]||(Ae[8]=Ze=>Xt(Ze,"max")),onChange:Ae[9]||(Ae[9]=Ze=>wn(Ze,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),j(f(Yg),{"datetime-role":"end",visible:xe.value,format:Ce.value,"parsed-value":f(b)||m.value,onPick:Fe},null,8,["visible","format","parsed-value"])],2)),[[f(lc),we]])],2)],2)):ie("v-if",!0),A("div",{class:D([[f(w).e("content"),f(C).e("content")],"is-left"])},[A("div",{class:D(f(C).e("header"))},[A("button",{type:"button",class:D([f(w).e("icon-btn"),"d-arrow-left"]),"aria-label":f(M)("el.datepicker.prevYear"),disabled:f(nt),onClick:Ve},[ue(Re.$slots,"prev-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Yi))]),_:1})])],10,Eae),gt(A("button",{type:"button",class:D([f(w).e("icon-btn"),"arrow-left"]),"aria-label":f(M)("el.datepicker.prevMonth"),disabled:f(nt),onClick:$e},[ue(Re.$slots,"prev-month",{},()=>[j(f(Je),null,{default:X(()=>[j(f(No))]),_:1})])],10,kae),[[Bt,f(B)==="date"]]),Re.unlinkPanels?(S(),P("button",{key:0,type:"button",disabled:!Ke.value||f(nt),class:D([[f(w).e("icon-btn"),f(w).is("disabled",!Ke.value||f(nt))],"d-arrow-right"]),"aria-label":f(M)("el.datepicker.nextYear"),onClick:Pe},[ue(Re.$slots,"next-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Xi))]),_:1})])],10,Aae)):ie("v-if",!0),Re.unlinkPanels&&f(B)==="date"?(S(),P("button",{key:1,type:"button",disabled:!De.value||f(nt),class:D([[f(w).e("icon-btn"),f(w).is("disabled",!De.value||f(nt))],"arrow-right"]),"aria-label":f(M)("el.datepicker.nextMonth"),onClick:We},[ue(Re.$slots,"next-month",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Ls))]),_:1})])],10,Tae)):ie("v-if",!0),A("div",null,[A("span",{role:"button",class:D(f(C).e("header-label")),"aria-live":"polite",tabindex:Re.disabled?void 0:0,"aria-disabled":Re.disabled,onKeydown:Ae[10]||(Ae[10]=Nn(Ze=>f(K)("year"),["enter"])),onClick:Ae[11]||(Ae[11]=Ze=>f(K)("year"))},ve(f(G)),43,Mae),gt(A("span",{role:"button","aria-live":"polite",tabindex:Re.disabled?void 0:0,"aria-disabled":Re.disabled,class:D([f(C).e("header-label"),{active:f(B)==="month"}]),onKeydown:Ae[12]||(Ae[12]=Nn(Ze=>f(K)("month"),["enter"])),onClick:Ae[13]||(Ae[13]=Ze=>f(K)("month"))},ve(f(M)(`el.datepicker.month${v.value.month()+1}`)),43,Pae),[[Bt,f(B)==="date"]])])],2),f(B)==="date"?(S(),le(Y3,{key:0,ref_key:"leftCurrentViewRef",ref:J,"selection-mode":"range",date:v.value,"min-date":f(g),"max-date":f(b),"range-state":f(_),"disabled-date":f(r),"cell-class-name":f(i),"show-week-number":Re.showWeekNumber,disabled:f(nt),onChangerange:f(x),onPick:dt,onSelect:f(R)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):ie("v-if",!0),f(B)==="year"?(S(),le(Kp,{key:1,ref_key:"leftCurrentViewRef",ref:J,"selection-mode":"year",date:v.value,"disabled-date":f(r),"parsed-value":Re.parsedValue,disabled:f(nt),onPick:f(ae)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):ie("v-if",!0),f(B)==="month"?(S(),le(jp,{key:2,ref_key:"leftCurrentViewRef",ref:J,"selection-mode":"month",date:v.value,"parsed-value":Re.parsedValue,"disabled-date":f(r),disabled:f(nt),onPick:f(ne)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):ie("v-if",!0)],2),A("div",{class:D([[f(w).e("content"),f(C).e("content")],"is-right"])},[A("div",{class:D(f(C).e("header"))},[Re.unlinkPanels?(S(),P("button",{key:0,type:"button",disabled:!Ke.value||f(nt),class:D([[f(w).e("icon-btn"),f(w).is("disabled",!Ke.value||f(nt))],"d-arrow-left"]),"aria-label":f(M)("el.datepicker.prevYear"),onClick:Qe},[ue(Re.$slots,"prev-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Yi))]),_:1})])],10,Rae)):ie("v-if",!0),Re.unlinkPanels&&f(U)==="date"?(S(),P("button",{key:1,type:"button",disabled:!De.value||f(nt),class:D([[f(w).e("icon-btn"),f(w).is("disabled",!De.value||f(nt))],"arrow-left"]),"aria-label":f(M)("el.datepicker.prevMonth"),onClick:it},[ue(Re.$slots,"prev-month",{},()=>[j(f(Je),null,{default:X(()=>[j(f(No))]),_:1})])],10,Iae)):ie("v-if",!0),A("button",{type:"button","aria-label":f(M)("el.datepicker.nextYear"),class:D([f(w).e("icon-btn"),"d-arrow-right"]),disabled:f(nt),onClick:_e},[ue(Re.$slots,"next-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Xi))]),_:1})])],10,Oae),gt(A("button",{type:"button",class:D([f(w).e("icon-btn"),"arrow-right"]),disabled:f(nt),"aria-label":f(M)("el.datepicker.nextMonth"),onClick:Oe},[ue(Re.$slots,"next-month",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Ls))]),_:1})])],10,Lae),[[Bt,f(U)==="date"]]),A("div",null,[A("span",{role:"button",class:D(f(C).e("header-label")),"aria-live":"polite",tabindex:Re.disabled?void 0:0,"aria-disabled":Re.disabled,onKeydown:Ae[14]||(Ae[14]=Nn(Ze=>f(ee)("year"),["enter"])),onClick:Ae[15]||(Ae[15]=Ze=>f(ee)("year"))},ve(f(Q)),43,Nae),gt(A("span",{role:"button","aria-live":"polite",tabindex:Re.disabled?void 0:0,"aria-disabled":Re.disabled,class:D([f(C).e("header-label"),{active:f(U)==="month"}]),onKeydown:Ae[16]||(Ae[16]=Nn(Ze=>f(ee)("month"),["enter"])),onClick:Ae[17]||(Ae[17]=Ze=>f(ee)("month"))},ve(f(M)(`el.datepicker.month${m.value.month()+1}`)),43,$ae),[[Bt,f(U)==="date"]])])],2),f(U)==="date"?(S(),le(Y3,{key:0,ref_key:"rightCurrentViewRef",ref:Y,"selection-mode":"range",date:m.value,"min-date":f(g),"max-date":f(b),"range-state":f(_),"disabled-date":f(r),"cell-class-name":f(i),"show-week-number":Re.showWeekNumber,disabled:f(nt),onChangerange:f(x),onPick:dt,onSelect:f(R)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):ie("v-if",!0),f(U)==="year"?(S(),le(Kp,{key:1,ref_key:"rightCurrentViewRef",ref:Y,"selection-mode":"year",date:m.value,"disabled-date":f(r),"parsed-value":Re.parsedValue,disabled:f(nt),onPick:f(fe)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):ie("v-if",!0),f(U)==="month"?(S(),le(jp,{key:2,ref_key:"rightCurrentViewRef",ref:Y,"selection-mode":"month",date:m.value,"parsed-value":Re.parsedValue,"disabled-date":f(r),disabled:f(nt),onPick:f(pe)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):ie("v-if",!0)],2)],2)],2),Re.showFooter&&Kt.value&&(Re.showConfirm||f(c))?(S(),P("div",{key:0,class:D(f(w).e("footer"))},[f(c)?(S(),le(f(gs),{key:0,text:"",size:"small",class:D(f(w).e("link-btn")),onClick:st},{default:X(()=>[Ue(ve(f(M)("el.datepicker.clear")),1)]),_:1},8,["class"])):ie("v-if",!0),Re.showConfirm?(S(),le(f(gs),{key:1,plain:"",size:"small",class:D(f(w).e("link-btn")),disabled:Ft.value,onClick:Ae[18]||(Ae[18]=Ze=>f(E)(!1))},{default:X(()=>[Ue(ve(f(M)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):ie("v-if",!0)],2)):ie("v-if",!0)],2))}});const Fae=Me({...U3}),Bae=["pick","set-picker-option","calendar-change"],Vae=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const{t:s}=It(),a=()=>{t.value=t.value.subtract(1,"year"),e.value||(n.value=n.value.subtract(1,"year"))},o=()=>{e.value||(t.value=t.value.add(1,"year")),n.value=n.value.add(1,"year")},r=()=>{t.value=t.value.add(1,"year")},i=()=>{n.value=n.value.subtract(1,"year")},l=k(()=>`${t.value.year()} ${s("el.datepicker.year")}`),c=k(()=>`${n.value.year()} ${s("el.datepicker.year")}`),u=k(()=>t.value.year()),d=k(()=>n.value.year()===t.value.year()?t.value.year()+1:n.value.year());return{leftPrevYear:a,rightNextYear:o,leftNextYear:r,rightPrevYear:i,leftLabel:l,rightLabel:c,leftYear:u,rightYear:d}},zae=["disabled","onClick"],Hae=["disabled"],Wae=["disabled"],jae=["disabled"],Kae=["disabled"],t1="year";var Uae=W({name:"DatePickerMonthRange",__name:"panel-month-range",props:Fae,emits:Bae,setup(e,{emit:t}){const n=e,s=t,{lang:a}=It(),o=je(gr),r=je(Hp,void 0),{shortcuts:i,disabledDate:l,cellClassName:c}=o.props,u=Jt(o.props,"format"),d=Jt(o.props,"defaultValue"),h=F(vt().locale(a.value)),p=F(vt().locale(a.value).add(1,t1)),{minDate:v,maxDate:m,rangeState:g,ppNs:b,drpNs:_,handleChangeRange:w,handleRangeConfirm:C,handleShortcutClick:x,onSelect:E,parseValue:T}=X3(n,{defaultValue:d,leftDate:h,rightDate:p,unit:t1,sortDates:G}),R=k(()=>!!i.length),{leftPrevYear:I,rightNextYear:M,leftNextYear:$,rightPrevYear:O,leftLabel:B,rightLabel:U,leftYear:J,rightYear:Y}=Vae({unlinkPanels:Jt(n,"unlinkPanels"),leftDate:h,rightDate:p}),N=k(()=>n.unlinkPanels&&Y.value>J.value+1),L=(K,ee=!0)=>{const ae=K.minDate,fe=K.maxDate;m.value===fe&&v.value===ae||(s("calendar-change",[ae.toDate(),fe&&fe.toDate()]),m.value=fe,v.value=ae,ee&&C())},V=()=>{let K=null;o!=null&&o.emptyValues&&(K=o.emptyValues.valueOnClear.value),h.value=Xg(f(d),{lang:f(a),unit:"year",unlinkPanels:n.unlinkPanels})[0],p.value=h.value.add(1,"year"),s("pick",K)},z=K=>Wf(K,u.value,a.value,r);function G(K,ee){if(n.unlinkPanels&&ee){const ae=(K==null?void 0:K.year())||0,fe=ee.year();p.value=ae===fe?ee.add(1,t1):ee}else p.value=h.value.add(1,t1)}const Q=In();return me(()=>n.visible,K=>{!K&&g.value.selecting&&(T(n.parsedValue),E(!1))}),s("set-picker-option",["isValidValue",Wp]),s("set-picker-option",["parseUserInput",z]),s("set-picker-option",["handleClear",V]),(K,ee)=>(S(),P("div",{class:D([f(b).b(),f(_).b(),f(b).is("border",K.border),f(b).is("disabled",f(Q)),{"has-sidebar":!!K.$slots.sidebar||R.value}])},[A("div",{class:D(f(b).e("body-wrapper"))},[ue(K.$slots,"sidebar",{class:D(f(b).e("sidebar"))}),R.value?(S(),P("div",{key:0,class:D(f(b).e("sidebar"))},[(S(!0),P(He,null,yt(f(i),(ae,fe)=>(S(),P("button",{key:fe,type:"button",class:D(f(b).e("shortcut")),disabled:f(Q),onClick:ne=>f(x)(ae)},ve(ae.text),11,zae))),128))],2)):ie("v-if",!0),A("div",{class:D(f(b).e("body"))},[A("div",{class:D([[f(b).e("content"),f(_).e("content")],"is-left"])},[A("div",{class:D(f(_).e("header"))},[A("button",{type:"button",class:D([f(b).e("icon-btn"),"d-arrow-left"]),disabled:f(Q),onClick:ee[0]||(ee[0]=(...ae)=>f(I)&&f(I)(...ae))},[ue(K.$slots,"prev-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Yi))]),_:1})])],10,Hae),K.unlinkPanels?(S(),P("button",{key:0,type:"button",disabled:!N.value||f(Q),class:D([[f(b).e("icon-btn"),f(b).is("disabled",!N.value||f(Q))],"d-arrow-right"]),onClick:ee[1]||(ee[1]=(...ae)=>f($)&&f($)(...ae))},[ue(K.$slots,"next-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Xi))]),_:1})])],10,Wae)):ie("v-if",!0),A("div",null,ve(f(B)),1)],2),j(jp,{"selection-mode":"range",date:h.value,"min-date":f(v),"max-date":f(m),"range-state":f(g),"disabled-date":f(l),disabled:f(Q),"cell-class-name":f(c),onChangerange:f(w),onPick:L,onSelect:f(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),A("div",{class:D([[f(b).e("content"),f(_).e("content")],"is-right"])},[A("div",{class:D(f(_).e("header"))},[K.unlinkPanels?(S(),P("button",{key:0,type:"button",disabled:!N.value||f(Q),class:D([[f(b).e("icon-btn"),f(b).is("disabled",!N.value||f(Q))],"d-arrow-left"]),onClick:ee[2]||(ee[2]=(...ae)=>f(O)&&f(O)(...ae))},[ue(K.$slots,"prev-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Yi))]),_:1})])],10,jae)):ie("v-if",!0),A("button",{type:"button",class:D([f(b).e("icon-btn"),"d-arrow-right"]),disabled:f(Q),onClick:ee[3]||(ee[3]=(...ae)=>f(M)&&f(M)(...ae))},[ue(K.$slots,"next-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Xi))]),_:1})])],10,Kae),A("div",null,ve(f(U)),1)],2),j(jp,{"selection-mode":"range",date:p.value,"min-date":f(v),"max-date":f(m),"range-state":f(g),"disabled-date":f(l),disabled:f(Q),"cell-class-name":f(c),onChangerange:f(w),onPick:L,onSelect:f(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});const qae=Me({...U3}),Gae=["pick","set-picker-option","calendar-change"],Yae=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const s=()=>{t.value=t.value.subtract(10,"year"),e.value||(n.value=n.value.subtract(10,"year"))},a=()=>{e.value||(t.value=t.value.add(10,"year")),n.value=n.value.add(10,"year")},o=()=>{t.value=t.value.add(10,"year")},r=()=>{n.value=n.value.subtract(10,"year")},i=k(()=>{const d=Math.floor(t.value.year()/10)*10;return`${d}-${d+9}`}),l=k(()=>{const d=Math.floor(n.value.year()/10)*10;return`${d}-${d+9}`}),c=k(()=>Math.floor(t.value.year()/10)*10+9),u=k(()=>Math.floor(n.value.year()/10)*10);return{leftPrevYear:s,rightNextYear:a,leftNextYear:o,rightPrevYear:r,leftLabel:i,rightLabel:l,leftYear:c,rightYear:u}},Xae=["disabled","onClick"],Jae=["disabled"],Zae=["disabled"],Qae=["disabled"],eoe=["disabled"],jf=10,Up="year";var toe=W({name:"DatePickerYearRange",__name:"panel-year-range",props:qae,emits:Gae,setup(e,{emit:t}){const n=e,s=t,{lang:a}=It(),o=F(vt().locale(a.value)),r=F(vt().locale(a.value).add(jf,Up)),i=je(Hp,void 0),l=je(gr),{shortcuts:c,disabledDate:u,cellClassName:d}=l.props,h=Jt(l.props,"format"),p=Jt(l.props,"defaultValue"),{minDate:v,maxDate:m,rangeState:g,ppNs:b,drpNs:_,handleChangeRange:w,handleRangeConfirm:C,handleShortcutClick:x,onSelect:E,parseValue:T}=X3(n,{defaultValue:p,leftDate:o,rightDate:r,step:jf,unit:Up,sortDates:fe}),{leftPrevYear:R,rightNextYear:I,leftNextYear:M,rightPrevYear:$,leftLabel:O,rightLabel:B,leftYear:U,rightYear:J}=Yae({unlinkPanels:Jt(n,"unlinkPanels"),leftDate:o,rightDate:r}),Y=In(),N=k(()=>!!c.length),L=k(()=>[b.b(),_.b(),b.is("border",n.border),b.is("disabled",Y.value),{"has-sidebar":!!zn().sidebar||N.value}]),V=k(()=>({content:[b.e("content"),_.e("content"),"is-left"],arrowLeftBtn:[b.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[b.e("icon-btn"),b.is("disabled",!G.value||Y.value),"d-arrow-right"]})),z=k(()=>({content:[b.e("content"),_.e("content"),"is-right"],arrowLeftBtn:[b.e("icon-btn"),b.is("disabled",!G.value||Y.value),"d-arrow-left"],arrowRightBtn:[b.e("icon-btn"),"d-arrow-right"]})),G=k(()=>n.unlinkPanels&&J.value>U.value+1),Q=(ne,pe=!0)=>{const he=ne.minDate,ce=ne.maxDate;m.value===ce&&v.value===he||(s("calendar-change",[he.toDate(),ce&&ce.toDate()]),m.value=ce,v.value=he,pe&&C())},K=ne=>Wf(ne,h.value,a.value,i),ee=ne=>Wp(ne)&&(u?!u(ne[0].toDate())&&!u(ne[1].toDate()):!0),ae=()=>{let ne=null;l!=null&&l.emptyValues&&(ne=l.emptyValues.valueOnClear.value);const pe=Xg(f(p),{lang:f(a),step:jf,unit:Up,unlinkPanels:n.unlinkPanels});o.value=pe[0],r.value=pe[1],s("pick",ne)};function fe(ne,pe){if(n.unlinkPanels&&pe){const he=(ne==null?void 0:ne.year())||0,ce=pe.year();r.value=he+jf>ce?pe.add(jf,Up):pe}else r.value=o.value.add(jf,Up)}return me(()=>n.visible,ne=>{!ne&&g.value.selecting&&(T(n.parsedValue),E(!1))}),s("set-picker-option",["isValidValue",ee]),s("set-picker-option",["parseUserInput",K]),s("set-picker-option",["handleClear",ae]),(ne,pe)=>(S(),P("div",{class:D(L.value)},[A("div",{class:D(f(b).e("body-wrapper"))},[ue(ne.$slots,"sidebar",{class:D(f(b).e("sidebar"))}),N.value?(S(),P("div",{key:0,class:D(f(b).e("sidebar"))},[(S(!0),P(He,null,yt(f(c),(he,ce)=>(S(),P("button",{key:ce,type:"button",class:D(f(b).e("shortcut")),disabled:f(Y),onClick:Z=>f(x)(he)},ve(he.text),11,Xae))),128))],2)):ie("v-if",!0),A("div",{class:D(f(b).e("body"))},[A("div",{class:D(V.value.content)},[A("div",{class:D(f(_).e("header"))},[A("button",{type:"button",class:D(V.value.arrowLeftBtn),disabled:f(Y),onClick:pe[0]||(pe[0]=(...he)=>f(R)&&f(R)(...he))},[ue(ne.$slots,"prev-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Yi))]),_:1})])],10,Jae),ne.unlinkPanels?(S(),P("button",{key:0,type:"button",disabled:!G.value||f(Y),class:D(V.value.arrowRightBtn),onClick:pe[1]||(pe[1]=(...he)=>f(M)&&f(M)(...he))},[ue(ne.$slots,"next-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Xi))]),_:1})])],10,Zae)):ie("v-if",!0),A("div",null,ve(f(O)),1)],2),j(Kp,{"selection-mode":"range",date:o.value,"min-date":f(v),"max-date":f(m),"range-state":f(g),"disabled-date":f(u),disabled:f(Y),"cell-class-name":f(d),onChangerange:f(w),onPick:Q,onSelect:f(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),A("div",{class:D(z.value.content)},[A("div",{class:D(f(_).e("header"))},[ne.unlinkPanels?(S(),P("button",{key:0,type:"button",disabled:!G.value||f(Y),class:D(z.value.arrowLeftBtn),onClick:pe[2]||(pe[2]=(...he)=>f($)&&f($)(...he))},[ue(ne.$slots,"prev-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Yi))]),_:1})])],10,Qae)):ie("v-if",!0),A("button",{type:"button",class:D(z.value.arrowRightBtn),disabled:f(Y),onClick:pe[3]||(pe[3]=(...he)=>f(I)&&f(I)(...he))},[ue(ne.$slots,"next-year",{},()=>[j(f(Je),null,{default:X(()=>[j(f(Xi))]),_:1})])],10,eoe),A("div",null,ve(f(B)),1)],2),j(Kp,{"selection-mode":"range",date:r.value,"min-date":f(v),"max-date":f(m),"range-state":f(g),"disabled-date":f(u),disabled:f(Y),"cell-class-name":f(d),onChangerange:f(w),onPick:Q,onSelect:f(E)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});const noe=function(e){switch(e){case"daterange":case"datetimerange":return Dae;case"monthrange":return Uae;case"yearrange":return toe;default:return wae}};function soe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}vt.extend(WE),vt.extend(Fse),vt.extend(F3),vt.extend(Vse),vt.extend(Hse),vt.extend(jse),vt.extend(Use),vt.extend(Gse);var aoe=W({name:"ElDatePickerPanel",install:null,inheritAttrs:!1,props:Yse,emits:[ct,"calendar-change","panel-change","visible-change","clear"],setup(e,{slots:t,emit:n,attrs:s}){const a=Ee("picker-panel"),o=je(gr,void 0);if($t(o)){const d=Wt({...ps(e)});Tt(gr,{props:d})}Tt(j3,{slots:t,pickerNs:a});const{parsedValue:r,onCalendarChange:i,onPanelChange:l,onSetPickerOption:c,onPick:u}=je(zk,()=>Hk(e,n),!0);return()=>{const d=noe(e.type);return j(d,wt(pp(s,"onPick"),e,{parsedValue:r.value,"onSet-picker-option":c,"onCalendar-change":i,"onPanel-change":l,onClear:()=>n("clear"),onPick:u}),soe(t)?t:{default:()=>[t]})}}});const nA=pt(aoe),ooe=Me({...z3,type:{type:re(String),default:"date"}});function roe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}var ioe=W({name:"ElDatePicker",install:null,props:ooe,emits:[ct],setup(e,{expose:t,emit:n,slots:s}){const a=k(()=>!e.format);Tt(Hp,a),Tt(B3,Wt(Jt(e,"popperOptions")));const o=F();t({focus:()=>{var l;(l=o.value)==null||l.focus()},blur:()=>{var l;(l=o.value)==null||l.blur()},handleOpen:()=>{var l;(l=o.value)==null||l.handleOpen()},handleClose:()=>{var l;(l=o.value)==null||l.handleClose()}});const i=l=>{n(ct,l)};return()=>{var l;const c=(l=e.format)!=null?l:_se[e.type]||uc;return j(jk,wt(e,{format:c,type:e.type,ref:o,"onUpdate:modelValue":i}),{default:u=>j(nA,wt({disabled:e.disabled,editable:e.editable,border:!1},u),roe(s)?s:{default:()=>[s]}),"range-separator":s["range-separator"]})}}});const loe=pt(ioe),coe=Me({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:rs,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number]}}),uoe=Me({row:{type:re(Array),default:()=>[]}}),J3=Symbol("elDescriptions");var qp=W({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:je(J3,{})}},render(){var e,t,n,s;const a=dJ(this.cell),o=(((e=this.cell)==null?void 0:e.dirs)||[]).map(C=>{const{dir:x,arg:E,modifiers:T,value:R}=C;return[x,R,E,T]}),{border:r,direction:i}=this.descriptions,l=i==="vertical",c=()=>{var C,x,E;return((E=(x=(C=this.cell)==null?void 0:C.children)==null?void 0:x.label)==null?void 0:E.call(x))||a.label},u=()=>{var C,x,E;return(E=(x=(C=this.cell)==null?void 0:C.children)==null?void 0:x.default)==null?void 0:E.call(x)},d=a.span,h=a.rowspan,p=a.align?`is-${a.align}`:"",v=a.labelAlign?`is-${a.labelAlign}`:p,m=a.className,g=a.labelClassName,b=this.type==="label"&&(n=(t=a.labelWidth)!=null?t:this.descriptions.labelWidth)!=null?n:a.width,_={width:Pn(b),minWidth:Pn(a.minWidth)},w=Ee("descriptions");switch(this.type){case"label":return gt(rt(this.tag,{style:_,class:[w.e("cell"),w.e("label"),w.is("bordered-label",r),w.is("vertical-label",l),v,g],colSpan:l?d:1,rowspan:l?1:h},c()),o);case"content":return gt(rt(this.tag,{style:_,class:[w.e("cell"),w.e("content"),w.is("bordered-content",r),w.is("vertical-content",l),p,m],colSpan:l?d:d*2-1,rowspan:l?h*2-1:h},u()),o);default:{const C=c(),x={},E=Pn((s=a.labelWidth)!=null?s:this.descriptions.labelWidth);return E&&(x.width=E,x.display="inline-block"),gt(rt("td",{style:_,class:[w.e("cell"),p],colSpan:d,rowspan:h},[qn(C)?void 0:rt("span",{style:x,class:[w.e("label"),g]},C),rt("span",{class:[w.e("content"),m]},u())]),o)}}}});const doe={key:1};var foe=W({name:"ElDescriptionsRow",__name:"descriptions-row",props:uoe,setup(e){const t=je(J3,{});return(n,s)=>f(t).direction==="vertical"?(S(),P(He,{key:0},[A("tr",null,[(S(!0),P(He,null,yt(e.row,(a,o)=>(S(),le(f(qp),{key:`tr1-${o}`,cell:a,tag:"th",type:"label"},null,8,["cell"]))),128))]),A("tr",null,[(S(!0),P(He,null,yt(e.row,(a,o)=>(S(),le(f(qp),{key:`tr2-${o}`,cell:a,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(S(),P("tr",doe,[(S(!0),P(He,null,yt(e.row,(a,o)=>(S(),P(He,{key:`tr3-${o}`},[f(t).border?(S(),P(He,{key:0},[j(f(qp),{cell:a,tag:"td",type:"label"},null,8,["cell"]),j(f(qp),{cell:a,tag:"td",type:"content"},null,8,["cell"])],64)):(S(),le(f(qp),{key:1,cell:a,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});const sA="ElDescriptionsItem";var hoe=W({name:"ElDescriptions",__name:"description",props:coe,setup(e){const t=e,n=Ee("descriptions"),s=ts(),a=zn();Tt(J3,t);const o=k(()=>[n.b(),n.m(s.value)]),r=(l,c,u,d=!1)=>(l.props||(l.props={}),c>u&&(l.props.span=u),d&&(l.props.span=c),l),i=()=>{if(!a.default)return[];const l=lo(a.default()).filter(v=>{var m;return((m=v==null?void 0:v.type)==null?void 0:m.name)===sA}),c=[];let u=[],d=t.column,h=0;const p=[];return l.forEach((v,m)=>{var g,b,_;const w=((g=v.props)==null?void 0:g.span)||1,C=((b=v.props)==null?void 0:b.rowspan)||1,x=c.length;if(p[x]||(p[x]=0),C>1)for(let E=1;E0&&(d-=p[x],p[x]=0),md?d:w),m===l.length-1){const E=t.column-h%t.column;u.push(r(v,E,d,!0)),c.push(u);return}w(S(),P("div",{class:D(o.value)},[e.title||e.extra||l.$slots.title||l.$slots.extra?(S(),P("div",{key:0,class:D(f(n).e("header"))},[A("div",{class:D(f(n).e("title"))},[ue(l.$slots,"title",{},()=>[Ue(ve(e.title),1)])],2),A("div",{class:D(f(n).e("extra"))},[ue(l.$slots,"extra",{},()=>[Ue(ve(e.extra),1)])],2)],2)):ie("v-if",!0),A("div",{class:D(f(n).e("body"))},[A("table",{class:D([f(n).e("table"),f(n).is("bordered",e.border)])},[A("tbody",null,[(S(!0),P(He,null,yt(i(),(u,d)=>(S(),le(foe,{key:d,row:u},null,8,["row"]))),128))])],2)],2)],2))}});const aA=["left","center","right"],poe=Me({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number]},align:{type:String,values:aA,default:"left"},labelAlign:{type:String,values:aA},className:{type:String,default:""},labelClassName:{type:String,default:""}}),oA=W({name:sA,props:poe}),voe=pt(hoe,{DescriptionsItem:oA}),moe=An(oA),rA=Me({center:Boolean,alignCenter:{type:Boolean,default:void 0},closeIcon:{type:en},draggable:{type:Boolean,default:void 0},overflow:{type:Boolean,default:void 0},fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),goe={close:()=>!0},iA=Me({...rA,appendToBody:Boolean,appendTo:{type:Cp.to.type,default:"body"},beforeClose:{type:re(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},modalPenetrable:Boolean,openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"},transition:{type:re([String,Object]),default:void 0}}),lA={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[ct]:e=>Qt(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},Z3=e=>{if(!e)return{onClick:qt,onMousedown:qt,onMouseup:qt};let t=!1,n=!1;return{onClick:r=>{t&&n&&e(r),t=n=!1},onMousedown:r=>{t=r.target===r.currentTarget},onMouseup:r=>{n=r.target===r.currentTarget}}},boe=Me({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:re([String,Array,Object])},zIndex:{type:re([String,Number])}}),yoe={click:e=>e instanceof MouseEvent},woe="overlay";var _oe=W({name:"ElOverlay",props:boe,emits:yoe,setup(e,{slots:t,emit:n}){const s=Ee(woe),a=l=>{n("click",l)},{onClick:o,onMousedown:r,onMouseup:i}=Z3(e.customMaskEvent?void 0:a);return()=>e.mask?j("div",{class:[s.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:o,onMousedown:r,onMouseup:i},[ue(t,"default")],Do.STYLE|Do.CLASS|Do.PROPS,["onClick","onMouseup","onMousedown"]):rt("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[ue(t,"default")])}});const Q3=_oe,cA=Symbol("dialogInjectionKey"),uA="dialog-fade",e6=(...e)=>t=>{e.forEach(n=>{n.value=t})},dA=(e,t,n,s)=>{const a={offsetX:0,offsetY:0},o=F(!1),r=(h,p)=>{if(e.value){const{offsetX:v,offsetY:m}=a,g=e.value.getBoundingClientRect(),b=g.left,_=g.top,w=g.width,C=g.height,x=document.documentElement.clientWidth,E=document.documentElement.clientHeight,T=-b+v,R=-_+m,I=x-b-w+v,M=E-_-(C{const p=h.clientX,v=h.clientY,{offsetX:m,offsetY:g}=a,b=w=>{o.value||(o.value=!0);const C=m+w.clientX-p,x=g+w.clientY-v;r(C,x)},_=()=>{o.value=!1,document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",_)};document.addEventListener("mousemove",b),document.addEventListener("mouseup",_)},l=()=>{t.value&&e.value&&(t.value.addEventListener("mousedown",i),window.addEventListener("resize",d))},c=()=>{t.value&&e.value&&(t.value.removeEventListener("mousedown",i),window.removeEventListener("resize",d))},u=()=>{a.offsetX=0,a.offsetY=0,e.value&&(e.value.style.transform="")},d=()=>{const{offsetX:h,offsetY:p}=a;r(h,p)};return St(()=>{Wa(()=>{n.value?l():c()})}),Gt(()=>{c()}),{isDragging:o,resetPosition:u,updatePosition:d}},Coe=["aria-level"],Soe=["aria-label"],xoe=["id"];var Eoe=W({name:"ElDialogContent",__name:"dialog-content",props:rA,emits:goe,setup(e,{expose:t}){const{t:n}=It(),{Close:s}=f9,a=e,{dialogRef:o,headerRef:r,bodyId:i,ns:l,style:c}=je(cA),{focusTrapRef:u}=je(iE),d=e6(u,o),h=k(()=>!!a.draggable),p=k(()=>!!a.overflow),{resetPosition:v,updatePosition:m,isDragging:g}=dA(o,r,h,p),b=k(()=>[l.b(),l.is("fullscreen",a.fullscreen),l.is("draggable",h.value),l.is("dragging",g.value),l.is("align-center",!!a.alignCenter),{[l.m("center")]:a.center}]);return t({resetPosition:v,updatePosition:m}),(_,w)=>(S(),P("div",{ref:f(d),class:D(b.value),style:tt(f(c)),tabindex:"-1"},[A("header",{ref_key:"headerRef",ref:r,class:D([f(l).e("header"),e.headerClass,{"show-close":e.showClose}])},[ue(_.$slots,"header",{},()=>[A("span",{role:"heading","aria-level":e.ariaLevel,class:D(f(l).e("title"))},ve(e.title),11,Coe)]),e.showClose?(S(),P("button",{key:0,"aria-label":f(n)("el.dialog.close"),class:D(f(l).e("headerbtn")),type:"button",onClick:w[0]||(w[0]=C=>_.$emit("close"))},[j(f(Je),{class:D(f(l).e("close"))},{default:X(()=>[(S(),le(bt(e.closeIcon||f(s))))]),_:1},8,["class"])],10,Soe)):ie("v-if",!0)],2),A("div",{id:f(i),class:D([f(l).e("body"),e.bodyClass])},[ue(_.$slots,"default")],10,xoe),_.$slots.footer?(S(),P("footer",{key:0,class:D([f(l).e("footer"),e.footerClass])},[ue(_.$slots,"footer")],2)):ie("v-if",!0)],6))}});const n1=(e,t={})=>{pn(e)||Xn("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||Ee("popup"),s=k(()=>n.bm("parent","hidden"));let a=0,o=!1,r="0",i=!1;const l=()=>{i||(i=!0,setTimeout(()=>{typeof document>"u"||o&&document&&(document.body.style.width=r,ra(document.body,s.value))},200))};me(e,c=>{if(!c){l();return}i=!1,o=!Zr(document.body,s.value),o&&(r=document.body.style.width,Lo(document.body,s.value)),a=Bx(n.namespace.value);const u=document.documentElement.clientHeight0&&(u||d==="scroll")&&o&&(document.body.style.width=`calc(100% - ${a}px)`)}),V_(()=>l())},fA=(e,t)=>{var n;const a=_t().emit,{nextZIndex:o}=yp();let r="";const i=$s(),l=$s(),c=F(!1),u=F(!1),d=F(!1),h=F((n=e.zIndex)!=null?n:o()),p=F(!1);let v,m;const g=Af(),b=k(()=>{var Q,K;return(K=(Q=g.value)==null?void 0:Q.namespace)!=null?K:vp}),_=k(()=>{var Q;return(Q=g.value)==null?void 0:Q.dialog}),w=k(()=>{const Q={},K=`--${b.value}-dialog`;if(!e.fullscreen){e.top&&(Q[`${K}-margin-top`]=e.top);const ee=Pn(e.width);ee&&(Q[`${K}-width`]=ee)}return Q}),C=k(()=>{var Q,K,ee;return((ee=(K=e.draggable)!=null?K:(Q=_.value)==null?void 0:Q.draggable)!=null?ee:!1)&&!e.fullscreen}),x=k(()=>{var Q,K,ee;return(ee=(K=e.alignCenter)!=null?K:(Q=_.value)==null?void 0:Q.alignCenter)!=null?ee:!1}),E=k(()=>{var Q,K,ee;return(ee=(K=e.overflow)!=null?K:(Q=_.value)==null?void 0:Q.overflow)!=null?ee:!1}),T=k(()=>x.value?{display:"flex"}:{}),R=k(()=>{var Q,K,ee;const ae=(ee=(K=e.transition)!=null?K:(Q=_.value)==null?void 0:Q.transition)!=null?ee:uA,fe={name:ae,onAfterEnter:I,onBeforeLeave:$,onAfterLeave:M};if(ht(ae)){const ne={...ae},pe=(he,ce)=>Z=>{ke(he)?he.forEach(H=>{et(H)&&H(Z)}):et(he)&&he(Z),ce()};return ne.onAfterEnter=pe(ne.onAfterEnter,I),ne.onBeforeLeave=pe(ne.onBeforeLeave,$),ne.onAfterLeave=pe(ne.onAfterLeave,M),ne.name||(ne.name=uA),ne}return fe});function I(){a("opened")}function M(){a("closed"),a(ct,!1),e.destroyOnClose&&(d.value=!1),p.value=!1}function $(){p.value=!0,a("close")}function O(){m==null||m(),v==null||v(),e.openDelay&&e.openDelay>0?{stop:v}=Ef(()=>Y(),e.openDelay):Y()}function B(){v==null||v(),m==null||m(),e.closeDelay&&e.closeDelay>0?{stop:m}=Ef(()=>N(),e.closeDelay):N()}function U(){function Q(K){K||(u.value=!0,c.value=!1)}e.beforeClose?e.beforeClose(Q):B()}function J(){e.closeOnClickModal&&U()}function Y(){jt&&(c.value=!0)}function N(){c.value=!1}function L(){a("openAutoFocus")}function V(){a("closeAutoFocus")}function z(Q){var K;((K=Q.detail)==null?void 0:K.focusReason)==="pointer"&&Q.preventDefault()}e.lockScroll&&n1(c);function G(){e.closeOnPressEscape&&U()}return me(()=>e.zIndex,()=>{var Q;h.value=(Q=e.zIndex)!=null?Q:o()}),me(()=>e.modelValue,Q=>{var K;Q?(u.value=!1,p.value=!1,O(),d.value=!0,h.value=(K=e.zIndex)!=null?K:o(),ze(()=>{a("open"),t.value&&(t.value.parentElement.scrollTop=0,t.value.parentElement.scrollLeft=0,t.value.scrollTop=0)})):c.value&&B()}),me(()=>e.fullscreen,Q=>{t.value&&(Q?(r=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=r)}),St(()=>{e.modelValue&&(c.value=!0,d.value=!0,O())}),{afterEnter:I,afterLeave:M,beforeLeave:$,handleClose:U,onModalClick:J,close:B,doClose:N,onOpenAutoFocus:L,onCloseAutoFocus:V,onCloseRequested:G,onFocusoutPrevented:z,titleId:i,bodyId:l,closed:u,style:w,overlayDialogStyle:T,rendered:d,visible:c,zIndex:h,transitionConfig:R,_draggable:C,_alignCenter:x,_overflow:E,closing:p}},koe=["aria-label","aria-labelledby","aria-describedby"];var Aoe=W({name:"ElDialog",inheritAttrs:!1,__name:"dialog",props:iA,emits:lA,setup(e,{expose:t}){const n=e,s=zn();ai({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},k(()=>!!s.title));const a=Ee("dialog"),o=F(),r=F(),i=F(),{visible:l,titleId:c,bodyId:u,style:d,overlayDialogStyle:h,rendered:p,transitionConfig:v,zIndex:m,_draggable:g,_alignCenter:b,_overflow:_,handleClose:w,onModalClick:C,onOpenAutoFocus:x,onCloseAutoFocus:E,onCloseRequested:T,onFocusoutPrevented:R,closing:I}=fA(n,o);Tt(cA,{dialogRef:o,headerRef:r,bodyId:u,ns:a,rendered:p,style:d});const M=Z3(C),$=k(()=>n.modalPenetrable&&!n.modal&&!n.fullscreen);return t({visible:l,dialogContentRef:i,resetPosition:()=>{var B;(B=i.value)==null||B.resetPosition()},handleClose:w}),(B,U)=>(S(),le(f(Tf),{to:e.appendTo,disabled:e.appendTo!=="body"?!1:!e.appendToBody},{default:X(()=>[j(vs,wt(f(v),{persisted:""}),{default:X(()=>{var J;return[gt(j(f(Q3),{"custom-mask-event":"",mask:e.modal,"overlay-class":[(J=e.modalClass)!=null?J:"",`${f(a).namespace.value}-modal-dialog`,f(a).is("penetrable",$.value)],"z-index":f(m)},{default:X(()=>[A("div",{role:"dialog","aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:f(c),"aria-describedby":f(u),class:D([`${f(a).namespace.value}-overlay-dialog`,f(a).is("closing",f(I))]),style:tt(f(h)),onClick:U[0]||(U[0]=(...Y)=>f(M).onClick&&f(M).onClick(...Y)),onMousedown:U[1]||(U[1]=(...Y)=>f(M).onMousedown&&f(M).onMousedown(...Y)),onMouseup:U[2]||(U[2]=(...Y)=>f(M).onMouseup&&f(M).onMouseup(...Y))},[j(f(Df),{loop:"",trapped:f(l),"focus-start-el":"container",onFocusAfterTrapped:f(x),onFocusAfterReleased:f(E),onFocusoutPrevented:f(R),onReleaseRequested:f(T)},{default:X(()=>[f(p)?(S(),le(Eoe,wt({key:0,ref_key:"dialogContentRef",ref:i},B.$attrs,{center:e.center,"align-center":f(b),"close-icon":e.closeIcon,draggable:f(g),overflow:f(_),fullscreen:e.fullscreen,"header-class":e.headerClass,"body-class":e.bodyClass,"footer-class":e.footerClass,"show-close":e.showClose,title:e.title,"aria-level":e.headerAriaLevel,onClose:f(w)}),ka({header:X(()=>[B.$slots.title?ue(B.$slots,"title",{key:1}):ue(B.$slots,"header",{key:0,close:f(w),titleId:f(c),titleClass:f(a).e("title")})]),default:X(()=>[ue(B.$slots,"default")]),_:2},[B.$slots.footer?{name:"footer",fn:X(()=>[ue(B.$slots,"footer")]),key:"0"}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose"])):ie("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,koe)]),_:3},8,["mask","overlay-class","z-index"]),[[Bt,f(l)]])]}),_:3},16)]),_:3},8,["to","disabled"]))}});const Toe=pt(Aoe),Moe=Me({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:re(String),default:"solid"}});var Poe=W({name:"ElDivider",__name:"divider",props:Moe,setup(e){const t=e,n=Ee("divider"),s=k(()=>n.cssVar({"border-style":t.borderStyle}));return(a,o)=>(S(),P("div",{class:D([f(n).b(),f(n).m(e.direction)]),style:tt(s.value),role:"separator"},[a.$slots.default&&e.direction!=="vertical"?(S(),P("div",{key:0,class:D([f(n).e("text"),f(n).is(e.contentPosition)])},[ue(a.$slots,"default")],2)):ie("v-if",!0)],6))}});const hA=pt(Poe),Roe=Me({...iA,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},resizable:Boolean,size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),Ioe={...lA,"resize-start":(e,t)=>e instanceof MouseEvent&&typeof t=="number",resize:(e,t)=>e instanceof MouseEvent&&typeof t=="number","resize-end":(e,t)=>e instanceof MouseEvent&&typeof t=="number"};function Ooe(e,t,n){const{width:s,height:a}=Ry(),o=k(()=>["ltr","rtl"].includes(e.direction)),r=k(()=>["ltr","ttb"].includes(e.direction)?1:-1),i=k(()=>o.value?s.value:a.value),l=k(()=>wx(c.value+r.value*u.value,4,i.value)),c=F(0),u=F(0),d=F(!1),h=F(!1);let p=[],v=[];const m=()=>{var C;const x=(C=t.value)==null?void 0:C.closest('[aria-modal="true"]');return x?o.value?x.offsetWidth:x.offsetHeight:100};me(()=>[e.size,e.resizable],()=>{h.value=!1,c.value=0,u.value=0,_()});const g=C=>{e.resizable&&(h.value||(c.value=m(),h.value=!0),p=[C.pageX,C.pageY],d.value=!0,n("resize-start",C,c.value),v.push(Zt(window,"mouseup",_),Zt(window,"mousemove",b)))},b=C=>{const{pageX:x,pageY:E}=C,T=x-p[0],R=E-p[1];u.value=o.value?T:R,n("resize",C,l.value)},_=C=>{d.value&&(p=[],c.value=l.value,u.value=0,d.value=!1,v.forEach(x=>x==null?void 0:x()),v=[],C&&n("resize-end",C,c.value))},w=Zt(t,"mousedown",g);return Gt(()=>{w(),_()}),{size:k(()=>h.value?`${l.value}px`:Pn(e.size)),isResizing:d,isHorizontal:o}}const Loe=["aria-label","aria-labelledby","aria-describedby"],Noe=["id","aria-level"],$oe=["aria-label"],Doe=["id"];var Foe=W({name:"ElDrawer",inheritAttrs:!1,__name:"drawer",props:Roe,emits:Ioe,setup(e,{expose:t,emit:n}){const s=e,a=n,o=zn();ai({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},k(()=>!!o.title));const r=F(),i=F(),l=F(),c=Ee("drawer"),{t:u}=It(),{afterEnter:d,afterLeave:h,beforeLeave:p,visible:v,rendered:m,titleId:g,bodyId:b,zIndex:_,onModalClick:w,onOpenAutoFocus:C,onCloseAutoFocus:x,onFocusoutPrevented:E,onCloseRequested:T,handleClose:R}=fA(s,r),{isHorizontal:I,size:M,isResizing:$}=Ooe(s,l,a),O=k(()=>s.modalPenetrable&&!s.modal);return t({handleClose:R,afterEnter:d,afterLeave:h}),(B,U)=>(S(),le(f(Tf),{to:e.appendTo,disabled:e.appendTo!=="body"?!1:!e.appendToBody},{default:X(()=>[j(vs,{name:f(c).b("fade"),onAfterEnter:f(d),onAfterLeave:f(h),onBeforeLeave:f(p),persisted:""},{default:X(()=>{var J;return[gt(j(f(Q3),{mask:e.modal,"overlay-class":[f(c).is("drawer"),(J=e.modalClass)!=null?J:"",`${f(c).namespace.value}-modal-drawer`,f(c).is("penetrable",O.value)],"z-index":f(_),onClick:f(w)},{default:X(()=>[j(f(Df),{loop:"",trapped:f(v),"focus-trap-el":r.value,"focus-start-el":i.value,onFocusAfterTrapped:f(C),onFocusAfterReleased:f(x),onFocusoutPrevented:f(E),onReleaseRequested:f(T)},{default:X(()=>[A("div",wt({ref_key:"drawerRef",ref:r,"aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:f(g),"aria-describedby":f(b)},B.$attrs,{class:[f(c).b(),e.direction,f(v)&&"open",f(c).is("dragging",f($))],style:{[f(I)?"width":"height"]:f(M)},role:"dialog",onClick:U[1]||(U[1]=lt(()=>{},["stop"]))}),[A("span",{ref_key:"focusStartRef",ref:i,class:D(f(c).e("sr-focus")),tabindex:"-1"},null,2),e.withHeader?(S(),P("header",{key:0,class:D([f(c).e("header"),e.headerClass])},[B.$slots.title?ue(B.$slots,"title",{key:1},()=>[ie(" DEPRECATED SLOT ")]):ue(B.$slots,"header",{key:0,close:f(R),titleId:f(g),titleClass:f(c).e("title")},()=>[A("span",{id:f(g),role:"heading","aria-level":e.headerAriaLevel,class:D(f(c).e("title"))},ve(e.title),11,Noe)]),e.showClose?(S(),P("button",{key:2,"aria-label":f(u)("el.drawer.close"),class:D(f(c).e("close-btn")),type:"button",onClick:U[0]||(U[0]=(...Y)=>f(R)&&f(R)(...Y))},[j(f(Je),{class:D(f(c).e("close"))},{default:X(()=>[j(f(Ua))]),_:1},8,["class"])],10,$oe)):ie("v-if",!0)],2)):ie("v-if",!0),f(m)?(S(),P("div",{key:1,id:f(b),class:D([f(c).e("body"),e.bodyClass])},[ue(B.$slots,"default")],10,Doe)):ie("v-if",!0),B.$slots.footer?(S(),P("div",{key:2,class:D([f(c).e("footer"),e.footerClass])},[ue(B.$slots,"footer")],2)):ie("v-if",!0),e.resizable?(S(),P("div",{key:3,ref_key:"draggerRef",ref:l,style:tt({zIndex:f(_)}),class:D(f(c).e("dragger"))},null,6)):ie("v-if",!0)],16,Loe)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[Bt,f(v)]])]}),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}});const Boe=pt(Foe);var Voe=W({inheritAttrs:!1});function zoe(e,t,n,s,a,o){return ue(e.$slots,"default")}var Hoe=is(Voe,[["render",zoe]]),Woe=W({name:"ElCollectionItem",inheritAttrs:!1});function joe(e,t,n,s,a,o){return ue(e.$slots,"default")}var Koe=is(Woe,[["render",joe]]);const pA="data-el-collection-item",Uoe=e=>{const t=`El${e}Collection`,n=`${t}Item`,s=Symbol(t),a=Symbol(n),o=Object.assign({},Hoe,{name:t,setup(){const i=F(),l=new Map;Tt(s,{itemMap:l,getItems:()=>{const u=f(i);if(!u)return[];const d=Array.from(u.querySelectorAll(`[${pA}]`));return[...l.values()].sort((p,v)=>d.indexOf(p.ref)-d.indexOf(v.ref))},collectionRef:i})}}),r=Object.assign({},Koe,{name:n,setup(i,{attrs:l}){const c=F(),u=je(s,void 0);Tt(a,{collectionItemRef:c}),St(()=>{const d=f(c);d&&u.itemMap.set(d,{ref:d,...l})}),Gt(()=>{const d=f(c);u.itemMap.delete(d)})}});return{COLLECTION_INJECTION_KEY:s,COLLECTION_ITEM_INJECTION_KEY:a,ElCollection:o,ElCollectionItem:r}},qoe=Me({style:{type:re([String,Array,Object])},currentTabId:{type:re(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:re(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:Goe,ElCollectionItem:Yoe,COLLECTION_INJECTION_KEY:vA,COLLECTION_ITEM_INJECTION_KEY:Xoe}=Uoe("RovingFocusGroup"),t6=Symbol("elRovingFocusGroup"),mA=Symbol("elRovingFocusGroupItem"),Joe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},Zoe=(e,t)=>e,Qoe=(e,t,n)=>{const s=an(e),a=Zoe(s);return Joe[a]},ere=(e,t)=>e.map((n,s)=>e[(s+t)%e.length]),gA=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},bA="currentTabIdChange",yA="rovingFocusGroup.entryFocus",tre={bubbles:!1,cancelable:!0};var nre=W({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:qoe,emits:[bA,"entryFocus"],setup(e,{emit:t}){var n;const s=F((n=e.currentTabId||e.defaultCurrentTabId)!=null?n:null),a=F(!1),o=F(!1),r=F(),{getItems:i}=je(vA,void 0),l=k(()=>[{outline:"none"},e.style]),c=g=>{t(bA,g)},u=()=>{a.value=!0},d=ms(g=>{var b;(b=e.onMousedown)==null||b.call(e,g)},()=>{o.value=!0}),h=ms(g=>{var b;(b=e.onFocus)==null||b.call(e,g)},g=>{const b=!f(o),{target:_,currentTarget:w}=g;if(_===w&&b&&!f(a)){const C=new Event(yA,tre);if(w==null||w.dispatchEvent(C),!C.defaultPrevented){const x=i().filter(M=>M.focusable),E=x.find(M=>M.active),T=x.find(M=>M.id===f(s)),I=[E,T,...x].filter(Boolean).map(M=>M.ref);gA(I)}}o.value=!1}),p=ms(g=>{var b;(b=e.onBlur)==null||b.call(e,g)},()=>{a.value=!1}),v=(...g)=>{t("entryFocus",...g)},m=g=>{const b=Qoe(g);if(b){g.preventDefault();let w=i().filter(C=>C.focusable).map(C=>C.ref);switch(b){case"last":{w.reverse();break}case"prev":case"next":{b==="prev"&&w.reverse();const C=w.indexOf(g.currentTarget);w=e.loop?ere(w,C+1):w.slice(C+1);break}}ze(()=>{gA(w)})}};Tt(t6,{currentTabbedId:au(s),loop:Jt(e,"loop"),tabIndex:k(()=>f(a)?-1:0),rovingFocusGroupRef:r,rovingFocusGroupRootStyle:l,orientation:Jt(e,"orientation"),dir:Jt(e,"dir"),onItemFocus:c,onItemShiftTab:u,onBlur:p,onFocus:h,onMousedown:d,onKeydown:m}),me(()=>e.currentTabId,g=>{s.value=g??null}),Zt(r,yA,v)}});function sre(e,t,n,s,a,o){return ue(e.$slots,"default")}var are=is(nre,[["render",sre]]),ore=W({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:Goe,ElRovingFocusGroupImpl:are}});function rre(e,t,n,s,a,o){const r=Ge("el-roving-focus-group-impl"),i=Ge("el-focus-group-collection");return S(),le(i,null,{default:X(()=>[j(r,Oi(Vi(e.$attrs)),{default:X(()=>[ue(e.$slots,"default")]),_:3},16)]),_:3})}var ire=is(ore,[["render",rre]]);const s1=Me({trigger:{...si.trigger,type:re([String,Array])},triggerKeys:{type:re(Array),default:()=>[Te.enter,Te.numpadEnter,Te.space,Te.down]},virtualTriggering:si.virtualTriggering,virtualRef:si.virtualRef,effect:{...tn.effect,default:"light"},type:{type:re(String)},placement:{type:re(String),default:"bottom"},popperOptions:{type:re(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:re([Number,String]),default:0},maxHeight:{type:re([Number,String]),default:""},popperClass:tn.popperClass,popperStyle:tn.popperStyle,disabled:Boolean,role:{type:String,values:J9,default:"menu"},buttonProps:{type:re(Object)},teleported:tn.teleported,appendTo:tn.appendTo,persistent:{type:Boolean,default:!0}}),wA=Me({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:en}}),lre=Me({onKeydown:{type:re(Function)}}),a1=Symbol("elDropdown"),_A="elDropdown",{ButtonGroup:cre}=gs;var ure=W({name:"ElDropdown",components:{ElButton:gs,ElButtonGroup:cre,ElScrollbar:pr,ElTooltip:Ss,ElRovingFocusGroup:ire,ElOnlyChild:tE,ElIcon:Je,ArrowDown:hr},props:s1,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=_t(),s=Ee("dropdown"),{t:a}=It(),o=F(),r=F(),i=F(),l=F(),c=F(null),u=F(null),d=F(!1),h=k(()=>({maxHeight:Pn(e.maxHeight)})),p=k(()=>[s.m(C.value)]),v=k(()=>_s(e.trigger)),m=$s().value,g=k(()=>e.id||m);function b(){var B;(B=i.value)==null||B.onClose(void 0,0)}function _(){var B;(B=i.value)==null||B.onClose()}function w(){var B;(B=i.value)==null||B.onOpen()}const C=ts();function x(...B){t("command",...B)}function E(){}function T(){const B=f(l);v.value.includes("hover")&&(B==null||B.focus({preventScroll:!0})),u.value=null}function R(B){u.value=B}function I(){t("visible-change",!0)}function M(B){var U;d.value=(B==null?void 0:B.type)==="keydown",(U=l.value)==null||U.focus()}function $(){t("visible-change",!1)}return Tt(a1,{contentRef:l,role:k(()=>e.role),triggerId:g,isUsingKeyboard:d,onItemEnter:E,onItemLeave:T,handleClose:_}),Tt(_A,{instance:n,dropdownSize:C,handleClick:b,commandHandler:x,trigger:Jt(e,"trigger"),hideOnClick:Jt(e,"hideOnClick")}),{t:a,ns:s,scrollbar:c,wrapStyle:h,dropdownTriggerKls:p,dropdownSize:C,triggerId:g,currentTabId:u,handleCurrentTabIdChange:R,handlerMainButtonClick:B=>{t("click",B)},handleClose:_,handleOpen:w,handleBeforeShowTooltip:I,handleShowTooltip:M,handleBeforeHideTooltip:$,popperRef:i,contentRef:l,triggeringElementRef:o,referenceElementRef:r}}});function dre(e,t,n,s,a,o){var r;const i=Ge("el-roving-focus-group"),l=Ge("el-scrollbar"),c=Ge("el-only-child"),u=Ge("el-tooltip"),d=Ge("el-button"),h=Ge("arrow-down"),p=Ge("el-icon"),v=Ge("el-button-group");return S(),P("div",{class:D([e.ns.b(),e.ns.is("disabled",e.disabled)])},[j(u,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"popper-style":e.popperStyle,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-arrow":e.showArrow,"show-after":e.trigger==="hover"?e.showTimeout:0,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"virtual-ref":(r=e.virtualRef)!=null?r:e.triggeringElementRef,"virtual-triggering":e.virtualTriggering||e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,"append-to":e.appendTo,pure:"","focus-on-target":"",persistent:e.persistent,onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},ka({content:X(()=>[j(l,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:X(()=>[j(i,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange},{default:X(()=>[ue(e.$slots,"dropdown")]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:X(()=>[j(c,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:X(()=>[ue(e.$slots,"default")]),_:3},8,["id","tabindex"])]),key:"0"}]),1032,["role","effect","popper-options","placement","popper-class","popper-style","trigger","trigger-keys","trigger-target-el","show-arrow","show-after","hide-after","virtual-ref","virtual-triggering","disabled","transition","teleported","append-to","persistent","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(S(),le(v,{key:0},{default:X(()=>[j(d,wt({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:X(()=>[ue(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),j(d,wt({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:X(()=>[j(p,{class:D(e.ns.e("icon"))},{default:X(()=>[j(h)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):ie("v-if",!0)],2)}var fre=is(ure,[["render",dre]]),hre=W({components:{ElRovingFocusCollectionItem:Yoe},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,onItemFocus:s,onItemShiftTab:a,onKeydown:o}=je(t6,void 0),r=$s(),i=F(),l=ms(h=>{t("mousedown",h)},h=>{e.focusable?s(f(r)):h.preventDefault()}),c=ms(h=>{t("focus",h)},()=>{s(f(r))}),u=ms(h=>{t("keydown",h)},h=>{const{shiftKey:p,target:v,currentTarget:m}=h;if(an(h)===Te.tab&&p){a();return}v===m&&o(h)}),d=k(()=>n.value===f(r));return Tt(mA,{rovingFocusGroupItemRef:i,tabIndex:k(()=>f(d)?0:-1),handleMousedown:l,handleFocus:c,handleKeydown:u}),{id:r,handleKeydown:u,handleFocus:c,handleMousedown:l}}});function pre(e,t,n,s,a,o){const r=Ge("el-roving-focus-collection-item");return S(),le(r,{id:e.id,focusable:e.focusable,active:e.active},{default:X(()=>[ue(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var vre=is(hre,[["render",pre]]),mre=W({name:"DropdownItemImpl",components:{ElIcon:Je},props:wA,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=Ee("dropdown"),{role:s}=je(a1,void 0),{collectionItemRef:a}=je(Xoe,void 0),{rovingFocusGroupItemRef:o,tabIndex:r,handleFocus:i,handleKeydown:l,handleMousedown:c}=je(mA,void 0),u=e6(a,o),d=k(()=>s.value==="menu"?"menuitem":s.value==="navigation"?"link":"button"),h=ms(p=>{const v=an(p);if([Te.enter,Te.numpadEnter,Te.space].includes(v))return p.preventDefault(),p.stopImmediatePropagation(),t("clickimpl",p),!0},l);return{ns:n,itemRef:u,dataset:{[pA]:""},role:d,tabIndex:r,handleFocus:i,handleKeydown:h,handleMousedown:c}}});const gre=["aria-disabled","tabindex","role"];function bre(e,t,n,s,a,o){const r=Ge("el-icon");return S(),P(He,null,[e.divided?(S(),P("li",{key:0,role:"separator",class:D(e.ns.bem("menu","item","divided"))},null,2)):ie("v-if",!0),A("li",wt({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:t[0]||(t[0]=i=>e.$emit("clickimpl",i)),onFocus:t[1]||(t[1]=(...i)=>e.handleFocus&&e.handleFocus(...i)),onKeydown:t[2]||(t[2]=lt((...i)=>e.handleKeydown&&e.handleKeydown(...i),["self"])),onMousedown:t[3]||(t[3]=(...i)=>e.handleMousedown&&e.handleMousedown(...i)),onPointermove:t[4]||(t[4]=i=>e.$emit("pointermove",i)),onPointerleave:t[5]||(t[5]=i=>e.$emit("pointerleave",i))}),[e.icon||e.$slots.icon?(S(),le(r,{key:0},{default:X(()=>[ue(e.$slots,"icon",{},()=>[(S(),le(bt(e.icon)))])]),_:3})):ie("v-if",!0),ue(e.$slots,"default")],16,gre)],64)}var yre=is(mre,[["render",bre]]);const CA=()=>{const e=je(_A,{}),t=k(()=>e==null?void 0:e.dropdownSize);return{elDropdown:e,_elDropdownSize:t}};var wre=W({name:"ElDropdownItem",components:{ElRovingFocusItem:vre,ElDropdownItemImpl:yre},inheritAttrs:!1,props:wA,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:s}=CA(),a=_t(),{onItemEnter:o,onItemLeave:r}=je(a1,void 0),i=ms(d=>(t("pointermove",d),d.defaultPrevented),hE(d=>{if(e.disabled){r(d);return}const h=d.currentTarget;h===document.activeElement||h.contains(document.activeElement)||(o(d),d.defaultPrevented||h==null||h.focus({preventScroll:!0}))})),l=ms(d=>(t("pointerleave",d),d.defaultPrevented),hE(r)),c=ms(d=>{if(!e.disabled)return t("click",d),d.type!=="keydown"&&d.defaultPrevented},d=>{var h,p,v;if(e.disabled){d.stopImmediatePropagation();return}(h=s==null?void 0:s.hideOnClick)!=null&&h.value&&((p=s.handleClick)==null||p.call(s)),(v=s.commandHandler)==null||v.call(s,e.command,a,d)}),u=k(()=>({...e,...n}));return{handleClick:c,handlePointerMove:i,handlePointerLeave:l,propsAndAttrs:u}}});function _re(e,t,n,s,a,o){const r=Ge("el-dropdown-item-impl"),i=Ge("el-roving-focus-item");return S(),le(i,{focusable:!e.disabled},{default:X(()=>[j(r,wt(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),ka({default:X(()=>[ue(e.$slots,"default")]),_:2},[e.$slots.icon?{name:"icon",fn:X(()=>[ue(e.$slots,"icon")]),key:"0"}:void 0]),1040,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])}var SA=is(wre,[["render",_re]]),Cre=W({name:"ElDropdownMenu",props:lre,setup(e){const t=Ee("dropdown"),{_elDropdownSize:n}=CA(),s=n.value,{contentRef:a,role:o,triggerId:r,isUsingKeyboard:i,handleClose:l}=je(a1,void 0),{rovingFocusGroupRef:c,rovingFocusGroupRootStyle:u,onBlur:d,onFocus:h,onKeydown:p,onMousedown:v}=je(t6,void 0),{collectionRef:m}=je(vA,void 0),g=k(()=>[t.b("menu"),t.bm("menu",s==null?void 0:s.value)]),b=e6(a,c,m),_=ms(C=>{var x;(x=e.onKeydown)==null||x.call(e,C)},C=>{const{currentTarget:x,target:E}=C,T=an(C);if(x.contains(E),Te.tab===T)return l();p(C)});function w(C){i.value&&h(C)}return{size:s,rovingFocusGroupRootStyle:u,dropdownKls:g,role:o,triggerId:r,dropdownListWrapperRef:b,handleKeydown:_,onBlur:d,handleFocus:w,onMousedown:v}}});const Sre=["role","aria-labelledby"];function xre(e,t,n,s,a,o){return S(),P("ul",{ref:e.dropdownListWrapperRef,class:D(e.dropdownKls),style:tt(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onFocusin:t[0]||(t[0]=(...r)=>e.handleFocus&&e.handleFocus(...r)),onFocusout:t[1]||(t[1]=(...r)=>e.onBlur&&e.onBlur(...r)),onKeydown:t[2]||(t[2]=lt((...r)=>e.handleKeydown&&e.handleKeydown(...r),["self"])),onMousedown:t[3]||(t[3]=lt((...r)=>e.onMousedown&&e.onMousedown(...r),["self"]))},[ue(e.$slots,"default")],46,Sre)}var xA=is(Cre,[["render",xre]]);const Ere=pt(fre,{DropdownItem:SA,DropdownMenu:xA}),kre=An(SA),Are=An(xA),Tre=Me({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),Mre={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},Pre=["id"],Rre=["stop-color"],Ire=["stop-color"],Ore=["id"],Lre=["stop-color"],Nre=["stop-color"],$re=["id"],Dre={stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},Fre={transform:"translate(-1268.000000, -535.000000)"},Bre={transform:"translate(1268.000000, 535.000000)"},Vre=["fill"],zre=["fill"],Hre={transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},Wre=["fill"],jre=["fill"],Kre=["fill"],Ure=["fill"],qre=["fill"],Gre={transform:"translate(53.000000, 45.000000)"},Yre=["fill","xlink:href"],Xre=["fill","mask"],Jre=["fill"];var Zre=W({name:"ImgEmpty",__name:"img-empty",setup(e){const t=Ee("empty"),n=$s();return(s,a)=>(S(),P("svg",Mre,[A("defs",null,[A("linearGradient",{id:`linearGradient-1-${f(n)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[A("stop",{"stop-color":`var(${f(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,Rre),A("stop",{"stop-color":`var(${f(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,Ire)],8,Pre),A("linearGradient",{id:`linearGradient-2-${f(n)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[A("stop",{"stop-color":`var(${f(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,Lre),A("stop",{"stop-color":`var(${f(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,Nre)],8,Ore),A("rect",{id:`path-3-${f(n)}`,x:"0",y:"0",width:"17",height:"36"},null,8,$re)]),A("g",Dre,[A("g",Fre,[A("g",Bre,[A("path",{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(${f(t).cssVarBlockName("fill-color-3")})`},null,8,Vre),A("polygon",{fill:`var(${f(t).cssVarBlockName("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,8,zre),A("g",Hre,[A("polygon",{fill:`var(${f(t).cssVarBlockName("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,8,Wre),A("polygon",{fill:`var(${f(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,jre),A("rect",{fill:`url(#linearGradient-1-${f(n)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,Kre),A("polygon",{fill:`var(${f(t).cssVarBlockName("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,8,Ure)]),A("rect",{fill:`url(#linearGradient-2-${f(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,qre),A("g",Gre,[A("use",{fill:`var(${f(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${f(n)}`},null,8,Yre),A("polygon",{fill:`var(${f(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${f(n)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,Xre)]),A("polygon",{fill:`var(${f(t).cssVarBlockName("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,8,Jre)])])])]))}});const Qre=["src"],eie={key:1};var tie=W({name:"ElEmpty",__name:"empty",props:Tre,setup(e){const t=e,{t:n}=It(),s=Ee("empty"),a=k(()=>t.description||n("el.table.emptyText")),o=k(()=>({width:Pn(t.imageSize)}));return(r,i)=>(S(),P("div",{class:D(f(s).b())},[A("div",{class:D(f(s).e("image")),style:tt(o.value)},[e.image?(S(),P("img",{key:0,src:e.image,ondragstart:"return false"},null,8,Qre)):ue(r.$slots,"image",{key:1},()=>[j(Zre)])],6),A("div",{class:D(f(s).e("description"))},[r.$slots.description?ue(r.$slots,"description",{key:0}):(S(),P("p",eie,ve(a.value),1))],2),r.$slots.default?(S(),P("div",{key:0,class:D(f(s).e("bottom"))},[ue(r.$slots,"default")],2)):ie("v-if",!0)],2))}});const EA=pt(tie),nie=Me({size:{type:String,values:fr},disabled:Boolean}),sie=Me({...nie,model:Object,rules:{type:re(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:re([Object,Boolean]),default:!0}}),aie={validate:(e,t,n)=>(ke(e)||Xe(e))&&Qt(t)&&Xe(n)};function oie(){const e=F([]),t=k(()=>{if(!e.value.length)return"0";const o=Math.max(...e.value);return o?`${o}px`:""});function n(o){const r=e.value.indexOf(o);return r===-1&&t.value,r}function s(o,r){if(o&&r){const i=n(r);e.value.splice(i,1,o)}else o&&e.value.push(o)}function a(o){const r=n(o);r>-1&&e.value.splice(r,1)}return{autoLabelWidth:t,registerLabelWidth:s,deregisterLabelWidth:a}}const o1=(e,t)=>{const n=_s(t).map(s=>ke(s)?s.join("."):s);return n.length>0?e.filter(s=>s.propString&&n.includes(s.propString)):e};var rie=W({name:"ElForm",__name:"form",props:sie,emits:aie,setup(e,{expose:t,emit:n}){const s=e,a=n,o=F(),r=Wt([]),i=ts(),l=Ee("form"),c=k(()=>{const{labelPosition:E,inline:T}=s;return[l.b(),l.m(i.value||"default"),{[l.m(`label-${E}`)]:E,[l.m("inline")]:T}]}),u=E=>o1(r,[E])[0],d=E=>{r.push(E)},h=E=>{E.prop&&r.splice(r.indexOf(E),1)},p=E=>{s.model&&E&&r.forEach(T=>{if(T.prop&&iV(E,T.prop)){const R=kf(E,T.prop).value;T.setInitialValue(R)}})},v=(E=[])=>{s.model&&o1(r,E).forEach(T=>T.resetField())},m=(E=[])=>{o1(r,E).forEach(T=>T.clearValidate())},g=k(()=>!!s.model),b=E=>{if(r.length===0)return[];const T=o1(r,E);return T.length?T:[]},_=async E=>C(void 0,E),w=async(E=[])=>{if(!g.value)return!1;const T=b(E);if(T.length===0)return!0;let R={};for(const I of T)try{await I.validate(""),I.validateState==="error"&&!I.error&&I.resetField()}catch(M){R={...R,...M}}return Object.keys(R).length===0?!0:Promise.reject(R)},C=async(E=[],T)=>{let R=!1;const I=!et(T);try{return R=await w(E),R===!0&&await(T==null?void 0:T(R)),R}catch(M){if(M instanceof Error)throw M;const $=M;if(s.scrollToError&&o.value){const O=o.value.querySelector(`.${l.b()}-item.is-error`);O==null||O.scrollIntoView(s.scrollIntoViewOptions)}return!R&&await(T==null?void 0:T(!1,$)),I&&Promise.reject($)}},x=E=>{var T;const R=u(E);R&&((T=R.$el)==null||T.scrollIntoView(s.scrollIntoViewOptions))};return me(()=>s.rules,()=>{s.validateOnRuleChange&&_().catch(E=>void 0)},{deep:!0,flush:"post"}),Tt(Su,Wt({...ps(s),emit:a,resetFields:v,clearValidate:m,validateField:C,getField:u,addField:d,removeField:h,setInitialValues:p,...oie()})),t({validate:_,validateField:C,resetFields:v,clearValidate:m,scrollToField:x,getField:u,fields:r,setInitialValues:p}),(E,T)=>(S(),P("form",{ref_key:"formRef",ref:o,class:D(c.value)},[ue(E.$slots,"default")],2))}});const iie=["","error","validating","success"],lie=Me({label:String,labelWidth:{type:[String,Number]},labelPosition:{type:String,values:["left","right","top",""],default:""},prop:{type:re([String,Array])},required:{type:Boolean,default:void 0},rules:{type:re([Object,Array])},error:String,validateStatus:{type:String,values:iie},for:String,inlineMessage:{type:Boolean,default:void 0},showMessage:{type:Boolean,default:!0},size:{type:String,values:fr}});function Eu(){return Eu=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function r1(e,t,n){return uie()?r1=Reflect.construct.bind():r1=function(a,o,r){var i=[null];i.push.apply(i,o);var l=Function.bind.apply(a,i),c=new l;return r&&Gp(c,r.prototype),c},r1.apply(null,arguments)}function die(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function s6(e){var t=typeof Map=="function"?new Map:void 0;return s6=function(s){if(s===null||!die(s))return s;if(typeof s!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(s))return t.get(s);t.set(s,a)}function a(){return r1(s,arguments,n6(this).constructor)}return a.prototype=Object.create(s.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Gp(a,s)},s6(e)}var fie=/%[sdj%]/g,hie=function(){};function a6(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var s=n.field;t[s]=t[s]||[],t[s].push(n)}),t}function ho(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s=o)return i;switch(i){case"%s":return String(n[a++]);case"%d":return Number(n[a++]);case"%j":try{return JSON.stringify(n[a++])}catch{return"[Circular]"}break;default:return i}});return r}return e}function pie(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function xs(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||pie(t)&&typeof e=="string"&&!e)}function vie(e,t,n){var s=[],a=0,o=e.length;function r(i){s.push.apply(s,i||[]),a++,a===o&&n(s)}e.forEach(function(i){t(i,r)})}function kA(e,t,n){var s=0,a=e.length;function o(r){if(r&&r.length){n(r);return}var i=s;s=s+1,i{throw TypeError(kn)};var Hye=(kn,Mn,Ut (?:`+s+":){1}(?:(?::"+s+"){0,4}:"+n+"|(?::"+s+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4 (?::(?:(?::`+s+"){0,5}:"+n+"|(?::"+s+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4 )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1 -`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=new RegExp("(?:^"+n+"$)|(?:^"+a+"$)"),r=new RegExp("^"+n+"$"),i=new RegExp("^"+a+"$"),l=function(_){return _&&_.exact?o:new RegExp("(?:"+t(_)+n+t(_)+")|(?:"+t(_)+a+t(_)+")","g")};l.v4=function(w){return w&&w.exact?r:new RegExp(""+t(w)+n+t(w),"g")},l.v6=function(w){return w&&w.exact?i:new RegExp(""+t(w)+a+t(w),"g")};var c="(?:(?:[a-z]+:)?//)",u="(?:\\S+(?::\\S*)?@)?",d=l.v4().source,h=l.v6().source,p="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",m="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",b='(?:[/?#][^\\s"]*)?',C="(?:"+c+"|www\\.)"+u+"(?:localhost|"+d+"|"+h+"|"+p+v+m+")"+g+b;return i1=new RegExp("(?:^"+C+"$)","i"),i1},RA={email:/^(([^<>()\[\]\\.,;:\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,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Yp={integer:function(t){return Yp.number(t)&&parseInt(t,10)===t},float:function(t){return Yp.number(t)&&!Yp.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"&&!Yp.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(RA.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(_ie())},hex:function(t){return typeof t=="string"&&!!t.match(RA.hex)}},Cie=function(t,n,s,a,o){if(t.required&&n===void 0){PA(t,n,s,a,o);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],i=t.type;r.indexOf(i)>-1?Yp[i](n)||a.push(ho(o.messages.types[i],t.fullField,t.type)):i&&typeof n!==t.type&&a.push(ho(o.messages.types[i],t.fullField,t.type))},Sie=function(t,n,s,a,o){var r=typeof t.len=="number",i=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=n,d=null,h=typeof n=="number",p=typeof n=="string",v=Array.isArray(n);if(h?d="number":p?d="string":v&&(d="array"),!d)return!1;v&&(u=n.length),p&&(u=n.replace(c,"_").length),r?u!==t.len&&a.push(ho(o.messages[d].len,t.fullField,t.len)):i&&!l&&ut.max?a.push(ho(o.messages[d].max,t.fullField,t.max)):i&&l&&(ut.max)&&a.push(ho(o.messages[d].range,t.fullField,t.min,t.max))},Kf="enum",xie=function(t,n,s,a,o){t[Kf]=Array.isArray(t[Kf])?t[Kf]:[],t[Kf].indexOf(n)===-1&&a.push(ho(o.messages[Kf],t.fullField,t[Kf].join(", ")))},Eie=function(t,n,s,a,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||a.push(ho(o.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(n)||a.push(ho(o.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},vn={required:PA,whitespace:wie,type:Cie,range:Sie,enum:xie,pattern:Eie},kie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n,"string")&&!t.required)return s();vn.required(t,n,a,r,o,"string"),xs(n,"string")||(vn.type(t,n,a,r,o),vn.range(t,n,a,r,o),vn.pattern(t,n,a,r,o),t.whitespace===!0&&vn.whitespace(t,n,a,r,o))}s(r)},Aie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),n!==void 0&&vn.type(t,n,a,r,o)}s(r)},Tie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(n===""&&(n=void 0),xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),n!==void 0&&(vn.type(t,n,a,r,o),vn.range(t,n,a,r,o))}s(r)},Mie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),n!==void 0&&vn.type(t,n,a,r,o)}s(r)},Pie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),xs(n)||vn.type(t,n,a,r,o)}s(r)},Rie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),n!==void 0&&(vn.type(t,n,a,r,o),vn.range(t,n,a,r,o))}s(r)},Iie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),n!==void 0&&(vn.type(t,n,a,r,o),vn.range(t,n,a,r,o))}s(r)},Oie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(n==null&&!t.required)return s();vn.required(t,n,a,r,o,"array"),n!=null&&(vn.type(t,n,a,r,o),vn.range(t,n,a,r,o))}s(r)},Lie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),n!==void 0&&vn.type(t,n,a,r,o)}s(r)},Nie="enum",$ie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),n!==void 0&&vn[Nie](t,n,a,r,o)}s(r)},Die=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n,"string")&&!t.required)return s();vn.required(t,n,a,r,o),xs(n,"string")||vn.pattern(t,n,a,r,o)}s(r)},Fie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n,"date")&&!t.required)return s();if(vn.required(t,n,a,r,o),!xs(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),vn.type(t,l,a,r,o),l&&vn.range(t,l.getTime(),a,r,o)}}s(r)},Bie=function(t,n,s,a,o){var r=[],i=Array.isArray(n)?"array":typeof n;vn.required(t,n,a,r,o,i),s(r)},o6=function(t,n,s,a,o){var r=t.type,i=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(xs(n,r)&&!t.required)return s();vn.required(t,n,a,i,o,r),xs(n,r)||vn.type(t,n,a,i,o)}s(i)},Vie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o)}s(r)},Xp={string:kie,method:Aie,number:Tie,boolean:Mie,regexp:Pie,integer:Rie,float:Iie,array:Oie,object:Lie,enum:$ie,pattern:Die,date:Fie,url:o6,hex:o6,email:o6,required:Bie,any:Vie};function r6(){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 i6=r6(),Jp=function(){function e(n){this.rules=null,this._messages=i6,this.define(n)}var t=e.prototype;return t.define=function(s){var a=this;if(!s)throw new Error("Cannot configure a schema with no rules");if(typeof s!="object"||Array.isArray(s))throw new Error("Rules must be an object");this.rules={},Object.keys(s).forEach(function(o){var r=s[o];a.rules[o]=Array.isArray(r)?r:[r]})},t.messages=function(s){return s&&(this._messages=MA(r6(),s)),this._messages},t.validate=function(s,a,o){var r=this;a===void 0&&(a={}),o===void 0&&(o=function(){});var i=s,l=a,c=o;if(typeof l=="function"&&(c=l,l={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,i),Promise.resolve(i);function u(m){var g=[],b={};function C(_){if(Array.isArray(_)){var x;g=(x=g).concat.apply(x,_)}else g.push(_)}for(var w=0;w");const a=Ee("form"),o=F(),r=F(0),i=()=>{var u;if((u=o.value)!=null&&u.firstElementChild){const d=window.getComputedStyle(o.value.firstElementChild).width;return Math.ceil(Number.parseFloat(d))}else return 0},l=(u="update")=>{ze(()=>{t.default&&e.isAutoWidth&&(u==="update"?r.value=i():u==="remove"&&(n==null||n.deregisterLabelWidth(r.value)))})},c=()=>l("update");return St(()=>{c()}),Gt(()=>{l("remove")}),or(()=>c()),me(r,(u,d)=>{e.updateAll&&(n==null||n.registerLabelWidth(u,d))}),bn(k(()=>{var u,d;return(d=(u=o.value)==null?void 0:u.firstElementChild)!=null?d:null}),c),()=>{var u,d;if(!t)return null;const{isAutoWidth:h}=e;if(h){const p=n==null?void 0:n.autoLabelWidth,v=s==null?void 0:s.hasLabel,m={};if(v&&p&&p!=="auto"){const g=Math.max(0,Number.parseInt(p,10)-r.value),C=(s.labelPosition||n.labelPosition)==="left"?"marginRight":"marginLeft";g&&(m[C]=`${g}px`)}return j("div",{ref:o,class:[a.be("item","label-wrap")],style:m},[(u=t.default)==null?void 0:u.call(t)])}else return j(He,{ref:o},[(d=t.default)==null?void 0:d.call(t)])}}});const Hie=["role","aria-labelledby"];var OA=W({name:"ElFormItem",__name:"form-item",props:lie,setup(e,{expose:t}){const n=e,s=zn(),a=je(Su,void 0),o=je(ni,void 0),r=ts(void 0,{formItem:!1}),i=Ee("form-item"),l=$s().value,c=F([]),u=F(""),d=VV(u,100),h=F(""),p=F();let v,m=!1;const g=k(()=>n.labelPosition||(a==null?void 0:a.labelPosition)),b=k(()=>{var he;return g.value==="top"?{}:{width:Pn((he=n.labelWidth)!=null?he:a==null?void 0:a.labelWidth)}}),C=k(()=>{var he;if(g.value==="top"||a!=null&&a.inline)return{};if(!n.label&&!n.labelWidth&&M)return{};const ce=Pn((he=n.labelWidth)!=null?he:a==null?void 0:a.labelWidth);return!n.label&&!s.label?{marginLeft:ce}:{}}),w=k(()=>[i.b(),i.m(r.value),i.is("error",u.value==="error"),i.is("validating",u.value==="validating"),i.is("success",u.value==="success"),i.is("required",J.value||n.required),i.is("no-asterisk",a==null?void 0:a.hideRequiredAsterisk),(a==null?void 0:a.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[i.m("feedback")]:a==null?void 0:a.statusIcon,[i.m(`label-${g.value}`)]:g.value}]),_=k(()=>Qt(n.inlineMessage)?n.inlineMessage:(a==null?void 0:a.inlineMessage)||!1),x=k(()=>[i.e("error"),{[i.em("error","inline")]:_.value}]),E=k(()=>n.prop?ke(n.prop)?n.prop.join("."):n.prop:""),T=k(()=>!!(n.label||s.label)),R=k(()=>{var he;return(he=n.for)!=null?he:c.value.length===1?c.value[0]:void 0}),I=k(()=>!R.value&&T.value),M=!!o,$=k(()=>{const he=a==null?void 0:a.model;if(!(!he||!n.prop))return kf(he,n.prop).value}),O=k(()=>{const{required:he}=n,ce=[];n.rules&&ce.push(..._s(n.rules));const Z=a==null?void 0:a.rules;if(Z&&n.prop){const H=kf(Z,n.prop).value;H&&ce.push(..._s(H))}if(he!==void 0){const H=ce.map((te,de)=>[te,de]).filter(([te])=>"required"in te);if(H.length>0)for(const[te,de]of H)te.required!==he&&(ce[de]={...te,required:he});else ce.push({required:he})}return ce}),B=k(()=>O.value.length>0),U=he=>O.value.filter(Z=>!Z.trigger||!he?!0:ke(Z.trigger)?Z.trigger.includes(he):Z.trigger===he).map(({trigger:Z,...H})=>H),J=k(()=>O.value.some(he=>he.required)),Y=k(()=>{var he;return d.value==="error"&&n.showMessage&&((he=a==null?void 0:a.showMessage)!=null?he:!0)}),N=k(()=>`${n.label||""}${(a==null?void 0:a.labelSuffix)||""}`),L=he=>{u.value=he},V=he=>{var ce,Z;const{errors:H,fields:te}=he;(!H||!te)&&console.error(he),L("error"),h.value=H?(Z=(ce=H==null?void 0:H[0])==null?void 0:ce.message)!=null?Z:`${n.prop} is required`:"",a==null||a.emit("validate",n.prop,!1,h.value)},z=()=>{L("success"),a==null||a.emit("validate",n.prop,!0,"")},G=async he=>{const ce=E.value;return new Jp({[ce]:he}).validate({[ce]:$.value},{firstFields:!0}).then(()=>(z(),!0)).catch(H=>(V(H),Promise.reject(H)))},Q=async(he,ce)=>{if(m||!n.prop)return!1;const Z=et(ce);if(!B.value)return ce==null||ce(!1),!1;const H=U(he);return H.length===0?(ce==null||ce(!0),!0):(L("validating"),G(H).then(()=>(ce==null||ce(!0),!0)).catch(te=>{const{fields:de}=te;return ce==null||ce(!1,de),Z?!1:Promise.reject(de)}))},K=()=>{L(""),h.value="",m=!1},ee=async()=>{const he=a==null?void 0:a.model;if(!he||!n.prop)return;const ce=kf(he,n.prop);m=!0,ce.value=wy(v),await ze(),K(),m=!1},ae=he=>{c.value.includes(he)||c.value.push(he)},fe=he=>{c.value=c.value.filter(ce=>ce!==he)},ne=he=>{v=wy(he)};me(()=>n.error,he=>{h.value=he||"",L(he?"error":"")},{immediate:!0}),me(()=>n.validateStatus,he=>L(he||""));const pe=Wt({...ps(n),$el:p,size:r,validateMessage:h,validateState:u,labelId:l,inputIds:c,isGroup:I,hasLabel:T,fieldValue:$,addInputId:ae,removeInputId:fe,resetField:ee,clearValidate:K,validate:Q,propString:E,setInitialValue:ne});return Tt(ni,pe),St(()=>{n.prop&&(a==null||a.addField(pe),v=wy($.value))}),Gt(()=>{a==null||a.removeField(pe)}),t({size:r,validateMessage:h,validateState:u,validate:Q,clearValidate:K,resetField:ee,setInitialValue:ne}),(he,ce)=>{var Z;return S(),P("div",{ref_key:"formItemRef",ref:p,class:D(w.value),role:I.value?"group":void 0,"aria-labelledby":I.value?f(l):void 0},[j(f(zie),{"is-auto-width":b.value.width==="auto","update-all":((Z=f(a))==null?void 0:Z.labelWidth)==="auto"},{default:X(()=>[e.label||he.$slots.label?(S(),le(bt(R.value?"label":"div"),{key:0,id:f(l),for:R.value,class:D(f(i).e("label")),style:tt(b.value)},{default:X(()=>[ue(he.$slots,"label",{label:N.value},()=>[Ue(ve(N.value),1)])]),_:3},8,["id","for","class","style"])):ie("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),A("div",{class:D(f(i).e("content")),style:tt(C.value)},[ue(he.$slots,"default"),j(BS,{name:`${f(i).namespace.value}-zoom-in-top`},{default:X(()=>[Y.value?ue(he.$slots,"error",{key:0,error:h.value},()=>[A("div",{class:D(x.value)},ve(h.value),3)]):ie("v-if",!0)]),_:3},8,["name"])],6)],10,Hie)}}});const Wie=pt(rie,{FormItem:OA}),jie=An(OA),Kie=Te({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:re([String,Object])},previewSrcList:{type:re(Array),default:()=>Rn([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:re(String)}}),Uie={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>at(e),close:()=>!0,show:()=>!0},qie=Te({urlList:{type:re(Array),default:()=>Rn([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:re(String)}}),Gie={close:()=>!0,error:e=>e instanceof Event,switch:e=>at(e),rotate:e=>at(e)},Yie=["src","crossorigin"];var Xie=W({name:"ElImageViewer",__name:"image-viewer",props:qie,emits:Gie,setup(e,{expose:t,emit:n}){var s;const a={CONTAIN:{name:"contain",icon:Hr(Fy)},ORIGINAL:{name:"original",icon:Hr(r9)}},o=e,r=n;let i;const{t:l}=It(),c=Ee("image-viewer"),{nextZIndex:u}=yp(),d=F(),h=F(),p=VI(),v=k(()=>{const{scale:ce,minScale:Z,maxScale:H}=o;return wx(ce,Z,H)}),m=F(!0),g=F(!1),b=F(!1),C=F(o.initialIndex),w=hn(a.CONTAIN),_=F({scale:v.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),x=F((s=o.zIndex)!=null?s:u());n1(b,{ns:c});const E=k(()=>{const{urlList:ce}=o;return ce.length<=1}),T=k(()=>C.value===0),R=k(()=>C.value===o.urlList.length-1),I=k(()=>o.urlList[C.value]),M=k(()=>[c.e("btn"),c.e("prev"),c.is("disabled",!o.infinite&&T.value)]),$=k(()=>[c.e("btn"),c.e("next"),c.is("disabled",!o.infinite&&R.value)]),O=k(()=>{const{scale:ce,deg:Z,offsetX:H,offsetY:te,enableTransition:de}=_.value;let be=H/ce,_e=te/ce;const Se=Z*Math.PI/180,Ne=Math.cos(Se),Ve=Math.sin(Se);be=be*Ne+_e*Ve,_e=_e*Ne-H/ce*Ve;const $e={transform:`scale(${ce}) rotate(${Z}deg) translate(${be}px, ${_e}px)`,transition:de?"transform .3s":""};return w.value.name===a.CONTAIN.name&&($e.maxWidth=$e.maxHeight="100%"),$e}),B=k(()=>`${C.value+1} / ${o.urlList.length}`);function U(){Y(),i==null||i(),b.value=!1,r("close")}function J(){const ce=Ql(H=>{switch(an(H)){case Ae.esc:o.closeOnPressEscape&&U();break;case Ae.space:Q();break;case Ae.left:ee();break;case Ae.up:fe("zoomIn");break;case Ae.right:ae();break;case Ae.down:fe("zoomOut");break}}),Z=Ql(H=>{const te=H.deltaY||H.deltaX;fe(te<0?"zoomIn":"zoomOut",{zoomRate:o.zoomRate,enableTransition:!1})});p.run(()=>{Zt(document,"keydown",ce),Zt(d,"wheel",Z)})}function Y(){p.stop()}function N(){m.value=!1}function L(ce){g.value=!0,m.value=!1,r("error",ce),ce.target.alt=l("el.image.error")}function V(ce){if(m.value||ce.button!==0||!d.value)return;_.value.enableTransition=!1;const{offsetX:Z,offsetY:H}=_.value,te=ce.pageX,de=ce.pageY,be=Ql(Ne=>{_.value={..._.value,offsetX:Z+Ne.pageX-te,offsetY:H+Ne.pageY-de}}),_e=Zt(document,"mousemove",be),Se=Zt(document,"mouseup",()=>{_e(),Se()});ce.preventDefault()}function z(ce){if(m.value||!d.value||ce.touches.length!==1)return;_.value.enableTransition=!1;const{offsetX:Z,offsetY:H}=_.value,{pageX:te,pageY:de}=ce.touches[0],be=Ql(Ne=>{const Ve=Ne.touches[0];_.value={..._.value,offsetX:Z+Ve.pageX-te,offsetY:H+Ve.pageY-de}}),_e=Zt(document,"touchmove",be),Se=Zt(document,"touchend",()=>{_e(),Se()});ce.preventDefault()}function G(){_.value={scale:v.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function Q(){if(m.value||g.value)return;const ce=_p(a),Z=Object.values(a),H=w.value.name,de=(Z.findIndex(be=>be.name===H)+1)%ce.length;w.value=a[ce[de]],G()}function K(ce){g.value=!1;const Z=o.urlList.length;C.value=(ce+Z)%Z}function ee(){T.value&&!o.infinite||K(C.value-1)}function ae(){R.value&&!o.infinite||K(C.value+1)}function fe(ce,Z={}){if(m.value||g.value)return;const{minScale:H,maxScale:te}=o,{zoomRate:de,rotateDeg:be,enableTransition:_e}={zoomRate:o.zoomRate,rotateDeg:90,enableTransition:!0,...Z};switch(ce){case"zoomOut":_.value.scale>H&&(_.value.scale=Number.parseFloat((_.value.scale/de).toFixed(3)));break;case"zoomIn":_.value.scale0)return ce.preventDefault(),!1}}return me(()=>v.value,ce=>{_.value.scale=ce}),me(I,()=>{ze(()=>{const ce=h.value;ce!=null&&ce.complete||(m.value=!0)})}),me(C,ce=>{G(),r("switch",ce)}),St(()=>{b.value=!0,J(),i=Zt("wheel",he,{passive:!1})}),t({setActiveItem:K}),(ce,Z)=>(S(),le(f(Tf),{to:"body",disabled:!e.teleported},{default:X(()=>[j(vs,{name:"viewer-fade",appear:""},{default:X(()=>[A("div",{ref_key:"wrapper",ref:d,tabindex:-1,class:D(f(c).e("wrapper")),style:tt({zIndex:x.value})},[j(f(Df),{loop:"",trapped:"","focus-trap-el":d.value,"focus-start-el":"container",onFocusoutPrevented:ne,onReleaseRequested:pe},{default:X(()=>[A("div",{class:D(f(c).e("mask")),onClick:Z[0]||(Z[0]=lt(H=>e.hideOnClickModal&&U(),["self"]))},null,2),ie(" CLOSE "),A("span",{class:D([f(c).e("btn"),f(c).e("close")]),onClick:U},[j(f(Je),null,{default:X(()=>[j(f(Ua))]),_:1})],2),ie(" ARROW "),E.value?ie("v-if",!0):(S(),P(He,{key:0},[A("span",{class:D(M.value),onClick:ee},[j(f(Je),null,{default:X(()=>[j(f(No))]),_:1})],2),A("span",{class:D($.value),onClick:ae},[j(f(Je),null,{default:X(()=>[j(f(Ls))]),_:1})],2)],64)),ce.$slots.progress||e.showProgress?(S(),P("div",{key:1,class:D([f(c).e("btn"),f(c).e("progress")])},[ue(ce.$slots,"progress",{activeIndex:C.value,total:e.urlList.length},()=>[Ue(ve(B.value),1)])],2)):ie("v-if",!0),ie(" ACTIONS "),A("div",{class:D([f(c).e("btn"),f(c).e("actions")])},[A("div",{class:D(f(c).e("actions__inner"))},[ue(ce.$slots,"toolbar",{actions:fe,prev:ee,next:ae,reset:Q,activeIndex:C.value,setActiveItem:K},()=>[j(f(Je),{onClick:Z[1]||(Z[1]=H=>fe("zoomOut"))},{default:X(()=>[j(f(Wy))]),_:1}),j(f(Je),{onClick:Z[2]||(Z[2]=H=>fe("zoomIn"))},{default:X(()=>[j(f(xg))]),_:1}),A("i",{class:D(f(c).e("actions__divider"))},null,2),j(f(Je),{onClick:Q},{default:X(()=>[(S(),le(bt(w.value.icon)))]),_:1}),A("i",{class:D(f(c).e("actions__divider"))},null,2),j(f(Je),{onClick:Z[3]||(Z[3]=H=>fe("anticlockwise"))},{default:X(()=>[j(f(Sg))]),_:1}),j(f(Je),{onClick:Z[4]||(Z[4]=H=>fe("clockwise"))},{default:X(()=>[j(f(o9))]),_:1})])],2)],2),ie(" CANVAS "),A("div",{class:D(f(c).e("canvas"))},[g.value&&ce.$slots["viewer-error"]?ue(ce.$slots,"viewer-error",{key:0,activeIndex:C.value,src:I.value}):(S(),P("img",{ref_key:"imgRef",ref:h,key:I.value,src:I.value,style:tt(O.value),class:D(f(c).e("img")),crossorigin:e.crossorigin,onLoad:N,onError:L,onMousedown:V,onTouchstart:z},null,46,Yie))],2),ue(ce.$slots,"default")]),_:3},8,["focus-trap-el"])],6)]),_:3})]),_:3},8,["disabled"]))}});const LA=pt(Xie),Jie=["src","loading","crossorigin"],Zie={key:0};var Qie=W({name:"ElImage",inheritAttrs:!1,__name:"image",props:Kie,emits:Uie,setup(e,{expose:t,emit:n}){const s=e,a=n,{t:o}=It(),r=Ee("image"),i=Bi(),l=k(()=>hp(Object.entries(i).filter(([N])=>/^(data-|on[A-Z])/i.test(N)||["id","style"].includes(N)))),c=Pg({excludeListeners:!0,excludeKeys:k(()=>Object.keys(l.value))}),u=F(),d=F(!1),h=F(!0),p=F(!1),v=F(),m=F(),g=jt&&"loading"in HTMLImageElement.prototype;let b;const C=k(()=>[r.e("inner"),_.value&&r.e("preview"),h.value&&r.is("loading")]),w=k(()=>{const{fit:N}=s;return jt&&N?{objectFit:N}:{}}),_=k(()=>{const{previewSrcList:N}=s;return ke(N)&&N.length>0}),x=k(()=>{const{previewSrcList:N,initialIndex:L}=s;let V=L;return L>N.length-1&&(V=0),V}),E=k(()=>s.loading==="eager"?!1:!g&&s.loading==="lazy"||s.lazy),T=()=>{jt&&(h.value=!0,d.value=!1,u.value=s.src)};function R(N){h.value=!1,d.value=!1,a("load",N)}function I(N){h.value=!1,d.value=!0,a("error",N)}function M(N){N&&(T(),B())}const $=Cx(M,200,!0);async function O(){var N;if(!jt)return;await ze();const{scrollContainer:L}=s;if(ja(L))m.value=L;else if(Xe(L)&&L!=="")m.value=(N=document.querySelector(L))!=null?N:void 0;else if(v.value){const z=Oy(v.value);m.value=mp(z)?void 0:z}const{stop:V}=GV(v,([z])=>{$(z.isIntersecting)},{root:m});b=V}function B(){!jt||!$||(b==null||b(),m.value=void 0,b=void 0)}function U(){_.value&&(p.value=!0,a("show"))}function J(){p.value=!1,a("close")}function Y(N){a("switch",N)}return me(()=>s.src,()=>{E.value?(h.value=!0,d.value=!1,B(),O()):T()}),St(()=>{E.value?O():T()}),t({showPreview:U}),(N,L)=>(S(),P("div",wt({ref_key:"container",ref:v},l.value,{class:[f(r).b(),N.$attrs.class]}),[d.value?ue(N.$slots,"error",{key:0},()=>[A("div",{class:D(f(r).e("error"))},ve(f(o)("el.image.error")),3)]):(S(),P(He,{key:1},[u.value!==void 0?(S(),P("img",wt({key:0},f(c),{src:u.value,loading:e.loading,style:w.value,class:C.value,crossorigin:e.crossorigin,onClick:U,onLoad:R,onError:I}),null,16,Jie)):ie("v-if",!0),h.value?(S(),P("div",{key:1,class:D(f(r).e("wrapper"))},[ue(N.$slots,"placeholder",{},()=>[A("div",{class:D(f(r).e("placeholder"))},null,2)])],2)):ie("v-if",!0)],64)),_.value?(S(),P(He,{key:2},[p.value?(S(),le(f(LA),{key:0,"z-index":e.zIndex,"initial-index":x.value,infinite:e.infinite,"zoom-rate":e.zoomRate,"min-scale":e.minScale,"max-scale":e.maxScale,"show-progress":e.showProgress,"url-list":e.previewSrcList,scale:e.scale,crossorigin:e.crossorigin,"hide-on-click-modal":e.hideOnClickModal,teleported:e.previewTeleported,"close-on-press-escape":e.closeOnPressEscape,onClose:J,onSwitch:Y},ka({toolbar:X(V=>[ue(N.$slots,"toolbar",Oi(Vi(V)))]),default:X(()=>[N.$slots.viewer?(S(),P("div",Zie,[ue(N.$slots,"viewer")])):ie("v-if",!0)]),_:2},[N.$slots.progress?{name:"progress",fn:X(V=>[ue(N.$slots,"progress",Oi(Vi(V)))]),key:"0"}:void 0,N.$slots["viewer-error"]?{name:"viewer-error",fn:X(V=>[ue(N.$slots,"viewer-error",Oi(Vi(V)))]),key:"1"}:void 0]),1032,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","show-progress","url-list","scale","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):ie("v-if",!0)],64)):ie("v-if",!0)],16))}});const ele=pt(Qie),tle=Te({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:{type:Boolean,default:void 0},size:rs,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:re([String,Number,null]),validator:e=>e===null||at(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0},...ia(["ariaLabel"]),inputmode:{type:re(String),default:void 0},align:{type:re(String),default:"center"},disabledScientific:Boolean}),nle={[Pt]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[es]:e=>at(e)||qn(e),[ct]:e=>at(e)||qn(e)},sle=["aria-label"],ale=["aria-label"];var ole=W({name:"ElInputNumber",__name:"input-number",props:tle,emits:nle,setup(e,{expose:t,emit:n}){const s=e,a=n,{t:o}=It(),r=Ee("input-number"),i=F(),l=Wt({currentValue:s.modelValue,userInput:null}),{formItem:c}=Cs(),u=k(()=>at(s.modelValue)&&s.modelValue<=s.min),d=k(()=>at(s.modelValue)&&s.modelValue>=s.max),h=k(()=>{const N=C(s.step);return $t(s.precision)?Math.max(C(s.modelValue),N):(N>s.precision,s.precision)}),p=k(()=>s.controls&&s.controlsPosition==="right"),v=ts(),m=In(),g=k(()=>{if(l.userInput!==null)return l.userInput;let N=l.currentValue;if(qn(N))return"";if(at(N)){if(Number.isNaN(N))return"";$t(s.precision)||(N=N.toFixed(s.precision))}return N}),b=(N,L)=>{if($t(L)&&(L=h.value),L===0)return Math.round(N);let V=String(N);const z=V.indexOf(".");if(z===-1||!V.replace(".","").split("")[z+L])return N;const K=V.length;return V.charAt(K-1)==="5"&&(V=`${V.slice(0,Math.max(0,K-1))}6`),Number.parseFloat(Number(V).toFixed(L))},C=N=>{if(qn(N))return 0;const L=N.toString(),V=L.indexOf(".");let z=0;return V!==-1&&(z=L.length-V-1),z},w=(N,L=1)=>at(N)?N>=Number.MAX_SAFE_INTEGER&&L===1||N<=Number.MIN_SAFE_INTEGER&&L===-1?N:b(N+s.step*L):l.currentValue,_=N=>{const L=an(N),V=pE(N);if(s.disabledScientific&&["e","E"].includes(V)){N.preventDefault();return}switch(L){case Ae.up:{N.preventDefault(),x();break}case Ae.down:{N.preventDefault(),E();break}}},x=()=>{if(s.readonly||m.value||d.value)return;const N=Number(g.value)||0,L=w(N);R(L),a(es,l.currentValue),J()},E=()=>{if(s.readonly||m.value||u.value)return;const N=Number(g.value)||0,L=w(N,-1);R(L),a(es,l.currentValue),J()},T=(N,L)=>{const{max:V,min:z,step:G,precision:Q,stepStrictly:K,valueOnClear:ee}=s;VV||aeV?V:z,L&&a(ct,ae)),ae},R=(N,L=!0)=>{var V;const z=l.currentValue,G=T(N);if(!L){a(ct,G);return}l.userInput=null,!(z===G&&N)&&(a(ct,G),z!==G&&a(Pt,G,z),s.validateEvent&&((V=c==null?void 0:c.validate)==null||V.call(c,"change").catch(Q=>void 0)),l.currentValue=G)},I=N=>{l.userInput=N;const L=N===""?null:Number(N);a(es,L),R(L,!1)},M=N=>{const L=N!==""?Number(N):"";(at(L)&&!Number.isNaN(L)||N==="")&&R(L),J(),l.userInput=null},$=()=>{var N,L;(L=(N=i.value)==null?void 0:N.focus)==null||L.call(N)},O=()=>{var N,L;(L=(N=i.value)==null?void 0:N.blur)==null||L.call(N)},B=N=>{a("focus",N)},U=N=>{var L,V;l.userInput=null,l.currentValue===null&&((L=i.value)!=null&&L.input)&&(i.value.input.value=""),a("blur",N),s.validateEvent&&((V=c==null?void 0:c.validate)==null||V.call(c,"blur").catch(z=>void 0))},J=()=>{l.currentValue!==s.modelValue&&(l.currentValue=s.modelValue)},Y=N=>{document.activeElement===N.target&&N.preventDefault()};return me(()=>s.modelValue,(N,L)=>{const V=T(N,!0);l.userInput===null&&V!==L&&(l.currentValue=V)},{immediate:!0}),me(()=>s.precision,()=>{l.currentValue=T(s.modelValue)}),St(()=>{var N;const{min:L,max:V,modelValue:z}=s,G=(N=i.value)==null?void 0:N.input;if(G.setAttribute("role","spinbutton"),Number.isFinite(V)?G.setAttribute("aria-valuemax",String(V)):G.removeAttribute("aria-valuemax"),Number.isFinite(L)?G.setAttribute("aria-valuemin",String(L)):G.removeAttribute("aria-valuemin"),G.setAttribute("aria-valuenow",l.currentValue||l.currentValue===0?String(l.currentValue):""),G.setAttribute("aria-disabled",String(m.value)),!at(z)&&z!=null){let Q=Number(z);Number.isNaN(Q)&&(Q=null),a(ct,Q)}G.addEventListener("wheel",Y,{passive:!1})}),or(()=>{var N,L;const V=(N=i.value)==null?void 0:N.input;V==null||V.setAttribute("aria-valuenow",`${(L=l.currentValue)!=null?L:""}`)}),t({focus:$,blur:O}),(N,L)=>(S(),P("div",{class:D([f(r).b(),f(r).m(f(v)),f(r).is("disabled",f(m)),f(r).is("without-controls",!e.controls),f(r).is("controls-right",p.value),f(r).is(e.align,!!e.align)]),onDragstart:L[0]||(L[0]=lt(()=>{},["prevent"]))},[e.controls?gt((S(),P("span",{key:0,role:"button","aria-label":f(o)("el.inputNumber.decrease"),class:D([f(r).e("decrease"),f(r).is("disabled",u.value)]),onKeydown:Nn(E,["enter"])},[ue(N.$slots,"decrease-icon",{},()=>[j(f(Je),null,{default:X(()=>[p.value?(S(),le(f(hr),{key:0})):(S(),le(f(Qx),{key:1}))]),_:1})])],42,sle)),[[f(Gg),E]]):ie("v-if",!0),e.controls?gt((S(),P("span",{key:1,role:"button","aria-label":f(o)("el.inputNumber.increase"),class:D([f(r).e("increase"),f(r).is("disabled",d.value)]),onKeydown:Nn(x,["enter"])},[ue(N.$slots,"increase-icon",{},()=>[j(f(Je),null,{default:X(()=>[p.value?(S(),le(f(Sp),{key:0})):(S(),le(f(Vy),{key:1}))]),_:1})])],42,ale)),[[f(Gg),x]]):ie("v-if",!0),j(f(la),{id:e.id,ref_key:"input",ref:i,type:"number",step:e.step,"model-value":g.value,placeholder:e.placeholder,readonly:e.readonly,disabled:f(m),size:f(v),max:e.max,min:e.min,name:e.name,"aria-label":e.ariaLabel,"validate-event":!1,inputmode:e.inputmode,onKeydown:_,onBlur:U,onFocus:B,onInput:I,onChange:M},ka({_:2},[N.$slots.prefix?{name:"prefix",fn:X(()=>[ue(N.$slots,"prefix")]),key:"0"}:void 0,N.$slots.suffix?{name:"suffix",fn:X(()=>[ue(N.$slots,"suffix")]),key:"1"}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode"])],34))}});const NA=pt(ole),rle=Te({modelValue:{type:re(Array)},max:Number,tagType:{...sl.type,default:"info"},tagEffect:sl.effect,effect:{type:re(String),default:"light"},trigger:{type:re(String),default:Ae.enter},draggable:Boolean,delimiter:{type:[String,RegExp],default:""},size:rs,clearable:Boolean,clearIcon:{type:en,default:$o},disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},readonly:Boolean,autofocus:Boolean,id:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},placeholder:String,autocomplete:{type:re(String),default:"off"},saveOnBlur:{type:Boolean,default:!0},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},ariaLabel:String}),ile={[ct]:e=>ke(e)||$t(e),[Pt]:e=>ke(e)||$t(e),[es]:e=>Xe(e),"add-tag":e=>Xe(e)||ke(e),"remove-tag":(e,t)=>Xe(e)&&at(t),"drag-tag":(e,t,n)=>at(e)&&at(t)&&Xe(n),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0};function lle({props:e,emit:t,formItem:n}){const s=In(),a=ts(),o=hn(),r=F(),i=F(),l=k(()=>["small"].includes(a.value)?"small":"default"),c=k(()=>{var J;return(J=e.modelValue)!=null&&J.length?void 0:e.placeholder}),u=k(()=>!(e.readonly||s.value)),d=k(()=>{var J,Y;return $t(e.max)?!1:((Y=(J=e.modelValue)==null?void 0:J.length)!=null?Y:0)>=e.max}),h=k(()=>{var J;return e.collapseTags?(J=e.modelValue)==null?void 0:J.slice(0,e.maxCollapseTags):e.modelValue}),p=k(()=>{var J;return e.collapseTags?(J=e.modelValue)==null?void 0:J.slice(e.maxCollapseTags):[]}),v=J=>{var Y;const N=[...(Y=e.modelValue)!=null?Y:[],..._s(J)];t(ct,N),t(Pt,N),t("add-tag",J),r.value=void 0},m=J=>{var Y,N;const L=J.split(e.delimiter).filter(V=>V&&V!==J);if(e.max){const V=e.max-((N=(Y=e.modelValue)==null?void 0:Y.length)!=null?N:0);L.splice(V)}return L.length===1?L[0]:L},g=J=>{if(d.value){r.value=void 0;return}if(!$.value){if(e.delimiter&&r.value){const Y=m(r.value);Y.length&&v(Y)}t(es,J.target.value)}},b=J=>{var Y;if($.value)return;switch(an(J)){case e.trigger:J.preventDefault(),J.stopPropagation(),w();break;case Ae.numpadEnter:e.trigger===Ae.enter&&(J.preventDefault(),J.stopPropagation(),w());break;case Ae.backspace:!r.value&&((Y=e.modelValue)!=null&&Y.length)&&(J.preventDefault(),J.stopPropagation(),_(e.modelValue.length-1));break}},C=J=>{if($.value||!F9())return;switch(an(J)){case Ae.space:e.trigger===Ae.space&&(J.preventDefault(),J.stopPropagation(),w());break}},w=()=>{var J;const Y=(J=r.value)==null?void 0:J.trim();!Y||d.value||v(Y)},_=J=>{var Y;const N=((Y=e.modelValue)!=null?Y:[]).slice(),[L]=N.splice(J,1);t(ct,N),t(Pt,N),t("remove-tag",L,J)},x=()=>{r.value=void 0,t(ct,void 0),t(Pt,void 0),t("clear")},E=(J,Y,N)=>{var L;const V=((L=e.modelValue)!=null?L:[]).slice(),[z]=V.splice(J,1),G=Y>J&&N==="before"?-1:Y{var J;(J=o.value)==null||J.focus()},R=()=>{var J;(J=o.value)==null||J.blur()},{wrapperRef:I,isFocused:M}=Qi(o,{disabled:s,beforeBlur(J){var Y;return(Y=i.value)==null?void 0:Y.isFocusInsideContent(J)},afterBlur(){var J;e.saveOnBlur?w():r.value=void 0,e.validateEvent&&((J=n==null?void 0:n.validate)==null||J.call(n,"blur").catch(Y=>void 0))}}),{isComposing:$,handleCompositionStart:O,handleCompositionUpdate:B,handleCompositionEnd:U}=Dp({afterComposition:g});return me(()=>e.modelValue,()=>{var J;e.validateEvent&&((J=n==null?void 0:n.validate)==null||J.call(n,Pt).catch(Y=>void 0))}),{inputRef:o,wrapperRef:I,tagTooltipRef:i,isFocused:M,isComposing:$,inputValue:r,size:a,tagSize:l,placeholder:c,closable:u,disabled:s,inputLimit:d,showTagList:h,collapseTagList:p,handleDragged:E,handleInput:g,handleKeydown:b,handleKeyup:C,handleAddTag:w,handleRemoveTag:_,handleClear:x,handleCompositionStart:O,handleCompositionUpdate:B,handleCompositionEnd:U,focus:T,blur:R}}function cle(){const e=F(!1);return{hovering:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}function ule({wrapperRef:e,handleDragged:t,afterDragged:n}){const s=Ee("input-tag"),a=hn(),o=F(!1);let r,i,l,c;function u(v){return`.${s.e("inner")} .${s.namespace.value}-tag:nth-child(${v+1})`}function d(v,m){r=m,i=e.value.querySelector(u(m)),i&&(i.style.opacity="0.5"),v.dataTransfer.effectAllowed="move"}function h(v,m){if(l=m,v.preventDefault(),v.dataTransfer.dropEffect="move",$t(r)||r===m){o.value=!1;return}const g=e.value.querySelector(u(m)).getBoundingClientRect(),b=r+1!==m,C=r-1!==m,w=v.clientX-g.left,_=b?C?.5:1:-1,x=C?b?.5:0:1;w<=g.width*_?c="before":w>g.width*x?c="after":c=void 0;const E=e.value.querySelector(`.${s.e("inner")}`),T=E.getBoundingClientRect(),R=Number.parseFloat(Gi(E,"gap"))/2,I=g.top-T.top;let M=-9999;if(c==="before")M=Math.max(g.left-T.left-R,Math.floor(-R/2));else if(c==="after"){const $=g.right-T.left;M=$+(T.width===$?Math.floor(R/2):R)}Fx(a.value,{top:`${I}px`,left:`${M}px`}),o.value=!!c}function p(v){v.preventDefault(),i&&(i.style.opacity=""),c&&!$t(r)&&!$t(l)&&r!==l&&t(r,l,c),o.value=!1,r=void 0,i=null,l=void 0,c=void 0,n==null||n()}return{dropIndicatorRef:a,showDropIndicator:o,handleDragStart:d,handleDragOver:h,handleDragEnd:p}}function dle({props:e,isFocused:t,hovering:n,disabled:s,inputValue:a,size:o,validateState:r,validateIcon:i,needStatusIcon:l}){const c=Bi(),u=zn(),d=Ee("input-tag"),h=Ee("input"),p=F(),v=F(),m=k(()=>[d.b(),d.is("focused",t.value),d.is("hovering",n.value),d.is("disabled",s.value),d.m(o.value),d.e("wrapper"),c.class]),g=k(()=>[c.style]),b=k(()=>{var I,M;return[d.e("inner"),d.is("draggable",e.draggable),d.is("left-space",!((I=e.modelValue)!=null&&I.length)&&!u.prefix),d.is("right-space",!((M=e.modelValue)!=null&&M.length)&&!w.value)]}),C=k(()=>{var I;return e.clearable&&!s.value&&!e.readonly&&(((I=e.modelValue)==null?void 0:I.length)||a.value)&&(t.value||n.value)}),w=k(()=>u.suffix||C.value||r.value&&i.value&&l.value),_=Wt({innerWidth:0,collapseItemWidth:0}),x=()=>{if(!v.value)return 0;const I=window.getComputedStyle(v.value);return Number.parseFloat(I.gap||"6px")},E=()=>{_.innerWidth=Number.parseFloat(window.getComputedStyle(v.value).width)},T=()=>{_.collapseItemWidth=p.value.getBoundingClientRect().width},R=k(()=>{if(!e.collapseTags)return{};const I=x(),M=I+zg,$=p.value&&e.maxCollapseTags===1?_.innerWidth-_.collapseItemWidth-I-M:_.innerWidth-M;return{maxWidth:`${Math.max($,0)}px`}});return bn(v,E),bn(p,T),{ns:d,nsInput:h,containerKls:m,containerStyle:g,innerKls:b,showClear:C,showSuffix:w,tagStyle:R,collapseItemRef:p,innerRef:v}}const fle=["id","minlength","maxlength","disabled","readonly","autocomplete","tabindex","placeholder","autofocus","ariaLabel"],hle=["textContent"];var ple=W({name:"ElInputTag",inheritAttrs:!1,__name:"input-tag",props:rle,emits:ile,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Pg(),r=zn(),{form:i,formItem:l}=Cs(),{inputId:c}=uo(s,{formItemContext:l}),u=k(()=>{var $e;return($e=i==null?void 0:i.statusIcon)!=null?$e:!1}),d=k(()=>(l==null?void 0:l.validateState)||""),h=k(()=>d.value&&Eg[d.value]),{inputRef:p,wrapperRef:v,tagTooltipRef:m,isFocused:g,inputValue:b,size:C,tagSize:w,placeholder:_,closable:x,disabled:E,showTagList:T,collapseTagList:R,handleDragged:I,handleInput:M,handleKeydown:$,handleKeyup:O,handleRemoveTag:B,handleClear:U,handleCompositionStart:J,handleCompositionUpdate:Y,handleCompositionEnd:N,focus:L,blur:V}=lle({props:s,emit:a,formItem:l}),{hovering:z,handleMouseEnter:G,handleMouseLeave:Q}=cle(),{calculatorRef:K,inputStyle:ee}=E3(),{dropIndicatorRef:ae,showDropIndicator:fe,handleDragStart:ne,handleDragOver:pe,handleDragEnd:he}=ule({wrapperRef:v,handleDragged:I,afterDragged:L}),{ns:ce,nsInput:Z,containerKls:H,containerStyle:te,innerKls:de,showClear:be,showSuffix:_e,tagStyle:Se,collapseItemRef:Ne,innerRef:Ve}=dle({props:s,hovering:z,isFocused:g,inputValue:b,disabled:E,size:C,validateState:d,validateIcon:h,needStatusIcon:u});return t({focus:L,blur:V}),($e,we)=>(S(),P("div",{ref_key:"wrapperRef",ref:v,class:D(f(H)),style:tt(f(te)),onMouseenter:we[8]||(we[8]=(...Oe)=>f(G)&&f(G)(...Oe)),onMouseleave:we[9]||(we[9]=(...Oe)=>f(Q)&&f(Q)(...Oe))},[f(r).prefix?(S(),P("div",{key:0,class:D(f(ce).e("prefix"))},[ue($e.$slots,"prefix")],2)):ie("v-if",!0),A("div",{ref_key:"innerRef",ref:Ve,class:D(f(de))},[(S(!0),P(He,null,yt(f(T),(Oe,Pe)=>(S(),le(f(al),{key:Pe,size:f(w),closable:f(x),type:e.tagType,effect:e.tagEffect,draggable:f(x)&&e.draggable,style:tt(f(Se)),"disable-transitions":"",onClose:We=>f(B)(Pe),onDragstart:We=>f(ne)(We,Pe),onDragover:We=>f(pe)(We,Pe),onDragend:f(he),onDrop:we[0]||(we[0]=lt(()=>{},["stop"]))},{default:X(()=>[ue($e.$slots,"tag",{value:Oe,index:Pe},()=>[Ue(ve(Oe),1)])]),_:2},1032,["size","closable","type","effect","draggable","style","onClose","onDragstart","onDragover","onDragend"]))),128)),e.collapseTags&&e.modelValue&&e.modelValue.length>e.maxCollapseTags?(S(),le(f(Ss),{key:0,ref_key:"tagTooltipRef",ref:m,disabled:!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom"},{default:X(()=>[A("div",{ref_key:"collapseItemRef",ref:Ne,class:D(f(ce).e("collapse-tag"))},[j(f(al),{closable:!1,size:f(w),type:e.tagType,effect:e.tagEffect,"disable-transitions":""},{default:X(()=>[Ue(" + "+ve(e.modelValue.length-e.maxCollapseTags),1)]),_:1},8,["size","type","effect"])],2)]),content:X(()=>[A("div",{class:D(f(ce).e("input-tag-list"))},[(S(!0),P(He,null,yt(f(R),(Oe,Pe)=>(S(),le(f(al),{key:Pe,size:f(w),closable:f(x),type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:We=>f(B)(Pe+e.maxCollapseTags)},{default:X(()=>[ue($e.$slots,"tag",{value:Oe,index:Pe+e.maxCollapseTags},()=>[Ue(ve(Oe),1)])]),_:2},1032,["size","closable","type","effect","onClose"]))),128))],2)]),_:3},8,["disabled","effect"])):ie("v-if",!0),A("div",{class:D(f(ce).e("input-wrapper"))},[gt(A("input",wt({id:f(c),ref_key:"inputRef",ref:p,"onUpdate:modelValue":we[1]||(we[1]=Oe=>pn(b)?b.value=Oe:null)},f(o),{type:"text",minlength:e.minlength,maxlength:e.maxlength,disabled:f(E),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,placeholder:f(_),autofocus:e.autofocus,ariaLabel:e.ariaLabel,class:f(ce).e("input"),style:f(ee),onCompositionstart:we[2]||(we[2]=(...Oe)=>f(J)&&f(J)(...Oe)),onCompositionupdate:we[3]||(we[3]=(...Oe)=>f(Y)&&f(Y)(...Oe)),onCompositionend:we[4]||(we[4]=(...Oe)=>f(N)&&f(N)(...Oe)),onInput:we[5]||(we[5]=(...Oe)=>f(M)&&f(M)(...Oe)),onKeydown:we[6]||(we[6]=(...Oe)=>f($)&&f($)(...Oe)),onKeyup:we[7]||(we[7]=(...Oe)=>f(O)&&f(O)(...Oe))}),null,16,fle),[[WS,f(b)]]),A("span",{ref_key:"calculatorRef",ref:K,"aria-hidden":"true",class:D(f(ce).e("input-calculator")),textContent:ve(f(b))},null,10,hle)],2),gt(A("div",{ref_key:"dropIndicatorRef",ref:ae,class:D(f(ce).e("drop-indicator"))},null,2),[[Bt,f(fe)]])],2),f(_e)?(S(),P("div",{key:1,class:D(f(ce).e("suffix"))},[ue($e.$slots,"suffix"),f(be)?(S(),le(f(Je),{key:0,class:D([f(ce).e("icon"),f(ce).e("clear")]),onMousedown:lt(f(qt),["prevent"]),onClick:f(U)},{default:X(()=>[(S(),le(bt(e.clearIcon)))]),_:1},8,["class","onMousedown","onClick"])):ie("v-if",!0),d.value&&h.value&&u.value?(S(),le(f(Je),{key:1,class:D([f(Z).e("icon"),f(Z).e("validateIcon"),f(Z).is("loading",d.value==="validating")])},{default:X(()=>[(S(),le(bt(h.value)))]),_:1},8,["class"])):ie("v-if",!0)],2)):ie("v-if",!0)],38))}});const vle=pt(ple),mle=Te({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:en}}),gle={click:e=>e instanceof MouseEvent},ble=["href","target"];var yle=W({name:"ElLink",__name:"link",props:mle,emits:gle,setup(e,{emit:t}){const n=e,s=t,a=Af("link");ai({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},k(()=>Qt(n.underline)));const o=Ee("link"),r=k(()=>{var c,u,d;return[o.b(),o.m((d=(u=n.type)!=null?u:(c=a.value)==null?void 0:c.type)!=null?d:"default"),o.is("disabled",n.disabled),o.is("underline",i.value==="always"),o.is("hover-underline",i.value==="hover"&&!n.disabled)]}),i=k(()=>{var c,u,d;return Qt(n.underline)?n.underline?"hover":"never":(d=(u=n.underline)!=null?u:(c=a.value)==null?void 0:c.underline)!=null?d:"hover"});function l(c){n.disabled||s("click",c)}return(c,u)=>(S(),P("a",{class:D(r.value),href:e.disabled||!e.href?void 0:e.href,target:e.disabled||!e.href?void 0:e.target,onClick:l},[e.icon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.icon)))]),_:1})):ie("v-if",!0),c.$slots.default?(S(),P("span",{key:1,class:D(f(o).e("inner"))},[ue(c.$slots,"default")],2)):ie("v-if",!0),c.$slots.icon?ue(c.$slots,"icon",{key:2}):ie("v-if",!0)],10,ble))}});const wle=pt(yle);var _le=Object.defineProperty,Cle=(e,t,n)=>t in e?_le(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$A=(e,t,n)=>Cle(e,typeof t!="symbol"?t+"":t,n);let Sle=class{constructor(t,n){this.parent=t,this.domNode=n,$A(this,"subMenuItems"),$A(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",s=>{const a=an(s);let o=!1;switch(a){case Ae.down:{this.gotoSubIndex(this.subIndex+1),o=!0;break}case Ae.up:{this.gotoSubIndex(this.subIndex-1),o=!0;break}case Ae.tab:{Rg(t,"mouseleave");break}case Ae.enter:case Ae.numpadEnter:case Ae.space:{o=!0,s.currentTarget.click();break}}return o&&(s.preventDefault(),s.stopPropagation()),!1})})}};var xle=Object.defineProperty,Ele=(e,t,n)=>t in e?xle(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kle=(e,t,n)=>Ele(e,t+"",n);class Ale{constructor(t,n){this.domNode=t,kle(this,"submenu",null),this.submenu=null,this.init(n)}init(t){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${t}-menu`);n&&(this.submenu=new Sle(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",t=>{const n=an(t);let s=!1;switch(n){case Ae.down:{Rg(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),s=!0;break}case Ae.up:{Rg(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),s=!0;break}case Ae.tab:{Rg(t.currentTarget,"mouseleave");break}case Ae.enter:case Ae.numpadEnter:case Ae.space:{s=!0,t.currentTarget.click();break}}s&&t.preventDefault()})}}let Tle=class{constructor(t,n){this.domNode=t,this.init(n)}init(t){const n=this.domNode.childNodes;Array.from(n).forEach(s=>{s.nodeType===1&&new Ale(s,t)})}};var Mle=W({name:"ElMenuCollapseTransition",__name:"menu-collapse-transition",setup(e){const t=Ee("menu"),n={onBeforeEnter:s=>s.style.opacity="0.2",onEnter(s,a){Lo(s,`${t.namespace.value}-opacity-transition`),s.style.opacity="1",a()},onAfterEnter(s){ra(s,`${t.namespace.value}-opacity-transition`),s.style.opacity=""},onBeforeLeave(s){s.dataset||(s.dataset={}),Zr(s,t.m("collapse"))?(ra(s,t.m("collapse")),s.dataset.oldOverflow=s.style.overflow,s.dataset.scrollWidth=s.clientWidth.toString(),Lo(s,t.m("collapse"))):(Lo(s,t.m("collapse")),s.dataset.oldOverflow=s.style.overflow,s.dataset.scrollWidth=s.clientWidth.toString(),ra(s,t.m("collapse"))),s.style.width=`${s.scrollWidth}px`,s.style.overflow="hidden"},onLeave(s){Lo(s,"horizontal-collapse-transition"),s.style.width=`${s.dataset.scrollWidth}px`}};return(s,a)=>(S(),le(vs,wt({mode:"out-in"},n),{default:X(()=>[ue(s.$slots,"default")]),_:3},16))}});function DA(e,t){const n=k(()=>{let a=e.parent;const o=[t.value];for(;a.type.name!=="ElMenu";)a.props.index&&o.unshift(a.props.index),a=a.parent;return o});return{parentMenu:k(()=>{let a=e.parent;for(;a&&!["ElMenu","ElSubMenu"].includes(a.type.name);)a=a.parent;return a}),indexPath:n}}function Ple(e){return k(()=>{const n=e.backgroundColor;return n?new Bf(n).shade(20).toString():""})}const FA=(e,t)=>{const n=Ee("menu");return k(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":Ple(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},l6="rootMenu",l1="subMenu:",Rle=Te({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,popperStyle:{type:re([String,Object])},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:en},expandOpenIcon:{type:en},collapseCloseIcon:{type:en},collapseOpenIcon:{type:en}}),c6="ElSubMenu";var u6=W({name:c6,props:Rle,setup(e,{slots:t,expose:n}){const s=_t(),{indexPath:a,parentMenu:o}=DA(s,k(()=>e.index)),r=Ee("menu"),i=Ee("sub-menu"),l=je(l6);l||Xn(c6,"can not inject root menu");const c=je(`${l1}${o.value.uid}`);c||Xn(c6,"can not inject sub menu");const u=F({}),d=F({});let h;const p=F(!1),v=F(),m=F(),g=k(()=>c.level===0),b=k(()=>R.value==="horizontal"&&g.value?"bottom-start":"right-start"),C=k(()=>R.value==="horizontal"&&g.value||R.value==="vertical"&&!l.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?E.value?e.expandOpenIcon:e.expandCloseIcon:hr:e.collapseCloseIcon&&e.collapseOpenIcon?E.value?e.collapseOpenIcon:e.collapseCloseIcon:Ls),w=k(()=>{const Q=e.teleported;return $t(Q)?g.value:Q}),_=k(()=>l.props.collapse?`${r.namespace.value}-zoom-in-left`:`${r.namespace.value}-zoom-in-top`),x=k(()=>R.value==="horizontal"&&g.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),E=k(()=>l.openedMenus.includes(e.index)),T=k(()=>[...Object.values(u.value),...Object.values(d.value)].some(({active:Q})=>Q)),R=k(()=>l.props.mode),I=k(()=>l.props.persistent),M=Wt({index:e.index,indexPath:a,active:T}),$=FA(l.props,c.level+1),O=k(()=>{var Q;return(Q=e.popperOffset)!=null?Q:l.props.popperOffset}),B=k(()=>{var Q;return(Q=e.popperClass)!=null?Q:l.props.popperClass}),U=k(()=>{var Q;return(Q=e.popperStyle)!=null?Q:l.props.popperStyle}),J=k(()=>{var Q;return(Q=e.showTimeout)!=null?Q:l.props.showTimeout}),Y=k(()=>{var Q;return(Q=e.hideTimeout)!=null?Q:l.props.hideTimeout}),N=()=>{var Q,K,ee;return(ee=(K=(Q=m.value)==null?void 0:Q.popperRef)==null?void 0:K.popperInstanceRef)==null?void 0:ee.destroy()},L=Q=>{Q||N()},V=()=>{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:T.value})},z=(Q,K=J.value)=>{var ee;if(Q.type!=="focus"){if(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"||e.disabled){c.mouseInChild.value=!0;return}c.mouseInChild.value=!0,h==null||h(),{stop:h}=Ef(()=>{l.openMenu(e.index,a.value)},K),w.value&&((ee=o.value.vnode.el)==null||ee.dispatchEvent(new MouseEvent("mouseenter"))),Q.type==="mouseenter"&&Q.target&&ze(()=>{$p(Q.target,{preventScroll:!0})})}},G=(Q=!1)=>{var K;if(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"){c.mouseInChild.value=!1;return}h==null||h(),c.mouseInChild.value=!1,{stop:h}=Ef(()=>!p.value&&l.closeMenu(e.index,a.value),Y.value),w.value&&Q&&((K=c.handleMouseleave)==null||K.call(c,!0))};me(()=>l.props.collapse,Q=>L(!!Q));{const Q=ee=>{d.value[ee.index]=ee},K=ee=>{delete d.value[ee.index]};Tt(`${l1}${s.uid}`,{addSubMenu:Q,removeSubMenu:K,handleMouseleave:G,mouseInChild:p,level:c.level+1})}return n({opened:E}),St(()=>{l.addSubMenu(M),c.addSubMenu(M)}),Gt(()=>{c.removeSubMenu(M),l.removeSubMenu(M)}),()=>{var Q;const K=[(Q=t.title)==null?void 0:Q.call(t),rt(Je,{class:i.e("icon-arrow"),style:{transform:E.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&l.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>Xe(C.value)?rt(s.appContext.components[C.value]):rt(C.value)})],ee=l.isMenuPopup?rt(Ss,{ref:m,visible:E.value,effect:"light",pure:!0,offset:O.value,showArrow:!1,persistent:I.value,popperClass:B.value,popperStyle:U.value,placement:b.value,teleported:w.value,fallbackPlacements:x.value,transition:_.value,gpuAcceleration:!1},{content:()=>{var ae;return rt("div",{class:[r.m(R.value),r.m("popup-container"),B.value],onMouseenter:fe=>z(fe,100),onMouseleave:()=>G(!0),onFocus:fe=>z(fe,100)},[rt("ul",{class:[r.b(),r.m("popup"),r.m(`popup-${b.value}`)],style:$.value},[(ae=t.default)==null?void 0:ae.call(t)])])},default:()=>rt("div",{class:i.e("title"),onClick:V},K)}):rt(He,{},[rt("div",{class:i.e("title"),ref:v,onClick:V},K),rt(Kg,{},{default:()=>{var ae;return gt(rt("ul",{role:"menu",class:[r.b(),r.m("inline")],style:$.value},[(ae=t.default)==null?void 0:ae.call(t)]),[[Bt,E.value]])}})]);return rt("li",{class:[i.b(),i.is("active",T.value),i.is("opened",E.value),i.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:E.value,onMouseenter:z,onMouseleave:()=>G(),onFocus:z},[ee])}}});const Ile=Te({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:re(Array),default:()=>Rn([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:en,default:()=>e9},popperEffect:{type:re(String),default:"dark"},popperClass:String,popperStyle:{type:re([String,Object])},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),d6=e=>ke(e)&&e.every(t=>Xe(t)),Ole={close:(e,t)=>Xe(e)&&d6(t),open:(e,t)=>Xe(e)&&d6(t),select:(e,t,n,s)=>Xe(e)&&d6(t)&&ht(n)&&($t(s)||s instanceof Promise)},BA=64;var Lle=W({name:"ElMenu",props:Ile,emits:Ole,setup(e,{emit:t,slots:n,expose:s}){const a=_t(),o=a.appContext.config.globalProperties.$router,r=F(),i=F(),l=Ee("menu"),c=Ee("sub-menu");let u=BA;const d=F(-1),h=F(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),p=F(e.defaultActive),v=F({}),m=F({}),g=k(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),b=()=>{const N=p.value&&v.value[p.value];if(!N||e.mode==="horizontal"||e.collapse)return;N.indexPath.forEach(V=>{const z=m.value[V];z&&C(V,z.indexPath)})},C=(N,L)=>{h.value.includes(N)||(e.uniqueOpened&&(h.value=h.value.filter(V=>L.includes(V))),h.value.push(N),t("open",N,L))},w=N=>{const L=h.value.indexOf(N);L!==-1&&h.value.splice(L,1)},_=(N,L)=>{w(N),t("close",N,L)},x=({index:N,indexPath:L})=>{h.value.includes(N)?_(N,L):C(N,L)},E=N=>{(e.mode==="horizontal"||e.collapse)&&(h.value=[]);const{index:L,indexPath:V}=N;if(!(qn(L)||qn(V)))if(e.router&&o){const z=N.route||L,G=o.push(z).then(Q=>(Q||(p.value=L),Q));t("select",L,V,{index:L,indexPath:V,route:z},G)}else p.value=L,t("select",L,V,{index:L,indexPath:V})},T=N=>{var L;const V=v.value,z=V[N]||p.value&&V[p.value]||V[e.defaultActive];p.value=(L=z==null?void 0:z.index)!=null?L:N},R=N=>{const L=getComputedStyle(N),V=Number.parseInt(L.marginLeft,10),z=Number.parseInt(L.marginRight,10);return N.offsetWidth+V+z||0},I=()=>{if(!r.value)return-1;const N=Array.from(r.value.childNodes).filter(ee=>ee.nodeName!=="#comment"&&(ee.nodeName!=="#text"||ee.nodeValue)),L=getComputedStyle(r.value),V=Number.parseInt(L.paddingLeft,10),z=Number.parseInt(L.paddingRight,10),G=r.value.clientWidth-V-z;let Q=0,K=0;return N.forEach((ee,ae)=>{Q+=R(ee),Q<=G-u&&(K=ae+1)}),K===N.length?-1:K},M=N=>m.value[N].indexPath,$=(N,L=33.34)=>{let V;return()=>{V&&clearTimeout(V),V=setTimeout(()=>{N()},L)}};let O=!0;const B=()=>{const N=os(i);if(N&&(u=R(N)||BA),d.value===I())return;const L=()=>{d.value=-1,ze(()=>{d.value=I()})};O?L():$(L)(),O=!1};me(()=>e.defaultActive,N=>{v.value[N]||(p.value=""),T(N)}),me(()=>e.collapse,N=>{N&&(h.value=[])}),me(v.value,b);let U;Wa(()=>{e.mode==="horizontal"&&e.ellipsis?U=bn(r,B).stop:U==null||U()});const J=F(!1);{const N=G=>{m.value[G.index]=G},L=G=>{delete m.value[G.index]};Tt(l6,Wt({props:e,openedMenus:h,items:v,subMenus:m,activeIndex:p,isMenuPopup:g,addMenuItem:G=>{v.value[G.index]=G},removeMenuItem:G=>{delete v.value[G.index]},addSubMenu:N,removeSubMenu:L,openMenu:C,closeMenu:_,handleMenuItemClick:E,handleSubMenuClick:x})),Tt(`${l1}${a.uid}`,{addSubMenu:N,removeSubMenu:L,mouseInChild:J,level:0})}St(()=>{e.mode==="horizontal"&&new Tle(a.vnode.el,l.namespace.value)}),s({open:L=>{const{indexPath:V}=m.value[L];V.forEach(z=>C(z,V))},close:w,updateActiveIndex:T,handleResize:B});const Y=FA(e,0);return()=>{var N,L;let V=(L=(N=n.default)==null?void 0:N.call(n))!=null?L:[];const z=[];if(e.mode==="horizontal"&&r.value){const K=lo(V).filter(fe=>(fe==null?void 0:fe.shapeFlag)!==8),ee=d.value===-1?K:K.slice(0,d.value),ae=d.value===-1?[]:K.slice(d.value);ae!=null&&ae.length&&e.ellipsis&&(V=ee,z.push(rt(u6,{ref:i,index:"sub-menu-more",class:c.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>rt(Je,{class:c.e("icon-more")},{default:()=>rt(e.ellipsisIcon)}),default:()=>ae})))}const G=e.closeOnClickOutside?[[lc,()=>{h.value.length&&(J.value||(h.value.forEach(K=>t("close",K,M(K))),h.value=[]))}]]:[],Q=gt(rt("ul",{key:String(e.collapse),role:"menubar",ref:r,style:Y.value,class:{[l.b()]:!0,[l.m(e.mode)]:!0,[l.m("collapse")]:e.collapse}},[...V,...z]),G);return e.collapseTransition&&e.mode==="vertical"?rt(Mle,()=>Q):Q}}});const Nle=Te({index:{type:re([String,null]),default:null},route:{type:re([String,Object])},disabled:Boolean}),$le={click:e=>Xe(e.index)&&ke(e.indexPath)},f6="ElMenuItem";var VA=W({name:f6,__name:"menu-item",props:Nle,emits:$le,setup(e,{expose:t,emit:n}){const s=e,a=n;Ka(s.index)&&void 0;const o=_t(),r=je(l6),i=Ee("menu"),l=Ee("menu-item");r||Xn(f6,"can not inject root menu");const{parentMenu:c,indexPath:u}=DA(o,Jt(s,"index")),d=je(`${l1}${c.value.uid}`);d||Xn(f6,"can not inject sub menu");const h=k(()=>s.index===r.activeIndex),p=Wt({index:s.index,indexPath:u,active:h}),v=()=>{s.disabled||(r.handleMenuItemClick({index:s.index,indexPath:u.value,route:s.route}),a("click",p))};return St(()=>{d.addSubMenu(p),r.addMenuItem(p)}),Gt(()=>{d.removeSubMenu(p),r.removeMenuItem(p)}),t({parentMenu:c,rootMenu:r,active:h,nsMenu:i,nsMenuItem:l,handleClick:v}),(m,g)=>(S(),P("li",{class:D([f(l).b(),f(l).is("active",h.value),f(l).is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:v},[f(c).type.name==="ElMenu"&&f(r).props.collapse&&m.$slots.title?(S(),le(f(Ss),{key:0,effect:f(r).props.popperEffect,placement:"right","fallback-placements":["left"],"popper-class":f(r).props.popperClass,"popper-style":f(r).props.popperStyle,persistent:f(r).props.persistent,"focus-on-target":""},{content:X(()=>[ue(m.$slots,"title")]),default:X(()=>[A("div",{class:D(f(i).be("tooltip","trigger"))},[ue(m.$slots,"default")],2)]),_:3},8,["effect","popper-class","popper-style","persistent"])):(S(),P(He,{key:1},[ue(m.$slots,"default"),ue(m.$slots,"title")],64))],2))}}),zA=W({name:"ElMenuItemGroup",__name:"menu-item-group",props:{title:String},setup(e){const t=Ee("menu-item-group");return(n,s)=>(S(),P("li",{class:D(f(t).b())},[A("div",{class:D(f(t).e("title"))},[n.$slots.title?ue(n.$slots,"title",{key:1}):(S(),P(He,{key:0},[Ue(ve(e.title),1)],64))],2),A("ul",null,[ue(n.$slots,"default")])],2))}});const Dle=pt(Lle,{MenuItem:VA,MenuItemGroup:zA,SubMenu:u6}),Fle=An(VA),Ble=An(zA),Vle=An(u6),zle=Te({icon:{type:en,default:()=>Wx},title:String,content:{type:String,default:""}}),Hle={back:()=>!0},Wle=["aria-label"];var jle=W({name:"ElPageHeader",__name:"page-header",props:zle,emits:Hle,setup(e,{emit:t}){const n=t,{t:s}=It(),a=Ee("page-header");function o(){n("back")}return(r,i)=>(S(),P("div",{class:D([f(a).b(),f(a).is("contentful",!!r.$slots.default),{[f(a).m("has-breadcrumb")]:!!r.$slots.breadcrumb,[f(a).m("has-extra")]:!!r.$slots.extra}])},[r.$slots.breadcrumb?(S(),P("div",{key:0,class:D(f(a).e("breadcrumb"))},[ue(r.$slots,"breadcrumb")],2)):ie("v-if",!0),A("div",{class:D(f(a).e("header"))},[A("div",{class:D(f(a).e("left"))},[A("div",{class:D(f(a).e("back")),role:"button",tabindex:"0",onClick:o},[e.icon||r.$slots.icon?(S(),P("div",{key:0,"aria-label":e.title||f(s)("el.pageHeader.title"),class:D(f(a).e("icon"))},[ue(r.$slots,"icon",{},()=>[e.icon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.icon)))]),_:1})):ie("v-if",!0)])],10,Wle)):ie("v-if",!0),A("div",{class:D(f(a).e("title"))},[ue(r.$slots,"title",{},()=>[Ue(ve(e.title||f(s)("el.pageHeader.title")),1)])],2)],2),j(f(hA),{direction:"vertical"}),A("div",{class:D(f(a).e("content"))},[ue(r.$slots,"content",{},()=>[Ue(ve(e.content),1)])],2)],2),r.$slots.extra?(S(),P("div",{key:0,class:D(f(a).e("extra"))},[ue(r.$slots,"extra")],2)):ie("v-if",!0)],2),r.$slots.default?(S(),P("div",{key:1,class:D(f(a).e("main"))},[ue(r.$slots,"default")],2)):ie("v-if",!0)],2))}});const Kle=pt(jle),HA=Symbol("elPaginationKey"),Ule=Te({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:en}}),qle={click:e=>e instanceof MouseEvent},Gle=["disabled","aria-label","aria-disabled"],Yle={key:0};var Xle=W({name:"ElPaginationPrev",__name:"prev",props:Ule,emits:qle,setup(e){const t=e,{t:n}=It(),s=k(()=>t.disabled||t.currentPage<=1);return(a,o)=>(S(),P("button",{type:"button",class:"btn-prev",disabled:s.value,"aria-label":a.prevText||f(n)("el.pagination.prev"),"aria-disabled":s.value,onClick:o[0]||(o[0]=r=>a.$emit("click",r))},[a.prevText?(S(),P("span",Yle,ve(a.prevText),1)):(S(),le(f(Je),{key:1},{default:X(()=>[(S(),le(bt(a.prevIcon)))]),_:1}))],8,Gle))}});const Jle=Te({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:en}}),Zle=["disabled","aria-label","aria-disabled"],Qle={key:0};var ece=W({name:"ElPaginationNext",__name:"next",props:Jle,emits:["click"],setup(e){const t=e,{t:n}=It(),s=k(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(a,o)=>(S(),P("button",{type:"button",class:"btn-next",disabled:s.value,"aria-label":a.nextText||f(n)("el.pagination.next"),"aria-disabled":s.value,onClick:o[0]||(o[0]=r=>a.$emit("click",r))},[a.nextText?(S(),P("span",Qle,ve(a.nextText),1)):(S(),le(f(Je),{key:1},{default:X(()=>[(S(),le(bt(a.nextIcon)))]),_:1}))],8,Zle))}});const h6=()=>je(HA,{}),tce=Te({pageSize:{type:Number,required:!0},pageSizes:{type:re(Array),default:()=>Rn([10,20,30,40,50,100])},popperClass:{type:String},popperStyle:{type:re([String,Object])},disabled:Boolean,teleported:Boolean,size:{type:String,values:fr},appendSizeTo:String});var nce=W({name:"ElPaginationSizes",__name:"sizes",props:tce,emits:["page-size-change"],setup(e,{emit:t}){const n=e,s=t,{t:a}=It(),o=Ee("pagination"),r=h6(),i=F(n.pageSize);me(()=>n.pageSizes,(u,d)=>{if(!$n(u,d)&&ke(u)){const h=u.includes(n.pageSize)?n.pageSize:n.pageSizes[0];s("page-size-change",h)}}),me(()=>n.pageSize,u=>{i.value=u});const l=k(()=>n.pageSizes);function c(u){var d;u!==i.value&&(i.value=u,(d=r.handleSizeChange)==null||d.call(r,Number(u)))}return(u,d)=>(S(),P("span",{class:D(f(o).e("sizes"))},[j(f(cc),{"model-value":i.value,disabled:u.disabled,"popper-class":u.popperClass,"popper-style":u.popperStyle,size:u.size,teleported:u.teleported,"validate-event":!1,"append-to":u.appendSizeTo,onChange:c},{default:X(()=>[(S(!0),P(He,null,yt(l.value,h=>(S(),le(f(Hg),{key:h,value:h,label:h+f(a)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","popper-style","size","teleported","append-to"])],2))}});const sce=Te({size:{type:String,values:fr}}),ace=["disabled"];var oce=W({name:"ElPaginationJumper",__name:"jumper",props:sce,setup(e){const{t}=It(),n=Ee("pagination"),{pageCount:s,disabled:a,currentPage:o,changeEvent:r}=h6(),i=F(),l=k(()=>{var d;return(d=i.value)!=null?d:o==null?void 0:o.value});function c(d){i.value=d?+d:""}function u(d){d=Math.trunc(+d),r==null||r(d),i.value=void 0}return(d,h)=>(S(),P("span",{class:D(f(n).e("jump")),disabled:f(a)},[A("span",{class:D([f(n).e("goto")])},ve(f(t)("el.pagination.goto")),3),j(f(la),{size:d.size,class:D([f(n).e("editor"),f(n).is("in-pagination")]),min:1,max:f(s),disabled:f(a),"model-value":l.value,"validate-event":!1,"aria-label":f(t)("el.pagination.page"),type:"number","onUpdate:modelValue":c,onChange:u},null,8,["size","class","max","disabled","model-value","aria-label"]),A("span",{class:D([f(n).e("classifier")])},ve(f(t)("el.pagination.pageClassifier")),3)],10,ace))}});const rce=Te({total:{type:Number,default:1e3}}),ice=["disabled"];var lce=W({name:"ElPaginationTotal",__name:"total",props:rce,setup(e){const{t}=It(),n=Ee("pagination"),{disabled:s}=h6();return(a,o)=>(S(),P("span",{class:D(f(n).e("total")),disabled:f(s)},ve(f(t)("el.pagination.total",{total:a.total})),11,ice))}});const cce=Te({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),uce=["aria-current","aria-label","tabindex"],dce=["tabindex","aria-label"],fce=["aria-current","aria-label","tabindex"],hce=["tabindex","aria-label"],pce=["aria-current","aria-label","tabindex"];var vce=W({name:"ElPaginationPager",__name:"pager",props:cce,emits:[Pt],setup(e,{emit:t}){const n=e,s=t,a=Ee("pager"),o=Ee("icon"),{t:r}=It(),i=F(!1),l=F(!1),c=F(!1),u=F(!1),d=F(!1),h=F(!1),p=k(()=>{const x=n.pagerCount,E=(x-1)/2,T=Number(n.currentPage),R=Number(n.pageCount);let I=!1,M=!1;R>x&&(T>x-E&&(I=!0),T["more","btn-quickprev",o.b(),a.is("disabled",n.disabled)]),m=k(()=>["more","btn-quicknext",o.b(),a.is("disabled",n.disabled)]),g=k(()=>n.disabled?-1:0);me(()=>[n.pageCount,n.pagerCount,n.currentPage],([x,E,T])=>{const R=(E-1)/2;let I=!1,M=!1;x>E&&(I=T>E-R,M=TR&&(T=R)),T!==I&&s(Pt,T)}return(x,E)=>(S(),P("ul",{class:D(f(a).b()),onClick:_,onKeyup:Nn(w,["enter"])},[x.pageCount>0?(S(),P("li",{key:0,class:D([[f(a).is("active",x.currentPage===1),f(a).is("disabled",x.disabled)],"number"]),"aria-current":x.currentPage===1,"aria-label":f(r)("el.pagination.currentPage",{pager:1}),tabindex:g.value}," 1 ",10,uce)):ie("v-if",!0),i.value?(S(),P("li",{key:1,class:D(v.value),tabindex:g.value,"aria-label":f(r)("el.pagination.prevPages",{pager:x.pagerCount-2}),onMouseenter:E[0]||(E[0]=T=>b(!0)),onMouseleave:E[1]||(E[1]=T=>c.value=!1),onFocus:E[2]||(E[2]=T=>C(!0)),onBlur:E[3]||(E[3]=T=>d.value=!1)},[(c.value||d.value)&&!x.disabled?(S(),le(f(Yi),{key:0})):(S(),le(f(By),{key:1}))],42,dce)):ie("v-if",!0),(S(!0),P(He,null,yt(p.value,T=>(S(),P("li",{key:T,class:D([[f(a).is("active",x.currentPage===T),f(a).is("disabled",x.disabled)],"number"]),"aria-current":x.currentPage===T,"aria-label":f(r)("el.pagination.currentPage",{pager:T}),tabindex:g.value},ve(T),11,fce))),128)),l.value?(S(),P("li",{key:2,class:D(m.value),tabindex:g.value,"aria-label":f(r)("el.pagination.nextPages",{pager:x.pagerCount-2}),onMouseenter:E[4]||(E[4]=T=>b()),onMouseleave:E[5]||(E[5]=T=>u.value=!1),onFocus:E[6]||(E[6]=T=>C()),onBlur:E[7]||(E[7]=T=>h.value=!1)},[(u.value||h.value)&&!x.disabled?(S(),le(f(Xi),{key:0})):(S(),le(f(By),{key:1}))],42,hce)):ie("v-if",!0),x.pageCount>1?(S(),P("li",{key:3,class:D([[f(a).is("active",x.currentPage===x.pageCount),f(a).is("disabled",x.disabled)],"number"]),"aria-current":x.currentPage===x.pageCount,"aria-label":f(r)("el.pagination.currentPage",{pager:x.pageCount}),tabindex:g.value},ve(x.pageCount),11,pce)):ie("v-if",!0)],34))}});const Ra=e=>typeof e!="number",mce=Te({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>at(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:re(Array),default:()=>Rn([10,20,30,40,50,100])},popperClass:{type:String,default:""},popperStyle:{type:re([String,Object])},prevText:{type:String,default:""},prevIcon:{type:en,default:()=>No},nextText:{type:String,default:""},nextIcon:{type:en,default:()=>Ls},teleported:{type:Boolean,default:!0},small:Boolean,size:rs,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),gce={"update:current-page":e=>at(e),"update:page-size":e=>at(e),"size-change":e=>at(e),change:(e,t)=>at(e)&&at(t),"current-change":e=>at(e),"prev-click":e=>at(e),"next-click":e=>at(e)},WA="ElPagination";var bce=W({name:WA,props:mce,emits:gce,setup(e,{emit:t,slots:n}){const{t:s}=It(),a=Ee("pagination"),o=_t().vnode.props||{},r=Ox(),i=k(()=>{var x;return e.small?"small":(x=e.size)!=null?x:r.value});ai({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},k(()=>!!e.small));const l="onUpdate:currentPage"in o||"onUpdate:current-page"in o||"onCurrentChange"in o,c="onUpdate:pageSize"in o||"onUpdate:page-size"in o||"onSizeChange"in o,u=k(()=>{if(Ra(e.total)&&Ra(e.pageCount)||!Ra(e.currentPage)&&!l)return!1;if(e.layout.includes("sizes")){if(Ra(e.pageCount)){if(!Ra(e.total)&&!Ra(e.pageSize)&&!c)return!1}else if(!c)return!1}return!0}),d=F(Ra(e.defaultPageSize)?10:e.defaultPageSize),h=F(Ra(e.defaultCurrentPage)?1:e.defaultCurrentPage),p=k({get(){return Ra(e.pageSize)?d.value:e.pageSize},set(x){Ra(e.pageSize)&&(d.value=x),c&&(t("update:page-size",x),t("size-change",x))}}),v=k(()=>{let x=0;return Ra(e.pageCount)?Ra(e.total)||(x=Math.max(1,Math.ceil(e.total/p.value))):x=e.pageCount,x}),m=k({get(){return Ra(e.currentPage)?h.value:e.currentPage},set(x){let E=x;x<1?E=1:x>v.value&&(E=v.value),Ra(e.currentPage)&&(h.value=E),l&&(t("update:current-page",E),t("current-change",E))}});me(v,x=>{m.value>x&&(m.value=x)}),me([m,p],x=>{t(Pt,...x)},{flush:"post"});function g(x){m.value=x}function b(x){p.value=x;const E=v.value;m.value>E&&(m.value=E)}function C(){e.disabled||(m.value-=1,t("prev-click",m.value))}function w(){e.disabled||(m.value+=1,t("next-click",m.value))}function _(x,E){x&&(x.props||(x.props={}),x.props.class=[x.props.class,E].join(" "))}return Tt(HA,{pageCount:v,disabled:k(()=>e.disabled),currentPage:m,changeEvent:g,handleSizeChange:b}),()=>{var x,E;if(!u.value)return s("el.pagination.deprecationWarning"),null;if(!e.layout||e.hideOnSinglePage&&v.value<=1)return null;const T=[],R=[],I=rt("div",{class:a.e("rightwrapper")},R),M={prev:rt(Xle,{disabled:e.disabled,currentPage:m.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:C}),jumper:rt(oce,{size:i.value}),pager:rt(vce,{currentPage:m.value,pageCount:v.value,pagerCount:e.pagerCount,onChange:g,disabled:e.disabled}),next:rt(ece,{disabled:e.disabled,currentPage:m.value,pageCount:v.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:w}),sizes:rt(nce,{pageSize:p.value,pageSizes:e.pageSizes,popperClass:e.popperClass,popperStyle:e.popperStyle,disabled:e.disabled,teleported:e.teleported,size:i.value,appendSizeTo:e.appendSizeTo}),slot:(E=(x=n==null?void 0:n.default)==null?void 0:x.call(n))!=null?E:null,total:rt(lce,{total:Ra(e.total)?0:e.total})},$=e.layout.split(",").map(B=>B.trim());let O=!1;return $.forEach(B=>{if(B==="->"){O=!0;return}O?R.push(M[B]):T.push(M[B])}),_(T[0],a.is("first")),_(T[T.length-1],a.is("last")),O&&R.length>0&&(_(R[0],a.is("first")),_(R[R.length-1],a.is("last")),T.push(I)),rt("div",{class:[a.b(),a.is("background",e.background),a.m(i.value)]},T)}}});const yce=pt(bce),wce=Te({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:f3,default:"primary"},cancelButtonType:{type:String,values:f3,default:"text"},icon:{type:en,default:()=>s9},iconColor:{type:String,default:"#f90"},hideIcon:Boolean,hideAfter:{type:Number,default:200},effect:{...tn.effect,default:"light"},teleported:tn.teleported,persistent:tn.persistent,width:{type:[String,Number],default:150},virtualTriggering:si.virtualTriggering,virtualRef:si.virtualRef});var _ce=W({name:"ElPopconfirm",__name:"popconfirm",props:wce,emits:{confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent},setup(e,{expose:t,emit:n}){const s=e,a=n,{t:o}=It(),r=Ee("popconfirm"),i=F(),l=F(),c=k(()=>{var b;return(b=f(i))==null?void 0:b.popperRef}),u=()=>{var b,C;(C=(b=l.value)==null?void 0:b.focus)==null||C.call(b)},d=()=>{var b,C;(C=(b=i.value)==null?void 0:b.onClose)==null||C.call(b)},h=k(()=>({width:Pn(s.width)})),p=b=>{a("confirm",b),d()},v=b=>{a("cancel",b),d()},m=k(()=>s.confirmButtonText||o("el.popconfirm.confirmButtonText")),g=k(()=>s.cancelButtonText||o("el.popconfirm.cancelButtonText"));return t({popperRef:c,hide:d}),(b,C)=>(S(),le(f(Ss),wt({ref_key:"tooltipRef",ref:i,trigger:"click",effect:e.effect},b.$attrs,{"virtual-triggering":e.virtualTriggering,"virtual-ref":e.virtualRef,"popper-class":`${f(r).namespace.value}-popover`,"popper-style":h.value,teleported:e.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":e.hideAfter,persistent:e.persistent,loop:"",onShow:u}),{content:X(()=>[A("div",{ref_key:"rootRef",ref:l,tabindex:"-1",class:D(f(r).b())},[A("div",{class:D(f(r).e("main"))},[!e.hideIcon&&e.icon?(S(),le(f(Je),{key:0,class:D(f(r).e("icon")),style:tt({color:e.iconColor})},{default:X(()=>[(S(),le(bt(e.icon)))]),_:1},8,["class","style"])):ie("v-if",!0),Ue(" "+ve(e.title),1)],2),A("div",{class:D(f(r).e("action"))},[ue(b.$slots,"actions",{confirm:p,cancel:v},()=>[j(f(gs),{size:"small",type:e.cancelButtonType==="text"?"":e.cancelButtonType,text:e.cancelButtonType==="text",onClick:v},{default:X(()=>[Ue(ve(g.value),1)]),_:1},8,["type","text"]),j(f(gs),{size:"small",type:e.confirmButtonType==="text"?"":e.confirmButtonType,text:e.confirmButtonType==="text",onClick:p},{default:X(()=>[Ue(ve(m.value),1)]),_:1},8,["type","text"])])],2)],2)]),default:X(()=>[b.$slots.reference?ue(b.$slots,"reference",{key:0}):ie("v-if",!0)]),_:3},16,["effect","virtual-triggering","virtual-ref","popper-class","popper-style","teleported","hide-after","persistent"]))}});const Cce=pt(_ce),Sce=Te({trigger:si.trigger,triggerKeys:si.triggerKeys,placement:s1.placement,disabled:si.disabled,visible:tn.visible,transition:tn.transition,popperOptions:s1.popperOptions,tabindex:s1.tabindex,content:tn.content,popperStyle:tn.popperStyle,popperClass:tn.popperClass,enterable:{...tn.enterable,default:!0},effect:{...tn.effect,default:"light"},teleported:tn.teleported,appendTo:tn.appendTo,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},"onUpdate:visible":{type:Function}}),xce={"update:visible":e=>Qt(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},Ece="onUpdate:visible";var kce=W({name:"ElPopover",__name:"popover",props:Sce,emits:xce,setup(e,{expose:t,emit:n}){const s=e,a=n,o=k(()=>s[Ece]),r=Ee("popover"),i=F(),l=k(()=>{var b;return(b=f(i))==null?void 0:b.popperRef}),c=k(()=>[{width:Pn(s.width)},s.popperStyle]),u=k(()=>[r.b(),s.popperClass,{[r.m("plain")]:!!s.content}]),d=k(()=>s.transition===`${r.namespace.value}-fade-in-linear`),h=()=>{var b;(b=i.value)==null||b.hide()},p=()=>{a("before-enter")},v=()=>{a("before-leave")},m=()=>{a("after-enter")},g=()=>{a("update:visible",!1),a("after-leave")};return t({popperRef:l,hide:h}),(b,C)=>(S(),le(f(Ss),wt({ref_key:"tooltipRef",ref:i},b.$attrs,{trigger:e.trigger,"trigger-keys":e.triggerKeys,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,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":u.value,"popper-style":c.value,teleported:e.teleported,"append-to":e.appendTo,persistent:e.persistent,"gpu-acceleration":d.value,"onUpdate:visible":o.value,onBeforeShow:p,onBeforeHide:v,onShow:m,onHide:g}),{content:X(()=>[e.title?(S(),P("div",{key:0,class:D(f(r).e("title")),role:"title"},ve(e.title),3)):ie("v-if",!0),ue(b.$slots,"default",{},()=>[Ue(ve(e.content),1)])]),default:X(()=>[b.$slots.reference?ue(b.$slots,"reference",{key:0}):ie("v-if",!0)]),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}});const jA=(e,t)=>{const n=t.arg||t.value,s=n==null?void 0:n.popperRef;s&&(s.triggerRef=e)};var Ace={mounted(e,t){jA(e,t)},updated(e,t){jA(e,t)}};const KA=oz(Ace,"popover"),Tce=pt(kce,{directive:KA}),Mce=Te({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:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:re(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:re([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:re(Function),default:e=>`${e}%`}}),Pce=["aria-valuenow"],Rce={viewBox:"0 0 100 100"},Ice=["d","stroke","stroke-linecap","stroke-width"],Oce=["d","stroke","opacity","stroke-linecap","stroke-width"],Lce={key:0};var Nce=W({name:"ElProgress",__name:"progress",props:Mce,setup(e){const t={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},n=e,s=Ee("progress"),a=k(()=>{const w={width:`${n.percentage}%`,animationDuration:`${n.duration}s`},_=C(n.percentage);return _.includes("gradient")?w.background=_:w.backgroundColor=_,w}),o=k(()=>(n.strokeWidth/n.width*100).toFixed(1)),r=k(()=>["circle","dashboard"].includes(n.type)?Number.parseInt(`${50-Number.parseFloat(o.value)/2}`,10):0),i=k(()=>{const w=r.value,_=n.type==="dashboard";return` +`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=new RegExp("(?:^"+n+"$)|(?:^"+a+"$)"),r=new RegExp("^"+n+"$"),i=new RegExp("^"+a+"$"),l=function(C){return C&&C.exact?o:new RegExp("(?:"+t(C)+n+t(C)+")|(?:"+t(C)+a+t(C)+")","g")};l.v4=function(w){return w&&w.exact?r:new RegExp(""+t(w)+n+t(w),"g")},l.v6=function(w){return w&&w.exact?i:new RegExp(""+t(w)+a+t(w),"g")};var c="(?:(?:[a-z]+:)?//)",u="(?:\\S+(?::\\S*)?@)?",d=l.v4().source,h=l.v6().source,p="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",m="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",b='(?:[/?#][^\\s"]*)?',_="(?:"+c+"|www\\.)"+u+"(?:localhost|"+d+"|"+h+"|"+p+v+m+")"+g+b;return i1=new RegExp("(?:^"+_+"$)","i"),i1},RA={email:/^(([^<>()\[\]\\.,;:\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,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Yp={integer:function(t){return Yp.number(t)&&parseInt(t,10)===t},float:function(t){return Yp.number(t)&&!Yp.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"&&!Yp.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(RA.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(_ie())},hex:function(t){return typeof t=="string"&&!!t.match(RA.hex)}},Cie=function(t,n,s,a,o){if(t.required&&n===void 0){PA(t,n,s,a,o);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],i=t.type;r.indexOf(i)>-1?Yp[i](n)||a.push(ho(o.messages.types[i],t.fullField,t.type)):i&&typeof n!==t.type&&a.push(ho(o.messages.types[i],t.fullField,t.type))},Sie=function(t,n,s,a,o){var r=typeof t.len=="number",i=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=n,d=null,h=typeof n=="number",p=typeof n=="string",v=Array.isArray(n);if(h?d="number":p?d="string":v&&(d="array"),!d)return!1;v&&(u=n.length),p&&(u=n.replace(c,"_").length),r?u!==t.len&&a.push(ho(o.messages[d].len,t.fullField,t.len)):i&&!l&&ut.max?a.push(ho(o.messages[d].max,t.fullField,t.max)):i&&l&&(ut.max)&&a.push(ho(o.messages[d].range,t.fullField,t.min,t.max))},Kf="enum",xie=function(t,n,s,a,o){t[Kf]=Array.isArray(t[Kf])?t[Kf]:[],t[Kf].indexOf(n)===-1&&a.push(ho(o.messages[Kf],t.fullField,t[Kf].join(", ")))},Eie=function(t,n,s,a,o){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||a.push(ho(o.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(n)||a.push(ho(o.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},vn={required:PA,whitespace:wie,type:Cie,range:Sie,enum:xie,pattern:Eie},kie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n,"string")&&!t.required)return s();vn.required(t,n,a,r,o,"string"),xs(n,"string")||(vn.type(t,n,a,r,o),vn.range(t,n,a,r,o),vn.pattern(t,n,a,r,o),t.whitespace===!0&&vn.whitespace(t,n,a,r,o))}s(r)},Aie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),n!==void 0&&vn.type(t,n,a,r,o)}s(r)},Tie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(n===""&&(n=void 0),xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),n!==void 0&&(vn.type(t,n,a,r,o),vn.range(t,n,a,r,o))}s(r)},Mie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),n!==void 0&&vn.type(t,n,a,r,o)}s(r)},Pie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),xs(n)||vn.type(t,n,a,r,o)}s(r)},Rie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),n!==void 0&&(vn.type(t,n,a,r,o),vn.range(t,n,a,r,o))}s(r)},Iie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),n!==void 0&&(vn.type(t,n,a,r,o),vn.range(t,n,a,r,o))}s(r)},Oie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(n==null&&!t.required)return s();vn.required(t,n,a,r,o,"array"),n!=null&&(vn.type(t,n,a,r,o),vn.range(t,n,a,r,o))}s(r)},Lie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),n!==void 0&&vn.type(t,n,a,r,o)}s(r)},Nie="enum",$ie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o),n!==void 0&&vn[Nie](t,n,a,r,o)}s(r)},Die=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n,"string")&&!t.required)return s();vn.required(t,n,a,r,o),xs(n,"string")||vn.pattern(t,n,a,r,o)}s(r)},Fie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n,"date")&&!t.required)return s();if(vn.required(t,n,a,r,o),!xs(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),vn.type(t,l,a,r,o),l&&vn.range(t,l.getTime(),a,r,o)}}s(r)},Bie=function(t,n,s,a,o){var r=[],i=Array.isArray(n)?"array":typeof n;vn.required(t,n,a,r,o,i),s(r)},o6=function(t,n,s,a,o){var r=t.type,i=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(xs(n,r)&&!t.required)return s();vn.required(t,n,a,i,o,r),xs(n,r)||vn.type(t,n,a,i,o)}s(i)},Vie=function(t,n,s,a,o){var r=[],i=t.required||!t.required&&a.hasOwnProperty(t.field);if(i){if(xs(n)&&!t.required)return s();vn.required(t,n,a,r,o)}s(r)},Xp={string:kie,method:Aie,number:Tie,boolean:Mie,regexp:Pie,integer:Rie,float:Iie,array:Oie,object:Lie,enum:$ie,pattern:Die,date:Fie,url:o6,hex:o6,email:o6,required:Bie,any:Vie};function r6(){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 i6=r6(),Jp=function(){function e(n){this.rules=null,this._messages=i6,this.define(n)}var t=e.prototype;return t.define=function(s){var a=this;if(!s)throw new Error("Cannot configure a schema with no rules");if(typeof s!="object"||Array.isArray(s))throw new Error("Rules must be an object");this.rules={},Object.keys(s).forEach(function(o){var r=s[o];a.rules[o]=Array.isArray(r)?r:[r]})},t.messages=function(s){return s&&(this._messages=MA(r6(),s)),this._messages},t.validate=function(s,a,o){var r=this;a===void 0&&(a={}),o===void 0&&(o=function(){});var i=s,l=a,c=o;if(typeof l=="function"&&(c=l,l={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,i),Promise.resolve(i);function u(m){var g=[],b={};function _(C){if(Array.isArray(C)){var x;g=(x=g).concat.apply(x,C)}else g.push(C)}for(var w=0;w");const a=Ee("form"),o=F(),r=F(0),i=()=>{var u;if((u=o.value)!=null&&u.firstElementChild){const d=window.getComputedStyle(o.value.firstElementChild).width;return Math.ceil(Number.parseFloat(d))}else return 0},l=(u="update")=>{ze(()=>{t.default&&e.isAutoWidth&&(u==="update"?r.value=i():u==="remove"&&(n==null||n.deregisterLabelWidth(r.value)))})},c=()=>l("update");return St(()=>{c()}),Gt(()=>{l("remove")}),or(()=>c()),me(r,(u,d)=>{e.updateAll&&(n==null||n.registerLabelWidth(u,d))}),bn(k(()=>{var u,d;return(d=(u=o.value)==null?void 0:u.firstElementChild)!=null?d:null}),c),()=>{var u,d;if(!t)return null;const{isAutoWidth:h}=e;if(h){const p=n==null?void 0:n.autoLabelWidth,v=s==null?void 0:s.hasLabel,m={};if(v&&p&&p!=="auto"){const g=Math.max(0,Number.parseInt(p,10)-r.value),_=(s.labelPosition||n.labelPosition)==="left"?"marginRight":"marginLeft";g&&(m[_]=`${g}px`)}return j("div",{ref:o,class:[a.be("item","label-wrap")],style:m},[(u=t.default)==null?void 0:u.call(t)])}else return j(He,{ref:o},[(d=t.default)==null?void 0:d.call(t)])}}});const Hie=["role","aria-labelledby"];var OA=W({name:"ElFormItem",__name:"form-item",props:lie,setup(e,{expose:t}){const n=e,s=zn(),a=je(Su,void 0),o=je(ni,void 0),r=ts(void 0,{formItem:!1}),i=Ee("form-item"),l=$s().value,c=F([]),u=F(""),d=VV(u,100),h=F(""),p=F();let v,m=!1;const g=k(()=>n.labelPosition||(a==null?void 0:a.labelPosition)),b=k(()=>{var he;return g.value==="top"?{}:{width:Pn((he=n.labelWidth)!=null?he:a==null?void 0:a.labelWidth)}}),_=k(()=>{var he;if(g.value==="top"||a!=null&&a.inline)return{};if(!n.label&&!n.labelWidth&&M)return{};const ce=Pn((he=n.labelWidth)!=null?he:a==null?void 0:a.labelWidth);return!n.label&&!s.label?{marginLeft:ce}:{}}),w=k(()=>[i.b(),i.m(r.value),i.is("error",u.value==="error"),i.is("validating",u.value==="validating"),i.is("success",u.value==="success"),i.is("required",J.value||n.required),i.is("no-asterisk",a==null?void 0:a.hideRequiredAsterisk),(a==null?void 0:a.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[i.m("feedback")]:a==null?void 0:a.statusIcon,[i.m(`label-${g.value}`)]:g.value}]),C=k(()=>Qt(n.inlineMessage)?n.inlineMessage:(a==null?void 0:a.inlineMessage)||!1),x=k(()=>[i.e("error"),{[i.em("error","inline")]:C.value}]),E=k(()=>n.prop?ke(n.prop)?n.prop.join("."):n.prop:""),T=k(()=>!!(n.label||s.label)),R=k(()=>{var he;return(he=n.for)!=null?he:c.value.length===1?c.value[0]:void 0}),I=k(()=>!R.value&&T.value),M=!!o,$=k(()=>{const he=a==null?void 0:a.model;if(!(!he||!n.prop))return kf(he,n.prop).value}),O=k(()=>{const{required:he}=n,ce=[];n.rules&&ce.push(..._s(n.rules));const Z=a==null?void 0:a.rules;if(Z&&n.prop){const H=kf(Z,n.prop).value;H&&ce.push(..._s(H))}if(he!==void 0){const H=ce.map((te,de)=>[te,de]).filter(([te])=>"required"in te);if(H.length>0)for(const[te,de]of H)te.required!==he&&(ce[de]={...te,required:he});else ce.push({required:he})}return ce}),B=k(()=>O.value.length>0),U=he=>O.value.filter(Z=>!Z.trigger||!he?!0:ke(Z.trigger)?Z.trigger.includes(he):Z.trigger===he).map(({trigger:Z,...H})=>H),J=k(()=>O.value.some(he=>he.required)),Y=k(()=>{var he;return d.value==="error"&&n.showMessage&&((he=a==null?void 0:a.showMessage)!=null?he:!0)}),N=k(()=>`${n.label||""}${(a==null?void 0:a.labelSuffix)||""}`),L=he=>{u.value=he},V=he=>{var ce,Z;const{errors:H,fields:te}=he;(!H||!te)&&console.error(he),L("error"),h.value=H?(Z=(ce=H==null?void 0:H[0])==null?void 0:ce.message)!=null?Z:`${n.prop} is required`:"",a==null||a.emit("validate",n.prop,!1,h.value)},z=()=>{L("success"),a==null||a.emit("validate",n.prop,!0,"")},G=async he=>{const ce=E.value;return new Jp({[ce]:he}).validate({[ce]:$.value},{firstFields:!0}).then(()=>(z(),!0)).catch(H=>(V(H),Promise.reject(H)))},Q=async(he,ce)=>{if(m||!n.prop)return!1;const Z=et(ce);if(!B.value)return ce==null||ce(!1),!1;const H=U(he);return H.length===0?(ce==null||ce(!0),!0):(L("validating"),G(H).then(()=>(ce==null||ce(!0),!0)).catch(te=>{const{fields:de}=te;return ce==null||ce(!1,de),Z?!1:Promise.reject(de)}))},K=()=>{L(""),h.value="",m=!1},ee=async()=>{const he=a==null?void 0:a.model;if(!he||!n.prop)return;const ce=kf(he,n.prop);m=!0,ce.value=wy(v),await ze(),K(),m=!1},ae=he=>{c.value.includes(he)||c.value.push(he)},fe=he=>{c.value=c.value.filter(ce=>ce!==he)},ne=he=>{v=wy(he)};me(()=>n.error,he=>{h.value=he||"",L(he?"error":"")},{immediate:!0}),me(()=>n.validateStatus,he=>L(he||""));const pe=Wt({...ps(n),$el:p,size:r,validateMessage:h,validateState:u,labelId:l,inputIds:c,isGroup:I,hasLabel:T,fieldValue:$,addInputId:ae,removeInputId:fe,resetField:ee,clearValidate:K,validate:Q,propString:E,setInitialValue:ne});return Tt(ni,pe),St(()=>{n.prop&&(a==null||a.addField(pe),v=wy($.value))}),Gt(()=>{a==null||a.removeField(pe)}),t({size:r,validateMessage:h,validateState:u,validate:Q,clearValidate:K,resetField:ee,setInitialValue:ne}),(he,ce)=>{var Z;return S(),P("div",{ref_key:"formItemRef",ref:p,class:D(w.value),role:I.value?"group":void 0,"aria-labelledby":I.value?f(l):void 0},[j(f(zie),{"is-auto-width":b.value.width==="auto","update-all":((Z=f(a))==null?void 0:Z.labelWidth)==="auto"},{default:X(()=>[e.label||he.$slots.label?(S(),le(bt(R.value?"label":"div"),{key:0,id:f(l),for:R.value,class:D(f(i).e("label")),style:tt(b.value)},{default:X(()=>[ue(he.$slots,"label",{label:N.value},()=>[Ue(ve(N.value),1)])]),_:3},8,["id","for","class","style"])):ie("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),A("div",{class:D(f(i).e("content")),style:tt(_.value)},[ue(he.$slots,"default"),j(BS,{name:`${f(i).namespace.value}-zoom-in-top`},{default:X(()=>[Y.value?ue(he.$slots,"error",{key:0,error:h.value},()=>[A("div",{class:D(x.value)},ve(h.value),3)]):ie("v-if",!0)]),_:3},8,["name"])],6)],10,Hie)}}});const Wie=pt(rie,{FormItem:OA}),jie=An(OA),Kie=Me({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:re([String,Object])},previewSrcList:{type:re(Array),default:()=>Rn([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:re(String)}}),Uie={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>at(e),close:()=>!0,show:()=>!0},qie=Me({urlList:{type:re(Array),default:()=>Rn([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:re(String)}}),Gie={close:()=>!0,error:e=>e instanceof Event,switch:e=>at(e),rotate:e=>at(e)},Yie=["src","crossorigin"];var Xie=W({name:"ElImageViewer",__name:"image-viewer",props:qie,emits:Gie,setup(e,{expose:t,emit:n}){var s;const a={CONTAIN:{name:"contain",icon:Hr(Fy)},ORIGINAL:{name:"original",icon:Hr(r9)}},o=e,r=n;let i;const{t:l}=It(),c=Ee("image-viewer"),{nextZIndex:u}=yp(),d=F(),h=F(),p=VI(),v=k(()=>{const{scale:ce,minScale:Z,maxScale:H}=o;return wx(ce,Z,H)}),m=F(!0),g=F(!1),b=F(!1),_=F(o.initialIndex),w=hn(a.CONTAIN),C=F({scale:v.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),x=F((s=o.zIndex)!=null?s:u());n1(b,{ns:c});const E=k(()=>{const{urlList:ce}=o;return ce.length<=1}),T=k(()=>_.value===0),R=k(()=>_.value===o.urlList.length-1),I=k(()=>o.urlList[_.value]),M=k(()=>[c.e("btn"),c.e("prev"),c.is("disabled",!o.infinite&&T.value)]),$=k(()=>[c.e("btn"),c.e("next"),c.is("disabled",!o.infinite&&R.value)]),O=k(()=>{const{scale:ce,deg:Z,offsetX:H,offsetY:te,enableTransition:de}=C.value;let be=H/ce,Ce=te/ce;const Se=Z*Math.PI/180,Ne=Math.cos(Se),Ve=Math.sin(Se);be=be*Ne+Ce*Ve,Ce=Ce*Ne-H/ce*Ve;const $e={transform:`scale(${ce}) rotate(${Z}deg) translate(${be}px, ${Ce}px)`,transition:de?"transform .3s":""};return w.value.name===a.CONTAIN.name&&($e.maxWidth=$e.maxHeight="100%"),$e}),B=k(()=>`${_.value+1} / ${o.urlList.length}`);function U(){Y(),i==null||i(),b.value=!1,r("close")}function J(){const ce=Ql(H=>{switch(an(H)){case Te.esc:o.closeOnPressEscape&&U();break;case Te.space:Q();break;case Te.left:ee();break;case Te.up:fe("zoomIn");break;case Te.right:ae();break;case Te.down:fe("zoomOut");break}}),Z=Ql(H=>{const te=H.deltaY||H.deltaX;fe(te<0?"zoomIn":"zoomOut",{zoomRate:o.zoomRate,enableTransition:!1})});p.run(()=>{Zt(document,"keydown",ce),Zt(d,"wheel",Z)})}function Y(){p.stop()}function N(){m.value=!1}function L(ce){g.value=!0,m.value=!1,r("error",ce),ce.target.alt=l("el.image.error")}function V(ce){if(m.value||ce.button!==0||!d.value)return;C.value.enableTransition=!1;const{offsetX:Z,offsetY:H}=C.value,te=ce.pageX,de=ce.pageY,be=Ql(Ne=>{C.value={...C.value,offsetX:Z+Ne.pageX-te,offsetY:H+Ne.pageY-de}}),Ce=Zt(document,"mousemove",be),Se=Zt(document,"mouseup",()=>{Ce(),Se()});ce.preventDefault()}function z(ce){if(m.value||!d.value||ce.touches.length!==1)return;C.value.enableTransition=!1;const{offsetX:Z,offsetY:H}=C.value,{pageX:te,pageY:de}=ce.touches[0],be=Ql(Ne=>{const Ve=Ne.touches[0];C.value={...C.value,offsetX:Z+Ve.pageX-te,offsetY:H+Ve.pageY-de}}),Ce=Zt(document,"touchmove",be),Se=Zt(document,"touchend",()=>{Ce(),Se()});ce.preventDefault()}function G(){C.value={scale:v.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function Q(){if(m.value||g.value)return;const ce=_p(a),Z=Object.values(a),H=w.value.name,de=(Z.findIndex(be=>be.name===H)+1)%ce.length;w.value=a[ce[de]],G()}function K(ce){g.value=!1;const Z=o.urlList.length;_.value=(ce+Z)%Z}function ee(){T.value&&!o.infinite||K(_.value-1)}function ae(){R.value&&!o.infinite||K(_.value+1)}function fe(ce,Z={}){if(m.value||g.value)return;const{minScale:H,maxScale:te}=o,{zoomRate:de,rotateDeg:be,enableTransition:Ce}={zoomRate:o.zoomRate,rotateDeg:90,enableTransition:!0,...Z};switch(ce){case"zoomOut":C.value.scale>H&&(C.value.scale=Number.parseFloat((C.value.scale/de).toFixed(3)));break;case"zoomIn":C.value.scale0)return ce.preventDefault(),!1}}return me(()=>v.value,ce=>{C.value.scale=ce}),me(I,()=>{ze(()=>{const ce=h.value;ce!=null&&ce.complete||(m.value=!0)})}),me(_,ce=>{G(),r("switch",ce)}),St(()=>{b.value=!0,J(),i=Zt("wheel",he,{passive:!1})}),t({setActiveItem:K}),(ce,Z)=>(S(),le(f(Tf),{to:"body",disabled:!e.teleported},{default:X(()=>[j(vs,{name:"viewer-fade",appear:""},{default:X(()=>[A("div",{ref_key:"wrapper",ref:d,tabindex:-1,class:D(f(c).e("wrapper")),style:tt({zIndex:x.value})},[j(f(Df),{loop:"",trapped:"","focus-trap-el":d.value,"focus-start-el":"container",onFocusoutPrevented:ne,onReleaseRequested:pe},{default:X(()=>[A("div",{class:D(f(c).e("mask")),onClick:Z[0]||(Z[0]=lt(H=>e.hideOnClickModal&&U(),["self"]))},null,2),ie(" CLOSE "),A("span",{class:D([f(c).e("btn"),f(c).e("close")]),onClick:U},[j(f(Je),null,{default:X(()=>[j(f(Ua))]),_:1})],2),ie(" ARROW "),E.value?ie("v-if",!0):(S(),P(He,{key:0},[A("span",{class:D(M.value),onClick:ee},[j(f(Je),null,{default:X(()=>[j(f(No))]),_:1})],2),A("span",{class:D($.value),onClick:ae},[j(f(Je),null,{default:X(()=>[j(f(Ls))]),_:1})],2)],64)),ce.$slots.progress||e.showProgress?(S(),P("div",{key:1,class:D([f(c).e("btn"),f(c).e("progress")])},[ue(ce.$slots,"progress",{activeIndex:_.value,total:e.urlList.length},()=>[Ue(ve(B.value),1)])],2)):ie("v-if",!0),ie(" ACTIONS "),A("div",{class:D([f(c).e("btn"),f(c).e("actions")])},[A("div",{class:D(f(c).e("actions__inner"))},[ue(ce.$slots,"toolbar",{actions:fe,prev:ee,next:ae,reset:Q,activeIndex:_.value,setActiveItem:K},()=>[j(f(Je),{onClick:Z[1]||(Z[1]=H=>fe("zoomOut"))},{default:X(()=>[j(f(Wy))]),_:1}),j(f(Je),{onClick:Z[2]||(Z[2]=H=>fe("zoomIn"))},{default:X(()=>[j(f(xg))]),_:1}),A("i",{class:D(f(c).e("actions__divider"))},null,2),j(f(Je),{onClick:Q},{default:X(()=>[(S(),le(bt(w.value.icon)))]),_:1}),A("i",{class:D(f(c).e("actions__divider"))},null,2),j(f(Je),{onClick:Z[3]||(Z[3]=H=>fe("anticlockwise"))},{default:X(()=>[j(f(Sg))]),_:1}),j(f(Je),{onClick:Z[4]||(Z[4]=H=>fe("clockwise"))},{default:X(()=>[j(f(o9))]),_:1})])],2)],2),ie(" CANVAS "),A("div",{class:D(f(c).e("canvas"))},[g.value&&ce.$slots["viewer-error"]?ue(ce.$slots,"viewer-error",{key:0,activeIndex:_.value,src:I.value}):(S(),P("img",{ref_key:"imgRef",ref:h,key:I.value,src:I.value,style:tt(O.value),class:D(f(c).e("img")),crossorigin:e.crossorigin,onLoad:N,onError:L,onMousedown:V,onTouchstart:z},null,46,Yie))],2),ue(ce.$slots,"default")]),_:3},8,["focus-trap-el"])],6)]),_:3})]),_:3},8,["disabled"]))}});const LA=pt(Xie),Jie=["src","loading","crossorigin"],Zie={key:0};var Qie=W({name:"ElImage",inheritAttrs:!1,__name:"image",props:Kie,emits:Uie,setup(e,{expose:t,emit:n}){const s=e,a=n,{t:o}=It(),r=Ee("image"),i=Bi(),l=k(()=>hp(Object.entries(i).filter(([N])=>/^(data-|on[A-Z])/i.test(N)||["id","style"].includes(N)))),c=Pg({excludeListeners:!0,excludeKeys:k(()=>Object.keys(l.value))}),u=F(),d=F(!1),h=F(!0),p=F(!1),v=F(),m=F(),g=jt&&"loading"in HTMLImageElement.prototype;let b;const _=k(()=>[r.e("inner"),C.value&&r.e("preview"),h.value&&r.is("loading")]),w=k(()=>{const{fit:N}=s;return jt&&N?{objectFit:N}:{}}),C=k(()=>{const{previewSrcList:N}=s;return ke(N)&&N.length>0}),x=k(()=>{const{previewSrcList:N,initialIndex:L}=s;let V=L;return L>N.length-1&&(V=0),V}),E=k(()=>s.loading==="eager"?!1:!g&&s.loading==="lazy"||s.lazy),T=()=>{jt&&(h.value=!0,d.value=!1,u.value=s.src)};function R(N){h.value=!1,d.value=!1,a("load",N)}function I(N){h.value=!1,d.value=!0,a("error",N)}function M(N){N&&(T(),B())}const $=Cx(M,200,!0);async function O(){var N;if(!jt)return;await ze();const{scrollContainer:L}=s;if(ja(L))m.value=L;else if(Xe(L)&&L!=="")m.value=(N=document.querySelector(L))!=null?N:void 0;else if(v.value){const z=Oy(v.value);m.value=mp(z)?void 0:z}const{stop:V}=GV(v,([z])=>{$(z.isIntersecting)},{root:m});b=V}function B(){!jt||!$||(b==null||b(),m.value=void 0,b=void 0)}function U(){C.value&&(p.value=!0,a("show"))}function J(){p.value=!1,a("close")}function Y(N){a("switch",N)}return me(()=>s.src,()=>{E.value?(h.value=!0,d.value=!1,B(),O()):T()}),St(()=>{E.value?O():T()}),t({showPreview:U}),(N,L)=>(S(),P("div",wt({ref_key:"container",ref:v},l.value,{class:[f(r).b(),N.$attrs.class]}),[d.value?ue(N.$slots,"error",{key:0},()=>[A("div",{class:D(f(r).e("error"))},ve(f(o)("el.image.error")),3)]):(S(),P(He,{key:1},[u.value!==void 0?(S(),P("img",wt({key:0},f(c),{src:u.value,loading:e.loading,style:w.value,class:_.value,crossorigin:e.crossorigin,onClick:U,onLoad:R,onError:I}),null,16,Jie)):ie("v-if",!0),h.value?(S(),P("div",{key:1,class:D(f(r).e("wrapper"))},[ue(N.$slots,"placeholder",{},()=>[A("div",{class:D(f(r).e("placeholder"))},null,2)])],2)):ie("v-if",!0)],64)),C.value?(S(),P(He,{key:2},[p.value?(S(),le(f(LA),{key:0,"z-index":e.zIndex,"initial-index":x.value,infinite:e.infinite,"zoom-rate":e.zoomRate,"min-scale":e.minScale,"max-scale":e.maxScale,"show-progress":e.showProgress,"url-list":e.previewSrcList,scale:e.scale,crossorigin:e.crossorigin,"hide-on-click-modal":e.hideOnClickModal,teleported:e.previewTeleported,"close-on-press-escape":e.closeOnPressEscape,onClose:J,onSwitch:Y},ka({toolbar:X(V=>[ue(N.$slots,"toolbar",Oi(Vi(V)))]),default:X(()=>[N.$slots.viewer?(S(),P("div",Zie,[ue(N.$slots,"viewer")])):ie("v-if",!0)]),_:2},[N.$slots.progress?{name:"progress",fn:X(V=>[ue(N.$slots,"progress",Oi(Vi(V)))]),key:"0"}:void 0,N.$slots["viewer-error"]?{name:"viewer-error",fn:X(V=>[ue(N.$slots,"viewer-error",Oi(Vi(V)))]),key:"1"}:void 0]),1032,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","show-progress","url-list","scale","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):ie("v-if",!0)],64)):ie("v-if",!0)],16))}});const ele=pt(Qie),tle=Me({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:{type:Boolean,default:void 0},size:rs,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:re([String,Number,null]),validator:e=>e===null||at(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0},...ia(["ariaLabel"]),inputmode:{type:re(String),default:void 0},align:{type:re(String),default:"center"},disabledScientific:Boolean}),nle={[Pt]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[es]:e=>at(e)||qn(e),[ct]:e=>at(e)||qn(e)},sle=["aria-label"],ale=["aria-label"];var ole=W({name:"ElInputNumber",__name:"input-number",props:tle,emits:nle,setup(e,{expose:t,emit:n}){const s=e,a=n,{t:o}=It(),r=Ee("input-number"),i=F(),l=Wt({currentValue:s.modelValue,userInput:null}),{formItem:c}=Cs(),u=k(()=>at(s.modelValue)&&s.modelValue<=s.min),d=k(()=>at(s.modelValue)&&s.modelValue>=s.max),h=k(()=>{const N=_(s.step);return $t(s.precision)?Math.max(_(s.modelValue),N):(N>s.precision,s.precision)}),p=k(()=>s.controls&&s.controlsPosition==="right"),v=ts(),m=In(),g=k(()=>{if(l.userInput!==null)return l.userInput;let N=l.currentValue;if(qn(N))return"";if(at(N)){if(Number.isNaN(N))return"";$t(s.precision)||(N=N.toFixed(s.precision))}return N}),b=(N,L)=>{if($t(L)&&(L=h.value),L===0)return Math.round(N);let V=String(N);const z=V.indexOf(".");if(z===-1||!V.replace(".","").split("")[z+L])return N;const K=V.length;return V.charAt(K-1)==="5"&&(V=`${V.slice(0,Math.max(0,K-1))}6`),Number.parseFloat(Number(V).toFixed(L))},_=N=>{if(qn(N))return 0;const L=N.toString(),V=L.indexOf(".");let z=0;return V!==-1&&(z=L.length-V-1),z},w=(N,L=1)=>at(N)?N>=Number.MAX_SAFE_INTEGER&&L===1||N<=Number.MIN_SAFE_INTEGER&&L===-1?N:b(N+s.step*L):l.currentValue,C=N=>{const L=an(N),V=pE(N);if(s.disabledScientific&&["e","E"].includes(V)){N.preventDefault();return}switch(L){case Te.up:{N.preventDefault(),x();break}case Te.down:{N.preventDefault(),E();break}}},x=()=>{if(s.readonly||m.value||d.value)return;const N=Number(g.value)||0,L=w(N);R(L),a(es,l.currentValue),J()},E=()=>{if(s.readonly||m.value||u.value)return;const N=Number(g.value)||0,L=w(N,-1);R(L),a(es,l.currentValue),J()},T=(N,L)=>{const{max:V,min:z,step:G,precision:Q,stepStrictly:K,valueOnClear:ee}=s;VV||aeV?V:z,L&&a(ct,ae)),ae},R=(N,L=!0)=>{var V;const z=l.currentValue,G=T(N);if(!L){a(ct,G);return}l.userInput=null,!(z===G&&N)&&(a(ct,G),z!==G&&a(Pt,G,z),s.validateEvent&&((V=c==null?void 0:c.validate)==null||V.call(c,"change").catch(Q=>void 0)),l.currentValue=G)},I=N=>{l.userInput=N;const L=N===""?null:Number(N);a(es,L),R(L,!1)},M=N=>{const L=N!==""?Number(N):"";(at(L)&&!Number.isNaN(L)||N==="")&&R(L),J(),l.userInput=null},$=()=>{var N,L;(L=(N=i.value)==null?void 0:N.focus)==null||L.call(N)},O=()=>{var N,L;(L=(N=i.value)==null?void 0:N.blur)==null||L.call(N)},B=N=>{a("focus",N)},U=N=>{var L,V;l.userInput=null,l.currentValue===null&&((L=i.value)!=null&&L.input)&&(i.value.input.value=""),a("blur",N),s.validateEvent&&((V=c==null?void 0:c.validate)==null||V.call(c,"blur").catch(z=>void 0))},J=()=>{l.currentValue!==s.modelValue&&(l.currentValue=s.modelValue)},Y=N=>{document.activeElement===N.target&&N.preventDefault()};return me(()=>s.modelValue,(N,L)=>{const V=T(N,!0);l.userInput===null&&V!==L&&(l.currentValue=V)},{immediate:!0}),me(()=>s.precision,()=>{l.currentValue=T(s.modelValue)}),St(()=>{var N;const{min:L,max:V,modelValue:z}=s,G=(N=i.value)==null?void 0:N.input;if(G.setAttribute("role","spinbutton"),Number.isFinite(V)?G.setAttribute("aria-valuemax",String(V)):G.removeAttribute("aria-valuemax"),Number.isFinite(L)?G.setAttribute("aria-valuemin",String(L)):G.removeAttribute("aria-valuemin"),G.setAttribute("aria-valuenow",l.currentValue||l.currentValue===0?String(l.currentValue):""),G.setAttribute("aria-disabled",String(m.value)),!at(z)&&z!=null){let Q=Number(z);Number.isNaN(Q)&&(Q=null),a(ct,Q)}G.addEventListener("wheel",Y,{passive:!1})}),or(()=>{var N,L;const V=(N=i.value)==null?void 0:N.input;V==null||V.setAttribute("aria-valuenow",`${(L=l.currentValue)!=null?L:""}`)}),t({focus:$,blur:O}),(N,L)=>(S(),P("div",{class:D([f(r).b(),f(r).m(f(v)),f(r).is("disabled",f(m)),f(r).is("without-controls",!e.controls),f(r).is("controls-right",p.value),f(r).is(e.align,!!e.align)]),onDragstart:L[0]||(L[0]=lt(()=>{},["prevent"]))},[e.controls?gt((S(),P("span",{key:0,role:"button","aria-label":f(o)("el.inputNumber.decrease"),class:D([f(r).e("decrease"),f(r).is("disabled",u.value)]),onKeydown:Nn(E,["enter"])},[ue(N.$slots,"decrease-icon",{},()=>[j(f(Je),null,{default:X(()=>[p.value?(S(),le(f(hr),{key:0})):(S(),le(f(Qx),{key:1}))]),_:1})])],42,sle)),[[f(Gg),E]]):ie("v-if",!0),e.controls?gt((S(),P("span",{key:1,role:"button","aria-label":f(o)("el.inputNumber.increase"),class:D([f(r).e("increase"),f(r).is("disabled",d.value)]),onKeydown:Nn(x,["enter"])},[ue(N.$slots,"increase-icon",{},()=>[j(f(Je),null,{default:X(()=>[p.value?(S(),le(f(Sp),{key:0})):(S(),le(f(Vy),{key:1}))]),_:1})])],42,ale)),[[f(Gg),x]]):ie("v-if",!0),j(f(la),{id:e.id,ref_key:"input",ref:i,type:"number",step:e.step,"model-value":g.value,placeholder:e.placeholder,readonly:e.readonly,disabled:f(m),size:f(v),max:e.max,min:e.min,name:e.name,"aria-label":e.ariaLabel,"validate-event":!1,inputmode:e.inputmode,onKeydown:C,onBlur:U,onFocus:B,onInput:I,onChange:M},ka({_:2},[N.$slots.prefix?{name:"prefix",fn:X(()=>[ue(N.$slots,"prefix")]),key:"0"}:void 0,N.$slots.suffix?{name:"suffix",fn:X(()=>[ue(N.$slots,"suffix")]),key:"1"}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode"])],34))}});const NA=pt(ole),rle=Me({modelValue:{type:re(Array)},max:Number,tagType:{...sl.type,default:"info"},tagEffect:sl.effect,effect:{type:re(String),default:"light"},trigger:{type:re(String),default:Te.enter},draggable:Boolean,delimiter:{type:[String,RegExp],default:""},size:rs,clearable:Boolean,clearIcon:{type:en,default:$o},disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},readonly:Boolean,autofocus:Boolean,id:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},placeholder:String,autocomplete:{type:re(String),default:"off"},saveOnBlur:{type:Boolean,default:!0},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},ariaLabel:String}),ile={[ct]:e=>ke(e)||$t(e),[Pt]:e=>ke(e)||$t(e),[es]:e=>Xe(e),"add-tag":e=>Xe(e)||ke(e),"remove-tag":(e,t)=>Xe(e)&&at(t),"drag-tag":(e,t,n)=>at(e)&&at(t)&&Xe(n),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0};function lle({props:e,emit:t,formItem:n}){const s=In(),a=ts(),o=hn(),r=F(),i=F(),l=k(()=>["small"].includes(a.value)?"small":"default"),c=k(()=>{var J;return(J=e.modelValue)!=null&&J.length?void 0:e.placeholder}),u=k(()=>!(e.readonly||s.value)),d=k(()=>{var J,Y;return $t(e.max)?!1:((Y=(J=e.modelValue)==null?void 0:J.length)!=null?Y:0)>=e.max}),h=k(()=>{var J;return e.collapseTags?(J=e.modelValue)==null?void 0:J.slice(0,e.maxCollapseTags):e.modelValue}),p=k(()=>{var J;return e.collapseTags?(J=e.modelValue)==null?void 0:J.slice(e.maxCollapseTags):[]}),v=J=>{var Y;const N=[...(Y=e.modelValue)!=null?Y:[],..._s(J)];t(ct,N),t(Pt,N),t("add-tag",J),r.value=void 0},m=J=>{var Y,N;const L=J.split(e.delimiter).filter(V=>V&&V!==J);if(e.max){const V=e.max-((N=(Y=e.modelValue)==null?void 0:Y.length)!=null?N:0);L.splice(V)}return L.length===1?L[0]:L},g=J=>{if(d.value){r.value=void 0;return}if(!$.value){if(e.delimiter&&r.value){const Y=m(r.value);Y.length&&v(Y)}t(es,J.target.value)}},b=J=>{var Y;if($.value)return;switch(an(J)){case e.trigger:J.preventDefault(),J.stopPropagation(),w();break;case Te.numpadEnter:e.trigger===Te.enter&&(J.preventDefault(),J.stopPropagation(),w());break;case Te.backspace:!r.value&&((Y=e.modelValue)!=null&&Y.length)&&(J.preventDefault(),J.stopPropagation(),C(e.modelValue.length-1));break}},_=J=>{if($.value||!F9())return;switch(an(J)){case Te.space:e.trigger===Te.space&&(J.preventDefault(),J.stopPropagation(),w());break}},w=()=>{var J;const Y=(J=r.value)==null?void 0:J.trim();!Y||d.value||v(Y)},C=J=>{var Y;const N=((Y=e.modelValue)!=null?Y:[]).slice(),[L]=N.splice(J,1);t(ct,N),t(Pt,N),t("remove-tag",L,J)},x=()=>{r.value=void 0,t(ct,void 0),t(Pt,void 0),t("clear")},E=(J,Y,N)=>{var L;const V=((L=e.modelValue)!=null?L:[]).slice(),[z]=V.splice(J,1),G=Y>J&&N==="before"?-1:Y{var J;(J=o.value)==null||J.focus()},R=()=>{var J;(J=o.value)==null||J.blur()},{wrapperRef:I,isFocused:M}=Qi(o,{disabled:s,beforeBlur(J){var Y;return(Y=i.value)==null?void 0:Y.isFocusInsideContent(J)},afterBlur(){var J;e.saveOnBlur?w():r.value=void 0,e.validateEvent&&((J=n==null?void 0:n.validate)==null||J.call(n,"blur").catch(Y=>void 0))}}),{isComposing:$,handleCompositionStart:O,handleCompositionUpdate:B,handleCompositionEnd:U}=Dp({afterComposition:g});return me(()=>e.modelValue,()=>{var J;e.validateEvent&&((J=n==null?void 0:n.validate)==null||J.call(n,Pt).catch(Y=>void 0))}),{inputRef:o,wrapperRef:I,tagTooltipRef:i,isFocused:M,isComposing:$,inputValue:r,size:a,tagSize:l,placeholder:c,closable:u,disabled:s,inputLimit:d,showTagList:h,collapseTagList:p,handleDragged:E,handleInput:g,handleKeydown:b,handleKeyup:_,handleAddTag:w,handleRemoveTag:C,handleClear:x,handleCompositionStart:O,handleCompositionUpdate:B,handleCompositionEnd:U,focus:T,blur:R}}function cle(){const e=F(!1);return{hovering:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}function ule({wrapperRef:e,handleDragged:t,afterDragged:n}){const s=Ee("input-tag"),a=hn(),o=F(!1);let r,i,l,c;function u(v){return`.${s.e("inner")} .${s.namespace.value}-tag:nth-child(${v+1})`}function d(v,m){r=m,i=e.value.querySelector(u(m)),i&&(i.style.opacity="0.5"),v.dataTransfer.effectAllowed="move"}function h(v,m){if(l=m,v.preventDefault(),v.dataTransfer.dropEffect="move",$t(r)||r===m){o.value=!1;return}const g=e.value.querySelector(u(m)).getBoundingClientRect(),b=r+1!==m,_=r-1!==m,w=v.clientX-g.left,C=b?_?.5:1:-1,x=_?b?.5:0:1;w<=g.width*C?c="before":w>g.width*x?c="after":c=void 0;const E=e.value.querySelector(`.${s.e("inner")}`),T=E.getBoundingClientRect(),R=Number.parseFloat(Gi(E,"gap"))/2,I=g.top-T.top;let M=-9999;if(c==="before")M=Math.max(g.left-T.left-R,Math.floor(-R/2));else if(c==="after"){const $=g.right-T.left;M=$+(T.width===$?Math.floor(R/2):R)}Fx(a.value,{top:`${I}px`,left:`${M}px`}),o.value=!!c}function p(v){v.preventDefault(),i&&(i.style.opacity=""),c&&!$t(r)&&!$t(l)&&r!==l&&t(r,l,c),o.value=!1,r=void 0,i=null,l=void 0,c=void 0,n==null||n()}return{dropIndicatorRef:a,showDropIndicator:o,handleDragStart:d,handleDragOver:h,handleDragEnd:p}}function dle({props:e,isFocused:t,hovering:n,disabled:s,inputValue:a,size:o,validateState:r,validateIcon:i,needStatusIcon:l}){const c=Bi(),u=zn(),d=Ee("input-tag"),h=Ee("input"),p=F(),v=F(),m=k(()=>[d.b(),d.is("focused",t.value),d.is("hovering",n.value),d.is("disabled",s.value),d.m(o.value),d.e("wrapper"),c.class]),g=k(()=>[c.style]),b=k(()=>{var I,M;return[d.e("inner"),d.is("draggable",e.draggable),d.is("left-space",!((I=e.modelValue)!=null&&I.length)&&!u.prefix),d.is("right-space",!((M=e.modelValue)!=null&&M.length)&&!w.value)]}),_=k(()=>{var I;return e.clearable&&!s.value&&!e.readonly&&(((I=e.modelValue)==null?void 0:I.length)||a.value)&&(t.value||n.value)}),w=k(()=>u.suffix||_.value||r.value&&i.value&&l.value),C=Wt({innerWidth:0,collapseItemWidth:0}),x=()=>{if(!v.value)return 0;const I=window.getComputedStyle(v.value);return Number.parseFloat(I.gap||"6px")},E=()=>{C.innerWidth=Number.parseFloat(window.getComputedStyle(v.value).width)},T=()=>{C.collapseItemWidth=p.value.getBoundingClientRect().width},R=k(()=>{if(!e.collapseTags)return{};const I=x(),M=I+zg,$=p.value&&e.maxCollapseTags===1?C.innerWidth-C.collapseItemWidth-I-M:C.innerWidth-M;return{maxWidth:`${Math.max($,0)}px`}});return bn(v,E),bn(p,T),{ns:d,nsInput:h,containerKls:m,containerStyle:g,innerKls:b,showClear:_,showSuffix:w,tagStyle:R,collapseItemRef:p,innerRef:v}}const fle=["id","minlength","maxlength","disabled","readonly","autocomplete","tabindex","placeholder","autofocus","ariaLabel"],hle=["textContent"];var ple=W({name:"ElInputTag",inheritAttrs:!1,__name:"input-tag",props:rle,emits:ile,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Pg(),r=zn(),{form:i,formItem:l}=Cs(),{inputId:c}=uo(s,{formItemContext:l}),u=k(()=>{var $e;return($e=i==null?void 0:i.statusIcon)!=null?$e:!1}),d=k(()=>(l==null?void 0:l.validateState)||""),h=k(()=>d.value&&Eg[d.value]),{inputRef:p,wrapperRef:v,tagTooltipRef:m,isFocused:g,inputValue:b,size:_,tagSize:w,placeholder:C,closable:x,disabled:E,showTagList:T,collapseTagList:R,handleDragged:I,handleInput:M,handleKeydown:$,handleKeyup:O,handleRemoveTag:B,handleClear:U,handleCompositionStart:J,handleCompositionUpdate:Y,handleCompositionEnd:N,focus:L,blur:V}=lle({props:s,emit:a,formItem:l}),{hovering:z,handleMouseEnter:G,handleMouseLeave:Q}=cle(),{calculatorRef:K,inputStyle:ee}=E3(),{dropIndicatorRef:ae,showDropIndicator:fe,handleDragStart:ne,handleDragOver:pe,handleDragEnd:he}=ule({wrapperRef:v,handleDragged:I,afterDragged:L}),{ns:ce,nsInput:Z,containerKls:H,containerStyle:te,innerKls:de,showClear:be,showSuffix:Ce,tagStyle:Se,collapseItemRef:Ne,innerRef:Ve}=dle({props:s,hovering:z,isFocused:g,inputValue:b,disabled:E,size:_,validateState:d,validateIcon:h,needStatusIcon:u});return t({focus:L,blur:V}),($e,_e)=>(S(),P("div",{ref_key:"wrapperRef",ref:v,class:D(f(H)),style:tt(f(te)),onMouseenter:_e[8]||(_e[8]=(...Oe)=>f(G)&&f(G)(...Oe)),onMouseleave:_e[9]||(_e[9]=(...Oe)=>f(Q)&&f(Q)(...Oe))},[f(r).prefix?(S(),P("div",{key:0,class:D(f(ce).e("prefix"))},[ue($e.$slots,"prefix")],2)):ie("v-if",!0),A("div",{ref_key:"innerRef",ref:Ve,class:D(f(de))},[(S(!0),P(He,null,yt(f(T),(Oe,Pe)=>(S(),le(f(al),{key:Pe,size:f(w),closable:f(x),type:e.tagType,effect:e.tagEffect,draggable:f(x)&&e.draggable,style:tt(f(Se)),"disable-transitions":"",onClose:We=>f(B)(Pe),onDragstart:We=>f(ne)(We,Pe),onDragover:We=>f(pe)(We,Pe),onDragend:f(he),onDrop:_e[0]||(_e[0]=lt(()=>{},["stop"]))},{default:X(()=>[ue($e.$slots,"tag",{value:Oe,index:Pe},()=>[Ue(ve(Oe),1)])]),_:2},1032,["size","closable","type","effect","draggable","style","onClose","onDragstart","onDragover","onDragend"]))),128)),e.collapseTags&&e.modelValue&&e.modelValue.length>e.maxCollapseTags?(S(),le(f(Ss),{key:0,ref_key:"tagTooltipRef",ref:m,disabled:!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom"},{default:X(()=>[A("div",{ref_key:"collapseItemRef",ref:Ne,class:D(f(ce).e("collapse-tag"))},[j(f(al),{closable:!1,size:f(w),type:e.tagType,effect:e.tagEffect,"disable-transitions":""},{default:X(()=>[Ue(" + "+ve(e.modelValue.length-e.maxCollapseTags),1)]),_:1},8,["size","type","effect"])],2)]),content:X(()=>[A("div",{class:D(f(ce).e("input-tag-list"))},[(S(!0),P(He,null,yt(f(R),(Oe,Pe)=>(S(),le(f(al),{key:Pe,size:f(w),closable:f(x),type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:We=>f(B)(Pe+e.maxCollapseTags)},{default:X(()=>[ue($e.$slots,"tag",{value:Oe,index:Pe+e.maxCollapseTags},()=>[Ue(ve(Oe),1)])]),_:2},1032,["size","closable","type","effect","onClose"]))),128))],2)]),_:3},8,["disabled","effect"])):ie("v-if",!0),A("div",{class:D(f(ce).e("input-wrapper"))},[gt(A("input",wt({id:f(c),ref_key:"inputRef",ref:p,"onUpdate:modelValue":_e[1]||(_e[1]=Oe=>pn(b)?b.value=Oe:null)},f(o),{type:"text",minlength:e.minlength,maxlength:e.maxlength,disabled:f(E),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,placeholder:f(C),autofocus:e.autofocus,ariaLabel:e.ariaLabel,class:f(ce).e("input"),style:f(ee),onCompositionstart:_e[2]||(_e[2]=(...Oe)=>f(J)&&f(J)(...Oe)),onCompositionupdate:_e[3]||(_e[3]=(...Oe)=>f(Y)&&f(Y)(...Oe)),onCompositionend:_e[4]||(_e[4]=(...Oe)=>f(N)&&f(N)(...Oe)),onInput:_e[5]||(_e[5]=(...Oe)=>f(M)&&f(M)(...Oe)),onKeydown:_e[6]||(_e[6]=(...Oe)=>f($)&&f($)(...Oe)),onKeyup:_e[7]||(_e[7]=(...Oe)=>f(O)&&f(O)(...Oe))}),null,16,fle),[[WS,f(b)]]),A("span",{ref_key:"calculatorRef",ref:K,"aria-hidden":"true",class:D(f(ce).e("input-calculator")),textContent:ve(f(b))},null,10,hle)],2),gt(A("div",{ref_key:"dropIndicatorRef",ref:ae,class:D(f(ce).e("drop-indicator"))},null,2),[[Bt,f(fe)]])],2),f(Ce)?(S(),P("div",{key:1,class:D(f(ce).e("suffix"))},[ue($e.$slots,"suffix"),f(be)?(S(),le(f(Je),{key:0,class:D([f(ce).e("icon"),f(ce).e("clear")]),onMousedown:lt(f(qt),["prevent"]),onClick:f(U)},{default:X(()=>[(S(),le(bt(e.clearIcon)))]),_:1},8,["class","onMousedown","onClick"])):ie("v-if",!0),d.value&&h.value&&u.value?(S(),le(f(Je),{key:1,class:D([f(Z).e("icon"),f(Z).e("validateIcon"),f(Z).is("loading",d.value==="validating")])},{default:X(()=>[(S(),le(bt(h.value)))]),_:1},8,["class"])):ie("v-if",!0)],2)):ie("v-if",!0)],38))}});const vle=pt(ple),mle=Me({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:en}}),gle={click:e=>e instanceof MouseEvent},ble=["href","target"];var yle=W({name:"ElLink",__name:"link",props:mle,emits:gle,setup(e,{emit:t}){const n=e,s=t,a=Af("link");ai({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},k(()=>Qt(n.underline)));const o=Ee("link"),r=k(()=>{var c,u,d;return[o.b(),o.m((d=(u=n.type)!=null?u:(c=a.value)==null?void 0:c.type)!=null?d:"default"),o.is("disabled",n.disabled),o.is("underline",i.value==="always"),o.is("hover-underline",i.value==="hover"&&!n.disabled)]}),i=k(()=>{var c,u,d;return Qt(n.underline)?n.underline?"hover":"never":(d=(u=n.underline)!=null?u:(c=a.value)==null?void 0:c.underline)!=null?d:"hover"});function l(c){n.disabled||s("click",c)}return(c,u)=>(S(),P("a",{class:D(r.value),href:e.disabled||!e.href?void 0:e.href,target:e.disabled||!e.href?void 0:e.target,onClick:l},[e.icon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.icon)))]),_:1})):ie("v-if",!0),c.$slots.default?(S(),P("span",{key:1,class:D(f(o).e("inner"))},[ue(c.$slots,"default")],2)):ie("v-if",!0),c.$slots.icon?ue(c.$slots,"icon",{key:2}):ie("v-if",!0)],10,ble))}});const wle=pt(yle);var _le=Object.defineProperty,Cle=(e,t,n)=>t in e?_le(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$A=(e,t,n)=>Cle(e,typeof t!="symbol"?t+"":t,n);let Sle=class{constructor(t,n){this.parent=t,this.domNode=n,$A(this,"subMenuItems"),$A(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",s=>{const a=an(s);let o=!1;switch(a){case Te.down:{this.gotoSubIndex(this.subIndex+1),o=!0;break}case Te.up:{this.gotoSubIndex(this.subIndex-1),o=!0;break}case Te.tab:{Rg(t,"mouseleave");break}case Te.enter:case Te.numpadEnter:case Te.space:{o=!0,s.currentTarget.click();break}}return o&&(s.preventDefault(),s.stopPropagation()),!1})})}};var xle=Object.defineProperty,Ele=(e,t,n)=>t in e?xle(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kle=(e,t,n)=>Ele(e,t+"",n);class Ale{constructor(t,n){this.domNode=t,kle(this,"submenu",null),this.submenu=null,this.init(n)}init(t){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${t}-menu`);n&&(this.submenu=new Sle(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",t=>{const n=an(t);let s=!1;switch(n){case Te.down:{Rg(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),s=!0;break}case Te.up:{Rg(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),s=!0;break}case Te.tab:{Rg(t.currentTarget,"mouseleave");break}case Te.enter:case Te.numpadEnter:case Te.space:{s=!0,t.currentTarget.click();break}}s&&t.preventDefault()})}}let Tle=class{constructor(t,n){this.domNode=t,this.init(n)}init(t){const n=this.domNode.childNodes;Array.from(n).forEach(s=>{s.nodeType===1&&new Ale(s,t)})}};var Mle=W({name:"ElMenuCollapseTransition",__name:"menu-collapse-transition",setup(e){const t=Ee("menu"),n={onBeforeEnter:s=>s.style.opacity="0.2",onEnter(s,a){Lo(s,`${t.namespace.value}-opacity-transition`),s.style.opacity="1",a()},onAfterEnter(s){ra(s,`${t.namespace.value}-opacity-transition`),s.style.opacity=""},onBeforeLeave(s){s.dataset||(s.dataset={}),Zr(s,t.m("collapse"))?(ra(s,t.m("collapse")),s.dataset.oldOverflow=s.style.overflow,s.dataset.scrollWidth=s.clientWidth.toString(),Lo(s,t.m("collapse"))):(Lo(s,t.m("collapse")),s.dataset.oldOverflow=s.style.overflow,s.dataset.scrollWidth=s.clientWidth.toString(),ra(s,t.m("collapse"))),s.style.width=`${s.scrollWidth}px`,s.style.overflow="hidden"},onLeave(s){Lo(s,"horizontal-collapse-transition"),s.style.width=`${s.dataset.scrollWidth}px`}};return(s,a)=>(S(),le(vs,wt({mode:"out-in"},n),{default:X(()=>[ue(s.$slots,"default")]),_:3},16))}});function DA(e,t){const n=k(()=>{let a=e.parent;const o=[t.value];for(;a.type.name!=="ElMenu";)a.props.index&&o.unshift(a.props.index),a=a.parent;return o});return{parentMenu:k(()=>{let a=e.parent;for(;a&&!["ElMenu","ElSubMenu"].includes(a.type.name);)a=a.parent;return a}),indexPath:n}}function Ple(e){return k(()=>{const n=e.backgroundColor;return n?new Bf(n).shade(20).toString():""})}const FA=(e,t)=>{const n=Ee("menu");return k(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":Ple(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},l6="rootMenu",l1="subMenu:",Rle=Me({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,popperStyle:{type:re([String,Object])},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:en},expandOpenIcon:{type:en},collapseCloseIcon:{type:en},collapseOpenIcon:{type:en}}),c6="ElSubMenu";var u6=W({name:c6,props:Rle,setup(e,{slots:t,expose:n}){const s=_t(),{indexPath:a,parentMenu:o}=DA(s,k(()=>e.index)),r=Ee("menu"),i=Ee("sub-menu"),l=je(l6);l||Xn(c6,"can not inject root menu");const c=je(`${l1}${o.value.uid}`);c||Xn(c6,"can not inject sub menu");const u=F({}),d=F({});let h;const p=F(!1),v=F(),m=F(),g=k(()=>c.level===0),b=k(()=>R.value==="horizontal"&&g.value?"bottom-start":"right-start"),_=k(()=>R.value==="horizontal"&&g.value||R.value==="vertical"&&!l.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?E.value?e.expandOpenIcon:e.expandCloseIcon:hr:e.collapseCloseIcon&&e.collapseOpenIcon?E.value?e.collapseOpenIcon:e.collapseCloseIcon:Ls),w=k(()=>{const Q=e.teleported;return $t(Q)?g.value:Q}),C=k(()=>l.props.collapse?`${r.namespace.value}-zoom-in-left`:`${r.namespace.value}-zoom-in-top`),x=k(()=>R.value==="horizontal"&&g.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),E=k(()=>l.openedMenus.includes(e.index)),T=k(()=>[...Object.values(u.value),...Object.values(d.value)].some(({active:Q})=>Q)),R=k(()=>l.props.mode),I=k(()=>l.props.persistent),M=Wt({index:e.index,indexPath:a,active:T}),$=FA(l.props,c.level+1),O=k(()=>{var Q;return(Q=e.popperOffset)!=null?Q:l.props.popperOffset}),B=k(()=>{var Q;return(Q=e.popperClass)!=null?Q:l.props.popperClass}),U=k(()=>{var Q;return(Q=e.popperStyle)!=null?Q:l.props.popperStyle}),J=k(()=>{var Q;return(Q=e.showTimeout)!=null?Q:l.props.showTimeout}),Y=k(()=>{var Q;return(Q=e.hideTimeout)!=null?Q:l.props.hideTimeout}),N=()=>{var Q,K,ee;return(ee=(K=(Q=m.value)==null?void 0:Q.popperRef)==null?void 0:K.popperInstanceRef)==null?void 0:ee.destroy()},L=Q=>{Q||N()},V=()=>{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:T.value})},z=(Q,K=J.value)=>{var ee;if(Q.type!=="focus"){if(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"||e.disabled){c.mouseInChild.value=!0;return}c.mouseInChild.value=!0,h==null||h(),{stop:h}=Ef(()=>{l.openMenu(e.index,a.value)},K),w.value&&((ee=o.value.vnode.el)==null||ee.dispatchEvent(new MouseEvent("mouseenter"))),Q.type==="mouseenter"&&Q.target&&ze(()=>{$p(Q.target,{preventScroll:!0})})}},G=(Q=!1)=>{var K;if(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"){c.mouseInChild.value=!1;return}h==null||h(),c.mouseInChild.value=!1,{stop:h}=Ef(()=>!p.value&&l.closeMenu(e.index,a.value),Y.value),w.value&&Q&&((K=c.handleMouseleave)==null||K.call(c,!0))};me(()=>l.props.collapse,Q=>L(!!Q));{const Q=ee=>{d.value[ee.index]=ee},K=ee=>{delete d.value[ee.index]};Tt(`${l1}${s.uid}`,{addSubMenu:Q,removeSubMenu:K,handleMouseleave:G,mouseInChild:p,level:c.level+1})}return n({opened:E}),St(()=>{l.addSubMenu(M),c.addSubMenu(M)}),Gt(()=>{c.removeSubMenu(M),l.removeSubMenu(M)}),()=>{var Q;const K=[(Q=t.title)==null?void 0:Q.call(t),rt(Je,{class:i.e("icon-arrow"),style:{transform:E.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&l.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>Xe(_.value)?rt(s.appContext.components[_.value]):rt(_.value)})],ee=l.isMenuPopup?rt(Ss,{ref:m,visible:E.value,effect:"light",pure:!0,offset:O.value,showArrow:!1,persistent:I.value,popperClass:B.value,popperStyle:U.value,placement:b.value,teleported:w.value,fallbackPlacements:x.value,transition:C.value,gpuAcceleration:!1},{content:()=>{var ae;return rt("div",{class:[r.m(R.value),r.m("popup-container"),B.value],onMouseenter:fe=>z(fe,100),onMouseleave:()=>G(!0),onFocus:fe=>z(fe,100)},[rt("ul",{class:[r.b(),r.m("popup"),r.m(`popup-${b.value}`)],style:$.value},[(ae=t.default)==null?void 0:ae.call(t)])])},default:()=>rt("div",{class:i.e("title"),onClick:V},K)}):rt(He,{},[rt("div",{class:i.e("title"),ref:v,onClick:V},K),rt(Kg,{},{default:()=>{var ae;return gt(rt("ul",{role:"menu",class:[r.b(),r.m("inline")],style:$.value},[(ae=t.default)==null?void 0:ae.call(t)]),[[Bt,E.value]])}})]);return rt("li",{class:[i.b(),i.is("active",T.value),i.is("opened",E.value),i.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:E.value,onMouseenter:z,onMouseleave:()=>G(),onFocus:z},[ee])}}});const Ile=Me({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:re(Array),default:()=>Rn([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:en,default:()=>e9},popperEffect:{type:re(String),default:"dark"},popperClass:String,popperStyle:{type:re([String,Object])},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),d6=e=>ke(e)&&e.every(t=>Xe(t)),Ole={close:(e,t)=>Xe(e)&&d6(t),open:(e,t)=>Xe(e)&&d6(t),select:(e,t,n,s)=>Xe(e)&&d6(t)&&ht(n)&&($t(s)||s instanceof Promise)},BA=64;var Lle=W({name:"ElMenu",props:Ile,emits:Ole,setup(e,{emit:t,slots:n,expose:s}){const a=_t(),o=a.appContext.config.globalProperties.$router,r=F(),i=F(),l=Ee("menu"),c=Ee("sub-menu");let u=BA;const d=F(-1),h=F(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),p=F(e.defaultActive),v=F({}),m=F({}),g=k(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),b=()=>{const N=p.value&&v.value[p.value];if(!N||e.mode==="horizontal"||e.collapse)return;N.indexPath.forEach(V=>{const z=m.value[V];z&&_(V,z.indexPath)})},_=(N,L)=>{h.value.includes(N)||(e.uniqueOpened&&(h.value=h.value.filter(V=>L.includes(V))),h.value.push(N),t("open",N,L))},w=N=>{const L=h.value.indexOf(N);L!==-1&&h.value.splice(L,1)},C=(N,L)=>{w(N),t("close",N,L)},x=({index:N,indexPath:L})=>{h.value.includes(N)?C(N,L):_(N,L)},E=N=>{(e.mode==="horizontal"||e.collapse)&&(h.value=[]);const{index:L,indexPath:V}=N;if(!(qn(L)||qn(V)))if(e.router&&o){const z=N.route||L,G=o.push(z).then(Q=>(Q||(p.value=L),Q));t("select",L,V,{index:L,indexPath:V,route:z},G)}else p.value=L,t("select",L,V,{index:L,indexPath:V})},T=N=>{var L;const V=v.value,z=V[N]||p.value&&V[p.value]||V[e.defaultActive];p.value=(L=z==null?void 0:z.index)!=null?L:N},R=N=>{const L=getComputedStyle(N),V=Number.parseInt(L.marginLeft,10),z=Number.parseInt(L.marginRight,10);return N.offsetWidth+V+z||0},I=()=>{if(!r.value)return-1;const N=Array.from(r.value.childNodes).filter(ee=>ee.nodeName!=="#comment"&&(ee.nodeName!=="#text"||ee.nodeValue)),L=getComputedStyle(r.value),V=Number.parseInt(L.paddingLeft,10),z=Number.parseInt(L.paddingRight,10),G=r.value.clientWidth-V-z;let Q=0,K=0;return N.forEach((ee,ae)=>{Q+=R(ee),Q<=G-u&&(K=ae+1)}),K===N.length?-1:K},M=N=>m.value[N].indexPath,$=(N,L=33.34)=>{let V;return()=>{V&&clearTimeout(V),V=setTimeout(()=>{N()},L)}};let O=!0;const B=()=>{const N=os(i);if(N&&(u=R(N)||BA),d.value===I())return;const L=()=>{d.value=-1,ze(()=>{d.value=I()})};O?L():$(L)(),O=!1};me(()=>e.defaultActive,N=>{v.value[N]||(p.value=""),T(N)}),me(()=>e.collapse,N=>{N&&(h.value=[])}),me(v.value,b);let U;Wa(()=>{e.mode==="horizontal"&&e.ellipsis?U=bn(r,B).stop:U==null||U()});const J=F(!1);{const N=G=>{m.value[G.index]=G},L=G=>{delete m.value[G.index]};Tt(l6,Wt({props:e,openedMenus:h,items:v,subMenus:m,activeIndex:p,isMenuPopup:g,addMenuItem:G=>{v.value[G.index]=G},removeMenuItem:G=>{delete v.value[G.index]},addSubMenu:N,removeSubMenu:L,openMenu:_,closeMenu:C,handleMenuItemClick:E,handleSubMenuClick:x})),Tt(`${l1}${a.uid}`,{addSubMenu:N,removeSubMenu:L,mouseInChild:J,level:0})}St(()=>{e.mode==="horizontal"&&new Tle(a.vnode.el,l.namespace.value)}),s({open:L=>{const{indexPath:V}=m.value[L];V.forEach(z=>_(z,V))},close:w,updateActiveIndex:T,handleResize:B});const Y=FA(e,0);return()=>{var N,L;let V=(L=(N=n.default)==null?void 0:N.call(n))!=null?L:[];const z=[];if(e.mode==="horizontal"&&r.value){const K=lo(V).filter(fe=>(fe==null?void 0:fe.shapeFlag)!==8),ee=d.value===-1?K:K.slice(0,d.value),ae=d.value===-1?[]:K.slice(d.value);ae!=null&&ae.length&&e.ellipsis&&(V=ee,z.push(rt(u6,{ref:i,index:"sub-menu-more",class:c.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>rt(Je,{class:c.e("icon-more")},{default:()=>rt(e.ellipsisIcon)}),default:()=>ae})))}const G=e.closeOnClickOutside?[[lc,()=>{h.value.length&&(J.value||(h.value.forEach(K=>t("close",K,M(K))),h.value=[]))}]]:[],Q=gt(rt("ul",{key:String(e.collapse),role:"menubar",ref:r,style:Y.value,class:{[l.b()]:!0,[l.m(e.mode)]:!0,[l.m("collapse")]:e.collapse}},[...V,...z]),G);return e.collapseTransition&&e.mode==="vertical"?rt(Mle,()=>Q):Q}}});const Nle=Me({index:{type:re([String,null]),default:null},route:{type:re([String,Object])},disabled:Boolean}),$le={click:e=>Xe(e.index)&&ke(e.indexPath)},f6="ElMenuItem";var VA=W({name:f6,__name:"menu-item",props:Nle,emits:$le,setup(e,{expose:t,emit:n}){const s=e,a=n;Ka(s.index)&&void 0;const o=_t(),r=je(l6),i=Ee("menu"),l=Ee("menu-item");r||Xn(f6,"can not inject root menu");const{parentMenu:c,indexPath:u}=DA(o,Jt(s,"index")),d=je(`${l1}${c.value.uid}`);d||Xn(f6,"can not inject sub menu");const h=k(()=>s.index===r.activeIndex),p=Wt({index:s.index,indexPath:u,active:h}),v=()=>{s.disabled||(r.handleMenuItemClick({index:s.index,indexPath:u.value,route:s.route}),a("click",p))};return St(()=>{d.addSubMenu(p),r.addMenuItem(p)}),Gt(()=>{d.removeSubMenu(p),r.removeMenuItem(p)}),t({parentMenu:c,rootMenu:r,active:h,nsMenu:i,nsMenuItem:l,handleClick:v}),(m,g)=>(S(),P("li",{class:D([f(l).b(),f(l).is("active",h.value),f(l).is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:v},[f(c).type.name==="ElMenu"&&f(r).props.collapse&&m.$slots.title?(S(),le(f(Ss),{key:0,effect:f(r).props.popperEffect,placement:"right","fallback-placements":["left"],"popper-class":f(r).props.popperClass,"popper-style":f(r).props.popperStyle,persistent:f(r).props.persistent,"focus-on-target":""},{content:X(()=>[ue(m.$slots,"title")]),default:X(()=>[A("div",{class:D(f(i).be("tooltip","trigger"))},[ue(m.$slots,"default")],2)]),_:3},8,["effect","popper-class","popper-style","persistent"])):(S(),P(He,{key:1},[ue(m.$slots,"default"),ue(m.$slots,"title")],64))],2))}}),zA=W({name:"ElMenuItemGroup",__name:"menu-item-group",props:{title:String},setup(e){const t=Ee("menu-item-group");return(n,s)=>(S(),P("li",{class:D(f(t).b())},[A("div",{class:D(f(t).e("title"))},[n.$slots.title?ue(n.$slots,"title",{key:1}):(S(),P(He,{key:0},[Ue(ve(e.title),1)],64))],2),A("ul",null,[ue(n.$slots,"default")])],2))}});const Dle=pt(Lle,{MenuItem:VA,MenuItemGroup:zA,SubMenu:u6}),Fle=An(VA),Ble=An(zA),Vle=An(u6),zle=Me({icon:{type:en,default:()=>Wx},title:String,content:{type:String,default:""}}),Hle={back:()=>!0},Wle=["aria-label"];var jle=W({name:"ElPageHeader",__name:"page-header",props:zle,emits:Hle,setup(e,{emit:t}){const n=t,{t:s}=It(),a=Ee("page-header");function o(){n("back")}return(r,i)=>(S(),P("div",{class:D([f(a).b(),f(a).is("contentful",!!r.$slots.default),{[f(a).m("has-breadcrumb")]:!!r.$slots.breadcrumb,[f(a).m("has-extra")]:!!r.$slots.extra}])},[r.$slots.breadcrumb?(S(),P("div",{key:0,class:D(f(a).e("breadcrumb"))},[ue(r.$slots,"breadcrumb")],2)):ie("v-if",!0),A("div",{class:D(f(a).e("header"))},[A("div",{class:D(f(a).e("left"))},[A("div",{class:D(f(a).e("back")),role:"button",tabindex:"0",onClick:o},[e.icon||r.$slots.icon?(S(),P("div",{key:0,"aria-label":e.title||f(s)("el.pageHeader.title"),class:D(f(a).e("icon"))},[ue(r.$slots,"icon",{},()=>[e.icon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.icon)))]),_:1})):ie("v-if",!0)])],10,Wle)):ie("v-if",!0),A("div",{class:D(f(a).e("title"))},[ue(r.$slots,"title",{},()=>[Ue(ve(e.title||f(s)("el.pageHeader.title")),1)])],2)],2),j(f(hA),{direction:"vertical"}),A("div",{class:D(f(a).e("content"))},[ue(r.$slots,"content",{},()=>[Ue(ve(e.content),1)])],2)],2),r.$slots.extra?(S(),P("div",{key:0,class:D(f(a).e("extra"))},[ue(r.$slots,"extra")],2)):ie("v-if",!0)],2),r.$slots.default?(S(),P("div",{key:1,class:D(f(a).e("main"))},[ue(r.$slots,"default")],2)):ie("v-if",!0)],2))}});const Kle=pt(jle),HA=Symbol("elPaginationKey"),Ule=Me({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:en}}),qle={click:e=>e instanceof MouseEvent},Gle=["disabled","aria-label","aria-disabled"],Yle={key:0};var Xle=W({name:"ElPaginationPrev",__name:"prev",props:Ule,emits:qle,setup(e){const t=e,{t:n}=It(),s=k(()=>t.disabled||t.currentPage<=1);return(a,o)=>(S(),P("button",{type:"button",class:"btn-prev",disabled:s.value,"aria-label":a.prevText||f(n)("el.pagination.prev"),"aria-disabled":s.value,onClick:o[0]||(o[0]=r=>a.$emit("click",r))},[a.prevText?(S(),P("span",Yle,ve(a.prevText),1)):(S(),le(f(Je),{key:1},{default:X(()=>[(S(),le(bt(a.prevIcon)))]),_:1}))],8,Gle))}});const Jle=Me({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:en}}),Zle=["disabled","aria-label","aria-disabled"],Qle={key:0};var ece=W({name:"ElPaginationNext",__name:"next",props:Jle,emits:["click"],setup(e){const t=e,{t:n}=It(),s=k(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(a,o)=>(S(),P("button",{type:"button",class:"btn-next",disabled:s.value,"aria-label":a.nextText||f(n)("el.pagination.next"),"aria-disabled":s.value,onClick:o[0]||(o[0]=r=>a.$emit("click",r))},[a.nextText?(S(),P("span",Qle,ve(a.nextText),1)):(S(),le(f(Je),{key:1},{default:X(()=>[(S(),le(bt(a.nextIcon)))]),_:1}))],8,Zle))}});const h6=()=>je(HA,{}),tce=Me({pageSize:{type:Number,required:!0},pageSizes:{type:re(Array),default:()=>Rn([10,20,30,40,50,100])},popperClass:{type:String},popperStyle:{type:re([String,Object])},disabled:Boolean,teleported:Boolean,size:{type:String,values:fr},appendSizeTo:String});var nce=W({name:"ElPaginationSizes",__name:"sizes",props:tce,emits:["page-size-change"],setup(e,{emit:t}){const n=e,s=t,{t:a}=It(),o=Ee("pagination"),r=h6(),i=F(n.pageSize);me(()=>n.pageSizes,(u,d)=>{if(!$n(u,d)&&ke(u)){const h=u.includes(n.pageSize)?n.pageSize:n.pageSizes[0];s("page-size-change",h)}}),me(()=>n.pageSize,u=>{i.value=u});const l=k(()=>n.pageSizes);function c(u){var d;u!==i.value&&(i.value=u,(d=r.handleSizeChange)==null||d.call(r,Number(u)))}return(u,d)=>(S(),P("span",{class:D(f(o).e("sizes"))},[j(f(cc),{"model-value":i.value,disabled:u.disabled,"popper-class":u.popperClass,"popper-style":u.popperStyle,size:u.size,teleported:u.teleported,"validate-event":!1,"append-to":u.appendSizeTo,onChange:c},{default:X(()=>[(S(!0),P(He,null,yt(l.value,h=>(S(),le(f(Hg),{key:h,value:h,label:h+f(a)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","popper-style","size","teleported","append-to"])],2))}});const sce=Me({size:{type:String,values:fr}}),ace=["disabled"];var oce=W({name:"ElPaginationJumper",__name:"jumper",props:sce,setup(e){const{t}=It(),n=Ee("pagination"),{pageCount:s,disabled:a,currentPage:o,changeEvent:r}=h6(),i=F(),l=k(()=>{var d;return(d=i.value)!=null?d:o==null?void 0:o.value});function c(d){i.value=d?+d:""}function u(d){d=Math.trunc(+d),r==null||r(d),i.value=void 0}return(d,h)=>(S(),P("span",{class:D(f(n).e("jump")),disabled:f(a)},[A("span",{class:D([f(n).e("goto")])},ve(f(t)("el.pagination.goto")),3),j(f(la),{size:d.size,class:D([f(n).e("editor"),f(n).is("in-pagination")]),min:1,max:f(s),disabled:f(a),"model-value":l.value,"validate-event":!1,"aria-label":f(t)("el.pagination.page"),type:"number","onUpdate:modelValue":c,onChange:u},null,8,["size","class","max","disabled","model-value","aria-label"]),A("span",{class:D([f(n).e("classifier")])},ve(f(t)("el.pagination.pageClassifier")),3)],10,ace))}});const rce=Me({total:{type:Number,default:1e3}}),ice=["disabled"];var lce=W({name:"ElPaginationTotal",__name:"total",props:rce,setup(e){const{t}=It(),n=Ee("pagination"),{disabled:s}=h6();return(a,o)=>(S(),P("span",{class:D(f(n).e("total")),disabled:f(s)},ve(f(t)("el.pagination.total",{total:a.total})),11,ice))}});const cce=Me({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),uce=["aria-current","aria-label","tabindex"],dce=["tabindex","aria-label"],fce=["aria-current","aria-label","tabindex"],hce=["tabindex","aria-label"],pce=["aria-current","aria-label","tabindex"];var vce=W({name:"ElPaginationPager",__name:"pager",props:cce,emits:[Pt],setup(e,{emit:t}){const n=e,s=t,a=Ee("pager"),o=Ee("icon"),{t:r}=It(),i=F(!1),l=F(!1),c=F(!1),u=F(!1),d=F(!1),h=F(!1),p=k(()=>{const x=n.pagerCount,E=(x-1)/2,T=Number(n.currentPage),R=Number(n.pageCount);let I=!1,M=!1;R>x&&(T>x-E&&(I=!0),T["more","btn-quickprev",o.b(),a.is("disabled",n.disabled)]),m=k(()=>["more","btn-quicknext",o.b(),a.is("disabled",n.disabled)]),g=k(()=>n.disabled?-1:0);me(()=>[n.pageCount,n.pagerCount,n.currentPage],([x,E,T])=>{const R=(E-1)/2;let I=!1,M=!1;x>E&&(I=T>E-R,M=TR&&(T=R)),T!==I&&s(Pt,T)}return(x,E)=>(S(),P("ul",{class:D(f(a).b()),onClick:C,onKeyup:Nn(w,["enter"])},[x.pageCount>0?(S(),P("li",{key:0,class:D([[f(a).is("active",x.currentPage===1),f(a).is("disabled",x.disabled)],"number"]),"aria-current":x.currentPage===1,"aria-label":f(r)("el.pagination.currentPage",{pager:1}),tabindex:g.value}," 1 ",10,uce)):ie("v-if",!0),i.value?(S(),P("li",{key:1,class:D(v.value),tabindex:g.value,"aria-label":f(r)("el.pagination.prevPages",{pager:x.pagerCount-2}),onMouseenter:E[0]||(E[0]=T=>b(!0)),onMouseleave:E[1]||(E[1]=T=>c.value=!1),onFocus:E[2]||(E[2]=T=>_(!0)),onBlur:E[3]||(E[3]=T=>d.value=!1)},[(c.value||d.value)&&!x.disabled?(S(),le(f(Yi),{key:0})):(S(),le(f(By),{key:1}))],42,dce)):ie("v-if",!0),(S(!0),P(He,null,yt(p.value,T=>(S(),P("li",{key:T,class:D([[f(a).is("active",x.currentPage===T),f(a).is("disabled",x.disabled)],"number"]),"aria-current":x.currentPage===T,"aria-label":f(r)("el.pagination.currentPage",{pager:T}),tabindex:g.value},ve(T),11,fce))),128)),l.value?(S(),P("li",{key:2,class:D(m.value),tabindex:g.value,"aria-label":f(r)("el.pagination.nextPages",{pager:x.pagerCount-2}),onMouseenter:E[4]||(E[4]=T=>b()),onMouseleave:E[5]||(E[5]=T=>u.value=!1),onFocus:E[6]||(E[6]=T=>_()),onBlur:E[7]||(E[7]=T=>h.value=!1)},[(u.value||h.value)&&!x.disabled?(S(),le(f(Xi),{key:0})):(S(),le(f(By),{key:1}))],42,hce)):ie("v-if",!0),x.pageCount>1?(S(),P("li",{key:3,class:D([[f(a).is("active",x.currentPage===x.pageCount),f(a).is("disabled",x.disabled)],"number"]),"aria-current":x.currentPage===x.pageCount,"aria-label":f(r)("el.pagination.currentPage",{pager:x.pageCount}),tabindex:g.value},ve(x.pageCount),11,pce)):ie("v-if",!0)],34))}});const Ra=e=>typeof e!="number",mce=Me({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>at(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:re(Array),default:()=>Rn([10,20,30,40,50,100])},popperClass:{type:String,default:""},popperStyle:{type:re([String,Object])},prevText:{type:String,default:""},prevIcon:{type:en,default:()=>No},nextText:{type:String,default:""},nextIcon:{type:en,default:()=>Ls},teleported:{type:Boolean,default:!0},small:Boolean,size:rs,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),gce={"update:current-page":e=>at(e),"update:page-size":e=>at(e),"size-change":e=>at(e),change:(e,t)=>at(e)&&at(t),"current-change":e=>at(e),"prev-click":e=>at(e),"next-click":e=>at(e)},WA="ElPagination";var bce=W({name:WA,props:mce,emits:gce,setup(e,{emit:t,slots:n}){const{t:s}=It(),a=Ee("pagination"),o=_t().vnode.props||{},r=Ox(),i=k(()=>{var x;return e.small?"small":(x=e.size)!=null?x:r.value});ai({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},k(()=>!!e.small));const l="onUpdate:currentPage"in o||"onUpdate:current-page"in o||"onCurrentChange"in o,c="onUpdate:pageSize"in o||"onUpdate:page-size"in o||"onSizeChange"in o,u=k(()=>{if(Ra(e.total)&&Ra(e.pageCount)||!Ra(e.currentPage)&&!l)return!1;if(e.layout.includes("sizes")){if(Ra(e.pageCount)){if(!Ra(e.total)&&!Ra(e.pageSize)&&!c)return!1}else if(!c)return!1}return!0}),d=F(Ra(e.defaultPageSize)?10:e.defaultPageSize),h=F(Ra(e.defaultCurrentPage)?1:e.defaultCurrentPage),p=k({get(){return Ra(e.pageSize)?d.value:e.pageSize},set(x){Ra(e.pageSize)&&(d.value=x),c&&(t("update:page-size",x),t("size-change",x))}}),v=k(()=>{let x=0;return Ra(e.pageCount)?Ra(e.total)||(x=Math.max(1,Math.ceil(e.total/p.value))):x=e.pageCount,x}),m=k({get(){return Ra(e.currentPage)?h.value:e.currentPage},set(x){let E=x;x<1?E=1:x>v.value&&(E=v.value),Ra(e.currentPage)&&(h.value=E),l&&(t("update:current-page",E),t("current-change",E))}});me(v,x=>{m.value>x&&(m.value=x)}),me([m,p],x=>{t(Pt,...x)},{flush:"post"});function g(x){m.value=x}function b(x){p.value=x;const E=v.value;m.value>E&&(m.value=E)}function _(){e.disabled||(m.value-=1,t("prev-click",m.value))}function w(){e.disabled||(m.value+=1,t("next-click",m.value))}function C(x,E){x&&(x.props||(x.props={}),x.props.class=[x.props.class,E].join(" "))}return Tt(HA,{pageCount:v,disabled:k(()=>e.disabled),currentPage:m,changeEvent:g,handleSizeChange:b}),()=>{var x,E;if(!u.value)return s("el.pagination.deprecationWarning"),null;if(!e.layout||e.hideOnSinglePage&&v.value<=1)return null;const T=[],R=[],I=rt("div",{class:a.e("rightwrapper")},R),M={prev:rt(Xle,{disabled:e.disabled,currentPage:m.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:_}),jumper:rt(oce,{size:i.value}),pager:rt(vce,{currentPage:m.value,pageCount:v.value,pagerCount:e.pagerCount,onChange:g,disabled:e.disabled}),next:rt(ece,{disabled:e.disabled,currentPage:m.value,pageCount:v.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:w}),sizes:rt(nce,{pageSize:p.value,pageSizes:e.pageSizes,popperClass:e.popperClass,popperStyle:e.popperStyle,disabled:e.disabled,teleported:e.teleported,size:i.value,appendSizeTo:e.appendSizeTo}),slot:(E=(x=n==null?void 0:n.default)==null?void 0:x.call(n))!=null?E:null,total:rt(lce,{total:Ra(e.total)?0:e.total})},$=e.layout.split(",").map(B=>B.trim());let O=!1;return $.forEach(B=>{if(B==="->"){O=!0;return}O?R.push(M[B]):T.push(M[B])}),C(T[0],a.is("first")),C(T[T.length-1],a.is("last")),O&&R.length>0&&(C(R[0],a.is("first")),C(R[R.length-1],a.is("last")),T.push(I)),rt("div",{class:[a.b(),a.is("background",e.background),a.m(i.value)]},T)}}});const yce=pt(bce),wce=Me({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:f3,default:"primary"},cancelButtonType:{type:String,values:f3,default:"text"},icon:{type:en,default:()=>s9},iconColor:{type:String,default:"#f90"},hideIcon:Boolean,hideAfter:{type:Number,default:200},effect:{...tn.effect,default:"light"},teleported:tn.teleported,persistent:tn.persistent,width:{type:[String,Number],default:150},virtualTriggering:si.virtualTriggering,virtualRef:si.virtualRef});var _ce=W({name:"ElPopconfirm",__name:"popconfirm",props:wce,emits:{confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent},setup(e,{expose:t,emit:n}){const s=e,a=n,{t:o}=It(),r=Ee("popconfirm"),i=F(),l=F(),c=k(()=>{var b;return(b=f(i))==null?void 0:b.popperRef}),u=()=>{var b,_;(_=(b=l.value)==null?void 0:b.focus)==null||_.call(b)},d=()=>{var b,_;(_=(b=i.value)==null?void 0:b.onClose)==null||_.call(b)},h=k(()=>({width:Pn(s.width)})),p=b=>{a("confirm",b),d()},v=b=>{a("cancel",b),d()},m=k(()=>s.confirmButtonText||o("el.popconfirm.confirmButtonText")),g=k(()=>s.cancelButtonText||o("el.popconfirm.cancelButtonText"));return t({popperRef:c,hide:d}),(b,_)=>(S(),le(f(Ss),wt({ref_key:"tooltipRef",ref:i,trigger:"click",effect:e.effect},b.$attrs,{"virtual-triggering":e.virtualTriggering,"virtual-ref":e.virtualRef,"popper-class":`${f(r).namespace.value}-popover`,"popper-style":h.value,teleported:e.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":e.hideAfter,persistent:e.persistent,loop:"",onShow:u}),{content:X(()=>[A("div",{ref_key:"rootRef",ref:l,tabindex:"-1",class:D(f(r).b())},[A("div",{class:D(f(r).e("main"))},[!e.hideIcon&&e.icon?(S(),le(f(Je),{key:0,class:D(f(r).e("icon")),style:tt({color:e.iconColor})},{default:X(()=>[(S(),le(bt(e.icon)))]),_:1},8,["class","style"])):ie("v-if",!0),Ue(" "+ve(e.title),1)],2),A("div",{class:D(f(r).e("action"))},[ue(b.$slots,"actions",{confirm:p,cancel:v},()=>[j(f(gs),{size:"small",type:e.cancelButtonType==="text"?"":e.cancelButtonType,text:e.cancelButtonType==="text",onClick:v},{default:X(()=>[Ue(ve(g.value),1)]),_:1},8,["type","text"]),j(f(gs),{size:"small",type:e.confirmButtonType==="text"?"":e.confirmButtonType,text:e.confirmButtonType==="text",onClick:p},{default:X(()=>[Ue(ve(m.value),1)]),_:1},8,["type","text"])])],2)],2)]),default:X(()=>[b.$slots.reference?ue(b.$slots,"reference",{key:0}):ie("v-if",!0)]),_:3},16,["effect","virtual-triggering","virtual-ref","popper-class","popper-style","teleported","hide-after","persistent"]))}});const Cce=pt(_ce),Sce=Me({trigger:si.trigger,triggerKeys:si.triggerKeys,placement:s1.placement,disabled:si.disabled,visible:tn.visible,transition:tn.transition,popperOptions:s1.popperOptions,tabindex:s1.tabindex,content:tn.content,popperStyle:tn.popperStyle,popperClass:tn.popperClass,enterable:{...tn.enterable,default:!0},effect:{...tn.effect,default:"light"},teleported:tn.teleported,appendTo:tn.appendTo,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},"onUpdate:visible":{type:Function}}),xce={"update:visible":e=>Qt(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},Ece="onUpdate:visible";var kce=W({name:"ElPopover",__name:"popover",props:Sce,emits:xce,setup(e,{expose:t,emit:n}){const s=e,a=n,o=k(()=>s[Ece]),r=Ee("popover"),i=F(),l=k(()=>{var b;return(b=f(i))==null?void 0:b.popperRef}),c=k(()=>[{width:Pn(s.width)},s.popperStyle]),u=k(()=>[r.b(),s.popperClass,{[r.m("plain")]:!!s.content}]),d=k(()=>s.transition===`${r.namespace.value}-fade-in-linear`),h=()=>{var b;(b=i.value)==null||b.hide()},p=()=>{a("before-enter")},v=()=>{a("before-leave")},m=()=>{a("after-enter")},g=()=>{a("update:visible",!1),a("after-leave")};return t({popperRef:l,hide:h}),(b,_)=>(S(),le(f(Ss),wt({ref_key:"tooltipRef",ref:i},b.$attrs,{trigger:e.trigger,"trigger-keys":e.triggerKeys,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,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":u.value,"popper-style":c.value,teleported:e.teleported,"append-to":e.appendTo,persistent:e.persistent,"gpu-acceleration":d.value,"onUpdate:visible":o.value,onBeforeShow:p,onBeforeHide:v,onShow:m,onHide:g}),{content:X(()=>[e.title?(S(),P("div",{key:0,class:D(f(r).e("title")),role:"title"},ve(e.title),3)):ie("v-if",!0),ue(b.$slots,"default",{},()=>[Ue(ve(e.content),1)])]),default:X(()=>[b.$slots.reference?ue(b.$slots,"reference",{key:0}):ie("v-if",!0)]),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}});const jA=(e,t)=>{const n=t.arg||t.value,s=n==null?void 0:n.popperRef;s&&(s.triggerRef=e)};var Ace={mounted(e,t){jA(e,t)},updated(e,t){jA(e,t)}};const KA=oz(Ace,"popover"),Tce=pt(kce,{directive:KA}),Mce=Me({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:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:re(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:re([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:re(Function),default:e=>`${e}%`}}),Pce=["aria-valuenow"],Rce={viewBox:"0 0 100 100"},Ice=["d","stroke","stroke-linecap","stroke-width"],Oce=["d","stroke","opacity","stroke-linecap","stroke-width"],Lce={key:0};var Nce=W({name:"ElProgress",__name:"progress",props:Mce,setup(e){const t={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},n=e,s=Ee("progress"),a=k(()=>{const w={width:`${n.percentage}%`,animationDuration:`${n.duration}s`},C=_(n.percentage);return C.includes("gradient")?w.background=C:w.backgroundColor=C,w}),o=k(()=>(n.strokeWidth/n.width*100).toFixed(1)),r=k(()=>["circle","dashboard"].includes(n.type)?Number.parseInt(`${50-Number.parseFloat(o.value)/2}`,10):0),i=k(()=>{const w=r.value,C=n.type==="dashboard";return` M 50 50 - m 0 ${_?"":"-"}${w} - a ${w} ${w} 0 1 1 0 ${_?"-":""}${w*2} - a ${w} ${w} 0 1 1 0 ${_?"":"-"}${w*2} - `}),l=k(()=>2*Math.PI*r.value),c=k(()=>n.type==="dashboard"?.75:1),u=k(()=>`${-1*l.value*(1-c.value)/2}px`),d=k(()=>({strokeDasharray:`${l.value*c.value}px, ${l.value}px`,strokeDashoffset:u.value})),h=k(()=>({strokeDasharray:`${l.value*c.value*(n.percentage/100)}px, ${l.value}px`,strokeDashoffset:u.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),p=k(()=>{let w;return n.color?w=C(n.percentage):w=t[n.status]||t.default,w}),v=k(()=>n.status==="warning"?kp:n.type==="line"?n.status==="success"?xp:$o:n.status==="success"?Mf:Ua),m=k(()=>n.type==="line"?12+n.strokeWidth*.4:n.width*.111111+2),g=k(()=>n.format(n.percentage));function b(w){const _=100/w.length;return w.map((E,T)=>Xe(E)?{color:E,percentage:(T+1)*_}:E).sort((E,T)=>E.percentage-T.percentage)}const C=w=>{var _;const{color:x}=n;if(et(x))return x(w);if(Xe(x))return x;{const E=b(x);for(const T of E)if(T.percentage>w)return T.color;return(_=E[E.length-1])==null?void 0:_.color}};return(w,_)=>(S(),P("div",{class:D([f(s).b(),f(s).m(e.type),f(s).is(e.status),{[f(s).m("without-text")]:!e.showText,[f(s).m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[e.type==="line"?(S(),P("div",{key:0,class:D(f(s).b("bar"))},[A("div",{class:D(f(s).be("bar","outer")),style:tt({height:`${e.strokeWidth}px`})},[A("div",{class:D([f(s).be("bar","inner"),{[f(s).bem("bar","inner","indeterminate")]:e.indeterminate},{[f(s).bem("bar","inner","striped")]:e.striped},{[f(s).bem("bar","inner","striped-flow")]:e.stripedFlow}]),style:tt(a.value)},[(e.showText||w.$slots.default)&&e.textInside?(S(),P("div",{key:0,class:D(f(s).be("bar","innerText"))},[ue(w.$slots,"default",{percentage:e.percentage},()=>[A("span",null,ve(g.value),1)])],2)):ie("v-if",!0)],6)],6)],2)):(S(),P("div",{key:1,class:D(f(s).b("circle")),style:tt({height:`${e.width}px`,width:`${e.width}px`})},[(S(),P("svg",Rce,[A("path",{class:D(f(s).be("circle","track")),d:i.value,stroke:`var(${f(s).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":e.strokeLinecap,"stroke-width":o.value,fill:"none",style:tt(d.value)},null,14,Ice),A("path",{class:D(f(s).be("circle","path")),d:i.value,stroke:p.value,fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":o.value,style:tt(h.value)},null,14,Oce)]))],6)),(e.showText||w.$slots.default)&&!e.textInside?(S(),P("div",{key:2,class:D(f(s).e("text")),style:tt({fontSize:`${m.value}px`})},[ue(w.$slots,"default",{percentage:e.percentage},()=>[e.status?(S(),le(f(Je),{key:1},{default:X(()=>[(S(),le(bt(v.value)))]),_:1})):(S(),P("span",Lce,ve(g.value),1))])],6)):ie("v-if",!0)],10,Pce))}});const UA=pt(Nce),$ce=Te({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:re([Array,Object]),default:()=>Rn(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:re([Array,Object]),default:()=>[Ep,Ep,Ep]},voidIcon:{type:en,default:()=>u9},disabledVoidIcon:{type:en,default:()=>Ep},disabled:{type:Boolean,default:void 0},allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:re(Array),default:()=>Rn(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:rs,clearable:Boolean,...ia(["ariaLabel"])}),Dce={[Pt]:e=>at(e),[ct]:e=>at(e)},Fce=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],Bce=["onMousemove","onClick"];var Vce=W({name:"ElRate",__name:"rate",props:$ce,emits:Dce,setup(e,{expose:t,emit:n}){function s(L,V){const z=K=>ht(K),G=Object.keys(V).map(K=>+K).filter(K=>{const ee=V[K];return(z(ee)?ee.excluded:!1)?LK-ee),Q=V[G[0]];return z(Q)&&Q.value||Q}const a=e,o=n,r=je(ni,void 0),i=ts(),l=Ee("rate"),{inputId:c,isLabeledByFormItem:u}=uo(a,{formItemContext:r}),d=F(gu(a.modelValue,0,a.max)),h=F(-1),p=F(!0),v=F([]),m=k(()=>v.value.map(L=>L.$el.clientWidth)),g=k(()=>[l.b(),l.m(i.value)]),b=In(),C=k(()=>l.cssVarBlock({"void-color":a.voidColor,"disabled-void-color":a.disabledVoidColor,"fill-color":E.value})),w=k(()=>{let L="";return a.showScore?L=a.scoreTemplate.replace(/\{\s*value\s*\}/,b.value?`${a.modelValue}`:`${d.value}`):a.showText&&(L=a.texts[Math.ceil(d.value)-1]),L}),_=k(()=>a.modelValue*100-Math.floor(a.modelValue)*100),x=k(()=>ke(a.colors)?{[a.lowThreshold]:a.colors[0],[a.highThreshold]:{value:a.colors[1],excluded:!0},[a.max]:a.colors[2]}:a.colors),E=k(()=>{const L=s(d.value,x.value);return ht(L)?"":L}),T=k(()=>{let L="";return b.value?L=`${_.value}%`:a.allowHalf&&(L="50%"),{color:E.value,width:L}}),R=k(()=>{let L=ke(a.icons)?[...a.icons]:{...a.icons};return L=Hr(L),ke(L)?{[a.lowThreshold]:L[0],[a.highThreshold]:{value:L[1],excluded:!0},[a.max]:L[2]}:L}),I=k(()=>s(a.modelValue,R.value)),M=k(()=>b.value?Xe(a.disabledVoidIcon)?a.disabledVoidIcon:Hr(a.disabledVoidIcon):Xe(a.voidIcon)?a.voidIcon:Hr(a.voidIcon)),$=k(()=>s(d.value,R.value));function O(L){const V=b.value&&_.value>0&&L-1a.modelValue,z=a.allowHalf&&p.value&&L-.5<=d.value&&L>d.value;return V||z}function B(L){a.clearable&&L===a.modelValue&&(L=0),o(ct,L),a.modelValue!==L&&o(Pt,L)}function U(L){b.value||(a.allowHalf&&p.value?B(d.value):B(L))}function J(L){if(b.value)return;const V=an(L),z=a.allowHalf?.5:1;let G=d.value;switch(V){case Ae.up:case Ae.right:G+=z;break;case Ae.left:case Ae.down:G-=z;break}if(G=gu(G,0,a.max),G!==d.value)return L.stopPropagation(),L.preventDefault(),o(ct,G),o(Pt,G),G}function Y(L,V){b.value||(a.allowHalf&&V?(p.value=V.offsetX*2<=m.value[L-1],d.value=p.value?L-.5:L):d.value=L,h.value=L)}function N(){b.value||(a.allowHalf&&(p.value=a.modelValue!==Math.floor(a.modelValue)),d.value=gu(a.modelValue,0,a.max),h.value=-1)}return me(()=>a.modelValue,L=>{d.value=gu(L,0,a.max),p.value=a.modelValue!==Math.floor(a.modelValue)}),a.modelValue||o(ct,0),t({setCurrentValue:Y,resetCurrentValue:N}),(L,V)=>{var z;return S(),P("div",{id:f(c),class:D([g.value,f(l).is("disabled",f(b))]),role:"slider","aria-label":f(u)?void 0:e.ariaLabel||"rating","aria-labelledby":f(u)?(z=f(r))==null?void 0:z.labelId:void 0,"aria-valuenow":d.value,"aria-valuetext":w.value||void 0,"aria-valuemin":"0","aria-valuemax":e.max,tabindex:"0",style:tt(C.value),onKeydown:J},[(S(!0),P(He,null,yt(e.max,(G,Q)=>(S(),P("span",{key:Q,class:D(f(l).e("item")),onMousemove:K=>Y(G,K),onMouseleave:N,onClick:K=>U(G)},[j(f(Je),{ref_for:!0,ref_key:"iconRefs",ref:v,class:D([f(l).e("icon"),{hover:h.value===G},f(l).is("active",G<=d.value),f(l).is("focus-visible",G===Math.ceil(d.value||1))])},{default:X(()=>[gt((S(),le(bt($.value),null,null,512)),[[Bt,!O(G)&&G<=d.value]]),gt((S(),le(bt(M.value),null,null,512)),[[Bt,!O(G)&&G>d.value]]),gt((S(),le(bt(M.value),{class:D([f(l).em("decimal","box")])},null,8,["class"])),[[Bt,O(G)]]),gt(j(f(Je),{style:tt(T.value),class:D([f(l).e("icon"),f(l).e("decimal")])},{default:X(()=>[(S(),le(bt(I.value)))]),_:1},8,["style","class"]),[[Bt,O(G)]])]),_:2},1032,["class"])],42,Bce))),128)),e.showText||e.showScore?(S(),P("span",{key:0,class:D(f(l).e("text")),style:tt({color:e.textColor})},ve(w.value),7)):ie("v-if",!0)],46,Fce)}}});const zce=pt(Vce),ku={primary:"icon-primary",success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},qA={[ku.primary]:Pf,[ku.success]:Ux,[ku.warning]:kp,[ku.error]:yg,[ku.info]:Pf},Hce=Te({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["primary","success","warning","info","error"],default:"info"}});var Wce=W({name:"ElResult",__name:"result",props:Hce,setup(e){const t=e,n=Ee("result"),s=k(()=>{const a=t.icon,o=a&&ku[a]?ku[a]:"icon-info",r=qA[o]||qA["icon-info"];return{class:o,component:r}});return(a,o)=>(S(),P("div",{class:D(f(n).b())},[A("div",{class:D(f(n).e("icon"))},[ue(a.$slots,"icon",{},()=>[s.value.component?(S(),le(bt(s.value.component),{key:0,class:D(s.value.class)},null,8,["class"])):ie("v-if",!0)])],2),e.title||a.$slots.title?(S(),P("div",{key:0,class:D(f(n).e("title"))},[ue(a.$slots,"title",{},()=>[A("p",null,ve(e.title),1)])],2)):ie("v-if",!0),e.subTitle||a.$slots["sub-title"]?(S(),P("div",{key:1,class:D(f(n).e("subtitle"))},[ue(a.$slots,"sub-title",{},()=>[A("p",null,ve(e.subTitle),1)])],2)):ie("v-if",!0),a.$slots.extra?(S(),P("div",{key:2,class:D(f(n).e("extra"))},[ue(a.$slots,"extra")],2)):ie("v-if",!0)],2))}});const jce=pt(Wce),Kce=Te({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"]}});var Uce=W({name:"ElRow",__name:"row",props:Kce,setup(e){const t=e,n=Ee("row"),s=k(()=>t.gutter);Tt(yk,{gutter:s});const a=k(()=>{const r={};return t.gutter&&(r.marginRight=r.marginLeft=`-${t.gutter/2}px`),r}),o=k(()=>[n.b(),n.is(`justify-${t.justify}`,t.justify!=="start"),n.is(`align-${t.align}`,!!t.align)]);return(r,i)=>(S(),le(bt(e.tag),{class:D(o.value),style:tt(a.value)},{default:X(()=>[ue(r.$slots,"default")]),_:3},8,["class","style"]))}});const qce=pt(Uce);var Gce=W({props:{item:{type:Object,required:!0},style:{type:Object},height:Number},setup(){return{ns:Ee("select")}}});function Yce(e,t,n,s,a,o){return S(),P("div",{class:D(e.ns.be("group","title")),style:tt({...e.style,lineHeight:`${e.height}px`})},ve(e.item.label),7)}var Xce=is(Gce,[["render",Yce]]);function Jce(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}const Zce=Te({allowCreate:Boolean,autocomplete:{type:re(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:en,default:$o},effect:{type:re(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:{type:Boolean,default:void 0},estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:{type:re(Function)},height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:re([Array,String,Number,Boolean,Object]),default:void 0},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:{type:re(Function)},reserveKeyword:{type:Boolean,default:!0},options:{type:re(Array),required:!0},placeholder:{type:String},teleported:tn.teleported,persistent:{type:Boolean,default:!0},popperClass:tn.popperClass,popperStyle:tn.popperStyle,popperOptions:{type:re(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},size:rs,props:{type:re(Object),default:()=>Vg},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},offset:{type:Number,default:12},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},placement:{type:re(String),values:Qr,default:"bottom-start"},fallbackPlacements:{type:re(Array),default:["bottom-start","top-start","right","left"]},tagType:{...sl.type,default:"info"},tagEffect:{...sl.effect,default:"light"},tabindex:{type:[String,Number],default:0},appendTo:tn.appendTo,fitInputWidth:{type:[Boolean,Number],default:!0,validator(e){return Qt(e)||at(e)}},suffixIcon:{type:en,default:hr},...wu,...ia(["ariaLabel"])}),Qce=Te({data:Array,disabled:Boolean,hovering:Boolean,item:{type:re(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),eue={[ct]:e=>!0,[Pt]:e=>!0,"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},tue={hover:e=>at(e),select:(e,t)=>!0},p6=Symbol("ElSelectV2Injection");var nue=W({props:Qce,emits:tue,setup(e,{emit:t}){const n=je(p6),s=Ee("select"),{hoverItem:a,selectOptionClick:o}=Jce(e,{emit:t}),{getLabel:r}=Bp(n.props),i=n.contentId;return{ns:s,contentId:i,hoverItem:a,selectOptionClick:o,getLabel:r}}});const sue=["id","aria-selected","aria-disabled"];function aue(e,t,n,s,a,o){return S(),P("li",{id:`${e.contentId}-${e.index}`,role:"option","aria-selected":e.selected,"aria-disabled":e.disabled||void 0,style:tt(e.style),class:D([e.ns.be("dropdown","item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),e.ns.is("hovering",e.hovering)]),onMousemove:t[0]||(t[0]=(...r)=>e.hoverItem&&e.hoverItem(...r)),onClick:t[1]||(t[1]=lt((...r)=>e.selectOptionClick&&e.selectOptionClick(...r),["stop"]))},[ue(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},()=>[A("span",null,ve(e.getLabel(e.item)),1)])],46,sue)}var oue=is(nue,[["render",aue]]),GA=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function rue(e,t){return!!(e===t||GA(e)&&GA(t))}function iue(e,t){if(e.length!==t.length)return!1;for(var n=0;n{const t=_t().proxy.$props;return k(()=>{const n=(s,a,o)=>({});return t.perfMode?rg(n):lue(n)})},v6=50,c1="itemRendered",u1="scroll",Uf="forward",d1="backward",zo="auto",f1="smart",Zp="start",ri="center",Qp="end",qf="horizontal",XA="vertical",cue="ltr",Gf="rtl",ev="negative",m6="positive-ascending",g6="positive-descending",uue={[qf]:"left",[XA]:"top"},due=20,JA=({atEndEdge:e,atStartEdge:t,layout:n},s)=>{let a,o=0;const r=l=>l<0&&t.value||l>0&&e.value;return{hasReachedEdge:r,onWheel:l=>{qi(a);let{deltaX:c,deltaY:u}=l;l.shiftKey&&u!==0&&(c=u,u=0);const d=n.value===qf?c:u;r(d)||(o+=d,!n3()&&d!==0&&l.preventDefault(),a=Jr(()=>{s(o),o=0}))}}},b6=dr({type:re([Number,Function]),required:!0}),y6=dr({type:Number}),w6=dr({type:Number,default:2}),fue=dr({type:String,values:["ltr","rtl"],default:"ltr"}),_6=dr({type:Number,default:0}),h1=dr({type:Number,required:!0}),ZA=dr({type:String,values:["horizontal","vertical"],default:XA}),QA=Te({className:{type:String,default:""},containerElement:{type:re([String,Object]),default:"div"},data:{type:re(Array),default:()=>Rn([])},direction:fue,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},innerProps:{type:re(Object),default:()=>({})},style:{type:re([Object,String,Array])},useIsScrolling:Boolean,width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),eT=Te({cache:w6,estimatedItemSize:y6,layout:ZA,initScrollOffset:_6,total:h1,itemSize:b6,...QA}),C6={type:Number,default:6},tT={type:Number,default:0},nT={type:Number,default:2},Au=Te({columnCache:w6,columnWidth:b6,estimatedColumnWidth:y6,estimatedRowHeight:y6,initScrollLeft:_6,initScrollTop:_6,itemKey:{type:re(Function),default:({columnIndex:e,rowIndex:t})=>`${t}:${e}`},rowCache:w6,rowHeight:b6,totalColumn:h1,totalRow:h1,hScrollbarSize:C6,vScrollbarSize:C6,scrollbarStartGap:tT,scrollbarEndGap:nT,role:String,...QA}),sT=Te({alwaysOn:Boolean,class:String,layout:ZA,total:h1,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:C6,startGap:tT,endGap:nT,visible:Boolean}),Tu=(e,t)=>ee===cue||e===Gf||e===qf,aT=e=>e===Gf;let Yf=null;function p1(e=!1){if(Yf===null||e){const t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";const s=document.createElement("div"),a=s.style;return a.width="100px",a.height="100px",t.appendChild(s),document.body.appendChild(t),t.scrollLeft>0?Yf=g6:(t.scrollLeft=1,t.scrollLeft===0?Yf=ev:Yf=m6),document.body.removeChild(t),Yf}return Yf}function hue({move:e,size:t,bar:n},s){const a={},o=`translate${n.axis}(${e}px)`;return a[n.size]=t,a.transform=o,s==="horizontal"?a.height="100%":a.width="100%",a}const S6=W({name:"ElVirtualScrollBar",props:sT,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const n=k(()=>e.startGap+e.endGap),s=Ee("virtual-scrollbar"),a=Ee("scrollbar"),o=F(),r=F();let i=null,l=null;const c=Wt({isDragging:!1,traveled:0}),u=k(()=>G9[e.layout]),d=k(()=>e.clientSize-f(n)),h=k(()=>({position:"absolute",width:`${qf===e.layout?d.value:e.scrollbarSize}px`,height:`${qf===e.layout?e.scrollbarSize:d.value}px`,[uue[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),p=k(()=>{const E=e.ratio;if(E>=100)return Number.POSITIVE_INFINITY;if(E>=50)return E*d.value/100;const T=d.value/3;return Math.floor(Math.min(Math.max(E*d.value/100,due),T))}),v=k(()=>{if(!Number.isFinite(p.value))return{display:"none"};const E=`${p.value}px`;return hue({bar:u.value,size:E,move:c.traveled},e.layout)}),m=k(()=>Math.ceil(e.clientSize-p.value-f(n))),g=()=>{window.addEventListener("mousemove",_),window.addEventListener("mouseup",w);const E=f(r);E&&(l=document.onselectstart,document.onselectstart=()=>!1,E.addEventListener("touchmove",_,{passive:!0}),E.addEventListener("touchend",w))},b=()=>{window.removeEventListener("mousemove",_),window.removeEventListener("mouseup",w),document.onselectstart=l,l=null;const E=f(r);E&&(E.removeEventListener("touchmove",_),E.removeEventListener("touchend",w))},C=E=>{E.stopImmediatePropagation(),!(E.ctrlKey||[1,2].includes(E.button))&&(c.isDragging=!0,c[u.value.axis]=E.currentTarget[u.value.offset]-(E[u.value.client]-E.currentTarget.getBoundingClientRect()[u.value.direction]),t("start-move"),g())},w=()=>{c.isDragging=!1,c[u.value.axis]=0,t("stop-move"),b()},_=E=>{const{isDragging:T}=c;if(!T||!r.value||!o.value)return;const R=c[u.value.axis];if(!R)return;qi(i);const I=(o.value.getBoundingClientRect()[u.value.direction]-E[u.value.client])*-1,M=r.value[u.value.offset]-R,$=I-M;i=Jr(()=>{c.traveled=Math.max(0,Math.min($,m.value)),t("scroll",$,m.value)})},x=E=>{const T=Math.abs(E.target.getBoundingClientRect()[u.value.direction]-E[u.value.client]),R=r.value[u.value.offset]/2,I=T-R;c.traveled=Math.max(0,Math.min(I,m.value)),t("scroll",I,m.value)};return me(()=>e.scrollFrom,E=>{c.isDragging||(c.traveled=Math.ceil(E*m.value))}),Gt(()=>{b()}),()=>rt("div",{role:"presentation",ref:o,class:[s.b(),e.class,(e.alwaysOn||c.isDragging)&&"always-on"],style:h.value,onMousedown:lt(x,["stop","prevent"]),onTouchstartPrevent:C},rt("div",{ref:r,class:a.e("thumb"),style:v.value,onMousedown:C},[]))}}),oT=({name:e,getOffset:t,getItemSize:n,getItemOffset:s,getEstimatedTotalSize:a,getStartIndexForOffset:o,getStopIndexForStartIndex:r,initCache:i,clearCache:l,validateProps:c})=>W({name:e??"ElVirtualList",props:eT,emits:[c1,u1],setup(u,{emit:d,expose:h}){c(u);const p=_t(),v=Ee("vl"),m=F(i(u,p)),g=YA(),b=F(),C=F(),w=F(),_=F({isScrolling:!1,scrollDir:"forward",scrollOffset:at(u.initScrollOffset)?u.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:u.scrollbarAlwaysOn}),x=k(()=>{const{total:K,cache:ee}=u,{isScrolling:ae,scrollDir:fe,scrollOffset:ne}=f(_);if(K===0)return[0,0,0,0];const pe=o(u,ne,f(m)),he=r(u,pe,ne,f(m)),ce=!ae||fe===d1?Math.max(1,ee):1,Z=!ae||fe===Uf?Math.max(1,ee):1;return[Math.max(0,pe-ce),Math.max(0,Math.min(K-1,he+Z)),pe,he]}),E=k(()=>a(u,f(m))),T=k(()=>tv(u.layout)),R=k(()=>[{position:"relative",[`overflow-${T.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:u.direction,height:at(u.height)?`${u.height}px`:u.height,width:at(u.width)?`${u.width}px`:u.width},u.style]),I=k(()=>{const K=f(E),ee=f(T);return{height:ee?"100%":`${K}px`,pointerEvents:f(_).isScrolling?"none":void 0,width:ee?`${K}px`:"100%",margin:0,boxSizing:"border-box"}}),M=k(()=>T.value?u.width:u.height),{onWheel:$}=JA({atStartEdge:k(()=>_.value.scrollOffset<=0),atEndEdge:k(()=>_.value.scrollOffset>=E.value),layout:k(()=>u.layout)},K=>{var ee,ae;(ae=(ee=w.value).onMouseUp)==null||ae.call(ee),N(Math.min(_.value.scrollOffset+K,E.value-M.value))});Zt(b,"wheel",$,{passive:!1});const O=()=>{const{total:K}=u;if(K>0){const[ne,pe,he,ce]=f(x);d(c1,ne,pe,he,ce)}const{scrollDir:ee,scrollOffset:ae,updateRequested:fe}=f(_);d(u1,ee,ae,fe)},B=K=>{const{clientHeight:ee,scrollHeight:ae,scrollTop:fe}=K.currentTarget,ne=f(_);if(ne.scrollOffset===fe)return;const pe=Math.max(0,Math.min(fe,ae-ee));_.value={...ne,isScrolling:!0,scrollDir:Tu(ne.scrollOffset,pe),scrollOffset:pe,updateRequested:!1},ze(z)},U=K=>{const{clientWidth:ee,scrollLeft:ae,scrollWidth:fe}=K.currentTarget,ne=f(_);if(ne.scrollOffset===ae)return;const{direction:pe}=u;let he=ae;if(pe===Gf)switch(p1()){case ev:{he=-ae;break}case g6:{he=fe-ee-ae;break}}he=Math.max(0,Math.min(he,fe-ee)),_.value={...ne,isScrolling:!0,scrollDir:Tu(ne.scrollOffset,he),scrollOffset:he,updateRequested:!1},ze(z)},J=K=>{f(T)?U(K):B(K),O()},Y=(K,ee)=>{const ae=(E.value-M.value)/ee*K;N(Math.min(E.value-M.value,ae))},N=K=>{K=Math.max(K,0),K!==f(_).scrollOffset&&(_.value={...f(_),scrollOffset:K,scrollDir:Tu(f(_).scrollOffset,K),updateRequested:!0},ze(z))},L=(K,ee=zo)=>{const{scrollOffset:ae}=f(_);K=Math.max(0,Math.min(K,u.total-1)),N(t(u,K,ee,ae,f(m)))},V=K=>{const{direction:ee,itemSize:ae,layout:fe}=u,ne=g.value(l&&ae,l&&fe,l&&ee);let pe;if(Ht(ne,String(K)))pe=ne[K];else{const he=s(u,K,f(m)),ce=n(u,K,f(m)),Z=f(T),H=ee===Gf,te=Z?he:0;ne[K]=pe={position:"absolute",left:H?void 0:`${te}px`,right:H?`${te}px`:void 0,top:Z?0:`${he}px`,height:Z?"100%":`${ce}px`,width:Z?`${ce}px`:"100%"}}return pe},z=()=>{_.value.isScrolling=!1,ze(()=>{g.value(-1,null,null)})},G=()=>{const K=b.value;K&&(K.scrollTop=0)};St(()=>{if(!jt)return;const{initScrollOffset:K}=u,ee=f(b);at(K)&&ee&&(f(T)?ee.scrollLeft=K:ee.scrollTop=K),O()}),or(()=>{const{direction:K,layout:ee}=u,{scrollOffset:ae,updateRequested:fe}=f(_),ne=f(b);if(fe&&ne)if(ee===qf)if(K===Gf)switch(p1()){case ev:{ne.scrollLeft=-ae;break}case m6:{ne.scrollLeft=ae;break}default:{const{clientWidth:pe,scrollWidth:he}=ne;ne.scrollLeft=he-pe-ae;break}}else ne.scrollLeft=ae;else ne.scrollTop=ae}),U0(()=>{f(b).scrollTop=f(_).scrollOffset});const Q={ns:v,clientSize:M,estimatedTotalSize:E,windowStyle:R,windowRef:b,innerRef:C,innerStyle:I,itemsToRender:x,scrollbarRef:w,states:_,getItemStyle:V,onScroll:J,onScrollbarScroll:Y,onWheel:$,scrollTo:N,scrollToItem:L,resetScrollTop:G};return h({windowRef:b,innerRef:C,getItemStyleCache:g,scrollTo:N,scrollToItem:L,resetScrollTop:G,states:_}),Q},render(u){var d;const{$slots:h,className:p,clientSize:v,containerElement:m,data:g,getItemStyle:b,innerElement:C,itemsToRender:w,innerStyle:_,layout:x,total:E,onScroll:T,onScrollbarScroll:R,states:I,useIsScrolling:M,windowStyle:$,ns:O}=u,[B,U]=w,J=bt(m),Y=bt(C),N=[];if(E>0)for(let G=B;G<=U;G++)N.push(rt(He,{key:G},(d=h.default)==null?void 0:d.call(h,{data:g,index:G,isScrolling:M?I.isScrolling:void 0,style:b(G)})));const L=[rt(Y,wt(u.innerProps,{style:_,ref:"innerRef"}),Xe(Y)?N:{default:()=>N})],V=rt(S6,{ref:"scrollbarRef",clientSize:v,layout:x,onScroll:R,ratio:v*100/this.estimatedTotalSize,scrollFrom:I.scrollOffset/(this.estimatedTotalSize-v),total:E,alwaysOn:I.scrollbarAlwaysOn}),z=rt(J,{class:[O.e("window"),p],style:$,onScroll:T,ref:"windowRef",key:0},Xe(J)?[L]:{default:()=>[L]});return rt("div",{key:0,class:[O.e("wrapper"),I.scrollbarAlwaysOn?"always-on":""]},[z,V])}}),rT=oT({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:s,width:a},o,r,i)=>{const l=tv(s)?a:e,c=Math.max(0,t*n-l),u=Math.min(c,o*n),d=Math.max(0,(o+1)*n-l);switch(r===f1&&(i>=d-l&&i<=u+l?r=zo:r=ri),r){case Zp:return u;case Qp:return d;case ri:{const h=Math.round(d+(u-d)/2);return hc+Math.floor(l/2)?c:h}case zo:default:return i>=d&&i<=u?i:iMath.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:s,width:a},o,r)=>{const i=o*n,l=tv(s)?a:e,c=Math.ceil((l+r-i)/n);return Math.max(0,Math.min(t-1,o+c-1))},initCache(){},clearCache:!0,validateProps(){}}),Xf=(e,t,n)=>{const{itemSize:s}=e,{items:a,lastVisitedIndex:o}=n;if(t>o){let r=0;if(o>=0){const i=a[o];r=i.offset+i.size}for(let i=o+1;i<=t;i++){const l=s(i);a[i]={offset:r,size:l},r+=l}n.lastVisitedIndex=t}return a[t]},pue=(e,t,n)=>{const{items:s,lastVisitedIndex:a}=t;return(a>0?s[a].offset:0)>=n?iT(e,t,0,a,n):vue(e,t,Math.max(0,a),n)},iT=(e,t,n,s,a)=>{for(;n<=s;){const o=n+Math.floor((s-n)/2),r=Xf(e,o,t).offset;if(r===a)return o;ra&&(s=o-1)}return Math.max(0,n-1)},vue=(e,t,n,s)=>{const{total:a}=e;let o=1;for(;n{let a=0;if(s>=e&&(s=e-1),s>=0){const i=t[s];a=i.offset+i.size}const r=(e-s-1)*n;return a+r},mue=oT({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>Xf(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:lT,getOffset:(e,t,n,s,a)=>{const{height:o,layout:r,width:i}=e,l=tv(r)?i:o,c=Xf(e,t,a),u=lT(e,a),d=Math.max(0,Math.min(u-l,c.offset)),h=Math.max(0,c.offset-l+c.size);switch(n===f1&&(s>=h-l&&s<=d+l?n=zo:n=ri),n){case Zp:return d;case Qp:return h;case ri:return Math.round(h+(d-h)/2);case zo:default:return s>=h&&s<=d?s:spue(e,n,t),getStopIndexForStartIndex:(e,t,n,s)=>{const{height:a,total:o,layout:r,width:i}=e,l=tv(r)?i:a,c=Xf(e,t,s),u=n+l;let d=c.offset+c.size,h=t;for(;h{var o,r;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,s-1),(o=t.exposed)==null||o.getItemStyleCache(-1),a&&((r=t.proxy)==null||r.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:e})=>{}});var gue=W({name:"ElSelectDropdown",props:{loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number,id:String,ariaLabel:String},setup(e,{slots:t,expose:n}){const s=je(p6),a=Ee("select"),{getLabel:o,getValue:r,getDisabled:i}=Bp(s.props),l=F([]),c=F(),u=k(()=>e.data.length);me(()=>u.value,()=>{var $,O;(O=($=s.tooltipRef.value)==null?void 0:$.updatePopper)==null||O.call($)});const d=k(()=>$t(s.props.estimatedOptionHeight)),h=k(()=>d.value?{itemSize:s.props.itemHeight}:{estimatedSize:s.props.estimatedOptionHeight,itemSize:$=>l.value[$]}),p=($=[],O)=>{const{props:{valueKey:B}}=s;return ht(O)?$&&$.some(U=>cn(Yn(U,B))===Yn(O,B)):$.includes(O)},v=($,O)=>{if(ht(O)){const{valueKey:B}=s.props;return Yn($,B)===Yn(O,B)}else return $===O},m=($,O)=>s.props.multiple?p($,r(O)):v($,r(O)),g=($,O)=>{const{disabled:B,multiple:U,multipleLimit:J}=s.props;return B||!O&&(U?J>0&&$.length>=J:!1)},b=$=>e.hoveringIndex===$;n({listRef:c,isSized:d,isItemDisabled:g,isItemHovering:b,isItemSelected:m,scrollToItem:$=>{const O=c.value;O&&O.scrollToItem($)},resetScrollTop:()=>{const $=c.value;$&&$.resetScrollTop()}});const x=$=>{const{index:O,data:B,style:U}=$,J=f(d),{itemSize:Y,estimatedSize:N}=f(h),{modelValue:L}=s.props,{onSelect:V,onHover:z}=s,G=B[O];if(G.type==="Group")return j(Xce,{item:G,style:U,height:J?Y:N},null);const Q=m(L,G),K=g(L,Q),ee=b(O);return j(oue,wt($,{selected:Q,disabled:i(G)||K,created:!!G.created,hovering:ee,item:G,onSelect:V,onHover:z}),{default:ae=>{var fe;return((fe=t.default)==null?void 0:fe.call(t,ae))||j("span",null,[o(G)])}})},{onKeyboardNavigate:E,onKeyboardSelect:T}=s,R=()=>{E("forward")},I=()=>{E("backward")},M=$=>{const O=an($),{tab:B,esc:U,down:J,up:Y,enter:N,numpadEnter:L}=Ae;switch([U,J,Y,N,L].includes(O)&&($.preventDefault(),$.stopPropagation()),O){case B:case U:break;case J:R();break;case Y:I();break;case N:case L:T();break}};return()=>{var $,O,B,U;const{data:J,width:Y}=e,{height:N,multiple:L,scrollbarAlwaysOn:V}=s.props,z=k(()=>pg?!0:V),G=f(d)?rT:mue;return j("div",{class:[a.b("dropdown"),a.is("multiple",L)],style:{width:`${Y}px`}},[($=t.header)==null?void 0:$.call(t),((O=t.loading)==null?void 0:O.call(t))||((B=t.empty)==null?void 0:B.call(t))||j(G,wt({ref:c},f(h),{className:a.be("dropdown","list"),scrollbarAlwaysOn:z.value,data:J,height:N,width:Y,total:J.length,innerElement:"ul",innerProps:{id:e.id,role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},onKeydown:M}),{default:Q=>j(x,Q,null)}),(U=t.footer)==null?void 0:U.call(t)])}}});function bue(e,t){const{aliasProps:n,getLabel:s,getValue:a}=Bp(e),o=F(0),r=F(),i=k(()=>e.allowCreate&&e.filterable);me(()=>e.options,p=>{const v=new Set(p.map(m=>s(m)));t.createdOptions=t.createdOptions.filter(m=>!v.has(s(m)))});function l(p){const v=m=>s(m)===p;return e.options&&e.options.some(v)||t.createdOptions.some(v)}function c(p){i.value&&(e.multiple&&p.created?o.value++:r.value=p)}function u(p){if(i.value)if(p&&p.length>0){if(l(p)){t.createdOptions=t.createdOptions.filter(m=>s(m)!==t.previousQuery);return}const v={[n.value.value]:p,[n.value.label]:p,created:!0,[n.value.disabled]:!1};t.createdOptions.length>=o.value?t.createdOptions[o.value]=v:t.createdOptions.push(v)}else if(e.multiple)t.createdOptions.length=o.value;else{const v=r.value;t.createdOptions.length=0,v&&v.created&&t.createdOptions.push(v)}}function d(p){if(!i.value||!p||!p.created||p.created&&e.reserveKeyword&&t.inputValue===s(p))return;const v=t.createdOptions.findIndex(m=>a(m)===a(p));~v&&(t.createdOptions.splice(v,1),o.value--)}function h(){i.value&&(t.createdOptions.length=0,o.value=0)}return{createNewOption:u,removeNewOption:d,selectNewOption:c,clearAllNewOption:h}}const yue=(e,t)=>{const{t:n}=It(),s=zn(),a=Ee("select"),o=Ee("input"),{form:r,formItem:i}=Cs(),{inputId:l}=uo(e,{formItemContext:i}),{aliasProps:c,getLabel:u,getValue:d,getDisabled:h,getOptions:p}=Bp(e),{valueOnClear:v,isEmptyValue:m}=wp(e),g=Wt({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),b=F(-1),C=F(!1),w=F(),_=F(),x=F(),E=F(),T=F(),R=F(),I=F(),M=F(),$=F(),O=F(),{isComposing:B,handleCompositionStart:U,handleCompositionEnd:J,handleCompositionUpdate:Y}=Dp({afterComposition:Le=>En(Le)}),N=In(),{wrapperRef:L,isFocused:V,handleBlur:z}=Qi(T,{disabled:N,afterFocus(){e.automaticDropdown&&!ee.value&&(ee.value=!0,g.menuVisibleOnFocus=!0)},beforeBlur(Le){var ft,At;return((ft=x.value)==null?void 0:ft.isFocusInsideContent(Le))||((At=E.value)==null?void 0:At.isFocusInsideContent(Le))},afterBlur(){var Le;ee.value=!1,g.menuVisibleOnFocus=!1,e.validateEvent&&((Le=i==null?void 0:i.validate)==null||Le.call(i,"blur").catch(ft=>void 0))}}),G=k(()=>Ne("")),Q=k(()=>e.loading?!1:e.options.length>0||g.createdOptions.length>0),K=F([]),ee=F(!1),ae=k(()=>{var Le;return(Le=r==null?void 0:r.statusIcon)!=null?Le:!1}),fe=k(()=>{const Le=K.value.length*e.itemHeight;return Le>e.height?e.height:Le}),ne=k(()=>e.multiple?ke(e.modelValue)&&e.modelValue.length>0:!m(e.modelValue)),pe=k(()=>e.clearable&&!N.value&&ne.value&&(V.value||g.inputHovering)),he=k(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),ce=k(()=>he.value&&a.is("reverse",ee.value)),Z=k(()=>(i==null?void 0:i.validateState)||""),H=k(()=>{if(Z.value)return Eg[Z.value]}),te=k(()=>e.remote?e.debounce:0),de=k(()=>e.remote&&!g.inputValue&&!Q.value),be=k(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&g.inputValue&&Q.value&&K.value.length===0?e.noMatchText||n("el.select.noMatch"):Q.value?null:e.noDataText||n("el.select.noData")),_e=k(()=>e.filterable&&et(e.filterMethod)),Se=k(()=>e.filterable&&e.remote&&et(e.remoteMethod)),Ne=Le=>{const ft=new RegExp(C3(Le),"i"),At=Lt=>_e.value||Se.value?!0:Le?ft.test(u(Lt)||""):!0;return e.loading?[]:[...g.createdOptions,...e.options].reduce((Lt,Os)=>{const Qo=p(Os);if(ke(Qo)){const o2=Qo.filter(At);o2.length>0&&Lt.push({label:u(Os),type:"Group"},...o2)}else(e.remote||At(Os))&&Lt.push(Os);return Lt},[])},Ve=()=>{K.value=Ne(g.inputValue)},$e=k(()=>{const Le=new Map;return G.value.forEach((ft,At)=>{Le.set(Me(d(ft)),{option:ft,index:At})}),Le}),we=k(()=>{const Le=new Map;return K.value.forEach((ft,At)=>{Le.set(Me(d(ft)),{option:ft,index:At})}),Le}),Oe=k(()=>K.value.every(Le=>h(Le))),Pe=ts(),We=k(()=>Pe.value==="small"?"small":"default"),Qe=()=>{var Le;if(at(e.fitInputWidth)){b.value=e.fitInputWidth;return}const ft=((Le=w.value)==null?void 0:Le.offsetWidth)||200;!e.fitInputWidth&&Q.value?ze(()=>{b.value=Math.max(ft,it())}):b.value=ft},it=()=>{var Le,ft;const Lt=document.createElement("canvas").getContext("2d"),Os=a.be("dropdown","item"),o2=(((ft=(Le=M.value)==null?void 0:Le.listRef)==null?void 0:ft.innerRef)||document).querySelector(`.${Os}`);if(o2===null||Lt===null)return 0;const Lb=getComputedStyle(o2),Dye=Number.parseFloat(Lb.paddingLeft)+Number.parseFloat(Lb.paddingRight);return Lt.font=`bold ${Lb.font.replace(new RegExp(`\\b${Lb.fontWeight}\\b`),"")}`,K.value.reduce((Fye,Bye)=>{const Vye=Lt.measureText(u(Bye));return Math.max(Vye.width,Fye)},0)+Dye},De=()=>{if(!_.value)return 0;const Le=window.getComputedStyle(_.value);return Number.parseFloat(Le.gap||"6px")},Ke=k(()=>{const Le=De(),ft=e.filterable?Le+zg:0;return{maxWidth:`${O.value&&e.maxCollapseTags===1?g.selectionWidth-g.collapseItemWidth-Le-ft:g.selectionWidth-ft}px`}}),nt=k(()=>({maxWidth:`${g.selectionWidth}px`})),Ft=k(()=>ke(e.modelValue)?e.modelValue.length===0&&!g.inputValue:e.filterable?!g.inputValue:!0),Kt=k(()=>{var Le;const ft=(Le=e.placeholder)!=null?Le:n("el.select.placeholder");return e.multiple||!ne.value?ft:g.selectedLabel}),ot=k(()=>{var Le,ft;return(ft=(Le=x.value)==null?void 0:Le.popperRef)==null?void 0:ft.contentRef}),dt=k(()=>{if(e.multiple){const Le=e.modelValue.length;if(Le>0&&we.value.has(e.modelValue[Le-1])){const{index:ft}=we.value.get(e.modelValue[Le-1]);return ft}}else if(!m(e.modelValue)&&we.value.has(e.modelValue)){const{index:Le}=we.value.get(e.modelValue);return Le}return-1}),kt=k({get(){return ee.value&&(e.loading||!de.value||e.remote&&!!s.empty)&&(!C.value||!Pa(g.previousQuery))},set(Le){ee.value=Le}}),xe=k(()=>e.multiple?e.collapseTags?g.cachedOptions.slice(0,e.maxCollapseTags):g.cachedOptions:[]),qe=k(()=>e.multiple?e.collapseTags?g.cachedOptions.slice(e.maxCollapseTags):[]:[]),{createNewOption:ye,removeNewOption:Ye,selectNewOption:Ct,clearAllNewOption:Xt}=bue(e,g),wn=Le=>{var ft;N.value||e.filterable&&ee.value&&Le&&!((ft=I.value)!=null&&ft.contains(Le.target))||(g.menuVisibleOnFocus?g.menuVisibleOnFocus=!1:ee.value=!ee.value)},Sn=()=>{g.inputValue.length>0&&!ee.value&&(ee.value=!0),ye(g.inputValue),ze(()=>{st(g.inputValue)})},Fe=gp(()=>{Sn(),C.value=!1},te),st=Le=>{g.previousQuery===Le||B.value||(g.previousQuery=Le,e.filterable&&et(e.filterMethod)?e.filterMethod(Le):e.filterable&&e.remote&&et(e.remoteMethod)&&e.remoteMethod(Le),e.defaultFirstOption&&(e.filterable||e.remote)&&K.value.length?ze(ge):ze(Dt))},ge=()=>{const Le=K.value.filter(Lt=>!Lt.disabled&&Lt.type!=="Group"),ft=Le.find(Lt=>Lt.created),At=Le[0];g.hoveringIndex=Re(K.value,ft||At)},Ce=Le=>{$n(e.modelValue,Le)||t(Pt,Le)},Be=Le=>{t(ct,Le),Ce(Le),g.previousValue=e.multiple?String(Le):Le,ze(()=>{if(e.multiple&&ke(e.modelValue)){const ft=g.cachedOptions.slice(),At=e.modelValue.map(Lt=>Pi(Lt,ft));$n(g.cachedOptions,At)||(g.cachedOptions=At)}else S0(!0)})},Re=(Le=[],ft)=>{if(!ht(ft))return Le.indexOf(ft);const At=e.valueKey;let Lt=-1;return Le.some((Os,Qo)=>Yn(Os,At)===Yn(ft,At)?(Lt=Qo,!0):!1),Lt},Me=Le=>ht(Le)?Yn(Le,e.valueKey):Le,Ze=()=>{Qe()},sn=()=>{g.selectionWidth=Number.parseFloat(window.getComputedStyle(_.value).width)},_n=()=>{g.collapseItemWidth=O.value.getBoundingClientRect().width},xn=()=>{var Le,ft;(ft=(Le=x.value)==null?void 0:Le.updatePopper)==null||ft.call(Le)},Rt=()=>{var Le,ft;(ft=(Le=E.value)==null?void 0:Le.updatePopper)==null||ft.call(Le)},Rs=Le=>{const ft=d(Le);if(e.multiple){let At=e.modelValue.slice();const Lt=Re(At,ft);Lt>-1?(At=[...At.slice(0,Lt),...At.slice(Lt+1)],g.cachedOptions.splice(Lt,1),Ye(Le)):(e.multipleLimit<=0||At.length{let At=e.modelValue.slice();const Lt=Re(At,d(ft));Lt>-1&&!N.value&&(At=[...e.modelValue.slice(0,Lt),...e.modelValue.slice(Lt+1)],g.cachedOptions.splice(Lt,1),Be(At),t("remove-tag",d(ft)),Ye(ft)),Le.stopPropagation(),Va()},Va=()=>{var Le;(Le=T.value)==null||Le.focus()},Qc=()=>{var Le;if(ee.value){ee.value=!1,ze(()=>{var ft;return(ft=T.value)==null?void 0:ft.blur()});return}(Le=T.value)==null||Le.blur()},Qd=()=>{g.inputValue.length>0?g.inputValue="":ee.value=!1},ef=Le=>fx(Le,ft=>!g.cachedOptions.some(At=>d(At)===ft&&h(At))),tf=Le=>{const ft=an(Le);if(e.multiple&&ft!==Ae.delete&&g.inputValue.length===0){Le.preventDefault();const At=e.modelValue.slice(),Lt=ef(At);if(Lt<0)return;const Os=At[Lt];At.splice(Lt,1);const Qo=g.cachedOptions[Lt];g.cachedOptions.splice(Lt,1),Ye(Qo),Be(At),t("remove-tag",Os)}},Lw=()=>{let Le;ke(e.modelValue)?Le=[]:Le=v.value,g.selectedLabel="",ee.value=!1,Be(Le),t("clear"),Xt(),Va()},nf=(Le,ft=void 0)=>{const At=K.value;if(!["forward","backward"].includes(Le)||N.value||At.length<=0||Oe.value||B.value)return;if(!ee.value)return wn();$t(ft)&&(ft=g.hoveringIndex);let Lt=-1;Le==="forward"?(Lt=ft+1,Lt>=At.length&&(Lt=0)):Le==="backward"&&(Lt=ft-1,(Lt<0||Lt>=At.length)&&(Lt=At.length-1));const Os=At[Lt];if(h(Os)||Os.type==="Group")return nf(Le,Lt);g.hoveringIndex=Lt,ta(Lt)},Ie=()=>{if(ee.value)~g.hoveringIndex&&K.value[g.hoveringIndex]&&Rs(K.value[g.hoveringIndex]);else return wn()},ut=Le=>{g.hoveringIndex=Le??-1},Dt=()=>{if(!e.multiple)g.hoveringIndex=K.value.findIndex(Le=>Me(d(Le))===Me(e.modelValue));else{const Le=e.modelValue.length;if(Le>0){const ft=e.modelValue[Le-1];g.hoveringIndex=K.value.findIndex(At=>Me(ft)===Me(d(At)))}else g.hoveringIndex=-1}},En=Le=>{if(g.inputValue=Le.target.value,e.remote)C.value=!0,Fe();else return Sn()},jn=Le=>{if(ee.value=!1,V.value){const ft=new FocusEvent("blur",Le);z(ft)}},Ca=()=>(g.isBeforeHide=!1,ze(()=>{~dt.value&&ta(dt.value)})),ta=Le=>{M.value.scrollToItem(Le)},Pi=(Le,ft)=>{const At=Me(Le);if($e.value.has(At)){const{option:Lt}=$e.value.get(At);return Lt}if(ft&&ft.length){const Lt=ft.find(Os=>Me(d(Os))===At);if(Lt)return Lt}return{[c.value.value]:Le,[c.value.label]:Le}},Hl=Le=>{var ft,At;return(At=(ft=$e.value.get(d(Le)))==null?void 0:ft.index)!=null?At:-1},S0=(Le=!1)=>{if(e.multiple)if(e.modelValue.length>0){const ft=g.cachedOptions.slice();g.cachedOptions.length=0,g.previousValue=e.modelValue.toString();for(const At of e.modelValue){const Lt=Pi(At,ft);g.cachedOptions.push(Lt)}}else g.cachedOptions=[],g.previousValue=void 0;else if(ne.value){g.previousValue=e.modelValue;const ft=K.value,At=ft.findIndex(Lt=>Me(d(Lt))===Me(e.modelValue));~At?g.selectedLabel=u(ft[At]):(!g.selectedLabel||Le)&&(g.selectedLabel=Me(e.modelValue))}else g.selectedLabel="",g.previousValue=void 0;Xt(),Qe()};me(()=>e.fitInputWidth,()=>{Qe()}),me(ee,Le=>{Le?(e.persistent||Qe(),st("")):(g.inputValue="",g.previousQuery=null,g.isBeforeHide=!0,g.menuVisibleOnFocus=!1,ye(""))}),me(()=>e.modelValue,(Le,ft)=>{var At;(!Le||ke(Le)&&Le.length===0||e.multiple&&!$n(Le.toString(),g.previousValue)||!e.multiple&&Me(Le)!==Me(g.previousValue))&&S0(!0),!$n(Le,ft)&&e.validateEvent&&((At=i==null?void 0:i.validate)==null||At.call(i,"change").catch(Os=>void 0))},{deep:!0}),me(()=>e.options,()=>{const Le=T.value;(!Le||Le&&document.activeElement!==Le)&&S0()},{deep:!0,flush:"post"}),me(()=>K.value,()=>(Qe(),M.value&&ze(M.value.resetScrollTop))),Wa(()=>{g.isBeforeHide||Ve()}),Wa(()=>{const{valueKey:Le,options:ft}=e,At=new Map;for(const Lt of ft){const Os=d(Lt);let Qo=Os;if(ht(Qo)&&(Qo=Yn(Os,Le)),At.get(Qo))break;At.set(Qo,!0)}}),St(()=>{S0()}),bn(w,Ze),bn(_,sn),bn(L,xn),bn($,Rt),bn(O,_n);let Ob;return me(()=>kt.value,Le=>{Le?Ob=bn(M,xn).stop:(Ob==null||Ob(),Ob=void 0),t("visible-change",Le)}),{inputId:l,collapseTagSize:We,currentPlaceholder:Kt,expanded:ee,emptyText:be,popupHeight:fe,debounce:te,allOptions:G,allOptionsValueMap:$e,filteredOptions:K,iconComponent:he,iconReverse:ce,tagStyle:Ke,collapseTagStyle:nt,popperSize:b,dropdownMenuVisible:kt,hasModelValue:ne,shouldShowPlaceholder:Ft,selectDisabled:N,selectSize:Pe,needStatusIcon:ae,showClearBtn:pe,states:g,isFocused:V,nsSelect:a,nsInput:o,inputRef:T,menuRef:M,tagMenuRef:$,tooltipRef:x,tagTooltipRef:E,selectRef:w,wrapperRef:L,selectionRef:_,prefixRef:R,suffixRef:I,collapseItemRef:O,popperRef:ot,validateState:Z,validateIcon:H,showTagList:xe,collapseTagList:qe,debouncedOnInputChange:Fe,deleteTag:Is,getLabel:u,getValue:d,getDisabled:h,getValueKey:Me,getIndex:Hl,handleClear:Lw,handleClickOutside:jn,handleDel:tf,handleEsc:Qd,focus:Va,blur:Qc,handleMenuEnter:Ca,handleResize:Ze,resetSelectionWidth:sn,updateTooltip:xn,updateTagTooltip:Rt,updateOptions:Ve,toggleMenu:wn,scrollTo:ta,onInput:En,onKeyboardNavigate:nf,onKeyboardSelect:Ie,onSelect:Rs,onHover:ut,handleCompositionStart:U,handleCompositionEnd:J,handleCompositionUpdate:Y}};var wue=W({name:"ElSelectV2",components:{ElSelectMenu:gue,ElTag:al,ElTooltip:Ss,ElIcon:Je},directives:{ClickOutside:lc},props:Zce,emits:eue,setup(e,{emit:t}){const n=k(()=>{const{modelValue:l,multiple:c}=e,u=c?[]:void 0;return ke(l)?c?l:u:c?u:l}),s=yue(Wt({...ps(e),modelValue:n}),t),{calculatorRef:a,inputStyle:o}=E3(),r=$s();Tt(p6,{props:Wt({...ps(e),height:s.popupHeight,modelValue:n}),expanded:s.expanded,tooltipRef:s.tooltipRef,contentId:r,onSelect:s.onSelect,onHover:s.onHover,onKeyboardNavigate:s.onKeyboardNavigate,onKeyboardSelect:s.onKeyboardSelect});const i=k(()=>e.multiple?s.states.cachedOptions.map(l=>s.getLabel(l)):s.states.selectedLabel);return{...s,modelValue:n,selectedLabel:i,calculatorRef:a,inputStyle:o,contentId:r,BORDER_HORIZONTAL_WIDTH:UE}}});const _ue=["id","value","autocomplete","tabindex","aria-expanded","aria-label","disabled","aria-controls","aria-activedescendant","readonly","name"],Cue=["textContent"],Sue={key:1};function xue(e,t,n,s,a,o){const r=Ge("el-tag"),i=Ge("el-tooltip"),l=Ge("el-icon"),c=Ge("el-select-menu"),u=N4("click-outside");return gt((S(),P("div",{ref:"selectRef",class:D([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),onMouseenter:t[14]||(t[14]=d=>e.states.inputHovering=!0),onMouseleave:t[15]||(t[15]=d=>e.states.inputHovering=!1)},[j(i,{ref:"tooltipRef",visible:e.dropdownMenuVisible,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,placement:e.placement,pure:"",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t[13]||(t[13]=d=>e.states.isBeforeHide=!1)},{default:X(()=>{var d,h;return[A("div",{ref:"wrapperRef",class:D([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:t[10]||(t[10]=lt((...p)=>e.toggleMenu&&e.toggleMenu(...p),["prevent"]))},[e.$slots.prefix?(S(),P("div",{key:0,ref:"prefixRef",class:D(e.nsSelect.e("prefix"))},[ue(e.$slots,"prefix")],2)):ie("v-if",!0),A("div",{ref:"selectionRef",class:D([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.modelValue.length)])},[e.multiple?ue(e.$slots,"tag",{key:0,data:e.states.cachedOptions,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(S(!0),P(He,null,yt(e.showTagList,p=>(S(),P("div",{key:e.getValueKey(e.getValue(p)),class:D(e.nsSelect.e("selected-item"))},[j(r,{closable:!e.selectDisabled&&!e.getDisabled(p),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:tt(e.tagStyle),onClose:v=>e.deleteTag(v,p)},{default:X(()=>[A("span",{class:D(e.nsSelect.e("tags-text"))},[ue(e.$slots,"label",{index:e.getIndex(p),label:e.getLabel(p),value:e.getValue(p)},()=>[Ue(ve(e.getLabel(p)),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.modelValue.length>e.maxCollapseTags?(S(),le(i,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom","popper-class":e.popperClass,"popper-style":e.popperStyle,teleported:e.teleported,"popper-options":e.popperOptions},{default:X(()=>[A("div",{ref:"collapseItemRef",class:D(e.nsSelect.e("selected-item"))},[j(r,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,style:tt(e.collapseTagStyle),"disable-transitions":""},{default:X(()=>[A("span",{class:D(e.nsSelect.e("tags-text"))}," + "+ve(e.modelValue.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:X(()=>[A("div",{ref:"tagMenuRef",class:D(e.nsSelect.e("selection"))},[(S(!0),P(He,null,yt(e.collapseTagList,p=>(S(),P("div",{key:e.getValueKey(e.getValue(p)),class:D(e.nsSelect.e("selected-item"))},[j(r,{class:"in-tooltip",closable:!e.selectDisabled&&!e.getDisabled(p),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:v=>e.deleteTag(v,p)},{default:X(()=>[A("span",{class:D(e.nsSelect.e("tags-text"))},[ue(e.$slots,"label",{index:e.getIndex(p),label:e.getLabel(p),value:e.getValue(p)},()=>[Ue(ve(e.getLabel(p)),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","popper-class","popper-style","teleported","popper-options"])):ie("v-if",!0)]):ie("v-if",!0),A("div",{class:D([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled)])},[A("input",{id:e.inputId,ref:"inputRef",value:e.states.inputValue,style:tt(e.inputStyle),autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-autocomplete":"none","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-label":e.ariaLabel,class:D([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,role:"combobox","aria-controls":e.contentId,"aria-activedescendant":e.states.hoveringIndex>=0?`${e.contentId}-${e.states.hoveringIndex}`:"",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,onInput:t[0]||(t[0]=(...p)=>e.onInput&&e.onInput(...p)),onCompositionstart:t[1]||(t[1]=(...p)=>e.handleCompositionStart&&e.handleCompositionStart(...p)),onCompositionupdate:t[2]||(t[2]=(...p)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...p)),onCompositionend:t[3]||(t[3]=(...p)=>e.handleCompositionEnd&&e.handleCompositionEnd(...p)),onKeydown:[t[4]||(t[4]=Nn(lt(p=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),t[5]||(t[5]=Nn(lt(p=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),t[6]||(t[6]=Nn(lt((...p)=>e.onKeyboardSelect&&e.onKeyboardSelect(...p),["stop","prevent"]),["enter"])),t[7]||(t[7]=Nn(lt((...p)=>e.handleEsc&&e.handleEsc(...p),["stop","prevent"]),["esc"])),t[8]||(t[8]=Nn(lt((...p)=>e.handleDel&&e.handleDel(...p),["stop"]),["delete"]))],onClick:t[9]||(t[9]=lt((...p)=>e.toggleMenu&&e.toggleMenu(...p),["stop"]))},null,46,_ue),e.filterable?(S(),P("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:D(e.nsSelect.e("input-calculator")),textContent:ve(e.states.inputValue)},null,10,Cue)):ie("v-if",!0)],2),e.shouldShowPlaceholder?(S(),P("div",{key:1,class:D([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?ue(e.$slots,"label",{key:0,index:(h=(d=e.allOptionsValueMap.get(e.modelValue))==null?void 0:d.index)!=null?h:-1,label:e.currentPlaceholder,value:e.modelValue},()=>[A("span",null,ve(e.currentPlaceholder),1)]):(S(),P("span",Sue,ve(e.currentPlaceholder),1))],2)):ie("v-if",!0)],2),A("div",{ref:"suffixRef",class:D(e.nsSelect.e("suffix"))},[e.iconComponent?gt((S(),le(l,{key:0,class:D([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:X(()=>[(S(),le(bt(e.iconComponent)))]),_:1},8,["class"])),[[Bt,!e.showClearBtn]]):ie("v-if",!0),e.showClearBtn&&e.clearIcon?(S(),le(l,{key:1,class:D([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.nsSelect.e("clear")]),onClick:lt(e.handleClear,["prevent","stop"])},{default:X(()=>[(S(),le(bt(e.clearIcon)))]),_:1},8,["class","onClick"])):ie("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(S(),le(l,{key:2,class:D([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:X(()=>[(S(),le(bt(e.validateIcon)))]),_:1},8,["class"])):ie("v-if",!0)],2)],2)]}),content:X(()=>[j(c,{id:e.contentId,ref:"menuRef",data:e.filteredOptions,width:e.popperSize-e.BORDER_HORIZONTAL_WIDTH,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn,"aria-label":e.ariaLabel},ka({default:X(d=>[ue(e.$slots,"default",Oi(Vi(d)))]),_:2},[e.$slots.header?{name:"header",fn:X(()=>[A("div",{class:D(e.nsSelect.be("dropdown","header")),onClick:t[11]||(t[11]=lt(()=>{},["stop"]))},[ue(e.$slots,"header")],2)]),key:"0"}:void 0,e.$slots.loading&&e.loading?{name:"loading",fn:X(()=>[A("div",{class:D(e.nsSelect.be("dropdown","loading"))},[ue(e.$slots,"loading")],2)]),key:"1"}:e.loading||e.filteredOptions.length===0?{name:"empty",fn:X(()=>[A("div",{class:D(e.nsSelect.be("dropdown","empty"))},[ue(e.$slots,"empty",{},()=>[A("span",null,ve(e.emptyText),1)])],2)]),key:"2"}:void 0,e.$slots.footer?{name:"footer",fn:X(()=>[A("div",{class:D(e.nsSelect.be("dropdown","footer")),onClick:t[12]||(t[12]=lt(()=>{},["stop"]))},[ue(e.$slots,"footer")],2)]),key:"3"}:void 0]),1032,["id","data","width","hovering-index","scrollbar-always-on","aria-label"])]),_:3},8,["visible","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","placement","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],34)),[[u,e.handleClickOutside,e.popperRef]])}var Eue=is(wue,[["render",xue]]);const kue=pt(Eue),Aue=Te({animated:Boolean,count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:re([Number,Object])}}),Tue=Te({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}});var v1=W({name:"ElSkeletonItem",__name:"skeleton-item",props:Tue,setup(e){const t=Ee("skeleton");return(n,s)=>(S(),P("div",{class:D([f(t).e("item"),f(t).e(e.variant)])},[e.variant==="image"?(S(),le(f(t9),{key:0})):ie("v-if",!0)],2))}});const Mue=(e,t=0)=>{if(t===0)return e;const n=ht(t)&&!!t.initVal,s=F(n);let a=null;const o=i=>{if($t(i)){s.value=e.value;return}a&&clearTimeout(a),a=setTimeout(()=>{s.value=e.value},i)},r=i=>{i==="leading"?at(t)?o(t):o(t.leading):ht(t)?o(t.trailing):s.value=!1};return St(()=>r("leading")),me(()=>e.value,i=>{r(i?"leading":"trailing")}),s};var Pue=W({name:"ElSkeleton",__name:"skeleton",props:Aue,setup(e,{expose:t}){const n=e,s=Ee("skeleton"),a=Mue(Jt(n,"loading"),n.throttle);return t({uiLoading:a}),(o,r)=>f(a)?(S(),P("div",wt({key:0,class:[f(s).b(),f(s).is("animated",e.animated)]},o.$attrs),[(S(!0),P(He,null,yt(e.count,i=>(S(),P(He,{key:i},[f(a)?ue(o.$slots,"template",{key:i},()=>[j(v1,{class:D(f(s).is("first")),variant:"p"},null,8,["class"]),(S(!0),P(He,null,yt(e.rows,l=>(S(),le(v1,{key:l,class:D([f(s).e("paragraph"),f(s).is("last",l===e.rows&&e.rows>1)]),variant:"p"},null,8,["class"]))),128))]):ie("v-if",!0)],64))),128))],16)):ue(o.$slots,"default",Oi(wt({key:1},o.$attrs)))}});const Rue=pt(Pue,{SkeletonItem:v1}),Iue=An(v1),cT=Symbol("sliderContextKey"),Oue=Te({modelValue:{type:re([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:rs,inputSize:rs,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:re(Function),default:void 0},disabled:{type:Boolean,default:void 0},range:Boolean,vertical:Boolean,height:String,rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:re(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Qr,default:"top"},marks:{type:re(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...ia(["ariaLabel"])}),x6=e=>at(e)||ke(e)&&e.every(at),Lue={[ct]:x6,[es]:x6,[Pt]:x6},Nue=Te({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Qr,default:"top"}}),$ue={[ct]:e=>at(e)},Due=(e,t,n)=>{const s=F(),a=F(!1),o=k(()=>t.value instanceof Function),r=k(()=>o.value&&t.value(e.modelValue)||e.modelValue),i=Xr(()=>{n.value&&(a.value=!0)},50),l=Xr(()=>{n.value&&(a.value=!1)},50);return{tooltip:s,tooltipVisible:a,formatValue:r,displayTooltip:i,hideTooltip:l}},Fue=(e,t,n)=>{const{disabled:s,min:a,max:o,step:r,showTooltip:i,persistent:l,precision:c,sliderSize:u,formatTooltip:d,emitChange:h,resetSize:p,updateDragging:v}=je(cT),{tooltip:m,tooltipVisible:g,formatValue:b,displayTooltip:C,hideTooltip:w}=Due(e,d,i),_=F(),x=k(()=>`${(e.modelValue-a.value)/(o.value-a.value)*100}%`),E=k(()=>e.vertical?{bottom:x.value}:{left:x.value}),T=()=>{t.hovering=!0,C()},R=()=>{t.hovering=!1,t.dragging||w()},I=K=>{s.value||(K.preventDefault(),V(K),window.addEventListener("mousemove",z),window.addEventListener("touchmove",z),window.addEventListener("mouseup",G),window.addEventListener("touchend",G),window.addEventListener("contextmenu",G),_.value.focus())},M=K=>{s.value||(t.newPosition=Number.parseFloat(x.value)+K/(o.value-a.value)*100,Q(t.newPosition),h())},$=()=>{M(-r.value)},O=()=>{M(r.value)},B=()=>{M(-r.value*4)},U=()=>{M(r.value*4)},J=()=>{s.value||(Q(0),h())},Y=()=>{s.value||(Q(100),h())},N=K=>{const ee=an(K);let ae=!0;switch(ee){case Ae.left:case Ae.down:$();break;case Ae.right:case Ae.up:O();break;case Ae.home:J();break;case Ae.end:Y();break;case Ae.pageDown:B();break;case Ae.pageUp:U();break;default:ae=!1;break}ae&&K.preventDefault()},L=K=>{let ee,ae;return K.type.startsWith("touch")?(ae=K.touches[0].clientY,ee=K.touches[0].clientX):(ae=K.clientY,ee=K.clientX),{clientX:ee,clientY:ae}},V=K=>{t.dragging=!0,t.isClick=!0;const{clientX:ee,clientY:ae}=L(K);e.vertical?t.startY=ae:t.startX=ee,t.startPosition=Number.parseFloat(x.value),t.newPosition=t.startPosition},z=K=>{if(t.dragging){t.isClick=!1,C(),p();let ee;const{clientX:ae,clientY:fe}=L(K);e.vertical?(t.currentY=fe,ee=(t.startY-t.currentY)/u.value*100):(t.currentX=ae,ee=(t.currentX-t.startX)/u.value*100),t.newPosition=t.startPosition+ee,Q(t.newPosition)}},G=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||w(),t.isClick||Q(t.newPosition),h()},0),window.removeEventListener("mousemove",z),window.removeEventListener("touchmove",z),window.removeEventListener("mouseup",G),window.removeEventListener("touchend",G),window.removeEventListener("contextmenu",G))},Q=async K=>{if(K===null||Number.isNaN(+K))return;K=gu(K,0,100);const ee=Math.floor((o.value-a.value)/r.value),ae=ee*r.value/(o.value-a.value)*100,fe=ae+(100-ae)/2;let ne;if(Kt.dragging,K=>{v(K)}),Zt(_,"touchstart",I,{passive:!1}),{disabled:s,button:_,tooltip:m,tooltipVisible:g,showTooltip:i,persistent:l,wrapperStyle:E,formatValue:b,handleMouseEnter:T,handleMouseLeave:R,onButtonDown:I,onKeyDown:N,setPosition:Q}},Bue=["tabindex"];var uT=W({name:"ElSliderButton",__name:"button",props:Nue,emits:$ue,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Ee("slider"),r=Wt({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:s.modelValue}),i=k(()=>d.value?h.value:!1),{disabled:l,button:c,tooltip:u,showTooltip:d,persistent:h,tooltipVisible:p,wrapperStyle:v,formatValue:m,handleMouseEnter:g,handleMouseLeave:b,onButtonDown:C,onKeyDown:w,setPosition:_}=Fue(s,r,a),{hovering:x,dragging:E}=ps(r);return t({onButtonDown:C,onKeyDown:w,setPosition:_,hovering:x,dragging:E}),(T,R)=>(S(),P("div",{ref_key:"button",ref:c,class:D([f(o).e("button-wrapper"),{hover:f(x),dragging:f(E)}]),style:tt(f(v)),tabindex:f(l)?void 0:0,onMouseenter:R[0]||(R[0]=(...I)=>f(g)&&f(g)(...I)),onMouseleave:R[1]||(R[1]=(...I)=>f(b)&&f(b)(...I)),onMousedown:R[2]||(R[2]=(...I)=>f(C)&&f(C)(...I)),onFocus:R[3]||(R[3]=(...I)=>f(g)&&f(g)(...I)),onBlur:R[4]||(R[4]=(...I)=>f(b)&&f(b)(...I)),onKeydown:R[5]||(R[5]=(...I)=>f(w)&&f(w)(...I))},[j(f(Ss),{ref_key:"tooltip",ref:u,visible:f(p),placement:T.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":T.tooltipClass,disabled:!f(d),persistent:i.value},{content:X(()=>[A("span",null,ve(f(m)),1)]),default:X(()=>[A("div",{class:D([f(o).e("button"),{hover:f(x),dragging:f(E)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,Bue))}});const Vue=Te({mark:{type:re([String,Object]),default:void 0}});var zue=W({name:"ElSliderMarker",props:Vue,setup(e){const t=Ee("slider"),n=k(()=>Xe(e.mark)?e.mark:e.mark.label),s=k(()=>Xe(e.mark)?void 0:e.mark.style);return()=>rt("div",{class:t.e("marks-text"),style:s.value},n.value)}});const Hue=(e,t,n)=>{const{formItem:s}=Cs(),a=hn(),o=F(),r=F(),i={firstButton:o,secondButton:r},l=In(),c=k(()=>Math.min(t.firstValue,t.secondValue)),u=k(()=>Math.max(t.firstValue,t.secondValue)),d=k(()=>e.range?`${100*(u.value-c.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),h=k(()=>e.range?`${100*(c.value-e.min)/(e.max-e.min)}%`:"0%"),p=k(()=>e.vertical?{height:e.height}:{}),v=k(()=>e.vertical?{height:d.value,bottom:h.value}:{width:d.value,left:h.value}),m=()=>{if(a.value){const $=a.value.getBoundingClientRect();t.sliderSize=$[e.vertical?"height":"width"]}},g=$=>{const O=e.min+$*(e.max-e.min)/100;if(!e.range)return o;let B;return Math.abs(c.value-O)t.secondValue?"firstButton":"secondButton",i[B]},b=$=>{const O=g($);return O.value.setPosition($),O},C=$=>{t.firstValue=$??e.min,_(e.range?[c.value,u.value]:$??e.min)},w=$=>{t.secondValue=$,e.range&&_([c.value,u.value])},_=$=>{n(ct,$),n(es,$)},x=async()=>{await ze(),n(Pt,e.range?[c.value,u.value]:e.modelValue)},E=$=>{var O,B,U,J,Y,N;if(l.value||t.dragging)return;m();let L=0;if(e.vertical){const V=(U=(B=(O=$.touches)==null?void 0:O.item(0))==null?void 0:B.clientY)!=null?U:$.clientY;L=(a.value.getBoundingClientRect().bottom-V)/t.sliderSize*100}else{const V=(N=(Y=(J=$.touches)==null?void 0:J.item(0))==null?void 0:Y.clientX)!=null?N:$.clientX,z=a.value.getBoundingClientRect().left;L=(V-z)/t.sliderSize*100}if(!(L<0||L>100))return b(L)};return{elFormItem:s,slider:a,firstButton:o,secondButton:r,sliderDisabled:l,minValue:c,maxValue:u,runwayStyle:p,barStyle:v,resetSize:m,setPosition:b,emitChange:x,onSliderWrapperPrevent:$=>{var O,B;((O=i.firstButton.value)!=null&&O.dragging||(B=i.secondButton.value)!=null&&B.dragging)&&$.preventDefault()},onSliderClick:$=>{E($)&&x()},onSliderDown:async $=>{const O=E($);O&&(await ze(),O.value.onButtonDown($))},onSliderMarkerDown:$=>{if(l.value||t.dragging)return;b($)&&x()},setFirstValue:C,setSecondValue:w}},Wue=(e,t,n,s)=>({stops:k(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const r=Math.ceil((e.max-e.min)/e.step),i=100*e.step/(e.max-e.min),l=Array.from({length:r-1}).map((c,u)=>(u+1)*i);return e.range?l.filter(c=>c<100*(n.value-e.min)/(e.max-e.min)||c>100*(s.value-e.min)/(e.max-e.min)):l.filter(c=>c>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:r=>e.vertical?{bottom:`${r}%`}:{left:`${r}%`}}),jue=e=>k(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((n,s)=>n-s).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]})):[]),Kue=(e,t,n,s,a,o)=>{const r=c=>{a(ct,c),a(es,c)},i=()=>e.range?![n.value,s.value].every((c,u)=>c===t.oldValue[u]):e.modelValue!==t.oldValue,l=()=>{var c,u;e.min>e.max&&Xn("Slider","min should not be greater than max.");const d=e.modelValue;e.range&&ke(d)?d[1]e.max?r([e.max,e.max]):d[0]e.max?r([d[0],e.max]):(t.firstValue=d[0],t.secondValue=d[1],i()&&(e.validateEvent&&((c=o==null?void 0:o.validate)==null||c.call(o,"change").catch(h=>void 0)),t.oldValue=d.slice())):!e.range&&at(d)&&!Number.isNaN(d)&&(de.max?r(e.max):(t.firstValue=d,i()&&(e.validateEvent&&((u=o==null?void 0:o.validate)==null||u.call(o,"change").catch(h=>void 0)),t.oldValue=d)))};l(),me(()=>t.dragging,c=>{c||l()}),me(()=>e.modelValue,(c,u)=>{t.dragging||ke(c)&&ke(u)&&c.every((d,h)=>d===u[h])&&t.firstValue===c[0]&&t.secondValue===c[1]||l()},{deep:!0}),me(()=>[e.min,e.max],()=>{l()})},Uue=(e,t,n)=>{const s=F();return St(async()=>{e.range?(ke(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]):(!at(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),Zt(window,"resize",n),await ze(),n()}),{sliderWrapper:s}},que=["id","role","aria-label","aria-labelledby"],Gue={key:1};var Yue=W({name:"ElSlider",__name:"slider",props:Oue,emits:Lue,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Ee("slider"),{t:r}=It(),i=Wt({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:l,slider:c,firstButton:u,secondButton:d,sliderDisabled:h,minValue:p,maxValue:v,runwayStyle:m,barStyle:g,resetSize:b,emitChange:C,onSliderWrapperPrevent:w,onSliderClick:_,onSliderDown:x,onSliderMarkerDown:E,setFirstValue:T,setSecondValue:R}=Hue(s,i,a),{stops:I,getStopStyle:M}=Wue(s,i,p,v),{inputId:$,isLabeledByFormItem:O}=uo(s,{formItemContext:l}),B=ts(),U=k(()=>s.inputSize||B.value),J=k(()=>s.ariaLabel||r("el.slider.defaultLabel",{min:s.min,max:s.max})),Y=k(()=>s.range?s.rangeStartLabel||r("el.slider.defaultRangeStartLabel"):J.value),N=k(()=>s.formatValueText?s.formatValueText(ee.value):`${ee.value}`),L=k(()=>s.rangeEndLabel||r("el.slider.defaultRangeEndLabel")),V=k(()=>s.formatValueText?s.formatValueText(ae.value):`${ae.value}`),z=k(()=>[o.b(),o.m(B.value),o.is("vertical",s.vertical),{[o.m("with-input")]:s.showInput}]),G=jue(s);Kue(s,i,p,v,a,l);const Q=k(()=>{const pe=[s.min,s.max,s.step].map(he=>{const ce=`${he}`.split(".")[1];return ce?ce.length:0});return Math.max.apply(null,pe)}),{sliderWrapper:K}=Uue(s,i,b),{firstValue:ee,secondValue:ae,sliderSize:fe}=ps(i),ne=pe=>{i.dragging=pe};return Zt(K,"touchstart",w,{passive:!1}),Zt(K,"touchmove",w,{passive:!1}),Tt(cT,{...ps(s),sliderSize:fe,disabled:h,precision:Q,emitChange:C,resetSize:b,updateDragging:ne}),t({onSliderClick:_}),(pe,he)=>{var ce,Z;return S(),P("div",{id:pe.range?f($):void 0,ref_key:"sliderWrapper",ref:K,class:D(z.value),role:pe.range?"group":void 0,"aria-label":pe.range&&!f(O)?J.value:void 0,"aria-labelledby":pe.range&&f(O)?(ce=f(l))==null?void 0:ce.labelId:void 0},[A("div",{ref_key:"slider",ref:c,class:D([f(o).e("runway"),{"show-input":pe.showInput&&!pe.range},f(o).is("disabled",f(h))]),style:tt(f(m)),onMousedown:he[0]||(he[0]=(...H)=>f(x)&&f(x)(...H)),onTouchstartPassive:he[1]||(he[1]=(...H)=>f(x)&&f(x)(...H))},[A("div",{class:D(f(o).e("bar")),style:tt(f(g))},null,6),j(uT,{id:pe.range?void 0:f($),ref_key:"firstButton",ref:u,"model-value":f(ee),vertical:pe.vertical,"tooltip-class":pe.tooltipClass,placement:pe.placement,role:"slider","aria-label":pe.range||!f(O)?Y.value:void 0,"aria-labelledby":!pe.range&&f(O)?(Z=f(l))==null?void 0:Z.labelId:void 0,"aria-valuemin":pe.min,"aria-valuemax":pe.range?f(ae):pe.max,"aria-valuenow":f(ee),"aria-valuetext":N.value,"aria-orientation":pe.vertical?"vertical":"horizontal","aria-disabled":f(h),"onUpdate:modelValue":f(T)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),pe.range?(S(),le(uT,{key:0,ref_key:"secondButton",ref:d,"model-value":f(ae),vertical:pe.vertical,"tooltip-class":pe.tooltipClass,placement:pe.placement,role:"slider","aria-label":L.value,"aria-valuemin":f(ee),"aria-valuemax":pe.max,"aria-valuenow":f(ae),"aria-valuetext":V.value,"aria-orientation":pe.vertical?"vertical":"horizontal","aria-disabled":f(h),"onUpdate:modelValue":f(R)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):ie("v-if",!0),pe.showStops?(S(),P("div",Gue,[(S(!0),P(He,null,yt(f(I),(H,te)=>(S(),P("div",{key:te,class:D(f(o).e("stop")),style:tt(f(M)(H))},null,6))),128))])):ie("v-if",!0),f(G).length>0?(S(),P(He,{key:2},[A("div",null,[(S(!0),P(He,null,yt(f(G),(H,te)=>(S(),P("div",{key:te,style:tt(f(M)(H.position)),class:D([f(o).e("stop"),f(o).e("marks-stop")])},null,6))),128))]),A("div",{class:D(f(o).e("marks"))},[(S(!0),P(He,null,yt(f(G),(H,te)=>(S(),le(f(zue),{key:te,mark:H.mark,style:tt(f(M)(H.position)),onMousedown:lt(de=>f(E)(H.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):ie("v-if",!0)],38),pe.showInput&&!pe.range?(S(),le(f(NA),{key:0,ref:"input","model-value":f(ee),class:D(f(o).e("input")),step:pe.step,disabled:f(h),controls:pe.showInputControls,min:pe.min,max:pe.max,precision:Q.value,size:U.value,"onUpdate:modelValue":f(T),onChange:f(C)},null,8,["model-value","class","step","disabled","controls","min","max","precision","size","onUpdate:modelValue","onChange"])):ie("v-if",!0)],10,que)}}});const Xue=pt(Yue),Jue=Te({prefixCls:{type:String}}),dT=W({name:"ElSpaceItem",props:Jue,setup(e,{slots:t}){const n=Ee("space"),s=k(()=>`${e.prefixCls||n.b()}__item`);return()=>rt("div",{class:s.value},ue(t,"default"))}}),fT={small:8,default:12,large:16};function Zue(e){const t=Ee("space"),n=k(()=>[t.b(),t.m(e.direction),e.class]),s=F(0),a=F(0),o=k(()=>{const i=e.wrap||e.fill?{flexWrap:"wrap"}:{},l={alignItems:e.alignment},c={rowGap:`${a.value}px`,columnGap:`${s.value}px`};return[i,l,c,e.style]}),r=k(()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{});return Wa(()=>{const{size:i="small",wrap:l,direction:c,fill:u}=e;if(ke(i)){const[d=0,h=0]=i;s.value=d,a.value=h}else{let d;at(i)?d=i:d=fT[i||"small"]||fT.small,(l||u)&&c==="horizontal"?s.value=a.value=d:c==="horizontal"?(s.value=d,a.value=0):(a.value=d,s.value=0)}}),{classes:n,containerStyle:o,itemStyle:r}}const Que=Te({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:re([String,Object,Array]),default:""},style:{type:re([String,Array,Object]),default:""},alignment:{type:re(String),default:"center"},prefixCls:{type:String},spacer:{type:re([Object,String,Number,Array]),default:null,validator:e=>un(e)||at(e)||Xe(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:fr,validator:e=>at(e)||ke(e)&&e.length===2&&e.every(at)}}),ede=pt(W({name:"ElSpace",props:Que,setup(e,{slots:t}){const{classes:n,containerStyle:s,itemStyle:a}=Zue(e);function o(r,i="",l=[]){const{prefixCls:c}=e;return r.forEach((u,d)=>{Ky(u)?ke(u.children)&&u.children.forEach((h,p)=>{Ky(h)&&ke(h.children)?o(h.children,`${i+p}-`,l):un(h)&&(h==null?void 0:h.type)===Kn?l.push(h):l.push(j(dT,{style:a.value,prefixCls:c,key:`nested-${i+p}`},{default:()=>[h]},Do.PROPS|Do.STYLE,["style","prefixCls"]))}):uJ(u)&&l.push(j(dT,{style:a.value,prefixCls:c,key:`LoopKey${i+d}`},{default:()=>[u]},Do.PROPS|Do.STYLE,["style","prefixCls"]))}),l}return()=>{var r;const{spacer:i,direction:l}=e,c=ue(t,"default",{key:0},()=>[]);if(((r=c.children)!=null?r:[]).length===0)return null;if(ke(c.children)){let u=o(c.children);if(i){const d=u.length-1;u=u.reduce((h,p,v)=>{const m=[...h,p];return v!==d&&m.push(j("span",{style:[a.value,l==="vertical"?"width: 100%":null],key:v},[un(i)?i:Ue(i,Do.TEXT)],Do.STYLE)),m},[])}return j("div",{class:n.value,style:s.value},u,Do.STYLE|Do.CLASS)}return c.children}}})),tde=Te({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:re([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:re([String,Object,Array])}});var nde=W({name:"ElStatistic",__name:"statistic",props:tde,setup(e,{expose:t}){const n=e,s=Ee("statistic"),a=k(()=>{const{value:o,formatter:r,precision:i,decimalSeparator:l,groupSeparator:c}=n;if(et(r))return r(o);if(!at(o)||Number.isNaN(o))return o;let[u,d=""]=String(o).split(".");return d=d.padEnd(i,"0").slice(0,i>0?i:0),u=u.replace(/\B(?=(\d{3})+(?!\d))/g,c),[u,d].join(d?l:"")});return t({displayValue:a}),(o,r)=>(S(),P("div",{class:D(f(s).b())},[o.$slots.title||e.title?(S(),P("div",{key:0,class:D(f(s).e("head"))},[ue(o.$slots,"title",{},()=>[Ue(ve(e.title),1)])],2)):ie("v-if",!0),A("div",{class:D(f(s).e("content"))},[o.$slots.prefix||e.prefix?(S(),P("div",{key:0,class:D(f(s).e("prefix"))},[ue(o.$slots,"prefix",{},()=>[A("span",null,ve(e.prefix),1)])],2)):ie("v-if",!0),A("span",{class:D(f(s).e("number")),style:tt(e.valueStyle)},ve(a.value),7),o.$slots.suffix||e.suffix?(S(),P("div",{key:1,class:D(f(s).e("suffix"))},[ue(o.$slots,"suffix",{},()=>[A("span",null,ve(e.suffix),1)])],2)):ie("v-if",!0)],2)],2))}});const hT=pt(nde),sde=Te({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:re([Number,Object]),default:0},valueStyle:{type:re([String,Object,Array])}}),ade={finish:()=>!0,[Pt]:e=>at(e)},ode=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],pT=e=>at(e)?new Date(e).getTime():e.valueOf(),vT=(e,t)=>{let n=e;const s=/\[([^\]]*)]/g;return ode.reduce((o,[r,i])=>{const l=new RegExp(`${r}+(?![^\\[\\]]*\\])`,"g");if(l.test(o)){const c=Math.floor(n/i);return n-=c*i,o.replace(l,u=>String(c).padStart(u.length,"0"))}return o},t).replace(s,"$1")};var rde=W({name:"ElCountdown",__name:"countdown",props:sde,emits:ade,setup(e,{expose:t,emit:n}){const s=e,a=n;let o;const r=F(0),i=k(()=>vT(r.value,s.format)),l=d=>vT(d,s.format),c=()=>{o&&(qi(o),o=void 0)},u=()=>{const d=pT(s.value),h=()=>{let p=d-Date.now();a(Pt,p),p<=0?(p=0,c(),a("finish")):o=Jr(h),r.value=p};o=Jr(h)};return St(()=>{r.value=pT(s.value)-Date.now(),me(()=>[s.value,s.format],()=>{c(),u()},{immediate:!0})}),Gt(()=>{c()}),t({displayValue:i}),(d,h)=>(S(),le(f(hT),{value:r.value,title:e.title,prefix:e.prefix,suffix:e.suffix,"value-style":e.valueStyle,formatter:l},ka({_:2},[yt(d.$slots,(p,v)=>({name:v,fn:X(()=>[ue(d.$slots,v)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});const ide=pt(rde),lde=Te({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),cde={[Pt]:(e,t)=>[e,t].every(at)},mT="ElSteps";var ude=W({name:"ElSteps",__name:"steps",props:lde,emits:cde,setup(e,{emit:t}){const n=e,s=t,a=Ee("steps"),{children:o,addChild:r,removeChild:i,ChildrenSorter:l}=Wg(_t(),"ElStep");return me(o,()=>{o.value.forEach((c,u)=>{c.setIndex(u)})}),Tt(mT,{props:n,steps:o,addStep:r,removeStep:i}),me(()=>n.active,(c,u)=>{s(Pt,c,u)}),(c,u)=>(S(),P("div",{class:D([f(a).b(),f(a).m(e.simple?"simple":e.direction)])},[ue(c.$slots,"default"),j(f(l))],2))}});const dde=Te({title:{type:String,default:""},icon:{type:en},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}});var gT=W({name:"ElStep",__name:"item",props:dde,setup(e){const t=e,n=Ee("step"),s=F(-1),a=F({}),o=F(""),r=je(mT),i=_t();let l=0,c=0;St(()=>{me([()=>r.props.active,()=>r.props.processStatus,()=>r.props.finishStatus],([R],[I])=>{c=I||0,l=R-c,E(R)},{immediate:!0})});const u=k(()=>t.status||o.value),d=k(()=>{const R=r.steps.value[s.value-1];return R?R.internalStatus.value:"wait"}),h=k(()=>r.props.alignCenter),p=k(()=>r.props.direction==="vertical"),v=k(()=>r.props.simple),m=k(()=>r.steps.value.length),g=k(()=>{var R;return((R=r.steps.value[m.value-1])==null?void 0:R.uid)===i.uid}),b=k(()=>v.value?"":r.props.space),C=k(()=>[n.b(),n.is(v.value?"simple":r.props.direction),n.is("flex",g.value&&!b.value&&!h.value),n.is("center",h.value&&!p.value&&!v.value)]),w=k(()=>{const R={flexBasis:at(b.value)?`${b.value}px`:b.value?b.value:`${100/(m.value-(h.value?0:1))}%`};return p.value||g.value&&(R.maxWidth=`${100/m.value}%`),R}),_=R=>{s.value=R},x=R=>{const I=R==="wait",$={transitionDelay:`${Math.abs(l)===1?0:l>0?(s.value+1-c)*150:-(s.value+1-r.props.active)*150}ms`},O=R===r.props.processStatus||I?0:100;$.borderWidth=O&&!v.value?"1px":0,$[r.props.direction==="vertical"?"height":"width"]=`${O}%`,a.value=$},E=R=>{R>s.value?o.value=r.props.finishStatus:R===s.value&&d.value!=="error"?o.value=r.props.processStatus:o.value="wait";const I=r.steps.value[s.value-1];I&&I.calcProgress(o.value)},T={uid:i.uid,getVnode:()=>i.vnode,currentStatus:u,internalStatus:o,setIndex:_,calcProgress:x};return r.addStep(T),Gt(()=>{r.removeStep(T)}),(R,I)=>(S(),P("div",{style:tt(w.value),class:D(C.value)},[ie(" icon & line "),A("div",{class:D([f(n).e("head"),f(n).is(u.value)])},[v.value?ie("v-if",!0):(S(),P("div",{key:0,class:D(f(n).e("line"))},[A("i",{class:D(f(n).e("line-inner")),style:tt(a.value)},null,6)],2)),A("div",{class:D([f(n).e("icon"),f(n).is(e.icon||R.$slots.icon?"icon":"text")])},[ue(R.$slots,"icon",{},()=>[e.icon?(S(),le(f(Je),{key:0,class:D(f(n).e("icon-inner"))},{default:X(()=>[(S(),le(bt(e.icon)))]),_:1},8,["class"])):u.value==="success"?(S(),le(f(Je),{key:1,class:D([f(n).e("icon-inner"),f(n).is("status")])},{default:X(()=>[j(f(Mf))]),_:1},8,["class"])):u.value==="error"?(S(),le(f(Je),{key:2,class:D([f(n).e("icon-inner"),f(n).is("status")])},{default:X(()=>[j(f(Ua))]),_:1},8,["class"])):v.value?ie("v-if",!0):(S(),P("div",{key:3,class:D(f(n).e("icon-inner"))},ve(s.value+1),3))])],2)],2),ie(" title & description "),A("div",{class:D(f(n).e("main"))},[A("div",{class:D([f(n).e("title"),f(n).is(u.value)])},[ue(R.$slots,"title",{},()=>[Ue(ve(e.title),1)])],2),v.value?(S(),P("div",{key:0,class:D(f(n).e("arrow"))},null,2)):(S(),P("div",{key:1,class:D([f(n).e("description"),f(n).is(u.value)])},[ue(R.$slots,"description",{},()=>[Ue(ve(e.description),1)])],2))],2)],6))}});const fde=pt(ude,{Step:gT}),hde=An(gT),bT=e=>["",...fr].includes(e),pde=Te({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:void 0},loading:Boolean,size:{type:String,validator:bT},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:en},activeActionIcon:{type:en},activeIcon:{type:en},inactiveIcon:{type:en},activeText:{type:String,default:""},inactiveText:{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},beforeChange:{type:re(Function)},id:String,tabindex:{type:[String,Number]},...ia(["ariaLabel"])}),vde={[ct]:e=>Qt(e)||Xe(e)||at(e),[Pt]:e=>Qt(e)||Xe(e)||at(e),[es]:e=>Qt(e)||Xe(e)||at(e)},mde=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex"],gde=["aria-hidden"],bde={key:1},yde={key:1},wde=["aria-hidden"],yT="ElSwitch";var _de=W({name:yT,__name:"switch",props:pde,emits:vde,setup(e,{expose:t,emit:n}){const s=e,a=n,{formItem:o}=Cs(),r=ts(),i=Ee("switch"),{inputId:l}=uo(s,{formItemContext:o}),c=In(k(()=>{if(s.loading)return!0})),u=F(s.modelValue!==!1),d=hn(),h=k(()=>[i.b(),i.m(r.value),i.is("disabled",c.value),i.is("checked",b.value)]),p=k(()=>[i.e("label"),i.em("label","left"),i.is("active",!b.value)]),v=k(()=>[i.e("label"),i.em("label","right"),i.is("active",b.value)]),m=k(()=>({width:Pn(s.width)}));me(()=>s.modelValue,()=>{u.value=!0});const g=k(()=>u.value?s.modelValue:!1),b=k(()=>g.value===s.activeValue);[s.activeValue,s.inactiveValue].includes(g.value)||(a(ct,s.inactiveValue),a(Pt,s.inactiveValue),a(es,s.inactiveValue)),me(b,x=>{var E;d.value.checked=x,s.validateEvent&&((E=o==null?void 0:o.validate)==null||E.call(o,"change").catch(T=>void 0))});const C=()=>{const x=b.value?s.inactiveValue:s.activeValue;a(ct,x),a(Pt,x),a(es,x),ze(()=>{d.value.checked=b.value})},w=()=>{if(c.value)return;const{beforeChange:x}=s;if(!x){C();return}const E=x();[tu(E),Qt(E)].includes(!0)||Xn(yT,"beforeChange must return type `Promise` or `boolean`"),tu(E)?E.then(R=>{R&&C()}).catch(R=>{}):E&&C()},_=()=>{var x,E;(E=(x=d.value)==null?void 0:x.focus)==null||E.call(x)};return St(()=>{d.value.checked=b.value}),t({focus:_,checked:b}),(x,E)=>(S(),P("div",{class:D(h.value),onClick:lt(w,["prevent"])},[A("input",{id:f(l),ref_key:"input",ref:d,class:D(f(i).e("input")),type:"checkbox",role:"switch","aria-checked":b.value,"aria-disabled":f(c),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:f(c),tabindex:e.tabindex,onChange:C,onKeydown:Nn(w,["enter"])},null,42,mde),!e.inlinePrompt&&(e.inactiveIcon||e.inactiveText||x.$slots.inactive)?(S(),P("span",{key:0,class:D(p.value)},[ue(x.$slots,"inactive",{},()=>[e.inactiveIcon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.inactiveIcon)))]),_:1})):ie("v-if",!0),!e.inactiveIcon&&e.inactiveText?(S(),P("span",{key:1,"aria-hidden":b.value},ve(e.inactiveText),9,gde)):ie("v-if",!0)])],2)):ie("v-if",!0),A("span",{class:D(f(i).e("core")),style:tt(m.value)},[e.inlinePrompt?(S(),P("div",{key:0,class:D(f(i).e("inner"))},[b.value?(S(),P("div",{key:1,class:D(f(i).e("inner-wrapper"))},[ue(x.$slots,"active",{},()=>[e.activeIcon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.activeIcon)))]),_:1})):ie("v-if",!0),!e.activeIcon&&e.activeText?(S(),P("span",yde,ve(e.activeText),1)):ie("v-if",!0)])],2)):(S(),P("div",{key:0,class:D(f(i).e("inner-wrapper"))},[ue(x.$slots,"inactive",{},()=>[e.inactiveIcon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.inactiveIcon)))]),_:1})):ie("v-if",!0),!e.inactiveIcon&&e.inactiveText?(S(),P("span",bde,ve(e.inactiveText),1)):ie("v-if",!0)])],2))],2)):ie("v-if",!0),A("div",{class:D(f(i).e("action"))},[e.loading?(S(),le(f(Je),{key:0,class:D(f(i).is("loading"))},{default:X(()=>[j(f(Ns))]),_:1},8,["class"])):b.value?ue(x.$slots,"active-action",{key:1},()=>[e.activeActionIcon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.activeActionIcon)))]),_:1})):ie("v-if",!0)]):b.value?ie("v-if",!0):ue(x.$slots,"inactive-action",{key:2},()=>[e.inactiveActionIcon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.inactiveActionIcon)))]),_:1})):ie("v-if",!0)])],2)],6),!e.inlinePrompt&&(e.activeIcon||e.activeText||x.$slots.active)?(S(),P("span",{key:1,class:D(v.value)},[ue(x.$slots,"active",{},()=>[e.activeIcon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.activeIcon)))]),_:1})):ie("v-if",!0),!e.activeIcon&&e.activeText?(S(),P("span",{key:1,"aria-hidden":!b.value},ve(e.activeText),9,wde)):ie("v-if",!0)])],2)):ie("v-if",!0)],2))}});const Cde=pt(_de),E6=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},Sde=function(e,t,n,s,a){if(!t&&!s&&(!a||ke(a)&&!a.length))return e;Xe(n)?n=n==="descending"?-1:1:n=n&&n<0?-1:1;const o=s?null:function(i,l){return a?hx(_s(a),c=>Xe(c)?Yn(i,c):c(i,l,e)):(t!=="$key"&&ht(i)&&"$value"in i&&(i=i.$value),[ht(i)?t?Yn(i,t):null:i])},r=function(i,l){var c,u,d,h,p,v;if(s)return s(i.value,l.value);for(let m=0,g=(u=(c=i.key)==null?void 0:c.length)!=null?u:0;m((v=l.key)==null?void 0:v[m]))return 1}return 0};return e.map((i,l)=>({value:i,index:l,key:o?o(i,l):null})).sort((i,l)=>{let c=r(i,l);return c||(c=i.index-l.index),c*+n}).map(i=>i.value)},wT=function(e,t){let n=null;return e.columns.forEach(s=>{s.id===t&&(n=s)}),n},xde=function(e,t){let n=null;for(let s=0;s{if(!e)throw new Error("Row is required when get row identity");if(Xe(t)){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let s=e;for(const a of n)s=s[a];return`${s}`}else if(et(t))return t.call(null,e);return""},Jf=function(e,t,n=!1,s="children"){const a=e||[],o={};return a.forEach((r,i)=>{if(o[Us(r,t)]={row:r,index:i},n){const l=r[s];ke(l)&&Object.assign(o,Jf(l,t,!0,s))}}),o};function Ede(e,t){const n={};let s;for(s in e)n[s]=e[s];for(s in t)if(Ht(t,s)){const a=t[s];$t(a)||(n[s]=a)}return n}function k6(e){return e===""||$t(e)||(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function CT(e){return e===""||$t(e)||(e=k6(e),Number.isNaN(e)&&(e=80)),e}function kde(e){return at(e)?e:Xe(e)?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function Ade(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...s)=>t(n(...s)))}function m1(e,t,n,s,a,o,r){let i=o??0,l=!1;const u=(()=>{if(!r)return e.indexOf(t);const m=Us(t,r);return e.findIndex(g=>Us(g,r)===m)})(),d=u!==-1,h=a==null?void 0:a.call(null,t,i),p=m=>{m==="add"?e.push(t):e.splice(u,1),l=!0},v=m=>{let g=0;const b=(s==null?void 0:s.children)&&m[s.children];return b&&ke(b)&&(g+=b.length,b.forEach(C=>{g+=v(C)})),g};return(!a||h)&&(Qt(n)?n&&!d?p("add"):!n&&d&&p("remove"):p(d?"remove":"add")),!(s!=null&&s.checkStrictly)&&(s!=null&&s.children)&&ke(t[s.children])&&t[s.children].forEach(m=>{const g=m1(e,m,n??!d,s,a,i+1,r);i+=v(m)+1,g&&(l=g)}),l}function Tde(e,t,n="children",s="hasChildren",a=!1){const o=i=>!(ke(i)&&i.length);function r(i,l,c){t(i,l,c),l.forEach(u=>{if(u[s]&&a){t(u,null,c+1);return}const d=u[n];o(d)||r(u,d,c+1)})}e.forEach(i=>{if(i[s]&&a){t(i,null,0);return}const l=i[n];o(l)||r(i,l,0)})}const Mde=(e,t,n,s)=>{const a={strategy:"fixed",...e.popperOptions},o=et(s==null?void 0:s.tooltipFormatter)?s.tooltipFormatter({row:n,column:s,cellValue:kf(n,s.property).value}):void 0;return un(o)?{slotContent:o,content:null,...e,popperOptions:a}:{slotContent:null,content:o??t,...e,popperOptions:a}};let da=null;function Pde(e,t,n,s,a,o){var r;const i=Mde(e,t,n,s),l={...i,slotContent:void 0};if((da==null?void 0:da.trigger)===a){const v=(r=da.vm)==null?void 0:r.component;px(v==null?void 0:v.props,l),v&&i.slotContent&&(v.slots.content=()=>[i.slotContent]);return}da==null||da();const c=o==null?void 0:o.refs.tableWrapper,u=c==null?void 0:c.dataset.prefix,d=j(Ss,{virtualTriggering:!0,virtualRef:a,appendTo:c,placement:"top",transition:"none",offset:0,hideAfter:0,...l},i.slotContent?{content:()=>i.slotContent}:void 0);d.appContext={...o.appContext,...o};const h=document.createElement("div");Zl(d,h),d.component.exposed.onOpen();const p=c==null?void 0:c.querySelector(`.${u}-scrollbar__wrap`);da=()=>{var v,m;(m=(v=d.component)==null?void 0:v.exposed)!=null&&m.onClose&&d.component.exposed.onClose(),Zl(null,h);const g=da;p==null||p.removeEventListener("scroll",g),g.trigger=void 0,g.vm=void 0,da=null},da.trigger=a??void 0,da.vm=d,p==null||p.addEventListener("scroll",da)}function ST(e){return e.children?hx(e.children,ST):[e]}function xT(e,t){return e+t.colSpan}const ET=(e,t,n,s)=>{let a=0,o=e;const r=n.states.columns.value;if(s){const l=ST(s[e]);a=r.slice(0,r.indexOf(l[0])).reduce(xT,0),o=a+l.reduce(xT,0)-1}else a=e;let i;switch(t){case"left":o=r.length-n.states.rightFixedLeafColumnsLength.value&&(i="right");break;default:o=r.length-n.states.rightFixedLeafColumnsLength.value&&(i="right")}return i?{direction:i,start:a,after:o}:{}},A6=(e,t,n,s,a,o=0)=>{const r=[],{direction:i,start:l,after:c}=ET(t,n,s,a);if(i){const u=i==="left";r.push(`${e}-fixed-column--${i}`),u&&c+o===s.states.fixedLeafColumnsLength.value-1?r.push("is-last-column"):!u&&l-o===s.states.columns.value.length-s.states.rightFixedLeafColumnsLength.value&&r.push("is-first-column")}return r};function kT(e,t){return e+(hg(t.realWidth)||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const T6=(e,t,n,s)=>{const{direction:a,start:o=0,after:r=0}=ET(e,t,n,s);if(!a)return;const i={},l=a==="left",c=n.states.columns.value;return l?i.left=c.slice(0,o).reduce(kT,0):i.right=c.slice(r+1).reverse().reduce(kT,0),i},Zf=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function AT(e){return e.some(t=>un(t)?!(t.type===Kn||t.type===He&&!AT(t.children)):!0)?e:null}function Rde(e){const t=_t(),n=F(!1),s=F([]),a=(c,u)=>{var d;const h=t.store.states.rowExpandable.value;return(d=h==null?void 0:h(c,u))!=null?d:!0};return{updateExpandRows:()=>{const c=e.data.value||[],u=e.rowKey.value;if(n.value)s.value=t.store.states.rowExpandable.value?c.filter(a):c.slice();else if(u){const d=Jf(s.value,u);s.value=c.filter((h,p)=>{const v=Us(h,u);return!!d[v]&&a(h,p)})}else s.value=[]},toggleRowExpansion:(c,u)=>{const h=(e.data.value||[]).indexOf(c);if(h>-1&&!a(c,h))return;m1(s.value,c,u,void 0,void 0,void 0,e.rowKey.value)&&t.emit("expand-change",c,s.value.slice())},setExpandRowKeys:c=>{t.store.assertRowKey();const u=e.data.value||[],d=e.rowKey.value,h=Jf(u,d);s.value=c.reduce((p,v)=>{const m=h[v];return m&&a(m.row,m.index)&&p.push(m.row),p},[])},isRowExpanded:c=>{const u=e.rowKey.value;return u?!!Jf(s.value,u)[Us(c,u)]:s.value.includes(c)},states:{expandRows:s,defaultExpandAll:n}}}function Ide(e){const t=_t(),n=F(null),s=F(null),a=c=>{t.store.assertRowKey(),n.value=c,r(c)},o=()=>{n.value=null},r=c=>{var u;const{data:d,rowKey:h}=e,p=s.value;let v=null;h.value&&(v=(u=(f(d)||[]).find(m=>Us(m,h.value)===c))!=null?u:null),s.value=v??null,t.emit("current-change",s.value,p)};return{setCurrentRowKey:a,restoreCurrentRowKey:o,setCurrentRowByKey:r,updateCurrentRow:c=>{const u=s.value;if(c&&c!==u){s.value=c,t.emit("current-change",s.value,u);return}!c&&u&&(s.value=null,t.emit("current-change",null,u))},updateCurrentRowData:()=>{const c=e.rowKey.value,u=e.data.value||[],d=s.value;if(d&&!u.includes(d))if(c){const h=Us(d,c);r(h)}else s.value=null,t.emit("current-change",null,d);else n.value&&(r(n.value),o())},states:{_currentRowKey:n,currentRow:s}}}function Ode(e){const t=F([]),n=F({}),s=F(16),a=F(!1),o=F({}),r=F("hasChildren"),i=F("children"),l=F(!1),c=_t(),u=k(()=>{if(!e.rowKey.value)return{};const _=e.data.value||[];return h(_)}),d=k(()=>{const _=e.rowKey.value,x=Object.keys(o.value),E={};return x.length&&x.forEach(T=>{if(o.value[T].length){const R={children:[]};o.value[T].forEach(I=>{const M=Us(I,_);R.children.push(M),I[r.value]&&!E[M]&&(E[M]={children:[]})}),E[T]=R}}),E}),h=_=>{const x=e.rowKey.value,E={};return Tde(_,(T,R,I)=>{const M=Us(T,x);ke(R)?E[M]={children:R.map($=>Us($,x)),level:I}:a.value&&(E[M]={children:[],lazy:!0,level:I})},i.value,r.value,a.value),E},p=(_=!1,x)=>{var E,T;x||(x=(E=c.store)==null?void 0:E.states.defaultExpandAll.value);const R=u.value,I=d.value,M=Object.keys(R),$={};if(M.length){const O=f(n),B=[],U=(Y,N)=>{if(_)return t.value?x||t.value.includes(N):!!(x||Y!=null&&Y.expanded);{const L=x||t.value&&t.value.includes(N);return!!(Y!=null&&Y.expanded||L)}};M.forEach(Y=>{const N=O[Y],L={...R[Y]};if(L.expanded=U(N,Y),L.lazy){const{loaded:V=!1,loading:z=!1}=N||{};L.loaded=!!V,L.loading=!!z,B.push(Y)}$[Y]=L});const J=Object.keys(I);a.value&&J.length&&B.length&&J.forEach(Y=>{var N;const L=O[Y],V=I[Y].children;if(B.includes(Y)){if(((N=$[Y].children)==null?void 0:N.length)!==0)throw new Error("[ElTable]children must be an empty array.");$[Y].children=V}else{const{loaded:z=!1,loading:G=!1}=L||{};$[Y]={lazy:!0,loaded:!!z,loading:!!G,expanded:U(L,Y),children:V,level:void 0}}})}n.value=$,(T=c.store)==null||T.updateTableScrollY()};me(()=>t.value,()=>{p(!0)}),me(()=>u.value,()=>{p()}),me(()=>d.value,()=>{p()});const v=_=>{t.value=_,p()},m=_=>a.value&&_&&"loaded"in _&&!_.loaded,g=(_,x)=>{c.store.assertRowKey();const E=e.rowKey.value,T=Us(_,E),R=T&&n.value[T];if(T&&R&&"expanded"in R){const I=R.expanded;x=$t(x)?!R.expanded:x,n.value[T].expanded=x,I!==x&&c.emit("expand-change",_,x),x&&m(R)&&C(_,T,R),c.store.updateTableScrollY()}},b=_=>{c.store.assertRowKey();const x=e.rowKey.value,E=Us(_,x),T=n.value[E];m(T)?C(_,E,T):g(_,void 0)},C=(_,x,E)=>{const{load:T}=c.props;T&&!n.value[x].loaded&&(n.value[x].loading=!0,T(_,E,R=>{if(!ke(R))throw new TypeError("[ElTable] data must be an array");n.value[x].loading=!1,n.value[x].loaded=!0,n.value[x].expanded=!0,R.length&&(o.value[x]=R),c.emit("expand-change",_,!0)}))};return{loadData:C,loadOrToggle:b,toggleTreeExpansion:g,updateTreeExpandKeys:v,updateTreeData:p,updateKeyChildren:(_,x)=>{const{lazy:E,rowKey:T}=c.props;if(E){if(!T)throw new Error("[Table] rowKey is required in updateKeyChild");o.value[_]&&(o.value[_]=x)}},normalize:h,states:{expandRowKeys:t,treeData:n,indent:s,lazy:a,lazyTreeNodeMap:o,lazyColumnIdentifier:r,childrenColumnName:i,checkStrictly:l}}}const Lde=(e,t)=>{const n=t.sortingColumn;return!n||Xe(n.sortable)?e:Sde(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},g1=e=>{const t=[];return e.forEach(n=>{n.children&&n.children.length>0?t.push.apply(t,g1(n.children)):t.push(n)}),t};function Nde(){var e;const t=_t(),{size:n}=ps((e=t.proxy)==null?void 0:e.$props),s=F(null),a=F([]),o=F([]),r=F(!1),i=F([]),l=F([]),c=F([]),u=F([]),d=F([]),h=F([]),p=F([]),v=F([]),m=[],g=F(0),b=F(0),C=F(0),w=F(!1),_=F([]),x=F(!1),E=F(!1),T=F(null),R=F(null),I=F({}),M=F(null),$=F(null),O=F(null),B=F(null),U=F(null),J=k(()=>s.value?Jf(_.value,s.value):void 0);me(a,()=>{var ot;t.state&&(V(!1),t.props.tableLayout==="auto"&&((ot=t.refs.tableHeaderRef)==null||ot.updateFixedColumnStyle()))},{deep:!0});const Y=()=>{if(!s.value)throw new Error("[ElTable] prop row-key is required")},N=ot=>{var dt;(dt=ot.children)==null||dt.forEach(kt=>{kt.fixed=ot.fixed,N(kt)})},L=()=>{i.value.forEach(Ye=>{N(Ye)}),u.value=i.value.filter(Ye=>[!0,"left"].includes(Ye.fixed));const ot=i.value.find(Ye=>Ye.type==="selection");let dt;ot&&ot.fixed!=="right"&&!u.value.includes(ot)&&i.value.indexOf(ot)===0&&u.value.length&&(u.value.unshift(ot),dt=!0),d.value=i.value.filter(Ye=>Ye.fixed==="right");const kt=i.value.filter(Ye=>(dt?Ye.type!=="selection":!0)&&!Ye.fixed);l.value=Array.from(u.value).concat(kt).concat(d.value);const xe=g1(kt),qe=g1(u.value),ye=g1(d.value);g.value=xe.length,b.value=qe.length,C.value=ye.length,c.value=Array.from(qe).concat(xe).concat(ye),r.value=u.value.length>0||d.value.length>0},V=(ot,dt=!1)=>{ot&&L(),dt?t.state.doLayout():t.state.debouncedUpdateLayout()},z=ot=>J.value?!!J.value[Us(ot,s.value)]:_.value.includes(ot),G=()=>{w.value=!1;const ot=_.value;_.value=[],ot.length&&t.emit("selection-change",[])},Q=()=>{var ot,dt;let kt;if(s.value){kt=[];const xe=(dt=(ot=t==null?void 0:t.store)==null?void 0:ot.states)==null?void 0:dt.childrenColumnName.value,qe=Jf(a.value,s.value,!0,xe);for(const ye in J.value)Ht(J.value,ye)&&!qe[ye]&&kt.push(J.value[ye].row)}else kt=_.value.filter(xe=>!a.value.includes(xe));if(kt.length){const xe=_.value.filter(qe=>!kt.includes(qe));_.value=xe,t.emit("selection-change",xe.slice())}},K=()=>(_.value||[]).slice(),ee=(ot,dt,kt=!0,xe=!1)=>{var qe,ye,Ye,Ct;const Xt={children:(ye=(qe=t==null?void 0:t.store)==null?void 0:qe.states)==null?void 0:ye.childrenColumnName.value,checkStrictly:(Ct=(Ye=t==null?void 0:t.store)==null?void 0:Ye.states)==null?void 0:Ct.checkStrictly.value};if(m1(_.value,ot,dt,Xt,xe?void 0:T.value,a.value.indexOf(ot),s.value)){const Sn=(_.value||[]).slice();kt&&t.emit("select",Sn,ot),t.emit("selection-change",Sn)}},ae=()=>{var ot,dt;const kt=E.value?!w.value:!(w.value||_.value.length);w.value=kt;let xe=!1,qe=0;const ye=(dt=(ot=t==null?void 0:t.store)==null?void 0:ot.states)==null?void 0:dt.rowKey.value,{childrenColumnName:Ye}=t.store.states,Ct={children:Ye.value,checkStrictly:!1};a.value.forEach((Xt,wn)=>{const Sn=wn+qe;m1(_.value,Xt,kt,Ct,T.value,Sn,ye)&&(xe=!0),qe+=ne(Us(Xt,ye))}),xe&&t.emit("selection-change",_.value?_.value.slice():[]),t.emit("select-all",(_.value||[]).slice())},fe=()=>{var ot;if(((ot=a.value)==null?void 0:ot.length)===0){w.value=!1;return}const{childrenColumnName:dt}=t.store.states;let kt=0,xe=0;const qe=Ye=>{var Ct;for(const Xt of Ye){const wn=T.value&&T.value.call(null,Xt,kt);if(z(Xt))xe++;else if(!T.value||wn)return!1;if(kt++,(Ct=Xt[dt.value])!=null&&Ct.length&&!qe(Xt[dt.value]))return!1}return!0},ye=qe(a.value||[]);w.value=xe===0?!1:ye},ne=ot=>{var dt;if(!t||!t.store)return 0;const{treeData:kt}=t.store.states;let xe=0;const qe=(dt=kt.value[ot])==null?void 0:dt.children;return qe&&(xe+=qe.length,qe.forEach(ye=>{xe+=ne(ye)})),xe},pe=(ot,dt)=>{const kt={};return _s(ot).forEach(xe=>{I.value[xe.id]=dt,kt[xe.columnKey||xe.id]=dt}),kt},he=(ot,dt,kt)=>{$.value&&$.value!==ot&&($.value.order=null),$.value=ot,O.value=dt,B.value=kt},ce=()=>{let ot=f(o);Object.keys(I.value).forEach(dt=>{const kt=I.value[dt];if(!kt||kt.length===0)return;const xe=wT({columns:c.value},dt);xe&&xe.filterMethod&&(ot=ot.filter(qe=>kt.some(ye=>xe.filterMethod.call(null,ye,qe,xe))))}),M.value=ot},Z=()=>{var ot;a.value=Lde((ot=M.value)!=null?ot:[],{sortingColumn:$.value,sortProp:O.value,sortOrder:B.value})},H=(ot=void 0)=>{ot!=null&&ot.filter||ce(),Z()},te=ot=>{const{tableHeaderRef:dt}=t.refs;if(!dt)return;const kt=Object.assign({},dt.filterPanels),xe=Object.keys(kt);if(xe.length)if(Xe(ot)&&(ot=[ot]),ke(ot)){const qe=ot.map(ye=>xde({columns:c.value},ye));xe.forEach(ye=>{const Ye=qe.find(Ct=>Ct.id===ye);Ye&&(Ye.filteredValue=[])}),t.store.commit("filterChange",{column:qe,values:[],silent:!0,multi:!0})}else xe.forEach(qe=>{const ye=c.value.find(Ye=>Ye.id===qe);ye&&(ye.filteredValue=[])}),I.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},de=()=>{$.value&&(he(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:be,toggleRowExpansion:_e,updateExpandRows:Se,states:Ne,isRowExpanded:Ve}=Rde({data:a,rowKey:s}),{updateTreeExpandKeys:$e,toggleTreeExpansion:we,updateTreeData:Oe,updateKeyChildren:Pe,loadOrToggle:We,states:Qe}=Ode({data:a,rowKey:s}),{updateCurrentRowData:it,updateCurrentRow:De,setCurrentRowKey:Ke,states:nt}=Ide({data:a,rowKey:s});return{assertRowKey:Y,updateColumns:L,scheduleLayout:V,isSelected:z,clearSelection:G,cleanSelection:Q,getSelectionRows:K,toggleRowSelection:ee,_toggleAllSelection:ae,toggleAllSelection:null,updateAllSelected:fe,updateFilters:pe,updateCurrentRow:De,updateSort:he,execFilter:ce,execSort:Z,execQuery:H,clearFilter:te,clearSort:de,toggleRowExpansion:_e,setExpandRowKeysAdapter:ot=>{be(ot),$e(ot)},setCurrentRowKey:Ke,toggleRowExpansionAdapter:(ot,dt)=>{c.value.some(({type:xe})=>xe==="expand")?_e(ot,dt):we(ot,dt)},isRowExpanded:Ve,updateExpandRows:Se,updateCurrentRowData:it,loadOrToggle:We,updateTreeData:Oe,updateKeyChildren:Pe,states:{tableSize:n,rowKey:s,data:a,_data:o,isComplex:r,_columns:i,originColumns:l,columns:c,fixedColumns:u,rightFixedColumns:d,leafColumns:h,fixedLeafColumns:p,rightFixedLeafColumns:v,updateOrderFns:m,leafColumnsLength:g,fixedLeafColumnsLength:b,rightFixedLeafColumnsLength:C,isAllSelected:w,selection:_,reserveSelection:x,selectOnIndeterminate:E,selectable:T,rowExpandable:R,filters:I,filteredData:M,sortingColumn:$,sortProp:O,sortOrder:B,hoverRow:U,...Ne,...Qe,...nt}}}function M6(e,t){return e.map(n=>{var s;return n.id===t.id?t:((s=n.children)!=null&&s.length&&(n.children=M6(n.children,t)),n)})}function P6(e){e.forEach(t=>{var n,s;t.no=(n=t.getColumnIndex)==null?void 0:n.call(t),(s=t.children)!=null&&s.length&&P6(t.children)}),e.sort((t,n)=>t.no-n.no)}function $de(){const e=_t(),t=Nde(),n=Ee("table"),{t:s}=It();return{ns:n,t:s,...t,mutations:{setData(i,l){const c=f(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),f(i.reserveSelection)?e.store.assertRowKey():c?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(i,l,c,u){var d;const h=f(i._columns);let p=[];c?(c&&!c.children&&(c.children=[]),(d=c.children)==null||d.push(l),p=M6(h,c)):(h.push(l),p=h),P6(p),i._columns.value=p,i.updateOrderFns.push(u),l.type==="selection"&&(i.selectable.value=l.selectable,i.reserveSelection.value=l.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(i,l){var c;((c=l.getColumnIndex)==null?void 0:c.call(l))!==l.no&&(P6(i._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(i,l,c,u){var d;const h=f(i._columns)||[];if(c)(d=c.children)==null||d.splice(c.children.findIndex(v=>v.id===l.id),1),ze(()=>{var v;((v=c.children)==null?void 0:v.length)===0&&delete c.children}),i._columns.value=M6(h,c);else{const v=h.indexOf(l);v>-1&&(h.splice(v,1),i._columns.value=h)}const p=i.updateOrderFns.indexOf(u);p>-1&&i.updateOrderFns.splice(p,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(i,l){const{prop:c,order:u,init:d}=l;if(c){const h=f(i.columns).find(p=>p.property===c);h&&(h.order=u,e.store.updateSort(h,c,u),e.store.commit("changeSortCondition",{init:d}))}},changeSortCondition(i,l){const{sortingColumn:c,sortProp:u,sortOrder:d}=i,h=f(c),p=f(u),v=f(d);hg(v)&&(i.sortingColumn.value=null,i.sortProp.value=null);const m={filter:!0};e.store.execQuery(m),(!l||!(l.silent||l.init))&&e.emit("sort-change",{column:h,prop:p,order:v}),e.store.updateTableScrollY()},filterChange(i,l){const{column:c,values:u,silent:d}=l,h=e.store.updateFilters(c,u);e.store.execQuery(),d||e.emit("filter-change",h),e.store.updateTableScrollY()},toggleAllSelection(){var i,l;(l=(i=e.store).toggleAllSelection)==null||l.call(i)},rowSelectedChanged(i,l){e.store.toggleRowSelection(l),e.store.updateAllSelected()},setHoverRow(i,l){i.hoverRow.value=l},setCurrentRow(i,l){e.store.updateCurrentRow(l)}},commit:function(i,...l){const c=e.store.mutations;if(c[i])c[i].apply(e,[e.store.states,...l]);else throw new Error(`Action not found: ${i}`)},updateTableScrollY:function(){ze(()=>e.layout.updateScrollY.apply(e.layout))}}}const R6={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",rowExpandable:"rowExpandable",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"},"treeProps.checkStrictly":{key:"checkStrictly",default:!1}};function Dde(e,t){if(!e)throw new Error("Table is required.");const n=$de();return n.toggleAllSelection=Xr(n._toggleAllSelection,10),Object.keys(R6).forEach(s=>{TT(MT(t,s),s,n)}),Fde(n,t),n}function Fde(e,t){Object.keys(R6).forEach(n=>{me(()=>MT(t,n),s=>{TT(s,n,e)})})}function TT(e,t,n){let s=e,a=R6[t];ht(a)&&(s=s||a.default,a=a.key),n.states[a].value=s}function MT(e,t){if(t.includes(".")){const n=t.split(".");let s=e;return n.forEach(a=>{s=s[a]}),s}else return e[t]}var Bde=Object.defineProperty,Vde=(e,t,n)=>t in e?Bde(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qs=(e,t,n)=>Vde(e,typeof t!="symbol"?t+"":t,n);class zde{constructor(t){qs(this,"observers"),qs(this,"table"),qs(this,"store"),qs(this,"columns"),qs(this,"fit"),qs(this,"showHeader"),qs(this,"height"),qs(this,"scrollX"),qs(this,"scrollY"),qs(this,"bodyWidth"),qs(this,"fixedWidth"),qs(this,"rightFixedWidth"),qs(this,"tableHeight"),qs(this,"headerHeight"),qs(this,"appendHeight"),qs(this,"footerHeight"),qs(this,"gutterWidth"),this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=F(null),this.scrollX=F(!1),this.scrollY=F(!1),this.bodyWidth=F(null),this.fixedWidth=F(null),this.rightFixedWidth=F(null),this.gutterWidth=0;for(const n in t)Ht(t,n)&&(pn(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(){const t=this.height.value;if(hg(t))return!1;const n=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(n!=null&&n.wrapRef)){let s=!0;const a=this.scrollY.value;return s=n.wrapRef.scrollHeight>n.wrapRef.clientHeight,this.scrollY.value=s,a!==s}return!1}setHeight(t,n="height"){if(!jt)return;const s=this.table.vnode.el;if(t=kde(t),this.height.value=Number(t),!s&&(t||t===0)){ze(()=>this.setHeight(t,n));return}s&&at(t)?(s.style[n]=`${t}px`,this.updateElsHeight()):s&&Xe(t)&&(s.style[n]=t,this.updateElsHeight())}setMaxHeight(t){this.setHeight(t,"max-height")}getFlattenColumns(){const t=[];return this.table.store.states.columns.value.forEach(s=>{s.isColumnGroup?t.push.apply(t,s.columns):t.push(s)}),t}updateElsHeight(){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(){var t;if(!jt)return;const n=this.fit,s=(t=this.table.vnode.el)==null?void 0:t.clientWidth;let a=0;const o=this.getFlattenColumns(),r=o.filter(c=>!at(c.width));if(o.forEach(c=>{at(c.width)&&c.realWidth&&(c.realWidth=null)}),r.length>0&&n){if(o.forEach(c=>{a+=Number(c.width||c.minWidth||80)}),a<=s){this.scrollX.value=!1;const c=s-a;if(r.length===1)r[0].realWidth=Number(r[0].minWidth||80)+c;else{const u=r.reduce((p,v)=>p+Number(v.minWidth||80),0),d=c/u;let h=0;r.forEach((p,v)=>{if(v===0)return;const m=Math.floor(Number(p.minWidth||80)*d);h+=m,p.realWidth=Number(p.minWidth||80)+m}),r[0].realWidth=Number(r[0].minWidth||80)+c-h}}else this.scrollX.value=!0,r.forEach(c=>{c.realWidth=Number(c.minWidth)});this.bodyWidth.value=Math.max(a,s),this.table.state.resizeState.value.width=this.bodyWidth.value}else o.forEach(c=>{!c.width&&!c.minWidth?c.realWidth=80:c.realWidth=Number(c.width||c.minWidth),a+=c.realWidth}),this.scrollX.value=a>s,this.bodyWidth.value=a;const i=this.store.states.fixedColumns.value;if(i.length>0){let c=0;i.forEach(u=>{c+=Number(u.realWidth||u.width)}),this.fixedWidth.value=c}const l=this.store.states.rightFixedColumns.value;if(l.length>0){let c=0;l.forEach(u=>{c+=Number(u.realWidth||u.width)}),this.rightFixedWidth.value=c}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(s=>{var a,o;switch(t){case"columns":(a=s.state)==null||a.onColumnsChange(this);break;case"scrollable":(o=s.state)==null||o.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${t}.`)}})}}var Hde=W({name:"ElTableFilterPanel",components:{ElCheckbox:mr,ElCheckboxGroup:T3,ElScrollbar:pr,ElTooltip:Ss,ElIcon:Je,ArrowDown:hr,ArrowUp:Sp},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:tn.appendTo},setup(e){const t=_t(),{t:n}=It(),s=Ee("table-filter"),a=t==null?void 0:t.parent;e.column&&!a.filterPanels.value[e.column.id]&&(a.filterPanels.value[e.column.id]=t);const o=F(null),r=F(null),i=F(0),l=k(()=>e.column&&e.column.filters),c=k(()=>e.column&&e.column.filterClassName?`${s.b()} ${e.column.filterClassName}`:s.b()),u=k({get:()=>{var T;return(((T=e.column)==null?void 0:T.filteredValue)||[])[0]},set:T=>{d.value&&(Ka(T)?d.value.splice(0,1):d.value.splice(0,1,T))}}),d=k({get(){return e.column?e.column.filteredValue||[]:[]},set(T){var R;e.column&&((R=e.upDataColumn)==null||R.call(e,"filteredValue",T))}}),h=k(()=>e.column?e.column.filterMultiple:!0),p=T=>T.value===u.value,v=()=>{var T;(T=o.value)==null||T.onClose()},m=()=>{C(d.value),v()},g=()=>{d.value=[],C(d.value),v()},b=(T,R)=>{u.value=T,i.value=R,Ka(T)?C([]):C(d.value),v()},C=T=>{var R,I;(R=e.store)==null||R.commit("filterChange",{column:e.column,values:T}),(I=e.store)==null||I.updateAllSelected()},w=()=>{var T,R;(T=r.value)==null||T.focus(),!h.value&&x(),e.column&&((R=e.upDataColumn)==null||R.call(e,"filterOpened",!0))},_=()=>{var T;e.column&&((T=e.upDataColumn)==null||T.call(e,"filterOpened",!1))},x=()=>{if(Ka(u)){i.value=0;return}const T=(l.value||[]).findIndex(R=>R.value===u.value);i.value=T>=0?T+1:0};return{multiple:h,filterClassName:c,filteredValue:d,filterValue:u,filters:l,handleConfirm:m,handleReset:g,handleSelect:b,isPropAbsent:Ka,isActive:p,t:n,ns:s,tooltipRef:o,rootRef:r,checkedIndex:i,handleShowTooltip:w,handleHideTooltip:_,handleKeydown:T=>{var R,I;const M=an(T),$=(l.value?l.value.length:0)+1;let O=i.value,B=!0;switch(M){case Ae.down:case Ae.right:O=(O+1)%$;break;case Ae.up:case Ae.left:O=(O-1+$)%$;break;case Ae.tab:v(),B=!1;break;case Ae.enter:case Ae.space:if(O===0)b(null,0);else{const U=(l.value||[])[O-1];U.value&&b(U.value,O)}break;default:B=!1;break}B&&T.preventDefault(),i.value=O,(I=(R=r.value)==null?void 0:R.querySelector(`.${s.e("list-item")}:nth-child(${O+1})`))==null||I.focus()}}}});const Wde=["disabled"],jde=["tabindex","aria-checked"],Kde=["tabindex","aria-checked","onClick"],Ude=["aria-label"];function qde(e,t,n,s,a,o){const r=Ge("el-checkbox"),i=Ge("el-checkbox-group"),l=Ge("el-scrollbar"),c=Ge("arrow-up"),u=Ge("arrow-down"),d=Ge("el-icon"),h=Ge("el-tooltip");return S(),le(h,{ref:"tooltipRef",offset:0,placement:e.placement,"show-arrow":!1,trigger:"click",role:"dialog",teleported:"",effect:"light",pure:"",loop:"","popper-class":e.filterClassName,persistent:"","append-to":e.appendTo,onShow:e.handleShowTooltip,onHide:e.handleHideTooltip},{content:X(()=>[e.multiple?(S(),P("div",{key:0,ref:"rootRef",tabindex:"-1",class:D(e.ns.e("multiple"))},[A("div",{class:D(e.ns.e("content"))},[j(l,{"wrap-class":e.ns.e("wrap")},{default:X(()=>[j(i,{modelValue:e.filteredValue,"onUpdate:modelValue":t[0]||(t[0]=p=>e.filteredValue=p),class:D(e.ns.e("checkbox-group"))},{default:X(()=>[(S(!0),P(He,null,yt(e.filters,p=>(S(),le(r,{key:p.value,value:p.value},{default:X(()=>[Ue(ve(p.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),A("div",{class:D(e.ns.e("bottom"))},[A("button",{class:D(e.ns.is("disabled",e.filteredValue.length===0)),disabled:e.filteredValue.length===0,type:"button",onClick:t[1]||(t[1]=(...p)=>e.handleConfirm&&e.handleConfirm(...p))},ve(e.t("el.table.confirmFilter")),11,Wde),A("button",{type:"button",onClick:t[2]||(t[2]=(...p)=>e.handleReset&&e.handleReset(...p))},ve(e.t("el.table.resetFilter")),1)],2)],2)):(S(),P("ul",{key:1,ref:"rootRef",tabindex:"-1",role:"radiogroup",class:D(e.ns.e("list")),onKeydown:t[4]||(t[4]=(...p)=>e.handleKeydown&&e.handleKeydown(...p))},[A("li",{role:"radio",class:D([e.ns.e("list-item"),e.ns.is("active",e.isPropAbsent(e.filterValue))]),tabindex:e.checkedIndex===0?0:-1,"aria-checked":e.isPropAbsent(e.filterValue),onClick:t[3]||(t[3]=p=>e.handleSelect(null,0))},ve(e.t("el.table.clearFilter")),11,jde),(S(!0),P(He,null,yt(e.filters,(p,v)=>(S(),P("li",{key:p.value,role:"radio",class:D([e.ns.e("list-item"),e.ns.is("active",e.isActive(p))]),tabindex:e.checkedIndex===v+1?0:-1,"aria-checked":e.isActive(p),onClick:m=>e.handleSelect(p.value,v+1)},ve(p.text),11,Kde))),128))],34))]),default:X(()=>{var p;return[A("button",{type:"button",class:D(`${e.ns.namespace.value}-table__column-filter-trigger`),"aria-label":e.t("el.table.filterLabel",{column:((p=e.column)==null?void 0:p.label)||""})},[j(d,null,{default:X(()=>[ue(e.$slots,"filter-icon",{},()=>{var v;return[(v=e.column)!=null&&v.filterOpened?(S(),le(c,{key:0})):(S(),le(u,{key:1}))]})]),_:3})],10,Ude)]}),_:3},8,["placement","popper-class","append-to","onShow","onHide"])}var Gde=is(Hde,[["render",qde]]);function I6(e){const t=_t();K2(()=>{n.value.addObserver(t)}),St(()=>{s(n.value),a(n.value)}),or(()=>{s(n.value),a(n.value)}),cu(()=>{n.value.removeObserver(t)});const n=k(()=>{const o=e.layout;if(!o)throw new Error("Can not find table layout.");return o}),s=o=>{var r;const i=((r=e.vnode.el)==null?void 0:r.querySelectorAll("colgroup > col"))||[];if(!i.length)return;const l=o.getFlattenColumns(),c={};l.forEach(u=>{c[u.id]=u});for(let u=0,d=i.length;u{var r,i;const l=((r=e.vnode.el)==null?void 0:r.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let u=0,d=l.length;u{m.stopPropagation()},o=(m,g)=>{!g.filters&&g.sortable?v(m,g,!1):g.filterable&&!g.sortable&&a(m),s==null||s.emit("header-click",g,m)},r=(m,g)=>{s==null||s.emit("header-contextmenu",g,m)},i=F(null),l=F(!1),c=F(),u=(m,g)=>{var b,C;if(jt&&!(g.children&&g.children.length>0)&&i.value&&e.border&&i.value.id===g.id){l.value=!0;const w=s;t("set-drag-visible",!0);const _=w==null?void 0:w.vnode.el,x=_==null?void 0:_.getBoundingClientRect().left,E=(C=(b=n==null?void 0:n.vnode)==null?void 0:b.el)==null?void 0:C.querySelector(`th.${g.id}`),T=E.getBoundingClientRect(),R=T.left-x+30;Lo(E,"noclick"),c.value={startMouseLeft:m.clientX,startLeft:T.right-x,startColumnLeft:T.left-x,tableLeft:x};const I=w==null?void 0:w.refs.resizeProxy;I.style.left=`${c.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const M=O=>{const B=O.clientX-c.value.startMouseLeft,U=c.value.startLeft+B;I.style.left=`${Math.max(R,U)}px`},$=()=>{if(l.value){const{startColumnLeft:O,startLeft:B}=c.value,J=Number.parseInt(I.style.left,10)-O;g.width=g.realWidth=J,w==null||w.emit("header-dragend",g.width,B-O,g,m),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",l.value=!1,i.value=null,c.value=void 0,t("set-drag-visible",!1)}document.removeEventListener("mousemove",M),document.removeEventListener("mouseup",$),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{ra(E,"noclick")},0)};document.addEventListener("mousemove",M),document.addEventListener("mouseup",$)}},d=(m,g)=>{var b;if(!e.border||g.children&&g.children.length>0)return;const C=m.target,w=ja(C)?C.closest("th"):null;if(!w)return;const _=Zr(w,"is-sortable");if(_){const M=l.value?"col-resize":"";w.style.cursor=M;const $=w.querySelector(".caret-wrapper");$&&($.style.cursor=M)}if(!g.resizable||l.value){i.value=null;return}const x=w.getBoundingClientRect(),E=((b=w.parentNode)==null?void 0:b.lastElementChild)===w,T=e.allowDragLastColumn||!E,R=x.width>12&&x.right-m.clientX<8&&T,I=R?"col-resize":"";document.body.style.cursor=I,i.value=R?g:null,_&&(w.style.cursor=I)},h=()=>{!jt||l.value||(document.body.style.cursor="")},p=({order:m,sortOrders:g})=>{if(m==="")return g[0];const b=g.indexOf(m||null);return g[b>g.length-2?0:b+1]},v=(m,g,b)=>{var C;m.stopPropagation();const w=g.order===b?null:b||p(g),_=(C=m.target)==null?void 0:C.closest("th");if(_&&Zr(_,"noclick")){ra(_,"noclick");return}if(!g.sortable)return;const x=m.currentTarget;if(["ascending","descending"].some(M=>Zr(x,M)&&!g.sortOrders.includes(M)))return;const E=e.store.states;let T=E.sortProp.value,R;const I=E.sortingColumn.value;(I!==g||I===g&&hg(I.order))&&(I&&(I.order=null),E.sortingColumn.value=g,T=g.property),w?R=g.order=w:R=g.order=null,E.sortProp.value=T,E.sortOrder.value=R,s==null||s.store.commit("changeSortCondition")};return{handleHeaderClick:o,handleHeaderContextMenu:r,handleMouseDown:u,handleMouseMove:d,handleMouseOut:h,handleSortClick:v,handleFilterClick:a}}function Xde(e){const t=je(br),n=Ee("table");return{getHeaderRowStyle:i=>{const l=t==null?void 0:t.props.headerRowStyle;return et(l)?l.call(null,{rowIndex:i}):l},getHeaderRowClass:i=>{const l=[],c=t==null?void 0:t.props.headerRowClassName;return Xe(c)?l.push(c):et(c)&&l.push(c.call(null,{rowIndex:i})),l.join(" ")},getHeaderCellStyle:(i,l,c,u)=>{var d;let h=(d=t==null?void 0:t.props.headerCellStyle)!=null?d:{};et(h)&&(h=h.call(null,{rowIndex:i,columnIndex:l,row:c,column:u}));const p=T6(l,u.fixed,e.store,c);return Zf(p,"left"),Zf(p,"right"),Object.assign({},h,p)},getHeaderCellClass:(i,l,c,u)=>{const d=A6(n.b(),l,u.fixed,e.store,c),h=[u.id,u.order,u.headerAlign,u.className,u.labelClassName,...d];u.children||h.push("is-leaf"),u.sortable&&h.push("is-sortable");const p=t==null?void 0:t.props.headerCellClassName;return Xe(p)?h.push(p):et(p)&&h.push(p.call(null,{rowIndex:i,columnIndex:l,row:c,column:u})),h.push(n.e("cell")),h.filter(v=>!!v).join(" ")}}}const PT=e=>{const t=[];return e.forEach(n=>{n.children?(t.push(n),t.push.apply(t,PT(n.children))):t.push(n)}),t},RT=e=>{let t=1;const n=(o,r)=>{if(r&&(o.level=r.level+1,t{n(l,o),i+=l.colSpan}),o.colSpan=i}else o.colSpan=1};e.forEach(o=>{o.level=1,n(o,void 0)});const s=[];for(let o=0;o{o.children?(o.rowSpan=1,o.children.forEach(r=>r.isSubColumn=!0)):o.rowSpan=t-o.level+1,s[o.level-1].push(o)}),s};function Jde(e){const t=je(br),n=k(()=>RT(e.store.states.originColumns.value));return{isGroup:k(()=>{const o=n.value.length>1;return o&&t&&(t.state.isGroup.value=!0),o}),toggleAllSelection:o=>{o.stopPropagation(),t==null||t.store.commit("toggleAllSelection")},columnRows:n}}var Zde=W({name:"ElTableHeader",components:{ElCheckbox:mr},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})},appendFilterPanelTo:{type:String},allowDragLastColumn:{type:Boolean}},setup(e,{emit:t}){const n=_t(),s=je(br),a=Ee("table"),o=F({}),{onColumnsChange:r,onScrollableChange:i}=I6(s),l=(s==null?void 0:s.props.tableLayout)==="auto",c=Wt(new Map),u=F();let d;const h=()=>{d=setTimeout(()=>{c.size>0&&(c.forEach((O,B)=>{const U=u.value.querySelector(`.${B.replace(/\s/g,".")}`);if(U){const J=U.getBoundingClientRect().width;O.width=J||O.width}}),c.clear())})};me(c,h),Gt(()=>{d&&(clearTimeout(d),d=void 0)}),St(async()=>{await ze(),await ze();const{prop:O,order:B}=e.defaultSort;s==null||s.store.commit("sort",{prop:O,order:B,init:!0}),h()});const{handleHeaderClick:p,handleHeaderContextMenu:v,handleMouseDown:m,handleMouseMove:g,handleMouseOut:b,handleSortClick:C,handleFilterClick:w}=Yde(e,t),{getHeaderRowStyle:_,getHeaderRowClass:x,getHeaderCellStyle:E,getHeaderCellClass:T}=Xde(e),{isGroup:R,toggleAllSelection:I,columnRows:M}=Jde(e),{t:$}=It();return n.state={onColumnsChange:r,onScrollableChange:i},n.filterPanels=o,{ns:a,t:$,filterPanels:o,onColumnsChange:r,onScrollableChange:i,columnRows:M,getHeaderRowClass:x,getHeaderRowStyle:_,getHeaderCellClass:T,getHeaderCellStyle:E,handleHeaderClick:p,handleHeaderContextMenu:v,handleMouseDown:m,handleMouseMove:g,handleMouseOut:b,handleSortClick:C,handleFilterClick:w,isGroup:R,toggleAllSelection:I,saveIndexSelection:c,isTableLayoutAuto:l,theadRef:u,updateFixedColumnStyle:h}},render(){const{ns:e,t,isGroup:n,columnRows:s,getHeaderCellStyle:a,getHeaderCellClass:o,getHeaderRowClass:r,getHeaderRowStyle:i,handleHeaderClick:l,handleHeaderContextMenu:c,handleMouseDown:u,handleMouseMove:d,handleSortClick:h,handleMouseOut:p,store:v,$parent:m,saveIndexSelection:g,isTableLayoutAuto:b}=this;let C=1;return rt("thead",{ref:"theadRef",class:e.is("group",n)},s.map((w,_)=>rt("tr",{class:r(_),key:_,style:i(_)},w.map((x,E)=>{x.rowSpan>C&&(C=x.rowSpan);const T=o(_,E,w,x);return b&&x.fixed&&g.set(T,x),rt("th",{class:T,colspan:x.colSpan,key:`${x.id}-thead`,rowspan:x.rowSpan,scope:x.colSpan>1?"colgroup":"col",ariaSort:x.sortable?x.order:void 0,style:a(_,E,w,x),onClick:R=>{var I;(I=R.currentTarget)!=null&&I.classList.contains("noclick")||l(R,x)},onContextmenu:R=>c(R,x),onMousedown:R=>u(R,x),onMousemove:R=>d(R,x),onMouseout:p},[rt("div",{class:["cell",x.filteredValue&&x.filteredValue.length>0?"highlight":""]},[x.renderHeader?x.renderHeader({column:x,$index:E,store:v,_self:m}):x.label,x.sortable&&rt("button",{type:"button",class:"caret-wrapper","aria-label":t("el.table.sortLabel",{column:x.label||""}),onClick:R=>h(R,x)},[rt("i",{onClick:R=>h(R,x,"ascending"),class:"sort-caret ascending"}),rt("i",{onClick:R=>h(R,x,"descending"),class:"sort-caret descending"})]),x.filterable&&rt(Gde,{store:v,placement:x.filterPlacement||"bottom-start",appendTo:m==null?void 0:m.appendFilterPanelTo,column:x,upDataColumn:(R,I)=>{x[R]=I}},{"filter-icon":()=>x.renderFilterIcon?x.renderFilterIcon({filterOpened:x.filterOpened}):null})])])}))))}});function O6(e,t,n=.03){return e-t>n}function Qde(e){const t=je(br),n=F(""),s=F(rt("div")),a=(v,m,g)=>{var b,C,w;const _=t,x=E6(v);let E=null;const T=(b=_==null?void 0:_.vnode.el)==null?void 0:b.dataset.prefix;x&&(E=_T({columns:(w=(C=e.store)==null?void 0:C.states.columns.value)!=null?w:[]},x,T),E&&(_==null||_.emit(`cell-${g}`,m,E,x,v))),_==null||_.emit(`row-${g}`,m,E,v)},o=(v,m)=>{a(v,m,"dblclick")},r=(v,m)=>{var g;(g=e.store)==null||g.commit("setCurrentRow",m),a(v,m,"click")},i=(v,m)=>{a(v,m,"contextmenu")},l=Xr(v=>{var m;(m=e.store)==null||m.commit("setHoverRow",v)},30),c=Xr(()=>{var v;(v=e.store)==null||v.commit("setHoverRow",null)},30),u=v=>{const m=window.getComputedStyle(v,null),g=Number.parseInt(m.paddingLeft,10)||0,b=Number.parseInt(m.paddingRight,10)||0,C=Number.parseInt(m.paddingTop,10)||0,w=Number.parseInt(m.paddingBottom,10)||0;return{left:g,right:b,top:C,bottom:w}},d=(v,m,g)=>{var b;let C=(b=m==null?void 0:m.target)==null?void 0:b.parentNode;for(;v>1&&(C=C==null?void 0:C.nextSibling,!(!C||C.nodeName!=="TR"));)g(C,"hover-row hover-fixed-row"),v--};return{handleDoubleClick:o,handleClick:r,handleContextMenu:i,handleMouseEnter:l,handleMouseLeave:c,handleCellMouseEnter:(v,m,g)=>{var b,C,w,_,x,E,T,R,I;if(!t)return;const M=t,$=E6(v),O=(b=M==null?void 0:M.vnode.el)==null?void 0:b.dataset.prefix;let B=null;if($){if(B=_T({columns:(w=(C=e.store)==null?void 0:C.states.columns.value)!=null?w:[]},$,O),!B)return;$.rowSpan>1&&d($.rowSpan,v,Lo);const fe=M.hoverState={cell:$,column:B,row:m};M==null||M.emit("cell-mouse-enter",fe.row,fe.column,fe.cell,v)}if(!g){((_=da)==null?void 0:_.trigger)===$&&((x=da)==null||x());return}const U=v.target.querySelector(".cell");if(!(Zr(U,`${O}-tooltip`)&&U.childNodes.length&&((E=U.textContent)!=null&&E.trim())))return;const J=document.createRange();J.setStart(U,0),J.setEnd(U,U.childNodes.length);const{width:Y,height:N}=J.getBoundingClientRect(),{width:L,height:V}=U.getBoundingClientRect(),{top:z,left:G,right:Q,bottom:K}=u(U),ee=G+Q,ae=z+K;O6(Y+ee,L)||O6(N+ae,V)||O6(U.scrollWidth,L)?Pde(g,(T=($==null?void 0:$.innerText)||($==null?void 0:$.textContent))!=null?T:"",m,B,$,M):((R=da)==null?void 0:R.trigger)===$&&((I=da)==null||I())},handleCellMouseLeave:v=>{const m=E6(v);if(!m)return;m.rowSpan>1&&d(m.rowSpan,v,ra);const g=t==null?void 0:t.hoverState;t==null||t.emit("cell-mouse-leave",g==null?void 0:g.row,g==null?void 0:g.column,g==null?void 0:g.cell,v)},tooltipContent:n,tooltipTrigger:s}}function efe(e){const t=je(br),n=Ee("table");return{getRowStyle:(c,u)=>{const d=t==null?void 0:t.props.rowStyle;return et(d)?d.call(null,{row:c,rowIndex:u}):d||null},getRowClass:(c,u,d)=>{var h;const p=[n.e("row")];t!=null&&t.props.highlightCurrentRow&&c===((h=e.store)==null?void 0:h.states.currentRow.value)&&p.push("current-row"),e.stripe&&d%2===1&&p.push(n.em("row","striped"));const v=t==null?void 0:t.props.rowClassName;return Xe(v)?p.push(v):et(v)&&p.push(v.call(null,{row:c,rowIndex:u})),p},getCellStyle:(c,u,d,h)=>{const p=t==null?void 0:t.props.cellStyle;let v=p??{};et(p)&&(v=p.call(null,{rowIndex:c,columnIndex:u,row:d,column:h}));const m=T6(u,e==null?void 0:e.fixed,e.store);return Zf(m,"left"),Zf(m,"right"),Object.assign({},v,m)},getCellClass:(c,u,d,h,p)=>{const v=A6(n.b(),u,e==null?void 0:e.fixed,e.store,void 0,p),m=[h.id,h.align,h.className,...v],g=t==null?void 0:t.props.cellClassName;return Xe(g)?m.push(g):et(g)&&m.push(g.call(null,{rowIndex:c,columnIndex:u,row:d,column:h})),m.push(n.e("cell")),m.filter(b=>!!b).join(" ")},getSpan:(c,u,d,h)=>{let p=1,v=1;const m=t==null?void 0:t.props.spanMethod;if(et(m)){const g=m({row:c,column:u,rowIndex:d,columnIndex:h});ke(g)?(p=g[0],v=g[1]):ht(g)&&(p=g.rowspan,v=g.colspan)}return{rowspan:p,colspan:v}},getColspanRealWidth:(c,u,d)=>{if(u<1)return c[d].realWidth;const h=c.map(({realWidth:p,width:v})=>p||v).slice(d,d+u);return Number(h.reduce((p,v)=>Number(p)+Number(v),-1))}}}const tfe=["colspan","rowspan"];var nfe=W({name:"TableTdWrapper",__name:"td-wrapper",props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup(e){return(t,n)=>(S(),P("td",{colspan:e.colspan,rowspan:e.rowspan},[ue(t.$slots,"default")],8,tfe))}});function sfe(e){const t=je(br),n=Ee("table"),{handleDoubleClick:s,handleClick:a,handleContextMenu:o,handleMouseEnter:r,handleMouseLeave:i,handleCellMouseEnter:l,handleCellMouseLeave:c,tooltipContent:u,tooltipTrigger:d}=Qde(e),{getRowStyle:h,getRowClass:p,getCellStyle:v,getCellClass:m,getSpan:g,getColspanRealWidth:b}=efe(e);let C=-1;const w=k(()=>{var R;return(R=e.store)==null?void 0:R.states.columns.value.findIndex(({type:I})=>I==="default")}),_=(R,I)=>{var M;const $=(M=t==null?void 0:t.props)==null?void 0:M.rowKey;return $?Us(R,$):I},x=(R,I,M,$=!1)=>{const{tooltipEffect:O,tooltipOptions:B,store:U}=e,{indent:J,columns:Y}=U.states,N=[];let L=!0;return M&&(N.push(n.em("row",`level-${M.level}`)),L=!!M.display),I===0&&(C=-1),e.stripe&&L&&C++,N.push(...p(R,I,C)),rt("tr",{style:[L?null:{display:"none"},h(R,I)],class:N,key:_(R,I),onDblclick:z=>s(z,R),onClick:z=>a(z,R),onContextmenu:z=>o(z,R),onMouseenter:()=>r(I),onMouseleave:i},Y.value.map((z,G)=>{const{rowspan:Q,colspan:K}=g(R,z,I,G);if(!Q||!K)return null;const ee=Object.assign({},z);ee.realWidth=b(Y.value,K,G);const ae={store:U,_self:e.context||t,column:ee,row:R,$index:I,cellIndex:G,expanded:$};G===w.value&&M&&(ae.treeNode={indent:M.level&&M.level*J.value,level:M.level},Qt(M.expanded)&&(ae.treeNode.expanded=M.expanded,"loading"in M&&(ae.treeNode.loading=M.loading),"noLazyChildren"in M&&(ae.treeNode.noLazyChildren=M.noLazyChildren)));const fe=`${_(R,I)},${G}`,ne=ee.columnKey||ee.rawColumnKey||"",pe=z.showOverflowTooltip&&px({effect:O},B,z.showOverflowTooltip);return rt(nfe,{style:v(I,G,R,z),class:m(I,G,R,z,K-1),key:`${ne}${fe}`,rowspan:Q,colspan:K,onMouseenter:he=>l(he,R,pe),onMouseleave:c},{default:()=>E(G,z,ae)})}))},E=(R,I,M)=>I.renderCell(M);return{wrappedRowRender:(R,I)=>{const M=e.store,{isRowExpanded:$,assertRowKey:O}=M,{treeData:B,lazyTreeNodeMap:U,childrenColumnName:J,rowKey:Y}=M.states,N=M.states.columns.value;if(N.some(({type:V})=>V==="expand")){const V=$(R),z=x(R,I,void 0,V),G=t==null?void 0:t.renderExpanded;if(!G)return console.error("[Element Error]renderExpanded is required."),z;const Q=[[z]];return(t.props.preserveExpandedContent||V)&&Q[0].push(rt("tr",{key:`expanded-row__${z.key}`,style:{display:V?"":"none"}},[rt("td",{colspan:N.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[G({row:R,$index:I,store:M,expanded:V})])])),Q}else if(Object.keys(B.value).length){O();const V=Us(R,Y.value);let z=B.value[V],G=null;z&&(G={expanded:z.expanded,level:z.level,display:!0,noLazyChildren:void 0,loading:void 0},Qt(z.lazy)&&(G&&Qt(z.loaded)&&z.loaded&&(G.noLazyChildren=!(z.children&&z.children.length)),G.loading=z.loading));const Q=[x(R,I,G??void 0)];if(z){let K=0;const ee=(fe,ne)=>{fe&&fe.length&&ne&&fe.forEach(pe=>{const he={display:ne.display&&ne.expanded,level:ne.level+1,expanded:!1,noLazyChildren:!1,loading:!1},ce=Us(pe,Y.value);if(Ka(ce))throw new Error("For nested data item, row-key is required.");if(z={...B.value[ce]},z&&(he.expanded=z.expanded,z.level=z.level||he.level,z.display=!!(z.expanded&&he.display),Qt(z.lazy)&&(Qt(z.loaded)&&z.loaded&&(he.noLazyChildren=!(z.children&&z.children.length)),he.loading=z.loading)),K++,Q.push(x(pe,I+K,he)),z){const Z=U.value[ce]||pe[J.value];ee(Z,z)}})};z.display=!0;const ae=U.value[V]||R[J.value];ee(ae,z)}return Q}else return x(R,I,void 0)},tooltipContent:u,tooltipTrigger:d}}var afe=W({name:"ElTableBody",props:{store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean},setup(e){var t;const n=_t(),s=je(br),a=Ee("table"),{wrappedRowRender:o,tooltipContent:r,tooltipTrigger:i}=sfe(e),{onColumnsChange:l,onScrollableChange:c}=I6(s),u=[];return me((t=e.store)==null?void 0:t.states.hoverRow,(d,h)=>{var p,v;const m=n==null?void 0:n.vnode.el,g=Array.from((m==null?void 0:m.children)||[]).filter(w=>w==null?void 0:w.classList.contains(`${a.e("row")}`));let b=d;const C=(p=g[b])==null?void 0:p.childNodes;if(C!=null&&C.length){let w=0;Array.from(C).reduce((x,E,T)=>{var R,I;return((R=C[T])==null?void 0:R.colSpan)>1&&(w=(I=C[T])==null?void 0:I.colSpan),E.nodeName!=="TD"&&w===0&&x.push(T),w>0&&w--,x},[]).forEach(x=>{var E;for(b=d;b>0;){const T=(E=g[b-1])==null?void 0:E.childNodes;if(T[x]&&T[x].nodeName==="TD"&&T[x].rowSpan>1){Lo(T[x],"hover-cell"),u.push(T[x]);break}b--}})}else u.forEach(w=>ra(w,"hover-cell")),u.length=0;!((v=e.store)!=null&&v.states.isComplex.value)||!jt||Jr(()=>{const w=g[h],_=g[d];w&&!w.classList.contains("hover-fixed-row")&&ra(w,"hover-row"),_&&Lo(_,"hover-row")})}),cu(()=>{var d;(d=da)==null||d()}),{ns:a,onColumnsChange:l,onScrollableChange:c,wrappedRowRender:o,tooltipContent:r,tooltipTrigger:i}},render(){const{wrappedRowRender:e,store:t}=this,n=(t==null?void 0:t.states.data.value)||[];return rt("tbody",{tabIndex:-1},[n.reduce((s,a)=>s.concat(e(a,s.length)),[])])}});function ofe(){const e=je(br),t=e==null?void 0:e.store,n=k(()=>{var i;return(i=t==null?void 0:t.states.fixedLeafColumnsLength.value)!=null?i:0}),s=k(()=>{var i;return(i=t==null?void 0:t.states.rightFixedColumns.value.length)!=null?i:0}),a=k(()=>{var i;return(i=t==null?void 0:t.states.columns.value.length)!=null?i:0}),o=k(()=>{var i;return(i=t==null?void 0:t.states.fixedColumns.value.length)!=null?i:0}),r=k(()=>{var i;return(i=t==null?void 0:t.states.rightFixedColumns.value.length)!=null?i:0});return{leftFixedLeafCount:n,rightFixedLeafCount:s,columnsCount:a,leftFixedCount:o,rightFixedCount:r,columns:k(()=>{var i;return(i=t==null?void 0:t.states.columns.value)!=null?i:[]})}}function rfe(e){const{columns:t}=ofe(),n=Ee("table");return{getCellClasses:(o,r)=>{const i=o[r],l=[n.e("cell"),i.id,i.align,i.labelClassName,...A6(n.b(),r,i.fixed,e.store)];return i.className&&l.push(i.className),i.children||l.push(n.is("leaf")),l},getCellStyles:(o,r)=>{const i=T6(r,o.fixed,e.store);return Zf(i,"left"),Zf(i,"right"),i},columns:t}}var ife=W({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 t=je(br),n=Ee("table"),{getCellClasses:s,getCellStyles:a,columns:o}=rfe(e),{onScrollableChange:r,onColumnsChange:i}=I6(t);return{ns:n,onScrollableChange:r,onColumnsChange:i,getCellClasses:s,getCellStyles:a,columns:o}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:s,sumText:a}=this,o=this.store.states.data.value;let r=[];return s?r=s({columns:e,data:o}):e.forEach((i,l)=>{if(l===0){r[l]=a;return}const c=o.map(p=>Number(p[i.property])),u=[];let d=!0;c.forEach(p=>{if(!Number.isNaN(+p)){d=!1;const v=`${p}`.split(".")[1];u.push(v?v.length:0)}});const h=Math.max.apply(null,u);d?r[l]="":r[l]=c.reduce((p,v)=>{const m=Number(v);return Number.isNaN(+m)?p:Number.parseFloat((p+v).toFixed(Math.min(h,20)))},0)}),rt(rt("tfoot",[rt("tr",{},[...e.map((i,l)=>rt("td",{key:l,colspan:i.colSpan,rowspan:i.rowSpan,class:n(e,l),style:t(i,l)},[rt("div",{class:["cell",i.labelClassName]},[r[l]])]))])]))}});function lfe(e){return{setCurrentRow:d=>{e.commit("setCurrentRow",d)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(d,h,p=!0)=>{e.toggleRowSelection(d,h,!1,p),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:d=>{e.clearFilter(d)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(d,h)=>{e.toggleRowExpansionAdapter(d,h)},clearSort:()=>{e.clearSort()},sort:(d,h)=>{e.commit("sort",{prop:d,order:h})},updateKeyChildren:(d,h)=>{e.updateKeyChildren(d,h)}}}function cfe(e,t,n,s){const a=F(!1),o=F(null),r=F(!1),i=N=>{r.value=N},l=F({width:null,height:null,headerHeight:null}),c=F(!1),u={display:"inline-block",verticalAlign:"middle"},d=F(),h=F(0),p=F(0),v=F(0),m=F(0),g=F(0);me(()=>e.height,N=>{t.setHeight(N??null)},{immediate:!0}),me(()=>e.maxHeight,N=>{t.setMaxHeight(N??null)},{immediate:!0}),me(()=>[e.currentRowKey,n.states.rowKey],([N,L])=>{!f(L)||!f(N)||n.setCurrentRowKey(`${N}`)},{immediate:!0}),me(()=>e.data,N=>{s.store.commit("setData",N)},{immediate:!0,deep:!0}),Wa(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const b=()=>{s.store.commit("setHoverRow",null),s.hoverState&&(s.hoverState=null)},C=(N,L)=>{const{pixelX:V,pixelY:z}=L;Math.abs(V)>=Math.abs(z)&&(s.refs.bodyWrapper.scrollLeft+=L.pixelX/5)},w=k(()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),_=k(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),x=()=>{w.value&&t.updateElsHeight(),t.updateColumnsWidth(),!(typeof window>"u")&&requestAnimationFrame(I)};St(async()=>{await ze(),n.updateColumns(),M(),requestAnimationFrame(x);const N=s.vnode.el,L=s.refs.headerWrapper;e.flexible&&N&&N.parentElement&&(N.parentElement.style.minWidth="0"),l.value={width:d.value=N.offsetWidth,height:N.offsetHeight,headerHeight:e.showHeader&&L?L.offsetHeight:null},n.states.columns.value.forEach(V=>{V.filteredValue&&V.filteredValue.length&&s.store.commit("filterChange",{column:V,values:V.filteredValue,silent:!0})}),s.$ready=!0});const E=(N,L)=>{if(!N)return;const V=Array.from(N.classList).filter(z=>!z.startsWith("is-scrolling-"));V.push(t.scrollX.value?L:"is-scrolling-none"),N.className=V.join(" ")},T=N=>{const{tableWrapper:L}=s.refs;E(L,N)},R=N=>{const{tableWrapper:L}=s.refs;return!!(L&&L.classList.contains(N))},I=function(){if(!s.refs.scrollBarRef)return;if(!t.scrollX.value){const ee="is-scrolling-none";R(ee)||T(ee);return}const N=s.refs.scrollBarRef.wrapRef;if(!N)return;const{scrollLeft:L,offsetWidth:V,scrollWidth:z}=N,{headerWrapper:G,footerWrapper:Q}=s.refs;G&&(G.scrollLeft=L),Q&&(Q.scrollLeft=L);const K=z-V-1;L>=K?T("is-scrolling-right"):T(L===0?"is-scrolling-left":"is-scrolling-middle")},M=()=>{s.refs.scrollBarRef&&(s.refs.scrollBarRef.wrapRef&&Zt(s.refs.scrollBarRef.wrapRef,"scroll",I,{passive:!0}),e.fit?bn(s.vnode.el,$):Zt(window,"resize",$),bn(s.refs.tableInnerWrapper,()=>{var N,L;$(),(L=(N=s.refs)==null?void 0:N.scrollBarRef)==null||L.update()}))},$=()=>{var N,L,V,z;const G=s.vnode.el;if(!s.$ready||!G)return;let Q=!1;const{width:K,height:ee,headerHeight:ae}=l.value,fe=d.value=G.offsetWidth;K!==fe&&(Q=!0);const ne=G.offsetHeight;(e.height||w.value)&&ee!==ne&&(Q=!0);const pe=e.tableLayout==="fixed"?s.refs.headerWrapper:(N=s.refs.tableHeaderRef)==null?void 0:N.$el;e.showHeader&&(pe==null?void 0:pe.offsetHeight)!==ae&&(Q=!0),h.value=((L=s.refs.tableWrapper)==null?void 0:L.scrollHeight)||0,v.value=(pe==null?void 0:pe.scrollHeight)||0,m.value=((V=s.refs.footerWrapper)==null?void 0:V.offsetHeight)||0,g.value=((z=s.refs.appendWrapper)==null?void 0:z.offsetHeight)||0,p.value=h.value-v.value-m.value-g.value,Q&&(l.value={width:fe,height:ne,headerHeight:e.showHeader&&(pe==null?void 0:pe.offsetHeight)||0},x())},O=ts(),B=k(()=>{const{bodyWidth:N,scrollY:L,gutterWidth:V}=t;return N.value?`${N.value-(L.value?V:0)}px`:""}),U=k(()=>e.maxHeight?"fixed":e.tableLayout),J=k(()=>{if(e.data&&e.data.length)return;let N="100%";e.height&&p.value&&(N=`${p.value}px`);const L=d.value;return{width:L?`${L}px`:"",height:N}}),Y=k(()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${v.value+m.value}px)`}:{maxHeight:`${+e.maxHeight-v.value-m.value}px`}:{});return{isHidden:a,renderExpanded:o,setDragVisible:i,isGroup:c,handleMouseLeave:b,handleHeaderFooterMousewheel:C,tableSize:O,emptyBlockStyle:J,resizeProxyVisible:r,bodyWidth:B,resizeState:l,doLayout:x,tableBodyStyles:_,tableLayout:U,scrollbarViewStyle:u,scrollbarStyle:Y}}function ufe(e){let t;const n=()=>{const a=e.vnode.el.querySelector(".hidden-columns"),o={childList:!0,subtree:!0},r=e.store.states.updateOrderFns;t=new MutationObserver(()=>{r.forEach(i=>i())}),t.observe(a,o)};St(()=>{n()}),cu(()=>{t==null||t.disconnect()})}var dfe={data:{type:Array,default:()=>[]},size:rs,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,rowExpandable:{type:Function},defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:[String,Object,Array],default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object],tooltipFormatter:Function,appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0},allowDragLastColumn:{type:Boolean,default:!0},preserveExpandedContent:Boolean,nativeScrollbar:Boolean};function IT(e){const t=e.tableLayout==="auto";let n=e.columns||[];t&&n.every(({width:a})=>$t(a))&&(n=[]);const s=a=>{const o={key:`${e.tableLayout}_${a.id}`,style:{},name:void 0};return t?o.style={width:`${a.width}px`}:o.name=a.id,o};return rt("colgroup",{},n.map(a=>rt("col",s(a))))}IT.props=["columns","tableLayout"];const ffe=()=>{const e=F(),t=(o,r)=>{const i=e.value;i&&i.scrollTo(o,r)},n=(o,r)=>{const i=e.value;i&&at(r)&&["Top","Left"].includes(o)&&i[`setScroll${o}`](r)};return{scrollBarRef:e,scrollTo:t,setScrollTop:o=>n("Top",o),setScrollLeft:o=>n("Left",o)}};var OT=!1,Mu,L6,N6,b1,y1,LT,w1,$6,D6,F6,NT,B6,V6,$T,DT;function Ja(){if(!OT){OT=!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(B6=/\b(iPhone|iP[ao]d)/.exec(e),V6=/\b(iP[ao]d)/.exec(e),F6=/Android/i.exec(e),$T=/FBAN\/\w+;/i.exec(e),DT=/Mobile/i.exec(e),NT=!!/Win64/.exec(e),t){Mu=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Mu&&document&&document.documentMode&&(Mu=document.documentMode);var s=/(?:Trident\/(\d+.\d+))/.exec(e);LT=s?parseFloat(s[1])+4:Mu,L6=t[2]?parseFloat(t[2]):NaN,N6=t[3]?parseFloat(t[3]):NaN,b1=t[4]?parseFloat(t[4]):NaN,b1?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),y1=t&&t[1]?parseFloat(t[1]):NaN):y1=NaN}else Mu=L6=N6=y1=b1=NaN;if(n){if(n[1]){var a=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);w1=a?parseFloat(a[1].replace("_",".")):!0}else w1=!1;$6=!!n[2],D6=!!n[3]}else w1=$6=D6=!1}}var z6={ie:function(){return Ja()||Mu},ieCompatibilityMode:function(){return Ja()||LT>Mu},ie64:function(){return z6.ie()&&NT},firefox:function(){return Ja()||L6},opera:function(){return Ja()||N6},webkit:function(){return Ja()||b1},safari:function(){return z6.webkit()},chrome:function(){return Ja()||y1},windows:function(){return Ja()||$6},osx:function(){return Ja()||w1},linux:function(){return Ja()||D6},iphone:function(){return Ja()||B6},mobile:function(){return Ja()||B6||V6||F6||DT},nativeApp:function(){return Ja()||$T},android:function(){return Ja()||F6},ipad:function(){return Ja()||V6}},hfe=z6,pfe=!!(typeof window<"u"&&window.document&&window.document.createElement),vfe={canUseDOM:pfe},FT=vfe,BT;FT.canUseDOM&&(BT=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function mfe(e,t){if(!FT.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,s=n in document;if(!s){var a=document.createElement("div");a.setAttribute(n,"return;"),s=typeof a[n]=="function"}return!s&&BT&&e==="wheel"&&(s=document.implementation.hasFeature("Events.wheel","3.0")),s}var gfe=mfe,VT=10,zT=40,HT=800;function WT(e){var t=0,n=0,s=0,a=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),s=t*VT,a=n*VT,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(s=e.deltaX),(s||a)&&e.deltaMode&&(e.deltaMode==1?(s*=zT,a*=zT):(s*=HT,a*=HT)),s&&!t&&(t=s<1?-1:1),a&&!n&&(n=a<1?-1:1),{spinX:t,spinY:n,pixelX:s,pixelY:a}}WT.getEventType=function(){return hfe.firefox()?"DOMMouseScroll":gfe("wheel")?"wheel":"mousewheel"};var bfe=WT;/** + m 0 ${C?"":"-"}${w} + a ${w} ${w} 0 1 1 0 ${C?"-":""}${w*2} + a ${w} ${w} 0 1 1 0 ${C?"":"-"}${w*2} + `}),l=k(()=>2*Math.PI*r.value),c=k(()=>n.type==="dashboard"?.75:1),u=k(()=>`${-1*l.value*(1-c.value)/2}px`),d=k(()=>({strokeDasharray:`${l.value*c.value}px, ${l.value}px`,strokeDashoffset:u.value})),h=k(()=>({strokeDasharray:`${l.value*c.value*(n.percentage/100)}px, ${l.value}px`,strokeDashoffset:u.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),p=k(()=>{let w;return n.color?w=_(n.percentage):w=t[n.status]||t.default,w}),v=k(()=>n.status==="warning"?kp:n.type==="line"?n.status==="success"?xp:$o:n.status==="success"?Mf:Ua),m=k(()=>n.type==="line"?12+n.strokeWidth*.4:n.width*.111111+2),g=k(()=>n.format(n.percentage));function b(w){const C=100/w.length;return w.map((E,T)=>Xe(E)?{color:E,percentage:(T+1)*C}:E).sort((E,T)=>E.percentage-T.percentage)}const _=w=>{var C;const{color:x}=n;if(et(x))return x(w);if(Xe(x))return x;{const E=b(x);for(const T of E)if(T.percentage>w)return T.color;return(C=E[E.length-1])==null?void 0:C.color}};return(w,C)=>(S(),P("div",{class:D([f(s).b(),f(s).m(e.type),f(s).is(e.status),{[f(s).m("without-text")]:!e.showText,[f(s).m("text-inside")]:e.textInside}]),role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[e.type==="line"?(S(),P("div",{key:0,class:D(f(s).b("bar"))},[A("div",{class:D(f(s).be("bar","outer")),style:tt({height:`${e.strokeWidth}px`})},[A("div",{class:D([f(s).be("bar","inner"),{[f(s).bem("bar","inner","indeterminate")]:e.indeterminate},{[f(s).bem("bar","inner","striped")]:e.striped},{[f(s).bem("bar","inner","striped-flow")]:e.stripedFlow}]),style:tt(a.value)},[(e.showText||w.$slots.default)&&e.textInside?(S(),P("div",{key:0,class:D(f(s).be("bar","innerText"))},[ue(w.$slots,"default",{percentage:e.percentage},()=>[A("span",null,ve(g.value),1)])],2)):ie("v-if",!0)],6)],6)],2)):(S(),P("div",{key:1,class:D(f(s).b("circle")),style:tt({height:`${e.width}px`,width:`${e.width}px`})},[(S(),P("svg",Rce,[A("path",{class:D(f(s).be("circle","track")),d:i.value,stroke:`var(${f(s).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":e.strokeLinecap,"stroke-width":o.value,fill:"none",style:tt(d.value)},null,14,Ice),A("path",{class:D(f(s).be("circle","path")),d:i.value,stroke:p.value,fill:"none",opacity:e.percentage?1:0,"stroke-linecap":e.strokeLinecap,"stroke-width":o.value,style:tt(h.value)},null,14,Oce)]))],6)),(e.showText||w.$slots.default)&&!e.textInside?(S(),P("div",{key:2,class:D(f(s).e("text")),style:tt({fontSize:`${m.value}px`})},[ue(w.$slots,"default",{percentage:e.percentage},()=>[e.status?(S(),le(f(Je),{key:1},{default:X(()=>[(S(),le(bt(v.value)))]),_:1})):(S(),P("span",Lce,ve(g.value),1))])],6)):ie("v-if",!0)],10,Pce))}});const UA=pt(Nce),$ce=Me({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:re([Array,Object]),default:()=>Rn(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:re([Array,Object]),default:()=>[Ep,Ep,Ep]},voidIcon:{type:en,default:()=>u9},disabledVoidIcon:{type:en,default:()=>Ep},disabled:{type:Boolean,default:void 0},allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:re(Array),default:()=>Rn(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:rs,clearable:Boolean,...ia(["ariaLabel"])}),Dce={[Pt]:e=>at(e),[ct]:e=>at(e)},Fce=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],Bce=["onMousemove","onClick"];var Vce=W({name:"ElRate",__name:"rate",props:$ce,emits:Dce,setup(e,{expose:t,emit:n}){function s(L,V){const z=K=>ht(K),G=Object.keys(V).map(K=>+K).filter(K=>{const ee=V[K];return(z(ee)?ee.excluded:!1)?LK-ee),Q=V[G[0]];return z(Q)&&Q.value||Q}const a=e,o=n,r=je(ni,void 0),i=ts(),l=Ee("rate"),{inputId:c,isLabeledByFormItem:u}=uo(a,{formItemContext:r}),d=F(gu(a.modelValue,0,a.max)),h=F(-1),p=F(!0),v=F([]),m=k(()=>v.value.map(L=>L.$el.clientWidth)),g=k(()=>[l.b(),l.m(i.value)]),b=In(),_=k(()=>l.cssVarBlock({"void-color":a.voidColor,"disabled-void-color":a.disabledVoidColor,"fill-color":E.value})),w=k(()=>{let L="";return a.showScore?L=a.scoreTemplate.replace(/\{\s*value\s*\}/,b.value?`${a.modelValue}`:`${d.value}`):a.showText&&(L=a.texts[Math.ceil(d.value)-1]),L}),C=k(()=>a.modelValue*100-Math.floor(a.modelValue)*100),x=k(()=>ke(a.colors)?{[a.lowThreshold]:a.colors[0],[a.highThreshold]:{value:a.colors[1],excluded:!0},[a.max]:a.colors[2]}:a.colors),E=k(()=>{const L=s(d.value,x.value);return ht(L)?"":L}),T=k(()=>{let L="";return b.value?L=`${C.value}%`:a.allowHalf&&(L="50%"),{color:E.value,width:L}}),R=k(()=>{let L=ke(a.icons)?[...a.icons]:{...a.icons};return L=Hr(L),ke(L)?{[a.lowThreshold]:L[0],[a.highThreshold]:{value:L[1],excluded:!0},[a.max]:L[2]}:L}),I=k(()=>s(a.modelValue,R.value)),M=k(()=>b.value?Xe(a.disabledVoidIcon)?a.disabledVoidIcon:Hr(a.disabledVoidIcon):Xe(a.voidIcon)?a.voidIcon:Hr(a.voidIcon)),$=k(()=>s(d.value,R.value));function O(L){const V=b.value&&C.value>0&&L-1a.modelValue,z=a.allowHalf&&p.value&&L-.5<=d.value&&L>d.value;return V||z}function B(L){a.clearable&&L===a.modelValue&&(L=0),o(ct,L),a.modelValue!==L&&o(Pt,L)}function U(L){b.value||(a.allowHalf&&p.value?B(d.value):B(L))}function J(L){if(b.value)return;const V=an(L),z=a.allowHalf?.5:1;let G=d.value;switch(V){case Te.up:case Te.right:G+=z;break;case Te.left:case Te.down:G-=z;break}if(G=gu(G,0,a.max),G!==d.value)return L.stopPropagation(),L.preventDefault(),o(ct,G),o(Pt,G),G}function Y(L,V){b.value||(a.allowHalf&&V?(p.value=V.offsetX*2<=m.value[L-1],d.value=p.value?L-.5:L):d.value=L,h.value=L)}function N(){b.value||(a.allowHalf&&(p.value=a.modelValue!==Math.floor(a.modelValue)),d.value=gu(a.modelValue,0,a.max),h.value=-1)}return me(()=>a.modelValue,L=>{d.value=gu(L,0,a.max),p.value=a.modelValue!==Math.floor(a.modelValue)}),a.modelValue||o(ct,0),t({setCurrentValue:Y,resetCurrentValue:N}),(L,V)=>{var z;return S(),P("div",{id:f(c),class:D([g.value,f(l).is("disabled",f(b))]),role:"slider","aria-label":f(u)?void 0:e.ariaLabel||"rating","aria-labelledby":f(u)?(z=f(r))==null?void 0:z.labelId:void 0,"aria-valuenow":d.value,"aria-valuetext":w.value||void 0,"aria-valuemin":"0","aria-valuemax":e.max,tabindex:"0",style:tt(_.value),onKeydown:J},[(S(!0),P(He,null,yt(e.max,(G,Q)=>(S(),P("span",{key:Q,class:D(f(l).e("item")),onMousemove:K=>Y(G,K),onMouseleave:N,onClick:K=>U(G)},[j(f(Je),{ref_for:!0,ref_key:"iconRefs",ref:v,class:D([f(l).e("icon"),{hover:h.value===G},f(l).is("active",G<=d.value),f(l).is("focus-visible",G===Math.ceil(d.value||1))])},{default:X(()=>[gt((S(),le(bt($.value),null,null,512)),[[Bt,!O(G)&&G<=d.value]]),gt((S(),le(bt(M.value),null,null,512)),[[Bt,!O(G)&&G>d.value]]),gt((S(),le(bt(M.value),{class:D([f(l).em("decimal","box")])},null,8,["class"])),[[Bt,O(G)]]),gt(j(f(Je),{style:tt(T.value),class:D([f(l).e("icon"),f(l).e("decimal")])},{default:X(()=>[(S(),le(bt(I.value)))]),_:1},8,["style","class"]),[[Bt,O(G)]])]),_:2},1032,["class"])],42,Bce))),128)),e.showText||e.showScore?(S(),P("span",{key:0,class:D(f(l).e("text")),style:tt({color:e.textColor})},ve(w.value),7)):ie("v-if",!0)],46,Fce)}}});const zce=pt(Vce),ku={primary:"icon-primary",success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},qA={[ku.primary]:Pf,[ku.success]:Ux,[ku.warning]:kp,[ku.error]:yg,[ku.info]:Pf},Hce=Me({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["primary","success","warning","info","error"],default:"info"}});var Wce=W({name:"ElResult",__name:"result",props:Hce,setup(e){const t=e,n=Ee("result"),s=k(()=>{const a=t.icon,o=a&&ku[a]?ku[a]:"icon-info",r=qA[o]||qA["icon-info"];return{class:o,component:r}});return(a,o)=>(S(),P("div",{class:D(f(n).b())},[A("div",{class:D(f(n).e("icon"))},[ue(a.$slots,"icon",{},()=>[s.value.component?(S(),le(bt(s.value.component),{key:0,class:D(s.value.class)},null,8,["class"])):ie("v-if",!0)])],2),e.title||a.$slots.title?(S(),P("div",{key:0,class:D(f(n).e("title"))},[ue(a.$slots,"title",{},()=>[A("p",null,ve(e.title),1)])],2)):ie("v-if",!0),e.subTitle||a.$slots["sub-title"]?(S(),P("div",{key:1,class:D(f(n).e("subtitle"))},[ue(a.$slots,"sub-title",{},()=>[A("p",null,ve(e.subTitle),1)])],2)):ie("v-if",!0),a.$slots.extra?(S(),P("div",{key:2,class:D(f(n).e("extra"))},[ue(a.$slots,"extra")],2)):ie("v-if",!0)],2))}});const jce=pt(Wce),Kce=Me({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"]}});var Uce=W({name:"ElRow",__name:"row",props:Kce,setup(e){const t=e,n=Ee("row"),s=k(()=>t.gutter);Tt(yk,{gutter:s});const a=k(()=>{const r={};return t.gutter&&(r.marginRight=r.marginLeft=`-${t.gutter/2}px`),r}),o=k(()=>[n.b(),n.is(`justify-${t.justify}`,t.justify!=="start"),n.is(`align-${t.align}`,!!t.align)]);return(r,i)=>(S(),le(bt(e.tag),{class:D(o.value),style:tt(a.value)},{default:X(()=>[ue(r.$slots,"default")]),_:3},8,["class","style"]))}});const qce=pt(Uce);var Gce=W({props:{item:{type:Object,required:!0},style:{type:Object},height:Number},setup(){return{ns:Ee("select")}}});function Yce(e,t,n,s,a,o){return S(),P("div",{class:D(e.ns.be("group","title")),style:tt({...e.style,lineHeight:`${e.height}px`})},ve(e.item.label),7)}var Xce=is(Gce,[["render",Yce]]);function Jce(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}const Zce=Me({allowCreate:Boolean,autocomplete:{type:re(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:en,default:$o},effect:{type:re(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:{type:Boolean,default:void 0},estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:{type:re(Function)},height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:re([Array,String,Number,Boolean,Object]),default:void 0},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:{type:re(Function)},reserveKeyword:{type:Boolean,default:!0},options:{type:re(Array),required:!0},placeholder:{type:String},teleported:tn.teleported,persistent:{type:Boolean,default:!0},popperClass:tn.popperClass,popperStyle:tn.popperStyle,popperOptions:{type:re(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},size:rs,props:{type:re(Object),default:()=>Vg},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},offset:{type:Number,default:12},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},placement:{type:re(String),values:Qr,default:"bottom-start"},fallbackPlacements:{type:re(Array),default:["bottom-start","top-start","right","left"]},tagType:{...sl.type,default:"info"},tagEffect:{...sl.effect,default:"light"},tabindex:{type:[String,Number],default:0},appendTo:tn.appendTo,fitInputWidth:{type:[Boolean,Number],default:!0,validator(e){return Qt(e)||at(e)}},suffixIcon:{type:en,default:hr},...wu,...ia(["ariaLabel"])}),Qce=Me({data:Array,disabled:Boolean,hovering:Boolean,item:{type:re(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),eue={[ct]:e=>!0,[Pt]:e=>!0,"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},tue={hover:e=>at(e),select:(e,t)=>!0},p6=Symbol("ElSelectV2Injection");var nue=W({props:Qce,emits:tue,setup(e,{emit:t}){const n=je(p6),s=Ee("select"),{hoverItem:a,selectOptionClick:o}=Jce(e,{emit:t}),{getLabel:r}=Bp(n.props),i=n.contentId;return{ns:s,contentId:i,hoverItem:a,selectOptionClick:o,getLabel:r}}});const sue=["id","aria-selected","aria-disabled"];function aue(e,t,n,s,a,o){return S(),P("li",{id:`${e.contentId}-${e.index}`,role:"option","aria-selected":e.selected,"aria-disabled":e.disabled||void 0,style:tt(e.style),class:D([e.ns.be("dropdown","item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),e.ns.is("hovering",e.hovering)]),onMousemove:t[0]||(t[0]=(...r)=>e.hoverItem&&e.hoverItem(...r)),onClick:t[1]||(t[1]=lt((...r)=>e.selectOptionClick&&e.selectOptionClick(...r),["stop"]))},[ue(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},()=>[A("span",null,ve(e.getLabel(e.item)),1)])],46,sue)}var oue=is(nue,[["render",aue]]),GA=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function rue(e,t){return!!(e===t||GA(e)&&GA(t))}function iue(e,t){if(e.length!==t.length)return!1;for(var n=0;n{const t=_t().proxy.$props;return k(()=>{const n=(s,a,o)=>({});return t.perfMode?rg(n):lue(n)})},v6=50,c1="itemRendered",u1="scroll",Uf="forward",d1="backward",zo="auto",f1="smart",Zp="start",ri="center",Qp="end",qf="horizontal",XA="vertical",cue="ltr",Gf="rtl",ev="negative",m6="positive-ascending",g6="positive-descending",uue={[qf]:"left",[XA]:"top"},due=20,JA=({atEndEdge:e,atStartEdge:t,layout:n},s)=>{let a,o=0;const r=l=>l<0&&t.value||l>0&&e.value;return{hasReachedEdge:r,onWheel:l=>{qi(a);let{deltaX:c,deltaY:u}=l;l.shiftKey&&u!==0&&(c=u,u=0);const d=n.value===qf?c:u;r(d)||(o+=d,!n3()&&d!==0&&l.preventDefault(),a=Jr(()=>{s(o),o=0}))}}},b6=dr({type:re([Number,Function]),required:!0}),y6=dr({type:Number}),w6=dr({type:Number,default:2}),fue=dr({type:String,values:["ltr","rtl"],default:"ltr"}),_6=dr({type:Number,default:0}),h1=dr({type:Number,required:!0}),ZA=dr({type:String,values:["horizontal","vertical"],default:XA}),QA=Me({className:{type:String,default:""},containerElement:{type:re([String,Object]),default:"div"},data:{type:re(Array),default:()=>Rn([])},direction:fue,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},innerProps:{type:re(Object),default:()=>({})},style:{type:re([Object,String,Array])},useIsScrolling:Boolean,width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),eT=Me({cache:w6,estimatedItemSize:y6,layout:ZA,initScrollOffset:_6,total:h1,itemSize:b6,...QA}),C6={type:Number,default:6},tT={type:Number,default:0},nT={type:Number,default:2},Au=Me({columnCache:w6,columnWidth:b6,estimatedColumnWidth:y6,estimatedRowHeight:y6,initScrollLeft:_6,initScrollTop:_6,itemKey:{type:re(Function),default:({columnIndex:e,rowIndex:t})=>`${t}:${e}`},rowCache:w6,rowHeight:b6,totalColumn:h1,totalRow:h1,hScrollbarSize:C6,vScrollbarSize:C6,scrollbarStartGap:tT,scrollbarEndGap:nT,role:String,...QA}),sT=Me({alwaysOn:Boolean,class:String,layout:ZA,total:h1,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:C6,startGap:tT,endGap:nT,visible:Boolean}),Tu=(e,t)=>ee===cue||e===Gf||e===qf,aT=e=>e===Gf;let Yf=null;function p1(e=!1){if(Yf===null||e){const t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";const s=document.createElement("div"),a=s.style;return a.width="100px",a.height="100px",t.appendChild(s),document.body.appendChild(t),t.scrollLeft>0?Yf=g6:(t.scrollLeft=1,t.scrollLeft===0?Yf=ev:Yf=m6),document.body.removeChild(t),Yf}return Yf}function hue({move:e,size:t,bar:n},s){const a={},o=`translate${n.axis}(${e}px)`;return a[n.size]=t,a.transform=o,s==="horizontal"?a.height="100%":a.width="100%",a}const S6=W({name:"ElVirtualScrollBar",props:sT,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const n=k(()=>e.startGap+e.endGap),s=Ee("virtual-scrollbar"),a=Ee("scrollbar"),o=F(),r=F();let i=null,l=null;const c=Wt({isDragging:!1,traveled:0}),u=k(()=>G9[e.layout]),d=k(()=>e.clientSize-f(n)),h=k(()=>({position:"absolute",width:`${qf===e.layout?d.value:e.scrollbarSize}px`,height:`${qf===e.layout?e.scrollbarSize:d.value}px`,[uue[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),p=k(()=>{const E=e.ratio;if(E>=100)return Number.POSITIVE_INFINITY;if(E>=50)return E*d.value/100;const T=d.value/3;return Math.floor(Math.min(Math.max(E*d.value/100,due),T))}),v=k(()=>{if(!Number.isFinite(p.value))return{display:"none"};const E=`${p.value}px`;return hue({bar:u.value,size:E,move:c.traveled},e.layout)}),m=k(()=>Math.ceil(e.clientSize-p.value-f(n))),g=()=>{window.addEventListener("mousemove",C),window.addEventListener("mouseup",w);const E=f(r);E&&(l=document.onselectstart,document.onselectstart=()=>!1,E.addEventListener("touchmove",C,{passive:!0}),E.addEventListener("touchend",w))},b=()=>{window.removeEventListener("mousemove",C),window.removeEventListener("mouseup",w),document.onselectstart=l,l=null;const E=f(r);E&&(E.removeEventListener("touchmove",C),E.removeEventListener("touchend",w))},_=E=>{E.stopImmediatePropagation(),!(E.ctrlKey||[1,2].includes(E.button))&&(c.isDragging=!0,c[u.value.axis]=E.currentTarget[u.value.offset]-(E[u.value.client]-E.currentTarget.getBoundingClientRect()[u.value.direction]),t("start-move"),g())},w=()=>{c.isDragging=!1,c[u.value.axis]=0,t("stop-move"),b()},C=E=>{const{isDragging:T}=c;if(!T||!r.value||!o.value)return;const R=c[u.value.axis];if(!R)return;qi(i);const I=(o.value.getBoundingClientRect()[u.value.direction]-E[u.value.client])*-1,M=r.value[u.value.offset]-R,$=I-M;i=Jr(()=>{c.traveled=Math.max(0,Math.min($,m.value)),t("scroll",$,m.value)})},x=E=>{const T=Math.abs(E.target.getBoundingClientRect()[u.value.direction]-E[u.value.client]),R=r.value[u.value.offset]/2,I=T-R;c.traveled=Math.max(0,Math.min(I,m.value)),t("scroll",I,m.value)};return me(()=>e.scrollFrom,E=>{c.isDragging||(c.traveled=Math.ceil(E*m.value))}),Gt(()=>{b()}),()=>rt("div",{role:"presentation",ref:o,class:[s.b(),e.class,(e.alwaysOn||c.isDragging)&&"always-on"],style:h.value,onMousedown:lt(x,["stop","prevent"]),onTouchstartPrevent:_},rt("div",{ref:r,class:a.e("thumb"),style:v.value,onMousedown:_},[]))}}),oT=({name:e,getOffset:t,getItemSize:n,getItemOffset:s,getEstimatedTotalSize:a,getStartIndexForOffset:o,getStopIndexForStartIndex:r,initCache:i,clearCache:l,validateProps:c})=>W({name:e??"ElVirtualList",props:eT,emits:[c1,u1],setup(u,{emit:d,expose:h}){c(u);const p=_t(),v=Ee("vl"),m=F(i(u,p)),g=YA(),b=F(),_=F(),w=F(),C=F({isScrolling:!1,scrollDir:"forward",scrollOffset:at(u.initScrollOffset)?u.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:u.scrollbarAlwaysOn}),x=k(()=>{const{total:K,cache:ee}=u,{isScrolling:ae,scrollDir:fe,scrollOffset:ne}=f(C);if(K===0)return[0,0,0,0];const pe=o(u,ne,f(m)),he=r(u,pe,ne,f(m)),ce=!ae||fe===d1?Math.max(1,ee):1,Z=!ae||fe===Uf?Math.max(1,ee):1;return[Math.max(0,pe-ce),Math.max(0,Math.min(K-1,he+Z)),pe,he]}),E=k(()=>a(u,f(m))),T=k(()=>tv(u.layout)),R=k(()=>[{position:"relative",[`overflow-${T.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:u.direction,height:at(u.height)?`${u.height}px`:u.height,width:at(u.width)?`${u.width}px`:u.width},u.style]),I=k(()=>{const K=f(E),ee=f(T);return{height:ee?"100%":`${K}px`,pointerEvents:f(C).isScrolling?"none":void 0,width:ee?`${K}px`:"100%",margin:0,boxSizing:"border-box"}}),M=k(()=>T.value?u.width:u.height),{onWheel:$}=JA({atStartEdge:k(()=>C.value.scrollOffset<=0),atEndEdge:k(()=>C.value.scrollOffset>=E.value),layout:k(()=>u.layout)},K=>{var ee,ae;(ae=(ee=w.value).onMouseUp)==null||ae.call(ee),N(Math.min(C.value.scrollOffset+K,E.value-M.value))});Zt(b,"wheel",$,{passive:!1});const O=()=>{const{total:K}=u;if(K>0){const[ne,pe,he,ce]=f(x);d(c1,ne,pe,he,ce)}const{scrollDir:ee,scrollOffset:ae,updateRequested:fe}=f(C);d(u1,ee,ae,fe)},B=K=>{const{clientHeight:ee,scrollHeight:ae,scrollTop:fe}=K.currentTarget,ne=f(C);if(ne.scrollOffset===fe)return;const pe=Math.max(0,Math.min(fe,ae-ee));C.value={...ne,isScrolling:!0,scrollDir:Tu(ne.scrollOffset,pe),scrollOffset:pe,updateRequested:!1},ze(z)},U=K=>{const{clientWidth:ee,scrollLeft:ae,scrollWidth:fe}=K.currentTarget,ne=f(C);if(ne.scrollOffset===ae)return;const{direction:pe}=u;let he=ae;if(pe===Gf)switch(p1()){case ev:{he=-ae;break}case g6:{he=fe-ee-ae;break}}he=Math.max(0,Math.min(he,fe-ee)),C.value={...ne,isScrolling:!0,scrollDir:Tu(ne.scrollOffset,he),scrollOffset:he,updateRequested:!1},ze(z)},J=K=>{f(T)?U(K):B(K),O()},Y=(K,ee)=>{const ae=(E.value-M.value)/ee*K;N(Math.min(E.value-M.value,ae))},N=K=>{K=Math.max(K,0),K!==f(C).scrollOffset&&(C.value={...f(C),scrollOffset:K,scrollDir:Tu(f(C).scrollOffset,K),updateRequested:!0},ze(z))},L=(K,ee=zo)=>{const{scrollOffset:ae}=f(C);K=Math.max(0,Math.min(K,u.total-1)),N(t(u,K,ee,ae,f(m)))},V=K=>{const{direction:ee,itemSize:ae,layout:fe}=u,ne=g.value(l&&ae,l&&fe,l&&ee);let pe;if(Ht(ne,String(K)))pe=ne[K];else{const he=s(u,K,f(m)),ce=n(u,K,f(m)),Z=f(T),H=ee===Gf,te=Z?he:0;ne[K]=pe={position:"absolute",left:H?void 0:`${te}px`,right:H?`${te}px`:void 0,top:Z?0:`${he}px`,height:Z?"100%":`${ce}px`,width:Z?`${ce}px`:"100%"}}return pe},z=()=>{C.value.isScrolling=!1,ze(()=>{g.value(-1,null,null)})},G=()=>{const K=b.value;K&&(K.scrollTop=0)};St(()=>{if(!jt)return;const{initScrollOffset:K}=u,ee=f(b);at(K)&&ee&&(f(T)?ee.scrollLeft=K:ee.scrollTop=K),O()}),or(()=>{const{direction:K,layout:ee}=u,{scrollOffset:ae,updateRequested:fe}=f(C),ne=f(b);if(fe&&ne)if(ee===qf)if(K===Gf)switch(p1()){case ev:{ne.scrollLeft=-ae;break}case m6:{ne.scrollLeft=ae;break}default:{const{clientWidth:pe,scrollWidth:he}=ne;ne.scrollLeft=he-pe-ae;break}}else ne.scrollLeft=ae;else ne.scrollTop=ae}),U0(()=>{f(b).scrollTop=f(C).scrollOffset});const Q={ns:v,clientSize:M,estimatedTotalSize:E,windowStyle:R,windowRef:b,innerRef:_,innerStyle:I,itemsToRender:x,scrollbarRef:w,states:C,getItemStyle:V,onScroll:J,onScrollbarScroll:Y,onWheel:$,scrollTo:N,scrollToItem:L,resetScrollTop:G};return h({windowRef:b,innerRef:_,getItemStyleCache:g,scrollTo:N,scrollToItem:L,resetScrollTop:G,states:C}),Q},render(u){var d;const{$slots:h,className:p,clientSize:v,containerElement:m,data:g,getItemStyle:b,innerElement:_,itemsToRender:w,innerStyle:C,layout:x,total:E,onScroll:T,onScrollbarScroll:R,states:I,useIsScrolling:M,windowStyle:$,ns:O}=u,[B,U]=w,J=bt(m),Y=bt(_),N=[];if(E>0)for(let G=B;G<=U;G++)N.push(rt(He,{key:G},(d=h.default)==null?void 0:d.call(h,{data:g,index:G,isScrolling:M?I.isScrolling:void 0,style:b(G)})));const L=[rt(Y,wt(u.innerProps,{style:C,ref:"innerRef"}),Xe(Y)?N:{default:()=>N})],V=rt(S6,{ref:"scrollbarRef",clientSize:v,layout:x,onScroll:R,ratio:v*100/this.estimatedTotalSize,scrollFrom:I.scrollOffset/(this.estimatedTotalSize-v),total:E,alwaysOn:I.scrollbarAlwaysOn}),z=rt(J,{class:[O.e("window"),p],style:$,onScroll:T,ref:"windowRef",key:0},Xe(J)?[L]:{default:()=>[L]});return rt("div",{key:0,class:[O.e("wrapper"),I.scrollbarAlwaysOn?"always-on":""]},[z,V])}}),rT=oT({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:s,width:a},o,r,i)=>{const l=tv(s)?a:e,c=Math.max(0,t*n-l),u=Math.min(c,o*n),d=Math.max(0,(o+1)*n-l);switch(r===f1&&(i>=d-l&&i<=u+l?r=zo:r=ri),r){case Zp:return u;case Qp:return d;case ri:{const h=Math.round(d+(u-d)/2);return hc+Math.floor(l/2)?c:h}case zo:default:return i>=d&&i<=u?i:iMath.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:s,width:a},o,r)=>{const i=o*n,l=tv(s)?a:e,c=Math.ceil((l+r-i)/n);return Math.max(0,Math.min(t-1,o+c-1))},initCache(){},clearCache:!0,validateProps(){}}),Xf=(e,t,n)=>{const{itemSize:s}=e,{items:a,lastVisitedIndex:o}=n;if(t>o){let r=0;if(o>=0){const i=a[o];r=i.offset+i.size}for(let i=o+1;i<=t;i++){const l=s(i);a[i]={offset:r,size:l},r+=l}n.lastVisitedIndex=t}return a[t]},pue=(e,t,n)=>{const{items:s,lastVisitedIndex:a}=t;return(a>0?s[a].offset:0)>=n?iT(e,t,0,a,n):vue(e,t,Math.max(0,a),n)},iT=(e,t,n,s,a)=>{for(;n<=s;){const o=n+Math.floor((s-n)/2),r=Xf(e,o,t).offset;if(r===a)return o;ra&&(s=o-1)}return Math.max(0,n-1)},vue=(e,t,n,s)=>{const{total:a}=e;let o=1;for(;n{let a=0;if(s>=e&&(s=e-1),s>=0){const i=t[s];a=i.offset+i.size}const r=(e-s-1)*n;return a+r},mue=oT({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>Xf(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:lT,getOffset:(e,t,n,s,a)=>{const{height:o,layout:r,width:i}=e,l=tv(r)?i:o,c=Xf(e,t,a),u=lT(e,a),d=Math.max(0,Math.min(u-l,c.offset)),h=Math.max(0,c.offset-l+c.size);switch(n===f1&&(s>=h-l&&s<=d+l?n=zo:n=ri),n){case Zp:return d;case Qp:return h;case ri:return Math.round(h+(d-h)/2);case zo:default:return s>=h&&s<=d?s:spue(e,n,t),getStopIndexForStartIndex:(e,t,n,s)=>{const{height:a,total:o,layout:r,width:i}=e,l=tv(r)?i:a,c=Xf(e,t,s),u=n+l;let d=c.offset+c.size,h=t;for(;h{var o,r;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,s-1),(o=t.exposed)==null||o.getItemStyleCache(-1),a&&((r=t.proxy)==null||r.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:e})=>{}});var gue=W({name:"ElSelectDropdown",props:{loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number,id:String,ariaLabel:String},setup(e,{slots:t,expose:n}){const s=je(p6),a=Ee("select"),{getLabel:o,getValue:r,getDisabled:i}=Bp(s.props),l=F([]),c=F(),u=k(()=>e.data.length);me(()=>u.value,()=>{var $,O;(O=($=s.tooltipRef.value)==null?void 0:$.updatePopper)==null||O.call($)});const d=k(()=>$t(s.props.estimatedOptionHeight)),h=k(()=>d.value?{itemSize:s.props.itemHeight}:{estimatedSize:s.props.estimatedOptionHeight,itemSize:$=>l.value[$]}),p=($=[],O)=>{const{props:{valueKey:B}}=s;return ht(O)?$&&$.some(U=>cn(Yn(U,B))===Yn(O,B)):$.includes(O)},v=($,O)=>{if(ht(O)){const{valueKey:B}=s.props;return Yn($,B)===Yn(O,B)}else return $===O},m=($,O)=>s.props.multiple?p($,r(O)):v($,r(O)),g=($,O)=>{const{disabled:B,multiple:U,multipleLimit:J}=s.props;return B||!O&&(U?J>0&&$.length>=J:!1)},b=$=>e.hoveringIndex===$;n({listRef:c,isSized:d,isItemDisabled:g,isItemHovering:b,isItemSelected:m,scrollToItem:$=>{const O=c.value;O&&O.scrollToItem($)},resetScrollTop:()=>{const $=c.value;$&&$.resetScrollTop()}});const x=$=>{const{index:O,data:B,style:U}=$,J=f(d),{itemSize:Y,estimatedSize:N}=f(h),{modelValue:L}=s.props,{onSelect:V,onHover:z}=s,G=B[O];if(G.type==="Group")return j(Xce,{item:G,style:U,height:J?Y:N},null);const Q=m(L,G),K=g(L,Q),ee=b(O);return j(oue,wt($,{selected:Q,disabled:i(G)||K,created:!!G.created,hovering:ee,item:G,onSelect:V,onHover:z}),{default:ae=>{var fe;return((fe=t.default)==null?void 0:fe.call(t,ae))||j("span",null,[o(G)])}})},{onKeyboardNavigate:E,onKeyboardSelect:T}=s,R=()=>{E("forward")},I=()=>{E("backward")},M=$=>{const O=an($),{tab:B,esc:U,down:J,up:Y,enter:N,numpadEnter:L}=Te;switch([U,J,Y,N,L].includes(O)&&($.preventDefault(),$.stopPropagation()),O){case B:case U:break;case J:R();break;case Y:I();break;case N:case L:T();break}};return()=>{var $,O,B,U;const{data:J,width:Y}=e,{height:N,multiple:L,scrollbarAlwaysOn:V}=s.props,z=k(()=>pg?!0:V),G=f(d)?rT:mue;return j("div",{class:[a.b("dropdown"),a.is("multiple",L)],style:{width:`${Y}px`}},[($=t.header)==null?void 0:$.call(t),((O=t.loading)==null?void 0:O.call(t))||((B=t.empty)==null?void 0:B.call(t))||j(G,wt({ref:c},f(h),{className:a.be("dropdown","list"),scrollbarAlwaysOn:z.value,data:J,height:N,width:Y,total:J.length,innerElement:"ul",innerProps:{id:e.id,role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},onKeydown:M}),{default:Q=>j(x,Q,null)}),(U=t.footer)==null?void 0:U.call(t)])}}});function bue(e,t){const{aliasProps:n,getLabel:s,getValue:a}=Bp(e),o=F(0),r=F(),i=k(()=>e.allowCreate&&e.filterable);me(()=>e.options,p=>{const v=new Set(p.map(m=>s(m)));t.createdOptions=t.createdOptions.filter(m=>!v.has(s(m)))});function l(p){const v=m=>s(m)===p;return e.options&&e.options.some(v)||t.createdOptions.some(v)}function c(p){i.value&&(e.multiple&&p.created?o.value++:r.value=p)}function u(p){if(i.value)if(p&&p.length>0){if(l(p)){t.createdOptions=t.createdOptions.filter(m=>s(m)!==t.previousQuery);return}const v={[n.value.value]:p,[n.value.label]:p,created:!0,[n.value.disabled]:!1};t.createdOptions.length>=o.value?t.createdOptions[o.value]=v:t.createdOptions.push(v)}else if(e.multiple)t.createdOptions.length=o.value;else{const v=r.value;t.createdOptions.length=0,v&&v.created&&t.createdOptions.push(v)}}function d(p){if(!i.value||!p||!p.created||p.created&&e.reserveKeyword&&t.inputValue===s(p))return;const v=t.createdOptions.findIndex(m=>a(m)===a(p));~v&&(t.createdOptions.splice(v,1),o.value--)}function h(){i.value&&(t.createdOptions.length=0,o.value=0)}return{createNewOption:u,removeNewOption:d,selectNewOption:c,clearAllNewOption:h}}const yue=(e,t)=>{const{t:n}=It(),s=zn(),a=Ee("select"),o=Ee("input"),{form:r,formItem:i}=Cs(),{inputId:l}=uo(e,{formItemContext:i}),{aliasProps:c,getLabel:u,getValue:d,getDisabled:h,getOptions:p}=Bp(e),{valueOnClear:v,isEmptyValue:m}=wp(e),g=Wt({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),b=F(-1),_=F(!1),w=F(),C=F(),x=F(),E=F(),T=F(),R=F(),I=F(),M=F(),$=F(),O=F(),{isComposing:B,handleCompositionStart:U,handleCompositionEnd:J,handleCompositionUpdate:Y}=Dp({afterComposition:Le=>En(Le)}),N=In(),{wrapperRef:L,isFocused:V,handleBlur:z}=Qi(T,{disabled:N,afterFocus(){e.automaticDropdown&&!ee.value&&(ee.value=!0,g.menuVisibleOnFocus=!0)},beforeBlur(Le){var ft,At;return((ft=x.value)==null?void 0:ft.isFocusInsideContent(Le))||((At=E.value)==null?void 0:At.isFocusInsideContent(Le))},afterBlur(){var Le;ee.value=!1,g.menuVisibleOnFocus=!1,e.validateEvent&&((Le=i==null?void 0:i.validate)==null||Le.call(i,"blur").catch(ft=>void 0))}}),G=k(()=>Ne("")),Q=k(()=>e.loading?!1:e.options.length>0||g.createdOptions.length>0),K=F([]),ee=F(!1),ae=k(()=>{var Le;return(Le=r==null?void 0:r.statusIcon)!=null?Le:!1}),fe=k(()=>{const Le=K.value.length*e.itemHeight;return Le>e.height?e.height:Le}),ne=k(()=>e.multiple?ke(e.modelValue)&&e.modelValue.length>0:!m(e.modelValue)),pe=k(()=>e.clearable&&!N.value&&ne.value&&(V.value||g.inputHovering)),he=k(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),ce=k(()=>he.value&&a.is("reverse",ee.value)),Z=k(()=>(i==null?void 0:i.validateState)||""),H=k(()=>{if(Z.value)return Eg[Z.value]}),te=k(()=>e.remote?e.debounce:0),de=k(()=>e.remote&&!g.inputValue&&!Q.value),be=k(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&g.inputValue&&Q.value&&K.value.length===0?e.noMatchText||n("el.select.noMatch"):Q.value?null:e.noDataText||n("el.select.noData")),Ce=k(()=>e.filterable&&et(e.filterMethod)),Se=k(()=>e.filterable&&e.remote&&et(e.remoteMethod)),Ne=Le=>{const ft=new RegExp(C3(Le),"i"),At=Lt=>Ce.value||Se.value?!0:Le?ft.test(u(Lt)||""):!0;return e.loading?[]:[...g.createdOptions,...e.options].reduce((Lt,Os)=>{const Qo=p(Os);if(ke(Qo)){const o2=Qo.filter(At);o2.length>0&&Lt.push({label:u(Os),type:"Group"},...o2)}else(e.remote||At(Os))&&Lt.push(Os);return Lt},[])},Ve=()=>{K.value=Ne(g.inputValue)},$e=k(()=>{const Le=new Map;return G.value.forEach((ft,At)=>{Le.set(Ae(d(ft)),{option:ft,index:At})}),Le}),_e=k(()=>{const Le=new Map;return K.value.forEach((ft,At)=>{Le.set(Ae(d(ft)),{option:ft,index:At})}),Le}),Oe=k(()=>K.value.every(Le=>h(Le))),Pe=ts(),We=k(()=>Pe.value==="small"?"small":"default"),Qe=()=>{var Le;if(at(e.fitInputWidth)){b.value=e.fitInputWidth;return}const ft=((Le=w.value)==null?void 0:Le.offsetWidth)||200;!e.fitInputWidth&&Q.value?ze(()=>{b.value=Math.max(ft,it())}):b.value=ft},it=()=>{var Le,ft;const Lt=document.createElement("canvas").getContext("2d"),Os=a.be("dropdown","item"),o2=(((ft=(Le=M.value)==null?void 0:Le.listRef)==null?void 0:ft.innerRef)||document).querySelector(`.${Os}`);if(o2===null||Lt===null)return 0;const Lb=getComputedStyle(o2),Dye=Number.parseFloat(Lb.paddingLeft)+Number.parseFloat(Lb.paddingRight);return Lt.font=`bold ${Lb.font.replace(new RegExp(`\\b${Lb.fontWeight}\\b`),"")}`,K.value.reduce((Fye,Bye)=>{const Vye=Lt.measureText(u(Bye));return Math.max(Vye.width,Fye)},0)+Dye},De=()=>{if(!C.value)return 0;const Le=window.getComputedStyle(C.value);return Number.parseFloat(Le.gap||"6px")},Ke=k(()=>{const Le=De(),ft=e.filterable?Le+zg:0;return{maxWidth:`${O.value&&e.maxCollapseTags===1?g.selectionWidth-g.collapseItemWidth-Le-ft:g.selectionWidth-ft}px`}}),nt=k(()=>({maxWidth:`${g.selectionWidth}px`})),Ft=k(()=>ke(e.modelValue)?e.modelValue.length===0&&!g.inputValue:e.filterable?!g.inputValue:!0),Kt=k(()=>{var Le;const ft=(Le=e.placeholder)!=null?Le:n("el.select.placeholder");return e.multiple||!ne.value?ft:g.selectedLabel}),ot=k(()=>{var Le,ft;return(ft=(Le=x.value)==null?void 0:Le.popperRef)==null?void 0:ft.contentRef}),dt=k(()=>{if(e.multiple){const Le=e.modelValue.length;if(Le>0&&_e.value.has(e.modelValue[Le-1])){const{index:ft}=_e.value.get(e.modelValue[Le-1]);return ft}}else if(!m(e.modelValue)&&_e.value.has(e.modelValue)){const{index:Le}=_e.value.get(e.modelValue);return Le}return-1}),kt=k({get(){return ee.value&&(e.loading||!de.value||e.remote&&!!s.empty)&&(!_.value||!Pa(g.previousQuery))},set(Le){ee.value=Le}}),xe=k(()=>e.multiple?e.collapseTags?g.cachedOptions.slice(0,e.maxCollapseTags):g.cachedOptions:[]),qe=k(()=>e.multiple?e.collapseTags?g.cachedOptions.slice(e.maxCollapseTags):[]:[]),{createNewOption:we,removeNewOption:Ye,selectNewOption:Ct,clearAllNewOption:Xt}=bue(e,g),wn=Le=>{var ft;N.value||e.filterable&&ee.value&&Le&&!((ft=I.value)!=null&&ft.contains(Le.target))||(g.menuVisibleOnFocus?g.menuVisibleOnFocus=!1:ee.value=!ee.value)},Sn=()=>{g.inputValue.length>0&&!ee.value&&(ee.value=!0),we(g.inputValue),ze(()=>{st(g.inputValue)})},Fe=gp(()=>{Sn(),_.value=!1},te),st=Le=>{g.previousQuery===Le||B.value||(g.previousQuery=Le,e.filterable&&et(e.filterMethod)?e.filterMethod(Le):e.filterable&&e.remote&&et(e.remoteMethod)&&e.remoteMethod(Le),e.defaultFirstOption&&(e.filterable||e.remote)&&K.value.length?ze(ge):ze(Dt))},ge=()=>{const Le=K.value.filter(Lt=>!Lt.disabled&&Lt.type!=="Group"),ft=Le.find(Lt=>Lt.created),At=Le[0];g.hoveringIndex=Re(K.value,ft||At)},ye=Le=>{$n(e.modelValue,Le)||t(Pt,Le)},Be=Le=>{t(ct,Le),ye(Le),g.previousValue=e.multiple?String(Le):Le,ze(()=>{if(e.multiple&&ke(e.modelValue)){const ft=g.cachedOptions.slice(),At=e.modelValue.map(Lt=>Pi(Lt,ft));$n(g.cachedOptions,At)||(g.cachedOptions=At)}else S0(!0)})},Re=(Le=[],ft)=>{if(!ht(ft))return Le.indexOf(ft);const At=e.valueKey;let Lt=-1;return Le.some((Os,Qo)=>Yn(Os,At)===Yn(ft,At)?(Lt=Qo,!0):!1),Lt},Ae=Le=>ht(Le)?Yn(Le,e.valueKey):Le,Ze=()=>{Qe()},sn=()=>{g.selectionWidth=Number.parseFloat(window.getComputedStyle(C.value).width)},_n=()=>{g.collapseItemWidth=O.value.getBoundingClientRect().width},xn=()=>{var Le,ft;(ft=(Le=x.value)==null?void 0:Le.updatePopper)==null||ft.call(Le)},Rt=()=>{var Le,ft;(ft=(Le=E.value)==null?void 0:Le.updatePopper)==null||ft.call(Le)},Rs=Le=>{const ft=d(Le);if(e.multiple){let At=e.modelValue.slice();const Lt=Re(At,ft);Lt>-1?(At=[...At.slice(0,Lt),...At.slice(Lt+1)],g.cachedOptions.splice(Lt,1),Ye(Le)):(e.multipleLimit<=0||At.length{let At=e.modelValue.slice();const Lt=Re(At,d(ft));Lt>-1&&!N.value&&(At=[...e.modelValue.slice(0,Lt),...e.modelValue.slice(Lt+1)],g.cachedOptions.splice(Lt,1),Be(At),t("remove-tag",d(ft)),Ye(ft)),Le.stopPropagation(),Va()},Va=()=>{var Le;(Le=T.value)==null||Le.focus()},Qc=()=>{var Le;if(ee.value){ee.value=!1,ze(()=>{var ft;return(ft=T.value)==null?void 0:ft.blur()});return}(Le=T.value)==null||Le.blur()},Qd=()=>{g.inputValue.length>0?g.inputValue="":ee.value=!1},ef=Le=>fx(Le,ft=>!g.cachedOptions.some(At=>d(At)===ft&&h(At))),tf=Le=>{const ft=an(Le);if(e.multiple&&ft!==Te.delete&&g.inputValue.length===0){Le.preventDefault();const At=e.modelValue.slice(),Lt=ef(At);if(Lt<0)return;const Os=At[Lt];At.splice(Lt,1);const Qo=g.cachedOptions[Lt];g.cachedOptions.splice(Lt,1),Ye(Qo),Be(At),t("remove-tag",Os)}},Lw=()=>{let Le;ke(e.modelValue)?Le=[]:Le=v.value,g.selectedLabel="",ee.value=!1,Be(Le),t("clear"),Xt(),Va()},nf=(Le,ft=void 0)=>{const At=K.value;if(!["forward","backward"].includes(Le)||N.value||At.length<=0||Oe.value||B.value)return;if(!ee.value)return wn();$t(ft)&&(ft=g.hoveringIndex);let Lt=-1;Le==="forward"?(Lt=ft+1,Lt>=At.length&&(Lt=0)):Le==="backward"&&(Lt=ft-1,(Lt<0||Lt>=At.length)&&(Lt=At.length-1));const Os=At[Lt];if(h(Os)||Os.type==="Group")return nf(Le,Lt);g.hoveringIndex=Lt,ta(Lt)},Ie=()=>{if(ee.value)~g.hoveringIndex&&K.value[g.hoveringIndex]&&Rs(K.value[g.hoveringIndex]);else return wn()},ut=Le=>{g.hoveringIndex=Le??-1},Dt=()=>{if(!e.multiple)g.hoveringIndex=K.value.findIndex(Le=>Ae(d(Le))===Ae(e.modelValue));else{const Le=e.modelValue.length;if(Le>0){const ft=e.modelValue[Le-1];g.hoveringIndex=K.value.findIndex(At=>Ae(ft)===Ae(d(At)))}else g.hoveringIndex=-1}},En=Le=>{if(g.inputValue=Le.target.value,e.remote)_.value=!0,Fe();else return Sn()},jn=Le=>{if(ee.value=!1,V.value){const ft=new FocusEvent("blur",Le);z(ft)}},Ca=()=>(g.isBeforeHide=!1,ze(()=>{~dt.value&&ta(dt.value)})),ta=Le=>{M.value.scrollToItem(Le)},Pi=(Le,ft)=>{const At=Ae(Le);if($e.value.has(At)){const{option:Lt}=$e.value.get(At);return Lt}if(ft&&ft.length){const Lt=ft.find(Os=>Ae(d(Os))===At);if(Lt)return Lt}return{[c.value.value]:Le,[c.value.label]:Le}},Hl=Le=>{var ft,At;return(At=(ft=$e.value.get(d(Le)))==null?void 0:ft.index)!=null?At:-1},S0=(Le=!1)=>{if(e.multiple)if(e.modelValue.length>0){const ft=g.cachedOptions.slice();g.cachedOptions.length=0,g.previousValue=e.modelValue.toString();for(const At of e.modelValue){const Lt=Pi(At,ft);g.cachedOptions.push(Lt)}}else g.cachedOptions=[],g.previousValue=void 0;else if(ne.value){g.previousValue=e.modelValue;const ft=K.value,At=ft.findIndex(Lt=>Ae(d(Lt))===Ae(e.modelValue));~At?g.selectedLabel=u(ft[At]):(!g.selectedLabel||Le)&&(g.selectedLabel=Ae(e.modelValue))}else g.selectedLabel="",g.previousValue=void 0;Xt(),Qe()};me(()=>e.fitInputWidth,()=>{Qe()}),me(ee,Le=>{Le?(e.persistent||Qe(),st("")):(g.inputValue="",g.previousQuery=null,g.isBeforeHide=!0,g.menuVisibleOnFocus=!1,we(""))}),me(()=>e.modelValue,(Le,ft)=>{var At;(!Le||ke(Le)&&Le.length===0||e.multiple&&!$n(Le.toString(),g.previousValue)||!e.multiple&&Ae(Le)!==Ae(g.previousValue))&&S0(!0),!$n(Le,ft)&&e.validateEvent&&((At=i==null?void 0:i.validate)==null||At.call(i,"change").catch(Os=>void 0))},{deep:!0}),me(()=>e.options,()=>{const Le=T.value;(!Le||Le&&document.activeElement!==Le)&&S0()},{deep:!0,flush:"post"}),me(()=>K.value,()=>(Qe(),M.value&&ze(M.value.resetScrollTop))),Wa(()=>{g.isBeforeHide||Ve()}),Wa(()=>{const{valueKey:Le,options:ft}=e,At=new Map;for(const Lt of ft){const Os=d(Lt);let Qo=Os;if(ht(Qo)&&(Qo=Yn(Os,Le)),At.get(Qo))break;At.set(Qo,!0)}}),St(()=>{S0()}),bn(w,Ze),bn(C,sn),bn(L,xn),bn($,Rt),bn(O,_n);let Ob;return me(()=>kt.value,Le=>{Le?Ob=bn(M,xn).stop:(Ob==null||Ob(),Ob=void 0),t("visible-change",Le)}),{inputId:l,collapseTagSize:We,currentPlaceholder:Kt,expanded:ee,emptyText:be,popupHeight:fe,debounce:te,allOptions:G,allOptionsValueMap:$e,filteredOptions:K,iconComponent:he,iconReverse:ce,tagStyle:Ke,collapseTagStyle:nt,popperSize:b,dropdownMenuVisible:kt,hasModelValue:ne,shouldShowPlaceholder:Ft,selectDisabled:N,selectSize:Pe,needStatusIcon:ae,showClearBtn:pe,states:g,isFocused:V,nsSelect:a,nsInput:o,inputRef:T,menuRef:M,tagMenuRef:$,tooltipRef:x,tagTooltipRef:E,selectRef:w,wrapperRef:L,selectionRef:C,prefixRef:R,suffixRef:I,collapseItemRef:O,popperRef:ot,validateState:Z,validateIcon:H,showTagList:xe,collapseTagList:qe,debouncedOnInputChange:Fe,deleteTag:Is,getLabel:u,getValue:d,getDisabled:h,getValueKey:Ae,getIndex:Hl,handleClear:Lw,handleClickOutside:jn,handleDel:tf,handleEsc:Qd,focus:Va,blur:Qc,handleMenuEnter:Ca,handleResize:Ze,resetSelectionWidth:sn,updateTooltip:xn,updateTagTooltip:Rt,updateOptions:Ve,toggleMenu:wn,scrollTo:ta,onInput:En,onKeyboardNavigate:nf,onKeyboardSelect:Ie,onSelect:Rs,onHover:ut,handleCompositionStart:U,handleCompositionEnd:J,handleCompositionUpdate:Y}};var wue=W({name:"ElSelectV2",components:{ElSelectMenu:gue,ElTag:al,ElTooltip:Ss,ElIcon:Je},directives:{ClickOutside:lc},props:Zce,emits:eue,setup(e,{emit:t}){const n=k(()=>{const{modelValue:l,multiple:c}=e,u=c?[]:void 0;return ke(l)?c?l:u:c?u:l}),s=yue(Wt({...ps(e),modelValue:n}),t),{calculatorRef:a,inputStyle:o}=E3(),r=$s();Tt(p6,{props:Wt({...ps(e),height:s.popupHeight,modelValue:n}),expanded:s.expanded,tooltipRef:s.tooltipRef,contentId:r,onSelect:s.onSelect,onHover:s.onHover,onKeyboardNavigate:s.onKeyboardNavigate,onKeyboardSelect:s.onKeyboardSelect});const i=k(()=>e.multiple?s.states.cachedOptions.map(l=>s.getLabel(l)):s.states.selectedLabel);return{...s,modelValue:n,selectedLabel:i,calculatorRef:a,inputStyle:o,contentId:r,BORDER_HORIZONTAL_WIDTH:UE}}});const _ue=["id","value","autocomplete","tabindex","aria-expanded","aria-label","disabled","aria-controls","aria-activedescendant","readonly","name"],Cue=["textContent"],Sue={key:1};function xue(e,t,n,s,a,o){const r=Ge("el-tag"),i=Ge("el-tooltip"),l=Ge("el-icon"),c=Ge("el-select-menu"),u=N4("click-outside");return gt((S(),P("div",{ref:"selectRef",class:D([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),onMouseenter:t[14]||(t[14]=d=>e.states.inputHovering=!0),onMouseleave:t[15]||(t[15]=d=>e.states.inputHovering=!1)},[j(i,{ref:"tooltipRef",visible:e.dropdownMenuVisible,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,placement:e.placement,pure:"",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t[13]||(t[13]=d=>e.states.isBeforeHide=!1)},{default:X(()=>{var d,h;return[A("div",{ref:"wrapperRef",class:D([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:t[10]||(t[10]=lt((...p)=>e.toggleMenu&&e.toggleMenu(...p),["prevent"]))},[e.$slots.prefix?(S(),P("div",{key:0,ref:"prefixRef",class:D(e.nsSelect.e("prefix"))},[ue(e.$slots,"prefix")],2)):ie("v-if",!0),A("div",{ref:"selectionRef",class:D([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.modelValue.length)])},[e.multiple?ue(e.$slots,"tag",{key:0,data:e.states.cachedOptions,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(S(!0),P(He,null,yt(e.showTagList,p=>(S(),P("div",{key:e.getValueKey(e.getValue(p)),class:D(e.nsSelect.e("selected-item"))},[j(r,{closable:!e.selectDisabled&&!e.getDisabled(p),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:tt(e.tagStyle),onClose:v=>e.deleteTag(v,p)},{default:X(()=>[A("span",{class:D(e.nsSelect.e("tags-text"))},[ue(e.$slots,"label",{index:e.getIndex(p),label:e.getLabel(p),value:e.getValue(p)},()=>[Ue(ve(e.getLabel(p)),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.modelValue.length>e.maxCollapseTags?(S(),le(i,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom","popper-class":e.popperClass,"popper-style":e.popperStyle,teleported:e.teleported,"popper-options":e.popperOptions},{default:X(()=>[A("div",{ref:"collapseItemRef",class:D(e.nsSelect.e("selected-item"))},[j(r,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,style:tt(e.collapseTagStyle),"disable-transitions":""},{default:X(()=>[A("span",{class:D(e.nsSelect.e("tags-text"))}," + "+ve(e.modelValue.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:X(()=>[A("div",{ref:"tagMenuRef",class:D(e.nsSelect.e("selection"))},[(S(!0),P(He,null,yt(e.collapseTagList,p=>(S(),P("div",{key:e.getValueKey(e.getValue(p)),class:D(e.nsSelect.e("selected-item"))},[j(r,{class:"in-tooltip",closable:!e.selectDisabled&&!e.getDisabled(p),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:v=>e.deleteTag(v,p)},{default:X(()=>[A("span",{class:D(e.nsSelect.e("tags-text"))},[ue(e.$slots,"label",{index:e.getIndex(p),label:e.getLabel(p),value:e.getValue(p)},()=>[Ue(ve(e.getLabel(p)),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","popper-class","popper-style","teleported","popper-options"])):ie("v-if",!0)]):ie("v-if",!0),A("div",{class:D([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled)])},[A("input",{id:e.inputId,ref:"inputRef",value:e.states.inputValue,style:tt(e.inputStyle),autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-autocomplete":"none","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-label":e.ariaLabel,class:D([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,role:"combobox","aria-controls":e.contentId,"aria-activedescendant":e.states.hoveringIndex>=0?`${e.contentId}-${e.states.hoveringIndex}`:"",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,onInput:t[0]||(t[0]=(...p)=>e.onInput&&e.onInput(...p)),onCompositionstart:t[1]||(t[1]=(...p)=>e.handleCompositionStart&&e.handleCompositionStart(...p)),onCompositionupdate:t[2]||(t[2]=(...p)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...p)),onCompositionend:t[3]||(t[3]=(...p)=>e.handleCompositionEnd&&e.handleCompositionEnd(...p)),onKeydown:[t[4]||(t[4]=Nn(lt(p=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),t[5]||(t[5]=Nn(lt(p=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),t[6]||(t[6]=Nn(lt((...p)=>e.onKeyboardSelect&&e.onKeyboardSelect(...p),["stop","prevent"]),["enter"])),t[7]||(t[7]=Nn(lt((...p)=>e.handleEsc&&e.handleEsc(...p),["stop","prevent"]),["esc"])),t[8]||(t[8]=Nn(lt((...p)=>e.handleDel&&e.handleDel(...p),["stop"]),["delete"]))],onClick:t[9]||(t[9]=lt((...p)=>e.toggleMenu&&e.toggleMenu(...p),["stop"]))},null,46,_ue),e.filterable?(S(),P("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:D(e.nsSelect.e("input-calculator")),textContent:ve(e.states.inputValue)},null,10,Cue)):ie("v-if",!0)],2),e.shouldShowPlaceholder?(S(),P("div",{key:1,class:D([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?ue(e.$slots,"label",{key:0,index:(h=(d=e.allOptionsValueMap.get(e.modelValue))==null?void 0:d.index)!=null?h:-1,label:e.currentPlaceholder,value:e.modelValue},()=>[A("span",null,ve(e.currentPlaceholder),1)]):(S(),P("span",Sue,ve(e.currentPlaceholder),1))],2)):ie("v-if",!0)],2),A("div",{ref:"suffixRef",class:D(e.nsSelect.e("suffix"))},[e.iconComponent?gt((S(),le(l,{key:0,class:D([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:X(()=>[(S(),le(bt(e.iconComponent)))]),_:1},8,["class"])),[[Bt,!e.showClearBtn]]):ie("v-if",!0),e.showClearBtn&&e.clearIcon?(S(),le(l,{key:1,class:D([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.nsSelect.e("clear")]),onClick:lt(e.handleClear,["prevent","stop"])},{default:X(()=>[(S(),le(bt(e.clearIcon)))]),_:1},8,["class","onClick"])):ie("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(S(),le(l,{key:2,class:D([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:X(()=>[(S(),le(bt(e.validateIcon)))]),_:1},8,["class"])):ie("v-if",!0)],2)],2)]}),content:X(()=>[j(c,{id:e.contentId,ref:"menuRef",data:e.filteredOptions,width:e.popperSize-e.BORDER_HORIZONTAL_WIDTH,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn,"aria-label":e.ariaLabel},ka({default:X(d=>[ue(e.$slots,"default",Oi(Vi(d)))]),_:2},[e.$slots.header?{name:"header",fn:X(()=>[A("div",{class:D(e.nsSelect.be("dropdown","header")),onClick:t[11]||(t[11]=lt(()=>{},["stop"]))},[ue(e.$slots,"header")],2)]),key:"0"}:void 0,e.$slots.loading&&e.loading?{name:"loading",fn:X(()=>[A("div",{class:D(e.nsSelect.be("dropdown","loading"))},[ue(e.$slots,"loading")],2)]),key:"1"}:e.loading||e.filteredOptions.length===0?{name:"empty",fn:X(()=>[A("div",{class:D(e.nsSelect.be("dropdown","empty"))},[ue(e.$slots,"empty",{},()=>[A("span",null,ve(e.emptyText),1)])],2)]),key:"2"}:void 0,e.$slots.footer?{name:"footer",fn:X(()=>[A("div",{class:D(e.nsSelect.be("dropdown","footer")),onClick:t[12]||(t[12]=lt(()=>{},["stop"]))},[ue(e.$slots,"footer")],2)]),key:"3"}:void 0]),1032,["id","data","width","hovering-index","scrollbar-always-on","aria-label"])]),_:3},8,["visible","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","placement","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],34)),[[u,e.handleClickOutside,e.popperRef]])}var Eue=is(wue,[["render",xue]]);const kue=pt(Eue),Aue=Me({animated:Boolean,count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:re([Number,Object])}}),Tue=Me({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}});var v1=W({name:"ElSkeletonItem",__name:"skeleton-item",props:Tue,setup(e){const t=Ee("skeleton");return(n,s)=>(S(),P("div",{class:D([f(t).e("item"),f(t).e(e.variant)])},[e.variant==="image"?(S(),le(f(t9),{key:0})):ie("v-if",!0)],2))}});const Mue=(e,t=0)=>{if(t===0)return e;const n=ht(t)&&!!t.initVal,s=F(n);let a=null;const o=i=>{if($t(i)){s.value=e.value;return}a&&clearTimeout(a),a=setTimeout(()=>{s.value=e.value},i)},r=i=>{i==="leading"?at(t)?o(t):o(t.leading):ht(t)?o(t.trailing):s.value=!1};return St(()=>r("leading")),me(()=>e.value,i=>{r(i?"leading":"trailing")}),s};var Pue=W({name:"ElSkeleton",__name:"skeleton",props:Aue,setup(e,{expose:t}){const n=e,s=Ee("skeleton"),a=Mue(Jt(n,"loading"),n.throttle);return t({uiLoading:a}),(o,r)=>f(a)?(S(),P("div",wt({key:0,class:[f(s).b(),f(s).is("animated",e.animated)]},o.$attrs),[(S(!0),P(He,null,yt(e.count,i=>(S(),P(He,{key:i},[f(a)?ue(o.$slots,"template",{key:i},()=>[j(v1,{class:D(f(s).is("first")),variant:"p"},null,8,["class"]),(S(!0),P(He,null,yt(e.rows,l=>(S(),le(v1,{key:l,class:D([f(s).e("paragraph"),f(s).is("last",l===e.rows&&e.rows>1)]),variant:"p"},null,8,["class"]))),128))]):ie("v-if",!0)],64))),128))],16)):ue(o.$slots,"default",Oi(wt({key:1},o.$attrs)))}});const Rue=pt(Pue,{SkeletonItem:v1}),Iue=An(v1),cT=Symbol("sliderContextKey"),Oue=Me({modelValue:{type:re([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:rs,inputSize:rs,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:re(Function),default:void 0},disabled:{type:Boolean,default:void 0},range:Boolean,vertical:Boolean,height:String,rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:re(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Qr,default:"top"},marks:{type:re(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...ia(["ariaLabel"])}),x6=e=>at(e)||ke(e)&&e.every(at),Lue={[ct]:x6,[es]:x6,[Pt]:x6},Nue=Me({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Qr,default:"top"}}),$ue={[ct]:e=>at(e)},Due=(e,t,n)=>{const s=F(),a=F(!1),o=k(()=>t.value instanceof Function),r=k(()=>o.value&&t.value(e.modelValue)||e.modelValue),i=Xr(()=>{n.value&&(a.value=!0)},50),l=Xr(()=>{n.value&&(a.value=!1)},50);return{tooltip:s,tooltipVisible:a,formatValue:r,displayTooltip:i,hideTooltip:l}},Fue=(e,t,n)=>{const{disabled:s,min:a,max:o,step:r,showTooltip:i,persistent:l,precision:c,sliderSize:u,formatTooltip:d,emitChange:h,resetSize:p,updateDragging:v}=je(cT),{tooltip:m,tooltipVisible:g,formatValue:b,displayTooltip:_,hideTooltip:w}=Due(e,d,i),C=F(),x=k(()=>`${(e.modelValue-a.value)/(o.value-a.value)*100}%`),E=k(()=>e.vertical?{bottom:x.value}:{left:x.value}),T=()=>{t.hovering=!0,_()},R=()=>{t.hovering=!1,t.dragging||w()},I=K=>{s.value||(K.preventDefault(),V(K),window.addEventListener("mousemove",z),window.addEventListener("touchmove",z),window.addEventListener("mouseup",G),window.addEventListener("touchend",G),window.addEventListener("contextmenu",G),C.value.focus())},M=K=>{s.value||(t.newPosition=Number.parseFloat(x.value)+K/(o.value-a.value)*100,Q(t.newPosition),h())},$=()=>{M(-r.value)},O=()=>{M(r.value)},B=()=>{M(-r.value*4)},U=()=>{M(r.value*4)},J=()=>{s.value||(Q(0),h())},Y=()=>{s.value||(Q(100),h())},N=K=>{const ee=an(K);let ae=!0;switch(ee){case Te.left:case Te.down:$();break;case Te.right:case Te.up:O();break;case Te.home:J();break;case Te.end:Y();break;case Te.pageDown:B();break;case Te.pageUp:U();break;default:ae=!1;break}ae&&K.preventDefault()},L=K=>{let ee,ae;return K.type.startsWith("touch")?(ae=K.touches[0].clientY,ee=K.touches[0].clientX):(ae=K.clientY,ee=K.clientX),{clientX:ee,clientY:ae}},V=K=>{t.dragging=!0,t.isClick=!0;const{clientX:ee,clientY:ae}=L(K);e.vertical?t.startY=ae:t.startX=ee,t.startPosition=Number.parseFloat(x.value),t.newPosition=t.startPosition},z=K=>{if(t.dragging){t.isClick=!1,_(),p();let ee;const{clientX:ae,clientY:fe}=L(K);e.vertical?(t.currentY=fe,ee=(t.startY-t.currentY)/u.value*100):(t.currentX=ae,ee=(t.currentX-t.startX)/u.value*100),t.newPosition=t.startPosition+ee,Q(t.newPosition)}},G=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||w(),t.isClick||Q(t.newPosition),h()},0),window.removeEventListener("mousemove",z),window.removeEventListener("touchmove",z),window.removeEventListener("mouseup",G),window.removeEventListener("touchend",G),window.removeEventListener("contextmenu",G))},Q=async K=>{if(K===null||Number.isNaN(+K))return;K=gu(K,0,100);const ee=Math.floor((o.value-a.value)/r.value),ae=ee*r.value/(o.value-a.value)*100,fe=ae+(100-ae)/2;let ne;if(Kt.dragging,K=>{v(K)}),Zt(C,"touchstart",I,{passive:!1}),{disabled:s,button:C,tooltip:m,tooltipVisible:g,showTooltip:i,persistent:l,wrapperStyle:E,formatValue:b,handleMouseEnter:T,handleMouseLeave:R,onButtonDown:I,onKeyDown:N,setPosition:Q}},Bue=["tabindex"];var uT=W({name:"ElSliderButton",__name:"button",props:Nue,emits:$ue,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Ee("slider"),r=Wt({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:s.modelValue}),i=k(()=>d.value?h.value:!1),{disabled:l,button:c,tooltip:u,showTooltip:d,persistent:h,tooltipVisible:p,wrapperStyle:v,formatValue:m,handleMouseEnter:g,handleMouseLeave:b,onButtonDown:_,onKeyDown:w,setPosition:C}=Fue(s,r,a),{hovering:x,dragging:E}=ps(r);return t({onButtonDown:_,onKeyDown:w,setPosition:C,hovering:x,dragging:E}),(T,R)=>(S(),P("div",{ref_key:"button",ref:c,class:D([f(o).e("button-wrapper"),{hover:f(x),dragging:f(E)}]),style:tt(f(v)),tabindex:f(l)?void 0:0,onMouseenter:R[0]||(R[0]=(...I)=>f(g)&&f(g)(...I)),onMouseleave:R[1]||(R[1]=(...I)=>f(b)&&f(b)(...I)),onMousedown:R[2]||(R[2]=(...I)=>f(_)&&f(_)(...I)),onFocus:R[3]||(R[3]=(...I)=>f(g)&&f(g)(...I)),onBlur:R[4]||(R[4]=(...I)=>f(b)&&f(b)(...I)),onKeydown:R[5]||(R[5]=(...I)=>f(w)&&f(w)(...I))},[j(f(Ss),{ref_key:"tooltip",ref:u,visible:f(p),placement:T.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":T.tooltipClass,disabled:!f(d),persistent:i.value},{content:X(()=>[A("span",null,ve(f(m)),1)]),default:X(()=>[A("div",{class:D([f(o).e("button"),{hover:f(x),dragging:f(E)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,Bue))}});const Vue=Me({mark:{type:re([String,Object]),default:void 0}});var zue=W({name:"ElSliderMarker",props:Vue,setup(e){const t=Ee("slider"),n=k(()=>Xe(e.mark)?e.mark:e.mark.label),s=k(()=>Xe(e.mark)?void 0:e.mark.style);return()=>rt("div",{class:t.e("marks-text"),style:s.value},n.value)}});const Hue=(e,t,n)=>{const{formItem:s}=Cs(),a=hn(),o=F(),r=F(),i={firstButton:o,secondButton:r},l=In(),c=k(()=>Math.min(t.firstValue,t.secondValue)),u=k(()=>Math.max(t.firstValue,t.secondValue)),d=k(()=>e.range?`${100*(u.value-c.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),h=k(()=>e.range?`${100*(c.value-e.min)/(e.max-e.min)}%`:"0%"),p=k(()=>e.vertical?{height:e.height}:{}),v=k(()=>e.vertical?{height:d.value,bottom:h.value}:{width:d.value,left:h.value}),m=()=>{if(a.value){const $=a.value.getBoundingClientRect();t.sliderSize=$[e.vertical?"height":"width"]}},g=$=>{const O=e.min+$*(e.max-e.min)/100;if(!e.range)return o;let B;return Math.abs(c.value-O)t.secondValue?"firstButton":"secondButton",i[B]},b=$=>{const O=g($);return O.value.setPosition($),O},_=$=>{t.firstValue=$??e.min,C(e.range?[c.value,u.value]:$??e.min)},w=$=>{t.secondValue=$,e.range&&C([c.value,u.value])},C=$=>{n(ct,$),n(es,$)},x=async()=>{await ze(),n(Pt,e.range?[c.value,u.value]:e.modelValue)},E=$=>{var O,B,U,J,Y,N;if(l.value||t.dragging)return;m();let L=0;if(e.vertical){const V=(U=(B=(O=$.touches)==null?void 0:O.item(0))==null?void 0:B.clientY)!=null?U:$.clientY;L=(a.value.getBoundingClientRect().bottom-V)/t.sliderSize*100}else{const V=(N=(Y=(J=$.touches)==null?void 0:J.item(0))==null?void 0:Y.clientX)!=null?N:$.clientX,z=a.value.getBoundingClientRect().left;L=(V-z)/t.sliderSize*100}if(!(L<0||L>100))return b(L)};return{elFormItem:s,slider:a,firstButton:o,secondButton:r,sliderDisabled:l,minValue:c,maxValue:u,runwayStyle:p,barStyle:v,resetSize:m,setPosition:b,emitChange:x,onSliderWrapperPrevent:$=>{var O,B;((O=i.firstButton.value)!=null&&O.dragging||(B=i.secondButton.value)!=null&&B.dragging)&&$.preventDefault()},onSliderClick:$=>{E($)&&x()},onSliderDown:async $=>{const O=E($);O&&(await ze(),O.value.onButtonDown($))},onSliderMarkerDown:$=>{if(l.value||t.dragging)return;b($)&&x()},setFirstValue:_,setSecondValue:w}},Wue=(e,t,n,s)=>({stops:k(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const r=Math.ceil((e.max-e.min)/e.step),i=100*e.step/(e.max-e.min),l=Array.from({length:r-1}).map((c,u)=>(u+1)*i);return e.range?l.filter(c=>c<100*(n.value-e.min)/(e.max-e.min)||c>100*(s.value-e.min)/(e.max-e.min)):l.filter(c=>c>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:r=>e.vertical?{bottom:`${r}%`}:{left:`${r}%`}}),jue=e=>k(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((n,s)=>n-s).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]})):[]),Kue=(e,t,n,s,a,o)=>{const r=c=>{a(ct,c),a(es,c)},i=()=>e.range?![n.value,s.value].every((c,u)=>c===t.oldValue[u]):e.modelValue!==t.oldValue,l=()=>{var c,u;e.min>e.max&&Xn("Slider","min should not be greater than max.");const d=e.modelValue;e.range&&ke(d)?d[1]e.max?r([e.max,e.max]):d[0]e.max?r([d[0],e.max]):(t.firstValue=d[0],t.secondValue=d[1],i()&&(e.validateEvent&&((c=o==null?void 0:o.validate)==null||c.call(o,"change").catch(h=>void 0)),t.oldValue=d.slice())):!e.range&&at(d)&&!Number.isNaN(d)&&(de.max?r(e.max):(t.firstValue=d,i()&&(e.validateEvent&&((u=o==null?void 0:o.validate)==null||u.call(o,"change").catch(h=>void 0)),t.oldValue=d)))};l(),me(()=>t.dragging,c=>{c||l()}),me(()=>e.modelValue,(c,u)=>{t.dragging||ke(c)&&ke(u)&&c.every((d,h)=>d===u[h])&&t.firstValue===c[0]&&t.secondValue===c[1]||l()},{deep:!0}),me(()=>[e.min,e.max],()=>{l()})},Uue=(e,t,n)=>{const s=F();return St(async()=>{e.range?(ke(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]):(!at(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),Zt(window,"resize",n),await ze(),n()}),{sliderWrapper:s}},que=["id","role","aria-label","aria-labelledby"],Gue={key:1};var Yue=W({name:"ElSlider",__name:"slider",props:Oue,emits:Lue,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Ee("slider"),{t:r}=It(),i=Wt({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:l,slider:c,firstButton:u,secondButton:d,sliderDisabled:h,minValue:p,maxValue:v,runwayStyle:m,barStyle:g,resetSize:b,emitChange:_,onSliderWrapperPrevent:w,onSliderClick:C,onSliderDown:x,onSliderMarkerDown:E,setFirstValue:T,setSecondValue:R}=Hue(s,i,a),{stops:I,getStopStyle:M}=Wue(s,i,p,v),{inputId:$,isLabeledByFormItem:O}=uo(s,{formItemContext:l}),B=ts(),U=k(()=>s.inputSize||B.value),J=k(()=>s.ariaLabel||r("el.slider.defaultLabel",{min:s.min,max:s.max})),Y=k(()=>s.range?s.rangeStartLabel||r("el.slider.defaultRangeStartLabel"):J.value),N=k(()=>s.formatValueText?s.formatValueText(ee.value):`${ee.value}`),L=k(()=>s.rangeEndLabel||r("el.slider.defaultRangeEndLabel")),V=k(()=>s.formatValueText?s.formatValueText(ae.value):`${ae.value}`),z=k(()=>[o.b(),o.m(B.value),o.is("vertical",s.vertical),{[o.m("with-input")]:s.showInput}]),G=jue(s);Kue(s,i,p,v,a,l);const Q=k(()=>{const pe=[s.min,s.max,s.step].map(he=>{const ce=`${he}`.split(".")[1];return ce?ce.length:0});return Math.max.apply(null,pe)}),{sliderWrapper:K}=Uue(s,i,b),{firstValue:ee,secondValue:ae,sliderSize:fe}=ps(i),ne=pe=>{i.dragging=pe};return Zt(K,"touchstart",w,{passive:!1}),Zt(K,"touchmove",w,{passive:!1}),Tt(cT,{...ps(s),sliderSize:fe,disabled:h,precision:Q,emitChange:_,resetSize:b,updateDragging:ne}),t({onSliderClick:C}),(pe,he)=>{var ce,Z;return S(),P("div",{id:pe.range?f($):void 0,ref_key:"sliderWrapper",ref:K,class:D(z.value),role:pe.range?"group":void 0,"aria-label":pe.range&&!f(O)?J.value:void 0,"aria-labelledby":pe.range&&f(O)?(ce=f(l))==null?void 0:ce.labelId:void 0},[A("div",{ref_key:"slider",ref:c,class:D([f(o).e("runway"),{"show-input":pe.showInput&&!pe.range},f(o).is("disabled",f(h))]),style:tt(f(m)),onMousedown:he[0]||(he[0]=(...H)=>f(x)&&f(x)(...H)),onTouchstartPassive:he[1]||(he[1]=(...H)=>f(x)&&f(x)(...H))},[A("div",{class:D(f(o).e("bar")),style:tt(f(g))},null,6),j(uT,{id:pe.range?void 0:f($),ref_key:"firstButton",ref:u,"model-value":f(ee),vertical:pe.vertical,"tooltip-class":pe.tooltipClass,placement:pe.placement,role:"slider","aria-label":pe.range||!f(O)?Y.value:void 0,"aria-labelledby":!pe.range&&f(O)?(Z=f(l))==null?void 0:Z.labelId:void 0,"aria-valuemin":pe.min,"aria-valuemax":pe.range?f(ae):pe.max,"aria-valuenow":f(ee),"aria-valuetext":N.value,"aria-orientation":pe.vertical?"vertical":"horizontal","aria-disabled":f(h),"onUpdate:modelValue":f(T)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),pe.range?(S(),le(uT,{key:0,ref_key:"secondButton",ref:d,"model-value":f(ae),vertical:pe.vertical,"tooltip-class":pe.tooltipClass,placement:pe.placement,role:"slider","aria-label":L.value,"aria-valuemin":f(ee),"aria-valuemax":pe.max,"aria-valuenow":f(ae),"aria-valuetext":V.value,"aria-orientation":pe.vertical?"vertical":"horizontal","aria-disabled":f(h),"onUpdate:modelValue":f(R)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):ie("v-if",!0),pe.showStops?(S(),P("div",Gue,[(S(!0),P(He,null,yt(f(I),(H,te)=>(S(),P("div",{key:te,class:D(f(o).e("stop")),style:tt(f(M)(H))},null,6))),128))])):ie("v-if",!0),f(G).length>0?(S(),P(He,{key:2},[A("div",null,[(S(!0),P(He,null,yt(f(G),(H,te)=>(S(),P("div",{key:te,style:tt(f(M)(H.position)),class:D([f(o).e("stop"),f(o).e("marks-stop")])},null,6))),128))]),A("div",{class:D(f(o).e("marks"))},[(S(!0),P(He,null,yt(f(G),(H,te)=>(S(),le(f(zue),{key:te,mark:H.mark,style:tt(f(M)(H.position)),onMousedown:lt(de=>f(E)(H.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):ie("v-if",!0)],38),pe.showInput&&!pe.range?(S(),le(f(NA),{key:0,ref:"input","model-value":f(ee),class:D(f(o).e("input")),step:pe.step,disabled:f(h),controls:pe.showInputControls,min:pe.min,max:pe.max,precision:Q.value,size:U.value,"onUpdate:modelValue":f(T),onChange:f(_)},null,8,["model-value","class","step","disabled","controls","min","max","precision","size","onUpdate:modelValue","onChange"])):ie("v-if",!0)],10,que)}}});const Xue=pt(Yue),Jue=Me({prefixCls:{type:String}}),dT=W({name:"ElSpaceItem",props:Jue,setup(e,{slots:t}){const n=Ee("space"),s=k(()=>`${e.prefixCls||n.b()}__item`);return()=>rt("div",{class:s.value},ue(t,"default"))}}),fT={small:8,default:12,large:16};function Zue(e){const t=Ee("space"),n=k(()=>[t.b(),t.m(e.direction),e.class]),s=F(0),a=F(0),o=k(()=>{const i=e.wrap||e.fill?{flexWrap:"wrap"}:{},l={alignItems:e.alignment},c={rowGap:`${a.value}px`,columnGap:`${s.value}px`};return[i,l,c,e.style]}),r=k(()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{});return Wa(()=>{const{size:i="small",wrap:l,direction:c,fill:u}=e;if(ke(i)){const[d=0,h=0]=i;s.value=d,a.value=h}else{let d;at(i)?d=i:d=fT[i||"small"]||fT.small,(l||u)&&c==="horizontal"?s.value=a.value=d:c==="horizontal"?(s.value=d,a.value=0):(a.value=d,s.value=0)}}),{classes:n,containerStyle:o,itemStyle:r}}const Que=Me({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:re([String,Object,Array]),default:""},style:{type:re([String,Array,Object]),default:""},alignment:{type:re(String),default:"center"},prefixCls:{type:String},spacer:{type:re([Object,String,Number,Array]),default:null,validator:e=>un(e)||at(e)||Xe(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:fr,validator:e=>at(e)||ke(e)&&e.length===2&&e.every(at)}}),ede=pt(W({name:"ElSpace",props:Que,setup(e,{slots:t}){const{classes:n,containerStyle:s,itemStyle:a}=Zue(e);function o(r,i="",l=[]){const{prefixCls:c}=e;return r.forEach((u,d)=>{Ky(u)?ke(u.children)&&u.children.forEach((h,p)=>{Ky(h)&&ke(h.children)?o(h.children,`${i+p}-`,l):un(h)&&(h==null?void 0:h.type)===Kn?l.push(h):l.push(j(dT,{style:a.value,prefixCls:c,key:`nested-${i+p}`},{default:()=>[h]},Do.PROPS|Do.STYLE,["style","prefixCls"]))}):uJ(u)&&l.push(j(dT,{style:a.value,prefixCls:c,key:`LoopKey${i+d}`},{default:()=>[u]},Do.PROPS|Do.STYLE,["style","prefixCls"]))}),l}return()=>{var r;const{spacer:i,direction:l}=e,c=ue(t,"default",{key:0},()=>[]);if(((r=c.children)!=null?r:[]).length===0)return null;if(ke(c.children)){let u=o(c.children);if(i){const d=u.length-1;u=u.reduce((h,p,v)=>{const m=[...h,p];return v!==d&&m.push(j("span",{style:[a.value,l==="vertical"?"width: 100%":null],key:v},[un(i)?i:Ue(i,Do.TEXT)],Do.STYLE)),m},[])}return j("div",{class:n.value,style:s.value},u,Do.STYLE|Do.CLASS)}return c.children}}})),tde=Me({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:re([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:re([String,Object,Array])}});var nde=W({name:"ElStatistic",__name:"statistic",props:tde,setup(e,{expose:t}){const n=e,s=Ee("statistic"),a=k(()=>{const{value:o,formatter:r,precision:i,decimalSeparator:l,groupSeparator:c}=n;if(et(r))return r(o);if(!at(o)||Number.isNaN(o))return o;let[u,d=""]=String(o).split(".");return d=d.padEnd(i,"0").slice(0,i>0?i:0),u=u.replace(/\B(?=(\d{3})+(?!\d))/g,c),[u,d].join(d?l:"")});return t({displayValue:a}),(o,r)=>(S(),P("div",{class:D(f(s).b())},[o.$slots.title||e.title?(S(),P("div",{key:0,class:D(f(s).e("head"))},[ue(o.$slots,"title",{},()=>[Ue(ve(e.title),1)])],2)):ie("v-if",!0),A("div",{class:D(f(s).e("content"))},[o.$slots.prefix||e.prefix?(S(),P("div",{key:0,class:D(f(s).e("prefix"))},[ue(o.$slots,"prefix",{},()=>[A("span",null,ve(e.prefix),1)])],2)):ie("v-if",!0),A("span",{class:D(f(s).e("number")),style:tt(e.valueStyle)},ve(a.value),7),o.$slots.suffix||e.suffix?(S(),P("div",{key:1,class:D(f(s).e("suffix"))},[ue(o.$slots,"suffix",{},()=>[A("span",null,ve(e.suffix),1)])],2)):ie("v-if",!0)],2)],2))}});const hT=pt(nde),sde=Me({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:re([Number,Object]),default:0},valueStyle:{type:re([String,Object,Array])}}),ade={finish:()=>!0,[Pt]:e=>at(e)},ode=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],pT=e=>at(e)?new Date(e).getTime():e.valueOf(),vT=(e,t)=>{let n=e;const s=/\[([^\]]*)]/g;return ode.reduce((o,[r,i])=>{const l=new RegExp(`${r}+(?![^\\[\\]]*\\])`,"g");if(l.test(o)){const c=Math.floor(n/i);return n-=c*i,o.replace(l,u=>String(c).padStart(u.length,"0"))}return o},t).replace(s,"$1")};var rde=W({name:"ElCountdown",__name:"countdown",props:sde,emits:ade,setup(e,{expose:t,emit:n}){const s=e,a=n;let o;const r=F(0),i=k(()=>vT(r.value,s.format)),l=d=>vT(d,s.format),c=()=>{o&&(qi(o),o=void 0)},u=()=>{const d=pT(s.value),h=()=>{let p=d-Date.now();a(Pt,p),p<=0?(p=0,c(),a("finish")):o=Jr(h),r.value=p};o=Jr(h)};return St(()=>{r.value=pT(s.value)-Date.now(),me(()=>[s.value,s.format],()=>{c(),u()},{immediate:!0})}),Gt(()=>{c()}),t({displayValue:i}),(d,h)=>(S(),le(f(hT),{value:r.value,title:e.title,prefix:e.prefix,suffix:e.suffix,"value-style":e.valueStyle,formatter:l},ka({_:2},[yt(d.$slots,(p,v)=>({name:v,fn:X(()=>[ue(d.$slots,v)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});const ide=pt(rde),lde=Me({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),cde={[Pt]:(e,t)=>[e,t].every(at)},mT="ElSteps";var ude=W({name:"ElSteps",__name:"steps",props:lde,emits:cde,setup(e,{emit:t}){const n=e,s=t,a=Ee("steps"),{children:o,addChild:r,removeChild:i,ChildrenSorter:l}=Wg(_t(),"ElStep");return me(o,()=>{o.value.forEach((c,u)=>{c.setIndex(u)})}),Tt(mT,{props:n,steps:o,addStep:r,removeStep:i}),me(()=>n.active,(c,u)=>{s(Pt,c,u)}),(c,u)=>(S(),P("div",{class:D([f(a).b(),f(a).m(e.simple?"simple":e.direction)])},[ue(c.$slots,"default"),j(f(l))],2))}});const dde=Me({title:{type:String,default:""},icon:{type:en},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}});var gT=W({name:"ElStep",__name:"item",props:dde,setup(e){const t=e,n=Ee("step"),s=F(-1),a=F({}),o=F(""),r=je(mT),i=_t();let l=0,c=0;St(()=>{me([()=>r.props.active,()=>r.props.processStatus,()=>r.props.finishStatus],([R],[I])=>{c=I||0,l=R-c,E(R)},{immediate:!0})});const u=k(()=>t.status||o.value),d=k(()=>{const R=r.steps.value[s.value-1];return R?R.internalStatus.value:"wait"}),h=k(()=>r.props.alignCenter),p=k(()=>r.props.direction==="vertical"),v=k(()=>r.props.simple),m=k(()=>r.steps.value.length),g=k(()=>{var R;return((R=r.steps.value[m.value-1])==null?void 0:R.uid)===i.uid}),b=k(()=>v.value?"":r.props.space),_=k(()=>[n.b(),n.is(v.value?"simple":r.props.direction),n.is("flex",g.value&&!b.value&&!h.value),n.is("center",h.value&&!p.value&&!v.value)]),w=k(()=>{const R={flexBasis:at(b.value)?`${b.value}px`:b.value?b.value:`${100/(m.value-(h.value?0:1))}%`};return p.value||g.value&&(R.maxWidth=`${100/m.value}%`),R}),C=R=>{s.value=R},x=R=>{const I=R==="wait",$={transitionDelay:`${Math.abs(l)===1?0:l>0?(s.value+1-c)*150:-(s.value+1-r.props.active)*150}ms`},O=R===r.props.processStatus||I?0:100;$.borderWidth=O&&!v.value?"1px":0,$[r.props.direction==="vertical"?"height":"width"]=`${O}%`,a.value=$},E=R=>{R>s.value?o.value=r.props.finishStatus:R===s.value&&d.value!=="error"?o.value=r.props.processStatus:o.value="wait";const I=r.steps.value[s.value-1];I&&I.calcProgress(o.value)},T={uid:i.uid,getVnode:()=>i.vnode,currentStatus:u,internalStatus:o,setIndex:C,calcProgress:x};return r.addStep(T),Gt(()=>{r.removeStep(T)}),(R,I)=>(S(),P("div",{style:tt(w.value),class:D(_.value)},[ie(" icon & line "),A("div",{class:D([f(n).e("head"),f(n).is(u.value)])},[v.value?ie("v-if",!0):(S(),P("div",{key:0,class:D(f(n).e("line"))},[A("i",{class:D(f(n).e("line-inner")),style:tt(a.value)},null,6)],2)),A("div",{class:D([f(n).e("icon"),f(n).is(e.icon||R.$slots.icon?"icon":"text")])},[ue(R.$slots,"icon",{},()=>[e.icon?(S(),le(f(Je),{key:0,class:D(f(n).e("icon-inner"))},{default:X(()=>[(S(),le(bt(e.icon)))]),_:1},8,["class"])):u.value==="success"?(S(),le(f(Je),{key:1,class:D([f(n).e("icon-inner"),f(n).is("status")])},{default:X(()=>[j(f(Mf))]),_:1},8,["class"])):u.value==="error"?(S(),le(f(Je),{key:2,class:D([f(n).e("icon-inner"),f(n).is("status")])},{default:X(()=>[j(f(Ua))]),_:1},8,["class"])):v.value?ie("v-if",!0):(S(),P("div",{key:3,class:D(f(n).e("icon-inner"))},ve(s.value+1),3))])],2)],2),ie(" title & description "),A("div",{class:D(f(n).e("main"))},[A("div",{class:D([f(n).e("title"),f(n).is(u.value)])},[ue(R.$slots,"title",{},()=>[Ue(ve(e.title),1)])],2),v.value?(S(),P("div",{key:0,class:D(f(n).e("arrow"))},null,2)):(S(),P("div",{key:1,class:D([f(n).e("description"),f(n).is(u.value)])},[ue(R.$slots,"description",{},()=>[Ue(ve(e.description),1)])],2))],2)],6))}});const fde=pt(ude,{Step:gT}),hde=An(gT),bT=e=>["",...fr].includes(e),pde=Me({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:void 0},loading:Boolean,size:{type:String,validator:bT},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:en},activeActionIcon:{type:en},activeIcon:{type:en},inactiveIcon:{type:en},activeText:{type:String,default:""},inactiveText:{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},beforeChange:{type:re(Function)},id:String,tabindex:{type:[String,Number]},...ia(["ariaLabel"])}),vde={[ct]:e=>Qt(e)||Xe(e)||at(e),[Pt]:e=>Qt(e)||Xe(e)||at(e),[es]:e=>Qt(e)||Xe(e)||at(e)},mde=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex"],gde=["aria-hidden"],bde={key:1},yde={key:1},wde=["aria-hidden"],yT="ElSwitch";var _de=W({name:yT,__name:"switch",props:pde,emits:vde,setup(e,{expose:t,emit:n}){const s=e,a=n,{formItem:o}=Cs(),r=ts(),i=Ee("switch"),{inputId:l}=uo(s,{formItemContext:o}),c=In(k(()=>{if(s.loading)return!0})),u=F(s.modelValue!==!1),d=hn(),h=k(()=>[i.b(),i.m(r.value),i.is("disabled",c.value),i.is("checked",b.value)]),p=k(()=>[i.e("label"),i.em("label","left"),i.is("active",!b.value)]),v=k(()=>[i.e("label"),i.em("label","right"),i.is("active",b.value)]),m=k(()=>({width:Pn(s.width)}));me(()=>s.modelValue,()=>{u.value=!0});const g=k(()=>u.value?s.modelValue:!1),b=k(()=>g.value===s.activeValue);[s.activeValue,s.inactiveValue].includes(g.value)||(a(ct,s.inactiveValue),a(Pt,s.inactiveValue),a(es,s.inactiveValue)),me(b,x=>{var E;d.value.checked=x,s.validateEvent&&((E=o==null?void 0:o.validate)==null||E.call(o,"change").catch(T=>void 0))});const _=()=>{const x=b.value?s.inactiveValue:s.activeValue;a(ct,x),a(Pt,x),a(es,x),ze(()=>{d.value.checked=b.value})},w=()=>{if(c.value)return;const{beforeChange:x}=s;if(!x){_();return}const E=x();[tu(E),Qt(E)].includes(!0)||Xn(yT,"beforeChange must return type `Promise` or `boolean`"),tu(E)?E.then(R=>{R&&_()}).catch(R=>{}):E&&_()},C=()=>{var x,E;(E=(x=d.value)==null?void 0:x.focus)==null||E.call(x)};return St(()=>{d.value.checked=b.value}),t({focus:C,checked:b}),(x,E)=>(S(),P("div",{class:D(h.value),onClick:lt(w,["prevent"])},[A("input",{id:f(l),ref_key:"input",ref:d,class:D(f(i).e("input")),type:"checkbox",role:"switch","aria-checked":b.value,"aria-disabled":f(c),"aria-label":e.ariaLabel,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:f(c),tabindex:e.tabindex,onChange:_,onKeydown:Nn(w,["enter"])},null,42,mde),!e.inlinePrompt&&(e.inactiveIcon||e.inactiveText||x.$slots.inactive)?(S(),P("span",{key:0,class:D(p.value)},[ue(x.$slots,"inactive",{},()=>[e.inactiveIcon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.inactiveIcon)))]),_:1})):ie("v-if",!0),!e.inactiveIcon&&e.inactiveText?(S(),P("span",{key:1,"aria-hidden":b.value},ve(e.inactiveText),9,gde)):ie("v-if",!0)])],2)):ie("v-if",!0),A("span",{class:D(f(i).e("core")),style:tt(m.value)},[e.inlinePrompt?(S(),P("div",{key:0,class:D(f(i).e("inner"))},[b.value?(S(),P("div",{key:1,class:D(f(i).e("inner-wrapper"))},[ue(x.$slots,"active",{},()=>[e.activeIcon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.activeIcon)))]),_:1})):ie("v-if",!0),!e.activeIcon&&e.activeText?(S(),P("span",yde,ve(e.activeText),1)):ie("v-if",!0)])],2)):(S(),P("div",{key:0,class:D(f(i).e("inner-wrapper"))},[ue(x.$slots,"inactive",{},()=>[e.inactiveIcon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.inactiveIcon)))]),_:1})):ie("v-if",!0),!e.inactiveIcon&&e.inactiveText?(S(),P("span",bde,ve(e.inactiveText),1)):ie("v-if",!0)])],2))],2)):ie("v-if",!0),A("div",{class:D(f(i).e("action"))},[e.loading?(S(),le(f(Je),{key:0,class:D(f(i).is("loading"))},{default:X(()=>[j(f(Ns))]),_:1},8,["class"])):b.value?ue(x.$slots,"active-action",{key:1},()=>[e.activeActionIcon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.activeActionIcon)))]),_:1})):ie("v-if",!0)]):b.value?ie("v-if",!0):ue(x.$slots,"inactive-action",{key:2},()=>[e.inactiveActionIcon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.inactiveActionIcon)))]),_:1})):ie("v-if",!0)])],2)],6),!e.inlinePrompt&&(e.activeIcon||e.activeText||x.$slots.active)?(S(),P("span",{key:1,class:D(v.value)},[ue(x.$slots,"active",{},()=>[e.activeIcon?(S(),le(f(Je),{key:0},{default:X(()=>[(S(),le(bt(e.activeIcon)))]),_:1})):ie("v-if",!0),!e.activeIcon&&e.activeText?(S(),P("span",{key:1,"aria-hidden":!b.value},ve(e.activeText),9,wde)):ie("v-if",!0)])],2)):ie("v-if",!0)],2))}});const Cde=pt(_de),E6=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},Sde=function(e,t,n,s,a){if(!t&&!s&&(!a||ke(a)&&!a.length))return e;Xe(n)?n=n==="descending"?-1:1:n=n&&n<0?-1:1;const o=s?null:function(i,l){return a?hx(_s(a),c=>Xe(c)?Yn(i,c):c(i,l,e)):(t!=="$key"&&ht(i)&&"$value"in i&&(i=i.$value),[ht(i)?t?Yn(i,t):null:i])},r=function(i,l){var c,u,d,h,p,v;if(s)return s(i.value,l.value);for(let m=0,g=(u=(c=i.key)==null?void 0:c.length)!=null?u:0;m((v=l.key)==null?void 0:v[m]))return 1}return 0};return e.map((i,l)=>({value:i,index:l,key:o?o(i,l):null})).sort((i,l)=>{let c=r(i,l);return c||(c=i.index-l.index),c*+n}).map(i=>i.value)},wT=function(e,t){let n=null;return e.columns.forEach(s=>{s.id===t&&(n=s)}),n},xde=function(e,t){let n=null;for(let s=0;s{if(!e)throw new Error("Row is required when get row identity");if(Xe(t)){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let s=e;for(const a of n)s=s[a];return`${s}`}else if(et(t))return t.call(null,e);return""},Jf=function(e,t,n=!1,s="children"){const a=e||[],o={};return a.forEach((r,i)=>{if(o[Us(r,t)]={row:r,index:i},n){const l=r[s];ke(l)&&Object.assign(o,Jf(l,t,!0,s))}}),o};function Ede(e,t){const n={};let s;for(s in e)n[s]=e[s];for(s in t)if(Ht(t,s)){const a=t[s];$t(a)||(n[s]=a)}return n}function k6(e){return e===""||$t(e)||(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function CT(e){return e===""||$t(e)||(e=k6(e),Number.isNaN(e)&&(e=80)),e}function kde(e){return at(e)?e:Xe(e)?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function Ade(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...s)=>t(n(...s)))}function m1(e,t,n,s,a,o,r){let i=o??0,l=!1;const u=(()=>{if(!r)return e.indexOf(t);const m=Us(t,r);return e.findIndex(g=>Us(g,r)===m)})(),d=u!==-1,h=a==null?void 0:a.call(null,t,i),p=m=>{m==="add"?e.push(t):e.splice(u,1),l=!0},v=m=>{let g=0;const b=(s==null?void 0:s.children)&&m[s.children];return b&&ke(b)&&(g+=b.length,b.forEach(_=>{g+=v(_)})),g};return(!a||h)&&(Qt(n)?n&&!d?p("add"):!n&&d&&p("remove"):p(d?"remove":"add")),!(s!=null&&s.checkStrictly)&&(s!=null&&s.children)&&ke(t[s.children])&&t[s.children].forEach(m=>{const g=m1(e,m,n??!d,s,a,i+1,r);i+=v(m)+1,g&&(l=g)}),l}function Tde(e,t,n="children",s="hasChildren",a=!1){const o=i=>!(ke(i)&&i.length);function r(i,l,c){t(i,l,c),l.forEach(u=>{if(u[s]&&a){t(u,null,c+1);return}const d=u[n];o(d)||r(u,d,c+1)})}e.forEach(i=>{if(i[s]&&a){t(i,null,0);return}const l=i[n];o(l)||r(i,l,0)})}const Mde=(e,t,n,s)=>{const a={strategy:"fixed",...e.popperOptions},o=et(s==null?void 0:s.tooltipFormatter)?s.tooltipFormatter({row:n,column:s,cellValue:kf(n,s.property).value}):void 0;return un(o)?{slotContent:o,content:null,...e,popperOptions:a}:{slotContent:null,content:o??t,...e,popperOptions:a}};let da=null;function Pde(e,t,n,s,a,o){var r;const i=Mde(e,t,n,s),l={...i,slotContent:void 0};if((da==null?void 0:da.trigger)===a){const v=(r=da.vm)==null?void 0:r.component;px(v==null?void 0:v.props,l),v&&i.slotContent&&(v.slots.content=()=>[i.slotContent]);return}da==null||da();const c=o==null?void 0:o.refs.tableWrapper,u=c==null?void 0:c.dataset.prefix,d=j(Ss,{virtualTriggering:!0,virtualRef:a,appendTo:c,placement:"top",transition:"none",offset:0,hideAfter:0,...l},i.slotContent?{content:()=>i.slotContent}:void 0);d.appContext={...o.appContext,...o};const h=document.createElement("div");Zl(d,h),d.component.exposed.onOpen();const p=c==null?void 0:c.querySelector(`.${u}-scrollbar__wrap`);da=()=>{var v,m;(m=(v=d.component)==null?void 0:v.exposed)!=null&&m.onClose&&d.component.exposed.onClose(),Zl(null,h);const g=da;p==null||p.removeEventListener("scroll",g),g.trigger=void 0,g.vm=void 0,da=null},da.trigger=a??void 0,da.vm=d,p==null||p.addEventListener("scroll",da)}function ST(e){return e.children?hx(e.children,ST):[e]}function xT(e,t){return e+t.colSpan}const ET=(e,t,n,s)=>{let a=0,o=e;const r=n.states.columns.value;if(s){const l=ST(s[e]);a=r.slice(0,r.indexOf(l[0])).reduce(xT,0),o=a+l.reduce(xT,0)-1}else a=e;let i;switch(t){case"left":o=r.length-n.states.rightFixedLeafColumnsLength.value&&(i="right");break;default:o=r.length-n.states.rightFixedLeafColumnsLength.value&&(i="right")}return i?{direction:i,start:a,after:o}:{}},A6=(e,t,n,s,a,o=0)=>{const r=[],{direction:i,start:l,after:c}=ET(t,n,s,a);if(i){const u=i==="left";r.push(`${e}-fixed-column--${i}`),u&&c+o===s.states.fixedLeafColumnsLength.value-1?r.push("is-last-column"):!u&&l-o===s.states.columns.value.length-s.states.rightFixedLeafColumnsLength.value&&r.push("is-first-column")}return r};function kT(e,t){return e+(hg(t.realWidth)||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const T6=(e,t,n,s)=>{const{direction:a,start:o=0,after:r=0}=ET(e,t,n,s);if(!a)return;const i={},l=a==="left",c=n.states.columns.value;return l?i.left=c.slice(0,o).reduce(kT,0):i.right=c.slice(r+1).reverse().reduce(kT,0),i},Zf=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function AT(e){return e.some(t=>un(t)?!(t.type===Kn||t.type===He&&!AT(t.children)):!0)?e:null}function Rde(e){const t=_t(),n=F(!1),s=F([]),a=(c,u)=>{var d;const h=t.store.states.rowExpandable.value;return(d=h==null?void 0:h(c,u))!=null?d:!0};return{updateExpandRows:()=>{const c=e.data.value||[],u=e.rowKey.value;if(n.value)s.value=t.store.states.rowExpandable.value?c.filter(a):c.slice();else if(u){const d=Jf(s.value,u);s.value=c.filter((h,p)=>{const v=Us(h,u);return!!d[v]&&a(h,p)})}else s.value=[]},toggleRowExpansion:(c,u)=>{const h=(e.data.value||[]).indexOf(c);if(h>-1&&!a(c,h))return;m1(s.value,c,u,void 0,void 0,void 0,e.rowKey.value)&&t.emit("expand-change",c,s.value.slice())},setExpandRowKeys:c=>{t.store.assertRowKey();const u=e.data.value||[],d=e.rowKey.value,h=Jf(u,d);s.value=c.reduce((p,v)=>{const m=h[v];return m&&a(m.row,m.index)&&p.push(m.row),p},[])},isRowExpanded:c=>{const u=e.rowKey.value;return u?!!Jf(s.value,u)[Us(c,u)]:s.value.includes(c)},states:{expandRows:s,defaultExpandAll:n}}}function Ide(e){const t=_t(),n=F(null),s=F(null),a=c=>{t.store.assertRowKey(),n.value=c,r(c)},o=()=>{n.value=null},r=c=>{var u;const{data:d,rowKey:h}=e,p=s.value;let v=null;h.value&&(v=(u=(f(d)||[]).find(m=>Us(m,h.value)===c))!=null?u:null),s.value=v??null,t.emit("current-change",s.value,p)};return{setCurrentRowKey:a,restoreCurrentRowKey:o,setCurrentRowByKey:r,updateCurrentRow:c=>{const u=s.value;if(c&&c!==u){s.value=c,t.emit("current-change",s.value,u);return}!c&&u&&(s.value=null,t.emit("current-change",null,u))},updateCurrentRowData:()=>{const c=e.rowKey.value,u=e.data.value||[],d=s.value;if(d&&!u.includes(d))if(c){const h=Us(d,c);r(h)}else s.value=null,t.emit("current-change",null,d);else n.value&&(r(n.value),o())},states:{_currentRowKey:n,currentRow:s}}}function Ode(e){const t=F([]),n=F({}),s=F(16),a=F(!1),o=F({}),r=F("hasChildren"),i=F("children"),l=F(!1),c=_t(),u=k(()=>{if(!e.rowKey.value)return{};const C=e.data.value||[];return h(C)}),d=k(()=>{const C=e.rowKey.value,x=Object.keys(o.value),E={};return x.length&&x.forEach(T=>{if(o.value[T].length){const R={children:[]};o.value[T].forEach(I=>{const M=Us(I,C);R.children.push(M),I[r.value]&&!E[M]&&(E[M]={children:[]})}),E[T]=R}}),E}),h=C=>{const x=e.rowKey.value,E={};return Tde(C,(T,R,I)=>{const M=Us(T,x);ke(R)?E[M]={children:R.map($=>Us($,x)),level:I}:a.value&&(E[M]={children:[],lazy:!0,level:I})},i.value,r.value,a.value),E},p=(C=!1,x)=>{var E,T;x||(x=(E=c.store)==null?void 0:E.states.defaultExpandAll.value);const R=u.value,I=d.value,M=Object.keys(R),$={};if(M.length){const O=f(n),B=[],U=(Y,N)=>{if(C)return t.value?x||t.value.includes(N):!!(x||Y!=null&&Y.expanded);{const L=x||t.value&&t.value.includes(N);return!!(Y!=null&&Y.expanded||L)}};M.forEach(Y=>{const N=O[Y],L={...R[Y]};if(L.expanded=U(N,Y),L.lazy){const{loaded:V=!1,loading:z=!1}=N||{};L.loaded=!!V,L.loading=!!z,B.push(Y)}$[Y]=L});const J=Object.keys(I);a.value&&J.length&&B.length&&J.forEach(Y=>{var N;const L=O[Y],V=I[Y].children;if(B.includes(Y)){if(((N=$[Y].children)==null?void 0:N.length)!==0)throw new Error("[ElTable]children must be an empty array.");$[Y].children=V}else{const{loaded:z=!1,loading:G=!1}=L||{};$[Y]={lazy:!0,loaded:!!z,loading:!!G,expanded:U(L,Y),children:V,level:void 0}}})}n.value=$,(T=c.store)==null||T.updateTableScrollY()};me(()=>t.value,()=>{p(!0)}),me(()=>u.value,()=>{p()}),me(()=>d.value,()=>{p()});const v=C=>{t.value=C,p()},m=C=>a.value&&C&&"loaded"in C&&!C.loaded,g=(C,x)=>{c.store.assertRowKey();const E=e.rowKey.value,T=Us(C,E),R=T&&n.value[T];if(T&&R&&"expanded"in R){const I=R.expanded;x=$t(x)?!R.expanded:x,n.value[T].expanded=x,I!==x&&c.emit("expand-change",C,x),x&&m(R)&&_(C,T,R),c.store.updateTableScrollY()}},b=C=>{c.store.assertRowKey();const x=e.rowKey.value,E=Us(C,x),T=n.value[E];m(T)?_(C,E,T):g(C,void 0)},_=(C,x,E)=>{const{load:T}=c.props;T&&!n.value[x].loaded&&(n.value[x].loading=!0,T(C,E,R=>{if(!ke(R))throw new TypeError("[ElTable] data must be an array");n.value[x].loading=!1,n.value[x].loaded=!0,n.value[x].expanded=!0,R.length&&(o.value[x]=R),c.emit("expand-change",C,!0)}))};return{loadData:_,loadOrToggle:b,toggleTreeExpansion:g,updateTreeExpandKeys:v,updateTreeData:p,updateKeyChildren:(C,x)=>{const{lazy:E,rowKey:T}=c.props;if(E){if(!T)throw new Error("[Table] rowKey is required in updateKeyChild");o.value[C]&&(o.value[C]=x)}},normalize:h,states:{expandRowKeys:t,treeData:n,indent:s,lazy:a,lazyTreeNodeMap:o,lazyColumnIdentifier:r,childrenColumnName:i,checkStrictly:l}}}const Lde=(e,t)=>{const n=t.sortingColumn;return!n||Xe(n.sortable)?e:Sde(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},g1=e=>{const t=[];return e.forEach(n=>{n.children&&n.children.length>0?t.push.apply(t,g1(n.children)):t.push(n)}),t};function Nde(){var e;const t=_t(),{size:n}=ps((e=t.proxy)==null?void 0:e.$props),s=F(null),a=F([]),o=F([]),r=F(!1),i=F([]),l=F([]),c=F([]),u=F([]),d=F([]),h=F([]),p=F([]),v=F([]),m=[],g=F(0),b=F(0),_=F(0),w=F(!1),C=F([]),x=F(!1),E=F(!1),T=F(null),R=F(null),I=F({}),M=F(null),$=F(null),O=F(null),B=F(null),U=F(null),J=k(()=>s.value?Jf(C.value,s.value):void 0);me(a,()=>{var ot;t.state&&(V(!1),t.props.tableLayout==="auto"&&((ot=t.refs.tableHeaderRef)==null||ot.updateFixedColumnStyle()))},{deep:!0});const Y=()=>{if(!s.value)throw new Error("[ElTable] prop row-key is required")},N=ot=>{var dt;(dt=ot.children)==null||dt.forEach(kt=>{kt.fixed=ot.fixed,N(kt)})},L=()=>{i.value.forEach(Ye=>{N(Ye)}),u.value=i.value.filter(Ye=>[!0,"left"].includes(Ye.fixed));const ot=i.value.find(Ye=>Ye.type==="selection");let dt;ot&&ot.fixed!=="right"&&!u.value.includes(ot)&&i.value.indexOf(ot)===0&&u.value.length&&(u.value.unshift(ot),dt=!0),d.value=i.value.filter(Ye=>Ye.fixed==="right");const kt=i.value.filter(Ye=>(dt?Ye.type!=="selection":!0)&&!Ye.fixed);l.value=Array.from(u.value).concat(kt).concat(d.value);const xe=g1(kt),qe=g1(u.value),we=g1(d.value);g.value=xe.length,b.value=qe.length,_.value=we.length,c.value=Array.from(qe).concat(xe).concat(we),r.value=u.value.length>0||d.value.length>0},V=(ot,dt=!1)=>{ot&&L(),dt?t.state.doLayout():t.state.debouncedUpdateLayout()},z=ot=>J.value?!!J.value[Us(ot,s.value)]:C.value.includes(ot),G=()=>{w.value=!1;const ot=C.value;C.value=[],ot.length&&t.emit("selection-change",[])},Q=()=>{var ot,dt;let kt;if(s.value){kt=[];const xe=(dt=(ot=t==null?void 0:t.store)==null?void 0:ot.states)==null?void 0:dt.childrenColumnName.value,qe=Jf(a.value,s.value,!0,xe);for(const we in J.value)Ht(J.value,we)&&!qe[we]&&kt.push(J.value[we].row)}else kt=C.value.filter(xe=>!a.value.includes(xe));if(kt.length){const xe=C.value.filter(qe=>!kt.includes(qe));C.value=xe,t.emit("selection-change",xe.slice())}},K=()=>(C.value||[]).slice(),ee=(ot,dt,kt=!0,xe=!1)=>{var qe,we,Ye,Ct;const Xt={children:(we=(qe=t==null?void 0:t.store)==null?void 0:qe.states)==null?void 0:we.childrenColumnName.value,checkStrictly:(Ct=(Ye=t==null?void 0:t.store)==null?void 0:Ye.states)==null?void 0:Ct.checkStrictly.value};if(m1(C.value,ot,dt,Xt,xe?void 0:T.value,a.value.indexOf(ot),s.value)){const Sn=(C.value||[]).slice();kt&&t.emit("select",Sn,ot),t.emit("selection-change",Sn)}},ae=()=>{var ot,dt;const kt=E.value?!w.value:!(w.value||C.value.length);w.value=kt;let xe=!1,qe=0;const we=(dt=(ot=t==null?void 0:t.store)==null?void 0:ot.states)==null?void 0:dt.rowKey.value,{childrenColumnName:Ye}=t.store.states,Ct={children:Ye.value,checkStrictly:!1};a.value.forEach((Xt,wn)=>{const Sn=wn+qe;m1(C.value,Xt,kt,Ct,T.value,Sn,we)&&(xe=!0),qe+=ne(Us(Xt,we))}),xe&&t.emit("selection-change",C.value?C.value.slice():[]),t.emit("select-all",(C.value||[]).slice())},fe=()=>{var ot;if(((ot=a.value)==null?void 0:ot.length)===0){w.value=!1;return}const{childrenColumnName:dt}=t.store.states;let kt=0,xe=0;const qe=Ye=>{var Ct;for(const Xt of Ye){const wn=T.value&&T.value.call(null,Xt,kt);if(z(Xt))xe++;else if(!T.value||wn)return!1;if(kt++,(Ct=Xt[dt.value])!=null&&Ct.length&&!qe(Xt[dt.value]))return!1}return!0},we=qe(a.value||[]);w.value=xe===0?!1:we},ne=ot=>{var dt;if(!t||!t.store)return 0;const{treeData:kt}=t.store.states;let xe=0;const qe=(dt=kt.value[ot])==null?void 0:dt.children;return qe&&(xe+=qe.length,qe.forEach(we=>{xe+=ne(we)})),xe},pe=(ot,dt)=>{const kt={};return _s(ot).forEach(xe=>{I.value[xe.id]=dt,kt[xe.columnKey||xe.id]=dt}),kt},he=(ot,dt,kt)=>{$.value&&$.value!==ot&&($.value.order=null),$.value=ot,O.value=dt,B.value=kt},ce=()=>{let ot=f(o);Object.keys(I.value).forEach(dt=>{const kt=I.value[dt];if(!kt||kt.length===0)return;const xe=wT({columns:c.value},dt);xe&&xe.filterMethod&&(ot=ot.filter(qe=>kt.some(we=>xe.filterMethod.call(null,we,qe,xe))))}),M.value=ot},Z=()=>{var ot;a.value=Lde((ot=M.value)!=null?ot:[],{sortingColumn:$.value,sortProp:O.value,sortOrder:B.value})},H=(ot=void 0)=>{ot!=null&&ot.filter||ce(),Z()},te=ot=>{const{tableHeaderRef:dt}=t.refs;if(!dt)return;const kt=Object.assign({},dt.filterPanels),xe=Object.keys(kt);if(xe.length)if(Xe(ot)&&(ot=[ot]),ke(ot)){const qe=ot.map(we=>xde({columns:c.value},we));xe.forEach(we=>{const Ye=qe.find(Ct=>Ct.id===we);Ye&&(Ye.filteredValue=[])}),t.store.commit("filterChange",{column:qe,values:[],silent:!0,multi:!0})}else xe.forEach(qe=>{const we=c.value.find(Ye=>Ye.id===qe);we&&(we.filteredValue=[])}),I.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},de=()=>{$.value&&(he(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:be,toggleRowExpansion:Ce,updateExpandRows:Se,states:Ne,isRowExpanded:Ve}=Rde({data:a,rowKey:s}),{updateTreeExpandKeys:$e,toggleTreeExpansion:_e,updateTreeData:Oe,updateKeyChildren:Pe,loadOrToggle:We,states:Qe}=Ode({data:a,rowKey:s}),{updateCurrentRowData:it,updateCurrentRow:De,setCurrentRowKey:Ke,states:nt}=Ide({data:a,rowKey:s});return{assertRowKey:Y,updateColumns:L,scheduleLayout:V,isSelected:z,clearSelection:G,cleanSelection:Q,getSelectionRows:K,toggleRowSelection:ee,_toggleAllSelection:ae,toggleAllSelection:null,updateAllSelected:fe,updateFilters:pe,updateCurrentRow:De,updateSort:he,execFilter:ce,execSort:Z,execQuery:H,clearFilter:te,clearSort:de,toggleRowExpansion:Ce,setExpandRowKeysAdapter:ot=>{be(ot),$e(ot)},setCurrentRowKey:Ke,toggleRowExpansionAdapter:(ot,dt)=>{c.value.some(({type:xe})=>xe==="expand")?Ce(ot,dt):_e(ot,dt)},isRowExpanded:Ve,updateExpandRows:Se,updateCurrentRowData:it,loadOrToggle:We,updateTreeData:Oe,updateKeyChildren:Pe,states:{tableSize:n,rowKey:s,data:a,_data:o,isComplex:r,_columns:i,originColumns:l,columns:c,fixedColumns:u,rightFixedColumns:d,leafColumns:h,fixedLeafColumns:p,rightFixedLeafColumns:v,updateOrderFns:m,leafColumnsLength:g,fixedLeafColumnsLength:b,rightFixedLeafColumnsLength:_,isAllSelected:w,selection:C,reserveSelection:x,selectOnIndeterminate:E,selectable:T,rowExpandable:R,filters:I,filteredData:M,sortingColumn:$,sortProp:O,sortOrder:B,hoverRow:U,...Ne,...Qe,...nt}}}function M6(e,t){return e.map(n=>{var s;return n.id===t.id?t:((s=n.children)!=null&&s.length&&(n.children=M6(n.children,t)),n)})}function P6(e){e.forEach(t=>{var n,s;t.no=(n=t.getColumnIndex)==null?void 0:n.call(t),(s=t.children)!=null&&s.length&&P6(t.children)}),e.sort((t,n)=>t.no-n.no)}function $de(){const e=_t(),t=Nde(),n=Ee("table"),{t:s}=It();return{ns:n,t:s,...t,mutations:{setData(i,l){const c=f(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),f(i.reserveSelection)?e.store.assertRowKey():c?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(i,l,c,u){var d;const h=f(i._columns);let p=[];c?(c&&!c.children&&(c.children=[]),(d=c.children)==null||d.push(l),p=M6(h,c)):(h.push(l),p=h),P6(p),i._columns.value=p,i.updateOrderFns.push(u),l.type==="selection"&&(i.selectable.value=l.selectable,i.reserveSelection.value=l.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(i,l){var c;((c=l.getColumnIndex)==null?void 0:c.call(l))!==l.no&&(P6(i._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(i,l,c,u){var d;const h=f(i._columns)||[];if(c)(d=c.children)==null||d.splice(c.children.findIndex(v=>v.id===l.id),1),ze(()=>{var v;((v=c.children)==null?void 0:v.length)===0&&delete c.children}),i._columns.value=M6(h,c);else{const v=h.indexOf(l);v>-1&&(h.splice(v,1),i._columns.value=h)}const p=i.updateOrderFns.indexOf(u);p>-1&&i.updateOrderFns.splice(p,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(i,l){const{prop:c,order:u,init:d}=l;if(c){const h=f(i.columns).find(p=>p.property===c);h&&(h.order=u,e.store.updateSort(h,c,u),e.store.commit("changeSortCondition",{init:d}))}},changeSortCondition(i,l){const{sortingColumn:c,sortProp:u,sortOrder:d}=i,h=f(c),p=f(u),v=f(d);hg(v)&&(i.sortingColumn.value=null,i.sortProp.value=null);const m={filter:!0};e.store.execQuery(m),(!l||!(l.silent||l.init))&&e.emit("sort-change",{column:h,prop:p,order:v}),e.store.updateTableScrollY()},filterChange(i,l){const{column:c,values:u,silent:d}=l,h=e.store.updateFilters(c,u);e.store.execQuery(),d||e.emit("filter-change",h),e.store.updateTableScrollY()},toggleAllSelection(){var i,l;(l=(i=e.store).toggleAllSelection)==null||l.call(i)},rowSelectedChanged(i,l){e.store.toggleRowSelection(l),e.store.updateAllSelected()},setHoverRow(i,l){i.hoverRow.value=l},setCurrentRow(i,l){e.store.updateCurrentRow(l)}},commit:function(i,...l){const c=e.store.mutations;if(c[i])c[i].apply(e,[e.store.states,...l]);else throw new Error(`Action not found: ${i}`)},updateTableScrollY:function(){ze(()=>e.layout.updateScrollY.apply(e.layout))}}}const R6={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",rowExpandable:"rowExpandable",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"},"treeProps.checkStrictly":{key:"checkStrictly",default:!1}};function Dde(e,t){if(!e)throw new Error("Table is required.");const n=$de();return n.toggleAllSelection=Xr(n._toggleAllSelection,10),Object.keys(R6).forEach(s=>{TT(MT(t,s),s,n)}),Fde(n,t),n}function Fde(e,t){Object.keys(R6).forEach(n=>{me(()=>MT(t,n),s=>{TT(s,n,e)})})}function TT(e,t,n){let s=e,a=R6[t];ht(a)&&(s=s||a.default,a=a.key),n.states[a].value=s}function MT(e,t){if(t.includes(".")){const n=t.split(".");let s=e;return n.forEach(a=>{s=s[a]}),s}else return e[t]}var Bde=Object.defineProperty,Vde=(e,t,n)=>t in e?Bde(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qs=(e,t,n)=>Vde(e,typeof t!="symbol"?t+"":t,n);class zde{constructor(t){qs(this,"observers"),qs(this,"table"),qs(this,"store"),qs(this,"columns"),qs(this,"fit"),qs(this,"showHeader"),qs(this,"height"),qs(this,"scrollX"),qs(this,"scrollY"),qs(this,"bodyWidth"),qs(this,"fixedWidth"),qs(this,"rightFixedWidth"),qs(this,"tableHeight"),qs(this,"headerHeight"),qs(this,"appendHeight"),qs(this,"footerHeight"),qs(this,"gutterWidth"),this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=F(null),this.scrollX=F(!1),this.scrollY=F(!1),this.bodyWidth=F(null),this.fixedWidth=F(null),this.rightFixedWidth=F(null),this.gutterWidth=0;for(const n in t)Ht(t,n)&&(pn(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(){const t=this.height.value;if(hg(t))return!1;const n=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(n!=null&&n.wrapRef)){let s=!0;const a=this.scrollY.value;return s=n.wrapRef.scrollHeight>n.wrapRef.clientHeight,this.scrollY.value=s,a!==s}return!1}setHeight(t,n="height"){if(!jt)return;const s=this.table.vnode.el;if(t=kde(t),this.height.value=Number(t),!s&&(t||t===0)){ze(()=>this.setHeight(t,n));return}s&&at(t)?(s.style[n]=`${t}px`,this.updateElsHeight()):s&&Xe(t)&&(s.style[n]=t,this.updateElsHeight())}setMaxHeight(t){this.setHeight(t,"max-height")}getFlattenColumns(){const t=[];return this.table.store.states.columns.value.forEach(s=>{s.isColumnGroup?t.push.apply(t,s.columns):t.push(s)}),t}updateElsHeight(){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(){var t;if(!jt)return;const n=this.fit,s=(t=this.table.vnode.el)==null?void 0:t.clientWidth;let a=0;const o=this.getFlattenColumns(),r=o.filter(c=>!at(c.width));if(o.forEach(c=>{at(c.width)&&c.realWidth&&(c.realWidth=null)}),r.length>0&&n){if(o.forEach(c=>{a+=Number(c.width||c.minWidth||80)}),a<=s){this.scrollX.value=!1;const c=s-a;if(r.length===1)r[0].realWidth=Number(r[0].minWidth||80)+c;else{const u=r.reduce((p,v)=>p+Number(v.minWidth||80),0),d=c/u;let h=0;r.forEach((p,v)=>{if(v===0)return;const m=Math.floor(Number(p.minWidth||80)*d);h+=m,p.realWidth=Number(p.minWidth||80)+m}),r[0].realWidth=Number(r[0].minWidth||80)+c-h}}else this.scrollX.value=!0,r.forEach(c=>{c.realWidth=Number(c.minWidth)});this.bodyWidth.value=Math.max(a,s),this.table.state.resizeState.value.width=this.bodyWidth.value}else o.forEach(c=>{!c.width&&!c.minWidth?c.realWidth=80:c.realWidth=Number(c.width||c.minWidth),a+=c.realWidth}),this.scrollX.value=a>s,this.bodyWidth.value=a;const i=this.store.states.fixedColumns.value;if(i.length>0){let c=0;i.forEach(u=>{c+=Number(u.realWidth||u.width)}),this.fixedWidth.value=c}const l=this.store.states.rightFixedColumns.value;if(l.length>0){let c=0;l.forEach(u=>{c+=Number(u.realWidth||u.width)}),this.rightFixedWidth.value=c}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(s=>{var a,o;switch(t){case"columns":(a=s.state)==null||a.onColumnsChange(this);break;case"scrollable":(o=s.state)==null||o.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${t}.`)}})}}var Hde=W({name:"ElTableFilterPanel",components:{ElCheckbox:mr,ElCheckboxGroup:T3,ElScrollbar:pr,ElTooltip:Ss,ElIcon:Je,ArrowDown:hr,ArrowUp:Sp},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:tn.appendTo},setup(e){const t=_t(),{t:n}=It(),s=Ee("table-filter"),a=t==null?void 0:t.parent;e.column&&!a.filterPanels.value[e.column.id]&&(a.filterPanels.value[e.column.id]=t);const o=F(null),r=F(null),i=F(0),l=k(()=>e.column&&e.column.filters),c=k(()=>e.column&&e.column.filterClassName?`${s.b()} ${e.column.filterClassName}`:s.b()),u=k({get:()=>{var T;return(((T=e.column)==null?void 0:T.filteredValue)||[])[0]},set:T=>{d.value&&(Ka(T)?d.value.splice(0,1):d.value.splice(0,1,T))}}),d=k({get(){return e.column?e.column.filteredValue||[]:[]},set(T){var R;e.column&&((R=e.upDataColumn)==null||R.call(e,"filteredValue",T))}}),h=k(()=>e.column?e.column.filterMultiple:!0),p=T=>T.value===u.value,v=()=>{var T;(T=o.value)==null||T.onClose()},m=()=>{_(d.value),v()},g=()=>{d.value=[],_(d.value),v()},b=(T,R)=>{u.value=T,i.value=R,Ka(T)?_([]):_(d.value),v()},_=T=>{var R,I;(R=e.store)==null||R.commit("filterChange",{column:e.column,values:T}),(I=e.store)==null||I.updateAllSelected()},w=()=>{var T,R;(T=r.value)==null||T.focus(),!h.value&&x(),e.column&&((R=e.upDataColumn)==null||R.call(e,"filterOpened",!0))},C=()=>{var T;e.column&&((T=e.upDataColumn)==null||T.call(e,"filterOpened",!1))},x=()=>{if(Ka(u)){i.value=0;return}const T=(l.value||[]).findIndex(R=>R.value===u.value);i.value=T>=0?T+1:0};return{multiple:h,filterClassName:c,filteredValue:d,filterValue:u,filters:l,handleConfirm:m,handleReset:g,handleSelect:b,isPropAbsent:Ka,isActive:p,t:n,ns:s,tooltipRef:o,rootRef:r,checkedIndex:i,handleShowTooltip:w,handleHideTooltip:C,handleKeydown:T=>{var R,I;const M=an(T),$=(l.value?l.value.length:0)+1;let O=i.value,B=!0;switch(M){case Te.down:case Te.right:O=(O+1)%$;break;case Te.up:case Te.left:O=(O-1+$)%$;break;case Te.tab:v(),B=!1;break;case Te.enter:case Te.space:if(O===0)b(null,0);else{const U=(l.value||[])[O-1];U.value&&b(U.value,O)}break;default:B=!1;break}B&&T.preventDefault(),i.value=O,(I=(R=r.value)==null?void 0:R.querySelector(`.${s.e("list-item")}:nth-child(${O+1})`))==null||I.focus()}}}});const Wde=["disabled"],jde=["tabindex","aria-checked"],Kde=["tabindex","aria-checked","onClick"],Ude=["aria-label"];function qde(e,t,n,s,a,o){const r=Ge("el-checkbox"),i=Ge("el-checkbox-group"),l=Ge("el-scrollbar"),c=Ge("arrow-up"),u=Ge("arrow-down"),d=Ge("el-icon"),h=Ge("el-tooltip");return S(),le(h,{ref:"tooltipRef",offset:0,placement:e.placement,"show-arrow":!1,trigger:"click",role:"dialog",teleported:"",effect:"light",pure:"",loop:"","popper-class":e.filterClassName,persistent:"","append-to":e.appendTo,onShow:e.handleShowTooltip,onHide:e.handleHideTooltip},{content:X(()=>[e.multiple?(S(),P("div",{key:0,ref:"rootRef",tabindex:"-1",class:D(e.ns.e("multiple"))},[A("div",{class:D(e.ns.e("content"))},[j(l,{"wrap-class":e.ns.e("wrap")},{default:X(()=>[j(i,{modelValue:e.filteredValue,"onUpdate:modelValue":t[0]||(t[0]=p=>e.filteredValue=p),class:D(e.ns.e("checkbox-group"))},{default:X(()=>[(S(!0),P(He,null,yt(e.filters,p=>(S(),le(r,{key:p.value,value:p.value},{default:X(()=>[Ue(ve(p.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),A("div",{class:D(e.ns.e("bottom"))},[A("button",{class:D(e.ns.is("disabled",e.filteredValue.length===0)),disabled:e.filteredValue.length===0,type:"button",onClick:t[1]||(t[1]=(...p)=>e.handleConfirm&&e.handleConfirm(...p))},ve(e.t("el.table.confirmFilter")),11,Wde),A("button",{type:"button",onClick:t[2]||(t[2]=(...p)=>e.handleReset&&e.handleReset(...p))},ve(e.t("el.table.resetFilter")),1)],2)],2)):(S(),P("ul",{key:1,ref:"rootRef",tabindex:"-1",role:"radiogroup",class:D(e.ns.e("list")),onKeydown:t[4]||(t[4]=(...p)=>e.handleKeydown&&e.handleKeydown(...p))},[A("li",{role:"radio",class:D([e.ns.e("list-item"),e.ns.is("active",e.isPropAbsent(e.filterValue))]),tabindex:e.checkedIndex===0?0:-1,"aria-checked":e.isPropAbsent(e.filterValue),onClick:t[3]||(t[3]=p=>e.handleSelect(null,0))},ve(e.t("el.table.clearFilter")),11,jde),(S(!0),P(He,null,yt(e.filters,(p,v)=>(S(),P("li",{key:p.value,role:"radio",class:D([e.ns.e("list-item"),e.ns.is("active",e.isActive(p))]),tabindex:e.checkedIndex===v+1?0:-1,"aria-checked":e.isActive(p),onClick:m=>e.handleSelect(p.value,v+1)},ve(p.text),11,Kde))),128))],34))]),default:X(()=>{var p;return[A("button",{type:"button",class:D(`${e.ns.namespace.value}-table__column-filter-trigger`),"aria-label":e.t("el.table.filterLabel",{column:((p=e.column)==null?void 0:p.label)||""})},[j(d,null,{default:X(()=>[ue(e.$slots,"filter-icon",{},()=>{var v;return[(v=e.column)!=null&&v.filterOpened?(S(),le(c,{key:0})):(S(),le(u,{key:1}))]})]),_:3})],10,Ude)]}),_:3},8,["placement","popper-class","append-to","onShow","onHide"])}var Gde=is(Hde,[["render",qde]]);function I6(e){const t=_t();K2(()=>{n.value.addObserver(t)}),St(()=>{s(n.value),a(n.value)}),or(()=>{s(n.value),a(n.value)}),cu(()=>{n.value.removeObserver(t)});const n=k(()=>{const o=e.layout;if(!o)throw new Error("Can not find table layout.");return o}),s=o=>{var r;const i=((r=e.vnode.el)==null?void 0:r.querySelectorAll("colgroup > col"))||[];if(!i.length)return;const l=o.getFlattenColumns(),c={};l.forEach(u=>{c[u.id]=u});for(let u=0,d=i.length;u{var r,i;const l=((r=e.vnode.el)==null?void 0:r.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let u=0,d=l.length;u{m.stopPropagation()},o=(m,g)=>{!g.filters&&g.sortable?v(m,g,!1):g.filterable&&!g.sortable&&a(m),s==null||s.emit("header-click",g,m)},r=(m,g)=>{s==null||s.emit("header-contextmenu",g,m)},i=F(null),l=F(!1),c=F(),u=(m,g)=>{var b,_;if(jt&&!(g.children&&g.children.length>0)&&i.value&&e.border&&i.value.id===g.id){l.value=!0;const w=s;t("set-drag-visible",!0);const C=w==null?void 0:w.vnode.el,x=C==null?void 0:C.getBoundingClientRect().left,E=(_=(b=n==null?void 0:n.vnode)==null?void 0:b.el)==null?void 0:_.querySelector(`th.${g.id}`),T=E.getBoundingClientRect(),R=T.left-x+30;Lo(E,"noclick"),c.value={startMouseLeft:m.clientX,startLeft:T.right-x,startColumnLeft:T.left-x,tableLeft:x};const I=w==null?void 0:w.refs.resizeProxy;I.style.left=`${c.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const M=O=>{const B=O.clientX-c.value.startMouseLeft,U=c.value.startLeft+B;I.style.left=`${Math.max(R,U)}px`},$=()=>{if(l.value){const{startColumnLeft:O,startLeft:B}=c.value,J=Number.parseInt(I.style.left,10)-O;g.width=g.realWidth=J,w==null||w.emit("header-dragend",g.width,B-O,g,m),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",l.value=!1,i.value=null,c.value=void 0,t("set-drag-visible",!1)}document.removeEventListener("mousemove",M),document.removeEventListener("mouseup",$),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{ra(E,"noclick")},0)};document.addEventListener("mousemove",M),document.addEventListener("mouseup",$)}},d=(m,g)=>{var b;if(!e.border||g.children&&g.children.length>0)return;const _=m.target,w=ja(_)?_.closest("th"):null;if(!w)return;const C=Zr(w,"is-sortable");if(C){const M=l.value?"col-resize":"";w.style.cursor=M;const $=w.querySelector(".caret-wrapper");$&&($.style.cursor=M)}if(!g.resizable||l.value){i.value=null;return}const x=w.getBoundingClientRect(),E=((b=w.parentNode)==null?void 0:b.lastElementChild)===w,T=e.allowDragLastColumn||!E,R=x.width>12&&x.right-m.clientX<8&&T,I=R?"col-resize":"";document.body.style.cursor=I,i.value=R?g:null,C&&(w.style.cursor=I)},h=()=>{!jt||l.value||(document.body.style.cursor="")},p=({order:m,sortOrders:g})=>{if(m==="")return g[0];const b=g.indexOf(m||null);return g[b>g.length-2?0:b+1]},v=(m,g,b)=>{var _;m.stopPropagation();const w=g.order===b?null:b||p(g),C=(_=m.target)==null?void 0:_.closest("th");if(C&&Zr(C,"noclick")){ra(C,"noclick");return}if(!g.sortable)return;const x=m.currentTarget;if(["ascending","descending"].some(M=>Zr(x,M)&&!g.sortOrders.includes(M)))return;const E=e.store.states;let T=E.sortProp.value,R;const I=E.sortingColumn.value;(I!==g||I===g&&hg(I.order))&&(I&&(I.order=null),E.sortingColumn.value=g,T=g.property),w?R=g.order=w:R=g.order=null,E.sortProp.value=T,E.sortOrder.value=R,s==null||s.store.commit("changeSortCondition")};return{handleHeaderClick:o,handleHeaderContextMenu:r,handleMouseDown:u,handleMouseMove:d,handleMouseOut:h,handleSortClick:v,handleFilterClick:a}}function Xde(e){const t=je(br),n=Ee("table");return{getHeaderRowStyle:i=>{const l=t==null?void 0:t.props.headerRowStyle;return et(l)?l.call(null,{rowIndex:i}):l},getHeaderRowClass:i=>{const l=[],c=t==null?void 0:t.props.headerRowClassName;return Xe(c)?l.push(c):et(c)&&l.push(c.call(null,{rowIndex:i})),l.join(" ")},getHeaderCellStyle:(i,l,c,u)=>{var d;let h=(d=t==null?void 0:t.props.headerCellStyle)!=null?d:{};et(h)&&(h=h.call(null,{rowIndex:i,columnIndex:l,row:c,column:u}));const p=T6(l,u.fixed,e.store,c);return Zf(p,"left"),Zf(p,"right"),Object.assign({},h,p)},getHeaderCellClass:(i,l,c,u)=>{const d=A6(n.b(),l,u.fixed,e.store,c),h=[u.id,u.order,u.headerAlign,u.className,u.labelClassName,...d];u.children||h.push("is-leaf"),u.sortable&&h.push("is-sortable");const p=t==null?void 0:t.props.headerCellClassName;return Xe(p)?h.push(p):et(p)&&h.push(p.call(null,{rowIndex:i,columnIndex:l,row:c,column:u})),h.push(n.e("cell")),h.filter(v=>!!v).join(" ")}}}const PT=e=>{const t=[];return e.forEach(n=>{n.children?(t.push(n),t.push.apply(t,PT(n.children))):t.push(n)}),t},RT=e=>{let t=1;const n=(o,r)=>{if(r&&(o.level=r.level+1,t{n(l,o),i+=l.colSpan}),o.colSpan=i}else o.colSpan=1};e.forEach(o=>{o.level=1,n(o,void 0)});const s=[];for(let o=0;o{o.children?(o.rowSpan=1,o.children.forEach(r=>r.isSubColumn=!0)):o.rowSpan=t-o.level+1,s[o.level-1].push(o)}),s};function Jde(e){const t=je(br),n=k(()=>RT(e.store.states.originColumns.value));return{isGroup:k(()=>{const o=n.value.length>1;return o&&t&&(t.state.isGroup.value=!0),o}),toggleAllSelection:o=>{o.stopPropagation(),t==null||t.store.commit("toggleAllSelection")},columnRows:n}}var Zde=W({name:"ElTableHeader",components:{ElCheckbox:mr},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})},appendFilterPanelTo:{type:String},allowDragLastColumn:{type:Boolean}},setup(e,{emit:t}){const n=_t(),s=je(br),a=Ee("table"),o=F({}),{onColumnsChange:r,onScrollableChange:i}=I6(s),l=(s==null?void 0:s.props.tableLayout)==="auto",c=Wt(new Map),u=F();let d;const h=()=>{d=setTimeout(()=>{c.size>0&&(c.forEach((O,B)=>{const U=u.value.querySelector(`.${B.replace(/\s/g,".")}`);if(U){const J=U.getBoundingClientRect().width;O.width=J||O.width}}),c.clear())})};me(c,h),Gt(()=>{d&&(clearTimeout(d),d=void 0)}),St(async()=>{await ze(),await ze();const{prop:O,order:B}=e.defaultSort;s==null||s.store.commit("sort",{prop:O,order:B,init:!0}),h()});const{handleHeaderClick:p,handleHeaderContextMenu:v,handleMouseDown:m,handleMouseMove:g,handleMouseOut:b,handleSortClick:_,handleFilterClick:w}=Yde(e,t),{getHeaderRowStyle:C,getHeaderRowClass:x,getHeaderCellStyle:E,getHeaderCellClass:T}=Xde(e),{isGroup:R,toggleAllSelection:I,columnRows:M}=Jde(e),{t:$}=It();return n.state={onColumnsChange:r,onScrollableChange:i},n.filterPanels=o,{ns:a,t:$,filterPanels:o,onColumnsChange:r,onScrollableChange:i,columnRows:M,getHeaderRowClass:x,getHeaderRowStyle:C,getHeaderCellClass:T,getHeaderCellStyle:E,handleHeaderClick:p,handleHeaderContextMenu:v,handleMouseDown:m,handleMouseMove:g,handleMouseOut:b,handleSortClick:_,handleFilterClick:w,isGroup:R,toggleAllSelection:I,saveIndexSelection:c,isTableLayoutAuto:l,theadRef:u,updateFixedColumnStyle:h}},render(){const{ns:e,t,isGroup:n,columnRows:s,getHeaderCellStyle:a,getHeaderCellClass:o,getHeaderRowClass:r,getHeaderRowStyle:i,handleHeaderClick:l,handleHeaderContextMenu:c,handleMouseDown:u,handleMouseMove:d,handleSortClick:h,handleMouseOut:p,store:v,$parent:m,saveIndexSelection:g,isTableLayoutAuto:b}=this;let _=1;return rt("thead",{ref:"theadRef",class:e.is("group",n)},s.map((w,C)=>rt("tr",{class:r(C),key:C,style:i(C)},w.map((x,E)=>{x.rowSpan>_&&(_=x.rowSpan);const T=o(C,E,w,x);return b&&x.fixed&&g.set(T,x),rt("th",{class:T,colspan:x.colSpan,key:`${x.id}-thead`,rowspan:x.rowSpan,scope:x.colSpan>1?"colgroup":"col",ariaSort:x.sortable?x.order:void 0,style:a(C,E,w,x),onClick:R=>{var I;(I=R.currentTarget)!=null&&I.classList.contains("noclick")||l(R,x)},onContextmenu:R=>c(R,x),onMousedown:R=>u(R,x),onMousemove:R=>d(R,x),onMouseout:p},[rt("div",{class:["cell",x.filteredValue&&x.filteredValue.length>0?"highlight":""]},[x.renderHeader?x.renderHeader({column:x,$index:E,store:v,_self:m}):x.label,x.sortable&&rt("button",{type:"button",class:"caret-wrapper","aria-label":t("el.table.sortLabel",{column:x.label||""}),onClick:R=>h(R,x)},[rt("i",{onClick:R=>h(R,x,"ascending"),class:"sort-caret ascending"}),rt("i",{onClick:R=>h(R,x,"descending"),class:"sort-caret descending"})]),x.filterable&&rt(Gde,{store:v,placement:x.filterPlacement||"bottom-start",appendTo:m==null?void 0:m.appendFilterPanelTo,column:x,upDataColumn:(R,I)=>{x[R]=I}},{"filter-icon":()=>x.renderFilterIcon?x.renderFilterIcon({filterOpened:x.filterOpened}):null})])])}))))}});function O6(e,t,n=.03){return e-t>n}function Qde(e){const t=je(br),n=F(""),s=F(rt("div")),a=(v,m,g)=>{var b,_,w;const C=t,x=E6(v);let E=null;const T=(b=C==null?void 0:C.vnode.el)==null?void 0:b.dataset.prefix;x&&(E=_T({columns:(w=(_=e.store)==null?void 0:_.states.columns.value)!=null?w:[]},x,T),E&&(C==null||C.emit(`cell-${g}`,m,E,x,v))),C==null||C.emit(`row-${g}`,m,E,v)},o=(v,m)=>{a(v,m,"dblclick")},r=(v,m)=>{var g;(g=e.store)==null||g.commit("setCurrentRow",m),a(v,m,"click")},i=(v,m)=>{a(v,m,"contextmenu")},l=Xr(v=>{var m;(m=e.store)==null||m.commit("setHoverRow",v)},30),c=Xr(()=>{var v;(v=e.store)==null||v.commit("setHoverRow",null)},30),u=v=>{const m=window.getComputedStyle(v,null),g=Number.parseInt(m.paddingLeft,10)||0,b=Number.parseInt(m.paddingRight,10)||0,_=Number.parseInt(m.paddingTop,10)||0,w=Number.parseInt(m.paddingBottom,10)||0;return{left:g,right:b,top:_,bottom:w}},d=(v,m,g)=>{var b;let _=(b=m==null?void 0:m.target)==null?void 0:b.parentNode;for(;v>1&&(_=_==null?void 0:_.nextSibling,!(!_||_.nodeName!=="TR"));)g(_,"hover-row hover-fixed-row"),v--};return{handleDoubleClick:o,handleClick:r,handleContextMenu:i,handleMouseEnter:l,handleMouseLeave:c,handleCellMouseEnter:(v,m,g)=>{var b,_,w,C,x,E,T,R,I;if(!t)return;const M=t,$=E6(v),O=(b=M==null?void 0:M.vnode.el)==null?void 0:b.dataset.prefix;let B=null;if($){if(B=_T({columns:(w=(_=e.store)==null?void 0:_.states.columns.value)!=null?w:[]},$,O),!B)return;$.rowSpan>1&&d($.rowSpan,v,Lo);const fe=M.hoverState={cell:$,column:B,row:m};M==null||M.emit("cell-mouse-enter",fe.row,fe.column,fe.cell,v)}if(!g){((C=da)==null?void 0:C.trigger)===$&&((x=da)==null||x());return}const U=v.target.querySelector(".cell");if(!(Zr(U,`${O}-tooltip`)&&U.childNodes.length&&((E=U.textContent)!=null&&E.trim())))return;const J=document.createRange();J.setStart(U,0),J.setEnd(U,U.childNodes.length);const{width:Y,height:N}=J.getBoundingClientRect(),{width:L,height:V}=U.getBoundingClientRect(),{top:z,left:G,right:Q,bottom:K}=u(U),ee=G+Q,ae=z+K;O6(Y+ee,L)||O6(N+ae,V)||O6(U.scrollWidth,L)?Pde(g,(T=($==null?void 0:$.innerText)||($==null?void 0:$.textContent))!=null?T:"",m,B,$,M):((R=da)==null?void 0:R.trigger)===$&&((I=da)==null||I())},handleCellMouseLeave:v=>{const m=E6(v);if(!m)return;m.rowSpan>1&&d(m.rowSpan,v,ra);const g=t==null?void 0:t.hoverState;t==null||t.emit("cell-mouse-leave",g==null?void 0:g.row,g==null?void 0:g.column,g==null?void 0:g.cell,v)},tooltipContent:n,tooltipTrigger:s}}function efe(e){const t=je(br),n=Ee("table");return{getRowStyle:(c,u)=>{const d=t==null?void 0:t.props.rowStyle;return et(d)?d.call(null,{row:c,rowIndex:u}):d||null},getRowClass:(c,u,d)=>{var h;const p=[n.e("row")];t!=null&&t.props.highlightCurrentRow&&c===((h=e.store)==null?void 0:h.states.currentRow.value)&&p.push("current-row"),e.stripe&&d%2===1&&p.push(n.em("row","striped"));const v=t==null?void 0:t.props.rowClassName;return Xe(v)?p.push(v):et(v)&&p.push(v.call(null,{row:c,rowIndex:u})),p},getCellStyle:(c,u,d,h)=>{const p=t==null?void 0:t.props.cellStyle;let v=p??{};et(p)&&(v=p.call(null,{rowIndex:c,columnIndex:u,row:d,column:h}));const m=T6(u,e==null?void 0:e.fixed,e.store);return Zf(m,"left"),Zf(m,"right"),Object.assign({},v,m)},getCellClass:(c,u,d,h,p)=>{const v=A6(n.b(),u,e==null?void 0:e.fixed,e.store,void 0,p),m=[h.id,h.align,h.className,...v],g=t==null?void 0:t.props.cellClassName;return Xe(g)?m.push(g):et(g)&&m.push(g.call(null,{rowIndex:c,columnIndex:u,row:d,column:h})),m.push(n.e("cell")),m.filter(b=>!!b).join(" ")},getSpan:(c,u,d,h)=>{let p=1,v=1;const m=t==null?void 0:t.props.spanMethod;if(et(m)){const g=m({row:c,column:u,rowIndex:d,columnIndex:h});ke(g)?(p=g[0],v=g[1]):ht(g)&&(p=g.rowspan,v=g.colspan)}return{rowspan:p,colspan:v}},getColspanRealWidth:(c,u,d)=>{if(u<1)return c[d].realWidth;const h=c.map(({realWidth:p,width:v})=>p||v).slice(d,d+u);return Number(h.reduce((p,v)=>Number(p)+Number(v),-1))}}}const tfe=["colspan","rowspan"];var nfe=W({name:"TableTdWrapper",__name:"td-wrapper",props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup(e){return(t,n)=>(S(),P("td",{colspan:e.colspan,rowspan:e.rowspan},[ue(t.$slots,"default")],8,tfe))}});function sfe(e){const t=je(br),n=Ee("table"),{handleDoubleClick:s,handleClick:a,handleContextMenu:o,handleMouseEnter:r,handleMouseLeave:i,handleCellMouseEnter:l,handleCellMouseLeave:c,tooltipContent:u,tooltipTrigger:d}=Qde(e),{getRowStyle:h,getRowClass:p,getCellStyle:v,getCellClass:m,getSpan:g,getColspanRealWidth:b}=efe(e);let _=-1;const w=k(()=>{var R;return(R=e.store)==null?void 0:R.states.columns.value.findIndex(({type:I})=>I==="default")}),C=(R,I)=>{var M;const $=(M=t==null?void 0:t.props)==null?void 0:M.rowKey;return $?Us(R,$):I},x=(R,I,M,$=!1)=>{const{tooltipEffect:O,tooltipOptions:B,store:U}=e,{indent:J,columns:Y}=U.states,N=[];let L=!0;return M&&(N.push(n.em("row",`level-${M.level}`)),L=!!M.display),I===0&&(_=-1),e.stripe&&L&&_++,N.push(...p(R,I,_)),rt("tr",{style:[L?null:{display:"none"},h(R,I)],class:N,key:C(R,I),onDblclick:z=>s(z,R),onClick:z=>a(z,R),onContextmenu:z=>o(z,R),onMouseenter:()=>r(I),onMouseleave:i},Y.value.map((z,G)=>{const{rowspan:Q,colspan:K}=g(R,z,I,G);if(!Q||!K)return null;const ee=Object.assign({},z);ee.realWidth=b(Y.value,K,G);const ae={store:U,_self:e.context||t,column:ee,row:R,$index:I,cellIndex:G,expanded:$};G===w.value&&M&&(ae.treeNode={indent:M.level&&M.level*J.value,level:M.level},Qt(M.expanded)&&(ae.treeNode.expanded=M.expanded,"loading"in M&&(ae.treeNode.loading=M.loading),"noLazyChildren"in M&&(ae.treeNode.noLazyChildren=M.noLazyChildren)));const fe=`${C(R,I)},${G}`,ne=ee.columnKey||ee.rawColumnKey||"",pe=z.showOverflowTooltip&&px({effect:O},B,z.showOverflowTooltip);return rt(nfe,{style:v(I,G,R,z),class:m(I,G,R,z,K-1),key:`${ne}${fe}`,rowspan:Q,colspan:K,onMouseenter:he=>l(he,R,pe),onMouseleave:c},{default:()=>E(G,z,ae)})}))},E=(R,I,M)=>I.renderCell(M);return{wrappedRowRender:(R,I)=>{const M=e.store,{isRowExpanded:$,assertRowKey:O}=M,{treeData:B,lazyTreeNodeMap:U,childrenColumnName:J,rowKey:Y}=M.states,N=M.states.columns.value;if(N.some(({type:V})=>V==="expand")){const V=$(R),z=x(R,I,void 0,V),G=t==null?void 0:t.renderExpanded;if(!G)return console.error("[Element Error]renderExpanded is required."),z;const Q=[[z]];return(t.props.preserveExpandedContent||V)&&Q[0].push(rt("tr",{key:`expanded-row__${z.key}`,style:{display:V?"":"none"}},[rt("td",{colspan:N.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[G({row:R,$index:I,store:M,expanded:V})])])),Q}else if(Object.keys(B.value).length){O();const V=Us(R,Y.value);let z=B.value[V],G=null;z&&(G={expanded:z.expanded,level:z.level,display:!0,noLazyChildren:void 0,loading:void 0},Qt(z.lazy)&&(G&&Qt(z.loaded)&&z.loaded&&(G.noLazyChildren=!(z.children&&z.children.length)),G.loading=z.loading));const Q=[x(R,I,G??void 0)];if(z){let K=0;const ee=(fe,ne)=>{fe&&fe.length&&ne&&fe.forEach(pe=>{const he={display:ne.display&&ne.expanded,level:ne.level+1,expanded:!1,noLazyChildren:!1,loading:!1},ce=Us(pe,Y.value);if(Ka(ce))throw new Error("For nested data item, row-key is required.");if(z={...B.value[ce]},z&&(he.expanded=z.expanded,z.level=z.level||he.level,z.display=!!(z.expanded&&he.display),Qt(z.lazy)&&(Qt(z.loaded)&&z.loaded&&(he.noLazyChildren=!(z.children&&z.children.length)),he.loading=z.loading)),K++,Q.push(x(pe,I+K,he)),z){const Z=U.value[ce]||pe[J.value];ee(Z,z)}})};z.display=!0;const ae=U.value[V]||R[J.value];ee(ae,z)}return Q}else return x(R,I,void 0)},tooltipContent:u,tooltipTrigger:d}}var afe=W({name:"ElTableBody",props:{store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean},setup(e){var t;const n=_t(),s=je(br),a=Ee("table"),{wrappedRowRender:o,tooltipContent:r,tooltipTrigger:i}=sfe(e),{onColumnsChange:l,onScrollableChange:c}=I6(s),u=[];return me((t=e.store)==null?void 0:t.states.hoverRow,(d,h)=>{var p,v;const m=n==null?void 0:n.vnode.el,g=Array.from((m==null?void 0:m.children)||[]).filter(w=>w==null?void 0:w.classList.contains(`${a.e("row")}`));let b=d;const _=(p=g[b])==null?void 0:p.childNodes;if(_!=null&&_.length){let w=0;Array.from(_).reduce((x,E,T)=>{var R,I;return((R=_[T])==null?void 0:R.colSpan)>1&&(w=(I=_[T])==null?void 0:I.colSpan),E.nodeName!=="TD"&&w===0&&x.push(T),w>0&&w--,x},[]).forEach(x=>{var E;for(b=d;b>0;){const T=(E=g[b-1])==null?void 0:E.childNodes;if(T[x]&&T[x].nodeName==="TD"&&T[x].rowSpan>1){Lo(T[x],"hover-cell"),u.push(T[x]);break}b--}})}else u.forEach(w=>ra(w,"hover-cell")),u.length=0;!((v=e.store)!=null&&v.states.isComplex.value)||!jt||Jr(()=>{const w=g[h],C=g[d];w&&!w.classList.contains("hover-fixed-row")&&ra(w,"hover-row"),C&&Lo(C,"hover-row")})}),cu(()=>{var d;(d=da)==null||d()}),{ns:a,onColumnsChange:l,onScrollableChange:c,wrappedRowRender:o,tooltipContent:r,tooltipTrigger:i}},render(){const{wrappedRowRender:e,store:t}=this,n=(t==null?void 0:t.states.data.value)||[];return rt("tbody",{tabIndex:-1},[n.reduce((s,a)=>s.concat(e(a,s.length)),[])])}});function ofe(){const e=je(br),t=e==null?void 0:e.store,n=k(()=>{var i;return(i=t==null?void 0:t.states.fixedLeafColumnsLength.value)!=null?i:0}),s=k(()=>{var i;return(i=t==null?void 0:t.states.rightFixedColumns.value.length)!=null?i:0}),a=k(()=>{var i;return(i=t==null?void 0:t.states.columns.value.length)!=null?i:0}),o=k(()=>{var i;return(i=t==null?void 0:t.states.fixedColumns.value.length)!=null?i:0}),r=k(()=>{var i;return(i=t==null?void 0:t.states.rightFixedColumns.value.length)!=null?i:0});return{leftFixedLeafCount:n,rightFixedLeafCount:s,columnsCount:a,leftFixedCount:o,rightFixedCount:r,columns:k(()=>{var i;return(i=t==null?void 0:t.states.columns.value)!=null?i:[]})}}function rfe(e){const{columns:t}=ofe(),n=Ee("table");return{getCellClasses:(o,r)=>{const i=o[r],l=[n.e("cell"),i.id,i.align,i.labelClassName,...A6(n.b(),r,i.fixed,e.store)];return i.className&&l.push(i.className),i.children||l.push(n.is("leaf")),l},getCellStyles:(o,r)=>{const i=T6(r,o.fixed,e.store);return Zf(i,"left"),Zf(i,"right"),i},columns:t}}var ife=W({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 t=je(br),n=Ee("table"),{getCellClasses:s,getCellStyles:a,columns:o}=rfe(e),{onScrollableChange:r,onColumnsChange:i}=I6(t);return{ns:n,onScrollableChange:r,onColumnsChange:i,getCellClasses:s,getCellStyles:a,columns:o}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:s,sumText:a}=this,o=this.store.states.data.value;let r=[];return s?r=s({columns:e,data:o}):e.forEach((i,l)=>{if(l===0){r[l]=a;return}const c=o.map(p=>Number(p[i.property])),u=[];let d=!0;c.forEach(p=>{if(!Number.isNaN(+p)){d=!1;const v=`${p}`.split(".")[1];u.push(v?v.length:0)}});const h=Math.max.apply(null,u);d?r[l]="":r[l]=c.reduce((p,v)=>{const m=Number(v);return Number.isNaN(+m)?p:Number.parseFloat((p+v).toFixed(Math.min(h,20)))},0)}),rt(rt("tfoot",[rt("tr",{},[...e.map((i,l)=>rt("td",{key:l,colspan:i.colSpan,rowspan:i.rowSpan,class:n(e,l),style:t(i,l)},[rt("div",{class:["cell",i.labelClassName]},[r[l]])]))])]))}});function lfe(e){return{setCurrentRow:d=>{e.commit("setCurrentRow",d)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(d,h,p=!0)=>{e.toggleRowSelection(d,h,!1,p),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:d=>{e.clearFilter(d)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(d,h)=>{e.toggleRowExpansionAdapter(d,h)},clearSort:()=>{e.clearSort()},sort:(d,h)=>{e.commit("sort",{prop:d,order:h})},updateKeyChildren:(d,h)=>{e.updateKeyChildren(d,h)}}}function cfe(e,t,n,s){const a=F(!1),o=F(null),r=F(!1),i=N=>{r.value=N},l=F({width:null,height:null,headerHeight:null}),c=F(!1),u={display:"inline-block",verticalAlign:"middle"},d=F(),h=F(0),p=F(0),v=F(0),m=F(0),g=F(0);me(()=>e.height,N=>{t.setHeight(N??null)},{immediate:!0}),me(()=>e.maxHeight,N=>{t.setMaxHeight(N??null)},{immediate:!0}),me(()=>[e.currentRowKey,n.states.rowKey],([N,L])=>{!f(L)||!f(N)||n.setCurrentRowKey(`${N}`)},{immediate:!0}),me(()=>e.data,N=>{s.store.commit("setData",N)},{immediate:!0,deep:!0}),Wa(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const b=()=>{s.store.commit("setHoverRow",null),s.hoverState&&(s.hoverState=null)},_=(N,L)=>{const{pixelX:V,pixelY:z}=L;Math.abs(V)>=Math.abs(z)&&(s.refs.bodyWrapper.scrollLeft+=L.pixelX/5)},w=k(()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),C=k(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),x=()=>{w.value&&t.updateElsHeight(),t.updateColumnsWidth(),!(typeof window>"u")&&requestAnimationFrame(I)};St(async()=>{await ze(),n.updateColumns(),M(),requestAnimationFrame(x);const N=s.vnode.el,L=s.refs.headerWrapper;e.flexible&&N&&N.parentElement&&(N.parentElement.style.minWidth="0"),l.value={width:d.value=N.offsetWidth,height:N.offsetHeight,headerHeight:e.showHeader&&L?L.offsetHeight:null},n.states.columns.value.forEach(V=>{V.filteredValue&&V.filteredValue.length&&s.store.commit("filterChange",{column:V,values:V.filteredValue,silent:!0})}),s.$ready=!0});const E=(N,L)=>{if(!N)return;const V=Array.from(N.classList).filter(z=>!z.startsWith("is-scrolling-"));V.push(t.scrollX.value?L:"is-scrolling-none"),N.className=V.join(" ")},T=N=>{const{tableWrapper:L}=s.refs;E(L,N)},R=N=>{const{tableWrapper:L}=s.refs;return!!(L&&L.classList.contains(N))},I=function(){if(!s.refs.scrollBarRef)return;if(!t.scrollX.value){const ee="is-scrolling-none";R(ee)||T(ee);return}const N=s.refs.scrollBarRef.wrapRef;if(!N)return;const{scrollLeft:L,offsetWidth:V,scrollWidth:z}=N,{headerWrapper:G,footerWrapper:Q}=s.refs;G&&(G.scrollLeft=L),Q&&(Q.scrollLeft=L);const K=z-V-1;L>=K?T("is-scrolling-right"):T(L===0?"is-scrolling-left":"is-scrolling-middle")},M=()=>{s.refs.scrollBarRef&&(s.refs.scrollBarRef.wrapRef&&Zt(s.refs.scrollBarRef.wrapRef,"scroll",I,{passive:!0}),e.fit?bn(s.vnode.el,$):Zt(window,"resize",$),bn(s.refs.tableInnerWrapper,()=>{var N,L;$(),(L=(N=s.refs)==null?void 0:N.scrollBarRef)==null||L.update()}))},$=()=>{var N,L,V,z;const G=s.vnode.el;if(!s.$ready||!G)return;let Q=!1;const{width:K,height:ee,headerHeight:ae}=l.value,fe=d.value=G.offsetWidth;K!==fe&&(Q=!0);const ne=G.offsetHeight;(e.height||w.value)&&ee!==ne&&(Q=!0);const pe=e.tableLayout==="fixed"?s.refs.headerWrapper:(N=s.refs.tableHeaderRef)==null?void 0:N.$el;e.showHeader&&(pe==null?void 0:pe.offsetHeight)!==ae&&(Q=!0),h.value=((L=s.refs.tableWrapper)==null?void 0:L.scrollHeight)||0,v.value=(pe==null?void 0:pe.scrollHeight)||0,m.value=((V=s.refs.footerWrapper)==null?void 0:V.offsetHeight)||0,g.value=((z=s.refs.appendWrapper)==null?void 0:z.offsetHeight)||0,p.value=h.value-v.value-m.value-g.value,Q&&(l.value={width:fe,height:ne,headerHeight:e.showHeader&&(pe==null?void 0:pe.offsetHeight)||0},x())},O=ts(),B=k(()=>{const{bodyWidth:N,scrollY:L,gutterWidth:V}=t;return N.value?`${N.value-(L.value?V:0)}px`:""}),U=k(()=>e.maxHeight?"fixed":e.tableLayout),J=k(()=>{if(e.data&&e.data.length)return;let N="100%";e.height&&p.value&&(N=`${p.value}px`);const L=d.value;return{width:L?`${L}px`:"",height:N}}),Y=k(()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${v.value+m.value}px)`}:{maxHeight:`${+e.maxHeight-v.value-m.value}px`}:{});return{isHidden:a,renderExpanded:o,setDragVisible:i,isGroup:c,handleMouseLeave:b,handleHeaderFooterMousewheel:_,tableSize:O,emptyBlockStyle:J,resizeProxyVisible:r,bodyWidth:B,resizeState:l,doLayout:x,tableBodyStyles:C,tableLayout:U,scrollbarViewStyle:u,scrollbarStyle:Y}}function ufe(e){let t;const n=()=>{const a=e.vnode.el.querySelector(".hidden-columns"),o={childList:!0,subtree:!0},r=e.store.states.updateOrderFns;t=new MutationObserver(()=>{r.forEach(i=>i())}),t.observe(a,o)};St(()=>{n()}),cu(()=>{t==null||t.disconnect()})}var dfe={data:{type:Array,default:()=>[]},size:rs,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,rowExpandable:{type:Function},defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:[String,Object,Array],default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object],tooltipFormatter:Function,appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0},allowDragLastColumn:{type:Boolean,default:!0},preserveExpandedContent:Boolean,nativeScrollbar:Boolean};function IT(e){const t=e.tableLayout==="auto";let n=e.columns||[];t&&n.every(({width:a})=>$t(a))&&(n=[]);const s=a=>{const o={key:`${e.tableLayout}_${a.id}`,style:{},name:void 0};return t?o.style={width:`${a.width}px`}:o.name=a.id,o};return rt("colgroup",{},n.map(a=>rt("col",s(a))))}IT.props=["columns","tableLayout"];const ffe=()=>{const e=F(),t=(o,r)=>{const i=e.value;i&&i.scrollTo(o,r)},n=(o,r)=>{const i=e.value;i&&at(r)&&["Top","Left"].includes(o)&&i[`setScroll${o}`](r)};return{scrollBarRef:e,scrollTo:t,setScrollTop:o=>n("Top",o),setScrollLeft:o=>n("Left",o)}};var OT=!1,Mu,L6,N6,b1,y1,LT,w1,$6,D6,F6,NT,B6,V6,$T,DT;function Ja(){if(!OT){OT=!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(B6=/\b(iPhone|iP[ao]d)/.exec(e),V6=/\b(iP[ao]d)/.exec(e),F6=/Android/i.exec(e),$T=/FBAN\/\w+;/i.exec(e),DT=/Mobile/i.exec(e),NT=!!/Win64/.exec(e),t){Mu=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Mu&&document&&document.documentMode&&(Mu=document.documentMode);var s=/(?:Trident\/(\d+.\d+))/.exec(e);LT=s?parseFloat(s[1])+4:Mu,L6=t[2]?parseFloat(t[2]):NaN,N6=t[3]?parseFloat(t[3]):NaN,b1=t[4]?parseFloat(t[4]):NaN,b1?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),y1=t&&t[1]?parseFloat(t[1]):NaN):y1=NaN}else Mu=L6=N6=y1=b1=NaN;if(n){if(n[1]){var a=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);w1=a?parseFloat(a[1].replace("_",".")):!0}else w1=!1;$6=!!n[2],D6=!!n[3]}else w1=$6=D6=!1}}var z6={ie:function(){return Ja()||Mu},ieCompatibilityMode:function(){return Ja()||LT>Mu},ie64:function(){return z6.ie()&&NT},firefox:function(){return Ja()||L6},opera:function(){return Ja()||N6},webkit:function(){return Ja()||b1},safari:function(){return z6.webkit()},chrome:function(){return Ja()||y1},windows:function(){return Ja()||$6},osx:function(){return Ja()||w1},linux:function(){return Ja()||D6},iphone:function(){return Ja()||B6},mobile:function(){return Ja()||B6||V6||F6||DT},nativeApp:function(){return Ja()||$T},android:function(){return Ja()||F6},ipad:function(){return Ja()||V6}},hfe=z6,pfe=!!(typeof window<"u"&&window.document&&window.document.createElement),vfe={canUseDOM:pfe},FT=vfe,BT;FT.canUseDOM&&(BT=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function mfe(e,t){if(!FT.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,s=n in document;if(!s){var a=document.createElement("div");a.setAttribute(n,"return;"),s=typeof a[n]=="function"}return!s&&BT&&e==="wheel"&&(s=document.implementation.hasFeature("Events.wheel","3.0")),s}var gfe=mfe,VT=10,zT=40,HT=800;function WT(e){var t=0,n=0,s=0,a=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),s=t*VT,a=n*VT,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(s=e.deltaX),(s||a)&&e.deltaMode&&(e.deltaMode==1?(s*=zT,a*=zT):(s*=HT,a*=HT)),s&&!t&&(t=s<1?-1:1),a&&!n&&(n=a<1?-1:1),{spinX:t,spinY:n,pixelX:s,pixelY:a}}WT.getEventType=function(){return hfe.firefox()?"DOMMouseScroll":gfe("wheel")?"wheel":"mousewheel"};var bfe=WT;/** * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for non-generic events such as `change`, @@ -52,8 +52,8 @@ var zye=Object.defineProperty;var sR=kn=>{throw TypeError(kn)};var Hye=(kn,Mn,Ut * @return {boolean} True if the event is supported. * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT -*/const _1="_Mousewheel",jT=function(e,t){if(e&&e.addEventListener){KT(e);const n=function(s){const a=bfe(s);t&&Reflect.apply(t,this,[s,a])};e[_1]={wheelHandler:n},e.addEventListener("wheel",n,{passive:!0})}},KT=e=>{var t;(t=e[_1])!=null&&t.wheelHandler&&(e.removeEventListener("wheel",e[_1].wheelHandler),e[_1]=null)},yfe={beforeMount(e,t){jT(e,t.value)},unmounted(e){KT(e)},updated(e,t){t.value!==t.oldValue&&jT(e,t.value)}};let wfe=1;var _fe=W({name:"ElTable",directives:{Mousewheel:yfe},components:{TableHeader:Zde,TableBody:afe,TableFooter:ife,ElScrollbar:pr,hColgroup:IT},props:dfe,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","scroll"],setup(e){const{t}=It(),n=Ee("table"),s=_t();Tt(br,s);const a=Dde(s,e);s.store=a;const o=new zde({store:s.store,table:s,fit:e.fit,showHeader:e.showHeader});s.layout=o;const r=k(()=>(a.states.data.value||[]).length===0),{setCurrentRow:i,getSelectionRows:l,toggleRowSelection:c,clearSelection:u,clearFilter:d,toggleAllSelection:h,toggleRowExpansion:p,clearSort:v,sort:m,updateKeyChildren:g}=lfe(a),{isHidden:b,renderExpanded:C,setDragVisible:w,isGroup:_,handleMouseLeave:x,handleHeaderFooterMousewheel:E,tableSize:T,emptyBlockStyle:R,resizeProxyVisible:I,bodyWidth:M,resizeState:$,doLayout:O,tableBodyStyles:B,tableLayout:U,scrollbarViewStyle:J,scrollbarStyle:Y}=cfe(e,o,a,s),{scrollBarRef:N,scrollTo:L,setScrollLeft:V,setScrollTop:z}=ffe(),G=Xr(O,50),Q=`${n.namespace.value}-table_${wfe++}`;s.tableId=Q,s.state={isGroup:_,resizeState:$,doLayout:O,debouncedUpdateLayout:G};const K=k(()=>{var fe;return(fe=e.sumText)!=null?fe:t("el.table.sumText")}),ee=k(()=>{var fe;return(fe=e.emptyText)!=null?fe:t("el.table.emptyText")}),ae=k(()=>RT(a.states.originColumns.value)[0]);return ufe(s),Gt(()=>{G.cancel()}),{ns:n,layout:o,store:a,columns:ae,handleHeaderFooterMousewheel:E,handleMouseLeave:x,tableId:Q,tableSize:T,isHidden:b,isEmpty:r,renderExpanded:C,resizeProxyVisible:I,resizeState:$,isGroup:_,bodyWidth:M,tableBodyStyles:B,emptyBlockStyle:R,debouncedUpdateLayout:G,setCurrentRow:i,getSelectionRows:l,toggleRowSelection:c,clearSelection:u,clearFilter:d,toggleAllSelection:h,toggleRowExpansion:p,clearSort:v,doLayout:O,sort:m,updateKeyChildren:g,t,setDragVisible:w,context:s,computedSumText:K,computedEmptyText:ee,tableLayout:U,scrollbarViewStyle:J,scrollbarStyle:Y,scrollBarRef:N,scrollTo:L,setScrollLeft:V,setScrollTop:z,allowDragLastColumn:e.allowDragLastColumn}}});const Cfe=["data-prefix"],Sfe={ref:"hiddenColumns",class:"hidden-columns"};function xfe(e,t,n,s,a,o){const r=Ge("hColgroup"),i=Ge("table-header"),l=Ge("table-body"),c=Ge("table-footer"),u=Ge("el-scrollbar"),d=N4("mousewheel");return S(),P("div",{ref:"tableWrapper",class:D([{[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:tt(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:t[1]||(t[1]=(...h)=>e.handleMouseLeave&&e.handleMouseLeave(...h))},[A("div",{ref:"tableInnerWrapper",class:D(e.ns.e("inner-wrapper"))},[A("div",Sfe,[ue(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?gt((S(),P("div",{key:0,ref:"headerWrapper",class:D(e.ns.e("header-wrapper"))},[A("table",{ref:"tableHeader",class:D(e.ns.e("header")),style:tt(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[j(r,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),j(i,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,"allow-drag-last-column":e.allowDragLastColumn,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","allow-drag-last-column","onSetDragVisible"])],6)],2)),[[d,e.handleHeaderFooterMousewheel]]):ie("v-if",!0),A("div",{ref:"bodyWrapper",class:D(e.ns.e("body-wrapper"))},[j(u,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn,tabindex:e.scrollbarTabindex,native:e.nativeScrollbar,onScroll:t[0]||(t[0]=h=>e.$emit("scroll",h))},{default:X(()=>[A("table",{ref:"tableBody",class:D(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:tt({width:e.bodyWidth,tableLayout:e.tableLayout})},[j(r,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&e.tableLayout==="auto"?(S(),le(i,{key:0,ref:"tableHeaderRef",class:D(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):ie("v-if",!0),j(l,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"tooltip-options":e.tooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&e.tableLayout==="auto"?(S(),le(c,{key:1,class:D(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):ie("v-if",!0)],6),e.isEmpty?(S(),P("div",{key:0,ref:"emptyBlock",style:tt(e.emptyBlockStyle),class:D(e.ns.e("empty-block"))},[A("span",{class:D(e.ns.e("empty-text"))},[ue(e.$slots,"empty",{},()=>[Ue(ve(e.computedEmptyText),1)])],2)],6)):ie("v-if",!0),e.$slots.append?(S(),P("div",{key:1,ref:"appendWrapper",class:D(e.ns.e("append-wrapper"))},[ue(e.$slots,"append")],2)):ie("v-if",!0)]),_:3},8,["view-style","wrap-style","always","tabindex","native"])],2),e.showSummary&&e.tableLayout==="fixed"?gt((S(),P("div",{key:1,ref:"footerWrapper",class:D(e.ns.e("footer-wrapper"))},[A("table",{class:D(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:tt(e.tableBodyStyles)},[j(r,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),j(c,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[Bt,!e.isEmpty],[d,e.handleHeaderFooterMousewheel]]):ie("v-if",!0),e.border||e.isGroup?(S(),P("div",{key:2,class:D(e.ns.e("border-left-patch"))},null,2)):ie("v-if",!0)],2),gt(A("div",{ref:"resizeProxy",class:D(e.ns.e("column-resize-proxy"))},null,2),[[Bt,e.resizeProxyVisible]])],46,Cfe)}var Efe=is(_fe,[["render",xfe]]);const kfe={selection:"table-column--selection",expand:"table__expand-column"},Afe={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:""}},Tfe=e=>kfe[e]||"",Mfe={selection:{renderHeader({store:e}){var t;function n(){return e.states.data.value&&e.states.data.value.length===0}return rt(mr,{disabled:n(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":(t=e.toggleAllSelection)!=null?t:void 0,modelValue:e.states.isAllSelected.value,ariaLabel:e.t("el.table.selectAllLabel")})},renderCell({row:e,column:t,store:n,$index:s}){return rt(mr,{disabled:t.selectable?!t.selectable.call(null,e,s):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:a=>a.stopPropagation(),modelValue:n.isSelected(e),ariaLabel:n.t("el.table.selectRowLabel")})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const s=e.index;return at(s)?n=t+s:et(s)&&(n=s(t)),rt("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({column:e,row:t,store:n,expanded:s,$index:a}){var o,r,i;const{ns:l}=n,c=[l.e("expand-icon")];!e.renderExpand&&s&&c.push(l.em("expand-icon","expanded"));const u=function(h){h.stopPropagation(),n.toggleRowExpansion(t)},d=(i=(r=(o=n.states.rowExpandable).value)==null?void 0:r.call(o,t,a))!=null?i:!0;return d||c.push(l.is("disabled")),rt("button",{type:"button",disabled:!d,"aria-label":n.t(s?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":s,class:c,onClick:u},{default:()=>e.renderExpand?[e.renderExpand({expanded:s,expandable:d})]:[rt(Je,null,{default:()=>[rt(Ls)]})]})},sortable:!1,resizable:!1}};function Pfe({row:e,column:t,$index:n}){var s;const a=t.property,o=a&&kf(e,a).value;return t&&t.formatter?t.formatter(e,t,o,n):((s=o==null?void 0:o.toString)==null?void 0:s.call(o))||""}function Rfe({row:e,treeNode:t,store:n},s=!1){const{ns:a}=n;if(!t)return s?[rt("span",{class:a.e("placeholder")})]:null;const o=[],r=function(i){i.stopPropagation(),!t.loading&&n.loadOrToggle(e)};if(t.indent&&o.push(rt("span",{class:a.e("indent"),style:{"padding-left":`${t.indent}px`}})),Qt(t.expanded)&&!t.noLazyChildren){const i=[a.e("expand-icon"),t.expanded?a.em("expand-icon","expanded"):""];let l=Ls;t.loading&&(l=Ns),o.push(rt("button",{type:"button","aria-label":n.t(t.expanded?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":t.expanded,class:i,onClick:r},{default:()=>[rt(Je,{class:a.is("loading",t.loading)},{default:()=>[rt(l)]})]}))}else o.push(rt("span",{class:a.e("placeholder")}));return o}function UT(e,t){return e.reduce((n,s)=>(n[s]=s,n),t)}function Ife(e,t){const n=_t();return{registerComplexWatchers:()=>{const o=["fixed"],r={realWidth:"width",realMinWidth:"minWidth"},i=UT(o,r);Object.keys(i).forEach(l=>{const c=r[l];Ht(t,c)&&me(()=>t[c],u=>{let d=u;c==="width"&&l==="realWidth"&&(d=k6(u)),c==="minWidth"&&l==="realMinWidth"&&(d=CT(u)),n.columnConfig.value[c]=d,n.columnConfig.value[l]=d;const h=c==="fixed";e.value.store.scheduleLayout(h)})})},registerNormalWatchers:()=>{const o=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip","tooltipFormatter","resizable"],r=["showOverflowTooltip"],i={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},l=UT(o,i);Object.keys(l).forEach(c=>{const u=i[c];Ht(t,u)&&me(()=>t[u],d=>{n.columnConfig.value[c]=d,(c==="filters"||c==="filterMethod")&&(n.columnConfig.value.filterable=!!(n.columnConfig.value.filters||n.columnConfig.value.filterMethod))})}),r.forEach(c=>{Ht(e.value.props,c)&&me(()=>e.value.props[c],u=>{n.columnConfig.value.type!=="selection"&&$t(t[c])&&(n.columnConfig.value[c]=u)})})}}}function Ofe(e,t,n){const s=_t(),a=F(""),o=F(!1),r=F(),i=F(),l=Ee("table");Wa(()=>{r.value=e.align?`is-${e.align}`:null,r.value}),Wa(()=>{i.value=e.headerAlign?`is-${e.headerAlign}`:r.value,i.value});const c=k(()=>{let _=s.vnode.vParent||s.parent;for(;_&&!_.tableId&&!_.columnId;)_=_.vnode.vParent||_.parent;return _}),u=k(()=>{const{store:_}=s.parent;if(!_)return!1;const{treeData:x}=_.states,E=x.value;return E&&Object.keys(E).length>0}),d=F(k6(e.width)),h=F(CT(e.minWidth)),p=_=>(d.value&&(_.width=d.value),h.value&&(_.minWidth=h.value),!d.value&&h.value&&(_.width=void 0),_.minWidth||(_.minWidth=80),_.realWidth=Number($t(_.width)?_.minWidth:_.width),_),v=_=>{const x=_.type,E=Mfe[x]||{};Object.keys(E).forEach(R=>{const I=E[R];R!=="className"&&!$t(I)&&(_[R]=I)});const T=Tfe(x);if(T){const R=`${f(l.namespace)}-${T}`;_.className=_.className?`${_.className} ${R}`:R}return _},m=_=>{ke(_)?_.forEach(E=>x(E)):x(_);function x(E){var T;((T=E==null?void 0:E.type)==null?void 0:T.name)==="ElTableColumn"&&(E.vParent=s)}};return{columnId:a,realAlign:r,isSubColumn:o,realHeaderAlign:i,columnOrTableParent:c,setColumnWidth:p,setColumnForcedProps:v,setColumnRenders:_=>{e.renderHeader||_.type!=="selection"&&(_.renderHeader=E=>{if(s.columnConfig.value.label,t.header){const T=t.header(E);if(AT(T))return rt(He,T)}return Ue(_.label)}),t["filter-icon"]&&(_.renderFilterIcon=E=>ue(t,"filter-icon",E)),t.expand&&(_.renderExpand=E=>ue(t,"expand",E));let x=_.renderCell;return _.type==="expand"?(_.renderCell=E=>rt("div",{class:"cell"},[x(E)]),n.value.renderExpanded=E=>t.default?t.default(E):t.default):(x=x||Pfe,_.renderCell=E=>{let T=null;if(t.default){const B=t.default(E);T=B.some(U=>U.type!==Kn)?B:x(E)}else T=x(E);const{columns:R}=n.value.store.states,I=R.value.findIndex(B=>B.type==="default"),M=u.value&&E.cellIndex===I,$=Rfe(E,M),O={class:"cell",style:{}};return _.showOverflowTooltip&&(O.class=`${O.class} ${f(l.namespace)}-tooltip`,O.style={width:`${(E.column.realWidth||Number(E.column.width))-1}px`}),m(T),rt("div",O,[$,T])}),_},getPropsData:(..._)=>_.reduce((x,E)=>(ke(E)&&E.forEach(T=>{x[T]=e[T]}),x),{}),getColumnElIndex:(_,x)=>Array.prototype.indexOf.call(_,x),updateColumnOrder:()=>{n.value.store.commit("updateColumnOrder",s.columnConfig.value)}}}var Lfe={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,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every(t=>["ascending","descending",null].includes(t))}};let Nfe=1;var qT=W({name:"ElTableColumn",components:{ElCheckbox:mr},props:Lfe,setup(e,{slots:t}){const n=_t(),s=F({}),a=k(()=>{let w=n.parent;for(;w&&!w.tableId;)w=w.parent;return w}),{registerNormalWatchers:o,registerComplexWatchers:r}=Ife(a,e),{columnId:i,isSubColumn:l,realHeaderAlign:c,columnOrTableParent:u,setColumnWidth:d,setColumnForcedProps:h,setColumnRenders:p,getPropsData:v,getColumnElIndex:m,realAlign:g,updateColumnOrder:b}=Ofe(e,t,a),C=u.value;i.value=`${"tableId"in C&&C.tableId||"columnId"in C&&C.columnId}_column_${Nfe++}`,K2(()=>{l.value=a.value!==C;const w=e.type||"default",_=e.sortable===""?!0:e.sortable,x=w==="selection"?!1:$t(e.showOverflowTooltip)?C.props.showOverflowTooltip:e.showOverflowTooltip,E=$t(e.tooltipFormatter)?C.props.tooltipFormatter:e.tooltipFormatter,T={...Afe[w],id:i.value,type:w,property:e.prop||e.property,align:g,headerAlign:c,showOverflowTooltip:x,tooltipFormatter:E,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:_,index:e.index,rawColumnKey:n.vnode.key};let O=v(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);O=Ede(T,O),O=Ade(p,d,h)(O),s.value=O,o(),r()}),St(()=>{var w,_;const x=u.value,E=l.value?(w=x.vnode.el)==null?void 0:w.children:(_=x.refs.hiddenColumns)==null?void 0:_.children,T=()=>m(E||[],n.vnode.el);s.value.getColumnIndex=T,T()>-1&&a.value.store.commit("insertColumn",s.value,l.value?"columnConfig"in x&&x.columnConfig.value:null,b)}),Gt(()=>{const w=s.value.getColumnIndex;(w?w():-1)>-1&&a.value.store.commit("removeColumn",s.value,l.value?"columnConfig"in C&&C.columnConfig.value:null,b)}),n.columnId=i.value,n.columnConfig=s},render(){var e,t,n;try{const s=(t=(e=this.$slots).default)==null?void 0:t.call(e,{row:{},column:{},$index:-1}),a=[];if(ke(s))for(const r of s)((n=r.type)==null?void 0:n.name)==="ElTableColumn"||r.shapeFlag&2?a.push(r):r.type===He&&ke(r.children)&&r.children.forEach(i=>{(i==null?void 0:i.patchFlag)!==1024&&!Xe(i==null?void 0:i.children)&&a.push(i)});return rt("div",a)}catch{return rt("div",[])}}});const $fe=pt(Efe,{TableColumn:qT}),Dfe=An(qT);var Pu=(e=>(e.ASC="asc",e.DESC="desc",e))(Pu||{}),nv=(e=>(e.LEFT="left",e.CENTER="center",e.RIGHT="right",e))(nv||{}),GT=(e=>(e.LEFT="left",e.RIGHT="right",e))(GT||{});const H6={asc:"desc",desc:"asc"},sv=Symbol("placeholder"),Ffe=(e,t,n)=>{var s,a,o;const r={flexGrow:0,flexShrink:0,...n?{}:{flexGrow:(s=e.flexGrow)!=null?s:0,flexShrink:(a=e.flexShrink)!=null?a:1}},i={...(o=e.style)!=null?o:{},...r,flexBasis:"auto",width:e.width};return t||(e.maxWidth&&(i.maxWidth=e.maxWidth),e.minWidth&&(i.minWidth=e.minWidth)),i};function Bfe(e,t,n){const s=k(()=>f(t).map((g,b)=>{var C,w;return{...g,key:(w=(C=g.key)!=null?C:g.dataKey)!=null?w:b}})),a=k(()=>f(s).filter(g=>!g.hidden)),o=k(()=>f(a).filter(g=>g.fixed==="left"||g.fixed===!0)),r=k(()=>f(a).filter(g=>g.fixed==="right")),i=k(()=>f(a).filter(g=>!g.fixed)),l=k(()=>{const g=[];return f(o).forEach(b=>{g.push({...b,placeholderSign:sv})}),f(i).forEach(b=>{g.push(b)}),f(r).forEach(b=>{g.push({...b,placeholderSign:sv})}),g}),c=k(()=>f(o).length||f(r).length),u=k(()=>f(s).reduce((g,b)=>(g[b.key]=Ffe(b,f(n),e.fixed),g),{})),d=k(()=>f(a).reduce((g,b)=>g+b.width,0)),h=g=>f(s).find(b=>b.key===g),p=g=>f(u)[g],v=(g,b)=>{g.width=b};function m(g){var b;const{key:C}=g.currentTarget.dataset;if(!C)return;const{sortState:w,sortBy:_}=e;let x=Pu.ASC;ht(w)?x=H6[w[C]]:x=H6[_.order],(b=e.onColumnSort)==null||b.call(e,{column:h(C),key:C,order:x})}return{columns:s,columnsStyles:u,columnsTotalWidth:d,fixedColumnsOnLeft:o,fixedColumnsOnRight:r,hasFixedColumns:c,mainColumns:l,normalColumns:i,visibleColumns:a,getColumn:h,getColumnStyle:p,updateColumnWidth:v,onColumnSorted:m}}const Vfe=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:s,onMaybeEndReached:a})=>{const o=F({scrollLeft:0,scrollTop:0});function r(p){var v,m,g;const{scrollTop:b}=p;(v=t.value)==null||v.scrollTo(p),(m=n.value)==null||m.scrollToTop(b),(g=s.value)==null||g.scrollToTop(b)}function i(p){o.value=p,r(p)}function l(p){o.value.scrollTop=p,r(f(o))}function c(p){var v,m;o.value.scrollLeft=p,(m=(v=t.value)==null?void 0:v.scrollTo)==null||m.call(v,f(o))}function u(p){var v;i(p),(v=e.onScroll)==null||v.call(e,p)}function d({scrollTop:p}){const{scrollTop:v}=f(o);p!==v&&l(p)}function h(p,v="auto"){var m;(m=t.value)==null||m.scrollToRow(p,v)}return me(()=>f(o).scrollTop,(p,v)=>{p>v&&a()}),{scrollPos:o,scrollTo:i,scrollToLeft:c,scrollToTop:l,scrollToRow:h,onScroll:u,onVerticalScroll:d}},zfe=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:s,tableInstance:a,ns:o,isScrolling:r})=>{const i=_t(),{emit:l}=i,c=hn(!1),u=F(e.defaultExpandedRowKeys||[]),d=F(-1),h=hn(null),p=F({}),v=F({}),m=hn({}),g=hn({}),b=hn({}),C=k(()=>at(e.estimatedRowHeight));function w(M){var $;($=e.onRowsRendered)==null||$.call(e,M),M.rowCacheEnd>f(d)&&(d.value=M.rowCacheEnd)}function _({hovered:M,rowKey:$}){if(r.value)return;a.vnode.el.querySelectorAll(`[rowkey="${String($)}"]`).forEach(U=>{M?U.classList.add(o.is("hovered")):U.classList.remove(o.is("hovered"))})}function x({expanded:M,rowData:$,rowIndex:O,rowKey:B}){var U,J;const Y=[...f(u)],N=Y.indexOf(B);M?N===-1&&Y.push(B):N>-1&&Y.splice(N,1),u.value=Y,l("update:expandedRowKeys",Y),(U=e.onRowExpand)==null||U.call(e,{expanded:M,rowData:$,rowIndex:O,rowKey:B}),(J=e.onExpandedRowsChange)==null||J.call(e,Y),a.vnode.el.querySelector(`.${o.is("hovered")}[rowkey="${String(B)}"]`)&&ze(()=>_({hovered:!0,rowKey:B}))}const E=Xr(()=>{var M,$,O,B;c.value=!0,p.value={...f(p),...f(v)},T(f(h),!1),v.value={},h.value=null,(M=t.value)==null||M.forceUpdate(),($=n.value)==null||$.forceUpdate(),(O=s.value)==null||O.forceUpdate(),(B=i.proxy)==null||B.$forceUpdate(),c.value=!1},0);function T(M,$=!1){f(C)&&[t,n,s].forEach(O=>{const B=f(O);B&&B.resetAfterRowIndex(M,$)})}function R(M,$,O){const B=f(h);(B===null||B>O)&&(h.value=O),v.value[M]=$}function I({rowKey:M,height:$,rowIndex:O},B){B?B===GT.RIGHT?b.value[M]=$:m.value[M]=$:g.value[M]=$;const U=Math.max(...[m,b,g].map(J=>J.value[M]||0));f(p)[M]!==U&&(R(M,U,O),E())}return{expandedRowKeys:u,lastRenderedRowIndex:d,isDynamic:C,isResetting:c,rowHeights:p,resetAfterIndex:T,onRowExpanded:x,onRowHovered:_,onRowsRendered:w,onRowHeightChange:I}},Hfe=(e,{expandedRowKeys:t,lastRenderedRowIndex:n,resetAfterIndex:s})=>{const a=F({}),o=k(()=>{const i={},{data:l,rowKey:c}=e,u=f(t);if(!u||!u.length)return l;const d=[],h=new Set;u.forEach(v=>h.add(v));let p=l.slice();for(p.forEach(v=>i[v[c]]=0);p.length>0;){const v=p.shift();d.push(v),h.has(v[c])&&ke(v.children)&&v.children.length>0&&(p=[...v.children,...p],v.children.forEach(m=>i[m[c]]=i[v[c]]+1))}return a.value=i,d}),r=k(()=>{const{data:i,expandColumnKey:l}=e;return l?f(o):i});return me(r,(i,l)=>{i!==l&&(n.value=-1,s(0,!0))}),{data:r,depthMap:a}},Wfe=(e,t)=>e+t,C1=e=>ke(e)?e.reduce(Wfe,0):e,Ru=(e,t,n={})=>et(e)?e(t):e??n,dc=e=>(["width","maxWidth","minWidth","height"].forEach(t=>{e[t]=Pn(e[t])}),e),YT=e=>un(e)?t=>rt(e,t):e,jfe=(e,{columnsTotalWidth:t,rowsHeight:n,fixedColumnsOnLeft:s,fixedColumnsOnRight:a})=>{const o=k(()=>{const{fixed:b,width:C,vScrollbarSize:w}=e,_=C-w;return b?Math.max(Math.round(f(t)),_):_}),r=k(()=>{const{height:b=0,maxHeight:C=0,footerHeight:w,hScrollbarSize:_}=e;if(C>0){const x=f(h),E=f(n),R=f(d)+x+E+_;return Math.min(R,C-w)}return b-w}),i=k(()=>{const{maxHeight:b}=e,C=f(r);if(at(b)&&b>0)return C;const w=f(n)+f(d)+f(h);return Math.min(C,w)}),l=b=>b.width,c=k(()=>C1(f(s).map(l))),u=k(()=>C1(f(a).map(l))),d=k(()=>C1(e.headerHeight)),h=k(()=>{var b;return(((b=e.fixedData)==null?void 0:b.length)||0)*e.rowHeight}),p=k(()=>f(r)-f(d)-f(h)),v=k(()=>{const{style:b={},height:C,width:w}=e;return dc({...b,height:C,width:w})}),m=k(()=>dc({height:e.footerHeight})),g=k(()=>({top:Pn(f(d)),bottom:Pn(e.footerHeight),width:Pn(e.width)}));return{bodyWidth:o,fixedTableHeight:i,mainTableHeight:r,leftTableWidth:c,rightTableWidth:u,windowHeight:p,footerHeight:m,emptyStyle:g,rootStyle:v,headerHeight:d}};function Kfe(e){const t=F(),n=F(),s=F(),{columns:a,columnsStyles:o,columnsTotalWidth:r,fixedColumnsOnLeft:i,fixedColumnsOnRight:l,hasFixedColumns:c,mainColumns:u,onColumnSorted:d}=Bfe(e,Jt(e,"columns"),Jt(e,"fixed")),{scrollTo:h,scrollToLeft:p,scrollToTop:v,scrollToRow:m,onScroll:g,onVerticalScroll:b,scrollPos:C}=Vfe(e,{mainTableRef:t,leftTableRef:n,rightTableRef:s,onMaybeEndReached:te}),w=Ee("table-v2"),_=_t(),x=hn(!1),{expandedRowKeys:E,lastRenderedRowIndex:T,isDynamic:R,isResetting:I,rowHeights:M,resetAfterIndex:$,onRowExpanded:O,onRowHeightChange:B,onRowHovered:U,onRowsRendered:J}=zfe(e,{mainTableRef:t,leftTableRef:n,rightTableRef:s,tableInstance:_,ns:w,isScrolling:x}),{data:Y,depthMap:N}=Hfe(e,{expandedRowKeys:E,lastRenderedRowIndex:T,resetAfterIndex:$}),L=k(()=>{const{estimatedRowHeight:de,rowHeight:be}=e,_e=f(Y);return at(de)?Object.values(f(M)).reduce((Se,Ne)=>Se+Ne,0):_e.length*be}),{bodyWidth:V,fixedTableHeight:z,mainTableHeight:G,leftTableWidth:Q,rightTableWidth:K,windowHeight:ee,footerHeight:ae,emptyStyle:fe,rootStyle:ne,headerHeight:pe}=jfe(e,{columnsTotalWidth:r,fixedColumnsOnLeft:i,fixedColumnsOnRight:l,rowsHeight:L}),he=F(),ce=k(()=>{const de=f(Y).length===0;return ke(e.fixedData)?e.fixedData.length===0&&de:de});function Z(de){const{estimatedRowHeight:be,rowHeight:_e,rowKey:Se}=e;return be?f(M)[f(Y)[de][Se]]||be:_e}const H=F(!1);function te(){const{onEndReached:de}=e;if(!de)return;const{scrollTop:be}=f(C),_e=f(L),Se=f(ee),Ne=_e-(be+Se)+e.hScrollbarSize;!H.value&&f(T)>=0&&_e<=be+f(G)-f(pe)?(H.value=!0,de(Ne)):H.value=!1}return me(()=>f(L),()=>H.value=!1),me(()=>e.expandedRowKeys,de=>E.value=de,{deep:!0}),{columns:a,containerRef:he,mainTableRef:t,leftTableRef:n,rightTableRef:s,isDynamic:R,isResetting:I,isScrolling:x,hasFixedColumns:c,columnsStyles:o,columnsTotalWidth:r,data:Y,expandedRowKeys:E,depthMap:N,fixedColumnsOnLeft:i,fixedColumnsOnRight:l,mainColumns:u,bodyWidth:V,emptyStyle:fe,rootStyle:ne,footerHeight:ae,mainTableHeight:G,fixedTableHeight:z,leftTableWidth:Q,rightTableWidth:K,showEmpty:ce,getRowHeight:Z,onColumnSorted:d,onRowHovered:U,onRowExpanded:O,onRowsRendered:J,onRowHeightChange:B,scrollTo:h,scrollToLeft:p,scrollToTop:v,scrollToRow:m,onScroll:g,onVerticalScroll:b}}const W6=Symbol("tableV2"),XT="tableV2GridScrollLeft",JT=String,av={type:re(Array),required:!0},j6={type:re(Array)},ZT={...j6,required:!0},Ufe=String,QT={type:re(Array),default:()=>Rn([])},Iu={type:Number,required:!0},eM={type:re([String,Number,Symbol]),default:"id"},tM={type:re(Object)},Ou=Te({class:String,columns:av,columnsStyles:{type:re(Object),required:!0},depth:Number,expandColumnKey:Ufe,estimatedRowHeight:{...Au.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:re(Function)},onRowHover:{type:re(Function)},onRowHeightChange:{type:re(Function)},rowData:{type:re(Object),required:!0},rowEventHandlers:{type:re(Object)},rowIndex:{type:Number,required:!0},rowKey:eM,style:{type:re(Object)}}),K6={type:Number,required:!0},U6=Te({class:String,columns:av,fixedHeaderData:{type:re(Array)},headerData:{type:re(Array),required:!0},headerHeight:{type:re([Number,Array]),default:50},rowWidth:K6,rowHeight:{type:Number,default:50},height:K6,width:K6}),S1=Te({columns:av,data:ZT,fixedData:j6,estimatedRowHeight:Ou.estimatedRowHeight,width:Iu,height:Iu,headerWidth:Iu,headerHeight:U6.headerHeight,bodyWidth:Iu,rowHeight:Iu,cache:eT.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:Au.scrollbarAlwaysOn,scrollbarStartGap:Au.scrollbarStartGap,scrollbarEndGap:Au.scrollbarEndGap,class:JT,style:tM,containerStyle:tM,getRowHeight:{type:re(Function),required:!0},rowKey:Ou.rowKey,onRowsRendered:{type:re(Function)},onScroll:{type:re(Function)}}),qfe=Te({cache:S1.cache,estimatedRowHeight:Ou.estimatedRowHeight,rowKey:eM,headerClass:{type:re([String,Function])},headerProps:{type:re([Object,Function])},headerCellProps:{type:re([Object,Function])},headerHeight:U6.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:re([String,Function])},rowProps:{type:re([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:re([Object,Function])},columns:av,data:ZT,dataGetter:{type:re(Function)},fixedData:j6,expandColumnKey:Ou.expandColumnKey,expandedRowKeys:QT,defaultExpandedRowKeys:QT,class:JT,fixed:Boolean,style:{type:re(Object)},width:Iu,height:Iu,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:Au.hScrollbarSize,vScrollbarSize:Au.vScrollbarSize,scrollbarAlwaysOn:sT.alwaysOn,sortBy:{type:re(Object),default:()=>({})},sortState:{type:re(Object),default:void 0},onColumnSort:{type:re(Function)},onExpandedRowsChange:{type:re(Function)},onEndReached:{type:re(Function)},onRowExpand:Ou.onRowExpand,onScroll:S1.onScroll,onRowsRendered:S1.onRowsRendered,rowEventHandlers:Ou.rowEventHandlers}),Gfe=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:s},a)=>{let o=null,r=0,i=0;const l=(u,d)=>{const h=u<0&&t.value||u>0&&e.value,p=d<0&&s.value||d>0&&n.value;return h||p};return{hasReachedEdge:l,onWheel:u=>{qi(o);let d=u.deltaX,h=u.deltaY;Math.abs(d)>Math.abs(h)?h=0:d=0,u.shiftKey&&h!==0&&(d=h,h=0),!l(d,h)&&(r+=d,i+=h,u.preventDefault(),o=Jr(()=>{a(r,i),r=0,i=0}))}}},Yfe=(e,t,n,s,a,o,r)=>{const i=F(0),l=F(0);let c,u=0,d=0;const h=v=>{qi(c),i.value=v.touches[0].clientX,l.value=v.touches[0].clientY,u=0,d=0},p=v=>{v.preventDefault(),qi(c),u+=i.value-v.touches[0].clientX,d+=l.value-v.touches[0].clientY,i.value=v.touches[0].clientX,l.value=v.touches[0].clientY,c=Jr(()=>{const m=s.value-f(o),g=a.value-f(r),b=Math.min(t.value.scrollLeft+u,m),C=Math.min(t.value.scrollTop+d,g);n({scrollLeft:b,scrollTop:C}),u=0,d=0})};return Zt(e,"touchstart",h,{passive:!0}),Zt(e,"touchmove",p,{passive:!1}),{touchStartX:i,touchStartY:l,handleTouchStart:h,handleTouchMove:p}},nM=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:s,getColumnStopIndexForStartIndex:a,getEstimatedTotalHeight:o,getEstimatedTotalWidth:r,getColumnOffset:i,getRowOffset:l,getRowPosition:c,getRowStartIndexForOffset:u,getRowStopIndexForStartIndex:d,initCache:h,injectToInstance:p,validateProps:v})=>W({name:e??"ElVirtualList",props:Au,emits:[c1,u1],setup(m,{emit:g,expose:b,slots:C}){const w=Ee("vl");v(m);const _=_t(),x=F(h(m,_));p==null||p(_,x);const E=F(),T=F(),R=F(),I=F(),M=F({isScrolling:!1,scrollLeft:at(m.initScrollLeft)?m.initScrollLeft:0,scrollTop:at(m.initScrollTop)?m.initScrollTop:0,updateRequested:!1,xAxisScrollDir:Uf,yAxisScrollDir:Uf}),$=YA(),O=k(()=>Number.parseInt(`${m.height}`,10)),B=k(()=>Number.parseInt(`${m.width}`,10)),U=k(()=>{const{totalColumn:we,totalRow:Oe,columnCache:Pe}=m,{isScrolling:We,xAxisScrollDir:Qe,scrollLeft:it}=f(M);if(we===0||Oe===0)return[0,0,0,0];const De=s(m,it,f(x)),Ke=a(m,De,it,f(x)),nt=!We||Qe===d1?Math.max(1,Pe):1,Ft=!We||Qe===Uf?Math.max(1,Pe):1;return[Math.max(0,De-nt),Math.max(0,Math.min(we-1,Ke+Ft)),De,Ke]}),J=k(()=>{const{totalColumn:we,totalRow:Oe,rowCache:Pe}=m,{isScrolling:We,yAxisScrollDir:Qe,scrollTop:it}=f(M);if(we===0||Oe===0)return[0,0,0,0];const De=u(m,it,f(x)),Ke=d(m,De,it,f(x)),nt=!We||Qe===d1?Math.max(1,Pe):1,Ft=!We||Qe===Uf?Math.max(1,Pe):1;return[Math.max(0,De-nt),Math.max(0,Math.min(Oe-1,Ke+Ft)),De,Ke]}),Y=k(()=>o(m,f(x))),N=k(()=>r(m,f(x))),L=k(()=>{var we;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:m.direction,height:at(m.height)?`${m.height}px`:m.height,width:at(m.width)?`${m.width}px`:m.width},(we=m.style)!=null?we:{}]}),V=k(()=>{const we=`${f(N)}px`;return{height:`${f(Y)}px`,pointerEvents:f(M).isScrolling?"none":void 0,width:we,margin:0,boxSizing:"border-box"}}),z=()=>{const{totalColumn:we,totalRow:Oe}=m;if(we>0&&Oe>0){const[Ke,nt,Ft,Kt]=f(U),[ot,dt,kt,xe]=f(J);g(c1,{columnCacheStart:Ke,columnCacheEnd:nt,rowCacheStart:ot,rowCacheEnd:dt,columnVisibleStart:Ft,columnVisibleEnd:Kt,rowVisibleStart:kt,rowVisibleEnd:xe})}const{scrollLeft:Pe,scrollTop:We,updateRequested:Qe,xAxisScrollDir:it,yAxisScrollDir:De}=f(M);g(u1,{xAxisScrollDir:it,scrollLeft:Pe,yAxisScrollDir:De,scrollTop:We,updateRequested:Qe})},G=we=>{const{clientHeight:Oe,clientWidth:Pe,scrollHeight:We,scrollLeft:Qe,scrollTop:it,scrollWidth:De}=we.currentTarget,Ke=f(M);if(Ke.scrollTop===it&&Ke.scrollLeft===Qe)return;let nt=Qe;if(aT(m.direction))switch(p1()){case ev:nt=-Qe;break;case g6:nt=De-Pe-Qe;break}M.value={...Ke,isScrolling:!0,scrollLeft:nt,scrollTop:Math.max(0,Math.min(it,We-Oe)),updateRequested:!0,xAxisScrollDir:Tu(Ke.scrollLeft,nt),yAxisScrollDir:Tu(Ke.scrollTop,it)},ze(()=>H()),te(),z()},Q=(we,Oe)=>{const Pe=f(O),We=(Y.value-Pe)/Oe*we;ae({scrollTop:Math.min(Y.value-Pe,We)})},K=(we,Oe)=>{const Pe=f(B),We=(N.value-Pe)/Oe*we;ae({scrollLeft:Math.min(N.value-Pe,We)})},{onWheel:ee}=Gfe({atXStartEdge:k(()=>M.value.scrollLeft<=0),atXEndEdge:k(()=>M.value.scrollLeft>=N.value-f(B)),atYStartEdge:k(()=>M.value.scrollTop<=0),atYEndEdge:k(()=>M.value.scrollTop>=Y.value-f(O))},(we,Oe)=>{var Pe,We,Qe,it;(We=(Pe=T.value)==null?void 0:Pe.onMouseUp)==null||We.call(Pe),(it=(Qe=R.value)==null?void 0:Qe.onMouseUp)==null||it.call(Qe);const De=f(B),Ke=f(O);ae({scrollLeft:Math.min(M.value.scrollLeft+we,N.value-De),scrollTop:Math.min(M.value.scrollTop+Oe,Y.value-Ke)})});Zt(E,"wheel",ee,{passive:!1});const ae=({scrollLeft:we=M.value.scrollLeft,scrollTop:Oe=M.value.scrollTop})=>{we=Math.max(we,0),Oe=Math.max(Oe,0);const Pe=f(M);Oe===Pe.scrollTop&&we===Pe.scrollLeft||(M.value={...Pe,xAxisScrollDir:Tu(Pe.scrollLeft,we),yAxisScrollDir:Tu(Pe.scrollTop,Oe),scrollLeft:we,scrollTop:Oe,updateRequested:!0},ze(()=>H()),te(),z())},{touchStartX:fe,touchStartY:ne,handleTouchStart:pe,handleTouchMove:he}=Yfe(E,M,ae,N,Y,B,O),ce=(we=0,Oe=0,Pe=zo)=>{const We=f(M);Oe=Math.max(0,Math.min(Oe,m.totalColumn-1)),we=Math.max(0,Math.min(we,m.totalRow-1));const Qe=Bx(w.namespace.value),it=f(x),De=o(m,it),Ke=r(m,it);ae({scrollLeft:i(m,Oe,Pe,We.scrollLeft,it,Ke>m.width?Qe:0),scrollTop:l(m,we,Pe,We.scrollTop,it,De>m.height?Qe:0)})},Z=(we,Oe)=>{const{columnWidth:Pe,direction:We,rowHeight:Qe}=m,it=$.value(t&&Pe,t&&Qe,t&&We),De=`${we},${Oe}`;if(Ht(it,De))return it[De];{const[,Ke]=n(m,Oe,f(x)),nt=f(x),Ft=aT(We),[Kt,ot]=c(m,we,nt),[dt]=n(m,Oe,nt);return it[De]={position:"absolute",left:Ft?void 0:`${Ke}px`,right:Ft?`${Ke}px`:void 0,top:`${ot}px`,height:`${Kt}px`,width:`${dt}px`},it[De]}},H=()=>{M.value.isScrolling=!1,ze(()=>{$.value(-1,null,null)})};St(()=>{if(!jt)return;const{initScrollLeft:we,initScrollTop:Oe}=m,Pe=f(E);Pe&&(at(we)&&(Pe.scrollLeft=we),at(Oe)&&(Pe.scrollTop=Oe)),z()});const te=()=>{const{direction:we}=m,{scrollLeft:Oe,scrollTop:Pe,updateRequested:We}=f(M),Qe=f(E);if(We&&Qe){if(we===Gf)switch(p1()){case ev:{Qe.scrollLeft=-Oe;break}case m6:{Qe.scrollLeft=Oe;break}default:{const{clientWidth:it,scrollWidth:De}=Qe;Qe.scrollLeft=De-it-Oe;break}}else Qe.scrollLeft=Math.max(0,Oe);Qe.scrollTop=Math.max(0,Pe)}},{resetAfterColumnIndex:de,resetAfterRowIndex:be,resetAfter:_e}=_.proxy;b({windowRef:E,innerRef:I,getItemStyleCache:$,touchStartX:fe,touchStartY:ne,handleTouchStart:pe,handleTouchMove:he,scrollTo:ae,scrollToItem:ce,states:M,resetAfterColumnIndex:de,resetAfterRowIndex:be,resetAfter:_e});const Se=()=>{const{scrollbarAlwaysOn:we,scrollbarStartGap:Oe,scrollbarEndGap:Pe,totalColumn:We,totalRow:Qe}=m,it=f(B),De=f(O),Ke=f(N),nt=f(Y),{scrollLeft:Ft,scrollTop:Kt}=f(M),ot=rt(S6,{ref:T,alwaysOn:we,startGap:Oe,endGap:Pe,class:w.e("horizontal"),clientSize:it,layout:"horizontal",onScroll:K,ratio:it*100/Ke,scrollFrom:Ft/(Ke-it),total:Qe,visible:!0}),dt=rt(S6,{ref:R,alwaysOn:we,startGap:Oe,endGap:Pe,class:w.e("vertical"),clientSize:De,layout:"vertical",onScroll:Q,ratio:De*100/nt,scrollFrom:Kt/(nt-De),total:We,visible:!0});return{horizontalScrollbar:ot,verticalScrollbar:dt}},Ne=()=>{var we;const[Oe,Pe]=f(U),[We,Qe]=f(J),{data:it,totalColumn:De,totalRow:Ke,useIsScrolling:nt,itemKey:Ft}=m,Kt=[];if(Ke>0&&De>0)for(let ot=We;ot<=Qe;ot++)for(let dt=Oe;dt<=Pe;dt++){const kt=Ft({columnIndex:dt,data:it,rowIndex:ot});Kt.push(rt(He,{key:kt},(we=C.default)==null?void 0:we.call(C,{columnIndex:dt,data:it,isScrolling:nt?f(M).isScrolling:void 0,style:Z(ot,dt),rowIndex:ot})))}return Kt},Ve=()=>{const we=bt(m.innerElement),Oe=Ne();return[rt(we,wt(m.innerProps,{style:f(V),ref:I}),Xe(we)?Oe:{default:()=>Oe})]};return()=>{const we=bt(m.containerElement),{horizontalScrollbar:Oe,verticalScrollbar:Pe}=Se(),We=Ve();return rt("div",{key:0,class:w.e("wrapper"),role:m.role},[rt(we,{class:m.className,style:f(L),onScroll:G,ref:E},Xe(we)?We:{default:()=>We}),Oe,Pe])}}}),{max:x1,min:sM,floor:aM}=Math,Xfe={column:"columnWidth",row:"rowHeight"},q6={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},ol=(e,t,n,s)=>{const[a,o,r]=[n[s],e[Xfe[s]],n[q6[s]]];if(t>r){let i=0;if(r>=0){const l=a[r];i=l.offset+l.size}for(let l=r+1;l<=t;l++){const c=o(l);a[l]={offset:i,size:c},i+=c}n[q6[s]]=t}return a[t]},oM=(e,t,n,s,a,o)=>{for(;n<=s;){const r=n+aM((s-n)/2),i=ol(e,r,t,o).offset;if(i===a)return r;i{const o=a==="column"?e.totalColumn:e.totalRow;let r=1;for(;n{const[a,o]=[t[s],t[q6[s]]];return(o>0?a[o].offset:0)>=n?oM(e,t,0,o,n,s):Jfe(e,t,x1(0,o),n,s)},iM=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:s})=>{let a=0;if(n>=e&&(n=e-1),n>=0){const i=s[n];a=i.offset+i.size}const r=(e-n-1)*t;return a+r},lM=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:s})=>{let a=0;if(s>e&&(s=e-1),s>=0){const i=t[s];a=i.offset+i.size}const r=(e-s-1)*n;return a+r},Zfe={column:lM,row:iM},cM=(e,t,n,s,a,o,r)=>{const[i,l]=[o==="row"?e.height:e.width,Zfe[o]],c=ol(e,t,a,o),u=l(e,a),d=x1(0,sM(u-i,c.offset)),h=x1(0,c.offset-i+r+c.size);switch(n===f1&&(s>=h-i&&s<=d+i?n=zo:n=ri),n){case Zp:return d;case Qp:return h;case ri:return Math.round(h+(d-h)/2);case zo:default:return s>=h&&s<=d?s:h>d||s{const s=ol(e,t,n,"column");return[s.size,s.offset]},getRowPosition:(e,t,n)=>{const s=ol(e,t,n,"row");return[s.size,s.offset]},getColumnOffset:(e,t,n,s,a,o)=>cM(e,t,n,s,a,"column",o),getRowOffset:(e,t,n,s,a,o)=>cM(e,t,n,s,a,"row",o),getColumnStartIndexForOffset:(e,t,n)=>rM(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,s)=>{const a=ol(e,t,s,"column"),o=n+e.width;let r=a.offset+a.size,i=t;for(;irM(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,s)=>{const{totalRow:a,height:o}=e,r=ol(e,t,s,"row"),i=n+o;let l=r.size+r.offset,c=t;for(;c{const n=({columnIndex:o,rowIndex:r},i)=>{var l,c;i=$t(i)?!0:i,at(o)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,o-1)),at(r)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,r-1)),(l=e.exposed)==null||l.getItemStyleCache.value(-1,null,null),i&&((c=e.proxy)==null||c.$forceUpdate())},s=(o,r)=>{n({columnIndex:o},r)},a=(o,r)=>{n({rowIndex:o},r)};Object.assign(e.proxy,{resetAfterColumnIndex:s,resetAfterRowIndex:a,resetAfter:n})},initCache:({estimatedColumnWidth:e=v6,estimatedRowHeight:t=v6})=>({column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{}}),ehe=nM({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:e},t)=>[e,t*e],getRowPosition:({rowHeight:e},t)=>[e,t*e],getEstimatedTotalHeight:({totalRow:e,rowHeight:t})=>t*e,getEstimatedTotalWidth:({totalColumn:e,columnWidth:t})=>t*e,getColumnOffset:({totalColumn:e,columnWidth:t,width:n},s,a,o,r,i)=>{n=Number(n);const l=Math.max(0,e*t-n),c=Math.min(l,s*t),u=Math.max(0,s*t-n+i+t);switch(a==="smart"&&(o>=u-n&&o<=c+n?a=zo:a=ri),a){case Zp:return c;case Qp:return u;case ri:{const d=Math.round(u+(c-u)/2);return dl+Math.floor(n/2)?l:d}case zo:default:return o>=u&&o<=c?o:u>c||o{t=Number(t);const l=Math.max(0,n*e-t),c=Math.min(l,s*e),u=Math.max(0,s*e-t+i+e);switch(a===f1&&(o>=u-t&&o<=c+t?a=zo:a=ri),a){case Zp:return c;case Qp:return u;case ri:{const d=Math.round(u+(c-u)/2);return dl+Math.floor(t/2)?l:d}case zo:default:return o>=u&&o<=c?o:u>c||oMath.max(0,Math.min(t-1,Math.floor(n/e))),getColumnStopIndexForStartIndex:({columnWidth:e,totalColumn:t,width:n},s,a)=>{const o=s*e,r=Math.ceil((n+a-o)/e);return Math.max(0,Math.min(t-1,s+r-1))},getRowStartIndexForOffset:({rowHeight:e,totalRow:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getRowStopIndexForStartIndex:({rowHeight:e,totalRow:t,height:n},s,a)=>{const o=s*e,r=Math.ceil((n+a-o)/e);return Math.max(0,Math.min(t-1,s+r-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:e,rowHeight:t})=>{}}),the=W({name:"ElTableV2Header",props:U6,setup(e,{slots:t,expose:n}){const s=Ee("table-v2"),a=je(XT),o=F(),r=k(()=>dc({width:e.width,height:e.height})),i=k(()=>dc({width:e.rowWidth,height:e.height})),l=k(()=>_s(f(e.headerHeight))),c=h=>{const p=f(o);ze(()=>{p!=null&&p.scroll&&p.scroll({left:h})})},u=()=>{const h=s.e("fixed-header-row"),{columns:p,fixedHeaderData:v,rowHeight:m}=e;return v==null?void 0:v.map((g,b)=>{var C;const w=dc({height:m,width:"100%"});return(C=t.fixed)==null?void 0:C.call(t,{class:h,columns:p,rowData:g,rowIndex:-(b+1),style:w})})},d=()=>{const h=s.e("dynamic-header-row"),{columns:p}=e;return f(l).map((v,m)=>{var g;const b=dc({width:"100%",height:v});return(g=t.dynamic)==null?void 0:g.call(t,{class:h,columns:p,headerIndex:m,style:b})})};return or(()=>{a!=null&&a.value&&c(a.value)}),n({scrollToLeft:c}),()=>{if(!(e.height<=0))return j("div",{ref:o,class:e.class,style:f(r),role:"rowgroup"},[j("div",{style:f(i),class:s.e("header")},[d(),u()])])}}}),nhe="ElTableV2Grid",she=e=>{const t=F(),n=F(),s=F(0),a=k(()=>{const{data:g,rowHeight:b,estimatedRowHeight:C}=e;if(!C)return g.length*b}),o=k(()=>{const{fixedData:g,rowHeight:b}=e;return((g==null?void 0:g.length)||0)*b}),r=k(()=>C1(e.headerHeight)),i=k(()=>{const{height:g}=e;return Math.max(0,g-f(r)-f(o))}),l=k(()=>f(r)+f(o)>0),c=({data:g,rowIndex:b})=>g[b][e.rowKey];function u({rowCacheStart:g,rowCacheEnd:b,rowVisibleStart:C,rowVisibleEnd:w}){var _;(_=e.onRowsRendered)==null||_.call(e,{rowCacheStart:g,rowCacheEnd:b,rowVisibleStart:C,rowVisibleEnd:w})}function d(g,b){var C;(C=n.value)==null||C.resetAfterRowIndex(g,b)}function h(g,b){const C=f(t),w=f(n);ht(g)?(C==null||C.scrollToLeft(g.scrollLeft),s.value=g.scrollLeft,w==null||w.scrollTo(g)):(C==null||C.scrollToLeft(g),s.value=g,w==null||w.scrollTo({scrollLeft:g,scrollTop:b}))}function p(g){var b;(b=f(n))==null||b.scrollTo({scrollTop:g})}function v(g,b){const C=f(n);if(!C)return;const w=s.value;C.scrollToItem(g,0,b),w&&h({scrollLeft:w})}function m(){var g,b;(g=f(n))==null||g.$forceUpdate(),(b=f(t))==null||b.$forceUpdate()}return me(()=>e.bodyWidth,()=>{var g;at(e.estimatedRowHeight)&&((g=n.value)==null||g.resetAfter({columnIndex:0},!1))}),{bodyRef:n,forceUpdate:m,fixedRowHeight:o,gridHeight:i,hasHeader:l,headerHeight:r,headerRef:t,totalHeight:a,itemKey:c,onItemRendered:u,resetAfterRowIndex:d,scrollTo:h,scrollToTop:p,scrollToRow:v,scrollLeft:s}},G6=W({name:nhe,props:S1,setup(e,{slots:t,expose:n}){const{ns:s}=je(W6),{bodyRef:a,fixedRowHeight:o,gridHeight:r,hasHeader:i,headerRef:l,headerHeight:c,totalHeight:u,forceUpdate:d,itemKey:h,onItemRendered:p,resetAfterRowIndex:v,scrollTo:m,scrollToTop:g,scrollToRow:b,scrollLeft:C}=she(e);Tt(XT,C),U0(async()=>{var _;await ze();const x=(_=a.value)==null?void 0:_.states.scrollTop;x&&g(Math.round(x)+1)}),n({forceUpdate:d,totalHeight:u,scrollTo:m,scrollToTop:g,scrollToRow:b,resetAfterRowIndex:v});const w=()=>e.bodyWidth;return()=>{const{cache:_,columns:x,data:E,fixedData:T,useIsScrolling:R,scrollbarAlwaysOn:I,scrollbarEndGap:M,scrollbarStartGap:$,style:O,rowHeight:B,bodyWidth:U,estimatedRowHeight:J,headerWidth:Y,height:N,width:L,getRowHeight:V,onScroll:z}=e,G=at(J),Q=G?Qfe:ehe,K=f(c);return j("div",{role:"table",class:[s.e("table"),e.class],style:O},[j(Q,{ref:a,data:E,useIsScrolling:R,itemKey:h,columnCache:0,columnWidth:G?w:U,totalColumn:1,totalRow:E.length,rowCache:_,rowHeight:G?V:B,width:L,height:f(r),class:s.e("body"),role:"rowgroup",scrollbarStartGap:$,scrollbarEndGap:M,scrollbarAlwaysOn:I,onScroll:z,onItemRendered:p,perfMode:!1},{default:ee=>{var ae;const fe=E[ee.rowIndex];return(ae=t.row)==null?void 0:ae.call(t,{...ee,columns:x,rowData:fe})}}),f(i)&&j(the,{ref:l,class:s.e("header-wrapper"),columns:x,headerData:E,headerHeight:e.headerHeight,fixedHeaderData:T,rowWidth:Y,rowHeight:B,width:L,height:Math.min(K+f(o),N)},{dynamic:t.header,fixed:t.row})])}}});function ahe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}const ohe=(e,{slots:t})=>{const{mainTableRef:n,...s}=e;return j(G6,wt({ref:n},s),ahe(t)?t:{default:()=>[t]})};function rhe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}const ihe=(e,{slots:t})=>{if(!e.columns.length)return;const{leftTableRef:n,...s}=e;return j(G6,wt({ref:n},s),rhe(t)?t:{default:()=>[t]})};function lhe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}const che=(e,{slots:t})=>{if(!e.columns.length)return;const{rightTableRef:n,...s}=e;return j(G6,wt({ref:n},s),lhe(t)?t:{default:()=>[t]})},uhe=e=>{const{isScrolling:t}=je(W6),n=F(!1),s=F(),a=k(()=>at(e.estimatedRowHeight)&&e.rowIndex>=0),o=(l=!1)=>{const c=f(s);if(!c)return;const{columns:u,onRowHeightChange:d,rowKey:h,rowIndex:p,style:v}=e,{height:m}=c.getBoundingClientRect();n.value=!0,ze(()=>{if(l||m!==Number.parseInt(v.height)){const g=u[0],b=(g==null?void 0:g.placeholderSign)===sv;d==null||d({rowKey:h,height:m,rowIndex:p},g&&!b&&g.fixed)}})},r=k(()=>{const{rowData:l,rowIndex:c,rowKey:u,onRowHover:d}=e,h=e.rowEventHandlers||{},p={};return Object.entries(h).forEach(([v,m])=>{et(m)&&(p[v]=g=>{m({event:g,rowData:l,rowIndex:c,rowKey:u})})}),d&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:v,hovered:m})=>{const g=p[v];p[v]=b=>{d({event:b,hovered:m,rowData:l,rowIndex:c,rowKey:u}),g==null||g(b)}}),p}),i=l=>{const{onRowExpand:c,rowData:u,rowIndex:d,rowKey:h}=e;c==null||c({expanded:l,rowData:u,rowIndex:d,rowKey:h})};return St(()=>{f(a)&&o(!0)}),{isScrolling:t,measurable:a,measured:n,rowRef:s,eventHandlers:r,onExpand:i}},dhe=W({name:"ElTableV2TableRow",props:Ou,setup(e,{expose:t,slots:n,attrs:s}){const{eventHandlers:a,isScrolling:o,measurable:r,measured:i,rowRef:l,onExpand:c}=uhe(e);return t({onExpand:c}),()=>{const{columns:u,columnsStyles:d,expandColumnKey:h,depth:p,rowData:v,rowIndex:m,style:g}=e;let b=u.map((C,w)=>{const _=ke(v.children)&&v.children.length>0&&C.key===h;return n.cell({column:C,columns:u,columnIndex:w,depth:p,style:d[C.key],rowData:v,rowIndex:m,isScrolling:f(o),expandIconProps:_?{rowData:v,rowIndex:m,onExpand:c}:void 0})});if(n.row&&(b=n.row({cells:b.map(C=>ke(C)&&C.length===1?C[0]:C),style:g,columns:u,depth:p,rowData:v,rowIndex:m,isScrolling:f(o)})),f(r)){const{height:C,...w}=g||{},_=f(i);return j("div",wt({ref:l,class:e.class,style:_?g:w,role:"row"},s,f(a)),[b])}return j("div",wt(s,{ref:l,class:e.class,style:g,role:"row"},f(a)),[b])}}});function fhe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}const hhe=(e,{slots:t})=>{const{columns:n,columnsStyles:s,depthMap:a,expandColumnKey:o,expandedRowKeys:r,estimatedRowHeight:i,hasFixedColumns:l,rowData:c,rowIndex:u,style:d,isScrolling:h,rowProps:p,rowClass:v,rowKey:m,rowEventHandlers:g,ns:b,onRowHovered:C,onRowExpanded:w}=e,_=Ru(v,{columns:n,rowData:c,rowIndex:u},""),x=Ru(p,{columns:n,rowData:c,rowIndex:u}),E=c[m],T=a[E]||0,R=!!o,I=u<0,M=[b.e("row"),_,b.is("expanded",R&&r.includes(E)),b.is("fixed",!T&&I),b.is("customized",!!t.row),{[b.e(`row-depth-${T}`)]:R&&u>=0}],$=l?C:void 0,O={...x,columns:n,columnsStyles:s,class:M,depth:T,expandColumnKey:o,estimatedRowHeight:I?void 0:i,isScrolling:h,rowIndex:u,rowData:c,rowKey:E,rowEventHandlers:g,style:d};return j(dhe,wt(O,{onRowExpand:w,onMouseenter:J=>{$==null||$({hovered:!0,rowKey:E,event:J,rowData:c,rowIndex:u})},onMouseleave:J=>{$==null||$({hovered:!1,rowKey:E,event:J,rowData:c,rowIndex:u})},rowkey:E}),fhe(t)?t:{default:()=>[t]})},Y6=(e,{slots:t})=>{var n;const{cellData:s,style:a}=e,o=((n=s==null?void 0:s.toString)==null?void 0:n.call(s))||"",r=ue(t,"default",e,()=>[o]);return j("div",{class:e.class,title:o,style:a},[r])};Y6.displayName="ElTableV2Cell",Y6.inheritAttrs=!1;const uM=e=>{const{expanded:t,expandable:n,onExpand:s,style:a,size:o,ariaLabel:r}=e,i={onClick:n?()=>s(!t):void 0,ariaLabel:r,ariaExpanded:t,class:e.class};return j("button",wt(i,{type:"button"}),[j(Je,{size:o,style:a},{default:()=>[j(Ls,null,null)]})])};uM.inheritAttrs=!1;const X6=({columns:e,column:t,columnIndex:n,depth:s,expandIconProps:a,isScrolling:o,rowData:r,rowIndex:i,style:l,expandedRowKeys:c,ns:u,t:d,cellProps:h,expandColumnKey:p,indentSize:v,iconSize:m,rowKey:g},{slots:b})=>{const C=dc(l);if(t.placeholderSign===sv)return j("div",{class:u.em("row-cell","placeholder"),style:C},null);const{cellRenderer:w,dataKey:_,dataGetter:x}=t,E=et(x)?x({columns:e,column:t,columnIndex:n,rowData:r,rowIndex:i}):Yn(r,_??""),T=Ru(h,{cellData:E,columns:e,column:t,columnIndex:n,rowIndex:i,rowData:r}),R={class:u.e("cell-text"),columns:e,column:t,columnIndex:n,cellData:E,isScrolling:o,rowData:r,rowIndex:i},I=YT(w),M=I?I(R):ue(b,"default",R,()=>[j(Y6,R,null)]),$=[u.e("row-cell"),t.class,t.align===nv.CENTER&&u.is("align-center"),t.align===nv.RIGHT&&u.is("align-right")],O=i>=0&&p&&t.key===p,B=i>=0&&c.includes(r[g]);let U;const J=`margin-inline-start: ${s*v}px;`;return O&&(ht(a)?U=j(uM,wt(a,{class:[u.e("expand-icon"),u.is("expanded",B)],size:m,expanded:B,ariaLabel:d(B?"el.table.collapseRowLabel":"el.table.expandRowLabel"),style:J,expandable:!0}),null):U=j("div",{style:[J,`width: ${m}px; height: ${m}px;`].join(" ")},null)),j("div",wt({class:$,style:C},T,{role:"cell"}),[U,M])};X6.inheritAttrs=!1;const phe=Te({class:String,columns:av,columnsStyles:{type:re(Object),required:!0},headerIndex:Number,style:{type:re(Object)}}),vhe=W({name:"ElTableV2HeaderRow",props:phe,setup(e,{slots:t}){return()=>{const{columns:n,columnsStyles:s,headerIndex:a,style:o}=e;let r=n.map((i,l)=>t.cell({columns:n,column:i,columnIndex:l,headerIndex:a,style:s[i.key]}));return t.header&&(r=t.header({cells:r.map(i=>ke(i)&&i.length===1?i[0]:i),columns:n,headerIndex:a})),j("div",{class:e.class,style:o,role:"row"},[r])}}});function mhe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}const ghe=({columns:e,columnsStyles:t,headerIndex:n,style:s,headerClass:a,headerProps:o,ns:r},{slots:i})=>{const l={columns:e,headerIndex:n},c=[r.e("header-row"),Ru(a,l,""),r.is("customized",!!i.header)],u={...Ru(o,l),columnsStyles:t,class:c,columns:e,headerIndex:n,style:s};return j(vhe,u,mhe(i)?i:{default:()=>[i]})},J6=(e,{slots:t})=>ue(t,"default",e,()=>{var n,s;return[j("div",{class:e.class,title:(n=e.column)==null?void 0:n.title},[(s=e.column)==null?void 0:s.title])]});J6.displayName="ElTableV2HeaderCell",J6.inheritAttrs=!1;const bhe=e=>{const{sortOrder:t}=e;return j("button",{type:"button","aria-label":e.ariaLabel,class:e.class},[j(Je,{size:14},{default:()=>[t===Pu.ASC?j(c9,null,null):j(l9,null,null)]})])},dM=(e,{slots:t})=>{const{column:n,ns:s,t:a,style:o,onColumnSorted:r}=e,i=dc(o);if(n.placeholderSign===sv)return j("div",{class:s.em("header-row-cell","placeholder"),style:i},null);const{headerCellRenderer:l,headerClass:c,sortable:u}=n,d={...e,class:s.e("header-cell-text")},h=YT(l),p=h?h(d):ue(t,"default",d,()=>[j(J6,d,null)]),{sortBy:v,sortState:m,headerCellProps:g}=e;let b,C,w;if(m){const E=m[n.key];b=!!H6[E],C=b?E:Pu.ASC}else b=n.key===v.key,C=b?v.order:Pu.ASC;C===Pu.ASC?w="ascending":C===Pu.DESC?w="descending":w=void 0;const _=[s.e("header-cell"),Ru(c,e,""),n.align===nv.CENTER&&s.is("align-center"),n.align===nv.RIGHT&&s.is("align-right"),u&&s.is("sortable")],x={...Ru(g,e),onClick:n.sortable?r:void 0,ariaSort:u?w:void 0,class:_,style:i,"data-key":n.key};return j("div",wt(x,{role:"columnheader"}),[p,u&&j(bhe,{class:[s.e("sort-icon"),b&&s.is("sorting")],sortOrder:C,ariaLabel:a("el.table.sortLabel",{column:n.title||""})},null)])},fM=(e,{slots:t})=>{var n;return j("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};fM.displayName="ElTableV2Footer";const hM=(e,{slots:t})=>{const n=ue(t,"default",{},()=>[j(EA,null,null)]);return j("div",{class:e.class,style:e.style},[n])};hM.displayName="ElTableV2Empty";const pM=(e,{slots:t})=>{var n;return j("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};pM.displayName="ElTableV2Overlay";function ov(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}const yhe=W({name:"ElTableV2",props:qfe,setup(e,{slots:t,expose:n}){const s=Ee("table-v2"),{t:a}=It(),{columnsStyles:o,fixedColumnsOnLeft:r,fixedColumnsOnRight:i,mainColumns:l,mainTableHeight:c,fixedTableHeight:u,leftTableWidth:d,rightTableWidth:h,data:p,depthMap:v,expandedRowKeys:m,hasFixedColumns:g,mainTableRef:b,leftTableRef:C,rightTableRef:w,isDynamic:_,isResetting:x,isScrolling:E,bodyWidth:T,emptyStyle:R,rootStyle:I,footerHeight:M,showEmpty:$,scrollTo:O,scrollToLeft:B,scrollToTop:U,scrollToRow:J,getRowHeight:Y,onColumnSorted:N,onRowHeightChange:L,onRowHovered:V,onRowExpanded:z,onRowsRendered:G,onScroll:Q,onVerticalScroll:K}=Kfe(e);return n({scrollTo:O,scrollToLeft:B,scrollToTop:U,scrollToRow:J}),Tt(W6,{ns:s,isResetting:x,isScrolling:E}),()=>{const{cache:ee,cellProps:ae,estimatedRowHeight:fe,expandColumnKey:ne,fixedData:pe,headerHeight:he,headerClass:ce,headerProps:Z,headerCellProps:H,sortBy:te,sortState:de,rowHeight:be,rowClass:_e,rowEventHandlers:Se,rowKey:Ne,rowProps:Ve,scrollbarAlwaysOn:$e,indentSize:we,iconSize:Oe,useIsScrolling:Pe,vScrollbarSize:We,width:Qe}=e,it=f(p),De={cache:ee,class:s.e("main"),columns:f(l),data:it,fixedData:pe,estimatedRowHeight:fe,bodyWidth:f(T),headerHeight:he,headerWidth:f(T),height:f(c),mainTableRef:b,rowKey:Ne,rowHeight:be,scrollbarAlwaysOn:$e,scrollbarStartGap:2,scrollbarEndGap:We,useIsScrolling:Pe,width:Qe,getRowHeight:Y,onRowsRendered:G,onScroll:Q},Ke=f(d),nt=f(u),Ft={cache:ee,class:s.e("left"),columns:f(r),data:it,fixedData:pe,estimatedRowHeight:fe,leftTableRef:C,rowHeight:be,bodyWidth:Ke,headerWidth:Ke,headerHeight:he,height:nt,rowKey:Ne,scrollbarAlwaysOn:$e,scrollbarStartGap:2,scrollbarEndGap:We,useIsScrolling:Pe,width:Ke,getRowHeight:Y,onScroll:K},Kt=f(h),ot={cache:ee,class:s.e("right"),columns:f(i),data:it,fixedData:pe,estimatedRowHeight:fe,rightTableRef:w,rowHeight:be,bodyWidth:Kt,headerWidth:Kt,headerHeight:he,height:nt,rowKey:Ne,scrollbarAlwaysOn:$e,scrollbarStartGap:2,scrollbarEndGap:We,width:Kt,style:`${s.cssVarName("table-scrollbar-size")}: ${We}px`,useIsScrolling:Pe,getRowHeight:Y,onScroll:K},dt=f(o),kt={ns:s,depthMap:f(v),columnsStyles:dt,expandColumnKey:ne,expandedRowKeys:f(m),estimatedRowHeight:fe,hasFixedColumns:f(g),rowProps:Ve,rowClass:_e,rowKey:Ne,rowEventHandlers:Se,onRowHovered:V,onRowExpanded:z,onRowHeightChange:L},xe={cellProps:ae,expandColumnKey:ne,indentSize:we,iconSize:Oe,rowKey:Ne,expandedRowKeys:f(m),ns:s,t:a},qe={ns:s,headerClass:ce,headerProps:Z,columnsStyles:dt},ye={ns:s,t:a,sortBy:te,sortState:de,headerCellProps:H,onColumnSorted:N},Ye={row:wn=>j(hhe,wt(wn,kt),{row:t.row,cell:Sn=>{let Fe;return t.cell?j(X6,wt(Sn,xe,{style:dt[Sn.column.key]}),ov(Fe=t.cell(Sn))?Fe:{default:()=>[Fe]}):j(X6,wt(Sn,xe,{style:dt[Sn.column.key]}),null)}}),header:wn=>j(ghe,wt(wn,qe),{header:t.header,cell:Sn=>{let Fe;return t["header-cell"]?j(dM,wt(Sn,ye,{style:dt[Sn.column.key]}),ov(Fe=t["header-cell"](Sn))?Fe:{default:()=>[Fe]}):j(dM,wt(Sn,ye,{style:dt[Sn.column.key]}),null)}})},Ct=[e.class,s.b(),s.e("root"),s.is("dynamic",f(_))],Xt={class:s.e("footer"),style:f(M)};return j("div",{class:Ct,style:f(I)},[j(ohe,De,ov(Ye)?Ye:{default:()=>[Ye]}),j(ihe,Ft,ov(Ye)?Ye:{default:()=>[Ye]}),j(che,ot,ov(Ye)?Ye:{default:()=>[Ye]}),t.footer&&j(fM,Xt,{default:t.footer}),f($)&&j(hM,{class:s.e("empty"),style:f(R)},{default:t.empty}),t.overlay&&j(pM,{class:s.e("overlay")},{default:t.overlay})])}}}),whe=Te({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:re(Function)}}),_he=e=>{const t=F(),n=F(0),s=F(0);let a;return St(()=>{a=bn(t,([o])=>{const{width:r,height:i}=o.contentRect,{paddingLeft:l,paddingRight:c,paddingTop:u,paddingBottom:d}=getComputedStyle(o.target),h=Number.parseInt(l)||0,p=Number.parseInt(c)||0,v=Number.parseInt(u)||0,m=Number.parseInt(d)||0;n.value=r-h-p,s.value=i-v-m}).stop}),Gt(()=>{a==null||a()}),me([n,s],([o,r])=>{var i;(i=e.onResize)==null||i.call(e,{width:o,height:r})}),{sizer:t,width:n,height:s}},Che=W({name:"ElAutoResizer",props:whe,setup(e,{slots:t}){const n=Ee("auto-resizer"),{height:s,width:a,sizer:o}=_he(e),r={width:"100%",height:"100%"};return()=>{var i;return j("div",{ref:o,class:n.b(),style:r},[(i=t.default)==null?void 0:i.call(t,{height:s.value,width:a.value})])}}}),She=pt(yhe),xhe=pt(Che),E1=Symbol("tabsRootContextKey"),Ehe=Te({tabs:{type:re(Array),default:()=>Rn([])},tabRefs:{type:re(Object),default:()=>Rn({})}}),vM="ElTabBar";var khe=W({name:vM,__name:"tab-bar",props:Ehe,setup(e,{expose:t}){const n=e,s=je(E1);s||Xn(vM,"");const a=Ee("tabs"),o=F(),r=F(),i=k(()=>{var p;return $t(s.props.defaultValue)||!!((p=r.value)!=null&&p.transform)}),l=()=>{let p=0,v=0;const m=["top","bottom"].includes(s.props.tabPosition)?"width":"height",g=m==="width"?"x":"y",b=g==="x"?"left":"top";return n.tabs.every(C=>{if($t(C.paneName))return!1;const w=n.tabRefs[C.paneName];if(!w)return!1;if(!C.active)return!0;p=w[`offset${rc(b)}`],v=w[`client${rc(m)}`];const _=window.getComputedStyle(w);return m==="width"&&(v-=Number.parseFloat(_.paddingLeft)+Number.parseFloat(_.paddingRight),p+=Number.parseFloat(_.paddingLeft)),!1}),{[m]:`${v}px`,transform:`translate${rc(g)}(${p}px)`}},c=()=>r.value=l(),u=[],d=()=>{u.forEach(p=>p.stop()),u.length=0,Object.values(n.tabRefs).forEach(p=>{u.push(bn(p,c))})};me(()=>n.tabs,async()=>{await ze(),c(),d()},{immediate:!0});const h=bn(o,()=>c());return Gt(()=>{u.forEach(p=>p.stop()),u.length=0,h.stop()}),t({ref:o,update:c}),(p,v)=>i.value?(S(),P("div",{key:0,ref_key:"barRef",ref:o,class:D([f(a).e("active-bar"),f(a).is(f(s).props.tabPosition)]),style:tt(r.value)},null,6)):ie("v-if",!0)}});const Ahe=Te({panes:{type:re(Array),default:()=>Rn([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean,tabindex:{type:[String,Number],default:void 0}}),The={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},mM="ElTabNav",Mhe=W({name:mM,props:Ahe,emits:The,setup(e,{expose:t,emit:n}){const s=je(E1);s||Xn(mM,"");const a=Ee("tabs"),o=qV(),r=YV(),i=F(),l=F(),c=F(),u=F({}),d=F(),h=F(!1),p=F(0),v=F(!1),m=F(!0),g=hn(),b=k(()=>["top","bottom"].includes(s.props.tabPosition)),C=k(()=>b.value?"width":"height"),w=k(()=>({transform:`translate${C.value==="width"?"X":"Y"}(-${p.value}px)`})),{width:_,height:x}=Py(i),{width:E,height:T}=Py(l,{width:0,height:0},{box:"border-box"}),R=k(()=>b.value?_.value:x.value),I=k(()=>b.value?E.value:T.value),{onWheel:M}=JA({atStartEdge:k(()=>p.value<=0),atEndEdge:k(()=>I.value-p.value<=R.value),layout:k(()=>b.value?"horizontal":"vertical")},z=>{p.value=gu(p.value+z,0,I.value-R.value)}),$=()=>{if(!i.value)return;const z=i.value[`offset${rc(C.value)}`],G=p.value;if(!G)return;const Q=G>z?G-z:0;p.value=Q},O=()=>{if(!i.value||!l.value)return;const z=l.value[`offset${rc(C.value)}`],G=i.value[`offset${rc(C.value)}`],Q=p.value;if(z-Q<=G)return;const K=z-Q>G*2?Q+G:z-G;p.value=K},B=async()=>{const z=l.value;if(!h.value||!c.value||!i.value||!z)return;await ze();const G=u.value[e.currentName];if(!G)return;const Q=i.value,K=G.getBoundingClientRect(),ee=Q.getBoundingClientRect(),ae=b.value?z.offsetWidth-ee.width:z.offsetHeight-ee.height,fe=p.value;let ne=fe;b.value?(K.leftee.right&&(ne=fe+K.right-ee.right)):(K.topee.bottom&&(ne=fe+(K.bottom-ee.bottom))),ne=Math.max(ne,0),p.value=Math.min(ne,ae)},U=()=>{var z;if(!l.value||!i.value)return;e.stretch&&((z=d.value)==null||z.update());const G=l.value[`offset${rc(C.value)}`],Q=i.value[`offset${rc(C.value)}`],K=p.value;Q0&&(p.value=0))},J=z=>{const G=an(z);let Q=0;switch(G){case Ae.left:case Ae.up:Q=-1;break;case Ae.right:case Ae.down:Q=1;break;default:return}const K=Array.from(z.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let ae=K.indexOf(z.target)+Q;ae<0?ae=K.length-1:ae>=K.length&&(ae=0),K[ae].focus({preventScroll:!0}),K[ae].click(),Y()},Y=()=>{m.value&&(v.value=!0)},N=()=>v.value=!1,L=(z,G)=>{u.value[G]=z},V=async()=>{await ze();const z=u.value[e.currentName];z==null||z.focus({preventScroll:!0})};return me(o,z=>{z==="hidden"?m.value=!1:z==="visible"&&setTimeout(()=>m.value=!0,50)}),me(r,z=>{z?setTimeout(()=>m.value=!0,50):m.value=!1}),bn(c,()=>{Jr(U)}),St(()=>setTimeout(()=>B(),0)),or(()=>U()),t({scrollToActiveTab:B,removeFocus:N,focusActiveTab:V,tabListRef:l,tabBarRef:d,scheduleRender:()=>L2(g)}),()=>{const z=h.value?[j("span",{class:[a.e("nav-prev"),a.is("disabled",!h.value.prev)],onClick:$},[j(Je,null,{default:()=>[j(No,null,null)]})]),j("span",{class:[a.e("nav-next"),a.is("disabled",!h.value.next)],onClick:O},[j(Je,null,{default:()=>[j(Ls,null,null)]})])]:null,G=e.panes.map((Q,K)=>{var ee,ae,fe,ne,pe;const he=Q.uid,ce=Q.props.disabled,Z=(ae=(ee=Q.props.name)!=null?ee:Q.index)!=null?ae:`${K}`,H=!ce&&(Q.isClosable||Q.props.closable!==!1&&e.editable);Q.index=`${K}`;const te=H?j(Je,{class:"is-icon-close",onClick:_e=>n("tabRemove",Q,_e)},{default:()=>[j(Ua,null,null)]}):null,de=((ne=(fe=Q.slots).label)==null?void 0:ne.call(fe))||Q.props.label,be=!ce&&Q.active?(pe=e.tabindex)!=null?pe:s.props.tabindex:-1;return j("div",{ref:_e=>L(_e,Z),class:[a.e("item"),a.is(s.props.tabPosition),a.is("active",Q.active),a.is("disabled",ce),a.is("closable",H),a.is("focus",v.value)],id:`tab-${Z}`,key:`tab-${he}`,"aria-controls":`pane-${Z}`,role:"tab","aria-selected":Q.active,tabindex:be,onFocus:()=>Y(),onBlur:()=>N(),onClick:_e=>{N(),n("tabClick",Q,Z,_e)},onKeydown:_e=>{const Se=an(_e);H&&(Se===Ae.delete||Se===Ae.backspace)&&n("tabRemove",Q,_e)}},[de,te])});return g.value,j("div",{ref:c,class:[a.e("nav-wrap"),a.is("scrollable",!!h.value),a.is(s.props.tabPosition)]},[z,j("div",{class:a.e("nav-scroll"),ref:i},[e.panes.length>0?j("div",{class:[a.e("nav"),a.is(s.props.tabPosition),a.is("stretch",e.stretch&&["top","bottom"].includes(s.props.tabPosition))],ref:l,style:w.value,role:"tablist",onKeydown:J,onWheel:M},[e.type?null:j(khe,{ref:d,tabs:[...e.panes],tabRefs:u.value},null),G]):null])])}}}),Phe=Te({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},defaultValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:re(Function),default:()=>!0},stretch:Boolean,tabindex:{type:[String,Number],default:0}}),Z6=e=>Xe(e)||at(e),Rhe={[ct]:e=>Z6(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>Z6(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>Z6(e),tabAdd:()=>!0},Ihe=W({name:"ElTabs",props:Phe,emits:Rhe,setup(e,{emit:t,slots:n,expose:s}){var a;const o=Ee("tabs"),r=k(()=>["left","right"].includes(e.tabPosition)),{children:i,addChild:l,removeChild:c,ChildrenSorter:u}=Wg(_t(),"ElTabPane"),d=F(),h=F((a=$t(e.modelValue)?e.defaultValue:e.modelValue)!=null?a:"0"),p=async(w,_=!1)=>{var x,E,T,R;if(!(h.value===w||$t(w)))try{let I;if(e.beforeLeave){const M=e.beforeLeave(w,h.value);I=M instanceof Promise?await M:M}else I=!0;if(I!==!1){const M=(x=i.value.find($=>$.paneName===h.value))==null?void 0:x.isFocusInsidePane();h.value=w,_&&(t(ct,w),t("tabChange",w)),(T=(E=d.value)==null?void 0:E.removeFocus)==null||T.call(E),M&&((R=d.value)==null||R.focusActiveTab())}}catch{}},v=(w,_,x)=>{w.props.disabled||(t("tabClick",w,x),p(_,!0))},m=(w,_)=>{w.props.disabled||$t(w.props.name)||(_.stopPropagation(),t("edit",w.props.name,"remove"),t("tabRemove",w.props.name))},g=()=>{t("edit",void 0,"add"),t("tabAdd")},b=w=>{const _=an(w);[Ae.enter,Ae.numpadEnter].includes(_)&&g()},C=w=>{const _=w.el.firstChild,x=["bottom","right"].includes(e.tabPosition)?w.children[0].el:w.children[1].el;_!==x&&_.before(x)};return me(()=>e.modelValue,w=>p(w)),me(h,async()=>{var w;await ze(),(w=d.value)==null||w.scrollToActiveTab()}),Tt(E1,{props:e,currentName:h,registerPane:l,unregisterPane:c,nav$:d}),s({currentName:h,get tabNavRef(){return pp(d.value,["scheduleRender"])}}),()=>{const w=n["add-icon"],_=e.editable||e.addable?j("div",{class:[o.e("new-tab"),r.value&&o.e("new-tab-vertical")],tabindex:e.tabindex,onClick:g,onKeydown:b},[w?ue(n,"add-icon"):j(Je,{class:o.is("icon-plus")},{default:()=>[j(Vy,null,null)]})]):null,x=()=>j(Mhe,{ref:d,currentName:h.value,editable:e.editable,type:e.type,panes:i.value,stretch:e.stretch,onTabClick:v,onTabRemove:m},null),E=j("div",{class:[o.e("header"),r.value&&o.e("header-vertical"),o.is(e.tabPosition)]},[j(u,null,{default:x,$stable:!0}),_]),T=j("div",{class:o.e("content")},[ue(n,"default")]);return j("div",{class:[o.b(),o.m(e.tabPosition),{[o.m("card")]:e.type==="card",[o.m("border-card")]:e.type==="border-card"}],onVnodeMounted:C,onVnodeUpdated:C},[T,E])}}}),Ohe=Te({label:{type:String,default:""},name:{type:[String,Number]},closable:{type:Boolean,default:void 0},disabled:Boolean,lazy:Boolean}),Lhe=["id","aria-hidden","aria-labelledby"],gM="ElTabPane";var bM=W({name:gM,__name:"tab-pane",props:Ohe,setup(e){const t=e,n=_t(),s=zn(),a=je(E1);a||Xn(gM,"usage: ");const o=Ee("tab-pane"),r=F(),i=F(),l=k(()=>{var m;return(m=t.closable)!=null?m:a.props.closable}),c=k(()=>{var m;return a.currentName.value===((m=t.name)!=null?m:i.value)}),u=F(c.value),d=k(()=>{var m;return(m=t.name)!=null?m:i.value}),h=k(()=>!t.lazy||u.value||c.value),p=()=>{var m;return(m=r.value)==null?void 0:m.contains(document.activeElement)};me(c,m=>{m&&(u.value=!0)});const v=Wt({uid:n.uid,getVnode:()=>n.vnode,slots:s,props:t,paneName:d,active:c,index:i,isClosable:l,isFocusInsidePane:p});return a.registerPane(v),Gt(()=>{a.unregisterPane(v)}),O4(()=>{var m;s.label&&((m=a.nav$.value)==null||m.scheduleRender())}),(m,g)=>h.value?gt((S(),P("div",{key:0,id:`pane-${d.value}`,ref_key:"paneRef",ref:r,class:D(f(o).b()),role:"tabpanel","aria-hidden":!c.value,"aria-labelledby":`tab-${d.value}`},[ue(m.$slots,"default")],10,Lhe)),[[Bt,c.value]]):ie("v-if",!0)}});const Nhe=pt(Ihe,{TabPane:bM}),$he=An(bM),Dhe=Te({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:fr,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}});var Fhe=W({name:"ElText",__name:"text",props:Dhe,setup(e){const t=e,n=F(),s=ts(),a=Ee("text"),o=k(()=>[a.b(),a.m(t.type),a.m(s.value),a.is("truncated",t.truncated),a.is("line-clamp",!$t(t.lineClamp))]),r=()=>{var i,l,c,u,d,h,p;if(Bi().title)return;let m=!1;const g=((i=n.value)==null?void 0:i.textContent)||"";if(t.truncated){const b=(l=n.value)==null?void 0:l.offsetWidth,C=(c=n.value)==null?void 0:c.scrollWidth;b&&C&&C>b&&(m=!0)}else if(!$t(t.lineClamp)){const b=(u=n.value)==null?void 0:u.offsetHeight,C=(d=n.value)==null?void 0:d.scrollHeight;b&&C&&C>b&&(m=!0)}m?(h=n.value)==null||h.setAttribute("title",g):(p=n.value)==null||p.removeAttribute("title")};return St(r),or(r),(i,l)=>(S(),le(bt(e.tag),{ref_key:"textRef",ref:n,class:D(o.value),style:tt({"-webkit-line-clamp":e.lineClamp})},{default:X(()=>[ue(i.$slots,"default")]),_:3},8,["class","style"]))}});const Q6=pt(Fhe),Bhe=Te({format:{type:String,default:"HH:mm"},modelValue:{type:re(String)},disabled:{type:Boolean,default:void 0},editable:{type:Boolean,default:!0},effect:{type:re(String),default:"light"},clearable:{type:Boolean,default:!0},size:rs,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:{type:re(String)},maxTime:{type:re(String)},includeEndTime:Boolean,name:String,prefixIcon:{type:re([String,Object]),default:()=>$y},clearIcon:{type:re([String,Object]),default:()=>$o},popperClass:{type:String,default:""},popperStyle:{type:re([String,Object])},...wu}),rl=e=>{const t=(e||"").split(":");if(t.length>=2){let n=Number.parseInt(t[0],10);const s=Number.parseInt(t[1],10),a=e.toUpperCase();return a.includes("AM")&&n===12?n=0:a.includes("PM")&&n!==12&&(n+=12),{hours:n,minutes:s}}return null},e8=(e,t)=>{const n=rl(e);if(!n)return-1;const s=rl(t);if(!s)return-1;const a=n.minutes+n.hours*60,o=s.minutes+s.hours*60;return a===o?0:a>o?1:-1},yM=e=>`${e}`.padStart(2,"0"),Qf=e=>`${yM(e.hours)}:${yM(e.minutes)}`,Vhe=(e,t)=>{const n=rl(e);if(!n)return"";const s=rl(t);if(!s)return"";const a={hours:n.hours,minutes:n.minutes};return a.minutes+=s.minutes,a.hours+=s.hours,a.hours+=Math.floor(a.minutes/60),a.minutes=a.minutes%60,Qf(a)};var zhe=W({name:"ElTimeSelect",__name:"time-select",props:Bhe,emits:[Pt,"blur","focus","clear",ct],setup(e,{expose:t}){vt.extend(F3);const{Option:n}=cc,s=e,a=Ee("input"),o=F(),r=In(),{lang:i}=It(),l=k(()=>s.modelValue),c=k(()=>{const b=rl(s.start);return b?Qf(b):null}),u=k(()=>{const b=rl(s.end);return b?Qf(b):null}),d=k(()=>{const b=rl(s.step);return b?Qf(b):null}),h=k(()=>{const b=rl(s.minTime||"");return b?Qf(b):null}),p=k(()=>{const b=rl(s.maxTime||"");return b?Qf(b):null}),v=k(()=>{var b;const C=[],w=(_,x)=>{C.push({value:_,disabled:e8(x,h.value||"-1:-1")<=0||e8(x,p.value||"100:100")>=0})};if(s.start&&s.end&&s.step){let _=c.value,x;for(;_&&u.value&&e8(_,u.value)<=0;)x=vt(_,"HH:mm").locale(i.value).format(s.format),w(x,_),_=Vhe(_,d.value);if(s.includeEndTime&&u.value&&((b=C[C.length-1])==null?void 0:b.value)!==u.value){const E=vt(u.value,"HH:mm").locale(i.value).format(s.format);w(E,u.value)}}return C});return t({blur:()=>{var b,C;(C=(b=o.value)==null?void 0:b.blur)==null||C.call(b)},focus:()=>{var b,C;(C=(b=o.value)==null?void 0:b.focus)==null||C.call(b)}}),(b,C)=>(S(),le(f(cc),{ref_key:"select",ref:o,"model-value":l.value,disabled:f(r),clearable:e.clearable,"clear-icon":e.clearIcon,size:e.size,effect:e.effect,placeholder:e.placeholder,"default-first-option":"",filterable:e.editable,"empty-values":e.emptyValues,"value-on-clear":e.valueOnClear,"popper-class":e.popperClass,"popper-style":e.popperStyle,"onUpdate:modelValue":C[0]||(C[0]=w=>b.$emit(f(ct),w)),onChange:C[1]||(C[1]=w=>b.$emit(f(Pt),w)),onBlur:C[2]||(C[2]=w=>b.$emit("blur",w)),onFocus:C[3]||(C[3]=w=>b.$emit("focus",w)),onClear:C[4]||(C[4]=()=>b.$emit("clear"))},{prefix:X(()=>[e.prefixIcon?(S(),le(f(Je),{key:0,class:D(f(a).e("prefix-icon"))},{default:X(()=>[(S(),le(bt(e.prefixIcon)))]),_:1},8,["class"])):ie("v-if",!0)]),default:X(()=>[(S(!0),P(He,null,yt(v.value,w=>(S(),le(f(n),{key:w.value,label:w.value,value:w.value,disabled:w.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear","popper-class","popper-style"]))}});const Hhe=pt(zhe),wM="timeline",Whe=Te({mode:{type:String,values:["start","alternate","alternate-reverse","end"],default:"start"},reverse:Boolean}),jhe=W({name:"ElTimeline",props:Whe,setup(e,{slots:t}){const n=Ee("timeline");Tt(wM,{props:e,slots:t});const s=k(()=>[n.b(),n.is(e.mode)]);return()=>{var a,o;const r=lo((o=(a=t.default)==null?void 0:a.call(t))!=null?o:[]);return rt("ul",{class:s.value},e.reverse?r.reverse():r)}}}),Khe=Te({timestamp:{type:String,default:""},hideTimestamp:Boolean,center:Boolean,placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:en},hollow:Boolean});var _M=W({name:"ElTimelineItem",__name:"timeline-item",props:Khe,setup(e){const t=e,{props:n}=je(wM),s=Ee("timeline-item"),a=k(()=>[s.e("node"),s.em("node",t.size||""),s.em("node",t.type||""),s.is("hollow",t.hollow)]),o=k(()=>[s.b(),{[s.e("center")]:t.center},s.is(n.mode)]);return(r,i)=>(S(),P("li",{class:D(o.value)},[A("div",{class:D(f(s).e("tail"))},null,2),r.$slots.dot?ie("v-if",!0):(S(),P("div",{key:0,class:D(a.value),style:tt({backgroundColor:e.color})},[e.icon?(S(),le(f(Je),{key:0,class:D(f(s).e("icon"))},{default:X(()=>[(S(),le(bt(e.icon)))]),_:1},8,["class"])):ie("v-if",!0)],6)),r.$slots.dot?(S(),P("div",{key:1,class:D(f(s).e("dot"))},[ue(r.$slots,"dot")],2)):ie("v-if",!0),A("div",{class:D(f(s).e("wrapper"))},[!e.hideTimestamp&&e.placement==="top"?(S(),P("div",{key:0,class:D([f(s).e("timestamp"),f(s).is("top")])},ve(e.timestamp),3)):ie("v-if",!0),A("div",{class:D(f(s).e("content"))},[ue(r.$slots,"default")],2),!e.hideTimestamp&&e.placement==="bottom"?(S(),P("div",{key:1,class:D([f(s).e("timestamp"),f(s).is("bottom")])},ve(e.timestamp),3)):ie("v-if",!0)],2)],2))}});const Uhe=pt(jhe,{TimelineItem:_M}),qhe=An(_M),CM="left-check-change",SM="right-check-change",eh=Te({data:{type:re(Array),default:()=>[]},titles:{type:re(Array),default:()=>[]},buttonTexts:{type:re(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:re(Function)},leftDefaultChecked:{type:re(Array),default:()=>[]},rightDefaultChecked:{type:re(Array),default:()=>[]},renderContent:{type:re(Function)},modelValue:{type:re(Array),default:()=>[]},format:{type:re(Object),default:()=>({})},filterable:Boolean,props:{type:re(Object),default:()=>Rn({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),t8=(e,t)=>[e,t].every(ke)||ke(e)&&qn(t),Ghe={[Pt]:(e,t,n)=>[e,n].every(ke)&&["left","right"].includes(t),[ct]:e=>ke(e),[CM]:t8,[SM]:t8},n8="checked-change",Yhe=Te({data:eh.data,optionRender:{type:re(Function)},placeholder:String,title:String,filterable:Boolean,format:eh.format,filterMethod:eh.filterMethod,defaultChecked:eh.leftDefaultChecked,props:eh.props}),Xhe={[n8]:t8},rv=e=>{const t={label:"label",key:"key",disabled:"disabled"};return k(()=>({...t,...e.props}))},Jhe=(e,t,n)=>{const s=rv(e),a=k(()=>e.data.filter(u=>et(e.filterMethod)?e.filterMethod(t.query,u):String(u[s.value.label]||u[s.value.key]).toLowerCase().includes(t.query.toLowerCase()))),o=k(()=>a.value.filter(u=>!u[s.value.disabled])),r=k(()=>{const u=t.checked.length,d=e.data.length,{noChecked:h,hasChecked:p}=e.format;return h&&p?u>0?p.replace(/\${checked}/g,u.toString()).replace(/\${total}/g,d.toString()):h.replace(/\${total}/g,d.toString()):`${u}/${d}`}),i=k(()=>{const u=t.checked.length;return u>0&&u{const u=o.value.map(d=>d[s.value.key]);t.allChecked=u.length>0&&u.every(d=>t.checked.includes(d))},c=u=>{t.checked=u?o.value.map(d=>d[s.value.key]):[]};return me(()=>t.checked,(u,d)=>{if(l(),t.checkChangeByUser){const h=u.concat(d).filter(p=>!u.includes(p)||!d.includes(p));n(n8,u,h)}else n(n8,u),t.checkChangeByUser=!0}),me(o,()=>{l()}),me(()=>e.data,()=>{const u=[],d=a.value.map(h=>h[s.value.key]);t.checked.forEach(h=>{d.includes(h)&&u.push(h)}),t.checkChangeByUser=!1,t.checked=u}),me(()=>e.defaultChecked,(u,d)=>{if(d&&u.length===d.length&&u.every(v=>d.includes(v)))return;const h=[],p=o.value.map(v=>v[s.value.key]);u.forEach(v=>{p.includes(v)&&h.push(v)}),t.checkChangeByUser=!1,t.checked=h},{immediate:!0}),{filteredData:a,checkableData:o,checkedSummary:r,isIndeterminate:i,updateAllChecked:l,handleAllCheckedChange:c}};var xM=W({name:"ElTransferPanel",__name:"transfer-panel",props:Yhe,emits:Xhe,setup(e,{expose:t,emit:n}){const s=e,a=n,o=zn(),r=({option:_})=>_,{t:i}=It(),l=Ee("transfer"),c=Wt({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),u=rv(s),{filteredData:d,checkedSummary:h,isIndeterminate:p,handleAllCheckedChange:v}=Jhe(s,c,a),m=k(()=>!Pa(c.query)&&Pa(d.value)),g=k(()=>!Pa(o.default()[0].children)),{checked:b,allChecked:C,query:w}=ps(c);return t({query:w}),(_,x)=>(S(),P("div",{class:D(f(l).b("panel"))},[A("p",{class:D(f(l).be("panel","header"))},[j(f(mr),{modelValue:f(C),"onUpdate:modelValue":x[0]||(x[0]=E=>pn(C)?C.value=E:null),indeterminate:f(p),"validate-event":!1,onChange:f(v)},{default:X(()=>[Ue(ve(e.title)+" ",1),A("span",null,ve(f(h)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),A("div",{class:D([f(l).be("panel","body"),f(l).is("with-footer",g.value)])},[e.filterable?(S(),le(f(la),{key:0,modelValue:f(w),"onUpdate:modelValue":x[1]||(x[1]=E=>pn(w)?w.value=E:null),class:D(f(l).be("panel","filter")),size:"default",placeholder:e.placeholder,"prefix-icon":f(i9),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):ie("v-if",!0),gt(j(f(T3),{modelValue:f(b),"onUpdate:modelValue":x[2]||(x[2]=E=>pn(b)?b.value=E:null),"validate-event":!1,class:D([f(l).is("filterable",e.filterable),f(l).be("panel","list")])},{default:X(()=>[(S(!0),P(He,null,yt(f(d),E=>(S(),le(f(mr),{key:E[f(u).key],class:D(f(l).be("panel","item")),value:E[f(u).key],disabled:E[f(u).disabled],"validate-event":!1},{default:X(()=>{var T;return[j(r,{option:(T=e.optionRender)==null?void 0:T.call(e,E)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[Bt,!m.value&&!f(Pa)(e.data)]]),gt(A("div",{class:D(f(l).be("panel","empty"))},[ue(_.$slots,"empty",{},()=>[Ue(ve(m.value?f(i)("el.transfer.noMatch"):f(i)("el.transfer.noData")),1)])],2),[[Bt,m.value||f(Pa)(e.data)]])],2),g.value?(S(),P("p",{key:0,class:D(f(l).be("panel","footer"))},[ue(_.$slots,"default")],2)):ie("v-if",!0)],2))}});const Zhe=e=>{const t=rv(e),n=k(()=>e.data.reduce((o,r)=>(o[r[t.value.key]]=r)&&o,{})),s=k(()=>e.data.filter(o=>!e.modelValue.includes(o[t.value.key]))),a=k(()=>e.targetOrder==="original"?e.data.filter(o=>e.modelValue.includes(o[t.value.key])):e.modelValue.reduce((o,r)=>{const i=n.value[r];return i&&o.push(i),o},[]));return{sourceData:s,targetData:a}},Qhe=(e,t,n)=>{const s=rv(e),a=(i,l,c)=>{n(ct,i),n(Pt,i,l,c)};return{addToLeft:()=>{const i=e.modelValue.slice();t.rightChecked.forEach(l=>{const c=i.indexOf(l);c>-1&&i.splice(c,1)}),a(i,"left",t.rightChecked)},addToRight:()=>{let i=e.modelValue.slice();const l=e.data.filter(c=>{const u=c[s.value.key];return t.leftChecked.includes(u)&&!e.modelValue.includes(u)}).map(c=>c[s.value.key]);i=e.targetOrder==="unshift"?l.concat(i):i.concat(l),e.targetOrder==="original"&&(i=e.data.filter(c=>i.includes(c[s.value.key])).map(c=>c[s.value.key])),a(i,"right",t.leftChecked)}}},e0e=(e,t)=>({onSourceCheckedChange:(a,o)=>{e.leftChecked=a,o&&t(CM,a,o)},onTargetCheckedChange:(a,o)=>{e.rightChecked=a,o&&t(SM,a,o)}}),t0e={key:0},n0e={key:0};var s0e=W({name:"ElTransfer",__name:"transfer",props:eh,emits:Ghe,setup(e,{expose:t,emit:n}){const s=e,a=n,o=zn(),{t:r}=It(),i=Ee("transfer"),{formItem:l}=Cs(),c=Wt({leftChecked:[],rightChecked:[]}),u=rv(s),{sourceData:d,targetData:h}=Zhe(s),{onSourceCheckedChange:p,onTargetCheckedChange:v}=e0e(c,a),{addToLeft:m,addToRight:g}=Qhe(s,c,a),b=F(),C=F(),w=I=>{switch(I){case"left":b.value.query="";break;case"right":C.value.query="";break}},_=k(()=>s.buttonTexts.length===2),x=k(()=>s.titles[0]||r("el.transfer.titles.0")),E=k(()=>s.titles[1]||r("el.transfer.titles.1")),T=k(()=>s.filterPlaceholder||r("el.transfer.filterPlaceholder"));me(()=>s.modelValue,()=>{var I;s.validateEvent&&((I=l==null?void 0:l.validate)==null||I.call(l,"change").catch(M=>void 0))});const R=k(()=>I=>{var M;if(s.renderContent)return s.renderContent(rt,I);const $=(((M=o.default)==null?void 0:M.call(o,{option:I}))||[]).filter(O=>O.type!==Kn);return $.length?$:rt("span",I[u.value.label]||I[u.value.key])});return t({clearQuery:w,leftPanel:b,rightPanel:C}),(I,M)=>(S(),P("div",{class:D(f(i).b())},[j(xM,{ref_key:"leftPanel",ref:b,data:f(d),"option-render":R.value,placeholder:T.value,title:x.value,filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,"default-checked":e.leftDefaultChecked,props:s.props,onCheckedChange:f(p)},{empty:X(()=>[ue(I.$slots,"left-empty")]),default:X(()=>[ue(I.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),A("div",{class:D(f(i).e("buttons"))},[j(f(gs),{type:"primary",class:D([f(i).e("button"),f(i).is("with-texts",_.value)]),disabled:f(Pa)(c.rightChecked),onClick:f(m)},{default:X(()=>[j(f(Je),null,{default:X(()=>[j(f(No))]),_:1}),f($t)(e.buttonTexts[0])?ie("v-if",!0):(S(),P("span",t0e,ve(e.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),j(f(gs),{type:"primary",class:D([f(i).e("button"),f(i).is("with-texts",_.value)]),disabled:f(Pa)(c.leftChecked),onClick:f(g)},{default:X(()=>[f($t)(e.buttonTexts[1])?ie("v-if",!0):(S(),P("span",n0e,ve(e.buttonTexts[1]),1)),j(f(Je),null,{default:X(()=>[j(f(Ls))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),j(xM,{ref_key:"rightPanel",ref:C,data:f(h),"option-render":R.value,placeholder:T.value,filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,title:E.value,"default-checked":e.rightDefaultChecked,props:s.props,onCheckedChange:f(v)},{empty:X(()=>[ue(I.$slots,"right-empty")]),default:X(()=>[ue(I.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});const a0e=pt(s0e),th="$treeNodeId",EM=function(e,t){!t||t[th]||Object.defineProperty(t,th,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},s8=(e,t)=>t==null?void 0:t[e||th],a8=(e,t,n)=>{const s=e.value.currentNode;n();const a=e.value.currentNode;s!==a&&t("current-change",a?a.data:null,a)};var o0e=Object.defineProperty,r0e=(e,t,n)=>t in e?o0e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ds=(e,t,n)=>r0e(e,typeof t!="symbol"?t+"":t,n);const kM=e=>{let t=!0,n=!0,s=!0,a=!0;for(let o=0,r=e.length;o{n.canFocus=t,o8(n.childNodes,t)})};let i0e=0,r8=class Nb{constructor(t){Ds(this,"id"),Ds(this,"text"),Ds(this,"checked"),Ds(this,"indeterminate"),Ds(this,"data"),Ds(this,"expanded"),Ds(this,"parent"),Ds(this,"visible"),Ds(this,"isCurrent"),Ds(this,"store"),Ds(this,"isLeafByUser"),Ds(this,"isLeaf"),Ds(this,"canFocus"),Ds(this,"level"),Ds(this,"loaded"),Ds(this,"childNodes"),Ds(this,"loading"),Ds(this,"isEffectivelyChecked",!1),this.id=i0e++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const n in t)Ht(t,n)&&(this[n]=t[n]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){var t;const n=this.store;if(!n)throw new Error("[Node]store is required!");n.registerNode(this);const s=n.props;if(s&&typeof s.isLeaf<"u"){const r=k1(this,"isLeaf");Qt(r)&&(this.isLeafByUser=r)}if(n.lazy!==!0&&this.data?(this.setData(this.data),n.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&n.lazy&&n.defaultExpandAll&&!this.isLeafByUser&&this.expand(),ke(this.data)||EM(this,this.data),!this.data)return;const a=n.defaultExpandedKeys,o=n.key;o&&!qn(this.key)&&a&&a.includes(this.key)&&this.expand(null,n.autoExpandParent),o&&n.currentNodeKey!==void 0&&this.key===n.currentNodeKey&&(n.currentNode&&(n.currentNode.isCurrent=!1),n.currentNode=this,n.currentNode.isCurrent=!0),n.lazy&&n._initDefaultCheckedNode(this),this.updateLeafState(),(this.level===1||((t=this.parent)==null?void 0:t.expanded)===!0)&&(this.canFocus=!0)}setData(t){ke(t)||EM(this,t),this.data=t,this.childNodes=[];let n;this.level===0&&ke(this.data)?n=this.data:n=k1(this,"children")||[];for(let s=0,a=n.length;s-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(s=>s===t||n&&s.contains(t))}remove(){const t=this.parent;t&&t.removeChild(this)}insertChild(t,n,s){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof Nb)){if(!s){const a=this.getChildren(!0);a!=null&&a.includes(t.data)||($t(n)||n<0?a==null||a.push(t.data):a==null||a.splice(n,0,t.data))}Object.assign(t,{parent:this,store:this.store}),t=Wt(new Nb(t)),t instanceof Nb&&t.initialize()}t.level=this.level+1,$t(n)||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()}insertBefore(t,n){let s;n&&(s=this.childNodes.indexOf(n)),this.insertChild(t,s)}insertAfter(t,n){let s;n&&(s=this.childNodes.indexOf(n),s!==-1&&(s+=1)),this.insertChild(t,s)}removeChild(t){const n=this.getChildren()||[],s=n.indexOf(t.data);s>-1&&n.splice(s,1);const a=this.childNodes.indexOf(t);a>-1&&(this.store&&this.store.deregisterNode(t),t.parent=null,this.childNodes.splice(a,1)),this.updateLeafState()}removeChildByData(t){const n=this.childNodes.find(s=>s.data===t);n&&this.removeChild(n)}expand(t,n){const s=()=>{if(n){let a=this.parent;for(;a&&a.level>0;)a.expanded=!0,a=a.parent}this.expanded=!0,t&&t(),o8(this.childNodes,!0)};this.shouldLoadData()?this.loadData(a=>{ke(a)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||iv(this),s())}):s()}doCreateChildren(t,n={}){t.forEach(s=>{this.insertChild(Object.assign({data:s},n),void 0,!0)})}collapse(){this.expanded=!1,o8(this.childNodes,!1)}shouldLoadData(){return!!(this.store.lazy===!0&&this.store.load&&!this.loaded)}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}const t=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!t||t.length===0,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}this.isLeaf=!1}setChecked(t,n,s,a){if(this.indeterminate=t==="half",this.checked=t===!0,this.isEffectivelyChecked=!this.childNodes.length&&(this.disabled||this.checked),this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const r=()=>{if(n){const i=this.childNodes;for(let d=0,h=i.length;d{r(),iv(this)},{checked:t!==!1});return}else r()}const o=this.parent;!o||o.level===0||s||iv(o)}getChildren(t=!1){if(this.level===0)return this.data;const n=this.data;if(!n)return null;const s=this.store.props;let a="children";return s&&(a=s.children||"children"),$t(n[a])&&(n[a]=null),t&&!n[a]&&(n[a]=[]),n[a]}updateChildren(){const t=this.getChildren()||[],n=this.childNodes.map(o=>o.data),s={},a=[];t.forEach((o,r)=>{const i=o[th];!!i&&n.some(c=>(c==null?void 0:c[th])===i)?s[i]={index:r,data:o}:a.push({index:r,data:o})}),this.store.lazy||n.forEach(o=>{s[o==null?void 0:o[th]]||this.removeChildByData(o)}),a.forEach(({index:o,data:r})=>{this.insertChild({data:r},o)}),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 s=o=>{this.childNodes=[],this.doCreateChildren(o,n),this.loaded=!0,this.loading=!1,this.updateLeafState(),t&&t.call(this,o)},a=()=>{this.loading=!1};this.store.load(this,s,a)}else t&&t.call(this)}eachNode(t){const n=[this];for(;n.length;){const s=n.shift();n.unshift(...s.childNodes),t(s)}}reInitChecked(){this.store.checkStrictly||iv(this)}};var l0e=Object.defineProperty,c0e=(e,t,n)=>t in e?l0e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fa=(e,t,n)=>c0e(e,typeof t!="symbol"?t+"":t,n);class u0e{constructor(t){fa(this,"currentNode"),fa(this,"currentNodeKey"),fa(this,"nodesMap"),fa(this,"root"),fa(this,"data"),fa(this,"lazy",!1),fa(this,"load"),fa(this,"filterNodeMethod"),fa(this,"key"),fa(this,"defaultCheckedKeys"),fa(this,"checkStrictly",!1),fa(this,"defaultExpandedKeys"),fa(this,"autoExpandParent",!1),fa(this,"defaultExpandAll",!1),fa(this,"checkDescendants",!1),fa(this,"props"),this.currentNode=null,this.currentNodeKey=null;for(const n in t)Ht(t,n)&&(this[n]=t[n]);this.nodesMap={}}initialize(){if(this.root=new r8({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const t=this.load;t(this.root,n=>{this.root.doCreateChildren(n),this._initDefaultCheckedNodes()},qt)}else this._initDefaultCheckedNodes()}filter(t){const n=this.filterNodeMethod,s=this.lazy,a=async function(o){const r=o.root?o.root.childNodes:o.childNodes;for(const[i,l]of r.entries())l.visible=!!(n!=null&&n.call(l,t,l.data,l)),i%80===0&&i>0&&await ze(),await a(l);if(!o.visible&&r.length){let i=!0;i=!r.some(l=>l.visible),o.root?o.root.visible=i===!1:o.visible=i===!1}t&&o.visible&&!o.isLeaf&&(!s||o.loaded)&&o.expand()};a(this)}setData(t){t!==this.root.data?(this.nodesMap={},this.root.setData(t),this._initDefaultCheckedNodes(),this.setCurrentNodeKey(this.currentNodeKey)):this.root.updateChildren()}getNode(t){if(t instanceof r8)return t;const n=ht(t)?s8(this.key,t):t;return this.nodesMap[n]||null}insertBefore(t,n){var s;const a=this.getNode(n);(s=a.parent)==null||s.insertBefore({data:t},a)}insertAfter(t,n){var s;const a=this.getNode(n);(s=a.parent)==null||s.insertAfter({data:t},a)}remove(t){const n=this.getNode(t);n&&n.parent&&(n===this.currentNode&&(this.currentNode=null),n.parent.removeChild(n))}append(t,n){const s=Ka(n)?this.root:this.getNode(n);s&&s.insertChild({data:t})}_initDefaultCheckedNodes(){const t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach(s=>{const a=n[s];a&&a.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(t){const n=this.defaultCheckedKeys||[];!qn(t.key)&&n.includes(t.key)&&t.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(t){t!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=t,this._initDefaultCheckedNodes())}registerNode(t){const n=this.key;if(!(!t||!t.data))if(!n)this.nodesMap[t.id]=t;else{const s=t.key;qn(s)||(this.nodesMap[s]=t)}}deregisterNode(t){!this.key||!t||!t.data||(t.childNodes.forEach(s=>{this.deregisterNode(s)}),delete this.nodesMap[t.key])}getCheckedNodes(t=!1,n=!1){const s=[],a=function(o){(o.root?o.root.childNodes:o.childNodes).forEach(i=>{(i.checked||n&&i.indeterminate)&&(!t||t&&i.isLeaf)&&s.push(i.data),a(i)})};return a(this),s}getCheckedKeys(t=!1){return this.getCheckedNodes(t).map(n=>(n||{})[this.key])}getHalfCheckedNodes(){const t=[],n=function(s){(s.root?s.root.childNodes:s.childNodes).forEach(o=>{o.indeterminate&&t.push(o.data),n(o)})};return n(this),t}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(t=>(t||{})[this.key])}_getAllNodes(){const t=[],n=this.nodesMap;for(const s in n)Ht(n,s)&&t.push(n[s]);return t}updateChildren(t,n){const s=this.nodesMap[t];if(!s)return;const a=s.childNodes;for(let o=a.length-1;o>=0;o--){const r=a[o];this.remove(r.data)}for(let o=0,r=n.length;ol.level-c.level),o=Object.create(null),r=Object.keys(s);a.forEach(l=>l.setChecked(!1,!1));const i=l=>{l.childNodes.forEach(c=>{var u;o[c.data[t]]=!0,(u=c.childNodes)!=null&&u.length&&i(c)})};for(let l=0,c=a.length;l{g.isLeaf||g.setChecked(!1,!1),p(g)})};p(u)}}}setCheckedNodes(t,n=!1){const s=this.key,a={};t.forEach(o=>{a[(o||{})[s]]=!0}),this._setCheckedKeys(s,n,a)}setCheckedKeys(t,n=!1){this.defaultCheckedKeys=t;const s=this.key,a={};t.forEach(o=>{a[o]=!0}),this._setCheckedKeys(s,n,a)}setDefaultExpandedKeys(t){t=t||[],this.defaultExpandedKeys=t,t.forEach(n=>{const s=this.getNode(n);s&&s.expand(null,this.autoExpandParent)})}setChecked(t,n,s){const a=this.getNode(t);a&&a.setChecked(!!n,s)}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){var s;const a=t[this.key],o=this.nodesMap[a];this.setCurrentNode(o),n&&this.currentNode&&this.currentNode.level>1&&((s=this.currentNode.parent)==null||s.expand(null,!0))}setCurrentNodeKey(t,n=!0){var s;if(this.currentNodeKey=t,Ka(t)){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const a=this.getNode(t);a&&(this.setCurrentNode(a),n&&this.currentNode&&this.currentNode.level>1&&((s=this.currentNode.parent)==null||s.expand(null,!0)))}}const i8="RootTree",AM="NodeInstance",TM="TreeNodeMap";var d0e=W({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=Ee("tree"),n=je(AM),s=je(i8);return()=>{const a=e.node,{data:o,store:r}=a;return e.renderContent?e.renderContent(rt,{_self:n,node:a,data:o,store:r}):ue(s.ctx.slots,"default",{node:a,data:o},()=>[rt(Q6,{tag:"span",truncated:!0,class:t.be("node","label")},()=>[a.label])])}}});function MM(e){const t=je(TM,null);let n={treeNodeExpand:s=>{var a;e.node!==s&&((a=e.node)==null||a.collapse())},children:new Set};return t&&t.children.add(n),Gt(()=>{t&&t.children.delete(n),n=null}),Tt(TM,n),{broadcastExpanded:s=>{if(e.accordion)for(const a of n.children)a.treeNodeExpand(s)}}}const PM=Symbol("dragEvents");function f0e({props:e,ctx:t,el$:n,dropIndicator$:s,store:a}){const o=Ee("tree"),r=F({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return Tt(PM,{treeNodeDragStart:({event:u,treeNode:d})=>{if(u.dataTransfer){if(et(e.allowDrag)&&!e.allowDrag(d.node))return u.preventDefault(),!1;u.dataTransfer.effectAllowed="move";try{u.dataTransfer.setData("text/plain","")}catch{}r.value.draggingNode=d,t.emit("node-drag-start",d.node,u)}},treeNodeDragOver:({event:u,treeNode:d})=>{if(!u.dataTransfer)return;const h=d,p=r.value.dropNode;p&&p.node.id!==h.node.id&&ra(p.$el,o.is("drop-inner"));const v=r.value.draggingNode;if(!v||!h)return;let m=!0,g=!0,b=!0,C=!0;et(e.allowDrop)&&(m=e.allowDrop(v.node,h.node,"prev"),C=g=e.allowDrop(v.node,h.node,"inner"),b=e.allowDrop(v.node,h.node,"next")),u.dataTransfer.dropEffect=g||m||b?"move":"none",(m||g||b)&&(p==null?void 0:p.node.id)!==h.node.id&&(p&&t.emit("node-drag-leave",v.node,p.node,u),t.emit("node-drag-enter",v.node,h.node,u)),m||g||b?r.value.dropNode=h:r.value.dropNode=null,h.node.nextSibling===v.node&&(b=!1),h.node.previousSibling===v.node&&(m=!1),h.node.contains(v.node,!1)&&(g=!1),(v.node===h.node||v.node.contains(h.node))&&(m=!1,g=!1,b=!1);const w=h.$el,_=w.querySelector(`.${o.be("node","content")}`).getBoundingClientRect(),x=n.value.getBoundingClientRect(),E=n.value.scrollTop;let T;const R=m?g?.25:b?.45:1:Number.NEGATIVE_INFINITY,I=b?g?.75:m?.55:0:Number.POSITIVE_INFINITY;let M=-9999;const $=u.clientY-_.top;$<_.height*R?T="before":$>_.height*I?T="after":g?T="inner":T="none";const O=w.querySelector(`.${o.be("node","expand-icon")}`).getBoundingClientRect(),B=s.value;T==="before"?M=O.top-x.top+E:T==="after"&&(M=O.bottom-x.top+E),B.style.top=`${M}px`,B.style.left=`${O.right-x.left}px`,T==="inner"?Lo(w,o.is("drop-inner")):ra(w,o.is("drop-inner")),r.value.showDropIndicator=T==="before"||T==="after",r.value.allowDrop=r.value.showDropIndicator||C,r.value.dropType=T,t.emit("node-drag-over",v.node,h.node,u)},treeNodeDragEnd:u=>{var d,h;const{draggingNode:p,dropType:v,dropNode:m}=r.value;if(u.preventDefault(),u.dataTransfer&&(u.dataTransfer.dropEffect="move"),p!=null&&p.node.data&&m){const g={data:p.node.data};v!=="none"&&p.node.remove(),v==="before"?(d=m.node.parent)==null||d.insertBefore(g,m.node):v==="after"?(h=m.node.parent)==null||h.insertAfter(g,m.node):v==="inner"&&m.node.insertChild(g),v!=="none"&&(a.value.registerNode(g),a.value.key&&p.node.eachNode(b=>{var C;(C=a.value.nodesMap[b.data[a.value.key]])==null||C.setChecked(b.checked,!a.value.checkStrictly)})),ra(m.$el,o.is("drop-inner")),t.emit("node-drag-end",p.node,m.node,v,u),v!=="none"&&t.emit("node-drop",p.node,m.node,v,u)}p&&!m&&t.emit("node-drag-end",p.node,null,v,u),r.value.showDropIndicator=!1,r.value.draggingNode=null,r.value.dropNode=null,r.value.allowDrop=!0}}),{dragState:r}}var h0e=W({name:"ElTreeNode",components:{ElCollapseTransition:Kg,ElCheckbox:mr,NodeContent:d0e,ElIcon:Je,Loading:Ns},props:{node:{type:r8,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:Boolean},emits:["node-expand"],setup(e,t){const n=Ee("tree"),{broadcastExpanded:s}=MM(e),a=je(i8),o=F(!1),r=F(!1),i=F(),l=F(),c=F(),u=je(PM),d=_t();Tt(AM,d),e.node.expanded&&(o.value=!0,r.value=!0);const h=a.props.props.children||"children";me(()=>{var I;const M=(I=e.node.data)==null?void 0:I[h];return M&&[...M]},()=>{e.node.updateChildren()}),me(()=>e.node.indeterminate,I=>{m(e.node.checked,I)}),me(()=>e.node.checked,I=>{m(I,e.node.indeterminate)}),me(()=>e.node.childNodes.length,()=>e.node.reInitChecked()),me(()=>e.node.expanded,I=>{ze(()=>o.value=I),I&&(r.value=!0)});const p=I=>s8(a.props.nodeKey,I.data),v=I=>{const M=e.props.class;if(!M)return{};let $;if(et(M)){const{data:O}=I;$=M(O,I)}else $=M;return Xe($)?{[$]:!0}:$},m=(I,M)=>{(i.value!==I||l.value!==M)&&a.ctx.emit("check-change",e.node.data,I,M),i.value=I,l.value=M},g=I=>{a8(a.store,a.ctx.emit,()=>{var M;if((M=a==null?void 0:a.props)==null?void 0:M.nodeKey){const O=p(e.node);a.store.value.setCurrentNodeKey(O)}else a.store.value.setCurrentNode(e.node)}),a.currentNode.value=e.node,a.props.expandOnClickNode&&C(),(a.props.checkOnClickNode||e.node.isLeaf&&a.props.checkOnClickLeaf&&e.showCheckbox)&&!e.node.disabled&&w(!e.node.checked),a.ctx.emit("node-click",e.node.data,e.node,d,I)},b=I=>{var M;(M=a.instance.vnode.props)!=null&&M.onNodeContextmenu&&(I.stopPropagation(),I.preventDefault()),a.ctx.emit("node-contextmenu",I,e.node.data,e.node,d)},C=()=>{e.node.isLeaf||(o.value?(a.ctx.emit("node-collapse",e.node.data,e.node,d),e.node.collapse()):e.node.expand(()=>{t.emit("node-expand",e.node.data,e.node,d)}))},w=I=>{const M=a==null?void 0:a.props.checkStrictly,$=e.node.childNodes;!M&&$.length&&(I=$.some(O=>!O.isEffectivelyChecked)),e.node.setChecked(I,!M),ze(()=>{const O=a.store.value;a.ctx.emit("check",e.node.data,{checkedNodes:O.getCheckedNodes(),checkedKeys:O.getCheckedKeys(),halfCheckedNodes:O.getHalfCheckedNodes(),halfCheckedKeys:O.getHalfCheckedKeys()})})};return{ns:n,node$:c,tree:a,expanded:o,childNodeRendered:r,oldChecked:i,oldIndeterminate:l,getNodeKey:p,getNodeClass:v,handleSelectChange:m,handleClick:g,handleContextMenu:b,handleExpandIconClick:C,handleCheckChange:w,handleChildNodeExpand:(I,M,$)=>{s(M),a.ctx.emit("node-expand",I,M,$)},handleDragStart:I=>{a.props.draggable&&u.treeNodeDragStart({event:I,treeNode:e})},handleDragOver:I=>{I.preventDefault(),a.props.draggable&&u.treeNodeDragOver({event:I,treeNode:{$el:c.value,node:e.node}})},handleDrop:I=>{I.preventDefault()},handleDragEnd:I=>{a.props.draggable&&u.treeNodeDragEnd(I)},CaretRight:Ny}}});const p0e=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],v0e=["aria-expanded"];function m0e(e,t,n,s,a,o){const r=Ge("el-icon"),i=Ge("el-checkbox"),l=Ge("loading"),c=Ge("node-content"),u=Ge("el-tree-node"),d=Ge("el-collapse-transition");return gt((S(),P("div",{ref:"node$",class:D([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[2]||(t[2]=lt((...h)=>e.handleClick&&e.handleClick(...h),["stop"])),onContextmenu:t[3]||(t[3]=(...h)=>e.handleContextMenu&&e.handleContextMenu(...h)),onDragstart:t[4]||(t[4]=lt((...h)=>e.handleDragStart&&e.handleDragStart(...h),["stop"])),onDragover:t[5]||(t[5]=lt((...h)=>e.handleDragOver&&e.handleDragOver(...h),["stop"])),onDragend:t[6]||(t[6]=lt((...h)=>e.handleDragEnd&&e.handleDragEnd(...h),["stop"])),onDrop:t[7]||(t[7]=lt((...h)=>e.handleDrop&&e.handleDrop(...h),["stop"]))},[A("div",{class:D(e.ns.be("node","content")),style:tt({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(S(),le(r,{key:0,class:D([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:lt(e.handleExpandIconClick,["stop"])},{default:X(()=>[(S(),le(bt(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):ie("v-if",!0),e.showCheckbox?(S(),le(i,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:t[0]||(t[0]=lt(()=>{},["stop"])),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):ie("v-if",!0),e.node.loading?(S(),le(r,{key:2,class:D([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:X(()=>[j(l)]),_:1},8,["class"])):ie("v-if",!0),j(c,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),j(d,null,{default:X(()=>[!e.renderAfterExpand||e.childNodeRendered?gt((S(),P("div",{key:0,class:D(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded,onClick:t[1]||(t[1]=lt(()=>{},["stop"]))},[(S(!0),P(He,null,yt(e.node.childNodes,h=>(S(),le(u,{key:e.getNodeKey(h),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:h,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,v0e)),[[Bt,e.expanded]]):ie("v-if",!0)]),_:1})],42,p0e)),[[Bt,e.node.visible]])}var g0e=is(h0e,[["render",m0e]]);function b0e({el$:e},t){const n=Ee("tree");St(()=>{o()}),or(()=>{var r;(r=e.value)==null||r.querySelectorAll("input[type=checkbox]").forEach(i=>{i.setAttribute("tabindex","-1")})});function s(r,i){var l,c;const u=t.value.getNode(r[i].dataset.key);return u.canFocus&&u.visible&&(((l=u.parent)==null?void 0:l.expanded)||((c=u.parent)==null?void 0:c.level)===0)}Zt(e,"keydown",r=>{const i=r.target;if(!i.className.includes(n.b("node")))return;const l=an(r),c=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),u=c.indexOf(i);let d;if([Ae.up,Ae.down].includes(l)){if(r.preventDefault(),l===Ae.up){d=u===-1?0:u!==0?u-1:c.length-1;const p=d;for(;!s(c,d);){if(d--,d===p){d=-1;break}d<0&&(d=c.length-1)}}else{d=u===-1?0:u=c.length&&(d=0)}}d!==-1&&c[d].focus()}[Ae.left,Ae.right].includes(l)&&(r.preventDefault(),i.click());const h=i.querySelector('[type="checkbox"]');[Ae.enter,Ae.numpadEnter,Ae.space].includes(l)&&h&&(r.preventDefault(),h.click())});const o=()=>{var r;if(!e.value)return;const i=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));Array.from(e.value.querySelectorAll("input[type=checkbox]")).forEach(u=>{u.setAttribute("tabindex","-1")});const c=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);if(c.length){c[0].setAttribute("tabindex","0");return}(r=i[0])==null||r.setAttribute("tabindex","0")}}const RM=Te({data:{type:re(Array),default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},checkDescendants:Boolean,autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:{type:Array},defaultExpandedKeys:{type:Array},currentNodeKey:{type:[String,Number]},renderContent:{type:re(Function)},showCheckbox:Boolean,draggable:Boolean,allowDrag:{type:re(Function)},allowDrop:{type:re(Function)},props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:Boolean,highlightCurrent:Boolean,load:{type:Function},filterNodeMethod:{type:Function},accordion:Boolean,indent:{type:Number,default:18},icon:{type:en}});var y0e=W({name:"ElTree",components:{ElTreeNode:g0e},props:RM,emits:{"check-change":(e,t,n)=>e&&Qt(t)&&Qt(n),"current-change":(e,t)=>!0,"node-click":(e,t,n,s)=>e&&t&&s instanceof Event,"node-contextmenu":(e,t,n,s)=>e instanceof Event&&t&&n,"node-collapse":(e,t,n)=>e&&t,"node-expand":(e,t,n)=>e&&t,check:(e,t)=>e&&t,"node-drag-start":(e,t)=>e&&t,"node-drag-end":(e,t,n,s)=>e&&s,"node-drop":(e,t,n,s)=>e&&t&&s,"node-drag-leave":(e,t,n)=>e&&t&&n,"node-drag-enter":(e,t,n)=>e&&t&&n,"node-drag-over":(e,t,n)=>e&&t&&n},setup(e,t){const{t:n}=It(),s=Ee("tree"),a=F(new u0e({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}));a.value.initialize();const o=F(a.value.root),r=F(null),i=F(null),l=F(null),{broadcastExpanded:c}=MM(e),{dragState:u}=f0e({props:e,ctx:t,el$:i,dropIndicator$:l,store:a});b0e({el$:i},a);const d=_t(),h=k(()=>{let z=d==null?void 0:d.parent;for(;z;){if(z.type.name==="ElTreeSelect")return!0;z=z.parent}return!1}),p=k(()=>{const{childNodes:z}=o.value;return(!z||z.length===0||z.every(({visible:G})=>!G))&&!h.value});me(()=>e.currentNodeKey,z=>{a.value.setCurrentNodeKey(z??null)}),me(()=>e.defaultCheckedKeys,(z,G)=>{$n(z,G)||a.value.setDefaultCheckedKey(z??[])}),me(()=>e.defaultExpandedKeys,z=>{a.value.setDefaultExpandedKeys(z??[])}),me(()=>e.data,z=>{a.value.setData(z)},{deep:!0}),me(()=>e.checkStrictly,z=>{a.value.checkStrictly=z});const v=z=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");a.value.filter(z)},m=z=>s8(e.nodeKey,z.data),g=z=>{if(!e.nodeKey)throw new Error(`[Tree] nodeKey is required in ${z}`)},b=z=>{g("getNodePath");const G=a.value.getNode(z);if(!G)return[];const Q=[G.data];let K=G.parent;for(;K&&K!==o.value;)Q.push(K.data),K=K.parent;return Q.reverse()},C=(z,G)=>a.value.getCheckedNodes(z,G),w=z=>a.value.getCheckedKeys(z),_=()=>{const z=a.value.getCurrentNode();return z?z.data:null},x=()=>{g("getCurrentKey");const z=_();return z?z[e.nodeKey]:null},E=(z,G)=>{g("setCheckedNodes"),a.value.setCheckedNodes(z,G)},T=(z,G)=>{g("setCheckedKeys"),a.value.setCheckedKeys(z,G)},R=(z,G,Q)=>{a.value.setChecked(z,G,Q)},I=()=>a.value.getHalfCheckedNodes(),M=()=>a.value.getHalfCheckedKeys(),$=(z,G=!0)=>{g("setCurrentNode"),a8(a,t.emit,()=>{c(z),a.value.setUserCurrentNode(z,G)})},O=(z=null,G=!0)=>{g("setCurrentKey"),a8(a,t.emit,()=>{c(),a.value.setCurrentNodeKey(z,G)})},B=z=>a.value.getNode(z),U=z=>{a.value.remove(z)},J=(z,G)=>{a.value.append(z,G)},Y=(z,G)=>{a.value.insertBefore(z,G)},N=(z,G)=>{a.value.insertAfter(z,G)},L=(z,G,Q)=>{c(G),t.emit("node-expand",z,G,Q)},V=(z,G)=>{g("updateKeyChild"),a.value.updateChildren(z,G)};return Tt(i8,{ctx:t,props:e,store:a,root:o,currentNode:r,instance:d}),Tt(ni,void 0),{ns:s,store:a,root:o,currentNode:r,dragState:u,el$:i,dropIndicator$:l,isEmpty:p,filter:v,getNodeKey:m,getNodePath:b,getCheckedNodes:C,getCheckedKeys:w,getCurrentNode:_,getCurrentKey:x,setCheckedNodes:E,setCheckedKeys:T,setChecked:R,getHalfCheckedNodes:I,getHalfCheckedKeys:M,setCurrentNode:$,setCurrentKey:O,t:n,getNode:B,remove:U,append:J,insertBefore:Y,insertAfter:N,handleNodeExpand:L,updateKeyChildren:V}}});function w0e(e,t,n,s,a,o){const r=Ge("el-tree-node");return S(),P("div",{ref:"el$",class:D([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"},[(S(!0),P(He,null,yt(e.root.childNodes,i=>(S(),le(r,{key:e.getNodeKey(i),node:i,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?(S(),P("div",{key:0,class:D(e.ns.e("empty-block"))},[ue(e.$slots,"empty",{},()=>{var i;return[A("span",{class:D(e.ns.e("empty-text"))},ve((i=e.emptyText)!=null?i:e.t("el.tree.emptyText")),3)]})],2)):ie("v-if",!0),gt(A("div",{ref:"dropIndicator$",class:D(e.ns.e("drop-indicator"))},null,2),[[Bt,e.dragState.showDropIndicator]])],2)}var _0e=is(y0e,[["render",w0e]]);const l8=pt(_0e),C0e=(e,{attrs:t,emit:n},{select:s,tree:a,key:o})=>{const r=Ee("tree-select");me(()=>e.data,()=>{e.filterable&&ze(()=>{var c,u;(u=a.value)==null||u.filter((c=s.value)==null?void 0:c.states.inputValue)})},{flush:"post"});const i=c=>{var u;const d=c.at(-1);if(d.expanded&&d.childNodes.at(-1))i([d.childNodes.at(-1)]);else{const h=(u=a.value.el$)==null?void 0:u.querySelector(`[data-key="${c.at(-1).key}"]`);h==null||h.focus({preventScroll:!0});return}};return St(()=>{Zt(()=>{var c;return(c=s.value)==null?void 0:c.$el},"keydown",async c=>{const u=an(c),{dropdownMenuVisible:d}=s.value;[Ae.down,Ae.up].includes(u)&&d&&(await ze(),setTimeout(()=>{var h,p,v;if(Ae.up===u){const m=a.value.store.root.childNodes;i(m);return}(v=(p=(h=s.value.optionsArray[s.value.states.hoveringIndex].$el)==null?void 0:h.parentNode)==null?void 0:p.parentNode)==null||v.focus({preventScroll:!0})}))},{capture:!0})}),{...Ui(ps(e),Object.keys(cc.props)),...t,class:k(()=>t.class),style:k(()=>t.style),"onUpdate:modelValue":c=>n(ct,c),valueKey:o,popperClass:k(()=>{const c=[r.e("popper")];return e.popperClass&&c.push(e.popperClass),c.join(" ")}),filterMethod:(c="")=>{var u;e.filterMethod?e.filterMethod(c):e.remoteMethod?e.remoteMethod(c):(u=a.value)==null||u.filter(c)}}},S0e=W({extends:Hg,setup(e,t){const n=Hg.setup(e,t);delete n.selectOptionClick;const s=_t().proxy;return ze(()=>{n.select.states.cachedOptions.get(s.value)||n.select.onOptionCreate(s)}),me(()=>t.attrs.visible,a=>{ze(()=>{n.states.visible=a})},{immediate:!0}),n},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function c8(e){return e||e===0}function u8(e){return ke(e)&&e.length}function nh(e){return ke(e)?e:c8(e)?[e]:[]}function A1(e,t,n,s,a){for(let o=0;o{me([()=>e.modelValue,o],()=>{e.showCheckbox&&ze(()=>{const h=o.value;h&&!$n(h.getCheckedKeys(),nh(e.modelValue))&&h.setCheckedKeys(nh(e.modelValue))})},{immediate:!0,deep:!0});const i=k(()=>({value:r.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...e.props})),l=(h,p)=>{var v;const m=i.value[h];return et(m)?m(p,(v=o.value)==null?void 0:v.getNode(l("value",p))):p[m]},c=nh(e.modelValue).map(h=>A1(e.data||[],p=>l("value",p)===h,p=>l("children",p),(p,v,m,g)=>g&&l("value",g))).filter(h=>c8(h)),u=k(()=>{if(!e.renderAfterExpand&&!e.lazy)return[];const h=[];return T1(e.data.concat(e.cacheData),p=>{const v=l("value",p);h.push({value:v,currentLabel:l("label",p),isDisabled:l("disabled",p)})},p=>l("children",p)),h}),d=()=>{var h;return(h=o.value)==null?void 0:h.getCheckedKeys().filter(p=>{var v;const m=(v=o.value)==null?void 0:v.getNode(p);return!qn(m)&&Pa(m.childNodes)})};return{...Ui(ps(e),Object.keys(l8.props)),...t,nodeKey:r,expandOnClickNode:k(()=>!e.checkStrictly&&e.expandOnClickNode),defaultExpandedKeys:k(()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(c):c),renderContent:(h,{node:p,data:v,store:m})=>h(S0e,{value:l("value",v),label:l("label",v),disabled:l("disabled",v),visible:p.visible},e.renderContent?()=>e.renderContent(h,{node:p,data:v,store:m}):n.default?()=>n.default({node:p,data:v,store:m}):void 0),filterNodeMethod:(h,p,v)=>e.filterNodeMethod?e.filterNodeMethod(h,p,v):h?new RegExp(C3(h),"i").test(l("label",p)||""):!0,onNodeClick:(h,p,v)=>{var m,g,b;if((m=t.onNodeClick)==null||m.call(t,h,p,v),!(e.showCheckbox&&e.checkOnClickNode))if(!e.showCheckbox&&(e.checkStrictly||p.isLeaf)){if(!l("disabled",h)){const C=(g=a.value)==null?void 0:g.states.options.get(l("value",h));(b=a.value)==null||b.handleOptionSelect(C)}}else e.expandOnClickNode&&v.proxy.handleExpandIconClick()},onCheck:(h,p)=>{var v;if(!e.showCheckbox)return;const m=l("value",h),g={};T1([o.value.store.root],_=>g[_.key]=_,_=>_.childNodes);const b=p.checkedKeys,C=e.multiple?nh(e.modelValue).filter(_=>!(_ in g)&&!b.includes(_)):[],w=C.concat(b);if(e.checkStrictly)s(ct,e.multiple?w:w.includes(m)?m:void 0);else if(e.multiple){const _=d();s(ct,C.concat(_))}else{const _=A1([h],T=>!u8(l("children",T))&&!l("disabled",T),T=>l("children",T)),x=_?l("value",_):void 0,E=c8(e.modelValue)&&!!A1([h],T=>l("value",T)===e.modelValue,T=>l("children",T));s(ct,x===e.modelValue||E?void 0:x)}ze(()=>{var _;const x=nh(e.modelValue);o.value.setCheckedKeys(x),(_=t.onCheck)==null||_.call(t,h,{checkedKeys:o.value.getCheckedKeys(),checkedNodes:o.value.getCheckedNodes(),halfCheckedKeys:o.value.getHalfCheckedKeys(),halfCheckedNodes:o.value.getHalfCheckedNodes()})}),(v=a.value)==null||v.focus()},onNodeExpand:(h,p,v)=>{var m;(m=t.onNodeExpand)==null||m.call(t,h,p,v),ze(()=>{if(!e.checkStrictly&&e.lazy&&e.multiple&&p.checked){const g={},b=o.value.getCheckedKeys();T1([o.value.store.root],_=>g[_.key]=_,_=>_.childNodes);const C=nh(e.modelValue).filter(_=>!(_ in g)&&!b.includes(_)),w=d();s(ct,C.concat(w))}})},cacheOptions:u}};var E0e=W({props:{data:{type:Array,default:()=>[]}},setup(e){const t=je(Vp);return me(()=>e.data,()=>{var n;e.data.forEach(a=>{t.states.cachedOptions.has(a.value)||t.states.cachedOptions.set(a.value,a)});const s=((n=t.selectRef)==null?void 0:n.querySelectorAll("input"))||[];jt&&!Array.from(s).includes(document.activeElement)&&t.setSelected()},{flush:"post",immediate:!0}),()=>{}}}),k0e=W({name:"ElTreeSelect",inheritAttrs:!1,props:{...qE,...RM,cacheData:{type:Array,default:()=>[]}},setup(e,t){const{slots:n,expose:s}=t,a=F(),o=F(),r=k(()=>e.nodeKey||e.valueKey||"value"),i=C0e(e,t,{select:a,tree:o,key:r}),{cacheOptions:l,...c}=x0e(e,t,{select:a,tree:o,key:r}),u=Wt({});return s(u),St(()=>{Object.assign(u,{...Ui(o.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...Ui(a.value,["focus","blur","selectedLabel"]),treeRef:o.value,selectRef:a.value})}),()=>rt(cc,Wt({...i,ref:d=>a.value=d}),{...n,default:()=>[rt(E0e,{data:l.value}),rt(l8,Wt({...c,ref:d=>o.value=d}))]})}});const A0e=pt(k0e),d8=Symbol(),T0e={key:-1,level:-1,data:{}};var lv=(e=>(e.KEY="id",e.LABEL="label",e.CHILDREN="children",e.DISABLED="disabled",e.CLASS="",e))(lv||{}),f8=(e=>(e.ADD="add",e.DELETE="delete",e))(f8||{});const IM={type:Number,default:26},M0e=Te({data:{type:re(Array),default:()=>Rn([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:re(Object),default:()=>Rn({children:"children",label:"label",disabled:"disabled",value:"id",class:""})},highlightCurrent:Boolean,showCheckbox:Boolean,defaultCheckedKeys:{type:re(Array),default:()=>Rn([])},checkStrictly:Boolean,defaultExpandedKeys:{type:re(Array),default:()=>Rn([])},indent:{type:Number,default:16},itemSize:IM,icon:{type:en},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},currentNodeKey:{type:re([String,Number])},accordion:Boolean,filterMethod:{type:re(Function)},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),P0e=Te({node:{type:re(Object),default:()=>Rn(T0e)},expanded:Boolean,checked:Boolean,indeterminate:Boolean,showCheckbox:Boolean,disabled:Boolean,current:Boolean,hiddenExpandIcon:Boolean,itemSize:IM}),R0e=Te({node:{type:re(Object),required:!0}}),OM="node-click",LM="node-drop",NM="node-expand",$M="node-collapse",DM="current-change",FM="check",BM="check-change",VM="node-contextmenu",I0e={[OM]:(e,t,n)=>e&&t&&n,[LM]:(e,t,n)=>e&&t&&n,[NM]:(e,t)=>e&&t,[$M]:(e,t)=>e&&t,[DM]:(e,t)=>e&&t,[FM]:(e,t)=>e&&t,[BM]:(e,t)=>e&&Qt(t),[VM]:(e,t,n)=>e&&t&&n},O0e={click:(e,t)=>!!(e&&t),drop:(e,t)=>!!(e&&t),toggle:e=>!!e,check:(e,t)=>e&&Qt(t)};function L0e(e,t){const n=F(new Set),s=F(new Set),{emit:a}=_t();me([()=>t.value,()=>e.defaultCheckedKeys],()=>ze(()=>{C(e.defaultCheckedKeys)}),{immediate:!0});const o=()=>{if(!t.value||!e.showCheckbox||e.checkStrictly)return;const{levelTreeNodeMap:w,maxLevel:_}=t.value,x=n.value,E=new Set;for(let T=_;T>=1;--T){const R=w.get(T);R&&R.forEach(I=>{const M=I.children;let $=!I.isLeaf||I.disabled||x.has(I.key);if(M){let O=!0,B=!1;for(const U of M){const J=U.key;if(U.isEffectivelyChecked||($=!1),x.has(J))B=!0;else if(E.has(J)){O=!1,B=!0;break}else O=!1}O?x.add(I.key):B?(E.add(I.key),x.delete(I.key)):(x.delete(I.key),E.delete(I.key))}I.isEffectivelyChecked=$})}s.value=E},r=w=>n.value.has(w.key),i=w=>s.value.has(w.key),l=(w,_,x=!0,E=!0)=>{const T=n.value,R=w.children;!e.checkStrictly&&x&&(R!=null&&R.length)&&(_=R.some(M=>!M.isEffectivelyChecked));const I=(M,$)=>{T[$?f8.ADD:f8.DELETE](M.key);const O=M.children;!e.checkStrictly&&O&&O.forEach(B=>{(!B.disabled||B.children)&&I(B,$)})};I(w,_),E&&o(),x&&c(w,_)},c=(w,_)=>{const{checkedNodes:x,checkedKeys:E}=v(),{halfCheckedNodes:T,halfCheckedKeys:R}=m();a(FM,w.data,{checkedKeys:E,checkedNodes:x,halfCheckedKeys:R,halfCheckedNodes:T}),a(BM,w.data,_)};function u(w=!1){return v(w).checkedKeys}function d(w=!1){return v(w).checkedNodes}function h(){return m().halfCheckedKeys}function p(){return m().halfCheckedNodes}function v(w=!1){const _=[],x=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:E}=t.value;n.value.forEach(T=>{const R=E.get(T);R&&(!w||w&&R.isLeaf)&&(x.push(T),_.push(R.data))})}return{checkedKeys:x,checkedNodes:_}}function m(){const w=[],_=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:x}=t.value;s.value.forEach(E=>{const T=x.get(E);T&&(_.push(E),w.push(T.data))})}return{halfCheckedNodes:w,halfCheckedKeys:_}}function g(w){n.value.clear(),s.value.clear(),ze(()=>{C(w)})}function b(w,_){if(t!=null&&t.value&&e.showCheckbox){const x=t.value.treeNodeMap.get(w);x&&l(x,_,!1)}}function C(w){if(t!=null&&t.value){const{treeNodeMap:_}=t.value;if(e.showCheckbox&&_&&(w==null?void 0:w.length)>0){for(const x of w){const E=_.get(x);E&&!r(E)&&l(E,!0,!1,!1)}o()}}}return{updateCheckedKeys:o,toggleCheckbox:l,isChecked:r,isIndeterminate:i,getCheckedKeys:u,getCheckedNodes:d,getHalfCheckedKeys:h,getHalfCheckedNodes:p,setChecked:b,setCheckedKeys:g}}function N0e(e,t){const n=F(new Set([])),s=F(new Set([])),a=k(()=>et(e.filterMethod));function o(i){var l;if(!a.value)return;const c=new Set,u=s.value,d=n.value,h=[],p=((l=t.value)==null?void 0:l.treeNodes)||[],v=e.filterMethod;d.clear();function m(g){g.forEach(b=>{h.push(b),v!=null&&v(i,b.data,b)?h.forEach(w=>{c.add(w.key),w.expanded=!0}):(b.expanded=!1,b.isLeaf&&d.add(b.key));const C=b.children;if(C&&m(C),!b.isLeaf){if(!c.has(b.key))d.add(b.key);else if(C){let w=!0;for(const _ of C)if(!d.has(_.key)){w=!1;break}w?u.add(b.key):u.delete(b.key)}}h.pop()})}return m(p),c}function r(i){return s.value.has(i.key)}return{hiddenExpandIconKeySet:s,hiddenNodeKeySet:n,doFilter:o,isForceHiddenExpandIcon:r}}function $0e(e,t){const n=F(new Set),s=F(),a=hn(),o=F(),{isIndeterminate:r,isChecked:i,toggleCheckbox:l,getCheckedKeys:c,getCheckedNodes:u,getHalfCheckedKeys:d,getHalfCheckedNodes:h,setChecked:p,setCheckedKeys:v}=L0e(e,a),{doFilter:m,hiddenNodeKeySet:g,isForceHiddenExpandIcon:b}=N0e(e,a),C=k(()=>{var Z;return((Z=e.props)==null?void 0:Z.value)||lv.KEY}),w=k(()=>{var Z;return((Z=e.props)==null?void 0:Z.children)||lv.CHILDREN}),_=k(()=>{var Z;return((Z=e.props)==null?void 0:Z.disabled)||lv.DISABLED}),x=k(()=>{var Z;return((Z=e.props)==null?void 0:Z.label)||lv.LABEL}),E=k(()=>{var Z;const H=n.value,te=g.value,de=[],be=((Z=a.value)==null?void 0:Z.treeNodes)||[],_e=[];for(let Se=be.length-1;Se>=0;--Se)_e.push(be[Se]);for(;_e.length;){const Se=_e.pop();if(!te.has(Se.key)&&(de.push(Se),Se.children&&H.has(Se.key)))for(let Ne=Se.children.length-1;Ne>=0;--Ne)_e.push(Se.children[Ne])}return de}),T=k(()=>E.value.length>0);function R(Z){const H=new Map,te=new Map;let de=1;function be(Se,Ne=1,Ve=void 0){var $e;const we=[];for(const Oe of Se){const Pe=$(Oe),We={level:Ne,key:Pe,data:Oe};We.label=B(Oe),We.parent=Ve;const Qe=M(Oe);We.disabled=O(Oe),We.isLeaf=!Qe||Qe.length===0,We.expanded=n.value.has(Pe),Qe&&Qe.length&&(We.children=be(Qe,Ne+1,We)),we.push(We),H.set(Pe,We),te.has(Ne)||te.set(Ne,[]),($e=te.get(Ne))==null||$e.push(We)}return Ne>de&&(de=Ne),we}const _e=be(Z);return{treeNodeMap:H,levelTreeNodeMap:te,maxLevel:de,treeNodes:_e}}function I(Z){const H=m(Z);H&&(n.value=H)}function M(Z){return Z[w.value]}function $(Z){return Z?Z[C.value]:""}function O(Z){return Z[_.value]}function B(Z){return Z[x.value]}function U(Z){n.value.has(Z.key)?G(Z):z(Z)}function J(Z){const H=new Set,te=a.value.treeNodeMap;n.value.forEach(de=>{const be=te.get(de);n.value.delete(be.key),be.expanded=!1}),Z.forEach(de=>{let be=te.get(de);for(;be&&!H.has(be.key);)H.add(be.key),be.expanded=!0,be=be.parent}),n.value=H}function Y(Z,H){t(OM,Z.data,Z,H),L(Z),e.expandOnClickNode&&U(Z),e.showCheckbox&&(e.checkOnClickNode||Z.isLeaf&&e.checkOnClickLeaf)&&!Z.disabled&&l(Z,!i(Z),!0)}function N(Z,H){t(LM,Z.data,Z,H)}function L(Z){K(Z)||(s.value=Z.key,t(DM,Z.data,Z))}function V(Z,H){l(Z,H)}function z(Z){const H=n.value;if(a.value&&e.accordion){const{treeNodeMap:de}=a.value;H.forEach(be=>{const _e=de.get(be);Z&&Z.level===(_e==null?void 0:_e.level)&&(H.delete(be),_e.expanded=!1)})}H.add(Z.key);const te=pe(Z.key);te&&(te.expanded=!0,t(NM,te.data,te))}function G(Z){n.value.delete(Z.key);const H=pe(Z.key);H&&(H.expanded=!1,t($M,H.data,H))}function Q(Z){return!!Z.disabled}function K(Z){const H=s.value;return H!==void 0&&H===Z.key}function ee(){var Z,H;if(s.value)return(H=(Z=a.value)==null?void 0:Z.treeNodeMap.get(s.value))==null?void 0:H.data}function ae(){return s.value}function fe(Z){s.value=Z}function ne(Z){a.value=R(Z)}function pe(Z){var H;const te=ht(Z)?$(Z):Z;return(H=a.value)==null?void 0:H.treeNodeMap.get(te)}function he(Z,H="auto"){const te=pe(Z);te&&o.value&&o.value.scrollToItem(E.value.indexOf(te),H)}function ce(Z){var H;(H=o.value)==null||H.scrollTo(Z)}return me(()=>e.currentNodeKey,Z=>{s.value=Z},{immediate:!0}),me(()=>e.defaultExpandedKeys,Z=>{n.value=new Set(Z)},{immediate:!0}),me(()=>e.data,Z=>{ne(Z)},{immediate:!0}),{tree:a,flattenTree:E,isNotEmpty:T,listRef:o,getKey:$,getChildren:M,toggleExpand:U,toggleCheckbox:l,isChecked:i,isIndeterminate:r,isDisabled:Q,isCurrent:K,isForceHiddenExpandIcon:b,handleNodeClick:Y,handleNodeDrop:N,handleNodeCheck:V,getCurrentNode:ee,getCurrentKey:ae,setCurrentKey:fe,getCheckedKeys:c,getCheckedNodes:u,getHalfCheckedKeys:d,getHalfCheckedNodes:h,setChecked:p,setCheckedKeys:v,filter:I,setData:ne,getNode:pe,expandNode:z,collapseNode:G,setExpandedKeys:J,scrollToNode:he,scrollTo:ce}}var D0e=W({name:"ElTreeNodeContent",props:R0e,setup(e){const t=je(d8),n=Ee("tree");return()=>{const s=e.node,{data:a}=s;return t!=null&&t.ctx.slots.default?t.ctx.slots.default({node:s,data:a}):rt(Q6,{tag:"span",truncated:!0,class:n.be("node","label")},()=>[s==null?void 0:s.label])}}});const F0e=["aria-expanded","aria-disabled","aria-checked","data-key"];var B0e=W({name:"ElTreeNode",__name:"tree-node",props:P0e,emits:O0e,setup(e,{emit:t}){const n=e,s=t,a=je(d8),o=Ee("tree"),r=k(()=>{var v;return(v=a==null?void 0:a.props.indent)!=null?v:16}),i=k(()=>{var v;return(v=a==null?void 0:a.props.icon)!=null?v:Ny}),l=v=>{var m;const g=(m=a==null?void 0:a.props.props)==null?void 0:m.class;if(!g)return{};let b;if(et(g)){const{data:C}=v;b=g(C,v)}else b=g;return Xe(b)?{[b]:!0}:b},c=v=>{s("click",n.node,v)},u=v=>{s("drop",n.node,v)},d=()=>{s("toggle",n.node)},h=v=>{s("check",n.node,v)},p=v=>{var m,g,b,C;(b=(g=(m=a==null?void 0:a.instance)==null?void 0:m.vnode)==null?void 0:g.props)!=null&&b.onNodeContextmenu&&(v.stopPropagation(),v.preventDefault()),a==null||a.ctx.emit(VM,v,(C=n.node)==null?void 0:C.data,n.node)};return(v,m)=>{var g,b,C;return S(),P("div",{ref:"node$",class:D([f(o).b("node"),f(o).is("expanded",e.expanded),f(o).is("current",e.current),f(o).is("focusable",!e.disabled),f(o).is("checked",!e.disabled&&e.checked),l(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.disabled,"aria-checked":e.checked,"data-key":(g=e.node)==null?void 0:g.key,onClick:lt(c,["stop"]),onContextmenu:p,onDragover:m[1]||(m[1]=lt(()=>{},["prevent"])),onDragenter:m[2]||(m[2]=lt(()=>{},["prevent"])),onDrop:lt(u,["stop"])},[A("div",{class:D(f(o).be("node","content")),style:tt({paddingLeft:`${(e.node.level-1)*r.value}px`,height:e.itemSize+"px"})},[i.value?(S(),le(f(Je),{key:0,class:D([f(o).is("leaf",!!((b=e.node)!=null&&b.isLeaf)),f(o).is("hidden",e.hiddenExpandIcon),{expanded:!((C=e.node)!=null&&C.isLeaf)&&e.expanded},f(o).be("node","expand-icon")]),onClick:lt(d,["stop"])},{default:X(()=>[(S(),le(bt(i.value)))]),_:1},8,["class"])):ie("v-if",!0),e.showCheckbox?(S(),le(f(mr),{key:1,"model-value":e.checked,indeterminate:e.indeterminate,disabled:e.disabled,onChange:h,onClick:m[0]||(m[0]=lt(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):ie("v-if",!0),j(f(D0e),{node:{...e.node,expanded:e.expanded}},null,8,["node"])],6)],42,F0e)}}}),V0e=W({name:"ElTreeV2",__name:"tree",props:M0e,emits:I0e,setup(e,{expose:t,emit:n}){const s=e,a=n,o=zn(),r=k(()=>s.itemSize);Tt(d8,{ctx:{emit:a,slots:o},props:s,instance:_t()}),Tt(ni,void 0);const{t:i}=It(),l=Ee("tree"),{flattenTree:c,isNotEmpty:u,listRef:d,toggleExpand:h,isIndeterminate:p,isChecked:v,isDisabled:m,isCurrent:g,isForceHiddenExpandIcon:b,handleNodeClick:C,handleNodeDrop:w,handleNodeCheck:_,toggleCheckbox:x,getCurrentNode:E,getCurrentKey:T,setCurrentKey:R,getCheckedKeys:I,getCheckedNodes:M,getHalfCheckedKeys:$,getHalfCheckedNodes:O,setChecked:B,setCheckedKeys:U,filter:J,setData:Y,getNode:N,expandNode:L,collapseNode:V,setExpandedKeys:z,scrollToNode:G,scrollTo:Q}=$0e(s,a);return t({toggleCheckbox:x,getCurrentNode:E,getCurrentKey:T,setCurrentKey:R,getCheckedKeys:I,getCheckedNodes:M,getHalfCheckedKeys:$,getHalfCheckedNodes:O,setChecked:B,setCheckedKeys:U,filter:J,setData:Y,getNode:N,expandNode:L,collapseNode:V,setExpandedKeys:z,scrollToNode:G,scrollTo:Q}),(K,ee)=>(S(),P("div",{class:D([f(l).b(),{[f(l).m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[f(u)?(S(),le(f(rT),{key:0,ref_key:"listRef",ref:d,"class-name":f(l).b("virtual-list"),data:f(c),total:f(c).length,height:e.height,"item-size":r.value,"perf-mode":e.perfMode,"scrollbar-always-on":e.scrollbarAlwaysOn},{default:X(({data:ae,index:fe,style:ne})=>[(S(),le(B0e,{key:ae[fe].key,style:tt(ne),node:ae[fe],expanded:ae[fe].expanded,"show-checkbox":e.showCheckbox,checked:f(v)(ae[fe]),indeterminate:f(p)(ae[fe]),"item-size":r.value,disabled:f(m)(ae[fe]),current:f(g)(ae[fe]),"hidden-expand-icon":f(b)(ae[fe]),onClick:f(C),onToggle:f(h),onCheck:f(_),onDrop:f(w)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck","onDrop"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode","scrollbar-always-on"])):(S(),P("div",{key:1,class:D(f(l).e("empty-block"))},[ue(K.$slots,"empty",{},()=>{var ae;return[A("span",{class:D(f(l).e("empty-text"))},ve((ae=e.emptyText)!=null?ae:f(i)("el.tree.emptyText")),3)]})],2))],2))}});const z0e=pt(V0e);var H0e=Object.defineProperty,W0e=(e,t,n)=>t in e?H0e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,M1=(e,t,n)=>W0e(e,typeof t!="symbol"?t+"":t,n);const j0e="ElUpload";class K0e extends Error{constructor(t,n,s,a){super(t),M1(this,"name","UploadAjaxError"),M1(this,"status"),M1(this,"method"),M1(this,"url"),this.status=n,this.method=s,this.url=a}}function zM(e,t,n){let s;return n.response?s=`${n.response.error||n.response}`:n.responseText?s=`${n.responseText}`:s=`fail to ${t.method} ${e} ${n.status}`,new K0e(s,n.status,t.method,e)}function U0e(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const q0e=e=>{typeof XMLHttpRequest>"u"&&Xn(j0e,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",o=>{const r=o;r.percent=o.total>0?o.loaded/o.total*100:0,e.onProgress(r)});const s=new FormData;if(e.data)for(const[o,r]of Object.entries(e.data))ke(r)&&r.length?s.append(o,...r):s.append(o,r);s.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(zM(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(zM(n,e,t));e.onSuccess(U0e(t))}),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const a=e.headers||{};if(a instanceof Headers)a.forEach((o,r)=>t.setRequestHeader(r,o));else for(const[o,r]of Object.entries(a))qn(r)||t.setRequestHeader(o,String(r));return t.send(s),t},HM=["text","picture","picture-card"];let G0e=1;const h8=()=>Date.now()+G0e++,WM=Te({action:{type:String,default:"#"},headers:{type:re(Object)},method:{type:String,default:"post"},data:{type:re([Object,Function,Promise]),default:()=>Rn({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:re(Array),default:()=>Rn([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:HM,default:"text"},httpRequest:{type:re(Function),default:q0e},disabled:{type:Boolean,default:void 0},limit:Number,directory:Boolean}),Y0e=Te({...WM,beforeUpload:{type:re(Function),default:qt},beforeRemove:{type:re(Function)},onRemove:{type:re(Function),default:qt},onChange:{type:re(Function),default:qt},onPreview:{type:re(Function),default:qt},onSuccess:{type:re(Function),default:qt},onProgress:{type:re(Function),default:qt},onError:{type:re(Function),default:qt},onExceed:{type:re(Function),default:qt},crossorigin:{type:re(String)}}),jM=Symbol("uploadContextKey"),X0e=Te({files:{type:re(Array),default:()=>Rn([])},disabled:{type:Boolean,default:void 0},handlePreview:{type:re(Function),default:qt},listType:{type:String,values:HM,default:"text"},crossorigin:{type:re(String)}}),J0e={remove:e=>!!e},Z0e=["tabindex","aria-disabled","onKeydown"],Q0e=["src","crossorigin"],epe=["onClick"],tpe=["title"],npe=["onClick"],spe=["onClick"];var KM=W({name:"ElUploadList",__name:"upload-list",props:X0e,emits:J0e,setup(e,{emit:t}){const n=e,s=t,{t:a}=It(),o=Ee("upload"),r=Ee("icon"),i=Ee("list"),l=In(),c=F(!1),u=k(()=>[o.b("list"),o.bm("list",n.listType),o.is("disabled",l.value)]),d=h=>{s("remove",h)};return(h,p)=>(S(),le(BS,{tag:"ul",class:D(u.value),name:f(i).b()},{default:X(()=>[(S(!0),P(He,null,yt(e.files,(v,m)=>(S(),P("li",{key:v.uid||v.name,class:D([f(o).be("list","item"),f(o).is(v.status),{focusing:c.value}]),tabindex:f(l)?void 0:0,"aria-disabled":f(l),role:"button",onKeydown:Nn(g=>!f(l)&&d(v),["delete"]),onFocus:p[0]||(p[0]=g=>c.value=!0),onBlur:p[1]||(p[1]=g=>c.value=!1),onClick:p[2]||(p[2]=g=>c.value=!1)},[ue(h.$slots,"default",{file:v,index:m},()=>[e.listType==="picture"||v.status!=="uploading"&&e.listType==="picture-card"?(S(),P("img",{key:0,class:D(f(o).be("list","item-thumbnail")),src:v.url,crossorigin:e.crossorigin,alt:""},null,10,Q0e)):ie("v-if",!0),v.status==="uploading"||e.listType!=="picture-card"?(S(),P("div",{key:1,class:D(f(o).be("list","item-info"))},[A("a",{class:D(f(o).be("list","item-name")),onClick:lt(g=>e.handlePreview(v),["prevent"])},[j(f(Je),{class:D(f(r).m("document"))},{default:X(()=>[j(f(_g))]),_:1},8,["class"]),A("span",{class:D(f(o).be("list","item-file-name")),title:v.name},ve(v.name),11,tpe)],10,epe),v.status==="uploading"?(S(),le(f(UA),{key:0,type:e.listType==="picture-card"?"circle":"line","stroke-width":e.listType==="picture-card"?6:2,percentage:Number(v.percentage),style:tt(e.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):ie("v-if",!0)],2)):ie("v-if",!0),A("label",{class:D(f(o).be("list","item-status-label"))},[e.listType==="text"?(S(),le(f(Je),{key:0,class:D([f(r).m("upload-success"),f(r).m("circle-check")])},{default:X(()=>[j(f(xp))]),_:1},8,["class"])):["picture-card","picture"].includes(e.listType)?(S(),le(f(Je),{key:1,class:D([f(r).m("upload-success"),f(r).m("check")])},{default:X(()=>[j(f(Mf))]),_:1},8,["class"])):ie("v-if",!0)],2),f(l)?ie("v-if",!0):(S(),le(f(Je),{key:2,class:D(f(r).m("close")),onClick:g=>d(v)},{default:X(()=>[j(f(Ua))]),_:1},8,["class","onClick"])),ie(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),ie(" This is a bug which needs to be fixed "),ie(" TODO: Fix the incorrect navigation interaction "),f(l)?ie("v-if",!0):(S(),P("i",{key:3,class:D(f(r).m("close-tip"))},ve(f(a)("el.upload.deleteTip")),3)),e.listType==="picture-card"?(S(),P("span",{key:4,class:D(f(o).be("list","item-actions"))},[A("span",{class:D(f(o).be("list","item-preview")),onClick:g=>e.handlePreview(v)},[j(f(Je),{class:D(f(r).m("zoom-in"))},{default:X(()=>[j(f(xg))]),_:1},8,["class"])],10,npe),f(l)?ie("v-if",!0):(S(),P("span",{key:0,class:D(f(o).be("list","item-delete")),onClick:g=>d(v)},[j(f(Je),{class:D(f(r).m("delete"))},{default:X(()=>[j(f(qx))]),_:1},8,["class"])],10,spe))],2)):ie("v-if",!0)])],42,Z0e))),128)),ue(h.$slots,"append")]),_:3},8,["class","name"]))}});const ape=Te({...WM,beforeUpload:{type:re(Function),default:qt},onRemove:{type:re(Function),default:qt},onStart:{type:re(Function),default:qt},onSuccess:{type:re(Function),default:qt},onProgress:{type:re(Function),default:qt},onError:{type:re(Function),default:qt},onExceed:{type:re(Function),default:qt}}),ope=Te({disabled:{type:Boolean,default:void 0},directory:Boolean}),rpe={file:e=>ke(e)},UM="ElUploadDrag";var ipe=W({name:UM,__name:"upload-dragger",props:ope,emits:rpe,setup(e,{emit:t}){const n=e,s=t;je(jM)||Xn(UM,"usage: ");const o=Ee("upload"),r=F(!1),i=In(),l=p=>new Promise((v,m)=>p.file(v,m)),c=async p=>{try{if(p.isFile){const v=await l(p);return v.isDirectory=!1,[v]}if(p.isDirectory){const v=p.createReader(),m=()=>new Promise((_,x)=>v.readEntries(_,x)),g=[];let b=await m();for(;b.length>0;)g.push(...b),b=await m();const C=g.map(_=>c(_).catch(()=>[])),w=await Promise.all(C);return lg(w)}}catch{return[]}return[]},u=async p=>{if(i.value)return;r.value=!1,p.stopPropagation();const v=Array.from(p.dataTransfer.files),m=p.dataTransfer.items||[];if(n.directory){const g=Array.from(m).map(C=>{var w;return(w=C==null?void 0:C.webkitGetAsEntry)==null?void 0:w.call(C)}).filter(C=>C),b=await Promise.all(g.map(c));s("file",lg(b));return}v.forEach((g,b)=>{var C;const w=m[b],_=(C=w==null?void 0:w.webkitGetAsEntry)==null?void 0:C.call(w);_&&(g.isDirectory=_.isDirectory)}),s("file",v)},d=()=>{i.value||(r.value=!0)},h=p=>{p.currentTarget.contains(p.relatedTarget)||(r.value=!1)};return(p,v)=>(S(),P("div",{class:D([f(o).b("dragger"),f(o).is("dragover",r.value)]),onDrop:lt(u,["prevent"]),onDragover:lt(d,["prevent"]),onDragleave:lt(h,["prevent"])},[ue(p.$slots,"default")],34))}});const lpe=["tabindex","aria-disabled","onKeydown"],cpe=["name","disabled","multiple","accept","webkitdirectory"];var qM=W({name:"ElUploadContent",inheritAttrs:!1,__name:"upload-content",props:ape,setup(e,{expose:t}){const n=e,s=Ee("upload"),a=In(),o=hn({}),r=hn(),i=m=>{if(m.length===0)return;const{autoUpload:g,limit:b,fileList:C,multiple:w,onStart:_,onExceed:x}=n;if(b&&C.length+m.length>b){x(m,C);return}w||(m=m.slice(0,1));for(const E of m){const T=E;T.uid=h8(),_(T),g&&l(T)}},l=async m=>{if(r.value.value="",!n.beforeUpload)return u(m);let g,b={};try{const w=n.data,_=n.beforeUpload(m);b=R0(n.data)?ug(n.data):n.data,g=await _,R0(n.data)&&$n(w,b)&&(b=ug(n.data))}catch{g=!1}if(g===!1){n.onRemove(m);return}let C=m;g instanceof Blob&&(g instanceof File?C=g:C=new File([g],m.name,{type:m.type})),u(Object.assign(C,{uid:m.uid}),b)},c=async(m,g)=>et(m)?m(g):m,u=async(m,g)=>{const{headers:b,data:C,method:w,withCredentials:_,name:x,action:E,onProgress:T,onSuccess:R,onError:I,httpRequest:M}=n;try{g=await c(g??C,m)}catch{n.onRemove(m);return}const{uid:$}=m,O={headers:b||{},withCredentials:_,file:m,data:g,method:w,filename:x,action:E,onProgress:U=>{T(U,m)},onSuccess:U=>{R(U,m),delete o.value[$]},onError:U=>{I(U,m),delete o.value[$]}},B=M(O);o.value[$]=B,B instanceof Promise&&B.then(O.onSuccess,O.onError)},d=m=>{const g=m.target.files;g&&i(Array.from(g))},h=()=>{a.value||(r.value.value="",r.value.click())},p=()=>{h()};return t({abort:m=>{Nx(o.value).filter(m?([b])=>String(m.uid)===b:()=>!0).forEach(([b,C])=>{C instanceof XMLHttpRequest&&C.abort(),delete o.value[b]})},upload:l}),(m,g)=>(S(),P("div",{class:D([f(s).b(),f(s).m(e.listType),f(s).is("drag",e.drag),f(s).is("disabled",f(a))]),tabindex:f(a)?void 0:0,"aria-disabled":f(a),role:"button",onClick:h,onKeydown:Nn(lt(p,["self"]),["enter","space"])},[e.drag?(S(),le(ipe,{key:0,disabled:f(a),directory:e.directory,onFile:i},{default:X(()=>[ue(m.$slots,"default")]),_:3},8,["disabled","directory"])):ue(m.$slots,"default",{key:1}),A("input",{ref_key:"inputRef",ref:r,class:D(f(s).e("input")),name:e.name,disabled:f(a),multiple:e.multiple,accept:e.accept,webkitdirectory:e.directory||void 0,type:"file",onChange:d,onClick:g[0]||(g[0]=lt(()=>{},["stop"]))},null,42,cpe)],42,lpe))}});const GM="ElUpload",YM=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},upe=(e,t)=>{const n=Ex(e,"fileList",void 0,{passive:!0}),s=v=>n.value.find(m=>m.uid===v.uid);function a(v){var m;(m=t.value)==null||m.abort(v)}function o(v=["ready","uploading","success","fail"]){n.value=n.value.filter(m=>!v.includes(m.status))}function r(v){n.value=n.value.filter(m=>m.uid!==v.uid)}const i=v=>{ze(()=>e.onChange(v,n.value))},l=(v,m)=>{const g=s(m);g&&(console.error(v),g.status="fail",r(g),e.onError(v,g,n.value),i(g))},c=(v,m)=>{const g=s(m);g&&(e.onProgress(v,g,n.value),g.status="uploading",g.percentage=Math.round(v.percent))},u=(v,m)=>{const g=s(m);g&&(g.status="success",g.response=v,e.onSuccess(v,g,n.value),i(g))},d=v=>{qn(v.uid)&&(v.uid=h8());const m={name:v.name,percentage:0,status:"ready",size:v.size,raw:v,uid:v.uid};if(e.listType==="picture-card"||e.listType==="picture")try{m.url=URL.createObjectURL(v)}catch(g){g.message,e.onError(g,m,n.value)}n.value=[...n.value,m],i(m)},h=async v=>{const m=v instanceof File?s(v):v;m||Xn(GM,"file to be removed not found");const g=b=>{a(b),r(b),e.onRemove(b,n.value),YM(b)};e.beforeRemove?await e.beforeRemove(m,n.value)!==!1&&g(m):g(m)};function p(){n.value.filter(({status:v})=>v==="ready").forEach(({raw:v})=>{var m;return v&&((m=t.value)==null?void 0:m.upload(v))})}return me(()=>e.listType,v=>{v!=="picture-card"&&v!=="picture"||(n.value=n.value.map(m=>{const{raw:g,url:b}=m;if(!b&&g)try{m.url=URL.createObjectURL(g)}catch(C){e.onError(C,m,n.value)}return m}))}),me(n,v=>{for(const m of v)m.uid||(m.uid=h8()),m.status||(m.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:a,clearFiles:o,handleError:l,handleProgress:c,handleStart:d,handleSuccess:u,handleRemove:h,submit:p,revokeFileObjectURL:YM}};var dpe=W({name:"ElUpload",__name:"upload",props:Y0e,setup(e,{expose:t}){const n=e,s=In(),a=hn(),{abort:o,submit:r,clearFiles:i,uploadFiles:l,handleStart:c,handleError:u,handleRemove:d,handleSuccess:h,handleProgress:p,revokeFileObjectURL:v}=upe(n,a),m=k(()=>n.listType==="picture-card"),g=k(()=>({...n,fileList:l.value,onStart:c,onProgress:p,onSuccess:h,onError:u,onRemove:d}));return Gt(()=>{l.value.forEach(v)}),Tt(jM,{accept:Jt(n,"accept")}),t({abort:o,submit:r,clearFiles:i,handleStart:c,handleRemove:d}),(b,C)=>(S(),P("div",null,[m.value&&e.showFileList?(S(),le(KM,{key:0,disabled:f(s),"list-type":e.listType,files:f(l),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:f(d)},ka({append:X(()=>[j(qM,wt({ref_key:"uploadRef",ref:a},g.value),{default:X(()=>[b.$slots.trigger?ue(b.$slots,"trigger",{key:0}):ie("v-if",!0),!b.$slots.trigger&&b.$slots.default?ue(b.$slots,"default",{key:1}):ie("v-if",!0)]),_:3},16)]),_:2},[b.$slots.file?{name:"default",fn:X(({file:w,index:_})=>[ue(b.$slots,"file",{file:w,index:_})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):ie("v-if",!0),!m.value||m.value&&!e.showFileList?(S(),le(qM,wt({key:1,ref_key:"uploadRef",ref:a},g.value),{default:X(()=>[b.$slots.trigger?ue(b.$slots,"trigger",{key:0}):ie("v-if",!0),!b.$slots.trigger&&b.$slots.default?ue(b.$slots,"default",{key:1}):ie("v-if",!0)]),_:3},16)):ie("v-if",!0),b.$slots.trigger?ue(b.$slots,"default",{key:2}):ie("v-if",!0),ue(b.$slots,"tip"),!m.value&&e.showFileList?(S(),le(KM,{key:3,disabled:f(s),"list-type":e.listType,files:f(l),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:f(d)},ka({_:2},[b.$slots.file?{name:"default",fn:X(({file:w,index:_})=>[ue(b.$slots,"file",{file:w,index:_})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):ie("v-if",!0)]))}});const fpe=pt(dpe),hpe=Te({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:re([String,Array]),default:"Element Plus"},font:{type:re(Object)},gap:{type:re(Array),default:()=>[100,100]},offset:{type:re(Array)}});function ppe(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function vpe(e){return Object.keys(e).map(t=>`${ppe(t)}: ${e[t]};`).join(" ")}function mpe(){return window.devicePixelRatio||1}const gpe=(e,t)=>{let n=!1;return e.removedNodes.length&&t&&(n=Array.from(e.removedNodes).includes(t)),e.type==="attributes"&&e.target===t&&(n=!0),n},bpe={left:[0,.5],start:[0,.5],center:[.5,0],right:[1,-.5],end:[1,-.5]};function p8(e,t,n=1){const s=document.createElement("canvas"),a=s.getContext("2d"),o=e*n,r=t*n;return s.setAttribute("width",`${o}px`),s.setAttribute("height",`${r}px`),a.save(),[a,s,o,r]}function ype(){function e(t,n,s,a,o,r,i,l,c){const[u,d,h,p]=p8(a,o,s);let v=0;if(t instanceof HTMLImageElement)u.drawImage(t,0,0,h,p);else{const{color:K,fontSize:ee,fontStyle:ae,fontWeight:fe,fontFamily:ne,textAlign:pe,textBaseline:he}=r,ce=Number(ee)*s;u.font=`${ae} normal ${fe} ${ce}px/${o}px ${ne}`,u.fillStyle=K,u.textAlign=pe,u.textBaseline=he;const Z=ke(t)?t:[t];if(he!=="top"&&Z[0]){const H=u.measureText(Z[0]);u.textBaseline="top";const te=u.measureText(Z[0]);v=H.actualBoundingBoxAscent-te.actualBoundingBoxAscent}Z==null||Z.forEach((H,te)=>{const[de,be]=bpe[pe];u.fillText(H??"",h*de+c*be,te*(ce+r.fontGap*s))})}const m=Math.PI/180*Number(n),g=Math.max(a,o),[b,C,w]=p8(g,g,s);b.translate(w/2,w/2),b.rotate(m),h>0&&p>0&&b.drawImage(d,-h/2,-p/2);function _(K,ee){const ae=K*Math.cos(m)-ee*Math.sin(m),fe=K*Math.sin(m)+ee*Math.cos(m);return[ae,fe]}let x=0,E=0,T=0,R=0;const I=h/2,M=p/2;[[0-I,0-M],[0+I,0-M],[0+I,0+M],[0-I,0+M]].forEach(([K,ee])=>{const[ae,fe]=_(K,ee);x=Math.min(x,ae),E=Math.max(E,ae),T=Math.min(T,fe),R=Math.max(R,fe)});const O=x+w/2,B=T+w/2,U=E-x,J=R-T,Y=i*s,N=l*s,L=(U+Y)*2,V=J+N,[z,G]=p8(L,V);function Q(K=0,ee=0){z.drawImage(C,O,B,U,J,K,ee+v,U,J)}return Q(),Q(U+Y,-J/2-N/2),Q(U+Y,+J/2+N/2),[G.toDataURL(),L/s,V/s]}return e}var wpe=W({name:"ElWatermark",__name:"watermark",props:hpe,setup(e){const t={position:"relative"},n=e,s=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.fontGap)!=null?O:3}),a=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.color)!=null?O:"rgba(0,0,0,.15)"}),o=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.fontSize)!=null?O:16}),r=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.fontWeight)!=null?O:"normal"}),i=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.fontStyle)!=null?O:"normal"}),l=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.fontFamily)!=null?O:"sans-serif"}),c=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.textAlign)!=null?O:"center"}),u=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.textBaseline)!=null?O:"hanging"}),d=k(()=>n.gap[0]),h=k(()=>n.gap[1]),p=k(()=>d.value/2),v=k(()=>h.value/2),m=k(()=>{var $,O;return(O=($=n.offset)==null?void 0:$[0])!=null?O:p.value}),g=k(()=>{var $,O;return(O=($=n.offset)==null?void 0:$[1])!=null?O:v.value}),b=()=>{const $={zIndex:n.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let O=m.value-p.value,B=g.value-v.value;return O>0&&($.left=`${O}px`,$.width=`calc(100% - ${O}px)`,O=0),B>0&&($.top=`${B}px`,$.height=`calc(100% - ${B}px)`,B=0),$.backgroundPosition=`${O}px ${B}px`,$},C=hn(null),w=hn(),_=F(!1),x=()=>{w.value&&(w.value.remove(),w.value=void 0)},E=($,O)=>{var B;C.value&&w.value&&(_.value=!0,w.value.setAttribute("style",vpe({...b(),backgroundImage:`url('${$}')`,backgroundSize:`${Math.floor(O)}px`})),(B=C.value)==null||B.append(w.value),setTimeout(()=>{_.value=!1}))},T=$=>{let O=120,B=64,U=0;const{image:J,content:Y,width:N,height:L,rotate:V}=n;if(!J&&$.measureText){$.font=`${Number(o.value)}px ${l.value}`;const z=ke(Y)?Y:[Y];let G=0,Q=0;z.forEach(ee=>{const{width:ae,fontBoundingBoxAscent:fe,fontBoundingBoxDescent:ne,actualBoundingBoxAscent:pe,actualBoundingBoxDescent:he}=$.measureText(ee),ce=$t(fe)?pe+he:fe+ne;ae>G&&(G=Math.ceil(ae)),ce>Q&&(Q=Math.ceil(ce))}),O=G,B=Q*z.length+(z.length-1)*s.value;const K=Math.PI/180*Number(V);U=Math.ceil(Math.abs(Math.sin(K)*B)/2),O+=U}return[N??O,L??B,U]},R=ype(),I=()=>{const O=document.createElement("canvas").getContext("2d"),B=n.image,U=n.content,J=n.rotate;if(O){w.value||(w.value=document.createElement("div"));const Y=mpe(),[N,L,V]=T(O),z=G=>{const[Q,K]=R(G||"",J,Y,N,L,{color:a.value,fontSize:o.value,fontStyle:i.value,fontWeight:r.value,fontFamily:l.value,fontGap:s.value,textAlign:c.value,textBaseline:u.value},d.value,h.value,V);E(Q,K)};if(B){const G=new Image;G.onload=()=>{z(G)},G.onerror=()=>{z(U)},G.crossOrigin="anonymous",G.referrerPolicy="no-referrer",G.src=B}else z(U)}};return St(()=>{I()}),me(()=>n,()=>{I()},{deep:!0,flush:"post"}),Gt(()=>{x()}),bp(C,$=>{_.value||$.forEach(O=>{gpe(O,w.value)&&(x(),I())})},{attributes:!0,subtree:!0,childList:!0}),($,O)=>(S(),P("div",{ref_key:"containerRef",ref:C,style:tt([t])},[ue($.$slots,"default")],4))}});const _pe=pt(wpe),Cpe=["absolute","fixed"],Spe=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],v8=Te({placement:{type:re(String),values:Spe,default:"bottom"},reference:{type:re(Object),default:null},strategy:{type:re(String),values:Cpe,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),xpe={close:()=>!0},Epe=Te({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:en},placement:v8.placement,contentStyle:{type:re([Object])},mask:{type:re([Boolean,Object]),default:!0},gap:{type:re(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:re([Boolean,Object]),default:()=>({block:"center"})},type:{type:re(String)},appendTo:{type:Cp.to.type,default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),kpe={[ct]:e=>Qt(e),"update:current":e=>at(e),close:e=>at(e),finish:()=>!0,change:e=>at(e)},Ape=Te({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:re(Object)},targetAreaClickable:{type:Boolean,default:!0}}),sh=Math.min,Lu=Math.max,P1=Math.round,R1=Math.floor,ii=e=>({x:e,y:e}),Tpe={left:"right",right:"left",bottom:"top",top:"bottom"},Mpe={start:"end",end:"start"};function m8(e,t,n){return Lu(e,sh(t,n))}function cv(e,t){return typeof e=="function"?e(t):e}function Nu(e){return e.split("-")[0]}function uv(e){return e.split("-")[1]}function XM(e){return e==="x"?"y":"x"}function g8(e){return e==="y"?"height":"width"}const Ppe=new Set(["top","bottom"]);function fc(e){return Ppe.has(Nu(e))?"y":"x"}function b8(e){return XM(fc(e))}function Rpe(e,t,n){n===void 0&&(n=!1);const s=uv(e),a=b8(e),o=g8(a);let r=a==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(r=I1(r)),[r,I1(r)]}function Ipe(e){const t=I1(e);return[y8(e),t,y8(t)]}function y8(e){return e.replace(/start|end/g,t=>Mpe[t])}const JM=["left","right"],ZM=["right","left"],Ope=["top","bottom"],Lpe=["bottom","top"];function Npe(e,t,n){switch(e){case"top":case"bottom":return n?t?ZM:JM:t?JM:ZM;case"left":case"right":return t?Ope:Lpe;default:return[]}}function $pe(e,t,n,s){const a=uv(e);let o=Npe(Nu(e),n==="start",s);return a&&(o=o.map(r=>r+"-"+a),t&&(o=o.concat(o.map(y8)))),o}function I1(e){return e.replace(/left|right|bottom|top/g,t=>Tpe[t])}function Dpe(e){return{top:0,right:0,bottom:0,left:0,...e}}function QM(e){return typeof e!="number"?Dpe(e):{top:e,right:e,bottom:e,left:e}}function O1(e){const{x:t,y:n,width:s,height:a}=e;return{width:s,height:a,top:n,left:t,right:t+s,bottom:n+a,x:t,y:n}}function e7(e,t,n){let{reference:s,floating:a}=e;const o=fc(t),r=b8(t),i=g8(r),l=Nu(t),c=o==="y",u=s.x+s.width/2-a.width/2,d=s.y+s.height/2-a.height/2,h=s[i]/2-a[i]/2;let p;switch(l){case"top":p={x:u,y:s.y-a.height};break;case"bottom":p={x:u,y:s.y+s.height};break;case"right":p={x:s.x+s.width,y:d};break;case"left":p={x:s.x-a.width,y:d};break;default:p={x:s.x,y:s.y}}switch(uv(t)){case"start":p[r]-=h*(n&&c?-1:1);break;case"end":p[r]+=h*(n&&c?-1:1);break}return p}async function t7(e,t){var n;t===void 0&&(t={});const{x:s,y:a,platform:o,rects:r,elements:i,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=cv(t,e),v=QM(p),g=i[h?d==="floating"?"reference":"floating":d],b=O1(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(g)))==null||n?g:g.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(i.floating)),boundary:c,rootBoundary:u,strategy:l})),C=d==="floating"?{x:s,y:a,width:r.floating.width,height:r.floating.height}:r.reference,w=await(o.getOffsetParent==null?void 0:o.getOffsetParent(i.floating)),_=await(o.isElement==null?void 0:o.isElement(w))?await(o.getScale==null?void 0:o.getScale(w))||{x:1,y:1}:{x:1,y:1},x=O1(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:C,offsetParent:w,strategy:l}):C);return{top:(b.top-x.top+v.top)/_.y,bottom:(x.bottom-b.bottom+v.bottom)/_.y,left:(b.left-x.left+v.left)/_.x,right:(x.right-b.right+v.right)/_.x}}const Fpe=async(e,t,n)=>{const{placement:s="bottom",strategy:a="absolute",middleware:o=[],platform:r}=n,i=o.filter(Boolean),l=await(r.isRTL==null?void 0:r.isRTL(t));let c=await r.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:d}=e7(c,s,l),h=s,p={},v=0;for(let g=0;g({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:a,rects:o,platform:r,elements:i,middlewareData:l}=t,{element:c,padding:u=0}=cv(e,t)||{};if(c==null)return{};const d=QM(u),h={x:n,y:s},p=b8(a),v=g8(p),m=await r.getDimensions(c),g=p==="y",b=g?"top":"left",C=g?"bottom":"right",w=g?"clientHeight":"clientWidth",_=o.reference[v]+o.reference[p]-h[p]-o.floating[v],x=h[p]-o.reference[p],E=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c));let T=E?E[w]:0;(!T||!await(r.isElement==null?void 0:r.isElement(E)))&&(T=i.floating[w]||o.floating[v]);const R=_/2-x/2,I=T/2-m[v]/2-1,M=sh(d[b],I),$=sh(d[C],I),O=M,B=T-m[v]-$,U=T/2-m[v]/2+R,J=m8(O,U,B),Y=!l.arrow&&uv(a)!=null&&U!==J&&o.reference[v]/2-(UU<=0)){var $,O;const U=((($=o.flip)==null?void 0:$.index)||0)+1,J=T[U];if(J&&(!(d==="alignment"?C!==fc(J):!1)||M.every(L=>fc(L.placement)===C?L.overflows[0]>0:!0)))return{data:{index:U,overflows:M},reset:{placement:J}};let Y=(O=M.filter(N=>N.overflows[0]<=0).sort((N,L)=>N.overflows[1]-L.overflows[1])[0])==null?void 0:O.placement;if(!Y)switch(p){case"bestFit":{var B;const N=(B=M.filter(L=>{if(E){const V=fc(L.placement);return V===C||V==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(V=>V>0).reduce((V,z)=>V+z,0)]).sort((L,V)=>L[1]-V[1])[0])==null?void 0:B[0];N&&(Y=N);break}case"initialPlacement":Y=i;break}if(a!==Y)return{reset:{placement:Y}}}return{}}}},zpe=new Set(["left","top"]);async function Hpe(e,t){const{placement:n,platform:s,elements:a}=e,o=await(s.isRTL==null?void 0:s.isRTL(a.floating)),r=Nu(n),i=uv(n),l=fc(n)==="y",c=zpe.has(r)?-1:1,u=o&&l?-1:1,d=cv(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return i&&typeof v=="number"&&(p=i==="end"?v*-1:v),l?{x:p*u,y:h*c}:{x:h*c,y:p*u}}const Wpe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,s;const{x:a,y:o,placement:r,middlewareData:i}=t,l=await Hpe(t,e);return r===((n=i.offset)==null?void 0:n.placement)&&(s=i.arrow)!=null&&s.alignmentOffset?{}:{x:a+l.x,y:o+l.y,data:{...l,placement:r}}}}},jpe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:a,platform:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:l={fn:b=>{let{x:C,y:w}=b;return{x:C,y:w}}},...c}=cv(e,t),u={x:n,y:s},d=await o.detectOverflow(t,c),h=fc(Nu(a)),p=XM(h);let v=u[p],m=u[h];if(r){const b=p==="y"?"top":"left",C=p==="y"?"bottom":"right",w=v+d[b],_=v-d[C];v=m8(w,v,_)}if(i){const b=h==="y"?"top":"left",C=h==="y"?"bottom":"right",w=m+d[b],_=m-d[C];m=m8(w,m,_)}const g=l.fn({...t,[p]:v,[h]:m});return{...g,data:{x:g.x-n,y:g.y-s,enabled:{[p]:r,[h]:i}}}}}};function L1(){return typeof window<"u"}function ah(e){return n7(e)?(e.nodeName||"").toLowerCase():"#document"}function po(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function li(e){var t;return(t=(n7(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function n7(e){return L1()?e instanceof Node||e instanceof po(e).Node:!1}function yr(e){return L1()?e instanceof Element||e instanceof po(e).Element:!1}function ci(e){return L1()?e instanceof HTMLElement||e instanceof po(e).HTMLElement:!1}function s7(e){return!L1()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof po(e).ShadowRoot}const Kpe=new Set(["inline","contents"]);function dv(e){const{overflow:t,overflowX:n,overflowY:s,display:a}=wr(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!Kpe.has(a)}const Upe=new Set(["table","td","th"]);function qpe(e){return Upe.has(ah(e))}const Gpe=[":popover-open",":modal"];function N1(e){return Gpe.some(t=>{try{return e.matches(t)}catch{return!1}})}const Ype=["transform","translate","scale","rotate","perspective"],Xpe=["transform","translate","scale","rotate","perspective","filter"],Jpe=["paint","layout","strict","content"];function w8(e){const t=_8(),n=yr(e)?wr(e):e;return Ype.some(s=>n[s]?n[s]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Xpe.some(s=>(n.willChange||"").includes(s))||Jpe.some(s=>(n.contain||"").includes(s))}function Zpe(e){let t=hc(e);for(;ci(t)&&!oh(t);){if(w8(t))return t;if(N1(t))return null;t=hc(t)}return null}function _8(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Qpe=new Set(["html","body","#document"]);function oh(e){return Qpe.has(ah(e))}function wr(e){return po(e).getComputedStyle(e)}function $1(e){return yr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function hc(e){if(ah(e)==="html")return e;const t=e.assignedSlot||e.parentNode||s7(e)&&e.host||li(e);return s7(t)?t.host:t}function a7(e){const t=hc(e);return oh(t)?e.ownerDocument?e.ownerDocument.body:e.body:ci(t)&&dv(t)?t:a7(t)}function fv(e,t,n){var s;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=a7(e),o=a===((s=e.ownerDocument)==null?void 0:s.body),r=po(a);if(o){const i=C8(r);return t.concat(r,r.visualViewport||[],dv(a)?a:[],i&&n?fv(i):[])}return t.concat(a,fv(a,[],n))}function C8(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function o7(e){const t=wr(e);let n=parseFloat(t.width)||0,s=parseFloat(t.height)||0;const a=ci(e),o=a?e.offsetWidth:n,r=a?e.offsetHeight:s,i=P1(n)!==o||P1(s)!==r;return i&&(n=o,s=r),{width:n,height:s,$:i}}function S8(e){return yr(e)?e:e.contextElement}function rh(e){const t=S8(e);if(!ci(t))return ii(1);const n=t.getBoundingClientRect(),{width:s,height:a,$:o}=o7(t);let r=(o?P1(n.width):n.width)/s,i=(o?P1(n.height):n.height)/a;return(!r||!Number.isFinite(r))&&(r=1),(!i||!Number.isFinite(i))&&(i=1),{x:r,y:i}}const eve=ii(0);function r7(e){const t=po(e);return!_8()||!t.visualViewport?eve:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function tve(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==po(e)?!1:t}function $u(e,t,n,s){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),o=S8(e);let r=ii(1);t&&(s?yr(s)&&(r=rh(s)):r=rh(e));const i=tve(o,n,s)?r7(o):ii(0);let l=(a.left+i.x)/r.x,c=(a.top+i.y)/r.y,u=a.width/r.x,d=a.height/r.y;if(o){const h=po(o),p=s&&yr(s)?po(s):s;let v=h,m=C8(v);for(;m&&s&&p!==v;){const g=rh(m),b=m.getBoundingClientRect(),C=wr(m),w=b.left+(m.clientLeft+parseFloat(C.paddingLeft))*g.x,_=b.top+(m.clientTop+parseFloat(C.paddingTop))*g.y;l*=g.x,c*=g.y,u*=g.x,d*=g.y,l+=w,c+=_,v=po(m),m=C8(v)}}return O1({width:u,height:d,x:l,y:c})}function D1(e,t){const n=$1(e).scrollLeft;return t?t.left+n:$u(li(e)).left+n}function i7(e,t){const n=e.getBoundingClientRect(),s=n.left+t.scrollLeft-D1(e,n),a=n.top+t.scrollTop;return{x:s,y:a}}function nve(e){let{elements:t,rect:n,offsetParent:s,strategy:a}=e;const o=a==="fixed",r=li(s),i=t?N1(t.floating):!1;if(s===r||i&&o)return n;let l={scrollLeft:0,scrollTop:0},c=ii(1);const u=ii(0),d=ci(s);if((d||!d&&!o)&&((ah(s)!=="body"||dv(r))&&(l=$1(s)),ci(s))){const p=$u(s);c=rh(s),u.x=p.x+s.clientLeft,u.y=p.y+s.clientTop}const h=r&&!d&&!o?i7(r,l):ii(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-l.scrollTop*c.y+u.y+h.y}}function sve(e){return Array.from(e.getClientRects())}function ave(e){const t=li(e),n=$1(e),s=e.ownerDocument.body,a=Lu(t.scrollWidth,t.clientWidth,s.scrollWidth,s.clientWidth),o=Lu(t.scrollHeight,t.clientHeight,s.scrollHeight,s.clientHeight);let r=-n.scrollLeft+D1(e);const i=-n.scrollTop;return wr(s).direction==="rtl"&&(r+=Lu(t.clientWidth,s.clientWidth)-a),{width:a,height:o,x:r,y:i}}const l7=25;function ove(e,t){const n=po(e),s=li(e),a=n.visualViewport;let o=s.clientWidth,r=s.clientHeight,i=0,l=0;if(a){o=a.width,r=a.height;const u=_8();(!u||u&&t==="fixed")&&(i=a.offsetLeft,l=a.offsetTop)}const c=D1(s);if(c<=0){const u=s.ownerDocument,d=u.body,h=getComputedStyle(d),p=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,v=Math.abs(s.clientWidth-d.clientWidth-p);v<=l7&&(o-=v)}else c<=l7&&(o+=c);return{width:o,height:r,x:i,y:l}}const rve=new Set(["absolute","fixed"]);function ive(e,t){const n=$u(e,!0,t==="fixed"),s=n.top+e.clientTop,a=n.left+e.clientLeft,o=ci(e)?rh(e):ii(1),r=e.clientWidth*o.x,i=e.clientHeight*o.y,l=a*o.x,c=s*o.y;return{width:r,height:i,x:l,y:c}}function c7(e,t,n){let s;if(t==="viewport")s=ove(e,n);else if(t==="document")s=ave(li(e));else if(yr(t))s=ive(t,n);else{const a=r7(e);s={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return O1(s)}function u7(e,t){const n=hc(e);return n===t||!yr(n)||oh(n)?!1:wr(n).position==="fixed"||u7(n,t)}function lve(e,t){const n=t.get(e);if(n)return n;let s=fv(e,[],!1).filter(i=>yr(i)&&ah(i)!=="body"),a=null;const o=wr(e).position==="fixed";let r=o?hc(e):e;for(;yr(r)&&!oh(r);){const i=wr(r),l=w8(r);!l&&i.position==="fixed"&&(a=null),(o?!l&&!a:!l&&i.position==="static"&&!!a&&rve.has(a.position)||dv(r)&&!l&&u7(e,r))?s=s.filter(u=>u!==r):a=i,r=hc(r)}return t.set(e,s),s}function cve(e){let{element:t,boundary:n,rootBoundary:s,strategy:a}=e;const r=[...n==="clippingAncestors"?N1(t)?[]:lve(t,this._c):[].concat(n),s],i=r[0],l=r.reduce((c,u)=>{const d=c7(t,u,a);return c.top=Lu(d.top,c.top),c.right=sh(d.right,c.right),c.bottom=sh(d.bottom,c.bottom),c.left=Lu(d.left,c.left),c},c7(t,i,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function uve(e){const{width:t,height:n}=o7(e);return{width:t,height:n}}function dve(e,t,n){const s=ci(t),a=li(t),o=n==="fixed",r=$u(e,!0,o,t);let i={scrollLeft:0,scrollTop:0};const l=ii(0);function c(){l.x=D1(a)}if(s||!s&&!o)if((ah(t)!=="body"||dv(a))&&(i=$1(t)),s){const p=$u(t,!0,o,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else a&&c();o&&!s&&a&&c();const u=a&&!s&&!o?i7(a,i):ii(0),d=r.left+i.scrollLeft-l.x-u.x,h=r.top+i.scrollTop-l.y-u.y;return{x:d,y:h,width:r.width,height:r.height}}function x8(e){return wr(e).position==="static"}function d7(e,t){if(!ci(e)||wr(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return li(e)===n&&(n=n.ownerDocument.body),n}function f7(e,t){const n=po(e);if(N1(e))return n;if(!ci(e)){let a=hc(e);for(;a&&!oh(a);){if(yr(a)&&!x8(a))return a;a=hc(a)}return n}let s=d7(e,t);for(;s&&qpe(s)&&x8(s);)s=d7(s,t);return s&&oh(s)&&x8(s)&&!w8(s)?n:s||Zpe(e)||n}const fve=async function(e){const t=this.getOffsetParent||f7,n=this.getDimensions,s=await n(e.floating);return{reference:dve(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function hve(e){return wr(e).direction==="rtl"}const pve={convertOffsetParentRelativeRectToViewportRelativeRect:nve,getDocumentElement:li,getClippingRect:cve,getOffsetParent:f7,getElementRects:fve,getClientRects:sve,getDimensions:uve,getScale:rh,isElement:yr,isRTL:hve};function h7(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function vve(e,t){let n=null,s;const a=li(e);function o(){var i;clearTimeout(s),(i=n)==null||i.disconnect(),n=null}function r(i,l){i===void 0&&(i=!1),l===void 0&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:h,height:p}=c;if(i||t(),!h||!p)return;const v=R1(d),m=R1(a.clientWidth-(u+h)),g=R1(a.clientHeight-(d+p)),b=R1(u),w={rootMargin:-v+"px "+-m+"px "+-g+"px "+-b+"px",threshold:Lu(0,sh(1,l))||1};let _=!0;function x(E){const T=E[0].intersectionRatio;if(T!==l){if(!_)return r();T?r(!1,T):s=setTimeout(()=>{r(!1,1e-7)},1e3)}T===1&&!h7(c,e.getBoundingClientRect())&&r(),_=!1}try{n=new IntersectionObserver(x,{...w,root:a.ownerDocument})}catch{n=new IntersectionObserver(x,w)}n.observe(e)}return r(!0),o}function mve(e,t,n,s){s===void 0&&(s={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:l=!1}=s,c=S8(e),u=a||o?[...c?fv(c):[],...fv(t)]:[];u.forEach(b=>{a&&b.addEventListener("scroll",n,{passive:!0}),o&&b.addEventListener("resize",n)});const d=c&&i?vve(c,n):null;let h=-1,p=null;r&&(p=new ResizeObserver(b=>{let[C]=b;C&&C.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var w;(w=p)==null||w.observe(t)})),n()}),c&&!l&&p.observe(c),p.observe(t));let v,m=l?$u(e):null;l&&g();function g(){const b=$u(e);m&&!h7(m,b)&&n(),m=b,v=requestAnimationFrame(g)}return n(),()=>{var b;u.forEach(C=>{a&&C.removeEventListener("scroll",n),o&&C.removeEventListener("resize",n)}),d==null||d(),(b=p)==null||b.disconnect(),p=null,l&&cancelAnimationFrame(v)}}const gve=t7,bve=Wpe,yve=jpe,wve=Vpe,_ve=Bpe,Cve=(e,t,n)=>{const s=new Map,a={platform:pve,...n},o={...a.platform,_c:s};return Fpe(e,t,{...a,platform:o})},Sve=(e,t,n,s,a)=>{const o=F(null),r=()=>{let d;return Xe(e.value)?d=document.querySelector(e.value):et(e.value)?d=e.value():d=e.value,d},i=()=>{const d=r();if(!d||!t.value){o.value=null;return}xve(d)||d.scrollIntoView(a.value);const{left:h,top:p,width:v,height:m}=d.getBoundingClientRect();o.value={left:h,top:p,width:v,height:m,radius:0}};St(()=>{me([t,e],()=>{i()},{immediate:!0}),window.addEventListener("resize",i)}),Gt(()=>{window.removeEventListener("resize",i)});const l=d=>{var h;return(h=ke(n.value.offset)?n.value.offset[d]:n.value.offset)!=null?h:6},c=k(()=>{var d;if(!o.value)return o.value;const h=l(0),p=l(1),v=((d=n.value)==null?void 0:d.radius)||2;return{left:o.value.left-h,top:o.value.top-p,width:o.value.width+h*2,height:o.value.height+p*2,radius:v}}),u=k(()=>{const d=r();return!s.value||!d||!window.DOMRect?d||void 0:{getBoundingClientRect(){var h,p,v,m;return window.DOMRect.fromRect({width:((h=c.value)==null?void 0:h.width)||0,height:((p=c.value)==null?void 0:p.height)||0,x:((v=c.value)==null?void 0:v.left)||0,y:((m=c.value)==null?void 0:m.top)||0})}}});return{mergedPosInfo:c,triggerTarget:u}},F1=Symbol("ElTour");function xve(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:s,right:a,bottom:o,left:r}=e.getBoundingClientRect();return s>=0&&r>=0&&a<=t&&o<=n}const Eve=(e,t,n,s,a,o,r,i)=>{const l=F(),c=F(),u=F({}),d={x:l,y:c,placement:s,strategy:a,middlewareData:u},h=k(()=>{const b=[bve(f(o)),wve(),yve(),kve()];return f(i)&&f(n)&&b.push(_ve({element:f(n)})),b}),p=async()=>{if(!jt)return;const b=f(e),C=f(t);if(!b||!C)return;const w=await Cve(b,C,{placement:f(s),strategy:f(a),middleware:f(h)});_p(d).forEach(_=>{d[_].value=w[_]})},v=k(()=>{if(!f(e))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:f(r)};const{overflow:b}=f(u);return{position:f(a),zIndex:f(r),top:f(c)!=null?`${f(c)}px`:"",left:f(l)!=null?`${f(l)}px`:"",maxWidth:b!=null&&b.maxWidth?`${b==null?void 0:b.maxWidth}px`:""}}),m=k(()=>{if(!f(i))return{};const{arrow:b}=f(u);return{left:(b==null?void 0:b.x)!=null?`${b==null?void 0:b.x}px`:"",top:(b==null?void 0:b.y)!=null?`${b==null?void 0:b.y}px`:""}});let g;return St(()=>{const b=f(e),C=f(t);b&&C&&(g=mve(b,C,p)),Wa(()=>{p()})}),Gt(()=>{g&&g()}),{update:p,contentStyle:v,arrowStyle:m}},kve=()=>({name:"overflow",async fn(e){const t=await gve(e);let n=0;return t.left>0&&(n=t.left),t.right>0&&(n=t.right),{data:{maxWidth:e.rects.floating.width-n}}}}),Ave={style:{width:"100%",height:"100%"}},Tve=["d"];var Mve=W({name:"ElTourMask",inheritAttrs:!1,__name:"mask",props:Ape,setup(e){const t=e,{ns:n}=je(F1),s=k(()=>{var u,d;return(d=(u=t.pos)==null?void 0:u.radius)!=null?d:2}),a=k(()=>{const u=s.value,d=`a${u},${u} 0 0 1`;return{topRight:`${d} ${u},${u}`,bottomRight:`${d} ${-u},${u}`,bottomLeft:`${d} ${-u},${-u}`,topLeft:`${d} ${u},${-u}`}}),{width:o,height:r}=Ry(),i=k(()=>{const u=o.value,d=r.value,h=a.value,p=`M${u},0 L0,0 L0,${d} L${u},${d} L${u},0 Z`,v=s.value;return t.pos?`${p} M${t.pos.left+v},${t.pos.top} h${t.pos.width-v*2} ${h.topRight} v${t.pos.height-v*2} ${h.bottomRight} h${-t.pos.width+v*2} ${h.bottomLeft} v${-t.pos.height+v*2} ${h.topLeft} z`:p}),l=k(()=>({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:t.zIndex,pointerEvents:t.pos&&t.targetAreaClickable?"none":"auto"})),c=k(()=>({fill:t.fill,pointerEvents:"auto",cursor:"auto"}));return n1(Jt(t,"visible"),{ns:n}),(u,d)=>e.visible?(S(),P("div",wt({key:0,class:f(n).e("mask"),style:l.value},u.$attrs),[(S(),P("svg",Ave,[A("path",{class:D(f(n).e("hollow")),style:tt(c.value),d:i.value},null,14,Tve)]))],16)):ie("v-if",!0)}});const Pve=["data-side"];var Rve=W({name:"ElTourContent",__name:"content",props:v8,emits:xpe,setup(e,{emit:t}){const n=e,s=t,a=F(n.placement),o=F(n.strategy),r=F(null),i=F(null);me(()=>n.placement,()=>{a.value=n.placement});const{contentStyle:l,arrowStyle:c}=Eve(Jt(n,"reference"),r,i,a,o,Jt(n,"offset"),Jt(n,"zIndex"),Jt(n,"showArrow")),u=k(()=>a.value.split("-")[0]),{ns:d}=je(F1),h=()=>{s("close")},p=v=>{v.detail.focusReason==="pointer"&&v.preventDefault()};return(v,m)=>(S(),P("div",{ref_key:"contentRef",ref:r,style:tt(f(l)),class:D(f(d).e("content")),"data-side":u.value,tabindex:"-1"},[j(f(Df),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":r.value||void 0,onReleaseRequested:h,onFocusoutPrevented:p},{default:X(()=>[ue(v.$slots,"default")]),_:3},8,["focus-trap-el"]),e.showArrow?(S(),P("span",{key:0,ref_key:"arrowRef",ref:i,style:tt(f(c)),class:D(f(d).e("arrow"))},null,6)):ie("v-if",!0)],14,Pve))}}),Ive=W({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(e,{slots:t,emit:n}){let s=0;return()=>{var a,o;const r=(a=t.default)==null?void 0:a.call(t),i=[];let l=0;function c(u){ke(u)&&u.forEach(d=>{var h;((h=(d==null?void 0:d.type)||{})==null?void 0:h.name)==="ElTourStep"&&(i.push(d),l+=1)})}return r.length&&c(lo((o=r[0])==null?void 0:o.children)),s!==l&&(s=l,n("update-total",l)),i.length?i[e.current]:null}}}),Ove=W({name:"ElTour",inheritAttrs:!1,__name:"tour",props:Epe,emits:kpe,setup(e,{emit:t}){const n=e,s=t,a=Ee("tour"),o=F(0),r=F(),i=Ex(n,"current",s,{passive:!0}),l=k(()=>{var M;return(M=r.value)==null?void 0:M.target}),c=k(()=>[a.b(),b.value==="primary"?a.m("primary"):""]),u=k(()=>{var M;return((M=r.value)==null?void 0:M.placement)||n.placement}),d=k(()=>{var M,$;return($=(M=r.value)==null?void 0:M.contentStyle)!=null?$:n.contentStyle}),h=k(()=>{var M,$;return($=(M=r.value)==null?void 0:M.mask)!=null?$:n.mask}),p=k(()=>!!h.value&&n.modelValue),v=k(()=>Qt(h.value)?void 0:h.value),m=k(()=>{var M,$;return!!l.value&&(($=(M=r.value)==null?void 0:M.showArrow)!=null?$:n.showArrow)}),g=k(()=>{var M,$;return($=(M=r.value)==null?void 0:M.scrollIntoViewOptions)!=null?$:n.scrollIntoViewOptions}),b=k(()=>{var M,$;return($=(M=r.value)==null?void 0:M.type)!=null?$:n.type}),{nextZIndex:C}=yp(),w=C(),_=k(()=>{var M;return(M=n.zIndex)!=null?M:w}),{mergedPosInfo:x,triggerTarget:E}=Sve(l,Jt(n,"modelValue"),Jt(n,"gap"),h,g);me(()=>n.modelValue,M=>{M||(i.value=0)});const T=()=>{n.closeOnPressEscape&&(s(ct,!1),s("close",i.value))},R=M=>{o.value=M},I=zn();return Tt(F1,{currentStep:r,current:i,total:o,showClose:Jt(n,"showClose"),closeIcon:Jt(n,"closeIcon"),mergedType:b,ns:a,slots:I,updateModelValue(M){s(ct,M)},onClose(){s("close",i.value)},onFinish(){s("finish")},onChange(){s(Pt,i.value)}}),(M,$)=>(S(),P(He,null,[j(f(Tf),{to:e.appendTo},{default:X(()=>{var O,B;return[A("div",wt({class:c.value},M.$attrs),[j(Mve,{visible:p.value,fill:(O=v.value)==null?void 0:O.color,style:tt((B=v.value)==null?void 0:B.style),pos:f(x),"z-index":_.value,"target-area-clickable":e.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),e.modelValue?(S(),le(Rve,{key:f(i),reference:f(E),placement:u.value,"show-arrow":m.value,"z-index":_.value,style:tt(d.value),onClose:T},{default:X(()=>[j(f(Ive),{current:f(i),onUpdateTotal:R},{default:X(()=>[ue(M.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):ie("v-if",!0)],16)]}),_:3},8,["to"]),ie(" just for IDE "),ie("v-if",!0)],64))}});const Lve=Te({target:{type:re([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:en},showArrow:{type:Boolean,default:void 0},placement:v8.placement,mask:{type:re([Boolean,Object]),default:void 0},contentStyle:{type:re([Object])},prevButtonProps:{type:re(Object)},nextButtonProps:{type:re(Object)},scrollIntoViewOptions:{type:re([Boolean,Object]),default:void 0},type:{type:re(String)}}),Nve={close:()=>!0},$ve=["aria-label"];var p7=W({name:"ElTourStep",__name:"step",props:Lve,emits:Nve,setup(e,{emit:t}){const n=e,s=t,{Close:a}=f9,{t:o}=It(),{currentStep:r,current:i,total:l,showClose:c,closeIcon:u,mergedType:d,ns:h,slots:p,updateModelValue:v,onClose:m,onFinish:g,onChange:b}=je(F1);me(n,M=>{r.value=M},{immediate:!0});const C=k(()=>{var M;return(M=n.showClose)!=null?M:c.value}),w=k(()=>{var M,$;return($=(M=n.closeIcon)!=null?M:u.value)!=null?$:a}),_=M=>{if(M)return pp(M,["children","onClick"])},x=()=>{var M,$;i.value-=1,(M=n.prevButtonProps)!=null&&M.onClick&&(($=n.prevButtonProps)==null||$.onClick()),b()},E=()=>{var M;i.value>=l.value-1?T():i.value+=1,(M=n.nextButtonProps)!=null&&M.onClick&&n.nextButtonProps.onClick(),b()},T=()=>{R(),g()},R=()=>{v(!1),m(),s("close")},I=M=>{const $=M.target;if($!=null&&$.isContentEditable)return;switch(an(M)){case Ae.left:M.preventDefault(),i.value>0&&x();break;case Ae.right:M.preventDefault(),E();break}};return St(()=>{window.addEventListener("keydown",I)}),Gt(()=>{window.removeEventListener("keydown",I)}),(M,$)=>(S(),P(He,null,[C.value?(S(),P("button",{key:0,"aria-label":f(o)("el.tour.close"),class:D(f(h).e("closebtn")),type:"button",onClick:R},[j(f(Je),{class:D(f(h).e("close"))},{default:X(()=>[(S(),le(bt(w.value)))]),_:1},8,["class"])],10,$ve)):ie("v-if",!0),A("header",{class:D([f(h).e("header"),{"show-close":f(c)}])},[ue(M.$slots,"header",{},()=>[A("span",{role:"heading",class:D(f(h).e("title"))},ve(e.title),3)])],2),A("div",{class:D(f(h).e("body"))},[ue(M.$slots,"default",{},()=>[A("span",null,ve(e.description),1)])],2),A("footer",{class:D(f(h).e("footer"))},[A("div",{class:D(f(h).b("indicators"))},[f(p).indicators?(S(),le(bt(f(p).indicators),{key:0,current:f(i),total:f(l)},null,8,["current","total"])):(S(!0),P(He,{key:1},yt(f(l),(O,B)=>(S(),P("span",{key:O,class:D([f(h).b("indicator"),f(h).is("active",B===f(i))])},null,2))),128))],2),A("div",{class:D(f(h).b("buttons"))},[f(i)>0?(S(),le(f(gs),wt({key:0,size:"small",type:f(d)},_(e.prevButtonProps),{onClick:x}),{default:X(()=>{var O,B;return[Ue(ve((B=(O=e.prevButtonProps)==null?void 0:O.children)!=null?B:f(o)("el.tour.previous")),1)]}),_:1},16,["type"])):ie("v-if",!0),f(i)<=f(l)-1?(S(),le(f(gs),wt({key:1,size:"small",type:f(d)==="primary"?"default":"primary"},_(e.nextButtonProps),{onClick:E}),{default:X(()=>{var O,B;return[Ue(ve((B=(O=e.nextButtonProps)==null?void 0:O.children)!=null?B:f(i)===f(l)-1?f(o)("el.tour.finish"):f(o)("el.tour.next")),1)]}),_:1},16,["type"])):ie("v-if",!0)],2)],2)],64))}});const Dve=pt(Ove,{TourStep:p7}),Fve=An(p7),Bve=Te({container:{type:re([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:re(String),default:"default"},direction:{type:re(String),default:"vertical"},selectScrollTop:Boolean}),Vve={change:e=>Xe(e),click:(e,t)=>e instanceof MouseEvent&&(Xe(t)||$t(t))},v7=Symbol("anchor");function zve(e){let t=0;const n=(...s)=>{t&&qi(t),t=Jr(()=>{e(...s),t=0})};return n.cancel=()=>{qi(t),t=0},n}const B1=e=>{if(!jt||e==="")return null;if(Xe(e))try{return document.querySelector(e)}catch{return null}return e};var Hve=W({name:"ElAnchor",__name:"anchor",props:Bve,emits:Vve,setup(e,{expose:t,emit:n}){const s=e,a=n,o=zn(),r=F(""),i=F({}),l=F(null),c=F(null),u=F(),d={};let h=!1,p=0;const v=Ee("anchor"),m=k(()=>[v.b(),s.type==="underline"?v.m("underline"):"",v.m(s.direction)]),g=O=>{d[O.href]=O.el},b=O=>{delete d[O]},C=O=>{r.value!==O&&(r.value=O,a(Pt,O))};let w=null,_="";const x=O=>{if(!u.value)return;const B=B1(O);if(!B)return;if(w){if(_===O)return;w()}_=O,h=!0;const U=Vx(B,u.value),J=N3(B,U),Y=U.scrollHeight-U.clientHeight,N=Math.min(J-s.offset,Y);w=lz(u.value,p,N,s.duration,()=>{setTimeout(()=>{h=!1,_=""},20)})},E=O=>{O&&(C(O),x(O))},T=(O,B)=>{a("click",O,B),E(B)},R=zve(()=>{u.value&&(p=zx(u.value));const O=I();h||$t(O)||C(O)}),I=()=>{if(!u.value)return;const O=zx(u.value),B=[];for(const U of Object.keys(d)){const J=B1(U);if(!J)continue;const Y=Vx(J,u.value),N=N3(J,Y);B.push({top:N-s.offset-s.bound,href:U})}B.sort((U,J)=>U.top-J.top);for(let U=0;UO))return J.href}},M=()=>{const O=B1(s.container);!O||mp(O)?u.value=window:u.value=O};Zt(u,"scroll",R);const $=()=>{ze(()=>{if(!l.value||!c.value||!r.value){i.value={};return}const O=d[r.value];if(!O){i.value={};return}const B=l.value.getBoundingClientRect(),U=c.value.getBoundingClientRect(),J=O.getBoundingClientRect();if(s.direction==="horizontal"){const Y=J.left-B.left;i.value={left:`${Y}px`,width:`${J.width}px`,opacity:1}}else{const Y=J.top-B.top+(J.height-U.height)/2;i.value={top:`${Y}px`,opacity:1}}})};return me(r,$),me(()=>{var O;return(O=o.default)==null?void 0:O.call(o)},$),St(()=>{M();const O=decodeURIComponent(window.location.hash);B1(O)?E(O):R()}),me(()=>s.container,()=>{M()}),Tt(v7,{ns:v,direction:s.direction,currentAnchor:r,addLink:g,removeLink:b,handleClick:T}),t({scrollTo:E}),(O,B)=>(S(),P("div",{ref_key:"anchorRef",ref:l,class:D(m.value)},[e.marker?(S(),P("div",{key:0,ref_key:"markerRef",ref:c,class:D(f(v).e("marker")),style:tt(i.value)},null,6)):ie("v-if",!0),A("div",{class:D(f(v).e("list"))},[ue(O.$slots,"default")],2)],2))}});const Wve=Te({title:String,href:String}),jve=["href"];var m7=W({name:"ElAnchorLink",__name:"anchor-link",props:Wve,setup(e){const t=e,n=F(null),{ns:s,direction:a,currentAnchor:o,addLink:r,removeLink:i,handleClick:l}=je(v7),c=k(()=>[s.e("link"),s.is("active",o.value===t.href)]),u=d=>{l(d,t.href)};return me(()=>t.href,(d,h)=>{ze(()=>{h&&i(h),d&&r({href:d,el:n.value})})}),St(()=>{const{href:d}=t;d&&r({href:d,el:n.value})}),Gt(()=>{const{href:d}=t;d&&i(d)}),(d,h)=>(S(),P("div",{class:D(f(s).e("item"))},[A("a",{ref_key:"linkRef",ref:n,class:D(c.value),href:e.href,onClick:u},[ue(d.$slots,"default",{},()=>[Ue(ve(e.title),1)])],10,jve),d.$slots["sub-link"]&&f(a)==="vertical"?(S(),P("div",{key:0,class:D(f(s).e("list"))},[ue(d.$slots,"sub-link")],2)):ie("v-if",!0)],2))}});const Kve=pt(Hve,{AnchorLink:m7}),Uve=An(m7),g7={label:"label",value:"value",disabled:"disabled"},qve=Te({direction:{type:re(String),default:"horizontal"},options:{type:re(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},props:{type:re(Object),default:()=>g7},block:Boolean,size:rs,disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},id:String,name:String,...ia(["ariaLabel"])}),Gve={[ct]:e=>Xe(e)||at(e)||Qt(e),[Pt]:e=>Xe(e)||at(e)||Qt(e)},Yve=["id","aria-label","aria-labelledby"],Xve=["name","disabled","checked","onChange"];var Jve=W({name:"ElSegmented",__name:"segmented",props:qve,emits:Gve,setup(e,{emit:t}){const n=e,s=t,a=Ee("segmented"),o=$s(),r=ts(),i=In(),{formItem:l}=Cs(),{inputId:c,isLabeledByFormItem:u}=uo(n,{formItemContext:l}),d=F(null),h=WV(),p=Wt({isInit:!1,width:0,height:0,translateX:0,translateY:0,focusVisible:!1}),v=(O,B)=>{const U=b(B);s(ct,U),s(Pt,U),O.target.checked=U===n.modelValue},m=k(()=>({...g7,...n.props})),g=O=>O,b=O=>ht(O)?O[m.value.value]:O,C=O=>ht(O)?O[m.value.label]:O,w=O=>!!(i.value||ht(O)&&O[m.value.disabled]),_=O=>n.modelValue===b(O),x=O=>n.options.find(B=>b(B)===O),E=O=>[a.e("item"),a.is("selected",_(O)),a.is("disabled",w(O))],T=()=>{if(!d.value)return;const O=d.value.querySelector(".is-selected"),B=d.value.querySelector(".is-selected input");if(!O||!B){p.width=0,p.height=0,p.translateX=0,p.translateY=0,p.focusVisible=!1;return}p.isInit=!0,n.direction==="vertical"?(p.height=O.offsetHeight,p.translateY=O.offsetTop):(p.width=O.offsetWidth,p.translateX=O.offsetLeft);try{p.focusVisible=B.matches(":focus-visible")}catch{}},R=k(()=>[a.b(),a.m(r.value),a.is("block",n.block)]),I=k(()=>({width:n.direction==="vertical"?"100%":`${p.width}px`,height:n.direction==="vertical"?`${p.height}px`:"100%",transform:n.direction==="vertical"?`translateY(${p.translateY}px)`:`translateX(${p.translateX}px)`,display:p.isInit?"block":"none"})),M=k(()=>[a.e("item-selected"),a.is("disabled",w(x(n.modelValue))),a.is("focus-visible",p.focusVisible)]),$=k(()=>n.name||o.value);return bn(d,T),me(h,T),me(()=>n.modelValue,()=>{var O;T(),n.validateEvent&&((O=l==null?void 0:l.validate)==null||O.call(l,"change").catch(B=>void 0))},{flush:"post"}),(O,B)=>e.options.length?(S(),P("div",{key:0,id:f(c),ref_key:"segmentedRef",ref:d,class:D(R.value),role:"radiogroup","aria-label":f(u)?void 0:e.ariaLabel||"segmented","aria-labelledby":f(u)?f(l).labelId:void 0},[A("div",{class:D([f(a).e("group"),f(a).m(e.direction)])},[A("div",{style:tt(I.value),class:D(M.value)},null,6),(S(!0),P(He,null,yt(e.options,(U,J)=>(S(),P("label",{key:J,class:D(E(U))},[A("input",{class:D(f(a).e("item-input")),type:"radio",name:$.value,disabled:w(U),checked:_(U),onChange:Y=>v(Y,U)},null,42,Xve),A("div",{class:D(f(a).e("item-label"))},[ue(O.$slots,"default",{item:g(U)},()=>[Ue(ve(C(U)),1)])],2)],2))),128))],2)],10,Yve)):ie("v-if",!0)}});const Zve=pt(Jve),Qve=(e,t)=>{const n=e.toLowerCase();return(t.label||t.value||"").toLowerCase().includes(n)},eme=(e,t,n)=>{const{selectionEnd:s}=e;if(s===null)return;const a=e.value,o=_s(t);let r=-1,i;for(let l=s-1;l>=0;--l){const c=a[l];if(c===n||c===` -`||c==="\r"){r=l;continue}if(o.includes(c)){const u=r===-1?s:r;i={pattern:a.slice(l+1,u),start:l+1,end:u,prefix:c,prefixIndex:l,splitIndex:r,selectionEnd:s};break}}return i},tme=(e,t={debug:!1,useSelectionEnd:!1})=>{const n=e.selectionStart!==null?e.selectionStart:0,s=e.selectionEnd!==null?e.selectionEnd:0,a=t.useSelectionEnd?s:n,o=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(t.debug){const h=document.querySelector("#input-textarea-caret-position-mirror-div");h!=null&&h.parentNode&&h.parentNode.removeChild(h)}const r=document.createElement("div");r.id="input-textarea-caret-position-mirror-div",document.body.appendChild(r);const i=r.style,l=window.getComputedStyle(e),c=e.nodeName==="INPUT";i.whiteSpace=c?"nowrap":"pre-wrap",c||(i.wordWrap="break-word"),i.position="absolute",t.debug||(i.visibility="hidden"),o.forEach(h=>{if(c&&h==="lineHeight")if(l.boxSizing==="border-box"){const p=Number.parseInt(l.height),v=Number.parseInt(l.paddingTop)+Number.parseInt(l.paddingBottom)+Number.parseInt(l.borderTopWidth)+Number.parseInt(l.borderBottomWidth),m=v+Number.parseInt(l.lineHeight);p>m?i.lineHeight=`${p-v}px`:p===m?i.lineHeight=l.lineHeight:i.lineHeight="0"}else i.lineHeight=l.height;else i[h]=l[h]}),n3()?e.scrollHeight>Number.parseInt(l.height)&&(i.overflowY="scroll"):i.overflow="hidden",r.textContent=e.value.slice(0,Math.max(0,a)),c&&r.textContent&&(r.textContent=r.textContent.replace(/\s/g," "));const u=document.createElement("span");u.textContent=e.value.slice(Math.max(0,a))||".",u.style.position="relative",u.style.left=`${-e.scrollLeft}px`,u.style.top=`${-e.scrollTop}px`,r.appendChild(u);const d={top:u.offsetTop+Number.parseInt(l.borderTopWidth),left:u.offsetLeft+Number.parseInt(l.borderLeftWidth),height:Number.parseInt(l.fontSize)*1.5};return t.debug?u.style.backgroundColor="#aaa":document.body.removeChild(r),d.left>=e.clientWidth&&(d.left=e.clientWidth),d},nme=Te({...Lp,options:{type:re(Array),default:()=>[]},prefix:{type:re([String,Array]),default:"@",validator:e=>Xe(e)?e.length===1:e.every(t=>Xe(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:re([Boolean,Function]),default:()=>Qve,validator:e=>e===!1?!0:et(e)},placement:{type:re(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:re(Function)},modelValue:String,loading:Boolean,popperClass:tn.popperClass,popperStyle:tn.popperStyle,popperOptions:{type:re(Object),default:()=>({})},props:{type:re(Object),default:()=>b7}}),sme={[ct]:e=>Xe(e),"whole-remove":(e,t)=>Xe(e)&&Xe(t),input:e=>Xe(e),search:(e,t)=>Xe(e)&&Xe(t),select:(e,t)=>ht(e)&&Xe(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},b7={value:"value",label:"label",disabled:"disabled"},ame=Te({options:{type:re(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),ome={select:e=>Xe(e.value)},rme=["id","aria-disabled","aria-selected","onMousemove","onClick"];var ime=W({name:"ElMentionDropdown",__name:"mention-dropdown",props:ame,emits:ome,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Ee("mention"),{t:r}=It(),i=F(-1),l=F(),c=F(),u=F(),d=(_,x)=>[o.be("dropdown","item"),o.is("hovering",i.value===x),o.is("disabled",_.disabled||s.disabled)],h=_=>{_.disabled||s.disabled||a("select",_)},p=_=>{i.value=_},v=k(()=>s.disabled||s.options.every(_=>_.disabled)),m=k(()=>s.options[i.value]),g=()=>{m.value&&a("select",m.value)},b=_=>{const{options:x}=s;if(x.length===0||v.value)return;_==="next"?(i.value++,i.value===x.length&&(i.value=0)):_==="prev"&&(i.value--,i.value<0&&(i.value=x.length-1));const E=x[i.value];if(E.disabled){b(_);return}ze(()=>C(E))},C=_=>{var x,E,T,R;const{options:I}=s,M=I.findIndex(O=>O.value===_.value),$=(x=c.value)==null?void 0:x[M];if($){const O=(T=(E=u.value)==null?void 0:E.querySelector)==null?void 0:T.call(E,`.${o.be("dropdown","wrap")}`);O&&Ly(O,$)}(R=l.value)==null||R.handleScroll()};return me(()=>s.options,()=>{v.value||s.options.length===0?i.value=-1:i.value=0},{immediate:!0}),t({hoveringIndex:i,navigateOptions:b,selectHoverOption:g,hoverOption:m}),(_,x)=>(S(),P("div",{ref_key:"dropdownRef",ref:u,class:D(f(o).b("dropdown"))},[_.$slots.header?(S(),P("div",{key:0,class:D(f(o).be("dropdown","header"))},[ue(_.$slots,"header")],2)):ie("v-if",!0),gt(j(f(pr),{id:e.contentId,ref_key:"scrollbarRef",ref:l,tag:"ul","wrap-class":f(o).be("dropdown","wrap"),"view-class":f(o).be("dropdown","list"),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:X(()=>[(S(!0),P(He,null,yt(e.options,(E,T)=>(S(),P("li",{id:`${e.contentId}-${T}`,ref_for:!0,ref_key:"optionRefs",ref:c,key:T,class:D(d(E,T)),role:"option","aria-disabled":E.disabled||e.disabled||void 0,"aria-selected":i.value===T,onMousemove:R=>p(T),onClick:lt(R=>h(E),["stop"])},[ue(_.$slots,"label",{item:E,index:T},()=>{var R;return[A("span",null,ve((R=E.label)!=null?R:E.value),1)]})],42,rme))),128))]),_:3},8,["id","wrap-class","view-class","aria-label"]),[[Bt,e.options.length>0&&!e.loading]]),e.loading?(S(),P("div",{key:1,class:D(f(o).be("dropdown","loading"))},[ue(_.$slots,"loading",{},()=>[Ue(ve(f(r)("el.mention.loading")),1)])],2)):ie("v-if",!0),_.$slots.footer?(S(),P("div",{key:2,class:D(f(o).be("dropdown","footer"))},[ue(_.$slots,"footer")],2)):ie("v-if",!0)],2))}}),lme=W({name:"ElMention",inheritAttrs:!1,__name:"mention",props:nme,emits:sme,setup(e,{expose:t,emit:n}){const s=e,a=n,o=k(()=>Ui(s,Object.keys(Lp))),r=Ee("mention"),i=In(),l=$s(),c=F(),u=F(),d=F(),h=F(!1),p=F(),v=F(),m=k(()=>s.showArrow?s.placement:`${s.placement}-start`),g=k(()=>s.showArrow?["bottom","top"]:["bottom-start","top-start"]),b=k(()=>({...b7,...s.props})),C=N=>{const L={label:N[b.value.label],value:N[b.value.value],disabled:N[b.value.disabled]};return{...N,...L}},w=k(()=>s.options.map(C)),_=k(()=>{const{filterOption:N}=s;return!v.value||!N?w.value:w.value.filter(L=>N(v.value.pattern,L))}),x=k(()=>h.value&&(!!_.value.length||s.loading)),E=k(()=>{var N;return`${l.value}-${(N=d.value)==null?void 0:N.hoveringIndex}`}),T=N=>{a(ct,N),a(es,N),U()},R=N=>{var L,V,z,G;if((L=c.value)!=null&&L.isComposing)return;const Q=an(N);switch(Q){case Ae.left:case Ae.right:U();break;case Ae.up:case Ae.down:if(!h.value)return;N.preventDefault(),(V=d.value)==null||V.navigateOptions(Q===Ae.up?"prev":"next");break;case Ae.enter:case Ae.numpadEnter:if(!h.value){s.type!=="textarea"&&U();return}N.preventDefault(),(z=d.value)!=null&&z.hoverOption?(G=d.value)==null||G.selectHoverOption():h.value=!1;break;case Ae.esc:if(!h.value)return;N.preventDefault(),h.value=!1;break;case Ae.backspace:if(s.whole&&v.value){const{splitIndex:K,selectionEnd:ee,pattern:ae,prefixIndex:fe,prefix:ne}=v.value,pe=B();if(!pe)return;const he=pe.value,ce=w.value.find(H=>H.value===ae);if((et(s.checkIsWhole)?s.checkIsWhole(ae,ne):ce)&&K!==-1&&K+1===ee){N.preventDefault();const H=he.slice(0,fe)+he.slice(K+1);a(ct,H),a(es,H),a("whole-remove",ae,ne);const te=fe;ze(()=>{pe.selectionStart=te,pe.selectionEnd=te,Y()})}}}},{wrapperRef:I}=Qi(c,{disabled:i,afterFocus(){U()},beforeBlur(N){var L;return(L=u.value)==null?void 0:L.isFocusInsideContent(N)},afterBlur(){h.value=!1}}),M=()=>{U()},$=N=>s.options.find(L=>N.value===L[b.value.value]),O=N=>{if(!v.value)return;const L=B();if(!L)return;const V=L.value,{split:z}=s,G=V.slice(v.value.end),Q=G.startsWith(z),K=`${N.value}${Q?"":z}`,ee=V.slice(0,v.value.start)+K+G;a(ct,ee),a(es,ee),a("select",$(N),v.value.prefix);const ae=v.value.start+K.length+(Q?1:0);ze(()=>{L.selectionStart=ae,L.selectionEnd=ae,L.focus(),Y()})},B=()=>{var N,L;return s.type==="textarea"?(N=c.value)==null?void 0:N.textarea:(L=c.value)==null?void 0:L.input},U=()=>{setTimeout(()=>{J(),Y(),ze(()=>{var N;return(N=u.value)==null?void 0:N.updatePopper()})},0)},J=()=>{const N=B();if(!N)return;const L=tme(N),V=N.getBoundingClientRect(),z=I.value.getBoundingClientRect();p.value={position:"absolute",width:0,height:`${L.height}px`,left:`${L.left+V.left-z.left}px`,top:`${L.top+V.top-z.top}px`}},Y=()=>{const N=B();if(document.activeElement!==N){h.value=!1;return}const{prefix:L,split:V}=s;if(v.value=eme(N,L,V),v.value&&v.value.splitIndex===-1){h.value=!0,a("search",v.value.pattern,v.value.prefix);return}h.value=!1};return t({input:c,tooltip:u,dropdownVisible:x}),(N,L)=>(S(),P("div",{ref_key:"wrapperRef",ref:I,class:D(f(r).b())},[j(f(la),wt(wt(o.value,N.$attrs),{ref_key:"elInputRef",ref:c,"model-value":e.modelValue,disabled:f(i),role:x.value?"combobox":void 0,"aria-activedescendant":x.value?E.value||"":void 0,"aria-controls":x.value?f(l):void 0,"aria-expanded":x.value||void 0,"aria-label":e.ariaLabel,"aria-autocomplete":x.value?"none":void 0,"aria-haspopup":x.value?"listbox":void 0,onInput:T,onKeydown:R,onMousedown:M}),ka({_:2},[yt(N.$slots,(V,z)=>({name:z,fn:X(G=>[ue(N.$slots,z,Oi(Vi(G)))])}))]),1040,["model-value","disabled","role","aria-activedescendant","aria-controls","aria-expanded","aria-label","aria-autocomplete","aria-haspopup"]),j(f(Ss),{ref_key:"tooltipRef",ref:u,visible:x.value,"popper-class":[f(r).e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,placement:m.value,"fallback-placements":g.value,effect:"light",pure:"",offset:e.offset,"show-arrow":e.showArrow},{default:X(()=>[A("div",{style:tt(p.value)},null,4)]),content:X(()=>[j(ime,{ref_key:"dropdownRef",ref:d,options:_.value,disabled:f(i),loading:e.loading,"content-id":f(l),"aria-label":e.ariaLabel,onSelect:O,onClick:L[0]||(L[0]=lt(V=>{var z;return(z=c.value)==null?void 0:z.focus()},["stop"]))},ka({_:2},[yt(N.$slots,(V,z)=>({name:z,fn:X(G=>[ue(N.$slots,z,Oi(Vi(G)))])}))]),1032,["options","disabled","loading","content-id","aria-label"])]),_:3},8,["visible","popper-class","popper-style","popper-options","placement","fallback-placements","offset","show-arrow"])],2))}});const cme=pt(lme),ume=Te({layout:{type:String,default:"horizontal",values:["horizontal","vertical"]},lazy:Boolean}),dme={resizeStart:(e,t)=>!0,resize:(e,t)=>!0,resizeEnd:(e,t)=>!0,collapse:(e,t,n)=>!0},y7=Symbol("splitterRootContextKey");function fme(e){const t=F(),{width:n,height:s}=Py(t),a=k(()=>e.value==="horizontal"?n.value:s.value);return{containerEl:t,containerSize:a}}function E8(e){return Number(e.slice(0,-1))/100}function k8(e){return Number(e.slice(0,-2))}function A8(e){return Xe(e)&&e.endsWith("%")}function T8(e){return Xe(e)&&e.endsWith("px")}function hme(e,t){const n=k(()=>e.value.map(i=>i.size)),s=k(()=>e.value.length),a=F([]);me([n,s,t],()=>{var i;let l=[],c=0;for(let d=0;dd+(h||0),0);if(u>1||!c){const d=1/u;l=l.map(h=>h===void 0?0:h*d)}else{const d=(1-u)/c;l=l.map(h=>h===void 0?d:h)}a.value=l});const o=i=>i*t.value,r=k(()=>a.value.map(o));return{percentSizes:a,pxSizes:r}}function pme(e,t,n,s){const a=g=>g*t.value||0;function o(g,b){return A8(g)?a(E8(g)):T8(g)?k8(g):g??b}const r=F(0),i=F(null);let l=[],c=qt;const u=k(()=>e.value.map(g=>[g.min,g.max]));me(s,()=>{if(r.value){const g=new MouseEvent("mouseup",{bubbles:!0});window.dispatchEvent(g)}});const d=g=>{r.value=0,i.value={index:g,confirmed:!1},l=n.value},h=(g,b)=>{var C,w;let _=null;if((!i.value||!i.value.confirmed)&&b!==0){if(b>0)_=g,i.value={index:g,confirmed:!0};else for(let B=g;B>=0;B-=1)if(l[B]>0){_=B,i.value={index:B,confirmed:!0};break}}const x=(w=_??((C=i.value)==null?void 0:C.index))!=null?w:g,E=[...l],T=x+1,R=o(u.value[x][0],0),I=o(u.value[T][0],0),M=o(u.value[x][1],t.value||0),$=o(u.value[T][1],t.value||0);let O=b;E[x]+OM&&(O=M-E[x]),E[T]-O>$&&(O=E[T]-$),E[x]+=O,E[T]-=O,r.value=O,c=()=>{e.value.forEach((B,U)=>{B.size=E[U]}),c=qt},s.value||c()},p=()=>{s.value&&c(),r.value=0,i.value=null,l=[]},v=[];return{lazyOffset:r,onMoveStart:d,onMoving:h,onMoveEnd:p,movingIndex:i,onCollapse:(g,b)=>{v.length||v.push(...n.value);const C=n.value,w=b==="start"?g:g+1,_=b==="start"?g+1:g,x=C[w],E=C[_];if(x!==0&&E!==0)C[w]=0,C[_]+=x,v[g]=x;else{const T=x+E,R=v[g],I=T-R;C[_]=R,C[w]=I}e.value.forEach((T,R)=>{T.size=C[R]})}}}var vme=W({name:"ElSplitter",__name:"splitter",props:ume,emits:dme,setup(e,{emit:t}){const n=Ee("splitter"),s=t,a=e,o=Jt(a,"layout"),r=Jt(a,"lazy"),{containerEl:i,containerSize:l}=fme(o),{removeChild:c,children:u,addChild:d,ChildrenSorter:h}=Wg(_t(),"ElSplitterPanel");me(u,()=>{g.value=null,u.value.forEach((M,$)=>{M.setIndex($)})});const{percentSizes:p,pxSizes:v}=hme(u,l),{lazyOffset:m,movingIndex:g,onMoveStart:b,onMoving:C,onMoveEnd:w,onCollapse:_}=pme(u,l,v,r),x=k(()=>({[n.cssVarBlockName("bar-offset")]:r.value?`${m.value}px`:void 0}));return Tt(y7,Wt({panels:u,percentSizes:p,pxSizes:v,layout:o,lazy:r,movingIndex:g,containerSize:l,onMoveStart:M=>{b(M),s("resizeStart",M,v.value)},onMoving:(M,$)=>{C(M,$),r.value||s("resize",M,v.value)},onMoveEnd:async M=>{w(),await ze(),s("resizeEnd",M,v.value)},onCollapse:(M,$)=>{_(M,$),s("collapse",M,$,v.value)},registerPanel:d,unregisterPanel:c})),(M,$)=>(S(),P("div",{ref_key:"containerEl",ref:i,class:D([f(n).b(),f(n).e(o.value)]),style:tt(x.value)},[ue(M.$slots,"default"),j(f(h)),ie(" Prevent iframe touch events from breaking "),f(g)?(S(),P("div",{key:0,class:D([f(n).e("mask"),f(n).e(`mask-${o.value}`)])},null,2)):ie("v-if",!0)],6))}});const mme=Te({min:{type:[String,Number]},max:{type:[String,Number]},size:{type:[String,Number]},resizable:{type:Boolean,default:!0},collapsible:Boolean}),gme={"update:size":e=>typeof e=="number"||typeof e=="string"};function bme(e){return e&&ht(e)?e:{start:!!e,end:!!e}}function w7(e,t,n,s){return!!(e!=null&&e.collapsible.end&&t>0||n!=null&&n.collapsible.start&&s===0&&t>0)}var yme=W({name:"ElSplitterBar",__name:"split-bar",props:{index:{type:Number,required:!0},layout:{type:String,values:["horizontal","vertical"],default:"horizontal"},resizable:{type:Boolean,default:!0},lazy:Boolean,startCollapsible:Boolean,endCollapsible:Boolean},emits:["moveStart","moving","moveEnd","collapse"],setup(e,{emit:t}){const n=Ee("splitter-bar"),s=e,a=t,o=k(()=>s.layout==="horizontal"),r=k(()=>o.value?{width:0}:{height:0}),i=k(()=>({width:o.value?"16px":"100%",height:o.value?"100%":"16px",cursor:s.resizable?o.value?"ew-resize":"ns-resize":"auto",touchAction:"none"})),l=k(()=>{const C=n.e("dragger");return{[`${C}-horizontal`]:o.value,[`${C}-vertical`]:!o.value,[`${C}-active`]:!!c.value}}),c=F(null),u=C=>{s.resizable&&(c.value=[C.pageX,C.pageY],a("moveStart",s.index),window.addEventListener("mouseup",v),window.addEventListener("mousemove",h))},d=C=>{if(s.resizable&&C.touches.length===1){C.preventDefault();const w=C.touches[0];c.value=[w.pageX,w.pageY],a("moveStart",s.index),window.addEventListener("touchend",m),window.addEventListener("touchmove",p)}},h=C=>{const{pageX:w,pageY:_}=C,x=w-c.value[0],E=_-c.value[1],T=o.value?x:E;a("moving",s.index,T)},p=C=>{if(C.touches.length===1){C.preventDefault();const w=C.touches[0],_=w.pageX-c.value[0],x=w.pageY-c.value[1],E=o.value?_:x;a("moving",s.index,E)}},v=()=>{c.value=null,window.removeEventListener("mouseup",v),window.removeEventListener("mousemove",h),a("moveEnd",s.index)},m=()=>{c.value=null,window.removeEventListener("touchend",m),window.removeEventListener("touchmove",p),a("moveEnd",s.index)},g=k(()=>o.value?No:Sp),b=k(()=>o.value?Ls:hr);return(C,w)=>(S(),P("div",{class:D([f(n).b()]),style:tt(r.value)},[e.startCollapsible?(S(),P("div",{key:0,class:D([f(n).e("collapse-icon"),f(n).e(`${e.layout}-collapse-icon-start`)]),onClick:w[0]||(w[0]=_=>a("collapse",e.index,"start"))},[ue(C.$slots,"start-collapsible",{},()=>[(S(),le(bt(g.value),{style:{width:"12px",height:"12px"}}))])],2)):ie("v-if",!0),A("div",{class:D([f(n).e("dragger"),l.value,f(n).is("disabled",!e.resizable),f(n).is("lazy",e.resizable&&e.lazy)]),style:tt(i.value),onMousedown:u,onTouchstart:d},null,38),e.endCollapsible?(S(),P("div",{key:1,class:D([f(n).e("collapse-icon"),f(n).e(`${e.layout}-collapse-icon-end`)]),onClick:w[1]||(w[1]=_=>a("collapse",e.index,"end"))},[ue(C.$slots,"end-collapsible",{},()=>[(S(),le(bt(b.value),{style:{width:"12px",height:"12px"}}))])],2)):ie("v-if",!0)],6))}});const _7="ElSplitterPanel";var C7=W({name:_7,__name:"split-panel",props:mme,emits:gme,setup(e,{expose:t,emit:n}){const s=Ee("splitter-panel"),a=e,o=n,r=je(y7);r||Xn(_7,"usage: ");const{panels:i,layout:l,lazy:c,containerSize:u,pxSizes:d}=ps(r),{registerPanel:h,unregisterPanel:p,onCollapse:v,onMoveEnd:m,onMoveStart:g,onMoving:b}=r,C=F(),w=_t(),_=w.uid,x=F(0),E=k(()=>i.value[x.value]),T=L=>{x.value=L},R=k(()=>{var L;return E.value&&(L=d.value[x.value])!=null?L:0}),I=k(()=>{var L;return E.value&&(L=d.value[x.value+1])!=null?L:0}),M=k(()=>E.value?i.value[x.value+1]:null),$=k(()=>{var L;return M.value?a.resizable&&((L=M.value)==null?void 0:L.resizable)&&(R.value!==0||!a.min)&&(I.value!==0||!M.value.min):!1}),O=k(()=>E.value?x.value!==i.value.length-1:!1),B=k(()=>w7(E.value,R.value,M.value,I.value)),U=k(()=>w7(M.value,I.value,E.value,R.value));function J(L){return A8(L)?E8(L)*u.value||0:T8(L)?k8(L):L??0}let Y=!1;me(()=>a.size,()=>{if(!Y&&E.value){if(!u.value){E.value.size=a.size;return}const L=J(a.size),V=J(a.max),z=J(a.min),G=Math.min(Math.max(L,z||0),V||L);G!==L&&o("update:size",G),E.value.size=G}}),me(()=>{var L;return(L=E.value)==null?void 0:L.size},L=>{L!==a.size&&(Y=!0,o("update:size",L),ze(()=>Y=!1))}),me(()=>a.resizable,L=>{E.value&&(E.value.resizable=L)});const N=Wt({uid:_,getVnode:()=>w.vnode,setIndex:T,...a,collapsible:k(()=>bme(a.collapsible))});return h(N),Gt(()=>p(N)),t({splitterPanelRef:C}),(L,V)=>(S(),P(He,null,[A("div",wt({ref_key:"panelEl",ref:C,class:[f(s).b()],style:{flexBasis:`${R.value}px`}},L.$attrs),[ue(L.$slots,"default")],16),O.value?(S(),le(yme,{key:0,index:x.value,layout:f(l),lazy:f(c),resizable:$.value,"start-collapsible":B.value,"end-collapsible":U.value,onMoveStart:f(g),onMoving:f(b),onMoveEnd:f(m),onCollapse:f(v)},{"start-collapsible":X(()=>[ue(L.$slots,"start-collapsible")]),"end-collapsible":X(()=>[ue(L.$slots,"end-collapsible")]),_:3},8,["index","layout","lazy","resizable","start-collapsible","end-collapsible","onMoveStart","onMoving","onMoveEnd","onCollapse"])):ie("v-if",!0)],64))}});const wme=pt(vme,{SplitPanel:C7}),_me=An(C7);var Cme=[uz,hJ,BQ,xhe,jQ,KQ,XQ,xE,see,aee,gs,LE,pte,gte,Rte,Ite,wne,bk,xne,mr,qte,T3,Ane,Vne,zne,Kg,Lk,dse,hse,vse,mse,gse,bse,yse,loe,nA,voe,moe,Toe,hA,Boe,Ere,kre,Are,EA,Wie,jie,Je,ele,LA,la,NA,vle,wle,Dle,Fle,Ble,Vle,Kle,yce,Cce,Tce,mE,UA,vk,nne,tne,zce,jce,qce,pr,cc,Hg,dte,kue,Rue,Iue,Xue,ede,hT,ide,fde,hde,Cde,$fe,Dfe,She,Nhe,$he,al,Q6,$se,Hhe,Uhe,qhe,Ss,a0e,l8,A0e,z0e,fpe,_pe,Dve,Fve,Kve,Uve,Zve,cme,wme,_me];const vo="ElInfiniteScroll",Sme=50,xme={delay:{type:Number,default:200},distance:{type:Number,default:0},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},M8=(e,t)=>Object.entries(xme).reduce((n,[s,a])=>{var o,r;const{type:i,default:l}=a,c=e.getAttribute(`infinite-scroll-${s}`);let u=(r=(o=t[c])!=null?o:c)!=null?r:l;return u=u==="false"?!1:u,u=i(u),n[s]=Number.isNaN(u)?l:u,n},{}),S7=e=>{const{observer:t}=e[vo];t&&(t.disconnect(),delete e[vo].observer)},Eme=(e,t)=>{const{container:n,containerEl:s,instance:a,observer:o,lastScrollTop:r}=e[vo],{disabled:i,distance:l}=M8(e,a),{clientHeight:c,scrollHeight:u,scrollTop:d}=s,h=d-r;if(e[vo].lastScrollTop=d,o||i||h<0)return;let p=!1;if(n===e)p=u-(c+d)<=l;else{const{clientTop:v,scrollHeight:m}=e,g=N3(e,s);p=d+c>=g+v+m-l}p&&t.call(a)};function P8(e,t){const{containerEl:n,instance:s}=e[vo],{disabled:a}=M8(e,s);a||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(s):S7(e))}const R8={async mounted(e,t){const{instance:n,value:s}=t;ai({scope:vo,from:"the directive v-infinite-scroll",replacement:"the el-scrollbar infinite scroll",version:"3.0.0",ref:"https://element-plus.org/en-US/component/scrollbar#infinite-scroll"},!0),et(s)||Xn(vo,"'v-infinite-scroll' binding value must be a function"),await ze();const{delay:a,immediate:o}=M8(e,n),r=Oy(e,!0),i=r===window?document.documentElement:r,l=Ql(Eme.bind(null,e,s),a);if(r){if(e[vo]={instance:n,container:r,containerEl:i,delay:a,cb:s,onScroll:l,lastScrollTop:i.scrollTop},o){const c=new MutationObserver(Ql(P8.bind(null,e,s),Sme));e[vo].observer=c,c.observe(e,{childList:!0,subtree:!0}),P8(e,s)}r.addEventListener("scroll",l)}},unmounted(e){if(!e[vo])return;const{container:t,onScroll:n}=e[vo];t==null||t.removeEventListener("scroll",n),S7(e)},async updated(e){if(!e[vo])await ze();else{const{containerEl:t,cb:n,observer:s}=e[vo];t.clientHeight&&s&&P8(e,n)}}};R8.install=e=>{e.directive("InfiniteScroll",R8)};const kme=R8;function Ame(e,t){let n;const s=F(!1),a=Wt({...e,originalPosition:"",originalOverflow:"",visible:!1});function o(p){a.text=p}function r(){const p=a.parent,v=h.ns;if(!p.vLoadingAddClassList){let m=p.getAttribute("loading-number");m=Number.parseInt(m)-1,m?p.setAttribute("loading-number",m.toString()):(ra(p,v.bm("parent","relative")),p.removeAttribute("loading-number")),ra(p,v.bm("parent","hidden"))}i(),d.unmount()}function i(){var p,v;(v=(p=h.$el)==null?void 0:p.parentNode)==null||v.removeChild(h.$el)}function l(){var p;e.beforeClose&&!e.beforeClose()||(s.value=!0,clearTimeout(n),n=setTimeout(c,400),a.visible=!1,(p=e.closed)==null||p.call(e))}function c(){if(!s.value)return;const p=a.parent;s.value=!1,p.vLoadingAddClassList=void 0,r()}const d=JS(W({name:"ElLoading",setup(p,{expose:v}){const{ns:m,zIndex:g}=gg("loading");return v({ns:m,zIndex:g}),()=>{const b=a.spinner||a.svg,C=rt("svg",{class:"circular",viewBox:a.svgViewBox?a.svgViewBox:"0 0 50 50",...b?{innerHTML:b}:{}},[rt("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),w=a.text?rt("p",{class:m.b("text")},[a.text]):void 0;return rt(vs,{name:m.b("fade"),onAfterLeave:c},{default:X(()=>[gt(j("div",{style:{backgroundColor:a.background||""},class:[m.b("mask"),a.customClass,m.is("fullscreen",a.fullscreen)]},[rt("div",{class:m.b("spinner")},[C,w])]),[[Bt,a.visible]])])})}}}));Object.assign(d._context,t??{});const h=d.mount(document.createElement("div"));return{...ps(a),setText:o,removeElLoadingChild:i,close:l,handleAfterLeave:c,vm:h,get $el(){return h.$el}}}let V1;const ih=function(e={},t){if(!jt)return;const n=Tme(e);if(n.fullscreen&&V1)return V1;const s=Ame({...n,closed:()=>{var o;(o=n.closed)==null||o.call(n),n.fullscreen&&(V1=void 0)}},t??ih._context);Mme(n,n.parent,s),x7(n,n.parent,s),n.parent.vLoadingAddClassList=()=>x7(n,n.parent,s);let a=n.parent.getAttribute("loading-number");return a?a=`${Number.parseInt(a)+1}`:a="1",n.parent.setAttribute("loading-number",a),n.parent.appendChild(s.$el),ze(()=>s.visible.value=n.visible),n.fullscreen&&(V1=s),s},Tme=e=>{var t,n,s,a;let o;return Xe(e.target)?o=(t=document.querySelector(e.target))!=null?t:document.body:o=e.target||document.body,{parent:o===document.body||e.body?document.body:o,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:o===document.body&&((n=e.fullscreen)!=null?n:!0),lock:(s=e.lock)!=null?s:!1,customClass:e.customClass||"",visible:(a=e.visible)!=null?a:!0,beforeClose:e.beforeClose,closed:e.closed,target:o}},Mme=async(e,t,n)=>{const{nextZIndex:s}=n.vm.zIndex||n.vm._.exposed.zIndex,a={};if(e.fullscreen)n.originalPosition.value=Gi(document.body,"position"),n.originalOverflow.value=Gi(document.body,"overflow"),a.zIndex=s();else if(e.parent===document.body){n.originalPosition.value=Gi(document.body,"position"),await ze();for(const o of["top","left"]){const r=o==="top"?"scrollTop":"scrollLeft";a[o]=`${e.target.getBoundingClientRect()[o]+document.body[r]+document.documentElement[r]-Number.parseInt(Gi(document.body,`margin-${o}`),10)}px`}for(const o of["height","width"])a[o]=`${e.target.getBoundingClientRect()[o]}px`}else n.originalPosition.value=Gi(t,"position");for(const[o,r]of Object.entries(a))n.$el.style[o]=r},x7=(e,t,n)=>{const s=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?ra(t,s.bm("parent","relative")):Lo(t,s.bm("parent","relative")),e.fullscreen&&e.lock?Lo(t,s.bm("parent","hidden")):ra(t,s.bm("parent","hidden"))};ih._context=null;const hv=Symbol("ElLoading"),Du=e=>`element-loading-${Ii(e)}`,E7=(e,t)=>{var n,s,a,o;const r=t.instance,i=p=>ht(t.value)?t.value[p]:void 0,l=p=>{const v=Xe(p)&&(r==null?void 0:r[p])||p;return F(v)},c=p=>l(i(p)||e.getAttribute(Du(p))),u=(n=i("fullscreen"))!=null?n:t.modifiers.fullscreen,d={text:c("text"),svg:c("svg"),svgViewBox:c("svgViewBox"),spinner:c("spinner"),background:c("background"),customClass:c("customClass"),fullscreen:u,target:(s=i("target"))!=null?s:u?void 0:e,body:(a=i("body"))!=null?a:t.modifiers.body,lock:(o=i("lock"))!=null?o:t.modifiers.lock},h=ih(d);h._context=pv._context,e[hv]={options:d,instance:h}},Pme=(e,t)=>{for(const n of Object.keys(e))pn(e[n])&&(e[n].value=t[n])},pv={mounted(e,t){t.value&&E7(e,t)},updated(e,t){const n=e[hv];if(!t.value){n==null||n.instance.close(),e[hv]=null;return}n?Pme(n.options,ht(t.value)?t.value:{text:e.getAttribute(Du("text")),svg:e.getAttribute(Du("svg")),svgViewBox:e.getAttribute(Du("svgViewBox")),spinner:e.getAttribute(Du("spinner")),background:e.getAttribute(Du("background")),customClass:e.getAttribute(Du("customClass"))}):E7(e,t)},unmounted(e){var t;(t=e[hv])==null||t.instance.close(),e[hv]=null}};pv._context=null;const Rme={install(e){ih._context=e._context,pv._context=e._context,e.directive("loading",pv),e.config.globalProperties.$loading=ih},directive:pv,service:ih},k7=["primary","success","info","warning","error"],A7=["top","top-left","top-right","bottom","bottom-left","bottom-right"],vv="top",ha=Rn({customClass:"",dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,placement:void 0,zIndex:0,grouping:!1,repeatNum:1,appendTo:jt?document.body:void 0}),Ime=Te({customClass:{type:String,default:ha.customClass},dangerouslyUseHTMLString:{type:Boolean,default:ha.dangerouslyUseHTMLString},duration:{type:Number,default:ha.duration},icon:{type:en,default:ha.icon},id:{type:String,default:ha.id},message:{type:re([String,Object,Function]),default:ha.message},onClose:{type:re(Function),default:ha.onClose},showClose:{type:Boolean,default:ha.showClose},type:{type:String,values:k7,default:ha.type},plain:{type:Boolean,default:ha.plain},offset:{type:Number,default:ha.offset},placement:{type:String,values:A7,default:ha.placement},zIndex:{type:Number,default:ha.zIndex},grouping:{type:Boolean,default:ha.grouping},repeatNum:{type:Number,default:ha.repeatNum}}),Ome={destroy:()=>!0},_r=R2({}),Lme=e=>(_r[e]||(_r[e]=R2([])),_r[e]),Nme=(e,t)=>{const n=_r[t]||[],s=n.findIndex(r=>r.id===e),a=n[s];let o;return s>0&&(o=n[s-1]),{current:a,prev:o}},$me=(e,t)=>{const{prev:n}=Nme(e,t);return n?n.vm.exposed.bottom.value:0},Dme=(e,t,n)=>(_r[n]||[]).findIndex(o=>o.id===e)>0?16:t,Fme=["id"],Bme=["innerHTML"];var Vme=W({name:"ElMessage",__name:"message",props:Ime,emits:Ome,setup(e,{expose:t,emit:n}){const{Close:s}=jy,a=e,o=n,r=F(!1),{ns:i,zIndex:l}=gg("message"),{currentZIndex:c,nextZIndex:u}=l,d=F(),h=F(!1),p=F(0);let v;const m=k(()=>a.type?a.type==="error"?"danger":a.type:"info"),g=k(()=>{const B=a.type;return{[i.bm("icon",B)]:B&&ec[B]}}),b=k(()=>a.icon||ec[a.type]||""),C=k(()=>a.placement||vv),w=k(()=>$me(a.id,C.value)),_=k(()=>Dme(a.id,a.offset,C.value)+w.value),x=k(()=>p.value+_.value),E=k(()=>C.value.includes("left")?i.is("left"):C.value.includes("right")?i.is("right"):i.is("center")),T=k(()=>C.value.startsWith("top")?"top":"bottom"),R=k(()=>({[T.value]:`${_.value}px`,zIndex:c.value}));function I(){a.duration!==0&&({stop:v}=Ef(()=>{$()},a.duration))}function M(){v==null||v()}function $(){h.value=!1,ze(()=>{var B;r.value||((B=a.onClose)==null||B.call(a),o("destroy"))})}function O(B){an(B)===Ae.esc&&$()}return St(()=>{I(),u(),h.value=!0}),me(()=>a.repeatNum,()=>{M(),I()}),Zt(document,"keydown",O),bn(d,()=>{p.value=d.value.getBoundingClientRect().height}),t({visible:h,bottom:x,close:$}),(B,U)=>(S(),le(vs,{name:f(i).b("fade"),onBeforeEnter:U[0]||(U[0]=J=>r.value=!0),onBeforeLeave:e.onClose,onAfterLeave:U[1]||(U[1]=J=>B.$emit("destroy")),persisted:""},{default:X(()=>[gt(A("div",{id:e.id,ref_key:"messageRef",ref:d,class:D([f(i).b(),{[f(i).m(e.type)]:e.type},f(i).is("closable",e.showClose),f(i).is("plain",e.plain),f(i).is("bottom",T.value==="bottom"),E.value,e.customClass]),style:tt(R.value),role:"alert",onMouseenter:M,onMouseleave:I},[e.repeatNum>1?(S(),le(f(xE),{key:0,value:e.repeatNum,type:m.value,class:D(f(i).e("badge"))},null,8,["value","type","class"])):ie("v-if",!0),b.value?(S(),le(f(Je),{key:1,class:D([f(i).e("icon"),g.value])},{default:X(()=>[(S(),le(bt(b.value)))]),_:1},8,["class"])):ie("v-if",!0),ue(B.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(S(),P(He,{key:1},[ie(" Caution here, message could've been compromised, never use user's input as message "),A("p",{class:D(f(i).e("content")),innerHTML:e.message},null,10,Bme)],2112)):(S(),P("p",{key:0,class:D(f(i).e("content"))},ve(e.message),3))]),e.showClose?(S(),le(f(Je),{key:2,class:D(f(i).e("closeBtn")),onClick:lt($,["stop"])},{default:X(()=>[j(f(s))]),_:1},8,["class"])):ie("v-if",!0)],46,Fme),[[Bt,h.value]])]),_:3},8,["name","onBeforeLeave"]))}});let zme=1;const Hme=e=>{if(!e.appendTo)e.appendTo=document.body;else if(Xe(e.appendTo)){let n=document.querySelector(e.appendTo);ja(n)||(n=document.body),e.appendTo=n}},Wme=e=>{!e.placement&&Xe(ua.placement)&&ua.placement&&(e.placement=ua.placement),e.placement||(e.placement=vv),A7.includes(e.placement)||(e.placement=vv)},T7=e=>{const t=!e||Xe(e)||un(e)||et(e)?{message:e}:e,n={...ha,...t};return Hme(n),Wme(n),Qt(ua.grouping)&&!n.grouping&&(n.grouping=ua.grouping),at(ua.duration)&&n.duration===3e3&&(n.duration=ua.duration),at(ua.offset)&&n.offset===16&&(n.offset=ua.offset),Qt(ua.showClose)&&!n.showClose&&(n.showClose=ua.showClose),Qt(ua.plain)&&!n.plain&&(n.plain=ua.plain),n},jme=e=>{const t=e.props.placement||vv,n=_r[t],s=n.indexOf(e);if(s===-1)return;n.splice(s,1);const{handler:a}=e;a.close()},Kme=({appendTo:e,...t},n)=>{const s=`message_${zme++}`,a=t.onClose,o=document.createElement("div"),r={...t,id:s,onClose:()=>{a==null||a(),jme(u)},onDestroy:()=>{Zl(null,o)}},i=j(Vme,r,et(r.message)||un(r.message)?{default:et(r.message)?r.message:()=>r.message}:null);i.appContext=n||Fu._context,Zl(i,o),e.appendChild(o.firstElementChild);const l=i.component,u={id:s,vnode:i,vm:l,handler:{close:()=>{l.exposed.close()}},props:i.component.props};return u},Fu=(e={},t)=>{if(!jt)return{close:()=>{}};const n=T7(e),s=Lme(n.placement||vv);if(n.grouping&&s.length){const o=s.find(({vnode:r})=>{var i;return((i=r.props)==null?void 0:i.message)===n.message});if(o)return o.props.repeatNum+=1,o.props.type=n.type,o.handler}if(at(ua.max)&&s.length>=ua.max)return{close:()=>{}};const a=Kme(n,t);return s.push(a),a.handler};k7.forEach(e=>{Fu[e]=(t={},n)=>{const s=T7(t);return Fu({...s,type:e},n)}});function Ume(e){for(const t in _r)if(Ht(_r,t)){const n=[..._r[t]];for(const s of n)(!e||e===s.props.type)&&s.handler.close()}}function qme(e){if(!_r[e])return;[..._r[e]].forEach(n=>n.handler.close())}Fu.closeAll=Ume,Fu.closeAllByPlacement=qme,Fu._context=null;const Gs=$x(Fu,"$message"),I8="_trap-focus-children",Bu=[],M7=e=>{if(Bu.length===0)return;const t=an(e),n=Bu[Bu.length-1][I8];if(n.length>0&&t===Ae.tab){if(n.length===1){e.preventDefault(),document.activeElement!==n[0]&&n[0].focus();return}const s=e.shiftKey,a=e.target===n[0],o=e.target===n[n.length-1];a&&s&&(e.preventDefault(),n[n.length-1].focus()),o&&!s&&(e.preventDefault(),n[0].focus())}};var Gme=W({name:"ElMessageBox",directives:{TrapFocus:{beforeMount(e){e[I8]=W9(e),Bu.push(e),Bu.length<=1&&document.addEventListener("keydown",M7)},updated(e){ze(()=>{e[I8]=W9(e)})},unmounted(){Bu.shift(),Bu.length===0&&document.removeEventListener("keydown",M7)}}},components:{ElButton:gs,ElFocusTrap:Df,ElInput:la,ElOverlay:Q3,ElIcon:Je,...jy},inheritAttrs:!1,props:{buttonSize:{type:String,validator:bT},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,overflow:Boolean,roundButton:Boolean,container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:n,zIndex:s,ns:a,size:o}=gg("message-box",k(()=>e.buttonSize)),{t:r}=n,{nextZIndex:i}=s,l=F(!1),c=Wt({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",cancelButtonType:"",confirmButtonType:"primary",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",closeIcon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:"",inputValidator:void 0,inputErrorMessage:"",message:"",modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:Hr(Ns),cancelButtonLoadingIcon:Hr(Ns),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:i()}),u=k(()=>{const N=c.type;return{[a.bm("icon",N)]:N&&ec[N]}}),d=$s(),h=$s(),p=k(()=>{const N=c.type;return c.icon||N&&ec[N]||""}),v=k(()=>!!c.message),m=F(),g=F(),b=F(),C=F(),w=F(),_=k(()=>c.confirmButtonClass);me(()=>c.inputValue,async N=>{await ze(),e.boxType==="prompt"&&N&&B()},{immediate:!0}),me(()=>l.value,N=>{var L,V;N&&(e.boxType!=="prompt"&&(c.autofocus?b.value=(V=(L=w.value)==null?void 0:L.$el)!=null?V:m.value:b.value=m.value),c.zIndex=i()),e.boxType==="prompt"&&(N?ze().then(()=>{var z;C.value&&C.value.$el&&(c.autofocus?b.value=(z=U())!=null?z:m.value:b.value=m.value)}):(c.editorErrorMessage="",c.validateError=!1))});const x=k(()=>e.draggable),E=k(()=>e.overflow),{isDragging:T}=dA(m,g,x,E);St(async()=>{await ze(),e.closeOnHashChange&&window.addEventListener("hashchange",R)}),Gt(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",R)});function R(){l.value&&(l.value=!1,ze(()=>{c.action&&t("action",c.action)}))}const I=()=>{e.closeOnClickModal&&O(c.distinguishCancelAndClose?"close":"cancel")},M=Z3(I),$=N=>{var L;if(c.inputType!=="textarea"&&!((L=C.value)!=null&&L.isComposing))return N.preventDefault(),O("confirm")},O=N=>{var L;e.boxType==="prompt"&&N==="confirm"&&!B()||(c.action=N,c.beforeClose?(L=c.beforeClose)==null||L.call(c,N,c,R):R())},B=()=>{if(e.boxType==="prompt"){const N=c.inputPattern;if(N&&!N.test(c.inputValue||""))return c.editorErrorMessage=c.inputErrorMessage||r("el.messagebox.error"),c.validateError=!0,!1;const L=c.inputValidator;if(et(L)){const V=L(c.inputValue);if(V===!1)return c.editorErrorMessage=c.inputErrorMessage||r("el.messagebox.error"),c.validateError=!0,!1;if(Xe(V))return c.editorErrorMessage=V,c.validateError=!0,!1}}return c.editorErrorMessage="",c.validateError=!1,!0},U=()=>{var N,L;const V=(N=C.value)==null?void 0:N.$refs;return(L=V==null?void 0:V.input)!=null?L:V==null?void 0:V.textarea},J=()=>{O("close")},Y=()=>{e.closeOnPressEscape&&J()};return e.lockScroll&&n1(l,{ns:a}),{...ps(c),ns:a,overlayEvent:M,visible:l,hasMessage:v,typeClass:u,contentId:d,inputId:h,btnSize:o,iconComponent:p,confirmButtonClasses:_,rootRef:m,focusStartRef:b,headerRef:g,inputRef:C,isDragging:T,confirmRef:w,doClose:R,handleClose:J,onCloseRequested:Y,handleWrapperClick:I,handleInputEnter:$,handleAction:O,t:r}}});const Yme=["aria-label","aria-describedby"],Xme=["aria-label"],Jme=["id"];function Zme(e,t,n,s,a,o){const r=Ge("el-icon"),i=Ge("el-input"),l=Ge("el-button"),c=Ge("el-focus-trap"),u=Ge("el-overlay");return S(),le(vs,{name:"fade-in-linear",onAfterLeave:t[11]||(t[11]=d=>e.$emit("vanish")),persisted:""},{default:X(()=>[gt(j(u,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:X(()=>[A("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:D(`${e.ns.namespace.value}-overlay-message-box`),onClick:t[8]||(t[8]=(...d)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...d)),onMousedown:t[9]||(t[9]=(...d)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...d)),onMouseup:t[10]||(t[10]=(...d)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...d))},[j(c,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:X(()=>[A("div",{ref:"rootRef",class:D([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),e.ns.is("dragging",e.isDragging),{[e.ns.m("center")]:e.center}]),style:tt(e.customStyle),tabindex:"-1",onClick:t[7]||(t[7]=lt(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(S(),P("div",{key:0,ref:"headerRef",class:D([e.ns.e("header"),{"show-close":e.showClose}])},[A("div",{class:D(e.ns.e("title"))},[e.iconComponent&&e.center?(S(),le(r,{key:0,class:D([e.ns.e("status"),e.typeClass])},{default:X(()=>[(S(),le(bt(e.iconComponent)))]),_:1},8,["class"])):ie("v-if",!0),A("span",null,ve(e.title),1)],2),e.showClose?(S(),P("button",{key:0,type:"button",class:D(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:t[0]||(t[0]=d=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:t[1]||(t[1]=Nn(lt(d=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[j(r,{class:D(e.ns.e("close"))},{default:X(()=>[(S(),le(bt(e.closeIcon||"close")))]),_:1},8,["class"])],42,Xme)):ie("v-if",!0)],2)):ie("v-if",!0),A("div",{id:e.contentId,class:D(e.ns.e("content"))},[A("div",{class:D(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(S(),le(r,{key:0,class:D([e.ns.e("status"),e.typeClass])},{default:X(()=>[(S(),le(bt(e.iconComponent)))]),_:1},8,["class"])):ie("v-if",!0),e.hasMessage?(S(),P("div",{key:1,class:D(e.ns.e("message"))},[ue(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(S(),le(bt(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(S(),le(bt(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0,textContent:ve(e.message)},null,8,["for","textContent"]))])],2)):ie("v-if",!0)],2),gt(A("div",{class:D(e.ns.e("input"))},[j(i,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t[2]||(t[2]=d=>e.inputValue=d),type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:D({invalid:e.validateError}),onKeydown:Nn(e.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),A("div",{class:D(e.ns.e("errormsg")),style:tt({visibility:e.editorErrorMessage?"visible":"hidden"})},ve(e.editorErrorMessage),7)],2),[[Bt,e.showInput]])],10,Jme),A("div",{class:D(e.ns.e("btns"))},[e.showCancelButton?(S(),le(l,{key:0,type:e.cancelButtonType==="text"?"":e.cancelButtonType,text:e.cancelButtonType==="text",loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:D([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t[3]||(t[3]=d=>e.handleAction("cancel")),onKeydown:t[4]||(t[4]=Nn(lt(d=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:X(()=>[Ue(ve(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","size"])):ie("v-if",!0),gt(j(l,{ref:"confirmRef",type:e.confirmButtonType==="text"?"":e.confirmButtonType,text:e.confirmButtonType==="text",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:D([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t[5]||(t[5]=d=>e.handleAction("confirm")),onKeydown:t[6]||(t[6]=Nn(lt(d=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:X(()=>[Ue(ve(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","disabled","size"]),[[Bt,e.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,Yme)]),_:3},8,["z-index","overlay-class","mask"]),[[Bt,e.visible]])]),_:3})}var Qme=is(Gme,[["render",Zme]]);const mv=new Map,e2e=e=>{let t=document.body;return e.appendTo&&(Xe(e.appendTo)&&(t=document.querySelector(e.appendTo)),ja(e.appendTo)&&(t=e.appendTo),ja(t)||(t=document.body)),t},t2e=(e,t,n=null)=>{const s=j(Qme,e,et(e.message)||un(e.message)?{default:et(e.message)?e.message:()=>e.message}:null);return s.appContext=n,Zl(s,t),e2e(e).appendChild(t.firstElementChild),s.component},n2e=()=>document.createElement("div"),s2e=(e,t)=>{const n=n2e();e.onVanish=()=>{Zl(null,n),mv.delete(a)},e.onAction=o=>{const r=mv.get(a);let i;e.showInput?i={value:a.inputValue,action:o}:i=o,e.callback?e.callback(i,s.proxy):o==="cancel"||o==="close"?e.distinguishCancelAndClose&&o!=="cancel"?r.reject("close"):r.reject("cancel"):r.resolve(i)};const s=t2e(e,n,t),a=s.proxy;for(const o in e)Ht(e,o)&&!Ht(a.$props,o)&&(o==="closeIcon"&&ht(e[o])?a[o]=Hr(e[o]):a[o]=e[o]);return a.visible=!0,a};function lh(e,t=null){if(!jt)return Promise.reject();let n;return Xe(e)||un(e)?e={message:e}:n=e.callback,new Promise((s,a)=>{const o=s2e(e,t??lh._context);mv.set(o,{options:e,callback:n,resolve:s,reject:a})})}const a2e=["alert","confirm","prompt"],o2e={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};a2e.forEach(e=>{lh[e]=r2e(e)});function r2e(e){return(t,n,s,a)=>{let o="";return ht(n)?(s=n,o=""):$t(n)?o="":o=n,lh(Object.assign({title:o,message:t,type:"",...o2e[e]},s,{boxType:e}),a)}}lh.close=()=>{mv.forEach((e,t)=>{t.doClose()}),mv.clear()},lh._context=null;const pc=lh;pc.install=e=>{pc._context=e._context,e.config.globalProperties.$msgbox=pc,e.config.globalProperties.$messageBox=pc,e.config.globalProperties.$alert=pc.alert,e.config.globalProperties.$confirm=pc.confirm,e.config.globalProperties.$prompt=pc.prompt};const i2e=pc,P7=["primary","success","info","warning","error"],l2e=Te({customClass:{type:String,default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:en},id:{type:String,default:""},message:{type:re([String,Object,Function]),default:""},offset:{type:Number,default:0},onClick:{type:re(Function),default:()=>{}},onClose:{type:re(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:[...P7,""],default:""},zIndex:Number,closeIcon:{type:en,default:Ua}}),c2e={destroy:()=>!0},u2e=["id"],d2e=["textContent"],f2e={key:0},h2e=["innerHTML"];var p2e=W({name:"ElNotification",__name:"notification",props:l2e,emits:c2e,setup(e,{expose:t}){const n=e,{ns:s,zIndex:a}=gg("notification"),{nextZIndex:o,currentZIndex:r}=a,i=F(!1);let l;const c=k(()=>{const C=n.type;return C&&ec[n.type]?s.m(C):""}),u=k(()=>n.type&&ec[n.type]||n.icon),d=k(()=>n.position.endsWith("right")?"right":"left"),h=k(()=>n.position.startsWith("top")?"top":"bottom"),p=k(()=>{var C;return{[h.value]:`${n.offset}px`,zIndex:(C=n.zIndex)!=null?C:r.value}});function v(){n.duration>0&&({stop:l}=Ef(()=>{i.value&&g()},n.duration))}function m(){l==null||l()}function g(){i.value=!1}function b(C){switch(an(C)){case Ae.delete:case Ae.backspace:m();break;case Ae.esc:i.value&&g();break;default:v();break}}return St(()=>{v(),o(),i.value=!0}),Zt(document,"keydown",b),t({visible:i,close:g}),(C,w)=>(S(),le(vs,{name:f(s).b("fade"),onBeforeLeave:e.onClose,onAfterLeave:w[1]||(w[1]=_=>C.$emit("destroy")),persisted:""},{default:X(()=>[gt(A("div",{id:e.id,class:D([f(s).b(),e.customClass,d.value]),style:tt(p.value),role:"alert",onMouseenter:m,onMouseleave:v,onClick:w[0]||(w[0]=(..._)=>e.onClick&&e.onClick(..._))},[u.value?(S(),le(f(Je),{key:0,class:D([f(s).e("icon"),c.value])},{default:X(()=>[(S(),le(bt(u.value)))]),_:1},8,["class"])):ie("v-if",!0),A("div",{class:D(f(s).e("group"))},[A("h2",{class:D(f(s).e("title")),textContent:ve(e.title)},null,10,d2e),gt(A("div",{class:D(f(s).e("content")),style:tt(e.title?void 0:{margin:0})},[ue(C.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(S(),P(He,{key:1},[ie(" Caution here, message could've been compromised, never use user's input as message "),A("p",{innerHTML:e.message},null,8,h2e)],2112)):(S(),P("p",f2e,ve(e.message),1))])],6),[[Bt,e.message]]),e.showClose?(S(),le(f(Je),{key:0,class:D(f(s).e("closeBtn")),onClick:lt(g,["stop"])},{default:X(()=>[(S(),le(bt(e.closeIcon)))]),_:1},8,["class"])):ie("v-if",!0)],2)],46,u2e),[[Bt,i.value]])]),_:3},8,["name","onBeforeLeave"]))}});const ch={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},z1=16;let v2e=1;const Vu=function(e={},t){if(!jt)return{close:()=>{}};(Xe(e)||un(e))&&(e={message:e});const n=e.position||"top-right";let s=e.offset||0;ch[n].forEach(({vm:u})=>{var d;s+=(((d=u.el)==null?void 0:d.offsetHeight)||0)+z1}),s+=z1;const a=`notification_${v2e++}`,o=e.onClose,r={...e,offset:s,id:a,onClose:()=>{m2e(a,n,o)}};let i=document.body;ja(e.appendTo)?i=e.appendTo:Xe(e.appendTo)&&(i=document.querySelector(e.appendTo)),ja(i)||(i=document.body);const l=document.createElement("div"),c=j(p2e,r,et(r.message)?r.message:un(r.message)?()=>r.message:null);return c.appContext=$t(t)?Vu._context:t,c.props.onDestroy=()=>{Zl(null,l)},Zl(c,l),ch[n].push({vm:c}),i.appendChild(l.firstElementChild),{close:()=>{c.component.exposed.visible.value=!1}}};P7.forEach(e=>{Vu[e]=(t={},n)=>((Xe(t)||un(t))&&(t={message:t}),Vu({...t,type:e},n))});function m2e(e,t,n){const s=ch[t],a=s.findIndex(({vm:c})=>{var u;return((u=c.component)==null?void 0:u.props.id)===e});if(a===-1)return;const{vm:o}=s[a];if(!o)return;n==null||n(o);const r=o.el.offsetHeight,i=t.split("-")[0];s.splice(a,1);const l=s.length;if(!(l<1))for(let c=a;c{t.component.exposed.visible.value=!1})}function b2e(e="top-right"){var t,n,s,a;let o=((s=(n=(t=ch[e][0])==null?void 0:t.vm.component)==null?void 0:n.props)==null?void 0:s.offset)||0;for(const{vm:r}of ch[e])r.component.props.offset=o,o+=(((a=r.el)==null?void 0:a.offsetHeight)||0)+z1}Vu.closeAll=g2e,Vu.updateOffsets=b2e,Vu._context=null;const y2e=$x(Vu,"$notify");var w2e=[kme,Rme,Gs,i2e,y2e,KA],O8=tz([...Cme,...w2e]);O8.install,O8.version;const il=(e,t)=>{const n=e.__vccOpts||e;for(const[s,a]of t)n[s]=a;return n},_2e={};function C2e(e,t){const n=Ge("RouterView");return S(),le(n)}const S2e=il(_2e,[["render",C2e]]);/*! +*/const _1="_Mousewheel",jT=function(e,t){if(e&&e.addEventListener){KT(e);const n=function(s){const a=bfe(s);t&&Reflect.apply(t,this,[s,a])};e[_1]={wheelHandler:n},e.addEventListener("wheel",n,{passive:!0})}},KT=e=>{var t;(t=e[_1])!=null&&t.wheelHandler&&(e.removeEventListener("wheel",e[_1].wheelHandler),e[_1]=null)},yfe={beforeMount(e,t){jT(e,t.value)},unmounted(e){KT(e)},updated(e,t){t.value!==t.oldValue&&jT(e,t.value)}};let wfe=1;var _fe=W({name:"ElTable",directives:{Mousewheel:yfe},components:{TableHeader:Zde,TableBody:afe,TableFooter:ife,ElScrollbar:pr,hColgroup:IT},props:dfe,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","scroll"],setup(e){const{t}=It(),n=Ee("table"),s=_t();Tt(br,s);const a=Dde(s,e);s.store=a;const o=new zde({store:s.store,table:s,fit:e.fit,showHeader:e.showHeader});s.layout=o;const r=k(()=>(a.states.data.value||[]).length===0),{setCurrentRow:i,getSelectionRows:l,toggleRowSelection:c,clearSelection:u,clearFilter:d,toggleAllSelection:h,toggleRowExpansion:p,clearSort:v,sort:m,updateKeyChildren:g}=lfe(a),{isHidden:b,renderExpanded:_,setDragVisible:w,isGroup:C,handleMouseLeave:x,handleHeaderFooterMousewheel:E,tableSize:T,emptyBlockStyle:R,resizeProxyVisible:I,bodyWidth:M,resizeState:$,doLayout:O,tableBodyStyles:B,tableLayout:U,scrollbarViewStyle:J,scrollbarStyle:Y}=cfe(e,o,a,s),{scrollBarRef:N,scrollTo:L,setScrollLeft:V,setScrollTop:z}=ffe(),G=Xr(O,50),Q=`${n.namespace.value}-table_${wfe++}`;s.tableId=Q,s.state={isGroup:C,resizeState:$,doLayout:O,debouncedUpdateLayout:G};const K=k(()=>{var fe;return(fe=e.sumText)!=null?fe:t("el.table.sumText")}),ee=k(()=>{var fe;return(fe=e.emptyText)!=null?fe:t("el.table.emptyText")}),ae=k(()=>RT(a.states.originColumns.value)[0]);return ufe(s),Gt(()=>{G.cancel()}),{ns:n,layout:o,store:a,columns:ae,handleHeaderFooterMousewheel:E,handleMouseLeave:x,tableId:Q,tableSize:T,isHidden:b,isEmpty:r,renderExpanded:_,resizeProxyVisible:I,resizeState:$,isGroup:C,bodyWidth:M,tableBodyStyles:B,emptyBlockStyle:R,debouncedUpdateLayout:G,setCurrentRow:i,getSelectionRows:l,toggleRowSelection:c,clearSelection:u,clearFilter:d,toggleAllSelection:h,toggleRowExpansion:p,clearSort:v,doLayout:O,sort:m,updateKeyChildren:g,t,setDragVisible:w,context:s,computedSumText:K,computedEmptyText:ee,tableLayout:U,scrollbarViewStyle:J,scrollbarStyle:Y,scrollBarRef:N,scrollTo:L,setScrollLeft:V,setScrollTop:z,allowDragLastColumn:e.allowDragLastColumn}}});const Cfe=["data-prefix"],Sfe={ref:"hiddenColumns",class:"hidden-columns"};function xfe(e,t,n,s,a,o){const r=Ge("hColgroup"),i=Ge("table-header"),l=Ge("table-body"),c=Ge("table-footer"),u=Ge("el-scrollbar"),d=N4("mousewheel");return S(),P("div",{ref:"tableWrapper",class:D([{[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:tt(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:t[1]||(t[1]=(...h)=>e.handleMouseLeave&&e.handleMouseLeave(...h))},[A("div",{ref:"tableInnerWrapper",class:D(e.ns.e("inner-wrapper"))},[A("div",Sfe,[ue(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?gt((S(),P("div",{key:0,ref:"headerWrapper",class:D(e.ns.e("header-wrapper"))},[A("table",{ref:"tableHeader",class:D(e.ns.e("header")),style:tt(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[j(r,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),j(i,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,"allow-drag-last-column":e.allowDragLastColumn,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","allow-drag-last-column","onSetDragVisible"])],6)],2)),[[d,e.handleHeaderFooterMousewheel]]):ie("v-if",!0),A("div",{ref:"bodyWrapper",class:D(e.ns.e("body-wrapper"))},[j(u,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn,tabindex:e.scrollbarTabindex,native:e.nativeScrollbar,onScroll:t[0]||(t[0]=h=>e.$emit("scroll",h))},{default:X(()=>[A("table",{ref:"tableBody",class:D(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:tt({width:e.bodyWidth,tableLayout:e.tableLayout})},[j(r,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&e.tableLayout==="auto"?(S(),le(i,{key:0,ref:"tableHeaderRef",class:D(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):ie("v-if",!0),j(l,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"tooltip-options":e.tooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&e.tableLayout==="auto"?(S(),le(c,{key:1,class:D(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):ie("v-if",!0)],6),e.isEmpty?(S(),P("div",{key:0,ref:"emptyBlock",style:tt(e.emptyBlockStyle),class:D(e.ns.e("empty-block"))},[A("span",{class:D(e.ns.e("empty-text"))},[ue(e.$slots,"empty",{},()=>[Ue(ve(e.computedEmptyText),1)])],2)],6)):ie("v-if",!0),e.$slots.append?(S(),P("div",{key:1,ref:"appendWrapper",class:D(e.ns.e("append-wrapper"))},[ue(e.$slots,"append")],2)):ie("v-if",!0)]),_:3},8,["view-style","wrap-style","always","tabindex","native"])],2),e.showSummary&&e.tableLayout==="fixed"?gt((S(),P("div",{key:1,ref:"footerWrapper",class:D(e.ns.e("footer-wrapper"))},[A("table",{class:D(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:tt(e.tableBodyStyles)},[j(r,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),j(c,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[Bt,!e.isEmpty],[d,e.handleHeaderFooterMousewheel]]):ie("v-if",!0),e.border||e.isGroup?(S(),P("div",{key:2,class:D(e.ns.e("border-left-patch"))},null,2)):ie("v-if",!0)],2),gt(A("div",{ref:"resizeProxy",class:D(e.ns.e("column-resize-proxy"))},null,2),[[Bt,e.resizeProxyVisible]])],46,Cfe)}var Efe=is(_fe,[["render",xfe]]);const kfe={selection:"table-column--selection",expand:"table__expand-column"},Afe={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:""}},Tfe=e=>kfe[e]||"",Mfe={selection:{renderHeader({store:e}){var t;function n(){return e.states.data.value&&e.states.data.value.length===0}return rt(mr,{disabled:n(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":(t=e.toggleAllSelection)!=null?t:void 0,modelValue:e.states.isAllSelected.value,ariaLabel:e.t("el.table.selectAllLabel")})},renderCell({row:e,column:t,store:n,$index:s}){return rt(mr,{disabled:t.selectable?!t.selectable.call(null,e,s):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:a=>a.stopPropagation(),modelValue:n.isSelected(e),ariaLabel:n.t("el.table.selectRowLabel")})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const s=e.index;return at(s)?n=t+s:et(s)&&(n=s(t)),rt("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({column:e,row:t,store:n,expanded:s,$index:a}){var o,r,i;const{ns:l}=n,c=[l.e("expand-icon")];!e.renderExpand&&s&&c.push(l.em("expand-icon","expanded"));const u=function(h){h.stopPropagation(),n.toggleRowExpansion(t)},d=(i=(r=(o=n.states.rowExpandable).value)==null?void 0:r.call(o,t,a))!=null?i:!0;return d||c.push(l.is("disabled")),rt("button",{type:"button",disabled:!d,"aria-label":n.t(s?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":s,class:c,onClick:u},{default:()=>e.renderExpand?[e.renderExpand({expanded:s,expandable:d})]:[rt(Je,null,{default:()=>[rt(Ls)]})]})},sortable:!1,resizable:!1}};function Pfe({row:e,column:t,$index:n}){var s;const a=t.property,o=a&&kf(e,a).value;return t&&t.formatter?t.formatter(e,t,o,n):((s=o==null?void 0:o.toString)==null?void 0:s.call(o))||""}function Rfe({row:e,treeNode:t,store:n},s=!1){const{ns:a}=n;if(!t)return s?[rt("span",{class:a.e("placeholder")})]:null;const o=[],r=function(i){i.stopPropagation(),!t.loading&&n.loadOrToggle(e)};if(t.indent&&o.push(rt("span",{class:a.e("indent"),style:{"padding-left":`${t.indent}px`}})),Qt(t.expanded)&&!t.noLazyChildren){const i=[a.e("expand-icon"),t.expanded?a.em("expand-icon","expanded"):""];let l=Ls;t.loading&&(l=Ns),o.push(rt("button",{type:"button","aria-label":n.t(t.expanded?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":t.expanded,class:i,onClick:r},{default:()=>[rt(Je,{class:a.is("loading",t.loading)},{default:()=>[rt(l)]})]}))}else o.push(rt("span",{class:a.e("placeholder")}));return o}function UT(e,t){return e.reduce((n,s)=>(n[s]=s,n),t)}function Ife(e,t){const n=_t();return{registerComplexWatchers:()=>{const o=["fixed"],r={realWidth:"width",realMinWidth:"minWidth"},i=UT(o,r);Object.keys(i).forEach(l=>{const c=r[l];Ht(t,c)&&me(()=>t[c],u=>{let d=u;c==="width"&&l==="realWidth"&&(d=k6(u)),c==="minWidth"&&l==="realMinWidth"&&(d=CT(u)),n.columnConfig.value[c]=d,n.columnConfig.value[l]=d;const h=c==="fixed";e.value.store.scheduleLayout(h)})})},registerNormalWatchers:()=>{const o=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip","tooltipFormatter","resizable"],r=["showOverflowTooltip"],i={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},l=UT(o,i);Object.keys(l).forEach(c=>{const u=i[c];Ht(t,u)&&me(()=>t[u],d=>{n.columnConfig.value[c]=d,(c==="filters"||c==="filterMethod")&&(n.columnConfig.value.filterable=!!(n.columnConfig.value.filters||n.columnConfig.value.filterMethod))})}),r.forEach(c=>{Ht(e.value.props,c)&&me(()=>e.value.props[c],u=>{n.columnConfig.value.type!=="selection"&&$t(t[c])&&(n.columnConfig.value[c]=u)})})}}}function Ofe(e,t,n){const s=_t(),a=F(""),o=F(!1),r=F(),i=F(),l=Ee("table");Wa(()=>{r.value=e.align?`is-${e.align}`:null,r.value}),Wa(()=>{i.value=e.headerAlign?`is-${e.headerAlign}`:r.value,i.value});const c=k(()=>{let C=s.vnode.vParent||s.parent;for(;C&&!C.tableId&&!C.columnId;)C=C.vnode.vParent||C.parent;return C}),u=k(()=>{const{store:C}=s.parent;if(!C)return!1;const{treeData:x}=C.states,E=x.value;return E&&Object.keys(E).length>0}),d=F(k6(e.width)),h=F(CT(e.minWidth)),p=C=>(d.value&&(C.width=d.value),h.value&&(C.minWidth=h.value),!d.value&&h.value&&(C.width=void 0),C.minWidth||(C.minWidth=80),C.realWidth=Number($t(C.width)?C.minWidth:C.width),C),v=C=>{const x=C.type,E=Mfe[x]||{};Object.keys(E).forEach(R=>{const I=E[R];R!=="className"&&!$t(I)&&(C[R]=I)});const T=Tfe(x);if(T){const R=`${f(l.namespace)}-${T}`;C.className=C.className?`${C.className} ${R}`:R}return C},m=C=>{ke(C)?C.forEach(E=>x(E)):x(C);function x(E){var T;((T=E==null?void 0:E.type)==null?void 0:T.name)==="ElTableColumn"&&(E.vParent=s)}};return{columnId:a,realAlign:r,isSubColumn:o,realHeaderAlign:i,columnOrTableParent:c,setColumnWidth:p,setColumnForcedProps:v,setColumnRenders:C=>{e.renderHeader||C.type!=="selection"&&(C.renderHeader=E=>{if(s.columnConfig.value.label,t.header){const T=t.header(E);if(AT(T))return rt(He,T)}return Ue(C.label)}),t["filter-icon"]&&(C.renderFilterIcon=E=>ue(t,"filter-icon",E)),t.expand&&(C.renderExpand=E=>ue(t,"expand",E));let x=C.renderCell;return C.type==="expand"?(C.renderCell=E=>rt("div",{class:"cell"},[x(E)]),n.value.renderExpanded=E=>t.default?t.default(E):t.default):(x=x||Pfe,C.renderCell=E=>{let T=null;if(t.default){const B=t.default(E);T=B.some(U=>U.type!==Kn)?B:x(E)}else T=x(E);const{columns:R}=n.value.store.states,I=R.value.findIndex(B=>B.type==="default"),M=u.value&&E.cellIndex===I,$=Rfe(E,M),O={class:"cell",style:{}};return C.showOverflowTooltip&&(O.class=`${O.class} ${f(l.namespace)}-tooltip`,O.style={width:`${(E.column.realWidth||Number(E.column.width))-1}px`}),m(T),rt("div",O,[$,T])}),C},getPropsData:(...C)=>C.reduce((x,E)=>(ke(E)&&E.forEach(T=>{x[T]=e[T]}),x),{}),getColumnElIndex:(C,x)=>Array.prototype.indexOf.call(C,x),updateColumnOrder:()=>{n.value.store.commit("updateColumnOrder",s.columnConfig.value)}}}var Lfe={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,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every(t=>["ascending","descending",null].includes(t))}};let Nfe=1;var qT=W({name:"ElTableColumn",components:{ElCheckbox:mr},props:Lfe,setup(e,{slots:t}){const n=_t(),s=F({}),a=k(()=>{let w=n.parent;for(;w&&!w.tableId;)w=w.parent;return w}),{registerNormalWatchers:o,registerComplexWatchers:r}=Ife(a,e),{columnId:i,isSubColumn:l,realHeaderAlign:c,columnOrTableParent:u,setColumnWidth:d,setColumnForcedProps:h,setColumnRenders:p,getPropsData:v,getColumnElIndex:m,realAlign:g,updateColumnOrder:b}=Ofe(e,t,a),_=u.value;i.value=`${"tableId"in _&&_.tableId||"columnId"in _&&_.columnId}_column_${Nfe++}`,K2(()=>{l.value=a.value!==_;const w=e.type||"default",C=e.sortable===""?!0:e.sortable,x=w==="selection"?!1:$t(e.showOverflowTooltip)?_.props.showOverflowTooltip:e.showOverflowTooltip,E=$t(e.tooltipFormatter)?_.props.tooltipFormatter:e.tooltipFormatter,T={...Afe[w],id:i.value,type:w,property:e.prop||e.property,align:g,headerAlign:c,showOverflowTooltip:x,tooltipFormatter:E,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:C,index:e.index,rawColumnKey:n.vnode.key};let O=v(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);O=Ede(T,O),O=Ade(p,d,h)(O),s.value=O,o(),r()}),St(()=>{var w,C;const x=u.value,E=l.value?(w=x.vnode.el)==null?void 0:w.children:(C=x.refs.hiddenColumns)==null?void 0:C.children,T=()=>m(E||[],n.vnode.el);s.value.getColumnIndex=T,T()>-1&&a.value.store.commit("insertColumn",s.value,l.value?"columnConfig"in x&&x.columnConfig.value:null,b)}),Gt(()=>{const w=s.value.getColumnIndex;(w?w():-1)>-1&&a.value.store.commit("removeColumn",s.value,l.value?"columnConfig"in _&&_.columnConfig.value:null,b)}),n.columnId=i.value,n.columnConfig=s},render(){var e,t,n;try{const s=(t=(e=this.$slots).default)==null?void 0:t.call(e,{row:{},column:{},$index:-1}),a=[];if(ke(s))for(const r of s)((n=r.type)==null?void 0:n.name)==="ElTableColumn"||r.shapeFlag&2?a.push(r):r.type===He&&ke(r.children)&&r.children.forEach(i=>{(i==null?void 0:i.patchFlag)!==1024&&!Xe(i==null?void 0:i.children)&&a.push(i)});return rt("div",a)}catch{return rt("div",[])}}});const $fe=pt(Efe,{TableColumn:qT}),Dfe=An(qT);var Pu=(e=>(e.ASC="asc",e.DESC="desc",e))(Pu||{}),nv=(e=>(e.LEFT="left",e.CENTER="center",e.RIGHT="right",e))(nv||{}),GT=(e=>(e.LEFT="left",e.RIGHT="right",e))(GT||{});const H6={asc:"desc",desc:"asc"},sv=Symbol("placeholder"),Ffe=(e,t,n)=>{var s,a,o;const r={flexGrow:0,flexShrink:0,...n?{}:{flexGrow:(s=e.flexGrow)!=null?s:0,flexShrink:(a=e.flexShrink)!=null?a:1}},i={...(o=e.style)!=null?o:{},...r,flexBasis:"auto",width:e.width};return t||(e.maxWidth&&(i.maxWidth=e.maxWidth),e.minWidth&&(i.minWidth=e.minWidth)),i};function Bfe(e,t,n){const s=k(()=>f(t).map((g,b)=>{var _,w;return{...g,key:(w=(_=g.key)!=null?_:g.dataKey)!=null?w:b}})),a=k(()=>f(s).filter(g=>!g.hidden)),o=k(()=>f(a).filter(g=>g.fixed==="left"||g.fixed===!0)),r=k(()=>f(a).filter(g=>g.fixed==="right")),i=k(()=>f(a).filter(g=>!g.fixed)),l=k(()=>{const g=[];return f(o).forEach(b=>{g.push({...b,placeholderSign:sv})}),f(i).forEach(b=>{g.push(b)}),f(r).forEach(b=>{g.push({...b,placeholderSign:sv})}),g}),c=k(()=>f(o).length||f(r).length),u=k(()=>f(s).reduce((g,b)=>(g[b.key]=Ffe(b,f(n),e.fixed),g),{})),d=k(()=>f(a).reduce((g,b)=>g+b.width,0)),h=g=>f(s).find(b=>b.key===g),p=g=>f(u)[g],v=(g,b)=>{g.width=b};function m(g){var b;const{key:_}=g.currentTarget.dataset;if(!_)return;const{sortState:w,sortBy:C}=e;let x=Pu.ASC;ht(w)?x=H6[w[_]]:x=H6[C.order],(b=e.onColumnSort)==null||b.call(e,{column:h(_),key:_,order:x})}return{columns:s,columnsStyles:u,columnsTotalWidth:d,fixedColumnsOnLeft:o,fixedColumnsOnRight:r,hasFixedColumns:c,mainColumns:l,normalColumns:i,visibleColumns:a,getColumn:h,getColumnStyle:p,updateColumnWidth:v,onColumnSorted:m}}const Vfe=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:s,onMaybeEndReached:a})=>{const o=F({scrollLeft:0,scrollTop:0});function r(p){var v,m,g;const{scrollTop:b}=p;(v=t.value)==null||v.scrollTo(p),(m=n.value)==null||m.scrollToTop(b),(g=s.value)==null||g.scrollToTop(b)}function i(p){o.value=p,r(p)}function l(p){o.value.scrollTop=p,r(f(o))}function c(p){var v,m;o.value.scrollLeft=p,(m=(v=t.value)==null?void 0:v.scrollTo)==null||m.call(v,f(o))}function u(p){var v;i(p),(v=e.onScroll)==null||v.call(e,p)}function d({scrollTop:p}){const{scrollTop:v}=f(o);p!==v&&l(p)}function h(p,v="auto"){var m;(m=t.value)==null||m.scrollToRow(p,v)}return me(()=>f(o).scrollTop,(p,v)=>{p>v&&a()}),{scrollPos:o,scrollTo:i,scrollToLeft:c,scrollToTop:l,scrollToRow:h,onScroll:u,onVerticalScroll:d}},zfe=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:s,tableInstance:a,ns:o,isScrolling:r})=>{const i=_t(),{emit:l}=i,c=hn(!1),u=F(e.defaultExpandedRowKeys||[]),d=F(-1),h=hn(null),p=F({}),v=F({}),m=hn({}),g=hn({}),b=hn({}),_=k(()=>at(e.estimatedRowHeight));function w(M){var $;($=e.onRowsRendered)==null||$.call(e,M),M.rowCacheEnd>f(d)&&(d.value=M.rowCacheEnd)}function C({hovered:M,rowKey:$}){if(r.value)return;a.vnode.el.querySelectorAll(`[rowkey="${String($)}"]`).forEach(U=>{M?U.classList.add(o.is("hovered")):U.classList.remove(o.is("hovered"))})}function x({expanded:M,rowData:$,rowIndex:O,rowKey:B}){var U,J;const Y=[...f(u)],N=Y.indexOf(B);M?N===-1&&Y.push(B):N>-1&&Y.splice(N,1),u.value=Y,l("update:expandedRowKeys",Y),(U=e.onRowExpand)==null||U.call(e,{expanded:M,rowData:$,rowIndex:O,rowKey:B}),(J=e.onExpandedRowsChange)==null||J.call(e,Y),a.vnode.el.querySelector(`.${o.is("hovered")}[rowkey="${String(B)}"]`)&&ze(()=>C({hovered:!0,rowKey:B}))}const E=Xr(()=>{var M,$,O,B;c.value=!0,p.value={...f(p),...f(v)},T(f(h),!1),v.value={},h.value=null,(M=t.value)==null||M.forceUpdate(),($=n.value)==null||$.forceUpdate(),(O=s.value)==null||O.forceUpdate(),(B=i.proxy)==null||B.$forceUpdate(),c.value=!1},0);function T(M,$=!1){f(_)&&[t,n,s].forEach(O=>{const B=f(O);B&&B.resetAfterRowIndex(M,$)})}function R(M,$,O){const B=f(h);(B===null||B>O)&&(h.value=O),v.value[M]=$}function I({rowKey:M,height:$,rowIndex:O},B){B?B===GT.RIGHT?b.value[M]=$:m.value[M]=$:g.value[M]=$;const U=Math.max(...[m,b,g].map(J=>J.value[M]||0));f(p)[M]!==U&&(R(M,U,O),E())}return{expandedRowKeys:u,lastRenderedRowIndex:d,isDynamic:_,isResetting:c,rowHeights:p,resetAfterIndex:T,onRowExpanded:x,onRowHovered:C,onRowsRendered:w,onRowHeightChange:I}},Hfe=(e,{expandedRowKeys:t,lastRenderedRowIndex:n,resetAfterIndex:s})=>{const a=F({}),o=k(()=>{const i={},{data:l,rowKey:c}=e,u=f(t);if(!u||!u.length)return l;const d=[],h=new Set;u.forEach(v=>h.add(v));let p=l.slice();for(p.forEach(v=>i[v[c]]=0);p.length>0;){const v=p.shift();d.push(v),h.has(v[c])&&ke(v.children)&&v.children.length>0&&(p=[...v.children,...p],v.children.forEach(m=>i[m[c]]=i[v[c]]+1))}return a.value=i,d}),r=k(()=>{const{data:i,expandColumnKey:l}=e;return l?f(o):i});return me(r,(i,l)=>{i!==l&&(n.value=-1,s(0,!0))}),{data:r,depthMap:a}},Wfe=(e,t)=>e+t,C1=e=>ke(e)?e.reduce(Wfe,0):e,Ru=(e,t,n={})=>et(e)?e(t):e??n,dc=e=>(["width","maxWidth","minWidth","height"].forEach(t=>{e[t]=Pn(e[t])}),e),YT=e=>un(e)?t=>rt(e,t):e,jfe=(e,{columnsTotalWidth:t,rowsHeight:n,fixedColumnsOnLeft:s,fixedColumnsOnRight:a})=>{const o=k(()=>{const{fixed:b,width:_,vScrollbarSize:w}=e,C=_-w;return b?Math.max(Math.round(f(t)),C):C}),r=k(()=>{const{height:b=0,maxHeight:_=0,footerHeight:w,hScrollbarSize:C}=e;if(_>0){const x=f(h),E=f(n),R=f(d)+x+E+C;return Math.min(R,_-w)}return b-w}),i=k(()=>{const{maxHeight:b}=e,_=f(r);if(at(b)&&b>0)return _;const w=f(n)+f(d)+f(h);return Math.min(_,w)}),l=b=>b.width,c=k(()=>C1(f(s).map(l))),u=k(()=>C1(f(a).map(l))),d=k(()=>C1(e.headerHeight)),h=k(()=>{var b;return(((b=e.fixedData)==null?void 0:b.length)||0)*e.rowHeight}),p=k(()=>f(r)-f(d)-f(h)),v=k(()=>{const{style:b={},height:_,width:w}=e;return dc({...b,height:_,width:w})}),m=k(()=>dc({height:e.footerHeight})),g=k(()=>({top:Pn(f(d)),bottom:Pn(e.footerHeight),width:Pn(e.width)}));return{bodyWidth:o,fixedTableHeight:i,mainTableHeight:r,leftTableWidth:c,rightTableWidth:u,windowHeight:p,footerHeight:m,emptyStyle:g,rootStyle:v,headerHeight:d}};function Kfe(e){const t=F(),n=F(),s=F(),{columns:a,columnsStyles:o,columnsTotalWidth:r,fixedColumnsOnLeft:i,fixedColumnsOnRight:l,hasFixedColumns:c,mainColumns:u,onColumnSorted:d}=Bfe(e,Jt(e,"columns"),Jt(e,"fixed")),{scrollTo:h,scrollToLeft:p,scrollToTop:v,scrollToRow:m,onScroll:g,onVerticalScroll:b,scrollPos:_}=Vfe(e,{mainTableRef:t,leftTableRef:n,rightTableRef:s,onMaybeEndReached:te}),w=Ee("table-v2"),C=_t(),x=hn(!1),{expandedRowKeys:E,lastRenderedRowIndex:T,isDynamic:R,isResetting:I,rowHeights:M,resetAfterIndex:$,onRowExpanded:O,onRowHeightChange:B,onRowHovered:U,onRowsRendered:J}=zfe(e,{mainTableRef:t,leftTableRef:n,rightTableRef:s,tableInstance:C,ns:w,isScrolling:x}),{data:Y,depthMap:N}=Hfe(e,{expandedRowKeys:E,lastRenderedRowIndex:T,resetAfterIndex:$}),L=k(()=>{const{estimatedRowHeight:de,rowHeight:be}=e,Ce=f(Y);return at(de)?Object.values(f(M)).reduce((Se,Ne)=>Se+Ne,0):Ce.length*be}),{bodyWidth:V,fixedTableHeight:z,mainTableHeight:G,leftTableWidth:Q,rightTableWidth:K,windowHeight:ee,footerHeight:ae,emptyStyle:fe,rootStyle:ne,headerHeight:pe}=jfe(e,{columnsTotalWidth:r,fixedColumnsOnLeft:i,fixedColumnsOnRight:l,rowsHeight:L}),he=F(),ce=k(()=>{const de=f(Y).length===0;return ke(e.fixedData)?e.fixedData.length===0&&de:de});function Z(de){const{estimatedRowHeight:be,rowHeight:Ce,rowKey:Se}=e;return be?f(M)[f(Y)[de][Se]]||be:Ce}const H=F(!1);function te(){const{onEndReached:de}=e;if(!de)return;const{scrollTop:be}=f(_),Ce=f(L),Se=f(ee),Ne=Ce-(be+Se)+e.hScrollbarSize;!H.value&&f(T)>=0&&Ce<=be+f(G)-f(pe)?(H.value=!0,de(Ne)):H.value=!1}return me(()=>f(L),()=>H.value=!1),me(()=>e.expandedRowKeys,de=>E.value=de,{deep:!0}),{columns:a,containerRef:he,mainTableRef:t,leftTableRef:n,rightTableRef:s,isDynamic:R,isResetting:I,isScrolling:x,hasFixedColumns:c,columnsStyles:o,columnsTotalWidth:r,data:Y,expandedRowKeys:E,depthMap:N,fixedColumnsOnLeft:i,fixedColumnsOnRight:l,mainColumns:u,bodyWidth:V,emptyStyle:fe,rootStyle:ne,footerHeight:ae,mainTableHeight:G,fixedTableHeight:z,leftTableWidth:Q,rightTableWidth:K,showEmpty:ce,getRowHeight:Z,onColumnSorted:d,onRowHovered:U,onRowExpanded:O,onRowsRendered:J,onRowHeightChange:B,scrollTo:h,scrollToLeft:p,scrollToTop:v,scrollToRow:m,onScroll:g,onVerticalScroll:b}}const W6=Symbol("tableV2"),XT="tableV2GridScrollLeft",JT=String,av={type:re(Array),required:!0},j6={type:re(Array)},ZT={...j6,required:!0},Ufe=String,QT={type:re(Array),default:()=>Rn([])},Iu={type:Number,required:!0},eM={type:re([String,Number,Symbol]),default:"id"},tM={type:re(Object)},Ou=Me({class:String,columns:av,columnsStyles:{type:re(Object),required:!0},depth:Number,expandColumnKey:Ufe,estimatedRowHeight:{...Au.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:re(Function)},onRowHover:{type:re(Function)},onRowHeightChange:{type:re(Function)},rowData:{type:re(Object),required:!0},rowEventHandlers:{type:re(Object)},rowIndex:{type:Number,required:!0},rowKey:eM,style:{type:re(Object)}}),K6={type:Number,required:!0},U6=Me({class:String,columns:av,fixedHeaderData:{type:re(Array)},headerData:{type:re(Array),required:!0},headerHeight:{type:re([Number,Array]),default:50},rowWidth:K6,rowHeight:{type:Number,default:50},height:K6,width:K6}),S1=Me({columns:av,data:ZT,fixedData:j6,estimatedRowHeight:Ou.estimatedRowHeight,width:Iu,height:Iu,headerWidth:Iu,headerHeight:U6.headerHeight,bodyWidth:Iu,rowHeight:Iu,cache:eT.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:Au.scrollbarAlwaysOn,scrollbarStartGap:Au.scrollbarStartGap,scrollbarEndGap:Au.scrollbarEndGap,class:JT,style:tM,containerStyle:tM,getRowHeight:{type:re(Function),required:!0},rowKey:Ou.rowKey,onRowsRendered:{type:re(Function)},onScroll:{type:re(Function)}}),qfe=Me({cache:S1.cache,estimatedRowHeight:Ou.estimatedRowHeight,rowKey:eM,headerClass:{type:re([String,Function])},headerProps:{type:re([Object,Function])},headerCellProps:{type:re([Object,Function])},headerHeight:U6.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:re([String,Function])},rowProps:{type:re([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:re([Object,Function])},columns:av,data:ZT,dataGetter:{type:re(Function)},fixedData:j6,expandColumnKey:Ou.expandColumnKey,expandedRowKeys:QT,defaultExpandedRowKeys:QT,class:JT,fixed:Boolean,style:{type:re(Object)},width:Iu,height:Iu,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:Au.hScrollbarSize,vScrollbarSize:Au.vScrollbarSize,scrollbarAlwaysOn:sT.alwaysOn,sortBy:{type:re(Object),default:()=>({})},sortState:{type:re(Object),default:void 0},onColumnSort:{type:re(Function)},onExpandedRowsChange:{type:re(Function)},onEndReached:{type:re(Function)},onRowExpand:Ou.onRowExpand,onScroll:S1.onScroll,onRowsRendered:S1.onRowsRendered,rowEventHandlers:Ou.rowEventHandlers}),Gfe=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:s},a)=>{let o=null,r=0,i=0;const l=(u,d)=>{const h=u<0&&t.value||u>0&&e.value,p=d<0&&s.value||d>0&&n.value;return h||p};return{hasReachedEdge:l,onWheel:u=>{qi(o);let d=u.deltaX,h=u.deltaY;Math.abs(d)>Math.abs(h)?h=0:d=0,u.shiftKey&&h!==0&&(d=h,h=0),!l(d,h)&&(r+=d,i+=h,u.preventDefault(),o=Jr(()=>{a(r,i),r=0,i=0}))}}},Yfe=(e,t,n,s,a,o,r)=>{const i=F(0),l=F(0);let c,u=0,d=0;const h=v=>{qi(c),i.value=v.touches[0].clientX,l.value=v.touches[0].clientY,u=0,d=0},p=v=>{v.preventDefault(),qi(c),u+=i.value-v.touches[0].clientX,d+=l.value-v.touches[0].clientY,i.value=v.touches[0].clientX,l.value=v.touches[0].clientY,c=Jr(()=>{const m=s.value-f(o),g=a.value-f(r),b=Math.min(t.value.scrollLeft+u,m),_=Math.min(t.value.scrollTop+d,g);n({scrollLeft:b,scrollTop:_}),u=0,d=0})};return Zt(e,"touchstart",h,{passive:!0}),Zt(e,"touchmove",p,{passive:!1}),{touchStartX:i,touchStartY:l,handleTouchStart:h,handleTouchMove:p}},nM=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:s,getColumnStopIndexForStartIndex:a,getEstimatedTotalHeight:o,getEstimatedTotalWidth:r,getColumnOffset:i,getRowOffset:l,getRowPosition:c,getRowStartIndexForOffset:u,getRowStopIndexForStartIndex:d,initCache:h,injectToInstance:p,validateProps:v})=>W({name:e??"ElVirtualList",props:Au,emits:[c1,u1],setup(m,{emit:g,expose:b,slots:_}){const w=Ee("vl");v(m);const C=_t(),x=F(h(m,C));p==null||p(C,x);const E=F(),T=F(),R=F(),I=F(),M=F({isScrolling:!1,scrollLeft:at(m.initScrollLeft)?m.initScrollLeft:0,scrollTop:at(m.initScrollTop)?m.initScrollTop:0,updateRequested:!1,xAxisScrollDir:Uf,yAxisScrollDir:Uf}),$=YA(),O=k(()=>Number.parseInt(`${m.height}`,10)),B=k(()=>Number.parseInt(`${m.width}`,10)),U=k(()=>{const{totalColumn:_e,totalRow:Oe,columnCache:Pe}=m,{isScrolling:We,xAxisScrollDir:Qe,scrollLeft:it}=f(M);if(_e===0||Oe===0)return[0,0,0,0];const De=s(m,it,f(x)),Ke=a(m,De,it,f(x)),nt=!We||Qe===d1?Math.max(1,Pe):1,Ft=!We||Qe===Uf?Math.max(1,Pe):1;return[Math.max(0,De-nt),Math.max(0,Math.min(_e-1,Ke+Ft)),De,Ke]}),J=k(()=>{const{totalColumn:_e,totalRow:Oe,rowCache:Pe}=m,{isScrolling:We,yAxisScrollDir:Qe,scrollTop:it}=f(M);if(_e===0||Oe===0)return[0,0,0,0];const De=u(m,it,f(x)),Ke=d(m,De,it,f(x)),nt=!We||Qe===d1?Math.max(1,Pe):1,Ft=!We||Qe===Uf?Math.max(1,Pe):1;return[Math.max(0,De-nt),Math.max(0,Math.min(Oe-1,Ke+Ft)),De,Ke]}),Y=k(()=>o(m,f(x))),N=k(()=>r(m,f(x))),L=k(()=>{var _e;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:m.direction,height:at(m.height)?`${m.height}px`:m.height,width:at(m.width)?`${m.width}px`:m.width},(_e=m.style)!=null?_e:{}]}),V=k(()=>{const _e=`${f(N)}px`;return{height:`${f(Y)}px`,pointerEvents:f(M).isScrolling?"none":void 0,width:_e,margin:0,boxSizing:"border-box"}}),z=()=>{const{totalColumn:_e,totalRow:Oe}=m;if(_e>0&&Oe>0){const[Ke,nt,Ft,Kt]=f(U),[ot,dt,kt,xe]=f(J);g(c1,{columnCacheStart:Ke,columnCacheEnd:nt,rowCacheStart:ot,rowCacheEnd:dt,columnVisibleStart:Ft,columnVisibleEnd:Kt,rowVisibleStart:kt,rowVisibleEnd:xe})}const{scrollLeft:Pe,scrollTop:We,updateRequested:Qe,xAxisScrollDir:it,yAxisScrollDir:De}=f(M);g(u1,{xAxisScrollDir:it,scrollLeft:Pe,yAxisScrollDir:De,scrollTop:We,updateRequested:Qe})},G=_e=>{const{clientHeight:Oe,clientWidth:Pe,scrollHeight:We,scrollLeft:Qe,scrollTop:it,scrollWidth:De}=_e.currentTarget,Ke=f(M);if(Ke.scrollTop===it&&Ke.scrollLeft===Qe)return;let nt=Qe;if(aT(m.direction))switch(p1()){case ev:nt=-Qe;break;case g6:nt=De-Pe-Qe;break}M.value={...Ke,isScrolling:!0,scrollLeft:nt,scrollTop:Math.max(0,Math.min(it,We-Oe)),updateRequested:!0,xAxisScrollDir:Tu(Ke.scrollLeft,nt),yAxisScrollDir:Tu(Ke.scrollTop,it)},ze(()=>H()),te(),z()},Q=(_e,Oe)=>{const Pe=f(O),We=(Y.value-Pe)/Oe*_e;ae({scrollTop:Math.min(Y.value-Pe,We)})},K=(_e,Oe)=>{const Pe=f(B),We=(N.value-Pe)/Oe*_e;ae({scrollLeft:Math.min(N.value-Pe,We)})},{onWheel:ee}=Gfe({atXStartEdge:k(()=>M.value.scrollLeft<=0),atXEndEdge:k(()=>M.value.scrollLeft>=N.value-f(B)),atYStartEdge:k(()=>M.value.scrollTop<=0),atYEndEdge:k(()=>M.value.scrollTop>=Y.value-f(O))},(_e,Oe)=>{var Pe,We,Qe,it;(We=(Pe=T.value)==null?void 0:Pe.onMouseUp)==null||We.call(Pe),(it=(Qe=R.value)==null?void 0:Qe.onMouseUp)==null||it.call(Qe);const De=f(B),Ke=f(O);ae({scrollLeft:Math.min(M.value.scrollLeft+_e,N.value-De),scrollTop:Math.min(M.value.scrollTop+Oe,Y.value-Ke)})});Zt(E,"wheel",ee,{passive:!1});const ae=({scrollLeft:_e=M.value.scrollLeft,scrollTop:Oe=M.value.scrollTop})=>{_e=Math.max(_e,0),Oe=Math.max(Oe,0);const Pe=f(M);Oe===Pe.scrollTop&&_e===Pe.scrollLeft||(M.value={...Pe,xAxisScrollDir:Tu(Pe.scrollLeft,_e),yAxisScrollDir:Tu(Pe.scrollTop,Oe),scrollLeft:_e,scrollTop:Oe,updateRequested:!0},ze(()=>H()),te(),z())},{touchStartX:fe,touchStartY:ne,handleTouchStart:pe,handleTouchMove:he}=Yfe(E,M,ae,N,Y,B,O),ce=(_e=0,Oe=0,Pe=zo)=>{const We=f(M);Oe=Math.max(0,Math.min(Oe,m.totalColumn-1)),_e=Math.max(0,Math.min(_e,m.totalRow-1));const Qe=Bx(w.namespace.value),it=f(x),De=o(m,it),Ke=r(m,it);ae({scrollLeft:i(m,Oe,Pe,We.scrollLeft,it,Ke>m.width?Qe:0),scrollTop:l(m,_e,Pe,We.scrollTop,it,De>m.height?Qe:0)})},Z=(_e,Oe)=>{const{columnWidth:Pe,direction:We,rowHeight:Qe}=m,it=$.value(t&&Pe,t&&Qe,t&&We),De=`${_e},${Oe}`;if(Ht(it,De))return it[De];{const[,Ke]=n(m,Oe,f(x)),nt=f(x),Ft=aT(We),[Kt,ot]=c(m,_e,nt),[dt]=n(m,Oe,nt);return it[De]={position:"absolute",left:Ft?void 0:`${Ke}px`,right:Ft?`${Ke}px`:void 0,top:`${ot}px`,height:`${Kt}px`,width:`${dt}px`},it[De]}},H=()=>{M.value.isScrolling=!1,ze(()=>{$.value(-1,null,null)})};St(()=>{if(!jt)return;const{initScrollLeft:_e,initScrollTop:Oe}=m,Pe=f(E);Pe&&(at(_e)&&(Pe.scrollLeft=_e),at(Oe)&&(Pe.scrollTop=Oe)),z()});const te=()=>{const{direction:_e}=m,{scrollLeft:Oe,scrollTop:Pe,updateRequested:We}=f(M),Qe=f(E);if(We&&Qe){if(_e===Gf)switch(p1()){case ev:{Qe.scrollLeft=-Oe;break}case m6:{Qe.scrollLeft=Oe;break}default:{const{clientWidth:it,scrollWidth:De}=Qe;Qe.scrollLeft=De-it-Oe;break}}else Qe.scrollLeft=Math.max(0,Oe);Qe.scrollTop=Math.max(0,Pe)}},{resetAfterColumnIndex:de,resetAfterRowIndex:be,resetAfter:Ce}=C.proxy;b({windowRef:E,innerRef:I,getItemStyleCache:$,touchStartX:fe,touchStartY:ne,handleTouchStart:pe,handleTouchMove:he,scrollTo:ae,scrollToItem:ce,states:M,resetAfterColumnIndex:de,resetAfterRowIndex:be,resetAfter:Ce});const Se=()=>{const{scrollbarAlwaysOn:_e,scrollbarStartGap:Oe,scrollbarEndGap:Pe,totalColumn:We,totalRow:Qe}=m,it=f(B),De=f(O),Ke=f(N),nt=f(Y),{scrollLeft:Ft,scrollTop:Kt}=f(M),ot=rt(S6,{ref:T,alwaysOn:_e,startGap:Oe,endGap:Pe,class:w.e("horizontal"),clientSize:it,layout:"horizontal",onScroll:K,ratio:it*100/Ke,scrollFrom:Ft/(Ke-it),total:Qe,visible:!0}),dt=rt(S6,{ref:R,alwaysOn:_e,startGap:Oe,endGap:Pe,class:w.e("vertical"),clientSize:De,layout:"vertical",onScroll:Q,ratio:De*100/nt,scrollFrom:Kt/(nt-De),total:We,visible:!0});return{horizontalScrollbar:ot,verticalScrollbar:dt}},Ne=()=>{var _e;const[Oe,Pe]=f(U),[We,Qe]=f(J),{data:it,totalColumn:De,totalRow:Ke,useIsScrolling:nt,itemKey:Ft}=m,Kt=[];if(Ke>0&&De>0)for(let ot=We;ot<=Qe;ot++)for(let dt=Oe;dt<=Pe;dt++){const kt=Ft({columnIndex:dt,data:it,rowIndex:ot});Kt.push(rt(He,{key:kt},(_e=_.default)==null?void 0:_e.call(_,{columnIndex:dt,data:it,isScrolling:nt?f(M).isScrolling:void 0,style:Z(ot,dt),rowIndex:ot})))}return Kt},Ve=()=>{const _e=bt(m.innerElement),Oe=Ne();return[rt(_e,wt(m.innerProps,{style:f(V),ref:I}),Xe(_e)?Oe:{default:()=>Oe})]};return()=>{const _e=bt(m.containerElement),{horizontalScrollbar:Oe,verticalScrollbar:Pe}=Se(),We=Ve();return rt("div",{key:0,class:w.e("wrapper"),role:m.role},[rt(_e,{class:m.className,style:f(L),onScroll:G,ref:E},Xe(_e)?We:{default:()=>We}),Oe,Pe])}}}),{max:x1,min:sM,floor:aM}=Math,Xfe={column:"columnWidth",row:"rowHeight"},q6={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},ol=(e,t,n,s)=>{const[a,o,r]=[n[s],e[Xfe[s]],n[q6[s]]];if(t>r){let i=0;if(r>=0){const l=a[r];i=l.offset+l.size}for(let l=r+1;l<=t;l++){const c=o(l);a[l]={offset:i,size:c},i+=c}n[q6[s]]=t}return a[t]},oM=(e,t,n,s,a,o)=>{for(;n<=s;){const r=n+aM((s-n)/2),i=ol(e,r,t,o).offset;if(i===a)return r;i{const o=a==="column"?e.totalColumn:e.totalRow;let r=1;for(;n{const[a,o]=[t[s],t[q6[s]]];return(o>0?a[o].offset:0)>=n?oM(e,t,0,o,n,s):Jfe(e,t,x1(0,o),n,s)},iM=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:s})=>{let a=0;if(n>=e&&(n=e-1),n>=0){const i=s[n];a=i.offset+i.size}const r=(e-n-1)*t;return a+r},lM=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:s})=>{let a=0;if(s>e&&(s=e-1),s>=0){const i=t[s];a=i.offset+i.size}const r=(e-s-1)*n;return a+r},Zfe={column:lM,row:iM},cM=(e,t,n,s,a,o,r)=>{const[i,l]=[o==="row"?e.height:e.width,Zfe[o]],c=ol(e,t,a,o),u=l(e,a),d=x1(0,sM(u-i,c.offset)),h=x1(0,c.offset-i+r+c.size);switch(n===f1&&(s>=h-i&&s<=d+i?n=zo:n=ri),n){case Zp:return d;case Qp:return h;case ri:return Math.round(h+(d-h)/2);case zo:default:return s>=h&&s<=d?s:h>d||s{const s=ol(e,t,n,"column");return[s.size,s.offset]},getRowPosition:(e,t,n)=>{const s=ol(e,t,n,"row");return[s.size,s.offset]},getColumnOffset:(e,t,n,s,a,o)=>cM(e,t,n,s,a,"column",o),getRowOffset:(e,t,n,s,a,o)=>cM(e,t,n,s,a,"row",o),getColumnStartIndexForOffset:(e,t,n)=>rM(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,s)=>{const a=ol(e,t,s,"column"),o=n+e.width;let r=a.offset+a.size,i=t;for(;irM(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,s)=>{const{totalRow:a,height:o}=e,r=ol(e,t,s,"row"),i=n+o;let l=r.size+r.offset,c=t;for(;c{const n=({columnIndex:o,rowIndex:r},i)=>{var l,c;i=$t(i)?!0:i,at(o)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,o-1)),at(r)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,r-1)),(l=e.exposed)==null||l.getItemStyleCache.value(-1,null,null),i&&((c=e.proxy)==null||c.$forceUpdate())},s=(o,r)=>{n({columnIndex:o},r)},a=(o,r)=>{n({rowIndex:o},r)};Object.assign(e.proxy,{resetAfterColumnIndex:s,resetAfterRowIndex:a,resetAfter:n})},initCache:({estimatedColumnWidth:e=v6,estimatedRowHeight:t=v6})=>({column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{}}),ehe=nM({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:e},t)=>[e,t*e],getRowPosition:({rowHeight:e},t)=>[e,t*e],getEstimatedTotalHeight:({totalRow:e,rowHeight:t})=>t*e,getEstimatedTotalWidth:({totalColumn:e,columnWidth:t})=>t*e,getColumnOffset:({totalColumn:e,columnWidth:t,width:n},s,a,o,r,i)=>{n=Number(n);const l=Math.max(0,e*t-n),c=Math.min(l,s*t),u=Math.max(0,s*t-n+i+t);switch(a==="smart"&&(o>=u-n&&o<=c+n?a=zo:a=ri),a){case Zp:return c;case Qp:return u;case ri:{const d=Math.round(u+(c-u)/2);return dl+Math.floor(n/2)?l:d}case zo:default:return o>=u&&o<=c?o:u>c||o{t=Number(t);const l=Math.max(0,n*e-t),c=Math.min(l,s*e),u=Math.max(0,s*e-t+i+e);switch(a===f1&&(o>=u-t&&o<=c+t?a=zo:a=ri),a){case Zp:return c;case Qp:return u;case ri:{const d=Math.round(u+(c-u)/2);return dl+Math.floor(t/2)?l:d}case zo:default:return o>=u&&o<=c?o:u>c||oMath.max(0,Math.min(t-1,Math.floor(n/e))),getColumnStopIndexForStartIndex:({columnWidth:e,totalColumn:t,width:n},s,a)=>{const o=s*e,r=Math.ceil((n+a-o)/e);return Math.max(0,Math.min(t-1,s+r-1))},getRowStartIndexForOffset:({rowHeight:e,totalRow:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getRowStopIndexForStartIndex:({rowHeight:e,totalRow:t,height:n},s,a)=>{const o=s*e,r=Math.ceil((n+a-o)/e);return Math.max(0,Math.min(t-1,s+r-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:e,rowHeight:t})=>{}}),the=W({name:"ElTableV2Header",props:U6,setup(e,{slots:t,expose:n}){const s=Ee("table-v2"),a=je(XT),o=F(),r=k(()=>dc({width:e.width,height:e.height})),i=k(()=>dc({width:e.rowWidth,height:e.height})),l=k(()=>_s(f(e.headerHeight))),c=h=>{const p=f(o);ze(()=>{p!=null&&p.scroll&&p.scroll({left:h})})},u=()=>{const h=s.e("fixed-header-row"),{columns:p,fixedHeaderData:v,rowHeight:m}=e;return v==null?void 0:v.map((g,b)=>{var _;const w=dc({height:m,width:"100%"});return(_=t.fixed)==null?void 0:_.call(t,{class:h,columns:p,rowData:g,rowIndex:-(b+1),style:w})})},d=()=>{const h=s.e("dynamic-header-row"),{columns:p}=e;return f(l).map((v,m)=>{var g;const b=dc({width:"100%",height:v});return(g=t.dynamic)==null?void 0:g.call(t,{class:h,columns:p,headerIndex:m,style:b})})};return or(()=>{a!=null&&a.value&&c(a.value)}),n({scrollToLeft:c}),()=>{if(!(e.height<=0))return j("div",{ref:o,class:e.class,style:f(r),role:"rowgroup"},[j("div",{style:f(i),class:s.e("header")},[d(),u()])])}}}),nhe="ElTableV2Grid",she=e=>{const t=F(),n=F(),s=F(0),a=k(()=>{const{data:g,rowHeight:b,estimatedRowHeight:_}=e;if(!_)return g.length*b}),o=k(()=>{const{fixedData:g,rowHeight:b}=e;return((g==null?void 0:g.length)||0)*b}),r=k(()=>C1(e.headerHeight)),i=k(()=>{const{height:g}=e;return Math.max(0,g-f(r)-f(o))}),l=k(()=>f(r)+f(o)>0),c=({data:g,rowIndex:b})=>g[b][e.rowKey];function u({rowCacheStart:g,rowCacheEnd:b,rowVisibleStart:_,rowVisibleEnd:w}){var C;(C=e.onRowsRendered)==null||C.call(e,{rowCacheStart:g,rowCacheEnd:b,rowVisibleStart:_,rowVisibleEnd:w})}function d(g,b){var _;(_=n.value)==null||_.resetAfterRowIndex(g,b)}function h(g,b){const _=f(t),w=f(n);ht(g)?(_==null||_.scrollToLeft(g.scrollLeft),s.value=g.scrollLeft,w==null||w.scrollTo(g)):(_==null||_.scrollToLeft(g),s.value=g,w==null||w.scrollTo({scrollLeft:g,scrollTop:b}))}function p(g){var b;(b=f(n))==null||b.scrollTo({scrollTop:g})}function v(g,b){const _=f(n);if(!_)return;const w=s.value;_.scrollToItem(g,0,b),w&&h({scrollLeft:w})}function m(){var g,b;(g=f(n))==null||g.$forceUpdate(),(b=f(t))==null||b.$forceUpdate()}return me(()=>e.bodyWidth,()=>{var g;at(e.estimatedRowHeight)&&((g=n.value)==null||g.resetAfter({columnIndex:0},!1))}),{bodyRef:n,forceUpdate:m,fixedRowHeight:o,gridHeight:i,hasHeader:l,headerHeight:r,headerRef:t,totalHeight:a,itemKey:c,onItemRendered:u,resetAfterRowIndex:d,scrollTo:h,scrollToTop:p,scrollToRow:v,scrollLeft:s}},G6=W({name:nhe,props:S1,setup(e,{slots:t,expose:n}){const{ns:s}=je(W6),{bodyRef:a,fixedRowHeight:o,gridHeight:r,hasHeader:i,headerRef:l,headerHeight:c,totalHeight:u,forceUpdate:d,itemKey:h,onItemRendered:p,resetAfterRowIndex:v,scrollTo:m,scrollToTop:g,scrollToRow:b,scrollLeft:_}=she(e);Tt(XT,_),U0(async()=>{var C;await ze();const x=(C=a.value)==null?void 0:C.states.scrollTop;x&&g(Math.round(x)+1)}),n({forceUpdate:d,totalHeight:u,scrollTo:m,scrollToTop:g,scrollToRow:b,resetAfterRowIndex:v});const w=()=>e.bodyWidth;return()=>{const{cache:C,columns:x,data:E,fixedData:T,useIsScrolling:R,scrollbarAlwaysOn:I,scrollbarEndGap:M,scrollbarStartGap:$,style:O,rowHeight:B,bodyWidth:U,estimatedRowHeight:J,headerWidth:Y,height:N,width:L,getRowHeight:V,onScroll:z}=e,G=at(J),Q=G?Qfe:ehe,K=f(c);return j("div",{role:"table",class:[s.e("table"),e.class],style:O},[j(Q,{ref:a,data:E,useIsScrolling:R,itemKey:h,columnCache:0,columnWidth:G?w:U,totalColumn:1,totalRow:E.length,rowCache:C,rowHeight:G?V:B,width:L,height:f(r),class:s.e("body"),role:"rowgroup",scrollbarStartGap:$,scrollbarEndGap:M,scrollbarAlwaysOn:I,onScroll:z,onItemRendered:p,perfMode:!1},{default:ee=>{var ae;const fe=E[ee.rowIndex];return(ae=t.row)==null?void 0:ae.call(t,{...ee,columns:x,rowData:fe})}}),f(i)&&j(the,{ref:l,class:s.e("header-wrapper"),columns:x,headerData:E,headerHeight:e.headerHeight,fixedHeaderData:T,rowWidth:Y,rowHeight:B,width:L,height:Math.min(K+f(o),N)},{dynamic:t.header,fixed:t.row})])}}});function ahe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}const ohe=(e,{slots:t})=>{const{mainTableRef:n,...s}=e;return j(G6,wt({ref:n},s),ahe(t)?t:{default:()=>[t]})};function rhe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}const ihe=(e,{slots:t})=>{if(!e.columns.length)return;const{leftTableRef:n,...s}=e;return j(G6,wt({ref:n},s),rhe(t)?t:{default:()=>[t]})};function lhe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}const che=(e,{slots:t})=>{if(!e.columns.length)return;const{rightTableRef:n,...s}=e;return j(G6,wt({ref:n},s),lhe(t)?t:{default:()=>[t]})},uhe=e=>{const{isScrolling:t}=je(W6),n=F(!1),s=F(),a=k(()=>at(e.estimatedRowHeight)&&e.rowIndex>=0),o=(l=!1)=>{const c=f(s);if(!c)return;const{columns:u,onRowHeightChange:d,rowKey:h,rowIndex:p,style:v}=e,{height:m}=c.getBoundingClientRect();n.value=!0,ze(()=>{if(l||m!==Number.parseInt(v.height)){const g=u[0],b=(g==null?void 0:g.placeholderSign)===sv;d==null||d({rowKey:h,height:m,rowIndex:p},g&&!b&&g.fixed)}})},r=k(()=>{const{rowData:l,rowIndex:c,rowKey:u,onRowHover:d}=e,h=e.rowEventHandlers||{},p={};return Object.entries(h).forEach(([v,m])=>{et(m)&&(p[v]=g=>{m({event:g,rowData:l,rowIndex:c,rowKey:u})})}),d&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:v,hovered:m})=>{const g=p[v];p[v]=b=>{d({event:b,hovered:m,rowData:l,rowIndex:c,rowKey:u}),g==null||g(b)}}),p}),i=l=>{const{onRowExpand:c,rowData:u,rowIndex:d,rowKey:h}=e;c==null||c({expanded:l,rowData:u,rowIndex:d,rowKey:h})};return St(()=>{f(a)&&o(!0)}),{isScrolling:t,measurable:a,measured:n,rowRef:s,eventHandlers:r,onExpand:i}},dhe=W({name:"ElTableV2TableRow",props:Ou,setup(e,{expose:t,slots:n,attrs:s}){const{eventHandlers:a,isScrolling:o,measurable:r,measured:i,rowRef:l,onExpand:c}=uhe(e);return t({onExpand:c}),()=>{const{columns:u,columnsStyles:d,expandColumnKey:h,depth:p,rowData:v,rowIndex:m,style:g}=e;let b=u.map((_,w)=>{const C=ke(v.children)&&v.children.length>0&&_.key===h;return n.cell({column:_,columns:u,columnIndex:w,depth:p,style:d[_.key],rowData:v,rowIndex:m,isScrolling:f(o),expandIconProps:C?{rowData:v,rowIndex:m,onExpand:c}:void 0})});if(n.row&&(b=n.row({cells:b.map(_=>ke(_)&&_.length===1?_[0]:_),style:g,columns:u,depth:p,rowData:v,rowIndex:m,isScrolling:f(o)})),f(r)){const{height:_,...w}=g||{},C=f(i);return j("div",wt({ref:l,class:e.class,style:C?g:w,role:"row"},s,f(a)),[b])}return j("div",wt(s,{ref:l,class:e.class,style:g,role:"row"},f(a)),[b])}}});function fhe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}const hhe=(e,{slots:t})=>{const{columns:n,columnsStyles:s,depthMap:a,expandColumnKey:o,expandedRowKeys:r,estimatedRowHeight:i,hasFixedColumns:l,rowData:c,rowIndex:u,style:d,isScrolling:h,rowProps:p,rowClass:v,rowKey:m,rowEventHandlers:g,ns:b,onRowHovered:_,onRowExpanded:w}=e,C=Ru(v,{columns:n,rowData:c,rowIndex:u},""),x=Ru(p,{columns:n,rowData:c,rowIndex:u}),E=c[m],T=a[E]||0,R=!!o,I=u<0,M=[b.e("row"),C,b.is("expanded",R&&r.includes(E)),b.is("fixed",!T&&I),b.is("customized",!!t.row),{[b.e(`row-depth-${T}`)]:R&&u>=0}],$=l?_:void 0,O={...x,columns:n,columnsStyles:s,class:M,depth:T,expandColumnKey:o,estimatedRowHeight:I?void 0:i,isScrolling:h,rowIndex:u,rowData:c,rowKey:E,rowEventHandlers:g,style:d};return j(dhe,wt(O,{onRowExpand:w,onMouseenter:J=>{$==null||$({hovered:!0,rowKey:E,event:J,rowData:c,rowIndex:u})},onMouseleave:J=>{$==null||$({hovered:!1,rowKey:E,event:J,rowData:c,rowIndex:u})},rowkey:E}),fhe(t)?t:{default:()=>[t]})},Y6=(e,{slots:t})=>{var n;const{cellData:s,style:a}=e,o=((n=s==null?void 0:s.toString)==null?void 0:n.call(s))||"",r=ue(t,"default",e,()=>[o]);return j("div",{class:e.class,title:o,style:a},[r])};Y6.displayName="ElTableV2Cell",Y6.inheritAttrs=!1;const uM=e=>{const{expanded:t,expandable:n,onExpand:s,style:a,size:o,ariaLabel:r}=e,i={onClick:n?()=>s(!t):void 0,ariaLabel:r,ariaExpanded:t,class:e.class};return j("button",wt(i,{type:"button"}),[j(Je,{size:o,style:a},{default:()=>[j(Ls,null,null)]})])};uM.inheritAttrs=!1;const X6=({columns:e,column:t,columnIndex:n,depth:s,expandIconProps:a,isScrolling:o,rowData:r,rowIndex:i,style:l,expandedRowKeys:c,ns:u,t:d,cellProps:h,expandColumnKey:p,indentSize:v,iconSize:m,rowKey:g},{slots:b})=>{const _=dc(l);if(t.placeholderSign===sv)return j("div",{class:u.em("row-cell","placeholder"),style:_},null);const{cellRenderer:w,dataKey:C,dataGetter:x}=t,E=et(x)?x({columns:e,column:t,columnIndex:n,rowData:r,rowIndex:i}):Yn(r,C??""),T=Ru(h,{cellData:E,columns:e,column:t,columnIndex:n,rowIndex:i,rowData:r}),R={class:u.e("cell-text"),columns:e,column:t,columnIndex:n,cellData:E,isScrolling:o,rowData:r,rowIndex:i},I=YT(w),M=I?I(R):ue(b,"default",R,()=>[j(Y6,R,null)]),$=[u.e("row-cell"),t.class,t.align===nv.CENTER&&u.is("align-center"),t.align===nv.RIGHT&&u.is("align-right")],O=i>=0&&p&&t.key===p,B=i>=0&&c.includes(r[g]);let U;const J=`margin-inline-start: ${s*v}px;`;return O&&(ht(a)?U=j(uM,wt(a,{class:[u.e("expand-icon"),u.is("expanded",B)],size:m,expanded:B,ariaLabel:d(B?"el.table.collapseRowLabel":"el.table.expandRowLabel"),style:J,expandable:!0}),null):U=j("div",{style:[J,`width: ${m}px; height: ${m}px;`].join(" ")},null)),j("div",wt({class:$,style:_},T,{role:"cell"}),[U,M])};X6.inheritAttrs=!1;const phe=Me({class:String,columns:av,columnsStyles:{type:re(Object),required:!0},headerIndex:Number,style:{type:re(Object)}}),vhe=W({name:"ElTableV2HeaderRow",props:phe,setup(e,{slots:t}){return()=>{const{columns:n,columnsStyles:s,headerIndex:a,style:o}=e;let r=n.map((i,l)=>t.cell({columns:n,column:i,columnIndex:l,headerIndex:a,style:s[i.key]}));return t.header&&(r=t.header({cells:r.map(i=>ke(i)&&i.length===1?i[0]:i),columns:n,headerIndex:a})),j("div",{class:e.class,style:o,role:"row"},[r])}}});function mhe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}const ghe=({columns:e,columnsStyles:t,headerIndex:n,style:s,headerClass:a,headerProps:o,ns:r},{slots:i})=>{const l={columns:e,headerIndex:n},c=[r.e("header-row"),Ru(a,l,""),r.is("customized",!!i.header)],u={...Ru(o,l),columnsStyles:t,class:c,columns:e,headerIndex:n,style:s};return j(vhe,u,mhe(i)?i:{default:()=>[i]})},J6=(e,{slots:t})=>ue(t,"default",e,()=>{var n,s;return[j("div",{class:e.class,title:(n=e.column)==null?void 0:n.title},[(s=e.column)==null?void 0:s.title])]});J6.displayName="ElTableV2HeaderCell",J6.inheritAttrs=!1;const bhe=e=>{const{sortOrder:t}=e;return j("button",{type:"button","aria-label":e.ariaLabel,class:e.class},[j(Je,{size:14},{default:()=>[t===Pu.ASC?j(c9,null,null):j(l9,null,null)]})])},dM=(e,{slots:t})=>{const{column:n,ns:s,t:a,style:o,onColumnSorted:r}=e,i=dc(o);if(n.placeholderSign===sv)return j("div",{class:s.em("header-row-cell","placeholder"),style:i},null);const{headerCellRenderer:l,headerClass:c,sortable:u}=n,d={...e,class:s.e("header-cell-text")},h=YT(l),p=h?h(d):ue(t,"default",d,()=>[j(J6,d,null)]),{sortBy:v,sortState:m,headerCellProps:g}=e;let b,_,w;if(m){const E=m[n.key];b=!!H6[E],_=b?E:Pu.ASC}else b=n.key===v.key,_=b?v.order:Pu.ASC;_===Pu.ASC?w="ascending":_===Pu.DESC?w="descending":w=void 0;const C=[s.e("header-cell"),Ru(c,e,""),n.align===nv.CENTER&&s.is("align-center"),n.align===nv.RIGHT&&s.is("align-right"),u&&s.is("sortable")],x={...Ru(g,e),onClick:n.sortable?r:void 0,ariaSort:u?w:void 0,class:C,style:i,"data-key":n.key};return j("div",wt(x,{role:"columnheader"}),[p,u&&j(bhe,{class:[s.e("sort-icon"),b&&s.is("sorting")],sortOrder:_,ariaLabel:a("el.table.sortLabel",{column:n.title||""})},null)])},fM=(e,{slots:t})=>{var n;return j("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};fM.displayName="ElTableV2Footer";const hM=(e,{slots:t})=>{const n=ue(t,"default",{},()=>[j(EA,null,null)]);return j("div",{class:e.class,style:e.style},[n])};hM.displayName="ElTableV2Empty";const pM=(e,{slots:t})=>{var n;return j("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};pM.displayName="ElTableV2Overlay";function ov(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!un(e)}const yhe=W({name:"ElTableV2",props:qfe,setup(e,{slots:t,expose:n}){const s=Ee("table-v2"),{t:a}=It(),{columnsStyles:o,fixedColumnsOnLeft:r,fixedColumnsOnRight:i,mainColumns:l,mainTableHeight:c,fixedTableHeight:u,leftTableWidth:d,rightTableWidth:h,data:p,depthMap:v,expandedRowKeys:m,hasFixedColumns:g,mainTableRef:b,leftTableRef:_,rightTableRef:w,isDynamic:C,isResetting:x,isScrolling:E,bodyWidth:T,emptyStyle:R,rootStyle:I,footerHeight:M,showEmpty:$,scrollTo:O,scrollToLeft:B,scrollToTop:U,scrollToRow:J,getRowHeight:Y,onColumnSorted:N,onRowHeightChange:L,onRowHovered:V,onRowExpanded:z,onRowsRendered:G,onScroll:Q,onVerticalScroll:K}=Kfe(e);return n({scrollTo:O,scrollToLeft:B,scrollToTop:U,scrollToRow:J}),Tt(W6,{ns:s,isResetting:x,isScrolling:E}),()=>{const{cache:ee,cellProps:ae,estimatedRowHeight:fe,expandColumnKey:ne,fixedData:pe,headerHeight:he,headerClass:ce,headerProps:Z,headerCellProps:H,sortBy:te,sortState:de,rowHeight:be,rowClass:Ce,rowEventHandlers:Se,rowKey:Ne,rowProps:Ve,scrollbarAlwaysOn:$e,indentSize:_e,iconSize:Oe,useIsScrolling:Pe,vScrollbarSize:We,width:Qe}=e,it=f(p),De={cache:ee,class:s.e("main"),columns:f(l),data:it,fixedData:pe,estimatedRowHeight:fe,bodyWidth:f(T),headerHeight:he,headerWidth:f(T),height:f(c),mainTableRef:b,rowKey:Ne,rowHeight:be,scrollbarAlwaysOn:$e,scrollbarStartGap:2,scrollbarEndGap:We,useIsScrolling:Pe,width:Qe,getRowHeight:Y,onRowsRendered:G,onScroll:Q},Ke=f(d),nt=f(u),Ft={cache:ee,class:s.e("left"),columns:f(r),data:it,fixedData:pe,estimatedRowHeight:fe,leftTableRef:_,rowHeight:be,bodyWidth:Ke,headerWidth:Ke,headerHeight:he,height:nt,rowKey:Ne,scrollbarAlwaysOn:$e,scrollbarStartGap:2,scrollbarEndGap:We,useIsScrolling:Pe,width:Ke,getRowHeight:Y,onScroll:K},Kt=f(h),ot={cache:ee,class:s.e("right"),columns:f(i),data:it,fixedData:pe,estimatedRowHeight:fe,rightTableRef:w,rowHeight:be,bodyWidth:Kt,headerWidth:Kt,headerHeight:he,height:nt,rowKey:Ne,scrollbarAlwaysOn:$e,scrollbarStartGap:2,scrollbarEndGap:We,width:Kt,style:`${s.cssVarName("table-scrollbar-size")}: ${We}px`,useIsScrolling:Pe,getRowHeight:Y,onScroll:K},dt=f(o),kt={ns:s,depthMap:f(v),columnsStyles:dt,expandColumnKey:ne,expandedRowKeys:f(m),estimatedRowHeight:fe,hasFixedColumns:f(g),rowProps:Ve,rowClass:Ce,rowKey:Ne,rowEventHandlers:Se,onRowHovered:V,onRowExpanded:z,onRowHeightChange:L},xe={cellProps:ae,expandColumnKey:ne,indentSize:_e,iconSize:Oe,rowKey:Ne,expandedRowKeys:f(m),ns:s,t:a},qe={ns:s,headerClass:ce,headerProps:Z,columnsStyles:dt},we={ns:s,t:a,sortBy:te,sortState:de,headerCellProps:H,onColumnSorted:N},Ye={row:wn=>j(hhe,wt(wn,kt),{row:t.row,cell:Sn=>{let Fe;return t.cell?j(X6,wt(Sn,xe,{style:dt[Sn.column.key]}),ov(Fe=t.cell(Sn))?Fe:{default:()=>[Fe]}):j(X6,wt(Sn,xe,{style:dt[Sn.column.key]}),null)}}),header:wn=>j(ghe,wt(wn,qe),{header:t.header,cell:Sn=>{let Fe;return t["header-cell"]?j(dM,wt(Sn,we,{style:dt[Sn.column.key]}),ov(Fe=t["header-cell"](Sn))?Fe:{default:()=>[Fe]}):j(dM,wt(Sn,we,{style:dt[Sn.column.key]}),null)}})},Ct=[e.class,s.b(),s.e("root"),s.is("dynamic",f(C))],Xt={class:s.e("footer"),style:f(M)};return j("div",{class:Ct,style:f(I)},[j(ohe,De,ov(Ye)?Ye:{default:()=>[Ye]}),j(ihe,Ft,ov(Ye)?Ye:{default:()=>[Ye]}),j(che,ot,ov(Ye)?Ye:{default:()=>[Ye]}),t.footer&&j(fM,Xt,{default:t.footer}),f($)&&j(hM,{class:s.e("empty"),style:f(R)},{default:t.empty}),t.overlay&&j(pM,{class:s.e("overlay")},{default:t.overlay})])}}}),whe=Me({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:re(Function)}}),_he=e=>{const t=F(),n=F(0),s=F(0);let a;return St(()=>{a=bn(t,([o])=>{const{width:r,height:i}=o.contentRect,{paddingLeft:l,paddingRight:c,paddingTop:u,paddingBottom:d}=getComputedStyle(o.target),h=Number.parseInt(l)||0,p=Number.parseInt(c)||0,v=Number.parseInt(u)||0,m=Number.parseInt(d)||0;n.value=r-h-p,s.value=i-v-m}).stop}),Gt(()=>{a==null||a()}),me([n,s],([o,r])=>{var i;(i=e.onResize)==null||i.call(e,{width:o,height:r})}),{sizer:t,width:n,height:s}},Che=W({name:"ElAutoResizer",props:whe,setup(e,{slots:t}){const n=Ee("auto-resizer"),{height:s,width:a,sizer:o}=_he(e),r={width:"100%",height:"100%"};return()=>{var i;return j("div",{ref:o,class:n.b(),style:r},[(i=t.default)==null?void 0:i.call(t,{height:s.value,width:a.value})])}}}),She=pt(yhe),xhe=pt(Che),E1=Symbol("tabsRootContextKey"),Ehe=Me({tabs:{type:re(Array),default:()=>Rn([])},tabRefs:{type:re(Object),default:()=>Rn({})}}),vM="ElTabBar";var khe=W({name:vM,__name:"tab-bar",props:Ehe,setup(e,{expose:t}){const n=e,s=je(E1);s||Xn(vM,"");const a=Ee("tabs"),o=F(),r=F(),i=k(()=>{var p;return $t(s.props.defaultValue)||!!((p=r.value)!=null&&p.transform)}),l=()=>{let p=0,v=0;const m=["top","bottom"].includes(s.props.tabPosition)?"width":"height",g=m==="width"?"x":"y",b=g==="x"?"left":"top";return n.tabs.every(_=>{if($t(_.paneName))return!1;const w=n.tabRefs[_.paneName];if(!w)return!1;if(!_.active)return!0;p=w[`offset${rc(b)}`],v=w[`client${rc(m)}`];const C=window.getComputedStyle(w);return m==="width"&&(v-=Number.parseFloat(C.paddingLeft)+Number.parseFloat(C.paddingRight),p+=Number.parseFloat(C.paddingLeft)),!1}),{[m]:`${v}px`,transform:`translate${rc(g)}(${p}px)`}},c=()=>r.value=l(),u=[],d=()=>{u.forEach(p=>p.stop()),u.length=0,Object.values(n.tabRefs).forEach(p=>{u.push(bn(p,c))})};me(()=>n.tabs,async()=>{await ze(),c(),d()},{immediate:!0});const h=bn(o,()=>c());return Gt(()=>{u.forEach(p=>p.stop()),u.length=0,h.stop()}),t({ref:o,update:c}),(p,v)=>i.value?(S(),P("div",{key:0,ref_key:"barRef",ref:o,class:D([f(a).e("active-bar"),f(a).is(f(s).props.tabPosition)]),style:tt(r.value)},null,6)):ie("v-if",!0)}});const Ahe=Me({panes:{type:re(Array),default:()=>Rn([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean,tabindex:{type:[String,Number],default:void 0}}),The={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},mM="ElTabNav",Mhe=W({name:mM,props:Ahe,emits:The,setup(e,{expose:t,emit:n}){const s=je(E1);s||Xn(mM,"");const a=Ee("tabs"),o=qV(),r=YV(),i=F(),l=F(),c=F(),u=F({}),d=F(),h=F(!1),p=F(0),v=F(!1),m=F(!0),g=hn(),b=k(()=>["top","bottom"].includes(s.props.tabPosition)),_=k(()=>b.value?"width":"height"),w=k(()=>({transform:`translate${_.value==="width"?"X":"Y"}(-${p.value}px)`})),{width:C,height:x}=Py(i),{width:E,height:T}=Py(l,{width:0,height:0},{box:"border-box"}),R=k(()=>b.value?C.value:x.value),I=k(()=>b.value?E.value:T.value),{onWheel:M}=JA({atStartEdge:k(()=>p.value<=0),atEndEdge:k(()=>I.value-p.value<=R.value),layout:k(()=>b.value?"horizontal":"vertical")},z=>{p.value=gu(p.value+z,0,I.value-R.value)}),$=()=>{if(!i.value)return;const z=i.value[`offset${rc(_.value)}`],G=p.value;if(!G)return;const Q=G>z?G-z:0;p.value=Q},O=()=>{if(!i.value||!l.value)return;const z=l.value[`offset${rc(_.value)}`],G=i.value[`offset${rc(_.value)}`],Q=p.value;if(z-Q<=G)return;const K=z-Q>G*2?Q+G:z-G;p.value=K},B=async()=>{const z=l.value;if(!h.value||!c.value||!i.value||!z)return;await ze();const G=u.value[e.currentName];if(!G)return;const Q=i.value,K=G.getBoundingClientRect(),ee=Q.getBoundingClientRect(),ae=b.value?z.offsetWidth-ee.width:z.offsetHeight-ee.height,fe=p.value;let ne=fe;b.value?(K.leftee.right&&(ne=fe+K.right-ee.right)):(K.topee.bottom&&(ne=fe+(K.bottom-ee.bottom))),ne=Math.max(ne,0),p.value=Math.min(ne,ae)},U=()=>{var z;if(!l.value||!i.value)return;e.stretch&&((z=d.value)==null||z.update());const G=l.value[`offset${rc(_.value)}`],Q=i.value[`offset${rc(_.value)}`],K=p.value;Q0&&(p.value=0))},J=z=>{const G=an(z);let Q=0;switch(G){case Te.left:case Te.up:Q=-1;break;case Te.right:case Te.down:Q=1;break;default:return}const K=Array.from(z.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let ae=K.indexOf(z.target)+Q;ae<0?ae=K.length-1:ae>=K.length&&(ae=0),K[ae].focus({preventScroll:!0}),K[ae].click(),Y()},Y=()=>{m.value&&(v.value=!0)},N=()=>v.value=!1,L=(z,G)=>{u.value[G]=z},V=async()=>{await ze();const z=u.value[e.currentName];z==null||z.focus({preventScroll:!0})};return me(o,z=>{z==="hidden"?m.value=!1:z==="visible"&&setTimeout(()=>m.value=!0,50)}),me(r,z=>{z?setTimeout(()=>m.value=!0,50):m.value=!1}),bn(c,()=>{Jr(U)}),St(()=>setTimeout(()=>B(),0)),or(()=>U()),t({scrollToActiveTab:B,removeFocus:N,focusActiveTab:V,tabListRef:l,tabBarRef:d,scheduleRender:()=>L2(g)}),()=>{const z=h.value?[j("span",{class:[a.e("nav-prev"),a.is("disabled",!h.value.prev)],onClick:$},[j(Je,null,{default:()=>[j(No,null,null)]})]),j("span",{class:[a.e("nav-next"),a.is("disabled",!h.value.next)],onClick:O},[j(Je,null,{default:()=>[j(Ls,null,null)]})])]:null,G=e.panes.map((Q,K)=>{var ee,ae,fe,ne,pe;const he=Q.uid,ce=Q.props.disabled,Z=(ae=(ee=Q.props.name)!=null?ee:Q.index)!=null?ae:`${K}`,H=!ce&&(Q.isClosable||Q.props.closable!==!1&&e.editable);Q.index=`${K}`;const te=H?j(Je,{class:"is-icon-close",onClick:Ce=>n("tabRemove",Q,Ce)},{default:()=>[j(Ua,null,null)]}):null,de=((ne=(fe=Q.slots).label)==null?void 0:ne.call(fe))||Q.props.label,be=!ce&&Q.active?(pe=e.tabindex)!=null?pe:s.props.tabindex:-1;return j("div",{ref:Ce=>L(Ce,Z),class:[a.e("item"),a.is(s.props.tabPosition),a.is("active",Q.active),a.is("disabled",ce),a.is("closable",H),a.is("focus",v.value)],id:`tab-${Z}`,key:`tab-${he}`,"aria-controls":`pane-${Z}`,role:"tab","aria-selected":Q.active,tabindex:be,onFocus:()=>Y(),onBlur:()=>N(),onClick:Ce=>{N(),n("tabClick",Q,Z,Ce)},onKeydown:Ce=>{const Se=an(Ce);H&&(Se===Te.delete||Se===Te.backspace)&&n("tabRemove",Q,Ce)}},[de,te])});return g.value,j("div",{ref:c,class:[a.e("nav-wrap"),a.is("scrollable",!!h.value),a.is(s.props.tabPosition)]},[z,j("div",{class:a.e("nav-scroll"),ref:i},[e.panes.length>0?j("div",{class:[a.e("nav"),a.is(s.props.tabPosition),a.is("stretch",e.stretch&&["top","bottom"].includes(s.props.tabPosition))],ref:l,style:w.value,role:"tablist",onKeydown:J,onWheel:M},[e.type?null:j(khe,{ref:d,tabs:[...e.panes],tabRefs:u.value},null),G]):null])])}}}),Phe=Me({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},defaultValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:re(Function),default:()=>!0},stretch:Boolean,tabindex:{type:[String,Number],default:0}}),Z6=e=>Xe(e)||at(e),Rhe={[ct]:e=>Z6(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>Z6(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>Z6(e),tabAdd:()=>!0},Ihe=W({name:"ElTabs",props:Phe,emits:Rhe,setup(e,{emit:t,slots:n,expose:s}){var a;const o=Ee("tabs"),r=k(()=>["left","right"].includes(e.tabPosition)),{children:i,addChild:l,removeChild:c,ChildrenSorter:u}=Wg(_t(),"ElTabPane"),d=F(),h=F((a=$t(e.modelValue)?e.defaultValue:e.modelValue)!=null?a:"0"),p=async(w,C=!1)=>{var x,E,T,R;if(!(h.value===w||$t(w)))try{let I;if(e.beforeLeave){const M=e.beforeLeave(w,h.value);I=M instanceof Promise?await M:M}else I=!0;if(I!==!1){const M=(x=i.value.find($=>$.paneName===h.value))==null?void 0:x.isFocusInsidePane();h.value=w,C&&(t(ct,w),t("tabChange",w)),(T=(E=d.value)==null?void 0:E.removeFocus)==null||T.call(E),M&&((R=d.value)==null||R.focusActiveTab())}}catch{}},v=(w,C,x)=>{w.props.disabled||(t("tabClick",w,x),p(C,!0))},m=(w,C)=>{w.props.disabled||$t(w.props.name)||(C.stopPropagation(),t("edit",w.props.name,"remove"),t("tabRemove",w.props.name))},g=()=>{t("edit",void 0,"add"),t("tabAdd")},b=w=>{const C=an(w);[Te.enter,Te.numpadEnter].includes(C)&&g()},_=w=>{const C=w.el.firstChild,x=["bottom","right"].includes(e.tabPosition)?w.children[0].el:w.children[1].el;C!==x&&C.before(x)};return me(()=>e.modelValue,w=>p(w)),me(h,async()=>{var w;await ze(),(w=d.value)==null||w.scrollToActiveTab()}),Tt(E1,{props:e,currentName:h,registerPane:l,unregisterPane:c,nav$:d}),s({currentName:h,get tabNavRef(){return pp(d.value,["scheduleRender"])}}),()=>{const w=n["add-icon"],C=e.editable||e.addable?j("div",{class:[o.e("new-tab"),r.value&&o.e("new-tab-vertical")],tabindex:e.tabindex,onClick:g,onKeydown:b},[w?ue(n,"add-icon"):j(Je,{class:o.is("icon-plus")},{default:()=>[j(Vy,null,null)]})]):null,x=()=>j(Mhe,{ref:d,currentName:h.value,editable:e.editable,type:e.type,panes:i.value,stretch:e.stretch,onTabClick:v,onTabRemove:m},null),E=j("div",{class:[o.e("header"),r.value&&o.e("header-vertical"),o.is(e.tabPosition)]},[j(u,null,{default:x,$stable:!0}),C]),T=j("div",{class:o.e("content")},[ue(n,"default")]);return j("div",{class:[o.b(),o.m(e.tabPosition),{[o.m("card")]:e.type==="card",[o.m("border-card")]:e.type==="border-card"}],onVnodeMounted:_,onVnodeUpdated:_},[T,E])}}}),Ohe=Me({label:{type:String,default:""},name:{type:[String,Number]},closable:{type:Boolean,default:void 0},disabled:Boolean,lazy:Boolean}),Lhe=["id","aria-hidden","aria-labelledby"],gM="ElTabPane";var bM=W({name:gM,__name:"tab-pane",props:Ohe,setup(e){const t=e,n=_t(),s=zn(),a=je(E1);a||Xn(gM,"usage: ");const o=Ee("tab-pane"),r=F(),i=F(),l=k(()=>{var m;return(m=t.closable)!=null?m:a.props.closable}),c=k(()=>{var m;return a.currentName.value===((m=t.name)!=null?m:i.value)}),u=F(c.value),d=k(()=>{var m;return(m=t.name)!=null?m:i.value}),h=k(()=>!t.lazy||u.value||c.value),p=()=>{var m;return(m=r.value)==null?void 0:m.contains(document.activeElement)};me(c,m=>{m&&(u.value=!0)});const v=Wt({uid:n.uid,getVnode:()=>n.vnode,slots:s,props:t,paneName:d,active:c,index:i,isClosable:l,isFocusInsidePane:p});return a.registerPane(v),Gt(()=>{a.unregisterPane(v)}),O4(()=>{var m;s.label&&((m=a.nav$.value)==null||m.scheduleRender())}),(m,g)=>h.value?gt((S(),P("div",{key:0,id:`pane-${d.value}`,ref_key:"paneRef",ref:r,class:D(f(o).b()),role:"tabpanel","aria-hidden":!c.value,"aria-labelledby":`tab-${d.value}`},[ue(m.$slots,"default")],10,Lhe)),[[Bt,c.value]]):ie("v-if",!0)}});const Nhe=pt(Ihe,{TabPane:bM}),$he=An(bM),Dhe=Me({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:fr,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}});var Fhe=W({name:"ElText",__name:"text",props:Dhe,setup(e){const t=e,n=F(),s=ts(),a=Ee("text"),o=k(()=>[a.b(),a.m(t.type),a.m(s.value),a.is("truncated",t.truncated),a.is("line-clamp",!$t(t.lineClamp))]),r=()=>{var i,l,c,u,d,h,p;if(Bi().title)return;let m=!1;const g=((i=n.value)==null?void 0:i.textContent)||"";if(t.truncated){const b=(l=n.value)==null?void 0:l.offsetWidth,_=(c=n.value)==null?void 0:c.scrollWidth;b&&_&&_>b&&(m=!0)}else if(!$t(t.lineClamp)){const b=(u=n.value)==null?void 0:u.offsetHeight,_=(d=n.value)==null?void 0:d.scrollHeight;b&&_&&_>b&&(m=!0)}m?(h=n.value)==null||h.setAttribute("title",g):(p=n.value)==null||p.removeAttribute("title")};return St(r),or(r),(i,l)=>(S(),le(bt(e.tag),{ref_key:"textRef",ref:n,class:D(o.value),style:tt({"-webkit-line-clamp":e.lineClamp})},{default:X(()=>[ue(i.$slots,"default")]),_:3},8,["class","style"]))}});const Q6=pt(Fhe),Bhe=Me({format:{type:String,default:"HH:mm"},modelValue:{type:re(String)},disabled:{type:Boolean,default:void 0},editable:{type:Boolean,default:!0},effect:{type:re(String),default:"light"},clearable:{type:Boolean,default:!0},size:rs,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:{type:re(String)},maxTime:{type:re(String)},includeEndTime:Boolean,name:String,prefixIcon:{type:re([String,Object]),default:()=>$y},clearIcon:{type:re([String,Object]),default:()=>$o},popperClass:{type:String,default:""},popperStyle:{type:re([String,Object])},...wu}),rl=e=>{const t=(e||"").split(":");if(t.length>=2){let n=Number.parseInt(t[0],10);const s=Number.parseInt(t[1],10),a=e.toUpperCase();return a.includes("AM")&&n===12?n=0:a.includes("PM")&&n!==12&&(n+=12),{hours:n,minutes:s}}return null},e8=(e,t)=>{const n=rl(e);if(!n)return-1;const s=rl(t);if(!s)return-1;const a=n.minutes+n.hours*60,o=s.minutes+s.hours*60;return a===o?0:a>o?1:-1},yM=e=>`${e}`.padStart(2,"0"),Qf=e=>`${yM(e.hours)}:${yM(e.minutes)}`,Vhe=(e,t)=>{const n=rl(e);if(!n)return"";const s=rl(t);if(!s)return"";const a={hours:n.hours,minutes:n.minutes};return a.minutes+=s.minutes,a.hours+=s.hours,a.hours+=Math.floor(a.minutes/60),a.minutes=a.minutes%60,Qf(a)};var zhe=W({name:"ElTimeSelect",__name:"time-select",props:Bhe,emits:[Pt,"blur","focus","clear",ct],setup(e,{expose:t}){vt.extend(F3);const{Option:n}=cc,s=e,a=Ee("input"),o=F(),r=In(),{lang:i}=It(),l=k(()=>s.modelValue),c=k(()=>{const b=rl(s.start);return b?Qf(b):null}),u=k(()=>{const b=rl(s.end);return b?Qf(b):null}),d=k(()=>{const b=rl(s.step);return b?Qf(b):null}),h=k(()=>{const b=rl(s.minTime||"");return b?Qf(b):null}),p=k(()=>{const b=rl(s.maxTime||"");return b?Qf(b):null}),v=k(()=>{var b;const _=[],w=(C,x)=>{_.push({value:C,disabled:e8(x,h.value||"-1:-1")<=0||e8(x,p.value||"100:100")>=0})};if(s.start&&s.end&&s.step){let C=c.value,x;for(;C&&u.value&&e8(C,u.value)<=0;)x=vt(C,"HH:mm").locale(i.value).format(s.format),w(x,C),C=Vhe(C,d.value);if(s.includeEndTime&&u.value&&((b=_[_.length-1])==null?void 0:b.value)!==u.value){const E=vt(u.value,"HH:mm").locale(i.value).format(s.format);w(E,u.value)}}return _});return t({blur:()=>{var b,_;(_=(b=o.value)==null?void 0:b.blur)==null||_.call(b)},focus:()=>{var b,_;(_=(b=o.value)==null?void 0:b.focus)==null||_.call(b)}}),(b,_)=>(S(),le(f(cc),{ref_key:"select",ref:o,"model-value":l.value,disabled:f(r),clearable:e.clearable,"clear-icon":e.clearIcon,size:e.size,effect:e.effect,placeholder:e.placeholder,"default-first-option":"",filterable:e.editable,"empty-values":e.emptyValues,"value-on-clear":e.valueOnClear,"popper-class":e.popperClass,"popper-style":e.popperStyle,"onUpdate:modelValue":_[0]||(_[0]=w=>b.$emit(f(ct),w)),onChange:_[1]||(_[1]=w=>b.$emit(f(Pt),w)),onBlur:_[2]||(_[2]=w=>b.$emit("blur",w)),onFocus:_[3]||(_[3]=w=>b.$emit("focus",w)),onClear:_[4]||(_[4]=()=>b.$emit("clear"))},{prefix:X(()=>[e.prefixIcon?(S(),le(f(Je),{key:0,class:D(f(a).e("prefix-icon"))},{default:X(()=>[(S(),le(bt(e.prefixIcon)))]),_:1},8,["class"])):ie("v-if",!0)]),default:X(()=>[(S(!0),P(He,null,yt(v.value,w=>(S(),le(f(n),{key:w.value,label:w.value,value:w.value,disabled:w.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear","popper-class","popper-style"]))}});const Hhe=pt(zhe),wM="timeline",Whe=Me({mode:{type:String,values:["start","alternate","alternate-reverse","end"],default:"start"},reverse:Boolean}),jhe=W({name:"ElTimeline",props:Whe,setup(e,{slots:t}){const n=Ee("timeline");Tt(wM,{props:e,slots:t});const s=k(()=>[n.b(),n.is(e.mode)]);return()=>{var a,o;const r=lo((o=(a=t.default)==null?void 0:a.call(t))!=null?o:[]);return rt("ul",{class:s.value},e.reverse?r.reverse():r)}}}),Khe=Me({timestamp:{type:String,default:""},hideTimestamp:Boolean,center:Boolean,placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:en},hollow:Boolean});var _M=W({name:"ElTimelineItem",__name:"timeline-item",props:Khe,setup(e){const t=e,{props:n}=je(wM),s=Ee("timeline-item"),a=k(()=>[s.e("node"),s.em("node",t.size||""),s.em("node",t.type||""),s.is("hollow",t.hollow)]),o=k(()=>[s.b(),{[s.e("center")]:t.center},s.is(n.mode)]);return(r,i)=>(S(),P("li",{class:D(o.value)},[A("div",{class:D(f(s).e("tail"))},null,2),r.$slots.dot?ie("v-if",!0):(S(),P("div",{key:0,class:D(a.value),style:tt({backgroundColor:e.color})},[e.icon?(S(),le(f(Je),{key:0,class:D(f(s).e("icon"))},{default:X(()=>[(S(),le(bt(e.icon)))]),_:1},8,["class"])):ie("v-if",!0)],6)),r.$slots.dot?(S(),P("div",{key:1,class:D(f(s).e("dot"))},[ue(r.$slots,"dot")],2)):ie("v-if",!0),A("div",{class:D(f(s).e("wrapper"))},[!e.hideTimestamp&&e.placement==="top"?(S(),P("div",{key:0,class:D([f(s).e("timestamp"),f(s).is("top")])},ve(e.timestamp),3)):ie("v-if",!0),A("div",{class:D(f(s).e("content"))},[ue(r.$slots,"default")],2),!e.hideTimestamp&&e.placement==="bottom"?(S(),P("div",{key:1,class:D([f(s).e("timestamp"),f(s).is("bottom")])},ve(e.timestamp),3)):ie("v-if",!0)],2)],2))}});const Uhe=pt(jhe,{TimelineItem:_M}),qhe=An(_M),CM="left-check-change",SM="right-check-change",eh=Me({data:{type:re(Array),default:()=>[]},titles:{type:re(Array),default:()=>[]},buttonTexts:{type:re(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:re(Function)},leftDefaultChecked:{type:re(Array),default:()=>[]},rightDefaultChecked:{type:re(Array),default:()=>[]},renderContent:{type:re(Function)},modelValue:{type:re(Array),default:()=>[]},format:{type:re(Object),default:()=>({})},filterable:Boolean,props:{type:re(Object),default:()=>Rn({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),t8=(e,t)=>[e,t].every(ke)||ke(e)&&qn(t),Ghe={[Pt]:(e,t,n)=>[e,n].every(ke)&&["left","right"].includes(t),[ct]:e=>ke(e),[CM]:t8,[SM]:t8},n8="checked-change",Yhe=Me({data:eh.data,optionRender:{type:re(Function)},placeholder:String,title:String,filterable:Boolean,format:eh.format,filterMethod:eh.filterMethod,defaultChecked:eh.leftDefaultChecked,props:eh.props}),Xhe={[n8]:t8},rv=e=>{const t={label:"label",key:"key",disabled:"disabled"};return k(()=>({...t,...e.props}))},Jhe=(e,t,n)=>{const s=rv(e),a=k(()=>e.data.filter(u=>et(e.filterMethod)?e.filterMethod(t.query,u):String(u[s.value.label]||u[s.value.key]).toLowerCase().includes(t.query.toLowerCase()))),o=k(()=>a.value.filter(u=>!u[s.value.disabled])),r=k(()=>{const u=t.checked.length,d=e.data.length,{noChecked:h,hasChecked:p}=e.format;return h&&p?u>0?p.replace(/\${checked}/g,u.toString()).replace(/\${total}/g,d.toString()):h.replace(/\${total}/g,d.toString()):`${u}/${d}`}),i=k(()=>{const u=t.checked.length;return u>0&&u{const u=o.value.map(d=>d[s.value.key]);t.allChecked=u.length>0&&u.every(d=>t.checked.includes(d))},c=u=>{t.checked=u?o.value.map(d=>d[s.value.key]):[]};return me(()=>t.checked,(u,d)=>{if(l(),t.checkChangeByUser){const h=u.concat(d).filter(p=>!u.includes(p)||!d.includes(p));n(n8,u,h)}else n(n8,u),t.checkChangeByUser=!0}),me(o,()=>{l()}),me(()=>e.data,()=>{const u=[],d=a.value.map(h=>h[s.value.key]);t.checked.forEach(h=>{d.includes(h)&&u.push(h)}),t.checkChangeByUser=!1,t.checked=u}),me(()=>e.defaultChecked,(u,d)=>{if(d&&u.length===d.length&&u.every(v=>d.includes(v)))return;const h=[],p=o.value.map(v=>v[s.value.key]);u.forEach(v=>{p.includes(v)&&h.push(v)}),t.checkChangeByUser=!1,t.checked=h},{immediate:!0}),{filteredData:a,checkableData:o,checkedSummary:r,isIndeterminate:i,updateAllChecked:l,handleAllCheckedChange:c}};var xM=W({name:"ElTransferPanel",__name:"transfer-panel",props:Yhe,emits:Xhe,setup(e,{expose:t,emit:n}){const s=e,a=n,o=zn(),r=({option:C})=>C,{t:i}=It(),l=Ee("transfer"),c=Wt({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),u=rv(s),{filteredData:d,checkedSummary:h,isIndeterminate:p,handleAllCheckedChange:v}=Jhe(s,c,a),m=k(()=>!Pa(c.query)&&Pa(d.value)),g=k(()=>!Pa(o.default()[0].children)),{checked:b,allChecked:_,query:w}=ps(c);return t({query:w}),(C,x)=>(S(),P("div",{class:D(f(l).b("panel"))},[A("p",{class:D(f(l).be("panel","header"))},[j(f(mr),{modelValue:f(_),"onUpdate:modelValue":x[0]||(x[0]=E=>pn(_)?_.value=E:null),indeterminate:f(p),"validate-event":!1,onChange:f(v)},{default:X(()=>[Ue(ve(e.title)+" ",1),A("span",null,ve(f(h)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),A("div",{class:D([f(l).be("panel","body"),f(l).is("with-footer",g.value)])},[e.filterable?(S(),le(f(la),{key:0,modelValue:f(w),"onUpdate:modelValue":x[1]||(x[1]=E=>pn(w)?w.value=E:null),class:D(f(l).be("panel","filter")),size:"default",placeholder:e.placeholder,"prefix-icon":f(i9),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):ie("v-if",!0),gt(j(f(T3),{modelValue:f(b),"onUpdate:modelValue":x[2]||(x[2]=E=>pn(b)?b.value=E:null),"validate-event":!1,class:D([f(l).is("filterable",e.filterable),f(l).be("panel","list")])},{default:X(()=>[(S(!0),P(He,null,yt(f(d),E=>(S(),le(f(mr),{key:E[f(u).key],class:D(f(l).be("panel","item")),value:E[f(u).key],disabled:E[f(u).disabled],"validate-event":!1},{default:X(()=>{var T;return[j(r,{option:(T=e.optionRender)==null?void 0:T.call(e,E)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[Bt,!m.value&&!f(Pa)(e.data)]]),gt(A("div",{class:D(f(l).be("panel","empty"))},[ue(C.$slots,"empty",{},()=>[Ue(ve(m.value?f(i)("el.transfer.noMatch"):f(i)("el.transfer.noData")),1)])],2),[[Bt,m.value||f(Pa)(e.data)]])],2),g.value?(S(),P("p",{key:0,class:D(f(l).be("panel","footer"))},[ue(C.$slots,"default")],2)):ie("v-if",!0)],2))}});const Zhe=e=>{const t=rv(e),n=k(()=>e.data.reduce((o,r)=>(o[r[t.value.key]]=r)&&o,{})),s=k(()=>e.data.filter(o=>!e.modelValue.includes(o[t.value.key]))),a=k(()=>e.targetOrder==="original"?e.data.filter(o=>e.modelValue.includes(o[t.value.key])):e.modelValue.reduce((o,r)=>{const i=n.value[r];return i&&o.push(i),o},[]));return{sourceData:s,targetData:a}},Qhe=(e,t,n)=>{const s=rv(e),a=(i,l,c)=>{n(ct,i),n(Pt,i,l,c)};return{addToLeft:()=>{const i=e.modelValue.slice();t.rightChecked.forEach(l=>{const c=i.indexOf(l);c>-1&&i.splice(c,1)}),a(i,"left",t.rightChecked)},addToRight:()=>{let i=e.modelValue.slice();const l=e.data.filter(c=>{const u=c[s.value.key];return t.leftChecked.includes(u)&&!e.modelValue.includes(u)}).map(c=>c[s.value.key]);i=e.targetOrder==="unshift"?l.concat(i):i.concat(l),e.targetOrder==="original"&&(i=e.data.filter(c=>i.includes(c[s.value.key])).map(c=>c[s.value.key])),a(i,"right",t.leftChecked)}}},e0e=(e,t)=>({onSourceCheckedChange:(a,o)=>{e.leftChecked=a,o&&t(CM,a,o)},onTargetCheckedChange:(a,o)=>{e.rightChecked=a,o&&t(SM,a,o)}}),t0e={key:0},n0e={key:0};var s0e=W({name:"ElTransfer",__name:"transfer",props:eh,emits:Ghe,setup(e,{expose:t,emit:n}){const s=e,a=n,o=zn(),{t:r}=It(),i=Ee("transfer"),{formItem:l}=Cs(),c=Wt({leftChecked:[],rightChecked:[]}),u=rv(s),{sourceData:d,targetData:h}=Zhe(s),{onSourceCheckedChange:p,onTargetCheckedChange:v}=e0e(c,a),{addToLeft:m,addToRight:g}=Qhe(s,c,a),b=F(),_=F(),w=I=>{switch(I){case"left":b.value.query="";break;case"right":_.value.query="";break}},C=k(()=>s.buttonTexts.length===2),x=k(()=>s.titles[0]||r("el.transfer.titles.0")),E=k(()=>s.titles[1]||r("el.transfer.titles.1")),T=k(()=>s.filterPlaceholder||r("el.transfer.filterPlaceholder"));me(()=>s.modelValue,()=>{var I;s.validateEvent&&((I=l==null?void 0:l.validate)==null||I.call(l,"change").catch(M=>void 0))});const R=k(()=>I=>{var M;if(s.renderContent)return s.renderContent(rt,I);const $=(((M=o.default)==null?void 0:M.call(o,{option:I}))||[]).filter(O=>O.type!==Kn);return $.length?$:rt("span",I[u.value.label]||I[u.value.key])});return t({clearQuery:w,leftPanel:b,rightPanel:_}),(I,M)=>(S(),P("div",{class:D(f(i).b())},[j(xM,{ref_key:"leftPanel",ref:b,data:f(d),"option-render":R.value,placeholder:T.value,title:x.value,filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,"default-checked":e.leftDefaultChecked,props:s.props,onCheckedChange:f(p)},{empty:X(()=>[ue(I.$slots,"left-empty")]),default:X(()=>[ue(I.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),A("div",{class:D(f(i).e("buttons"))},[j(f(gs),{type:"primary",class:D([f(i).e("button"),f(i).is("with-texts",C.value)]),disabled:f(Pa)(c.rightChecked),onClick:f(m)},{default:X(()=>[j(f(Je),null,{default:X(()=>[j(f(No))]),_:1}),f($t)(e.buttonTexts[0])?ie("v-if",!0):(S(),P("span",t0e,ve(e.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),j(f(gs),{type:"primary",class:D([f(i).e("button"),f(i).is("with-texts",C.value)]),disabled:f(Pa)(c.leftChecked),onClick:f(g)},{default:X(()=>[f($t)(e.buttonTexts[1])?ie("v-if",!0):(S(),P("span",n0e,ve(e.buttonTexts[1]),1)),j(f(Je),null,{default:X(()=>[j(f(Ls))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),j(xM,{ref_key:"rightPanel",ref:_,data:f(h),"option-render":R.value,placeholder:T.value,filterable:e.filterable,format:e.format,"filter-method":e.filterMethod,title:E.value,"default-checked":e.rightDefaultChecked,props:s.props,onCheckedChange:f(v)},{empty:X(()=>[ue(I.$slots,"right-empty")]),default:X(()=>[ue(I.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});const a0e=pt(s0e),th="$treeNodeId",EM=function(e,t){!t||t[th]||Object.defineProperty(t,th,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},s8=(e,t)=>t==null?void 0:t[e||th],a8=(e,t,n)=>{const s=e.value.currentNode;n();const a=e.value.currentNode;s!==a&&t("current-change",a?a.data:null,a)};var o0e=Object.defineProperty,r0e=(e,t,n)=>t in e?o0e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ds=(e,t,n)=>r0e(e,typeof t!="symbol"?t+"":t,n);const kM=e=>{let t=!0,n=!0,s=!0,a=!0;for(let o=0,r=e.length;o{n.canFocus=t,o8(n.childNodes,t)})};let i0e=0,r8=class Nb{constructor(t){Ds(this,"id"),Ds(this,"text"),Ds(this,"checked"),Ds(this,"indeterminate"),Ds(this,"data"),Ds(this,"expanded"),Ds(this,"parent"),Ds(this,"visible"),Ds(this,"isCurrent"),Ds(this,"store"),Ds(this,"isLeafByUser"),Ds(this,"isLeaf"),Ds(this,"canFocus"),Ds(this,"level"),Ds(this,"loaded"),Ds(this,"childNodes"),Ds(this,"loading"),Ds(this,"isEffectivelyChecked",!1),this.id=i0e++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const n in t)Ht(t,n)&&(this[n]=t[n]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){var t;const n=this.store;if(!n)throw new Error("[Node]store is required!");n.registerNode(this);const s=n.props;if(s&&typeof s.isLeaf<"u"){const r=k1(this,"isLeaf");Qt(r)&&(this.isLeafByUser=r)}if(n.lazy!==!0&&this.data?(this.setData(this.data),n.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&n.lazy&&n.defaultExpandAll&&!this.isLeafByUser&&this.expand(),ke(this.data)||EM(this,this.data),!this.data)return;const a=n.defaultExpandedKeys,o=n.key;o&&!qn(this.key)&&a&&a.includes(this.key)&&this.expand(null,n.autoExpandParent),o&&n.currentNodeKey!==void 0&&this.key===n.currentNodeKey&&(n.currentNode&&(n.currentNode.isCurrent=!1),n.currentNode=this,n.currentNode.isCurrent=!0),n.lazy&&n._initDefaultCheckedNode(this),this.updateLeafState(),(this.level===1||((t=this.parent)==null?void 0:t.expanded)===!0)&&(this.canFocus=!0)}setData(t){ke(t)||EM(this,t),this.data=t,this.childNodes=[];let n;this.level===0&&ke(this.data)?n=this.data:n=k1(this,"children")||[];for(let s=0,a=n.length;s-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(s=>s===t||n&&s.contains(t))}remove(){const t=this.parent;t&&t.removeChild(this)}insertChild(t,n,s){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof Nb)){if(!s){const a=this.getChildren(!0);a!=null&&a.includes(t.data)||($t(n)||n<0?a==null||a.push(t.data):a==null||a.splice(n,0,t.data))}Object.assign(t,{parent:this,store:this.store}),t=Wt(new Nb(t)),t instanceof Nb&&t.initialize()}t.level=this.level+1,$t(n)||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()}insertBefore(t,n){let s;n&&(s=this.childNodes.indexOf(n)),this.insertChild(t,s)}insertAfter(t,n){let s;n&&(s=this.childNodes.indexOf(n),s!==-1&&(s+=1)),this.insertChild(t,s)}removeChild(t){const n=this.getChildren()||[],s=n.indexOf(t.data);s>-1&&n.splice(s,1);const a=this.childNodes.indexOf(t);a>-1&&(this.store&&this.store.deregisterNode(t),t.parent=null,this.childNodes.splice(a,1)),this.updateLeafState()}removeChildByData(t){const n=this.childNodes.find(s=>s.data===t);n&&this.removeChild(n)}expand(t,n){const s=()=>{if(n){let a=this.parent;for(;a&&a.level>0;)a.expanded=!0,a=a.parent}this.expanded=!0,t&&t(),o8(this.childNodes,!0)};this.shouldLoadData()?this.loadData(a=>{ke(a)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||iv(this),s())}):s()}doCreateChildren(t,n={}){t.forEach(s=>{this.insertChild(Object.assign({data:s},n),void 0,!0)})}collapse(){this.expanded=!1,o8(this.childNodes,!1)}shouldLoadData(){return!!(this.store.lazy===!0&&this.store.load&&!this.loaded)}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}const t=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!t||t.length===0,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}this.isLeaf=!1}setChecked(t,n,s,a){if(this.indeterminate=t==="half",this.checked=t===!0,this.isEffectivelyChecked=!this.childNodes.length&&(this.disabled||this.checked),this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const r=()=>{if(n){const i=this.childNodes;for(let d=0,h=i.length;d{r(),iv(this)},{checked:t!==!1});return}else r()}const o=this.parent;!o||o.level===0||s||iv(o)}getChildren(t=!1){if(this.level===0)return this.data;const n=this.data;if(!n)return null;const s=this.store.props;let a="children";return s&&(a=s.children||"children"),$t(n[a])&&(n[a]=null),t&&!n[a]&&(n[a]=[]),n[a]}updateChildren(){const t=this.getChildren()||[],n=this.childNodes.map(o=>o.data),s={},a=[];t.forEach((o,r)=>{const i=o[th];!!i&&n.some(c=>(c==null?void 0:c[th])===i)?s[i]={index:r,data:o}:a.push({index:r,data:o})}),this.store.lazy||n.forEach(o=>{s[o==null?void 0:o[th]]||this.removeChildByData(o)}),a.forEach(({index:o,data:r})=>{this.insertChild({data:r},o)}),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 s=o=>{this.childNodes=[],this.doCreateChildren(o,n),this.loaded=!0,this.loading=!1,this.updateLeafState(),t&&t.call(this,o)},a=()=>{this.loading=!1};this.store.load(this,s,a)}else t&&t.call(this)}eachNode(t){const n=[this];for(;n.length;){const s=n.shift();n.unshift(...s.childNodes),t(s)}}reInitChecked(){this.store.checkStrictly||iv(this)}};var l0e=Object.defineProperty,c0e=(e,t,n)=>t in e?l0e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fa=(e,t,n)=>c0e(e,typeof t!="symbol"?t+"":t,n);class u0e{constructor(t){fa(this,"currentNode"),fa(this,"currentNodeKey"),fa(this,"nodesMap"),fa(this,"root"),fa(this,"data"),fa(this,"lazy",!1),fa(this,"load"),fa(this,"filterNodeMethod"),fa(this,"key"),fa(this,"defaultCheckedKeys"),fa(this,"checkStrictly",!1),fa(this,"defaultExpandedKeys"),fa(this,"autoExpandParent",!1),fa(this,"defaultExpandAll",!1),fa(this,"checkDescendants",!1),fa(this,"props"),this.currentNode=null,this.currentNodeKey=null;for(const n in t)Ht(t,n)&&(this[n]=t[n]);this.nodesMap={}}initialize(){if(this.root=new r8({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const t=this.load;t(this.root,n=>{this.root.doCreateChildren(n),this._initDefaultCheckedNodes()},qt)}else this._initDefaultCheckedNodes()}filter(t){const n=this.filterNodeMethod,s=this.lazy,a=async function(o){const r=o.root?o.root.childNodes:o.childNodes;for(const[i,l]of r.entries())l.visible=!!(n!=null&&n.call(l,t,l.data,l)),i%80===0&&i>0&&await ze(),await a(l);if(!o.visible&&r.length){let i=!0;i=!r.some(l=>l.visible),o.root?o.root.visible=i===!1:o.visible=i===!1}t&&o.visible&&!o.isLeaf&&(!s||o.loaded)&&o.expand()};a(this)}setData(t){t!==this.root.data?(this.nodesMap={},this.root.setData(t),this._initDefaultCheckedNodes(),this.setCurrentNodeKey(this.currentNodeKey)):this.root.updateChildren()}getNode(t){if(t instanceof r8)return t;const n=ht(t)?s8(this.key,t):t;return this.nodesMap[n]||null}insertBefore(t,n){var s;const a=this.getNode(n);(s=a.parent)==null||s.insertBefore({data:t},a)}insertAfter(t,n){var s;const a=this.getNode(n);(s=a.parent)==null||s.insertAfter({data:t},a)}remove(t){const n=this.getNode(t);n&&n.parent&&(n===this.currentNode&&(this.currentNode=null),n.parent.removeChild(n))}append(t,n){const s=Ka(n)?this.root:this.getNode(n);s&&s.insertChild({data:t})}_initDefaultCheckedNodes(){const t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach(s=>{const a=n[s];a&&a.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(t){const n=this.defaultCheckedKeys||[];!qn(t.key)&&n.includes(t.key)&&t.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(t){t!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=t,this._initDefaultCheckedNodes())}registerNode(t){const n=this.key;if(!(!t||!t.data))if(!n)this.nodesMap[t.id]=t;else{const s=t.key;qn(s)||(this.nodesMap[s]=t)}}deregisterNode(t){!this.key||!t||!t.data||(t.childNodes.forEach(s=>{this.deregisterNode(s)}),delete this.nodesMap[t.key])}getCheckedNodes(t=!1,n=!1){const s=[],a=function(o){(o.root?o.root.childNodes:o.childNodes).forEach(i=>{(i.checked||n&&i.indeterminate)&&(!t||t&&i.isLeaf)&&s.push(i.data),a(i)})};return a(this),s}getCheckedKeys(t=!1){return this.getCheckedNodes(t).map(n=>(n||{})[this.key])}getHalfCheckedNodes(){const t=[],n=function(s){(s.root?s.root.childNodes:s.childNodes).forEach(o=>{o.indeterminate&&t.push(o.data),n(o)})};return n(this),t}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(t=>(t||{})[this.key])}_getAllNodes(){const t=[],n=this.nodesMap;for(const s in n)Ht(n,s)&&t.push(n[s]);return t}updateChildren(t,n){const s=this.nodesMap[t];if(!s)return;const a=s.childNodes;for(let o=a.length-1;o>=0;o--){const r=a[o];this.remove(r.data)}for(let o=0,r=n.length;ol.level-c.level),o=Object.create(null),r=Object.keys(s);a.forEach(l=>l.setChecked(!1,!1));const i=l=>{l.childNodes.forEach(c=>{var u;o[c.data[t]]=!0,(u=c.childNodes)!=null&&u.length&&i(c)})};for(let l=0,c=a.length;l{g.isLeaf||g.setChecked(!1,!1),p(g)})};p(u)}}}setCheckedNodes(t,n=!1){const s=this.key,a={};t.forEach(o=>{a[(o||{})[s]]=!0}),this._setCheckedKeys(s,n,a)}setCheckedKeys(t,n=!1){this.defaultCheckedKeys=t;const s=this.key,a={};t.forEach(o=>{a[o]=!0}),this._setCheckedKeys(s,n,a)}setDefaultExpandedKeys(t){t=t||[],this.defaultExpandedKeys=t,t.forEach(n=>{const s=this.getNode(n);s&&s.expand(null,this.autoExpandParent)})}setChecked(t,n,s){const a=this.getNode(t);a&&a.setChecked(!!n,s)}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){var s;const a=t[this.key],o=this.nodesMap[a];this.setCurrentNode(o),n&&this.currentNode&&this.currentNode.level>1&&((s=this.currentNode.parent)==null||s.expand(null,!0))}setCurrentNodeKey(t,n=!0){var s;if(this.currentNodeKey=t,Ka(t)){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const a=this.getNode(t);a&&(this.setCurrentNode(a),n&&this.currentNode&&this.currentNode.level>1&&((s=this.currentNode.parent)==null||s.expand(null,!0)))}}const i8="RootTree",AM="NodeInstance",TM="TreeNodeMap";var d0e=W({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=Ee("tree"),n=je(AM),s=je(i8);return()=>{const a=e.node,{data:o,store:r}=a;return e.renderContent?e.renderContent(rt,{_self:n,node:a,data:o,store:r}):ue(s.ctx.slots,"default",{node:a,data:o},()=>[rt(Q6,{tag:"span",truncated:!0,class:t.be("node","label")},()=>[a.label])])}}});function MM(e){const t=je(TM,null);let n={treeNodeExpand:s=>{var a;e.node!==s&&((a=e.node)==null||a.collapse())},children:new Set};return t&&t.children.add(n),Gt(()=>{t&&t.children.delete(n),n=null}),Tt(TM,n),{broadcastExpanded:s=>{if(e.accordion)for(const a of n.children)a.treeNodeExpand(s)}}}const PM=Symbol("dragEvents");function f0e({props:e,ctx:t,el$:n,dropIndicator$:s,store:a}){const o=Ee("tree"),r=F({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return Tt(PM,{treeNodeDragStart:({event:u,treeNode:d})=>{if(u.dataTransfer){if(et(e.allowDrag)&&!e.allowDrag(d.node))return u.preventDefault(),!1;u.dataTransfer.effectAllowed="move";try{u.dataTransfer.setData("text/plain","")}catch{}r.value.draggingNode=d,t.emit("node-drag-start",d.node,u)}},treeNodeDragOver:({event:u,treeNode:d})=>{if(!u.dataTransfer)return;const h=d,p=r.value.dropNode;p&&p.node.id!==h.node.id&&ra(p.$el,o.is("drop-inner"));const v=r.value.draggingNode;if(!v||!h)return;let m=!0,g=!0,b=!0,_=!0;et(e.allowDrop)&&(m=e.allowDrop(v.node,h.node,"prev"),_=g=e.allowDrop(v.node,h.node,"inner"),b=e.allowDrop(v.node,h.node,"next")),u.dataTransfer.dropEffect=g||m||b?"move":"none",(m||g||b)&&(p==null?void 0:p.node.id)!==h.node.id&&(p&&t.emit("node-drag-leave",v.node,p.node,u),t.emit("node-drag-enter",v.node,h.node,u)),m||g||b?r.value.dropNode=h:r.value.dropNode=null,h.node.nextSibling===v.node&&(b=!1),h.node.previousSibling===v.node&&(m=!1),h.node.contains(v.node,!1)&&(g=!1),(v.node===h.node||v.node.contains(h.node))&&(m=!1,g=!1,b=!1);const w=h.$el,C=w.querySelector(`.${o.be("node","content")}`).getBoundingClientRect(),x=n.value.getBoundingClientRect(),E=n.value.scrollTop;let T;const R=m?g?.25:b?.45:1:Number.NEGATIVE_INFINITY,I=b?g?.75:m?.55:0:Number.POSITIVE_INFINITY;let M=-9999;const $=u.clientY-C.top;$C.height*I?T="after":g?T="inner":T="none";const O=w.querySelector(`.${o.be("node","expand-icon")}`).getBoundingClientRect(),B=s.value;T==="before"?M=O.top-x.top+E:T==="after"&&(M=O.bottom-x.top+E),B.style.top=`${M}px`,B.style.left=`${O.right-x.left}px`,T==="inner"?Lo(w,o.is("drop-inner")):ra(w,o.is("drop-inner")),r.value.showDropIndicator=T==="before"||T==="after",r.value.allowDrop=r.value.showDropIndicator||_,r.value.dropType=T,t.emit("node-drag-over",v.node,h.node,u)},treeNodeDragEnd:u=>{var d,h;const{draggingNode:p,dropType:v,dropNode:m}=r.value;if(u.preventDefault(),u.dataTransfer&&(u.dataTransfer.dropEffect="move"),p!=null&&p.node.data&&m){const g={data:p.node.data};v!=="none"&&p.node.remove(),v==="before"?(d=m.node.parent)==null||d.insertBefore(g,m.node):v==="after"?(h=m.node.parent)==null||h.insertAfter(g,m.node):v==="inner"&&m.node.insertChild(g),v!=="none"&&(a.value.registerNode(g),a.value.key&&p.node.eachNode(b=>{var _;(_=a.value.nodesMap[b.data[a.value.key]])==null||_.setChecked(b.checked,!a.value.checkStrictly)})),ra(m.$el,o.is("drop-inner")),t.emit("node-drag-end",p.node,m.node,v,u),v!=="none"&&t.emit("node-drop",p.node,m.node,v,u)}p&&!m&&t.emit("node-drag-end",p.node,null,v,u),r.value.showDropIndicator=!1,r.value.draggingNode=null,r.value.dropNode=null,r.value.allowDrop=!0}}),{dragState:r}}var h0e=W({name:"ElTreeNode",components:{ElCollapseTransition:Kg,ElCheckbox:mr,NodeContent:d0e,ElIcon:Je,Loading:Ns},props:{node:{type:r8,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:Boolean},emits:["node-expand"],setup(e,t){const n=Ee("tree"),{broadcastExpanded:s}=MM(e),a=je(i8),o=F(!1),r=F(!1),i=F(),l=F(),c=F(),u=je(PM),d=_t();Tt(AM,d),e.node.expanded&&(o.value=!0,r.value=!0);const h=a.props.props.children||"children";me(()=>{var I;const M=(I=e.node.data)==null?void 0:I[h];return M&&[...M]},()=>{e.node.updateChildren()}),me(()=>e.node.indeterminate,I=>{m(e.node.checked,I)}),me(()=>e.node.checked,I=>{m(I,e.node.indeterminate)}),me(()=>e.node.childNodes.length,()=>e.node.reInitChecked()),me(()=>e.node.expanded,I=>{ze(()=>o.value=I),I&&(r.value=!0)});const p=I=>s8(a.props.nodeKey,I.data),v=I=>{const M=e.props.class;if(!M)return{};let $;if(et(M)){const{data:O}=I;$=M(O,I)}else $=M;return Xe($)?{[$]:!0}:$},m=(I,M)=>{(i.value!==I||l.value!==M)&&a.ctx.emit("check-change",e.node.data,I,M),i.value=I,l.value=M},g=I=>{a8(a.store,a.ctx.emit,()=>{var M;if((M=a==null?void 0:a.props)==null?void 0:M.nodeKey){const O=p(e.node);a.store.value.setCurrentNodeKey(O)}else a.store.value.setCurrentNode(e.node)}),a.currentNode.value=e.node,a.props.expandOnClickNode&&_(),(a.props.checkOnClickNode||e.node.isLeaf&&a.props.checkOnClickLeaf&&e.showCheckbox)&&!e.node.disabled&&w(!e.node.checked),a.ctx.emit("node-click",e.node.data,e.node,d,I)},b=I=>{var M;(M=a.instance.vnode.props)!=null&&M.onNodeContextmenu&&(I.stopPropagation(),I.preventDefault()),a.ctx.emit("node-contextmenu",I,e.node.data,e.node,d)},_=()=>{e.node.isLeaf||(o.value?(a.ctx.emit("node-collapse",e.node.data,e.node,d),e.node.collapse()):e.node.expand(()=>{t.emit("node-expand",e.node.data,e.node,d)}))},w=I=>{const M=a==null?void 0:a.props.checkStrictly,$=e.node.childNodes;!M&&$.length&&(I=$.some(O=>!O.isEffectivelyChecked)),e.node.setChecked(I,!M),ze(()=>{const O=a.store.value;a.ctx.emit("check",e.node.data,{checkedNodes:O.getCheckedNodes(),checkedKeys:O.getCheckedKeys(),halfCheckedNodes:O.getHalfCheckedNodes(),halfCheckedKeys:O.getHalfCheckedKeys()})})};return{ns:n,node$:c,tree:a,expanded:o,childNodeRendered:r,oldChecked:i,oldIndeterminate:l,getNodeKey:p,getNodeClass:v,handleSelectChange:m,handleClick:g,handleContextMenu:b,handleExpandIconClick:_,handleCheckChange:w,handleChildNodeExpand:(I,M,$)=>{s(M),a.ctx.emit("node-expand",I,M,$)},handleDragStart:I=>{a.props.draggable&&u.treeNodeDragStart({event:I,treeNode:e})},handleDragOver:I=>{I.preventDefault(),a.props.draggable&&u.treeNodeDragOver({event:I,treeNode:{$el:c.value,node:e.node}})},handleDrop:I=>{I.preventDefault()},handleDragEnd:I=>{a.props.draggable&&u.treeNodeDragEnd(I)},CaretRight:Ny}}});const p0e=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],v0e=["aria-expanded"];function m0e(e,t,n,s,a,o){const r=Ge("el-icon"),i=Ge("el-checkbox"),l=Ge("loading"),c=Ge("node-content"),u=Ge("el-tree-node"),d=Ge("el-collapse-transition");return gt((S(),P("div",{ref:"node$",class:D([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[2]||(t[2]=lt((...h)=>e.handleClick&&e.handleClick(...h),["stop"])),onContextmenu:t[3]||(t[3]=(...h)=>e.handleContextMenu&&e.handleContextMenu(...h)),onDragstart:t[4]||(t[4]=lt((...h)=>e.handleDragStart&&e.handleDragStart(...h),["stop"])),onDragover:t[5]||(t[5]=lt((...h)=>e.handleDragOver&&e.handleDragOver(...h),["stop"])),onDragend:t[6]||(t[6]=lt((...h)=>e.handleDragEnd&&e.handleDragEnd(...h),["stop"])),onDrop:t[7]||(t[7]=lt((...h)=>e.handleDrop&&e.handleDrop(...h),["stop"]))},[A("div",{class:D(e.ns.be("node","content")),style:tt({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(S(),le(r,{key:0,class:D([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:lt(e.handleExpandIconClick,["stop"])},{default:X(()=>[(S(),le(bt(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):ie("v-if",!0),e.showCheckbox?(S(),le(i,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:t[0]||(t[0]=lt(()=>{},["stop"])),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):ie("v-if",!0),e.node.loading?(S(),le(r,{key:2,class:D([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:X(()=>[j(l)]),_:1},8,["class"])):ie("v-if",!0),j(c,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),j(d,null,{default:X(()=>[!e.renderAfterExpand||e.childNodeRendered?gt((S(),P("div",{key:0,class:D(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded,onClick:t[1]||(t[1]=lt(()=>{},["stop"]))},[(S(!0),P(He,null,yt(e.node.childNodes,h=>(S(),le(u,{key:e.getNodeKey(h),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:h,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,v0e)),[[Bt,e.expanded]]):ie("v-if",!0)]),_:1})],42,p0e)),[[Bt,e.node.visible]])}var g0e=is(h0e,[["render",m0e]]);function b0e({el$:e},t){const n=Ee("tree");St(()=>{o()}),or(()=>{var r;(r=e.value)==null||r.querySelectorAll("input[type=checkbox]").forEach(i=>{i.setAttribute("tabindex","-1")})});function s(r,i){var l,c;const u=t.value.getNode(r[i].dataset.key);return u.canFocus&&u.visible&&(((l=u.parent)==null?void 0:l.expanded)||((c=u.parent)==null?void 0:c.level)===0)}Zt(e,"keydown",r=>{const i=r.target;if(!i.className.includes(n.b("node")))return;const l=an(r),c=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),u=c.indexOf(i);let d;if([Te.up,Te.down].includes(l)){if(r.preventDefault(),l===Te.up){d=u===-1?0:u!==0?u-1:c.length-1;const p=d;for(;!s(c,d);){if(d--,d===p){d=-1;break}d<0&&(d=c.length-1)}}else{d=u===-1?0:u=c.length&&(d=0)}}d!==-1&&c[d].focus()}[Te.left,Te.right].includes(l)&&(r.preventDefault(),i.click());const h=i.querySelector('[type="checkbox"]');[Te.enter,Te.numpadEnter,Te.space].includes(l)&&h&&(r.preventDefault(),h.click())});const o=()=>{var r;if(!e.value)return;const i=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));Array.from(e.value.querySelectorAll("input[type=checkbox]")).forEach(u=>{u.setAttribute("tabindex","-1")});const c=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);if(c.length){c[0].setAttribute("tabindex","0");return}(r=i[0])==null||r.setAttribute("tabindex","0")}}const RM=Me({data:{type:re(Array),default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},checkDescendants:Boolean,autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:{type:Array},defaultExpandedKeys:{type:Array},currentNodeKey:{type:[String,Number]},renderContent:{type:re(Function)},showCheckbox:Boolean,draggable:Boolean,allowDrag:{type:re(Function)},allowDrop:{type:re(Function)},props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:Boolean,highlightCurrent:Boolean,load:{type:Function},filterNodeMethod:{type:Function},accordion:Boolean,indent:{type:Number,default:18},icon:{type:en}});var y0e=W({name:"ElTree",components:{ElTreeNode:g0e},props:RM,emits:{"check-change":(e,t,n)=>e&&Qt(t)&&Qt(n),"current-change":(e,t)=>!0,"node-click":(e,t,n,s)=>e&&t&&s instanceof Event,"node-contextmenu":(e,t,n,s)=>e instanceof Event&&t&&n,"node-collapse":(e,t,n)=>e&&t,"node-expand":(e,t,n)=>e&&t,check:(e,t)=>e&&t,"node-drag-start":(e,t)=>e&&t,"node-drag-end":(e,t,n,s)=>e&&s,"node-drop":(e,t,n,s)=>e&&t&&s,"node-drag-leave":(e,t,n)=>e&&t&&n,"node-drag-enter":(e,t,n)=>e&&t&&n,"node-drag-over":(e,t,n)=>e&&t&&n},setup(e,t){const{t:n}=It(),s=Ee("tree"),a=F(new u0e({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}));a.value.initialize();const o=F(a.value.root),r=F(null),i=F(null),l=F(null),{broadcastExpanded:c}=MM(e),{dragState:u}=f0e({props:e,ctx:t,el$:i,dropIndicator$:l,store:a});b0e({el$:i},a);const d=_t(),h=k(()=>{let z=d==null?void 0:d.parent;for(;z;){if(z.type.name==="ElTreeSelect")return!0;z=z.parent}return!1}),p=k(()=>{const{childNodes:z}=o.value;return(!z||z.length===0||z.every(({visible:G})=>!G))&&!h.value});me(()=>e.currentNodeKey,z=>{a.value.setCurrentNodeKey(z??null)}),me(()=>e.defaultCheckedKeys,(z,G)=>{$n(z,G)||a.value.setDefaultCheckedKey(z??[])}),me(()=>e.defaultExpandedKeys,z=>{a.value.setDefaultExpandedKeys(z??[])}),me(()=>e.data,z=>{a.value.setData(z)},{deep:!0}),me(()=>e.checkStrictly,z=>{a.value.checkStrictly=z});const v=z=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");a.value.filter(z)},m=z=>s8(e.nodeKey,z.data),g=z=>{if(!e.nodeKey)throw new Error(`[Tree] nodeKey is required in ${z}`)},b=z=>{g("getNodePath");const G=a.value.getNode(z);if(!G)return[];const Q=[G.data];let K=G.parent;for(;K&&K!==o.value;)Q.push(K.data),K=K.parent;return Q.reverse()},_=(z,G)=>a.value.getCheckedNodes(z,G),w=z=>a.value.getCheckedKeys(z),C=()=>{const z=a.value.getCurrentNode();return z?z.data:null},x=()=>{g("getCurrentKey");const z=C();return z?z[e.nodeKey]:null},E=(z,G)=>{g("setCheckedNodes"),a.value.setCheckedNodes(z,G)},T=(z,G)=>{g("setCheckedKeys"),a.value.setCheckedKeys(z,G)},R=(z,G,Q)=>{a.value.setChecked(z,G,Q)},I=()=>a.value.getHalfCheckedNodes(),M=()=>a.value.getHalfCheckedKeys(),$=(z,G=!0)=>{g("setCurrentNode"),a8(a,t.emit,()=>{c(z),a.value.setUserCurrentNode(z,G)})},O=(z=null,G=!0)=>{g("setCurrentKey"),a8(a,t.emit,()=>{c(),a.value.setCurrentNodeKey(z,G)})},B=z=>a.value.getNode(z),U=z=>{a.value.remove(z)},J=(z,G)=>{a.value.append(z,G)},Y=(z,G)=>{a.value.insertBefore(z,G)},N=(z,G)=>{a.value.insertAfter(z,G)},L=(z,G,Q)=>{c(G),t.emit("node-expand",z,G,Q)},V=(z,G)=>{g("updateKeyChild"),a.value.updateChildren(z,G)};return Tt(i8,{ctx:t,props:e,store:a,root:o,currentNode:r,instance:d}),Tt(ni,void 0),{ns:s,store:a,root:o,currentNode:r,dragState:u,el$:i,dropIndicator$:l,isEmpty:p,filter:v,getNodeKey:m,getNodePath:b,getCheckedNodes:_,getCheckedKeys:w,getCurrentNode:C,getCurrentKey:x,setCheckedNodes:E,setCheckedKeys:T,setChecked:R,getHalfCheckedNodes:I,getHalfCheckedKeys:M,setCurrentNode:$,setCurrentKey:O,t:n,getNode:B,remove:U,append:J,insertBefore:Y,insertAfter:N,handleNodeExpand:L,updateKeyChildren:V}}});function w0e(e,t,n,s,a,o){const r=Ge("el-tree-node");return S(),P("div",{ref:"el$",class:D([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"},[(S(!0),P(He,null,yt(e.root.childNodes,i=>(S(),le(r,{key:e.getNodeKey(i),node:i,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?(S(),P("div",{key:0,class:D(e.ns.e("empty-block"))},[ue(e.$slots,"empty",{},()=>{var i;return[A("span",{class:D(e.ns.e("empty-text"))},ve((i=e.emptyText)!=null?i:e.t("el.tree.emptyText")),3)]})],2)):ie("v-if",!0),gt(A("div",{ref:"dropIndicator$",class:D(e.ns.e("drop-indicator"))},null,2),[[Bt,e.dragState.showDropIndicator]])],2)}var _0e=is(y0e,[["render",w0e]]);const l8=pt(_0e),C0e=(e,{attrs:t,emit:n},{select:s,tree:a,key:o})=>{const r=Ee("tree-select");me(()=>e.data,()=>{e.filterable&&ze(()=>{var c,u;(u=a.value)==null||u.filter((c=s.value)==null?void 0:c.states.inputValue)})},{flush:"post"});const i=c=>{var u;const d=c.at(-1);if(d.expanded&&d.childNodes.at(-1))i([d.childNodes.at(-1)]);else{const h=(u=a.value.el$)==null?void 0:u.querySelector(`[data-key="${c.at(-1).key}"]`);h==null||h.focus({preventScroll:!0});return}};return St(()=>{Zt(()=>{var c;return(c=s.value)==null?void 0:c.$el},"keydown",async c=>{const u=an(c),{dropdownMenuVisible:d}=s.value;[Te.down,Te.up].includes(u)&&d&&(await ze(),setTimeout(()=>{var h,p,v;if(Te.up===u){const m=a.value.store.root.childNodes;i(m);return}(v=(p=(h=s.value.optionsArray[s.value.states.hoveringIndex].$el)==null?void 0:h.parentNode)==null?void 0:p.parentNode)==null||v.focus({preventScroll:!0})}))},{capture:!0})}),{...Ui(ps(e),Object.keys(cc.props)),...t,class:k(()=>t.class),style:k(()=>t.style),"onUpdate:modelValue":c=>n(ct,c),valueKey:o,popperClass:k(()=>{const c=[r.e("popper")];return e.popperClass&&c.push(e.popperClass),c.join(" ")}),filterMethod:(c="")=>{var u;e.filterMethod?e.filterMethod(c):e.remoteMethod?e.remoteMethod(c):(u=a.value)==null||u.filter(c)}}},S0e=W({extends:Hg,setup(e,t){const n=Hg.setup(e,t);delete n.selectOptionClick;const s=_t().proxy;return ze(()=>{n.select.states.cachedOptions.get(s.value)||n.select.onOptionCreate(s)}),me(()=>t.attrs.visible,a=>{ze(()=>{n.states.visible=a})},{immediate:!0}),n},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function c8(e){return e||e===0}function u8(e){return ke(e)&&e.length}function nh(e){return ke(e)?e:c8(e)?[e]:[]}function A1(e,t,n,s,a){for(let o=0;o{me([()=>e.modelValue,o],()=>{e.showCheckbox&&ze(()=>{const h=o.value;h&&!$n(h.getCheckedKeys(),nh(e.modelValue))&&h.setCheckedKeys(nh(e.modelValue))})},{immediate:!0,deep:!0});const i=k(()=>({value:r.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...e.props})),l=(h,p)=>{var v;const m=i.value[h];return et(m)?m(p,(v=o.value)==null?void 0:v.getNode(l("value",p))):p[m]},c=nh(e.modelValue).map(h=>A1(e.data||[],p=>l("value",p)===h,p=>l("children",p),(p,v,m,g)=>g&&l("value",g))).filter(h=>c8(h)),u=k(()=>{if(!e.renderAfterExpand&&!e.lazy)return[];const h=[];return T1(e.data.concat(e.cacheData),p=>{const v=l("value",p);h.push({value:v,currentLabel:l("label",p),isDisabled:l("disabled",p)})},p=>l("children",p)),h}),d=()=>{var h;return(h=o.value)==null?void 0:h.getCheckedKeys().filter(p=>{var v;const m=(v=o.value)==null?void 0:v.getNode(p);return!qn(m)&&Pa(m.childNodes)})};return{...Ui(ps(e),Object.keys(l8.props)),...t,nodeKey:r,expandOnClickNode:k(()=>!e.checkStrictly&&e.expandOnClickNode),defaultExpandedKeys:k(()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(c):c),renderContent:(h,{node:p,data:v,store:m})=>h(S0e,{value:l("value",v),label:l("label",v),disabled:l("disabled",v),visible:p.visible},e.renderContent?()=>e.renderContent(h,{node:p,data:v,store:m}):n.default?()=>n.default({node:p,data:v,store:m}):void 0),filterNodeMethod:(h,p,v)=>e.filterNodeMethod?e.filterNodeMethod(h,p,v):h?new RegExp(C3(h),"i").test(l("label",p)||""):!0,onNodeClick:(h,p,v)=>{var m,g,b;if((m=t.onNodeClick)==null||m.call(t,h,p,v),!(e.showCheckbox&&e.checkOnClickNode))if(!e.showCheckbox&&(e.checkStrictly||p.isLeaf)){if(!l("disabled",h)){const _=(g=a.value)==null?void 0:g.states.options.get(l("value",h));(b=a.value)==null||b.handleOptionSelect(_)}}else e.expandOnClickNode&&v.proxy.handleExpandIconClick()},onCheck:(h,p)=>{var v;if(!e.showCheckbox)return;const m=l("value",h),g={};T1([o.value.store.root],C=>g[C.key]=C,C=>C.childNodes);const b=p.checkedKeys,_=e.multiple?nh(e.modelValue).filter(C=>!(C in g)&&!b.includes(C)):[],w=_.concat(b);if(e.checkStrictly)s(ct,e.multiple?w:w.includes(m)?m:void 0);else if(e.multiple){const C=d();s(ct,_.concat(C))}else{const C=A1([h],T=>!u8(l("children",T))&&!l("disabled",T),T=>l("children",T)),x=C?l("value",C):void 0,E=c8(e.modelValue)&&!!A1([h],T=>l("value",T)===e.modelValue,T=>l("children",T));s(ct,x===e.modelValue||E?void 0:x)}ze(()=>{var C;const x=nh(e.modelValue);o.value.setCheckedKeys(x),(C=t.onCheck)==null||C.call(t,h,{checkedKeys:o.value.getCheckedKeys(),checkedNodes:o.value.getCheckedNodes(),halfCheckedKeys:o.value.getHalfCheckedKeys(),halfCheckedNodes:o.value.getHalfCheckedNodes()})}),(v=a.value)==null||v.focus()},onNodeExpand:(h,p,v)=>{var m;(m=t.onNodeExpand)==null||m.call(t,h,p,v),ze(()=>{if(!e.checkStrictly&&e.lazy&&e.multiple&&p.checked){const g={},b=o.value.getCheckedKeys();T1([o.value.store.root],C=>g[C.key]=C,C=>C.childNodes);const _=nh(e.modelValue).filter(C=>!(C in g)&&!b.includes(C)),w=d();s(ct,_.concat(w))}})},cacheOptions:u}};var E0e=W({props:{data:{type:Array,default:()=>[]}},setup(e){const t=je(Vp);return me(()=>e.data,()=>{var n;e.data.forEach(a=>{t.states.cachedOptions.has(a.value)||t.states.cachedOptions.set(a.value,a)});const s=((n=t.selectRef)==null?void 0:n.querySelectorAll("input"))||[];jt&&!Array.from(s).includes(document.activeElement)&&t.setSelected()},{flush:"post",immediate:!0}),()=>{}}}),k0e=W({name:"ElTreeSelect",inheritAttrs:!1,props:{...qE,...RM,cacheData:{type:Array,default:()=>[]}},setup(e,t){const{slots:n,expose:s}=t,a=F(),o=F(),r=k(()=>e.nodeKey||e.valueKey||"value"),i=C0e(e,t,{select:a,tree:o,key:r}),{cacheOptions:l,...c}=x0e(e,t,{select:a,tree:o,key:r}),u=Wt({});return s(u),St(()=>{Object.assign(u,{...Ui(o.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...Ui(a.value,["focus","blur","selectedLabel"]),treeRef:o.value,selectRef:a.value})}),()=>rt(cc,Wt({...i,ref:d=>a.value=d}),{...n,default:()=>[rt(E0e,{data:l.value}),rt(l8,Wt({...c,ref:d=>o.value=d}))]})}});const A0e=pt(k0e),d8=Symbol(),T0e={key:-1,level:-1,data:{}};var lv=(e=>(e.KEY="id",e.LABEL="label",e.CHILDREN="children",e.DISABLED="disabled",e.CLASS="",e))(lv||{}),f8=(e=>(e.ADD="add",e.DELETE="delete",e))(f8||{});const IM={type:Number,default:26},M0e=Me({data:{type:re(Array),default:()=>Rn([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:re(Object),default:()=>Rn({children:"children",label:"label",disabled:"disabled",value:"id",class:""})},highlightCurrent:Boolean,showCheckbox:Boolean,defaultCheckedKeys:{type:re(Array),default:()=>Rn([])},checkStrictly:Boolean,defaultExpandedKeys:{type:re(Array),default:()=>Rn([])},indent:{type:Number,default:16},itemSize:IM,icon:{type:en},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},currentNodeKey:{type:re([String,Number])},accordion:Boolean,filterMethod:{type:re(Function)},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),P0e=Me({node:{type:re(Object),default:()=>Rn(T0e)},expanded:Boolean,checked:Boolean,indeterminate:Boolean,showCheckbox:Boolean,disabled:Boolean,current:Boolean,hiddenExpandIcon:Boolean,itemSize:IM}),R0e=Me({node:{type:re(Object),required:!0}}),OM="node-click",LM="node-drop",NM="node-expand",$M="node-collapse",DM="current-change",FM="check",BM="check-change",VM="node-contextmenu",I0e={[OM]:(e,t,n)=>e&&t&&n,[LM]:(e,t,n)=>e&&t&&n,[NM]:(e,t)=>e&&t,[$M]:(e,t)=>e&&t,[DM]:(e,t)=>e&&t,[FM]:(e,t)=>e&&t,[BM]:(e,t)=>e&&Qt(t),[VM]:(e,t,n)=>e&&t&&n},O0e={click:(e,t)=>!!(e&&t),drop:(e,t)=>!!(e&&t),toggle:e=>!!e,check:(e,t)=>e&&Qt(t)};function L0e(e,t){const n=F(new Set),s=F(new Set),{emit:a}=_t();me([()=>t.value,()=>e.defaultCheckedKeys],()=>ze(()=>{_(e.defaultCheckedKeys)}),{immediate:!0});const o=()=>{if(!t.value||!e.showCheckbox||e.checkStrictly)return;const{levelTreeNodeMap:w,maxLevel:C}=t.value,x=n.value,E=new Set;for(let T=C;T>=1;--T){const R=w.get(T);R&&R.forEach(I=>{const M=I.children;let $=!I.isLeaf||I.disabled||x.has(I.key);if(M){let O=!0,B=!1;for(const U of M){const J=U.key;if(U.isEffectivelyChecked||($=!1),x.has(J))B=!0;else if(E.has(J)){O=!1,B=!0;break}else O=!1}O?x.add(I.key):B?(E.add(I.key),x.delete(I.key)):(x.delete(I.key),E.delete(I.key))}I.isEffectivelyChecked=$})}s.value=E},r=w=>n.value.has(w.key),i=w=>s.value.has(w.key),l=(w,C,x=!0,E=!0)=>{const T=n.value,R=w.children;!e.checkStrictly&&x&&(R!=null&&R.length)&&(C=R.some(M=>!M.isEffectivelyChecked));const I=(M,$)=>{T[$?f8.ADD:f8.DELETE](M.key);const O=M.children;!e.checkStrictly&&O&&O.forEach(B=>{(!B.disabled||B.children)&&I(B,$)})};I(w,C),E&&o(),x&&c(w,C)},c=(w,C)=>{const{checkedNodes:x,checkedKeys:E}=v(),{halfCheckedNodes:T,halfCheckedKeys:R}=m();a(FM,w.data,{checkedKeys:E,checkedNodes:x,halfCheckedKeys:R,halfCheckedNodes:T}),a(BM,w.data,C)};function u(w=!1){return v(w).checkedKeys}function d(w=!1){return v(w).checkedNodes}function h(){return m().halfCheckedKeys}function p(){return m().halfCheckedNodes}function v(w=!1){const C=[],x=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:E}=t.value;n.value.forEach(T=>{const R=E.get(T);R&&(!w||w&&R.isLeaf)&&(x.push(T),C.push(R.data))})}return{checkedKeys:x,checkedNodes:C}}function m(){const w=[],C=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:x}=t.value;s.value.forEach(E=>{const T=x.get(E);T&&(C.push(E),w.push(T.data))})}return{halfCheckedNodes:w,halfCheckedKeys:C}}function g(w){n.value.clear(),s.value.clear(),ze(()=>{_(w)})}function b(w,C){if(t!=null&&t.value&&e.showCheckbox){const x=t.value.treeNodeMap.get(w);x&&l(x,C,!1)}}function _(w){if(t!=null&&t.value){const{treeNodeMap:C}=t.value;if(e.showCheckbox&&C&&(w==null?void 0:w.length)>0){for(const x of w){const E=C.get(x);E&&!r(E)&&l(E,!0,!1,!1)}o()}}}return{updateCheckedKeys:o,toggleCheckbox:l,isChecked:r,isIndeterminate:i,getCheckedKeys:u,getCheckedNodes:d,getHalfCheckedKeys:h,getHalfCheckedNodes:p,setChecked:b,setCheckedKeys:g}}function N0e(e,t){const n=F(new Set([])),s=F(new Set([])),a=k(()=>et(e.filterMethod));function o(i){var l;if(!a.value)return;const c=new Set,u=s.value,d=n.value,h=[],p=((l=t.value)==null?void 0:l.treeNodes)||[],v=e.filterMethod;d.clear();function m(g){g.forEach(b=>{h.push(b),v!=null&&v(i,b.data,b)?h.forEach(w=>{c.add(w.key),w.expanded=!0}):(b.expanded=!1,b.isLeaf&&d.add(b.key));const _=b.children;if(_&&m(_),!b.isLeaf){if(!c.has(b.key))d.add(b.key);else if(_){let w=!0;for(const C of _)if(!d.has(C.key)){w=!1;break}w?u.add(b.key):u.delete(b.key)}}h.pop()})}return m(p),c}function r(i){return s.value.has(i.key)}return{hiddenExpandIconKeySet:s,hiddenNodeKeySet:n,doFilter:o,isForceHiddenExpandIcon:r}}function $0e(e,t){const n=F(new Set),s=F(),a=hn(),o=F(),{isIndeterminate:r,isChecked:i,toggleCheckbox:l,getCheckedKeys:c,getCheckedNodes:u,getHalfCheckedKeys:d,getHalfCheckedNodes:h,setChecked:p,setCheckedKeys:v}=L0e(e,a),{doFilter:m,hiddenNodeKeySet:g,isForceHiddenExpandIcon:b}=N0e(e,a),_=k(()=>{var Z;return((Z=e.props)==null?void 0:Z.value)||lv.KEY}),w=k(()=>{var Z;return((Z=e.props)==null?void 0:Z.children)||lv.CHILDREN}),C=k(()=>{var Z;return((Z=e.props)==null?void 0:Z.disabled)||lv.DISABLED}),x=k(()=>{var Z;return((Z=e.props)==null?void 0:Z.label)||lv.LABEL}),E=k(()=>{var Z;const H=n.value,te=g.value,de=[],be=((Z=a.value)==null?void 0:Z.treeNodes)||[],Ce=[];for(let Se=be.length-1;Se>=0;--Se)Ce.push(be[Se]);for(;Ce.length;){const Se=Ce.pop();if(!te.has(Se.key)&&(de.push(Se),Se.children&&H.has(Se.key)))for(let Ne=Se.children.length-1;Ne>=0;--Ne)Ce.push(Se.children[Ne])}return de}),T=k(()=>E.value.length>0);function R(Z){const H=new Map,te=new Map;let de=1;function be(Se,Ne=1,Ve=void 0){var $e;const _e=[];for(const Oe of Se){const Pe=$(Oe),We={level:Ne,key:Pe,data:Oe};We.label=B(Oe),We.parent=Ve;const Qe=M(Oe);We.disabled=O(Oe),We.isLeaf=!Qe||Qe.length===0,We.expanded=n.value.has(Pe),Qe&&Qe.length&&(We.children=be(Qe,Ne+1,We)),_e.push(We),H.set(Pe,We),te.has(Ne)||te.set(Ne,[]),($e=te.get(Ne))==null||$e.push(We)}return Ne>de&&(de=Ne),_e}const Ce=be(Z);return{treeNodeMap:H,levelTreeNodeMap:te,maxLevel:de,treeNodes:Ce}}function I(Z){const H=m(Z);H&&(n.value=H)}function M(Z){return Z[w.value]}function $(Z){return Z?Z[_.value]:""}function O(Z){return Z[C.value]}function B(Z){return Z[x.value]}function U(Z){n.value.has(Z.key)?G(Z):z(Z)}function J(Z){const H=new Set,te=a.value.treeNodeMap;n.value.forEach(de=>{const be=te.get(de);n.value.delete(be.key),be.expanded=!1}),Z.forEach(de=>{let be=te.get(de);for(;be&&!H.has(be.key);)H.add(be.key),be.expanded=!0,be=be.parent}),n.value=H}function Y(Z,H){t(OM,Z.data,Z,H),L(Z),e.expandOnClickNode&&U(Z),e.showCheckbox&&(e.checkOnClickNode||Z.isLeaf&&e.checkOnClickLeaf)&&!Z.disabled&&l(Z,!i(Z),!0)}function N(Z,H){t(LM,Z.data,Z,H)}function L(Z){K(Z)||(s.value=Z.key,t(DM,Z.data,Z))}function V(Z,H){l(Z,H)}function z(Z){const H=n.value;if(a.value&&e.accordion){const{treeNodeMap:de}=a.value;H.forEach(be=>{const Ce=de.get(be);Z&&Z.level===(Ce==null?void 0:Ce.level)&&(H.delete(be),Ce.expanded=!1)})}H.add(Z.key);const te=pe(Z.key);te&&(te.expanded=!0,t(NM,te.data,te))}function G(Z){n.value.delete(Z.key);const H=pe(Z.key);H&&(H.expanded=!1,t($M,H.data,H))}function Q(Z){return!!Z.disabled}function K(Z){const H=s.value;return H!==void 0&&H===Z.key}function ee(){var Z,H;if(s.value)return(H=(Z=a.value)==null?void 0:Z.treeNodeMap.get(s.value))==null?void 0:H.data}function ae(){return s.value}function fe(Z){s.value=Z}function ne(Z){a.value=R(Z)}function pe(Z){var H;const te=ht(Z)?$(Z):Z;return(H=a.value)==null?void 0:H.treeNodeMap.get(te)}function he(Z,H="auto"){const te=pe(Z);te&&o.value&&o.value.scrollToItem(E.value.indexOf(te),H)}function ce(Z){var H;(H=o.value)==null||H.scrollTo(Z)}return me(()=>e.currentNodeKey,Z=>{s.value=Z},{immediate:!0}),me(()=>e.defaultExpandedKeys,Z=>{n.value=new Set(Z)},{immediate:!0}),me(()=>e.data,Z=>{ne(Z)},{immediate:!0}),{tree:a,flattenTree:E,isNotEmpty:T,listRef:o,getKey:$,getChildren:M,toggleExpand:U,toggleCheckbox:l,isChecked:i,isIndeterminate:r,isDisabled:Q,isCurrent:K,isForceHiddenExpandIcon:b,handleNodeClick:Y,handleNodeDrop:N,handleNodeCheck:V,getCurrentNode:ee,getCurrentKey:ae,setCurrentKey:fe,getCheckedKeys:c,getCheckedNodes:u,getHalfCheckedKeys:d,getHalfCheckedNodes:h,setChecked:p,setCheckedKeys:v,filter:I,setData:ne,getNode:pe,expandNode:z,collapseNode:G,setExpandedKeys:J,scrollToNode:he,scrollTo:ce}}var D0e=W({name:"ElTreeNodeContent",props:R0e,setup(e){const t=je(d8),n=Ee("tree");return()=>{const s=e.node,{data:a}=s;return t!=null&&t.ctx.slots.default?t.ctx.slots.default({node:s,data:a}):rt(Q6,{tag:"span",truncated:!0,class:n.be("node","label")},()=>[s==null?void 0:s.label])}}});const F0e=["aria-expanded","aria-disabled","aria-checked","data-key"];var B0e=W({name:"ElTreeNode",__name:"tree-node",props:P0e,emits:O0e,setup(e,{emit:t}){const n=e,s=t,a=je(d8),o=Ee("tree"),r=k(()=>{var v;return(v=a==null?void 0:a.props.indent)!=null?v:16}),i=k(()=>{var v;return(v=a==null?void 0:a.props.icon)!=null?v:Ny}),l=v=>{var m;const g=(m=a==null?void 0:a.props.props)==null?void 0:m.class;if(!g)return{};let b;if(et(g)){const{data:_}=v;b=g(_,v)}else b=g;return Xe(b)?{[b]:!0}:b},c=v=>{s("click",n.node,v)},u=v=>{s("drop",n.node,v)},d=()=>{s("toggle",n.node)},h=v=>{s("check",n.node,v)},p=v=>{var m,g,b,_;(b=(g=(m=a==null?void 0:a.instance)==null?void 0:m.vnode)==null?void 0:g.props)!=null&&b.onNodeContextmenu&&(v.stopPropagation(),v.preventDefault()),a==null||a.ctx.emit(VM,v,(_=n.node)==null?void 0:_.data,n.node)};return(v,m)=>{var g,b,_;return S(),P("div",{ref:"node$",class:D([f(o).b("node"),f(o).is("expanded",e.expanded),f(o).is("current",e.current),f(o).is("focusable",!e.disabled),f(o).is("checked",!e.disabled&&e.checked),l(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.disabled,"aria-checked":e.checked,"data-key":(g=e.node)==null?void 0:g.key,onClick:lt(c,["stop"]),onContextmenu:p,onDragover:m[1]||(m[1]=lt(()=>{},["prevent"])),onDragenter:m[2]||(m[2]=lt(()=>{},["prevent"])),onDrop:lt(u,["stop"])},[A("div",{class:D(f(o).be("node","content")),style:tt({paddingLeft:`${(e.node.level-1)*r.value}px`,height:e.itemSize+"px"})},[i.value?(S(),le(f(Je),{key:0,class:D([f(o).is("leaf",!!((b=e.node)!=null&&b.isLeaf)),f(o).is("hidden",e.hiddenExpandIcon),{expanded:!((_=e.node)!=null&&_.isLeaf)&&e.expanded},f(o).be("node","expand-icon")]),onClick:lt(d,["stop"])},{default:X(()=>[(S(),le(bt(i.value)))]),_:1},8,["class"])):ie("v-if",!0),e.showCheckbox?(S(),le(f(mr),{key:1,"model-value":e.checked,indeterminate:e.indeterminate,disabled:e.disabled,onChange:h,onClick:m[0]||(m[0]=lt(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):ie("v-if",!0),j(f(D0e),{node:{...e.node,expanded:e.expanded}},null,8,["node"])],6)],42,F0e)}}}),V0e=W({name:"ElTreeV2",__name:"tree",props:M0e,emits:I0e,setup(e,{expose:t,emit:n}){const s=e,a=n,o=zn(),r=k(()=>s.itemSize);Tt(d8,{ctx:{emit:a,slots:o},props:s,instance:_t()}),Tt(ni,void 0);const{t:i}=It(),l=Ee("tree"),{flattenTree:c,isNotEmpty:u,listRef:d,toggleExpand:h,isIndeterminate:p,isChecked:v,isDisabled:m,isCurrent:g,isForceHiddenExpandIcon:b,handleNodeClick:_,handleNodeDrop:w,handleNodeCheck:C,toggleCheckbox:x,getCurrentNode:E,getCurrentKey:T,setCurrentKey:R,getCheckedKeys:I,getCheckedNodes:M,getHalfCheckedKeys:$,getHalfCheckedNodes:O,setChecked:B,setCheckedKeys:U,filter:J,setData:Y,getNode:N,expandNode:L,collapseNode:V,setExpandedKeys:z,scrollToNode:G,scrollTo:Q}=$0e(s,a);return t({toggleCheckbox:x,getCurrentNode:E,getCurrentKey:T,setCurrentKey:R,getCheckedKeys:I,getCheckedNodes:M,getHalfCheckedKeys:$,getHalfCheckedNodes:O,setChecked:B,setCheckedKeys:U,filter:J,setData:Y,getNode:N,expandNode:L,collapseNode:V,setExpandedKeys:z,scrollToNode:G,scrollTo:Q}),(K,ee)=>(S(),P("div",{class:D([f(l).b(),{[f(l).m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[f(u)?(S(),le(f(rT),{key:0,ref_key:"listRef",ref:d,"class-name":f(l).b("virtual-list"),data:f(c),total:f(c).length,height:e.height,"item-size":r.value,"perf-mode":e.perfMode,"scrollbar-always-on":e.scrollbarAlwaysOn},{default:X(({data:ae,index:fe,style:ne})=>[(S(),le(B0e,{key:ae[fe].key,style:tt(ne),node:ae[fe],expanded:ae[fe].expanded,"show-checkbox":e.showCheckbox,checked:f(v)(ae[fe]),indeterminate:f(p)(ae[fe]),"item-size":r.value,disabled:f(m)(ae[fe]),current:f(g)(ae[fe]),"hidden-expand-icon":f(b)(ae[fe]),onClick:f(_),onToggle:f(h),onCheck:f(C),onDrop:f(w)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck","onDrop"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode","scrollbar-always-on"])):(S(),P("div",{key:1,class:D(f(l).e("empty-block"))},[ue(K.$slots,"empty",{},()=>{var ae;return[A("span",{class:D(f(l).e("empty-text"))},ve((ae=e.emptyText)!=null?ae:f(i)("el.tree.emptyText")),3)]})],2))],2))}});const z0e=pt(V0e);var H0e=Object.defineProperty,W0e=(e,t,n)=>t in e?H0e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,M1=(e,t,n)=>W0e(e,typeof t!="symbol"?t+"":t,n);const j0e="ElUpload";class K0e extends Error{constructor(t,n,s,a){super(t),M1(this,"name","UploadAjaxError"),M1(this,"status"),M1(this,"method"),M1(this,"url"),this.status=n,this.method=s,this.url=a}}function zM(e,t,n){let s;return n.response?s=`${n.response.error||n.response}`:n.responseText?s=`${n.responseText}`:s=`fail to ${t.method} ${e} ${n.status}`,new K0e(s,n.status,t.method,e)}function U0e(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const q0e=e=>{typeof XMLHttpRequest>"u"&&Xn(j0e,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",o=>{const r=o;r.percent=o.total>0?o.loaded/o.total*100:0,e.onProgress(r)});const s=new FormData;if(e.data)for(const[o,r]of Object.entries(e.data))ke(r)&&r.length?s.append(o,...r):s.append(o,r);s.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(zM(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(zM(n,e,t));e.onSuccess(U0e(t))}),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const a=e.headers||{};if(a instanceof Headers)a.forEach((o,r)=>t.setRequestHeader(r,o));else for(const[o,r]of Object.entries(a))qn(r)||t.setRequestHeader(o,String(r));return t.send(s),t},HM=["text","picture","picture-card"];let G0e=1;const h8=()=>Date.now()+G0e++,WM=Me({action:{type:String,default:"#"},headers:{type:re(Object)},method:{type:String,default:"post"},data:{type:re([Object,Function,Promise]),default:()=>Rn({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:re(Array),default:()=>Rn([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:HM,default:"text"},httpRequest:{type:re(Function),default:q0e},disabled:{type:Boolean,default:void 0},limit:Number,directory:Boolean}),Y0e=Me({...WM,beforeUpload:{type:re(Function),default:qt},beforeRemove:{type:re(Function)},onRemove:{type:re(Function),default:qt},onChange:{type:re(Function),default:qt},onPreview:{type:re(Function),default:qt},onSuccess:{type:re(Function),default:qt},onProgress:{type:re(Function),default:qt},onError:{type:re(Function),default:qt},onExceed:{type:re(Function),default:qt},crossorigin:{type:re(String)}}),jM=Symbol("uploadContextKey"),X0e=Me({files:{type:re(Array),default:()=>Rn([])},disabled:{type:Boolean,default:void 0},handlePreview:{type:re(Function),default:qt},listType:{type:String,values:HM,default:"text"},crossorigin:{type:re(String)}}),J0e={remove:e=>!!e},Z0e=["tabindex","aria-disabled","onKeydown"],Q0e=["src","crossorigin"],epe=["onClick"],tpe=["title"],npe=["onClick"],spe=["onClick"];var KM=W({name:"ElUploadList",__name:"upload-list",props:X0e,emits:J0e,setup(e,{emit:t}){const n=e,s=t,{t:a}=It(),o=Ee("upload"),r=Ee("icon"),i=Ee("list"),l=In(),c=F(!1),u=k(()=>[o.b("list"),o.bm("list",n.listType),o.is("disabled",l.value)]),d=h=>{s("remove",h)};return(h,p)=>(S(),le(BS,{tag:"ul",class:D(u.value),name:f(i).b()},{default:X(()=>[(S(!0),P(He,null,yt(e.files,(v,m)=>(S(),P("li",{key:v.uid||v.name,class:D([f(o).be("list","item"),f(o).is(v.status),{focusing:c.value}]),tabindex:f(l)?void 0:0,"aria-disabled":f(l),role:"button",onKeydown:Nn(g=>!f(l)&&d(v),["delete"]),onFocus:p[0]||(p[0]=g=>c.value=!0),onBlur:p[1]||(p[1]=g=>c.value=!1),onClick:p[2]||(p[2]=g=>c.value=!1)},[ue(h.$slots,"default",{file:v,index:m},()=>[e.listType==="picture"||v.status!=="uploading"&&e.listType==="picture-card"?(S(),P("img",{key:0,class:D(f(o).be("list","item-thumbnail")),src:v.url,crossorigin:e.crossorigin,alt:""},null,10,Q0e)):ie("v-if",!0),v.status==="uploading"||e.listType!=="picture-card"?(S(),P("div",{key:1,class:D(f(o).be("list","item-info"))},[A("a",{class:D(f(o).be("list","item-name")),onClick:lt(g=>e.handlePreview(v),["prevent"])},[j(f(Je),{class:D(f(r).m("document"))},{default:X(()=>[j(f(_g))]),_:1},8,["class"]),A("span",{class:D(f(o).be("list","item-file-name")),title:v.name},ve(v.name),11,tpe)],10,epe),v.status==="uploading"?(S(),le(f(UA),{key:0,type:e.listType==="picture-card"?"circle":"line","stroke-width":e.listType==="picture-card"?6:2,percentage:Number(v.percentage),style:tt(e.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):ie("v-if",!0)],2)):ie("v-if",!0),A("label",{class:D(f(o).be("list","item-status-label"))},[e.listType==="text"?(S(),le(f(Je),{key:0,class:D([f(r).m("upload-success"),f(r).m("circle-check")])},{default:X(()=>[j(f(xp))]),_:1},8,["class"])):["picture-card","picture"].includes(e.listType)?(S(),le(f(Je),{key:1,class:D([f(r).m("upload-success"),f(r).m("check")])},{default:X(()=>[j(f(Mf))]),_:1},8,["class"])):ie("v-if",!0)],2),f(l)?ie("v-if",!0):(S(),le(f(Je),{key:2,class:D(f(r).m("close")),onClick:g=>d(v)},{default:X(()=>[j(f(Ua))]),_:1},8,["class","onClick"])),ie(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),ie(" This is a bug which needs to be fixed "),ie(" TODO: Fix the incorrect navigation interaction "),f(l)?ie("v-if",!0):(S(),P("i",{key:3,class:D(f(r).m("close-tip"))},ve(f(a)("el.upload.deleteTip")),3)),e.listType==="picture-card"?(S(),P("span",{key:4,class:D(f(o).be("list","item-actions"))},[A("span",{class:D(f(o).be("list","item-preview")),onClick:g=>e.handlePreview(v)},[j(f(Je),{class:D(f(r).m("zoom-in"))},{default:X(()=>[j(f(xg))]),_:1},8,["class"])],10,npe),f(l)?ie("v-if",!0):(S(),P("span",{key:0,class:D(f(o).be("list","item-delete")),onClick:g=>d(v)},[j(f(Je),{class:D(f(r).m("delete"))},{default:X(()=>[j(f(qx))]),_:1},8,["class"])],10,spe))],2)):ie("v-if",!0)])],42,Z0e))),128)),ue(h.$slots,"append")]),_:3},8,["class","name"]))}});const ape=Me({...WM,beforeUpload:{type:re(Function),default:qt},onRemove:{type:re(Function),default:qt},onStart:{type:re(Function),default:qt},onSuccess:{type:re(Function),default:qt},onProgress:{type:re(Function),default:qt},onError:{type:re(Function),default:qt},onExceed:{type:re(Function),default:qt}}),ope=Me({disabled:{type:Boolean,default:void 0},directory:Boolean}),rpe={file:e=>ke(e)},UM="ElUploadDrag";var ipe=W({name:UM,__name:"upload-dragger",props:ope,emits:rpe,setup(e,{emit:t}){const n=e,s=t;je(jM)||Xn(UM,"usage: ");const o=Ee("upload"),r=F(!1),i=In(),l=p=>new Promise((v,m)=>p.file(v,m)),c=async p=>{try{if(p.isFile){const v=await l(p);return v.isDirectory=!1,[v]}if(p.isDirectory){const v=p.createReader(),m=()=>new Promise((C,x)=>v.readEntries(C,x)),g=[];let b=await m();for(;b.length>0;)g.push(...b),b=await m();const _=g.map(C=>c(C).catch(()=>[])),w=await Promise.all(_);return lg(w)}}catch{return[]}return[]},u=async p=>{if(i.value)return;r.value=!1,p.stopPropagation();const v=Array.from(p.dataTransfer.files),m=p.dataTransfer.items||[];if(n.directory){const g=Array.from(m).map(_=>{var w;return(w=_==null?void 0:_.webkitGetAsEntry)==null?void 0:w.call(_)}).filter(_=>_),b=await Promise.all(g.map(c));s("file",lg(b));return}v.forEach((g,b)=>{var _;const w=m[b],C=(_=w==null?void 0:w.webkitGetAsEntry)==null?void 0:_.call(w);C&&(g.isDirectory=C.isDirectory)}),s("file",v)},d=()=>{i.value||(r.value=!0)},h=p=>{p.currentTarget.contains(p.relatedTarget)||(r.value=!1)};return(p,v)=>(S(),P("div",{class:D([f(o).b("dragger"),f(o).is("dragover",r.value)]),onDrop:lt(u,["prevent"]),onDragover:lt(d,["prevent"]),onDragleave:lt(h,["prevent"])},[ue(p.$slots,"default")],34))}});const lpe=["tabindex","aria-disabled","onKeydown"],cpe=["name","disabled","multiple","accept","webkitdirectory"];var qM=W({name:"ElUploadContent",inheritAttrs:!1,__name:"upload-content",props:ape,setup(e,{expose:t}){const n=e,s=Ee("upload"),a=In(),o=hn({}),r=hn(),i=m=>{if(m.length===0)return;const{autoUpload:g,limit:b,fileList:_,multiple:w,onStart:C,onExceed:x}=n;if(b&&_.length+m.length>b){x(m,_);return}w||(m=m.slice(0,1));for(const E of m){const T=E;T.uid=h8(),C(T),g&&l(T)}},l=async m=>{if(r.value.value="",!n.beforeUpload)return u(m);let g,b={};try{const w=n.data,C=n.beforeUpload(m);b=R0(n.data)?ug(n.data):n.data,g=await C,R0(n.data)&&$n(w,b)&&(b=ug(n.data))}catch{g=!1}if(g===!1){n.onRemove(m);return}let _=m;g instanceof Blob&&(g instanceof File?_=g:_=new File([g],m.name,{type:m.type})),u(Object.assign(_,{uid:m.uid}),b)},c=async(m,g)=>et(m)?m(g):m,u=async(m,g)=>{const{headers:b,data:_,method:w,withCredentials:C,name:x,action:E,onProgress:T,onSuccess:R,onError:I,httpRequest:M}=n;try{g=await c(g??_,m)}catch{n.onRemove(m);return}const{uid:$}=m,O={headers:b||{},withCredentials:C,file:m,data:g,method:w,filename:x,action:E,onProgress:U=>{T(U,m)},onSuccess:U=>{R(U,m),delete o.value[$]},onError:U=>{I(U,m),delete o.value[$]}},B=M(O);o.value[$]=B,B instanceof Promise&&B.then(O.onSuccess,O.onError)},d=m=>{const g=m.target.files;g&&i(Array.from(g))},h=()=>{a.value||(r.value.value="",r.value.click())},p=()=>{h()};return t({abort:m=>{Nx(o.value).filter(m?([b])=>String(m.uid)===b:()=>!0).forEach(([b,_])=>{_ instanceof XMLHttpRequest&&_.abort(),delete o.value[b]})},upload:l}),(m,g)=>(S(),P("div",{class:D([f(s).b(),f(s).m(e.listType),f(s).is("drag",e.drag),f(s).is("disabled",f(a))]),tabindex:f(a)?void 0:0,"aria-disabled":f(a),role:"button",onClick:h,onKeydown:Nn(lt(p,["self"]),["enter","space"])},[e.drag?(S(),le(ipe,{key:0,disabled:f(a),directory:e.directory,onFile:i},{default:X(()=>[ue(m.$slots,"default")]),_:3},8,["disabled","directory"])):ue(m.$slots,"default",{key:1}),A("input",{ref_key:"inputRef",ref:r,class:D(f(s).e("input")),name:e.name,disabled:f(a),multiple:e.multiple,accept:e.accept,webkitdirectory:e.directory||void 0,type:"file",onChange:d,onClick:g[0]||(g[0]=lt(()=>{},["stop"]))},null,42,cpe)],42,lpe))}});const GM="ElUpload",YM=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},upe=(e,t)=>{const n=Ex(e,"fileList",void 0,{passive:!0}),s=v=>n.value.find(m=>m.uid===v.uid);function a(v){var m;(m=t.value)==null||m.abort(v)}function o(v=["ready","uploading","success","fail"]){n.value=n.value.filter(m=>!v.includes(m.status))}function r(v){n.value=n.value.filter(m=>m.uid!==v.uid)}const i=v=>{ze(()=>e.onChange(v,n.value))},l=(v,m)=>{const g=s(m);g&&(console.error(v),g.status="fail",r(g),e.onError(v,g,n.value),i(g))},c=(v,m)=>{const g=s(m);g&&(e.onProgress(v,g,n.value),g.status="uploading",g.percentage=Math.round(v.percent))},u=(v,m)=>{const g=s(m);g&&(g.status="success",g.response=v,e.onSuccess(v,g,n.value),i(g))},d=v=>{qn(v.uid)&&(v.uid=h8());const m={name:v.name,percentage:0,status:"ready",size:v.size,raw:v,uid:v.uid};if(e.listType==="picture-card"||e.listType==="picture")try{m.url=URL.createObjectURL(v)}catch(g){g.message,e.onError(g,m,n.value)}n.value=[...n.value,m],i(m)},h=async v=>{const m=v instanceof File?s(v):v;m||Xn(GM,"file to be removed not found");const g=b=>{a(b),r(b),e.onRemove(b,n.value),YM(b)};e.beforeRemove?await e.beforeRemove(m,n.value)!==!1&&g(m):g(m)};function p(){n.value.filter(({status:v})=>v==="ready").forEach(({raw:v})=>{var m;return v&&((m=t.value)==null?void 0:m.upload(v))})}return me(()=>e.listType,v=>{v!=="picture-card"&&v!=="picture"||(n.value=n.value.map(m=>{const{raw:g,url:b}=m;if(!b&&g)try{m.url=URL.createObjectURL(g)}catch(_){e.onError(_,m,n.value)}return m}))}),me(n,v=>{for(const m of v)m.uid||(m.uid=h8()),m.status||(m.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:a,clearFiles:o,handleError:l,handleProgress:c,handleStart:d,handleSuccess:u,handleRemove:h,submit:p,revokeFileObjectURL:YM}};var dpe=W({name:"ElUpload",__name:"upload",props:Y0e,setup(e,{expose:t}){const n=e,s=In(),a=hn(),{abort:o,submit:r,clearFiles:i,uploadFiles:l,handleStart:c,handleError:u,handleRemove:d,handleSuccess:h,handleProgress:p,revokeFileObjectURL:v}=upe(n,a),m=k(()=>n.listType==="picture-card"),g=k(()=>({...n,fileList:l.value,onStart:c,onProgress:p,onSuccess:h,onError:u,onRemove:d}));return Gt(()=>{l.value.forEach(v)}),Tt(jM,{accept:Jt(n,"accept")}),t({abort:o,submit:r,clearFiles:i,handleStart:c,handleRemove:d}),(b,_)=>(S(),P("div",null,[m.value&&e.showFileList?(S(),le(KM,{key:0,disabled:f(s),"list-type":e.listType,files:f(l),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:f(d)},ka({append:X(()=>[j(qM,wt({ref_key:"uploadRef",ref:a},g.value),{default:X(()=>[b.$slots.trigger?ue(b.$slots,"trigger",{key:0}):ie("v-if",!0),!b.$slots.trigger&&b.$slots.default?ue(b.$slots,"default",{key:1}):ie("v-if",!0)]),_:3},16)]),_:2},[b.$slots.file?{name:"default",fn:X(({file:w,index:C})=>[ue(b.$slots,"file",{file:w,index:C})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):ie("v-if",!0),!m.value||m.value&&!e.showFileList?(S(),le(qM,wt({key:1,ref_key:"uploadRef",ref:a},g.value),{default:X(()=>[b.$slots.trigger?ue(b.$slots,"trigger",{key:0}):ie("v-if",!0),!b.$slots.trigger&&b.$slots.default?ue(b.$slots,"default",{key:1}):ie("v-if",!0)]),_:3},16)):ie("v-if",!0),b.$slots.trigger?ue(b.$slots,"default",{key:2}):ie("v-if",!0),ue(b.$slots,"tip"),!m.value&&e.showFileList?(S(),le(KM,{key:3,disabled:f(s),"list-type":e.listType,files:f(l),crossorigin:e.crossorigin,"handle-preview":e.onPreview,onRemove:f(d)},ka({_:2},[b.$slots.file?{name:"default",fn:X(({file:w,index:C})=>[ue(b.$slots,"file",{file:w,index:C})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):ie("v-if",!0)]))}});const fpe=pt(dpe),hpe=Me({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:re([String,Array]),default:"Element Plus"},font:{type:re(Object)},gap:{type:re(Array),default:()=>[100,100]},offset:{type:re(Array)}});function ppe(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function vpe(e){return Object.keys(e).map(t=>`${ppe(t)}: ${e[t]};`).join(" ")}function mpe(){return window.devicePixelRatio||1}const gpe=(e,t)=>{let n=!1;return e.removedNodes.length&&t&&(n=Array.from(e.removedNodes).includes(t)),e.type==="attributes"&&e.target===t&&(n=!0),n},bpe={left:[0,.5],start:[0,.5],center:[.5,0],right:[1,-.5],end:[1,-.5]};function p8(e,t,n=1){const s=document.createElement("canvas"),a=s.getContext("2d"),o=e*n,r=t*n;return s.setAttribute("width",`${o}px`),s.setAttribute("height",`${r}px`),a.save(),[a,s,o,r]}function ype(){function e(t,n,s,a,o,r,i,l,c){const[u,d,h,p]=p8(a,o,s);let v=0;if(t instanceof HTMLImageElement)u.drawImage(t,0,0,h,p);else{const{color:K,fontSize:ee,fontStyle:ae,fontWeight:fe,fontFamily:ne,textAlign:pe,textBaseline:he}=r,ce=Number(ee)*s;u.font=`${ae} normal ${fe} ${ce}px/${o}px ${ne}`,u.fillStyle=K,u.textAlign=pe,u.textBaseline=he;const Z=ke(t)?t:[t];if(he!=="top"&&Z[0]){const H=u.measureText(Z[0]);u.textBaseline="top";const te=u.measureText(Z[0]);v=H.actualBoundingBoxAscent-te.actualBoundingBoxAscent}Z==null||Z.forEach((H,te)=>{const[de,be]=bpe[pe];u.fillText(H??"",h*de+c*be,te*(ce+r.fontGap*s))})}const m=Math.PI/180*Number(n),g=Math.max(a,o),[b,_,w]=p8(g,g,s);b.translate(w/2,w/2),b.rotate(m),h>0&&p>0&&b.drawImage(d,-h/2,-p/2);function C(K,ee){const ae=K*Math.cos(m)-ee*Math.sin(m),fe=K*Math.sin(m)+ee*Math.cos(m);return[ae,fe]}let x=0,E=0,T=0,R=0;const I=h/2,M=p/2;[[0-I,0-M],[0+I,0-M],[0+I,0+M],[0-I,0+M]].forEach(([K,ee])=>{const[ae,fe]=C(K,ee);x=Math.min(x,ae),E=Math.max(E,ae),T=Math.min(T,fe),R=Math.max(R,fe)});const O=x+w/2,B=T+w/2,U=E-x,J=R-T,Y=i*s,N=l*s,L=(U+Y)*2,V=J+N,[z,G]=p8(L,V);function Q(K=0,ee=0){z.drawImage(_,O,B,U,J,K,ee+v,U,J)}return Q(),Q(U+Y,-J/2-N/2),Q(U+Y,+J/2+N/2),[G.toDataURL(),L/s,V/s]}return e}var wpe=W({name:"ElWatermark",__name:"watermark",props:hpe,setup(e){const t={position:"relative"},n=e,s=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.fontGap)!=null?O:3}),a=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.color)!=null?O:"rgba(0,0,0,.15)"}),o=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.fontSize)!=null?O:16}),r=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.fontWeight)!=null?O:"normal"}),i=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.fontStyle)!=null?O:"normal"}),l=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.fontFamily)!=null?O:"sans-serif"}),c=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.textAlign)!=null?O:"center"}),u=k(()=>{var $,O;return(O=($=n.font)==null?void 0:$.textBaseline)!=null?O:"hanging"}),d=k(()=>n.gap[0]),h=k(()=>n.gap[1]),p=k(()=>d.value/2),v=k(()=>h.value/2),m=k(()=>{var $,O;return(O=($=n.offset)==null?void 0:$[0])!=null?O:p.value}),g=k(()=>{var $,O;return(O=($=n.offset)==null?void 0:$[1])!=null?O:v.value}),b=()=>{const $={zIndex:n.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let O=m.value-p.value,B=g.value-v.value;return O>0&&($.left=`${O}px`,$.width=`calc(100% - ${O}px)`,O=0),B>0&&($.top=`${B}px`,$.height=`calc(100% - ${B}px)`,B=0),$.backgroundPosition=`${O}px ${B}px`,$},_=hn(null),w=hn(),C=F(!1),x=()=>{w.value&&(w.value.remove(),w.value=void 0)},E=($,O)=>{var B;_.value&&w.value&&(C.value=!0,w.value.setAttribute("style",vpe({...b(),backgroundImage:`url('${$}')`,backgroundSize:`${Math.floor(O)}px`})),(B=_.value)==null||B.append(w.value),setTimeout(()=>{C.value=!1}))},T=$=>{let O=120,B=64,U=0;const{image:J,content:Y,width:N,height:L,rotate:V}=n;if(!J&&$.measureText){$.font=`${Number(o.value)}px ${l.value}`;const z=ke(Y)?Y:[Y];let G=0,Q=0;z.forEach(ee=>{const{width:ae,fontBoundingBoxAscent:fe,fontBoundingBoxDescent:ne,actualBoundingBoxAscent:pe,actualBoundingBoxDescent:he}=$.measureText(ee),ce=$t(fe)?pe+he:fe+ne;ae>G&&(G=Math.ceil(ae)),ce>Q&&(Q=Math.ceil(ce))}),O=G,B=Q*z.length+(z.length-1)*s.value;const K=Math.PI/180*Number(V);U=Math.ceil(Math.abs(Math.sin(K)*B)/2),O+=U}return[N??O,L??B,U]},R=ype(),I=()=>{const O=document.createElement("canvas").getContext("2d"),B=n.image,U=n.content,J=n.rotate;if(O){w.value||(w.value=document.createElement("div"));const Y=mpe(),[N,L,V]=T(O),z=G=>{const[Q,K]=R(G||"",J,Y,N,L,{color:a.value,fontSize:o.value,fontStyle:i.value,fontWeight:r.value,fontFamily:l.value,fontGap:s.value,textAlign:c.value,textBaseline:u.value},d.value,h.value,V);E(Q,K)};if(B){const G=new Image;G.onload=()=>{z(G)},G.onerror=()=>{z(U)},G.crossOrigin="anonymous",G.referrerPolicy="no-referrer",G.src=B}else z(U)}};return St(()=>{I()}),me(()=>n,()=>{I()},{deep:!0,flush:"post"}),Gt(()=>{x()}),bp(_,$=>{C.value||$.forEach(O=>{gpe(O,w.value)&&(x(),I())})},{attributes:!0,subtree:!0,childList:!0}),($,O)=>(S(),P("div",{ref_key:"containerRef",ref:_,style:tt([t])},[ue($.$slots,"default")],4))}});const _pe=pt(wpe),Cpe=["absolute","fixed"],Spe=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],v8=Me({placement:{type:re(String),values:Spe,default:"bottom"},reference:{type:re(Object),default:null},strategy:{type:re(String),values:Cpe,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),xpe={close:()=>!0},Epe=Me({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:en},placement:v8.placement,contentStyle:{type:re([Object])},mask:{type:re([Boolean,Object]),default:!0},gap:{type:re(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:re([Boolean,Object]),default:()=>({block:"center"})},type:{type:re(String)},appendTo:{type:Cp.to.type,default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),kpe={[ct]:e=>Qt(e),"update:current":e=>at(e),close:e=>at(e),finish:()=>!0,change:e=>at(e)},Ape=Me({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:re(Object)},targetAreaClickable:{type:Boolean,default:!0}}),sh=Math.min,Lu=Math.max,P1=Math.round,R1=Math.floor,ii=e=>({x:e,y:e}),Tpe={left:"right",right:"left",bottom:"top",top:"bottom"},Mpe={start:"end",end:"start"};function m8(e,t,n){return Lu(e,sh(t,n))}function cv(e,t){return typeof e=="function"?e(t):e}function Nu(e){return e.split("-")[0]}function uv(e){return e.split("-")[1]}function XM(e){return e==="x"?"y":"x"}function g8(e){return e==="y"?"height":"width"}const Ppe=new Set(["top","bottom"]);function fc(e){return Ppe.has(Nu(e))?"y":"x"}function b8(e){return XM(fc(e))}function Rpe(e,t,n){n===void 0&&(n=!1);const s=uv(e),a=b8(e),o=g8(a);let r=a==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(r=I1(r)),[r,I1(r)]}function Ipe(e){const t=I1(e);return[y8(e),t,y8(t)]}function y8(e){return e.replace(/start|end/g,t=>Mpe[t])}const JM=["left","right"],ZM=["right","left"],Ope=["top","bottom"],Lpe=["bottom","top"];function Npe(e,t,n){switch(e){case"top":case"bottom":return n?t?ZM:JM:t?JM:ZM;case"left":case"right":return t?Ope:Lpe;default:return[]}}function $pe(e,t,n,s){const a=uv(e);let o=Npe(Nu(e),n==="start",s);return a&&(o=o.map(r=>r+"-"+a),t&&(o=o.concat(o.map(y8)))),o}function I1(e){return e.replace(/left|right|bottom|top/g,t=>Tpe[t])}function Dpe(e){return{top:0,right:0,bottom:0,left:0,...e}}function QM(e){return typeof e!="number"?Dpe(e):{top:e,right:e,bottom:e,left:e}}function O1(e){const{x:t,y:n,width:s,height:a}=e;return{width:s,height:a,top:n,left:t,right:t+s,bottom:n+a,x:t,y:n}}function e7(e,t,n){let{reference:s,floating:a}=e;const o=fc(t),r=b8(t),i=g8(r),l=Nu(t),c=o==="y",u=s.x+s.width/2-a.width/2,d=s.y+s.height/2-a.height/2,h=s[i]/2-a[i]/2;let p;switch(l){case"top":p={x:u,y:s.y-a.height};break;case"bottom":p={x:u,y:s.y+s.height};break;case"right":p={x:s.x+s.width,y:d};break;case"left":p={x:s.x-a.width,y:d};break;default:p={x:s.x,y:s.y}}switch(uv(t)){case"start":p[r]-=h*(n&&c?-1:1);break;case"end":p[r]+=h*(n&&c?-1:1);break}return p}async function t7(e,t){var n;t===void 0&&(t={});const{x:s,y:a,platform:o,rects:r,elements:i,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:p=0}=cv(t,e),v=QM(p),g=i[h?d==="floating"?"reference":"floating":d],b=O1(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(g)))==null||n?g:g.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(i.floating)),boundary:c,rootBoundary:u,strategy:l})),_=d==="floating"?{x:s,y:a,width:r.floating.width,height:r.floating.height}:r.reference,w=await(o.getOffsetParent==null?void 0:o.getOffsetParent(i.floating)),C=await(o.isElement==null?void 0:o.isElement(w))?await(o.getScale==null?void 0:o.getScale(w))||{x:1,y:1}:{x:1,y:1},x=O1(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:_,offsetParent:w,strategy:l}):_);return{top:(b.top-x.top+v.top)/C.y,bottom:(x.bottom-b.bottom+v.bottom)/C.y,left:(b.left-x.left+v.left)/C.x,right:(x.right-b.right+v.right)/C.x}}const Fpe=async(e,t,n)=>{const{placement:s="bottom",strategy:a="absolute",middleware:o=[],platform:r}=n,i=o.filter(Boolean),l=await(r.isRTL==null?void 0:r.isRTL(t));let c=await r.getElementRects({reference:e,floating:t,strategy:a}),{x:u,y:d}=e7(c,s,l),h=s,p={},v=0;for(let g=0;g({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:a,rects:o,platform:r,elements:i,middlewareData:l}=t,{element:c,padding:u=0}=cv(e,t)||{};if(c==null)return{};const d=QM(u),h={x:n,y:s},p=b8(a),v=g8(p),m=await r.getDimensions(c),g=p==="y",b=g?"top":"left",_=g?"bottom":"right",w=g?"clientHeight":"clientWidth",C=o.reference[v]+o.reference[p]-h[p]-o.floating[v],x=h[p]-o.reference[p],E=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c));let T=E?E[w]:0;(!T||!await(r.isElement==null?void 0:r.isElement(E)))&&(T=i.floating[w]||o.floating[v]);const R=C/2-x/2,I=T/2-m[v]/2-1,M=sh(d[b],I),$=sh(d[_],I),O=M,B=T-m[v]-$,U=T/2-m[v]/2+R,J=m8(O,U,B),Y=!l.arrow&&uv(a)!=null&&U!==J&&o.reference[v]/2-(UU<=0)){var $,O;const U=((($=o.flip)==null?void 0:$.index)||0)+1,J=T[U];if(J&&(!(d==="alignment"?_!==fc(J):!1)||M.every(L=>fc(L.placement)===_?L.overflows[0]>0:!0)))return{data:{index:U,overflows:M},reset:{placement:J}};let Y=(O=M.filter(N=>N.overflows[0]<=0).sort((N,L)=>N.overflows[1]-L.overflows[1])[0])==null?void 0:O.placement;if(!Y)switch(p){case"bestFit":{var B;const N=(B=M.filter(L=>{if(E){const V=fc(L.placement);return V===_||V==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(V=>V>0).reduce((V,z)=>V+z,0)]).sort((L,V)=>L[1]-V[1])[0])==null?void 0:B[0];N&&(Y=N);break}case"initialPlacement":Y=i;break}if(a!==Y)return{reset:{placement:Y}}}return{}}}},zpe=new Set(["left","top"]);async function Hpe(e,t){const{placement:n,platform:s,elements:a}=e,o=await(s.isRTL==null?void 0:s.isRTL(a.floating)),r=Nu(n),i=uv(n),l=fc(n)==="y",c=zpe.has(r)?-1:1,u=o&&l?-1:1,d=cv(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return i&&typeof v=="number"&&(p=i==="end"?v*-1:v),l?{x:p*u,y:h*c}:{x:h*c,y:p*u}}const Wpe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,s;const{x:a,y:o,placement:r,middlewareData:i}=t,l=await Hpe(t,e);return r===((n=i.offset)==null?void 0:n.placement)&&(s=i.arrow)!=null&&s.alignmentOffset?{}:{x:a+l.x,y:o+l.y,data:{...l,placement:r}}}}},jpe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:a,platform:o}=t,{mainAxis:r=!0,crossAxis:i=!1,limiter:l={fn:b=>{let{x:_,y:w}=b;return{x:_,y:w}}},...c}=cv(e,t),u={x:n,y:s},d=await o.detectOverflow(t,c),h=fc(Nu(a)),p=XM(h);let v=u[p],m=u[h];if(r){const b=p==="y"?"top":"left",_=p==="y"?"bottom":"right",w=v+d[b],C=v-d[_];v=m8(w,v,C)}if(i){const b=h==="y"?"top":"left",_=h==="y"?"bottom":"right",w=m+d[b],C=m-d[_];m=m8(w,m,C)}const g=l.fn({...t,[p]:v,[h]:m});return{...g,data:{x:g.x-n,y:g.y-s,enabled:{[p]:r,[h]:i}}}}}};function L1(){return typeof window<"u"}function ah(e){return n7(e)?(e.nodeName||"").toLowerCase():"#document"}function po(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function li(e){var t;return(t=(n7(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function n7(e){return L1()?e instanceof Node||e instanceof po(e).Node:!1}function yr(e){return L1()?e instanceof Element||e instanceof po(e).Element:!1}function ci(e){return L1()?e instanceof HTMLElement||e instanceof po(e).HTMLElement:!1}function s7(e){return!L1()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof po(e).ShadowRoot}const Kpe=new Set(["inline","contents"]);function dv(e){const{overflow:t,overflowX:n,overflowY:s,display:a}=wr(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!Kpe.has(a)}const Upe=new Set(["table","td","th"]);function qpe(e){return Upe.has(ah(e))}const Gpe=[":popover-open",":modal"];function N1(e){return Gpe.some(t=>{try{return e.matches(t)}catch{return!1}})}const Ype=["transform","translate","scale","rotate","perspective"],Xpe=["transform","translate","scale","rotate","perspective","filter"],Jpe=["paint","layout","strict","content"];function w8(e){const t=_8(),n=yr(e)?wr(e):e;return Ype.some(s=>n[s]?n[s]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Xpe.some(s=>(n.willChange||"").includes(s))||Jpe.some(s=>(n.contain||"").includes(s))}function Zpe(e){let t=hc(e);for(;ci(t)&&!oh(t);){if(w8(t))return t;if(N1(t))return null;t=hc(t)}return null}function _8(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Qpe=new Set(["html","body","#document"]);function oh(e){return Qpe.has(ah(e))}function wr(e){return po(e).getComputedStyle(e)}function $1(e){return yr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function hc(e){if(ah(e)==="html")return e;const t=e.assignedSlot||e.parentNode||s7(e)&&e.host||li(e);return s7(t)?t.host:t}function a7(e){const t=hc(e);return oh(t)?e.ownerDocument?e.ownerDocument.body:e.body:ci(t)&&dv(t)?t:a7(t)}function fv(e,t,n){var s;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=a7(e),o=a===((s=e.ownerDocument)==null?void 0:s.body),r=po(a);if(o){const i=C8(r);return t.concat(r,r.visualViewport||[],dv(a)?a:[],i&&n?fv(i):[])}return t.concat(a,fv(a,[],n))}function C8(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function o7(e){const t=wr(e);let n=parseFloat(t.width)||0,s=parseFloat(t.height)||0;const a=ci(e),o=a?e.offsetWidth:n,r=a?e.offsetHeight:s,i=P1(n)!==o||P1(s)!==r;return i&&(n=o,s=r),{width:n,height:s,$:i}}function S8(e){return yr(e)?e:e.contextElement}function rh(e){const t=S8(e);if(!ci(t))return ii(1);const n=t.getBoundingClientRect(),{width:s,height:a,$:o}=o7(t);let r=(o?P1(n.width):n.width)/s,i=(o?P1(n.height):n.height)/a;return(!r||!Number.isFinite(r))&&(r=1),(!i||!Number.isFinite(i))&&(i=1),{x:r,y:i}}const eve=ii(0);function r7(e){const t=po(e);return!_8()||!t.visualViewport?eve:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function tve(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==po(e)?!1:t}function $u(e,t,n,s){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),o=S8(e);let r=ii(1);t&&(s?yr(s)&&(r=rh(s)):r=rh(e));const i=tve(o,n,s)?r7(o):ii(0);let l=(a.left+i.x)/r.x,c=(a.top+i.y)/r.y,u=a.width/r.x,d=a.height/r.y;if(o){const h=po(o),p=s&&yr(s)?po(s):s;let v=h,m=C8(v);for(;m&&s&&p!==v;){const g=rh(m),b=m.getBoundingClientRect(),_=wr(m),w=b.left+(m.clientLeft+parseFloat(_.paddingLeft))*g.x,C=b.top+(m.clientTop+parseFloat(_.paddingTop))*g.y;l*=g.x,c*=g.y,u*=g.x,d*=g.y,l+=w,c+=C,v=po(m),m=C8(v)}}return O1({width:u,height:d,x:l,y:c})}function D1(e,t){const n=$1(e).scrollLeft;return t?t.left+n:$u(li(e)).left+n}function i7(e,t){const n=e.getBoundingClientRect(),s=n.left+t.scrollLeft-D1(e,n),a=n.top+t.scrollTop;return{x:s,y:a}}function nve(e){let{elements:t,rect:n,offsetParent:s,strategy:a}=e;const o=a==="fixed",r=li(s),i=t?N1(t.floating):!1;if(s===r||i&&o)return n;let l={scrollLeft:0,scrollTop:0},c=ii(1);const u=ii(0),d=ci(s);if((d||!d&&!o)&&((ah(s)!=="body"||dv(r))&&(l=$1(s)),ci(s))){const p=$u(s);c=rh(s),u.x=p.x+s.clientLeft,u.y=p.y+s.clientTop}const h=r&&!d&&!o?i7(r,l):ii(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-l.scrollTop*c.y+u.y+h.y}}function sve(e){return Array.from(e.getClientRects())}function ave(e){const t=li(e),n=$1(e),s=e.ownerDocument.body,a=Lu(t.scrollWidth,t.clientWidth,s.scrollWidth,s.clientWidth),o=Lu(t.scrollHeight,t.clientHeight,s.scrollHeight,s.clientHeight);let r=-n.scrollLeft+D1(e);const i=-n.scrollTop;return wr(s).direction==="rtl"&&(r+=Lu(t.clientWidth,s.clientWidth)-a),{width:a,height:o,x:r,y:i}}const l7=25;function ove(e,t){const n=po(e),s=li(e),a=n.visualViewport;let o=s.clientWidth,r=s.clientHeight,i=0,l=0;if(a){o=a.width,r=a.height;const u=_8();(!u||u&&t==="fixed")&&(i=a.offsetLeft,l=a.offsetTop)}const c=D1(s);if(c<=0){const u=s.ownerDocument,d=u.body,h=getComputedStyle(d),p=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,v=Math.abs(s.clientWidth-d.clientWidth-p);v<=l7&&(o-=v)}else c<=l7&&(o+=c);return{width:o,height:r,x:i,y:l}}const rve=new Set(["absolute","fixed"]);function ive(e,t){const n=$u(e,!0,t==="fixed"),s=n.top+e.clientTop,a=n.left+e.clientLeft,o=ci(e)?rh(e):ii(1),r=e.clientWidth*o.x,i=e.clientHeight*o.y,l=a*o.x,c=s*o.y;return{width:r,height:i,x:l,y:c}}function c7(e,t,n){let s;if(t==="viewport")s=ove(e,n);else if(t==="document")s=ave(li(e));else if(yr(t))s=ive(t,n);else{const a=r7(e);s={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return O1(s)}function u7(e,t){const n=hc(e);return n===t||!yr(n)||oh(n)?!1:wr(n).position==="fixed"||u7(n,t)}function lve(e,t){const n=t.get(e);if(n)return n;let s=fv(e,[],!1).filter(i=>yr(i)&&ah(i)!=="body"),a=null;const o=wr(e).position==="fixed";let r=o?hc(e):e;for(;yr(r)&&!oh(r);){const i=wr(r),l=w8(r);!l&&i.position==="fixed"&&(a=null),(o?!l&&!a:!l&&i.position==="static"&&!!a&&rve.has(a.position)||dv(r)&&!l&&u7(e,r))?s=s.filter(u=>u!==r):a=i,r=hc(r)}return t.set(e,s),s}function cve(e){let{element:t,boundary:n,rootBoundary:s,strategy:a}=e;const r=[...n==="clippingAncestors"?N1(t)?[]:lve(t,this._c):[].concat(n),s],i=r[0],l=r.reduce((c,u)=>{const d=c7(t,u,a);return c.top=Lu(d.top,c.top),c.right=sh(d.right,c.right),c.bottom=sh(d.bottom,c.bottom),c.left=Lu(d.left,c.left),c},c7(t,i,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function uve(e){const{width:t,height:n}=o7(e);return{width:t,height:n}}function dve(e,t,n){const s=ci(t),a=li(t),o=n==="fixed",r=$u(e,!0,o,t);let i={scrollLeft:0,scrollTop:0};const l=ii(0);function c(){l.x=D1(a)}if(s||!s&&!o)if((ah(t)!=="body"||dv(a))&&(i=$1(t)),s){const p=$u(t,!0,o,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else a&&c();o&&!s&&a&&c();const u=a&&!s&&!o?i7(a,i):ii(0),d=r.left+i.scrollLeft-l.x-u.x,h=r.top+i.scrollTop-l.y-u.y;return{x:d,y:h,width:r.width,height:r.height}}function x8(e){return wr(e).position==="static"}function d7(e,t){if(!ci(e)||wr(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return li(e)===n&&(n=n.ownerDocument.body),n}function f7(e,t){const n=po(e);if(N1(e))return n;if(!ci(e)){let a=hc(e);for(;a&&!oh(a);){if(yr(a)&&!x8(a))return a;a=hc(a)}return n}let s=d7(e,t);for(;s&&qpe(s)&&x8(s);)s=d7(s,t);return s&&oh(s)&&x8(s)&&!w8(s)?n:s||Zpe(e)||n}const fve=async function(e){const t=this.getOffsetParent||f7,n=this.getDimensions,s=await n(e.floating);return{reference:dve(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function hve(e){return wr(e).direction==="rtl"}const pve={convertOffsetParentRelativeRectToViewportRelativeRect:nve,getDocumentElement:li,getClippingRect:cve,getOffsetParent:f7,getElementRects:fve,getClientRects:sve,getDimensions:uve,getScale:rh,isElement:yr,isRTL:hve};function h7(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function vve(e,t){let n=null,s;const a=li(e);function o(){var i;clearTimeout(s),(i=n)==null||i.disconnect(),n=null}function r(i,l){i===void 0&&(i=!1),l===void 0&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:h,height:p}=c;if(i||t(),!h||!p)return;const v=R1(d),m=R1(a.clientWidth-(u+h)),g=R1(a.clientHeight-(d+p)),b=R1(u),w={rootMargin:-v+"px "+-m+"px "+-g+"px "+-b+"px",threshold:Lu(0,sh(1,l))||1};let C=!0;function x(E){const T=E[0].intersectionRatio;if(T!==l){if(!C)return r();T?r(!1,T):s=setTimeout(()=>{r(!1,1e-7)},1e3)}T===1&&!h7(c,e.getBoundingClientRect())&&r(),C=!1}try{n=new IntersectionObserver(x,{...w,root:a.ownerDocument})}catch{n=new IntersectionObserver(x,w)}n.observe(e)}return r(!0),o}function mve(e,t,n,s){s===void 0&&(s={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:l=!1}=s,c=S8(e),u=a||o?[...c?fv(c):[],...fv(t)]:[];u.forEach(b=>{a&&b.addEventListener("scroll",n,{passive:!0}),o&&b.addEventListener("resize",n)});const d=c&&i?vve(c,n):null;let h=-1,p=null;r&&(p=new ResizeObserver(b=>{let[_]=b;_&&_.target===c&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var w;(w=p)==null||w.observe(t)})),n()}),c&&!l&&p.observe(c),p.observe(t));let v,m=l?$u(e):null;l&&g();function g(){const b=$u(e);m&&!h7(m,b)&&n(),m=b,v=requestAnimationFrame(g)}return n(),()=>{var b;u.forEach(_=>{a&&_.removeEventListener("scroll",n),o&&_.removeEventListener("resize",n)}),d==null||d(),(b=p)==null||b.disconnect(),p=null,l&&cancelAnimationFrame(v)}}const gve=t7,bve=Wpe,yve=jpe,wve=Vpe,_ve=Bpe,Cve=(e,t,n)=>{const s=new Map,a={platform:pve,...n},o={...a.platform,_c:s};return Fpe(e,t,{...a,platform:o})},Sve=(e,t,n,s,a)=>{const o=F(null),r=()=>{let d;return Xe(e.value)?d=document.querySelector(e.value):et(e.value)?d=e.value():d=e.value,d},i=()=>{const d=r();if(!d||!t.value){o.value=null;return}xve(d)||d.scrollIntoView(a.value);const{left:h,top:p,width:v,height:m}=d.getBoundingClientRect();o.value={left:h,top:p,width:v,height:m,radius:0}};St(()=>{me([t,e],()=>{i()},{immediate:!0}),window.addEventListener("resize",i)}),Gt(()=>{window.removeEventListener("resize",i)});const l=d=>{var h;return(h=ke(n.value.offset)?n.value.offset[d]:n.value.offset)!=null?h:6},c=k(()=>{var d;if(!o.value)return o.value;const h=l(0),p=l(1),v=((d=n.value)==null?void 0:d.radius)||2;return{left:o.value.left-h,top:o.value.top-p,width:o.value.width+h*2,height:o.value.height+p*2,radius:v}}),u=k(()=>{const d=r();return!s.value||!d||!window.DOMRect?d||void 0:{getBoundingClientRect(){var h,p,v,m;return window.DOMRect.fromRect({width:((h=c.value)==null?void 0:h.width)||0,height:((p=c.value)==null?void 0:p.height)||0,x:((v=c.value)==null?void 0:v.left)||0,y:((m=c.value)==null?void 0:m.top)||0})}}});return{mergedPosInfo:c,triggerTarget:u}},F1=Symbol("ElTour");function xve(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:s,right:a,bottom:o,left:r}=e.getBoundingClientRect();return s>=0&&r>=0&&a<=t&&o<=n}const Eve=(e,t,n,s,a,o,r,i)=>{const l=F(),c=F(),u=F({}),d={x:l,y:c,placement:s,strategy:a,middlewareData:u},h=k(()=>{const b=[bve(f(o)),wve(),yve(),kve()];return f(i)&&f(n)&&b.push(_ve({element:f(n)})),b}),p=async()=>{if(!jt)return;const b=f(e),_=f(t);if(!b||!_)return;const w=await Cve(b,_,{placement:f(s),strategy:f(a),middleware:f(h)});_p(d).forEach(C=>{d[C].value=w[C]})},v=k(()=>{if(!f(e))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:f(r)};const{overflow:b}=f(u);return{position:f(a),zIndex:f(r),top:f(c)!=null?`${f(c)}px`:"",left:f(l)!=null?`${f(l)}px`:"",maxWidth:b!=null&&b.maxWidth?`${b==null?void 0:b.maxWidth}px`:""}}),m=k(()=>{if(!f(i))return{};const{arrow:b}=f(u);return{left:(b==null?void 0:b.x)!=null?`${b==null?void 0:b.x}px`:"",top:(b==null?void 0:b.y)!=null?`${b==null?void 0:b.y}px`:""}});let g;return St(()=>{const b=f(e),_=f(t);b&&_&&(g=mve(b,_,p)),Wa(()=>{p()})}),Gt(()=>{g&&g()}),{update:p,contentStyle:v,arrowStyle:m}},kve=()=>({name:"overflow",async fn(e){const t=await gve(e);let n=0;return t.left>0&&(n=t.left),t.right>0&&(n=t.right),{data:{maxWidth:e.rects.floating.width-n}}}}),Ave={style:{width:"100%",height:"100%"}},Tve=["d"];var Mve=W({name:"ElTourMask",inheritAttrs:!1,__name:"mask",props:Ape,setup(e){const t=e,{ns:n}=je(F1),s=k(()=>{var u,d;return(d=(u=t.pos)==null?void 0:u.radius)!=null?d:2}),a=k(()=>{const u=s.value,d=`a${u},${u} 0 0 1`;return{topRight:`${d} ${u},${u}`,bottomRight:`${d} ${-u},${u}`,bottomLeft:`${d} ${-u},${-u}`,topLeft:`${d} ${u},${-u}`}}),{width:o,height:r}=Ry(),i=k(()=>{const u=o.value,d=r.value,h=a.value,p=`M${u},0 L0,0 L0,${d} L${u},${d} L${u},0 Z`,v=s.value;return t.pos?`${p} M${t.pos.left+v},${t.pos.top} h${t.pos.width-v*2} ${h.topRight} v${t.pos.height-v*2} ${h.bottomRight} h${-t.pos.width+v*2} ${h.bottomLeft} v${-t.pos.height+v*2} ${h.topLeft} z`:p}),l=k(()=>({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:t.zIndex,pointerEvents:t.pos&&t.targetAreaClickable?"none":"auto"})),c=k(()=>({fill:t.fill,pointerEvents:"auto",cursor:"auto"}));return n1(Jt(t,"visible"),{ns:n}),(u,d)=>e.visible?(S(),P("div",wt({key:0,class:f(n).e("mask"),style:l.value},u.$attrs),[(S(),P("svg",Ave,[A("path",{class:D(f(n).e("hollow")),style:tt(c.value),d:i.value},null,14,Tve)]))],16)):ie("v-if",!0)}});const Pve=["data-side"];var Rve=W({name:"ElTourContent",__name:"content",props:v8,emits:xpe,setup(e,{emit:t}){const n=e,s=t,a=F(n.placement),o=F(n.strategy),r=F(null),i=F(null);me(()=>n.placement,()=>{a.value=n.placement});const{contentStyle:l,arrowStyle:c}=Eve(Jt(n,"reference"),r,i,a,o,Jt(n,"offset"),Jt(n,"zIndex"),Jt(n,"showArrow")),u=k(()=>a.value.split("-")[0]),{ns:d}=je(F1),h=()=>{s("close")},p=v=>{v.detail.focusReason==="pointer"&&v.preventDefault()};return(v,m)=>(S(),P("div",{ref_key:"contentRef",ref:r,style:tt(f(l)),class:D(f(d).e("content")),"data-side":u.value,tabindex:"-1"},[j(f(Df),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":r.value||void 0,onReleaseRequested:h,onFocusoutPrevented:p},{default:X(()=>[ue(v.$slots,"default")]),_:3},8,["focus-trap-el"]),e.showArrow?(S(),P("span",{key:0,ref_key:"arrowRef",ref:i,style:tt(f(c)),class:D(f(d).e("arrow"))},null,6)):ie("v-if",!0)],14,Pve))}}),Ive=W({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(e,{slots:t,emit:n}){let s=0;return()=>{var a,o;const r=(a=t.default)==null?void 0:a.call(t),i=[];let l=0;function c(u){ke(u)&&u.forEach(d=>{var h;((h=(d==null?void 0:d.type)||{})==null?void 0:h.name)==="ElTourStep"&&(i.push(d),l+=1)})}return r.length&&c(lo((o=r[0])==null?void 0:o.children)),s!==l&&(s=l,n("update-total",l)),i.length?i[e.current]:null}}}),Ove=W({name:"ElTour",inheritAttrs:!1,__name:"tour",props:Epe,emits:kpe,setup(e,{emit:t}){const n=e,s=t,a=Ee("tour"),o=F(0),r=F(),i=Ex(n,"current",s,{passive:!0}),l=k(()=>{var M;return(M=r.value)==null?void 0:M.target}),c=k(()=>[a.b(),b.value==="primary"?a.m("primary"):""]),u=k(()=>{var M;return((M=r.value)==null?void 0:M.placement)||n.placement}),d=k(()=>{var M,$;return($=(M=r.value)==null?void 0:M.contentStyle)!=null?$:n.contentStyle}),h=k(()=>{var M,$;return($=(M=r.value)==null?void 0:M.mask)!=null?$:n.mask}),p=k(()=>!!h.value&&n.modelValue),v=k(()=>Qt(h.value)?void 0:h.value),m=k(()=>{var M,$;return!!l.value&&(($=(M=r.value)==null?void 0:M.showArrow)!=null?$:n.showArrow)}),g=k(()=>{var M,$;return($=(M=r.value)==null?void 0:M.scrollIntoViewOptions)!=null?$:n.scrollIntoViewOptions}),b=k(()=>{var M,$;return($=(M=r.value)==null?void 0:M.type)!=null?$:n.type}),{nextZIndex:_}=yp(),w=_(),C=k(()=>{var M;return(M=n.zIndex)!=null?M:w}),{mergedPosInfo:x,triggerTarget:E}=Sve(l,Jt(n,"modelValue"),Jt(n,"gap"),h,g);me(()=>n.modelValue,M=>{M||(i.value=0)});const T=()=>{n.closeOnPressEscape&&(s(ct,!1),s("close",i.value))},R=M=>{o.value=M},I=zn();return Tt(F1,{currentStep:r,current:i,total:o,showClose:Jt(n,"showClose"),closeIcon:Jt(n,"closeIcon"),mergedType:b,ns:a,slots:I,updateModelValue(M){s(ct,M)},onClose(){s("close",i.value)},onFinish(){s("finish")},onChange(){s(Pt,i.value)}}),(M,$)=>(S(),P(He,null,[j(f(Tf),{to:e.appendTo},{default:X(()=>{var O,B;return[A("div",wt({class:c.value},M.$attrs),[j(Mve,{visible:p.value,fill:(O=v.value)==null?void 0:O.color,style:tt((B=v.value)==null?void 0:B.style),pos:f(x),"z-index":C.value,"target-area-clickable":e.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),e.modelValue?(S(),le(Rve,{key:f(i),reference:f(E),placement:u.value,"show-arrow":m.value,"z-index":C.value,style:tt(d.value),onClose:T},{default:X(()=>[j(f(Ive),{current:f(i),onUpdateTotal:R},{default:X(()=>[ue(M.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):ie("v-if",!0)],16)]}),_:3},8,["to"]),ie(" just for IDE "),ie("v-if",!0)],64))}});const Lve=Me({target:{type:re([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:en},showArrow:{type:Boolean,default:void 0},placement:v8.placement,mask:{type:re([Boolean,Object]),default:void 0},contentStyle:{type:re([Object])},prevButtonProps:{type:re(Object)},nextButtonProps:{type:re(Object)},scrollIntoViewOptions:{type:re([Boolean,Object]),default:void 0},type:{type:re(String)}}),Nve={close:()=>!0},$ve=["aria-label"];var p7=W({name:"ElTourStep",__name:"step",props:Lve,emits:Nve,setup(e,{emit:t}){const n=e,s=t,{Close:a}=f9,{t:o}=It(),{currentStep:r,current:i,total:l,showClose:c,closeIcon:u,mergedType:d,ns:h,slots:p,updateModelValue:v,onClose:m,onFinish:g,onChange:b}=je(F1);me(n,M=>{r.value=M},{immediate:!0});const _=k(()=>{var M;return(M=n.showClose)!=null?M:c.value}),w=k(()=>{var M,$;return($=(M=n.closeIcon)!=null?M:u.value)!=null?$:a}),C=M=>{if(M)return pp(M,["children","onClick"])},x=()=>{var M,$;i.value-=1,(M=n.prevButtonProps)!=null&&M.onClick&&(($=n.prevButtonProps)==null||$.onClick()),b()},E=()=>{var M;i.value>=l.value-1?T():i.value+=1,(M=n.nextButtonProps)!=null&&M.onClick&&n.nextButtonProps.onClick(),b()},T=()=>{R(),g()},R=()=>{v(!1),m(),s("close")},I=M=>{const $=M.target;if($!=null&&$.isContentEditable)return;switch(an(M)){case Te.left:M.preventDefault(),i.value>0&&x();break;case Te.right:M.preventDefault(),E();break}};return St(()=>{window.addEventListener("keydown",I)}),Gt(()=>{window.removeEventListener("keydown",I)}),(M,$)=>(S(),P(He,null,[_.value?(S(),P("button",{key:0,"aria-label":f(o)("el.tour.close"),class:D(f(h).e("closebtn")),type:"button",onClick:R},[j(f(Je),{class:D(f(h).e("close"))},{default:X(()=>[(S(),le(bt(w.value)))]),_:1},8,["class"])],10,$ve)):ie("v-if",!0),A("header",{class:D([f(h).e("header"),{"show-close":f(c)}])},[ue(M.$slots,"header",{},()=>[A("span",{role:"heading",class:D(f(h).e("title"))},ve(e.title),3)])],2),A("div",{class:D(f(h).e("body"))},[ue(M.$slots,"default",{},()=>[A("span",null,ve(e.description),1)])],2),A("footer",{class:D(f(h).e("footer"))},[A("div",{class:D(f(h).b("indicators"))},[f(p).indicators?(S(),le(bt(f(p).indicators),{key:0,current:f(i),total:f(l)},null,8,["current","total"])):(S(!0),P(He,{key:1},yt(f(l),(O,B)=>(S(),P("span",{key:O,class:D([f(h).b("indicator"),f(h).is("active",B===f(i))])},null,2))),128))],2),A("div",{class:D(f(h).b("buttons"))},[f(i)>0?(S(),le(f(gs),wt({key:0,size:"small",type:f(d)},C(e.prevButtonProps),{onClick:x}),{default:X(()=>{var O,B;return[Ue(ve((B=(O=e.prevButtonProps)==null?void 0:O.children)!=null?B:f(o)("el.tour.previous")),1)]}),_:1},16,["type"])):ie("v-if",!0),f(i)<=f(l)-1?(S(),le(f(gs),wt({key:1,size:"small",type:f(d)==="primary"?"default":"primary"},C(e.nextButtonProps),{onClick:E}),{default:X(()=>{var O,B;return[Ue(ve((B=(O=e.nextButtonProps)==null?void 0:O.children)!=null?B:f(i)===f(l)-1?f(o)("el.tour.finish"):f(o)("el.tour.next")),1)]}),_:1},16,["type"])):ie("v-if",!0)],2)],2)],64))}});const Dve=pt(Ove,{TourStep:p7}),Fve=An(p7),Bve=Me({container:{type:re([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:re(String),default:"default"},direction:{type:re(String),default:"vertical"},selectScrollTop:Boolean}),Vve={change:e=>Xe(e),click:(e,t)=>e instanceof MouseEvent&&(Xe(t)||$t(t))},v7=Symbol("anchor");function zve(e){let t=0;const n=(...s)=>{t&&qi(t),t=Jr(()=>{e(...s),t=0})};return n.cancel=()=>{qi(t),t=0},n}const B1=e=>{if(!jt||e==="")return null;if(Xe(e))try{return document.querySelector(e)}catch{return null}return e};var Hve=W({name:"ElAnchor",__name:"anchor",props:Bve,emits:Vve,setup(e,{expose:t,emit:n}){const s=e,a=n,o=zn(),r=F(""),i=F({}),l=F(null),c=F(null),u=F(),d={};let h=!1,p=0;const v=Ee("anchor"),m=k(()=>[v.b(),s.type==="underline"?v.m("underline"):"",v.m(s.direction)]),g=O=>{d[O.href]=O.el},b=O=>{delete d[O]},_=O=>{r.value!==O&&(r.value=O,a(Pt,O))};let w=null,C="";const x=O=>{if(!u.value)return;const B=B1(O);if(!B)return;if(w){if(C===O)return;w()}C=O,h=!0;const U=Vx(B,u.value),J=N3(B,U),Y=U.scrollHeight-U.clientHeight,N=Math.min(J-s.offset,Y);w=lz(u.value,p,N,s.duration,()=>{setTimeout(()=>{h=!1,C=""},20)})},E=O=>{O&&(_(O),x(O))},T=(O,B)=>{a("click",O,B),E(B)},R=zve(()=>{u.value&&(p=zx(u.value));const O=I();h||$t(O)||_(O)}),I=()=>{if(!u.value)return;const O=zx(u.value),B=[];for(const U of Object.keys(d)){const J=B1(U);if(!J)continue;const Y=Vx(J,u.value),N=N3(J,Y);B.push({top:N-s.offset-s.bound,href:U})}B.sort((U,J)=>U.top-J.top);for(let U=0;UO))return J.href}},M=()=>{const O=B1(s.container);!O||mp(O)?u.value=window:u.value=O};Zt(u,"scroll",R);const $=()=>{ze(()=>{if(!l.value||!c.value||!r.value){i.value={};return}const O=d[r.value];if(!O){i.value={};return}const B=l.value.getBoundingClientRect(),U=c.value.getBoundingClientRect(),J=O.getBoundingClientRect();if(s.direction==="horizontal"){const Y=J.left-B.left;i.value={left:`${Y}px`,width:`${J.width}px`,opacity:1}}else{const Y=J.top-B.top+(J.height-U.height)/2;i.value={top:`${Y}px`,opacity:1}}})};return me(r,$),me(()=>{var O;return(O=o.default)==null?void 0:O.call(o)},$),St(()=>{M();const O=decodeURIComponent(window.location.hash);B1(O)?E(O):R()}),me(()=>s.container,()=>{M()}),Tt(v7,{ns:v,direction:s.direction,currentAnchor:r,addLink:g,removeLink:b,handleClick:T}),t({scrollTo:E}),(O,B)=>(S(),P("div",{ref_key:"anchorRef",ref:l,class:D(m.value)},[e.marker?(S(),P("div",{key:0,ref_key:"markerRef",ref:c,class:D(f(v).e("marker")),style:tt(i.value)},null,6)):ie("v-if",!0),A("div",{class:D(f(v).e("list"))},[ue(O.$slots,"default")],2)],2))}});const Wve=Me({title:String,href:String}),jve=["href"];var m7=W({name:"ElAnchorLink",__name:"anchor-link",props:Wve,setup(e){const t=e,n=F(null),{ns:s,direction:a,currentAnchor:o,addLink:r,removeLink:i,handleClick:l}=je(v7),c=k(()=>[s.e("link"),s.is("active",o.value===t.href)]),u=d=>{l(d,t.href)};return me(()=>t.href,(d,h)=>{ze(()=>{h&&i(h),d&&r({href:d,el:n.value})})}),St(()=>{const{href:d}=t;d&&r({href:d,el:n.value})}),Gt(()=>{const{href:d}=t;d&&i(d)}),(d,h)=>(S(),P("div",{class:D(f(s).e("item"))},[A("a",{ref_key:"linkRef",ref:n,class:D(c.value),href:e.href,onClick:u},[ue(d.$slots,"default",{},()=>[Ue(ve(e.title),1)])],10,jve),d.$slots["sub-link"]&&f(a)==="vertical"?(S(),P("div",{key:0,class:D(f(s).e("list"))},[ue(d.$slots,"sub-link")],2)):ie("v-if",!0)],2))}});const Kve=pt(Hve,{AnchorLink:m7}),Uve=An(m7),g7={label:"label",value:"value",disabled:"disabled"},qve=Me({direction:{type:re(String),default:"horizontal"},options:{type:re(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},props:{type:re(Object),default:()=>g7},block:Boolean,size:rs,disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},id:String,name:String,...ia(["ariaLabel"])}),Gve={[ct]:e=>Xe(e)||at(e)||Qt(e),[Pt]:e=>Xe(e)||at(e)||Qt(e)},Yve=["id","aria-label","aria-labelledby"],Xve=["name","disabled","checked","onChange"];var Jve=W({name:"ElSegmented",__name:"segmented",props:qve,emits:Gve,setup(e,{emit:t}){const n=e,s=t,a=Ee("segmented"),o=$s(),r=ts(),i=In(),{formItem:l}=Cs(),{inputId:c,isLabeledByFormItem:u}=uo(n,{formItemContext:l}),d=F(null),h=WV(),p=Wt({isInit:!1,width:0,height:0,translateX:0,translateY:0,focusVisible:!1}),v=(O,B)=>{const U=b(B);s(ct,U),s(Pt,U),O.target.checked=U===n.modelValue},m=k(()=>({...g7,...n.props})),g=O=>O,b=O=>ht(O)?O[m.value.value]:O,_=O=>ht(O)?O[m.value.label]:O,w=O=>!!(i.value||ht(O)&&O[m.value.disabled]),C=O=>n.modelValue===b(O),x=O=>n.options.find(B=>b(B)===O),E=O=>[a.e("item"),a.is("selected",C(O)),a.is("disabled",w(O))],T=()=>{if(!d.value)return;const O=d.value.querySelector(".is-selected"),B=d.value.querySelector(".is-selected input");if(!O||!B){p.width=0,p.height=0,p.translateX=0,p.translateY=0,p.focusVisible=!1;return}p.isInit=!0,n.direction==="vertical"?(p.height=O.offsetHeight,p.translateY=O.offsetTop):(p.width=O.offsetWidth,p.translateX=O.offsetLeft);try{p.focusVisible=B.matches(":focus-visible")}catch{}},R=k(()=>[a.b(),a.m(r.value),a.is("block",n.block)]),I=k(()=>({width:n.direction==="vertical"?"100%":`${p.width}px`,height:n.direction==="vertical"?`${p.height}px`:"100%",transform:n.direction==="vertical"?`translateY(${p.translateY}px)`:`translateX(${p.translateX}px)`,display:p.isInit?"block":"none"})),M=k(()=>[a.e("item-selected"),a.is("disabled",w(x(n.modelValue))),a.is("focus-visible",p.focusVisible)]),$=k(()=>n.name||o.value);return bn(d,T),me(h,T),me(()=>n.modelValue,()=>{var O;T(),n.validateEvent&&((O=l==null?void 0:l.validate)==null||O.call(l,"change").catch(B=>void 0))},{flush:"post"}),(O,B)=>e.options.length?(S(),P("div",{key:0,id:f(c),ref_key:"segmentedRef",ref:d,class:D(R.value),role:"radiogroup","aria-label":f(u)?void 0:e.ariaLabel||"segmented","aria-labelledby":f(u)?f(l).labelId:void 0},[A("div",{class:D([f(a).e("group"),f(a).m(e.direction)])},[A("div",{style:tt(I.value),class:D(M.value)},null,6),(S(!0),P(He,null,yt(e.options,(U,J)=>(S(),P("label",{key:J,class:D(E(U))},[A("input",{class:D(f(a).e("item-input")),type:"radio",name:$.value,disabled:w(U),checked:C(U),onChange:Y=>v(Y,U)},null,42,Xve),A("div",{class:D(f(a).e("item-label"))},[ue(O.$slots,"default",{item:g(U)},()=>[Ue(ve(_(U)),1)])],2)],2))),128))],2)],10,Yve)):ie("v-if",!0)}});const Zve=pt(Jve),Qve=(e,t)=>{const n=e.toLowerCase();return(t.label||t.value||"").toLowerCase().includes(n)},eme=(e,t,n)=>{const{selectionEnd:s}=e;if(s===null)return;const a=e.value,o=_s(t);let r=-1,i;for(let l=s-1;l>=0;--l){const c=a[l];if(c===n||c===` +`||c==="\r"){r=l;continue}if(o.includes(c)){const u=r===-1?s:r;i={pattern:a.slice(l+1,u),start:l+1,end:u,prefix:c,prefixIndex:l,splitIndex:r,selectionEnd:s};break}}return i},tme=(e,t={debug:!1,useSelectionEnd:!1})=>{const n=e.selectionStart!==null?e.selectionStart:0,s=e.selectionEnd!==null?e.selectionEnd:0,a=t.useSelectionEnd?s:n,o=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(t.debug){const h=document.querySelector("#input-textarea-caret-position-mirror-div");h!=null&&h.parentNode&&h.parentNode.removeChild(h)}const r=document.createElement("div");r.id="input-textarea-caret-position-mirror-div",document.body.appendChild(r);const i=r.style,l=window.getComputedStyle(e),c=e.nodeName==="INPUT";i.whiteSpace=c?"nowrap":"pre-wrap",c||(i.wordWrap="break-word"),i.position="absolute",t.debug||(i.visibility="hidden"),o.forEach(h=>{if(c&&h==="lineHeight")if(l.boxSizing==="border-box"){const p=Number.parseInt(l.height),v=Number.parseInt(l.paddingTop)+Number.parseInt(l.paddingBottom)+Number.parseInt(l.borderTopWidth)+Number.parseInt(l.borderBottomWidth),m=v+Number.parseInt(l.lineHeight);p>m?i.lineHeight=`${p-v}px`:p===m?i.lineHeight=l.lineHeight:i.lineHeight="0"}else i.lineHeight=l.height;else i[h]=l[h]}),n3()?e.scrollHeight>Number.parseInt(l.height)&&(i.overflowY="scroll"):i.overflow="hidden",r.textContent=e.value.slice(0,Math.max(0,a)),c&&r.textContent&&(r.textContent=r.textContent.replace(/\s/g," "));const u=document.createElement("span");u.textContent=e.value.slice(Math.max(0,a))||".",u.style.position="relative",u.style.left=`${-e.scrollLeft}px`,u.style.top=`${-e.scrollTop}px`,r.appendChild(u);const d={top:u.offsetTop+Number.parseInt(l.borderTopWidth),left:u.offsetLeft+Number.parseInt(l.borderLeftWidth),height:Number.parseInt(l.fontSize)*1.5};return t.debug?u.style.backgroundColor="#aaa":document.body.removeChild(r),d.left>=e.clientWidth&&(d.left=e.clientWidth),d},nme=Me({...Lp,options:{type:re(Array),default:()=>[]},prefix:{type:re([String,Array]),default:"@",validator:e=>Xe(e)?e.length===1:e.every(t=>Xe(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:re([Boolean,Function]),default:()=>Qve,validator:e=>e===!1?!0:et(e)},placement:{type:re(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:re(Function)},modelValue:String,loading:Boolean,popperClass:tn.popperClass,popperStyle:tn.popperStyle,popperOptions:{type:re(Object),default:()=>({})},props:{type:re(Object),default:()=>b7}}),sme={[ct]:e=>Xe(e),"whole-remove":(e,t)=>Xe(e)&&Xe(t),input:e=>Xe(e),search:(e,t)=>Xe(e)&&Xe(t),select:(e,t)=>ht(e)&&Xe(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},b7={value:"value",label:"label",disabled:"disabled"},ame=Me({options:{type:re(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),ome={select:e=>Xe(e.value)},rme=["id","aria-disabled","aria-selected","onMousemove","onClick"];var ime=W({name:"ElMentionDropdown",__name:"mention-dropdown",props:ame,emits:ome,setup(e,{expose:t,emit:n}){const s=e,a=n,o=Ee("mention"),{t:r}=It(),i=F(-1),l=F(),c=F(),u=F(),d=(C,x)=>[o.be("dropdown","item"),o.is("hovering",i.value===x),o.is("disabled",C.disabled||s.disabled)],h=C=>{C.disabled||s.disabled||a("select",C)},p=C=>{i.value=C},v=k(()=>s.disabled||s.options.every(C=>C.disabled)),m=k(()=>s.options[i.value]),g=()=>{m.value&&a("select",m.value)},b=C=>{const{options:x}=s;if(x.length===0||v.value)return;C==="next"?(i.value++,i.value===x.length&&(i.value=0)):C==="prev"&&(i.value--,i.value<0&&(i.value=x.length-1));const E=x[i.value];if(E.disabled){b(C);return}ze(()=>_(E))},_=C=>{var x,E,T,R;const{options:I}=s,M=I.findIndex(O=>O.value===C.value),$=(x=c.value)==null?void 0:x[M];if($){const O=(T=(E=u.value)==null?void 0:E.querySelector)==null?void 0:T.call(E,`.${o.be("dropdown","wrap")}`);O&&Ly(O,$)}(R=l.value)==null||R.handleScroll()};return me(()=>s.options,()=>{v.value||s.options.length===0?i.value=-1:i.value=0},{immediate:!0}),t({hoveringIndex:i,navigateOptions:b,selectHoverOption:g,hoverOption:m}),(C,x)=>(S(),P("div",{ref_key:"dropdownRef",ref:u,class:D(f(o).b("dropdown"))},[C.$slots.header?(S(),P("div",{key:0,class:D(f(o).be("dropdown","header"))},[ue(C.$slots,"header")],2)):ie("v-if",!0),gt(j(f(pr),{id:e.contentId,ref_key:"scrollbarRef",ref:l,tag:"ul","wrap-class":f(o).be("dropdown","wrap"),"view-class":f(o).be("dropdown","list"),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:X(()=>[(S(!0),P(He,null,yt(e.options,(E,T)=>(S(),P("li",{id:`${e.contentId}-${T}`,ref_for:!0,ref_key:"optionRefs",ref:c,key:T,class:D(d(E,T)),role:"option","aria-disabled":E.disabled||e.disabled||void 0,"aria-selected":i.value===T,onMousemove:R=>p(T),onClick:lt(R=>h(E),["stop"])},[ue(C.$slots,"label",{item:E,index:T},()=>{var R;return[A("span",null,ve((R=E.label)!=null?R:E.value),1)]})],42,rme))),128))]),_:3},8,["id","wrap-class","view-class","aria-label"]),[[Bt,e.options.length>0&&!e.loading]]),e.loading?(S(),P("div",{key:1,class:D(f(o).be("dropdown","loading"))},[ue(C.$slots,"loading",{},()=>[Ue(ve(f(r)("el.mention.loading")),1)])],2)):ie("v-if",!0),C.$slots.footer?(S(),P("div",{key:2,class:D(f(o).be("dropdown","footer"))},[ue(C.$slots,"footer")],2)):ie("v-if",!0)],2))}}),lme=W({name:"ElMention",inheritAttrs:!1,__name:"mention",props:nme,emits:sme,setup(e,{expose:t,emit:n}){const s=e,a=n,o=k(()=>Ui(s,Object.keys(Lp))),r=Ee("mention"),i=In(),l=$s(),c=F(),u=F(),d=F(),h=F(!1),p=F(),v=F(),m=k(()=>s.showArrow?s.placement:`${s.placement}-start`),g=k(()=>s.showArrow?["bottom","top"]:["bottom-start","top-start"]),b=k(()=>({...b7,...s.props})),_=N=>{const L={label:N[b.value.label],value:N[b.value.value],disabled:N[b.value.disabled]};return{...N,...L}},w=k(()=>s.options.map(_)),C=k(()=>{const{filterOption:N}=s;return!v.value||!N?w.value:w.value.filter(L=>N(v.value.pattern,L))}),x=k(()=>h.value&&(!!C.value.length||s.loading)),E=k(()=>{var N;return`${l.value}-${(N=d.value)==null?void 0:N.hoveringIndex}`}),T=N=>{a(ct,N),a(es,N),U()},R=N=>{var L,V,z,G;if((L=c.value)!=null&&L.isComposing)return;const Q=an(N);switch(Q){case Te.left:case Te.right:U();break;case Te.up:case Te.down:if(!h.value)return;N.preventDefault(),(V=d.value)==null||V.navigateOptions(Q===Te.up?"prev":"next");break;case Te.enter:case Te.numpadEnter:if(!h.value){s.type!=="textarea"&&U();return}N.preventDefault(),(z=d.value)!=null&&z.hoverOption?(G=d.value)==null||G.selectHoverOption():h.value=!1;break;case Te.esc:if(!h.value)return;N.preventDefault(),h.value=!1;break;case Te.backspace:if(s.whole&&v.value){const{splitIndex:K,selectionEnd:ee,pattern:ae,prefixIndex:fe,prefix:ne}=v.value,pe=B();if(!pe)return;const he=pe.value,ce=w.value.find(H=>H.value===ae);if((et(s.checkIsWhole)?s.checkIsWhole(ae,ne):ce)&&K!==-1&&K+1===ee){N.preventDefault();const H=he.slice(0,fe)+he.slice(K+1);a(ct,H),a(es,H),a("whole-remove",ae,ne);const te=fe;ze(()=>{pe.selectionStart=te,pe.selectionEnd=te,Y()})}}}},{wrapperRef:I}=Qi(c,{disabled:i,afterFocus(){U()},beforeBlur(N){var L;return(L=u.value)==null?void 0:L.isFocusInsideContent(N)},afterBlur(){h.value=!1}}),M=()=>{U()},$=N=>s.options.find(L=>N.value===L[b.value.value]),O=N=>{if(!v.value)return;const L=B();if(!L)return;const V=L.value,{split:z}=s,G=V.slice(v.value.end),Q=G.startsWith(z),K=`${N.value}${Q?"":z}`,ee=V.slice(0,v.value.start)+K+G;a(ct,ee),a(es,ee),a("select",$(N),v.value.prefix);const ae=v.value.start+K.length+(Q?1:0);ze(()=>{L.selectionStart=ae,L.selectionEnd=ae,L.focus(),Y()})},B=()=>{var N,L;return s.type==="textarea"?(N=c.value)==null?void 0:N.textarea:(L=c.value)==null?void 0:L.input},U=()=>{setTimeout(()=>{J(),Y(),ze(()=>{var N;return(N=u.value)==null?void 0:N.updatePopper()})},0)},J=()=>{const N=B();if(!N)return;const L=tme(N),V=N.getBoundingClientRect(),z=I.value.getBoundingClientRect();p.value={position:"absolute",width:0,height:`${L.height}px`,left:`${L.left+V.left-z.left}px`,top:`${L.top+V.top-z.top}px`}},Y=()=>{const N=B();if(document.activeElement!==N){h.value=!1;return}const{prefix:L,split:V}=s;if(v.value=eme(N,L,V),v.value&&v.value.splitIndex===-1){h.value=!0,a("search",v.value.pattern,v.value.prefix);return}h.value=!1};return t({input:c,tooltip:u,dropdownVisible:x}),(N,L)=>(S(),P("div",{ref_key:"wrapperRef",ref:I,class:D(f(r).b())},[j(f(la),wt(wt(o.value,N.$attrs),{ref_key:"elInputRef",ref:c,"model-value":e.modelValue,disabled:f(i),role:x.value?"combobox":void 0,"aria-activedescendant":x.value?E.value||"":void 0,"aria-controls":x.value?f(l):void 0,"aria-expanded":x.value||void 0,"aria-label":e.ariaLabel,"aria-autocomplete":x.value?"none":void 0,"aria-haspopup":x.value?"listbox":void 0,onInput:T,onKeydown:R,onMousedown:M}),ka({_:2},[yt(N.$slots,(V,z)=>({name:z,fn:X(G=>[ue(N.$slots,z,Oi(Vi(G)))])}))]),1040,["model-value","disabled","role","aria-activedescendant","aria-controls","aria-expanded","aria-label","aria-autocomplete","aria-haspopup"]),j(f(Ss),{ref_key:"tooltipRef",ref:u,visible:x.value,"popper-class":[f(r).e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,placement:m.value,"fallback-placements":g.value,effect:"light",pure:"",offset:e.offset,"show-arrow":e.showArrow},{default:X(()=>[A("div",{style:tt(p.value)},null,4)]),content:X(()=>[j(ime,{ref_key:"dropdownRef",ref:d,options:C.value,disabled:f(i),loading:e.loading,"content-id":f(l),"aria-label":e.ariaLabel,onSelect:O,onClick:L[0]||(L[0]=lt(V=>{var z;return(z=c.value)==null?void 0:z.focus()},["stop"]))},ka({_:2},[yt(N.$slots,(V,z)=>({name:z,fn:X(G=>[ue(N.$slots,z,Oi(Vi(G)))])}))]),1032,["options","disabled","loading","content-id","aria-label"])]),_:3},8,["visible","popper-class","popper-style","popper-options","placement","fallback-placements","offset","show-arrow"])],2))}});const cme=pt(lme),ume=Me({layout:{type:String,default:"horizontal",values:["horizontal","vertical"]},lazy:Boolean}),dme={resizeStart:(e,t)=>!0,resize:(e,t)=>!0,resizeEnd:(e,t)=>!0,collapse:(e,t,n)=>!0},y7=Symbol("splitterRootContextKey");function fme(e){const t=F(),{width:n,height:s}=Py(t),a=k(()=>e.value==="horizontal"?n.value:s.value);return{containerEl:t,containerSize:a}}function E8(e){return Number(e.slice(0,-1))/100}function k8(e){return Number(e.slice(0,-2))}function A8(e){return Xe(e)&&e.endsWith("%")}function T8(e){return Xe(e)&&e.endsWith("px")}function hme(e,t){const n=k(()=>e.value.map(i=>i.size)),s=k(()=>e.value.length),a=F([]);me([n,s,t],()=>{var i;let l=[],c=0;for(let d=0;dd+(h||0),0);if(u>1||!c){const d=1/u;l=l.map(h=>h===void 0?0:h*d)}else{const d=(1-u)/c;l=l.map(h=>h===void 0?d:h)}a.value=l});const o=i=>i*t.value,r=k(()=>a.value.map(o));return{percentSizes:a,pxSizes:r}}function pme(e,t,n,s){const a=g=>g*t.value||0;function o(g,b){return A8(g)?a(E8(g)):T8(g)?k8(g):g??b}const r=F(0),i=F(null);let l=[],c=qt;const u=k(()=>e.value.map(g=>[g.min,g.max]));me(s,()=>{if(r.value){const g=new MouseEvent("mouseup",{bubbles:!0});window.dispatchEvent(g)}});const d=g=>{r.value=0,i.value={index:g,confirmed:!1},l=n.value},h=(g,b)=>{var _,w;let C=null;if((!i.value||!i.value.confirmed)&&b!==0){if(b>0)C=g,i.value={index:g,confirmed:!0};else for(let B=g;B>=0;B-=1)if(l[B]>0){C=B,i.value={index:B,confirmed:!0};break}}const x=(w=C??((_=i.value)==null?void 0:_.index))!=null?w:g,E=[...l],T=x+1,R=o(u.value[x][0],0),I=o(u.value[T][0],0),M=o(u.value[x][1],t.value||0),$=o(u.value[T][1],t.value||0);let O=b;E[x]+OM&&(O=M-E[x]),E[T]-O>$&&(O=E[T]-$),E[x]+=O,E[T]-=O,r.value=O,c=()=>{e.value.forEach((B,U)=>{B.size=E[U]}),c=qt},s.value||c()},p=()=>{s.value&&c(),r.value=0,i.value=null,l=[]},v=[];return{lazyOffset:r,onMoveStart:d,onMoving:h,onMoveEnd:p,movingIndex:i,onCollapse:(g,b)=>{v.length||v.push(...n.value);const _=n.value,w=b==="start"?g:g+1,C=b==="start"?g+1:g,x=_[w],E=_[C];if(x!==0&&E!==0)_[w]=0,_[C]+=x,v[g]=x;else{const T=x+E,R=v[g],I=T-R;_[C]=R,_[w]=I}e.value.forEach((T,R)=>{T.size=_[R]})}}}var vme=W({name:"ElSplitter",__name:"splitter",props:ume,emits:dme,setup(e,{emit:t}){const n=Ee("splitter"),s=t,a=e,o=Jt(a,"layout"),r=Jt(a,"lazy"),{containerEl:i,containerSize:l}=fme(o),{removeChild:c,children:u,addChild:d,ChildrenSorter:h}=Wg(_t(),"ElSplitterPanel");me(u,()=>{g.value=null,u.value.forEach((M,$)=>{M.setIndex($)})});const{percentSizes:p,pxSizes:v}=hme(u,l),{lazyOffset:m,movingIndex:g,onMoveStart:b,onMoving:_,onMoveEnd:w,onCollapse:C}=pme(u,l,v,r),x=k(()=>({[n.cssVarBlockName("bar-offset")]:r.value?`${m.value}px`:void 0}));return Tt(y7,Wt({panels:u,percentSizes:p,pxSizes:v,layout:o,lazy:r,movingIndex:g,containerSize:l,onMoveStart:M=>{b(M),s("resizeStart",M,v.value)},onMoving:(M,$)=>{_(M,$),r.value||s("resize",M,v.value)},onMoveEnd:async M=>{w(),await ze(),s("resizeEnd",M,v.value)},onCollapse:(M,$)=>{C(M,$),s("collapse",M,$,v.value)},registerPanel:d,unregisterPanel:c})),(M,$)=>(S(),P("div",{ref_key:"containerEl",ref:i,class:D([f(n).b(),f(n).e(o.value)]),style:tt(x.value)},[ue(M.$slots,"default"),j(f(h)),ie(" Prevent iframe touch events from breaking "),f(g)?(S(),P("div",{key:0,class:D([f(n).e("mask"),f(n).e(`mask-${o.value}`)])},null,2)):ie("v-if",!0)],6))}});const mme=Me({min:{type:[String,Number]},max:{type:[String,Number]},size:{type:[String,Number]},resizable:{type:Boolean,default:!0},collapsible:Boolean}),gme={"update:size":e=>typeof e=="number"||typeof e=="string"};function bme(e){return e&&ht(e)?e:{start:!!e,end:!!e}}function w7(e,t,n,s){return!!(e!=null&&e.collapsible.end&&t>0||n!=null&&n.collapsible.start&&s===0&&t>0)}var yme=W({name:"ElSplitterBar",__name:"split-bar",props:{index:{type:Number,required:!0},layout:{type:String,values:["horizontal","vertical"],default:"horizontal"},resizable:{type:Boolean,default:!0},lazy:Boolean,startCollapsible:Boolean,endCollapsible:Boolean},emits:["moveStart","moving","moveEnd","collapse"],setup(e,{emit:t}){const n=Ee("splitter-bar"),s=e,a=t,o=k(()=>s.layout==="horizontal"),r=k(()=>o.value?{width:0}:{height:0}),i=k(()=>({width:o.value?"16px":"100%",height:o.value?"100%":"16px",cursor:s.resizable?o.value?"ew-resize":"ns-resize":"auto",touchAction:"none"})),l=k(()=>{const _=n.e("dragger");return{[`${_}-horizontal`]:o.value,[`${_}-vertical`]:!o.value,[`${_}-active`]:!!c.value}}),c=F(null),u=_=>{s.resizable&&(c.value=[_.pageX,_.pageY],a("moveStart",s.index),window.addEventListener("mouseup",v),window.addEventListener("mousemove",h))},d=_=>{if(s.resizable&&_.touches.length===1){_.preventDefault();const w=_.touches[0];c.value=[w.pageX,w.pageY],a("moveStart",s.index),window.addEventListener("touchend",m),window.addEventListener("touchmove",p)}},h=_=>{const{pageX:w,pageY:C}=_,x=w-c.value[0],E=C-c.value[1],T=o.value?x:E;a("moving",s.index,T)},p=_=>{if(_.touches.length===1){_.preventDefault();const w=_.touches[0],C=w.pageX-c.value[0],x=w.pageY-c.value[1],E=o.value?C:x;a("moving",s.index,E)}},v=()=>{c.value=null,window.removeEventListener("mouseup",v),window.removeEventListener("mousemove",h),a("moveEnd",s.index)},m=()=>{c.value=null,window.removeEventListener("touchend",m),window.removeEventListener("touchmove",p),a("moveEnd",s.index)},g=k(()=>o.value?No:Sp),b=k(()=>o.value?Ls:hr);return(_,w)=>(S(),P("div",{class:D([f(n).b()]),style:tt(r.value)},[e.startCollapsible?(S(),P("div",{key:0,class:D([f(n).e("collapse-icon"),f(n).e(`${e.layout}-collapse-icon-start`)]),onClick:w[0]||(w[0]=C=>a("collapse",e.index,"start"))},[ue(_.$slots,"start-collapsible",{},()=>[(S(),le(bt(g.value),{style:{width:"12px",height:"12px"}}))])],2)):ie("v-if",!0),A("div",{class:D([f(n).e("dragger"),l.value,f(n).is("disabled",!e.resizable),f(n).is("lazy",e.resizable&&e.lazy)]),style:tt(i.value),onMousedown:u,onTouchstart:d},null,38),e.endCollapsible?(S(),P("div",{key:1,class:D([f(n).e("collapse-icon"),f(n).e(`${e.layout}-collapse-icon-end`)]),onClick:w[1]||(w[1]=C=>a("collapse",e.index,"end"))},[ue(_.$slots,"end-collapsible",{},()=>[(S(),le(bt(b.value),{style:{width:"12px",height:"12px"}}))])],2)):ie("v-if",!0)],6))}});const _7="ElSplitterPanel";var C7=W({name:_7,__name:"split-panel",props:mme,emits:gme,setup(e,{expose:t,emit:n}){const s=Ee("splitter-panel"),a=e,o=n,r=je(y7);r||Xn(_7,"usage: ");const{panels:i,layout:l,lazy:c,containerSize:u,pxSizes:d}=ps(r),{registerPanel:h,unregisterPanel:p,onCollapse:v,onMoveEnd:m,onMoveStart:g,onMoving:b}=r,_=F(),w=_t(),C=w.uid,x=F(0),E=k(()=>i.value[x.value]),T=L=>{x.value=L},R=k(()=>{var L;return E.value&&(L=d.value[x.value])!=null?L:0}),I=k(()=>{var L;return E.value&&(L=d.value[x.value+1])!=null?L:0}),M=k(()=>E.value?i.value[x.value+1]:null),$=k(()=>{var L;return M.value?a.resizable&&((L=M.value)==null?void 0:L.resizable)&&(R.value!==0||!a.min)&&(I.value!==0||!M.value.min):!1}),O=k(()=>E.value?x.value!==i.value.length-1:!1),B=k(()=>w7(E.value,R.value,M.value,I.value)),U=k(()=>w7(M.value,I.value,E.value,R.value));function J(L){return A8(L)?E8(L)*u.value||0:T8(L)?k8(L):L??0}let Y=!1;me(()=>a.size,()=>{if(!Y&&E.value){if(!u.value){E.value.size=a.size;return}const L=J(a.size),V=J(a.max),z=J(a.min),G=Math.min(Math.max(L,z||0),V||L);G!==L&&o("update:size",G),E.value.size=G}}),me(()=>{var L;return(L=E.value)==null?void 0:L.size},L=>{L!==a.size&&(Y=!0,o("update:size",L),ze(()=>Y=!1))}),me(()=>a.resizable,L=>{E.value&&(E.value.resizable=L)});const N=Wt({uid:C,getVnode:()=>w.vnode,setIndex:T,...a,collapsible:k(()=>bme(a.collapsible))});return h(N),Gt(()=>p(N)),t({splitterPanelRef:_}),(L,V)=>(S(),P(He,null,[A("div",wt({ref_key:"panelEl",ref:_,class:[f(s).b()],style:{flexBasis:`${R.value}px`}},L.$attrs),[ue(L.$slots,"default")],16),O.value?(S(),le(yme,{key:0,index:x.value,layout:f(l),lazy:f(c),resizable:$.value,"start-collapsible":B.value,"end-collapsible":U.value,onMoveStart:f(g),onMoving:f(b),onMoveEnd:f(m),onCollapse:f(v)},{"start-collapsible":X(()=>[ue(L.$slots,"start-collapsible")]),"end-collapsible":X(()=>[ue(L.$slots,"end-collapsible")]),_:3},8,["index","layout","lazy","resizable","start-collapsible","end-collapsible","onMoveStart","onMoving","onMoveEnd","onCollapse"])):ie("v-if",!0)],64))}});const wme=pt(vme,{SplitPanel:C7}),_me=An(C7);var Cme=[uz,hJ,BQ,xhe,jQ,KQ,XQ,xE,see,aee,gs,LE,pte,gte,Rte,Ite,wne,bk,xne,mr,qte,T3,Ane,Vne,zne,Kg,Lk,dse,hse,vse,mse,gse,bse,yse,loe,nA,voe,moe,Toe,hA,Boe,Ere,kre,Are,EA,Wie,jie,Je,ele,LA,la,NA,vle,wle,Dle,Fle,Ble,Vle,Kle,yce,Cce,Tce,mE,UA,vk,nne,tne,zce,jce,qce,pr,cc,Hg,dte,kue,Rue,Iue,Xue,ede,hT,ide,fde,hde,Cde,$fe,Dfe,She,Nhe,$he,al,Q6,$se,Hhe,Uhe,qhe,Ss,a0e,l8,A0e,z0e,fpe,_pe,Dve,Fve,Kve,Uve,Zve,cme,wme,_me];const vo="ElInfiniteScroll",Sme=50,xme={delay:{type:Number,default:200},distance:{type:Number,default:0},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},M8=(e,t)=>Object.entries(xme).reduce((n,[s,a])=>{var o,r;const{type:i,default:l}=a,c=e.getAttribute(`infinite-scroll-${s}`);let u=(r=(o=t[c])!=null?o:c)!=null?r:l;return u=u==="false"?!1:u,u=i(u),n[s]=Number.isNaN(u)?l:u,n},{}),S7=e=>{const{observer:t}=e[vo];t&&(t.disconnect(),delete e[vo].observer)},Eme=(e,t)=>{const{container:n,containerEl:s,instance:a,observer:o,lastScrollTop:r}=e[vo],{disabled:i,distance:l}=M8(e,a),{clientHeight:c,scrollHeight:u,scrollTop:d}=s,h=d-r;if(e[vo].lastScrollTop=d,o||i||h<0)return;let p=!1;if(n===e)p=u-(c+d)<=l;else{const{clientTop:v,scrollHeight:m}=e,g=N3(e,s);p=d+c>=g+v+m-l}p&&t.call(a)};function P8(e,t){const{containerEl:n,instance:s}=e[vo],{disabled:a}=M8(e,s);a||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(s):S7(e))}const R8={async mounted(e,t){const{instance:n,value:s}=t;ai({scope:vo,from:"the directive v-infinite-scroll",replacement:"the el-scrollbar infinite scroll",version:"3.0.0",ref:"https://element-plus.org/en-US/component/scrollbar#infinite-scroll"},!0),et(s)||Xn(vo,"'v-infinite-scroll' binding value must be a function"),await ze();const{delay:a,immediate:o}=M8(e,n),r=Oy(e,!0),i=r===window?document.documentElement:r,l=Ql(Eme.bind(null,e,s),a);if(r){if(e[vo]={instance:n,container:r,containerEl:i,delay:a,cb:s,onScroll:l,lastScrollTop:i.scrollTop},o){const c=new MutationObserver(Ql(P8.bind(null,e,s),Sme));e[vo].observer=c,c.observe(e,{childList:!0,subtree:!0}),P8(e,s)}r.addEventListener("scroll",l)}},unmounted(e){if(!e[vo])return;const{container:t,onScroll:n}=e[vo];t==null||t.removeEventListener("scroll",n),S7(e)},async updated(e){if(!e[vo])await ze();else{const{containerEl:t,cb:n,observer:s}=e[vo];t.clientHeight&&s&&P8(e,n)}}};R8.install=e=>{e.directive("InfiniteScroll",R8)};const kme=R8;function Ame(e,t){let n;const s=F(!1),a=Wt({...e,originalPosition:"",originalOverflow:"",visible:!1});function o(p){a.text=p}function r(){const p=a.parent,v=h.ns;if(!p.vLoadingAddClassList){let m=p.getAttribute("loading-number");m=Number.parseInt(m)-1,m?p.setAttribute("loading-number",m.toString()):(ra(p,v.bm("parent","relative")),p.removeAttribute("loading-number")),ra(p,v.bm("parent","hidden"))}i(),d.unmount()}function i(){var p,v;(v=(p=h.$el)==null?void 0:p.parentNode)==null||v.removeChild(h.$el)}function l(){var p;e.beforeClose&&!e.beforeClose()||(s.value=!0,clearTimeout(n),n=setTimeout(c,400),a.visible=!1,(p=e.closed)==null||p.call(e))}function c(){if(!s.value)return;const p=a.parent;s.value=!1,p.vLoadingAddClassList=void 0,r()}const d=JS(W({name:"ElLoading",setup(p,{expose:v}){const{ns:m,zIndex:g}=gg("loading");return v({ns:m,zIndex:g}),()=>{const b=a.spinner||a.svg,_=rt("svg",{class:"circular",viewBox:a.svgViewBox?a.svgViewBox:"0 0 50 50",...b?{innerHTML:b}:{}},[rt("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),w=a.text?rt("p",{class:m.b("text")},[a.text]):void 0;return rt(vs,{name:m.b("fade"),onAfterLeave:c},{default:X(()=>[gt(j("div",{style:{backgroundColor:a.background||""},class:[m.b("mask"),a.customClass,m.is("fullscreen",a.fullscreen)]},[rt("div",{class:m.b("spinner")},[_,w])]),[[Bt,a.visible]])])})}}}));Object.assign(d._context,t??{});const h=d.mount(document.createElement("div"));return{...ps(a),setText:o,removeElLoadingChild:i,close:l,handleAfterLeave:c,vm:h,get $el(){return h.$el}}}let V1;const ih=function(e={},t){if(!jt)return;const n=Tme(e);if(n.fullscreen&&V1)return V1;const s=Ame({...n,closed:()=>{var o;(o=n.closed)==null||o.call(n),n.fullscreen&&(V1=void 0)}},t??ih._context);Mme(n,n.parent,s),x7(n,n.parent,s),n.parent.vLoadingAddClassList=()=>x7(n,n.parent,s);let a=n.parent.getAttribute("loading-number");return a?a=`${Number.parseInt(a)+1}`:a="1",n.parent.setAttribute("loading-number",a),n.parent.appendChild(s.$el),ze(()=>s.visible.value=n.visible),n.fullscreen&&(V1=s),s},Tme=e=>{var t,n,s,a;let o;return Xe(e.target)?o=(t=document.querySelector(e.target))!=null?t:document.body:o=e.target||document.body,{parent:o===document.body||e.body?document.body:o,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:o===document.body&&((n=e.fullscreen)!=null?n:!0),lock:(s=e.lock)!=null?s:!1,customClass:e.customClass||"",visible:(a=e.visible)!=null?a:!0,beforeClose:e.beforeClose,closed:e.closed,target:o}},Mme=async(e,t,n)=>{const{nextZIndex:s}=n.vm.zIndex||n.vm._.exposed.zIndex,a={};if(e.fullscreen)n.originalPosition.value=Gi(document.body,"position"),n.originalOverflow.value=Gi(document.body,"overflow"),a.zIndex=s();else if(e.parent===document.body){n.originalPosition.value=Gi(document.body,"position"),await ze();for(const o of["top","left"]){const r=o==="top"?"scrollTop":"scrollLeft";a[o]=`${e.target.getBoundingClientRect()[o]+document.body[r]+document.documentElement[r]-Number.parseInt(Gi(document.body,`margin-${o}`),10)}px`}for(const o of["height","width"])a[o]=`${e.target.getBoundingClientRect()[o]}px`}else n.originalPosition.value=Gi(t,"position");for(const[o,r]of Object.entries(a))n.$el.style[o]=r},x7=(e,t,n)=>{const s=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?ra(t,s.bm("parent","relative")):Lo(t,s.bm("parent","relative")),e.fullscreen&&e.lock?Lo(t,s.bm("parent","hidden")):ra(t,s.bm("parent","hidden"))};ih._context=null;const hv=Symbol("ElLoading"),Du=e=>`element-loading-${Ii(e)}`,E7=(e,t)=>{var n,s,a,o;const r=t.instance,i=p=>ht(t.value)?t.value[p]:void 0,l=p=>{const v=Xe(p)&&(r==null?void 0:r[p])||p;return F(v)},c=p=>l(i(p)||e.getAttribute(Du(p))),u=(n=i("fullscreen"))!=null?n:t.modifiers.fullscreen,d={text:c("text"),svg:c("svg"),svgViewBox:c("svgViewBox"),spinner:c("spinner"),background:c("background"),customClass:c("customClass"),fullscreen:u,target:(s=i("target"))!=null?s:u?void 0:e,body:(a=i("body"))!=null?a:t.modifiers.body,lock:(o=i("lock"))!=null?o:t.modifiers.lock},h=ih(d);h._context=pv._context,e[hv]={options:d,instance:h}},Pme=(e,t)=>{for(const n of Object.keys(e))pn(e[n])&&(e[n].value=t[n])},pv={mounted(e,t){t.value&&E7(e,t)},updated(e,t){const n=e[hv];if(!t.value){n==null||n.instance.close(),e[hv]=null;return}n?Pme(n.options,ht(t.value)?t.value:{text:e.getAttribute(Du("text")),svg:e.getAttribute(Du("svg")),svgViewBox:e.getAttribute(Du("svgViewBox")),spinner:e.getAttribute(Du("spinner")),background:e.getAttribute(Du("background")),customClass:e.getAttribute(Du("customClass"))}):E7(e,t)},unmounted(e){var t;(t=e[hv])==null||t.instance.close(),e[hv]=null}};pv._context=null;const Rme={install(e){ih._context=e._context,pv._context=e._context,e.directive("loading",pv),e.config.globalProperties.$loading=ih},directive:pv,service:ih},k7=["primary","success","info","warning","error"],A7=["top","top-left","top-right","bottom","bottom-left","bottom-right"],vv="top",ha=Rn({customClass:"",dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,placement:void 0,zIndex:0,grouping:!1,repeatNum:1,appendTo:jt?document.body:void 0}),Ime=Me({customClass:{type:String,default:ha.customClass},dangerouslyUseHTMLString:{type:Boolean,default:ha.dangerouslyUseHTMLString},duration:{type:Number,default:ha.duration},icon:{type:en,default:ha.icon},id:{type:String,default:ha.id},message:{type:re([String,Object,Function]),default:ha.message},onClose:{type:re(Function),default:ha.onClose},showClose:{type:Boolean,default:ha.showClose},type:{type:String,values:k7,default:ha.type},plain:{type:Boolean,default:ha.plain},offset:{type:Number,default:ha.offset},placement:{type:String,values:A7,default:ha.placement},zIndex:{type:Number,default:ha.zIndex},grouping:{type:Boolean,default:ha.grouping},repeatNum:{type:Number,default:ha.repeatNum}}),Ome={destroy:()=>!0},_r=R2({}),Lme=e=>(_r[e]||(_r[e]=R2([])),_r[e]),Nme=(e,t)=>{const n=_r[t]||[],s=n.findIndex(r=>r.id===e),a=n[s];let o;return s>0&&(o=n[s-1]),{current:a,prev:o}},$me=(e,t)=>{const{prev:n}=Nme(e,t);return n?n.vm.exposed.bottom.value:0},Dme=(e,t,n)=>(_r[n]||[]).findIndex(o=>o.id===e)>0?16:t,Fme=["id"],Bme=["innerHTML"];var Vme=W({name:"ElMessage",__name:"message",props:Ime,emits:Ome,setup(e,{expose:t,emit:n}){const{Close:s}=jy,a=e,o=n,r=F(!1),{ns:i,zIndex:l}=gg("message"),{currentZIndex:c,nextZIndex:u}=l,d=F(),h=F(!1),p=F(0);let v;const m=k(()=>a.type?a.type==="error"?"danger":a.type:"info"),g=k(()=>{const B=a.type;return{[i.bm("icon",B)]:B&&ec[B]}}),b=k(()=>a.icon||ec[a.type]||""),_=k(()=>a.placement||vv),w=k(()=>$me(a.id,_.value)),C=k(()=>Dme(a.id,a.offset,_.value)+w.value),x=k(()=>p.value+C.value),E=k(()=>_.value.includes("left")?i.is("left"):_.value.includes("right")?i.is("right"):i.is("center")),T=k(()=>_.value.startsWith("top")?"top":"bottom"),R=k(()=>({[T.value]:`${C.value}px`,zIndex:c.value}));function I(){a.duration!==0&&({stop:v}=Ef(()=>{$()},a.duration))}function M(){v==null||v()}function $(){h.value=!1,ze(()=>{var B;r.value||((B=a.onClose)==null||B.call(a),o("destroy"))})}function O(B){an(B)===Te.esc&&$()}return St(()=>{I(),u(),h.value=!0}),me(()=>a.repeatNum,()=>{M(),I()}),Zt(document,"keydown",O),bn(d,()=>{p.value=d.value.getBoundingClientRect().height}),t({visible:h,bottom:x,close:$}),(B,U)=>(S(),le(vs,{name:f(i).b("fade"),onBeforeEnter:U[0]||(U[0]=J=>r.value=!0),onBeforeLeave:e.onClose,onAfterLeave:U[1]||(U[1]=J=>B.$emit("destroy")),persisted:""},{default:X(()=>[gt(A("div",{id:e.id,ref_key:"messageRef",ref:d,class:D([f(i).b(),{[f(i).m(e.type)]:e.type},f(i).is("closable",e.showClose),f(i).is("plain",e.plain),f(i).is("bottom",T.value==="bottom"),E.value,e.customClass]),style:tt(R.value),role:"alert",onMouseenter:M,onMouseleave:I},[e.repeatNum>1?(S(),le(f(xE),{key:0,value:e.repeatNum,type:m.value,class:D(f(i).e("badge"))},null,8,["value","type","class"])):ie("v-if",!0),b.value?(S(),le(f(Je),{key:1,class:D([f(i).e("icon"),g.value])},{default:X(()=>[(S(),le(bt(b.value)))]),_:1},8,["class"])):ie("v-if",!0),ue(B.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(S(),P(He,{key:1},[ie(" Caution here, message could've been compromised, never use user's input as message "),A("p",{class:D(f(i).e("content")),innerHTML:e.message},null,10,Bme)],2112)):(S(),P("p",{key:0,class:D(f(i).e("content"))},ve(e.message),3))]),e.showClose?(S(),le(f(Je),{key:2,class:D(f(i).e("closeBtn")),onClick:lt($,["stop"])},{default:X(()=>[j(f(s))]),_:1},8,["class"])):ie("v-if",!0)],46,Fme),[[Bt,h.value]])]),_:3},8,["name","onBeforeLeave"]))}});let zme=1;const Hme=e=>{if(!e.appendTo)e.appendTo=document.body;else if(Xe(e.appendTo)){let n=document.querySelector(e.appendTo);ja(n)||(n=document.body),e.appendTo=n}},Wme=e=>{!e.placement&&Xe(ua.placement)&&ua.placement&&(e.placement=ua.placement),e.placement||(e.placement=vv),A7.includes(e.placement)||(e.placement=vv)},T7=e=>{const t=!e||Xe(e)||un(e)||et(e)?{message:e}:e,n={...ha,...t};return Hme(n),Wme(n),Qt(ua.grouping)&&!n.grouping&&(n.grouping=ua.grouping),at(ua.duration)&&n.duration===3e3&&(n.duration=ua.duration),at(ua.offset)&&n.offset===16&&(n.offset=ua.offset),Qt(ua.showClose)&&!n.showClose&&(n.showClose=ua.showClose),Qt(ua.plain)&&!n.plain&&(n.plain=ua.plain),n},jme=e=>{const t=e.props.placement||vv,n=_r[t],s=n.indexOf(e);if(s===-1)return;n.splice(s,1);const{handler:a}=e;a.close()},Kme=({appendTo:e,...t},n)=>{const s=`message_${zme++}`,a=t.onClose,o=document.createElement("div"),r={...t,id:s,onClose:()=>{a==null||a(),jme(u)},onDestroy:()=>{Zl(null,o)}},i=j(Vme,r,et(r.message)||un(r.message)?{default:et(r.message)?r.message:()=>r.message}:null);i.appContext=n||Fu._context,Zl(i,o),e.appendChild(o.firstElementChild);const l=i.component,u={id:s,vnode:i,vm:l,handler:{close:()=>{l.exposed.close()}},props:i.component.props};return u},Fu=(e={},t)=>{if(!jt)return{close:()=>{}};const n=T7(e),s=Lme(n.placement||vv);if(n.grouping&&s.length){const o=s.find(({vnode:r})=>{var i;return((i=r.props)==null?void 0:i.message)===n.message});if(o)return o.props.repeatNum+=1,o.props.type=n.type,o.handler}if(at(ua.max)&&s.length>=ua.max)return{close:()=>{}};const a=Kme(n,t);return s.push(a),a.handler};k7.forEach(e=>{Fu[e]=(t={},n)=>{const s=T7(t);return Fu({...s,type:e},n)}});function Ume(e){for(const t in _r)if(Ht(_r,t)){const n=[..._r[t]];for(const s of n)(!e||e===s.props.type)&&s.handler.close()}}function qme(e){if(!_r[e])return;[..._r[e]].forEach(n=>n.handler.close())}Fu.closeAll=Ume,Fu.closeAllByPlacement=qme,Fu._context=null;const Gs=$x(Fu,"$message"),I8="_trap-focus-children",Bu=[],M7=e=>{if(Bu.length===0)return;const t=an(e),n=Bu[Bu.length-1][I8];if(n.length>0&&t===Te.tab){if(n.length===1){e.preventDefault(),document.activeElement!==n[0]&&n[0].focus();return}const s=e.shiftKey,a=e.target===n[0],o=e.target===n[n.length-1];a&&s&&(e.preventDefault(),n[n.length-1].focus()),o&&!s&&(e.preventDefault(),n[0].focus())}};var Gme=W({name:"ElMessageBox",directives:{TrapFocus:{beforeMount(e){e[I8]=W9(e),Bu.push(e),Bu.length<=1&&document.addEventListener("keydown",M7)},updated(e){ze(()=>{e[I8]=W9(e)})},unmounted(){Bu.shift(),Bu.length===0&&document.removeEventListener("keydown",M7)}}},components:{ElButton:gs,ElFocusTrap:Df,ElInput:la,ElOverlay:Q3,ElIcon:Je,...jy},inheritAttrs:!1,props:{buttonSize:{type:String,validator:bT},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,overflow:Boolean,roundButton:Boolean,container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:n,zIndex:s,ns:a,size:o}=gg("message-box",k(()=>e.buttonSize)),{t:r}=n,{nextZIndex:i}=s,l=F(!1),c=Wt({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",cancelButtonType:"",confirmButtonType:"primary",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",closeIcon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:"",inputValidator:void 0,inputErrorMessage:"",message:"",modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:Hr(Ns),cancelButtonLoadingIcon:Hr(Ns),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:i()}),u=k(()=>{const N=c.type;return{[a.bm("icon",N)]:N&&ec[N]}}),d=$s(),h=$s(),p=k(()=>{const N=c.type;return c.icon||N&&ec[N]||""}),v=k(()=>!!c.message),m=F(),g=F(),b=F(),_=F(),w=F(),C=k(()=>c.confirmButtonClass);me(()=>c.inputValue,async N=>{await ze(),e.boxType==="prompt"&&N&&B()},{immediate:!0}),me(()=>l.value,N=>{var L,V;N&&(e.boxType!=="prompt"&&(c.autofocus?b.value=(V=(L=w.value)==null?void 0:L.$el)!=null?V:m.value:b.value=m.value),c.zIndex=i()),e.boxType==="prompt"&&(N?ze().then(()=>{var z;_.value&&_.value.$el&&(c.autofocus?b.value=(z=U())!=null?z:m.value:b.value=m.value)}):(c.editorErrorMessage="",c.validateError=!1))});const x=k(()=>e.draggable),E=k(()=>e.overflow),{isDragging:T}=dA(m,g,x,E);St(async()=>{await ze(),e.closeOnHashChange&&window.addEventListener("hashchange",R)}),Gt(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",R)});function R(){l.value&&(l.value=!1,ze(()=>{c.action&&t("action",c.action)}))}const I=()=>{e.closeOnClickModal&&O(c.distinguishCancelAndClose?"close":"cancel")},M=Z3(I),$=N=>{var L;if(c.inputType!=="textarea"&&!((L=_.value)!=null&&L.isComposing))return N.preventDefault(),O("confirm")},O=N=>{var L;e.boxType==="prompt"&&N==="confirm"&&!B()||(c.action=N,c.beforeClose?(L=c.beforeClose)==null||L.call(c,N,c,R):R())},B=()=>{if(e.boxType==="prompt"){const N=c.inputPattern;if(N&&!N.test(c.inputValue||""))return c.editorErrorMessage=c.inputErrorMessage||r("el.messagebox.error"),c.validateError=!0,!1;const L=c.inputValidator;if(et(L)){const V=L(c.inputValue);if(V===!1)return c.editorErrorMessage=c.inputErrorMessage||r("el.messagebox.error"),c.validateError=!0,!1;if(Xe(V))return c.editorErrorMessage=V,c.validateError=!0,!1}}return c.editorErrorMessage="",c.validateError=!1,!0},U=()=>{var N,L;const V=(N=_.value)==null?void 0:N.$refs;return(L=V==null?void 0:V.input)!=null?L:V==null?void 0:V.textarea},J=()=>{O("close")},Y=()=>{e.closeOnPressEscape&&J()};return e.lockScroll&&n1(l,{ns:a}),{...ps(c),ns:a,overlayEvent:M,visible:l,hasMessage:v,typeClass:u,contentId:d,inputId:h,btnSize:o,iconComponent:p,confirmButtonClasses:C,rootRef:m,focusStartRef:b,headerRef:g,inputRef:_,isDragging:T,confirmRef:w,doClose:R,handleClose:J,onCloseRequested:Y,handleWrapperClick:I,handleInputEnter:$,handleAction:O,t:r}}});const Yme=["aria-label","aria-describedby"],Xme=["aria-label"],Jme=["id"];function Zme(e,t,n,s,a,o){const r=Ge("el-icon"),i=Ge("el-input"),l=Ge("el-button"),c=Ge("el-focus-trap"),u=Ge("el-overlay");return S(),le(vs,{name:"fade-in-linear",onAfterLeave:t[11]||(t[11]=d=>e.$emit("vanish")),persisted:""},{default:X(()=>[gt(j(u,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:X(()=>[A("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:D(`${e.ns.namespace.value}-overlay-message-box`),onClick:t[8]||(t[8]=(...d)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...d)),onMousedown:t[9]||(t[9]=(...d)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...d)),onMouseup:t[10]||(t[10]=(...d)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...d))},[j(c,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:X(()=>[A("div",{ref:"rootRef",class:D([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),e.ns.is("dragging",e.isDragging),{[e.ns.m("center")]:e.center}]),style:tt(e.customStyle),tabindex:"-1",onClick:t[7]||(t[7]=lt(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(S(),P("div",{key:0,ref:"headerRef",class:D([e.ns.e("header"),{"show-close":e.showClose}])},[A("div",{class:D(e.ns.e("title"))},[e.iconComponent&&e.center?(S(),le(r,{key:0,class:D([e.ns.e("status"),e.typeClass])},{default:X(()=>[(S(),le(bt(e.iconComponent)))]),_:1},8,["class"])):ie("v-if",!0),A("span",null,ve(e.title),1)],2),e.showClose?(S(),P("button",{key:0,type:"button",class:D(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:t[0]||(t[0]=d=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:t[1]||(t[1]=Nn(lt(d=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[j(r,{class:D(e.ns.e("close"))},{default:X(()=>[(S(),le(bt(e.closeIcon||"close")))]),_:1},8,["class"])],42,Xme)):ie("v-if",!0)],2)):ie("v-if",!0),A("div",{id:e.contentId,class:D(e.ns.e("content"))},[A("div",{class:D(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(S(),le(r,{key:0,class:D([e.ns.e("status"),e.typeClass])},{default:X(()=>[(S(),le(bt(e.iconComponent)))]),_:1},8,["class"])):ie("v-if",!0),e.hasMessage?(S(),P("div",{key:1,class:D(e.ns.e("message"))},[ue(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(S(),le(bt(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(S(),le(bt(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0,textContent:ve(e.message)},null,8,["for","textContent"]))])],2)):ie("v-if",!0)],2),gt(A("div",{class:D(e.ns.e("input"))},[j(i,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t[2]||(t[2]=d=>e.inputValue=d),type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:D({invalid:e.validateError}),onKeydown:Nn(e.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),A("div",{class:D(e.ns.e("errormsg")),style:tt({visibility:e.editorErrorMessage?"visible":"hidden"})},ve(e.editorErrorMessage),7)],2),[[Bt,e.showInput]])],10,Jme),A("div",{class:D(e.ns.e("btns"))},[e.showCancelButton?(S(),le(l,{key:0,type:e.cancelButtonType==="text"?"":e.cancelButtonType,text:e.cancelButtonType==="text",loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:D([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t[3]||(t[3]=d=>e.handleAction("cancel")),onKeydown:t[4]||(t[4]=Nn(lt(d=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:X(()=>[Ue(ve(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","size"])):ie("v-if",!0),gt(j(l,{ref:"confirmRef",type:e.confirmButtonType==="text"?"":e.confirmButtonType,text:e.confirmButtonType==="text",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:D([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t[5]||(t[5]=d=>e.handleAction("confirm")),onKeydown:t[6]||(t[6]=Nn(lt(d=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:X(()=>[Ue(ve(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","disabled","size"]),[[Bt,e.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,Yme)]),_:3},8,["z-index","overlay-class","mask"]),[[Bt,e.visible]])]),_:3})}var Qme=is(Gme,[["render",Zme]]);const mv=new Map,e2e=e=>{let t=document.body;return e.appendTo&&(Xe(e.appendTo)&&(t=document.querySelector(e.appendTo)),ja(e.appendTo)&&(t=e.appendTo),ja(t)||(t=document.body)),t},t2e=(e,t,n=null)=>{const s=j(Qme,e,et(e.message)||un(e.message)?{default:et(e.message)?e.message:()=>e.message}:null);return s.appContext=n,Zl(s,t),e2e(e).appendChild(t.firstElementChild),s.component},n2e=()=>document.createElement("div"),s2e=(e,t)=>{const n=n2e();e.onVanish=()=>{Zl(null,n),mv.delete(a)},e.onAction=o=>{const r=mv.get(a);let i;e.showInput?i={value:a.inputValue,action:o}:i=o,e.callback?e.callback(i,s.proxy):o==="cancel"||o==="close"?e.distinguishCancelAndClose&&o!=="cancel"?r.reject("close"):r.reject("cancel"):r.resolve(i)};const s=t2e(e,n,t),a=s.proxy;for(const o in e)Ht(e,o)&&!Ht(a.$props,o)&&(o==="closeIcon"&&ht(e[o])?a[o]=Hr(e[o]):a[o]=e[o]);return a.visible=!0,a};function lh(e,t=null){if(!jt)return Promise.reject();let n;return Xe(e)||un(e)?e={message:e}:n=e.callback,new Promise((s,a)=>{const o=s2e(e,t??lh._context);mv.set(o,{options:e,callback:n,resolve:s,reject:a})})}const a2e=["alert","confirm","prompt"],o2e={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};a2e.forEach(e=>{lh[e]=r2e(e)});function r2e(e){return(t,n,s,a)=>{let o="";return ht(n)?(s=n,o=""):$t(n)?o="":o=n,lh(Object.assign({title:o,message:t,type:"",...o2e[e]},s,{boxType:e}),a)}}lh.close=()=>{mv.forEach((e,t)=>{t.doClose()}),mv.clear()},lh._context=null;const pc=lh;pc.install=e=>{pc._context=e._context,e.config.globalProperties.$msgbox=pc,e.config.globalProperties.$messageBox=pc,e.config.globalProperties.$alert=pc.alert,e.config.globalProperties.$confirm=pc.confirm,e.config.globalProperties.$prompt=pc.prompt};const i2e=pc,P7=["primary","success","info","warning","error"],l2e=Me({customClass:{type:String,default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:en},id:{type:String,default:""},message:{type:re([String,Object,Function]),default:""},offset:{type:Number,default:0},onClick:{type:re(Function),default:()=>{}},onClose:{type:re(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:[...P7,""],default:""},zIndex:Number,closeIcon:{type:en,default:Ua}}),c2e={destroy:()=>!0},u2e=["id"],d2e=["textContent"],f2e={key:0},h2e=["innerHTML"];var p2e=W({name:"ElNotification",__name:"notification",props:l2e,emits:c2e,setup(e,{expose:t}){const n=e,{ns:s,zIndex:a}=gg("notification"),{nextZIndex:o,currentZIndex:r}=a,i=F(!1);let l;const c=k(()=>{const _=n.type;return _&&ec[n.type]?s.m(_):""}),u=k(()=>n.type&&ec[n.type]||n.icon),d=k(()=>n.position.endsWith("right")?"right":"left"),h=k(()=>n.position.startsWith("top")?"top":"bottom"),p=k(()=>{var _;return{[h.value]:`${n.offset}px`,zIndex:(_=n.zIndex)!=null?_:r.value}});function v(){n.duration>0&&({stop:l}=Ef(()=>{i.value&&g()},n.duration))}function m(){l==null||l()}function g(){i.value=!1}function b(_){switch(an(_)){case Te.delete:case Te.backspace:m();break;case Te.esc:i.value&&g();break;default:v();break}}return St(()=>{v(),o(),i.value=!0}),Zt(document,"keydown",b),t({visible:i,close:g}),(_,w)=>(S(),le(vs,{name:f(s).b("fade"),onBeforeLeave:e.onClose,onAfterLeave:w[1]||(w[1]=C=>_.$emit("destroy")),persisted:""},{default:X(()=>[gt(A("div",{id:e.id,class:D([f(s).b(),e.customClass,d.value]),style:tt(p.value),role:"alert",onMouseenter:m,onMouseleave:v,onClick:w[0]||(w[0]=(...C)=>e.onClick&&e.onClick(...C))},[u.value?(S(),le(f(Je),{key:0,class:D([f(s).e("icon"),c.value])},{default:X(()=>[(S(),le(bt(u.value)))]),_:1},8,["class"])):ie("v-if",!0),A("div",{class:D(f(s).e("group"))},[A("h2",{class:D(f(s).e("title")),textContent:ve(e.title)},null,10,d2e),gt(A("div",{class:D(f(s).e("content")),style:tt(e.title?void 0:{margin:0})},[ue(_.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(S(),P(He,{key:1},[ie(" Caution here, message could've been compromised, never use user's input as message "),A("p",{innerHTML:e.message},null,8,h2e)],2112)):(S(),P("p",f2e,ve(e.message),1))])],6),[[Bt,e.message]]),e.showClose?(S(),le(f(Je),{key:0,class:D(f(s).e("closeBtn")),onClick:lt(g,["stop"])},{default:X(()=>[(S(),le(bt(e.closeIcon)))]),_:1},8,["class"])):ie("v-if",!0)],2)],46,u2e),[[Bt,i.value]])]),_:3},8,["name","onBeforeLeave"]))}});const ch={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},z1=16;let v2e=1;const Vu=function(e={},t){if(!jt)return{close:()=>{}};(Xe(e)||un(e))&&(e={message:e});const n=e.position||"top-right";let s=e.offset||0;ch[n].forEach(({vm:u})=>{var d;s+=(((d=u.el)==null?void 0:d.offsetHeight)||0)+z1}),s+=z1;const a=`notification_${v2e++}`,o=e.onClose,r={...e,offset:s,id:a,onClose:()=>{m2e(a,n,o)}};let i=document.body;ja(e.appendTo)?i=e.appendTo:Xe(e.appendTo)&&(i=document.querySelector(e.appendTo)),ja(i)||(i=document.body);const l=document.createElement("div"),c=j(p2e,r,et(r.message)?r.message:un(r.message)?()=>r.message:null);return c.appContext=$t(t)?Vu._context:t,c.props.onDestroy=()=>{Zl(null,l)},Zl(c,l),ch[n].push({vm:c}),i.appendChild(l.firstElementChild),{close:()=>{c.component.exposed.visible.value=!1}}};P7.forEach(e=>{Vu[e]=(t={},n)=>((Xe(t)||un(t))&&(t={message:t}),Vu({...t,type:e},n))});function m2e(e,t,n){const s=ch[t],a=s.findIndex(({vm:c})=>{var u;return((u=c.component)==null?void 0:u.props.id)===e});if(a===-1)return;const{vm:o}=s[a];if(!o)return;n==null||n(o);const r=o.el.offsetHeight,i=t.split("-")[0];s.splice(a,1);const l=s.length;if(!(l<1))for(let c=a;c{t.component.exposed.visible.value=!1})}function b2e(e="top-right"){var t,n,s,a;let o=((s=(n=(t=ch[e][0])==null?void 0:t.vm.component)==null?void 0:n.props)==null?void 0:s.offset)||0;for(const{vm:r}of ch[e])r.component.props.offset=o,o+=(((a=r.el)==null?void 0:a.offsetHeight)||0)+z1}Vu.closeAll=g2e,Vu.updateOffsets=b2e,Vu._context=null;const y2e=$x(Vu,"$notify");var w2e=[kme,Rme,Gs,i2e,y2e,KA],O8=tz([...Cme,...w2e]);O8.install,O8.version;const il=(e,t)=>{const n=e.__vccOpts||e;for(const[s,a]of t)n[s]=a;return n},_2e={};function C2e(e,t){const n=Ge("RouterView");return S(),le(n)}const S2e=il(_2e,[["render",C2e]]);/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT @@ -61,18 +61,18 @@ var zye=Object.defineProperty;var sR=kn=>{throw TypeError(kn)};var Hye=(kn,Mn,Ut * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT - */let age=()=>location.protocol+"//"+location.host;function q7(e,t){const{pathname:n,search:s,hash:a}=t,o=e.indexOf("#");if(o>-1){let r=a.includes(e.slice(o))?e.slice(o).length:1,i=a.slice(r);return i[0]!=="/"&&(i="/"+i),F7(i,"")}return F7(n,e)+s+a}function oge(e,t,n,s){let a=[],o=[],r=null;const i=({state:h})=>{const p=q7(e,location),v=n.value,m=t.value;let g=0;if(h){if(n.value=p,t.value=h,r&&r===v){r=null;return}g=m?h.position-m.position:0}else s(p);a.forEach(b=>{b(n.value,v,{delta:g,type:F8.pop,direction:g?g>0?B8.forward:B8.back:B8.unknown})})};function l(){r=n.value}function c(h){a.push(h);const p=()=>{const v=a.indexOf(h);v>-1&&a.splice(v,1)};return o.push(p),p}function u(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(Tn({},h.state,{scroll:H1()}),"")}}function d(){for(const h of o)h();o=[],window.removeEventListener("popstate",i),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",i),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:d}}function G7(e,t,n,s=!1,a=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:a?H1():null}}function rge(e){const{history:t,location:n}=window,s={value:q7(e,n)},a={value:t.state};a.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const d=e.indexOf("#"),h=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:age()+e+l;try{t[u?"replaceState":"pushState"](c,"",h),a.value=c}catch(p){console.error(p),n[u?"replace":"assign"](h)}}function r(l,c){o(l,Tn({},t.state,G7(a.value.back,l,a.value.forward,!0),c,{position:a.value.position}),!0),s.value=l}function i(l,c){const u=Tn({},a.value,t.state,{forward:l,scroll:H1()});o(u.current,u,!0),o(l,Tn({},G7(s.value,l,null),{position:u.position+1},c),!1),s.value=l}return{location:s,state:a,push:i,replace:r}}function ige(e){e=j2e(e);const t=rge(e),n=oge(e,t.state,t.location,t.replace);function s(o,r=!0){r||n.pauseListeners(),history.go(o)}const a=Tn({location:"",base:e,go:s,createHref:U2e.bind(null,e)},t,n);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}function lge(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),ige(e)}let zu=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var Es=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(Es||{});const cge={type:zu.Static,value:""},uge=/[a-zA-Z0-9_]/;function dge(e){if(!e)return[[]];if(e==="/")return[[cge]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=Es.Static,s=n;const a=[];let o;function r(){o&&a.push(o),o=[]}let i=0,l,c="",u="";function d(){c&&(n===Es.Static?o.push({type:zu.Static,value:c}):n===Es.Param||n===Es.ParamRegExp||n===Es.ParamRegExpEnd?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:zu.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;it.length?t.length===1&&t[0]===Ia.Static+Ia.Segment?1:-1:0}function X7(e,t){let n=0;const s=e.score,a=t.score;for(;n0&&t[t.length-1]<0}const mge={strict:!1,end:!0,sensitive:!1};function gge(e,t,n){const s=pge(dge(e.path),n),a=Tn(s,{record:e,parent:t,children:[],alias:[]});return t&&!a.record.aliasOf==!t.record.aliasOf&&t.children.push(a),a}function bge(e,t){const n=[],s=new Map;t=I7(mge,t);function a(d){return s.get(d)}function o(d,h,p){const v=!p,m=Q7(d);m.aliasOf=p&&p.record;const g=I7(t,d),b=[m];if("alias"in d){const _=typeof d.alias=="string"?[d.alias]:d.alias;for(const x of _)b.push(Q7(Tn({},m,{components:p?p.record.components:m.components,path:x,aliasOf:p?p.record:m})))}let C,w;for(const _ of b){const{path:x}=_;if(h&&x[0]!=="/"){const E=h.record.path,T=E[E.length-1]==="/"?"":"/";_.path=h.record.path+(x&&T+x)}if(C=gge(_,h,g),p?p.alias.push(C):(w=w||C,w!==C&&w.alias.push(C),v&&d.name&&!eP(C)&&r(d.name)),tP(C)&&l(C),m.children){const E=m.children;for(let T=0;T{r(w)}:gv}function r(d){if(H7(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(r),h.alias.forEach(r))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(r),d.alias.forEach(r))}}function i(){return n}function l(d){const h=_ge(d,n);n.splice(h,0,d),d.record.name&&!eP(d)&&s.set(d.record.name,d)}function c(d,h){let p,v={},m,g;if("name"in d&&d.name){if(p=s.get(d.name),!p)throw fh(ls.MATCHER_NOT_FOUND,{location:d});g=p.record.name,v=Tn(Z7(h.params,p.keys.filter(w=>!w.optional).concat(p.parent?p.parent.keys.filter(w=>w.optional):[]).map(w=>w.name)),d.params&&Z7(d.params,p.keys.map(w=>w.name))),m=p.stringify(v)}else if(d.path!=null)m=d.path,p=n.find(w=>w.re.test(m)),p&&(v=p.parse(m),g=p.record.name);else{if(p=h.name?s.get(h.name):n.find(w=>w.re.test(h.path)),!p)throw fh(ls.MATCHER_NOT_FOUND,{location:d,currentLocation:h});g=p.record.name,v=Tn({},h.params,d.params),m=p.stringify(v)}const b=[];let C=p;for(;C;)b.unshift(C.record),C=C.parent;return{name:g,path:m,params:v,matched:b,meta:wge(b)}}e.forEach(d=>o(d));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:c,removeRoute:r,clearRoutes:u,getRoutes:i,getRecordMatcher:a}}function Z7(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Q7(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:yge(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function yge(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function eP(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function wge(e){return e.reduce((t,n)=>Tn(t,n.meta),{})}function _ge(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;X7(e,t[o])<0?s=o:n=o+1}const a=Cge(e);return a&&(s=t.lastIndexOf(a,s-1)),s}function Cge(e){let t=e;for(;t=t.parent;)if(tP(t)&&X7(e,t)===0)return t}function tP({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function nP(e){const t=je(W1),n=je(U7),s=k(()=>{const l=f(e.to);return t.resolve(l)}),a=k(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const h=d.findIndex(dh.bind(null,u));if(h>-1)return h;const p=sP(l[c-2]);return c>1&&sP(u)===p&&d[d.length-1].path!==p?d.findIndex(dh.bind(null,l[c-2])):h}),o=k(()=>a.value>-1&&kge(n.params,s.value.params)),r=k(()=>a.value>-1&&a.value===n.matched.length-1&&B7(n.params,s.value.params));function i(l={}){if(Ege(l)){const c=t[f(e.replace)?"replace":"push"](f(e.to)).catch(gv);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:k(()=>s.value.href),isActive:o,isExactActive:r,navigate:i}}function Sge(e){return e.length===1?e[0]:e}const xge=W({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:nP,setup(e,{slots:t}){const n=Wt(nP(e)),{options:s}=je(W1),a=k(()=>({[aP(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[aP(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Sge(t.default(n));return e.custom?o:rt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},o)}}});function Ege(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 kge(e,t){for(const n in t){const s=t[n],a=e[n];if(typeof s=="string"){if(s!==a)return!1}else if(!Cr(a)||a.length!==s.length||s.some((o,r)=>o.valueOf()!==a[r].valueOf()))return!1}return!0}function sP(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const aP=(e,t,n)=>e??t??n,Age=W({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=je(z8),a=k(()=>e.route||s.value),o=je(K7,0),r=k(()=>{let c=f(o);const{matched:u}=a.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),i=k(()=>a.value.matched[r.value]);Tt(K7,k(()=>r.value+1)),Tt(nge,i),Tt(z8,a);const l=F();return me(()=>[l.value,i.value,e.name],([c,u,d],[h,p,v])=>{u&&(u.instances[d]=c,p&&p!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!dh(u,p)||!h)&&(u.enterCallbacks[d]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=a.value,u=e.name,d=i.value,h=d&&d.components[u];if(!h)return oP(n.default,{Component:h,route:c});const p=d.props[u],v=p?p===!0?c.params:typeof p=="function"?p(c):p:null,g=rt(h,Tn({},v,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return oP(n.default,{Component:g,route:c})||g}}});function oP(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Tge=Age;function Mge(e){const t=bge(e.routes,e),n=e.parseQuery||ege,s=e.stringifyQuery||j7,a=e.history,o=yv(),r=yv(),i=yv(),l=hn(vc);let c=vc;uh&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=L8.bind(null,ne=>""+ne),d=L8.bind(null,D2e),h=L8.bind(null,bv);function p(ne,pe){let he,ce;return H7(ne)?(he=t.getRecordMatcher(ne),ce=pe):ce=ne,t.addRoute(ce,he)}function v(ne){const pe=t.getRecordMatcher(ne);pe&&t.removeRoute(pe)}function m(){return t.getRoutes().map(ne=>ne.record)}function g(ne){return!!t.getRecordMatcher(ne)}function b(ne,pe){if(pe=Tn({},pe||l.value),typeof ne=="string"){const de=D8(n,ne,pe.path),be=t.resolve({path:de.path},pe),_e=a.createHref(de.fullPath);return Tn(de,be,{params:h(be.params),hash:bv(de.hash),redirectedFrom:void 0,href:_e})}let he;if(ne.path!=null)he=Tn({},ne,{path:D8(n,ne.path,pe.path).path});else{const de=Tn({},ne.params);for(const be in de)de[be]==null&&delete de[be];he=Tn({},ne,{params:d(de)}),pe.params=d(pe.params)}const ce=t.resolve(he,pe),Z=ne.hash||"";ce.params=u(h(ce.params));const H=V2e(s,Tn({},ne,{hash:L2e(Z),path:ce.path})),te=a.createHref(H);return Tn({fullPath:H,hash:Z,query:s===j7?tge(ne.query):ne.query||{}},ce,{redirectedFrom:void 0,href:te})}function C(ne){return typeof ne=="string"?D8(n,ne,l.value.path):Tn({},ne)}function w(ne,pe){if(c!==ne)return fh(ls.NAVIGATION_CANCELLED,{from:pe,to:ne})}function _(ne){return T(ne)}function x(ne){return _(Tn(C(ne),{replace:!0}))}function E(ne,pe){const he=ne.matched[ne.matched.length-1];if(he&&he.redirect){const{redirect:ce}=he;let Z=typeof ce=="function"?ce(ne,pe):ce;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=C(Z):{path:Z},Z.params={}),Tn({query:ne.query,hash:ne.hash,params:Z.path!=null?{}:ne.params},Z)}}function T(ne,pe){const he=c=b(ne),ce=l.value,Z=ne.state,H=ne.force,te=ne.replace===!0,de=E(he,ce);if(de)return T(Tn(C(de),{state:typeof de=="object"?Tn({},Z,de.state):Z,force:H,replace:te}),pe||he);const be=he;be.redirectedFrom=pe;let _e;return!H&&z2e(s,ce,he)&&(_e=fh(ls.NAVIGATION_DUPLICATED,{to:be,from:ce}),G(ce,ce,!0,!1)),(_e?Promise.resolve(_e):M(be,ce)).catch(Se=>ll(Se)?ll(Se,ls.NAVIGATION_GUARD_REDIRECT)?Se:z(Se):L(Se,be,ce)).then(Se=>{if(Se){if(ll(Se,ls.NAVIGATION_GUARD_REDIRECT))return T(Tn({replace:te},C(Se.to),{state:typeof Se.to=="object"?Tn({},Z,Se.to.state):Z,force:H}),pe||be)}else Se=O(be,ce,!0,te,Z);return $(be,ce,Se),Se})}function R(ne,pe){const he=w(ne,pe);return he?Promise.reject(he):Promise.resolve()}function I(ne){const pe=ee.values().next().value;return pe&&typeof pe.runWithContext=="function"?pe.runWithContext(ne):ne()}function M(ne,pe){let he;const[ce,Z,H]=sge(ne,pe);he=H8(ce.reverse(),"beforeRouteLeave",ne,pe);for(const de of ce)de.leaveGuards.forEach(be=>{he.push(mc(be,ne,pe))});const te=R.bind(null,ne,pe);return he.push(te),fe(he).then(()=>{he=[];for(const de of o.list())he.push(mc(de,ne,pe));return he.push(te),fe(he)}).then(()=>{he=H8(Z,"beforeRouteUpdate",ne,pe);for(const de of Z)de.updateGuards.forEach(be=>{he.push(mc(be,ne,pe))});return he.push(te),fe(he)}).then(()=>{he=[];for(const de of H)if(de.beforeEnter)if(Cr(de.beforeEnter))for(const be of de.beforeEnter)he.push(mc(be,ne,pe));else he.push(mc(de.beforeEnter,ne,pe));return he.push(te),fe(he)}).then(()=>(ne.matched.forEach(de=>de.enterCallbacks={}),he=H8(H,"beforeRouteEnter",ne,pe,I),he.push(te),fe(he))).then(()=>{he=[];for(const de of r.list())he.push(mc(de,ne,pe));return he.push(te),fe(he)}).catch(de=>ll(de,ls.NAVIGATION_CANCELLED)?de:Promise.reject(de))}function $(ne,pe,he){i.list().forEach(ce=>I(()=>ce(ne,pe,he)))}function O(ne,pe,he,ce,Z){const H=w(ne,pe);if(H)return H;const te=pe===vc,de=uh?history.state:{};he&&(ce||te?a.replace(ne.fullPath,Tn({scroll:te&&de&&de.scroll},Z)):a.push(ne.fullPath,Z)),l.value=ne,G(ne,pe,he,te),z()}let B;function U(){B||(B=a.listen((ne,pe,he)=>{if(!ae.listening)return;const ce=b(ne),Z=E(ce,ae.currentRoute.value);if(Z){T(Tn(Z,{replace:!0,force:!0}),ce).catch(gv);return}c=ce;const H=l.value;uh&&Y2e(z7(H.fullPath,he.delta),H1()),M(ce,H).catch(te=>ll(te,ls.NAVIGATION_ABORTED|ls.NAVIGATION_CANCELLED)?te:ll(te,ls.NAVIGATION_GUARD_REDIRECT)?(T(Tn(C(te.to),{force:!0}),ce).then(de=>{ll(de,ls.NAVIGATION_ABORTED|ls.NAVIGATION_DUPLICATED)&&!he.delta&&he.type===F8.pop&&a.go(-1,!1)}).catch(gv),Promise.reject()):(he.delta&&a.go(-he.delta,!1),L(te,ce,H))).then(te=>{te=te||O(ce,H,!1),te&&(he.delta&&!ll(te,ls.NAVIGATION_CANCELLED)?a.go(-he.delta,!1):he.type===F8.pop&&ll(te,ls.NAVIGATION_ABORTED|ls.NAVIGATION_DUPLICATED)&&a.go(-1,!1)),$(ce,H,te)}).catch(gv)}))}let J=yv(),Y=yv(),N;function L(ne,pe,he){z(ne);const ce=Y.list();return ce.length?ce.forEach(Z=>Z(ne,pe,he)):console.error(ne),Promise.reject(ne)}function V(){return N&&l.value!==vc?Promise.resolve():new Promise((ne,pe)=>{J.add([ne,pe])})}function z(ne){return N||(N=!ne,U(),J.list().forEach(([pe,he])=>ne?he(ne):pe()),J.reset()),ne}function G(ne,pe,he,ce){const{scrollBehavior:Z}=e;if(!uh||!Z)return Promise.resolve();const H=!he&&X2e(z7(ne.fullPath,0))||(ce||!he)&&history.state&&history.state.scroll||null;return ze().then(()=>Z(ne,pe,H)).then(te=>te&&G2e(te)).catch(te=>L(te,ne,pe))}const Q=ne=>a.go(ne);let K;const ee=new Set,ae={currentRoute:l,listening:!0,addRoute:p,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:m,resolve:b,options:e,push:_,replace:x,go:Q,back:()=>Q(-1),forward:()=>Q(1),beforeEach:o.add,beforeResolve:r.add,afterEach:i.add,onError:Y.add,isReady:V,install(ne){ne.component("RouterLink",xge),ne.component("RouterView",Tge),ne.config.globalProperties.$router=ae,Object.defineProperty(ne.config.globalProperties,"$route",{enumerable:!0,get:()=>f(l)}),uh&&!K&&l.value===vc&&(K=!0,_(a.location).catch(ce=>{}));const pe={};for(const ce in vc)Object.defineProperty(pe,ce,{get:()=>l.value[ce],enumerable:!0});ne.provide(W1,ae),ne.provide(U7,R2(pe)),ne.provide(z8,l);const he=ne.unmount;ee.add(ne),ne.unmount=function(){ee.delete(ne),ee.size<1&&(c=vc,B&&B(),B=null,l.value=vc,K=!1,N=!1),he()}}};function fe(ne){return ne.reduce((pe,he)=>pe.then(()=>I(he)),Promise.resolve())}return ae}function rP(){return je(W1)}const Pge={class:"card-title"},Rge={class:"batch-area"},Ige={class:"batch-input-row"},Oge={key:0,class:"batch-preview"},Lge={class:"batch-summary"},Nge={class:"batch-limit-row"},$ge={key:0,class:"batch-more-hint"},Dge={key:1,class:"batch-empty"},Fge={class:"option-row"},Bge={class:"mode-hint"},Vge={class:"option-row"},zge={class:"option-row"},Hge={class:"submit-row"},Wge=il({__name:"FileUpload",emits:["submit"],setup(e,{emit:t}){const n=t,s=F("file"),a=F([]),o=F(null),r=F(""),i=F(["excel","json"]),l=F("drawing"),c=F(!0),u=F(null),d=F(null),h=F(null),p=F([]),v=F(200),m=k(()=>p.value.slice(0,v.value).map(I=>({name:I.webkitRelativePath||I.name,size:g(I.size),raw:I})));function g(I){return I<1024?`${I} B`:I<1024*1024?`${(I/1024).toFixed(1)} KB`:`${(I/(1024*1024)).toFixed(1)} MB`}function b(){var I;(I=d.value)==null||I.click()}function C(){var I;(I=h.value)==null||I.click()}function w(I){const M=Array.from(I.target.files||[]).filter($=>$.name.toLowerCase().endsWith(".pdf"));if(!M.length){Gs.warning("未找到 PDF 文件");return}p.value=M,v.value=M.length,I.target.value=""}function _(){p.value=[],v.value=200}const x=k(()=>i.value.length===0?!1:s.value==="file"?!!o.value:s.value==="url"?r.value.trim().startsWith("http"):s.value==="batch"?p.value.length>0:!1);function E(I){o.value=I.raw,a.value=[I]}function T(){Gs.warning("只能上传一个 PDF 文件,请先移除后再添加")}function R(){if(x.value){if(s.value==="batch"){const I=p.value.slice(0,v.value);n("submit",{file:null,url:null,files:I,formats:i.value,mode:l.value,autoCorrect:c.value,maxConcurrent:40,batch:!0});return}n("submit",{file:s.value==="file"?o.value:null,url:s.value==="url"?r.value.trim():null,files:null,formats:i.value,mode:l.value,autoCorrect:c.value,maxConcurrent:40,batch:!1})}}return(I,M)=>{const $=Ge("Upload"),O=Ge("el-icon"),B=Ge("UploadFilled"),U=Ge("el-upload"),J=Ge("el-tab-pane"),Y=Ge("Link"),N=Ge("el-input"),L=Ge("el-button"),V=Ge("el-tag"),z=Ge("el-input-number"),G=Ge("el-table-column"),Q=Ge("el-table"),K=Ge("el-tabs"),ee=Ge("el-radio-button"),ae=Ge("el-radio-group"),fe=Ge("el-switch"),ne=Ge("Grid"),pe=Ge("el-checkbox"),he=Ge("DataLine"),ce=Ge("el-checkbox-group"),Z=Ge("el-card");return S(),le(Z,{class:"upload-card",shadow:"never"},{header:X(()=>[A("div",Pge,[j(O,null,{default:X(()=>[j($)]),_:1}),M[7]||(M[7]=A("span",null,"上传 PDF 文件",-1))])]),default:X(()=>[j(K,{modelValue:s.value,"onUpdate:modelValue":M[3]||(M[3]=H=>s.value=H),class:"upload-tabs"},{default:X(()=>[j(J,{label:"本地上传",name:"file"},{default:X(()=>[j(U,{ref_key:"uploadRef",ref:u,class:"drop-area",drag:"","auto-upload":!1,accept:".pdf",limit:1,"on-change":E,"on-exceed":T,"file-list":a.value},{tip:X(()=>[...M[8]||(M[8]=[A("div",{class:"upload-tip"},"支持单个 PDF 文件,最大 500MB",-1)])]),default:X(()=>[j(O,{class:"upload-icon"},{default:X(()=>[j(B)]),_:1}),M[9]||(M[9]=A("div",{class:"upload-text"},[Ue("拖拽 PDF 文件到此处,或 "),A("em",null,"点击选择")],-1))]),_:1},8,["file-list"])]),_:1}),j(J,{label:"网络 URL",name:"url"},{default:X(()=>[j(N,{modelValue:r.value,"onUpdate:modelValue":M[0]||(M[0]=H=>r.value=H),placeholder:"输入 PDF 文件的网络地址,例如 https://example.com/file.pdf",clearable:"",size:"large"},{prepend:X(()=>[j(O,null,{default:X(()=>[j(Y)]),_:1})]),_:1},8,["modelValue"])]),_:1}),j(J,{label:"批量解析",name:"batch"},{default:X(()=>[A("div",Rge,[A("div",Ige,[j(L,{icon:f(Cg),onClick:b},{default:X(()=>[...M[10]||(M[10]=[Ue(" 选择文件夹 ",-1)])]),_:1},8,["icon"]),j(L,{icon:f(Gx),onClick:C},{default:X(()=>[...M[11]||(M[11]=[Ue(" 选择多个文件 ",-1)])]),_:1},8,["icon"]),A("input",{ref_key:"folderInputRef",ref:d,type:"file",accept:".pdf",webkitdirectory:"",multiple:"",style:{display:"none"},onChange:w},null,544),A("input",{ref_key:"multiInputRef",ref:h,type:"file",accept:".pdf",multiple:"",style:{display:"none"},onChange:w},null,544)]),p.value.length?(S(),P("div",Oge,[A("div",Lge,[j(V,{type:"success"},{default:X(()=>[Ue(" 共检测到 "+ve(p.value.length)+" 个 PDF 文件 ",1)]),_:1}),p.value.length>v.value?(S(),le(V,{key:0,type:"warning"},{default:X(()=>[Ue(" 当前限制解析前 "+ve(v.value)+" 个 ",1)]),_:1})):ie("",!0),A("div",Nge,[M[13]||(M[13]=A("span",{class:"option-label"},"解析数量:",-1)),j(z,{modelValue:v.value,"onUpdate:modelValue":M[1]||(M[1]=H=>v.value=H),min:1,max:p.value.length,size:"small",step:10,style:{width:"120px"}},null,8,["modelValue","max"]),j(L,{size:"small",text:"",onClick:M[2]||(M[2]=H=>v.value=p.value.length)},{default:X(()=>[...M[12]||(M[12]=[Ue("全部",-1)])]),_:1})])]),j(Q,{data:m.value,size:"small","max-height":"200",class:"batch-table","highlight-current-row":""},{default:X(()=>[j(G,{type:"index",width:"50",label:"#"}),j(G,{prop:"name",label:"文件名","show-overflow-tooltip":""}),j(G,{prop:"size",label:"大小",width:"90",align:"right"})]),_:1},8,["data"]),p.value.length>v.value?(S(),P("div",$ge," ... 还有 "+ve(p.value.length-v.value)+" 个文件未显示(超出解析数量限制) ",1)):ie("",!0),j(L,{size:"small",text:"",type:"danger",onClick:_,class:"batch-clear-btn"},{default:X(()=>[...M[14]||(M[14]=[Ue("清除",-1)])]),_:1})])):(S(),P("div",Dge,[j(O,{size:"40",color:"#c0c4cc"},{default:X(()=>[j(f(Cg))]),_:1}),M[15]||(M[15]=A("p",null,"选择包含 PDF 的文件夹,或直接选择多个 PDF 文件",-1)),M[16]||(M[16]=A("p",{class:"batch-hint"},"支持 100+ 文件批量处理,逐文件顺序解析",-1))]))])]),_:1})]),_:1},8,["modelValue"]),A("div",Fge,[M[19]||(M[19]=A("span",{class:"option-label"},"识别模式:",-1)),j(ae,{modelValue:l.value,"onUpdate:modelValue":M[4]||(M[4]=H=>l.value=H),size:"small"},{default:X(()=>[j(ee,{value:"drawing"},{default:X(()=>[...M[17]||(M[17]=[Ue("图纸模式",-1)])]),_:1}),j(ee,{value:"auto"},{default:X(()=>[...M[18]||(M[18]=[Ue("自动识别",-1)])]),_:1})]),_:1},8,["modelValue"]),A("span",Bge,ve(l.value==="drawing"?"管道轴测图:每页均为图纸,复用第1页区域配置,40并发高速识别":"VL 自动分类:图纸页专项裁剪,文字页通用识别,40并发"),1)]),A("div",Vge,[M[20]||(M[20]=A("span",{class:"option-label"},"自动纠错:",-1)),j(fe,{modelValue:c.value,"onUpdate:modelValue":M[5]||(M[5]=H=>c.value=H),"active-text":"启用","inactive-text":"关闭"},null,8,["modelValue"]),M[21]||(M[21]=A("span",{class:"mode-hint"},"识别完成后调用 LLM 对结果进行连续性校验与自动修正",-1))]),A("div",zge,[M[24]||(M[24]=A("span",{class:"option-label"},"导出格式:",-1)),j(ce,{modelValue:i.value,"onUpdate:modelValue":M[6]||(M[6]=H=>i.value=H)},{default:X(()=>[j(pe,{value:"excel",label:"excel"},{default:X(()=>[j(O,null,{default:X(()=>[j(ne)]),_:1}),M[22]||(M[22]=Ue(" Excel ",-1))]),_:1}),j(pe,{value:"json",label:"json"},{default:X(()=>[j(O,null,{default:X(()=>[j(he)]),_:1}),M[23]||(M[23]=Ue(" JSON ",-1))]),_:1})]),_:1},8,["modelValue"])]),A("div",Hge,[j(L,{type:"primary",size:"large",disabled:!x.value,icon:s.value==="batch"?f(Dy):f(n9),onClick:R},{default:X(()=>[Ue(ve(s.value==="batch"?`批量解析 ${Math.min(v.value,p.value.length)} 个文件`:"开始识别"),1)]),_:1},8,["disabled","icon"])])]),_:1})}}},[["__scopeId","data-v-a0c75cf1"]]),j1="http://localhost:8000/api/ocr";function jge(e,t=["excel","json"],n,s="drawing",a=!0,o=null){const r=new FormData;r.append("file",e),r.append("export_formats",t.join(",")),r.append("pdf_mode",s),r.append("auto_correct",a?"true":"false"),o&&r.append("max_concurrent",String(o));const i=new AbortController;return fetch(`${j1}/upload`,{method:"POST",body:r,signal:i.signal}).then(l=>{if(!l.ok)throw new Error(`HTTP ${l.status}`);return W8(l,n)}).catch(l=>{l.name!=="AbortError"&&n({type:"error",data:{message:l.message}})}),()=>i.abort()}function Kge(e,t=["excel","json"],n,s="drawing",a=!0){const o=new AbortController;return fetch(`${j1}/url`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({url:e,export_formats:t,pdf_mode:s,auto_correct:a}),signal:o.signal}).then(r=>{if(!r.ok)throw new Error(`HTTP ${r.status}`);return W8(r,n)}).catch(r=>{r.name!=="AbortError"&&n({type:"error",data:{message:r.message}})}),()=>o.abort()}async function W8(e,t){const n=e.body.getReader(),s=new TextDecoder;let a="";for(;;){const{done:o,value:r}=await n.read();if(o)break;a+=s.decode(r,{stream:!0});const i=a.split(` -`);a=i.pop()??"";for(const l of i)if(l.startsWith("data: "))try{const c=JSON.parse(l.slice(6));t(c)}catch{}}}function K1(e,t){return`${j1}/download/${e}/${t}`}function Uge(e,t=["excel","json"],n,s="drawing",a=!0,o=null){const r=new FormData;for(const l of e)r.append("files",l);r.append("export_formats",t.join(",")),r.append("pdf_mode",s),r.append("auto_correct",a?"true":"false"),o&&r.append("max_concurrent",String(o));const i=new AbortController;return fetch(`${j1}/batch`,{method:"POST",body:r,signal:i.signal}).then(l=>{if(!l.ok)throw new Error(`HTTP ${l.status}`);return W8(l,n)}).catch(l=>{l.name!=="AbortError"&&n({type:"error",data:{message:l.message}})}),()=>i.abort()}const qge={class:"panel-header"},Gge={class:"panel-title"},Yge={class:"panel-actions"},Xge={key:0,class:"overall-progress"},Jge={class:"progress-label"},Zge={key:0,class:"current-file"},Qge={key:0,class:"current-msg"},e1e={key:1,class:"summary-row"},t1e={key:1,class:"row-msg"},n1e={key:2,class:"text-danger"},s1e={key:3,class:"text-success"},a1e=il({__name:"BatchResultPanel",props:{batchEvents:{type:Array,default:()=>[]},batchDone:{type:Boolean,default:!1},mergedSessionId:{type:String,default:""},outputFiles:{type:Object,default:()=>({})},totalFiles:{type:Number,default:0}},emits:["reset"],setup(e,{emit:t}){const n=e,s=t,a=F({});me(()=>n.batchEvents,w=>{for(const _ of w)o(_)},{deep:!0});function o(w){const{type:_,data:x}=w;if(_==="file_start")a.value[x.filename]={filename:x.filename,status:"processing",pages:0,message:"准备中...",percent:0,sessionId:null,error:null,success:!1};else if(_==="file_progress"){const E=a.value[x.filename];E&&(E.message=x.message||E.message,x.percent!=null&&(E.percent=x.percent))}else _==="file_done"?a.value[x.filename]={filename:x.filename,status:"done",pages:x.pages||0,message:"",percent:100,sessionId:x.session_id,error:null,success:!0}:_==="file_error"&&(a.value[x.filename]={filename:x.filename,status:"error",pages:0,message:"",percent:0,sessionId:null,error:x.error,success:!1})}const r=k(()=>Object.values(a.value)),i=k(()=>r.value.filter(w=>w.status==="done"||w.status==="error").length),l=k(()=>r.value.filter(w=>w.status==="done").length),c=k(()=>r.value.filter(w=>w.status==="error").length),u=k(()=>r.value.reduce((w,_)=>w+(_.pages||0),0)),d=k(()=>n.totalFiles?Math.round(i.value/n.totalFiles*100):0),h=k(()=>r.value.find(w=>w.status==="processing")),p=k(()=>{var w;return((w=h.value)==null?void 0:w.filename)||""}),v=k(()=>{var w;return((w=h.value)==null?void 0:w.message)||""}),m=k(()=>{var w;return!!((w=n.outputFiles)!=null&&w.excel)}),g=k(()=>{var w;return!!((w=n.outputFiles)!=null&&w.json)});function b(w){const _=K1(n.mergedSessionId,w),x=document.createElement("a");x.href=_,x.download=w,document.body.appendChild(x),x.click(),document.body.removeChild(x)}function C(w,_,x){const E=K1(w,_),T=_.endsWith(".xlsx")?".xlsx":".json",R=x?x.replace(/\.pdf$/i,"")+T:_,I=document.createElement("a");I.href=E,I.download=R,document.body.appendChild(I),I.click(),document.body.removeChild(I)}return(w,_)=>{const x=Ge("el-icon"),E=Ge("el-tag"),T=Ge("el-button"),R=Ge("el-progress"),I=Ge("el-statistic"),M=Ge("el-table-column"),$=Ge("el-table"),O=Ge("el-card");return S(),le(O,{class:"batch-result-card",shadow:"never"},{header:X(()=>[A("div",qge,[A("div",Gge,[j(x,null,{default:X(()=>[j(f(Dy))]),_:1}),_[3]||(_[3]=A("span",null,"批量解析结果",-1)),e.batchDone?(S(),le(E,{key:0,type:"success",size:"small"},{default:X(()=>[Ue(" 完成 "+ve(l.value)+"/"+ve(e.totalFiles),1)]),_:1})):ie("",!0),c.value>0?(S(),le(E,{key:1,type:"danger",size:"small"},{default:X(()=>[Ue(" 失败 "+ve(c.value),1)]),_:1})):ie("",!0)]),A("div",Yge,[e.mergedSessionId?(S(),P(He,{key:0},[m.value?(S(),le(T,{key:0,type:"primary",size:"small",icon:f(Ji),onClick:_[0]||(_[0]=B=>b("result.xlsx"))},{default:X(()=>[..._[4]||(_[4]=[Ue("下载合并 Excel",-1)])]),_:1},8,["icon"])):ie("",!0),g.value?(S(),le(T,{key:1,size:"small",icon:f(Ji),onClick:_[1]||(_[1]=B=>b("result.json"))},{default:X(()=>[..._[5]||(_[5]=[Ue("下载合并 JSON",-1)])]),_:1},8,["icon"])):ie("",!0)],64)):ie("",!0),j(T,{size:"small",plain:"",onClick:_[2]||(_[2]=B=>s("reset"))},{default:X(()=>[..._[6]||(_[6]=[Ue("重新开始",-1)])]),_:1})])])]),default:X(()=>[e.batchDone?ie("",!0):(S(),P("div",Xge,[A("div",Jge,[Ue(" 已完成 "+ve(i.value)+" / "+ve(e.totalFiles)+" 个文件 ",1),p.value?(S(),P("span",Zge," — 正在处理:"+ve(p.value),1)):ie("",!0)]),j(R,{percentage:d.value,"stroke-width":10,striped:"","striped-flow":"",duration:10,status:""},null,8,["percentage"]),v.value?(S(),P("div",Qge,ve(v.value),1)):ie("",!0)])),e.batchDone?(S(),P("div",e1e,[j(I,{title:"总文件数",value:e.totalFiles},null,8,["value"]),j(I,{title:"成功解析",value:l.value,"value-style":"color:#67c23a"},null,8,["value"]),j(I,{title:"失败文件",value:c.value,"value-style":"color:#f56c6c"},null,8,["value"]),j(I,{title:"合计页数",value:u.value},null,8,["value"])])):ie("",!0),j($,{data:r.value,size:"small",class:"file-table","max-height":"420",stripe:""},{default:X(()=>[j(M,{type:"index",width:"55",label:"#",align:"center"}),j(M,{label:"文件名","min-width":"220","show-overflow-tooltip":""},{default:X(({row:B})=>[A("span",{class:D(B.success?"":"text-danger")},ve(B.filename),3)]),_:1}),j(M,{label:"状态",width:"110",align:"center"},{default:X(({row:B})=>[B.status==="done"?(S(),le(E,{key:0,type:"success",size:"small"},{default:X(()=>[j(x,null,{default:X(()=>[j(f(xp))]),_:1}),_[7]||(_[7]=Ue(" 完成 ",-1))]),_:1})):B.status==="error"?(S(),le(E,{key:1,type:"danger",size:"small"},{default:X(()=>[j(x,null,{default:X(()=>[j(f($o))]),_:1}),_[8]||(_[8]=Ue(" 失败 ",-1))]),_:1})):B.status==="processing"?(S(),le(E,{key:2,type:"warning",size:"small"},{default:X(()=>[j(x,null,{default:X(()=>[j(f(Ns))]),_:1}),_[9]||(_[9]=Ue(" 处理中 ",-1))]),_:1})):(S(),le(E,{key:3,type:"info",size:"small"},{default:X(()=>[..._[10]||(_[10]=[Ue("等待",-1)])]),_:1}))]),_:1}),j(M,{label:"页数",width:"70",align:"center",prop:"pages"}),j(M,{label:"进度/错误信息","min-width":"260","show-overflow-tooltip":""},{default:X(({row:B})=>[B.status==="processing"&&B.percent!=null?(S(),le(R,{key:0,percentage:B.percent,"stroke-width":6,striped:"","striped-flow":"",duration:8,class:"row-progress"},null,8,["percentage"])):B.status==="processing"?(S(),P("span",t1e,ve(B.message),1)):B.status==="error"?(S(),P("span",n1e,ve(B.error),1)):B.status==="done"?(S(),P("span",s1e,"识别完成")):ie("",!0)]),_:1}),j(M,{label:"下载",width:"80",align:"center"},{default:X(({row:B})=>[B.sessionId?(S(),le(T,{key:0,size:"small",text:"",type:"primary",icon:f(Ji),title:"下载 Excel",onClick:U=>C(B.sessionId,"result.xlsx",B.filename)},null,8,["icon","onClick"])):ie("",!0)]),_:1})]),_:1},8,["data"])]),_:1})}}},[["__scopeId","data-v-d95acc72"]]),o1e={class:"card-title"},r1e={key:0,class:"page-indicator"},i1e={class:"log-time"},l1e=il({__name:"ProgressTracker",props:{logs:{type:Array,default:()=>[]},percent:{type:Number,default:0},totalPages:{type:Number,default:0},currentPage:{type:Number,default:0}},setup(e){const t=e,n=F(null),s=Date.now(),a=[{color:"#409EFF",percentage:40},{color:"#67C23A",percentage:80},{color:"#E6A23C",percentage:100}];function o(r){return`[${Math.round((Date.now()-s)/1e3)}s]`}return me(()=>t.logs.length,async()=>{await ze(),n.value&&(n.value.scrollTop=n.value.scrollHeight)}),(r,i)=>{const l=Ge("Loading"),c=Ge("el-icon"),u=Ge("el-progress"),d=Ge("el-card");return S(),le(d,{class:"progress-card",shadow:"never"},{header:X(()=>[A("div",o1e,[j(c,{class:"spin"},{default:X(()=>[j(l)]),_:1}),i[0]||(i[0]=A("span",null,"正在处理中...",-1)),e.totalPages>0?(S(),P("span",r1e," 第 "+ve(e.currentPage)+" / "+ve(e.totalPages)+" 页 ",1)):ie("",!0)])]),default:X(()=>[j(u,{percentage:e.percent,"stroke-width":14,color:a,class:"main-progress"},null,8,["percentage"]),A("div",{class:"log-container",ref_key:"logContainer",ref:n},[(S(!0),P(He,null,yt(e.logs,(h,p)=>(S(),P("div",{key:p,class:D(["log-item",{"log-success":h.includes("✓")||h.includes("✅"),"log-error":h.includes("❌")}])},[A("span",i1e,ve(o(p)),1),Ue(" "+ve(h),1)],2))),128))],512)]),_:1})}}},[["__scopeId","data-v-673aebf7"]]),c1e={class:"flagged-cell"},u1e={key:1},d1e={class:"row-count"},f1e={key:1,class:"raw-text"},h1e=il({__name:"Parts3Table",props:{data:{type:[Object,null],default:null}},setup(e){const t=e,n=new Set(["_flags","_corrections"]),s={seq_no:"序号",category:"类别",description:"材料描述",size:"SIZE",code:"材料代号",qty:"数量",pipe_no:"管道号",unit:"单位",material:"材质",remark:"备注",spec:"公称直径"},a={llm_suspicious:"LLM标记可疑,需人工复核",llm_corrected:"LLM已修正",rule_corrected:"规则已修正",seq_gap:"序号不连续",seq_dup:"序号重复",desc_overflow:"描述溢出到规格列",size_invalid:"规格字段异常",size_outlier:"规格偏离本页主导尺寸",qty_invalid:"数量字段异常",cell_overlap:"单元格数值重叠(叠印)",desc_num_tail:"描述末尾残留尺寸数字",size_num_prefix:"尺寸前缀数字粘连"},o=k(()=>{if(!t.data)return[];const d=t.data;return d.rows&&Array.isArray(d.rows)?d.rows:d.data&&Array.isArray(d.data)?d.data:d.items&&Array.isArray(d.items)?d.items:[]}),r=k(()=>{if(o.value.length===0)return[];const d=new Set;return o.value.slice(0,5).forEach(h=>Object.keys(h).forEach(p=>d.add(p))),Array.from(d).filter(h=>!n.has(h))}),i=k(()=>t.data&&t.data.raw_text||"");function l(d){return s[d]||d}function c(d,h){var g,b;const p=(g=d._flags)==null?void 0:g[h],v=a[p]||p||"",m=(b=d._corrections)==null?void 0:b[h];return m!=null?`[已修正] 原值:${m} -${v}`:`[${v}]`}function u({row:d,column:h}){if(!d._flags)return{};const p=h.property,v=d._flags[p];return v?new Set(["llm_corrected","rule_corrected"]).has(v)?{backgroundColor:"#FFB347",color:"#000",fontWeight:"bold"}:{backgroundColor:"#ADD8E6",color:"#000",fontWeight:"bold"}:{}}return(d,h)=>{const p=Ge("el-tooltip"),v=Ge("el-table-column"),m=Ge("el-table"),g=Ge("el-empty");return S(),P("div",null,[o.value.length>0?(S(),P(He,{key:0},[j(m,{data:o.value,border:"",stripe:"",size:"small",style:{width:"100%"},"max-height":500,"cell-style":u},{default:X(()=>[(S(!0),P(He,null,yt(r.value,b=>(S(),le(v,{key:b,prop:b,label:l(b),"min-width":"100"},{default:X(({row:C})=>[C._flags&&C._flags[b]?(S(),le(p,{key:0,content:c(C,b),placement:"top","show-after":300},{default:X(()=>[A("span",c1e,ve(C[b]),1)]),_:2},1032,["content"])):(S(),P("span",u1e,ve(C[b]),1))]),_:2},1032,["prop","label"]))),128))]),_:1},8,["data"]),A("div",d1e,"共 "+ve(o.value.length)+" 行",1)],64)):i.value?(S(),P("pre",f1e,ve(i.value),1)):(S(),le(g,{key:2,description:"暂无识别数据","image-size":60}))])}}},[["__scopeId","data-v-bfa225df"]]),p1e={key:1,class:"raw-text"},iP=il({__name:"MetaInfo",props:{data:{type:[Object,null],default:null}},setup(e){const t=e,n=k(()=>!t.data||typeof t.data!="object"?[]:Object.entries(t.data).filter(([a])=>a!=="raw_text"&&a!=="parse_error"&&a!=="part").filter(([,a])=>a!=null).map(([a,o])=>({key:a,value:String(o)}))),s=k(()=>{var a;return((a=t.data)==null?void 0:a.raw_text)||""});return(a,o)=>{const r=Ge("el-descriptions-item"),i=Ge("el-descriptions"),l=Ge("el-empty");return S(),P("div",null,[n.value.length>0?(S(),le(i,{key:0,column:1,border:"",size:"small"},{default:X(()=>[(S(!0),P(He,null,yt(n.value,({key:c,value:u})=>(S(),le(r,{key:c,label:c},{default:X(()=>[Ue(ve(u),1)]),_:2},1032,["label"]))),128))]),_:1})):s.value?(S(),P("pre",p1e,ve(s.value),1)):(S(),le(l,{key:2,description:"暂无数据","image-size":50}))])}}},[["__scopeId","data-v-9250db36"]]),v1e={class:"toolbar"},m1e={class:"result-summary"},g1e={key:0,class:"token-hint"},b1e={class:"btn-group"},y1e={key:0},w1e={key:1},_1e={key:0,style:{color:"#e6a23c"}},C1e={key:0,class:"reason-tags"},S1e={key:2,class:"page-detail"},lP=il({__name:"ResultPanel",props:{pagesData:{type:Array,default:()=>[]},sessionId:{type:String,default:""},outputFiles:{type:Object,default:()=>({})},outputFilenames:{type:Object,default:()=>({})},tokenUsage:{type:Object,default:null},pdfName:{type:String,default:""},correctionSummary:{type:Object,default:null}},emits:["reset"],setup(e,{emit:t}){const n=e,s=t,a=F("1"),o=k(()=>{const c=parseInt(a.value);return n.pagesData.find(u=>u.page===c)||n.pagesData[0]});function r(c){const u=c==="excel"?".xlsx":".json",d=n.outputFilenames[c]||`result${u}`,h=K1(n.sessionId,d),p=document.createElement("a");p.href=h,p.download=d,document.body.appendChild(p),p.click(),document.body.removeChild(p)}const i={llm_suspicious:"LLM标记可疑",llm_corrected:"LLM已修正",rule_corrected:"规则已修正",seq_gap:"序号不连续",seq_dup:"序号重复",desc_overflow:"描述溢出到规格列",size_invalid:"规格字段异常",size_outlier:"规格偏离主导尺寸",qty_invalid:"数量字段异常",cell_overlap:"数值重叠(两格合并)",desc_num_tail:"描述末尾残留尺寸数字",size_num_prefix:"尺寸前缀数字粘连",pressure_oob:"压力值超范围",cross_inconsist:"跨页参数不一致"};function l(c){return i[c]||c}return(c,u)=>{const d=Ge("CircleCheck"),h=Ge("el-icon"),p=Ge("el-button"),v=Ge("el-card"),m=Ge("el-tag"),g=Ge("el-alert"),b=Ge("el-tab-pane"),C=Ge("el-tabs"),w=Ge("el-col"),_=Ge("el-row");return S(),P("div",null,[j(v,{class:"toolbar-card",shadow:"never"},{default:X(()=>[A("div",v1e,[A("div",m1e,[j(h,{color:"#67C23A",size:"20"},{default:X(()=>[j(d)]),_:1}),A("span",null,[u[4]||(u[4]=Ue("识别完成,共处理 ",-1)),A("strong",null,ve(e.pagesData.length),1),u[5]||(u[5]=Ue(" 页",-1))]),e.tokenUsage?(S(),P("span",g1e," · "+ve(e.tokenUsage.total_tokens.toLocaleString())+" tokens  ¥"+ve(e.tokenUsage.cost_cny),1)):ie("",!0)]),A("div",b1e,[e.sessionId?(S(),le(p,{key:0,type:"success",icon:f(Ji),onClick:u[0]||(u[0]=x=>r("excel"))},{default:X(()=>[...u[6]||(u[6]=[Ue(" 下载 Excel ",-1)])]),_:1},8,["icon"])):ie("",!0),e.sessionId?(S(),le(p,{key:1,type:"info",icon:f(Ji),onClick:u[1]||(u[1]=x=>r("json"))},{default:X(()=>[...u[7]||(u[7]=[Ue(" 下载 JSON ",-1)])]),_:1},8,["icon"])):ie("",!0),j(p,{icon:f(Sg),onClick:u[2]||(u[2]=x=>s("reset"))},{default:X(()=>[...u[8]||(u[8]=[Ue(" 重新识别 ",-1)])]),_:1},8,["icon"])])])]),_:1}),e.correctionSummary?(S(),le(g,{key:0,class:"correction-alert",closable:!0,"show-icon":"",type:e.correctionSummary.flagged_rows>0?e.correctionSummary.corrected_rows>0?"warning":"error":"success"},{title:X(()=>[e.correctionSummary.flagged_rows===0?(S(),P("span",y1e,"OCR 校验通过,未发现异常")):(S(),P("span",w1e,[u[9]||(u[9]=Ue(" 发现 ",-1)),A("strong",null,ve(e.correctionSummary.flagged_rows),1),u[10]||(u[10]=Ue(" 行存疑内容,已自动修正 ",-1)),A("strong",null,ve(e.correctionSummary.corrected_rows),1),u[11]||(u[11]=Ue(" 行 ",-1)),e.correctionSummary.flagged_rows>e.correctionSummary.corrected_rows?(S(),P("span",_1e,"(剩余 "+ve(e.correctionSummary.flagged_rows-e.correctionSummary.corrected_rows)+" 行已在 Excel 中标红)",1)):ie("",!0)]))]),default:X(()=>[e.correctionSummary.reasons&&Object.keys(e.correctionSummary.reasons).length?(S(),P("div",C1e,[(S(!0),P(He,null,yt(e.correctionSummary.reasons,(x,E)=>(S(),le(m,{key:E,size:"small",type:E==="llm_corrected"||E==="rule_corrected"?"success":E==="llm_suspicious"?"danger":"warning",class:"reason-tag"},{default:X(()=>[Ue(ve(l(E))+"×"+ve(x),1)]),_:2},1032,["type"]))),128))])):ie("",!0)]),_:1},8,["type"])):ie("",!0),e.pagesData.length>1?(S(),le(C,{key:1,modelValue:a.value,"onUpdate:modelValue":u[3]||(u[3]=x=>a.value=x),class:"page-tabs"},{default:X(()=>[(S(!0),P(He,null,yt(e.pagesData,x=>(S(),le(b,{key:x.page,label:`第 ${x.page} 页`,name:String(x.page)},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])):ie("",!0),o.value?(S(),P("div",S1e,[j(v,{shadow:"never",class:"part-card parts3-card"},{header:X(()=>[...u[12]||(u[12]=[A("span",{class:"part-label parts3-label"},"⭐ 材料明细(Parts 3)",-1)])]),default:X(()=>[j(h1e,{data:o.value.parts3},null,8,["data"])]),_:1}),j(_,{gutter:16,class:"meta-row"},{default:X(()=>[j(w,{span:12},{default:X(()=>[j(v,{shadow:"never",class:"part-card"},{header:X(()=>[...u[13]||(u[13]=[A("span",{class:"part-label"},"标题栏(Parts 1)",-1)])]),default:X(()=>[j(iP,{data:o.value.parts1},null,8,["data"])]),_:1})]),_:1}),j(w,{span:12},{default:X(()=>[j(v,{shadow:"never",class:"part-card"},{header:X(()=>[...u[14]||(u[14]=[A("span",{class:"part-label"},"附属信息(Parts 2)",-1)])]),default:X(()=>[j(iP,{data:o.value.parts2},null,8,["data"])]),_:1})]),_:1})]),_:1})])):ie("",!0)])}}},[["__scopeId","data-v-7ae18195"]]),x1e={class:"toolbar"},E1e={class:"result-summary"},k1e={key:0,class:"token-hint"},A1e={class:"btn-group"},T1e={key:1,class:"page-content"},M1e={class:"table-header"},P1e={key:0,class:"table-title"},R1e={class:"para-label"},I1e={key:0,class:"para-title"},O1e={class:"para-text"},cP=il({__name:"GeneralResultPanel",props:{pagesData:{type:Array,default:()=>[]},sessionId:{type:String,default:""},outputFiles:{type:Object,default:()=>({})},outputFilenames:{type:Object,default:()=>({})},tokenUsage:{type:Object,default:null},pdfName:{type:String,default:""}},emits:["reset"],setup(e,{emit:t}){const n=e,s=t,a=F("1"),o=k(()=>{const d=parseInt(a.value);return n.pagesData.find(h=>h.page===d)||n.pagesData[0]}),r=k(()=>n.pagesData.reduce((d,h)=>{var p;return d+(((p=h.tables)==null?void 0:p.length)||0)},0)),i=k(()=>n.pagesData.reduce((d,h)=>{var p;return d+(((p=h.paragraphs)==null?void 0:p.length)||0)},0));function l(d){return(d.rows||[]).map(h=>{const p={};return(h||[]).forEach((v,m)=>{p[String(m)]=v}),p})}function c(d){const h=d.headers||[];return h.length?h:((d.rows||[])[0]||[]).map((v,m)=>`列${m+1}`)}function u(d){const h=d==="excel"?".xlsx":".json",p=n.outputFilenames[d]||`result${h}`,v=K1(n.sessionId,p),m=document.createElement("a");m.href=v,m.download=p,document.body.appendChild(m),m.click(),document.body.removeChild(m)}return(d,h)=>{var T,R,I,M;const p=Ge("CircleCheck"),v=Ge("el-icon"),m=Ge("el-button"),g=Ge("el-card"),b=Ge("el-tab-pane"),C=Ge("el-tabs"),w=Ge("el-empty"),_=Ge("el-tag"),x=Ge("el-table-column"),E=Ge("el-table");return S(),P("div",null,[j(g,{class:"toolbar-card",shadow:"never"},{default:X(()=>[A("div",x1e,[A("div",E1e,[j(v,{color:"#67C23A",size:"20"},{default:X(()=>[j(p)]),_:1}),A("span",null,[h[4]||(h[4]=Ue("通用识别完成,共 ",-1)),A("strong",null,ve(e.pagesData.length),1),h[5]||(h[5]=Ue(" 页  ·  ",-1)),A("strong",null,ve(r.value),1),h[6]||(h[6]=Ue(" 张表格  ·  ",-1)),A("strong",null,ve(i.value),1),h[7]||(h[7]=Ue(" 段文字",-1))]),e.tokenUsage?(S(),P("span",k1e," · "+ve(e.tokenUsage.total_tokens.toLocaleString())+" tokens  ¥"+ve(e.tokenUsage.cost_cny),1)):ie("",!0)]),A("div",A1e,[e.sessionId?(S(),le(m,{key:0,type:"success",icon:f(Ji),onClick:h[0]||(h[0]=$=>u("excel"))},{default:X(()=>[...h[8]||(h[8]=[Ue("下载 Excel",-1)])]),_:1},8,["icon"])):ie("",!0),e.sessionId?(S(),le(m,{key:1,type:"info",icon:f(Ji),onClick:h[1]||(h[1]=$=>u("json"))},{default:X(()=>[...h[9]||(h[9]=[Ue("下载 JSON",-1)])]),_:1},8,["icon"])):ie("",!0),j(m,{icon:f(Sg),onClick:h[2]||(h[2]=$=>s("reset"))},{default:X(()=>[...h[10]||(h[10]=[Ue("重新识别",-1)])]),_:1},8,["icon"])])])]),_:1}),e.pagesData.length>1?(S(),le(C,{key:0,modelValue:a.value,"onUpdate:modelValue":h[3]||(h[3]=$=>a.value=$),class:"page-tabs"},{default:X(()=>[(S(!0),P(He,null,yt(e.pagesData,$=>(S(),le(b,{key:$.page,label:`第 ${$.page} 页`,name:String($.page)},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])):ie("",!0),o.value?(S(),P("div",T1e,[!((T=o.value.tables)!=null&&T.length)&&!((R=o.value.paragraphs)!=null&&R.length)?(S(),le(w,{key:0,description:"本页未识别到表格或文字","image-size":80})):ie("",!0),(I=o.value.tables)!=null&&I.length?(S(!0),P(He,{key:1},yt(o.value.tables,($,O)=>(S(),le(g,{key:O,class:"table-card",shadow:"never"},{header:X(()=>[A("div",M1e,[j(_,{size:"small",type:"warning"},{default:X(()=>[Ue("表格 "+ve(O+1),1)]),_:2},1024),$.title?(S(),P("span",P1e,ve($.title),1)):ie("",!0)])]),default:X(()=>[j(E,{data:l($),size:"small",border:"",stripe:"",style:{width:"100%"},"max-height":"400"},{default:X(()=>[(S(!0),P(He,null,yt(c($),(B,U)=>(S(),le(x,{key:U,label:B,prop:String(U),"min-width":"120","show-overflow-tooltip":""},null,8,["label","prop"]))),128))]),_:2},1032,["data"])]),_:2},1024))),128)):ie("",!0),(M=o.value.paragraphs)!=null&&M.length?(S(),le(g,{key:2,class:"para-card",shadow:"never"},{header:X(()=>[A("span",R1e,"📝 段落文字("+ve(o.value.paragraphs.length)+" 段)",1)]),default:X(()=>[(S(!0),P(He,null,yt(o.value.paragraphs,($,O)=>(S(),P("div",{key:O,class:"para-item"},[$.title?(S(),P("div",I1e,ve($.title),1)):ie("",!0),A("pre",O1e,ve($.text),1)]))),128))]),_:1})):ie("",!0)])):ie("",!0)])}}},[["__scopeId","data-v-5cd76fd5"]]),L1e={class:"ocr-app"},N1e={class:"header-inner"},$1e={class:"header-actions"},D1e={class:"auto-section-title"},F1e={class:"auto-section-title"},B1e={__name:"App",setup(e){const t=rP();function n(){window.open("/docs","_blank")}const s=F(!1),a=F(!1),o=F(""),r=F([]),i=F(0),l=F(0),c=F(0),u=F([]),d=F(""),h=F({}),p=F(null),v=F("drawing"),m=F(""),g=F(null),b=F({}),C=F(!1),w=F(!1),_=F(!1),x=F([]),E=F(0),T=F(""),R=F({}),I=k(()=>u.value.filter(N=>N.page_type==="drawing")),M=k(()=>u.value.filter(N=>N.page_type==="table"||N.page_type==="text"));let $=null;function O({file:N,url:L,files:V,formats:z,mode:G,autoCorrect:Q,maxConcurrent:K,batch:ee}){Y(),v.value=G||"drawing";const ae=K||null;if(ee&&V&&V.length){C.value=!0,w.value=!0,E.value=V.length,x.value=[],$=Uge(V,z,U,v.value,Q!==!1,ae);return}s.value=!0,N&&(m.value=N.name.replace(/\.pdf$/i,""));const fe=ne=>{B(ne)};N?$=jge(N,z,fe,v.value,Q!==!1,ae):L&&($=Kge(L,z,fe,v.value,Q!==!1))}function B(N){const{type:L,data:V}=N;L==="progress"&&(r.value.push(V.message),V.percent!=null&&(i.value=V.percent),V.total_pages&&(l.value=V.total_pages),V.current_page&&(c.value=V.current_page)),L==="page_done"&&(v.value==="drawing"&&u.value.push(V.result),c.value=V.page,r.value.push(`✓ 第 ${V.page} 页识别完成`)),L==="done"&&(i.value=100,d.value=V.session_id,h.value=V.output_files||{},p.value=V.token_usage||null,g.value=V.correction_summary?{flagged_rows:0,corrected_rows:0,reasons:{},...V.correction_summary}:{flagged_rows:0,corrected_rows:0,reasons:{}},b.value=V.output_filenames||{},v.value==="drawing"&&Array.isArray(V.pages_data)&&(u.value=V.pages_data),(V.pdf_mode==="general"||V.pdf_mode==="auto")&&Array.isArray(V.pages_data)&&(u.value=V.pages_data),p.value&&(p.value.total_tokens!=null&&p.value.drawing_ocr==null?r.value.push(`📊 Token: 输入 ${p.value.prompt_tokens} / 输出 ${p.value.completion_tokens},费用 ¥${p.value.cost_cny}`):p.value.total_tokens!=null&&r.value.push(`📊 Token 合计 ${p.value.total_tokens}(分类+检测+OCR)`)),r.value.push("✅ 全部处理完成!"),s.value=!1,a.value=!0),L==="error"&&(o.value=V.message,s.value=!1,r.value.push(`❌ 错误:${V.message}`))}function U(N){x.value=[...x.value,N];const{type:L,data:V}=N;L==="batch_done"&&(T.value=V.merged_session_id||"",R.value=V.output_files||{},w.value=!1,_.value=!0),L==="error"&&(o.value=V.message,w.value=!1)}function J(){Y()}function Y(){$&&($(),$=null),s.value=!1,a.value=!1,o.value="",r.value=[],i.value=0,l.value=0,c.value=0,u.value=[],d.value="",h.value={},p.value=null,g.value=null,b.value={},v.value="auto",m.value="",C.value=!1,w.value=!1,_.value=!1,x.value=[],E.value=0,T.value="",R.value={}}return(N,L)=>{const V=Ge("Document"),z=Ge("el-icon"),G=Ge("el-button"),Q=Ge("el-header"),K=Ge("el-alert"),ee=Ge("el-main");return S(),P("div",L1e,[j(Q,{class:"app-header"},{default:X(()=>[A("div",N1e,[j(z,{size:"28",class:"logo-icon"},{default:X(()=>[j(V)]),_:1}),L[2]||(L[2]=A("span",{class:"title"},"PDF OCR 识别系统",-1)),L[3]||(L[3]=A("span",{class:"subtitle"},"PDF 表格与文字识别系统",-1))]),A("div",$1e,[j(G,{size:"small",plain:"",class:"manual-btn",onClick:L[0]||(L[0]=ae=>f(t).push("/Manual"))},{default:X(()=>[j(z,null,{default:X(()=>[j(f(wg))]),_:1}),L[4]||(L[4]=Ue(" 手动模式 ",-1))]),_:1}),j(G,{size:"small",plain:"",class:"swagger-btn",onClick:n},{default:X(()=>[...L[5]||(L[5]=[Ue("API Docs",-1)])]),_:1})])]),_:1}),j(ee,{class:"app-main"},{default:X(()=>[!s.value&&!a.value&&!C.value?(S(),le(Wge,{key:0,onSubmit:O})):ie("",!0),C.value?(S(),le(a1e,{key:1,"batch-events":x.value,"batch-done":_.value,"merged-session-id":T.value,"output-files":R.value,"total-files":E.value,onReset:J},null,8,["batch-events","batch-done","merged-session-id","output-files","total-files"])):ie("",!0),s.value?(S(),le(l1e,{key:2,logs:r.value,percent:i.value,"total-pages":l.value,"current-page":c.value},null,8,["logs","percent","total-pages","current-page"])):ie("",!0),a.value&&v.value==="drawing"?(S(),le(lP,{key:3,"pages-data":u.value,"session-id":d.value,"output-files":h.value,"output-filenames":b.value,"token-usage":p.value,"pdf-name":m.value,"correction-summary":g.value,onReset:J},null,8,["pages-data","session-id","output-files","output-filenames","token-usage","pdf-name","correction-summary"])):ie("",!0),a.value&&v.value==="general"?(S(),le(cP,{key:4,"pages-data":u.value,"session-id":d.value,"output-files":h.value,"output-filenames":b.value,"token-usage":p.value,"pdf-name":m.value,onReset:J},null,8,["pages-data","session-id","output-files","output-filenames","token-usage","pdf-name"])):ie("",!0),a.value&&v.value==="auto"?(S(),P(He,{key:5},[I.value.length?(S(),P(He,{key:0},[A("div",D1e,"📐 图纸类页面("+ve(I.value.length)+" 页)",1),j(lP,{"pages-data":I.value,"session-id":d.value,"output-files":h.value,"output-filenames":b.value,"token-usage":null,"pdf-name":m.value,"correction-summary":g.value,onReset:J},null,8,["pages-data","session-id","output-files","output-filenames","pdf-name","correction-summary"])],64)):ie("",!0),M.value.length?(S(),P(He,{key:1},[A("div",F1e,"📄 文字/表格类页面("+ve(M.value.length)+" 页)",1),j(cP,{"pages-data":M.value,"session-id":d.value,"output-files":h.value,"output-filenames":b.value,"token-usage":p.value,"pdf-name":m.value,onReset:J},null,8,["pages-data","session-id","output-files","output-filenames","token-usage","pdf-name"])],64)):ie("",!0)],64)):ie("",!0),o.value?(S(),le(K,{key:6,title:o.value,type:"error","show-icon":"",class:"mt-4",onClose:L[1]||(L[1]=ae=>o.value="")},null,8,["title"])):ie("",!0)]),_:1})])}}};var wv={};wv.d=(e,t)=>{for(var n in t)wv.o(t,n)&&!wv.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},wv.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var Yt=globalThis.pdfjsLib={};wv.d(Yt,{AbortException:()=>yc,AnnotationEditorLayer:()=>kw,AnnotationEditorParamsType:()=>mn,AnnotationEditorType:()=>on,AnnotationEditorUIManager:()=>Wu,AnnotationLayer:()=>L4e,AnnotationMode:()=>gc,ColorPicker:()=>ub,DOMSVGFactory:()=>mw,DrawLayer:()=>Aw,FeatureTest:()=>Oa,GlobalWorkerOptions:()=>ul,ImageKind:()=>U1,InvalidPDFException:()=>q8,MissingPDFException:()=>Cv,OPS:()=>Sr,OutputScale:()=>nw,PDFDataRangeTransport:()=>jP,PDFDateString:()=>ew,PDFWorker:()=>vh,PasswordResponses:()=>W1e,PermissionFlag:()=>H1e,PixelsPerInch:()=>wc,RenderingCancelledException:()=>Z8,TextLayer:()=>Tv,TouchManager:()=>nb,UnexpectedResponseException:()=>X1,Util:()=>Nt,VerbosityLevel:()=>q1,XfaLayer:()=>GP,build:()=>p4e,createValidAbsoluteUrl:()=>q1e,fetchData:()=>Z1,getDocument:()=>o4e,getFilenameFromUrl:()=>nbe,getPdfFilenameFromUrl:()=>sbe,getXfaPageViewport:()=>abe,isDataScheme:()=>Q1,isPdfFile:()=>Q8,noContextMenu:()=>xr,normalizeUnicode:()=>Q1e,setLayerDimensions:()=>Hu,shadow:()=>dn,stopEvent:()=>go,version:()=>h4e});const pa=typeof process=="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser"),uP=[1,0,0,1,0,0],j8=[.001,0,0,.001,0,0],V1e=1e7,K8=1.35,mo={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,IS_EDITING:128,OPLIST:256},gc={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},z1e="pdfjs_internal_editor_",on={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15},mn={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23,HIGHLIGHT_COLOR:31,HIGHLIGHT_DEFAULT_COLOR:32,HIGHLIGHT_THICKNESS:33,HIGHLIGHT_FREE:34,HIGHLIGHT_SHOW_ALL:35,DRAW_STEP:41},H1e={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},va={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},U1={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},ks={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,WIDGET:20},_v={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},q1={ERRORS:0,WARNINGS:1,INFOS:5},Sr={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91,setStrokeTransparent:92,setFillTransparent:93},W1e={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let G1=q1.WARNINGS;function j1e(e){Number.isInteger(e)&&(G1=e)}function K1e(){return G1}function Y1(e){G1>=q1.INFOS&&console.log(`Info: ${e}`)}function rn(e){G1>=q1.WARNINGS&&console.log(`Warning: ${e}`)}function Bn(e){throw new Error(e)}function bs(e,t){e||Bn(t)}function U1e(e){switch(e==null?void 0:e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function q1e(e,t=null,n=null){if(!e)return null;try{if(n&&typeof e=="string"){if(n.addDefaultProtocol&&e.startsWith("www.")){const a=e.match(/\./g);(a==null?void 0:a.length)>=2&&(e=`http://${e}`)}if(n.tryConvertEncoding)try{e=Z1e(e)}catch{}}const s=t?new URL(e,t):new URL(e);if(U1e(s))return s}catch{}return null}function dn(e,t,n,s=!1){return Object.defineProperty(e,t,{value:n,enumerable:!s,configurable:!0,writable:!1}),n}const bc=function(){function t(n,s){this.message=n,this.name=s}return t.prototype=new Error,t.constructor=t,t}();class dP extends bc{constructor(t,n){super(t,"PasswordException"),this.code=n}}class U8 extends bc{constructor(t,n){super(t,"UnknownErrorException"),this.details=n}}class q8 extends bc{constructor(t){super(t,"InvalidPDFException")}}class Cv extends bc{constructor(t){super(t,"MissingPDFException")}}class X1 extends bc{constructor(t,n){super(t,"UnexpectedResponseException"),this.status=n}}class G1e extends bc{constructor(t){super(t,"FormatError")}}class yc extends bc{constructor(t){super(t,"AbortException")}}function fP(e){(typeof e!="object"||(e==null?void 0:e.length)===void 0)&&Bn("Invalid argument for bytesToString");const t=e.length,n=8192;if(t>24&255,e>>16&255,e>>8&255,e&255)}function G8(e){const t=Object.create(null);for(const[n,s]of e)t[n]=s;return t}function X1e(){const e=new Uint8Array(4);return e[0]=1,new Uint32Array(e.buffer,0,1)[0]===1}function J1e(){try{return new Function(""),!0}catch{return!1}}class Oa{static get isLittleEndian(){return dn(this,"isLittleEndian",X1e())}static get isEvalSupported(){return dn(this,"isEvalSupported",J1e())}static get isOffscreenCanvasSupported(){return dn(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}static get isImageDecoderSupported(){return dn(this,"isImageDecoderSupported",typeof ImageDecoder<"u")}static get platform(){return typeof navigator<"u"&&typeof(navigator==null?void 0:navigator.platform)=="string"?dn(this,"platform",{isMac:navigator.platform.includes("Mac"),isWindows:navigator.platform.includes("Win"),isFirefox:typeof(navigator==null?void 0:navigator.userAgent)=="string"&&navigator.userAgent.includes("Firefox")}):dn(this,"platform",{isMac:!1,isWindows:!1,isFirefox:!1})}static get isCSSRoundSupported(){var t,n;return dn(this,"isCSSRoundSupported",(n=(t=globalThis.CSS)==null?void 0:t.supports)==null?void 0:n.call(t,"width: round(1.5px, 1px)"))}}const Y8=Array.from(Array(256).keys(),e=>e.toString(16).padStart(2,"0"));class Nt{static makeHexColor(t,n,s){return`#${Y8[t]}${Y8[n]}${Y8[s]}`}static scaleMinMax(t,n){let s;t[0]?(t[0]<0&&(s=n[0],n[0]=n[2],n[2]=s),n[0]*=t[0],n[2]*=t[0],t[3]<0&&(s=n[1],n[1]=n[3],n[3]=s),n[1]*=t[3],n[3]*=t[3]):(s=n[0],n[0]=n[1],n[1]=s,s=n[2],n[2]=n[3],n[3]=s,t[1]<0&&(s=n[1],n[1]=n[3],n[3]=s),n[1]*=t[1],n[3]*=t[1],t[2]<0&&(s=n[0],n[0]=n[2],n[2]=s),n[0]*=t[2],n[2]*=t[2]),n[0]+=t[4],n[1]+=t[5],n[2]+=t[4],n[3]+=t[5]}static transform(t,n){return[t[0]*n[0]+t[2]*n[1],t[1]*n[0]+t[3]*n[1],t[0]*n[2]+t[2]*n[3],t[1]*n[2]+t[3]*n[3],t[0]*n[4]+t[2]*n[5]+t[4],t[1]*n[4]+t[3]*n[5]+t[5]]}static applyTransform(t,n){const s=t[0]*n[0]+t[1]*n[2]+n[4],a=t[0]*n[1]+t[1]*n[3]+n[5];return[s,a]}static applyInverseTransform(t,n){const s=n[0]*n[3]-n[1]*n[2],a=(t[0]*n[3]-t[1]*n[2]+n[2]*n[5]-n[4]*n[3])/s,o=(-t[0]*n[1]+t[1]*n[0]+n[4]*n[1]-n[5]*n[0])/s;return[a,o]}static getAxialAlignedBoundingBox(t,n){const s=this.applyTransform(t,n),a=this.applyTransform(t.slice(2,4),n),o=this.applyTransform([t[0],t[3]],n),r=this.applyTransform([t[2],t[1]],n);return[Math.min(s[0],a[0],o[0],r[0]),Math.min(s[1],a[1],o[1],r[1]),Math.max(s[0],a[0],o[0],r[0]),Math.max(s[1],a[1],o[1],r[1])]}static inverseTransform(t){const n=t[0]*t[3]-t[1]*t[2];return[t[3]/n,-t[1]/n,-t[2]/n,t[0]/n,(t[2]*t[5]-t[4]*t[3])/n,(t[4]*t[1]-t[5]*t[0])/n]}static singularValueDecompose2dScale(t){const n=[t[0],t[2],t[1],t[3]],s=t[0]*n[0]+t[1]*n[2],a=t[0]*n[1]+t[1]*n[3],o=t[2]*n[0]+t[3]*n[2],r=t[2]*n[1]+t[3]*n[3],i=(s+r)/2,l=Math.sqrt((s+r)**2-4*(s*r-o*a))/2,c=i+l||1,u=i-l||1;return[Math.sqrt(c),Math.sqrt(u)]}static normalizeRect(t){const n=t.slice(0);return t[0]>t[2]&&(n[0]=t[2],n[2]=t[0]),t[1]>t[3]&&(n[1]=t[3],n[3]=t[1]),n}static intersect(t,n){const s=Math.max(Math.min(t[0],t[2]),Math.min(n[0],n[2])),a=Math.min(Math.max(t[0],t[2]),Math.max(n[0],n[2]));if(s>a)return null;const o=Math.max(Math.min(t[1],t[3]),Math.min(n[1],n[3])),r=Math.min(Math.max(t[1],t[3]),Math.max(n[1],n[3]));return o>r?null:[s,o,a,r]}static bezierBoundingBox(t,n,s,a,o,r,i,l,c){return c?(c[0]=Math.min(c[0],t,i),c[1]=Math.min(c[1],n,l),c[2]=Math.max(c[2],t,i),c[3]=Math.max(c[3],n,l)):c=[Math.min(t,i),Math.min(n,l),Math.max(t,i),Math.max(n,l)],oe(this,dl,Dw).call(this,t,s,o,i,n,a,r,l,3*(-t+3*(s-o)+i),6*(t-2*s+o),3*(s-t),c),oe(this,dl,Dw).call(this,t,s,o,i,n,a,r,l,3*(-n+3*(a-r)+l),6*(n-2*a+r),3*(a-n),c),c}}dl=new WeakSet,$b=function(t,n,s,a,o,r,i,l,c,u){if(c<=0||c>=1)return;const d=1-c,h=c*c,p=h*c,v=d*(d*(d*t+3*c*n)+3*h*s)+p*a,m=d*(d*(d*o+3*c*r)+3*h*i)+p*l;u[0]=Math.min(u[0],v),u[1]=Math.min(u[1],m),u[2]=Math.max(u[2],v),u[3]=Math.max(u[3],m)},Dw=function(t,n,s,a,o,r,i,l,c,u,d,h){if(Math.abs(c)<1e-12){Math.abs(u)>=1e-12&&oe(this,dl,$b).call(this,t,n,s,a,o,r,i,l,-d/u,h);return}const p=u**2-4*d*c;if(p<0)return;const v=Math.sqrt(p),m=2*c;oe(this,dl,$b).call(this,t,n,s,a,o,r,i,l,(-u+v)/m,h),oe(this,dl,$b).call(this,t,n,s,a,o,r,i,l,(-u-v)/m,h)},se(Nt,dl);function Z1e(e){return decodeURIComponent(escape(e))}let X8=null,hP=null;function Q1e(e){return X8||(X8=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,hP=new Map([["ſt","ſt"]])),e.replaceAll(X8,(t,n,s)=>n?n.normalize("NFKC"):hP.get(s))}function ebe(){if(typeof crypto.randomUUID=="function")return crypto.randomUUID();const e=new Uint8Array(32);return crypto.getRandomValues(e),fP(e)}const J8="pdfjs_internal_id_";function tbe(e){return Uint8Array.prototype.toBase64?e.toBase64():btoa(fP(e))}typeof Promise.try!="function"&&(Promise.try=function(e,...t){return new Promise(n=>{n(e(...t))})});const cl="http://www.w3.org/2000/svg",Uu=class Uu{};zt(Uu,"CSS",96),zt(Uu,"PDF",72),zt(Uu,"PDF_TO_CSS_UNITS",Uu.CSS/Uu.PDF);let wc=Uu;async function Z1(e,t="text"){if(xv(e,document.baseURI)){const n=await fetch(e);if(!n.ok)throw new Error(n.statusText);switch(t){case"arraybuffer":return n.arrayBuffer();case"blob":return n.blob();case"json":return n.json()}return n.text()}return new Promise((n,s)=>{const a=new XMLHttpRequest;a.open("GET",e,!0),a.responseType=t,a.onreadystatechange=()=>{if(a.readyState===XMLHttpRequest.DONE){if(a.status===200||a.status===0){switch(t){case"arraybuffer":case"blob":case"json":n(a.response);return}n(a.responseText);return}s(new Error(a.statusText))}},a.send(null)})}class Sv{constructor({viewBox:t,userUnit:n,scale:s,rotation:a,offsetX:o=0,offsetY:r=0,dontFlip:i=!1}){this.viewBox=t,this.userUnit=n,this.scale=s,this.rotation=a,this.offsetX=o,this.offsetY=r,s*=n;const l=(t[2]+t[0])/2,c=(t[3]+t[1])/2;let u,d,h,p;switch(a%=360,a<0&&(a+=360),a){case 180:u=-1,d=0,h=0,p=1;break;case 90:u=0,d=1,h=1,p=0;break;case 270:u=0,d=-1,h=-1,p=0;break;case 0:u=1,d=0,h=0,p=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}i&&(h=-h,p=-p);let v,m,g,b;u===0?(v=Math.abs(c-t[1])*s+o,m=Math.abs(l-t[0])*s+r,g=(t[3]-t[1])*s,b=(t[2]-t[0])*s):(v=Math.abs(l-t[0])*s+o,m=Math.abs(c-t[1])*s+r,g=(t[2]-t[0])*s,b=(t[3]-t[1])*s),this.transform=[u*s,d*s,h*s,p*s,v-u*s*l-h*s*c,m-d*s*l-p*s*c],this.width=g,this.height=b}get rawDims(){const{userUnit:t,viewBox:n}=this,s=n.map(a=>a*t);return dn(this,"rawDims",{pageWidth:s[2]-s[0],pageHeight:s[3]-s[1],pageX:s[0],pageY:s[1]})}clone({scale:t=this.scale,rotation:n=this.rotation,offsetX:s=this.offsetX,offsetY:a=this.offsetY,dontFlip:o=!1}={}){return new Sv({viewBox:this.viewBox.slice(),userUnit:this.userUnit,scale:t,rotation:n,offsetX:s,offsetY:a,dontFlip:o})}convertToViewportPoint(t,n){return Nt.applyTransform([t,n],this.transform)}convertToViewportRectangle(t){const n=Nt.applyTransform([t[0],t[1]],this.transform),s=Nt.applyTransform([t[2],t[3]],this.transform);return[n[0],n[1],s[0],s[1]]}convertToPdfPoint(t,n){return Nt.applyInverseTransform([t,n],this.transform)}}class Z8 extends bc{constructor(t,n=0){super(t,"RenderingCancelledException"),this.extraDelay=n}}function Q1(e){const t=e.length;let n=0;for(;n=1&&a<=12?a-1:0;let o=parseInt(n[3],10);o=o>=1&&o<=31?o:1;let r=parseInt(n[4],10);r=r>=0&&r<=23?r:0;let i=parseInt(n[5],10);i=i>=0&&i<=59?i:0;let l=parseInt(n[6],10);l=l>=0&&l<=59?l:0;const c=n[7]||"Z";let u=parseInt(n[8],10);u=u>=0&&u<=23?u:0;let d=parseInt(n[9],10)||0;return d=d>=0&&d<=59?d:0,c==="-"?(r+=u,i+=d):c==="+"&&(r-=u,i-=d),new Date(Date.UTC(s,a,o,r,i,l))}}Ov=new WeakMap,se(ew,Ov);function abe(e,{scale:t=1,rotation:n=0}){const{width:s,height:a}=e.attributes.style,o=[0,0,parseInt(s),parseInt(a)];return new Sv({viewBox:o,userUnit:1,scale:t,rotation:n})}function tw(e){if(e.startsWith("#")){const t=parseInt(e.slice(1),16);return[(t&16711680)>>16,(t&65280)>>8,t&255]}return e.startsWith("rgb(")?e.slice(4,-1).split(",").map(t=>parseInt(t)):e.startsWith("rgba(")?e.slice(5,-1).split(",").map(t=>parseInt(t)).slice(0,3):(rn(`Not a valid color format: "${e}"`),[0,0,0])}function obe(e){const t=document.createElement("span");t.style.visibility="hidden",document.body.append(t);for(const n of e.keys()){t.style.color=n;const s=window.getComputedStyle(t).color;e.set(n,tw(s))}t.remove()}function Jn(e){const{a:t,b:n,c:s,d:a,e:o,f:r}=e.getTransform();return[t,n,s,a,o,r]}function ui(e){const{a:t,b:n,c:s,d:a,e:o,f:r}=e.getTransform().invertSelf();return[t,n,s,a,o,r]}function Hu(e,t,n=!1,s=!0){if(t instanceof Sv){const{pageWidth:a,pageHeight:o}=t.rawDims,{style:r}=e,i=Oa.isCSSRoundSupported,l=`var(--scale-factor) * ${a}px`,c=`var(--scale-factor) * ${o}px`,u=i?`round(down, ${l}, var(--scale-round-x, 1px))`:`calc(${l})`,d=i?`round(down, ${c}, var(--scale-round-y, 1px))`:`calc(${c})`;!n||t.rotation%180===0?(r.width=u,r.height=d):(r.width=d,r.height=u)}s&&e.setAttribute("data-main-rotation",t.rotation)}class nw{constructor(){const t=window.devicePixelRatio||1;this.sx=t,this.sy=t}get scaled(){return this.sx!==1||this.sy!==1}get symmetric(){return this.sx===this.sy}}const fl=class fl{constructor(t){se(this,La);se(this,Cc,null);se(this,qu,null);se(this,Er);se(this,Gu,null);se(this,Lv,null);q(this,Er,t),y(fl,Nv)||q(fl,Nv,Object.freeze({freetext:"pdfjs-editor-remove-freetext-button",highlight:"pdfjs-editor-remove-highlight-button",ink:"pdfjs-editor-remove-ink-button",stamp:"pdfjs-editor-remove-stamp-button"}))}render(){const t=q(this,Cc,document.createElement("div"));t.classList.add("editToolbar","hidden"),t.setAttribute("role","toolbar");const n=y(this,Er)._uiManager._signal;t.addEventListener("contextmenu",xr,{signal:n}),t.addEventListener("pointerdown",oe(fl,pb,aR),{signal:n});const s=q(this,Gu,document.createElement("div"));s.className="buttons",t.append(s);const a=y(this,Er).toolbarPosition;if(a){const{style:o}=t,r=y(this,Er)._uiManager.direction==="ltr"?1-a[0]:a[0];o.insetInlineEnd=`${100*r}%`,o.top=`calc(${100*a[1]}% + var(--editor-toolbar-vert-offset))`}return oe(this,La,iR).call(this),t}get div(){return y(this,Cc)}hide(){var t;y(this,Cc).classList.add("hidden"),(t=y(this,qu))==null||t.hideDropdown()}show(){var t;y(this,Cc).classList.remove("hidden"),(t=y(this,Lv))==null||t.shown()}async addAltText(t){const n=await t.render();oe(this,La,Db).call(this,n),y(this,Gu).prepend(n,y(this,La,Fw)),q(this,Lv,t)}addColorPicker(t){q(this,qu,t);const n=t.renderButton();oe(this,La,Db).call(this,n),y(this,Gu).prepend(n,y(this,La,Fw))}remove(){var t;y(this,Cc).remove(),(t=y(this,qu))==null||t.destroy(),q(this,qu,null)}};Cc=new WeakMap,qu=new WeakMap,Er=new WeakMap,Gu=new WeakMap,Lv=new WeakMap,Nv=new WeakMap,pb=new WeakSet,aR=function(t){t.stopPropagation()},La=new WeakSet,oR=function(t){y(this,Er)._focusEventsAllowed=!1,go(t)},rR=function(t){y(this,Er)._focusEventsAllowed=!0,go(t)},Db=function(t){const n=y(this,Er)._uiManager._signal;t.addEventListener("focusin",oe(this,La,oR).bind(this),{capture:!0,signal:n}),t.addEventListener("focusout",oe(this,La,rR).bind(this),{capture:!0,signal:n}),t.addEventListener("contextmenu",xr,{signal:n})},iR=function(){const{editorType:t,_uiManager:n}=y(this,Er),s=document.createElement("button");s.className="delete",s.tabIndex=0,s.setAttribute("data-l10n-id",y(fl,Nv)[t]),oe(this,La,Db).call(this,s),s.addEventListener("click",a=>{n.delete()},{signal:n._signal}),y(this,Gu).append(s)},Fw=function(){const t=document.createElement("div");return t.className="divider",t},se(fl,pb),se(fl,Nv,null);let sw=fl;class rbe{constructor(t){se(this,Sc);se(this,$v,null);se(this,Yu,null);se(this,Xu);q(this,Xu,t)}show(t,n,s){const[a,o]=oe(this,Sc,cR).call(this,n,s),{style:r}=y(this,Yu)||q(this,Yu,oe(this,Sc,lR).call(this));t.append(y(this,Yu)),r.insetInlineEnd=`${100*a}%`,r.top=`calc(${100*o}% + var(--editor-toolbar-vert-offset))`}hide(){y(this,Yu).remove()}}$v=new WeakMap,Yu=new WeakMap,Xu=new WeakMap,Sc=new WeakSet,lR=function(){const t=q(this,Yu,document.createElement("div"));t.className="editToolbar",t.setAttribute("role","toolbar"),t.addEventListener("contextmenu",xr,{signal:y(this,Xu)._signal});const n=q(this,$v,document.createElement("div"));return n.className="buttons",t.append(n),oe(this,Sc,uR).call(this),t},cR=function(t,n){let s=0,a=0;for(const o of t){const r=o.y+o.height;if(rs){a=i,s=r;continue}n?i>a&&(a=i):i{y(this,Xu).highlightSelection("floating_button")},{signal:s}),y(this,$v).append(t)};function eb(e,t,n){for(const s of n)t.addEventListener(s,e[s].bind(e))}class ibe{constructor(){se(this,vb,0)}get id(){return`${z1e}${za(this,vb)._++}`}}vb=new WeakMap;const Tw=class Tw{constructor(){se(this,gh);se(this,mh,ebe());se(this,Dv,0);se(this,ga,null)}static get _isSVGFittingCanvas(){const t='data:image/svg+xml;charset=UTF-8,',s=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0}),a=new Image;a.src=t;const o=a.decode().then(()=>(s.drawImage(a,0,0,1,1,0,0,1,3),new Uint32Array(s.getImageData(0,0,1,1).data.buffer)[0]===0));return dn(this,"_isSVGFittingCanvas",o)}async getFromFile(t){const{lastModified:n,name:s,size:a,type:o}=t;return oe(this,gh,Fb).call(this,`${n}_${s}_${a}_${o}`,t)}async getFromUrl(t){return oe(this,gh,Fb).call(this,t,t)}async getFromBlob(t,n){const s=await n;return oe(this,gh,Fb).call(this,t,s)}async getFromId(t){y(this,ga)||q(this,ga,new Map);const n=y(this,ga).get(t);if(!n)return null;if(n.bitmap)return n.refCounter+=1,n;if(n.file)return this.getFromFile(n.file);if(n.blobPromise){const{blobPromise:s}=n;return delete n.blobPromise,this.getFromBlob(n.id,s)}return this.getFromUrl(n.url)}getFromCanvas(t,n){y(this,ga)||q(this,ga,new Map);let s=y(this,ga).get(t);if(s!=null&&s.bitmap)return s.refCounter+=1,s;const a=new OffscreenCanvas(n.width,n.height);return a.getContext("2d").drawImage(n,0,0),s={bitmap:a.transferToImageBitmap(),id:`image_${y(this,mh)}_${za(this,Dv)._++}`,refCounter:1,isSvg:!1},y(this,ga).set(t,s),y(this,ga).set(s.id,s),s}getSvgUrl(t){const n=y(this,ga).get(t);return n!=null&&n.isSvg?n.svgUrl:null}deleteId(t){var a;y(this,ga)||q(this,ga,new Map);const n=y(this,ga).get(t);if(!n||(n.refCounter-=1,n.refCounter!==0))return;const{bitmap:s}=n;if(!n.url&&!n.file){const o=new OffscreenCanvas(s.width,s.height);o.getContext("bitmaprenderer").transferFromImageBitmap(s),n.blobPromise=o.convertToBlob()}(a=s.close)==null||a.call(s),n.bitmap=null}isValidId(t){return t.startsWith(`image_${y(this,mh)}_`)}};mh=new WeakMap,Dv=new WeakMap,ga=new WeakMap,gh=new WeakSet,Fb=async function(t,n){y(this,ga)||q(this,ga,new Map);let s=y(this,ga).get(t);if(s===null)return null;if(s!=null&&s.bitmap)return s.refCounter+=1,s;try{s||(s={bitmap:null,id:`image_${y(this,mh)}_${za(this,Dv)._++}`,refCounter:0,isSvg:!1});let a;if(typeof n=="string"?(s.url=n,a=await Z1(n,"blob")):n instanceof File?a=s.file=n:n instanceof Blob&&(a=n),a.type==="image/svg+xml"){const o=Tw._isSVGFittingCanvas,r=new FileReader,i=new Image,l=new Promise((c,u)=>{i.onload=()=>{s.bitmap=i,s.isSvg=!0,c()},r.onload=async()=>{const d=s.svgUrl=r.result;i.src=await o?`${d}#svgView(preserveAspectRatio(none))`:d},i.onerror=r.onerror=u});r.readAsDataURL(a),await l}else s.bitmap=await createImageBitmap(a);s.refCounter=1}catch(a){rn(a),s=null}return y(this,ga).set(t,s),s&&y(this,ga).set(s.id,s),s};let aw=Tw;class lbe{constructor(t=128){se(this,ds,[]);se(this,xc,!1);se(this,Fv);se(this,ss,-1);q(this,Fv,t)}add({cmd:t,undo:n,post:s,mustExec:a,type:o=NaN,overwriteIfSameType:r=!1,keepUndo:i=!1}){if(a&&t(),y(this,xc))return;const l={cmd:t,undo:n,post:s,type:o};if(y(this,ss)===-1){y(this,ds).length>0&&(y(this,ds).length=0),q(this,ss,0),y(this,ds).push(l);return}if(r&&y(this,ds)[y(this,ss)].type===o){i&&(l.undo=y(this,ds)[y(this,ss)].undo),y(this,ds)[y(this,ss)]=l;return}const c=y(this,ss)+1;c===y(this,Fv)?y(this,ds).splice(0,1):(q(this,ss,c),c=0;n--)if(y(this,ds)[n].type!==t){y(this,ds).splice(n+1,y(this,ss)-n),q(this,ss,n);return}y(this,ds).length=0,q(this,ss,-1)}}destroy(){q(this,ds,null)}}ds=new WeakMap,xc=new WeakMap,Fv=new WeakMap,ss=new WeakMap;class Ev{constructor(t){se(this,mb);this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;const{isMac:n}=Oa.platform;for(const[s,a,o={}]of t)for(const r of s){const i=r.startsWith("mac+");n&&i?(this.callbacks.set(r.slice(4),{callback:a,options:o}),this.allKeys.add(r.split("+").at(-1))):!n&&!i&&(this.callbacks.set(r,{callback:a,options:o}),this.allKeys.add(r.split("+").at(-1)))}}exec(t,n){if(!this.allKeys.has(n.key))return;const s=this.callbacks.get(oe(this,mb,dR).call(this,n));if(!s)return;const{callback:a,options:{bubbles:o=!1,args:r=[],checker:i=null}}=s;i&&!i(t,n)||(a.bind(t,...r,n)(),o||go(n))}}mb=new WeakSet,dR=function(t){t.altKey&&this.buffer.push("alt"),t.ctrlKey&&this.buffer.push("ctrl"),t.metaKey&&this.buffer.push("meta"),t.shiftKey&&this.buffer.push("shift"),this.buffer.push(t.key);const n=this.buffer.join("+");return this.buffer.length=0,n};const gb=class gb{get _colors(){const t=new Map([["CanvasText",null],["Canvas",null]]);return obe(t),dn(this,"_colors",t)}convert(t){const n=tw(t);if(!window.matchMedia("(forced-colors: active)").matches)return n;for(const[s,a]of this._colors)if(a.every((o,r)=>o===n[r]))return gb._colorsMapping.get(s);return n}getHexCode(t){const n=this._colors.get(t);return n?Nt.makeHexColor(...n):t}};zt(gb,"_colorsMapping",new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]));let ow=gb;const xh=class xh{constructor(t,n,s,a,o,r,i,l,c,u,d,h,p){se(this,mt);se(this,bh,new AbortController);se(this,bo,null);se(this,As,new Map);se(this,Ys,new Map);se(this,yh,null);se(this,hl,null);se(this,wh,null);se(this,Wo,new lbe);se(this,Ec,null);se(this,Ju,null);se(this,_h,0);se(this,Zu,new Set);se(this,fi,null);se(this,kr,null);se(this,Qu,new Set);zt(this,"_editorUndoBar",null);se(this,Bv,!1);se(this,Vv,!1);se(this,Ch,!1);se(this,zv,null);se(this,hi,null);se(this,kc,null);se(this,Sh,null);se(this,Ac,!1);se(this,pi,null);se(this,bb,new ibe);se(this,Tc,!1);se(this,Hv,!1);se(this,Mc,null);se(this,ed,null);se(this,Wv,null);se(this,jv,null);se(this,Fs,on.NONE);se(this,On,new Set);se(this,pl,null);se(this,td,null);se(this,Kv,null);se(this,Uv,{isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1});se(this,Pc,[0,0]);se(this,vi,null);se(this,vl,null);se(this,qv,null);se(this,jo,null);const v=this._signal=y(this,bh).signal;q(this,vl,t),q(this,qv,n),q(this,yh,s),this._eventBus=a,a._on("editingaction",this.onEditingAction.bind(this),{signal:v}),a._on("pagechanging",this.onPageChanging.bind(this),{signal:v}),a._on("scalechanging",this.onScaleChanging.bind(this),{signal:v}),a._on("rotationchanging",this.onRotationChanging.bind(this),{signal:v}),a._on("setpreference",this.onSetPreference.bind(this),{signal:v}),a._on("switchannotationeditorparams",m=>this.updateParams(m.type,m.value),{signal:v}),oe(this,mt,pR).call(this),oe(this,mt,bR).call(this),oe(this,mt,Vw).call(this),q(this,hl,o.annotationStorage),q(this,zv,o.filterFactory),q(this,td,r),q(this,Sh,i||null),q(this,Bv,l),q(this,Vv,c),q(this,Ch,u),q(this,jv,d||null),this.viewParameters={realScale:wc.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1,this._editorUndoBar=h||null,this._supportsPinchToZoom=p!==!1}static get _keyboardManager(){const t=xh.prototype,n=r=>y(r,vl).contains(document.activeElement)&&document.activeElement.tagName!=="BUTTON"&&r.hasSomethingToControl(),s=(r,{target:i})=>{if(i instanceof HTMLInputElement){const{type:l}=i;return l!=="text"&&l!=="number"}return!0},a=this.TRANSLATE_SMALL,o=this.TRANSLATE_BIG;return dn(this,"_keyboardManager",new Ev([[["ctrl+a","mac+meta+a"],t.selectAll,{checker:s}],[["ctrl+z","mac+meta+z"],t.undo,{checker:s}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],t.redo,{checker:s}],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],t.delete,{checker:s}],[["Enter","mac+Enter"],t.addNewEditorFromKeyboard,{checker:(r,{target:i})=>!(i instanceof HTMLButtonElement)&&y(r,vl).contains(i)&&!r.isEnterHandled}],[[" ","mac+ "],t.addNewEditorFromKeyboard,{checker:(r,{target:i})=>!(i instanceof HTMLButtonElement)&&y(r,vl).contains(document.activeElement)}],[["Escape","mac+Escape"],t.unselectAll],[["ArrowLeft","mac+ArrowLeft"],t.translateSelectedEditors,{args:[-a,0],checker:n}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t.translateSelectedEditors,{args:[-o,0],checker:n}],[["ArrowRight","mac+ArrowRight"],t.translateSelectedEditors,{args:[a,0],checker:n}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t.translateSelectedEditors,{args:[o,0],checker:n}],[["ArrowUp","mac+ArrowUp"],t.translateSelectedEditors,{args:[0,-a],checker:n}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t.translateSelectedEditors,{args:[0,-o],checker:n}],[["ArrowDown","mac+ArrowDown"],t.translateSelectedEditors,{args:[0,a],checker:n}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t.translateSelectedEditors,{args:[0,o],checker:n}]]))}destroy(){var t,n,s,a,o;(t=y(this,jo))==null||t.resolve(),q(this,jo,null),(n=y(this,bh))==null||n.abort(),q(this,bh,null),this._signal=null;for(const r of y(this,Ys).values())r.destroy();y(this,Ys).clear(),y(this,As).clear(),y(this,Qu).clear(),q(this,bo,null),y(this,On).clear(),y(this,Wo).destroy(),(s=y(this,yh))==null||s.destroy(),(a=y(this,pi))==null||a.hide(),q(this,pi,null),y(this,hi)&&(clearTimeout(y(this,hi)),q(this,hi,null)),y(this,vi)&&(clearTimeout(y(this,vi)),q(this,vi,null)),(o=this._editorUndoBar)==null||o.destroy()}combinedSignal(t){return AbortSignal.any([this._signal,t.signal])}get mlManager(){return y(this,jv)}get useNewAltTextFlow(){return y(this,Vv)}get useNewAltTextWhenAddingImage(){return y(this,Ch)}get hcmFilter(){return dn(this,"hcmFilter",y(this,td)?y(this,zv).addHCMFilter(y(this,td).foreground,y(this,td).background):"none")}get direction(){return dn(this,"direction",getComputedStyle(y(this,vl)).direction)}get highlightColors(){return dn(this,"highlightColors",y(this,Sh)?new Map(y(this,Sh).split(",").map(t=>t.split("=").map(n=>n.trim()))):null)}get highlightColorNames(){return dn(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,t=>t.reverse())):null)}setCurrentDrawingSession(t){t?(this.unselectAll(),this.disableUserSelect(!0)):this.disableUserSelect(!1),q(this,Ju,t)}setMainHighlightColorPicker(t){q(this,Wv,t)}editAltText(t,n=!1){var s;(s=y(this,yh))==null||s.editAltText(this,t,n)}switchToMode(t,n){this._eventBus.on("annotationeditormodechanged",n,{once:!0,signal:this._signal}),this._eventBus.dispatch("showannotationeditorui",{source:this,mode:t})}setPreference(t,n){this._eventBus.dispatch("setpreference",{source:this,name:t,value:n})}onSetPreference({name:t,value:n}){switch(t){case"enableNewAltTextWhenAddingImage":q(this,Ch,n);break}}onPageChanging({pageNumber:t}){q(this,_h,t-1)}focusMainContainer(){y(this,vl).focus()}findParent(t,n){for(const s of y(this,Ys).values()){const{x:a,y:o,width:r,height:i}=s.div.getBoundingClientRect();if(t>=a&&t<=a+r&&n>=o&&n<=o+i)return s}return null}disableUserSelect(t=!1){y(this,qv).classList.toggle("noUserSelect",t)}addShouldRescale(t){y(this,Qu).add(t)}removeShouldRescale(t){y(this,Qu).delete(t)}onScaleChanging({scale:t}){var n;this.commitOrRemove(),this.viewParameters.realScale=t*wc.PDF_TO_CSS_UNITS;for(const s of y(this,Qu))s.onScaleChanging();(n=y(this,Ju))==null||n.onScaleChanging()}onRotationChanging({pagesRotation:t}){this.commitOrRemove(),this.viewParameters.rotation=t}highlightSelection(t=""){const n=document.getSelection();if(!n||n.isCollapsed)return;const{anchorNode:s,anchorOffset:a,focusNode:o,focusOffset:r}=n,i=n.toString(),c=oe(this,mt,Bb).call(this,n).closest(".textLayer"),u=this.getSelectionBoxes(c);if(!u)return;n.empty();const d=oe(this,mt,Bw).call(this,c),h=y(this,Fs)===on.NONE,p=()=>{d==null||d.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:t,boxes:u,anchorNode:s,anchorOffset:a,focusNode:o,focusOffset:r,text:i}),h&&this.showAllEditors("highlight",!0,!0)};if(h){this.switchToMode(on.HIGHLIGHT,p);return}p()}addToAnnotationStorage(t){!t.isEmpty()&&y(this,hl)&&!y(this,hl).has(t.id)&&y(this,hl).setValue(t.id,t)}blur(){if(this.isShiftKeyDown=!1,y(this,Ac)&&(q(this,Ac,!1),oe(this,mt,Vb).call(this,"main_toolbar")),!this.hasSelection)return;const{activeElement:t}=document;for(const n of y(this,On))if(n.div.contains(t)){q(this,ed,[n,t]),n._focusEventsAllowed=!1;break}}focus(){if(!y(this,ed))return;const[t,n]=y(this,ed);q(this,ed,null),n.addEventListener("focusin",()=>{t._focusEventsAllowed=!0},{once:!0,signal:this._signal}),n.focus()}addEditListeners(){oe(this,mt,Vw).call(this),oe(this,mt,zw).call(this)}removeEditListeners(){oe(this,mt,gR).call(this),oe(this,mt,Hw).call(this)}dragOver(t){for(const{type:n}of t.dataTransfer.items)for(const s of y(this,kr))if(s.isHandlingMimeForPasting(n)){t.dataTransfer.dropEffect="copy",t.preventDefault();return}}drop(t){for(const n of t.dataTransfer.items)for(const s of y(this,kr))if(s.isHandlingMimeForPasting(n.type)){s.paste(n,this.currentLayer),t.preventDefault();return}}copy(t){var s;if(t.preventDefault(),(s=y(this,bo))==null||s.commitOrRemove(),!this.hasSelection)return;const n=[];for(const a of y(this,On)){const o=a.serialize(!0);o&&n.push(o)}n.length!==0&&t.clipboardData.setData("application/pdfjs",JSON.stringify(n))}cut(t){this.copy(t),this.delete()}async paste(t){t.preventDefault();const{clipboardData:n}=t;for(const o of n.items)for(const r of y(this,kr))if(r.isHandlingMimeForPasting(o.type)){r.paste(o,this.currentLayer);return}let s=n.getData("application/pdfjs");if(!s)return;try{s=JSON.parse(s)}catch(o){rn(`paste: "${o.message}".`);return}if(!Array.isArray(s))return;this.unselectAll();const a=this.currentLayer;try{const o=[];for(const l of s){const c=await a.deserialize(l);if(!c)return;o.push(c)}const r=()=>{for(const l of o)oe(this,mt,Ww).call(this,l);oe(this,mt,jw).call(this,o)},i=()=>{for(const l of o)l.remove()};this.addCommands({cmd:r,undo:i,mustExec:!0})}catch(o){rn(`paste: "${o.message}".`)}}keydown(t){!this.isShiftKeyDown&&t.key==="Shift"&&(this.isShiftKeyDown=!0),y(this,Fs)!==on.NONE&&!this.isEditorHandlingKeyboard&&xh._keyboardManager.exec(this,t)}keyup(t){this.isShiftKeyDown&&t.key==="Shift"&&(this.isShiftKeyDown=!1,y(this,Ac)&&(q(this,Ac,!1),oe(this,mt,Vb).call(this,"main_toolbar")))}onEditingAction({name:t}){switch(t){case"undo":case"redo":case"delete":case"selectAll":this[t]();break;case"highlightSelection":this.highlightSelection("context_menu");break}}setEditingState(t){t?(oe(this,mt,vR).call(this),oe(this,mt,zw).call(this),oe(this,mt,Ha).call(this,{isEditing:y(this,Fs)!==on.NONE,isEmpty:oe(this,mt,r2).call(this),hasSomethingToUndo:y(this,Wo).hasSomethingToUndo(),hasSomethingToRedo:y(this,Wo).hasSomethingToRedo(),hasSelectedEditor:!1})):(oe(this,mt,mR).call(this),oe(this,mt,Hw).call(this),oe(this,mt,Ha).call(this,{isEditing:!1}),this.disableUserSelect(!1))}registerEditorTypes(t){if(!y(this,kr)){q(this,kr,t);for(const n of y(this,kr))oe(this,mt,Wl).call(this,n.defaultPropertiesToUpdate)}}getId(){return y(this,bb).id}get currentLayer(){return y(this,Ys).get(y(this,_h))}getLayer(t){return y(this,Ys).get(t)}get currentPageIndex(){return y(this,_h)}addLayer(t){y(this,Ys).set(t.pageIndex,t),y(this,Tc)?t.enable():t.disable()}removeLayer(t){y(this,Ys).delete(t.pageIndex)}async updateMode(t,n=null,s=!1){var a;if(y(this,Fs)!==t&&!(y(this,jo)&&(await y(this,jo).promise,!y(this,jo)))){if(q(this,jo,Promise.withResolvers()),q(this,Fs,t),t===on.NONE){this.setEditingState(!1),oe(this,mt,wR).call(this),(a=this._editorUndoBar)==null||a.hide(),y(this,jo).resolve();return}this.setEditingState(!0),await oe(this,mt,yR).call(this),this.unselectAll();for(const o of y(this,Ys).values())o.updateMode(t);if(!n){s&&this.addNewEditorFromKeyboard(),y(this,jo).resolve();return}for(const o of y(this,As).values())o.annotationElementId===n?(this.setSelected(o),o.enterInEditMode()):o.unselect();y(this,jo).resolve()}}addNewEditorFromKeyboard(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}updateToolbar(t){t!==y(this,Fs)&&this._eventBus.dispatch("switchannotationeditormode",{source:this,mode:t})}updateParams(t,n){var s;if(y(this,kr)){switch(t){case mn.CREATE:this.currentLayer.addNewEditor();return;case mn.HIGHLIGHT_DEFAULT_COLOR:(s=y(this,Wv))==null||s.updateColor(n);break;case mn.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(y(this,Kv)||q(this,Kv,new Map)).set(t,n),this.showAllEditors("highlight",n);break}for(const a of y(this,On))a.updateParams(t,n);for(const a of y(this,kr))a.updateDefaultParams(t,n)}}showAllEditors(t,n,s=!1){var o;for(const r of y(this,As).values())r.editorType===t&&r.show(n);(((o=y(this,Kv))==null?void 0:o.get(mn.HIGHLIGHT_SHOW_ALL))??!0)!==n&&oe(this,mt,Wl).call(this,[[mn.HIGHLIGHT_SHOW_ALL,n]])}enableWaiting(t=!1){if(y(this,Hv)!==t){q(this,Hv,t);for(const n of y(this,Ys).values())t?n.disableClick():n.enableClick(),n.div.classList.toggle("waiting",t)}}getEditors(t){const n=[];for(const s of y(this,As).values())s.pageIndex===t&&n.push(s);return n}getEditor(t){return y(this,As).get(t)}addEditor(t){y(this,As).set(t.id,t)}removeEditor(t){var n;t.div.contains(document.activeElement)&&(y(this,hi)&&clearTimeout(y(this,hi)),q(this,hi,setTimeout(()=>{this.focusMainContainer(),q(this,hi,null)},0))),y(this,As).delete(t.id),this.unselect(t),(!t.annotationElementId||!y(this,Zu).has(t.annotationElementId))&&((n=y(this,hl))==null||n.remove(t.id))}addDeletedAnnotationElement(t){y(this,Zu).add(t.annotationElementId),this.addChangedExistingAnnotation(t),t.deleted=!0}isDeletedAnnotationElement(t){return y(this,Zu).has(t)}removeDeletedAnnotationElement(t){y(this,Zu).delete(t.annotationElementId),this.removeChangedExistingAnnotation(t),t.deleted=!1}setActiveEditor(t){y(this,bo)!==t&&(q(this,bo,t),t&&oe(this,mt,Wl).call(this,t.propertiesToUpdate))}updateUI(t){y(this,mt,_R)===t&&oe(this,mt,Wl).call(this,t.propertiesToUpdate)}updateUIForDefaultProperties(t){oe(this,mt,Wl).call(this,t.defaultPropertiesToUpdate)}toggleSelected(t){if(y(this,On).has(t)){y(this,On).delete(t),t.unselect(),oe(this,mt,Ha).call(this,{hasSelectedEditor:this.hasSelection});return}y(this,On).add(t),t.select(),oe(this,mt,Wl).call(this,t.propertiesToUpdate),oe(this,mt,Ha).call(this,{hasSelectedEditor:!0})}setSelected(t){var n;(n=y(this,Ju))==null||n.commitOrRemove();for(const s of y(this,On))s!==t&&s.unselect();y(this,On).clear(),y(this,On).add(t),t.select(),oe(this,mt,Wl).call(this,t.propertiesToUpdate),oe(this,mt,Ha).call(this,{hasSelectedEditor:!0})}isSelected(t){return y(this,On).has(t)}get firstSelectedEditor(){return y(this,On).values().next().value}unselect(t){t.unselect(),y(this,On).delete(t),oe(this,mt,Ha).call(this,{hasSelectedEditor:this.hasSelection})}get hasSelection(){return y(this,On).size!==0}get isEnterHandled(){return y(this,On).size===1&&this.firstSelectedEditor.isEnterHandled}undo(){var t;y(this,Wo).undo(),oe(this,mt,Ha).call(this,{hasSomethingToUndo:y(this,Wo).hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:oe(this,mt,r2).call(this)}),(t=this._editorUndoBar)==null||t.hide()}redo(){y(this,Wo).redo(),oe(this,mt,Ha).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:y(this,Wo).hasSomethingToRedo(),isEmpty:oe(this,mt,r2).call(this)})}addCommands(t){y(this,Wo).add(t),oe(this,mt,Ha).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:oe(this,mt,r2).call(this)})}cleanUndoStack(t){y(this,Wo).cleanType(t)}delete(){var o;this.commitOrRemove();const t=(o=this.currentLayer)==null?void 0:o.endDrawingSession(!0);if(!this.hasSelection&&!t)return;const n=t?[t]:[...y(this,On)],s=()=>{var r;(r=this._editorUndoBar)==null||r.show(a,n.length===1?n[0].editorType:n.length);for(const i of n)i.remove()},a=()=>{for(const r of n)oe(this,mt,Ww).call(this,r)};this.addCommands({cmd:s,undo:a,mustExec:!0})}commitOrRemove(){var t;(t=y(this,bo))==null||t.commitOrRemove()}hasSomethingToControl(){return y(this,bo)||this.hasSelection}selectAll(){for(const t of y(this,On))t.commit();oe(this,mt,jw).call(this,y(this,As).values())}unselectAll(){var t;if(!(y(this,bo)&&(y(this,bo).commitOrRemove(),y(this,Fs)!==on.NONE))&&!((t=y(this,Ju))!=null&&t.commitOrRemove())&&this.hasSelection){for(const n of y(this,On))n.unselect();y(this,On).clear(),oe(this,mt,Ha).call(this,{hasSelectedEditor:!1})}}translateSelectedEditors(t,n,s=!1){if(s||this.commitOrRemove(),!this.hasSelection)return;y(this,Pc)[0]+=t,y(this,Pc)[1]+=n;const[a,o]=y(this,Pc),r=[...y(this,On)],i=1e3;y(this,vi)&&clearTimeout(y(this,vi)),q(this,vi,setTimeout(()=>{q(this,vi,null),y(this,Pc)[0]=y(this,Pc)[1]=0,this.addCommands({cmd:()=>{for(const l of r)y(this,As).has(l.id)&&l.translateInPage(a,o)},undo:()=>{for(const l of r)y(this,As).has(l.id)&&l.translateInPage(-a,-o)},mustExec:!1})},i));for(const l of r)l.translateInPage(t,n)}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),q(this,fi,new Map);for(const t of y(this,On))y(this,fi).set(t,{savedX:t.x,savedY:t.y,savedPageIndex:t.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!y(this,fi))return!1;this.disableUserSelect(!1);const t=y(this,fi);q(this,fi,null);let n=!1;for(const[{x:a,y:o,pageIndex:r},i]of t)i.newX=a,i.newY=o,i.newPageIndex=r,n||(n=a!==i.savedX||o!==i.savedY||r!==i.savedPageIndex);if(!n)return!1;const s=(a,o,r,i)=>{if(y(this,As).has(a.id)){const l=y(this,Ys).get(i);l?a._setParentAndPosition(l,o,r):(a.pageIndex=i,a.x=o,a.y=r)}};return this.addCommands({cmd:()=>{for(const[a,{newX:o,newY:r,newPageIndex:i}]of t)s(a,o,r,i)},undo:()=>{for(const[a,{savedX:o,savedY:r,savedPageIndex:i}]of t)s(a,o,r,i)},mustExec:!0}),!0}dragSelectedEditors(t,n){if(y(this,fi))for(const s of y(this,fi).keys())s.drag(t,n)}rebuild(t){if(t.parent===null){const n=this.getLayer(t.pageIndex);n?(n.changeParent(t),n.addOrRebuild(t)):(this.addEditor(t),this.addToAnnotationStorage(t),t.rebuild())}else t.parent.addOrRebuild(t)}get isEditorHandlingKeyboard(){var t;return((t=this.getActive())==null?void 0:t.shouldGetKeyboardEvents())||y(this,On).size===1&&this.firstSelectedEditor.shouldGetKeyboardEvents()}isActive(t){return y(this,bo)===t}getActive(){return y(this,bo)}getMode(){return y(this,Fs)}get imageManager(){return dn(this,"imageManager",new aw)}getSelectionBoxes(t){if(!t)return null;const n=document.getSelection();for(let c=0,u=n.rangeCount;c({x:(u-a)/r,y:1-(c+d-s)/o,width:h/r,height:d/o});break;case"180":i=(c,u,d,h)=>({x:1-(c+d-s)/o,y:1-(u+h-a)/r,width:d/o,height:h/r});break;case"270":i=(c,u,d,h)=>({x:1-(u+h-a)/r,y:(c-s)/o,width:h/r,height:d/o});break;default:i=(c,u,d,h)=>({x:(c-s)/o,y:(u-a)/r,width:d/o,height:h/r});break}const l=[];for(let c=0,u=n.rangeCount;c{h.type==="pointerup"&&h.button!==0||(c.abort(),l==null||l.toggleDrawing(!0),h.type==="pointerup"&&oe(this,mt,Vb).call(this,"main_toolbar"))};window.addEventListener("pointerup",d,{signal:u}),window.addEventListener("blur",d,{signal:u})}},Vb=function(t=""){y(this,Fs)===on.HIGHLIGHT?this.highlightSelection(t):y(this,Bv)&&oe(this,mt,fR).call(this)},pR=function(){document.addEventListener("selectionchange",oe(this,mt,hR).bind(this),{signal:this._signal})},vR=function(){if(y(this,kc))return;q(this,kc,new AbortController);const t=this.combinedSignal(y(this,kc));window.addEventListener("focus",this.focus.bind(this),{signal:t}),window.addEventListener("blur",this.blur.bind(this),{signal:t})},mR=function(){var t;(t=y(this,kc))==null||t.abort(),q(this,kc,null)},Vw=function(){if(y(this,Mc))return;q(this,Mc,new AbortController);const t=this.combinedSignal(y(this,Mc));window.addEventListener("keydown",this.keydown.bind(this),{signal:t}),window.addEventListener("keyup",this.keyup.bind(this),{signal:t})},gR=function(){var t;(t=y(this,Mc))==null||t.abort(),q(this,Mc,null)},zw=function(){if(y(this,Ec))return;q(this,Ec,new AbortController);const t=this.combinedSignal(y(this,Ec));document.addEventListener("copy",this.copy.bind(this),{signal:t}),document.addEventListener("cut",this.cut.bind(this),{signal:t}),document.addEventListener("paste",this.paste.bind(this),{signal:t})},Hw=function(){var t;(t=y(this,Ec))==null||t.abort(),q(this,Ec,null)},bR=function(){const t=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:t}),document.addEventListener("drop",this.drop.bind(this),{signal:t})},Ha=function(t){Object.entries(t).some(([s,a])=>y(this,Uv)[s]!==a)&&(this._eventBus.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(y(this,Uv),t)}),y(this,Fs)===on.HIGHLIGHT&&t.hasSelectedEditor===!1&&oe(this,mt,Wl).call(this,[[mn.HIGHLIGHT_FREE,!0]]))},Wl=function(t){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:t})},yR=async function(){if(!y(this,Tc)){q(this,Tc,!0);const t=[];for(const n of y(this,Ys).values())t.push(n.enable());await Promise.all(t);for(const n of y(this,As).values())n.enable()}},wR=function(){if(this.unselectAll(),y(this,Tc)){q(this,Tc,!1);for(const t of y(this,Ys).values())t.disable();for(const t of y(this,As).values())t.disable()}},Ww=function(t){const n=y(this,Ys).get(t.pageIndex);n?n.addOrRebuild(t):(this.addEditor(t),this.addToAnnotationStorage(t))},_R=function(){let t=null;for(t of y(this,On));return t},r2=function(){if(y(this,As).size===0)return!0;if(y(this,As).size===1)for(const t of y(this,As).values())return t.isEmpty();return!1},jw=function(t){for(const n of y(this,On))n.unselect();y(this,On).clear();for(const n of t)n.isEmpty()||(y(this,On).add(n),n.select());oe(this,mt,Ha).call(this,{hasSelectedEditor:this.hasSelection})},zt(xh,"TRANSLATE_SMALL",1),zt(xh,"TRANSLATE_BIG",10);let Wu=xh;const Na=class Na{constructor(t){se(this,Tr);se(this,Bs,null);se(this,mi,!1);se(this,Ar,null);se(this,Eh,null);se(this,gi,null);se(this,yo,null);se(this,kh,!1);se(this,bi,null);se(this,to,null);se(this,ml,null);se(this,nd,null);se(this,yi,!1);q(this,to,t),q(this,yi,t._uiManager.useNewAltTextFlow),y(Na,Rc)||q(Na,Rc,Object.freeze({added:"pdfjs-editor-new-alt-text-added-button","added-label":"pdfjs-editor-new-alt-text-added-button-label",missing:"pdfjs-editor-new-alt-text-missing-button","missing-label":"pdfjs-editor-new-alt-text-missing-button-label",review:"pdfjs-editor-new-alt-text-to-review-button","review-label":"pdfjs-editor-new-alt-text-to-review-button-label"}))}static initialize(t){Na._l10n??(Na._l10n=t)}async render(){const t=q(this,Ar,document.createElement("button"));t.className="altText",t.tabIndex="0";const n=q(this,Eh,document.createElement("span"));t.append(n),y(this,yi)?(t.classList.add("new"),t.setAttribute("data-l10n-id",y(Na,Rc).missing),n.setAttribute("data-l10n-id",y(Na,Rc)["missing-label"])):(t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button"),n.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button-label"));const s=y(this,to)._uiManager._signal;t.addEventListener("contextmenu",xr,{signal:s}),t.addEventListener("pointerdown",o=>o.stopPropagation(),{signal:s});const a=o=>{o.preventDefault(),y(this,to)._uiManager.editAltText(y(this,to)),y(this,yi)&&y(this,to)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_clicked",data:{label:y(this,Tr,i2)}})};return t.addEventListener("click",a,{capture:!0,signal:s}),t.addEventListener("keydown",o=>{o.target===t&&o.key==="Enter"&&(q(this,kh,!0),a(o))},{signal:s}),await oe(this,Tr,zb).call(this),t}finish(){y(this,Ar)&&(y(this,Ar).focus({focusVisible:y(this,kh)}),q(this,kh,!1))}isEmpty(){return y(this,yi)?y(this,Bs)===null:!y(this,Bs)&&!y(this,mi)}hasData(){return y(this,yi)?y(this,Bs)!==null||!!y(this,ml):this.isEmpty()}get guessedText(){return y(this,ml)}async setGuessedText(t){y(this,Bs)===null&&(q(this,ml,t),q(this,nd,await Na._l10n.get("pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer",{generatedAltText:t})),oe(this,Tr,zb).call(this))}toggleAltTextBadge(t=!1){var n;if(!y(this,yi)||y(this,Bs)){(n=y(this,bi))==null||n.remove(),q(this,bi,null);return}if(!y(this,bi)){const s=q(this,bi,document.createElement("div"));s.className="noAltTextBadge",y(this,to).div.append(s)}y(this,bi).classList.toggle("hidden",!t)}serialize(t){let n=y(this,Bs);return!t&&y(this,ml)===n&&(n=y(this,nd)),{altText:n,decorative:y(this,mi),guessedText:y(this,ml),textWithDisclaimer:y(this,nd)}}get data(){return{altText:y(this,Bs),decorative:y(this,mi)}}set data({altText:t,decorative:n,guessedText:s,textWithDisclaimer:a,cancel:o=!1}){s&&(q(this,ml,s),q(this,nd,a)),!(y(this,Bs)===t&&y(this,mi)===n)&&(o||(q(this,Bs,t),q(this,mi,n)),oe(this,Tr,zb).call(this))}toggle(t=!1){y(this,Ar)&&(!t&&y(this,yo)&&(clearTimeout(y(this,yo)),q(this,yo,null)),y(this,Ar).disabled=!t)}shown(){y(this,to)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_displayed",data:{label:y(this,Tr,i2)}})}destroy(){var t,n;(t=y(this,Ar))==null||t.remove(),q(this,Ar,null),q(this,Eh,null),q(this,gi,null),(n=y(this,bi))==null||n.remove(),q(this,bi,null)}};Bs=new WeakMap,mi=new WeakMap,Ar=new WeakMap,Eh=new WeakMap,gi=new WeakMap,yo=new WeakMap,kh=new WeakMap,bi=new WeakMap,to=new WeakMap,ml=new WeakMap,nd=new WeakMap,yi=new WeakMap,Rc=new WeakMap,Tr=new WeakSet,i2=function(){return y(this,Bs)&&"added"||y(this,Bs)===null&&this.guessedText&&"review"||"missing"},zb=async function(){var a,o,r;const t=y(this,Ar);if(!t)return;if(y(this,yi)){if(t.classList.toggle("done",!!y(this,Bs)),t.setAttribute("data-l10n-id",y(Na,Rc)[y(this,Tr,i2)]),(a=y(this,Eh))==null||a.setAttribute("data-l10n-id",y(Na,Rc)[`${y(this,Tr,i2)}-label`]),!y(this,Bs)){(o=y(this,gi))==null||o.remove();return}}else{if(!y(this,Bs)&&!y(this,mi)){t.classList.remove("done"),(r=y(this,gi))==null||r.remove();return}t.classList.add("done"),t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-edit-button")}let n=y(this,gi);if(!n){q(this,gi,n=document.createElement("span")),n.className="tooltip",n.setAttribute("role","tooltip"),n.id=`alt-text-tooltip-${y(this,to).id}`;const i=100,l=y(this,to)._uiManager._signal;l.addEventListener("abort",()=>{clearTimeout(y(this,yo)),q(this,yo,null)},{once:!0}),t.addEventListener("mouseenter",()=>{q(this,yo,setTimeout(()=>{q(this,yo,null),y(this,gi).classList.add("show"),y(this,to)._reportTelemetry({action:"alt_text_tooltip"})},i))},{signal:l}),t.addEventListener("mouseleave",()=>{var c;y(this,yo)&&(clearTimeout(y(this,yo)),q(this,yo,null)),(c=y(this,gi))==null||c.classList.remove("show")},{signal:l})}y(this,mi)?n.setAttribute("data-l10n-id","pdfjs-editor-alt-text-decorative-tooltip"):(n.removeAttribute("data-l10n-id"),n.textContent=y(this,Bs)),n.parentNode||t.append(n);const s=y(this,to).getImageForAltText();s==null||s.setAttribute("aria-describedby",n.id)},se(Na,Rc,null),zt(Na,"_l10n",null);let tb=Na;const Mw=class Mw{constructor({container:t,isPinchingDisabled:n=null,isPinchingStopped:s=null,onPinchStart:a=null,onPinching:o=null,onPinchEnd:r=null,signal:i}){se(this,bl);se(this,Gv);se(this,sd,!1);se(this,Yv,null);se(this,Xv);se(this,Jv);se(this,Zv);se(this,Qv);se(this,Ah);se(this,gl,null);se(this,ad);se(this,Ic,null);q(this,Gv,t),q(this,Yv,s),q(this,Xv,n),q(this,Jv,a),q(this,Zv,o),q(this,Qv,r),q(this,ad,new AbortController),q(this,Ah,AbortSignal.any([i,y(this,ad).signal])),t.addEventListener("touchstart",oe(this,bl,CR).bind(this),{passive:!1,signal:y(this,Ah)})}get MIN_TOUCH_DISTANCE_TO_PINCH(){return dn(this,"MIN_TOUCH_DISTANCE_TO_PINCH",35/(window.devicePixelRatio||1))}destroy(){var t;(t=y(this,ad))==null||t.abort(),q(this,ad,null)}};Gv=new WeakMap,sd=new WeakMap,Yv=new WeakMap,Xv=new WeakMap,Jv=new WeakMap,Zv=new WeakMap,Qv=new WeakMap,Ah=new WeakMap,gl=new WeakMap,ad=new WeakMap,Ic=new WeakMap,bl=new WeakSet,CR=function(t){var a,o,r;if((a=y(this,Xv))!=null&&a.call(this)||t.touches.length<2)return;if(!y(this,Ic)){q(this,Ic,new AbortController);const i=AbortSignal.any([y(this,Ah),y(this,Ic).signal]),l=y(this,Gv),c={signal:i,passive:!1};l.addEventListener("touchmove",oe(this,bl,SR).bind(this),c),l.addEventListener("touchend",oe(this,bl,Kw).bind(this),c),l.addEventListener("touchcancel",oe(this,bl,Kw).bind(this),c),(o=y(this,Jv))==null||o.call(this)}if(go(t),t.touches.length!==2||(r=y(this,Yv))!=null&&r.call(this)){q(this,gl,null);return}let[n,s]=t.touches;n.identifier>s.identifier&&([n,s]=[s,n]),q(this,gl,{touch0X:n.screenX,touch0Y:n.screenY,touch1X:s.screenX,touch1Y:s.screenY})},SR=function(t){var _;if(!y(this,gl)||t.touches.length!==2)return;let[n,s]=t.touches;n.identifier>s.identifier&&([n,s]=[s,n]);const{screenX:a,screenY:o}=n,{screenX:r,screenY:i}=s,l=y(this,gl),{touch0X:c,touch0Y:u,touch1X:d,touch1Y:h}=l,p=d-c,v=h-u,m=r-a,g=i-o,b=Math.hypot(m,g)||1,C=Math.hypot(p,v)||1;if(!y(this,sd)&&Math.abs(C-b)<=Mw.MIN_TOUCH_DISTANCE_TO_PINCH)return;if(l.touch0X=a,l.touch0Y=o,l.touch1X=r,l.touch1Y=i,t.preventDefault(),!y(this,sd)){q(this,sd,!0);return}const w=[(a+r)/2,(o+i)/2];(_=y(this,Zv))==null||_.call(this,w,C,b)},Kw=function(t){var n;y(this,Ic).abort(),q(this,Ic,null),(n=y(this,Qv))==null||n.call(this),y(this,gl)&&(t.preventDefault(),q(this,gl,null),q(this,sd,!1))};let nb=Mw;const ln=class ln{constructor(t){se(this,Vt);se(this,od,null);se(this,Mr,null);se(this,Gn,null);se(this,Th,!1);se(this,Oc,null);se(this,em,"");se(this,rd,!1);se(this,Xs,null);se(this,id,null);se(this,yl,null);se(this,Lc,null);se(this,tm,"");se(this,ld,!1);se(this,wo,null);se(this,nm,!1);se(this,cd,!1);se(this,wl,!1);se(this,wi,null);se(this,Mh,0);se(this,Ph,0);se(this,Ko,null);se(this,ud,null);zt(this,"_editToolbar",null);zt(this,"_initialOptions",Object.create(null));zt(this,"_initialData",null);zt(this,"_isVisible",!0);zt(this,"_uiManager",null);zt(this,"_focusEventsAllowed",!0);se(this,sm,!1);se(this,yb,ln._zIndex++);this.parent=t.parent,this.id=t.id,this.width=this.height=null,this.pageIndex=t.parent.pageIndex,this.name=t.name,this.div=null,this._uiManager=t.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=t.isCentered,this._structTreeParentId=null;const{rotation:n,rawDims:{pageWidth:s,pageHeight:a,pageX:o,pageY:r}}=this.parent.viewport;this.rotation=n,this.pageRotation=(360+n-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[s,a],this.pageTranslation=[o,r];const[i,l]=this.parentDimensions;this.x=t.x/i,this.y=t.y/l,this.isAttachedToDOM=!1,this.deleted=!1}static get _resizerKeyboardManager(){const t=ln.prototype._resizeWithKeyboard,n=Wu.TRANSLATE_SMALL,s=Wu.TRANSLATE_BIG;return dn(this,"_resizerKeyboardManager",new Ev([[["ArrowLeft","mac+ArrowLeft"],t,{args:[-n,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t,{args:[-s,0]}],[["ArrowRight","mac+ArrowRight"],t,{args:[n,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t,{args:[s,0]}],[["ArrowUp","mac+ArrowUp"],t,{args:[0,-n]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t,{args:[0,-s]}],[["ArrowDown","mac+ArrowDown"],t,{args:[0,n]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t,{args:[0,s]}],[["Escape","mac+Escape"],ln.prototype._stopResizingWithKeyboard]]))}get editorType(){return Object.getPrototypeOf(this).constructor._type}static get isDrawer(){return!1}static get _defaultLineColor(){return dn(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(t){const n=new cbe({id:t.parent.getNextId(),parent:t.parent,uiManager:t._uiManager});n.annotationElementId=t.annotationElementId,n.deleted=!0,n._uiManager.addToAnnotationStorage(n)}static initialize(t,n){if(ln._l10n??(ln._l10n=t),ln._l10nResizer||(ln._l10nResizer=Object.freeze({topLeft:"pdfjs-editor-resizer-top-left",topMiddle:"pdfjs-editor-resizer-top-middle",topRight:"pdfjs-editor-resizer-top-right",middleRight:"pdfjs-editor-resizer-middle-right",bottomRight:"pdfjs-editor-resizer-bottom-right",bottomMiddle:"pdfjs-editor-resizer-bottom-middle",bottomLeft:"pdfjs-editor-resizer-bottom-left",middleLeft:"pdfjs-editor-resizer-middle-left"})),ln._borderLineWidth!==-1)return;const s=getComputedStyle(document.documentElement);ln._borderLineWidth=parseFloat(s.getPropertyValue("--outline-width"))||0}static updateDefaultParams(t,n){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(t){return!1}static paste(t,n){Bn("Not implemented")}get propertiesToUpdate(){return[]}get _isDraggable(){return y(this,sm)}set _isDraggable(t){var n;q(this,sm,t),(n=this.div)==null||n.classList.toggle("draggable",t)}get isEnterHandled(){return!0}center(){const[t,n]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*n/(t*2),this.y+=this.width*t/(n*2);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*n/(t*2),this.y-=this.width*t/(n*2);break;default:this.x-=this.width/2,this.y-=this.height/2;break}this.fixAndSetPosition()}addCommands(t){this._uiManager.addCommands(t)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=y(this,yb)}setParent(t){t!==null?(this.pageIndex=t.pageIndex,this.pageDimensions=t.pageDimensions):oe(this,Vt,l2).call(this),this.parent=t}focusin(t){this._focusEventsAllowed&&(y(this,ld)?q(this,ld,!1):this.parent.setSelected(this))}focusout(t){var s;if(!this._focusEventsAllowed||!this.isAttachedToDOM)return;const n=t.relatedTarget;n!=null&&n.closest(`#${this.id}`)||(t.preventDefault(),(s=this.parent)!=null&&s.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(t,n,s,a){const[o,r]=this.parentDimensions;[s,a]=this.screenToPageTranslation(s,a),this.x=(t+s)/o,this.y=(n+a)/r,this.fixAndSetPosition()}translate(t,n){oe(this,Vt,Uw).call(this,this.parentDimensions,t,n)}translateInPage(t,n){y(this,wo)||q(this,wo,[this.x,this.y,this.width,this.height]),oe(this,Vt,Uw).call(this,this.pageDimensions,t,n),this.div.scrollIntoView({block:"nearest"})}drag(t,n){y(this,wo)||q(this,wo,[this.x,this.y,this.width,this.height]);const{div:s,parentDimensions:[a,o]}=this;if(this.x+=t/a,this.y+=n/o,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){const{x:d,y:h}=this.div.getBoundingClientRect();this.parent.findNewParent(this,d,h)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:r,y:i}=this;const[l,c]=this.getBaseTranslation();r+=l,i+=c;const{style:u}=s;u.left=`${(100*r).toFixed(2)}%`,u.top=`${(100*i).toFixed(2)}%`,this._onTranslating(r,i),s.scrollIntoView({block:"nearest"})}_onTranslating(t,n){}_onTranslated(t,n){}get _hasBeenMoved(){return!!y(this,wo)&&(y(this,wo)[0]!==this.x||y(this,wo)[1]!==this.y)}get _hasBeenResized(){return!!y(this,wo)&&(y(this,wo)[2]!==this.width||y(this,wo)[3]!==this.height)}getBaseTranslation(){const[t,n]=this.parentDimensions,{_borderLineWidth:s}=ln,a=s/t,o=s/n;switch(this.rotation){case 90:return[-a,o];case 180:return[a,o];case 270:return[a,-o];default:return[-a,-o]}}get _mustFixPosition(){return!0}fixAndSetPosition(t=this.rotation){const{div:{style:n},pageDimensions:[s,a]}=this;let{x:o,y:r,width:i,height:l}=this;if(i*=s,l*=a,o*=s,r*=a,this._mustFixPosition)switch(t){case 0:o=Math.max(0,Math.min(s-i,o)),r=Math.max(0,Math.min(a-l,r));break;case 90:o=Math.max(0,Math.min(s-l,o)),r=Math.min(a,Math.max(i,r));break;case 180:o=Math.min(s,Math.max(i,o)),r=Math.min(a,Math.max(l,r));break;case 270:o=Math.min(s,Math.max(l,o)),r=Math.max(0,Math.min(a-i,r));break}this.x=o/=s,this.y=r/=a;const[c,u]=this.getBaseTranslation();o+=c,r+=u,n.left=`${(100*o).toFixed(2)}%`,n.top=`${(100*r).toFixed(2)}%`,this.moveInDOM()}screenToPageTranslation(t,n){var s;return oe(s=ln,am,qw).call(s,t,n,this.parentRotation)}pageTranslationToScreen(t,n){var s;return oe(s=ln,am,qw).call(s,t,n,360-this.parentRotation)}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){const{parentScale:t,pageDimensions:[n,s]}=this;return[n*t,s*t]}setDims(t,n){const[s,a]=this.parentDimensions,{style:o}=this.div;o.width=`${(100*t/s).toFixed(2)}%`,y(this,rd)||(o.height=`${(100*n/a).toFixed(2)}%`)}fixDims(){const{style:t}=this.div,{height:n,width:s}=t,a=s.endsWith("%"),o=!y(this,rd)&&n.endsWith("%");if(a&&o)return;const[r,i]=this.parentDimensions;a||(t.width=`${(100*parseFloat(s)/r).toFixed(2)}%`),!y(this,rd)&&!o&&(t.height=`${(100*parseFloat(n)/i).toFixed(2)}%`)}getInitialTranslation(){return[0,0]}_onResized(){}static _round(t){return Math.round(t*1e4)/1e4}_onResizing(){}altTextFinish(){var t;(t=y(this,Gn))==null||t.finish()}async addEditToolbar(){return this._editToolbar||y(this,cd)?this._editToolbar:(this._editToolbar=new sw(this),this.div.append(this._editToolbar.render()),y(this,Gn)&&await this._editToolbar.addAltText(y(this,Gn)),this._editToolbar)}removeEditToolbar(){var t;this._editToolbar&&(this._editToolbar.remove(),this._editToolbar=null,(t=y(this,Gn))==null||t.destroy())}addContainer(t){var s;const n=(s=this._editToolbar)==null?void 0:s.div;n?n.before(t):this.div.append(t)}getClientDimensions(){return this.div.getBoundingClientRect()}async addAltTextButton(){y(this,Gn)||(tb.initialize(ln._l10n),q(this,Gn,new tb(this)),y(this,od)&&(y(this,Gn).data=y(this,od),q(this,od,null)),await this.addEditToolbar())}get altTextData(){var t;return(t=y(this,Gn))==null?void 0:t.data}set altTextData(t){y(this,Gn)&&(y(this,Gn).data=t)}get guessedAltText(){var t;return(t=y(this,Gn))==null?void 0:t.guessedText}async setGuessedAltText(t){var n;await((n=y(this,Gn))==null?void 0:n.setGuessedText(t))}serializeAltText(t){var n;return(n=y(this,Gn))==null?void 0:n.serialize(t)}hasAltText(){return!!y(this,Gn)&&!y(this,Gn).isEmpty()}hasAltTextData(){var t;return((t=y(this,Gn))==null?void 0:t.hasData())??!1}render(){var o;this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.tabIndex=y(this,Th)?-1:0,this._isVisible||this.div.classList.add("hidden"),this.setInForeground(),oe(this,Vt,Jw).call(this);const[t,n]=this.parentDimensions;this.parentRotation%180!==0&&(this.div.style.maxWidth=`${(100*n/t).toFixed(2)}%`,this.div.style.maxHeight=`${(100*t/n).toFixed(2)}%`);const[s,a]=this.getInitialTranslation();return this.translate(s,a),eb(this,this.div,["pointerdown"]),this.isResizable&&this._uiManager._supportsPinchToZoom&&(y(this,ud)||q(this,ud,new nb({container:this.div,isPinchingDisabled:()=>!this.isSelected,onPinchStart:oe(this,Vt,kR).bind(this),onPinching:oe(this,Vt,AR).bind(this),onPinchEnd:oe(this,Vt,TR).bind(this),signal:this._uiManager._signal}))),(o=this._uiManager._editorUndoBar)==null||o.hide(),this.div}pointerdown(t){const{isMac:n}=Oa.platform;if(t.button!==0||t.ctrlKey&&n){t.preventDefault();return}if(q(this,ld,!0),this._isDraggable){oe(this,Vt,MR).call(this,t);return}oe(this,Vt,Xw).call(this,t)}get isSelected(){return this._uiManager.isSelected(this)}_onStartDragging(){}_onStopDragging(){}moveInDOM(){y(this,wi)&&clearTimeout(y(this,wi)),q(this,wi,setTimeout(()=>{var t;q(this,wi,null),(t=this.parent)==null||t.moveEditorInDOM(this)},0))}_setParentAndPosition(t,n,s){t.changeParent(this),this.x=n,this.y=s,this.fixAndSetPosition(),this._onTranslated()}getRect(t,n,s=this.rotation){const a=this.parentScale,[o,r]=this.pageDimensions,[i,l]=this.pageTranslation,c=t/a,u=n/a,d=this.x*o,h=this.y*r,p=this.width*o,v=this.height*r;switch(s){case 0:return[d+c+i,r-h-u-v+l,d+c+p+i,r-h-u+l];case 90:return[d+u+i,r-h+c+l,d+u+v+i,r-h+c+p+l];case 180:return[d-c-p+i,r-h+u+l,d-c+i,r-h+u+v+l];case 270:return[d-u-v+i,r-h-c-p+l,d-u+i,r-h-c+l];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(t,n){const[s,a,o,r]=t,i=o-s,l=r-a;switch(this.rotation){case 0:return[s,n-r,i,l];case 90:return[s,n-a,l,i];case 180:return[o,n-a,i,l];case 270:return[o,n-r,l,i];default:throw new Error("Invalid rotation")}}onceAdded(t){}isEmpty(){return!1}enableEditMode(){q(this,cd,!0)}disableEditMode(){q(this,cd,!1)}isInEditMode(){return y(this,cd)}shouldGetKeyboardEvents(){return y(this,wl)}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}get isOnScreen(){const{top:t,left:n,bottom:s,right:a}=this.getClientDimensions(),{innerHeight:o,innerWidth:r}=window;return n0&&t0}rebuild(){oe(this,Vt,Jw).call(this)}rotate(t){}resize(){}serializeDeleted(){var t;return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex,popupRef:((t=this._initialData)==null?void 0:t.popupRef)||""}}serialize(t=!1,n=null){Bn("An editor must be serializable")}static async deserialize(t,n,s){const a=new this.prototype.constructor({parent:n,id:n.getNextId(),uiManager:s});a.rotation=t.rotation,q(a,od,t.accessibilityData);const[o,r]=a.pageDimensions,[i,l,c,u]=a.getRectInCurrentCoords(t.rect,r);return a.x=i/o,a.y=l/r,a.width=c/o,a.height=u/r,a}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||this.serialize()!==null)}remove(){var t,n;if((t=y(this,Lc))==null||t.abort(),q(this,Lc,null),this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),y(this,wi)&&(clearTimeout(y(this,wi)),q(this,wi,null)),oe(this,Vt,l2).call(this),this.removeEditToolbar(),y(this,Ko)){for(const s of y(this,Ko).values())clearTimeout(s);q(this,Ko,null)}this.parent=null,(n=y(this,ud))==null||n.destroy(),q(this,ud,null)}get isResizable(){return!1}makeResizable(){this.isResizable&&(oe(this,Vt,xR).call(this),y(this,Xs).classList.remove("hidden"),eb(this,this.div,["keydown"]))}get toolbarPosition(){return null}keydown(t){if(!this.isResizable||t.target!==this.div||t.key!=="Enter")return;this._uiManager.setSelected(this),q(this,yl,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const n=y(this,Xs).children;if(!y(this,Mr)){q(this,Mr,Array.from(n));const r=oe(this,Vt,PR).bind(this),i=oe(this,Vt,RR).bind(this),l=this._uiManager._signal;for(const c of y(this,Mr)){const u=c.getAttribute("data-resizer-name");c.setAttribute("role","spinbutton"),c.addEventListener("keydown",r,{signal:l}),c.addEventListener("blur",i,{signal:l}),c.addEventListener("focus",oe(this,Vt,IR).bind(this,u),{signal:l}),c.setAttribute("data-l10n-id",ln._l10nResizer[u])}}const s=y(this,Mr)[0];let a=0;for(const r of n){if(r===s)break;a++}const o=(360-this.rotation+this.parentRotation)%360/90*(y(this,Mr).length/4);if(o!==a){if(oa)for(let i=0;i{var a,o;(a=this.div)!=null&&a.classList.contains("selectedEditor")&&((o=this._editToolbar)==null||o.show())});return}(n=this._editToolbar)==null||n.show(),(s=y(this,Gn))==null||s.toggleAltTextBadge(!1)}unselect(){var t,n,s,a,o;(t=y(this,Xs))==null||t.classList.add("hidden"),(n=this.div)==null||n.classList.remove("selectedEditor"),(s=this.div)!=null&&s.contains(document.activeElement)&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),(a=this._editToolbar)==null||a.hide(),(o=y(this,Gn))==null||o.toggleAltTextBadge(!0)}updateParams(t,n){}disableEditing(){}enableEditing(){}enterInEditMode(){}getImageForAltText(){return null}get contentDiv(){return this.div}get isEditing(){return y(this,nm)}set isEditing(t){q(this,nm,t),this.parent&&(t?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}setAspectRatio(t,n){q(this,rd,!0);const s=t/n,{style:a}=this.div;a.aspectRatio=s,a.height="auto"}static get MIN_SIZE(){return 16}static canCreateNewEmptyEditor(){return!0}get telemetryInitialData(){return{action:"added"}}get telemetryFinalData(){return null}_reportTelemetry(t,n=!1){if(n){y(this,Ko)||q(this,Ko,new Map);const{action:s}=t;let a=y(this,Ko).get(s);a&&clearTimeout(a),a=setTimeout(()=>{this._reportTelemetry(t),y(this,Ko).delete(s),y(this,Ko).size===0&&q(this,Ko,null)},ln._telemetryTimeout),y(this,Ko).set(s,a);return}t.type||(t.type=this.editorType),this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:t}})}show(t=this._isVisible){this.div.classList.toggle("hidden",!t),this._isVisible=t}enable(){this.div&&(this.div.tabIndex=0),q(this,Th,!1)}disable(){this.div&&(this.div.tabIndex=-1),q(this,Th,!0)}renderAnnotationElement(t){let n=t.container.querySelector(".annotationContent");if(!n)n=document.createElement("div"),n.classList.add("annotationContent",this.editorType),t.container.prepend(n);else if(n.nodeName==="CANVAS"){const s=n;n=document.createElement("div"),n.classList.add("annotationContent",this.editorType),s.before(n)}return n}resetAnnotationElement(t){const{firstChild:n}=t.container;(n==null?void 0:n.nodeName)==="DIV"&&n.classList.contains("annotationContent")&&n.remove()}};od=new WeakMap,Mr=new WeakMap,Gn=new WeakMap,Th=new WeakMap,Oc=new WeakMap,em=new WeakMap,rd=new WeakMap,Xs=new WeakMap,id=new WeakMap,yl=new WeakMap,Lc=new WeakMap,tm=new WeakMap,ld=new WeakMap,wo=new WeakMap,nm=new WeakMap,cd=new WeakMap,wl=new WeakMap,wi=new WeakMap,Mh=new WeakMap,Ph=new WeakMap,Ko=new WeakMap,ud=new WeakMap,sm=new WeakMap,yb=new WeakMap,Vt=new WeakSet,Uw=function([t,n],s,a){[s,a]=this.screenToPageTranslation(s,a),this.x+=s/t,this.y+=a/n,this._onTranslating(this.x,this.y),this.fixAndSetPosition()},am=new WeakSet,qw=function(t,n,s){switch(s){case 90:return[n,-t];case 180:return[-t,-n];case 270:return[-n,t];default:return[t,n]}},Hb=function(t){switch(t){case 90:{const[n,s]=this.pageDimensions;return[0,-n/s,s/n,0]}case 180:return[-1,0,0,-1];case 270:{const[n,s]=this.pageDimensions;return[0,n/s,-s/n,0]}default:return[1,0,0,1]}},xR=function(){if(y(this,Xs))return;q(this,Xs,document.createElement("div")),y(this,Xs).classList.add("resizers");const t=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],n=this._uiManager._signal;for(const s of t){const a=document.createElement("div");y(this,Xs).append(a),a.classList.add("resizer",s),a.setAttribute("data-resizer-name",s),a.addEventListener("pointerdown",oe(this,Vt,ER).bind(this,s),{signal:n}),a.addEventListener("contextmenu",xr,{signal:n}),a.tabIndex=-1}this.div.prepend(y(this,Xs))},ER=function(t,n){var u;n.preventDefault();const{isMac:s}=Oa.platform;if(n.button!==0||n.ctrlKey&&s)return;(u=y(this,Gn))==null||u.toggle(!1);const a=this._isDraggable;this._isDraggable=!1,q(this,id,[n.screenX,n.screenY]);const o=new AbortController,r=this._uiManager.combinedSignal(o);this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",oe(this,Vt,Yw).bind(this,t),{passive:!0,capture:!0,signal:r}),window.addEventListener("touchmove",go,{passive:!1,signal:r}),window.addEventListener("contextmenu",xr,{signal:r}),q(this,yl,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const i=this.parent.div.style.cursor,l=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(n.target).cursor;const c=()=>{var d;o.abort(),this.parent.togglePointerEvents(!0),(d=y(this,Gn))==null||d.toggle(!0),this._isDraggable=a,this.parent.div.style.cursor=i,this.div.style.cursor=l,oe(this,Vt,Wb).call(this)};window.addEventListener("pointerup",c,{signal:r}),window.addEventListener("blur",c,{signal:r})},Gw=function(t,n,s,a){this.width=s,this.height=a,this.x=t,this.y=n;const[o,r]=this.parentDimensions;this.setDims(o*s,r*a),this.fixAndSetPosition(),this._onResized()},Wb=function(){if(!y(this,yl))return;const{savedX:t,savedY:n,savedWidth:s,savedHeight:a}=y(this,yl);q(this,yl,null);const o=this.x,r=this.y,i=this.width,l=this.height;o===t&&r===n&&i===s&&l===a||this.addCommands({cmd:oe(this,Vt,Gw).bind(this,o,r,i,l),undo:oe(this,Vt,Gw).bind(this,t,n,s,a),mustExec:!0})},Yw=function(t,n){const[s,a]=this.parentDimensions,o=this.x,r=this.y,i=this.width,l=this.height,c=ln.MIN_SIZE/s,u=ln.MIN_SIZE/a,d=oe(this,Vt,Hb).call(this,this.rotation),h=(Y,N)=>[d[0]*Y+d[2]*N,d[1]*Y+d[3]*N],p=oe(this,Vt,Hb).call(this,360-this.rotation),v=(Y,N)=>[p[0]*Y+p[2]*N,p[1]*Y+p[3]*N];let m,g,b=!1,C=!1;switch(t){case"topLeft":b=!0,m=(Y,N)=>[0,0],g=(Y,N)=>[Y,N];break;case"topMiddle":m=(Y,N)=>[Y/2,0],g=(Y,N)=>[Y/2,N];break;case"topRight":b=!0,m=(Y,N)=>[Y,0],g=(Y,N)=>[0,N];break;case"middleRight":C=!0,m=(Y,N)=>[Y,N/2],g=(Y,N)=>[0,N/2];break;case"bottomRight":b=!0,m=(Y,N)=>[Y,N],g=(Y,N)=>[0,0];break;case"bottomMiddle":m=(Y,N)=>[Y/2,N],g=(Y,N)=>[Y/2,0];break;case"bottomLeft":b=!0,m=(Y,N)=>[0,N],g=(Y,N)=>[Y,0];break;case"middleLeft":C=!0,m=(Y,N)=>[0,N/2],g=(Y,N)=>[Y,N/2];break}const w=m(i,l),_=g(i,l);let x=h(..._);const E=ln._round(o+x[0]),T=ln._round(r+x[1]);let R=1,I=1,M,$;if(n.fromKeyboard)({deltaX:M,deltaY:$}=n);else{const{screenX:Y,screenY:N}=n,[L,V]=y(this,id);[M,$]=this.screenToPageTranslation(Y-L,N-V),y(this,id)[0]=Y,y(this,id)[1]=N}if([M,$]=v(M/s,$/a),b){const Y=Math.hypot(i,l);R=I=Math.max(Math.min(Math.hypot(_[0]-w[0]-M,_[1]-w[1]-$)/Y,1/i,1/l),c/i,u/l)}else C?R=Math.max(c,Math.min(1,Math.abs(_[0]-w[0]-M)))/i:I=Math.max(u,Math.min(1,Math.abs(_[1]-w[1]-$)))/l;const O=ln._round(i*R),B=ln._round(l*I);x=h(...g(O,B));const U=E-x[0],J=T-x[1];y(this,wo)||q(this,wo,[this.x,this.y,this.width,this.height]),this.width=O,this.height=B,this.x=U,this.y=J,this.setDims(s*O,a*B),this.fixAndSetPosition(),this._onResizing()},kR=function(){var t;q(this,yl,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height}),(t=y(this,Gn))==null||t.toggle(!1),this.parent.togglePointerEvents(!1)},AR=function(t,n,s){let o=.7*(s/n)+1-.7;if(o===1)return;const r=oe(this,Vt,Hb).call(this,this.rotation),i=(E,T)=>[r[0]*E+r[2]*T,r[1]*E+r[3]*T],[l,c]=this.parentDimensions,u=this.x,d=this.y,h=this.width,p=this.height,v=ln.MIN_SIZE/l,m=ln.MIN_SIZE/c;o=Math.max(Math.min(o,1/h,1/p),v/h,m/p);const g=ln._round(h*o),b=ln._round(p*o);if(g===h&&b===p)return;y(this,wo)||q(this,wo,[u,d,h,p]);const C=i(h/2,p/2),w=ln._round(u+C[0]),_=ln._round(d+C[1]),x=i(g/2,b/2);this.x=w-x[0],this.y=_-x[1],this.width=g,this.height=b,this.setDims(l*g,c*b),this.fixAndSetPosition(),this._onResizing()},TR=function(){var t;(t=y(this,Gn))==null||t.toggle(!0),this.parent.togglePointerEvents(!0),oe(this,Vt,Wb).call(this)},Xw=function(t){const{isMac:n}=Oa.platform;t.ctrlKey&&!n||t.shiftKey||t.metaKey&&n?this.parent.toggleSelected(this):this.parent.setSelected(this)},MR=function(t){const{isSelected:n}=this;this._uiManager.setUpDragSession();let s=!1;const a=new AbortController,o=this._uiManager.combinedSignal(a),r={capture:!0,passive:!1,signal:o},i=c=>{a.abort(),q(this,Oc,null),q(this,ld,!1),this._uiManager.endDragSession()||oe(this,Vt,Xw).call(this,c),s&&this._onStopDragging()};n&&(q(this,Mh,t.clientX),q(this,Ph,t.clientY),q(this,Oc,t.pointerId),q(this,em,t.pointerType),window.addEventListener("pointermove",c=>{s||(s=!0,this._onStartDragging());const{clientX:u,clientY:d,pointerId:h}=c;if(h!==y(this,Oc)){go(c);return}const[p,v]=this.screenToPageTranslation(u-y(this,Mh),d-y(this,Ph));q(this,Mh,u),q(this,Ph,d),this._uiManager.dragSelectedEditors(p,v)},r),window.addEventListener("touchmove",go,r),window.addEventListener("pointerdown",c=>{c.pointerType===y(this,em)&&(y(this,ud)||c.isPrimary)&&i(c),go(c)},r));const l=c=>{if(!y(this,Oc)||y(this,Oc)===c.pointerId){i(c);return}go(c)};window.addEventListener("pointerup",l,{signal:o}),window.addEventListener("blur",l,{signal:o})},Jw=function(){if(y(this,Lc)||!this.div)return;q(this,Lc,new AbortController);const t=this._uiManager.combinedSignal(y(this,Lc));this.div.addEventListener("focusin",this.focusin.bind(this),{signal:t}),this.div.addEventListener("focusout",this.focusout.bind(this),{signal:t})},PR=function(t){ln._resizerKeyboardManager.exec(this,t)},RR=function(t){var n;y(this,wl)&&((n=t.relatedTarget)==null?void 0:n.parentNode)!==y(this,Xs)&&oe(this,Vt,l2).call(this)},IR=function(t){q(this,tm,y(this,wl)?t:"")},Zw=function(t){if(y(this,Mr))for(const n of y(this,Mr))n.tabIndex=t},l2=function(){q(this,wl,!1),oe(this,Vt,Zw).call(this,-1),oe(this,Vt,Wb).call(this)},se(ln,am),zt(ln,"_l10n",null),zt(ln,"_l10nResizer",null),zt(ln,"_borderLineWidth",-1),zt(ln,"_colorManager",new ow),zt(ln,"_zIndex",1),zt(ln,"_telemetryTimeout",1e3);let ns=ln;class cbe extends ns{constructor(t){super(t),this.annotationElementId=t.annotationElementId,this.deleted=!0}serialize(){return this.serializeDeleted()}}const vP=3285377520,Ho=4294901760,di=65535;class mP{constructor(t){this.h1=t?t&4294967295:vP,this.h2=t?t&4294967295:vP}update(t){let n,s;if(typeof t=="string"){n=new Uint8Array(t.length*2),s=0;for(let m=0,g=t.length;m>>8,n[s++]=b&255)}}else if(ArrayBuffer.isView(t))n=t.slice(),s=n.byteLength;else throw new Error("Invalid data format, must be a string or TypedArray.");const a=s>>2,o=s-a*4,r=new Uint32Array(n.buffer,0,a);let i=0,l=0,c=this.h1,u=this.h2;const d=3432918353,h=461845907,p=d&di,v=h&di;for(let m=0;m>>17,i=i*h&Ho|i*v&di,c^=i,c=c<<13|c>>>19,c=c*5+3864292196):(l=r[m],l=l*d&Ho|l*p&di,l=l<<15|l>>>17,l=l*h&Ho|l*v&di,u^=l,u=u<<13|u>>>19,u=u*5+3864292196);switch(i=0,o){case 3:i^=n[a*4+2]<<16;case 2:i^=n[a*4+1]<<8;case 1:i^=n[a*4],i=i*d&Ho|i*p&di,i=i<<15|i>>>17,i=i*h&Ho|i*v&di,a&1?c^=i:u^=i}this.h1=c,this.h2=u}hexdigest(){let t=this.h1,n=this.h2;return t^=n>>>1,t=t*3981806797&Ho|t*36045&di,n=n*4283543511&Ho|((n<<16|t>>>16)*2950163797&Ho)>>>16,t^=n>>>1,t=t*444984403&Ho|t*60499&di,n=n*3301882366&Ho|((n<<16|t>>>16)*3120437893&Ho)>>>16,t^=n>>>1,(t>>>0).toString(16).padStart(8,"0")+(n>>>0).toString(16).padStart(8,"0")}}const rw=Object.freeze({map:null,hash:"",transfer:void 0});class iw{constructor(){se(this,wb);se(this,dd,!1);se(this,fd,null);se(this,Vs,new Map);this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(t,n){const s=y(this,Vs).get(t);return s===void 0?n:Object.assign(n,s)}getRawValue(t){return y(this,Vs).get(t)}remove(t){if(y(this,Vs).delete(t),y(this,Vs).size===0&&this.resetModified(),typeof this.onAnnotationEditor=="function"){for(const n of y(this,Vs).values())if(n instanceof ns)return;this.onAnnotationEditor(null)}}setValue(t,n){const s=y(this,Vs).get(t);let a=!1;if(s!==void 0)for(const[o,r]of Object.entries(n))s[o]!==r&&(a=!0,s[o]=r);else a=!0,y(this,Vs).set(t,n);a&&oe(this,wb,OR).call(this),n instanceof ns&&typeof this.onAnnotationEditor=="function"&&this.onAnnotationEditor(n.constructor._type)}has(t){return y(this,Vs).has(t)}getAll(){return y(this,Vs).size>0?G8(y(this,Vs)):null}setAll(t){for(const[n,s]of Object.entries(t))this.setValue(n,s)}get size(){return y(this,Vs).size}resetModified(){y(this,dd)&&(q(this,dd,!1),typeof this.onResetModified=="function"&&this.onResetModified())}get print(){return new gP(this)}get serializable(){if(y(this,Vs).size===0)return rw;const t=new Map,n=new mP,s=[],a=Object.create(null);let o=!1;for(const[r,i]of y(this,Vs)){const l=i instanceof ns?i.serialize(!1,a):i;l&&(t.set(r,l),n.update(`${r}:${JSON.stringify(l)}`),o||(o=!!l.bitmap))}if(o)for(const r of t.values())r.bitmap&&s.push(r.bitmap);return t.size>0?{map:t,hash:n.hexdigest(),transfer:s}:rw}get editorStats(){let t=null;const n=new Map;for(const s of y(this,Vs).values()){if(!(s instanceof ns))continue;const a=s.telemetryFinalData;if(!a)continue;const{type:o}=a;n.has(o)||n.set(o,Object.getPrototypeOf(s).constructor),t||(t=Object.create(null));const r=t[o]||(t[o]=new Map);for(const[i,l]of Object.entries(a)){if(i==="type")continue;let c=r.get(i);c||(c=new Map,r.set(i,c));const u=c.get(l)??0;c.set(l,u+1)}}for(const[s,a]of n)t[s]=a.computeTelemetryFinalData(t[s]);return t}resetModifiedIds(){q(this,fd,null)}get modifiedIds(){if(y(this,fd))return y(this,fd);const t=[];for(const n of y(this,Vs).values())!(n instanceof ns)||!n.annotationElementId||!n.serialize()||t.push(n.annotationElementId);return q(this,fd,{ids:new Set(t),hash:t.join(",")})}}dd=new WeakMap,fd=new WeakMap,Vs=new WeakMap,wb=new WeakSet,OR=function(){y(this,dd)||(q(this,dd,!0),typeof this.onSetModified=="function"&&this.onSetModified())};class gP extends iw{constructor(n){super();se(this,om);const{map:s,hash:a,transfer:o}=n.serializable,r=structuredClone(s,o?{transfer:o}:null);q(this,om,{map:r,hash:a,transfer:o})}get print(){Bn("Should not call PrintAnnotationStorage.print")}get serializable(){return y(this,om)}get modifiedIds(){return dn(this,"modifiedIds",{ids:new Set,hash:""})}}om=new WeakMap;class ube{constructor({ownerDocument:t=globalThis.document,styleElement:n=null}){se(this,Rh,new Set);this._document=t,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(t){this.nativeFontFaces.add(t),this._document.fonts.add(t)}removeNativeFontFace(t){this.nativeFontFaces.delete(t),this._document.fonts.delete(t)}insertRule(t){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));const n=this.styleElement.sheet;n.insertRule(t,n.cssRules.length)}clear(){for(const t of this.nativeFontFaces)this._document.fonts.delete(t);this.nativeFontFaces.clear(),y(this,Rh).clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async loadSystemFont({systemFontInfo:t,_inspectFont:n}){if(!(!t||y(this,Rh).has(t.loadedName))){if(bs(!this.disableFontFace,"loadSystemFont shouldn't be called when `disableFontFace` is set."),this.isFontLoadingAPISupported){const{loadedName:s,src:a,style:o}=t,r=new FontFace(s,a,o);this.addNativeFontFace(r);try{await r.load(),y(this,Rh).add(s),n==null||n(t)}catch{rn(`Cannot load system font: ${t.baseFontName}, installing it could help to improve PDF rendering.`),this.removeNativeFontFace(r)}return}Bn("Not implemented: loadSystemFont without the Font Loading API.")}}async bind(t){if(t.attached||t.missingFile&&!t.systemFontInfo)return;if(t.attached=!0,t.systemFontInfo){await this.loadSystemFont(t);return}if(this.isFontLoadingAPISupported){const s=t.createNativeFontFace();if(s){this.addNativeFontFace(s);try{await s.loaded}catch(a){throw rn(`Failed to load font '${s.family}': '${a}'.`),t.disableFontFace=!0,a}}return}const n=t.createFontFaceRule();if(n){if(this.insertRule(n),this.isSyncFontLoadingSupported)return;await new Promise(s=>{const a=this._queueLoadingCallback(s);this._prepareFontLoadEvent(t,a)})}}get isFontLoadingAPISupported(){var n;const t=!!((n=this._document)!=null&&n.fonts);return dn(this,"isFontLoadingAPISupported",t)}get isSyncFontLoadingSupported(){let t=!1;return(pa||typeof navigator<"u"&&typeof(navigator==null?void 0:navigator.userAgent)=="string"&&/Mozilla\/5.0.*?rv:\d+.*? Gecko/.test(navigator.userAgent))&&(t=!0),dn(this,"isSyncFontLoadingSupported",t)}_queueLoadingCallback(t){function n(){for(bs(!a.done,"completeRequest() cannot be called twice."),a.done=!0;s.length>0&&s[0].done;){const o=s.shift();setTimeout(o.callback,0)}}const{loadingRequests:s}=this,a={done:!1,complete:n,callback:t};return s.push(a),a}get _loadTestFont(){const t=atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==");return dn(this,"_loadTestFont",t)}_prepareFontLoadEvent(t,n){function s(_,x){return _.charCodeAt(x)<<24|_.charCodeAt(x+1)<<16|_.charCodeAt(x+2)<<8|_.charCodeAt(x+3)&255}function a(_,x,E,T){const R=_.substring(0,x),I=_.substring(x+E);return R+T+I}let o,r;const i=this._document.createElement("canvas");i.width=1,i.height=1;const l=i.getContext("2d");let c=0;function u(_,x){if(++c>30){rn("Load test font never loaded."),x();return}if(l.font="30px "+_,l.fillText(".",0,20),l.getImageData(0,0,1,1).data[3]>0){x();return}setTimeout(u.bind(null,_,x))}const d=`lt${Date.now()}${this.loadTestFontId++}`;let h=this._loadTestFont;h=a(h,976,d.length,d);const v=16,m=1482184792;let g=s(h,v);for(o=0,r=d.length-3;o{w.remove(),n.complete()})}}Rh=new WeakMap;class dbe{constructor(t,{disableFontFace:n=!1,fontExtraProperties:s=!1,inspectFont:a=null}){this.compiledGlyphs=Object.create(null);for(const o in t)this[o]=t[o];this.disableFontFace=n===!0,this.fontExtraProperties=s===!0,this._inspectFont=a}createNativeFontFace(){var n;if(!this.data||this.disableFontFace)return null;let t;if(!this.cssFontInfo)t=new FontFace(this.loadedName,this.data,{});else{const s={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(s.style=`oblique ${this.cssFontInfo.italicAngle}deg`),t=new FontFace(this.cssFontInfo.fontFamily,this.data,s)}return(n=this._inspectFont)==null||n.call(this,this),t}createFontFaceRule(){var s;if(!this.data||this.disableFontFace)return null;const t=`url(data:${this.mimetype};base64,${tbe(this.data)});`;let n;if(!this.cssFontInfo)n=`@font-face {font-family:"${this.loadedName}";src:${t}}`;else{let a=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(a+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),n=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${a}src:${t}}`}return(s=this._inspectFont)==null||s.call(this,this,t),n}getPathGenerator(t,n){if(this.compiledGlyphs[n]!==void 0)return this.compiledGlyphs[n];const s=this.loadedName+"_path_"+n;let a;try{a=t.get(s)}catch(r){rn(`getPathGenerator - ignoring character: "${r}".`)}const o=new Path2D(a||"");return this.fontExtraProperties||t.delete(s),this.compiledGlyphs[n]=o}}const sb={DATA:1,ERROR:2},ys={CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function bP(){}function Za(e){if(e instanceof yc||e instanceof q8||e instanceof Cv||e instanceof dP||e instanceof X1||e instanceof U8)return e;switch(e instanceof Error||typeof e=="object"&&e!==null||Bn('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new yc(e.message);case"InvalidPDFException":return new q8(e.message);case"MissingPDFException":return new Cv(e.message);case"PasswordException":return new dP(e.message,e.code);case"UnexpectedResponseException":return new X1(e.message,e.status);case"UnknownErrorException":return new U8(e.message,e.details)}return new U8(e.message,e.toString())}class kv{constructor(t,n,s){se(this,Uo);se(this,Ih,new AbortController);this.sourceName=t,this.targetName=n,this.comObj=s,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),s.addEventListener("message",oe(this,Uo,LR).bind(this),{signal:y(this,Ih).signal})}on(t,n){const s=this.actionHandler;if(s[t])throw new Error(`There is already an actionName called "${t}"`);s[t]=n}send(t,n,s){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,data:n},s)}sendWithPromise(t,n,s){const a=this.callbackId++,o=Promise.withResolvers();this.callbackCapabilities[a]=o;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,callbackId:a,data:n},s)}catch(r){o.reject(r)}return o.promise}sendWithStream(t,n,s,a){const o=this.streamId++,r=this.sourceName,i=this.targetName,l=this.comObj;return new ReadableStream({start:c=>{const u=Promise.withResolvers();return this.streamControllers[o]={controller:c,startCall:u,pullCall:null,cancelCall:null,isClosed:!1},l.postMessage({sourceName:r,targetName:i,action:t,streamId:o,data:n,desiredSize:c.desiredSize},a),u.promise},pull:c=>{const u=Promise.withResolvers();return this.streamControllers[o].pullCall=u,l.postMessage({sourceName:r,targetName:i,stream:ys.PULL,streamId:o,desiredSize:c.desiredSize}),u.promise},cancel:c=>{bs(c instanceof Error,"cancel must have a valid reason");const u=Promise.withResolvers();return this.streamControllers[o].cancelCall=u,this.streamControllers[o].isClosed=!0,l.postMessage({sourceName:r,targetName:i,stream:ys.CANCEL,streamId:o,reason:Za(c)}),u.promise}},s)}destroy(){var t;(t=y(this,Ih))==null||t.abort(),q(this,Ih,null)}}Ih=new WeakMap,Uo=new WeakSet,LR=function({data:t}){if(t.targetName!==this.sourceName)return;if(t.stream){oe(this,Uo,$R).call(this,t);return}if(t.callback){const s=t.callbackId,a=this.callbackCapabilities[s];if(!a)throw new Error(`Cannot resolve callback ${s}`);if(delete this.callbackCapabilities[s],t.callback===sb.DATA)a.resolve(t.data);else if(t.callback===sb.ERROR)a.reject(Za(t.reason));else throw new Error("Unexpected callback case");return}const n=this.actionHandler[t.action];if(!n)throw new Error(`Unknown action from worker: ${t.action}`);if(t.callbackId){const s=this.sourceName,a=t.sourceName,o=this.comObj;Promise.try(n,t.data).then(function(r){o.postMessage({sourceName:s,targetName:a,callback:sb.DATA,callbackId:t.callbackId,data:r})},function(r){o.postMessage({sourceName:s,targetName:a,callback:sb.ERROR,callbackId:t.callbackId,reason:Za(r)})});return}if(t.streamId){oe(this,Uo,NR).call(this,t);return}n(t.data)},NR=function(t){const n=t.streamId,s=this.sourceName,a=t.sourceName,o=this.comObj,r=this,i=this.actionHandler[t.action],l={enqueue(c,u=1,d){if(this.isCancelled)return;const h=this.desiredSize;this.desiredSize-=u,h>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),o.postMessage({sourceName:s,targetName:a,stream:ys.ENQUEUE,streamId:n,chunk:c},d)},close(){this.isCancelled||(this.isCancelled=!0,o.postMessage({sourceName:s,targetName:a,stream:ys.CLOSE,streamId:n}),delete r.streamSinks[n])},error(c){bs(c instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,o.postMessage({sourceName:s,targetName:a,stream:ys.ERROR,streamId:n,reason:Za(c)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:t.desiredSize,ready:null};l.sinkCapability.resolve(),l.ready=l.sinkCapability.promise,this.streamSinks[n]=l,Promise.try(i,t.data,l).then(function(){o.postMessage({sourceName:s,targetName:a,stream:ys.START_COMPLETE,streamId:n,success:!0})},function(c){o.postMessage({sourceName:s,targetName:a,stream:ys.START_COMPLETE,streamId:n,reason:Za(c)})})},$R=function(t){const n=t.streamId,s=this.sourceName,a=t.sourceName,o=this.comObj,r=this.streamControllers[n],i=this.streamSinks[n];switch(t.stream){case ys.START_COMPLETE:t.success?r.startCall.resolve():r.startCall.reject(Za(t.reason));break;case ys.PULL_COMPLETE:t.success?r.pullCall.resolve():r.pullCall.reject(Za(t.reason));break;case ys.PULL:if(!i){o.postMessage({sourceName:s,targetName:a,stream:ys.PULL_COMPLETE,streamId:n,success:!0});break}i.desiredSize<=0&&t.desiredSize>0&&i.sinkCapability.resolve(),i.desiredSize=t.desiredSize,Promise.try(i.onPull||bP).then(function(){o.postMessage({sourceName:s,targetName:a,stream:ys.PULL_COMPLETE,streamId:n,success:!0})},function(c){o.postMessage({sourceName:s,targetName:a,stream:ys.PULL_COMPLETE,streamId:n,reason:Za(c)})});break;case ys.ENQUEUE:if(bs(r,"enqueue should have stream controller"),r.isClosed)break;r.controller.enqueue(t.chunk);break;case ys.CLOSE:if(bs(r,"close should have stream controller"),r.isClosed)break;r.isClosed=!0,r.controller.close(),oe(this,Uo,jb).call(this,r,n);break;case ys.ERROR:bs(r,"error should have stream controller"),r.controller.error(Za(t.reason)),oe(this,Uo,jb).call(this,r,n);break;case ys.CANCEL_COMPLETE:t.success?r.cancelCall.resolve():r.cancelCall.reject(Za(t.reason)),oe(this,Uo,jb).call(this,r,n);break;case ys.CANCEL:if(!i)break;const l=Za(t.reason);Promise.try(i.onCancel||bP,l).then(function(){o.postMessage({sourceName:s,targetName:a,stream:ys.CANCEL_COMPLETE,streamId:n,success:!0})},function(c){o.postMessage({sourceName:s,targetName:a,stream:ys.CANCEL_COMPLETE,streamId:n,reason:Za(c)})}),i.sinkCapability.reject(l),i.isCancelled=!0,delete this.streamSinks[n];break;default:throw new Error("Unexpected stream case")}},jb=async function(t,n){var s,a,o;await Promise.allSettled([(s=t.startCall)==null?void 0:s.promise,(a=t.pullCall)==null?void 0:a.promise,(o=t.cancelCall)==null?void 0:o.promise]),delete this.streamControllers[n]};class yP{constructor({enableHWA:t=!1}){se(this,rm,!1);q(this,rm,t)}create(t,n){if(t<=0||n<=0)throw new Error("Invalid canvas size");const s=this._createCanvas(t,n);return{canvas:s,context:s.getContext("2d",{willReadFrequently:!y(this,rm)})}}reset(t,n,s){if(!t.canvas)throw new Error("Canvas is not specified");if(n<=0||s<=0)throw new Error("Invalid canvas size");t.canvas.width=n,t.canvas.height=s}destroy(t){if(!t.canvas)throw new Error("Canvas is not specified");t.canvas.width=0,t.canvas.height=0,t.canvas=null,t.context=null}_createCanvas(t,n){Bn("Abstract method `_createCanvas` called.")}}rm=new WeakMap;class fbe extends yP{constructor({ownerDocument:t=globalThis.document,enableHWA:n=!1}){super({enableHWA:n}),this._document=t}_createCanvas(t,n){const s=this._document.createElement("canvas");return s.width=t,s.height=n,s}}class wP{constructor({baseUrl:t=null,isCompressed:n=!0}){this.baseUrl=t,this.isCompressed=n}async fetch({name:t}){if(!this.baseUrl)throw new Error("Ensure that the `cMapUrl` and `cMapPacked` API parameters are provided.");if(!t)throw new Error("CMap name must be specified.");const n=this.baseUrl+t+(this.isCompressed?".bcmap":"");return this._fetch(n).then(s=>({cMapData:s,isCompressed:this.isCompressed})).catch(s=>{throw new Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${n}`)})}async _fetch(t){Bn("Abstract method `_fetch` called.")}}class _P extends wP{async _fetch(t){const n=await Z1(t,this.isCompressed?"arraybuffer":"text");return n instanceof ArrayBuffer?new Uint8Array(n):J1(n)}}class CP{addFilter(t){return"none"}addHCMFilter(t,n){return"none"}addAlphaFilter(t){return"none"}addLuminosityFilter(t){return"none"}addHighlightHCMFilter(t,n,s,a,o){return"none"}destroy(t=!1){}}class hbe extends CP{constructor({docId:n,ownerDocument:s=globalThis.document}){super();se(this,xt);se(this,hd);se(this,Oh);se(this,_l);se(this,Cl);se(this,ba);se(this,pd);se(this,vd,0);q(this,Cl,n),q(this,ba,s)}addFilter(n){if(!n)return"none";let s=y(this,xt,Sa).get(n);if(s)return s;const[a,o,r]=oe(this,xt,Kb).call(this,n),i=n.length===1?a:`${a}${o}${r}`;if(s=y(this,xt,Sa).get(i),s)return y(this,xt,Sa).set(n,s),s;const l=`g_${y(this,Cl)}_transfer_map_${za(this,vd)._++}`,c=oe(this,xt,E0).call(this,l);y(this,xt,Sa).set(n,c),y(this,xt,Sa).set(i,c);const u=oe(this,xt,k0).call(this,l);return oe(this,xt,d2).call(this,a,o,r,u),c}addHCMFilter(n,s){var v;const a=`${n}-${s}`,o="base";let r=y(this,xt,c2).get(o);if((r==null?void 0:r.key)===a||(r?((v=r.filter)==null||v.remove(),r.key=a,r.url="none",r.filter=null):(r={key:a,url:"none",filter:null},y(this,xt,c2).set(o,r)),!n||!s))return r.url;const i=oe(this,xt,f2).call(this,n);n=Nt.makeHexColor(...i);const l=oe(this,xt,f2).call(this,s);if(s=Nt.makeHexColor(...l),y(this,xt,x0).style.color="",n==="#000000"&&s==="#ffffff"||n===s)return r.url;const c=new Array(256);for(let m=0;m<=255;m++){const g=m/255;c[m]=g<=.03928?g/12.92:((g+.055)/1.055)**2.4}const u=c.join(","),d=`g_${y(this,Cl)}_hcm_filter`,h=r.filter=oe(this,xt,k0).call(this,d);oe(this,xt,d2).call(this,u,u,u,h),oe(this,xt,Qw).call(this,h);const p=(m,g)=>{const b=i[m]/255,C=l[m]/255,w=new Array(g+1);for(let _=0;_<=g;_++)w[_]=b+_/g*(C-b);return w.join(",")};return oe(this,xt,d2).call(this,p(0,5),p(1,5),p(2,5),h),r.url=oe(this,xt,E0).call(this,d),r.url}addAlphaFilter(n){let s=y(this,xt,Sa).get(n);if(s)return s;const[a]=oe(this,xt,Kb).call(this,[n]),o=`alpha_${a}`;if(s=y(this,xt,Sa).get(o),s)return y(this,xt,Sa).set(n,s),s;const r=`g_${y(this,Cl)}_alpha_map_${za(this,vd)._++}`,i=oe(this,xt,E0).call(this,r);y(this,xt,Sa).set(n,i),y(this,xt,Sa).set(o,i);const l=oe(this,xt,k0).call(this,r);return oe(this,xt,e_).call(this,a,l),i}addLuminosityFilter(n){let s=y(this,xt,Sa).get(n||"luminosity");if(s)return s;let a,o;if(n?([a]=oe(this,xt,Kb).call(this,[n]),o=`luminosity_${a}`):o="luminosity",s=y(this,xt,Sa).get(o),s)return y(this,xt,Sa).set(n,s),s;const r=`g_${y(this,Cl)}_luminosity_map_${za(this,vd)._++}`,i=oe(this,xt,E0).call(this,r);y(this,xt,Sa).set(n,i),y(this,xt,Sa).set(o,i);const l=oe(this,xt,k0).call(this,r);return oe(this,xt,DR).call(this,l),n&&oe(this,xt,e_).call(this,a,l),i}addHighlightHCMFilter(n,s,a,o,r){var C;const i=`${s}-${a}-${o}-${r}`;let l=y(this,xt,c2).get(n);if((l==null?void 0:l.key)===i||(l?((C=l.filter)==null||C.remove(),l.key=i,l.url="none",l.filter=null):(l={key:i,url:"none",filter:null},y(this,xt,c2).set(n,l)),!s||!a))return l.url;const[c,u]=[s,a].map(oe(this,xt,f2).bind(this));let d=Math.round(.2126*c[0]+.7152*c[1]+.0722*c[2]),h=Math.round(.2126*u[0]+.7152*u[1]+.0722*u[2]),[p,v]=[o,r].map(oe(this,xt,f2).bind(this));h{const E=new Array(256),T=(h-d)/x,R=w/255,I=(_-w)/(255*x);let M=0;for(let $=0;$<=x;$++){const O=Math.round(d+$*T),B=R+$*I;for(let U=M;U<=O;U++)E[U]=B;M=O+1}for(let $=M;$<256;$++)E[$]=E[M-1];return E.join(",")},g=`g_${y(this,Cl)}_hcm_${n}_filter`,b=l.filter=oe(this,xt,k0).call(this,g);return oe(this,xt,Qw).call(this,b),oe(this,xt,d2).call(this,m(p[0],v[0],5),m(p[1],v[1],5),m(p[2],v[2],5),b),l.url=oe(this,xt,E0).call(this,g),l.url}destroy(n=!1){var s,a,o,r;n&&((s=y(this,pd))!=null&&s.size)||((a=y(this,_l))==null||a.parentNode.parentNode.remove(),q(this,_l,null),(o=y(this,Oh))==null||o.clear(),q(this,Oh,null),(r=y(this,pd))==null||r.clear(),q(this,pd,null),q(this,vd,0))}}hd=new WeakMap,Oh=new WeakMap,_l=new WeakMap,Cl=new WeakMap,ba=new WeakMap,pd=new WeakMap,vd=new WeakMap,xt=new WeakSet,Sa=function(){return y(this,Oh)||q(this,Oh,new Map)},c2=function(){return y(this,pd)||q(this,pd,new Map)},x0=function(){if(!y(this,_l)){const n=y(this,ba).createElement("div"),{style:s}=n;s.visibility="hidden",s.contain="strict",s.width=s.height=0,s.position="absolute",s.top=s.left=0,s.zIndex=-1;const a=y(this,ba).createElementNS(cl,"svg");a.setAttribute("width",0),a.setAttribute("height",0),q(this,_l,y(this,ba).createElementNS(cl,"defs")),n.append(a),a.append(y(this,_l)),y(this,ba).body.append(n)}return y(this,_l)},Kb=function(n){if(n.length===1){const c=n[0],u=new Array(256);for(let h=0;h<256;h++)u[h]=c[h]/255;const d=u.join(",");return[d,d,d]}const[s,a,o]=n,r=new Array(256),i=new Array(256),l=new Array(256);for(let c=0;c<256;c++)r[c]=s[c]/255,i[c]=a[c]/255,l[c]=o[c]/255;return[r.join(","),i.join(","),l.join(",")]},E0=function(n){if(y(this,hd)===void 0){q(this,hd,"");const s=y(this,ba).URL;s!==y(this,ba).baseURI&&(Q1(s)?rn('#createUrl: ignore "data:"-URL for performance reasons.'):q(this,hd,s.split("#",1)[0]))}return`url(${y(this,hd)}#${n})`},DR=function(n){const s=y(this,ba).createElementNS(cl,"feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0.59 0.11 0 0"),n.append(s)},Qw=function(n){const s=y(this,ba).createElementNS(cl,"feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("values","0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"),n.append(s)},k0=function(n){const s=y(this,ba).createElementNS(cl,"filter");return s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("id",n),y(this,xt,x0).append(s),s},u2=function(n,s,a){const o=y(this,ba).createElementNS(cl,s);o.setAttribute("type","discrete"),o.setAttribute("tableValues",a),n.append(o)},d2=function(n,s,a,o){const r=y(this,ba).createElementNS(cl,"feComponentTransfer");o.append(r),oe(this,xt,u2).call(this,r,"feFuncR",n),oe(this,xt,u2).call(this,r,"feFuncG",s),oe(this,xt,u2).call(this,r,"feFuncB",a)},e_=function(n,s){const a=y(this,ba).createElementNS(cl,"feComponentTransfer");s.append(a),oe(this,xt,u2).call(this,a,"feFuncA",n)},f2=function(n){return y(this,xt,x0).style.color=n,tw(getComputedStyle(y(this,xt,x0)).getPropertyValue("color"))};class SP{constructor({baseUrl:t=null}){this.baseUrl=t}async fetch({filename:t}){if(!this.baseUrl)throw new Error("Ensure that the `standardFontDataUrl` API parameter is provided.");if(!t)throw new Error("Font filename must be specified.");const n=`${this.baseUrl}${t}`;return this._fetch(n).catch(s=>{throw new Error(`Unable to load font data at: ${n}`)})}async _fetch(t){Bn("Abstract method `_fetch` called.")}}class xP extends SP{async _fetch(t){const n=await Z1(t,"arraybuffer");return new Uint8Array(n)}}pa&&rn("Please use the `legacy` build in Node.js environments.");async function EP(e){const n=await process.getBuiltinModule("fs").promises.readFile(e);return new Uint8Array(n)}class pbe extends CP{}class vbe extends yP{_createCanvas(t,n){return process.getBuiltinModule("module").createRequire(kn&&kn.tagName.toUpperCase()==="SCRIPT"&&kn.src||new URL("ocrz-app.js",document.baseURI).href)("@napi-rs/canvas").createCanvas(t,n)}}class mbe extends wP{async _fetch(t){return EP(t)}}class gbe extends SP{async _fetch(t){return EP(t)}}const ma={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function lw(e,t){if(!t)return;const n=t[2]-t[0],s=t[3]-t[1],a=new Path2D;a.rect(t[0],t[1],n,s),e.clip(a)}class cw{getPattern(){Bn("Abstract method `getPattern` called.")}}class bbe extends cw{constructor(t){super(),this._type=t[1],this._bbox=t[2],this._colorStops=t[3],this._p0=t[4],this._p1=t[5],this._r0=t[6],this._r1=t[7],this.matrix=null}_createGradient(t){let n;this._type==="axial"?n=t.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):this._type==="radial"&&(n=t.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const s of this._colorStops)n.addColorStop(s[0],s[1]);return n}getPattern(t,n,s,a){let o;if(a===ma.STROKE||a===ma.FILL){const r=n.current.getClippedPathBoundingBox(a,Jn(t))||[0,0,0,0],i=Math.ceil(r[2]-r[0])||1,l=Math.ceil(r[3]-r[1])||1,c=n.cachedCanvases.getCanvas("pattern",i,l),u=c.context;u.clearRect(0,0,u.canvas.width,u.canvas.height),u.beginPath(),u.rect(0,0,u.canvas.width,u.canvas.height),u.translate(-r[0],-r[1]),s=Nt.transform(s,[1,0,0,1,r[0],r[1]]),u.transform(...n.baseTransform),this.matrix&&u.transform(...this.matrix),lw(u,this._bbox),u.fillStyle=this._createGradient(u),u.fill(),o=t.createPattern(c.canvas,"no-repeat");const d=new DOMMatrix(s);o.setTransform(d)}else lw(t,this._bbox),o=this._createGradient(t);return o}}function uw(e,t,n,s,a,o,r,i){const l=t.coords,c=t.colors,u=e.data,d=e.width*4;let h;l[n+1]>l[s+1]&&(h=n,n=s,s=h,h=o,o=r,r=h),l[s+1]>l[a+1]&&(h=s,s=a,a=h,h=r,r=i,i=h),l[n+1]>l[s+1]&&(h=n,n=s,s=h,h=o,o=r,r=h);const p=(l[n]+t.offsetX)*t.scaleX,v=(l[n+1]+t.offsetY)*t.scaleY,m=(l[s]+t.offsetX)*t.scaleX,g=(l[s+1]+t.offsetY)*t.scaleY,b=(l[a]+t.offsetX)*t.scaleX,C=(l[a+1]+t.offsetY)*t.scaleY;if(v>=C)return;const w=c[o],_=c[o+1],x=c[o+2],E=c[r],T=c[r+1],R=c[r+2],I=c[i],M=c[i+1],$=c[i+2],O=Math.round(v),B=Math.round(C);let U,J,Y,N,L,V,z,G;for(let Q=O;Q<=B;Q++){if(QC?ne=1:g===C?ne=0:ne=(g-Q)/(g-C),U=m-(m-b)*ne,J=E-(E-I)*ne,Y=T-(T-M)*ne,N=R-(R-$)*ne}let K;QC?K=1:K=(v-Q)/(v-C),L=p-(p-b)*K,V=w-(w-I)*K,z=_-(_-M)*K,G=x-(x-$)*K;const ee=Math.round(Math.min(U,L)),ae=Math.round(Math.max(U,L));let fe=d*Q+ee*4;for(let ne=ee;ne<=ae;ne++)K=(U-ne)/(U-L),K<0?K=0:K>1&&(K=1),u[fe++]=J-(J-V)*K|0,u[fe++]=Y-(Y-z)*K|0,u[fe++]=N-(N-G)*K|0,u[fe++]=255}}function ybe(e,t,n){const s=t.coords,a=t.colors;let o,r;switch(t.type){case"lattice":const i=t.verticesPerRow,l=Math.floor(s.length/i)-1,c=i-1;for(o=0;o=M?_=l:E=!0,I>=$?x=c:T=!0;const O=this.getSizeAndScale(_,this.ctx.canvas.width,C),B=this.getSizeAndScale(x,this.ctx.canvas.height,w),U=t.cachedCanvases.getCanvas("pattern",O.size,B.size),J=U.context,Y=i.createCanvasGraphics(J);if(Y.groupLevel=t.groupLevel,this.setFillAndStrokeStyleToContext(Y,a,r),J.translate(-O.scale*u,-B.scale*d),Y.transform(O.scale,0,0,B.scale,0,0),J.save(),this.clipBbox(Y,u,d,h,p),Y.baseTransform=Jn(Y.ctx),Y.executeOperatorList(s),Y.endDrawing(),J.restore(),E||T){const N=U.canvas;E&&(_=l),T&&(x=c);const L=this.getSizeAndScale(_,this.ctx.canvas.width,C),V=this.getSizeAndScale(x,this.ctx.canvas.height,w),z=L.size,G=V.size,Q=t.cachedCanvases.getCanvas("pattern-workaround",z,G),K=Q.context,ee=E?Math.floor(v/l):0,ae=T?Math.floor(m/c):0;for(let fe=0;fe<=ee;fe++)for(let ne=0;ne<=ae;ne++)K.drawImage(N,z*fe,G*ne,z,G,0,0,z,G);return{canvas:Q.canvas,scaleX:L.scale,scaleY:V.scale,offsetX:u,offsetY:d}}return{canvas:U.canvas,scaleX:O.scale,scaleY:B.scale,offsetX:u,offsetY:d}}getSizeAndScale(t,n,s){const a=Math.max(_b.MAX_PATTERN_SIZE,n);let o=Math.ceil(t*s);return o>=a?o=a:s=o/t,{scale:s,size:o}}clipBbox(t,n,s,a,o){const r=a-n,i=o-s;t.ctx.rect(n,s,r,i),t.current.updateRectMinMax(Jn(t.ctx),[n,s,a,o]),t.clip(),t.endPath()}setFillAndStrokeStyleToContext(t,n,s){const a=t.ctx,o=t.current;switch(n){case kP.COLORED:const r=this.ctx;a.fillStyle=r.fillStyle,a.strokeStyle=r.strokeStyle,o.fillColor=r.fillStyle,o.strokeColor=r.strokeStyle;break;case kP.UNCOLORED:const i=Nt.makeHexColor(s[0],s[1],s[2]);a.fillStyle=i,a.strokeStyle=i,o.fillColor=i,o.strokeColor=i;break;default:throw new G1e(`Unsupported paint type: ${n}`)}}getPattern(t,n,s,a){let o=s;a!==ma.SHADING&&(o=Nt.transform(o,n.baseTransform),this.matrix&&(o=Nt.transform(o,this.matrix)));const r=this.createPatternCanvas(n);let i=new DOMMatrix(o);i=i.translate(r.offsetX,r.offsetY),i=i.scale(1/r.scaleX,1/r.scaleY);const l=t.createPattern(r.canvas,"repeat");return l.setTransform(i),l}};zt(_b,"MAX_PATTERN_SIZE",3e3);let dw=_b;function Sbe({src:e,srcPos:t=0,dest:n,width:s,height:a,nonBlackColor:o=4294967295,inverseDecode:r=!1}){const i=Oa.isLittleEndian?4278190080:255,[l,c]=r?[o,i]:[i,o],u=s>>3,d=s&7,h=e.length;n=new Uint32Array(n.buffer);let p=0;for(let v=0;v{e.save=e.__originalSave,e.restore=e.__originalRestore,e.rotate=e.__originalRotate,e.scale=e.__originalScale,e.translate=e.__originalTranslate,e.transform=e.__originalTransform,e.setTransform=e.__originalSetTransform,e.resetTransform=e.__originalResetTransform,e.clip=e.__originalClip,e.moveTo=e.__originalMoveTo,e.lineTo=e.__originalLineTo,e.bezierCurveTo=e.__originalBezierCurveTo,e.rect=e.__originalRect,e.closePath=e.__originalClosePath,e.beginPath=e.__originalBeginPath,delete e._removeMirroring},e.save=function(){t.save(),this.__originalSave()},e.restore=function(){t.restore(),this.__originalRestore()},e.translate=function(s,a){t.translate(s,a),this.__originalTranslate(s,a)},e.scale=function(s,a){t.scale(s,a),this.__originalScale(s,a)},e.transform=function(s,a,o,r,i,l){t.transform(s,a,o,r,i,l),this.__originalTransform(s,a,o,r,i,l)},e.setTransform=function(s,a,o,r,i,l){t.setTransform(s,a,o,r,i,l),this.__originalSetTransform(s,a,o,r,i,l)},e.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},e.rotate=function(s){t.rotate(s),this.__originalRotate(s)},e.clip=function(s){t.clip(s),this.__originalClip(s)},e.moveTo=function(n,s){t.moveTo(n,s),this.__originalMoveTo(n,s)},e.lineTo=function(n,s){t.lineTo(n,s),this.__originalLineTo(n,s)},e.bezierCurveTo=function(n,s,a,o,r,i){t.bezierCurveTo(n,s,a,o,r,i),this.__originalBezierCurveTo(n,s,a,o,r,i)},e.rect=function(n,s,a,o){t.rect(n,s,a,o),this.__originalRect(n,s,a,o)},e.closePath=function(){t.closePath(),this.__originalClosePath()},e.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}class kbe{constructor(t){this.canvasFactory=t,this.cache=Object.create(null)}getCanvas(t,n,s){let a;return this.cache[t]!==void 0?(a=this.cache[t],this.canvasFactory.reset(a,n,s)):(a=this.canvasFactory.create(n,s),this.cache[t]=a),a}delete(t){delete this.cache[t]}clear(){for(const t in this.cache){const n=this.cache[t];this.canvasFactory.destroy(n),delete this.cache[t]}}}function ab(e,t,n,s,a,o,r,i,l,c){const[u,d,h,p,v,m]=Jn(e);if(d===0&&h===0){const C=r*u+v,w=Math.round(C),_=i*p+m,x=Math.round(_),E=(r+l)*u+v,T=Math.abs(Math.round(E)-w)||1,R=(i+c)*p+m,I=Math.abs(Math.round(R)-x)||1;return e.setTransform(Math.sign(u),0,0,Math.sign(p),w,x),e.drawImage(t,n,s,a,o,0,0,T,I),e.setTransform(u,d,h,p,v,m),[T,I]}if(u===0&&p===0){const C=i*h+v,w=Math.round(C),_=r*d+m,x=Math.round(_),E=(i+c)*h+v,T=Math.abs(Math.round(E)-w)||1,R=(r+l)*d+m,I=Math.abs(Math.round(R)-x)||1;return e.setTransform(0,Math.sign(d),Math.sign(h),0,w,x),e.drawImage(t,n,s,a,o,0,0,I,T),e.setTransform(u,d,h,p,v,m),[I,T]}e.drawImage(t,n,s,a,o,r,i,l,c);const g=Math.hypot(u,d),b=Math.hypot(h,p);return[g*l,b*c]}function Abe(e){const{width:t,height:n}=e;if(t>PP||n>PP)return null;const s=1e3,a=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),o=t+1;let r=new Uint8Array(o*(n+1)),i,l,c;const u=t+7&-8;let d=new Uint8Array(u*n),h=0;for(const b of e.data){let C=128;for(;C>0;)d[h++]=b&C?0:255,C>>=1}let p=0;for(h=0,d[h]!==0&&(r[0]=1,++p),l=1;l>2)+(d[h+1]?4:0)+(d[h-u+1]?8:0),a[b]&&(r[c+l]=a[b],++p),h++;if(d[h-u]!==d[h]&&(r[c+l]=d[h]?2:4,++p),p>s)return null}for(h=u*(n-1),c=i*o,d[h]!==0&&(r[c]=8,++p),l=1;ls)return null;const v=new Int32Array([0,o,-1,0,-o,0,0,0,1]),m=new Path2D;for(i=0;p&&i<=n;i++){let b=i*o;const C=b+t;for(;b>4,r[b]&=_>>2|_<<2),m.lineTo(b%o,b/o|0),r[b]||--p}while(w!==b);--i}return d=null,r=null,function(b){b.save(),b.scale(1/t,-1/n),b.translate(0,-n),b.fill(m),b.beginPath(),b.restore()}}class RP{constructor(t,n){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=uP,this.textMatrixScale=1,this.fontMatrix=j8,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=va.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.patternStroke=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps="none",this.startNewPathAndClipBox([0,0,t,n])}clone(){const t=Object.create(this);return t.clipBox=this.clipBox.slice(),t}setCurrentPoint(t,n){this.x=t,this.y=n}updatePathMinMax(t,n,s){[n,s]=Nt.applyTransform([n,s],t),this.minX=Math.min(this.minX,n),this.minY=Math.min(this.minY,s),this.maxX=Math.max(this.maxX,n),this.maxY=Math.max(this.maxY,s)}updateRectMinMax(t,n){const s=Nt.applyTransform(n,t),a=Nt.applyTransform(n.slice(2),t),o=Nt.applyTransform([n[0],n[3]],t),r=Nt.applyTransform([n[2],n[1]],t);this.minX=Math.min(this.minX,s[0],a[0],o[0],r[0]),this.minY=Math.min(this.minY,s[1],a[1],o[1],r[1]),this.maxX=Math.max(this.maxX,s[0],a[0],o[0],r[0]),this.maxY=Math.max(this.maxY,s[1],a[1],o[1],r[1])}updateScalingPathMinMax(t,n){Nt.scaleMinMax(t,n),this.minX=Math.min(this.minX,n[0]),this.minY=Math.min(this.minY,n[1]),this.maxX=Math.max(this.maxX,n[2]),this.maxY=Math.max(this.maxY,n[3])}updateCurvePathMinMax(t,n,s,a,o,r,i,l,c,u){const d=Nt.bezierBoundingBox(n,s,a,o,r,i,l,c,u);u||this.updateRectMinMax(t,d)}getPathBoundingBox(t=ma.FILL,n=null){const s=[this.minX,this.minY,this.maxX,this.maxY];if(t===ma.STROKE){n||Bn("Stroke bounding box must include transform.");const a=Nt.singularValueDecompose2dScale(n),o=a[0]*this.lineWidth/2,r=a[1]*this.lineWidth/2;s[0]-=o,s[1]-=r,s[2]+=o,s[3]+=r}return s}updateClipFromPath(){const t=Nt.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(t||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(t){this.clipBox=t,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(t=ma.FILL,n=null){return Nt.intersect(this.clipBox,this.getPathBoundingBox(t,n))}}function IP(e,t){if(t instanceof ImageData){e.putImageData(t,0,0);return}const n=t.height,s=t.width,a=n%Qa,o=(n-a)/Qa,r=a===0?o:o+1,i=e.createImageData(s,Qa);let l=0,c;const u=t.data,d=i.data;let h,p,v,m;if(t.kind===U1.GRAYSCALE_1BPP){const g=u.byteLength,b=new Uint32Array(d.buffer,0,d.byteLength>>2),C=b.length,w=s+7>>3,_=4294967295,x=Oa.isLittleEndian?4278190080:255;for(h=0;hw?s:E*8-7,I=R&-8;let M=0,$=0;for(;T>=1}for(;c=o&&(v=a,m=s*v),c=0,p=m;p--;)d[c++]=u[l++],d[c++]=u[l++],d[c++]=u[l++],d[c++]=255;e.putImageData(i,0,h*Qa)}else throw new Error(`bad image kind: ${t.kind}`)}function OP(e,t){if(t.bitmap){e.drawImage(t.bitmap,0,0);return}const n=t.height,s=t.width,a=n%Qa,o=(n-a)/Qa,r=a===0?o:o+1,i=e.createImageData(s,Qa);let l=0;const c=t.data,u=i.data;for(let d=0;dMP&&typeof s=="function",u=c?Date.now()+xbe:0;let d=0;const h=this.commonObjs,p=this.objs;let v;for(;;){if(a!==void 0&&i===a.nextBreakPoint)return a.breakIt(i,s),i;if(v=r[i],v!==Sr.dependency)this[v].apply(this,o[i]);else for(const m of o[i]){const g=m.startsWith("g_")?h:p;if(!g.has(m))return g.get(m,s),i}if(i++,i===l)return i;if(c&&++d>MP){if(Date.now()>u)return s(),i;d=0}}}endDrawing(){oe(this,Pr,t_).call(this),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const t of this._cachedBitmapsMap.values()){for(const n of t.values())typeof HTMLCanvasElement<"u"&&n instanceof HTMLCanvasElement&&(n.width=n.height=0);t.clear()}this._cachedBitmapsMap.clear(),oe(this,Pr,n_).call(this)}_scaleImage(t,n){const s=t.width??t.displayWidth,a=t.height??t.displayHeight;let o=Math.max(Math.hypot(n[0],n[1]),1),r=Math.max(Math.hypot(n[2],n[3]),1),i=s,l=a,c="prescale1",u,d;for(;o>2&&i>1||r>2&&l>1;){let h=i,p=l;o>2&&i>1&&(h=i>=16384?Math.floor(i/2)-1||1:Math.ceil(i/2),o/=i/h),r>2&&l>1&&(p=l>=16384?Math.floor(l/2)-1||1:Math.ceil(l)/2,r/=l/p),u=this.cachedCanvases.getCanvas(c,h,p),d=u.context,d.clearRect(0,0,h,p),d.drawImage(t,0,0,i,l,0,0,h,p),t=u.canvas,i=h,l=p,c=c==="prescale1"?"prescale2":"prescale1"}return{img:t,paintWidth:i,paintHeight:l}}_createMaskCanvas(t){const n=this.ctx,{width:s,height:a}=t,o=this.current.fillColor,r=this.current.patternFill,i=Jn(n);let l,c,u,d;if((t.bitmap||t.data)&&t.count>1){const R=t.bitmap||t.data.buffer;c=JSON.stringify(r?i:[i.slice(0,4),o]),l=this._cachedBitmapsMap.get(R),l||(l=new Map,this._cachedBitmapsMap.set(R,l));const I=l.get(c);if(I&&!r){const M=Math.round(Math.min(i[0],i[2])+i[4]),$=Math.round(Math.min(i[1],i[3])+i[5]);return{canvas:I,offsetX:M,offsetY:$}}u=I}u||(d=this.cachedCanvases.getCanvas("maskCanvas",s,a),OP(d.context,t));let h=Nt.transform(i,[1/s,0,0,-1/a,0,0]);h=Nt.transform(h,[1,0,0,1,0,-a]);const[p,v,m,g]=Nt.getAxialAlignedBoundingBox([0,0,s,a],h),b=Math.round(m-p)||1,C=Math.round(g-v)||1,w=this.cachedCanvases.getCanvas("fillCanvas",b,C),_=w.context,x=p,E=v;_.translate(-x,-E),_.transform(...h),u||(u=this._scaleImage(d.canvas,ui(_)),u=u.img,l&&r&&l.set(c,u)),_.imageSmoothingEnabled=LP(Jn(_),t.interpolate),ab(_,u,0,0,u.width,u.height,0,0,s,a),_.globalCompositeOperation="source-in";const T=Nt.transform(ui(_),[1,0,0,1,-x,-E]);return _.fillStyle=r?o.getPattern(n,this,T,ma.FILL):o,_.fillRect(0,0,s,a),l&&!r&&(this.cachedCanvases.delete("fillCanvas"),l.set(c,w.canvas)),{canvas:w.canvas,offsetX:Math.round(x),offsetY:Math.round(E)}}setLineWidth(t){t!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=t,this.ctx.lineWidth=t}setLineCap(t){this.ctx.lineCap=Tbe[t]}setLineJoin(t){this.ctx.lineJoin=Mbe[t]}setMiterLimit(t){this.ctx.miterLimit=t}setDash(t,n){const s=this.ctx;s.setLineDash!==void 0&&(s.setLineDash(t),s.lineDashOffset=n)}setRenderingIntent(t){}setFlatness(t){}setGState(t){for(const[n,s]of t)switch(n){case"LW":this.setLineWidth(s);break;case"LC":this.setLineCap(s);break;case"LJ":this.setLineJoin(s);break;case"ML":this.setMiterLimit(s);break;case"D":this.setDash(s[0],s[1]);break;case"RI":this.setRenderingIntent(s);break;case"FL":this.setFlatness(s);break;case"Font":this.setFont(s[0],s[1]);break;case"CA":this.current.strokeAlpha=s;break;case"ca":this.current.fillAlpha=s,this.ctx.globalAlpha=s;break;case"BM":this.ctx.globalCompositeOperation=s;break;case"SMask":this.current.activeSMask=s?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(s);break}}get inSMaskMode(){return!!this.suspendedCtx}checkSMaskState(){const t=this.inSMaskMode;this.current.activeSMask&&!t?this.beginSMaskMode():!this.current.activeSMask&&t&&this.endSMaskMode()}beginSMaskMode(){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");const t=this.ctx.canvas.width,n=this.ctx.canvas.height,s="smaskGroupAt"+this.groupLevel,a=this.cachedCanvases.getCanvas(s,t,n);this.suspendedCtx=this.ctx,this.ctx=a.context;const o=this.ctx;o.setTransform(...Jn(this.suspendedCtx)),Av(this.suspendedCtx,o),Ebe(o,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),Av(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(t){if(!this.current.activeSMask)return;t?(t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.ceil(t[2]),t[3]=Math.ceil(t[3])):t=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];const n=this.current.activeSMask,s=this.suspendedCtx;this.composeSMask(s,n,this.ctx,t),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}composeSMask(t,n,s,a){const o=a[0],r=a[1],i=a[2]-o,l=a[3]-r;i===0||l===0||(this.genericComposeSMask(n.context,s,i,l,n.subtype,n.backdrop,n.transferMap,o,r,n.offsetX,n.offsetY),t.save(),t.globalAlpha=1,t.globalCompositeOperation="source-over",t.setTransform(1,0,0,1,0,0),t.drawImage(s.canvas,0,0),t.restore())}genericComposeSMask(t,n,s,a,o,r,i,l,c,u,d){let h=t.canvas,p=l-u,v=c-d;if(r){const g=Nt.makeHexColor(...r);if(p<0||v<0||p+s>h.width||v+a>h.height){const b=this.cachedCanvases.getCanvas("maskExtension",s,a),C=b.context;C.drawImage(h,-p,-v),C.globalCompositeOperation="destination-atop",C.fillStyle=g,C.fillRect(0,0,s,a),C.globalCompositeOperation="source-over",h=b.canvas,p=v=0}else{t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0);const b=new Path2D;b.rect(p,v,s,a),t.clip(b),t.globalCompositeOperation="destination-atop",t.fillStyle=g,t.fillRect(p,v,s,a),t.restore()}}n.save(),n.globalAlpha=1,n.setTransform(1,0,0,1,0,0),o==="Alpha"&&i?n.filter=this.filterFactory.addAlphaFilter(i):o==="Luminosity"&&(n.filter=this.filterFactory.addLuminosityFilter(i));const m=new Path2D;m.rect(l,c,s,a),n.clip(m),n.globalCompositeOperation="destination-in",n.drawImage(h,p,v,s,a,l,c,s,a),n.restore()}save(){this.inSMaskMode?(Av(this.ctx,this.suspendedCtx),this.suspendedCtx.save()):this.ctx.save();const t=this.current;this.stateStack.push(t),this.current=t.clone()}restore(){this.stateStack.length===0&&this.inSMaskMode&&this.endSMaskMode(),this.stateStack.length!==0&&(this.current=this.stateStack.pop(),this.inSMaskMode?(this.suspendedCtx.restore(),Av(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null)}transform(t,n,s,a,o,r){this.ctx.transform(t,n,s,a,o,r),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}constructPath(t,n,s){const a=this.ctx,o=this.current;let r=o.x,i=o.y,l,c;const u=Jn(a),d=u[0]===0&&u[3]===0||u[1]===0&&u[2]===0,h=d?s.slice(0):null;for(let p=0,v=0,m=t.length;pTP&&(c=TP),this.current.fontSizeScale=n/c,this.ctx.font=`${l} ${i} ${c}px ${r}`}setTextRenderingMode(t){this.current.textRenderingMode=t}setTextRise(t){this.current.textRise=t}moveText(t,n){this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=n}setLeadingMoveText(t,n){this.setLeading(-n),this.moveText(t,n)}setTextMatrix(t,n,s,a,o,r){this.current.textMatrix=[t,n,s,a,o,r],this.current.textMatrixScale=Math.hypot(t,n),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(t,n,s,a,o){const r=this.ctx,i=this.current,l=i.font,c=i.textRenderingMode,u=i.fontSize/i.fontSizeScale,d=c&va.FILL_STROKE_MASK,h=!!(c&va.ADD_TO_PATH_FLAG),p=i.patternFill&&!l.missingFile,v=i.patternStroke&&!l.missingFile;let m;if((l.disableFontFace||h||p||v)&&(m=l.getPathGenerator(this.commonObjs,t)),l.disableFontFace||p||v){if(r.save(),r.translate(n,s),r.scale(u,-u),d===va.FILL||d===va.FILL_STROKE)if(a){const g=r.getTransform();r.setTransform(...a),r.fill(oe(this,Pr,s_).call(this,m,g,a))}else r.fill(m);if(d===va.STROKE||d===va.FILL_STROKE)if(o){const g=r.getTransform();r.setTransform(...o),r.stroke(oe(this,Pr,s_).call(this,m,g,o))}else r.lineWidth/=u,r.stroke(m);r.restore()}else(d===va.FILL||d===va.FILL_STROKE)&&r.fillText(t,n,s),(d===va.STROKE||d===va.FILL_STROKE)&&r.strokeText(t,n,s);h&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:Jn(r),x:n,y:s,fontSize:u,path:m})}get isFontSubpixelAAEnabled(){const{context:t}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);t.scale(1.5,1),t.fillText("I",0,10);const n=t.getImageData(0,0,10,10).data;let s=!1;for(let a=3;a0&&n[a]<255){s=!0;break}return dn(this,"isFontSubpixelAAEnabled",s)}showText(t){const n=this.current,s=n.font;if(s.isType3Font)return this.showType3Text(t);const a=n.fontSize;if(a===0)return;const o=this.ctx,r=n.fontSizeScale,i=n.charSpacing,l=n.wordSpacing,c=n.fontDirection,u=n.textHScale*c,d=t.length,h=s.vertical,p=h?1:-1,v=s.defaultVMetrics,m=a*n.fontMatrix[0],g=n.textRenderingMode===va.FILL&&!s.disableFontFace&&!n.patternFill;o.save(),o.transform(...n.textMatrix),o.translate(n.x,n.y+n.textRise),c>0?o.scale(u,-1):o.scale(u,1);let b,C;if(n.patternFill){o.save();const T=n.fillColor.getPattern(o,this,ui(o),ma.FILL);b=Jn(o),o.restore(),o.fillStyle=T}if(n.patternStroke){o.save();const T=n.strokeColor.getPattern(o,this,ui(o),ma.STROKE);C=Jn(o),o.restore(),o.strokeStyle=T}let w=n.lineWidth;const _=n.textMatrixScale;if(_===0||w===0){const T=n.textRenderingMode&va.FILL_STROKE_MASK;(T===va.STROKE||T===va.FILL_STROKE)&&(w=this.getSinglePixelWidth())}else w/=_;if(r!==1&&(o.scale(r,r),w/=r),o.lineWidth=w,s.isInvalidPDFjsFont){const T=[];let R=0;for(const I of t)T.push(I.unicode),R+=I.width;o.fillText(T.join(""),0,0),n.x+=R*m*u,o.restore(),this.compose();return}let x=0,E;for(E=0;E0){const Y=o.measureText(M).width*1e3/a*r;if(Unew Pw(r,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack})};n=new dw(t,s,this.ctx,o,a)}else n=this._getPattern(t[1],t[2]);return n}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments),this.current.patternStroke=!0}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(t,n,s){this.ctx.strokeStyle=this.current.strokeColor=Nt.makeHexColor(t,n,s),this.current.patternStroke=!1}setStrokeTransparent(){this.ctx.strokeStyle=this.current.strokeColor="transparent",this.current.patternStroke=!1}setFillRGBColor(t,n,s){this.ctx.fillStyle=this.current.fillColor=Nt.makeHexColor(t,n,s),this.current.patternFill=!1}setFillTransparent(){this.ctx.fillStyle=this.current.fillColor="transparent",this.current.patternFill=!1}_getPattern(t,n=null){let s;return this.cachedPatterns.has(t)?s=this.cachedPatterns.get(t):(s=Cbe(this.getObject(t)),this.cachedPatterns.set(t,s)),n&&(s.matrix=n),s}shadingFill(t){if(!this.contentVisible)return;const n=this.ctx;this.save();const s=this._getPattern(t);n.fillStyle=s.getPattern(n,this,ui(n),ma.SHADING);const a=ui(n);if(a){const{width:o,height:r}=n.canvas,[i,l,c,u]=Nt.getAxialAlignedBoundingBox([0,0,o,r],a);this.ctx.fillRect(i,l,c-i,u-l)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){Bn("Should not call beginInlineImage")}beginImageData(){Bn("Should not call beginImageData")}paintFormXObjectBegin(t,n){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),t&&this.transform(...t),this.baseTransform=Jn(this.ctx),n)){const s=n[2]-n[0],a=n[3]-n[1];this.ctx.rect(n[0],n[1],s,a),this.current.updateRectMinMax(Jn(this.ctx),n),this.clip(),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(t){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const n=this.ctx;t.isolated||Y1("TODO: Support non-isolated groups."),t.knockout&&rn("Knockout groups not supported.");const s=Jn(n);if(t.matrix&&n.transform(...t.matrix),!t.bbox)throw new Error("Bounding box is required.");let a=Nt.getAxialAlignedBoundingBox(t.bbox,Jn(n));const o=[0,0,n.canvas.width,n.canvas.height];a=Nt.intersect(a,o)||[0,0,0,0];const r=Math.floor(a[0]),i=Math.floor(a[1]),l=Math.max(Math.ceil(a[2])-r,1),c=Math.max(Math.ceil(a[3])-i,1);this.current.startNewPathAndClipBox([0,0,l,c]);let u="groupAt"+this.groupLevel;t.smask&&(u+="_smask_"+this.smaskCounter++%2);const d=this.cachedCanvases.getCanvas(u,l,c),h=d.context;h.translate(-r,-i),h.transform(...s),t.smask?this.smaskStack.push({canvas:d.canvas,context:h,offsetX:r,offsetY:i,subtype:t.smask.subtype,backdrop:t.smask.backdrop,transferMap:t.smask.transferMap||null,startTransformInverse:null}):(n.setTransform(1,0,0,1,0,0),n.translate(r,i),n.save()),Av(n,h),this.ctx=h,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(n),this.groupLevel++}endGroup(t){if(!this.contentVisible)return;this.groupLevel--;const n=this.ctx,s=this.groupStack.pop();if(this.ctx=s,this.ctx.imageSmoothingEnabled=!1,t.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const a=Jn(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...a);const o=Nt.getAxialAlignedBoundingBox([0,0,n.canvas.width,n.canvas.height],a);this.ctx.drawImage(n.canvas,0,0),this.ctx.restore(),this.compose(o)}}beginAnnotation(t,n,s,a,o){if(oe(this,Pr,t_).call(this),ob(this.ctx),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),n){const r=n[2]-n[0],i=n[3]-n[1];if(o&&this.annotationCanvasMap){s=s.slice(),s[4]-=n[0],s[5]-=n[1],n=n.slice(),n[0]=n[1]=0,n[2]=r,n[3]=i;const[l,c]=Nt.singularValueDecompose2dScale(Jn(this.ctx)),{viewportScale:u}=this,d=Math.ceil(r*this.outputScaleX*u),h=Math.ceil(i*this.outputScaleY*u);this.annotationCanvas=this.canvasFactory.create(d,h);const{canvas:p,context:v}=this.annotationCanvas;this.annotationCanvasMap.set(t,p),this.annotationCanvas.savedCtx=this.ctx,this.ctx=v,this.ctx.save(),this.ctx.setTransform(l,0,0,-c,0,i*c),ob(this.ctx)}else ob(this.ctx),this.endPath(),this.ctx.rect(n[0],n[1],r,i),this.ctx.clip(),this.ctx.beginPath()}this.current=new RP(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...s),this.transform(...a)}endAnnotation(){this.annotationCanvas&&(this.ctx.restore(),oe(this,Pr,n_).call(this),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(t){if(!this.contentVisible)return;const n=t.count;t=this.getObject(t.data,t),t.count=n;const s=this.ctx,a=this.processingType3;if(a&&(a.compiled===void 0&&(a.compiled=Abe(t)),a.compiled)){a.compiled(s);return}const o=this._createMaskCanvas(t),r=o.canvas;s.save(),s.setTransform(1,0,0,1,0,0),s.drawImage(r,o.offsetX,o.offsetY),s.restore(),this.compose()}paintImageMaskXObjectRepeat(t,n,s=0,a=0,o,r){if(!this.contentVisible)return;t=this.getObject(t.data,t);const i=this.ctx;i.save();const l=Jn(i);i.transform(n,s,a,o,0,0);const c=this._createMaskCanvas(t);i.setTransform(1,0,0,1,c.offsetX-l[4],c.offsetY-l[5]);for(let u=0,d=r.length;ud?u/d:1,i=c>d?c/d:1}}this._cachedScaleForStroking[0]=r,this._cachedScaleForStroking[1]=i}return this._cachedScaleForStroking}rescaleAndStroke(t){const{ctx:n}=this,{lineWidth:s}=this.current,[a,o]=this.getScaleForStroking();if(n.lineWidth=s||1,a===1&&o===1){n.stroke();return}const r=n.getLineDash();if(t&&n.save(),n.scale(a,o),r.length>0){const i=Math.max(a,o);n.setLineDash(r.map(l=>l/i)),n.lineDashOffset/=i}n.stroke(),t&&n.restore()}isContentVisible(){for(let t=this.markedContentStack.length-1;t>=0;t--)if(!this.markedContentStack[t].visible)return!1;return!0}};Pr=new WeakSet,t_=function(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.current.activeSMask=null,this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)},n_=function(){if(this.pageColors){const t=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if(t!=="none"){const n=this.ctx.filter;this.ctx.filter=t,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=n}}},s_=function(t,n,s){const a=new Path2D;return a.addPath(t,new DOMMatrix(s).invertSelf().multiplySelf(n)),a};let hh=Pw;for(const e in Sr)hh.prototype[e]!==void 0&&(hh.prototype[Sr[e]]=hh.prototype[e]);class ul{static get workerPort(){return y(this,im)}static set workerPort(t){if(!(typeof Worker<"u"&&t instanceof Worker)&&t!==null)throw new Error("Invalid `workerPort` type.");q(this,im,t)}static get workerSrc(){return y(this,lm)}static set workerSrc(t){if(typeof t!="string")throw new Error("Invalid `workerSrc` type.");q(this,lm,t)}}im=new WeakMap,lm=new WeakMap,se(ul,im,null),se(ul,lm,"");class Rbe{constructor({parsedData:t,rawData:n}){se(this,md);se(this,cm);q(this,md,t),q(this,cm,n)}getRaw(){return y(this,cm)}get(t){return y(this,md).get(t)??null}getAll(){return G8(y(this,md))}has(t){return y(this,md).has(t)}}md=new WeakMap,cm=new WeakMap;const ph=Symbol("INTERNAL");class Ibe{constructor(t,{name:n,intent:s,usage:a,rbGroups:o}){se(this,um,!1);se(this,dm,!1);se(this,fm,!1);se(this,Lh,!0);q(this,um,!!(t&mo.DISPLAY)),q(this,dm,!!(t&mo.PRINT)),this.name=n,this.intent=s,this.usage=a,this.rbGroups=o}get visible(){if(y(this,fm))return y(this,Lh);if(!y(this,Lh))return!1;const{print:t,view:n}=this.usage;return y(this,um)?(n==null?void 0:n.viewState)!=="OFF":y(this,dm)?(t==null?void 0:t.printState)!=="OFF":!0}_setVisible(t,n,s=!1){t!==ph&&Bn("Internal method `_setVisible` called."),q(this,fm,s),q(this,Lh,n)}}um=new WeakMap,dm=new WeakMap,fm=new WeakMap,Lh=new WeakMap;class Obe{constructor(t,n=mo.DISPLAY){se(this,hm);se(this,Nc,null);se(this,Ln,new Map);se(this,Nh,null);se(this,$h,null);if(this.renderingIntent=n,this.name=null,this.creator=null,t!==null){this.name=t.name,this.creator=t.creator,q(this,$h,t.order);for(const s of t.groups)y(this,Ln).set(s.id,new Ibe(n,s));if(t.baseState==="OFF")for(const s of y(this,Ln).values())s._setVisible(ph,!1);for(const s of t.on)y(this,Ln).get(s)._setVisible(ph,!0);for(const s of t.off)y(this,Ln).get(s)._setVisible(ph,!1);q(this,Nh,this.getHash())}}isVisible(t){if(y(this,Ln).size===0)return!0;if(!t)return Y1("Optional content group not defined."),!0;if(t.type==="OCG")return y(this,Ln).has(t.id)?y(this,Ln).get(t.id).visible:(rn(`Optional content group not found: ${t.id}`),!0);if(t.type==="OCMD"){if(t.expression)return oe(this,hm,a_).call(this,t.expression);if(!t.policy||t.policy==="AnyOn"){for(const n of t.ids){if(!y(this,Ln).has(n))return rn(`Optional content group not found: ${n}`),!0;if(y(this,Ln).get(n).visible)return!0}return!1}else if(t.policy==="AllOn"){for(const n of t.ids){if(!y(this,Ln).has(n))return rn(`Optional content group not found: ${n}`),!0;if(!y(this,Ln).get(n).visible)return!1}return!0}else if(t.policy==="AnyOff"){for(const n of t.ids){if(!y(this,Ln).has(n))return rn(`Optional content group not found: ${n}`),!0;if(!y(this,Ln).get(n).visible)return!0}return!1}else if(t.policy==="AllOff"){for(const n of t.ids){if(!y(this,Ln).has(n))return rn(`Optional content group not found: ${n}`),!0;if(y(this,Ln).get(n).visible)return!1}return!0}return rn(`Unknown optional content policy ${t.policy}.`),!0}return rn(`Unknown group type ${t.type}.`),!0}setVisibility(t,n=!0,s=!0){var o;const a=y(this,Ln).get(t);if(!a){rn(`Optional content group not found: ${t}`);return}if(s&&n&&a.rbGroups.length)for(const r of a.rbGroups)for(const i of r)i!==t&&((o=y(this,Ln).get(i))==null||o._setVisible(ph,!1,!0));a._setVisible(ph,!!n,!0),q(this,Nc,null)}setOCGState({state:t,preserveRB:n}){let s;for(const a of t){switch(a){case"ON":case"OFF":case"Toggle":s=a;continue}const o=y(this,Ln).get(a);if(o)switch(s){case"ON":this.setVisibility(a,!0,n);break;case"OFF":this.setVisibility(a,!1,n);break;case"Toggle":this.setVisibility(a,!o.visible,n);break}}q(this,Nc,null)}get hasInitialVisibility(){return y(this,Nh)===null||this.getHash()===y(this,Nh)}getOrder(){return y(this,Ln).size?y(this,$h)?y(this,$h).slice():[...y(this,Ln).keys()]:null}getGroups(){return y(this,Ln).size>0?G8(y(this,Ln)):null}getGroup(t){return y(this,Ln).get(t)||null}getHash(){if(y(this,Nc)!==null)return y(this,Nc);const t=new mP;for(const[n,s]of y(this,Ln))t.update(`${n}:${s.visible}`);return q(this,Nc,t.hexdigest())}}Nc=new WeakMap,Ln=new WeakMap,Nh=new WeakMap,$h=new WeakMap,hm=new WeakSet,a_=function(t){const n=t.length;if(n<2)return!0;const s=t[0];for(let a=1;a0){const l=o instanceof Uint8Array&&o.byteLength===o.buffer.byteLength?o.buffer:new Uint8Array(o).buffer;this._queuedChunks.push(l)}this._pdfDataRangeTransport=t,this._isStreamingSupported=!s,this._isRangeSupported=!n,this._contentLength=a,this._fullRequestReader=null,this._rangeReaders=[],t.addRangeListener((l,c)=>{this._onReceiveData({begin:l,chunk:c})}),t.addProgressListener((l,c)=>{this._onProgress({loaded:l,total:c})}),t.addProgressiveReadListener(l=>{this._onReceiveData({chunk:l})}),t.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),t.transportReady()}_onReceiveData({begin:t,chunk:n}){const s=n instanceof Uint8Array&&n.byteLength===n.buffer.byteLength?n.buffer:new Uint8Array(n).buffer;if(t===void 0)this._fullRequestReader?this._fullRequestReader._enqueue(s):this._queuedChunks.push(s);else{const a=this._rangeReaders.some(function(o){return o._begin!==t?!1:(o._enqueue(s),!0)});bs(a,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){var t;return((t=this._fullRequestReader)==null?void 0:t._loaded)??0}_onProgress(t){var n,s,a,o;t.total===void 0?(s=(n=this._rangeReaders[0])==null?void 0:n.onProgress)==null||s.call(n,{loaded:t.loaded}):(o=(a=this._fullRequestReader)==null?void 0:a.onProgress)==null||o.call(a,{loaded:t.loaded,total:t.total})}_onProgressiveDone(){var t;(t=this._fullRequestReader)==null||t.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(t){const n=this._rangeReaders.indexOf(t);n>=0&&this._rangeReaders.splice(n,1)}getFullReader(){bs(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const t=this._queuedChunks;return this._queuedChunks=null,new Nbe(this,t,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(t,n){if(n<=this._progressiveDataLength)return null;const s=new $be(this,t,n);return this._pdfDataRangeTransport.requestDataRange(t,n),this._rangeReaders.push(s),s}cancelAllRequests(t){var n;(n=this._fullRequestReader)==null||n.cancel(t);for(const s of this._rangeReaders.slice(0))s.cancel(t);this._pdfDataRangeTransport.abort()}}class Nbe{constructor(t,n,s=!1,a=null){this._stream=t,this._done=s||!1,this._filename=Q8(a)?a:null,this._queuedChunks=n||[],this._loaded=0;for(const o of this._queuedChunks)this._loaded+=o.byteLength;this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}_enqueue(t){this._done||(this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunks.push(t),this._loaded+=t.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class $be{constructor(t,n,s){this._stream=t,this._begin=n,this._end=s,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(t){if(!this._done){if(this._requests.length===0)this._queuedChunk=t;else{this._requests.shift().resolve({value:t,done:!1});for(const s of this._requests)s.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){const n=this._queuedChunk;return this._queuedChunk=null,{value:n,done:!1}}if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}function Dbe(e){let t=!0,n=s("filename\\*","i").exec(e);if(n){n=n[1];let u=i(n);return u=unescape(u),u=l(u),u=c(u),o(u)}if(n=r(e),n){const u=c(n);return o(u)}if(n=s("filename","i").exec(e),n){n=n[1];let u=i(n);return u=c(u),o(u)}function s(u,d){return new RegExp("(?:^|;)\\s*"+u+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',d)}function a(u,d){if(u){if(!/^[\x00-\xFF]+$/.test(d))return d;try{const h=new TextDecoder(u,{fatal:!0}),p=J1(d);d=h.decode(p),t=!1}catch{}}return d}function o(u){return t&&/[\x80-\xff]/.test(u)&&(u=a("utf-8",u),t&&(u=a("iso-8859-1",u))),u}function r(u){const d=[];let h;const p=s("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;(h=p.exec(u))!==null;){let[,m,g,b]=h;if(m=parseInt(m,10),m in d){if(m===0)break;continue}d[m]=[g,b]}const v=[];for(let m=0;m{if(t._responseOrigin=rb(o.url),!BP(o.status))throw ib(o.status,a);this._reader=o.body.getReader(),this._headersCapability.resolve();const r=o.headers,{allowRangeRequests:i,suggestedLength:l}=DP({responseHeaders:r,isHttp:t.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=i,this._contentLength=l||this._contentLength,this._filename=FP(r),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new yc("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){var s;await this._headersCapability.promise;const{value:t,done:n}=await this._reader.read();return n?{value:t,done:n}:(this._loaded+=t.byteLength,(s=this.onProgress)==null||s.call(this,{loaded:this._loaded,total:this._contentLength}),{value:zP(t),done:!1})}cancel(t){var n;(n=this._reader)==null||n.cancel(t),this._abortController.abort()}}class Bbe{constructor(t,n,s){this._stream=t,this._reader=null,this._loaded=0;const a=t.source;this._withCredentials=a.withCredentials||!1,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!a.disableStream,this._abortController=new AbortController;const o=new Headers(t.headers);o.append("Range",`bytes=${n}-${s-1}`);const r=a.url;fetch(r,VP(o,this._withCredentials,this._abortController)).then(i=>{const l=rb(i.url);if(l!==t._responseOrigin)throw new Error(`Expected range response-origin "${l}" to match "${t._responseOrigin}".`);if(!BP(i.status))throw ib(i.status,r);this._readCapability.resolve(),this._reader=i.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){var s;await this._readCapability.promise;const{value:t,done:n}=await this._reader.read();return n?{value:t,done:n}:(this._loaded+=t.byteLength,(s=this.onProgress)==null||s.call(this,{loaded:this._loaded}),{value:zP(t),done:!1})}cancel(t){var n;(n=this._reader)==null||n.cancel(t),this._abortController.abort()}}const fw=200,hw=206;function Vbe(e){const t=e.response;return typeof t!="string"?t:J1(t).buffer}class zbe{constructor({url:t,httpHeaders:n,withCredentials:s}){zt(this,"_responseOrigin",null);this.url=t,this.isHttp=/^https?:/i.test(t),this.headers=$P(this.isHttp,n),this.withCredentials=s||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}request(t){const n=new XMLHttpRequest,s=this.currXhrId++,a=this.pendingRequests[s]={xhr:n};n.open("GET",this.url),n.withCredentials=this.withCredentials;for(const[o,r]of this.headers)n.setRequestHeader(o,r);return this.isHttp&&"begin"in t&&"end"in t?(n.setRequestHeader("Range",`bytes=${t.begin}-${t.end-1}`),a.expectedStatus=hw):a.expectedStatus=fw,n.responseType="arraybuffer",bs(t.onError,"Expected `onError` callback to be provided."),n.onerror=()=>{t.onError(n.status)},n.onreadystatechange=this.onStateChange.bind(this,s),n.onprogress=this.onProgress.bind(this,s),a.onHeadersReceived=t.onHeadersReceived,a.onDone=t.onDone,a.onError=t.onError,a.onProgress=t.onProgress,n.send(null),s}onProgress(t,n){var a;const s=this.pendingRequests[t];s&&((a=s.onProgress)==null||a.call(s,n))}onStateChange(t,n){const s=this.pendingRequests[t];if(!s)return;const a=s.xhr;if(a.readyState>=2&&s.onHeadersReceived&&(s.onHeadersReceived(),delete s.onHeadersReceived),a.readyState!==4||!(t in this.pendingRequests))return;if(delete this.pendingRequests[t],a.status===0&&this.isHttp){s.onError(a.status);return}const o=a.status||fw;if(!(o===fw&&s.expectedStatus===hw)&&o!==s.expectedStatus){s.onError(a.status);return}const i=Vbe(a);if(o===hw){const l=a.getResponseHeader("Content-Range"),c=/bytes (\d+)-(\d+)\/(\d+)/.exec(l);c?s.onDone({begin:parseInt(c[1],10),chunk:i}):(rn('Missing or invalid "Content-Range" header.'),s.onError(0))}else i?s.onDone({begin:0,chunk:i}):s.onError(a.status)}getRequestXhr(t){return this.pendingRequests[t].xhr}isPendingRequest(t){return t in this.pendingRequests}abortRequest(t){const n=this.pendingRequests[t].xhr;delete this.pendingRequests[t],n.abort()}}class Hbe{constructor(t){this._source=t,this._manager=new zbe(t),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(t){const n=this._rangeRequestReaders.indexOf(t);n>=0&&this._rangeRequestReaders.splice(n,1)}getFullReader(){return bs(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new Wbe(this._manager,this._source),this._fullRequestReader}getRangeReader(t,n){const s=new jbe(this._manager,t,n);return s.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(s),s}cancelAllRequests(t){var n;(n=this._fullRequestReader)==null||n.cancel(t);for(const s of this._rangeRequestReaders.slice(0))s.cancel(t)}}class Wbe{constructor(t,n){this._manager=t,this._url=n.url,this._fullRequestId=t.request({onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)}),this._headersCapability=Promise.withResolvers(),this._disableRange=n.disableRange||!1,this._contentLength=n.length,this._rangeChunkSize=n.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const t=this._fullRequestId,n=this._manager.getRequestXhr(t);this._manager._responseOrigin=rb(n.responseURL);const s=n.getAllResponseHeaders(),a=new Headers(s?s.trimStart().replace(/[^\S ]+$/,"").split(/[\r\n]+/).map(i=>{const[l,...c]=i.split(": ");return[l,c.join(": ")]}):[]),{allowRangeRequests:o,suggestedLength:r}=DP({responseHeaders:a,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});o&&(this._isRangeSupported=!0),this._contentLength=r||this._contentLength,this._filename=FP(a),this._isRangeSupported&&this._manager.abortRequest(t),this._headersCapability.resolve()}_onDone(t){if(t&&(this._requests.length>0?this._requests.shift().resolve({value:t.chunk,done:!1}):this._cachedChunks.push(t.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(t){this._storedError=ib(t,this._url),this._headersCapability.reject(this._storedError);for(const n of this._requests)n.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(t){var n;(n=this.onProgress)==null||n.call(this,{loaded:t.loaded,total:t.lengthComputable?t.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersCapability.promise}async read(){if(await this._headersCapability.promise,this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0,this._headersCapability.reject(t);for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class jbe{constructor(t,n,s){this._manager=t,this._url=t.url,this._requestId=t.request({begin:n,end:s,onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)}),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_onHeadersReceived(){var n;const t=rb((n=this._manager.getRequestXhr(this._requestId))==null?void 0:n.responseURL);t!==this._manager._responseOrigin&&(this._storedError=new Error(`Expected range response-origin "${t}" to match "${this._manager._responseOrigin}".`),this._onError(0))}_close(){var t;(t=this.onClosed)==null||t.call(this,this)}_onDone(t){const n=t.chunk;this._requests.length>0?this._requests.shift().resolve({value:n,done:!1}):this._queuedChunk=n,this._done=!0;for(const s of this._requests)s.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(t){this._storedError??(this._storedError=ib(t,this._url));for(const n of this._requests)n.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(t){var n;this.isStreamingSupported||(n=this.onProgress)==null||n.call(this,{loaded:t.loaded})}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(this._queuedChunk!==null){const n=this._queuedChunk;return this._queuedChunk=null,{value:n,done:!1}}if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}const Kbe=/^[a-z][a-z0-9\-+.]+:/i;function Ube(e){if(Kbe.test(e))return new URL(e);const t=process.getBuiltinModule("url");return new URL(t.pathToFileURL(e))}class qbe{constructor(t){this.source=t,this.url=Ube(t.url),bs(this.url.protocol==="file:","PDFNodeStream only supports file:// URLs."),this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var t;return((t=this._fullRequestReader)==null?void 0:t._loaded)??0}getFullReader(){return bs(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=new Gbe(this),this._fullRequestReader}getRangeReader(t,n){if(n<=this._progressiveDataLength)return null;const s=new Ybe(this,t,n);return this._rangeRequestReaders.push(s),s}cancelAllRequests(t){var n;(n=this._fullRequestReader)==null||n.cancel(t);for(const s of this._rangeRequestReaders.slice(0))s.cancel(t)}}class Gbe{constructor(t){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;const n=t.source;this._contentLength=n.length,this._loaded=0,this._filename=null,this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._headersCapability=Promise.withResolvers();const s=process.getBuiltinModule("fs");s.promises.lstat(this._url).then(a=>{this._contentLength=a.size,this._setReadableStream(s.createReadStream(this._url)),this._headersCapability.resolve()},a=>{a.code==="ENOENT"&&(a=new Cv(`Missing PDF "${this._url}".`)),this._storedError=a,this._headersCapability.reject(a)})}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){var s;if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();return t===null?(this._readCapability=Promise.withResolvers(),this.read()):(this._loaded+=t.length,(s=this.onProgress)==null||s.call(this,{loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(t).buffer,done:!1})}cancel(t){if(!this._readableStream){this._error(t);return}this._readableStream.destroy(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",n=>{this._error(n)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new yc("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class Ybe{constructor(t,n,s){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=Promise.withResolvers();const a=t.source;this._isStreamingSupported=!a.disableStream;const o=process.getBuiltinModule("fs");this._setReadableStream(o.createReadStream(this._url,{start:n,end:s-1}))}get isStreamingSupported(){return this._isStreamingSupported}async read(){var s;if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();return t===null?(this._readCapability=Promise.withResolvers(),this.read()):(this._loaded+=t.length,(s=this.onProgress)==null||s.call(this,{loaded:this._loaded}),{value:new Uint8Array(t).buffer,done:!1})}cancel(t){if(!this._readableStream){this._error(t);return}this._readableStream.destroy(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",n=>{this._error(n)}),this._storedError&&this._readableStream.destroy(this._storedError)}}const Xbe=1e5,eo=30,Jbe=.8,Ts=class Ts{constructor({textContentSource:t,container:n,viewport:s}){se(this,xl);se(this,$c,Promise.withResolvers());se(this,no,null);se(this,pm,!1);se(this,vm,!!((nR=globalThis.FontInspector)!=null&&nR.enabled));se(this,gd,null);se(this,Sl,null);se(this,mm,0);se(this,gm,0);se(this,bd,null);se(this,Dh,null);se(this,Fh,0);se(this,Dc,0);se(this,Bh,Object.create(null));se(this,bm,[]);se(this,Vh,null);se(this,yd,[]);se(this,ym,new WeakMap);se(this,wm,null);var l;if(t instanceof ReadableStream)q(this,Vh,t);else if(typeof t=="object")q(this,Vh,new ReadableStream({start(c){c.enqueue(t),c.close()}}));else throw new Error('No "textContentSource" parameter specified.');q(this,no,q(this,Dh,n)),q(this,Dc,s.scale*(globalThis.devicePixelRatio||1)),q(this,Fh,s.rotation),q(this,Sl,{div:null,properties:null,ctx:null});const{pageWidth:a,pageHeight:o,pageX:r,pageY:i}=s.rawDims;q(this,wm,[1,0,0,-1,-r,i+o]),q(this,gm,a),q(this,mm,o),oe(l=Ts,_o,VR).call(l),Hu(n,s),y(this,$c).promise.finally(()=>{y(Ts,zh).delete(this),q(this,Sl,null),q(this,Bh,null)}).catch(()=>{})}static get fontFamilyMap(){const{isWindows:t,isFirefox:n}=Oa.platform;return dn(this,"fontFamilyMap",new Map([["sans-serif",`${t&&n?"Calibri, ":""}sans-serif`],["monospace",`${t&&n?"Lucida Console, ":""}monospace`]]))}render(){const t=()=>{y(this,bd).read().then(({value:n,done:s})=>{if(s){y(this,$c).resolve();return}y(this,gd)??q(this,gd,n.lang),Object.assign(y(this,Bh),n.styles),oe(this,xl,FR).call(this,n.items),t()},y(this,$c).reject)};return q(this,bd,y(this,Vh).getReader()),y(Ts,zh).add(this),t(),y(this,$c).promise}update({viewport:t,onBefore:n=null}){var o;const s=t.scale*(globalThis.devicePixelRatio||1),a=t.rotation;if(a!==y(this,Fh)&&(n==null||n(),q(this,Fh,a),Hu(y(this,Dh),{rotation:a})),s!==y(this,Dc)){n==null||n(),q(this,Dc,s);const r={div:null,properties:null,ctx:oe(o=Ts,_o,Ub).call(o,y(this,gd))};for(const i of y(this,yd))r.properties=y(this,ym).get(i),r.div=i,oe(this,xl,o_).call(this,r)}}cancel(){var n;const t=new yc("TextLayer task cancelled.");(n=y(this,bd))==null||n.cancel(t).catch(()=>{}),q(this,bd,null),y(this,$c).reject(t)}get textDivs(){return y(this,yd)}get textContentItemsStr(){return y(this,bm)}static cleanup(){if(!(y(this,zh).size>0)){y(this,wd).clear();for(const{canvas:t}of y(this,_d).values())t.remove();y(this,_d).clear()}}};$c=new WeakMap,no=new WeakMap,pm=new WeakMap,vm=new WeakMap,gd=new WeakMap,Sl=new WeakMap,mm=new WeakMap,gm=new WeakMap,bd=new WeakMap,Dh=new WeakMap,Fh=new WeakMap,Dc=new WeakMap,Bh=new WeakMap,bm=new WeakMap,Vh=new WeakMap,yd=new WeakMap,ym=new WeakMap,wm=new WeakMap,wd=new WeakMap,_d=new WeakMap,_m=new WeakMap,Fc=new WeakMap,zh=new WeakMap,xl=new WeakSet,FR=function(t){var a,o;if(y(this,pm))return;(o=y(this,Sl)).ctx??(o.ctx=oe(a=Ts,_o,Ub).call(a,y(this,gd)));const n=y(this,yd),s=y(this,bm);for(const r of t){if(n.length>Xbe){rn("Ignoring additional textDivs for performance reasons."),q(this,pm,!0);return}if(r.str===void 0){if(r.type==="beginMarkedContentProps"||r.type==="beginMarkedContent"){const i=y(this,no);q(this,no,document.createElement("span")),y(this,no).classList.add("markedContent"),r.id!==null&&y(this,no).setAttribute("id",`${r.id}`),i.append(y(this,no))}else r.type==="endMarkedContent"&&q(this,no,y(this,no).parentNode);continue}s.push(r.str),oe(this,xl,BR).call(this,r)}},BR=function(t){var m;const n=document.createElement("span"),s={angle:0,canvasWidth:0,hasText:t.str!=="",hasEOL:t.hasEOL,fontSize:0};y(this,yd).push(n);const a=Nt.transform(y(this,wm),t.transform);let o=Math.atan2(a[1],a[0]);const r=y(this,Bh)[t.fontName];r.vertical&&(o+=Math.PI/2);let i=y(this,vm)&&r.fontSubstitution||r.fontFamily;i=Ts.fontFamilyMap.get(i)||i;const l=Math.hypot(a[2],a[3]),c=l*oe(m=Ts,_o,zR).call(m,i,y(this,gd));let u,d;o===0?(u=a[4],d=a[5]-c):(u=a[4]+c*Math.sin(o),d=a[5]-c*Math.cos(o));const h="calc(var(--scale-factor)*",p=n.style;y(this,no)===y(this,Dh)?(p.left=`${(100*u/y(this,gm)).toFixed(2)}%`,p.top=`${(100*d/y(this,mm)).toFixed(2)}%`):(p.left=`${h}${u.toFixed(2)}px)`,p.top=`${h}${d.toFixed(2)}px)`),p.fontSize=`${h}${(y(Ts,Fc)*l).toFixed(2)}px)`,p.fontFamily=i,s.fontSize=l,n.setAttribute("role","presentation"),n.textContent=t.str,n.dir=t.dir,y(this,vm)&&(n.dataset.fontName=r.fontSubstitutionLoadedName||t.fontName),o!==0&&(s.angle=o*(180/Math.PI));let v=!1;if(t.str.length>1)v=!0;else if(t.str!==" "&&t.transform[0]!==t.transform[3]){const g=Math.abs(t.transform[0]),b=Math.abs(t.transform[3]);g!==b&&Math.max(g,b)/Math.min(g,b)>1.5&&(v=!0)}if(v&&(s.canvasWidth=r.vertical?t.height:t.width),y(this,ym).set(n,s),y(this,Sl).div=n,y(this,Sl).properties=s,oe(this,xl,o_).call(this,y(this,Sl)),s.hasText&&y(this,no).append(n),s.hasEOL){const g=document.createElement("br");g.setAttribute("role","presentation"),y(this,no).append(g)}},o_=function(t){var i;const{div:n,properties:s,ctx:a}=t,{style:o}=n;let r="";if(y(Ts,Fc)>1&&(r=`scale(${1/y(Ts,Fc)})`),s.canvasWidth!==0&&s.hasText){const{fontFamily:l}=o,{canvasWidth:c,fontSize:u}=s;oe(i=Ts,_o,r_).call(i,a,u*y(this,Dc),l);const{width:d}=a.measureText(n.textContent);d>0&&(r=`scaleX(${c*y(this,Dc)/d}) ${r}`)}s.angle!==0&&(r=`rotate(${s.angle}deg) ${r}`),r.length>0&&(o.transform=r)},_o=new WeakSet,Ub=function(t=null){let n=y(this,_d).get(t||(t=""));if(!n){const s=document.createElement("canvas");s.className="hiddenCanvasElement",s.lang=t,document.body.append(s),n=s.getContext("2d",{alpha:!1,willReadFrequently:!0}),y(this,_d).set(t,n),y(this,_m).set(n,{size:0,family:""})}return n},r_=function(t,n,s){const a=y(this,_m).get(t);n===a.size&&s===a.family||(t.font=`${n}px ${s}`,a.size=n,a.family=s)},VR=function(){if(y(this,Fc)!==null)return;const t=document.createElement("div");t.style.opacity=0,t.style.lineHeight=1,t.style.fontSize="1px",t.style.position="absolute",t.textContent="X",document.body.append(t),q(this,Fc,t.getBoundingClientRect().height),t.remove()},zR=function(t,n){const s=y(this,wd).get(t);if(s)return s;const a=oe(this,_o,Ub).call(this,n);a.canvas.width=a.canvas.height=eo,oe(this,_o,r_).call(this,a,eo,t);const o=a.measureText("");let r=o.fontBoundingBoxAscent,i=Math.abs(o.fontBoundingBoxDescent);if(r){const u=r/(r+i);return y(this,wd).set(t,u),a.canvas.width=a.canvas.height=0,u}a.strokeStyle="red",a.clearRect(0,0,eo,eo),a.strokeText("g",0,0);let l=a.getImageData(0,0,eo,eo).data;i=0;for(let u=l.length-1-3;u>=0;u-=4)if(l[u]>0){i=Math.ceil(u/4/eo);break}a.clearRect(0,0,eo,eo),a.strokeText("A",0,eo),l=a.getImageData(0,0,eo,eo).data,r=0;for(let u=0,d=l.length;u0){r=eo-Math.floor(u/4/eo);break}a.canvas.width=a.canvas.height=0;const c=r?r/(r+i):Jbe;return y(this,wd).set(t,c),c},se(Ts,_o),se(Ts,wd,new Map),se(Ts,_d,new Map),se(Ts,_m,new WeakMap),se(Ts,Fc,null),se(Ts,zh,new Set);let Tv=Ts;class Mv{static textContent(t){const n=[],s={items:n,styles:Object.create(null)};function a(o){var l;if(!o)return;let r=null;const i=o.name;if(i==="#text")r=o.value;else if(Mv.shouldBuildText(i))(l=o==null?void 0:o.attributes)!=null&&l.textContent?r=o.attributes.textContent:o.value&&(r=o.value);else return;if(r!==null&&n.push({str:r}),!!o.children)for(const c of o.children)a(c)}return a(t),s}static shouldBuildText(t){return!(t==="textarea"||t==="input"||t==="option"||t==="select")}}const Zbe=65536,Qbe=100,e4e=5e3,t4e=pa?vbe:fbe,n4e=pa?mbe:_P,s4e=pa?pbe:hbe,a4e=pa?gbe:xP;function o4e(e={}){typeof e=="string"||e instanceof URL?e={url:e}:(e instanceof ArrayBuffer||ArrayBuffer.isView(e))&&(e={data:e});const t=new pw,{docId:n}=t,s=e.url?r4e(e.url):null,a=e.data?i4e(e.data):null,o=e.httpHeaders||null,r=e.withCredentials===!0,i=e.password??null,l=e.range instanceof jP?e.range:null,c=Number.isInteger(e.rangeChunkSize)&&e.rangeChunkSize>0?e.rangeChunkSize:Zbe;let u=e.worker instanceof vh?e.worker:null;const d=e.verbosity,h=typeof e.docBaseUrl=="string"&&!Q1(e.docBaseUrl)?e.docBaseUrl:null,p=typeof e.cMapUrl=="string"?e.cMapUrl:null,v=e.cMapPacked!==!1,m=e.CMapReaderFactory||n4e,g=typeof e.standardFontDataUrl=="string"?e.standardFontDataUrl:null,b=e.StandardFontDataFactory||a4e,C=e.stopAtErrors!==!0,w=Number.isInteger(e.maxImageSize)&&e.maxImageSize>-1?e.maxImageSize:-1,_=e.isEvalSupported!==!1,x=typeof e.isOffscreenCanvasSupported=="boolean"?e.isOffscreenCanvasSupported:!pa,E=typeof e.isImageDecoderSupported=="boolean"?e.isImageDecoderSupported:!pa&&(Oa.platform.isFirefox||!globalThis.chrome),T=Number.isInteger(e.canvasMaxAreaInBytes)?e.canvasMaxAreaInBytes:-1,R=typeof e.disableFontFace=="boolean"?e.disableFontFace:pa,I=e.fontExtraProperties===!0,M=e.enableXfa===!0,$=e.ownerDocument||globalThis.document,O=e.disableRange===!0,B=e.disableStream===!0,U=e.disableAutoFetch===!0,J=e.pdfBug===!0,Y=e.CanvasFactory||t4e,N=e.FilterFactory||s4e,L=e.enableHWA===!0,V=l?l.length:e.length??NaN,z=typeof e.useSystemFonts=="boolean"?e.useSystemFonts:!pa&&!R,G=typeof e.useWorkerFetch=="boolean"?e.useWorkerFetch:m===_P&&b===xP&&p&&g&&xv(p,document.baseURI)&&xv(g,document.baseURI),Q=null;j1e(d);const K={canvasFactory:new Y({ownerDocument:$,enableHWA:L}),filterFactory:new N({docId:n,ownerDocument:$}),cMapReaderFactory:G?null:new m({baseUrl:p,isCompressed:v}),standardFontDataFactory:G?null:new b({baseUrl:g})};if(!u){const fe={verbosity:d,port:ul.workerPort};u=fe.port?vh.fromPort(fe):new vh(fe),t._worker=u}const ee={docId:n,apiVersion:"4.10.38",data:a,password:i,disableAutoFetch:U,rangeChunkSize:c,length:V,docBaseUrl:h,enableXfa:M,evaluatorOptions:{maxImageSize:w,disableFontFace:R,ignoreErrors:C,isEvalSupported:_,isOffscreenCanvasSupported:x,isImageDecoderSupported:E,canvasMaxAreaInBytes:T,fontExtraProperties:I,useSystemFonts:z,cMapUrl:G?p:null,standardFontDataUrl:G?g:null}},ae={disableFontFace:R,fontExtraProperties:I,ownerDocument:$,pdfBug:J,styleElement:Q,loadingParams:{disableAutoFetch:U,enableXfa:M}};return u.promise.then(function(){if(t.destroyed)throw new Error("Loading aborted");if(u.destroyed)throw new Error("Worker was destroyed");const fe=u.messageHandler.sendWithPromise("GetDocRequest",ee,a?[a.buffer]:null);let ne;if(l)ne=new Lbe(l,{disableRange:O,disableStream:B});else if(!a){if(!s)throw new Error("getDocument - no `url` parameter provided.");let pe;if(pa)if(xv(s)){if(typeof fetch>"u"||typeof Response>"u"||!("body"in Response.prototype))throw new Error("getDocument - the Fetch API was disabled in Node.js, see `--no-experimental-fetch`.");pe=HP}else pe=qbe;else pe=xv(s)?HP:Hbe;ne=new pe({url:s,length:V,httpHeaders:o,withCredentials:r,rangeChunkSize:c,disableRange:O,disableStream:B})}return fe.then(pe=>{if(t.destroyed)throw new Error("Loading aborted");if(u.destroyed)throw new Error("Worker was destroyed");const he=new kv(n,pe,u.port),ce=new d4e(he,t,ne,ae,K);t._transport=ce,he.send("Ready",null)})}).catch(t._capability.reject),t}function r4e(e){if(e instanceof URL)return e.href;try{return new URL(e,window.location).href}catch{if(pa&&typeof e=="string")return e}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}function i4e(e){if(pa&&typeof Buffer<"u"&&e instanceof Buffer)throw new Error("Please provide binary data as `Uint8Array`, rather than `Buffer`.");if(e instanceof Uint8Array&&e.byteLength===e.buffer.byteLength)return e;if(typeof e=="string")return J1(e);if(e instanceof ArrayBuffer||ArrayBuffer.isView(e)||typeof e=="object"&&!isNaN(e==null?void 0:e.length))return new Uint8Array(e);throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}function WP(e){return typeof e=="object"&&Number.isInteger(e==null?void 0:e.num)&&e.num>=0&&Number.isInteger(e==null?void 0:e.gen)&&e.gen>=0}const Sb=class Sb{constructor(){this._capability=Promise.withResolvers(),this._transport=null,this._worker=null,this.docId=`d${za(Sb,Cb)._++}`,this.destroyed=!1,this.onPassword=null,this.onProgress=null}get promise(){return this._capability.promise}async destroy(){var t,n,s,a;this.destroyed=!0;try{(t=this._worker)!=null&&t.port&&(this._worker._pendingDestroy=!0),await((n=this._transport)==null?void 0:n.destroy())}catch(o){throw(s=this._worker)!=null&&s.port&&delete this._worker._pendingDestroy,o}this._transport=null,(a=this._worker)==null||a.destroy(),this._worker=null}};Cb=new WeakMap,se(Sb,Cb,0);let pw=Sb;class jP{constructor(t,n,s=!1,a=null){this.length=t,this.initialData=n,this.progressiveDone=s,this.contentDispositionFilename=a,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=Promise.withResolvers()}addRangeListener(t){this._rangeListeners.push(t)}addProgressListener(t){this._progressListeners.push(t)}addProgressiveReadListener(t){this._progressiveReadListeners.push(t)}addProgressiveDoneListener(t){this._progressiveDoneListeners.push(t)}onDataRange(t,n){for(const s of this._rangeListeners)s(t,n)}onDataProgress(t,n){this._readyCapability.promise.then(()=>{for(const s of this._progressListeners)s(t,n)})}onDataProgressiveRead(t){this._readyCapability.promise.then(()=>{for(const n of this._progressiveReadListeners)n(t)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const t of this._progressiveDoneListeners)t()})}transportReady(){this._readyCapability.resolve()}requestDataRange(t,n){Bn("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}class l4e{constructor(t,n){this._pdfInfo=t,this._transport=n}get annotationStorage(){return this._transport.annotationStorage}get canvasFactory(){return this._transport.canvasFactory}get filterFactory(){return this._transport.filterFactory}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get isPureXfa(){return dn(this,"isPureXfa",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(t){return this._transport.getPage(t)}getPageIndex(t){return this._transport.getPageIndex(t)}getDestinations(){return this._transport.getDestinations()}getDestination(t){return this._transport.getDestination(t)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig({intent:t="display"}={}){const{renderingIntent:n}=this._transport.getRenderingIntent(t);return this._transport.getOptionalContentConfig(n)}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}saveDocument(){return this._transport.saveDocument()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(t=!1){return this._transport.startCleanup(t||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}cachedPageNumber(t){return this._transport.cachedPageNumber(t)}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}class c4e{constructor(t,n,s,a=!1){se(this,qo);se(this,Bc,null);se(this,El,!1);this._pageIndex=t,this._pageInfo=n,this._transport=s,this._stats=a?new pP:null,this._pdfBug=a,this.commonObjs=s.commonObjs,this.objs=new KP,this._maybeCleanupAfterRender=!1,this._intentStates=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:t,rotation:n=this.rotate,offsetX:s=0,offsetY:a=0,dontFlip:o=!1}={}){return new Sv({viewBox:this.view,userUnit:this.userUnit,scale:t,rotation:n,offsetX:s,offsetY:a,dontFlip:o})}getAnnotations({intent:t="display"}={}){const{renderingIntent:n}=this._transport.getRenderingIntent(t);return this._transport.getAnnotations(this._pageIndex,n)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return dn(this,"isPureXfa",!!this._transport._htmlForXfa)}async getXfa(){var t;return((t=this._transport._htmlForXfa)==null?void 0:t.children[this._pageIndex])||null}render({canvasContext:t,viewport:n,intent:s="display",annotationMode:a=gc.ENABLE,transform:o=null,background:r=null,optionalContentConfigPromise:i=null,annotationCanvasMap:l=null,pageColors:c=null,printAnnotationStorage:u=null,isEditing:d=!1}){var _,x;(_=this._stats)==null||_.time("Overall");const h=this._transport.getRenderingIntent(s,a,u,d),{renderingIntent:p,cacheKey:v}=h;q(this,El,!1),oe(this,qo,qb).call(this),i||(i=this._transport.getOptionalContentConfig(p));let m=this._intentStates.get(v);m||(m=Object.create(null),this._intentStates.set(v,m)),m.streamReaderCancelTimeout&&(clearTimeout(m.streamReaderCancelTimeout),m.streamReaderCancelTimeout=null);const g=!!(p&mo.PRINT);m.displayReadyCapability||(m.displayReadyCapability=Promise.withResolvers(),m.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},(x=this._stats)==null||x.time("Page Request"),this._pumpOperatorList(h));const b=E=>{var T;m.renderTasks.delete(C),(this._maybeCleanupAfterRender||g)&&q(this,El,!0),oe(this,qo,A0).call(this,!g),E?(C.capability.reject(E),this._abortOperatorList({intentState:m,reason:E instanceof Error?E:new Error(E)})):C.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"),(T=globalThis.Stats)!=null&&T.enabled&&globalThis.Stats.add(this.pageNumber,this._stats))},C=new vw({callback:b,params:{canvasContext:t,viewport:n,transform:o,background:r},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:l,operatorList:m.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!g,pdfBug:this._pdfBug,pageColors:c});(m.renderTasks||(m.renderTasks=new Set)).add(C);const w=C.task;return Promise.all([m.displayReadyCapability.promise,i]).then(([E,T])=>{var R;if(this.destroyed){b();return}if((R=this._stats)==null||R.time("Rendering"),!(T.renderingIntent&p))throw new Error("Must use the same `intent`-argument when calling the `PDFPageProxy.render` and `PDFDocumentProxy.getOptionalContentConfig` methods.");C.initializeGraphics({transparency:E,optionalContentConfig:T}),C.operatorListChanged()}).catch(b),w}getOperatorList({intent:t="display",annotationMode:n=gc.ENABLE,printAnnotationStorage:s=null,isEditing:a=!1}={}){var c;function o(){i.operatorList.lastChunk&&(i.opListReadCapability.resolve(i.operatorList),i.renderTasks.delete(l))}const r=this._transport.getRenderingIntent(t,n,s,a,!0);let i=this._intentStates.get(r.cacheKey);i||(i=Object.create(null),this._intentStates.set(r.cacheKey,i));let l;return i.opListReadCapability||(l=Object.create(null),l.operatorListChanged=o,i.opListReadCapability=Promise.withResolvers(),(i.renderTasks||(i.renderTasks=new Set)).add(l),i.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},(c=this._stats)==null||c.time("Page Request"),this._pumpOperatorList(r)),i.opListReadCapability.promise}streamTextContent({includeMarkedContent:t=!1,disableNormalization:n=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:t===!0,disableNormalization:n===!0},{highWaterMark:100,size(a){return a.items.length}})}getTextContent(t={}){if(this._transport._htmlForXfa)return this.getXfa().then(s=>Mv.textContent(s));const n=this.streamTextContent(t);return new Promise(function(s,a){function o(){r.read().then(function({value:l,done:c}){if(c){s(i);return}i.lang??(i.lang=l.lang),Object.assign(i.styles,l.styles),i.items.push(...l.items),o()},a)}const r=n.getReader(),i={items:[],styles:Object.create(null),lang:null};o()})}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const t=[];for(const n of this._intentStates.values())if(this._abortOperatorList({intentState:n,reason:new Error("Page was destroyed."),force:!0}),!n.opListReadCapability)for(const s of n.renderTasks)t.push(s.completed),s.cancel();return this.objs.clear(),q(this,El,!1),oe(this,qo,qb).call(this),Promise.all(t)}cleanup(t=!1){q(this,El,!0);const n=oe(this,qo,A0).call(this,!1);return t&&n&&this._stats&&(this._stats=new pP),n}_startRenderPage(t,n){var a,o;const s=this._intentStates.get(n);s&&((a=this._stats)==null||a.timeEnd("Page Request"),(o=s.displayReadyCapability)==null||o.resolve(t))}_renderPageChunk(t,n){for(let s=0,a=t.length;s{l.read().then(({value:d,done:h})=>{if(h){c.streamReader=null;return}this._transport.destroyed||(this._renderPageChunk(d,c),u())},d=>{if(c.streamReader=null,!this._transport.destroyed){if(c.operatorList){c.operatorList.lastChunk=!0;for(const h of c.renderTasks)h.operatorListChanged();oe(this,qo,A0).call(this,!0)}if(c.displayReadyCapability)c.displayReadyCapability.reject(d);else if(c.opListReadCapability)c.opListReadCapability.reject(d);else throw d}})};u()}_abortOperatorList({intentState:t,reason:n,force:s=!1}){if(t.streamReader){if(t.streamReaderCancelTimeout&&(clearTimeout(t.streamReaderCancelTimeout),t.streamReaderCancelTimeout=null),!s){if(t.renderTasks.size>0)return;if(n instanceof Z8){let a=Qbe;n.extraDelay>0&&n.extraDelay<1e3&&(a+=n.extraDelay),t.streamReaderCancelTimeout=setTimeout(()=>{t.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:t,reason:n,force:!0})},a);return}}if(t.streamReader.cancel(new yc(n.message)).catch(()=>{}),t.streamReader=null,!this._transport.destroyed){for(const[a,o]of this._intentStates)if(o===t){this._intentStates.delete(a);break}this.cleanup()}}}get stats(){return this._stats}}Bc=new WeakMap,El=new WeakMap,qo=new WeakSet,A0=function(t=!1){if(oe(this,qo,qb).call(this),!y(this,El)||this.destroyed)return!1;if(t)return q(this,Bc,setTimeout(()=>{q(this,Bc,null),oe(this,qo,A0).call(this,!1)},e4e)),!1;for(const{renderTasks:n,operatorList:s}of this._intentStates.values())if(n.size>0||!s.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),q(this,El,!1),!0},qb=function(){y(this,Bc)&&(clearTimeout(y(this,Bc)),q(this,Bc,null))};class u4e{constructor(){se(this,kl,new Map);se(this,xb,Promise.resolve())}postMessage(t,n){const s={data:structuredClone(t,n?{transfer:n}:null)};y(this,xb).then(()=>{for(const[a]of y(this,kl))a.call(this,s)})}addEventListener(t,n,s=null){let a=null;if((s==null?void 0:s.signal)instanceof AbortSignal){const{signal:o}=s;if(o.aborted){rn("LoopbackPort - cannot use an `aborted` signal.");return}const r=()=>this.removeEventListener(t,n);a=()=>o.removeEventListener("abort",r),o.addEventListener("abort",r)}y(this,kl).set(n,a)}removeEventListener(t,n){const s=y(this,kl).get(n);s==null||s(),y(this,kl).delete(n)}terminate(){for(const[,t]of y(this,kl))t==null||t();y(this,kl).clear()}}kl=new WeakMap,xb=new WeakMap;const Zn=class Zn{constructor({name:t=null,port:n=null,verbosity:s=K1e()}={}){se(this,Hh);var a;if(this.name=t,this.destroyed=!1,this.verbosity=s,this._readyCapability=Promise.withResolvers(),this._port=null,this._webWorker=null,this._messageHandler=null,n){if((a=y(Zn,Sd))!=null&&a.has(n))throw new Error("Cannot use more than one PDFWorker per port.");(y(Zn,Sd)||q(Zn,Sd,new WeakMap)).set(n,this),this._initializeFromPort(n);return}this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(t){this._port=t,this._messageHandler=new kv("main","worker",t),this._messageHandler.on("ready",function(){}),oe(this,Hh,Gb).call(this)}_initialize(){if(y(Zn,Cd)||y(Zn,Wh,Yb)){this._setupFakeWorker();return}let{workerSrc:t}=Zn;try{Zn._isSameOrigin(window.location.href,t)||(t=Zn._createCDNWrapper(new URL(t,window.location).href));const n=new Worker(t,{type:"module"}),s=new kv("main","worker",n),a=()=>{o.abort(),s.destroy(),n.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},o=new AbortController;n.addEventListener("error",()=>{this._webWorker||a()},{signal:o.signal}),s.on("test",i=>{if(o.abort(),this.destroyed||!i){a();return}this._messageHandler=s,this._port=n,this._webWorker=n,oe(this,Hh,Gb).call(this)}),s.on("ready",i=>{if(o.abort(),this.destroyed){a();return}try{r()}catch{this._setupFakeWorker()}});const r=()=>{const i=new Uint8Array;s.send("test",i,[i.buffer])};r();return}catch{Y1("The worker has been disabled.")}this._setupFakeWorker()}_setupFakeWorker(){y(Zn,Cd)||(rn("Setting up fake worker."),q(Zn,Cd,!0)),Zn._setupFakeWorkerGlobal.then(t=>{if(this.destroyed){this._readyCapability.reject(new Error("Worker was destroyed"));return}const n=new u4e;this._port=n;const s=`fake${za(Zn,Eb)._++}`,a=new kv(s+"_worker",s,n);t.setup(a,n),this._messageHandler=new kv(s,s+"_worker",n),oe(this,Hh,Gb).call(this)}).catch(t=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${t.message}".`))})}destroy(){var t,n,s;this.destroyed=!0,(t=this._webWorker)==null||t.terminate(),this._webWorker=null,(n=y(Zn,Sd))==null||n.delete(this._port),this._port=null,(s=this._messageHandler)==null||s.destroy(),this._messageHandler=null}static fromPort(t){var s;if(!(t!=null&&t.port))throw new Error("PDFWorker.fromPort - invalid method signature.");const n=(s=y(this,Sd))==null?void 0:s.get(t.port);if(n){if(n._pendingDestroy)throw new Error("PDFWorker.fromPort - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return n}return new Zn(t)}static get workerSrc(){if(ul.workerSrc)return ul.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _setupFakeWorkerGlobal(){return dn(this,"_setupFakeWorkerGlobal",(async()=>y(this,Wh,Yb)?y(this,Wh,Yb):(await import(this.workerSrc)).WorkerMessageHandler)())}};Eb=new WeakMap,Cd=new WeakMap,Sd=new WeakMap,Hh=new WeakSet,Gb=function(){this._readyCapability.resolve(),this._messageHandler.send("configure",{verbosity:this.verbosity})},Wh=new WeakSet,Yb=function(){var t;try{return((t=globalThis.pdfjsWorker)==null?void 0:t.WorkerMessageHandler)||null}catch{return null}},se(Zn,Wh),se(Zn,Eb,0),se(Zn,Cd,!1),se(Zn,Sd),pa&&(q(Zn,Cd,!0),ul.workerSrc||(ul.workerSrc="./pdf.worker.mjs")),Zn._isSameOrigin=(t,n)=>{let s;try{if(s=new URL(t),!s.origin||s.origin==="null")return!1}catch{return!1}const a=new URL(n,s);return s.origin===a.origin},Zn._createCDNWrapper=t=>{const n=`await import("${t}");`;return URL.createObjectURL(new Blob([n],{type:"text/javascript"}))};let vh=Zn;class d4e{constructor(t,n,s,a,o){se(this,xd);se(this,Al,new Map);se(this,_i,new Map);se(this,jh,new Map);se(this,Kh,new Map);se(this,Tl,null);this.messageHandler=t,this.loadingTask=n,this.commonObjs=new KP,this.fontLoader=new ube({ownerDocument:a.ownerDocument,styleElement:a.styleElement}),this.loadingParams=a.loadingParams,this._params=a,this.canvasFactory=o.canvasFactory,this.filterFactory=o.filterFactory,this.cMapReaderFactory=o.cMapReaderFactory,this.standardFontDataFactory=o.standardFontDataFactory,this.destroyed=!1,this.destroyCapability=null,this._networkStream=s,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=Promise.withResolvers(),this.setupMessageHandler()}get annotationStorage(){return dn(this,"annotationStorage",new iw)}getRenderingIntent(t,n=gc.ENABLE,s=null,a=!1,o=!1){let r=mo.DISPLAY,i=rw;switch(t){case"any":r=mo.ANY;break;case"display":break;case"print":r=mo.PRINT;break;default:rn(`getRenderingIntent - invalid intent: ${t}`)}const l=r&mo.PRINT&&s instanceof gP?s:this.annotationStorage;switch(n){case gc.DISABLE:r+=mo.ANNOTATIONS_DISABLE;break;case gc.ENABLE:break;case gc.ENABLE_FORMS:r+=mo.ANNOTATIONS_FORMS;break;case gc.ENABLE_STORAGE:r+=mo.ANNOTATIONS_STORAGE,i=l.serializable;break;default:rn(`getRenderingIntent - invalid annotationMode: ${n}`)}a&&(r+=mo.IS_EDITING),o&&(r+=mo.OPLIST);const{ids:c,hash:u}=l.modifiedIds,d=[r,i.hash,u];return{renderingIntent:r,cacheKey:d.join("_"),annotationStorageSerializable:i,modifiedIds:c}}destroy(){var s;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),(s=y(this,Tl))==null||s.reject(new Error("Worker was destroyed during onPassword callback"));const t=[];for(const a of y(this,_i).values())t.push(a._destroy());y(this,_i).clear(),y(this,jh).clear(),y(this,Kh).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const n=this.messageHandler.sendWithPromise("Terminate",null);return t.push(n),Promise.all(t).then(()=>{var a,o;this.commonObjs.clear(),this.fontLoader.clear(),y(this,Al).clear(),this.filterFactory.destroy(),Tv.cleanup(),(a=this._networkStream)==null||a.cancelAllRequests(new yc("Worker was terminated.")),(o=this.messageHandler)==null||o.destroy(),this.messageHandler=null,this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:t,loadingTask:n}=this;t.on("GetReader",(s,a)=>{bs(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=o=>{this._lastProgress={loaded:o.loaded,total:o.total}},a.onPull=()=>{this._fullReader.read().then(function({value:o,done:r}){if(r){a.close();return}bs(o instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),a.enqueue(new Uint8Array(o),1,[o])}).catch(o=>{a.error(o)})},a.onCancel=o=>{this._fullReader.cancel(o),a.ready.catch(r=>{if(!this.destroyed)throw r})}}),t.on("ReaderHeadersReady",async s=>{var i;await this._fullReader.headersReady;const{isStreamingSupported:a,isRangeSupported:o,contentLength:r}=this._fullReader;return(!a||!o)&&(this._lastProgress&&((i=n.onProgress)==null||i.call(n,this._lastProgress)),this._fullReader.onProgress=l=>{var c;(c=n.onProgress)==null||c.call(n,{loaded:l.loaded,total:l.total})}),{isStreamingSupported:a,isRangeSupported:o,contentLength:r}}),t.on("GetRangeReader",(s,a)=>{bs(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const o=this._networkStream.getRangeReader(s.begin,s.end);if(!o){a.close();return}a.onPull=()=>{o.read().then(function({value:r,done:i}){if(i){a.close();return}bs(r instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),a.enqueue(new Uint8Array(r),1,[r])}).catch(r=>{a.error(r)})},a.onCancel=r=>{o.cancel(r),a.ready.catch(i=>{if(!this.destroyed)throw i})}}),t.on("GetDoc",({pdfInfo:s})=>{this._numPages=s.numPages,this._htmlForXfa=s.htmlForXfa,delete s.htmlForXfa,n._capability.resolve(new l4e(s,this))}),t.on("DocException",s=>{n._capability.reject(Za(s))}),t.on("PasswordRequest",s=>{q(this,Tl,Promise.withResolvers());try{if(!n.onPassword)throw Za(s);const a=o=>{o instanceof Error?y(this,Tl).reject(o):y(this,Tl).resolve({password:o})};n.onPassword(a,s.code)}catch(a){y(this,Tl).reject(a)}return y(this,Tl).promise}),t.on("DataLoaded",s=>{var a;(a=n.onProgress)==null||a.call(n,{loaded:s.length,total:s.length}),this.downloadInfoCapability.resolve(s)}),t.on("StartRenderPage",s=>{if(this.destroyed)return;y(this,_i).get(s.pageIndex)._startRenderPage(s.transparency,s.cacheKey)}),t.on("commonobj",([s,a,o])=>{var r;if(this.destroyed||this.commonObjs.has(s))return null;switch(a){case"Font":const{disableFontFace:i,fontExtraProperties:l,pdfBug:c}=this._params;if("error"in o){const p=o.error;rn(`Error during font loading: ${p}`),this.commonObjs.resolve(s,p);break}const u=c&&((r=globalThis.FontInspector)!=null&&r.enabled)?(p,v)=>globalThis.FontInspector.fontAdded(p,v):null,d=new dbe(o,{disableFontFace:i,fontExtraProperties:l,inspectFont:u});this.fontLoader.bind(d).catch(()=>t.sendWithPromise("FontFallback",{id:s})).finally(()=>{!l&&d.data&&(d.data=null),this.commonObjs.resolve(s,d)});break;case"CopyLocalImage":const{imageRef:h}=o;bs(h,"The imageRef must be defined.");for(const p of y(this,_i).values())for(const[,v]of p.objs)if((v==null?void 0:v.ref)===h)return v.dataLen?(this.commonObjs.resolve(s,structuredClone(v)),v.dataLen):null;break;case"FontPath":case"Image":case"Pattern":this.commonObjs.resolve(s,o);break;default:throw new Error(`Got unknown common object type ${a}`)}return null}),t.on("obj",([s,a,o,r])=>{var l;if(this.destroyed)return;const i=y(this,_i).get(a);if(!i.objs.has(s)){if(i._intentStates.size===0){(l=r==null?void 0:r.bitmap)==null||l.close();return}switch(o){case"Image":i.objs.resolve(s,r),(r==null?void 0:r.dataLen)>V1e&&(i._maybeCleanupAfterRender=!0);break;case"Pattern":i.objs.resolve(s,r);break;default:throw new Error(`Got unknown object type ${o}`)}}}),t.on("DocProgress",s=>{var a;this.destroyed||(a=n.onProgress)==null||a.call(n,{loaded:s.loaded,total:s.total})}),t.on("FetchBuiltInCMap",async s=>{if(this.destroyed)throw new Error("Worker was destroyed.");if(!this.cMapReaderFactory)throw new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter.");return this.cMapReaderFactory.fetch(s)}),t.on("FetchStandardFontData",async s=>{if(this.destroyed)throw new Error("Worker was destroyed.");if(!this.standardFontDataFactory)throw new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.");return this.standardFontDataFactory.fetch(s)})}getData(){return this.messageHandler.sendWithPromise("GetData",null)}saveDocument(){var s;this.annotationStorage.size<=0&&rn("saveDocument called while `annotationStorage` is empty, please use the getData-method instead.");const{map:t,transfer:n}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:t,filename:((s=this._fullReader)==null?void 0:s.filename)??null},n).finally(()=>{this.annotationStorage.resetModified()})}getPage(t){if(!Number.isInteger(t)||t<=0||t>this._numPages)return Promise.reject(new Error("Invalid page request."));const n=t-1,s=y(this,jh).get(n);if(s)return s;const a=this.messageHandler.sendWithPromise("GetPage",{pageIndex:n}).then(o=>{if(this.destroyed)throw new Error("Transport destroyed");o.refStr&&y(this,Kh).set(o.refStr,t);const r=new c4e(n,o,this,this._params.pdfBug);return y(this,_i).set(n,r),r});return y(this,jh).set(n,a),a}getPageIndex(t){return WP(t)?this.messageHandler.sendWithPromise("GetPageIndex",{num:t.num,gen:t.gen}):Promise.reject(new Error("Invalid pageIndex request."))}getAnnotations(t,n){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:t,intent:n})}getFieldObjects(){return oe(this,xd,h2).call(this,"GetFieldObjects")}hasJSActions(){return oe(this,xd,h2).call(this,"HasJSActions")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(t){return typeof t!="string"?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:t})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getDocJSActions(){return oe(this,xd,h2).call(this,"GetDocJSActions")}getPageJSActions(t){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:t})}getStructTree(t){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:t})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(t){return oe(this,xd,h2).call(this,"GetOptionalContentConfig").then(n=>new Obe(n,t))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){const t="GetMetadata",n=y(this,Al).get(t);if(n)return n;const s=this.messageHandler.sendWithPromise(t,null).then(a=>{var o,r;return{info:a[0],metadata:a[1]?new Rbe(a[1]):null,contentDispositionFilename:((o=this._fullReader)==null?void 0:o.filename)??null,contentLength:((r=this._fullReader)==null?void 0:r.contentLength)??null}});return y(this,Al).set(t,s),s}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(t=!1){if(!this.destroyed){await this.messageHandler.sendWithPromise("Cleanup",null);for(const n of y(this,_i).values())if(!n.cleanup())throw new Error(`startCleanup: Page ${n.pageNumber} is currently rendering.`);this.commonObjs.clear(),t||this.fontLoader.clear(),y(this,Al).clear(),this.filterFactory.destroy(!0),Tv.cleanup()}}cachedPageNumber(t){if(!WP(t))return null;const n=t.gen===0?`${t.num}R`:`${t.num}R${t.gen}`;return y(this,Kh).get(n)??null}}Al=new WeakMap,_i=new WeakMap,jh=new WeakMap,Kh=new WeakMap,Tl=new WeakMap,xd=new WeakSet,h2=function(t,n=null){const s=y(this,Al).get(t);if(s)return s;const a=this.messageHandler.sendWithPromise(t,n);return y(this,Al).set(t,a),a};const Pv=Symbol("INITIAL_DATA");class KP{constructor(){se(this,Cm);se(this,Co,Object.create(null))}get(t,n=null){if(n){const a=oe(this,Cm,i_).call(this,t);return a.promise.then(()=>n(a.data)),null}const s=y(this,Co)[t];if(!s||s.data===Pv)throw new Error(`Requesting object that isn't resolved yet ${t}.`);return s.data}has(t){const n=y(this,Co)[t];return!!n&&n.data!==Pv}delete(t){const n=y(this,Co)[t];return!n||n.data===Pv?!1:(delete y(this,Co)[t],!0)}resolve(t,n=null){const s=oe(this,Cm,i_).call(this,t);s.data=n,s.resolve()}clear(){var t;for(const n in y(this,Co)){const{data:s}=y(this,Co)[n];(t=s==null?void 0:s.bitmap)==null||t.close()}q(this,Co,Object.create(null))}*[Symbol.iterator](){for(const t in y(this,Co)){const{data:n}=y(this,Co)[t];n!==Pv&&(yield[t,n])}}}Co=new WeakMap,Cm=new WeakSet,i_=function(t){var n;return(n=y(this,Co))[t]||(n[t]={...Promise.withResolvers(),data:Pv})};class f4e{constructor(t){se(this,Vc,null);q(this,Vc,t),this.onContinue=null}get promise(){return y(this,Vc).capability.promise}cancel(t=0){y(this,Vc).cancel(null,t)}get separateAnnots(){const{separateAnnots:t}=y(this,Vc).operatorList;if(!t)return!1;const{annotationCanvasMap:n}=y(this,Vc);return t.form||t.canvas&&(n==null?void 0:n.size)>0}}Vc=new WeakMap;const kd=class kd{constructor({callback:t,params:n,objs:s,commonObjs:a,annotationCanvasMap:o,operatorList:r,pageIndex:i,canvasFactory:l,filterFactory:c,useRequestAnimationFrame:u=!1,pdfBug:d=!1,pageColors:h=null}){se(this,zc,null);this.callback=t,this.params=n,this.objs=s,this.commonObjs=a,this.annotationCanvasMap=o,this.operatorListIdx=null,this.operatorList=r,this._pageIndex=i,this.canvasFactory=l,this.filterFactory=c,this._pdfBug=d,this.pageColors=h,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=u===!0&&typeof window<"u",this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new f4e(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=n.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:t=!1,optionalContentConfig:n}){var i,l;if(this.cancelled)return;if(this._canvas){if(y(kd,Ed).has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");y(kd,Ed).add(this._canvas)}this._pdfBug&&((i=globalThis.StepperManager)!=null&&i.enabled)&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:s,viewport:a,transform:o,background:r}=this.params;this.gfx=new hh(s,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:n},this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:o,viewport:a,transparency:t,background:r}),this.operatorListIdx=0,this.graphicsReady=!0,(l=this.graphicsReadyCallback)==null||l.call(this)}cancel(t=null,n=0){var s;this.running=!1,this.cancelled=!0,(s=this.gfx)==null||s.endDrawing(),y(this,zc)&&(window.cancelAnimationFrame(y(this,zc)),q(this,zc,null)),y(kd,Ed).delete(this._canvas),this.callback(t||new Z8(`Rendering cancelled, page ${this._pageIndex+1}`,n))}operatorListChanged(){var t;if(!this.graphicsReady){this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound);return}(t=this.stepper)==null||t.updateOperatorList(this.operatorList),!this.running&&this._continue()}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?q(this,zc,window.requestAnimationFrame(()=>{q(this,zc,null),this._nextBound().catch(this._cancelBound)})):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),y(kd,Ed).delete(this._canvas),this.callback())))}};zc=new WeakMap,Ed=new WeakMap,se(kd,Ed,new WeakSet);let vw=kd;const h4e="4.10.38",p4e="f9bea397f";function UP(e){return Math.floor(Math.max(0,Math.min(1,e))*255).toString(16).padStart(2,"0")}function Rv(e){return Math.max(0,Math.min(255,255*e))}class qP{static CMYK_G([t,n,s,a]){return["G",1-Math.min(1,.3*t+.59*s+.11*n+a)]}static G_CMYK([t]){return["CMYK",0,0,0,1-t]}static G_RGB([t]){return["RGB",t,t,t]}static G_rgb([t]){return t=Rv(t),[t,t,t]}static G_HTML([t]){const n=UP(t);return`#${n}${n}${n}`}static RGB_G([t,n,s]){return["G",.3*t+.59*n+.11*s]}static RGB_rgb(t){return t.map(Rv)}static RGB_HTML(t){return`#${t.map(UP).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB([t,n,s,a]){return["RGB",1-Math.min(1,t+a),1-Math.min(1,s+a),1-Math.min(1,n+a)]}static CMYK_rgb([t,n,s,a]){return[Rv(1-Math.min(1,t+a)),Rv(1-Math.min(1,s+a)),Rv(1-Math.min(1,n+a))]}static CMYK_HTML(t){const n=this.CMYK_RGB(t).slice(1);return this.RGB_HTML(n)}static RGB_CMYK([t,n,s]){const a=1-t,o=1-n,r=1-s,i=Math.min(a,o,r);return["CMYK",a,o,r,i]}}class v4e{create(t,n,s=!1){if(t<=0||n<=0)throw new Error("Invalid SVG dimensions");const a=this._createSVG("svg:svg");return a.setAttribute("version","1.1"),s||(a.setAttribute("width",`${t}px`),a.setAttribute("height",`${n}px`)),a.setAttribute("preserveAspectRatio","none"),a.setAttribute("viewBox",`0 0 ${t} ${n}`),a}createElement(t){if(typeof t!="string")throw new Error("Invalid SVG element type");return this._createSVG(t)}_createSVG(t){Bn("Abstract method `_createSVG` called.")}}class mw extends v4e{_createSVG(t){return document.createElementNS(cl,t)}}class GP{static setupStorage(t,n,s,a,o){const r=a.getValue(n,{value:null});switch(s.name){case"textarea":if(r.value!==null&&(t.textContent=r.value),o==="print")break;t.addEventListener("input",i=>{a.setValue(n,{value:i.target.value})});break;case"input":if(s.attributes.type==="radio"||s.attributes.type==="checkbox"){if(r.value===s.attributes.xfaOn?t.setAttribute("checked",!0):r.value===s.attributes.xfaOff&&t.removeAttribute("checked"),o==="print")break;t.addEventListener("change",i=>{a.setValue(n,{value:i.target.checked?i.target.getAttribute("xfaOn"):i.target.getAttribute("xfaOff")})})}else{if(r.value!==null&&t.setAttribute("value",r.value),o==="print")break;t.addEventListener("input",i=>{a.setValue(n,{value:i.target.value})})}break;case"select":if(r.value!==null){t.setAttribute("value",r.value);for(const i of s.children)i.attributes.value===r.value?i.attributes.selected=!0:i.attributes.hasOwnProperty("selected")&&delete i.attributes.selected}t.addEventListener("input",i=>{const l=i.target.options,c=l.selectedIndex===-1?"":l[l.selectedIndex].value;a.setValue(n,{value:c})});break}}static setAttributes({html:t,element:n,storage:s=null,intent:a,linkService:o}){const{attributes:r}=n,i=t instanceof HTMLAnchorElement;r.type==="radio"&&(r.name=`${r.name}-${a}`);for(const[l,c]of Object.entries(r))if(c!=null)switch(l){case"class":c.length&&t.setAttribute(l,c.join(" "));break;case"dataId":break;case"id":t.setAttribute("data-element-id",c);break;case"style":Object.assign(t.style,c);break;case"textContent":t.textContent=c;break;default:(!i||l!=="href"&&l!=="newWindow")&&t.setAttribute(l,c)}i&&o.addLinkAttributes(t,r.href,r.newWindow),s&&r.dataId&&this.setupStorage(t,r.dataId,n,s)}static render(t){var d,h;const n=t.annotationStorage,s=t.linkService,a=t.xfaHtml,o=t.intent||"display",r=document.createElement(a.name);a.attributes&&this.setAttributes({html:r,element:a,intent:o,linkService:s});const i=o!=="richText",l=t.div;if(l.append(r),t.viewport){const p=`matrix(${t.viewport.transform.join(",")})`;l.style.transform=p}i&&l.setAttribute("class","xfaLayer xfaFont");const c=[];if(a.children.length===0){if(a.value){const p=document.createTextNode(a.value);r.append(p),i&&Mv.shouldBuildText(a.name)&&c.push(p)}return{textDivs:c}}const u=[[a,-1,r]];for(;u.length>0;){const[p,v,m]=u.at(-1);if(v+1===p.children.length){u.pop();continue}const g=p.children[++u.at(-1)[1]];if(g===null)continue;const{name:b}=g;if(b==="#text"){const w=document.createTextNode(g.value);c.push(w),m.append(w);continue}const C=(d=g==null?void 0:g.attributes)!=null&&d.xmlns?document.createElementNS(g.attributes.xmlns,b):document.createElement(b);if(m.append(C),g.attributes&&this.setAttributes({html:C,element:g,storage:n,intent:o,linkService:s}),((h=g.children)==null?void 0:h.length)>0)u.push([g,-1,C]);else if(g.value){const w=document.createTextNode(g.value);i&&Mv.shouldBuildText(b)&&c.push(w),C.append(w)}}for(const p of l.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))p.setAttribute("readOnly",!0);return{textDivs:c}}static update(t){const n=`matrix(${t.viewport.transform.join(",")})`;t.div.style.transform=n,t.div.hidden=!1}}const Iv=1e3,m4e=9,ju=new WeakSet;function _c(e){return{width:e[2]-e[0],height:e[3]-e[1]}}class g4e{static create(t){switch(t.data.annotationType){case ks.LINK:return new YP(t);case ks.TEXT:return new b4e(t);case ks.WIDGET:switch(t.data.fieldType){case"Tx":return new y4e(t);case"Btn":return t.data.radioButton?new XP(t):t.data.checkBox?new _4e(t):new C4e(t);case"Ch":return new S4e(t);case"Sig":return new w4e(t)}return new Ku(t);case ks.POPUP:return new gw(t);case ks.FREETEXT:return new JP(t);case ks.LINE:return new E4e(t);case ks.SQUARE:return new k4e(t);case ks.CIRCLE:return new A4e(t);case ks.POLYLINE:return new ZP(t);case ks.CARET:return new M4e(t);case ks.INK:return new bw(t);case ks.POLYGON:return new T4e(t);case ks.HIGHLIGHT:return new QP(t);case ks.UNDERLINE:return new P4e(t);case ks.SQUIGGLY:return new R4e(t);case ks.STRIKEOUT:return new I4e(t);case ks.STAMP:return new eR(t);case ks.FILEATTACHMENT:return new O4e(t);default:return new us(t)}}}const Rw=class Rw{constructor(t,{isRenderable:n=!1,ignoreBorder:s=!1,createQuadrilaterals:a=!1}={}){se(this,Sm);se(this,Ad,null);se(this,Uh,!1);se(this,qh,null);this.isRenderable=n,this.data=t.data,this.layer=t.layer,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderForms=t.renderForms,this.svgFactory=t.svgFactory,this.annotationStorage=t.annotationStorage,this.enableScripting=t.enableScripting,this.hasJSActions=t.hasJSActions,this._fieldObjects=t.fieldObjects,this.parent=t.parent,n&&(this.container=this._createContainer(s)),a&&this._createQuadrilaterals()}static _hasPopupData({titleObj:t,contentsObj:n,richText:s}){return!!(t!=null&&t.str||n!=null&&n.str||s!=null&&s.str)}get _isEditable(){return this.data.isEditable}get hasPopupData(){return Rw._hasPopupData(this.data)}updateEdited(t){var s;if(!this.container)return;y(this,Ad)||q(this,Ad,{rect:this.data.rect.slice(0)});const{rect:n}=t;n&&oe(this,Sm,l_).call(this,n),(s=y(this,qh))==null||s.popup.updateEdited(t)}resetEdited(){var t;y(this,Ad)&&(oe(this,Sm,l_).call(this,y(this,Ad).rect),(t=y(this,qh))==null||t.popup.resetEdited(),q(this,Ad,null))}_createContainer(t){const{data:n,parent:{page:s,viewport:a}}=this,o=document.createElement("section");o.setAttribute("data-annotation-id",n.id),this instanceof Ku||(o.tabIndex=Iv);const{style:r}=o;if(r.zIndex=this.parent.zIndex++,n.alternativeText&&(o.title=n.alternativeText),n.noRotate&&o.classList.add("norotate"),!n.rect||this instanceof gw){const{rotation:m}=n;return!n.hasOwnCanvas&&m!==0&&this.setRotation(m,o),o}const{width:i,height:l}=_c(n.rect);if(!t&&n.borderStyle.width>0){r.borderWidth=`${n.borderStyle.width}px`;const m=n.borderStyle.horizontalCornerRadius,g=n.borderStyle.verticalCornerRadius;if(m>0||g>0){const C=`calc(${m}px * var(--scale-factor)) / calc(${g}px * var(--scale-factor))`;r.borderRadius=C}else if(this instanceof XP){const C=`calc(${i}px * var(--scale-factor)) / calc(${l}px * var(--scale-factor))`;r.borderRadius=C}switch(n.borderStyle.style){case _v.SOLID:r.borderStyle="solid";break;case _v.DASHED:r.borderStyle="dashed";break;case _v.BEVELED:rn("Unimplemented border style: beveled");break;case _v.INSET:rn("Unimplemented border style: inset");break;case _v.UNDERLINE:r.borderBottomStyle="solid";break}const b=n.borderColor||null;b?(q(this,Uh,!0),r.borderColor=Nt.makeHexColor(b[0]|0,b[1]|0,b[2]|0)):r.borderWidth=0}const c=Nt.normalizeRect([n.rect[0],s.view[3]-n.rect[1]+s.view[1],n.rect[2],s.view[3]-n.rect[3]+s.view[1]]),{pageWidth:u,pageHeight:d,pageX:h,pageY:p}=a.rawDims;r.left=`${100*(c[0]-h)/u}%`,r.top=`${100*(c[1]-p)/d}%`;const{rotation:v}=n;return n.hasOwnCanvas||v===0?(r.width=`${100*i/u}%`,r.height=`${100*l/d}%`):this.setRotation(v,o),o}setRotation(t,n=this.container){if(!this.data.rect)return;const{pageWidth:s,pageHeight:a}=this.parent.viewport.rawDims,{width:o,height:r}=_c(this.data.rect);let i,l;t%180===0?(i=100*o/s,l=100*r/a):(i=100*r/s,l=100*o/a),n.style.width=`${i}%`,n.style.height=`${l}%`,n.setAttribute("data-main-rotation",(360-t)%360)}get _commonActions(){const t=(n,s,a)=>{const o=a.detail[n],r=o[0],i=o.slice(1);a.target.style[s]=qP[`${r}_HTML`](i),this.annotationStorage.setValue(this.data.id,{[s]:qP[`${r}_rgb`](i)})};return dn(this,"_commonActions",{display:n=>{const{display:s}=n.detail,a=s%2===1;this.container.style.visibility=a?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noView:a,noPrint:s===1||s===2})},print:n=>{this.annotationStorage.setValue(this.data.id,{noPrint:!n.detail.print})},hidden:n=>{const{hidden:s}=n.detail;this.container.style.visibility=s?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:s,noView:s})},focus:n=>{setTimeout(()=>n.target.focus({preventScroll:!1}),0)},userName:n=>{n.target.title=n.detail.userName},readonly:n=>{n.target.disabled=n.detail.readonly},required:n=>{this._setRequired(n.target,n.detail.required)},bgColor:n=>{t("bgColor","backgroundColor",n)},fillColor:n=>{t("fillColor","backgroundColor",n)},fgColor:n=>{t("fgColor","color",n)},textColor:n=>{t("textColor","color",n)},borderColor:n=>{t("borderColor","borderColor",n)},strokeColor:n=>{t("strokeColor","borderColor",n)},rotation:n=>{const s=n.detail.rotation;this.setRotation(s),this.annotationStorage.setValue(this.data.id,{rotation:s})}})}_dispatchEventFromSandbox(t,n){const s=this._commonActions;for(const a of Object.keys(n.detail)){const o=t[a]||s[a];o==null||o(n)}}_setDefaultPropertiesFromJS(t){if(!this.enableScripting)return;const n=this.annotationStorage.getRawValue(this.data.id);if(!n)return;const s=this._commonActions;for(const[a,o]of Object.entries(n)){const r=s[a];if(r){const i={detail:{[a]:o},target:t};r(i),delete n[a]}}}_createQuadrilaterals(){if(!this.container)return;const{quadPoints:t}=this.data;if(!t)return;const[n,s,a,o]=this.data.rect.map(m=>Math.fround(m));if(t.length===8){const[m,g,b,C]=t.subarray(2,6);if(a===m&&o===g&&n===b&&s===C)return}const{style:r}=this.container;let i;if(y(this,Uh)){const{borderColor:m,borderWidth:g}=r;r.borderWidth=0,i=["url('data:image/svg+xml;utf8,",'',``],this.container.classList.add("hasBorder")}const l=a-n,c=o-s,{svgFactory:u}=this,d=u.createElement("svg");d.classList.add("quadrilateralsContainer"),d.setAttribute("width",0),d.setAttribute("height",0);const h=u.createElement("defs");d.append(h);const p=u.createElement("clipPath"),v=`clippath_${this.data.id}`;p.setAttribute("id",v),p.setAttribute("clipPathUnits","objectBoundingBox"),h.append(p);for(let m=2,g=t.length;m`)}y(this,Uh)&&(i.push("')"),r.backgroundImage=i.join("")),this.container.append(d),this.container.style.clipPath=`url(#${v})`}_createPopup(){const{data:t}=this,n=q(this,qh,new gw({data:{color:t.color,titleObj:t.titleObj,modificationDate:t.modificationDate,contentsObj:t.contentsObj,richText:t.richText,parentRect:t.rect,borderStyle:0,id:`popup_${t.id}`,rotation:t.rotation},parent:this.parent,elements:[this]}));this.parent.div.append(n.render())}render(){Bn("Abstract method `AnnotationElement.render` called")}_getElementsByName(t,n=null){const s=[];if(this._fieldObjects){const a=this._fieldObjects[t];if(a)for(const{page:o,id:r,exportValues:i}of a){if(o===-1||r===n)continue;const l=typeof i=="string"?i:null,c=document.querySelector(`[data-element-id="${r}"]`);if(c&&!ju.has(c)){rn(`_getElementsByName - element not allowed: ${r}`);continue}s.push({id:r,exportValue:l,domElement:c})}return s}for(const a of document.getElementsByName(t)){const{exportValue:o}=a,r=a.getAttribute("data-element-id");r!==n&&ju.has(a)&&s.push({id:r,exportValue:o,domElement:a})}return s}show(){var t;this.container&&(this.container.hidden=!1),(t=this.popup)==null||t.maybeShow()}hide(){var t;this.container&&(this.container.hidden=!0),(t=this.popup)==null||t.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){const t=this.getElementsToTriggerPopup();if(Array.isArray(t))for(const n of t)n.classList.add("highlightArea");else t.classList.add("highlightArea")}_editOnDoubleClick(){if(!this._isEditable)return;const{annotationEditorType:t,data:{id:n}}=this;this.container.addEventListener("dblclick",()=>{var s;(s=this.linkService.eventBus)==null||s.dispatch("switchannotationeditormode",{source:this,mode:t,editId:n})})}};Ad=new WeakMap,Uh=new WeakMap,qh=new WeakMap,Sm=new WeakSet,l_=function(t){const{container:{style:n},data:{rect:s,rotation:a},parent:{viewport:{rawDims:{pageWidth:o,pageHeight:r,pageX:i,pageY:l}}}}=this;s==null||s.splice(0,4,...t);const{width:c,height:u}=_c(t);n.left=`${100*(t[0]-i)/o}%`,n.top=`${100*(r-t[3]+l)/r}%`,a===0?(n.width=`${100*c/o}%`,n.height=`${100*u/r}%`):this.setRotation(a)};let us=Rw;class YP extends us{constructor(n,s=null){super(n,{isRenderable:!0,ignoreBorder:!!(s!=null&&s.ignoreBorder),createQuadrilaterals:!0});se(this,So);this.isTooltipOnly=n.data.isTooltipOnly}render(){const{data:n,linkService:s}=this,a=document.createElement("a");a.setAttribute("data-element-id",n.id);let o=!1;return n.url?(s.addLinkAttributes(a,n.url,n.newWindow),o=!0):n.action?(this._bindNamedAction(a,n.action),o=!0):n.attachment?(oe(this,So,HR).call(this,a,n.attachment,n.attachmentDest),o=!0):n.setOCGState?(oe(this,So,WR).call(this,a,n.setOCGState),o=!0):n.dest?(this._bindLink(a,n.dest),o=!0):(n.actions&&(n.actions.Action||n.actions["Mouse Up"]||n.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(a,n),o=!0),n.resetForm?(this._bindResetFormAction(a,n.resetForm),o=!0):this.isTooltipOnly&&!o&&(this._bindLink(a,""),o=!0)),this.container.classList.add("linkAnnotation"),o&&this.container.append(a),this.container}_bindLink(n,s){n.href=this.linkService.getDestinationHash(s),n.onclick=()=>(s&&this.linkService.goToDestination(s),!1),(s||s==="")&&oe(this,So,sf).call(this)}_bindNamedAction(n,s){n.href=this.linkService.getAnchorUrl(""),n.onclick=()=>(this.linkService.executeNamedAction(s),!1),oe(this,So,sf).call(this)}_bindJSAction(n,s){n.href=this.linkService.getAnchorUrl("");const a=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const o of Object.keys(s.actions)){const r=a.get(o);r&&(n[r]=()=>{var i;return(i=this.linkService.eventBus)==null||i.dispatch("dispatcheventinsandbox",{source:this,detail:{id:s.id,name:o}}),!1})}n.onclick||(n.onclick=()=>!1),oe(this,So,sf).call(this)}_bindResetFormAction(n,s){const a=n.onclick;if(a||(n.href=this.linkService.getAnchorUrl("")),oe(this,So,sf).call(this),!this._fieldObjects){rn('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),a||(n.onclick=()=>!1);return}n.onclick=()=>{var d;a==null||a();const{fields:o,refs:r,include:i}=s,l=[];if(o.length!==0||r.length!==0){const h=new Set(r);for(const p of o){const v=this._fieldObjects[p]||[];for(const{id:m}of v)h.add(m)}for(const p of Object.values(this._fieldObjects))for(const v of p)h.has(v.id)===i&&l.push(v)}else for(const h of Object.values(this._fieldObjects))l.push(...h);const c=this.annotationStorage,u=[];for(const h of l){const{id:p}=h;switch(u.push(p),h.type){case"text":{const m=h.defaultValue||"";c.setValue(p,{value:m});break}case"checkbox":case"radiobutton":{const m=h.defaultValue===h.exportValues;c.setValue(p,{value:m});break}case"combobox":case"listbox":{const m=h.defaultValue||"";c.setValue(p,{value:m});break}default:continue}const v=document.querySelector(`[data-element-id="${p}"]`);if(v){if(!ju.has(v)){rn(`_bindResetFormAction - element not allowed: ${p}`);continue}}else continue;v.dispatchEvent(new Event("resetform"))}return this.enableScripting&&((d=this.linkService.eventBus)==null||d.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:u,name:"ResetForm"}})),!1}}}So=new WeakSet,sf=function(){this.container.setAttribute("data-internal-link","")},HR=function(n,s,a=null){n.href=this.linkService.getAnchorUrl(""),s.description&&(n.title=s.description),n.onclick=()=>{var o;return(o=this.downloadManager)==null||o.openOrDownloadData(s.content,s.filename,a),!1},oe(this,So,sf).call(this)},WR=function(n,s){n.href=this.linkService.getAnchorUrl(""),n.onclick=()=>(this.linkService.executeSetOCGState(s),!1),oe(this,So,sf).call(this)};class b4e extends us{constructor(t){super(t,{isRenderable:!0})}render(){this.container.classList.add("textAnnotation");const t=document.createElement("img");return t.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",t.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),t.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.append(t),this.container}}class Ku extends us{render(){return this.container}showElementAndHideCanvas(t){var n;this.data.hasOwnCanvas&&(((n=t.previousSibling)==null?void 0:n.nodeName)==="CANVAS"&&(t.previousSibling.hidden=!0),t.hidden=!1)}_getKeyModifier(t){return Oa.platform.isMac?t.metaKey:t.ctrlKey}_setEventListener(t,n,s,a,o){s.includes("mouse")?t.addEventListener(s,r=>{var i;(i=this.linkService.eventBus)==null||i.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:a,value:o(r),shift:r.shiftKey,modifier:this._getKeyModifier(r)}})}):t.addEventListener(s,r=>{var i;if(s==="blur"){if(!n.focused||!r.relatedTarget)return;n.focused=!1}else if(s==="focus"){if(n.focused)return;n.focused=!0}o&&((i=this.linkService.eventBus)==null||i.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:a,value:o(r)}}))})}_setEventListeners(t,n,s,a){var o,r,i;for(const[l,c]of s)(c==="Action"||(o=this.data.actions)!=null&&o[c])&&((c==="Focus"||c==="Blur")&&(n||(n={focused:!1})),this._setEventListener(t,n,l,c,a),c==="Focus"&&!((r=this.data.actions)!=null&&r.Blur)?this._setEventListener(t,n,"blur","Blur",null):c==="Blur"&&!((i=this.data.actions)!=null&&i.Focus)&&this._setEventListener(t,n,"focus","Focus",null))}_setBackgroundColor(t){const n=this.data.backgroundColor||null;t.style.backgroundColor=n===null?"transparent":Nt.makeHexColor(n[0],n[1],n[2])}_setTextStyle(t){const n=["left","center","right"],{fontColor:s}=this.data.defaultAppearanceData,a=this.data.defaultAppearanceData.fontSize||m4e,o=t.style;let r;const i=2,l=c=>Math.round(10*c)/10;if(this.data.multiLine){const c=Math.abs(this.data.rect[3]-this.data.rect[1]-i),u=Math.round(c/(K8*a))||1,d=c/u;r=Math.min(a,l(d/K8))}else{const c=Math.abs(this.data.rect[3]-this.data.rect[1]-i);r=Math.min(a,l(c/K8))}o.fontSize=`calc(${r}px * var(--scale-factor))`,o.color=Nt.makeHexColor(s[0],s[1],s[2]),this.data.textAlignment!==null&&(o.textAlign=n[this.data.textAlignment])}_setRequired(t,n){n?t.setAttribute("required",!0):t.removeAttribute("required"),t.setAttribute("aria-required",n)}}class y4e extends Ku{constructor(t){const n=t.renderForms||t.data.hasOwnCanvas||!t.data.hasAppearance&&!!t.data.fieldValue;super(t,{isRenderable:n})}setPropertyOnSiblings(t,n,s,a){const o=this.annotationStorage;for(const r of this._getElementsByName(t.name,t.id))r.domElement&&(r.domElement[n]=s),o.setValue(r.id,{[a]:s})}render(){var a,o;const t=this.annotationStorage,n=this.data.id;this.container.classList.add("textWidgetAnnotation");let s=null;if(this.renderForms){const r=t.getValue(n,{value:this.data.fieldValue});let i=r.value||"";const l=t.getValue(n,{charLimit:this.data.maxLen}).charLimit;l&&i.length>l&&(i=i.slice(0,l));let c=r.formattedValue||((a=this.data.textContent)==null?void 0:a.join(` -`))||null;c&&this.data.comb&&(c=c.replaceAll(/\s+/g,""));const u={userValue:i,formattedValue:c,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(s=document.createElement("textarea"),s.textContent=c??i,this.data.doNotScroll&&(s.style.overflowY="hidden")):(s=document.createElement("input"),s.type="text",s.setAttribute("value",c??i),this.data.doNotScroll&&(s.style.overflowX="hidden")),this.data.hasOwnCanvas&&(s.hidden=!0),ju.add(s),s.setAttribute("data-element-id",n),s.disabled=this.data.readOnly,s.name=this.data.fieldName,s.tabIndex=Iv,this._setRequired(s,this.data.required),l&&(s.maxLength=l),s.addEventListener("input",h=>{t.setValue(n,{value:h.target.value}),this.setPropertyOnSiblings(s,"value",h.target.value,"value"),u.formattedValue=null}),s.addEventListener("resetform",h=>{const p=this.data.defaultFieldValue??"";s.value=u.userValue=p,u.formattedValue=null});let d=h=>{const{formattedValue:p}=u;p!=null&&(h.target.value=p),h.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){s.addEventListener("focus",p=>{var m;if(u.focused)return;const{target:v}=p;u.userValue&&(v.value=u.userValue),u.lastCommittedValue=v.value,u.commitKey=1,(m=this.data.actions)!=null&&m.Focus||(u.focused=!0)}),s.addEventListener("updatefromsandbox",p=>{this.showElementAndHideCanvas(p.target);const v={value(m){u.userValue=m.detail.value??"",t.setValue(n,{value:u.userValue.toString()}),m.target.value=u.userValue},formattedValue(m){const{formattedValue:g}=m.detail;u.formattedValue=g,g!=null&&m.target!==document.activeElement&&(m.target.value=g),t.setValue(n,{formattedValue:g})},selRange(m){m.target.setSelectionRange(...m.detail.selRange)},charLimit:m=>{var w;const{charLimit:g}=m.detail,{target:b}=m;if(g===0){b.removeAttribute("maxLength");return}b.setAttribute("maxLength",g);let C=u.userValue;!C||C.length<=g||(C=C.slice(0,g),b.value=u.userValue=C,t.setValue(n,{value:C}),(w=this.linkService.eventBus)==null||w.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:C,willCommit:!0,commitKey:1,selStart:b.selectionStart,selEnd:b.selectionEnd}}))}};this._dispatchEventFromSandbox(v,p)}),s.addEventListener("keydown",p=>{var g;u.commitKey=1;let v=-1;if(p.key==="Escape"?v=0:p.key==="Enter"&&!this.data.multiLine?v=2:p.key==="Tab"&&(u.commitKey=3),v===-1)return;const{value:m}=p.target;u.lastCommittedValue!==m&&(u.lastCommittedValue=m,u.userValue=m,(g=this.linkService.eventBus)==null||g.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:m,willCommit:!0,commitKey:v,selStart:p.target.selectionStart,selEnd:p.target.selectionEnd}}))});const h=d;d=null,s.addEventListener("blur",p=>{var m,g;if(!u.focused||!p.relatedTarget)return;(m=this.data.actions)!=null&&m.Blur||(u.focused=!1);const{value:v}=p.target;u.userValue=v,u.lastCommittedValue!==v&&((g=this.linkService.eventBus)==null||g.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:v,willCommit:!0,commitKey:u.commitKey,selStart:p.target.selectionStart,selEnd:p.target.selectionEnd}})),h(p)}),(o=this.data.actions)!=null&&o.Keystroke&&s.addEventListener("beforeinput",p=>{var x;u.lastCommittedValue=null;const{data:v,target:m}=p,{value:g,selectionStart:b,selectionEnd:C}=m;let w=b,_=C;switch(p.inputType){case"deleteWordBackward":{const E=g.substring(0,b).match(/\w*[^\w]*$/);E&&(w-=E[0].length);break}case"deleteWordForward":{const E=g.substring(b).match(/^[^\w]*\w*/);E&&(_+=E[0].length);break}case"deleteContentBackward":b===C&&(w-=1);break;case"deleteContentForward":b===C&&(_+=1);break}p.preventDefault(),(x=this.linkService.eventBus)==null||x.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:g,change:v||"",willCommit:!1,selStart:w,selEnd:_}})}),this._setEventListeners(s,u,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],p=>p.target.value)}if(d&&s.addEventListener("blur",d),this.data.comb){const p=(this.data.rect[2]-this.data.rect[0])/l;s.classList.add("comb"),s.style.letterSpacing=`calc(${p}px * var(--scale-factor) - 1ch)`}}else s=document.createElement("div"),s.textContent=this.data.fieldValue,s.style.verticalAlign="middle",s.style.display="table-cell",this.data.hasOwnCanvas&&(s.hidden=!0);return this._setTextStyle(s),this._setBackgroundColor(s),this._setDefaultPropertiesFromJS(s),this.container.append(s),this.container}}class w4e extends Ku{constructor(t){super(t,{isRenderable:!!t.data.hasOwnCanvas})}}class _4e extends Ku{constructor(t){super(t,{isRenderable:t.renderForms})}render(){const t=this.annotationStorage,n=this.data,s=n.id;let a=t.getValue(s,{value:n.exportValue===n.fieldValue}).value;typeof a=="string"&&(a=a!=="Off",t.setValue(s,{value:a})),this.container.classList.add("buttonWidgetAnnotation","checkBox");const o=document.createElement("input");return ju.add(o),o.setAttribute("data-element-id",s),o.disabled=n.readOnly,this._setRequired(o,this.data.required),o.type="checkbox",o.name=n.fieldName,a&&o.setAttribute("checked",!0),o.setAttribute("exportValue",n.exportValue),o.tabIndex=Iv,o.addEventListener("change",r=>{const{name:i,checked:l}=r.target;for(const c of this._getElementsByName(i,s)){const u=l&&c.exportValue===n.exportValue;c.domElement&&(c.domElement.checked=u),t.setValue(c.id,{value:u})}t.setValue(s,{value:l})}),o.addEventListener("resetform",r=>{const i=n.defaultFieldValue||"Off";r.target.checked=i===n.exportValue}),this.enableScripting&&this.hasJSActions&&(o.addEventListener("updatefromsandbox",r=>{const i={value(l){l.target.checked=l.detail.value!=="Off",t.setValue(s,{value:l.target.checked})}};this._dispatchEventFromSandbox(i,r)}),this._setEventListeners(o,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],r=>r.target.checked)),this._setBackgroundColor(o),this._setDefaultPropertiesFromJS(o),this.container.append(o),this.container}}class XP extends Ku{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("buttonWidgetAnnotation","radioButton");const t=this.annotationStorage,n=this.data,s=n.id;let a=t.getValue(s,{value:n.fieldValue===n.buttonValue}).value;if(typeof a=="string"&&(a=a!==n.buttonValue,t.setValue(s,{value:a})),a)for(const r of this._getElementsByName(n.fieldName,s))t.setValue(r.id,{value:!1});const o=document.createElement("input");if(ju.add(o),o.setAttribute("data-element-id",s),o.disabled=n.readOnly,this._setRequired(o,this.data.required),o.type="radio",o.name=n.fieldName,a&&o.setAttribute("checked",!0),o.tabIndex=Iv,o.addEventListener("change",r=>{const{name:i,checked:l}=r.target;for(const c of this._getElementsByName(i,s))t.setValue(c.id,{value:!1});t.setValue(s,{value:l})}),o.addEventListener("resetform",r=>{const i=n.defaultFieldValue;r.target.checked=i!=null&&i===n.buttonValue}),this.enableScripting&&this.hasJSActions){const r=n.buttonValue;o.addEventListener("updatefromsandbox",i=>{const l={value:c=>{const u=r===c.detail.value;for(const d of this._getElementsByName(c.target.name)){const h=u&&d.id===s;d.domElement&&(d.domElement.checked=h),t.setValue(d.id,{value:h})}}};this._dispatchEventFromSandbox(l,i)}),this._setEventListeners(o,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],i=>i.target.checked)}return this._setBackgroundColor(o),this._setDefaultPropertiesFromJS(o),this.container.append(o),this.container}}class C4e extends YP{constructor(t){super(t,{ignoreBorder:t.data.hasAppearance})}render(){const t=super.render();t.classList.add("buttonWidgetAnnotation","pushButton");const n=t.lastChild;return this.enableScripting&&this.hasJSActions&&n&&(this._setDefaultPropertiesFromJS(n),n.addEventListener("updatefromsandbox",s=>{this._dispatchEventFromSandbox({},s)})),t}}class S4e extends Ku{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("choiceWidgetAnnotation");const t=this.annotationStorage,n=this.data.id,s=t.getValue(n,{value:this.data.fieldValue}),a=document.createElement("select");ju.add(a),a.setAttribute("data-element-id",n),a.disabled=this.data.readOnly,this._setRequired(a,this.data.required),a.name=this.data.fieldName,a.tabIndex=Iv;let o=this.data.combo&&this.data.options.length>0;this.data.combo||(a.size=this.data.options.length,this.data.multiSelect&&(a.multiple=!0)),a.addEventListener("resetform",u=>{const d=this.data.defaultFieldValue;for(const h of a.options)h.selected=h.value===d});for(const u of this.data.options){const d=document.createElement("option");d.textContent=u.displayValue,d.value=u.exportValue,s.value.includes(u.exportValue)&&(d.setAttribute("selected",!0),o=!1),a.append(d)}let r=null;if(o){const u=document.createElement("option");u.value=" ",u.setAttribute("hidden",!0),u.setAttribute("selected",!0),a.prepend(u),r=()=>{u.remove(),a.removeEventListener("input",r),r=null},a.addEventListener("input",r)}const i=u=>{const d=u?"value":"textContent",{options:h,multiple:p}=a;return p?Array.prototype.filter.call(h,v=>v.selected).map(v=>v[d]):h.selectedIndex===-1?null:h[h.selectedIndex][d]};let l=i(!1);const c=u=>{const d=u.target.options;return Array.prototype.map.call(d,h=>({displayValue:h.textContent,exportValue:h.value}))};return this.enableScripting&&this.hasJSActions?(a.addEventListener("updatefromsandbox",u=>{const d={value(h){r==null||r();const p=h.detail.value,v=new Set(Array.isArray(p)?p:[p]);for(const m of a.options)m.selected=v.has(m.value);t.setValue(n,{value:i(!0)}),l=i(!1)},multipleSelection(h){a.multiple=!0},remove(h){const p=a.options,v=h.detail.remove;p[v].selected=!1,a.remove(v),p.length>0&&Array.prototype.findIndex.call(p,g=>g.selected)===-1&&(p[0].selected=!0),t.setValue(n,{value:i(!0),items:c(h)}),l=i(!1)},clear(h){for(;a.length!==0;)a.remove(0);t.setValue(n,{value:null,items:[]}),l=i(!1)},insert(h){const{index:p,displayValue:v,exportValue:m}=h.detail.insert,g=a.children[p],b=document.createElement("option");b.textContent=v,b.value=m,g?g.before(b):a.append(b),t.setValue(n,{value:i(!0),items:c(h)}),l=i(!1)},items(h){const{items:p}=h.detail;for(;a.length!==0;)a.remove(0);for(const v of p){const{displayValue:m,exportValue:g}=v,b=document.createElement("option");b.textContent=m,b.value=g,a.append(b)}a.options.length>0&&(a.options[0].selected=!0),t.setValue(n,{value:i(!0),items:c(h)}),l=i(!1)},indices(h){const p=new Set(h.detail.indices);for(const v of h.target.options)v.selected=p.has(v.index);t.setValue(n,{value:i(!0)}),l=i(!1)},editable(h){h.target.disabled=!h.detail.editable}};this._dispatchEventFromSandbox(d,u)}),a.addEventListener("input",u=>{var p;const d=i(!0),h=i(!1);t.setValue(n,{value:d}),u.preventDefault(),(p=this.linkService.eventBus)==null||p.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:l,change:h,changeEx:d,willCommit:!1,commitKey:1,keyDown:!1}})}),this._setEventListeners(a,null,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"],["input","Validate"]],u=>u.target.value)):a.addEventListener("input",function(u){t.setValue(n,{value:i(!0)})}),this.data.combo&&this._setTextStyle(a),this._setBackgroundColor(a),this._setDefaultPropertiesFromJS(a),this.container.append(a),this.container}}class gw extends us{constructor(t){const{data:n,elements:s}=t;super(t,{isRenderable:us._hasPopupData(n)}),this.elements=s,this.popup=null}render(){this.container.classList.add("popupAnnotation");const t=this.popup=new x4e({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText,rect:this.data.rect,parentRect:this.data.parentRect||null,parent:this.parent,elements:this.elements,open:this.data.open}),n=[];for(const s of this.elements)s.popup=t,s.container.ariaHasPopup="dialog",n.push(s.data.id),s.addHighlightArea();return this.container.setAttribute("aria-controls",n.map(s=>`${J8}${s}`).join(",")),this.container}}class x4e{constructor({container:t,color:n,elements:s,titleObj:a,modificationDate:o,contentsObj:r,richText:i,parent:l,rect:c,parentRect:u,open:d}){se(this,Dn);se(this,Gh,oe(this,Dn,UR).bind(this));se(this,kb,oe(this,Dn,u_).bind(this));se(this,Ab,oe(this,Dn,Zb).bind(this));se(this,Yh,oe(this,Dn,Jb).bind(this));se(this,Td,null);se(this,cs,null);se(this,Ml,null);se(this,Xh,null);se(this,xm,null);se(this,Em,null);se(this,Jh,null);se(this,Pl,!1);se(this,Rr,null);se(this,Rl,null);se(this,km,null);se(this,Il,null);se(this,Am,null);se(this,Md,null);se(this,Pd,!1);var h;q(this,cs,t),q(this,Am,a),q(this,Ml,r),q(this,Il,i),q(this,Em,l),q(this,Td,n),q(this,km,c),q(this,Jh,u),q(this,xm,s),q(this,Xh,ew.toDateObject(o)),this.trigger=s.flatMap(p=>p.getElementsToTriggerPopup());for(const p of this.trigger)p.addEventListener("click",y(this,Yh)),p.addEventListener("mouseenter",y(this,Ab)),p.addEventListener("mouseleave",y(this,kb)),p.classList.add("popupTriggerArea");for(const p of s)(h=p.container)==null||h.addEventListener("keydown",y(this,Gh));y(this,cs).hidden=!0,d&&oe(this,Dn,Jb).call(this)}render(){if(y(this,Rr))return;const t=q(this,Rr,document.createElement("div"));if(t.className="popup",y(this,Td)){const o=t.style.outlineColor=Nt.makeHexColor(...y(this,Td));CSS.supports("background-color","color-mix(in srgb, red 30%, white)")?t.style.backgroundColor=`color-mix(in srgb, ${o} 30%, white)`:t.style.backgroundColor=Nt.makeHexColor(...y(this,Td).map(i=>Math.floor(.7*(255-i)+i)))}const n=document.createElement("span");n.className="header";const s=document.createElement("h1");if(n.append(s),{dir:s.dir,str:s.textContent}=y(this,Am),t.append(n),y(this,Xh)){const o=document.createElement("span");o.classList.add("popupDate"),o.setAttribute("data-l10n-id","pdfjs-annotation-date-time-string"),o.setAttribute("data-l10n-args",JSON.stringify({dateObj:y(this,Xh).valueOf()})),n.append(o)}const a=y(this,Dn,Xb);if(a)GP.render({xfaHtml:a,intent:"richText",div:t}),t.lastChild.classList.add("richText","popupContent");else{const o=this._formatContents(y(this,Ml));t.append(o)}y(this,cs).append(t)}_formatContents({str:t,dir:n}){const s=document.createElement("p");s.classList.add("popupContent"),s.dir=n;const a=t.split(/(?:\r\n?|\n)/);for(let o=0,r=a.length;olocation.protocol+"//"+location.host;function q7(e,t){const{pathname:n,search:s,hash:a}=t,o=e.indexOf("#");if(o>-1){let r=a.includes(e.slice(o))?e.slice(o).length:1,i=a.slice(r);return i[0]!=="/"&&(i="/"+i),F7(i,"")}return F7(n,e)+s+a}function oge(e,t,n,s){let a=[],o=[],r=null;const i=({state:h})=>{const p=q7(e,location),v=n.value,m=t.value;let g=0;if(h){if(n.value=p,t.value=h,r&&r===v){r=null;return}g=m?h.position-m.position:0}else s(p);a.forEach(b=>{b(n.value,v,{delta:g,type:F8.pop,direction:g?g>0?B8.forward:B8.back:B8.unknown})})};function l(){r=n.value}function c(h){a.push(h);const p=()=>{const v=a.indexOf(h);v>-1&&a.splice(v,1)};return o.push(p),p}function u(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(Tn({},h.state,{scroll:H1()}),"")}}function d(){for(const h of o)h();o=[],window.removeEventListener("popstate",i),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",i),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:d}}function G7(e,t,n,s=!1,a=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:a?H1():null}}function rge(e){const{history:t,location:n}=window,s={value:q7(e,n)},a={value:t.state};a.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const d=e.indexOf("#"),h=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:age()+e+l;try{t[u?"replaceState":"pushState"](c,"",h),a.value=c}catch(p){console.error(p),n[u?"replace":"assign"](h)}}function r(l,c){o(l,Tn({},t.state,G7(a.value.back,l,a.value.forward,!0),c,{position:a.value.position}),!0),s.value=l}function i(l,c){const u=Tn({},a.value,t.state,{forward:l,scroll:H1()});o(u.current,u,!0),o(l,Tn({},G7(s.value,l,null),{position:u.position+1},c),!1),s.value=l}return{location:s,state:a,push:i,replace:r}}function ige(e){e=j2e(e);const t=rge(e),n=oge(e,t.state,t.location,t.replace);function s(o,r=!0){r||n.pauseListeners(),history.go(o)}const a=Tn({location:"",base:e,go:s,createHref:U2e.bind(null,e)},t,n);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}function lge(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),ige(e)}let zu=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var Es=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(Es||{});const cge={type:zu.Static,value:""},uge=/[a-zA-Z0-9_]/;function dge(e){if(!e)return[[]];if(e==="/")return[[cge]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=Es.Static,s=n;const a=[];let o;function r(){o&&a.push(o),o=[]}let i=0,l,c="",u="";function d(){c&&(n===Es.Static?o.push({type:zu.Static,value:c}):n===Es.Param||n===Es.ParamRegExp||n===Es.ParamRegExpEnd?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:zu.Param,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;it.length?t.length===1&&t[0]===Ia.Static+Ia.Segment?1:-1:0}function X7(e,t){let n=0;const s=e.score,a=t.score;for(;n0&&t[t.length-1]<0}const mge={strict:!1,end:!0,sensitive:!1};function gge(e,t,n){const s=pge(dge(e.path),n),a=Tn(s,{record:e,parent:t,children:[],alias:[]});return t&&!a.record.aliasOf==!t.record.aliasOf&&t.children.push(a),a}function bge(e,t){const n=[],s=new Map;t=I7(mge,t);function a(d){return s.get(d)}function o(d,h,p){const v=!p,m=Q7(d);m.aliasOf=p&&p.record;const g=I7(t,d),b=[m];if("alias"in d){const C=typeof d.alias=="string"?[d.alias]:d.alias;for(const x of C)b.push(Q7(Tn({},m,{components:p?p.record.components:m.components,path:x,aliasOf:p?p.record:m})))}let _,w;for(const C of b){const{path:x}=C;if(h&&x[0]!=="/"){const E=h.record.path,T=E[E.length-1]==="/"?"":"/";C.path=h.record.path+(x&&T+x)}if(_=gge(C,h,g),p?p.alias.push(_):(w=w||_,w!==_&&w.alias.push(_),v&&d.name&&!eP(_)&&r(d.name)),tP(_)&&l(_),m.children){const E=m.children;for(let T=0;T{r(w)}:gv}function r(d){if(H7(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(r),h.alias.forEach(r))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(r),d.alias.forEach(r))}}function i(){return n}function l(d){const h=_ge(d,n);n.splice(h,0,d),d.record.name&&!eP(d)&&s.set(d.record.name,d)}function c(d,h){let p,v={},m,g;if("name"in d&&d.name){if(p=s.get(d.name),!p)throw fh(ls.MATCHER_NOT_FOUND,{location:d});g=p.record.name,v=Tn(Z7(h.params,p.keys.filter(w=>!w.optional).concat(p.parent?p.parent.keys.filter(w=>w.optional):[]).map(w=>w.name)),d.params&&Z7(d.params,p.keys.map(w=>w.name))),m=p.stringify(v)}else if(d.path!=null)m=d.path,p=n.find(w=>w.re.test(m)),p&&(v=p.parse(m),g=p.record.name);else{if(p=h.name?s.get(h.name):n.find(w=>w.re.test(h.path)),!p)throw fh(ls.MATCHER_NOT_FOUND,{location:d,currentLocation:h});g=p.record.name,v=Tn({},h.params,d.params),m=p.stringify(v)}const b=[];let _=p;for(;_;)b.unshift(_.record),_=_.parent;return{name:g,path:m,params:v,matched:b,meta:wge(b)}}e.forEach(d=>o(d));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:c,removeRoute:r,clearRoutes:u,getRoutes:i,getRecordMatcher:a}}function Z7(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Q7(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:yge(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function yge(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function eP(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function wge(e){return e.reduce((t,n)=>Tn(t,n.meta),{})}function _ge(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;X7(e,t[o])<0?s=o:n=o+1}const a=Cge(e);return a&&(s=t.lastIndexOf(a,s-1)),s}function Cge(e){let t=e;for(;t=t.parent;)if(tP(t)&&X7(e,t)===0)return t}function tP({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function nP(e){const t=je(W1),n=je(U7),s=k(()=>{const l=f(e.to);return t.resolve(l)}),a=k(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const h=d.findIndex(dh.bind(null,u));if(h>-1)return h;const p=sP(l[c-2]);return c>1&&sP(u)===p&&d[d.length-1].path!==p?d.findIndex(dh.bind(null,l[c-2])):h}),o=k(()=>a.value>-1&&kge(n.params,s.value.params)),r=k(()=>a.value>-1&&a.value===n.matched.length-1&&B7(n.params,s.value.params));function i(l={}){if(Ege(l)){const c=t[f(e.replace)?"replace":"push"](f(e.to)).catch(gv);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:k(()=>s.value.href),isActive:o,isExactActive:r,navigate:i}}function Sge(e){return e.length===1?e[0]:e}const xge=W({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:nP,setup(e,{slots:t}){const n=Wt(nP(e)),{options:s}=je(W1),a=k(()=>({[aP(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[aP(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Sge(t.default(n));return e.custom?o:rt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},o)}}});function Ege(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 kge(e,t){for(const n in t){const s=t[n],a=e[n];if(typeof s=="string"){if(s!==a)return!1}else if(!Cr(a)||a.length!==s.length||s.some((o,r)=>o.valueOf()!==a[r].valueOf()))return!1}return!0}function sP(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const aP=(e,t,n)=>e??t??n,Age=W({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=je(z8),a=k(()=>e.route||s.value),o=je(K7,0),r=k(()=>{let c=f(o);const{matched:u}=a.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),i=k(()=>a.value.matched[r.value]);Tt(K7,k(()=>r.value+1)),Tt(nge,i),Tt(z8,a);const l=F();return me(()=>[l.value,i.value,e.name],([c,u,d],[h,p,v])=>{u&&(u.instances[d]=c,p&&p!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!dh(u,p)||!h)&&(u.enterCallbacks[d]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=a.value,u=e.name,d=i.value,h=d&&d.components[u];if(!h)return oP(n.default,{Component:h,route:c});const p=d.props[u],v=p?p===!0?c.params:typeof p=="function"?p(c):p:null,g=rt(h,Tn({},v,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return oP(n.default,{Component:g,route:c})||g}}});function oP(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Tge=Age;function Mge(e){const t=bge(e.routes,e),n=e.parseQuery||ege,s=e.stringifyQuery||j7,a=e.history,o=yv(),r=yv(),i=yv(),l=hn(vc);let c=vc;uh&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=L8.bind(null,ne=>""+ne),d=L8.bind(null,D2e),h=L8.bind(null,bv);function p(ne,pe){let he,ce;return H7(ne)?(he=t.getRecordMatcher(ne),ce=pe):ce=ne,t.addRoute(ce,he)}function v(ne){const pe=t.getRecordMatcher(ne);pe&&t.removeRoute(pe)}function m(){return t.getRoutes().map(ne=>ne.record)}function g(ne){return!!t.getRecordMatcher(ne)}function b(ne,pe){if(pe=Tn({},pe||l.value),typeof ne=="string"){const de=D8(n,ne,pe.path),be=t.resolve({path:de.path},pe),Ce=a.createHref(de.fullPath);return Tn(de,be,{params:h(be.params),hash:bv(de.hash),redirectedFrom:void 0,href:Ce})}let he;if(ne.path!=null)he=Tn({},ne,{path:D8(n,ne.path,pe.path).path});else{const de=Tn({},ne.params);for(const be in de)de[be]==null&&delete de[be];he=Tn({},ne,{params:d(de)}),pe.params=d(pe.params)}const ce=t.resolve(he,pe),Z=ne.hash||"";ce.params=u(h(ce.params));const H=V2e(s,Tn({},ne,{hash:L2e(Z),path:ce.path})),te=a.createHref(H);return Tn({fullPath:H,hash:Z,query:s===j7?tge(ne.query):ne.query||{}},ce,{redirectedFrom:void 0,href:te})}function _(ne){return typeof ne=="string"?D8(n,ne,l.value.path):Tn({},ne)}function w(ne,pe){if(c!==ne)return fh(ls.NAVIGATION_CANCELLED,{from:pe,to:ne})}function C(ne){return T(ne)}function x(ne){return C(Tn(_(ne),{replace:!0}))}function E(ne,pe){const he=ne.matched[ne.matched.length-1];if(he&&he.redirect){const{redirect:ce}=he;let Z=typeof ce=="function"?ce(ne,pe):ce;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=_(Z):{path:Z},Z.params={}),Tn({query:ne.query,hash:ne.hash,params:Z.path!=null?{}:ne.params},Z)}}function T(ne,pe){const he=c=b(ne),ce=l.value,Z=ne.state,H=ne.force,te=ne.replace===!0,de=E(he,ce);if(de)return T(Tn(_(de),{state:typeof de=="object"?Tn({},Z,de.state):Z,force:H,replace:te}),pe||he);const be=he;be.redirectedFrom=pe;let Ce;return!H&&z2e(s,ce,he)&&(Ce=fh(ls.NAVIGATION_DUPLICATED,{to:be,from:ce}),G(ce,ce,!0,!1)),(Ce?Promise.resolve(Ce):M(be,ce)).catch(Se=>ll(Se)?ll(Se,ls.NAVIGATION_GUARD_REDIRECT)?Se:z(Se):L(Se,be,ce)).then(Se=>{if(Se){if(ll(Se,ls.NAVIGATION_GUARD_REDIRECT))return T(Tn({replace:te},_(Se.to),{state:typeof Se.to=="object"?Tn({},Z,Se.to.state):Z,force:H}),pe||be)}else Se=O(be,ce,!0,te,Z);return $(be,ce,Se),Se})}function R(ne,pe){const he=w(ne,pe);return he?Promise.reject(he):Promise.resolve()}function I(ne){const pe=ee.values().next().value;return pe&&typeof pe.runWithContext=="function"?pe.runWithContext(ne):ne()}function M(ne,pe){let he;const[ce,Z,H]=sge(ne,pe);he=H8(ce.reverse(),"beforeRouteLeave",ne,pe);for(const de of ce)de.leaveGuards.forEach(be=>{he.push(mc(be,ne,pe))});const te=R.bind(null,ne,pe);return he.push(te),fe(he).then(()=>{he=[];for(const de of o.list())he.push(mc(de,ne,pe));return he.push(te),fe(he)}).then(()=>{he=H8(Z,"beforeRouteUpdate",ne,pe);for(const de of Z)de.updateGuards.forEach(be=>{he.push(mc(be,ne,pe))});return he.push(te),fe(he)}).then(()=>{he=[];for(const de of H)if(de.beforeEnter)if(Cr(de.beforeEnter))for(const be of de.beforeEnter)he.push(mc(be,ne,pe));else he.push(mc(de.beforeEnter,ne,pe));return he.push(te),fe(he)}).then(()=>(ne.matched.forEach(de=>de.enterCallbacks={}),he=H8(H,"beforeRouteEnter",ne,pe,I),he.push(te),fe(he))).then(()=>{he=[];for(const de of r.list())he.push(mc(de,ne,pe));return he.push(te),fe(he)}).catch(de=>ll(de,ls.NAVIGATION_CANCELLED)?de:Promise.reject(de))}function $(ne,pe,he){i.list().forEach(ce=>I(()=>ce(ne,pe,he)))}function O(ne,pe,he,ce,Z){const H=w(ne,pe);if(H)return H;const te=pe===vc,de=uh?history.state:{};he&&(ce||te?a.replace(ne.fullPath,Tn({scroll:te&&de&&de.scroll},Z)):a.push(ne.fullPath,Z)),l.value=ne,G(ne,pe,he,te),z()}let B;function U(){B||(B=a.listen((ne,pe,he)=>{if(!ae.listening)return;const ce=b(ne),Z=E(ce,ae.currentRoute.value);if(Z){T(Tn(Z,{replace:!0,force:!0}),ce).catch(gv);return}c=ce;const H=l.value;uh&&Y2e(z7(H.fullPath,he.delta),H1()),M(ce,H).catch(te=>ll(te,ls.NAVIGATION_ABORTED|ls.NAVIGATION_CANCELLED)?te:ll(te,ls.NAVIGATION_GUARD_REDIRECT)?(T(Tn(_(te.to),{force:!0}),ce).then(de=>{ll(de,ls.NAVIGATION_ABORTED|ls.NAVIGATION_DUPLICATED)&&!he.delta&&he.type===F8.pop&&a.go(-1,!1)}).catch(gv),Promise.reject()):(he.delta&&a.go(-he.delta,!1),L(te,ce,H))).then(te=>{te=te||O(ce,H,!1),te&&(he.delta&&!ll(te,ls.NAVIGATION_CANCELLED)?a.go(-he.delta,!1):he.type===F8.pop&&ll(te,ls.NAVIGATION_ABORTED|ls.NAVIGATION_DUPLICATED)&&a.go(-1,!1)),$(ce,H,te)}).catch(gv)}))}let J=yv(),Y=yv(),N;function L(ne,pe,he){z(ne);const ce=Y.list();return ce.length?ce.forEach(Z=>Z(ne,pe,he)):console.error(ne),Promise.reject(ne)}function V(){return N&&l.value!==vc?Promise.resolve():new Promise((ne,pe)=>{J.add([ne,pe])})}function z(ne){return N||(N=!ne,U(),J.list().forEach(([pe,he])=>ne?he(ne):pe()),J.reset()),ne}function G(ne,pe,he,ce){const{scrollBehavior:Z}=e;if(!uh||!Z)return Promise.resolve();const H=!he&&X2e(z7(ne.fullPath,0))||(ce||!he)&&history.state&&history.state.scroll||null;return ze().then(()=>Z(ne,pe,H)).then(te=>te&&G2e(te)).catch(te=>L(te,ne,pe))}const Q=ne=>a.go(ne);let K;const ee=new Set,ae={currentRoute:l,listening:!0,addRoute:p,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:m,resolve:b,options:e,push:C,replace:x,go:Q,back:()=>Q(-1),forward:()=>Q(1),beforeEach:o.add,beforeResolve:r.add,afterEach:i.add,onError:Y.add,isReady:V,install(ne){ne.component("RouterLink",xge),ne.component("RouterView",Tge),ne.config.globalProperties.$router=ae,Object.defineProperty(ne.config.globalProperties,"$route",{enumerable:!0,get:()=>f(l)}),uh&&!K&&l.value===vc&&(K=!0,C(a.location).catch(ce=>{}));const pe={};for(const ce in vc)Object.defineProperty(pe,ce,{get:()=>l.value[ce],enumerable:!0});ne.provide(W1,ae),ne.provide(U7,R2(pe)),ne.provide(z8,l);const he=ne.unmount;ee.add(ne),ne.unmount=function(){ee.delete(ne),ee.size<1&&(c=vc,B&&B(),B=null,l.value=vc,K=!1,N=!1),he()}}};function fe(ne){return ne.reduce((pe,he)=>pe.then(()=>I(he)),Promise.resolve())}return ae}function rP(){return je(W1)}const Pge={class:"card-title"},Rge={class:"batch-area"},Ige={class:"batch-input-row"},Oge={key:0,class:"batch-preview"},Lge={class:"batch-summary"},Nge={class:"batch-limit-row"},$ge={key:0,class:"batch-more-hint"},Dge={key:1,class:"batch-empty"},Fge={class:"option-row"},Bge={class:"mode-hint"},Vge={class:"option-row"},zge={class:"option-row"},Hge={class:"submit-row"},Wge=il({__name:"FileUpload",emits:["submit"],setup(e,{emit:t}){const n=t,s=F("file"),a=F([]),o=F(null),r=F(""),i=F(["excel","json"]),l=F("drawing"),c=F(!0),u=F(null),d=F(null),h=F(null),p=F([]),v=F(200),m=k(()=>p.value.slice(0,v.value).map(I=>({name:I.webkitRelativePath||I.name,size:g(I.size),raw:I})));function g(I){return I<1024?`${I} B`:I<1024*1024?`${(I/1024).toFixed(1)} KB`:`${(I/(1024*1024)).toFixed(1)} MB`}function b(){var I;(I=d.value)==null||I.click()}function _(){var I;(I=h.value)==null||I.click()}function w(I){const M=Array.from(I.target.files||[]).filter($=>$.name.toLowerCase().endsWith(".pdf"));if(!M.length){Gs.warning("未找到 PDF 文件");return}p.value=M,v.value=M.length,I.target.value=""}function C(){p.value=[],v.value=200}const x=k(()=>i.value.length===0?!1:s.value==="file"?!!o.value:s.value==="url"?r.value.trim().startsWith("http"):s.value==="batch"?p.value.length>0:!1);function E(I){o.value=I.raw,a.value=[I]}function T(){Gs.warning("只能上传一个 PDF 文件,请先移除后再添加")}function R(){if(x.value){if(s.value==="batch"){const I=p.value.slice(0,v.value);n("submit",{file:null,url:null,files:I,formats:i.value,mode:l.value,autoCorrect:c.value,maxConcurrent:40,batch:!0});return}n("submit",{file:s.value==="file"?o.value:null,url:s.value==="url"?r.value.trim():null,files:null,formats:i.value,mode:l.value,autoCorrect:c.value,maxConcurrent:40,batch:!1})}}return(I,M)=>{const $=Ge("Upload"),O=Ge("el-icon"),B=Ge("UploadFilled"),U=Ge("el-upload"),J=Ge("el-tab-pane"),Y=Ge("Link"),N=Ge("el-input"),L=Ge("el-button"),V=Ge("el-tag"),z=Ge("el-input-number"),G=Ge("el-table-column"),Q=Ge("el-table"),K=Ge("el-tabs"),ee=Ge("el-radio-button"),ae=Ge("el-radio-group"),fe=Ge("el-switch"),ne=Ge("Grid"),pe=Ge("el-checkbox"),he=Ge("DataLine"),ce=Ge("el-checkbox-group"),Z=Ge("el-card");return S(),le(Z,{class:"upload-card",shadow:"never"},{header:X(()=>[A("div",Pge,[j(O,null,{default:X(()=>[j($)]),_:1}),M[7]||(M[7]=A("span",null,"上传 PDF 文件",-1))])]),default:X(()=>[j(K,{modelValue:s.value,"onUpdate:modelValue":M[3]||(M[3]=H=>s.value=H),class:"upload-tabs"},{default:X(()=>[j(J,{label:"本地上传",name:"file"},{default:X(()=>[j(U,{ref_key:"uploadRef",ref:u,class:"drop-area",drag:"","auto-upload":!1,accept:".pdf",limit:1,"on-change":E,"on-exceed":T,"file-list":a.value},{tip:X(()=>[...M[8]||(M[8]=[A("div",{class:"upload-tip"},"支持单个 PDF 文件,最大 500MB",-1)])]),default:X(()=>[j(O,{class:"upload-icon"},{default:X(()=>[j(B)]),_:1}),M[9]||(M[9]=A("div",{class:"upload-text"},[Ue("拖拽 PDF 文件到此处,或 "),A("em",null,"点击选择")],-1))]),_:1},8,["file-list"])]),_:1}),j(J,{label:"网络 URL",name:"url"},{default:X(()=>[j(N,{modelValue:r.value,"onUpdate:modelValue":M[0]||(M[0]=H=>r.value=H),placeholder:"输入 PDF 文件的网络地址,例如 https://example.com/file.pdf",clearable:"",size:"large"},{prepend:X(()=>[j(O,null,{default:X(()=>[j(Y)]),_:1})]),_:1},8,["modelValue"])]),_:1}),j(J,{label:"批量解析",name:"batch"},{default:X(()=>[A("div",Rge,[A("div",Ige,[j(L,{icon:f(Cg),onClick:b},{default:X(()=>[...M[10]||(M[10]=[Ue(" 选择文件夹 ",-1)])]),_:1},8,["icon"]),j(L,{icon:f(Gx),onClick:_},{default:X(()=>[...M[11]||(M[11]=[Ue(" 选择多个文件 ",-1)])]),_:1},8,["icon"]),A("input",{ref_key:"folderInputRef",ref:d,type:"file",accept:".pdf",webkitdirectory:"",multiple:"",style:{display:"none"},onChange:w},null,544),A("input",{ref_key:"multiInputRef",ref:h,type:"file",accept:".pdf",multiple:"",style:{display:"none"},onChange:w},null,544)]),p.value.length?(S(),P("div",Oge,[A("div",Lge,[j(V,{type:"success"},{default:X(()=>[Ue(" 共检测到 "+ve(p.value.length)+" 个 PDF 文件 ",1)]),_:1}),p.value.length>v.value?(S(),le(V,{key:0,type:"warning"},{default:X(()=>[Ue(" 当前限制解析前 "+ve(v.value)+" 个 ",1)]),_:1})):ie("",!0),A("div",Nge,[M[13]||(M[13]=A("span",{class:"option-label"},"解析数量:",-1)),j(z,{modelValue:v.value,"onUpdate:modelValue":M[1]||(M[1]=H=>v.value=H),min:1,max:p.value.length,size:"small",step:10,style:{width:"120px"}},null,8,["modelValue","max"]),j(L,{size:"small",text:"",onClick:M[2]||(M[2]=H=>v.value=p.value.length)},{default:X(()=>[...M[12]||(M[12]=[Ue("全部",-1)])]),_:1})])]),j(Q,{data:m.value,size:"small","max-height":"200",class:"batch-table","highlight-current-row":""},{default:X(()=>[j(G,{type:"index",width:"50",label:"#"}),j(G,{prop:"name",label:"文件名","show-overflow-tooltip":""}),j(G,{prop:"size",label:"大小",width:"90",align:"right"})]),_:1},8,["data"]),p.value.length>v.value?(S(),P("div",$ge," ... 还有 "+ve(p.value.length-v.value)+" 个文件未显示(超出解析数量限制) ",1)):ie("",!0),j(L,{size:"small",text:"",type:"danger",onClick:C,class:"batch-clear-btn"},{default:X(()=>[...M[14]||(M[14]=[Ue("清除",-1)])]),_:1})])):(S(),P("div",Dge,[j(O,{size:"40",color:"#c0c4cc"},{default:X(()=>[j(f(Cg))]),_:1}),M[15]||(M[15]=A("p",null,"选择包含 PDF 的文件夹,或直接选择多个 PDF 文件",-1)),M[16]||(M[16]=A("p",{class:"batch-hint"},"支持 100+ 文件批量处理,逐文件顺序解析",-1))]))])]),_:1})]),_:1},8,["modelValue"]),A("div",Fge,[M[19]||(M[19]=A("span",{class:"option-label"},"识别模式:",-1)),j(ae,{modelValue:l.value,"onUpdate:modelValue":M[4]||(M[4]=H=>l.value=H),size:"small"},{default:X(()=>[j(ee,{value:"drawing"},{default:X(()=>[...M[17]||(M[17]=[Ue("图纸模式",-1)])]),_:1}),j(ee,{value:"auto"},{default:X(()=>[...M[18]||(M[18]=[Ue("自动识别",-1)])]),_:1})]),_:1},8,["modelValue"]),A("span",Bge,ve(l.value==="drawing"?"管道轴测图:每页均为图纸,复用第1页区域配置,40并发高速识别":"VL 自动分类:图纸页专项裁剪,文字页通用识别,40并发"),1)]),A("div",Vge,[M[20]||(M[20]=A("span",{class:"option-label"},"自动纠错:",-1)),j(fe,{modelValue:c.value,"onUpdate:modelValue":M[5]||(M[5]=H=>c.value=H),"active-text":"启用","inactive-text":"关闭"},null,8,["modelValue"]),M[21]||(M[21]=A("span",{class:"mode-hint"},"识别完成后调用 LLM 对结果进行连续性校验与自动修正",-1))]),A("div",zge,[M[24]||(M[24]=A("span",{class:"option-label"},"导出格式:",-1)),j(ce,{modelValue:i.value,"onUpdate:modelValue":M[6]||(M[6]=H=>i.value=H)},{default:X(()=>[j(pe,{value:"excel",label:"excel"},{default:X(()=>[j(O,null,{default:X(()=>[j(ne)]),_:1}),M[22]||(M[22]=Ue(" Excel ",-1))]),_:1}),j(pe,{value:"json",label:"json"},{default:X(()=>[j(O,null,{default:X(()=>[j(he)]),_:1}),M[23]||(M[23]=Ue(" JSON ",-1))]),_:1})]),_:1},8,["modelValue"])]),A("div",Hge,[j(L,{type:"primary",size:"large",disabled:!x.value,icon:s.value==="batch"?f(Dy):f(n9),onClick:R},{default:X(()=>[Ue(ve(s.value==="batch"?`批量解析 ${Math.min(v.value,p.value.length)} 个文件`:"开始识别"),1)]),_:1},8,["disabled","icon"])])]),_:1})}}},[["__scopeId","data-v-a0c75cf1"]]),j1="http://localhost:8000/api/ocr";function jge(e,t=["excel","json"],n,s="drawing",a=!0,o=null){const r=new FormData;r.append("file",e),r.append("export_formats",t.join(",")),r.append("pdf_mode",s),r.append("auto_correct",a?"true":"false"),o&&r.append("max_concurrent",String(o));const i=new AbortController;return fetch(`${j1}/upload`,{method:"POST",body:r,signal:i.signal}).then(l=>{if(!l.ok)throw new Error(`HTTP ${l.status}`);return W8(l,n)}).catch(l=>{l.name!=="AbortError"&&n({type:"error",data:{message:l.message}})}),()=>i.abort()}function Kge(e,t=["excel","json"],n,s="drawing",a=!0){const o=new AbortController;return fetch(`${j1}/url`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({url:e,export_formats:t,pdf_mode:s,auto_correct:a}),signal:o.signal}).then(r=>{if(!r.ok)throw new Error(`HTTP ${r.status}`);return W8(r,n)}).catch(r=>{r.name!=="AbortError"&&n({type:"error",data:{message:r.message}})}),()=>o.abort()}async function W8(e,t){const n=e.body.getReader(),s=new TextDecoder;let a="";for(;;){const{done:o,value:r}=await n.read();if(o)break;a+=s.decode(r,{stream:!0});const i=a.split(` +`);a=i.pop()??"";for(const l of i)if(l.startsWith("data: "))try{const c=JSON.parse(l.slice(6));t(c)}catch{}}}function K1(e,t){return`${j1}/download/${e}/${t}`}function Uge(e,t=["excel","json"],n,s="drawing",a=!0,o=null){const r=new FormData;for(const l of e)r.append("files",l);r.append("export_formats",t.join(",")),r.append("pdf_mode",s),r.append("auto_correct",a?"true":"false"),o&&r.append("max_concurrent",String(o));const i=new AbortController;return fetch(`${j1}/batch`,{method:"POST",body:r,signal:i.signal}).then(l=>{if(!l.ok)throw new Error(`HTTP ${l.status}`);return W8(l,n)}).catch(l=>{l.name!=="AbortError"&&n({type:"error",data:{message:l.message}})}),()=>i.abort()}const qge={class:"panel-header"},Gge={class:"panel-title"},Yge={class:"panel-actions"},Xge={key:0,class:"overall-progress"},Jge={class:"progress-label"},Zge={key:0,class:"current-file"},Qge={key:0,class:"current-msg"},e1e={key:1,class:"summary-row"},t1e={key:1,class:"row-msg"},n1e={key:2,class:"text-danger"},s1e={key:3,class:"text-success"},a1e=il({__name:"BatchResultPanel",props:{batchEvents:{type:Array,default:()=>[]},batchDone:{type:Boolean,default:!1},mergedSessionId:{type:String,default:""},outputFiles:{type:Object,default:()=>({})},totalFiles:{type:Number,default:0}},emits:["reset"],setup(e,{emit:t}){const n=e,s=t,a=F({});me(()=>n.batchEvents,w=>{for(const C of w)o(C)},{deep:!0});function o(w){const{type:C,data:x}=w;if(C==="file_start")a.value[x.filename]={filename:x.filename,status:"processing",pages:0,message:"准备中...",percent:0,sessionId:null,error:null,success:!1};else if(C==="file_progress"){const E=a.value[x.filename];E&&(E.message=x.message||E.message,x.percent!=null&&(E.percent=x.percent))}else C==="file_done"?a.value[x.filename]={filename:x.filename,status:"done",pages:x.pages||0,message:"",percent:100,sessionId:x.session_id,error:null,success:!0}:C==="file_error"&&(a.value[x.filename]={filename:x.filename,status:"error",pages:0,message:"",percent:0,sessionId:null,error:x.error,success:!1})}const r=k(()=>Object.values(a.value)),i=k(()=>r.value.filter(w=>w.status==="done"||w.status==="error").length),l=k(()=>r.value.filter(w=>w.status==="done").length),c=k(()=>r.value.filter(w=>w.status==="error").length),u=k(()=>r.value.reduce((w,C)=>w+(C.pages||0),0)),d=k(()=>n.totalFiles?Math.round(i.value/n.totalFiles*100):0),h=k(()=>r.value.find(w=>w.status==="processing")),p=k(()=>{var w;return((w=h.value)==null?void 0:w.filename)||""}),v=k(()=>{var w;return((w=h.value)==null?void 0:w.message)||""}),m=k(()=>{var w;return!!((w=n.outputFiles)!=null&&w.excel)}),g=k(()=>{var w;return!!((w=n.outputFiles)!=null&&w.json)});function b(w){const C=K1(n.mergedSessionId,w),x=document.createElement("a");x.href=C,x.download=w,document.body.appendChild(x),x.click(),document.body.removeChild(x)}function _(w,C,x){const E=K1(w,C),T=C.endsWith(".xlsx")?".xlsx":".json",R=x?x.replace(/\.pdf$/i,"")+T:C,I=document.createElement("a");I.href=E,I.download=R,document.body.appendChild(I),I.click(),document.body.removeChild(I)}return(w,C)=>{const x=Ge("el-icon"),E=Ge("el-tag"),T=Ge("el-button"),R=Ge("el-progress"),I=Ge("el-statistic"),M=Ge("el-table-column"),$=Ge("el-table"),O=Ge("el-card");return S(),le(O,{class:"batch-result-card",shadow:"never"},{header:X(()=>[A("div",qge,[A("div",Gge,[j(x,null,{default:X(()=>[j(f(Dy))]),_:1}),C[3]||(C[3]=A("span",null,"批量解析结果",-1)),e.batchDone?(S(),le(E,{key:0,type:"success",size:"small"},{default:X(()=>[Ue(" 完成 "+ve(l.value)+"/"+ve(e.totalFiles),1)]),_:1})):ie("",!0),c.value>0?(S(),le(E,{key:1,type:"danger",size:"small"},{default:X(()=>[Ue(" 失败 "+ve(c.value),1)]),_:1})):ie("",!0)]),A("div",Yge,[e.mergedSessionId?(S(),P(He,{key:0},[m.value?(S(),le(T,{key:0,type:"primary",size:"small",icon:f(Ji),onClick:C[0]||(C[0]=B=>b("result.xlsx"))},{default:X(()=>[...C[4]||(C[4]=[Ue("下载合并 Excel",-1)])]),_:1},8,["icon"])):ie("",!0),g.value?(S(),le(T,{key:1,size:"small",icon:f(Ji),onClick:C[1]||(C[1]=B=>b("result.json"))},{default:X(()=>[...C[5]||(C[5]=[Ue("下载合并 JSON",-1)])]),_:1},8,["icon"])):ie("",!0)],64)):ie("",!0),j(T,{size:"small",plain:"",onClick:C[2]||(C[2]=B=>s("reset"))},{default:X(()=>[...C[6]||(C[6]=[Ue("重新开始",-1)])]),_:1})])])]),default:X(()=>[e.batchDone?ie("",!0):(S(),P("div",Xge,[A("div",Jge,[Ue(" 已完成 "+ve(i.value)+" / "+ve(e.totalFiles)+" 个文件 ",1),p.value?(S(),P("span",Zge," — 正在处理:"+ve(p.value),1)):ie("",!0)]),j(R,{percentage:d.value,"stroke-width":10,striped:"","striped-flow":"",duration:10,status:""},null,8,["percentage"]),v.value?(S(),P("div",Qge,ve(v.value),1)):ie("",!0)])),e.batchDone?(S(),P("div",e1e,[j(I,{title:"总文件数",value:e.totalFiles},null,8,["value"]),j(I,{title:"成功解析",value:l.value,"value-style":"color:#67c23a"},null,8,["value"]),j(I,{title:"失败文件",value:c.value,"value-style":"color:#f56c6c"},null,8,["value"]),j(I,{title:"合计页数",value:u.value},null,8,["value"])])):ie("",!0),j($,{data:r.value,size:"small",class:"file-table","max-height":"420",stripe:""},{default:X(()=>[j(M,{type:"index",width:"55",label:"#",align:"center"}),j(M,{label:"文件名","min-width":"220","show-overflow-tooltip":""},{default:X(({row:B})=>[A("span",{class:D(B.success?"":"text-danger")},ve(B.filename),3)]),_:1}),j(M,{label:"状态",width:"110",align:"center"},{default:X(({row:B})=>[B.status==="done"?(S(),le(E,{key:0,type:"success",size:"small"},{default:X(()=>[j(x,null,{default:X(()=>[j(f(xp))]),_:1}),C[7]||(C[7]=Ue(" 完成 ",-1))]),_:1})):B.status==="error"?(S(),le(E,{key:1,type:"danger",size:"small"},{default:X(()=>[j(x,null,{default:X(()=>[j(f($o))]),_:1}),C[8]||(C[8]=Ue(" 失败 ",-1))]),_:1})):B.status==="processing"?(S(),le(E,{key:2,type:"warning",size:"small"},{default:X(()=>[j(x,null,{default:X(()=>[j(f(Ns))]),_:1}),C[9]||(C[9]=Ue(" 处理中 ",-1))]),_:1})):(S(),le(E,{key:3,type:"info",size:"small"},{default:X(()=>[...C[10]||(C[10]=[Ue("等待",-1)])]),_:1}))]),_:1}),j(M,{label:"页数",width:"70",align:"center",prop:"pages"}),j(M,{label:"进度/错误信息","min-width":"260","show-overflow-tooltip":""},{default:X(({row:B})=>[B.status==="processing"&&B.percent!=null?(S(),le(R,{key:0,percentage:B.percent,"stroke-width":6,striped:"","striped-flow":"",duration:8,class:"row-progress"},null,8,["percentage"])):B.status==="processing"?(S(),P("span",t1e,ve(B.message),1)):B.status==="error"?(S(),P("span",n1e,ve(B.error),1)):B.status==="done"?(S(),P("span",s1e,"识别完成")):ie("",!0)]),_:1}),j(M,{label:"下载",width:"80",align:"center"},{default:X(({row:B})=>[B.sessionId?(S(),le(T,{key:0,size:"small",text:"",type:"primary",icon:f(Ji),title:"下载 Excel",onClick:U=>_(B.sessionId,"result.xlsx",B.filename)},null,8,["icon","onClick"])):ie("",!0)]),_:1})]),_:1},8,["data"])]),_:1})}}},[["__scopeId","data-v-d95acc72"]]),o1e={class:"card-title"},r1e={key:0,class:"page-indicator"},i1e={class:"log-time"},l1e=il({__name:"ProgressTracker",props:{logs:{type:Array,default:()=>[]},percent:{type:Number,default:0},totalPages:{type:Number,default:0},currentPage:{type:Number,default:0}},setup(e){const t=e,n=F(null),s=Date.now(),a=[{color:"#409EFF",percentage:40},{color:"#67C23A",percentage:80},{color:"#E6A23C",percentage:100}];function o(r){return`[${Math.round((Date.now()-s)/1e3)}s]`}return me(()=>t.logs.length,async()=>{await ze(),n.value&&(n.value.scrollTop=n.value.scrollHeight)}),(r,i)=>{const l=Ge("Loading"),c=Ge("el-icon"),u=Ge("el-progress"),d=Ge("el-card");return S(),le(d,{class:"progress-card",shadow:"never"},{header:X(()=>[A("div",o1e,[j(c,{class:"spin"},{default:X(()=>[j(l)]),_:1}),i[0]||(i[0]=A("span",null,"正在处理中...",-1)),e.totalPages>0?(S(),P("span",r1e," 第 "+ve(e.currentPage)+" / "+ve(e.totalPages)+" 页 ",1)):ie("",!0)])]),default:X(()=>[j(u,{percentage:e.percent,"stroke-width":14,color:a,class:"main-progress"},null,8,["percentage"]),A("div",{class:"log-container",ref_key:"logContainer",ref:n},[(S(!0),P(He,null,yt(e.logs,(h,p)=>(S(),P("div",{key:p,class:D(["log-item",{"log-success":h.includes("✓")||h.includes("✅"),"log-error":h.includes("❌")}])},[A("span",i1e,ve(o(p)),1),Ue(" "+ve(h),1)],2))),128))],512)]),_:1})}}},[["__scopeId","data-v-673aebf7"]]),c1e={class:"flagged-cell"},u1e={key:1},d1e={class:"row-count"},f1e={key:1,class:"raw-text"},h1e=il({__name:"Parts3Table",props:{data:{type:[Object,null],default:null}},setup(e){const t=e,n=new Set(["_flags","_corrections"]),s={seq_no:"序号",category:"类别",description:"材料描述",size:"SIZE",code:"材料代号",qty:"数量",pipe_no:"管道号",unit:"单位",material:"材质",remark:"备注",spec:"公称直径"},a={llm_suspicious:"LLM标记可疑,需人工复核",llm_corrected:"LLM已修正",rule_corrected:"规则已修正",seq_gap:"序号不连续",seq_dup:"序号重复",desc_overflow:"描述溢出到规格列",size_invalid:"规格字段异常",size_outlier:"规格偏离本页主导尺寸",qty_invalid:"数量字段异常",cell_overlap:"单元格数值重叠(叠印)",desc_num_tail:"描述末尾残留尺寸数字",size_num_prefix:"尺寸前缀数字粘连"},o=k(()=>{if(!t.data)return[];const d=t.data;return d.rows&&Array.isArray(d.rows)?d.rows:d.data&&Array.isArray(d.data)?d.data:d.items&&Array.isArray(d.items)?d.items:[]}),r=k(()=>{if(o.value.length===0)return[];const d=new Set;return o.value.slice(0,5).forEach(h=>Object.keys(h).forEach(p=>d.add(p))),Array.from(d).filter(h=>!n.has(h))}),i=k(()=>t.data&&t.data.raw_text||"");function l(d){return s[d]||d}function c(d,h){var g,b;const p=(g=d._flags)==null?void 0:g[h],v=a[p]||p||"",m=(b=d._corrections)==null?void 0:b[h];return m!=null?`[已修正] 原值:${m} +${v}`:`[${v}]`}function u({row:d,column:h}){if(!d._flags)return{};const p=h.property,v=d._flags[p];return v?new Set(["llm_corrected","rule_corrected"]).has(v)?{backgroundColor:"#FFB347",color:"#000",fontWeight:"bold"}:{backgroundColor:"#ADD8E6",color:"#000",fontWeight:"bold"}:{}}return(d,h)=>{const p=Ge("el-tooltip"),v=Ge("el-table-column"),m=Ge("el-table"),g=Ge("el-empty");return S(),P("div",null,[o.value.length>0?(S(),P(He,{key:0},[j(m,{data:o.value,border:"",stripe:"",size:"small",style:{width:"100%"},"max-height":500,"cell-style":u},{default:X(()=>[(S(!0),P(He,null,yt(r.value,b=>(S(),le(v,{key:b,prop:b,label:l(b),"min-width":"100"},{default:X(({row:_})=>[_._flags&&_._flags[b]?(S(),le(p,{key:0,content:c(_,b),placement:"top","show-after":300},{default:X(()=>[A("span",c1e,ve(_[b]),1)]),_:2},1032,["content"])):(S(),P("span",u1e,ve(_[b]),1))]),_:2},1032,["prop","label"]))),128))]),_:1},8,["data"]),A("div",d1e,"共 "+ve(o.value.length)+" 行",1)],64)):i.value?(S(),P("pre",f1e,ve(i.value),1)):(S(),le(g,{key:2,description:"暂无识别数据","image-size":60}))])}}},[["__scopeId","data-v-bfa225df"]]),p1e={key:1,class:"raw-text"},iP=il({__name:"MetaInfo",props:{data:{type:[Object,null],default:null}},setup(e){const t=e,n=k(()=>!t.data||typeof t.data!="object"?[]:Object.entries(t.data).filter(([a])=>a!=="raw_text"&&a!=="parse_error"&&a!=="part").filter(([,a])=>a!=null).map(([a,o])=>({key:a,value:String(o)}))),s=k(()=>{var a;return((a=t.data)==null?void 0:a.raw_text)||""});return(a,o)=>{const r=Ge("el-descriptions-item"),i=Ge("el-descriptions"),l=Ge("el-empty");return S(),P("div",null,[n.value.length>0?(S(),le(i,{key:0,column:1,border:"",size:"small"},{default:X(()=>[(S(!0),P(He,null,yt(n.value,({key:c,value:u})=>(S(),le(r,{key:c,label:c},{default:X(()=>[Ue(ve(u),1)]),_:2},1032,["label"]))),128))]),_:1})):s.value?(S(),P("pre",p1e,ve(s.value),1)):(S(),le(l,{key:2,description:"暂无数据","image-size":50}))])}}},[["__scopeId","data-v-9250db36"]]),v1e={class:"toolbar"},m1e={class:"result-summary"},g1e={key:0,class:"token-hint"},b1e={class:"btn-group"},y1e={key:0},w1e={key:1},_1e={key:0,style:{color:"#e6a23c"}},C1e={key:0,class:"reason-tags"},S1e={key:2,class:"page-detail"},lP=il({__name:"ResultPanel",props:{pagesData:{type:Array,default:()=>[]},sessionId:{type:String,default:""},outputFiles:{type:Object,default:()=>({})},outputFilenames:{type:Object,default:()=>({})},tokenUsage:{type:Object,default:null},pdfName:{type:String,default:""},correctionSummary:{type:Object,default:null}},emits:["reset"],setup(e,{emit:t}){const n=e,s=t,a=F("1"),o=k(()=>{const c=parseInt(a.value);return n.pagesData.find(u=>u.page===c)||n.pagesData[0]});function r(c){const u=c==="excel"?".xlsx":".json",d=n.outputFilenames[c]||`result${u}`,h=K1(n.sessionId,d),p=document.createElement("a");p.href=h,p.download=d,document.body.appendChild(p),p.click(),document.body.removeChild(p)}const i={llm_suspicious:"LLM标记可疑",llm_corrected:"LLM已修正",rule_corrected:"规则已修正",seq_gap:"序号不连续",seq_dup:"序号重复",desc_overflow:"描述溢出到规格列",size_invalid:"规格字段异常",size_outlier:"规格偏离主导尺寸",qty_invalid:"数量字段异常",cell_overlap:"数值重叠(两格合并)",desc_num_tail:"描述末尾残留尺寸数字",size_num_prefix:"尺寸前缀数字粘连",pressure_oob:"压力值超范围",cross_inconsist:"跨页参数不一致"};function l(c){return i[c]||c}return(c,u)=>{const d=Ge("CircleCheck"),h=Ge("el-icon"),p=Ge("el-button"),v=Ge("el-card"),m=Ge("el-tag"),g=Ge("el-alert"),b=Ge("el-tab-pane"),_=Ge("el-tabs"),w=Ge("el-col"),C=Ge("el-row");return S(),P("div",null,[j(v,{class:"toolbar-card",shadow:"never"},{default:X(()=>[A("div",v1e,[A("div",m1e,[j(h,{color:"#67C23A",size:"20"},{default:X(()=>[j(d)]),_:1}),A("span",null,[u[4]||(u[4]=Ue("识别完成,共处理 ",-1)),A("strong",null,ve(e.pagesData.length),1),u[5]||(u[5]=Ue(" 页",-1))]),e.tokenUsage?(S(),P("span",g1e," · "+ve(e.tokenUsage.total_tokens.toLocaleString())+" tokens  ¥"+ve(e.tokenUsage.cost_cny),1)):ie("",!0)]),A("div",b1e,[e.sessionId?(S(),le(p,{key:0,type:"success",icon:f(Ji),onClick:u[0]||(u[0]=x=>r("excel"))},{default:X(()=>[...u[6]||(u[6]=[Ue(" 下载 Excel ",-1)])]),_:1},8,["icon"])):ie("",!0),e.sessionId?(S(),le(p,{key:1,type:"info",icon:f(Ji),onClick:u[1]||(u[1]=x=>r("json"))},{default:X(()=>[...u[7]||(u[7]=[Ue(" 下载 JSON ",-1)])]),_:1},8,["icon"])):ie("",!0),j(p,{icon:f(Sg),onClick:u[2]||(u[2]=x=>s("reset"))},{default:X(()=>[...u[8]||(u[8]=[Ue(" 重新识别 ",-1)])]),_:1},8,["icon"])])])]),_:1}),e.correctionSummary?(S(),le(g,{key:0,class:"correction-alert",closable:!0,"show-icon":"",type:e.correctionSummary.flagged_rows>0?e.correctionSummary.corrected_rows>0?"warning":"error":"success"},{title:X(()=>[e.correctionSummary.flagged_rows===0?(S(),P("span",y1e,"OCR 校验通过,未发现异常")):(S(),P("span",w1e,[u[9]||(u[9]=Ue(" 发现 ",-1)),A("strong",null,ve(e.correctionSummary.flagged_rows),1),u[10]||(u[10]=Ue(" 行存疑内容,已自动修正 ",-1)),A("strong",null,ve(e.correctionSummary.corrected_rows),1),u[11]||(u[11]=Ue(" 行 ",-1)),e.correctionSummary.flagged_rows>e.correctionSummary.corrected_rows?(S(),P("span",_1e,"(剩余 "+ve(e.correctionSummary.flagged_rows-e.correctionSummary.corrected_rows)+" 行已在 Excel 中标红)",1)):ie("",!0)]))]),default:X(()=>[e.correctionSummary.reasons&&Object.keys(e.correctionSummary.reasons).length?(S(),P("div",C1e,[(S(!0),P(He,null,yt(e.correctionSummary.reasons,(x,E)=>(S(),le(m,{key:E,size:"small",type:E==="llm_corrected"||E==="rule_corrected"?"success":E==="llm_suspicious"?"danger":"warning",class:"reason-tag"},{default:X(()=>[Ue(ve(l(E))+"×"+ve(x),1)]),_:2},1032,["type"]))),128))])):ie("",!0)]),_:1},8,["type"])):ie("",!0),e.pagesData.length>1?(S(),le(_,{key:1,modelValue:a.value,"onUpdate:modelValue":u[3]||(u[3]=x=>a.value=x),class:"page-tabs"},{default:X(()=>[(S(!0),P(He,null,yt(e.pagesData,x=>(S(),le(b,{key:x.page,label:`第 ${x.page} 页`,name:String(x.page)},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])):ie("",!0),o.value?(S(),P("div",S1e,[j(v,{shadow:"never",class:"part-card parts3-card"},{header:X(()=>[...u[12]||(u[12]=[A("span",{class:"part-label parts3-label"},"⭐ 材料明细(Parts 3)",-1)])]),default:X(()=>[j(h1e,{data:o.value.parts3},null,8,["data"])]),_:1}),j(C,{gutter:16,class:"meta-row"},{default:X(()=>[j(w,{span:12},{default:X(()=>[j(v,{shadow:"never",class:"part-card"},{header:X(()=>[...u[13]||(u[13]=[A("span",{class:"part-label"},"标题栏(Parts 1)",-1)])]),default:X(()=>[j(iP,{data:o.value.parts1},null,8,["data"])]),_:1})]),_:1}),j(w,{span:12},{default:X(()=>[j(v,{shadow:"never",class:"part-card"},{header:X(()=>[...u[14]||(u[14]=[A("span",{class:"part-label"},"附属信息(Parts 2)",-1)])]),default:X(()=>[j(iP,{data:o.value.parts2},null,8,["data"])]),_:1})]),_:1})]),_:1})])):ie("",!0)])}}},[["__scopeId","data-v-7ae18195"]]),x1e={class:"toolbar"},E1e={class:"result-summary"},k1e={key:0,class:"token-hint"},A1e={class:"btn-group"},T1e={key:1,class:"page-content"},M1e={class:"table-header"},P1e={key:0,class:"table-title"},R1e={class:"para-label"},I1e={key:0,class:"para-title"},O1e={class:"para-text"},cP=il({__name:"GeneralResultPanel",props:{pagesData:{type:Array,default:()=>[]},sessionId:{type:String,default:""},outputFiles:{type:Object,default:()=>({})},outputFilenames:{type:Object,default:()=>({})},tokenUsage:{type:Object,default:null},pdfName:{type:String,default:""}},emits:["reset"],setup(e,{emit:t}){const n=e,s=t,a=F("1"),o=k(()=>{const d=parseInt(a.value);return n.pagesData.find(h=>h.page===d)||n.pagesData[0]}),r=k(()=>n.pagesData.reduce((d,h)=>{var p;return d+(((p=h.tables)==null?void 0:p.length)||0)},0)),i=k(()=>n.pagesData.reduce((d,h)=>{var p;return d+(((p=h.paragraphs)==null?void 0:p.length)||0)},0));function l(d){return(d.rows||[]).map(h=>{const p={};return(h||[]).forEach((v,m)=>{p[String(m)]=v}),p})}function c(d){const h=d.headers||[];return h.length?h:((d.rows||[])[0]||[]).map((v,m)=>`列${m+1}`)}function u(d){const h=d==="excel"?".xlsx":".json",p=n.outputFilenames[d]||`result${h}`,v=K1(n.sessionId,p),m=document.createElement("a");m.href=v,m.download=p,document.body.appendChild(m),m.click(),document.body.removeChild(m)}return(d,h)=>{var T,R,I,M;const p=Ge("CircleCheck"),v=Ge("el-icon"),m=Ge("el-button"),g=Ge("el-card"),b=Ge("el-tab-pane"),_=Ge("el-tabs"),w=Ge("el-empty"),C=Ge("el-tag"),x=Ge("el-table-column"),E=Ge("el-table");return S(),P("div",null,[j(g,{class:"toolbar-card",shadow:"never"},{default:X(()=>[A("div",x1e,[A("div",E1e,[j(v,{color:"#67C23A",size:"20"},{default:X(()=>[j(p)]),_:1}),A("span",null,[h[4]||(h[4]=Ue("通用识别完成,共 ",-1)),A("strong",null,ve(e.pagesData.length),1),h[5]||(h[5]=Ue(" 页  ·  ",-1)),A("strong",null,ve(r.value),1),h[6]||(h[6]=Ue(" 张表格  ·  ",-1)),A("strong",null,ve(i.value),1),h[7]||(h[7]=Ue(" 段文字",-1))]),e.tokenUsage?(S(),P("span",k1e," · "+ve(e.tokenUsage.total_tokens.toLocaleString())+" tokens  ¥"+ve(e.tokenUsage.cost_cny),1)):ie("",!0)]),A("div",A1e,[e.sessionId?(S(),le(m,{key:0,type:"success",icon:f(Ji),onClick:h[0]||(h[0]=$=>u("excel"))},{default:X(()=>[...h[8]||(h[8]=[Ue("下载 Excel",-1)])]),_:1},8,["icon"])):ie("",!0),e.sessionId?(S(),le(m,{key:1,type:"info",icon:f(Ji),onClick:h[1]||(h[1]=$=>u("json"))},{default:X(()=>[...h[9]||(h[9]=[Ue("下载 JSON",-1)])]),_:1},8,["icon"])):ie("",!0),j(m,{icon:f(Sg),onClick:h[2]||(h[2]=$=>s("reset"))},{default:X(()=>[...h[10]||(h[10]=[Ue("重新识别",-1)])]),_:1},8,["icon"])])])]),_:1}),e.pagesData.length>1?(S(),le(_,{key:0,modelValue:a.value,"onUpdate:modelValue":h[3]||(h[3]=$=>a.value=$),class:"page-tabs"},{default:X(()=>[(S(!0),P(He,null,yt(e.pagesData,$=>(S(),le(b,{key:$.page,label:`第 ${$.page} 页`,name:String($.page)},null,8,["label","name"]))),128))]),_:1},8,["modelValue"])):ie("",!0),o.value?(S(),P("div",T1e,[!((T=o.value.tables)!=null&&T.length)&&!((R=o.value.paragraphs)!=null&&R.length)?(S(),le(w,{key:0,description:"本页未识别到表格或文字","image-size":80})):ie("",!0),(I=o.value.tables)!=null&&I.length?(S(!0),P(He,{key:1},yt(o.value.tables,($,O)=>(S(),le(g,{key:O,class:"table-card",shadow:"never"},{header:X(()=>[A("div",M1e,[j(C,{size:"small",type:"warning"},{default:X(()=>[Ue("表格 "+ve(O+1),1)]),_:2},1024),$.title?(S(),P("span",P1e,ve($.title),1)):ie("",!0)])]),default:X(()=>[j(E,{data:l($),size:"small",border:"",stripe:"",style:{width:"100%"},"max-height":"400"},{default:X(()=>[(S(!0),P(He,null,yt(c($),(B,U)=>(S(),le(x,{key:U,label:B,prop:String(U),"min-width":"120","show-overflow-tooltip":""},null,8,["label","prop"]))),128))]),_:2},1032,["data"])]),_:2},1024))),128)):ie("",!0),(M=o.value.paragraphs)!=null&&M.length?(S(),le(g,{key:2,class:"para-card",shadow:"never"},{header:X(()=>[A("span",R1e,"📝 段落文字("+ve(o.value.paragraphs.length)+" 段)",1)]),default:X(()=>[(S(!0),P(He,null,yt(o.value.paragraphs,($,O)=>(S(),P("div",{key:O,class:"para-item"},[$.title?(S(),P("div",I1e,ve($.title),1)):ie("",!0),A("pre",O1e,ve($.text),1)]))),128))]),_:1})):ie("",!0)])):ie("",!0)])}}},[["__scopeId","data-v-5cd76fd5"]]),L1e={class:"ocr-app"},N1e={class:"header-inner"},$1e={class:"header-actions"},D1e={class:"auto-section-title"},F1e={class:"auto-section-title"},B1e={__name:"App",setup(e){const t=rP();function n(){window.open("/docs","_blank")}const s=F(!1),a=F(!1),o=F(""),r=F([]),i=F(0),l=F(0),c=F(0),u=F([]),d=F(""),h=F({}),p=F(null),v=F("drawing"),m=F(""),g=F(null),b=F({}),_=F(!1),w=F(!1),C=F(!1),x=F([]),E=F(0),T=F(""),R=F({}),I=k(()=>u.value.filter(N=>N.page_type==="drawing")),M=k(()=>u.value.filter(N=>N.page_type==="table"||N.page_type==="text"));let $=null;function O({file:N,url:L,files:V,formats:z,mode:G,autoCorrect:Q,maxConcurrent:K,batch:ee}){Y(),v.value=G||"drawing";const ae=K||null;if(ee&&V&&V.length){_.value=!0,w.value=!0,E.value=V.length,x.value=[],$=Uge(V,z,U,v.value,Q!==!1,ae);return}s.value=!0,N&&(m.value=N.name.replace(/\.pdf$/i,""));const fe=ne=>{B(ne)};N?$=jge(N,z,fe,v.value,Q!==!1,ae):L&&($=Kge(L,z,fe,v.value,Q!==!1))}function B(N){const{type:L,data:V}=N;L==="progress"&&(r.value.push(V.message),V.percent!=null&&(i.value=V.percent),V.total_pages&&(l.value=V.total_pages),V.current_page&&(c.value=V.current_page)),L==="page_done"&&(v.value==="drawing"&&u.value.push(V.result),c.value=V.page,r.value.push(`✓ 第 ${V.page} 页识别完成`)),L==="done"&&(i.value=100,d.value=V.session_id,h.value=V.output_files||{},p.value=V.token_usage||null,g.value=V.correction_summary?{flagged_rows:0,corrected_rows:0,reasons:{},...V.correction_summary}:{flagged_rows:0,corrected_rows:0,reasons:{}},b.value=V.output_filenames||{},v.value==="drawing"&&Array.isArray(V.pages_data)&&(u.value=V.pages_data),(V.pdf_mode==="general"||V.pdf_mode==="auto")&&Array.isArray(V.pages_data)&&(u.value=V.pages_data),p.value&&(p.value.total_tokens!=null&&p.value.drawing_ocr==null?r.value.push(`📊 Token: 输入 ${p.value.prompt_tokens} / 输出 ${p.value.completion_tokens},费用 ¥${p.value.cost_cny}`):p.value.total_tokens!=null&&r.value.push(`📊 Token 合计 ${p.value.total_tokens}(分类+检测+OCR)`)),r.value.push("✅ 全部处理完成!"),s.value=!1,a.value=!0),L==="error"&&(o.value=V.message,s.value=!1,r.value.push(`❌ 错误:${V.message}`))}function U(N){x.value=[...x.value,N];const{type:L,data:V}=N;L==="batch_done"&&(T.value=V.merged_session_id||"",R.value=V.output_files||{},w.value=!1,C.value=!0),L==="error"&&(o.value=V.message,w.value=!1)}function J(){Y()}function Y(){$&&($(),$=null),s.value=!1,a.value=!1,o.value="",r.value=[],i.value=0,l.value=0,c.value=0,u.value=[],d.value="",h.value={},p.value=null,g.value=null,b.value={},v.value="auto",m.value="",_.value=!1,w.value=!1,C.value=!1,x.value=[],E.value=0,T.value="",R.value={}}return(N,L)=>{const V=Ge("Document"),z=Ge("el-icon"),G=Ge("el-button"),Q=Ge("el-header"),K=Ge("el-alert"),ee=Ge("el-main");return S(),P("div",L1e,[j(Q,{class:"app-header"},{default:X(()=>[A("div",N1e,[j(z,{size:"28",class:"logo-icon"},{default:X(()=>[j(V)]),_:1}),L[2]||(L[2]=A("span",{class:"title"},"PDF OCR 识别系统",-1)),L[3]||(L[3]=A("span",{class:"subtitle"},"PDF 表格与文字识别系统",-1))]),A("div",$1e,[j(G,{size:"small",plain:"",class:"manual-btn",onClick:L[0]||(L[0]=ae=>f(t).push("/Manual"))},{default:X(()=>[j(z,null,{default:X(()=>[j(f(wg))]),_:1}),L[4]||(L[4]=Ue(" 手动模式 ",-1))]),_:1}),j(G,{size:"small",plain:"",class:"swagger-btn",onClick:n},{default:X(()=>[...L[5]||(L[5]=[Ue("API Docs",-1)])]),_:1})])]),_:1}),j(ee,{class:"app-main"},{default:X(()=>[!s.value&&!a.value&&!_.value?(S(),le(Wge,{key:0,onSubmit:O})):ie("",!0),_.value?(S(),le(a1e,{key:1,"batch-events":x.value,"batch-done":C.value,"merged-session-id":T.value,"output-files":R.value,"total-files":E.value,onReset:J},null,8,["batch-events","batch-done","merged-session-id","output-files","total-files"])):ie("",!0),s.value?(S(),le(l1e,{key:2,logs:r.value,percent:i.value,"total-pages":l.value,"current-page":c.value},null,8,["logs","percent","total-pages","current-page"])):ie("",!0),a.value&&v.value==="drawing"?(S(),le(lP,{key:3,"pages-data":u.value,"session-id":d.value,"output-files":h.value,"output-filenames":b.value,"token-usage":p.value,"pdf-name":m.value,"correction-summary":g.value,onReset:J},null,8,["pages-data","session-id","output-files","output-filenames","token-usage","pdf-name","correction-summary"])):ie("",!0),a.value&&v.value==="general"?(S(),le(cP,{key:4,"pages-data":u.value,"session-id":d.value,"output-files":h.value,"output-filenames":b.value,"token-usage":p.value,"pdf-name":m.value,onReset:J},null,8,["pages-data","session-id","output-files","output-filenames","token-usage","pdf-name"])):ie("",!0),a.value&&v.value==="auto"?(S(),P(He,{key:5},[I.value.length?(S(),P(He,{key:0},[A("div",D1e,"📐 图纸类页面("+ve(I.value.length)+" 页)",1),j(lP,{"pages-data":I.value,"session-id":d.value,"output-files":h.value,"output-filenames":b.value,"token-usage":null,"pdf-name":m.value,"correction-summary":g.value,onReset:J},null,8,["pages-data","session-id","output-files","output-filenames","pdf-name","correction-summary"])],64)):ie("",!0),M.value.length?(S(),P(He,{key:1},[A("div",F1e,"📄 文字/表格类页面("+ve(M.value.length)+" 页)",1),j(cP,{"pages-data":M.value,"session-id":d.value,"output-files":h.value,"output-filenames":b.value,"token-usage":p.value,"pdf-name":m.value,onReset:J},null,8,["pages-data","session-id","output-files","output-filenames","token-usage","pdf-name"])],64)):ie("",!0)],64)):ie("",!0),o.value?(S(),le(K,{key:6,title:o.value,type:"error","show-icon":"",class:"mt-4",onClose:L[1]||(L[1]=ae=>o.value="")},null,8,["title"])):ie("",!0)]),_:1})])}}};var wv={};wv.d=(e,t)=>{for(var n in t)wv.o(t,n)&&!wv.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},wv.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var Yt=globalThis.pdfjsLib={};wv.d(Yt,{AbortException:()=>yc,AnnotationEditorLayer:()=>kw,AnnotationEditorParamsType:()=>mn,AnnotationEditorType:()=>on,AnnotationEditorUIManager:()=>Wu,AnnotationLayer:()=>L4e,AnnotationMode:()=>gc,ColorPicker:()=>ub,DOMSVGFactory:()=>mw,DrawLayer:()=>Aw,FeatureTest:()=>Oa,GlobalWorkerOptions:()=>ul,ImageKind:()=>U1,InvalidPDFException:()=>q8,MissingPDFException:()=>Cv,OPS:()=>Sr,OutputScale:()=>nw,PDFDataRangeTransport:()=>jP,PDFDateString:()=>ew,PDFWorker:()=>vh,PasswordResponses:()=>W1e,PermissionFlag:()=>H1e,PixelsPerInch:()=>wc,RenderingCancelledException:()=>Z8,TextLayer:()=>Tv,TouchManager:()=>nb,UnexpectedResponseException:()=>X1,Util:()=>Nt,VerbosityLevel:()=>q1,XfaLayer:()=>GP,build:()=>p4e,createValidAbsoluteUrl:()=>q1e,fetchData:()=>Z1,getDocument:()=>o4e,getFilenameFromUrl:()=>nbe,getPdfFilenameFromUrl:()=>sbe,getXfaPageViewport:()=>abe,isDataScheme:()=>Q1,isPdfFile:()=>Q8,noContextMenu:()=>xr,normalizeUnicode:()=>Q1e,setLayerDimensions:()=>Hu,shadow:()=>dn,stopEvent:()=>go,version:()=>h4e});const pa=typeof process=="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser"),uP=[1,0,0,1,0,0],j8=[.001,0,0,.001,0,0],V1e=1e7,K8=1.35,mo={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,IS_EDITING:128,OPLIST:256},gc={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},z1e="pdfjs_internal_editor_",on={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15},mn={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23,HIGHLIGHT_COLOR:31,HIGHLIGHT_DEFAULT_COLOR:32,HIGHLIGHT_THICKNESS:33,HIGHLIGHT_FREE:34,HIGHLIGHT_SHOW_ALL:35,DRAW_STEP:41},H1e={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},va={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},U1={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},ks={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,WIDGET:20},_v={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},q1={ERRORS:0,WARNINGS:1,INFOS:5},Sr={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91,setStrokeTransparent:92,setFillTransparent:93},W1e={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let G1=q1.WARNINGS;function j1e(e){Number.isInteger(e)&&(G1=e)}function K1e(){return G1}function Y1(e){G1>=q1.INFOS&&console.log(`Info: ${e}`)}function rn(e){G1>=q1.WARNINGS&&console.log(`Warning: ${e}`)}function Bn(e){throw new Error(e)}function bs(e,t){e||Bn(t)}function U1e(e){switch(e==null?void 0:e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function q1e(e,t=null,n=null){if(!e)return null;try{if(n&&typeof e=="string"){if(n.addDefaultProtocol&&e.startsWith("www.")){const a=e.match(/\./g);(a==null?void 0:a.length)>=2&&(e=`http://${e}`)}if(n.tryConvertEncoding)try{e=Z1e(e)}catch{}}const s=t?new URL(e,t):new URL(e);if(U1e(s))return s}catch{}return null}function dn(e,t,n,s=!1){return Object.defineProperty(e,t,{value:n,enumerable:!s,configurable:!0,writable:!1}),n}const bc=function(){function t(n,s){this.message=n,this.name=s}return t.prototype=new Error,t.constructor=t,t}();class dP extends bc{constructor(t,n){super(t,"PasswordException"),this.code=n}}class U8 extends bc{constructor(t,n){super(t,"UnknownErrorException"),this.details=n}}class q8 extends bc{constructor(t){super(t,"InvalidPDFException")}}class Cv extends bc{constructor(t){super(t,"MissingPDFException")}}class X1 extends bc{constructor(t,n){super(t,"UnexpectedResponseException"),this.status=n}}class G1e extends bc{constructor(t){super(t,"FormatError")}}class yc extends bc{constructor(t){super(t,"AbortException")}}function fP(e){(typeof e!="object"||(e==null?void 0:e.length)===void 0)&&Bn("Invalid argument for bytesToString");const t=e.length,n=8192;if(t>24&255,e>>16&255,e>>8&255,e&255)}function G8(e){const t=Object.create(null);for(const[n,s]of e)t[n]=s;return t}function X1e(){const e=new Uint8Array(4);return e[0]=1,new Uint32Array(e.buffer,0,1)[0]===1}function J1e(){try{return new Function(""),!0}catch{return!1}}class Oa{static get isLittleEndian(){return dn(this,"isLittleEndian",X1e())}static get isEvalSupported(){return dn(this,"isEvalSupported",J1e())}static get isOffscreenCanvasSupported(){return dn(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}static get isImageDecoderSupported(){return dn(this,"isImageDecoderSupported",typeof ImageDecoder<"u")}static get platform(){return typeof navigator<"u"&&typeof(navigator==null?void 0:navigator.platform)=="string"?dn(this,"platform",{isMac:navigator.platform.includes("Mac"),isWindows:navigator.platform.includes("Win"),isFirefox:typeof(navigator==null?void 0:navigator.userAgent)=="string"&&navigator.userAgent.includes("Firefox")}):dn(this,"platform",{isMac:!1,isWindows:!1,isFirefox:!1})}static get isCSSRoundSupported(){var t,n;return dn(this,"isCSSRoundSupported",(n=(t=globalThis.CSS)==null?void 0:t.supports)==null?void 0:n.call(t,"width: round(1.5px, 1px)"))}}const Y8=Array.from(Array(256).keys(),e=>e.toString(16).padStart(2,"0"));class Nt{static makeHexColor(t,n,s){return`#${Y8[t]}${Y8[n]}${Y8[s]}`}static scaleMinMax(t,n){let s;t[0]?(t[0]<0&&(s=n[0],n[0]=n[2],n[2]=s),n[0]*=t[0],n[2]*=t[0],t[3]<0&&(s=n[1],n[1]=n[3],n[3]=s),n[1]*=t[3],n[3]*=t[3]):(s=n[0],n[0]=n[1],n[1]=s,s=n[2],n[2]=n[3],n[3]=s,t[1]<0&&(s=n[1],n[1]=n[3],n[3]=s),n[1]*=t[1],n[3]*=t[1],t[2]<0&&(s=n[0],n[0]=n[2],n[2]=s),n[0]*=t[2],n[2]*=t[2]),n[0]+=t[4],n[1]+=t[5],n[2]+=t[4],n[3]+=t[5]}static transform(t,n){return[t[0]*n[0]+t[2]*n[1],t[1]*n[0]+t[3]*n[1],t[0]*n[2]+t[2]*n[3],t[1]*n[2]+t[3]*n[3],t[0]*n[4]+t[2]*n[5]+t[4],t[1]*n[4]+t[3]*n[5]+t[5]]}static applyTransform(t,n){const s=t[0]*n[0]+t[1]*n[2]+n[4],a=t[0]*n[1]+t[1]*n[3]+n[5];return[s,a]}static applyInverseTransform(t,n){const s=n[0]*n[3]-n[1]*n[2],a=(t[0]*n[3]-t[1]*n[2]+n[2]*n[5]-n[4]*n[3])/s,o=(-t[0]*n[1]+t[1]*n[0]+n[4]*n[1]-n[5]*n[0])/s;return[a,o]}static getAxialAlignedBoundingBox(t,n){const s=this.applyTransform(t,n),a=this.applyTransform(t.slice(2,4),n),o=this.applyTransform([t[0],t[3]],n),r=this.applyTransform([t[2],t[1]],n);return[Math.min(s[0],a[0],o[0],r[0]),Math.min(s[1],a[1],o[1],r[1]),Math.max(s[0],a[0],o[0],r[0]),Math.max(s[1],a[1],o[1],r[1])]}static inverseTransform(t){const n=t[0]*t[3]-t[1]*t[2];return[t[3]/n,-t[1]/n,-t[2]/n,t[0]/n,(t[2]*t[5]-t[4]*t[3])/n,(t[4]*t[1]-t[5]*t[0])/n]}static singularValueDecompose2dScale(t){const n=[t[0],t[2],t[1],t[3]],s=t[0]*n[0]+t[1]*n[2],a=t[0]*n[1]+t[1]*n[3],o=t[2]*n[0]+t[3]*n[2],r=t[2]*n[1]+t[3]*n[3],i=(s+r)/2,l=Math.sqrt((s+r)**2-4*(s*r-o*a))/2,c=i+l||1,u=i-l||1;return[Math.sqrt(c),Math.sqrt(u)]}static normalizeRect(t){const n=t.slice(0);return t[0]>t[2]&&(n[0]=t[2],n[2]=t[0]),t[1]>t[3]&&(n[1]=t[3],n[3]=t[1]),n}static intersect(t,n){const s=Math.max(Math.min(t[0],t[2]),Math.min(n[0],n[2])),a=Math.min(Math.max(t[0],t[2]),Math.max(n[0],n[2]));if(s>a)return null;const o=Math.max(Math.min(t[1],t[3]),Math.min(n[1],n[3])),r=Math.min(Math.max(t[1],t[3]),Math.max(n[1],n[3]));return o>r?null:[s,o,a,r]}static bezierBoundingBox(t,n,s,a,o,r,i,l,c){return c?(c[0]=Math.min(c[0],t,i),c[1]=Math.min(c[1],n,l),c[2]=Math.max(c[2],t,i),c[3]=Math.max(c[3],n,l)):c=[Math.min(t,i),Math.min(n,l),Math.max(t,i),Math.max(n,l)],oe(this,dl,Dw).call(this,t,s,o,i,n,a,r,l,3*(-t+3*(s-o)+i),6*(t-2*s+o),3*(s-t),c),oe(this,dl,Dw).call(this,t,s,o,i,n,a,r,l,3*(-n+3*(a-r)+l),6*(n-2*a+r),3*(a-n),c),c}}dl=new WeakSet,$b=function(t,n,s,a,o,r,i,l,c,u){if(c<=0||c>=1)return;const d=1-c,h=c*c,p=h*c,v=d*(d*(d*t+3*c*n)+3*h*s)+p*a,m=d*(d*(d*o+3*c*r)+3*h*i)+p*l;u[0]=Math.min(u[0],v),u[1]=Math.min(u[1],m),u[2]=Math.max(u[2],v),u[3]=Math.max(u[3],m)},Dw=function(t,n,s,a,o,r,i,l,c,u,d,h){if(Math.abs(c)<1e-12){Math.abs(u)>=1e-12&&oe(this,dl,$b).call(this,t,n,s,a,o,r,i,l,-d/u,h);return}const p=u**2-4*d*c;if(p<0)return;const v=Math.sqrt(p),m=2*c;oe(this,dl,$b).call(this,t,n,s,a,o,r,i,l,(-u+v)/m,h),oe(this,dl,$b).call(this,t,n,s,a,o,r,i,l,(-u-v)/m,h)},se(Nt,dl);function Z1e(e){return decodeURIComponent(escape(e))}let X8=null,hP=null;function Q1e(e){return X8||(X8=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,hP=new Map([["ſt","ſt"]])),e.replaceAll(X8,(t,n,s)=>n?n.normalize("NFKC"):hP.get(s))}function ebe(){if(typeof crypto.randomUUID=="function")return crypto.randomUUID();const e=new Uint8Array(32);return crypto.getRandomValues(e),fP(e)}const J8="pdfjs_internal_id_";function tbe(e){return Uint8Array.prototype.toBase64?e.toBase64():btoa(fP(e))}typeof Promise.try!="function"&&(Promise.try=function(e,...t){return new Promise(n=>{n(e(...t))})});const cl="http://www.w3.org/2000/svg",Uu=class Uu{};zt(Uu,"CSS",96),zt(Uu,"PDF",72),zt(Uu,"PDF_TO_CSS_UNITS",Uu.CSS/Uu.PDF);let wc=Uu;async function Z1(e,t="text"){if(xv(e,document.baseURI)){const n=await fetch(e);if(!n.ok)throw new Error(n.statusText);switch(t){case"arraybuffer":return n.arrayBuffer();case"blob":return n.blob();case"json":return n.json()}return n.text()}return new Promise((n,s)=>{const a=new XMLHttpRequest;a.open("GET",e,!0),a.responseType=t,a.onreadystatechange=()=>{if(a.readyState===XMLHttpRequest.DONE){if(a.status===200||a.status===0){switch(t){case"arraybuffer":case"blob":case"json":n(a.response);return}n(a.responseText);return}s(new Error(a.statusText))}},a.send(null)})}class Sv{constructor({viewBox:t,userUnit:n,scale:s,rotation:a,offsetX:o=0,offsetY:r=0,dontFlip:i=!1}){this.viewBox=t,this.userUnit=n,this.scale=s,this.rotation=a,this.offsetX=o,this.offsetY=r,s*=n;const l=(t[2]+t[0])/2,c=(t[3]+t[1])/2;let u,d,h,p;switch(a%=360,a<0&&(a+=360),a){case 180:u=-1,d=0,h=0,p=1;break;case 90:u=0,d=1,h=1,p=0;break;case 270:u=0,d=-1,h=-1,p=0;break;case 0:u=1,d=0,h=0,p=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}i&&(h=-h,p=-p);let v,m,g,b;u===0?(v=Math.abs(c-t[1])*s+o,m=Math.abs(l-t[0])*s+r,g=(t[3]-t[1])*s,b=(t[2]-t[0])*s):(v=Math.abs(l-t[0])*s+o,m=Math.abs(c-t[1])*s+r,g=(t[2]-t[0])*s,b=(t[3]-t[1])*s),this.transform=[u*s,d*s,h*s,p*s,v-u*s*l-h*s*c,m-d*s*l-p*s*c],this.width=g,this.height=b}get rawDims(){const{userUnit:t,viewBox:n}=this,s=n.map(a=>a*t);return dn(this,"rawDims",{pageWidth:s[2]-s[0],pageHeight:s[3]-s[1],pageX:s[0],pageY:s[1]})}clone({scale:t=this.scale,rotation:n=this.rotation,offsetX:s=this.offsetX,offsetY:a=this.offsetY,dontFlip:o=!1}={}){return new Sv({viewBox:this.viewBox.slice(),userUnit:this.userUnit,scale:t,rotation:n,offsetX:s,offsetY:a,dontFlip:o})}convertToViewportPoint(t,n){return Nt.applyTransform([t,n],this.transform)}convertToViewportRectangle(t){const n=Nt.applyTransform([t[0],t[1]],this.transform),s=Nt.applyTransform([t[2],t[3]],this.transform);return[n[0],n[1],s[0],s[1]]}convertToPdfPoint(t,n){return Nt.applyInverseTransform([t,n],this.transform)}}class Z8 extends bc{constructor(t,n=0){super(t,"RenderingCancelledException"),this.extraDelay=n}}function Q1(e){const t=e.length;let n=0;for(;n=1&&a<=12?a-1:0;let o=parseInt(n[3],10);o=o>=1&&o<=31?o:1;let r=parseInt(n[4],10);r=r>=0&&r<=23?r:0;let i=parseInt(n[5],10);i=i>=0&&i<=59?i:0;let l=parseInt(n[6],10);l=l>=0&&l<=59?l:0;const c=n[7]||"Z";let u=parseInt(n[8],10);u=u>=0&&u<=23?u:0;let d=parseInt(n[9],10)||0;return d=d>=0&&d<=59?d:0,c==="-"?(r+=u,i+=d):c==="+"&&(r-=u,i-=d),new Date(Date.UTC(s,a,o,r,i,l))}}Ov=new WeakMap,se(ew,Ov);function abe(e,{scale:t=1,rotation:n=0}){const{width:s,height:a}=e.attributes.style,o=[0,0,parseInt(s),parseInt(a)];return new Sv({viewBox:o,userUnit:1,scale:t,rotation:n})}function tw(e){if(e.startsWith("#")){const t=parseInt(e.slice(1),16);return[(t&16711680)>>16,(t&65280)>>8,t&255]}return e.startsWith("rgb(")?e.slice(4,-1).split(",").map(t=>parseInt(t)):e.startsWith("rgba(")?e.slice(5,-1).split(",").map(t=>parseInt(t)).slice(0,3):(rn(`Not a valid color format: "${e}"`),[0,0,0])}function obe(e){const t=document.createElement("span");t.style.visibility="hidden",document.body.append(t);for(const n of e.keys()){t.style.color=n;const s=window.getComputedStyle(t).color;e.set(n,tw(s))}t.remove()}function Jn(e){const{a:t,b:n,c:s,d:a,e:o,f:r}=e.getTransform();return[t,n,s,a,o,r]}function ui(e){const{a:t,b:n,c:s,d:a,e:o,f:r}=e.getTransform().invertSelf();return[t,n,s,a,o,r]}function Hu(e,t,n=!1,s=!0){if(t instanceof Sv){const{pageWidth:a,pageHeight:o}=t.rawDims,{style:r}=e,i=Oa.isCSSRoundSupported,l=`var(--scale-factor) * ${a}px`,c=`var(--scale-factor) * ${o}px`,u=i?`round(down, ${l}, var(--scale-round-x, 1px))`:`calc(${l})`,d=i?`round(down, ${c}, var(--scale-round-y, 1px))`:`calc(${c})`;!n||t.rotation%180===0?(r.width=u,r.height=d):(r.width=d,r.height=u)}s&&e.setAttribute("data-main-rotation",t.rotation)}class nw{constructor(){const t=window.devicePixelRatio||1;this.sx=t,this.sy=t}get scaled(){return this.sx!==1||this.sy!==1}get symmetric(){return this.sx===this.sy}}const fl=class fl{constructor(t){se(this,La);se(this,Cc,null);se(this,qu,null);se(this,Er);se(this,Gu,null);se(this,Lv,null);q(this,Er,t),y(fl,Nv)||q(fl,Nv,Object.freeze({freetext:"pdfjs-editor-remove-freetext-button",highlight:"pdfjs-editor-remove-highlight-button",ink:"pdfjs-editor-remove-ink-button",stamp:"pdfjs-editor-remove-stamp-button"}))}render(){const t=q(this,Cc,document.createElement("div"));t.classList.add("editToolbar","hidden"),t.setAttribute("role","toolbar");const n=y(this,Er)._uiManager._signal;t.addEventListener("contextmenu",xr,{signal:n}),t.addEventListener("pointerdown",oe(fl,pb,aR),{signal:n});const s=q(this,Gu,document.createElement("div"));s.className="buttons",t.append(s);const a=y(this,Er).toolbarPosition;if(a){const{style:o}=t,r=y(this,Er)._uiManager.direction==="ltr"?1-a[0]:a[0];o.insetInlineEnd=`${100*r}%`,o.top=`calc(${100*a[1]}% + var(--editor-toolbar-vert-offset))`}return oe(this,La,iR).call(this),t}get div(){return y(this,Cc)}hide(){var t;y(this,Cc).classList.add("hidden"),(t=y(this,qu))==null||t.hideDropdown()}show(){var t;y(this,Cc).classList.remove("hidden"),(t=y(this,Lv))==null||t.shown()}async addAltText(t){const n=await t.render();oe(this,La,Db).call(this,n),y(this,Gu).prepend(n,y(this,La,Fw)),q(this,Lv,t)}addColorPicker(t){q(this,qu,t);const n=t.renderButton();oe(this,La,Db).call(this,n),y(this,Gu).prepend(n,y(this,La,Fw))}remove(){var t;y(this,Cc).remove(),(t=y(this,qu))==null||t.destroy(),q(this,qu,null)}};Cc=new WeakMap,qu=new WeakMap,Er=new WeakMap,Gu=new WeakMap,Lv=new WeakMap,Nv=new WeakMap,pb=new WeakSet,aR=function(t){t.stopPropagation()},La=new WeakSet,oR=function(t){y(this,Er)._focusEventsAllowed=!1,go(t)},rR=function(t){y(this,Er)._focusEventsAllowed=!0,go(t)},Db=function(t){const n=y(this,Er)._uiManager._signal;t.addEventListener("focusin",oe(this,La,oR).bind(this),{capture:!0,signal:n}),t.addEventListener("focusout",oe(this,La,rR).bind(this),{capture:!0,signal:n}),t.addEventListener("contextmenu",xr,{signal:n})},iR=function(){const{editorType:t,_uiManager:n}=y(this,Er),s=document.createElement("button");s.className="delete",s.tabIndex=0,s.setAttribute("data-l10n-id",y(fl,Nv)[t]),oe(this,La,Db).call(this,s),s.addEventListener("click",a=>{n.delete()},{signal:n._signal}),y(this,Gu).append(s)},Fw=function(){const t=document.createElement("div");return t.className="divider",t},se(fl,pb),se(fl,Nv,null);let sw=fl;class rbe{constructor(t){se(this,Sc);se(this,$v,null);se(this,Yu,null);se(this,Xu);q(this,Xu,t)}show(t,n,s){const[a,o]=oe(this,Sc,cR).call(this,n,s),{style:r}=y(this,Yu)||q(this,Yu,oe(this,Sc,lR).call(this));t.append(y(this,Yu)),r.insetInlineEnd=`${100*a}%`,r.top=`calc(${100*o}% + var(--editor-toolbar-vert-offset))`}hide(){y(this,Yu).remove()}}$v=new WeakMap,Yu=new WeakMap,Xu=new WeakMap,Sc=new WeakSet,lR=function(){const t=q(this,Yu,document.createElement("div"));t.className="editToolbar",t.setAttribute("role","toolbar"),t.addEventListener("contextmenu",xr,{signal:y(this,Xu)._signal});const n=q(this,$v,document.createElement("div"));return n.className="buttons",t.append(n),oe(this,Sc,uR).call(this),t},cR=function(t,n){let s=0,a=0;for(const o of t){const r=o.y+o.height;if(rs){a=i,s=r;continue}n?i>a&&(a=i):i{y(this,Xu).highlightSelection("floating_button")},{signal:s}),y(this,$v).append(t)};function eb(e,t,n){for(const s of n)t.addEventListener(s,e[s].bind(e))}class ibe{constructor(){se(this,vb,0)}get id(){return`${z1e}${za(this,vb)._++}`}}vb=new WeakMap;const Tw=class Tw{constructor(){se(this,gh);se(this,mh,ebe());se(this,Dv,0);se(this,ga,null)}static get _isSVGFittingCanvas(){const t='data:image/svg+xml;charset=UTF-8,',s=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0}),a=new Image;a.src=t;const o=a.decode().then(()=>(s.drawImage(a,0,0,1,1,0,0,1,3),new Uint32Array(s.getImageData(0,0,1,1).data.buffer)[0]===0));return dn(this,"_isSVGFittingCanvas",o)}async getFromFile(t){const{lastModified:n,name:s,size:a,type:o}=t;return oe(this,gh,Fb).call(this,`${n}_${s}_${a}_${o}`,t)}async getFromUrl(t){return oe(this,gh,Fb).call(this,t,t)}async getFromBlob(t,n){const s=await n;return oe(this,gh,Fb).call(this,t,s)}async getFromId(t){y(this,ga)||q(this,ga,new Map);const n=y(this,ga).get(t);if(!n)return null;if(n.bitmap)return n.refCounter+=1,n;if(n.file)return this.getFromFile(n.file);if(n.blobPromise){const{blobPromise:s}=n;return delete n.blobPromise,this.getFromBlob(n.id,s)}return this.getFromUrl(n.url)}getFromCanvas(t,n){y(this,ga)||q(this,ga,new Map);let s=y(this,ga).get(t);if(s!=null&&s.bitmap)return s.refCounter+=1,s;const a=new OffscreenCanvas(n.width,n.height);return a.getContext("2d").drawImage(n,0,0),s={bitmap:a.transferToImageBitmap(),id:`image_${y(this,mh)}_${za(this,Dv)._++}`,refCounter:1,isSvg:!1},y(this,ga).set(t,s),y(this,ga).set(s.id,s),s}getSvgUrl(t){const n=y(this,ga).get(t);return n!=null&&n.isSvg?n.svgUrl:null}deleteId(t){var a;y(this,ga)||q(this,ga,new Map);const n=y(this,ga).get(t);if(!n||(n.refCounter-=1,n.refCounter!==0))return;const{bitmap:s}=n;if(!n.url&&!n.file){const o=new OffscreenCanvas(s.width,s.height);o.getContext("bitmaprenderer").transferFromImageBitmap(s),n.blobPromise=o.convertToBlob()}(a=s.close)==null||a.call(s),n.bitmap=null}isValidId(t){return t.startsWith(`image_${y(this,mh)}_`)}};mh=new WeakMap,Dv=new WeakMap,ga=new WeakMap,gh=new WeakSet,Fb=async function(t,n){y(this,ga)||q(this,ga,new Map);let s=y(this,ga).get(t);if(s===null)return null;if(s!=null&&s.bitmap)return s.refCounter+=1,s;try{s||(s={bitmap:null,id:`image_${y(this,mh)}_${za(this,Dv)._++}`,refCounter:0,isSvg:!1});let a;if(typeof n=="string"?(s.url=n,a=await Z1(n,"blob")):n instanceof File?a=s.file=n:n instanceof Blob&&(a=n),a.type==="image/svg+xml"){const o=Tw._isSVGFittingCanvas,r=new FileReader,i=new Image,l=new Promise((c,u)=>{i.onload=()=>{s.bitmap=i,s.isSvg=!0,c()},r.onload=async()=>{const d=s.svgUrl=r.result;i.src=await o?`${d}#svgView(preserveAspectRatio(none))`:d},i.onerror=r.onerror=u});r.readAsDataURL(a),await l}else s.bitmap=await createImageBitmap(a);s.refCounter=1}catch(a){rn(a),s=null}return y(this,ga).set(t,s),s&&y(this,ga).set(s.id,s),s};let aw=Tw;class lbe{constructor(t=128){se(this,ds,[]);se(this,xc,!1);se(this,Fv);se(this,ss,-1);q(this,Fv,t)}add({cmd:t,undo:n,post:s,mustExec:a,type:o=NaN,overwriteIfSameType:r=!1,keepUndo:i=!1}){if(a&&t(),y(this,xc))return;const l={cmd:t,undo:n,post:s,type:o};if(y(this,ss)===-1){y(this,ds).length>0&&(y(this,ds).length=0),q(this,ss,0),y(this,ds).push(l);return}if(r&&y(this,ds)[y(this,ss)].type===o){i&&(l.undo=y(this,ds)[y(this,ss)].undo),y(this,ds)[y(this,ss)]=l;return}const c=y(this,ss)+1;c===y(this,Fv)?y(this,ds).splice(0,1):(q(this,ss,c),c=0;n--)if(y(this,ds)[n].type!==t){y(this,ds).splice(n+1,y(this,ss)-n),q(this,ss,n);return}y(this,ds).length=0,q(this,ss,-1)}}destroy(){q(this,ds,null)}}ds=new WeakMap,xc=new WeakMap,Fv=new WeakMap,ss=new WeakMap;class Ev{constructor(t){se(this,mb);this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;const{isMac:n}=Oa.platform;for(const[s,a,o={}]of t)for(const r of s){const i=r.startsWith("mac+");n&&i?(this.callbacks.set(r.slice(4),{callback:a,options:o}),this.allKeys.add(r.split("+").at(-1))):!n&&!i&&(this.callbacks.set(r,{callback:a,options:o}),this.allKeys.add(r.split("+").at(-1)))}}exec(t,n){if(!this.allKeys.has(n.key))return;const s=this.callbacks.get(oe(this,mb,dR).call(this,n));if(!s)return;const{callback:a,options:{bubbles:o=!1,args:r=[],checker:i=null}}=s;i&&!i(t,n)||(a.bind(t,...r,n)(),o||go(n))}}mb=new WeakSet,dR=function(t){t.altKey&&this.buffer.push("alt"),t.ctrlKey&&this.buffer.push("ctrl"),t.metaKey&&this.buffer.push("meta"),t.shiftKey&&this.buffer.push("shift"),this.buffer.push(t.key);const n=this.buffer.join("+");return this.buffer.length=0,n};const gb=class gb{get _colors(){const t=new Map([["CanvasText",null],["Canvas",null]]);return obe(t),dn(this,"_colors",t)}convert(t){const n=tw(t);if(!window.matchMedia("(forced-colors: active)").matches)return n;for(const[s,a]of this._colors)if(a.every((o,r)=>o===n[r]))return gb._colorsMapping.get(s);return n}getHexCode(t){const n=this._colors.get(t);return n?Nt.makeHexColor(...n):t}};zt(gb,"_colorsMapping",new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]));let ow=gb;const xh=class xh{constructor(t,n,s,a,o,r,i,l,c,u,d,h,p){se(this,mt);se(this,bh,new AbortController);se(this,bo,null);se(this,As,new Map);se(this,Ys,new Map);se(this,yh,null);se(this,hl,null);se(this,wh,null);se(this,Wo,new lbe);se(this,Ec,null);se(this,Ju,null);se(this,_h,0);se(this,Zu,new Set);se(this,fi,null);se(this,kr,null);se(this,Qu,new Set);zt(this,"_editorUndoBar",null);se(this,Bv,!1);se(this,Vv,!1);se(this,Ch,!1);se(this,zv,null);se(this,hi,null);se(this,kc,null);se(this,Sh,null);se(this,Ac,!1);se(this,pi,null);se(this,bb,new ibe);se(this,Tc,!1);se(this,Hv,!1);se(this,Mc,null);se(this,ed,null);se(this,Wv,null);se(this,jv,null);se(this,Fs,on.NONE);se(this,On,new Set);se(this,pl,null);se(this,td,null);se(this,Kv,null);se(this,Uv,{isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1});se(this,Pc,[0,0]);se(this,vi,null);se(this,vl,null);se(this,qv,null);se(this,jo,null);const v=this._signal=y(this,bh).signal;q(this,vl,t),q(this,qv,n),q(this,yh,s),this._eventBus=a,a._on("editingaction",this.onEditingAction.bind(this),{signal:v}),a._on("pagechanging",this.onPageChanging.bind(this),{signal:v}),a._on("scalechanging",this.onScaleChanging.bind(this),{signal:v}),a._on("rotationchanging",this.onRotationChanging.bind(this),{signal:v}),a._on("setpreference",this.onSetPreference.bind(this),{signal:v}),a._on("switchannotationeditorparams",m=>this.updateParams(m.type,m.value),{signal:v}),oe(this,mt,pR).call(this),oe(this,mt,bR).call(this),oe(this,mt,Vw).call(this),q(this,hl,o.annotationStorage),q(this,zv,o.filterFactory),q(this,td,r),q(this,Sh,i||null),q(this,Bv,l),q(this,Vv,c),q(this,Ch,u),q(this,jv,d||null),this.viewParameters={realScale:wc.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1,this._editorUndoBar=h||null,this._supportsPinchToZoom=p!==!1}static get _keyboardManager(){const t=xh.prototype,n=r=>y(r,vl).contains(document.activeElement)&&document.activeElement.tagName!=="BUTTON"&&r.hasSomethingToControl(),s=(r,{target:i})=>{if(i instanceof HTMLInputElement){const{type:l}=i;return l!=="text"&&l!=="number"}return!0},a=this.TRANSLATE_SMALL,o=this.TRANSLATE_BIG;return dn(this,"_keyboardManager",new Ev([[["ctrl+a","mac+meta+a"],t.selectAll,{checker:s}],[["ctrl+z","mac+meta+z"],t.undo,{checker:s}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],t.redo,{checker:s}],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],t.delete,{checker:s}],[["Enter","mac+Enter"],t.addNewEditorFromKeyboard,{checker:(r,{target:i})=>!(i instanceof HTMLButtonElement)&&y(r,vl).contains(i)&&!r.isEnterHandled}],[[" ","mac+ "],t.addNewEditorFromKeyboard,{checker:(r,{target:i})=>!(i instanceof HTMLButtonElement)&&y(r,vl).contains(document.activeElement)}],[["Escape","mac+Escape"],t.unselectAll],[["ArrowLeft","mac+ArrowLeft"],t.translateSelectedEditors,{args:[-a,0],checker:n}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t.translateSelectedEditors,{args:[-o,0],checker:n}],[["ArrowRight","mac+ArrowRight"],t.translateSelectedEditors,{args:[a,0],checker:n}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t.translateSelectedEditors,{args:[o,0],checker:n}],[["ArrowUp","mac+ArrowUp"],t.translateSelectedEditors,{args:[0,-a],checker:n}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t.translateSelectedEditors,{args:[0,-o],checker:n}],[["ArrowDown","mac+ArrowDown"],t.translateSelectedEditors,{args:[0,a],checker:n}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t.translateSelectedEditors,{args:[0,o],checker:n}]]))}destroy(){var t,n,s,a,o;(t=y(this,jo))==null||t.resolve(),q(this,jo,null),(n=y(this,bh))==null||n.abort(),q(this,bh,null),this._signal=null;for(const r of y(this,Ys).values())r.destroy();y(this,Ys).clear(),y(this,As).clear(),y(this,Qu).clear(),q(this,bo,null),y(this,On).clear(),y(this,Wo).destroy(),(s=y(this,yh))==null||s.destroy(),(a=y(this,pi))==null||a.hide(),q(this,pi,null),y(this,hi)&&(clearTimeout(y(this,hi)),q(this,hi,null)),y(this,vi)&&(clearTimeout(y(this,vi)),q(this,vi,null)),(o=this._editorUndoBar)==null||o.destroy()}combinedSignal(t){return AbortSignal.any([this._signal,t.signal])}get mlManager(){return y(this,jv)}get useNewAltTextFlow(){return y(this,Vv)}get useNewAltTextWhenAddingImage(){return y(this,Ch)}get hcmFilter(){return dn(this,"hcmFilter",y(this,td)?y(this,zv).addHCMFilter(y(this,td).foreground,y(this,td).background):"none")}get direction(){return dn(this,"direction",getComputedStyle(y(this,vl)).direction)}get highlightColors(){return dn(this,"highlightColors",y(this,Sh)?new Map(y(this,Sh).split(",").map(t=>t.split("=").map(n=>n.trim()))):null)}get highlightColorNames(){return dn(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,t=>t.reverse())):null)}setCurrentDrawingSession(t){t?(this.unselectAll(),this.disableUserSelect(!0)):this.disableUserSelect(!1),q(this,Ju,t)}setMainHighlightColorPicker(t){q(this,Wv,t)}editAltText(t,n=!1){var s;(s=y(this,yh))==null||s.editAltText(this,t,n)}switchToMode(t,n){this._eventBus.on("annotationeditormodechanged",n,{once:!0,signal:this._signal}),this._eventBus.dispatch("showannotationeditorui",{source:this,mode:t})}setPreference(t,n){this._eventBus.dispatch("setpreference",{source:this,name:t,value:n})}onSetPreference({name:t,value:n}){switch(t){case"enableNewAltTextWhenAddingImage":q(this,Ch,n);break}}onPageChanging({pageNumber:t}){q(this,_h,t-1)}focusMainContainer(){y(this,vl).focus()}findParent(t,n){for(const s of y(this,Ys).values()){const{x:a,y:o,width:r,height:i}=s.div.getBoundingClientRect();if(t>=a&&t<=a+r&&n>=o&&n<=o+i)return s}return null}disableUserSelect(t=!1){y(this,qv).classList.toggle("noUserSelect",t)}addShouldRescale(t){y(this,Qu).add(t)}removeShouldRescale(t){y(this,Qu).delete(t)}onScaleChanging({scale:t}){var n;this.commitOrRemove(),this.viewParameters.realScale=t*wc.PDF_TO_CSS_UNITS;for(const s of y(this,Qu))s.onScaleChanging();(n=y(this,Ju))==null||n.onScaleChanging()}onRotationChanging({pagesRotation:t}){this.commitOrRemove(),this.viewParameters.rotation=t}highlightSelection(t=""){const n=document.getSelection();if(!n||n.isCollapsed)return;const{anchorNode:s,anchorOffset:a,focusNode:o,focusOffset:r}=n,i=n.toString(),c=oe(this,mt,Bb).call(this,n).closest(".textLayer"),u=this.getSelectionBoxes(c);if(!u)return;n.empty();const d=oe(this,mt,Bw).call(this,c),h=y(this,Fs)===on.NONE,p=()=>{d==null||d.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:t,boxes:u,anchorNode:s,anchorOffset:a,focusNode:o,focusOffset:r,text:i}),h&&this.showAllEditors("highlight",!0,!0)};if(h){this.switchToMode(on.HIGHLIGHT,p);return}p()}addToAnnotationStorage(t){!t.isEmpty()&&y(this,hl)&&!y(this,hl).has(t.id)&&y(this,hl).setValue(t.id,t)}blur(){if(this.isShiftKeyDown=!1,y(this,Ac)&&(q(this,Ac,!1),oe(this,mt,Vb).call(this,"main_toolbar")),!this.hasSelection)return;const{activeElement:t}=document;for(const n of y(this,On))if(n.div.contains(t)){q(this,ed,[n,t]),n._focusEventsAllowed=!1;break}}focus(){if(!y(this,ed))return;const[t,n]=y(this,ed);q(this,ed,null),n.addEventListener("focusin",()=>{t._focusEventsAllowed=!0},{once:!0,signal:this._signal}),n.focus()}addEditListeners(){oe(this,mt,Vw).call(this),oe(this,mt,zw).call(this)}removeEditListeners(){oe(this,mt,gR).call(this),oe(this,mt,Hw).call(this)}dragOver(t){for(const{type:n}of t.dataTransfer.items)for(const s of y(this,kr))if(s.isHandlingMimeForPasting(n)){t.dataTransfer.dropEffect="copy",t.preventDefault();return}}drop(t){for(const n of t.dataTransfer.items)for(const s of y(this,kr))if(s.isHandlingMimeForPasting(n.type)){s.paste(n,this.currentLayer),t.preventDefault();return}}copy(t){var s;if(t.preventDefault(),(s=y(this,bo))==null||s.commitOrRemove(),!this.hasSelection)return;const n=[];for(const a of y(this,On)){const o=a.serialize(!0);o&&n.push(o)}n.length!==0&&t.clipboardData.setData("application/pdfjs",JSON.stringify(n))}cut(t){this.copy(t),this.delete()}async paste(t){t.preventDefault();const{clipboardData:n}=t;for(const o of n.items)for(const r of y(this,kr))if(r.isHandlingMimeForPasting(o.type)){r.paste(o,this.currentLayer);return}let s=n.getData("application/pdfjs");if(!s)return;try{s=JSON.parse(s)}catch(o){rn(`paste: "${o.message}".`);return}if(!Array.isArray(s))return;this.unselectAll();const a=this.currentLayer;try{const o=[];for(const l of s){const c=await a.deserialize(l);if(!c)return;o.push(c)}const r=()=>{for(const l of o)oe(this,mt,Ww).call(this,l);oe(this,mt,jw).call(this,o)},i=()=>{for(const l of o)l.remove()};this.addCommands({cmd:r,undo:i,mustExec:!0})}catch(o){rn(`paste: "${o.message}".`)}}keydown(t){!this.isShiftKeyDown&&t.key==="Shift"&&(this.isShiftKeyDown=!0),y(this,Fs)!==on.NONE&&!this.isEditorHandlingKeyboard&&xh._keyboardManager.exec(this,t)}keyup(t){this.isShiftKeyDown&&t.key==="Shift"&&(this.isShiftKeyDown=!1,y(this,Ac)&&(q(this,Ac,!1),oe(this,mt,Vb).call(this,"main_toolbar")))}onEditingAction({name:t}){switch(t){case"undo":case"redo":case"delete":case"selectAll":this[t]();break;case"highlightSelection":this.highlightSelection("context_menu");break}}setEditingState(t){t?(oe(this,mt,vR).call(this),oe(this,mt,zw).call(this),oe(this,mt,Ha).call(this,{isEditing:y(this,Fs)!==on.NONE,isEmpty:oe(this,mt,r2).call(this),hasSomethingToUndo:y(this,Wo).hasSomethingToUndo(),hasSomethingToRedo:y(this,Wo).hasSomethingToRedo(),hasSelectedEditor:!1})):(oe(this,mt,mR).call(this),oe(this,mt,Hw).call(this),oe(this,mt,Ha).call(this,{isEditing:!1}),this.disableUserSelect(!1))}registerEditorTypes(t){if(!y(this,kr)){q(this,kr,t);for(const n of y(this,kr))oe(this,mt,Wl).call(this,n.defaultPropertiesToUpdate)}}getId(){return y(this,bb).id}get currentLayer(){return y(this,Ys).get(y(this,_h))}getLayer(t){return y(this,Ys).get(t)}get currentPageIndex(){return y(this,_h)}addLayer(t){y(this,Ys).set(t.pageIndex,t),y(this,Tc)?t.enable():t.disable()}removeLayer(t){y(this,Ys).delete(t.pageIndex)}async updateMode(t,n=null,s=!1){var a;if(y(this,Fs)!==t&&!(y(this,jo)&&(await y(this,jo).promise,!y(this,jo)))){if(q(this,jo,Promise.withResolvers()),q(this,Fs,t),t===on.NONE){this.setEditingState(!1),oe(this,mt,wR).call(this),(a=this._editorUndoBar)==null||a.hide(),y(this,jo).resolve();return}this.setEditingState(!0),await oe(this,mt,yR).call(this),this.unselectAll();for(const o of y(this,Ys).values())o.updateMode(t);if(!n){s&&this.addNewEditorFromKeyboard(),y(this,jo).resolve();return}for(const o of y(this,As).values())o.annotationElementId===n?(this.setSelected(o),o.enterInEditMode()):o.unselect();y(this,jo).resolve()}}addNewEditorFromKeyboard(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}updateToolbar(t){t!==y(this,Fs)&&this._eventBus.dispatch("switchannotationeditormode",{source:this,mode:t})}updateParams(t,n){var s;if(y(this,kr)){switch(t){case mn.CREATE:this.currentLayer.addNewEditor();return;case mn.HIGHLIGHT_DEFAULT_COLOR:(s=y(this,Wv))==null||s.updateColor(n);break;case mn.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(y(this,Kv)||q(this,Kv,new Map)).set(t,n),this.showAllEditors("highlight",n);break}for(const a of y(this,On))a.updateParams(t,n);for(const a of y(this,kr))a.updateDefaultParams(t,n)}}showAllEditors(t,n,s=!1){var o;for(const r of y(this,As).values())r.editorType===t&&r.show(n);(((o=y(this,Kv))==null?void 0:o.get(mn.HIGHLIGHT_SHOW_ALL))??!0)!==n&&oe(this,mt,Wl).call(this,[[mn.HIGHLIGHT_SHOW_ALL,n]])}enableWaiting(t=!1){if(y(this,Hv)!==t){q(this,Hv,t);for(const n of y(this,Ys).values())t?n.disableClick():n.enableClick(),n.div.classList.toggle("waiting",t)}}getEditors(t){const n=[];for(const s of y(this,As).values())s.pageIndex===t&&n.push(s);return n}getEditor(t){return y(this,As).get(t)}addEditor(t){y(this,As).set(t.id,t)}removeEditor(t){var n;t.div.contains(document.activeElement)&&(y(this,hi)&&clearTimeout(y(this,hi)),q(this,hi,setTimeout(()=>{this.focusMainContainer(),q(this,hi,null)},0))),y(this,As).delete(t.id),this.unselect(t),(!t.annotationElementId||!y(this,Zu).has(t.annotationElementId))&&((n=y(this,hl))==null||n.remove(t.id))}addDeletedAnnotationElement(t){y(this,Zu).add(t.annotationElementId),this.addChangedExistingAnnotation(t),t.deleted=!0}isDeletedAnnotationElement(t){return y(this,Zu).has(t)}removeDeletedAnnotationElement(t){y(this,Zu).delete(t.annotationElementId),this.removeChangedExistingAnnotation(t),t.deleted=!1}setActiveEditor(t){y(this,bo)!==t&&(q(this,bo,t),t&&oe(this,mt,Wl).call(this,t.propertiesToUpdate))}updateUI(t){y(this,mt,_R)===t&&oe(this,mt,Wl).call(this,t.propertiesToUpdate)}updateUIForDefaultProperties(t){oe(this,mt,Wl).call(this,t.defaultPropertiesToUpdate)}toggleSelected(t){if(y(this,On).has(t)){y(this,On).delete(t),t.unselect(),oe(this,mt,Ha).call(this,{hasSelectedEditor:this.hasSelection});return}y(this,On).add(t),t.select(),oe(this,mt,Wl).call(this,t.propertiesToUpdate),oe(this,mt,Ha).call(this,{hasSelectedEditor:!0})}setSelected(t){var n;(n=y(this,Ju))==null||n.commitOrRemove();for(const s of y(this,On))s!==t&&s.unselect();y(this,On).clear(),y(this,On).add(t),t.select(),oe(this,mt,Wl).call(this,t.propertiesToUpdate),oe(this,mt,Ha).call(this,{hasSelectedEditor:!0})}isSelected(t){return y(this,On).has(t)}get firstSelectedEditor(){return y(this,On).values().next().value}unselect(t){t.unselect(),y(this,On).delete(t),oe(this,mt,Ha).call(this,{hasSelectedEditor:this.hasSelection})}get hasSelection(){return y(this,On).size!==0}get isEnterHandled(){return y(this,On).size===1&&this.firstSelectedEditor.isEnterHandled}undo(){var t;y(this,Wo).undo(),oe(this,mt,Ha).call(this,{hasSomethingToUndo:y(this,Wo).hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:oe(this,mt,r2).call(this)}),(t=this._editorUndoBar)==null||t.hide()}redo(){y(this,Wo).redo(),oe(this,mt,Ha).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:y(this,Wo).hasSomethingToRedo(),isEmpty:oe(this,mt,r2).call(this)})}addCommands(t){y(this,Wo).add(t),oe(this,mt,Ha).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:oe(this,mt,r2).call(this)})}cleanUndoStack(t){y(this,Wo).cleanType(t)}delete(){var o;this.commitOrRemove();const t=(o=this.currentLayer)==null?void 0:o.endDrawingSession(!0);if(!this.hasSelection&&!t)return;const n=t?[t]:[...y(this,On)],s=()=>{var r;(r=this._editorUndoBar)==null||r.show(a,n.length===1?n[0].editorType:n.length);for(const i of n)i.remove()},a=()=>{for(const r of n)oe(this,mt,Ww).call(this,r)};this.addCommands({cmd:s,undo:a,mustExec:!0})}commitOrRemove(){var t;(t=y(this,bo))==null||t.commitOrRemove()}hasSomethingToControl(){return y(this,bo)||this.hasSelection}selectAll(){for(const t of y(this,On))t.commit();oe(this,mt,jw).call(this,y(this,As).values())}unselectAll(){var t;if(!(y(this,bo)&&(y(this,bo).commitOrRemove(),y(this,Fs)!==on.NONE))&&!((t=y(this,Ju))!=null&&t.commitOrRemove())&&this.hasSelection){for(const n of y(this,On))n.unselect();y(this,On).clear(),oe(this,mt,Ha).call(this,{hasSelectedEditor:!1})}}translateSelectedEditors(t,n,s=!1){if(s||this.commitOrRemove(),!this.hasSelection)return;y(this,Pc)[0]+=t,y(this,Pc)[1]+=n;const[a,o]=y(this,Pc),r=[...y(this,On)],i=1e3;y(this,vi)&&clearTimeout(y(this,vi)),q(this,vi,setTimeout(()=>{q(this,vi,null),y(this,Pc)[0]=y(this,Pc)[1]=0,this.addCommands({cmd:()=>{for(const l of r)y(this,As).has(l.id)&&l.translateInPage(a,o)},undo:()=>{for(const l of r)y(this,As).has(l.id)&&l.translateInPage(-a,-o)},mustExec:!1})},i));for(const l of r)l.translateInPage(t,n)}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),q(this,fi,new Map);for(const t of y(this,On))y(this,fi).set(t,{savedX:t.x,savedY:t.y,savedPageIndex:t.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!y(this,fi))return!1;this.disableUserSelect(!1);const t=y(this,fi);q(this,fi,null);let n=!1;for(const[{x:a,y:o,pageIndex:r},i]of t)i.newX=a,i.newY=o,i.newPageIndex=r,n||(n=a!==i.savedX||o!==i.savedY||r!==i.savedPageIndex);if(!n)return!1;const s=(a,o,r,i)=>{if(y(this,As).has(a.id)){const l=y(this,Ys).get(i);l?a._setParentAndPosition(l,o,r):(a.pageIndex=i,a.x=o,a.y=r)}};return this.addCommands({cmd:()=>{for(const[a,{newX:o,newY:r,newPageIndex:i}]of t)s(a,o,r,i)},undo:()=>{for(const[a,{savedX:o,savedY:r,savedPageIndex:i}]of t)s(a,o,r,i)},mustExec:!0}),!0}dragSelectedEditors(t,n){if(y(this,fi))for(const s of y(this,fi).keys())s.drag(t,n)}rebuild(t){if(t.parent===null){const n=this.getLayer(t.pageIndex);n?(n.changeParent(t),n.addOrRebuild(t)):(this.addEditor(t),this.addToAnnotationStorage(t),t.rebuild())}else t.parent.addOrRebuild(t)}get isEditorHandlingKeyboard(){var t;return((t=this.getActive())==null?void 0:t.shouldGetKeyboardEvents())||y(this,On).size===1&&this.firstSelectedEditor.shouldGetKeyboardEvents()}isActive(t){return y(this,bo)===t}getActive(){return y(this,bo)}getMode(){return y(this,Fs)}get imageManager(){return dn(this,"imageManager",new aw)}getSelectionBoxes(t){if(!t)return null;const n=document.getSelection();for(let c=0,u=n.rangeCount;c({x:(u-a)/r,y:1-(c+d-s)/o,width:h/r,height:d/o});break;case"180":i=(c,u,d,h)=>({x:1-(c+d-s)/o,y:1-(u+h-a)/r,width:d/o,height:h/r});break;case"270":i=(c,u,d,h)=>({x:1-(u+h-a)/r,y:(c-s)/o,width:h/r,height:d/o});break;default:i=(c,u,d,h)=>({x:(c-s)/o,y:(u-a)/r,width:d/o,height:h/r});break}const l=[];for(let c=0,u=n.rangeCount;c{h.type==="pointerup"&&h.button!==0||(c.abort(),l==null||l.toggleDrawing(!0),h.type==="pointerup"&&oe(this,mt,Vb).call(this,"main_toolbar"))};window.addEventListener("pointerup",d,{signal:u}),window.addEventListener("blur",d,{signal:u})}},Vb=function(t=""){y(this,Fs)===on.HIGHLIGHT?this.highlightSelection(t):y(this,Bv)&&oe(this,mt,fR).call(this)},pR=function(){document.addEventListener("selectionchange",oe(this,mt,hR).bind(this),{signal:this._signal})},vR=function(){if(y(this,kc))return;q(this,kc,new AbortController);const t=this.combinedSignal(y(this,kc));window.addEventListener("focus",this.focus.bind(this),{signal:t}),window.addEventListener("blur",this.blur.bind(this),{signal:t})},mR=function(){var t;(t=y(this,kc))==null||t.abort(),q(this,kc,null)},Vw=function(){if(y(this,Mc))return;q(this,Mc,new AbortController);const t=this.combinedSignal(y(this,Mc));window.addEventListener("keydown",this.keydown.bind(this),{signal:t}),window.addEventListener("keyup",this.keyup.bind(this),{signal:t})},gR=function(){var t;(t=y(this,Mc))==null||t.abort(),q(this,Mc,null)},zw=function(){if(y(this,Ec))return;q(this,Ec,new AbortController);const t=this.combinedSignal(y(this,Ec));document.addEventListener("copy",this.copy.bind(this),{signal:t}),document.addEventListener("cut",this.cut.bind(this),{signal:t}),document.addEventListener("paste",this.paste.bind(this),{signal:t})},Hw=function(){var t;(t=y(this,Ec))==null||t.abort(),q(this,Ec,null)},bR=function(){const t=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:t}),document.addEventListener("drop",this.drop.bind(this),{signal:t})},Ha=function(t){Object.entries(t).some(([s,a])=>y(this,Uv)[s]!==a)&&(this._eventBus.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(y(this,Uv),t)}),y(this,Fs)===on.HIGHLIGHT&&t.hasSelectedEditor===!1&&oe(this,mt,Wl).call(this,[[mn.HIGHLIGHT_FREE,!0]]))},Wl=function(t){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:t})},yR=async function(){if(!y(this,Tc)){q(this,Tc,!0);const t=[];for(const n of y(this,Ys).values())t.push(n.enable());await Promise.all(t);for(const n of y(this,As).values())n.enable()}},wR=function(){if(this.unselectAll(),y(this,Tc)){q(this,Tc,!1);for(const t of y(this,Ys).values())t.disable();for(const t of y(this,As).values())t.disable()}},Ww=function(t){const n=y(this,Ys).get(t.pageIndex);n?n.addOrRebuild(t):(this.addEditor(t),this.addToAnnotationStorage(t))},_R=function(){let t=null;for(t of y(this,On));return t},r2=function(){if(y(this,As).size===0)return!0;if(y(this,As).size===1)for(const t of y(this,As).values())return t.isEmpty();return!1},jw=function(t){for(const n of y(this,On))n.unselect();y(this,On).clear();for(const n of t)n.isEmpty()||(y(this,On).add(n),n.select());oe(this,mt,Ha).call(this,{hasSelectedEditor:this.hasSelection})},zt(xh,"TRANSLATE_SMALL",1),zt(xh,"TRANSLATE_BIG",10);let Wu=xh;const Na=class Na{constructor(t){se(this,Tr);se(this,Bs,null);se(this,mi,!1);se(this,Ar,null);se(this,Eh,null);se(this,gi,null);se(this,yo,null);se(this,kh,!1);se(this,bi,null);se(this,to,null);se(this,ml,null);se(this,nd,null);se(this,yi,!1);q(this,to,t),q(this,yi,t._uiManager.useNewAltTextFlow),y(Na,Rc)||q(Na,Rc,Object.freeze({added:"pdfjs-editor-new-alt-text-added-button","added-label":"pdfjs-editor-new-alt-text-added-button-label",missing:"pdfjs-editor-new-alt-text-missing-button","missing-label":"pdfjs-editor-new-alt-text-missing-button-label",review:"pdfjs-editor-new-alt-text-to-review-button","review-label":"pdfjs-editor-new-alt-text-to-review-button-label"}))}static initialize(t){Na._l10n??(Na._l10n=t)}async render(){const t=q(this,Ar,document.createElement("button"));t.className="altText",t.tabIndex="0";const n=q(this,Eh,document.createElement("span"));t.append(n),y(this,yi)?(t.classList.add("new"),t.setAttribute("data-l10n-id",y(Na,Rc).missing),n.setAttribute("data-l10n-id",y(Na,Rc)["missing-label"])):(t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button"),n.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button-label"));const s=y(this,to)._uiManager._signal;t.addEventListener("contextmenu",xr,{signal:s}),t.addEventListener("pointerdown",o=>o.stopPropagation(),{signal:s});const a=o=>{o.preventDefault(),y(this,to)._uiManager.editAltText(y(this,to)),y(this,yi)&&y(this,to)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_clicked",data:{label:y(this,Tr,i2)}})};return t.addEventListener("click",a,{capture:!0,signal:s}),t.addEventListener("keydown",o=>{o.target===t&&o.key==="Enter"&&(q(this,kh,!0),a(o))},{signal:s}),await oe(this,Tr,zb).call(this),t}finish(){y(this,Ar)&&(y(this,Ar).focus({focusVisible:y(this,kh)}),q(this,kh,!1))}isEmpty(){return y(this,yi)?y(this,Bs)===null:!y(this,Bs)&&!y(this,mi)}hasData(){return y(this,yi)?y(this,Bs)!==null||!!y(this,ml):this.isEmpty()}get guessedText(){return y(this,ml)}async setGuessedText(t){y(this,Bs)===null&&(q(this,ml,t),q(this,nd,await Na._l10n.get("pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer",{generatedAltText:t})),oe(this,Tr,zb).call(this))}toggleAltTextBadge(t=!1){var n;if(!y(this,yi)||y(this,Bs)){(n=y(this,bi))==null||n.remove(),q(this,bi,null);return}if(!y(this,bi)){const s=q(this,bi,document.createElement("div"));s.className="noAltTextBadge",y(this,to).div.append(s)}y(this,bi).classList.toggle("hidden",!t)}serialize(t){let n=y(this,Bs);return!t&&y(this,ml)===n&&(n=y(this,nd)),{altText:n,decorative:y(this,mi),guessedText:y(this,ml),textWithDisclaimer:y(this,nd)}}get data(){return{altText:y(this,Bs),decorative:y(this,mi)}}set data({altText:t,decorative:n,guessedText:s,textWithDisclaimer:a,cancel:o=!1}){s&&(q(this,ml,s),q(this,nd,a)),!(y(this,Bs)===t&&y(this,mi)===n)&&(o||(q(this,Bs,t),q(this,mi,n)),oe(this,Tr,zb).call(this))}toggle(t=!1){y(this,Ar)&&(!t&&y(this,yo)&&(clearTimeout(y(this,yo)),q(this,yo,null)),y(this,Ar).disabled=!t)}shown(){y(this,to)._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_displayed",data:{label:y(this,Tr,i2)}})}destroy(){var t,n;(t=y(this,Ar))==null||t.remove(),q(this,Ar,null),q(this,Eh,null),q(this,gi,null),(n=y(this,bi))==null||n.remove(),q(this,bi,null)}};Bs=new WeakMap,mi=new WeakMap,Ar=new WeakMap,Eh=new WeakMap,gi=new WeakMap,yo=new WeakMap,kh=new WeakMap,bi=new WeakMap,to=new WeakMap,ml=new WeakMap,nd=new WeakMap,yi=new WeakMap,Rc=new WeakMap,Tr=new WeakSet,i2=function(){return y(this,Bs)&&"added"||y(this,Bs)===null&&this.guessedText&&"review"||"missing"},zb=async function(){var a,o,r;const t=y(this,Ar);if(!t)return;if(y(this,yi)){if(t.classList.toggle("done",!!y(this,Bs)),t.setAttribute("data-l10n-id",y(Na,Rc)[y(this,Tr,i2)]),(a=y(this,Eh))==null||a.setAttribute("data-l10n-id",y(Na,Rc)[`${y(this,Tr,i2)}-label`]),!y(this,Bs)){(o=y(this,gi))==null||o.remove();return}}else{if(!y(this,Bs)&&!y(this,mi)){t.classList.remove("done"),(r=y(this,gi))==null||r.remove();return}t.classList.add("done"),t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-edit-button")}let n=y(this,gi);if(!n){q(this,gi,n=document.createElement("span")),n.className="tooltip",n.setAttribute("role","tooltip"),n.id=`alt-text-tooltip-${y(this,to).id}`;const i=100,l=y(this,to)._uiManager._signal;l.addEventListener("abort",()=>{clearTimeout(y(this,yo)),q(this,yo,null)},{once:!0}),t.addEventListener("mouseenter",()=>{q(this,yo,setTimeout(()=>{q(this,yo,null),y(this,gi).classList.add("show"),y(this,to)._reportTelemetry({action:"alt_text_tooltip"})},i))},{signal:l}),t.addEventListener("mouseleave",()=>{var c;y(this,yo)&&(clearTimeout(y(this,yo)),q(this,yo,null)),(c=y(this,gi))==null||c.classList.remove("show")},{signal:l})}y(this,mi)?n.setAttribute("data-l10n-id","pdfjs-editor-alt-text-decorative-tooltip"):(n.removeAttribute("data-l10n-id"),n.textContent=y(this,Bs)),n.parentNode||t.append(n);const s=y(this,to).getImageForAltText();s==null||s.setAttribute("aria-describedby",n.id)},se(Na,Rc,null),zt(Na,"_l10n",null);let tb=Na;const Mw=class Mw{constructor({container:t,isPinchingDisabled:n=null,isPinchingStopped:s=null,onPinchStart:a=null,onPinching:o=null,onPinchEnd:r=null,signal:i}){se(this,bl);se(this,Gv);se(this,sd,!1);se(this,Yv,null);se(this,Xv);se(this,Jv);se(this,Zv);se(this,Qv);se(this,Ah);se(this,gl,null);se(this,ad);se(this,Ic,null);q(this,Gv,t),q(this,Yv,s),q(this,Xv,n),q(this,Jv,a),q(this,Zv,o),q(this,Qv,r),q(this,ad,new AbortController),q(this,Ah,AbortSignal.any([i,y(this,ad).signal])),t.addEventListener("touchstart",oe(this,bl,CR).bind(this),{passive:!1,signal:y(this,Ah)})}get MIN_TOUCH_DISTANCE_TO_PINCH(){return dn(this,"MIN_TOUCH_DISTANCE_TO_PINCH",35/(window.devicePixelRatio||1))}destroy(){var t;(t=y(this,ad))==null||t.abort(),q(this,ad,null)}};Gv=new WeakMap,sd=new WeakMap,Yv=new WeakMap,Xv=new WeakMap,Jv=new WeakMap,Zv=new WeakMap,Qv=new WeakMap,Ah=new WeakMap,gl=new WeakMap,ad=new WeakMap,Ic=new WeakMap,bl=new WeakSet,CR=function(t){var a,o,r;if((a=y(this,Xv))!=null&&a.call(this)||t.touches.length<2)return;if(!y(this,Ic)){q(this,Ic,new AbortController);const i=AbortSignal.any([y(this,Ah),y(this,Ic).signal]),l=y(this,Gv),c={signal:i,passive:!1};l.addEventListener("touchmove",oe(this,bl,SR).bind(this),c),l.addEventListener("touchend",oe(this,bl,Kw).bind(this),c),l.addEventListener("touchcancel",oe(this,bl,Kw).bind(this),c),(o=y(this,Jv))==null||o.call(this)}if(go(t),t.touches.length!==2||(r=y(this,Yv))!=null&&r.call(this)){q(this,gl,null);return}let[n,s]=t.touches;n.identifier>s.identifier&&([n,s]=[s,n]),q(this,gl,{touch0X:n.screenX,touch0Y:n.screenY,touch1X:s.screenX,touch1Y:s.screenY})},SR=function(t){var C;if(!y(this,gl)||t.touches.length!==2)return;let[n,s]=t.touches;n.identifier>s.identifier&&([n,s]=[s,n]);const{screenX:a,screenY:o}=n,{screenX:r,screenY:i}=s,l=y(this,gl),{touch0X:c,touch0Y:u,touch1X:d,touch1Y:h}=l,p=d-c,v=h-u,m=r-a,g=i-o,b=Math.hypot(m,g)||1,_=Math.hypot(p,v)||1;if(!y(this,sd)&&Math.abs(_-b)<=Mw.MIN_TOUCH_DISTANCE_TO_PINCH)return;if(l.touch0X=a,l.touch0Y=o,l.touch1X=r,l.touch1Y=i,t.preventDefault(),!y(this,sd)){q(this,sd,!0);return}const w=[(a+r)/2,(o+i)/2];(C=y(this,Zv))==null||C.call(this,w,_,b)},Kw=function(t){var n;y(this,Ic).abort(),q(this,Ic,null),(n=y(this,Qv))==null||n.call(this),y(this,gl)&&(t.preventDefault(),q(this,gl,null),q(this,sd,!1))};let nb=Mw;const ln=class ln{constructor(t){se(this,Vt);se(this,od,null);se(this,Mr,null);se(this,Gn,null);se(this,Th,!1);se(this,Oc,null);se(this,em,"");se(this,rd,!1);se(this,Xs,null);se(this,id,null);se(this,yl,null);se(this,Lc,null);se(this,tm,"");se(this,ld,!1);se(this,wo,null);se(this,nm,!1);se(this,cd,!1);se(this,wl,!1);se(this,wi,null);se(this,Mh,0);se(this,Ph,0);se(this,Ko,null);se(this,ud,null);zt(this,"_editToolbar",null);zt(this,"_initialOptions",Object.create(null));zt(this,"_initialData",null);zt(this,"_isVisible",!0);zt(this,"_uiManager",null);zt(this,"_focusEventsAllowed",!0);se(this,sm,!1);se(this,yb,ln._zIndex++);this.parent=t.parent,this.id=t.id,this.width=this.height=null,this.pageIndex=t.parent.pageIndex,this.name=t.name,this.div=null,this._uiManager=t.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=t.isCentered,this._structTreeParentId=null;const{rotation:n,rawDims:{pageWidth:s,pageHeight:a,pageX:o,pageY:r}}=this.parent.viewport;this.rotation=n,this.pageRotation=(360+n-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[s,a],this.pageTranslation=[o,r];const[i,l]=this.parentDimensions;this.x=t.x/i,this.y=t.y/l,this.isAttachedToDOM=!1,this.deleted=!1}static get _resizerKeyboardManager(){const t=ln.prototype._resizeWithKeyboard,n=Wu.TRANSLATE_SMALL,s=Wu.TRANSLATE_BIG;return dn(this,"_resizerKeyboardManager",new Ev([[["ArrowLeft","mac+ArrowLeft"],t,{args:[-n,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t,{args:[-s,0]}],[["ArrowRight","mac+ArrowRight"],t,{args:[n,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t,{args:[s,0]}],[["ArrowUp","mac+ArrowUp"],t,{args:[0,-n]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t,{args:[0,-s]}],[["ArrowDown","mac+ArrowDown"],t,{args:[0,n]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t,{args:[0,s]}],[["Escape","mac+Escape"],ln.prototype._stopResizingWithKeyboard]]))}get editorType(){return Object.getPrototypeOf(this).constructor._type}static get isDrawer(){return!1}static get _defaultLineColor(){return dn(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(t){const n=new cbe({id:t.parent.getNextId(),parent:t.parent,uiManager:t._uiManager});n.annotationElementId=t.annotationElementId,n.deleted=!0,n._uiManager.addToAnnotationStorage(n)}static initialize(t,n){if(ln._l10n??(ln._l10n=t),ln._l10nResizer||(ln._l10nResizer=Object.freeze({topLeft:"pdfjs-editor-resizer-top-left",topMiddle:"pdfjs-editor-resizer-top-middle",topRight:"pdfjs-editor-resizer-top-right",middleRight:"pdfjs-editor-resizer-middle-right",bottomRight:"pdfjs-editor-resizer-bottom-right",bottomMiddle:"pdfjs-editor-resizer-bottom-middle",bottomLeft:"pdfjs-editor-resizer-bottom-left",middleLeft:"pdfjs-editor-resizer-middle-left"})),ln._borderLineWidth!==-1)return;const s=getComputedStyle(document.documentElement);ln._borderLineWidth=parseFloat(s.getPropertyValue("--outline-width"))||0}static updateDefaultParams(t,n){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(t){return!1}static paste(t,n){Bn("Not implemented")}get propertiesToUpdate(){return[]}get _isDraggable(){return y(this,sm)}set _isDraggable(t){var n;q(this,sm,t),(n=this.div)==null||n.classList.toggle("draggable",t)}get isEnterHandled(){return!0}center(){const[t,n]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*n/(t*2),this.y+=this.width*t/(n*2);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*n/(t*2),this.y-=this.width*t/(n*2);break;default:this.x-=this.width/2,this.y-=this.height/2;break}this.fixAndSetPosition()}addCommands(t){this._uiManager.addCommands(t)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=y(this,yb)}setParent(t){t!==null?(this.pageIndex=t.pageIndex,this.pageDimensions=t.pageDimensions):oe(this,Vt,l2).call(this),this.parent=t}focusin(t){this._focusEventsAllowed&&(y(this,ld)?q(this,ld,!1):this.parent.setSelected(this))}focusout(t){var s;if(!this._focusEventsAllowed||!this.isAttachedToDOM)return;const n=t.relatedTarget;n!=null&&n.closest(`#${this.id}`)||(t.preventDefault(),(s=this.parent)!=null&&s.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(t,n,s,a){const[o,r]=this.parentDimensions;[s,a]=this.screenToPageTranslation(s,a),this.x=(t+s)/o,this.y=(n+a)/r,this.fixAndSetPosition()}translate(t,n){oe(this,Vt,Uw).call(this,this.parentDimensions,t,n)}translateInPage(t,n){y(this,wo)||q(this,wo,[this.x,this.y,this.width,this.height]),oe(this,Vt,Uw).call(this,this.pageDimensions,t,n),this.div.scrollIntoView({block:"nearest"})}drag(t,n){y(this,wo)||q(this,wo,[this.x,this.y,this.width,this.height]);const{div:s,parentDimensions:[a,o]}=this;if(this.x+=t/a,this.y+=n/o,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){const{x:d,y:h}=this.div.getBoundingClientRect();this.parent.findNewParent(this,d,h)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:r,y:i}=this;const[l,c]=this.getBaseTranslation();r+=l,i+=c;const{style:u}=s;u.left=`${(100*r).toFixed(2)}%`,u.top=`${(100*i).toFixed(2)}%`,this._onTranslating(r,i),s.scrollIntoView({block:"nearest"})}_onTranslating(t,n){}_onTranslated(t,n){}get _hasBeenMoved(){return!!y(this,wo)&&(y(this,wo)[0]!==this.x||y(this,wo)[1]!==this.y)}get _hasBeenResized(){return!!y(this,wo)&&(y(this,wo)[2]!==this.width||y(this,wo)[3]!==this.height)}getBaseTranslation(){const[t,n]=this.parentDimensions,{_borderLineWidth:s}=ln,a=s/t,o=s/n;switch(this.rotation){case 90:return[-a,o];case 180:return[a,o];case 270:return[a,-o];default:return[-a,-o]}}get _mustFixPosition(){return!0}fixAndSetPosition(t=this.rotation){const{div:{style:n},pageDimensions:[s,a]}=this;let{x:o,y:r,width:i,height:l}=this;if(i*=s,l*=a,o*=s,r*=a,this._mustFixPosition)switch(t){case 0:o=Math.max(0,Math.min(s-i,o)),r=Math.max(0,Math.min(a-l,r));break;case 90:o=Math.max(0,Math.min(s-l,o)),r=Math.min(a,Math.max(i,r));break;case 180:o=Math.min(s,Math.max(i,o)),r=Math.min(a,Math.max(l,r));break;case 270:o=Math.min(s,Math.max(l,o)),r=Math.max(0,Math.min(a-i,r));break}this.x=o/=s,this.y=r/=a;const[c,u]=this.getBaseTranslation();o+=c,r+=u,n.left=`${(100*o).toFixed(2)}%`,n.top=`${(100*r).toFixed(2)}%`,this.moveInDOM()}screenToPageTranslation(t,n){var s;return oe(s=ln,am,qw).call(s,t,n,this.parentRotation)}pageTranslationToScreen(t,n){var s;return oe(s=ln,am,qw).call(s,t,n,360-this.parentRotation)}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){const{parentScale:t,pageDimensions:[n,s]}=this;return[n*t,s*t]}setDims(t,n){const[s,a]=this.parentDimensions,{style:o}=this.div;o.width=`${(100*t/s).toFixed(2)}%`,y(this,rd)||(o.height=`${(100*n/a).toFixed(2)}%`)}fixDims(){const{style:t}=this.div,{height:n,width:s}=t,a=s.endsWith("%"),o=!y(this,rd)&&n.endsWith("%");if(a&&o)return;const[r,i]=this.parentDimensions;a||(t.width=`${(100*parseFloat(s)/r).toFixed(2)}%`),!y(this,rd)&&!o&&(t.height=`${(100*parseFloat(n)/i).toFixed(2)}%`)}getInitialTranslation(){return[0,0]}_onResized(){}static _round(t){return Math.round(t*1e4)/1e4}_onResizing(){}altTextFinish(){var t;(t=y(this,Gn))==null||t.finish()}async addEditToolbar(){return this._editToolbar||y(this,cd)?this._editToolbar:(this._editToolbar=new sw(this),this.div.append(this._editToolbar.render()),y(this,Gn)&&await this._editToolbar.addAltText(y(this,Gn)),this._editToolbar)}removeEditToolbar(){var t;this._editToolbar&&(this._editToolbar.remove(),this._editToolbar=null,(t=y(this,Gn))==null||t.destroy())}addContainer(t){var s;const n=(s=this._editToolbar)==null?void 0:s.div;n?n.before(t):this.div.append(t)}getClientDimensions(){return this.div.getBoundingClientRect()}async addAltTextButton(){y(this,Gn)||(tb.initialize(ln._l10n),q(this,Gn,new tb(this)),y(this,od)&&(y(this,Gn).data=y(this,od),q(this,od,null)),await this.addEditToolbar())}get altTextData(){var t;return(t=y(this,Gn))==null?void 0:t.data}set altTextData(t){y(this,Gn)&&(y(this,Gn).data=t)}get guessedAltText(){var t;return(t=y(this,Gn))==null?void 0:t.guessedText}async setGuessedAltText(t){var n;await((n=y(this,Gn))==null?void 0:n.setGuessedText(t))}serializeAltText(t){var n;return(n=y(this,Gn))==null?void 0:n.serialize(t)}hasAltText(){return!!y(this,Gn)&&!y(this,Gn).isEmpty()}hasAltTextData(){var t;return((t=y(this,Gn))==null?void 0:t.hasData())??!1}render(){var o;this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.tabIndex=y(this,Th)?-1:0,this._isVisible||this.div.classList.add("hidden"),this.setInForeground(),oe(this,Vt,Jw).call(this);const[t,n]=this.parentDimensions;this.parentRotation%180!==0&&(this.div.style.maxWidth=`${(100*n/t).toFixed(2)}%`,this.div.style.maxHeight=`${(100*t/n).toFixed(2)}%`);const[s,a]=this.getInitialTranslation();return this.translate(s,a),eb(this,this.div,["pointerdown"]),this.isResizable&&this._uiManager._supportsPinchToZoom&&(y(this,ud)||q(this,ud,new nb({container:this.div,isPinchingDisabled:()=>!this.isSelected,onPinchStart:oe(this,Vt,kR).bind(this),onPinching:oe(this,Vt,AR).bind(this),onPinchEnd:oe(this,Vt,TR).bind(this),signal:this._uiManager._signal}))),(o=this._uiManager._editorUndoBar)==null||o.hide(),this.div}pointerdown(t){const{isMac:n}=Oa.platform;if(t.button!==0||t.ctrlKey&&n){t.preventDefault();return}if(q(this,ld,!0),this._isDraggable){oe(this,Vt,MR).call(this,t);return}oe(this,Vt,Xw).call(this,t)}get isSelected(){return this._uiManager.isSelected(this)}_onStartDragging(){}_onStopDragging(){}moveInDOM(){y(this,wi)&&clearTimeout(y(this,wi)),q(this,wi,setTimeout(()=>{var t;q(this,wi,null),(t=this.parent)==null||t.moveEditorInDOM(this)},0))}_setParentAndPosition(t,n,s){t.changeParent(this),this.x=n,this.y=s,this.fixAndSetPosition(),this._onTranslated()}getRect(t,n,s=this.rotation){const a=this.parentScale,[o,r]=this.pageDimensions,[i,l]=this.pageTranslation,c=t/a,u=n/a,d=this.x*o,h=this.y*r,p=this.width*o,v=this.height*r;switch(s){case 0:return[d+c+i,r-h-u-v+l,d+c+p+i,r-h-u+l];case 90:return[d+u+i,r-h+c+l,d+u+v+i,r-h+c+p+l];case 180:return[d-c-p+i,r-h+u+l,d-c+i,r-h+u+v+l];case 270:return[d-u-v+i,r-h-c-p+l,d-u+i,r-h-c+l];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(t,n){const[s,a,o,r]=t,i=o-s,l=r-a;switch(this.rotation){case 0:return[s,n-r,i,l];case 90:return[s,n-a,l,i];case 180:return[o,n-a,i,l];case 270:return[o,n-r,l,i];default:throw new Error("Invalid rotation")}}onceAdded(t){}isEmpty(){return!1}enableEditMode(){q(this,cd,!0)}disableEditMode(){q(this,cd,!1)}isInEditMode(){return y(this,cd)}shouldGetKeyboardEvents(){return y(this,wl)}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}get isOnScreen(){const{top:t,left:n,bottom:s,right:a}=this.getClientDimensions(),{innerHeight:o,innerWidth:r}=window;return n0&&t0}rebuild(){oe(this,Vt,Jw).call(this)}rotate(t){}resize(){}serializeDeleted(){var t;return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex,popupRef:((t=this._initialData)==null?void 0:t.popupRef)||""}}serialize(t=!1,n=null){Bn("An editor must be serializable")}static async deserialize(t,n,s){const a=new this.prototype.constructor({parent:n,id:n.getNextId(),uiManager:s});a.rotation=t.rotation,q(a,od,t.accessibilityData);const[o,r]=a.pageDimensions,[i,l,c,u]=a.getRectInCurrentCoords(t.rect,r);return a.x=i/o,a.y=l/r,a.width=c/o,a.height=u/r,a}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||this.serialize()!==null)}remove(){var t,n;if((t=y(this,Lc))==null||t.abort(),q(this,Lc,null),this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),y(this,wi)&&(clearTimeout(y(this,wi)),q(this,wi,null)),oe(this,Vt,l2).call(this),this.removeEditToolbar(),y(this,Ko)){for(const s of y(this,Ko).values())clearTimeout(s);q(this,Ko,null)}this.parent=null,(n=y(this,ud))==null||n.destroy(),q(this,ud,null)}get isResizable(){return!1}makeResizable(){this.isResizable&&(oe(this,Vt,xR).call(this),y(this,Xs).classList.remove("hidden"),eb(this,this.div,["keydown"]))}get toolbarPosition(){return null}keydown(t){if(!this.isResizable||t.target!==this.div||t.key!=="Enter")return;this._uiManager.setSelected(this),q(this,yl,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const n=y(this,Xs).children;if(!y(this,Mr)){q(this,Mr,Array.from(n));const r=oe(this,Vt,PR).bind(this),i=oe(this,Vt,RR).bind(this),l=this._uiManager._signal;for(const c of y(this,Mr)){const u=c.getAttribute("data-resizer-name");c.setAttribute("role","spinbutton"),c.addEventListener("keydown",r,{signal:l}),c.addEventListener("blur",i,{signal:l}),c.addEventListener("focus",oe(this,Vt,IR).bind(this,u),{signal:l}),c.setAttribute("data-l10n-id",ln._l10nResizer[u])}}const s=y(this,Mr)[0];let a=0;for(const r of n){if(r===s)break;a++}const o=(360-this.rotation+this.parentRotation)%360/90*(y(this,Mr).length/4);if(o!==a){if(oa)for(let i=0;i{var a,o;(a=this.div)!=null&&a.classList.contains("selectedEditor")&&((o=this._editToolbar)==null||o.show())});return}(n=this._editToolbar)==null||n.show(),(s=y(this,Gn))==null||s.toggleAltTextBadge(!1)}unselect(){var t,n,s,a,o;(t=y(this,Xs))==null||t.classList.add("hidden"),(n=this.div)==null||n.classList.remove("selectedEditor"),(s=this.div)!=null&&s.contains(document.activeElement)&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),(a=this._editToolbar)==null||a.hide(),(o=y(this,Gn))==null||o.toggleAltTextBadge(!0)}updateParams(t,n){}disableEditing(){}enableEditing(){}enterInEditMode(){}getImageForAltText(){return null}get contentDiv(){return this.div}get isEditing(){return y(this,nm)}set isEditing(t){q(this,nm,t),this.parent&&(t?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}setAspectRatio(t,n){q(this,rd,!0);const s=t/n,{style:a}=this.div;a.aspectRatio=s,a.height="auto"}static get MIN_SIZE(){return 16}static canCreateNewEmptyEditor(){return!0}get telemetryInitialData(){return{action:"added"}}get telemetryFinalData(){return null}_reportTelemetry(t,n=!1){if(n){y(this,Ko)||q(this,Ko,new Map);const{action:s}=t;let a=y(this,Ko).get(s);a&&clearTimeout(a),a=setTimeout(()=>{this._reportTelemetry(t),y(this,Ko).delete(s),y(this,Ko).size===0&&q(this,Ko,null)},ln._telemetryTimeout),y(this,Ko).set(s,a);return}t.type||(t.type=this.editorType),this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:t}})}show(t=this._isVisible){this.div.classList.toggle("hidden",!t),this._isVisible=t}enable(){this.div&&(this.div.tabIndex=0),q(this,Th,!1)}disable(){this.div&&(this.div.tabIndex=-1),q(this,Th,!0)}renderAnnotationElement(t){let n=t.container.querySelector(".annotationContent");if(!n)n=document.createElement("div"),n.classList.add("annotationContent",this.editorType),t.container.prepend(n);else if(n.nodeName==="CANVAS"){const s=n;n=document.createElement("div"),n.classList.add("annotationContent",this.editorType),s.before(n)}return n}resetAnnotationElement(t){const{firstChild:n}=t.container;(n==null?void 0:n.nodeName)==="DIV"&&n.classList.contains("annotationContent")&&n.remove()}};od=new WeakMap,Mr=new WeakMap,Gn=new WeakMap,Th=new WeakMap,Oc=new WeakMap,em=new WeakMap,rd=new WeakMap,Xs=new WeakMap,id=new WeakMap,yl=new WeakMap,Lc=new WeakMap,tm=new WeakMap,ld=new WeakMap,wo=new WeakMap,nm=new WeakMap,cd=new WeakMap,wl=new WeakMap,wi=new WeakMap,Mh=new WeakMap,Ph=new WeakMap,Ko=new WeakMap,ud=new WeakMap,sm=new WeakMap,yb=new WeakMap,Vt=new WeakSet,Uw=function([t,n],s,a){[s,a]=this.screenToPageTranslation(s,a),this.x+=s/t,this.y+=a/n,this._onTranslating(this.x,this.y),this.fixAndSetPosition()},am=new WeakSet,qw=function(t,n,s){switch(s){case 90:return[n,-t];case 180:return[-t,-n];case 270:return[-n,t];default:return[t,n]}},Hb=function(t){switch(t){case 90:{const[n,s]=this.pageDimensions;return[0,-n/s,s/n,0]}case 180:return[-1,0,0,-1];case 270:{const[n,s]=this.pageDimensions;return[0,n/s,-s/n,0]}default:return[1,0,0,1]}},xR=function(){if(y(this,Xs))return;q(this,Xs,document.createElement("div")),y(this,Xs).classList.add("resizers");const t=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],n=this._uiManager._signal;for(const s of t){const a=document.createElement("div");y(this,Xs).append(a),a.classList.add("resizer",s),a.setAttribute("data-resizer-name",s),a.addEventListener("pointerdown",oe(this,Vt,ER).bind(this,s),{signal:n}),a.addEventListener("contextmenu",xr,{signal:n}),a.tabIndex=-1}this.div.prepend(y(this,Xs))},ER=function(t,n){var u;n.preventDefault();const{isMac:s}=Oa.platform;if(n.button!==0||n.ctrlKey&&s)return;(u=y(this,Gn))==null||u.toggle(!1);const a=this._isDraggable;this._isDraggable=!1,q(this,id,[n.screenX,n.screenY]);const o=new AbortController,r=this._uiManager.combinedSignal(o);this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",oe(this,Vt,Yw).bind(this,t),{passive:!0,capture:!0,signal:r}),window.addEventListener("touchmove",go,{passive:!1,signal:r}),window.addEventListener("contextmenu",xr,{signal:r}),q(this,yl,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height});const i=this.parent.div.style.cursor,l=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(n.target).cursor;const c=()=>{var d;o.abort(),this.parent.togglePointerEvents(!0),(d=y(this,Gn))==null||d.toggle(!0),this._isDraggable=a,this.parent.div.style.cursor=i,this.div.style.cursor=l,oe(this,Vt,Wb).call(this)};window.addEventListener("pointerup",c,{signal:r}),window.addEventListener("blur",c,{signal:r})},Gw=function(t,n,s,a){this.width=s,this.height=a,this.x=t,this.y=n;const[o,r]=this.parentDimensions;this.setDims(o*s,r*a),this.fixAndSetPosition(),this._onResized()},Wb=function(){if(!y(this,yl))return;const{savedX:t,savedY:n,savedWidth:s,savedHeight:a}=y(this,yl);q(this,yl,null);const o=this.x,r=this.y,i=this.width,l=this.height;o===t&&r===n&&i===s&&l===a||this.addCommands({cmd:oe(this,Vt,Gw).bind(this,o,r,i,l),undo:oe(this,Vt,Gw).bind(this,t,n,s,a),mustExec:!0})},Yw=function(t,n){const[s,a]=this.parentDimensions,o=this.x,r=this.y,i=this.width,l=this.height,c=ln.MIN_SIZE/s,u=ln.MIN_SIZE/a,d=oe(this,Vt,Hb).call(this,this.rotation),h=(Y,N)=>[d[0]*Y+d[2]*N,d[1]*Y+d[3]*N],p=oe(this,Vt,Hb).call(this,360-this.rotation),v=(Y,N)=>[p[0]*Y+p[2]*N,p[1]*Y+p[3]*N];let m,g,b=!1,_=!1;switch(t){case"topLeft":b=!0,m=(Y,N)=>[0,0],g=(Y,N)=>[Y,N];break;case"topMiddle":m=(Y,N)=>[Y/2,0],g=(Y,N)=>[Y/2,N];break;case"topRight":b=!0,m=(Y,N)=>[Y,0],g=(Y,N)=>[0,N];break;case"middleRight":_=!0,m=(Y,N)=>[Y,N/2],g=(Y,N)=>[0,N/2];break;case"bottomRight":b=!0,m=(Y,N)=>[Y,N],g=(Y,N)=>[0,0];break;case"bottomMiddle":m=(Y,N)=>[Y/2,N],g=(Y,N)=>[Y/2,0];break;case"bottomLeft":b=!0,m=(Y,N)=>[0,N],g=(Y,N)=>[Y,0];break;case"middleLeft":_=!0,m=(Y,N)=>[0,N/2],g=(Y,N)=>[Y,N/2];break}const w=m(i,l),C=g(i,l);let x=h(...C);const E=ln._round(o+x[0]),T=ln._round(r+x[1]);let R=1,I=1,M,$;if(n.fromKeyboard)({deltaX:M,deltaY:$}=n);else{const{screenX:Y,screenY:N}=n,[L,V]=y(this,id);[M,$]=this.screenToPageTranslation(Y-L,N-V),y(this,id)[0]=Y,y(this,id)[1]=N}if([M,$]=v(M/s,$/a),b){const Y=Math.hypot(i,l);R=I=Math.max(Math.min(Math.hypot(C[0]-w[0]-M,C[1]-w[1]-$)/Y,1/i,1/l),c/i,u/l)}else _?R=Math.max(c,Math.min(1,Math.abs(C[0]-w[0]-M)))/i:I=Math.max(u,Math.min(1,Math.abs(C[1]-w[1]-$)))/l;const O=ln._round(i*R),B=ln._round(l*I);x=h(...g(O,B));const U=E-x[0],J=T-x[1];y(this,wo)||q(this,wo,[this.x,this.y,this.width,this.height]),this.width=O,this.height=B,this.x=U,this.y=J,this.setDims(s*O,a*B),this.fixAndSetPosition(),this._onResizing()},kR=function(){var t;q(this,yl,{savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height}),(t=y(this,Gn))==null||t.toggle(!1),this.parent.togglePointerEvents(!1)},AR=function(t,n,s){let o=.7*(s/n)+1-.7;if(o===1)return;const r=oe(this,Vt,Hb).call(this,this.rotation),i=(E,T)=>[r[0]*E+r[2]*T,r[1]*E+r[3]*T],[l,c]=this.parentDimensions,u=this.x,d=this.y,h=this.width,p=this.height,v=ln.MIN_SIZE/l,m=ln.MIN_SIZE/c;o=Math.max(Math.min(o,1/h,1/p),v/h,m/p);const g=ln._round(h*o),b=ln._round(p*o);if(g===h&&b===p)return;y(this,wo)||q(this,wo,[u,d,h,p]);const _=i(h/2,p/2),w=ln._round(u+_[0]),C=ln._round(d+_[1]),x=i(g/2,b/2);this.x=w-x[0],this.y=C-x[1],this.width=g,this.height=b,this.setDims(l*g,c*b),this.fixAndSetPosition(),this._onResizing()},TR=function(){var t;(t=y(this,Gn))==null||t.toggle(!0),this.parent.togglePointerEvents(!0),oe(this,Vt,Wb).call(this)},Xw=function(t){const{isMac:n}=Oa.platform;t.ctrlKey&&!n||t.shiftKey||t.metaKey&&n?this.parent.toggleSelected(this):this.parent.setSelected(this)},MR=function(t){const{isSelected:n}=this;this._uiManager.setUpDragSession();let s=!1;const a=new AbortController,o=this._uiManager.combinedSignal(a),r={capture:!0,passive:!1,signal:o},i=c=>{a.abort(),q(this,Oc,null),q(this,ld,!1),this._uiManager.endDragSession()||oe(this,Vt,Xw).call(this,c),s&&this._onStopDragging()};n&&(q(this,Mh,t.clientX),q(this,Ph,t.clientY),q(this,Oc,t.pointerId),q(this,em,t.pointerType),window.addEventListener("pointermove",c=>{s||(s=!0,this._onStartDragging());const{clientX:u,clientY:d,pointerId:h}=c;if(h!==y(this,Oc)){go(c);return}const[p,v]=this.screenToPageTranslation(u-y(this,Mh),d-y(this,Ph));q(this,Mh,u),q(this,Ph,d),this._uiManager.dragSelectedEditors(p,v)},r),window.addEventListener("touchmove",go,r),window.addEventListener("pointerdown",c=>{c.pointerType===y(this,em)&&(y(this,ud)||c.isPrimary)&&i(c),go(c)},r));const l=c=>{if(!y(this,Oc)||y(this,Oc)===c.pointerId){i(c);return}go(c)};window.addEventListener("pointerup",l,{signal:o}),window.addEventListener("blur",l,{signal:o})},Jw=function(){if(y(this,Lc)||!this.div)return;q(this,Lc,new AbortController);const t=this._uiManager.combinedSignal(y(this,Lc));this.div.addEventListener("focusin",this.focusin.bind(this),{signal:t}),this.div.addEventListener("focusout",this.focusout.bind(this),{signal:t})},PR=function(t){ln._resizerKeyboardManager.exec(this,t)},RR=function(t){var n;y(this,wl)&&((n=t.relatedTarget)==null?void 0:n.parentNode)!==y(this,Xs)&&oe(this,Vt,l2).call(this)},IR=function(t){q(this,tm,y(this,wl)?t:"")},Zw=function(t){if(y(this,Mr))for(const n of y(this,Mr))n.tabIndex=t},l2=function(){q(this,wl,!1),oe(this,Vt,Zw).call(this,-1),oe(this,Vt,Wb).call(this)},se(ln,am),zt(ln,"_l10n",null),zt(ln,"_l10nResizer",null),zt(ln,"_borderLineWidth",-1),zt(ln,"_colorManager",new ow),zt(ln,"_zIndex",1),zt(ln,"_telemetryTimeout",1e3);let ns=ln;class cbe extends ns{constructor(t){super(t),this.annotationElementId=t.annotationElementId,this.deleted=!0}serialize(){return this.serializeDeleted()}}const vP=3285377520,Ho=4294901760,di=65535;class mP{constructor(t){this.h1=t?t&4294967295:vP,this.h2=t?t&4294967295:vP}update(t){let n,s;if(typeof t=="string"){n=new Uint8Array(t.length*2),s=0;for(let m=0,g=t.length;m>>8,n[s++]=b&255)}}else if(ArrayBuffer.isView(t))n=t.slice(),s=n.byteLength;else throw new Error("Invalid data format, must be a string or TypedArray.");const a=s>>2,o=s-a*4,r=new Uint32Array(n.buffer,0,a);let i=0,l=0,c=this.h1,u=this.h2;const d=3432918353,h=461845907,p=d&di,v=h&di;for(let m=0;m>>17,i=i*h&Ho|i*v&di,c^=i,c=c<<13|c>>>19,c=c*5+3864292196):(l=r[m],l=l*d&Ho|l*p&di,l=l<<15|l>>>17,l=l*h&Ho|l*v&di,u^=l,u=u<<13|u>>>19,u=u*5+3864292196);switch(i=0,o){case 3:i^=n[a*4+2]<<16;case 2:i^=n[a*4+1]<<8;case 1:i^=n[a*4],i=i*d&Ho|i*p&di,i=i<<15|i>>>17,i=i*h&Ho|i*v&di,a&1?c^=i:u^=i}this.h1=c,this.h2=u}hexdigest(){let t=this.h1,n=this.h2;return t^=n>>>1,t=t*3981806797&Ho|t*36045&di,n=n*4283543511&Ho|((n<<16|t>>>16)*2950163797&Ho)>>>16,t^=n>>>1,t=t*444984403&Ho|t*60499&di,n=n*3301882366&Ho|((n<<16|t>>>16)*3120437893&Ho)>>>16,t^=n>>>1,(t>>>0).toString(16).padStart(8,"0")+(n>>>0).toString(16).padStart(8,"0")}}const rw=Object.freeze({map:null,hash:"",transfer:void 0});class iw{constructor(){se(this,wb);se(this,dd,!1);se(this,fd,null);se(this,Vs,new Map);this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(t,n){const s=y(this,Vs).get(t);return s===void 0?n:Object.assign(n,s)}getRawValue(t){return y(this,Vs).get(t)}remove(t){if(y(this,Vs).delete(t),y(this,Vs).size===0&&this.resetModified(),typeof this.onAnnotationEditor=="function"){for(const n of y(this,Vs).values())if(n instanceof ns)return;this.onAnnotationEditor(null)}}setValue(t,n){const s=y(this,Vs).get(t);let a=!1;if(s!==void 0)for(const[o,r]of Object.entries(n))s[o]!==r&&(a=!0,s[o]=r);else a=!0,y(this,Vs).set(t,n);a&&oe(this,wb,OR).call(this),n instanceof ns&&typeof this.onAnnotationEditor=="function"&&this.onAnnotationEditor(n.constructor._type)}has(t){return y(this,Vs).has(t)}getAll(){return y(this,Vs).size>0?G8(y(this,Vs)):null}setAll(t){for(const[n,s]of Object.entries(t))this.setValue(n,s)}get size(){return y(this,Vs).size}resetModified(){y(this,dd)&&(q(this,dd,!1),typeof this.onResetModified=="function"&&this.onResetModified())}get print(){return new gP(this)}get serializable(){if(y(this,Vs).size===0)return rw;const t=new Map,n=new mP,s=[],a=Object.create(null);let o=!1;for(const[r,i]of y(this,Vs)){const l=i instanceof ns?i.serialize(!1,a):i;l&&(t.set(r,l),n.update(`${r}:${JSON.stringify(l)}`),o||(o=!!l.bitmap))}if(o)for(const r of t.values())r.bitmap&&s.push(r.bitmap);return t.size>0?{map:t,hash:n.hexdigest(),transfer:s}:rw}get editorStats(){let t=null;const n=new Map;for(const s of y(this,Vs).values()){if(!(s instanceof ns))continue;const a=s.telemetryFinalData;if(!a)continue;const{type:o}=a;n.has(o)||n.set(o,Object.getPrototypeOf(s).constructor),t||(t=Object.create(null));const r=t[o]||(t[o]=new Map);for(const[i,l]of Object.entries(a)){if(i==="type")continue;let c=r.get(i);c||(c=new Map,r.set(i,c));const u=c.get(l)??0;c.set(l,u+1)}}for(const[s,a]of n)t[s]=a.computeTelemetryFinalData(t[s]);return t}resetModifiedIds(){q(this,fd,null)}get modifiedIds(){if(y(this,fd))return y(this,fd);const t=[];for(const n of y(this,Vs).values())!(n instanceof ns)||!n.annotationElementId||!n.serialize()||t.push(n.annotationElementId);return q(this,fd,{ids:new Set(t),hash:t.join(",")})}}dd=new WeakMap,fd=new WeakMap,Vs=new WeakMap,wb=new WeakSet,OR=function(){y(this,dd)||(q(this,dd,!0),typeof this.onSetModified=="function"&&this.onSetModified())};class gP extends iw{constructor(n){super();se(this,om);const{map:s,hash:a,transfer:o}=n.serializable,r=structuredClone(s,o?{transfer:o}:null);q(this,om,{map:r,hash:a,transfer:o})}get print(){Bn("Should not call PrintAnnotationStorage.print")}get serializable(){return y(this,om)}get modifiedIds(){return dn(this,"modifiedIds",{ids:new Set,hash:""})}}om=new WeakMap;class ube{constructor({ownerDocument:t=globalThis.document,styleElement:n=null}){se(this,Rh,new Set);this._document=t,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(t){this.nativeFontFaces.add(t),this._document.fonts.add(t)}removeNativeFontFace(t){this.nativeFontFaces.delete(t),this._document.fonts.delete(t)}insertRule(t){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));const n=this.styleElement.sheet;n.insertRule(t,n.cssRules.length)}clear(){for(const t of this.nativeFontFaces)this._document.fonts.delete(t);this.nativeFontFaces.clear(),y(this,Rh).clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async loadSystemFont({systemFontInfo:t,_inspectFont:n}){if(!(!t||y(this,Rh).has(t.loadedName))){if(bs(!this.disableFontFace,"loadSystemFont shouldn't be called when `disableFontFace` is set."),this.isFontLoadingAPISupported){const{loadedName:s,src:a,style:o}=t,r=new FontFace(s,a,o);this.addNativeFontFace(r);try{await r.load(),y(this,Rh).add(s),n==null||n(t)}catch{rn(`Cannot load system font: ${t.baseFontName}, installing it could help to improve PDF rendering.`),this.removeNativeFontFace(r)}return}Bn("Not implemented: loadSystemFont without the Font Loading API.")}}async bind(t){if(t.attached||t.missingFile&&!t.systemFontInfo)return;if(t.attached=!0,t.systemFontInfo){await this.loadSystemFont(t);return}if(this.isFontLoadingAPISupported){const s=t.createNativeFontFace();if(s){this.addNativeFontFace(s);try{await s.loaded}catch(a){throw rn(`Failed to load font '${s.family}': '${a}'.`),t.disableFontFace=!0,a}}return}const n=t.createFontFaceRule();if(n){if(this.insertRule(n),this.isSyncFontLoadingSupported)return;await new Promise(s=>{const a=this._queueLoadingCallback(s);this._prepareFontLoadEvent(t,a)})}}get isFontLoadingAPISupported(){var n;const t=!!((n=this._document)!=null&&n.fonts);return dn(this,"isFontLoadingAPISupported",t)}get isSyncFontLoadingSupported(){let t=!1;return(pa||typeof navigator<"u"&&typeof(navigator==null?void 0:navigator.userAgent)=="string"&&/Mozilla\/5.0.*?rv:\d+.*? Gecko/.test(navigator.userAgent))&&(t=!0),dn(this,"isSyncFontLoadingSupported",t)}_queueLoadingCallback(t){function n(){for(bs(!a.done,"completeRequest() cannot be called twice."),a.done=!0;s.length>0&&s[0].done;){const o=s.shift();setTimeout(o.callback,0)}}const{loadingRequests:s}=this,a={done:!1,complete:n,callback:t};return s.push(a),a}get _loadTestFont(){const t=atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==");return dn(this,"_loadTestFont",t)}_prepareFontLoadEvent(t,n){function s(C,x){return C.charCodeAt(x)<<24|C.charCodeAt(x+1)<<16|C.charCodeAt(x+2)<<8|C.charCodeAt(x+3)&255}function a(C,x,E,T){const R=C.substring(0,x),I=C.substring(x+E);return R+T+I}let o,r;const i=this._document.createElement("canvas");i.width=1,i.height=1;const l=i.getContext("2d");let c=0;function u(C,x){if(++c>30){rn("Load test font never loaded."),x();return}if(l.font="30px "+C,l.fillText(".",0,20),l.getImageData(0,0,1,1).data[3]>0){x();return}setTimeout(u.bind(null,C,x))}const d=`lt${Date.now()}${this.loadTestFontId++}`;let h=this._loadTestFont;h=a(h,976,d.length,d);const v=16,m=1482184792;let g=s(h,v);for(o=0,r=d.length-3;o{w.remove(),n.complete()})}}Rh=new WeakMap;class dbe{constructor(t,{disableFontFace:n=!1,fontExtraProperties:s=!1,inspectFont:a=null}){this.compiledGlyphs=Object.create(null);for(const o in t)this[o]=t[o];this.disableFontFace=n===!0,this.fontExtraProperties=s===!0,this._inspectFont=a}createNativeFontFace(){var n;if(!this.data||this.disableFontFace)return null;let t;if(!this.cssFontInfo)t=new FontFace(this.loadedName,this.data,{});else{const s={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(s.style=`oblique ${this.cssFontInfo.italicAngle}deg`),t=new FontFace(this.cssFontInfo.fontFamily,this.data,s)}return(n=this._inspectFont)==null||n.call(this,this),t}createFontFaceRule(){var s;if(!this.data||this.disableFontFace)return null;const t=`url(data:${this.mimetype};base64,${tbe(this.data)});`;let n;if(!this.cssFontInfo)n=`@font-face {font-family:"${this.loadedName}";src:${t}}`;else{let a=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(a+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),n=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${a}src:${t}}`}return(s=this._inspectFont)==null||s.call(this,this,t),n}getPathGenerator(t,n){if(this.compiledGlyphs[n]!==void 0)return this.compiledGlyphs[n];const s=this.loadedName+"_path_"+n;let a;try{a=t.get(s)}catch(r){rn(`getPathGenerator - ignoring character: "${r}".`)}const o=new Path2D(a||"");return this.fontExtraProperties||t.delete(s),this.compiledGlyphs[n]=o}}const sb={DATA:1,ERROR:2},ys={CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function bP(){}function Za(e){if(e instanceof yc||e instanceof q8||e instanceof Cv||e instanceof dP||e instanceof X1||e instanceof U8)return e;switch(e instanceof Error||typeof e=="object"&&e!==null||Bn('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new yc(e.message);case"InvalidPDFException":return new q8(e.message);case"MissingPDFException":return new Cv(e.message);case"PasswordException":return new dP(e.message,e.code);case"UnexpectedResponseException":return new X1(e.message,e.status);case"UnknownErrorException":return new U8(e.message,e.details)}return new U8(e.message,e.toString())}class kv{constructor(t,n,s){se(this,Uo);se(this,Ih,new AbortController);this.sourceName=t,this.targetName=n,this.comObj=s,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),s.addEventListener("message",oe(this,Uo,LR).bind(this),{signal:y(this,Ih).signal})}on(t,n){const s=this.actionHandler;if(s[t])throw new Error(`There is already an actionName called "${t}"`);s[t]=n}send(t,n,s){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,data:n},s)}sendWithPromise(t,n,s){const a=this.callbackId++,o=Promise.withResolvers();this.callbackCapabilities[a]=o;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,callbackId:a,data:n},s)}catch(r){o.reject(r)}return o.promise}sendWithStream(t,n,s,a){const o=this.streamId++,r=this.sourceName,i=this.targetName,l=this.comObj;return new ReadableStream({start:c=>{const u=Promise.withResolvers();return this.streamControllers[o]={controller:c,startCall:u,pullCall:null,cancelCall:null,isClosed:!1},l.postMessage({sourceName:r,targetName:i,action:t,streamId:o,data:n,desiredSize:c.desiredSize},a),u.promise},pull:c=>{const u=Promise.withResolvers();return this.streamControllers[o].pullCall=u,l.postMessage({sourceName:r,targetName:i,stream:ys.PULL,streamId:o,desiredSize:c.desiredSize}),u.promise},cancel:c=>{bs(c instanceof Error,"cancel must have a valid reason");const u=Promise.withResolvers();return this.streamControllers[o].cancelCall=u,this.streamControllers[o].isClosed=!0,l.postMessage({sourceName:r,targetName:i,stream:ys.CANCEL,streamId:o,reason:Za(c)}),u.promise}},s)}destroy(){var t;(t=y(this,Ih))==null||t.abort(),q(this,Ih,null)}}Ih=new WeakMap,Uo=new WeakSet,LR=function({data:t}){if(t.targetName!==this.sourceName)return;if(t.stream){oe(this,Uo,$R).call(this,t);return}if(t.callback){const s=t.callbackId,a=this.callbackCapabilities[s];if(!a)throw new Error(`Cannot resolve callback ${s}`);if(delete this.callbackCapabilities[s],t.callback===sb.DATA)a.resolve(t.data);else if(t.callback===sb.ERROR)a.reject(Za(t.reason));else throw new Error("Unexpected callback case");return}const n=this.actionHandler[t.action];if(!n)throw new Error(`Unknown action from worker: ${t.action}`);if(t.callbackId){const s=this.sourceName,a=t.sourceName,o=this.comObj;Promise.try(n,t.data).then(function(r){o.postMessage({sourceName:s,targetName:a,callback:sb.DATA,callbackId:t.callbackId,data:r})},function(r){o.postMessage({sourceName:s,targetName:a,callback:sb.ERROR,callbackId:t.callbackId,reason:Za(r)})});return}if(t.streamId){oe(this,Uo,NR).call(this,t);return}n(t.data)},NR=function(t){const n=t.streamId,s=this.sourceName,a=t.sourceName,o=this.comObj,r=this,i=this.actionHandler[t.action],l={enqueue(c,u=1,d){if(this.isCancelled)return;const h=this.desiredSize;this.desiredSize-=u,h>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),o.postMessage({sourceName:s,targetName:a,stream:ys.ENQUEUE,streamId:n,chunk:c},d)},close(){this.isCancelled||(this.isCancelled=!0,o.postMessage({sourceName:s,targetName:a,stream:ys.CLOSE,streamId:n}),delete r.streamSinks[n])},error(c){bs(c instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,o.postMessage({sourceName:s,targetName:a,stream:ys.ERROR,streamId:n,reason:Za(c)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:t.desiredSize,ready:null};l.sinkCapability.resolve(),l.ready=l.sinkCapability.promise,this.streamSinks[n]=l,Promise.try(i,t.data,l).then(function(){o.postMessage({sourceName:s,targetName:a,stream:ys.START_COMPLETE,streamId:n,success:!0})},function(c){o.postMessage({sourceName:s,targetName:a,stream:ys.START_COMPLETE,streamId:n,reason:Za(c)})})},$R=function(t){const n=t.streamId,s=this.sourceName,a=t.sourceName,o=this.comObj,r=this.streamControllers[n],i=this.streamSinks[n];switch(t.stream){case ys.START_COMPLETE:t.success?r.startCall.resolve():r.startCall.reject(Za(t.reason));break;case ys.PULL_COMPLETE:t.success?r.pullCall.resolve():r.pullCall.reject(Za(t.reason));break;case ys.PULL:if(!i){o.postMessage({sourceName:s,targetName:a,stream:ys.PULL_COMPLETE,streamId:n,success:!0});break}i.desiredSize<=0&&t.desiredSize>0&&i.sinkCapability.resolve(),i.desiredSize=t.desiredSize,Promise.try(i.onPull||bP).then(function(){o.postMessage({sourceName:s,targetName:a,stream:ys.PULL_COMPLETE,streamId:n,success:!0})},function(c){o.postMessage({sourceName:s,targetName:a,stream:ys.PULL_COMPLETE,streamId:n,reason:Za(c)})});break;case ys.ENQUEUE:if(bs(r,"enqueue should have stream controller"),r.isClosed)break;r.controller.enqueue(t.chunk);break;case ys.CLOSE:if(bs(r,"close should have stream controller"),r.isClosed)break;r.isClosed=!0,r.controller.close(),oe(this,Uo,jb).call(this,r,n);break;case ys.ERROR:bs(r,"error should have stream controller"),r.controller.error(Za(t.reason)),oe(this,Uo,jb).call(this,r,n);break;case ys.CANCEL_COMPLETE:t.success?r.cancelCall.resolve():r.cancelCall.reject(Za(t.reason)),oe(this,Uo,jb).call(this,r,n);break;case ys.CANCEL:if(!i)break;const l=Za(t.reason);Promise.try(i.onCancel||bP,l).then(function(){o.postMessage({sourceName:s,targetName:a,stream:ys.CANCEL_COMPLETE,streamId:n,success:!0})},function(c){o.postMessage({sourceName:s,targetName:a,stream:ys.CANCEL_COMPLETE,streamId:n,reason:Za(c)})}),i.sinkCapability.reject(l),i.isCancelled=!0,delete this.streamSinks[n];break;default:throw new Error("Unexpected stream case")}},jb=async function(t,n){var s,a,o;await Promise.allSettled([(s=t.startCall)==null?void 0:s.promise,(a=t.pullCall)==null?void 0:a.promise,(o=t.cancelCall)==null?void 0:o.promise]),delete this.streamControllers[n]};class yP{constructor({enableHWA:t=!1}){se(this,rm,!1);q(this,rm,t)}create(t,n){if(t<=0||n<=0)throw new Error("Invalid canvas size");const s=this._createCanvas(t,n);return{canvas:s,context:s.getContext("2d",{willReadFrequently:!y(this,rm)})}}reset(t,n,s){if(!t.canvas)throw new Error("Canvas is not specified");if(n<=0||s<=0)throw new Error("Invalid canvas size");t.canvas.width=n,t.canvas.height=s}destroy(t){if(!t.canvas)throw new Error("Canvas is not specified");t.canvas.width=0,t.canvas.height=0,t.canvas=null,t.context=null}_createCanvas(t,n){Bn("Abstract method `_createCanvas` called.")}}rm=new WeakMap;class fbe extends yP{constructor({ownerDocument:t=globalThis.document,enableHWA:n=!1}){super({enableHWA:n}),this._document=t}_createCanvas(t,n){const s=this._document.createElement("canvas");return s.width=t,s.height=n,s}}class wP{constructor({baseUrl:t=null,isCompressed:n=!0}){this.baseUrl=t,this.isCompressed=n}async fetch({name:t}){if(!this.baseUrl)throw new Error("Ensure that the `cMapUrl` and `cMapPacked` API parameters are provided.");if(!t)throw new Error("CMap name must be specified.");const n=this.baseUrl+t+(this.isCompressed?".bcmap":"");return this._fetch(n).then(s=>({cMapData:s,isCompressed:this.isCompressed})).catch(s=>{throw new Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${n}`)})}async _fetch(t){Bn("Abstract method `_fetch` called.")}}class _P extends wP{async _fetch(t){const n=await Z1(t,this.isCompressed?"arraybuffer":"text");return n instanceof ArrayBuffer?new Uint8Array(n):J1(n)}}class CP{addFilter(t){return"none"}addHCMFilter(t,n){return"none"}addAlphaFilter(t){return"none"}addLuminosityFilter(t){return"none"}addHighlightHCMFilter(t,n,s,a,o){return"none"}destroy(t=!1){}}class hbe extends CP{constructor({docId:n,ownerDocument:s=globalThis.document}){super();se(this,xt);se(this,hd);se(this,Oh);se(this,_l);se(this,Cl);se(this,ba);se(this,pd);se(this,vd,0);q(this,Cl,n),q(this,ba,s)}addFilter(n){if(!n)return"none";let s=y(this,xt,Sa).get(n);if(s)return s;const[a,o,r]=oe(this,xt,Kb).call(this,n),i=n.length===1?a:`${a}${o}${r}`;if(s=y(this,xt,Sa).get(i),s)return y(this,xt,Sa).set(n,s),s;const l=`g_${y(this,Cl)}_transfer_map_${za(this,vd)._++}`,c=oe(this,xt,E0).call(this,l);y(this,xt,Sa).set(n,c),y(this,xt,Sa).set(i,c);const u=oe(this,xt,k0).call(this,l);return oe(this,xt,d2).call(this,a,o,r,u),c}addHCMFilter(n,s){var v;const a=`${n}-${s}`,o="base";let r=y(this,xt,c2).get(o);if((r==null?void 0:r.key)===a||(r?((v=r.filter)==null||v.remove(),r.key=a,r.url="none",r.filter=null):(r={key:a,url:"none",filter:null},y(this,xt,c2).set(o,r)),!n||!s))return r.url;const i=oe(this,xt,f2).call(this,n);n=Nt.makeHexColor(...i);const l=oe(this,xt,f2).call(this,s);if(s=Nt.makeHexColor(...l),y(this,xt,x0).style.color="",n==="#000000"&&s==="#ffffff"||n===s)return r.url;const c=new Array(256);for(let m=0;m<=255;m++){const g=m/255;c[m]=g<=.03928?g/12.92:((g+.055)/1.055)**2.4}const u=c.join(","),d=`g_${y(this,Cl)}_hcm_filter`,h=r.filter=oe(this,xt,k0).call(this,d);oe(this,xt,d2).call(this,u,u,u,h),oe(this,xt,Qw).call(this,h);const p=(m,g)=>{const b=i[m]/255,_=l[m]/255,w=new Array(g+1);for(let C=0;C<=g;C++)w[C]=b+C/g*(_-b);return w.join(",")};return oe(this,xt,d2).call(this,p(0,5),p(1,5),p(2,5),h),r.url=oe(this,xt,E0).call(this,d),r.url}addAlphaFilter(n){let s=y(this,xt,Sa).get(n);if(s)return s;const[a]=oe(this,xt,Kb).call(this,[n]),o=`alpha_${a}`;if(s=y(this,xt,Sa).get(o),s)return y(this,xt,Sa).set(n,s),s;const r=`g_${y(this,Cl)}_alpha_map_${za(this,vd)._++}`,i=oe(this,xt,E0).call(this,r);y(this,xt,Sa).set(n,i),y(this,xt,Sa).set(o,i);const l=oe(this,xt,k0).call(this,r);return oe(this,xt,e_).call(this,a,l),i}addLuminosityFilter(n){let s=y(this,xt,Sa).get(n||"luminosity");if(s)return s;let a,o;if(n?([a]=oe(this,xt,Kb).call(this,[n]),o=`luminosity_${a}`):o="luminosity",s=y(this,xt,Sa).get(o),s)return y(this,xt,Sa).set(n,s),s;const r=`g_${y(this,Cl)}_luminosity_map_${za(this,vd)._++}`,i=oe(this,xt,E0).call(this,r);y(this,xt,Sa).set(n,i),y(this,xt,Sa).set(o,i);const l=oe(this,xt,k0).call(this,r);return oe(this,xt,DR).call(this,l),n&&oe(this,xt,e_).call(this,a,l),i}addHighlightHCMFilter(n,s,a,o,r){var _;const i=`${s}-${a}-${o}-${r}`;let l=y(this,xt,c2).get(n);if((l==null?void 0:l.key)===i||(l?((_=l.filter)==null||_.remove(),l.key=i,l.url="none",l.filter=null):(l={key:i,url:"none",filter:null},y(this,xt,c2).set(n,l)),!s||!a))return l.url;const[c,u]=[s,a].map(oe(this,xt,f2).bind(this));let d=Math.round(.2126*c[0]+.7152*c[1]+.0722*c[2]),h=Math.round(.2126*u[0]+.7152*u[1]+.0722*u[2]),[p,v]=[o,r].map(oe(this,xt,f2).bind(this));h{const E=new Array(256),T=(h-d)/x,R=w/255,I=(C-w)/(255*x);let M=0;for(let $=0;$<=x;$++){const O=Math.round(d+$*T),B=R+$*I;for(let U=M;U<=O;U++)E[U]=B;M=O+1}for(let $=M;$<256;$++)E[$]=E[M-1];return E.join(",")},g=`g_${y(this,Cl)}_hcm_${n}_filter`,b=l.filter=oe(this,xt,k0).call(this,g);return oe(this,xt,Qw).call(this,b),oe(this,xt,d2).call(this,m(p[0],v[0],5),m(p[1],v[1],5),m(p[2],v[2],5),b),l.url=oe(this,xt,E0).call(this,g),l.url}destroy(n=!1){var s,a,o,r;n&&((s=y(this,pd))!=null&&s.size)||((a=y(this,_l))==null||a.parentNode.parentNode.remove(),q(this,_l,null),(o=y(this,Oh))==null||o.clear(),q(this,Oh,null),(r=y(this,pd))==null||r.clear(),q(this,pd,null),q(this,vd,0))}}hd=new WeakMap,Oh=new WeakMap,_l=new WeakMap,Cl=new WeakMap,ba=new WeakMap,pd=new WeakMap,vd=new WeakMap,xt=new WeakSet,Sa=function(){return y(this,Oh)||q(this,Oh,new Map)},c2=function(){return y(this,pd)||q(this,pd,new Map)},x0=function(){if(!y(this,_l)){const n=y(this,ba).createElement("div"),{style:s}=n;s.visibility="hidden",s.contain="strict",s.width=s.height=0,s.position="absolute",s.top=s.left=0,s.zIndex=-1;const a=y(this,ba).createElementNS(cl,"svg");a.setAttribute("width",0),a.setAttribute("height",0),q(this,_l,y(this,ba).createElementNS(cl,"defs")),n.append(a),a.append(y(this,_l)),y(this,ba).body.append(n)}return y(this,_l)},Kb=function(n){if(n.length===1){const c=n[0],u=new Array(256);for(let h=0;h<256;h++)u[h]=c[h]/255;const d=u.join(",");return[d,d,d]}const[s,a,o]=n,r=new Array(256),i=new Array(256),l=new Array(256);for(let c=0;c<256;c++)r[c]=s[c]/255,i[c]=a[c]/255,l[c]=o[c]/255;return[r.join(","),i.join(","),l.join(",")]},E0=function(n){if(y(this,hd)===void 0){q(this,hd,"");const s=y(this,ba).URL;s!==y(this,ba).baseURI&&(Q1(s)?rn('#createUrl: ignore "data:"-URL for performance reasons.'):q(this,hd,s.split("#",1)[0]))}return`url(${y(this,hd)}#${n})`},DR=function(n){const s=y(this,ba).createElementNS(cl,"feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0.59 0.11 0 0"),n.append(s)},Qw=function(n){const s=y(this,ba).createElementNS(cl,"feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("values","0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"),n.append(s)},k0=function(n){const s=y(this,ba).createElementNS(cl,"filter");return s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("id",n),y(this,xt,x0).append(s),s},u2=function(n,s,a){const o=y(this,ba).createElementNS(cl,s);o.setAttribute("type","discrete"),o.setAttribute("tableValues",a),n.append(o)},d2=function(n,s,a,o){const r=y(this,ba).createElementNS(cl,"feComponentTransfer");o.append(r),oe(this,xt,u2).call(this,r,"feFuncR",n),oe(this,xt,u2).call(this,r,"feFuncG",s),oe(this,xt,u2).call(this,r,"feFuncB",a)},e_=function(n,s){const a=y(this,ba).createElementNS(cl,"feComponentTransfer");s.append(a),oe(this,xt,u2).call(this,a,"feFuncA",n)},f2=function(n){return y(this,xt,x0).style.color=n,tw(getComputedStyle(y(this,xt,x0)).getPropertyValue("color"))};class SP{constructor({baseUrl:t=null}){this.baseUrl=t}async fetch({filename:t}){if(!this.baseUrl)throw new Error("Ensure that the `standardFontDataUrl` API parameter is provided.");if(!t)throw new Error("Font filename must be specified.");const n=`${this.baseUrl}${t}`;return this._fetch(n).catch(s=>{throw new Error(`Unable to load font data at: ${n}`)})}async _fetch(t){Bn("Abstract method `_fetch` called.")}}class xP extends SP{async _fetch(t){const n=await Z1(t,"arraybuffer");return new Uint8Array(n)}}pa&&rn("Please use the `legacy` build in Node.js environments.");async function EP(e){const n=await process.getBuiltinModule("fs").promises.readFile(e);return new Uint8Array(n)}class pbe extends CP{}class vbe extends yP{_createCanvas(t,n){return process.getBuiltinModule("module").createRequire(kn&&kn.tagName.toUpperCase()==="SCRIPT"&&kn.src||new URL("ocrz-app.js",document.baseURI).href)("@napi-rs/canvas").createCanvas(t,n)}}class mbe extends wP{async _fetch(t){return EP(t)}}class gbe extends SP{async _fetch(t){return EP(t)}}const ma={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function lw(e,t){if(!t)return;const n=t[2]-t[0],s=t[3]-t[1],a=new Path2D;a.rect(t[0],t[1],n,s),e.clip(a)}class cw{getPattern(){Bn("Abstract method `getPattern` called.")}}class bbe extends cw{constructor(t){super(),this._type=t[1],this._bbox=t[2],this._colorStops=t[3],this._p0=t[4],this._p1=t[5],this._r0=t[6],this._r1=t[7],this.matrix=null}_createGradient(t){let n;this._type==="axial"?n=t.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):this._type==="radial"&&(n=t.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const s of this._colorStops)n.addColorStop(s[0],s[1]);return n}getPattern(t,n,s,a){let o;if(a===ma.STROKE||a===ma.FILL){const r=n.current.getClippedPathBoundingBox(a,Jn(t))||[0,0,0,0],i=Math.ceil(r[2]-r[0])||1,l=Math.ceil(r[3]-r[1])||1,c=n.cachedCanvases.getCanvas("pattern",i,l),u=c.context;u.clearRect(0,0,u.canvas.width,u.canvas.height),u.beginPath(),u.rect(0,0,u.canvas.width,u.canvas.height),u.translate(-r[0],-r[1]),s=Nt.transform(s,[1,0,0,1,r[0],r[1]]),u.transform(...n.baseTransform),this.matrix&&u.transform(...this.matrix),lw(u,this._bbox),u.fillStyle=this._createGradient(u),u.fill(),o=t.createPattern(c.canvas,"no-repeat");const d=new DOMMatrix(s);o.setTransform(d)}else lw(t,this._bbox),o=this._createGradient(t);return o}}function uw(e,t,n,s,a,o,r,i){const l=t.coords,c=t.colors,u=e.data,d=e.width*4;let h;l[n+1]>l[s+1]&&(h=n,n=s,s=h,h=o,o=r,r=h),l[s+1]>l[a+1]&&(h=s,s=a,a=h,h=r,r=i,i=h),l[n+1]>l[s+1]&&(h=n,n=s,s=h,h=o,o=r,r=h);const p=(l[n]+t.offsetX)*t.scaleX,v=(l[n+1]+t.offsetY)*t.scaleY,m=(l[s]+t.offsetX)*t.scaleX,g=(l[s+1]+t.offsetY)*t.scaleY,b=(l[a]+t.offsetX)*t.scaleX,_=(l[a+1]+t.offsetY)*t.scaleY;if(v>=_)return;const w=c[o],C=c[o+1],x=c[o+2],E=c[r],T=c[r+1],R=c[r+2],I=c[i],M=c[i+1],$=c[i+2],O=Math.round(v),B=Math.round(_);let U,J,Y,N,L,V,z,G;for(let Q=O;Q<=B;Q++){if(Q_?ne=1:g===_?ne=0:ne=(g-Q)/(g-_),U=m-(m-b)*ne,J=E-(E-I)*ne,Y=T-(T-M)*ne,N=R-(R-$)*ne}let K;Q_?K=1:K=(v-Q)/(v-_),L=p-(p-b)*K,V=w-(w-I)*K,z=C-(C-M)*K,G=x-(x-$)*K;const ee=Math.round(Math.min(U,L)),ae=Math.round(Math.max(U,L));let fe=d*Q+ee*4;for(let ne=ee;ne<=ae;ne++)K=(U-ne)/(U-L),K<0?K=0:K>1&&(K=1),u[fe++]=J-(J-V)*K|0,u[fe++]=Y-(Y-z)*K|0,u[fe++]=N-(N-G)*K|0,u[fe++]=255}}function ybe(e,t,n){const s=t.coords,a=t.colors;let o,r;switch(t.type){case"lattice":const i=t.verticesPerRow,l=Math.floor(s.length/i)-1,c=i-1;for(o=0;o=M?C=l:E=!0,I>=$?x=c:T=!0;const O=this.getSizeAndScale(C,this.ctx.canvas.width,_),B=this.getSizeAndScale(x,this.ctx.canvas.height,w),U=t.cachedCanvases.getCanvas("pattern",O.size,B.size),J=U.context,Y=i.createCanvasGraphics(J);if(Y.groupLevel=t.groupLevel,this.setFillAndStrokeStyleToContext(Y,a,r),J.translate(-O.scale*u,-B.scale*d),Y.transform(O.scale,0,0,B.scale,0,0),J.save(),this.clipBbox(Y,u,d,h,p),Y.baseTransform=Jn(Y.ctx),Y.executeOperatorList(s),Y.endDrawing(),J.restore(),E||T){const N=U.canvas;E&&(C=l),T&&(x=c);const L=this.getSizeAndScale(C,this.ctx.canvas.width,_),V=this.getSizeAndScale(x,this.ctx.canvas.height,w),z=L.size,G=V.size,Q=t.cachedCanvases.getCanvas("pattern-workaround",z,G),K=Q.context,ee=E?Math.floor(v/l):0,ae=T?Math.floor(m/c):0;for(let fe=0;fe<=ee;fe++)for(let ne=0;ne<=ae;ne++)K.drawImage(N,z*fe,G*ne,z,G,0,0,z,G);return{canvas:Q.canvas,scaleX:L.scale,scaleY:V.scale,offsetX:u,offsetY:d}}return{canvas:U.canvas,scaleX:O.scale,scaleY:B.scale,offsetX:u,offsetY:d}}getSizeAndScale(t,n,s){const a=Math.max(_b.MAX_PATTERN_SIZE,n);let o=Math.ceil(t*s);return o>=a?o=a:s=o/t,{scale:s,size:o}}clipBbox(t,n,s,a,o){const r=a-n,i=o-s;t.ctx.rect(n,s,r,i),t.current.updateRectMinMax(Jn(t.ctx),[n,s,a,o]),t.clip(),t.endPath()}setFillAndStrokeStyleToContext(t,n,s){const a=t.ctx,o=t.current;switch(n){case kP.COLORED:const r=this.ctx;a.fillStyle=r.fillStyle,a.strokeStyle=r.strokeStyle,o.fillColor=r.fillStyle,o.strokeColor=r.strokeStyle;break;case kP.UNCOLORED:const i=Nt.makeHexColor(s[0],s[1],s[2]);a.fillStyle=i,a.strokeStyle=i,o.fillColor=i,o.strokeColor=i;break;default:throw new G1e(`Unsupported paint type: ${n}`)}}getPattern(t,n,s,a){let o=s;a!==ma.SHADING&&(o=Nt.transform(o,n.baseTransform),this.matrix&&(o=Nt.transform(o,this.matrix)));const r=this.createPatternCanvas(n);let i=new DOMMatrix(o);i=i.translate(r.offsetX,r.offsetY),i=i.scale(1/r.scaleX,1/r.scaleY);const l=t.createPattern(r.canvas,"repeat");return l.setTransform(i),l}};zt(_b,"MAX_PATTERN_SIZE",3e3);let dw=_b;function Sbe({src:e,srcPos:t=0,dest:n,width:s,height:a,nonBlackColor:o=4294967295,inverseDecode:r=!1}){const i=Oa.isLittleEndian?4278190080:255,[l,c]=r?[o,i]:[i,o],u=s>>3,d=s&7,h=e.length;n=new Uint32Array(n.buffer);let p=0;for(let v=0;v{e.save=e.__originalSave,e.restore=e.__originalRestore,e.rotate=e.__originalRotate,e.scale=e.__originalScale,e.translate=e.__originalTranslate,e.transform=e.__originalTransform,e.setTransform=e.__originalSetTransform,e.resetTransform=e.__originalResetTransform,e.clip=e.__originalClip,e.moveTo=e.__originalMoveTo,e.lineTo=e.__originalLineTo,e.bezierCurveTo=e.__originalBezierCurveTo,e.rect=e.__originalRect,e.closePath=e.__originalClosePath,e.beginPath=e.__originalBeginPath,delete e._removeMirroring},e.save=function(){t.save(),this.__originalSave()},e.restore=function(){t.restore(),this.__originalRestore()},e.translate=function(s,a){t.translate(s,a),this.__originalTranslate(s,a)},e.scale=function(s,a){t.scale(s,a),this.__originalScale(s,a)},e.transform=function(s,a,o,r,i,l){t.transform(s,a,o,r,i,l),this.__originalTransform(s,a,o,r,i,l)},e.setTransform=function(s,a,o,r,i,l){t.setTransform(s,a,o,r,i,l),this.__originalSetTransform(s,a,o,r,i,l)},e.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},e.rotate=function(s){t.rotate(s),this.__originalRotate(s)},e.clip=function(s){t.clip(s),this.__originalClip(s)},e.moveTo=function(n,s){t.moveTo(n,s),this.__originalMoveTo(n,s)},e.lineTo=function(n,s){t.lineTo(n,s),this.__originalLineTo(n,s)},e.bezierCurveTo=function(n,s,a,o,r,i){t.bezierCurveTo(n,s,a,o,r,i),this.__originalBezierCurveTo(n,s,a,o,r,i)},e.rect=function(n,s,a,o){t.rect(n,s,a,o),this.__originalRect(n,s,a,o)},e.closePath=function(){t.closePath(),this.__originalClosePath()},e.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}class kbe{constructor(t){this.canvasFactory=t,this.cache=Object.create(null)}getCanvas(t,n,s){let a;return this.cache[t]!==void 0?(a=this.cache[t],this.canvasFactory.reset(a,n,s)):(a=this.canvasFactory.create(n,s),this.cache[t]=a),a}delete(t){delete this.cache[t]}clear(){for(const t in this.cache){const n=this.cache[t];this.canvasFactory.destroy(n),delete this.cache[t]}}}function ab(e,t,n,s,a,o,r,i,l,c){const[u,d,h,p,v,m]=Jn(e);if(d===0&&h===0){const _=r*u+v,w=Math.round(_),C=i*p+m,x=Math.round(C),E=(r+l)*u+v,T=Math.abs(Math.round(E)-w)||1,R=(i+c)*p+m,I=Math.abs(Math.round(R)-x)||1;return e.setTransform(Math.sign(u),0,0,Math.sign(p),w,x),e.drawImage(t,n,s,a,o,0,0,T,I),e.setTransform(u,d,h,p,v,m),[T,I]}if(u===0&&p===0){const _=i*h+v,w=Math.round(_),C=r*d+m,x=Math.round(C),E=(i+c)*h+v,T=Math.abs(Math.round(E)-w)||1,R=(r+l)*d+m,I=Math.abs(Math.round(R)-x)||1;return e.setTransform(0,Math.sign(d),Math.sign(h),0,w,x),e.drawImage(t,n,s,a,o,0,0,I,T),e.setTransform(u,d,h,p,v,m),[I,T]}e.drawImage(t,n,s,a,o,r,i,l,c);const g=Math.hypot(u,d),b=Math.hypot(h,p);return[g*l,b*c]}function Abe(e){const{width:t,height:n}=e;if(t>PP||n>PP)return null;const s=1e3,a=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),o=t+1;let r=new Uint8Array(o*(n+1)),i,l,c;const u=t+7&-8;let d=new Uint8Array(u*n),h=0;for(const b of e.data){let _=128;for(;_>0;)d[h++]=b&_?0:255,_>>=1}let p=0;for(h=0,d[h]!==0&&(r[0]=1,++p),l=1;l>2)+(d[h+1]?4:0)+(d[h-u+1]?8:0),a[b]&&(r[c+l]=a[b],++p),h++;if(d[h-u]!==d[h]&&(r[c+l]=d[h]?2:4,++p),p>s)return null}for(h=u*(n-1),c=i*o,d[h]!==0&&(r[c]=8,++p),l=1;ls)return null;const v=new Int32Array([0,o,-1,0,-o,0,0,0,1]),m=new Path2D;for(i=0;p&&i<=n;i++){let b=i*o;const _=b+t;for(;b<_&&!r[b];)b++;if(b===_)continue;m.moveTo(b%o,i);const w=b;let C=r[b];do{const x=v[C];do b+=x;while(!r[b]);const E=r[b];E!==5&&E!==10?(C=E,r[b]=0):(C=E&51*C>>4,r[b]&=C>>2|C<<2),m.lineTo(b%o,b/o|0),r[b]||--p}while(w!==b);--i}return d=null,r=null,function(b){b.save(),b.scale(1/t,-1/n),b.translate(0,-n),b.fill(m),b.beginPath(),b.restore()}}class RP{constructor(t,n){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=uP,this.textMatrixScale=1,this.fontMatrix=j8,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=va.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.patternStroke=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps="none",this.startNewPathAndClipBox([0,0,t,n])}clone(){const t=Object.create(this);return t.clipBox=this.clipBox.slice(),t}setCurrentPoint(t,n){this.x=t,this.y=n}updatePathMinMax(t,n,s){[n,s]=Nt.applyTransform([n,s],t),this.minX=Math.min(this.minX,n),this.minY=Math.min(this.minY,s),this.maxX=Math.max(this.maxX,n),this.maxY=Math.max(this.maxY,s)}updateRectMinMax(t,n){const s=Nt.applyTransform(n,t),a=Nt.applyTransform(n.slice(2),t),o=Nt.applyTransform([n[0],n[3]],t),r=Nt.applyTransform([n[2],n[1]],t);this.minX=Math.min(this.minX,s[0],a[0],o[0],r[0]),this.minY=Math.min(this.minY,s[1],a[1],o[1],r[1]),this.maxX=Math.max(this.maxX,s[0],a[0],o[0],r[0]),this.maxY=Math.max(this.maxY,s[1],a[1],o[1],r[1])}updateScalingPathMinMax(t,n){Nt.scaleMinMax(t,n),this.minX=Math.min(this.minX,n[0]),this.minY=Math.min(this.minY,n[1]),this.maxX=Math.max(this.maxX,n[2]),this.maxY=Math.max(this.maxY,n[3])}updateCurvePathMinMax(t,n,s,a,o,r,i,l,c,u){const d=Nt.bezierBoundingBox(n,s,a,o,r,i,l,c,u);u||this.updateRectMinMax(t,d)}getPathBoundingBox(t=ma.FILL,n=null){const s=[this.minX,this.minY,this.maxX,this.maxY];if(t===ma.STROKE){n||Bn("Stroke bounding box must include transform.");const a=Nt.singularValueDecompose2dScale(n),o=a[0]*this.lineWidth/2,r=a[1]*this.lineWidth/2;s[0]-=o,s[1]-=r,s[2]+=o,s[3]+=r}return s}updateClipFromPath(){const t=Nt.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(t||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(t){this.clipBox=t,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(t=ma.FILL,n=null){return Nt.intersect(this.clipBox,this.getPathBoundingBox(t,n))}}function IP(e,t){if(t instanceof ImageData){e.putImageData(t,0,0);return}const n=t.height,s=t.width,a=n%Qa,o=(n-a)/Qa,r=a===0?o:o+1,i=e.createImageData(s,Qa);let l=0,c;const u=t.data,d=i.data;let h,p,v,m;if(t.kind===U1.GRAYSCALE_1BPP){const g=u.byteLength,b=new Uint32Array(d.buffer,0,d.byteLength>>2),_=b.length,w=s+7>>3,C=4294967295,x=Oa.isLittleEndian?4278190080:255;for(h=0;hw?s:E*8-7,I=R&-8;let M=0,$=0;for(;T>=1}for(;c<_;)b[c++]=0;e.putImageData(i,0,h*Qa)}}else if(t.kind===U1.RGBA_32BPP){for(p=0,m=s*Qa*4,h=0;h=o&&(v=a,m=s*v),c=0,p=m;p--;)d[c++]=u[l++],d[c++]=u[l++],d[c++]=u[l++],d[c++]=255;e.putImageData(i,0,h*Qa)}else throw new Error(`bad image kind: ${t.kind}`)}function OP(e,t){if(t.bitmap){e.drawImage(t.bitmap,0,0);return}const n=t.height,s=t.width,a=n%Qa,o=(n-a)/Qa,r=a===0?o:o+1,i=e.createImageData(s,Qa);let l=0;const c=t.data,u=i.data;for(let d=0;dMP&&typeof s=="function",u=c?Date.now()+xbe:0;let d=0;const h=this.commonObjs,p=this.objs;let v;for(;;){if(a!==void 0&&i===a.nextBreakPoint)return a.breakIt(i,s),i;if(v=r[i],v!==Sr.dependency)this[v].apply(this,o[i]);else for(const m of o[i]){const g=m.startsWith("g_")?h:p;if(!g.has(m))return g.get(m,s),i}if(i++,i===l)return i;if(c&&++d>MP){if(Date.now()>u)return s(),i;d=0}}}endDrawing(){oe(this,Pr,t_).call(this),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const t of this._cachedBitmapsMap.values()){for(const n of t.values())typeof HTMLCanvasElement<"u"&&n instanceof HTMLCanvasElement&&(n.width=n.height=0);t.clear()}this._cachedBitmapsMap.clear(),oe(this,Pr,n_).call(this)}_scaleImage(t,n){const s=t.width??t.displayWidth,a=t.height??t.displayHeight;let o=Math.max(Math.hypot(n[0],n[1]),1),r=Math.max(Math.hypot(n[2],n[3]),1),i=s,l=a,c="prescale1",u,d;for(;o>2&&i>1||r>2&&l>1;){let h=i,p=l;o>2&&i>1&&(h=i>=16384?Math.floor(i/2)-1||1:Math.ceil(i/2),o/=i/h),r>2&&l>1&&(p=l>=16384?Math.floor(l/2)-1||1:Math.ceil(l)/2,r/=l/p),u=this.cachedCanvases.getCanvas(c,h,p),d=u.context,d.clearRect(0,0,h,p),d.drawImage(t,0,0,i,l,0,0,h,p),t=u.canvas,i=h,l=p,c=c==="prescale1"?"prescale2":"prescale1"}return{img:t,paintWidth:i,paintHeight:l}}_createMaskCanvas(t){const n=this.ctx,{width:s,height:a}=t,o=this.current.fillColor,r=this.current.patternFill,i=Jn(n);let l,c,u,d;if((t.bitmap||t.data)&&t.count>1){const R=t.bitmap||t.data.buffer;c=JSON.stringify(r?i:[i.slice(0,4),o]),l=this._cachedBitmapsMap.get(R),l||(l=new Map,this._cachedBitmapsMap.set(R,l));const I=l.get(c);if(I&&!r){const M=Math.round(Math.min(i[0],i[2])+i[4]),$=Math.round(Math.min(i[1],i[3])+i[5]);return{canvas:I,offsetX:M,offsetY:$}}u=I}u||(d=this.cachedCanvases.getCanvas("maskCanvas",s,a),OP(d.context,t));let h=Nt.transform(i,[1/s,0,0,-1/a,0,0]);h=Nt.transform(h,[1,0,0,1,0,-a]);const[p,v,m,g]=Nt.getAxialAlignedBoundingBox([0,0,s,a],h),b=Math.round(m-p)||1,_=Math.round(g-v)||1,w=this.cachedCanvases.getCanvas("fillCanvas",b,_),C=w.context,x=p,E=v;C.translate(-x,-E),C.transform(...h),u||(u=this._scaleImage(d.canvas,ui(C)),u=u.img,l&&r&&l.set(c,u)),C.imageSmoothingEnabled=LP(Jn(C),t.interpolate),ab(C,u,0,0,u.width,u.height,0,0,s,a),C.globalCompositeOperation="source-in";const T=Nt.transform(ui(C),[1,0,0,1,-x,-E]);return C.fillStyle=r?o.getPattern(n,this,T,ma.FILL):o,C.fillRect(0,0,s,a),l&&!r&&(this.cachedCanvases.delete("fillCanvas"),l.set(c,w.canvas)),{canvas:w.canvas,offsetX:Math.round(x),offsetY:Math.round(E)}}setLineWidth(t){t!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=t,this.ctx.lineWidth=t}setLineCap(t){this.ctx.lineCap=Tbe[t]}setLineJoin(t){this.ctx.lineJoin=Mbe[t]}setMiterLimit(t){this.ctx.miterLimit=t}setDash(t,n){const s=this.ctx;s.setLineDash!==void 0&&(s.setLineDash(t),s.lineDashOffset=n)}setRenderingIntent(t){}setFlatness(t){}setGState(t){for(const[n,s]of t)switch(n){case"LW":this.setLineWidth(s);break;case"LC":this.setLineCap(s);break;case"LJ":this.setLineJoin(s);break;case"ML":this.setMiterLimit(s);break;case"D":this.setDash(s[0],s[1]);break;case"RI":this.setRenderingIntent(s);break;case"FL":this.setFlatness(s);break;case"Font":this.setFont(s[0],s[1]);break;case"CA":this.current.strokeAlpha=s;break;case"ca":this.current.fillAlpha=s,this.ctx.globalAlpha=s;break;case"BM":this.ctx.globalCompositeOperation=s;break;case"SMask":this.current.activeSMask=s?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(s);break}}get inSMaskMode(){return!!this.suspendedCtx}checkSMaskState(){const t=this.inSMaskMode;this.current.activeSMask&&!t?this.beginSMaskMode():!this.current.activeSMask&&t&&this.endSMaskMode()}beginSMaskMode(){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");const t=this.ctx.canvas.width,n=this.ctx.canvas.height,s="smaskGroupAt"+this.groupLevel,a=this.cachedCanvases.getCanvas(s,t,n);this.suspendedCtx=this.ctx,this.ctx=a.context;const o=this.ctx;o.setTransform(...Jn(this.suspendedCtx)),Av(this.suspendedCtx,o),Ebe(o,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),Av(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(t){if(!this.current.activeSMask)return;t?(t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.ceil(t[2]),t[3]=Math.ceil(t[3])):t=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];const n=this.current.activeSMask,s=this.suspendedCtx;this.composeSMask(s,n,this.ctx,t),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}composeSMask(t,n,s,a){const o=a[0],r=a[1],i=a[2]-o,l=a[3]-r;i===0||l===0||(this.genericComposeSMask(n.context,s,i,l,n.subtype,n.backdrop,n.transferMap,o,r,n.offsetX,n.offsetY),t.save(),t.globalAlpha=1,t.globalCompositeOperation="source-over",t.setTransform(1,0,0,1,0,0),t.drawImage(s.canvas,0,0),t.restore())}genericComposeSMask(t,n,s,a,o,r,i,l,c,u,d){let h=t.canvas,p=l-u,v=c-d;if(r){const g=Nt.makeHexColor(...r);if(p<0||v<0||p+s>h.width||v+a>h.height){const b=this.cachedCanvases.getCanvas("maskExtension",s,a),_=b.context;_.drawImage(h,-p,-v),_.globalCompositeOperation="destination-atop",_.fillStyle=g,_.fillRect(0,0,s,a),_.globalCompositeOperation="source-over",h=b.canvas,p=v=0}else{t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0);const b=new Path2D;b.rect(p,v,s,a),t.clip(b),t.globalCompositeOperation="destination-atop",t.fillStyle=g,t.fillRect(p,v,s,a),t.restore()}}n.save(),n.globalAlpha=1,n.setTransform(1,0,0,1,0,0),o==="Alpha"&&i?n.filter=this.filterFactory.addAlphaFilter(i):o==="Luminosity"&&(n.filter=this.filterFactory.addLuminosityFilter(i));const m=new Path2D;m.rect(l,c,s,a),n.clip(m),n.globalCompositeOperation="destination-in",n.drawImage(h,p,v,s,a,l,c,s,a),n.restore()}save(){this.inSMaskMode?(Av(this.ctx,this.suspendedCtx),this.suspendedCtx.save()):this.ctx.save();const t=this.current;this.stateStack.push(t),this.current=t.clone()}restore(){this.stateStack.length===0&&this.inSMaskMode&&this.endSMaskMode(),this.stateStack.length!==0&&(this.current=this.stateStack.pop(),this.inSMaskMode?(this.suspendedCtx.restore(),Av(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null)}transform(t,n,s,a,o,r){this.ctx.transform(t,n,s,a,o,r),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}constructPath(t,n,s){const a=this.ctx,o=this.current;let r=o.x,i=o.y,l,c;const u=Jn(a),d=u[0]===0&&u[3]===0||u[1]===0&&u[2]===0,h=d?s.slice(0):null;for(let p=0,v=0,m=t.length;pTP&&(c=TP),this.current.fontSizeScale=n/c,this.ctx.font=`${l} ${i} ${c}px ${r}`}setTextRenderingMode(t){this.current.textRenderingMode=t}setTextRise(t){this.current.textRise=t}moveText(t,n){this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=n}setLeadingMoveText(t,n){this.setLeading(-n),this.moveText(t,n)}setTextMatrix(t,n,s,a,o,r){this.current.textMatrix=[t,n,s,a,o,r],this.current.textMatrixScale=Math.hypot(t,n),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(t,n,s,a,o){const r=this.ctx,i=this.current,l=i.font,c=i.textRenderingMode,u=i.fontSize/i.fontSizeScale,d=c&va.FILL_STROKE_MASK,h=!!(c&va.ADD_TO_PATH_FLAG),p=i.patternFill&&!l.missingFile,v=i.patternStroke&&!l.missingFile;let m;if((l.disableFontFace||h||p||v)&&(m=l.getPathGenerator(this.commonObjs,t)),l.disableFontFace||p||v){if(r.save(),r.translate(n,s),r.scale(u,-u),d===va.FILL||d===va.FILL_STROKE)if(a){const g=r.getTransform();r.setTransform(...a),r.fill(oe(this,Pr,s_).call(this,m,g,a))}else r.fill(m);if(d===va.STROKE||d===va.FILL_STROKE)if(o){const g=r.getTransform();r.setTransform(...o),r.stroke(oe(this,Pr,s_).call(this,m,g,o))}else r.lineWidth/=u,r.stroke(m);r.restore()}else(d===va.FILL||d===va.FILL_STROKE)&&r.fillText(t,n,s),(d===va.STROKE||d===va.FILL_STROKE)&&r.strokeText(t,n,s);h&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:Jn(r),x:n,y:s,fontSize:u,path:m})}get isFontSubpixelAAEnabled(){const{context:t}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);t.scale(1.5,1),t.fillText("I",0,10);const n=t.getImageData(0,0,10,10).data;let s=!1;for(let a=3;a0&&n[a]<255){s=!0;break}return dn(this,"isFontSubpixelAAEnabled",s)}showText(t){const n=this.current,s=n.font;if(s.isType3Font)return this.showType3Text(t);const a=n.fontSize;if(a===0)return;const o=this.ctx,r=n.fontSizeScale,i=n.charSpacing,l=n.wordSpacing,c=n.fontDirection,u=n.textHScale*c,d=t.length,h=s.vertical,p=h?1:-1,v=s.defaultVMetrics,m=a*n.fontMatrix[0],g=n.textRenderingMode===va.FILL&&!s.disableFontFace&&!n.patternFill;o.save(),o.transform(...n.textMatrix),o.translate(n.x,n.y+n.textRise),c>0?o.scale(u,-1):o.scale(u,1);let b,_;if(n.patternFill){o.save();const T=n.fillColor.getPattern(o,this,ui(o),ma.FILL);b=Jn(o),o.restore(),o.fillStyle=T}if(n.patternStroke){o.save();const T=n.strokeColor.getPattern(o,this,ui(o),ma.STROKE);_=Jn(o),o.restore(),o.strokeStyle=T}let w=n.lineWidth;const C=n.textMatrixScale;if(C===0||w===0){const T=n.textRenderingMode&va.FILL_STROKE_MASK;(T===va.STROKE||T===va.FILL_STROKE)&&(w=this.getSinglePixelWidth())}else w/=C;if(r!==1&&(o.scale(r,r),w/=r),o.lineWidth=w,s.isInvalidPDFjsFont){const T=[];let R=0;for(const I of t)T.push(I.unicode),R+=I.width;o.fillText(T.join(""),0,0),n.x+=R*m*u,o.restore(),this.compose();return}let x=0,E;for(E=0;E0){const Y=o.measureText(M).width*1e3/a*r;if(Unew Pw(r,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack})};n=new dw(t,s,this.ctx,o,a)}else n=this._getPattern(t[1],t[2]);return n}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments),this.current.patternStroke=!0}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(t,n,s){this.ctx.strokeStyle=this.current.strokeColor=Nt.makeHexColor(t,n,s),this.current.patternStroke=!1}setStrokeTransparent(){this.ctx.strokeStyle=this.current.strokeColor="transparent",this.current.patternStroke=!1}setFillRGBColor(t,n,s){this.ctx.fillStyle=this.current.fillColor=Nt.makeHexColor(t,n,s),this.current.patternFill=!1}setFillTransparent(){this.ctx.fillStyle=this.current.fillColor="transparent",this.current.patternFill=!1}_getPattern(t,n=null){let s;return this.cachedPatterns.has(t)?s=this.cachedPatterns.get(t):(s=Cbe(this.getObject(t)),this.cachedPatterns.set(t,s)),n&&(s.matrix=n),s}shadingFill(t){if(!this.contentVisible)return;const n=this.ctx;this.save();const s=this._getPattern(t);n.fillStyle=s.getPattern(n,this,ui(n),ma.SHADING);const a=ui(n);if(a){const{width:o,height:r}=n.canvas,[i,l,c,u]=Nt.getAxialAlignedBoundingBox([0,0,o,r],a);this.ctx.fillRect(i,l,c-i,u-l)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){Bn("Should not call beginInlineImage")}beginImageData(){Bn("Should not call beginImageData")}paintFormXObjectBegin(t,n){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),t&&this.transform(...t),this.baseTransform=Jn(this.ctx),n)){const s=n[2]-n[0],a=n[3]-n[1];this.ctx.rect(n[0],n[1],s,a),this.current.updateRectMinMax(Jn(this.ctx),n),this.clip(),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(t){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const n=this.ctx;t.isolated||Y1("TODO: Support non-isolated groups."),t.knockout&&rn("Knockout groups not supported.");const s=Jn(n);if(t.matrix&&n.transform(...t.matrix),!t.bbox)throw new Error("Bounding box is required.");let a=Nt.getAxialAlignedBoundingBox(t.bbox,Jn(n));const o=[0,0,n.canvas.width,n.canvas.height];a=Nt.intersect(a,o)||[0,0,0,0];const r=Math.floor(a[0]),i=Math.floor(a[1]),l=Math.max(Math.ceil(a[2])-r,1),c=Math.max(Math.ceil(a[3])-i,1);this.current.startNewPathAndClipBox([0,0,l,c]);let u="groupAt"+this.groupLevel;t.smask&&(u+="_smask_"+this.smaskCounter++%2);const d=this.cachedCanvases.getCanvas(u,l,c),h=d.context;h.translate(-r,-i),h.transform(...s),t.smask?this.smaskStack.push({canvas:d.canvas,context:h,offsetX:r,offsetY:i,subtype:t.smask.subtype,backdrop:t.smask.backdrop,transferMap:t.smask.transferMap||null,startTransformInverse:null}):(n.setTransform(1,0,0,1,0,0),n.translate(r,i),n.save()),Av(n,h),this.ctx=h,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(n),this.groupLevel++}endGroup(t){if(!this.contentVisible)return;this.groupLevel--;const n=this.ctx,s=this.groupStack.pop();if(this.ctx=s,this.ctx.imageSmoothingEnabled=!1,t.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const a=Jn(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...a);const o=Nt.getAxialAlignedBoundingBox([0,0,n.canvas.width,n.canvas.height],a);this.ctx.drawImage(n.canvas,0,0),this.ctx.restore(),this.compose(o)}}beginAnnotation(t,n,s,a,o){if(oe(this,Pr,t_).call(this),ob(this.ctx),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),n){const r=n[2]-n[0],i=n[3]-n[1];if(o&&this.annotationCanvasMap){s=s.slice(),s[4]-=n[0],s[5]-=n[1],n=n.slice(),n[0]=n[1]=0,n[2]=r,n[3]=i;const[l,c]=Nt.singularValueDecompose2dScale(Jn(this.ctx)),{viewportScale:u}=this,d=Math.ceil(r*this.outputScaleX*u),h=Math.ceil(i*this.outputScaleY*u);this.annotationCanvas=this.canvasFactory.create(d,h);const{canvas:p,context:v}=this.annotationCanvas;this.annotationCanvasMap.set(t,p),this.annotationCanvas.savedCtx=this.ctx,this.ctx=v,this.ctx.save(),this.ctx.setTransform(l,0,0,-c,0,i*c),ob(this.ctx)}else ob(this.ctx),this.endPath(),this.ctx.rect(n[0],n[1],r,i),this.ctx.clip(),this.ctx.beginPath()}this.current=new RP(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...s),this.transform(...a)}endAnnotation(){this.annotationCanvas&&(this.ctx.restore(),oe(this,Pr,n_).call(this),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(t){if(!this.contentVisible)return;const n=t.count;t=this.getObject(t.data,t),t.count=n;const s=this.ctx,a=this.processingType3;if(a&&(a.compiled===void 0&&(a.compiled=Abe(t)),a.compiled)){a.compiled(s);return}const o=this._createMaskCanvas(t),r=o.canvas;s.save(),s.setTransform(1,0,0,1,0,0),s.drawImage(r,o.offsetX,o.offsetY),s.restore(),this.compose()}paintImageMaskXObjectRepeat(t,n,s=0,a=0,o,r){if(!this.contentVisible)return;t=this.getObject(t.data,t);const i=this.ctx;i.save();const l=Jn(i);i.transform(n,s,a,o,0,0);const c=this._createMaskCanvas(t);i.setTransform(1,0,0,1,c.offsetX-l[4],c.offsetY-l[5]);for(let u=0,d=r.length;ud?u/d:1,i=c>d?c/d:1}}this._cachedScaleForStroking[0]=r,this._cachedScaleForStroking[1]=i}return this._cachedScaleForStroking}rescaleAndStroke(t){const{ctx:n}=this,{lineWidth:s}=this.current,[a,o]=this.getScaleForStroking();if(n.lineWidth=s||1,a===1&&o===1){n.stroke();return}const r=n.getLineDash();if(t&&n.save(),n.scale(a,o),r.length>0){const i=Math.max(a,o);n.setLineDash(r.map(l=>l/i)),n.lineDashOffset/=i}n.stroke(),t&&n.restore()}isContentVisible(){for(let t=this.markedContentStack.length-1;t>=0;t--)if(!this.markedContentStack[t].visible)return!1;return!0}};Pr=new WeakSet,t_=function(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.current.activeSMask=null,this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)},n_=function(){if(this.pageColors){const t=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if(t!=="none"){const n=this.ctx.filter;this.ctx.filter=t,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=n}}},s_=function(t,n,s){const a=new Path2D;return a.addPath(t,new DOMMatrix(s).invertSelf().multiplySelf(n)),a};let hh=Pw;for(const e in Sr)hh.prototype[e]!==void 0&&(hh.prototype[Sr[e]]=hh.prototype[e]);class ul{static get workerPort(){return y(this,im)}static set workerPort(t){if(!(typeof Worker<"u"&&t instanceof Worker)&&t!==null)throw new Error("Invalid `workerPort` type.");q(this,im,t)}static get workerSrc(){return y(this,lm)}static set workerSrc(t){if(typeof t!="string")throw new Error("Invalid `workerSrc` type.");q(this,lm,t)}}im=new WeakMap,lm=new WeakMap,se(ul,im,null),se(ul,lm,"");class Rbe{constructor({parsedData:t,rawData:n}){se(this,md);se(this,cm);q(this,md,t),q(this,cm,n)}getRaw(){return y(this,cm)}get(t){return y(this,md).get(t)??null}getAll(){return G8(y(this,md))}has(t){return y(this,md).has(t)}}md=new WeakMap,cm=new WeakMap;const ph=Symbol("INTERNAL");class Ibe{constructor(t,{name:n,intent:s,usage:a,rbGroups:o}){se(this,um,!1);se(this,dm,!1);se(this,fm,!1);se(this,Lh,!0);q(this,um,!!(t&mo.DISPLAY)),q(this,dm,!!(t&mo.PRINT)),this.name=n,this.intent=s,this.usage=a,this.rbGroups=o}get visible(){if(y(this,fm))return y(this,Lh);if(!y(this,Lh))return!1;const{print:t,view:n}=this.usage;return y(this,um)?(n==null?void 0:n.viewState)!=="OFF":y(this,dm)?(t==null?void 0:t.printState)!=="OFF":!0}_setVisible(t,n,s=!1){t!==ph&&Bn("Internal method `_setVisible` called."),q(this,fm,s),q(this,Lh,n)}}um=new WeakMap,dm=new WeakMap,fm=new WeakMap,Lh=new WeakMap;class Obe{constructor(t,n=mo.DISPLAY){se(this,hm);se(this,Nc,null);se(this,Ln,new Map);se(this,Nh,null);se(this,$h,null);if(this.renderingIntent=n,this.name=null,this.creator=null,t!==null){this.name=t.name,this.creator=t.creator,q(this,$h,t.order);for(const s of t.groups)y(this,Ln).set(s.id,new Ibe(n,s));if(t.baseState==="OFF")for(const s of y(this,Ln).values())s._setVisible(ph,!1);for(const s of t.on)y(this,Ln).get(s)._setVisible(ph,!0);for(const s of t.off)y(this,Ln).get(s)._setVisible(ph,!1);q(this,Nh,this.getHash())}}isVisible(t){if(y(this,Ln).size===0)return!0;if(!t)return Y1("Optional content group not defined."),!0;if(t.type==="OCG")return y(this,Ln).has(t.id)?y(this,Ln).get(t.id).visible:(rn(`Optional content group not found: ${t.id}`),!0);if(t.type==="OCMD"){if(t.expression)return oe(this,hm,a_).call(this,t.expression);if(!t.policy||t.policy==="AnyOn"){for(const n of t.ids){if(!y(this,Ln).has(n))return rn(`Optional content group not found: ${n}`),!0;if(y(this,Ln).get(n).visible)return!0}return!1}else if(t.policy==="AllOn"){for(const n of t.ids){if(!y(this,Ln).has(n))return rn(`Optional content group not found: ${n}`),!0;if(!y(this,Ln).get(n).visible)return!1}return!0}else if(t.policy==="AnyOff"){for(const n of t.ids){if(!y(this,Ln).has(n))return rn(`Optional content group not found: ${n}`),!0;if(!y(this,Ln).get(n).visible)return!0}return!1}else if(t.policy==="AllOff"){for(const n of t.ids){if(!y(this,Ln).has(n))return rn(`Optional content group not found: ${n}`),!0;if(y(this,Ln).get(n).visible)return!1}return!0}return rn(`Unknown optional content policy ${t.policy}.`),!0}return rn(`Unknown group type ${t.type}.`),!0}setVisibility(t,n=!0,s=!0){var o;const a=y(this,Ln).get(t);if(!a){rn(`Optional content group not found: ${t}`);return}if(s&&n&&a.rbGroups.length)for(const r of a.rbGroups)for(const i of r)i!==t&&((o=y(this,Ln).get(i))==null||o._setVisible(ph,!1,!0));a._setVisible(ph,!!n,!0),q(this,Nc,null)}setOCGState({state:t,preserveRB:n}){let s;for(const a of t){switch(a){case"ON":case"OFF":case"Toggle":s=a;continue}const o=y(this,Ln).get(a);if(o)switch(s){case"ON":this.setVisibility(a,!0,n);break;case"OFF":this.setVisibility(a,!1,n);break;case"Toggle":this.setVisibility(a,!o.visible,n);break}}q(this,Nc,null)}get hasInitialVisibility(){return y(this,Nh)===null||this.getHash()===y(this,Nh)}getOrder(){return y(this,Ln).size?y(this,$h)?y(this,$h).slice():[...y(this,Ln).keys()]:null}getGroups(){return y(this,Ln).size>0?G8(y(this,Ln)):null}getGroup(t){return y(this,Ln).get(t)||null}getHash(){if(y(this,Nc)!==null)return y(this,Nc);const t=new mP;for(const[n,s]of y(this,Ln))t.update(`${n}:${s.visible}`);return q(this,Nc,t.hexdigest())}}Nc=new WeakMap,Ln=new WeakMap,Nh=new WeakMap,$h=new WeakMap,hm=new WeakSet,a_=function(t){const n=t.length;if(n<2)return!0;const s=t[0];for(let a=1;a0){const l=o instanceof Uint8Array&&o.byteLength===o.buffer.byteLength?o.buffer:new Uint8Array(o).buffer;this._queuedChunks.push(l)}this._pdfDataRangeTransport=t,this._isStreamingSupported=!s,this._isRangeSupported=!n,this._contentLength=a,this._fullRequestReader=null,this._rangeReaders=[],t.addRangeListener((l,c)=>{this._onReceiveData({begin:l,chunk:c})}),t.addProgressListener((l,c)=>{this._onProgress({loaded:l,total:c})}),t.addProgressiveReadListener(l=>{this._onReceiveData({chunk:l})}),t.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),t.transportReady()}_onReceiveData({begin:t,chunk:n}){const s=n instanceof Uint8Array&&n.byteLength===n.buffer.byteLength?n.buffer:new Uint8Array(n).buffer;if(t===void 0)this._fullRequestReader?this._fullRequestReader._enqueue(s):this._queuedChunks.push(s);else{const a=this._rangeReaders.some(function(o){return o._begin!==t?!1:(o._enqueue(s),!0)});bs(a,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){var t;return((t=this._fullRequestReader)==null?void 0:t._loaded)??0}_onProgress(t){var n,s,a,o;t.total===void 0?(s=(n=this._rangeReaders[0])==null?void 0:n.onProgress)==null||s.call(n,{loaded:t.loaded}):(o=(a=this._fullRequestReader)==null?void 0:a.onProgress)==null||o.call(a,{loaded:t.loaded,total:t.total})}_onProgressiveDone(){var t;(t=this._fullRequestReader)==null||t.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(t){const n=this._rangeReaders.indexOf(t);n>=0&&this._rangeReaders.splice(n,1)}getFullReader(){bs(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const t=this._queuedChunks;return this._queuedChunks=null,new Nbe(this,t,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(t,n){if(n<=this._progressiveDataLength)return null;const s=new $be(this,t,n);return this._pdfDataRangeTransport.requestDataRange(t,n),this._rangeReaders.push(s),s}cancelAllRequests(t){var n;(n=this._fullRequestReader)==null||n.cancel(t);for(const s of this._rangeReaders.slice(0))s.cancel(t);this._pdfDataRangeTransport.abort()}}class Nbe{constructor(t,n,s=!1,a=null){this._stream=t,this._done=s||!1,this._filename=Q8(a)?a:null,this._queuedChunks=n||[],this._loaded=0;for(const o of this._queuedChunks)this._loaded+=o.byteLength;this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}_enqueue(t){this._done||(this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunks.push(t),this._loaded+=t.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class $be{constructor(t,n,s){this._stream=t,this._begin=n,this._end=s,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(t){if(!this._done){if(this._requests.length===0)this._queuedChunk=t;else{this._requests.shift().resolve({value:t,done:!1});for(const s of this._requests)s.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){const n=this._queuedChunk;return this._queuedChunk=null,{value:n,done:!1}}if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}function Dbe(e){let t=!0,n=s("filename\\*","i").exec(e);if(n){n=n[1];let u=i(n);return u=unescape(u),u=l(u),u=c(u),o(u)}if(n=r(e),n){const u=c(n);return o(u)}if(n=s("filename","i").exec(e),n){n=n[1];let u=i(n);return u=c(u),o(u)}function s(u,d){return new RegExp("(?:^|;)\\s*"+u+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',d)}function a(u,d){if(u){if(!/^[\x00-\xFF]+$/.test(d))return d;try{const h=new TextDecoder(u,{fatal:!0}),p=J1(d);d=h.decode(p),t=!1}catch{}}return d}function o(u){return t&&/[\x80-\xff]/.test(u)&&(u=a("utf-8",u),t&&(u=a("iso-8859-1",u))),u}function r(u){const d=[];let h;const p=s("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;(h=p.exec(u))!==null;){let[,m,g,b]=h;if(m=parseInt(m,10),m in d){if(m===0)break;continue}d[m]=[g,b]}const v=[];for(let m=0;m{if(t._responseOrigin=rb(o.url),!BP(o.status))throw ib(o.status,a);this._reader=o.body.getReader(),this._headersCapability.resolve();const r=o.headers,{allowRangeRequests:i,suggestedLength:l}=DP({responseHeaders:r,isHttp:t.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=i,this._contentLength=l||this._contentLength,this._filename=FP(r),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new yc("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){var s;await this._headersCapability.promise;const{value:t,done:n}=await this._reader.read();return n?{value:t,done:n}:(this._loaded+=t.byteLength,(s=this.onProgress)==null||s.call(this,{loaded:this._loaded,total:this._contentLength}),{value:zP(t),done:!1})}cancel(t){var n;(n=this._reader)==null||n.cancel(t),this._abortController.abort()}}class Bbe{constructor(t,n,s){this._stream=t,this._reader=null,this._loaded=0;const a=t.source;this._withCredentials=a.withCredentials||!1,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!a.disableStream,this._abortController=new AbortController;const o=new Headers(t.headers);o.append("Range",`bytes=${n}-${s-1}`);const r=a.url;fetch(r,VP(o,this._withCredentials,this._abortController)).then(i=>{const l=rb(i.url);if(l!==t._responseOrigin)throw new Error(`Expected range response-origin "${l}" to match "${t._responseOrigin}".`);if(!BP(i.status))throw ib(i.status,r);this._readCapability.resolve(),this._reader=i.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){var s;await this._readCapability.promise;const{value:t,done:n}=await this._reader.read();return n?{value:t,done:n}:(this._loaded+=t.byteLength,(s=this.onProgress)==null||s.call(this,{loaded:this._loaded}),{value:zP(t),done:!1})}cancel(t){var n;(n=this._reader)==null||n.cancel(t),this._abortController.abort()}}const fw=200,hw=206;function Vbe(e){const t=e.response;return typeof t!="string"?t:J1(t).buffer}class zbe{constructor({url:t,httpHeaders:n,withCredentials:s}){zt(this,"_responseOrigin",null);this.url=t,this.isHttp=/^https?:/i.test(t),this.headers=$P(this.isHttp,n),this.withCredentials=s||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}request(t){const n=new XMLHttpRequest,s=this.currXhrId++,a=this.pendingRequests[s]={xhr:n};n.open("GET",this.url),n.withCredentials=this.withCredentials;for(const[o,r]of this.headers)n.setRequestHeader(o,r);return this.isHttp&&"begin"in t&&"end"in t?(n.setRequestHeader("Range",`bytes=${t.begin}-${t.end-1}`),a.expectedStatus=hw):a.expectedStatus=fw,n.responseType="arraybuffer",bs(t.onError,"Expected `onError` callback to be provided."),n.onerror=()=>{t.onError(n.status)},n.onreadystatechange=this.onStateChange.bind(this,s),n.onprogress=this.onProgress.bind(this,s),a.onHeadersReceived=t.onHeadersReceived,a.onDone=t.onDone,a.onError=t.onError,a.onProgress=t.onProgress,n.send(null),s}onProgress(t,n){var a;const s=this.pendingRequests[t];s&&((a=s.onProgress)==null||a.call(s,n))}onStateChange(t,n){const s=this.pendingRequests[t];if(!s)return;const a=s.xhr;if(a.readyState>=2&&s.onHeadersReceived&&(s.onHeadersReceived(),delete s.onHeadersReceived),a.readyState!==4||!(t in this.pendingRequests))return;if(delete this.pendingRequests[t],a.status===0&&this.isHttp){s.onError(a.status);return}const o=a.status||fw;if(!(o===fw&&s.expectedStatus===hw)&&o!==s.expectedStatus){s.onError(a.status);return}const i=Vbe(a);if(o===hw){const l=a.getResponseHeader("Content-Range"),c=/bytes (\d+)-(\d+)\/(\d+)/.exec(l);c?s.onDone({begin:parseInt(c[1],10),chunk:i}):(rn('Missing or invalid "Content-Range" header.'),s.onError(0))}else i?s.onDone({begin:0,chunk:i}):s.onError(a.status)}getRequestXhr(t){return this.pendingRequests[t].xhr}isPendingRequest(t){return t in this.pendingRequests}abortRequest(t){const n=this.pendingRequests[t].xhr;delete this.pendingRequests[t],n.abort()}}class Hbe{constructor(t){this._source=t,this._manager=new zbe(t),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(t){const n=this._rangeRequestReaders.indexOf(t);n>=0&&this._rangeRequestReaders.splice(n,1)}getFullReader(){return bs(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new Wbe(this._manager,this._source),this._fullRequestReader}getRangeReader(t,n){const s=new jbe(this._manager,t,n);return s.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(s),s}cancelAllRequests(t){var n;(n=this._fullRequestReader)==null||n.cancel(t);for(const s of this._rangeRequestReaders.slice(0))s.cancel(t)}}class Wbe{constructor(t,n){this._manager=t,this._url=n.url,this._fullRequestId=t.request({onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)}),this._headersCapability=Promise.withResolvers(),this._disableRange=n.disableRange||!1,this._contentLength=n.length,this._rangeChunkSize=n.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const t=this._fullRequestId,n=this._manager.getRequestXhr(t);this._manager._responseOrigin=rb(n.responseURL);const s=n.getAllResponseHeaders(),a=new Headers(s?s.trimStart().replace(/[^\S ]+$/,"").split(/[\r\n]+/).map(i=>{const[l,...c]=i.split(": ");return[l,c.join(": ")]}):[]),{allowRangeRequests:o,suggestedLength:r}=DP({responseHeaders:a,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});o&&(this._isRangeSupported=!0),this._contentLength=r||this._contentLength,this._filename=FP(a),this._isRangeSupported&&this._manager.abortRequest(t),this._headersCapability.resolve()}_onDone(t){if(t&&(this._requests.length>0?this._requests.shift().resolve({value:t.chunk,done:!1}):this._cachedChunks.push(t.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(t){this._storedError=ib(t,this._url),this._headersCapability.reject(this._storedError);for(const n of this._requests)n.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(t){var n;(n=this.onProgress)==null||n.call(this,{loaded:t.loaded,total:t.lengthComputable?t.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersCapability.promise}async read(){if(await this._headersCapability.promise,this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0,this._headersCapability.reject(t);for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class jbe{constructor(t,n,s){this._manager=t,this._url=t.url,this._requestId=t.request({begin:n,end:s,onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)}),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_onHeadersReceived(){var n;const t=rb((n=this._manager.getRequestXhr(this._requestId))==null?void 0:n.responseURL);t!==this._manager._responseOrigin&&(this._storedError=new Error(`Expected range response-origin "${t}" to match "${this._manager._responseOrigin}".`),this._onError(0))}_close(){var t;(t=this.onClosed)==null||t.call(this,this)}_onDone(t){const n=t.chunk;this._requests.length>0?this._requests.shift().resolve({value:n,done:!1}):this._queuedChunk=n,this._done=!0;for(const s of this._requests)s.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(t){this._storedError??(this._storedError=ib(t,this._url));for(const n of this._requests)n.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(t){var n;this.isStreamingSupported||(n=this.onProgress)==null||n.call(this,{loaded:t.loaded})}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(this._queuedChunk!==null){const n=this._queuedChunk;return this._queuedChunk=null,{value:n,done:!1}}if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}const Kbe=/^[a-z][a-z0-9\-+.]+:/i;function Ube(e){if(Kbe.test(e))return new URL(e);const t=process.getBuiltinModule("url");return new URL(t.pathToFileURL(e))}class qbe{constructor(t){this.source=t,this.url=Ube(t.url),bs(this.url.protocol==="file:","PDFNodeStream only supports file:// URLs."),this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var t;return((t=this._fullRequestReader)==null?void 0:t._loaded)??0}getFullReader(){return bs(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=new Gbe(this),this._fullRequestReader}getRangeReader(t,n){if(n<=this._progressiveDataLength)return null;const s=new Ybe(this,t,n);return this._rangeRequestReaders.push(s),s}cancelAllRequests(t){var n;(n=this._fullRequestReader)==null||n.cancel(t);for(const s of this._rangeRequestReaders.slice(0))s.cancel(t)}}class Gbe{constructor(t){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;const n=t.source;this._contentLength=n.length,this._loaded=0,this._filename=null,this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._headersCapability=Promise.withResolvers();const s=process.getBuiltinModule("fs");s.promises.lstat(this._url).then(a=>{this._contentLength=a.size,this._setReadableStream(s.createReadStream(this._url)),this._headersCapability.resolve()},a=>{a.code==="ENOENT"&&(a=new Cv(`Missing PDF "${this._url}".`)),this._storedError=a,this._headersCapability.reject(a)})}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){var s;if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();return t===null?(this._readCapability=Promise.withResolvers(),this.read()):(this._loaded+=t.length,(s=this.onProgress)==null||s.call(this,{loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(t).buffer,done:!1})}cancel(t){if(!this._readableStream){this._error(t);return}this._readableStream.destroy(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",n=>{this._error(n)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new yc("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class Ybe{constructor(t,n,s){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=Promise.withResolvers();const a=t.source;this._isStreamingSupported=!a.disableStream;const o=process.getBuiltinModule("fs");this._setReadableStream(o.createReadStream(this._url,{start:n,end:s-1}))}get isStreamingSupported(){return this._isStreamingSupported}async read(){var s;if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();return t===null?(this._readCapability=Promise.withResolvers(),this.read()):(this._loaded+=t.length,(s=this.onProgress)==null||s.call(this,{loaded:this._loaded}),{value:new Uint8Array(t).buffer,done:!1})}cancel(t){if(!this._readableStream){this._error(t);return}this._readableStream.destroy(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",n=>{this._error(n)}),this._storedError&&this._readableStream.destroy(this._storedError)}}const Xbe=1e5,eo=30,Jbe=.8,Ts=class Ts{constructor({textContentSource:t,container:n,viewport:s}){se(this,xl);se(this,$c,Promise.withResolvers());se(this,no,null);se(this,pm,!1);se(this,vm,!!((nR=globalThis.FontInspector)!=null&&nR.enabled));se(this,gd,null);se(this,Sl,null);se(this,mm,0);se(this,gm,0);se(this,bd,null);se(this,Dh,null);se(this,Fh,0);se(this,Dc,0);se(this,Bh,Object.create(null));se(this,bm,[]);se(this,Vh,null);se(this,yd,[]);se(this,ym,new WeakMap);se(this,wm,null);var l;if(t instanceof ReadableStream)q(this,Vh,t);else if(typeof t=="object")q(this,Vh,new ReadableStream({start(c){c.enqueue(t),c.close()}}));else throw new Error('No "textContentSource" parameter specified.');q(this,no,q(this,Dh,n)),q(this,Dc,s.scale*(globalThis.devicePixelRatio||1)),q(this,Fh,s.rotation),q(this,Sl,{div:null,properties:null,ctx:null});const{pageWidth:a,pageHeight:o,pageX:r,pageY:i}=s.rawDims;q(this,wm,[1,0,0,-1,-r,i+o]),q(this,gm,a),q(this,mm,o),oe(l=Ts,_o,VR).call(l),Hu(n,s),y(this,$c).promise.finally(()=>{y(Ts,zh).delete(this),q(this,Sl,null),q(this,Bh,null)}).catch(()=>{})}static get fontFamilyMap(){const{isWindows:t,isFirefox:n}=Oa.platform;return dn(this,"fontFamilyMap",new Map([["sans-serif",`${t&&n?"Calibri, ":""}sans-serif`],["monospace",`${t&&n?"Lucida Console, ":""}monospace`]]))}render(){const t=()=>{y(this,bd).read().then(({value:n,done:s})=>{if(s){y(this,$c).resolve();return}y(this,gd)??q(this,gd,n.lang),Object.assign(y(this,Bh),n.styles),oe(this,xl,FR).call(this,n.items),t()},y(this,$c).reject)};return q(this,bd,y(this,Vh).getReader()),y(Ts,zh).add(this),t(),y(this,$c).promise}update({viewport:t,onBefore:n=null}){var o;const s=t.scale*(globalThis.devicePixelRatio||1),a=t.rotation;if(a!==y(this,Fh)&&(n==null||n(),q(this,Fh,a),Hu(y(this,Dh),{rotation:a})),s!==y(this,Dc)){n==null||n(),q(this,Dc,s);const r={div:null,properties:null,ctx:oe(o=Ts,_o,Ub).call(o,y(this,gd))};for(const i of y(this,yd))r.properties=y(this,ym).get(i),r.div=i,oe(this,xl,o_).call(this,r)}}cancel(){var n;const t=new yc("TextLayer task cancelled.");(n=y(this,bd))==null||n.cancel(t).catch(()=>{}),q(this,bd,null),y(this,$c).reject(t)}get textDivs(){return y(this,yd)}get textContentItemsStr(){return y(this,bm)}static cleanup(){if(!(y(this,zh).size>0)){y(this,wd).clear();for(const{canvas:t}of y(this,_d).values())t.remove();y(this,_d).clear()}}};$c=new WeakMap,no=new WeakMap,pm=new WeakMap,vm=new WeakMap,gd=new WeakMap,Sl=new WeakMap,mm=new WeakMap,gm=new WeakMap,bd=new WeakMap,Dh=new WeakMap,Fh=new WeakMap,Dc=new WeakMap,Bh=new WeakMap,bm=new WeakMap,Vh=new WeakMap,yd=new WeakMap,ym=new WeakMap,wm=new WeakMap,wd=new WeakMap,_d=new WeakMap,_m=new WeakMap,Fc=new WeakMap,zh=new WeakMap,xl=new WeakSet,FR=function(t){var a,o;if(y(this,pm))return;(o=y(this,Sl)).ctx??(o.ctx=oe(a=Ts,_o,Ub).call(a,y(this,gd)));const n=y(this,yd),s=y(this,bm);for(const r of t){if(n.length>Xbe){rn("Ignoring additional textDivs for performance reasons."),q(this,pm,!0);return}if(r.str===void 0){if(r.type==="beginMarkedContentProps"||r.type==="beginMarkedContent"){const i=y(this,no);q(this,no,document.createElement("span")),y(this,no).classList.add("markedContent"),r.id!==null&&y(this,no).setAttribute("id",`${r.id}`),i.append(y(this,no))}else r.type==="endMarkedContent"&&q(this,no,y(this,no).parentNode);continue}s.push(r.str),oe(this,xl,BR).call(this,r)}},BR=function(t){var m;const n=document.createElement("span"),s={angle:0,canvasWidth:0,hasText:t.str!=="",hasEOL:t.hasEOL,fontSize:0};y(this,yd).push(n);const a=Nt.transform(y(this,wm),t.transform);let o=Math.atan2(a[1],a[0]);const r=y(this,Bh)[t.fontName];r.vertical&&(o+=Math.PI/2);let i=y(this,vm)&&r.fontSubstitution||r.fontFamily;i=Ts.fontFamilyMap.get(i)||i;const l=Math.hypot(a[2],a[3]),c=l*oe(m=Ts,_o,zR).call(m,i,y(this,gd));let u,d;o===0?(u=a[4],d=a[5]-c):(u=a[4]+c*Math.sin(o),d=a[5]-c*Math.cos(o));const h="calc(var(--scale-factor)*",p=n.style;y(this,no)===y(this,Dh)?(p.left=`${(100*u/y(this,gm)).toFixed(2)}%`,p.top=`${(100*d/y(this,mm)).toFixed(2)}%`):(p.left=`${h}${u.toFixed(2)}px)`,p.top=`${h}${d.toFixed(2)}px)`),p.fontSize=`${h}${(y(Ts,Fc)*l).toFixed(2)}px)`,p.fontFamily=i,s.fontSize=l,n.setAttribute("role","presentation"),n.textContent=t.str,n.dir=t.dir,y(this,vm)&&(n.dataset.fontName=r.fontSubstitutionLoadedName||t.fontName),o!==0&&(s.angle=o*(180/Math.PI));let v=!1;if(t.str.length>1)v=!0;else if(t.str!==" "&&t.transform[0]!==t.transform[3]){const g=Math.abs(t.transform[0]),b=Math.abs(t.transform[3]);g!==b&&Math.max(g,b)/Math.min(g,b)>1.5&&(v=!0)}if(v&&(s.canvasWidth=r.vertical?t.height:t.width),y(this,ym).set(n,s),y(this,Sl).div=n,y(this,Sl).properties=s,oe(this,xl,o_).call(this,y(this,Sl)),s.hasText&&y(this,no).append(n),s.hasEOL){const g=document.createElement("br");g.setAttribute("role","presentation"),y(this,no).append(g)}},o_=function(t){var i;const{div:n,properties:s,ctx:a}=t,{style:o}=n;let r="";if(y(Ts,Fc)>1&&(r=`scale(${1/y(Ts,Fc)})`),s.canvasWidth!==0&&s.hasText){const{fontFamily:l}=o,{canvasWidth:c,fontSize:u}=s;oe(i=Ts,_o,r_).call(i,a,u*y(this,Dc),l);const{width:d}=a.measureText(n.textContent);d>0&&(r=`scaleX(${c*y(this,Dc)/d}) ${r}`)}s.angle!==0&&(r=`rotate(${s.angle}deg) ${r}`),r.length>0&&(o.transform=r)},_o=new WeakSet,Ub=function(t=null){let n=y(this,_d).get(t||(t=""));if(!n){const s=document.createElement("canvas");s.className="hiddenCanvasElement",s.lang=t,document.body.append(s),n=s.getContext("2d",{alpha:!1,willReadFrequently:!0}),y(this,_d).set(t,n),y(this,_m).set(n,{size:0,family:""})}return n},r_=function(t,n,s){const a=y(this,_m).get(t);n===a.size&&s===a.family||(t.font=`${n}px ${s}`,a.size=n,a.family=s)},VR=function(){if(y(this,Fc)!==null)return;const t=document.createElement("div");t.style.opacity=0,t.style.lineHeight=1,t.style.fontSize="1px",t.style.position="absolute",t.textContent="X",document.body.append(t),q(this,Fc,t.getBoundingClientRect().height),t.remove()},zR=function(t,n){const s=y(this,wd).get(t);if(s)return s;const a=oe(this,_o,Ub).call(this,n);a.canvas.width=a.canvas.height=eo,oe(this,_o,r_).call(this,a,eo,t);const o=a.measureText("");let r=o.fontBoundingBoxAscent,i=Math.abs(o.fontBoundingBoxDescent);if(r){const u=r/(r+i);return y(this,wd).set(t,u),a.canvas.width=a.canvas.height=0,u}a.strokeStyle="red",a.clearRect(0,0,eo,eo),a.strokeText("g",0,0);let l=a.getImageData(0,0,eo,eo).data;i=0;for(let u=l.length-1-3;u>=0;u-=4)if(l[u]>0){i=Math.ceil(u/4/eo);break}a.clearRect(0,0,eo,eo),a.strokeText("A",0,eo),l=a.getImageData(0,0,eo,eo).data,r=0;for(let u=0,d=l.length;u0){r=eo-Math.floor(u/4/eo);break}a.canvas.width=a.canvas.height=0;const c=r?r/(r+i):Jbe;return y(this,wd).set(t,c),c},se(Ts,_o),se(Ts,wd,new Map),se(Ts,_d,new Map),se(Ts,_m,new WeakMap),se(Ts,Fc,null),se(Ts,zh,new Set);let Tv=Ts;class Mv{static textContent(t){const n=[],s={items:n,styles:Object.create(null)};function a(o){var l;if(!o)return;let r=null;const i=o.name;if(i==="#text")r=o.value;else if(Mv.shouldBuildText(i))(l=o==null?void 0:o.attributes)!=null&&l.textContent?r=o.attributes.textContent:o.value&&(r=o.value);else return;if(r!==null&&n.push({str:r}),!!o.children)for(const c of o.children)a(c)}return a(t),s}static shouldBuildText(t){return!(t==="textarea"||t==="input"||t==="option"||t==="select")}}const Zbe=65536,Qbe=100,e4e=5e3,t4e=pa?vbe:fbe,n4e=pa?mbe:_P,s4e=pa?pbe:hbe,a4e=pa?gbe:xP;function o4e(e={}){typeof e=="string"||e instanceof URL?e={url:e}:(e instanceof ArrayBuffer||ArrayBuffer.isView(e))&&(e={data:e});const t=new pw,{docId:n}=t,s=e.url?r4e(e.url):null,a=e.data?i4e(e.data):null,o=e.httpHeaders||null,r=e.withCredentials===!0,i=e.password??null,l=e.range instanceof jP?e.range:null,c=Number.isInteger(e.rangeChunkSize)&&e.rangeChunkSize>0?e.rangeChunkSize:Zbe;let u=e.worker instanceof vh?e.worker:null;const d=e.verbosity,h=typeof e.docBaseUrl=="string"&&!Q1(e.docBaseUrl)?e.docBaseUrl:null,p=typeof e.cMapUrl=="string"?e.cMapUrl:null,v=e.cMapPacked!==!1,m=e.CMapReaderFactory||n4e,g=typeof e.standardFontDataUrl=="string"?e.standardFontDataUrl:null,b=e.StandardFontDataFactory||a4e,_=e.stopAtErrors!==!0,w=Number.isInteger(e.maxImageSize)&&e.maxImageSize>-1?e.maxImageSize:-1,C=e.isEvalSupported!==!1,x=typeof e.isOffscreenCanvasSupported=="boolean"?e.isOffscreenCanvasSupported:!pa,E=typeof e.isImageDecoderSupported=="boolean"?e.isImageDecoderSupported:!pa&&(Oa.platform.isFirefox||!globalThis.chrome),T=Number.isInteger(e.canvasMaxAreaInBytes)?e.canvasMaxAreaInBytes:-1,R=typeof e.disableFontFace=="boolean"?e.disableFontFace:pa,I=e.fontExtraProperties===!0,M=e.enableXfa===!0,$=e.ownerDocument||globalThis.document,O=e.disableRange===!0,B=e.disableStream===!0,U=e.disableAutoFetch===!0,J=e.pdfBug===!0,Y=e.CanvasFactory||t4e,N=e.FilterFactory||s4e,L=e.enableHWA===!0,V=l?l.length:e.length??NaN,z=typeof e.useSystemFonts=="boolean"?e.useSystemFonts:!pa&&!R,G=typeof e.useWorkerFetch=="boolean"?e.useWorkerFetch:m===_P&&b===xP&&p&&g&&xv(p,document.baseURI)&&xv(g,document.baseURI),Q=null;j1e(d);const K={canvasFactory:new Y({ownerDocument:$,enableHWA:L}),filterFactory:new N({docId:n,ownerDocument:$}),cMapReaderFactory:G?null:new m({baseUrl:p,isCompressed:v}),standardFontDataFactory:G?null:new b({baseUrl:g})};if(!u){const fe={verbosity:d,port:ul.workerPort};u=fe.port?vh.fromPort(fe):new vh(fe),t._worker=u}const ee={docId:n,apiVersion:"4.10.38",data:a,password:i,disableAutoFetch:U,rangeChunkSize:c,length:V,docBaseUrl:h,enableXfa:M,evaluatorOptions:{maxImageSize:w,disableFontFace:R,ignoreErrors:_,isEvalSupported:C,isOffscreenCanvasSupported:x,isImageDecoderSupported:E,canvasMaxAreaInBytes:T,fontExtraProperties:I,useSystemFonts:z,cMapUrl:G?p:null,standardFontDataUrl:G?g:null}},ae={disableFontFace:R,fontExtraProperties:I,ownerDocument:$,pdfBug:J,styleElement:Q,loadingParams:{disableAutoFetch:U,enableXfa:M}};return u.promise.then(function(){if(t.destroyed)throw new Error("Loading aborted");if(u.destroyed)throw new Error("Worker was destroyed");const fe=u.messageHandler.sendWithPromise("GetDocRequest",ee,a?[a.buffer]:null);let ne;if(l)ne=new Lbe(l,{disableRange:O,disableStream:B});else if(!a){if(!s)throw new Error("getDocument - no `url` parameter provided.");let pe;if(pa)if(xv(s)){if(typeof fetch>"u"||typeof Response>"u"||!("body"in Response.prototype))throw new Error("getDocument - the Fetch API was disabled in Node.js, see `--no-experimental-fetch`.");pe=HP}else pe=qbe;else pe=xv(s)?HP:Hbe;ne=new pe({url:s,length:V,httpHeaders:o,withCredentials:r,rangeChunkSize:c,disableRange:O,disableStream:B})}return fe.then(pe=>{if(t.destroyed)throw new Error("Loading aborted");if(u.destroyed)throw new Error("Worker was destroyed");const he=new kv(n,pe,u.port),ce=new d4e(he,t,ne,ae,K);t._transport=ce,he.send("Ready",null)})}).catch(t._capability.reject),t}function r4e(e){if(e instanceof URL)return e.href;try{return new URL(e,window.location).href}catch{if(pa&&typeof e=="string")return e}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}function i4e(e){if(pa&&typeof Buffer<"u"&&e instanceof Buffer)throw new Error("Please provide binary data as `Uint8Array`, rather than `Buffer`.");if(e instanceof Uint8Array&&e.byteLength===e.buffer.byteLength)return e;if(typeof e=="string")return J1(e);if(e instanceof ArrayBuffer||ArrayBuffer.isView(e)||typeof e=="object"&&!isNaN(e==null?void 0:e.length))return new Uint8Array(e);throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}function WP(e){return typeof e=="object"&&Number.isInteger(e==null?void 0:e.num)&&e.num>=0&&Number.isInteger(e==null?void 0:e.gen)&&e.gen>=0}const Sb=class Sb{constructor(){this._capability=Promise.withResolvers(),this._transport=null,this._worker=null,this.docId=`d${za(Sb,Cb)._++}`,this.destroyed=!1,this.onPassword=null,this.onProgress=null}get promise(){return this._capability.promise}async destroy(){var t,n,s,a;this.destroyed=!0;try{(t=this._worker)!=null&&t.port&&(this._worker._pendingDestroy=!0),await((n=this._transport)==null?void 0:n.destroy())}catch(o){throw(s=this._worker)!=null&&s.port&&delete this._worker._pendingDestroy,o}this._transport=null,(a=this._worker)==null||a.destroy(),this._worker=null}};Cb=new WeakMap,se(Sb,Cb,0);let pw=Sb;class jP{constructor(t,n,s=!1,a=null){this.length=t,this.initialData=n,this.progressiveDone=s,this.contentDispositionFilename=a,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=Promise.withResolvers()}addRangeListener(t){this._rangeListeners.push(t)}addProgressListener(t){this._progressListeners.push(t)}addProgressiveReadListener(t){this._progressiveReadListeners.push(t)}addProgressiveDoneListener(t){this._progressiveDoneListeners.push(t)}onDataRange(t,n){for(const s of this._rangeListeners)s(t,n)}onDataProgress(t,n){this._readyCapability.promise.then(()=>{for(const s of this._progressListeners)s(t,n)})}onDataProgressiveRead(t){this._readyCapability.promise.then(()=>{for(const n of this._progressiveReadListeners)n(t)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const t of this._progressiveDoneListeners)t()})}transportReady(){this._readyCapability.resolve()}requestDataRange(t,n){Bn("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}class l4e{constructor(t,n){this._pdfInfo=t,this._transport=n}get annotationStorage(){return this._transport.annotationStorage}get canvasFactory(){return this._transport.canvasFactory}get filterFactory(){return this._transport.filterFactory}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get isPureXfa(){return dn(this,"isPureXfa",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(t){return this._transport.getPage(t)}getPageIndex(t){return this._transport.getPageIndex(t)}getDestinations(){return this._transport.getDestinations()}getDestination(t){return this._transport.getDestination(t)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig({intent:t="display"}={}){const{renderingIntent:n}=this._transport.getRenderingIntent(t);return this._transport.getOptionalContentConfig(n)}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}saveDocument(){return this._transport.saveDocument()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(t=!1){return this._transport.startCleanup(t||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}cachedPageNumber(t){return this._transport.cachedPageNumber(t)}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}class c4e{constructor(t,n,s,a=!1){se(this,qo);se(this,Bc,null);se(this,El,!1);this._pageIndex=t,this._pageInfo=n,this._transport=s,this._stats=a?new pP:null,this._pdfBug=a,this.commonObjs=s.commonObjs,this.objs=new KP,this._maybeCleanupAfterRender=!1,this._intentStates=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:t,rotation:n=this.rotate,offsetX:s=0,offsetY:a=0,dontFlip:o=!1}={}){return new Sv({viewBox:this.view,userUnit:this.userUnit,scale:t,rotation:n,offsetX:s,offsetY:a,dontFlip:o})}getAnnotations({intent:t="display"}={}){const{renderingIntent:n}=this._transport.getRenderingIntent(t);return this._transport.getAnnotations(this._pageIndex,n)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return dn(this,"isPureXfa",!!this._transport._htmlForXfa)}async getXfa(){var t;return((t=this._transport._htmlForXfa)==null?void 0:t.children[this._pageIndex])||null}render({canvasContext:t,viewport:n,intent:s="display",annotationMode:a=gc.ENABLE,transform:o=null,background:r=null,optionalContentConfigPromise:i=null,annotationCanvasMap:l=null,pageColors:c=null,printAnnotationStorage:u=null,isEditing:d=!1}){var C,x;(C=this._stats)==null||C.time("Overall");const h=this._transport.getRenderingIntent(s,a,u,d),{renderingIntent:p,cacheKey:v}=h;q(this,El,!1),oe(this,qo,qb).call(this),i||(i=this._transport.getOptionalContentConfig(p));let m=this._intentStates.get(v);m||(m=Object.create(null),this._intentStates.set(v,m)),m.streamReaderCancelTimeout&&(clearTimeout(m.streamReaderCancelTimeout),m.streamReaderCancelTimeout=null);const g=!!(p&mo.PRINT);m.displayReadyCapability||(m.displayReadyCapability=Promise.withResolvers(),m.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},(x=this._stats)==null||x.time("Page Request"),this._pumpOperatorList(h));const b=E=>{var T;m.renderTasks.delete(_),(this._maybeCleanupAfterRender||g)&&q(this,El,!0),oe(this,qo,A0).call(this,!g),E?(_.capability.reject(E),this._abortOperatorList({intentState:m,reason:E instanceof Error?E:new Error(E)})):_.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"),(T=globalThis.Stats)!=null&&T.enabled&&globalThis.Stats.add(this.pageNumber,this._stats))},_=new vw({callback:b,params:{canvasContext:t,viewport:n,transform:o,background:r},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:l,operatorList:m.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!g,pdfBug:this._pdfBug,pageColors:c});(m.renderTasks||(m.renderTasks=new Set)).add(_);const w=_.task;return Promise.all([m.displayReadyCapability.promise,i]).then(([E,T])=>{var R;if(this.destroyed){b();return}if((R=this._stats)==null||R.time("Rendering"),!(T.renderingIntent&p))throw new Error("Must use the same `intent`-argument when calling the `PDFPageProxy.render` and `PDFDocumentProxy.getOptionalContentConfig` methods.");_.initializeGraphics({transparency:E,optionalContentConfig:T}),_.operatorListChanged()}).catch(b),w}getOperatorList({intent:t="display",annotationMode:n=gc.ENABLE,printAnnotationStorage:s=null,isEditing:a=!1}={}){var c;function o(){i.operatorList.lastChunk&&(i.opListReadCapability.resolve(i.operatorList),i.renderTasks.delete(l))}const r=this._transport.getRenderingIntent(t,n,s,a,!0);let i=this._intentStates.get(r.cacheKey);i||(i=Object.create(null),this._intentStates.set(r.cacheKey,i));let l;return i.opListReadCapability||(l=Object.create(null),l.operatorListChanged=o,i.opListReadCapability=Promise.withResolvers(),(i.renderTasks||(i.renderTasks=new Set)).add(l),i.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},(c=this._stats)==null||c.time("Page Request"),this._pumpOperatorList(r)),i.opListReadCapability.promise}streamTextContent({includeMarkedContent:t=!1,disableNormalization:n=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:t===!0,disableNormalization:n===!0},{highWaterMark:100,size(a){return a.items.length}})}getTextContent(t={}){if(this._transport._htmlForXfa)return this.getXfa().then(s=>Mv.textContent(s));const n=this.streamTextContent(t);return new Promise(function(s,a){function o(){r.read().then(function({value:l,done:c}){if(c){s(i);return}i.lang??(i.lang=l.lang),Object.assign(i.styles,l.styles),i.items.push(...l.items),o()},a)}const r=n.getReader(),i={items:[],styles:Object.create(null),lang:null};o()})}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const t=[];for(const n of this._intentStates.values())if(this._abortOperatorList({intentState:n,reason:new Error("Page was destroyed."),force:!0}),!n.opListReadCapability)for(const s of n.renderTasks)t.push(s.completed),s.cancel();return this.objs.clear(),q(this,El,!1),oe(this,qo,qb).call(this),Promise.all(t)}cleanup(t=!1){q(this,El,!0);const n=oe(this,qo,A0).call(this,!1);return t&&n&&this._stats&&(this._stats=new pP),n}_startRenderPage(t,n){var a,o;const s=this._intentStates.get(n);s&&((a=this._stats)==null||a.timeEnd("Page Request"),(o=s.displayReadyCapability)==null||o.resolve(t))}_renderPageChunk(t,n){for(let s=0,a=t.length;s{l.read().then(({value:d,done:h})=>{if(h){c.streamReader=null;return}this._transport.destroyed||(this._renderPageChunk(d,c),u())},d=>{if(c.streamReader=null,!this._transport.destroyed){if(c.operatorList){c.operatorList.lastChunk=!0;for(const h of c.renderTasks)h.operatorListChanged();oe(this,qo,A0).call(this,!0)}if(c.displayReadyCapability)c.displayReadyCapability.reject(d);else if(c.opListReadCapability)c.opListReadCapability.reject(d);else throw d}})};u()}_abortOperatorList({intentState:t,reason:n,force:s=!1}){if(t.streamReader){if(t.streamReaderCancelTimeout&&(clearTimeout(t.streamReaderCancelTimeout),t.streamReaderCancelTimeout=null),!s){if(t.renderTasks.size>0)return;if(n instanceof Z8){let a=Qbe;n.extraDelay>0&&n.extraDelay<1e3&&(a+=n.extraDelay),t.streamReaderCancelTimeout=setTimeout(()=>{t.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:t,reason:n,force:!0})},a);return}}if(t.streamReader.cancel(new yc(n.message)).catch(()=>{}),t.streamReader=null,!this._transport.destroyed){for(const[a,o]of this._intentStates)if(o===t){this._intentStates.delete(a);break}this.cleanup()}}}get stats(){return this._stats}}Bc=new WeakMap,El=new WeakMap,qo=new WeakSet,A0=function(t=!1){if(oe(this,qo,qb).call(this),!y(this,El)||this.destroyed)return!1;if(t)return q(this,Bc,setTimeout(()=>{q(this,Bc,null),oe(this,qo,A0).call(this,!1)},e4e)),!1;for(const{renderTasks:n,operatorList:s}of this._intentStates.values())if(n.size>0||!s.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),q(this,El,!1),!0},qb=function(){y(this,Bc)&&(clearTimeout(y(this,Bc)),q(this,Bc,null))};class u4e{constructor(){se(this,kl,new Map);se(this,xb,Promise.resolve())}postMessage(t,n){const s={data:structuredClone(t,n?{transfer:n}:null)};y(this,xb).then(()=>{for(const[a]of y(this,kl))a.call(this,s)})}addEventListener(t,n,s=null){let a=null;if((s==null?void 0:s.signal)instanceof AbortSignal){const{signal:o}=s;if(o.aborted){rn("LoopbackPort - cannot use an `aborted` signal.");return}const r=()=>this.removeEventListener(t,n);a=()=>o.removeEventListener("abort",r),o.addEventListener("abort",r)}y(this,kl).set(n,a)}removeEventListener(t,n){const s=y(this,kl).get(n);s==null||s(),y(this,kl).delete(n)}terminate(){for(const[,t]of y(this,kl))t==null||t();y(this,kl).clear()}}kl=new WeakMap,xb=new WeakMap;const Zn=class Zn{constructor({name:t=null,port:n=null,verbosity:s=K1e()}={}){se(this,Hh);var a;if(this.name=t,this.destroyed=!1,this.verbosity=s,this._readyCapability=Promise.withResolvers(),this._port=null,this._webWorker=null,this._messageHandler=null,n){if((a=y(Zn,Sd))!=null&&a.has(n))throw new Error("Cannot use more than one PDFWorker per port.");(y(Zn,Sd)||q(Zn,Sd,new WeakMap)).set(n,this),this._initializeFromPort(n);return}this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(t){this._port=t,this._messageHandler=new kv("main","worker",t),this._messageHandler.on("ready",function(){}),oe(this,Hh,Gb).call(this)}_initialize(){if(y(Zn,Cd)||y(Zn,Wh,Yb)){this._setupFakeWorker();return}let{workerSrc:t}=Zn;try{Zn._isSameOrigin(window.location.href,t)||(t=Zn._createCDNWrapper(new URL(t,window.location).href));const n=new Worker(t,{type:"module"}),s=new kv("main","worker",n),a=()=>{o.abort(),s.destroy(),n.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},o=new AbortController;n.addEventListener("error",()=>{this._webWorker||a()},{signal:o.signal}),s.on("test",i=>{if(o.abort(),this.destroyed||!i){a();return}this._messageHandler=s,this._port=n,this._webWorker=n,oe(this,Hh,Gb).call(this)}),s.on("ready",i=>{if(o.abort(),this.destroyed){a();return}try{r()}catch{this._setupFakeWorker()}});const r=()=>{const i=new Uint8Array;s.send("test",i,[i.buffer])};r();return}catch{Y1("The worker has been disabled.")}this._setupFakeWorker()}_setupFakeWorker(){y(Zn,Cd)||(rn("Setting up fake worker."),q(Zn,Cd,!0)),Zn._setupFakeWorkerGlobal.then(t=>{if(this.destroyed){this._readyCapability.reject(new Error("Worker was destroyed"));return}const n=new u4e;this._port=n;const s=`fake${za(Zn,Eb)._++}`,a=new kv(s+"_worker",s,n);t.setup(a,n),this._messageHandler=new kv(s,s+"_worker",n),oe(this,Hh,Gb).call(this)}).catch(t=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${t.message}".`))})}destroy(){var t,n,s;this.destroyed=!0,(t=this._webWorker)==null||t.terminate(),this._webWorker=null,(n=y(Zn,Sd))==null||n.delete(this._port),this._port=null,(s=this._messageHandler)==null||s.destroy(),this._messageHandler=null}static fromPort(t){var s;if(!(t!=null&&t.port))throw new Error("PDFWorker.fromPort - invalid method signature.");const n=(s=y(this,Sd))==null?void 0:s.get(t.port);if(n){if(n._pendingDestroy)throw new Error("PDFWorker.fromPort - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return n}return new Zn(t)}static get workerSrc(){if(ul.workerSrc)return ul.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _setupFakeWorkerGlobal(){return dn(this,"_setupFakeWorkerGlobal",(async()=>y(this,Wh,Yb)?y(this,Wh,Yb):(await import(this.workerSrc)).WorkerMessageHandler)())}};Eb=new WeakMap,Cd=new WeakMap,Sd=new WeakMap,Hh=new WeakSet,Gb=function(){this._readyCapability.resolve(),this._messageHandler.send("configure",{verbosity:this.verbosity})},Wh=new WeakSet,Yb=function(){var t;try{return((t=globalThis.pdfjsWorker)==null?void 0:t.WorkerMessageHandler)||null}catch{return null}},se(Zn,Wh),se(Zn,Eb,0),se(Zn,Cd,!1),se(Zn,Sd),pa&&(q(Zn,Cd,!0),ul.workerSrc||(ul.workerSrc="./pdf.worker.mjs")),Zn._isSameOrigin=(t,n)=>{let s;try{if(s=new URL(t),!s.origin||s.origin==="null")return!1}catch{return!1}const a=new URL(n,s);return s.origin===a.origin},Zn._createCDNWrapper=t=>{const n=`await import("${t}");`;return URL.createObjectURL(new Blob([n],{type:"text/javascript"}))};let vh=Zn;class d4e{constructor(t,n,s,a,o){se(this,xd);se(this,Al,new Map);se(this,_i,new Map);se(this,jh,new Map);se(this,Kh,new Map);se(this,Tl,null);this.messageHandler=t,this.loadingTask=n,this.commonObjs=new KP,this.fontLoader=new ube({ownerDocument:a.ownerDocument,styleElement:a.styleElement}),this.loadingParams=a.loadingParams,this._params=a,this.canvasFactory=o.canvasFactory,this.filterFactory=o.filterFactory,this.cMapReaderFactory=o.cMapReaderFactory,this.standardFontDataFactory=o.standardFontDataFactory,this.destroyed=!1,this.destroyCapability=null,this._networkStream=s,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=Promise.withResolvers(),this.setupMessageHandler()}get annotationStorage(){return dn(this,"annotationStorage",new iw)}getRenderingIntent(t,n=gc.ENABLE,s=null,a=!1,o=!1){let r=mo.DISPLAY,i=rw;switch(t){case"any":r=mo.ANY;break;case"display":break;case"print":r=mo.PRINT;break;default:rn(`getRenderingIntent - invalid intent: ${t}`)}const l=r&mo.PRINT&&s instanceof gP?s:this.annotationStorage;switch(n){case gc.DISABLE:r+=mo.ANNOTATIONS_DISABLE;break;case gc.ENABLE:break;case gc.ENABLE_FORMS:r+=mo.ANNOTATIONS_FORMS;break;case gc.ENABLE_STORAGE:r+=mo.ANNOTATIONS_STORAGE,i=l.serializable;break;default:rn(`getRenderingIntent - invalid annotationMode: ${n}`)}a&&(r+=mo.IS_EDITING),o&&(r+=mo.OPLIST);const{ids:c,hash:u}=l.modifiedIds,d=[r,i.hash,u];return{renderingIntent:r,cacheKey:d.join("_"),annotationStorageSerializable:i,modifiedIds:c}}destroy(){var s;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),(s=y(this,Tl))==null||s.reject(new Error("Worker was destroyed during onPassword callback"));const t=[];for(const a of y(this,_i).values())t.push(a._destroy());y(this,_i).clear(),y(this,jh).clear(),y(this,Kh).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const n=this.messageHandler.sendWithPromise("Terminate",null);return t.push(n),Promise.all(t).then(()=>{var a,o;this.commonObjs.clear(),this.fontLoader.clear(),y(this,Al).clear(),this.filterFactory.destroy(),Tv.cleanup(),(a=this._networkStream)==null||a.cancelAllRequests(new yc("Worker was terminated.")),(o=this.messageHandler)==null||o.destroy(),this.messageHandler=null,this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:t,loadingTask:n}=this;t.on("GetReader",(s,a)=>{bs(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=o=>{this._lastProgress={loaded:o.loaded,total:o.total}},a.onPull=()=>{this._fullReader.read().then(function({value:o,done:r}){if(r){a.close();return}bs(o instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),a.enqueue(new Uint8Array(o),1,[o])}).catch(o=>{a.error(o)})},a.onCancel=o=>{this._fullReader.cancel(o),a.ready.catch(r=>{if(!this.destroyed)throw r})}}),t.on("ReaderHeadersReady",async s=>{var i;await this._fullReader.headersReady;const{isStreamingSupported:a,isRangeSupported:o,contentLength:r}=this._fullReader;return(!a||!o)&&(this._lastProgress&&((i=n.onProgress)==null||i.call(n,this._lastProgress)),this._fullReader.onProgress=l=>{var c;(c=n.onProgress)==null||c.call(n,{loaded:l.loaded,total:l.total})}),{isStreamingSupported:a,isRangeSupported:o,contentLength:r}}),t.on("GetRangeReader",(s,a)=>{bs(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const o=this._networkStream.getRangeReader(s.begin,s.end);if(!o){a.close();return}a.onPull=()=>{o.read().then(function({value:r,done:i}){if(i){a.close();return}bs(r instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),a.enqueue(new Uint8Array(r),1,[r])}).catch(r=>{a.error(r)})},a.onCancel=r=>{o.cancel(r),a.ready.catch(i=>{if(!this.destroyed)throw i})}}),t.on("GetDoc",({pdfInfo:s})=>{this._numPages=s.numPages,this._htmlForXfa=s.htmlForXfa,delete s.htmlForXfa,n._capability.resolve(new l4e(s,this))}),t.on("DocException",s=>{n._capability.reject(Za(s))}),t.on("PasswordRequest",s=>{q(this,Tl,Promise.withResolvers());try{if(!n.onPassword)throw Za(s);const a=o=>{o instanceof Error?y(this,Tl).reject(o):y(this,Tl).resolve({password:o})};n.onPassword(a,s.code)}catch(a){y(this,Tl).reject(a)}return y(this,Tl).promise}),t.on("DataLoaded",s=>{var a;(a=n.onProgress)==null||a.call(n,{loaded:s.length,total:s.length}),this.downloadInfoCapability.resolve(s)}),t.on("StartRenderPage",s=>{if(this.destroyed)return;y(this,_i).get(s.pageIndex)._startRenderPage(s.transparency,s.cacheKey)}),t.on("commonobj",([s,a,o])=>{var r;if(this.destroyed||this.commonObjs.has(s))return null;switch(a){case"Font":const{disableFontFace:i,fontExtraProperties:l,pdfBug:c}=this._params;if("error"in o){const p=o.error;rn(`Error during font loading: ${p}`),this.commonObjs.resolve(s,p);break}const u=c&&((r=globalThis.FontInspector)!=null&&r.enabled)?(p,v)=>globalThis.FontInspector.fontAdded(p,v):null,d=new dbe(o,{disableFontFace:i,fontExtraProperties:l,inspectFont:u});this.fontLoader.bind(d).catch(()=>t.sendWithPromise("FontFallback",{id:s})).finally(()=>{!l&&d.data&&(d.data=null),this.commonObjs.resolve(s,d)});break;case"CopyLocalImage":const{imageRef:h}=o;bs(h,"The imageRef must be defined.");for(const p of y(this,_i).values())for(const[,v]of p.objs)if((v==null?void 0:v.ref)===h)return v.dataLen?(this.commonObjs.resolve(s,structuredClone(v)),v.dataLen):null;break;case"FontPath":case"Image":case"Pattern":this.commonObjs.resolve(s,o);break;default:throw new Error(`Got unknown common object type ${a}`)}return null}),t.on("obj",([s,a,o,r])=>{var l;if(this.destroyed)return;const i=y(this,_i).get(a);if(!i.objs.has(s)){if(i._intentStates.size===0){(l=r==null?void 0:r.bitmap)==null||l.close();return}switch(o){case"Image":i.objs.resolve(s,r),(r==null?void 0:r.dataLen)>V1e&&(i._maybeCleanupAfterRender=!0);break;case"Pattern":i.objs.resolve(s,r);break;default:throw new Error(`Got unknown object type ${o}`)}}}),t.on("DocProgress",s=>{var a;this.destroyed||(a=n.onProgress)==null||a.call(n,{loaded:s.loaded,total:s.total})}),t.on("FetchBuiltInCMap",async s=>{if(this.destroyed)throw new Error("Worker was destroyed.");if(!this.cMapReaderFactory)throw new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter.");return this.cMapReaderFactory.fetch(s)}),t.on("FetchStandardFontData",async s=>{if(this.destroyed)throw new Error("Worker was destroyed.");if(!this.standardFontDataFactory)throw new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.");return this.standardFontDataFactory.fetch(s)})}getData(){return this.messageHandler.sendWithPromise("GetData",null)}saveDocument(){var s;this.annotationStorage.size<=0&&rn("saveDocument called while `annotationStorage` is empty, please use the getData-method instead.");const{map:t,transfer:n}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:t,filename:((s=this._fullReader)==null?void 0:s.filename)??null},n).finally(()=>{this.annotationStorage.resetModified()})}getPage(t){if(!Number.isInteger(t)||t<=0||t>this._numPages)return Promise.reject(new Error("Invalid page request."));const n=t-1,s=y(this,jh).get(n);if(s)return s;const a=this.messageHandler.sendWithPromise("GetPage",{pageIndex:n}).then(o=>{if(this.destroyed)throw new Error("Transport destroyed");o.refStr&&y(this,Kh).set(o.refStr,t);const r=new c4e(n,o,this,this._params.pdfBug);return y(this,_i).set(n,r),r});return y(this,jh).set(n,a),a}getPageIndex(t){return WP(t)?this.messageHandler.sendWithPromise("GetPageIndex",{num:t.num,gen:t.gen}):Promise.reject(new Error("Invalid pageIndex request."))}getAnnotations(t,n){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:t,intent:n})}getFieldObjects(){return oe(this,xd,h2).call(this,"GetFieldObjects")}hasJSActions(){return oe(this,xd,h2).call(this,"HasJSActions")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(t){return typeof t!="string"?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:t})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getDocJSActions(){return oe(this,xd,h2).call(this,"GetDocJSActions")}getPageJSActions(t){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:t})}getStructTree(t){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:t})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(t){return oe(this,xd,h2).call(this,"GetOptionalContentConfig").then(n=>new Obe(n,t))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){const t="GetMetadata",n=y(this,Al).get(t);if(n)return n;const s=this.messageHandler.sendWithPromise(t,null).then(a=>{var o,r;return{info:a[0],metadata:a[1]?new Rbe(a[1]):null,contentDispositionFilename:((o=this._fullReader)==null?void 0:o.filename)??null,contentLength:((r=this._fullReader)==null?void 0:r.contentLength)??null}});return y(this,Al).set(t,s),s}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(t=!1){if(!this.destroyed){await this.messageHandler.sendWithPromise("Cleanup",null);for(const n of y(this,_i).values())if(!n.cleanup())throw new Error(`startCleanup: Page ${n.pageNumber} is currently rendering.`);this.commonObjs.clear(),t||this.fontLoader.clear(),y(this,Al).clear(),this.filterFactory.destroy(!0),Tv.cleanup()}}cachedPageNumber(t){if(!WP(t))return null;const n=t.gen===0?`${t.num}R`:`${t.num}R${t.gen}`;return y(this,Kh).get(n)??null}}Al=new WeakMap,_i=new WeakMap,jh=new WeakMap,Kh=new WeakMap,Tl=new WeakMap,xd=new WeakSet,h2=function(t,n=null){const s=y(this,Al).get(t);if(s)return s;const a=this.messageHandler.sendWithPromise(t,n);return y(this,Al).set(t,a),a};const Pv=Symbol("INITIAL_DATA");class KP{constructor(){se(this,Cm);se(this,Co,Object.create(null))}get(t,n=null){if(n){const a=oe(this,Cm,i_).call(this,t);return a.promise.then(()=>n(a.data)),null}const s=y(this,Co)[t];if(!s||s.data===Pv)throw new Error(`Requesting object that isn't resolved yet ${t}.`);return s.data}has(t){const n=y(this,Co)[t];return!!n&&n.data!==Pv}delete(t){const n=y(this,Co)[t];return!n||n.data===Pv?!1:(delete y(this,Co)[t],!0)}resolve(t,n=null){const s=oe(this,Cm,i_).call(this,t);s.data=n,s.resolve()}clear(){var t;for(const n in y(this,Co)){const{data:s}=y(this,Co)[n];(t=s==null?void 0:s.bitmap)==null||t.close()}q(this,Co,Object.create(null))}*[Symbol.iterator](){for(const t in y(this,Co)){const{data:n}=y(this,Co)[t];n!==Pv&&(yield[t,n])}}}Co=new WeakMap,Cm=new WeakSet,i_=function(t){var n;return(n=y(this,Co))[t]||(n[t]={...Promise.withResolvers(),data:Pv})};class f4e{constructor(t){se(this,Vc,null);q(this,Vc,t),this.onContinue=null}get promise(){return y(this,Vc).capability.promise}cancel(t=0){y(this,Vc).cancel(null,t)}get separateAnnots(){const{separateAnnots:t}=y(this,Vc).operatorList;if(!t)return!1;const{annotationCanvasMap:n}=y(this,Vc);return t.form||t.canvas&&(n==null?void 0:n.size)>0}}Vc=new WeakMap;const kd=class kd{constructor({callback:t,params:n,objs:s,commonObjs:a,annotationCanvasMap:o,operatorList:r,pageIndex:i,canvasFactory:l,filterFactory:c,useRequestAnimationFrame:u=!1,pdfBug:d=!1,pageColors:h=null}){se(this,zc,null);this.callback=t,this.params=n,this.objs=s,this.commonObjs=a,this.annotationCanvasMap=o,this.operatorListIdx=null,this.operatorList=r,this._pageIndex=i,this.canvasFactory=l,this.filterFactory=c,this._pdfBug=d,this.pageColors=h,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=u===!0&&typeof window<"u",this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new f4e(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=n.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:t=!1,optionalContentConfig:n}){var i,l;if(this.cancelled)return;if(this._canvas){if(y(kd,Ed).has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");y(kd,Ed).add(this._canvas)}this._pdfBug&&((i=globalThis.StepperManager)!=null&&i.enabled)&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:s,viewport:a,transform:o,background:r}=this.params;this.gfx=new hh(s,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:n},this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:o,viewport:a,transparency:t,background:r}),this.operatorListIdx=0,this.graphicsReady=!0,(l=this.graphicsReadyCallback)==null||l.call(this)}cancel(t=null,n=0){var s;this.running=!1,this.cancelled=!0,(s=this.gfx)==null||s.endDrawing(),y(this,zc)&&(window.cancelAnimationFrame(y(this,zc)),q(this,zc,null)),y(kd,Ed).delete(this._canvas),this.callback(t||new Z8(`Rendering cancelled, page ${this._pageIndex+1}`,n))}operatorListChanged(){var t;if(!this.graphicsReady){this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound);return}(t=this.stepper)==null||t.updateOperatorList(this.operatorList),!this.running&&this._continue()}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?q(this,zc,window.requestAnimationFrame(()=>{q(this,zc,null),this._nextBound().catch(this._cancelBound)})):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),y(kd,Ed).delete(this._canvas),this.callback())))}};zc=new WeakMap,Ed=new WeakMap,se(kd,Ed,new WeakSet);let vw=kd;const h4e="4.10.38",p4e="f9bea397f";function UP(e){return Math.floor(Math.max(0,Math.min(1,e))*255).toString(16).padStart(2,"0")}function Rv(e){return Math.max(0,Math.min(255,255*e))}class qP{static CMYK_G([t,n,s,a]){return["G",1-Math.min(1,.3*t+.59*s+.11*n+a)]}static G_CMYK([t]){return["CMYK",0,0,0,1-t]}static G_RGB([t]){return["RGB",t,t,t]}static G_rgb([t]){return t=Rv(t),[t,t,t]}static G_HTML([t]){const n=UP(t);return`#${n}${n}${n}`}static RGB_G([t,n,s]){return["G",.3*t+.59*n+.11*s]}static RGB_rgb(t){return t.map(Rv)}static RGB_HTML(t){return`#${t.map(UP).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB([t,n,s,a]){return["RGB",1-Math.min(1,t+a),1-Math.min(1,s+a),1-Math.min(1,n+a)]}static CMYK_rgb([t,n,s,a]){return[Rv(1-Math.min(1,t+a)),Rv(1-Math.min(1,s+a)),Rv(1-Math.min(1,n+a))]}static CMYK_HTML(t){const n=this.CMYK_RGB(t).slice(1);return this.RGB_HTML(n)}static RGB_CMYK([t,n,s]){const a=1-t,o=1-n,r=1-s,i=Math.min(a,o,r);return["CMYK",a,o,r,i]}}class v4e{create(t,n,s=!1){if(t<=0||n<=0)throw new Error("Invalid SVG dimensions");const a=this._createSVG("svg:svg");return a.setAttribute("version","1.1"),s||(a.setAttribute("width",`${t}px`),a.setAttribute("height",`${n}px`)),a.setAttribute("preserveAspectRatio","none"),a.setAttribute("viewBox",`0 0 ${t} ${n}`),a}createElement(t){if(typeof t!="string")throw new Error("Invalid SVG element type");return this._createSVG(t)}_createSVG(t){Bn("Abstract method `_createSVG` called.")}}class mw extends v4e{_createSVG(t){return document.createElementNS(cl,t)}}class GP{static setupStorage(t,n,s,a,o){const r=a.getValue(n,{value:null});switch(s.name){case"textarea":if(r.value!==null&&(t.textContent=r.value),o==="print")break;t.addEventListener("input",i=>{a.setValue(n,{value:i.target.value})});break;case"input":if(s.attributes.type==="radio"||s.attributes.type==="checkbox"){if(r.value===s.attributes.xfaOn?t.setAttribute("checked",!0):r.value===s.attributes.xfaOff&&t.removeAttribute("checked"),o==="print")break;t.addEventListener("change",i=>{a.setValue(n,{value:i.target.checked?i.target.getAttribute("xfaOn"):i.target.getAttribute("xfaOff")})})}else{if(r.value!==null&&t.setAttribute("value",r.value),o==="print")break;t.addEventListener("input",i=>{a.setValue(n,{value:i.target.value})})}break;case"select":if(r.value!==null){t.setAttribute("value",r.value);for(const i of s.children)i.attributes.value===r.value?i.attributes.selected=!0:i.attributes.hasOwnProperty("selected")&&delete i.attributes.selected}t.addEventListener("input",i=>{const l=i.target.options,c=l.selectedIndex===-1?"":l[l.selectedIndex].value;a.setValue(n,{value:c})});break}}static setAttributes({html:t,element:n,storage:s=null,intent:a,linkService:o}){const{attributes:r}=n,i=t instanceof HTMLAnchorElement;r.type==="radio"&&(r.name=`${r.name}-${a}`);for(const[l,c]of Object.entries(r))if(c!=null)switch(l){case"class":c.length&&t.setAttribute(l,c.join(" "));break;case"dataId":break;case"id":t.setAttribute("data-element-id",c);break;case"style":Object.assign(t.style,c);break;case"textContent":t.textContent=c;break;default:(!i||l!=="href"&&l!=="newWindow")&&t.setAttribute(l,c)}i&&o.addLinkAttributes(t,r.href,r.newWindow),s&&r.dataId&&this.setupStorage(t,r.dataId,n,s)}static render(t){var d,h;const n=t.annotationStorage,s=t.linkService,a=t.xfaHtml,o=t.intent||"display",r=document.createElement(a.name);a.attributes&&this.setAttributes({html:r,element:a,intent:o,linkService:s});const i=o!=="richText",l=t.div;if(l.append(r),t.viewport){const p=`matrix(${t.viewport.transform.join(",")})`;l.style.transform=p}i&&l.setAttribute("class","xfaLayer xfaFont");const c=[];if(a.children.length===0){if(a.value){const p=document.createTextNode(a.value);r.append(p),i&&Mv.shouldBuildText(a.name)&&c.push(p)}return{textDivs:c}}const u=[[a,-1,r]];for(;u.length>0;){const[p,v,m]=u.at(-1);if(v+1===p.children.length){u.pop();continue}const g=p.children[++u.at(-1)[1]];if(g===null)continue;const{name:b}=g;if(b==="#text"){const w=document.createTextNode(g.value);c.push(w),m.append(w);continue}const _=(d=g==null?void 0:g.attributes)!=null&&d.xmlns?document.createElementNS(g.attributes.xmlns,b):document.createElement(b);if(m.append(_),g.attributes&&this.setAttributes({html:_,element:g,storage:n,intent:o,linkService:s}),((h=g.children)==null?void 0:h.length)>0)u.push([g,-1,_]);else if(g.value){const w=document.createTextNode(g.value);i&&Mv.shouldBuildText(b)&&c.push(w),_.append(w)}}for(const p of l.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))p.setAttribute("readOnly",!0);return{textDivs:c}}static update(t){const n=`matrix(${t.viewport.transform.join(",")})`;t.div.style.transform=n,t.div.hidden=!1}}const Iv=1e3,m4e=9,ju=new WeakSet;function _c(e){return{width:e[2]-e[0],height:e[3]-e[1]}}class g4e{static create(t){switch(t.data.annotationType){case ks.LINK:return new YP(t);case ks.TEXT:return new b4e(t);case ks.WIDGET:switch(t.data.fieldType){case"Tx":return new y4e(t);case"Btn":return t.data.radioButton?new XP(t):t.data.checkBox?new _4e(t):new C4e(t);case"Ch":return new S4e(t);case"Sig":return new w4e(t)}return new Ku(t);case ks.POPUP:return new gw(t);case ks.FREETEXT:return new JP(t);case ks.LINE:return new E4e(t);case ks.SQUARE:return new k4e(t);case ks.CIRCLE:return new A4e(t);case ks.POLYLINE:return new ZP(t);case ks.CARET:return new M4e(t);case ks.INK:return new bw(t);case ks.POLYGON:return new T4e(t);case ks.HIGHLIGHT:return new QP(t);case ks.UNDERLINE:return new P4e(t);case ks.SQUIGGLY:return new R4e(t);case ks.STRIKEOUT:return new I4e(t);case ks.STAMP:return new eR(t);case ks.FILEATTACHMENT:return new O4e(t);default:return new us(t)}}}const Rw=class Rw{constructor(t,{isRenderable:n=!1,ignoreBorder:s=!1,createQuadrilaterals:a=!1}={}){se(this,Sm);se(this,Ad,null);se(this,Uh,!1);se(this,qh,null);this.isRenderable=n,this.data=t.data,this.layer=t.layer,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderForms=t.renderForms,this.svgFactory=t.svgFactory,this.annotationStorage=t.annotationStorage,this.enableScripting=t.enableScripting,this.hasJSActions=t.hasJSActions,this._fieldObjects=t.fieldObjects,this.parent=t.parent,n&&(this.container=this._createContainer(s)),a&&this._createQuadrilaterals()}static _hasPopupData({titleObj:t,contentsObj:n,richText:s}){return!!(t!=null&&t.str||n!=null&&n.str||s!=null&&s.str)}get _isEditable(){return this.data.isEditable}get hasPopupData(){return Rw._hasPopupData(this.data)}updateEdited(t){var s;if(!this.container)return;y(this,Ad)||q(this,Ad,{rect:this.data.rect.slice(0)});const{rect:n}=t;n&&oe(this,Sm,l_).call(this,n),(s=y(this,qh))==null||s.popup.updateEdited(t)}resetEdited(){var t;y(this,Ad)&&(oe(this,Sm,l_).call(this,y(this,Ad).rect),(t=y(this,qh))==null||t.popup.resetEdited(),q(this,Ad,null))}_createContainer(t){const{data:n,parent:{page:s,viewport:a}}=this,o=document.createElement("section");o.setAttribute("data-annotation-id",n.id),this instanceof Ku||(o.tabIndex=Iv);const{style:r}=o;if(r.zIndex=this.parent.zIndex++,n.alternativeText&&(o.title=n.alternativeText),n.noRotate&&o.classList.add("norotate"),!n.rect||this instanceof gw){const{rotation:m}=n;return!n.hasOwnCanvas&&m!==0&&this.setRotation(m,o),o}const{width:i,height:l}=_c(n.rect);if(!t&&n.borderStyle.width>0){r.borderWidth=`${n.borderStyle.width}px`;const m=n.borderStyle.horizontalCornerRadius,g=n.borderStyle.verticalCornerRadius;if(m>0||g>0){const _=`calc(${m}px * var(--scale-factor)) / calc(${g}px * var(--scale-factor))`;r.borderRadius=_}else if(this instanceof XP){const _=`calc(${i}px * var(--scale-factor)) / calc(${l}px * var(--scale-factor))`;r.borderRadius=_}switch(n.borderStyle.style){case _v.SOLID:r.borderStyle="solid";break;case _v.DASHED:r.borderStyle="dashed";break;case _v.BEVELED:rn("Unimplemented border style: beveled");break;case _v.INSET:rn("Unimplemented border style: inset");break;case _v.UNDERLINE:r.borderBottomStyle="solid";break}const b=n.borderColor||null;b?(q(this,Uh,!0),r.borderColor=Nt.makeHexColor(b[0]|0,b[1]|0,b[2]|0)):r.borderWidth=0}const c=Nt.normalizeRect([n.rect[0],s.view[3]-n.rect[1]+s.view[1],n.rect[2],s.view[3]-n.rect[3]+s.view[1]]),{pageWidth:u,pageHeight:d,pageX:h,pageY:p}=a.rawDims;r.left=`${100*(c[0]-h)/u}%`,r.top=`${100*(c[1]-p)/d}%`;const{rotation:v}=n;return n.hasOwnCanvas||v===0?(r.width=`${100*i/u}%`,r.height=`${100*l/d}%`):this.setRotation(v,o),o}setRotation(t,n=this.container){if(!this.data.rect)return;const{pageWidth:s,pageHeight:a}=this.parent.viewport.rawDims,{width:o,height:r}=_c(this.data.rect);let i,l;t%180===0?(i=100*o/s,l=100*r/a):(i=100*r/s,l=100*o/a),n.style.width=`${i}%`,n.style.height=`${l}%`,n.setAttribute("data-main-rotation",(360-t)%360)}get _commonActions(){const t=(n,s,a)=>{const o=a.detail[n],r=o[0],i=o.slice(1);a.target.style[s]=qP[`${r}_HTML`](i),this.annotationStorage.setValue(this.data.id,{[s]:qP[`${r}_rgb`](i)})};return dn(this,"_commonActions",{display:n=>{const{display:s}=n.detail,a=s%2===1;this.container.style.visibility=a?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noView:a,noPrint:s===1||s===2})},print:n=>{this.annotationStorage.setValue(this.data.id,{noPrint:!n.detail.print})},hidden:n=>{const{hidden:s}=n.detail;this.container.style.visibility=s?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:s,noView:s})},focus:n=>{setTimeout(()=>n.target.focus({preventScroll:!1}),0)},userName:n=>{n.target.title=n.detail.userName},readonly:n=>{n.target.disabled=n.detail.readonly},required:n=>{this._setRequired(n.target,n.detail.required)},bgColor:n=>{t("bgColor","backgroundColor",n)},fillColor:n=>{t("fillColor","backgroundColor",n)},fgColor:n=>{t("fgColor","color",n)},textColor:n=>{t("textColor","color",n)},borderColor:n=>{t("borderColor","borderColor",n)},strokeColor:n=>{t("strokeColor","borderColor",n)},rotation:n=>{const s=n.detail.rotation;this.setRotation(s),this.annotationStorage.setValue(this.data.id,{rotation:s})}})}_dispatchEventFromSandbox(t,n){const s=this._commonActions;for(const a of Object.keys(n.detail)){const o=t[a]||s[a];o==null||o(n)}}_setDefaultPropertiesFromJS(t){if(!this.enableScripting)return;const n=this.annotationStorage.getRawValue(this.data.id);if(!n)return;const s=this._commonActions;for(const[a,o]of Object.entries(n)){const r=s[a];if(r){const i={detail:{[a]:o},target:t};r(i),delete n[a]}}}_createQuadrilaterals(){if(!this.container)return;const{quadPoints:t}=this.data;if(!t)return;const[n,s,a,o]=this.data.rect.map(m=>Math.fround(m));if(t.length===8){const[m,g,b,_]=t.subarray(2,6);if(a===m&&o===g&&n===b&&s===_)return}const{style:r}=this.container;let i;if(y(this,Uh)){const{borderColor:m,borderWidth:g}=r;r.borderWidth=0,i=["url('data:image/svg+xml;utf8,",'',``],this.container.classList.add("hasBorder")}const l=a-n,c=o-s,{svgFactory:u}=this,d=u.createElement("svg");d.classList.add("quadrilateralsContainer"),d.setAttribute("width",0),d.setAttribute("height",0);const h=u.createElement("defs");d.append(h);const p=u.createElement("clipPath"),v=`clippath_${this.data.id}`;p.setAttribute("id",v),p.setAttribute("clipPathUnits","objectBoundingBox"),h.append(p);for(let m=2,g=t.length;m`)}y(this,Uh)&&(i.push("')"),r.backgroundImage=i.join("")),this.container.append(d),this.container.style.clipPath=`url(#${v})`}_createPopup(){const{data:t}=this,n=q(this,qh,new gw({data:{color:t.color,titleObj:t.titleObj,modificationDate:t.modificationDate,contentsObj:t.contentsObj,richText:t.richText,parentRect:t.rect,borderStyle:0,id:`popup_${t.id}`,rotation:t.rotation},parent:this.parent,elements:[this]}));this.parent.div.append(n.render())}render(){Bn("Abstract method `AnnotationElement.render` called")}_getElementsByName(t,n=null){const s=[];if(this._fieldObjects){const a=this._fieldObjects[t];if(a)for(const{page:o,id:r,exportValues:i}of a){if(o===-1||r===n)continue;const l=typeof i=="string"?i:null,c=document.querySelector(`[data-element-id="${r}"]`);if(c&&!ju.has(c)){rn(`_getElementsByName - element not allowed: ${r}`);continue}s.push({id:r,exportValue:l,domElement:c})}return s}for(const a of document.getElementsByName(t)){const{exportValue:o}=a,r=a.getAttribute("data-element-id");r!==n&&ju.has(a)&&s.push({id:r,exportValue:o,domElement:a})}return s}show(){var t;this.container&&(this.container.hidden=!1),(t=this.popup)==null||t.maybeShow()}hide(){var t;this.container&&(this.container.hidden=!0),(t=this.popup)==null||t.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){const t=this.getElementsToTriggerPopup();if(Array.isArray(t))for(const n of t)n.classList.add("highlightArea");else t.classList.add("highlightArea")}_editOnDoubleClick(){if(!this._isEditable)return;const{annotationEditorType:t,data:{id:n}}=this;this.container.addEventListener("dblclick",()=>{var s;(s=this.linkService.eventBus)==null||s.dispatch("switchannotationeditormode",{source:this,mode:t,editId:n})})}};Ad=new WeakMap,Uh=new WeakMap,qh=new WeakMap,Sm=new WeakSet,l_=function(t){const{container:{style:n},data:{rect:s,rotation:a},parent:{viewport:{rawDims:{pageWidth:o,pageHeight:r,pageX:i,pageY:l}}}}=this;s==null||s.splice(0,4,...t);const{width:c,height:u}=_c(t);n.left=`${100*(t[0]-i)/o}%`,n.top=`${100*(r-t[3]+l)/r}%`,a===0?(n.width=`${100*c/o}%`,n.height=`${100*u/r}%`):this.setRotation(a)};let us=Rw;class YP extends us{constructor(n,s=null){super(n,{isRenderable:!0,ignoreBorder:!!(s!=null&&s.ignoreBorder),createQuadrilaterals:!0});se(this,So);this.isTooltipOnly=n.data.isTooltipOnly}render(){const{data:n,linkService:s}=this,a=document.createElement("a");a.setAttribute("data-element-id",n.id);let o=!1;return n.url?(s.addLinkAttributes(a,n.url,n.newWindow),o=!0):n.action?(this._bindNamedAction(a,n.action),o=!0):n.attachment?(oe(this,So,HR).call(this,a,n.attachment,n.attachmentDest),o=!0):n.setOCGState?(oe(this,So,WR).call(this,a,n.setOCGState),o=!0):n.dest?(this._bindLink(a,n.dest),o=!0):(n.actions&&(n.actions.Action||n.actions["Mouse Up"]||n.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(a,n),o=!0),n.resetForm?(this._bindResetFormAction(a,n.resetForm),o=!0):this.isTooltipOnly&&!o&&(this._bindLink(a,""),o=!0)),this.container.classList.add("linkAnnotation"),o&&this.container.append(a),this.container}_bindLink(n,s){n.href=this.linkService.getDestinationHash(s),n.onclick=()=>(s&&this.linkService.goToDestination(s),!1),(s||s==="")&&oe(this,So,sf).call(this)}_bindNamedAction(n,s){n.href=this.linkService.getAnchorUrl(""),n.onclick=()=>(this.linkService.executeNamedAction(s),!1),oe(this,So,sf).call(this)}_bindJSAction(n,s){n.href=this.linkService.getAnchorUrl("");const a=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const o of Object.keys(s.actions)){const r=a.get(o);r&&(n[r]=()=>{var i;return(i=this.linkService.eventBus)==null||i.dispatch("dispatcheventinsandbox",{source:this,detail:{id:s.id,name:o}}),!1})}n.onclick||(n.onclick=()=>!1),oe(this,So,sf).call(this)}_bindResetFormAction(n,s){const a=n.onclick;if(a||(n.href=this.linkService.getAnchorUrl("")),oe(this,So,sf).call(this),!this._fieldObjects){rn('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),a||(n.onclick=()=>!1);return}n.onclick=()=>{var d;a==null||a();const{fields:o,refs:r,include:i}=s,l=[];if(o.length!==0||r.length!==0){const h=new Set(r);for(const p of o){const v=this._fieldObjects[p]||[];for(const{id:m}of v)h.add(m)}for(const p of Object.values(this._fieldObjects))for(const v of p)h.has(v.id)===i&&l.push(v)}else for(const h of Object.values(this._fieldObjects))l.push(...h);const c=this.annotationStorage,u=[];for(const h of l){const{id:p}=h;switch(u.push(p),h.type){case"text":{const m=h.defaultValue||"";c.setValue(p,{value:m});break}case"checkbox":case"radiobutton":{const m=h.defaultValue===h.exportValues;c.setValue(p,{value:m});break}case"combobox":case"listbox":{const m=h.defaultValue||"";c.setValue(p,{value:m});break}default:continue}const v=document.querySelector(`[data-element-id="${p}"]`);if(v){if(!ju.has(v)){rn(`_bindResetFormAction - element not allowed: ${p}`);continue}}else continue;v.dispatchEvent(new Event("resetform"))}return this.enableScripting&&((d=this.linkService.eventBus)==null||d.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:u,name:"ResetForm"}})),!1}}}So=new WeakSet,sf=function(){this.container.setAttribute("data-internal-link","")},HR=function(n,s,a=null){n.href=this.linkService.getAnchorUrl(""),s.description&&(n.title=s.description),n.onclick=()=>{var o;return(o=this.downloadManager)==null||o.openOrDownloadData(s.content,s.filename,a),!1},oe(this,So,sf).call(this)},WR=function(n,s){n.href=this.linkService.getAnchorUrl(""),n.onclick=()=>(this.linkService.executeSetOCGState(s),!1),oe(this,So,sf).call(this)};class b4e extends us{constructor(t){super(t,{isRenderable:!0})}render(){this.container.classList.add("textAnnotation");const t=document.createElement("img");return t.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",t.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),t.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.append(t),this.container}}class Ku extends us{render(){return this.container}showElementAndHideCanvas(t){var n;this.data.hasOwnCanvas&&(((n=t.previousSibling)==null?void 0:n.nodeName)==="CANVAS"&&(t.previousSibling.hidden=!0),t.hidden=!1)}_getKeyModifier(t){return Oa.platform.isMac?t.metaKey:t.ctrlKey}_setEventListener(t,n,s,a,o){s.includes("mouse")?t.addEventListener(s,r=>{var i;(i=this.linkService.eventBus)==null||i.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:a,value:o(r),shift:r.shiftKey,modifier:this._getKeyModifier(r)}})}):t.addEventListener(s,r=>{var i;if(s==="blur"){if(!n.focused||!r.relatedTarget)return;n.focused=!1}else if(s==="focus"){if(n.focused)return;n.focused=!0}o&&((i=this.linkService.eventBus)==null||i.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:a,value:o(r)}}))})}_setEventListeners(t,n,s,a){var o,r,i;for(const[l,c]of s)(c==="Action"||(o=this.data.actions)!=null&&o[c])&&((c==="Focus"||c==="Blur")&&(n||(n={focused:!1})),this._setEventListener(t,n,l,c,a),c==="Focus"&&!((r=this.data.actions)!=null&&r.Blur)?this._setEventListener(t,n,"blur","Blur",null):c==="Blur"&&!((i=this.data.actions)!=null&&i.Focus)&&this._setEventListener(t,n,"focus","Focus",null))}_setBackgroundColor(t){const n=this.data.backgroundColor||null;t.style.backgroundColor=n===null?"transparent":Nt.makeHexColor(n[0],n[1],n[2])}_setTextStyle(t){const n=["left","center","right"],{fontColor:s}=this.data.defaultAppearanceData,a=this.data.defaultAppearanceData.fontSize||m4e,o=t.style;let r;const i=2,l=c=>Math.round(10*c)/10;if(this.data.multiLine){const c=Math.abs(this.data.rect[3]-this.data.rect[1]-i),u=Math.round(c/(K8*a))||1,d=c/u;r=Math.min(a,l(d/K8))}else{const c=Math.abs(this.data.rect[3]-this.data.rect[1]-i);r=Math.min(a,l(c/K8))}o.fontSize=`calc(${r}px * var(--scale-factor))`,o.color=Nt.makeHexColor(s[0],s[1],s[2]),this.data.textAlignment!==null&&(o.textAlign=n[this.data.textAlignment])}_setRequired(t,n){n?t.setAttribute("required",!0):t.removeAttribute("required"),t.setAttribute("aria-required",n)}}class y4e extends Ku{constructor(t){const n=t.renderForms||t.data.hasOwnCanvas||!t.data.hasAppearance&&!!t.data.fieldValue;super(t,{isRenderable:n})}setPropertyOnSiblings(t,n,s,a){const o=this.annotationStorage;for(const r of this._getElementsByName(t.name,t.id))r.domElement&&(r.domElement[n]=s),o.setValue(r.id,{[a]:s})}render(){var a,o;const t=this.annotationStorage,n=this.data.id;this.container.classList.add("textWidgetAnnotation");let s=null;if(this.renderForms){const r=t.getValue(n,{value:this.data.fieldValue});let i=r.value||"";const l=t.getValue(n,{charLimit:this.data.maxLen}).charLimit;l&&i.length>l&&(i=i.slice(0,l));let c=r.formattedValue||((a=this.data.textContent)==null?void 0:a.join(` +`))||null;c&&this.data.comb&&(c=c.replaceAll(/\s+/g,""));const u={userValue:i,formattedValue:c,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(s=document.createElement("textarea"),s.textContent=c??i,this.data.doNotScroll&&(s.style.overflowY="hidden")):(s=document.createElement("input"),s.type="text",s.setAttribute("value",c??i),this.data.doNotScroll&&(s.style.overflowX="hidden")),this.data.hasOwnCanvas&&(s.hidden=!0),ju.add(s),s.setAttribute("data-element-id",n),s.disabled=this.data.readOnly,s.name=this.data.fieldName,s.tabIndex=Iv,this._setRequired(s,this.data.required),l&&(s.maxLength=l),s.addEventListener("input",h=>{t.setValue(n,{value:h.target.value}),this.setPropertyOnSiblings(s,"value",h.target.value,"value"),u.formattedValue=null}),s.addEventListener("resetform",h=>{const p=this.data.defaultFieldValue??"";s.value=u.userValue=p,u.formattedValue=null});let d=h=>{const{formattedValue:p}=u;p!=null&&(h.target.value=p),h.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){s.addEventListener("focus",p=>{var m;if(u.focused)return;const{target:v}=p;u.userValue&&(v.value=u.userValue),u.lastCommittedValue=v.value,u.commitKey=1,(m=this.data.actions)!=null&&m.Focus||(u.focused=!0)}),s.addEventListener("updatefromsandbox",p=>{this.showElementAndHideCanvas(p.target);const v={value(m){u.userValue=m.detail.value??"",t.setValue(n,{value:u.userValue.toString()}),m.target.value=u.userValue},formattedValue(m){const{formattedValue:g}=m.detail;u.formattedValue=g,g!=null&&m.target!==document.activeElement&&(m.target.value=g),t.setValue(n,{formattedValue:g})},selRange(m){m.target.setSelectionRange(...m.detail.selRange)},charLimit:m=>{var w;const{charLimit:g}=m.detail,{target:b}=m;if(g===0){b.removeAttribute("maxLength");return}b.setAttribute("maxLength",g);let _=u.userValue;!_||_.length<=g||(_=_.slice(0,g),b.value=u.userValue=_,t.setValue(n,{value:_}),(w=this.linkService.eventBus)==null||w.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:_,willCommit:!0,commitKey:1,selStart:b.selectionStart,selEnd:b.selectionEnd}}))}};this._dispatchEventFromSandbox(v,p)}),s.addEventListener("keydown",p=>{var g;u.commitKey=1;let v=-1;if(p.key==="Escape"?v=0:p.key==="Enter"&&!this.data.multiLine?v=2:p.key==="Tab"&&(u.commitKey=3),v===-1)return;const{value:m}=p.target;u.lastCommittedValue!==m&&(u.lastCommittedValue=m,u.userValue=m,(g=this.linkService.eventBus)==null||g.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:m,willCommit:!0,commitKey:v,selStart:p.target.selectionStart,selEnd:p.target.selectionEnd}}))});const h=d;d=null,s.addEventListener("blur",p=>{var m,g;if(!u.focused||!p.relatedTarget)return;(m=this.data.actions)!=null&&m.Blur||(u.focused=!1);const{value:v}=p.target;u.userValue=v,u.lastCommittedValue!==v&&((g=this.linkService.eventBus)==null||g.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:v,willCommit:!0,commitKey:u.commitKey,selStart:p.target.selectionStart,selEnd:p.target.selectionEnd}})),h(p)}),(o=this.data.actions)!=null&&o.Keystroke&&s.addEventListener("beforeinput",p=>{var x;u.lastCommittedValue=null;const{data:v,target:m}=p,{value:g,selectionStart:b,selectionEnd:_}=m;let w=b,C=_;switch(p.inputType){case"deleteWordBackward":{const E=g.substring(0,b).match(/\w*[^\w]*$/);E&&(w-=E[0].length);break}case"deleteWordForward":{const E=g.substring(b).match(/^[^\w]*\w*/);E&&(C+=E[0].length);break}case"deleteContentBackward":b===_&&(w-=1);break;case"deleteContentForward":b===_&&(C+=1);break}p.preventDefault(),(x=this.linkService.eventBus)==null||x.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:g,change:v||"",willCommit:!1,selStart:w,selEnd:C}})}),this._setEventListeners(s,u,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],p=>p.target.value)}if(d&&s.addEventListener("blur",d),this.data.comb){const p=(this.data.rect[2]-this.data.rect[0])/l;s.classList.add("comb"),s.style.letterSpacing=`calc(${p}px * var(--scale-factor) - 1ch)`}}else s=document.createElement("div"),s.textContent=this.data.fieldValue,s.style.verticalAlign="middle",s.style.display="table-cell",this.data.hasOwnCanvas&&(s.hidden=!0);return this._setTextStyle(s),this._setBackgroundColor(s),this._setDefaultPropertiesFromJS(s),this.container.append(s),this.container}}class w4e extends Ku{constructor(t){super(t,{isRenderable:!!t.data.hasOwnCanvas})}}class _4e extends Ku{constructor(t){super(t,{isRenderable:t.renderForms})}render(){const t=this.annotationStorage,n=this.data,s=n.id;let a=t.getValue(s,{value:n.exportValue===n.fieldValue}).value;typeof a=="string"&&(a=a!=="Off",t.setValue(s,{value:a})),this.container.classList.add("buttonWidgetAnnotation","checkBox");const o=document.createElement("input");return ju.add(o),o.setAttribute("data-element-id",s),o.disabled=n.readOnly,this._setRequired(o,this.data.required),o.type="checkbox",o.name=n.fieldName,a&&o.setAttribute("checked",!0),o.setAttribute("exportValue",n.exportValue),o.tabIndex=Iv,o.addEventListener("change",r=>{const{name:i,checked:l}=r.target;for(const c of this._getElementsByName(i,s)){const u=l&&c.exportValue===n.exportValue;c.domElement&&(c.domElement.checked=u),t.setValue(c.id,{value:u})}t.setValue(s,{value:l})}),o.addEventListener("resetform",r=>{const i=n.defaultFieldValue||"Off";r.target.checked=i===n.exportValue}),this.enableScripting&&this.hasJSActions&&(o.addEventListener("updatefromsandbox",r=>{const i={value(l){l.target.checked=l.detail.value!=="Off",t.setValue(s,{value:l.target.checked})}};this._dispatchEventFromSandbox(i,r)}),this._setEventListeners(o,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],r=>r.target.checked)),this._setBackgroundColor(o),this._setDefaultPropertiesFromJS(o),this.container.append(o),this.container}}class XP extends Ku{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("buttonWidgetAnnotation","radioButton");const t=this.annotationStorage,n=this.data,s=n.id;let a=t.getValue(s,{value:n.fieldValue===n.buttonValue}).value;if(typeof a=="string"&&(a=a!==n.buttonValue,t.setValue(s,{value:a})),a)for(const r of this._getElementsByName(n.fieldName,s))t.setValue(r.id,{value:!1});const o=document.createElement("input");if(ju.add(o),o.setAttribute("data-element-id",s),o.disabled=n.readOnly,this._setRequired(o,this.data.required),o.type="radio",o.name=n.fieldName,a&&o.setAttribute("checked",!0),o.tabIndex=Iv,o.addEventListener("change",r=>{const{name:i,checked:l}=r.target;for(const c of this._getElementsByName(i,s))t.setValue(c.id,{value:!1});t.setValue(s,{value:l})}),o.addEventListener("resetform",r=>{const i=n.defaultFieldValue;r.target.checked=i!=null&&i===n.buttonValue}),this.enableScripting&&this.hasJSActions){const r=n.buttonValue;o.addEventListener("updatefromsandbox",i=>{const l={value:c=>{const u=r===c.detail.value;for(const d of this._getElementsByName(c.target.name)){const h=u&&d.id===s;d.domElement&&(d.domElement.checked=h),t.setValue(d.id,{value:h})}}};this._dispatchEventFromSandbox(l,i)}),this._setEventListeners(o,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],i=>i.target.checked)}return this._setBackgroundColor(o),this._setDefaultPropertiesFromJS(o),this.container.append(o),this.container}}class C4e extends YP{constructor(t){super(t,{ignoreBorder:t.data.hasAppearance})}render(){const t=super.render();t.classList.add("buttonWidgetAnnotation","pushButton");const n=t.lastChild;return this.enableScripting&&this.hasJSActions&&n&&(this._setDefaultPropertiesFromJS(n),n.addEventListener("updatefromsandbox",s=>{this._dispatchEventFromSandbox({},s)})),t}}class S4e extends Ku{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("choiceWidgetAnnotation");const t=this.annotationStorage,n=this.data.id,s=t.getValue(n,{value:this.data.fieldValue}),a=document.createElement("select");ju.add(a),a.setAttribute("data-element-id",n),a.disabled=this.data.readOnly,this._setRequired(a,this.data.required),a.name=this.data.fieldName,a.tabIndex=Iv;let o=this.data.combo&&this.data.options.length>0;this.data.combo||(a.size=this.data.options.length,this.data.multiSelect&&(a.multiple=!0)),a.addEventListener("resetform",u=>{const d=this.data.defaultFieldValue;for(const h of a.options)h.selected=h.value===d});for(const u of this.data.options){const d=document.createElement("option");d.textContent=u.displayValue,d.value=u.exportValue,s.value.includes(u.exportValue)&&(d.setAttribute("selected",!0),o=!1),a.append(d)}let r=null;if(o){const u=document.createElement("option");u.value=" ",u.setAttribute("hidden",!0),u.setAttribute("selected",!0),a.prepend(u),r=()=>{u.remove(),a.removeEventListener("input",r),r=null},a.addEventListener("input",r)}const i=u=>{const d=u?"value":"textContent",{options:h,multiple:p}=a;return p?Array.prototype.filter.call(h,v=>v.selected).map(v=>v[d]):h.selectedIndex===-1?null:h[h.selectedIndex][d]};let l=i(!1);const c=u=>{const d=u.target.options;return Array.prototype.map.call(d,h=>({displayValue:h.textContent,exportValue:h.value}))};return this.enableScripting&&this.hasJSActions?(a.addEventListener("updatefromsandbox",u=>{const d={value(h){r==null||r();const p=h.detail.value,v=new Set(Array.isArray(p)?p:[p]);for(const m of a.options)m.selected=v.has(m.value);t.setValue(n,{value:i(!0)}),l=i(!1)},multipleSelection(h){a.multiple=!0},remove(h){const p=a.options,v=h.detail.remove;p[v].selected=!1,a.remove(v),p.length>0&&Array.prototype.findIndex.call(p,g=>g.selected)===-1&&(p[0].selected=!0),t.setValue(n,{value:i(!0),items:c(h)}),l=i(!1)},clear(h){for(;a.length!==0;)a.remove(0);t.setValue(n,{value:null,items:[]}),l=i(!1)},insert(h){const{index:p,displayValue:v,exportValue:m}=h.detail.insert,g=a.children[p],b=document.createElement("option");b.textContent=v,b.value=m,g?g.before(b):a.append(b),t.setValue(n,{value:i(!0),items:c(h)}),l=i(!1)},items(h){const{items:p}=h.detail;for(;a.length!==0;)a.remove(0);for(const v of p){const{displayValue:m,exportValue:g}=v,b=document.createElement("option");b.textContent=m,b.value=g,a.append(b)}a.options.length>0&&(a.options[0].selected=!0),t.setValue(n,{value:i(!0),items:c(h)}),l=i(!1)},indices(h){const p=new Set(h.detail.indices);for(const v of h.target.options)v.selected=p.has(v.index);t.setValue(n,{value:i(!0)}),l=i(!1)},editable(h){h.target.disabled=!h.detail.editable}};this._dispatchEventFromSandbox(d,u)}),a.addEventListener("input",u=>{var p;const d=i(!0),h=i(!1);t.setValue(n,{value:d}),u.preventDefault(),(p=this.linkService.eventBus)==null||p.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:l,change:h,changeEx:d,willCommit:!1,commitKey:1,keyDown:!1}})}),this._setEventListeners(a,null,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"],["input","Validate"]],u=>u.target.value)):a.addEventListener("input",function(u){t.setValue(n,{value:i(!0)})}),this.data.combo&&this._setTextStyle(a),this._setBackgroundColor(a),this._setDefaultPropertiesFromJS(a),this.container.append(a),this.container}}class gw extends us{constructor(t){const{data:n,elements:s}=t;super(t,{isRenderable:us._hasPopupData(n)}),this.elements=s,this.popup=null}render(){this.container.classList.add("popupAnnotation");const t=this.popup=new x4e({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText,rect:this.data.rect,parentRect:this.data.parentRect||null,parent:this.parent,elements:this.elements,open:this.data.open}),n=[];for(const s of this.elements)s.popup=t,s.container.ariaHasPopup="dialog",n.push(s.data.id),s.addHighlightArea();return this.container.setAttribute("aria-controls",n.map(s=>`${J8}${s}`).join(",")),this.container}}class x4e{constructor({container:t,color:n,elements:s,titleObj:a,modificationDate:o,contentsObj:r,richText:i,parent:l,rect:c,parentRect:u,open:d}){se(this,Dn);se(this,Gh,oe(this,Dn,UR).bind(this));se(this,kb,oe(this,Dn,u_).bind(this));se(this,Ab,oe(this,Dn,Zb).bind(this));se(this,Yh,oe(this,Dn,Jb).bind(this));se(this,Td,null);se(this,cs,null);se(this,Ml,null);se(this,Xh,null);se(this,xm,null);se(this,Em,null);se(this,Jh,null);se(this,Pl,!1);se(this,Rr,null);se(this,Rl,null);se(this,km,null);se(this,Il,null);se(this,Am,null);se(this,Md,null);se(this,Pd,!1);var h;q(this,cs,t),q(this,Am,a),q(this,Ml,r),q(this,Il,i),q(this,Em,l),q(this,Td,n),q(this,km,c),q(this,Jh,u),q(this,xm,s),q(this,Xh,ew.toDateObject(o)),this.trigger=s.flatMap(p=>p.getElementsToTriggerPopup());for(const p of this.trigger)p.addEventListener("click",y(this,Yh)),p.addEventListener("mouseenter",y(this,Ab)),p.addEventListener("mouseleave",y(this,kb)),p.classList.add("popupTriggerArea");for(const p of s)(h=p.container)==null||h.addEventListener("keydown",y(this,Gh));y(this,cs).hidden=!0,d&&oe(this,Dn,Jb).call(this)}render(){if(y(this,Rr))return;const t=q(this,Rr,document.createElement("div"));if(t.className="popup",y(this,Td)){const o=t.style.outlineColor=Nt.makeHexColor(...y(this,Td));CSS.supports("background-color","color-mix(in srgb, red 30%, white)")?t.style.backgroundColor=`color-mix(in srgb, ${o} 30%, white)`:t.style.backgroundColor=Nt.makeHexColor(...y(this,Td).map(i=>Math.floor(.7*(255-i)+i)))}const n=document.createElement("span");n.className="header";const s=document.createElement("h1");if(n.append(s),{dir:s.dir,str:s.textContent}=y(this,Am),t.append(n),y(this,Xh)){const o=document.createElement("span");o.classList.add("popupDate"),o.setAttribute("data-l10n-id","pdfjs-annotation-date-time-string"),o.setAttribute("data-l10n-args",JSON.stringify({dateObj:y(this,Xh).valueOf()})),n.append(o)}const a=y(this,Dn,Xb);if(a)GP.render({xfaHtml:a,intent:"richText",div:t}),t.lastChild.classList.add("richText","popupContent");else{const o=this._formatContents(y(this,Ml));t.append(o)}y(this,cs).append(t)}_formatContents({str:t,dir:n}){const s=document.createElement("p");s.classList.add("popupContent"),s.dir=n;const a=t.split(/(?:\r\n?|\n)/);for(let o=0,r=a.length;o=0&&r.setAttribute("stroke-width",s||1),a)for(let i=0,l=y(this,Rd).length;i{r.key==="Enter"&&(o?r.metaKey:r.ctrlKey)&&oe(this,Nm,f_).call(this)}),!s.popupRef&&this.hasPopupData?this._createPopup():a.classList.add("popupTriggerArea"),n.append(a),n}getElementsToTriggerPopup(){return y(this,Lm)}addHighlightArea(){this.container.classList.add("highlightArea")}}Lm=new WeakMap,Nm=new WeakSet,f_=function(){var n;(n=this.downloadManager)==null||n.openOrDownloadData(this.content,this.filename)};class L4e{constructor({div:t,accessibilityManager:n,annotationCanvasMap:s,annotationEditorUIManager:a,page:o,viewport:r,structTreeLayer:i}){se(this,Ld);se(this,$m,null);se(this,Id,null);se(this,Od,new Map);se(this,Dm,null);this.div=t,q(this,$m,n),q(this,Id,s),q(this,Dm,i||null),this.page=o,this.viewport=r,this.zIndex=0,this._annotationEditorUIManager=a}hasEditableAnnotations(){return y(this,Od).size>0}async render(t){var r;const{annotations:n}=t,s=this.div;Hu(s,this.viewport);const a=new Map,o={data:null,layer:s,linkService:t.linkService,downloadManager:t.downloadManager,imageResourcesPath:t.imageResourcesPath||"",renderForms:t.renderForms!==!1,svgFactory:new mw,annotationStorage:t.annotationStorage||new iw,enableScripting:t.enableScripting===!0,hasJSActions:t.hasJSActions,fieldObjects:t.fieldObjects,parent:this,elements:null};for(const i of n){if(i.noHTML)continue;const l=i.annotationType===ks.POPUP;if(l){const d=a.get(i.id);if(!d)continue;o.elements=d}else{const{width:d,height:h}=_c(i.rect);if(d<=0||h<=0)continue}o.data=i;const c=g4e.create(o);if(!c.isRenderable)continue;if(!l&&i.popupRef){const d=a.get(i.popupRef);d?d.push(c):a.set(i.popupRef,[c])}const u=c.render();i.hidden&&(u.style.visibility="hidden"),await oe(this,Ld,GR).call(this,u,i.id),c._isEditable&&(y(this,Od).set(c.data.id,c),(r=this._annotationEditorUIManager)==null||r.renderAnnotationElement(c))}oe(this,Ld,h_).call(this)}update({viewport:t}){const n=this.div;this.viewport=t,Hu(n,{rotation:t.rotation}),oe(this,Ld,h_).call(this),n.hidden=!1}getEditableAnnotations(){return Array.from(y(this,Od).values())}getEditableAnnotation(t){return y(this,Od).get(t)}}$m=new WeakMap,Id=new WeakMap,Od=new WeakMap,Dm=new WeakMap,Ld=new WeakSet,GR=async function(t,n){var r,i;const s=t.firstChild||t,a=s.id=`${J8}${n}`,o=await((r=y(this,Dm))==null?void 0:r.getAriaAttributes(a));if(o)for(const[l,c]of o)s.setAttribute(l,c);this.div.append(t),(i=y(this,$m))==null||i.moveElementInDOM(this.div,t,s,!1)},h_=function(){if(!y(this,Id))return;const t=this.div;for(const[n,s]of y(this,Id)){const a=t.querySelector(`[data-annotation-id="${n}"]`);if(!a)continue;s.className="annotationContent";const{firstChild:o}=a;o?o.nodeName==="CANVAS"?o.replaceWith(s):o.classList.contains("annotationContent")?o.after(s):o.before(s):a.append(s)}y(this,Id).clear()};const lb=/\r\n?|\n/g,Wn=class Wn extends ns{constructor(n){super({...n,name:"freeTextEditor"});se(this,ws);se(this,Ir);se(this,xo,"");se(this,Fm,`${this.id}-editor`);se(this,Nd,null);se(this,Eo);q(this,Ir,n.color||Wn._defaultColor||ns._defaultLineColor),q(this,Eo,n.fontSize||Wn._defaultFontSize)}static get _keyboardManager(){const n=Wn.prototype,s=r=>r.isEmpty(),a=Wu.TRANSLATE_SMALL,o=Wu.TRANSLATE_BIG;return dn(this,"_keyboardManager",new Ev([[["ctrl+s","mac+meta+s","ctrl+p","mac+meta+p"],n.commitOrRemove,{bubbles:!0}],[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],n.commitOrRemove],[["ArrowLeft","mac+ArrowLeft"],n._translateEmpty,{args:[-a,0],checker:s}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],n._translateEmpty,{args:[-o,0],checker:s}],[["ArrowRight","mac+ArrowRight"],n._translateEmpty,{args:[a,0],checker:s}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],n._translateEmpty,{args:[o,0],checker:s}],[["ArrowUp","mac+ArrowUp"],n._translateEmpty,{args:[0,-a],checker:s}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],n._translateEmpty,{args:[0,-o],checker:s}],[["ArrowDown","mac+ArrowDown"],n._translateEmpty,{args:[0,a],checker:s}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],n._translateEmpty,{args:[0,o],checker:s}]]))}static initialize(n,s){ns.initialize(n,s);const a=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(a.getPropertyValue("--freetext-padding"))}static updateDefaultParams(n,s){switch(n){case mn.FREETEXT_SIZE:Wn._defaultFontSize=s;break;case mn.FREETEXT_COLOR:Wn._defaultColor=s;break}}updateParams(n,s){switch(n){case mn.FREETEXT_SIZE:oe(this,ws,YR).call(this,s);break;case mn.FREETEXT_COLOR:oe(this,ws,XR).call(this,s);break}}static get defaultPropertiesToUpdate(){return[[mn.FREETEXT_SIZE,Wn._defaultFontSize],[mn.FREETEXT_COLOR,Wn._defaultColor||ns._defaultLineColor]]}get propertiesToUpdate(){return[[mn.FREETEXT_SIZE,y(this,Eo)],[mn.FREETEXT_COLOR,y(this,Ir)]]}_translateEmpty(n,s){this._uiManager.translateSelectedEditors(n,s,!0)}getInitialTranslation(){const n=this.parentScale;return[-Wn._internalPadding*n,-(Wn._internalPadding+y(this,Eo))*n]}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(this.isAttachedToDOM||this.parent.add(this)))}enableEditMode(){if(this.isInEditMode())return;this.parent.setEditingState(!1),this.parent.updateToolbar(on.FREETEXT),super.enableEditMode(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute("aria-activedescendant"),q(this,Nd,new AbortController);const n=this._uiManager.combinedSignal(y(this,Nd));this.editorDiv.addEventListener("keydown",this.editorDivKeydown.bind(this),{signal:n}),this.editorDiv.addEventListener("focus",this.editorDivFocus.bind(this),{signal:n}),this.editorDiv.addEventListener("blur",this.editorDivBlur.bind(this),{signal:n}),this.editorDiv.addEventListener("input",this.editorDivInput.bind(this),{signal:n}),this.editorDiv.addEventListener("paste",this.editorDivPaste.bind(this),{signal:n})}disableEditMode(){var n;this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.setAttribute("aria-activedescendant",y(this,Fm)),this._isDraggable=!0,(n=y(this,Nd))==null||n.abort(),q(this,Nd,null),this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add("freetextEditing"))}focusin(n){this._focusEventsAllowed&&(super.focusin(n),n.target!==this.editorDiv&&this.editorDiv.focus())}onceAdded(n){var s;this.width||(this.enableEditMode(),n&&this.editorDiv.focus(),(s=this._initialOptions)!=null&&s.isCentered&&this.center(),this._initialOptions=null)}isEmpty(){return!this.editorDiv||this.editorDiv.innerText.trim()===""}remove(){this.isEditing=!1,this.parent&&(this.parent.setEditingState(!0),this.parent.div.classList.add("freetextEditing")),super.remove()}commit(){if(!this.isInEditMode())return;super.commit(),this.disableEditMode();const n=y(this,xo),s=q(this,xo,oe(this,ws,JR).call(this).trimEnd());if(n===s)return;const a=o=>{if(q(this,xo,o),!o){this.remove();return}oe(this,ws,t4).call(this),this._uiManager.rebuild(this),oe(this,ws,Qb).call(this)};this.addCommands({cmd:()=>{a(s)},undo:()=>{a(n)},mustExec:!1}),oe(this,ws,Qb).call(this)}shouldGetKeyboardEvents(){return this.isInEditMode()}enterInEditMode(){this.enableEditMode(),this.editorDiv.focus()}dblclick(n){this.enterInEditMode()}keydown(n){n.target===this.div&&n.key==="Enter"&&(this.enterInEditMode(),n.preventDefault())}editorDivKeydown(n){Wn._keyboardManager.exec(this,n)}editorDivFocus(n){this.isEditing=!0}editorDivBlur(n){this.isEditing=!1}editorDivInput(n){this.parent.div.classList.toggle("freetextEditing",this.isEmpty())}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}render(){if(this.div)return this.div;let n,s;this.width&&(n=this.x,s=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",y(this,Fm)),this.editorDiv.setAttribute("data-l10n-id","pdfjs-free-text2"),this.editorDiv.setAttribute("data-l10n-attrs","default-content"),this.enableEditing(),this.editorDiv.contentEditable=!0;const{style:a}=this.editorDiv;if(a.fontSize=`calc(${y(this,Eo)}px * var(--scale-factor))`,a.color=y(this,Ir),this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),eb(this,this.div,["dblclick","keydown"]),this.width){const[o,r]=this.parentDimensions;if(this.annotationElementId){const{position:i}=this._initialData;let[l,c]=this.getInitialTranslation();[l,c]=this.pageTranslationToScreen(l,c);const[u,d]=this.pageDimensions,[h,p]=this.pageTranslation;let v,m;switch(this.rotation){case 0:v=n+(i[0]-h)/u,m=s+this.height-(i[1]-p)/d;break;case 90:v=n+(i[0]-h)/u,m=s-(i[1]-p)/d,[l,c]=[c,-l];break;case 180:v=n-this.width+(i[0]-h)/u,m=s-(i[1]-p)/d,[l,c]=[-l,-c];break;case 270:v=n+(i[0]-h-this.height*d)/u,m=s+(i[1]-p-this.width*u)/d,[l,c]=[-c,l];break}this.setAt(v*o,m*r,l,c)}else this.setAt(n*o,s*r,this.width*o,this.height*r);oe(this,ws,t4).call(this),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}editorDivPaste(n){var v,m,g;const s=n.clipboardData||window.clipboardData,{types:a}=s;if(a.length===1&&a[0]==="text/plain")return;n.preventDefault();const o=oe(v=Wn,Ol,p_).call(v,s.getData("text")||"").replaceAll(lb,` `);if(!o)return;const r=window.getSelection();if(!r.rangeCount)return;this.editorDiv.normalize(),r.deleteFromDocument();const i=r.getRangeAt(0);if(!o.includes(` -`)){i.insertNode(document.createTextNode(o)),this.editorDiv.normalize(),r.collapseToStart();return}const{startContainer:l,startOffset:c}=i,u=[],d=[];if(l.nodeType===Node.TEXT_NODE){const b=l.parentElement;if(d.push(l.nodeValue.slice(c).replaceAll(lb,"")),b!==this.editorDiv){let C=u;for(const w of this.editorDiv.childNodes){if(w===b){C=d;continue}C.push(oe(m=Wn,Ol,e4).call(m,w))}}u.push(l.nodeValue.slice(0,c).replaceAll(lb,""))}else if(l===this.editorDiv){let b=u,C=0;for(const w of this.editorDiv.childNodes)C++===c&&(b=d),b.push(oe(g=Wn,Ol,e4).call(g,w))}q(this,xo,`${u.join(` +`)){i.insertNode(document.createTextNode(o)),this.editorDiv.normalize(),r.collapseToStart();return}const{startContainer:l,startOffset:c}=i,u=[],d=[];if(l.nodeType===Node.TEXT_NODE){const b=l.parentElement;if(d.push(l.nodeValue.slice(c).replaceAll(lb,"")),b!==this.editorDiv){let _=u;for(const w of this.editorDiv.childNodes){if(w===b){_=d;continue}_.push(oe(m=Wn,Ol,e4).call(m,w))}}u.push(l.nodeValue.slice(0,c).replaceAll(lb,""))}else if(l===this.editorDiv){let b=u,_=0;for(const w of this.editorDiv.childNodes)_++===c&&(b=d),b.push(oe(g=Wn,Ol,e4).call(g,w))}q(this,xo,`${u.join(` `)}${o}${d.join(` -`)}`),oe(this,ws,t4).call(this);const h=new Range;let p=u.reduce((b,C)=>b+C.length,0);for(const{firstChild:b}of this.editorDiv.childNodes)if(b.nodeType===Node.TEXT_NODE){const C=b.nodeValue.length;if(p<=C){h.setStart(b,p),h.setEnd(b,p);break}p-=C}r.removeAllRanges(),r.addRange(h)}get contentDiv(){return this.editorDiv}static async deserialize(n,s,a){var i;let o=null;if(n instanceof JP){const{data:{defaultAppearanceData:{fontSize:l,fontColor:c},rect:u,rotation:d,id:h,popupRef:p},textContent:v,textPosition:m,parent:{page:{pageNumber:g}}}=n;if(!v||v.length===0)return null;o=n={annotationType:on.FREETEXT,color:Array.from(c),fontSize:l,value:v.join(` +`)}`),oe(this,ws,t4).call(this);const h=new Range;let p=u.reduce((b,_)=>b+_.length,0);for(const{firstChild:b}of this.editorDiv.childNodes)if(b.nodeType===Node.TEXT_NODE){const _=b.nodeValue.length;if(p<=_){h.setStart(b,p),h.setEnd(b,p);break}p-=_}r.removeAllRanges(),r.addRange(h)}get contentDiv(){return this.editorDiv}static async deserialize(n,s,a){var i;let o=null;if(n instanceof JP){const{data:{defaultAppearanceData:{fontSize:l,fontColor:c},rect:u,rotation:d,id:h,popupRef:p},textContent:v,textPosition:m,parent:{page:{pageNumber:g}}}=n;if(!v||v.length===0)return null;o=n={annotationType:on.FREETEXT,color:Array.from(c),fontSize:l,value:v.join(` `),position:m,pageIndex:g-1,rect:u.slice(0),rotation:d,id:h,deleted:!1,popupRef:p}}const r=await super.deserialize(n,s,a);return q(r,Eo,n.fontSize),q(r,Ir,Nt.makeHexColor(...n.color)),q(r,xo,oe(i=Wn,Ol,p_).call(i,n.value)),r.annotationElementId=n.id||null,r._initialData=o,r}serialize(n=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const s=Wn._internalPadding*this.parentScale,a=this.getRect(s,s),o=ns._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:y(this,Ir)),r={annotationType:on.FREETEXT,color:o,fontSize:y(this,Eo),value:oe(this,ws,ZR).call(this),pageIndex:this.pageIndex,rect:a,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return n?r:this.annotationElementId&&!oe(this,ws,QR).call(this,r)?null:(r.id=this.annotationElementId,r)}renderAnnotationElement(n){const s=super.renderAnnotationElement(n);if(this.deleted)return s;const{style:a}=s;a.fontSize=`calc(${y(this,Eo)}px * var(--scale-factor))`,a.color=y(this,Ir),s.replaceChildren();for(const r of y(this,xo).split(` `)){const i=document.createElement("div");i.append(r?document.createTextNode(r):document.createElement("br")),s.append(i)}const o=Wn._internalPadding*this.parentScale;return n.updateEdited({rect:this.getRect(o,o),popupContent:y(this,xo)}),s}resetAnnotationElement(n){super.resetAnnotationElement(n),n.resetEdited()}};Ir=new WeakMap,xo=new WeakMap,Fm=new WeakMap,Nd=new WeakMap,Eo=new WeakMap,ws=new WeakSet,YR=function(n){const s=o=>{this.editorDiv.style.fontSize=`calc(${o}px * var(--scale-factor))`,this.translate(0,-(o-y(this,Eo))*this.parentScale),q(this,Eo,o),oe(this,ws,Qb).call(this)},a=y(this,Eo);this.addCommands({cmd:s.bind(this,n),undo:s.bind(this,a),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:mn.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})},XR=function(n){const s=o=>{q(this,Ir,this.editorDiv.style.color=o)},a=y(this,Ir);this.addCommands({cmd:s.bind(this,n),undo:s.bind(this,a),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:mn.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})},JR=function(){var a;const n=[];this.editorDiv.normalize();let s=null;for(const o of this.editorDiv.childNodes)(s==null?void 0:s.nodeType)===Node.TEXT_NODE&&o.nodeName==="BR"||(n.push(oe(a=Wn,Ol,e4).call(a,o)),s=o);return n.join(` `)},Qb=function(){const[n,s]=this.parentDimensions;let a;if(this.isAttachedToDOM)a=this.div.getBoundingClientRect();else{const{currentLayer:o,div:r}=this,i=r.style.display,l=r.classList.contains("hidden");r.classList.remove("hidden"),r.style.display="hidden",o.div.append(this.div),a=r.getBoundingClientRect(),r.remove(),r.style.display=i,r.classList.toggle("hidden",l)}this.rotation%180===this.parentRotation%180?(this.width=a.width/n,this.height=a.height/s):(this.width=a.height/n,this.height=a.width/s),this.fixAndSetPosition()},Ol=new WeakSet,e4=function(n){return(n.nodeType===Node.TEXT_NODE?n.nodeValue:n.innerText).replaceAll(lb,"")},t4=function(){if(this.editorDiv.replaceChildren(),!!y(this,xo))for(const n of y(this,xo).split(` -`)){const s=document.createElement("div");s.append(n?document.createTextNode(n):document.createElement("br")),this.editorDiv.append(s)}},ZR=function(){return y(this,xo).replaceAll(" "," ")},p_=function(n){return n.replaceAll(" "," ")},QR=function(n){const{value:s,fontSize:a,color:o,pageIndex:r}=this._initialData;return this._hasBeenMoved||n.value!==s||n.fontSize!==a||n.color.some((i,l)=>i!==o[l])||n.pageIndex!==r},se(Wn,Ol),zt(Wn,"_freeTextDefaultContent",""),zt(Wn,"_internalPadding",0),zt(Wn,"_defaultColor",null),zt(Wn,"_defaultFontSize",10),zt(Wn,"_type","freetext"),zt(Wn,"_editorType",on.FREETEXT);let yw=Wn;class Et{toSVGPath(){Bn("Abstract method `toSVGPath` must be implemented.")}get box(){Bn("Abstract getter `box` must be implemented.")}serialize(t,n){Bn("Abstract method `serialize` must be implemented.")}static _rescale(t,n,s,a,o,r){r||(r=new Float32Array(t.length));for(let i=0,l=t.length;i=6;a-=6)isNaN(n[a])?s.push(`L${n[a+4]} ${n[a+5]}`):s.push(`C${n[a]} ${n[a+1]} ${n[a+2]} ${n[a+3]} ${n[a+4]} ${n[a+5]}`);return oe(this,Ms,tI).call(this,s),s.join(" ")}newFreeDrawOutline(t,n,s,a,o,r){return new tR(t,n,s,a,o,r)}getOutlines(){var d;const t=y(this,Ci),n=y(this,Or),s=y(this,fn),[a,o,r,i]=y(this,ko),l=new Float32Array((((d=y(this,Hc))==null?void 0:d.length)??0)+2);for(let h=0,p=l.length-2;h=6;h-=6)for(let p=0;p<6;p+=2){if(isNaN(n[h+p])){c[u]=c[u+1]=NaN,u+=2;continue}c[u]=n[h+p],c[u+1]=n[h+p+1],u+=2}return oe(this,Ms,aI).call(this,c,u),this.newFreeDrawOutline(c,l,y(this,ko),y(this,e0),y(this,Zh),y(this,Qh))}};ko=new WeakMap,Or=new WeakMap,Zh=new WeakMap,Qh=new WeakMap,Ci=new WeakMap,fn=new WeakMap,$d=new WeakMap,Dd=new WeakMap,Bm=new WeakMap,Vm=new WeakMap,e0=new WeakMap,t0=new WeakMap,Hc=new WeakMap,zm=new WeakMap,Tb=new WeakMap,Mb=new WeakMap,Ms=new WeakSet,p2=function(){const t=y(this,fn).subarray(4,6),n=y(this,fn).subarray(16,18),[s,a,o,r]=y(this,ko);return[(y(this,$d)+(t[0]-n[0])/2-s)/o,(y(this,Dd)+(t[1]-n[1])/2-a)/r,(y(this,$d)+(n[0]-t[0])/2-s)/o,(y(this,Dd)+(n[1]-t[1])/2-a)/r]},eI=function(){const[t,n,s,a]=y(this,ko),[o,r,i,l]=oe(this,Ms,p2).call(this);return`M${(y(this,fn)[2]-t)/s} ${(y(this,fn)[3]-n)/a} L${(y(this,fn)[4]-t)/s} ${(y(this,fn)[5]-n)/a} L${o} ${r} L${i} ${l} L${(y(this,fn)[16]-t)/s} ${(y(this,fn)[17]-n)/a} L${(y(this,fn)[14]-t)/s} ${(y(this,fn)[15]-n)/a} Z`},tI=function(t){const n=y(this,Or);t.push(`L${n[4]} ${n[5]} Z`)},nI=function(t){const[n,s,a,o]=y(this,ko),r=y(this,fn).subarray(4,6),i=y(this,fn).subarray(16,18),[l,c,u,d]=oe(this,Ms,p2).call(this);t.push(`L${(r[0]-n)/a} ${(r[1]-s)/o} L${l} ${c} L${u} ${d} L${(i[0]-n)/a} ${(i[1]-s)/o}`)},sI=function(t){const n=y(this,fn),[s,a,o,r]=y(this,ko),[i,l,c,u]=oe(this,Ms,p2).call(this),d=new Float32Array(36);return d.set([NaN,NaN,NaN,NaN,(n[2]-s)/o,(n[3]-a)/r,NaN,NaN,NaN,NaN,(n[4]-s)/o,(n[5]-a)/r,NaN,NaN,NaN,NaN,i,l,NaN,NaN,NaN,NaN,c,u,NaN,NaN,NaN,NaN,(n[16]-s)/o,(n[17]-a)/r,NaN,NaN,NaN,NaN,(n[14]-s)/o,(n[15]-a)/r],0),this.newFreeDrawOutline(d,t,y(this,ko),y(this,e0),y(this,Zh),y(this,Qh))},aI=function(t,n){const s=y(this,Or);return t.set([NaN,NaN,NaN,NaN,s[4],s[5]],n),n+=6},oI=function(t,n){const s=y(this,fn).subarray(4,6),a=y(this,fn).subarray(16,18),[o,r,i,l]=y(this,ko),[c,u,d,h]=oe(this,Ms,p2).call(this);return t.set([NaN,NaN,NaN,NaN,(s[0]-o)/i,(s[1]-r)/l,NaN,NaN,NaN,NaN,c,u,NaN,NaN,NaN,NaN,d,h,NaN,NaN,NaN,NaN,(a[0]-o)/i,(a[1]-r)/l],n),n+=24},se(Ll,zm,8),se(Ll,Tb,2),se(Ll,Mb,y(Ll,zm)+y(Ll,Tb));let cb=Ll;class tR extends Et{constructor(n,s,a,o,r,i){super();se(this,Pb);se(this,n0);se(this,Fd,new Float32Array(4));se(this,Nl);se(this,Hm);se(this,Ao);se(this,Wm);se(this,fs);q(this,fs,n),q(this,Ao,s),q(this,n0,a),q(this,Wm,o),q(this,Nl,r),q(this,Hm,i),this.lastPoint=[NaN,NaN],oe(this,Pb,rI).call(this,i);const[l,c,u,d]=y(this,Fd);for(let h=0,p=n.length;hn[0]-s[0]||n[1]-s[1]||n[2]-s[2]);const t=[];for(const n of y(this,Wc))n[3]?(t.push(...oe(this,$a,v_).call(this,n)),oe(this,$a,lI).call(this,n)):(oe(this,$a,cI).call(this,n),t.push(...oe(this,$a,v_).call(this,n)));return oe(this,$a,iI).call(this,t)}}jm=new WeakMap,Km=new WeakMap,Wc=new WeakMap,Lr=new WeakMap,$a=new WeakSet,iI=function(t){const n=[],s=new Set;for(const r of t){const[i,l,c]=r;n.push([i,l,r],[i,c,r])}n.sort((r,i)=>r[1]-i[1]||r[0]-i[0]);for(let r=0,i=n.length;r0;){const r=s.values().next().value;let[i,l,c,u,d]=r;s.delete(r);let h=i,p=l;for(o=[i,c],a.push(o);;){let v;if(s.has(u))v=u;else if(s.has(d))v=d;else break;s.delete(v),[i,l,c,u,d]=v,h!==i&&(o.push(h,p,i,p===l?l:c),h=i),p=p===l?c:l}o.push(h,p)}return new N4e(a,y(this,jm),y(this,Km))},n4=function(t){const n=y(this,Lr);let s=0,a=n.length-1;for(;s<=a;){const o=s+a>>1,r=n[o][0];if(r===t)return o;r=0;a--){const[o,r]=y(this,Lr)[a];if(o!==t)break;if(o===t&&r===n){y(this,Lr).splice(a,1);return}}},v_=function(t){const[n,s,a]=t,o=[[n,s,a]],r=oe(this,$a,n4).call(this,a);for(let i=0;i=l){if(p>c)o[u][1]=c;else{if(d===1)return[];o.splice(u,1),u--,d--}continue}o[u][2]=l,p>c&&o.push([n,c,p])}}}return o};class N4e extends Et{constructor(n,s,a){super();se(this,Um);se(this,s0);q(this,s0,n),q(this,Um,s),this.lastPoint=a}toSVGPath(){const n=[];for(const s of y(this,s0)){let[a,o]=s;n.push(`M${a} ${o}`);for(let r=2;r-1?(q(this,Js,!0),oe(this,nn,s4).call(this,n),oe(this,nn,of).call(this)):y(this,$l)&&(q(this,i0,n.anchorNode),q(this,Jm,n.anchorOffset),q(this,Zm,n.focusNode),q(this,Qm,n.focusOffset),oe(this,nn,y_).call(this),oe(this,nn,of).call(this),this.rotate(this.rotation))}static get _keyboardManager(){const n=Cn.prototype;return dn(this,"_keyboardManager",new Ev([[["ArrowLeft","mac+ArrowLeft"],n._moveCaret,{args:[0]}],[["ArrowRight","mac+ArrowRight"],n._moveCaret,{args:[1]}],[["ArrowUp","mac+ArrowUp"],n._moveCaret,{args:[2]}],[["ArrowDown","mac+ArrowDown"],n._moveCaret,{args:[3]}]]))}get telemetryInitialData(){return{action:"added",type:y(this,Js)?"free_highlight":"highlight",color:this._uiManager.highlightColorNames.get(this.color),thickness:y(this,Yo),methodOfCreation:y(this,e2)}}get telemetryFinalData(){return{type:"highlight",color:this._uiManager.highlightColorNames.get(this.color)}}static computeTelemetryFinalData(n){return{numberOfColors:n.get("color").size}}static initialize(n,s){var a;ns.initialize(n,s),Cn._defaultColor||(Cn._defaultColor=((a=s.highlightColors)==null?void 0:a.values().next().value)||"#fff066")}static updateDefaultParams(n,s){switch(n){case mn.HIGHLIGHT_DEFAULT_COLOR:Cn._defaultColor=s;break;case mn.HIGHLIGHT_THICKNESS:Cn._defaultThickness=s;break}}translateInPage(n,s){}get toolbarPosition(){return y(this,c0)}updateParams(n,s){switch(n){case mn.HIGHLIGHT_COLOR:oe(this,nn,dI).call(this,s);break;case mn.HIGHLIGHT_THICKNESS:oe(this,nn,fI).call(this,s);break}}static get defaultPropertiesToUpdate(){return[[mn.HIGHLIGHT_DEFAULT_COLOR,Cn._defaultColor],[mn.HIGHLIGHT_THICKNESS,Cn._defaultThickness]]}get propertiesToUpdate(){return[[mn.HIGHLIGHT_COLOR,this.color||Cn._defaultColor],[mn.HIGHLIGHT_THICKNESS,y(this,Yo)||Cn._defaultThickness],[mn.HIGHLIGHT_FREE,y(this,Js)]]}async addEditToolbar(){const n=await super.addEditToolbar();return n?(this._uiManager.highlightColors&&(q(this,l0,new ub({editor:this})),n.addColorPicker(y(this,l0))),n):null}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}fixAndSetPosition(){return super.fixAndSetPosition(oe(this,nn,v2).call(this))}getBaseTranslation(){return[0,0]}getRect(n,s){return super.getRect(n,s,oe(this,nn,v2).call(this))}onceAdded(n){this.annotationElementId||this.parent.addUndoableEditor(this),n&&this.div.focus()}remove(){oe(this,nn,w_).call(this),this._reportTelemetry({action:"deleted"}),super.remove()}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(oe(this,nn,of).call(this),this.isAttachedToDOM||this.parent.add(this)))}setParent(n){var a;let s=!1;this.parent&&!n?oe(this,nn,w_).call(this):n&&(oe(this,nn,of).call(this,n),s=!this.parent&&((a=this.div)==null?void 0:a.classList.contains("selectedEditor"))),super.setParent(n),this.show(this._isVisible),s&&this.select()}rotate(n){var o,r,i;const{drawLayer:s}=this.parent;let a;y(this,Js)?(n=(n-this.rotation+360)%360,a=oe(o=Cn,Xo,T0).call(o,y(this,Go).box,n)):a=oe(r=Cn,Xo,T0).call(r,[this.x,this.y,this.width,this.height],n),s.updateProperties(y(this,To),{bbox:a,root:{"data-main-rotation":n}}),s.updateProperties(y(this,ya),{bbox:oe(i=Cn,Xo,T0).call(i,y(this,ao).box,n),root:{"data-main-rotation":n}})}render(){if(this.div)return this.div;const n=super.render();y(this,u0)&&(n.setAttribute("aria-label",y(this,u0)),n.setAttribute("role","mark")),y(this,Js)?n.classList.add("free"):this.div.addEventListener("keydown",oe(this,nn,pI).bind(this),{signal:this._uiManager._signal});const s=q(this,zd,document.createElement("div"));n.append(s),s.setAttribute("aria-hidden","true"),s.className="internal",s.style.clipPath=y(this,Vd);const[a,o]=this.parentDimensions;return this.setDims(this.width*a,this.height*o),eb(this,y(this,zd),["pointerover","pointerleave"]),this.enableEditing(),n}pointerover(){var n;this.isSelected||(n=this.parent)==null||n.drawLayer.updateProperties(y(this,ya),{rootClass:{hovered:!0}})}pointerleave(){var n;this.isSelected||(n=this.parent)==null||n.drawLayer.updateProperties(y(this,ya),{rootClass:{hovered:!1}})}_moveCaret(n){switch(this.parent.unselect(this),n){case 0:case 2:oe(this,nn,a4).call(this,!0);break;case 1:case 3:oe(this,nn,a4).call(this,!1);break}}select(){var n;super.select(),y(this,ya)&&((n=this.parent)==null||n.drawLayer.updateProperties(y(this,ya),{rootClass:{hovered:!1,selected:!0}}))}unselect(){var n;super.unselect(),y(this,ya)&&((n=this.parent)==null||n.drawLayer.updateProperties(y(this,ya),{rootClass:{selected:!1}}),y(this,Js)||oe(this,nn,a4).call(this,!1))}get _mustFixPosition(){return!y(this,Js)}show(n=this._isVisible){super.show(n),this.parent&&(this.parent.drawLayer.updateProperties(y(this,To),{rootClass:{hidden:!n}}),this.parent.drawLayer.updateProperties(y(this,ya),{rootClass:{hidden:!n}}))}static startHighlighting(n,s,{target:a,x:o,y:r}){const{x:i,y:l,width:c,height:u}=a.getBoundingClientRect(),d=new AbortController,h=n.combinedSignal(d),p=v=>{d.abort(),oe(this,Xo,bI).call(this,n,v)};window.addEventListener("blur",p,{signal:h}),window.addEventListener("pointerup",p,{signal:h}),window.addEventListener("pointerdown",go,{capture:!0,passive:!1,signal:h}),window.addEventListener("contextmenu",xr,{signal:h}),a.addEventListener("pointermove",oe(this,Xo,gI).bind(this,n),{signal:h}),this._freeHighlight=new _w({x:o,y:r},[i,l,c,u],n.scale,this._defaultThickness/2,s,.001),{id:this._freeHighlightId,clipPathId:this._freeHighlightClipId}=n.drawLayer.draw({bbox:[0,0,1,1],root:{viewBox:"0 0 1 1",fill:this._defaultColor,"fill-opacity":this._defaultOpacity},rootClass:{highlight:!0,free:!0},path:{d:this._freeHighlight.toSVGPath()}},!0,!0)}static async deserialize(n,s,a){var m,g,b,C;let o=null;if(n instanceof QP){const{data:{quadPoints:w,rect:_,rotation:x,id:E,color:T,opacity:R,popupRef:I},parent:{page:{pageNumber:M}}}=n;o=n={annotationType:on.HIGHLIGHT,color:Array.from(T),opacity:R,quadPoints:w,boxes:null,pageIndex:M-1,rect:_.slice(0),rotation:x,id:E,deleted:!1,popupRef:I}}else if(n instanceof bw){const{data:{inkLists:w,rect:_,rotation:x,id:E,color:T,borderStyle:{rawWidth:R},popupRef:I},parent:{page:{pageNumber:M}}}=n;o=n={annotationType:on.HIGHLIGHT,color:Array.from(T),thickness:R,inkLists:w,boxes:null,pageIndex:M-1,rect:_.slice(0),rotation:x,id:E,deleted:!1,popupRef:I}}const{color:r,quadPoints:i,inkLists:l,opacity:c}=n,u=await super.deserialize(n,s,a);u.color=Nt.makeHexColor(...r),q(u,Dl,c||1),l&&q(u,Yo,n.thickness),u.annotationElementId=n.id||null,u._initialData=o;const[d,h]=u.pageDimensions,[p,v]=u.pageTranslation;if(i){const w=q(u,$l,[]);for(let _=0;_=0)q(this,To,s),q(this,Vd,a),this.parent.drawLayer.finalizeDraw(s,{bbox:n.box,path:{d:n.toSVGPath()}}),q(this,ya,this.parent.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:!0},bbox:y(this,ao).box,path:{d:y(this,ao).toSVGPath()}},!0));else if(this.parent){const p=this.parent.viewport.rotation;this.parent.drawLayer.updateProperties(y(this,To),{bbox:oe(d=Cn,Xo,T0).call(d,y(this,Go).box,(p-this.rotation+360)%360),path:{d:n.toSVGPath()}}),this.parent.drawLayer.updateProperties(y(this,ya),{bbox:oe(h=Cn,Xo,T0).call(h,y(this,ao).box,p),path:{d:y(this,ao).toSVGPath()}})}const[r,i,l,c]=n.box;switch(this.rotation){case 0:this.x=r,this.y=i,this.width=l,this.height=c;break;case 90:{const[p,v]=this.parentDimensions;this.x=i,this.y=1-r,this.width=l*v/p,this.height=c*p/v;break}case 180:this.x=1-r,this.y=1-i,this.width=l,this.height=c;break;case 270:{const[p,v]=this.parentDimensions;this.x=1-i,this.y=r,this.width=l*v/p,this.height=c*p/v;break}}const{lastPoint:u}=y(this,ao);q(this,c0,[(u[0]-r)/l,(u[1]-i)/c])},dI=function(n){const s=(r,i)=>{var l,c;this.color=r,q(this,Dl,i),(l=this.parent)==null||l.drawLayer.updateProperties(y(this,To),{root:{fill:r,"fill-opacity":i}}),(c=y(this,l0))==null||c.updateColor(r)},a=this.color,o=y(this,Dl);this.addCommands({cmd:s.bind(this,n,Cn._defaultOpacity),undo:s.bind(this,a,o),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:mn.HIGHLIGHT_COLOR,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"color_changed",color:this._uiManager.highlightColorNames.get(n)},!0)},fI=function(n){const s=y(this,Yo),a=o=>{q(this,Yo,o),oe(this,nn,hI).call(this,o)};this.addCommands({cmd:a.bind(this,n),undo:a.bind(this,s),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:mn.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"thickness_changed",thickness:n},!0)},hI=function(n){if(!y(this,Js))return;oe(this,nn,s4).call(this,{highlightOutlines:y(this,Go).getNewOutline(n/2)}),this.fixAndSetPosition();const[s,a]=this.parentDimensions;this.setDims(this.width*s,this.height*a)},w_=function(){y(this,To)===null||!this.parent||(this.parent.drawLayer.remove(y(this,To)),q(this,To,null),this.parent.drawLayer.remove(y(this,ya)),q(this,ya,null))},of=function(n=this.parent){y(this,To)===null&&({id:za(this,To)._,clipPathId:za(this,Vd)._}=n.drawLayer.draw({bbox:y(this,Go).box,root:{viewBox:"0 0 1 1",fill:this.color,"fill-opacity":y(this,Dl)},rootClass:{highlight:!0,free:y(this,Js)},path:{d:y(this,Go).toSVGPath()}},!1,!0),q(this,ya,n.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:y(this,Js)},bbox:y(this,ao).box,path:{d:y(this,ao).toSVGPath()}},y(this,Js))),y(this,zd)&&(y(this,zd).style.clipPath=y(this,Vd)))},Xo=new WeakSet,T0=function([n,s,a,o],r){switch(r){case 90:return[1-s-o,n,o,a];case 180:return[1-n-a,1-s-o,a,o];case 270:return[s,1-n-a,o,a]}return[n,s,a,o]},pI=function(n){Cn._keyboardManager.exec(this,n)},a4=function(n){if(!y(this,i0))return;const s=window.getSelection();n?s.setPosition(y(this,i0),y(this,Jm)):s.setPosition(y(this,Zm),y(this,Qm))},v2=function(){return y(this,Js)?this.rotation:0},vI=function(){if(y(this,Js))return null;const[n,s]=this.pageDimensions,[a,o]=this.pageTranslation,r=y(this,$l),i=new Float32Array(r.length*8);let l=0;for(const{x:c,y:u,width:d,height:h}of r){const p=c*n+a,v=(1-u)*s+o;i[l]=i[l+4]=p,i[l+1]=i[l+3]=v,i[l+2]=i[l+6]=p+d*n,i[l+5]=i[l+7]=v-h*s,l+=8}return i},mI=function(n){return y(this,Go).serialize(n,oe(this,nn,v2).call(this))},gI=function(n,s){this._freeHighlight.add(s)&&n.drawLayer.updateProperties(this._freeHighlightId,{path:{d:this._freeHighlight.toSVGPath()}})},bI=function(n,s){this._freeHighlight.isEmpty()?n.drawLayer.remove(this._freeHighlightId):n.createAndAddNewEditor(s,!1,{highlightId:this._freeHighlightId,highlightOutlines:this._freeHighlight.getOutlines(),clipPathId:this._freeHighlightClipId,methodOfCreation:"main_toolbar"}),this._freeHighlightId=-1,this._freeHighlight=null,this._freeHighlightClipId=""},yI=function(n){const{color:s}=this._initialData;return n.color.some((a,o)=>a!==s[o])},se(Cn,Xo),zt(Cn,"_defaultColor",null),zt(Cn,"_defaultOpacity",1),zt(Cn,"_defaultThickness",12),zt(Cn,"_type","highlight"),zt(Cn,"_editorType",on.HIGHLIGHT),zt(Cn,"_freeHighlightId",-1),zt(Cn,"_freeHighlight",null),zt(Cn,"_freeHighlightClipId","");let db=Cn;class D4e{constructor(){se(this,Hd,Object.create(null))}updateProperty(t,n){this[t]=n,this.updateSVGProperty(t,n)}updateProperties(t){if(t)for(const[n,s]of Object.entries(t))this.updateProperty(n,s)}updateSVGProperty(t,n){y(this,Hd)[t]=n}toSVGProperties(){const t=y(this,Hd);return q(this,Hd,Object.create(null)),{root:t}}reset(){q(this,Hd,Object.create(null))}updateAll(t=this){this.updateProperties(t)}clone(){Bn("Not implemented")}}Hd=new WeakMap;const Mt=class Mt extends ns{constructor(n){super(n);se(this,gn);se(this,Mo,null);se(this,d0);zt(this,"_drawId",null);q(this,d0,n.mustBeCommitted||!1),n.drawOutlines&&(oe(this,gn,__).call(this,n),oe(this,gn,m2).call(this))}static _mergeSVGProperties(n,s){const a=new Set(Object.keys(n));for(const[o,r]of Object.entries(s))a.has(o)?Object.assign(n[o],r):n[o]=r;return n}static getDefaultDrawingOptions(n){Bn("Not implemented")}static get typesMap(){Bn("Not implemented")}static get isDrawer(){return!0}static get supportMultipleDrawings(){return!1}static updateDefaultParams(n,s){const a=this.typesMap.get(n);a&&this._defaultDrawingOptions.updateProperty(a,s),this._currentParent&&(y(Mt,zs).updateProperty(a,s),this._currentParent.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}updateParams(n,s){const a=this.constructor.typesMap.get(n);a&&this._updateProperty(n,a,s)}static get defaultPropertiesToUpdate(){const n=[],s=this._defaultDrawingOptions;for(const[a,o]of this.typesMap)n.push([a,s[o]]);return n}get propertiesToUpdate(){const n=[],{_drawingOptions:s}=this;for(const[a,o]of this.constructor.typesMap)n.push([a,s[o]]);return n}_updateProperty(n,s,a){const o=this._drawingOptions,r=o[s],i=l=>{var u;o.updateProperty(s,l);const c=y(this,Mo).updateProperty(s,l);c&&oe(this,gn,g2).call(this,c),(u=this.parent)==null||u.drawLayer.updateProperties(this._drawId,o.toSVGProperties())};this.addCommands({cmd:i.bind(this,a),undo:i.bind(this,r),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:n,overwriteIfSameType:!0,keepUndo:!0})}_onResizing(){var n;(n=this.parent)==null||n.drawLayer.updateProperties(this._drawId,Mt._mergeSVGProperties(y(this,Mo).getPathResizingSVGProperties(oe(this,gn,o4).call(this)),{bbox:oe(this,gn,M0).call(this)}))}_onResized(){var n;(n=this.parent)==null||n.drawLayer.updateProperties(this._drawId,Mt._mergeSVGProperties(y(this,Mo).getPathResizedSVGProperties(oe(this,gn,o4).call(this)),{bbox:oe(this,gn,M0).call(this)}))}_onTranslating(n,s){var a;(a=this.parent)==null||a.drawLayer.updateProperties(this._drawId,{bbox:oe(this,gn,M0).call(this,n,s)})}_onTranslated(){var n;(n=this.parent)==null||n.drawLayer.updateProperties(this._drawId,Mt._mergeSVGProperties(y(this,Mo).getPathTranslatedSVGProperties(oe(this,gn,o4).call(this),this.parentDimensions),{bbox:oe(this,gn,M0).call(this)}))}_onStartDragging(){var n;(n=this.parent)==null||n.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!0}})}_onStopDragging(){var n;(n=this.parent)==null||n.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!1}})}commit(){super.commit(),this.disableEditMode(),this.disableEditing()}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}getBaseTranslation(){return[0,0]}get isResizable(){return!0}onceAdded(n){this.annotationElementId||this.parent.addUndoableEditor(this),this._isDraggable=!0,y(this,d0)&&(q(this,d0,!1),this.commit(),this.parent.setSelected(this),n&&this.isOnScreen&&this.div.focus())}remove(){oe(this,gn,S_).call(this),super.remove()}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(oe(this,gn,m2).call(this),oe(this,gn,g2).call(this,y(this,Mo).box),this.isAttachedToDOM||this.parent.add(this)))}setParent(n){var a;let s=!1;this.parent&&!n?(this._uiManager.removeShouldRescale(this),oe(this,gn,S_).call(this)):n&&(this._uiManager.addShouldRescale(this),oe(this,gn,m2).call(this,n),s=!this.parent&&((a=this.div)==null?void 0:a.classList.contains("selectedEditor"))),super.setParent(n),s&&this.select()}rotate(){this.parent&&this.parent.drawLayer.updateProperties(this._drawId,Mt._mergeSVGProperties({bbox:oe(this,gn,M0).call(this)},y(this,Mo).updateRotation((this.parentRotation-this.rotation+360)%360)))}onScaleChanging(){this.parent&&oe(this,gn,g2).call(this,y(this,Mo).updateParentDimensions(this.parentDimensions,this.parent.scale))}static onScaleChangingWhenDrawing(){}render(){if(this.div)return this.div;const n=super.render();n.classList.add("draw");const s=document.createElement("div");n.append(s),s.setAttribute("aria-hidden","true"),s.className="internal";const[a,o]=this.parentDimensions;return this.setDims(this.width*a,this.height*o),this._uiManager.addShouldRescale(this),this.disableEditing(),n}static createDrawerInstance(n,s,a,o,r){Bn("Not implemented")}static startDrawing(n,s,a,o){var g;const{target:r,offsetX:i,offsetY:l,pointerId:c,pointerType:u}=o;if(y(Mt,Uc)&&y(Mt,Uc)!==u)return;const{viewport:{rotation:d}}=n,{width:h,height:p}=r.getBoundingClientRect(),v=q(Mt,Wd,new AbortController),m=n.combinedSignal(v);if(y(Mt,Kc)||q(Mt,Kc,c),y(Mt,Uc)??q(Mt,Uc,u),window.addEventListener("pointerup",b=>{var C;y(Mt,Kc)===b.pointerId?this._endDraw(b):(C=y(Mt,qc))==null||C.delete(b.pointerId)},{signal:m}),window.addEventListener("pointercancel",b=>{var C;y(Mt,Kc)===b.pointerId?this._currentParent.endDrawingSession():(C=y(Mt,qc))==null||C.delete(b.pointerId)},{signal:m}),window.addEventListener("pointerdown",b=>{y(Mt,Uc)===b.pointerType&&((y(Mt,qc)||q(Mt,qc,new Set)).add(b.pointerId),y(Mt,zs).isCancellable()&&(y(Mt,zs).removeLastElement(),y(Mt,zs).isEmpty()?this._currentParent.endDrawingSession(!0):this._endDraw(null)))},{capture:!0,passive:!1,signal:m}),window.addEventListener("contextmenu",xr,{signal:m}),r.addEventListener("pointermove",this._drawMove.bind(this),{signal:m}),r.addEventListener("touchmove",b=>{b.timeStamp===y(Mt,Kd)&&go(b)},{signal:m}),n.toggleDrawing(),(g=s._editorUndoBar)==null||g.hide(),y(Mt,zs)){n.drawLayer.updateProperties(this._currentDrawId,y(Mt,zs).startNew(i,l,h,p,d));return}s.updateUIForDefaultProperties(this),q(Mt,zs,this.createDrawerInstance(i,l,h,p,d)),q(Mt,jd,this.getDefaultDrawingOptions()),this._currentParent=n,{id:this._currentDrawId}=n.drawLayer.draw(this._mergeSVGProperties(y(Mt,jd).toSVGProperties(),y(Mt,zs).defaultSVGProperties),!0,!1)}static _drawMove(n){var r;if(q(Mt,Kd,-1),!y(Mt,zs))return;const{offsetX:s,offsetY:a,pointerId:o}=n;if(y(Mt,Kc)===o){if(((r=y(Mt,qc))==null?void 0:r.size)>=1){this._endDraw(n);return}this._currentParent.drawLayer.updateProperties(this._currentDrawId,y(Mt,zs).add(s,a)),q(Mt,Kd,n.timeStamp),go(n)}}static _cleanup(n){n&&(this._currentDrawId=-1,this._currentParent=null,q(Mt,zs,null),q(Mt,jd,null),q(Mt,Uc,null),q(Mt,Kd,NaN)),y(Mt,Wd)&&(y(Mt,Wd).abort(),q(Mt,Wd,null),q(Mt,Kc,NaN),q(Mt,qc,null))}static _endDraw(n){const s=this._currentParent;if(s){if(s.toggleDrawing(!0),this._cleanup(!1),n&&s.drawLayer.updateProperties(this._currentDrawId,y(Mt,zs).end(n.offsetX,n.offsetY)),this.supportMultipleDrawings){const a=y(Mt,zs),o=this._currentDrawId,r=a.getLastElement();s.addCommands({cmd:()=>{s.drawLayer.updateProperties(o,a.setLastElement(r))},undo:()=>{s.drawLayer.updateProperties(o,a.removeLastElement())},mustExec:!1,type:mn.DRAW_STEP});return}this.endDrawing(!1)}}static endDrawing(n){const s=this._currentParent;if(!s)return null;if(s.toggleDrawing(!0),s.cleanUndoStack(mn.DRAW_STEP),!y(Mt,zs).isEmpty()){const{pageDimensions:[a,o],scale:r}=s,i=s.createAndAddNewEditor({offsetX:0,offsetY:0},!1,{drawId:this._currentDrawId,drawOutlines:y(Mt,zs).getOutlines(a*r,o*r,r,this._INNER_MARGIN),drawingOptions:y(Mt,jd),mustBeCommitted:!n});return this._cleanup(!0),i}return s.drawLayer.remove(this._currentDrawId),this._cleanup(!0),null}createDrawingOptions(n){}static deserializeDraw(n,s,a,o,r,i){Bn("Not implemented")}static async deserialize(n,s,a){var d,h;const{rawDims:{pageWidth:o,pageHeight:r,pageX:i,pageY:l}}=s.viewport,c=this.deserializeDraw(i,l,o,r,this._INNER_MARGIN,n),u=await super.deserialize(n,s,a);return u.createDrawingOptions(n),oe(d=u,gn,__).call(d,{drawOutlines:c}),oe(h=u,gn,m2).call(h),u.onScaleChanging(),u.rotate(),u}serializeDraw(n){const[s,a]=this.pageTranslation,[o,r]=this.pageDimensions;return y(this,Mo).serialize([s,a,o,r],n)}renderAnnotationElement(n){return n.updateEdited({rect:this.getRect(0,0)}),null}static canCreateNewEmptyEditor(){return!1}};Mo=new WeakMap,d0=new WeakMap,zs=new WeakMap,Wd=new WeakMap,jd=new WeakMap,Kc=new WeakMap,Uc=new WeakMap,qc=new WeakMap,Kd=new WeakMap,gn=new WeakSet,__=function({drawOutlines:n,drawId:s,drawingOptions:a}){q(this,Mo,n),this._drawingOptions||(this._drawingOptions=a),s>=0?(this._drawId=s,this.parent.drawLayer.finalizeDraw(s,n.defaultProperties)):this._drawId=oe(this,gn,C_).call(this,n,this.parent),oe(this,gn,g2).call(this,n.box)},C_=function(n,s){const{id:a}=s.drawLayer.draw(Mt._mergeSVGProperties(this._drawingOptions.toSVGProperties(),n.defaultSVGProperties),!1,!1);return a},S_=function(){this._drawId===null||!this.parent||(this.parent.drawLayer.remove(this._drawId),this._drawId=null,this._drawingOptions.reset())},m2=function(n=this.parent){if(!(this._drawId!==null&&this.parent===n)){if(this._drawId!==null){this.parent.drawLayer.updateParent(this._drawId,n.drawLayer);return}this._drawingOptions.updateAll(),this._drawId=oe(this,gn,C_).call(this,y(this,Mo),n)}},wI=function([n,s,a,o]){const{parentDimensions:[r,i],rotation:l}=this;switch(l){case 90:return[s,1-n,a*(i/r),o*(r/i)];case 180:return[1-n,1-s,a,o];case 270:return[1-s,n,a*(i/r),o*(r/i)];default:return[n,s,a,o]}},o4=function(){const{x:n,y:s,width:a,height:o,parentDimensions:[r,i],rotation:l}=this;switch(l){case 90:return[1-s,n,a*(r/i),o*(i/r)];case 180:return[1-n,1-s,a,o];case 270:return[s,1-n,a*(r/i),o*(i/r)];default:return[n,s,a,o]}},g2=function(n){if([this.x,this.y,this.width,this.height]=oe(this,gn,wI).call(this,n),this.div){this.fixAndSetPosition();const[s,a]=this.parentDimensions;this.setDims(this.width*s,this.height*a)}this._onResized()},M0=function(){const{x:n,y:s,width:a,height:o,rotation:r,parentRotation:i,parentDimensions:[l,c]}=this;switch((r*4+i)/90){case 1:return[1-s-o,n,o,a];case 2:return[1-n-a,1-s-o,a,o];case 3:return[s,1-n-a,o,a];case 4:return[n,s-a*(l/c),o*(c/l),a*(l/c)];case 5:return[1-s,n,a*(l/c),o*(c/l)];case 6:return[1-n-o*(c/l),1-s,o*(c/l),a*(l/c)];case 7:return[s-a*(l/c),1-n-o*(c/l),a*(l/c),o*(c/l)];case 8:return[n-a,s-o,a,o];case 9:return[1-s,n-a,o,a];case 10:return[1-n,1-s,a,o];case 11:return[s-o,1-n,o,a];case 12:return[n-o*(c/l),s,o*(c/l),a*(l/c)];case 13:return[1-s-a*(l/c),n-o*(c/l),a*(l/c),o*(c/l)];case 14:return[1-n,1-s-a*(l/c),o*(c/l),a*(l/c)];case 15:return[s,1-n,a*(l/c),o*(c/l)];default:return[n,s,a,o]}},zt(Mt,"_currentDrawId",-1),zt(Mt,"_currentParent",null),se(Mt,zs,null),se(Mt,Wd,null),se(Mt,jd,null),se(Mt,Kc,NaN),se(Mt,Uc,null),se(Mt,qc,null),se(Mt,Kd,NaN),zt(Mt,"_INNER_MARGIN",3);let Cw=Mt;class F4e{constructor(t,n,s,a,o,r){se(this,h0);se(this,Si,new Float64Array(6));se(this,Hs);se(this,Ws);se(this,Ud);se(this,f0);se(this,Da);se(this,Zs,"");se(this,Jo,0);se(this,qd,new fb);se(this,Gd);se(this,Yd);q(this,Gd,s),q(this,Yd,a),q(this,Ud,o),q(this,f0,r),[t,n]=oe(this,h0,r4).call(this,t,n);const i=q(this,Hs,[NaN,NaN,NaN,NaN,t,n]);q(this,Da,[t,n]),q(this,Ws,[{line:i,points:y(this,Da)}]),y(this,Si).set(i,0)}updateProperty(t,n){t==="stroke-width"&&q(this,f0,n)}isEmpty(){return!y(this,Ws)||y(this,Ws).length===0}isCancellable(){return y(this,Da).length<=10}add(t,n){[t,n]=oe(this,h0,r4).call(this,t,n);const[s,a,o,r]=y(this,Si).subarray(2,6),i=t-o,l=n-r;return Math.hypot(y(this,Gd)*i,y(this,Yd)*l)<=2?null:(y(this,Da).push(t,n),isNaN(s)?(y(this,Si).set([o,r,t,n],2),y(this,Hs).push(NaN,NaN,NaN,NaN,t,n),{path:{d:this.toSVGPath()}}):(isNaN(y(this,Si)[0])&&y(this,Hs).splice(6,6),y(this,Si).set([s,a,o,r,t,n],0),y(this,Hs).push(...Et.createBezierPoints(s,a,o,r,t,n)),{path:{d:this.toSVGPath()}}))}end(t,n){const s=this.add(t,n);return s||(y(this,Da).length===2?{path:{d:this.toSVGPath()}}:null)}startNew(t,n,s,a,o){q(this,Gd,s),q(this,Yd,a),q(this,Ud,o),[t,n]=oe(this,h0,r4).call(this,t,n);const r=q(this,Hs,[NaN,NaN,NaN,NaN,t,n]);q(this,Da,[t,n]);const i=y(this,Ws).at(-1);return i&&(i.line=new Float32Array(i.line),i.points=new Float32Array(i.points)),y(this,Ws).push({line:r,points:y(this,Da)}),y(this,Si).set(r,0),q(this,Jo,0),this.toSVGPath(),null}getLastElement(){return y(this,Ws).at(-1)}setLastElement(t){return y(this,Ws)?(y(this,Ws).push(t),q(this,Hs,t.line),q(this,Da,t.points),q(this,Jo,0),{path:{d:this.toSVGPath()}}):y(this,qd).setLastElement(t)}removeLastElement(){if(!y(this,Ws))return y(this,qd).removeLastElement();y(this,Ws).pop(),q(this,Zs,"");for(let t=0,n=y(this,Ws).length;t_??NaN),h,p,v,m),points:g(l[C].map(_=>_??NaN),h,p,v,m)});const b=new Iw;return b.build(d,a,o,1,c,u,r),b}get box(){return y(this,Fa)}updateProperty(n,s){return n==="stroke-width"?oe(this,Qs,SI).call(this,s):null}updateParentDimensions([n,s],a){const[o,r]=oe(this,Qs,jl).call(this);q(this,xi,n),q(this,Ei,s),q(this,p0,a);const[i,l]=oe(this,Qs,jl).call(this),c=i-o,u=l-r,d=y(this,Fa);return d[0]-=c,d[1]-=u,d[2]+=2*c,d[3]+=2*u,d}updateRotation(n){return q(this,t2,n),{path:{transform:this.rotationTransform}}}get viewBox(){return y(this,Fa).map(Et.svgRound).join(" ")}get defaultProperties(){const[n,s]=y(this,Fa);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${Et.svgRound(n)} ${Et.svgRound(s)}`}}}get rotationTransform(){const[,,n,s]=y(this,Fa);let a=0,o=0,r=0,i=0,l=0,c=0;switch(y(this,t2)){case 90:o=s/n,r=-n/s,l=n;break;case 180:a=-1,i=-1,l=n,c=s;break;case 270:o=-s/n,r=n/s,c=s;break;default:return""}return`matrix(${a} ${o} ${r} ${i} ${Et.svgRound(l)} ${Et.svgRound(c)})`}getPathResizingSVGProperties([n,s,a,o]){const[r,i]=oe(this,Qs,jl).call(this),[l,c,u,d]=y(this,Fa);if(Math.abs(u-r)<=Et.PRECISION||Math.abs(d-i)<=Et.PRECISION){const g=n+a/2-(l+u/2),b=s+o/2-(c+d/2);return{path:{"transform-origin":`${Et.svgRound(n)} ${Et.svgRound(s)}`,transform:`${this.rotationTransform} translate(${g} ${b})`}}}const h=(a-2*r)/(u-2*r),p=(o-2*i)/(d-2*i),v=u/a,m=d/o;return{path:{"transform-origin":`${Et.svgRound(l)} ${Et.svgRound(c)}`,transform:`${this.rotationTransform} scale(${v} ${m}) translate(${Et.svgRound(r)} ${Et.svgRound(i)}) scale(${h} ${p}) translate(${Et.svgRound(-r)} ${Et.svgRound(-i)})`}}}getPathResizedSVGProperties([n,s,a,o]){const[r,i]=oe(this,Qs,jl).call(this),l=y(this,Fa),[c,u,d,h]=l;if(l[0]=n,l[1]=s,l[2]=a,l[3]=o,Math.abs(d-r)<=Et.PRECISION||Math.abs(h-i)<=Et.PRECISION){const b=n+a/2-(c+d/2),C=s+o/2-(u+h/2);for(const{line:w,points:_}of y(this,Po))Et._translate(w,b,C,w),Et._translate(_,b,C,_);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${Et.svgRound(n)} ${Et.svgRound(s)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}const p=(a-2*r)/(d-2*r),v=(o-2*i)/(h-2*i),m=-p*(c+r)+n+r,g=-v*(u+i)+s+i;if(p!==1||v!==1||m!==0||g!==0)for(const{line:b,points:C}of y(this,Po))Et._rescale(b,m,g,p,v,b),Et._rescale(C,m,g,p,v,C);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${Et.svgRound(n)} ${Et.svgRound(s)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}getPathTranslatedSVGProperties([n,s],a){const[o,r]=a,i=y(this,Fa),l=n-i[0],c=s-i[1];if(y(this,xi)===o&&y(this,Ei)===r)for(const{line:u,points:d}of y(this,Po))Et._translate(u,l,c,u),Et._translate(d,l,c,d);else{const u=y(this,xi)/o,d=y(this,Ei)/r;q(this,xi,o),q(this,Ei,r);for(const{line:h,points:p}of y(this,Po))Et._rescale(h,l,c,u,d,h),Et._rescale(p,l,c,u,d,p);i[2]*=u,i[3]*=d}return i[0]=n,i[1]=s,{root:{viewBox:this.viewBox},path:{d:this.toSVGPath(),"transform-origin":`${Et.svgRound(n)} ${Et.svgRound(s)}`}}}get defaultSVGProperties(){const n=y(this,Fa);return{root:{viewBox:this.viewBox},rootClass:{draw:!0},path:{d:this.toSVGPath(),"transform-origin":`${Et.svgRound(n[0])} ${Et.svgRound(n[1])}`,transform:this.rotationTransform||null},bbox:n}}};Fa=new WeakMap,t2=new WeakMap,n2=new WeakMap,Po=new WeakMap,xi=new WeakMap,Ei=new WeakMap,p0=new WeakMap,v0=new WeakMap,m0=new WeakMap,Qs=new WeakSet,jl=function(n=y(this,m0)){const s=y(this,n2)+n/2*y(this,p0);return y(this,v0)%180===0?[s/y(this,xi),s/y(this,Ei)]:[s/y(this,Ei),s/y(this,xi)]},_I=function(){const[n,s,a,o]=y(this,Fa),[r,i]=oe(this,Qs,jl).call(this,0);return[n+r,s+i,a-2*r,o-2*i]},CI=function(){const n=q(this,Fa,new Float32Array([1/0,1/0,-1/0,-1/0]));for(const{line:o}of y(this,Po)){if(o.length<=12){for(let l=4,c=o.length;li!==s[l])||n.thickness!==a||n.opacity!==o||n.pageIndex!==r},zt(b0,"_type","ink"),zt(b0,"_editorType",on.INK),zt(b0,"_defaultDrawingOptions",null);let xw=b0;const s2=class s2 extends ns{constructor(n){super({...n,name:"stampEditor"});se(this,yn);se(this,as,null);se(this,ea,null);se(this,Gc,null);se(this,Fl,null);se(this,Yc,null);se(this,y0,"");se(this,ki,null);se(this,Ai,null);se(this,Ro,!1);se(this,w0,!1);q(this,Fl,n.bitmapUrl),q(this,Yc,n.bitmapFile)}static initialize(n,s){ns.initialize(n,s)}static get supportedTypes(){return dn(this,"supportedTypes",["apng","avif","bmp","gif","jpeg","png","svg+xml","webp","x-icon"].map(s=>`image/${s}`))}static get supportedTypesStr(){return dn(this,"supportedTypesStr",this.supportedTypes.join(","))}static isHandlingMimeForPasting(n){return this.supportedTypes.includes(n)}static paste(n,s){s.pasteEditor(on.STAMP,{bitmapFile:n.getAsFile()})}altTextFinish(){this._uiManager.useNewAltTextFlow&&(this.div.hidden=!1),super.altTextFinish()}get telemetryFinalData(){var n;return{type:"stamp",hasAltText:!!((n=this.altTextData)!=null&&n.altText)}}static computeTelemetryFinalData(n){const s=n.get("hasAltText");return{hasAltText:s.get(!0)??0,hasNoAltText:s.get(!1)??0}}async mlGuessAltText(n=null,s=!0){if(this.hasAltTextData())return null;const{mlManager:a}=this._uiManager;if(!a)throw new Error("No ML.");if(!await a.isEnabledFor("altText"))throw new Error("ML isn't enabled for alt text.");const{data:o,width:r,height:i}=n||this.copyCanvas(null,null,!0).imageData,l=await a.guess({name:"altText",request:{data:o,width:r,height:i,channels:o.length/(r*i)}});if(!l)throw new Error("No response from the AI service.");if(l.error)throw new Error("Error from the AI service.");if(l.cancel)return null;if(!l.output)throw new Error("No valid response from the AI service.");const c=l.output;return await this.setGuessedAltText(c),s&&!this.hasAltTextData()&&(this.altTextData={alt:c,decorative:!1}),c}remove(){var n;y(this,ea)&&(q(this,as,null),this._uiManager.imageManager.deleteId(y(this,ea)),(n=y(this,ki))==null||n.remove(),q(this,ki,null),y(this,Ai)&&(clearTimeout(y(this,Ai)),q(this,Ai,null))),super.remove()}rebuild(){if(!this.parent){y(this,ea)&&oe(this,yn,i4).call(this);return}super.rebuild(),this.div!==null&&(y(this,ea)&&y(this,ki)===null&&oe(this,yn,i4).call(this),this.isAttachedToDOM||this.parent.add(this))}onceAdded(n){this._isDraggable=!0,n&&this.div.focus()}isEmpty(){return!(y(this,Gc)||y(this,as)||y(this,Fl)||y(this,Yc)||y(this,ea))}get isResizable(){return!0}render(){if(this.div)return this.div;let n,s;if(this.width&&(n=this.x,s=this.y),super.render(),this.div.hidden=!0,this.div.setAttribute("role","figure"),this.addAltTextButton(),y(this,as)?oe(this,yn,x_).call(this):oe(this,yn,i4).call(this),this.width&&!this.annotationElementId){const[a,o]=this.parentDimensions;this.setAt(n*a,s*o,this.width*a,this.height*o)}return this._uiManager.addShouldRescale(this),this.div}_onResized(){this.onScaleChanging()}onScaleChanging(){if(!this.parent)return;y(this,Ai)!==null&&clearTimeout(y(this,Ai)),q(this,Ai,setTimeout(()=>{q(this,Ai,null),oe(this,yn,E_).call(this)},200))}copyCanvas(n,s,a=!1){var p;n||(n=224);const{width:o,height:r}=y(this,as),i=new nw;let l=y(this,as),c=o,u=r,d=null;if(s){if(o>s||r>s){const R=Math.min(s/o,s/r);c=Math.floor(o*R),u=Math.floor(r*R)}d=document.createElement("canvas");const v=d.width=Math.ceil(c*i.sx),m=d.height=Math.ceil(u*i.sy);y(this,Ro)||(l=oe(this,yn,l4).call(this,v,m));const g=d.getContext("2d");g.filter=this._uiManager.hcmFilter;let b="white",C="#cfcfd8";this._uiManager.hcmFilter!=="none"?C="black":(p=window.matchMedia)!=null&&p.call(window,"(prefers-color-scheme: dark)").matches&&(b="#8f8f9d",C="#42414d");const w=15,_=w*i.sx,x=w*i.sy,E=new OffscreenCanvas(_*2,x*2),T=E.getContext("2d");T.fillStyle=b,T.fillRect(0,0,_*2,x*2),T.fillStyle=C,T.fillRect(0,0,_,x),T.fillRect(_,x,_,x),g.fillStyle=g.createPattern(E,"repeat"),g.fillRect(0,0,v,m),g.drawImage(l,0,0,l.width,l.height,0,0,v,m)}let h=null;if(a){let v,m;if(i.symmetric&&l.widthn||r>n){const C=Math.min(n/o,n/r);v=Math.floor(o*C),m=Math.floor(r*C),y(this,Ro)||(l=oe(this,yn,l4).call(this,v,m))}const b=new OffscreenCanvas(v,m).getContext("2d",{willReadFrequently:!0});b.drawImage(l,0,0,l.width,l.height,0,0,v,m),h={width:v,height:m,data:b.getImageData(0,0,v,m).data}}return{canvas:d,width:c,height:u,imageData:h}}getImageForAltText(){return y(this,ki)}static async deserialize(n,s,a){var m;let o=null;if(n instanceof eR){const{data:{rect:g,rotation:b,id:C,structParent:w,popupRef:_},container:x,parent:{page:{pageNumber:E}}}=n,T=x.querySelector("canvas"),R=a.imageManager.getFromCanvas(x.id,T);T.remove();const I=((m=await s._structTree.getAriaAttributes(`${J8}${C}`))==null?void 0:m.get("aria-label"))||"";o=n={annotationType:on.STAMP,bitmapId:R.id,bitmap:R.bitmap,pageIndex:E-1,rect:g.slice(0),rotation:b,id:C,deleted:!1,accessibilityData:{decorative:!1,altText:I},isSvg:!1,structParent:w,popupRef:_}}const r=await super.deserialize(n,s,a),{rect:i,bitmap:l,bitmapUrl:c,bitmapId:u,isSvg:d,accessibilityData:h}=n;u&&a.imageManager.isValidId(u)?(q(r,ea,u),l&&q(r,as,l)):q(r,Fl,c),q(r,Ro,d);const[p,v]=r.pageDimensions;return r.width=(i[2]-i[0])/p,r.height=(i[3]-i[1])/v,r.annotationElementId=n.id||null,h&&(r.altTextData=h),r._initialData=o,q(r,w0,!!o),r}serialize(n=!1,s=null){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const a={annotationType:on.STAMP,bitmapId:y(this,ea),pageIndex:this.pageIndex,rect:this.getRect(0,0),rotation:this.rotation,isSvg:y(this,Ro),structTreeParentId:this._structTreeParentId};if(n)return a.bitmapUrl=oe(this,yn,c4).call(this,!0),a.accessibilityData=this.serializeAltText(!0),a;const{decorative:o,altText:r}=this.serializeAltText(!1);if(!o&&r&&(a.accessibilityData={type:"Figure",alt:r}),this.annotationElementId){const l=oe(this,yn,EI).call(this,a);if(l.isSame)return null;l.isSameAltText?delete a.accessibilityData:a.accessibilityData.structParent=this._initialData.structParent??-1}if(a.id=this.annotationElementId,s===null)return a;s.stamps||(s.stamps=new Map);const i=y(this,Ro)?(a.rect[2]-a.rect[0])*(a.rect[3]-a.rect[1]):null;if(!s.stamps.has(y(this,ea)))s.stamps.set(y(this,ea),{area:i,serialized:a}),a.bitmap=oe(this,yn,c4).call(this,!1);else if(y(this,Ro)){const l=s.stamps.get(y(this,ea));i>l.area&&(l.area=i,l.serialized.bitmap.close(),l.serialized.bitmap=oe(this,yn,c4).call(this,!1))}return a}renderAnnotationElement(n){return n.updateEdited({rect:this.getRect(0,0)}),null}};as=new WeakMap,ea=new WeakMap,Gc=new WeakMap,Fl=new WeakMap,Yc=new WeakMap,y0=new WeakMap,ki=new WeakMap,Ai=new WeakMap,Ro=new WeakMap,w0=new WeakMap,yn=new WeakSet,b2=function(n,s=!1){if(!n){this.remove();return}q(this,as,n.bitmap),s||(q(this,ea,n.id),q(this,Ro,n.isSvg)),n.file&&q(this,y0,n.file.name),oe(this,yn,x_).call(this)},y2=function(){if(q(this,Gc,null),this._uiManager.enableWaiting(!1),!!y(this,ki)){if(this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&y(this,as)){this._editToolbar.hide(),this._uiManager.editAltText(this,!0);return}if(!this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&y(this,as)){this._reportTelemetry({action:"pdfjs.image.image_added",data:{alt_text_modal:!1,alt_text_type:"empty"}});try{this.mlGuessAltText()}catch{}}this.div.focus()}},i4=function(){if(y(this,ea)){this._uiManager.enableWaiting(!0),this._uiManager.imageManager.getFromId(y(this,ea)).then(a=>oe(this,yn,b2).call(this,a,!0)).finally(()=>oe(this,yn,y2).call(this));return}if(y(this,Fl)){const a=y(this,Fl);q(this,Fl,null),this._uiManager.enableWaiting(!0),q(this,Gc,this._uiManager.imageManager.getFromUrl(a).then(o=>oe(this,yn,b2).call(this,o)).finally(()=>oe(this,yn,y2).call(this)));return}if(y(this,Yc)){const a=y(this,Yc);q(this,Yc,null),this._uiManager.enableWaiting(!0),q(this,Gc,this._uiManager.imageManager.getFromFile(a).then(o=>oe(this,yn,b2).call(this,o)).finally(()=>oe(this,yn,y2).call(this)));return}const n=document.createElement("input");n.type="file",n.accept=s2.supportedTypesStr;const s=this._uiManager._signal;q(this,Gc,new Promise(a=>{n.addEventListener("change",async()=>{if(!n.files||n.files.length===0)this.remove();else{this._uiManager.enableWaiting(!0);const o=await this._uiManager.imageManager.getFromFile(n.files[0]);this._reportTelemetry({action:"pdfjs.image.image_selected",data:{alt_text_modal:this._uiManager.useNewAltTextFlow}}),oe(this,yn,b2).call(this,o)}a()},{signal:s}),n.addEventListener("cancel",()=>{this.remove(),a()},{signal:s})}).finally(()=>oe(this,yn,y2).call(this))),n.click()},x_=function(){var d;const{div:n}=this;let{width:s,height:a}=y(this,as);const[o,r]=this.pageDimensions,i=.75;if(this.width)s=this.width*o,a=this.height*r;else if(s>i*o||a>i*r){const h=Math.min(i*o/s,i*r/a);s*=h,a*=h}const[l,c]=this.parentDimensions;this.setDims(s*l/o,a*c/r),this._uiManager.enableWaiting(!1);const u=q(this,ki,document.createElement("canvas"));u.setAttribute("role","img"),this.addContainer(u),this.width=s/o,this.height=a/r,(d=this._initialOptions)!=null&&d.isCentered?this.center():this.fixAndSetPosition(),this._initialOptions=null,(!this._uiManager.useNewAltTextWhenAddingImage||!this._uiManager.useNewAltTextFlow||this.annotationElementId)&&(n.hidden=!1),oe(this,yn,E_).call(this),y(this,w0)||(this.parent.addUndoableEditor(this),q(this,w0,!0)),this._reportTelemetry({action:"inserted_image"}),y(this,y0)&&u.setAttribute("aria-label",y(this,y0))},l4=function(n,s){const{width:a,height:o}=y(this,as);let r=a,i=o,l=y(this,as);for(;r>2*n||i>2*s;){const c=r,u=i;r>2*n&&(r=r>=16384?Math.floor(r/2)-1:Math.ceil(r/2)),i>2*s&&(i=i>=16384?Math.floor(i/2)-1:Math.ceil(i/2));const d=new OffscreenCanvas(r,i);d.getContext("2d").drawImage(l,0,0,c,u,0,0,r,i),l=d.transferToImageBitmap()}return l},E_=function(){const[n,s]=this.parentDimensions,{width:a,height:o}=this,r=new nw,i=Math.ceil(a*n*r.sx),l=Math.ceil(o*s*r.sy),c=y(this,ki);if(!c||c.width===i&&c.height===l)return;c.width=i,c.height=l;const u=y(this,Ro)?y(this,as):oe(this,yn,l4).call(this,i,l),d=c.getContext("2d");d.filter=this._uiManager.hcmFilter,d.drawImage(u,0,0,u.width,u.height,0,0,i,l)},c4=function(n){if(n){if(y(this,Ro)){const o=this._uiManager.imageManager.getSvgUrl(y(this,ea));if(o)return o}const s=document.createElement("canvas");return{width:s.width,height:s.height}=y(this,as),s.getContext("2d").drawImage(y(this,as),0,0),s.toDataURL()}if(y(this,Ro)){const[s,a]=this.pageDimensions,o=Math.round(this.width*s*wc.PDF_TO_CSS_UNITS),r=Math.round(this.height*a*wc.PDF_TO_CSS_UNITS),i=new OffscreenCanvas(o,r);return i.getContext("2d").drawImage(y(this,as),0,0,y(this,as).width,y(this,as).height,0,0,o,r),i.transferToImageBitmap()}return structuredClone(y(this,as))},EI=function(n){var i;const{pageIndex:s,accessibilityData:{altText:a}}=this._initialData,o=n.pageIndex===s,r=(((i=n.accessibilityData)==null?void 0:i.alt)||"")===a;return{isSame:!this._hasBeenMoved&&!this._hasBeenResized&&o&&r,isSameAltText:r}},zt(s2,"_type","stamp"),zt(s2,"_editorType",on.STAMP);let Ew=s2;const Fr=class Fr{constructor({uiManager:t,pageIndex:n,div:s,structTreeLayer:a,accessibilityManager:o,annotationLayer:r,drawLayer:i,textLayer:l,viewport:c,l10n:u}){se(this,Qn);se(this,Xd);se(this,_0,!1);se(this,Ti,null);se(this,Xc,null);se(this,Bl,null);se(this,Zo,new Map);se(this,Jc,!1);se(this,C0,!1);se(this,Jd,!1);se(this,Dr,null);se(this,Vl,null);se(this,wa,null);se(this,zl,null);se(this,Ot);const d=[...y(Fr,Zc).values()];if(!Fr._initialized){Fr._initialized=!0;for(const h of d)h.initialize(u,t)}t.registerEditorTypes(d),q(this,Ot,t),this.pageIndex=n,this.div=s,q(this,Xd,o),q(this,Ti,r),this.viewport=c,q(this,wa,l),this.drawLayer=i,this._structTree=a,y(this,Ot).addLayer(this)}get isEmpty(){return y(this,Zo).size===0}get isInvisible(){return this.isEmpty&&y(this,Ot).getMode()===on.NONE}updateToolbar(t){y(this,Ot).updateToolbar(t)}updateMode(t=y(this,Ot).getMode()){switch(oe(this,Qn,u4).call(this),t){case on.NONE:this.disableTextSelection(),this.togglePointerEvents(!1),this.toggleAnnotationLayerPointerEvents(!0),this.disableClick();return;case on.INK:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick();break;case on.HIGHLIGHT:this.enableTextSelection(),this.togglePointerEvents(!1),this.disableClick();break;default:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick()}this.toggleAnnotationLayerPointerEvents(!1);const{classList:n}=this.div;for(const s of y(Fr,Zc).values())n.toggle(`${s._type}Editing`,t===s._editorType);this.div.hidden=!1}hasTextLayer(t){var n;return t===((n=y(this,wa))==null?void 0:n.div)}setEditingState(t){y(this,Ot).setEditingState(t)}addCommands(t){y(this,Ot).addCommands(t)}cleanUndoStack(t){y(this,Ot).cleanUndoStack(t)}toggleDrawing(t=!1){this.div.classList.toggle("drawing",!t)}togglePointerEvents(t=!1){this.div.classList.toggle("disabled",!t)}toggleAnnotationLayerPointerEvents(t=!1){var n;(n=y(this,Ti))==null||n.div.classList.toggle("disabled",!t)}async enable(){q(this,Jd,!0),this.div.tabIndex=0,this.togglePointerEvents(!0);const t=new Set;for(const s of y(this,Zo).values())s.enableEditing(),s.show(!0),s.annotationElementId&&(y(this,Ot).removeChangedExistingAnnotation(s),t.add(s.annotationElementId));if(!y(this,Ti)){q(this,Jd,!1);return}const n=y(this,Ti).getEditableAnnotations();for(const s of n){if(s.hide(),y(this,Ot).isDeletedAnnotationElement(s.data.id)||t.has(s.data.id))continue;const a=await this.deserialize(s);a&&(this.addOrRebuild(a),a.enableEditing())}q(this,Jd,!1)}disable(){var a;q(this,C0,!0),this.div.tabIndex=-1,this.togglePointerEvents(!1);const t=new Map,n=new Map;for(const o of y(this,Zo).values())if(o.disableEditing(),!!o.annotationElementId){if(o.serialize()!==null){t.set(o.annotationElementId,o);continue}else n.set(o.annotationElementId,o);(a=this.getEditableAnnotation(o.annotationElementId))==null||a.show(),o.remove()}if(y(this,Ti)){const o=y(this,Ti).getEditableAnnotations();for(const r of o){const{id:i}=r.data;if(y(this,Ot).isDeletedAnnotationElement(i))continue;let l=n.get(i);if(l){l.resetAnnotationElement(r),l.show(!1),r.show();continue}l=t.get(i),l&&(y(this,Ot).addChangedExistingAnnotation(l),l.renderAnnotationElement(r)&&l.show(!1)),r.show()}}oe(this,Qn,u4).call(this),this.isEmpty&&(this.div.hidden=!0);const{classList:s}=this.div;for(const o of y(Fr,Zc).values())s.remove(`${o._type}Editing`);this.disableTextSelection(),this.toggleAnnotationLayerPointerEvents(!0),q(this,C0,!1)}getEditableAnnotation(t){var n;return((n=y(this,Ti))==null?void 0:n.getEditableAnnotation(t))||null}setActiveEditor(t){y(this,Ot).getActive()!==t&&y(this,Ot).setActiveEditor(t)}enableTextSelection(){var t;if(this.div.tabIndex=-1,(t=y(this,wa))!=null&&t.div&&!y(this,zl)){q(this,zl,new AbortController);const n=y(this,Ot).combinedSignal(y(this,zl));y(this,wa).div.addEventListener("pointerdown",oe(this,Qn,kI).bind(this),{signal:n}),y(this,wa).div.classList.add("highlighting")}}disableTextSelection(){var t;this.div.tabIndex=0,(t=y(this,wa))!=null&&t.div&&y(this,zl)&&(y(this,zl).abort(),q(this,zl,null),y(this,wa).div.classList.remove("highlighting"))}enableClick(){if(y(this,Xc))return;q(this,Xc,new AbortController);const t=y(this,Ot).combinedSignal(y(this,Xc));this.div.addEventListener("pointerdown",this.pointerdown.bind(this),{signal:t});const n=this.pointerup.bind(this);this.div.addEventListener("pointerup",n,{signal:t}),this.div.addEventListener("pointercancel",n,{signal:t})}disableClick(){var t;(t=y(this,Xc))==null||t.abort(),q(this,Xc,null)}attach(t){y(this,Zo).set(t.id,t);const{annotationElementId:n}=t;n&&y(this,Ot).isDeletedAnnotationElement(n)&&y(this,Ot).removeDeletedAnnotationElement(t)}detach(t){var n;y(this,Zo).delete(t.id),(n=y(this,Xd))==null||n.removePointerInTextLayer(t.contentDiv),!y(this,C0)&&t.annotationElementId&&y(this,Ot).addDeletedAnnotationElement(t)}remove(t){this.detach(t),y(this,Ot).removeEditor(t),t.div.remove(),t.isAttachedToDOM=!1}changeParent(t){var n;t.parent!==this&&(t.parent&&t.annotationElementId&&(y(this,Ot).addDeletedAnnotationElement(t.annotationElementId),ns.deleteAnnotationElement(t),t.annotationElementId=null),this.attach(t),(n=t.parent)==null||n.detach(t),t.setParent(this),t.div&&t.isAttachedToDOM&&(t.div.remove(),this.div.append(t.div)))}add(t){if(!(t.parent===this&&t.isAttachedToDOM)){if(this.changeParent(t),y(this,Ot).addEditor(t),this.attach(t),!t.isAttachedToDOM){const n=t.render();this.div.append(n),t.isAttachedToDOM=!0}t.fixAndSetPosition(),t.onceAdded(!y(this,Jd)),y(this,Ot).addToAnnotationStorage(t),t._reportTelemetry(t.telemetryInitialData)}}moveEditorInDOM(t){var s;if(!t.isAttachedToDOM)return;const{activeElement:n}=document;t.div.contains(n)&&!y(this,Bl)&&(t._focusEventsAllowed=!1,q(this,Bl,setTimeout(()=>{q(this,Bl,null),t.div.contains(document.activeElement)?t._focusEventsAllowed=!0:(t.div.addEventListener("focusin",()=>{t._focusEventsAllowed=!0},{once:!0,signal:y(this,Ot)._signal}),n.focus())},0))),t._structTreeParentId=(s=y(this,Xd))==null?void 0:s.moveElementInDOM(this.div,t.div,t.contentDiv,!0)}addOrRebuild(t){t.needsToBeRebuilt()?(t.parent||(t.parent=this),t.rebuild(),t.show()):this.add(t)}addUndoableEditor(t){const n=()=>t._uiManager.rebuild(t),s=()=>{t.remove()};this.addCommands({cmd:n,undo:s,mustExec:!1})}getNextId(){return y(this,Ot).getId()}combinedSignal(t){return y(this,Ot).combinedSignal(t)}canCreateNewEmptyEditor(){var t;return(t=y(this,Qn,Ri))==null?void 0:t.canCreateNewEmptyEditor()}pasteEditor(t,n){y(this,Ot).updateToolbar(t),y(this,Ot).updateMode(t);const{offsetX:s,offsetY:a}=oe(this,Qn,A_).call(this),o=this.getNextId(),r=oe(this,Qn,k_).call(this,{parent:this,id:o,x:s,y:a,uiManager:y(this,Ot),isCentered:!0,...n});r&&this.add(r)}async deserialize(t){var n;return await((n=y(Fr,Zc).get(t.annotationType??t.annotationEditorType))==null?void 0:n.deserialize(t,this,y(this,Ot)))||null}createAndAddNewEditor(t,n,s={}){const a=this.getNextId(),o=oe(this,Qn,k_).call(this,{parent:this,id:a,x:t.offsetX,y:t.offsetY,uiManager:y(this,Ot),isCentered:n,...s});return o&&this.add(o),o}addNewEditor(){this.createAndAddNewEditor(oe(this,Qn,A_).call(this),!0)}setSelected(t){y(this,Ot).setSelected(t)}toggleSelected(t){y(this,Ot).toggleSelected(t)}unselect(t){y(this,Ot).unselect(t)}pointerup(t){var s;const{isMac:n}=Oa.platform;if(!(t.button!==0||t.ctrlKey&&n)&&t.target===this.div&&y(this,Jc)&&(q(this,Jc,!1),!((s=y(this,Qn,Ri))!=null&&s.isDrawer&&y(this,Qn,Ri).supportMultipleDrawings))){if(!y(this,_0)){q(this,_0,!0);return}if(y(this,Ot).getMode()===on.STAMP){y(this,Ot).unselectAll();return}this.createAndAddNewEditor(t,!1)}}pointerdown(t){var a;if(y(this,Ot).getMode()===on.HIGHLIGHT&&this.enableTextSelection(),y(this,Jc)){q(this,Jc,!1);return}const{isMac:n}=Oa.platform;if(t.button!==0||t.ctrlKey&&n||t.target!==this.div)return;if(q(this,Jc,!0),(a=y(this,Qn,Ri))!=null&&a.isDrawer){this.startDrawingSession(t);return}const s=y(this,Ot).getActive();q(this,_0,!s||s.isEmpty())}startDrawingSession(t){if(this.div.focus(),y(this,Dr)){y(this,Qn,Ri).startDrawing(this,y(this,Ot),!1,t);return}y(this,Ot).setCurrentDrawingSession(this),q(this,Dr,new AbortController);const n=y(this,Ot).combinedSignal(y(this,Dr));this.div.addEventListener("blur",({relatedTarget:s})=>{s&&!this.div.contains(s)&&(q(this,Vl,null),this.commitOrRemove())},{signal:n}),y(this,Qn,Ri).startDrawing(this,y(this,Ot),!1,t)}pause(t){if(t){const{activeElement:n}=document;this.div.contains(n)&&q(this,Vl,n);return}y(this,Vl)&&setTimeout(()=>{var n;(n=y(this,Vl))==null||n.focus(),q(this,Vl,null)},0)}endDrawingSession(t=!1){return y(this,Dr)?(y(this,Ot).setCurrentDrawingSession(null),y(this,Dr).abort(),q(this,Dr,null),q(this,Vl,null),y(this,Qn,Ri).endDrawing(t)):null}findNewParent(t,n,s){const a=y(this,Ot).findParent(n,s);return a===null||a===this?!1:(a.changeParent(t),!0)}commitOrRemove(){return y(this,Dr)?(this.endDrawingSession(),!0):!1}onScaleChanging(){y(this,Dr)&&y(this,Qn,Ri).onScaleChangingWhenDrawing(this)}destroy(){var t,n;this.commitOrRemove(),((t=y(this,Ot).getActive())==null?void 0:t.parent)===this&&(y(this,Ot).commitOrRemove(),y(this,Ot).setActiveEditor(null)),y(this,Bl)&&(clearTimeout(y(this,Bl)),q(this,Bl,null));for(const s of y(this,Zo).values())(n=y(this,Xd))==null||n.removePointerInTextLayer(s.contentDiv),s.setParent(null),s.isAttachedToDOM=!1,s.div.remove();this.div=null,y(this,Zo).clear(),y(this,Ot).removeLayer(this)}render({viewport:t}){this.viewport=t,Hu(this.div,t);for(const n of y(this,Ot).getEditors(this.pageIndex))this.add(n),n.rebuild();this.updateMode()}update({viewport:t}){y(this,Ot).commitOrRemove(),oe(this,Qn,u4).call(this);const n=this.viewport.rotation,s=t.rotation;if(this.viewport=t,Hu(this.div,{rotation:s}),n!==s)for(const a of y(this,Zo).values())a.rotate(s)}get pageDimensions(){const{pageWidth:t,pageHeight:n}=this.viewport.rawDims;return[t,n]}get scale(){return y(this,Ot).viewParameters.realScale}};Xd=new WeakMap,_0=new WeakMap,Ti=new WeakMap,Xc=new WeakMap,Bl=new WeakMap,Zo=new WeakMap,Jc=new WeakMap,C0=new WeakMap,Jd=new WeakMap,Dr=new WeakMap,Vl=new WeakMap,wa=new WeakMap,zl=new WeakMap,Ot=new WeakMap,Zc=new WeakMap,Qn=new WeakSet,kI=function(t){y(this,Ot).unselectAll();const{target:n}=t;if(n===y(this,wa).div||(n.getAttribute("role")==="img"||n.classList.contains("endOfContent"))&&y(this,wa).div.contains(n)){const{isMac:s}=Oa.platform;if(t.button!==0||t.ctrlKey&&s)return;y(this,Ot).showAllEditors("highlight",!0,!0),y(this,wa).div.classList.add("free"),this.toggleDrawing(),db.startHighlighting(this,y(this,Ot).direction==="ltr",{target:y(this,wa).div,x:t.x,y:t.y}),y(this,wa).div.addEventListener("pointerup",()=>{y(this,wa).div.classList.remove("free"),this.toggleDrawing(!0)},{once:!0,signal:y(this,Ot)._signal}),t.preventDefault()}},Ri=function(){return y(Fr,Zc).get(y(this,Ot).getMode())},k_=function(t){const n=y(this,Qn,Ri);return n?new n.prototype.constructor(t):null},A_=function(){const{x:t,y:n,width:s,height:a}=this.div.getBoundingClientRect(),o=Math.max(0,t),r=Math.max(0,n),i=Math.min(window.innerWidth,t+s),l=Math.min(window.innerHeight,n+a),c=(o+i)/2-t,u=(r+l)/2-n,[d,h]=this.viewport.rotation%180===0?[c,u]:[u,c];return{offsetX:d,offsetY:h}},u4=function(){for(const t of y(this,Zo).values())t.isEmpty()&&t.remove()},zt(Fr,"_initialized",!1),se(Fr,Zc,new Map([yw,xw,Ew,db].map(t=>[t._editorType,t])));let kw=Fr;const _a=class _a{constructor({pageIndex:t}){se(this,Mi);se(this,Br,null);se(this,a2,0);se(this,Ba,new Map);se(this,Zd,new Map);this.pageIndex=t}setParent(t){if(!y(this,Br)){q(this,Br,t);return}if(y(this,Br)!==t){if(y(this,Ba).size>0)for(const n of y(this,Ba).values())n.remove(),t.append(n);q(this,Br,t)}}static get _svgFactory(){return dn(this,"_svgFactory",new mw)}draw(t,n=!1,s=!1){const a=za(this,a2)._++,o=oe(this,Mi,T_).call(this),r=_a._svgFactory.createElement("defs");o.append(r);const i=_a._svgFactory.createElement("path");r.append(i);const l=`path_p${this.pageIndex}_${a}`;i.setAttribute("id",l),i.setAttribute("vector-effect","non-scaling-stroke"),n&&y(this,Zd).set(a,i);const c=s?oe(this,Mi,TI).call(this,r,l):null,u=_a._svgFactory.createElement("use");return o.append(u),u.setAttribute("href",`#${l}`),this.updateProperties(o,t),y(this,Ba).set(a,o),{id:a,clipPathId:`url(#${c})`}}drawOutline(t,n){const s=za(this,a2)._++,a=oe(this,Mi,T_).call(this),o=_a._svgFactory.createElement("defs");a.append(o);const r=_a._svgFactory.createElement("path");o.append(r);const i=`path_p${this.pageIndex}_${s}`;r.setAttribute("id",i),r.setAttribute("vector-effect","non-scaling-stroke");let l;if(n){const d=_a._svgFactory.createElement("mask");o.append(d),l=`mask_p${this.pageIndex}_${s}`,d.setAttribute("id",l),d.setAttribute("maskUnits","objectBoundingBox");const h=_a._svgFactory.createElement("rect");d.append(h),h.setAttribute("width","1"),h.setAttribute("height","1"),h.setAttribute("fill","white");const p=_a._svgFactory.createElement("use");d.append(p),p.setAttribute("href",`#${i}`),p.setAttribute("stroke","none"),p.setAttribute("fill","black"),p.setAttribute("fill-rule","nonzero"),p.classList.add("mask")}const c=_a._svgFactory.createElement("use");a.append(c),c.setAttribute("href",`#${i}`),l&&c.setAttribute("mask",`url(#${l})`);const u=c.cloneNode();return a.append(u),c.classList.add("mainOutline"),u.classList.add("secondaryOutline"),this.updateProperties(a,t),y(this,Ba).set(s,a),s}finalizeDraw(t,n){y(this,Zd).delete(t),this.updateProperties(t,n)}updateProperties(t,n){var l;if(!n)return;const{root:s,bbox:a,rootClass:o,path:r}=n,i=typeof t=="number"?y(this,Ba).get(t):t;if(i){if(s&&oe(this,Mi,M_).call(this,i,s),a&&oe(l=_a,Ib,AI).call(l,i,a),o){const{classList:c}=i;for(const[u,d]of Object.entries(o))c.toggle(u,d)}if(r){const u=i.firstChild.firstChild;oe(this,Mi,M_).call(this,u,r)}}}updateParent(t,n){if(n===this)return;const s=y(this,Ba).get(t);s&&(y(n,Br).append(s),y(this,Ba).delete(t),y(n,Ba).set(t,s))}remove(t){y(this,Zd).delete(t),y(this,Br)!==null&&(y(this,Ba).get(t).remove(),y(this,Ba).delete(t))}destroy(){q(this,Br,null);for(const t of y(this,Ba).values())t.remove();y(this,Ba).clear(),y(this,Zd).clear()}};Br=new WeakMap,a2=new WeakMap,Ba=new WeakMap,Zd=new WeakMap,Ib=new WeakSet,AI=function(t,[n,s,a,o]){const{style:r}=t;r.top=`${100*s}%`,r.left=`${100*n}%`,r.width=`${100*a}%`,r.height=`${100*o}%`},Mi=new WeakSet,T_=function(){const t=_a._svgFactory.create(1,1,!0);return y(this,Br).append(t),t.setAttribute("aria-hidden",!0),t},TI=function(t,n){const s=_a._svgFactory.createElement("clipPath");t.append(s);const a=`clip_${n}`;s.setAttribute("id",a),s.setAttribute("clipPathUnits","objectBoundingBox");const o=_a._svgFactory.createElement("use");return s.append(o),o.setAttribute("href",`#${n}`),o.classList.add("clip"),a},M_=function(t,n){for(const[s,a]of Object.entries(n))a===null?t.removeAttribute(s):t.setAttribute(s,a)},se(_a,Ib);let Aw=_a;globalThis.pdfjsTestingUtils={HighlightOutliner:ww},Yt.AbortException,Yt.AnnotationEditorLayer,Yt.AnnotationEditorParamsType,Yt.AnnotationEditorType,Yt.AnnotationEditorUIManager,Yt.AnnotationLayer,Yt.AnnotationMode,Yt.ColorPicker,Yt.DOMSVGFactory,Yt.DrawLayer,Yt.FeatureTest;var B4e=Yt.GlobalWorkerOptions;Yt.ImageKind,Yt.InvalidPDFException,Yt.MissingPDFException,Yt.OPS,Yt.OutputScale,Yt.PDFDataRangeTransport,Yt.PDFDateString,Yt.PDFWorker,Yt.PasswordResponses,Yt.PermissionFlag,Yt.PixelsPerInch,Yt.RenderingCancelledException,Yt.TextLayer,Yt.TouchManager,Yt.UnexpectedResponseException,Yt.Util,Yt.VerbosityLevel,Yt.XfaLayer,Yt.build,Yt.createValidAbsoluteUrl,Yt.fetchData;var V4e=Yt.getDocument;Yt.getFilenameFromUrl,Yt.getPdfFilenameFromUrl,Yt.getXfaPageViewport,Yt.isDataScheme,Yt.isPdfFile,Yt.noContextMenu,Yt.normalizeUnicode,Yt.setLayerDimensions,Yt.shadow,Yt.stopEvent,Yt.version;const z4e=""+new URL("assets/pdf.worker.min-yatZIOMy.mjs",document.currentScript&&document.currentScript.tagName.toUpperCase()==="SCRIPT"&&document.currentScript.src||document.baseURI).href,H4e={class:"manual-wrap"},W4e={class:"sidebar"},j4e={class:"es-text",style:{display:"none"}},K4e={class:"sb-section"},U4e={class:"sb-title"},q4e={key:0,class:"sb-section"},G4e={class:"sb-title"},Y4e={class:"region-type-btns"},X4e=["onClick"],J4e={class:"rt-badge"},Z4e={key:1,class:"sb-section sb-regions"},Q4e={class:"sb-title"},eye={class:"region-list"},tye=["onClick"],nye={class:"ri-top"},sye={class:"ri-badge"},aye={class:"ri-label"},oye={class:"ri-page"},rye={class:"ri-status"},iye={key:0,class:"ri-tokens"},lye={key:0,class:"ri-preview"},cye={key:2,class:"sb-section sb-actions"},uye={key:0,class:"vl-progress-wrap"},dye={class:"vl-progress-label"},fye={key:0},hye={key:1,class:"vl-done"},pye={key:3,class:"sb-section sb-export"},vye={class:"sb-title"},mye={style:{display:"flex",gap:"8px"}},gye={class:"sb-footer"},bye={class:"viewer"},yye={key:0,class:"viewer-nav"},wye={class:"el-button-group"},_ye={class:"nav-label"},Cye={class:"nav-type-indicator"},Sye={class:"el-button-group el-button-group--small"},xye={class:"zoom-bar"},Eye={class:"zoom-pct"},kye={key:1,class:"viewer-empty"},Aye={class:"img-inner"},Tye={key:0,class:"page-loading"},Mye=["data-mode"],Pye={key:0,class:"result-panel"},Rye={class:"rp-header"},Iye={class:"rp-title"},Oye={key:0,class:"rp-tokens"},Lye={class:"rp-text"},Nye=[{path:"/",redirect:"/Manual"},{path:"/Auto",component:B1e},{path:"/Manual",component:il({__name:"ManualOCR",setup(e){B4e.workerSrc=z4e;const t=rP(),n="http://localhost:8000",s=[{key:"A",label:"材料区域",color:"#2563eb"},{key:"B",label:"管线号",color:"#d97706"},{key:"C",label:"其他",color:"#059669"}],a=ge=>{var Ce;return((Ce=s.find(Be=>Be.key===ge))==null?void 0:Ce.color)??"#6b7280"},o=ge=>{var Ce;return((Ce=s.find(Be=>Be.key===ge))==null?void 0:Ce.label)??ge},r=F("file"),i=F(null),l=F(""),c=F(!1),u=F(""),d=F(0),h=F(0),p=F(!1),v=hn(null),m=F(!1);let g=null;const b=F("A"),C=F([]),w=F(null),_=F(!1),x=F(""),E=F(!1),T=F(0),R=F(0),I=F(null),M=F(null),$=F(null),O=F(null),B=[.25,.5,.75,1,1.25,1.5,2,3],U=F(1);function J(){const ge=B.find(Ce=>Ce>U.value+.01);ge&&(U.value=ge)}function Y(){const ge=[...B].reverse().find(Ce=>Cer.value==="file"?!!i.value:l.value.startsWith("http")),ce=k(()=>C.value.filter(ge=>ge.status==="pending").length),Z=k(()=>C.value.filter(ge=>ge.type==="A"&&ge.status==="pending").length),H=k(()=>C.value.filter(ge=>ge.status==="done")),te=k(()=>C.value.find(ge=>ge.id===w.value)||null),de=k(()=>T.value>0?Math.round(R.value/T.value*100):0);let be=null;St(async()=>{try{const Be=await(await fetch(`${n}/api/manual/engine-info`)).json();L.value=Be.status==="ready"?"ready":"error",V.value=Be.error||Be.engine||""}catch(Ce){L.value="error",V.value=Ce.message}const ge=document.getElementById("hdpdfurl2");if(ge&&ge.value&&ge.value.trim()&&(l.value=ge.value.trim(),r.value="url",await Se()),ge){let Ce=ge.value;be=setInterval(async()=>{const Be=ge.value?ge.value.trim():"";Be&&Be!==Ce&&(Ce=Be,l.value=Be,r.value="url",await Se())},2e3)}});async function _e(ge){i.value=ge.raw,await Se(),O.value&&O.value.clearFiles()}async function Se(){c.value=!0;try{let ge,Ce=null;if(r.value==="file"){Ce=await i.value.arrayBuffer();const Re=new FormData;Re.append("file",i.value),ge=await fetch(`${n}/api/manual/upload`,{method:"POST",body:Re})}else ge=await fetch(`${n}/api/manual/upload-url`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({url:l.value.trim()})});if(!ge.ok){const Re=await ge.json().catch(()=>({}));throw new Error(Re.detail||`HTTP ${ge.status}`)}const Be=await ge.json();if(u.value&&fetch(`${n}/api/manual/session/${u.value}`,{method:"DELETE"}).catch(()=>{}),u.value=Be.session_id,d.value=Be.total_pages,h.value=0,C.value=[],w.value=null,p.value=!0,U.value=1,!Ce){const Re=await fetch(`${n}/api/manual/pdf/${Be.session_id}`);if(!Re.ok)throw new Error(`获取 PDF 字节失败 HTTP ${Re.status}`);Ce=await Re.arrayBuffer()}await Ve(Ce),Gs.success(`PDF 加载成功,共 ${Be.total_pages} 页`)}catch(ge){Gs.error(`加载失败:${ge.message}`)}finally{c.value=!1}}function Ne(ge){ge<0||ge>=d.value||(h.value=ge)}me(h,ge=>{ot(),$e(ge)}),me(ae,ge=>{ge==="draw"&&M.value&&(M.value.style.cursor="")}),me(U,()=>{p.value&&v.value&&$e(h.value)});async function Ve(ge){try{const Ce=V4e({data:ge,cMapUrl:"/pdfjs-cmaps/",cMapPacked:!0});v.value=await Ce.promise,$e(0)}catch(Ce){Gs.error(`PDF.js 加载失败:${Ce.message}`)}}async function $e(ge){if(v.value){g&&(g.cancel(),g=null),m.value=!0;try{const Ce=await v.value.getPage(ge+1),Be=window.devicePixelRatio||1,Re=Ce.getViewport({scale:U.value*Be}),Me=$.value;Me.width=Re.width,Me.height=Re.height,Me.style.width=Re.width/Be+"px",Me.style.height=Re.height/Be+"px";const Ze=Me.getContext("2d");g=Ce.render({canvasContext:Ze,viewport:Re}),await g.promise,g=null,Oe()}catch(Ce){(Ce==null?void 0:Ce.name)!=="RenderingCancelledException"&&Gs.error(`页面渲染失败:${Ce.message}`)}finally{m.value=!1}}}let we=null;function Oe(){const ge=$.value,Ce=M.value;if(!ge||!Ce)return;const Be=ge.offsetWidth,Re=ge.offsetHeight;Be===0||Re===0||((Ce.width!==Be||Ce.height!==Re)&&(Ce.width=Be,Ce.height=Re),dt(),we||(we=new ResizeObserver(()=>Oe())),we.disconnect(),we.observe(ge))}window.addEventListener("resize",()=>{p.value&&Oe()});function Pe(ge){const Ce=M.value.getBoundingClientRect();return{x:ge.clientX-Ce.left,y:ge.clientY-Ce.top}}function We(ge){fe.value&&(I.value.scrollLeft=ne.value-ge.clientX,I.value.scrollTop=pe.value-ge.clientY)}function Qe(){fe.value&&(fe.value=!1,M.value&&(M.value.style.cursor=""),window.removeEventListener("mousemove",We),window.removeEventListener("mouseup",Qe))}function it(ge){if(!z.value)return;const{x:Ce,y:Be}=Pe(ge);K.value=Ce,ee.value=Be,dt()}function De(ge){if(!z.value)return;const{x:Ce,y:Be}=Pe(ge);z.value=!1,window.removeEventListener("mousemove",it),window.removeEventListener("mouseup",De);const Re=M.value,Me=Re.width,Ze=Re.height,sn=tf=>Math.max(0,Math.min(Me,tf)),_n=tf=>Math.max(0,Math.min(Ze,tf)),xn=sn(Ce),Rt=_n(Be),Rs=sn(G.value),Is=_n(Q.value),Va=Math.min(Rs,xn),Qc=Math.min(Is,Rt),Qd=Math.abs(xn-Rs),ef=Math.abs(Rt-Is);Qd>8&&ef>8&&C.value.push({id:crypto.randomUUID(),type:b.value,page:h.value,xr:Va/Me,yr:Qc/Ze,wr:Qd/Me,hr:ef/Ze,cx:Va,cy:Qc,cw:Qd,ch:ef,status:"pending",text:"",boxes:[],tokens:null}),ot(),dt()}function Ke(ge){ge.preventDefault();const{x:Ce,y:Be}=Pe(ge);ae.value==="draw"?(z.value=!0,G.value=Ce,Q.value=Be,K.value=Ce,ee.value=Be,window.addEventListener("mousemove",it),window.addEventListener("mouseup",De)):ae.value==="pan"&&(fe.value=!0,ne.value=ge.clientX+I.value.scrollLeft,pe.value=ge.clientY+I.value.scrollTop,M.value.style.cursor="grabbing",window.addEventListener("mousemove",We),window.addEventListener("mouseup",Qe))}function nt(ge){}function Ft(ge){}function Kt(){}function ot(){z.value=!1,G.value=0,Q.value=0,K.value=0,ee.value=0}function dt(){const ge=M.value;if(!ge)return;const Ce=ge.getContext("2d");Ce.clearRect(0,0,ge.width,ge.height);const Be=ge.width,Re=ge.height;for(const Me of C.value){if(Me.page!==h.value)continue;const Ze=Me.xr*Be,sn=Me.yr*Re,_n=Me.wr*Be,xn=Me.hr*Re,Rt=a(Me.type),Rs=Me.id===w.value;Ce.strokeStyle=Rt,Ce.lineWidth=Rs?3:2,Ce.setLineDash(Me.status==="pending"?[5,3]:[]),Ce.strokeRect(Ze,sn,_n,xn),Ce.fillStyle=Rt+"18",Ce.fillRect(Ze,sn,_n,xn);const Is=`${Me.type} ${o(Me.type)}`;Ce.font="bold 12px sans-serif";const Va=Ce.measureText(Is).width+10;Ce.fillStyle=Rt,Ce.fillRect(Ze,sn-18,Va,18),Ce.fillStyle="#fff",Ce.fillText(Is,Ze+5,sn-4)}if(z.value){const Me=Math.min(G.value,K.value),Ze=Math.min(Q.value,ee.value),sn=Math.abs(K.value-G.value),_n=Math.abs(ee.value-Q.value),xn=a(b.value);Ce.strokeStyle=xn,Ce.lineWidth=2,Ce.setLineDash([4,3]),Ce.strokeRect(Me,Ze,sn,_n),Ce.fillStyle=xn+"15",Ce.fillRect(Me,Ze,sn,_n)}}function kt(ge){w.value=ge.id,ge.page!==h.value?Ne(ge.page):dt()}function xe(ge){C.value=C.value.filter(Ce=>Ce.id!==ge),w.value===ge&&(w.value=null),dt()}function qe(){C.value=[],w.value=null,dt()}async function ye(){var Re;const ge=C.value.find(Me=>Me.type==="A");if(!ge)return;C.value.filter(Me=>Me.type==="A"&&Me.status==="pending").forEach(Me=>{Me.status="recognizing"}),E.value=!0,T.value=d.value,R.value=0;const Ce=Math.max(800,Math.round(3500*Math.ceil(d.value/10)/d.value)),Be=setInterval(()=>{R.value({}));throw new Error(xn.detail||`HTTP ${Me.status}`)}const Ze=await Me.json();R.value=T.value;const sn=(Re=Ze.usage)!=null&&Re.total_tokens?Math.round(Ze.usage.total_tokens/(Ze.total_pages||1)):null;for(const xn of Ze.results){let Rt=C.value.find(Is=>Is.type==="A"&&Is.page===xn.page_index);Rt||(Rt={id:crypto.randomUUID(),type:"A",page:xn.page_index,xr:ge.xr,yr:ge.yr,wr:ge.wr,hr:ge.hr,cx:ge.cx,cy:ge.cy,cw:ge.cw,ch:ge.ch,status:"pending",text:"",boxes:[],tokens:null,rows:[]},C.value.push(Rt));const Rs=xn.rows||[];Rt.rows=Rs,Rt.tokens=sn,Rt.text=Rs.length?Rs.map(Is=>[Is.seq_no??"",Is.category??"",Is.description??"",Is.nominal_dia_mm??"",Is.qty??""].filter(Qc=>Qc!=="").join(" | ")).join(` -`):"(该页无材料明细行)",Rt.status=xn._validation_failed?"error":"done"}const _n=Ze.results.filter(xn=>xn._validation_failed).length;_n>0?Gs.warning(`VL 识别完成,${Ze.total_pages} 页中 ${_n} 页校验未通过(内容可能为空)`):Gs.success(`VL 识别完成,共 ${Ze.total_pages} 页`)}catch(Me){clearInterval(Be),C.value.filter(Ze=>Ze.type==="A").forEach(Ze=>{Ze.status==="recognizing"&&(Ze.status="error")}),Gs.error(`VL 识别失败:${Me.message}`)}finally{E.value=!1}}async function Ye(ge){var Ce;ge.status="recognizing";try{const Be=await fetch(`${n}/api/manual/ocr`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({session_id:u.value,page_index:ge.page,x_ratio:ge.xr,y_ratio:ge.yr,w_ratio:ge.wr,h_ratio:ge.hr,region_type:ge.type})});if(!Be.ok){const Me=await Be.json().catch(()=>({}));throw new Error(Me.detail||`HTTP ${Be.status}`)}const Re=await Be.json();ge.text=Re.text,ge.boxes=Re.boxes||[],ge.tokens=((Ce=Re.token_usage)==null?void 0:Ce.total_tokens)??null,ge.status="done",w.value=ge.id,dt()}catch(Be){ge.status="error",Gs.error(`区域 ${ge.type} 识别失败:${Be.message}`)}}async function Ct(){const ge=C.value.find(Ce=>Ce.type==="B");if(ge){C.value.filter(Ce=>Ce.type==="B"&&Ce.status==="pending").forEach(Ce=>{Ce.status="recognizing"});try{const Ce=await fetch(`${n}/api/manual/ocr-all-pages-vl-b`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({session_id:u.value,x_ratio:ge.xr,y_ratio:ge.yr,w_ratio:ge.wr,h_ratio:ge.hr,concurrency:5})});if(!Ce.ok){const Re=await Ce.json().catch(()=>({}));throw new Error(Re.detail||`HTTP ${Ce.status}`)}const Be=await Ce.json();for(const Re of Be.results){let Me=C.value.find(Ze=>Ze.type==="B"&&Ze.page===Re.page_index);Me||(Me={id:crypto.randomUUID(),type:"B",page:Re.page_index,xr:ge.xr,yr:ge.yr,wr:ge.wr,hr:ge.hr,cx:ge.cx,cy:ge.cy,cw:ge.cw,ch:ge.ch,status:"pending",text:"",boxes:[],tokens:null},C.value.push(Me)),Me.text=Re.pipeline_no||"",Me.status=Re.parse_error?"error":"done"}}catch(Ce){C.value.filter(Be=>Be.type==="B"&&Be.status==="recognizing").forEach(Be=>{Be.status="error"}),Gs.error(`管线号 VL 识别失败:${Ce.message}`)}}}function Xt(){var ge,Ce;for(const Be of C.value.filter(Re=>Re.type==="B"&&Re.status==="done")){const Re=(ge=Be.text)==null?void 0:ge.trim();if(!Re)continue;const Me=C.value.find(Ze=>Ze.type==="A"&&Ze.page===Be.page);(Ce=Me==null?void 0:Me.rows)!=null&&Ce.length&&(Me.rows=Me.rows.map(Ze=>({...Ze,pipe_no:Re})))}}async function wn(){if(!C.value.filter(Ze=>Ze.status==="pending").length)return;const Ce=Z.value>0,Be=C.value.some(Ze=>Ze.type==="B"),Re=[];Ce&&Re.push(ye()),Be&&Re.push(Ct()),Re.length&&await Promise.all(Re),Ce&&Be&&Xt();const Me=C.value.filter(Ze=>Ze.type==="C"&&Ze.status==="pending");if(Me.length){_.value=!0;for(const Ze of Me)await Ye(Ze);_.value=!1}Gs.success("全部识别完成"),await ze(),await Sn()}async function Sn(){const ge=H.value;if(ge.length)try{const Ce=await fetch(`${n}/api/manual/export`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({regions:ge.map(Me=>({id:Me.id,region_type:Me.type,page_index:Me.page,text:Me.text,boxes:Me.boxes||[],rows:Me.rows||[]})),format:"json"})});if(!Ce.ok)return;const Be=await Ce.text(),Re=document.getElementById("resultdata");Re&&(Re.value=Be)}catch{}}async function Fe(ge){const Ce=H.value;if(Ce.length){x.value=ge;try{const Be=await fetch(`${n}/api/manual/export`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({regions:Ce.map(sn=>({id:sn.id,region_type:sn.type,page_index:sn.page,text:sn.text,boxes:sn.boxes||[],rows:sn.rows||[]})),format:ge})});if(!Be.ok){const sn=await Be.json().catch(()=>({}));throw new Error(sn.detail||`HTTP ${Be.status}`)}const Re=await Be.blob(),Me=URL.createObjectURL(Re),Ze=document.createElement("a");Ze.href=Me,Ze.download=ge==="excel"?"manual_ocr_result.xlsx":"manual_ocr_result.json",Ze.click(),URL.revokeObjectURL(Me),Gs.success("导出成功")}catch(Be){Gs.error(`导出失败:${Be.message}`)}finally{x.value=""}}}async function st(ge){try{await navigator.clipboard.writeText(ge),Gs.success("已复制")}catch{Gs.warning("请手动复制")}}return cu(()=>{be&&clearInterval(be),we&&we.disconnect(),window.removeEventListener("mousemove",it),window.removeEventListener("mouseup",De),window.removeEventListener("mousemove",We),window.removeEventListener("mouseup",Qe),u.value&&fetch(`${n}/api/manual/session/${u.value}`,{method:"DELETE"}).catch(()=>{})}),(ge,Ce)=>{const Be=Ge("el-icon"),Re=Ge("el-upload"),Me=Ge("el-tab-pane"),Ze=Ge("el-input"),sn=Ge("el-tabs"),_n=Ge("el-tag"),xn=Ge("el-progress");return S(),P("div",H4e,[A("div",W4e,[A("div",{class:D(["engine-badge","es-"+L.value])},[Ce[17]||(Ce[17]=A("span",{class:"es-dot"},null,-1)),A("span",j4e,[Ce[16]||(Ce[16]=Ue(" OCR  ",-1)),L.value==="loading"?(S(),P(He,{key:0},[Ue("引擎加载中…")],64)):L.value==="ready"?(S(),P(He,{key:1},[Ue("引擎就绪")],64)):(S(),P(He,{key:2},[Ue("引擎异常")],64))])],2),A("div",K4e,[A("div",U4e,[j(Be,null,{default:X(()=>[j(f(Cg))]),_:1}),Ce[18]||(Ce[18]=Ue(" 加载 PDF ",-1))]),j(sn,{modelValue:r.value,"onUpdate:modelValue":Ce[2]||(Ce[2]=Rt=>r.value=Rt),class:"src-tabs",size:"small"},{default:X(()=>[j(Me,{label:"本地文件",name:"file"},{default:X(()=>[j(Re,{ref_key:"uploadRef",ref:O,"auto-upload":!1,accept:".pdf","show-file-list":!1,"on-change":_e},{default:X(()=>[A("div",{class:D(["el-button el-button--small el-button--plain",{"is-loading":c.value&&r.value==="file"}]),style:{width:"100%",cursor:"pointer"}},[c.value&&r.value==="file"?(S(),le(Be,{key:0,class:"is-loading"},{default:X(()=>[j(f(Ns))]),_:1})):(S(),le(Be,{key:1},{default:X(()=>[j(f(d9))]),_:1})),Ue(" "+ve(i.value?i.value.name:"选择 PDF(自动加载)…"),1)],2)]),_:1},512)]),_:1}),j(Me,{label:"网络 URL",name:"url"},{default:X(()=>[j(Ze,{modelValue:l.value,"onUpdate:modelValue":Ce[0]||(Ce[0]=Rt=>l.value=Rt),placeholder:"https://…/file.pdf",clearable:"",size:"small"},null,8,["modelValue"]),A("div",{class:D(["el-button el-button--primary el-button--small",{"is-loading":c.value,"is-disabled":!he.value}]),style:{width:"100%","margin-top":"6px",cursor:"pointer"},onClick:Ce[1]||(Ce[1]=Rt=>!c.value&&he.value&&Se())},[c.value?(S(),le(Be,{key:0,class:"is-loading"},{default:X(()=>[j(f(Ns))]),_:1})):(S(),le(Be,{key:1},{default:X(()=>[j(f(Hy))]),_:1})),Ce[19]||(Ce[19]=Ue(" 加载 / 渲染 ",-1))],2)]),_:1})]),_:1},8,["modelValue"])]),p.value?(S(),P("div",q4e,[A("div",G4e,[j(Be,null,{default:X(()=>[j(f(wg))]),_:1}),Ce[20]||(Ce[20]=Ue(" 当前区域类型 ",-1)),Ce[21]||(Ce[21]=A("span",{class:"sb-hint"},"拖拽在右侧图像上框选",-1))]),A("div",Y4e,[(S(),P(He,null,yt(s,Rt=>A("div",{key:Rt.key,class:D(["rt-btn",{active:b.value===Rt.key}]),style:tt({"--rt-color":Rt.color}),onClick:Rs=>b.value=Rt.key},[A("span",J4e,ve(Rt.key),1),Ue(" "+ve(Rt.label),1)],14,X4e)),64))])])):ie("",!0),C.value.length?(S(),P("div",Z4e,[A("div",Q4e,[j(Be,null,{default:X(()=>[j(f(Zx))]),_:1}),Ue(" 已标注区域 ("+ve(C.value.length)+") ",1),A("div",{class:"el-button el-button--link el-button--danger el-button--small",style:{cursor:"pointer"},onClick:qe},"清空")]),A("div",eye,[(S(!0),P(He,null,yt(C.value,Rt=>(S(),P("div",{key:Rt.id,class:D(["region-item",{active:w.value===Rt.id}]),style:tt({"--rt-color":a(Rt.type)}),onClick:Rs=>kt(Rt)},[A("div",nye,[A("span",sye,ve(Rt.type),1),A("span",aye,ve(o(Rt.type)),1),A("span",oye,"P"+ve(Rt.page+1),1),j(Be,{class:"ri-del",onClick:lt(Rs=>xe(Rt.id),["stop"])},{default:X(()=>[j(f(Ua))]),_:1},8,["onClick"])]),A("div",rye,[Rt.status==="pending"?(S(),le(_n,{key:0,size:"small",type:"info"},{default:X(()=>[...Ce[22]||(Ce[22]=[Ue("待识别",-1)])]),_:1})):Rt.status==="recognizing"?(S(),le(_n,{key:1,size:"small",type:"warning"},{default:X(()=>[...Ce[23]||(Ce[23]=[Ue("识别中…",-1)])]),_:1})):Rt.status==="done"?(S(),P(He,{key:2},[j(_n,{size:"small",type:"success"},{default:X(()=>[...Ce[24]||(Ce[24]=[Ue("已完成",-1)])]),_:1}),Rt.tokens?(S(),P("span",iye,ve(Rt.tokens)+"tk",1)):ie("",!0)],64)):Rt.status==="error"?(S(),le(_n,{key:3,size:"small",type:"danger"},{default:X(()=>[...Ce[25]||(Ce[25]=[Ue("失败",-1)])]),_:1})):ie("",!0)]),Rt.text?(S(),P("pre",lye,ve(Rt.text.slice(0,120))+ve(Rt.text.length>120?"…":""),1)):ie("",!0)],14,tye))),128))])])):ie("",!0),p.value&&C.value.length?(S(),P("div",cye,[A("div",{class:D(["el-button el-button--primary el-button--small",{"is-loading":_.value||E.value,"is-disabled":ce.value===0||E.value}]),style:{width:"100%",cursor:"pointer"},onClick:Ce[3]||(Ce[3]=Rt=>!(_.value||E.value)&&ce.value>0&&wn())},[_.value||E.value?(S(),le(Be,{key:0,class:"is-loading"},{default:X(()=>[j(f(Ns))]),_:1})):(S(),le(Be,{key:1},{default:X(()=>[j(f(Yx))]),_:1})),Ue(" 识别所有未处理区域 ("+ve(ce.value)+") ",1)],2),j(vs,{name:"vl-fade"},{default:X(()=>[E.value||R.value>0&&R.value===T.value?(S(),P("div",uye,[A("div",dye,[E.value?(S(),P("span",fye,[Ce[26]||(Ce[26]=A("span",{class:"vl-spin"},"⟳",-1)),Ue(" VL 识别中… "+ve(R.value)+" / "+ve(T.value)+" 页 ",1)])):(S(),P("span",hye,"✓ 完成 "+ve(T.value)+" 页",1))]),j(xn,{percentage:de.value,striped:E.value,"striped-flow":E.value,duration:8,"stroke-width":6,"show-text":!1,status:E.value?"":"success",style:{"margin-top":"4px"}},null,8,["percentage","striped","striped-flow","status"])])):ie("",!0)]),_:1})])):ie("",!0),H.value.length?(S(),P("div",pye,[A("div",vye,[j(Be,null,{default:X(()=>[j(f(Ji))]),_:1}),Ce[27]||(Ce[27]=Ue(" 导出结果 ",-1))]),A("div",mye,[A("div",{class:D(["el-button el-button--small",{"is-loading":x.value==="excel"}]),style:{flex:"1",cursor:"pointer"},onClick:Ce[4]||(Ce[4]=Rt=>Fe("excel"))},[x.value==="excel"?(S(),le(Be,{key:0,class:"is-loading"},{default:X(()=>[j(f(Ns))]),_:1})):(S(),le(Be,{key:1},{default:X(()=>[j(f(Xx))]),_:1})),Ce[28]||(Ce[28]=Ue(" Excel ",-1))],2),A("div",{class:D(["el-button el-button--small",{"is-loading":x.value==="json"}]),style:{flex:"1",cursor:"pointer"},onClick:Ce[5]||(Ce[5]=Rt=>Fe("json"))},[x.value==="json"?(S(),le(Be,{key:0,class:"is-loading"},{default:X(()=>[j(f(Ns))]),_:1})):(S(),le(Be,{key:1},{default:X(()=>[j(f(_g))]),_:1})),Ce[29]||(Ce[29]=Ue(" JSON ",-1))],2)])])):ie("",!0),A("div",gye,[A("div",{class:"el-button el-button--plain el-button--small",style:{width:"100%",cursor:"pointer"},onClick:Ce[6]||(Ce[6]=Rt=>f(t).push("/"))},[j(Be,null,{default:X(()=>[j(f(No))]),_:1}),Ce[30]||(Ce[30]=Ue(" 返回主页 ",-1))])])]),A("div",bye,[p.value?(S(),P("div",yye,[A("div",wye,[A("div",{class:D(["el-button el-button--small",{"is-disabled":h.value===0}]),style:{cursor:"pointer"},onClick:Ce[7]||(Ce[7]=Rt=>h.value!==0&&Ne(h.value-1))},[j(Be,null,{default:X(()=>[j(f(No))]),_:1})],2),A("div",{class:D(["el-button el-button--small",{"is-disabled":h.value===d.value-1}]),style:{cursor:"pointer"},onClick:Ce[8]||(Ce[8]=Rt=>h.value!==d.value-1&&Ne(h.value+1))},[j(Be,null,{default:X(()=>[j(f(Ls))]),_:1})],2)]),A("span",_ye,"第 "+ve(h.value+1)+" / "+ve(d.value)+" 页",1),A("div",Cye,[A("span",{class:"nt-dot",style:tt({background:a(b.value)})},null,4),Ue(" "+ve(b.value)+" — "+ve(o(b.value)),1)]),A("div",Sye,[A("div",{class:D(["el-button el-button--small",{"el-button--primary":ae.value==="draw"}]),style:{cursor:"pointer"},onClick:Ce[9]||(Ce[9]=Rt=>ae.value="draw")},[j(Be,null,{default:X(()=>[j(f(wg))]),_:1}),Ce[31]||(Ce[31]=Ue(" 框选 ",-1))],2),A("div",{class:D(["el-button el-button--small",{"el-button--primary":ae.value==="pan"}]),style:{cursor:"pointer"},onClick:Ce[10]||(Ce[10]=Rt=>ae.value="pan")},[j(Be,null,{default:X(()=>[j(f(a9))]),_:1}),Ce[32]||(Ce[32]=Ue(" 拖动 ",-1))],2)]),A("div",xye,[A("div",{class:D(["el-button el-button--small el-button--plain",{"is-disabled":U.value<=.25}]),style:{cursor:"pointer"},onClick:Ce[11]||(Ce[11]=Rt=>U.value>.25&&Y())},[j(Be,null,{default:X(()=>[j(f(Wy))]),_:1})],2),A("span",Eye,ve(Math.round(U.value*100))+"%",1),A("div",{class:D(["el-button el-button--small el-button--plain",{"is-disabled":U.value>=3}]),style:{cursor:"pointer"},onClick:Ce[12]||(Ce[12]=Rt=>U.value<3&&J())},[j(Be,null,{default:X(()=>[j(f(xg))]),_:1})],2),A("div",{class:"el-button el-button--small el-button--plain",title:"适应宽度",style:{cursor:"pointer"},onClick:Ce[13]||(Ce[13]=Rt=>N())},[j(Be,null,{default:X(()=>[j(f(Fy))]),_:1})])])])):ie("",!0),p.value?ie("",!0):(S(),P("div",kye,[j(Be,{size:"64",style:{color:"#d1d5db"}},{default:X(()=>[j(f(_g))]),_:1}),Ce[33]||(Ce[33]=A("p",null,"请在左侧加载 PDF 文件",-1))])),gt(A("div",{class:"img-wrap",ref_key:"wrapRef",ref:I},[A("div",Aye,[A("canvas",{ref_key:"pdfCanvasRef",ref:$,class:"pdf-canvas"},null,512),m.value?(S(),P("div",Tye,[j(Be,{class:"spin"},{default:X(()=>[j(f(Ns))]),_:1}),Ce[34]||(Ce[34]=Ue(" 渲染页面中… ",-1))])):ie("",!0),A("canvas",{ref_key:"canvasRef",ref:M,class:"overlay-canvas","data-mode":ae.value,onMousedown:Ke,onMousemove:nt,onMouseup:Ft,onMouseleave:Kt},null,40,Mye)])],512),[[Bt,p.value]]),j(vs,{name:"fade"},{default:X(()=>[te.value&&te.value.text?(S(),P("div",Pye,[A("div",Rye,[A("span",{class:"rp-badge",style:tt({background:a(te.value.type)})},ve(te.value.type),5),A("span",Iye,ve(o(te.value.type))+" — 第 "+ve(te.value.page+1)+" 页",1),te.value.tokens?(S(),P("span",Oye,ve(te.value.tokens)+" tokens",1)):ie("",!0),A("div",{class:"el-button el-button--link el-button--small",style:{cursor:"pointer"},onClick:Ce[14]||(Ce[14]=Rt=>st(te.value.text))},"复制"),A("div",{class:"el-button el-button--link el-button--small",style:{cursor:"pointer"},onClick:Ce[15]||(Ce[15]=Rt=>w.value=null)},"×")]),A("pre",Lye,ve(te.value.text),1)])):ie("",!0)]),_:1})])])}}},[["__scopeId","data-v-5e393216"]])}],$ye=Mge({history:lge(),routes:Nye}),hb=JS(S2e);hb.use(O8),hb.use($ye);for(const[e,t]of Object.entries(aJ))hb.component(e,t);hb.mount("#app")})(); +`)){const s=document.createElement("div");s.append(n?document.createTextNode(n):document.createElement("br")),this.editorDiv.append(s)}},ZR=function(){return y(this,xo).replaceAll(" "," ")},p_=function(n){return n.replaceAll(" "," ")},QR=function(n){const{value:s,fontSize:a,color:o,pageIndex:r}=this._initialData;return this._hasBeenMoved||n.value!==s||n.fontSize!==a||n.color.some((i,l)=>i!==o[l])||n.pageIndex!==r},se(Wn,Ol),zt(Wn,"_freeTextDefaultContent",""),zt(Wn,"_internalPadding",0),zt(Wn,"_defaultColor",null),zt(Wn,"_defaultFontSize",10),zt(Wn,"_type","freetext"),zt(Wn,"_editorType",on.FREETEXT);let yw=Wn;class Et{toSVGPath(){Bn("Abstract method `toSVGPath` must be implemented.")}get box(){Bn("Abstract getter `box` must be implemented.")}serialize(t,n){Bn("Abstract method `serialize` must be implemented.")}static _rescale(t,n,s,a,o,r){r||(r=new Float32Array(t.length));for(let i=0,l=t.length;i=6;a-=6)isNaN(n[a])?s.push(`L${n[a+4]} ${n[a+5]}`):s.push(`C${n[a]} ${n[a+1]} ${n[a+2]} ${n[a+3]} ${n[a+4]} ${n[a+5]}`);return oe(this,Ms,tI).call(this,s),s.join(" ")}newFreeDrawOutline(t,n,s,a,o,r){return new tR(t,n,s,a,o,r)}getOutlines(){var d;const t=y(this,Ci),n=y(this,Or),s=y(this,fn),[a,o,r,i]=y(this,ko),l=new Float32Array((((d=y(this,Hc))==null?void 0:d.length)??0)+2);for(let h=0,p=l.length-2;h=6;h-=6)for(let p=0;p<6;p+=2){if(isNaN(n[h+p])){c[u]=c[u+1]=NaN,u+=2;continue}c[u]=n[h+p],c[u+1]=n[h+p+1],u+=2}return oe(this,Ms,aI).call(this,c,u),this.newFreeDrawOutline(c,l,y(this,ko),y(this,e0),y(this,Zh),y(this,Qh))}};ko=new WeakMap,Or=new WeakMap,Zh=new WeakMap,Qh=new WeakMap,Ci=new WeakMap,fn=new WeakMap,$d=new WeakMap,Dd=new WeakMap,Bm=new WeakMap,Vm=new WeakMap,e0=new WeakMap,t0=new WeakMap,Hc=new WeakMap,zm=new WeakMap,Tb=new WeakMap,Mb=new WeakMap,Ms=new WeakSet,p2=function(){const t=y(this,fn).subarray(4,6),n=y(this,fn).subarray(16,18),[s,a,o,r]=y(this,ko);return[(y(this,$d)+(t[0]-n[0])/2-s)/o,(y(this,Dd)+(t[1]-n[1])/2-a)/r,(y(this,$d)+(n[0]-t[0])/2-s)/o,(y(this,Dd)+(n[1]-t[1])/2-a)/r]},eI=function(){const[t,n,s,a]=y(this,ko),[o,r,i,l]=oe(this,Ms,p2).call(this);return`M${(y(this,fn)[2]-t)/s} ${(y(this,fn)[3]-n)/a} L${(y(this,fn)[4]-t)/s} ${(y(this,fn)[5]-n)/a} L${o} ${r} L${i} ${l} L${(y(this,fn)[16]-t)/s} ${(y(this,fn)[17]-n)/a} L${(y(this,fn)[14]-t)/s} ${(y(this,fn)[15]-n)/a} Z`},tI=function(t){const n=y(this,Or);t.push(`L${n[4]} ${n[5]} Z`)},nI=function(t){const[n,s,a,o]=y(this,ko),r=y(this,fn).subarray(4,6),i=y(this,fn).subarray(16,18),[l,c,u,d]=oe(this,Ms,p2).call(this);t.push(`L${(r[0]-n)/a} ${(r[1]-s)/o} L${l} ${c} L${u} ${d} L${(i[0]-n)/a} ${(i[1]-s)/o}`)},sI=function(t){const n=y(this,fn),[s,a,o,r]=y(this,ko),[i,l,c,u]=oe(this,Ms,p2).call(this),d=new Float32Array(36);return d.set([NaN,NaN,NaN,NaN,(n[2]-s)/o,(n[3]-a)/r,NaN,NaN,NaN,NaN,(n[4]-s)/o,(n[5]-a)/r,NaN,NaN,NaN,NaN,i,l,NaN,NaN,NaN,NaN,c,u,NaN,NaN,NaN,NaN,(n[16]-s)/o,(n[17]-a)/r,NaN,NaN,NaN,NaN,(n[14]-s)/o,(n[15]-a)/r],0),this.newFreeDrawOutline(d,t,y(this,ko),y(this,e0),y(this,Zh),y(this,Qh))},aI=function(t,n){const s=y(this,Or);return t.set([NaN,NaN,NaN,NaN,s[4],s[5]],n),n+=6},oI=function(t,n){const s=y(this,fn).subarray(4,6),a=y(this,fn).subarray(16,18),[o,r,i,l]=y(this,ko),[c,u,d,h]=oe(this,Ms,p2).call(this);return t.set([NaN,NaN,NaN,NaN,(s[0]-o)/i,(s[1]-r)/l,NaN,NaN,NaN,NaN,c,u,NaN,NaN,NaN,NaN,d,h,NaN,NaN,NaN,NaN,(a[0]-o)/i,(a[1]-r)/l],n),n+=24},se(Ll,zm,8),se(Ll,Tb,2),se(Ll,Mb,y(Ll,zm)+y(Ll,Tb));let cb=Ll;class tR extends Et{constructor(n,s,a,o,r,i){super();se(this,Pb);se(this,n0);se(this,Fd,new Float32Array(4));se(this,Nl);se(this,Hm);se(this,Ao);se(this,Wm);se(this,fs);q(this,fs,n),q(this,Ao,s),q(this,n0,a),q(this,Wm,o),q(this,Nl,r),q(this,Hm,i),this.lastPoint=[NaN,NaN],oe(this,Pb,rI).call(this,i);const[l,c,u,d]=y(this,Fd);for(let h=0,p=n.length;hn[0]-s[0]||n[1]-s[1]||n[2]-s[2]);const t=[];for(const n of y(this,Wc))n[3]?(t.push(...oe(this,$a,v_).call(this,n)),oe(this,$a,lI).call(this,n)):(oe(this,$a,cI).call(this,n),t.push(...oe(this,$a,v_).call(this,n)));return oe(this,$a,iI).call(this,t)}}jm=new WeakMap,Km=new WeakMap,Wc=new WeakMap,Lr=new WeakMap,$a=new WeakSet,iI=function(t){const n=[],s=new Set;for(const r of t){const[i,l,c]=r;n.push([i,l,r],[i,c,r])}n.sort((r,i)=>r[1]-i[1]||r[0]-i[0]);for(let r=0,i=n.length;r0;){const r=s.values().next().value;let[i,l,c,u,d]=r;s.delete(r);let h=i,p=l;for(o=[i,c],a.push(o);;){let v;if(s.has(u))v=u;else if(s.has(d))v=d;else break;s.delete(v),[i,l,c,u,d]=v,h!==i&&(o.push(h,p,i,p===l?l:c),h=i),p=p===l?c:l}o.push(h,p)}return new N4e(a,y(this,jm),y(this,Km))},n4=function(t){const n=y(this,Lr);let s=0,a=n.length-1;for(;s<=a;){const o=s+a>>1,r=n[o][0];if(r===t)return o;r=0;a--){const[o,r]=y(this,Lr)[a];if(o!==t)break;if(o===t&&r===n){y(this,Lr).splice(a,1);return}}},v_=function(t){const[n,s,a]=t,o=[[n,s,a]],r=oe(this,$a,n4).call(this,a);for(let i=0;i=l){if(p>c)o[u][1]=c;else{if(d===1)return[];o.splice(u,1),u--,d--}continue}o[u][2]=l,p>c&&o.push([n,c,p])}}}return o};class N4e extends Et{constructor(n,s,a){super();se(this,Um);se(this,s0);q(this,s0,n),q(this,Um,s),this.lastPoint=a}toSVGPath(){const n=[];for(const s of y(this,s0)){let[a,o]=s;n.push(`M${a} ${o}`);for(let r=2;r-1?(q(this,Js,!0),oe(this,nn,s4).call(this,n),oe(this,nn,of).call(this)):y(this,$l)&&(q(this,i0,n.anchorNode),q(this,Jm,n.anchorOffset),q(this,Zm,n.focusNode),q(this,Qm,n.focusOffset),oe(this,nn,y_).call(this),oe(this,nn,of).call(this),this.rotate(this.rotation))}static get _keyboardManager(){const n=Cn.prototype;return dn(this,"_keyboardManager",new Ev([[["ArrowLeft","mac+ArrowLeft"],n._moveCaret,{args:[0]}],[["ArrowRight","mac+ArrowRight"],n._moveCaret,{args:[1]}],[["ArrowUp","mac+ArrowUp"],n._moveCaret,{args:[2]}],[["ArrowDown","mac+ArrowDown"],n._moveCaret,{args:[3]}]]))}get telemetryInitialData(){return{action:"added",type:y(this,Js)?"free_highlight":"highlight",color:this._uiManager.highlightColorNames.get(this.color),thickness:y(this,Yo),methodOfCreation:y(this,e2)}}get telemetryFinalData(){return{type:"highlight",color:this._uiManager.highlightColorNames.get(this.color)}}static computeTelemetryFinalData(n){return{numberOfColors:n.get("color").size}}static initialize(n,s){var a;ns.initialize(n,s),Cn._defaultColor||(Cn._defaultColor=((a=s.highlightColors)==null?void 0:a.values().next().value)||"#fff066")}static updateDefaultParams(n,s){switch(n){case mn.HIGHLIGHT_DEFAULT_COLOR:Cn._defaultColor=s;break;case mn.HIGHLIGHT_THICKNESS:Cn._defaultThickness=s;break}}translateInPage(n,s){}get toolbarPosition(){return y(this,c0)}updateParams(n,s){switch(n){case mn.HIGHLIGHT_COLOR:oe(this,nn,dI).call(this,s);break;case mn.HIGHLIGHT_THICKNESS:oe(this,nn,fI).call(this,s);break}}static get defaultPropertiesToUpdate(){return[[mn.HIGHLIGHT_DEFAULT_COLOR,Cn._defaultColor],[mn.HIGHLIGHT_THICKNESS,Cn._defaultThickness]]}get propertiesToUpdate(){return[[mn.HIGHLIGHT_COLOR,this.color||Cn._defaultColor],[mn.HIGHLIGHT_THICKNESS,y(this,Yo)||Cn._defaultThickness],[mn.HIGHLIGHT_FREE,y(this,Js)]]}async addEditToolbar(){const n=await super.addEditToolbar();return n?(this._uiManager.highlightColors&&(q(this,l0,new ub({editor:this})),n.addColorPicker(y(this,l0))),n):null}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}fixAndSetPosition(){return super.fixAndSetPosition(oe(this,nn,v2).call(this))}getBaseTranslation(){return[0,0]}getRect(n,s){return super.getRect(n,s,oe(this,nn,v2).call(this))}onceAdded(n){this.annotationElementId||this.parent.addUndoableEditor(this),n&&this.div.focus()}remove(){oe(this,nn,w_).call(this),this._reportTelemetry({action:"deleted"}),super.remove()}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(oe(this,nn,of).call(this),this.isAttachedToDOM||this.parent.add(this)))}setParent(n){var a;let s=!1;this.parent&&!n?oe(this,nn,w_).call(this):n&&(oe(this,nn,of).call(this,n),s=!this.parent&&((a=this.div)==null?void 0:a.classList.contains("selectedEditor"))),super.setParent(n),this.show(this._isVisible),s&&this.select()}rotate(n){var o,r,i;const{drawLayer:s}=this.parent;let a;y(this,Js)?(n=(n-this.rotation+360)%360,a=oe(o=Cn,Xo,T0).call(o,y(this,Go).box,n)):a=oe(r=Cn,Xo,T0).call(r,[this.x,this.y,this.width,this.height],n),s.updateProperties(y(this,To),{bbox:a,root:{"data-main-rotation":n}}),s.updateProperties(y(this,ya),{bbox:oe(i=Cn,Xo,T0).call(i,y(this,ao).box,n),root:{"data-main-rotation":n}})}render(){if(this.div)return this.div;const n=super.render();y(this,u0)&&(n.setAttribute("aria-label",y(this,u0)),n.setAttribute("role","mark")),y(this,Js)?n.classList.add("free"):this.div.addEventListener("keydown",oe(this,nn,pI).bind(this),{signal:this._uiManager._signal});const s=q(this,zd,document.createElement("div"));n.append(s),s.setAttribute("aria-hidden","true"),s.className="internal",s.style.clipPath=y(this,Vd);const[a,o]=this.parentDimensions;return this.setDims(this.width*a,this.height*o),eb(this,y(this,zd),["pointerover","pointerleave"]),this.enableEditing(),n}pointerover(){var n;this.isSelected||(n=this.parent)==null||n.drawLayer.updateProperties(y(this,ya),{rootClass:{hovered:!0}})}pointerleave(){var n;this.isSelected||(n=this.parent)==null||n.drawLayer.updateProperties(y(this,ya),{rootClass:{hovered:!1}})}_moveCaret(n){switch(this.parent.unselect(this),n){case 0:case 2:oe(this,nn,a4).call(this,!0);break;case 1:case 3:oe(this,nn,a4).call(this,!1);break}}select(){var n;super.select(),y(this,ya)&&((n=this.parent)==null||n.drawLayer.updateProperties(y(this,ya),{rootClass:{hovered:!1,selected:!0}}))}unselect(){var n;super.unselect(),y(this,ya)&&((n=this.parent)==null||n.drawLayer.updateProperties(y(this,ya),{rootClass:{selected:!1}}),y(this,Js)||oe(this,nn,a4).call(this,!1))}get _mustFixPosition(){return!y(this,Js)}show(n=this._isVisible){super.show(n),this.parent&&(this.parent.drawLayer.updateProperties(y(this,To),{rootClass:{hidden:!n}}),this.parent.drawLayer.updateProperties(y(this,ya),{rootClass:{hidden:!n}}))}static startHighlighting(n,s,{target:a,x:o,y:r}){const{x:i,y:l,width:c,height:u}=a.getBoundingClientRect(),d=new AbortController,h=n.combinedSignal(d),p=v=>{d.abort(),oe(this,Xo,bI).call(this,n,v)};window.addEventListener("blur",p,{signal:h}),window.addEventListener("pointerup",p,{signal:h}),window.addEventListener("pointerdown",go,{capture:!0,passive:!1,signal:h}),window.addEventListener("contextmenu",xr,{signal:h}),a.addEventListener("pointermove",oe(this,Xo,gI).bind(this,n),{signal:h}),this._freeHighlight=new _w({x:o,y:r},[i,l,c,u],n.scale,this._defaultThickness/2,s,.001),{id:this._freeHighlightId,clipPathId:this._freeHighlightClipId}=n.drawLayer.draw({bbox:[0,0,1,1],root:{viewBox:"0 0 1 1",fill:this._defaultColor,"fill-opacity":this._defaultOpacity},rootClass:{highlight:!0,free:!0},path:{d:this._freeHighlight.toSVGPath()}},!0,!0)}static async deserialize(n,s,a){var m,g,b,_;let o=null;if(n instanceof QP){const{data:{quadPoints:w,rect:C,rotation:x,id:E,color:T,opacity:R,popupRef:I},parent:{page:{pageNumber:M}}}=n;o=n={annotationType:on.HIGHLIGHT,color:Array.from(T),opacity:R,quadPoints:w,boxes:null,pageIndex:M-1,rect:C.slice(0),rotation:x,id:E,deleted:!1,popupRef:I}}else if(n instanceof bw){const{data:{inkLists:w,rect:C,rotation:x,id:E,color:T,borderStyle:{rawWidth:R},popupRef:I},parent:{page:{pageNumber:M}}}=n;o=n={annotationType:on.HIGHLIGHT,color:Array.from(T),thickness:R,inkLists:w,boxes:null,pageIndex:M-1,rect:C.slice(0),rotation:x,id:E,deleted:!1,popupRef:I}}const{color:r,quadPoints:i,inkLists:l,opacity:c}=n,u=await super.deserialize(n,s,a);u.color=Nt.makeHexColor(...r),q(u,Dl,c||1),l&&q(u,Yo,n.thickness),u.annotationElementId=n.id||null,u._initialData=o;const[d,h]=u.pageDimensions,[p,v]=u.pageTranslation;if(i){const w=q(u,$l,[]);for(let C=0;C=0)q(this,To,s),q(this,Vd,a),this.parent.drawLayer.finalizeDraw(s,{bbox:n.box,path:{d:n.toSVGPath()}}),q(this,ya,this.parent.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:!0},bbox:y(this,ao).box,path:{d:y(this,ao).toSVGPath()}},!0));else if(this.parent){const p=this.parent.viewport.rotation;this.parent.drawLayer.updateProperties(y(this,To),{bbox:oe(d=Cn,Xo,T0).call(d,y(this,Go).box,(p-this.rotation+360)%360),path:{d:n.toSVGPath()}}),this.parent.drawLayer.updateProperties(y(this,ya),{bbox:oe(h=Cn,Xo,T0).call(h,y(this,ao).box,p),path:{d:y(this,ao).toSVGPath()}})}const[r,i,l,c]=n.box;switch(this.rotation){case 0:this.x=r,this.y=i,this.width=l,this.height=c;break;case 90:{const[p,v]=this.parentDimensions;this.x=i,this.y=1-r,this.width=l*v/p,this.height=c*p/v;break}case 180:this.x=1-r,this.y=1-i,this.width=l,this.height=c;break;case 270:{const[p,v]=this.parentDimensions;this.x=1-i,this.y=r,this.width=l*v/p,this.height=c*p/v;break}}const{lastPoint:u}=y(this,ao);q(this,c0,[(u[0]-r)/l,(u[1]-i)/c])},dI=function(n){const s=(r,i)=>{var l,c;this.color=r,q(this,Dl,i),(l=this.parent)==null||l.drawLayer.updateProperties(y(this,To),{root:{fill:r,"fill-opacity":i}}),(c=y(this,l0))==null||c.updateColor(r)},a=this.color,o=y(this,Dl);this.addCommands({cmd:s.bind(this,n,Cn._defaultOpacity),undo:s.bind(this,a,o),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:mn.HIGHLIGHT_COLOR,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"color_changed",color:this._uiManager.highlightColorNames.get(n)},!0)},fI=function(n){const s=y(this,Yo),a=o=>{q(this,Yo,o),oe(this,nn,hI).call(this,o)};this.addCommands({cmd:a.bind(this,n),undo:a.bind(this,s),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:mn.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"thickness_changed",thickness:n},!0)},hI=function(n){if(!y(this,Js))return;oe(this,nn,s4).call(this,{highlightOutlines:y(this,Go).getNewOutline(n/2)}),this.fixAndSetPosition();const[s,a]=this.parentDimensions;this.setDims(this.width*s,this.height*a)},w_=function(){y(this,To)===null||!this.parent||(this.parent.drawLayer.remove(y(this,To)),q(this,To,null),this.parent.drawLayer.remove(y(this,ya)),q(this,ya,null))},of=function(n=this.parent){y(this,To)===null&&({id:za(this,To)._,clipPathId:za(this,Vd)._}=n.drawLayer.draw({bbox:y(this,Go).box,root:{viewBox:"0 0 1 1",fill:this.color,"fill-opacity":y(this,Dl)},rootClass:{highlight:!0,free:y(this,Js)},path:{d:y(this,Go).toSVGPath()}},!1,!0),q(this,ya,n.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:y(this,Js)},bbox:y(this,ao).box,path:{d:y(this,ao).toSVGPath()}},y(this,Js))),y(this,zd)&&(y(this,zd).style.clipPath=y(this,Vd)))},Xo=new WeakSet,T0=function([n,s,a,o],r){switch(r){case 90:return[1-s-o,n,o,a];case 180:return[1-n-a,1-s-o,a,o];case 270:return[s,1-n-a,o,a]}return[n,s,a,o]},pI=function(n){Cn._keyboardManager.exec(this,n)},a4=function(n){if(!y(this,i0))return;const s=window.getSelection();n?s.setPosition(y(this,i0),y(this,Jm)):s.setPosition(y(this,Zm),y(this,Qm))},v2=function(){return y(this,Js)?this.rotation:0},vI=function(){if(y(this,Js))return null;const[n,s]=this.pageDimensions,[a,o]=this.pageTranslation,r=y(this,$l),i=new Float32Array(r.length*8);let l=0;for(const{x:c,y:u,width:d,height:h}of r){const p=c*n+a,v=(1-u)*s+o;i[l]=i[l+4]=p,i[l+1]=i[l+3]=v,i[l+2]=i[l+6]=p+d*n,i[l+5]=i[l+7]=v-h*s,l+=8}return i},mI=function(n){return y(this,Go).serialize(n,oe(this,nn,v2).call(this))},gI=function(n,s){this._freeHighlight.add(s)&&n.drawLayer.updateProperties(this._freeHighlightId,{path:{d:this._freeHighlight.toSVGPath()}})},bI=function(n,s){this._freeHighlight.isEmpty()?n.drawLayer.remove(this._freeHighlightId):n.createAndAddNewEditor(s,!1,{highlightId:this._freeHighlightId,highlightOutlines:this._freeHighlight.getOutlines(),clipPathId:this._freeHighlightClipId,methodOfCreation:"main_toolbar"}),this._freeHighlightId=-1,this._freeHighlight=null,this._freeHighlightClipId=""},yI=function(n){const{color:s}=this._initialData;return n.color.some((a,o)=>a!==s[o])},se(Cn,Xo),zt(Cn,"_defaultColor",null),zt(Cn,"_defaultOpacity",1),zt(Cn,"_defaultThickness",12),zt(Cn,"_type","highlight"),zt(Cn,"_editorType",on.HIGHLIGHT),zt(Cn,"_freeHighlightId",-1),zt(Cn,"_freeHighlight",null),zt(Cn,"_freeHighlightClipId","");let db=Cn;class D4e{constructor(){se(this,Hd,Object.create(null))}updateProperty(t,n){this[t]=n,this.updateSVGProperty(t,n)}updateProperties(t){if(t)for(const[n,s]of Object.entries(t))this.updateProperty(n,s)}updateSVGProperty(t,n){y(this,Hd)[t]=n}toSVGProperties(){const t=y(this,Hd);return q(this,Hd,Object.create(null)),{root:t}}reset(){q(this,Hd,Object.create(null))}updateAll(t=this){this.updateProperties(t)}clone(){Bn("Not implemented")}}Hd=new WeakMap;const Mt=class Mt extends ns{constructor(n){super(n);se(this,gn);se(this,Mo,null);se(this,d0);zt(this,"_drawId",null);q(this,d0,n.mustBeCommitted||!1),n.drawOutlines&&(oe(this,gn,__).call(this,n),oe(this,gn,m2).call(this))}static _mergeSVGProperties(n,s){const a=new Set(Object.keys(n));for(const[o,r]of Object.entries(s))a.has(o)?Object.assign(n[o],r):n[o]=r;return n}static getDefaultDrawingOptions(n){Bn("Not implemented")}static get typesMap(){Bn("Not implemented")}static get isDrawer(){return!0}static get supportMultipleDrawings(){return!1}static updateDefaultParams(n,s){const a=this.typesMap.get(n);a&&this._defaultDrawingOptions.updateProperty(a,s),this._currentParent&&(y(Mt,zs).updateProperty(a,s),this._currentParent.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}updateParams(n,s){const a=this.constructor.typesMap.get(n);a&&this._updateProperty(n,a,s)}static get defaultPropertiesToUpdate(){const n=[],s=this._defaultDrawingOptions;for(const[a,o]of this.typesMap)n.push([a,s[o]]);return n}get propertiesToUpdate(){const n=[],{_drawingOptions:s}=this;for(const[a,o]of this.constructor.typesMap)n.push([a,s[o]]);return n}_updateProperty(n,s,a){const o=this._drawingOptions,r=o[s],i=l=>{var u;o.updateProperty(s,l);const c=y(this,Mo).updateProperty(s,l);c&&oe(this,gn,g2).call(this,c),(u=this.parent)==null||u.drawLayer.updateProperties(this._drawId,o.toSVGProperties())};this.addCommands({cmd:i.bind(this,a),undo:i.bind(this,r),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:n,overwriteIfSameType:!0,keepUndo:!0})}_onResizing(){var n;(n=this.parent)==null||n.drawLayer.updateProperties(this._drawId,Mt._mergeSVGProperties(y(this,Mo).getPathResizingSVGProperties(oe(this,gn,o4).call(this)),{bbox:oe(this,gn,M0).call(this)}))}_onResized(){var n;(n=this.parent)==null||n.drawLayer.updateProperties(this._drawId,Mt._mergeSVGProperties(y(this,Mo).getPathResizedSVGProperties(oe(this,gn,o4).call(this)),{bbox:oe(this,gn,M0).call(this)}))}_onTranslating(n,s){var a;(a=this.parent)==null||a.drawLayer.updateProperties(this._drawId,{bbox:oe(this,gn,M0).call(this,n,s)})}_onTranslated(){var n;(n=this.parent)==null||n.drawLayer.updateProperties(this._drawId,Mt._mergeSVGProperties(y(this,Mo).getPathTranslatedSVGProperties(oe(this,gn,o4).call(this),this.parentDimensions),{bbox:oe(this,gn,M0).call(this)}))}_onStartDragging(){var n;(n=this.parent)==null||n.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!0}})}_onStopDragging(){var n;(n=this.parent)==null||n.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!1}})}commit(){super.commit(),this.disableEditMode(),this.disableEditing()}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}getBaseTranslation(){return[0,0]}get isResizable(){return!0}onceAdded(n){this.annotationElementId||this.parent.addUndoableEditor(this),this._isDraggable=!0,y(this,d0)&&(q(this,d0,!1),this.commit(),this.parent.setSelected(this),n&&this.isOnScreen&&this.div.focus())}remove(){oe(this,gn,S_).call(this),super.remove()}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(oe(this,gn,m2).call(this),oe(this,gn,g2).call(this,y(this,Mo).box),this.isAttachedToDOM||this.parent.add(this)))}setParent(n){var a;let s=!1;this.parent&&!n?(this._uiManager.removeShouldRescale(this),oe(this,gn,S_).call(this)):n&&(this._uiManager.addShouldRescale(this),oe(this,gn,m2).call(this,n),s=!this.parent&&((a=this.div)==null?void 0:a.classList.contains("selectedEditor"))),super.setParent(n),s&&this.select()}rotate(){this.parent&&this.parent.drawLayer.updateProperties(this._drawId,Mt._mergeSVGProperties({bbox:oe(this,gn,M0).call(this)},y(this,Mo).updateRotation((this.parentRotation-this.rotation+360)%360)))}onScaleChanging(){this.parent&&oe(this,gn,g2).call(this,y(this,Mo).updateParentDimensions(this.parentDimensions,this.parent.scale))}static onScaleChangingWhenDrawing(){}render(){if(this.div)return this.div;const n=super.render();n.classList.add("draw");const s=document.createElement("div");n.append(s),s.setAttribute("aria-hidden","true"),s.className="internal";const[a,o]=this.parentDimensions;return this.setDims(this.width*a,this.height*o),this._uiManager.addShouldRescale(this),this.disableEditing(),n}static createDrawerInstance(n,s,a,o,r){Bn("Not implemented")}static startDrawing(n,s,a,o){var g;const{target:r,offsetX:i,offsetY:l,pointerId:c,pointerType:u}=o;if(y(Mt,Uc)&&y(Mt,Uc)!==u)return;const{viewport:{rotation:d}}=n,{width:h,height:p}=r.getBoundingClientRect(),v=q(Mt,Wd,new AbortController),m=n.combinedSignal(v);if(y(Mt,Kc)||q(Mt,Kc,c),y(Mt,Uc)??q(Mt,Uc,u),window.addEventListener("pointerup",b=>{var _;y(Mt,Kc)===b.pointerId?this._endDraw(b):(_=y(Mt,qc))==null||_.delete(b.pointerId)},{signal:m}),window.addEventListener("pointercancel",b=>{var _;y(Mt,Kc)===b.pointerId?this._currentParent.endDrawingSession():(_=y(Mt,qc))==null||_.delete(b.pointerId)},{signal:m}),window.addEventListener("pointerdown",b=>{y(Mt,Uc)===b.pointerType&&((y(Mt,qc)||q(Mt,qc,new Set)).add(b.pointerId),y(Mt,zs).isCancellable()&&(y(Mt,zs).removeLastElement(),y(Mt,zs).isEmpty()?this._currentParent.endDrawingSession(!0):this._endDraw(null)))},{capture:!0,passive:!1,signal:m}),window.addEventListener("contextmenu",xr,{signal:m}),r.addEventListener("pointermove",this._drawMove.bind(this),{signal:m}),r.addEventListener("touchmove",b=>{b.timeStamp===y(Mt,Kd)&&go(b)},{signal:m}),n.toggleDrawing(),(g=s._editorUndoBar)==null||g.hide(),y(Mt,zs)){n.drawLayer.updateProperties(this._currentDrawId,y(Mt,zs).startNew(i,l,h,p,d));return}s.updateUIForDefaultProperties(this),q(Mt,zs,this.createDrawerInstance(i,l,h,p,d)),q(Mt,jd,this.getDefaultDrawingOptions()),this._currentParent=n,{id:this._currentDrawId}=n.drawLayer.draw(this._mergeSVGProperties(y(Mt,jd).toSVGProperties(),y(Mt,zs).defaultSVGProperties),!0,!1)}static _drawMove(n){var r;if(q(Mt,Kd,-1),!y(Mt,zs))return;const{offsetX:s,offsetY:a,pointerId:o}=n;if(y(Mt,Kc)===o){if(((r=y(Mt,qc))==null?void 0:r.size)>=1){this._endDraw(n);return}this._currentParent.drawLayer.updateProperties(this._currentDrawId,y(Mt,zs).add(s,a)),q(Mt,Kd,n.timeStamp),go(n)}}static _cleanup(n){n&&(this._currentDrawId=-1,this._currentParent=null,q(Mt,zs,null),q(Mt,jd,null),q(Mt,Uc,null),q(Mt,Kd,NaN)),y(Mt,Wd)&&(y(Mt,Wd).abort(),q(Mt,Wd,null),q(Mt,Kc,NaN),q(Mt,qc,null))}static _endDraw(n){const s=this._currentParent;if(s){if(s.toggleDrawing(!0),this._cleanup(!1),n&&s.drawLayer.updateProperties(this._currentDrawId,y(Mt,zs).end(n.offsetX,n.offsetY)),this.supportMultipleDrawings){const a=y(Mt,zs),o=this._currentDrawId,r=a.getLastElement();s.addCommands({cmd:()=>{s.drawLayer.updateProperties(o,a.setLastElement(r))},undo:()=>{s.drawLayer.updateProperties(o,a.removeLastElement())},mustExec:!1,type:mn.DRAW_STEP});return}this.endDrawing(!1)}}static endDrawing(n){const s=this._currentParent;if(!s)return null;if(s.toggleDrawing(!0),s.cleanUndoStack(mn.DRAW_STEP),!y(Mt,zs).isEmpty()){const{pageDimensions:[a,o],scale:r}=s,i=s.createAndAddNewEditor({offsetX:0,offsetY:0},!1,{drawId:this._currentDrawId,drawOutlines:y(Mt,zs).getOutlines(a*r,o*r,r,this._INNER_MARGIN),drawingOptions:y(Mt,jd),mustBeCommitted:!n});return this._cleanup(!0),i}return s.drawLayer.remove(this._currentDrawId),this._cleanup(!0),null}createDrawingOptions(n){}static deserializeDraw(n,s,a,o,r,i){Bn("Not implemented")}static async deserialize(n,s,a){var d,h;const{rawDims:{pageWidth:o,pageHeight:r,pageX:i,pageY:l}}=s.viewport,c=this.deserializeDraw(i,l,o,r,this._INNER_MARGIN,n),u=await super.deserialize(n,s,a);return u.createDrawingOptions(n),oe(d=u,gn,__).call(d,{drawOutlines:c}),oe(h=u,gn,m2).call(h),u.onScaleChanging(),u.rotate(),u}serializeDraw(n){const[s,a]=this.pageTranslation,[o,r]=this.pageDimensions;return y(this,Mo).serialize([s,a,o,r],n)}renderAnnotationElement(n){return n.updateEdited({rect:this.getRect(0,0)}),null}static canCreateNewEmptyEditor(){return!1}};Mo=new WeakMap,d0=new WeakMap,zs=new WeakMap,Wd=new WeakMap,jd=new WeakMap,Kc=new WeakMap,Uc=new WeakMap,qc=new WeakMap,Kd=new WeakMap,gn=new WeakSet,__=function({drawOutlines:n,drawId:s,drawingOptions:a}){q(this,Mo,n),this._drawingOptions||(this._drawingOptions=a),s>=0?(this._drawId=s,this.parent.drawLayer.finalizeDraw(s,n.defaultProperties)):this._drawId=oe(this,gn,C_).call(this,n,this.parent),oe(this,gn,g2).call(this,n.box)},C_=function(n,s){const{id:a}=s.drawLayer.draw(Mt._mergeSVGProperties(this._drawingOptions.toSVGProperties(),n.defaultSVGProperties),!1,!1);return a},S_=function(){this._drawId===null||!this.parent||(this.parent.drawLayer.remove(this._drawId),this._drawId=null,this._drawingOptions.reset())},m2=function(n=this.parent){if(!(this._drawId!==null&&this.parent===n)){if(this._drawId!==null){this.parent.drawLayer.updateParent(this._drawId,n.drawLayer);return}this._drawingOptions.updateAll(),this._drawId=oe(this,gn,C_).call(this,y(this,Mo),n)}},wI=function([n,s,a,o]){const{parentDimensions:[r,i],rotation:l}=this;switch(l){case 90:return[s,1-n,a*(i/r),o*(r/i)];case 180:return[1-n,1-s,a,o];case 270:return[1-s,n,a*(i/r),o*(r/i)];default:return[n,s,a,o]}},o4=function(){const{x:n,y:s,width:a,height:o,parentDimensions:[r,i],rotation:l}=this;switch(l){case 90:return[1-s,n,a*(r/i),o*(i/r)];case 180:return[1-n,1-s,a,o];case 270:return[s,1-n,a*(r/i),o*(i/r)];default:return[n,s,a,o]}},g2=function(n){if([this.x,this.y,this.width,this.height]=oe(this,gn,wI).call(this,n),this.div){this.fixAndSetPosition();const[s,a]=this.parentDimensions;this.setDims(this.width*s,this.height*a)}this._onResized()},M0=function(){const{x:n,y:s,width:a,height:o,rotation:r,parentRotation:i,parentDimensions:[l,c]}=this;switch((r*4+i)/90){case 1:return[1-s-o,n,o,a];case 2:return[1-n-a,1-s-o,a,o];case 3:return[s,1-n-a,o,a];case 4:return[n,s-a*(l/c),o*(c/l),a*(l/c)];case 5:return[1-s,n,a*(l/c),o*(c/l)];case 6:return[1-n-o*(c/l),1-s,o*(c/l),a*(l/c)];case 7:return[s-a*(l/c),1-n-o*(c/l),a*(l/c),o*(c/l)];case 8:return[n-a,s-o,a,o];case 9:return[1-s,n-a,o,a];case 10:return[1-n,1-s,a,o];case 11:return[s-o,1-n,o,a];case 12:return[n-o*(c/l),s,o*(c/l),a*(l/c)];case 13:return[1-s-a*(l/c),n-o*(c/l),a*(l/c),o*(c/l)];case 14:return[1-n,1-s-a*(l/c),o*(c/l),a*(l/c)];case 15:return[s,1-n,a*(l/c),o*(c/l)];default:return[n,s,a,o]}},zt(Mt,"_currentDrawId",-1),zt(Mt,"_currentParent",null),se(Mt,zs,null),se(Mt,Wd,null),se(Mt,jd,null),se(Mt,Kc,NaN),se(Mt,Uc,null),se(Mt,qc,null),se(Mt,Kd,NaN),zt(Mt,"_INNER_MARGIN",3);let Cw=Mt;class F4e{constructor(t,n,s,a,o,r){se(this,h0);se(this,Si,new Float64Array(6));se(this,Hs);se(this,Ws);se(this,Ud);se(this,f0);se(this,Da);se(this,Zs,"");se(this,Jo,0);se(this,qd,new fb);se(this,Gd);se(this,Yd);q(this,Gd,s),q(this,Yd,a),q(this,Ud,o),q(this,f0,r),[t,n]=oe(this,h0,r4).call(this,t,n);const i=q(this,Hs,[NaN,NaN,NaN,NaN,t,n]);q(this,Da,[t,n]),q(this,Ws,[{line:i,points:y(this,Da)}]),y(this,Si).set(i,0)}updateProperty(t,n){t==="stroke-width"&&q(this,f0,n)}isEmpty(){return!y(this,Ws)||y(this,Ws).length===0}isCancellable(){return y(this,Da).length<=10}add(t,n){[t,n]=oe(this,h0,r4).call(this,t,n);const[s,a,o,r]=y(this,Si).subarray(2,6),i=t-o,l=n-r;return Math.hypot(y(this,Gd)*i,y(this,Yd)*l)<=2?null:(y(this,Da).push(t,n),isNaN(s)?(y(this,Si).set([o,r,t,n],2),y(this,Hs).push(NaN,NaN,NaN,NaN,t,n),{path:{d:this.toSVGPath()}}):(isNaN(y(this,Si)[0])&&y(this,Hs).splice(6,6),y(this,Si).set([s,a,o,r,t,n],0),y(this,Hs).push(...Et.createBezierPoints(s,a,o,r,t,n)),{path:{d:this.toSVGPath()}}))}end(t,n){const s=this.add(t,n);return s||(y(this,Da).length===2?{path:{d:this.toSVGPath()}}:null)}startNew(t,n,s,a,o){q(this,Gd,s),q(this,Yd,a),q(this,Ud,o),[t,n]=oe(this,h0,r4).call(this,t,n);const r=q(this,Hs,[NaN,NaN,NaN,NaN,t,n]);q(this,Da,[t,n]);const i=y(this,Ws).at(-1);return i&&(i.line=new Float32Array(i.line),i.points=new Float32Array(i.points)),y(this,Ws).push({line:r,points:y(this,Da)}),y(this,Si).set(r,0),q(this,Jo,0),this.toSVGPath(),null}getLastElement(){return y(this,Ws).at(-1)}setLastElement(t){return y(this,Ws)?(y(this,Ws).push(t),q(this,Hs,t.line),q(this,Da,t.points),q(this,Jo,0),{path:{d:this.toSVGPath()}}):y(this,qd).setLastElement(t)}removeLastElement(){if(!y(this,Ws))return y(this,qd).removeLastElement();y(this,Ws).pop(),q(this,Zs,"");for(let t=0,n=y(this,Ws).length;tC??NaN),h,p,v,m),points:g(l[_].map(C=>C??NaN),h,p,v,m)});const b=new Iw;return b.build(d,a,o,1,c,u,r),b}get box(){return y(this,Fa)}updateProperty(n,s){return n==="stroke-width"?oe(this,Qs,SI).call(this,s):null}updateParentDimensions([n,s],a){const[o,r]=oe(this,Qs,jl).call(this);q(this,xi,n),q(this,Ei,s),q(this,p0,a);const[i,l]=oe(this,Qs,jl).call(this),c=i-o,u=l-r,d=y(this,Fa);return d[0]-=c,d[1]-=u,d[2]+=2*c,d[3]+=2*u,d}updateRotation(n){return q(this,t2,n),{path:{transform:this.rotationTransform}}}get viewBox(){return y(this,Fa).map(Et.svgRound).join(" ")}get defaultProperties(){const[n,s]=y(this,Fa);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${Et.svgRound(n)} ${Et.svgRound(s)}`}}}get rotationTransform(){const[,,n,s]=y(this,Fa);let a=0,o=0,r=0,i=0,l=0,c=0;switch(y(this,t2)){case 90:o=s/n,r=-n/s,l=n;break;case 180:a=-1,i=-1,l=n,c=s;break;case 270:o=-s/n,r=n/s,c=s;break;default:return""}return`matrix(${a} ${o} ${r} ${i} ${Et.svgRound(l)} ${Et.svgRound(c)})`}getPathResizingSVGProperties([n,s,a,o]){const[r,i]=oe(this,Qs,jl).call(this),[l,c,u,d]=y(this,Fa);if(Math.abs(u-r)<=Et.PRECISION||Math.abs(d-i)<=Et.PRECISION){const g=n+a/2-(l+u/2),b=s+o/2-(c+d/2);return{path:{"transform-origin":`${Et.svgRound(n)} ${Et.svgRound(s)}`,transform:`${this.rotationTransform} translate(${g} ${b})`}}}const h=(a-2*r)/(u-2*r),p=(o-2*i)/(d-2*i),v=u/a,m=d/o;return{path:{"transform-origin":`${Et.svgRound(l)} ${Et.svgRound(c)}`,transform:`${this.rotationTransform} scale(${v} ${m}) translate(${Et.svgRound(r)} ${Et.svgRound(i)}) scale(${h} ${p}) translate(${Et.svgRound(-r)} ${Et.svgRound(-i)})`}}}getPathResizedSVGProperties([n,s,a,o]){const[r,i]=oe(this,Qs,jl).call(this),l=y(this,Fa),[c,u,d,h]=l;if(l[0]=n,l[1]=s,l[2]=a,l[3]=o,Math.abs(d-r)<=Et.PRECISION||Math.abs(h-i)<=Et.PRECISION){const b=n+a/2-(c+d/2),_=s+o/2-(u+h/2);for(const{line:w,points:C}of y(this,Po))Et._translate(w,b,_,w),Et._translate(C,b,_,C);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${Et.svgRound(n)} ${Et.svgRound(s)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}const p=(a-2*r)/(d-2*r),v=(o-2*i)/(h-2*i),m=-p*(c+r)+n+r,g=-v*(u+i)+s+i;if(p!==1||v!==1||m!==0||g!==0)for(const{line:b,points:_}of y(this,Po))Et._rescale(b,m,g,p,v,b),Et._rescale(_,m,g,p,v,_);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${Et.svgRound(n)} ${Et.svgRound(s)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}getPathTranslatedSVGProperties([n,s],a){const[o,r]=a,i=y(this,Fa),l=n-i[0],c=s-i[1];if(y(this,xi)===o&&y(this,Ei)===r)for(const{line:u,points:d}of y(this,Po))Et._translate(u,l,c,u),Et._translate(d,l,c,d);else{const u=y(this,xi)/o,d=y(this,Ei)/r;q(this,xi,o),q(this,Ei,r);for(const{line:h,points:p}of y(this,Po))Et._rescale(h,l,c,u,d,h),Et._rescale(p,l,c,u,d,p);i[2]*=u,i[3]*=d}return i[0]=n,i[1]=s,{root:{viewBox:this.viewBox},path:{d:this.toSVGPath(),"transform-origin":`${Et.svgRound(n)} ${Et.svgRound(s)}`}}}get defaultSVGProperties(){const n=y(this,Fa);return{root:{viewBox:this.viewBox},rootClass:{draw:!0},path:{d:this.toSVGPath(),"transform-origin":`${Et.svgRound(n[0])} ${Et.svgRound(n[1])}`,transform:this.rotationTransform||null},bbox:n}}};Fa=new WeakMap,t2=new WeakMap,n2=new WeakMap,Po=new WeakMap,xi=new WeakMap,Ei=new WeakMap,p0=new WeakMap,v0=new WeakMap,m0=new WeakMap,Qs=new WeakSet,jl=function(n=y(this,m0)){const s=y(this,n2)+n/2*y(this,p0);return y(this,v0)%180===0?[s/y(this,xi),s/y(this,Ei)]:[s/y(this,Ei),s/y(this,xi)]},_I=function(){const[n,s,a,o]=y(this,Fa),[r,i]=oe(this,Qs,jl).call(this,0);return[n+r,s+i,a-2*r,o-2*i]},CI=function(){const n=q(this,Fa,new Float32Array([1/0,1/0,-1/0,-1/0]));for(const{line:o}of y(this,Po)){if(o.length<=12){for(let l=4,c=o.length;li!==s[l])||n.thickness!==a||n.opacity!==o||n.pageIndex!==r},zt(b0,"_type","ink"),zt(b0,"_editorType",on.INK),zt(b0,"_defaultDrawingOptions",null);let xw=b0;const s2=class s2 extends ns{constructor(n){super({...n,name:"stampEditor"});se(this,yn);se(this,as,null);se(this,ea,null);se(this,Gc,null);se(this,Fl,null);se(this,Yc,null);se(this,y0,"");se(this,ki,null);se(this,Ai,null);se(this,Ro,!1);se(this,w0,!1);q(this,Fl,n.bitmapUrl),q(this,Yc,n.bitmapFile)}static initialize(n,s){ns.initialize(n,s)}static get supportedTypes(){return dn(this,"supportedTypes",["apng","avif","bmp","gif","jpeg","png","svg+xml","webp","x-icon"].map(s=>`image/${s}`))}static get supportedTypesStr(){return dn(this,"supportedTypesStr",this.supportedTypes.join(","))}static isHandlingMimeForPasting(n){return this.supportedTypes.includes(n)}static paste(n,s){s.pasteEditor(on.STAMP,{bitmapFile:n.getAsFile()})}altTextFinish(){this._uiManager.useNewAltTextFlow&&(this.div.hidden=!1),super.altTextFinish()}get telemetryFinalData(){var n;return{type:"stamp",hasAltText:!!((n=this.altTextData)!=null&&n.altText)}}static computeTelemetryFinalData(n){const s=n.get("hasAltText");return{hasAltText:s.get(!0)??0,hasNoAltText:s.get(!1)??0}}async mlGuessAltText(n=null,s=!0){if(this.hasAltTextData())return null;const{mlManager:a}=this._uiManager;if(!a)throw new Error("No ML.");if(!await a.isEnabledFor("altText"))throw new Error("ML isn't enabled for alt text.");const{data:o,width:r,height:i}=n||this.copyCanvas(null,null,!0).imageData,l=await a.guess({name:"altText",request:{data:o,width:r,height:i,channels:o.length/(r*i)}});if(!l)throw new Error("No response from the AI service.");if(l.error)throw new Error("Error from the AI service.");if(l.cancel)return null;if(!l.output)throw new Error("No valid response from the AI service.");const c=l.output;return await this.setGuessedAltText(c),s&&!this.hasAltTextData()&&(this.altTextData={alt:c,decorative:!1}),c}remove(){var n;y(this,ea)&&(q(this,as,null),this._uiManager.imageManager.deleteId(y(this,ea)),(n=y(this,ki))==null||n.remove(),q(this,ki,null),y(this,Ai)&&(clearTimeout(y(this,Ai)),q(this,Ai,null))),super.remove()}rebuild(){if(!this.parent){y(this,ea)&&oe(this,yn,i4).call(this);return}super.rebuild(),this.div!==null&&(y(this,ea)&&y(this,ki)===null&&oe(this,yn,i4).call(this),this.isAttachedToDOM||this.parent.add(this))}onceAdded(n){this._isDraggable=!0,n&&this.div.focus()}isEmpty(){return!(y(this,Gc)||y(this,as)||y(this,Fl)||y(this,Yc)||y(this,ea))}get isResizable(){return!0}render(){if(this.div)return this.div;let n,s;if(this.width&&(n=this.x,s=this.y),super.render(),this.div.hidden=!0,this.div.setAttribute("role","figure"),this.addAltTextButton(),y(this,as)?oe(this,yn,x_).call(this):oe(this,yn,i4).call(this),this.width&&!this.annotationElementId){const[a,o]=this.parentDimensions;this.setAt(n*a,s*o,this.width*a,this.height*o)}return this._uiManager.addShouldRescale(this),this.div}_onResized(){this.onScaleChanging()}onScaleChanging(){if(!this.parent)return;y(this,Ai)!==null&&clearTimeout(y(this,Ai)),q(this,Ai,setTimeout(()=>{q(this,Ai,null),oe(this,yn,E_).call(this)},200))}copyCanvas(n,s,a=!1){var p;n||(n=224);const{width:o,height:r}=y(this,as),i=new nw;let l=y(this,as),c=o,u=r,d=null;if(s){if(o>s||r>s){const R=Math.min(s/o,s/r);c=Math.floor(o*R),u=Math.floor(r*R)}d=document.createElement("canvas");const v=d.width=Math.ceil(c*i.sx),m=d.height=Math.ceil(u*i.sy);y(this,Ro)||(l=oe(this,yn,l4).call(this,v,m));const g=d.getContext("2d");g.filter=this._uiManager.hcmFilter;let b="white",_="#cfcfd8";this._uiManager.hcmFilter!=="none"?_="black":(p=window.matchMedia)!=null&&p.call(window,"(prefers-color-scheme: dark)").matches&&(b="#8f8f9d",_="#42414d");const w=15,C=w*i.sx,x=w*i.sy,E=new OffscreenCanvas(C*2,x*2),T=E.getContext("2d");T.fillStyle=b,T.fillRect(0,0,C*2,x*2),T.fillStyle=_,T.fillRect(0,0,C,x),T.fillRect(C,x,C,x),g.fillStyle=g.createPattern(E,"repeat"),g.fillRect(0,0,v,m),g.drawImage(l,0,0,l.width,l.height,0,0,v,m)}let h=null;if(a){let v,m;if(i.symmetric&&l.widthn||r>n){const _=Math.min(n/o,n/r);v=Math.floor(o*_),m=Math.floor(r*_),y(this,Ro)||(l=oe(this,yn,l4).call(this,v,m))}const b=new OffscreenCanvas(v,m).getContext("2d",{willReadFrequently:!0});b.drawImage(l,0,0,l.width,l.height,0,0,v,m),h={width:v,height:m,data:b.getImageData(0,0,v,m).data}}return{canvas:d,width:c,height:u,imageData:h}}getImageForAltText(){return y(this,ki)}static async deserialize(n,s,a){var m;let o=null;if(n instanceof eR){const{data:{rect:g,rotation:b,id:_,structParent:w,popupRef:C},container:x,parent:{page:{pageNumber:E}}}=n,T=x.querySelector("canvas"),R=a.imageManager.getFromCanvas(x.id,T);T.remove();const I=((m=await s._structTree.getAriaAttributes(`${J8}${_}`))==null?void 0:m.get("aria-label"))||"";o=n={annotationType:on.STAMP,bitmapId:R.id,bitmap:R.bitmap,pageIndex:E-1,rect:g.slice(0),rotation:b,id:_,deleted:!1,accessibilityData:{decorative:!1,altText:I},isSvg:!1,structParent:w,popupRef:C}}const r=await super.deserialize(n,s,a),{rect:i,bitmap:l,bitmapUrl:c,bitmapId:u,isSvg:d,accessibilityData:h}=n;u&&a.imageManager.isValidId(u)?(q(r,ea,u),l&&q(r,as,l)):q(r,Fl,c),q(r,Ro,d);const[p,v]=r.pageDimensions;return r.width=(i[2]-i[0])/p,r.height=(i[3]-i[1])/v,r.annotationElementId=n.id||null,h&&(r.altTextData=h),r._initialData=o,q(r,w0,!!o),r}serialize(n=!1,s=null){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();const a={annotationType:on.STAMP,bitmapId:y(this,ea),pageIndex:this.pageIndex,rect:this.getRect(0,0),rotation:this.rotation,isSvg:y(this,Ro),structTreeParentId:this._structTreeParentId};if(n)return a.bitmapUrl=oe(this,yn,c4).call(this,!0),a.accessibilityData=this.serializeAltText(!0),a;const{decorative:o,altText:r}=this.serializeAltText(!1);if(!o&&r&&(a.accessibilityData={type:"Figure",alt:r}),this.annotationElementId){const l=oe(this,yn,EI).call(this,a);if(l.isSame)return null;l.isSameAltText?delete a.accessibilityData:a.accessibilityData.structParent=this._initialData.structParent??-1}if(a.id=this.annotationElementId,s===null)return a;s.stamps||(s.stamps=new Map);const i=y(this,Ro)?(a.rect[2]-a.rect[0])*(a.rect[3]-a.rect[1]):null;if(!s.stamps.has(y(this,ea)))s.stamps.set(y(this,ea),{area:i,serialized:a}),a.bitmap=oe(this,yn,c4).call(this,!1);else if(y(this,Ro)){const l=s.stamps.get(y(this,ea));i>l.area&&(l.area=i,l.serialized.bitmap.close(),l.serialized.bitmap=oe(this,yn,c4).call(this,!1))}return a}renderAnnotationElement(n){return n.updateEdited({rect:this.getRect(0,0)}),null}};as=new WeakMap,ea=new WeakMap,Gc=new WeakMap,Fl=new WeakMap,Yc=new WeakMap,y0=new WeakMap,ki=new WeakMap,Ai=new WeakMap,Ro=new WeakMap,w0=new WeakMap,yn=new WeakSet,b2=function(n,s=!1){if(!n){this.remove();return}q(this,as,n.bitmap),s||(q(this,ea,n.id),q(this,Ro,n.isSvg)),n.file&&q(this,y0,n.file.name),oe(this,yn,x_).call(this)},y2=function(){if(q(this,Gc,null),this._uiManager.enableWaiting(!1),!!y(this,ki)){if(this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&y(this,as)){this._editToolbar.hide(),this._uiManager.editAltText(this,!0);return}if(!this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&y(this,as)){this._reportTelemetry({action:"pdfjs.image.image_added",data:{alt_text_modal:!1,alt_text_type:"empty"}});try{this.mlGuessAltText()}catch{}}this.div.focus()}},i4=function(){if(y(this,ea)){this._uiManager.enableWaiting(!0),this._uiManager.imageManager.getFromId(y(this,ea)).then(a=>oe(this,yn,b2).call(this,a,!0)).finally(()=>oe(this,yn,y2).call(this));return}if(y(this,Fl)){const a=y(this,Fl);q(this,Fl,null),this._uiManager.enableWaiting(!0),q(this,Gc,this._uiManager.imageManager.getFromUrl(a).then(o=>oe(this,yn,b2).call(this,o)).finally(()=>oe(this,yn,y2).call(this)));return}if(y(this,Yc)){const a=y(this,Yc);q(this,Yc,null),this._uiManager.enableWaiting(!0),q(this,Gc,this._uiManager.imageManager.getFromFile(a).then(o=>oe(this,yn,b2).call(this,o)).finally(()=>oe(this,yn,y2).call(this)));return}const n=document.createElement("input");n.type="file",n.accept=s2.supportedTypesStr;const s=this._uiManager._signal;q(this,Gc,new Promise(a=>{n.addEventListener("change",async()=>{if(!n.files||n.files.length===0)this.remove();else{this._uiManager.enableWaiting(!0);const o=await this._uiManager.imageManager.getFromFile(n.files[0]);this._reportTelemetry({action:"pdfjs.image.image_selected",data:{alt_text_modal:this._uiManager.useNewAltTextFlow}}),oe(this,yn,b2).call(this,o)}a()},{signal:s}),n.addEventListener("cancel",()=>{this.remove(),a()},{signal:s})}).finally(()=>oe(this,yn,y2).call(this))),n.click()},x_=function(){var d;const{div:n}=this;let{width:s,height:a}=y(this,as);const[o,r]=this.pageDimensions,i=.75;if(this.width)s=this.width*o,a=this.height*r;else if(s>i*o||a>i*r){const h=Math.min(i*o/s,i*r/a);s*=h,a*=h}const[l,c]=this.parentDimensions;this.setDims(s*l/o,a*c/r),this._uiManager.enableWaiting(!1);const u=q(this,ki,document.createElement("canvas"));u.setAttribute("role","img"),this.addContainer(u),this.width=s/o,this.height=a/r,(d=this._initialOptions)!=null&&d.isCentered?this.center():this.fixAndSetPosition(),this._initialOptions=null,(!this._uiManager.useNewAltTextWhenAddingImage||!this._uiManager.useNewAltTextFlow||this.annotationElementId)&&(n.hidden=!1),oe(this,yn,E_).call(this),y(this,w0)||(this.parent.addUndoableEditor(this),q(this,w0,!0)),this._reportTelemetry({action:"inserted_image"}),y(this,y0)&&u.setAttribute("aria-label",y(this,y0))},l4=function(n,s){const{width:a,height:o}=y(this,as);let r=a,i=o,l=y(this,as);for(;r>2*n||i>2*s;){const c=r,u=i;r>2*n&&(r=r>=16384?Math.floor(r/2)-1:Math.ceil(r/2)),i>2*s&&(i=i>=16384?Math.floor(i/2)-1:Math.ceil(i/2));const d=new OffscreenCanvas(r,i);d.getContext("2d").drawImage(l,0,0,c,u,0,0,r,i),l=d.transferToImageBitmap()}return l},E_=function(){const[n,s]=this.parentDimensions,{width:a,height:o}=this,r=new nw,i=Math.ceil(a*n*r.sx),l=Math.ceil(o*s*r.sy),c=y(this,ki);if(!c||c.width===i&&c.height===l)return;c.width=i,c.height=l;const u=y(this,Ro)?y(this,as):oe(this,yn,l4).call(this,i,l),d=c.getContext("2d");d.filter=this._uiManager.hcmFilter,d.drawImage(u,0,0,u.width,u.height,0,0,i,l)},c4=function(n){if(n){if(y(this,Ro)){const o=this._uiManager.imageManager.getSvgUrl(y(this,ea));if(o)return o}const s=document.createElement("canvas");return{width:s.width,height:s.height}=y(this,as),s.getContext("2d").drawImage(y(this,as),0,0),s.toDataURL()}if(y(this,Ro)){const[s,a]=this.pageDimensions,o=Math.round(this.width*s*wc.PDF_TO_CSS_UNITS),r=Math.round(this.height*a*wc.PDF_TO_CSS_UNITS),i=new OffscreenCanvas(o,r);return i.getContext("2d").drawImage(y(this,as),0,0,y(this,as).width,y(this,as).height,0,0,o,r),i.transferToImageBitmap()}return structuredClone(y(this,as))},EI=function(n){var i;const{pageIndex:s,accessibilityData:{altText:a}}=this._initialData,o=n.pageIndex===s,r=(((i=n.accessibilityData)==null?void 0:i.alt)||"")===a;return{isSame:!this._hasBeenMoved&&!this._hasBeenResized&&o&&r,isSameAltText:r}},zt(s2,"_type","stamp"),zt(s2,"_editorType",on.STAMP);let Ew=s2;const Fr=class Fr{constructor({uiManager:t,pageIndex:n,div:s,structTreeLayer:a,accessibilityManager:o,annotationLayer:r,drawLayer:i,textLayer:l,viewport:c,l10n:u}){se(this,Qn);se(this,Xd);se(this,_0,!1);se(this,Ti,null);se(this,Xc,null);se(this,Bl,null);se(this,Zo,new Map);se(this,Jc,!1);se(this,C0,!1);se(this,Jd,!1);se(this,Dr,null);se(this,Vl,null);se(this,wa,null);se(this,zl,null);se(this,Ot);const d=[...y(Fr,Zc).values()];if(!Fr._initialized){Fr._initialized=!0;for(const h of d)h.initialize(u,t)}t.registerEditorTypes(d),q(this,Ot,t),this.pageIndex=n,this.div=s,q(this,Xd,o),q(this,Ti,r),this.viewport=c,q(this,wa,l),this.drawLayer=i,this._structTree=a,y(this,Ot).addLayer(this)}get isEmpty(){return y(this,Zo).size===0}get isInvisible(){return this.isEmpty&&y(this,Ot).getMode()===on.NONE}updateToolbar(t){y(this,Ot).updateToolbar(t)}updateMode(t=y(this,Ot).getMode()){switch(oe(this,Qn,u4).call(this),t){case on.NONE:this.disableTextSelection(),this.togglePointerEvents(!1),this.toggleAnnotationLayerPointerEvents(!0),this.disableClick();return;case on.INK:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick();break;case on.HIGHLIGHT:this.enableTextSelection(),this.togglePointerEvents(!1),this.disableClick();break;default:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick()}this.toggleAnnotationLayerPointerEvents(!1);const{classList:n}=this.div;for(const s of y(Fr,Zc).values())n.toggle(`${s._type}Editing`,t===s._editorType);this.div.hidden=!1}hasTextLayer(t){var n;return t===((n=y(this,wa))==null?void 0:n.div)}setEditingState(t){y(this,Ot).setEditingState(t)}addCommands(t){y(this,Ot).addCommands(t)}cleanUndoStack(t){y(this,Ot).cleanUndoStack(t)}toggleDrawing(t=!1){this.div.classList.toggle("drawing",!t)}togglePointerEvents(t=!1){this.div.classList.toggle("disabled",!t)}toggleAnnotationLayerPointerEvents(t=!1){var n;(n=y(this,Ti))==null||n.div.classList.toggle("disabled",!t)}async enable(){q(this,Jd,!0),this.div.tabIndex=0,this.togglePointerEvents(!0);const t=new Set;for(const s of y(this,Zo).values())s.enableEditing(),s.show(!0),s.annotationElementId&&(y(this,Ot).removeChangedExistingAnnotation(s),t.add(s.annotationElementId));if(!y(this,Ti)){q(this,Jd,!1);return}const n=y(this,Ti).getEditableAnnotations();for(const s of n){if(s.hide(),y(this,Ot).isDeletedAnnotationElement(s.data.id)||t.has(s.data.id))continue;const a=await this.deserialize(s);a&&(this.addOrRebuild(a),a.enableEditing())}q(this,Jd,!1)}disable(){var a;q(this,C0,!0),this.div.tabIndex=-1,this.togglePointerEvents(!1);const t=new Map,n=new Map;for(const o of y(this,Zo).values())if(o.disableEditing(),!!o.annotationElementId){if(o.serialize()!==null){t.set(o.annotationElementId,o);continue}else n.set(o.annotationElementId,o);(a=this.getEditableAnnotation(o.annotationElementId))==null||a.show(),o.remove()}if(y(this,Ti)){const o=y(this,Ti).getEditableAnnotations();for(const r of o){const{id:i}=r.data;if(y(this,Ot).isDeletedAnnotationElement(i))continue;let l=n.get(i);if(l){l.resetAnnotationElement(r),l.show(!1),r.show();continue}l=t.get(i),l&&(y(this,Ot).addChangedExistingAnnotation(l),l.renderAnnotationElement(r)&&l.show(!1)),r.show()}}oe(this,Qn,u4).call(this),this.isEmpty&&(this.div.hidden=!0);const{classList:s}=this.div;for(const o of y(Fr,Zc).values())s.remove(`${o._type}Editing`);this.disableTextSelection(),this.toggleAnnotationLayerPointerEvents(!0),q(this,C0,!1)}getEditableAnnotation(t){var n;return((n=y(this,Ti))==null?void 0:n.getEditableAnnotation(t))||null}setActiveEditor(t){y(this,Ot).getActive()!==t&&y(this,Ot).setActiveEditor(t)}enableTextSelection(){var t;if(this.div.tabIndex=-1,(t=y(this,wa))!=null&&t.div&&!y(this,zl)){q(this,zl,new AbortController);const n=y(this,Ot).combinedSignal(y(this,zl));y(this,wa).div.addEventListener("pointerdown",oe(this,Qn,kI).bind(this),{signal:n}),y(this,wa).div.classList.add("highlighting")}}disableTextSelection(){var t;this.div.tabIndex=0,(t=y(this,wa))!=null&&t.div&&y(this,zl)&&(y(this,zl).abort(),q(this,zl,null),y(this,wa).div.classList.remove("highlighting"))}enableClick(){if(y(this,Xc))return;q(this,Xc,new AbortController);const t=y(this,Ot).combinedSignal(y(this,Xc));this.div.addEventListener("pointerdown",this.pointerdown.bind(this),{signal:t});const n=this.pointerup.bind(this);this.div.addEventListener("pointerup",n,{signal:t}),this.div.addEventListener("pointercancel",n,{signal:t})}disableClick(){var t;(t=y(this,Xc))==null||t.abort(),q(this,Xc,null)}attach(t){y(this,Zo).set(t.id,t);const{annotationElementId:n}=t;n&&y(this,Ot).isDeletedAnnotationElement(n)&&y(this,Ot).removeDeletedAnnotationElement(t)}detach(t){var n;y(this,Zo).delete(t.id),(n=y(this,Xd))==null||n.removePointerInTextLayer(t.contentDiv),!y(this,C0)&&t.annotationElementId&&y(this,Ot).addDeletedAnnotationElement(t)}remove(t){this.detach(t),y(this,Ot).removeEditor(t),t.div.remove(),t.isAttachedToDOM=!1}changeParent(t){var n;t.parent!==this&&(t.parent&&t.annotationElementId&&(y(this,Ot).addDeletedAnnotationElement(t.annotationElementId),ns.deleteAnnotationElement(t),t.annotationElementId=null),this.attach(t),(n=t.parent)==null||n.detach(t),t.setParent(this),t.div&&t.isAttachedToDOM&&(t.div.remove(),this.div.append(t.div)))}add(t){if(!(t.parent===this&&t.isAttachedToDOM)){if(this.changeParent(t),y(this,Ot).addEditor(t),this.attach(t),!t.isAttachedToDOM){const n=t.render();this.div.append(n),t.isAttachedToDOM=!0}t.fixAndSetPosition(),t.onceAdded(!y(this,Jd)),y(this,Ot).addToAnnotationStorage(t),t._reportTelemetry(t.telemetryInitialData)}}moveEditorInDOM(t){var s;if(!t.isAttachedToDOM)return;const{activeElement:n}=document;t.div.contains(n)&&!y(this,Bl)&&(t._focusEventsAllowed=!1,q(this,Bl,setTimeout(()=>{q(this,Bl,null),t.div.contains(document.activeElement)?t._focusEventsAllowed=!0:(t.div.addEventListener("focusin",()=>{t._focusEventsAllowed=!0},{once:!0,signal:y(this,Ot)._signal}),n.focus())},0))),t._structTreeParentId=(s=y(this,Xd))==null?void 0:s.moveElementInDOM(this.div,t.div,t.contentDiv,!0)}addOrRebuild(t){t.needsToBeRebuilt()?(t.parent||(t.parent=this),t.rebuild(),t.show()):this.add(t)}addUndoableEditor(t){const n=()=>t._uiManager.rebuild(t),s=()=>{t.remove()};this.addCommands({cmd:n,undo:s,mustExec:!1})}getNextId(){return y(this,Ot).getId()}combinedSignal(t){return y(this,Ot).combinedSignal(t)}canCreateNewEmptyEditor(){var t;return(t=y(this,Qn,Ri))==null?void 0:t.canCreateNewEmptyEditor()}pasteEditor(t,n){y(this,Ot).updateToolbar(t),y(this,Ot).updateMode(t);const{offsetX:s,offsetY:a}=oe(this,Qn,A_).call(this),o=this.getNextId(),r=oe(this,Qn,k_).call(this,{parent:this,id:o,x:s,y:a,uiManager:y(this,Ot),isCentered:!0,...n});r&&this.add(r)}async deserialize(t){var n;return await((n=y(Fr,Zc).get(t.annotationType??t.annotationEditorType))==null?void 0:n.deserialize(t,this,y(this,Ot)))||null}createAndAddNewEditor(t,n,s={}){const a=this.getNextId(),o=oe(this,Qn,k_).call(this,{parent:this,id:a,x:t.offsetX,y:t.offsetY,uiManager:y(this,Ot),isCentered:n,...s});return o&&this.add(o),o}addNewEditor(){this.createAndAddNewEditor(oe(this,Qn,A_).call(this),!0)}setSelected(t){y(this,Ot).setSelected(t)}toggleSelected(t){y(this,Ot).toggleSelected(t)}unselect(t){y(this,Ot).unselect(t)}pointerup(t){var s;const{isMac:n}=Oa.platform;if(!(t.button!==0||t.ctrlKey&&n)&&t.target===this.div&&y(this,Jc)&&(q(this,Jc,!1),!((s=y(this,Qn,Ri))!=null&&s.isDrawer&&y(this,Qn,Ri).supportMultipleDrawings))){if(!y(this,_0)){q(this,_0,!0);return}if(y(this,Ot).getMode()===on.STAMP){y(this,Ot).unselectAll();return}this.createAndAddNewEditor(t,!1)}}pointerdown(t){var a;if(y(this,Ot).getMode()===on.HIGHLIGHT&&this.enableTextSelection(),y(this,Jc)){q(this,Jc,!1);return}const{isMac:n}=Oa.platform;if(t.button!==0||t.ctrlKey&&n||t.target!==this.div)return;if(q(this,Jc,!0),(a=y(this,Qn,Ri))!=null&&a.isDrawer){this.startDrawingSession(t);return}const s=y(this,Ot).getActive();q(this,_0,!s||s.isEmpty())}startDrawingSession(t){if(this.div.focus(),y(this,Dr)){y(this,Qn,Ri).startDrawing(this,y(this,Ot),!1,t);return}y(this,Ot).setCurrentDrawingSession(this),q(this,Dr,new AbortController);const n=y(this,Ot).combinedSignal(y(this,Dr));this.div.addEventListener("blur",({relatedTarget:s})=>{s&&!this.div.contains(s)&&(q(this,Vl,null),this.commitOrRemove())},{signal:n}),y(this,Qn,Ri).startDrawing(this,y(this,Ot),!1,t)}pause(t){if(t){const{activeElement:n}=document;this.div.contains(n)&&q(this,Vl,n);return}y(this,Vl)&&setTimeout(()=>{var n;(n=y(this,Vl))==null||n.focus(),q(this,Vl,null)},0)}endDrawingSession(t=!1){return y(this,Dr)?(y(this,Ot).setCurrentDrawingSession(null),y(this,Dr).abort(),q(this,Dr,null),q(this,Vl,null),y(this,Qn,Ri).endDrawing(t)):null}findNewParent(t,n,s){const a=y(this,Ot).findParent(n,s);return a===null||a===this?!1:(a.changeParent(t),!0)}commitOrRemove(){return y(this,Dr)?(this.endDrawingSession(),!0):!1}onScaleChanging(){y(this,Dr)&&y(this,Qn,Ri).onScaleChangingWhenDrawing(this)}destroy(){var t,n;this.commitOrRemove(),((t=y(this,Ot).getActive())==null?void 0:t.parent)===this&&(y(this,Ot).commitOrRemove(),y(this,Ot).setActiveEditor(null)),y(this,Bl)&&(clearTimeout(y(this,Bl)),q(this,Bl,null));for(const s of y(this,Zo).values())(n=y(this,Xd))==null||n.removePointerInTextLayer(s.contentDiv),s.setParent(null),s.isAttachedToDOM=!1,s.div.remove();this.div=null,y(this,Zo).clear(),y(this,Ot).removeLayer(this)}render({viewport:t}){this.viewport=t,Hu(this.div,t);for(const n of y(this,Ot).getEditors(this.pageIndex))this.add(n),n.rebuild();this.updateMode()}update({viewport:t}){y(this,Ot).commitOrRemove(),oe(this,Qn,u4).call(this);const n=this.viewport.rotation,s=t.rotation;if(this.viewport=t,Hu(this.div,{rotation:s}),n!==s)for(const a of y(this,Zo).values())a.rotate(s)}get pageDimensions(){const{pageWidth:t,pageHeight:n}=this.viewport.rawDims;return[t,n]}get scale(){return y(this,Ot).viewParameters.realScale}};Xd=new WeakMap,_0=new WeakMap,Ti=new WeakMap,Xc=new WeakMap,Bl=new WeakMap,Zo=new WeakMap,Jc=new WeakMap,C0=new WeakMap,Jd=new WeakMap,Dr=new WeakMap,Vl=new WeakMap,wa=new WeakMap,zl=new WeakMap,Ot=new WeakMap,Zc=new WeakMap,Qn=new WeakSet,kI=function(t){y(this,Ot).unselectAll();const{target:n}=t;if(n===y(this,wa).div||(n.getAttribute("role")==="img"||n.classList.contains("endOfContent"))&&y(this,wa).div.contains(n)){const{isMac:s}=Oa.platform;if(t.button!==0||t.ctrlKey&&s)return;y(this,Ot).showAllEditors("highlight",!0,!0),y(this,wa).div.classList.add("free"),this.toggleDrawing(),db.startHighlighting(this,y(this,Ot).direction==="ltr",{target:y(this,wa).div,x:t.x,y:t.y}),y(this,wa).div.addEventListener("pointerup",()=>{y(this,wa).div.classList.remove("free"),this.toggleDrawing(!0)},{once:!0,signal:y(this,Ot)._signal}),t.preventDefault()}},Ri=function(){return y(Fr,Zc).get(y(this,Ot).getMode())},k_=function(t){const n=y(this,Qn,Ri);return n?new n.prototype.constructor(t):null},A_=function(){const{x:t,y:n,width:s,height:a}=this.div.getBoundingClientRect(),o=Math.max(0,t),r=Math.max(0,n),i=Math.min(window.innerWidth,t+s),l=Math.min(window.innerHeight,n+a),c=(o+i)/2-t,u=(r+l)/2-n,[d,h]=this.viewport.rotation%180===0?[c,u]:[u,c];return{offsetX:d,offsetY:h}},u4=function(){for(const t of y(this,Zo).values())t.isEmpty()&&t.remove()},zt(Fr,"_initialized",!1),se(Fr,Zc,new Map([yw,xw,Ew,db].map(t=>[t._editorType,t])));let kw=Fr;const _a=class _a{constructor({pageIndex:t}){se(this,Mi);se(this,Br,null);se(this,a2,0);se(this,Ba,new Map);se(this,Zd,new Map);this.pageIndex=t}setParent(t){if(!y(this,Br)){q(this,Br,t);return}if(y(this,Br)!==t){if(y(this,Ba).size>0)for(const n of y(this,Ba).values())n.remove(),t.append(n);q(this,Br,t)}}static get _svgFactory(){return dn(this,"_svgFactory",new mw)}draw(t,n=!1,s=!1){const a=za(this,a2)._++,o=oe(this,Mi,T_).call(this),r=_a._svgFactory.createElement("defs");o.append(r);const i=_a._svgFactory.createElement("path");r.append(i);const l=`path_p${this.pageIndex}_${a}`;i.setAttribute("id",l),i.setAttribute("vector-effect","non-scaling-stroke"),n&&y(this,Zd).set(a,i);const c=s?oe(this,Mi,TI).call(this,r,l):null,u=_a._svgFactory.createElement("use");return o.append(u),u.setAttribute("href",`#${l}`),this.updateProperties(o,t),y(this,Ba).set(a,o),{id:a,clipPathId:`url(#${c})`}}drawOutline(t,n){const s=za(this,a2)._++,a=oe(this,Mi,T_).call(this),o=_a._svgFactory.createElement("defs");a.append(o);const r=_a._svgFactory.createElement("path");o.append(r);const i=`path_p${this.pageIndex}_${s}`;r.setAttribute("id",i),r.setAttribute("vector-effect","non-scaling-stroke");let l;if(n){const d=_a._svgFactory.createElement("mask");o.append(d),l=`mask_p${this.pageIndex}_${s}`,d.setAttribute("id",l),d.setAttribute("maskUnits","objectBoundingBox");const h=_a._svgFactory.createElement("rect");d.append(h),h.setAttribute("width","1"),h.setAttribute("height","1"),h.setAttribute("fill","white");const p=_a._svgFactory.createElement("use");d.append(p),p.setAttribute("href",`#${i}`),p.setAttribute("stroke","none"),p.setAttribute("fill","black"),p.setAttribute("fill-rule","nonzero"),p.classList.add("mask")}const c=_a._svgFactory.createElement("use");a.append(c),c.setAttribute("href",`#${i}`),l&&c.setAttribute("mask",`url(#${l})`);const u=c.cloneNode();return a.append(u),c.classList.add("mainOutline"),u.classList.add("secondaryOutline"),this.updateProperties(a,t),y(this,Ba).set(s,a),s}finalizeDraw(t,n){y(this,Zd).delete(t),this.updateProperties(t,n)}updateProperties(t,n){var l;if(!n)return;const{root:s,bbox:a,rootClass:o,path:r}=n,i=typeof t=="number"?y(this,Ba).get(t):t;if(i){if(s&&oe(this,Mi,M_).call(this,i,s),a&&oe(l=_a,Ib,AI).call(l,i,a),o){const{classList:c}=i;for(const[u,d]of Object.entries(o))c.toggle(u,d)}if(r){const u=i.firstChild.firstChild;oe(this,Mi,M_).call(this,u,r)}}}updateParent(t,n){if(n===this)return;const s=y(this,Ba).get(t);s&&(y(n,Br).append(s),y(this,Ba).delete(t),y(n,Ba).set(t,s))}remove(t){y(this,Zd).delete(t),y(this,Br)!==null&&(y(this,Ba).get(t).remove(),y(this,Ba).delete(t))}destroy(){q(this,Br,null);for(const t of y(this,Ba).values())t.remove();y(this,Ba).clear(),y(this,Zd).clear()}};Br=new WeakMap,a2=new WeakMap,Ba=new WeakMap,Zd=new WeakMap,Ib=new WeakSet,AI=function(t,[n,s,a,o]){const{style:r}=t;r.top=`${100*s}%`,r.left=`${100*n}%`,r.width=`${100*a}%`,r.height=`${100*o}%`},Mi=new WeakSet,T_=function(){const t=_a._svgFactory.create(1,1,!0);return y(this,Br).append(t),t.setAttribute("aria-hidden",!0),t},TI=function(t,n){const s=_a._svgFactory.createElement("clipPath");t.append(s);const a=`clip_${n}`;s.setAttribute("id",a),s.setAttribute("clipPathUnits","objectBoundingBox");const o=_a._svgFactory.createElement("use");return s.append(o),o.setAttribute("href",`#${n}`),o.classList.add("clip"),a},M_=function(t,n){for(const[s,a]of Object.entries(n))a===null?t.removeAttribute(s):t.setAttribute(s,a)},se(_a,Ib);let Aw=_a;globalThis.pdfjsTestingUtils={HighlightOutliner:ww},Yt.AbortException,Yt.AnnotationEditorLayer,Yt.AnnotationEditorParamsType,Yt.AnnotationEditorType,Yt.AnnotationEditorUIManager,Yt.AnnotationLayer,Yt.AnnotationMode,Yt.ColorPicker,Yt.DOMSVGFactory,Yt.DrawLayer,Yt.FeatureTest;var B4e=Yt.GlobalWorkerOptions;Yt.ImageKind,Yt.InvalidPDFException,Yt.MissingPDFException,Yt.OPS,Yt.OutputScale,Yt.PDFDataRangeTransport,Yt.PDFDateString,Yt.PDFWorker,Yt.PasswordResponses,Yt.PermissionFlag,Yt.PixelsPerInch,Yt.RenderingCancelledException,Yt.TextLayer,Yt.TouchManager,Yt.UnexpectedResponseException,Yt.Util,Yt.VerbosityLevel,Yt.XfaLayer,Yt.build,Yt.createValidAbsoluteUrl,Yt.fetchData;var V4e=Yt.getDocument;Yt.getFilenameFromUrl,Yt.getPdfFilenameFromUrl,Yt.getXfaPageViewport,Yt.isDataScheme,Yt.isPdfFile,Yt.noContextMenu,Yt.normalizeUnicode,Yt.setLayerDimensions,Yt.shadow,Yt.stopEvent,Yt.version;const z4e=""+new URL("assets/pdf.worker.min-yatZIOMy.mjs",document.currentScript&&document.currentScript.tagName.toUpperCase()==="SCRIPT"&&document.currentScript.src||document.baseURI).href,H4e={class:"manual-wrap"},W4e={class:"sidebar"},j4e={class:"es-text",style:{display:"none"}},K4e={class:"sb-section"},U4e={class:"sb-title"},q4e={key:0,class:"sb-section"},G4e={class:"sb-title"},Y4e={class:"region-type-btns"},X4e=["onClick"],J4e={class:"rt-badge"},Z4e={key:1,class:"sb-section sb-regions"},Q4e={class:"sb-title"},eye={class:"region-list"},tye=["onClick"],nye={class:"ri-top"},sye={class:"ri-badge"},aye={class:"ri-label"},oye={class:"ri-page"},rye={class:"ri-status"},iye={key:0,class:"ri-tokens"},lye={key:0,class:"ri-preview"},cye={key:2,class:"sb-section sb-actions"},uye={key:0,class:"vl-progress-wrap"},dye={class:"vl-progress-label"},fye={key:0},hye={key:1,class:"vl-done"},pye={key:3,class:"sb-section sb-export"},vye={class:"sb-title"},mye={style:{display:"flex",gap:"8px"}},gye={class:"sb-footer"},bye={class:"viewer"},yye={key:0,class:"viewer-nav"},wye={class:"el-button-group"},_ye={class:"nav-label"},Cye={class:"nav-type-indicator"},Sye={class:"el-button-group el-button-group--small"},xye={class:"zoom-bar"},Eye={class:"zoom-pct"},kye={key:1,class:"viewer-empty"},Aye={class:"img-inner"},Tye={key:0,class:"page-loading"},Mye=["data-mode"],Pye={key:0,class:"result-panel"},Rye={class:"rp-header"},Iye={class:"rp-title"},Oye={key:0,class:"rp-tokens"},Lye={class:"rp-text"},Nye=[{path:"/",redirect:"/Manual"},{path:"/Auto",component:B1e},{path:"/Manual",component:il({__name:"ManualOCR",setup(e){B4e.workerSrc=z4e;const t=rP(),n="http://localhost:8000",s=[{key:"A",label:"材料区域",color:"#2563eb"},{key:"B",label:"管线号",color:"#d97706"},{key:"C",label:"其他",color:"#059669"}],a=ge=>{var ye;return((ye=s.find(Be=>Be.key===ge))==null?void 0:ye.color)??"#6b7280"},o=ge=>{var ye;return((ye=s.find(Be=>Be.key===ge))==null?void 0:ye.label)??ge},r=F("file"),i=F(null),l=F(""),c=F(!1),u=F(""),d=F(0),h=F(0),p=F(!1),v=hn(null),m=F(!1);let g=null;const b=F("A"),_=F([]),w=F(null),C=F(!1),x=F(""),E=F(!1),T=F(0),R=F(0),I=F(null),M=F(null),$=F(null),O=F(null),B=[.25,.5,.75,1,1.25,1.5,2,3],U=F(1);function J(){const ge=B.find(ye=>ye>U.value+.01);ge&&(U.value=ge)}function Y(){const ge=[...B].reverse().find(ye=>yer.value==="file"?!!i.value:l.value.startsWith("http")),ce=k(()=>_.value.filter(ge=>ge.status==="pending").length),Z=k(()=>_.value.filter(ge=>ge.type==="A"&&ge.status==="pending").length),H=k(()=>_.value.filter(ge=>ge.status==="done")),te=k(()=>_.value.find(ge=>ge.id===w.value)||null),de=k(()=>T.value>0?Math.round(R.value/T.value*100):0);let be=null;St(async()=>{try{const Be=await(await fetch(`${n}/api/manual/engine-info`)).json();L.value=Be.status==="ready"?"ready":"error",V.value=Be.error||Be.engine||""}catch(ye){L.value="error",V.value=ye.message}const ge=document.getElementById("hdpdfurl2");if(ge&&ge.value&&ge.value.trim()&&(l.value=ge.value.trim(),r.value="url",await Se()),ge){let ye=ge.value;be=setInterval(async()=>{const Be=ge.value?ge.value.trim():"";Be&&Be!==ye&&(ye=Be,l.value=Be,r.value="url",await Se())},2e3)}});async function Ce(ge){i.value=ge.raw,await Se(),O.value&&O.value.clearFiles()}async function Se(){c.value=!0;try{let ge,ye=null;if(r.value==="file"){ye=await i.value.arrayBuffer();const Re=new FormData;Re.append("file",i.value),ge=await fetch(`${n}/api/manual/upload`,{method:"POST",body:Re})}else ge=await fetch(`${n}/api/manual/upload-url`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({url:l.value.trim()})});if(!ge.ok){const Re=await ge.json().catch(()=>({}));throw new Error(Re.detail||`HTTP ${ge.status}`)}const Be=await ge.json();if(u.value&&fetch(`${n}/api/manual/session/${u.value}`,{method:"DELETE"}).catch(()=>{}),u.value=Be.session_id,d.value=Be.total_pages,h.value=0,_.value=[],w.value=null,p.value=!0,U.value=1,!ye){const Re=await fetch(`${n}/api/manual/pdf/${Be.session_id}`);if(!Re.ok)throw new Error(`获取 PDF 字节失败 HTTP ${Re.status}`);ye=await Re.arrayBuffer()}await Ve(ye),Gs.success(`PDF 加载成功,共 ${Be.total_pages} 页`)}catch(ge){Gs.error(`加载失败:${ge.message}`)}finally{c.value=!1}}function Ne(ge){ge<0||ge>=d.value||(h.value=ge)}me(h,ge=>{ot(),$e(ge)}),me(ae,ge=>{ge==="draw"&&M.value&&(M.value.style.cursor="")}),me(U,()=>{p.value&&v.value&&$e(h.value)});async function Ve(ge){try{const ye=V4e({data:ge,cMapUrl:"/pdfjs-cmaps/",cMapPacked:!0});v.value=await ye.promise,$e(0)}catch(ye){Gs.error(`PDF.js 加载失败:${ye.message}`)}}async function $e(ge){if(v.value){g&&(g.cancel(),g=null),m.value=!0;try{const ye=await v.value.getPage(ge+1),Be=window.devicePixelRatio||1,Re=ye.getViewport({scale:U.value*Be}),Ae=$.value;Ae.width=Re.width,Ae.height=Re.height,Ae.style.width=Re.width/Be+"px",Ae.style.height=Re.height/Be+"px";const Ze=Ae.getContext("2d");g=ye.render({canvasContext:Ze,viewport:Re}),await g.promise,g=null,Oe()}catch(ye){(ye==null?void 0:ye.name)!=="RenderingCancelledException"&&Gs.error(`页面渲染失败:${ye.message}`)}finally{m.value=!1}}}let _e=null;function Oe(){const ge=$.value,ye=M.value;if(!ge||!ye)return;const Be=ge.offsetWidth,Re=ge.offsetHeight;Be===0||Re===0||((ye.width!==Be||ye.height!==Re)&&(ye.width=Be,ye.height=Re),dt(),_e||(_e=new ResizeObserver(()=>Oe())),_e.disconnect(),_e.observe(ge))}window.addEventListener("resize",()=>{p.value&&Oe()});function Pe(ge){const ye=M.value.getBoundingClientRect();return{x:ge.clientX-ye.left,y:ge.clientY-ye.top}}function We(ge){fe.value&&(I.value.scrollLeft=ne.value-ge.clientX,I.value.scrollTop=pe.value-ge.clientY)}function Qe(){fe.value&&(fe.value=!1,M.value&&(M.value.style.cursor=""),window.removeEventListener("mousemove",We),window.removeEventListener("mouseup",Qe))}function it(ge){if(!z.value)return;const{x:ye,y:Be}=Pe(ge);K.value=ye,ee.value=Be,dt()}function De(ge){if(!z.value)return;const{x:ye,y:Be}=Pe(ge);z.value=!1,window.removeEventListener("mousemove",it),window.removeEventListener("mouseup",De);const Re=M.value,Ae=Re.width,Ze=Re.height,sn=tf=>Math.max(0,Math.min(Ae,tf)),_n=tf=>Math.max(0,Math.min(Ze,tf)),xn=sn(ye),Rt=_n(Be),Rs=sn(G.value),Is=_n(Q.value),Va=Math.min(Rs,xn),Qc=Math.min(Is,Rt),Qd=Math.abs(xn-Rs),ef=Math.abs(Rt-Is);Qd>8&&ef>8&&_.value.push({id:crypto.randomUUID(),type:b.value,page:h.value,xr:Va/Ae,yr:Qc/Ze,wr:Qd/Ae,hr:ef/Ze,cx:Va,cy:Qc,cw:Qd,ch:ef,status:"pending",text:"",boxes:[],tokens:null}),ot(),dt()}function Ke(ge){ge.preventDefault();const{x:ye,y:Be}=Pe(ge);ae.value==="draw"?(z.value=!0,G.value=ye,Q.value=Be,K.value=ye,ee.value=Be,window.addEventListener("mousemove",it),window.addEventListener("mouseup",De)):ae.value==="pan"&&(fe.value=!0,ne.value=ge.clientX+I.value.scrollLeft,pe.value=ge.clientY+I.value.scrollTop,M.value.style.cursor="grabbing",window.addEventListener("mousemove",We),window.addEventListener("mouseup",Qe))}function nt(ge){}function Ft(ge){}function Kt(){}function ot(){z.value=!1,G.value=0,Q.value=0,K.value=0,ee.value=0}function dt(){const ge=M.value;if(!ge)return;const ye=ge.getContext("2d");ye.clearRect(0,0,ge.width,ge.height);const Be=ge.width,Re=ge.height;for(const Ae of _.value){if(Ae.page!==h.value)continue;const Ze=Ae.xr*Be,sn=Ae.yr*Re,_n=Ae.wr*Be,xn=Ae.hr*Re,Rt=a(Ae.type),Rs=Ae.id===w.value;ye.strokeStyle=Rt,ye.lineWidth=Rs?3:2,ye.setLineDash(Ae.status==="pending"?[5,3]:[]),ye.strokeRect(Ze,sn,_n,xn),ye.fillStyle=Rt+"18",ye.fillRect(Ze,sn,_n,xn);const Is=`${Ae.type} ${o(Ae.type)}`;ye.font="bold 12px sans-serif";const Va=ye.measureText(Is).width+10;ye.fillStyle=Rt,ye.fillRect(Ze,sn-18,Va,18),ye.fillStyle="#fff",ye.fillText(Is,Ze+5,sn-4)}if(z.value){const Ae=Math.min(G.value,K.value),Ze=Math.min(Q.value,ee.value),sn=Math.abs(K.value-G.value),_n=Math.abs(ee.value-Q.value),xn=a(b.value);ye.strokeStyle=xn,ye.lineWidth=2,ye.setLineDash([4,3]),ye.strokeRect(Ae,Ze,sn,_n),ye.fillStyle=xn+"15",ye.fillRect(Ae,Ze,sn,_n)}}function kt(ge){w.value=ge.id,ge.page!==h.value?Ne(ge.page):dt()}function xe(ge){_.value=_.value.filter(ye=>ye.id!==ge),w.value===ge&&(w.value=null),dt()}function qe(){_.value=[],w.value=null,dt()}async function we(){var Re;const ge=_.value.find(Ae=>Ae.type==="A");if(!ge)return;_.value.filter(Ae=>Ae.type==="A"&&Ae.status==="pending").forEach(Ae=>{Ae.status="recognizing"}),E.value=!0,T.value=d.value,R.value=0;const ye=Math.max(800,Math.round(3500*Math.ceil(d.value/10)/d.value)),Be=setInterval(()=>{R.value({}));throw new Error(xn.detail||`HTTP ${Ae.status}`)}const Ze=await Ae.json();R.value=T.value;const sn=(Re=Ze.usage)!=null&&Re.total_tokens?Math.round(Ze.usage.total_tokens/(Ze.total_pages||1)):null;for(const xn of Ze.results){let Rt=_.value.find(Is=>Is.type==="A"&&Is.page===xn.page_index);Rt||(Rt={id:crypto.randomUUID(),type:"A",page:xn.page_index,xr:ge.xr,yr:ge.yr,wr:ge.wr,hr:ge.hr,cx:ge.cx,cy:ge.cy,cw:ge.cw,ch:ge.ch,status:"pending",text:"",boxes:[],tokens:null,rows:[]},_.value.push(Rt));const Rs=xn.rows||[];Rt.rows=Rs,Rt.tokens=sn,Rt.text=Rs.length?Rs.map(Is=>[Is.seq_no??"",Is.category??"",Is.description??"",Is.nominal_dia_mm??"",Is.qty??""].filter(Qc=>Qc!=="").join(" | ")).join(` +`):"(该页无材料明细行)",Rt.status=xn._validation_failed?"error":"done"}const _n=Ze.results.filter(xn=>xn._validation_failed).length;_n>0?Gs.warning(`VL 识别完成,${Ze.total_pages} 页中 ${_n} 页校验未通过(内容可能为空)`):Gs.success(`VL 识别完成,共 ${Ze.total_pages} 页`)}catch(Ae){clearInterval(Be),_.value.filter(Ze=>Ze.type==="A").forEach(Ze=>{Ze.status==="recognizing"&&(Ze.status="error")}),Gs.error(`VL 识别失败:${Ae.message}`)}finally{E.value=!1}}async function Ye(){const ge=_.value.find(ye=>ye.type==="B");if(ge){_.value.filter(ye=>ye.type==="B"&&ye.status==="pending").forEach(ye=>{ye.status="recognizing"});try{const ye=await fetch(`${n}/api/manual/ocr-all-pages-vl-b`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({session_id:u.value,x_ratio:ge.xr,y_ratio:ge.yr,w_ratio:ge.wr,h_ratio:ge.hr,concurrency:5})});if(!ye.ok){const Re=await ye.json().catch(()=>({}));throw new Error(Re.detail||`HTTP ${ye.status}`)}const Be=await ye.json();for(const Re of Be.results){let Ae=_.value.find(Ze=>Ze.type==="B"&&Ze.page===Re.page_index);Ae||(Ae={id:crypto.randomUUID(),type:"B",page:Re.page_index,xr:ge.xr,yr:ge.yr,wr:ge.wr,hr:ge.hr,cx:ge.cx,cy:ge.cy,cw:ge.cw,ch:ge.ch,status:"pending",text:"",boxes:[],tokens:null},_.value.push(Ae)),Ae.text=Re.pipeline_no||"",Ae.status=Re.parse_error?"error":"done"}}catch(ye){_.value.filter(Be=>Be.type==="B"&&Be.status==="recognizing").forEach(Be=>{Be.status="error"}),Gs.error(`管线号 VL 识别失败:${ye.message}`)}}}function Ct(){var ge,ye;for(const Be of _.value.filter(Re=>Re.type==="B"&&Re.status==="done")){const Re=(ge=Be.text)==null?void 0:ge.trim();if(!Re)continue;const Ae=_.value.find(Ze=>Ze.type==="A"&&Ze.page===Be.page);(ye=Ae==null?void 0:Ae.rows)!=null&&ye.length&&(Ae.rows=Ae.rows.map(Ze=>({...Ze,pipe_no:Re})))}}async function Xt(){const ge=_.value.find(ye=>ye.type==="C");if(ge){_.value.filter(ye=>ye.type==="C"&&ye.status==="pending").forEach(ye=>{ye.status="recognizing"});try{const ye=await fetch(`${n}/api/manual/ocr-all-pages-vl-c`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({session_id:u.value,x_ratio:ge.xr,y_ratio:ge.yr,w_ratio:ge.wr,h_ratio:ge.hr,concurrency:5})});if(!ye.ok){const Re=await ye.json().catch(()=>({}));throw new Error(Re.detail||`HTTP ${ye.status}`)}const Be=await ye.json();for(const Re of Be.results){let Ae=_.value.find(Ze=>Ze.type==="C"&&Ze.page===Re.page_index);Ae||(Ae={id:crypto.randomUUID(),type:"C",page:Re.page_index,xr:ge.xr,yr:ge.yr,wr:ge.wr,hr:ge.hr,cx:ge.cx,cy:ge.cy,cw:ge.cw,ch:ge.ch,status:"pending",text:"",boxes:[],tokens:null},_.value.push(Ae)),Ae.text=Re.text||"",Ae.status=Re.parse_error?"error":"done"}}catch(ye){_.value.filter(Be=>Be.type==="C"&&Be.status==="recognizing").forEach(Be=>{Be.status="error"}),Gs.error(`C 区域 VL 识别失败:${ye.message}`)}}}async function wn(){if(!_.value.filter(Ze=>Ze.status==="pending").length)return;const ye=Z.value>0,Be=_.value.some(Ze=>Ze.type==="B"),Re=_.value.some(Ze=>Ze.type==="C"),Ae=[];ye&&Ae.push(we()),Be&&Ae.push(Ye()),Re&&Ae.push(Xt()),Ae.length&&await Promise.all(Ae),ye&&Be&&Ct(),Gs.success("全部识别完成"),await ze(),await Sn()}async function Sn(){const ge=H.value;if(ge.length)try{const ye=await fetch(`${n}/api/manual/export`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({regions:ge.map(Ae=>({id:Ae.id,region_type:Ae.type,page_index:Ae.page,text:Ae.text,boxes:Ae.boxes||[],rows:Ae.rows||[]})),format:"json"})});if(!ye.ok)return;const Be=await ye.text(),Re=document.getElementById("resultdata");Re&&(Re.value=Be)}catch{}}async function Fe(ge){const ye=H.value;if(ye.length){x.value=ge;try{const Be=await fetch(`${n}/api/manual/export`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({regions:ye.map(sn=>({id:sn.id,region_type:sn.type,page_index:sn.page,text:sn.text,boxes:sn.boxes||[],rows:sn.rows||[]})),format:ge})});if(!Be.ok){const sn=await Be.json().catch(()=>({}));throw new Error(sn.detail||`HTTP ${Be.status}`)}const Re=await Be.blob(),Ae=URL.createObjectURL(Re),Ze=document.createElement("a");Ze.href=Ae,Ze.download=ge==="excel"?"manual_ocr_result.xlsx":"manual_ocr_result.json",Ze.click(),URL.revokeObjectURL(Ae),Gs.success("导出成功")}catch(Be){Gs.error(`导出失败:${Be.message}`)}finally{x.value=""}}}async function st(ge){try{await navigator.clipboard.writeText(ge),Gs.success("已复制")}catch{Gs.warning("请手动复制")}}return cu(()=>{be&&clearInterval(be),_e&&_e.disconnect(),window.removeEventListener("mousemove",it),window.removeEventListener("mouseup",De),window.removeEventListener("mousemove",We),window.removeEventListener("mouseup",Qe),u.value&&fetch(`${n}/api/manual/session/${u.value}`,{method:"DELETE"}).catch(()=>{})}),(ge,ye)=>{const Be=Ge("el-icon"),Re=Ge("el-upload"),Ae=Ge("el-tab-pane"),Ze=Ge("el-input"),sn=Ge("el-tabs"),_n=Ge("el-tag"),xn=Ge("el-progress");return S(),P("div",H4e,[A("div",W4e,[A("div",{class:D(["engine-badge","es-"+L.value])},[ye[17]||(ye[17]=A("span",{class:"es-dot"},null,-1)),A("span",j4e,[ye[16]||(ye[16]=Ue(" OCR  ",-1)),L.value==="loading"?(S(),P(He,{key:0},[Ue("引擎加载中…")],64)):L.value==="ready"?(S(),P(He,{key:1},[Ue("引擎就绪")],64)):(S(),P(He,{key:2},[Ue("引擎异常")],64))])],2),A("div",K4e,[A("div",U4e,[j(Be,null,{default:X(()=>[j(f(Cg))]),_:1}),ye[18]||(ye[18]=Ue(" 加载 PDF ",-1))]),j(sn,{modelValue:r.value,"onUpdate:modelValue":ye[2]||(ye[2]=Rt=>r.value=Rt),class:"src-tabs",size:"small"},{default:X(()=>[j(Ae,{label:"本地文件",name:"file"},{default:X(()=>[j(Re,{ref_key:"uploadRef",ref:O,"auto-upload":!1,accept:".pdf","show-file-list":!1,"on-change":Ce},{default:X(()=>[A("div",{class:D(["el-button el-button--small el-button--plain",{"is-loading":c.value&&r.value==="file"}]),style:{width:"100%",cursor:"pointer"}},[c.value&&r.value==="file"?(S(),le(Be,{key:0,class:"is-loading"},{default:X(()=>[j(f(Ns))]),_:1})):(S(),le(Be,{key:1},{default:X(()=>[j(f(d9))]),_:1})),Ue(" "+ve(i.value?i.value.name:"选择 PDF(自动加载)…"),1)],2)]),_:1},512)]),_:1}),j(Ae,{label:"网络 URL",name:"url"},{default:X(()=>[j(Ze,{modelValue:l.value,"onUpdate:modelValue":ye[0]||(ye[0]=Rt=>l.value=Rt),placeholder:"https://…/file.pdf",clearable:"",size:"small"},null,8,["modelValue"]),A("div",{class:D(["el-button el-button--primary el-button--small",{"is-loading":c.value,"is-disabled":!he.value}]),style:{width:"100%","margin-top":"6px",cursor:"pointer"},onClick:ye[1]||(ye[1]=Rt=>!c.value&&he.value&&Se())},[c.value?(S(),le(Be,{key:0,class:"is-loading"},{default:X(()=>[j(f(Ns))]),_:1})):(S(),le(Be,{key:1},{default:X(()=>[j(f(Hy))]),_:1})),ye[19]||(ye[19]=Ue(" 加载 / 渲染 ",-1))],2)]),_:1})]),_:1},8,["modelValue"])]),p.value?(S(),P("div",q4e,[A("div",G4e,[j(Be,null,{default:X(()=>[j(f(wg))]),_:1}),ye[20]||(ye[20]=Ue(" 当前区域类型 ",-1)),ye[21]||(ye[21]=A("span",{class:"sb-hint"},"拖拽在右侧图像上框选",-1))]),A("div",Y4e,[(S(),P(He,null,yt(s,Rt=>A("div",{key:Rt.key,class:D(["rt-btn",{active:b.value===Rt.key}]),style:tt({"--rt-color":Rt.color}),onClick:Rs=>b.value=Rt.key},[A("span",J4e,ve(Rt.key),1),Ue(" "+ve(Rt.label),1)],14,X4e)),64))])])):ie("",!0),_.value.length?(S(),P("div",Z4e,[A("div",Q4e,[j(Be,null,{default:X(()=>[j(f(Zx))]),_:1}),Ue(" 已标注区域 ("+ve(_.value.length)+") ",1),A("div",{class:"el-button el-button--link el-button--danger el-button--small",style:{cursor:"pointer"},onClick:qe},"清空")]),A("div",eye,[(S(!0),P(He,null,yt(_.value,Rt=>(S(),P("div",{key:Rt.id,class:D(["region-item",{active:w.value===Rt.id}]),style:tt({"--rt-color":a(Rt.type)}),onClick:Rs=>kt(Rt)},[A("div",nye,[A("span",sye,ve(Rt.type),1),A("span",aye,ve(o(Rt.type)),1),A("span",oye,"P"+ve(Rt.page+1),1),j(Be,{class:"ri-del",onClick:lt(Rs=>xe(Rt.id),["stop"])},{default:X(()=>[j(f(Ua))]),_:1},8,["onClick"])]),A("div",rye,[Rt.status==="pending"?(S(),le(_n,{key:0,size:"small",type:"info"},{default:X(()=>[...ye[22]||(ye[22]=[Ue("待识别",-1)])]),_:1})):Rt.status==="recognizing"?(S(),le(_n,{key:1,size:"small",type:"warning"},{default:X(()=>[...ye[23]||(ye[23]=[Ue("识别中…",-1)])]),_:1})):Rt.status==="done"?(S(),P(He,{key:2},[j(_n,{size:"small",type:"success"},{default:X(()=>[...ye[24]||(ye[24]=[Ue("已完成",-1)])]),_:1}),Rt.tokens?(S(),P("span",iye,ve(Rt.tokens)+"tk",1)):ie("",!0)],64)):Rt.status==="error"?(S(),le(_n,{key:3,size:"small",type:"danger"},{default:X(()=>[...ye[25]||(ye[25]=[Ue("失败",-1)])]),_:1})):ie("",!0)]),Rt.text?(S(),P("pre",lye,ve(Rt.text.slice(0,120))+ve(Rt.text.length>120?"…":""),1)):ie("",!0)],14,tye))),128))])])):ie("",!0),p.value&&_.value.length?(S(),P("div",cye,[A("div",{class:D(["el-button el-button--primary el-button--small",{"is-loading":C.value||E.value,"is-disabled":ce.value===0||E.value}]),style:{width:"100%",cursor:"pointer"},onClick:ye[3]||(ye[3]=Rt=>!(C.value||E.value)&&ce.value>0&&wn())},[C.value||E.value?(S(),le(Be,{key:0,class:"is-loading"},{default:X(()=>[j(f(Ns))]),_:1})):(S(),le(Be,{key:1},{default:X(()=>[j(f(Yx))]),_:1})),Ue(" 识别所有未处理区域 ("+ve(ce.value)+") ",1)],2),j(vs,{name:"vl-fade"},{default:X(()=>[E.value||R.value>0&&R.value===T.value?(S(),P("div",uye,[A("div",dye,[E.value?(S(),P("span",fye,[ye[26]||(ye[26]=A("span",{class:"vl-spin"},"⟳",-1)),Ue(" VL 识别中… "+ve(R.value)+" / "+ve(T.value)+" 页 ",1)])):(S(),P("span",hye,"✓ 完成 "+ve(T.value)+" 页",1))]),j(xn,{percentage:de.value,striped:E.value,"striped-flow":E.value,duration:8,"stroke-width":6,"show-text":!1,status:E.value?"":"success",style:{"margin-top":"4px"}},null,8,["percentage","striped","striped-flow","status"])])):ie("",!0)]),_:1})])):ie("",!0),H.value.length?(S(),P("div",pye,[A("div",vye,[j(Be,null,{default:X(()=>[j(f(Ji))]),_:1}),ye[27]||(ye[27]=Ue(" 导出结果 ",-1))]),A("div",mye,[A("div",{class:D(["el-button el-button--small",{"is-loading":x.value==="excel"}]),style:{flex:"1",cursor:"pointer"},onClick:ye[4]||(ye[4]=Rt=>Fe("excel"))},[x.value==="excel"?(S(),le(Be,{key:0,class:"is-loading"},{default:X(()=>[j(f(Ns))]),_:1})):(S(),le(Be,{key:1},{default:X(()=>[j(f(Xx))]),_:1})),ye[28]||(ye[28]=Ue(" Excel ",-1))],2),A("div",{class:D(["el-button el-button--small",{"is-loading":x.value==="json"}]),style:{flex:"1",cursor:"pointer"},onClick:ye[5]||(ye[5]=Rt=>Fe("json"))},[x.value==="json"?(S(),le(Be,{key:0,class:"is-loading"},{default:X(()=>[j(f(Ns))]),_:1})):(S(),le(Be,{key:1},{default:X(()=>[j(f(_g))]),_:1})),ye[29]||(ye[29]=Ue(" JSON ",-1))],2)])])):ie("",!0),A("div",gye,[A("div",{class:"el-button el-button--plain el-button--small",style:{width:"100%",cursor:"pointer"},onClick:ye[6]||(ye[6]=Rt=>f(t).push("/"))},[j(Be,null,{default:X(()=>[j(f(No))]),_:1}),ye[30]||(ye[30]=Ue(" 返回主页 ",-1))])])]),A("div",bye,[p.value?(S(),P("div",yye,[A("div",wye,[A("div",{class:D(["el-button el-button--small",{"is-disabled":h.value===0}]),style:{cursor:"pointer"},onClick:ye[7]||(ye[7]=Rt=>h.value!==0&&Ne(h.value-1))},[j(Be,null,{default:X(()=>[j(f(No))]),_:1})],2),A("div",{class:D(["el-button el-button--small",{"is-disabled":h.value===d.value-1}]),style:{cursor:"pointer"},onClick:ye[8]||(ye[8]=Rt=>h.value!==d.value-1&&Ne(h.value+1))},[j(Be,null,{default:X(()=>[j(f(Ls))]),_:1})],2)]),A("span",_ye,"第 "+ve(h.value+1)+" / "+ve(d.value)+" 页",1),A("div",Cye,[A("span",{class:"nt-dot",style:tt({background:a(b.value)})},null,4),Ue(" "+ve(b.value)+" — "+ve(o(b.value)),1)]),A("div",Sye,[A("div",{class:D(["el-button el-button--small",{"el-button--primary":ae.value==="draw"}]),style:{cursor:"pointer"},onClick:ye[9]||(ye[9]=Rt=>ae.value="draw")},[j(Be,null,{default:X(()=>[j(f(wg))]),_:1}),ye[31]||(ye[31]=Ue(" 框选 ",-1))],2),A("div",{class:D(["el-button el-button--small",{"el-button--primary":ae.value==="pan"}]),style:{cursor:"pointer"},onClick:ye[10]||(ye[10]=Rt=>ae.value="pan")},[j(Be,null,{default:X(()=>[j(f(a9))]),_:1}),ye[32]||(ye[32]=Ue(" 拖动 ",-1))],2)]),A("div",xye,[A("div",{class:D(["el-button el-button--small el-button--plain",{"is-disabled":U.value<=.25}]),style:{cursor:"pointer"},onClick:ye[11]||(ye[11]=Rt=>U.value>.25&&Y())},[j(Be,null,{default:X(()=>[j(f(Wy))]),_:1})],2),A("span",Eye,ve(Math.round(U.value*100))+"%",1),A("div",{class:D(["el-button el-button--small el-button--plain",{"is-disabled":U.value>=3}]),style:{cursor:"pointer"},onClick:ye[12]||(ye[12]=Rt=>U.value<3&&J())},[j(Be,null,{default:X(()=>[j(f(xg))]),_:1})],2),A("div",{class:"el-button el-button--small el-button--plain",title:"适应宽度",style:{cursor:"pointer"},onClick:ye[13]||(ye[13]=Rt=>N())},[j(Be,null,{default:X(()=>[j(f(Fy))]),_:1})])])])):ie("",!0),p.value?ie("",!0):(S(),P("div",kye,[j(Be,{size:"64",style:{color:"#d1d5db"}},{default:X(()=>[j(f(_g))]),_:1}),ye[33]||(ye[33]=A("p",null,"请在左侧加载 PDF 文件",-1))])),gt(A("div",{class:"img-wrap",ref_key:"wrapRef",ref:I},[A("div",Aye,[A("canvas",{ref_key:"pdfCanvasRef",ref:$,class:"pdf-canvas"},null,512),m.value?(S(),P("div",Tye,[j(Be,{class:"spin"},{default:X(()=>[j(f(Ns))]),_:1}),ye[34]||(ye[34]=Ue(" 渲染页面中… ",-1))])):ie("",!0),A("canvas",{ref_key:"canvasRef",ref:M,class:"overlay-canvas","data-mode":ae.value,onMousedown:Ke,onMousemove:nt,onMouseup:Ft,onMouseleave:Kt},null,40,Mye)])],512),[[Bt,p.value]]),j(vs,{name:"fade"},{default:X(()=>[te.value&&te.value.text?(S(),P("div",Pye,[A("div",Rye,[A("span",{class:"rp-badge",style:tt({background:a(te.value.type)})},ve(te.value.type),5),A("span",Iye,ve(o(te.value.type))+" — 第 "+ve(te.value.page+1)+" 页",1),te.value.tokens?(S(),P("span",Oye,ve(te.value.tokens)+" tokens",1)):ie("",!0),A("div",{class:"el-button el-button--link el-button--small",style:{cursor:"pointer"},onClick:ye[14]||(ye[14]=Rt=>st(te.value.text))},"复制"),A("div",{class:"el-button el-button--link el-button--small",style:{cursor:"pointer"},onClick:ye[15]||(ye[15]=Rt=>w.value=null)},"×")]),A("pre",Lye,ve(te.value.text),1)])):ie("",!0)]),_:1})])])}}},[["__scopeId","data-v-c74743cd"]])}],$ye=Mge({history:lge(),routes:Nye}),hb=JS(S2e);hb.use(O8),hb.use($ye);for(const[e,t]of Object.entries(aJ))hb.component(e,t);hb.mount("#app")})(); diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JoinMarking.aspx b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JoinMarking.aspx new file mode 100644 index 0000000..8dee127 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JoinMarking.aspx @@ -0,0 +1,71 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JoinMarking.aspx.cs" Inherits="FineUIPro.Web.HJGL.JoinMarking.JoinMarking" %> + + + + + + + <asp:Literal runat="server" Text="<%$ Resources:Lan,PipelineManage_PageTitle%>"/> + + +
+ + + + + + + + + + + + + + + + + + + + + diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JoinMarking.aspx.cs b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JoinMarking.aspx.cs new file mode 100644 index 0000000..4355408 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JoinMarking.aspx.cs @@ -0,0 +1,191 @@ +using BLL; +using FineUIPro.Web.SysManage; +using Microsoft.Office.Interop.Word; +using Model; +using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.Data; +using System.Data.SqlClient; +using System.IO; +using System.Linq; +using System.Web.UI.WebControls; + +namespace FineUIPro.Web.HJGL.JoinMarking +{ + public partial class JoinMarking : PageBase + { + + public string treeNodeId + { + get + { + return (string)ViewState["treeNodeId"]; + } + set + { + ViewState["treeNodeId"] = value; + } + } + private string ISO_ID + { + get + { + return (string)ViewState["ISO_ID"]; + } + set + { + ViewState["ISO_ID"] = value; + } + } + + #region 加载 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + ISO_ID = Request.Params["ISO_ID"]; + + this.InitTreeMenu();//加载树 + + } + } + #endregion + + #region 加载树装置-单位-工作区 + /// + /// 加载树 + /// + private void InitTreeMenu() + { + this.tvControlItem.Nodes.Clear(); + var attach = AttachFileService.GetAttachFile(ISO_ID, BLL.Const.HJGL_PipelineManageMenuId); + if (attach != null) + { + var source = attach.AttachSource; + var array = JArray.Parse(source); + for (int i = 0; i < array.Count; i++) + { + JObject item = array[i] as JObject; + TreeNode newNode = new TreeNode(); + newNode.Text = item.Value("name"); + newNode.NodeID = item.Value("id"); + newNode.ToolTip = newNode.Text; + newNode.NavigateUrl = "PDFMarking.aspx?ISO_ID=" + ISO_ID + "&FileId=" + newNode.NodeID + "&pdfurl=" + item.Value("folder") + item.Value("savedName"); + newNode.Target = "mainframe"; + tvControlItem.Nodes.Add(newNode); + } + + } + } + #endregion + + + #region 点击TreeView + /// + /// 点击TreeView + /// + /// + /// + protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e) + { + + treeNodeId = e.NodeID; + // this.BindGrid(e.NodeID); + } + #endregion + + + + + + + + + + + + + + + + + + #region 格式化字符串 + /// + /// 获取总达因数 + /// + /// + /// + public static string ConvertTotalDin(object isoId) + { + if (isoId != null) + { + var sizeSum = (from x in Funs.DB.PW_JointInfo where x.ISO_ID == isoId.ToString() select x.JOT_Size).Sum(); + if (sizeSum != null) + { + return sizeSum.ToString(); + } + } + return null; + } + + /// + /// 获取总焊口数 + /// + /// + /// + public static string ConvertJointQty(object isoId) + { + if (isoId != null) + { + var jotCount = (from x in Funs.DB.PW_JointInfo where x.ISO_ID == isoId.ToString() select x).Count(); + if (jotCount != null) + { + return jotCount.ToString(); + } + } + return null; + } + + /// + /// 根据管线主键获取试压包编号 + /// + /// + /// + public static string ConvertTestPackageNo(object iso_id) + { + if (iso_id != null) + { + //var testPackage = (from x in Funs.DB.TP_TestPackage + // join y in Funs.DB.TP_IsoList on x.PTP_ID equals y.PTP_ID + // join z in Funs.DB.PW_IsoInfo on y.ISO_ID equals z.ISO_ID + // where z.ISO_ID == iso_id.ToString() + // select x.PTP_TestPackageCode).FirstOrDefault(); + //return testPackage; + return null; + } + return null; + } + #endregion + + #region 获取按钮权限 + /// + /// 获取按钮权限 + /// + /// + /// + private bool GetButtonPower(string button) + { + return BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.HJGL_PipelineManageMenuId, button); + } + #endregion + + + } +} \ No newline at end of file diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JoinMarking.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JoinMarking.aspx.designer.cs new file mode 100644 index 0000000..1015969 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JoinMarking.aspx.designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HJGL.JoinMarking +{ + + + public partial class JoinMarking + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// panelLeftRegion 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel panelLeftRegion; + + /// + /// tvControlItem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Tree tvControlItem; + + /// + /// mainPanel 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel mainPanel; + } +} diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JointShow.aspx b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JointShow.aspx new file mode 100644 index 0000000..34ddb68 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JointShow.aspx @@ -0,0 +1,60 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JointShow.aspx.cs" Inherits="FineUIPro.Web.HJGL.JoinMarking.JointShow" %> + + + + + + + <asp:Literal runat="server" Text="<%$ Resources:Lan,TestPackageImport_title%>"/> + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JointShow.aspx.cs b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JointShow.aspx.cs new file mode 100644 index 0000000..748299a --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JointShow.aspx.cs @@ -0,0 +1,405 @@ +using BLL; +using System; +using System; +using System.Collections.Generic; +using System.Data; +using System.Data.SqlClient; +using System.Linq; +using Newtonsoft.Json.Linq; +using System.IO; +using NPOI.XSSF.UserModel; +using NPOI.SS.UserModel; +using System.Runtime.Serialization; +using FineUIPro.Web.ProjectData; +using System.Configuration; + +namespace FineUIPro.Web.HJGL.JoinMarking +{ + public partial class JointShow : PageBase + { + #region 加载 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.InitTreeMenu();//加载树 + + } + } + #endregion + /// + /// 查询 + /// + /// + /// + protected void Tree_TextChanged(object sender, EventArgs e) + { + this.InitTreeMenu(); + + } + #region 加载树装置-单位-工作区 + /// + /// 加载树 + /// + private void InitTreeMenu() + { + this.tvControlItem.Nodes.Clear(); + TreeNode rootNode = new TreeNode(); + rootNode.Text = Resources.Lan.T_REST_ASPXCS_303; + rootNode.NodeID = "0"; + rootNode.Expanded = true; + this.tvControlItem.Nodes.Add(rootNode); + ////装置 + var pInstallation = (from x in Funs.DB.Project_Installation where x.ProjectId == this.CurrUser.LoginProjectId select x).ToList(); + ////区域 + var pWorkArea = (from x in Funs.DB.ProjectData_WorkArea where x.ProjectId == this.CurrUser.LoginProjectId select x).ToList(); + ////单位 + var pUnits = (from x in Funs.DB.Project_ProjectUnit where x.SysPermissions.Contains(Const.SysHJGL)&& x.ProjectId == this.CurrUser.LoginProjectId select x).ToList(); + + var workAreaIdList = (from x in BLL.Funs.DB.PW_IsoInfo + where x.ProjectId == this.CurrUser.LoginProjectId && x.ISO_IsoNo.Contains(this.txtIsono.Text.Trim()) + orderby x.ISO_IsoNo + select x.WorkAreaId).Distinct().ToList(); + pWorkArea = pWorkArea.Where(x => workAreaIdList.Contains(x.WorkAreaId)).OrderBy(x => x.WorkAreaCode).ToList(); + pInstallation = (from x in pInstallation + join y in pWorkArea on x.InstallationId equals y.InstallationId + select x).Distinct().ToList(); + pUnits = (from x in pUnits + join y in pWorkArea on x.UnitId equals y.UnitId + select x).Distinct().ToList(); + this.BindNodes(rootNode, pInstallation, pWorkArea, pUnits); + } + #endregion + + #region 绑定树节点 + #region 绑定树节点 + /// + /// 绑定树节点 + /// + /// + private void BindNodes(TreeNode node, List pInstallation, List pWorkArea, List pUnits) + { + if (string.IsNullOrEmpty(node.ToolTip)) + { + List installations = pInstallation; + var pUnit = pUnits.FirstOrDefault(x => x.UnitId == this.CurrUser.UnitId); + if (pUnit != null && pUnit.UnitType != Const.ProjectUnitType_1 && pUnit.UnitType != Const.ProjectUnitType_5) + { + installations = (from x in pInstallation + join y in pWorkArea on x.InstallationId equals y.InstallationId + where y.UnitId == this.CurrUser.UnitId + orderby x.InstallationId + select x).Distinct().ToList(); + } + + foreach (var q in installations) + { + TreeNode newNode = new TreeNode(); + newNode.NodeID = q.InstallationId; + newNode.Text = q.InstallationName; + newNode.ToolTip = Resources.Lan.TCC_RE_CQMS_642; + newNode.Expanded = true; + node.Nodes.Add(newNode); + this.BindNodes(newNode, pInstallation, pWorkArea, pUnits); + } + } + else if (node.ToolTip == Resources.Lan.TCC_RE_CQMS_642) + { + List units = null; + var pUnitDepth = pUnits.FirstOrDefault(x => x.UnitId == this.CurrUser.UnitId); + if (pUnitDepth == null || pUnitDepth.UnitType == Const.ProjectUnitType_1 || pUnitDepth.UnitType == Const.ProjectUnitType_5) + { + var uids = Funs.DB.Project_ProjectUnit.Where(x => x.ProjectId == CurrUser.LoginProjectId && x.SysPermissions.Contains(Const.SysHJGL)).Select(x => x.UnitId).ToList(); + units = (from x in pUnits + join y in pWorkArea on x.UnitId equals y.UnitId + where y.InstallationId == node.NodeID && x.UnitType == Const.ProjectUnitType_2 && uids.Contains(x.UnitId) + select x).ToList(); + } + else + { + units = (from x in pUnits + join y in pWorkArea on x.UnitId equals y.UnitId + where y.InstallationId == node.NodeID && x.UnitType == Const.ProjectUnitType_2 && x.UnitId == this.CurrUser.UnitId + select x).ToList(); + } + + units = units.OrderBy(x => x.InTime).Distinct().ToList(); + foreach (var q in units) + { + var unit = BLL.UnitService.GetUnitByUnitId(q.UnitId); + if (unit != null) + { + TreeNode newNode = new TreeNode(); + newNode.Text = unit.UnitName; + newNode.NodeID = q.UnitId + "|" + node.NodeID; + newNode.ToolTip = Resources.Lan.TCC_RE_CQMS_304; + node.Nodes.Add(newNode); + this.BindNodes(newNode, pInstallation, pWorkArea, pUnits); + } + } + } + else if (node.ToolTip == Resources.Lan.TCC_RE_CQMS_304) + { + var workAreas = (from x in pWorkArea + where x.InstallationId == node.ParentNode.NodeID && x.UnitId == node.NodeID.Split('|')[0] + select x); + workAreas = workAreas.OrderByDescending(x => x.WorkAreaCode); + + string strSql = @"select WorkAreaId,Is_Standard,COUNT(*) COUNT from PW_IsoInfo + where ProjectId ='"+ this.CurrUser.LoginProjectId + @"' AND UnitId='"+ node.NodeID.Split('|')[0] + @"' + group by WorkAreaId,Is_Standard"; + + DataTable tb = SQLHelper.GetDataTableRunText(strSql, null); + Dictionary dic = new Dictionary(); + if (tb != null) + { + foreach(DataRow item in tb.Rows) + { + dic.Add(item["WorkAreaId"].ToString()+ item["Is_Standard"].ToString(), item["COUNT"].ToString()); + } + } + foreach (var q in workAreas) + { + //int a = (from x in BLL.Funs.DB.PW_IsoInfo where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitId == node.NodeID.Split('|')[0] && x.WorkAreaId == q.WorkAreaId && x.Is_Standard == true select x).Count(); + TreeNode newNode1 = new TreeNode(); + if (dic.ContainsKey(q.WorkAreaId + "True")) + { + newNode1.Text = q.WorkAreaCode + "【" + dic[q.WorkAreaId + "True"] + Resources.Lan.ASPXSC_2431; + } + else + { + newNode1.Text = q.WorkAreaCode + Resources.Lan.T_REST_ASPXCS_395; + + } + newNode1.NodeID = q.WorkAreaId + "_NoStandard"; + newNode1.EnableExpandEvent = true; + newNode1.ToolTip = Resources.Lan.ASPXSC_2432; + node.Nodes.Add(newNode1); + // int b = (from x in BLL.Funs.DB.PW_IsoInfo where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitId == node.NodeID.Split('|')[0] && x.WorkAreaId == q.WorkAreaId && x.Is_Standard != true select x).Count(); + TreeNode newNode2 = new TreeNode(); + if (dic.ContainsKey(q.WorkAreaId + "False")) + { + newNode2.Text = q.WorkAreaCode + "【" + dic[q.WorkAreaId + "False"] + Resources.Lan.ASPXSC_2433; + } + else + { + newNode2.Text = q.WorkAreaCode + Resources.Lan.T_REST_ASPXCS_396; + + } + newNode2.NodeID = q.WorkAreaId + "_Standard"; + newNode2.EnableExpandEvent = true; + newNode2.ToolTip = Resources.Lan.ASPXSC_2434; + node.Nodes.Add(newNode2); + this.BindNodes(newNode1, pInstallation, pWorkArea, pUnits); + this.BindNodes(newNode2, pInstallation, pWorkArea, pUnits); + } + } + else if (node.ToolTip == Resources.Lan.ASPXSC_2432) + { + TreeNode newNode = new TreeNode(); + newNode.Text = Resources.Lan.ASPXSC_2435; + newNode.NodeID = Resources.Lan.ASPXSC_2435; + node.Nodes.Add(newNode); + } + else if (node.ToolTip == Resources.Lan.ASPXSC_2434) + { + TreeNode newNode = new TreeNode(); + newNode.Text = Resources.Lan.ASPXSC_2436; + newNode.NodeID = Resources.Lan.ASPXSC_2436; + node.Nodes.Add(newNode); + } + } + #endregion + + #region 树展开事件 + /// + /// 树展开事件 + /// + /// + /// + protected void tvControlItem_TreeNodeExpanded(object sender, TreeNodeEventArgs e) + { + if (e.Node.ToolTip == Resources.Lan.ASPXSC_2432) + { + e.Node.Nodes.Clear(); + List isoInfo = new List(); + isoInfo = (from x in BLL.Funs.DB.PW_IsoInfo + where x.ProjectId == this.CurrUser.LoginProjectId && x.WorkAreaId == e.Node.NodeID.Split('_')[0] && x.Is_Standard == true + && x.ISO_IsoNo.Contains(this.txtIsono.Text.Trim()) + orderby x.ISO_IsoNo + select x).ToList(); + string strSql = @"select ISO_ID,COUNT(*) COUNT from PW_JointInfo + where ProjectId ='" + this.CurrUser.LoginProjectId + @"' AND ISO_ID in('" + string.Join("','", isoInfo.Select(x => x.ISO_ID).ToList()) + @"') + group by ISO_ID"; + + DataTable tb = SQLHelper.GetDataTableRunText(strSql, null); + Dictionary dic = new Dictionary(); + if (tb != null) + { + foreach (DataRow item in tb.Rows) + { + dic.Add(item["ISO_ID"].ToString(), item["COUNT"].ToString()); + } + } + foreach (var item in isoInfo) + { + // var jotCount = (from x in Funs.DB.PW_JointInfo where x.ISO_ID == item.ISO_ID select x).Count(); + TreeNode newNode = new TreeNode(); + if (!String.IsNullOrEmpty(item.ISO_Sheet)) + { + newNode.Text = item.ISO_IsoNo + "(" + item.ISO_Sheet + ")"; + } + else + { + newNode.Text = item.ISO_IsoNo; + } + if (dic.ContainsKey(item.ISO_IsoNo)) + { + newNode.Text += "【" + dic[item.ISO_IsoNo] + Resources.Lan.ASPXSC_2437; + } + else + { + newNode.Text += Resources.Lan.T_REST_ASPXCS_397; + + } + newNode.ToolTip = Resources.Lan.T_REST_ASPXCS_398; + newNode.NodeID = item.ISO_ID; + newNode.EnableExpandEvent = true; + //newNode.EnableClickEvent = true; + e.Node.Nodes.Add(newNode); + TreeNode newNodeTemp = new TreeNode(); + newNodeTemp.NodeID = Guid.NewGuid().ToString(); + newNode.Nodes.Add(newNodeTemp); + } + } + else if (e.Node.ToolTip == Resources.Lan.ASPXSC_2434) + { + e.Node.Nodes.Clear(); + List isoInfo = new List(); + isoInfo = (from x in BLL.Funs.DB.PW_IsoInfo + where x.ProjectId == this.CurrUser.LoginProjectId && x.WorkAreaId == e.Node.NodeID.Split('_')[0] && x.Is_Standard == false + && x.ISO_IsoNo.Contains(this.txtIsono.Text.Trim()) + orderby x.ISO_IsoNo + select x).ToList(); + string strSql = @"select ISO_ID,COUNT(*) COUNT from PW_JointInfo + where ProjectId ='" + this.CurrUser.LoginProjectId + @"' AND ISO_ID in('" + string.Join("','", isoInfo.Select(x => x.ISO_ID).ToList()) + @"') + group by ISO_ID"; + + DataTable tb = SQLHelper.GetDataTableRunText(strSql, null); + Dictionary dic = new Dictionary(); + if (tb != null) + { + foreach (DataRow item in tb.Rows) + { + dic.Add(item["ISO_ID"].ToString(), item["COUNT"].ToString()); + } + } + + foreach (var item in isoInfo) + { + var jotCount = (from x in Funs.DB.PW_JointInfo where x.ISO_ID == item.ISO_ID select x).Count(); + TreeNode newNode = new TreeNode(); + if (!String.IsNullOrEmpty(item.ISO_Sheet)) + { + newNode.Text = item.ISO_IsoNo + "(" + item.ISO_Sheet + ")"; + } + else + { + newNode.Text = item.ISO_IsoNo; + } + if (dic.ContainsKey(item.ISO_ID)) + { + newNode.Text += "【" + dic[item.ISO_ID] + Resources.Lan.ASPXSC_2437; + } + else + { + newNode.Text += Resources.Lan.T_REST_ASPXCS_397; + + } + + newNode.ToolTip = Resources.Lan.T_REST_ASPXCS_398; + newNode.NodeID = item.ISO_ID; + newNode.EnableExpandEvent = true; + + //newNode.EnableClickEvent = true; + e.Node.Nodes.Add(newNode); + TreeNode newNodeTemp = new TreeNode(); + newNodeTemp.NodeID = Guid.NewGuid().ToString(); + newNode.Nodes.Add(newNodeTemp); + } + } + else if (e.Node.ToolTip == Resources.Lan.T_REST_ASPXCS_398 ) + { + e.Node.Nodes.Clear(); + var attach = AttachFileService.GetAttachFile(e.Node.NodeID, BLL.Const.HJGL_PipelineManageMenuId); + if (attach != null) + { + var source = attach.AttachSource; + var array = JArray.Parse(source); + for (int i = 0; i < array.Count; i++) + { + JObject item = array[i] as JObject; + TreeNode newNode = new TreeNode(); + newNode.Text = item.Value("name"); + newNode.NodeID = item.Value("id"); + newNode.ToolTip = newNode.Text; + newNode.NavigateUrl = "PDFShow.aspx?ISO_ID=" + e.Node.NodeID + "&FileId=" + newNode.NodeID + "&pdfurl=" + item.Value("folder") + item.Value("savedName"); + newNode.Target = "mainframe"; + e.Node.Nodes.Add(newNode); + } + + } + + } + } + #endregion + #endregion + + #region 点击TreeView + /// + /// 点击TreeView + /// + /// + /// + protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e) + { + + } + #endregion + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + } +} \ No newline at end of file diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JointShow.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JointShow.aspx.designer.cs new file mode 100644 index 0000000..9d9584f --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/JointShow.aspx.designer.cs @@ -0,0 +1,98 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HJGL.JoinMarking +{ + + + public partial class JointShow + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// panelLeftRegion 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel panelLeftRegion; + + /// + /// Toolbar1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// txtIsono 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtIsono; + + /// + /// tvControlItem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Tree tvControlItem; + + /// + /// mainPanel 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel mainPanel; + + /// + /// WindowAtt 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window WindowAtt; + } +} diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFMarking.aspx b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFMarking.aspx new file mode 100644 index 0000000..49bd44b --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFMarking.aspx @@ -0,0 +1,244 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PDFMarking.aspx.cs" Inherits="FineUIPro.Web.HJGL.JoinMarking.PDFMarking" %> + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFMarking.aspx.cs b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFMarking.aspx.cs new file mode 100644 index 0000000..8f5a305 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFMarking.aspx.cs @@ -0,0 +1,887 @@ +using BLL; +using BLL.Common; +using Newtonsoft.Json.Linq; +using NPOI.POIFS.Properties; +using System; +using System.Collections.Generic; +using System.Data; +using System.Data.OleDb; +using System.Data.SqlClient; +using System.IO; +using System.Linq; +using System.Threading; + +namespace FineUIPro.Web.HJGL.JoinMarking +{ + public partial class PDFMarking : PageBase + { + private string ISO_ID + { + get + { + return (string)ViewState["ISO_ID"]; + } + set + { + ViewState["ISO_ID"] = value; + } + } + private string FileId + { + get + { + return (string)ViewState["FileId"]; + } + set + { + ViewState["FileId"] = value; + } + } + public string URL + { + get + { + return (string)ViewState["URL"]; + } + set + { + ViewState["URL"] = value; + } + } + #region 定义项 + /// + /// 是否PDMS + /// + private string IsPDMS + { + get + { + return (string)ViewState["IsPDMS"]; + } + set + { + ViewState["IsPDMS"] = value; + } + } + #endregion + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + + ISO_ID = Request.Params["ISO_ID"]; + FileId = Request.Params["FileId"]; + URL = Funs. SGGLUrl + Request.Params["pdfurl"]; + this.IsPDMS = "0"; + + } + } + #region 绑定数据 + /// + /// 绑定数据 + /// + private void BindGrid() + { + string strSql = @"SELECT TempId,ProjectId,UserId,Time,RowNo,ToopValue,Value1,Value2,Value3,Value4,Value5,Value6,Value7,Value8,Value9,Value10" + + @" ,Value11,Value12,Value13,Value14,Value15,Value16,Value17,Value18,Value19,Value20,Value21,Value22,Value23,Value24,Value25,Value26,Value27,Value28,Value29,Value30" + + @" ,Value31,Value32,Value33,Value34,Value35,Value36,Value37,Value38,Value39,Value40,Value41,Value42,Value43,Value44,Value45,Value46,Value47,Value48,Value49,Value50,ToopValue,Type" + + @" FROM Sys_DataInTemp " + + @" WHERE ProjectId=@ProjectId AND UserId=@UserId AND Type=@Type"; + List listStr = new List(); + listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId)); + listStr.Add(new SqlParameter("@UserId", this.CurrUser.UserId)); + listStr.Add(new SqlParameter("@Type", this.IsPDMS)); + + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + // 2.获取当前分页数据 + Grid1.RecordCount = tb.Rows.Count; + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + var dataInTempAll = from x in Funs.DB.Sys_DataInTemp + where x.ProjectId == this.CurrUser.LoginProjectId && x.UserId == this.CurrUser.UserId && x.Type == this.IsPDMS + select x; + for (int i = 0; i < Grid1.Rows.Count; i++) + { + var dataInTemp = dataInTempAll.FirstOrDefault(x => x.TempId == Grid1.Rows[i].DataKeys[0].ToString()); + if (dataInTemp != null) + { + if (!string.IsNullOrEmpty(dataInTemp.ToopValue)) + { + Grid1.Rows[i].RowCssClass = "red"; + } + } + } + if (this.Grid1.Columns.Count() > 0) + { + if (this.IsPDMS == "1") ///如果是PDMS + { + this.Grid1.Columns[7].Hidden = true;//材质2 + this.Grid1.Columns[10].Hidden = true;//焊接区域 + this.Grid1.Columns[11].Hidden = true;//焊口属性 + this.Grid1.Columns[12].Hidden = true;//达因数 + this.Grid1.Columns[13].Hidden = true;//规格 + this.Grid1.Columns[15].Hidden = true;//焊接方法代码 + this.Grid1.Columns[17].Hidden = true;//焊条代号 + this.Grid1.Columns[18].Hidden = true;//焊丝代号 + this.Grid1.Columns[19].HeaderText = Resources.Lan.ASPXSC_2080; + this.Grid1.Columns[23].Hidden = true;//坡口代号 + this.Grid1.Columns[25].HeaderText = Resources.Lan.ASPXSC_2081; + this.Grid1.Columns[26].Hidden = true;//组件二代号 + this.Grid1.Columns[27].Hidden = true;//炉批号1 + this.Grid1.Columns[28].Hidden = true;//炉批号2 + this.Grid1.Columns[30].Hidden = true;//预热温度 + this.Grid1.Columns[31].Hidden = true;//是否热处理 + this.Grid1.Columns[32].Hidden = true;//热处理编号 + this.Grid1.Columns[33].Hidden = true;//焊接位置 + this.Grid1.Columns[34].Hidden = true;//外径 + this.Grid1.Columns[35].Hidden = true;//硬度检测比例(数值) + this.Grid1.Columns[36].Hidden = true;//焊接气体保护 + } + else + { + this.Grid1.Columns[37].Hidden = true;//组件数量 + this.Grid1.Columns[38].Hidden = true;//公称直径 + } + } + var errData = from x in dataInTempAll where x.ToopValue != null select x; + this.lbDataCout.Text = errData.Count().ToString(); + } + #endregion + #region 双击事件 + /// + /// Grid行双击事件 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop(Resources.Lan.T_REST_ASPXCS_370, MessageBoxIcon.Warning); + return; + } + if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.HJGL_DataInMenuId, Const.BtnIn)) + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("DataInEdit.aspx?TempId={0}", Grid1.SelectedRowID, "维护 - "))); + } + else + { + ShowNotify(Resources.Lan.T_REST_ASPXCS_365, MessageBoxIcon.Warning); + } + } + #endregion + + #region 导入信息 维护 + /// + /// 导入信息编辑 + /// + /// + /// + protected void btnMenuEdit_Click(object sender, EventArgs e) + { + if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.HJGL_DataInMenuId, BLL.Const.BtnIn)) + { + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop(Resources.Lan.T_REST_ASPXCS_370, MessageBoxIcon.Warning); + return; + } + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("DataInEdit.aspx?TempId={0}", Grid1.SelectedRowID, "维护 - "))); + } + else + { + ShowNotify(Resources.Lan.T_REST_ASPXCS_365, MessageBoxIcon.Warning); + } + } + + /// + /// 删除按钮 + /// + /// + /// + protected void btnMenuDelete_Click(object sender, EventArgs e) + { + if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.HJGL_DataInMenuId, Const.BtnIn)) + { + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop(Resources.Lan.T_REST_ASPXCS_370, MessageBoxIcon.Warning); + return; + } + + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + BLL.DataInTempService.DeleteDataInTempByDataInTempID(rowID); + //BLL.Sys_LogService.AddLog(Const.System_7, this.CurrUser.LoginProjectId, this.CurrUser.UserId, Resources.Lan.ASPXSC_2047); + } + + ShowNotify(Resources.Lan.T_REST_ASPXCS_373, MessageBoxIcon.Success); + this.BindGrid(); + } + else + { + Alert.ShowInTop(Resources.Lan.T_REST_ASPXCS_365, MessageBoxIcon.Warning); + return; + } + } + #endregion + + + #region 分页 排序 + /// + /// 分页 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 分页显示条数下拉框 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 排序 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + BindGrid(); + } + #endregion + + + #region 保存审核事件 + /// + /// 保存审核事件 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + btnSaveMethod(this.CurrUser.LoginProjectId, this.CurrUser.UserId, this.IsPDMS); + + this.BindGrid(); + + } + protected void btnRefresh_Click(object sender, EventArgs e) + { + this.BindGrid(); + } + + protected void btnSaveMethod(string LoginProjectId, string UserId, string IsPDMS) + { + //beginProgress(); + var units = from x in Funs.DB.Base_Unit + join y in Funs.DB.Project_ProjectUnit on x.UnitId equals y.UnitId + where y.ProjectId == LoginProjectId + select x; + var workAreas = from x in Funs.DB.ProjectData_WorkArea where x.ProjectId == LoginProjectId select x; + var steels = from x in Funs.DB.Base_Material select x; + var materialTypes = from x in Funs.DB.Base_MaterialType select x; + var rates = from x in Funs.DB.Base_DetectionRate select x; + var types = from x in Funs.DB.Base_WeldType select x; + var methods = from x in Funs.DB.Base_WeldingMethod select x; + var materials = from x in Funs.DB.Base_Consumables select x; + var services = from x in Funs.DB.Base_TestMedium select x; + var slopeTypes = from x in Funs.DB.Base_GrooveType select x; + var isoClasss = from x in Funs.DB.Base_PipingClass select x; + var components = from x in Funs.DB.Base_Components select x; + var dns = from x in Funs.DB.Base_DNCompare select x; + var dataInTemp = from x in Funs.DB.Sys_DataInTemp + where x.ProjectId == LoginProjectId && x.UserId == UserId && x.Type == IsPDMS + select x; + + + var iosType = from x in Funs.DB.Sys_Const + where x.GroupId == ConstValue.GroupId_ISOType + select x; + int okCount = 0; + int i = 0; + int ir = dataInTemp.Count(); + string erreMessage = ""; + foreach (var tempData in dataInTemp) + { + + if (tempData != null) + { + string errInfo = string.Empty; + + Model.PW_JointInfo jointInfo = new Model.PW_JointInfo(); ///焊口 + jointInfo.JOT_JointStatus = "100"; + jointInfo.ISO_ID = this.ISO_ID; + jointInfo.X = tempData.Value46; + jointInfo.Y = tempData.Value47; + jointInfo.X2 = tempData.Value48; + jointInfo.Y2 = tempData.Value49; + jointInfo.AttachSourceId = this.FileId; + + if (string.IsNullOrEmpty(tempData.Value4)) + { + errInfo += Resources.Lan.ASPXSC_2056; + } + else + { + jointInfo.JOT_JointNo = tempData.Value4; + } + #region 通用 + + if (!string.IsNullOrEmpty(tempData.Value5)) + { + var materialType = materialTypes.FirstOrDefault(x => x.MaterialTypeCode == tempData.Value5); + if (materialType == null) + { + errInfo += Resources.Lan.ASPXSC_2083 + tempData.Value5 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.MaterialType = materialType.MaterialTypeId; + } + } + if (!string.IsNullOrEmpty(tempData.Value8)) + { + jointInfo.Material1 = tempData.Value8; + } + if (!string.IsNullOrEmpty(tempData.Value9)) + { + jointInfo.Material2 = tempData.Value9; + } + if (!string.IsNullOrEmpty(tempData.Value6)) + { + var steel = steels.FirstOrDefault(x => x.MaterialCode == tempData.Value6); + if (steel == null) + { + errInfo += Resources.Lan.TTC_RE_CS_HSSE_121 + tempData.Value6 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.MaterialId = steel.MaterialId; + } + } + else + { + errInfo += Resources.Lan.TTC_RE_CS_HSSE_122; + } + if (!string.IsNullOrEmpty(tempData.Value41) && tempData.Value41.Trim() == Resources.Lan.TCC_RE_CQMS_011) + { + jointInfo.Extend_Length = tempData.Value43; + if (!string.IsNullOrEmpty(tempData.Value10)) + { + var rate = rates.FirstOrDefault(x => x.DetectionRateCode == tempData.Value10); + if (rate == null) + { + errInfo += Resources.Lan.ASPXSC_2084 + tempData.Value10 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.DetectionRateId = rate.DetectionRateId; + } + } + else + { + errInfo += Resources.Lan.ASPXSC_2085; + } + } + + if (string.IsNullOrEmpty(tempData.Value16)) + { + errInfo += Resources.Lan.ASPXSC_2091; + } + else + { + jointInfo.JOT_Sch = tempData.Value16; + } + + if (!string.IsNullOrEmpty(tempData.Value45)) + { + var type = iosType.FirstOrDefault(x => x.ConstValue == tempData.Value45); + if (type == null) + { + errInfo += Resources.Lan.ASPXSC_2093 + tempData.Value45 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.ISO_Type = type.ConstValue; + } + } + jointInfo.JOT_BelongPipe = tempData.Value31; + jointInfo.WallBoard = tempData.Value42; + #endregion + + if (this.IsPDMS == "0") ////非PDMS 模板 + { + #region 非PDMS 模板 + if (!string.IsNullOrEmpty(tempData.Value7)) + { + var steel = steels.FirstOrDefault(x => x.MaterialCode == tempData.Value7); + if (steel == null) + { + errInfo += Resources.Lan.TTC_RE_CS_HSSE_123 + tempData.Value7 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.MaterialId = steel.MaterialId; + } + } + if (!string.IsNullOrEmpty(tempData.Value11)) + { + var type = types.FirstOrDefault(x => x.WeldTypeCode == tempData.Value11); + if (type == null) + { + errInfo += Resources.Lan.ASPXSC_2094 + tempData.Value11 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.JOTY_ID = type.WeldTypeId; + } + } + else + { + errInfo += Resources.Lan.ASPXSC_2095; + } + if (!string.IsNullOrEmpty(tempData.Value12)) + { + if (tempData.Value12 != Resources.Lan.mainProject0_Installation && tempData.Value12 != Resources.Lan.RE_Remained_945) + { + errInfo += Resources.Lan.ASPXSC_2096 + tempData.Value12 + Resources.Lan.ASPXSC_2016; + } + else + { + if (tempData.Value12 == Resources.Lan.mainProject0_Installation) + { + jointInfo.WLO_Code = "F"; + } + else + { + jointInfo.WLO_Code = "S"; + } + } + } + else + { + errInfo += Resources.Lan.ASPXSC_2097; + } + if (!string.IsNullOrEmpty(tempData.Value13)) + { + if (tempData.Value13 != Resources.Lan.RE_Remained_947 && tempData.Value13 != Resources.Lan.RE_Remained_946) + { + errInfo += Resources.Lan.ASPXSC_2098 + tempData.Value13 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.JOT_JointAttribute = tempData.Value13; + } + } + else + { + errInfo += Resources.Lan.ASPXSC_2099; + } + if (!string.IsNullOrEmpty(tempData.Value14)) + { + try + { + decimal doneDin = Convert.ToDecimal(tempData.Value14); + jointInfo.JOT_Size = doneDin; + } + catch (Exception) + { + errInfo += Resources.Lan.ASPXSC_2100 + tempData.Value14 + Resources.Lan.ASPXSC_2087; + } + } + else + { + errInfo += Resources.Lan.ASPXSC_2101; + } + if (string.IsNullOrEmpty(tempData.Value15)) + { + errInfo += Resources.Lan.ASPXSC_2102; + } + else + { + jointInfo.JOT_JointDesc = tempData.Value15; + } + + if (!string.IsNullOrEmpty(tempData.Value17)) + { + var method = methods.FirstOrDefault(x => x.WeldingMethodCode == tempData.Value17); + if (method == null) + { + errInfo += Resources.Lan.ASPXSC_2103 + tempData.Value17 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.WME_ID = method.WeldingMethodId; + } + } + else + { + errInfo += Resources.Lan.ASPXSC_2104; + } + if (!string.IsNullOrEmpty(tempData.Value19)) + { + var material = materials.FirstOrDefault(x => x.ConsumablesCode == tempData.Value19 && x.ConsumablesType == "2"); + if (material == null) + { + errInfo += Resources.Lan.ASPXSC_2105 + tempData.Value19 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.JOT_WeldMat = material.ConsumablesId; + } + } + if (!string.IsNullOrEmpty(tempData.Value20)) + { + var material = materials.FirstOrDefault(x => x.ConsumablesCode == tempData.Value20 && x.ConsumablesType == "1"); + if (material == null) + { + errInfo += Resources.Lan.ASPXSC_2106 + tempData.Value20 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.JOT_WeldSilk = material.ConsumablesId; + } + } + if (!string.IsNullOrEmpty(tempData.Value25)) + { + var slopeType = slopeTypes.FirstOrDefault(x => x.GrooveTypeCode == tempData.Value25); + if (slopeType == null) + { + errInfo += Resources.Lan.ASPXSC_2107 + tempData.Value25 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.JST_ID = slopeType.GrooveTypeId; + } + } + else + { + errInfo += Resources.Lan.ASPXSC_2108; + } + if (!string.IsNullOrEmpty(tempData.Value27)) + { + var component = components.FirstOrDefault(x => x.ComponentsCode == tempData.Value27); + if (component == null) + { + errInfo += Resources.Lan.ASPXSC_2109 + tempData.Value27 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.JOT_Component1 = component.ComponentsId; + } + } + if (!string.IsNullOrEmpty(tempData.Value28)) + { + var component = components.FirstOrDefault(x => x.ComponentsCode == tempData.Value28); + if (component == null) + { + errInfo += Resources.Lan.ASPXSC_2110 + tempData.Value28 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.JOT_Component2 = component.ComponentsId; + } + } + jointInfo.JOT_HeartNo1 = tempData.Value29; + jointInfo.JOT_HeartNo2 = tempData.Value30; + if (!string.IsNullOrEmpty(tempData.Value32)) + { + try + { + decimal testPress = Convert.ToDecimal(tempData.Value32); + jointInfo.JOT_PrepareTemp = testPress; + } + catch (Exception) + { + errInfo += Resources.Lan.ASPXSC_2111 + tempData.Value32 + Resources.Lan.ASPXSC_2087; + } + } + if (!string.IsNullOrEmpty(tempData.Value33)) + { + if (tempData.Value33 != Resources.Lan.TCC_RE_CQMS_011 && tempData.Value33 != Resources.Lan.TCC_RE_CQMS_012) + { + errInfo += Resources.Lan.ASPXSC_2112 + tempData.Value33 + Resources.Lan.ASPXSC_2087; + } + else + { + if (tempData.Value33 == Resources.Lan.TCC_RE_CQMS_011) + { + jointInfo.IS_Proess = "1"; + } + else + { + jointInfo.IS_Proess = "0"; + } + } + } + jointInfo.JOT_HotRpt = tempData.Value34; + if (!string.IsNullOrEmpty(tempData.Value35)) + { + if (tempData.Value35 != "1G" && tempData.Value35 != "2G" && tempData.Value35 != "3G" && tempData.Value35 != "4G" && tempData.Value35 != "5G" && tempData.Value35 != "6G" && tempData.Value35 != "1F" && tempData.Value35 != "2F" && tempData.Value35 != "2FR" + && tempData.Value35 != "4F" && tempData.Value35 != "5F" && tempData.Value35 != "5FG" && tempData.Value35 != "6FG" && tempData.Value35 != "2FG" && tempData.Value35 != "4FG") + { + errInfo += Resources.Lan.ASPXSC_2113 + tempData.Value35 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.JOT_Location = tempData.Value35; + } + } + else + { + errInfo += Resources.Lan.ASPXSC_2114; + } + if (!string.IsNullOrEmpty(tempData.Value36)) + { + try + { + decimal testPress = Convert.ToDecimal(tempData.Value36); + jointInfo.JOT_Dia = testPress; + } + catch (Exception) + { + errInfo += Resources.Lan.ASPXSC_2115 + tempData.Value36 + Resources.Lan.ASPXSC_2087; + } + } + + #endregion + } + else + { + #region PDMS模板 + if (!string.IsNullOrEmpty(tempData.Value40)) + { + + } + if (!string.IsNullOrEmpty(tempData.Value27)) + { + var component = components.FirstOrDefault(x => x.ComponentsCode == tempData.Value27); + if (component == null) + { + errInfo += Resources.Lan.ASPXSC_2119 + tempData.Value27 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.JOT_Component1 = component.ComponentsId; + } + } + if (string.IsNullOrEmpty(tempData.Value39)) + { + errInfo += Resources.Lan.TTC_RE_CS_HSSE_124; + } + else + { + jointInfo.ComponentNum = tempData.Value39; + } + if (!string.IsNullOrEmpty(tempData.Value11)) + { + var type = types.FirstOrDefault(x => x.WeldTypeCode == tempData.Value11); + if (type == null) + { + errInfo += Resources.Lan.ASPXSC_2120 + tempData.Value11 + Resources.Lan.ASPXSC_2016; + } + else + { + jointInfo.JOTY_ID = type.WeldTypeId; + } + } + else + { + errInfo += Resources.Lan.ASPXSC_2121; + } + jointInfo.WLO_Code = "S"; + jointInfo.JOT_JointAttribute = Resources.Lan.RE_Remained_946; + jointInfo.JOT_Location = "1G"; + jointInfo.JOT_Size = BLL.Base_DNCompareService.GetSizeByDn(tempData.Value40); // 生成尺寸 + if (Funs.GetNewIntOrZero(tempData.Value40) <= 50) // 生成焊接方法 + { + var m = methods.FirstOrDefault(x => x.WeldingMethodCode.Contains("GTAW")); + if (m != null) + { + jointInfo.WME_ID = m.WeldingMethodId; + } + } + else + { + var m = methods.FirstOrDefault(x => x.WeldingMethodCode.Contains("GTAW") && x.WeldingMethodCode.Contains("SMAW")); + if (m != null) + { + jointInfo.WME_ID = m.WeldingMethodId; + } + } + if (!string.IsNullOrEmpty(tempData.Value40) && !string.IsNullOrEmpty(tempData.Value16)) + { + jointInfo.JOT_JointDesc = tempData.Value40 + "×" + tempData.Value16; + } + if (!string.IsNullOrEmpty(tempData.Value16)) + { + jointInfo.JOT_Sch = tempData.Value16; + } + if (!string.IsNullOrEmpty(tempData.Value27)) + { + var component = components.FirstOrDefault(x => x.ComponentsName.Contains(tempData.Value27)); + if (component != null) + { + jointInfo.JOT_Component1 = component.ComponentsId; + jointInfo.JOT_Component2 = jointInfo.JOT_Component1; + } + } + #endregion + } + + if (string.IsNullOrEmpty(errInfo)) ////所有信息正确的话 这插入管线焊口 + { + jointInfo.ProjectId = this.CurrUser.LoginProjectId; + + var isExitJotNoValue = Funs.DB.View_JointInfoAndIsoInfo.FirstOrDefault(x => x.ProjectId == this.CurrUser.LoginProjectId && x.UnitCode == tempData.Value1 + && x.WorkAreaCode == tempData.Value2 && x.ISO_IsoNo == tempData.Value3 && x.JOT_JointNo == tempData.Value4 && x.JOT_JointStatus != "104"); + if (isExitJotNoValue == null) + { + BLL.PW_JointInfoService.AddJointInfo(jointInfo); + } + else + { + if (string.IsNullOrEmpty(isExitJotNoValue.DReportID)) + { + jointInfo.JOT_ID = isExitJotNoValue.JOT_ID; + BLL.PW_JointInfoService.UpdateJointInfo(jointInfo); + } + } + BLL.DataInTempService.DeleteDataInTempByDataInTempID(tempData.TempId); + okCount++; + } + + + if (!string.IsNullOrEmpty(errInfo)) + { + tempData.ToopValue = errInfo; + BLL.DataInTempService.UpdateDataInTemp(tempData); + erreMessage += errInfo + ";"; + + } + + } + } + } + #endregion + + + + + + protected void btnNext_Click(object sender, EventArgs e) + { + btnImport.Hidden = false; + Grid1.Hidden = false; + contentPanel.Hidden = true; + btnNext.Hidden = true; + btnClear.Hidden = false; + var json = hdworkRecord.Value; + if (json != "{}") + { + var jsonObc = JObject.Parse(json); + var jsonArray = jsonObc.Value("annotations").Value("1"); + var iso = Funs.DB.PW_IsoInfo.FirstOrDefault(x => x.ISO_ID == ISO_ID); + if (iso != null) + { + var workArea = Funs.DB.ProjectData_WorkArea.FirstOrDefault(x => x.ProjectId == iso.ProjectId && x.WorkAreaId == iso.WorkAreaId); + var unit = Funs.DB.Base_Unit.FirstOrDefault(x => x.UnitId == iso.UnitId); + List newDataInTempList = new List(); + for (int i = 0; i < jsonArray.Count; i++) + { + JObject item = jsonArray[i] as JObject; + + //if (!string.IsNullOrEmpty(pds.Rows[i][3].ToString())) + { + Model.Sys_DataInTemp newDataInTemp = new Model.Sys_DataInTemp(); + newDataInTemp.TempId = SQLHelper.GetNewID(typeof(Model.Sys_DataInTemp)); + newDataInTemp.ProjectId = this.CurrUser.LoginProjectId; + newDataInTemp.UserId = this.CurrUser.UserId; + newDataInTemp.Time = System.DateTime.Now; + newDataInTemp.Type = this.IsPDMS; + newDataInTemp.RowNo = i + 2; + newDataInTemp.Value1 = unit.UnitCode; + newDataInTemp.Value2 = workArea.WorkAreaCode; + newDataInTemp.Value3 = iso.ISO_IsoNo; + newDataInTemp.Value4 = item.Value("label"); + newDataInTemp.Value46 = item.Value("x"); + newDataInTemp.Value47 = item.Value("y"); + newDataInTemp.Value48 = item.Value("x2"); + newDataInTemp.Value49 = item.Value("y2"); + //newDataInTemp.Value4 = pds.Rows[i][3].ToString().Trim();//焊口号 + //newDataInTemp.Value5 = pds.Rows[i][4].ToString().Trim();//材质类型代号 + //newDataInTemp.Value6 = pds.Rows[i][5].ToString().Trim();//材质1代号 + //newDataInTemp.Value7 = pds.Rows[i][6].ToString().Trim();//材质2代号 + //newDataInTemp.Value8 = pds.Rows[i][7].ToString().Trim();//材料1 + //newDataInTemp.Value9 = pds.Rows[i][8].ToString().Trim();//材料2 + //newDataInTemp.Value10 = pds.Rows[i][9].ToString().Trim();//探伤比例代号 + //newDataInTemp.Value11 = pds.Rows[i][10].ToString().Trim();//焊缝类型代号 + //newDataInTemp.Value12 = pds.Rows[i][11].ToString().Trim();//焊接区域 + //newDataInTemp.Value13 = pds.Rows[i][12].ToString().Trim();//焊口属性 + //newDataInTemp.Value14 = pds.Rows[i][13].ToString().Trim();//达因数 + //newDataInTemp.Value15 = pds.Rows[i][14].ToString().Trim();//规格 + //newDataInTemp.Value16 = pds.Rows[i][15].ToString().Trim();//壁厚 + //newDataInTemp.Value17 = pds.Rows[i][16].ToString().Trim();//焊接方法代码 + //newDataInTemp.Value18 = pds.Rows[i][17].ToString().Trim();//试验压力 + //newDataInTemp.Value19 = pds.Rows[i][18].ToString().Trim();//焊条代号 + //newDataInTemp.Value20 = pds.Rows[i][19].ToString().Trim();//焊丝代号 + //newDataInTemp.Value21 = pds.Rows[i][20].ToString().Trim();//介质代号 + //newDataInTemp.Value22 = pds.Rows[i][21].ToString().Trim();//单线图号 + //newDataInTemp.Value23 = pds.Rows[i][22].ToString().Trim();//设计压力 + //newDataInTemp.Value24 = pds.Rows[i][23].ToString().Trim();//设计温度 + //newDataInTemp.Value25 = pds.Rows[i][24].ToString().Trim();//坡口代号 + //newDataInTemp.Value26 = pds.Rows[i][25].ToString().Trim();//管线等级代号 + //newDataInTemp.Value27 = pds.Rows[i][26].ToString().Trim(); //组件一代号 + //newDataInTemp.Value28 = pds.Rows[i][27].ToString().Trim();//组件二代号 + //newDataInTemp.Value29 = pds.Rows[i][28].ToString().Trim();//炉批号一 + //newDataInTemp.Value30 = pds.Rows[i][29].ToString().Trim();//炉批号二 + //newDataInTemp.Value31 = pds.Rows[i][30].ToString().Trim();//所属管段 + //newDataInTemp.Value32 = pds.Rows[i][31].ToString().Trim();//预热温度 + //newDataInTemp.Value33 = pds.Rows[i][32].ToString().Trim();//是否需热处理(是,否) + //newDataInTemp.Value34 = pds.Rows[i][33].ToString().Trim();//热处理编号 + //newDataInTemp.Value35 = pds.Rows[i][34].ToString().Trim();//硬度检测比例(数值) + //newDataInTemp.Value38 = pds.Rows[i][37].ToString().Trim();//外径 + //newDataInTemp.Value39 = pds.Rows[i][36].ToString().Trim();//焊接位置(1G/2G/3G/4G/5G/6G) + //newDataInTemp.Value40 = pds.Rows[i][35].ToString().Trim();//焊接气体保护 + //newDataInTemp.Value41 = pds.Rows[i][38].ToString().Trim();//是否非标(是/否) + //newDataInTemp.Value42 = pds.Rows[i][39].ToString().Trim();//壁板号 + //newDataInTemp.Value43 = pds.Rows[i][40].ToString().Trim();//延长米 + //newDataInTemp.Value44 = pds.Rows[i][41].ToString().Trim();//管道长度 + //newDataInTemp.Value45 = pds.Rows[i][42].ToString().Trim();//管道类别号 + newDataInTempList.Add(newDataInTemp); + } + } + + BLL.DataInTempService.AddDataInTemp(newDataInTempList); + + } + } + BindGrid(); + } + + protected void Window1_Close(object sender, WindowCloseEventArgs e) + { + BindGrid(); + } + + protected void btnClear_Click(object sender, EventArgs e) + { ////先删除临时表中 该人员以前导入的数据 + BLL.DataInTempService.DeleteDataInTempByProjectIdUserId(this.CurrUser.LoginProjectId, this.CurrUser.UserId, this.IsPDMS); + this.BindGrid(); + ShowNotify(Resources.Lan.T_REST_ASPXCS_373, MessageBoxIcon.Success); + + } + } +} \ No newline at end of file diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFMarking.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFMarking.aspx.designer.cs new file mode 100644 index 0000000..f7ddf81 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFMarking.aspx.designer.cs @@ -0,0 +1,179 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HJGL.JoinMarking +{ + + + public partial class PDFMarking + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// hdjoinInfo 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdjoinInfo; + + /// + /// hdworkRecord 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdworkRecord; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// btnNext 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnNext; + + /// + /// btnClear 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnClear; + + /// + /// btnImport 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnImport; + + /// + /// contentPanel 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ContentPanel contentPanel; + + /// + /// Grid1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// lbDataCout 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label lbDataCout; + + /// + /// Window1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window Window1; + + /// + /// Menu1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuEdit 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.MenuButton btnMenuEdit; + + /// + /// btnMenuDelete 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.MenuButton btnMenuDelete; + } +} diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFShow.aspx b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFShow.aspx new file mode 100644 index 0000000..671051b --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFShow.aspx @@ -0,0 +1,41 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PDFShow.aspx.cs" Inherits="FineUIPro.Web.HJGL.JoinMarking.PDFShow" %> + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+
+
+
+ + + + diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFShow.aspx.cs b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFShow.aspx.cs new file mode 100644 index 0000000..3112db1 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFShow.aspx.cs @@ -0,0 +1,195 @@ +using BLL; +using BLL.Common; +using FineUIPro.Web.HJGL.HotProcessHard; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using NPOI.POIFS.Properties; +using RestSharp.Serialization.Json; +using System; +using System.Collections.Generic; +using System.Data; +using System.Data.OleDb; +using System.Data.SqlClient; +using System.IO; +using System.Linq; +using System.Threading; +namespace FineUIPro.Web.HJGL.JoinMarking +{ + public partial class PDFShow : PageBase + { + private string ISO_ID + { + get + { + return (string)ViewState["ISO_ID"]; + } + set + { + ViewState["ISO_ID"] = value; + } + } + private string FileId + { + get + { + return (string)ViewState["FileId"]; + } + set + { + ViewState["FileId"] = value; + } + } + public string UnitName + { + get + { + return (string)ViewState["UnitName"]; + } + set + { + ViewState["UnitName"] = value; + } + } + public string URL + { + get + { + return (string)ViewState["URL"]; + } + set + { + ViewState["URL"] = value; + } + } + public string JointData + { + get + { + return (string)ViewState["JointData"]; + } + set + { + ViewState["JointData"] = value; + } + } + + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + + ISO_ID = Request.Params["ISO_ID"]; + FileId = Request.Params["FileId"]; + URL = Funs.SGGLUrl + Request.Params["pdfurl"]; + + var iso = Funs.DB.PW_IsoInfo.FirstOrDefault(x => x.ISO_ID == ISO_ID); + if (iso != null) + { + UnitName = Funs.DB.Base_Unit.FirstOrDefault(x => x.UnitId == iso.UnitId)?.UnitName; + } + + var jotids = Funs.DB.PW_JointInfo.Where(x => x.ISO_ID == ISO_ID && x.AttachSourceId == FileId).Select(x => x.JOT_ID).ToList(); + + string sqlData = @"select a.JOT_ID ,a.JOT_JointNo,c.WED_Code,JOT_Location,b.JOT_WeldDate ,'/' DetectionTypeCode ,'/' IsRepair,'/' IsHotProcess,x,y,x2,y2 + ,(case a.JOT_JointStatus + when '100' then '正常' + when '102' then '扩透' + when '101' then '点口' + when '104' then '已切除' end) as JOT_JointStatus from PW_JointInfo a + left join BO_WeldReportMain b on a.DReportID=b.DReportID + left join bs_welder AS c ON a.JOT_FloorWelder = c.wed_id + WHERE a.ProjectId = @ProjectId and a.JOT_ID in ('" + string.Join("','", jotids) + "') "; + SqlParameter[] parameter1 = new SqlParameter[] { new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId) }; + DataTable tb1 = SQLHelper.GetDataTableRunText(sqlData, parameter1); + + string sqlTrust = @"select a.JOT_ID, c.DetectionTypeCode,b.CH_TrustType from CH_TrustItem AS a + LEFT JOIN CH_Trust AS b ON a.CH_TrustID = b.CH_TrustID + left join Base_DetectionType c on b.CH_NDTMethod = c.DetectionTypeId + where a.JOT_ID in ('" + string.Join("','", jotids) + "') "; + DataTable tbTrust = SQLHelper.GetDataTableRunText(sqlTrust, null); + Dictionary DetectionTypeDic = new Dictionary(); + Dictionary TrustTypeDic = new Dictionary(); + if (tbTrust != null) + { + foreach (DataRow row in tbTrust.Rows) + { + string JOT_ID = row["JOT_ID"].ToString(); + string DetectionTypeCode = row["DetectionTypeCode"].ToString(); + string CH_TrustType = row["CH_TrustType"].ToString(); + if (!DetectionTypeDic.ContainsKey(JOT_ID)) + { + DetectionTypeDic.Add(JOT_ID, DetectionTypeCode); + } + + if (!TrustTypeDic.ContainsKey(JOT_ID)&& CH_TrustType=="2") + { + TrustTypeDic.Add(JOT_ID, CH_TrustType); + } + } + } + string sqlCheck = @" + select HotProessTrustId ,WeldJointId from HJGL_HotProess_TrustItem + where WeldJointId in ('" + string.Join("','", jotids) + "') "; + DataTable tbCheck = SQLHelper.GetDataTableRunText(sqlCheck, null); + Dictionary HotProessDic = new Dictionary(); + if (tbCheck != null) + { + foreach (DataRow row in tbTrust.Rows) + { + string WeldJointId = row["WeldJointId"].ToString(); + string HotProessTrustId = row["HotProessTrustId"].ToString(); + if(!HotProessDic.ContainsKey(WeldJointId)) + { + HotProessDic.Add(WeldJointId, HotProessTrustId); + } + } + } + if (tb1 != null) + { + foreach (DataRow row in tb1.Rows) + { + string JOT_ID = row["JOT_ID"].ToString(); + if (DetectionTypeDic.ContainsKey(JOT_ID)) + { + row["DetectionTypeCode"] = DetectionTypeDic[JOT_ID]; + } + else + { + row["DetectionTypeCode"] = "/"; + } + if (TrustTypeDic.ContainsKey(JOT_ID)) + { + row["IsRepair"] = "是"; + } + else + { + row["IsRepair"] = "/"; + } + if (HotProessDic.ContainsKey(JOT_ID)) + { + row["IsHotProcess"] ="是"; + } + else + { + row["IsHotProcess"] = "/"; + } + } + } + + JointData = JsonConvert.SerializeObject(tb1); + + + + } + } + + + + protected void Window1_Close(object sender, WindowCloseEventArgs e) + { + + } + + + } +} \ No newline at end of file diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFShow.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFShow.aspx.designer.cs new file mode 100644 index 0000000..2d8f710 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/PDFShow.aspx.designer.cs @@ -0,0 +1,89 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.HJGL.JoinMarking +{ + + + public partial class PDFShow + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// hdworkRecord 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdworkRecord; + + /// + /// imgurl2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlInputHidden imgurl2; + + /// + /// imgurl1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlInputHidden imgurl1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// contentPanel 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ContentPanel contentPanel; + + /// + /// Window1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window Window1; + } +} diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/main-DE8eQLmE.js b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/main-DE8eQLmE.js new file mode 100644 index 0000000..a609160 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/main-DE8eQLmE.js @@ -0,0 +1 @@ +import{_ as e,r as t,w as l,c as n,o as a,a as o,b as i,t as s,d as r,v as u,e as d,f as c,g as v,n as p,h as f,i as m,j as y,k as g,P as x,l as b,m as h,p as w}from"./styles-Bno-H3Kc.js";import"./pdfjs-HfNT2Y4W.js";import"./pdf-lib-D5zKcp81.js";const S={key:0,class:"annotation-detail-panel"},k={class:"panel-header"},C={class:"detail-content"},F={class:"detail-row"},V={class:"label-preview"},A={class:"detail-row"},P={class:"detail-row"},U={class:"detail-row"},D={class:"detail-row"},E={class:"detail-row"},I={key:0,class:"detail-row"},N={key:1,class:"detail-row"},R={class:"detail-row"},z={class:"detail-row readonly"},j={class:"detail-row readonly"},O={style:{"margin-top":"16px","padding-top":"12px","border-top":"1px solid #e5e7eb"}},T={style:{display:"flex","flex-direction":"column",gap:"8px"}},$={style:{display:"flex",gap:"8px","flex-wrap":"wrap"}},B={style:{display:"none",gap:"8px","flex-wrap":"wrap"}},J={style:{display:"flex","align-items":"center",gap:"6px"}},L={style:{display:"flex","flex-direction":"column",gap:"10px","margin-bottom":"12px"}},_={style:{display:"flex","flex-direction":"column",gap:"6px"}},M={style:{display:"flex","align-items":"center",gap:"8px"}},X={style:{display:"flex","align-items":"center",gap:"8px"}},Y={style:{display:"flex","align-items":"center",gap:"8px"}},W={style:{display:"flex","align-items":"center",gap:"8px"}},G={style:{display:"flex","align-items":"center",gap:"8px"}},Z={style:{display:"flex","align-items":"center",gap:"8px","flex-wrap":"wrap"}},q={style:{display:"flex","align-items":"center",gap:"8px","flex-wrap":"wrap"}},H={style:{display:"none","flex-direction":"column","margin-top":"24px","padding-top":"16px","border-top":"1px solid #e5e7eb"}},K={style:{"margin-bottom":"12px"}},Q={style:{"margin-bottom":"12px"}},ee=e({__name:"LeftPanel",props:{selectedAnnotation:{type:Object,default:null},selectedAnnotationPage:{type:Number,default:null},selectedAnnotationIndex:{type:Number,default:null},annotationsJson:{type:String,default:"{}"},initialCsvData:{type:String,default:""}},emits:["file-selected","open-pdf","save-pdf-editable","saveas-pdf-editable","save-pdf-final","export-csv","export-json","import-annotations","import-csv","import-image","undo-annotation","clear-page-annotations","delete-selected-annotation","apply-settings","update-annotation","delete-annotation","deselect-annotation","load-pdf-url"],setup(e,{emit:m}){const y=e,g=m,x=t(0),b=t(""),h=t(""),w=t(10),ee=t(!1),te=t(""),le=t(""),ne=t("");function ae(){if(!y.selectedAnnotation)return;const e={...y.selectedAnnotation,displayValue:x.value,settings:{...y.selectedAnnotation.settings,prefix:b.value,suffix:h.value,fontSize:w.value},completed:ee.value,completedTime:ee.value?te.value:"",completedBy:ee.value?le.value:"",note:ne.value};g("update-annotation",e)}function oe(){confirm("确定要删除这个标注吗?")&&g("delete-annotation")}l(()=>y.selectedAnnotation,e=>{e&&(x.value=e.displayValue||0,b.value=e.settings?.prefix??"",h.value=e.settings?.suffix??"",w.value=e.settings?.fontSize??10,ee.value=e.completed||!1,te.value=e.completedTime||"",le.value=e.completedBy||"",ne.value=e.note||"")},{immediate:!0,deep:!0});const ie=t(null),se=t(null),re=t(null),ue=t(null),de=t(1),ce=t(1),ve=t("GB"),pe=t("XX"),fe=t(10),me=t("none"),ye=t("arrow"),ge=t(!0),xe=t(80),be=t("测试数据A,测试数据B,测试数据C,测试数据D,测试数据E\n13213213,13213213,13213213,13213213,13213213\n312321312,312321312,312321312,312321312,312321312\n611429411,611429411,611429411,611429411,611429411\n910537510,910537510,910537510,910537510,910537510\n1209645609,1209645609,1209645609,1209645609,1209645609\n1508753708,1508753708,1508753708,1508753708,1508753708\n1807861807,1807861807,1807861807,1807861807,1807861807\n2106969906,2106969906,2106969906,2106969906,2106969906\n2406078005,2406078005,2406078005,2406078005,2406078005\n2705186104,2705186104,2705186104,2705186104,2705186104\n3004294203,3004294203,3004294203,3004294203,3004294203\n3303402302,3303402302,3303402302,3303402302,3303402302\n3602510401,3602510401,3602510401,3602510401,3602510401\n3901618500,3901618500,3901618500,3901618500,3901618500\n4200726599,4200726599,4200726599,4200726599,4200726599\n4499834698,4499834698,4499834698,4499834698,4499834698\n4798942797,4798942797,4798942797,4798942797,4798942797\n5098050896,5098050896,5098050896,5098050896,5098050896\n5397158995,5397158995,5397158995,5397158995,5397158995\n5696267094,5696267094,5696267094,5696267094,5696267094\n5995375193,5995375193,5995375193,5995375193,5995375193\n6294483292,6294483292,6294483292,6294483292,6294483292\n6593591391,6593591391,6593591391,6593591391,6593591391"),he=t(""),we=t("{}"),Se=t(!1),ke=t(""),Ce=t("");l(()=>y.annotationsJson,e=>{e&&(we.value=e)},{immediate:!0}),l(()=>y.initialCsvData,e=>{e&&e.trim()&&(be.value=e,console.log("CSV table data updated from props:",e.substring(0,100)+"..."))},{immediate:!0}),l(we,e=>{try{const t=document.getElementById("hdworkRecord");t&&(t.value=e||"{}",console.log("Synced JSON data to workRecord-inputEl:",e?.substring(0,100)+"..."))}catch(t){console.warn("Error syncing to workRecord-inputEl:",t)}},{immediate:!0});let Fe=null;function Ve(e){const t=e.target.files&&e.target.files[0];t&&g("file-selected",t)}function Ae(){ie.value&&(ie.value.value="",ie.value.click()),g("open-pdf")}function Pe(){g("apply-settings",{startNumber:de.value,increment:ce.value,prefix:ve.value,suffix:pe.value,fontSize:fe.value,borderStyle:me.value,annotationStyle:ye.value,highDpi:!!ge.value})}async function Ue(){if(he.value&&we.value.trim()){Se.value=!0,ke.value="";try{let t;try{t=JSON.parse(we.value)}catch(e){throw new Error("JSON 格式错误: "+e.message)}const l=await async function(e,t){try{const l=await fetch("http://localhost:8000/api/pdf/process",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({data:e,pdfPath:t,timestamp:(new Date).toISOString()})});if(!l.ok)throw new Error(`API Error: ${l.status} ${l.statusText}`);return await l.json()}catch(l){throw console.error("API call failed:",l),l}}(t,he.value);ke.value="提交成功!",Ce.value="success",console.log("API Response:",l)}catch(t){ke.value="错误: "+(t.message||"网络请求失败"),Ce.value="error",console.error("Submit failed:",t)}finally{Se.value=!1}}}function De(){confirm("确定要清除本页所有标注吗?此操作不可撤销。")&&g("clear-page-annotations")}function Ee(){g("export-csv")}function Ie(){g("export-json")}function Ne(){se.value&&(se.value.value="",se.value.click())}function Re(){re.value&&(re.value.value="",re.value.click())}function ze(e){const t=e.target.files&&e.target.files[0];t&&g("import-annotations",t)}function je(e){const t=e.target.files&&e.target.files[0];t&&g("import-csv",t)}function Oe(){ue.value&&(ue.value.value="",ue.value.click())}function Te(e){const t=e.target.files&&e.target.files[0];t&&g("import-image",{file:t,size:xe.value})}async function $e(e){if(e&&e.trim())try{const t=await fetch(e);if(!t.ok)throw new Error(`获取失败: ${t.status}`);const l=await t.blob(),n=new FileReader;n.onload=e=>{const t=e.target.result;console.log("图片加载成功,大小:",t.length,"字节"),g("import-image",{file:null,imageData:t,size:400})},n.onerror=()=>{throw new Error("读取图片数据失败")},n.readAsDataURL(l)}catch(t){console.error("导入图片错误:",t),alert("导入图片失败: "+t.message)}else alert("图片URL为空")}async function Be(){const e=document.getElementById("imgurl1");if(!e)return void alert("未找到 imgurl1 元素");const t=e.value?.trim();t?await $e(t):alert("imgurl1 的值为空")}async function Je(){const e=document.getElementById("imgurl2");if(!e)return void alert("未找到 imgurl2 元素");const t=e.value?.trim();t?await $e(t):alert("imgurl2 的值为空")}async function Le(){const e=be.value.trim();if(e)try{console.log("开始生成表格图片,CSV 数据:",e.substring(0,100));const{imageUrl:t,width:l}=await async function(e){return new Promise((t,l)=>{try{const l=e.trim().split("\n").map(e=>e.split(",").map(e=>e.trim()));if(0===l.length)throw new Error("CSV 数据为空");const n=document.createElement("canvas").getContext("2d"),a=12,o=12,i=35,s=30,r=15,u=15,d=r+u;n.font=`${o}px Arial`;const c=l[0].length,v=new Array(c).fill(0);for(const e of l)e.forEach((e,t)=>{const l=n.measureText(String(e)).width;v[t]=Math.max(v[t],l+2*a)});const p=60;for(let e=0;ee+t,0),m=f+d,y=i+l.length*s+2,g=document.createElement("canvas"),x=g.getContext("2d");g.width=m,g.height=y,x.fillStyle="#ffffff",x.fillRect(0,0,m,y),x.font=`${o}px Arial`,x.textAlign="center",x.textBaseline="middle",x.strokeStyle="#000000",x.lineWidth=1,x.fillStyle="#334155",x.fillRect(r,0,f,i);const b=[r];for(let e=0;e{const l=b[t]+v[t]/2,n=i/2;x.fillText(e,l,n)});for(let e=1;e{const l=b[t]+v[t]/2,a=n+s/2;x.fillText(String(e),l,a)})}x.strokeStyle="#d1d5db",x.lineWidth=.5;for(let e=0;e<=c;e++){const t=b[e];x.beginPath(),x.moveTo(t,0),x.lineTo(t,y),x.stroke()}for(let e=0;e<=l.length;e++){const t=(0===e?0:i)+e*s;x.beginPath(),x.moveTo(r,t),x.lineTo(m-u,t),x.stroke()}t({imageUrl:g.toDataURL("image/png"),width:m})}catch(n){l(n)}})}(e);console.log("表格图片生成成功,大小:",t.length,"字节,宽度:",l),g("import-image",{file:null,imageData:t,size:l})}catch(t){console.error("生成表格图片错误:",t),alert("生成表格图片失败: "+t.message)}else alert("请先输入 CSV 数据")}return l(he,(e,t)=>{Fe&&clearTimeout(Fe),e&&e.trim()&&(Fe=setTimeout(()=>{const t=e.trim();(t.startsWith("http://")||t.startsWith("https://"))&&g("load-pdf-url",t)},500))},{immediate:!0}),(t,l)=>(a(),n("div",null,[e.selectedAnnotation?(a(),n("div",S,[i("div",k,[l[24]||(l[24]=i("h3",{style:{margin:"0","font-size":"14px"}},"标注详情",-1)),i("div",{class:"btn close-btn",onClick:l[0]||(l[0]=e=>g("deselect-annotation")),title:"关闭"},"×")]),i("div",C,[i("div",F,[l[25]||(l[25]=i("label",null,"标签内容:",-1)),i("div",V,s(b.value)+s(x.value)+s(h.value),1)]),i("div",A,[l[26]||(l[26]=i("label",null,"编号:",-1)),r(i("input",{"onUpdate:modelValue":l[1]||(l[1]=e=>x.value=e),type:"number",min:"0",class:"detail-input"},null,512),[[u,x.value,void 0,{number:!0}]])]),i("div",P,[l[27]||(l[27]=i("label",null,"前缀:",-1)),r(i("input",{"onUpdate:modelValue":l[2]||(l[2]=e=>b.value=e),type:"text",class:"detail-input"},null,512),[[u,b.value]])]),i("div",U,[l[28]||(l[28]=i("label",null,"后缀:",-1)),r(i("input",{"onUpdate:modelValue":l[3]||(l[3]=e=>h.value=e),type:"text",class:"detail-input"},null,512),[[u,h.value]])]),i("div",D,[l[29]||(l[29]=i("label",null,"字体大小:",-1)),r(i("input",{"onUpdate:modelValue":l[4]||(l[4]=e=>w.value=e),type:"number",min:"6",max:"72",class:"detail-input"},null,512),[[u,w.value,void 0,{number:!0}]])]),l[37]||(l[37]=i("div",{class:"detail-divider"},null,-1)),i("div",E,[l[31]||(l[31]=i("label",null,"状态:",-1)),r(i("select",{"onUpdate:modelValue":l[5]||(l[5]=e=>ee.value=e),class:"detail-input"},[...l[30]||(l[30]=[i("option",{value:!1},"未完成",-1),i("option",{value:!0},"已完成",-1)])],512),[[d,ee.value]])]),ee.value?(a(),n("div",I,[l[32]||(l[32]=i("label",null,"完成时间:",-1)),r(i("input",{"onUpdate:modelValue":l[6]||(l[6]=e=>te.value=e),type:"datetime-local",class:"detail-input"},null,512),[[u,te.value]])])):o("",!0),ee.value?(a(),n("div",N,[l[33]||(l[33]=i("label",null,"完成人:",-1)),r(i("input",{"onUpdate:modelValue":l[7]||(l[7]=e=>le.value=e),type:"text",placeholder:"输入完成人姓名",class:"detail-input"},null,512),[[u,le.value]])])):o("",!0),i("div",R,[l[34]||(l[34]=i("label",null,"备注:",-1)),r(i("textarea",{"onUpdate:modelValue":l[8]||(l[8]=e=>ne.value=e),placeholder:"添加备注...",class:"detail-textarea"},null,512),[[u,ne.value]])]),i("div",z,[l[35]||(l[35]=i("label",null,"页码:",-1)),i("span",null,"第 "+s(e.selectedAnnotationPage)+" 页",1)]),i("div",j,[l[36]||(l[36]=i("label",null,"位置:",-1)),i("span",null,"X: "+s(Math.round(e.selectedAnnotation.x))+", Y: "+s(Math.round(e.selectedAnnotation.y)),1)]),i("div",{class:"detail-actions"},[i("div",{class:"btn btn-primary",onClick:ae},"保存修改"),i("div",{class:"btn btn-danger",onClick:oe},"删除标注")])])])):o("",!0),i("div",O,[l[39]||(l[39]=i("h3",{style:{margin:"0 0 12px 0"}},"设置",-1)),i("div",T,[i("input",{ref_key:"fileInput",ref:ie,type:"file",accept:"application/pdf",onChange:Ve,style:{display:"none"}},null,544),i("input",{ref_key:"jsonInput",ref:se,type:"file",accept:"application/json,.json",onChange:ze,style:{display:"none"}},null,544),i("input",{ref_key:"csvInput",ref:re,type:"file",accept:"text/csv,.csv",onChange:je,style:{display:"none"}},null,544),i("input",{ref_key:"imageInput",ref:ue,type:"file",accept:"image/*",onChange:Te,style:{display:"none"}},null,544),i("div",$,[i("div",{class:"btn btn-primary",onClick:Ae},"打开PDF"),i("div",{class:"btn btn-success",onClick:l[9]||(l[9]=e=>g("save-pdf-editable"))},"保存PDF"),i("div",{class:"btn btn-secondary",onClick:Ee},"导出CSV"),i("div",{class:"btn btn-secondary",onClick:Ie},"导出JSON"),i("div",{class:"btn btn-secondary",onClick:Ne},"导入JSON"),i("div",{class:"btn btn-secondary",onClick:Re},"导入CSV")]),i("div",B,[l[38]||(l[38]=i("label",{style:{display:"block","font-size":"12px","margin-bottom":"4px",color:"#6b7280"}},"CSV 表格数据",-1)),r(i("textarea",{"onUpdate:modelValue":l[10]||(l[10]=e=>be.value=e),placeholder:"粘贴或输入CSV数据",style:{width:"100%",height:"80px",padding:"6px",border:"1px solid #d1d5db","border-radius":"4px","font-size":"12px","font-family":"monospace",resize:"vertical"}},null,512),[[u,be.value]])]),i("div",{style:{"margin-bottom":"8px"}},[i("div",{class:"btn btn-secondary",onClick:Le,style:{width:"100%"}},"图表导入")]),i("div",J,[r(i("input",{"onUpdate:modelValue":l[11]||(l[11]=e=>xe.value=e),type:"number",min:"30",max:"300",style:{display:"none",width:"60px",padding:"4px 6px",border:"1px solid #d1d5db","border-radius":"4px","font-size":"12px"},placeholder:"大小",title:"图片默认大小(px)"},null,512),[[u,xe.value,void 0,{number:!0}]]),i("div",{class:"btn btn-secondary",onClick:Oe,style:{flex:"1"}},"导入图片")]),i("div",{style:{display:"flex",gap:"6px"}},[i("div",{class:"btn btn-secondary",onClick:Be,style:{flex:"1"}},"图片导入1"),i("div",{class:"btn btn-secondary",onClick:Je,style:{flex:"1"}},"图片导入2")]),i("div",{class:"btn btn-secondary",onClick:l[12]||(l[12]=e=>g("undo-annotation"))},"撤销上一标注"),i("div",{class:"btn btn-danger",onClick:De},"清除本页标注")])]),i("div",L,[i("div",_,[i("div",M,[l[40]||(l[40]=i("label",{style:{"min-width":"70px"}},"起始编号:",-1)),r(i("input",{"onUpdate:modelValue":l[13]||(l[13]=e=>de.value=e),type:"number",min:"0",style:{flex:"1"}},null,512),[[u,de.value,void 0,{number:!0}]])]),i("div",X,[l[41]||(l[41]=i("label",{style:{"min-width":"70px"}},"增量:",-1)),r(i("input",{"onUpdate:modelValue":l[14]||(l[14]=e=>ce.value=e),type:"number",min:"1",style:{flex:"1"}},null,512),[[u,ce.value,void 0,{number:!0}]])]),i("div",Y,[l[42]||(l[42]=i("label",{style:{"min-width":"70px"}},"前缀:",-1)),r(i("input",{"onUpdate:modelValue":l[15]||(l[15]=e=>ve.value=e),type:"text",style:{flex:"1"}},null,512),[[u,ve.value]])]),i("div",W,[l[43]||(l[43]=i("label",{style:{"min-width":"70px"}},"后缀:",-1)),r(i("input",{"onUpdate:modelValue":l[16]||(l[16]=e=>pe.value=e),type:"text",style:{flex:"1"}},null,512),[[u,pe.value]])]),i("div",G,[l[44]||(l[44]=i("label",{style:{"min-width":"70px"}},"字体大小:",-1)),r(i("input",{"onUpdate:modelValue":l[17]||(l[17]=e=>fe.value=e),type:"number",min:"6",max:"72",step:"1",style:{width:"120px"}},null,512),[[u,fe.value,void 0,{number:!0}]])]),i("div",Z,[l[47]||(l[47]=i("label",{style:{"min-width":"70px"}},"边框样式:",-1)),i("label",null,[r(i("input",{type:"radio",value:"none","onUpdate:modelValue":l[18]||(l[18]=e=>me.value=e)},null,512),[[v,me.value]]),l[45]||(l[45]=c(" 无",-1))]),i("label",null,[r(i("input",{type:"radio",value:"rect","onUpdate:modelValue":l[19]||(l[19]=e=>me.value=e)},null,512),[[v,me.value]]),l[46]||(l[46]=c(" 矩形",-1))])]),i("div",q,[l[50]||(l[50]=i("label",{style:{"min-width":"70px"}},"标注样式:",-1)),i("label",null,[r(i("input",{type:"radio",value:"arrow","onUpdate:modelValue":l[20]||(l[20]=e=>ye.value=e)},null,512),[[v,ye.value]]),l[48]||(l[48]=c(" 箭头",-1))]),i("label",null,[r(i("input",{type:"radio",value:"dot","onUpdate:modelValue":l[21]||(l[21]=e=>ye.value=e)},null,512),[[v,ye.value]]),l[49]||(l[49]=c(" 圆点",-1))])])]),i("div",{class:"btn",onClick:Pe,style:{width:"100%",padding:"10px",background:"#334155",color:"#fff",border:"none","border-radius":"4px",cursor:"pointer","margin-top":"8px"}},"应用设置")]),i("div",H,[l[53]||(l[53]=i("h4",{style:{margin:"0 0 12px 0"}},"网络接口",-1)),i("div",K,[l[51]||(l[51]=i("label",{style:{display:"block","font-size":"12px","margin-bottom":"4px",color:"#6b7280"}},"PDF 目录路径",-1)),r(i("input",{"onUpdate:modelValue":l[22]||(l[22]=e=>he.value=e),type:"text",placeholder:"/path/to/pdf",style:{width:"100%",padding:"6px",border:"1px solid #d1d5db","border-radius":"4px","font-size":"12px"}},null,512),[[u,he.value]])]),i("div",Q,[l[52]||(l[52]=i("label",{style:{display:"block","font-size":"12px","margin-bottom":"4px",color:"#6b7280"}},"数据 (JSON)",-1)),r(i("textarea",{"onUpdate:modelValue":l[23]||(l[23]=e=>we.value=e),placeholder:'{"key":"value"}',style:{width:"100%",height:"100px",padding:"6px",border:"1px solid #d1d5db","border-radius":"4px","font-size":"12px","font-family":"monospace",resize:"vertical"}},null,512),[[u,we.value]])]),i("div",{class:p(["btn",{disabled:!he.value||!we.value}]),onClick:Ue,style:{width:"100%",padding:"8px",background:"#3b82f6",color:"white",border:"none","border-radius":"4px",cursor:"pointer","font-size":"14px"}},s(Se.value?"提交中...":"提交数据"),3),ke.value?(a(),n("div",{key:0,style:f({marginTop:"8px",padding:"8px",borderRadius:"4px",fontSize:"12px",color:"success"===Ce.value?"#10b981":"#ef4444",background:"success"===Ce.value?"#d1fae5":"#fee2e2"})},s(ke.value),5)):o("",!0)])]))}},[["__scopeId","data-v-6090802b"]]);function te(e){const t=[];let l="",n=!1;for(let a=0;a{T.value.show=!1},2500)}let J=null;const L=t(null),_=t(100),M=t(1),X=m(()=>{const e=null!==L.value?L.value:M.value;return Math.round(100*e)}),Y=m(()=>{if(!F.value)return 0;const e=F.value.getAnnotations();let t=0;for(const l in e)t+=e[l].length;return t});function W(){if(F.value&&V.value)try{const e=F.value.getAnnotations();U.value=function(e,t,l){const n={version:"1.0",exportDate:(new Date).toISOString(),sourceFile:l,globalSettings:t,annotations:{}};for(const a in e){const l=e[a];Array.isArray(l)&&l.length>0&&(n.annotations[a]=l.map(e=>{const l=e.settings?.prefix??t.prefix??"",n=e.settings?.suffix??t.suffix??"",a=l+e.displayValue+n;return{x:e.x,y:e.y,x2:e.x2,y2:e.y2,displayValue:e.displayValue,label:a,style:e.style,annotationStyle:e.annotationStyle}}))}return JSON.stringify(n,null,2)}(e,{startNumber:ve.value,increment:pe.value,prefix:fe.value,suffix:me.value,fontSize:ye.value,borderStyle:K.value,annotationStyle:Q.value},V.value)}catch(e){console.error("Failed to generate annotations JSON:",e)}else U.value="{}"}function G(e){d.value=e,V.value=e.name,S.value=1,k.value=1,L.value=1,_.value=100;const t=new FileReader;t.onload=e=>{J=e.target.result},t.readAsArrayBuffer(e)}function Z(e){v.value=e.pdf,w.value=e.numPages,S.value=1,k.value=1}function q(e){M.value=e}function H(e){L.value=e,_.value=Math.round(100*e)}const K=t("none"),Q=t("arrow"),ve=t(1),pe=t(1),fe=t("GB"),me=t("XX"),ye=t(10);function ge(e){K.value=e.borderStyle,Q.value=e.annotationStyle,ve.value=e.startNumber,pe.value=e.increment,fe.value=e.prefix,me.value=e.suffix,ye.value=e.fontSize,B("设置已应用")}function xe(){L.value=+_.value/100}function be(){F.value&&(F.value.clearCurrentPageAnnotations(),W())}function he(){F.value&&(F.value.undoLastAnnotation(),W())}async function we(){if(J&&F.value)try{const e=F.value.getAnnotations(),t=F.value.getPageRotations(),l=await b(J,e,P.value,{startNumber:ve.value,increment:pe.value,prefix:fe.value,suffix:me.value,fontSize:ye.value,borderStyle:K.value,annotationStyle:Q.value},t);h(l,`annotated_${Date.now()}.pdf`),B("PDF已生成并下载")}catch(e){console.error("Failed to generate PDF:",e),B("生成PDF失败: "+e.message,"error")}else B("请先打开PDF文件","error")}async function Se(){if(J&&F.value)try{const e=F.value.getAnnotations(),t=F.value.getPageRotations(),l=await b(J,e,P.value,{startNumber:ve.value,increment:pe.value,prefix:fe.value,suffix:me.value,fontSize:ye.value,borderStyle:K.value,annotationStyle:Q.value},t);h(l,`final_${Date.now()}.pdf`),B("PDF已生成并下载")}catch(e){console.error("Failed to generate PDF:",e),B("生成PDF失败: "+e.message,"error")}else B("请先打开PDF文件","error")}function ke(){if(F.value&&V.value)try{!function(e,t,l){const{startNumber:n,increment:a,prefix:o,suffix:i}=t,s=[];s.push(["页码","标签","显示值","标签X坐标","标签Y坐标","指向X坐标","指向Y坐标","边框样式","标注样式","字体大小","前缀","后缀","起始值","增量"]);for(const v in e){const t=e[v];Array.isArray(t)&&t.forEach(e=>{const t=e.settings?.prefix??o,l=e.settings?.suffix??i,r=e.settings?.startNumber??n,u=e.settings?.increment??a,d=e.settings?.fontSize??10,c=t+e.displayValue+l;s.push([v,c,e.displayValue,Math.round(1e3*e.x)/1e3,Math.round(1e3*e.y)/1e3,void 0!==e.x2?Math.round(1e3*e.x2)/1e3:"",void 0!==e.y2?Math.round(1e3*e.y2)/1e3:"",e.style||"none",e.annotationStyle||"arrow",d,t,l,r,u])})}const r=s.map(e=>e.map(e=>{const t=String(e);return t.includes(",")||t.includes('"')||t.includes("\n")?`"${t.replace(/"/g,'""')}"`:t}).join(",")).join("\n"),u=new Blob(["\ufeff"+r],{type:"text/csv;charset=utf-8;"}),d=document.createElement("a"),c=URL.createObjectURL(u);d.href=c,d.download=`${l.replace(/\.[^.]+$/,"")}_annotations.csv`,document.body.appendChild(d),d.click(),document.body.removeChild(d),URL.revokeObjectURL(c)}(F.value.getAnnotations(),{startNumber:ve.value,increment:pe.value,prefix:fe.value,suffix:me.value},V.value),B("CSV数据已导出")}catch(e){console.error("Failed to export CSV:",e),B("导出CSV失败: "+e.message,"error")}else B("请先打开PDF文件","error")}function Ce(){if(F.value&&V.value)try{!function(e,t,l){const n={version:"1.0",exportDate:(new Date).toISOString(),sourceFile:l,globalSettings:t,annotations:{}};for(const r in e){const l=e[r];Array.isArray(l)&&l.length>0&&(n.annotations[r]=l.map(e=>{const l=e.settings?.prefix??t.prefix??"",n=e.settings?.suffix??t.suffix??"",a=l+e.displayValue+n;return{x:e.x,y:e.y,x2:e.x2,y2:e.y2,displayValue:e.displayValue,label:a,style:e.style,annotationStyle:e.annotationStyle}}))}const a=JSON.stringify(n,null,2),o=new Blob([a],{type:"application/json;charset=utf-8;"}),i=document.createElement("a"),s=URL.createObjectURL(o);i.href=s,i.download=`${l.replace(/\.[^.]+$/,"")}_annotations.json`,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(s)}(F.value.getAnnotations(),{startNumber:ve.value,increment:pe.value,prefix:fe.value,suffix:me.value,fontSize:ye.value,borderStyle:K.value,annotationStyle:Q.value},V.value),B("JSON数据已导出(可用于还原标注)")}catch(e){console.error("Failed to export JSON:",e),B("导出JSON失败: "+e.message,"error")}else B("请先打开PDF文件","error")}async function Fe(e){if(e)try{const t=await async function(e){return new Promise((t,l)=>{const n=new FileReader;n.onload=e=>{try{const l=JSON.parse(e.target.result);if(!l.annotations||!l.globalSettings)throw new Error("无效的标注数据格式");t({annotations:l.annotations,settings:l.globalSettings,sourceFile:l.sourceFile,version:l.version})}catch(n){l(new Error("解析JSON文件失败: "+n.message))}},n.onerror=()=>{l(new Error("读取文件失败"))},n.readAsText(e)})}(e);if(!window.confirm(`确定要导入标注数据吗?\n来源文件: ${t.sourceFile||"未知"}\n版本: ${t.version||"未知"}\n当前标注将被覆盖。`))return;F.value&&(F.value.setAnnotations(t.annotations),t.settings&&(ve.value=t.settings.startNumber||1,pe.value=t.settings.increment||1,fe.value=t.settings.prefix||"",me.value=t.settings.suffix||"",ye.value=t.settings.fontSize||10,K.value=t.settings.borderStyle||"none",Q.value=t.settings.annotationStyle||"arrow"),B("标注数据导入成功"),W())}catch(t){console.error("Failed to import annotations:",t),B("导入失败: "+t.message,"error")}}async function Ve(e){if(e)try{const t=await async function(e){return new Promise((t,l)=>{const n=new FileReader;n.onload=n=>{try{const l=n.target.result.trim().split("\n");if(l.length<2)throw new Error("CSV文件内容不足,至少需要标题行和数据行");const a=te(l[0]),o=["页码","标签X坐标","标签Y坐标"];for(const e of o)if(!a.includes(e))throw new Error(`缺少必要的列: ${e}`);const i={};let s={startNumber:1,increment:1,prefix:"",suffix:"",fontSize:10,borderStyle:"none",annotationStyle:"arrow"};for(let e=1;e!e))continue;const n={};for(let e=0;e{l(new Error("读取文件失败"))},n.readAsText(e,"utf-8")})}(e);if(!window.confirm(`确定要导入CSV标注数据吗?\n来源文件: ${t.sourceFile||"未知"}\n当前标注将被覆盖。`))return;F.value&&(F.value.setAnnotations(t.annotations),t.settings&&(ve.value=t.settings.startNumber||1,pe.value=t.settings.increment||1,fe.value=t.settings.prefix||"",me.value=t.settings.suffix||"",ye.value=t.settings.fontSize||10,K.value=t.settings.borderStyle||"none",Q.value=t.settings.annotationStyle||"arrow"),B("CSV标注数据导入成功"),W())}catch(t){console.error("Failed to import CSV:",t),B("导入CSV失败: "+t.message,"error")}}function Ae(e){const t=S.value;P.value[t]||(P.value[t]=[]),P.value[t].push(e),F.value&&F.value.setImages(P.value),B("图片已放置")}function Pe(){B("已取消图片放置")}function Ue(e){P.value[e.page]=e.images,B("图片已删除")}async function De(e){const t=e?.file,l=e?.size||80,n=e?.imageData;try{if(n)return F.value?(F.value.setTemporaryImage(n,l),void B("点击PDF上要放置表格的位置, 按ESC取消")):void B("请先加载PDF","error");if(!t)return void B("请先选择图片文件","error");const e=new FileReader;e.onload=e=>{const t=e.target.result;F.value?(F.value.setTemporaryImage(t,l),B("点击PDF上要放置图片的位置, 按ESC取消")):B("请先加载PDF","error")},e.readAsDataURL(t)}catch(a){console.error("Failed to import image:",a),B("导入图片失败: "+a.message,"error")}}function Ee(){let e=A.value;if(!e){const t=document.getElementById("hdpdfurl");t&&t.value&&(e=t.value.trim())}if(e){let t=`/viewer.html?url=${encodeURIComponent(e)}`;const l=document.getElementById("imgurl1"),n=document.getElementById("imgurl2");l&&l.value&&l.value.trim()&&(t+=`&imgurl1=${encodeURIComponent(l.value.trim())}`),n&&n.value&&n.value.trim()&&(t+=`&imgurl2=${encodeURIComponent(n.value.trim())}`),window.open(t,"_blank")}else B("未找到PDF地址","error")}async function Ie(e){if(e){A.value=e,B("正在加载在线PDF...");try{const l=await fetch(e);if(!l.ok)throw new Error(`加载失败: ${l.status} ${l.statusText}`);const n=await l.arrayBuffer(),a=new Blob([n],{type:"application/pdf"});let o="online.pdf";try{const t=new URL(e).pathname.split("/"),l=t[t.length-1];l&&l.includes(".pdf")&&(o=decodeURIComponent(l))}catch(t){}const i=new File([a],o,{type:"application/pdf"});J=n,d.value=i,V.value=o,S.value=1,k.value=1,L.value=1,_.value=100,B("PDF加载成功")}catch(l){console.error("Failed to load PDF from URL:",l),B("加载PDF失败: "+l.message,"error")}}}return y(()=>{try{const e=document.getElementById("hdpdfurl");if(e&&"string"==typeof e.value&&e.value.trim()){const t=e.value.trim();A.value=t,console.log("Found pdfUrl element, loading PDF from:",t),Ie(t)}const t=document.getElementById("hdjoinInfo");if(t&&"string"==typeof t.value&&t.value.trim()){const e=t.value.trim();console.log("Found workRecord element, setting CSV data:",e.substring(0,100)+"..."),D.value=e}}catch(e){console.warn("Error checking for elements:",e)}}),l(S,e=>{}),(e,t)=>(a(),n("div",le,[T.value.show?(a(),n("div",{key:0,style:f({position:"fixed",top:"20px",right:"20px",padding:"12px 16px",background:"success"===T.value.type?"#d1fae5":"#fee2e2",color:"success"===T.value.type?"#065f46":"#991b1b",borderRadius:"4px",boxShadow:"0 4px 12px rgba(0,0,0,0.15)",zIndex:9999,animation:"slideIn 0.3s ease-out",fontSize:"14px",fontWeight:"500"})},s(T.value.message),5)):o("",!0),i("div",ne,[g(ee,{"selected-annotation":E.value,"selected-annotation-page":I.value,"selected-annotation-index":N.value,"annotations-json":U.value,"initial-csv-data":D.value,onFileSelected:G,onApplySettings:ge,onClearPageAnnotations:be,onUndoAnnotation:he,onSavePdfEditable:we,onSavePdfFinal:Se,onExportCsv:ke,onExportJson:Ce,onImportAnnotations:Fe,onImportCsv:Ve,onImportImage:De,onUpdateAnnotation:z,onDeleteAnnotation:j,onDeselectAnnotation:O,onLoadPdfUrl:Ie},null,8,["selected-annotation","selected-annotation-page","selected-annotation-index","annotations-json","initial-csv-data"])]),i("div",ae,[i("div",oe,[i("div",{onClick:t[0]||(t[0]=e=>C.value=!C.value),style:f({background:C.value?"#334155":"#e2e8f0",color:C.value?"white":"#475569",padding:"6px 12px",borderRadius:"4px",cursor:"pointer",userSelect:"none",fontSize:"14px"})},"标注模式"+s(C.value?":开":":关"),5),t[10]||(t[10]=i("div",{style:{width:"1px",background:"#e5e7eb",height:"24px",margin:"0 8px"}},null,-1)),i("div",{class:p(["btn",{disabled:!v.value||S.value<=1}]),onClick:t[1]||(t[1]=e=>!(!v.value||S.value<=1)&&void(S.value>1&&(S.value--,k.value=S.value)))},"上一页",2),i("div",{class:p(["btn",{disabled:!v.value||S.value>=w.value}]),onClick:t[2]||(t[2]=e=>!(!v.value||S.value>=w.value)&&void(S.value!v.value||(null===L.value&&(L.value=M.value),L.value=Math.max(.5,+(L.value/1.2).toFixed(2)),void(_.value=Math.round(100*L.value))))},"-",2),i("div",{class:p(["btn",{disabled:!v.value}]),onClick:t[4]||(t[4]=e=>!v.value||(null===L.value&&(L.value=M.value),L.value=Math.min(3,+(1.2*L.value).toFixed(2)),void(_.value=Math.round(100*L.value))))},"+",2),r(i("input",{"onUpdate:modelValue":t[5]||(t[5]=e=>_.value=e),onInput:xe,type:"range",min:"50",max:"300",style:{width:"140px"},disabled:!v.value},null,40,ie),[[u,_.value,void 0,{number:!0}]]),i("div",se,s(X.value)+"%",1),t[12]||(t[12]=i("div",{style:{width:"1px",background:"#e5e7eb",height:"24px",margin:"0 8px"}},null,-1)),t[13]||(t[13]=i("div",{style:{"margin-left":"8px"}},"第",-1)),r(i("input",{type:"number","onUpdate:modelValue":t[6]||(t[6]=e=>k.value=e),min:1,max:w.value,style:{width:"80px","margin-left":"4px"}},null,8,re),[[u,k.value,void 0,{number:!0}]]),i("div",{class:p(["btn",{disabled:!v.value}]),onClick:t[7]||(t[7]=e=>!v.value||void(k.value>=1&&k.value<=w.value&&(S.value=k.value)))},"跳转",2),i("div",ue,"/ "+s(w.value||0)+" 页",1),t[14]||(t[14]=i("div",{style:{width:"1px",background:"#e5e7eb",height:"24px",margin:"0 8px"}},null,-1)),V.value?(a(),n("div",de,[i("div",null,[t[8]||(t[8]=i("strong",null,"文件:",-1)),c(" "+s(V.value),1)]),i("div",null,[t[9]||(t[9]=i("strong",null,"标签:",-1)),c(" "+s(Y.value),1)])])):o("",!0),t[15]||(t[15]=i("div",{style:{flex:"1"}},null,-1)),i("div",{class:"btn",onClick:Ee,title:"在新窗口中打开纯PDF预览"},"PDF预览")]),i("div",ce,[g(x,{file:d.value,page:S.value,scale:L.value,"annotation-mode":C.value,"border-style":K.value,"annotation-style":Q.value,"start-number":ve.value,increment:pe.value,prefix:fe.value,suffix:me.value,"font-size":ye.value,ref_key:"pdfViewerRef",ref:F,onLoaded:Z,onScaleChanged:q,onWheelZoom:H,onPlaceImage:Ae,onAnnotationSelected:R,onImagePlacingCancelled:Pe,onImageDeleted:Ue,onAnnotationChanged:W},null,8,["file","page","scale","annotation-mode","border-style","annotation-style","start-number","increment","prefix","suffix","font-size"])])])]))}}).mount("#app"); diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/main-DSskaVYi.css b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/main-DSskaVYi.css new file mode 100644 index 0000000..fb3ed7a --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/main-DSskaVYi.css @@ -0,0 +1 @@ +.menu-item[data-v-6090802b]:hover{background-color:#f3f4f6!important}.annotation-detail-panel[data-v-6090802b]{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:16px;overflow:hidden}.panel-header[data-v-6090802b]{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#334155;color:#fff}.close-btn[data-v-6090802b]{background:transparent;border:none;color:#fff;font-size:18px;cursor:pointer;padding:0 4px;line-height:1}.close-btn[data-v-6090802b]:hover{color:#fca5a5}.detail-content[data-v-6090802b]{padding:12px}.detail-row[data-v-6090802b]{display:flex;align-items:center;gap:8px;margin-bottom:10px}.detail-row label[data-v-6090802b]{min-width:70px;font-size:12px;color:#64748b}.detail-row.readonly[data-v-6090802b]{color:#94a3b8;font-size:12px}.detail-row.readonly span[data-v-6090802b]{color:#475569}.label-preview[data-v-6090802b]{flex:1;padding:6px 10px;background:#1e293b;color:#f1f5f9;border-radius:4px;font-family:monospace;font-size:13px;text-align:center}.detail-input[data-v-6090802b]{flex:1;padding:6px 8px;border:1px solid #d1d5db;border-radius:4px;font-size:12px}.detail-input[data-v-6090802b]:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.detail-textarea[data-v-6090802b]{flex:1;padding:6px 8px;border:1px solid #d1d5db;border-radius:4px;font-size:12px;min-height:60px;resize:vertical;font-family:inherit}.detail-textarea[data-v-6090802b]:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f633}.detail-divider[data-v-6090802b]{height:1px;background:#e2e8f0;margin:12px 0}.detail-actions[data-v-6090802b]{display:flex;gap:8px;margin-top:12px}.detail-actions .btn-primary[data-v-6090802b]{flex:1;padding:8px;background:#3b82f6;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:12px}.detail-actions .btn-primary[data-v-6090802b]:hover{background:#2563eb}.detail-actions .btn-danger[data-v-6090802b]{padding:8px 12px;background:#fee2e2;color:#dc2626;border:1px solid #fecaca;border-radius:4px;cursor:pointer;font-size:12px}.detail-actions .btn-danger[data-v-6090802b]:hover{background:#fecaca} diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/pdf-lib-D5zKcp81.js b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/pdf-lib-D5zKcp81.js new file mode 100644 index 0000000..1ef24a6 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/pdf-lib-D5zKcp81.js @@ -0,0 +1,15 @@ +function t(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function e(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var n=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}),n} +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},n(t,e)};function r(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]>4,h[u++]=(15&r)<<4|o>>2,h[u++]=(3&o)<<6|63&i;return h},d=/^(data)?:?([\w\/\+]+)?;?(charset=[\w-]+|base64)?.*,/i,p=function(t){return t.charCodeAt(0)},g=function(t){return t.codePointAt(0)},y=function(t,e){return b(t.toString(16),e,"0").toUpperCase()},v=function(t){return y(t,2)},m=function(t){return String.fromCharCode(t)},b=function(t,e,n){for(var r="",o=0,i=e-t.length;o=55296&&r<=56319&&t.length>o&&(n=t.charCodeAt(o))>=56320&&n<=57343&&(i=2),[t.slice(e,e+i),i]},A=function(t,e,n,r){for(var o=function(t){for(var e=S.join("|"),n=["$"],r=0,o=t.length;rn&&c(),a+=f,s+=d}}return c(),u},P=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,R=function(t){var e=t.match(P);if(e){var n=e[1],r=e[2],o=void 0===r?"01":r,i=e[3],a=void 0===i?"01":i,s=e[4],u=void 0===s?"00":s,c=e[5],h=void 0===c?"00":c,l=e[6],f=void 0===l?"00":l,d=e[7],p=void 0===d?"Z":d,g=e[8],y=void 0===g?"00":g,v=e[9];return new Date(n+"-"+o+"-"+a+"T"+u+":"+h+":"+f+("Z"===p?"Z":""+p+y+":"+(void 0===v?"00":v)))}},N=function(t,e){for(var n,r,o=0;o=2;){var i=X(t[r++],t[r++],n);if(G(i))if(t.length-r<2)o.push(q);else{var a=X(t[r++],t[r++],n);L(a)?o.push(i,a):o.push(q)}else L(i)?(r+=2,o.push(q)):o.push(i)}return r=55296&&t<=56319},L=function(t){return t>=56320&&t<=57343},X=function(t,e,n){if(n===l.LittleEndian)return e<<8|t;if(n===l.BigEndian)return t<<8|e;throw new Error("Invalid byteOrder: "+n)},H=function(t){return Z(t)?l.BigEndian:Y(t)?l.LittleEndian:l.BigEndian},Z=function(t){return 254===t[0]&&255===t[1]},Y=function(t){return 255===t[0]&&254===t[1]},J=function(t){return Z(t)||Y(t)},Q=function(t){return Math.ceil(t.toString(2).length/8)},_=function(t){for(var e=new Uint8Array(Q(t)),n=1;n<=e.length;n++)e[n-1]=t>>8*(e.length-n);return e},$=function(t){throw new Error(t)},tt={};!function(t){var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var o in r)n(r,o)&&(t[o]=r[o])}}return t},t.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var r={arraySet:function(t,e,n,r,o){if(e.subarray&&t.subarray)t.set(e.subarray(n,n+r),o);else for(var i=0;i=0;)t[e]=0}var at=256,st=286,ut=30,ct=15,ht=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],lt=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],ft=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],dt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],pt=new Array(576);it(pt);var gt=new Array(60);it(gt);var yt=new Array(512);it(yt);var vt=new Array(256);it(vt);var mt=new Array(29);it(mt);var bt,wt,xt,Ft=new Array(ut);function St(t,e,n,r,o){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=r,this.max_length=o,this.has_stree=t&&t.length}function Ct(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function kt(t){return t<256?yt[t]:yt[256+(t>>>7)]}function Tt(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function Ot(t,e,n){t.bi_valid>16-n?(t.bi_buf|=e<>16-t.bi_valid,t.bi_valid+=n-16):(t.bi_buf|=e<>>=1,n<<=1}while(--e>0);return n>>>1}function Rt(t,e,n){var r,o,i=new Array(16),a=0;for(r=1;r<=ct;r++)i[r]=a=a+n[r-1]<<1;for(o=0;o<=e;o++){var s=t[2*o+1];0!==s&&(t[2*o]=Pt(i[s]++,s))}}function Nt(t){var e;for(e=0;e8?Tt(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function jt(t,e,n,r){var o=2*e,i=2*n;return t[o]>1;n>=1;n--)zt(t,i,n);o=u;do{n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],zt(t,i,1),r=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=r,i[2*o]=i[2*n]+i[2*r],t.depth[o]=(t.depth[n]>=t.depth[r]?t.depth[n]:t.depth[r])+1,i[2*n+1]=i[2*r+1]=o,t.heap[1]=o++,zt(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var n,r,o,i,a,s,u=e.dyn_tree,c=e.max_code,h=e.stat_desc.static_tree,l=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(i=0;i<=ct;i++)t.bl_count[i]=0;for(u[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)(i=u[2*u[2*(r=t.heap[n])+1]+1]+1)>p&&(i=p,g++),u[2*r+1]=i,r>c||(t.bl_count[i]++,a=0,r>=d&&(a=f[r-d]),s=u[2*r],t.opt_len+=s*(i+a),l&&(t.static_len+=s*(h[2*r+1]+a)));if(0!==g){do{for(i=p-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(i=p;0!==i;i--)for(r=t.bl_count[i];0!==r;)(o=t.heap[--n])>c||(u[2*o+1]!==i&&(t.opt_len+=(i-u[2*o+1])*u[2*o],u[2*o+1]=i),r--)}}(t,e),Rt(i,c,t.bl_count)}function Vt(t,e,n){var r,o,i=-1,a=e[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),e[2*(n+1)+1]=65535,r=0;r<=n;r++)o=a,a=e[2*(r+1)+1],++s>=7;r0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e=3&&0===t.bl_tree[2*dt[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),o=t.opt_len+3+7>>>3,(i=t.static_len+3+7>>>3)<=o&&(o=i)):o=i=n+5,n+4<=o&&-1!==e?Et(t,e,n,r):4===t.strategy||i===o?(Ot(t,2+(r?1:0),3),Bt(t,pt,gt)):(Ot(t,4+(r?1:0),3),function(t,e,n,r){var o;for(Ot(t,e-257,5),Ot(t,n-1,5),Ot(t,r-4,4),o=0;o>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(vt[n]+at+1)]++,t.dyn_dtree[2*kt(e)]++),t.last_lit===t.lit_bufsize-1},rt._tr_align=function(t){Ot(t,2,3),At(t,256,pt),function(t){16===t.bi_valid?(Tt(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)};var Wt=function(t,e,n,r){for(var o=65535&t,i=t>>>16&65535,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{i=i+(o=o+e[r++]|0)|0}while(--a);o%=65521,i%=65521}return o|i<<16};var qt=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();var Kt,Gt=function(t,e,n,r){var o=qt,i=r+n;t^=-1;for(var a=r;a>>8^o[255&(t^e[a])];return-1^t},Lt={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Xt=tt,Ht=rt,Zt=Wt,Yt=Gt,Jt=Lt,Qt=-2,_t=258,$t=262,te=103,ee=113,ne=666;function re(t,e){return t.msg=Jt[e],e}function oe(t){return(t<<1)-(t>4?9:0)}function ie(t){for(var e=t.length;--e>=0;)t[e]=0}function ae(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(Xt.arraySet(t.output,e.pending_buf,e.pending_out,n,t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))}function se(t,e){Ht._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,ae(t.strm)}function ue(t,e){t.pending_buf[t.pending++]=e}function ce(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function he(t,e,n,r){var o=t.avail_in;return o>r&&(o=r),0===o?0:(t.avail_in-=o,Xt.arraySet(e,t.input,t.next_in,o,n),1===t.state.wrap?t.adler=Zt(t.adler,e,o,n):2===t.state.wrap&&(t.adler=Yt(t.adler,e,o,n)),t.next_in+=o,t.total_in+=o,o)}function le(t,e){var n,r,o=t.max_chain_length,i=t.strstart,a=t.prev_length,s=t.nice_match,u=t.strstart>t.w_size-$t?t.strstart-(t.w_size-$t):0,c=t.window,h=t.w_mask,l=t.prev,f=t.strstart+_t,d=c[i+a-1],p=c[i+a];t.prev_length>=t.good_match&&(o>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(n=e)+a]===p&&c[n+a-1]===d&&c[n]===c[i]&&c[++n]===c[i+1]){i+=2,n++;do{}while(c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&ia){if(t.match_start=e,a=r,r>=s)break;d=c[i+a-1],p=c[i+a]}}}while((e=l[e&h])>u&&0!==--o);return a<=t.lookahead?a:t.lookahead}function fe(t){var e,n,r,o,i,a=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=a+(a-$t)){Xt.arraySet(t.window,t.window,a,a,0),t.match_start-=a,t.strstart-=a,t.block_start-=a,e=n=t.hash_size;do{r=t.head[--e],t.head[e]=r>=a?r-a:0}while(--n);e=n=a;do{r=t.prev[--e],t.prev[e]=r>=a?r-a:0}while(--n);o+=a}if(0===t.strm.avail_in)break;if(n=he(t.strm,t.window,t.strstart+t.lookahead,o),t.lookahead+=n,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=(t.ins_h<=3&&(t.ins_h=(t.ins_h<=3)if(r=Ht._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<=3&&(t.ins_h=(t.ins_h<4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){o=t.strstart+t.lookahead-3,r=Ht._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=o&&(t.ins_h=(t.ins_h<15&&(a=2,r-=16),o<1||o>9||8!==n||r<8||r>15||e<0||e>9||i<0||i>4)return re(t,Qt);8===r&&(r=9);var s=new ye;return t.state=s,s.strm=t,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(fe(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var r=t.block_start+n;if((0===t.strstart||t.strstart>=r)&&(t.lookahead=t.strstart-r,t.strstart=r,se(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-$t&&(se(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(se(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(se(t,!1),t.strm.avail_out),1)}),new ge(4,4,8,4,de),new ge(4,5,16,8,de),new ge(4,6,32,32,de),new ge(4,4,16,16,pe),new ge(8,16,32,32,pe),new ge(8,16,128,128,pe),new ge(8,32,128,256,pe),new ge(32,128,258,1024,pe),new ge(32,258,258,4096,pe)],nt.deflateInit=function(t,e){return be(t,e,8,15,8,0)},nt.deflateInit2=be,nt.deflateReset=me,nt.deflateResetKeep=ve,nt.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?Qt:(t.state.gzhead=e,0):Qt},nt.deflate=function(t,e){var n,r,o,i;if(!t||!t.state||e>5||e<0)return t?re(t,Qt):Qt;if(r=t.state,!t.output||!t.input&&0!==t.avail_in||r.status===ne&&4!==e)return re(t,0===t.avail_out?-5:Qt);if(r.strm=t,n=r.last_flush,r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,ue(r,31),ue(r,139),ue(r,8),r.gzhead?(ue(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),ue(r,255&r.gzhead.time),ue(r,r.gzhead.time>>8&255),ue(r,r.gzhead.time>>16&255),ue(r,r.gzhead.time>>24&255),ue(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),ue(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(ue(r,255&r.gzhead.extra.length),ue(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=Yt(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(ue(r,0),ue(r,0),ue(r,0),ue(r,0),ue(r,0),ue(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),ue(r,3),r.status=ee);else{var a=8+(r.w_bits-8<<4)<<8;a|=(r.strategy>=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(a|=32),a+=31-a%31,r.status=ee,ce(r,a),0!==r.strstart&&(ce(r,t.adler>>>16),ce(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(o=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>o&&(t.adler=Yt(t.adler,r.pending_buf,r.pending-o,o)),ae(t),o=r.pending,r.pending!==r.pending_buf_size));)ue(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>o&&(t.adler=Yt(t.adler,r.pending_buf,r.pending-o,o)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(t.adler=Yt(t.adler,r.pending_buf,r.pending-o,o)),ae(t),o=r.pending,r.pending===r.pending_buf_size)){i=1;break}i=r.gzindexo&&(t.adler=Yt(t.adler,r.pending_buf,r.pending-o,o)),0===i&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){o=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>o&&(t.adler=Yt(t.adler,r.pending_buf,r.pending-o,o)),ae(t),o=r.pending,r.pending===r.pending_buf_size)){i=1;break}i=r.gzindexo&&(t.adler=Yt(t.adler,r.pending_buf,r.pending-o,o)),0===i&&(r.status=te)}else r.status=te;if(r.status===te&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&ae(t),r.pending+2<=r.pending_buf_size&&(ue(r,255&t.adler),ue(r,t.adler>>8&255),t.adler=0,r.status=ee)):r.status=ee),0!==r.pending){if(ae(t),0===t.avail_out)return r.last_flush=-1,0}else if(0===t.avail_in&&oe(e)<=oe(n)&&4!==e)return re(t,-5);if(r.status===ne&&0!==t.avail_in)return re(t,-5);if(0!==t.avail_in||0!==r.lookahead||0!==e&&r.status!==ne){var s=2===r.strategy?function(t,e){for(var n;;){if(0===t.lookahead&&(fe(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,n=Ht._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(se(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(se(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(se(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var n,r,o,i,a=t.window;;){if(t.lookahead<=_t){if(fe(t),t.lookahead<=_t&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(r=a[o=t.strstart-1])===a[++o]&&r===a[++o]&&r===a[++o]){i=t.strstart+_t;do{}while(r===a[++o]&&r===a[++o]&&r===a[++o]&&r===a[++o]&&r===a[++o]&&r===a[++o]&&r===a[++o]&&r===a[++o]&&ot.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(n=Ht._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=Ht._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(se(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(se(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(se(t,!1),0===t.strm.avail_out)?1:2}(r,e):Kt[r.level].func(r,e);if(3!==s&&4!==s||(r.status=ne),1===s||3===s)return 0===t.avail_out&&(r.last_flush=-1),0;if(2===s&&(1===e?Ht._tr_align(r):5!==e&&(Ht._tr_stored_block(r,0,0,!1),3===e&&(ie(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),ae(t),0===t.avail_out))return r.last_flush=-1,0}return 4!==e?0:r.wrap<=0?1:(2===r.wrap?(ue(r,255&t.adler),ue(r,t.adler>>8&255),ue(r,t.adler>>16&255),ue(r,t.adler>>24&255),ue(r,255&t.total_in),ue(r,t.total_in>>8&255),ue(r,t.total_in>>16&255),ue(r,t.total_in>>24&255)):(ce(r,t.adler>>>16),ce(r,65535&t.adler)),ae(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},nt.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&e!==te&&e!==ee&&e!==ne?re(t,Qt):(t.state=null,e===ee?re(t,-3):0):Qt},nt.deflateSetDictionary=function(t,e){var n,r,o,i,a,s,u,c,h=e.length;if(!t||!t.state)return Qt;if(2===(i=(n=t.state).wrap)||1===i&&42!==n.status||n.lookahead)return Qt;for(1===i&&(t.adler=Zt(t.adler,e,h,0)),n.wrap=0,h>=n.w_size&&(0===i&&(ie(n.head),n.strstart=0,n.block_start=0,n.insert=0),c=new Xt.Buf8(n.w_size),Xt.arraySet(c,e,h-n.w_size,n.w_size,0),e=c,h=n.w_size),a=t.avail_in,s=t.next_in,u=t.input,t.avail_in=h,t.next_in=0,t.input=e,fe(n);n.lookahead>=3;){r=n.strstart,o=n.lookahead-2;do{n.ins_h=(n.ins_h<=252?6:ke>=248?5:ke>=240?4:ke>=224?3:ke>=192?2:1;function Te(t,e){if(e<65534&&(t.subarray&&Se||!t.subarray&&Fe))return String.fromCharCode.apply(null,xe.shrinkBuf(t,e));for(var n="",r=0;r>>6,e[i++]=128|63&n):n<65536?(e[i++]=224|n>>>12,e[i++]=128|n>>>6&63,e[i++]=128|63&n):(e[i++]=240|n>>>18,e[i++]=128|n>>>12&63,e[i++]=128|n>>>6&63,e[i++]=128|63&n);return e},we.buf2binstring=function(t){return Te(t,t.length)},we.binstring2buf=function(t){for(var e=new xe.Buf8(t.length),n=0,r=e.length;n4)s[r++]=65533,n+=i-1;else{for(o&=2===i?31:3===i?15:7;i>1&&n1?s[r++]=65533:o<65536?s[r++]=o:(o-=65536,s[r++]=55296|o>>10&1023,s[r++]=56320|1023&o)}return Te(s,r)},we.utf8border=function(t,e){var n;for((e=e||t.length)>t.length&&(e=t.length),n=e-1;n>=0&&128==(192&t[n]);)n--;return n<0||0===n?e:n+Ce[t[n]]>e?n:e};var Oe=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Ae=nt,Pe=tt,Re=we,Ne=Lt,De=Oe,je=Object.prototype.toString;function ze(t){if(!(this instanceof ze))return new ze(t);this.options=Pe.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new De,this.strm.avail_out=0;var n=Ae.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==n)throw new Error(Ne[n]);if(e.header&&Ae.deflateSetHeader(this.strm,e.header),e.dictionary){var r;if(r="string"==typeof e.dictionary?Re.string2buf(e.dictionary):"[object ArrayBuffer]"===je.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,0!==(n=Ae.deflateSetDictionary(this.strm,r)))throw new Error(Ne[n]);this._dict_set=!0}}function Be(t,e){var n=new ze(e);if(n.push(t,!0),n.err)throw n.msg||Ne[n.err];return n.result}ze.prototype.push=function(t,e){var n,r,o=this.strm,i=this.options.chunkSize;if(this.ended)return!1;r=e===~~e?e:!0===e?4:0,"string"==typeof t?o.input=Re.string2buf(t):"[object ArrayBuffer]"===je.call(t)?o.input=new Uint8Array(t):o.input=t,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new Pe.Buf8(i),o.next_out=0,o.avail_out=i),1!==(n=Ae.deflate(o,r))&&0!==n)return this.onEnd(n),this.ended=!0,!1;0!==o.avail_out&&(0!==o.avail_in||4!==r&&2!==r)||("string"===this.options.to?this.onData(Re.buf2binstring(Pe.shrinkBuf(o.output,o.next_out))):this.onData(Pe.shrinkBuf(o.output,o.next_out)))}while((o.avail_in>0||0===o.avail_out)&&1!==n);return 4===r?(n=Ae.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==r||(this.onEnd(0),o.avail_out=0,!0)},ze.prototype.onData=function(t){this.chunks.push(t)},ze.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Pe.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},et.Deflate=ze,et.deflate=Be,et.deflateRaw=function(t,e){return(e=e||{}).raw=!0,Be(t,e)},et.gzip=function(t,e){return(e=e||{}).gzip=!0,Be(t,e)};var Me={},Ve={},Ie=tt,Ue=15,Ee=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],We=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],qe=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Ke=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],Ge=tt,Le=Wt,Xe=Gt,He=function(t,e){var n,r,o,i,a,s,u,c,h,l,f,d,p,g,y,v,m,b,w,x,F,S,C,k,T;n=t.state,r=t.next_in,k=t.input,o=r+(t.avail_in-5),i=t.next_out,T=t.output,a=i-(e-t.avail_out),s=i+(t.avail_out-257),u=n.dmax,c=n.wsize,h=n.whave,l=n.wnext,f=n.window,d=n.hold,p=n.bits,g=n.lencode,y=n.distcode,v=(1<>>=w=b>>>24,p-=w,0===(w=b>>>16&255))T[i++]=65535&b;else{if(!(16&w)){if(64&w){if(32&w){n.mode=12;break t}t.msg="invalid literal/length code",n.mode=30;break t}b=g[(65535&b)+(d&(1<>>=w,p-=w),p<15&&(d+=k[r++]<>>=w=b>>>24,p-=w,16&(w=b>>>16&255)){if(F=65535&b,p<(w&=15)&&(d+=k[r++]<u){t.msg="invalid distance too far back",n.mode=30;break t}if(d>>>=w,p-=w,F>(w=i-a)){if((w=F-w)>h&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(S=0,C=f,0===l){if(S+=c-w,w2;)T[i++]=C[S++],T[i++]=C[S++],T[i++]=C[S++],x-=3;x&&(T[i++]=C[S++],x>1&&(T[i++]=C[S++]))}else{S=i-F;do{T[i++]=T[S++],T[i++]=T[S++],T[i++]=T[S++],x-=3}while(x>2);x&&(T[i++]=T[S++],x>1&&(T[i++]=T[S++]))}break}if(64&w){t.msg="invalid distance code",n.mode=30;break t}b=y[(65535&b)+(d&(1<>3,d&=(1<<(p-=x<<3))-1,t.next_in=r,t.next_out=i,t.avail_in=r=1&&0===R[x];x--);if(F>x&&(F=x),0===x)return o[i++]=20971520,o[i++]=20971520,s.bits=1,0;for(w=1;w0&&(0===t||1!==x))return-1;for(N[1]=0,m=1;m852||2===t&&T>592)return 1;for(;;){p=m-C,a[b]d?(g=D[j+a[b]],y=A[P+a[b]]):(g=96,y=0),u=1<>C)+(c-=u)]=p<<24|g<<16|y}while(0!==c);for(u=1<>=1;if(0!==u?(O&=u-1,O+=u):O=0,b++,0===--R[m]){if(m===x)break;m=e[n+a[b]]}if(m>F&&(O&l)!==h){for(0===C&&(C=F),f+=w,k=1<<(S=m-C);S+C852||2===t&&T>592)return 1;o[h=O&l]=F<<24|S<<16|f-i}}return 0!==O&&(o[f+O]=m-C<<24|64<<16),s.bits=F,0},Ye=-2,Je=12,Qe=30;function _e(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function $e(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Ge.Buf16(320),this.work=new Ge.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function tn(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Ge.Buf32(852),e.distcode=e.distdyn=new Ge.Buf32(592),e.sane=1,e.back=-1,0):Ye}function en(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,tn(t)):Ye}function nn(t,e){var n,r;return t&&t.state?(r=t.state,e<0?(n=0,e=-e):(n=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?Ye:(null!==r.window&&r.wbits!==e&&(r.window=null),r.wrap=n,r.wbits=e,en(t))):Ye}function rn(t,e){var n,r;return t?(r=new $e,t.state=r,r.window=null,0!==(n=nn(t,e))&&(t.state=null),n):Ye}var on,an,sn=!0;function un(t){if(sn){var e;for(on=new Ge.Buf32(512),an=new Ge.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(Ze(1,t.lens,0,288,on,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;Ze(2,t.lens,0,32,an,0,t.work,{bits:5}),sn=!1}t.lencode=on,t.lenbits=9,t.distcode=an,t.distbits=5}function cn(t,e,n,r){var o,i=t.state;return null===i.window&&(i.wsize=1<=i.wsize?(Ge.arraySet(i.window,e,n-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):((o=i.wsize-i.wnext)>r&&(o=r),Ge.arraySet(i.window,e,n-r,o,i.wnext),(r-=o)?(Ge.arraySet(i.window,e,n-r,r,0),i.wnext=r,i.whave=i.wsize):(i.wnext+=o,i.wnext===i.wsize&&(i.wnext=0),i.whave>>8&255,n.check=Xe(n.check,O,2,0),c=0,h=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31){t.msg="incorrect header check",n.mode=Qe;break}if(8!=(15&c)){t.msg="unknown compression method",n.mode=Qe;break}if(h-=4,F=8+(15&(c>>>=4)),0===n.wbits)n.wbits=F;else if(F>n.wbits){t.msg="invalid window size",n.mode=Qe;break}n.dmax=1<>8&1),512&n.flags&&(O[0]=255&c,O[1]=c>>>8&255,n.check=Xe(n.check,O,2,0)),c=0,h=0,n.mode=3;case 3:for(;h<32;){if(0===s)break t;s--,c+=r[i++]<>>8&255,O[2]=c>>>16&255,O[3]=c>>>24&255,n.check=Xe(n.check,O,4,0)),c=0,h=0,n.mode=4;case 4:for(;h<16;){if(0===s)break t;s--,c+=r[i++]<>8),512&n.flags&&(O[0]=255&c,O[1]=c>>>8&255,n.check=Xe(n.check,O,2,0)),c=0,h=0,n.mode=5;case 5:if(1024&n.flags){for(;h<16;){if(0===s)break t;s--,c+=r[i++]<>>8&255,n.check=Xe(n.check,O,2,0)),c=0,h=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((d=n.length)>s&&(d=s),d&&(n.head&&(F=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Ge.arraySet(n.head.extra,r,i,d,F)),512&n.flags&&(n.check=Xe(n.check,r,d,i)),s-=d,i+=d,n.length-=d),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break t;d=0;do{F=r[i+d++],n.head&&F&&n.length<65536&&(n.head.name+=String.fromCharCode(F))}while(F&&d>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=Je;break;case 10:for(;h<32;){if(0===s)break t;s--,c+=r[i++]<>>=7&h,h-=7&h,n.mode=27;break}for(;h<3;){if(0===s)break t;s--,c+=r[i++]<>>=1)){case 0:n.mode=14;break;case 1:if(un(n),n.mode=20,6===e){c>>>=2,h-=2;break t}break;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=Qe}c>>>=2,h-=2;break;case 14:for(c>>>=7&h,h-=7&h;h<32;){if(0===s)break t;s--,c+=r[i++]<>>16^65535)){t.msg="invalid stored block lengths",n.mode=Qe;break}if(n.length=65535&c,c=0,h=0,n.mode=15,6===e)break t;case 15:n.mode=16;case 16:if(d=n.length){if(d>s&&(d=s),d>u&&(d=u),0===d)break t;Ge.arraySet(o,r,i,d,a),s-=d,i+=d,u-=d,a+=d,n.length-=d;break}n.mode=Je;break;case 17:for(;h<14;){if(0===s)break t;s--,c+=r[i++]<>>=5,h-=5,n.ndist=1+(31&c),c>>>=5,h-=5,n.ncode=4+(15&c),c>>>=4,h-=4,n.nlen>286||n.ndist>30){t.msg="too many length or distance symbols",n.mode=Qe;break}n.have=0,n.mode=18;case 18:for(;n.have>>=3,h-=3}for(;n.have<19;)n.lens[A[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,C={bits:n.lenbits},S=Ze(0,n.lens,0,19,n.lencode,0,n.work,C),n.lenbits=C.bits,S){t.msg="invalid code lengths set",n.mode=Qe;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,m=65535&T,!((y=T>>>24)<=h);){if(0===s)break t;s--,c+=r[i++]<>>=y,h-=y,n.lens[n.have++]=m;else{if(16===m){for(k=y+2;h>>=y,h-=y,0===n.have){t.msg="invalid bit length repeat",n.mode=Qe;break}F=n.lens[n.have-1],d=3+(3&c),c>>>=2,h-=2}else if(17===m){for(k=y+3;h>>=y)),c>>>=3,h-=3}else{for(k=y+7;h>>=y)),c>>>=7,h-=7}if(n.have+d>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=Qe;break}for(;d--;)n.lens[n.have++]=F}}if(n.mode===Qe)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=Qe;break}if(n.lenbits=9,C={bits:n.lenbits},S=Ze(1,n.lens,0,n.nlen,n.lencode,0,n.work,C),n.lenbits=C.bits,S){t.msg="invalid literal/lengths set",n.mode=Qe;break}if(n.distbits=6,n.distcode=n.distdyn,C={bits:n.distbits},S=Ze(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,C),n.distbits=C.bits,S){t.msg="invalid distances set",n.mode=Qe;break}if(n.mode=20,6===e)break t;case 20:n.mode=21;case 21:if(s>=6&&u>=258){t.next_out=a,t.avail_out=u,t.next_in=i,t.avail_in=s,n.hold=c,n.bits=h,He(t,f),a=t.next_out,o=t.output,u=t.avail_out,i=t.next_in,r=t.input,s=t.avail_in,c=n.hold,h=n.bits,n.mode===Je&&(n.back=-1);break}for(n.back=0;v=(T=n.lencode[c&(1<>>16&255,m=65535&T,!((y=T>>>24)<=h);){if(0===s)break t;s--,c+=r[i++]<>b)])>>>16&255,m=65535&T,!(b+(y=T>>>24)<=h);){if(0===s)break t;s--,c+=r[i++]<>>=b,h-=b,n.back+=b}if(c>>>=y,h-=y,n.back+=y,n.length=m,0===v){n.mode=26;break}if(32&v){n.back=-1,n.mode=Je;break}if(64&v){t.msg="invalid literal/length code",n.mode=Qe;break}n.extra=15&v,n.mode=22;case 22:if(n.extra){for(k=n.extra;h>>=n.extra,h-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;v=(T=n.distcode[c&(1<>>16&255,m=65535&T,!((y=T>>>24)<=h);){if(0===s)break t;s--,c+=r[i++]<>b)])>>>16&255,m=65535&T,!(b+(y=T>>>24)<=h);){if(0===s)break t;s--,c+=r[i++]<>>=b,h-=b,n.back+=b}if(c>>>=y,h-=y,n.back+=y,64&v){t.msg="invalid distance code",n.mode=Qe;break}n.offset=m,n.extra=15&v,n.mode=24;case 24:if(n.extra){for(k=n.extra;h>>=n.extra,h-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=Qe;break}n.mode=25;case 25:if(0===u)break t;if(d=f-u,n.offset>d){if((d=n.offset-d)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=Qe;break}d>n.wnext?(d-=n.wnext,p=n.wsize-d):p=n.wnext-d,d>n.length&&(d=n.length),g=n.window}else g=o,p=a-n.offset,d=n.length;d>u&&(d=u),u-=d,n.length-=d;do{o[a++]=g[p++]}while(--d);0===n.length&&(n.mode=21);break;case 26:if(0===u)break t;o[a++]=n.length,u--,n.mode=21;break;case 27:if(n.wrap){for(;h<32;){if(0===s)break t;s--,c|=r[i++]<=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&(15&e.windowBits||(e.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new yn,this.strm.avail_out=0;var n=ln.inflateInit2(this.strm,e.windowBits);if(n!==pn.Z_OK)throw new Error(gn[n]);if(this.header=new vn,ln.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=dn.string2buf(e.dictionary):"[object ArrayBuffer]"===mn.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(n=ln.inflateSetDictionary(this.strm,e.dictionary))!==pn.Z_OK))throw new Error(gn[n])}function wn(t,e){var n=new bn(e);if(n.push(t,!0),n.err)throw n.msg||gn[n.err];return n.result}bn.prototype.push=function(t,e){var n,r,o,i,a,s=this.strm,u=this.options.chunkSize,c=this.options.dictionary,h=!1;if(this.ended)return!1;r=e===~~e?e:!0===e?pn.Z_FINISH:pn.Z_NO_FLUSH,"string"==typeof t?s.input=dn.binstring2buf(t):"[object ArrayBuffer]"===mn.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new fn.Buf8(u),s.next_out=0,s.avail_out=u),(n=ln.inflate(s,pn.Z_NO_FLUSH))===pn.Z_NEED_DICT&&c&&(n=ln.inflateSetDictionary(this.strm,c)),n===pn.Z_BUF_ERROR&&!0===h&&(n=pn.Z_OK,h=!1),n!==pn.Z_STREAM_END&&n!==pn.Z_OK)return this.onEnd(n),this.ended=!0,!1;s.next_out&&(0!==s.avail_out&&n!==pn.Z_STREAM_END&&(0!==s.avail_in||r!==pn.Z_FINISH&&r!==pn.Z_SYNC_FLUSH)||("string"===this.options.to?(o=dn.utf8border(s.output,s.next_out),i=s.next_out-o,a=dn.buf2string(s.output,o),s.next_out=i,s.avail_out=u-i,i&&fn.arraySet(s.output,s.output,o,i,0),this.onData(a)):this.onData(fn.shrinkBuf(s.output,s.next_out)))),0===s.avail_in&&0===s.avail_out&&(h=!0)}while((s.avail_in>0||0===s.avail_out)&&n!==pn.Z_STREAM_END);return n===pn.Z_STREAM_END&&(r=pn.Z_FINISH),r===pn.Z_FINISH?(n=ln.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===pn.Z_OK):r!==pn.Z_SYNC_FLUSH||(this.onEnd(pn.Z_OK),s.avail_out=0,!0)},bn.prototype.onData=function(t){this.chunks.push(t)},bn.prototype.onEnd=function(t){t===pn.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=fn.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},Me.Inflate=bn,Me.inflate=wn,Me.inflateRaw=function(t,e){return(e=e||{}).raw=!0,wn(t,e)},Me.ungzip=wn;var xn={};(0,tt.assign)(xn,et,Me,hn);const Fn=t(xn);for(var Sn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Cn=new Uint8Array(256),kn=0;kn<64;kn++)Cn[Sn.charCodeAt(kn)]=kn;var Tn=function(t){return function(t){for(var e="",n=0;n>4,c[u++]=(15&r)<<4|o>>2,c[u++]=(3&o)<<6|63&i;return c}(t)))};var On,An={Courier:"eJyFWdtSGzkQ/RXXPO1WmZSBEAJvjnESb8AmGENCKg+ypj3Wohk5ugAmlX9fzUCyW6s+ysuUfVqXvh61Zr4XI1PX1PjiuLg6C05U1Ns/Ojx42TsYHB4eFf3irWn8VNQUB4xMsIpsCwatU1DUSm8T+JpUtW7XP6NShToiEy+0ksOm0nHkIP53b9UDlefKy3Vx7G2gfjFaCyukJzundu74wVNTUnlhatE8a/XmjXkojr/s7O33d/YOBv3D3YP+68HB136xiEOtVg2dG6e8Mk1xvLM7GPxHcLlW8rYh54rjOLO4Iuu6YcVgsP9iMBjELabGK/lkymZrWxt6f8g/e7tHr4/68Xk06J673XOve+53z8PesDRL6s23zlPtepNGGrsxVngqX/R6Q617F+1qrndBjuxdRONu4ziqVE01l2vqHNgtMveiKYUtf0rjwJHYvH/26MGrvX7x6ee/l3uv+sXQydZPtjh+tXfUL07o1/+d3YPDfjH35fvrOHO3+3n1/LN19hl5q2T0x5fvxfWnOL/11zQq4jYiuuFH/38wPUgt6hT/Fkw0dKlTSRPqZevnqkllpdFa2BTfkJVtdiYCUUeRi94BGnQBY9YTlhpNKyQC04RrV3S3zCwdXIrKWFQihdfbzZoY66MpyjCWOC3cOoUfyZoUNQ0TJX/PjPRrS8zYVSxZBlV3zFinHhiQ7jjriPdpoziFpdGGWcNRrYBIt1WcbvotCCYHK0uxDhkzvwVyHVOksWd0H6bQmxQapdBJCo1T6G0KvUuh9yk0SaG/UuhDCp2m0FkKTVNolkLnKfQxhS5SaJ5Clym0SKGrFLpOoU8p9DmFblJoGU+iW/I8bSyjDNTp8zzIKVIpqawMDIuGlrRdPDiYEun4jVeG4ZwlU2MM/zIVxHABU1AMy6WQSqG/U4ihV6aEGW8xVcvQ3oZxZQox3MDQC+P7kEJ3KXSfQgyTbhnS5/MLJMKSO0y78bls9EqX8KgvzT3jZ/50bo9L3fYraQq1XR3Ls1vu7FhpYxV7HoBVZLDxGJeMA7uycarrOmHXwnuzCipKagMooBV3C/9GDFy/YqpjxSR+bORYmilFVXFH2hPOtmJPDUcbO7LE1H7shURlxYYjtdj6E2PFv+5dCpfxcF4KXPQrAEBOWquNU0yhRkv92gTUKT4d+nxqRwdwrY+QwXONS8fkK01MOYO6qoW0XA4vLXEbl8YLyddbGa9axNpv2SqU8SoWG26Gu0NTCRtqLQKzjalik8mwtBSsHVTzCTtkWh5jy1Xs8fim8BQcsDOE8xvUkeSCZncQvL/b3pKpTg32NQhnVo+lGa+yMeWZoE1wPAmknwBJE/IRJRC6z1iDUt0pLps/A82GucoQYNIiN2kLJrnu2oVqhHJLLvg6WWA3CFQMC6BdQBPGeJOTSBDc/SNrqPz5voLZClGOBHkgeL9MswpolKOAUS+zq43QaoBVxxmedMBMBwlRgd21eaSmYgQXYIt3WSNDtkhywiEKqQWKSGjrTcZzl2tjmcVmaPcL4Lc5wEug7QJtEPjM7N5tuNA1OExPNAMpOEQ4oNU6aK82mmkzAzDwEhgYWy2vhC7VirldbTE1TME+Kpcs42yaZU4dLJJAjwbRIAroFDhoAhZq37zFhoF7/ba05pYa9g5kqVIOdL3vQLAnOUYJsar5q8gY5JQFBhnkmRsw4QZ47PklF3gFNvZMhzKCpKCzvOVR6wdPRyQYovYhk5XAwY+oNNDeMxQRdPSgSDm0MzZilm1LgIUnpD0TK8+TtL83GUbEqtXMKw0FNDL5PnOMXF+CDqfj8ZjANiYyo9o8k698Rn7I5vEpCJy3oqRaWEZzyrDCBHhpghLnFGgdnbYWmjkZ2psJKHCTy6gGdE2L38QP+IeQQRXg0mjQc1S5oPJOmGdDN8trXkaW4L52GBCiEVAiQDYvleTCcAIWsllrpiA+BuAX+bTOSodgzSHkaL7nmoF1HjMVMkanPdr7NmsKaAQm2VIAKvj85cZUbbwbw70fwVwasCguhb5W5S+03EH+CIxqsktFl+MTQqEaH4f2O+TXfvGBbHMulG2/Hn/98Q/b2xEO","Courier-Bold":"eJyFWdtyGjkQ/RVqnnar8Bb4lpg3jEnCxgEvGDtxKg9iphm01oyILrZxKv++mrGd3az6KC8UnNa0+nrUGr5lI11VVLtskF198FaU1Dns9w9OOkf7/ePDrJu90bWbiorCgpH2RpLZO9WqaCReqZ8lnReJqKTa/SwL8DXJctPs9Lxs4oSS+bAuVVjXC7/tG/lAxYV0+SYbOOOpm402wojckVlQ8+T4wVFdUDHXlaifrTs91Q/Z4PNeMLu7t3/U6746POm+7vW/dLNlWGuUrOlCW+mkrrPBXr/X+4/gciPz25qszQbhyeyKjG2XZb3ewR+9Xi/sMdVO5k+ebHemcaHzW/57p3/y+qQbPk967We//TxoP191hoVeUWexs44q25nUuTZbbYSj4o9OZ6hUZ97osZ05WTJ3AQ37jMOqQtblIt9QG7lWycKJuhCmeJGGhSOxffccyqPj/W728eXX4cFJNxvavAmRyQbH++HnGf34vdc/etXNFq54d50NXh+2X6/C137v+CnQH8gZmYdQfP6WXX8MCppQTYMlditCBL53/wfTQ65EFeNfvQ6erlQsqX21akJc1rGs0EoJE+NbMnlToZFAVEFkQ3iABW2uGH3CUK1ojUTgMWEbjfaWeUp5G6N5aCwRw5vddkOM98EVqRlPrBJ2E8OPZHSM6prJkrtnVrqNIWbtOjQrg8o7Zq2VDwxId5x3xMe0lpzBuVaa0WGpkkCkmgaON/3qBVODpaHQiIybXz3ZliTi3DO2D2PoNIZGMXQWQ+MYehNDb2PoXQxNYujPGHofQ+cx9CGGpjE0i6GLGPorhuYxtIihyxhaxtBVDF3H0McY+hRDNzG0CqfQLTmeNlZBBvr0+TnIKbmUuTS5Z1jUN6xtw8nBtEjLb7wxDOesmB5j+JfpIIYLmIZiWC6GZAz9HUMMvTItzESL6VqG9rZMKGOI4QaGXpjY+xi6i6H7GGKYdMeQPl9foBBW3GHark9Vo5OqgEd9oe+ZOPOnc3NcqmZgiUuomehYnt1xZ8daaSPZ8wBoyb0Jx3jOBLBtGyvbiRNOLXw0Sy+DpNKAAhpxq/gXYhD6NdMda6bwwyTH0kwhypI70p5wdhR7Gjia3JEhpvfDLCRKI7YcqYXJnxgv/g3vSthEhNNSEKIfCQByUkpurWQaNXjqNtqjSfHp0OdLOwSAG31E7h03uLRMvlbEtDPoq0rkhqvhlSFu40I7kfP9VoRLFrH+G7YLcypCQLkJ1delML5SwjPb6DIMmQxL54L1gyq+YIfMyKNNsQ4zHj8UnoMDdoZwfoMqkJxX7A6Cj3czWzLdqcC+GuGM9tCa4RobSp5J2gTnk0D5CVA0Pp1RAqn7hC0o5J3kqvkTsGyY6gwBHlqmHtqBh2x77UI9QimVS75PljgMAjXDEljn0QNjvMlZIAju/pF0NH95VcFshSgnB3Ug+LhMkwYoVKOAUS+T2kZIG2DVcYInLXDTQkKUYHelH6kuGcEcbPE26aRPNklKOEQpNcCQHPp6k4jc5UYbRtkM7T4HcVsAvADWLtEGnq/M9t2G9e2Aw8xEM1CCQ4QDWq28cnKrmDHTAwcvgYNh1HJSqEKumdvVDlPDFOwjU8UyTpZZ4tTBohzYUSMaRAmdggBNgKLmzVsYGLjXbyujb6lm70CGSmnB1PsWJHuSYhQfupq/ioxBTRngkEaRuQEP3ICIPb/kAq/Axo6ZUEaQFFSStxwa/eDpiARDND4kqhIE+BG1Btp7hjKCjh6UKYt2xk7MkmMJ8PCMlGNy5XiSdvc6wYjYtIp5pSGBRTo9Z45R6Asw4bQ8HgrYhEJmTFsk6pWvyPfJOj4HiXNGFFQJw1hOCVaYgChNUOGcA6tD0DZCMSdDczMBDa5TFVWDqWn5i/yB+BByqARcGhx6ziqXVD4Ii2TqZmnLi8AS3L8dGqRoBIzwkM0LmXNpOAOKTNKbKciPBvg8XdZJ6RDoHEKO5meuGdDzmOiQMTrt0d63SVfAIDBJtgIwwaUvN7ps8l1r7v0I5lKPRUEV+rcqfaHlDvJH4FSdVBVCjk8IiXp87Jv/Ib90s/dk6gshTfPv8Zfv/wDUfBK2","Courier-Oblique":"eJyFWVtT2zgU/isZP+3OhE5Iy/UtDaHNFhI2IdDS4UGxFUeLbKW6AKHT/77Hhnbb1fnUFw98x9K5fzpyvmZDU1Wy9tlxdnUenChlZ3e//+awc7B32D/Kutmpqf1EVJJeGJpglbQ706VWX4JshEHrX4Wdn4SiUnr7q5jga6nKdaPvXBYqVISMvdAqH9Slpjd3dvuEuFP1KIsL5fN1duxtkN1suBZW5F7auWxWjx69rAtZzEwl6hc73741j9nx553+QXenv9frHr456h729m672YJetVrV8sI45ZWpG0W93k+Cy7XK72rpXHZMK7MraV37WtbrvX7V6/VIxcR4lT87s9naxovOH/mfnd2jw6MuPY967XO3ffbb5+v2edAZFGYpO/Ot87JynXGdG7sxVnhZvOp0Blp3Zs1urjOTTtp7QknbiN4qVF3O87VsQ9huMveiLoQtvkvpxaHYvH+J6d4+Be/j9//e9Pe72cDlTZxsdrzfP+pmJ/LH/zu7ewfdbO6L99e0crf98+rlzybY59JblVM8Pn/Nrj/S+iZeEzLEbQSF4Vv3f7B8zLWoYvxLMOToUseSOlTLJs5lHcsKo7WwMb6RNm/qNRKIikSOogMsaBPG7CesrLVcIRFYJlyzo7tjVungYjSnNhMxvN5u1pLxnlxRhvHEaeHWMfwkrYlRUzNZ8g/Mm35tJfPuipqWQdU9865Tjwwo7znvJB/TWnEG50YbZg8nKwVEuuniWOmXIJgaLK2kPmTcJBJzLVPEuWdsH8TQ2xgaxtBJDI1i6DSG3sXQ+xgax9BfMfQhhs5i6DyGJjE0jaGLGPo7hmYxNI+hyxhaxNBVDF3H0McY+hRDNzG0pJPoTnqeNpYkA336sg5ySq5UrmweGBYNDWk7OjiYFmn5jTeG4Zwl02MM/zIdxHAB01AMy8WQiqF/YoihV6aFmWgxXcvQ3oYJZQwx3MDQCxP7EEP3MfQQQwyTbhnS5+sLFMKSO0zb91PV6JUu4FFfmAcmzvzp3ByXuplX4hJqpjqWZ7fc2bHSxir2PAC75MHSMZ4zAWzbxql27oRTCx/NMiiSVAZQQCNuN/6NGIR+xXTHiil8GuRYmilEWXJH2jPOjmLPA0eTO2kl0/s0C4nSig1HanQJkIwX/4V3KVwiwmkpCNGPBAC51FptnGIalTz1axPQpPh86POlTQHgRh+RB88NLi2Tr7Rk2hn0VSVyy9Xw0kpOcWG8yPl+K+iyJVn/LduFOV3GaOBmuDvUpbCh0iIwakxJQybD0rlg/ZAVX7ADZuQxtljRjMcPhWfggJ0inFdQEckFzWoQfLyb2ZLpTg30GoQzu1Nr0lWWSp5J2hjnU4LyE6BoQjqjEqTuE7agUPeKq+ZPwLJBqjMEWLRILdqCRa69dqEekaktF3yfLHAYBGqGBbAuoAUjrOSECIK7fyQdzb9/r2BUIcrJQR0IPi6TpAEa1Shg1MvkbkO0G2DVUYInHXDTQUJUQLs2T7IuGcEMqHiXdDIkmyQlHKCUWmBIDn29SUTucm0ss9kUaZ+BuM0BXgBrF0hB4Cuz/bbhQjvgMDPRFJTgAOGAVqugvdpoZswMwMFL4CCNWl4JXagVc7vaYmqYAD0qVSyjZJklTh0syoEdNaJBlNAJCNAYbNR8eaOBgfv8trTmTtbsHcjKUjkw9b4DyR6nGCVQV/NXkRGoKQscMigyN2DBDYjYy0cu8Als5JkJZQhJQSd5y6PRD56OSDBA40OiKkGAn1BrIN1TlBF09KBMOaQZOzFNjiXAwxOpPZMrz5O0fzAJRsSmVcwnDQUsMuk5c4RCX4AJp+VxKmBLhcyYNk/UK1+RH5J1fAYS560oZCUsY7lMsMIYRGmMCucMWE1BWwvNnAzNzQQ0uElVVA2mpsVv8gfiI5FDJeBScuglq1xS+SDMk6mbpi0viCW4XzsMSNEQGBEgmxcq59JwAjaySW8mID8G4LN0WSelA7DnAHI0P3NNwT5PiQ4ZodMe6b5LugIGgXGyFYAJPn25MWWT79pw30cwlwYsoq3Qr1XpCy13kD8Bp+rkVhRyfEIo1OOj0PwOedvNPkhbXwhlm1+Pb7/9C/NFF2U=","Courier-BoldOblique":"eJyFWdtyGjkQ/RVqnnarcAo7vuE3jEnCxgEvGDtxKg9iRgxaa0ZEF9s4lX/fnrGdTVZ9lBcKTmvU96PW8C0bmqqStc9OsqsPwYlSdnaPDvb6naP+3v5+1s3emNpPRCVpwdAEq6TdOTW6mC61+hpksyBo/euCTrOg89MKUSm9/XUNwddSletGcbOcfo+90Cof1KWmdTu7e4S4N+pBFhfK5+vsxNsgu9lwLazIvbRz2Tw7evCyLmQxM5Won809PTUP2cnnnYOj7s7eQa97fNjvHvd2v3SzBS21WtXywjjllakbRb3eT4LLtcpva+lcdkJPZlfSunZZ1uu9ftXr9UjFxHiVP7my2drGh84f+Z+d3f5xv0uf/V77udt+vm4/jzqDwixlZ751XlauM65zYzfGCi+LV53OQOvOrNnHdWbSSXtHKOkZ0apC1eU8X8s2dO0mcy/qQtjiRUoLh2Lz7jmWB4cUto8vv/Zf97vZwOVNhGx2crhHP8/kj987uxShbO6Ld9fZyfF++/WKvu72Dp/i/EF6q3IKxedv2fVH2qAJ1YQscRtBEfje/R8sH3Itqhj/Ggx5utSxpA7VsglxWceywmgtbIxvpM2bio0EoiKRo/AAC9pcMfsJK2stV0gEHhOu2dHdMk/p4GI0p0YTMbzebtaS8Z5cUYbxxGnh1jH8KK2JUVMzWfL3zEq/tpJZu6JuZVB1x6x16oEB5R3nneRjWivO4Nxow+zhZKWASDcNHCv9GgRTg6WV1IiMm8ReriWJOPeM7YMYOo2hYQydxdAoht7E0NsYehdD4xj6K4bex9B5DH2IoUkMTWPoIob+jqFZDM1j6DKGFjF0FUPXMfQxhj7F0E0MLekQupWep40lyUCfPj8HOSVXKlc2DwyLhoa1HZ0cTIu0/MYbw3DOkukxhn+ZDmK4gGkohuViSMXQPzHE0CvTwky0mK5laG/DhDKGGG5g6IWJfYihuxi6jyGGSbcM6fP1BQphyR2m7fpUNXqlC3jUF+aeiTN/OjfHpW4GlriEmoGO5dktd3astLGKPQ/ALnmwdIznTADbtnGqHTnh1MJHswyKJJUBFNCI241/IwahXzHdsWIKnyY5lmYKUZbckfaEs6PY08DR5E5ayfQ+zUKitGLDkRpdASTjxX/hXQqXiHBaCkL0IwFALrVWG6eYRiVP/doENCk+Hfp8aVMAuNFH5MFzg0vL5CstmXYGfVWJ3HI1vLSSU1wYL3K+3wq6ZUnWf8t2YS4LCig3oYa6FDZUWgRGjSlpyGRYOhesH7LiC3bAjDzGFiua8fih8BwcsFOE8woqIrmgWQ2Cj3czWzLdqYFeg3Bmd2pNusVSyTNJG+N8SlB+AhRNSGdUgtR9whYU6k5x1fwJWDZIdYYADy1SD23BQ669dqEekaktF3yfLHAYBGqGBbAuoAdGWMkZEQR3/0g6mr+8qmBUIcrJQR0IPi6TpAEa1Shg1MvkbkO0G2DVUYInHXDTQUJUQLs2j7IuGcEMqHibdDIkmyQlHKCUWmBIDn29SUTucm0ss9kUaZ+BuM0BXgBrF0hB4CuzfbfhQjvgMDPRFJTgAOGAVqugvdpoZswMwMFL4CCNWl4JXagVc7vaYmqYAD0qVSyjZJklTh0syoEdNaJBlNAJCNAYbNS8eaOBgXv9trTmVtbsHcjKUjkw9b4FyR6nGCVQV/NXkRGoKQscMigyN+CBGxCx55dc4BXYyDMTyhCSgk7ylkejHzwdkWCAxodEVYIAP6LWQLqnKCPo6EGZckgzdmKaHEuAh2dSeyZXnidpf28SjIhNq5hXGgpYZNJz5giFvgATTsvjVMCWCpkxbZ6oV74i3yfr+BwkzltRyEpYxnKZYIUxiNIYFc45sJqCthaaORmamwlocJOqqBpMTYvf5A/ERyKHSsCl5NBzVrmk8kGYJ1M3TVteEEtw/3YYkKIhMCJANi9UzqXhDGxkk95MQH4MwGfpsk5KB2DPAeRofuaagn0eEx0yQqc90n2bdAUMAuNkKwATfPpyY8om37Xh3o9gLg1YRFuhf6vSF1ruIH8ETtXJrSjk+IRQqMdHofkf8ks3ey9tfSGUbf49/vL9XxrnGMA=",Helvetica:"eJyNnVtzG8mxrf+KAk/nRGh8eBWleZPnItsaj0ZXWNvhB5BsUdgE0TLAFgjt2P/9AI2uzJUrV7X8olB/q4CuyspaVX0p8H8mP7V3d83yfvLj5MPfu/Xspnl0enH05Nmjs6dHz84mjye/tsv732d3za7AX5rF1+Z+fjXb426xUHh2N19shTBt5jef92f5e3M97+525K/3s8X86vnyZrEre7Q7Xv86f2iu/5jfX32e/Hi/6prHk58+z1azq/tm9bbZf/aXh/tmed1cv2nvZsuhbn/+c/sw+fGfPxw/efL4h5OT88fHR0dHj5+dHv/r8eT9rvBqMV82f7Tr+f28XU5+/GEng/Du8/zqdtms15Mfz3f8Q7Na98UmR0cnf9p90e4kv7e7Juyb81P7Zbvat+LR/7n6v4+Onz09f7z/96L/99n+32dH/b8Xj55ft5fNo7fb9X1zt3701+VVu/rSrmb3zfWfHj16vlg8erP/nvWjN826WX3dUQvVo/n60ezR/Wp23dzNVreP2k+Pfpsv2/vtl+aHXaHFo+cvHs2W1/+vXT2a775g3V2u59fz2WrerP+0q+wvu1Ndz5c3b68+N30f9DV5e7/7yGx1XdRdwZ9mX/4ydMnF8dPHk3+Uo/OT08eT5+urfaBXg/hzY8c/nBxdPJ68vb/+y3QnPun/+2H336dPD7319+Z+Nb/ahfOf/zOZ/mPy48nFTvh9V5H1l9kuiv/7mHDzcLWY3Rk/PT8/8H937S5alwtTzs+fHJRld3e576abZdau28VitjL+dNctPf/SrK72SV6EJ08uDsLsbietd9Hxmp2cQA36/vbanZ4O3zdbNctF86km0cdKNWbr/Teub73iT8+GTy26dQ7O1W5szvIpPm+/fG6WufiuKfP2OvP1Yrb+nIP1rVm1mbbLJsP7jSh5/3nViLKf2m4l6PyrKLuePwjYfG1E3zYhpp4O86VIq6t20YoIrZu7eZSsBxZ7E0i0+Xc3W2R8s2p2g1k0899ds+6NpijHR8dDRs9E+j3P6M+GLkom/pTRz/mDvzg6Pj6gX/2DJQIv8nf9Jcfpr96yvV3u0d/yGV/m9v/mY69k69/zGX/P9XqVv/6PXOp1/q43+YNvcyTe5Q++zx/8YOjZ2dDT01zqHxl9zGf8rxzVy91cdtvcB99wcafFgcqfi6Zy9sRM5Wo+v5qvrrq73B/d3rXXu+kHxkgwuFAZ+9gso8ucElfCgMW4zQ36lEvdZPQ5V3me0X/net3mUouclyJawnWE730Rwz6b9CrXSzi8iH2XP/g1Z+8ml3rIaJvRN6jqmedXTISTJ0clK1eV8jEbzRn7bLyfL66bHJLDXH/dbkScw/TsU8F9v0zz5DguI+7Tfl2IRmuf2arJ49OiXc0FXzeVb7nqVrt5/MoDePzsGIbNet6vW1MTy7JFD6ubbr5T7tp7vXTYy/0Xf0em0Jee/TQXTCygdis5uR64nt3cqDntwHEtRiuOfd81qwbG/umFLYZmN6vZFz/b6XnJrN0FRAMZF1ypb+blbD0S4XF1pRcL1gFR7y8ZDrFZLOZf1vO1kHZtvf/cdmGxaG5f5v2Q3N5zq9lXUdnZVXcv8MHLPy2ah6xVRtbd7GrVihNfrhp14uv2fnYVRpxL811PYgDc0HAcemV3l3O7NbdYpHbLm9mqu1vMOnGa9ma3zrwVXzdbhcWT9ctdyFkXnvuyZ3fdOnz56vrTbqEXVoa+QomTrC9AIvczvIIzPDm3M9ztnK5b4CnsamMmprzr/aBfr8UEtogntpRqI7cVSdvksrvxubsi3uW9mGL+mrrUnSBmoE//MW98apKd6l8Xe89XR7kGZbq4nn+dQ0L7R2LNfMEsBodXO37IV3rqQzZFUgxssu4vvmiYQFPzV/r5wlBxXO+IGY0H/0ylhzr6gF8FpJP4NcPOI+Ai5KQ4sWroRXHwq3LTQ5yKXMfXhTEPvJU6Lr+rCvjwqOVoNFVf6cvm2KVU7duisUI4k1VChsxk89fsiTYU5/HsZxdDnRftt2Z5IzL3TTyFX8WNJmc3OkiE6MOrNpGsKm294rb69U+OnJ3m3ed2JVr1is7uYai4wVviZ2USo7DZaOKMtYjpya2/w7Hu+lXOStSXUtCiWONkq8UE77rF/fzLYivqRQ30JA8NPLsolyaz1f18trief/qU+2pbt4bf43k8YceS5ZfRNBuZdbJk6VQZnsuaDdYy5vcYIJ8M6Yvw/ttuxYA34ewSaNXeNku8EDJzXDU383Vc+voQjZ0N03EeF+Yc3W5Uh+sRD3ZlDbmqRKalyPi4rKTUf9EIP3tW1q79ra54I8zi/Mv95wx/SgZoZq586/R4aON9Zd5oqrNjbRZ8Xls+jGRlDLBfL9PQsFsRXClzhVqP1Kae2jS6rg3KPI7t3KPLEp4xy7qgWdyLGz73waTdEzftiCPW43vXiZZQzC1Ucp3pY4FC71eqcYXztNyw6H18l8CrXSKv8/e9Tfn67FnJV72ifTk6//4WO84vJeyxjjLFZAtuGTFMzmvT2W+x2haHXdQ+zxYwNZRBvr80oVvd1hdjLr+MyyZPte90YGUoNLUG3UQzxQYN3ap6VffdW7lAtAyWNT8rPXi9swn10KONXQRWqC2ti+XPzs3Or+dXymh/jl8EC7Ox5e7vsX+8upV+ezOe10p1b60soZ9XTTpeDlgPUJ3NiEcWlL/Upnt2CrtFLBtqC7K4ErBvGx0KlSrcj55p0d7s+3vZinC3dTPtslSG8u6rKiP5ZvyKFmZyj3klfZdyHrebO8u8aHbPr43xX7r948h/PZ68bFbLP2bz1f4h8j8nz/cPqyePfzg9+tfj4ejgHgEd6hnRYOoIX8Sjg6sEhA1D4VU8ylXAqTdw66pAD+M/oOA8QRlCFtjh7lBAh4GD6HU4erc7Oj7xwxK0wEL7QXm/Ozz3oxIAQCEAwCEAQEsAAFEAQLEAABuGdmC9oyD5sDu6sKNp0D7uG3jkh6VJyKDugLsQ1i4nQ1dJhk4mQ5eToasmQyeSobNYABti4eTr7ujMjjbhaBuPSosAQc0HOhTC0WmIQmKcxqlzHqxFeSEQDVvjcuwW9ZVAlVrKoWxi7kKTqB+N6840mXvUBBrjxmmgF/46IxzyxnjcuyAHf5HBAQyRDRhXXmBiNgSTyBWMa2swmf3BBDYJE6JTFAx2UdA0l0LjMMbuYYKwkKJ1ucPYTIyP5aSwFZMqOVkxGJNrOZmsxoToNwWD6RS0yWgrEHmQ8WxEgx+gERmicBonI3LORlSUFwKRERmXRlTUVwJVaimNyMTc6SZRpxvXnW4yd7oJZETGyYgKf50RGpExNiIXpBEVGYzIEBmRcWVEJmYjMomMyLg2IpPZiExgIzIhGlHBYEQFTXMpNCJjbEQmCCMqWpc7jI3I+FhOCiMyqZKTFSMyuZaTyYhMiEZUMBhRQZuMtgKRERnPRoShQTeKnAIbRfIlEtmcgvyixsmmoii9KhR5VeNjDZHWFUvkXIk6JUwUddbEMpw6USVPiyIZWxBfVzhaXBTY50iVZhfKgONFTrYXReV9sUQ2wKiTC0ZRW2Esw34YVTbFqEZnDBrYY+DTSnk0yiiwW0ZVWGYo0FVSgc0zit8dGsJGoz42NCqGGsuMDo1krVGN/ho0MNnANxW+rXHy3Chm43WCtouUOgQlstwgseGC+EJTMluUpNVCgVea1qsuTRb1nEeoUhahpHMIS3AGoUbWihIZK0ivJUVTRcyWGjRpqFAC7BQpmSlKykpRz0aKKtkoStpEsQRbKGpsoKhF+wQFzBPoVJZF40TMtomaME2QO9nNbJgofSfJhVmiWk/yilFiiZEkTyaJWrRIUMAggW4k3WpK1ohSNsah9eiKhijkxskPnbMZFuWFQGSDxqUHFvWVQJVaSuszMaeESZQPxnUymMyZYAJ5nXEyusJfZ4QWZ4z9zQVpbkUGZzNEtmZceZqJ2dBMIjczrq3MZPYxE9jETIgOVjDYV0HTXAqNyxi7lgnCsorW5Q5jszI+lpPCpkyq5GTFoEyu5WSyJhOiLxUMplTQJqOtQORFxrMRlbqiEzmjgLpAXgQCm5FJLxQjO3JB+pHJrxSrVVZakqu5/12jBHBBZ4DrnAKukC+5QMZkwmvB0JocsjeBIs3JdHAnZ2RPLih/cjUblGvkUC5oi3KdPcoVNilXoksZB5syNhXl0KgcslO5IqzKxE50IZuVC6PpKuzKtVq6VgzL9Wq6JstyJXqWcTAtYxvBtoqRb7mQjatUDI3LGQXXBTIuENi4THqhGBmXC9K4TH6lWK2y0rhczZngGmWCCzoTXOdMcIWMywUyLhNeC4bG5ZCNCxRpXKaDcTkj43JBGZer2bhcI+NyQRuX62xcrrBxuRKNyzgYl7GpKIfG5ZCNyxVhXCZ2ogvZuFwYTVdhXK7V0rViXK5X0zUZlyvRuIyDcRnbCLZVjIzLhWxcq+GHPrwKhVBgCybLMsyGNQgvMiGzKlha1SC+ykRXT5pU0XKfF4V6vGDd30Xl3i6crKlgMqYBv04ETakgtiTj0pAGFeyoEDKjgpUVFS0bUVHIhgrWJlRUtqDC2YAKj/YzUDCfgUxTGTSegth2ChemM0hd6h42nIJHEk+YTVF04lWMpqiVxEsmU3i0mIGCwQxkk8g2E7KWgrOxDOmOzmKIQmicvMU5m0tRXghE9mJc+ktRXwlUqaW0GBNzV5tEfW1cd7bJ3NsmkM8YJ6Mp/HVGaDXG2GtckGZTZHAbQ2Q3xpXfmJgNxyRyHOPackxmzzGBTceE6DoFg+0UNM2l0HiMsfOYIKynaF3uMDYf42M5KezHpEpOVgzI5FpOJgsyIXpQwWBCBW0y2gpEPmQ8GdGfh9w89iPvDEMhfsBD9xgtUQNEAQPFYgXMwgRsiJCTw+96Pf7hxMjw010F/QSFTo1YoQGVV+KoZMFcfBj+XLzgVLxYc/qACfSRn3fouXVPfxQ7s0fFxQGFPgKeurynpY8AWU8As54ANvQEkGKpjtwLfh5swLW9Azzzo9I6QFBlpyWA/rUWuQGVToDwGaIYGqdAGlfRNDGH1CSKq3EOrgkcYRNimA1TrAv/kMMwzaUg9IYo/sZzJ3Du0/lSd/T7CGN3FMTdUTh3R+GyO4oouqNI3B2Fp+4oQuqOIlB3FMzdMfAPOQzTXAq7oyDujsJFdwwSd8eAqTt+HXriqR+VUwEq8QcUQg8cKgS0BByQxRqYhRnYEGEgJbiOZrag6I/iCqpHpQWAxHqq52kp1dO4iuoRrZB6RoujnoV1UU9KCxyV3jp25CuM/iguYnoUV/4HlJc0PU+rmQO1bX8Bx/VNj2jt0jNatuxZG49yndtKBVtZwTbXpJWLrF4RdWzjcr9HcaX/K44JiP5qPy7P7cicyVGJPqKw2D8IfxtG2GH18TccYYBKfgIKkQIOkQJaIgXI4gHM+gzYkJ9ASogczeJRbsEst2BWacFMtmCWWzATLZiJFsxSC2a5BXGl9be8xNqjLnyky83sKm3qZJu63Ca+SABFtLYTre1Ca19ODtfh534U7a9Hwut6nryup9HreiQvFnuFXLBnZdQBipb3cvC3Mz+Kc/9L9DdEecZ/Sf6GFPwNcJz+XwZ/A0aT/svB3+Ao17mtVLCVFWxzTdjfQBF1NH8DFNceLyd4Tfxyki6HX6asBp5c+eUkXf++FFkNCrnyy0m+4H054WvdPdmGbNnmrN7m7A0GjOOCBPoyUtVooSLfPTWNIVL1cKJCPLJIpkFGKo23qEJ6kEAZTSoNSFZF6lORPAq4QB6xVIKGDKk8RkjmIR3ltiqMhkWOeSryvYazE5CqTYEKjbedrYJUco2ogoGQQF5CqrIVKpIdhgqQ2ZCqfYcKsQWRzG5EcjSmKG5rI4ztitRkH79NhhvLx35o95SRxdvJrnyIh/vLygs76u+unvmh3csDhjftHMcffc2S8SfGtxas3zAQgFKf/xb2VB8T4zjU9lST/EEwCEvYcXxGjAMkdxyTVgtV0DleuEuXYsGRU7t0B6nca8HwGePwuSDDh7eOmEH48N5RaWm6eZQEEb6i1cIXdA5fEbc5Fhw+4yJ8YXCGIEYlhZJkHdBQ6ENVweAGIYQ4KinQUVbhDiWqQc+lUuiTEcpopm6oGuFQYJimQjcY4w5wQYa+yB8Eg3AXhIE2xiE2QQS3aLWwBp0DWsRtjgUH0XgK327JC3cb+qN4EdujeK3eI3Fd2/N0XdvTeF3bI7p67RldvfYsXL32JF6rvxr6/syP4rLzVe5vFz7YjPpq6GOPyz92R0/s6KP1/yvsZkDQdKflNoKf0m4jDKj4NHSDIeoL49QhxlWvmJi7xiTqH+PcSSZwT5kQu8sw9RnO3xQG7r3K7E0q9CPO3acRQY/idH5BiPpWTeYkUS+nx34DD3snob8jp06PIvV8FFX3xxI5B6JOiRBFzoaockpENeZF1Cg50k5uFT1Ok7F93KoIJEzatnwqOKRO2s58oTglUXUzs9IpnYLGOQWbziCjkFI+oUTZhJLKJdRzJqFKeYQSZxFqnEOoxQxChfKHtqzmOHHu1Des5gKQN7Rj8zRRyBnax3mRKeVLZRdnVilXQOFMKVuCIE0MUY4YpwQxrrLDxJwaJlFeGOekMIEzwoSYDoYpF3BjH4WBs6CyrY9U6H/c8nYaEfQ87oK7IER9rvbAkUS9XTB3dbzNgT3OCnU8y9T/LKs04DI5G7gEJQXLnBusc4qwHjOFVUoYkt9VY8rpk2SVRVQIkokUyClSILVIgQxjhRKN5ZxvVILSjlTOPtvDA3nnjDLOBco1F1SWuZrzyzXKLBc4p1zhbHIl5pFzyqCwY48jwllT26/HMmRK2MJ2SgyyI2xru2BGGSE3tbFGWWCc+79cbkL3G6LeN06db1z1vYm5602injfOHW8C97sJsdsNU6/jbQgKA/d55SYEqdDjeAviNCLob7wrcUGIelvdkyCJ+rpg7urySih0tSHqauPU1cZVV5uYu9ok6mrj3NUmcFebELvaMHU1vthNYeCurrzWTSp0Nb7yfBoRdDW+BX1BiLpavQNNEnV1wdTVfwy9PLyS/gf2MLLSu8jii78g4D0xwPbqLzB/wxegv+ILsLzjC6j0ILBZaJm9oQIovkXYI/HkrufpcV1P4zO6HtEzt57RQ8aehfcEexIfuP0B/Xb81FBjmdQfxYdKPSoJiig/vu55euh0oPDEFXB8ft0jeh7dM3rfbc/aeJTr3FYq2MoKtrkm/DgUFFFHe/AJKD4d/wNHxxD91xN8A74/im/A90i8Ad/z9AZ8T+Mb8D2Sb8D3Cr0B3zN6A75n4Q34N5PDWw8nfhRdu0fCmHuePLmn0Y57JN9h6hXy6J6V+AOKDvxmMN9TP4qvNr7JluvCextEb7CXAIlR/oZ6CWgc5W9EL4FC4/9N6CVgYfy/CXPEmzA9vBmmAdc+xhH0hsx/oOUWJfS+IUoB4yoPTMzJYBJlhHGdFiZzbphACWKcsgRvMp8Sonyp3GQmFTLHEKWPcZVDJuZEMomyybhOKZM5r0zg5DIhZli+j25omgPxMZfirFM3zQepPFmF1DNEqWdcpZ6JOfVMotQzrlPPZE49Eyj1jFPq4QP2U0KUepXH66RC6hmi1DOuUs/EnHomUeoZ16lnMqeeCZx6JsTUwxcIKEOmORAfcylOPfX2QJHS+34nUuA0HHnfTxcRKanf99NqJT0r7/tpmVNVv+8nVUxb/UZDRZUpHMpgIkeB0zmqMqljEZHasQAneFQraR4LpWSPckr5KFPipxc9ZJZOa6H8WPtEGhDVtzwOBd5OeB/k20naB/mWn3US5uK8zYtwKp62OCYhfSQ0iz8WRProLr/xWrY/pGvZntG1bM/UtWwv5GvZHtO1bM/4WraHfC3bw3gt2yO6ln03GNmZH8WR9C5ZFvA0Zt6hOQGSo+NdsCFg8d3Rd2g4jmaxETPRA3YN/sRRrQNmugNmogP8Mhy+V8V/luNvF+L+0at2AT78DpIRPkdVaERr7eI8sEpzG93ccH2OvITBq92IKDQqCp+3Xz43fb2889pYpBXNaWtVb3XVW9FTfOmOkqi+XbtjudxhfvHuxVZ0KBq0Ev1De7hAWTd385wZXSzUidN0tbh1Om6diBu/6IySiFunur3Lyb+Jh1s6FI3BV86G8+EG61Iy7bBOAnux3mOdVBGytMs6Ccmf8z7rpFCw0k5rFsCz09UPc+Xe6uqHJfLx2tUPy+zo6eqHOXl74TPR7OTyJpDVGx/tX2X6ptX6N9m/CdXu5YnAOJmLr3rCwOfFEH+NqmWaIUxgG3JhLFRqwnBNzBom0tRhvBbGPIkUJc0kRWhF4TSnmDDaTjW7mFZLido8Y3qtrWnGMaGSGWnuKcJKsVoI0lTkgpyPiiwmpSJ1oniankwY7QI1UZlW64LalGV6rQvy5GVKZdRuBNsqVmu+mtXCBUeY26KSvjPKaZ6Lso57LKOiH0ukPohynv+ingMedQ57VNOMmG7KnEmBZ8eRmzK6iJgp9U0ZrVZmzcpNGS3zDKpvykh1Vg1ZnlOjzDNrVP+DjJKzbCwxnlF5xo3ydxIqzb5RZael+wLR7eRNA/3F9fbkuTnKyZ1J/n7I5WxNJdScHYvwzB3V8U4Rs3jQ81we5Lb6wTyvR/k/iI6c42OJ8YSszvex1HiE8twf5dG8zOuAIK/qynj48sqAZL0+CIXUKiEU6KofzSuGKP8HnStXD7HEeOdWVxKx1HjnilVF1Ec9aVNVtnVlPHR5zfF+WGic+VGcI9/jggKQmCvf08IBaJwV34cFAjC69/0eFgJA4hT3fsKvH72fpDePypMBbGvaIcWcWq13SLGY2592SDHnSOQdUizEmKQdUsQpOpWdReHxCMZJ7yySIkVsZGeRLJFjp3cWSZGjWNlZJNUYT72zSIkU2bFNNvBoCYOrNtkIiQJb3WQj9BxUtclGSBxQuclGaDGYapNNliiQ9R0o5QEcxjDtQGFO0dM7UFjMcUs7UJhzxPIOFBZirNIOFOIUpcrOjfe8PaGuUMBqOzcqsgrfyM6NSgkKZnXnRkXn0FZ2blRUCvTolgVWOexhy0JiFOq8ZSEJKrxyy0LSKKRiy0JSOIxpy0LiFLrKG/7OOVz2xw6eK0bhcoHC5YIKl6s5XK5RuFzgcLnC4XIlhss5hcsECpdxDtfwA+7PM6FQFUyBKliFqWg5SEWhEBXMASqcw1N4DE6hFJoBU2AGSmH5MITkqR+VcACKvyX6IYUBePot0Q/YfED0W6IfQrOBhd8S/YDNdfQitOdF7LkexSsuF17Fo5gKPRL93fPU1z2N/dwjecuqV6j3exZvTvUodu8e+W/E9kdxu0GPSggAhYYAT5sSeloaAsiqC8x6DNjQY0BKCxyVK9szIOU20HlBsZObnJh2jweRTsxGJma4fwM452sj8rUR+Wp3ZBy18Sg3o63UuZV1bnPl+E4KKKLadssEUB5TcG/EOgTvSXjPdaFnu5yNXSX1Opl6XU49vpkAikjKTiRlF5JyOrjeuR/F17Wm6HqAxC6IKbke0LgLYhpcDxjtx5iC6wGJ2x+mE3x1coreBUi8JDkl7wIaX4ecCu8ChV58nKJ3AYqvOE4nuOdnit4FKNr3NHkX8GTCU/QuQGS10+BdwMIEO0XvclSc6qmRvX7qR6VNgOI7m9NkVMDT7wNN2agAx1/amwajAkY/lzdFo/KGtaFAm5uhfgl6SkYFNFdO/xL0NBgVsPhL0FM0KkdmVN4fXSjQ5YaoXzmckiMBzQ3RP2I4DY4ETMQ//kbhnmzDONnm8bxN4/bjYGTDD2V9RCdDZg80gcW7wCDgrV/Adr8XmD+kBOg3bQGWO7WA7Bmks72lPT23I5sqHcWp0jlOlU5tqnTEU6UrPlU6s6nSkU2Vhvply5k1wh8FAosLso/J1LBs/pWyj2hryGj6+xh8DQuW+AOy+Dsrk/sTIMOyzAvRZxrRXH/4hqzS3ka3Nz5bAy7i0Ig4NCoO/MBsz+ZhOM3juOsRbVb+OHglfEcrgtDWGtzqBreiYekZGUg++ADa4zBgoqN9decMV3eeAF0coZ2wl65mJZ22kk5YSXpeBJJymU65TEcugw8tEuOGpMcWSZDNVA8uksYNzo8ukpLaxw8vEmc/xe2Fg1ml7YXMlb2q7YUskdHWtheyzJabthcyJ/MtHB3KGA9JE8iLjcvxaqoYtKbxyDWBfcmEZE6mkFMbjxfRxmnE8jMr/hpVy+TgJrCNuzAWKmXorglXN7EWx+TvJlTjmJy+CGD3hsjzjbPxF6EV35umABNGg6UmA9Nq8ahNC6bX4pXmBxN4kkhPOVkQ00WRcM4wVvNbPXuYOmKraR4xoTKZmF613TytmEK2S48jFeYWqweSSpMBqTySVDKHRT6UVGJqvHgsqSSeeUCDyQcpzT8oqSkI9TwLoUoTEUp6LsISPB2hRjMSSjQpgYQOjJitAjWanVCSRoIFhJegzHaCGjsGaslkUaT5CiWassLz6mAc4km2+L5K1dP0hRrPYEH7TjjVPBZkMZWhPhLuNKGhNhbuNK2BBjMbUprcUOL5DbRWnyPNcqh9L6BqrkN5JGC1GQ+LpAsiFHniQ43nPvX6hNDEDAgqToKIR2YFPRVigXHnTxMiapU5EYuMTQ55ZkQxTg77ncJfLav2R5tw5D+X3h/F+3M9SvfhimXi9xa0yWibP8inMZ7PNVgwnqugTUbb/EE+l/F8rvDOE5ww8E2Fbyvfw+ePYq4EdCVUAehG0q38Bj45SvnU5SUcOG9Bm4y2+YN8OuP5XPYuBZzM2Eawrfgsn8+FfEJ7GwFOaGwj2FZ8lk/oQj4h/M37k0A2iWzTp/hE4m/eDwr+WeuTiDYZbfMH+VTqz1ofpMsdvdxbix3FFxv2ZGHn7I/ihNej+PwfhPjM6nKS3pC4nOCfGLxEBwcknrRdkl8DjU/aLoU7g0JP2i6DFwMLP5x4GTrncoJPFy4x/oBSXa9wOXZeyG3Qb1Vkr9JdiPOAb3NJ/T1pz+Z5wLe5ZOV70i9blG8y4VaV1t92mPIn6y+zq30Izwfaf3H+OyJHWSYtRypeeBv6aqMijrT90UPQtkGj3uaBNlDdaYa5Pjghn8Zv2OQvfciltrkUV1TN0YOkU8Mw17ZwqC3uRKQvfciltrkU11btTCySeuu5VE2+9axErLxeHkT+UCm/rZRPDaotGwZdXbads8ItorXGafqqjTzBgyy7lWW5HZUVSFH9Mi41A6TUDtCwIYA3+iQPuvRWl06NQS23ht91Hmqb3nUmDi3Iyy9DD7nUNpfiGqsV2SClt16HauW3XlmACoslnLMHUW4rynGl5bJu0NLLp0Pl8sunLECtxTrQ2YMotxXluNZybXjQPk0O96NO/SguwnpU7j4BEu9K9Dwt1Xoa35XoEb0R0TN6I6Jn4Y2InsS3PT5BxJ3sxsOiWa/7mx9PC4wfanJD6Y2cA9INzW/kHGh6I6fHuf38Rk7PRPvbeJTrrF6/6bmsYJtrol+/6RVRR3r9pke5Q+gvcn/KS6AnURjoYdW0v77ot1n6kd0fcWQ38QDFLZQHoVxmrwSirzVO3+1cnUDsD5UCnay2O1Sr4sTxb8yJPy+n/7Lc7TASTvwo+sUtjgRE+XLmlkYCUhgJgONVzm0YCcDoWuZ2GAlwlOvcVirYygq2uSY8EkARdWzjVeItjoQB5V3rWqC2VPasV1TR6PqO9UqB3FeV/epa5ejU9qtLua0Ko2GRvV3fjK4LjDarkg61nehapiSpbEQ/qHeT4QaxH0XP6JH4qfKe411gp/Gnynskf6q8V+inyntGP1Xes/BT5XeDDR1WNXdoQ4Cwdj1dhsYuc2OXlcYuZWOXubHLamOXorFL0dhlamy8T7gMTV/mpvNScaDhkfhRRBSEygNxEnM48uNw4jow4mE4CRyi9Cg8YggWXuJTIDhs6hJ/kMKvIh1FRLGr/CYSiTl2+ReRiOvY5d9DYoFjl34OKWKIXfgxpBgIjp264VCk/FsRR0rgOI79UoQsImJa+Z0IqVbiW/mVCC2nWOsfiVAixj3/RIQKZeqD6g9EDAXKrW3oA0MUfeMq7ibmiJtEsTauo2wyx9cEjqwJMab5ccAS7/1TIDiC6t7/QdqtF+hu/57QDfp2OLF/ZBOO/FqpDavoNq+iW7mKLosTrkq6MUocKoU3Rgk95PNsBaKK1h9etvJW45nQuN7pVuNQ03SrUfGHSgW2NU4N+s4TSljfcZvUrcYsQXvoVmOmD/K0W02pHaMPO1u+OXcWMdcfb84N1cSbc4Qe8nm2AlGF649L29Hd/Kxy3UmGJpCyqSoP1aps6wo1j+XcysrG+zbfgmQB2hRuQTJ7ECfbKkZ1H3myXC42+jt65+cRla9hbhsaicddjSTCqVmy/Y3EfZMjCb7TkYSy3ZGw7XmM/DKjK4EqYSiPCjMvj/2SMiTGs4ivc8nrXcNn95mLajSV6jWV6jVjvdTUeyn+sTDSKj3Y1HqwqfXgp4xEh95UMjDeAmP1c0ZzgSrxnI/FbV6P27wSm3ktNvNabP47I1HqdjQGC4EqDV6Mf5H9ZbXI7zISbVxWzrmsJO1ytC7LyvhuBaqcuB3r3bbeu22ld9OfqSO51vltJaxtpYlfBCrTDNnMv3PRlUCVAK0qPbMa7RkRsXXlBOvKCdZVO12Pnlqh0Q90AlXq2o1lS1fPlq6SLXxdxXItW7qaVXR6ItwvNC7ivL/JyN+XN7TNpWyRwRyaT9K3XKNvlQh/q2TDNzEL6b99apiXXXiReRy/YZMRrLnya2ht5TW0tv4a2heo6Ol5If7wy9A2fIRO8EV/9/AttXeHol4Ty+tIh8dt9FWmnrm6aD7dly89/P+H8wtTywf7Vc5RxrbSyVqopvjKlf6YW5jQLK+UFu0hl1hX8MgJ1yMnRGtT6nerM/TFYZithlX8sR/F20IrXLsDEjeJVrRiBxpvDa3COh0Y3fFZweociL0wb2h4Ke4UwGGwnBvZLdoOg3QFyzUg2B7A3hyAQ2uAlMYAKm1xFA9CRzlfhINUz0XtY4PXOdmtqU7sYBkOhm8FMuQbEjwP8CH4Tr5g3M2SPPCwT8HL7b7zzA/CuZx32JwuhaLTXdapLutSl9HsCULuyy735TBXOviKzduGg6HmQLyKAyx31GAoGqLxaJwGpXE1Mk3Mw9MkGqPGeaCawKPVhDhkDdO49RubmBx8u/M8Yh/GRmJiGBbZYVpKEVNinhimnDBOiQGvGDNR47aIi0x0o+ToNzFaQMHuA4UsM4mOYDjagmPhDSZGg7Db1KmD2SoKz35RFDcHI8o54KEnhaLTUVVGIp54sqJTRftKetzJvJJI0Wbg3j6FZptJdB1xy35Qwt9qIkTWk/5SE3NlPfIPNZFE1pP/TBMLbD3przQRJuuhP9J0yjRYT8FuPUZiPhkW+WRayidTYj4ZpowxThkDuxKYKNMo4iIT3ShpPSZG6ynYraeQZSbRegxH63EsrMfEaD32Mn7qYLYe8beR6BPuLkaU9cA7AxSKTkdVWY94YYAVnSraetLbAswriRStB14VoNBsM4nWI94TKEp4eo0GFAW2oaiyGUVVWlIsIowpFmB7imoyqSgnq4oyGVYU2baCSplKWrSwIIKRRU45GkWVqbFEzteoU9ZGkbMzqpyjQa1yaVmhyKLGx0KhrTAWIUMMIthi4MsaJ4uMIhklicouYxEyzSB+qaRXMtCgChsNOvhl5NJS+VUiGVK21/qLRLrEd1KXDXfsLSJdZjS9kwWrV4ik9rUS4m2NkzXXXh866HlrldhSVd5kGD7C129DobTqJw7foPfWrdPkTRy/obLhci3+lHhS8Hukp5ZP6BEhVfhOHxu0hXM42v/NXCbxbqBjcauviB8Smdr910L2fz7+WSRlpiUMM2RUyo3e4Q7uaRYH5XBf+OswzR/M5ivO7YDKhA4ovoPtHF+8dmpvWzvyt6ed+evizso+Zif26rShkghPrU1Rb3Kb/N16QLpNjWxTfHXecW5qI5raiKa28SjXua1UsJUVbHNN0nvtrog6+hvsjnLs6fd2N2XdeG5H8f2+TVghOorLQufpLcBNWAA68lWfM1/qOSvrOye2qDNUEuqJtckXfRtMKEBxG88mJRTwtL7dcEIBjmvdTUgoYLSq3QwJBUe5zm2lgq2sYJtrkn6GxxVRR//RHUdxQb3BhDoE/2GC2/ceMPiA4va9hxR84Ol52wMHH3DcNPcQgg+Mtu9ti6v6kY1mR+aqjsTOli27qtO4h2UbXdUZbcLZoqs6iRtStji9HhmKBZrcKNqytM226lw2SuxI2gZbdSTayhuOtsVW/SjXWe0n2rKtOs010duFttFWncWNQdtgq4Z8+TJEHx9InBCiNqUHEsxVg9UDCZao6fmBBAvcHfxAgjHFIS1dKRaiKOekcUpM5yOxECnqUs5T0ypxShlrQi1OrUCVBsosNrHeEM5n4zqpTa61hdPbeKVvU6LDK9OQ60gpAihRxqOk4oN6DhGqFCWUOBKocceiFscAKhQq9bsaOVj6AzweUKIhEaTxYImBEdQ8NlCuxzKNENRGYtlqWm+7HC2ojzaQxwxKethgiZE28uBBqZ4UPIS+lfXquR3FNfi3sF4FlNfg33i9ChTXq47j0vxbXK86o6X5t7Je9aNc57ZSwVZWsM01SetVV0Qdfb3qKF4rfMOZiBHVP81EiYvGqZkoSbkf0kzEnFubZyISWoEqDZS9pGYiliqVrXRanolYoO5LM9HAy/0qhaiJxqkPnYumm5ib7lLuQ9MoLMa53SZwHxahFajSQNmHJtYbwn1oXPehybW2cB8apz7EX0GqYWpq0Kg/oyZCEQrkcEQ5923QKWRB47gEkfsZxbaCR4Ig+zwUGG8o933QdP+HImNt5TwIGuTCv/73/wO+9kRf","Helvetica-Bold":"eJyNnVtzG0eyrf8KA0/7RMhzJJK6+U2+zMX2mJYsEuJMzANEtihsgYQMEITaO/Z/P41CV+bKlaug86JQf6uArsrKXNVX8H8m3y9vb7u7+8m3k4t/btazm+7o5PmTZy+PTl88eXk6eTT56/Lu/tfZbTc0+Hu3eOju51ezb75bLq532maxYO2oarPb+aJndRCm3fzm425/Y8N/3M8W86tXdzeLoeXjYXv91/mX7vq3+f3Vx8m396tN92jy/cfZanZ1361+73af/PHLfXd33V2/Wd7O7sY+fvfd8svk239/8+T540ffHB+/ePTk8eOTRy+fHf/n0eR8aLxazO+635br+f18eTf59ptBBuHtx/nVp7tuvZ58+3TgF91qXZpNHj8+/svjx4+Hnfy6HAawG8z3y8/9ajeGo/+6+j9HT16+ePpo9+/z8u/L3b8vH5d/nx+9ul6+745+79f33e366B93V8vV5+Vqdt9d/+Xo6NVicfRm9z3rozfduls9DNTDOF8fzY7uV7Pr7na2+nS0/HD0y/xued9/7r4ZGi2OXv3taHZ3/X+Xq6P58AXrzfv1/Ho+W8279V+Gzv447Op6fnfz+9XHrsxA6cnv98NHZqvrqg4Nv599/vs4Ic+fvHg0eVe3np4cP5q8Wl/tAr0axR862/7m+PHzR5Pf76//Pp18+2QnDv+/2P3/9PF+vv7Z3a/mV0NA//0/k+m7ybfHz4dGvw5dWX+eDXH830d7fHJyssfdl6vF7Nb46fPTPf9jsxzi9X5hytOnz/bK3eb2/W6ibu6ydr1cLGYr4y+GiSn8c7e62qV7FZ4fH++F2e0grYf4mGQdLj0oM557/Xm26u4W3YeWRB+r3Zitd9+4/uQdfzEO9/Nis85duBqqdJZ38bH//LG7y82HocyXYiTrxWz9MQfrz261zHR512V4vxUt7z+uOtH2w3KzEnT+INqu518E7B46MbddiKmnw/xOpNXVcrG8y3jd3c6jZDOw2NlAot0fm9ki45tVN5SzD/PZkyc1abp1sZqqvHz+dJx7kX2vMvouo+8z+sH3/Oz5Hv2YO/NX/2BNhb/l7/p7Tph/5DD/lD/4c97jL156NeT/zB/8NffrLA/ot9zqdf6uN/mDv+d+vc0fPM8fvPBZOx0neppbvcvoMu/xXzn53g+L2afuPtiGhfz9oMU65c9FT7FUnK2v5vOr+epqc5tnbbOz7fWw/nR5j8XfQmfsY7M8nve51VVudZ1bieL8kD94k9HH3OV5Rv+d9/gpt/IStiXhNu/xLqNlRp9F1WerFxa4zpG4z9+1yR98yJWwza2Ek/aOdsc9xfRzV3f5FRPh+MXjmpWrRvtD2Xg/X1w3l/rr5VaYe1idPWL35TjNk+NJrbgPuwND9Fkfs1o7PiyWq7ng667xLVeb1bCMX3kAj0+wbNbzcuCaoluPWnRZ3Wzmg3K7vNdHDju5fPFX5Bh6S5wPc8HE8dNwKCcPB65nNzedSNs9x0MxOuDYzV236kTtD8dCs5vV7DOY2tOaWcNJRCd80MP7frY+EOHD6kofK9gERH04KRg/Pxxizz+v52shDWO9/7jchGPFtOyH5PaZW80eRD3Mrjb36tClePmHRfcla43Kup1drdThzvtVp3Z8vbyfXYWKc2k+zCQGwJQV1qF3trseQqqOUTd3N7PV5nYx24jdLG+Gw8xP4utmOA6Yl9uQsy688sOek+cjW66uPwzHeeHA0I9Q4iLrByCR+x7OYA/Pntoebgen2yxwF7ayzMRie70r+vVaLGCLuGNfeSK3I5KlGNRQn8Mp8ZD34hziH2lK3QliBvryH/PGlyY5qf51cfb86Cj3oC4X1/OHOSS0fyT2zA+YRXF4txsfOj/0ob4Rg3U596IygaHmr/T9hVJx3J6IGdWDfyb2zmeCPuBnAWknfs4weASchBxXJ1YDfX7yvIrjVQ+xK3IdXztjHvgodVx+VR3w8mjlaDRVP9KXw7FTqda3RWOFcCarhAzRw1yzJ/rha9z76ct66rn8s7u7EZn7Ju7Cz+LUID05DhbJocx9xQuJHc02xnrFY/Xznxw5i+rbj8uVGNUZ7d3DQFVgJ3pU8Kd1EaOwWTXRDjxienErFzjWm3KUsxL9jSnoUWzxaKtmgrebxf3886IX/WqU/9s4QEuk4Xjrfj5bXM8/fMhz1bet4de4H09YkSxeGwfT7MCq05auGuO9a9lgK2N+jQHyxZDqHy+/DUcMeA3OToFWy0/dHZ4ImTmuupv5Oh76eonGyYblONdFPdRYb4aqDucjHmw6hrTCbERm2Ur1fzU+8C+q8NOX9di1XOmK18Eszj/ef8zw+6YBLpRv2VjuGybTNVfHlvCqdfhwICtjgP18uVUavG9zhdaMtJae1jK6bu0517Ht++BhCa+Y9bigW9wLA78PJu2euF0ecMTUNfu6240YSWMNX8rjTK8FPvixq0/xCOfFySn4+JDAqyGR1/n7fud8Pa2Tv2gsJD8fXH9/iRPnpxJ2X0eZYrIFt4wYJuetGv8ldtviMETt42wBS0Mt8t2pSaxwnwu1BJgvx8MmT7WvTGCjFLrWgG6imeKAxmlVs6rPRn6XB4iWwbLnlhDXg010KmMbS/731AlbuMhtTs3Or+dXymh/iF8EB2aHDnd/pcNa625j3t4czuuD+3rV+M5XTZOOpwM2A/F73IgPHFD+2Fruad9+iVie3dkBWTwSsG87WAo0QeaXB/e0WN7s5vtuKcK9bJvpJq9jNYOGr2pU8s3Bye1gJfeYN9L3Tq7jdnHnLh80u+e3lrsfN7u7kf95NPm5W939NpuvdveQ/z15tbtbPXn0zenj/zwat/buEdC+nxGNpo7wb8PWU9/au0pAODAUzsL3nOUu4NIbuE1VoPv6Dyg4T1DGkAW2vzoU0L5wEL0OW2+HrZe+VWOGKIzehfMQi/M6ekBh9MBh9EDr6AHR6EGx0QMb6zqwYidILoatF7Y1Hbae2dblsPXkiW/WISGDvgPeDJsnvlU/CCjEAjh8H9AaC0AUC1AsFsAsFsDGWDh5CJmwDVoft/KI+tzzsRGWpiEqDuNUpM65UqsC5WqIata4LNyqnuXv5hI2rurYxFzMJlFFG9dlbTLXtglU4Mapyit/nRHUuyEqeueq8qt6niPKHmBcGYGJ2Q1MIkswrn3BZDYHE9ghTIg2UTF4RUVgGBWhaxhj6zBB+EfVwEQMUd0ZV3ZiYrsy2ViMa3cxmS3GBPYZE6LZVPyQE3KbW/UCNQIhXGg0A3QhQ1TfxsmFnLMLVQVcyBC5kHHpQlU9y9/NLmRcuZCJ2YVMIhcyrl3IZHYhE8iFjJMLVf46I3AhQ+RCzpULVfU8R5RdyLhyIROzC5lELmRcu5DJ7EImsAuZEF2oYnChisCFKkIXMsYuZIJwoaqBCxmi4jOuXMjEdmWyCxnXLmQyu5AJ7EImRBeq+CEn5Da36gVqBEK4EIYGrShyqvQokimRyM4UZLCnyMmjoiiNKjQ5a+yPLSuKyrdii2xeUScHi6K2sdiGvSyqZGhRJFcL4usGB3+LnEyOROV0ocl5Y17Y86KojC+2yO4XdbLAKGofjG3YDKPKjhjVaItBA28MHAwycHTJKLBVRlX4ZWgAphk5GUYUlX3GFl/xFTbSKGo3jW3YUqPKvhrVaK5Be2jUxbbRvm/xQ/ETrusEPRcpGRVK5LdBYrcFEbwWKTktStJnocGZ3A97LErKYVHP/ooquStK2luxBTsrauSrKJGrgvRaUnBUpOSnQVJuCg3OZezZSVFSPop6dlFUyUNR0g6KLdg/UWP3RC16JyjgnEDBN4GiayJmz0RNOCbI4JdIqdpRUl6J+kEvYJ9ESbsktmCPRI0dErXoj6A8yAzfyra9pu1ICVccR4+WaIhMxTiZoXN2wqqADRoiDzQuDbCqZ/m72fqMK98zMZueSeR4xrXdmcxeZwIZnXFyucpfZwT+ZojMzblytqqe54iypxlXhmZidjOTyMqMax8zmU3MBHYwE6J9VQzeVREYV0XoWsbYskwQflU1MCtDVH/GlU2Z2K5MNijj2p1MZmsygX3JhGhKFT/khNzmVr1AjUAIF6p9RRtyRhXuAhkRCOxEJoEVOSMvckGakcln4vvZjlxQfuRqNiTXyJFc0JbkOnuSK2RKLpArmfBaMPAlZ2RMIChnMvlcxJe9yQVlTq5md3KN7MkF7U+us0G5wg7lSrQo4+BRxsCkjKFLOWSbckX4lIlgVM6oQF1QVuXqgfpls3JBu5XrbFeusF+5Eg3L+IPI1a1o1yvWiolwrdoxdC1nZAQukGuBwK5lEriWM3ItF6RrmXwmvp9dywXlWq5m13KNXMsF7Vqus2u5Qq7lArmWCa8FA9dyRq4FgnItk89FfNm1XFCu5Wp2LdfItVzQruU6u5Yr7FquRNcyDq5lDFzLGLqWQ3YtV4RrmQiu5Ywq1AXlWq4eqF92LRe0a7nOruUKu5Yr0bWMP4hc3Yp2vWKtmAjXWo2/6OG7q4RMoGLyK8PsVqMAXlUJOVXF0qdG8Sx9L3tUxcqhqpb9qSrkThVrb6oqO1Pl5EsVkyuN+HUi4EiVkB8ZVm40iucphuxEFSsfqlp2oaqQB1WsHaiq7D+Vs/tUHr1npOA8IwHfGQm6TkXsOZULxxkl8JtKqLIqVl5TtWbNsc9UrF2mquwxlbPDVB79ZaQPKeu2qU2fiR69cJUx19FWDFHhGidjcc7OUhWwFkPkLcaluVT1LH8324tx5S8mZoMxiRzGuLYYk9ljTCCTMU4uU/nrjMBnDJHROFdOU9XzHFH2GuPKbEzMbmMS2Y1x7Tcms+GYwI5jQrScisFzKgLTqQhdxxjbjgnCd6oGxmOIas+4sh4T25XJ5mNcu4/JbD8msP+YEA2o4oeckNvcqheoEYjsQt8N9FXcip8tqDoGIBHSwvUeYiALoiAVRvEpLISmkFq+jnbV9cS3LJ0che4CxwRzWrsLiKYcFBsIMBsIsHEge/LDGPdT34pu+gPGHZDw1h8o7kCjo/4Q4g7Mugts7C6QaJs/jCXvW9OwtSv0575VRwcIuux0/3tsdXJ3ZPzJNUOj/2L4DFEMjVMgjatomphDahLF1TgH1wSOsAkxzIYp1pVfZDTNCEJviOJvPE9ClWgmKk7TUV4IjNNREU9H5TwdlcvpqKKYjirxdFSepqMKaTqqQNNRMU/HyC8ymmaE01ERT0flYjpGiadjxDQdfx1n4oVv1V0BqvEHFEIPHDoEtAYckMUamIUZ2BhhIDW4jnbjPPatOgJAdQSAwgiAwwiA1hEAshEAsxEAG0cApI7AUZ2tJ48N2UyN7Kdxqo59Kw70J5wqQGKgP9FUAY0D/SlMFTAa6E8wVUDiQH+CgTqxcTraxK08zE1jTBs5pk0eEx+SgSJGuxGj3YTR/jzZn/Kc+FY8LipIHAQVng6CCo0HQQXJA8mi0OFRYfV8BlA8Ftqhctzy1LbsWMhRPYFBFA6PnOPhEVB7TTRgO2py5MdGzvzYyNhyNwLfskg7ipF2jpF2apF2xJF2xSPtzCLtyCJtaBPivsn5oc47fp6oU46fJ+ls42eR1aCI/ODTi58nfGaxI70tUGUrLtEFpYU2vIsf6oIECgGpKhrUJAeGGlCMSNXhokYcOZKpyEileosqJD8JVIWkUkGyKmqTmuQy5Qa5YqkFFS+pXMckc0lHGaqbBCp0UlXNU5Nc/tSAnIBUbQrUiP2BZLIKUsk1orppJRJ7CalfLyThMNTgYCE1fIcaHS6k5EYkR2OKIngUCWRXpCbn+mWC1/DKVrx8t0fiyt1O2B3ej5eddptTO0bdbZULWce+aSUODOvScfwFzUE6jZLgfo3nl0m6vPPLRF3Z+SW/o+qIgnDwHVVTMRz4BueLiDAw+Q1OFkSIqtaKU9BbYp8DwWFrv/X4S8wriCAJFEdWVTRjG4xpVCCyUcD4ksJRJlnEOrZoRVy0Otykb4WS56BdwGOD0V5xDgxR9J2ruFcVI14ZxLoijLIxjq8JIrJVa8U06C2xz4HgCBpPsRuO08oJ5lPfirccCop3gwoSNyAKT/ceCo23HQqiWwqF0d2EwsKNhELqeunorZn5Gc45ojDdLlyE75mGrXdhy6/QnE3SxZmzibous6P13Nd3aee+I6oWA9NgiObCOE2IcTUrJuapMYnmxzhPkgk8UybE6TJMc4brDoWBZ6+x7pB6kb97mtG7jGBa00LEPE9wlWiWK+apDi9TwXxHTpMeRZr5KKrpjy1yDkSdEiGKnA1R5ZSIasyLqFFypPc6VfQ4TQ6916maXDT2N23wdw0O+aNfb5RizqSgUzoFjXMKXkSBjEJK+YQSZRNKKpdQz5mEKuURSpxFqHEOoRYzCBXKH3qHLceJc6f9DltucCH3M5X0naSQMerVLiHlbAGVcgUUzpT6pgCkiSHKEeOUIMZVdpiYU8MkygvjnBQmcEaYENPBMOUCvuxDYeAsaLzsQ+pF/u5pRu8ygmlP78YwzxNeJZrtinmq47k5zjgrNPEs0/yzrNKA2+Rs4BaUFCxzbrDOKcJ6zBRWKWFIftuMKadPklUWUaOL5n6nTeVdU4EMY4USjeWcb9SC0o5Uzj57uh/yzhllnAuUay6oLHM155drlFkucE65wtnkSswj55RB4UUejghnTetFHpYvxPdPBXsnGORFft8lCTkXTKMsMM7zX083YfoN0ewbp8k3rubexDz1JtHMG+eJN4Hn3YQ47YZp1vEaBIWB57xxDYLUi/zd04zeZQTTnS5KMM+TXSWa64p5qutTYzDVhmiqjdNUG1dTbWKeapNoqo3zVJvAU21CnGrDNNX44CeFgae68eAnqRf5u6cZvcsIpjo9J8k8T3WVaKorpqn+bZzl8cmE33CGkdXZRUZP1rkQHq1z7M/WOYNH6BzCM3QO7SE6R3UGgflzMmUrXjErKD7RWJC4q1J4uq5WaLx/UhDdDymMboIUFu58FBLvKv4G8zZeTdyh2KDLg7L7iIj0oDo5qHCbEHAeayfG2omxLkOK2f0+QOKRr8LTrZxC44NeBcmHw4tCT38VFh8JLyg+2/UbVscY/dcTfMS0bMVHTAsSj5gWnh4xLTQ+YlqQfMS0KPSIaWH0iGlh4RHT155GPow6tD15M9nfzYet+GxOQeLZnMLTszmFxmdzCpLP5hSFns0prE4RoPjY0ZvRn2GrZj6i4MounMetPN7zxnjP5XjP83h5IkER4z2nZ5HewEQ68WXkzQQfMnwzrhSuXcal+Q2tDyOtVzFh9g1RSIyruJiYg2MSRci4DpPJHCsTKEGMU5bgdWhGlC+N69CkngvUiJXMIRPbseJsMn44VimvTODkMiFmWL7UbghyDa+rUyvOOnVdfZTqg8SQeoYonMZVOE3M4TSJwmlch9NkDqcJlHrGKfUqfysQpZ5zlXpVPReoESuZeia2Y8WpZ/xwrFLqmcCpZ0JMPXy0nTIEUg8fbadWnHrq0fYqpefYjqXAoT3wHJtuIsKsn2PTaiPkjefYtMypqp9jk+rbpsDJe+h5B9nmvCkcjLlO6tjkazFPCR7V/5+Y52SPckr5KFPipwdBZJZiEaTnQOQnUkE0nwLZNximu5z9vfSt+g2A6hkToDApwGEPQGv4AVk4gVkMgY2BA1Lz15G/oPoWSxiQONV4S8UKNJ5qvBVlCQqdarzFAgQUTzV2aHeO98K34rsaBcV3NQoS72oUnt7VKDS+q1EQvatRGL2rUVh4V6OQ+K7GDl0tFzTyeu7qbXafeOZbdZSAqrEgwlECh1EihVNXwHXwgGzwwGzwzj72nz925Zzr2NgyjGqZZ2vZmJqlnJplnho+nQVFTJqdzgLKM2Sns45WcSsPZBW93IV1dzvPU74JpbjJ9rFpeMVGesUmewU/kgqKcJGNcJFNcpFtmPA+buUk7XPm4buILwlRENK7iMxVhNS7iCxRrPK7iCxwbPhdRMbktXj8fkqIXFcfv7OY/TcdvzPXTpyP31kgT07H78TBxQxRrRgnnzauHMHEbAsmkTcYZxswgQ3chOjihsko/LXPhQodmXrFXa4Ftnfj5PHOhdGb2K45Zfmmke8bZ/M3gVeAKqRloArLHAxeEIwfygGxNJjUyIHGImFyK0V4uTDeSAVeOCpfCdQYul5HqioWkyrBimKo4ahybTGx7Zy8yhjXS43JLWNNi44J2li3Odt6gRrlpFajcKCPa1IUOI5R5fUpqjLWsYmIeGzAcY9qCm+UU5CjTKGOIq9k6XLAqRR4VTtwOUA3ESucvhyg1cZq17gcoGVe+fTlAKmi7UeBiz6qvCJGVXpibCKcMTZgf4xqssEop/UyyrRqRpENM6jsaCTGdTS+SNeq5bSmRpVXVlLV+hqbfM1L5FobW/CKG9W07kY5rb5BzmtwfMmuFc60Hkf16xmo1ubY4GAGttbp2OhwmqY1O6oHEzGt30FdNYWDYWus6KGNWtdDA1zdo3BwbdIrfWzytdUnrfpRbaz9sdHhJSofB0T50BK1bdVA3xQOWkM+Sjif4BM953g8ACg+x3OeVn7g6XriOa7xgOiZnfOwmgMLT+qc47rtqNroiRH6IZR6PRnH2nj1xjmN+tCrNy7m8TdevXHOkWi9euNCjEnj1RvjFJ30ysrIG6+sEKdgHXplhUQVtq+8skI6BfDgKyukcigPvLJCGgVVvr2hIsjhlW9vBEqhbb+9ESQV1oNvbwSVQnrg7Y2gcTibb28EhUIpXm3IseIw5lcbHFEAG682OFeha7/a4BIFrfVqgwscLv1qg2MKFL8SQKHgEDVfCUgKBezwKwFJVuH76isBqQUF8yuvBCSdQ3vwlYCkUqAbz8LruHLYxbPwwCjUrWfhQVDhPfAsPGgU0uaz8KBwGBvPwgOn0KVHxzkqHC77iW0IlzMKlwsULhdUuFzN4XKNwuUCh8sVDpcrMVzOKVwmULiMc7jGXw6GYFVCoaqYAlWxClPVcpCqQiGqmANUOYen8hicSik0I6bAjJTCcjGG5IVvxdOVCwwFIHG2d0EhABrP6y7C0IHRNYQLGDKQeJK2Q/6zzGUrzlxB8SzLhbO4FVOhIDHfhae5LjTOc0Hy94KLQrNfWD0/BRSnd4d20/rMt+IpS0E1BIDEdYvC0ylNofH6Q0F00aEwutJQ2DhjQOoIHMXT2YtJekR7h+Kguzw5dqUGkZ6vTs5XuBADOE9jJyarozLdMbu44tm5u6Dy0rfiKXlB4jy88HTyXWg84y5InmYXhc6tC6s5Biheyr2Y5Ke2dyxfiNjRTZjZTc7GTSP1NjL1Njn1+DICKCIpNyIpNyEpp6PrwVbs9RRdD5AYyJRcD2gcyDS4HjDq7hRcD0isoekEH7iboncBEo95Tcm7gMYHuqbCu0ChR7em6F2A4oNx09G7Tn0r3gyYoncBEjcFpuRdQOPl/2nwLmD0q7VT8C4g8Vr+FLzrCRC8Cj0drWv/I2VTtC5A9nYJoPwLbVOyLqT4donj+BNt02BdwPztEmNmXT7UZUi4ZS6SZaMilrIilrki2LpAEbVi1gUoFwZdqJ2Sc/m87Zzr1MZvzgUoJp5zTDynlniO+GaTK56SzjwlndWUNNKHeupz3fepvi9Hwxt/qekSHQ+ZvZEGLL6IAwK+iQPYXsUB5m/cAPRXbgDWd24A2RtpznbW99y34ot8l8n6gKd3+y7R+gDRxIFigwFW8xJQ7bajmS2wl2h9gOLN4stkfcDTscElWh8gOgK4DNYHLFxHv0Trc1RL6CmQW/xl5svR+174VjyfuETvQ5TPJy7J+5CC9wGOpxmXwfuA0WnG5Wh0MARzOmTq1cxL8jrE9GrmpXA7lPitzUv0O2T0hublJP8Y9iVZns/XJjbaiIFuWgPd6IFuxEDZ91BSA3XnQxhfT7206/RgBukmRBLY0/RtiKQKd0s3IpKQfC7fikgKOV66GcECeF96x4y5ckH1jhlL5Ietd8xYZmdM75gxJ4+sHIzSELmlcbJM48o3TczmaRI5qHG2URPYS02IhmqYXNVvMoVS5XtPXANgc4bIaY2T3ToXnmtiNl6XsvuaRhZsnH3YBDbjKizFoJMtmyAty1ThW6axeZnQcDDTk42ZwqZtAjt3upPIgvDwKm1E8+TmJhyMj/J101rxaTm86c34ZK83hQyfbvlVJ1T3/JTGzt+866caCP9X9/2UllYBeedPibQWqHt/QoMVASktCiipdQH1vDSgSqsDSnqBwBa8RqBGywRKtFKABIsFUlovUKIlAyW1aqCeFw5Uae1AiZcP1HgFQS0uIqjQOhJuBgfHELeJRYGBaSOlNQUlWlaCJFYW1PPiEtS8vqBMSwxKvMqgxgsNaEsdkrTcoCYdFRsIU0WZfRW1hrVik+SuKPIChBqvQepRAaGJlQjUjf5QWo9Q+1oA1aqE8oEAttYmbHIogHmFQjEuUkM5TfxXQsqW/66PoXj/yYXd3yTc/5WH3dY2bPl1nrIVr/MUlK7zVNfDHhmibhmXfasqdLCibUZ97gH313ju9Ngx7LQh6rRx2emqQqcr2mbU5x5wp43nTodnlaDnkVP3oyjHEJrAQALfNnjf6B+PK4p5cJDuMDSkNDCU5LCgAQwK6FbSXvaJh4NSHkx9zAdGYoiGYVyOoaowgIq2GfW5B9xv47nT9tgH9NoZddsF2W+ToePGtoL1oh/cdxdy5+0hDOi8M+q8C7Lz4c/Tjx0Nf56eWS/6wZ2Xf55+1MYHJaDrlVDHK5bdhr96PXYQ/up1JH3aN3dX/NXrUam/QAe9NUTdNS77i38kd+we/pFcQn3uAfdZ/ZHcvfR+oAvbc9ny4wRDqpdF8IObijbhq+nv4b1PxxrAZd/o7+G9FwcUoNCN0Pfh8AFY+LWK92OkfauPW3kMOY5XA/VA7LY+Be2T+gGRqzH4sBX3dZWDD0K8xXs1dtx70MeZvKKOj7QeC3zMCIZgSPamqguBaETGD38RjQ2PbaiTPEp1bDNK9uJrRjBUQ7KHVV0IREM1fviLaKj4viR1koeq3pes0nBat1jMaLAGcbgOdT9NX0jIg3bla1/HAzelV11Og3clD39/cjRZf55d7T5yOtJywp3/bM1xlhta/MLh9GxybTstW1f7v10LyE38Ovj3dR2ob9kIHeHQ9nTcA+7YEO298of86W1GvUDUI+OpW7uKG4O03zleSj028hA+sA1bX8JWH7diR1J97yldpx87whd2jyN+yJ/fZvQlo14g6qb0or1EPz4w9pVfTz+O+CF/fpvRl4x6gaiv0kxGSbwmUjus3hI5FtpD4+u2Df6lwfsW5+G0zqpGPV+IG0ckrsEcJ+VBftFW0i+S9prSKBonU1X1a3M8CFB4FCA96O/aavxF476BeSio5bHQayHjOPitkOOIH/Lntxl9yagXiPqrzgdHiV8PGDub3g44Jv4gvmIr2BfBesWoy/I0cNT4Gf2xz+kR/WPiD+IrtoJ9EaxXjPosz/722ocJXiSvpItb8aigoHotHFH+AePC05HDnuKflHUcf9e4IPr14sLo14t3bGlHOWUrHjIVJE6KCk8nGoXGk6KC5ElRUeikqLB46FVQfDr0wyRcgq6IDp1OohDozX6unvjGOGwg40whgTgA9jAg9GkCOsYGSA0AoDpHjvykXVxeaF5aqO1gpEbicA3HMTvOAzctjd6VFAKTYhwMUzCMU0TyZeCbxmXgm4OXgSOEMOkfgdBiDNmBn4DQLVL42j8AoRvEUDZ+/kGrFNao3rTCxCEmVQW6/knNY9+KNsN/SHNPP43utHfcT+hOgKJ9Ok+W/QndCRDfA3LFHdSZXVVyZHfK9ij/SoYWaCyHfiVDN8kjbPxKhlb1uFu/kqFlikbjVzL26iKszouwBi/y6ruQ6+4inwct8knPonHSs2if9MQrAvj1+QchtEC7av8gxNig/v2XbUa9QPT16u/P7qXbCV7pLFux2goSi3rhqQoLjYt6QXJRLwot6oXRlc7CwpXO2wn+2d1bHDEg6N2e3k3qTWXbikddd2mwwNMh1t0k3DA2JP9GxN0k3h42RkdZdxO8GVzJ7uD11LbcHsU9FH335C4+4RURBaH1fFcUczjE012R68CoZ7uiwCHKT3YFDMHKt5LvUrUzz7HD37t7Qohip3/vjsUcu/R7d8x17PLv3bHAsePfuyMMscNLLhQIjp265FKl9JtCT6TAcTzwm0K6iYip/k0hrTbi2/hNIS2nWMvfFJIixj0tITKUaQ6aS8jYoN47gzkwRNE3ruJuYo64SRRr4zrKJnN8TeDImhBjivcbTyPqcyA4gu2bi8sJ3llbhnV4t+V/uGkZdrXMe1nqHaB3EYJd4UXck9iqzx/kPbcdbpmucCoOHUlXOE9E+77xPdyvrzw3Aoeu2DV5uRIpdEs++xEodengsx9LvGpHCLqCV+1OYqs+f5B70H6Kg47FsRekQGdIgT6R0je/jXvIcu5ouF7IDDoXrheeULtefJa7cuCxkXrWgX3IB9OGoAd4fE0f5P2r4+tRQksiBLuvCHafjWvZMK5l27g+T/D84DN+FlA6K6gXzFp3GKPeEuM9RvoqU1+4uug+3Ncv3f//m9NnptYPXscPGa73DIXmN3wjjnGMmrrpG1vEa49BC3ERY1jFsBiuHVJavRostdBZ0WI3t88ErjtUWvzFUtLqTWuthu6oFnnyq+SFMgRp96wHbsUJK6j2EpF1DuB4/f2ZkeugW/o4urF6KFt2KcsRXb8ywV569y9bxq08EHXlvPBU1IXGk+yC5El2Uegku7CYvQXFK+c7ZFfOPWx/hAbrMO51NJcVZhEimx+EjVje11s5ZSO0cv5QL0yu9oYHG+GC7Cra3QjtdrsPzRBNlHFKO+ece3Qvv0ay4uvcklPRnqn2uBiipDQuo2lPSFF6Vr4UqDF+ma0m5pQ1ifLWuE5ekzmDTaA0Nk65zM9O8DT8kZuuc+A4v41TkjvnTHfl0AR5bhtRiQ8nDZTJfSaxDsS5wKjY8xweEUOUDMapGJxzMfBfqngW8XVuycVQORSDISoG4zLW6Y9H0A6WAjXGL4tB/e0IlqgYWn87gmUuhvS3I5hTMaS/HUHT8Eduus6B42IwTsXgnIvBlUMT5PluRBUDXMGiTO4zicUgLl9VJVxUwZKIAidGVLk8SE1FEnUqlSBetz6Vyibfr3uqBC6hg/frVJtUTukGlxYORlAXWPMGl27AxXbwBpdulApP3+DSKhdhUFMpBvWP1sfWrWlIxRlVLlFSU6GS/vU0gLqMXJYuXwqV1de3OBVz6zroXo/Xi2qYEOUHEj0gATbuAcJLjXQKPG6Vv905vuhnyJ/1IU63yIN6YadQlUwT2f0JyvHM3JAlB3G8EBClevY+npa/yOKo7PN3mMOJO1rZigVeUDUbQKLQC0/VXWgs6YKoRAuj+4mFhfuJhcT6fADrfWFk518nvhVvOj4kpwKebkY+oCcBIiMCxX9xzVm1HEB1HI7op8u2MLRTI27N2+zH24YJb6XzbrPdbpseuxXGus1uus0WusWh7Qeyu4Ls9x3KVry1UVB8rm6P8o2OwtM9jj1Nz9UVHO96FER3NAqjmxn9WCsnvhXzqsdaASRSradaARpTrQ+1Asx/ws/ZWCtAYo71qVb6MA99noc+z0PfmIdezkOv56HP89CLeegb81CK4KltWRE4ikXgHIvAqRWBIy4CV7wInFkROLIiMET1XRdEzCpDlFrGKb+MqyQzMWeaSZRuxjnnTODEMyFmn2FKQb7MQqGAdDBEGWmc0tK5yE0Tc4K6lLPUNEpV45yvJnDShms3TyOi9G1cuyExJ3K+dkNcp7S4dkMCJXe+dhM5pzncpINMR0rJjhLlO0oq5VHPWY8qJT5KnPuocfqjFisAFSqC/C6IiBWkG1KqBpSoIIIkagL1XBZBzZWBMhUHSlwfqHGJgAZVgpQKBSVVK6jnckGVKgYlXTTYgusGNSodlKh6xGtAY1L8OYHnmP+EHAASnlj+k2ccMJ9n/UnzCzQ8hfwnziag+Lzxn+DjTGKn2cUTzt0XHp6UNBB2cMY0pOTfI68nm10mcVyG47gc53GZlsblShqXSXFchmlcxmlc+JJUp2kcX5DiGKOUxxn0NNaopvEGOY45SDTuoMHY//O//w/7Vd1G","Helvetica-Oblique":"eJyNnVtzG8mxrf+KAk/nRGh8eBWleZPnItsaD0dXWNvhB5BsUdgC0TLAFgjt2P/9AI2uzJUrV7X8olB/q4CuyspaVX0p8H8mP7V3d83yfvLj5P3fu/Xstnl0fPbsydGjJ89Oz55MHk9+bZf3v8/uml2BvzSLr839/Hr2w+XVYv7vrtnL3WLB8iOQZ3fzxZYL7IRpM7/9tD/r35ubeXe3I3+9ny3m18+Xt4td2R+OT3Zk/ev8obn5Y35//Wny4/2qax5Pfvo0W82u75vVm2b/6V8e7pvlTXPzur2bLYfa/vnP7cPkx3/+cHxx9PiHk5Pzx8fHx08ePzs9/tfjybtd4dVivmz+aNfz+3m73J/q6AiEt5/m15+XzXo9+fF8x983q3VfbHJ0dPKno6Oj3Ul+b3eN2Dfop/bLdrVvx6P/c/1/Hx0/e3r+eP/vRf/vs/2/z476fy8ePb9pr5pHb7br++Zu/eivy+t29aVdze6bmz89evR8sXj0ev8960evm3Wz+rqjHs35+tHs0f1qdtPczVafH7UfH/02X7b32y/ND7tCi0fPXzyaLW/+X7t6NN99wbq7Ws9v5rPVvFn/aVfZX3anupkvb99cf2r6Xuhr8uZ+95HZ6qaou4I/zb78ZeiUi+Onjyf/KEfnJ6ePJ8/X1/tArwbx58aOfzg5ung8eXN/85fpTnzS//f97r9Pnx566+/N/Wp+vQvnP/9nMv3H5MeTi53w+64i6y+zXRT/9zHh5uF6Mbszfnp+fuD/7tpdtK4WppyfPzkoy+7uat9Nt8us3bSLxWxl/OmuW3r+pVld79O+CE+eXByE2d1OWu+i4zU7OYEa9P3ttTs9Hb5vtmqWi+ZjTaKPlWrM1vtvXH/2ij89Gz616NY5ONe70TrLp/i0/fKpWebiu6bM25vM14vZ+lMO1rdm1WbaLpsM7zei5P2nVSPKfmy7laDzr6Lsev4gYPO1EX3bhJh6OsyXIq2u20UrIrRu7uZRsh5Y7E0g0ebf3WyR8e2q2Q1m0cydD657oynK8dHxkNEzkX7PM/qzoYuSiT9l9HP+4C+Ojo8P6Ff/YInAi/xdf8lx+qu3bG+Xe/S3fMaXuf2/+dgr2fr3fMbfc70u89f/kUu9yt/1On/wTY7E2/zBd/mD7w09Oxt6eppL/SOjD/mM/5WjerWbyz4398E3XNxpcaDy56KpnD0xU7mez6/nq+vuLvdHt3ft9W76gTESDC5Uxj42y+gqp8S1MGAxbnODPuZStxl9ylWeZ/TfuV6fc6lFzksRLeE6wve+iGGfTXqV6yUcXsS+yx/8mrN3k0s9ZLTN6BtU9czzKybCyZOjkpWrSvmYjeaMfTbezxc3TQ7JYa6/aTcizmF69qngvl+meXIclxH3cb8uRKO1z2zV5PFx0a7mgq+byrdcd6vdPH7tATx+dgzDZj3vV66piWXZoofVbTffKXftvV467OX+i78jU+hLz36cCyYWULuVnFwP3Mxub9WcduC4FqMVx77vmlUDY//0whZDs9vV7Iuf7fS8ZNbuUqKBjAuu1DfzarYeifC4utKLBeuAqO+uCYZa7VbY8y/r+VpIu7bef2q7sFg0ty/zfkhu77nV7Kuo7Oy6uxf44OUfF81D1ioj6252vWrFia9WjTrxTXs/uw4jzqX5ricxAG5oOA69srsLut2aWyxSu+XtbNXdLWadOE17u1tnfhZfN1uFxZP1y13IWRee+7Ln9GJg7erm426hF1aGvkKJk6wvQCL3M1zCGZ6c2xnudk7XLfAUdrUxE1PezX7Qr9diAlvEE1tKtZHbiqRtctnd+NxdEe/yXkwxf01d6k4QM9Cn/5g3PjXJTvWvi73nq6NcgzJd3My/ziGh/SOxZr5gFoPDqx0/5Cs99SGbIikGNln3F180TKCp+Sv9fGGoOK53xIzGg3+m0kMdfcCvAtJJ/Jph5xFwEXJSnFg19KI4+HW56SFORa7j68KYB95KHZffVQV8eNRyNJqqr/Rlc+xSqvZt0VghnMkqIUNmsvlr9kQbivN49rOLoc6L9luzvBWZ+zqewq/iRpOzGx0kQvThVZtIVpW2XnNb/fonR85O8/ZTuxKtuqSzexgqbvCG+FmZxChsNpo4Yy1ienLr73Csu36VsxL1pRS0KNY42WoxwbtucT//stiKelEDPclDA88uyqXJbHU/ny1u5h8/5r7a1q3h93geT9ixZPllNM1GZp0sWTpVhueyZoO1jPk9BsgnQ/oivP+2WzHgTTi7BFq1n5slXgiZOa6a2/k6Ln19iMbOhuk4jwtzjm43qsP1iAe7soZcVSLTUmR8XFZS6r9ohJ89K2vX/lZXvBFmcf7l/lOGPyUDNDNXvnV6PLTxvjJvNNXZsTYLPq8tH0ayMgbYr5dpaNitCK6UuUKtR2pTT20aXdcGZR7Hdu7RZQnPmGVd0CzuxQ2f+2DS7ombdsQR6/G960RLKOYWKrnO9LFAofcr1bjCeVpuWPQ+vkvg1S6R1/n73qR8ffas5Kte0b4cnX9/ix3nlxL2WEeZYrIFt4wYJue16ey3WG2Lwy5qn2YLmBrKIN9fmtCtbuuLMZdfxmWTp9p3OrAyFJpag26jmWKDhm5Vvar77o1cIFoGy5qflR682dmEeujRxi4CK9SW1sXyZ+dm5zfza2W0P8cvgoXZ2HL399g/Xt1Kv70ez2ulurdWltDPqyYdLwesB6jOZsQjC8pfatM9O4XdIpYNtQVZXAnYt40OhUoV7kfPtGhv9/29bEW427qZdlkqQ3n3VZWRfDt+RQszuce8kr5LOY/bzZ1lXjS759fG+C/d/nHkvx5PXjar5R+z+Wr/EPmfk+f7h9WTxz+cHv3r8XB0cI+ADvWMaDB1hC/i0cFVAsKGoXAZj3IVcOoN3Loq0MP4Dyg4T1CGkAV2uDsU0GHgIHoVjt7ujo5P/LAELbDQflDe7Q7P/agEAFAIAHAIANASAEAUAFAsAMCGoR1Y7yhI3u+OLuxoGrQP+wYe+WFpEjKoO+AuhLXLydBVkqGTydDlZOiqydCJZOgsFsCGWDj5ujs6s6NNONrGo9IiQFDzgQ6FcHQaopAYp3HqnAdrUV4IRMPWuBy7Rb0UqFJLOZRNzF1oEvWjcd2ZJnOPmkBj3DgN9MJfZYRD3hiPexfk4C8yOIAhsgHjygtMzIZgErmCcW0NJrM/mMAmYUJ0ioLBLgqa5lJoHMbYPUwQFlK0LncYm4nxsZwUtmJSJScrBmNyLSeT1ZgQ/aZgMJ2CNhltBSIPMp6NaPADNCJDFE7jZETO2YiK8kIgMiLj0oiKeilQpZbSiEzMnW4Sdbpx3ekmc6ebQEZknIyo8FcZoREZYyNyQRpRkcGIDJERGVdGZGI2IpPIiIxrIzKZjcgENiITohEVDEZU0DSXQiMyxkZkgjCionW5w9iIjI/lpDAikyo5WTEik2s5mYzIhGhEBYMRFbTJaCsQGZHxbEQYGnSjyCmwUSRfIpHNKcgvapxsKorSq0KRyxofa4i0rlgi50rUKWGiqLMmluHUiSp5WhTJ2IL4qsLR4qLAPkeqNLtQBhwvcrK9KCrviyWyAUadXDCK2gpjGfbDqLIpRjU6Y9DAHgOfVsqjUUaB3TKqwjJDga6SCmyeUfzu0BA2GvWxoVEx1FhmdGgka41q9NeggckGvqnwbY2T50YxG68TtF2k1CEokeUGiQ0XxBeaktmiJK0WClxqWq+6NFnUcx6hSlmEks4hLMEZhBpZK0pkrCC9khRNFTFbatCkoUIJsFOkZKYoKStFPRspqmSjKGkTxRJsoaixgaIW7RMUME+gU1kWjRMx2yZqwjRB7mQ3s2Gi9J0kF2aJaj3JK0aJJUaSPJkkatEiQQGDBLqRdKspWSNK2RiH1qMrGqKQGyc/dM5mWJQXApENGpceWNRLgSq1lNZnYk4JkygfjOtkMJkzwQTyOuNkdIW/yggtzhj7mwvS3IoMzmaIbM248jQTs6GZRG5mXFuZyexjJrCJmRAdrGCwr4KmuRQalzF2LROEZRWtyx3GZmV8LCeFTZlUycmKQZlcy8lkTSZEXyoYTKmgTUZbgciLjGcjKnVFJ3JGAXWBvAgENiOTXihGduSC9COTLxWrVVZakqu5/12jBHBBZ4DrnAKukC+5QMZkwivB0JocsjeBIs3JdHAnZ2RPLih/cjUblGvkUC5oi3KdPcoVNilXoksZB5syNhXl0KgcslO5IqzKxE50IZuVC6PpKuzKtVq6VgzL9Wq6JstyJXqWcTAtYxvBtoqRb7mQjatUDI3LGQXXBTIuENi4THqhGBmXC9K4TL5UrFZZaVyu5kxwjTLBBZ0JrnMmuELG5QIZlwmvBEPjcsjGBYo0LtPBuJyRcbmgjMvVbFyukXG5oI3LdTYuV9i4XInGZRyMy9hUlEPjcsjG5YowLhM70YVsXC6MpqswLtdq6VoxLter6ZqMy5VoXMbBuIxtBNsqRsblQjau1fBDH16FQiiwBZNlGWbDGoQXmZBZFSytahAvM9HVkyZVtNznRaEeL1j3d1G5twsnayqYjGnArxJBUyqILcm4NKRBBTsqhMyoYGVFRctGVBSyoYK1CRWVLahwNqDCo/0MFMxnINNUBo2nILadwoXpDFKXuocNp+CRxBNmUxSdeBWjKWol8ZLJFB4tZqBgMAPZJLLNhKyl4GwsQ7qjsxiiEBonb3HO5lKUFwKRvRiX/lLUS4EqtZQWY2LuapOor43rzjaZe9sE8hnjZDSFv8oIrcYYe40L0myKDG5jiOzGuPIbE7PhmESOY1xbjsnsOSaw6ZgQXadgsJ2CprkUGo8xdh4ThPUUrcsdxuZjfCwnhf2YVMnJigGZXMvJZEEmRA8qGEyooE1GW4HIh4wnI/rzkJvHfuSdYSjED3joHqMlaoAoYKBYrIBZmIANEXJy+F2vxz+cGBl+uqugn6DQqRErNKDyShyVLJiLD8OfixecihdrTh8wgT7y8w49t+7pj2Jn9qi4OKDQR8BTl/e09BEg6wlg1hPAhp4AUizVkXvBz4MNuLZ3gGd+VFoHCKrstATQv9YiN6DSCRA+QxRD4xRI4yqaJuaQmkRxNc7BNYEjbEIMs2GKdeHvcximuRSE3hDF33juBM59Ol/qjn4fYeyOgrg7CufuKFx2RxFFdxSJu6Pw1B1FSN1RBOqOgrk7Bv4+h2GaS2F3FMTdUbjojkHi7hgwdcevQ0889aNyKkAl/oBC6IFDhYCWgAOyWAOzMAMbIgykBNfRzBYU/VFcQfWotACQWE/1PC2lehpXUT2iFVLPaHHUs7Au6klpgaPSW8eOfIXRH8VFTI/iyv+A8pKm52k1c6C27S/guL7pEa1dekbLlj1r41Guc1upYCsr2OaatHKR1Suijm1c7vcorvR/xTEB0V/tx+W5HZkzOSrRRxQW+wfhb8MIO6w+/oYjDFDJT0AhUsAhUkBLpABZPIBZnwEb8hNICZGjWTzKLZjlFswqLZjJFsxyC2aiBTPRgllqwSy3IK60/paXWHvUhY90uZldpU2dbFOX28QXCaCI1naitV1o7cvJ4Tr83I+i/fVIeF3Pk9f1NHpdj+TFYq+QC/asjDpA0fJeDv525kdx7n+J/oYoz/gvyd+Qgr8BjtP/y+BvwGjSfzn4GxzlOreVCraygm2uCfsbKKKO5m+A4trj5QSviV9O0uXwy5TVwJMrv5yk69+XIqtBIVd+OckXvC8nfK27J9uQLduc1ducvcGAcVyQQF9GqhotVOS7p6YxRKoeTlSIRxbJNMhIpfEWVUgPEiijSaUByapIfSqSRwEXyCOWStCQIZXHCMk8pKPcVoXRsMgxT0W+13B2AlK1KVCh8bazVZBKrhFVMBASyEtIVbZCRbLDUAEyG1K171AhtiCS2Y1IjsYUxW1thLFdkZrs47fJcGP52A/tnjKyeDvZlffxcH9ZeWFH/d3VMz+0e3nA8Kad4/ijr1ky/sT41oL1GwYCUOrz38Ke6mNiHIfanmqS3wsGYQk7js+IcYDkjmPSaqEKOscLd+lSLDhyapfuIJV7LRg+Yxw+F2T48NYRMwgf3jsqLU03j5Igwle0WviCzuEr4jbHgsNnXIQvDM4QxKikUJKsAxoKva8qGNwghBBHJQU6yircoUQ16LlUCn0yQhnN1A1VIxwKDNNU6AZj3AEuyNAX+b1gEO6CMNDGOMQmiOAWrRbWoHNAi7jNseAgGk/h2y154W5DfxQvYnsUr9V7JK5re56ua3sar2t7RFevPaOr156Fq9eexGv1y6Hvz/woLjsvc3+78N5m1Muhjz0u/9gdPbGjD9b/l9jNgKDpTsttBD+l3UYYUPFp6AZD1BfGqUOMq14xMXeNSdQ/xrmTTOCeMiF2l2HqM5y/KQzce5XZm1ToR5y7TyOCHsXp/IIQ9a2azEmiXk6P/QYe9k5Cf0dOnR5F6vkoqu6PJXIORJ0SIYqcDVHllIhqzIuoUXKkndwqepwmY/u4VRFImLRt+VRwSJ20nflCcUqi6mZmpVM6BY1zCjadQUYhpXxCibIJJZVLqOdMQpXyCCXOItQ4h1CLGYQK5Q9tWc1x4typb1jNBSBvaMfmaaKQM7SP8yJTypfKLs6sUq6AwplStgRBmhiiHDFOCWJcZYeJOTVMorwwzklhAmeECTEdDFMu4MY+CgNnQWVbH6nQ/7jl7TQi6HncBXdBiPpc7YEjiXq7YO7qeJsDe5wV6niWqf9ZVmnAZXI2cAlKCpY5N1jnFGE9ZgqrlDAkv63GlNMnySqLqBAkEymQU6RAapECGcYKJRrLOd+oBKUdqZx9tocH8s4ZZZwLlGsuqCxzNeeXa5RZLnBOucLZ5ErMI+eUQWHHHkeEs6a2X49lyJSwhe2UGGRH2NZ2wYwyQm5qY42ywDj3f7nchO43RL1vnDrfuOp7E3PXm0Q9b5w73gTudxNitxumXsfbEBQG7vPKTQhSocfxFsRpRNDfeFfighD1tronQRL1dcHc1eWVUOhqQ9TVxqmrjauuNjF3tUnU1ca5q03grjYhdrVh6mp8sZvCwF1dea2bVOhqfOX5NCLoanwL+oIQdbV6B5ok6uqCqav/GHp5eCX9D+xhZKV3kcUXf0HAe2KA7dVfYP6GL0B/xRdgeccXUOlBYLPQMntDBVB8i7BH4sldz9Pjup7GZ3Q9omduPaOHjD0L7wn2JD5w+wP67fipocYyqT+KD5V6VBIUUX583fP00OlA4Ykr4Pj8ukf0PLpn9L7bnrXxKNe5rVSwlRVsc034cSgooo724BNQfDr+B46OIfqvJvgGfH8U34DvkXgDvufpDfiexjfgeyTfgO8VegO+Z/QGfM/CG/CvJ4e3Hk78KLp2j4Qx9zx5ck+jHfdIvsPUK+TRPSvxBxQd+PVgvqd+FF9tfJ0t14V3NoheYy8BEqP8NfUS0DjKX4teAoXG/+vQS8DC+H8d5ojXYXp4PUwDrn2II+g1mf9Ayy1K6H1DlALGVR6YmJPBJMoI4zotTObcMIESxDhlCd5kPiVE+VK5yUwqZI4hSh/jKodMzIlkEmWTcZ1SJnNemcDJZULMsHwf3dA0B+JDLsVZp26aD1J5sgqpZ4hSz7hKPRNz6plEqWdcp57JnHomUOoZp9TDB+ynhCj1Ko/XSYXUM0SpZ1ylnok59Uyi1DOuU89kTj0TOPVMiKmHLxBQhkxzID7kUpx66u2BIqX3/U6kwGk48r6fLiJSUr/vp9VKelbe99Myp6p+30+qmLb6jYaKKlM4lMFEjgKnc1RlUsciIrVjAU7wqFbSPBZKyR7llPJRpsRPL3rILJ3WQvmh9ok0IKpveRwKvJnwPsg3k7QP8g0/6yTMxXmbF+FUPG1xTEL6SGgWfyyI9NFdfuO1bH9I17I9o2vZnqlr2V7I17I9pmvZnvG1bA/5WraH8Vq2R3Qt+3YwsjM/iiPpbbIs4GnMvEVzAiRHx9tgQ8Diu6Nv0XAczWIjZqIH7Br8iaNaB8x0B8xEB/hlOHyviv8sx98uxP2j1+0CfPgtJCN8jqrQiNbaxXlgleY2urnh+hx5CYNXuxFRaFQUPm2/fGr6ennntbFIK5rT1qre6qq3oqf40h0lUX27dsdyucP84t2LrehQNGgl+of2cIGybu7mOTO6WKgTp+lqcet03DoRN37RGSURt051e5eTfxMPt3QoGoOvnA3nww3WpWTaYZ0E9mK9xzqpImRpl3USkj/nfdZJoWClndYsgGenqx/myr3V1Q9L5OO1qx+W2dHT1Q9z8vbCZ6LZyeVNIKs3Ptq/yvRNq/Vvsn8Tqt3LE4FxMhdf9YSBz4sh/hpVyzRDmMA25MJYqNSE4ZqYNUykqcN4LYx5EilKmkmK0IrCaU4xYbSdanYxrZYStXnG9Fpb04xjQiUz0txThJVitRCkqcgFOR8VWUxKRepE8TQ9mTDaBWqiMq3WBbUpy/RaF+TJy5TKqN0ItlWs1nw1q4ULjjC3RSV9Z5TTPBdlHfdYRkU/lkh9EOU8/0U9BzzqHPaophkx3ZQ5kwLPjiM3ZXQRMVPqmzJarcyalZsyWuYZVN+UkeqsGrI8p0aZZ9ao/gcZJWfZWGI8o/KMG+XvJFSafaPKTkv3BaLbyZsG+ovr7clzc5STO5P8/ZDL2ZpKqDk7FuGZO6rjnSJm8aDnuTzIbfWDeV6P8n8QHTnHxxLjCVmd72Op8QjluT/Ko3mZ1wFBXtWV8fDllQHJen0QCqlVQijQVT+aVwxR/g86V64eYonxzq2uJGKp8c4Vq4qoj3rSpqps68p46PKa492w0DjzozhHvsMFBSAxV76jhQPQOCu+CwsEYHTv+x0sBIDEKe7dhF8/ejdJbx6VJwPY1rRDijm1Wu+QYjG3P+2QYs6RyDukWIgxSTukiFN0KjuLwuMRjJPeWSRFitjIziJZIsdO7yySIkexsrNIqjGeemeREimyY5ts4NESBldtshESBba6yUboOahqk42QOKByk43QYjDVJpssUSDrO1DKAziMYdqBwpyip3egsJjjlnagMOeI5R0oLMRYpR0oxClKlZ0b73h7Ql2hgNV2blRkFb6RnRuVEhTM6s6Nis6hrezcqKgU6NEtC6xy2MOWhcQo1HnLQhJUeOWWhaRRSMWWhaRwGNOWhcQpdJU3/J1zuOyPHTxXjMLlAoXLBRUuV3O4XKNwucDhcoXD5UoMl3MKlwkULuMcruEH3J9nQqEqmAJVsApT0XKQikIhKpgDVDiHp/AYnEIpNAOmwAyUwvJ+CMlTPyrhABR/S/R9CgPw9Fui77H5gOi3RN+HZgMLvyX6Hpvr6EVoz4vYcz2KV1wuXMajmAo9Ev3d89TXPY393CN5y6pXqPd7Fm9O9Sh27x75b8T2R3G7QY9KCACFhgBPmxJ6WhoCyKoLzHoM2NBjQEoLHJUr2zMg5TbQeUGxk5ucmHaPB5FOzEYmZrh/AzjnayPytRH5andkHLXxKDejrdS5lXVuc+X4Tgoootp2ywRQHlNwb8Q6BO9JeM91oWe7nI1dJfU6mXpdTj2+mQCKSMpOJGUXknI6uN65H8XXtaboeoDELogpuR7QuAtiGlwPGO3HmILrAYnbH6YTfHVyit4FSLwkOSXvAhpfh5wK7wKFXnyconcBiq84Tie452eK3gUo2vc0eRfwZMJT9C5AZLXT4F3AwgQ7Re9yVJzqqZG9fupHpU2A4jub02RUwNPvA03ZqADHX9qbBqMCRj+XN0Wj8oa1oUCbm6F+CXpKRgU0V07/EvQ0GBWw+EvQUzQqR2ZU3h9dKNDlhqhfOZySIwHNDdE/YjgNjgRMxD/+RuGebMM42ebxvE3j9sNgZMMPZX1AJ0NmDzSBxbvAIOCtX8B2vxeYP6QE6DdtAZY7tYDsGaSzvaU9PbcjmyodxanSOU6VTm2qdMRTpSs+VTqzqdKRTZWG+mXLmTXCHwUCiwuyD8nUsGz+lbIPaGvIaPr7EHwNC5b4A7L4OyuT+xMgw7LMC9FnGtFcf/iGrNLeRrc3PlsDLuLQiDg0Kg78wGzP5mE4zeO46xFtVv4weCV8RyuC0NYa3OoGt6Jh6RkZSD74ANrjMGCio3115wxXd54AXRyhnbCXrmYlnbaSTlhJel4EknKZTrlMRy6DDy0S44akxxZJkM1UDy6Sxg3Ojy6SktrHDy8SZz/F7YWDWaXthcyVvarthSyR0da2F7LMlpu2FzIn8y0cHcoYD0kTyIuNy/Fqqhi0pvHINYF9yYRkTqaQUxuPF9HGacTyMyv+GlXL5OAmsI27MBYqZeiuCVc3sRbH5O8mVOOYnL4IYPeGyPONs/EXoRXfm6YAE0aDpSYD02rxqE0LptfileYHE3iSSE85WRDTRZFwzjBW81s9e5g6YqtpHjGhMpmYXrXdPK2YQrZLjyMV5harB5JKkwGpPJJUModFPpRUYmq8eCypJJ55QIPJBynNPyipKQj1PAuhShMRSnouwhI8HaFGMxJKNCmBhA6MmK0CNZqdUJJGggWEl6DMdoIaOwZqyWRRpPkKJZqywvPqYBziSbb4vkrV0/SFGs9gQftOONU8FmQxlaE+Eu40oaE2Fu40rYEGMxtSmtxQ4vkNtFafI81yqH0voGquQ3kkYLUZD4ukCyIUeeJDjec+9fqE0MQMCCpOgohHZgU9FWKBcedPEyJqlTkRi4xNDnlmRDFODvudwl8tq/ZHm3DkP5feH8X7cz1K9+GKZeL3FrTJaJs/yKcxns81WDCeq6BNRtv8QT6X8Xyu8M4TnDDwTYVvK9/D549irgR0JVQB6EbSrfwGPjlK+dTlJRw4b0GbjLb5g3w64/lc9i4FnMzYRrCt+Cyfz4V8QnsbAU5obCPYVnyWT+hCPiH8zfuTQDaJbNOn+ETib94PCv5Z65OINhlt8wf5VOrPWh+kqx292luLHcUXG/ZkYefsj+KE16P4/B+E+MzqapLekLia4J8YvEIHBySetF2RXwONT9quhDuDQk/aroIXAws/nHgVOudqgk8XrjD+gFJdr3E5dl7I56B/VpG9TnchzgP+nEvq70l7Ns8D/pxLVr4n/bJF+SYTPqvS+tsOU/5k/WV2vQ/h+UD7L85/R+Qoy6TlSMULb0NfbVTEkbY/egjaNmjU2zzQBqo7zTDXByfk0/gNm/ylD7nUNpfiiqo5epB0ahjm2hYOtcWdiPSlD7nUNpfi2qqdiUVSbz2Xqsm3npWIldfLg8gfKuW3lfKpQbVlw6Cry7ZzVrhFtNY4TV+1kSd4kGW3siy3o7ICKapfxqVmgJTaARo2BPBGn+RBl97q0qkxqOXW8LvOQ23Tu87EoQV5+WXoIZfa5lJcY7UiG6T01utQrfzWKwtQYbGEc/Ygym1FOa60XNYNWnr5dKhcfvmUBai1WAc6exDltqIc11quDQ/ax8nhftSpH8VFWI/K3SdA4l2JnqelWk/juxI9ojciekZvRPQsvBHRk/i2x0eIuJPdeFg063V/8+NpgfFDTW4ovZFzQLqh+Y2cA01v5PQ4t5/fyOmZaH8bj3Kd1es3PZcVbHNN9Os3vSLqSK/f9Ch3CP1F7o95CfQkCgM9rJr21xf9Nks/svsjjuwmHqC4hfIglMvslUD0tcbpu52rE4j9oVKgk9V2h2pVnDj+jTnx5+X0X5b7PIyEEz+KfvEZRwKifDnzmUYCUhgJgONVzucwEoDRtcznYSTAUa5zW6lgKyvY5prwSABF1LGNV4mfcSQMKO9a1wK1pbJnvaKKRtd3rFcK5L6q7FfXKkentl9dym1VGA2L7O36ZnRdYLRZlXSo7UTXMiVJZSP6Qb2bDDeI/Sh6Ro/ET5X3HO8CO40/Vd4j+VPlvUI/Vd4z+qnynoWfKr8bbOiwqrlDGwKEtevpMjR2mRu7rDR2KRu7zI1dVhu7FI1disYuU2PjfcJlaPoyN52XigMNj8SPIqIgVB6Ik5jDkR+HE9eBEQ/DSeAQpUfhEUOw8BKfAsFhU5f4gxR+FekoIopd5TeRSMyxy7+IRFzHLv8eEgscu/RzSBFD7MKPIcVAcOzUDYci5d+KOFICx3HslyJkERHTyu9ESLUS38qvRGg5xVr/SIQSMe75JyJUKFMfVH8gYihQbm1DHxii6BtXcTcxR9wkirVxHWWTOb4mcGRNiDHNjwOWeO+fAsERVPf+D9JuvUB3+/eEbtC3w4n9I5tw5NdKbVhFt3kV3cpVdFmccFXSjVHiUCm8MUroIZ9nKxBVtP7wspW3Gs+ExvVOtxqHmqZbjYo/VCqwrXFq0HeeUML6jtukbjVmCdpDtxozfZCn3WpK7Rh92NnyzbmziLn+eHNuqCbenCP0kM+zFYgqXH9c2o7u5meV604yNIGUTVV5qFZlW1eoeSznVlY23rf5FiQL0KZwC5LZgzjZVjGq+8iT5XKx0d/ROz+PqHwNc9vQSDzuaiQRTs2S7W8k7pscSfCdjiSU7Y6Ebc9j5FcZXQtUCUN5VJh5eeyXlCExnkV8k0ve7Bo+u89cVKOpVK+pVK8Z66Wm3kvxj4WRVunBptaDTa0HP2YkOvS2koHxFhirnzKaC1SJ53wsbvN63OaV2MxrsZnXYvPfGYlSn0djsBCo0uDF+BfZX1aL/C4j0cZl5ZzLStIuR+uyrIzvVqDKidux3m3rvdtWejf9mTqSa53fVsLaVpr4RaAyzZDN/DsXXQlUCdCq0jOr0Z4REVtXTrCunGBdtdP16KkVGv1AJ1Clrt1YtnT1bOkq2cLXVSzXsqWrWUWnJ8L9QuMizvubjPx9eUPbXMoWGcyh+SR9yzX6Vonwt0o2fBOzkP7bp4Z52YUXmcfxGzYZwZorv4bWVl5Da+uvoX2Bip6eF+IPvwxtw0foBF/0dw/fUnt3KOo1sbyOdHjcRl9l6pmri+bjffnSw/9/OL8wtXywX+UcZWwrnayFaoqvXOmPuYUJzfJKadEecol1BY+ccD1yQrQ2pX63OkNfHIbZaljFH/tRvC20wrU7IHGTaEUrdqDx1tAqrNOB0R2fFazOgdgL84aGl+JOARwGy7mR3aLtMEhXsFwDgu0B7M0BOLQGSGkMoNIWR/EgdJTzRThI9VzUPjZ4nZPdmurEDpbhYPhWIEO+IcHzAB+C7+QLxt0syQMP+xS83O47z/wgnMt5h83pUig63WWd6rIudRnNniDkvuxyXw5zpYOv2LxtOBhqDsSrOMByRw2GoiEaj8ZpUBpXI9PEPDxNojFqnAeqCTxaTYhD1jCNW7+xicnBtzvPI/ZhbCQmhmGRHaalFDEl5olhygnjlBjwijETNW6LuMhEN0qOfhOjBRTsPlDIMpPoCIajLTgW3mBiNAi7TZ06mK2i8OwXRXFzMKKcAx56Uig6HVVlJOKJJys6VbSvpMedzCuJFG0G7u1TaLaZRNcRt+wHJfytJkJkPekvNTFX1iP/UBNJZD35zzSxwNaT/koTYbIe+iNNp0yD9RTs1mMk5pNhkU+mpXwyJeaTYcoY45QxsCuBiTKNIi4y0Y2S1mNitJ6C3XoKWWYSrcdwtB7HwnpMjNZjL+OnDmbrEX8biT7h7mJEWQ+8M0Ch6HRUlfWIFwZY0amirSe9LcC8kkjReuBVAQrNNpNoPeI9gaKEp9doQFFgG4oqm1FUpSXFIsKYYgG2p6gmk4pysqook2FFkW0rqJSppEULCyIYWeSUo1FUmRpL5HyNOmVtFDk7o8o5GtQql5YViixqfCwU2gpjETLEIIItBr6scbLIKJJRkqjsMhYh0wzil0p6JQMNqrDRoINfRi4tlV8lkiFle62/SKRLfCd12XDH3iLSZUbTO1mweoVIal8rId7WOFlz7fWhg563VoktVeVNhuEjfP02FEqrfuLwDXpv3TpN3sTxGyobLtfiT4knBb9Hemr5hB4RUoXv9LFBWziHo/3fzGUS7wY6Frf6ivg+kandfy1k/+fjn0VSZlrCMENGpdzoHe7gnmZxUA73hb8O0/zBbL7i3A6oTOiA4jvYzvHFa6f2trUjf3vamb8u7qzsY3Zir04bKonw1NoU9Sa3yd+tB6Tb1Mg2xVfnHeemNqKpjWhqG49yndtKBVtZwTbXJL3X7oqoo7/B7ijHnn5vd1PWjed2FN/v24QVoqO4LHSe3gLchAWgI1/1OfOlnrOyvnNiizpDJaGeWJt80bfBhAIUt/FsUkIBT+vbDScU4LjW3YSEAkar2s2QUHCU69xWKtjKCra5JulneFwRdfQf3XEUF9QbTKhD8B8muH3vAYMPKG7fe0jBB56etz1w8AHHTXMPIfjAaPvetriqH9lodmSu6kjsbNmyqzqNe1i20VWd0SacLbqqk7ghZYvT65GhWKDJjaItS9tsq85lo8SOpG2wVUeirbzhaFts1Y9yndV+oi3bqtNcE71daBtt1VncGLQNtmrIly9D9PGBxAkhalN6IMFcNVg9kGCJmp4fSLDA3cEPJBhTHNLSlWIhinJOGqfEdD4SC5GiLuU8Na0Sp5SxJtTi1ApUaaDMYhPrDeF8Nq6T2uRaWzi9jVf6NiU6vDINuY6UIoASZTxKKj6o5xChSlFCiSOBGncsanEMoEKhUr+rkYOlP8DjASUaEkEaD5YYGEHNYwPleizTCEFtJJatpvW2y9GC+mgDecygpIcNlhhpIw8elOpJwUPoW1mvnttRXIN/C+tVQHkN/o3Xq0Bxveo4Ls2/xfWqM1qafyvrVT/KdW4rFWxlBdtck7RedUXU0derjuK1wjeciRhR/dNMlLhonJqJkpT7Ic1EzLm1eSYioRWo0kDZS2omYqlS2Uqn5ZmIBeq+NBMNvNyvUoiaaJz60Llouom56S7lPjSNwmKc220C92ERWoEqDZR9aGK9IdyHxnUfmlxrC/ehcepD/BWkGqamBo36M2oiFKFADkeUc98GnUIWNI5LELmfUWwreCQIss9DgfGGct8HTfd/KDLWVs6DoEEu/Ot//z8nhUqv","Helvetica-BoldOblique":"eJyNnVtzG0eyrf8KA0/7RMhzRIq6+U2+zMX2mJYsEuJMzANEtihsgYQMEITaO/Z/P41CV+bKlaug86JQf6uArsrKXNVX8H8m3y9vb7u7+8m3k4t/btazm+7o+PT0xcnRsxdPXzybPJr8dXl3/+vsthsa/L1bPHT386vZN98tF9dn7xfzPzbdrslmseAmR7smR9Bmdjtf9NxqEKbd/Objbve7Dwzb/7ifLeZXr+5uFkPLb45PBrL+6/xLd/3b/P7q4+Tb+9WmezT5/uNsNbu671a/d7vP/vjlvru77q7fLG9nd2Onv/tu+WXy7b+/OX5++uibk5MXj46Pj08fvXx28p9Hk/Oh8Woxv+t+W67n9/Pl3W5Xjx+D8Pbj/OrTXbdeT759OvCLbrUuzSaPH5/85fHjx8NOfl0OQ9gN5/vl5361G8XRf139n6Pjly+ePtr9+7z8+3L378vH5d/nR6+ul++7o9/79X13uz76x93VcvV5uZrdd9d/OTp6tVgcvdl9z/roTbfuVg8D9YDO10ezo/vV7Lq7na0+HS0/HP0yv1ve95+7b4ZGi6NXfzua3V3/3+XqaD58wXrzfj2/ns9W8279l6GzPw67up7f3fx+9bErc1B68vv98JHZ6rqqQ8PvZ5//Pk7J8+MXjybv6tbTJ8NcvFpf7QK9GsUfOtv+5uTx80eT3++v/z6dfHu8E4f/X+z+f/p4P1//7O5X86shoP/+n8n03eTbk+dDo1+Hrqw/z4Y4/u+jPX7y5Mked1+uFrNb46fDPBb+x2Y5xOv9wpSnT5/tlbvN7fvdRN3cZe16uVjMVsZfDBNT+OdudbXL/yo8PznZC7PbQVoP8THJOlx6UGY89/rzbNXdLboPLYk+VrsxW+++cf3JO/5iHO7nxWadu3A1lO0s7+Jj//ljd5ebD0OZL8VI1ovZ+mMO1p/dapnp8q7L8H4rWt5/XHWi7YflZiXo/EG0Xc+/CNg9dGJuuxBTT4f5nUirq+VieZfxurudR8lmYLGzgUS7PzazRcY3q24oZx/ms+PjmjTdulhNVV4+fzrOvci+Vxl9l9H3Gf3ge372fI9+zJ35q3+wpsLf8nf9PSfMP3KYf8of/Dnv8RcvvRryf+YP/pr7dZYH9Ftu9Tp/15v8wd9zv97mD57nD174rJ2OEz3Nrd5ldJn3+K+cfO+HxexTdx9sw0L+ftBinfLnoqdYKs7WV/P51Xx1tbnNs7bZ2fZ6WH+6vMfib6Ez9rFZHs/73Ooqt7rOrURxfsgfvMnoY+7yPKP/znv8lFt5CduScJv3eJfRMqPPouqz1QsLXOdI3Ofv2uQPPuRK2OZWwkl7R7vjnmL6uau7/IqJcPLicc3KVaP9oWy8ny+um0v99XIrzD2szh6x+3Kc5slxXCvuw+7AEH3Wx6zWjg+L5Wou+LprfMvVZjUs41cewJMnWDbreTl0TdGtRy26rG4280G5Xd7rI4edXL74K3IMvSXOh7lg4vhpOJSThwPXs5ubTqTtnuOhGB1w7OauW3Wi9odjodnNavYZTO1pzazhdKITPujhfT9bH4jwYXWljxVsAqI+nBSMnx8Oseef1/O1kIax3n9cbsKxYlr2Q3L7zK1mD6IeZlebe3XoUrz8w6L7krVGZd3OrlbqcOf9qlM7vl7ez65Cxbk0H2YSA2DKCuvQO9tdDyFVx6ibu5vZanO7mG3EbpY3w2HmJ/F1MxwHzMttyFkXXvlhz5PnI1uurj8Mx3nhwNCPUOIi6wcgkfsezmAPz57aHm4Hp9sscBe2sszEYnu9K/r1Wixgi7hjX3kityOSpRjUUJ/DKfGQ9+Ic4h9pSt0JYgb68h/zxpcmOan+dXH2/Ogo96AuF9fzhzkktH8k9swPmEVxeLcbHzo/9KG+EYN1OfeiMoGh5q/0/YVScdyeiBnVg38m9s5ngj7gZwFpJ37OMHgEnIScVCdWA33+5HkVx6seYlfkOr52xjzwUeq4/Ko64OXRytFoqn6kL4djp1Ktb4vGCuFMVgkZooe5Zk/0w9e499OX9dRz+Wd3dyMy903chZ/FqUF6chwskkOZ+4oXEjuabYz1isfq5z85chbVtx+XKzGqM9q7h4GqwE70qOBP6yJGYbNqoh14xPTiVi5wrDflKGcl+htT0KPY4tFWzQRvN4v7+edFL/rVKP+3cYCWSMPx1v18trief/iQ56pvW8OvcT+esCJZvDYOptmBVactXTXGe9eywVbG/BoD5Ish1T9efhuOGPAanJ0CrZafujs8ETJzXHU383U89PUSjZMNy3Gui3qosd4MVR3ORzzYdAxphdmIzLKV6v9qfOBfVOGnL+uxa7nSFa+DWZx/vP+Y4fdNA1wo37Kx3DdMpmuuji3hVevw4UBWxgD7+XKrNHjf5gqtGWktPa1ldN3ac65j2/fBwxJeMetxQbe4FwZ+H0zaPXG7POCIqWv2dbcbMZLGGr6Ux5leC3zwY1ef4hHOiyen4ONDAq+GRF7n7/ud8/W0Tv6isZD8fHD9/SVOnJ9K2H0dZYrJFtwyYpict2r8l9hti8MQtY+zBSwNtch3pyaxwn0u1BJgvhwPmzzVvjKBjVLoWgO6iWaKAxqnVc2qPhv5XR4gWgbLnltCXA820amMbSz531MnbOEitzk1O7+eXymj/SF+ERyYHTrc/ZUOa627jXl7czivD+7rVeM7XzVNOp4O2AzE73EjPnBA+WNruad9+yVieXZnB2TxSMC+7WAp0ASZXx7c02J5s5vvu6UI97Jtppu8jtUMGr6qUck3Bye3g5XcY95I3zu5jtvFnbt80Oye31ruftzs7kb+59Hk525199tsvtrdQ/735NXubvXk0Tenj//zaNzau0dA+35GNJo6wr8NW099a+8qAeHAUDgL33OWu4BLb+A2VYHu6z+g4DxBGUMW2P7qUED7wkH0Omy9HbZe+laNGaIwehfOQyzO6+gBhdEDh9EDraMHRKMHxUYPbKzrwIqdILkYtl7Y1nTYemZbl8PW8bFv1iEhg74D3gybT3yrfhBQiAVw+D6gNRaAKBagWCyAWSyAjbFw8hAyYRu0Pm7lEfW552MjLE1DVBzGqUidc6VWBcrVENWscVm4VT3L380lbFzVsYm5mE2iijauy9pkrm0TqMCNU5VX/jojqHdDVPTOVeVX9TxHlD3AuDICE7MbmESWYFz7gslsDiawQ5gQbaJi8IqKwDAqQtcwxtZhgvCPqoGJGKK6M67sxMR2ZbKxGNfuYjJbjAnsMyZEs6n4ISfkNrfqBWoEQrjQaAboQoaovo2TCzlnF6oKuJAhciHj0oWqepa/m13IuHIhE7MLmUQuZFy7kMnsQiaQCxknF6r8dUbgQobIhZwrF6rqeY4ou5Bx5UImZhcyiVzIuHYhk9mFTGAXMiG6UMXgQhWBC1WELmSMXcgE4UJVAxcyRMVnXLmQie3KZBcyrl3IZHYhE9iFTIguVPFDTshtbtUL1AiEcCEMDVpR5FTpUSRTIpGdKchgT5GTR0VRGlVoctbYH1tWFJVvxRbZvKJODhZFbWOxDXtZVMnQokiuFsTXDQ7+FjmZHInK6UKT88a8sOdFURlfbJHdL+pkgVHUPhjbsBlGlR0xqtEWgwbeGDgYZODoklFgq4yq8MvQAEwzcjKMKCr7jC2+4itspFHUbhrbsKVGlX01qtFcg/bQqItto33f4ofiJ1zXCXouUjIqlMhvg8RuCyJ4LVJyWpSkz0KDM7kf9liUlMOinv0VVXJXlLS3Ygt2VtTIV1EiVwXptaTgqEjJT4Ok3BQanMvYs5OipHwU9eyiqJKHoqQdFFuwf6LG7ola9E5QwDmBgm8CRddEzJ6JmnBMkMEvkVK1o6S8EvWDXsA+iZJ2SWzBHokaOyRq0R9BeZAZvpVte03bkRKuOI4eLdEQmYpxMkPn7IRVARs0RB5oXBpgVc/yd7P1GVe+Z2I2PZPI8YxruzOZvc4EMjrj5HKVv84I/M0QmZtz5WxVPc8RZU8zrgzNxOxmJpGVGdc+ZjKbmAnsYCZE+6oYvKsiMK6K0LWMsWWZIPyqamBWhqj+jCubMrFdmWxQxrU7mczWZAL7kgnRlCp+yAm5za16gRqBEC5U+4o25Iwq3AUyIhDYiUwCK3JGXuSCNCOTz8T3sx25oPzI1WxIrpEjuaAtyXX2JFfIlFwgVzLhtWDgS87ImEBQzmTyuYgve5MLypxcze7kGtmTC9qfXGeDcoUdypVoUcbBo4yBSRlDl3LINuWK8CkTwaicUYG6oKzK1QP1y2blgnYr19muXGG/ciUalvEHkatb0a5XrBUT4Vq1Y+hazsgIXCDXAoFdyyRwLWfkWi5I1zL5THw/u5YLyrVcza7lGrmWC9q1XGfXcoVcywVyLRNeCwau5YxcCwTlWiafi/iya7mgXMvV7FqukWu5oF3LdXYtV9i1XImuZRxcyxi4ljF0LYfsWq4I1zIRXMsZVagLyrVcPVC/7FouaNdynV3LFXYtV6JrGX8QuboV7XrFWjERrrUaf9HDd1cJmUDF5FeG2a1GAbyqEnKqiqVPjeJZ+l72qIqVQ1Ut+1NVyJ0q1t5UVXamysmXKiZXGvHrRMCRKiE/MqzcaBTPUwzZiSpWPlS17EJVIQ+qWDtQVdl/Kmf3qTx6z0jBeUYCvjMSdJ2K2HMqF44zSuA3lVBlVay8pmrNmmOfqVi7TFXZYypnh6k8+stIH1LWbVObPhM9euEqY66jrRiiwjVOxuKcnaUqYC2GyFuMS3Op6ln+brYX48pfTMwGYxI5jHFtMSazx5hAJmOcXKby1xmBzxgio3GunKaq5zmi7DXGldmYmN3GJLIb49pvTGbDMYEdx4RoORWD51QEplMRuo4xth0ThO9UDYzHENWecWU9JrYrk83HuHYfk9l+TGD/MSEaUMUPOSG3uVUvUCMQ2YW+G+iruBU/W1B1DEAipIXrPcRAFkRBKoziU1gITSG1fB3tquvYtyydHIXuAscEc1q7C4imHBQbCDAbCLBxIHvywxj3U9+KbvoDxh2Q8NYfKO5Ao6P+EOIOzLoLbOwukGibP4wl71vTsLUr9Oe+VUcHCLrsdP97bHVyd2T8yTVDo/9i+AxRDI1TII2raJqYQ2oSxdU4B9cEjrAJMcyGKdaVX2Q0zQhCb4jibzxPQpVoJipO01FeCIzTURFPR+U8HZXL6aiimI4q8XRUnqajCmk6qkDTUTFPx8gvMppmhNNREU9H5WI6RomnY8Q0HX8dZ+KFb9VdAarxBxRCDxw6BLQGHJDFGpiFGdgYYSA1uI524zzxrToCQHUEgMIIgMMIgNYRALIRALMRABtHAKSOwFGdrePHhmymRvbTOFUnvhUH+hNOFSAx0J9oqoDGgf4UpgoYDfQnmCogcaA/wUCd2DgdbeJWHuamMaaNHNMmj4kPyUARo92I0W7CaH+e7E95nvhWPC4qSBwEFZ4OggqNB0EFyQPJotDhUWH1fAZQPBbaoXLc8tS27FjIUT2BQRQOj5zj4RFQe000YDtqcuTHRs782MjYcjcC37JIO4qRdo6RdmqRdsSRdsUj7cwi7cgibWgT4r7J+aHOO36eqFOOnyfpbONnkdWgiPzg04ufJ3xmsSO9LVBlKy7RBaWFNryLH+qCBAoBqSoa1CQHhhpQjEjV4aJGHDmSqchIpXqLKiQ/CVSFpFJBsipqk5rkMuUGuWKpBRUvqVzHJHNJRxmqmwQqdFJVzVOTXP7UgJyAVG0K1Ij9gWSyClLJNaK6aSUSewmpXy8k4TDU4GAhNXyHGh0upORGJEdjiiJ4FAlkV6Qm5/plgtfwyla8fLdH4srdTtgd3o+XnXabUztG3W2VC1knvmklDgzr0nH8Bc1BOo2S4H6N55dJurzzy0Rd2fklv6PqiIJw8B1VUzEc+Abni4gwMPkNThZEiKrWilPQW2KfA8Fha7/1+EvMK4ggCRRHVlU0YxuMaVQgslHA+JLCUSZZxDq2aEVctDrcpG+FkuegXcBjg9FecQ4MUfSdq7hXFSNeGcS6IoyyMY6vCSKyVWvFNOgtsc+B4AgaT7EbjtPKCeZT34q3HAqKd4MKEjcgCk/3HgqNtx0KolsKhdHdhMLCjYRC6nrp6K2Z+RnOOaIw3S5chO+Zhq13Ycuv0JxN0sWZs4m6LrOj9dzXd2nnviOqFgPTYIjmwjhNiHE1KybmqTGJ5sc4T5IJPFMmxOkyTHOG6w6FgWevse6QepG/e5rRu4xgWtNCxDxPcJVolivmqQ4vU8F8R06THkWa+Siq6Y8tcg5EnRIhipwNUeWUiGrMi6hRcqT3OlX0OE0Ovdepmlw09jdt8HcNDvmjX2+UYs6koFM6BY1zCl5EgYxCSvmEEmUTSiqXUM+ZhCrlEUqcRahxDqEWMwgVyh96hy3HiXOn/Q5bbnAh9zOV9J2kkDHq1S4h5WwBlXIFFM6U+qYApIkhyhHjlCDGVXaYmFPDJMoL45wUJnBGmBDTwTDlAr7sQ2HgLGi87EPqRf7uaUbvMoJpT+/GMM8TXiWa7Yp5quO5Oc44KzTxLNP8s6zSgNvkbOAWlBQsc26wzinCeswUVilhSH7bjCmnT5JVFlGji+Z+p03lXVOBDGOFEo3lnG/UgtKOVM4+e7of8s4ZZZwLlGsuqCxzNeeXa5RZLnBOucLZ5ErMI+eUQeFFHo4IZ03rRR6WL8T3TwV7JxjkRX7fJQk5F0yjLDDO819PN2H6DdHsG6fJN67m3sQ89SbRzBvniTeB592EOO2GadbxGgSFgee8cQ2C1Iv83dOM3mUE050uSjDPk10lmuuKearrU2Mw1YZoqo3TVBtXU21inmqTaKqN81SbwFNtQpxqwzTV+OAnhYGnuvHgJ6kX+bunGb3LCKY6PSfJPE91lWiqK6ap/m2c5fHJhN9whpHV2UVGT9a5EB6tc+zP1jmDR+gcwjN0Du0hOkd1BoH5czJlK14xKyg+0ViQuKtSeLquVmi8f1IQ3Q8pjG6CFBbufBQS7yr+BvM2Xk3codigy4Oy+4iI9KA6OahwmxBwHmsnxtqJsS5Ditn9PkDika/C062cQuODXgXJh8OLQk9/FRYfCS8oPtv1G1bHGP3XE3zEtGzFR0wLEo+YFp4eMS00PmJakHzEtCj0iGlh9IhpYeER09eeRj6MOrQ9eTPZ382HrfhsTkHi2ZzC07M5hcZncwqSz+YUhZ7NKaxOEaD42NGb0Z9hq2Y+ouDKLpzHrTze88Z4z+V4z/N4eSJBEeM9p2eR3sBEOvFl5M0EHzJ8M64Url3GpfkNrQ8jrVcxYfYNUUiMq7iYmINjEkXIuA6TyRwrEyhBjFOW4HVoRpQvjevQpJ4L1IiVzCET27HibDJ+OFYpr0zg5DIhZli+1G4Icg2vq1Mrzjp1XX2U6oPEkHqGKJzGVThNzOE0icJpXIfTZA6nCZR6xin1Kn8rEKWec5V6VT0XqBErmXomtmPFqWf8cKxS6pnAqWdCTD18tJ0yBFIPH22nVpx66tH2KqXn2E6kwKE98BybbiLCrJ9j02oj5I3n2LTMqaqfY5Pq26bAyXvoeQfZ5rwpHIy5TurY5GsxTwke1f+fmOdkj3JK+ShT4qcHQWSWYhGk50DkJ1JBNJ8C2TcYpruc/b30rfoNgOoZE6AwKcBhD0Br+AFZOIFZDIGNgQNS89eRv6D6FksYkDjVeEvFCjSearwVZQkKnWq8xQIEFE81dmh3jvfCt+K7GgXFdzUKEu9qFJ7e1Sg0vqtREL2rURi9q1FYeFejkPiuxg5dLRc08nru6m12n3jmW3WUgKqxIMJRAodRIoVTV8B18IBs8MBs8M4+9p8/duWc68TYMoxqmWdr2ZiapZyaZZ4aPp0FRUyanc4CyjNkp7OOVnErD2QVvdyFdXc7z1O+CaW4yfaxaXjFRnrFJnsFP5IKinCRjXCRTXKRbZjwPm7lJO1z5uG7iC8JURDSu4jMVYTUu4gsUazyu4gscGz4XUTG5LV4/H5KiFxXH7+zmP03Hb8z106cj99ZIE9Ox+/EwcUMUa0YJ582rhzBxGwLJpE3GGcbMIEN3ITo4obJKPy1z4UKHZl6xV2uBbZ34+TxzoXRm9iuOWX5ppHvG2fzN4FXgCqkZaAKyxwMXhCMH8oBsTSY1MiBxiJhcitFeLkw3kgFXjgqXwnUGLpeR6oqFpMqwYpiqOGocm0xse2cvMoY10uNyS1jTYuOCdpYtznbeoEa5aRWo3Cgj2tSFDiOUeX1Kaoy1rGJiHhswHGPagpvlFOQo0yhjiKvZOlywKkUeFU7cDlANxErnL4coNXGate4HKBlXvn05QCpou1HgYs+qrwiRlV6YmwinDE2YH+MarLBKKf1Msq0akaRDTOo7GgkxnU0vkjXquW0pkaVV1ZS1foam3zNS+RaG1vwihvVtO5GOa2+Qc5rcHzJrhXOtB5H9esZqNbm2OBgBrbW6djocJqmNTuqBxMxrd9BXTWFg2FrrOihjVrXQwNc3aNwcG3SK31s8rXVJ636UW2s/bHR4SUqHwdE+dAStW3VQN8UDlpDPko4n+ATPed4PAAoPsdznlZ+4Ol64jmu8YDomZ3zsJoDC0/qnOO67aja6BMj9EMo9XoyjrXx6o1zGvWhV29czONvvHrjnCPRevXGhRiTxqs3xik66ZWVkTdeWSFOwTr0ygqJKmxfeWWFdArgwVdWSOVQHnhlhTQKqnx7Q0WQwyvf3giUQtt+eyNIKqwH394IKoX0wNsbQeNwNt/eCAqFUrzakGPFYcyvNjiiADZebXCuQtd+tcElClrr1QYXOFz61QbHFCh+JYBCwSFqvhKQFArY4VcCkqzC99VXAlILCuZXXglIOof24CsBSaVAN56F13HlsItn4YFRqFvPwoOgwnvgWXjQKKTNZ+FB4TA2noUHTqFLj45zVDhc9hPbEC5nFC4XKFwuqHC5msPlGoXLBQ6XKxwuV2K4nFO4TKBwGedwjb8cDMGqhEJVMQWqYhWmquUgVYVCVDEHqHIOT+UxOJVSaEZMgRkpheViDMkL34qnKxcYCkDibO+CQgA0ntddhKEDo2sIFzBkIPEkbYf8Z5nLVpy5guJZlgtncSumQkFivgtPc11onOeC5O8FF4Vmv7B6fgooTu8O7ab1mW/FU5aCaggAiesWhadTmkLj9YeC6KJDYXSlobBxxoDUETiKp7MXk/SI9g7FQXd5cuxKDSI9X52cr3AhBnCexk5MVkdlumN2ccWzc3dB5aVvxVPygsR5eOHp5LvQeMZdkDzNLgqdWxdWcwxQvJR7MclPbe9YvhCxo5sws5ucjZtG6m1k6m1y6vFlBFBEUm5EUm5CUk5H14Ot2Ospuh4gMZApuR7QOJBpcD1g1N0puB6QWEPTCT5wN0XvAiQe85qSdwGND3RNhXeBQo9uTdG7AMUH46ajd536VrwZMEXvAiRuCkzJu4DGy//T4F3A6Fdrp+BdQOK1/Cl41zEQvAo9Ha1r/yNlU7QuQPZ2CaD8C21Tsi6k+HaJ4/gTbdNgXcD87RJjZl0+1GVIuGUukmWjIpayIpa5Iti6QBG1YtYFKBcGXaidknP5vO2c69TGb84FKCaec0w8p5Z4jvhmkyueks48JZ3VlDTSh3rqc933qb4vR8Mbf6npEh0Pmb2RBiy+iAMCvokD2F7FAeZv3AD0V24A1nduANkbac521vfct+KLfJfJ+oCnd/su0foA0cSBYoMBVvMSUO22o5ktsJdofYDizeLLZH3A07HBJVofIDoCuAzWByxcR79E63NUS+gpkFv8ZebL0fte+FY8n7hE70OUzycuyfuQgvcBjqcZl8H7gNFpxuVodDAEczpk6tXMS/I6xPRq5qVwO5T4rc1L9Dtk9Ibm5ST/GPYlWZ7P1yY22oiBbloD3eiBbsRA2fdQUgN150MYX0+9tOv0YAbpJkQS2NP0bYikCndLNyKSkHwu34pICjleuhnBAnhfeseMuXJB9Y4ZS+SHrXfMWGZnTO+YMSePrByM0hC5pXGyTOPKN03M5mkSOahxtlET2EtNiIZqmFzVbzKFUuV7T1wDYHOGyGmNk906F55rYjZel7L7mkYWbJx92AQ24yosxaCTLZsgLctU4VumsXmZ0HAw05ONmcKmbQI7d7qTyILw8CptRPPk5iYcjI/yddNa8Wk5vOnN+GSvN4UMn275VSdU9/yUxs7fvOunGgj/V/f9lJZWAXnnT4m0Fqh7f0KDFQEpLQooqXUB9bw0oEqrA0p6gcAWvEagRssESrRSgASLBVJaL1CiJQMltWqgnhcOVGntQImXD9R4BUEtLiKo0DoSbgYHxxC3iUWBgWkjpTUFJVpWgiRWFtTz4hLUvL6gTEsMSrzKoMYLDWhLHZK03KAmHRUbCFNFmX0VtYa1YpPkrijyAoQar0HqUQGhiZUI1I3+UFqPUPtaANWqhPKBALbWJmxyKIB5hUIxLlJDOU38V0LKlv+uj6F4/8mF3d8k3P+Vh93WNmz5dZ6yFa/zFJSu81TXwx4Zom4Zl32rKnSwom1Gfe4B99d47vTYMey0Ieq0cdnpqkKnK9pm1OcecKeN506HZ5Wg55FT96MoxxCawEAC3zZ43+gfjyuKeXCQ7jA0pDQwlOSwoAEMCuhW0l72iYeDUh5MfcwHRmKIhmFcjqGqMICKthn1uQfcb+O50/bYB/TaGXXbBdlvk6HjxraC9aIf3HcXcuftIQzovDPqvAuy8+HP048dDX+enlkv+sGdl3+eftTGByWg65VQxyuW3Ya/ej12EP7qdSR92jd3V/zV61Gpv0AHvTVE3TUu+4t/JHfsHv6RXEJ97gH3Wf2R3L30fqAL23PZ8uMEQ6qXRfCDm4o24avp7+G9T8cawGXf6O/hvRcHFKDQjdD34fABWPi1ivdjpH2rj1t5DDmOVwP1QOy2PgXtk/oBkasx+LAV93WVgw9CvMV7NXbce9DHmbyijo+0Hgt8zAiGYEj2pqoLgWhExg9/EY0Nj22okzxKdWwzSvbia0YwVEOyh1VdCERDNX74i2io+L4kdZKHqt6XrNJwWrdYzGiwBnG4DnU/TV9IyIN25WtfxwM3pVddToN3JQ9/f3I0WX+eXe0+cjrScsKd/2zNSZYbWvzC4fRscm07LVtX+79dC8hN/Dr493UdqG/ZCB3h0PZ03APu2BDtvfKH/OltRr1A1CPjqVu7ihuDtN85Xko9MfIQPrANW1/CVh+3YkdSfe8pXacfO8IXdk8ifsif32b0JaNeIOqm9KK9RD8+MPaVX08/ifghf36b0ZeMeoGor9JMRkm8JlI7rN4SORHaQ+Prtg3+pcH7FufhtM6qRj1fiBtHJK7BnCTlQX7RVtIvkvaa0igaJ1NV9WtzPAhQeBQgPejv2mr8ReO+gXkoqOWx0Gsh4zj4rZCTiB/y57cZfcmoF4j6q84HR4lfDxg7m94OOCH+IL5iK9gXwXrFqMvyNHDU+Bn9sc/pEf0T4g/iK7aCfRGsV4z6LM/+9tqHCV4kr6SLW/GooKB6LRxR/gHjwtORw57in5R1HH/XuCD69eLC6NeLd2xpRzllKx4yFSROigpPJxqFxpOiguRJUVHopKiweOhVUHw69MMkXIKuiA6dnkQh0Jv9XB37xjhsIONMIYE4APYwIPRpAjrGBkgNAKA6R478pF1cXmheWqjtYKRG4nANxzE7zgM3LY3elRQCk2IcDFMwjFNE8mXgm8Zl4JuDl4EjhDDpH4HQYgzZgZ+A0C1S+No/AKEbxFA2fv5BqxTWqN60wsQhJlUFuv5JzRPfijbDf0hzTz+N7rR33E/oToCifTpPlv0J3QkQ3wNyxR3UmV1VcmR3yvYo/0qGFmgsh34lQzfJI2z8SoZW9bhbv5KhZYpG41cy9uoirM6LsAYv8uq7kOvuIp8HLfJJz6Jx0rNon/TEKwL49fkHIbRAu2r/IMTYoP79l21GvUD09ervz+6l2wle6SxbsdoKEot64akKC42LekFyUS8KLeqF0ZXOwsKVztsJ/tndWxwxIOjdnt5N6k1l24pHXXdpsMDTIdbdJNwwNiT/RsTdJN4eNkZHWXcTvBlcye7g9dS23B7FPRR99+QuPuEVEQWh9XxXFHM4xNNdkevAqGe7osAhyk92BQzByreS71K1M8+xw9+7OyZEsdO/d8dijl36vTvmOnb59+5Y4Njx790RhtjhJRcKBMdOXXKpUvpNoWMpcBwP/KaQbiJiqn9TSKuN+DZ+U0jLKdbyN4WkiHFPS4gMZZqD5hIyNqj3zmAODFH0jau4m5gjbhLF2riOsskcXxM4sibEmOL9xtOI+hwIjmD75uJygnfWlmEd3m35H25ahl0t816WegfoXYRgV3gR90ls1ecP8p7bDrdMVzgVh46kK5xPRPu+8T3cr688NwKHrtg1ebkSKXRLPvsRKHXp4LMfS7xqRwi6glftnsRWff4g96D9FAcdi2MvSIHOkAJ9IqVvfhv3kOXc0XC9kBl0LlwvfELtevFZ7sqBx0bqWQf2IR9MG4Ie4PE1fZD3r46vRwktiRDsviLYfTauZcO4lm3j+jzB84PP+FlA6aygXjBr3WGMekuM9xjpq0x94eqi+3Bfv3T//29On5laP3gdP2S43jMUmt/wjTjGMWrqpm9sEa89Bi3ERYxhFcNiuHZIafVqsNRCZ0WL3dw+E7juUGnxF0tJqzettRq6o1rkya+SF8oQpN2zHrgVJ6yg2ktE1jmA4/X3Z0aug27p4+jG6qFs2aUsR3T9ygR76d2/bBm38kDUlfPCU1EXGk+yC5In2UWhk+zCYvYWFK+c75BdOfew/REarMO419FcVphFiGx+EDZieV9v5ZSN0Mr5Q70wudobHmyEC7KraHcjtNvtPjRDNFHGKe2cc+7RvfwayYqvc0tORXum2uNiiJLSuIymPSFF6Vn5UqDG+GW2mphT1iTKW+M6eU3mDDaB0tg45TI/O8HT8Eduus6B4/w2TknunDPdlUMT5LltRCU+nDRQJveZxDoQ5wKjYs9zeEQMUTIYp2JwzsXAf6niWcTXuSUXQ+VQDIaoGIzLWKc/HkE7WArUGL8sBvW3I1iiYmj97QiWuRjS345gTsWQ/nYETcMfuek6B46LwTgVg3MuBlcOTZDnuxFVDHAFizK5zyQWg7h8VZVwUQVLIgqcGFHl8iA1FUnUqVSCeN36VCqbfL/uqRK4hA7er1NtUjmlG1xaOBhBXWDNG1y6ARfbwRtculEqPH2DS6tchEFNpRjUP1ofW7emIRVnVLlESU2FSvrX0wDqMnJZunwpVFZf3+JUzK3roHs9Xi+qYUKUH0j0gATYuAcILzXSKfC4Vf525/iinyF/1oc43SIP6oWdQlUyTWT3JyjHM3NDlhzE8UJAlOrZ+3ha/iKLo7LP32EOJ+5oZSsWeEHVbACJQi88VXehsaQLohItjO4nFhbuJxYS6/MBrPeFkZ1/PfGteNPxITkV8HQz8gE9CRAZESj+i2vOquUAquNwRD9dtoWhnRpxa95mP942THgrnXeb7Xbb9NitMNZtdtNtttAtDm0/kN0VZL/vULbirY2C4nN1e5RvdBSe7nHsaXquruB416MguqNRGN3M6MdaeeJbMa96rBVAItV6qhWgMdX6UCvA/Cf8nI21AiTmWJ9qpQ/z0Od56PM89I156OU89Hoe+jwPvZiHvjEPpQie2pYVgaNYBM6xCJxaETjiInDFi8CZFYEjKwJDVN91QcSsMkSpZZzyy7hKMhNzpplE6Wacc84ETjwTYvYZphTkyywUCkgHQ5SRxiktnYvcNDEnqEs5S02jVDXO+WoCJ224dvM0IkrfxrUbEnMi52s3xHVKi2s3JFBy52s3kXOaw006yHSklOwoUb6jpFIe9Zz1qFLio8S5jxqnP2qxAlChIsjvgohYQbohpWpAiQoiSKImUM9lEdRcGShTcaDE9YEalwhoUCVIqVBQUrWCei4XVKliUNJFgy24blCj0kGJqke8BjQmxZ8TeI75T8gBIOGJ5T95xgHzedafNL9Aw1PIf+JsAorPG/8JPs4kdppdPOHcfeHhSUkDYQdnTENK/j3yerLZZRLHZTiOy3Eel2lpXK6kcZkUx2WYxmWcxoUvSXWaxvEFKY4xSnmcQU9jjWoab5DjmINE4w4ajP0///v/AGoZ428=","Times-Roman":"eJyFnVtzG0mOhf+Kgk+7Ee5ZSdbN/aa+ebzuMdvupmjORD9QUlnmmmJpSMoSZ2L++9YNwMEBkn5xuL6TdUkkgLxUFvXv0Y/1/X212o6+H1397XEzv6sOTl6+Onx1cHry6uXJ6MXol3q1fTe/r5oCfyzuq813H+r7+aoVHpdLFA5UmN8vljuUGjitFnef27tIqTfb+XJxc7m6WzbFDpvjzS+L5+r2t8X25vPo++36sXox+vHzfD2/2Vbr36v21J+ft9XqtrrVGzWP9sMP9fPo+398d3R28eK746OLF0eHh4cvLl5d/PliNGkKr5eLVfVbvVlsF/Vq9P13jQzCH58XN19W1WYz+v604VfVetMVGx0eHv+luVBzk3f1dnHT1uTH+mG3bitx8F83/31w9Ori9EX773n376v231eH3b8vu3/PDy5v6+vq4PfdZlvdbw7erG7q9UO9nm+r278cHFwulwcf2qs1dqs21fprQ3szLjYH84Pten5b3c/XXw7qTwe/Llb1dvdQfffXqjnr8vXBfHX7P/X6YNGcvHm83ixuF/P1otr8pXncn5vb3C5Wd7/ffK66Buie4vdtc8p8fStqU/DH+cNfhzY5Ozt+MfooRyetJS43N62p14148fLF6KdKjxsjn78Y/b69/et09P3xRfffq+a/Fyd9e/2t2q4XN41B//Hv0fRjU6S93LvmQTYP88aO/3nR45cvX/a4er5Zzu+Vnxxe9Pyfj3VjqeulKqeHw4VWj/fXbUPdraJ2Wy+X87XyC7nLQ7W+ab1chPPz4Tbz+0baNNaJT9Y9QdfiUXuYr6vVsvpUkvxp+njzTXvFzRdTzk6Gs5aPG6Vqs5smOOfxFp93D5+rVSzeVGVRW02OpZKb5XzzOT7Nv6p1HWm9qiLcPiUlt5/XVVL2U/24Tujia1J2s3hOYPW1Stq2ym26WsADa5Vv6mW9SixR3S+8pC2wbNNAoNU/H+fLiO/WVRPIVs2TkxNxmmrTpRpRXh0fDW0P3nd83LNLRWdn5z36IaIf44k/Wamj4fo/21OenvXol3ji64j+Gh3sjaEmtXXof+OJb+ND/GqhJyf+LZ74LqJxfPrfYqn30Tgf4om/x+f6I15rEtGVtZq05zSW+hjRLN7x79Gq101n9qXaurShnnndaD5O+TyfU07OXklOuVksbhbrm0fLohocj23S3jQ9T5J5u/zmHka9eB6vdB1L3ST5N5ZK7vwpnngX0edopEVE/xdP/BJLWQhr5k+slSSdJO09RPTPWEfLDRpCm/hcST57jOhr9LinWCrJpLvYHP8ydHFo/uUd4VhbHTpTX556uJMj8MbtYnlb7Opv66fEzq53tp5g243TzDmOJOw/tQNDzLNW56zv+LSs14uEb6rCVW4e1003fmMGPJLad2GzWXQD1yT996MWZ01z8sdFo9zX23zk0Mrdhb8hk+kl7X1aJCwZPzUDuXQ4cDu/u6uSnrvnOBSjAUfbdtW6gtg/tbHQ/G49f4CkJqdeN9OHKqmlmfd6vtlj4f1qYfylDeD1bs7Q22a5XDxsFptEauq6/Vw/urFi6Padc1vLredfk3iY3zxuE9zn8k/L6jlqhci6n9+s6+TG1+squ/FtvZ3fuIgzadG0JBrAEhrGoT1sdduYNBujPq7u5uvH++X8MblNfdcMM78kl5tjPaBd7p3P6uDi0kY9x+eDz9fr20/NMM+NC22A4vtYG394rjcY2w1eHh3qDe6bPPe4dHeQzDRPRqO3bchvNkn3tSyMzevCc9bJILqJzmZC3Hh90mpvQoNax+z9zzp/7zXWMaVNapfzbWdjo/AEOoq+XXxdgDvbKf7JbLichIY9duGkSXKSdRYUg9pVdzMvChKoaryk3c8FiuFyQ8wpGuwc/3TWEnSCzQHCTWzG0GQImIL4KSZV9PxMxWHNI7kV5RwbFXo/sFrmdnmXPYCFR8lHfUq1cX52NZtIla7m0yqYMyZK8xBXTeCUEW3wSnc/H+6yrP9Vre6STPKhEFGvs0qac+wNkn2ee1nqRtaFJr3hutrsJ1pOxyR/fK7XSa3GdHczA0WBTvOIX0iyLZhtQjcwi/muzS1vbB67Mc46eV7vgmbFEqe0Kknw/nG5XTwsd8lz+QqCk/vmkI6vGW1tF/Pl7eJTMsHalVPDO38fc9jEWSw29rrZnl6nLN0U0t2qlAapQSGnzFM/fkMXwsW3ZsCAK3A6AVrXX6oVToM0Oa6ru8XGD3wtRAsjrzcxLs50LvLYRLWbjZixCyPIdcEyNceSxmXBpf7uLXZ68kpGrt06l18F01r+vLURiiXZYgJcZnnr5fHgvdtCkqmKvWNJuCwNH/Z4pTewzZZLoVG697jUIqWuh3Ou9iOlO5fjeLx3WMI9powLquU2We7ZuiRtOfGp3pMR40hPzrt/TGrin8hMlY4zLRbI9DZP9SOc81PM440DrxtHhkfTbiRMYaRtloWO5G06yNAZhm+4V7JuoK90spxYnpC9KYT+m1KI/0pPLWZojPZ5voSeQWK8nZnQMrc2xb6x88qPmszTvtF+hUioSt3znc+lWKGhVbNG9fnMeDbcVQfOZzjqYE2WyF541BRalgnn+XiDks2pZvPbxU2WZ38q9GfrvbV559vHHpdGuzbc3OvWe+91WfCFy2KOzmcDY38dy8NJv2kjkUJvX0oUX9Lxs47H3EDArrY3FPwj2PLu3jst67u2vVd1Moqvy7n0MUoSys2lCpF8t3fOUEFHbjYvuO8q7cbh9WHoISzll2L858f2VeSfL0Zvq/Xqt/li3b5A/sfosn1RPXrx3cnhny+Goz57ONQ/p0dDTkf42h/1WcUhrBgK4+bo9FSP5BEAgXM4rk3laB//DrnM45TBZI71i0MO9YGD6L07+qM5Ojo60kMxmmOu/qBM3KUm0QCTggEmqQEm0QCTogEmiQFk6OdYl1GQXLWVeKmH0+bwlbbprBUPVZxJnZDBwwOGfQHOSF+bw/MTOXpq73YsRzt/JDcDBPca6FAIA0ARRYFyCgXjHA+ivE4QRYbyNDxEhRhRRH6iPHMWFaPHqERuozz3HZXZgVSgMFJOsST8fUQYVco4tExI40vkSbw8R5ryfRZMYk6lggUL0adyyYIhDlXwwSgYI1IYhKUgjE1lHKAqJFEqWhqqIkK8CoKgFbRLEIWv8hjDQyhhDCuiGFZOMWycY1iU1wmiGFaexrCoEMOKyAOVZx6oYvRAlcgDleceqDJ7oAoUw8ophoW/jwhjWBnHsAlpDIs8iZfnGFa+z4JJDKtUsGAhhlUuWTDEsAo+hgVjDAuDGBaEMayMY1iFJIZFS2NYRIhhQRDDgnYJohhWHmMY2wkD2XOKZi9SSJPIce3k1yVOEe7FNMxdEYh1z8ldvZj5rC8RHdfr5L1ezF3Yl2E/9iqlAy9STnDi+wLH7OAFThGkpnnClZkUbskZw4vfbIIkd3h9XxMUsogvs7cJQj7xqk8qTsPM4gRIL45jjvECJxqvJtnGFUhTjisBecdxSD6O70qc0pAXYy4ygpkIKeUhlCgLOYlzEIivc0r5B6U0+0AByD1Iye1Rypwe9ejyqJLDo5S7O5ZgZ0eNsg1KlGtAep9SzDOIOcs4Lc0xUGKS3orzC0rfMHSSW1AtG7qQV7DEHkOHnIKazyigYD4BDNkEKOYSxJxJUEvyCMhpFgEdcghQyCBAdzml7IFSzB1D42DiUERZQzmlDOOcL0R5nSDKFMrTNCEq5AhF5LfKM6dVMXqsSuSuynNfVZkdVQVKB8opFwh/HxFmAWWcAkxI41/kSbw8R77yfRZMYl6lggUL0a5yyYIhzlXwQS4YI1wYhLcgjG1lHNgqJFEtWhrSIkI8C4JgFrRLEIWx8hjDYjgMYmMUxSZQGIPAcazS64xRJJuQhrLKEMvGyBVNyHzR1OiMppE3mpC7o+nsj6ZQSJtAMa3C+4RhVBvksAYljWvVJ8ktOLJN2GvOJLZNK5mzEN2mF80Z4tsUH+DKMcIVQogrwxg3yEFuShLlKqZhrirEuTIIdGW7jFGomxBjXWyFsW6MYt0EinUQONZVep0xinUT0lhXGWLdGDmnCZlzmhqd0zRyThNy5zSdndMUinUTKNZVeJ8wjHWDHOugpLGu+iS5Bce6CXvNmcS6aSVzFmLd9KI5Q6yb4mNdOca6Qoh1ZRjrBjnWTUliXcU01lWFWFfWxvopheguY9pMLGBD9Np6+CjbAkoIxblginLFHOOD8DoSim/BaXQPIsS2EHJFwZkjihbdUBRyQsG5C4rKDiicolkwxfKA3weCcSyIo1h5GsODOgmX5vgVvMdoSeyKkhutELeiFowWYla4j9iBYrwOCKJ1IBirgjhShSdxOkhplA4axOhAoDceyC4S6okFx3548BgMTkUUncopPI1zfIryOkEUocrTEBUVYlQR+ZvyzOFUjB6nErmc8tznVGanU4FCVTnFqvD3EWG0KuNwNSGNV5En8fIcscr3WTCJWZUKFixErcolC4a4VcEHrmCMXGEQuoIwdpVx8KqQRK9oafiKCPErCAJY0C5BFMLKQwz/0NDL5qivcnck5wKSeAPk2hc43AGotCogbTFg2ljAhnYCIs5vaNJZVo+sIRS5xwXumkapPC4g8j9QtCLAtCLAhor05KfB7id25DPmT2h3QK4iwKEiQKUigPRxgenjAhseF4jY3dCVO2rj5KUezTS4fsLgABSywLCb11lGEZlHOdlIeWYoFaO1VCKTKWe7qcDGU8FbUDGZUfhVRGBQQbNoLDat8sS+3XcA3r6C2L7C2b7CU/uKmNhXJLav8GBfEYJ9RSD7Cmb7DvwqIrTvgGbRWMG+woN9fxlM2+fsX9CqgMSggJwtgcMdgIoFAanxgKndgA0mAyLWMtSOwY60PnNNpoakBoB8fjWO+dWo5ldDlkWNWRY1JlnUiNTAUP/jUC++uzgUUju9jnWqCxWo0wrUsQI1dxCmJFWrZWAHKNZj+NUqqcj/Du51ZkdSEUDSOIBc3YBD3YBK3QBpDYBp4wAbGgeIVKpHb0f9MPylHelow5AfWhjHoYVRHVoYoqYAxQYdxqQpAOkIQ1F7dHyqR/LUgGRMjQgrAhwqglQ/5HBY6gdIawFMm8NYrWOkt+j0gJJB3FtyeqB+EPc2cXpQaHj3Fp0ekB/LtehRQ6A78qHaoSRUOx5CtaM+VDuUhmqnUKh2jLJQx1wWasnOWX4X/WMXG91NtjAuSKAQITWLFioSA4cKUAyRmocTFeLIIpmCjFSKN69WJYtxFJJKAclqEptU5FstlkUslaDgJZXjmGQOaS9DdJNAgU5qFvNUJIY/FaBMQGqeFKgQ5weSKVWQSlnDq5BASKBcQmqWVqhIzDBUgJINqXneoUKcgkjmbESyT0xe3JVcidMVqSEOfh3160r9EkJ3JMGGyK0lmdAtsRweyuFUB5+/jmRhRUVYUzHm5uyK3UqK3a17/6BPvfNj+V+pegPFb1iGK4VPWALPauu+7hgeFb/uGOrtv+7wxYIF8q87vJbZAj/boHqyVbLPNgZJJpfZHUTbxeJ8B+XJHZzzQROQQA3BatYcvgw2ilegabwwK54SmonkpLF8idSgIXxTGwXjFsN3KDAkVzSuIjKr8cygoqIphYERBc2SYsFwKiQmEy0zlmi7WE82kPJgmncjXA7tjnxv2iG/HNqhpFfteOhKO+r7zw5Rf9gxWg7tmFsO7YjvDN9J8F4miOqinCqkPKuVirFqKlH9lHMlVeCaquCrq5jqjOuGjKjOYd2QeVbnbN2QJapzXDdkgevM64aMuc4uyi+LAtffq2wFr6a28EUSi/gCbBevBut4OdjIy2QpL5K95B3IZYLIRsrJOsozu6gYLaIS2UI5W0EFrr8KvuaKfZ3HrrrjWNNxrOS4UL9xWrVxrNU4qdA4qcs4VGOc16DtpfqF2zF2UIiS177joVs61aOpu+pHV3LmStqKryHsKnoaE+24kGjHhUQ73pdox+VEOy4k2nEp0Y5LiXacJ9pxIdEqhzYJI+PAs9bBkTHZcxpv9zGeOIsncrNlI+VBcl8TQQN6Tq3oRWpKL2bt6UvERvU6tawXuXm9ym3sVd/QXqPWDp/7nSTW43bf97FfVuSq0CrTwnN8LFxnVrgOe0Xxg7dBh09FwDGQklugRE6BUuYSqEeHQJXcASV2BtTYFVDzjoAKuQF9i3US7MQuUP4SKxa4Si0/Te/+Mb3CLL0CN3vh66RBlQ8LoMUVUXMrp7ZWnjW0irGVVaImVs7tqwI3rgq+ZRVTs+KXNSfeDNyghe9qSL2K9pzG232MJ87iidx82Tcog+RX1bAJWaGWZJkalOWsXblMbF4uQa3MMjc269zmrPumZ5U8gGRwBFbIH4KcuQUVuiq22LT4RB+LV5sVr8aew3J0IP3UAFzHGDmNCeQuJmSOYmp0EdPIOUxgtzCFHcIU7wrGyQnctzgnZBFu+NKXOCxfJdadJvf8mJw7S87lRk2/Vhk0Wd2B1lREjamc2lJ51pQqxpZUiRpSObejCtyMKvhWVEyNiCt6J94M3ISFFT1Sr6I9p/F2H+OJs3giN162wjdIcZI+LkzSx4VJ+njfJH1cnqSPC5P0cWmSPi5N0sf5JH1cmqTjTt0TbwZuu8I+XVKvoj2n8XYf44mzeCK3XbantZd+G5qtX479DVsMkDQWINdOwMNe1d+wdQBpwwDTNgE2NAcQaQlDtvmpO/JvDDvkNz91KHlz2PHwurCj/h1hh+idX8foRV/H3Nu9jvhNQy2SzU/DZuIW6T6igb0f4ZbZ7shvme1QsmW242HLbEf9ltkOpVtmO4W2zHaMtsx2zG2Z/TDqN0mc2JHfs9ihZFtix8OOxI76zYgdoqcGhXYodkzeUwPy+w8/DJF9ZkcS1IhcPJswcdeZxPpOCvWdpPWdxPpyK4GS1HdCmzE/QCsZaRPQhR61uad/u/JhyDFndqQb2AzhrrSeykIOtL4iMonyzC4qRuOoRBZSnptJZbaVCuQgyslLcGHtjBD5S2FhjdRJvDa7j/J9tkocSaWCrQoupXLJVsG5VPAehmuHFx6Br+FCIfkRe122UDhI8vYFXE8RmVN5Zk4VozlVInMqz82pMptTBXI95eR6wsH1FJHrGc9cT9RJvDa7nvJ9tkpcT6WCrQqup3LJVsH1VPCuh5v1LzwC18PN+uRH7HrZZn2RwvZAeYh8e2CupgYubg/MC7Cx924PzAsFw+fbA3OVHTbsEDlLBXbefTtE0jKT0j2DO3v12zbPXNsX2Gvzkpv7QvttHl3ey+T4YevMRSZgEISdM6lfh4Ao7pvpC/wxGqYZL/VIpxmGdJphyE8zjOM0w6hOMwzZNMOYTTOMyTTDiE4zFLXRfHShRzr6NuRH38Zx9G1UR9+GePRtio2+jen3CIZ0aqHIvqnojuSpAYndAbmKAA8R0FHv9h0iN+6Y2h0uONgdiM8bLer/wrVMWXvST5f6rUotac84V103GQOSxILIfcFjPGy97ilsHIbC+mGPIdpW3TH7sEfZ8HfPZSbbosVIpvzdkV896RCtW7SsdgasYwvXhebEPcNApUaAyC9B0boCE78EJK1qSOe31ohrV611rP1aGhGR6xJMsL+NLtmtpe0+4xM70i7BkO8HjKPrG1XXN8Rp3hQLCmOW0I1JFlfy5Cy380exvXexXXGz1ZDRwmYr5pSP881WLMbMHDZbMeccHTdbseCzddhsRRzydpgGMM8yeDYNYIlyeWkawDJn9TANYE75Xfg8tjRneuWU7pVnSULFmPhVouyvnLsAFbgfUMF3BoqpRxBO3YJh1zcIhhStiHoJ5dRVGI9f7ZgYOw2TYs+hGnUfyrkPUYE7EhG4NxEOXYoiyqzKuXMRoY6twt2M8n1ulHQ4KlGvozzvelTm/kcF6oSUU08knLsj4etoDe6YlFPvZDzrokRN+imRoLNSRD2W8qzbUjH2XSpRB6Y878VU5q5MBe7PVPCdmuCn2BK7BBWcLevowg5b6Q3yHba5yl3fnh22eZGkG8x32OZq6BILO2xzmbrHfIdtqmJXmS9Y5GrabRYXLPIC3IXuXbDIC4XuNF+wyFXuWp06L3lY6Ga9yp2tV9Nc6YskHa8vwN2vV0Mn7OXQFXuZOmQvcrfsVO6cSfRdtP+CEro2L3B37VXutEnNum5fJOnAqUDSjfsS/pNcVu33HlI5dOxODt27U7GT9wL3VV4NHb7/ZLPU9qHz9+q33TobCPgCPBzwamFQ4AuFoYGXeYDgVR4mODUMFpy6LtkzDBy8ysMHUtNBhCuTDSVcARxQeIGHFV5NBxe+SDLE8AV4oOHVwnDDFwqDDi+HoYeXaQDixKdSS++Kwt4QiAOTyTAaObEjvx49wXEHoGRdekIjDKC+N5i4sQQwWkaewKgBiM/wsn6O1QjfTjCnCuXfTrAYqxa+nWDOlYzfTrDgqxu+nRh4+OYg5VT7/JuDVMzsUPzmINXJIoVvDlKVbZN+c5BqZCXafp9QslC2/T6RMusUtt8nKlkm3X6faGyVZPt9opBFcG86I7JF2JvOPLNCtjedJap/3JvOAtec96Yzpjone7oLClmgtKe7IGf22LOnu1CCrFPc013Q2VaFPd0FlSznNjMHRtaKm5mDkFko3cwcNLJKspk5KGyJsJk5cKq9/pL0Zcao9iZQ7U3Iam9qrL1pVHsTuPamcO1N8bU3TrUffqn3MhKquWCqt+Cs1qLFOotCNRbM9RXOtRXu6yrU1/RqqOXwS61XWEVkulcTmF9fAAFXFQDrWgIwWxwAaBsYAcoORkC6OGCs/Y3jIzvyW0w75IfsJoydTWgvSIeSxux4aMiO+kbsULrXoFOoaTvmd3J0KLYd7E/tDrXtgKkRgPm3rMbxdxKN6nq4IZs3G7N2gztJuwHSX0pUJBOkfurWk2Hz7fErQVSHKqmrLTgAyqtapVV16wl44WiCKjFBlZlAVwmGH99oWbs2cGZHunXDkP9ZLeP4G0JG9eexDNlvYhmjnxpsWe2NbL/oCMxHOgg4ozKqywSGeKUQrmErAsZ0URDK6eRfke3GtmI43TZvaufY5xrqOrEG5L3EOHqJUfUGQ1RDUMxPjNm6kjH5SdGOTCUx9603dYkZmAY3MGouEzAxA9bEDMwSM0DzboAS4IA0MRvrFrHtyO+Sn4b0Cjzskp9iegWU7pKfuvQKTF3MkD62Ilthno7CsvJ0FNaSpyG3Ag/LD1PMrYBojWw6iovC0xGvBE8xsxqSWHh5bqTPrP2a5XRIrHZGFWupaRVRXssq9IZTTqtQ2HeSU5dVgSWV16R6puGycCctfA8+denPWO2uWse6ZwunU859RmNz5uui01FcDJ2OwgrodBSWPaeY+awRMfFZY7eJ71RP08QHyP95AePhs6QpJj5A/PcETLE/JWDM/oqAMfkDAkraBb7zl3qk6doQpuWOzny+nCX5cpbky1kpX87yfDlL8uUsy5ezLF/OYr6cJflyNsIfMZ1hvgSUvD2ZUb4E6t+CzJJ8CQrtc5hhvgTkf2x0NuTLYZQzw4SJTFsAGOV+E3DXqlH/w8ozlzOBwYdQBvVLKEP+p5VnkDX78JqNwnh0NqRNuEyVVFYTp2OFylZpZf2IFEpHI1SJEarMCDYi7UepsyF79u8nZpg9AdEfAJkN2fPoSK9rg0dgvrogYAwb9XtvZkkCxWvQ67sZZlAsp1MORTx4nFEOtaZ/9IZ6pHnHLGRRFMIsY4ZpFFCopEk00Zi5PIoF/VxrpuvnkFrCy4EgcIbMXw8ENcmV4QVBEELWjK8IgkL5M7wkYAEyafjWjXmWU7Nv3Vii7Fr61o1lzrPhWzfmlHGFY9pVxulIBU7AKqSJSdWYnVSiVKSc85EKISmpQulZOeVo4RSthn22Fp5VO+RtFTh5m7DPUEkaNynJ5SoWrBiyugpFK4b8LgIkeUWU6ZVzuhcBc74yTvwqpNlf1dgFqET9gPJCZ6A69wgqcLegAvUNwkMHIULSS4j0mNg89BcqpJ2GqrHnUIm6D+WFPkR17khUCL2JKtSl0EtFybXZW8VM476l+F4xK5D0MNmbxUwL/Uz6bjETqbfJ3i4mGvQ5SKnbQSnreVCPnQ+q1P+glHdBWIJ7IdSoI0KJ+iKQsDtCzIkWNe6UUEvTLRaIGRdVyqsocWpFLWRXFKmbQslWkYJGWcMpvsMCqXCt0G2hxj2X075hzaT/cmrShaFetnboyFDbZ+3QnYEGPRpS6tRQ4n4NNOzaEHPvhlrawWGB2MehSt0cSoWeDotwZ4ca93eoUZcHUuj1QEs6PlAf8wYK3R9qaQ+IBWIniCr1gygVukIswr0haqFDRNH3iU3Ydn9fsu8F2qN241r/YlFSHhYQBKWG5IelBEEpt9sHijoO5eGRoTRQKCvbR6CgICiluwWgmDIo5/629VDO/W3roRz8dd2hFPx13aEM/gnPoRD+Cc++1DV6br+4ez245LEdiScCSt6yXZPfAfVv2a4TPwOF3r9dO7cCNniTka9arZtRvxYKRxpNhnBc1FNxsV2C6ALK41Xw2w9GdJXs2w+R5M8Ru+sY5CuZEq/Vd5L9Hy24vV7K3y3os5hTvdRW0H7uqTvyOwM6lO0MUM/Toyd39OxK7vyRr1puZenG8fkU0UMqT5/UpRqPniJ6jifuEkRVKHuLDDmwHoqoHsrTeogK9cAPkwg9xxN3CaJ6lP3VDY9cZRznGjkxr1bI3gl/KvDnwnV2Jc71dWKsNHQKdzmlCqOUVpc7n0CfUvqcXmGXU6okSkkVbdzq6oiYK4laXksogdUE/JTj5/wiuwLmqqIW6ypd912CqI7K0/q5YYFHTxE9xxN3CaK6KI/10LHFXcaoJiakVfFjF2JPCXtOzt1ljOpjQqyQDoLuMkYVMiGtkB9kEXtK2HNy7i5jVCETQoU+jWS2r0d+Z0eHbG6vKNns0fGw2aOjfrNHh2hLR8fohw875n74sCN+l0eLmmhaVptNN5VU+Ekt2B4tdITWHfmR5CcadfQTy7vBNnagk1IlYhkj/nW8Ynwbr1BfxiuxN+6KbLqrSN63KxCT9ESmHvNIfA0U+2ooTuqiWqiQKr5Wiqlqyql+yl0llfqaxs9JU+5rXfiYNBUTC5Q/JU11b43Sh6SpSpbJPyNNNWcl/VNgeuDsEf78VwsXLi0t4tB0URgOLdJxwyL2Q4skny+SlNgeWbR3Rz5DdcjWywzFDNXxkKF66lbFFPvE1SFKXB2jxNWy2h/FZ64LD1inD1jHJwnrS6Ykz1j7/XId8pnUdydJR5J3IV/il8bD9QpfGucqteC+L43zItFse740zkuQjUtfGucy+0D86jcX9poldZLyV795gb3VKnhR6avfXCbfKnz1m6q7kiOx85W/Be0LLIdRU3+XpVul61H8OnUQ5GfYDUleOtEje85kzJiPFleYNocrxbn6qjBXX5Xn6iucYg8XjpPnVWHyvCpPnlfeRHj5QqOxwLf6RqOtcHVwuJWgXSzFl1ceLlyPcB2udiPqWi5+qEc+CGu+ZE+xOYfrxgWa2rWwP5Fvk7ZwL4XudbhhYbWhjqsKyXX4/uVVhV6nvnx4hHQNoObZfrgC37w02+9VHDAM940T19rNUv2JfLt0ltpL9B0h3JIUuDMpu+LV+DlYjo/jBkbDgyQT3dpPaulcvm0+qe01SX9wP8yIxx7t4ol8s+yvyg4SxvtwL3wbcOzRLp7I90pTQCc9uAs8xHMf8tOG1xCFVWove03OWFaf5Fvdi1SQ58hV/0kCq8l2di4CdcoL+E3urNKudpZpMz/L7qMGFv1O+E7NjbXHUnvM9C0b7TfQHuvsM80+u5SN8m2LwP+HL6HQ5Ubtm7LTw4ibB5xvc22pTu6xDwuv0dJVUsIP/pzmYyTWYZ0/p/6kS6bJRCHV3MMmJboJ7mnEfruB1/SGmSZvu3LVP05S4mF+U+Wm6ax9ETG1RyzxVWveWFf3pZwoudPTuiNd2zOU3aIVdBvHsV5M39n2lZOG49u6d2QXHtEDlN6ReZUfJez5G56Hf79yeB73ruvCI3qe0rsur/LzhB9AlOdJf7JLnsqJ+Gxe4Cf0av6c+c9eHWc3pmcefLRL0ER81CjWFTWP/Vqa13D9ySu6fuaxrZx5TpuDlMtqmae6TubwH2o3Jbo6QTixtYj2t6eEdH96ypH2t+BfeSI2JQwG6pUmzLsFz37E1B3porYhaQpAfseEcdwxYVR3TBiyfRHGbF+EMdkXYUTMbUgi4EyJze66Iz/h65C2BaD4Z6c6HqaFPcWFIMP+r1F1iP4aVcfor1G1rNZQ6o78y4UOJdtUOh62qXTUb1PpULpNpVNom0rHpEsGpLZXpHHeG/9phK+CntChAPlXQU/BoYCHkfUTOhQgWlx6cg4FzL0KekKHMuQd6mmEK29Po7Dc9hQaB3hagTpWIF9CexrFdbOnUVgsexqFFbKn2DjPLjKeY2Q8x8h4LkTGcxoZz3lkPMfIeE4i4zmJjF1ojl2s2I5HDIS5eLLlNip40p//+X+DG1I7","Times-Bold":"eJyFnVtzG0eShf8KA0+7EfKseJXkN9nj0Vj0yNaNEHZiHkCySWEJsmmAIA1PzH/fRqMr8+TJU9CLQv2dYqMrK/NU9Q349+jH9va2uXsYfT86+8dqOb1u9o72Tw5P9o4PTk72R89Gf2vvHt5Nb5uuwafZbbP87od2frnhq/kc+V7h09vZfI1KB8fN7Prr5jOGRj8/TOezi9d31/Ou1fNue/m32R/N5W+zh4uvo+8fFqvm2ejHr9PF9OKhWXxsNn/50x8Pzd1lc/mhvZ3eDcf1ww/tH6Pv//nd/snLZ98d7L98tv/8+fNnrw6P//Vs9LlrvJjP7prf2uXsYdbejb7/rpNB+PR1dnFz1yyXo++PO37WLJZ9s9Hz5wd/6XbUfci79mF2senIj+39erHpw95/Xfz33v6rl8fPNv++6P99tfn31fP+38P+3xd7ry/b82bv43r50Nwu936+u2gX9+1i+tBc/mVv7/V8vvdhs7fl3odm2SweO7oN4my5N917WEwvm9vp4mavvdr7ZXbXPqzvm+/+3nR/9frN3vTu8n/axd6s++Pl6nw5u5xNF7Nm+ZfucH/qPuZydnf98eJr08e/P4qPD92fTBeXRe0a/ji9//swJCcvTp6NvpSto5P9Z6PXy4tNqBed+PLw2eivjW13QX7xbPTx4fLv467tUf/fs+6/+4evtgP2j+ZhMbvoIvrPf4/GX0bfH2wi+647kuX9tAvkf55t8eHh4RY3f1zMp7fGj4+Pt/z3VduF6nzuyvNhR3er2/PNSF3fZe2ync+nC+N9NvTCfbO42CR5UV6Wz5/edtKyi08+tP4Q+jHP2v100dzNm6uaFP/Mjm+63OxxeePKi3KA89XSqAXtoqvNaf6Ir+v7r81dbt51ZdZ6Tw5evBxiP58uv+aj+bNZtJm2d02GD0+i5cPXRSPaXrWrhaCzR9F2OftDwOaxEYPb6Jjeze5EXl208/Yu42VzO4uSjcB8YwSJNr+vpvOMrxdNV8qim7+vmmVvNkV5dVjG3o/9xcHBlr02dHLyYot+yK1+zOiv+Q9/crS/v0V/8z8sqfAmo797mDon69HPuWNv8x+e5oP4xfu9cYcN+kc++nd5X7/mo/8tt3qf9/UBvONkiz7m4/qU//BzRmfCOca52ZeMJvkj/zdn33k3n900D8E3rEjPOy0WKv8dmcrL/WIqF7PZxWxxsbrNw7ba+Paym3xEjfQGFw7GjSpH9dzQURnai9zqMrcSn3yVP/E67+trDtIs7+v/8h/e5D/0Gjbrv81/KFynza3uM/o9d9vNwcpqmY/+Ie9rlQ/iMWfcU24lrHSdj+tPP4hXR55fMREODp6XrFxU2lM2HjyHbHyYzS+rk/1l+yTiHKZnnwoe+qWaJ8d+Ka+rzdoQjdb7rCaPq3m7mAm+bCp7uVgtunn8Yp1TqS+b5axfuwr/365bdFldr2adcts+6KXDRu53/A2ZQl8S52ommFhBdWs5uR64nF5fqzlty3ExRiuOzdg1i8Zr//io6N0S/noxvQdTK3963p0/NKKXHt7z6XJHhHerlQWYDUDU3e67NfbsfjlbCqnr68PXdhUWi2neD8ntI7eYPop6mF6sHtTapffyq3nzR9YqlXU7vVio9c75olEffNk+TC9Cxbk060YSA2DKAuvQD7a57EKqFqmru+vpYnU7n67Ex7TX3TrzRuxuiv2AcbkNOevCa1/3HJpnLy6vuoVeWBn6EiVOsr4Cidw/4Vf4hEP/hNvO6VZz/Ajz5qkzc43LTdEvl7OszCvL85YOtOy9hbQvZd7VZ3dW3OU9jJst5tKQ+tQcM9Cn/5g3PjXJQfXdxdHz1VE6AltIX84eZ5cihJN4ZL5iFsXhh135o8+7/mhNVWiTdX/yRWUCXc279M8LpeI4h8GOnOrB/4ZGyEaC/sBPA9KH+ElD5xFwFhLPMqmjL45eFHG48CE+ilzH14UxD7yXOi7v1AF4edRyNJqqL/Vld+xcqra3aKwQzmyVniGhm8DJE335Gj/9qCyo5u2fzd21yNwPVFF2Gqc66cmxs0h2Ze7r2pAu4oHAUFNf/fwnR85O7T59bReiV7/Sp3sYKlXwMfKTF0P7y4oRfaYP8IjFyS1c4Viu+lXOQhxvTEGPYo2TrRYTvF3NH2b387U4LuqgJ3kcjpJI3XrrYTadX86uxCnWum4N7+LneMKKZPHa2JlmO2adunRRGei7mg3WMuZdpTZ/ph3h9bduxYAX4ewUaNHeNHd4ImTmuGiuZ8u49PUSpbWXT8e5LuxsZNVVdTgf8WDHnPLCrBhaS5Hxuqyk1P+SaR+9KmvX/lJXvBBmcf7pQaxQfqwa4FxOqvvDaD5UTKapzo414XVt+bAjKysB/rNWGvzZ5gq1EalNPbx4t3mk9sm5ju2zdy5LaMbcL+uCZv4gLvg8BJN2T3xqdzhiXuKU3d2uRE/iEXmo5DrTa4FC71ef4grnxTH6eJfAiy6RxaF9TCcxNjFX5t9Tlcd+ihEHzk8l7MaOMsX6QuNnOn80XqvxX+iwSxy6qH2dzmFqKEW+OTWhS902FsrlzZfjsslT7RsDSOsgCwLPz3beHs0UOzQMqxrVqZzrP8oFomWwPsWxayGdTaibHm1lyv+xchAryvwyEF2CzC6U0f614o2Lncvdd3F8/HAr4/Zhd17v/KzXlX2+rpp0PB2wEYj7cSMWE6cvRSrTfc0pbuQC2hZkYSXge9tZCnQIdsVm5yfN2+vNeN+14mJVWzfTVZZKBnW7qlTytTwSu8ICM7nHvJK+d2pXfv3lLi+a3fNrNf7TanM78l/PRqfN4u636WyxuYv8z9Hrze3q0bPvjo//9WzY2rpHQNvjjGgwdYRv4tbWVQLCjqHwa7d15FvlEABBcgRuQxXotv4DCs4TlCFkgW2vDgW0LRxE78PWp27rlW+VmCEKvXfh8yYWz23LBsBR6D1w6D3Q0ntA1HtQrPfAhroOrLcTJGfd1r53f7zZPDR1stl87pulU8jg6AHfd5sHtlt4TuDZdy+OCl6FQ1nlkK0qIVvJkK1yyFbVkK1EyFYiZKsUssfY06dNFtjWOnRwXboECA59oEMjLGFDVMfGqZidc0UX5Y1AVNvGZYEXFarcEJW6cVXvJuaiN4kq37guf5PZA0wgIzBOblD4+4zAFwyROThXDlFUsAlDlPjGVfabmEvAJKoD47oYTOaKMIHLwoRYGwWjpxSGxlIYuosxthgThM8UDcymIOU4RVvlQ2bvMb5rCIQLmVQZgoofmVwbguRMJugheBRRAqMqaJ2Dw5ZlPPvWYB/oW4bIt4yTbzln3yrKG4HIt4xL3yoq+JYh8i3jyrdMzL5lEvmWce1bJrNvmUC+ZZx8q/D3GYFvGSLfcq58q6jgW4aoaIyrojExF41JVDTGddGYzEVjAheNCbFoCkbfKgx9qzD0LWPsWyYI3yoa+FZByreKtsqHzL5lfNcQCN8yqTIEFd8yuTYEybdM0EPwKKIEvlXQOgeHfct49i2MDZpX5ORgUSQbI5G9LMhvapxcLYrS2kIT8LfIyeSiqJwutsh2F3XyvChq44tt2P2iShYYRfLBIL6vcHDEyMkWSVTeGJqAQUZOJRpFVaexRS7WqFPFRlGXbWzDtRtVLuCoxioOGrppENBSg4C+GgU216gKhw0NwGYDV14bGqwqXWPXjeI3h1T4b9R3DWnFiWObnUOaPDmqO4b0sRZhsOjA15XAsllHMTu2E/RrpOTWKJFXB4mdGsQ3mpJLoyQ9GhqAQyMlf0ZJuTPq2ZtRJWdGSfsytmBXRo08GSVyZJDeSwpujJS8OEjKiaEB+DBSKlmUVMGinssVVSpWlHSpYgsuVNS4TFGLRQoKui5g9FzA6LiI2W9RE24LMngtUOW0IK9kV9hlUfrGkAmHRbU+ZBV3xRY7hiw5K2rVIXvUkQRPBbqWAWQ/RSm76dB9tFJD5KPGyUSds4MW5Y1A5J3GpXEWFVzTEFmmceWXJmazNImc0ri2SZPZI00ggzRO7lj4+4zAFw2RKTpXjlhUsENDVFjGVVWZmEvKJKon47qYTOZKMoHLyIRYQwWj5xWGhlcYup0xtjoThM8VDUyuIOVwRVvlQ2ZvM75rCISrmVQZgoqfmVwbguRkJugheBRRAgMraJ2Dw9ZlPPtWOVg0LmfkXC6QdYHA3mXSG8XIvVyQ9mUy+JczMjAXlIO5mi3MNfIwF7SJuc4u5grZmAvkYya8FwyczBlZGQjKy0wGM3NGpeSCqiVXczG5RtXkgi4n17meXOGCciVWlHF0NYNoawbR1xyysbkinM1EsDZjyttMXIlDZ3dzYeeQCH9zrTYkFYdzvTokyeNcqQzJo4oY2JyxtQgUG50L2enKkaHTOSOnc4GcDgR2OpPeKEZO54J0OpPB6ZyR07mgnM7V7HSukdO5oJ3OdXY6V8jpXCCnM+G9YOB0zsjpQFBOZzI4nTMqKxdUWbmay8o1KisXdFm5zmXlCpeVK7GsjKPTGUSnM4hO55CdzhXhdCaC0xlTTmfiShw6O50LO4dEOJ1rtSGpOJ3r1SFJTudKZUgeVcTA6YxtnO6QAmVOlwTo9qAthi9bcTsphFyuYPI4w+xwg/AmE3K3gqW3DSI4WyHkawUrVyta9rSikKMVrP2sqOxmhZOXFUxONuD3iYCLFUIeZlg52CCCfxVCpVKwKpSi5TIpChVJwbpEisoFUjiXR+GxOAaKbjUg9KoBoVMVxD5VuHCpQQKPGohyqEFapUNldyp4R8iFMxVFh7ziSkWthDw5UuEy5I85MuBFA1mngPCKq+C83hpqA23IEPmQcTIi5+xERXkjEHmRcWlGRQU3MkR2ZFz5kYnZkEwiRzKuLclk9iQTyJSMkysV/j4j8CVDZEzOlTMVFazJEBWKcVUpJuZSMYlqxbguFpO5WkzgcjEh1kvB6FGFoUkVhi5ljG3KBOFTRQOjKkg5VdFW+ZDZq4zvGgLhViZVhqDiVybXhiA5lgl6CB5FlMC0Clrn4LBtGU++9UNHX2/WUs9ty5ZejorHAAoxBY7rM6clkoAsSsAsQMCG2AApBe/ocx8p2/L0MxQOF3hISKPlcAHRmINiHQFmHQE2dGRL/lrifmxbFndHFndHMe7OMe5OLe6OPO7OPO7OStydWNwNbUziyPozDluTuGWziyOcO4wO367XecEWDf6MwTJEETNOYTOuYmdiDqBJFEXjHEoTOJ4mxKAapsgWDuEtaJzRRCCKtvEc8iKluPfveMa4F8RxL5zjXriMexFF3IvEcS88xb0IKe5FoLgXzHEfOMZ9QOOMJgJx3AsXcR8kivvfhpC/8q2yT0Al0IBCjIHDJwMtkQVkQQVm8QQ2hBJIiaKjqc3l/VbpAaDSA0ChB8ChB0BLDwBZD4BZD4ANPQBSeuBo+52gXZ8OCol6k/vUlKUkIt2nRvYJXk4OOHe1EV1tRFfbuJWPua0cYCsPsM1H0tK8CIo4xras4QHl2FtJ7G/nyrdhjfI2r1He5jXK28oa5a1co7zNa5S3Yo3yVqxR3qY1ytu8Rnk71MT+sW3ZGsVR6QGguGxxjssWp7ZsceSLE2e+OHFWFidOSg8c0VbugVUAIt2DRvYgVADg3LFGdKwRHWvjVj7mtnKArTzANh8JVwAo4hitAgDlSNOksEGr0GCVO7KqdGQlO7LKHeHTGlBER1Yi2KuQRaej7XWGbQn0W7FseyRqtOepRnsaa7RHdNSgUPX2rIQfUCzV02D1p9nqT7PVn1as/lRa/am2+tNs9afC6k+F1Z8Gqz/NVn9asfpTafWn2epPq1Z/Kqz+NFv9abb605DVpzmrTytZfSqz+jRn9Wk1q09FVp+KrD6VWb054z7yrXjhrEfpslj4KpNQFyRQiZCqqoWa5MKhBlRDpOpyokZcWSRTkZFK9RZVSA8SKKNJpYJkVaQ+NclVwA1yxVILKhlSuUZI5pKOclsVdoZF1jw1+VbH2QlI1aZAjXb3na2CVHKNqIKBkEBeQqqyFWqSHYYakNmQqn2HGrEFkcxuRHI0piiCR5FAdkVqcq5fRsOF8wPbsmvmgOLlchPOwtY4bE3ilp3nOsKTV6Pxy4fLGsmUgoeTh1+GWBxbZywAgPAi8JaGt/YPIqL+197aj+pZRuOMJgJRYNTr7CRVQiTfbC9xwhe6KQYcMfVC9yDFbILgkUAhZFUFMrY5qwnjmjCpChRgUnOYY4NKsEUjDnmuWBlFDn+9YocGg59i+A1R4J2rkBf1LKNxRhOBKLTGc1CLVAlnkDmQRVznGHDwjKewvRttLzNsP7DfssnVkV24chQnWec4szq16dSRT4/OfD3grFy4cmJz4xaVwnwtEPXFOHXIuOqViblrJlH/jHMnTeCemhC7a5j6jDcIGFGf0w0C5qrP6gYBS9TnfIOABe4z3yBgzH0ODvC6KnD/o8pRiKqMRWwiIhIbcFyimqIT5RSjKFOkokjxKvc/XwtEMTJO0TGu4mJijohJFAvjHAUTuP8mxJ4bjn3+dejukW/FmxO/YicBxcc9nKdbGL9irwD5AxzOrC/Ahm4AsSc5DH2KW2XyQhTmLRc2U9axbY3D1pfQchI0m7EApUcEfkWjPSJEYU5Gy1wFXBktSxT6bLQs8CCw0TKm4cAVMSMamMqKmNSzHM9xRl/yH05yKx42tUgepPCmOAxg5DSKUaShjKIaz9giD2rUaWSjyMMbVR7jqMaBjhqNdvrCC8lp3Hd94YVqclYZlXGFf6nsZ1Jpz1lR/dKHQYeXXiExkFJaoERJgZJKCdRzQqBK6YASJwNqnAqoxURAhdKA3rMXlFKg/p59bnAmIz+W9Ivcw0S25WGvvHs+qOV1QRhxQzTcxmmsjauBNjGPskk0xMZ5fE3gwTUhjqxhGlZ8R5gRDWjlHWFSz3I8xxl9yX84ya14+NT7tIMUL7LhELJCI8kyDSjLaly5TR5ebkGjzDIPNus85qzHoWeVMoDkT3WF8iHJKi2o0Vl1xMZV5Ut1b5Pq33DmsJwTyF6hg9RxRknjAqWLCypRXM0p4holhwucFq5wQrgSU8E5JUF4wzYxGvjaG7Ysn4nojgX7Iv52ItrxoMq3UAetXN2B0TREg2mcxtK4GkoT80iaRANpnMfRBB5GE+IoGqZBxKt9jGgIK1f7SD3L8Rxn9CX/4SS34sFTFwAHCU/SjwjR2KWTdOZq7NRJOks0dvkknQUeOz5JZ0xjh28mMKKxq7yZQOpZjuc4oy/5Dye5FY+deop/K/02DNv2mfLfcMQAlcECFMYJeHpO/TccHUA2MMBsTIANwwGkjISj/gkt648/oeXIntByJB4s73l6sLyn8cHyHtHj4z2jx8d7Fh4f74k9N2QoPrW4IX5BqN+KF7t6ZHfOAeVLXD1PV7e2FG+MO47Xu3pEl7p6Rle5NqyNW/mY28oBtvIA23wk6a61K+IY/f60o3ixbYP4qcX3I3wvod+KGdUjkT49T+nT05g+PZLvJfQKJVbPKLF6FhLr/Sg9ffZhhM+r9FvxIZUeiSdTep4eR+lpfAalR/LBk16hp016Fh8x6VF8ruRDcNUP2VA/1Lz0wzBwvp/Pub+fK/39LPv7OfeXBw4U0d/P9NTpBxg4J735H5etje8f2tYkbsVH+D+Qqw+0XESD0TdEITGu4mJiDo5JFCHjOkwmc6xMoAQxTlmSL2o6onzZeVHT1M9535w+xnfFSiSSSZVYVVLK5FqsUnKZEDMsXLeNGTLOSTMRiLJOXaQdpHLnC1LPEIXTuAqniTmcJlE4jetwmszhNIFSzzilXuGQeoYo9Zyr1Cvq57xvTj3ju2IlUs+kSqwqqWdyLVYp9UyIqYdvRB3HDBnnpJkIRKmn3ogqUuVJTRY4tN98UpObiDDvelKT1UrIdz6pyTKn6q4nNUnFtNXP9lRUmcKhzefaZ6Z0juq3Y65SOzbYGfNamsdGu2OeUz7KlPjpoadjlaXjWvpOqgIXRPWhp22DbrjhxbR+y57tcRRfTOuReDGt5+nFtJ7GF9N6RC+m9YxeTOtZeDGtJ/HFtE9DNe+/tC1bkDuKC3LnuCB3agtyR7wgd8UX5M7sdRBHdlpnyE/p+q34TFWP7EsgHMWX3p3jybtTe9Xdkb/G7szj7qzE3Unpgf/hRTuHs/Qt2Z6qOoldanIv7VQVUcgu57KX4VQVGufON6Lzjej81/X91yYe0iwM3Syn2MxPwoy1YRdt7ntb6Sie8gK1MnJEeQmKF5izkpeArJoM2YmiF9giDOkiXgXqURlERGFKcGHZ3M5y5qzCMaxyrFaVWK1krFY5VvzsNigiViuRF6tUFE+hD/6dV/2WebGj9D1XZVpFF04PujEnP9YPurGYnTk96MacPTo/6MZCdOv0oBtx8O10GsBcObg6DWCJvLx2GsAyu3o6DWBO/l44mLwhym3jZPfGleebmC3RJDJA4+yCJnDKmxDz3jDNCIVTcTsOc0PBIhI8SxinqcK5sAYT6xFSM4dpleilOcSEWvR4Nil8lrOF5xXjPLkUoc275WnG+K4giQnHJHJS49pOTWZPNYEmIeM0ExXO01Hhi5xKPDEZp9nJuZqiiirmqSKt8mHyjGV8V9jF3GVSJeyVWczkWtjTfGaCLu6n3GuY3gzRHGdcTHTp6eYyoPrpZq3y1Lfj6WbdREyD+ulmraYpsfJ0s5ZpetRPN0sVp0p9wUKrctqsXrDQDXgK3XnBQjdK06m+YKFVnlqDihNsFLggo8qTbVTllBubiGklNuAJJKppGolyqtYoU81GkafloLKjkRin6Pgya+0D03QdVZ60SVX2GJt8K9JyGo8tdo5FntKjvHss0vQe1Fktb9NUH9U04Qe5rX1cmvyj+u1gq4VAbMDzUlQrs1NslOaoKPMCIaq8TAhqWiwEdVFL7bRwiCovH0iVi4jQRi0lQoNVrUNpWRHVbw+oWmLEBjsHtLbciI12D2heekR5l5k91SKGi5Eo8JIkqmlh8nlYjZw8t62yB0BlugAUYg8cPgFoiTIgixowCxWwIT5ASg04Ks59bMRKYUD4cssJIepwermFueq6ermFJQpCfrmFBQ4Hv9zCmAJTOEWnYA5ReofkRHEKln6HRIoqbNV3SKROAay8QyJVDqV8h0RqFNQgUmSDxuGl9zBOMqXQqvcwhKTCWnkPQ6gUUvkehtA4nOI9DKFQKEGiQILCYcQ3G04IUQDTmw3MVejUmw0sUdDymw0scLj4zQbGFKjCKUoFc4jECwQnWqGA1V4gqMgqfDteIKi0oGBWXyCo6BzaygsEFZUCTTLFm1QOe3js/oQZhTo/dp8EFV752H3SKKTisfukcBjTY/eJU+hMoKAZ53DZz19AuJxRuFygcLmgwuVqDpdrFC4XOFyucLhcieFyTuEygcLlv8NC4Rq+pR+CVQiFqmAKVMEqTEXLQSoKhahgDlDhHJ7CY3AKpdAMmAJTfvohhuVsCMn+9ob+GcYDmT3kDCxeHAIBLwkBtgtBwPzKDkA/ewVYnkgFZFd2nG1+DOHQema/gwAonm+54L9+0G/ZywWOxG8e9Dx9O1JP4y8d9Ej+yEGv0O8b9Cz+tEGP4q8abJBfv+q34ulej+ySpyNx2tfzdK7X03iC1yM6YesZnaX1LJya9SSefp+N/IoSkm3i7h+8Kqgf5ec2Vv41o8DKaXZg8UlqF8Kj1IDxq0aB+zPWzuBRaofwLLVBu8SzPRPdoM11ncMXtmXnnI7iY0vO8QTUqT2g5MgfOHLmTxkZa+OxtiKybS2KrY5iK6KVvhAVJBVI/0pUYP5ugzF/wN5rAi+XeFat4lauFHU1pOeyLFa5LPTFjl4RBcOXNXoWCmZcvHn7yP04eDMw82ZgcchAwCEDbEMGzMcFoCc4wOLNgGysnPU3IXwrvvgwTg4LPL34MEaHBSRffBgHhwXmOWYovj4zHhz25Ni2bLHgyBYKjuIiwTkuEJza4sCRLwyc+aLAWVkQOLHFgKFSC8dA8JWg8WCw/hdN7qXZKyLdy0b2Mngr4Nz5RnS+EZ03X9262XiE18vHo3SRfDzKV8bHgwW+sL2aAwKKb6Q5xzfSnNobaY4oL0Hxd9WclbwEZC+mGfJr1TaIaHw+2P6jOGM0PkDip3DGZHxA4w/gjIXxgUI/ezMOxgcs/NjNhmwu0J74Vlyj9ygttifFL/d90zIAmPklsOg8IKD1ADbvAeYWA9DzDWDxS0BmPM76p8yPbSs+mztJfgk8Pag7Qb8ExI8uu0I/pzFBvwQUfyxjMvjlS98qRw2oxB9Q6Ahw6AjQ0hFAdrjALPTAhsgDKT1wFNcOk+SXk8Ev9/f3bdPzzJktSJHFPHMBrQQorkehtVmMIzcSZ5B8BumG42SEq9HJKK1GJ6O8cJwMrgm7bUUE2lpvw8IRsFeVM57SQYKCc2iTOjAvLmNkn5ORWjdORrhunIzSunGS7BN4WjdORmndOBH2CQqtGyejvG6cjHjdOLH7GeAn6WZNEtgW9e2apAqDTDdskpCsMt+ySQqZZrppwwLYZ35BkbgyUvmCIklkqdUXFElmc80vKBInmy0cvNYQGa5xcl3jynpNzP5rEpmwcXZiE9iOTYiebJiM2W/GhQrle3SEseqNsVWZwI7tgjIyU7N3uyQM3ERyceNs5SYkPy8Km3rh4OyGyN6Ns8cXoRWfl9zehJ2RUr5vGpu/CZUZwPQ0DZjCc4EJPCGkW7oURzE1FGklEE0SxtVMYWKeLkyiOcO4njhM5tnDBJ5CTIjzCN1xLQarbrkqjSeU6k1X1UBMK+q2q9LS5CJvvCqRphh161VoMNEgpbkGJTXdoJ5nHFRp0kFJzzvYgqce1Gj2QYkmIJBgDkJK0xBKNBOhpCYj1PN8hCpNSSjxrIQaT0yoxbkJFZqewr34YBTiLn1W0IwQs8+ixrNV0JQNY4M8ZwVVTFuo08yFEk9eqKX5C0SewkCCWQwpTWQo8VwGWqs/Ps1oqH0rmmpeQ5mnNtQqsxs2SRMcijzHocbTnHosJIdbTHagrjSlKQ8lNeuhnic+VGnuQ0lPf9iCZ0DUeBJELcyDXcX2P7u8/a2Z4myIBkdDFB5lAg6fArQ8iQLI7vsDs5vbwOC37AeCPxW9Refd1vmoXNU+x+E/MrQZ2APfKgMKSHzD0jkNIND4DUvnYsBAoW9YOg8DBCx8zfn50Mntb90M5pp+K+Ioq0XaXiTtwtA/KLrdzeXF8COsjprwOQ0mwIDKiyuIOAEGTglQqBsuYsyLAYW8GFjIiy27gunGSfcx82a5nNlMfjXY64FttXHL0sCR+P2oKzJBoPGXoq6E5YFCvwl1hQYHKP760xXms/eV8mB7afmKUmCbAdd5D9elpplXnhjfquX3RmDL5hVHOFv0dFaGrj/GWUiwLcrZtOWcTVsa0maLYtpsWUybnt2UtYhvxft0N2HlASjfuruhdQbScJ/dcLyjdxOWE8DoC8tuyqx+bFsx6Dd5DneeBuMmzNiO5G933cT52Vn8Sc+bMBsbWsetfNQ5VW7yWzVDFCpv1WiVRnDXWzW6SR7XHW/V6BY02rW3arTMOZDfcJHx4szY9YaLbvKtEeHU2f2Gi27ECVV5w0WrlGb5vQct7AxMzsNiJdv1wx1a1oBwTiwo7BQEXLJsURtsqS3z8XYrG6QhaFXxzMihvfRSpNA2O6whaEUPvD5WFfgbYdTOoF350tzHjKAVBpaQtyqTWFo6bWfHKEet/MW8uSqPSm/3yUK0I1bjd6iyKuyImyQ74gbRbFgls2GZzIbl8GWZLMYnSnpVB2tHpHaE6Vsx2h2gHdHZFZpdcakH5dsRgf9/d3Jo6pByI//60YiHFbvSQsqKXS70ny3i2U/UytwptfB0qWjhD+5FHC9mRK18oNS6mXg+n9bU+LCraHE/vegv5Bwl6dE60AVpdLEZsJe2FZ+s6ZEtKQDZwQEM18AWZQ1jepN33eRd0xLFOeY5UFyMOI6vpi/issMZPTO0YZ7a/VYszB7F0LtATy1tkM/0/VaciXtkAQAU9+9CnP8XZTVkh97mALeVaLYymm0OW1rWuCIC2sYX9hdh1WLoPoTNT7SeG/s9tPcprlQvJq0h6r1xyjHnnMP6jqNhsW9O6Xy/kbkYDnW3MUk5zdPNRuY8PuJmYxSuc5w5/43LIkg3LYdKKBwS3RDVhHEqDOeqOkylEgl3OmNnuVgq9zlJrA8R1071JifJtVHiUsp3OCO/z8OQKqsIv+c/hxqz72XyVoYoaMYp351zjfGXPg01hl/6RC25xtKXPiUuBlB96VOSco2lL31izqOXv/SJhOscZ64x47LG0rdHDTVWONSMIaox41RjzlWNmUo1hl85RZ3lGtNfOcVifYi4xmpfOcVybZS4xtJXThG/z8OQaqwIv+c/xxqLX68CbaPAAYwqVwCpqfbkd7qUCsxXn9RfpWqsXH3Sqhr2+tUn3UBUaeXqk1RTLtSuPin5ujaCqYajqitZf11MqeegYpVGgWs7qlzhpMo6j2242vPVOBWoVPm7rsbJJt9KhOQFu6/GyUa7cyG5Q+VqnFLva8Oc/SLIv9d26N4xnNj1Fxm2l2qMlKATtq+0iji+HBA1fEEgKvaSQMT+OkDk/kpA5OW1gEjtG6oC/jQqr3MasRNnwuIV0CJuvk37KOx3nNpM0mdPdEwnKUDdAMFPCvVb8XpPj6JN9Ehc3+l5uq7T03g9p0d0HadndP2mZ+G6TU/i9ZpHmBS8T1Fvcp/ojsNjNnrnsk/ihsJj8HFHoqt8v+Cx2JJv5WPmFx+NywNs85Hktx5NEcfYxvfRHoN9GDJreNGjpzQcT6FrT7lrT5WuPcmuPeWuPVW79iS69pS79pS79pS7tk5dW4dMW+dMW+dMW1cybS0zba0zbZ0zbS0ybS0ybT3Ce+prHA5A4p76moYDaLynvhbDAQrdU1/jcACK99TXYjj4wscwJuHCR2zJo5MvfDAX4yQvfLCURyxf+CDOYycufEQBRjFdHmCuxlNdHmCJRrZ2eYBlHuN0eYA5jXa6FjAMuXh2cRh1fnYxteexl08uCklkQOW5RaXmPFCPLQqJs0E/tpg0yAn1MKGQVGZUHiUUKuXHjgcJRQvOEvUYoZAoV9RDhF26/Os//w8s8zdF","Times-Italic":"eJyNnV1320aWtf+KF6/mXcvpsWTJsnPnTtLdsdNx7ESGMb36gpZgmSNKcEhRCjNr/vsLgqhz9tlnFz03XsaziwDqVNWuDxSg/5l919/cdLd3s29n7/+5Wc+vukcnZ2fHZ49On5+dHs8ez/7W3979PL/phgS/LW669Tc/3s2Xi4udslkuUXnkyvxmsdyiNsCmW1x93l3nn93lYnMzkH36l7dXyyHdN0enfzkd2Ppviz+6y18WdxefZ9/erTbd49l3n+er+cVdt/q12/3+hz/uutvL7vJdfzO/ne7wr3/t/5h9+69vjp69ePzN8dHZ46MnR08eP3/+9N+PZ+dD4tVycdv90q8Xd4v+dnexJ09A+O3z4uL6tluvZ9+eDvx9t1qPyWZPnhz/5cmTJ8NFfu7vFhe77HzXf9mudjl59B8X/+/R0Yvnp493/56N/77Y/fviyfjv0/Hfs0cvL/uP3aNft+u77maI0e1Fv/rSr+Z33eVfHj16uVw+erc72/rRu27dre4Hug/mYv1o/uhuNb/sbuar60f9p0c/LW77u+2X7pt/dMOvXv790fz28j/71aPF8OP15uN6cbmYrxbd+i/D7f4wXOZycXv168XnbiyF8S5+vRt+Ml9dFnVI+N38yz+mgnl2+vTx7EM5Ojk5ejx7ub7YhXo1iM8H8fvOjscgz369u/xHM/v26fH43/fDf8+e7cvrn93danExBPRf/zNrPsy+Pd4F9ufhRtZf5kMc//fxHj99+nSPuz8ulvMb4yfHU/LfN/0QqY9LU06fTMrt5ubjrqCubrN22S+X85Xx5+UqX7rVxa6yF+Hs7PlemN8M0nqITr6z8Q7GEs/al/mqu112n2pS/Jnd3ny9O+P62pRnZ6fTr5abtVGL2cXQRuf5Ep+3Xz53tzn5kJVF7zk5LplcL+frz/lu/uxWfab9bZfh3YNIefd51Ym0n/rNStDFvUi7XvwhYHffibLtdExvF7eiWl30y/4243V3s4iSlcByZwOJdr9v5suMr1bd0JBFNn/fdOvRaoryolToud/7s6OjPXuZ0V8dPTvbo++82h4f79H3+Yc/ZPS3/MO/Z/SPHKYfvT2enOzRq3xfrz37p8/26Kfc9P6Zf/hzvok3+e5/yane5lTvchn8mu/rt3yu83yu9/num5zqQz59m9F/eVSH3mFEH4fO7Lq7C7ZhbfTjoMV2yr+LnnJS8jFfXywWF4vVxeYmh2KzM+310POIJjL6W7gZ96mMPuYqcSH8N6fqcl4/5R9eZfQ5/3CR0X/nK17nVMtc/iJawnSE7X0RrT4X2iqjdb4vEftNztB9bkIPOdUfGW3zTfzpqaxoh/rVUa08LbVyVUlPPdzJEdTGu8XyssuX3nf1l/2DiHPonb0nuBvHaV45jkr+P+0Ghuiz9put6js+LfvVQvB1VznLxWY1dOMXHsDjoxNoNuvFOHhNrb6MWnSzutosBuWmv9Mjh508nvgrcmVw8Wmh8i360WEoqIYDl/OrK9Wl7TkOxWjAsSu7btV52z899rHQ/Go1/wKmVn76cZhEdCKXHt6P8/WBCB9WKyGyAoj6c6uhy+Xiy3rhDXWYLnhW7z73mzBUTL1+qNtecKv5vfDf+cXmTo1cRiv/tOz+yBo1rIJv5hcrNdr5uOrUhS/7u/lFaHAuLYaCxACYssJm6Dc7TOmGEbcYom5ur+arzc1yvhGX6a+GUea1ON0c8+HFchNqrPGXPuY5PptqQL+6/DQM8sKo0IcnsYf10UfkL4p/vvELPD16Yhe4GVxus8QrmC/PRXd3uWvw67XovJaVkXkfuZ29F0PooW0O0+GhzotC+zGVp3fLsfp51x8rjXdLskT9dLHofGSU7sDG0JeL+8WlKKQ23pkPlkXL8NuOP/JRnviRd4/UBK2jHudd1EYgq/mUfr3QThynMPidU2Pw31RKaEM/8BlAuojPFwaDgAlInGBSRs+emTiteIhLkeX4mJDqgeUyxMVnAuoGvHnU6mh0VB/lq7P5NKp2tuiqEM7sk15DQjaBkyH60DVe/eRsusqy/7O7vRKXfxcv4TM4lUmvHAcbiRC9eXEvYiPZeCNQ1JRXn/vkyNllfvvcr0Su3tDVPQyVUvuVeLmry0rYzukCHrHYs4XFjfVmHOGsxP3GKuhRrPFoq2aCN5vl3eLLcivuizLolTwWR+n4hrHW3WK+vFx8+pTLaptt2JpgvI5X2EOV5YeD1exAr1OXLioFfVuzQa4x7ilzORr6kfoVXHobBgy4/mbTn1V/3d3iJMjMcdVdLdZx2OtNtDLw+lG0C5uJbIZWHeYiHmwaQFrDrESm56pu7bJSpf6LTPvkRRm4jqtccQ3McvnDnRihfFc1wKXyLW9uFZPpqr1jrRd8WRs+HKiVlQD/WWsatZt6UyuRWtdT89x17cr1Lv7NwWEJ21IZF3TLO7HYcxdM2gvpoT/giPUhzs1G5IT6cAuVHGd6W6DQ+yw1jnDOTtHHhwq8GiqyuLVf0wymKMtYI33VU/a/NsOIBffiebmN8kBHeWJ9PvZjZe74Y627/Im6vxKGIWif50tYeCttfDcziQ3ci+KQyd/GUZPXtK+UHw2DLAi17vkqeilmaCpVVah6EPqrHO5aBdYzHKtgg0uoxx09NS13Qn0Tm5j+5LRMsIdu80L57PeVsebq4Gj351g+fruV0e67w9VaXsustXLOl1WP1rOkN5WFwz8PjCd/qPX2dG1fHZZZsfFYGAj42Q42hXgLvrh78ErL/mpX3re9GMX3dS/dZKk05eFUlZZ8dXDO0N2Jhw5/Vqrv7cFufAh56iHc8mtt/IfN7kHkvx/PXner21/mi9Xu8fG/Zi93j6lnj795+uTfj6ejvXsEtL/PiCZPR/j33dGpHe1dJSDMGApvhqMTO8+bcguAoHIEbkUV6L79BxScJyhTyALbLw4FtG84iN6Go992OTqzI4sZoJh7E86Ho1M7z3nJPaCQe+CQe6Al94Ao96BY7oFN7Tqw0U6QvB+Ojp5YETbD4Qs7andJ/ciy5Ahv3SjsB8AAbYajY7vwppwNUAgQcLgK0BIgQBQgUCxAwCxAwKYAObkPWXsIR9t4lOOzzfGZEmF7NUSN1ji1XOfcfIsCbdgQNWTjsjUXFZq0IWrXxlXjNjG3cJOomRvXbd1kbvAmUKs3Tk2/8LcZgQkYIidwruygqOAJhsgYjCt3MDFbhEnkE8a1WZjMjmEC24YJ0TsKRgMpDFykoDa3APYT4/VGo5ylaGAvhshjjCujMTG7jUlkOca175jM5mMCO5AJ0YYKvs8RechoK1Al1MKfJptAfzJE/mSc/Mk5+1NRwJ8MkT8Zl/5UVPAnQ+RPxpU/mZj9ySTyJ+Pan0xmfzKB/Mk4+VPhbzMCfzJE/uRc+VNRwZ8MkT8ZV/5kYvYnk8ifjGt/Mpn9yQT2JxOiPxWM/lQY+FNBbW4B7E/G641G+VPRwJ8MkT8ZV/5kYvYnk8ifjGt/Mpn9yQT2JxOiPxV8nyPykNFWoEqohT9haNCkIieniiLZFYnsWUEG44qc3CuK0sJCEvCxyMnMoqgcLabIthZ18rYoaoOLadjlokpWF0XyuyC+rXBwvsjJ/khUHhiSgBFGTm4YRWWJMUX2xaiTOUZRO2RMwzYZVfbKqEbDDBq6ZhDAOgNvKy2UTTSKX2neyk5DAvDUyMlYo6jcNabIFht18tkoarONadhxo8q2G9XovUG7rwTyocK3NX6o1IQpO0FLRkqGjBLZcZDYjEEEK0ZKRoyStGFIACaMlCwYJWXAqGf7RZXMFyVtvZiCjRc1sl2UyHRBeispGC5SstsgKbOFBGC1SMloUVI2i3o2WVTJYlHSBosp2F5RY3NFLVorKGisgMFWgbayhbGlonSwaSo7BRnMFClZKUrKSFHPNooqmShK2kIxBRsoamyfqEXzBOVehuxB0q2m9XIRljnlHv3SEJmlcXJK52yTRQGPNEQGaVy6Y1HBGg2RLxpXpmhidkSTyA6Nay80mY3QBHJB42SBhb/NCMzPEDmfc2V7RQXPM0SGZ1y5nYnZ6kwinzOuTc5kdjgT2N5MiN5WMBpbYeBqBbW5BbCfGa83GuVkRQMbM0QeZlwZmInZvUwi6zKufctkNi0T2LFMiHZV8H2OyENGW4EqoRb+VO4VDcoZOZQLZFEgsEeZBCbljFzKBWlTJoNPOSOjckE5lavZqlwjr3JBm5Xr7FaukF25QH5lwlvBwLGckWWBoDzLZDAtZ+RaLijbcjX7lmtkXC5o53KdrcsV9i5XonkZR/cyCPZlrBUthA3MhQPNSlmYieBhzsjEXFAu5mq2MdfIx1zQRuY6O5krbGWuRC8zfi+C8yDYVrFa5IWhlRtDQ3NGhuYCGRoIbGgmgaE5I0NzQRqayWBozsjQXFCG5mo2NNfI0FzQhuY6G5orZGgukKGZ8FYwMDRnZGggKEMzGQzNGRmaC8rQXM2G5hoZmgva0FxnQ3OFDc2VaGjG0dAMgqEZa0ULYUNz4UCzUoZmIhiaMzI0F5ShuZoNzTUyNBe0obnOhuYKG5or0dCM34vgPAi2VawWeWFoq+n7JO5AhZCZFUxWZpiNbBLAxgohEytYWtgkgoEVQvZVsDKvomXrKgoZV8HatorKplU4WVbBZFgTfpsImFUhZFWGlVFNIthUIWRSBSuLKlo2qKKQPRWszamobE2FszEVHm1pomhKEwJLmkibajjbUcHVJqGsaJLAiAohGypYmVDRsgUVhQyoYG0/RWXzKZytp/BoPBO9T2F4SGSbiY6tsJupEaDfGCLDMU6O45wtpyjgOYbIdIxL1ykq2I4h8h3jynhMzM5jElmPce09JrP5mEDuY5zsp/C3GYEBGSIHcq4sqKjgQYbIhIwrFzIx25BJ5EPGtRGZzE5kAluRCdGLCkYzKgzcqKA2twD2I+P1RqMcqWhgSYbIk4wrUzIxu5JJZEvGtS+ZzMZkAjuTCdGaCr7PEXnIaCtQJdTZn/460Je7K/uRBdFR8RJAMaTOMZpOLZCOPEjOPD7OSmiclIbt6HyslHZUcgAo3C5wuF2g5XYBUZGDYhkBZhkBNmVkT76f4r733+8x7oCih3+f4g4cMgK0ZASQ3S4wu11g0+0CKXF39N689PvJBvyojUexF/me2v1EJ9PFyBii8BinGBlXgTIxR8skCplxjpsJHDwTYgQNUxgLf5/D0GTUCkShNS7iO77DGONbEMe3cI5v4TK+RRTxLRLHt/AU3yKk+BaB4lswx3fi73MYmoxagTi+haf4/m0K7dHRqR2aFwErIUUWDQoEdCjAZlHA3IkAuhUBLF4EqIQN2G6keeZHJSuASk4AhYwAh3wALdkAZLkAZpkANuUBSMmCo/0HLodMPTUUE3Q5U10Z+iHSmepkpuCF24BzXjuR107kdbGrYn5kFdJRHIw7xzrq1Ibgjnx47czuxFnvw7/x0LtaZ9TXuhA6W8fe2zpL3a1L0N86LJMAZFajnU1fMA0VYmWDofEoDp1GVCoEojAN2Auvpua/N4NX2PoBlSYDSMykXlHTBxrnT69CwwfmhedsajJA4iTp1dTon1p+5rFbeIWNHpDoDF5Rowcau4BXodEDI+N/BY0eSLT7V9Doj4108SiOcF9hm0eUR7ivqM0jhTYPOA58X4U2D4wGvq+mlgZH+Z77yg328gb7fCfcyEAR92hNDFAcib/CBuZoEwpnkyvUplJ7NrL2bHLt4fkYKKJebUS92oR69Xq2XwnZT33HoziLH5GYwI88zd1HGqftI5Iz9lGhyfrISvgBlfA76kIeuhjr11jREeXwv6aKjhQqOuBYKq9DRQdGsX89VfQTy0EfLfN1qujAkz++xooOSC4tvQ4VHVhcUHqNFd3RJh7lu95U7noj73qT75prNSjirjfk96+hVjvZxqN819t8d6Grw3ZBAjURUlVroSS54VACakOk6uZEibhlkUyNjFRqb1GFyk8CtUJSqUGyKtomJcnNlBPkFkspqPGSyu2YZG7SUe5rFYkbOqmq9VCSr1VVdgJSdfOiRNzSSCarIJVcI6qbqnAwMNJWKMnXAsNmQ+r/JTDJgkhmNyI5GlMUt1XhYGCyc/002y/tH/uRDfMAhZG8C7v1gv24fnfUhKM2pGzjsvOI0qLyjorl7J+mDD+1RJZLQNjE9xTfuT8mRJmsvHNPKmQX30cn1OYfcu7V++gkqTjga9iUR46Ieg17kmKVgOCQQCFiVQUqpoFwRaGpCW3tVBxAUnMYYwIVzNygZHw4sPUGNSWY7A4Da4hC6lwFs6gQxoKajNr8Qw6a8RyuIqlAFW2b88jBMZ7C8vNseoZyZkd2d47sGYqjOIFzjnlwahM4Rz5Nc+ZTSWflGYoTm7ntUWlSLwWivBinDBlXuTIxZ80kyp9xzqQJnFMTYnYNU57xYQMjynN62MBc5Vk9bGCJ8pwfNrDAeeaHDYw5z6GFv6wKnP+ochSiKmMRk4iIxAQcl6im6EQ5xSjKFKkoUrzKg9OXAlGMjFN0jKu4mJgjYhLFwjhHwQTOvwkx54Zjnt9M2d178BvMKaCSSUBxhuc8PXN+g7kC5HMzZ747wVnZmODEJmaGfrNR4BvsnBCFfsmFsUuyoyYcfQgp26D59gZHaUb7Bo12uttktMwp1tpoWcxRT0bLnOOfjZaFWBLJaIlDmaSxauKqdMJYNaImow/5h21OxcWmhq+TFF7nhgKMnEoxilSUUVTlGVPkQo06lWwUuXijymUc1VjQUaPSTh+eOBHR43I/9OEJleR9pVSaCv9QOU9bSc+1ov79hb0OL61CxUBK1QIlqhQoqSqBeq4QqFJ1QIkrA2pcFVCLFQEVqgb0MvxJihNXgfrL8DnBexn5RtIP8gytTMvFXntHfK+W1wChxA1RcRunsjauCtrEXMomUREb5/I1gQvXhFiyhqlY8R3fkxgGLtDKO76kvs/xbDL6kH/Y5lRcfPKV2L0U17iwCFmhkmSZCpRlVa6cJhcvp6BSZpkLm3Uuc9Zj0bNKNYBkqAisUH1IsqoWlOh9tcSaqvKhera2+huuOSznCmTvzEHVcUaVxgWqLi6oiuJqriKuUeVwgauFK1whXIlVwTlVgvDm7AlFhAu+9uYsy+9FdBvBPojftiIdF6p+wXSvldUdKE1DVJjGqSyNq6I0MZekSVSQxrkcTeBiNCGWomEqRFzNO4lh4CKsrOaR+j7Hs8noQ/5hm1Nx4akFvknCSfqUtTRJZ05lpyfpLOayS5N05lx2eZLOQiy7NEknDmWXXl1IXJUd7uuneDYZfcg/bHMqLju503+UfpmK7YUfld8CKoUFKJQTcLgC0FI6gKxggFmZAJuKA0gpCUe7zUbP/ajkAFDJAaCQA+CQA6AlB4AsB8AsB8CmHAApOXBE+yR3KCbocqbsyTUinalOZio8mAac89qJvHYir308yvfcV26wlzfY5zvhp8agiHu058OAcvB5U+LbGb7RMB7FNxpGJN5oGHl6o2Gk8Y2GEck3GkaF3mgYGb3RMLLwRsO7Gb4+Nh7F57UjEk+vR54e3o40PqcekXw4PSr0RHpk8fn8iOJD+XdTrOEo3/V55a7P5V2f57vmWIMi7vqcHp6/g1g7GV/Eel6OmnDUxiOrPY6wluxpWfiCMjREITGu4mJiDo5JFCHjOkwmc6xMoGI2TmVd+LlAlSzKojexnkWuBMYPZzFVBxO4TpgQKwYukVLBNhm1AlFlUeuhk1QeMkGNMUThNK7CaWIOp0kUTuM6nCZzOE2gGmOcakzh5wJVsihrjIn1LHKNMX44i6nGmMA1xoRYY/D9IyrYJqNWIKox6v2jIqWthOUm9FZCrcoAV7cS6gQc7INbCXWiFHi9lVCrXM+Cel4VDgZG17yY5GuBSbUwqv+XwOQaGeVUL6NMtTPtupFVqakJbVXgWlvddbNPMEy09hPMJ3YUZzkjsmmlI7HxdeRpLjTSuMV1RLRldWT00vbIwvvaI4n7VX+bmpzn502MwW+pcQGXAbFmBIiHla74sNKZvbfjyF7bMbSbmbw4tiObITqyGaKjOEN0jjNEpzZDdOQzRGc+Q3RWZohObIZo6KJfwirAnuxnXGcnhcRfdDmXNuFCFGqXc6xdQGHCBSexSufIK50zkfnP2y+fu9uQjUXIpr2rBoiWPnasD2ftc977SnH2sjj7XJw8cQNFFLRN3ADlUrWJm+d+FbK1yrmnl8n2SLxMthPW3c2i1JxnRjchzSZfYiMWsUae1q9GGpeuRsRb6V2h9ayRifLchFWsHXkIYdrGo5IHQLjLbk9xv9bkaGm/FnPyY71fi8XszGm/FnP26Lxfi4Xo1mm/FnHw7TTEZq4cXA2xWSIvrw2xWWZXT0Ns5uTvhYPJGyIfME52b1yZhInZKUwiuzDOzmACW6EJsTMwTN5ROHULjkPfULA4AfcSxqmrcC76CxNzp+FS7jlMo+7DOPchJtSix71J4YscIu5XjLMZFaHPl+NuxvihaiQ6HJMq1ajS9Zhcq2XcCRmv1Cbujgpf5Whwx2SceifnqosqquinirTJqbnHMq66LRNz32USdWDGdS9mMndlJtSqEHVqBT/kiG8Foj7OuOjo0ibd0hvoTbpa5a7vwCZdnUR0g3qTrlZTl1jZpKtl6h71Jl2pYlepVxW0KrvN6qqCTsBd6MFVBZ0odad6VUGr3LUGFTvYKLAPRpU726hKr4xJhGPGBOybUU32GOXUmUSZOuQospEGlTtnEmMXnV4FladM3bV+FbSiqq67+ipoJYHoxvWroPr3qUuvvAoqz52696AuaqFOXX1Uk1vHdzBrN5M6/6h+vVqrgUBMcLBa1wYFMdHhup8GCFE9WLvTYCGoq1o808Ahqjx8IFUOIkIaNZSIr47WfpmGFVGVg4uYRAwxYgIeaES1MtyIidKgI8qHKzMPQIL4UCvLbVXgIUn99b8xwfk0GtkvzZ7jEARQ/L7NeRpsAE+L0ec4rABEK8rnYQABLKwdn+NQwVFx7v0HSs5n6ZslZZEd85re0WBOudbvaLCY85/e0WDOkcjvaLAQY5Le0SBO0SmYQ5RehZhOo1+FkCJF7MCrEDJFjp1+FUKKHMXKqxBSjfHUr0IokSIbNA4vvU4wnU69TiAkCmz1dQKh56Cq1wmExAGVrxMILQZTvU6QJQokKBxG3KA/nSdt0GdO0dMb9FnMcUsb9JlzxPIGfRZirNIGfeIUpYI5RGIf/HSi2j74ikxxO7gPvpImR7G2D74ic0yr++AreoxwbR+8linepHLYw+7x6YR593gSKMiV3eNJzYHNu8eTwMEUu8eTEgOYd4+zQEEzzuGyv+cA4XJG4XKBwuWCCperOVyuUbhc4HC5wuFyJYbLOYXLBAqXcQ7X9DV6CFYhFKqCKVAFqzAVLQepKBSigjlAhXN4Co/BKZRCM2EKzEQpLO+nkDx7YkclHIBKKACFMACHEAAt2QdkWQdm2QY2ZRlIya6j3fLWUz8qOQAUPxnlPH23YqT26SdH/DU9V/xLUM7KHBSQfZLR0Li3+OjIDm0pDph/FdcZfRXXBVyKA+xfxXUGX8V1CF/FdWhfxXXkX8U1Fqen76H6HR2/KIh+04kM23JPYJUMhy/NAoX1HExtn5p15J+adaaiYKs0p5a/3dLMfo44HsVp44hinXOe5pAjtTrnyGuWM/8QrrE+3msvwtrXQtjrOtOLOpM+PwuSqk7++Vlgour4Tm+vKbji4RndxKMc8rigARwrilOrEI4oj6B4VXEmCqMsR+xJE+y1yfbaZHttKvbaSHttsr02wl4bYa9Nstcm22sz2eu+u2jQXgGJr642ZK9A41dXG2GvoNBXVxu0V0Dxq6vNDJf2m1laz29maRG/Sd4KPK1rNrO0Rt/M8sJ8M8ur8c2Ml+CbWVp3b5KpNmCqnib+osu5pAX0Jhkq8LRU3rCfQuK4KN7M8kp4M8vL3w266f6DU80MF7qbWVrdbmZ5SbuZ4Tp2M0uL102yPeCyOPtcnHpBupnlVehmlpaem1lab27Q7xzlBd5mhqu6zSwt5TbJ7oCnRdtmllZqG2F3oNCabDPLC7HNjFdfd2RcWTXr8OVUR2jGI21n+ES3RZcEFJ/dtsklgaentC26JCB6HtsGlwQWnry26JKOxmesp3ZkvbCj2Ak7xz7YqXXBjrgHdsU7YGfW/zqy7teQu0mbXbLNLtlWXLKVLtlml2yFS7bCJdvkkm12yTa5ZJtcsg0u2WaXbLNLthWXbKVLttol2+ySrXDJVrhkO0tPBtsZjjnbWRpzjkiMOUeexpwjjWPOEdGYs53lMWcbrLfN1ttWrLeV1ttm622r1tsK622z9bbZettsva203nayXk+zydnbVLK3kdnb5Oyx9YIisrcR9WMTGwc+oJlMKT2gYU6Wqh/QsJjNNT2gYc42mx/QsBANNz2gIQ7Wm17PY65MWL2exxLZce31PJbZmNPreczJoguf55JmszZOjm1c1VkTc8U1iWqvca6oJnBtNUFXWTZ1f+4W2iU/jqPU4gRs9MbJ7Z0fiJDwfZey+ZtGPYBx7gZMqEWPO4TCFwJR12Bc9Q8m5k7CJOopjHN3YQL3GUXoc7649zB+qDREP2JSpb5WehSTa9WZ+xbjlWrLvUzhoqsp0ian5k7H+KGoiO7HpEpUKh2RybWopC7JhNjI+StwTxKl3kl+BS5Lqo+qfQUuq9RT6a/AZY37K/UVuKxQrwUSdFxIqe9CSXVfqOceDFXqxFDS/Rim4K4MNerNUKIODaS5rCXcraFEPRtKqlmgnlsGqtQ4UOIGgBq3AdSqzYC7u/AYP9iDeMCff6PPxF0fStT7BelwFEUfGNTcDaJMPSFK3BmidiDI3CWCtNCUOkaUVN+Ieu4eUaUeEiXuJFHjfhK0XmaZe0uUvlJ6os9Etd4GKj0npjjQSrj/RKneFLgXBUl0pKBu5G+4O0XpK2ETnSqq9bBVulZMcSBsqYNFLZjL4Asz/+bMeGTPDR3FjaaTUDrtK4HoHMbliabEeCJDdCLj8kRhD9hVjdMpoyjPC9G70pTOiZI8Y9k+dCUQncu4PJFt8bhSjE7lgjyX7X+4UozO5YI817Rl4CoTOk/B8izlQ2dXAtF5jKsTfURTODHkf/L8IzZzQPHhlHN8OOXUHk45kn/Z/GNovsDo75l/hOa6Jxe7jssGRLuj66Bdx9xPgs0C/ZcFXedU+hz2TqGfo6DrnKpyjmEMsFzO6SwGr1VKfab9iGb/J0guPy7LXyE5OskyabgKcGTEd8aEugUo3oYL/gj6tKD7cPQQjrwe7Y78z6SMR3HzyYjSJpMyOONMoBufEKLsVNyYVM5Y4fcZPWQE+Sxom/PAOTaes83v8h5FDNk2RNk2LrOdXvqcMlT4fUYPGUG28d1FygNnW767OElqy/OR0DAAsruTog6F3EpdcorifYU/VDiGB/m2kuEUqCDmaIlJz1FSIFKqCxeSjJIab055Bule0gdJITpAtzJ7HBmURFx8cpUCAxJGBjGHBjUdG0iRggPavcYPGmN8AG91PlOEUMsh4n3eRxFDaNJAjbkMSdowPmWw8PuMHjKCEBS0zXngrBvP2U5bh4+IQ8bzuDIJMut5G/KUKxPuBXsQDLJvbCsywwFwIUcg7QY+Ig4RyKPhJMgI5J3FU85MuBfsQTCIgLGtyAxHwIUUgU8p7zsyNJdlt17vlkKeGfw0K+9C744Wdi/jEQ1eP+XsfqIx2X4KepWuvyNdPLJlTUe23RNQ/obryHFlEyhu9nQcP+06IvqA68joA65xtiNmOtVZzlUOVPkpx6XgTiCKkHEKk3MRKxNzwFzKUTONQmec42cCBzEvBVxVlgKuDi4FmMqB1W+dTz/Kb51rgUJdeeu8ooqw1986ryTIRVB561yrXBy1t86lfFUVqIBIlcVUeYd6X1jXoRCuc+Svc7ivKzG+loG91tG8ziG8FnG7FsHasT4e5XvuKzfYyxvs852k/dSuiHv03dSO7MmKoW08yne9zXdXazAs0MkONpikilh9rcGkBLmIDzYYVjmohxsMyX1VOBgWWUnqn0zQCQ5mq1KLap9M0DLVrconE6S6rQoHA5PrYRlC7kdbt7hSMSGcxRcUTgpCWUl01Afb67PX9TWD68vQbn+Ul8z7tEjDXJ42LMbsUWXxuz+0+N1/ffG7zxP+PZeL4r2aUQtJXomnzXual8r7ylJ5f3CpvA8zrT2it0qv6gpdiWV5QUoE1xWr9n1t1b4/vGrfx0nUnpU/7nIlEJ3duDx5UeHceU2+r6zJ9wfX5HtsZ3tU+v/aum7USRzZsvt0V/T9/8vrQviTmb/EGPEQyfmd1uIlxTlX+nf2gRellZ5PanHdO6dYmz9FXC6otHJBqZU1d62KeW1M8WV+0VVis/vJ0/yTu3hSkcLrxhDe/VuPp3YUt7qMyCqgI7HrZeRpt8tI4y6XEdHelZF5j++svO3oJG5f2aGLWXlzZTyySbqjUkKIrGAAlpnLPtqrqVJ7AqvLjuKVunzxLl88Dr+A4zICUBhoAbYNDo58Y4Mzi6qzq3hUyhcQ1SETbH/HsdWf3UjsxMrChl+A4hvaziG3QO3NbEf8QXdX/H1tZ/ZNe0f2QrYhnxV5Wf8esuojoRUaAKA4xF7F5o5QGHVxMGx+aR8xc2qIeh8xi7lJpn3EzLlx5n3ELMRmmvYRE4cGa4gajnFqPc65/aZHeFPBFn6Zk3Jzxp3LjCr3x61b71xmMbdzuXOZNWrxeecyC9z2cajMiFygMlQmlf0AdxWfxEJnZ9C7ilnMHpF2FTPXbpF3FbNAvpF2FRNPDlKE33OYwEsMkaEYJ1dxztbiivIX/GL11PzSF6uZk7/oL1azmP0lfbGaOftL/mI1C9Ff0heriYO/GKL2a5zar3P2l/SsfCr2wi9zUvYX/EY2o8r9sb/ob2SzmP1FfiObNfKX/I1sFthfcOMAI/KXysYBUtlf8EPZJ7HQ2V/0h7JZzP6SPpTNXPtL/lA2C+Qv6UPZxJO/FOH3HCbwF0PkL8bJX5yzv7gi/SWs9KDLRIG9JqrsOFGVvhOTCPeJCdiDopqcKMrJj6JMrhRF9qb4jATKMArsA1FlNyA1eZZ+MFMqVFAvaz9LLpbWp7VwMCfJ1w6sT+skwuPq69M6BftdZX1ay8n70gMdLbAPHnqgI9MkT0wL4yeqyiV/PLAwrpMIr9QL41qt+GZlYVzL7KF6YVyq2U+D/Hst3OitUWCHjSr7LKnJbUkXnjstBo2vbe03DBixW4nY7DVi8RV509BQoxK/G2+YvgVv3L0z8mKakcaPwhf8WyYWVsIxXkHc/UG2/R+tLWT3l9hOQkx3f4LtLKSxv71GGAK0V+7BWvcvjdxjddujh5ToISfaQqL9Bzy2mGhCPNElzMnF9r2s4I/+/b//H63X5Vs=","Times-BoldItalic":"eJyFnV9TG0myxb8K0U/3RjC7NgZj5o0ZZnYGz5pZGyH3bsyDEA3oImhWfxCajf3ut1Xqyjx5Mkt+cbh/p9RdlZV1qrrVJf5T/dg+PjZPi+r76urvy/nortk7PPpwfLh39P7DyUm1X/3cPi0+jR6brsDl5LGZf/dDO735dTGaTsYbdTmdorq3UfdUHj1Opmss0MFhM7m731xwU7Y73pY+fbqbdqW+e3vUkfnPk9fm5vfJYnxffb+YLZv96sf70Ww0XjSzL83msz+9Lpqnm+bmc/s4euqr+cMP7Wv1/b++O3jzZv+7g7cf9k9O3u+fHLz9Y78adGVn08lT83s7nywm7dPmSl0xFS7vJ+OHp2Y+r74/6vhVM5unYtWbNwd/efPmTXeNT+1iMt605Mf2eT3bNGLvf8b/u/f25MPR/ubf4/Tvyebfkzfp33fp3+O905v2utn7sp4vmsf53q9P43b23M5Gi+bmL3t7p9Pp3ufN2eZ7n5t5M3vp6DaYk/neaG8xG900j6PZw157u/fb5KldrJ+b735puk+d/m1v9HTz13a2N+k+PF9ezyc3k9Fs0sz/0lX3p+4yN5Onuy/j+yZ1QKrFl0X3kdHsJqtdwR9Hz7/0ffL+/cl+9TUfHb4/2K9O5+NNpGed+OHdfnXWyHEX4+P96svi5pdhV/Yg/feq++/bg7fb/vp7s5hNxl1E//Wfavi1+v5gE9lPXU3mz6MukP/d3+J3XcwSbl7H09Gj8KOjoy3/97LtQnU9VeVNf6Kn5eP1pqfunrx2006no5nwD+/ebflzMxtvMj4Lx8cftsLosZPmXXi0ZvkzqQapy732PJo1T9PmtiTZj0n1RvPNGecPqhz3yvN0ORcqMRt3A3XkL3G/fr5vnnzxrimTVltykBs5n47m9742fzaz1tP2qfFwsQpKLu5nTVD2tl3OAjp5CcrOJ68BbF6aoG+bOKZPE6iwhGjcTtsnj+fN48RK0gPTjQ842vx7OZp6fDdrupEcNPPfy2aevEZT8KDve637+/fHW3bq0Q8e/ahpe9Cf7MyX+smjn/0H/+aHwC9+UP7qG3buT/9R0du3W/Sbtjuf6+++Ep88uvDn+t2X+oevxGewjvdb9MWf69Kfa+DPdeVrP/SlvvrT1x790yffdTeZPTQLYxsyRq87zY5T/hx5yrF4yngyGU9m4+Wj77XlxrXn3dQTDJHkb6Yy6lMeXQs6PDzsx1jgv75UcOVb/8E73433PkgTj/7Pn+vBl9IhLGn/6K8YmE5ge8/BqPdDaObR3Ndr4Sux9CF88Um48pV49R9c+0r8qejwg+aXTYSDg9zrMJna8ruycTGZ3hSn+pt2FcTZzM46EyzSQk2T421u/+1mYYg+K59ZR3PH7bSdTQI+bwpnGS9n3TQ+XvsuS8NmPklL18D+t6uWeFjdLSed8tgu4pXDRk4n/oZMoc+JczsJWLB+6lZy4XLgZnR3F01pW45LMVpwbPqumTU3/qPdWmh0Nxs9g6nlj153dxFN0EoN7/VoviPCu9XC+ks6wOrdXUGOzXQ6eZ5P5oHUtXVx3y7NWtFN+ya5tedmo5fABkfj5SJauiQvv502r16jkZXx42g8i5Y717MmuvBNuxiNzYhTadL1JAZAlBmOQ61sc9OFNFqjLp/uRrPl43S0DC7T3nXLzIfgdCNsB/TLo8nZk2xwp7rqOXjf53w7u7ntlnlmXagLFDvH6vrDcrnAhV7gncwJs5vHzueWU7yCnGmkTDzjZjPk5/Ng+poW1uZtoZ5tkPTd6OxuiLush16TlZzrUJ2Ybf7p5G+zRiemsEv1dLbvdG3kaiCTxc3kZXITdFJta6bL5WBoaLXth3SdF3xIJ0gagzJVpzsvGiTQVH9KvZ4ZKIp9GKTmNBr0M9RD0hP0Ab0HcBfRO4bOIeAWxN5iUkOPD4+z2D/0CC5FnqOrQpsH2so4Lp+iCujwKOWotVRd50dn0xup0tmsrUI4vVFqhphmAidH1MWrvfrhSR+waftn83QXXP6zvYTew0WN1OTYOUgCUYcXTyOylrUVga6mturdj4+c9tF9OwtadUFX1zAURsEXcok32WwLYRvQBTRidmozjzfmy7TGmQX1pRSUKJY42Wo2wcfldDF5nq6DelEDNcltd+RE6lZbi8loejO5vfV9tS5bwyd7HU3YXcny08402zHrlKVxoaOfSjZIHQqeEo/NX+lE+PCtWzDgEzi5AZq1D80T3gaJOc6au8ncLnx1iNLKS6djPy7kXmTZjWpzN6LBphWkDMyCobU8lmRcFlLqn2Tahyd55Zqec9mnYNLKnxb3vq4/Fg1wGvnWu7xsWxRMpinOjqVZ8LS0fNiRlYUA/1kaGqVKXZR6pDT1lDx3XrpyeRxf7FyW8IyZ1wXNdBE87lkYk1ZPXLU7HDFY6b3PJhe0xNZIQxWuM3UsUOj1PtWucI6P0Me7BJ51iQxVk2nE3cJ8OMj5OgonpI/hIkPuMGzH6T2MfKkTmWJ5ofFrITV/LY3x32j+y3HoonY/msKztzzIN7cm9Jxb+iJyefFlu2zSVPtGB9I6SILA87Pc31gzxQb13Rr16iic67+E613J4PgWRzKss4noG4+2MOX/WKjEkjL/UOz8ZjKOjPasMKHNdrbmk+0frW5huft5d17vXFqfFs55WjTp+HbgovDs8M9g4tSlSGG6LznFQ9iUN9mrzEpAz7ZzKNgq6PPdnVeatneb/n5qg0dVrTdTSR8v5QzqTlUYyXfhTYM8X4GZXGNeSN+ncB6H7w/dFKGeXxrjPy0330X+sV99bGZPv48ms803yP+qTjdfVVf7370/+mO/P9q6h0HbelrUmzrCv22O3sjR1lUMwoahcNEdHelRrgIgSA7DpasM3Y5/g4zzGKUPmWHbp0MGbQcOon9sjqT1l/YoxwyRab0KA3PWgW/9oND6Qdj6gW/9oNj6QdD6vPAzLNkJkqvu6ETaMOyOuqk4H9bd4bEe5SYBgqorhVcCOnyY8bI7eieFlvlsgEyAgMNVgOYAAaIAgSIBAiYBAtYHSMmLacPKHK3tkcRHEcZnS/tCOF4F0aAVTiNXOQ/frMAYFkQDWXg4mrMKQ1oQZbbwKL1F9DkuEiW68DjbReaUF4FGvXAa+pnD+M/oMkDkBMojO8jqwF+OjUH4rvAFFiFSIXwFsxC5FD5nGyJY78gYDCQjdJHMwEoEkZ8I96aSpchZsgb2Iog8RnhkNCJ6txGJLEd47Dsis/mIwA4kgrWhjF98q1cerQNE1iTc+1NvE+hPgsifhJM/KWd/ygr4kyDyJ+GhP2UV/EkQDTDh0QAT0Q8wkWiACY8HmMg8wEQgfxJO/pQ5+FNGlwEif1Ie+VNWB/5y7E/Cd4Uv8CeRCuEr+JPIpfA5fxLB+lPG4E8ZoT9lBv4kiPxJuPenLEX+lDXwJ0HkT8IjfxLR+5NI5E/CY38Smf1JBPYnEaw/ZfziW73yaB0g8ifh3p8wNGhSlpNTWZHsikT2LCODcVlO7mXF0MJMEfAxy2k0WjEakraEH5dWp8FpxXiE2jI8TK1KVmdF8jsjgukZflniZH8kRh5oigwK9WA3tOI34x/4otV3xb/gkLbMzvg7r7SqNUyjgWsajtZpBPBPy8lEreid1OiRnZoC4KmWk7FaMXJXW8JbrNXJZ60Ym60tw45rVbZdq1rvNdpLIU6rAl+XOPmxFb0pK0FLRkqGjBLZsZHYjEEEK0ZKRoxSaMNQAEwYKVkASpEBoO6HP6o0+FGKhz6W4IGPGtkuSmS6IIHlAr2MKdmtkSKzhQKD8OpstCh9I8qByaJajnLBYLHEjig7c0XNWisoYKxA0VYBg6kiJUtFyRsqqJGdggxmipSsFKXISFH3NooqmShKsYViCTZQ1Ng+UbPmCcpLGJNVSNcxJdNEyVtm33r0S0FklsLJKZWzTWYFPFIQGaTw0B2zCtYoiEas8Gi4iujHqkg0UIXHo1RkHqIikAsKJwvMHPwvo8sAkfMpj2wvqwN/OTY84bvCF1idSIXwFUxO5FL4nL2JYL0tYzC2jNDVMgNLE0R+JtybWZYiJ8sa2Jgg8jDhkYGJ6N1LJLIu4bFvicymJQI7lgjWrjJ+8a1eebQOEFmUcO9Pua5oUMrIoVQgiwKBPUokMCll5FIqhDYlMviUMhppKkRDTVU/1lSjwaZCPNpU5+GmCtmVCuRXIoBhCbuMGFkWCJFniTwIrsmupcLOWAa+pVoplgXnUr0YS+ddqljzEg7uJQztSyD4lzIyMBW8g4kWWZiI4GHKyMRUiFxMVW9jqpGPqRAbmersZKqwlalivUz4S9D+VcDWESM/U8EbWq4YGpoyMjQVyNBAYEMTCQxNGRmaCqGhiQyGpowGoQrRIFTVD0LVaBCqEA9C1XkQqkKGpgIZmghgaMIuI0aGBkJkaCIPgmuyoamwM5aBoalWimXB0FQvxtIZmirW0ISDoQlDQxMIhqaMDE0Fb2iiRYYmIhiaMjI0FSJDU9UbmmpkaCrEhqY6G5oqbGiqWEMT/hK0fxWwjaG9YyYxYQFbvdVm/W+UqANlQmaWMVmZYDayXgAby4RMLOPQwnoRDCwTGnIZRwMua364ZYUGW8bxUMsqD7TMybIyJsPqMdhVTy49IasSHBlVLw7cldikMt4RscCgshJHrGBOWS1EzBlT5taWegqm1BO0pB6BIWVCdpSxN6Neiayol8CIMiEbyjgyoax5C8oKGVDGsf1klc0nc7aezK3x9PTFtXXlyNoTWkFl7NdP/SBAvxFEhiOcHEc5W05WwHMEkekID10nq2A7gmgUCY+GkYh+HIlEA0l4PJJE5qEkArmPcLKfzMF/MroMEDmQ8siCsjrwl2MTEr4rfIENiVQIX8GIRC6Fz1mRCNaLMgYzygjdKDOwI0HkR8K9IWUpcqSsgSUJIk8SHpmSiN6VRCJbEh77kshsTCKwM4lgrSnjF9/qlUfrAJE9CXf+9ENHT7ujgyM5yp8FlL0EkAkpcLgC0BxIQBIkYBIfYH1ogOSBrWiQMlCOcgsAmeoCh+oCzdUFRF0OijQEmDQEWN+QLTkzcT/zcT/zcT8rxP0sjPuZj/tZEPezIO5nLu5nPu5nvRkcSXs2PnAoR7XRamuDZzTue9qbLkZGEIVHOMVIeBQoEX20RKKQCee4icDBE8FGUDCFMfMrHwYIaEa1L8WhFR7EN21itPHNiOObOcc38zC+WQzimyWOb+Yuvllw8c0CxTdjjm/Pr3wYML49qn0pF9/MXXx/7kPbT4Y/Y1iR5ZAiI4NSwTiUYrUoZeBECsGKFIoXKcphAzaSuT4d5aYAyi0BZBoCHNoBNDcDkLQCmDQCWN8GILkJira/cdk16uAkI2pjE3RQkxd/hhU6qIk7CHbdWh50XBN1XBN13EQyNh3lugMy1QQOtQSaKwNI6gJMqqKsldVaOrJru4RMTYC75V6iuSaAaMoFReoILN8GAMr5oKj/EVOTEDMzfmd2tCck9wKA7G1AEs6Ns557Uz33fnpesNLz0EXPvYGeB955HtjmuXPMc2+W5/2gP5T2jGyKneOgBxRk3TkNeqA2687NoAdGWXcOgx5IboEiGfRCrN74NsmIRxS3qQnbZIY7YN/UJmhqEzS1tUe+zm2hgm1YwdbXhAcYKEEdZYAB8rHXASZoaQosfUOWhYYsw4YsfUP4fgyUoCHLINhLk1cfq+2TkHd6ZO8sEwpuKhN395OJ2lvJhMK7yKTQDWRiOfyAcvgV6VD+iIkOKCc6Im8/HynRkUKiA7au9NEkOjBypY99osORr3NbqGAbVrD1NeFEByWooyQ6IGuTH/usPpC4S1YDsrVWjrVWKrVWxLVWRWutTCOrLPu9kLU98rVe+9qZqQ7HBQk0REiNRgsV8QOHCtAYIjUeTlSIRxbJNMhIpfFmVUgPEiijSaUByWqQ+lTEjwIu4EcslaAhQyqPEZJ5SFu5LQo7wxKOeSryrYazE5AamwIV2t12tgpSyTWsuiyNMPYSUiNboSLfGsNsNqTGvkOF2IJIZjci2RqTFddFYWdgvHP9Vm0f7b/9IEdyYwfIrORV2DwveHecj4bmqLZH4nyK0MuEmsfZ268OfusbrIXW/mxrfzbcc9/X2e25dzxqKW5Ip3MPPaoDRPWN9qOTFMUBt2FTcY5ItA27l2xKQHBIoBCxGgXKlrkqXXNYEuqiQM0j9VuNjILpB1T4UQ5seUD1BXq7w8AKopAqj4KZ1St/7qFHdYCo6sLLlY4ClbW1L87BEe6u8Kna3vdvlwXpyK6FEsp3zYCCNVHibiGUqF39JESrmcToO6bEzNdLidilzKc8pE4DRG0RTg0SHrVKRN80kah9wrmRInBLRbDNFUxtxi8bGFGb3ZcNzKM2R182sERt9l82sMBt5i8bGHObzQg/LQrcfqtyFKwaxsIWCSJiC3BcrOqiY2UXIytTpKxI8cpfnJ4GiGIknKIjPIqLiD4iIlEshHMUROD2i2BbLti2+aJv7qEe2Uc2F9hIQMFTnAtqGlD7FOfCNAgYPau5gGYAsc+hLvoZCo7s470LPy+poN8TXfSzkR59NSVro9HXRBdV9A3RBRrtISEKszNa5lHAI6NliULvjZYF7gQ2WsbUHbhWZUQdU1irknrl4zn06Kv/YO1LcbdFy9deMtu5oQMtp160InWlFaP+tCV8p1qdetaK3L1W5T62qu1oq1Fvux+eCDn1+64fnoiKXBV6ZVjgXwvnqQvlOSuKv7/Q67BpFRIDKaUFSpQUKEUpgbpPCFQpHVDiZECNUwE1mwioUBrQZviAUgqUN8P7Aldh5Ich/RqeoQ7LcrcX9oj3at4GCD0uiLpbOPW18KijRfS9LBJ1sXDuXxG4c0WwPSuYuhX3+DKiDi3s8SX1ysdz6NFX/8Hal+Lui7bE9pJ9xoVdyAr1JMvUoSxH/cplfPdyCepllrmzWec+Z912PauUASRflhXKBydHaUGFroo9NiwqX4tnq4uf4cxh2SeQ7JmD1FFGSaMCpYsKUaKo6lNENUoOFTgtVOGEUMWmgnJKArNz1jHq+NLOWZavgugOA/Y1+GwdlONODTeY9lp+ugO9KYg6Uzj1pfCoK0X0PSkSdaRw7kcRuBtFsL0omDoRn+Yxoi4sPM0j9crHc+jRV//B2pfizose8PUS3qQfEqK+czfpzKO+i27SWaK+8zfpLHDf8U06Y+o73LrAiPqusHWB1Csfz6FHX/0Ha1+K+y56038r/d5324cjOcqfBZQ7C5DpJ+BwBaC5dwBJxwCTPgHWdweQ3BOK9JWpdGRzLiGbbgkFmZa4S7JEbX4lRKmVGGVVYiahErG5tEH0nuQGNaaTGtulCdnX4rbIb2pJPOx488U0YLvDJSHavZIYbVzZsM2XzUfSLfINMyBbQeVYQaVSE0W8zUYVraMy2ZukSLYlCeKXEv9R4Y6GdGR3NCQU7GhI3O1oSNTuaEgo3NGQFNrRkBjtaEjM7Gj4XG1fDjnUIzsQEgqyPnGX9YnarE8ofNUrKTQeErPvrCVkk/9z76Hv9CinNSLjnCoMzHkGvr2DQnsHYXsHvr3cS6AE7R3Q+P8MvaRkY/Xb7+E+9y6vR7U9krxThPm1pfmRGfS+IAqJ8CguIvrgiEQREh6HSWSOlQiUIMIpS/AR5jtClC+FR5ikDvy5OX2E74pVkEgiFWJVSCmRS7FyySWCzTB8SksZMvSoDhBlXfRItpfy91yQeoIonMKjcIrowykShVN4HE6ROZwiUOoJp9TLHFJPEKWe8ij1sjrw5+bUE74rVkHqiVSIVSH1RC7FyqWeCDb1cC8VZcjQozpAlHrRXqosudcicyXi1yJjNQxw8bXIuAAHe+drkXEhF/j4tchY5YR17+C8CwVO3l3v4IRlBqVrunS26rdjHqW2LbAz5qU0t4V2x9ynvJUp8d3LSWGWDktCXRR4QBRfTtoW6Lo73dBtV7fpyK7CE8q3Q4CChXnibmGeqF2YJ0TL78T0FkFZ3tauxK7IL/vRrO25sDG4dOMWeBgQGaGAePWtiq6+leUBCEj26wlK2/UO5CjXGpBs11Nkt+spx+16SmW7niLdrqdMt+spy9v1lMh2PUHjdrrd1nWoZHtjqmXsJxrfSrkvRRS30tyXAoX7UigsSadIk05Z0Pj79fN9Y6u02cm3fX0sHdmXzRLS1ziEbe5vTyRL5f4WULD7MnG3+zJRu/syIcpLUGhfZmI5LwHZTZgbJPe32vqZadbMt1723CGyU4II8+Zx4jNnacos/SXoVyGUuxf8EpXXcBTxjgNV9N0cZUF/yu8+CFmZo7U98m3wLyPmaRVd2L3Wxpz8OH6tjUXvzO61Nubs0f61NhasW7vX2oiDb7vbAOaRg0e3ASyRl5duA1hmV3e3AczJ3zMHMxREHiic7F545IYieuMXidxfOE8BIrAVimAnA8E0I2ROg1uxmRsyDk7As4RwmiqU74hQMGmo5GcO0Wj6EM5ziAil6PFskjlMKYLIMoSzGWUBZhhBNM0Ij+YaEf2EIxLNOsLjqUdknn9EoElIOM1EmfN0lPnMR4MnJuE0OymPpqisBvNUlpa+NM9YwqNpS8TyfMATmPB4FhOZpzIRSilEk1rGK4/WASq0Opro3LvMeTaI32WOVZ76drzLHBcJpsH4XeZYdVNi4V3mWKbpMX6XOVRxqowfWMRqOG0WH1jEBXgK3fnAIi7kptP4gUWs8tRqVJxRrMCTiFV5srVqOKHYIsHEawvw9GtVNwlb2U0mVqYJ2Yo8LRuVHY1EO0XbnaNFYWek3aRN6jcjHU3gVCCYxm0Jnsyt6qZ0K+/uCze9GxUneSuwc1rVubXdqgrTpBV48rdquASwRYKFgC3AywGrFhYFtpBbGliZFwhW5WWCUd1iwaizUjzdwsGqvHwgNVxEmDLRUsIUWJY+6ZYVVg0XF7bIt2Zit9CwamG5YQu5RYeVdyczL0CMuCoJ66KwM2J+YTLoVyOHR3Ikz6MVyRshiuxzaeX4MFqpPIFWpE+UleljZGX52bESeYS/RWaXCiFqi9+lQjxqVbhLhSRqX7BLhQRuqdulQpja7Hd3RJxaX9jdEYlRHMq7OyKdIlLa3RGpHJt4d0ekUZR4o4OnFKFwo4OXouiUNjp4lSITb3TwGkcl2ujgFYqI2QVAiGLhdwEQj6IQ7gIgidof7AIggVvudgEQpjZHb8/HCkWg+PZ8LEfx2PX2fFyColN+ez7WOValt+djlSJnXxtnRtEKXhtnIYpQ/No4axSV6LVxVjgS/rVx5tR6+bsMpxGj1qtArVchar2qvvWqUetV4Narwq1XxbZeObW+/5H4U0+o5RlTuzOOWp013+asUIsz5vZmzq3N3LY1U9vSq76VH/TIvtV7ha0DFLzVe0WtAmrf6r0yrQFGb/VeQSuA2Ld6N2jzo/rbVxvTkf5oqyC7UFdBfyMrHdmN4gkFe8ETd9vAE7U7wBMKf+wqKbQtPDH7s1YJ2U3fG5Te/337Vg7lORAwCQIw+0QIBHwOBFie/gDTxzkA9ZVTgPmdU0DyOEeZvTfaEvOG8wbRZ5qgwfpLsMgKDcbnCsdA8YdgobT84qki/V1TZVEU5BHBsfTe5rnAkeTuxD70TIgeJW5Ya0/bBhFoS61t4+5tg+7lm3iUop6XG3ZkQS/zi9Mb5u+MN3Rpmr300VkGT3oTd493E7XPdBMKXwxPCj3iTSzojKV5mDvsPXTbhiF6KKA8HgHZn91VjsmpVJJQkSahMqkusL66QOT3dgWlp8zSHn20rMiml3LMLqWSXIo4t1TR1FImmaVIEkvQSOaBIRohIDt3DZ0NAndz1xBNEBDNXUNjgcDM3DVEA1SUR8ARkK3/ad+kZ15v5Ege9CmSB62AzAM/5W6Dx5CtDwrbDR5D43zA9DGpMDE+LaYPRIeVewo6rPyjz2FvfB/kFOJ7gGx3KsfuVCrdqYjyEhTtaGU5LwFJrwoSv9NORLvTzl7aI2t3w4LdDUO7G3q7GxbtbhjY3TCwu2Fod2t75Gu9drWrjUvW3iVr75J1wSXr0CVr75J14JJ14JK1c8nau2Tdu+SBtEdcElDwa5g1uSRQ+7uXdeCSoNAvXNbokoDsb1nWFX5RVlfu27G6cl+J1c4lgbsvv+rKfeNVV/5rrrry323VFX+hVVfuW6waXBIJfl9VV2aRWFd+kVhXfpFYO6M8Vu7WiDUbJZ7FrhHryq8R6ypYI9aV+xqprnCNWFdujVhXfo1YV2aNWFd+jVg7s0TBrxHryq8R68AvUeI1Yl35NWJd+TVi7T2zJs/U4CztkU/nZSF3l2HuLn3usmeCEmT1Msjqpc1qfEzfN889pmdOXhg/pmfRu6J7TM+c/dE/pmfBOqV7TE8cPNNtNmMeuWe02Ywl8tHSZjOW2VHdZjPm5K2Zj3xPs8sKJ6sVHuWsiD5xRaLsFc6JKgJnqwhxyrIbZ07jUrHx5YxxrAtjgxKBbVqFwKtF9IatUuDaIpJ1C2f/FsGZeFbYyTMHOxdEni6cjT0LbXA9Z/EihD4vamD2orHji1CwfdGd94vCE4AIPAtkgaeCzIP5IEvLABWGYDg9iFgeajxRCI9nC5FLI9HNGyLYkUjf5PUxib7JCySaRYrf5AW6n0uib/ICiWeU8Ju8QLPzSvRNnpdgdkFKEwxK0RyDup9mUKWZBqV4ssESPN+gRlMOSjTrgDQKs4TnHpRo+kEpGhao+5GBKg0OlHgAoMZjALXiMOA5CSSyB6OYmQkUtCDE7K6o8RRltGCWQt1PVEYN5irUabpCiWcs1NykBSLPWyDB1IWUZi+UeAIDrY0v76Yx1MKZDAsEkxnKPJ+hVpjSsIib1VDkiQ01nttA4+kNpGCGA3UZ0/JwD6c61HeOaZ7wUIrnPCyxY9S7mQ81M+qvO3Jd5a/srjF4h4L0D3RcYzgABX+K45qaD9T+0Y3roLmg0J/XuDbNA2b+kMZ4M+ikWZujB3sUfWE5lmWmRw8BCs8hW1M8eghQfI78183NWQQ+hDA809aStz/4f3M9zb/5v33B06hWakxaZKNGlFuACF+XAg7Jh1RtGHF+0QaQvEQBTF4tUHZb8R+825DuMtNmPk/PxgU2pgj84UtB9m9WCqbf/tmw2yq/Pn+bHVi01p+Z/Fa5/V2i28g+VRFjVKR/tTQj+gt0t9TV2+njoQ/HNjgPGA5A9hcKHtwkDNx9cf/A8QRsv89/MHMsMPod9wcT6Acf6IdCoB94PlNqw/9QDP+DnbSU2S558F1iRygGvfDOf6xSV+x65z8u4jtoxzv/cQnqttI7/7HMnenfvw/jxV286/37uIjv+ML797Eap0Pp/ftYpiQpvH+/VTeO9yLz8FP2YEDZgxGZM4KQf3lQUdsfbb/t3Rxt3gg/kCMN5OZobY9sZyTkwttilfurZASXyujVf3AdILqycH95Mx9BHQyHihj+WjjPusSpXlb0lYNJEaoGFCoG9DU8wzqmVCWUfIXyxAu1yQiqktGr/+A6QFQD4f7y9LYo1IIUqAwpr8WzrcsK1ZBlX1FZjUAVhUHlhL0Gn11HjKqigq9E/g1YqENGUIWMXv0H1wGi60d/5qmX0Ez6y2cEl8/o1X9wHSC6vHB3+byuKSxrrWy1hKbN7SLL2//3N4r4gepG2mbxePtH7yPNXDA45Sz+mGyRijR5DhJpdsnvS8zjeszt80yr5QuGWr7diFVTnajE82hcuKxugLI42gFmSmgKdtGV9f97IbII7hF/j0KYi/MvLBB2xcM9n6FIH+1js/37SseG2Bd5BMtfV7I42LcmGi79rGJ3qgmm3WfC6UUi4Wa/mVB5w9bgzW9zbd/azGToSO2J5K7F+MwvKS/QAdsLv/Sr7m26vOBSG5AdcC9uUQ3cvZn3wstnwPaFvRezUAamd5jCWnvk69wWKtiGFWx9TdzaVpWgjq19dfDFLF0FSX5vg9/NC5Xemacja/gJ2VfLEwoW9om7aSFRu4RPiJbkidF9fGLmN3wTsevxlUuoVYWPElaVe5SwMgkFKG5TE7YpeBaxMgmlKGgqP7JYmYRa+YRaFRJqFSbUyifUqphQqyChVj6hVj6hVj6hXk3wX33wX33wXwvBfw2D/xoH/9UH/zUI/msQ/LVLobVv2JqnKMJcPPgKxiv4oT/++/9jjgIE",Symbol:"eJx9WFlv2zgQ/iuGnnYBt5DkS85bmk13g27SoEkPbNEHWqIlIhSpklSuov99R7JIkSLtFyGZjxzN8c0h/4oueF1jpqKz6Mt1K1GJZ4s4S+PZYrvdbqJ59J4zdYNqDAfuXuodp52spdSToZrQl6n0KyZl1Sm/xgVpa5BcKURJfs5KCgdj+F++J8+4uCUqr6IzJVo8jy4qJFCusLjD3d27BucE0cGYd+/4c3T2/U2SxfM36XYxT+JtDI8k/jGPPrMCC0oYvuWSKMJZdPYmiWMLuK9I/sCwlNHZCuRfsJD9sSiOk7dxnMFbbrgieefGBW9eROfA7I/8z1myzVbz7rnpn9vuCW/unpvZecF3eHb3IhWu5eyK5Vw0XCCFi7ezc0pnvRo5E1hi8QhCeM0lHCoIK+/yCvdR67zrfd2THPA7VfzzNTrbpv2fX+BPeH8fm2usBMnBg++/oq/forO08+QGNMgGgeG/5wfxYrE4iPFzTlFt5JtkkLeMPIL/EFoNreJBE2vrXReako3YcqvVEXCTKWJdzPS7Gizyjk/mZZvsAKC66d7FCgMtF4NC2eaVqpDyLW+QwIzi/TGoD6tvPQL7BJEPNVKVb39DW2mkJnY5FALyD9eEhU6DL4SPrqTaS0mRrHyDXrHgvpQz7AvVU+CkqgQOnN3zVgSkkFVfKslzQIgfMfPFOBxWRiyDjcs5p5wFIoFr4kImprQrP59WP1ubiVpcCgxlNLq5XC4PwM8Wy77EvSs5ZyU0EpuFaXqAzmlTjVlerzcH8TuskH/4oiLj0WQQ/oWpdXadJAfxZSOJ7exmPfD01lYSD8K/kU0288JLS7Mh+hW337dINCPA5MRX8QE1jXU8Wx/E/6J6V4zyLBtCdd36Km4Cso+QTOG4N6T5dvRusxxsu6/scK5Wgw2fKovZ20HxHSnrQDjv0WjEejvw7/MkxmMD6ZQkvnEfa1xayperg/ibZfN2kN1K4lvxHw4lZAfD6QErpy1lOt2QF4H3XATa8HDP7VnrVWY6SoNZQfKWokBRt90Ak7mt2GACwTVE8bNPE+Tw3VTIzkmQqRuLqsvtUGaFw3cTcjzJxSod3tjYSnQgS4fvpgyc8KaDZuLwXR8FtYlv8YPD9rHBuGxfbQYG1q1vL2v9+3zC9nF0EF+BqoLBFBbbjRfSYbsJprLYboxtpx1Fj23esXoMhqlx7rB9uR2OPxP/aCMDmX61/Vhm8cha7HA91bzbWUR1z0/m8tLUKSyJ1qWNHqeXrTUf16lb76Or6XIzTmWFA4mHyeLOkUS3+H23UpJQPAnbE0bUS2CSUi6IdWM13Mhpu/OlBUE1t/YbA1QYCeWLYVsrRh+SeDm0RCQEf9pxa3Xpds4RcpJhqNVDbXPkzqTpOJcK/mT1VO17gUtn57C3J3cpMlUucW77Px3hRwZ83VJFGvriJ6YRHJboLmnWPUNXWAC7FbQg+/0IrjUL4RMFBxhYkEdSBLxiXB0xD8TkEZorywPXoP0I/jxhXGzWKEoJUFgeiTvs3srq2eO9Hq2Aeq92S9eDIgeYwIeawKoVY+KyVOumuBmpY0r+CgrgQVn7ohl9n6aIoc4TJjB0lEDWvmaGa05ETrGfPRd3lm1jI64b9SKtBJlbhAFTgEhuqWoUvlhCFdwRBW613cNWqnGYyDAdj+OQfdnugpBWHUa14jAKbbN2tlDrfR6mXUT9p7F3peyGvHNBb0UCl933GHgmyN6Hc/0R6+KZxiG7Ba6ReJjg6RiAos0DpTRsHWNz1s284Mr58DI+UF52N8B7vyIGzP4+nGJcWLXiNMtiR0/0S0BPtExAj3ZNwE42zh11e6duTZS/YlZaK6DebfrkOsb4aURMnsqiA+viHpPowDrwsoX1y6moRTZ20cMXtmpOgFYf8sGd8kFrRw4ptuCQagu2lJvwmpXEUu2DNSlOoEf12vY4aXOZkG6WY8OC4hzrwHRcjVhWepjd4KdYKK7jrx5H89WjRxPWoycydlS3jZ/I2VS/G9yp9gB6PG1T1aY4YAp3LfPHPPqABbtFRHS/jf34/T82FAfb",ZapfDingbats:"eJxtmNtu20YQhl+F4FULyMGeD7pz3AY1ChtG7NpFA18w1NomIlECSRcxgrx7SVk7+wOdG8H5OJydf2Z2d5gf9cV+t0v9VK/r+6vXsXlOlbHe28paq229qj/t++m62aXZ4J/m8PRb1z9/baZxefK63Z6eXN5dVMvTCh83u277xr/6kLrnl2XNq7TpXnczuZyabdee98/b2VzM/x4/dd/T5qab2pd6PQ2vaVVfvDRD005puE3Lu7eH1HbN9hTjx4/77/X6y5lcnUmjVzHIVVDicVX/1W/SsO36dLMfu6nb9/X6TAoBD+5euvZbn8axXtuZ36dhPJrVQqgPQoh5hev91LWLkIv94W1Ygq9+aX+tZAx2tfz64284/sblN/rqfLP/mqrbt3FKu7G67Nv9cNgPzZQ2H6rz7bb6vLgZq89pTMO/M/xfEqturJpqSM/d7GJIm2oamk3aNcO3av80O5xh3yyKmm1193ZIT02bqovTKjP+MAf++7zsZvZ3276kYyWWXB0z99S18/PbafPHQ71W4fjn/fxnFO+ZvkrT0LVzTr78qB/+nk38bHM9exgP8zr1z9U7jt6840YW5uSJKcZOCaBBnKgm5mU8MVNYyMwWFvO7Ukagkmgg6sDWQ5yFFqjzUrLEaQ3BEmiwNsMSaZS0vgWfOkPHWQowNeTUc0kumnxZvsgPxlGai6VTGUqAVCTQ6QkWnc77DKEiLktSUBJKqHIQZ86d8gCpHYoiEzMsb1ubYy8vW50DChB5ZhGqrijD0EqUIeiaEHIfCg5Kpuu0ApiToaGPSY0uaQsyr65L2oKi1yFt1PLaQ3lzfXTgXodGoJYzglndSLDMPg1sTPJpQJHJigw0QrGERqD9YhyTOgONQDUyuF1zaxuokc/BW2ztXCMrGZ9WMW1oQZHIXWNBkSCfRZEL5BMUiZw6CzVSFCfUSGZFNjIldoKDkonTKQiJIGzWmFd3BizJJ9SINoLDriOfUCOZS+zg+KGD1qGiLNMLxtJD1/ns00ON6EzyUCM6vbxhoBKaqbG3DFQCNiL1iHccBPV0DHhQH/JW8EW90dkyFKGywCJU0WkVSvSGeiSUODWFFD0HYdPQVoiRgfPMA+/nnRgiAyNYSjpWNQcNSMrtFCUH4ZIRpSCWocFCSuhCEY6hoUClc0WC52BJlCYYLQdhN+hygRRRlo5BKRRLS6oihSqh+ZzzRGG1Mo4Iz1LoP0qsxDGFzk0JE42ji0jCPejomJKCuwil4m5CiRMEUMVSzVLDUstSx1Juc0oVWMpqY295qVltmtWmWW2a1aZZbZrVplltmtWmWW2G1WZYbYbVZlhthtVmWG2G1WZYbYbVZlhtltVmWW2W1WZZbZbVZlltltVmWW2W1QYjQCh7E2aAQHeGhCFgPoNoy8KNb2wxBhmGKBxoUZXlLGsLI6AsftEDHV0wIURVbANLcTKlGGBIKPOAxCmhePCKUwFzAmpDFRQvjA9R06Hq8TONvshgKDCuRAZTXigUxjxNFfKRo3CLhnIJBMFRvMZpqpNBMlQJzGT5WFQMVQI/AikPMIhEU1aDjqJvQwmjSHB05cC9jbYwc5UtAHNLhDw41ha+lEqF4JaH3gmB61SYcqInxTDmQK8v08vjqv4zDf1N0w3Lf4A8/vwPpfK11w=="};!function(t){t.Courier="Courier",t.CourierBold="Courier-Bold",t.CourierOblique="Courier-Oblique",t.CourierBoldOblique="Courier-BoldOblique",t.Helvetica="Helvetica",t.HelveticaBold="Helvetica-Bold",t.HelveticaOblique="Helvetica-Oblique",t.HelveticaBoldOblique="Helvetica-BoldOblique",t.TimesRoman="Times-Roman",t.TimesRomanBold="Times-Bold",t.TimesRomanItalic="Times-Italic",t.TimesRomanBoldItalic="Times-BoldItalic",t.Symbol="Symbol",t.ZapfDingbats="ZapfDingbats"}(On||(On={}));var Pn={},Rn=function(){function t(){var t=this;this.getWidthOfGlyph=function(e){return t.CharWidths[e]},this.getXAxisKerningForPair=function(e,n){return(t.KernPairXAmounts[e]||{})[n]}}return t.load=function(e){var n=Pn[e];if(n)return n;var r=Tn(An[e]),o=Object.assign(new t,JSON.parse(r));return o.CharWidths=o.CharMetrics.reduce(function(t,e){return t[e.N]=e.WX,t},{}),o.KernPairXAmounts=o.KernPairs.reduce(function(t,e){var n=e[0],r=e[1],o=e[2];return t[n]||(t[n]={}),t[n][r]=o,t},{}),Pn[e]=o,o},t}();for(var Nn=Tn("eJztWsuy48iN/Ret74KZfHtX47meqfGjPHaXx4/wgpJ4JbooUU1JVXXb0f9u4JwESF13R7TD29koIpFi8gCJBHDA/Pvm+nraTuPmZ3/f5HHzs7/k8WlzvXS7fvPXp02eqyR/2vRfd2N3gqhUUfm0Od9P236+DoczxLWK66fNpZ93/fkGWaOy5mnTnUR67c57lRaZSItM/tnN/XnsX/DfIqg0JOk8HI4UK4BCAFzG+xWCQgXF02Y3nU4dJJVKKrx5mPgKBVMImOvYXY+QKJRCoHzXzxMErQrap810hqaloioF1e0L5kvFUwqe23Hu+Q+1TinWeZnuMwSKrRRsL8Nn/kOxlYLtOnzFWE1Viqmu/eceVioVaylYe1OwVKilQD0PCYgiLRtVcJz4kEItW13mNLi0UsCVAB77KyxTKeJKEPff3rsREkVcCeLD3He3HqArBV0J6G/v/fU2cK1WH23l0e3c7T71N9uUVv/c5i73bWlVs1Y0u5/3srO7aQb2EPUB+eUTva0TYgG5mGbbzZSUkJTpn75ygF4PThhq1SMGMds4HYZdN54n/rdWc8rv02bfH9I2hbqGsKbPnIYzHSc0qmTIxI6nuwpiAIQmU8F4Gy7jK8RwntAI1v3wedj39FmFECp508s4zUOyGmwpKrwbL8eOIlVU//Yf/S1J9C212Pa/uuSwbVDYlWzxf/aj/UtfWgm258t1GG1X1BVawfdnX0xdoRbjPCdBVGs1svo3R/tPVD1r2YL3k0kUfC04f9ldLkmk0NVwv+pO232SKXa126/vHAO5wPxNGivsRsZ/HDhWzLVg/iBuOSfMUTGrTX+b/qSIG0H8u+NEl1J4jcD7/XBI9kDcUYN/0/FNCDuNAP64skYOeLrykUsjElWC9+cmAEAB9NtrEijCplaE/YHvKuC5Iup8zxBAWtFrayakC2QC8uCbhggSskx9zXYNQSRkeuZWQBFKQowabNIfS/qeqOgSOFTINcC4DKcnE70H2zqElJAJ3k++dwgrIRPA47J5iCwr724RWELINFBTAAWiCL7SOogrIQj6abWBOH8hCPoL/4a4EoJgn9MWIq40lcY52cJAGbCHMgkpA3g9t7e0sRWgB1HnvjJYRez6yrSTlYJvRZmdCQhe80Pa24roNYL75uLo10WyKYHVeFLjYnImilM0qPDOJOKWNGlFCJsIrw/qsNv7OPY3SnNYSQ9DP46DLHylvGCcEFU08Nz6JIVx9Chd+93ENNhEWroSuC8SAi0WNznNpqH9+c5k1RQ0nIbi9/LnTzdmoKZAaAwaib/0g0Ti29wxG8gUgLey/O8eHmmqt4eiKTNYo416LPrLkcIWa2u06eZ5+mLBXCaoTp4m7pckBm41P8Qe0mUG6DUCYWY/fTmnCQbwkCa2043vrhA2gqakncwM3aGfe9GAj1Vw9qiuzPW2o4Or4PcxhmUu4atwAGKMy8wCscJhiDFfJh1lhY2K6mo250DrTJXOC82EUgVIkTMmOd0moqC5Dd24H15e0hRKJS0Cvg7Xm9RKgz9ErdWrTpfb6zV5Wx2ytwlDZLplUQ/8Ye72Qyq5RI5kqY4t6fe0iHOItdCYbo8zKOi0vLjvjrdjZ2IYRAPUZZ72910SI7vEiL9LaHSvrZFkipKOf02y8gc9vEbmKHQjRP95uH6ShZI9c9pao41otTPLICMETXSC5jLNupbP8bxo2Dy/DOfh9prk8BKNk935MPIo1jiKUSNQqiVSVSozBWYan5nmNMGz1+r6AleO8KJJwXdk2H8XwgVVP31AticBhdvqIZPwNPcvqWhqah74iIB6GsYuvbdGeYFS93yY775hPNh6giUlzNNXr/eaJmNYKrnLKznOt4ZsEQ6f5ZCfWVvJFK2Xs5BcP8ND23r5uJqDyaPmM90Oscl9a87aIC3HLCxz+uOzNFgOhA+P4XRq8hPTjP3Xhzn4oiYIm1svybSpOX03zDuJX4kqyAx3rrKZdZ3XNMggGh9lsUt/Fm+7m+1bGCxqOttPN/fOFiExKh+xnb1d0gz8qiiXmS0r5YxLaaULN/TaOsu4WEgTS3Fd1TCvlsvj9F1/PvQpPzHAZqiN9yZEntcyaDfet0mGOKLl5LGX6EMhU5ZGkf3QnVIWqvJA5FoG7KbLK1BcBcyLTfNYZGr7g8ar+WEWm63VgmSefX/q5k+r6Rplrdo/Heb+q00gKzcWUiVy3pY5RkGL7kept7/zSRS8Uc+Kw+nOV5ukqeu1KqtZ2Ds2a6yrWZghX/NS7q3OwQZ5WM0tgGCBPK7muPM6B2fP8wditayKMKG5YzW7rIvzkJcPs8vKOBGaRJxo+boMocrFfe407G0SJlJS7pO+KOrwqKkAcw4lp28Xi28vU7AM2Lfz9gUITKM8fJlcnoRtlJIvkwsSRtD2kXkuC8M2ytbX08vSME4ZHqd9cTQgojL5hXr60uhDxDJfTy7WQ3kXy2I9q+t+L7V+d3nZD+fDtrtdf7iZ8gPUNhVNSLOdFKmrqgg5UGR5ktUWkERW4ETnYSnQpK5PsqU2k3I5yZbCTGhJki0lmbJ2ypxOd8rYKXM23Slnp6yxclZkVZK1li1EVlMWmY0yyJokC5bIRdYm6sDCW/9X54knZEYnurpKJCEzNtHVdYqTmdGJrm6SiJRMsdWJmTS1MYWuSZwAHg3D5dSJO6tnpqPiNXIHapSQHkL9WNCyDwEZymTtQzyGcfx/rQVukWUP4RgGS29oG5RieEMSVKm67GISoHZUs0g6TKImlZMdbde2cDMFUCZBSBWevKlNIlRrBNQkEVpt0CXUSYTWGvzG1q5TldeFIklgFfiMvQ6tNXgMtk5IM+qSAjbJSpOh4wdUtYnQYgOqxkRosgFVayK02SJsYCJ02tRw9HkVodUG00UTodcG4+UmQrdN0dPhVYR2m8KPBhX1t/bkumgaofzWplwXDT2Oo9K2Lhp6dogUvT+HBpGC98fQxlDs/lSVCr/OVGZ7CGY3lXEIKyD3fylyrQS63P4VjTl0uRkGJxB+l5th2CBS5LkZhg0iRZ6bYdgPUqC5aYMEh8CSmzrsCinU3PRBKkNYyQ0qTgSiSmFQcSAQVAqDimSFmFIYVPaKFGphUNktUqiFQUVaUvLVFbaHSEZK47vC0LNfpOgLQ8+OkaIvDD2SjZbOXWHokWBQgJeGHkmlwaEz9EglKHFKQ48og8qmNPQgJEp0u9LQg4mAjJeGnm0rRV8aeratFH1p6EE8tBnQlYYebSutwLrS0KNrhRZYZegRbpV3dpWhR8tKSU9XGXr2rJTsdJXBTz0ruLjhT00rVaAyBVLTSjWoTIPUs1IVKlOBbSulAV1lOrBzpZS2q0wJNq8yhH7TovIOb1cb5tSXUny14Ut9KUYQUyS1phRgbaDZmEIiFrKThCnpIMMYGrZh0JBo7M01e+H65sZeUpPp6ZsbX4+dcH1xa1YgxYsIAWYF9rXBI1p/L9tiiL6ZmYGtrYpZybaz8caUCA1iA4iIPcEN0ZAQIuq70g2ZPCOQ7R+yE5riIjTojfMRESbsge1zHMhgsSlk5PR4u0WnQDraMOdEE7JTj7dbhAqpw4K3W4wKGZv3eHtempBkA+nHQldgrwXHM1jwCgj0pB7BwlcIbI7BnhbAAmsvHNJgISyw+MIxDRbEAqsvHNRgYSyw/GqZSE0j1l84rMFCWWABhuMaLJgFVmA4sMHCWUi8CRpZQAvkSzizwUJaIE/CoQ0W1ALpEU5tsLDGDzqg6yI0jaKzfxGaRuRBOLjBglsgAcpYHZhG5D04usECXCDdQd0WLMQFshwc6GBBLqQOETSyMBdIa3DMgwW6QD6Dcx4s1AXyDpSRYmoTsrpmzWKQyDJw0GWjTci2GCBZIAtkFDj+wSJZIJPA+Q8WygIJRCQkw8meFCJAsGAWCu8BiNAsjzTAXkKwEBfYg2IQqM3y7EFFauT/ZAcUGlk0DAU7nyzETPeSHBIa1aZmSe4IjWpTsyRphEa1qVmSTFMjU7Mki4ZGreEsSZ+hUWO6s7+bc4/8cdJlaNSYQdjTRbEbM3+c5BgaWTgOSA7stkSLiqFiCwbgLUiHinQX4C1Kh4pEl+BN94oEl+DNdBWJLcH74yS0AG8RPeCjRmRZ3JiR0ZWKrItbW7MmZWVlbG+vSVWxHY2tyW+lJTUy0yEVgdTKmmYlNplKagSDCMFlTIaH8GmVMWkpIj6sMsQv+Ae3UmUIX3AP6q0yRC94x/IOBC84B4+VyhC7yHTIELQRhGgM32hchmAM14hMRCpEMIZrNC6DJvAMWkxl0ASOQYOpDJqACrX+EmgCX9EQ8f3T5stwlggXf/otCfss8O19uvX7LfqmP3Z1AiRPP2JPY2pA/vTbFIhHqhFedB2s0/2v3bIAG1z14yH8CVcvwJFFoePr5cgbDv9/G+Pfvo2BUIP6ix0r8EO9ZYARuKFeMMAIvFA/gWMESqifiTACG9QrBTpCBFGK9wuMQKz0UgJGoH+C7L8xAvPTL40Y4au7gPkfjEAB9SYBRmB/eokAIxA/vT6AETifXh7ACHRPrwroqAFX0i/5GIEmCZb/xQj8Tu8LYARqp5cFMAKr03sCGIHQ6SUBjMDlBMsfMLIP//+HERicXlzACORNsPxJR2iW4I4FRj92EQa8TTuGInY3/vHrMSBwuoPX3TDot4c7osKPXJtBm0XLvsPc0XfRZkHNhxE4nLZsMQJ902/jDOQIkriXkAL7JhEyNh1ZemtZ98IxCZvebeCYZE3AHjkmUdMPGRyTpAm6v3FMgqY3EjgmOdPPZhyTmOlFBIwZxHEPgWNeJ9BbBxyz+af9c45J2PRMcEyyph8EOSZP03PMMTmaXjLgmN0+vWLAMfBpFfeZY7838AVjNilxLYJj4NOy7ZVjUju9zcHxv3/FiVcKULCpf9yGcb9qEOPL/6pp7GyO2cU+S7N2AaOzDMHKBXxO4/goyYBiZ3S7+yxxf0fNKud0r31a0gnddp4+9WfTpHJOt/r4yfIlfVDq5z7dgWABg8amf4SBnLxZQ9A0718keFqMZSGDNurhPoxjf5r84LGeQY/77d0vb3QvyYc1DTrd9nWo56movd196uyqy792faz2prfkJHyAHPiBONTe+kZ2ephrlhb4Ll0HSRfRNOLxqk5onB1LWu4kCPAGRmicIDOZ6j67Ro0T5V2/F6t1lDpTlkz6iMTpspj/JI53H83+jZNmt/+ybY2TZ1lRctmcUldonEDLxLEbGV5aZ9AwRnqAJmydSFu6c2dunU6/8yDIL5Og0+8W67VOp98xsL6kr1H8FglO/W45Uq1z6ncPXto6rX432zlpnVW/e6bAGfXPV0aOmXPqZwcbM+fUzw42Zs6pnx/BxsyJ9fMaV8ycW79fre3c+v1qbefW79+u7QT7/ePazrGf+UE7Zk6wf+Mmi8EJ9ocFQnCC/WGBEJxgf3gDgddNNIp/WC3Mb12i24cHXIEfkcs3FzGDM/UPnnJjcKb+cQXOmfrHFThn6h/fgItO1z8+4IjO2P+0LBOdsX9znHgBKUYn7Id+Pkklvh3TCgtpX9DFhbSvll1I+1t0C3NfTBcX5v4IeSHv5sYxX7g7H86dt+/Wbpw7c+8XsLkz934Bmztz79+AzZ2+9w+4cmfww2ptZ/DDam1n8MPbtZ3GDw9rs9ui3KZPblw4tz8vJiuc208LhMK5/bRAKJzbT28gFE7wp9XCTvCnR1zO8ZeLw7Fwjj8tTlw4x78v0Ern+PcFWukc//4GWulE//6AonSu/7paxrn+zZ2YnRclRK/rBXJsCAjxh2cKEAWVJ02ku/wOoFv2+12XkmnODwHgW4uQGVbZ0uM7mAJ1b/68/JlpUMnWdy5MF6/Vd5eL19YYSPd6FqPwBkNQo/h2NQxdQQ3bn/dpCxrGrqCW7U8rKZl/mfi0Xytk3Am66ZhYbg4y+KAVslDwbXdNL2d5qU5hnYBlTZaa6hs2t1qWdaeeTptcLco+hl5R7w4H5uOGcQbtEkpT18GusOI2xT9dYcVJf7zCSjmbD+Iud2s1NPRb9E+0UICmizb8ZK/+5JOLOulSqwaw5VJr2vB8dSFn89fvv/8H0oq1dA=="),Dn=JSON.parse(Nn),jn=function(t,e){var n=this;this.canEncodeUnicodeCodePoint=function(t){return t in n.unicodeMappings},this.encodeUnicodeCodePoint=function(t){var e=n.unicodeMappings[t];if(!e){var r=String.fromCharCode(t),o="0x"+function(t,e,n){for(var r="",o=0,i=e-t.length;or)throw new Error(Un(e)+" must be at least "+n+" and at most "+r+", but was actually "+t)},Jn=function(t,e,n,r){Xn(t,e,["number","undefined"]),"number"==typeof t&&Yn(t,e,n,r)},Qn=function(t,e,n){if(Xn(t,e,["number"]),t%n!==0)throw new Error(Un(e)+" must be a multiple of "+n+", but was actually "+t)},_n=function(t,e){if(![1,0].includes(Math.sign(t)))throw new Error(Un(e)+" must be a positive number or 0, but was actually "+t)},$n=new Uint16Array(256),tr=0;tr<256;tr++)$n[tr]=tr;$n[22]=p(""),$n[24]=p("˘"),$n[25]=p("ˇ"),$n[26]=p("ˆ"),$n[27]=p("˙"),$n[28]=p("˝"),$n[29]=p("˛"),$n[30]=p("˚"),$n[31]=p("˜"),$n[127]=p("�"),$n[128]=p("•"),$n[129]=p("†"),$n[130]=p("‡"),$n[131]=p("…"),$n[132]=p("—"),$n[133]=p("–"),$n[134]=p("ƒ"),$n[135]=p("⁄"),$n[136]=p("‹"),$n[137]=p("›"),$n[138]=p("−"),$n[139]=p("‰"),$n[140]=p("„"),$n[141]=p("“"),$n[142]=p("”"),$n[143]=p("‘"),$n[144]=p("’"),$n[145]=p("‚"),$n[146]=p("™"),$n[147]=p("fi"),$n[148]=p("fl"),$n[149]=p("Ł"),$n[150]=p("Œ"),$n[151]=p("Š"),$n[152]=p("Ÿ"),$n[153]=p("Ž"),$n[154]=p("ı"),$n[155]=p("ł"),$n[156]=p("œ"),$n[157]=p("š"),$n[158]=p("ž"),$n[159]=p("�"),$n[160]=p("€"),$n[173]=p("�");var er=function(t){for(var e=new Array(t.length),n=0,r=t.length;n20&&(e-=20,n=(t/=Math.pow(10,e)).toString()+new Array(e+1).join("0"));return n}(e),n}return r(e,t),e.prototype.asNumber=function(){return this.numberValue},e.prototype.value=function(){return this.numberValue},e.prototype.clone=function(){return e.of(this.numberValue)},e.prototype.toString=function(){return this.stringValue},e.prototype.sizeInBytes=function(){return this.stringValue.length},e.prototype.copyBytesInto=function(t,e){return e+=w(this.stringValue,t,e),this.stringValue.length},e.of=function(t){return new e(t)},e}(jr),Br=function(t){function e(e){var n=t.call(this)||this;return n.array=[],n.context=e,n}return r(e,t),e.prototype.size=function(){return this.array.length},e.prototype.push=function(t){this.array.push(t)},e.prototype.insert=function(t,e){this.array.splice(t,0,e)},e.prototype.indexOf=function(t){var e=this.array.indexOf(t);return-1===e?void 0:e},e.prototype.remove=function(t){this.array.splice(t,1)},e.prototype.set=function(t,e){this.array[t]=e},e.prototype.get=function(t){return this.array[t]},e.prototype.lookupMaybe=function(t){for(var e,n=[],r=1;r=Nr.ExclamationPoint&&t<=Nr.Tilde&&!Er[t]},Gr={},Lr=new Map,Xr=function(t){function e(e,n){var r=this;if(e!==Gr)throw new or("PDFName");r=t.call(this)||this;for(var o="/",i=0,a=n.length;i=Nr.Zero&&s<=Nr.Nine||s>=Nr.a&&s<=Nr.f||s>=Nr.A&&s<=Nr.F?2!==(e+=a).length&&(u>="0"&&u<="9"||u>="a"&&u<="f"||u>="A"&&u<="F")||(r(parseInt(e,16)),e=""):r(s):s===Nr.Hash?n=!0:r(s)}return new Uint8Array(t)},e.prototype.decodeText=function(){var t=this.asBytes();return String.fromCharCode.apply(String,Array.from(t))},e.prototype.asString=function(){return this.encodedName},e.prototype.value=function(){return this.encodedName},e.prototype.clone=function(){return this},e.prototype.toString=function(){return this.encodedName},e.prototype.sizeInBytes=function(){return this.encodedName.length},e.prototype.copyBytesInto=function(t,e){return e+=w(this.encodedName,t,e),this.encodedName.length},e.of=function(t){var n=qr(t),r=Lr.get(n);return r||(r=new e(Gr,n),Lr.set(n,r)),r},e.Length=e.of("Length"),e.FlateDecode=e.of("FlateDecode"),e.Resources=e.of("Resources"),e.Font=e.of("Font"),e.XObject=e.of("XObject"),e.ExtGState=e.of("ExtGState"),e.Contents=e.of("Contents"),e.Type=e.of("Type"),e.Parent=e.of("Parent"),e.MediaBox=e.of("MediaBox"),e.Page=e.of("Page"),e.Annots=e.of("Annots"),e.TrimBox=e.of("TrimBox"),e.ArtBox=e.of("ArtBox"),e.BleedBox=e.of("BleedBox"),e.CropBox=e.of("CropBox"),e.Rotate=e.of("Rotate"),e.Title=e.of("Title"),e.Author=e.of("Author"),e.Subject=e.of("Subject"),e.Creator=e.of("Creator"),e.Keywords=e.of("Keywords"),e.Producer=e.of("Producer"),e.CreationDate=e.of("CreationDate"),e.ModDate=e.of("ModDate"),e}(jr);const Hr=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.asNull=function(){return null},e.prototype.clone=function(){return this},e.prototype.toString=function(){return"null"},e.prototype.sizeInBytes=function(){return 4},e.prototype.copyBytesInto=function(t,e){return t[e++]=Nr.n,t[e++]=Nr.u,t[e++]=Nr.l,t[e++]=Nr.l,4},e}(jr));var Zr,Yr=function(t){function e(e,n){var r=t.call(this)||this;return r.dict=e,r.context=n,r}return r(e,t),e.prototype.keys=function(){return Array.from(this.dict.keys())},e.prototype.values=function(){return Array.from(this.dict.values())},e.prototype.entries=function(){return Array.from(this.dict.entries())},e.prototype.set=function(t,e){this.dict.set(t,e)},e.prototype.get=function(t,e){void 0===e&&(e=!1);var n=this.dict.get(t);if(n!==Hr||e)return n},e.prototype.has=function(t){var e=this.dict.get(t);return void 0!==e&&e!==Hr},e.prototype.lookupMaybe=function(t){for(var e,n=[],r=1;rthis.largestObjectNumber&&(this.largestObjectNumber=t.objectNumber)},t.prototype.nextRef=function(){return this.largestObjectNumber+=1,to.of(this.largestObjectNumber)},t.prototype.register=function(t){var e=this.nextRef();return this.assign(e,t),e},t.prototype.delete=function(t){return this.indirectObjects.delete(t)},t.prototype.lookupMaybe=function(t){for(var e=[],n=1;n1?(this.subsections.push([t]),this.chunkIdx+=1,this.chunkLength=1):(e.push(t),this.chunkLength+=1)},t.create=function(){return new t({ref:to.of(0,65535),offset:0,deleted:!0})},t.createEmpty=function(){return new t},t}(),fo=function(){function t(t){this.lastXRefOffset=String(t)}return t.prototype.toString=function(){return"startxref\n"+this.lastXRefOffset+"\n%%EOF"},t.prototype.sizeInBytes=function(){return 16+this.lastXRefOffset.length},t.prototype.copyBytesInto=function(t,e){var n=e;return t[e++]=Nr.s,t[e++]=Nr.t,t[e++]=Nr.a,t[e++]=Nr.r,t[e++]=Nr.t,t[e++]=Nr.x,t[e++]=Nr.r,t[e++]=Nr.e,t[e++]=Nr.f,t[e++]=Nr.Newline,e+=w(this.lastXRefOffset,t,e),t[e++]=Nr.Newline,t[e++]=Nr.Percent,t[e++]=Nr.Percent,t[e++]=Nr.E,t[e++]=Nr.O,t[e++]=Nr.F,e-n},t.forLastCrossRefSectionOffset=function(e){return new t(e)},t}(),po=function(){function t(t){this.dict=t}return t.prototype.toString=function(){return"trailer\n"+this.dict.toString()},t.prototype.sizeInBytes=function(){return 8+this.dict.sizeInBytes()},t.prototype.copyBytesInto=function(t,e){var n=e;return t[e++]=Nr.t,t[e++]=Nr.r,t[e++]=Nr.a,t[e++]=Nr.i,t[e++]=Nr.l,t[e++]=Nr.e,t[e++]=Nr.r,t[e++]=Nr.Newline,(e+=this.dict.copyBytesInto(t,e))-n},t.of=function(e){return new t(e)},t}(),go=function(t){function e(e,n,r){void 0===r&&(r=!0);var o=t.call(this,e.obj({}),r)||this;return o.objects=n,o.offsets=o.computeObjectOffsets(),o.offsetsString=o.computeOffsetsString(),o.dict.set(Xr.of("Type"),Xr.of("ObjStm")),o.dict.set(Xr.of("N"),zr.of(o.objects.length)),o.dict.set(Xr.of("First"),zr.of(o.offsetsString.length)),o}return r(e,t),e.prototype.getObjectsCount=function(){return this.objects.length},e.prototype.clone=function(t){return e.withContextAndObjects(t||this.dict.context,this.objects.slice(),this.encode)},e.prototype.getContentsString=function(){for(var t=this.offsetsString,e=0,n=this.objects.length;e1&&(t.push(e),t.push(i.ref.objectNumber),e=0),e+=1}return t.push(e),t},o.computeEntryTuples=function(){for(var t=new Array(o.entries.length),e=0,n=o.entries.length;ee[0]&&(e[0]=c),h>e[1]&&(e[1]=h),l>e[2]&&(e[2]=l)}return e},o.entries=n||[],o.entryTuplesCache=nr.populatedBy(o.computeEntryTuples),o.maxByteWidthsCache=nr.populatedBy(o.computeMaxEntryByteWidths),o.indexCache=nr.populatedBy(o.computeIndex),e.set(Xr.of("Type"),Xr.of("XRef")),o}return r(e,t),e.prototype.addDeletedEntry=function(t,e){var n=ro.Deleted;this.entries.push({type:n,ref:t,nextFreeObjectNumber:e}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.addUncompressedEntry=function(t,e){var n=ro.Uncompressed;this.entries.push({type:n,ref:t,offset:e}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.addCompressedEntry=function(t,e,n){var r=ro.Compressed;this.entries.push({type:r,ref:t,objectStreamRef:e,index:n}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},e.prototype.clone=function(t){var n=this,r=n.dict,o=n.entries,i=n.encode;return e.of(r.clone(t),o.slice(),i)},e.prototype.getContentsString=function(){for(var t=this.entryTuplesCache.access(),e=this.maxByteWidthsCache.access(),n="",r=0,o=t.length;r=0;f--)n+=(c[f]||0).toString(2);for(f=e[1]-1;f>=0;f--)n+=(h[f]||0).toString(2);for(f=e[2]-1;f>=0;f--)n+=(l[f]||0).toString(2)}return n},e.prototype.getUnencodedContents=function(){for(var t=this.entryTuplesCache.access(),e=this.maxByteWidthsCache.access(),n=new Uint8Array(this.getUnencodedContentsSize()),r=0,o=0,i=t.length;o=0;d--)n[r++]=h[d]||0;for(d=e[1]-1;d>=0;d--)n[r++]=l[d]||0;for(d=e[2]-1;d>=0;d--)n[r++]=f[d]||0}return n},e.prototype.getUnencodedContentsSize=function(){var t=function(t){for(var e=0,n=0,r=t.length;n"},e.prototype.sizeInBytes=function(){return this.value.length+2},e.prototype.copyBytesInto=function(t,e){return t[e++]=Nr.LessThan,e+=w(this.value,t,e),t[e++]=Nr.GreaterThan,this.value.length+2},e.of=function(t){return new e(t)},e.fromText=function(t){for(var n=function(t,e){void 0===e&&(e=!0);var n=[];e&&n.push(65279);for(var r=0,o=t.length;r> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000>\nendcodespacerange\n"+t.length+" beginbfchar\n"+t.map(function(t){return t[0]+" "+t[1]}).join("\n")+"\nendbfchar\nendcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"},Co=function(){for(var t=[],e=0;e"},ko=function(t){return y(t,4)},To=function(t){if(function(t){return t>=0&&t<=65535}(t))return ko(t);if(function(t){return t>=65536&&t<=1114111}(t)){var e=E(t),n=W(t);return""+ko(e)+ko(n)}var r=v(t);throw new Error("0x"+r+" is not a valid UTF-8 or UTF-16 codepoint.")},Oo=function(t){function e(e){var n=t.call(this)||this;return n.value=e,n}return r(e,t),e.prototype.asBytes=function(){for(var t=[],e="",n=!1,r=function(e){void 0!==e&&t.push(e),n=!1},o=0,i=this.value.length;o=Nr.Zero&&s<=Nr.Seven?3!==(e+=a).length&&u>="0"&&u<="7"||(r(parseInt(e,8)),e=""):r(s):s===Nr.BackSlash?n=!0:r(s)}return new Uint8Array(t)},e.prototype.decodeText=function(){var t=this.asBytes();return J(t)?K(t):er(t)},e.prototype.decodeDate=function(){var t=this.decodeText(),e=R(t);if(!e)throw new dr(t);return e},e.prototype.asString=function(){return this.value},e.prototype.clone=function(){return e.of(this.value)},e.prototype.toString=function(){return"("+this.value+")"},e.prototype.sizeInBytes=function(){return this.value.length+2},e.prototype.copyBytesInto=function(t,e){return t[e++]=Nr.LeftParen,e+=w(this.value,t,e),t[e++]=Nr.RightParen,this.value.length+2},e.of=function(t){return new e(t)},e.fromDate=function(t){return new e("D:"+b(String(t.getUTCFullYear()),4,"0")+b(String(t.getUTCMonth()+1),2,"0")+b(String(t.getUTCDate()),2,"0")+b(String(t.getUTCHours()),2,"0")+b(String(t.getUTCMinutes()),2,"0")+b(String(t.getUTCSeconds()),2,"0")+"Z")},e}(jr),Ao=function(){function t(t,e,n,r){var o=this;this.allGlyphsInFontSortedById=function(){for(var t=new Array(o.font.characterSet.length),e=0,n=t.length;e>3)]>>7-(7&d)&1);s[b]=w[T],s[b+1]=w[T+1],s[b+2]=w[T+2],s[b+3]=O>2)]>>6-((3&d)<<1)&3);s[b]=w[T],s[b+1]=w[T+1],s[b+2]=w[T+2],s[b+3]=O>1)]>>4-((1&d)<<2)&15);s[b]=w[T],s[b+1]=w[T+1],s[b+2]=w[T+2],s[b+3]=O>>3)]>>>7-(7&D)&1))==255*y?0:255;u[N+D]=j<<24|A<<16|A<<8|A}else if(2==h)for(D=0;D>>2)]>>>6-((3&D)<<1)&3))==85*y?0:255;u[N+D]=j<<24|A<<16|A<<8|A}else if(4==h)for(D=0;D>>1)]>>>4-((1&D)<<2)&15))==17*y?0:255;u[N+D]=j<<24|A<<16|A<<8|A}else if(8==h)for(D=0;D>>2<<3));0==i;)if(i=g(t,d,1),a=g(t,d+1,2),d+=3,0!=a){if(F&&(e=Bo.H.W(e,f+(1<<17))),1==a&&(n=x.J,r=x.h,h=511,l=31),2==a){s=y(t,d,5)+257,u=y(t,d+5,5)+1,c=y(t,d+10,4)+4,d+=14;for(var S=1,C=0;C<38;C+=2)x.Q[C]=0,x.Q[C+1]=0;for(C=0;CS&&(S=k)}d+=3*c,m(x.Q,S),b(x.Q,S,x.u),n=x.w,r=x.d,d=v(x.u,(1<>>4;if(P>>>8==0)e[f++]=P;else{if(256==P)break;var R=f+P-254;if(P>264){var N=x.q[P-257];R=f+(N>>>3)+y(t,d,7&N),d+=7&N}var D=r[w(t,d)&l];d+=15&D;var j=D>>>4,z=x.c[j],B=(z>>>4)+g(t,d,15&z);for(d+=15&z;f>>3)+4,V=t[M-4]|t[M-3]<<8;F&&(e=Bo.H.W(e,f+V)),e.set(new o(t.buffer,t.byteOffset+M,V),f),d=M+V<<3,f+=V}return e.length==f?e:e.slice(0,f)},Bo.H.W=function(t,e){var n=t.length;if(e<=n)return t;var r=new Uint8Array(n<<1);return r.set(t,0),r},Bo.H.R=function(t,e,n,r,o,i){for(var a=Bo.H.e,s=Bo.H.Z,u=0;u>>4;if(h<=15)i[u]=h,u++;else{var l=0,f=0;16==h?(f=3+a(r,o,2),o+=2,l=i[u-1]):17==h?(f=3+a(r,o,3),o+=3):18==h&&(f=11+a(r,o,7),o+=7);for(var d=u+f;u>>1;io&&(o=s),i++}for(;i>1,s=t[i+1],u=a<<4|s,c=e-s,h=t[i]<>>15-e]=u,h++},Bo.H.l=function(t,e){for(var n=Bo.H.m.r,r=15-e,o=0;o>>r}},Bo.H.M=function(t,e,n){n<<=7&e;var r=e>>>3;t[r]|=n,t[r+1]|=n>>>8},Bo.H.I=function(t,e,n){n<<=7&e;var r=e>>>3;t[r]|=n,t[r+1]|=n>>>8,t[r+2]|=n>>>16},Bo.H.e=function(t,e,n){return(t[e>>>3]|t[(e>>>3)+1]<<8)>>>(7&e)&(1<>>3]|t[(e>>>3)+1]<<8|t[(e>>>3)+2]<<16)>>>(7&e)&(1<>>3]|t[(e>>>3)+1]<<8|t[(e>>>3)+2]<<16)>>>(7&e)},Bo.H.i=function(t,e){return(t[e>>>3]|t[(e>>>3)+1]<<8|t[(e>>>3)+2]<<16|t[(e>>>3)+3]<<24)>>>(7&e)},Bo.H.m=(jo=Uint16Array,zo=Uint32Array,{K:new jo(16),j:new jo(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new jo(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new zo(32),J:new jo(512),_:[],h:new jo(32),$:[],w:new jo(32768),C:[],v:[],d:new jo(32768),D:[],u:new jo(512),Q:[],r:new jo(32768),s:new zo(286),Y:new zo(30),a:new zo(19),t:new zo(15e3),k:new jo(65536),g:new jo(32768)}),function(){for(var t=Bo.H.m,e=0;e<32768;e++){var n=e;n=(4278255360&(n=(4042322160&(n=(3435973836&(n=(2863311530&n)>>>1|(1431655765&n)<<1))>>>2|(858993459&n)<<2))>>>4|(252645135&n)<<4))>>>8|(16711935&n)<<8,t.r[e]=(n>>>16|n<<16)>>>17}function r(t,e,n){for(;0!=e--;)t.push(0,n)}for(e=0;e<32;e++)t.q[e]=t.S[e]<<3|t.T[e],t.c[e]=t.p[e]<<4|t.z[e];r(t._,144,8),r(t._,112,9),r(t._,24,7),r(t._,8,8),Bo.H.n(t._,9),Bo.H.A(t._,9,t.J),Bo.H.l(t._,9),r(t.$,32,5),Bo.H.n(t.$,5),Bo.H.A(t.$,5,t.h),Bo.H.l(t.$,5),r(t.Q,19,0),r(t.C,286,0),r(t.D,30,0),r(t.v,320,0)}(),Bo.H.N),Io.decode._readInterlace=function(t,e){for(var n=e.width,r=e.height,o=Io.decode._getBPP(e),i=o>>3,a=Math.ceil(n*o/8),s=new Uint8Array(r*a),u=0,c=[0,0,4,0,2,0,1],h=[0,4,0,2,0,1,0],l=[8,8,8,4,4,2,2],f=[8,8,4,4,2,2,1],d=0;d<7;){for(var p=l[d],g=f[d],y=0,v=0,m=c[d];m>3])>>7-(7&C)&1,s[F*a+(S>>3)]|=k<<7-(7&S);if(2==o)k=(k=t[C>>3])>>6-(7&C)&3,s[F*a+(S>>2)]|=k<<6-((3&S)<<1);if(4==o)k=(k=t[C>>3])>>4-(7&C)&15,s[F*a+(S>>1)]|=k<<4-((1&S)<<2);if(o>=8)for(var T=F*a+S*i,O=0;O>3)+O];C+=o,S+=g}x++,F+=p}y*v!=0&&(u+=v*(1+w)),d+=1}return s},Io.decode._getBPP=function(t){return[1,null,3,1,2,null,4][t.ctype]*t.depth},Io.decode._filterZero=function(t,e,n,r,o){var i=Io.decode._getBPP(e),a=Math.ceil(r*i/8),s=Io.decode._paeth;i=Math.ceil(i/8);var u=0,c=1,h=t[n],l=0;if(h>1&&(t[n]=[0,0,1][h-2]),3==h)for(l=i;l>>1)&255;for(var f=0;f>>1);for(;l>>1)}else{for(;l>8&255,t[e+1]=255&n},readUint:function(t,e){return 16777216*t[e]+(t[e+1]<<16|t[e+2]<<8|t[e+3])},writeUint:function(t,e,n){t[e]=n>>24&255,t[e+1]=n>>16&255,t[e+2]=n>>8&255,t[e+3]=255&n},readASCII:function(t,e,n){for(var r="",o=0;o=0&&s>=0?(l=d*e+p<<2,f=(s+d)*o+a+p<<2):(l=(-s+d)*e-a+p<<2,f=d*o+p<<2),0==u)r[f]=t[l],r[f+1]=t[l+1],r[f+2]=t[l+2],r[f+3]=t[l+3];else if(1==u){var g=t[l+3]*(1/255),y=t[l]*g,v=t[l+1]*g,m=t[l+2]*g,b=r[f+3]*(1/255),w=r[f]*b,x=r[f+1]*b,F=r[f+2]*b,S=1-g,C=g+b*S,k=0==C?0:1/C;r[f+3]=255*C,r[f+0]=(y+w*S)*k,r[f+1]=(v+x*S)*k,r[f+2]=(m+F*S)*k}else if(2==u){g=t[l+3],y=t[l],v=t[l+1],m=t[l+2],b=r[f+3],w=r[f],x=r[f+1],F=r[f+2];g==b&&y==w&&v==x&&m==F?(r[f]=0,r[f+1]=0,r[f+2]=0,r[f+3]=0):(r[f]=y,r[f+1]=v,r[f+2]=m,r[f+3]=g)}else if(3==u){g=t[l+3],y=t[l],v=t[l+1],m=t[l+2],b=r[f+3],w=r[f],x=r[f+1],F=r[f+2];if(g==b&&y==w&&v==x&&m==F)continue;if(g<220&&b>20)return!1}return!0},Io.encode=function(t,e,n,r,o,i,a){null==r&&(r=0),null==a&&(a=!1);var s=Io.encode.compress(t,e,n,r,[!1,!1,!1,0,a]);return Io.encode.compressPNG(s,-1),Io.encode._main(s,e,n,o,i)},Io.encodeLL=function(t,e,n,r,o,i,a,s){for(var u={ctype:0+(1==r?0:2)+(0==o?0:4),depth:i,frames:[]},c=(r+o)*i,h=c*e,l=0;l1,l=!1,f=33+(h?20:0);if(null!=o.sRGB&&(f+=13),null!=o.pHYs&&(f+=21),3==t.ctype){for(var d=t.plte.length,p=0;p>>24!=255&&(l=!0);f+=8+3*d+4+(l?8+1*d+4:0)}for(var g=0;g>>8&255,F=b>>>16&255;y[c+m+0]=w,y[c+m+1]=x,y[c+m+2]=F}if(a(y,c+=3*d,i(y,c-3*d-4,3*d+4)),c+=4,l){a(y,c,d),u(y,c+=4,"tRNS"),c+=4;for(p=0;p>>24&255;a(y,c+=d,i(y,c-d-4,d+4)),c+=4}}var S=0;for(g=0;g>2,O>>2));for(d=0;dR&&D==P[y-R])N[y]=N[y-R];else{var j=b[D];if(null==j&&(b[D]=j=w.length,w.push(D),w.length>=300))break;N[y]=j}}}var z=w.length;z<=256&&0==c&&(l=z<=2?1:z<=4?2:z<=16?4:8,l=Math.max(l,u));for(d=0;d>1)]|=E[q+K]<<4-4*(1&K);else if(2==l)for(K=0;K>2)]|=E[q+K]<<6-2*(3&K);else if(1==l)for(K=0;K>3)]|=E[q+K]<<7-1*(7&K)}M=U,h=3,I=1}else if(0==v&&1==m.length){U=new Uint8Array(R*B*3);var G=R*B;for(y=0;yC&&(C=O),Tk&&(k=T))}-1==C&&(F=S=C=k=0),o&&(1&~F||F--,1&~S||S--);var A=(C-F+1)*(k-S+1);Ay&&(y=w),xv&&(v=x))}-1==y&&(p=g=y=v=0),a&&(1&~p||p--,1&~g||g--),i={x:p,y:g,width:y-p+1,height:v-g+1};var C=r[o];C.rect=i,C.blend=1,C.img=new Uint8Array(i.width*i.height*4),0==r[o-1].dispose?(Io._copyTile(c,e,n,C.img,i.width,i.height,-i.x,-i.y,0),Io.encode._prepareDiff(f,e,n,C.img,i)):Io._copyTile(f,e,n,C.img,i.width,i.height,-i.x,-i.y,0)},Io.encode._prepareDiff=function(t,e,n,r,o){Io._copyTile(t,e,n,r,o.width,o.height,-o.x,-o.y,2)},Io.encode._filterZero=function(t,e,n,r,o,i,a){var s,u=[],c=[0,1,2,3,4];-1!=i?c=[i]:(e*r>5e5||1==n)&&(c=[0]),a&&(s={level:0});for(var h=a&&null!=UZIP?UZIP:Fn,l=0;l>1)+256&255;if(4==i)for(c=o;c>1)&255;for(c=o;c>1)&255}if(4==i){for(c=0;c>>1:n>>>=1;t[e]=n}return t}(),update:function(t,e,n,r){for(var o=0;o>>8;return t},crc:function(t,e,n){return 4294967295^Io.crc.update(4294967295,t,e,n)}},Io.quantize=function(t,e){var n=new Uint8Array(t),r=n.slice(0),o=new Uint32Array(r.buffer),i=Io.quantize.getKDtree(r,e),a=i[0],s=i[1];Io.quantize.planeDst;for(var u=n,c=o,h=u.length,l=new Uint8Array(n.length>>2),f=0;f>2]=v.ind,c[f>>2]=v.est.rgba}return{abuf:r.buffer,inds:l,plte:s}},Io.quantize.getKDtree=function(t,e,n){null==n&&(n=1e-4);var r=new Uint32Array(t.buffer),o={i0:0,i1:t.length,bst:null,est:null,tdst:0,left:null,right:null};o.bst=Io.quantize.stats(t,o.i0,o.i1),o.est=Io.quantize.estats(o.bst);for(var i=[o];i.lengtha&&(a=i[u].est.L,s=u);if(a=h||c.i1<=h)c.est.L=0;else{var l={i0:c.i0,i1:h,bst:null,est:null,tdst:0,left:null,right:null};l.bst=Io.quantize.stats(t,l.i0,l.i1),l.est=Io.quantize.estats(l.bst);var f={i0:h,i1:c.i1,bst:null,est:null,tdst:0,left:null,right:null};f.bst={R:[],m:[],N:c.bst.N-l.bst.N};for(u=0;u<16;u++)f.bst.R[u]=c.bst.R[u]-l.bst.R[u];for(u=0;u<4;u++)f.bst.m[u]=c.bst.m[u]-l.bst.m[u];f.est=Io.quantize.estats(f.bst),c.left=l,c.right=f,i[s]=l,i.push(f)}}i.sort(function(t,e){return e.bst.N-t.bst.N});for(u=0;u0&&(a=t.right,s=t.left);var u=Io.quantize.getNearest(a,e,n,r,o);if(u.tdst<=i*i)return u;var c=Io.quantize.getNearest(s,e,n,r,o);return c.tdsti;)r-=4;if(n>=r)break;var s=e[n>>2];e[n>>2]=e[r>>2],e[r>>2]=s,n+=4,r-=4}for(;a(t,n,o)>i;)n-=4;return n+4},Io.quantize.vecDot=function(t,e,n){return t[e]*n[0]+t[e+1]*n[1]+t[e+2]*n[2]+t[e+3]*n[3]},Io.quantize.stats=function(t,e,n){for(var r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],o=[0,0,0,0],i=n-e>>2,a=e;a>>0}},Io.M4={multVec:function(t,e){return[t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3],t[4]*e[0]+t[5]*e[1]+t[6]*e[2]+t[7]*e[3],t[8]*e[0]+t[9]*e[1]+t[10]*e[2]+t[11]*e[3],t[12]*e[0]+t[13]*e[1]+t[14]*e[2]+t[15]*e[3]]},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]},sml:function(t,e){return[t*e[0],t*e[1],t*e[2],t*e[3]]}},Io.encode.concatRGBA=function(t){for(var e=0,n=0;n1)throw new Error("Animated PNGs are not supported");var r=function(t){for(var e=Math.floor(t.length/4),n=new Uint8Array(3*e),r=new Uint8Array(1*e),o=0,i=0,a=0;o=this.end?-1:this.bytes[this.pos++]},t.prototype.getUint16=function(){var t=this.getByte(),e=this.getByte();return-1===t||-1===e?-1:(t<<8)+e},t.prototype.getInt32=function(){return(this.getByte()<<24)+(this.getByte()<<16)+(this.getByte()<<8)+this.getByte()},t.prototype.getBytes=function(t,e){void 0===e&&(e=!1);var n=this.bytes,r=this.pos,o=this.end;if(t){var i=r+t;i>o&&(i=o),this.pos=i;a=n.subarray(r,i);return e?new Uint8ClampedArray(a):a}var a=n.subarray(r,o);return e?new Uint8ClampedArray(a):a},t.prototype.peekByte=function(){var t=this.getByte();return this.pos--,t},t.prototype.peekBytes=function(t,e){void 0===e&&(e=!1);var n=this.getBytes(t,e);return this.pos-=n.length,n},t.prototype.skip=function(t){t||(t=1),this.pos+=t},t.prototype.reset=function(){this.pos=this.start},t.prototype.moveStart=function(){this.start=this.pos},t.prototype.makeSubStream=function(e,n){return new t(this.bytes,e,n)},t.prototype.decode=function(){return this.bytes},t}(),Ho=new Uint8Array(0),Zo=function(){function t(t){if(this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=Ho,this.minBufferLength=512,t)for(;this.minBufferLengtho&&(n=o)}else{for(;!this.eof;)this.readBlock();n=this.bufferLength}this.pos=n;var i=this.buffer.subarray(r,n);return!e||i instanceof Uint8ClampedArray?i:new Uint8ClampedArray(i)},t.prototype.peekByte=function(){var t=this.getByte();return this.pos--,t},t.prototype.peekBytes=function(t,e){void 0===e&&(e=!1);var n=this.getBytes(t,e);return this.pos-=n.length,n},t.prototype.skip=function(t){t||(t=1),this.pos+=t},t.prototype.reset=function(){this.pos=0},t.prototype.makeSubStream=function(t,e){for(var n=t+e;this.bufferLength<=n&&!this.eof;)this.readBlock();return new Xo(this.buffer,t,e)},t.prototype.decode=function(){for(;!this.eof;)this.readBlock();return this.buffer.subarray(0,this.bufferLength)},t.prototype.readBlock=function(){throw new rr(this.constructor.name,"readBlock")},t.prototype.ensureBuffer=function(t){var e=this.buffer;if(t<=e.byteLength)return e;for(var n=this.minBufferLength;n=0;--r)n[o+r]=255&a,a>>=8}}else this.eof=!0},e}(Zo),Qo=function(t){function e(e,n){var r=t.call(this,n)||this;return r.stream=e,r.firstDigit=-1,n&&(n*=.5),r}return r(e,t),e.prototype.readBlock=function(){var t=this.stream.getBytes(8e3);if(t.length){for(var e=t.length+1>>1,n=this.ensureBuffer(this.bufferLength+e),r=this.bufferLength,o=this.firstDigit,i=0,a=t.length;i=48&&s<=57)u=15&s;else{if(!(s>=65&&s<=70||s>=97&&s<=102)){if(62===s){this.eof=!0;break}continue}u=9+(15&s)}o<0?o=u:(n[r++]=o<<4|u,o=-1)}o>=0&&this.eof&&(n[r++]=o<<4,o=-1),this.firstDigit=o,this.bufferLength=r}else this.eof=!0},e}(Zo),_o=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),$o=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),ti=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),ei=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],ni=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5],ri=function(t){function e(e,n){var r=t.call(this,n)||this;r.stream=e;var o=e.getByte(),i=e.getByte();if(-1===o||-1===i)throw new Error("Invalid header in flate stream: "+o+", "+i);if(8!=(15&o))throw new Error("Unknown compression method in flate stream: "+o+", "+i);if(((o<<8)+i)%31!=0)throw new Error("Bad FCHECK in flate stream: "+o+", "+i);if(32&i)throw new Error("FDICT bit set in flate stream: "+o+", "+i);return r.codeSize=0,r.codeBuf=0,r}return r(e,t),e.prototype.readBlock=function(){var t,e,n=this.stream,r=this.getBits(3);if(1&r&&(this.eof=!0),0!==(r>>=1)){var o,i;if(1===r)o=ei,i=ni;else{if(2!==r)throw new Error("Unknown block type in flate stream");var a=this.getBits(5)+257,s=this.getBits(5)+1,u=this.getBits(4)+4,c=new Uint8Array(_o.length),h=void 0;for(h=0;h0;)d[h++]=y}o=this.generateHuffmanTable(d.subarray(0,a)),i=this.generateHuffmanTable(d.subarray(a,f))}for(var b=(t=this.buffer)?t.length:0,w=this.bufferLength;;){var x=this.getCode(o);if(x<256)w+1>=b&&(b=(t=this.ensureBuffer(w+1)).length),t[w++]=x;else{if(256===x)return void(this.bufferLength=w);var F=(x=$o[x-=257])>>16;F>0&&(F=this.getBits(F)),e=(65535&x)+F,x=this.getCode(i),(F=(x=ti[x])>>16)>0&&(F=this.getBits(F));var S=(65535&x)+F;w+e>=b&&(b=(t=this.ensureBuffer(w+e)).length);for(var C=0;C>t,this.codeSize=r-=t,e},e.prototype.getCode=function(t){for(var e,n=this.stream,r=t[0],o=t[1],i=this.codeSize,a=this.codeBuf;i>16,c=65535&s;if(u<1||i>u,this.codeSize=i-u,c},e.prototype.generateHuffmanTable=function(t){var e,n=t.length,r=0;for(e=0;er&&(r=t[e]);for(var o=1<>=1;for(e=h;e0;if(!v||v<256)f[0]=v,d=1;else{if(!(v>=258)){if(256===v){h=9,a=258,d=0;continue}this.eof=!0,delete this.lzwState;break}if(v=0;e--)f[e]=s[n],n=c[n];else f[d++]=f[0]}if(m&&(c[a]=l,u[a]=u[l]+1,s[a]=f[0],h=++a+i&a+i-1?h:0|Math.min(Math.log(a+i)/.6931471805599453+1,12)),l=v,r<(p+=d)){do{r+=512}while(r>>e&(1<0){var o=this.stream.getBytes(r);e.set(o,n),n+=r}}else{r=257-r;var i=t[1];e=this.ensureBuffer(n+r+1);for(var a=0;ae.size())throw new yr(t,0,e.size());e.remove(t)}else{if(0!==t)throw new yr(t,0,0);this.setKids([])}},e.prototype.normalizedEntries=function(){var t=this.Kids();return t||(t=this.dict.context.obj([this.ref]),this.dict.set(Xr.of("Kids"),t)),{Kids:t}},e.fromDict=function(t,n){return new e(t,n)},e}(yi),Fi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.Opt=function(){return this.dict.lookupMaybe(Xr.of("Opt"),Oo,xo,Br)},e.prototype.setOpt=function(t){this.dict.set(Xr.of("Opt"),this.dict.context.obj(t))},e.prototype.getExportValues=function(){var t=this.Opt();if(t){if(t instanceof Oo||t instanceof xo)return[t];for(var e=[],n=0,r=t.size();ne.size())throw new yr(t,0,e.size());e.remove(t)}},e.prototype.normalizeExportValues=function(){for(var t,e,n,r,o=null!==(t=this.getExportValues())&&void 0!==t?t:[],i=[],a=this.getWidgets(),s=0,u=a.length;s1){if(!this.hasFlag(di.MultiSelect))throw new mr;this.dict.set(Xr.of("V"),this.dict.context.obj(t))}this.updateSelectedIndices(t)},e.prototype.valuesAreValid=function(t){for(var e=this.getOptions(),n=function(n,r){var o=t[n].decodeText();if(!e.find(function(t){return o===(t.display||t.value).decodeText()}))return{value:!1}},r=0,o=t.length;r1){for(var e=new Array(t.length),n=this.getOptions(),r=function(r,o){var i=t[r].decodeText();e[r]=n.findIndex(function(t){return i===(t.display||t.value).decodeText()})},o=0,i=t.length;o0){var i=o.lookup(0,Oo,xo),a=o.lookupMaybe(1,Oo,xo);e.push({value:i,display:a||i})}}return e}return[]},e}(xi),Ti=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.fromDict=function(t,n){return new e(t,n)},e.create=function(t){var n=t.obj({FT:"Ch",Ff:di.Combo,Kids:[]});return new e(n,t.register(n))},e}(ki),Oi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.addField=function(t){var e=this.normalizedEntries().Kids;null==e||e.push(t)},e.prototype.normalizedEntries=function(){var t=this.Kids();return t||(t=this.dict.context.obj([]),this.dict.set(Xr.of("Kids"),t)),{Kids:t}},e.fromDict=function(t,n){return new e(t,n)},e.create=function(t){var n=t.obj({});return new e(n,t.register(n))},e}(yi),Ai=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.fromDict=function(t,n){return new e(t,n)},e}(xi),Pi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.MaxLen=function(){var t=this.dict.lookup(Xr.of("MaxLen"));if(t instanceof zr)return t},e.prototype.Q=function(){var t=this.dict.lookup(Xr.of("Q"));if(t instanceof zr)return t},e.prototype.setMaxLength=function(t){this.dict.set(Xr.of("MaxLen"),zr.of(t))},e.prototype.removeMaxLength=function(){this.dict.delete(Xr.of("MaxLen"))},e.prototype.getMaxLength=function(){var t;return null===(t=this.MaxLen())||void 0===t?void 0:t.asNumber()},e.prototype.setQuadding=function(t){this.dict.set(Xr.of("Q"),zr.of(t))},e.prototype.getQuadding=function(){var t;return null===(t=this.Q())||void 0===t?void 0:t.asNumber()},e.prototype.setValue=function(t){this.dict.set(Xr.of("V"),t)},e.prototype.removeValue=function(){this.dict.delete(Xr.of("V"))},e.prototype.getValue=function(){var t=this.V();if(t instanceof Oo||t instanceof xo)return t},e.fromDict=function(t,n){return new e(t,n)},e.create=function(t){var n=t.obj({FT:"Tx",Kids:[]});return new e(n,t.register(n))},e}(xi),Ri=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.fromDict=function(t,n){return new e(t,n)},e.create=function(t){var n=t.obj({FT:"Btn",Ff:li.PushButton,Kids:[]});return new e(n,t.register(n))},e}(Fi),Ni=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.setValue=function(t){if(!this.getOnValues().includes(t)&&t!==Xr.of("Off"))throw new vr;this.dict.set(Xr.of("V"),t);for(var e=this.getWidgets(),n=0,r=e.length;no)throw new pr(n,o);for(var i=n,a=0,s=r.size();ai)return c.insertLeafNode(t,i)||u;i-=c.Count().asNumber()}c instanceof co&&(i-=1)}if(0!==i)throw new gr(n,"insertLeafNode");this.insertLeafKid(r.size(),t)},e.prototype.removeLeafNode=function(t,n){void 0===n&&(n=!0);var r=this.Kids(),o=this.Count().asNumber();if(t>=o)throw new pr(t,o);for(var i=t,a=0,s=r.size();ai)return c.removeLeafNode(i,n),void(n&&0===c.Kids().size()&&r.remove(a));i-=c.Count().asNumber()}if(c instanceof co){if(0===i)return void this.removeKid(a);i-=1}}throw new gr(t,"removeLeafNode")},e.prototype.ascend=function(t){t(this);var e=this.Parent();e&&e.ascend(t)},e.prototype.traverse=function(t){for(var n=this.Kids(),r=0,o=n.size();rNumber.MAX_SAFE_INTEGER){if(this.capNumbers){var r="Parsed number that is too large for some PDF readers: "+t+", using Number.MAX_SAFE_INTEGER instead.";return console.warn(r),Number.MAX_SAFE_INTEGER}r="Parsed number that is too large for some PDF readers: "+t+", not capping.";console.warn(r)}return n},t.prototype.skipWhitespace=function(){for(;!this.bytes.done()&&Ur[this.bytes.peek()];)this.bytes.next()},t.prototype.skipLine=function(){for(;!this.bytes.done();){var t=this.bytes.peek();if(t===Ji||t===Qi)return;this.bytes.next()}},t.prototype.skipComment=function(){if(this.bytes.peek()!==Nr.Percent)return!1;for(;!this.bytes.done();){var t=this.bytes.peek();if(t===Ji||t===Qi)return!0;this.bytes.next()}return!0},t.prototype.skipWhitespaceAndComments=function(){for(this.skipWhitespace();this.skipComment();)this.skipWhitespace()},t.prototype.matchKeyword=function(t){for(var e=this.bytes.offset(),n=0,r=t.length;n=this.length},t.prototype.offset=function(){return this.idx},t.prototype.slice=function(t,e){return this.bytes.slice(t,e)},t.prototype.position=function(){return{line:this.line,column:this.column,offset:this.idx}},t.of=function(e){return new t(e)},t.fromPDFRawStream=function(e){return t.of(si(e).decode())},t}(),ta=Nr.Space,ea=Nr.CarriageReturn,na=Nr.Newline,ra=[Nr.s,Nr.t,Nr.r,Nr.e,Nr.a,Nr.m],oa=[Nr.e,Nr.n,Nr.d,Nr.s,Nr.t,Nr.r,Nr.e,Nr.a,Nr.m],ia={header:[Nr.Percent,Nr.P,Nr.D,Nr.F,Nr.Dash],eof:[Nr.Percent,Nr.Percent,Nr.E,Nr.O,Nr.F],obj:[Nr.o,Nr.b,Nr.j],endobj:[Nr.e,Nr.n,Nr.d,Nr.o,Nr.b,Nr.j],xref:[Nr.x,Nr.r,Nr.e,Nr.f],trailer:[Nr.t,Nr.r,Nr.a,Nr.i,Nr.l,Nr.e,Nr.r],startxref:[Nr.s,Nr.t,Nr.a,Nr.r,Nr.t,Nr.x,Nr.r,Nr.e,Nr.f],true:[Nr.t,Nr.r,Nr.u,Nr.e],false:[Nr.f,Nr.a,Nr.l,Nr.s,Nr.e],null:[Nr.n,Nr.u,Nr.l,Nr.l],stream:ra,streamEOF1:s(ra,[ta,ea,na]),streamEOF2:s(ra,[ea,na]),streamEOF3:s(ra,[ea]),streamEOF4:s(ra,[na]),endstream:oa,EOF1endstream:s([ea,na],oa),EOF2endstream:s([ea],oa),EOF3endstream:s([na],oa)},aa=function(t){function e(e,n,r){void 0===r&&(r=!1);var o=t.call(this,e,r)||this;return o.context=n,o}return r(e,t),e.prototype.parseObject=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(ia.true))return Vr.True;if(this.matchKeyword(ia.false))return Vr.False;if(this.matchKeyword(ia.null))return Hr;var t=this.bytes.peek();if(t===Nr.LessThan&&this.bytes.peekAhead(1)===Nr.LessThan)return this.parseDictOrStream();if(t===Nr.LessThan)return this.parseHexString();if(t===Nr.LeftParen)return this.parseString();if(t===Nr.ForwardSlash)return this.parseName();if(t===Nr.LeftSquareBracket)return this.parseArray();if(Hi[t])return this.parseNumberOrRef();throw new Cr(this.bytes.position(),t)},e.prototype.parseNumberOrRef=function(){var t=this.parseRawNumber();this.skipWhitespaceAndComments();var e=this.bytes.offset();if(Li[this.bytes.peek()]){var n=this.parseRawNumber();if(this.skipWhitespaceAndComments(),this.bytes.peek()===Nr.R)return this.bytes.assertNext(Nr.R),to.of(t,n)}return this.bytes.moveTo(e),zr.of(t)},e.prototype.parseHexString=function(){var t="";for(this.bytes.assertNext(Nr.LessThan);!this.bytes.done()&&this.bytes.peek()!==Nr.GreaterThan;)t+=m(this.bytes.next());return this.bytes.assertNext(Nr.GreaterThan),xo.of(t)},e.prototype.parseString=function(){for(var t=0,e=!1,n="";!this.bytes.done();){var r=this.bytes.next();if(n+=m(r),e||(r===Nr.LeftParen&&(t+=1),r===Nr.RightParen&&(t-=1)),r===Nr.BackSlash?e=!e:e&&(e=!1),0===t)return Oo.of(n.substring(1,n.length-1))}throw new Or(this.bytes.position())},e.prototype.parseName=function(){this.bytes.assertNext(Nr.ForwardSlash);for(var t="";!this.bytes.done();){var e=this.bytes.peek();if(Ur[e]||Ir[e])break;t+=m(e),this.bytes.next()}return Xr.of(t)},e.prototype.parseArray=function(){this.bytes.assertNext(Nr.LeftSquareBracket),this.skipWhitespaceAndComments();for(var t=Br.withContext(this.context);this.bytes.peek()!==Nr.RightSquareBracket;){var e=this.parseObject();t.push(e),this.skipWhitespaceAndComments()}return this.bytes.assertNext(Nr.RightSquareBracket),t},e.prototype.parseDict=function(){this.bytes.assertNext(Nr.LessThan),this.bytes.assertNext(Nr.LessThan),this.skipWhitespaceAndComments();for(var t=new Map;!this.bytes.done()&&this.bytes.peek()!==Nr.GreaterThan&&this.bytes.peekAhead(1)!==Nr.GreaterThan;){var e=this.parseName(),n=this.parseObject();t.set(e,n),this.skipWhitespaceAndComments()}this.skipWhitespaceAndComments(),this.bytes.assertNext(Nr.GreaterThan),this.bytes.assertNext(Nr.GreaterThan);var r=t.get(Xr.of("Type"));return r===Xr.of("Catalog")?Ki.fromMapWithContext(t,this.context):r===Xr.of("Pages")?Gi.fromMapWithContext(t,this.context):r===Xr.of("Page")?co.fromMapWithContext(t,this.context):Yr.fromMapWithContext(t,this.context)},e.prototype.parseDictOrStream=function(){var t=this.bytes.position(),e=this.parseDict();if(this.skipWhitespaceAndComments(),!(this.matchKeyword(ia.streamEOF1)||this.matchKeyword(ia.streamEOF2)||this.matchKeyword(ia.streamEOF3)||this.matchKeyword(ia.streamEOF4)||this.matchKeyword(ia.stream)))return e;var n,r=this.bytes.offset(),o=e.get(Xr.of("Length"));o instanceof zr?(n=r+o.asNumber(),this.bytes.moveTo(n),this.skipWhitespaceAndComments(),this.matchKeyword(ia.endstream)||(this.bytes.moveTo(r),n=this.findEndOfStreamFallback(t))):n=this.findEndOfStreamFallback(t);var i=this.bytes.slice(r,n);return Qr.of(e,i)},e.prototype.findEndOfStreamFallback=function(t){for(var e=1,n=this.bytes.offset();!this.bytes.done()&&(n=this.bytes.offset(),this.matchKeyword(ia.stream)?e+=1:this.matchKeyword(ia.EOF1endstream)||this.matchKeyword(ia.EOF2endstream)||this.matchKeyword(ia.EOF3endstream)||this.matchKeyword(ia.endstream)?e-=1:this.bytes.next(),0!==e););if(0!==e)throw new Tr(t);return n},e.forBytes=function(t,n,r){return new e($i.of(t),n,r)},e.forByteStream=function(t,n,r){return void 0===r&&(r=!1),new e(t,n,r)},e}(_i),sa=function(t){function e(e,n){var r=t.call(this,$i.fromPDFRawStream(e),e.dict.context)||this,o=e.dict;return r.alreadyParsed=!1,r.shouldWaitForTick=n||function(){return!1},r.firstOffset=o.lookup(Xr.of("First"),zr).asNumber(),r.objectCount=o.lookup(Xr.of("N"),zr).asNumber(),r}return r(e,t),e.prototype.parseIntoContext=function(){return i(this,0,void 0,function(){var t,e,n,r,o,i,s,u;return a(this,function(a){switch(a.label){case 0:if(this.alreadyParsed)throw new sr("PDFObjectStreamParser","parseIntoContext");this.alreadyParsed=!0,t=this.parseOffsetsAndObjectNumbers(),e=0,n=t.length,a.label=1;case 1:return e=Nr.Space&&e<=Nr.Tilde&&(this.matchKeyword(ia.xref)||this.matchKeyword(ia.trailer)||this.matchKeyword(ia.startxref)||this.matchIndirectObjectHeader())){this.bytes.moveTo(t);break}this.bytes.next()}},e.prototype.skipBinaryHeaderComment=function(){this.skipWhitespaceAndComments();try{var t=this.bytes.offset();this.parseIndirectObjectHeader(),this.bytes.moveTo(t)}catch(e){this.bytes.next(),this.skipWhitespaceAndComments()}},e.forBytesWithOptions=function(t,n,r,o){return new e(t,n,r,o)},e}(aa),ha=function(t){return 1<1&&(n*=f=Math.sqrt(f),r*=f);var d=l/n,p=h/n,g=-h/r,y=l/r,v=d*s+p*u,m=g*s+y*u,b=d*t+p*e,w=g*t+y*e,x=1/((b-v)*(b-v)+(w-m)*(w-m))-.25;x<0&&(x=0);var F=Math.sqrt(x);i===o&&(F=-F);var S=.5*(v+b)-F*(w-m),C=.5*(m+w)+F*(b-v),k=Math.atan2(m-C,v-S),T=Math.atan2(w-C,b-S)-k;T<0&&1===i?T+=2*Math.PI:T>0&&0===i&&(T-=2*Math.PI);for(var O=Math.ceil(Math.abs(T/(.5*Math.PI+.001))),A=[],P=0;P0&&(r[r.length]=+o),n[n.length]={cmd:e,args:r},r=[],o="",i=!1),e=c;else if([" ",","].includes(c)||"-"===c&&o.length>0&&"e"!==o[o.length-1]||"."===c&&i){if(0===o.length)continue;r.length===a?(n[n.length]={cmd:e,args:r},r=[+o],"M"===e&&(e="L"),"m"===e&&(e="l")):r[r.length]=+o,i="."===c,o=["-","."].includes(c)?c:""}else o+=c,"."===c&&(i=!0)}return o.length>0&&(r.length===a?(n[n.length]={cmd:e,args:r},r=[+o],"M"===e&&(e="L"),"m"===e&&(e="l")):r[r.length]=+o),n[n.length]={cmd:e,args:r},n}(t))},Ps=function(t,e){return[Ua(),e.graphicsState&&Ia(e.graphicsState),Pa(e.x,e.y),Na(wa(e.rotate)),Ra(e.width,e.height),ja(wa(e.xSkew),wa(e.ySkew)),os(t),Ea()].filter(Boolean)},Rs=function(t){var e,n;return[Ua(),t.graphicsState&&Ia(t.graphicsState),t.color&&ds(t.color),t.borderColor&&ps(t.borderColor),Wa(t.borderWidth),t.borderLineCap&&Ma(t.borderLineCap),za(null!==(e=t.borderDashArray)&&void 0!==e?e:[],null!==(n=t.borderDashPhase)&&void 0!==n?n:0),Pa(t.x,t.y),Na(wa(t.rotate)),ja(wa(t.xSkew),wa(t.ySkew)),La(0,0),Xa(0,t.height),Xa(t.width,t.height),Xa(t.width,0),Ga(),t.color&&t.borderWidth?Ya():t.color?Za():t.borderColor?Ha():Ga(),Ea()].filter(Boolean)},Ns=(Math.sqrt(2)-1)/3*4,Ds=function(t){var e,n,r,o,i,a,u,c,h,l,f,d,p,g;return s([Ua(),t.graphicsState&&Ia(t.graphicsState),t.color&&ds(t.color),t.borderColor&&ps(t.borderColor),Wa(t.borderWidth),t.borderLineCap&&Ma(t.borderLineCap),za(null!==(e=t.borderDashArray)&&void 0!==e?e:[],null!==(n=t.borderDashPhase)&&void 0!==n?n:0)],void 0===t.rotate?(o={x:t.x,y:t.y,xScale:t.xScale,yScale:t.yScale},i=pa(o.x),a=pa(o.y),u=pa(o.xScale),c=pa(o.yScale),h=u*Ns,l=c*Ns,f=(i-=u)+2*u,d=(a-=c)+2*c,p=i+u,g=a+c,[Ua(),La(i,g),qa(i,g-l,p-h,a,p,a),qa(p+h,a,f,g-l,f,g),qa(f,g+l,p+h,d,p,d),qa(p-h,d,i,g+l,i,g),Ea()]):function(t){var e=pa(t.x),n=pa(t.y),r=pa(t.xScale),o=pa(t.yScale),i=-r,a=-o,s=r*Ns,u=o*Ns,c=i+2*r,h=a+2*o,l=i+r,f=a+o;return[Pa(e,n),Na(wa(t.rotate)),La(i,f),qa(i,f-u,l-s,a,l,a),qa(l+s,a,c,f-u,c,f),qa(c,f+u,l+s,h,l,h),qa(l-s,h,i,f+u,i,f)]}({x:t.x,y:t.y,xScale:t.xScale,yScale:t.yScale,rotate:null!==(r=t.rotate)&&void 0!==r?r:ya(0)}),[t.color&&t.borderWidth?Ya():t.color?Za():t.borderColor?Ha():Ga(),Ea()]).filter(Boolean)},js=function(t){return 0===t.rotation?[Pa(0,0),Da(0)]:90===t.rotation?[Pa(t.width,0),Da(90)]:180===t.rotation?[Pa(t.width,t.height),Da(180)]:270===t.rotation?[Pa(0,t.height),Da(270)]:[]},zs=function(t){var e=Rs({x:t.x,y:t.y,width:t.width,height:t.height,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:ya(0),xSkew:ya(0),ySkew:ya(0)});if(!t.filled)return e;var n=pa(t.width),r=pa(t.height),o=function(t){var e=pa(t.size),n=-.49,r=.3995/.965+n;return[Ua(),t.color&&ps(t.color),Wa(t.thickness),Pa(t.x,t.y),La(-.675*e,r*e),Xa(-.25*e,n*e),Xa(.69*e,.475*e),Ha(),Ea()].filter(Boolean)}({x:n/2,y:r/2,size:Math.min(n,r)/2,thickness:t.thickness,color:t.markColor});return s([Ua()],e,o,[Ea()])},Bs=function(t){var e=pa(t.width),n=pa(t.height),r=Math.min(e,n)/2,o=Ds({x:t.x,y:t.y,xScale:r,yScale:r,color:t.color,borderColor:t.borderColor,borderWidth:t.borderWidth});if(!t.filled)return o;var i=Ds({x:t.x,y:t.y,xScale:.45*r,yScale:.45*r,color:t.dotColor,borderColor:void 0,borderWidth:0});return s([Ua()],o,i,[Ea()])},Ms=function(t){var e=pa(t.x),n=pa(t.y),r=pa(t.width),o=pa(t.height),i=Rs({x:e,y:n,width:r,height:o,borderWidth:t.borderWidth,color:t.color,borderColor:t.borderColor,rotate:ya(0),xSkew:ya(0),ySkew:ya(0)}),a=Vs(t.textLines,{color:t.textColor,font:t.font,size:t.fontSize,rotate:ya(0),xSkew:ya(0),ySkew:ya(0)});return s([Ua()],i,a,[Ea()])},Vs=function(t,e){for(var n=[$a(),ds(e.color),es(e.font,e.size)],r=0,o=t.length;rt.length)return o-1;var p=e.heightAtSize(o);if((p+.2*p)*i>Math.abs(n.height))return o-1;o+=1}return o},tu=function(t,e,n,r){for(var o=n.width/r,i=n.height,a=4,s=function(t){for(var e=[],n=0,r=t.length;n.75*o)return a-1}if(e.heightAtSize(a,{descender:!1})>i)return a-1;a+=1}return a},eu=function(t){for(var e=t.length;e>0;e--)if(/\s/.test(t[e]))return e},nu=function(t,e,n,r){for(var o,i=t.length;i>0;){var a=t.substring(0,i),s=n.encodeText(a),u=n.widthOfTextAtSize(a,r);if(uf&&(f=C+x),p+s>d&&(d=p+s),c.push({text:b,encoded:w,width:x,height:s,x:C,y:p}),v=null==S?void 0:S.trim()}return{fontSize:r,lineHeight:u,lines:c,bounds:{x:h,y:l,width:f-h,height:d-l}}},ou=function(t,e){var n=e.alignment,r=e.fontSize,o=e.font,i=e.bounds,a=T(F(t));void 0!==r&&0!==r||(r=$s([a],o,i));var s=o.encodeText(a),u=o.widthOfTextAtSize(a,r),c=o.heightAtSize(r,{descender:!1}),h=n===Hs.Left?i.x:n===Hs.Center?i.x+i.width/2-u/2:n===Hs.Right?i.x+i.width-u:i.x,l=i.y+(i.height/2-c/2);return{fontSize:r,line:{text:a,encoded:s,width:u,height:c,x:h,y:l},bounds:{x:h,y:l,width:u,height:c}}},iu=function(t){return"normal"in t?t:{normal:t}},au=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]+(\d*\.\d+|\d+)[\0\t\n\f\r\ ]+Tf/,su=function(t){var e,n,r=null!==(e=t.getDefaultAppearance())&&void 0!==e?e:"",o=null!==(n=N(r,au).match)&&void 0!==n?n:[],i=Number(o[2]);return isFinite(i)?i:void 0},uu=/(\d*\.\d+|\d+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+(g|rg|k)/,cu=function(t){var e,n=null!==(e=t.getDefaultAppearance())&&void 0!==e?e:"",r=N(n,uu).match,o=null!=r?r:[],i=o[1],a=o[2],s=o[3],u=o[4],c=o[5];return"g"===c&&i?ss(Number(i)):"rg"===c&&i&&a&&s?us(Number(i),Number(a),Number(s)):"k"===c&&i&&a&&s&&u?cs(Number(i),Number(a),Number(s),Number(u)):void 0},hu=function(t,e,n,r){var o;void 0===r&&(r=0);var i=[ds(e).toString(),es(null!==(o=null==n?void 0:n.name)&&void 0!==o?o:"dummy__noop",r).toString()].join("\n");t.setDefaultAppearance(i)},lu=function(t,e){var n,r,i,a=cu(e),u=cu(t.acroField),c=e.getRectangle(),h=e.getAppearanceCharacteristics(),l=e.getBorderStyle(),f=null!==(n=null==l?void 0:l.getWidth())&&void 0!==n?n:0,d=Fa(null==h?void 0:h.getRotation()),p=Sa(c,d),g=p.width,y=p.height,v=js(o(o({},c),{rotation:d})),m=us(0,0,0),b=null!==(r=gs(null==h?void 0:h.getBorderColor()))&&void 0!==r?r:m,w=gs(null==h?void 0:h.getBackgroundColor()),x=gs(null==h?void 0:h.getBackgroundColor(),.8),F=null!==(i=null!=a?a:u)&&void 0!==i?i:m;hu(a?e:t.acroField,F);var S={x:0+f/2,y:0+f/2,width:g-f,height:y-f,thickness:1.5,borderWidth:f,borderColor:b,markColor:F};return{normal:{on:s(v,zs(o(o({},S),{color:w,filled:!0}))),off:s(v,zs(o(o({},S),{color:w,filled:!1})))},down:{on:s(v,zs(o(o({},S),{color:x,filled:!0}))),off:s(v,zs(o(o({},S),{color:x,filled:!1})))}}},fu=function(t,e){var n,r,i,a=cu(e),u=cu(t.acroField),c=e.getRectangle(),h=e.getAppearanceCharacteristics(),l=e.getBorderStyle(),f=null!==(n=null==l?void 0:l.getWidth())&&void 0!==n?n:0,d=Fa(null==h?void 0:h.getRotation()),p=Sa(c,d),g=p.width,y=p.height,v=js(o(o({},c),{rotation:d})),m=us(0,0,0),b=null!==(r=gs(null==h?void 0:h.getBorderColor()))&&void 0!==r?r:m,w=gs(null==h?void 0:h.getBackgroundColor()),x=gs(null==h?void 0:h.getBackgroundColor(),.8),F=null!==(i=null!=a?a:u)&&void 0!==i?i:m;hu(a?e:t.acroField,F);var S={x:g/2,y:y/2,width:g-f,height:y-f,borderWidth:f,borderColor:b,dotColor:F};return{normal:{on:s(v,Bs(o(o({},S),{color:w,filled:!0}))),off:s(v,Bs(o(o({},S),{color:w,filled:!1})))},down:{on:s(v,Bs(o(o({},S),{color:x,filled:!0}))),off:s(v,Bs(o(o({},S),{color:x,filled:!1})))}}},du=function(t,e,n){var r,i,a,u,c,h=cu(e),l=cu(t.acroField),f=su(e),d=su(t.acroField),p=e.getRectangle(),g=e.getAppearanceCharacteristics(),y=e.getBorderStyle(),v=null==g?void 0:g.getCaptions(),m=null!==(r=null==v?void 0:v.normal)&&void 0!==r?r:"",b=null!==(a=null!==(i=null==v?void 0:v.down)&&void 0!==i?i:m)&&void 0!==a?a:"",w=null!==(u=null==y?void 0:y.getWidth())&&void 0!==u?u:0,x=Fa(null==g?void 0:g.getRotation()),F=Sa(p,x),S=F.width,C=F.height,k=js(o(o({},p),{rotation:x})),T=us(0,0,0),O=gs(null==g?void 0:g.getBorderColor()),A=gs(null==g?void 0:g.getBackgroundColor()),P=gs(null==g?void 0:g.getBackgroundColor(),.8),R={x:w,y:w,width:S-2*w,height:C-2*w},N=ou(m,{alignment:Hs.Center,fontSize:null!=f?f:d,font:n,bounds:R}),D=ou(b,{alignment:Hs.Center,fontSize:null!=f?f:d,font:n,bounds:R}),j=Math.min(N.fontSize,D.fontSize),z=null!==(c=null!=h?h:l)&&void 0!==c?c:T;hu(h||void 0!==f?e:t.acroField,z,n,j);var B={x:0+w/2,y:0+w/2,width:S-w,height:C-w,borderWidth:w,borderColor:O,textColor:z,font:n.name,fontSize:j};return{normal:s(k,Ms(o(o({},B),{color:A,textLines:[N.line]}))),down:s(k,Ms(o(o({},B),{color:P,textLines:[D.line]})))}},pu=function(t,e,n){var r,i,a,u,c,h,l=cu(e),f=cu(t.acroField),d=su(e),p=su(t.acroField),g=e.getRectangle(),y=e.getAppearanceCharacteristics(),v=e.getBorderStyle(),m=null!==(r=t.getText())&&void 0!==r?r:"",b=null!==(i=null==v?void 0:v.getWidth())&&void 0!==i?i:0,w=Fa(null==y?void 0:y.getRotation()),x=Sa(g,w),S=x.width,C=x.height,k=js(o(o({},g),{rotation:w})),A=us(0,0,0),P=gs(null==y?void 0:y.getBorderColor()),R=gs(null==y?void 0:y.getBackgroundColor()),N=t.isCombed()?0:1,D={x:b+N,y:b+N,width:S-2*(b+N),height:C-2*(b+N)};if(t.isMultiline())c=(j=ru(m,{alignment:t.getAlignment(),fontSize:null!=d?d:p,font:n,bounds:D})).lines,h=j.fontSize;else if(t.isCombed()){var j=function(t,e){var n=e.fontSize,r=e.font,o=e.bounds,i=e.cellCount,a=T(F(t));if(a.length>i)throw new Ys(a.length,i);void 0!==n&&0!==n||(n=tu(a,r,o,i));for(var s=o.width/i,u=r.heightAtSize(n,{descender:!1}),c=o.y+(o.height/2-u/2),h=[],l=o.x,f=o.y,d=o.x+o.width,p=o.y+o.height,g=0,y=0;gd&&(d=S+x),c+u>p&&(p=c+u),h.push({text:a,encoded:w,width:x,height:u,x:S,y:c}),g+=1,y+=b}return{fontSize:n,cells:h,bounds:{x:l,y:f,width:d-l,height:p-f}}}(m,{fontSize:null!=d?d:p,font:n,bounds:D,cellCount:null!==(a=t.getMaxLength())&&void 0!==a?a:0});c=j.cells,h=j.fontSize}else{c=[(j=ou(m,{alignment:t.getAlignment(),fontSize:null!=d?d:p,font:n,bounds:D})).line],h=j.fontSize}var z=null!==(u=null!=l?l:f)&&void 0!==u?u:A;hu(l||void 0!==d?e:t.acroField,z,n,h);var B={x:0+b/2,y:0+b/2,width:S-b,height:C-b,borderWidth:null!=b?b:0,borderColor:P,textColor:z,font:n.name,fontSize:h,color:R,textLines:c,padding:N};return s(k,Is(B))},gu=function(t,e,n){var r,i,a,u=cu(e),c=cu(t.acroField),h=su(e),l=su(t.acroField),f=e.getRectangle(),d=e.getAppearanceCharacteristics(),p=e.getBorderStyle(),g=null!==(r=t.getSelected()[0])&&void 0!==r?r:"",y=null!==(i=null==p?void 0:p.getWidth())&&void 0!==i?i:0,v=Fa(null==d?void 0:d.getRotation()),m=Sa(f,v),b=m.width,w=m.height,x=js(o(o({},f),{rotation:v})),F=us(0,0,0),S=gs(null==d?void 0:d.getBorderColor()),C=gs(null==d?void 0:d.getBackgroundColor()),k={x:y+1,y:y+1,width:b-2*(y+1),height:w-2*(y+1)},T=ou(g,{alignment:Hs.Left,fontSize:null!=h?h:l,font:n,bounds:k}),O=T.line,A=T.fontSize,P=null!==(a=null!=u?u:c)&&void 0!==a?a:F;hu(u||void 0!==h?e:t.acroField,P,n,A);var R={x:0+y/2,y:0+y/2,width:b-y,height:w-y,borderWidth:null!=y?y:0,borderColor:S,textColor:P,font:n.name,fontSize:A,color:C,textLines:[O],padding:1};return s(x,Is(R))},yu=function(t,e,n){var r,i,a=cu(e),u=cu(t.acroField),c=su(e),h=su(t.acroField),l=e.getRectangle(),f=e.getAppearanceCharacteristics(),d=e.getBorderStyle(),p=null!==(r=null==d?void 0:d.getWidth())&&void 0!==r?r:0,g=Fa(null==f?void 0:f.getRotation()),y=Sa(l,g),v=y.width,m=y.height,b=js(o(o({},l),{rotation:g})),w=us(0,0,0),x=gs(null==f?void 0:f.getBorderColor()),F=gs(null==f?void 0:f.getBackgroundColor()),S=t.getOptions(),C=t.getSelected();t.isSorted()&&S.sort();for(var k="",T=0,O=S.length;T1||1===n.length&&e)&&this.enableMultiselect();for(var o=new Array(n.length),i=0,a=n.length;i1||1===n.length&&e)&&this.enableMultiselect();for(var o=new Array(n.length),i=0,a=n.length;ie)throw new Js(t.length,e,this.getName());this.markAsDirty(),this.disableRichFormatting(),t?this.acroField.setValue(xo.fromText(t)):this.acroField.removeValue()},e.prototype.getAlignment=function(){var t=this.acroField.getQuadding();return 0===t?Hs.Left:1===t?Hs.Center:2===t?Hs.Right:Hs.Left},e.prototype.setAlignment=function(t){Wn(t,"alignment",Hs),this.markAsDirty(),this.acroField.setQuadding(t)},e.prototype.getMaxLength=function(){return this.acroField.getMaxLength()},e.prototype.setMaxLength=function(t){if(Jn(t,"maxLength",0,Number.MAX_SAFE_INTEGER),this.markAsDirty(),void 0===t)this.acroField.removeMaxLength();else{var e=this.getText();if(e&&e.length>t)throw new Qs(e.length,t,this.getName());this.acroField.setMaxLength(t)}},e.prototype.removeMaxLength=function(){this.markAsDirty(),this.acroField.removeMaxLength()},e.prototype.setImage=function(t){for(var e=this.getAlignment(),n=e===Hs.Center?_s.Center:e===Hs.Right?_s.Right:_s.Left,r=this.acroField.getWidgets(),o=0,i=r.length;o>2],e+=u[(3&t[r])<<4|t[r+1]>>4],e+=u[(15&t[r+1])<<2|t[r+2]>>6],e+=u[63&t[r+2]];return n%3==2?e=e.substring(0,e.length-1)+"=":n%3==1&&(e=e.substring(0,e.length-2)+"=="),e}(o),[2,n?"data:application/pdf;base64,"+i:i]}})})},t.prototype.findPageForAnnotationRef=function(t){for(var e=this.getPages(),n=0,r=e.length;n(()=>{var __webpack_modules__=[,(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.VerbosityLevel=e.Util=e.UnknownErrorException=e.UnexpectedResponseException=e.UNSUPPORTED_FEATURES=e.TextRenderingMode=e.StreamType=e.RenderingIntentFlag=e.PermissionFlag=e.PasswordResponses=e.PasswordException=e.PageActionEventType=e.OPS=e.MissingPDFException=e.LINE_FACTOR=e.LINE_DESCENT_FACTOR=e.InvalidPDFException=e.ImageKind=e.IDENTITY_MATRIX=e.FormatError=e.FontType=e.FeatureTest=e.FONT_IDENTITY_MATRIX=e.DocumentActionEventType=e.CMapCompressionType=e.BaseException=e.AnnotationType=e.AnnotationStateModelType=e.AnnotationReviewState=e.AnnotationReplyType=e.AnnotationMode=e.AnnotationMarkedState=e.AnnotationFlag=e.AnnotationFieldFlag=e.AnnotationEditorType=e.AnnotationEditorPrefix=e.AnnotationEditorParamsType=e.AnnotationBorderStyleType=e.AnnotationActionEventType=e.AbortException=void 0,e.arrayByteLength=h,e.arraysToBytes=function(t){const e=t.length;if(1===e&&t[0]instanceof Uint8Array)return t[0];let s=0;for(let r=0;re}),t.promise=new Promise(function(s,i){t.resolve=function(t){e=!0,s(t)},t.reject=function(t){e=!0,i(t)}}),t},e.createValidAbsoluteUrl=function(t,e=null,s=null){if(!t)return null;try{if(s&&"string"==typeof t){if(s.addDefaultProtocol&&t.startsWith("www.")){const e=t.match(/\./g);e&&e.length>=2&&(t=`http://${t}`)}if(s.tryConvertEncoding)try{t=g(t)}catch(i){}}const n=e?new URL(t,e):new URL(t);if(function(t){if(!t)return!1;switch(t.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(n))return n}catch(i){}return null},e.escapeString=function(t){return t.replace(/([()\\\n\r])/g,t=>"\n"===t?"\\n":"\r"===t?"\\r":`\\${t}`)},e.getModificationDate=function(t=new Date){return[t.getUTCFullYear().toString(),(t.getUTCMonth()+1).toString().padStart(2,"0"),t.getUTCDate().toString().padStart(2,"0"),t.getUTCHours().toString().padStart(2,"0"),t.getUTCMinutes().toString().padStart(2,"0"),t.getUTCSeconds().toString().padStart(2,"0")].join("")},e.getVerbosityLevel=function(){return n},e.info=function(t){n>=i.INFOS&&console.log(`Info: ${t}`)},e.isArrayBuffer=function(t){return"object"==typeof t&&null!==t&&void 0!==t.byteLength},e.isArrayEqual=function(t,e){if(t.length!==e.length)return!1;for(let s=0,i=t.length;s>24&255,t>>16&255,t>>8&255,255&t)},e.stringToBytes=c,e.stringToPDFString=function(t){if(t[0]>="ï"){let e;if("þ"===t[0]&&"ÿ"===t[1]?e="utf-16be":"ÿ"===t[0]&&"þ"===t[1]?e="utf-16le":"ï"===t[0]&&"»"===t[1]&&"¿"===t[2]&&(e="utf-8"),e)try{const s=new TextDecoder(e,{fatal:!0}),i=c(t);return s.decode(i)}catch(s){r(`stringToPDFString: "${s}".`)}}const e=[];for(let i=0,n=t.length;i>8&255),String.fromCharCode(255&i))}return e.join("")},e.stringToUTF8String=g,e.unreachable=a,e.utf8StringToString=function(t){return unescape(encodeURIComponent(t))},e.warn=r,s(2),e.IDENTITY_MATRIX=[1,0,0,1,0,0],e.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],e.LINE_FACTOR=1.35,e.LINE_DESCENT_FACTOR=.35,e.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256},e.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},e.AnnotationEditorPrefix="pdfjs_internal_editor_",e.AnnotationEditorType={DISABLE:-1,NONE:0,FREETEXT:3,INK:15},e.AnnotationEditorParamsType={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13},e.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},e.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},e.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},e.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},e.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},e.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},e.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},e.AnnotationReplyType={GROUP:"Group",REPLY:"R"},e.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},e.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},e.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},e.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},e.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},e.PageActionEventType={O:"PageOpen",C:"PageClose"},e.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},e.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};const i={ERRORS:0,WARNINGS:1,INFOS:5};e.VerbosityLevel=i,e.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},e.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},e.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"},e.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let n=i.WARNINGS;function r(t){n>=i.WARNINGS&&console.log(`Warning: ${t}`)}function a(t){throw new Error(t)}function o(t,e,s){return Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!1}),s}const l=function(){function t(e,s){this.constructor===t&&a("Cannot initialize BaseException."),this.message=e,this.name=s}return t.prototype=new Error,t.constructor=t,t}();function c(t){"string"!=typeof t&&a("Invalid argument for stringToBytes");const e=t.length,s=new Uint8Array(e);for(let i=0;it.toString(16).padStart(2,"0"));class u{static makeHexColor(t,e,s){return`#${d[t]}${d[e]}${d[s]}`}static scaleMinMax(t,e){let s;t[0]?(t[0]<0&&(s=e[0],e[0]=e[1],e[1]=s),e[0]*=t[0],e[1]*=t[0],t[3]<0&&(s=e[2],e[2]=e[3],e[3]=s),e[2]*=t[3],e[3]*=t[3]):(s=e[0],e[0]=e[2],e[2]=s,s=e[1],e[1]=e[3],e[3]=s,t[1]<0&&(s=e[2],e[2]=e[3],e[3]=s),e[2]*=t[1],e[3]*=t[1],t[2]<0&&(s=e[0],e[0]=e[1],e[1]=s),e[0]*=t[2],e[1]*=t[2]),e[0]+=t[4],e[1]+=t[4],e[2]+=t[5],e[3]+=t[5]}static transform(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]}static applyTransform(t,e){return[t[0]*e[0]+t[1]*e[2]+e[4],t[0]*e[1]+t[1]*e[3]+e[5]]}static applyInverseTransform(t,e){const s=e[0]*e[3]-e[1]*e[2];return[(t[0]*e[3]-t[1]*e[2]+e[2]*e[5]-e[4]*e[3])/s,(-t[0]*e[1]+t[1]*e[0]+e[4]*e[1]-e[5]*e[0])/s]}static getAxialAlignedBoundingBox(t,e){const s=u.applyTransform(t,e),i=u.applyTransform(t.slice(2,4),e),n=u.applyTransform([t[0],t[3]],e),r=u.applyTransform([t[2],t[1]],e);return[Math.min(s[0],i[0],n[0],r[0]),Math.min(s[1],i[1],n[1],r[1]),Math.max(s[0],i[0],n[0],r[0]),Math.max(s[1],i[1],n[1],r[1])]}static inverseTransform(t){const e=t[0]*t[3]-t[1]*t[2];return[t[3]/e,-t[1]/e,-t[2]/e,t[0]/e,(t[2]*t[5]-t[4]*t[3])/e,(t[4]*t[1]-t[5]*t[0])/e]}static apply3dTransform(t,e){return[t[0]*e[0]+t[1]*e[1]+t[2]*e[2],t[3]*e[0]+t[4]*e[1]+t[5]*e[2],t[6]*e[0]+t[7]*e[1]+t[8]*e[2]]}static singularValueDecompose2dScale(t){const e=[t[0],t[2],t[1],t[3]],s=t[0]*e[0]+t[1]*e[2],i=t[0]*e[1]+t[1]*e[3],n=t[2]*e[0]+t[3]*e[2],r=t[2]*e[1]+t[3]*e[3],a=(s+r)/2,o=Math.sqrt((s+r)**2-4*(s*r-n*i))/2,l=a+o||1,c=a-o||1;return[Math.sqrt(l),Math.sqrt(c)]}static normalizeRect(t){const e=t.slice(0);return t[0]>t[2]&&(e[0]=t[2],e[2]=t[0]),t[1]>t[3]&&(e[1]=t[3],e[3]=t[1]),e}static intersect(t,e){const s=Math.max(Math.min(t[0],t[2]),Math.min(e[0],e[2])),i=Math.min(Math.max(t[0],t[2]),Math.max(e[0],e[2]));if(s>i)return null;const n=Math.max(Math.min(t[1],t[3]),Math.min(e[1],e[3])),r=Math.min(Math.max(t[1],t[3]),Math.max(e[1],e[3]));return n>r?null:[s,n,i,r]}static bezierBoundingBox(t,e,s,i,n,r,a,o){const l=[],c=[[],[]];let h,d,u,p,g,m,f,b;for(let v=0;v<2;++v)if(0===v?(d=6*t-12*s+6*n,h=-3*t+9*s-9*n+3*a,u=3*s-3*t):(d=6*e-12*i+6*r,h=-3*e+9*i-9*r+3*o,u=3*i-3*e),Math.abs(h)<1e-12){if(Math.abs(d)<1e-12)continue;p=-u/d,0{s(3)},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isNodeJS=void 0;const s=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);e.isNodeJS=s},(__unused_webpack_module,exports$1,__w_pdfjs_require__)=>{Object.defineProperty(exports$1,"__esModule",{value:!0}),exports$1.build=exports$1.RenderTask=exports$1.PDFWorkerUtil=exports$1.PDFWorker=exports$1.PDFPageProxy=exports$1.PDFDocumentProxy=exports$1.PDFDocumentLoadingTask=exports$1.PDFDataRangeTransport=exports$1.LoopbackPort=exports$1.DefaultStandardFontDataFactory=exports$1.DefaultCanvasFactory=exports$1.DefaultCMapReaderFactory=void 0,exports$1.getDocument=getDocument,exports$1.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports$1.version=void 0;var _util=__w_pdfjs_require__(1),_annotation_storage=__w_pdfjs_require__(5),_display_utils=__w_pdfjs_require__(8),_font_loader=__w_pdfjs_require__(11),_canvas=__w_pdfjs_require__(12),_worker_options=__w_pdfjs_require__(15),_is_node=__w_pdfjs_require__(3),_message_handler=__w_pdfjs_require__(16),_metadata=__w_pdfjs_require__(17),_optional_content_config=__w_pdfjs_require__(18),_transport_stream=__w_pdfjs_require__(19),_xfa_text=__w_pdfjs_require__(20);const DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100;let DefaultCanvasFactory=_display_utils.DOMCanvasFactory;exports$1.DefaultCanvasFactory=DefaultCanvasFactory;let DefaultCMapReaderFactory=_display_utils.DOMCMapReaderFactory;exports$1.DefaultCMapReaderFactory=DefaultCMapReaderFactory;let DefaultStandardFontDataFactory=_display_utils.DOMStandardFontDataFactory,createPDFNetworkStream;if(exports$1.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory,_is_node.isNodeJS){const{NodeCanvasFactory:t,NodeCMapReaderFactory:e,NodeStandardFontDataFactory:s}=__w_pdfjs_require__(21);exports$1.DefaultCanvasFactory=DefaultCanvasFactory=t,exports$1.DefaultCMapReaderFactory=DefaultCMapReaderFactory=e,exports$1.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory=s}function setPDFNetworkStreamFactory(t){createPDFNetworkStream=t}function getDocument(t){const e=new PDFDocumentLoadingTask;let s;if("string"==typeof t||t instanceof URL)s={url:t};else if((0,_util.isArrayBuffer)(t))s={data:t};else if(t instanceof PDFDataRangeTransport)s={range:t};else{if("object"!=typeof t)throw new Error("Invalid parameter in getDocument, need either string, URL, TypedArray, or parameter object.");if(!t.url&&!t.data&&!t.range)throw new Error("Invalid parameter object: need either .data, .range or .url");s=t}const i=Object.create(null);let n=null,r=null;for(const l in s){const t=s[l];switch(l){case"url":if("undefined"!=typeof window)try{i[l]=new URL(t,window.location).href;continue}catch(o){(0,_util.warn)(`Cannot create valid URL: "${o}".`)}else if("string"==typeof t||t instanceof URL){i[l]=t.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":n=t;continue;case"worker":r=t;continue;case"data":if(_is_node.isNodeJS&&"undefined"!=typeof Buffer&&t instanceof Buffer)i[l]=new Uint8Array(t);else{if(t instanceof Uint8Array)break;if("string"==typeof t)i[l]=(0,_util.stringToBytes)(t);else if("object"!=typeof t||null===t||isNaN(t.length)){if(!(0,_util.isArrayBuffer)(t))throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.");i[l]=new Uint8Array(t)}else i[l]=new Uint8Array(t)}continue}i[l]=t}if(i.CMapReaderFactory=i.CMapReaderFactory||DefaultCMapReaderFactory,i.StandardFontDataFactory=i.StandardFontDataFactory||DefaultStandardFontDataFactory,i.ignoreErrors=!0!==i.stopAtErrors,i.fontExtraProperties=!0===i.fontExtraProperties,i.pdfBug=!0===i.pdfBug,i.enableXfa=!0===i.enableXfa,(!Number.isInteger(i.rangeChunkSize)||i.rangeChunkSize<1)&&(i.rangeChunkSize=DEFAULT_RANGE_CHUNK_SIZE),("string"!=typeof i.docBaseUrl||(0,_display_utils.isDataScheme)(i.docBaseUrl))&&(i.docBaseUrl=null),(!Number.isInteger(i.maxImageSize)||i.maxImageSize<-1)&&(i.maxImageSize=-1),"string"!=typeof i.cMapUrl&&(i.cMapUrl=null),"string"!=typeof i.standardFontDataUrl&&(i.standardFontDataUrl=null),"boolean"!=typeof i.useWorkerFetch&&(i.useWorkerFetch=i.CMapReaderFactory===_display_utils.DOMCMapReaderFactory&&i.StandardFontDataFactory===_display_utils.DOMStandardFontDataFactory),"boolean"!=typeof i.isEvalSupported&&(i.isEvalSupported=!0),"boolean"!=typeof i.disableFontFace&&(i.disableFontFace=_is_node.isNodeJS),"boolean"!=typeof i.useSystemFonts&&(i.useSystemFonts=!_is_node.isNodeJS&&!i.disableFontFace),"object"==typeof i.ownerDocument&&null!==i.ownerDocument||(i.ownerDocument=globalThis.document),"boolean"!=typeof i.disableRange&&(i.disableRange=!1),"boolean"!=typeof i.disableStream&&(i.disableStream=!1),"boolean"!=typeof i.disableAutoFetch&&(i.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(i.verbosity),!r){const t={verbosity:i.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};r=t.port?PDFWorker.fromPort(t):new PDFWorker(t),e._worker=r}const a=e.docId;return r.promise.then(function(){if(e.destroyed)throw new Error("Loading aborted");const t=_fetchDocument(r,i,n,a),s=new Promise(function(t){let e;n?e=new _transport_stream.PDFDataTransportStream({length:i.length,initialData:i.initialData,progressiveDone:i.progressiveDone,contentDispositionFilename:i.contentDispositionFilename,disableRange:i.disableRange,disableStream:i.disableStream},n):i.data||(e=createPDFNetworkStream({url:i.url,length:i.length,httpHeaders:i.httpHeaders,withCredentials:i.withCredentials,rangeChunkSize:i.rangeChunkSize,disableRange:i.disableRange,disableStream:i.disableStream})),t(e)});return Promise.all([t,s]).then(function([t,s]){if(e.destroyed)throw new Error("Loading aborted");const n=new _message_handler.MessageHandler(a,t,r.port),o=new WorkerTransport(n,e,s,i);e._transport=o,n.send("Ready",null)})}).catch(e._capability.reject),e}async function _fetchDocument(t,e,s,i){if(t.destroyed)throw new Error("Worker was destroyed");s&&(e.length=s.length,e.initialData=s.initialData,e.progressiveDone=s.progressiveDone,e.contentDispositionFilename=s.contentDispositionFilename);const n=await t.messageHandler.sendWithPromise("GetDocRequest",{docId:i,apiVersion:"2.16.105",source:{data:e.data,url:e.url,password:e.password,disableAutoFetch:e.disableAutoFetch,rangeChunkSize:e.rangeChunkSize,length:e.length},maxImageSize:e.maxImageSize,disableFontFace:e.disableFontFace,docBaseUrl:e.docBaseUrl,ignoreErrors:e.ignoreErrors,isEvalSupported:e.isEvalSupported,fontExtraProperties:e.fontExtraProperties,enableXfa:e.enableXfa,useSystemFonts:e.useSystemFonts,cMapUrl:e.useWorkerFetch?e.cMapUrl:null,standardFontDataUrl:e.useWorkerFetch?e.standardFontDataUrl:null});if(e.data&&(e.data=null),t.destroyed)throw new Error("Worker was destroyed");return n}class PDFDocumentLoadingTask{static#t=0;constructor(){this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+PDFDocumentLoadingTask.#t++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}get promise(){return this._capability.promise}async destroy(){this.destroyed=!0,await(this._transport?.destroy()),this._transport=null,this._worker&&(this._worker.destroy(),this._worker=null)}}exports$1.PDFDocumentLoadingTask=PDFDocumentLoadingTask;class PDFDataRangeTransport{constructor(t,e,s=!1,i=null){this.length=t,this.initialData=e,this.progressiveDone=s,this.contentDispositionFilename=i,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}addRangeListener(t){this._rangeListeners.push(t)}addProgressListener(t){this._progressListeners.push(t)}addProgressiveReadListener(t){this._progressiveReadListeners.push(t)}addProgressiveDoneListener(t){this._progressiveDoneListeners.push(t)}onDataRange(t,e){for(const s of this._rangeListeners)s(t,e)}onDataProgress(t,e){this._readyCapability.promise.then(()=>{for(const s of this._progressListeners)s(t,e)})}onDataProgressiveRead(t){this._readyCapability.promise.then(()=>{for(const e of this._progressiveReadListeners)e(t)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const t of this._progressiveDoneListeners)t()})}transportReady(){this._readyCapability.resolve()}requestDataRange(t,e){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}exports$1.PDFDataRangeTransport=PDFDataRangeTransport;class PDFDocumentProxy{constructor(t,e){this._pdfInfo=t,this._transport=e,Object.defineProperty(this,"fingerprint",{get(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.fingerprint`, please use `PDFDocumentProxy.fingerprints` instead."),this.fingerprints[0]}}),Object.defineProperty(this,"getStats",{value:async()=>((0,_display_utils.deprecated)("`PDFDocumentProxy.getStats`, please use the `PDFDocumentProxy.stats`-getter instead."),this.stats||{streamTypes:{},fontTypes:{}})})}get annotationStorage(){return this._transport.annotationStorage}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get stats(){return this._transport.stats}get isPureXfa(){return!!this._transport._htmlForXfa}get allXfaHtml(){return this._transport._htmlForXfa}getPage(t){return this._transport.getPage(t)}getPageIndex(t){return this._transport.getPageIndex(t)}getDestinations(){return this._transport.getDestinations()}getDestination(t){return this._transport.getDestination(t)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJavaScript(){return this._transport.getJavaScript()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig(){return this._transport.getOptionalContentConfig()}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(t=!1){return this._transport.startCleanup(t||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}saveDocument(){return this._transport.annotationStorage.size<=0&&(0,_display_utils.deprecated)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead."),this._transport.saveDocument()}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}exports$1.PDFDocumentProxy=PDFDocumentProxy;class PDFPageProxy{constructor(t,e,s,i,n=!1){this._pageIndex=t,this._pageInfo=e,this._ownerDocument=i,this._transport=s,this._stats=n?new _display_utils.StatTimer:null,this._pdfBug=n,this.commonObjs=s.commonObjs,this.objs=new PDFObjects,this._bitmaps=new Set,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this._annotationPromises=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:t,rotation:e=this.rotate,offsetX:s=0,offsetY:i=0,dontFlip:n=!1}={}){return new _display_utils.PageViewport({viewBox:this.view,scale:t,rotation:e,offsetX:s,offsetY:i,dontFlip:n})}getAnnotations({intent:t="display"}={}){const e=this._transport.getRenderingIntent(t);let s=this._annotationPromises.get(e.cacheKey);return s||(s=this._transport.getAnnotations(this._pageIndex,e.renderingIntent),this._annotationPromises.set(e.cacheKey,s),s=s.then(t=>{for(const e of t)void 0!==e.titleObj&&Object.defineProperty(e,"title",{get:()=>((0,_display_utils.deprecated)("`title`-property on annotation, please use `titleObj` instead."),e.titleObj.str)}),void 0!==e.contentsObj&&Object.defineProperty(e,"contents",{get:()=>((0,_display_utils.deprecated)("`contents`-property on annotation, please use `contentsObj` instead."),e.contentsObj.str)});return t})),s}getJSActions(){return this._jsActionsPromise||=this._transport.getPageJSActions(this._pageIndex)}async getXfa(){return this._transport._htmlForXfa?.children[this._pageIndex]||null}render({canvasContext:t,viewport:e,intent:s="display",annotationMode:i=_util.AnnotationMode.ENABLE,transform:n=null,imageLayer:r=null,canvasFactory:a=null,background:o=null,optionalContentConfigPromise:l=null,annotationCanvasMap:c=null,pageColors:h=null,printAnnotationStorage:d=null}){void 0!==arguments[0]?.renderInteractiveForms&&((0,_display_utils.deprecated)("render no longer accepts the `renderInteractiveForms`-option, please use the `annotationMode`-option instead."),!0===arguments[0].renderInteractiveForms&&i===_util.AnnotationMode.ENABLE&&(i=_util.AnnotationMode.ENABLE_FORMS)),void 0!==arguments[0]?.includeAnnotationStorage&&((0,_display_utils.deprecated)("render no longer accepts the `includeAnnotationStorage`-option, please use the `annotationMode`-option instead."),!0===arguments[0].includeAnnotationStorage&&i===_util.AnnotationMode.ENABLE&&(i=_util.AnnotationMode.ENABLE_STORAGE)),this._stats&&this._stats.time("Overall");const u=this._transport.getRenderingIntent(s,i,d);this.pendingCleanup=!1,l||(l=this._transport.getOptionalContentConfig());let p=this._intentStates.get(u.cacheKey);p||(p=Object.create(null),this._intentStates.set(u.cacheKey,p)),p.streamReaderCancelTimeout&&(clearTimeout(p.streamReaderCancelTimeout),p.streamReaderCancelTimeout=null);const g=a||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),m=!!(u.renderingIntent&_util.RenderingIntentFlag.PRINT);p.displayReadyCapability||(p.displayReadyCapability=(0,_util.createPromiseCapability)(),p.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(u));const f=t=>{p.renderTasks.delete(b),(this.cleanupAfterRender||m)&&(this.pendingCleanup=!0),this._tryCleanup(),t?(b.capability.reject(t),this._abortOperatorList({intentState:p,reason:t instanceof Error?t:new Error(t)})):b.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"))},b=new InternalRenderTask({callback:f,params:{canvasContext:t,viewport:e,transform:n,imageLayer:r,background:o},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:c,operatorList:p.operatorList,pageIndex:this._pageIndex,canvasFactory:g,useRequestAnimationFrame:!m,pdfBug:this._pdfBug,pageColors:h});(p.renderTasks||=new Set).add(b);const _=b.task;return Promise.all([p.displayReadyCapability.promise,l]).then(([t,e])=>{this.pendingCleanup?f():(this._stats&&this._stats.time("Rendering"),b.initializeGraphics({transparency:t,optionalContentConfig:e}),b.operatorListChanged())}).catch(f),_}getOperatorList({intent:t="display",annotationMode:e=_util.AnnotationMode.ENABLE,printAnnotationStorage:s=null}={}){const i=this._transport.getRenderingIntent(t,e,s,!0);let n,r=this._intentStates.get(i.cacheKey);return r||(r=Object.create(null),this._intentStates.set(i.cacheKey,r)),r.opListReadCapability||(n=Object.create(null),n.operatorListChanged=function(){r.operatorList.lastChunk&&(r.opListReadCapability.resolve(r.operatorList),r.renderTasks.delete(n))},r.opListReadCapability=(0,_util.createPromiseCapability)(),(r.renderTasks||=new Set).add(n),r.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(i)),r.opListReadCapability.promise}streamTextContent({disableCombineTextItems:t=!1,includeMarkedContent:e=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,combineTextItems:!0!==t,includeMarkedContent:!0===e},{highWaterMark:100,size:t=>t.items.length})}getTextContent(t={}){if(this._transport._htmlForXfa)return this.getXfa().then(t=>_xfa_text.XfaText.textContent(t));const e=this.streamTextContent(t);return new Promise(function(t,s){const i=e.getReader(),n={items:[],styles:Object.create(null)};!function e(){i.read().then(function({value:s,done:i}){i?t(n):(Object.assign(n.styles,s.styles),n.items.push(...s.items),e())},s)}()})}getStructTree(){return this._structTreePromise||=this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const t=[];for(const e of this._intentStates.values())if(this._abortOperatorList({intentState:e,reason:new Error("Page was destroyed."),force:!0}),!e.opListReadCapability)for(const s of e.renderTasks)t.push(s.completed),s.cancel();this.objs.clear();for(const e of this._bitmaps)e.close();return this._bitmaps.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,this.pendingCleanup=!1,Promise.all(t)}cleanup(t=!1){return this.pendingCleanup=!0,this._tryCleanup(t)}_tryCleanup(t=!1){if(!this.pendingCleanup)return!1;for(const{renderTasks:e,operatorList:s}of this._intentStates.values())if(e.size>0||!s.lastChunk)return!1;this._intentStates.clear(),this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,t&&this._stats&&(this._stats=new _display_utils.StatTimer);for(const e of this._bitmaps)e.close();return this._bitmaps.clear(),this.pendingCleanup=!1,!0}_startRenderPage(t,e){const s=this._intentStates.get(e);s&&(this._stats&&this._stats.timeEnd("Page Request"),s.displayReadyCapability&&s.displayReadyCapability.resolve(t))}_renderPageChunk(t,e){for(let s=0,i=t.length;s{i.read().then(({value:t,done:e})=>{e?n.streamReader=null:this._transport.destroyed||(this._renderPageChunk(t,n),r())},t=>{if(n.streamReader=null,!this._transport.destroyed){if(n.operatorList){n.operatorList.lastChunk=!0;for(const t of n.renderTasks)t.operatorListChanged();this._tryCleanup()}if(n.displayReadyCapability)n.displayReadyCapability.reject(t);else{if(!n.opListReadCapability)throw t;n.opListReadCapability.reject(t)}}})};r()}_abortOperatorList({intentState:t,reason:e,force:s=!1}){if(t.streamReader){if(!s){if(t.renderTasks.size>0)return;if(e instanceof _display_utils.RenderingCancelledException)return void(t.streamReaderCancelTimeout=setTimeout(()=>{this._abortOperatorList({intentState:t,reason:e,force:!0}),t.streamReaderCancelTimeout=null},RENDERING_CANCELLED_TIMEOUT))}if(t.streamReader.cancel(new _util.AbortException(e.message)).catch(()=>{}),t.streamReader=null,!this._transport.destroyed){for(const[e,s]of this._intentStates)if(s===t){this._intentStates.delete(e);break}this.cleanup()}}}get stats(){return this._stats}}exports$1.PDFPageProxy=PDFPageProxy;class LoopbackPort{constructor(){this._listeners=[],this._deferred=Promise.resolve()}postMessage(t,e){const s={data:structuredClone(t,e)};this._deferred.then(()=>{for(const t of this._listeners)t.call(this,s)})}addEventListener(t,e){this._listeners.push(e)}removeEventListener(t,e){const s=this._listeners.indexOf(e);this._listeners.splice(s,1)}terminate(){this._listeners.length=0}}exports$1.LoopbackPort=LoopbackPort;const PDFWorkerUtil={isWorkerDisabled:!1,fallbackWorkerSrc:null,fakeWorkerId:0};if(exports$1.PDFWorkerUtil=PDFWorkerUtil,_is_node.isNodeJS&&"function"==typeof commonjsRequire)PDFWorkerUtil.isWorkerDisabled=!0,PDFWorkerUtil.fallbackWorkerSrc="./pdf.worker.js";else if("object"==typeof document){const t=document?.currentScript?.src;t&&(PDFWorkerUtil.fallbackWorkerSrc=t.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}PDFWorkerUtil.isSameOrigin=function(t,e){let s;try{if(s=new URL(t),!s.origin||"null"===s.origin)return!1}catch(n){return!1}const i=new URL(e,s);return s.origin===i.origin},PDFWorkerUtil.createCDNWrapper=function(t){const e=`importScripts("${t}");`;return URL.createObjectURL(new Blob([e]))};class PDFWorker{static#e=new WeakMap;constructor({name:t=null,port:e=null,verbosity:s=(0,_util.getVerbosityLevel)()}={}){if(e&&PDFWorker.#e.has(e))throw new Error("Cannot use more than one PDFWorker per port.");if(this.name=t,this.destroyed=!1,this.verbosity=s,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,e)return PDFWorker.#e.set(e,this),void this._initializeFromPort(e);this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(t){this._port=t,this._messageHandler=new _message_handler.MessageHandler("main","worker",t),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()}_initialize(){if(!PDFWorkerUtil.isWorkerDisabled&&!PDFWorker._mainThreadWorkerMessageHandler){let{workerSrc:e}=PDFWorker;try{PDFWorkerUtil.isSameOrigin(window.location.href,e)||(e=PDFWorkerUtil.createCDNWrapper(new URL(e,window.location).href));const t=new Worker(e),s=new _message_handler.MessageHandler("main","worker",t),i=()=>{t.removeEventListener("error",n),s.destroy(),t.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},n=()=>{this._webWorker||i()};t.addEventListener("error",n),s.on("test",e=>{t.removeEventListener("error",n),this.destroyed?i():e?(this._messageHandler=s,this._port=t,this._webWorker=t,this._readyCapability.resolve(),s.send("configure",{verbosity:this.verbosity})):(this._setupFakeWorker(),s.destroy(),t.terminate())}),s.on("ready",e=>{if(t.removeEventListener("error",n),this.destroyed)i();else try{r()}catch(s){this._setupFakeWorker()}});const r=()=>{const t=new Uint8Array;s.send("test",t,[t.buffer])};return void r()}catch(t){(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}_setupFakeWorker(){PDFWorkerUtil.isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),PDFWorkerUtil.isWorkerDisabled=!0),PDFWorker._setupFakeWorkerGlobal.then(t=>{if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));const e=new LoopbackPort;this._port=e;const s="fake"+PDFWorkerUtil.fakeWorkerId++,i=new _message_handler.MessageHandler(s+"_worker",s,e);t.setup(i,e);const n=new _message_handler.MessageHandler(s,s+"_worker",e);this._messageHandler=n,this._readyCapability.resolve(),n.send("configure",{verbosity:this.verbosity})}).catch(t=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${t.message}".`))})}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),PDFWorker.#e.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(t){if(!t?.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return this.#e.has(t.port)?this.#e.get(t.port):new PDFWorker(t)}static get workerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(null!==PDFWorkerUtil.fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),PDFWorkerUtil.fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _mainThreadWorkerMessageHandler(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch(t){return null}}static get _setupFakeWorkerGlobal(){const loader=async()=>{const mainWorkerMessageHandler=this._mainThreadWorkerMessageHandler;if(mainWorkerMessageHandler)return mainWorkerMessageHandler;if(_is_node.isNodeJS&&"function"==typeof commonjsRequire){const worker=eval("require")(this.workerSrc);return worker.WorkerMessageHandler}return await(0,_display_utils.loadScript)(this.workerSrc),window.pdfjsWorker.WorkerMessageHandler};return(0,_util.shadow)(this,"_setupFakeWorkerGlobal",loader())}}exports$1.PDFWorker=PDFWorker,PDFWorker.getWorkerSrc=function(){return(0,_display_utils.deprecated)("`PDFWorker.getWorkerSrc()`, please use `PDFWorker.workerSrc` instead."),this.workerSrc};class WorkerTransport{#s=null;#i=new Map;#n=new Map;#r=null;constructor(t,e,s,i){this.messageHandler=t,this.loadingTask=e,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:e.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:i.ownerDocument,styleElement:i.styleElement}),this._params=i,i.useWorkerFetch||(this.CMapReaderFactory=new i.CMapReaderFactory({baseUrl:i.cMapUrl,isCompressed:i.cMapPacked}),this.StandardFontDataFactory=new i.StandardFontDataFactory({baseUrl:i.standardFontDataUrl})),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=s,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}get annotationStorage(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}get stats(){return this.#s}getRenderingIntent(t,e=_util.AnnotationMode.ENABLE,s=null,i=!1){let n=_util.RenderingIntentFlag.DISPLAY,r=null;switch(t){case"any":n=_util.RenderingIntentFlag.ANY;break;case"display":break;case"print":n=_util.RenderingIntentFlag.PRINT;break;default:(0,_util.warn)(`getRenderingIntent - invalid intent: ${t}`)}switch(e){case _util.AnnotationMode.DISABLE:n+=_util.RenderingIntentFlag.ANNOTATIONS_DISABLE;break;case _util.AnnotationMode.ENABLE:break;case _util.AnnotationMode.ENABLE_FORMS:n+=_util.RenderingIntentFlag.ANNOTATIONS_FORMS;break;case _util.AnnotationMode.ENABLE_STORAGE:n+=_util.RenderingIntentFlag.ANNOTATIONS_STORAGE,r=(n&_util.RenderingIntentFlag.PRINT&&s instanceof _annotation_storage.PrintAnnotationStorage?s:this.annotationStorage).serializable;break;default:(0,_util.warn)(`getRenderingIntent - invalid annotationMode: ${e}`)}return i&&(n+=_util.RenderingIntentFlag.OPLIST),{renderingIntent:n,cacheKey:`${n}_${_annotation_storage.AnnotationStorage.getHash(r)}`,annotationStorageMap:r}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));const t=[];for(const s of this.#i.values())t.push(s._destroy());this.#i.clear(),this.#n.clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const e=this.messageHandler.sendWithPromise("Terminate",null);return t.push(e),Promise.all(t).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#r=null,this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null,this._networkStream&&this._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:t,loadingTask:e}=this;t.on("GetReader",(t,e)=>{(0,_util.assert)(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=t=>{this._lastProgress={loaded:t.loaded,total:t.total}},e.onPull=()=>{this._fullReader.read().then(function({value:t,done:s}){s?e.close():((0,_util.assert)((0,_util.isArrayBuffer)(t),"GetReader - expected an ArrayBuffer."),e.enqueue(new Uint8Array(t),1,[t]))}).catch(t=>{e.error(t)})},e.onCancel=t=>{this._fullReader.cancel(t),e.ready.catch(t=>{if(!this.destroyed)throw t})}}),t.on("ReaderHeadersReady",t=>{const s=(0,_util.createPromiseCapability)(),i=this._fullReader;return i.headersReady.then(()=>{i.isStreamingSupported&&i.isRangeSupported||(this._lastProgress&&e.onProgress?.(this._lastProgress),i.onProgress=t=>{e.onProgress?.({loaded:t.loaded,total:t.total})}),s.resolve({isStreamingSupported:i.isStreamingSupported,isRangeSupported:i.isRangeSupported,contentLength:i.contentLength})},s.reject),s.promise}),t.on("GetRangeReader",(t,e)=>{(0,_util.assert)(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const s=this._networkStream.getRangeReader(t.begin,t.end);s?(e.onPull=()=>{s.read().then(function({value:t,done:s}){s?e.close():((0,_util.assert)((0,_util.isArrayBuffer)(t),"GetRangeReader - expected an ArrayBuffer."),e.enqueue(new Uint8Array(t),1,[t]))}).catch(t=>{e.error(t)})},e.onCancel=t=>{s.cancel(t),e.ready.catch(t=>{if(!this.destroyed)throw t})}):e.close()}),t.on("GetDoc",({pdfInfo:t})=>{this._numPages=t.numPages,this._htmlForXfa=t.htmlForXfa,delete t.htmlForXfa,e._capability.resolve(new PDFDocumentProxy(t,this))}),t.on("DocException",function(t){let s;switch(t.name){case"PasswordException":s=new _util.PasswordException(t.message,t.code);break;case"InvalidPDFException":s=new _util.InvalidPDFException(t.message);break;case"MissingPDFException":s=new _util.MissingPDFException(t.message);break;case"UnexpectedResponseException":s=new _util.UnexpectedResponseException(t.message,t.status);break;case"UnknownErrorException":s=new _util.UnknownErrorException(t.message,t.details);break;default:(0,_util.unreachable)("DocException - expected a valid Error.")}e._capability.reject(s)}),t.on("PasswordRequest",t=>{if(this._passwordCapability=(0,_util.createPromiseCapability)(),e.onPassword){const i=t=>{t instanceof Error?this._passwordCapability.reject(t):this._passwordCapability.resolve({password:t})};try{e.onPassword(i,t.code)}catch(s){this._passwordCapability.reject(s)}}else this._passwordCapability.reject(new _util.PasswordException(t.message,t.code));return this._passwordCapability.promise}),t.on("DataLoaded",t=>{e.onProgress?.({loaded:t.length,total:t.length}),this.downloadInfoCapability.resolve(t)}),t.on("StartRenderPage",t=>{this.destroyed||this.#i.get(t.pageIndex)._startRenderPage(t.transparency,t.cacheKey)}),t.on("commonobj",([e,s,i])=>{if(!this.destroyed&&!this.commonObjs.has(e))switch(s){case"Font":const n=this._params;if("error"in i){const t=i.error;(0,_util.warn)(`Error during font loading: ${t}`),this.commonObjs.resolve(e,t);break}let r=null;n.pdfBug&&globalThis.FontInspector?.enabled&&(r={registerFont(t,e){globalThis.FontInspector.fontAdded(t,e)}});const a=new _font_loader.FontFaceObject(i,{isEvalSupported:n.isEvalSupported,disableFontFace:n.disableFontFace,ignoreErrors:n.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:r});this.fontLoader.bind(a).catch(s=>t.sendWithPromise("FontFallback",{id:e})).finally(()=>{!n.fontExtraProperties&&a.data&&(a.data=null),this.commonObjs.resolve(e,a)});break;case"FontPath":case"Image":this.commonObjs.resolve(e,i);break;default:throw new Error(`Got unknown common object type ${s}`)}}),t.on("obj",([t,e,s,i])=>{if(this.destroyed)return;const n=this.#i.get(e);if(!n.objs.has(t))switch(s){case"Image":n.objs.resolve(t,i);const e=8e6;if(i){let t;if(i.bitmap){const{bitmap:e,width:s,height:r}=i;t=s*r*4,n._bitmaps.add(e)}else t=i.data?.length||0;t>e&&(n.cleanupAfterRender=!0)}break;case"Pattern":n.objs.resolve(t,i);break;default:throw new Error(`Got unknown object type ${s}`)}}),t.on("DocProgress",t=>{this.destroyed||e.onProgress?.({loaded:t.loaded,total:t.total})}),t.on("DocStats",t=>{this.destroyed||(this.#s=Object.freeze({streamTypes:Object.freeze(t.streamTypes),fontTypes:Object.freeze(t.fontTypes)}))}),t.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),t.on("FetchBuiltInCMap",t=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.CMapReaderFactory?this.CMapReaderFactory.fetch(t):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))),t.on("FetchStandardFontData",t=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.StandardFontDataFactory?this.StandardFontDataFactory.fetch(t):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")))}_onUnsupportedFeature({featureId:t}){this.destroyed||this.loadingTask.onUnsupportedFeature?.(t)}getData(){return this.messageHandler.sendWithPromise("GetData",null)}getPage(t){if(!Number.isInteger(t)||t<=0||t>this._numPages)return Promise.reject(new Error("Invalid page request."));const e=t-1,s=this.#n.get(e);if(s)return s;const i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:e}).then(t=>{if(this.destroyed)throw new Error("Transport destroyed");const s=new PDFPageProxy(e,t,this,this._params.ownerDocument,this._params.pdfBug);return this.#i.set(e,s),s});return this.#n.set(e,i),i}getPageIndex(t){return"object"!=typeof t||null===t||!Number.isInteger(t.num)||t.num<0||!Number.isInteger(t.gen)||t.gen<0?Promise.reject(new Error("Invalid pageIndex request.")):this.messageHandler.sendWithPromise("GetPageIndex",{num:t.num,gen:t.gen})}getAnnotations(t,e){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:t,intent:e})}saveDocument(){return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:this.annotationStorage.serializable,filename:this._fullReader?.filename??null}).finally(()=>{this.annotationStorage.resetModified()})}getFieldObjects(){return this._getFieldObjectsPromise||=this.messageHandler.sendWithPromise("GetFieldObjects",null)}hasJSActions(){return this._hasJSActionsPromise||=this.messageHandler.sendWithPromise("HasJSActions",null)}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(t){return"string"!=typeof t?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:t})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getJavaScript(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}getDocJSActions(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}getPageJSActions(t){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:t})}getStructTree(t){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:t})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then(t=>new _optional_content_config.OptionalContentConfig(t))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){return this.#r||=this.messageHandler.sendWithPromise("GetMetadata",null).then(t=>({info:t[0],metadata:t[1]?new _metadata.Metadata(t[1]):null,contentDispositionFilename:this._fullReader?.filename??null,contentLength:this._fullReader?.contentLength??null}))}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(t=!1){if(await this.messageHandler.sendWithPromise("Cleanup",null),!this.destroyed){for(const t of this.#i.values())if(!t.cleanup())throw new Error(`startCleanup: Page ${t.pageNumber} is currently rendering.`);this.commonObjs.clear(),t||this.fontLoader.clear(),this.#r=null,this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null}}get loadingParams(){const t=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:t.disableAutoFetch,enableXfa:t.enableXfa})}}class PDFObjects{#a=Object.create(null);#o(t){const e=this.#a[t];return e||(this.#a[t]={capability:(0,_util.createPromiseCapability)(),data:null})}get(t,e=null){if(e){const s=this.#o(t);return s.capability.promise.then(()=>e(s.data)),null}const s=this.#a[t];if(!s?.capability.settled)throw new Error(`Requesting object that isn't resolved yet ${t}.`);return s.data}has(t){const e=this.#a[t];return e?.capability.settled||!1}resolve(t,e=null){const s=this.#o(t);s.data=e,s.capability.resolve()}clear(){this.#a=Object.create(null)}}class RenderTask{#l=null;constructor(t){this.#l=t,this.onContinue=null}get promise(){return this.#l.capability.promise}cancel(){this.#l.cancel()}get separateAnnots(){const{separateAnnots:t}=this.#l.operatorList;if(!t)return!1;const{annotationCanvasMap:e}=this.#l;return t.form||t.canvas&&e?.size>0}}exports$1.RenderTask=RenderTask;class InternalRenderTask{static#c=new WeakSet;constructor({callback:t,params:e,objs:s,commonObjs:i,annotationCanvasMap:n,operatorList:r,pageIndex:a,canvasFactory:o,useRequestAnimationFrame:l=!1,pdfBug:c=!1,pageColors:h=null}){this.callback=t,this.params=e,this.objs=s,this.commonObjs=i,this.annotationCanvasMap=n,this.operatorListIdx=null,this.operatorList=r,this._pageIndex=a,this.canvasFactory=o,this._pdfBug=c,this.pageColors=h,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===l&&"undefined"!=typeof window,this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=e.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:t=!1,optionalContentConfig:e}){if(this.cancelled)return;if(this._canvas){if(InternalRenderTask.#c.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");InternalRenderTask.#c.add(this._canvas)}this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:s,viewport:i,transform:n,imageLayer:r,background:a}=this.params;this.gfx=new _canvas.CanvasGraphics(s,this.commonObjs,this.objs,this.canvasFactory,r,e,this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:n,viewport:i,transparency:t,background:a}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}cancel(t=null){this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&InternalRenderTask.#c.delete(this._canvas),this.callback(t||new _display_utils.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex+1}`,"canvas"))}operatorListChanged(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}_continue(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?window.requestAnimationFrame(()=>{this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&InternalRenderTask.#c.delete(this._canvas),this.callback())))}}const version="2.16.105";exports$1.version=version;const build="172ccdbe5";exports$1.build=build},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.PrintAnnotationStorage=e.AnnotationStorage=void 0;var i=s(1),n=s(6),r=s(10);class a{constructor(){this._storage=new Map,this._modified=!1,this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(t,e){const s=this._storage.get(t);return void 0===s?e:Object.assign(e,s)}getRawValue(t){return this._storage.get(t)}remove(t){if(this._storage.delete(t),0===this._storage.size&&this.resetModified(),"function"==typeof this.onAnnotationEditor){for(const t of this._storage.values())if(t instanceof n.AnnotationEditor)return;this.onAnnotationEditor(null)}}setValue(t,e){const s=this._storage.get(t);let i=!1;if(void 0!==s)for(const[n,r]of Object.entries(e))s[n]!==r&&(i=!0,s[n]=r);else i=!0,this._storage.set(t,e);i&&this.#h(),e instanceof n.AnnotationEditor&&"function"==typeof this.onAnnotationEditor&&this.onAnnotationEditor(e.constructor._type)}has(t){return this._storage.has(t)}getAll(){return this._storage.size>0?(0,i.objectFromMap)(this._storage):null}get size(){return this._storage.size}#h(){this._modified||(this._modified=!0,"function"==typeof this.onSetModified&&this.onSetModified())}resetModified(){this._modified&&(this._modified=!1,"function"==typeof this.onResetModified&&this.onResetModified())}get print(){return new o(this)}get serializable(){if(0===this._storage.size)return null;const t=new Map;for(const[e,s]of this._storage){const i=s instanceof n.AnnotationEditor?s.serialize():s;i&&t.set(e,i)}return t}static getHash(t){if(!t)return"";const e=new r.MurmurHash3_64;for(const[s,i]of t)e.update(`${s}:${JSON.stringify(i)}`);return e.hexdigest()}}e.AnnotationStorage=a;class o extends a{#d=null;constructor(t){super(),this.#d=structuredClone(t.serializable)}get print(){(0,i.unreachable)("Should not call PrintAnnotationStorage.print")}get serializable(){return this.#d}}e.PrintAnnotationStorage=o},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.AnnotationEditor=void 0;var i=s(7),n=s(1);class r{#u=this.focusin.bind(this);#p=this.focusout.bind(this);#g=!1;#m=!1;#f=!1;#b=r._zIndex++;static _colorManager=new i.ColorManager;static _zIndex=1;constructor(t){this.constructor===r&&(0,n.unreachable)("Cannot initialize AnnotationEditor."),this.parent=t.parent,this.id=t.id,this.width=this.height=null,this.pageIndex=t.parent.pageIndex,this.name=t.name,this.div=null;const[e,s]=this.parent.viewportBaseDimensions;this.x=t.x/e,this.y=t.y/s,this.rotation=this.parent.viewport.rotation,this.isAttachedToDOM=!1}static get _defaultLineColor(){return(0,n.shadow)(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=this.#b}focusin(t){this.#g?this.#g=!1:this.parent.setSelected(this)}focusout(t){if(!this.isAttachedToDOM)return;const e=t.relatedTarget;e?.closest(`#${this.id}`)||(t.preventDefault(),this.parent.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.parent.addToAnnotationStorage(this)}dragstart(t){const e=this.parent.div.getBoundingClientRect();this.startX=t.clientX-e.x,this.startY=t.clientY-e.y,t.dataTransfer.setData("text/plain",this.id),t.dataTransfer.effectAllowed="move"}setAt(t,e,s,i){const[n,r]=this.parent.viewportBaseDimensions;[s,i]=this.screenToPageTranslation(s,i),this.x=(t+s)/n,this.y=(e+i)/r,this.div.style.left=100*this.x+"%",this.div.style.top=100*this.y+"%"}translate(t,e){const[s,i]=this.parent.viewportBaseDimensions;[t,e]=this.screenToPageTranslation(t,e),this.x+=t/s,this.y+=e/i,this.div.style.left=100*this.x+"%",this.div.style.top=100*this.y+"%"}screenToPageTranslation(t,e){const{rotation:s}=this.parent.viewport;switch(s){case 90:return[e,-t];case 180:return[-t,-e];case 270:return[-e,t];default:return[t,e]}}setDims(t,e){const[s,i]=this.parent.viewportBaseDimensions;this.div.style.width=100*t/s+"%",this.div.style.height=100*e/i+"%"}getInitialTranslation(){return[0,0]}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.setAttribute("tabIndex",0),this.setInForeground(),this.div.addEventListener("focusin",this.#u),this.div.addEventListener("focusout",this.#p);const[t,e]=this.getInitialTranslation();return this.translate(t,e),(0,i.bindEvents)(this,this.div,["dragstart","pointerdown"]),this.div}pointerdown(t){const e=i.KeyboardManager.platform.isMac;0!==t.button||t.ctrlKey&&e?t.preventDefault():(t.ctrlKey&&!e||t.shiftKey||t.metaKey&&e?this.parent.toggleSelected(this):this.parent.setSelected(this),this.#g=!0)}getRect(t,e){const[s,i]=this.parent.viewportBaseDimensions,[n,r]=this.parent.pageDimensions,a=n*t/s,o=r*e/i,l=this.x*n,c=this.y*r,h=this.width*n,d=this.height*r;switch(this.rotation){case 0:return[l+a,r-c-o-d,l+a+h,r-c-o];case 90:return[l+o,r-c+a,l+o+d,r-c+a+h];case 180:return[l-a-h,r-c+o,l-a,r-c+o+d];case 270:return[l-o-d,r-c-a-h,l-o,r-c-a];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(t,e){const[s,i,n,r]=t,a=n-s,o=r-i;switch(this.rotation){case 0:return[s,e-r,a,o];case 90:return[s,e-i,o,a];case 180:return[n,e-i,a,o];case 270:return[n,e-r,o,a];default:throw new Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){this.#f=!0}disableEditMode(){this.#f=!1}isInEditMode(){return this.#f}shouldGetKeyboardEvents(){return!1}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}rebuild(){this.div?.addEventListener("focusin",this.#u)}serialize(){(0,n.unreachable)("An editor must be serializable")}static deserialize(t,e){const s=new this.prototype.constructor({parent:e,id:e.getNextId()});s.rotation=t.rotation;const[i,n]=e.pageDimensions,[r,a,o,l]=s.getRectInCurrentCoords(t.rect,n);return s.x=r/i,s.y=a/n,s.width=o/i,s.height=l/n,s}remove(){this.div.removeEventListener("focusin",this.#u),this.div.removeEventListener("focusout",this.#p),this.isEmpty()||this.commit(),this.parent.remove(this)}select(){this.div?.classList.add("selectedEditor")}unselect(){this.div?.classList.remove("selectedEditor")}updateParams(t,e){}disableEditing(){}enableEditing(){}get propertiesToUpdate(){return{}}get contentDiv(){return this.div}get isEditing(){return this.#m}set isEditing(t){this.#m=t,t?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null)}}e.AnnotationEditor=r},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.KeyboardManager=e.CommandManager=e.ColorManager=e.AnnotationEditorUIManager=void 0,e.bindEvents=function(t,e,s){for(const i of s)e.addEventListener(i,t[i].bind(t))},e.opacityToHex=function(t){return Math.round(Math.min(255,Math.max(1,255*t))).toString(16).padStart(2,"0")};var i=s(1),n=s(8);class r{#_=0;getId(){return`${i.AnnotationEditorPrefix}${this.#_++}`}}class a{#A=[];#y=!1;#v;#S=-1;constructor(t=128){this.#v=t}add({cmd:t,undo:e,mustExec:s,type:i=NaN,overwriteIfSameType:n=!1,keepUndo:r=!1}){if(s&&t(),this.#y)return;const a={cmd:t,undo:e,type:i};if(-1===this.#S)return this.#A.length>0&&(this.#A.length=0),this.#S=0,void this.#A.push(a);if(n&&this.#A[this.#S].type===i)return r&&(a.undo=this.#A[this.#S].undo),void(this.#A[this.#S]=a);const o=this.#S+1;o===this.#v?this.#A.splice(0,1):(this.#S=o,ot.serialize()):this.#C=[t.serialize()],this.#C=this.#C.filter(t=>!!t),0===this.#C.length&&(this.#C=null))}paste(){return this.#C}isEmpty(){return null===this.#C}destroy(){this.#C=null}}class c{static _colorsMapping=new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]);get _colors(){const t=new Map([["CanvasText",null],["Canvas",null]]);return(0,n.getColorValues)(t),(0,i.shadow)(this,"_colors",t)}convert(t){const e=(0,n.getRGB)(t);if(!window.matchMedia("(forced-colors: active)").matches)return e;for(const[s,i]of this._colors)if(i.every((t,s)=>t===e[s]))return c._colorsMapping.get(s);return e}getHexCode(t){const e=this._colors.get(t);return e?i.Util.makeHexColor(...e):t}}e.ColorManager=c;class h{#E=null;#P=new Map;#T=new Map;#w=new l;#k=new a;#M=0;#F=null;#R=null;#D=new r;#I=!1;#O=i.AnnotationEditorType.NONE;#L=new Set;#N=this.keydown.bind(this);#j=this.onEditingAction.bind(this);#U=this.onPageChanging.bind(this);#B={isEditing:!1,isEmpty:!0,hasEmptyClipboard:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1};#q=null;static _keyboardManager=new o([[["ctrl+a","mac+meta+a"],h.prototype.selectAll],[["ctrl+c","mac+meta+c"],h.prototype.copy],[["ctrl+v","mac+meta+v"],h.prototype.paste],[["ctrl+x","mac+meta+x"],h.prototype.cut],[["ctrl+z","mac+meta+z"],h.prototype.undo],[["ctrl+y","ctrl+shift+Z","mac+meta+shift+Z"],h.prototype.redo],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete"],h.prototype.delete],[["Escape","mac+Escape"],h.prototype.unselectAll]]);constructor(t,e){this.#q=t,this.#R=e,this.#R._on("editingaction",this.#j),this.#R._on("pagechanging",this.#U)}destroy(){this.#W(),this.#R._off("editingaction",this.#j),this.#R._off("pagechanging",this.#U);for(const t of this.#T.values())t.destroy();this.#T.clear(),this.#P.clear(),this.#E=null,this.#L.clear(),this.#w.destroy(),this.#k.destroy()}onPageChanging({pageNumber:t}){this.#M=t-1}focusMainContainer(){this.#q.focus()}#z(){this.#q.addEventListener("keydown",this.#N)}#W(){this.#q.removeEventListener("keydown",this.#N)}keydown(t){this.getActive()?.shouldGetKeyboardEvents()||h._keyboardManager.exec(this,t)}onEditingAction(t){["undo","redo","cut","copy","paste","delete","selectAll"].includes(t.name)&&this[t.name]()}#H(t){Object.entries(t).some(([t,e])=>this.#B[t]!==e)&&this.#R.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(this.#B,t)})}#G(t){this.#R.dispatch("annotationeditorparamschanged",{source:this,details:t})}setEditingState(t){t?(this.#z(),this.#H({isEditing:this.#O!==i.AnnotationEditorType.NONE,isEmpty:this.#$(),hasSomethingToUndo:this.#k.hasSomethingToUndo(),hasSomethingToRedo:this.#k.hasSomethingToRedo(),hasSelectedEditor:!1,hasEmptyClipboard:this.#w.isEmpty()})):(this.#W(),this.#H({isEditing:!1}))}registerEditorTypes(t){this.#F=t;for(const e of this.#F)this.#G(e.defaultPropertiesToUpdate)}getId(){return this.#D.getId()}addLayer(t){this.#T.set(t.pageIndex,t),this.#I?t.enable():t.disable()}removeLayer(t){this.#T.delete(t.pageIndex)}updateMode(t){if(this.#O=t,t===i.AnnotationEditorType.NONE)this.setEditingState(!1),this.#V();else{this.setEditingState(!0),this.#X();for(const e of this.#T.values())e.updateMode(t)}}updateToolbar(t){t!==this.#O&&this.#R.dispatch("switchannotationeditormode",{source:this,mode:t})}updateParams(t,e){for(const s of this.#L)s.updateParams(t,e);for(const s of this.#F)s.updateDefaultParams(t,e)}#X(){if(!this.#I){this.#I=!0;for(const t of this.#T.values())t.enable()}}#V(){if(this.unselectAll(),this.#I){this.#I=!1;for(const t of this.#T.values())t.disable()}}getEditors(t){const e=[];for(const s of this.#P.values())s.pageIndex===t&&e.push(s);return e}getEditor(t){return this.#P.get(t)}addEditor(t){this.#P.set(t.id,t)}removeEditor(t){this.#P.delete(t.id),this.unselect(t)}#Y(t){const e=this.#T.get(t.pageIndex);e?e.addOrRebuild(t):this.addEditor(t)}setActiveEditor(t){this.#E!==t&&(this.#E=t,t&&this.#G(t.propertiesToUpdate))}toggleSelected(t){if(this.#L.has(t))return this.#L.delete(t),t.unselect(),void this.#H({hasSelectedEditor:this.hasSelection});this.#L.add(t),t.select(),this.#G(t.propertiesToUpdate),this.#H({hasSelectedEditor:!0})}setSelected(t){for(const e of this.#L)e!==t&&e.unselect();this.#L.clear(),this.#L.add(t),t.select(),this.#G(t.propertiesToUpdate),this.#H({hasSelectedEditor:!0})}isSelected(t){return this.#L.has(t)}unselect(t){t.unselect(),this.#L.delete(t),this.#H({hasSelectedEditor:this.hasSelection})}get hasSelection(){return 0!==this.#L.size}undo(){this.#k.undo(),this.#H({hasSomethingToUndo:this.#k.hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:this.#$()})}redo(){this.#k.redo(),this.#H({hasSomethingToUndo:!0,hasSomethingToRedo:this.#k.hasSomethingToRedo(),isEmpty:this.#$()})}addCommands(t){this.#k.add(t),this.#H({hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:this.#$()})}#$(){if(0===this.#P.size)return!0;if(1===this.#P.size)for(const t of this.#P.values())return t.isEmpty();return!1}delete(){if(this.#E&&this.#E.commitOrRemove(),!this.hasSelection)return;const t=[...this.#L];this.addCommands({cmd:()=>{for(const e of t)e.remove()},undo:()=>{for(const e of t)this.#Y(e)},mustExec:!0})}copy(){if(this.#E&&this.#E.commitOrRemove(),this.hasSelection){const t=[];for(const e of this.#L)e.isEmpty()||t.push(e);if(0===t.length)return;this.#w.copy(t),this.#H({hasEmptyClipboard:!1})}}cut(){this.copy(),this.delete()}paste(){if(this.#w.isEmpty())return;this.unselectAll();const t=this.#T.get(this.#M),e=this.#w.paste().map(e=>t.deserialize(e));this.addCommands({cmd:()=>{for(const t of e)this.#Y(t);this.#K(e)},undo:()=>{for(const t of e)t.remove()},mustExec:!0})}#K(t){this.#L.clear();for(const e of t)e.isEmpty()||(this.#L.add(e),e.select());this.#H({hasSelectedEditor:!0})}selectAll(){for(const t of this.#L)t.commit();this.#K(this.#P.values())}unselectAll(){if(this.#E)this.#E.commitOrRemove();else if(0!==this.#K.size){for(const t of this.#L)t.unselect();this.#L.clear(),this.#H({hasSelectedEditor:!1})}}isActive(t){return this.#E===t}getActive(){return this.#E}getMode(){return this.#O}}e.AnnotationEditorUIManager=h},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.StatTimer=e.RenderingCancelledException=e.PixelsPerInch=e.PageViewport=e.PDFDateString=e.DOMStandardFontDataFactory=e.DOMSVGFactory=e.DOMCanvasFactory=e.DOMCMapReaderFactory=e.AnnotationPrefix=void 0,e.deprecated=function(t){console.log("Deprecated API usage: "+t)},e.getColorValues=function(t){const e=document.createElement("span");e.style.visibility="hidden",document.body.append(e);for(const s of t.keys()){e.style.color=s;const i=window.getComputedStyle(e).color;t.set(s,f(i))}e.remove()},e.getCurrentTransform=function(t){const{a:e,b:s,c:i,d:n,e:r,f:a}=t.getTransform();return[e,s,i,n,r,a]},e.getCurrentTransformInverse=function(t){const{a:e,b:s,c:i,d:n,e:r,f:a}=t.getTransform().invertSelf();return[e,s,i,n,r,a]},e.getFilenameFromUrl=function(t){const e=t.indexOf("#"),s=t.indexOf("?"),i=Math.min(e>0?e:t.length,s>0?s:t.length);return t.substring(t.lastIndexOf("/",i)+1,i)},e.getPdfFilenameFromUrl=function(t,e="document.pdf"){if("string"!=typeof t)return e;if(p(t))return(0,n.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),e;const s=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,i=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(t);let r=s.exec(i[1])||s.exec(i[2])||s.exec(i[3]);if(r&&(r=r[0],r.includes("%")))try{r=s.exec(decodeURIComponent(r))[0]}catch(a){}return r||e},e.getRGB=f,e.getXfaPageViewport=function(t,{scale:e=1,rotation:s=0}){const{width:i,height:n}=t.attributes.style,r=[0,0,parseInt(i),parseInt(n)];return new d({viewBox:r,scale:e,rotation:s})},e.isDataScheme=p,e.isPdfFile=function(t){return"string"==typeof t&&/\.pdf$/i.test(t)},e.isValidFetchUrl=g,e.loadScript=function(t,e=!1){return new Promise((s,i)=>{const n=document.createElement("script");n.src=t,n.onload=function(t){e&&n.remove(),s(t)},n.onerror=function(){i(new Error(`Cannot load script at: ${n.src}`))},(document.head||document.documentElement).append(n)})};var i=s(9),n=s(1);e.AnnotationPrefix="pdfjs_internal_id_";class r{static CSS=96;static PDF=72;static PDF_TO_CSS_UNITS=this.CSS/this.PDF}e.PixelsPerInch=r;class a extends i.BaseCanvasFactory{constructor({ownerDocument:t=globalThis.document}={}){super(),this._document=t}_createCanvas(t,e){const s=this._document.createElement("canvas");return s.width=t,s.height=e,s}}async function o(t,e=!1){if(g(t,document.baseURI)){const s=await fetch(t);if(!s.ok)throw new Error(s.statusText);return e?new Uint8Array(await s.arrayBuffer()):(0,n.stringToBytes)(await s.text())}return new Promise((s,i)=>{const r=new XMLHttpRequest;r.open("GET",t,!0),e&&(r.responseType="arraybuffer"),r.onreadystatechange=()=>{if(r.readyState===XMLHttpRequest.DONE){if(200===r.status||0===r.status){let t;if(e&&r.response?t=new Uint8Array(r.response):!e&&r.responseText&&(t=(0,n.stringToBytes)(r.responseText)),t)return void s(t)}i(new Error(r.statusText))}},r.send(null)})}e.DOMCanvasFactory=a;class l extends i.BaseCMapReaderFactory{_fetchData(t,e){return o(t,this.isCompressed).then(t=>({cMapData:t,compressionType:e}))}}e.DOMCMapReaderFactory=l;class c extends i.BaseStandardFontDataFactory{_fetchData(t){return o(t,!0)}}e.DOMStandardFontDataFactory=c;class h extends i.BaseSVGFactory{_createSVG(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}}e.DOMSVGFactory=h;class d{constructor({viewBox:t,scale:e,rotation:s,offsetX:i=0,offsetY:n=0,dontFlip:r=!1}){this.viewBox=t,this.scale=e,this.rotation=s,this.offsetX=i,this.offsetY=n;const a=(t[2]+t[0])/2,o=(t[3]+t[1])/2;let l,c,h,d,u,p,g,m;switch((s%=360)<0&&(s+=360),s){case 180:l=-1,c=0,h=0,d=1;break;case 90:l=0,c=1,h=1,d=0;break;case 270:l=0,c=-1,h=-1,d=0;break;case 0:l=1,c=0,h=0,d=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}r&&(h=-h,d=-d),0===l?(u=Math.abs(o-t[1])*e+i,p=Math.abs(a-t[0])*e+n,g=Math.abs(t[3]-t[1])*e,m=Math.abs(t[2]-t[0])*e):(u=Math.abs(a-t[0])*e+i,p=Math.abs(o-t[1])*e+n,g=Math.abs(t[2]-t[0])*e,m=Math.abs(t[3]-t[1])*e),this.transform=[l*e,c*e,h*e,d*e,u-l*e*a-h*e*o,p-c*e*a-d*e*o],this.width=g,this.height=m}clone({scale:t=this.scale,rotation:e=this.rotation,offsetX:s=this.offsetX,offsetY:i=this.offsetY,dontFlip:n=!1}={}){return new d({viewBox:this.viewBox.slice(),scale:t,rotation:e,offsetX:s,offsetY:i,dontFlip:n})}convertToViewportPoint(t,e){return n.Util.applyTransform([t,e],this.transform)}convertToViewportRectangle(t){const e=n.Util.applyTransform([t[0],t[1]],this.transform),s=n.Util.applyTransform([t[2],t[3]],this.transform);return[e[0],e[1],s[0],s[1]]}convertToPdfPoint(t,e){return n.Util.applyInverseTransform([t,e],this.transform)}}e.PageViewport=d;class u extends n.BaseException{constructor(t,e){super(t,"RenderingCancelledException"),this.type=e}}function p(t){const e=t.length;let s=0;for(;s>16,(65280&e)>>8,255&e]}return t.startsWith("rgb(")?t.slice(4,-1).split(",").map(t=>parseInt(t)):t.startsWith("rgba(")?t.slice(5,-1).split(",").map(t=>parseInt(t)).slice(0,3):((0,n.warn)(`Not a valid color format: "${t}"`),[0,0,0])}e.RenderingCancelledException=u,e.StatTimer=class{constructor(){this.started=Object.create(null),this.times=[]}time(t){t in this.started&&(0,n.warn)(`Timer is already running for ${t}`),this.started[t]=Date.now()}timeEnd(t){t in this.started||(0,n.warn)(`Timer has not been started for ${t}`),this.times.push({name:t,start:this.started[t],end:Date.now()}),delete this.started[t]}toString(){const t=[];let e=0;for(const s of this.times){const t=s.name;t.length>e&&(e=t.length)}for(const s of this.times){const i=s.end-s.start;t.push(`${s.name.padEnd(e)} ${i}ms\n`)}return t.join("")}},e.PDFDateString=class{static toDateObject(t){if(!t||"string"!=typeof t)return null;m||(m=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const e=m.exec(t);if(!e)return null;const s=parseInt(e[1],10);let i=parseInt(e[2],10);i=i>=1&&i<=12?i-1:0;let n=parseInt(e[3],10);n=n>=1&&n<=31?n:1;let r=parseInt(e[4],10);r=r>=0&&r<=23?r:0;let a=parseInt(e[5],10);a=a>=0&&a<=59?a:0;let o=parseInt(e[6],10);o=o>=0&&o<=59?o:0;const l=e[7]||"Z";let c=parseInt(e[8],10);c=c>=0&&c<=23?c:0;let h=parseInt(e[9],10)||0;return h=h>=0&&h<=59?h:0,"-"===l?(r+=c,a+=h):"+"===l&&(r-=c,a-=h),new Date(Date.UTC(s,i,n,r,a,o))}}},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.BaseStandardFontDataFactory=e.BaseSVGFactory=e.BaseCanvasFactory=e.BaseCMapReaderFactory=void 0;var i=s(1);class n{constructor(){this.constructor===n&&(0,i.unreachable)("Cannot initialize BaseCanvasFactory.")}create(t,e){if(t<=0||e<=0)throw new Error("Invalid canvas size");const s=this._createCanvas(t,e);return{canvas:s,context:s.getContext("2d")}}reset(t,e,s){if(!t.canvas)throw new Error("Canvas is not specified");if(e<=0||s<=0)throw new Error("Invalid canvas size");t.canvas.width=e,t.canvas.height=s}destroy(t){if(!t.canvas)throw new Error("Canvas is not specified");t.canvas.width=0,t.canvas.height=0,t.canvas=null,t.context=null}_createCanvas(t,e){(0,i.unreachable)("Abstract method `_createCanvas` called.")}}e.BaseCanvasFactory=n;class r{constructor({baseUrl:t=null,isCompressed:e=!1}){this.constructor===r&&(0,i.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=t,this.isCompressed=e}async fetch({name:t}){if(!this.baseUrl)throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!t)throw new Error("CMap name must be specified.");const e=this.baseUrl+t+(this.isCompressed?".bcmap":""),s=this.isCompressed?i.CMapCompressionType.BINARY:i.CMapCompressionType.NONE;return this._fetchData(e,s).catch(t=>{throw new Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${e}`)})}_fetchData(t,e){(0,i.unreachable)("Abstract method `_fetchData` called.")}}e.BaseCMapReaderFactory=r;class a{constructor({baseUrl:t=null}){this.constructor===a&&(0,i.unreachable)("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=t}async fetch({filename:t}){if(!this.baseUrl)throw new Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');if(!t)throw new Error("Font filename must be specified.");const e=`${this.baseUrl}${t}`;return this._fetchData(e).catch(t=>{throw new Error(`Unable to load font data at: ${e}`)})}_fetchData(t){(0,i.unreachable)("Abstract method `_fetchData` called.")}}e.BaseStandardFontDataFactory=a;class o{constructor(){this.constructor===o&&(0,i.unreachable)("Cannot initialize BaseSVGFactory.")}create(t,e,s=!1){if(t<=0||e<=0)throw new Error("Invalid SVG dimensions");const i=this._createSVG("svg:svg");return i.setAttribute("version","1.1"),s||(i.setAttribute("width",`${t}px`),i.setAttribute("height",`${e}px`)),i.setAttribute("preserveAspectRatio","none"),i.setAttribute("viewBox",`0 0 ${t} ${e}`),i}createElement(t){if("string"!=typeof t)throw new Error("Invalid SVG element type");return this._createSVG(t)}_createSVG(t){(0,i.unreachable)("Abstract method `_createSVG` called.")}}e.BaseSVGFactory=o},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MurmurHash3_64=void 0;var i=s(1);const n=3285377520,r=4294901760,a=65535;e.MurmurHash3_64=class{constructor(t){this.h1=t?4294967295&t:n,this.h2=t?4294967295&t:n}update(t){let e,s;if("string"==typeof t){e=new Uint8Array(2*t.length),s=0;for(let i=0,n=t.length;i>>8,e[s++]=255&n)}}else{if(!(0,i.isArrayBuffer)(t))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");e=t.slice(),s=e.byteLength}const n=s>>2,o=s-4*n,l=new Uint32Array(e.buffer,0,n);let c=0,h=0,d=this.h1,u=this.h2;const p=3432918353,g=461845907,m=11601,f=13715;for(let i=0;i>>17,c=c*g&r|c*f&a,d^=c,d=d<<13|d>>>19,d=5*d+3864292196):(h=l[i],h=h*p&r|h*m&a,h=h<<15|h>>>17,h=h*g&r|h*f&a,u^=h,u=u<<13|u>>>19,u=5*u+3864292196);switch(c=0,o){case 3:c^=e[4*n+2]<<16;case 2:c^=e[4*n+1]<<8;case 1:c^=e[4*n],c=c*p&r|c*m&a,c=c<<15|c>>>17,c=c*g&r|c*f&a,1&n?d^=c:u^=c}this.h1=d,this.h2=u}hexdigest(){let t=this.h1,e=this.h2;t^=e>>>1,t=3981806797*t&r|36045*t&a,e=4283543511*e&r|(2950163797*(e<<16|t>>>16)&r)>>>16,t^=e>>>1,t=444984403*t&r|60499*t&a,e=3301882366*e&r|(3120437893*(e<<16|t>>>16)&r)>>>16,t^=e>>>1;const s=(t>>>0).toString(16),i=(e>>>0).toString(16);return s.padStart(8,"0")+i.padStart(8,"0")}}},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.FontLoader=e.FontFaceObject=void 0;var i=s(1);class n{constructor({docId:t,onUnsupportedFeature:e,ownerDocument:s=globalThis.document,styleElement:r=null}){this.constructor===n&&(0,i.unreachable)("Cannot initialize BaseFontLoader."),this.docId=t,this._onUnsupportedFeature=e,this._document=s,this.nativeFontFaces=[],this.styleElement=null}addNativeFontFace(t){this.nativeFontFaces.push(t),this._document.fonts.add(t)}insertRule(t){let e=this.styleElement;e||(e=this.styleElement=this._document.createElement("style"),e.id=`PDFJS_FONT_STYLE_TAG_${this.docId}`,this._document.documentElement.getElementsByTagName("head")[0].append(e));const s=e.sheet;s.insertRule(t,s.cssRules.length)}clear(){for(const t of this.nativeFontFaces)this._document.fonts.delete(t);this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async bind(t){if(t.attached||t.missingFile)return;if(t.attached=!0,this.isFontLoadingAPISupported){const e=t.createNativeFontFace();if(e){this.addNativeFontFace(e);try{await e.loaded}catch(s){throw this._onUnsupportedFeature({featureId:i.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,i.warn)(`Failed to load font '${e.family}': '${s}'.`),t.disableFontFace=!0,s}}return}const e=t.createFontFaceRule();if(e){if(this.insertRule(e),this.isSyncFontLoadingSupported)return;await new Promise(s=>{const i=this._queueLoadingCallback(s);this._prepareFontLoadEvent([e],[t],i)})}}_queueLoadingCallback(t){(0,i.unreachable)("Abstract method `_queueLoadingCallback`.")}get isFontLoadingAPISupported(){const t=!!this._document?.fonts;return(0,i.shadow)(this,"isFontLoadingAPISupported",t)}get isSyncFontLoadingSupported(){(0,i.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}get _loadTestFont(){(0,i.unreachable)("Abstract method `_loadTestFont`.")}_prepareFontLoadEvent(t,e,s){(0,i.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}let r;e.FontLoader=r,e.FontLoader=r=class extends n{constructor(t){super(t),this.loadingContext={requests:[],nextRequestId:0},this.loadTestFontId=0}get isSyncFontLoadingSupported(){let t=!1;if("undefined"==typeof navigator)t=!0;else{const e=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);e?.[1]>=14&&(t=!0)}return(0,i.shadow)(this,"isSyncFontLoadingSupported",t)}_queueLoadingCallback(t){const e=this.loadingContext,s={id:"pdfjs-font-loading-"+e.nextRequestId++,done:!1,complete:function(){for((0,i.assert)(!s.done,"completeRequest() cannot be called twice."),s.done=!0;e.requests.length>0&&e.requests[0].done;){const t=e.requests.shift();setTimeout(t.callback,0)}},callback:t};return e.requests.push(s),s}get _loadTestFont(){return(0,i.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}_prepareFontLoadEvent(t,e,s){function n(t,e){return t.charCodeAt(e)<<24|t.charCodeAt(e+1)<<16|t.charCodeAt(e+2)<<8|255&t.charCodeAt(e+3)}function r(t,e,s,i){return t.substring(0,e)+i+t.substring(e+s)}let a,o;const l=this._document.createElement("canvas");l.width=1,l.height=1;const c=l.getContext("2d");let h=0;const d=`lt${Date.now()}${this.loadTestFontId++}`;let u=this._loadTestFont;u=r(u,976,d.length,d);const p=1482184792;let g=n(u,16);for(a=0,o=d.length-3;a30)return(0,i.warn)("Load test font never loaded."),void s();c.font="30px "+e,c.fillText(".",0,20),c.getImageData(0,0,1,1).data[3]>0?s():setTimeout(t.bind(null,e,s))}(d,()=>{b.remove(),s.complete()})}},e.FontFaceObject=class{constructor(t,{isEvalSupported:e=!0,disableFontFace:s=!1,ignoreErrors:i=!1,onUnsupportedFeature:n,fontRegistry:r=null}){this.compiledGlyphs=Object.create(null);for(const a in t)this[a]=t[a];this.isEvalSupported=!1!==e,this.disableFontFace=!0===s,this.ignoreErrors=!0===i,this._onUnsupportedFeature=n,this.fontRegistry=r}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let t;if(this.cssFontInfo){const e={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(e.style=`oblique ${this.cssFontInfo.italicAngle}deg`),t=new FontFace(this.cssFontInfo.fontFamily,this.data,e)}else t=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),t}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const t=(0,i.bytesToString)(this.data),e=`url(data:${this.mimetype};base64,${btoa(t)});`;let s;if(this.cssFontInfo){let t=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(t+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),s=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${t}src:${e}}`}else s=`@font-face {font-family:"${this.loadedName}";src:${e}}`;return this.fontRegistry&&this.fontRegistry.registerFont(this,e),s}getPathGenerator(t,e){if(void 0!==this.compiledGlyphs[e])return this.compiledGlyphs[e];let s;try{s=t.get(this.loadedName+"_path_"+e)}catch(n){if(!this.ignoreErrors)throw n;return this._onUnsupportedFeature({featureId:i.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,i.warn)(`getPathGenerator - ignoring character: "${n}".`),this.compiledGlyphs[e]=function(t,e){}}if(this.isEvalSupported&&i.FeatureTest.isEvalSupported){const t=[];for(const e of s){const s=void 0!==e.args?e.args.join(","):"";t.push("c.",e.cmd,"(",s,");\n")}return this.compiledGlyphs[e]=new Function("c","size",t.join(""))}return this.compiledGlyphs[e]=function(t,e){for(const i of s)"scale"===i.cmd&&(i.args=[e,-e]),t[i.cmd].apply(t,i.args)}}}},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.CanvasGraphics=void 0;var i=s(8),n=s(1),r=s(13),a=s(14),o=s(3);const l=4096,c=o.isNodeJS&&"undefined"==typeof Path2D?-1:1e3,h=16;class d{constructor(t){this.canvasFactory=t,this.cache=Object.create(null)}getCanvas(t,e,s){let i;return void 0!==this.cache[t]?(i=this.cache[t],this.canvasFactory.reset(i,e,s)):(i=this.canvasFactory.create(e,s),this.cache[t]=i),i}delete(t){delete this.cache[t]}clear(){for(const t in this.cache){const e=this.cache[t];this.canvasFactory.destroy(e),delete this.cache[t]}}}function u(t,e,s,n,r,a,o,l,c,h){const[d,u,p,g,m,f]=(0,i.getCurrentTransform)(t);if(0===u&&0===p){const i=o*d+m,b=Math.round(i),_=l*g+f,A=Math.round(_),y=(o+c)*d+m,v=Math.abs(Math.round(y)-b)||1,S=(l+h)*g+f,x=Math.abs(Math.round(S)-A)||1;return t.setTransform(Math.sign(d),0,0,Math.sign(g),b,A),t.drawImage(e,s,n,r,a,0,0,v,x),t.setTransform(d,u,p,g,m,f),[v,x]}if(0===d&&0===g){const i=l*p+m,b=Math.round(i),_=o*u+f,A=Math.round(_),y=(l+h)*p+m,v=Math.abs(Math.round(y)-b)||1,S=(o+c)*u+f,x=Math.abs(Math.round(S)-A)||1;return t.setTransform(0,Math.sign(u),Math.sign(p),0,b,A),t.drawImage(e,s,n,r,a,0,0,x,v),t.setTransform(d,u,p,g,m,f),[x,v]}return t.drawImage(e,s,n,r,a,o,l,c,h),[Math.hypot(d,u)*c,Math.hypot(p,g)*h]}class p{constructor(t,e){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=n.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=n.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=n.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps=null,this.startNewPathAndClipBox([0,0,t,e])}clone(){const t=Object.create(this);return t.clipBox=this.clipBox.slice(),t}setCurrentPoint(t,e){this.x=t,this.y=e}updatePathMinMax(t,e,s){[e,s]=n.Util.applyTransform([e,s],t),this.minX=Math.min(this.minX,e),this.minY=Math.min(this.minY,s),this.maxX=Math.max(this.maxX,e),this.maxY=Math.max(this.maxY,s)}updateRectMinMax(t,e){const s=n.Util.applyTransform(e,t),i=n.Util.applyTransform(e.slice(2),t);this.minX=Math.min(this.minX,s[0],i[0]),this.minY=Math.min(this.minY,s[1],i[1]),this.maxX=Math.max(this.maxX,s[0],i[0]),this.maxY=Math.max(this.maxY,s[1],i[1])}updateScalingPathMinMax(t,e){n.Util.scaleMinMax(t,e),this.minX=Math.min(this.minX,e[0]),this.maxX=Math.max(this.maxX,e[1]),this.minY=Math.min(this.minY,e[2]),this.maxY=Math.max(this.maxY,e[3])}updateCurvePathMinMax(t,e,s,i,r,a,o,l,c,h){const d=n.Util.bezierBoundingBox(e,s,i,r,a,o,l,c);if(h)return h[0]=Math.min(h[0],d[0],d[2]),h[1]=Math.max(h[1],d[0],d[2]),h[2]=Math.min(h[2],d[1],d[3]),void(h[3]=Math.max(h[3],d[1],d[3]));this.updateRectMinMax(t,d)}getPathBoundingBox(t=r.PathType.FILL,e=null){const s=[this.minX,this.minY,this.maxX,this.maxY];if(t===r.PathType.STROKE){e||(0,n.unreachable)("Stroke bounding box must include transform.");const t=n.Util.singularValueDecompose2dScale(e),i=t[0]*this.lineWidth/2,r=t[1]*this.lineWidth/2;s[0]-=i,s[1]-=r,s[2]+=i,s[3]+=r}return s}updateClipFromPath(){const t=n.Util.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(t||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(t){this.clipBox=t,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(t=r.PathType.FILL,e=null){return n.Util.intersect(this.clipBox,this.getPathBoundingBox(t,e))}}function g(t,e,s=null){if("undefined"!=typeof ImageData&&e instanceof ImageData)return void t.putImageData(e,0,0);const i=e.height,r=e.width,a=i%h,o=(i-a)/h,l=0===a?o:o+1,c=t.createImageData(r,h);let d,u=0;const p=e.data,g=c.data;let m,f,b,_,A,y,v,S;if(s)switch(s.length){case 1:A=s[0],y=s[0],v=s[0],S=s[0];break;case 4:A=s[0],y=s[1],v=s[2],S=s[3]}if(e.kind===n.ImageKind.GRAYSCALE_1BPP){const e=p.byteLength,s=new Uint32Array(g.buffer,0,g.byteLength>>2),i=s.length,_=r+7>>3;let A=4294967295,y=n.FeatureTest.isLittleEndian?4278190080:255;for(S&&255===S[0]&&0===S[255]&&([A,y]=[y,A]),m=0;m_?r:8*t-7,a=-8&n;let o=0,l=0;for(;i>=1}for(;d=o&&(b=a,_=r*b),d=0,f=_;f--;)g[d++]=p[u++],g[d++]=p[u++],g[d++]=p[u++],g[d++]=255;if(e)for(let t=0;t>8,t[r-2]=t[r-2]*n+s*a>>8,t[r-1]=t[r-1]*n+i*a>>8}}}function A(t,e,s){const i=t.length,n=1/255;for(let r=3;r>8]>>8:e[n]*i>>16}}function v(t,e,s,i){const n=i[0],r=i[1],a=i[2]-n,o=i[3]-r;0!==a&&0!==o&&(function(t,e,s,i,n,r,a,o,l,c,h){const d=!!r,u=d?r[0]:0,p=d?r[1]:0,g=d?r[2]:0;let m;m="Luminosity"===n?y:A;const f=Math.min(i,Math.ceil(1048576/s));for(let b=0;b(t/=255)<=.03928?t/12.92:((t+.055)/1.055)**2.4,l=Math.round(.2126*o(s)+.7152*o(r)+.0722*o(a));this.selectColor=(s,i,n)=>{const r=.2126*o(s)+.7152*o(i)+.0722*o(n);return Math.round(r)===l?e:t}}}if(this.ctx.fillStyle=this.backgroundColor||o,this.ctx.fillRect(0,0,r,a),this.ctx.restore(),s){const t=this.cachedCanvases.getCanvas("transparent",r,a);this.compositeCtx=this.ctx,this.transparentCanvas=t.canvas,this.ctx=t.context,this.ctx.save(),this.ctx.transform(...(0,i.getCurrentTransform)(this.compositeCtx))}this.ctx.save(),b(this.ctx,this.foregroundColor),t&&(this.ctx.transform(...t),this.outputScaleX=t[0],this.outputScaleY=t[0]),this.ctx.transform(...e.transform),this.viewportScale=e.scale,this.baseTransform=(0,i.getCurrentTransform)(this.ctx),this.imageLayer&&((0,i.deprecated)("The `imageLayer` functionality will be removed in the future."),this.imageLayer.beginLayout())}executeOperatorList(t,e,s,i){const r=t.argsArray,a=t.fnArray;let o=e||0;const l=r.length;if(l===o)return o;const c=l-o>10&&"function"==typeof s,h=c?Date.now()+15:0;let d=0;const u=this.commonObjs,p=this.objs;let g;for(;;){if(void 0!==i&&o===i.nextBreakPoint)return i.breakIt(o,s),o;if(g=a[o],g!==n.OPS.dependency)this[g].apply(this,r[o]);else for(const t of r[o]){const e=t.startsWith("g_")?u:p;if(!e.has(t))return e.get(t,s),o}if(o++,o===l)return o;if(c&&++d>10){if(Date.now()>h)return s(),o;d=0}}}#J(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}endDrawing(){this.#J(),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const t of this._cachedBitmapsMap.values()){for(const e of t.values())"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement&&(e.width=e.height=0);t.clear()}this._cachedBitmapsMap.clear(),this.imageLayer&&this.imageLayer.endLayout()}_scaleImage(t,e){const s=t.width,i=t.height;let n,r,a=Math.max(Math.hypot(e[0],e[1]),1),o=Math.max(Math.hypot(e[2],e[3]),1),l=s,c=i,h="prescale1";for(;a>2&&l>1||o>2&&c>1;){let e=l,s=c;a>2&&l>1&&(e=Math.ceil(l/2),a/=l/e),o>2&&c>1&&(s=Math.ceil(c/2),o/=c/s),n=this.cachedCanvases.getCanvas(h,e,s),r=n.context,r.clearRect(0,0,e,s),r.drawImage(t,0,0,l,c,0,0,e,s),t=n.canvas,l=e,c=s,h="prescale1"===h?"prescale2":"prescale1"}return{img:t,paintWidth:l,paintHeight:c}}_createMaskCanvas(t){const e=this.ctx,{width:s,height:a}=t,o=this.current.fillColor,l=this.current.patternFill,c=(0,i.getCurrentTransform)(e);let h,d,p,g;if((t.bitmap||t.data)&&t.count>1){const e=t.bitmap||t.data.buffer,s=c.slice(0,4);d=JSON.stringify(l?s:[s,o]),h=this._cachedBitmapsMap.get(e),h||(h=new Map,this._cachedBitmapsMap.set(e,h));const i=h.get(d);if(i&&!l)return{canvas:i,offsetX:Math.round(Math.min(c[0],c[2])+c[4]),offsetY:Math.round(Math.min(c[1],c[3])+c[5])};p=i}p||(g=this.cachedCanvases.getCanvas("maskCanvas",s,a),m(g.context,t));let f=n.Util.transform(c,[1/s,0,0,-1/a,0,0]);f=n.Util.transform(f,[1,0,0,1,0,-a]);const b=n.Util.applyTransform([0,0],f),_=n.Util.applyTransform([s,a],f),A=n.Util.normalizeRect([b[0],b[1],_[0],_[1]]),y=Math.round(A[2]-A[0])||1,v=Math.round(A[3]-A[1])||1,x=this.cachedCanvases.getCanvas("fillCanvas",y,v),C=x.context,E=Math.min(b[0],_[0]),P=Math.min(b[1],_[1]);C.translate(-E,-P),C.transform(...f),p||(p=this._scaleImage(g.canvas,(0,i.getCurrentTransformInverse)(C)),p=p.img,h&&l&&h.set(d,p)),C.imageSmoothingEnabled=S((0,i.getCurrentTransform)(C),t.interpolate),u(C,p,0,0,p.width,p.height,0,0,s,a),C.globalCompositeOperation="source-in";const T=n.Util.transform((0,i.getCurrentTransformInverse)(C),[1,0,0,1,-E,-P]);return C.fillStyle=l?o.getPattern(e,this,T,r.PathType.FILL):o,C.fillRect(0,0,s,a),h&&!l&&(this.cachedCanvases.delete("fillCanvas"),h.set(d,x.canvas)),{canvas:x.canvas,offsetX:Math.round(E),offsetY:Math.round(P)}}setLineWidth(t){t!==this.current.lineWidth&&(this._cachedScaleForStroking=null),this.current.lineWidth=t,this.ctx.lineWidth=t}setLineCap(t){this.ctx.lineCap=x[t]}setLineJoin(t){this.ctx.lineJoin=C[t]}setMiterLimit(t){this.ctx.miterLimit=t}setDash(t,e){const s=this.ctx;void 0!==s.setLineDash&&(s.setLineDash(t),s.lineDashOffset=e)}setRenderingIntent(t){}setFlatness(t){}setGState(t){for(let e=0,s=t.length;e{t.save=t.__originalSave,t.restore=t.__originalRestore,t.rotate=t.__originalRotate,t.scale=t.__originalScale,t.translate=t.__originalTranslate,t.transform=t.__originalTransform,t.setTransform=t.__originalSetTransform,t.resetTransform=t.__originalResetTransform,t.clip=t.__originalClip,t.moveTo=t.__originalMoveTo,t.lineTo=t.__originalLineTo,t.bezierCurveTo=t.__originalBezierCurveTo,t.rect=t.__originalRect,t.closePath=t.__originalClosePath,t.beginPath=t.__originalBeginPath,delete t._removeMirroring},t.save=function(){e.save(),this.__originalSave()},t.restore=function(){e.restore(),this.__originalRestore()},t.translate=function(t,s){e.translate(t,s),this.__originalTranslate(t,s)},t.scale=function(t,s){e.scale(t,s),this.__originalScale(t,s)},t.transform=function(t,s,i,n,r,a){e.transform(t,s,i,n,r,a),this.__originalTransform(t,s,i,n,r,a)},t.setTransform=function(t,s,i,n,r,a){e.setTransform(t,s,i,n,r,a),this.__originalSetTransform(t,s,i,n,r,a)},t.resetTransform=function(){e.resetTransform(),this.__originalResetTransform()},t.rotate=function(t){e.rotate(t),this.__originalRotate(t)},t.clip=function(t){e.clip(t),this.__originalClip(t)},t.moveTo=function(t,s){e.moveTo(t,s),this.__originalMoveTo(t,s)},t.lineTo=function(t,s){e.lineTo(t,s),this.__originalLineTo(t,s)},t.bezierCurveTo=function(t,s,i,n,r,a){e.bezierCurveTo(t,s,i,n,r,a),this.__originalBezierCurveTo(t,s,i,n,r,a)},t.rect=function(t,s,i,n){e.rect(t,s,i,n),this.__originalRect(t,s,i,n)},t.closePath=function(){e.closePath(),this.__originalClosePath()},t.beginPath=function(){e.beginPath(),this.__originalBeginPath()}}(r,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),f(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(t){if(!this.current.activeSMask)return;t?(t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.ceil(t[2]),t[3]=Math.ceil(t[3])):t=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];const e=this.current.activeSMask;v(this.suspendedCtx,e,this.ctx,t),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}save(){this.inSMaskMode?(f(this.ctx,this.suspendedCtx),this.suspendedCtx.save()):this.ctx.save();const t=this.current;this.stateStack.push(t),this.current=t.clone()}restore(){0===this.stateStack.length&&this.inSMaskMode&&this.endSMaskMode(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.inSMaskMode?(this.suspendedCtx.restore(),f(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking=null,this._cachedGetSinglePixelWidth=null)}transform(t,e,s,i,n,r){this.ctx.transform(t,e,s,i,n,r),this._cachedScaleForStroking=null,this._cachedGetSinglePixelWidth=null}constructPath(t,e,s){const r=this.ctx,a=this.current;let o,l,c=a.x,h=a.y;const d=(0,i.getCurrentTransform)(r),u=0===d[0]&&0===d[3]||0===d[1]&&0===d[2],p=u?s.slice(0):null;for(let i=0,g=0,m=t.length;i100&&(c=100),this.current.fontSizeScale=e/c,this.ctx.font=`${o} ${a} ${c}px ${l}`}setTextRenderingMode(t){this.current.textRenderingMode=t}setTextRise(t){this.current.textRise=t}moveText(t,e){this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=e}setLeadingMoveText(t,e){this.setLeading(-e),this.moveText(t,e)}setTextMatrix(t,e,s,i,n,r){this.current.textMatrix=[t,e,s,i,n,r],this.current.textMatrixScale=Math.hypot(t,e),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(t,e,s,r){const a=this.ctx,o=this.current,l=o.font,c=o.textRenderingMode,h=o.fontSize/o.fontSizeScale,d=c&n.TextRenderingMode.FILL_STROKE_MASK,u=!!(c&n.TextRenderingMode.ADD_TO_PATH_FLAG),p=o.patternFill&&!l.missingFile;let g;(l.disableFontFace||u||p)&&(g=l.getPathGenerator(this.commonObjs,t)),l.disableFontFace||p?(a.save(),a.translate(e,s),a.beginPath(),g(a,h),r&&a.setTransform(...r),d!==n.TextRenderingMode.FILL&&d!==n.TextRenderingMode.FILL_STROKE||a.fill(),d!==n.TextRenderingMode.STROKE&&d!==n.TextRenderingMode.FILL_STROKE||a.stroke(),a.restore()):(d!==n.TextRenderingMode.FILL&&d!==n.TextRenderingMode.FILL_STROKE||a.fillText(t,e,s),d!==n.TextRenderingMode.STROKE&&d!==n.TextRenderingMode.FILL_STROKE||a.strokeText(t,e,s)),u&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:(0,i.getCurrentTransform)(a),x:e,y:s,fontSize:h,addToPath:g})}get isFontSubpixelAAEnabled(){const{context:t}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);t.scale(1.5,1),t.fillText("I",0,10);const e=t.getImageData(0,0,10,10).data;let s=!1;for(let i=3;i0&&e[i]<255){s=!0;break}return(0,n.shadow)(this,"isFontSubpixelAAEnabled",s)}showText(t){const e=this.current,s=e.font;if(s.isType3Font)return this.showType3Text(t);const a=e.fontSize;if(0===a)return;const o=this.ctx,l=e.fontSizeScale,c=e.charSpacing,h=e.wordSpacing,d=e.fontDirection,u=e.textHScale*d,p=t.length,g=s.vertical,m=g?1:-1,f=s.defaultVMetrics,b=a*e.fontMatrix[0],_=e.textRenderingMode===n.TextRenderingMode.FILL&&!s.disableFontFace&&!e.patternFill;let A;if(o.save(),o.transform(...e.textMatrix),o.translate(e.x,e.y+e.textRise),d>0?o.scale(u,-1):o.scale(u,1),e.patternFill){o.save();const t=e.fillColor.getPattern(o,this,(0,i.getCurrentTransformInverse)(o),r.PathType.FILL);A=(0,i.getCurrentTransform)(o),o.restore(),o.fillStyle=t}let y=e.lineWidth;const v=e.textMatrixScale;if(0===v||0===y){const t=e.textRenderingMode&n.TextRenderingMode.FILL_STROKE_MASK;t!==n.TextRenderingMode.STROKE&&t!==n.TextRenderingMode.FILL_STROKE||(y=this.getSinglePixelWidth())}else y/=v;1!==l&&(o.scale(l,l),y/=l),o.lineWidth=y;let S,x=0;for(S=0;S0){const t=1e3*o.measureText(r).width/a*l;if(Cnew T(t,this.commonObjs,this.objs,this.canvasFactory)};e=new r.TilingPattern(t,s,this.ctx,a,n)}else e=this._getPattern(t[1],t[2]);return e}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(t,e,s){const i=this.selectColor?.(t,e,s)||n.Util.makeHexColor(t,e,s);this.ctx.strokeStyle=i,this.current.strokeColor=i}setFillRGBColor(t,e,s){const i=this.selectColor?.(t,e,s)||n.Util.makeHexColor(t,e,s);this.ctx.fillStyle=i,this.current.fillColor=i,this.current.patternFill=!1}_getPattern(t,e=null){let s;return this.cachedPatterns.has(t)?s=this.cachedPatterns.get(t):(s=(0,r.getShadingPattern)(this.objs.get(t)),this.cachedPatterns.set(t,s)),e&&(s.matrix=e),s}shadingFill(t){if(!this.contentVisible)return;const e=this.ctx;this.save();const s=this._getPattern(t);e.fillStyle=s.getPattern(e,this,(0,i.getCurrentTransformInverse)(e),r.PathType.SHADING);const a=(0,i.getCurrentTransformInverse)(e);if(a){const t=e.canvas,s=t.width,i=t.height,r=n.Util.applyTransform([0,0],a),o=n.Util.applyTransform([0,i],a),l=n.Util.applyTransform([s,0],a),c=n.Util.applyTransform([s,i],a),h=Math.min(r[0],o[0],l[0],c[0]),d=Math.min(r[1],o[1],l[1],c[1]),u=Math.max(r[0],o[0],l[0],c[0]),p=Math.max(r[1],o[1],l[1],c[1]);this.ctx.fillRect(h,d,u-h,p-d)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){(0,n.unreachable)("Should not call beginInlineImage")}beginImageData(){(0,n.unreachable)("Should not call beginImageData")}paintFormXObjectBegin(t,e){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(t)&&6===t.length&&this.transform(...t),this.baseTransform=(0,i.getCurrentTransform)(this.ctx),e)){const t=e[2]-e[0],s=e[3]-e[1];this.ctx.rect(e[0],e[1],t,s),this.current.updateRectMinMax((0,i.getCurrentTransform)(this.ctx),e),this.clip(),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(t){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const e=this.ctx;t.isolated||(0,n.info)("TODO: Support non-isolated groups."),t.knockout&&(0,n.warn)("Knockout groups not supported.");const s=(0,i.getCurrentTransform)(e);if(t.matrix&&e.transform(...t.matrix),!t.bbox)throw new Error("Bounding box is required.");let r=n.Util.getAxialAlignedBoundingBox(t.bbox,(0,i.getCurrentTransform)(e));const a=[0,0,e.canvas.width,e.canvas.height];r=n.Util.intersect(r,a)||[0,0,0,0];const o=Math.floor(r[0]),c=Math.floor(r[1]);let h=Math.max(Math.ceil(r[2])-o,1),d=Math.max(Math.ceil(r[3])-c,1),u=1,p=1;h>l&&(u=h/l,h=l),d>l&&(p=d/l,d=l),this.current.startNewPathAndClipBox([0,0,h,d]);let g="groupAt"+this.groupLevel;t.smask&&(g+="_smask_"+this.smaskCounter++%2);const m=this.cachedCanvases.getCanvas(g,h,d),b=m.context;b.scale(1/u,1/p),b.translate(-o,-c),b.transform(...s),t.smask?this.smaskStack.push({canvas:m.canvas,context:b,offsetX:o,offsetY:c,scaleX:u,scaleY:p,subtype:t.smask.subtype,backdrop:t.smask.backdrop,transferMap:t.smask.transferMap||null,startTransformInverse:null}):(e.setTransform(1,0,0,1,0,0),e.translate(o,c),e.scale(u,p),e.save()),f(e,b),this.ctx=b,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(e),this.groupLevel++}endGroup(t){if(!this.contentVisible)return;this.groupLevel--;const e=this.ctx,s=this.groupStack.pop();if(this.ctx=s,this.ctx.imageSmoothingEnabled=!1,t.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const t=(0,i.getCurrentTransform)(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...t);const s=n.Util.getAxialAlignedBoundingBox([0,0,e.canvas.width,e.canvas.height],t);this.ctx.drawImage(e.canvas,0,0),this.ctx.restore(),this.compose(s)}}beginAnnotation(t,e,s,r,a){if(this.#J(),b(this.ctx,this.foregroundColor),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),Array.isArray(e)&&4===e.length){const r=e[2]-e[0],o=e[3]-e[1];if(a&&this.annotationCanvasMap){(s=s.slice())[4]-=e[0],s[5]-=e[1],(e=e.slice())[0]=e[1]=0,e[2]=r,e[3]=o;const[a,l]=n.Util.singularValueDecompose2dScale((0,i.getCurrentTransform)(this.ctx)),{viewportScale:c}=this,h=Math.ceil(r*this.outputScaleX*c),d=Math.ceil(o*this.outputScaleY*c);this.annotationCanvas=this.canvasFactory.create(h,d);const{canvas:u,context:p}=this.annotationCanvas;this.annotationCanvasMap.set(t,u),this.annotationCanvas.savedCtx=this.ctx,this.ctx=p,this.ctx.setTransform(a,0,0,-l,0,o*l),b(this.ctx,this.foregroundColor)}else b(this.ctx,this.foregroundColor),this.ctx.rect(e[0],e[1],r,o),this.ctx.clip(),this.endPath()}this.current=new p(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...s),this.transform(...r)}endAnnotation(){this.annotationCanvas&&(this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(t){if(!this.contentVisible)return;const e=t.count;(t=this.getObject(t.data,t)).count=e;const s=this.ctx,i=this.processingType3;if(i&&(void 0===i.compiled&&(i.compiled=function(t){const{width:e,height:s}=t;if(e>c||s>c)return null;const i=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),n=e+1;let r,a,o,l=new Uint8Array(n*(s+1));const h=e+7&-8;let d=new Uint8Array(h*s),u=0;for(const c of t.data){let t=128;for(;t>0;)d[u++]=c&t?0:255,t>>=1}let p=0;for(u=0,0!==d[u]&&(l[0]=1,++p),a=1;a>2)+(d[u+1]?4:0)+(d[u-h+1]?8:0),i[t]&&(l[o+a]=i[t],++p),u++;if(d[u-h]!==d[u]&&(l[o+a]=d[u]?2:4,++p),p>1e3)return null}for(u=h*(s-1),o=r*n,0!==d[u]&&(l[o]=8,++p),a=1;a1e3)return null;const g=new Int32Array([0,n,-1,0,-n,0,0,0,1]),m=new Path2D;for(r=0;p&&r<=s;r++){let t=r*n;const s=t+e;for(;t>4,l[t]&=a>>2|a<<2),m.lineTo(t%n,t/n|0),l[t]||--p}while(i!==t);--r}return d=null,l=null,function(t){t.save(),t.scale(1/e,-1/s),t.translate(0,-s),t.fill(m),t.beginPath(),t.restore()}}(t)),i.compiled))return void i.compiled(s);const n=this._createMaskCanvas(t),r=n.canvas;s.save(),s.setTransform(1,0,0,1,0,0),s.drawImage(r,n.offsetX,n.offsetY),s.restore(),this.compose()}paintImageMaskXObjectRepeat(t,e,s=0,r=0,a,o){if(!this.contentVisible)return;t=this.getObject(t.data,t);const l=this.ctx;l.save();const c=(0,i.getCurrentTransform)(l);l.transform(e,s,r,a,0,0);const h=this._createMaskCanvas(t);l.setTransform(1,0,0,1,0,0);for(let i=0,d=o.length;ie?a/e:1,n=r>e?r/e:1}}this._cachedScaleForStroking=[s,n]}return this._cachedScaleForStroking}rescaleAndStroke(t){const{ctx:e}=this,{lineWidth:s}=this.current,[n,r]=this.getScaleForStroking();if(e.lineWidth=s||1,1===n&&1===r)return void e.stroke();let a,o,l;t&&(a=(0,i.getCurrentTransform)(e),o=e.getLineDash().slice(),l=e.lineDashOffset),e.scale(n,r);const c=Math.max(n,r);e.setLineDash(e.getLineDash().map(t=>t/c)),e.lineDashOffset/=c,e.stroke(),t&&(e.setTransform(...a),e.setLineDash(o),e.lineDashOffset=l)}isContentVisible(){for(let t=this.markedContentStack.length-1;t>=0;t--)if(!this.markedContentStack[t].visible)return!1;return!0}}e.CanvasGraphics=T;for(const w in n.OPS)void 0!==T.prototype[w]&&(T.prototype[n.OPS[w]]=T.prototype[w])},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TilingPattern=e.PathType=void 0,e.getShadingPattern=function(t){switch(t[0]){case"RadialAxial":return new c(t);case"Mesh":return new u(t);case"Dummy":return new p}throw new Error(`Unknown IR type: ${t[0]}`)};var i=s(1),n=s(8),r=s(3);const a={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function o(t,e){if(!e||r.isNodeJS)return;const s=e[2]-e[0],i=e[3]-e[1],n=new Path2D;n.rect(e[0],e[1],s,i),t.clip(n)}e.PathType=a;class l{constructor(){this.constructor===l&&(0,i.unreachable)("Cannot initialize BaseShadingPattern.")}getPattern(){(0,i.unreachable)("Abstract method `getPattern` called.")}}class c extends l{constructor(t){super(),this._type=t[1],this._bbox=t[2],this._colorStops=t[3],this._p0=t[4],this._p1=t[5],this._r0=t[6],this._r1=t[7],this.matrix=null}_createGradient(t){let e;"axial"===this._type?e=t.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(e=t.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const s of this._colorStops)e.addColorStop(s[0],s[1]);return e}getPattern(t,e,s,r){let l;if(r===a.STROKE||r===a.FILL){const a=e.current.getClippedPathBoundingBox(r,(0,n.getCurrentTransform)(t))||[0,0,0,0],h=Math.ceil(a[2]-a[0])||1,d=Math.ceil(a[3]-a[1])||1,u=e.cachedCanvases.getCanvas("pattern",h,d,!0),p=u.context;p.clearRect(0,0,p.canvas.width,p.canvas.height),p.beginPath(),p.rect(0,0,p.canvas.width,p.canvas.height),p.translate(-a[0],-a[1]),s=i.Util.transform(s,[1,0,0,1,a[0],a[1]]),p.transform(...e.baseTransform),this.matrix&&p.transform(...this.matrix),o(p,this._bbox),p.fillStyle=this._createGradient(p),p.fill(),l=t.createPattern(u.canvas,"no-repeat");const g=new DOMMatrix(s);try{l.setTransform(g)}catch(c){(0,i.warn)(`RadialAxialShadingPattern.getPattern: "${c?.message}".`)}}else o(t,this._bbox),l=this._createGradient(t);return l}}function h(t,e,s,i,n,r,a,o){const l=e.coords,c=e.colors,h=t.data,d=4*t.width;let u;l[s+1]>l[i+1]&&(u=s,s=i,i=u,u=r,r=a,a=u),l[i+1]>l[n+1]&&(u=i,i=n,n=u,u=a,a=o,o=u),l[s+1]>l[i+1]&&(u=s,s=i,i=u,u=r,r=a,a=u);const p=(l[s]+e.offsetX)*e.scaleX,g=(l[s+1]+e.offsetY)*e.scaleY,m=(l[i]+e.offsetX)*e.scaleX,f=(l[i+1]+e.offsetY)*e.scaleY,b=(l[n]+e.offsetX)*e.scaleX,_=(l[n+1]+e.offsetY)*e.scaleY;if(g>=_)return;const A=c[r],y=c[r+1],v=c[r+2],S=c[a],x=c[a+1],C=c[a+2],E=c[o],P=c[o+1],T=c[o+2],w=Math.round(g),k=Math.round(_);let M,F,R,D,I,O,L,N;for(let j=w;j<=k;j++){if(j_?1:f===_?0:(f-j)/(f-_),M=m-(m-b)*t,F=S-(S-E)*t,R=x-(x-P)*t,D=C-(C-T)*t}let t;t=j_?1:(g-j)/(g-_),I=p-(p-b)*t,O=A-(A-E)*t,L=y-(y-P)*t,N=v-(v-T)*t;const e=Math.round(Math.min(M,I)),s=Math.round(Math.max(M,I));let i=d*j+4*e;for(let n=e;n<=s;n++)t=(M-n)/(M-I),t<0?t=0:t>1&&(t=1),h[i++]=F-(F-O)*t|0,h[i++]=R-(R-L)*t|0,h[i++]=D-(D-N)*t|0,h[i++]=255}}function d(t,e,s){const i=e.coords,n=e.colors;let r,a;switch(e.type){case"lattice":const o=e.verticesPerRow,l=Math.floor(i.length/o)-1,c=o-1;for(r=0;r=i?n=i:s=n/t,{scale:s,size:n}}clipBbox(t,e,s,i,r){const a=i-e,o=r-s;t.ctx.rect(e,s,a,o),t.current.updateRectMinMax((0,n.getCurrentTransform)(t.ctx),[e,s,i,r]),t.clip(),t.endPath()}setFillAndStrokeStyleToContext(t,e,s){const n=t.ctx,r=t.current;switch(e){case g:const t=this.ctx;n.fillStyle=t.fillStyle,n.strokeStyle=t.strokeStyle,r.fillColor=t.fillStyle,r.strokeColor=t.strokeStyle;break;case m:const a=i.Util.makeHexColor(s[0],s[1],s[2]);n.fillStyle=a,n.strokeStyle=a,r.fillColor=a,r.strokeColor=a;break;default:throw new i.FormatError(`Unsupported paint type: ${e}`)}}getPattern(t,e,s,n){let r=s;n!==a.SHADING&&(r=i.Util.transform(r,e.baseTransform),this.matrix&&(r=i.Util.transform(r,this.matrix)));const o=this.createPatternCanvas(e);let l=new DOMMatrix(r);l=l.translate(o.offsetX,o.offsetY),l=l.scale(1/o.scaleX,1/o.scaleY);const c=t.createPattern(o.canvas,"repeat");try{c.setTransform(l)}catch(h){(0,i.warn)(`TilingPattern.getPattern: "${h?.message}".`)}return c}}e.TilingPattern=f},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.applyMaskImageData=function({src:t,srcPos:e=0,dest:s,destPos:n=0,width:r,height:a,inverseDecode:o=!1}){const l=i.FeatureTest.isLittleEndian?4278190080:255,[c,h]=o?[0,l]:[l,0],d=r>>3,u=7&r,p=t.length;s=new Uint32Array(s.buffer);for(let i=0;i{Object.defineProperty(e,"__esModule",{value:!0}),e.GlobalWorkerOptions=void 0;const s=Object.create(null);e.GlobalWorkerOptions=s,s.workerPort=void 0===s.workerPort?null:s.workerPort,s.workerSrc=void 0===s.workerSrc?"":s.workerSrc},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.MessageHandler=void 0;var i=s(1);const n=1,r=2,a=1,o=2,l=3,c=4,h=5,d=6,u=7,p=8;function g(t){switch(t instanceof Error||"object"==typeof t&&null!==t||(0,i.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),t.name){case"AbortException":return new i.AbortException(t.message);case"MissingPDFException":return new i.MissingPDFException(t.message);case"PasswordException":return new i.PasswordException(t.message,t.code);case"UnexpectedResponseException":return new i.UnexpectedResponseException(t.message,t.status);case"UnknownErrorException":return new i.UnknownErrorException(t.message,t.details);default:return new i.UnknownErrorException(t.message,t.toString())}}e.MessageHandler=class{constructor(t,e,s){this.sourceName=t,this.targetName=e,this.comObj=s,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=t=>{const e=t.data;if(e.targetName!==this.sourceName)return;if(e.stream)return void this._processStreamMessage(e);if(e.callback){const t=e.callbackId,s=this.callbackCapabilities[t];if(!s)throw new Error(`Cannot resolve callback ${t}`);if(delete this.callbackCapabilities[t],e.callback===n)s.resolve(e.data);else{if(e.callback!==r)throw new Error("Unexpected callback case");s.reject(g(e.reason))}return}const i=this.actionHandler[e.action];if(!i)throw new Error(`Unknown action from worker: ${e.action}`);if(e.callbackId){const t=this.sourceName,a=e.sourceName;return void new Promise(function(t){t(i(e.data))}).then(function(i){s.postMessage({sourceName:t,targetName:a,callback:n,callbackId:e.callbackId,data:i})},function(i){s.postMessage({sourceName:t,targetName:a,callback:r,callbackId:e.callbackId,reason:g(i)})})}e.streamId?this._createStreamSink(e):i(e.data)},s.addEventListener("message",this._onComObjOnMessage)}on(t,e){const s=this.actionHandler;if(s[t])throw new Error(`There is already an actionName called "${t}"`);s[t]=e}send(t,e,s){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,data:e},s)}sendWithPromise(t,e,s){const n=this.callbackId++,r=(0,i.createPromiseCapability)();this.callbackCapabilities[n]=r;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,callbackId:n,data:e},s)}catch(a){r.reject(a)}return r.promise}sendWithStream(t,e,s,n){const r=this.streamId++,o=this.sourceName,l=this.targetName,c=this.comObj;return new ReadableStream({start:s=>{const a=(0,i.createPromiseCapability)();return this.streamControllers[r]={controller:s,startCall:a,pullCall:null,cancelCall:null,isClosed:!1},c.postMessage({sourceName:o,targetName:l,action:t,streamId:r,data:e,desiredSize:s.desiredSize},n),a.promise},pull:t=>{const e=(0,i.createPromiseCapability)();return this.streamControllers[r].pullCall=e,c.postMessage({sourceName:o,targetName:l,stream:d,streamId:r,desiredSize:t.desiredSize}),e.promise},cancel:t=>{(0,i.assert)(t instanceof Error,"cancel must have a valid reason");const e=(0,i.createPromiseCapability)();return this.streamControllers[r].cancelCall=e,this.streamControllers[r].isClosed=!0,c.postMessage({sourceName:o,targetName:l,stream:a,streamId:r,reason:g(t)}),e.promise}},s)}_createStreamSink(t){const e=t.streamId,s=this.sourceName,n=t.sourceName,r=this.comObj,a=this,o=this.actionHandler[t.action],d={enqueue(t,a=1,o){if(this.isCancelled)return;const l=this.desiredSize;this.desiredSize-=a,l>0&&this.desiredSize<=0&&(this.sinkCapability=(0,i.createPromiseCapability)(),this.ready=this.sinkCapability.promise),r.postMessage({sourceName:s,targetName:n,stream:c,streamId:e,chunk:t},o)},close(){this.isCancelled||(this.isCancelled=!0,r.postMessage({sourceName:s,targetName:n,stream:l,streamId:e}),delete a.streamSinks[e])},error(t){(0,i.assert)(t instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,r.postMessage({sourceName:s,targetName:n,stream:h,streamId:e,reason:g(t)}))},sinkCapability:(0,i.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:t.desiredSize,ready:null};d.sinkCapability.resolve(),d.ready=d.sinkCapability.promise,this.streamSinks[e]=d,new Promise(function(e){e(o(t.data,d))}).then(function(){r.postMessage({sourceName:s,targetName:n,stream:p,streamId:e,success:!0})},function(t){r.postMessage({sourceName:s,targetName:n,stream:p,streamId:e,reason:g(t)})})}_processStreamMessage(t){const e=t.streamId,s=this.sourceName,n=t.sourceName,r=this.comObj,m=this.streamControllers[e],f=this.streamSinks[e];switch(t.stream){case p:t.success?m.startCall.resolve():m.startCall.reject(g(t.reason));break;case u:t.success?m.pullCall.resolve():m.pullCall.reject(g(t.reason));break;case d:if(!f){r.postMessage({sourceName:s,targetName:n,stream:u,streamId:e,success:!0});break}f.desiredSize<=0&&t.desiredSize>0&&f.sinkCapability.resolve(),f.desiredSize=t.desiredSize,new Promise(function(t){t(f.onPull&&f.onPull())}).then(function(){r.postMessage({sourceName:s,targetName:n,stream:u,streamId:e,success:!0})},function(t){r.postMessage({sourceName:s,targetName:n,stream:u,streamId:e,reason:g(t)})});break;case c:if((0,i.assert)(m,"enqueue should have stream controller"),m.isClosed)break;m.controller.enqueue(t.chunk);break;case l:if((0,i.assert)(m,"close should have stream controller"),m.isClosed)break;m.isClosed=!0,m.controller.close(),this._deleteStreamController(m,e);break;case h:(0,i.assert)(m,"error should have stream controller"),m.controller.error(g(t.reason)),this._deleteStreamController(m,e);break;case o:t.success?m.cancelCall.resolve():m.cancelCall.reject(g(t.reason)),this._deleteStreamController(m,e);break;case a:if(!f)break;new Promise(function(e){e(f.onCancel&&f.onCancel(g(t.reason)))}).then(function(){r.postMessage({sourceName:s,targetName:n,stream:o,streamId:e,success:!0})},function(t){r.postMessage({sourceName:s,targetName:n,stream:o,streamId:e,reason:g(t)})}),f.sinkCapability.reject(g(t.reason)),f.isCancelled=!0,delete this.streamSinks[e];break;default:throw new Error("Unexpected stream case")}}async _deleteStreamController(t,e){await Promise.allSettled([t.startCall&&t.startCall.promise,t.pullCall&&t.pullCall.promise,t.cancelCall&&t.cancelCall.promise]),delete this.streamControllers[e]}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Metadata=void 0;var i=s(1);e.Metadata=class{#Q;#Z;constructor({parsedData:t,rawData:e}){this.#Q=t,this.#Z=e}getRaw(){return this.#Z}get(t){return this.#Q.get(t)??null}getAll(){return(0,i.objectFromMap)(this.#Q)}has(t){return this.#Q.has(t)}}},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.OptionalContentConfig=void 0;var i=s(1);const n=Symbol("INTERNAL");class r{#tt=!0;constructor(t,e){this.name=t,this.intent=e}get visible(){return this.#tt}_setVisible(t,e){t!==n&&(0,i.unreachable)("Internal method `_setVisible` called."),this.#tt=e}}e.OptionalContentConfig=class{#et=!0;#st=new Map;#it=null;#nt=null;constructor(t){if(this.name=null,this.creator=null,null!==t){this.name=t.name,this.creator=t.creator,this.#nt=t.order;for(const e of t.groups)this.#st.set(e.id,new r(e.name,e.intent));if("OFF"===t.baseState)for(const t of this.#st.values())t._setVisible(n,!1);for(const e of t.on)this.#st.get(e)._setVisible(n,!0);for(const e of t.off)this.#st.get(e)._setVisible(n,!1);this.#it=new Map;for(const[t,e]of this.#st)this.#it.set(t,e.visible)}}#rt(t){const e=t.length;if(e<2)return!0;const s=t[0];for(let n=1;n0?(0,i.objectFromMap)(this.#st):null}getGroup(t){return this.#st.get(t)||null}}},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.PDFDataTransportStream=void 0;var i=s(1),n=s(8);e.PDFDataTransportStream=class{constructor(t,e){(0,i.assert)(e,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=t.progressiveDone||!1,this._contentDispositionFilename=t.contentDispositionFilename||null;const s=t.initialData;if(s?.length>0){const t=new Uint8Array(s).buffer;this._queuedChunks.push(t)}this._pdfDataRangeTransport=e,this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._contentLength=t.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((t,e)=>{this._onReceiveData({begin:t,chunk:e})}),this._pdfDataRangeTransport.addProgressListener((t,e)=>{this._onProgress({loaded:t,total:e})}),this._pdfDataRangeTransport.addProgressiveReadListener(t=>{this._onReceiveData({chunk:t})}),this._pdfDataRangeTransport.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),this._pdfDataRangeTransport.transportReady()}_onReceiveData(t){const e=new Uint8Array(t.chunk).buffer;if(void 0===t.begin)this._fullRequestReader?this._fullRequestReader._enqueue(e):this._queuedChunks.push(e);else{const s=this._rangeReaders.some(function(s){return s._begin===t.begin&&(s._enqueue(e),!0)});(0,i.assert)(s,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}_onProgress(t){if(void 0===t.total){const e=this._rangeReaders[0];e?.onProgress&&e.onProgress({loaded:t.loaded})}else{const e=this._fullRequestReader;e?.onProgress&&e.onProgress({loaded:t.loaded,total:t.total})}}_onProgressiveDone(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(t){const e=this._rangeReaders.indexOf(t);e>=0&&this._rangeReaders.splice(e,1)}getFullReader(){(0,i.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const t=this._queuedChunks;return this._queuedChunks=null,new r(this,t,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(t,e){if(e<=this._progressiveDataLength)return null;const s=new a(this,t,e);return this._pdfDataRangeTransport.requestDataRange(t,e),this._rangeReaders.push(s),s}cancelAllRequests(t){this._fullRequestReader&&this._fullRequestReader.cancel(t);for(const e of this._rangeReaders.slice(0))e.cancel(t);this._pdfDataRangeTransport.abort()}};class r{constructor(t,e,s=!1,i=null){this._stream=t,this._done=s||!1,this._filename=(0,n.isPdfFile)(i)?i:null,this._queuedChunks=e||[],this._loaded=0;for(const n of this._queuedChunks)this._loaded+=n.byteLength;this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}_enqueue(t){this._done||(this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunks.push(t),this._loaded+=t.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const t=(0,i.createPromiseCapability)();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class a{constructor(t,e,s){this._stream=t,this._begin=e,this._end=s,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(t){if(!this._done){if(0===this._requests.length)this._queuedChunk=t;else{this._requests.shift().resolve({value:t,done:!1});for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){const t=this._queuedChunk;return this._queuedChunk=null,{value:t,done:!1}}if(this._done)return{value:void 0,done:!0};const t=(0,i.createPromiseCapability)();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}},(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.XfaText=void 0;class s{static textContent(t){const e=[],i={items:e,styles:Object.create(null)};return function t(i){if(!i)return;let n=null;const r=i.name;if("#text"===r)n=i.value;else{if(!s.shouldBuildText(r))return;i?.attributes?.textContent?n=i.attributes.textContent:i.value&&(n=i.value)}if(null!==n&&e.push({str:n}),i.children)for(const e of i.children)t(e)}(t),i}static shouldBuildText(t){return!("textarea"===t||"input"===t||"option"===t||"select"===t)}}e.XfaText=s},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.NodeStandardFontDataFactory=e.NodeCanvasFactory=e.NodeCMapReaderFactory=void 0;var i=s(9);const n=function(t){return new Promise((e,s)=>{require$$5.readFile(t,(t,i)=>{!t&&i?e(new Uint8Array(i)):s(new Error(t))})})};class r extends i.BaseCanvasFactory{_createCanvas(t,e){return require$$5.createCanvas(t,e)}}e.NodeCanvasFactory=r;class a extends i.BaseCMapReaderFactory{_fetchData(t,e){return n(t).then(t=>({cMapData:t,compressionType:e}))}}e.NodeCMapReaderFactory=a;class o extends i.BaseStandardFontDataFactory{_fetchData(t){return n(t)}}e.NodeStandardFontDataFactory=o},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.AnnotationEditorLayer=void 0;var i=s(7),n=s(1),r=s(23),a=s(24);class o{#at;#ot=!1;#lt=this.pointerup.bind(this);#ct=this.pointerdown.bind(this);#ht=new Map;#dt=!1;#ut=!1;#pt;static _initialized=!1;constructor(t){o._initialized||(o._initialized=!0,r.FreeTextEditor.initialize(t.l10n),a.InkEditor.initialize(t.l10n),t.uiManager.registerEditorTypes([r.FreeTextEditor,a.InkEditor])),this.#pt=t.uiManager,this.annotationStorage=t.annotationStorage,this.pageIndex=t.pageIndex,this.div=t.div,this.#at=t.accessibilityManager,this.#pt.addLayer(this)}updateToolbar(t){this.#pt.updateToolbar(t)}updateMode(t=this.#pt.getMode()){this.#gt(),t===n.AnnotationEditorType.INK?(this.addInkEditorIfNeeded(!1),this.disableClick()):this.enableClick(),this.#pt.unselectAll()}addInkEditorIfNeeded(t){if(t||this.#pt.getMode()===n.AnnotationEditorType.INK){if(!t)for(const t of this.#ht.values())if(t.isEmpty())return void t.setInBackground();this.#mt({offsetX:0,offsetY:0}).setInBackground()}}setEditingState(t){this.#pt.setEditingState(t)}addCommands(t){this.#pt.addCommands(t)}enable(){this.div.style.pointerEvents="auto";for(const t of this.#ht.values())t.enableEditing()}disable(){this.div.style.pointerEvents="none";for(const t of this.#ht.values())t.disableEditing()}setActiveEditor(t){this.#pt.getActive()!==t&&this.#pt.setActiveEditor(t)}enableClick(){this.div.addEventListener("pointerdown",this.#ct),this.div.addEventListener("pointerup",this.#lt)}disableClick(){this.div.removeEventListener("pointerdown",this.#ct),this.div.removeEventListener("pointerup",this.#lt)}attach(t){this.#ht.set(t.id,t)}detach(t){this.#ht.delete(t.id),this.#at?.removePointerInTextLayer(t.contentDiv)}remove(t){this.#pt.removeEditor(t),this.detach(t),this.annotationStorage.remove(t.id),t.div.style.display="none",setTimeout(()=>{t.div.style.display="",t.div.remove(),t.isAttachedToDOM=!1,document.activeElement===document.body&&this.#pt.focusMainContainer()},0),this.#ut||this.addInkEditorIfNeeded(!1)}#ft(t){t.parent!==this&&(this.attach(t),t.pageIndex=this.pageIndex,t.parent?.detach(t),t.parent=this,t.div&&t.isAttachedToDOM&&(t.div.remove(),this.div.append(t.div)))}add(t){if(this.#ft(t),this.#pt.addEditor(t),this.attach(t),!t.isAttachedToDOM){const e=t.render();this.div.append(e),t.isAttachedToDOM=!0}this.moveEditorInDOM(t),t.onceAdded(),this.addToAnnotationStorage(t)}moveEditorInDOM(t){this.#at?.moveElementInDOM(this.div,t.div,t.contentDiv,!0)}addToAnnotationStorage(t){t.isEmpty()||this.annotationStorage.has(t.id)||this.annotationStorage.setValue(t.id,t)}addOrRebuild(t){t.needsToBeRebuilt()?t.rebuild():this.add(t)}addANewEditor(t){this.addCommands({cmd:()=>{this.addOrRebuild(t)},undo:()=>{t.remove()},mustExec:!0})}addUndoableEditor(t){this.addCommands({cmd:()=>{this.addOrRebuild(t)},undo:()=>{t.remove()},mustExec:!1})}getNextId(){return this.#pt.getId()}#bt(t){switch(this.#pt.getMode()){case n.AnnotationEditorType.FREETEXT:return new r.FreeTextEditor(t);case n.AnnotationEditorType.INK:return new a.InkEditor(t)}return null}deserialize(t){switch(t.annotationType){case n.AnnotationEditorType.FREETEXT:return r.FreeTextEditor.deserialize(t,this);case n.AnnotationEditorType.INK:return a.InkEditor.deserialize(t,this)}return null}#mt(t){const e=this.getNextId(),s=this.#bt({parent:this,id:e,x:t.offsetX,y:t.offsetY});return s&&this.add(s),s}setSelected(t){this.#pt.setSelected(t)}toggleSelected(t){this.#pt.toggleSelected(t)}isSelected(t){return this.#pt.isSelected(t)}unselect(t){this.#pt.unselect(t)}pointerup(t){const e=i.KeyboardManager.platform.isMac;0!==t.button||t.ctrlKey&&e||t.target===this.div&&this.#dt&&(this.#dt=!1,this.#ot?this.#mt(t):this.#ot=!0)}pointerdown(t){const e=i.KeyboardManager.platform.isMac;if(0!==t.button||t.ctrlKey&&e)return;if(t.target!==this.div)return;this.#dt=!0;const s=this.#pt.getActive();this.#ot=!s||s.isEmpty()}drop(t){const e=t.dataTransfer.getData("text/plain"),s=this.#pt.getEditor(e);if(!s)return;t.preventDefault(),t.dataTransfer.dropEffect="move",this.#ft(s);const i=this.div.getBoundingClientRect(),n=t.clientX-i.x,r=t.clientY-i.y;s.translate(n-s.startX,r-s.startY),this.moveEditorInDOM(s),s.div.focus()}dragover(t){t.preventDefault()}destroy(){this.#pt.getActive()?.parent===this&&this.#pt.setActiveEditor(null);for(const t of this.#ht.values())this.#at?.removePointerInTextLayer(t.contentDiv),t.isAttachedToDOM=!1,t.div.remove(),t.parent=null;this.div=null,this.#ht.clear(),this.#pt.removeLayer(this)}#gt(){this.#ut=!0;for(const t of this.#ht.values())t.isEmpty()&&t.remove();this.#ut=!1}render(t){this.viewport=t.viewport,(0,i.bindEvents)(this,this.div,["dragover","drop"]),this.setDimensions();for(const e of this.#pt.getEditors(this.pageIndex))this.add(e);this.updateMode()}update(t){this.viewport=t.viewport,this.setDimensions(),this.updateMode()}get scaleFactor(){return this.viewport.scale}get pageDimensions(){const[t,e,s,i]=this.viewport.viewBox;return[s-t,i-e]}get viewportBaseDimensions(){const{width:t,height:e,rotation:s}=this.viewport;return s%180==0?[t,e]:[e,t]}setDimensions(){const{width:t,height:e,rotation:s}=this.viewport,i=s%180!=0,n=Math.floor(t)+"px",r=Math.floor(e)+"px";this.div.style.width=i?r:n,this.div.style.height=i?n:r,this.div.setAttribute("data-main-rotation",s)}}e.AnnotationEditorLayer=o},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.FreeTextEditor=void 0;var i=s(1),n=s(7),r=s(6);class a extends r.AnnotationEditor{#_t=this.editorDivBlur.bind(this);#At=this.editorDivFocus.bind(this);#yt=this.editorDivKeydown.bind(this);#vt;#St="";#xt=!1;#Ct;static _freeTextDefaultContent="";static _l10nPromise;static _internalPadding=0;static _defaultColor=null;static _defaultFontSize=10;static _keyboardManager=new n.KeyboardManager([[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],a.prototype.commitOrRemove]]);static _type="freetext";constructor(t){super({...t,name:"freeTextEditor"}),this.#vt=t.color||a._defaultColor||r.AnnotationEditor._defaultLineColor,this.#Ct=t.fontSize||a._defaultFontSize}static initialize(t){this._l10nPromise=new Map(["free_text_default_content","editor_free_text_aria_label"].map(e=>[e,t.get(e)]));const e=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(e.getPropertyValue("--freetext-padding"))}static updateDefaultParams(t,e){switch(t){case i.AnnotationEditorParamsType.FREETEXT_SIZE:a._defaultFontSize=e;break;case i.AnnotationEditorParamsType.FREETEXT_COLOR:a._defaultColor=e}}updateParams(t,e){switch(t){case i.AnnotationEditorParamsType.FREETEXT_SIZE:this.#Et(e);break;case i.AnnotationEditorParamsType.FREETEXT_COLOR:this.#Pt(e)}}static get defaultPropertiesToUpdate(){return[[i.AnnotationEditorParamsType.FREETEXT_SIZE,a._defaultFontSize],[i.AnnotationEditorParamsType.FREETEXT_COLOR,a._defaultColor||r.AnnotationEditor._defaultLineColor]]}get propertiesToUpdate(){return[[i.AnnotationEditorParamsType.FREETEXT_SIZE,this.#Ct],[i.AnnotationEditorParamsType.FREETEXT_COLOR,this.#vt]]}#Et(t){const e=t=>{this.editorDiv.style.fontSize=`calc(${t}px * var(--scale-factor))`,this.translate(0,-(t-this.#Ct)*this.parent.scaleFactor),this.#Ct=t,this.#Tt()},s=this.#Ct;this.parent.addCommands({cmd:()=>{e(t)},undo:()=>{e(s)},mustExec:!0,type:i.AnnotationEditorParamsType.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}#Pt(t){const e=this.#vt;this.parent.addCommands({cmd:()=>{this.#vt=t,this.editorDiv.style.color=t},undo:()=>{this.#vt=e,this.editorDiv.style.color=e},mustExec:!0,type:i.AnnotationEditorParamsType.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}getInitialTranslation(){return[-a._internalPadding*this.parent.scaleFactor,-(a._internalPadding+this.#Ct)*this.parent.scaleFactor]}rebuild(){super.rebuild(),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this))}enableEditMode(){this.isInEditMode()||(this.parent.setEditingState(!1),this.parent.updateToolbar(i.AnnotationEditorType.FREETEXT),super.enableEditMode(),this.enableEditing(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this.div.draggable=!1,this.editorDiv.addEventListener("keydown",this.#yt),this.editorDiv.addEventListener("focus",this.#At),this.editorDiv.addEventListener("blur",this.#_t))}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.disableEditing(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.draggable=!0,this.editorDiv.removeEventListener("keydown",this.#yt),this.editorDiv.removeEventListener("focus",this.#At),this.editorDiv.removeEventListener("blur",this.#_t),this.div.focus(),this.isEditing=!1)}focusin(t){super.focusin(t),t.target!==this.editorDiv&&this.editorDiv.focus()}onceAdded(){this.width||(this.enableEditMode(),this.editorDiv.focus())}isEmpty(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}remove(){this.isEditing=!1,this.parent.setEditingState(!0),super.remove()}#wt(){const t=this.editorDiv.getElementsByTagName("div");if(0===t.length)return this.editorDiv.innerText;const e=[];for(let s=0,i=t.length;sthis.editorDiv?.setAttribute("aria-label",t)),a._l10nPromise.get("free_text_default_content").then(t=>this.editorDiv?.setAttribute("default-content",t)),this.editorDiv.contentEditable=!0;const{style:s}=this.editorDiv;if(s.fontSize=`calc(${this.#Ct}px * var(--scale-factor))`,s.color=this.#vt,this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),(0,n.bindEvents)(this,this.div,["dblclick","keydown"]),this.width){const[s,i]=this.parent.viewportBaseDimensions;this.setAt(t*s,e*i,this.width*s,this.height*i);for(const t of this.#St.split("\n")){const e=document.createElement("div");e.append(t?document.createTextNode(t):document.createElement("br")),this.editorDiv.append(e)}this.div.draggable=!0,this.editorDiv.contentEditable=!1}else this.div.draggable=!1,this.editorDiv.contentEditable=!0;return this.div}get contentDiv(){return this.editorDiv}static deserialize(t,e){const s=super.deserialize(t,e);return s.#Ct=t.fontSize,s.#vt=i.Util.makeHexColor(...t.color),s.#St=t.value,s}serialize(){if(this.isEmpty())return null;const t=a._internalPadding*this.parent.scaleFactor,e=this.getRect(t,t),s=r.AnnotationEditor._colorManager.convert(getComputedStyle(this.editorDiv).color);return{annotationType:i.AnnotationEditorType.FREETEXT,color:s,fontSize:this.#Ct,value:this.#St,pageIndex:this.parent.pageIndex,rect:e,rotation:this.rotation}}}e.FreeTextEditor=a},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.InkEditor=void 0,Object.defineProperty(e,"fitCurve",{enumerable:!0,get:function(){return r.fitCurve}});var i=s(1),n=s(6),r=s(25),a=s(7);const o=16;class l extends n.AnnotationEditor{#kt=0;#Mt=0;#Ft=0;#Rt=this.canvasPointermove.bind(this);#Dt=this.canvasPointerleave.bind(this);#It=this.canvasPointerup.bind(this);#Ot=this.canvasPointerdown.bind(this);#Lt=!1;#Nt=!1;#jt=null;#Ut=null;#Bt=0;#qt=0;#Wt=null;static _defaultColor=null;static _defaultOpacity=1;static _defaultThickness=1;static _l10nPromise;static _type="ink";constructor(t){super({...t,name:"inkEditor"}),this.color=t.color||null,this.thickness=t.thickness||null,this.opacity=t.opacity||null,this.paths=[],this.bezierPath2D=[],this.currentPath=[],this.scaleFactor=1,this.translationX=this.translationY=0,this.x=0,this.y=0}static initialize(t){this._l10nPromise=new Map(["editor_ink_canvas_aria_label","editor_ink_aria_label"].map(e=>[e,t.get(e)]))}static updateDefaultParams(t,e){switch(t){case i.AnnotationEditorParamsType.INK_THICKNESS:l._defaultThickness=e;break;case i.AnnotationEditorParamsType.INK_COLOR:l._defaultColor=e;break;case i.AnnotationEditorParamsType.INK_OPACITY:l._defaultOpacity=e/100}}updateParams(t,e){switch(t){case i.AnnotationEditorParamsType.INK_THICKNESS:this.#zt(e);break;case i.AnnotationEditorParamsType.INK_COLOR:this.#Pt(e);break;case i.AnnotationEditorParamsType.INK_OPACITY:this.#Ht(e)}}static get defaultPropertiesToUpdate(){return[[i.AnnotationEditorParamsType.INK_THICKNESS,l._defaultThickness],[i.AnnotationEditorParamsType.INK_COLOR,l._defaultColor||n.AnnotationEditor._defaultLineColor],[i.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*l._defaultOpacity)]]}get propertiesToUpdate(){return[[i.AnnotationEditorParamsType.INK_THICKNESS,this.thickness||l._defaultThickness],[i.AnnotationEditorParamsType.INK_COLOR,this.color||l._defaultColor||n.AnnotationEditor._defaultLineColor],[i.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*(this.opacity??l._defaultOpacity))]]}#zt(t){const e=this.thickness;this.parent.addCommands({cmd:()=>{this.thickness=t,this.#Gt()},undo:()=>{this.thickness=e,this.#Gt()},mustExec:!0,type:i.AnnotationEditorParamsType.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}#Pt(t){const e=this.color;this.parent.addCommands({cmd:()=>{this.color=t,this.#$t()},undo:()=>{this.color=e,this.#$t()},mustExec:!0,type:i.AnnotationEditorParamsType.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}#Ht(t){t/=100;const e=this.opacity;this.parent.addCommands({cmd:()=>{this.opacity=t,this.#$t()},undo:()=>{this.opacity=e,this.#$t()},mustExec:!0,type:i.AnnotationEditorParamsType.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}rebuild(){super.rebuild(),null!==this.div&&(this.canvas||(this.#Vt(),this.#Xt()),this.isAttachedToDOM||(this.parent.add(this),this.#Yt()),this.#Gt())}remove(){null!==this.canvas&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,this.#Ut.disconnect(),this.#Ut=null,super.remove())}enableEditMode(){this.#Lt||null===this.canvas||(super.enableEditMode(),this.div.draggable=!1,this.canvas.addEventListener("pointerdown",this.#Ot),this.canvas.addEventListener("pointerup",this.#It))}disableEditMode(){this.isInEditMode()&&null!==this.canvas&&(super.disableEditMode(),this.div.draggable=!this.isEmpty(),this.div.classList.remove("editing"),this.canvas.removeEventListener("pointerdown",this.#Ot),this.canvas.removeEventListener("pointerup",this.#It))}onceAdded(){this.div.draggable=!this.isEmpty()}isEmpty(){return 0===this.paths.length||1===this.paths.length&&0===this.paths[0].length}#Kt(){const{width:t,height:e,rotation:s}=this.parent.viewport;switch(s){case 90:return[0,t,t,e];case 180:return[t,e,t,e];case 270:return[e,0,t,e];default:return[0,0,t,e]}}#Jt(){this.ctx.lineWidth=this.thickness*this.parent.scaleFactor/this.scaleFactor,this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.miterLimit=10,this.ctx.strokeStyle=`${this.color}${(0,a.opacityToHex)(this.opacity)}`}#Qt(t,e){this.isEditing=!0,this.#Nt||(this.#Nt=!0,this.#Yt(),this.thickness||=l._defaultThickness,this.color||=l._defaultColor||n.AnnotationEditor._defaultLineColor,this.opacity??=l._defaultOpacity),this.currentPath.push([t,e]),this.#jt=null,this.#Jt(),this.ctx.beginPath(),this.ctx.moveTo(t,e),this.#Wt=()=>{this.#Wt&&(this.#jt&&(this.isEmpty()?(this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)):this.#$t(),this.ctx.lineTo(...this.#jt),this.#jt=null,this.ctx.stroke()),window.requestAnimationFrame(this.#Wt))},window.requestAnimationFrame(this.#Wt)}#Zt(t,e){const[s,i]=this.currentPath.at(-1);t===s&&e===i||(this.currentPath.push([t,e]),this.#jt=[t,e])}#te(t,e){this.ctx.closePath(),this.#Wt=null,t=Math.min(Math.max(t,0),this.canvas.width),e=Math.min(Math.max(e,0),this.canvas.height);const[s,i]=this.currentPath.at(-1);let n;if(t===s&&e===i||this.currentPath.push([t,e]),1!==this.currentPath.length)n=(0,r.fitCurve)(this.currentPath,30,null);else{const s=[t,e];n=[[s,s.slice(),s.slice(),s]]}const a=l.#ee(n);this.currentPath.length=0,this.parent.addCommands({cmd:()=>{this.paths.push(n),this.bezierPath2D.push(a),this.rebuild()},undo:()=>{this.paths.pop(),this.bezierPath2D.pop(),0===this.paths.length?this.remove():(this.canvas||(this.#Vt(),this.#Xt()),this.#Gt())},mustExec:!0})}#$t(){if(this.isEmpty())return void this.#se();this.#Jt();const{canvas:t,ctx:e}=this;e.setTransform(1,0,0,1,0,0),e.clearRect(0,0,t.width,t.height),this.#se();for(const s of this.bezierPath2D)e.stroke(s)}commit(){this.#Lt||(super.commit(),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),this.#Lt=!0,this.div.classList.add("disabled"),this.#Gt(!0),this.parent.addInkEditorIfNeeded(!0),this.parent.moveEditorInDOM(this),this.div.focus())}focusin(t){super.focusin(t),this.enableEditMode()}canvasPointerdown(t){0===t.button&&this.isInEditMode()&&!this.#Lt&&(this.setInForeground(),"mouse"!==t.type&&this.div.focus(),t.stopPropagation(),this.canvas.addEventListener("pointerleave",this.#Dt),this.canvas.addEventListener("pointermove",this.#Rt),this.#Qt(t.offsetX,t.offsetY))}canvasPointermove(t){t.stopPropagation(),this.#Zt(t.offsetX,t.offsetY)}canvasPointerup(t){0===t.button&&this.isInEditMode()&&0!==this.currentPath.length&&(t.stopPropagation(),this.#ie(t),this.setInBackground())}canvasPointerleave(t){this.#ie(t),this.setInBackground()}#ie(t){this.#te(t.offsetX,t.offsetY),this.canvas.removeEventListener("pointerleave",this.#Dt),this.canvas.removeEventListener("pointermove",this.#Rt),this.parent.addToAnnotationStorage(this)}#Vt(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",l._l10nPromise.get("editor_ink_canvas_aria_label").then(t=>this.canvas?.setAttribute("aria-label",t)),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}#Xt(){this.#Ut=new ResizeObserver(t=>{const e=t[0].contentRect;e.width&&e.height&&this.setDimensions(e.width,e.height)}),this.#Ut.observe(this.div)}render(){if(this.div)return this.div;let t,e;this.width&&(t=this.x,e=this.y),super.render(),l._l10nPromise.get("editor_ink_aria_label").then(t=>this.div?.setAttribute("aria-label",t));const[s,i,n,r]=this.#Kt();if(this.setAt(s,i,0,0),this.setDims(n,r),this.#Vt(),this.width){const[s,i]=this.parent.viewportBaseDimensions;this.setAt(t*s,e*i,this.width*s,this.height*i),this.#Nt=!0,this.#Yt(),this.setDims(this.width*s,this.height*i),this.#$t(),this.#ne(),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return this.#Xt(),this.div}#Yt(){if(!this.#Nt)return;const[t,e]=this.parent.viewportBaseDimensions;this.canvas.width=Math.ceil(this.width*t),this.canvas.height=Math.ceil(this.height*e),this.#se()}setDimensions(t,e){const s=Math.round(t),i=Math.round(e);if(this.#Bt===s&&this.#qt===i)return;this.#Bt=s,this.#qt=i,this.canvas.style.visibility="hidden",this.#kt&&Math.abs(this.#kt-t/e)>.01&&(e=Math.ceil(t/this.#kt),this.setDims(t,e));const[n,r]=this.parent.viewportBaseDimensions;this.width=t/n,this.height=e/r,this.#Lt&&this.#re(t,e),this.#Yt(),this.#$t(),this.canvas.style.visibility="visible"}#re(t,e){const s=this.#ae(),i=(t-s)/this.#Ft,n=(e-s)/this.#Mt;this.scaleFactor=Math.min(i,n)}#se(){const t=this.#ae()/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+t,this.translationY*this.scaleFactor+t)}static#ee(t){const e=new Path2D;for(let s=0,i=t.length;s=1?(t.minHeight="16px",t.minWidth=`${Math.round(this.#kt*o)}px`):(t.minWidth="16px",t.minHeight=`${Math.round(o/this.#kt)}px`)}static deserialize(t,e){const s=super.deserialize(t,e);s.thickness=t.thickness,s.color=i.Util.makeHexColor(...t.color),s.opacity=t.opacity;const[n,r]=e.pageDimensions,a=s.width*n,l=s.height*r,c=e.scaleFactor,h=t.thickness/2;s.#kt=a/l,s.#Lt=!0,s.#Bt=Math.round(a),s.#qt=Math.round(l);for(const{bezier:i}of t.paths){const t=[];s.paths.push(t);let e=c*(i[0]-h),n=c*(l-i[1]-h);for(let s=2,a=i.length;s{Object.defineProperty(e,"__esModule",{value:!0}),e.fitCurve=void 0;const i=s(26);e.fitCurve=i},t=>{function e(t,n,r,a,o){var c,h,d,u,p,g,m,f,b,_,A,y,v;if(2===t.length)return y=l.vectorLen(l.subtract(t[0],t[1]))/3,[c=[t[0],l.addArrays(t[0],l.mulItems(n,y)),l.addArrays(t[1],l.mulItems(r,y)),t[1]]];if(h=function(t){var e,s,i,n=[];return t.forEach((t,r)=>{e=r?s+l.vectorLen(l.subtract(t,i)):0,n.push(e),s=e,i=t}),n=n.map(t=>t/s)}(t),[c,u,g]=s(t,h,h,n,r,o),0===u||u.9999&&t<1.0001)break}p=u,m=g}return A=[],(f=l.subtract(t[g-1],t[g+1])).every(t=>0===t)&&(f=l.subtract(t[g-1],t[g]),[f[0],f[1]]=[-f[1],f[0]]),b=l.normalize(f),_=l.mulItems(b,-1),A=(A=A.concat(e(t.slice(0,g+1),n,b,a,o))).concat(e(t.slice(g),_,r,a,o))}function s(t,e,s,i,n,o){var h,d,u;return h=function(t,e,s,i){var n,r,a,o,h,d,u,p,g,m,f,b,_,A,y,v,S,x=t[0],C=t[t.length-1];for(n=[x,null,null,C],r=l.zeros_Xx2x2(e.length),_=0,A=e.length;_n&&(n=i,o=d);return[n,o]}(t,h,e),o&&o({bez:h,points:t,params:e,maxErr:d,maxPoint:u}),[h,d,u]}function i(t,e,s){return s.map((s,i)=>n(t,e[i],s))}function n(t,e,s){var i=l.subtract(c.q(t,s),e),n=c.qprime(t,s),r=l.mulMatrix(i,n),a=l.sum(l.squareItems(n))+2*l.mulMatrix(i,c.qprimeprime(t,s));return 0===a?s:s-r/a}var r=function(t,e){for(var s,i=[0],n=t[0],r=0,a=1;a<=e;a++)s=c.q(t,a/e),r+=l.vectorLen(l.subtract(s,n)),i.push(r),n=s;return i=i.map(t=>t/r)};function a(t,e,s,i){if(e<0)return 0;if(e>1)return 1;for(var n,r,a,o,l=1;l<=i;l++)if(e<=s[l]){a=(l-1)/i,r=l/i,o=(e-(n=s[l-1]))/(s[l]-n)*(r-a)+a;break}return o}function o(t,e){return l.normalize(l.subtract(t,e))}class l{static zeros_Xx2x2(t){for(var e=[];t--;)e.push([0,0]);return e}static mulItems(t,e){return t.map(t=>t*e)}static mulMatrix(t,e){return t.reduce((t,s,i)=>t+s*e[i],0)}static subtract(t,e){return t.map((t,s)=>t-e[s])}static addArrays(t,e){return t.map((t,s)=>t+e[s])}static addItems(t,e){return t.map(t=>t+e)}static sum(t){return t.reduce((t,e)=>t+e)}static dot(t,e){return l.mulMatrix(t,e)}static vectorLen(t){return Math.hypot(...t)}static divItems(t,e){return t.map(t=>t/e)}static squareItems(t){return t.map(t=>t*t)}static normalize(t){return this.divItems(t,this.vectorLen(t))}}class c{static q(t,e){var s=1-e,i=l.mulItems(t[0],s*s*s),n=l.mulItems(t[1],3*s*s*e),r=l.mulItems(t[2],3*s*e*e),a=l.mulItems(t[3],e*e*e);return l.addArrays(l.addArrays(i,n),l.addArrays(r,a))}static qprime(t,e){var s=1-e,i=l.mulItems(l.subtract(t[1],t[0]),3*s*s),n=l.mulItems(l.subtract(t[2],t[1]),6*s*e),r=l.mulItems(l.subtract(t[3],t[2]),3*e*e);return l.addArrays(l.addArrays(i,n),r)}static qprimeprime(t,e){return l.addArrays(l.mulItems(l.addArrays(l.subtract(t[2],l.mulItems(t[1],2)),t[0]),6*(1-e)),l.mulItems(l.addArrays(l.subtract(t[3],l.mulItems(t[2],2)),t[1]),6*e))}}t.exports=function(t,s,i){if(!Array.isArray(t))throw new TypeError("First argument should be an array");if(t.forEach(e=>{if(!Array.isArray(e)||e.some(t=>"number"!=typeof t)||e.length!==t[0].length)throw Error("Each point should be an array of numbers. Each point should have the same amount of numbers.")}),(t=t.filter((e,s)=>0===s||!e.every((e,i)=>e===t[s-1][i]))).length<2)return[];const n=t.length,r=o(t[1],t[0]),a=o(t[n-2],t[n-1]);return e(t,r,a,s,i)},t.exports.fitCubic=e,t.exports.createTangent=o},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.AnnotationLayer=void 0;var i=s(1),n=s(8),r=s(5),a=s(28),o=s(29);const l=1e3,c=new WeakSet;function h(t){return{width:t[2]-t[0],height:t[3]-t[1]}}class d{static create(t){switch(t.data.annotationType){case i.AnnotationType.LINK:return new p(t);case i.AnnotationType.TEXT:return new g(t);case i.AnnotationType.WIDGET:switch(t.data.fieldType){case"Tx":return new f(t);case"Btn":return t.data.radioButton?new _(t):t.data.checkBox?new b(t):new A(t);case"Ch":return new y(t)}return new m(t);case i.AnnotationType.POPUP:return new v(t);case i.AnnotationType.FREETEXT:return new x(t);case i.AnnotationType.LINE:return new C(t);case i.AnnotationType.SQUARE:return new E(t);case i.AnnotationType.CIRCLE:return new P(t);case i.AnnotationType.POLYLINE:return new T(t);case i.AnnotationType.CARET:return new k(t);case i.AnnotationType.INK:return new M(t);case i.AnnotationType.POLYGON:return new w(t);case i.AnnotationType.HIGHLIGHT:return new F(t);case i.AnnotationType.UNDERLINE:return new R(t);case i.AnnotationType.SQUIGGLY:return new D(t);case i.AnnotationType.STRIKEOUT:return new I(t);case i.AnnotationType.STAMP:return new O(t);case i.AnnotationType.FILEATTACHMENT:return new L(t);default:return new u(t)}}}class u{constructor(t,{isRenderable:e=!1,ignoreBorder:s=!1,createQuadrilaterals:i=!1}={}){this.isRenderable=e,this.data=t.data,this.layer=t.layer,this.page=t.page,this.viewport=t.viewport,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderForms=t.renderForms,this.svgFactory=t.svgFactory,this.annotationStorage=t.annotationStorage,this.enableScripting=t.enableScripting,this.hasJSActions=t.hasJSActions,this._fieldObjects=t.fieldObjects,this._mouseState=t.mouseState,e&&(this.container=this._createContainer(s)),i&&(this.quadrilaterals=this._createQuadrilaterals(s))}_createContainer(t=!1){const e=this.data,s=this.page,n=this.viewport,r=document.createElement("section"),{width:a,height:o}=h(e.rect),[l,c,d,u]=n.viewBox,p=d-l,g=u-c;r.setAttribute("data-annotation-id",e.id);const m=i.Util.normalizeRect([e.rect[0],s.view[3]-e.rect[1]+s.view[1],e.rect[2],s.view[3]-e.rect[3]+s.view[1]]);if(!t&&e.borderStyle.width>0){r.style.borderWidth=`${e.borderStyle.width}px`;const t=e.borderStyle.horizontalCornerRadius,s=e.borderStyle.verticalCornerRadius;if(t>0||s>0){const e=`calc(${t}px * var(--scale-factor)) / calc(${s}px * var(--scale-factor))`;r.style.borderRadius=e}else if(this instanceof _){const t=`calc(${a}px * var(--scale-factor)) / calc(${o}px * var(--scale-factor))`;r.style.borderRadius=t}switch(e.borderStyle.style){case i.AnnotationBorderStyleType.SOLID:r.style.borderStyle="solid";break;case i.AnnotationBorderStyleType.DASHED:r.style.borderStyle="dashed";break;case i.AnnotationBorderStyleType.BEVELED:(0,i.warn)("Unimplemented border style: beveled");break;case i.AnnotationBorderStyleType.INSET:(0,i.warn)("Unimplemented border style: inset");break;case i.AnnotationBorderStyleType.UNDERLINE:r.style.borderBottomStyle="solid"}const n=e.borderColor||null;n?r.style.borderColor=i.Util.makeHexColor(0|n[0],0|n[1],0|n[2]):r.style.borderWidth=0}r.style.left=100*(m[0]-l)/p+"%",r.style.top=100*(m[1]-c)/g+"%";const{rotation:f}=e;return e.hasOwnCanvas||0===f?(r.style.width=100*a/p+"%",r.style.height=100*o/g+"%"):this.setRotation(f,r),r}setRotation(t,e=this.container){const[s,i,n,r]=this.viewport.viewBox,a=n-s,o=r-i,{width:l,height:c}=h(this.data.rect);let d,u;t%180==0?(d=100*l/a,u=100*c/o):(d=100*c/a,u=100*l/o),e.style.width=`${d}%`,e.style.height=`${u}%`,e.setAttribute("data-main-rotation",(360-t)%360)}get _commonActions(){const t=(t,e,s)=>{const i=s.detail[t];s.target.style[e]=a.ColorConverters[`${i[0]}_HTML`](i.slice(1))};return(0,i.shadow)(this,"_commonActions",{display:t=>{const e=t.detail.display%2==1;this.container.style.visibility=e?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:e,print:0===t.detail.display||3===t.detail.display})},print:t=>{this.annotationStorage.setValue(this.data.id,{print:t.detail.print})},hidden:t=>{this.container.style.visibility=t.detail.hidden?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:t.detail.hidden})},focus:t=>{setTimeout(()=>t.target.focus({preventScroll:!1}),0)},userName:t=>{t.target.title=t.detail.userName},readonly:t=>{t.detail.readonly?t.target.setAttribute("readonly",""):t.target.removeAttribute("readonly")},required:t=>{this._setRequired(t.target,t.detail.required)},bgColor:e=>{t("bgColor","backgroundColor",e)},fillColor:e=>{t("fillColor","backgroundColor",e)},fgColor:e=>{t("fgColor","color",e)},textColor:e=>{t("textColor","color",e)},borderColor:e=>{t("borderColor","borderColor",e)},strokeColor:e=>{t("strokeColor","borderColor",e)},rotation:t=>{const e=t.detail.rotation;this.setRotation(e),this.annotationStorage.setValue(this.data.id,{rotation:e})}})}_dispatchEventFromSandbox(t,e){const s=this._commonActions;for(const i of Object.keys(e.detail)){const n=t[i]||s[i];n&&n(e)}}_setDefaultPropertiesFromJS(t){if(!this.enableScripting)return;const e=this.annotationStorage.getRawValue(this.data.id);if(!e)return;const s=this._commonActions;for(const[i,n]of Object.entries(e)){const r=s[i];r&&(r({detail:{[i]:n},target:t}),delete e[i])}}_createQuadrilaterals(t=!1){if(!this.data.quadPoints)return null;const e=[],s=this.data.rect;for(const i of this.data.quadPoints)this.data.rect=[i[2].x,i[2].y,i[1].x,i[1].y],e.push(this._createContainer(t));return this.data.rect=s,e}_createPopup(t,e){let s=this.container;this.quadrilaterals&&(t=t||this.quadrilaterals,s=this.quadrilaterals[0]),t||((t=document.createElement("div")).className="popupTriggerArea",s.append(t));const i=new S({container:s,trigger:t,color:e.color,titleObj:e.titleObj,modificationDate:e.modificationDate,contentsObj:e.contentsObj,richText:e.richText,hideWrapper:!0}).render();i.style.left="100%",s.append(i)}_renderQuadrilaterals(t){for(const e of this.quadrilaterals)e.className=t;return this.quadrilaterals}render(){(0,i.unreachable)("Abstract method `AnnotationElement.render` called")}_getElementsByName(t,e=null){const s=[];if(this._fieldObjects){const n=this._fieldObjects[t];if(n)for(const{page:t,id:r,exportValues:a}of n){if(-1===t)continue;if(r===e)continue;const n="string"==typeof a?a:null,o=document.querySelector(`[data-element-id="${r}"]`);!o||c.has(o)?s.push({id:r,exportValue:n,domElement:o}):(0,i.warn)(`_getElementsByName - element not allowed: ${r}`)}return s}for(const i of document.getElementsByName(t)){const{id:t,exportValue:n}=i;t!==e&&c.has(i)&&s.push({id:t,exportValue:n,domElement:i})}return s}static get platform(){const t="undefined"!=typeof navigator?navigator.platform:"";return(0,i.shadow)(this,"platform",{isWin:t.includes("Win"),isMac:t.includes("Mac")})}}class p extends u{constructor(t,e=null){super(t,{isRenderable:!0,ignoreBorder:!!e?.ignoreBorder,createQuadrilaterals:!0}),this.isTooltipOnly=t.data.isTooltipOnly}render(){const{data:t,linkService:e}=this,s=document.createElement("a");s.setAttribute("data-element-id",t.id);let i=!1;return t.url?(e.addLinkAttributes(s,t.url,t.newWindow),i=!0):t.action?(this._bindNamedAction(s,t.action),i=!0):t.dest?(this._bindLink(s,t.dest),i=!0):(t.actions&&(t.actions.Action||t.actions["Mouse Up"]||t.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(s,t),i=!0),t.resetForm?(this._bindResetFormAction(s,t.resetForm),i=!0):this.isTooltipOnly&&!i&&(this._bindLink(s,""),i=!0)),this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map((t,e)=>{const i=0===e?s:s.cloneNode();return t.append(i),t}):(this.container.className="linkAnnotation",i&&this.container.append(s),this.container)}_bindLink(t,e){t.href=this.linkService.getDestinationHash(e),t.onclick=()=>(e&&this.linkService.goToDestination(e),!1),(e||""===e)&&(t.className="internalLink")}_bindNamedAction(t,e){t.href=this.linkService.getAnchorUrl(""),t.onclick=()=>(this.linkService.executeNamedAction(e),!1),t.className="internalLink"}_bindJSAction(t,e){t.href=this.linkService.getAnchorUrl("");const s=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const i of Object.keys(e.actions)){const n=s.get(i);n&&(t[n]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e.id,name:i}}),!1))}t.onclick||(t.onclick=()=>!1),t.className="internalLink"}_bindResetFormAction(t,e){const s=t.onclick;if(s||(t.href=this.linkService.getAnchorUrl("")),t.className="internalLink",!this._fieldObjects)return(0,i.warn)('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),void(s||(t.onclick=()=>!1));t.onclick=()=>{s&&s();const{fields:t,refs:n,include:r}=e,a=[];if(0!==t.length||0!==n.length){const e=new Set(n);for(const s of t){const t=this._fieldObjects[s]||[];for(const{id:s}of t)e.add(s)}for(const t of Object.values(this._fieldObjects))for(const s of t)e.has(s.id)===r&&a.push(s)}else for(const e of Object.values(this._fieldObjects))a.push(...e);const o=this.annotationStorage,l=[];for(const e of a){const{id:t}=e;switch(l.push(t),e.type){case"text":{const s=e.defaultValue||"";o.setValue(t,{value:s});break}case"checkbox":case"radiobutton":{const s=e.defaultValue===e.exportValues;o.setValue(t,{value:s});break}case"combobox":case"listbox":{const s=e.defaultValue||"";o.setValue(t,{value:s});break}default:continue}const s=document.querySelector(`[data-element-id="${t}"]`);s&&(c.has(s)?s.dispatchEvent(new Event("resetform")):(0,i.warn)(`_bindResetFormAction - element not allowed: ${t}`))}return this.enableScripting&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:l,name:"ResetForm"}}),!1}}}class g extends u{constructor(t){super(t,{isRenderable:!!(t.data.hasPopup||t.data.titleObj?.str||t.data.contentsObj?.str||t.data.richText?.str)})}render(){this.container.className="textAnnotation";const t=document.createElement("img");return t.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",t.alt="[{{type}} Annotation]",t.dataset.l10nId="text_annotation_type",t.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(t,this.data),this.container.append(t),this.container}}class m extends u{render(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}_getKeyModifier(t){const{isWin:e,isMac:s}=u.platform;return e&&t.ctrlKey||s&&t.metaKey}_setEventListener(t,e,s,i){e.includes("mouse")?t.addEventListener(e,t=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:s,value:i(t),shift:t.shiftKey,modifier:this._getKeyModifier(t)}})}):t.addEventListener(e,t=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:s,value:i(t)}})})}_setEventListeners(t,e,s){for(const[i,n]of e)("Action"===n||this.data.actions?.[n])&&this._setEventListener(t,i,n,s)}_setBackgroundColor(t){const e=this.data.backgroundColor||null;t.style.backgroundColor=null===e?"transparent":i.Util.makeHexColor(e[0],e[1],e[2])}_setTextStyle(t){const e=["left","center","right"],{fontColor:s}=this.data.defaultAppearanceData,n=this.data.defaultAppearanceData.fontSize||9,r=t.style;let a;if(this.data.multiLine){const t=Math.abs(this.data.rect[3]-this.data.rect[1]),e=t/(Math.round(t/(i.LINE_FACTOR*n))||1);a=Math.min(n,Math.round(e/i.LINE_FACTOR))}else{const t=Math.abs(this.data.rect[3]-this.data.rect[1]);a=Math.min(n,Math.round(t/i.LINE_FACTOR))}r.fontSize=`calc(${a}px * var(--scale-factor))`,r.color=i.Util.makeHexColor(s[0],s[1],s[2]),null!==this.data.textAlignment&&(r.textAlign=e[this.data.textAlignment])}_setRequired(t,e){e?t.setAttribute("required",!0):t.removeAttribute("required"),t.setAttribute("aria-required",e)}}class f extends m{constructor(t){super(t,{isRenderable:t.renderForms||!t.data.hasAppearance&&!!t.data.fieldValue})}setPropertyOnSiblings(t,e,s,i){const n=this.annotationStorage;for(const r of this._getElementsByName(t.name,t.id))r.domElement&&(r.domElement[e]=s),n.setValue(r.id,{[i]:s})}render(){const t=this.annotationStorage,e=this.data.id;this.container.className="textWidgetAnnotation";let s=null;if(this.renderForms){const i=t.getValue(e,{value:this.data.fieldValue});let n=i.formattedValue||i.value||"";const r=t.getValue(e,{charLimit:this.data.maxLen}).charLimit;r&&n.length>r&&(n=n.slice(0,r));const a={userValue:n,formattedValue:null,valueOnFocus:""};this.data.multiLine?(s=document.createElement("textarea"),s.textContent=n,this.data.doNotScroll&&(s.style.overflowY="hidden")):(s=document.createElement("input"),s.type="text",s.setAttribute("value",n),this.data.doNotScroll&&(s.style.overflowX="hidden")),c.add(s),s.setAttribute("data-element-id",e),s.disabled=this.data.readOnly,s.name=this.data.fieldName,s.tabIndex=l,this._setRequired(s,this.data.required),r&&(s.maxLength=r),s.addEventListener("input",i=>{t.setValue(e,{value:i.target.value}),this.setPropertyOnSiblings(s,"value",i.target.value,"value")}),s.addEventListener("resetform",t=>{const e=this.data.defaultFieldValue??"";s.value=a.userValue=e,a.formattedValue=null});let o=t=>{const{formattedValue:e}=a;null!=e&&(t.target.value=e),t.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){s.addEventListener("focus",t=>{a.userValue&&(t.target.value=a.userValue),a.valueOnFocus=t.target.value}),s.addEventListener("updatefromsandbox",s=>{const i={value(s){a.userValue=s.detail.value??"",t.setValue(e,{value:a.userValue.toString()}),s.target.value=a.userValue},formattedValue(s){const{formattedValue:i}=s.detail;a.formattedValue=i,null!=i&&s.target!==document.activeElement&&(s.target.value=i),t.setValue(e,{formattedValue:i})},selRange(t){t.target.setSelectionRange(...t.detail.selRange)},charLimit:s=>{const{charLimit:i}=s.detail,{target:n}=s;if(0===i)return void n.removeAttribute("maxLength");n.setAttribute("maxLength",i);let r=a.userValue;!r||r.length<=i||(r=r.slice(0,i),n.value=a.userValue=r,t.setValue(e,{value:r}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:r,willCommit:!0,commitKey:1,selStart:n.selectionStart,selEnd:n.selectionEnd}}))}};this._dispatchEventFromSandbox(i,s)}),s.addEventListener("keydown",t=>{let s=-1;if("Escape"===t.key?s=0:"Enter"===t.key?s=2:"Tab"===t.key&&(s=3),-1===s)return;const{value:i}=t.target;a.valueOnFocus!==i&&(a.userValue=i,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:i,willCommit:!0,commitKey:s,selStart:t.target.selectionStart,selEnd:t.target.selectionEnd}}))});const i=o;o=null,s.addEventListener("blur",t=>{const{value:s}=t.target;a.userValue=s,this._mouseState.isDown&&a.valueOnFocus!==s&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:s,willCommit:!0,commitKey:1,selStart:t.target.selectionStart,selEnd:t.target.selectionEnd}}),i(t)}),this.data.actions?.Keystroke&&s.addEventListener("beforeinput",t=>{const{data:s,target:i}=t,{value:n,selectionStart:r,selectionEnd:a}=i;let o=r,l=a;switch(t.inputType){case"deleteWordBackward":{const t=n.substring(0,r).match(/\w*[^\w]*$/);t&&(o-=t[0].length);break}case"deleteWordForward":{const t=n.substring(r).match(/^[^\w]*\w*/);t&&(l+=t[0].length);break}case"deleteContentBackward":r===a&&(o-=1);break;case"deleteContentForward":r===a&&(l+=1)}t.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:n,change:s||"",willCommit:!1,selStart:o,selEnd:l}})}),this._setEventListeners(s,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],t=>t.target.value)}if(o&&s.addEventListener("blur",o),this.data.comb){const t=(this.data.rect[2]-this.data.rect[0])/r;s.classList.add("comb"),s.style.letterSpacing=`calc(${t}px * var(--scale-factor) - 1ch)`}}else s=document.createElement("div"),s.textContent=this.data.fieldValue,s.style.verticalAlign="middle",s.style.display="table-cell";return this._setTextStyle(s),this._setBackgroundColor(s),this._setDefaultPropertiesFromJS(s),this.container.append(s),this.container}}class b extends m{constructor(t){super(t,{isRenderable:t.renderForms})}render(){const t=this.annotationStorage,e=this.data,s=e.id;let i=t.getValue(s,{value:e.exportValue===e.fieldValue}).value;"string"==typeof i&&(i="Off"!==i,t.setValue(s,{value:i})),this.container.className="buttonWidgetAnnotation checkBox";const n=document.createElement("input");return c.add(n),n.setAttribute("data-element-id",s),n.disabled=e.readOnly,this._setRequired(n,this.data.required),n.type="checkbox",n.name=e.fieldName,i&&n.setAttribute("checked",!0),n.setAttribute("exportValue",e.exportValue),n.tabIndex=l,n.addEventListener("change",i=>{const{name:n,checked:r}=i.target;for(const a of this._getElementsByName(n,s)){const s=r&&a.exportValue===e.exportValue;a.domElement&&(a.domElement.checked=s),t.setValue(a.id,{value:s})}t.setValue(s,{value:r})}),n.addEventListener("resetform",t=>{const s=e.defaultFieldValue||"Off";t.target.checked=s===e.exportValue}),this.enableScripting&&this.hasJSActions&&(n.addEventListener("updatefromsandbox",e=>{const i={value(e){e.target.checked="Off"!==e.detail.value,t.setValue(s,{value:e.target.checked})}};this._dispatchEventFromSandbox(i,e)}),this._setEventListeners(n,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],t=>t.target.checked)),this._setBackgroundColor(n),this._setDefaultPropertiesFromJS(n),this.container.append(n),this.container}}class _ extends m{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.className="buttonWidgetAnnotation radioButton";const t=this.annotationStorage,e=this.data,s=e.id;let i=t.getValue(s,{value:e.fieldValue===e.buttonValue}).value;"string"==typeof i&&(i=i!==e.buttonValue,t.setValue(s,{value:i}));const n=document.createElement("input");if(c.add(n),n.setAttribute("data-element-id",s),n.disabled=e.readOnly,this._setRequired(n,this.data.required),n.type="radio",n.name=e.fieldName,i&&n.setAttribute("checked",!0),n.tabIndex=l,n.addEventListener("change",e=>{const{name:i,checked:n}=e.target;for(const r of this._getElementsByName(i,s))t.setValue(r.id,{value:!1});t.setValue(s,{value:n})}),n.addEventListener("resetform",t=>{const s=e.defaultFieldValue;t.target.checked=null!=s&&s===e.buttonValue}),this.enableScripting&&this.hasJSActions){const i=e.buttonValue;n.addEventListener("updatefromsandbox",e=>{const n={value:e=>{const n=i===e.detail.value;for(const i of this._getElementsByName(e.target.name)){const e=n&&i.id===s;i.domElement&&(i.domElement.checked=e),t.setValue(i.id,{value:e})}}};this._dispatchEventFromSandbox(n,e)}),this._setEventListeners(n,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],t=>t.target.checked)}return this._setBackgroundColor(n),this._setDefaultPropertiesFromJS(n),this.container.append(n),this.container}}class A extends p{constructor(t){super(t,{ignoreBorder:t.data.hasAppearance})}render(){const t=super.render();t.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(t.title=this.data.alternativeText);const e=t.lastChild;return this.enableScripting&&this.hasJSActions&&e&&(this._setDefaultPropertiesFromJS(e),e.addEventListener("updatefromsandbox",t=>{this._dispatchEventFromSandbox({},t)})),t}}class y extends m{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.className="choiceWidgetAnnotation";const t=this.annotationStorage,e=this.data.id,s=t.getValue(e,{value:this.data.fieldValue}),i=document.createElement("select");c.add(i),i.setAttribute("data-element-id",e),i.disabled=this.data.readOnly,this._setRequired(i,this.data.required),i.name=this.data.fieldName,i.tabIndex=l;let n=this.data.combo&&this.data.options.length>0;this.data.combo||(i.size=this.data.options.length,this.data.multiSelect&&(i.multiple=!0)),i.addEventListener("resetform",t=>{const e=this.data.defaultFieldValue;for(const s of i.options)s.selected=s.value===e});for(const l of this.data.options){const t=document.createElement("option");t.textContent=l.displayValue,t.value=l.exportValue,s.value.includes(l.exportValue)&&(t.setAttribute("selected",!0),n=!1),i.append(t)}let r=null;if(n){const t=document.createElement("option");t.value=" ",t.setAttribute("hidden",!0),t.setAttribute("selected",!0),i.prepend(t),r=()=>{t.remove(),i.removeEventListener("input",r),r=null},i.addEventListener("input",r)}const a=(t,e)=>{const s=e?"value":"textContent",i=t.target.options;return t.target.multiple?Array.prototype.filter.call(i,t=>t.selected).map(t=>t[s]):-1===i.selectedIndex?null:i[i.selectedIndex][s]},o=t=>{const e=t.target.options;return Array.prototype.map.call(e,t=>({displayValue:t.textContent,exportValue:t.value}))};return this.enableScripting&&this.hasJSActions?(i.addEventListener("updatefromsandbox",s=>{const n={value(s){r?.();const n=s.detail.value,o=new Set(Array.isArray(n)?n:[n]);for(const t of i.options)t.selected=o.has(t.value);t.setValue(e,{value:a(s,!0)})},multipleSelection(t){i.multiple=!0},remove(s){const n=i.options,r=s.detail.remove;n[r].selected=!1,i.remove(r),n.length>0&&-1===Array.prototype.findIndex.call(n,t=>t.selected)&&(n[0].selected=!0),t.setValue(e,{value:a(s,!0),items:o(s)})},clear(s){for(;0!==i.length;)i.remove(0);t.setValue(e,{value:null,items:[]})},insert(s){const{index:n,displayValue:r,exportValue:l}=s.detail.insert,c=i.children[n],h=document.createElement("option");h.textContent=r,h.value=l,c?c.before(h):i.append(h),t.setValue(e,{value:a(s,!0),items:o(s)})},items(s){const{items:n}=s.detail;for(;0!==i.length;)i.remove(0);for(const t of n){const{displayValue:e,exportValue:s}=t,n=document.createElement("option");n.textContent=e,n.value=s,i.append(n)}i.options.length>0&&(i.options[0].selected=!0),t.setValue(e,{value:a(s,!0),items:o(s)})},indices(s){const i=new Set(s.detail.indices);for(const t of s.target.options)t.selected=i.has(t.index);t.setValue(e,{value:a(s,!0)})},editable(t){t.target.disabled=!t.detail.editable}};this._dispatchEventFromSandbox(n,s)}),i.addEventListener("input",s=>{const i=a(s,!0),n=a(s,!1);t.setValue(e,{value:i}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:n,changeEx:i,willCommit:!0,commitKey:1,keyDown:!1}})}),this._setEventListeners(i,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],t=>t.target.checked)):i.addEventListener("input",function(s){t.setValue(e,{value:a(s,!0)})}),this.data.combo&&this._setTextStyle(i),this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}}class v extends u{constructor(t){super(t,{isRenderable:!!(t.data.titleObj?.str||t.data.contentsObj?.str||t.data.richText?.str)})}render(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;const t=`[data-annotation-id="${this.data.parentId}"]`,e=this.layer.querySelectorAll(t);if(0===e.length)return this.container;const s=new S({container:this.container,trigger:Array.from(e),color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText}),n=this.page,r=i.Util.normalizeRect([this.data.parentRect[0],n.view[3]-this.data.parentRect[1]+n.view[1],this.data.parentRect[2],n.view[3]-this.data.parentRect[3]+n.view[1]]),a=r[0]+this.data.parentRect[2]-this.data.parentRect[0],o=r[1],[l,c,h,d]=this.viewport.viewBox,u=h-l,p=d-c;return this.container.style.left=100*(a-l)/u+"%",this.container.style.top=100*(o-c)/p+"%",this.container.append(s.render()),this.container}}class S{constructor(t){this.container=t.container,this.trigger=t.trigger,this.color=t.color,this.titleObj=t.titleObj,this.modificationDate=t.modificationDate,this.contentsObj=t.contentsObj,this.richText=t.richText,this.hideWrapper=t.hideWrapper||!1,this.pinned=!1}render(){const t=document.createElement("div");t.className="popupWrapper",this.hideElement=this.hideWrapper?t:this.container,this.hideElement.hidden=!0;const e=document.createElement("div");e.className="popup";const s=this.color;if(s){const t=.7*(255-s[0])+s[0],n=.7*(255-s[1])+s[1],r=.7*(255-s[2])+s[2];e.style.backgroundColor=i.Util.makeHexColor(0|t,0|n,0|r)}const r=document.createElement("h1");r.dir=this.titleObj.dir,r.textContent=this.titleObj.str,e.append(r);const a=n.PDFDateString.toDateObject(this.modificationDate);if(a){const t=document.createElement("span");t.className="popupDate",t.textContent="{{date}}, {{time}}",t.dataset.l10nId="annotation_date_string",t.dataset.l10nArgs=JSON.stringify({date:a.toLocaleDateString(),time:a.toLocaleTimeString()}),e.append(t)}if(!this.richText?.str||this.contentsObj?.str&&this.contentsObj.str!==this.richText.str){const t=this._formatContents(this.contentsObj);e.append(t)}else o.XfaLayer.render({xfaHtml:this.richText.html,intent:"richText",div:e}),e.lastChild.className="richText popupContent";Array.isArray(this.trigger)||(this.trigger=[this.trigger]);for(const i of this.trigger)i.addEventListener("click",this._toggle.bind(this)),i.addEventListener("mouseover",this._show.bind(this,!1)),i.addEventListener("mouseout",this._hide.bind(this,!1));return e.addEventListener("click",this._hide.bind(this,!0)),t.append(e),t}_formatContents({str:t,dir:e}){const s=document.createElement("p");s.className="popupContent",s.dir=e;const i=t.split(/(?:\r\n?|\n)/);for(let n=0,r=i.length;n{function s(t){return Math.floor(255*Math.max(0,Math.min(1,t))).toString(16).padStart(2,"0")}Object.defineProperty(e,"__esModule",{value:!0}),e.ColorConverters=void 0,e.ColorConverters=class{static CMYK_G([t,e,s,i]){return["G",1-Math.min(1,.3*t+.59*s+.11*e+i)]}static G_CMYK([t]){return["CMYK",0,0,0,1-t]}static G_RGB([t]){return["RGB",t,t,t]}static G_HTML([t]){const e=s(t);return`#${e}${e}${e}`}static RGB_G([t,e,s]){return["G",.3*t+.59*e+.11*s]}static RGB_HTML([t,e,i]){return`#${s(t)}${s(e)}${s(i)}`}static T_HTML(){return"#00000000"}static CMYK_RGB([t,e,s,i]){return["RGB",1-Math.min(1,t+i),1-Math.min(1,s+i),1-Math.min(1,e+i)]}static CMYK_HTML(t){const e=this.CMYK_RGB(t).slice(1);return this.RGB_HTML(e)}static RGB_CMYK([t,e,s]){const i=1-t,n=1-e,r=1-s;return["CMYK",i,n,r,Math.min(i,n,r)]}}},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.XfaLayer=void 0;var i=s(20);e.XfaLayer=class{static setupStorage(t,e,s,i,n){const r=i.getValue(e,{value:null});switch(s.name){case"textarea":if(null!==r.value&&(t.textContent=r.value),"print"===n)break;t.addEventListener("input",t=>{i.setValue(e,{value:t.target.value})});break;case"input":if("radio"===s.attributes.type||"checkbox"===s.attributes.type){if(r.value===s.attributes.xfaOn?t.setAttribute("checked",!0):r.value===s.attributes.xfaOff&&t.removeAttribute("checked"),"print"===n)break;t.addEventListener("change",t=>{i.setValue(e,{value:t.target.checked?t.target.getAttribute("xfaOn"):t.target.getAttribute("xfaOff")})})}else{if(null!==r.value&&t.setAttribute("value",r.value),"print"===n)break;t.addEventListener("input",t=>{i.setValue(e,{value:t.target.value})})}break;case"select":if(null!==r.value)for(const t of s.children)t.attributes.value===r.value&&(t.attributes.selected=!0);t.addEventListener("input",t=>{const s=t.target.options,n=-1===s.selectedIndex?"":s[s.selectedIndex].value;i.setValue(e,{value:n})})}}static setAttributes({html:t,element:e,storage:s=null,intent:i,linkService:n}){const{attributes:r}=e,a=t instanceof HTMLAnchorElement;"radio"===r.type&&(r.name=`${r.name}-${i}`);for(const[o,l]of Object.entries(r))if(null!=l)switch(o){case"class":l.length&&t.setAttribute(o,l.join(" "));break;case"dataId":break;case"id":t.setAttribute("data-element-id",l);break;case"style":Object.assign(t.style,l);break;case"textContent":t.textContent=l;break;default:(!a||"href"!==o&&"newWindow"!==o)&&t.setAttribute(o,l)}a&&n.addLinkAttributes(t,r.href,r.newWindow),s&&r.dataId&&this.setupStorage(t,r.dataId,e,s)}static render(t){const e=t.annotationStorage,s=t.linkService,n=t.xfaHtml,r=t.intent||"display",a=document.createElement(n.name);n.attributes&&this.setAttributes({html:a,element:n,intent:r,linkService:s});const o=[[n,-1,a]],l=t.div;if(l.append(a),t.viewport){const e=`matrix(${t.viewport.transform.join(",")})`;l.style.transform=e}"richText"!==r&&l.setAttribute("class","xfaLayer xfaFont");const c=[];for(;o.length>0;){const[t,n,a]=o.at(-1);if(n+1===t.children.length){o.pop();continue}const l=t.children[++o.at(-1)[1]];if(null===l)continue;const{name:h}=l;if("#text"===h){const t=document.createTextNode(l.value);c.push(t),a.append(t);continue}let d;if(d=l?.attributes?.xmlns?document.createElementNS(l.attributes.xmlns,h):document.createElement(h),a.append(d),l.attributes&&this.setAttributes({html:d,element:l,storage:e,intent:r,linkService:s}),l.children&&l.children.length>0)o.push([l,-1,d]);else if(l.value){const t=document.createTextNode(l.value);i.XfaText.shouldBuildText(h)&&c.push(t),d.append(t)}}for(const i of l.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))i.setAttribute("readOnly",!0);return{textDivs:c}}static update(t){const e=`matrix(${t.viewport.transform.join(",")})`;t.div.style.transform=e,t.div.hidden=!1}}},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TextLayerRenderTask=void 0,e.renderTextLayer=function(t){const e=new p({textContent:t.textContent,textContentStream:t.textContentStream,container:t.container,viewport:t.viewport,textDivs:t.textDivs,textContentItemsStr:t.textContentItemsStr,enhanceTextSelection:t.enhanceTextSelection});return e._render(t.timeout),e};var i=s(1),n=s(8);const r=30,a=new Map,o=/^\s+$/g;function l(t,e,s,n){const l=document.createElement("span"),c=t._enhanceTextSelection?{angle:0,canvasWidth:0,hasText:""!==e.str,hasEOL:e.hasEOL,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1,fontSize:0}:{angle:0,canvasWidth:0,hasText:""!==e.str,hasEOL:e.hasEOL,fontSize:0};t._textDivs.push(l);const h=i.Util.transform(t._viewport.transform,e.transform);let d=Math.atan2(h[1],h[0]);const u=s[e.fontName];u.vertical&&(d+=Math.PI/2);const p=Math.hypot(h[2],h[3]),g=p*function(t,e){const s=a.get(t);if(s)return s;e.save(),e.font=`30px ${t}`;const i=e.measureText("");let n=i.fontBoundingBoxAscent,o=Math.abs(i.fontBoundingBoxDescent);if(n){e.restore();const s=n/(n+o);return a.set(t,s),s}e.strokeStyle="red",e.clearRect(0,0,r,r),e.strokeText("g",0,0);let l=e.getImageData(0,0,r,r).data;o=0;for(let a=l.length-1-3;a>=0;a-=4)if(l[a]>0){o=Math.ceil(a/4/r);break}e.clearRect(0,0,r,r),e.strokeText("A",0,r),l=e.getImageData(0,0,r,r).data,n=0;for(let a=0,c=l.length;a0){n=r-Math.floor(a/4/r);break}if(e.restore(),n){const e=n/(n+o);return a.set(t,e),e}return a.set(t,.8),.8}(u.fontFamily,n);let m,f;0===d?(m=h[4],f=h[5]-g):(m=h[4]+g*Math.sin(d),f=h[5]-g*Math.cos(d)),l.style.left=`${m}px`,l.style.top=`${f}px`,l.style.fontSize=`${p}px`,l.style.fontFamily=u.fontFamily,c.fontSize=p,l.setAttribute("role","presentation"),l.textContent=e.str,l.dir=e.dir,t._fontInspectorEnabled&&(l.dataset.fontName=e.fontName),0!==d&&(c.angle=d*(180/Math.PI));let b=!1;if(e.str.length>1||t._enhanceTextSelection&&o.test(e.str))b=!0;else if(" "!==e.str&&e.transform[0]!==e.transform[3]){const t=Math.abs(e.transform[0]),s=Math.abs(e.transform[3]);t!==s&&Math.max(t,s)/Math.min(t,s)>1.5&&(b=!0)}if(b&&(u.vertical?c.canvasWidth=e.height*t._viewport.scale:c.canvasWidth=e.width*t._viewport.scale),t._textDivProperties.set(l,c),t._textContentStream&&t._layoutText(l),t._enhanceTextSelection&&c.hasText){let s=1,n=0;0!==d&&(s=Math.cos(d),n=Math.sin(d));const r=(u.vertical?e.height:e.width)*t._viewport.scale,a=p;let o,c;0!==d?(o=[s,n,-n,s,m,f],c=i.Util.getAxialAlignedBoundingBox([0,0,r,a],o)):c=[m,f,m+r,f+a],t._bounds.push({left:c[0],top:c[1],right:c[2],bottom:c[3],div:l,size:[r,a],m:o})}}function c(t){if(t._canceled)return;const e=t._textDivs,s=t._capability,i=e.length;if(i>1e5)return t._renderingDone=!0,void s.resolve();if(!t._textContentStream)for(let n=0;n0&&(i=i?Math.min(s,i):s)}return i}function d(t){const e=t._bounds,s=t._viewport,n=function(t,e,s){const i=s.map(function(t,e){return{x1:t.left,y1:t.top,x2:t.right,y2:t.bottom,index:e,x1New:void 0,x2New:void 0}});u(t,i);const n=new Array(s.length);for(const r of i){const t=r.index;n[t]={left:r.x1New,top:0,right:r.x2New,bottom:0}}s.map(function(e,s){const r=n[s],a=i[s];a.x1=e.top,a.y1=t-r.right,a.x2=e.bottom,a.y2=t-r.left,a.index=s,a.x1New=void 0,a.x2New=void 0}),u(e,i);for(const r of i){const t=r.index;n[t].top=r.x1New,n[t].bottom=r.x2New}return n}(s.width,s.height,e);for(let r=0;r=0&&s[r].start>=i.y2;)r--;let a,o,l=-1/0;for(a=t;a<=r;a++){let t;e=s[a],n=e.boundary,t=n.x2>i.x1?n.index>i.index?n.x1New:i.x1:void 0===n.x2New?(n.x2+i.x1)/2:n.x2New,t>l&&(l=t)}for(i.x1New=l,a=t;a<=r;a++)e=s[a],n=e.boundary,void 0===n.x2New?n.x2>i.x1?n.index>i.index&&(n.x2New=n.x2):n.x2New=l:n.x2New>l&&(n.x2New=Math.max(l,n.x2));const c=[];let h=null;for(a=t;a<=r;a++){e=s[a],n=e.boundary;const t=n.x2>i.x2?n:i;h===t?c.at(-1).end=e.end:(c.push({start:e.start,end:e.end,boundary:t}),h=t)}for(s[t].start=0&&s[o].start>=n.y1;o--)i=s[o].boundary===n;for(o=r+1;!i&&o{this._enhanceTextSelection||(this._textDivProperties=null),this._layoutTextCtx&&(this._layoutTextCtx.canvas.width=0,this._layoutTextCtx.canvas.height=0,this._layoutTextCtx=null)}).catch(()=>{})}get promise(){return this._capability.promise}cancel(){this._canceled=!0,this._reader&&(this._reader.cancel(new i.AbortException("TextLayer task cancelled.")).catch(()=>{}),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))}_processItems(t,e){for(let s=0,i=t.length;s0){const t=this._devicePixelRatio*e.canvasWidth/r;this._enhanceTextSelection&&(e.scale=t),s=`scaleX(${t})`}}if(0!==e.angle&&(s=`rotate(${e.angle}deg) ${s}`),s.length>0&&(this._enhanceTextSelection&&(e.originalTransform=s),t.style.transform=s),e.hasText&&this._container.append(t),e.hasEOL){const t=document.createElement("br");t.setAttribute("role","presentation"),this._container.append(t)}}_render(t=0){const e=(0,i.createPromiseCapability)();let s=Object.create(null);const n=this._document.createElement("canvas");if(n.height=n.width=r,this._layoutTextCtx=n.getContext("2d",{alpha:!1}),this._textContent){const t=this._textContent.items,s=this._textContent.styles;this._processItems(t,s),e.resolve()}else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');{const t=()=>{this._reader.read().then(({value:i,done:n})=>{n?e.resolve():(Object.assign(s,i.styles),this._processItems(i.items,s),t())},e.reject)};this._reader=this._textContentStream.getReader(),t()}}e.promise.then(()=>{s=null,t?this._renderTimer=setTimeout(()=>{c(this),this._renderTimer=null},t):c(this)},this._capability.reject)}expandTextDivs(t=!1){if(!this._enhanceTextSelection||!this._renderingDone)return;null!==this._bounds&&(d(this),this._bounds=null);const e=[],s=[];for(let i=0,n=this._textDivs.length;i0?(s.push(`${r.paddingTop}px`),e.push(`translateY(${-r.paddingTop}px)`)):s.push(0),r.paddingRight>0?s.push(r.paddingRight/r.scale+"px"):s.push(0),r.paddingBottom>0?s.push(`${r.paddingBottom}px`):s.push(0),r.paddingLeft>0?(s.push(r.paddingLeft/r.scale+"px"),e.push(`translateX(${-r.paddingLeft/r.scale}px)`)):s.push(0),n.style.padding=s.join(" "),e.length&&(n.style.transform=e.join(" "))):(n.style.padding=null,n.style.transform=r.originalTransform))}}}e.TextLayerRenderTask=p},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.SVGGraphics=void 0;var i=s(8),n=s(1),r=s(3);let a=class{constructor(){(0,n.unreachable)("Not implemented: SVGGraphics")}};e.SVGGraphics=a;{const o={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},l="http://www.w3.org/XML/1998/namespace",c="http://www.w3.org/1999/xlink",h=["butt","round","square"],d=["miter","round","bevel"],u=function(t,e="",s=!1){if(URL.createObjectURL&&"undefined"!=typeof Blob&&!s)return URL.createObjectURL(new Blob([t],{type:e}));const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let n=`data:${e};base64,`;for(let r=0,a=t.length;r>2]+i[(3&e)<<4|s>>4]+i[r+1>6:64]+i[r+2>1&2147483647:t>>1&2147483647;e[n]=t}function s(t,s,i,n){let r=n;const a=s.length;i[r]=a>>24&255,i[r+1]=a>>16&255,i[r+2]=a>>8&255,i[r+3]=255&a,r+=4,i[r]=255&t.charCodeAt(0),i[r+1]=255&t.charCodeAt(1),i[r+2]=255&t.charCodeAt(2),i[r+3]=255&t.charCodeAt(3),r+=4,i.set(s,r),r+=s.length;const o=function(t,s,i){let n=-1;for(let r=s;r>>8^e[s]}return-1^n}(i,n+4,r);i[r]=o>>24&255,i[r+1]=o>>16&255,i[r+2]=o>>8&255,i[r+3]=255&o}function i(t){let e=t.length;const s=65535,i=Math.ceil(e/s),n=new Uint8Array(2+e+5*i+4);let r=0;n[r++]=120,n[r++]=156;let a=0;for(;e>s;)n[r++]=0,n[r++]=255,n[r++]=255,n[r++]=0,n[r++]=0,n.set(t.subarray(a,a+s),r),r+=s,a+=s,e-=s;n[r++]=1,n[r++]=255&e,n[r++]=e>>8&255,n[r++]=255&~e,n[r++]=(65535&~e)>>8&255,n.set(t.subarray(a),r),r+=t.length-a;const o=function(t,e,s){let i=1,n=0;for(let r=e;r>24&255,n[r++]=o>>16&255,n[r++]=o>>8&255,n[r++]=255&o,n}function a(e,a,o,l){const c=e.width,h=e.height;let d,p,g;const m=e.data;switch(a){case n.ImageKind.GRAYSCALE_1BPP:p=0,d=1,g=c+7>>3;break;case n.ImageKind.RGB_24BPP:p=2,d=8,g=3*c;break;case n.ImageKind.RGBA_32BPP:p=6,d=8,g=4*c;break;default:throw new Error("invalid format")}const f=new Uint8Array((1+g)*h);let b=0,_=0;for(let t=0;t>24&255,c>>16&255,c>>8&255,255&c,h>>24&255,h>>16&255,h>>8&255,255&h,d,p,0,0,0]),y=function(t){if(!r.isNodeJS)return i(t);try{let e;e=parseInt(process.versions.node)>=8?t:Buffer.from(t);const s=require$$5.deflateSync(e,{level:9});return s instanceof Uint8Array?s:new Uint8Array(s)}catch(e){(0,n.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+e)}return i(t)}(f),v=t.length+36+A.length+y.length,S=new Uint8Array(v);let x=0;return S.set(t,x),x+=t.length,s("IHDR",A,S,x),x+=12+A.length,s("IDATA",y,S,x),x+=12+y.length,s("IEND",new Uint8Array(0),S,x),u(S,"image/png",o)}return function(t,e,s){return a(t,void 0===t.kind?n.ImageKind.GRAYSCALE_1BPP:t.kind,e,s)}}();class g{constructor(){this.fontSizeScale=1,this.fontWeight=o.fontWeight,this.fontSize=0,this.textMatrix=n.IDENTITY_MATRIX,this.fontMatrix=n.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=n.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=o.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}clone(){return Object.create(this)}setCurrentPoint(t,e){this.x=t,this.y=e}}function m(t){let e=[];const s=[];for(const i of t)"save"!==i.fn?"restore"===i.fn?e=s.pop():e.push(i):(e.push({fnId:92,fn:"group",items:[]}),s.push(e),e=e.at(-1).items);return e}function f(t){if(Number.isInteger(t))return t.toString();const e=t.toFixed(10);let s=e.length-1;if("0"!==e[s])return e;do{s--}while("0"===e[s]);return e.substring(0,"."===e[s]?s:s+1)}function b(t){if(0===t[4]&&0===t[5]){if(0===t[1]&&0===t[2])return 1===t[0]&&1===t[3]?"":`scale(${f(t[0])} ${f(t[3])})`;if(t[0]===t[3]&&t[1]===-t[2])return`rotate(${f(180*Math.acos(t[0])/Math.PI)})`}else if(1===t[0]&&0===t[1]&&0===t[2]&&1===t[3])return`translate(${f(t[4])} ${f(t[5])})`;return`matrix(${f(t[0])} ${f(t[1])} ${f(t[2])} ${f(t[3])} ${f(t[4])} ${f(t[5])})`}let _=0,A=0,y=0;e.SVGGraphics=a=class{constructor(t,e,s=!1){(0,i.deprecated)("The SVG back-end is no longer maintained and *may* be removed in the future."),this.svgFactory=new i.DOMSVGFactory,this.current=new g,this.transformMatrix=n.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=t,this.objs=e,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!s,this._operatorIdMapping=[];for(const i in n.OPS)this._operatorIdMapping[n.OPS[i]]=i}save(){this.transformStack.push(this.transformMatrix);const t=this.current;this.extraStack.push(t),this.current=t.clone()}restore(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}group(t){this.save(),this.executeOpTree(t),this.restore()}loadDependencies(t){const e=t.fnArray,s=t.argsArray;for(let i=0,r=e.length;i{e.get(t,s)});this.current.dependencies.push(s)}return Promise.all(this.current.dependencies)}transform(t,e,s,i,r,a){const o=[t,e,s,i,r,a];this.transformMatrix=n.Util.transform(this.transformMatrix,o),this.tgrp=null}getSVG(t,e){this.viewport=e;const s=this._initialize(e);return this.loadDependencies(t).then(()=>(this.transformMatrix=n.IDENTITY_MATRIX,this.executeOpTree(this.convertOpList(t)),s))}convertOpList(t){const e=this._operatorIdMapping,s=t.argsArray,i=t.fnArray,n=[];for(let r=0,a=i.length;r0&&(this.current.lineWidth=t)}setLineCap(t){this.current.lineCap=h[t]}setLineJoin(t){this.current.lineJoin=d[t]}setMiterLimit(t){this.current.miterLimit=t}setStrokeAlpha(t){this.current.strokeAlpha=t}setStrokeRGBColor(t,e,s){this.current.strokeColor=n.Util.makeHexColor(t,e,s)}setFillAlpha(t){this.current.fillAlpha=t}setFillRGBColor(t,e,s){this.current.fillColor=n.Util.makeHexColor(t,e,s),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}setStrokeColorN(t){this.current.strokeColor=this._makeColorN_Pattern(t)}setFillColorN(t){this.current.fillColor=this._makeColorN_Pattern(t)}shadingFill(t){const e=this.viewport.width,s=this.viewport.height,i=n.Util.inverseTransform(this.transformMatrix),r=n.Util.applyTransform([0,0],i),a=n.Util.applyTransform([0,s],i),o=n.Util.applyTransform([e,0],i),l=n.Util.applyTransform([e,s],i),c=Math.min(r[0],a[0],o[0],l[0]),h=Math.min(r[1],a[1],o[1],l[1]),d=Math.max(r[0],a[0],o[0],l[0]),u=Math.max(r[1],a[1],o[1],l[1]),p=this.svgFactory.createElement("svg:rect");p.setAttributeNS(null,"x",c),p.setAttributeNS(null,"y",h),p.setAttributeNS(null,"width",d-c),p.setAttributeNS(null,"height",u-h),p.setAttributeNS(null,"fill",this._makeShadingPattern(t)),this.current.fillAlpha<1&&p.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().append(p)}_makeColorN_Pattern(t){return"TilingPattern"===t[0]?this._makeTilingPattern(t):this._makeShadingPattern(t)}_makeTilingPattern(t){const e=t[1],s=t[2],i=t[3]||n.IDENTITY_MATRIX,[r,a,o,l]=t[4],c=t[5],h=t[6],d=t[7],u="shading"+y++,[p,g,m,f]=n.Util.normalizeRect([...n.Util.applyTransform([r,a],i),...n.Util.applyTransform([o,l],i)]),[b,_]=n.Util.singularValueDecompose2dScale(i),A=c*b,v=h*_,S=this.svgFactory.createElement("svg:pattern");S.setAttributeNS(null,"id",u),S.setAttributeNS(null,"patternUnits","userSpaceOnUse"),S.setAttributeNS(null,"width",A),S.setAttributeNS(null,"height",v),S.setAttributeNS(null,"x",`${p}`),S.setAttributeNS(null,"y",`${g}`);const x=this.svg,C=this.transformMatrix,E=this.current.fillColor,P=this.current.strokeColor,T=this.svgFactory.create(m-p,f-g);if(this.svg=T,this.transformMatrix=i,2===d){const t=n.Util.makeHexColor(...e);this.current.fillColor=t,this.current.strokeColor=t}return this.executeOpTree(this.convertOpList(s)),this.svg=x,this.transformMatrix=C,this.current.fillColor=E,this.current.strokeColor=P,S.append(T.childNodes[0]),this.defs.append(S),`url(#${u})`}_makeShadingPattern(t){switch("string"==typeof t&&(t=this.objs.get(t)),t[0]){case"RadialAxial":const e="shading"+y++,s=t[3];let i;switch(t[1]){case"axial":const s=t[4],n=t[5];i=this.svgFactory.createElement("svg:linearGradient"),i.setAttributeNS(null,"id",e),i.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),i.setAttributeNS(null,"x1",s[0]),i.setAttributeNS(null,"y1",s[1]),i.setAttributeNS(null,"x2",n[0]),i.setAttributeNS(null,"y2",n[1]);break;case"radial":const r=t[4],a=t[5],o=t[6],l=t[7];i=this.svgFactory.createElement("svg:radialGradient"),i.setAttributeNS(null,"id",e),i.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),i.setAttributeNS(null,"cx",a[0]),i.setAttributeNS(null,"cy",a[1]),i.setAttributeNS(null,"r",l),i.setAttributeNS(null,"fx",r[0]),i.setAttributeNS(null,"fy",r[1]),i.setAttributeNS(null,"fr",o);break;default:throw new Error(`Unknown RadialAxial type: ${t[1]}`)}for(const t of s){const e=this.svgFactory.createElement("svg:stop");e.setAttributeNS(null,"offset",t[0]),e.setAttributeNS(null,"stop-color",t[1]),i.append(e)}return this.defs.append(i),`url(#${e})`;case"Mesh":return(0,n.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error(`Unknown IR type: ${t[0]}`)}}setDash(t,e){this.current.dashArray=t,this.current.dashPhase=e}constructPath(t,e){const s=this.current;let i=s.x,r=s.y,a=[],o=0;for(const l of t)switch(0|l){case n.OPS.rectangle:i=e[o++],r=e[o++];const t=i+e[o++],s=r+e[o++];a.push("M",f(i),f(r),"L",f(t),f(r),"L",f(t),f(s),"L",f(i),f(s),"Z");break;case n.OPS.moveTo:i=e[o++],r=e[o++],a.push("M",f(i),f(r));break;case n.OPS.lineTo:i=e[o++],r=e[o++],a.push("L",f(i),f(r));break;case n.OPS.curveTo:i=e[o+4],r=e[o+5],a.push("C",f(e[o]),f(e[o+1]),f(e[o+2]),f(e[o+3]),f(i),f(r)),o+=6;break;case n.OPS.curveTo2:a.push("C",f(i),f(r),f(e[o]),f(e[o+1]),f(e[o+2]),f(e[o+3])),i=e[o+2],r=e[o+3],o+=4;break;case n.OPS.curveTo3:i=e[o+2],r=e[o+3],a.push("C",f(e[o]),f(e[o+1]),f(i),f(r),f(i),f(r)),o+=4;break;case n.OPS.closePath:a.push("Z")}a=a.join(" "),s.path&&t.length>0&&t[0]!==n.OPS.rectangle&&t[0]!==n.OPS.moveTo?a=s.path.getAttributeNS(null,"d")+a:(s.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().append(s.path)),s.path.setAttributeNS(null,"d",a),s.path.setAttributeNS(null,"fill","none"),s.element=s.path,s.setCurrentPoint(i,r)}endPath(){const t=this.current;if(t.path=null,!this.pendingClip)return;if(!t.element)return void(this.pendingClip=null);const e="clippath"+_++,s=this.svgFactory.createElement("svg:clipPath");s.setAttributeNS(null,"id",e),s.setAttributeNS(null,"transform",b(this.transformMatrix));const i=t.element.cloneNode(!0);if("evenodd"===this.pendingClip?i.setAttributeNS(null,"clip-rule","evenodd"):i.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,s.append(i),this.defs.append(s),t.activeClipUrl){t.clipGroup=null;for(const t of this.extraStack)t.clipGroup=null;s.setAttributeNS(null,"clip-path",t.activeClipUrl)}t.activeClipUrl=`url(#${e})`,this.tgrp=null}clip(t){this.pendingClip=t}closePath(){const t=this.current;if(t.path){const e=`${t.path.getAttributeNS(null,"d")}Z`;t.path.setAttributeNS(null,"d",e)}}setLeading(t){this.current.leading=-t}setTextRise(t){this.current.textRise=t}setTextRenderingMode(t){this.current.textRenderingMode=t}setHScale(t){this.current.textHScale=t/100}setRenderingIntent(t){}setFlatness(t){}setGState(t){for(const[e,s]of t)switch(e){case"LW":this.setLineWidth(s);break;case"LC":this.setLineCap(s);break;case"LJ":this.setLineJoin(s);break;case"ML":this.setMiterLimit(s);break;case"D":this.setDash(s[0],s[1]);break;case"RI":this.setRenderingIntent(s);break;case"FL":this.setFlatness(s);break;case"Font":this.setFont(s);break;case"CA":this.setStrokeAlpha(s);break;case"ca":this.setFillAlpha(s);break;default:(0,n.warn)(`Unimplemented graphic state operator ${e}`)}}fill(){const t=this.current;t.element&&(t.element.setAttributeNS(null,"fill",t.fillColor),t.element.setAttributeNS(null,"fill-opacity",t.fillAlpha),this.endPath())}stroke(){const t=this.current;t.element&&(this._setStrokeAttributes(t.element),t.element.setAttributeNS(null,"fill","none"),this.endPath())}_setStrokeAttributes(t,e=1){const s=this.current;let i=s.dashArray;1!==e&&i.length>0&&(i=i.map(function(t){return e*t})),t.setAttributeNS(null,"stroke",s.strokeColor),t.setAttributeNS(null,"stroke-opacity",s.strokeAlpha),t.setAttributeNS(null,"stroke-miterlimit",f(s.miterLimit)),t.setAttributeNS(null,"stroke-linecap",s.lineCap),t.setAttributeNS(null,"stroke-linejoin",s.lineJoin),t.setAttributeNS(null,"stroke-width",f(e*s.lineWidth)+"px"),t.setAttributeNS(null,"stroke-dasharray",i.map(f).join(" ")),t.setAttributeNS(null,"stroke-dashoffset",f(e*s.dashPhase)+"px")}eoFill(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}fillStroke(){this.stroke(),this.fill()}eoFillStroke(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}closeStroke(){this.closePath(),this.stroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.closePath(),this.eoFillStroke()}paintSolidColorImageMask(){const t=this.svgFactory.createElement("svg:rect");t.setAttributeNS(null,"x","0"),t.setAttributeNS(null,"y","0"),t.setAttributeNS(null,"width","1px"),t.setAttributeNS(null,"height","1px"),t.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().append(t)}paintImageXObject(t){const e=t.startsWith("g_")?this.commonObjs.get(t):this.objs.get(t);e?this.paintInlineImageXObject(e):(0,n.warn)(`Dependent image with object ID ${t} is not ready yet`)}paintInlineImageXObject(t,e){const s=t.width,i=t.height,n=p(t,this.forceDataSchema,!!e),r=this.svgFactory.createElement("svg:rect");r.setAttributeNS(null,"x","0"),r.setAttributeNS(null,"y","0"),r.setAttributeNS(null,"width",f(s)),r.setAttributeNS(null,"height",f(i)),this.current.element=r,this.clip("nonzero");const a=this.svgFactory.createElement("svg:image");a.setAttributeNS(c,"xlink:href",n),a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y",f(-i)),a.setAttributeNS(null,"width",f(s)+"px"),a.setAttributeNS(null,"height",f(i)+"px"),a.setAttributeNS(null,"transform",`scale(${f(1/s)} ${f(-1/i)})`),e?e.append(a):this._ensureTransformGroup().append(a)}paintImageMaskXObject(t){const e=this.current,s=t.width,i=t.height,n=e.fillColor;e.maskId="mask"+A++;const r=this.svgFactory.createElement("svg:mask");r.setAttributeNS(null,"id",e.maskId);const a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",f(s)),a.setAttributeNS(null,"height",f(i)),a.setAttributeNS(null,"fill",n),a.setAttributeNS(null,"mask",`url(#${e.maskId})`),this.defs.append(r),this._ensureTransformGroup().append(a),this.paintInlineImageXObject(t,r)}paintFormXObjectBegin(t,e){if(Array.isArray(t)&&6===t.length&&this.transform(t[0],t[1],t[2],t[3],t[4],t[5]),e){const t=e[2]-e[0],s=e[3]-e[1],i=this.svgFactory.createElement("svg:rect");i.setAttributeNS(null,"x",e[0]),i.setAttributeNS(null,"y",e[1]),i.setAttributeNS(null,"width",f(t)),i.setAttributeNS(null,"height",f(s)),this.current.element=i,this.clip("nonzero"),this.endPath()}}paintFormXObjectEnd(){}_initialize(t){const e=this.svgFactory.create(t.width,t.height),s=this.svgFactory.createElement("svg:defs");e.append(s),this.defs=s;const i=this.svgFactory.createElement("svg:g");return i.setAttributeNS(null,"transform",b(t.transform)),e.append(i),this.svg=i,e}_ensureClipGroup(){if(!this.current.clipGroup){const t=this.svgFactory.createElement("svg:g");t.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.append(t),this.current.clipGroup=t}return this.current.clipGroup}_ensureTransformGroup(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",b(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().append(this.tgrp):this.svg.append(this.tgrp)),this.tgrp}}}},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.PDFNodeStream=void 0;var i=s(1),n=s(33);const r=require$$5,a=require$$5,o=require$$5,l=require$$5,c=/^file:\/\/\/[a-zA-Z]:\//;e.PDFNodeStream=class{constructor(t){this.source=t,this.url=function(t){const e=l.parse(t);return"file:"===e.protocol||e.host?e:/^[a-z]:[/\\]/i.test(t)?l.parse(`file:///${t}`):(e.host||(e.protocol="file:"),e)}(t.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,i.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new m(this):new p(this),this._fullRequestReader}getRangeReader(t,e){if(e<=this._progressiveDataLength)return null;const s=this.isFsUrl?new f(this,t,e):new g(this,t,e);return this._rangeRequestReaders.push(s),s}cancelAllRequests(t){this._fullRequestReader&&this._fullRequestReader.cancel(t);for(const e of this._rangeRequestReaders.slice(0))e.cancel(t)}};class h{constructor(t){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;const e=t.source;this._contentLength=e.length,this._loaded=0,this._filename=null,this._disableRange=e.disableRange||!1,this._rangeChunkSize=e.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!e.disableStream,this._isRangeSupported=!e.disableRange,this._readableStream=null,this._readCapability=(0,i.createPromiseCapability)(),this._headersCapability=(0,i.createPromiseCapability)()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();return null===t?(this._readCapability=(0,i.createPromiseCapability)(),this.read()):(this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(t).buffer,done:!1})}cancel(t){this._readableStream?this._readableStream.destroy(t):this._error(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",t=>{this._error(t)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new i.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class d{constructor(t){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,i.createPromiseCapability)();const e=t.source;this._isStreamingSupported=!e.disableStream}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();return null===t?(this._readCapability=(0,i.createPromiseCapability)(),this.read()):(this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded}),{value:new Uint8Array(t).buffer,done:!1})}cancel(t){this._readableStream?this._readableStream.destroy(t):this._error(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",t=>{this._error(t)}),this._storedError&&this._readableStream.destroy(this._storedError)}}function u(t,e){return{protocol:t.protocol,auth:t.auth,host:t.hostname,port:t.port,path:t.path,method:"GET",headers:e}}class p extends h{constructor(t){super(t);const e=e=>{if(404===e.statusCode){const t=new i.MissingPDFException(`Missing PDF "${this._url}".`);return this._storedError=t,void this._headersCapability.reject(t)}this._headersCapability.resolve(),this._setReadableStream(e);const s=t=>this._readableStream.headers[t.toLowerCase()],{allowRangeRequests:r,suggestedLength:a}=(0,n.validateRangeRequestCapabilities)({getResponseHeader:s,isHttp:t.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=r,this._contentLength=a||this._contentLength,this._filename=(0,n.extractFilenameFromHeader)(s)};this._request=null,"http:"===this._url.protocol?this._request=a.request(u(this._url,t.httpHeaders),e):this._request=o.request(u(this._url,t.httpHeaders),e),this._request.on("error",t=>{this._storedError=t,this._headersCapability.reject(t)}),this._request.end()}}class g extends d{constructor(t,e,s){super(t),this._httpHeaders={};for(const i in t.httpHeaders){const e=t.httpHeaders[i];void 0!==e&&(this._httpHeaders[i]=e)}this._httpHeaders.Range=`bytes=${e}-${s-1}`;const n=t=>{if(404===t.statusCode){const t=new i.MissingPDFException(`Missing PDF "${this._url}".`);return void(this._storedError=t)}this._setReadableStream(t)};this._request=null,"http:"===this._url.protocol?this._request=a.request(u(this._url,this._httpHeaders),n):this._request=o.request(u(this._url,this._httpHeaders),n),this._request.on("error",t=>{this._storedError=t}),this._request.end()}}class m extends h{constructor(t){super(t);let e=decodeURIComponent(this._url.path);c.test(this._url.href)&&(e=e.replace(/^\//,"")),r.lstat(e,(t,s)=>{if(t)return"ENOENT"===t.code&&(t=new i.MissingPDFException(`Missing PDF "${e}".`)),this._storedError=t,void this._headersCapability.reject(t);this._contentLength=s.size,this._setReadableStream(r.createReadStream(e)),this._headersCapability.resolve()})}}class f extends d{constructor(t,e,s){super(t);let i=decodeURIComponent(this._url.path);c.test(this._url.href)&&(i=i.replace(/^\//,"")),this._setReadableStream(r.createReadStream(i,{start:e,end:s-1}))}}},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.createResponseStatusError=function(t,e){return 404===t||0===t&&e.startsWith("file:")?new i.MissingPDFException('Missing PDF "'+e+'".'):new i.UnexpectedResponseException(`Unexpected server response (${t}) while retrieving PDF "${e}".`,t)},e.extractFilenameFromHeader=function(t){const e=t("Content-Disposition");if(e){let t=(0,n.getFilenameFromContentDispositionHeader)(e);if(t.includes("%"))try{t=decodeURIComponent(t)}catch(s){}if((0,r.isPdfFile)(t))return t}return null},e.validateRangeRequestCapabilities=function({getResponseHeader:t,isHttp:e,rangeChunkSize:s,disableRange:i}){const n={allowRangeRequests:!1,suggestedLength:void 0},r=parseInt(t("Content-Length"),10);return Number.isInteger(r)?(n.suggestedLength=r,r<=2*s||i||!e||"bytes"!==t("Accept-Ranges")||"identity"!==(t("Content-Encoding")||"identity")||(n.allowRangeRequests=!0),n):n},e.validateResponseStatus=function(t){return 200===t||206===t};var i=s(1),n=s(34),r=s(8)},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getFilenameFromContentDispositionHeader=function(t){let e=!0,s=n("filename\\*","i").exec(t);if(s){s=s[1];let t=o(s);return t=unescape(t),t=l(t),t=c(t),a(t)}if(s=function(t){const e=[];let s;const i=n("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(s=i.exec(t));){let[,t,i,n]=s;if(t=parseInt(t,10),t in e){if(0===t)break}else e[t]=[i,n]}const r=[];for(let n=0;n{Object.defineProperty(e,"__esModule",{value:!0}),e.PDFNetworkStream=void 0;var i=s(1),n=s(33);class r{constructor(t,e={}){this.url=t,this.isHttp=/^https?:/i.test(t),this.httpHeaders=this.isHttp&&e.httpHeaders||Object.create(null),this.withCredentials=e.withCredentials||!1,this.getXhr=e.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(t,e,s){const i={begin:t,end:e};for(const n in s)i[n]=s[n];return this.request(i)}requestFull(t){return this.request(t)}request(t){const e=this.getXhr(),s=this.currXhrId++,i=this.pendingRequests[s]={xhr:e};e.open("GET",this.url),e.withCredentials=this.withCredentials;for(const n in this.httpHeaders){const t=this.httpHeaders[n];void 0!==t&&e.setRequestHeader(n,t)}return this.isHttp&&"begin"in t&&"end"in t?(e.setRequestHeader("Range",`bytes=${t.begin}-${t.end-1}`),i.expectedStatus=206):i.expectedStatus=200,e.responseType="arraybuffer",t.onError&&(e.onerror=function(s){t.onError(e.status)}),e.onreadystatechange=this.onStateChange.bind(this,s),e.onprogress=this.onProgress.bind(this,s),i.onHeadersReceived=t.onHeadersReceived,i.onDone=t.onDone,i.onError=t.onError,i.onProgress=t.onProgress,e.send(null),s}onProgress(t,e){const s=this.pendingRequests[t];s&&s.onProgress?.(e)}onStateChange(t,e){const s=this.pendingRequests[t];if(!s)return;const n=s.xhr;if(n.readyState>=2&&s.onHeadersReceived&&(s.onHeadersReceived(),delete s.onHeadersReceived),4!==n.readyState)return;if(!(t in this.pendingRequests))return;if(delete this.pendingRequests[t],0===n.status&&this.isHttp)return void s.onError?.(n.status);const r=n.status||200;if((200!==r||206!==s.expectedStatus)&&r!==s.expectedStatus)return void s.onError?.(n.status);const a=function(t){const e=t.response;return"string"!=typeof e?e:(0,i.stringToBytes)(e).buffer}(n);if(206===r){const t=n.getResponseHeader("Content-Range"),e=/bytes (\d+)-(\d+)\/(\d+)/.exec(t);s.onDone({begin:parseInt(e[1],10),chunk:a})}else a?s.onDone({begin:0,chunk:a}):s.onError?.(n.status)}getRequestXhr(t){return this.pendingRequests[t].xhr}isPendingRequest(t){return t in this.pendingRequests}abortRequest(t){const e=this.pendingRequests[t].xhr;delete this.pendingRequests[t],e.abort()}}e.PDFNetworkStream=class{constructor(t){this._source=t,this._manager=new r(t.url,{httpHeaders:t.httpHeaders,withCredentials:t.withCredentials}),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(t){const e=this._rangeRequestReaders.indexOf(t);e>=0&&this._rangeRequestReaders.splice(e,1)}getFullReader(){return(0,i.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new a(this._manager,this._source),this._fullRequestReader}getRangeReader(t,e){const s=new o(this._manager,t,e);return s.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(s),s}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(const e of this._rangeRequestReaders.slice(0))e.cancel(t)}};class a{constructor(t,e){this._manager=t;const s={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=e.url,this._fullRequestId=t.requestFull(s),this._headersReceivedCapability=(0,i.createPromiseCapability)(),this._disableRange=e.disableRange||!1,this._contentLength=e.length,this._rangeChunkSize=e.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const t=this._fullRequestId,e=this._manager.getRequestXhr(t),s=t=>e.getResponseHeader(t),{allowRangeRequests:i,suggestedLength:r}=(0,n.validateRangeRequestCapabilities)({getResponseHeader:s,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});i&&(this._isRangeSupported=!0),this._contentLength=r||this._contentLength,this._filename=(0,n.extractFilenameFromHeader)(s),this._isRangeSupported&&this._manager.abortRequest(t),this._headersReceivedCapability.resolve()}_onDone(t){if(t&&(this._requests.length>0?this._requests.shift().resolve({value:t.chunk,done:!1}):this._cachedChunks.push(t.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const t of this._requests)t.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(t){this._storedError=(0,n.createResponseStatusError)(t,this._url),this._headersReceivedCapability.reject(this._storedError);for(const e of this._requests)e.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(t){this.onProgress?.({loaded:t.loaded,total:t.lengthComputable?t.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}async read(){if(this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const t=(0,i.createPromiseCapability)();return this._requests.push(t),t.promise}cancel(t){this._done=!0,this._headersReceivedCapability.reject(t);for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class o{constructor(t,e,s){this._manager=t;const i={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=t.url,this._requestId=t.requestRange(e,s,i),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){this.onClosed?.(this)}_onDone(t){const e=t.chunk;this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunk=e,this._done=!0;for(const s of this._requests)s.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(t){this._storedError=(0,n.createResponseStatusError)(t,this._url);for(const e of this._requests)e.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(t){this.isStreamingSupported||this.onProgress?.({loaded:t.loaded})}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(null!==this._queuedChunk){const t=this._queuedChunk;return this._queuedChunk=null,{value:t,done:!1}}if(this._done)return{value:void 0,done:!0};const t=(0,i.createPromiseCapability)();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}},(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.PDFFetchStream=void 0;var i=s(1),n=s(33);function r(t,e,s){return{method:"GET",headers:t,signal:s.signal,mode:"cors",credentials:e?"include":"same-origin",redirect:"follow"}}function a(t){const e=new Headers;for(const s in t){const i=t[s];void 0!==i&&e.append(s,i)}return e}e.PDFFetchStream=class{constructor(t){this.source=t,this.isHttp=/^https?:/i.test(t.url),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,i.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new o(this),this._fullRequestReader}getRangeReader(t,e){if(e<=this._progressiveDataLength)return null;const s=new l(this,t,e);return this._rangeRequestReaders.push(s),s}cancelAllRequests(t){this._fullRequestReader&&this._fullRequestReader.cancel(t);for(const e of this._rangeRequestReaders.slice(0))e.cancel(t)}};class o{constructor(t){this._stream=t,this._reader=null,this._loaded=0,this._filename=null;const e=t.source;this._withCredentials=e.withCredentials||!1,this._contentLength=e.length,this._headersCapability=(0,i.createPromiseCapability)(),this._disableRange=e.disableRange||!1,this._rangeChunkSize=e.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!e.disableStream,this._isRangeSupported=!e.disableRange,this._headers=a(this._stream.httpHeaders);const s=e.url;fetch(s,r(this._headers,this._withCredentials,this._abortController)).then(t=>{if(!(0,n.validateResponseStatus)(t.status))throw(0,n.createResponseStatusError)(t.status,s);this._reader=t.body.getReader(),this._headersCapability.resolve();const e=e=>t.headers.get(e),{allowRangeRequests:r,suggestedLength:a}=(0,n.validateRangeRequestCapabilities)({getResponseHeader:e,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=r,this._contentLength=a||this._contentLength,this._filename=(0,n.extractFilenameFromHeader)(e),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new i.AbortException("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._headersCapability.promise;const{value:t,done:e}=await this._reader.read();return e?{value:t,done:e}:(this._loaded+=t.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(t).buffer,done:!1})}cancel(t){this._reader&&this._reader.cancel(t),this._abortController.abort()}}class l{constructor(t,e,s){this._stream=t,this._reader=null,this._loaded=0;const o=t.source;this._withCredentials=o.withCredentials||!1,this._readCapability=(0,i.createPromiseCapability)(),this._isStreamingSupported=!o.disableStream,this._abortController=new AbortController,this._headers=a(this._stream.httpHeaders),this._headers.append("Range",`bytes=${e}-${s-1}`);const l=o.url;fetch(l,r(this._headers,this._withCredentials,this._abortController)).then(t=>{if(!(0,n.validateResponseStatus)(t.status))throw(0,n.createResponseStatusError)(t.status,l);this._readCapability.resolve(),this._reader=t.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._readCapability.promise;const{value:t,done:e}=await this._reader.read();return e?{value:t,done:e}:(this._loaded+=t.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),{value:new Uint8Array(t).buffer,done:!1})}cancel(t){this._reader&&this._reader.cancel(t),this._abortController.abort()}}}],__webpack_module_cache__={};function __w_pdfjs_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var s=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t](s,s.exports,__w_pdfjs_require__),s.exports}var __webpack_exports__={};return(()=>{var t=__webpack_exports__;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnnotationEditorLayer",{enumerable:!0,get:function(){return n.AnnotationEditorLayer}}),Object.defineProperty(t,"AnnotationEditorParamsType",{enumerable:!0,get:function(){return e.AnnotationEditorParamsType}}),Object.defineProperty(t,"AnnotationEditorType",{enumerable:!0,get:function(){return e.AnnotationEditorType}}),Object.defineProperty(t,"AnnotationEditorUIManager",{enumerable:!0,get:function(){return r.AnnotationEditorUIManager}}),Object.defineProperty(t,"AnnotationLayer",{enumerable:!0,get:function(){return a.AnnotationLayer}}),Object.defineProperty(t,"AnnotationMode",{enumerable:!0,get:function(){return e.AnnotationMode}}),Object.defineProperty(t,"CMapCompressionType",{enumerable:!0,get:function(){return e.CMapCompressionType}}),Object.defineProperty(t,"GlobalWorkerOptions",{enumerable:!0,get:function(){return o.GlobalWorkerOptions}}),Object.defineProperty(t,"InvalidPDFException",{enumerable:!0,get:function(){return e.InvalidPDFException}}),Object.defineProperty(t,"LoopbackPort",{enumerable:!0,get:function(){return s.LoopbackPort}}),Object.defineProperty(t,"MissingPDFException",{enumerable:!0,get:function(){return e.MissingPDFException}}),Object.defineProperty(t,"OPS",{enumerable:!0,get:function(){return e.OPS}}),Object.defineProperty(t,"PDFDataRangeTransport",{enumerable:!0,get:function(){return s.PDFDataRangeTransport}}),Object.defineProperty(t,"PDFDateString",{enumerable:!0,get:function(){return i.PDFDateString}}),Object.defineProperty(t,"PDFWorker",{enumerable:!0,get:function(){return s.PDFWorker}}),Object.defineProperty(t,"PasswordResponses",{enumerable:!0,get:function(){return e.PasswordResponses}}),Object.defineProperty(t,"PermissionFlag",{enumerable:!0,get:function(){return e.PermissionFlag}}),Object.defineProperty(t,"PixelsPerInch",{enumerable:!0,get:function(){return i.PixelsPerInch}}),Object.defineProperty(t,"RenderingCancelledException",{enumerable:!0,get:function(){return i.RenderingCancelledException}}),Object.defineProperty(t,"SVGGraphics",{enumerable:!0,get:function(){return h.SVGGraphics}}),Object.defineProperty(t,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return e.UNSUPPORTED_FEATURES}}),Object.defineProperty(t,"UnexpectedResponseException",{enumerable:!0,get:function(){return e.UnexpectedResponseException}}),Object.defineProperty(t,"Util",{enumerable:!0,get:function(){return e.Util}}),Object.defineProperty(t,"VerbosityLevel",{enumerable:!0,get:function(){return e.VerbosityLevel}}),Object.defineProperty(t,"XfaLayer",{enumerable:!0,get:function(){return d.XfaLayer}}),Object.defineProperty(t,"build",{enumerable:!0,get:function(){return s.build}}),Object.defineProperty(t,"createPromiseCapability",{enumerable:!0,get:function(){return e.createPromiseCapability}}),Object.defineProperty(t,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return e.createValidAbsoluteUrl}}),Object.defineProperty(t,"getDocument",{enumerable:!0,get:function(){return s.getDocument}}),Object.defineProperty(t,"getFilenameFromUrl",{enumerable:!0,get:function(){return i.getFilenameFromUrl}}),Object.defineProperty(t,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return i.getPdfFilenameFromUrl}}),Object.defineProperty(t,"getXfaPageViewport",{enumerable:!0,get:function(){return i.getXfaPageViewport}}),Object.defineProperty(t,"isPdfFile",{enumerable:!0,get:function(){return i.isPdfFile}}),Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return i.loadScript}}),Object.defineProperty(t,"renderTextLayer",{enumerable:!0,get:function(){return c.renderTextLayer}}),Object.defineProperty(t,"shadow",{enumerable:!0,get:function(){return e.shadow}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return s.version}});var e=__w_pdfjs_require__(1),s=__w_pdfjs_require__(4),i=__w_pdfjs_require__(8),n=__w_pdfjs_require__(22),r=__w_pdfjs_require__(7),a=__w_pdfjs_require__(27),o=__w_pdfjs_require__(15),l=__w_pdfjs_require__(3),c=__w_pdfjs_require__(30),h=__w_pdfjs_require__(31),d=__w_pdfjs_require__(29);if(l.isNodeJS){const{PDFNodeStream:t}=__w_pdfjs_require__(32);(0,s.setPDFNetworkStreamFactory)(e=>new t(e))}else{const{PDFNetworkStream:t}=__w_pdfjs_require__(35),{PDFFetchStream:e}=__w_pdfjs_require__(36);(0,s.setPDFNetworkStreamFactory)(s=>(0,i.isValidFetchUrl)(s.url)?new e(s):new t(s))}})(),__webpack_exports__})(),module.exports=factory()})(pdf);var pdfExports=pdf.exports;export{pdfExports as p}; diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/styles-Bno-H3Kc.js b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/styles-Bno-H3Kc.js new file mode 100644 index 0000000..056eae4 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/styles-Bno-H3Kc.js @@ -0,0 +1,24 @@ +import{p as e}from"./pdfjs-HfNT2Y4W.js";import{P as t,d as n,r as o}from"./pdf-lib-D5zKcp81.js"; +/** +* @vue/shared v3.5.26 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +function s(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const l={},i=[],r=()=>{},a=()=>!1,c=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),u=e=>e.startsWith("onUpdate:"),f=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p=Object.prototype.hasOwnProperty,h=(e,t)=>p.call(e,t),v=Array.isArray,g=e=>"[object Map]"===C(e),m=e=>"[object Set]"===C(e),y=e=>"[object Date]"===C(e),x=e=>"function"==typeof e,b=e=>"string"==typeof e,_=e=>"symbol"==typeof e,w=e=>null!==e&&"object"==typeof e,S=e=>(w(e)||x(e))&&x(e.then)&&x(e.catch),k=Object.prototype.toString,C=e=>k.call(e),M=e=>"[object Object]"===C(e),O=e=>b(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,P=s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),E=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},T=/-\w/g,I=E(e=>e.replace(T,e=>e.slice(1).toUpperCase())),j=/\B([A-Z])/g,A=E(e=>e.replace(j,"-$1").toLowerCase()),L=E(e=>e.charAt(0).toUpperCase()+e.slice(1)),R=E(e=>e?`on${L(e)}`:""),F=(e,t)=>!Object.is(e,t),D=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},N=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let U;const $=()=>U||(U="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function W(e){if(v(e)){const t={};for(let n=0;n{if(e){const n=e.split(z);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function K(e){let t="";if(b(e))t=e;else if(v(e))for(let n=0;nq(e,t))}const Z=e=>!(!e||!0!==e.__v_isRef),Q=e=>b(e)?e:null==e?"":v(e)||w(e)&&(e.toString===k||!x(e.toString))?Z(e)?Q(e.value):JSON.stringify(e,ee,2):String(e),ee=(e,t)=>Z(t)?ee(e,t.value):g(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],o)=>(e[te(t,o)+" =>"]=n,e),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>te(e))}:_(t)?te(t):!w(t)||v(t)||M(t)?t:String(t),te=(e,t="")=>{var n;return _(e)?`Symbol(${null!=(n=e.description)?n:t})`:e}; +/** +* @vue/reactivity v3.5.26 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +let ne,oe;class se{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ne,!e&&ne&&(this.index=(ne.scopes||(ne.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e0&&0===--this._on&&(ne=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t0)return;if(ae){let e=ae;for(ae=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;re;){let n=re;for(re=void 0;n;){const o=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=o}}if(e)throw e}function pe(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function he(e){let t,n=e.depsTail,o=n;for(;o;){const e=o.prevDep;-1===o.version?(o===n&&(n=e),me(o),ye(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=e}e.deps=t,e.depsTail=n}function ve(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ge(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ge(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===ke)return;if(e.globalVersion=ke,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!ve(e)))return;e.flags|=2;const t=e.dep,n=oe,o=xe;oe=e,xe=!0;try{pe(e);const n=e.fn(e._value);(0===t.version||F(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(s){throw t.version++,s}finally{oe=n,xe=o,he(e),e.flags&=-3}}function me(e,t=!1){const{dep:n,prevSub:o,nextSub:s}=e;if(o&&(o.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)me(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function ye(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let xe=!0;const be=[];function _e(){be.push(xe),xe=!1}function we(){const e=be.pop();xe=void 0===e||e}function Se(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=oe;oe=void 0;try{t()}finally{oe=e}}}let ke=0;class Ce{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Me{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!oe||!xe||oe===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==oe)t=this.activeLink=new Ce(oe,this),oe.deps?(t.prevDep=oe.depsTail,oe.depsTail.nextDep=t,oe.depsTail=t):oe.deps=oe.depsTail=t,Oe(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=oe.depsTail,t.nextDep=void 0,oe.depsTail.nextDep=t,oe.depsTail=t,oe.deps===t&&(oe.deps=e)}return t}trigger(e){this.version++,ke++,this.notify(e)}notify(e){fe();try{0;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{de()}}}function Oe(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Oe(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Pe=new WeakMap,Ee=Symbol(""),Te=Symbol(""),Ie=Symbol("");function je(e,t,n){if(xe&&oe){let t=Pe.get(e);t||Pe.set(e,t=new Map);let o=t.get(n);o||(t.set(n,o=new Me),o.map=t,o.key=n),o.track()}}function Ae(e,t,n,o,s,l){const i=Pe.get(e);if(!i)return void ke++;const r=e=>{e&&e.trigger()};if(fe(),"clear"===t)i.forEach(r);else{const s=v(e),l=s&&O(n);if(s&&"length"===n){const e=Number(o);i.forEach((t,n)=>{("length"===n||n===Ie||!_(n)&&n>=e)&&r(t)})}else switch((void 0!==n||i.has(void 0))&&r(i.get(n)),l&&r(i.get(Ie)),t){case"add":s?l&&r(i.get("length")):(r(i.get(Ee)),g(e)&&r(i.get(Te)));break;case"delete":s||(r(i.get(Ee)),g(e)&&r(i.get(Te)));break;case"set":g(e)&&r(i.get(Ee))}}de()}function Le(e){const t=xt(e);return t===e?t:(je(t,0,Ie),mt(e)?t:t.map(bt))}function Re(e){return je(e=xt(e),0,Ie),e}function Fe(e,t){return gt(e)?vt(e)?_t(bt(t)):_t(t):bt(t)}const De={__proto__:null,[Symbol.iterator](){return Ve(this,Symbol.iterator,e=>Fe(this,e))},concat(...e){return Le(this).concat(...e.map(e=>v(e)?Le(e):e))},entries(){return Ve(this,"entries",e=>(e[1]=Fe(this,e[1]),e))},every(e,t){return Ue(this,"every",e,t,void 0,arguments)},filter(e,t){return Ue(this,"filter",e,t,e=>e.map(e=>Fe(this,e)),arguments)},find(e,t){return Ue(this,"find",e,t,e=>Fe(this,e),arguments)},findIndex(e,t){return Ue(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ue(this,"findLast",e,t,e=>Fe(this,e),arguments)},findLastIndex(e,t){return Ue(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ue(this,"forEach",e,t,void 0,arguments)},includes(...e){return We(this,"includes",e)},indexOf(...e){return We(this,"indexOf",e)},join(e){return Le(this).join(e)},lastIndexOf(...e){return We(this,"lastIndexOf",e)},map(e,t){return Ue(this,"map",e,t,void 0,arguments)},pop(){return Be(this,"pop")},push(...e){return Be(this,"push",e)},reduce(e,...t){return $e(this,"reduce",e,t)},reduceRight(e,...t){return $e(this,"reduceRight",e,t)},shift(){return Be(this,"shift")},some(e,t){return Ue(this,"some",e,t,void 0,arguments)},splice(...e){return Be(this,"splice",e)},toReversed(){return Le(this).toReversed()},toSorted(e){return Le(this).toSorted(e)},toSpliced(...e){return Le(this).toSpliced(...e)},unshift(...e){return Be(this,"unshift",e)},values(){return Ve(this,"values",e=>Fe(this,e))}};function Ve(e,t,n){const o=Re(e),s=o[t]();return o===e||mt(e)||(s._next=s.next,s.next=()=>{const e=s._next();return e.done||(e.value=n(e.value)),e}),s}const Ne=Array.prototype;function Ue(e,t,n,o,s,l){const i=Re(e),r=i!==e&&!mt(e),a=i[t];if(a!==Ne[t]){const t=a.apply(e,l);return r?bt(t):t}let c=n;i!==e&&(r?c=function(t,o){return n.call(this,Fe(e,t),o,e)}:n.length>2&&(c=function(t,o){return n.call(this,t,o,e)}));const u=a.call(i,c,o);return r&&s?s(u):u}function $e(e,t,n,o){const s=Re(e);let l=n;return s!==e&&(mt(e)?n.length>3&&(l=function(t,o,s){return n.call(this,t,o,s,e)}):l=function(t,o,s){return n.call(this,t,Fe(e,o),s,e)}),s[t](l,...o)}function We(e,t,n){const o=xt(e);je(o,0,Ie);const s=o[t](...n);return-1!==s&&!1!==s||!yt(n[0])?s:(n[0]=xt(n[0]),o[t](...n))}function Be(e,t,n=[]){_e(),fe();const o=xt(e)[t].apply(e,n);return de(),we(),o}const ze=s("__proto__,__v_isRef,__isVue"),Je=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(_));function He(e){_(e)||(e=String(e));const t=xt(this);return je(t,0,e),t.hasOwnProperty(e)}class Ke{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const o=this._isReadonly,s=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return s;if("__v_raw"===t)return n===(o?s?ut:ct:s?at:rt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const l=v(e);if(!o){let e;if(l&&(e=De[t]))return e;if("hasOwnProperty"===t)return He}const i=Reflect.get(e,t,wt(e)?e:n);if(_(t)?Je.has(t):ze(t))return i;if(o||je(e,0,t),s)return i;if(wt(i)){const e=l&&O(t)?i:i.value;return o&&w(e)?pt(e):e}return w(i)?o?pt(i):dt(i):i}}class Xe extends Ke{constructor(e=!1){super(!1,e)}set(e,t,n,o){let s=e[t];const l=v(e)&&O(t);if(!this._isShallow){const e=gt(s);if(mt(n)||gt(n)||(s=xt(s),n=xt(n)),!l&&wt(s)&&!wt(n))return e||(s.value=n),!0}const i=l?Number(t)e,et=e=>Reflect.getPrototypeOf(e);function tt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function nt(e,t){const n={get(n){const o=this.__v_raw,s=xt(o),l=xt(n);e||(F(n,l)&&je(s,0,n),je(s,0,l));const{has:i}=et(s),r=t?Qe:e?_t:bt;return i.call(s,n)?r(o.get(n)):i.call(s,l)?r(o.get(l)):void(o!==s&&o.get(n))},get size(){const t=this.__v_raw;return!e&&je(xt(t),0,Ee),t.size},has(t){const n=this.__v_raw,o=xt(n),s=xt(t);return e||(F(t,s)&&je(o,0,t),je(o,0,s)),t===s?n.has(t):n.has(t)||n.has(s)},forEach(n,o){const s=this,l=s.__v_raw,i=xt(l),r=t?Qe:e?_t:bt;return!e&&je(i,0,Ee),l.forEach((e,t)=>n.call(o,r(e),r(t),s))}};f(n,e?{add:tt("add"),set:tt("set"),delete:tt("delete"),clear:tt("clear")}:{add(e){t||mt(e)||gt(e)||(e=xt(e));const n=xt(this);return et(n).has.call(n,e)||(n.add(e),Ae(n,"add",e,e)),this},set(e,n){t||mt(n)||gt(n)||(n=xt(n));const o=xt(this),{has:s,get:l}=et(o);let i=s.call(o,e);i||(e=xt(e),i=s.call(o,e));const r=l.call(o,e);return o.set(e,n),i?F(n,r)&&Ae(o,"set",e,n):Ae(o,"add",e,n),this},delete(e){const t=xt(this),{has:n,get:o}=et(t);let s=n.call(t,e);s||(e=xt(e),s=n.call(t,e)),o&&o.call(t,e);const l=t.delete(e);return s&&Ae(t,"delete",e,void 0),l},clear(){const e=xt(this),t=0!==e.size,n=e.clear();return t&&Ae(e,"clear",void 0,void 0),n}});return["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=function(e,t,n){return function(...o){const s=this.__v_raw,l=xt(s),i=g(l),r="entries"===e||e===Symbol.iterator&&i,a="keys"===e&&i,c=s[e](...o),u=n?Qe:t?_t:bt;return!t&&je(l,0,a?Te:Ee),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:r?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}(o,e,t)}),n}function ot(e,t){const n=nt(e,t);return(t,o,s)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(h(n,o)&&o in t?n:t,o,s)}const st={get:ot(!1,!1)},lt={get:ot(!1,!0)},it={get:ot(!0,!1)},rt=new WeakMap,at=new WeakMap,ct=new WeakMap,ut=new WeakMap;function ft(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>C(e).slice(8,-1))(e))}function dt(e){return gt(e)?e:ht(e,!1,qe,st,rt)}function pt(e){return ht(e,!0,Ge,it,ct)}function ht(e,t,n,o,s){if(!w(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const l=ft(e);if(0===l)return e;const i=s.get(e);if(i)return i;const r=new Proxy(e,2===l?o:n);return s.set(e,r),r}function vt(e){return gt(e)?vt(e.__v_raw):!(!e||!e.__v_isReactive)}function gt(e){return!(!e||!e.__v_isReadonly)}function mt(e){return!(!e||!e.__v_isShallow)}function yt(e){return!!e&&!!e.__v_raw}function xt(e){const t=e&&e.__v_raw;return t?xt(t):e}const bt=e=>w(e)?dt(e):e,_t=e=>w(e)?pt(e):e;function wt(e){return!!e&&!0===e.__v_isRef}function St(e){return function(e,t){if(wt(e))return e;return new kt(e,t)}(e,!1)}class kt{constructor(e,t){this.dep=new Me,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:xt(e),this._value=t?e:bt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||mt(e)||gt(e);e=n?e:xt(e),F(e,t)&&(this._rawValue=e,this._value=n?e:bt(e),this.dep.trigger())}}const Ct={get:(e,t,n)=>{return"__v_raw"===t?e:wt(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const s=e[t];return wt(s)&&!wt(n)?(s.value=n,!0):Reflect.set(e,t,n,o)}};function Mt(e){return vt(e)?e:new Proxy(e,Ct)}class Ot{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Me(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ke-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&oe!==this)return ue(this,!0),!0}get value(){const e=this.dep.track();return ge(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}const Pt={},Et=new WeakMap;let Tt;function It(e,t,n=l){const{immediate:o,deep:s,once:i,scheduler:a,augmentJob:c,call:u}=n,f=e=>s?e:mt(e)||!1===s||0===s?jt(e,1):jt(e);let p,h,g,m,y=!1,b=!1;if(wt(e)?(h=()=>e.value,y=mt(e)):vt(e)?(h=()=>f(e),y=!0):v(e)?(b=!0,y=e.some(e=>vt(e)||mt(e)),h=()=>e.map(e=>wt(e)?e.value:vt(e)?f(e):x(e)?u?u(e,2):e():void 0)):h=x(e)?t?u?()=>u(e,2):e:()=>{if(g){_e();try{g()}finally{we()}}const t=Tt;Tt=p;try{return u?u(e,3,[m]):e(m)}finally{Tt=t}}:r,t&&s){const e=h,t=!0===s?1/0:s;h=()=>jt(e(),t)}const _=ne,w=()=>{p.stop(),_&&_.active&&d(_.effects,p)};if(i&&t){const e=t;t=(...t)=>{e(...t),w()}}let S=b?new Array(e.length).fill(Pt):Pt;const k=e=>{if(1&p.flags&&(p.dirty||e))if(t){const e=p.run();if(s||y||(b?e.some((e,t)=>F(e,S[t])):F(e,S))){g&&g();const n=Tt;Tt=p;try{const n=[e,S===Pt?void 0:b&&S[0]===Pt?[]:S,m];S=e,u?u(t,3,n):t(...n)}finally{Tt=n}}}else p.run()};return c&&c(k),p=new ie(h),p.scheduler=a?()=>a(k,!1):k,m=e=>function(e,t=!1,n=Tt){if(n){let t=Et.get(n);t||Et.set(n,t=[]),t.push(e)}}(e,!1,p),g=p.onStop=()=>{const e=Et.get(p);if(e){if(u)u(e,4);else for(const t of e)t();Et.delete(p)}},t?o?k(!0):S=p.run():a?a(k.bind(null,!0),!0):p.run(),w.pause=p.pause.bind(p),w.resume=p.resume.bind(p),w.stop=w,w}function jt(e,t=1/0,n){if(t<=0||!w(e)||e.__v_skip)return e;if(((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,wt(e))jt(e.value,t,n);else if(v(e))for(let o=0;o{jt(e,t,n)});else if(M(e)){for(const o in e)jt(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&jt(e[o],t,n)}return e} +/** +* @vue/runtime-core v3.5.26 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function At(e,t,n,o){try{return o?e(...o):e()}catch(s){Rt(s,t,n)}}function Lt(e,t,n,o){if(x(e)){const s=At(e,t,n,o);return s&&S(s)&&s.catch(e=>{Rt(e,t,n)}),s}if(v(e)){const s=[];for(let l=0;l=Xt(n)?Ft.push(e):Ft.splice(function(e){let t=Dt+1,n=Ft.length;for(;t>>1,s=Ft[o],l=Xt(s);lXt(e)-Xt(t));if(Vt.length=0,Nt)return void Nt.push(...e);for(Nt=e,Ut=0;Utnull==e.id?2&e.flags?-1:1/0:e.id;function Yt(e){try{for(Dt=0;Dt1)return n&&x(t)?t.call(o&&o.proxy):t}}const nn=Symbol.for("v-scx");function on(e,t,n){return sn(e,t,n)}function sn(e,t,n=l){const{immediate:o,deep:s,flush:i,once:a}=n,c=f({},n),u=t&&o||!t&&"post"!==i;let d;if(vs)if("sync"===i){const e=tn(nn);d=e.__watcherHandles||(e.__watcherHandles=[])}else if(!u){const e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}const p=as;c.call=(e,t,n)=>Lt(e,p,t,n);let h=!1;"post"===i?c.scheduler=e=>{Mo(e,p&&p.suspense)}:"sync"!==i&&(h=!0,c.scheduler=(e,t)=>{t?e():zt(e)}),c.augmentJob=e=>{t&&(e.flags|=4),h&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};const v=It(e,t,c);return vs&&(d?d.push(v):u&&v()),v}function ln(e,t,n){const o=this.proxy,s=b(e)?e.includes(".")?rn(o,e):()=>o[e]:e.bind(o,o);let l;x(t)?l=t:(l=t.handler,n=t);const i=ds(this),r=sn(s,l.bind(o),n);return i(),r}function rn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;epn(e,t&&(v(t)?t[l]:t),n,o,s));if(vn(o)&&!s)return void(512&o.shapeFlag&&o.type.__asyncResolved&&o.component.subTree.component&&pn(e,t,n,o.component.subTree));const i=4&o.shapeFlag?xs(o.component):o.el,r=s?null:i,{i:c,r:u}=e,f=t&&t.r,p=c.refs===l?c.refs={}:c.refs,g=c.setupState,m=xt(g),y=g===l?a:e=>h(m,e);if(null!=f&&f!==u)if(hn(t),b(f))p[f]=null,y(f)&&(g[f]=null);else if(wt(f)){f.value=null;const e=t;e.k&&(p[e.k]=null)}if(x(u))At(u,c,12,[r,p]);else{const t=b(u),o=wt(u);if(t||o){const l=()=>{if(e.f){const n=t?y(u)?g[u]:p[u]:u.value;if(s)v(n)&&d(n,i);else if(v(n))n.includes(i)||n.push(i);else if(t)p[u]=[i],y(u)&&(g[u]=p[u]);else{const t=[i];u.value=t,e.k&&(p[e.k]=t)}}else t?(p[u]=r,y(u)&&(g[u]=r)):o&&(u.value=r,e.k&&(p[e.k]=r))};if(r){const t=()=>{l(),dn.delete(e)};t.id=-1,dn.set(e,t),Mo(t,n)}else hn(e),l()}}}function hn(e){const t=dn.get(e);t&&(t.flags|=8,dn.delete(e))}$().requestIdleCallback,$().cancelIdleCallback;const vn=e=>!!e.type.__asyncLoader,gn=e=>e.type.__isKeepAlive;function mn(e,t){xn(e,"a",t)}function yn(e,t){xn(e,"da",t)}function xn(e,t,n=as){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(_n(t,o,n),n){let e=n.parent;for(;e&&e.parent;)gn(e.parent.vnode)&&bn(o,t,n,e),e=e.parent}}function bn(e,t,n,o){const s=_n(t,e,o,!0);Pn(()=>{d(o[t],s)},n)}function _n(e,t,n=as,o=!1){if(n){const s=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...o)=>{_e();const s=ds(n),l=Lt(t,n,e,o);return s(),we(),l});return o?s.unshift(l):s.push(l),l}}const wn=e=>(t,n=as)=>{vs&&"sp"!==e||_n(e,(...e)=>t(...e),n)},Sn=wn("bm"),kn=wn("m"),Cn=wn("bu"),Mn=wn("u"),On=wn("bum"),Pn=wn("um"),En=wn("sp"),Tn=wn("rtg"),In=wn("rtc");function jn(e,t=as){_n("ec",e,t)}const An=Symbol.for("v-ndc");function Ln(e,t,n,o){let s;const l=n,i=v(e);if(i||b(e)){let n=!1,o=!1;i&&vt(e)&&(n=!mt(e),o=gt(e),e=Re(e)),s=new Array(e.length);for(let i=0,r=e.length;it(e,n,void 0,l));else{const n=Object.keys(e);s=new Array(n.length);for(let o=0,i=n.length;oe?hs(e)?xs(e):Rn(e.parent):null,Fn=f(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=>Rn(e.parent),$root:e=>Rn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>zn(e),$forceUpdate:e=>e.f||(e.f=()=>{zt(e.update)}),$nextTick:e=>e.n||(e.n=Bt.bind(e.proxy)),$watch:e=>ln.bind(e)}),Dn=(e,t)=>e!==l&&!e.__isScriptSetup&&h(e,t),Vn={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:o,data:s,props:i,accessCache:r,type:a,appContext:c}=e;if("$"!==t[0]){const e=r[t];if(void 0!==e)switch(e){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Dn(o,t))return r[t]=1,o[t];if(s!==l&&h(s,t))return r[t]=2,s[t];if(h(i,t))return r[t]=3,i[t];if(n!==l&&h(n,t))return r[t]=4,n[t];Un&&(r[t]=0)}}const u=Fn[t];let f,d;return u?("$attrs"===t&&je(e.attrs,0,""),u(e)):(f=a.__cssModules)&&(f=f[t])?f:n!==l&&h(n,t)?(r[t]=4,n[t]):(d=c.config.globalProperties,h(d,t)?d[t]:void 0)},set({_:e},t,n){const{data:o,setupState:s,ctx:i}=e;return Dn(s,t)?(s[t]=n,!0):o!==l&&h(o,t)?(o[t]=n,!0):!h(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:s,props:i,type:r}},a){let c;return!!(n[a]||e!==l&&"$"!==a[0]&&h(e,a)||Dn(t,a)||h(i,a)||h(o,a)||h(Fn,a)||h(s.config.globalProperties,a)||(c=r.__cssModules)&&c[a])},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:h(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Nn(e){return v(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}let Un=!0;function $n(e){const t=zn(e),n=e.proxy,o=e.ctx;Un=!1,t.beforeCreate&&Wn(t.beforeCreate,e,"bc");const{data:s,computed:l,methods:i,watch:a,provide:c,inject:u,created:f,beforeMount:d,mounted:p,beforeUpdate:h,updated:g,activated:m,deactivated:y,beforeDestroy:b,beforeUnmount:_,destroyed:S,unmounted:k,render:C,renderTracked:M,renderTriggered:O,errorCaptured:P,serverPrefetch:E,expose:T,inheritAttrs:I,components:j,directives:A,filters:L}=t;if(u&&function(e,t){v(e)&&(e=Xn(e));for(const n in e){const o=e[n];let s;s=w(o)?"default"in o?tn(o.from||n,o.default,!0):tn(o.from||n):tn(o),wt(s)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[n]=s}}(u,o,null),i)for(const r in i){const e=i[r];x(e)&&(o[r]=e.bind(n))}if(s){const t=s.call(n,n);w(t)&&(e.data=dt(t))}if(Un=!0,l)for(const v in l){const e=l[v],t=x(e)?e.bind(n,n):x(e.get)?e.get.bind(n,n):r,s=!x(e)&&x(e.set)?e.set.bind(n):r,i=bs({get:t,set:s});Object.defineProperty(o,v,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(a)for(const r in a)Bn(a[r],o,n,r);if(c){const e=x(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{!function(e,t){if(as){let n=as.provides;const o=as.parent&&as.parent.provides;o===n&&(n=as.provides=Object.create(o)),n[e]=t}}(t,e[t])})}function R(e,t){v(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(f&&Wn(f,e,"c"),R(Sn,d),R(kn,p),R(Cn,h),R(Mn,g),R(mn,m),R(yn,y),R(jn,P),R(In,M),R(Tn,O),R(On,_),R(Pn,k),R(En,E),v(T))if(T.length){const t=e.exposed||(e.exposed={});T.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||(e.exposed={});C&&e.render===r&&(e.render=C),null!=I&&(e.inheritAttrs=I),j&&(e.components=j),A&&(e.directives=A),E&&fn(e)}function Wn(e,t,n){Lt(v(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Bn(e,t,n,o){let s=o.includes(".")?rn(n,o):()=>n[o];if(b(e)){const n=t[e];x(n)&&on(s,n)}else if(x(e))on(s,e.bind(n));else if(w(e))if(v(e))e.forEach(e=>Bn(e,t,n,o));else{const o=x(e.handler)?e.handler.bind(n):t[e.handler];x(o)&&on(s,o,e)}}function zn(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:s,optionsCache:l,config:{optionMergeStrategies:i}}=e.appContext,r=l.get(t);let a;return r?a=r:s.length||n||o?(a={},s.length&&s.forEach(e=>Jn(a,e,i,!0)),Jn(a,t,i)):a=t,w(t)&&l.set(t,a),a}function Jn(e,t,n,o=!1){const{mixins:s,extends:l}=t;l&&Jn(e,l,n,!0),s&&s.forEach(t=>Jn(e,t,n,!0));for(const i in t)if(o&&"expose"===i);else{const o=Hn[i]||n&&n[i];e[i]=o?o(e[i],t[i]):t[i]}return e}const Hn={data:Kn,props:Gn,emits:Gn,methods:qn,computed:qn,beforeCreate:Yn,created:Yn,beforeMount:Yn,mounted:Yn,beforeUpdate:Yn,updated:Yn,beforeDestroy:Yn,beforeUnmount:Yn,destroyed:Yn,unmounted:Yn,activated:Yn,deactivated:Yn,errorCaptured:Yn,serverPrefetch:Yn,components:qn,directives:qn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=f(Object.create(null),e);for(const o in t)n[o]=Yn(e[o],t[o]);return n},provide:Kn,inject:function(e,t){return qn(Xn(e),Xn(t))}};function Kn(e,t){return t?e?function(){return f(x(e)?e.call(this,this):e,x(t)?t.call(this,this):t)}:t:e}function Xn(e){if(v(e)){const t={};for(let n=0;n(s.has(e)||(e&&x(e.install)?(s.add(e),e.install(r,...t)):x(e)&&(s.add(e),e(r,...t))),r),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),r),component:(e,t)=>t?(o.components[e]=t,r):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,r):o.directives[e],mount(s,l,a){if(!i){const l=r._ceVNode||Zo(t,n);return l.appContext=o,!0===a?a="svg":!1===a&&(a=void 0),e(l,s,a),i=!0,r._container=s,s.__vue_app__=r,xs(l.component)}},onUnmount(e){l.push(e)},unmount(){i&&(Lt(l,r._instance,16),e(null,r._container),delete r._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,r),runWithContext(e){const t=to;to=r;try{return e()}finally{to=t}}};return r}}let to=null;function no(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||l;let s=n;const i=t.startsWith("update:"),r=i&&((e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${I(t)}Modifiers`]||e[`${A(t)}Modifiers`])(o,t.slice(7));let a;r&&(r.trim&&(s=n.map(e=>b(e)?e.trim():e)),r.number&&(s=n.map(N)));let c=o[a=R(t)]||o[a=R(I(t))];!c&&i&&(c=o[a=R(A(t))]),c&&Lt(c,e,6,s);const u=o[a+"Once"];if(u){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,Lt(u,e,6,s)}}const oo=new WeakMap;function so(e,t,n=!1){const o=n?oo:t.emitsCache,s=o.get(e);if(void 0!==s)return s;const l=e.emits;let i={},r=!1;if(!x(e)){const o=e=>{const n=so(e,t,!0);n&&(r=!0,f(i,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return l||r?(v(l)?l.forEach(e=>i[e]=null):f(i,l),w(e)&&o.set(e,i),i):(w(e)&&o.set(e,null),null)}function lo(e,t){return!(!e||!c(t))&&(t=t.slice(2).replace(/Once$/,""),h(e,t[0].toLowerCase()+t.slice(1))||h(e,A(t))||h(e,t))}function io(e){const{type:t,vnode:n,proxy:o,withProxy:s,propsOptions:[l],slots:i,attrs:r,emit:a,render:c,renderCache:f,props:d,data:p,setupState:h,ctx:v,inheritAttrs:g}=e,m=Zt(e);let y,x;try{if(4&n.shapeFlag){const e=s||o,t=e;y=ns(c.call(t,e,f,d,h,p,v)),x=r}else{const e=t;0,y=ns(e.length>1?e(d,{attrs:r,slots:i,emit:a}):e(d,null)),x=t.props?r:ro(r)}}catch(_){No.length=0,Rt(_,e,1),y=Zo(Do)}let b=y;if(x&&!1!==g){const e=Object.keys(x),{shapeFlag:t}=b;e.length&&7&t&&(l&&e.some(u)&&(x=ao(x,l)),b=Qo(b,x,!1,!0))}return n.dirs&&(b=Qo(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&un(b,n.transition),y=b,Zt(m),y}const ro=e=>{let t;for(const n in e)("class"===n||"style"===n||c(n))&&((t||(t={}))[n]=e[n]);return t},ao=(e,t)=>{const n={};for(const o in e)u(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function co(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let s=0;sObject.create(uo),po=e=>Object.getPrototypeOf(e)===uo;function ho(e,t,n,o=!1){const s={},l=fo();e.propsDefaults=Object.create(null),vo(e,t,s,l);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=o?s:ht(s,!1,Ze,lt,at):e.type.props?e.props=s:e.props=l,e.attrs=l}function vo(e,t,n,o){const[s,i]=e.propsOptions;let r,a=!1;if(t)for(let l in t){if(P(l))continue;const c=t[l];let u;s&&h(s,u=I(l))?i&&i.includes(u)?(r||(r={}))[u]=c:n[u]=c:lo(e.emitsOptions,l)||l in o&&c===o[l]||(o[l]=c,a=!0)}if(i){const t=xt(n),o=r||l;for(let l=0;l{u=!0;const[n,o]=yo(e,t,!0);f(a,n),o&&c.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!r&&!u)return w(e)&&o.set(e,i),i;if(v(r))for(let i=0;i"_"===e||"_ctx"===e||"$stable"===e,_o=e=>v(e)?e.map(ns):[ns(e)],wo=(e,t,n)=>{if(t._n)return t;const o=function(e,t=qt){if(!t)return e;if(e._n)return e;const n=(...o)=>{n._d&&Bo(-1);const s=Zt(t);let l;try{l=e(...o)}finally{Zt(s),n._d&&Bo(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}((...e)=>_o(t(...e)),n);return o._c=!1,o},So=(e,t,n)=>{const o=e._ctx;for(const s in e){if(bo(s))continue;const n=e[s];if(x(n))t[s]=wo(0,n,o);else if(null!=n){const e=_o(n);t[s]=()=>e}}},ko=(e,t)=>{const n=_o(t);e.slots.default=()=>n},Co=(e,t,n)=>{for(const o in t)!n&&bo(o)||(e[o]=t[o])},Mo=function(e,t){t&&t.pendingBranch?v(e)?t.effects.push(...e):t.effects.push(e):(v(n=e)?Vt.push(...n):Nt&&-1===n.id?Nt.splice(Ut+1,0,n):1&n.flags||(Vt.push(n),n.flags|=1),Jt());var n};function Oo(e){return function(e){$().__VUE__=!0;const{insert:t,remove:n,patchProp:o,createElement:s,createText:a,createComment:c,setText:u,setElementText:f,parentNode:d,nextSibling:p,setScopeId:v=r,insertStaticContent:g}=e,m=(e,t,n,o=null,s=null,l=null,i=void 0,r=null,a=!!t.dynamicChildren)=>{if(e===t)return;e&&!Xo(e,t)&&(o=Z(e),K(e,s,l,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:f}=t;switch(c){case Fo:y(e,t,n,o);break;case Do:x(e,t,n,o);break;case Vo:null==e&&b(t,n,o,i);break;case Ro:L(e,t,n,o,s,l,i,r,a);break;default:1&f?k(e,t,n,o,s,l,i,r,a):6&f?R(e,t,n,o,s,l,i,r,a):(64&f||128&f)&&c.process(e,t,n,o,s,l,i,r,a,te)}null!=u&&s?pn(u,e&&e.ref,l,t||e,!t):null==u&&e&&null!=e.ref&&pn(e.ref,null,l,e,!0)},y=(e,n,o,s)=>{if(null==e)t(n.el=a(n.children),o,s);else{const t=n.el=e.el;n.children!==e.children&&u(t,n.children)}},x=(e,n,o,s)=>{null==e?t(n.el=c(n.children||""),o,s):n.el=e.el},b=(e,t,n,o)=>{[e.el,e.anchor]=g(e.children,t,n,o,e.el,e.anchor)},_=({el:e,anchor:n},o,s)=>{let l;for(;e&&e!==n;)l=p(e),t(e,o,s),e=l;t(n,o,s)},w=({el:e,anchor:t})=>{let o;for(;e&&e!==t;)o=p(e),n(e),e=o;n(t)},k=(e,t,n,o,s,l,i,r,a)=>{if("svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e)C(t,n,o,s,l,i,r,a);else{const n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),E(e,t,s,l,i,r,a)}finally{n&&n._endPatch()}}},C=(e,n,l,i,r,a,c,u)=>{let d,p;const{props:h,shapeFlag:v,transition:g,dirs:m}=e;if(d=e.el=s(e.type,a,h&&h.is,h),8&v?f(d,e.children):16&v&&O(e.children,d,null,i,r,Po(e,a),c,u),m&&en(e,null,i,"created"),M(d,e,e.scopeId,c,i),h){for(const e in h)"value"===e||P(e)||o(d,e,null,h[e],a,i);"value"in h&&o(d,"value",null,h.value,a),(p=h.onVnodeBeforeMount)&&ls(p,i,e)}m&&en(e,null,i,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(r,g);y&&g.beforeEnter(d),t(d,n,l),((p=h&&h.onVnodeMounted)||y||m)&&Mo(()=>{p&&ls(p,i,e),y&&g.enter(d),m&&en(e,null,i,"mounted")},r)},M=(e,t,n,o,s)=>{if(n&&v(e,n),o)for(let l=0;l{for(let c=a;c{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:p}=t;u|=16&e.patchFlag;const h=e.props||l,v=t.props||l;let g;if(n&&Eo(n,!1),(g=v.onVnodeBeforeUpdate)&&ls(g,n,t,e),p&&en(t,e,n,"beforeUpdate"),n&&Eo(n,!0),(h.innerHTML&&null==v.innerHTML||h.textContent&&null==v.textContent)&&f(c,""),d?T(e.dynamicChildren,d,c,n,s,Po(t,i),r):a||B(e,t,c,null,n,s,Po(t,i),r,!1),u>0){if(16&u)j(c,h,v,n,i);else if(2&u&&h.class!==v.class&&o(c,"class",null,v.class,i),4&u&&o(c,"style",h.style,v.style,i),8&u){const e=t.dynamicProps;for(let t=0;t{g&&ls(g,n,t,e),p&&en(t,e,n,"updated")},s)},T=(e,t,n,o,s,l,i)=>{for(let r=0;r{if(t!==n){if(t!==l)for(const l in t)P(l)||l in n||o(e,l,t[l],null,i,s);for(const l in n){if(P(l))continue;const r=n[l],a=t[l];r!==a&&"value"!==l&&o(e,l,a,r,i,s)}"value"in n&&o(e,"value",t.value,n.value,i)}},L=(e,n,o,s,l,i,r,c,u)=>{const f=n.el=e?e.el:a(""),d=n.anchor=e?e.anchor:a("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:v}=n;v&&(c=c?c.concat(v):v),null==e?(t(f,o,s),t(d,o,s),O(n.children||[],o,d,l,i,r,c,u)):p>0&&64&p&&h&&e.dynamicChildren&&e.dynamicChildren.length===h.length?(T(e.dynamicChildren,h,o,l,i,r,c),(null!=n.key||l&&n===l.subTree)&&To(e,n,!0)):B(e,n,o,d,l,i,r,c,u)},R=(e,t,n,o,s,l,i,r,a)=>{t.slotScopeIds=r,null==e?512&t.shapeFlag?s.ctx.activate(t,n,o,i,a):F(t,n,o,s,l,i,a):N(e,t,a)},F=(e,t,n,o,s,i,r)=>{const a=e.component=function(e,t,n){const o=e.type,s=(t?t.appContext:e.appContext)||is,i={uid:rs++,vnode:e,type:o,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new se(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:yo(o,s),emitsOptions:so(o,s),emit:null,emitted:null,propsDefaults:l,inheritAttrs:o.inheritAttrs,ctx:l,data:l,props:l,attrs:l,slots:l,refs:l,setupState:l,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};i.ctx={_:i},i.root=t?t.root:i,i.emit=no.bind(null,i),e.ce&&e.ce(i);return i}(e,o,s);if(gn(e)&&(a.ctx.renderer=te),function(e,t=!1,n=!1){t&&fs(t);const{props:o,children:s}=e.vnode,l=hs(e);ho(e,o,l,t),((e,t,n)=>{const o=e.slots=fo();if(32&e.vnode.shapeFlag){const e=t._;e?(Co(o,t,n),n&&V(o,"_",e,!0)):So(t,o)}else t&&ko(e,t)})(e,s,n||t);const i=l?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Vn);const{setup:o}=n;if(o){_e();const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,ys),slots:e.slots,emit:e.emit,expose:t}}(e):null,s=ds(e),l=At(o,e,0,[e.props,n]),i=S(l);if(we(),s(),!i&&!e.sp||vn(e)||fn(e),i){if(l.then(ps,ps),t)return l.then(t=>{gs(e,t)}).catch(t=>{Rt(t,e,0)});e.asyncDep=l}else gs(e,l)}else ms(e)}(e,t):void 0;t&&fs(!1)}(a,!1,r),a.asyncDep){if(s&&s.registerDep(a,U,r),!e.el){const o=a.subTree=Zo(Do);x(null,o,t,n),e.placeholder=o.el}}else U(a,e,t,n,s,i,r)},N=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:s,component:l}=e,{props:i,children:r,patchFlag:a}=t,c=l.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&a>=0))return!(!s&&!r||r&&r.$stable)||o!==i&&(o?!i||co(o,i,c):!!i);if(1024&a)return!0;if(16&a)return o?co(o,i,c):!!i;if(8&a){const e=t.dynamicProps;for(let t=0;t{const r=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:a,vnode:c}=e;{const n=Io(e);if(n)return t&&(t.el=c.el,W(e,t,i)),void n.asyncDep.then(()=>{e.isUnmounted||r()})}let u,f=t;Eo(e,!1),t?(t.el=c.el,W(e,t,i)):t=c,n&&D(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&ls(u,a,t,c),Eo(e,!0);const p=io(e),h=e.subTree;e.subTree=p,m(h,p,d(h.el),Z(h),e,s,l),t.el=p.el,null===f&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,p.el),o&&Mo(o,s),(u=t.props&&t.props.onVnodeUpdated)&&Mo(()=>ls(u,a,t,c),s)}else{let i;const{el:r,props:a}=t,{bm:c,m:u,parent:f,root:d,type:p}=e,h=vn(t);Eo(e,!1),c&&D(c),!h&&(i=a&&a.onVnodeBeforeMount)&&ls(i,f,t),Eo(e,!0);{d.ce&&!1!==d.ce._def.shadowRoot&&d.ce._injectChildStyle(p);const i=e.subTree=io(e);m(null,i,n,o,e,s,l),t.el=i.el}if(u&&Mo(u,s),!h&&(i=a&&a.onVnodeMounted)){const e=t;Mo(()=>ls(i,f,e),s)}(256&t.shapeFlag||f&&vn(f.vnode)&&256&f.vnode.shapeFlag)&&e.a&&Mo(e.a,s),e.isMounted=!0,t=n=o=null}};e.scope.on();const a=e.effect=new ie(r);e.scope.off();const c=e.update=a.run.bind(a),u=e.job=a.runIfDirty.bind(a);u.i=e,u.id=e.uid,a.scheduler=()=>zt(u),Eo(e,!0),c()},W=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:s,attrs:l,vnode:{patchFlag:i}}=e,r=xt(s),[a]=e.propsOptions;let c=!1;if(!(o||i>0)||16&i){let o;vo(e,t,s,l)&&(c=!0);for(const l in r)t&&(h(t,l)||(o=A(l))!==l&&h(t,o))||(a?!n||void 0===n[l]&&void 0===n[o]||(s[l]=go(a,r,l,void 0,e,!0)):delete s[l]);if(l!==r)for(const e in l)t&&h(t,e)||(delete l[e],c=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:o,slots:s}=e;let i=!0,r=l;if(32&o.shapeFlag){const e=t._;e?n&&1===e?i=!1:Co(s,t,n):(i=!t.$stable,So(t,s)),r=t}else t&&(ko(e,t),r={default:1});if(i)for(const l in s)bo(l)||null!=r[l]||delete s[l]})(e,t.children,n),_e(),Ht(e),we()},B=(e,t,n,o,s,l,i,r,a=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void J(c,d,n,o,s,l,i,r,a);if(256&p)return void z(c,d,n,o,s,l,i,r,a)}8&h?(16&u&&G(c,s,l),d!==c&&f(n,d)):16&u?16&h?J(c,d,n,o,s,l,i,r,a):G(c,s,l,!0):(8&u&&f(n,""),16&h&&O(d,n,o,s,l,i,r,a))},z=(e,t,n,o,s,l,r,a,c)=>{t=t||i;const u=(e=e||i).length,f=t.length,d=Math.min(u,f);let p;for(p=0;pf?G(e,s,l,!0,!1,d):O(t,n,o,s,l,r,a,c,d)},J=(e,t,n,o,s,l,r,a,c)=>{let u=0;const f=t.length;let d=e.length-1,p=f-1;for(;u<=d&&u<=p;){const o=e[u],i=t[u]=c?os(t[u]):ns(t[u]);if(!Xo(o,i))break;m(o,i,n,null,s,l,r,a,c),u++}for(;u<=d&&u<=p;){const o=e[d],i=t[p]=c?os(t[p]):ns(t[p]);if(!Xo(o,i))break;m(o,i,n,null,s,l,r,a,c),d--,p--}if(u>d){if(u<=p){const e=p+1,i=ep)for(;u<=d;)K(e[u],s,l,!0),u++;else{const h=u,v=u,g=new Map;for(u=v;u<=p;u++){const e=t[u]=c?os(t[u]):ns(t[u]);null!=e.key&&g.set(e.key,u)}let y,x=0;const b=p-v+1;let _=!1,w=0;const S=new Array(b);for(u=0;u=b){K(o,s,l,!0);continue}let i;if(null!=o.key)i=g.get(o.key);else for(y=v;y<=p;y++)if(0===S[y-v]&&Xo(o,t[y])){i=y;break}void 0===i?K(o,s,l,!0):(S[i-v]=u+1,i>=w?w=i:_=!0,m(o,t[i],n,null,s,l,r,a,c),x++)}const k=_?function(e){const t=e.slice(),n=[0];let o,s,l,i,r;const a=e.length;for(o=0;o>1,e[n[r]]0&&(t[o]=n[l-1]),n[l]=o)}}l=n.length,i=n[l-1];for(;l-- >0;)n[l]=i,i=t[i];return n}(S):i;for(y=k.length-1,u=b-1;u>=0;u--){const e=v+u,i=t[e],d=t[e+1],p=e+1{const{el:r,type:a,transition:c,children:u,shapeFlag:f}=e;if(6&f)return void H(e.component.subTree,o,s,l);if(128&f)return void e.suspense.move(o,s,l);if(64&f)return void a.move(e,o,s,te);if(a===Ro){t(r,o,s);for(let e=0;ec.enter(r),i);else{const{leave:l,delayLeave:i,afterLeave:a}=c,u=()=>{e.ctx.isUnmounted?n(r):t(r,o,s)},f=()=>{r._isLeaving&&r[cn](!0),l(r,()=>{u(),a&&a()})};i?i(r,u,f):f()}else t(r,o,s)},K=(e,t,n,o=!1,s=!1)=>{const{type:l,props:i,ref:r,children:a,dynamicChildren:c,shapeFlag:u,patchFlag:f,dirs:d,cacheIndex:p}=e;if(-2===f&&(s=!1),null!=r&&(_e(),pn(r,null,n,e,!0),we()),null!=p&&(t.renderCache[p]=void 0),256&u)return void t.ctx.deactivate(e);const h=1&u&&d,v=!vn(e);let g;if(v&&(g=i&&i.onVnodeBeforeUnmount)&&ls(g,t,e),6&u)q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);h&&en(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,te,o):c&&!c.hasOnce&&(l!==Ro||f>0&&64&f)?G(c,t,n,!1,!0):(l===Ro&&384&f||!s&&16&u)&&G(a,t,n),o&&X(e)}(v&&(g=i&&i.onVnodeUnmounted)||h)&&Mo(()=>{g&&ls(g,t,e),h&&en(e,null,t,"unmounted")},n)},X=e=>{const{type:t,el:o,anchor:s,transition:l}=e;if(t===Ro)return void Y(o,s);if(t===Vo)return void w(e);const i=()=>{n(o),l&&!l.persisted&&l.afterLeave&&l.afterLeave()};if(1&e.shapeFlag&&l&&!l.persisted){const{leave:t,delayLeave:n}=l,s=()=>t(o,i);n?n(e.el,i,s):s()}else i()},Y=(e,t)=>{let o;for(;e!==t;)o=p(e),n(e),e=o;n(t)},q=(e,t,n)=>{const{bum:o,scope:s,job:l,subTree:i,um:r,m:a,a:c}=e;jo(a),jo(c),o&&D(o),s.stop(),l&&(l.flags|=8,K(i,e,t,n)),r&&Mo(r,t),Mo(()=>{e.isUnmounted=!0},t)},G=(e,t,n,o=!1,s=!1,l=0)=>{for(let i=l;i{if(6&e.shapeFlag)return Z(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=p(e.anchor||e.el),n=t&&t[an];return n?p(n):t};let Q=!1;const ee=(e,t,n)=>{let o;null==e?t._vnode&&(K(t._vnode,null,null,!0),o=t._vnode.component):m(t._vnode||null,e,t,null,null,null,n),t._vnode=e,Q||(Q=!0,Ht(o),Kt(),Q=!1)},te={p:m,um:K,m:H,r:X,mt:F,mc:O,pc:B,pbc:T,n:Z,o:e};let ne;return{render:ee,hydrate:ne,createApp:eo(ee)}}(e)}function Po({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Eo({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function To(e,t,n=!1){const o=e.children,s=t.children;if(v(o)&&v(s))for(let l=0;le.__isSuspense;const Ro=Symbol.for("v-fgt"),Fo=Symbol.for("v-txt"),Do=Symbol.for("v-cmt"),Vo=Symbol.for("v-stc"),No=[];let Uo=null;function $o(e=!1){No.push(Uo=e?null:[])}let Wo=1;function Bo(e,t=!1){Wo+=e,e<0&&Uo&&t&&(Uo.hasOnce=!0)}function zo(e){return e.dynamicChildren=Wo>0?Uo||i:null,No.pop(),Uo=No[No.length-1]||null,Wo>0&&Uo&&Uo.push(e),e}function Jo(e,t,n,o,s,l){return zo(Go(e,t,n,o,s,l,!0))}function Ho(e,t,n,o,s){return zo(Zo(e,t,n,o,s,!0))}function Ko(e){return!!e&&!0===e.__v_isVNode}function Xo(e,t){return e.type===t.type&&e.key===t.key}const Yo=({key:e})=>null!=e?e:null,qo=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?b(e)||wt(e)||x(e)?{i:qt,r:e,k:t,f:!!n}:e:null);function Go(e,t=null,n=null,o=0,s=null,l=(e===Ro?0:1),i=!1,r=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yo(t),ref:t&&qo(t),scopeId:Gt,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:qt};return r?(ss(a,n),128&l&&e.normalize(a)):n&&(a.shapeFlag|=b(n)?8:16),Wo>0&&!i&&Uo&&(a.patchFlag>0||6&l)&&32!==a.patchFlag&&Uo.push(a),a}const Zo=function(e,t=null,n=null,o=0,s=null,l=!1){e&&e!==An||(e=Do);if(Ko(e)){const o=Qo(e,t,!0);return n&&ss(o,n),Wo>0&&!l&&Uo&&(6&o.shapeFlag?Uo[Uo.indexOf(e)]=o:Uo.push(o)),o.patchFlag=-2,o}i=e,x(i)&&"__vccOpts"in i&&(e=e.__vccOpts);var i;if(t){t=function(e){return e?yt(e)||po(e)?f({},e):e:null}(t);let{class:e,style:n}=t;e&&!b(e)&&(t.class=K(e)),w(n)&&(yt(n)&&!v(n)&&(n=f({},n)),t.style=W(n))}const r=b(e)?1:Lo(e)?128:(e=>e.__isTeleport)(e)?64:w(e)?4:x(e)?2:0;return Go(e,t,n,o,s,r,l,!0)};function Qo(e,t,n=!1,o=!1){const{props:s,ref:l,patchFlag:i,children:r,transition:a}=e,u=t?function(...e){const t={};for(let n=0;nas||qt;let us,fs;{const e=$(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach(t=>t(e)):o[0](e)}};us=t("__VUE_INSTANCE_SETTERS__",e=>as=e),fs=t("__VUE_SSR_SETTERS__",e=>vs=e)}const ds=e=>{const t=as;return us(e),e.scope.on(),()=>{e.scope.off(),us(t)}},ps=()=>{as&&as.scope.off(),us(null)};function hs(e){return 4&e.vnode.shapeFlag}let vs=!1;function gs(e,t,n){x(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:w(t)&&(e.setupState=Mt(t)),ms(e)}function ms(e,t,n){const o=e.type;e.render||(e.render=o.render||r);{const t=ds(e);_e();try{$n(e)}finally{we(),t()}}}const ys={get:(e,t)=>(je(e,0,""),e[t])};function xs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Mt((t=e.exposed,!h(t,"__v_skip")&&Object.isExtensible(t)&&V(t,"__v_skip",!0),t)),{get:(t,n)=>n in t?t[n]:n in Fn?Fn[n](e):void 0,has:(e,t)=>t in e||t in Fn})):e.proxy;var t}const bs=(e,t)=>{const n=function(e,t,n=!1){let o,s;return x(e)?o=e:(o=e.get,s=e.set),new Ot(o,s,n)}(e,0,vs);return n},_s="3.5.26"; +/** +* @vue/runtime-dom v3.5.26 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +let ws;const Ss="undefined"!=typeof window&&window.trustedTypes;if(Ss)try{ws=Ss.createPolicy("vue",{createHTML:e=>e})}catch(Ql){}const ks=ws?e=>ws.createHTML(e):e=>e,Cs="undefined"!=typeof document?document:null,Ms=Cs&&Cs.createElement("template"),Os={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 s="svg"===t?Cs.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Cs.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Cs.createElement(e,{is:n}):Cs.createElement(e);return"select"===e&&o&&null!=o.multiple&&s.setAttribute("multiple",o.multiple),s},createText:e=>Cs.createTextNode(e),createComment:e=>Cs.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Cs.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,s,l){const i=n?n.previousSibling:t.lastChild;if(s&&(s===l||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),s!==l&&(s=s.nextSibling););else{Ms.innerHTML=ks("svg"===o?`${e}`:"mathml"===o?`${e}`:e);const s=Ms.content;if("svg"===o||"mathml"===o){const e=s.firstChild;for(;e.firstChild;)s.appendChild(e.firstChild);s.removeChild(e)}t.insertBefore(s,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ps=Symbol("_vtc");const Es=Symbol("_vod"),Ts=Symbol("_vsh"),Is=Symbol(""),js=/(?:^|;)\s*display\s*:/;const As=/\s*!important$/;function Ls(e,t,n){if(v(n))n.forEach(n=>Ls(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Fs[t];if(n)return n;let o=I(t);if("filter"!==o&&o in e)return Fs[t]=o;o=L(o);for(let s=0;s{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Lt(function(e,t){if(v(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Hs(),n}(o,s);Us(e,n,i,r)}else i&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,i,r),l[t]=void 0)}}const Bs=/(?:Once|Passive|Capture)$/;let zs=0;const Js=Promise.resolve(),Hs=()=>zs||(Js.then(()=>zs=0),zs=Date.now());const Ks=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Xs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return v(t)?e=>D(t,e):t};function Ys(e){e.target.composing=!0}function qs(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Gs=Symbol("_assign");function Zs(e,t,n){return t&&(e=e.trim()),n&&(e=N(e)),e}const Qs={created(e,{modifiers:{lazy:t,trim:n,number:o}},s){e[Gs]=Xs(s);const l=o||s.props&&"number"===s.props.type;Us(e,t?"change":"input",t=>{t.target.composing||e[Gs](Zs(e.value,n,l))}),(n||l)&&Us(e,"change",()=>{e.value=Zs(e.value,n,l)}),t||(Us(e,"compositionstart",Ys),Us(e,"compositionend",qs),Us(e,"change",qs))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:s,number:l}},i){if(e[Gs]=Xs(i),e.composing)return;const r=null==t?"":t;if((!l&&"number"!==e.type||/^0\d/.test(e.value)?e.value:N(e.value))!==r){if(document.activeElement===e&&"range"!==e.type){if(o&&t===n)return;if(s&&e.value.trim()===r)return}e.value=r}}},el={created(e,{value:t},n){e.checked=q(t,n.props.value),e[Gs]=Xs(n),Us(e,"change",()=>{e[Gs](ol(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e[Gs]=Xs(o),t!==n&&(e.checked=q(t,o.props.value))}},tl={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const s=m(t);Us(e,"change",()=>{const t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?N(ol(e)):ol(e));e[Gs](e.multiple?s?new Set(t):t:t[0]),e._assigning=!0,Bt(()=>{e._assigning=!1})}),e[Gs]=Xs(o)},mounted(e,{value:t}){nl(e,t)},beforeUpdate(e,t,n){e[Gs]=Xs(n)},updated(e,{value:t}){e._assigning||nl(e,t)}};function nl(e,t){const n=e.multiple,o=v(t);if(!n||o||m(t)){for(let s=0,l=e.options.length;sString(e)===String(i)):G(t,i)>-1}else l.selected=t.has(i);else if(q(ol(l),t))return void(e.selectedIndex!==s&&(e.selectedIndex=s))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ol(e){return"_value"in e?e._value:e.value}const sl=["ctrl","shift","alt","meta"],ll={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&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>sl.some(n=>e[`${n}Key`]&&!t.includes(n))},il=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=n=>{if(!("key"in n))return;const o=A(n.key);return t.some(e=>e===o||rl[e]===o)?e(n):void 0})},cl=f({patchProp:(e,t,n,o,s,l)=>{const i="svg"===s;"class"===t?function(e,t,n){const o=e[Ps];o&&(t=(t?[t,...o]:[...o]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,i):"style"===t?function(e,t,n){const o=e.style,s=b(n);let l=!1;if(n&&!s){if(t)if(b(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Ls(o,t,"")}else for(const e in t)null==n[e]&&Ls(o,e,"");for(const e in n)"display"===e&&(l=!0),Ls(o,e,n[e])}else if(s){if(t!==n){const e=o[Is];e&&(n+=";"+e),o.cssText=n,l=js.test(n)}}else t&&e.removeAttribute("style");Es in e&&(e[Es]=l?o.display:"",e[Ts]&&(o.display="none"))}(e,n,o):c(t)?u(t)||Ws(e,t,0,o,l):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ks(t)&&x(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1;if("sandbox"===t&&"IFRAME"===e.tagName)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(Ks(t)&&b(n))return!1;return t in e}(e,t,o,i))?(Ns(e,t,o),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||Vs(e,t,o,i,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&b(o)?("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),Vs(e,t,o,i)):Ns(e,I(t),o,0,t)}},Os);let ul;const fl=(...e)=>{const t=(ul||(ul=Oo(cl))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(b(e)){return document.querySelector(e)}return e}(e);if(!o)return;const s=t._component;x(s)||s.render||s.template||(s.template=o.innerHTML),1===o.nodeType&&(o.textContent="");const l=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),l},t};const dl=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},pl={key:2,class:"action-buttons"},hl={class:"weld-info-header"},vl={class:"weld-info-title"},gl={class:"weld-info-body"},ml={key:0,class:"weld-info-row"},yl={class:"weld-info-value"},xl={key:1,class:"weld-info-row"},bl={class:"weld-info-value"},_l={key:2,class:"weld-info-row"},wl={class:"weld-info-value"},Sl={key:3,class:"weld-info-row"},kl={class:"weld-info-value"},Cl={key:4,class:"weld-info-row"},Ml={class:"weld-info-value"},Ol={key:5,class:"weld-info-row"},Pl={class:"weld-info-value"},El={key:6,class:"weld-info-row"},Tl={class:"weld-info-value"},Il={key:7,class:"weld-info-row"},jl={__name:"AnnotationItem",props:{annotation:{type:Object,required:!0},scale:{type:Number,default:1},offset:{type:Object,default:()=>({x:0,y:0})},isSelected:{type:Boolean,default:!1},prefix:{type:String,default:""},suffix:{type:String,default:""},readOnly:{type:Boolean,default:!1},showAllInfo:{type:Boolean,default:!1}},emits:["update","delete","select","drag-start"],setup(e,{emit:t}){const n=e,o=t,s=St(!1),l=St(""),i=St(null),r=St(!1),a=St(!1),c=bs(()=>n.showAllInfo||a.value||r.value),u=bs(()=>(n.annotation.settings?.fontSize??10)*n.scale),f=bs(()=>{const e=n.annotation.settings?.prefix??n.prefix,t=n.annotation.settings?.suffix??n.suffix;return e+n.annotation.displayValue+t}),d=bs(()=>({position:"absolute",left:n.annotation.x*n.scale+n.offset.x+"px",top:n.annotation.y*n.scale+n.offset.y+"px",transform:"translate(-50%, -50%)",zIndex:n.isSelected?100:10,cursor:s.value?"text":"pointer"})),p=bs(()=>({display:"flex",alignItems:"center",justifyContent:"center",position:"relative",padding:"2px 4px"})),h=bs(()=>{const e=n.annotation.JOT_JointStatus;return e&&"正常"!==e}),v=bs(()=>({fontSize:u.value+"px",fontFamily:"Arial, sans-serif",color:h.value?"#dc2626":"#000000",fontWeight:h.value?"bold":"normal",whiteSpace:"nowrap",userSelect:"none"})),g=bs(()=>({position:"absolute",top:"-2px",left:"-4px",right:"-4px",bottom:"-2px",border:"0.5px solid #000000",pointerEvents:"none"}));function m(){if(n.readOnly)return;const e=n.annotation.settings?.prefix??n.prefix,t=n.annotation.settings?.suffix??n.suffix;l.value=e+n.annotation.displayValue+t,s.value=!0,Bt(()=>{i.value&&(i.value.focus(),i.value.select())})}function y(){if(!s.value)return;s.value=!1;const e=n.annotation.settings?.prefix??n.prefix,t=n.annotation.settings?.suffix??n.suffix;let i=l.value;e&&i.startsWith(e)&&(i=i.slice(e.length)),t&&i.endsWith(t)&&(i=i.slice(0,-t.length));const r=parseFloat(i)||n.annotation.displayValue;r!==n.annotation.displayValue&&o("update",{...n.annotation,displayValue:r})}function x(){s.value=!1}function b(){o("delete",n.annotation)}function _(e){if(!s.value){if(n.readOnly)return r.value=!r.value,void o("select",n.annotation);o("select",n.annotation),o("drag-start",{annotation:n.annotation,startX:e.clientX,startY:e.clientY})}}function w(){n.readOnly&&(a.value=!0)}function S(){a.value=!1}return(t,n)=>($o(),Jo("div",{class:"annotation-item",style:W(d.value),onDblclick:m,onMousedown:il(_,["stop"]),onMouseenter:w,onMouseleave:S},[s.value?($o(),Jo("div",{key:0,class:"edit-container",onClick:n[1]||(n[1]=il(()=>{},["stop"]))},[Qt(Go("input",{ref_key:"inputRef",ref:i,"onUpdate:modelValue":n[0]||(n[0]=e=>l.value=e),class:"edit-input",style:W({fontSize:u.value+"px"}),onBlur:y,onKeydown:[al(y,["enter"]),al(x,["escape"])]},null,36),[[Qs,l.value]])])):($o(),Jo("div",{key:1,class:"display-container",style:W(p.value)},[Go("span",{class:"label-text",style:W(v.value)},Q(f.value),5),"rect"===e.annotation.style?($o(),Jo("div",{key:0,class:"border-rect",style:W(g.value)},null,4)):ts("",!0)],4)),!e.isSelected||s.value||e.readOnly?ts("",!0):($o(),Jo("div",pl,[Go("div",{class:"btn action-btn edit-btn",onClick:il(m,["stop"]),title:"编辑"},"✏️"),Go("div",{class:"btn action-btn delete-btn",onClick:il(b,["stop"]),title:"删除"},"🗑️")])),e.readOnly&&c.value?($o(),Jo("div",{key:3,class:"weld-info-popup",onClick:n[3]||(n[3]=il(()=>{},["stop"]))},[Go("div",hl,[Go("span",vl,Q(e.annotation.JOT_JointNo||f.value),1),Go("div",{class:"btn weld-info-close",onClick:n[2]||(n[2]=il(e=>r.value=!1,["stop"]))},"×")]),Go("div",gl,[e.annotation.JOT_JointNo?($o(),Jo("div",ml,[n[4]||(n[4]=Go("span",{class:"weld-info-label"},"焊口编号",-1)),Go("span",yl,Q(e.annotation.JOT_JointNo),1)])):ts("",!0),e.annotation.WED_Code?($o(),Jo("div",xl,[n[5]||(n[5]=Go("span",{class:"weld-info-label"},"焊工代号",-1)),Go("span",bl,Q(e.annotation.WED_Code),1)])):ts("",!0),e.annotation.JOT_Location?($o(),Jo("div",_l,[n[6]||(n[6]=Go("span",{class:"weld-info-label"},"焊接位置",-1)),Go("span",wl,Q(e.annotation.JOT_Location),1)])):ts("",!0),e.annotation.JOT_WeldDate?($o(),Jo("div",Sl,[n[7]||(n[7]=Go("span",{class:"weld-info-label"},"焊接日期",-1)),Go("span",kl,Q(e.annotation.JOT_WeldDate),1)])):ts("",!0),e.annotation.DetectionTypeCode&&"/"!==e.annotation.DetectionTypeCode?($o(),Jo("div",Cl,[n[8]||(n[8]=Go("span",{class:"weld-info-label"},"检测类型",-1)),Go("span",Ml,Q(e.annotation.DetectionTypeCode),1)])):ts("",!0),e.annotation.IsRepair&&"/"!==e.annotation.IsRepair?($o(),Jo("div",Ol,[n[9]||(n[9]=Go("span",{class:"weld-info-label"},"是否返修",-1)),Go("span",Pl,Q(e.annotation.IsRepair),1)])):ts("",!0),e.annotation.IsHotProcess&&"/"!==e.annotation.IsHotProcess?($o(),Jo("div",El,[n[10]||(n[10]=Go("span",{class:"weld-info-label"},"是否热处理",-1)),Go("span",Tl,Q(e.annotation.IsHotProcess),1)])):ts("",!0),e.annotation.JOT_JointStatus?($o(),Jo("div",Il,[n[11]||(n[11]=Go("span",{class:"weld-info-label"},"焊口状态",-1)),Go("span",{class:K(["weld-info-value",{"status-repair":"返修"===e.annotation.JOT_JointStatus,"status-normal":"正常"===e.annotation.JOT_JointStatus}])},Q(e.annotation.JOT_JointStatus),3)])):ts("",!0)])])):ts("",!0)],36))}},Al=dl(jl,[["__scopeId","data-v-e5318596"]]),Ll={key:0,class:"image-placing-banner"},Rl=["src"],Fl=["x1","y1","x2","y2"],Dl=["points"],Vl=["cx","cy"],Nl={style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",zIndex:"2",pointerEvents:"'none'"}},Ul=["src","onMousedown","onClick"],$l=["onMousedown"],Wl={key:2,style:{color:"#9ca3af"}},Bl={__name:"PdfViewer",props:{file:File,page:{type:Number,default:1},scale:{type:Number,default:null},annotationMode:{type:Boolean,default:!1},borderStyle:{type:String,default:"rect"},annotationStyle:{type:String,default:"arrow"},startNumber:{type:Number,default:1},increment:{type:Number,default:1},prefix:{type:String,default:""},suffix:{type:String,default:""},fontSize:{type:Number,default:10},readOnly:{type:Boolean,default:!1},showAllWeldInfo:{type:Boolean,default:!1}},emits:["loaded","scale-changed","wheel-zoom","place-image","annotation-selected","image-placing-cancelled","image-deleted","annotation-changed"],setup(t,{expose:n,emit:o}){const s=t,l=o,i=St(null);let r=null,a=null,c=null;const u=St({x:0,y:0}),f=St(!1);let d=null;const p=St(1),h=St({}),v=St([]);let g=0,m=0;const y=St(1);let x=null;const b=St(null),_=bs(()=>null!==b.value),w=St({show:!1,x:0,y:0}),S=St(80),k=St(1),C=St(null);let M={};const O=St(null),P=St(0),E=St(0);let T=!1,I=null,j=null,A=null,L=0;const R=St({}),F=bs(()=>h.value[s.page]||[]);async function D(e){if(!r)return;if(a)try{a.cancel()}catch(Ql){}const t=await r.getPage(e);try{const n=t.rotate||0;L=(n%360+360)%360,R.value[e]=L,0!==L&&console.warn(`⚠️ 第 ${e} 页已旋转 ${L}°。标注和图片已自动调整坐标。`)}catch(Ql){console.debug("Could not read page rotation:",Ql.message),L=0,R.value[e]=0}let n=s.scale;const o=t.getViewport({scale:1});if(g=o.width,m=o.height,!n){const e=i.value&&i.value.parentElement,t=e&&e.clientWidth?e.clientWidth-24:o.width,s=e&&e.clientHeight?e.clientHeight-24:o.height,l=t/o.width,r=s/o.height;n=Math.min(l,r)}const c=window.devicePixelRatio||1,f=t.getViewport({scale:n*c});y.value=n,P.value=Math.floor(f.width/c),E.value=Math.floor(f.height/c),null===s.scale&&l("scale-changed",n),p.value=n;const d=i.value;d.width=Math.floor(f.width),d.height=Math.floor(f.height),d.style.width=Math.floor(f.width/c)+"px",d.style.height=Math.floor(f.height/c)+"px",u.value={x:0,y:0};const h={canvasContext:d.getContext("2d"),viewport:f};a=t.render(h),await a.promise,a=null,v.value=M[e]||[],B()}function V(e){r&&(b.value?function(e){if(console.log("placeImage 被调用,临时图片大小:",b.value?.length,"字节"),!b.value||0===g)return;const t=i.value;if(!t)return;const n=t.getBoundingClientRect(),o=e.clientX-n.left,r=e.clientY-n.top,a=window.devicePixelRatio||1,c=r*a,u=o*a/(y.value*a),f=c/(y.value*a);if(u<0||f<0||u>g||f>m)return;const d=S.value/y.value,p=d/k.value,h={src:b.value,x:u-d/2,y:f-p/2,width:d,height:p,pageNum:s.page};console.log("即将放置图片,图片数据大小:",h.src?.length,"字节"),l("place-image",h),b.value=null,w.value={show:!1,x:0,y:0}}(e):!s.annotationMode||f.value?(f.value=!0,d={x:e.clientX-u.value.x,y:e.clientY-u.value.y}):function(e){const t=i.value;if(!t||0===g)return;const n=t.getBoundingClientRect(),o=e.clientX-n.left,r=e.clientY-n.top,a=window.devicePixelRatio||1,c=r*a,u=o*a/(y.value*a),f=c/(y.value*a);if(u<0||f<0||u>g||f>m)return;if(x){const e={...x,x2:u,y2:f};h.value[s.page].push(e),x=null,l("annotation-changed"),B()}else{h.value[s.page]||(h.value[s.page]=[]);let e=s.startNumber-s.increment;for(const o in h.value){const t=h.value[o];if(t.length>0){const n=t[t.length-1];n.displayValue>e&&(e=n.displayValue)}}const t=e+s.increment,n=s.prefix+t+s.suffix;x={x:u,y:f,displayValue:t,text:n,style:s.borderStyle,annotationStyle:s.annotationStyle,settings:{prefix:s.prefix,suffix:s.suffix,startNumber:s.startNumber,increment:s.increment,fontSize:s.fontSize}},B()}}(e))}function N(e){if(_.value&&i.value){const t=i.value.parentElement.getBoundingClientRect(),n=S.value/k.value;w.value={show:!0,x:e.clientX-t.left-S.value/2,y:e.clientY-t.top-n/2}}f.value&&(u.value={x:e.clientX-d.x,y:e.clientY-d.y})}function U(){f.value=!1}function $(e){if(!r)return;const t=null!==s.scale?s.scale:p.value,n=e.deltaY>0?.9:1.1,o=Math.max(.5,Math.min(3,+(t*n).toFixed(3)));l("wheel-zoom",o)}function B(){if(i.value&&x){const e=i.value.getContext("2d"),t=window.devicePixelRatio||1,n=x.x*y.value*t,o=x.y*y.value*t,l=(x.settings?.fontSize??s.fontSize)*(y.value||1);e.fillStyle="rgba(0, 0, 0, 0.5)",e.font=l*t+"px Arial",e.textAlign="center",e.textBaseline="middle",e.fillText(x.text,n,o)}}function z(e){const t=y.value,n=e.x*t,o=e.y*t,s=e.x2*t,l=e.y2*t,i=Math.atan2(l-o,s-n);return`${s-8*Math.cos(i-Math.PI/6)},${l-8*Math.sin(i-Math.PI/6)} ${s},${l} ${s-8*Math.cos(i+Math.PI/6)},${l-8*Math.sin(i+Math.PI/6)}`}function J(){O.value=null,C.value=null,l("annotation-selected",null)}function H(){b.value=null,w.value={show:!1,x:0,y:0},l("image-placing-cancelled")}function X(){_.value&&H()}function Y(e){"Escape"===e.key&&_.value&&(H(),e.preventDefault()),"Delete"!==e.key&&"Backspace"!==e.key||null===C.value||(G(),e.preventDefault())}function q(e){C.value=e,O.value=null,l("annotation-selected",null)}function G(){if(null===C.value)return;const e=C.value;v.value.splice(e,1),M[s.page]=[...v.value],C.value=null,l("image-deleted",{page:s.page,images:v.value})}return e.GlobalWorkerOptions.workerSrc="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.16.105/pdf.worker.min.js",on(()=>s.file,t=>{t&&async function(t){c&&(URL.revokeObjectURL(c),c=null),c=URL.createObjectURL(t);const n=e.getDocument(c);r=await n.promise,l("loaded",{pdf:r,numPages:r.numPages}),await Bt(),await D(s.page)}(t)}),on(()=>s.page,e=>{r&&D(e)}),on(()=>s.scale,e=>{r&&Bt().then(()=>D(s.page))}),On(()=>{c&&URL.revokeObjectURL(c)}),n({clearCurrentPageAnnotations:function(){h.value[s.page]&&(h.value[s.page]=[]),x=null,B(),r&&D(s.page)},undoLastAnnotation:function(){if(x)return x=null,void B();h.value[s.page]&&h.value[s.page].length>0&&(h.value[s.page].pop(),B(),r&&D(s.page))},getAnnotations:function(){return h.value},setAnnotations:function(e){h.value=e,B()},setImages:function(e){M=e,v.value=e[s.page]||[]},renderPage:D,annotations:h,setTemporaryImage:function(e,t=80){console.log("setTemporaryImage 被调用,图片大小:",e?.length,"字节, 尺寸:",t),b.value=e,S.value=t,w.value={show:!1,x:0,y:0};const n=new Image;n.onload=()=>{k.value=n.width/n.height,console.log("图片加载完成,宽高比:",k.value)},n.src=e,i.value&&i.value.parentElement&&i.value.parentElement.focus()},cancelImagePlacing:H,updateAnnotation:function(e,t,n){h.value[e]&&(h.value[e][t]=n,h.value={...h.value},r&&e===s.page&&D(s.page))},deleteAnnotation:function(e,t){h.value[e]&&(h.value[e].splice(t,1),O.value=null,h.value={...h.value},r&&e===s.page&&D(s.page))},clearSelection:J,imagePlacingMode:_,getPageRotations:function(){return R.value}}),(e,n)=>($o(),Jo("div",{class:"canvas-wrapper",style:W({cursor:_.value?"crosshair":f.value?"grabbing":"grab",position:"relative"}),onMousedown:V,onMousemove:N,onMouseup:U,onMouseleave:U,onWheel:il($,["prevent"]),onClick:il(J,["self"]),onContextmenu:il(X,["prevent"]),onKeydown:Y,tabindex:"0"},[_.value?($o(),Jo("div",Ll,[n[0]||(n[0]=Go("div",{class:"banner-content"},[Go("span",{class:"banner-icon"},"📍"),Go("span",null,"点击PDF上要放置图片的位置"),Go("span",{class:"banner-hint"},"(按 ESC 或右键取消)")],-1)),Go("div",{class:"btn banner-cancel",onClick:il(H,["stop"])},"取消")])):ts("",!0),_.value&&w.value.show?($o(),Jo("div",{key:1,class:"image-preview-cursor",style:W({left:w.value.x+"px",top:w.value.y+"px",width:S.value+"px",height:S.value/k.value+"px"})},[Go("img",{src:b.value,alt:"preview",style:{width:"100%",height:"100%","object-fit":"contain"}},null,8,Rl)],4)):ts("",!0),Go("canvas",{ref_key:"canvas",ref:i,style:W({transform:`translate(${u.value.x}px, ${u.value.y}px)`,position:"relative",zIndex:1})},null,4),Go("div",{class:"annotations-layer",style:W({transform:`translate(${u.value.x}px, ${u.value.y}px)`})},[($o(!0),Jo(Ro,null,Ln(F.value,(e,t)=>($o(),Ho(Al,{key:e.id||t,annotation:e,scale:y.value,offset:{x:0,y:0},"is-selected":O.value===(e.id||t),prefix:s.prefix,suffix:s.suffix,"read-only":s.readOnly,"show-all-info":s.showAllWeldInfo,onSelect:n=>function(e,t){O.value=e.id||t,l("annotation-selected",{annotation:e,page:s.page,index:t})}(e,t),onUpdate:e=>function(e,t){h.value[s.page]&&(h.value[s.page][e]=t,h.value={...h.value})}(t,e),onDelete:e=>function(e){h.value[s.page]&&(h.value[s.page].splice(e,1),O.value=null,l("annotation-selected",null),h.value={...h.value},r&&D(s.page))}(t),onDragStart:e=>function(e,t){T=!0,I=t,j={x:e.startX,y:e.startY},A={...e.annotation};const n=e=>{if(!T)return;const t=(e.clientX-j.x)/y.value,n=(e.clientY-j.y)/y.value,o=h.value[s.page][I];o&&(o.x=Math.max(0,Math.min(g,A.x+t)),o.y=Math.max(0,Math.min(m,A.y+n)),void 0!==A.x2&&(o.x2=Math.max(0,Math.min(g,A.x2+t)),o.y2=Math.max(0,Math.min(m,A.y2+n))),h.value={...h.value})},o=()=>{T=!1,I=null,j=null,A=null,window.removeEventListener("mousemove",n),window.removeEventListener("mouseup",o)};window.addEventListener("mousemove",n),window.addEventListener("mouseup",o)}(e,t)},null,8,["annotation","scale","is-selected","prefix","suffix","read-only","show-all-info","onSelect","onUpdate","onDelete","onDragStart"]))),128)),($o(),Jo("svg",{class:"connection-lines",style:W({width:P.value+"px",height:E.value+"px"})},[($o(!0),Jo(Ro,null,Ln(F.value,(e,t)=>($o(),Jo("g",{key:"line-"+t},[void 0!==e.x2&&void 0!==e.y2?($o(),Jo(Ro,{key:0},[Go("line",{x1:e.x*y.value,y1:e.y*y.value,x2:e.x2*y.value,y2:e.y2*y.value,stroke:"#000000","stroke-width":"0.8"},null,8,Fl),"arrow"===(e.annotationStyle||s.annotationStyle)?($o(),Jo("polygon",{key:0,points:z(e),fill:"#000000"},null,8,Dl)):($o(),Jo("circle",{key:1,cx:e.x2*y.value,cy:e.y2*y.value,r:"4",fill:"#000000"},null,8,Vl))],64)):ts("",!0)]))),128))],4))],4),Go("div",Nl,[($o(!0),Jo(Ro,null,Ln(v.value,(e,t)=>($o(),Jo("div",{key:e.src.slice(-20)+t,class:K({"image-selected":C.value===t}),style:W({position:"absolute",left:e.x*y.value+u.value.x+"px",top:e.y*y.value+u.value.y+"px",width:e.width*y.value+"px",height:e.height*y.value+"px",zIndex:C.value===t?10:3})},[Go("img",{src:e.src,style:W({width:"100%",height:"100%",border:C.value===t?"3px solid #ef4444":"2px solid #3b82f6",boxSizing:"border-box",objectFit:"contain",pointerEvents:"all",cursor:"move",boxShadow:C.value===t?"0 0 12px rgba(239,68,68,0.5)":"none"}),onMousedown:il(e=>function(e,t){q(t),f.value=!1;const n=e.clientX,o=e.clientY,s=v.value[t],l=s.x,i=s.y,r=e=>{const t=(e.clientX-n)/y.value,r=(e.clientY-o)/y.value;s.x=Math.max(0,Math.min(g,l+t)),s.y=Math.max(0,Math.min(m,i+r)),v.value=[...v.value]},a=()=>{window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",a)};window.addEventListener("mousemove",r),window.addEventListener("mouseup",a)}(e,t),["stop"]),onClick:il(e=>q(t),["stop"])},null,44,Ul),Go("div",{style:W({position:"absolute",bottom:"-6px",right:"-6px",width:"12px",height:"12px",background:C.value===t?"#ef4444":"#3b82f6",cursor:"nwse-resize",borderRadius:"2px",pointerEvents:"all"}),onMousedown:il(e=>function(e,t){f.value=!1,q(t);const n=e.clientX,o=e.clientY,s=v.value[t],l=s.width,i=s.height,r=e=>{const t=e.clientX-n,r=e.clientY-o,a=20/y.value,c=Math.max(a,l+t/y.value),u=Math.max(a,i+r/y.value);s.width=c,s.height=u,v.value=[...v.value]},a=()=>{window.removeEventListener("mousemove",r),window.removeEventListener("mouseup",a)};window.addEventListener("mousemove",r),window.addEventListener("mouseup",a)}(e,t),["stop"])},null,44,$l),C.value===t?($o(),Jo("div",{key:0,class:"btn image-delete-btn",onClick:il(G,["stop"]),title:"删除图片 (Del)"}," × ")):ts("",!0)],6))),128))]),t.file?ts("",!0):($o(),Jo("div",Wl,"请从左侧选择一个 PDF 文件。"))],36))}},zl=dl(Bl,[["__scopeId","data-v-959d542c"]]);function Jl(e){const t=atob(e),n=new Uint8Array(t.length);for(let o=0;o{const s=Yl(t.x,t.y,0,0,m,y,x);let l=s.x,i=s.y;const r=t.settings?.prefix??d,a=t.settings?.suffix??p,c=t.settings?.fontSize??h,u=r+t.displayValue+a,f=u.length*c*.55,v=f+8,b=c+8,_=l-f/2,w=i-.3*c,S=_-4,k=w-4;if("rect"===t.style&&e.drawRectangle({x:S,y:k,width:v,height:b,borderColor:o(0,0,0),borderWidth:.5,rotate:0!==x?n(x):void 0}),e.drawText(u,{x:_,y:w,size:c,color:o(0,0,0),rotate:0!==x?n(x):void 0}),void 0!==t.x2&&void 0!==t.y2){const n=Yl(t.x2,t.y2,0,0,m,y,x);let s=l,r=i,a=n.x,c=n.y;e.drawLine({start:{x:s,y:r},end:{x:a,y:c},thickness:.5,color:o(0,0,0)});"arrow"===(t.annotationStyle||g||"arrow")?Gl(e,a,c,s,r,3):e.drawCircle({x:a,y:c,size:2.5,color:o(0,0,0)})}})}return await a.save()}function Gl(e,t,n,s,l,i){const r=Math.atan2(n-l,t-s),a=t-i*Math.cos(r-Math.PI/6),c=n-i*Math.sin(r-Math.PI/6),u=t-i*Math.cos(r+Math.PI/6),f=n-i*Math.sin(r+Math.PI/6);e.drawLine({start:{x:a,y:c},end:{x:t,y:n},thickness:.8,color:o(0,0,0)}),e.drawLine({start:{x:u,y:f},end:{x:t,y:n},thickness:.8,color:o(0,0,0)})}function Zl(e,t="annotated.pdf"){const n=new Blob([e],{type:"application/pdf"}),o=URL.createObjectURL(n),s=document.createElement("a");s.href=o,s.download=t,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(o)}export{zl as P,dl as _,ts as a,Go as b,Jo as c,Qt as d,tl as e,es as f,el as g,W as h,bs as i,kn as j,Zo as k,ql as l,Zl as m,K as n,$o as o,fl as p,On as q,St as r,Bt as s,Q as t,Qs as v,on as w}; diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/styles-CDHjsf7D.css b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/styles-CDHjsf7D.css new file mode 100644 index 0000000..fc21e5d --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/styles-CDHjsf7D.css @@ -0,0 +1 @@ +.annotation-item[data-v-e5318596]{user-select:none}.annotation-item:hover .display-container[data-v-e5318596]{background:#3b82f61a;border-radius:2px}.edit-container[data-v-e5318596]{background:#fff;border:1px solid #3b82f6;border-radius:3px;padding:2px;box-shadow:0 2px 8px #00000026}.edit-input[data-v-e5318596]{border:none;outline:none;min-width:80px;text-align:center;font-family:Arial,sans-serif;padding:2px 4px}.action-buttons[data-v-e5318596]{position:absolute;top:-28px;left:50%;transform:translate(-50%);display:flex;gap:4px;background:#fff;padding:2px 4px;border-radius:4px;box-shadow:0 2px 8px #00000026}.action-btn[data-v-e5318596]{width:22px;height:22px;border:none;background:transparent;cursor:pointer;font-size:12px;display:flex;align-items:center;justify-content:center;border-radius:3px;padding:0}.action-btn[data-v-e5318596]:hover{background:#f3f4f6}.delete-btn[data-v-e5318596]:hover{background:#fee2e2}.weld-info-popup[data-v-e5318596]{position:absolute;top:50%;left:calc(100% + 8px);transform:translateY(-50%);background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 16px #00000026;z-index:200;min-width:200px;max-width:280px;animation:popupFadeIn-e5318596 .15s ease-out;font-size:12px}@keyframes popupFadeIn-e5318596{0%{opacity:0;transform:translateY(-50%) translate(-4px)}to{opacity:1;transform:translateY(-50%) translate(0)}}.weld-info-header[data-v-e5318596]{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border-bottom:1px solid #f3f4f6;background:#f9fafb;border-radius:8px 8px 0 0}.weld-info-title[data-v-e5318596]{font-weight:600;color:#111827;font-size:13px}.weld-info-close[data-v-e5318596]{width:20px;height:20px;border:none;background:transparent;color:#9ca3af;font-size:16px;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:3px;padding:0;line-height:1}.weld-info-close[data-v-e5318596]:hover{background:#f3f4f6;color:#374151}.weld-info-body[data-v-e5318596]{padding:6px 10px 8px}.weld-info-row[data-v-e5318596]{display:flex;justify-content:space-between;align-items:center;padding:3px 0;border-bottom:1px solid #f9fafb}.weld-info-row[data-v-e5318596]:last-child{border-bottom:none}.weld-info-label[data-v-e5318596]{color:#6b7280;white-space:nowrap;margin-right:12px}.weld-info-value[data-v-e5318596]{color:#111827;font-weight:500;text-align:right}.status-normal[data-v-e5318596]{color:#059669}.status-repair[data-v-e5318596]{color:#dc2626;font-weight:600}.canvas-wrapper[data-v-959d542c]{position:relative;overflow:hidden;width:100%;height:100%}.annotations-layer[data-v-959d542c]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:10}.annotations-layer[data-v-959d542c]>*{pointer-events:auto}.connection-lines[data-v-959d542c]{position:absolute;top:0;left:0;pointer-events:none;overflow:visible}.image-placing-banner[data-v-959d542c]{position:absolute;top:0;left:0;right:0;background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;padding:10px 16px;display:flex;justify-content:space-between;align-items:center;z-index:100;box-shadow:0 2px 8px #0003;animation:slideDown-959d542c .2s ease-out}@keyframes slideDown-959d542c{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}.banner-content[data-v-959d542c]{display:flex;align-items:center;gap:8px;font-size:14px}.banner-icon[data-v-959d542c]{font-size:16px}.banner-hint[data-v-959d542c]{opacity:.8;font-size:12px}.banner-cancel[data-v-959d542c]{background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff;padding:6px 14px;border-radius:4px;cursor:pointer;font-size:13px;transition:all .15s}.banner-cancel[data-v-959d542c]:hover{background:#ffffff4d}.image-preview-cursor[data-v-959d542c]{position:absolute;pointer-events:none;z-index:50;opacity:.7;border:2px dashed #3b82f6;border-radius:4px;overflow:hidden;box-shadow:0 4px 12px #3b82f64d;transition:opacity .1s}.image-preview-cursor img[data-v-959d542c]{width:100%;height:100%;object-fit:contain;background:#fff}.image-selected[data-v-959d542c]{animation:image-pulse-959d542c 1.5s ease-in-out infinite}@keyframes image-pulse-959d542c{0%,to{filter:drop-shadow(0 0 4px rgba(239,68,68,.6))}50%{filter:drop-shadow(0 0 8px rgba(239,68,68,.9))}}.image-delete-btn[data-v-959d542c]{position:absolute;top:-10px;right:-10px;width:22px;height:22px;background:#ef4444;color:#fff;border:2px solid white;border-radius:50%;font-size:14px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px #0000004d;transition:transform .15s,background .15s;z-index:20}.image-delete-btn[data-v-959d542c]:hover{background:#dc2626;transform:scale(1.1)}:root{--left-width:300px;--bg:#f5f7fb;--panel:#ffffff;--border:#e5e7eb;--text:#111827;--muted:#6b7280;--primary:#2563eb;--primary-hover:#1d4ed8}html,body,#app{height:100%;margin:0}body{font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text)}.container{display:flex;height:100vh;gap:16px;padding:12px;box-sizing:border-box}.left{flex:0 0 var(--left-width);width:var(--left-width);padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--panel);box-shadow:0 10px 30px -18px #00000059;overflow-y:auto}.right{flex:1;display:flex;flex-direction:column;border:1px solid var(--border);border-radius:10px;background:var(--panel);box-shadow:0 10px 30px -18px #00000059;padding:8px;box-sizing:border-box}.controls{display:flex;align-items:center;padding:10px;gap:10px;border-bottom:1px solid var(--border);border-radius:8px;background:#f9fafb}.viewer{flex:1;display:flex;align-items:center;justify-content:center;overflow:auto;padding:16px;background:#f3f4f6;border-radius:8px;margin-top:8px;box-sizing:border-box}canvas{border:1px solid #d1d5db;background:#fff;border-radius:6px}.btn{padding:8px 12px;border-radius:4px;border:1px solid #cbd5e1;background:#f8fafc;cursor:pointer;transition:all .15s ease;font-size:13px;font-weight:500;color:#475569;display:inline-flex;align-items:center;justify-content:center;user-select:none;box-sizing:border-box}.btn:not(.disabled):hover{background:#e2e8f0;border-color:#94a3b8}.btn.disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.btn-primary{background:#e2e8f0;color:#334155;border-color:#cbd5e1}.btn-primary:not(.disabled):hover{background:#cbd5e1;border-color:#94a3b8}.btn-success{background:#e2e8f0;color:#334155;border-color:#cbd5e1}.btn-success:not(.disabled):hover{background:#cbd5e1;border-color:#94a3b8}.btn-danger{background:#fee2e2;color:#991b1b;border-color:#fecaca}.btn-danger:not(.disabled):hover{background:#fecaca;border-color:#fca5a5}.btn-secondary{background:#f8fafc;color:#475569;border-color:#cbd5e1}.btn-secondary:not(.disabled):hover{background:#e2e8f0;border-color:#94a3b8}textarea{min-height:80px}.btn-col .btn{width:100%;text-align:center}.file-label input{width:100%}@keyframes slideIn{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}} diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/viewer-BilNgxa5.css b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/viewer-BilNgxa5.css new file mode 100644 index 0000000..3c4c27c --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/viewer-BilNgxa5.css @@ -0,0 +1 @@ +.viewer-container[data-v-0899ee83]{display:flex;height:100vh;padding:12px;box-sizing:border-box}.viewer-main[data-v-0899ee83]{flex:1;display:flex;flex-direction:column;border:1px solid var(--border);border-radius:10px;background:var(--panel);box-shadow:0 10px 30px -18px #00000059;padding:8px;box-sizing:border-box} diff --git a/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/viewer-Dla4Cfl-.js b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/viewer-Dla4Cfl-.js new file mode 100644 index 0000000..e22cd75 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/HJGL/JoinMarking/assets/viewer-Dla4Cfl-.js @@ -0,0 +1 @@ +import{_ as e,r as t,i as a,j as l,q as n,c as o,o as i,a as r,b as s,h as u,t as c,d as v,n as d,v as f,f as p,k as m,P as y,l as g,m as h,s as b,p as x}from"./styles-Bno-H3Kc.js";import"./pdfjs-HfNT2Y4W.js";import"./pdf-lib-D5zKcp81.js";const w={class:"viewer-container"},S={class:"viewer-main"},k={class:"controls"},T=["disabled"],D={style:{"min-width":"54px","text-align":"center"}},J=["max"],P={style:{"margin-left":"4px"}},_={key:0,style:{display:"flex","align-items":"center",gap:"12px","margin-left":"8px","font-size":"12px",color:"#6b7280"}},F={class:"viewer"};x(e({__name:"ViewerApp",setup(e){const x=t(null),I=t(null),C=t(0),O=t(1),R=t(1),E=t(null),N=t(""),A=t({}),z=t(!1);let L=null;const B=t({startNumber:1,increment:1,prefix:"",suffix:"",fontSize:10,borderStyle:"none",annotationStyle:"arrow"});let H=null;const M=t({show:!1,message:"",type:"success"});let U=null;function W(e,t="success"){M.value={show:!0,message:e,type:t},clearTimeout(U),U=setTimeout(()=>{M.value.show=!1},2500)}const j=t(null),V=t(100),$=t(1),Y=a(()=>{const e=null!==j.value?j.value:$.value;return Math.round(100*e)});function Z(e){I.value=e.pdf,C.value=e.numPages,O.value=1,R.value=1,ie&&E.value&&b(()=>{E.value.setAnnotations(ie),b(()=>{E.value&&E.value.renderPage&&E.value.renderPage(O.value)}),W("标注数据已加载"),ie=null})}function q(e){$.value=e}function G(e){j.value=e,V.value=Math.round(100*e)}function K(){j.value=+V.value/100}async function Q(e){if(e&&e.trim())try{const t=await fetch(e);if(!t.ok)throw new Error(`获取失败: ${t.status}`);const a=await t.blob(),l=new FileReader;l.onload=e=>{const t=e.target.result;E.value?(E.value.setTemporaryImage(t,400),W("点击PDF上要放置图片的位置, 按ESC取消")):W("请先加载PDF","error")},l.onerror=()=>{W("读取图片数据失败","error")},l.readAsDataURL(a)}catch(t){console.error("导入图片错误:",t),W("导入图片失败: "+t.message,"error")}else W("图片URL为空","error")}async function X(){const e=document.getElementById("imgurl1"),t=e?.value?.trim();t?await Q(t):W("未找到图片地址1","error")}async function ee(){const e=document.getElementById("imgurl2"),t=e?.value?.trim();t?await Q(t):W("未找到图片地址2","error")}function te(){if(!E.value||!I.value)return void W("请先加载PDF","error");const e=document.getElementById("annotionData");if(!e||!e.value||!e.value.trim())return void W("未找到焊口数据","error");let t;try{const a=JSON.parse(e.value);t=Array.isArray(a)?a:null}catch(a){return void W("焊口数据格式错误","error")}if(t&&0!==t.length)try{const e=function(e){const t=document.createElement("canvas"),a=t.getContext("2d"),l=[{key:"index",label:"序号",width:50},{key:"JOT_JointNo",label:"焊口编号",width:100},{key:"WED_Code",label:"焊工代号",width:90},{key:"JOT_Location",label:"焊接位置",width:80},{key:"JOT_WeldDate",label:"焊接日期",width:100},{key:"DetectionTypeCode",label:"检测类型",width:80},{key:"IsRepair",label:"是否返修",width:70},{key:"IsHotProcess",label:"是否热处理",width:80},{key:"JOT_JointStatus",label:"焊口状态",width:80}],n=32,o=36,i=l.reduce((e,t)=>e+t.width,0)+16,r=o+n*e.length+16;t.width=2*i,t.height=2*r,t.style.width=i+"px",t.style.height=r+"px",a.scale(2,2),a.fillStyle="#ffffff",a.fillRect(0,0,i,r);const s=i-16;a.fillStyle="#e8edf2",a.fillRect(8,8,s,o),a.fillStyle="#1e3a5f",a.font='bold 14px "Microsoft YaHei", "SimHei", sans-serif',a.textAlign="center",a.textBaseline="middle";let u=8;for(const c of l)a.fillText(c.label,u+c.width/2,26),u+=c.width;a.font='13px "Microsoft YaHei", "SimHei", sans-serif';for(let c=0;cn&&i.length>1;)i=i.slice(0,-1);i!==l&&(i+="…"),a.fillText(i,u+e.width/2,o+16),u+=e.width}}a.strokeStyle="#c0c8d4",a.lineWidth=1,a.strokeRect(8,8,s,o+n*e.length);for(let c=0;c<=e.length;c++){const e=44+c*n;a.beginPath(),a.moveTo(8,e),a.lineTo(8+s,e),a.stroke()}u=8;for(let c=0;ce+t,0),o=36;t.width=2*n,t.height=232,t.style.width=n+"px",t.style.height="116px",a.scale(2,2),a.clearRect(0,0,n,116),a.strokeStyle="#000000",a.lineWidth=1.5,a.strokeRect(0,0,n,o),a.fillStyle="#000000",a.font='bold 14px "Microsoft YaHei", "SimHei", sans-serif',a.textAlign="center",a.textBaseline="middle",a.fillText(e,n/2,18);const i=["编制人","审核人","日期"];let r=0;for(let s=0;s<3;s++)a.strokeRect(r,36,l[s],o),a.fillStyle="#000000",a.font='bold 14px "Microsoft YaHei", "SimHei", sans-serif',a.textAlign="center",a.textBaseline="middle",a.fillText(i[s],r+l[s]/2,54),r+=l[s];r=0;for(let s=0;s<3;s++)a.strokeRect(r,72,l[s],44),r+=l[s];return t.toDataURL("image/png")}(t);E.value.setTemporaryImage(e,360),W("点击PDF上要放置签名的位置, 按ESC取消")}catch(a){console.error("生成签名表格失败:",a),W("生成签名表格失败: "+a.message,"error")}}function le(e){const t=O.value;A.value[t]||(A.value[t]=[]),A.value[t].push(e),E.value&&E.value.setImages(A.value),W("图片已放置")}function ne(){W("已取消图片放置")}function oe(e){A.value[e.page]=e.images,W("图片已删除")}let ie=null;function re(e){if(e&&e.trim())try{const t=JSON.parse(e);let a={};if(Array.isArray(t)){const e=t.map((e,t)=>({page:e.page||"1",annotation:{x:parseFloat(e.x)||0,y:parseFloat(e.y)||0,x2:parseFloat(e.x2)||0,y2:parseFloat(e.y2)||0,displayValue:e.JOT_JointNo||t+1,label:e.JOT_JointNo||"",text:e.JOT_JointNo||"",style:"none",annotationStyle:"arrow",JOT_ID:e.JOT_ID||"",JOT_JointNo:e.JOT_JointNo||"",WED_Code:e.WED_Code||null,JOT_Location:e.JOT_Location||"",JOT_WeldDate:e.JOT_WeldDate||null,DetectionTypeCode:e.DetectionTypeCode||"/",IsRepair:e.IsRepair||"/",IsHotProcess:e.IsHotProcess||"/",JOT_JointStatus:e.JOT_JointStatus||"",settings:{prefix:"",suffix:"",fontSize:10}}}));for(const t of e)a[t.page]||(a[t.page]=[]),a[t.page].push(t.annotation);if(t.length>0&&t[0].JOT_JointNo){const e=t[0].JOT_JointNo.match(/^([A-Za-z]*)([0-9]+)([A-Za-z]*)$/);e&&(B.value.prefix=e[1],B.value.suffix=e[3])}}else{if(!t.annotations)return void console.warn("annotionData: 无法识别的数据格式");if(a=t.annotations,t.globalSettings){const e=t.globalSettings;B.value={startNumber:e.startNumber??1,increment:e.increment??1,prefix:e.prefix??"",suffix:e.suffix??"",fontSize:e.fontSize??10,borderStyle:e.borderStyle??"none",annotationStyle:e.annotationStyle??"arrow"}}}E.value&&I.value?(E.value.setAnnotations(a),b(()=>{E.value&&E.value.renderPage&&E.value.renderPage(O.value)}),W("标注数据已加载")):ie=a,console.log("annotionData 解析成功,页面数:",Object.keys(a).length)}catch(t){console.error("annotionData 解析失败:",t)}}return l(()=>{const e=document.getElementById("hdpdfurl");let t=null;e&&e.value&&e.value.trim()&&(t=e.value.trim());const a=new URLSearchParams(window.location.search).get("url");a&&(t=a),t&&async function(e){if(e){W("正在加载PDF...");try{const a=await fetch(e);if(!a.ok)throw new Error(`加载失败: ${a.status} ${a.statusText}`);const l=await a.arrayBuffer(),n=new Blob([l],{type:"application/pdf"});L=l;let o="online.pdf";try{const t=new URL(e).pathname.split("/"),a=t[t.length-1];a&&a.includes(".pdf")&&(o=decodeURIComponent(a))}catch(t){}const i=new File([n],o,{type:"application/pdf"});x.value=i,N.value=o,O.value=1,R.value=1,j.value=1,V.value=100,W("PDF加载成功")}catch(a){console.error("Failed to load PDF from URL:",a),W("加载PDF失败: "+a.message,"error")}}}(t),function(){const e=document.getElementById("annotionData");e&&(e.value&&e.value.trim()&&re(e.value),H=new MutationObserver(t=>{for(const a of t)"attributes"===a.type&&"value"===a.attributeName&&re(e.getAttribute("value"))}),H.observe(e,{attributes:!0,attributeFilter:["value"]}),e.addEventListener("input",()=>re(e.value)),e.addEventListener("change",()=>re(e.value)))}()}),n(()=>{H&&(H.disconnect(),H=null)}),(e,t)=>(i(),o("div",w,[M.value.show?(i(),o("div",{key:0,style:u({position:"fixed",top:"20px",right:"20px",padding:"12px 16px",background:"success"===M.value.type?"#d1fae5":"#fee2e2",color:"success"===M.value.type?"#065f46":"#991b1b",borderRadius:"4px",boxShadow:"0 4px 12px rgba(0,0,0,0.15)",zIndex:9999,animation:"slideIn 0.3s ease-out",fontSize:"14px",fontWeight:"500"})},c(M.value.message),5)):r("",!0),s("div",S,[s("div",k,[s("div",{class:"btn btn-secondary",onClick:X},"图片导入1"),s("div",{class:"btn btn-secondary",onClick:ee},"图片导入2"),s("div",{class:"btn btn-primary",onClick:te},"焊口表格"),s("div",{class:"btn btn-primary",onClick:ae},"添加签名"),s("div",{class:d(["btn",{"btn-primary":z.value,"btn-secondary":!z.value,disabled:!I.value}]),onClick:t[0]||(t[0]=e=>!I.value||(z.value=!z.value,void W(z.value?"已显示所有焊口数据":"已隐藏焊口数据"))),style:{display:"none"}},c(z.value?"隐藏焊口数据":"焊口数据展示"),3),s("div",{class:d(["btn btn-success",{disabled:!I.value}]),onClick:t[1]||(t[1]=e=>!I.value||async function(){if(L&&E.value)try{const e=E.value.getAnnotations(),t=E.value.getPageRotations(),a=await g(L,e,A.value,{startNumber:B.value.startNumber,increment:B.value.increment,prefix:B.value.prefix,suffix:B.value.suffix,fontSize:B.value.fontSize,borderStyle:B.value.borderStyle,annotationStyle:B.value.annotationStyle},t);h(a,`annotated_${Date.now()}.pdf`),W("PDF已生成并下载")}catch(e){console.error("Failed to generate PDF:",e),W("生成PDF失败: "+e.message,"error")}else W("请先打开PDF文件","error")}())},"保存PDF",2),t[10]||(t[10]=s("div",{style:{width:"1px",background:"#e5e7eb",height:"24px",margin:"0 8px"}},null,-1)),s("div",{class:d(["btn",{disabled:!I.value||O.value<=1}]),onClick:t[2]||(t[2]=e=>!(!I.value||O.value<=1)&&void(O.value>1&&(O.value--,R.value=O.value)))},"上一页",2),s("div",{class:d(["btn",{disabled:!I.value||O.value>=C.value}]),onClick:t[3]||(t[3]=e=>!(!I.value||O.value>=C.value)&&void(O.value!I.value||(null===j.value&&(j.value=$.value),j.value=Math.max(.5,+(j.value/1.2).toFixed(2)),void(V.value=Math.round(100*j.value))))},"-",2),s("div",{class:d(["btn",{disabled:!I.value}]),onClick:t[5]||(t[5]=e=>!I.value||(null===j.value&&(j.value=$.value),j.value=Math.min(3,+(1.2*j.value).toFixed(2)),void(V.value=Math.round(100*j.value))))},"+",2),v(s("input",{"onUpdate:modelValue":t[6]||(t[6]=e=>V.value=e),onInput:K,type:"range",min:"50",max:"300",style:{width:"140px"},disabled:!I.value},null,40,T),[[f,V.value,void 0,{number:!0}]]),s("div",D,c(Y.value)+"%",1),t[12]||(t[12]=s("div",{style:{width:"1px",background:"#e5e7eb",height:"24px",margin:"0 8px"}},null,-1)),t[13]||(t[13]=s("div",{style:{"margin-left":"8px"}},"第",-1)),v(s("input",{type:"number","onUpdate:modelValue":t[7]||(t[7]=e=>R.value=e),min:1,max:C.value,style:{width:"80px","margin-left":"4px"}},null,8,J),[[f,R.value,void 0,{number:!0}]]),s("div",{class:d(["btn",{disabled:!I.value}]),onClick:t[8]||(t[8]=e=>!I.value||void(R.value>=1&&R.value<=C.value&&(O.value=R.value)))},"跳转",2),s("div",P,"/ "+c(C.value||0)+" 页",1),t[14]||(t[14]=s("div",{style:{width:"1px",background:"#e5e7eb",height:"24px",margin:"0 8px"}},null,-1)),N.value?(i(),o("div",_,[s("div",null,[t[9]||(t[9]=s("strong",null,"文件:",-1)),p(" "+c(N.value),1)])])):r("",!0),t[15]||(t[15]=s("div",{style:{flex:"1"}},null,-1))]),s("div",F,[m(y,{file:x.value,page:O.value,scale:j.value,"annotation-mode":!1,"read-only":!0,"border-style":B.value.borderStyle,"annotation-style":B.value.annotationStyle,"start-number":B.value.startNumber,increment:B.value.increment,prefix:B.value.prefix,suffix:B.value.suffix,"font-size":B.value.fontSize,"show-all-weld-info":z.value,ref_key:"pdfViewerRef",ref:E,onLoaded:Z,onScaleChanged:q,onWheelZoom:G,onPlaceImage:le,onImagePlacingCancelled:ne,onImageDeleted:oe},null,8,["file","page","scale","border-style","annotation-style","start-number","increment","prefix","suffix","font-size","show-all-weld-info"])])])]))}},[["__scopeId","data-v-0899ee83"]])).mount("#app");