From dee1159c637efb243817732f5fc62ba58cc1b9ee Mon Sep 17 00:00:00 2001 From: jiangteng <1348746268@qq.com> Date: Mon, 13 Feb 2023 10:05:23 +0800 Subject: [PATCH] =?UTF-8?q?'=E5=A2=9E=E5=8A=A0=E5=AF=BC=E5=85=A5=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=92=8C=E4=BF=AE=E6=94=B9readme'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.en.md | 27 + README.md | 32 +- docs/assets/index-34874161.css | 1 + .../{index-373635a9.js => index-b3413a50.js} | 997 +++++++++--------- docs/assets/index-c3c100ef.css | 1 - docs/index.html | 4 +- src/views/satellite-track/SatelliteTrack.scss | 3 + src/views/satellite-track/SatelliteTrack.vue | 32 +- 8 files changed, 566 insertions(+), 531 deletions(-) create mode 100644 README.en.md create mode 100644 docs/assets/index-34874161.css rename docs/assets/{index-373635a9.js => index-b3413a50.js} (59%) delete mode 100644 docs/assets/index-c3c100ef.css diff --git a/README.en.md b/README.en.md new file mode 100644 index 0000000..b254e78 --- /dev/null +++ b/README.en.md @@ -0,0 +1,27 @@ +# satellite-track + +## Introduction + +Satellite-track is a program for tracking satellite orbit, developed by cesium, vue and satelliteJS. It supports satellite and satellite constellation orbit display within the next 24 hours (performance considerations); Custom satellite orbit data (TLE) loading is also supported,TLE data is from celestrak; + +## Preview + +### [【satellite-track】](https://jiangteng2019.github.io/satellite-track/) + +### [【Alternate address】](http://120.48.134.120:10181/satellite-track/) + + +## Tips +In order to save performance, satellite-track limits the following options: + - click display of satellite orbital data, not full display; + - orbital data prediction for the next 24 hours; + - only five constellation data can be selected at the same time; + +1. The access speed of github pages is slow, and the TLE data and cesium data are large. Please wait patiently for the resources to load; +1. If the spacecraft changes orbit frequently, the TLE cache needs to be cleared manually before use; + +## Example + +[![satellite-track](https://images.cnblogs.com/cnblogs_com/engeng/2270012/o_230203011203_1.jpg "satellite-track")](https://images.cnblogs.com/cnblogs_com/engeng/2270012/o_230203011203_1.jpg "satellite-track") + +[![satellite-track](https://images.cnblogs.com/cnblogs_com/engeng/2270012/o_230203011139_2.jpg "satellite-track")](https://images.cnblogs.com/cnblogs_com/engeng/2270012/o_230203011139_2.jpg "satellite-track") \ No newline at end of file diff --git a/README.md b/README.md index c0ccee8..7aed1f3 100644 --- a/README.md +++ b/README.md @@ -1,35 +1,23 @@ # satellite-track -### satellite-track uses TLE data to track satellites and is developed using cesium, vue and satelliteJS. -### [preview](https://jiangteng2019.github.io/satellite-track/) +## 概览 + +satellite-track 是一款追踪卫星轨道的程序,使用cesium、vue、satelliteJS开发。支持24小时之内的卫星和卫星星座轨道显示(性能考虑);同时也支持自定义的卫星轨道数据(TLE)加载。数据来源于celestrak。 + +## Preview +### [【satellite-track】](https://jiangteng2019.github.io/satellite-track/) +### [【备用地址】](http://120.48.134.120:10181/satellite-track/) -1. In order to save performance, satellite-track limits the following options: - - click display of satellite orbital data, not full display; - - orbital data prediction for the next 24 hours; - - only five constellation data can be selected at the same time; - -1. The access speed of github pages is slow, and the TLE data and cesium data are large. Please wait patiently for the resources to load; -1. If the spacecraft changes orbit frequently, the TLE cache needs to be cleared manually before use; -1. Data from celestrak; - -------------------------------------------- - - - -### satellite-track使用TLE数据追踪卫星,使用cesium、vue、satelliteJS开发。 -### [预览](https://jiangteng2019.github.io/satellite-track/) - - -1. 为了节约性能,satellite-track 使用了如下限制: +## 注意 +为了节约性能,satellite-track 使用了如下限制: - 卫星轨道数据点击显示,而非全量显示; - 轨道数据预测未来24小时; - 只能同时选择5个星座数据; 1. github pages 访问速度慢,TLE数据与cesium数据较大,请耐心等待资源加载; 1. 如果航天器变轨频繁,使用前需手动清除TLE缓存; -1. 数据来源于celestrak; - +## 示例 [![satellite-track](https://images.cnblogs.com/cnblogs_com/engeng/2270012/o_230203011203_1.jpg "satellite-track")](https://images.cnblogs.com/cnblogs_com/engeng/2270012/o_230203011203_1.jpg "satellite-track") [![satellite-track](https://images.cnblogs.com/cnblogs_com/engeng/2270012/o_230203011139_2.jpg "satellite-track")](https://images.cnblogs.com/cnblogs_com/engeng/2270012/o_230203011139_2.jpg "satellite-track") \ No newline at end of file diff --git a/docs/assets/index-34874161.css b/docs/assets/index-34874161.css new file mode 100644 index 0000000..6488b8e --- /dev/null +++ b/docs/assets/index-34874161.css @@ -0,0 +1 @@ +@charset "UTF-8";.el-container[data-v-0969e94e]{height:100%}:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","\5fae\8f6f\96c5\9ed1",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645, .045, .355, 1);--el-transition-function-fast-bezier:cubic-bezier(.23, 1, .32, 1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px}:root{color-scheme:light;--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#ffffff;--el-bg-color-page:#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);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.el-icon{--color:inherit;height:1em;width:1em;line-height:1em;display:inline-flex;justify-content:center;align-items:center;position:relative;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-upload{--el-upload-dragger-padding-horizontal:40px;--el-upload-dragger-padding-vertical:10px}.el-upload{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;outline:0}.el-upload__input{display:none}.el-upload__tip{font-size:12px;color:var(--el-text-color-regular);margin-top:7px}.el-upload iframe{position:absolute;z-index:-1;top:0;left:0;opacity:0}.el-upload--picture-card{--el-upload-picture-card-size:148px;background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);border-radius:6px;box-sizing:border-box;width:var(--el-upload-picture-card-size);height:var(--el-upload-picture-card-size);cursor:pointer;vertical-align:top;display:inline-flex;justify-content:center;align-items:center}.el-upload--picture-card i{font-size:28px;color:var(--el-text-color-secondary)}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload.is-drag{display:block}.el-upload:focus{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload:focus .el-upload-dragger{border-color:var(--el-color-primary)}.el-upload-dragger{padding:var(--el-upload-dragger-padding-horizontal) var(--el-upload-dragger-padding-vertical);background-color:var(--el-fill-color-blank);border:1px dashed var(--el-border-color);border-radius:6px;box-sizing:border-box;text-align:center;cursor:pointer;position:relative;overflow:hidden}.el-upload-dragger .el-icon--upload{font-size:67px;color:var(--el-text-color-placeholder);margin-bottom:16px;line-height:50px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:var(--el-border);margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:var(--el-text-color-regular);font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:var(--el-color-primary);font-style:normal}.el-upload-dragger:hover{border-color:var(--el-color-primary)}.el-upload-dragger.is-dragover{padding:calc(var(--el-upload-dragger-padding-horizontal) - 1px) calc(var(--el-upload-dragger-padding-vertical) - 1px);background-color:var(--el-color-primary-light-9);border:2px dashed var(--el-color-primary)}.el-upload-list{margin:10px 0 0;padding:0;list-style:none;position:relative}.el-upload-list__item{transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:var(--el-text-color-regular);margin-bottom:5px;position:relative;box-sizing:border-box;border-radius:4px;width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-icon--upload-success{color:var(--el-color-success)}.el-upload-list__item .el-icon--close{display:none;position:absolute;right:5px;top:50%;cursor:pointer;opacity:.75;color:var(--el-text-color-regular);transition:opacity var(--el-transition-duration);transform:translateY(-50%)}.el-upload-list__item .el-icon--close:hover{opacity:1;color:var(--el-color-primary)}.el-upload-list__item .el-icon--close-tip{display:none;position:absolute;top:1px;right:5px;font-size:12px;cursor:pointer;opacity:1;color:var(--el-color-primary);font-style:normal}.el-upload-list__item:hover{background-color:var(--el-fill-color-light)}.el-upload-list__item:hover .el-icon--close{display:inline-flex}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item .el-upload-list__item-info{display:inline-flex;justify-content:center;flex-direction:column;width:calc(100% - 30px);margin-left:4px}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-name:focus,.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:var(--el-color-primary);cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip{display:inline-block}.el-upload-list__item.is-success:active,.el-upload-list__item.is-success:not(.focusing):focus{outline-width:0}.el-upload-list__item.is-success:active .el-icon--close-tip,.el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip{display:none}.el-upload-list__item.is-success: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.is-disabled .el-upload-list__item-status-label,.el-upload-list.is-disabled .el-upload-list__item:hover{display:block}.el-upload-list__item-name{color:var(--el-text-color-regular);display:inline-flex;text-align:center;align-items:center;padding:0 4px;transition:color var(--el-transition-duration);font-size:var(--el-font-size-base)}.el-upload-list__item-name .el-icon{margin-right:6px;color:var(--el-text-color-secondary)}.el-upload-list__item-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-upload-list__item-status-label{position:absolute;right:5px;top:0;line-height:inherit;display:none;height:100%;justify-content:center;align-items:center;transition:opacity var(--el-transition-duration)}.el-upload-list__item-delete{position:absolute;right:10px;top:0;font-size:12px;color:var(--el-text-color-regular);display:none}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{--el-upload-list-picture-card-size:148px;display:inline-flex;flex-wrap:wrap;margin:0}.el-upload-list--picture-card .el-upload-list__item{overflow:hidden;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;width:var(--el-upload-list-picture-card-size);height:var(--el-upload-list-picture-card-size);margin:0 8px 8px 0;padding:0;display:inline-flex}.el-upload-list--picture-card .el-upload-list__item .el-icon--check,.el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon--close{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:block}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.el-upload-list--picture-card .el-upload-list__item-status-label{right:-15px;top:-6px;width:40px;height:24px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;display:inline-flex;justify-content:center;align-items:center;color:#fff;opacity:0;font-size:20px;background-color:var(--el-overlay-color-lighter);transition:opacity var(--el-transition-duration)}.el-upload-list--picture-card .el-upload-list__item-actions span{display:none;cursor:pointer}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:1rem}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{position:static;font-size:inherit;color:inherit}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-flex}.el-upload-list--picture-card .el-progress{top:50%;left:50%;transform:translate(-50%,-50%);bottom:auto;width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{overflow:hidden;z-index:0;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;margin-top:10px;padding:10px;display:flex;align-items:center}.el-upload-list--picture .el-upload-list__item .el-icon--check,.el-upload-list--picture .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{opacity:0;display:block}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item .el-icon--close{top:5px;transform:translateY(0)}.el-upload-list--picture .el-upload-list__item-thumbnail{display:inline-flex;justify-content:center;align-items:center;width:70px;height:70px;-o-object-fit:contain;object-fit:contain;position:relative;z-index:1;background-color:var(--el-color-white)}.el-upload-list--picture .el-upload-list__item-status-label{position:absolute;right:-17px;top:-7px;width:46px;height:26px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;z-index:10;cursor:default}.el-upload-cover:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-upload-cover img{display:block;width:100%;height:100%}.el-upload-cover__label{right:-15px;top:-6px;width:40px;height:24px;background:var(--el-color-success);text-align:center;transform:rotate(45deg)}.el-upload-cover__label i{font-size:12px;margin-top:11px;transform:rotate(-45deg);color:#fff}.el-upload-cover__progress{display:inline-block;vertical-align:middle;position:static;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{position:absolute;top:0;left:0;width:100%;height:100%}.el-upload-cover__interact{position:absolute;bottom:0;left:0;width:100%;height:100%;background-color:var(--el-overlay-color-light);text-align:center}.el-upload-cover__interact .btn{display:inline-block;color:#fff;font-size:14px;cursor:pointer;vertical-align:middle;transition:var(--el-transition-md-fade);margin-top:60px}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{position:absolute;bottom:0;left:0;background-color:#fff;height:36px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;text-align:left;padding:0 10px;margin:0;line-height:36px;font-size:14px;color:var(--el-text-color-primary)}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-progress{position:relative;line-height:1;display:flex;align-items:center}.el-progress__text{font-size:14px;color:var(--el-text-color-regular);margin-left:5px;min-width:50px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{flex-grow:1;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:var(--el-border-color-lighter);overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:var(--el-color-primary);text-align:right;border-radius:100px;line-height:1;white-space:nowrap;transition:width .6s ease}.el-progress-bar__inner:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{transform:translateZ(0);-webkit-animation:indeterminate 3s infinite;animation:indeterminate 3s infinite}.el-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 5px}@-webkit-keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@-webkit-keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary)}.el-textarea{position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:var(--el-font-size-base)}.el-textarea__inner{position:relative;display:block;resize:vertical;padding:5px 11px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;font-family:inherit;color:var(--el-input-text-color,var(--el-text-color-regular));background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;-webkit-appearance:none;box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));transition:var(--el-transition-box-shadow);border:none}.el-textarea__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:-ms-input-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{outline:0;box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-textarea .el-input__count{color:var(--el-color-info);background:var(--el-fill-color-blank);position:absolute;font-size:12px;line-height:14px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-disabled .el-textarea__inner:-ms-input-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{border-color:var(--el-color-danger)}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary)}.el-input{--el-input-height:var(--el-component-size);position:relative;font-size:var(--el-font-size-base);display:inline-flex;width:100%;line-height:var(--el-input-height);box-sizing:border-box;vertical-align:middle}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:var(--el-text-color-disabled)}.el-input::-webkit-scrollbar-corner{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);font-size:14px;cursor:pointer}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{height:100%;display:inline-flex;align-items:center;color:var(--el-color-info);font-size:12px}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);line-height:initial;display:inline-block;padding-left:8px}.el-input__wrapper{display:inline-flex;flex-grow:1;align-items:center;justify-content:center;padding:1px 11px;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));transition:var(--el-transition-box-shadow);box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.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__inner{--el-input-inner-height:calc(var(--el-input-height, 32px) - 2px);width:100%;flex-grow:1;-webkit-appearance:none;color:var(--el-input-text-color,var(--el-text-color-regular));font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);padding:0;outline:0;border:none;background:0 0;box-sizing:border-box}.el-input__inner:focus{outline:0}.el-input__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner:-ms-input-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__prefix{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__prefix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.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{display:inline-flex;white-space:nowrap;flex-shrink:0;flex-wrap:nowrap;height:100%;text-align:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));transition:all var(--el-transition-duration);pointer-events:none}.el-input__suffix-inner{pointer-events:all;display:inline-flex;align-items:center;justify-content:center}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{height:inherit;line-height:inherit;display:flex;justify-content:center;align-items:center;transition:all var(--el-transition-duration);margin-left:8px}.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}.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:-ms-input-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-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{--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{--el-input-inner-height:calc(var(--el-input-height, 24px) - 2px)}.el-input-group{display:inline-flex;width:100%;align-items:stretch}.el-input-group__append,.el-input-group__prepend{background-color:var(--el-fill-color-light);color:var(--el-color-info);position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:100%;border-radius:var(--el-input-border-radius);padding:0 20px;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:0}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-input__wrapper,.el-input-group__append div.el-select:hover .el-input__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-input__wrapper,.el-input-group__prepend div.el-select:hover .el-input__wrapper{border-color:transparent;background-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__inner{box-shadow:none!important}.el-input-group--prepend .el-input-group__prepend .el-select .el-input .el-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__inner{box-shadow:none!important}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__wrapper{box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important;z-index:2}.el-input-group--prepend .el-input-group__prepend .el-select .el-input.is-focus .el-input__wrapper:focus{outline:0;z-index:2;box-shadow:1px 0 0 0 var(--el-input-focus-border-color) inset,1px 0 0 0 var(--el-input-focus-border-color),0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--prepend .el-input-group__prepend .el-select:hover .el-input__inner{box-shadow:none!important}.el-input-group--prepend .el-input-group__prepend .el-select:hover .el-input__wrapper{z-index:1;box-shadow:1px 0 0 0 var(--el-input-hover-border-color) inset,1px 0 0 0 var(--el-input-hover-border-color),0 1px 0 0 var(--el-input-hover-border-color) inset,0 -1px 0 0 var(--el-input-hover-border-color) inset!important}.el-input-group--append>.el-input__wrapper{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-input .el-input__inner{box-shadow:none!important}.el-input-group--append .el-input-group__append .el-select .el-input .el-input__wrapper{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--append .el-input-group__append .el-select .el-input.is-focus .el-input__inner{box-shadow:none!important}.el-input-group--append .el-input-group__append .el-select .el-input.is-focus .el-input__wrapper{z-index:2;box-shadow:-1px 0 0 0 var(--el-input-focus-border-color),-1px 0 0 0 var(--el-input-focus-border-color) inset,0 1px 0 0 var(--el-input-focus-border-color) inset,0 -1px 0 0 var(--el-input-focus-border-color) inset!important}.el-input-group--append .el-input-group__append .el-select:hover .el-input__inner{box-shadow:none!important}.el-input-group--append .el-input-group__append .el-select:hover .el-input__wrapper{z-index:1;box-shadow:-1px 0 0 0 var(--el-input-hover-border-color),-1px 0 0 0 var(--el-input-hover-border-color) inset,0 1px 0 0 var(--el-input-hover-border-color) inset,0 -1px 0 0 var(--el-input-hover-border-color) inset!important}.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color, var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary, 20px)}.el-drawer{position:absolute;box-sizing:border-box;background-color:var(--el-drawer-bg-color);display:flex;flex-direction:column;box-shadow:var(--el-box-shadow-dark);overflow:hidden;transition:all var(--el-transition-duration)}.el-drawer .rtl,.el-drawer .ltr,.el-drawer .ttb,.el-drawer .btt{transform:translate(0)}.el-drawer__sr-focus:focus{outline:0!important}.el-drawer__header{align-items:center;color:#72767b;display:flex;margin-bottom:32px;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{margin:0;flex:1;line-height:inherit;font-size:1rem}.el-drawer__footer{padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{display:inline-flex;border:none;cursor:pointer;font-size:var(--el-font-size-extra-large);color:inherit;background-color:transparent;outline:0}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{flex:1;padding:var(--el-drawer-padding-primary);overflow:auto}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{height:100%;top:0;bottom:0}.el-drawer.btt,.el-drawer.ttb{width:100%;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-active,.el-drawer-fade-enter-from,.el-drawer-fade-enter-to,.el-drawer-fade-leave-active,.el-drawer-fade-leave-from,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{opacity:0}.el-drawer-fade-enter-to,.el-drawer-fade-leave-from{opacity:1}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}.el-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;height:100%;background-color:var(--el-overlay-color-lighter);overflow:auto}.el-overlay .el-overlay-root{height:0}.el-checkbox-group{font-size:0;line-height:0}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary)}.el-checkbox{color:var(--el-checkbox-text-color);font-weight:var(--el-checkbox-font-weight);font-size:var(--el-font-size-base);position:relative;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-right:30px;height:32px}.el-checkbox.is-bordered{padding:0 15px 0 9px;border-radius:var(--el-border-radius-base);border:var(--el-border);box-sizing:border-box}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter);cursor:not-allowed}.el-checkbox.is-bordered.el-checkbox--large{padding:0 19px 0 11px;border-radius:var(--el-border-radius-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{padding:0 11px 0 7px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox input:focus-visible+.el-checkbox__inner{outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px;border-radius:var(--el-checkbox-border-radius)}.el-checkbox__input{white-space:nowrap;cursor:pointer;outline:0;display:inline-flex;position:relative}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:var(--el-checkbox-disabled-icon-color)}.el-checkbox__input.is-disabled .el-checkbox__inner+.el-checkbox__label{cursor:not-allowed}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus: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{content:"";position:absolute;display:block;background-color:var(--el-checkbox-checked-icon-color);height:2px;transform:scale(.5);left:0;right:0;top:5px}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{display:inline-block;position:relative;border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;width:var(--el-checkbox-input-width);height:var(--el-checkbox-input-height);background-color:var(--el-checkbox-bg-color);z-index:var(--el-index-normal);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{box-sizing:content-box;content:"";border:1px solid var(--el-checkbox-checked-icon-color);border-left:0;border-top:0;height:7px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:3px;transition:transform .15s ease-in 50ms;transform-origin:center}.el-checkbox__original{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.el-checkbox__label{display:inline-block;padding-left:8px;line-height:1;font-size:var(--el-checkbox-font-size)}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{width:14px;height:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{width:12px;height:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{width:2px;height:6px}.el-checkbox:last-of-type{margin-right:0}.el-row{display:flex;flex-wrap:wrap;position:relative;box-sizing:border-box}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}.el-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-color-info);--el-button-active-color:var(--el-text-color-primary)}.el-button{display:inline-flex;justify-content:center;align-items:center;line-height:1;height:32px;white-space:nowrap;cursor:pointer;color:var(--el-button-text-color);text-align:center;box-sizing:border-box;outline:0;transition:.1s;font-weight:var(--el-button-font-weight);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);padding:8px 15px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button:focus,.el-button:hover{color:var(--el-button-hover-text-color);border-color:var(--el-button-hover-border-color);background-color:var(--el-button-hover-bg-color);outline:0}.el-button:active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:0}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px}.el-button>span{display:inline-flex;align-items:center}.el-button+.el-button{margin-left:12px}.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:0}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:var(--el-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color);border-color:var(--el-button-disabled-border-color)}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{z-index:1;pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:var(--el-mask-color-extra-light)}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px}.el-button.is-text{color:var(--el-button-text-color);border:0 solid transparent;background-color:transparent}.el-button.is-text.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important}.el-button.is-text:not(.is-disabled):focus,.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}.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:focus,.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{border-color:transparent;color:var(--el-button-text-color);background:0 0;padding:2px;height:auto}.el-button.is-link:focus,.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.el-button.is-link:not(.is-disabled):focus,.el-button.is-link:not(.is-disabled):hover{border-color:transparent;background-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color);border-color:transparent;background-color:transparent}.el-button--text{border-color:transparent;background:0 0;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.el-button--text:not(.is-disabled):focus,.el-button--text:not(.is-disabled):hover{color:var(--el-color-primary-light-3);border-color:transparent;background-color:transparent}.el-button--text:not(.is-disabled):active{color:var(--el-color-primary-dark-2);border-color:transparent;background-color:transparent}.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{color:var(--el-color-primary-light-5);background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-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{color:var(--el-color-success-light-5);background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-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{color:var(--el-color-warning-light-5);background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-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{color:var(--el-color-danger-light-5);background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-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{color:var(--el-color-info-light-5);background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8)}.el-button--large{--el-button-size:40px;height:var(--el-button-size);padding:12px 19px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{width:var(--el-button-size);padding:12px}.el-button--small{--el-button-size:24px;height:var(--el-button-size);padding:5px 11px;font-size:12px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{width:var(--el-button-size);padding:5px}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;position:relative;vertical-align:middle;display:inline-block}.el-badge__content{background-color:var(--el-badge-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-flex;justify-content:center;align-items:center;font-size:var(--el-badge-font-size);height:var(--el-badge-size);padding:0 var(--el-badge-padding);white-space:nowrap;border:1px solid var(--el-bg-color)}.el-badge__content.is-fixed{position:absolute;top:0;right:calc(1px + var(--el-badge-size)/ 2);transform:translateY(-50%) translate(100%)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{height:8px;width:8px;padding:0;right:0;border-radius:50%}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:15px 19px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary)}.el-message{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;max-width:calc(100% - 32px);box-sizing:border-box;border-radius:var(--el-border-radius-base);border-width:var(--el-border-width);border-style:var(--el-border-style);border-color:var(--el-message-border-color);position:fixed;left:50%;top:20px;transform:translate(-50%);background-color:var(--el-message-bg-color);transition:opacity var(--el-transition-duration),transform .4s,top .4s;padding:var(--el-message-padding);display:flex;align-items:center}.el-message.is-center{justify-content:center}.el-message.is-closable .el-message__content{padding-right:31px}.el-message p{margin:0}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:anywhere}.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:anywhere}.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:anywhere}.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:anywhere}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message__icon{margin-right:10px}.el-message .el-message__badge{position:absolute;top:-8px;right:-8px}.el-message__content{padding:0;font-size:14px;line-height:1}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{position:absolute;top:50%;right:19px;transform:translateY(-50%);cursor:pointer;color:var(--el-message-close-icon-color);font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;transform:translate(-50%,-100%)}.cesium-svgPath-svg{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}.cesium-button{display:inline-block;position:relative;background:#303336;border:1px solid #444;color:#edffff;fill:#edffff;border-radius:4px;padding:5px 12px;margin:2px 3px;cursor:pointer;overflow:hidden;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.cesium-button:focus{color:#fff;fill:#fff;border-color:#ea4;outline:none}.cesium-button:hover{color:#fff;fill:#fff;background:#48b;border-color:#aef;box-shadow:0 0 8px #fff}.cesium-button:active{color:#000;fill:#000;background:#adf;border-color:#fff;box-shadow:0 0 8px #fff}.cesium-button:disabled,.cesium-button-disabled,.cesium-button-disabled:focus,.cesium-button-disabled:hover,.cesium-button-disabled:active{background:#303336;border-color:#444;color:#646464;fill:#646464;box-shadow:none;cursor:default}.cesium-button option{background-color:#000;color:#eee}.cesium-button option:disabled{color:#777}.cesium-button input,.cesium-button label{cursor:pointer}.cesium-button input{vertical-align:sub}.cesium-toolbar-button{box-sizing:border-box;width:32px;height:32px;border-radius:14%;padding:0;vertical-align:middle;z-index:0}.cesium-performanceDisplay-defaultContainer{position:absolute;top:50px;right:10px;text-align:right}.cesium-performanceDisplay{background-color:#282828b3;padding:7px;border-radius:5px;border:1px solid #444;font:700 12px sans-serif}.cesium-performanceDisplay-fps{color:#e52}.cesium-performanceDisplay-throttled{color:#a42}.cesium-performanceDisplay-ms{color:#de3}.cesium-animation-theme{visibility:hidden;display:block;position:absolute;z-index:-100}.cesium-animation-themeNormal{color:#222}.cesium-animation-themeHover{color:#4488b0}.cesium-animation-themeSelect{color:#242}.cesium-animation-themeDisabled{color:#333}.cesium-animation-themeKnob{color:#222}.cesium-animation-themePointer{color:#2e2}.cesium-animation-themeSwoosh{color:#8ac}.cesium-animation-themeSwooshHover{color:#aef}.cesium-animation-svgText{fill:#edffff;font-family:Sans-Serif;font-size:15px;text-anchor:middle}.cesium-animation-blank{fill:#000;fill-opacity:.01;stroke:none}.cesium-animation-rectButton{cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.cesium-animation-rectButton .cesium-animation-buttonGlow{fill:#fff;stroke:none;display:none}.cesium-animation-rectButton:hover .cesium-animation-buttonGlow{display:block}.cesium-animation-rectButton .cesium-animation-buttonPath{fill:#edffff}.cesium-animation-rectButton .cesium-animation-buttonMain{stroke:#444;stroke-width:1.2}.cesium-animation-rectButton:hover .cesium-animation-buttonMain{stroke:#aef}.cesium-animation-rectButton:active .cesium-animation-buttonMain{fill:#abd6ff}.cesium-animation-buttonDisabled{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.cesium-animation-buttonDisabled .cesium-animation-buttonMain{stroke:#555}.cesium-animation-buttonDisabled .cesium-animation-buttonPath{fill:#818181}.cesium-animation-buttonDisabled .cesium-animation-buttonGlow{display:none}.cesium-animation-buttonToggled .cesium-animation-buttonGlow{display:block;fill:#2e2}.cesium-animation-buttonToggled .cesium-animation-buttonMain{stroke:#2e2}.cesium-animation-buttonToggled:hover .cesium-animation-buttonGlow{fill:#fff}.cesium-animation-buttonToggled:hover .cesium-animation-buttonMain{stroke:#2e2}.cesium-animation-shuttleRingG,.cesium-animation-shuttleRingPointer,.cesium-animation-shuttleRingPausePointer{cursor:pointer}.cesium-animation-shuttleRingBack{fill:#181818;fill-opacity:.8;stroke:#333;stroke-width:1.2}.cesium-animation-shuttleRingSwoosh line{stroke:#8ac;stroke-width:3;stroke-opacity:.2;stroke-linecap:round}.cesium-animation-knobOuter{cursor:pointer;stroke:#444;stroke-width:1.2}.cesium-animation-knobInner{cursor:pointer}.cesium-baseLayerPicker-selected{position:absolute;top:0;left:0;width:100%;height:100%;border:none}.cesium-baseLayerPicker-dropDown{display:block;position:absolute;box-sizing:content-box;top:auto;right:0;width:320px;max-height:500px;margin-top:5px;background-color:#262626bf;border:1px solid #444;padding:6px;overflow:auto;border-radius:10px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;transform:translateY(-20%);visibility:hidden;opacity:0;transition:visibility 0s .2s,opacity .2s ease-in,transform .2s ease-in}.cesium-baseLayerPicker-dropDown-visible{transform:translate(0);visibility:visible;opacity:1;transition:opacity .2s ease-out,transform .2s ease-out}.cesium-baseLayerPicker-sectionTitle{display:block;font-family:sans-serif;font-size:16pt;text-align:left;color:#edffff;margin-bottom:4px}.cesium-baseLayerPicker-choices{margin-bottom:5px}.cesium-baseLayerPicker-categoryTitle{color:#edffff;font-size:11pt}.cesium-baseLayerPicker-choices{display:block;border:1px solid #888;border-radius:5px;padding:5px 0}.cesium-baseLayerPicker-item{display:inline-block;vertical-align:top;margin:2px 5px;width:64px;text-align:center;cursor:pointer}.cesium-baseLayerPicker-itemLabel{display:block;font-family:sans-serif;font-size:8pt;text-align:center;vertical-align:middle;color:#edffff;cursor:pointer;word-wrap:break-word}.cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemLabel,.cesium-baseLayerPicker-item:focus .cesium-baseLayerPicker-itemLabel{text-decoration:underline}.cesium-baseLayerPicker-itemIcon{display:inline-block;position:relative;width:inherit;height:auto;background-size:100% 100%;border:solid 1px #444;border-radius:9px;color:#edffff;margin:0;padding:0;cursor:pointer;box-sizing:border-box}.cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemIcon{border-color:#fff;box-shadow:0 0 8px #fff,0 0 8px #fff}.cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemLabel{color:#bdecf8}.cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemIcon{border:double 4px rgb(189,236,248)}.cesium-widget{font-family:sans-serif;font-size:16px;overflow:hidden;display:block;position:relative;top:0;left:0;width:100%;height:100%}.cesium-widget,.cesium-widget canvas{width:100%;height:100%;touch-action:none}.cesium-widget-credits{display:block;position:absolute;bottom:0;left:0;color:#fff;font-size:10px;text-shadow:0px 0px 2px #000000;padding-right:5px}.cesium-widget-credits a,.cesium-widget-credits a:visited{color:#fff}.cesium-widget-errorPanel{position:absolute;top:0;right:0;bottom:0;left:0;text-align:center;background:rgba(0,0,0,.7);z-index:99999}.cesium-widget-errorPanel:before{display:inline-block;vertical-align:middle;height:100%;content:""}.cesium-widget-errorPanel-content{width:75%;max-width:500px;display:inline-block;text-align:left;vertical-align:middle;border:1px solid #510c00;border-radius:7px;background-color:#f0d9d5;font-size:14px;color:#510c00}.cesium-widget-errorPanel-content.expanded{max-width:75%}.cesium-widget-errorPanel-header{font-size:18px;font-family:Open Sans,Verdana,Geneva,sans-serif;background:#d69d93;border-bottom:2px solid #510c00;border-radius:3px 3px 0 0;padding:15px}.cesium-widget-errorPanel-scroll{overflow:auto;font-family:Open Sans,Verdana,Geneva,sans-serif;white-space:pre-wrap;padding:0 15px;margin:10px 0 20px}.cesium-widget-errorPanel-buttonPanel{padding:0 15px;margin:10px 0 20px;text-align:right}.cesium-widget-errorPanel-buttonPanel button{border-color:#510c00;background:#d69d93;color:#202020;margin:0}.cesium-widget-errorPanel-buttonPanel button:focus{border-color:#510c00;background:#f0d9d5;color:#510c00}.cesium-widget-errorPanel-buttonPanel button:hover{border-color:#510c00;background:#f0d9d5;color:#510c00}.cesium-widget-errorPanel-buttonPanel button:active{border-color:#510c00;background:#b17b72;color:#510c00}.cesium-widget-errorPanel-more-details{text-decoration:underline;cursor:pointer}.cesium-widget-errorPanel-more-details:hover{color:#2b0700}.cesium-cesiumInspector{border-radius:5px;transition:width ease-in-out .25s;background:rgba(48,51,54,.8);border:1px solid #444;color:#edffff;display:inline-block;position:relative;padding:4px 12px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden}.cesium-cesiumInspector-button{text-align:center;font-size:11pt}.cesium-cesiumInspector-visible .cesium-cesiumInspector-button{border-bottom:1px solid #aaa;padding-bottom:3px}.cesium-cesiumInspector input:enabled,.cesium-cesiumInspector-button{cursor:pointer}.cesium-cesiumInspector-visible{width:185px;height:auto}.cesium-cesiumInspector-hidden{width:122px;height:17px}.cesium-cesiumInspector-sectionContent{max-height:600px}.cesium-cesiumInspector-section-collapsed .cesium-cesiumInspector-sectionContent{max-height:0;padding:0!important;overflow:hidden}.cesium-cesiumInspector-dropDown{margin:5px 0;font-family:sans-serif;font-size:10pt;width:185px}.cesium-cesiumInspector-frustumStatistics{padding:5px;background-color:#505050bf}.cesium-cesiumInspector-pickButton{background-color:#0000004d;border:1px solid #444;color:#edffff;border-radius:5px;padding:3px 7px;cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;margin:0 auto}.cesium-cesiumInspector-pickButton:focus{outline:none}.cesium-cesiumInspector-pickButton:active,.cesium-cesiumInspector-pickButtonHighlight{color:#000;background:#adf;border-color:#fff;box-shadow:0 0 8px #fff}.cesium-cesiumInspector-center{text-align:center}.cesium-cesiumInspector-sectionHeader{font-weight:700;font-size:10pt;margin:0;cursor:pointer}.cesium-cesiumInspector-pickSection{border:1px solid #aaa;border-radius:5px;padding:3px;margin-bottom:5px}.cesium-cesiumInspector-sectionContent{margin-bottom:10px;transition:max-height .25s}.cesium-cesiumInspector-tileText{padding-bottom:10px;border-bottom:1px solid #aaa}.cesium-cesiumInspector-relativeText{padding-top:10px}.cesium-cesiumInspector-sectionHeader:before{margin-right:5px;content:"-";width:1ch;display:inline-block}.cesium-cesiumInspector-section-collapsed .cesium-cesiumInspector-sectionHeader:before{content:"+"}ul.cesium-cesiumInspector-statistics{margin:0;padding-top:3px;padding-bottom:3px}ul.cesium-cesiumInspector-statistics+ul.cesium-cesiumInspector-statistics{border-top:1px solid #aaa}.cesium-cesiumInspector-slider{margin-top:5px}.cesium-cesiumInspector-slider input[type=number]{text-align:left;background-color:#222;outline:none;border:1px solid #444;color:#edffff;width:100px;border-radius:3px;padding:1px;margin-left:10px;cursor:auto}.cesium-cesiumInspector-slider input[type=number]::-webkit-outer-spin-button,.cesium-cesiumInspector-slider input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.cesium-cesiumInspector-slider input[type=range]{margin-left:5px;vertical-align:middle}.cesium-cesiumInspector-hide .cesium-cesiumInspector-styleEditor{display:none}.cesium-cesiumInspector-styleEditor{padding:10px;border-radius:5px;background:rgba(48,51,54,.8);border:1px solid #444}.cesium-cesiumInspector-styleEditor textarea{width:100%;height:300px;background:transparent;color:#edffff;border:none;padding:0;white-space:pre;overflow-wrap:normal;overflow-x:auto}.cesium-3DTilesInspector{width:300px;pointer-events:all}.cesium-3DTilesInspector-statistics{font-size:11px}.cesium-3DTilesInspector-disabledElementsInfo{margin:5px 0 0;padding:0 0 0 20px;color:#eed202}.cesium-3DTilesInspector div,.cesium-3DTilesInspector input[type=range]{width:100%;box-sizing:border-box}.cesium-cesiumInspector-error{color:#ff9e9e;overflow:auto}.cesium-3DTilesInspector .cesium-cesiumInspector-section{margin-top:3px}.cesium-3DTilesInspector .cesium-cesiumInspector-sectionHeader+.cesium-cesiumInspector-show{border-top:1px solid white}input.cesium-cesiumInspector-url{overflow:hidden;white-space:nowrap;overflow-x:scroll;background-color:transparent;color:#fff;outline:none;border:none;height:1em;width:100%}.cesium-cesiumInspector .field-group{display:table}.cesium-cesiumInspector .field-group>label{display:table-cell;font-weight:700}.cesium-cesiumInspector .field-group>.field{display:table-cell;width:100%}.cesium-VoxelInspector{width:300px;pointer-events:all}.cesium-VoxelInspector div,.cesium-VoxelInspector input[type=range]{width:100%;box-sizing:border-box}.cesium-VoxelInspector .cesium-cesiumInspector-section{margin-top:3px}.cesium-VoxelInspector .cesium-cesiumInspector-sectionHeader+.cesium-cesiumInspector-show{border-top:1px solid white}.cesium-button.cesium-fullscreenButton,.cesium-button.cesium-vrButton{display:block;width:100%;height:100%;margin:0;border-radius:0}.cesium-viewer-geocoderContainer .cesium-geocoder-input{border:solid 1px #444;background-color:#282828b3;color:#fff;display:inline-block;vertical-align:middle;width:0;height:32px;margin:0;padding:0 32px 0 0;border-radius:0;box-sizing:border-box;transition:width ease-in-out .25s,background-color .2s ease-in-out;-webkit-appearance:none}.cesium-viewer-geocoderContainer:hover .cesium-geocoder-input{border-color:#aef;box-shadow:0 0 8px #fff}.cesium-viewer-geocoderContainer .cesium-geocoder-input:focus{border-color:#ea4;background-color:#0f0f0fe6;box-shadow:none;outline:none}.cesium-viewer-geocoderContainer:hover .cesium-geocoder-input,.cesium-viewer-geocoderContainer .cesium-geocoder-input:focus,.cesium-viewer-geocoderContainer .cesium-geocoder-input-wide{padding-left:4px;width:250px}.cesium-viewer-geocoderContainer .search-results{position:absolute;background-color:#000;color:#eee;overflow-y:auto;opacity:.8;width:100%}.cesium-viewer-geocoderContainer .search-results ul{list-style-type:none;margin:0;padding:0}.cesium-viewer-geocoderContainer .search-results ul li{font-size:14px;padding:3px 10px}.cesium-viewer-geocoderContainer .search-results ul li:hover{cursor:pointer}.cesium-viewer-geocoderContainer .search-results ul li.active{background:#48b}.cesium-geocoder-searchButton{background-color:#303336;display:inline-block;position:absolute;cursor:pointer;width:32px;top:1px;right:1px;height:30px;vertical-align:middle;fill:#edffff}.cesium-geocoder-searchButton:hover{background-color:#48b}.cesium-infoBox{display:block;position:absolute;top:50px;right:0;width:40%;max-width:480px;background:rgba(38,38,38,.95);color:#edffff;border:1px solid #444;border-right:none;border-top-left-radius:7px;border-bottom-left-radius:7px;box-shadow:0 0 10px 1px #000;transform:translate(100%);visibility:hidden;opacity:0;transition:visibility 0s .2s,opacity .2s ease-in,transform .2s ease-in}.cesium-infoBox-visible{transform:translate(0);visibility:visible;opacity:1;transition:opacity .2s ease-out,transform .2s ease-out}.cesium-infoBox-title{display:block;height:20px;padding:5px 30px 5px 25px;background:rgba(84,84,84,1);border-top-left-radius:7px;text-align:center;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;box-sizing:content-box}.cesium-infoBox-bodyless .cesium-infoBox-title{border-bottom-left-radius:7px}button.cesium-infoBox-camera{display:block;position:absolute;top:4px;left:4px;width:22px;height:22px;background:transparent;border-color:transparent;border-radius:3px;padding:0 5px;margin:0}button.cesium-infoBox-close{display:block;position:absolute;top:5px;right:5px;height:20px;background:transparent;border:none;border-radius:2px;font-weight:700;font-size:16px;padding:0 5px;margin:0;color:#edffff}button.cesium-infoBox-close:focus{background:rgba(238,136,0,.44);outline:none}button.cesium-infoBox-close:hover{background:#888;color:#000}button.cesium-infoBox-close:active{background:#a00;color:#000}.cesium-infoBox-bodyless .cesium-infoBox-iframe{display:none}.cesium-infoBox-iframe{border:none;width:100%;width:calc(100% - 2px)}span.cesium-sceneModePicker-wrapper{display:inline-block;position:relative;margin:0 3px}.cesium-sceneModePicker-visible{visibility:visible;opacity:1;transition:opacity .25s linear}.cesium-sceneModePicker-hidden{visibility:hidden;opacity:0;transition:visibility 0s .25s,opacity .25s linear}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-none{display:none}.cesium-sceneModePicker-slide-svg{transition:left 2s;top:0;left:0}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-dropDown-icon{box-sizing:border-box;padding:0;margin:3px 0}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button3D,.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-buttonColumbusView,.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button2D{margin:0 0 3px}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button3D .cesium-sceneModePicker-icon2D{left:100%}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button3D .cesium-sceneModePicker-iconColumbusView{left:200%}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-buttonColumbusView .cesium-sceneModePicker-icon3D{left:-200%}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-buttonColumbusView .cesium-sceneModePicker-icon2D,.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button2D .cesium-sceneModePicker-icon3D{left:-100%}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button2D .cesium-sceneModePicker-iconColumbusView{left:100%}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-selected{border-color:#2e2;box-shadow:0 0 8px #fff,0 0 8px #fff}span.cesium-projectionPicker-wrapper{display:inline-block;position:relative;margin:0 3px}.cesium-projectionPicker-visible{visibility:visible;opacity:1;transition:opacity .25s linear}.cesium-projectionPicker-hidden{visibility:hidden;opacity:0;transition:visibility 0s .25s,opacity .25s linear}.cesium-projectionPicker-wrapper .cesium-projectionPicker-none{display:none}.cesium-projectionPicker-wrapper .cesium-projectionPicker-dropDown-icon{box-sizing:border-box;padding:0;margin:3px 0}.cesium-projectionPicker-wrapper .cesium-projectionPicker-buttonPerspective,.cesium-projectionPicker-wrapper .cesium-projectionPicker-buttonOrthographic{margin:0 0 3px}.cesium-projectionPicker-wrapper .cesium-projectionPicker-buttonPerspective .cesium-projectionPicker-iconOrthographic{left:100%}.cesium-projectionPicker-wrapper .cesium-projectionPicker-buttonOrthographic .cesium-projectionPicker-iconPerspective{left:-100%}.cesium-projectionPicker-wrapper .cesium-projectionPicker-selected{border-color:#2e2;box-shadow:0 0 8px #fff,0 0 8px #fff}.cesium-performance-watchdog-message-area{position:relative;background-color:#ff0;color:#000;padding:10px}.cesium-performance-watchdog-message{margin-right:30px}.cesium-performance-watchdog-message-dismiss{position:absolute;right:0;margin:0 10px 0 0}.cesium-navigationHelpButton-wrapper{position:relative;display:inline-block}.cesium-navigation-help{visibility:hidden;position:absolute;top:38px;right:2px;width:250px;border-radius:10px;transform:scale(.01);transform-origin:234px -10px;transition:visibility 0s .25s,transform .25s ease-in}.cesium-navigation-help-visible{visibility:visible;transform:scale(1);transition:transform .25s ease-out}.cesium-navigation-help-instructions{border:1px solid #444;background-color:#262626bf;padding-bottom:5px;border-radius:0 0 10px 10px}.cesium-click-navigation-help{display:none}.cesium-touch-navigation-help{display:none;padding-top:5px}.cesium-click-navigation-help-visible,.cesium-touch-navigation-help-visible{display:block}.cesium-navigation-help-pan{color:#6cf;font-weight:700}.cesium-navigation-help-zoom{color:#65fd00;font-weight:700}.cesium-navigation-help-rotate{color:#ffd800;font-weight:700}.cesium-navigation-help-tilt{color:#d800d8;font-weight:700}.cesium-navigation-help-details{color:#fff}.cesium-navigation-button{color:#fff;background-color:transparent;border-bottom:none;border-top:1px solid #444;border-right:1px solid #444;margin:0;width:50%;cursor:pointer}.cesium-navigation-button-icon{vertical-align:middle;padding:5px 1px}.cesium-navigation-button:focus{outline:none}.cesium-navigation-button-left{border-radius:10px 0 0;border-left:1px solid #444}.cesium-navigation-button-right{border-radius:0 10px 0 0;border-left:none}.cesium-navigation-button-selected{background-color:#262626bf}.cesium-navigation-button-unselected{background-color:#000000bf}.cesium-navigation-button-unselected:hover{background-color:#4c4c4cbf}.cesium-selection-wrapper{position:absolute;width:160px;height:160px;pointer-events:none;visibility:hidden;opacity:0;transition:visibility 0s .2s,opacity .2s ease-in}.cesium-selection-wrapper-visible{visibility:visible;opacity:1;transition:opacity .2s ease-out}.cesium-selection-wrapper svg{fill:#2e2;stroke:#000;stroke-width:1.1px}.cesium-timeline-main{position:relative;left:0;bottom:0;overflow:hidden;border:solid 1px #888;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.cesium-timeline-trackContainer{width:100%;overflow:auto;border-top:solid 1px #888;position:relative;top:0;left:0}.cesium-timeline-tracks{position:absolute;top:0;left:0;width:100%}.cesium-timeline-needle{position:absolute;left:0;top:1.7em;bottom:0;width:1px;background:#f00}.cesium-timeline-bar{position:relative;left:0;top:0;overflow:hidden;cursor:pointer;width:100%;height:1.7em;background:linear-gradient(to bottom,rgba(116,117,119,.8) 0%,rgba(58,68,82,.8) 11%,rgba(46,50,56,.8) 46%,rgba(53,53,53,.8) 81%,rgba(53,53,53,.8) 100%)}.cesium-timeline-ruler{visibility:hidden;white-space:nowrap;font-size:80%;z-index:-200}.cesium-timeline-highlight{position:absolute;bottom:0;left:0;background:#08f}.cesium-timeline-ticLabel{position:absolute;top:0;left:0;white-space:nowrap;font-size:80%;color:#eee}.cesium-timeline-ticMain{position:absolute;bottom:0;left:0;width:1px;height:50%;background:#eee}.cesium-timeline-ticSub{position:absolute;bottom:0;left:0;width:1px;height:33%;background:#aaa}.cesium-timeline-ticTiny{position:absolute;bottom:0;left:0;width:1px;height:25%;background:#888}.cesium-timeline-icon16{display:block;position:absolute;width:16px;height:16px;background-image:url(data:text/plain;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAQCAYAAAB3AH1ZAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sIDBITKIVzLEMAAAKNSURBVEjHxdXNSxRhHAfw7zzrqhuoWJnSkrippUVSEKsHI9BTUYdAJA/RoYMREV26rAdn6tAfUARi16hQqkOBQRgUEYFWEC3OwczMjdZd92VmdWfmeelgTjO7q7gb0VzmmZnn85vvPPPMM8B/3qTcE2PPpuTZKB1eWuUQACgXYACYwVFbCTTVeZXB/i55o4LFelcAZfStYD4vpAoPGAGo4GBcQEgSOAUMQyAezwK6iQfDPXnhS/FkHZ+/8VLMWxxqWkfH3gbMRNOYi2roavbja0zHQmoFPYf8ED4Ko4aivm9MOG/u9I8mwrafeK7a/tVrNc/bARYN5noadeq7q0342vXw9CIMU6BmW8rVP9cPBPe52uu+v3O/y9sB4gkTWs6Qsk0mj5ExXMelejvA8WafYmkmGPHanTijdtvif8rx5RiCjdWKs2Cp3jWRDl96KhrbqlBeJqBOLyLQXg0IgbkZDS0dO8EZxZfPSTA9jvDDK3mT0OmP1FXh3XwEEAKdTX5MRWLgjCK4pwH3xt/YnjgLHAv4lHTCAKMMu/wV+KZGob6PoKyMQ0+sgBpZVJZn0NterxQaVqef/DRn+/EXYds/mZx2eVeAW9d65dhCEsaKCb7K8HH0gqTevyh9GDkn0VULRiaLzJKGBu9swfdaiie5RVo9ESURN8E8BE0n7ggACJy8KzghSCzp6DmwWxkaCm24EBXr8wI8Hrkq06QBiRC0t24HALS11IBTCyJl4vb1AXmzpbVYTwoVOXN0h7L8Mwtm8bXPybIQ/5FCX3dA2cr6XowvGCA02CvztAnz9+JiZk1AMxG6fEreSoBiPNmoyNnuWiWVzAIAtISO08E6pZi/3N96AIDn4E3h3P8L/wshP+txtEs4JAAAAABJRU5ErkJggg==);background-repeat:no-repeat}.cesium-viewer{font-family:sans-serif;font-size:16px;overflow:hidden;display:block;position:relative;top:0;left:0;width:100%;height:100%}.cesium-viewer-cesiumWidgetContainer{width:100%;height:100%}.cesium-viewer-bottom{display:block;position:absolute;bottom:0;left:0;padding-right:5px}.cesium-viewer .cesium-widget-credits{display:inline;position:static;bottom:auto;left:auto;padding-right:0;color:#fff;font-size:10px;text-shadow:0 0 2px #000000}.cesium-viewer-timelineContainer{position:absolute;bottom:0;left:169px;right:29px;height:27px;padding:0;margin:0;overflow:hidden;font-size:14px}.cesium-viewer-animationContainer{position:absolute;bottom:0;left:0;padding:0;width:169px;height:112px}.cesium-viewer-fullscreenContainer,.cesium-viewer-vrContainer{position:absolute;bottom:0;right:0;padding:0;width:29px;height:29px;overflow:hidden}.cesium-viewer-toolbar{display:block;position:absolute;top:5px;right:5px}.cesium-viewer-cesiumInspectorContainer{display:block;position:absolute;top:50px;right:10px}.cesium-viewer-geocoderContainer{position:relative;display:inline-block;margin:0 3px}.cesium-viewer-cesium3DTilesInspectorContainer,.cesium-viewer-voxelInspectorContainer{display:block;position:absolute;top:50px;right:10px;max-height:calc(100% - 120px);box-sizing:border-box;overflow-y:auto;overflow-x:hidden}#cesiumContainer{height:100%}.cesium-viewer-bottom{display:none}.operate_container{position:absolute;top:5px;left:5px;z-index:999}.operate_container .menu_button{box-sizing:border-box;width:32px;height:32px;border-radius:14%;padding:0;vertical-align:middle;z-index:0;display:inline-block;position:relative;background:#303336;border:1px solid #444;color:#edffff;fill:#edffff;cursor:pointer;margin-right:5px}.operate_container .menu_button:hover{color:#fff;fill:#fff;background:#48b;border-color:#aef;box-shadow:0 0 8px #fff}.add_satellite{display:flex;justify-content:center;padding:10px}.add_satellite .upload_button{margin:0 10px}.el-drawer{background-color:#303336e6;color:#fff}.el-drawer .satellite_type{color:#95d475;font-weight:700;font-size:14px;padding:10px 10px 10px 0}.el-drawer .el-drawer__header{background-color:#303336;color:inherit;margin:0}.el-drawer .el-checkbox{color:inherit}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{border-radius:10px}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:10px;transition:all .2s ease-in-out}:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-2)}}*,*:before,*:after{box-sizing:border-box;margin:0;position:relative;font-weight:400}body{min-height:100vh;color:var(--color-text);background:var(--color-background);transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{height:100vh} diff --git a/docs/assets/index-373635a9.js b/docs/assets/index-b3413a50.js similarity index 59% rename from docs/assets/index-373635a9.js rename to docs/assets/index-b3413a50.js index 01bcddc..28fea4c 100644 --- a/docs/assets/index-373635a9.js +++ b/docs/assets/index-b3413a50.js @@ -1,12 +1,12 @@ -var sne=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Nut=sne((sd,ad)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerpolicy&&(r.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?r.credentials="include":o.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function WR(e,t){const n=Object.create(null),i=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function Mp(e){if(Yt(e)){const t={};for(let n=0;n{if(n){const i=n.split(cne);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function un(e){let t="";if(Mi(e))t=e;else if(Yt(e))for(let n=0;nyv(n,t))}const Ul=e=>Mi(e)?e:e==null?"":Yt(e)||Pi(e)&&(e.toString===i6||!wn(e.toString))?JSON.stringify(e,t6,2):String(e),t6=(e,t)=>t&&t.__v_isRef?t6(e,t.value):yy(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,o])=>(n[`${i} =>`]=o,n),{})}:bv(t)?{[`Set(${t.size})`]:[...t.values()]}:Pi(t)&&!Yt(t)&&!o6(t)?String(t):t,Ao={},gy=[],Qs=()=>{},pne=()=>!1,mne=/^on[^a-z]/,Av=e=>mne.test(e),jR=e=>e.startsWith("onUpdate:"),Es=Object.assign,qR=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},_ne=Object.prototype.hasOwnProperty,ai=(e,t)=>_ne.call(e,t),Yt=Array.isArray,yy=e=>UC(e)==="[object Map]",bv=e=>UC(e)==="[object Set]",xF=e=>UC(e)==="[object Date]",wn=e=>typeof e=="function",Mi=e=>typeof e=="string",Vb=e=>typeof e=="symbol",Pi=e=>e!==null&&typeof e=="object",n6=e=>Pi(e)&&wn(e.then)&&wn(e.catch),i6=Object.prototype.toString,UC=e=>i6.call(e),gne=e=>UC(e).slice(8,-1),o6=e=>UC(e)==="[object Object]",YR=e=>Mi(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,sw=WR(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Cv=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},yne=/-(\w)/g,eu=Cv(e=>e.replace(yne,(t,n)=>n?n.toUpperCase():"")),Ane=/\B([A-Z])/g,h0=Cv(e=>e.replace(Ane,"-$1").toLowerCase()),Tv=Cv(e=>e.charAt(0).toUpperCase()+e.slice(1)),hI=Cv(e=>e?`on${Tv(e)}`:""),kb=(e,t)=>!Object.is(e,t),aw=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$R=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let wF;const bne=()=>wF||(wF=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ya;class r6{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ya,!t&&Ya&&(this.index=(Ya.scopes||(Ya.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Ya;try{return Ya=this,t()}finally{Ya=n}}}on(){Ya=this}off(){Ya=this.parent}stop(t){if(this.active){let n,i;for(n=0,i=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},a6=e=>(e.w&pp)>0,c6=e=>(e.n&pp)>0,xne=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i{(f==="length"||f>=c)&&a.push(u)})}else switch(n!==void 0&&a.push(s.get(n)),t){case"add":Yt(e)?YR(n)&&a.push(s.get("length")):(a.push(s.get(Qm)),yy(e)&&a.push(s.get(fL)));break;case"delete":Yt(e)||(a.push(s.get(Qm)),yy(e)&&a.push(s.get(fL)));break;case"set":yy(e)&&a.push(s.get(Qm));break}if(a.length===1)a[0]&&dL(a[0]);else{const c=[];for(const u of a)u&&c.push(...u);dL(XR(c))}}function dL(e,t){const n=Yt(e)?e:[...e];for(const i of n)i.computed&&vF(i);for(const i of n)i.computed||vF(i)}function vF(e,t){(e!==zl||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Sne=WR("__proto__,__v_isRef,__isVue"),f6=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vb)),vne=JR(),Dne=JR(!1,!0),Ine=JR(!0),DF=Pne();function Pne(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=Ci(this);for(let r=0,s=this.length;r{e[t]=function(...n){p0();const i=Ci(this)[t].apply(this,n);return m0(),i}}),e}function JR(e=!1,t=!1){return function(i,o,r){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&r===(e?t?qne:_6:t?m6:p6).get(i))return i;const s=Yt(i);if(!e&&s&&ai(DF,o))return Reflect.get(DF,o,r);const a=Reflect.get(i,o,r);return(Vb(o)?f6.has(o):Sne(o))||(e||dc(i,"get",o),t)?a:No(a)?s&&YR(o)?a:a.value:Pi(a)?e?y6(a):_0(a):a}}const One=d6(),Lne=d6(!0);function d6(e=!1){return function(n,i,o,r){let s=n[i];if(ky(s)&&No(s)&&!No(o))return!1;if(!e&&(!oS(o)&&!ky(o)&&(s=Ci(s),o=Ci(o)),!Yt(n)&&No(s)&&!No(o)))return s.value=o,!0;const a=Yt(n)&&YR(i)?Number(i)e,Ev=e=>Reflect.getPrototypeOf(e);function HT(e,t,n=!1,i=!1){e=e.__v_raw;const o=Ci(e),r=Ci(t);n||(t!==r&&dc(o,"get",t),dc(o,"get",r));const{has:s}=Ev(o),a=i?QR:n?nN:Gb;if(s.call(o,t))return a(e.get(t));if(s.call(o,r))return a(e.get(r));e!==o&&e.get(t)}function VT(e,t=!1){const n=this.__v_raw,i=Ci(n),o=Ci(e);return t||(e!==o&&dc(i,"has",e),dc(i,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function kT(e,t=!1){return e=e.__v_raw,!t&&dc(Ci(e),"iterate",Qm),Reflect.get(e,"size",e)}function IF(e){e=Ci(e);const t=Ci(this);return Ev(t).has.call(t,e)||(t.add(e),Td(t,"add",e,e)),this}function PF(e,t){t=Ci(t);const n=Ci(this),{has:i,get:o}=Ev(n);let r=i.call(n,e);r||(e=Ci(e),r=i.call(n,e));const s=o.call(n,e);return n.set(e,t),r?kb(t,s)&&Td(n,"set",e,t):Td(n,"add",e,t),this}function OF(e){const t=Ci(this),{has:n,get:i}=Ev(t);let o=n.call(t,e);o||(e=Ci(e),o=n.call(t,e)),i&&i.call(t,e);const r=t.delete(e);return o&&Td(t,"delete",e,void 0),r}function LF(){const e=Ci(this),t=e.size!==0,n=e.clear();return t&&Td(e,"clear",void 0,void 0),n}function GT(e,t){return function(i,o){const r=this,s=r.__v_raw,a=Ci(s),c=t?QR:e?nN:Gb;return!e&&dc(a,"iterate",Qm),s.forEach((u,f)=>i.call(o,c(u),c(f),r))}}function WT(e,t,n){return function(...i){const o=this.__v_raw,r=Ci(o),s=yy(r),a=e==="entries"||e===Symbol.iterator&&s,c=e==="keys"&&s,u=o[e](...i),f=n?QR:t?nN:Gb;return!t&&dc(r,"iterate",c?fL:Qm),{next(){const{value:h,done:_}=u.next();return _?{value:h,done:_}:{value:a?[f(h[0]),f(h[1])]:f(h),done:_}},[Symbol.iterator](){return this}}}}function rh(e){return function(...t){return e==="delete"?!1:this}}function zne(){const e={get(r){return HT(this,r)},get size(){return kT(this)},has:VT,add:IF,set:PF,delete:OF,clear:LF,forEach:GT(!1,!1)},t={get(r){return HT(this,r,!1,!0)},get size(){return kT(this)},has:VT,add:IF,set:PF,delete:OF,clear:LF,forEach:GT(!1,!0)},n={get(r){return HT(this,r,!0)},get size(){return kT(this,!0)},has(r){return VT.call(this,r,!0)},add:rh("add"),set:rh("set"),delete:rh("delete"),clear:rh("clear"),forEach:GT(!0,!1)},i={get(r){return HT(this,r,!0,!0)},get size(){return kT(this,!0)},has(r){return VT.call(this,r,!0)},add:rh("add"),set:rh("set"),delete:rh("delete"),clear:rh("clear"),forEach:GT(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=WT(r,!1,!1),n[r]=WT(r,!0,!1),t[r]=WT(r,!1,!0),i[r]=WT(r,!0,!0)}),[e,n,t,i]}const[Une,Hne,Vne,kne]=zne();function ZR(e,t){const n=t?e?kne:Vne:e?Hne:Une;return(i,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?i:Reflect.get(ai(n,o)&&o in i?n:i,o,r)}const Gne={get:ZR(!1,!1)},Wne={get:ZR(!1,!0)},jne={get:ZR(!0,!1)},p6=new WeakMap,m6=new WeakMap,_6=new WeakMap,qne=new WeakMap;function Yne(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $ne(e){return e.__v_skip||!Object.isExtensible(e)?0:Yne(gne(e))}function _0(e){return ky(e)?e:eN(e,!1,h6,Gne,p6)}function g6(e){return eN(e,!1,Fne,Wne,m6)}function y6(e){return eN(e,!0,Mne,jne,_6)}function eN(e,t,n,i,o){if(!Pi(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const s=$ne(e);if(s===0)return e;const a=new Proxy(e,s===2?i:n);return o.set(e,a),a}function Ay(e){return ky(e)?Ay(e.__v_raw):!!(e&&e.__v_isReactive)}function ky(e){return!!(e&&e.__v_isReadonly)}function oS(e){return!!(e&&e.__v_isShallow)}function A6(e){return Ay(e)||ky(e)}function Ci(e){const t=e&&e.__v_raw;return t?Ci(t):e}function tN(e){return iS(e,"__v_skip",!0),e}const Gb=e=>Pi(e)?_0(e):e,nN=e=>Pi(e)?y6(e):e;function b6(e){Zh&&zl&&(e=Ci(e),u6(e.dep||(e.dep=XR())))}function C6(e,t){e=Ci(e),e.dep&&dL(e.dep)}function No(e){return!!(e&&e.__v_isRef===!0)}function Xn(e){return T6(e,!1)}function cw(e){return T6(e,!0)}function T6(e,t){return No(e)?e:new Xne(e,t)}class Xne{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ci(t),this._value=n?t:Gb(t)}get value(){return b6(this),this._value}set value(t){const n=this.__v_isShallow||oS(t)||ky(t);t=n?t:Ci(t),kb(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Gb(t),C6(this))}}function Oe(e){return No(e)?e.value:e}const Kne={get:(e,t,n)=>Oe(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const o=e[t];return No(o)&&!No(n)?(o.value=n,!0):Reflect.set(e,t,n,i)}};function E6(e){return Ay(e)?e:new Proxy(e,Kne)}function Jne(e){const t=Yt(e)?new Array(e.length):{};for(const n in e)t[n]=Wb(e,n);return t}class Qne{constructor(t,n,i){this._object=t,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Wb(e,t,n){const i=e[t];return No(i)?i:new Qne(e,t,n)}var x6;class Zne{constructor(t,n,i,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[x6]=!1,this._dirty=!0,this.effect=new KR(t,()=>{this._dirty||(this._dirty=!0,C6(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=i}get value(){const t=Ci(this);return b6(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}x6="__v_isReadonly";function w6(e,t,n=!1){let i,o;const r=wn(e);return r?(i=e,o=Qs):(i=e.get,o=e.set),new Zne(i,o,r||!o,n)}function eie(e,...t){}function ep(e,t,n,i){let o;try{o=i?e(...i):e()}catch(r){xv(r,t,n)}return o}function Jc(e,t,n,i){if(wn(e)){const r=ep(e,t,n,i);return r&&n6(r)&&r.catch(s=>{xv(s,t,n)}),r}const o=[];for(let r=0;r>>1;qb(Gs[i])Gu&&Gs.splice(t,1)}function oie(e){Yt(e)?by.push(...e):(!jf||!jf.includes(e,e.allowRecurse?Nm+1:Nm))&&by.push(e),v6()}function BF(e,t=jb?Gu+1:0){for(;tqb(n)-qb(i)),Nm=0;Nme.id==null?1/0:e.id,rie=(e,t)=>{const n=qb(e)-qb(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function I6(e){hL=!1,jb=!0,Gs.sort(rie);const t=Qs;try{for(Gu=0;GuMi(g)?g.trim():g)),h&&(o=n.map($R))}let a,c=i[a=hI(t)]||i[a=hI(eu(t))];!c&&r&&(c=i[a=hI(h0(t))]),c&&Jc(c,e,6,o);const u=i[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Jc(u,e,6,o)}}function P6(e,t,n=!1){const i=t.emitsCache,o=i.get(e);if(o!==void 0)return o;const r=e.emits;let s={},a=!1;if(!wn(e)){const c=u=>{const f=P6(u,t,!0);f&&(a=!0,Es(s,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!a?(Pi(e)&&i.set(e,null),null):(Yt(r)?r.forEach(c=>s[c]=null):Es(s,r),Pi(e)&&i.set(e,s),s)}function wv(e,t){return!e||!Av(t)?!1:(t=t.slice(2).replace(/Once$/,""),ai(e,t[0].toLowerCase()+t.slice(1))||ai(e,h0(t))||ai(e,t))}let Cs=null,O6=null;function rS(e){const t=Cs;return Cs=e,O6=e&&e.type.__scopeId||null,t}function Li(e,t=Cs,n){if(!t||e._n)return e;const i=(...o)=>{i._d&&WF(-1);const r=rS(t);let s;try{s=e(...o)}finally{rS(r),i._d&&WF(1)}return s};return i._n=!0,i._c=!0,i._d=!0,i}function pI(e){const{type:t,vnode:n,proxy:i,withProxy:o,props:r,propsOptions:[s],slots:a,attrs:c,emit:u,render:f,renderCache:h,data:_,setupState:g,ctx:p,inheritAttrs:y}=e;let b,C;const x=rS(e);try{if(n.shapeFlag&4){const v=o||i;b=zu(f.call(v,v,h,r,g,_,p)),C=c}else{const v=t;b=zu(v.length>1?v(r,{attrs:c,slots:a,emit:u}):v(r,null)),C=t.props?c:aie(c)}}catch(v){_b.length=0,xv(v,e,1),b=ci(Qc)}let S=b;if(C&&y!==!1){const v=Object.keys(C),{shapeFlag:P}=S;v.length&&P&7&&(s&&v.some(jR)&&(C=cie(C,s)),S=_p(S,C))}return n.dirs&&(S=_p(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),b=S,rS(x),b}const aie=e=>{let t;for(const n in e)(n==="class"||n==="style"||Av(n))&&((t||(t={}))[n]=e[n]);return t},cie=(e,t)=>{const n={};for(const i in e)(!jR(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function lie(e,t,n){const{props:i,children:o,component:r}=e,{props:s,children:a,patchFlag:c}=t,u=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return i?RF(i,s,u):!!s;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function die(e,t){t&&t.pendingBranch?Yt(e)?t.effects.push(...e):t.effects.push(e):oie(e)}function cd(e,t){if(rs){let n=rs.provides;const i=rs.parent&&rs.parent.provides;i===n&&(n=rs.provides=Object.create(i)),n[e]=t}}function sr(e,t,n=!1){const i=rs||Cs;if(i){const o=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&wn(t)?t.call(i.proxy):t}}const jT={};function ar(e,t,n){return L6(e,t,n)}function L6(e,t,{immediate:n,deep:i,flush:o,onTrack:r,onTrigger:s}=Ao){const a=rs;let c,u=!1,f=!1;if(No(e)?(c=()=>e.value,u=oS(e)):Ay(e)?(c=()=>e,i=!0):Yt(e)?(f=!0,u=e.some(S=>Ay(S)||oS(S)),c=()=>e.map(S=>{if(No(S))return S.value;if(Ay(S))return Wm(S);if(wn(S))return ep(S,a,2)})):wn(e)?t?c=()=>ep(e,a,2):c=()=>{if(!(a&&a.isUnmounted))return h&&h(),Jc(e,a,3,[_])}:c=Qs,t&&i){const S=c;c=()=>Wm(S())}let h,_=S=>{h=C.onStop=()=>{ep(S,a,4)}},g;if($b)if(_=Qs,t?n&&Jc(t,a,3,[c(),f?[]:void 0,_]):c(),o==="sync"){const S=soe();g=S.__watcherHandles||(S.__watcherHandles=[])}else return Qs;let p=f?new Array(e.length).fill(jT):jT;const y=()=>{if(C.active)if(t){const S=C.run();(i||u||(f?S.some((v,P)=>kb(v,p[P])):kb(S,p)))&&(h&&h(),Jc(t,a,3,[S,p===jT?void 0:f&&p[0]===jT?[]:p,_]),p=S)}else C.run()};y.allowRecurse=!!t;let b;o==="sync"?b=y:o==="post"?b=()=>za(y,a&&a.suspense):(y.pre=!0,a&&(y.id=a.uid),b=()=>oN(y));const C=new KR(c,b);t?n?y():p=C.run():o==="post"?za(C.run.bind(C),a&&a.suspense):C.run();const x=()=>{C.stop(),a&&a.scope&&qR(a.scope.effects,C)};return g&&g.push(x),x}function hie(e,t,n){const i=this.proxy,o=Mi(e)?e.includes(".")?B6(i,e):()=>i[e]:e.bind(i,i);let r;wn(t)?r=t:(r=t.handler,n=t);const s=rs;Wy(this);const a=L6(o,r.bind(i),n);return s?Wy(s):Zm(),a}function B6(e,t){const n=t.split(".");return()=>{let i=e;for(let o=0;o{Wm(n,t)});else if(o6(e))for(const n in e)Wm(e[n],t);return e}function pie(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fu(()=>{e.isMounted=!0}),HC(()=>{e.isUnmounting=!0}),e}const vc=[Function,Array],mie={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:vc,onEnter:vc,onAfterEnter:vc,onEnterCancelled:vc,onBeforeLeave:vc,onLeave:vc,onAfterLeave:vc,onLeaveCancelled:vc,onBeforeAppear:vc,onAppear:vc,onAfterAppear:vc,onAppearCancelled:vc},setup(e,{slots:t}){const n=du(),i=pie();let o;return()=>{const r=t.default&&M6(t.default(),!0);if(!r||!r.length)return;let s=r[0];if(r.length>1){for(const y of r)if(y.type!==Qc){s=y;break}}const a=Ci(e),{mode:c}=a;if(i.isLeaving)return mI(s);const u=NF(s);if(!u)return mI(s);const f=pL(u,a,i,n);mL(u,f);const h=n.subTree,_=h&&NF(h);let g=!1;const{getTransitionKey:p}=u.type;if(p){const y=p();o===void 0?o=y:y!==o&&(o=y,g=!0)}if(_&&_.type!==Qc&&(!Mm(u,_)||g)){const y=pL(_,a,i,n);if(mL(_,y),c==="out-in")return i.isLeaving=!0,y.afterLeave=()=>{i.isLeaving=!1,n.update.active!==!1&&n.update()},mI(s);c==="in-out"&&u.type!==Qc&&(y.delayLeave=(b,C,x)=>{const S=N6(i,_);S[String(_.key)]=_,b._leaveCb=()=>{C(),b._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=x})}return s}}},R6=mie;function N6(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function pL(e,t,n,i){const{appear:o,mode:r,persisted:s=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:h,onLeave:_,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:y,onAppear:b,onAfterAppear:C,onAppearCancelled:x}=t,S=String(e.key),v=N6(n,e),P=(R,F)=>{R&&Jc(R,i,9,F)},L=(R,F)=>{const H=F[1];P(R,F),Yt(R)?R.every(w=>w.length<=1)&&H():R.length<=1&&H()},z={mode:r,persisted:s,beforeEnter(R){let F=a;if(!n.isMounted)if(o)F=y||a;else return;R._leaveCb&&R._leaveCb(!0);const H=v[S];H&&Mm(e,H)&&H.el._leaveCb&&H.el._leaveCb(),P(F,[R])},enter(R){let F=c,H=u,w=f;if(!n.isMounted)if(o)F=b||c,H=C||u,w=x||f;else return;let I=!1;const m=R._enterCb=D=>{I||(I=!0,D?P(w,[R]):P(H,[R]),z.delayedLeave&&z.delayedLeave(),R._enterCb=void 0)};F?L(F,[R,m]):m()},leave(R,F){const H=String(e.key);if(R._enterCb&&R._enterCb(!0),n.isUnmounting)return F();P(h,[R]);let w=!1;const I=R._leaveCb=m=>{w||(w=!0,F(),m?P(p,[R]):P(g,[R]),R._leaveCb=void 0,v[H]===e&&delete v[H])};v[H]=e,_?L(_,[R,I]):I()},clone(R){return pL(R,t,n,i)}};return z}function mI(e){if(Sv(e))return e=_p(e),e.children=null,e}function NF(e){return Sv(e)?e.children?e.children[0]:void 0:e}function mL(e,t){e.shapeFlag&6&&e.component?mL(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 M6(e,t=!1,n){let i=[],o=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,Sv=e=>e.type.__isKeepAlive;function _ie(e,t){F6(e,"a",t)}function gie(e,t){F6(e,"da",t)}function F6(e,t,n=rs){const i=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(vv(t,i,n),n){let o=n.parent;for(;o&&o.parent;)Sv(o.parent.vnode)&&yie(i,t,n,o),o=o.parent}}function yie(e,t,n,i){const o=vv(t,e,i,!0);rN(()=>{qR(i[t],o)},n)}function vv(e,t,n=rs,i=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;p0(),Wy(n);const a=Jc(t,n,e,s);return Zm(),m0(),a});return i?o.unshift(r):o.push(r),r}}const Nd=e=>(t,n=rs)=>(!$b||e==="sp")&&vv(e,(...i)=>t(...i),n),Aie=Nd("bm"),fu=Nd("m"),bie=Nd("bu"),Cie=Nd("u"),HC=Nd("bum"),rN=Nd("um"),Tie=Nd("sp"),Eie=Nd("rtg"),xie=Nd("rtc");function wie(e,t=rs){vv("ec",e,t)}function mp(e,t){const n=Cs;if(n===null)return e;const i=Iv(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;rt(s,a,void 0,r&&r[a]));else{const s=Object.keys(e);o=new Array(s.length);for(let a=0,c=s.length;aGy(t)?!(t.type===Qc||t.type===pr&&!H6(t.children)):!0)?e:null}const _L=e=>e?J6(e)?Iv(e)||e.proxy:_L(e.parent):null,pb=Es(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=>_L(e.parent),$root:e=>_L(e.root),$emit:e=>e.emit,$options:e=>aN(e),$forceUpdate:e=>e.f||(e.f=()=>oN(e.update)),$nextTick:e=>e.n||(e.n=Za.bind(e.proxy)),$watch:e=>hie.bind(e)}),_I=(e,t)=>e!==Ao&&!e.__isScriptSetup&&ai(e,t),vie={get({_:e},t){const{ctx:n,setupState:i,data:o,props:r,accessCache:s,type:a,appContext:c}=e;let u;if(t[0]!=="$"){const g=s[t];if(g!==void 0)switch(g){case 1:return i[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(_I(i,t))return s[t]=1,i[t];if(o!==Ao&&ai(o,t))return s[t]=2,o[t];if((u=e.propsOptions[0])&&ai(u,t))return s[t]=3,r[t];if(n!==Ao&&ai(n,t))return s[t]=4,n[t];gL&&(s[t]=0)}}const f=pb[t];let h,_;if(f)return t==="$attrs"&&dc(e,"get",t),f(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==Ao&&ai(n,t))return s[t]=4,n[t];if(_=c.config.globalProperties,ai(_,t))return _[t]},set({_:e},t,n){const{data:i,setupState:o,ctx:r}=e;return _I(o,t)?(o[t]=n,!0):i!==Ao&&ai(i,t)?(i[t]=n,!0):ai(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:o,propsOptions:r}},s){let a;return!!n[s]||e!==Ao&&ai(e,s)||_I(t,s)||(a=r[0])&&ai(a,s)||ai(i,s)||ai(pb,s)||ai(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ai(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let gL=!0;function Die(e){const t=aN(e),n=e.proxy,i=e.ctx;gL=!1,t.beforeCreate&&FF(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:s,watch:a,provide:c,inject:u,created:f,beforeMount:h,mounted:_,beforeUpdate:g,updated:p,activated:y,deactivated:b,beforeDestroy:C,beforeUnmount:x,destroyed:S,unmounted:v,render:P,renderTracked:L,renderTriggered:z,errorCaptured:R,serverPrefetch:F,expose:H,inheritAttrs:w,components:I,directives:m,filters:D}=t;if(u&&Iie(u,i,null,e.appContext.config.unwrapInjectedRef),s)for(const V in s){const k=s[V];wn(k)&&(i[V]=k.bind(n))}if(o){const V=o.call(n,n);Pi(V)&&(e.data=_0(V))}if(gL=!0,r)for(const V in r){const k=r[V],G=wn(k)?k.bind(n,n):wn(k.get)?k.get.bind(n,n):Qs,W=!wn(k)&&wn(k.set)?k.set.bind(n):Qs,K=mt({get:G,set:W});Object.defineProperty(i,V,{enumerable:!0,configurable:!0,get:()=>K.value,set:q=>K.value=q})}if(a)for(const V in a)V6(a[V],i,n,V);if(c){const V=wn(c)?c.call(n):c;Reflect.ownKeys(V).forEach(k=>{cd(k,V[k])})}f&&FF(f,e,"c");function M(V,k){Yt(k)?k.forEach(G=>V(G.bind(n))):k&&V(k.bind(n))}if(M(Aie,h),M(fu,_),M(bie,g),M(Cie,p),M(_ie,y),M(gie,b),M(wie,R),M(xie,L),M(Eie,z),M(HC,x),M(rN,v),M(Tie,F),Yt(H))if(H.length){const V=e.exposed||(e.exposed={});H.forEach(k=>{Object.defineProperty(V,k,{get:()=>n[k],set:G=>n[k]=G})})}else e.exposed||(e.exposed={});P&&e.render===Qs&&(e.render=P),w!=null&&(e.inheritAttrs=w),I&&(e.components=I),m&&(e.directives=m)}function Iie(e,t,n=Qs,i=!1){Yt(e)&&(e=yL(e));for(const o in e){const r=e[o];let s;Pi(r)?"default"in r?s=sr(r.from||o,r.default,!0):s=sr(r.from||o):s=sr(r),No(s)&&i?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[o]=s}}function FF(e,t,n){Jc(Yt(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function V6(e,t,n,i){const o=i.includes(".")?B6(n,i):()=>n[i];if(Mi(e)){const r=t[e];wn(r)&&ar(o,r)}else if(wn(e))ar(o,e.bind(n));else if(Pi(e))if(Yt(e))e.forEach(r=>V6(r,t,n,i));else{const r=wn(e.handler)?e.handler.bind(n):t[e.handler];wn(r)&&ar(o,r,e)}}function aN(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,a=r.get(t);let c;return a?c=a:!o.length&&!n&&!i?c=t:(c={},o.length&&o.forEach(u=>sS(c,u,s,!0)),sS(c,t,s)),Pi(t)&&r.set(t,c),c}function sS(e,t,n,i=!1){const{mixins:o,extends:r}=t;r&&sS(e,r,n,!0),o&&o.forEach(s=>sS(e,s,n,!0));for(const s in t)if(!(i&&s==="expose")){const a=Pie[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const Pie={data:zF,props:Om,emits:Om,methods:Om,computed:Om,beforeCreate:ma,created:ma,beforeMount:ma,mounted:ma,beforeUpdate:ma,updated:ma,beforeDestroy:ma,beforeUnmount:ma,destroyed:ma,unmounted:ma,activated:ma,deactivated:ma,errorCaptured:ma,serverPrefetch:ma,components:Om,directives:Om,watch:Lie,provide:zF,inject:Oie};function zF(e,t){return t?e?function(){return Es(wn(e)?e.call(this,this):e,wn(t)?t.call(this,this):t)}:t:e}function Oie(e,t){return Om(yL(e),yL(t))}function yL(e){if(Yt(e)){const t={};for(let n=0;n0)&&!(s&16)){if(s&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[_,g]=G6(h,t,!0);Es(s,_),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!r&&!c)return Pi(e)&&i.set(e,gy),gy;if(Yt(r))for(let f=0;f-1,g[1]=y<0||p-1||ai(g,"default"))&&a.push(h)}}}const u=[s,a];return Pi(e)&&i.set(e,u),u}function UF(e){return e[0]!=="$"}function HF(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function VF(e,t){return HF(e)===HF(t)}function kF(e,t){return Yt(t)?t.findIndex(n=>VF(n,e)):wn(t)&&VF(t,e)?0:-1}const W6=e=>e[0]==="_"||e==="$stable",cN=e=>Yt(e)?e.map(zu):[zu(e)],Nie=(e,t,n)=>{if(t._n)return t;const i=Li((...o)=>cN(t(...o)),n);return i._c=!1,i},j6=(e,t,n)=>{const i=e._ctx;for(const o in e){if(W6(o))continue;const r=e[o];if(wn(r))t[o]=Nie(o,r,i);else if(r!=null){const s=cN(r);t[o]=()=>s}}},q6=(e,t)=>{const n=cN(t);e.slots.default=()=>n},Mie=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ci(t),iS(t,"_",n)):j6(t,e.slots={})}else e.slots={},t&&q6(e,t);iS(e.slots,Dv,1)},Fie=(e,t,n)=>{const{vnode:i,slots:o}=e;let r=!0,s=Ao;if(i.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:(Es(o,t),!n&&a===1&&delete o._):(r=!t.$stable,j6(t,o)),s=t}else t&&(q6(e,t),s={default:1});if(r)for(const a in o)!W6(a)&&!(a in s)&&delete o[a]};function Y6(){return{app:null,config:{isNativeTag:pne,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let zie=0;function Uie(e,t){return function(i,o=null){wn(i)||(i=Object.assign({},i)),o!=null&&!Pi(o)&&(o=null);const r=Y6(),s=new Set;let a=!1;const c=r.app={_uid:zie++,_component:i,_props:o,_container:null,_context:r,_instance:null,version:aoe,get config(){return r.config},set config(u){},use(u,...f){return s.has(u)||(u&&wn(u.install)?(s.add(u),u.install(c,...f)):wn(u)&&(s.add(u),u(c,...f))),c},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),c},component(u,f){return f?(r.components[u]=f,c):r.components[u]},directive(u,f){return f?(r.directives[u]=f,c):r.directives[u]},mount(u,f,h){if(!a){const _=ci(i,o);return _.appContext=r,f&&t?t(_,u):e(_,u,h),a=!0,c._container=u,u.__vue_app__=c,Iv(_.component)||_.component.proxy}},unmount(){a&&(e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return r.provides[u]=f,c}};return c}}function bL(e,t,n,i,o=!1){if(Yt(e)){e.forEach((_,g)=>bL(_,t&&(Yt(t)?t[g]:t),n,i,o));return}if(hb(i)&&!o)return;const r=i.shapeFlag&4?Iv(i.component)||i.component.proxy:i.el,s=o?null:r,{i:a,r:c}=e,u=t&&t.r,f=a.refs===Ao?a.refs={}:a.refs,h=a.setupState;if(u!=null&&u!==c&&(Mi(u)?(f[u]=null,ai(h,u)&&(h[u]=null)):No(u)&&(u.value=null)),wn(c))ep(c,a,12,[s,f]);else{const _=Mi(c),g=No(c);if(_||g){const p=()=>{if(e.f){const y=_?ai(h,c)?h[c]:f[c]:c.value;o?Yt(y)&&qR(y,r):Yt(y)?y.includes(r)||y.push(r):_?(f[c]=[r],ai(h,c)&&(h[c]=f[c])):(c.value=[r],e.k&&(f[e.k]=c.value))}else _?(f[c]=s,ai(h,c)&&(h[c]=s)):g&&(c.value=s,e.k&&(f[e.k]=s))};s?(p.id=-1,za(p,n)):p()}}}const za=die;function Hie(e){return Vie(e)}function Vie(e,t){const n=bne();n.__VUE__=!0;const{insert:i,remove:o,patchProp:r,createElement:s,createText:a,createComment:c,setText:u,setElementText:f,parentNode:h,nextSibling:_,setScopeId:g=Qs,insertStaticContent:p}=e,y=(Q,ne,fe,me=null,we=null,Se=null,Le=!1,Te=null,Be=!!ne.dynamicChildren)=>{if(Q===ne)return;Q&&!Mm(Q,ne)&&(me=se(Q),q(Q,we,Se,!0),Q=null),ne.patchFlag===-2&&(Be=!1,ne.dynamicChildren=null);const{type:Ie,ref:ye,shapeFlag:Ee}=ne;switch(Ie){case VC:b(Q,ne,fe,me);break;case Qc:C(Q,ne,fe,me);break;case gI:Q==null&&x(ne,fe,me,Le);break;case pr:I(Q,ne,fe,me,we,Se,Le,Te,Be);break;default:Ee&1?P(Q,ne,fe,me,we,Se,Le,Te,Be):Ee&6?m(Q,ne,fe,me,we,Se,Le,Te,Be):(Ee&64||Ee&128)&&Ie.process(Q,ne,fe,me,we,Se,Le,Te,Be,re)}ye!=null&&we&&bL(ye,Q&&Q.ref,Se,ne||Q,!ne)},b=(Q,ne,fe,me)=>{if(Q==null)i(ne.el=a(ne.children),fe,me);else{const we=ne.el=Q.el;ne.children!==Q.children&&u(we,ne.children)}},C=(Q,ne,fe,me)=>{Q==null?i(ne.el=c(ne.children||""),fe,me):ne.el=Q.el},x=(Q,ne,fe,me)=>{[Q.el,Q.anchor]=p(Q.children,ne,fe,me,Q.el,Q.anchor)},S=({el:Q,anchor:ne},fe,me)=>{let we;for(;Q&&Q!==ne;)we=_(Q),i(Q,fe,me),Q=we;i(ne,fe,me)},v=({el:Q,anchor:ne})=>{let fe;for(;Q&&Q!==ne;)fe=_(Q),o(Q),Q=fe;o(ne)},P=(Q,ne,fe,me,we,Se,Le,Te,Be)=>{Le=Le||ne.type==="svg",Q==null?L(ne,fe,me,we,Se,Le,Te,Be):F(Q,ne,we,Se,Le,Te,Be)},L=(Q,ne,fe,me,we,Se,Le,Te)=>{let Be,Ie;const{type:ye,props:Ee,shapeFlag:Pe,transition:Ve,dirs:Re}=Q;if(Be=Q.el=s(Q.type,Se,Ee&&Ee.is,Ee),Pe&8?f(Be,Q.children):Pe&16&&R(Q.children,Be,null,me,we,Se&&ye!=="foreignObject",Le,Te),Re&&tm(Q,null,me,"created"),Ee){for(const Tt in Ee)Tt!=="value"&&!sw(Tt)&&r(Be,Tt,null,Ee[Tt],Se,Q.children,me,we,Y);"value"in Ee&&r(Be,"value",null,Ee.value),(Ie=Ee.onVnodeBeforeMount)&&Du(Ie,me,Q)}z(Be,Q,Q.scopeId,Le,me),Re&&tm(Q,null,me,"beforeMount");const gt=(!we||we&&!we.pendingBranch)&&Ve&&!Ve.persisted;gt&&Ve.beforeEnter(Be),i(Be,ne,fe),((Ie=Ee&&Ee.onVnodeMounted)||gt||Re)&&za(()=>{Ie&&Du(Ie,me,Q),gt&&Ve.enter(Be),Re&&tm(Q,null,me,"mounted")},we)},z=(Q,ne,fe,me,we)=>{if(fe&&g(Q,fe),me)for(let Se=0;Se{for(let Ie=Be;Ie{const Te=ne.el=Q.el;let{patchFlag:Be,dynamicChildren:Ie,dirs:ye}=ne;Be|=Q.patchFlag&16;const Ee=Q.props||Ao,Pe=ne.props||Ao;let Ve;fe&&nm(fe,!1),(Ve=Pe.onVnodeBeforeUpdate)&&Du(Ve,fe,ne,Q),ye&&tm(ne,Q,fe,"beforeUpdate"),fe&&nm(fe,!0);const Re=we&&ne.type!=="foreignObject";if(Ie?H(Q.dynamicChildren,Ie,Te,fe,me,Re,Se):Le||k(Q,ne,Te,null,fe,me,Re,Se,!1),Be>0){if(Be&16)w(Te,ne,Ee,Pe,fe,me,we);else if(Be&2&&Ee.class!==Pe.class&&r(Te,"class",null,Pe.class,we),Be&4&&r(Te,"style",Ee.style,Pe.style,we),Be&8){const gt=ne.dynamicProps;for(let Tt=0;Tt{Ve&&Du(Ve,fe,ne,Q),ye&&tm(ne,Q,fe,"updated")},me)},H=(Q,ne,fe,me,we,Se,Le)=>{for(let Te=0;Te{if(fe!==me){if(fe!==Ao)for(const Te in fe)!sw(Te)&&!(Te in me)&&r(Q,Te,fe[Te],null,Le,ne.children,we,Se,Y);for(const Te in me){if(sw(Te))continue;const Be=me[Te],Ie=fe[Te];Be!==Ie&&Te!=="value"&&r(Q,Te,Ie,Be,Le,ne.children,we,Se,Y)}"value"in me&&r(Q,"value",fe.value,me.value)}},I=(Q,ne,fe,me,we,Se,Le,Te,Be)=>{const Ie=ne.el=Q?Q.el:a(""),ye=ne.anchor=Q?Q.anchor:a("");let{patchFlag:Ee,dynamicChildren:Pe,slotScopeIds:Ve}=ne;Ve&&(Te=Te?Te.concat(Ve):Ve),Q==null?(i(Ie,fe,me),i(ye,fe,me),R(ne.children,fe,ye,we,Se,Le,Te,Be)):Ee>0&&Ee&64&&Pe&&Q.dynamicChildren?(H(Q.dynamicChildren,Pe,fe,we,Se,Le,Te),(ne.key!=null||we&&ne===we.subTree)&&lN(Q,ne,!0)):k(Q,ne,fe,ye,we,Se,Le,Te,Be)},m=(Q,ne,fe,me,we,Se,Le,Te,Be)=>{ne.slotScopeIds=Te,Q==null?ne.shapeFlag&512?we.ctx.activate(ne,fe,me,Le,Be):D(ne,fe,me,we,Se,Le,Be):O(Q,ne,Be)},D=(Q,ne,fe,me,we,Se,Le)=>{const Te=Q.component=Qie(Q,me,we);if(Sv(Q)&&(Te.ctx.renderer=re),Zie(Te),Te.asyncDep){if(we&&we.registerDep(Te,M),!Q.el){const Be=Te.subTree=ci(Qc);C(null,Be,ne,fe)}return}M(Te,Q,ne,fe,we,Se,Le)},O=(Q,ne,fe)=>{const me=ne.component=Q.component;if(lie(Q,ne,fe))if(me.asyncDep&&!me.asyncResolved){V(me,ne,fe);return}else me.next=ne,iie(me.update),me.update();else ne.el=Q.el,me.vnode=ne},M=(Q,ne,fe,me,we,Se,Le)=>{const Te=()=>{if(Q.isMounted){let{next:ye,bu:Ee,u:Pe,parent:Ve,vnode:Re}=Q,gt=ye,Tt;nm(Q,!1),ye?(ye.el=Re.el,V(Q,ye,Le)):ye=Re,Ee&&aw(Ee),(Tt=ye.props&&ye.props.onVnodeBeforeUpdate)&&Du(Tt,Ve,ye,Re),nm(Q,!0);const Bt=pI(Q),En=Q.subTree;Q.subTree=Bt,y(En,Bt,h(En.el),se(En),Q,we,Se),ye.el=Bt.el,gt===null&&uie(Q,Bt.el),Pe&&za(Pe,we),(Tt=ye.props&&ye.props.onVnodeUpdated)&&za(()=>Du(Tt,Ve,ye,Re),we)}else{let ye;const{el:Ee,props:Pe}=ne,{bm:Ve,m:Re,parent:gt}=Q,Tt=hb(ne);if(nm(Q,!1),Ve&&aw(Ve),!Tt&&(ye=Pe&&Pe.onVnodeBeforeMount)&&Du(ye,gt,ne),nm(Q,!0),Ee&&ce){const Bt=()=>{Q.subTree=pI(Q),ce(Ee,Q.subTree,Q,we,null)};Tt?ne.type.__asyncLoader().then(()=>!Q.isUnmounted&&Bt()):Bt()}else{const Bt=Q.subTree=pI(Q);y(null,Bt,fe,me,Q,we,Se),ne.el=Bt.el}if(Re&&za(Re,we),!Tt&&(ye=Pe&&Pe.onVnodeMounted)){const Bt=ne;za(()=>Du(ye,gt,Bt),we)}(ne.shapeFlag&256||gt&&hb(gt.vnode)&>.vnode.shapeFlag&256)&&Q.a&&za(Q.a,we),Q.isMounted=!0,ne=fe=me=null}},Be=Q.effect=new KR(Te,()=>oN(Ie),Q.scope),Ie=Q.update=()=>Be.run();Ie.id=Q.uid,nm(Q,!0),Ie()},V=(Q,ne,fe)=>{ne.component=Q;const me=Q.vnode.props;Q.vnode=ne,Q.next=null,Rie(Q,ne.props,me,fe),Fie(Q,ne.children,fe),p0(),BF(),m0()},k=(Q,ne,fe,me,we,Se,Le,Te,Be=!1)=>{const Ie=Q&&Q.children,ye=Q?Q.shapeFlag:0,Ee=ne.children,{patchFlag:Pe,shapeFlag:Ve}=ne;if(Pe>0){if(Pe&128){W(Ie,Ee,fe,me,we,Se,Le,Te,Be);return}else if(Pe&256){G(Ie,Ee,fe,me,we,Se,Le,Te,Be);return}}Ve&8?(ye&16&&Y(Ie,we,Se),Ee!==Ie&&f(fe,Ee)):ye&16?Ve&16?W(Ie,Ee,fe,me,we,Se,Le,Te,Be):Y(Ie,we,Se,!0):(ye&8&&f(fe,""),Ve&16&&R(Ee,fe,me,we,Se,Le,Te,Be))},G=(Q,ne,fe,me,we,Se,Le,Te,Be)=>{Q=Q||gy,ne=ne||gy;const Ie=Q.length,ye=ne.length,Ee=Math.min(Ie,ye);let Pe;for(Pe=0;Peye?Y(Q,we,Se,!0,!1,Ee):R(ne,fe,me,we,Se,Le,Te,Be,Ee)},W=(Q,ne,fe,me,we,Se,Le,Te,Be)=>{let Ie=0;const ye=ne.length;let Ee=Q.length-1,Pe=ye-1;for(;Ie<=Ee&&Ie<=Pe;){const Ve=Q[Ie],Re=ne[Ie]=Be?Mh(ne[Ie]):zu(ne[Ie]);if(Mm(Ve,Re))y(Ve,Re,fe,null,we,Se,Le,Te,Be);else break;Ie++}for(;Ie<=Ee&&Ie<=Pe;){const Ve=Q[Ee],Re=ne[Pe]=Be?Mh(ne[Pe]):zu(ne[Pe]);if(Mm(Ve,Re))y(Ve,Re,fe,null,we,Se,Le,Te,Be);else break;Ee--,Pe--}if(Ie>Ee){if(Ie<=Pe){const Ve=Pe+1,Re=VePe)for(;Ie<=Ee;)q(Q[Ie],we,Se,!0),Ie++;else{const Ve=Ie,Re=Ie,gt=new Map;for(Ie=Re;Ie<=Pe;Ie++){const bn=ne[Ie]=Be?Mh(ne[Ie]):zu(ne[Ie]);bn.key!=null&>.set(bn.key,Ie)}let Tt,Bt=0;const En=Pe-Re+1;let In=!1,An=0;const rn=new Array(En);for(Ie=0;Ie=En){q(bn,we,Se,!0);continue}let Tn;if(bn.key!=null)Tn=gt.get(bn.key);else for(Tt=Re;Tt<=Pe;Tt++)if(rn[Tt-Re]===0&&Mm(bn,ne[Tt])){Tn=Tt;break}Tn===void 0?q(bn,we,Se,!0):(rn[Tn-Re]=Ie+1,Tn>=An?An=Tn:In=!0,y(bn,ne[Tn],fe,null,we,Se,Le,Te,Be),Bt++)}const Ft=In?kie(rn):gy;for(Tt=Ft.length-1,Ie=En-1;Ie>=0;Ie--){const bn=Re+Ie,Tn=ne[bn],kt=bn+1{const{el:Se,type:Le,transition:Te,children:Be,shapeFlag:Ie}=Q;if(Ie&6){K(Q.component.subTree,ne,fe,me);return}if(Ie&128){Q.suspense.move(ne,fe,me);return}if(Ie&64){Le.move(Q,ne,fe,re);return}if(Le===pr){i(Se,ne,fe);for(let Ee=0;EeTe.enter(Se),we);else{const{leave:Ee,delayLeave:Pe,afterLeave:Ve}=Te,Re=()=>i(Se,ne,fe),gt=()=>{Ee(Se,()=>{Re(),Ve&&Ve()})};Pe?Pe(Se,Re,gt):gt()}else i(Se,ne,fe)},q=(Q,ne,fe,me=!1,we=!1)=>{const{type:Se,props:Le,ref:Te,children:Be,dynamicChildren:Ie,shapeFlag:ye,patchFlag:Ee,dirs:Pe}=Q;if(Te!=null&&bL(Te,null,fe,Q,!0),ye&256){ne.ctx.deactivate(Q);return}const Ve=ye&1&&Pe,Re=!hb(Q);let gt;if(Re&&(gt=Le&&Le.onVnodeBeforeUnmount)&&Du(gt,ne,Q),ye&6)X(Q.component,fe,me);else{if(ye&128){Q.suspense.unmount(fe,me);return}Ve&&tm(Q,null,ne,"beforeUnmount"),ye&64?Q.type.remove(Q,ne,fe,we,re,me):Ie&&(Se!==pr||Ee>0&&Ee&64)?Y(Ie,ne,fe,!1,!0):(Se===pr&&Ee&384||!we&&ye&16)&&Y(Be,ne,fe),me&&te(Q)}(Re&&(gt=Le&&Le.onVnodeUnmounted)||Ve)&&za(()=>{gt&&Du(gt,ne,Q),Ve&&tm(Q,null,ne,"unmounted")},fe)},te=Q=>{const{type:ne,el:fe,anchor:me,transition:we}=Q;if(ne===pr){$(fe,me);return}if(ne===gI){v(Q);return}const Se=()=>{o(fe),we&&!we.persisted&&we.afterLeave&&we.afterLeave()};if(Q.shapeFlag&1&&we&&!we.persisted){const{leave:Le,delayLeave:Te}=we,Be=()=>Le(fe,Se);Te?Te(Q.el,Se,Be):Be()}else Se()},$=(Q,ne)=>{let fe;for(;Q!==ne;)fe=_(Q),o(Q),Q=fe;o(ne)},X=(Q,ne,fe)=>{const{bum:me,scope:we,update:Se,subTree:Le,um:Te}=Q;me&&aw(me),we.stop(),Se&&(Se.active=!1,q(Le,Q,ne,fe)),Te&&za(Te,ne),za(()=>{Q.isUnmounted=!0},ne),ne&&ne.pendingBranch&&!ne.isUnmounted&&Q.asyncDep&&!Q.asyncResolved&&Q.suspenseId===ne.pendingId&&(ne.deps--,ne.deps===0&&ne.resolve())},Y=(Q,ne,fe,me=!1,we=!1,Se=0)=>{for(let Le=Se;LeQ.shapeFlag&6?se(Q.component.subTree):Q.shapeFlag&128?Q.suspense.next():_(Q.anchor||Q.el),ue=(Q,ne,fe)=>{Q==null?ne._vnode&&q(ne._vnode,null,null,!0):y(ne._vnode||null,Q,ne,null,null,null,fe),BF(),D6(),ne._vnode=Q},re={p:y,um:q,m:K,r:te,mt:D,mc:R,pc:k,pbc:H,n:se,o:e};let he,ce;return t&&([he,ce]=t(re)),{render:ue,hydrate:he,createApp:Uie(ue,he)}}function nm({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function lN(e,t,n=!1){const i=e.children,o=t.children;if(Yt(i)&&Yt(o))for(let r=0;r>1,e[n[a]]0&&(t[i]=n[r-1]),n[r]=i)}}for(r=n.length,s=n[r-1];r-- >0;)n[r]=s,s=t[s];return n}const Gie=e=>e.__isTeleport,mb=e=>e&&(e.disabled||e.disabled===""),GF=e=>typeof SVGElement<"u"&&e instanceof SVGElement,CL=(e,t)=>{const n=e&&e.to;return Mi(n)?t?t(n):null:n},Wie={__isTeleport:!0,process(e,t,n,i,o,r,s,a,c,u){const{mc:f,pc:h,pbc:_,o:{insert:g,querySelector:p,createText:y,createComment:b}}=u,C=mb(t.props);let{shapeFlag:x,children:S,dynamicChildren:v}=t;if(e==null){const P=t.el=y(""),L=t.anchor=y("");g(P,n,i),g(L,n,i);const z=t.target=CL(t.props,p),R=t.targetAnchor=y("");z&&(g(R,z),s=s||GF(z));const F=(H,w)=>{x&16&&f(S,H,w,o,r,s,a,c)};C?F(n,L):z&&F(z,R)}else{t.el=e.el;const P=t.anchor=e.anchor,L=t.target=e.target,z=t.targetAnchor=e.targetAnchor,R=mb(e.props),F=R?n:L,H=R?P:z;if(s=s||GF(L),v?(_(e.dynamicChildren,v,F,o,r,s,a),lN(e,t,!0)):c||h(e,t,F,H,o,r,s,a,!1),C)R||YT(t,n,P,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const w=t.target=CL(t.props,p);w&&YT(t,w,null,u,0)}else R&&YT(t,L,z,u,1)}$6(t)},remove(e,t,n,i,{um:o,o:{remove:r}},s){const{shapeFlag:a,children:c,anchor:u,targetAnchor:f,target:h,props:_}=e;if(h&&r(f),(s||!mb(_))&&(r(u),a&16))for(let g=0;g0?Hl||gy:null,Yie(),Yb>0&&Hl&&Hl.push(e),e}function xn(e,t,n,i,o,r){return X6(hi(e,t,n,i,o,r,!0))}function to(e,t,n,i,o){return X6(ci(e,t,n,i,o,!0))}function Gy(e){return e?e.__v_isVNode===!0:!1}function Mm(e,t){return e.type===t.type&&e.key===t.key}const Dv="__vInternal",K6=({key:e})=>e??null,lw=({ref:e,ref_key:t,ref_for:n})=>e!=null?Mi(e)||No(e)||wn(e)?{i:Cs,r:e,k:t,f:!!n}:e:null;function hi(e,t=null,n=null,i=0,o=null,r=e===pr?0:1,s=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&K6(t),ref:t&&lw(t),scopeId:O6,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Cs};return a?(uN(c,n),r&128&&e.normalize(c)):n&&(c.shapeFlag|=Mi(n)?8:16),Yb>0&&!s&&Hl&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&Hl.push(c),c}const ci=$ie;function $ie(e,t=null,n=null,i=0,o=null,r=!1){if((!e||e===z6)&&(e=Qc),Gy(e)){const a=_p(e,t,!0);return n&&uN(a,n),Yb>0&&!r&&Hl&&(a.shapeFlag&6?Hl[Hl.indexOf(e)]=a:Hl.push(a)),a.patchFlag|=-2,a}if(ioe(e)&&(e=e.__vccOpts),t){t=Xie(t);let{class:a,style:c}=t;a&&!Mi(a)&&(t.class=un(a)),Pi(c)&&(A6(c)&&!Yt(c)&&(c=Es({},c)),t.style=Mp(c))}const s=Mi(e)?1:fie(e)?128:Gie(e)?64:Pi(e)?4:wn(e)?2:0;return hi(e,t,n,i,o,s,r,!0)}function Xie(e){return e?A6(e)||Dv in e?Es({},e):e:null}function _p(e,t,n=!1){const{props:i,ref:o,patchFlag:r,children:s}=e,a=t?Cy(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&K6(a),ref:t&&t.ref?n&&o?Yt(o)?o.concat(lw(t)):[o,lw(t)]:lw(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pr?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_p(e.ssContent),ssFallback:e.ssFallback&&_p(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function Mu(e=" ",t=0){return ci(VC,null,e,t)}function si(e="",t=!1){return t?(Et(),to(Qc,null,e)):ci(Qc,null,e)}function zu(e){return e==null||typeof e=="boolean"?ci(Qc):Yt(e)?ci(pr,null,e.slice()):typeof e=="object"?Mh(e):ci(VC,null,String(e))}function Mh(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_p(e)}function uN(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(Yt(t))n=16;else if(typeof t=="object")if(i&65){const o=t.default;o&&(o._c&&(o._d=!1),uN(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Dv in t)?t._ctx=Cs:o===3&&Cs&&(Cs.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else wn(t)?(t={default:t,_ctx:Cs},n=32):(t=String(t),i&64?(n=16,t=[Mu(t)]):n=8);e.children=t,e.shapeFlag|=n}function Cy(...e){const t={};for(let n=0;nrs||Cs,Wy=e=>{rs=e,e.scope.on()},Zm=()=>{rs&&rs.scope.off(),rs=null};function J6(e){return e.vnode.shapeFlag&4}let $b=!1;function Zie(e,t=!1){$b=t;const{props:n,children:i}=e.vnode,o=J6(e);Bie(e,n,o,t),Mie(e,i);const r=o?eoe(e,t):void 0;return $b=!1,r}function eoe(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=tN(new Proxy(e.ctx,vie));const{setup:i}=n;if(i){const o=e.setupContext=i.length>1?Z6(e):null;Wy(e),p0();const r=ep(i,e,0,[e.props,o]);if(m0(),Zm(),n6(r)){if(r.then(Zm,Zm),t)return r.then(s=>{jF(e,s,t)}).catch(s=>{xv(s,e,0)});e.asyncDep=r}else jF(e,r,t)}else Q6(e,t)}function jF(e,t,n){wn(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Pi(t)&&(e.setupState=E6(t)),Q6(e,n)}let qF;function Q6(e,t,n){const i=e.type;if(!e.render){if(!t&&qF&&!i.render){const o=i.template||aN(e).template;if(o){const{isCustomElement:r,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:c}=i,u=Es(Es({isCustomElement:r,delimiters:a},s),c);i.render=qF(o,u)}}e.render=i.render||Qs}Wy(e),p0(),Die(e),m0(),Zm()}function toe(e){return new Proxy(e.attrs,{get(t,n){return dc(e,"get","$attrs"),t[n]}})}function Z6(e){const t=i=>{e.exposed=i||{}};let n;return{get attrs(){return n||(n=toe(e))},slots:e.slots,emit:e.emit,expose:t}}function Iv(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(E6(tN(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in pb)return pb[n](e)},has(t,n){return n in t||n in pb}}))}function noe(e,t=!0){return wn(e)?e.displayName||e.name:e.name||t&&e.__name}function ioe(e){return wn(e)&&"__vccOpts"in e}const mt=(e,t)=>w6(e,t,$b);function Pv(){return e9().slots}function ooe(){return e9().attrs}function e9(){const e=du();return e.setupContext||(e.setupContext=Z6(e))}function Ov(e,t,n){const i=arguments.length;return i===2?Pi(t)&&!Yt(t)?Gy(t)?ci(e,null,[t]):ci(e,t):ci(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&Gy(n)&&(n=[n]),ci(e,t,n))}const roe=Symbol(""),soe=()=>sr(roe),aoe="3.2.45",coe="http://www.w3.org/2000/svg",Fm=typeof document<"u"?document:null,YF=Fm&&Fm.createElement("template"),loe={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const o=t?Fm.createElementNS(coe,e):Fm.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&o.setAttribute("multiple",i.multiple),o},createText:e=>Fm.createTextNode(e),createComment:e=>Fm.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Fm.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,o,r){const s=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{YF.innerHTML=i?`${e}`:e;const a=YF.content;if(i){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function uoe(e,t,n){const i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function foe(e,t,n){const i=e.style,o=Mi(n);if(n&&!o){for(const r in n)TL(i,r,n[r]);if(t&&!Mi(t))for(const r in t)n[r]==null&&TL(i,r,"")}else{const r=i.display;o?t!==n&&(i.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=r)}}const $F=/\s*!important$/;function TL(e,t,n){if(Yt(n))n.forEach(i=>TL(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=doe(e,t);$F.test(n)?e.setProperty(h0(i),n.replace($F,""),"important"):e[i]=n}}const XF=["Webkit","Moz","ms"],yI={};function doe(e,t){const n=yI[t];if(n)return n;let i=eu(t);if(i!=="filter"&&i in e)return yI[t]=i;i=Tv(i);for(let o=0;oAI||(yoe.then(()=>AI=0),AI=Date.now());function boe(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;Jc(Coe(i,n.value),t,5,[i])};return n.value=e,n.attached=Aoe(),n}function Coe(e,t){if(Yt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>o=>!o._stopped&&i&&i(o))}else return t}const QF=/^on[a-z]/,Toe=(e,t,n,i,o=!1,r,s,a,c)=>{t==="class"?uoe(e,i,o):t==="style"?foe(e,n,i):Av(t)?jR(t)||_oe(e,t,n,i,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Eoe(e,t,i,o))?poe(e,t,i,r,s,a,c):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),hoe(e,t,i,o))};function Eoe(e,t,n,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&QF.test(t)&&wn(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||QF.test(t)&&Mi(n)?!1:t in e}const sh="transition",k0="animation",kC=(e,{slots:t})=>Ov(R6,xoe(e),t);kC.displayName="Transition";const n9={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};kC.props=Es({},R6.props,n9);const im=(e,t=[])=>{Yt(e)?e.forEach(n=>n(...t)):e&&e(...t)},ZF=e=>e?Yt(e)?e.some(t=>t.length>1):e.length>1:!1;function xoe(e){const t={};for(const I in e)I in n9||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:i,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=r,appearActiveClass:u=s,appearToClass:f=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,p=woe(o),y=p&&p[0],b=p&&p[1],{onBeforeEnter:C,onEnter:x,onEnterCancelled:S,onLeave:v,onLeaveCancelled:P,onBeforeAppear:L=C,onAppear:z=x,onAppearCancelled:R=S}=t,F=(I,m,D)=>{om(I,m?f:a),om(I,m?u:s),D&&D()},H=(I,m)=>{I._isLeaving=!1,om(I,h),om(I,g),om(I,_),m&&m()},w=I=>(m,D)=>{const O=I?z:x,M=()=>F(m,I,D);im(O,[m,M]),e3(()=>{om(m,I?c:r),ah(m,I?f:a),ZF(O)||t3(m,i,y,M)})};return Es(t,{onBeforeEnter(I){im(C,[I]),ah(I,r),ah(I,s)},onBeforeAppear(I){im(L,[I]),ah(I,c),ah(I,u)},onEnter:w(!1),onAppear:w(!0),onLeave(I,m){I._isLeaving=!0;const D=()=>H(I,m);ah(I,h),Doe(),ah(I,_),e3(()=>{I._isLeaving&&(om(I,h),ah(I,g),ZF(v)||t3(I,i,b,D))}),im(v,[I,D])},onEnterCancelled(I){F(I,!1),im(S,[I])},onAppearCancelled(I){F(I,!0),im(R,[I])},onLeaveCancelled(I){H(I),im(P,[I])}})}function woe(e){if(e==null)return null;if(Pi(e))return[bI(e.enter),bI(e.leave)];{const t=bI(e);return[t,t]}}function bI(e){return $R(e)}function ah(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function om(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function e3(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Soe=0;function t3(e,t,n,i){const o=e._endId=++Soe,r=()=>{o===e._endId&&i()};if(n)return setTimeout(r,n);const{type:s,timeout:a,propCount:c}=voe(e,t);if(!s)return i();const u=s+"end";let f=0;const h=()=>{e.removeEventListener(u,_),r()},_=g=>{g.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[p]||"").split(", "),o=i(`${sh}Delay`),r=i(`${sh}Duration`),s=n3(o,r),a=i(`${k0}Delay`),c=i(`${k0}Duration`),u=n3(a,c);let f=null,h=0,_=0;t===sh?s>0&&(f=sh,h=s,_=r.length):t===k0?u>0&&(f=k0,h=u,_=c.length):(h=Math.max(s,u),f=h>0?s>u?sh:k0:null,_=f?f===sh?r.length:c.length:0);const g=f===sh&&/\b(transform|all)(,|$)/.test(i(`${sh}Property`).toString());return{type:f,timeout:h,propCount:_,hasTransform:g}}function n3(e,t){for(;e.lengthi3(n)+i3(e[i])))}function i3(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Doe(){return document.body.offsetHeight}const o3=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Yt(t)?n=>aw(t,n):t},aS={deep:!0,created(e,t,n){e._assign=o3(n),t9(e,"change",()=>{const i=e._modelValue,o=Ioe(e),r=e.checked,s=e._assign;if(Yt(i)){const a=e6(i,o),c=a!==-1;if(r&&!c)s(i.concat(o));else if(!r&&c){const u=[...i];u.splice(a,1),s(u)}}else if(bv(i)){const a=new Set(i);r?a.add(o):a.delete(o),s(a)}else s(i9(e,r))})},mounted:r3,beforeUpdate(e,t,n){e._assign=o3(n),r3(e,t,n)}};function r3(e,{value:t,oldValue:n},i){e._modelValue=t,Yt(t)?e.checked=e6(t,i.props.value)>-1:bv(t)?e.checked=t.has(i.props.value):t!==n&&(e.checked=yv(t,i9(e,!0)))}function Ioe(e){return"_value"in e?e._value:e.value}function i9(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Poe=["ctrl","shift","alt","meta"],Ooe={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)=>Poe.some(n=>e[`${n}Key`]&&!t.includes(n))},fN=(e,t)=>(n,...i)=>{for(let o=0;o{G0(e,!1)}):G0(e,t))},beforeUnmount(e,{value:t}){G0(e,t)}};function G0(e,t){e.style.display=t?e._vod:"none"}const Loe=Es({patchProp:Toe},loe);let s3;function o9(){return s3||(s3=Hie(Loe))}const a3=(...e)=>{o9().render(...e)},Boe=(...e)=>{const t=o9().createApp(...e),{mount:n}=t;return t.mount=i=>{const o=Roe(i);if(!o)return;const r=t._component;!wn(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function Roe(e){return Mi(e)?document.querySelector(e):e}var Noe=!1;/*! +var Ine=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Adt=Ine((ld,ud)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerpolicy&&(r.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?r.credentials="include":o.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function KR(e,t){const n=Object.create(null),i=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function Ta(e){if(qt(e)){const t={};for(let n=0;n{if(n){const i=n.split(One);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function yt(e){let t="";if(vi(e))t=e;else if(qt(e))for(let n=0;nxv(n,t))}const va=e=>vi(e)?e:e==null?"":qt(e)||Fi(e)&&(e.toString===g6||!Dn(e.toString))?JSON.stringify(e,m6,2):String(e),m6=(e,t)=>t&&t.__v_isRef?m6(e,t.value):Ey(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,o])=>(n[`${i} =>`]=o,n),{})}:Sv(t)?{[`Set(${t.size})`]:[...t.values()]}:Fi(t)&&!qt(t)&&!y6(t)?String(t):t,Eo={},Ty=[],Li=()=>{},Fne=()=>!1,zne=/^on[^a-z]/,wv=e=>zne.test(e),JR=e=>e.startsWith("onUpdate:"),ps=Object.assign,QR=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Une=Object.prototype.hasOwnProperty,pi=(e,t)=>Une.call(e,t),qt=Array.isArray,Ey=e=>$C(e)==="[object Map]",Sv=e=>$C(e)==="[object Set]",BF=e=>$C(e)==="[object Date]",Dn=e=>typeof e=="function",vi=e=>typeof e=="string",$b=e=>typeof e=="symbol",Fi=e=>e!==null&&typeof e=="object",_6=e=>Fi(e)&&Dn(e.then)&&Dn(e.catch),g6=Object.prototype.toString,$C=e=>g6.call(e),Hne=e=>$C(e).slice(8,-1),y6=e=>$C(e)==="[object Object]",ZR=e=>vi(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,pw=KR(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vv=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Vne=/-(\w)/g,ru=vv(e=>e.replace(Vne,(t,n)=>n?n.toUpperCase():"")),kne=/\B([A-Z])/g,F_=vv(e=>e.replace(kne,"-$1").toLowerCase()),Dv=vv(e=>e.charAt(0).toUpperCase()+e.slice(1)),bI=vv(e=>e?`on${Dv(e)}`:""),Yb=(e,t)=>!Object.is(e,t),mw=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},eN=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let RF;const Gne=()=>RF||(RF=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Za;class A6{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Za,!t&&Za&&(this.index=(Za.scopes||(Za.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Za;try{return Za=this,t()}finally{Za=n}}}on(){Za=this}off(){Za=this.parent}stop(t){if(this.active){let n,i;for(n=0,i=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},C6=e=>(e.w&Ap)>0,T6=e=>(e.n&Ap)>0,$ne=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i{(f==="length"||f>=c)&&a.push(u)})}else switch(n!==void 0&&a.push(s.get(n)),t){case"add":qt(e)?ZR(n)&&a.push(s.get("length")):(a.push(s.get(n_)),Ey(e)&&a.push(s.get(yL)));break;case"delete":qt(e)||(a.push(s.get(n_)),Ey(e)&&a.push(s.get(yL)));break;case"set":Ey(e)&&a.push(s.get(n_));break}if(a.length===1)a[0]&&AL(a[0]);else{const c=[];for(const u of a)u&&c.push(...u);AL(tN(c))}}function AL(e,t){const n=qt(e)?e:[...e];for(const i of n)i.computed&&MF(i);for(const i of n)i.computed||MF(i)}function MF(e,t){(e!==Gl||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Xne=KR("__proto__,__v_isRef,__isVue"),w6=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($b)),Kne=iN(),Jne=iN(!1,!0),Qne=iN(!0),FF=Zne();function Zne(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=bi(this);for(let r=0,s=this.length;r{e[t]=function(...n){y0();const i=bi(this)[t].apply(this,n);return A0(),i}}),e}function iN(e=!1,t=!1){return function(i,o,r){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&r===(e?t?mie:P6:t?I6:D6).get(i))return i;const s=qt(i);if(!e&&s&&pi(FF,o))return Reflect.get(FF,o,r);const a=Reflect.get(i,o,r);return($b(o)?w6.has(o):Xne(o))||(e||yc(i,"get",o),t)?a:Uo(a)?s&&ZR(o)?a:a.value:Fi(a)?e?L6(a):b0(a):a}}const eie=S6(),tie=S6(!0);function S6(e=!1){return function(n,i,o,r){let s=n[i];if(qy(s)&&Uo(s)&&!Uo(o))return!1;if(!e&&(!fS(o)&&!qy(o)&&(s=bi(s),o=bi(o)),!qt(n)&&Uo(s)&&!Uo(o)))return s.value=o,!0;const a=qt(n)&&ZR(i)?Number(i)e,Iv=e=>Reflect.getPrototypeOf(e);function YT(e,t,n=!1,i=!1){e=e.__v_raw;const o=bi(e),r=bi(t);n||(t!==r&&yc(o,"get",t),yc(o,"get",r));const{has:s}=Iv(o),a=i?oN:n?cN:Xb;if(s.call(o,t))return a(e.get(t));if(s.call(o,r))return a(e.get(r));e!==o&&e.get(t)}function XT(e,t=!1){const n=this.__v_raw,i=bi(n),o=bi(e);return t||(e!==o&&yc(i,"has",e),yc(i,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function KT(e,t=!1){return e=e.__v_raw,!t&&yc(bi(e),"iterate",n_),Reflect.get(e,"size",e)}function zF(e){e=bi(e);const t=bi(this);return Iv(t).has.call(t,e)||(t.add(e),wd(t,"add",e,e)),this}function UF(e,t){t=bi(t);const n=bi(this),{has:i,get:o}=Iv(n);let r=i.call(n,e);r||(e=bi(e),r=i.call(n,e));const s=o.call(n,e);return n.set(e,t),r?Yb(t,s)&&wd(n,"set",e,t):wd(n,"add",e,t),this}function HF(e){const t=bi(this),{has:n,get:i}=Iv(t);let o=n.call(t,e);o||(e=bi(e),o=n.call(t,e)),i&&i.call(t,e);const r=t.delete(e);return o&&wd(t,"delete",e,void 0),r}function VF(){const e=bi(this),t=e.size!==0,n=e.clear();return t&&wd(e,"clear",void 0,void 0),n}function JT(e,t){return function(i,o){const r=this,s=r.__v_raw,a=bi(s),c=t?oN:e?cN:Xb;return!e&&yc(a,"iterate",n_),s.forEach((u,f)=>i.call(o,c(u),c(f),r))}}function QT(e,t,n){return function(...i){const o=this.__v_raw,r=bi(o),s=Ey(r),a=e==="entries"||e===Symbol.iterator&&s,c=e==="keys"&&s,u=o[e](...i),f=n?oN:t?cN:Xb;return!t&&yc(r,"iterate",c?yL:n_),{next(){const{value:h,done:m}=u.next();return m?{value:h,done:m}:{value:a?[f(h[0]),f(h[1])]:f(h),done:m}},[Symbol.iterator](){return this}}}}function lh(e){return function(...t){return e==="delete"?!1:this}}function aie(){const e={get(r){return YT(this,r)},get size(){return KT(this)},has:XT,add:zF,set:UF,delete:HF,clear:VF,forEach:JT(!1,!1)},t={get(r){return YT(this,r,!1,!0)},get size(){return KT(this)},has:XT,add:zF,set:UF,delete:HF,clear:VF,forEach:JT(!1,!0)},n={get(r){return YT(this,r,!0)},get size(){return KT(this,!0)},has(r){return XT.call(this,r,!0)},add:lh("add"),set:lh("set"),delete:lh("delete"),clear:lh("clear"),forEach:JT(!0,!1)},i={get(r){return YT(this,r,!0,!0)},get size(){return KT(this,!0)},has(r){return XT.call(this,r,!0)},add:lh("add"),set:lh("set"),delete:lh("delete"),clear:lh("clear"),forEach:JT(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=QT(r,!1,!1),n[r]=QT(r,!0,!1),t[r]=QT(r,!1,!0),i[r]=QT(r,!0,!0)}),[e,n,t,i]}const[cie,lie,uie,fie]=aie();function rN(e,t){const n=t?e?fie:uie:e?lie:cie;return(i,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?i:Reflect.get(pi(n,o)&&o in i?n:i,o,r)}const die={get:rN(!1,!1)},hie={get:rN(!1,!0)},pie={get:rN(!0,!1)},D6=new WeakMap,I6=new WeakMap,P6=new WeakMap,mie=new WeakMap;function _ie(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gie(e){return e.__v_skip||!Object.isExtensible(e)?0:_ie(Hne(e))}function b0(e){return qy(e)?e:sN(e,!1,v6,die,D6)}function O6(e){return sN(e,!1,sie,hie,I6)}function L6(e){return sN(e,!0,rie,pie,P6)}function sN(e,t,n,i,o){if(!Fi(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const s=gie(e);if(s===0)return e;const a=new Proxy(e,s===2?i:n);return o.set(e,a),a}function xy(e){return qy(e)?xy(e.__v_raw):!!(e&&e.__v_isReactive)}function qy(e){return!!(e&&e.__v_isReadonly)}function fS(e){return!!(e&&e.__v_isShallow)}function B6(e){return xy(e)||qy(e)}function bi(e){const t=e&&e.__v_raw;return t?bi(t):e}function aN(e){return uS(e,"__v_skip",!0),e}const Xb=e=>Fi(e)?b0(e):e,cN=e=>Fi(e)?L6(e):e;function R6(e){ip&&Gl&&(e=bi(e),x6(e.dep||(e.dep=tN())))}function N6(e,t){e=bi(e),e.dep&&AL(e.dep)}function Uo(e){return!!(e&&e.__v_isRef===!0)}function Fn(e){return M6(e,!1)}function i_(e){return M6(e,!0)}function M6(e,t){return Uo(e)?e:new yie(e,t)}class yie{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:bi(t),this._value=n?t:Xb(t)}get value(){return R6(this),this._value}set value(t){const n=this.__v_isShallow||fS(t)||qy(t);t=n?t:bi(t),Yb(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Xb(t),N6(this))}}function pe(e){return Uo(e)?e.value:e}const Aie={get:(e,t,n)=>pe(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const o=e[t];return Uo(o)&&!Uo(n)?(o.value=n,!0):Reflect.set(e,t,n,i)}};function F6(e){return xy(e)?e:new Proxy(e,Aie)}function bie(e){const t=qt(e)?new Array(e.length):{};for(const n in e)t[n]=$y(e,n);return t}class Cie{constructor(t,n,i){this._object=t,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function $y(e,t,n){const i=e[t];return Uo(i)?i:new Cie(e,t,n)}var z6;class Tie{constructor(t,n,i,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[z6]=!1,this._dirty=!0,this.effect=new nN(t,()=>{this._dirty||(this._dirty=!0,N6(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=i}get value(){const t=bi(this);return R6(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}z6="__v_isReadonly";function U6(e,t,n=!1){let i,o;const r=Dn(e);return r?(i=e,o=Li):(i=e.get,o=e.set),new Tie(i,o,r||!o,n)}function Eie(e,...t){}function op(e,t,n,i){let o;try{o=i?e(...i):e()}catch(r){Pv(r,t,n)}return o}function ol(e,t,n,i){if(Dn(e)){const r=op(e,t,n,i);return r&&_6(r)&&r.catch(s=>{Pv(s,t,n)}),r}const o=[];for(let r=0;r>>1;Jb(Xs[i])$u&&Xs.splice(t,1)}function vie(e){qt(e)?wy.push(...e):(!Yf||!Yf.includes(e,e.allowRecurse?Um+1:Um))&&wy.push(e),V6()}function kF(e,t=Kb?$u+1:0){for(;tJb(n)-Jb(i)),Um=0;Ume.id==null?1/0:e.id,Die=(e,t)=>{const n=Jb(e)-Jb(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function G6(e){bL=!1,Kb=!0,Xs.sort(Die);const t=Li;try{for($u=0;$uvi(g)?g.trim():g)),h&&(o=n.map(eN))}let a,c=i[a=bI(t)]||i[a=bI(ru(t))];!c&&r&&(c=i[a=bI(F_(t))]),c&&ol(c,e,6,o);const u=i[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,ol(u,e,6,o)}}function W6(e,t,n=!1){const i=t.emitsCache,o=i.get(e);if(o!==void 0)return o;const r=e.emits;let s={},a=!1;if(!Dn(e)){const c=u=>{const f=W6(u,t,!0);f&&(a=!0,ps(s,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!a?(Fi(e)&&i.set(e,null),null):(qt(r)?r.forEach(c=>s[c]=null):ps(s,r),Fi(e)&&i.set(e,s),s)}function Ov(e,t){return!e||!wv(t)?!1:(t=t.slice(2).replace(/Once$/,""),pi(e,t[0].toLowerCase()+t.slice(1))||pi(e,F_(t))||pi(e,t))}let vs=null,j6=null;function dS(e){const t=vs;return vs=e,j6=e&&e.type.__scopeId||null,t}function wn(e,t=vs,n){if(!t||e._n)return e;const i=(...o)=>{i._d&&e3(-1);const r=dS(t);let s;try{s=e(...o)}finally{dS(r),i._d&&e3(1)}return s};return i._n=!0,i._c=!0,i._d=!0,i}function CI(e){const{type:t,vnode:n,proxy:i,withProxy:o,props:r,propsOptions:[s],slots:a,attrs:c,emit:u,render:f,renderCache:h,data:m,setupState:g,ctx:p,inheritAttrs:y}=e;let b,C;const E=dS(e);try{if(n.shapeFlag&4){const S=o||i;b=ku(f.call(S,S,h,r,g,m,p)),C=c}else{const S=t;b=ku(S.length>1?S(r,{attrs:c,slots:a,emit:u}):S(r,null)),C=t.props?c:Pie(c)}}catch(S){Cb.length=0,Pv(S,e,1),b=bn(rl)}let w=b;if(C&&y!==!1){const S=Object.keys(C),{shapeFlag:P}=w;S.length&&P&7&&(s&&S.some(JR)&&(C=Oie(C,s)),w=Cp(w,C))}return n.dirs&&(w=Cp(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),b=w,dS(E),b}const Pie=e=>{let t;for(const n in e)(n==="class"||n==="style"||wv(n))&&((t||(t={}))[n]=e[n]);return t},Oie=(e,t)=>{const n={};for(const i in e)(!JR(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function Lie(e,t,n){const{props:i,children:o,component:r}=e,{props:s,children:a,patchFlag:c}=t,u=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return i?GF(i,s,u):!!s;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function Nie(e,t){t&&t.pendingBranch?qt(e)?t.effects.push(...e):t.effects.push(e):vie(e)}function Zu(e,t){if(cs){let n=cs.provides;const i=cs.parent&&cs.parent.provides;i===n&&(n=cs.provides=Object.create(i)),n[e]=t}}function er(e,t,n=!1){const i=cs||vs;if(i){const o=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Dn(t)?t.call(i.proxy):t}}const ZT={};function _o(e,t,n){return q6(e,t,n)}function q6(e,t,{immediate:n,deep:i,flush:o,onTrack:r,onTrigger:s}=Eo){const a=cs;let c,u=!1,f=!1;if(Uo(e)?(c=()=>e.value,u=fS(e)):xy(e)?(c=()=>e,i=!0):qt(e)?(f=!0,u=e.some(w=>xy(w)||fS(w)),c=()=>e.map(w=>{if(Uo(w))return w.value;if(xy(w))return Ym(w);if(Dn(w))return op(w,a,2)})):Dn(e)?t?c=()=>op(e,a,2):c=()=>{if(!(a&&a.isUnmounted))return h&&h(),ol(e,a,3,[m])}:c=Li,t&&i){const w=c;c=()=>Ym(w())}let h,m=w=>{h=C.onStop=()=>{op(w,a,4)}},g;if(tC)if(m=Li,t?n&&ol(t,a,3,[c(),f?[]:void 0,m]):c(),o==="sync"){const w=Soe();g=w.__watcherHandles||(w.__watcherHandles=[])}else return Li;let p=f?new Array(e.length).fill(ZT):ZT;const y=()=>{if(C.active)if(t){const w=C.run();(i||u||(f?w.some((S,P)=>Yb(S,p[P])):Yb(w,p)))&&(h&&h(),ol(t,a,3,[w,p===ZT?void 0:f&&p[0]===ZT?[]:p,m]),p=w)}else C.run()};y.allowRecurse=!!t;let b;o==="sync"?b=y:o==="post"?b=()=>Ga(y,a&&a.suspense):(y.pre=!0,a&&(y.id=a.uid),b=()=>uN(y));const C=new nN(c,b);t?n?y():p=C.run():o==="post"?Ga(C.run.bind(C),a&&a.suspense):C.run();const E=()=>{C.stop(),a&&a.scope&&QR(a.scope.effects,C)};return g&&g.push(E),E}function Mie(e,t,n){const i=this.proxy,o=vi(e)?e.includes(".")?$6(i,e):()=>i[e]:e.bind(i,i);let r;Dn(t)?r=t:(r=t.handler,n=t);const s=cs;Xy(this);const a=q6(o,r.bind(i),n);return s?Xy(s):o_(),a}function $6(e,t){const n=t.split(".");return()=>{let i=e;for(let o=0;o{Ym(n,t)});else if(y6(e))for(const n in e)Ym(e[n],t);return e}function Y6(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _u(()=>{e.isMounted=!0}),C0(()=>{e.isUnmounting=!0}),e}const Rc=[Function,Array],Fie={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Rc,onEnter:Rc,onAfterEnter:Rc,onEnterCancelled:Rc,onBeforeLeave:Rc,onLeave:Rc,onAfterLeave:Rc,onLeaveCancelled:Rc,onBeforeAppear:Rc,onAppear:Rc,onAfterAppear:Rc,onAppearCancelled:Rc},setup(e,{slots:t}){const n=Dc(),i=Y6();let o;return()=>{const r=t.default&&fN(t.default(),!0);if(!r||!r.length)return;let s=r[0];if(r.length>1){for(const y of r)if(y.type!==rl){s=y;break}}const a=bi(e),{mode:c}=a;if(i.isLeaving)return TI(s);const u=WF(s);if(!u)return TI(s);const f=Qb(u,a,i,n);Zb(u,f);const h=n.subTree,m=h&&WF(h);let g=!1;const{getTransitionKey:p}=u.type;if(p){const y=p();o===void 0?o=y:y!==o&&(o=y,g=!0)}if(m&&m.type!==rl&&(!Hm(u,m)||g)){const y=Qb(m,a,i,n);if(Zb(m,y),c==="out-in")return i.isLeaving=!0,y.afterLeave=()=>{i.isLeaving=!1,n.update.active!==!1&&n.update()},TI(s);c==="in-out"&&u.type!==rl&&(y.delayLeave=(b,C,E)=>{const w=K6(i,m);w[String(m.key)]=m,b._leaveCb=()=>{C(),b._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=E})}return s}}},X6=Fie;function K6(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function Qb(e,t,n,i){const{appear:o,mode:r,persisted:s=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:h,onLeave:m,onAfterLeave:g,onLeaveCancelled:p,onBeforeAppear:y,onAppear:b,onAfterAppear:C,onAppearCancelled:E}=t,w=String(e.key),S=K6(n,e),P=(R,F)=>{R&&ol(R,i,9,F)},L=(R,F)=>{const U=F[1];P(R,F),qt(R)?R.every(v=>v.length<=1)&&U():R.length<=1&&U()},z={mode:r,persisted:s,beforeEnter(R){let F=a;if(!n.isMounted)if(o)F=y||a;else return;R._leaveCb&&R._leaveCb(!0);const U=S[w];U&&Hm(e,U)&&U.el._leaveCb&&U.el._leaveCb(),P(F,[R])},enter(R){let F=c,U=u,v=f;if(!n.isMounted)if(o)F=b||c,U=C||u,v=E||f;else return;let I=!1;const _=R._enterCb=D=>{I||(I=!0,D?P(v,[R]):P(U,[R]),z.delayedLeave&&z.delayedLeave(),R._enterCb=void 0)};F?L(F,[R,_]):_()},leave(R,F){const U=String(e.key);if(R._enterCb&&R._enterCb(!0),n.isUnmounting)return F();P(h,[R]);let v=!1;const I=R._leaveCb=_=>{v||(v=!0,F(),_?P(p,[R]):P(g,[R]),R._leaveCb=void 0,S[U]===e&&delete S[U])};S[U]=e,m?L(m,[R,I]):I()},clone(R){return Qb(R,t,n,i)}};return z}function TI(e){if(Lv(e))return e=Cp(e),e.children=null,e}function WF(e){return Lv(e)?e.children?e.children[0]:void 0:e}function Zb(e,t){e.shapeFlag&6&&e.component?Zb(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 fN(e,t=!1,n){let i=[],o=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,Lv=e=>e.type.__isKeepAlive;function zie(e,t){J6(e,"a",t)}function Uie(e,t){J6(e,"da",t)}function J6(e,t,n=cs){const i=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Bv(t,i,n),n){let o=n.parent;for(;o&&o.parent;)Lv(o.parent.vnode)&&Hie(i,t,n,o),o=o.parent}}function Hie(e,t,n,i){const o=Bv(t,e,i,!0);dN(()=>{QR(i[t],o)},n)}function Bv(e,t,n=cs,i=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;y0(),Xy(n);const a=ol(t,n,e,s);return o_(),A0(),a});return i?o.unshift(r):o.push(r),r}}const zd=e=>(t,n=cs)=>(!tC||e==="sp")&&Bv(e,(...i)=>t(...i),n),Vie=zd("bm"),_u=zd("m"),kie=zd("bu"),Q6=zd("u"),C0=zd("bum"),dN=zd("um"),Gie=zd("sp"),Wie=zd("rtg"),jie=zd("rtc");function qie(e,t=cs){Bv("ec",e,t)}function bp(e,t){const n=vs;if(n===null)return e;const i=Nv(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;rt(s,a,void 0,r&&r[a]));else{const s=Object.keys(e);o=new Array(s.length);for(let a=0,c=s.length;a{const r=i.fn(...o);return r&&(r.key=i.key),r}:i.fn)}return e}function ni(e,t,n={},i,o){if(vs.isCE||vs.parent&&yb(vs.parent)&&vs.parent.isCE)return t!=="default"&&(n.name=t),bn("slot",n,i&&i());let r=e[t];r&&r._c&&(r._d=!1),et();const s=r&&n9(r(n)),a=ti(Jo,{key:n.key||s&&s.key||`_${t}`},s||(i?i():[]),s&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function n9(e){return e.some(t=>Yy(t)?!(t.type===rl||t.type===Jo&&!n9(t.children)):!0)?e:null}const CL=e=>e?h9(e)?Nv(e)||e.proxy:CL(e.parent):null,Ab=ps(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=>CL(e.parent),$root:e=>CL(e.root),$emit:e=>e.emit,$options:e=>pN(e),$forceUpdate:e=>e.f||(e.f=()=>uN(e.update)),$nextTick:e=>e.n||(e.n=rc.bind(e.proxy)),$watch:e=>Mie.bind(e)}),EI=(e,t)=>e!==Eo&&!e.__isScriptSetup&&pi(e,t),$ie={get({_:e},t){const{ctx:n,setupState:i,data:o,props:r,accessCache:s,type:a,appContext:c}=e;let u;if(t[0]!=="$"){const g=s[t];if(g!==void 0)switch(g){case 1:return i[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(EI(i,t))return s[t]=1,i[t];if(o!==Eo&&pi(o,t))return s[t]=2,o[t];if((u=e.propsOptions[0])&&pi(u,t))return s[t]=3,r[t];if(n!==Eo&&pi(n,t))return s[t]=4,n[t];TL&&(s[t]=0)}}const f=Ab[t];let h,m;if(f)return t==="$attrs"&&yc(e,"get",t),f(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==Eo&&pi(n,t))return s[t]=4,n[t];if(m=c.config.globalProperties,pi(m,t))return m[t]},set({_:e},t,n){const{data:i,setupState:o,ctx:r}=e;return EI(o,t)?(o[t]=n,!0):i!==Eo&&pi(i,t)?(i[t]=n,!0):pi(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:o,propsOptions:r}},s){let a;return!!n[s]||e!==Eo&&pi(e,s)||EI(t,s)||(a=r[0])&&pi(a,s)||pi(i,s)||pi(Ab,s)||pi(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:pi(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let TL=!0;function Yie(e){const t=pN(e),n=e.proxy,i=e.ctx;TL=!1,t.beforeCreate&&$F(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:s,watch:a,provide:c,inject:u,created:f,beforeMount:h,mounted:m,beforeUpdate:g,updated:p,activated:y,deactivated:b,beforeDestroy:C,beforeUnmount:E,destroyed:w,unmounted:S,render:P,renderTracked:L,renderTriggered:z,errorCaptured:R,serverPrefetch:F,expose:U,inheritAttrs:v,components:I,directives:_,filters:D}=t;if(u&&Xie(u,i,null,e.appContext.config.unwrapInjectedRef),s)for(const V in s){const k=s[V];Dn(k)&&(i[V]=k.bind(n))}if(o){const V=o.call(n,n);Fi(V)&&(e.data=b0(V))}if(TL=!0,r)for(const V in r){const k=r[V],G=Dn(k)?k.bind(n,n):Dn(k.get)?k.get.bind(n,n):Li,W=!Dn(k)&&Dn(k.set)?k.set.bind(n):Li,K=it({get:G,set:W});Object.defineProperty(i,V,{enumerable:!0,configurable:!0,get:()=>K.value,set:q=>K.value=q})}if(a)for(const V in a)i9(a[V],i,n,V);if(c){const V=Dn(c)?c.call(n):c;Reflect.ownKeys(V).forEach(k=>{Zu(k,V[k])})}f&&$F(f,e,"c");function N(V,k){qt(k)?k.forEach(G=>V(G.bind(n))):k&&V(k.bind(n))}if(N(Vie,h),N(_u,m),N(kie,g),N(Q6,p),N(zie,y),N(Uie,b),N(qie,R),N(jie,L),N(Wie,z),N(C0,E),N(dN,S),N(Gie,F),qt(U))if(U.length){const V=e.exposed||(e.exposed={});U.forEach(k=>{Object.defineProperty(V,k,{get:()=>n[k],set:G=>n[k]=G})})}else e.exposed||(e.exposed={});P&&e.render===Li&&(e.render=P),v!=null&&(e.inheritAttrs=v),I&&(e.components=I),_&&(e.directives=_)}function Xie(e,t,n=Li,i=!1){qt(e)&&(e=EL(e));for(const o in e){const r=e[o];let s;Fi(r)?"default"in r?s=er(r.from||o,r.default,!0):s=er(r.from||o):s=er(r),Uo(s)&&i?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[o]=s}}function $F(e,t,n){ol(qt(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function i9(e,t,n,i){const o=i.includes(".")?$6(n,i):()=>n[i];if(vi(e)){const r=t[e];Dn(r)&&_o(o,r)}else if(Dn(e))_o(o,e.bind(n));else if(Fi(e))if(qt(e))e.forEach(r=>i9(r,t,n,i));else{const r=Dn(e.handler)?e.handler.bind(n):t[e.handler];Dn(r)&&_o(o,r,e)}}function pN(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,a=r.get(t);let c;return a?c=a:!o.length&&!n&&!i?c=t:(c={},o.length&&o.forEach(u=>hS(c,u,s,!0)),hS(c,t,s)),Fi(t)&&r.set(t,c),c}function hS(e,t,n,i=!1){const{mixins:o,extends:r}=t;r&&hS(e,r,n,!0),o&&o.forEach(s=>hS(e,s,n,!0));for(const s in t)if(!(i&&s==="expose")){const a=Kie[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const Kie={data:YF,props:Nm,emits:Nm,methods:Nm,computed:Nm,beforeCreate:ba,created:ba,beforeMount:ba,mounted:ba,beforeUpdate:ba,updated:ba,beforeDestroy:ba,beforeUnmount:ba,destroyed:ba,unmounted:ba,activated:ba,deactivated:ba,errorCaptured:ba,serverPrefetch:ba,components:Nm,directives:Nm,watch:Qie,provide:YF,inject:Jie};function YF(e,t){return t?e?function(){return ps(Dn(e)?e.call(this,this):e,Dn(t)?t.call(this,this):t)}:t:e}function Jie(e,t){return Nm(EL(e),EL(t))}function EL(e){if(qt(e)){const t={};for(let n=0;n0)&&!(s&16)){if(s&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[m,g]=r9(h,t,!0);ps(s,m),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!r&&!c)return Fi(e)&&i.set(e,Ty),Ty;if(qt(r))for(let f=0;f-1,g[1]=y<0||p-1||pi(g,"default"))&&a.push(h)}}}const u=[s,a];return Fi(e)&&i.set(e,u),u}function XF(e){return e[0]!=="$"}function KF(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function JF(e,t){return KF(e)===KF(t)}function QF(e,t){return qt(t)?t.findIndex(n=>JF(n,e)):Dn(t)&&JF(t,e)?0:-1}const s9=e=>e[0]==="_"||e==="$stable",mN=e=>qt(e)?e.map(ku):[ku(e)],toe=(e,t,n)=>{if(t._n)return t;const i=wn((...o)=>mN(t(...o)),n);return i._c=!1,i},a9=(e,t,n)=>{const i=e._ctx;for(const o in e){if(s9(o))continue;const r=e[o];if(Dn(r))t[o]=toe(o,r,i);else if(r!=null){const s=mN(r);t[o]=()=>s}}},c9=(e,t)=>{const n=mN(t);e.slots.default=()=>n},noe=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=bi(t),uS(t,"_",n)):a9(t,e.slots={})}else e.slots={},t&&c9(e,t);uS(e.slots,Rv,1)},ioe=(e,t,n)=>{const{vnode:i,slots:o}=e;let r=!0,s=Eo;if(i.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:(ps(o,t),!n&&a===1&&delete o._):(r=!t.$stable,a9(t,o)),s=t}else t&&(c9(e,t),s={default:1});if(r)for(const a in o)!s9(a)&&!(a in s)&&delete o[a]};function l9(){return{app:null,config:{isNativeTag:Fne,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ooe=0;function roe(e,t){return function(i,o=null){Dn(i)||(i=Object.assign({},i)),o!=null&&!Fi(o)&&(o=null);const r=l9(),s=new Set;let a=!1;const c=r.app={_uid:ooe++,_component:i,_props:o,_container:null,_context:r,_instance:null,version:voe,get config(){return r.config},set config(u){},use(u,...f){return s.has(u)||(u&&Dn(u.install)?(s.add(u),u.install(c,...f)):Dn(u)&&(s.add(u),u(c,...f))),c},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),c},component(u,f){return f?(r.components[u]=f,c):r.components[u]},directive(u,f){return f?(r.directives[u]=f,c):r.directives[u]},mount(u,f,h){if(!a){const m=bn(i,o);return m.appContext=r,f&&t?t(m,u):e(m,u,h),a=!0,c._container=u,u.__vue_app__=c,Nv(m.component)||m.component.proxy}},unmount(){a&&(e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return r.provides[u]=f,c}};return c}}function wL(e,t,n,i,o=!1){if(qt(e)){e.forEach((m,g)=>wL(m,t&&(qt(t)?t[g]:t),n,i,o));return}if(yb(i)&&!o)return;const r=i.shapeFlag&4?Nv(i.component)||i.component.proxy:i.el,s=o?null:r,{i:a,r:c}=e,u=t&&t.r,f=a.refs===Eo?a.refs={}:a.refs,h=a.setupState;if(u!=null&&u!==c&&(vi(u)?(f[u]=null,pi(h,u)&&(h[u]=null)):Uo(u)&&(u.value=null)),Dn(c))op(c,a,12,[s,f]);else{const m=vi(c),g=Uo(c);if(m||g){const p=()=>{if(e.f){const y=m?pi(h,c)?h[c]:f[c]:c.value;o?qt(y)&&QR(y,r):qt(y)?y.includes(r)||y.push(r):m?(f[c]=[r],pi(h,c)&&(h[c]=f[c])):(c.value=[r],e.k&&(f[e.k]=c.value))}else m?(f[c]=s,pi(h,c)&&(h[c]=s)):g&&(c.value=s,e.k&&(f[e.k]=s))};s?(p.id=-1,Ga(p,n)):p()}}}const Ga=Nie;function soe(e){return aoe(e)}function aoe(e,t){const n=Gne();n.__VUE__=!0;const{insert:i,remove:o,patchProp:r,createElement:s,createText:a,createComment:c,setText:u,setElementText:f,parentNode:h,nextSibling:m,setScopeId:g=Li,insertStaticContent:p}=e,y=(Q,ne,fe,_e=null,Se=null,ve=null,Le=!1,Ee=null,Be=!!ne.dynamicChildren)=>{if(Q===ne)return;Q&&!Hm(Q,ne)&&(_e=se(Q),q(Q,Se,ve,!0),Q=null),ne.patchFlag===-2&&(Be=!1,ne.dynamicChildren=null);const{type:Pe,ref:Ae,shapeFlag:xe}=ne;switch(Pe){case YC:b(Q,ne,fe,_e);break;case rl:C(Q,ne,fe,_e);break;case xI:Q==null&&E(ne,fe,_e,Le);break;case Jo:I(Q,ne,fe,_e,Se,ve,Le,Ee,Be);break;default:xe&1?P(Q,ne,fe,_e,Se,ve,Le,Ee,Be):xe&6?_(Q,ne,fe,_e,Se,ve,Le,Ee,Be):(xe&64||xe&128)&&Pe.process(Q,ne,fe,_e,Se,ve,Le,Ee,Be,re)}Ae!=null&&Se&&wL(Ae,Q&&Q.ref,ve,ne||Q,!ne)},b=(Q,ne,fe,_e)=>{if(Q==null)i(ne.el=a(ne.children),fe,_e);else{const Se=ne.el=Q.el;ne.children!==Q.children&&u(Se,ne.children)}},C=(Q,ne,fe,_e)=>{Q==null?i(ne.el=c(ne.children||""),fe,_e):ne.el=Q.el},E=(Q,ne,fe,_e)=>{[Q.el,Q.anchor]=p(Q.children,ne,fe,_e,Q.el,Q.anchor)},w=({el:Q,anchor:ne},fe,_e)=>{let Se;for(;Q&&Q!==ne;)Se=m(Q),i(Q,fe,_e),Q=Se;i(ne,fe,_e)},S=({el:Q,anchor:ne})=>{let fe;for(;Q&&Q!==ne;)fe=m(Q),o(Q),Q=fe;o(ne)},P=(Q,ne,fe,_e,Se,ve,Le,Ee,Be)=>{Le=Le||ne.type==="svg",Q==null?L(ne,fe,_e,Se,ve,Le,Ee,Be):F(Q,ne,Se,ve,Le,Ee,Be)},L=(Q,ne,fe,_e,Se,ve,Le,Ee)=>{let Be,Pe;const{type:Ae,props:xe,shapeFlag:Oe,transition:Ve,dirs:Re}=Q;if(Be=Q.el=s(Q.type,ve,xe&&xe.is,xe),Oe&8?f(Be,Q.children):Oe&16&&R(Q.children,Be,null,_e,Se,ve&&Ae!=="foreignObject",Le,Ee),Re&&sm(Q,null,_e,"created"),xe){for(const xt in xe)xt!=="value"&&!pw(xt)&&r(Be,xt,null,xe[xt],ve,Q.children,_e,Se,$);"value"in xe&&r(Be,"value",null,xe.value),(Pe=xe.onVnodeBeforeMount)&&Lu(Pe,_e,Q)}z(Be,Q,Q.scopeId,Le,_e),Re&&sm(Q,null,_e,"beforeMount");const At=(!Se||Se&&!Se.pendingBranch)&&Ve&&!Ve.persisted;At&&Ve.beforeEnter(Be),i(Be,ne,fe),((Pe=xe&&xe.onVnodeMounted)||At||Re)&&Ga(()=>{Pe&&Lu(Pe,_e,Q),At&&Ve.enter(Be),Re&&sm(Q,null,_e,"mounted")},Se)},z=(Q,ne,fe,_e,Se)=>{if(fe&&g(Q,fe),_e)for(let ve=0;ve<_e.length;ve++)g(Q,_e[ve]);if(Se){let ve=Se.subTree;if(ne===ve){const Le=Se.vnode;z(Q,Le,Le.scopeId,Le.slotScopeIds,Se.parent)}}},R=(Q,ne,fe,_e,Se,ve,Le,Ee,Be=0)=>{for(let Pe=Be;Pe{const Ee=ne.el=Q.el;let{patchFlag:Be,dynamicChildren:Pe,dirs:Ae}=ne;Be|=Q.patchFlag&16;const xe=Q.props||Eo,Oe=ne.props||Eo;let Ve;fe&&am(fe,!1),(Ve=Oe.onVnodeBeforeUpdate)&&Lu(Ve,fe,ne,Q),Ae&&sm(ne,Q,fe,"beforeUpdate"),fe&&am(fe,!0);const Re=Se&&ne.type!=="foreignObject";if(Pe?U(Q.dynamicChildren,Pe,Ee,fe,_e,Re,ve):Le||k(Q,ne,Ee,null,fe,_e,Re,ve,!1),Be>0){if(Be&16)v(Ee,ne,xe,Oe,fe,_e,Se);else if(Be&2&&xe.class!==Oe.class&&r(Ee,"class",null,Oe.class,Se),Be&4&&r(Ee,"style",xe.style,Oe.style,Se),Be&8){const At=ne.dynamicProps;for(let xt=0;xt{Ve&&Lu(Ve,fe,ne,Q),Ae&&sm(ne,Q,fe,"updated")},_e)},U=(Q,ne,fe,_e,Se,ve,Le)=>{for(let Ee=0;Ee{if(fe!==_e){if(fe!==Eo)for(const Ee in fe)!pw(Ee)&&!(Ee in _e)&&r(Q,Ee,fe[Ee],null,Le,ne.children,Se,ve,$);for(const Ee in _e){if(pw(Ee))continue;const Be=_e[Ee],Pe=fe[Ee];Be!==Pe&&Ee!=="value"&&r(Q,Ee,Pe,Be,Le,ne.children,Se,ve,$)}"value"in _e&&r(Q,"value",fe.value,_e.value)}},I=(Q,ne,fe,_e,Se,ve,Le,Ee,Be)=>{const Pe=ne.el=Q?Q.el:a(""),Ae=ne.anchor=Q?Q.anchor:a("");let{patchFlag:xe,dynamicChildren:Oe,slotScopeIds:Ve}=ne;Ve&&(Ee=Ee?Ee.concat(Ve):Ve),Q==null?(i(Pe,fe,_e),i(Ae,fe,_e),R(ne.children,fe,Ae,Se,ve,Le,Ee,Be)):xe>0&&xe&64&&Oe&&Q.dynamicChildren?(U(Q.dynamicChildren,Oe,fe,Se,ve,Le,Ee),(ne.key!=null||Se&&ne===Se.subTree)&&_N(Q,ne,!0)):k(Q,ne,fe,Ae,Se,ve,Le,Ee,Be)},_=(Q,ne,fe,_e,Se,ve,Le,Ee,Be)=>{ne.slotScopeIds=Ee,Q==null?ne.shapeFlag&512?Se.ctx.activate(ne,fe,_e,Le,Be):D(ne,fe,_e,Se,ve,Le,Be):O(Q,ne,Be)},D=(Q,ne,fe,_e,Se,ve,Le)=>{const Ee=Q.component=yoe(Q,_e,Se);if(Lv(Q)&&(Ee.ctx.renderer=re),Aoe(Ee),Ee.asyncDep){if(Se&&Se.registerDep(Ee,N),!Q.el){const Be=Ee.subTree=bn(rl);C(null,Be,ne,fe)}return}N(Ee,Q,ne,fe,Se,ve,Le)},O=(Q,ne,fe)=>{const _e=ne.component=Q.component;if(Lie(Q,ne,fe))if(_e.asyncDep&&!_e.asyncResolved){V(_e,ne,fe);return}else _e.next=ne,Sie(_e.update),_e.update();else ne.el=Q.el,_e.vnode=ne},N=(Q,ne,fe,_e,Se,ve,Le)=>{const Ee=()=>{if(Q.isMounted){let{next:Ae,bu:xe,u:Oe,parent:Ve,vnode:Re}=Q,At=Ae,xt;am(Q,!1),Ae?(Ae.el=Re.el,V(Q,Ae,Le)):Ae=Re,xe&&mw(xe),(xt=Ae.props&&Ae.props.onVnodeBeforeUpdate)&&Lu(xt,Ve,Ae,Re),am(Q,!0);const Nt=CI(Q),In=Q.subTree;Q.subTree=Nt,y(In,Nt,h(In.el),se(In),Q,Se,ve),Ae.el=Nt.el,At===null&&Bie(Q,Nt.el),Oe&&Ga(Oe,Se),(xt=Ae.props&&Ae.props.onVnodeUpdated)&&Ga(()=>Lu(xt,Ve,Ae,Re),Se)}else{let Ae;const{el:xe,props:Oe}=ne,{bm:Ve,m:Re,parent:At}=Q,xt=yb(ne);if(am(Q,!1),Ve&&mw(Ve),!xt&&(Ae=Oe&&Oe.onVnodeBeforeMount)&&Lu(Ae,At,ne),am(Q,!0),xe&&ce){const Nt=()=>{Q.subTree=CI(Q),ce(xe,Q.subTree,Q,Se,null)};xt?ne.type.__asyncLoader().then(()=>!Q.isUnmounted&&Nt()):Nt()}else{const Nt=Q.subTree=CI(Q);y(null,Nt,fe,_e,Q,Se,ve),ne.el=Nt.el}if(Re&&Ga(Re,Se),!xt&&(Ae=Oe&&Oe.onVnodeMounted)){const Nt=ne;Ga(()=>Lu(Ae,At,Nt),Se)}(ne.shapeFlag&256||At&&yb(At.vnode)&&At.vnode.shapeFlag&256)&&Q.a&&Ga(Q.a,Se),Q.isMounted=!0,ne=fe=_e=null}},Be=Q.effect=new nN(Ee,()=>uN(Pe),Q.scope),Pe=Q.update=()=>Be.run();Pe.id=Q.uid,am(Q,!0),Pe()},V=(Q,ne,fe)=>{ne.component=Q;const _e=Q.vnode.props;Q.vnode=ne,Q.next=null,eoe(Q,ne.props,_e,fe),ioe(Q,ne.children,fe),y0(),kF(),A0()},k=(Q,ne,fe,_e,Se,ve,Le,Ee,Be=!1)=>{const Pe=Q&&Q.children,Ae=Q?Q.shapeFlag:0,xe=ne.children,{patchFlag:Oe,shapeFlag:Ve}=ne;if(Oe>0){if(Oe&128){W(Pe,xe,fe,_e,Se,ve,Le,Ee,Be);return}else if(Oe&256){G(Pe,xe,fe,_e,Se,ve,Le,Ee,Be);return}}Ve&8?(Ae&16&&$(Pe,Se,ve),xe!==Pe&&f(fe,xe)):Ae&16?Ve&16?W(Pe,xe,fe,_e,Se,ve,Le,Ee,Be):$(Pe,Se,ve,!0):(Ae&8&&f(fe,""),Ve&16&&R(xe,fe,_e,Se,ve,Le,Ee,Be))},G=(Q,ne,fe,_e,Se,ve,Le,Ee,Be)=>{Q=Q||Ty,ne=ne||Ty;const Pe=Q.length,Ae=ne.length,xe=Math.min(Pe,Ae);let Oe;for(Oe=0;OeAe?$(Q,Se,ve,!0,!1,xe):R(ne,fe,_e,Se,ve,Le,Ee,Be,xe)},W=(Q,ne,fe,_e,Se,ve,Le,Ee,Be)=>{let Pe=0;const Ae=ne.length;let xe=Q.length-1,Oe=Ae-1;for(;Pe<=xe&&Pe<=Oe;){const Ve=Q[Pe],Re=ne[Pe]=Be?Hh(ne[Pe]):ku(ne[Pe]);if(Hm(Ve,Re))y(Ve,Re,fe,null,Se,ve,Le,Ee,Be);else break;Pe++}for(;Pe<=xe&&Pe<=Oe;){const Ve=Q[xe],Re=ne[Oe]=Be?Hh(ne[Oe]):ku(ne[Oe]);if(Hm(Ve,Re))y(Ve,Re,fe,null,Se,ve,Le,Ee,Be);else break;xe--,Oe--}if(Pe>xe){if(Pe<=Oe){const Ve=Oe+1,Re=VeOe)for(;Pe<=xe;)q(Q[Pe],Se,ve,!0),Pe++;else{const Ve=Pe,Re=Pe,At=new Map;for(Pe=Re;Pe<=Oe;Pe++){const xn=ne[Pe]=Be?Hh(ne[Pe]):ku(ne[Pe]);xn.key!=null&&At.set(xn.key,Pe)}let xt,Nt=0;const In=Oe-Re+1;let Bn=!1,En=0;const cn=new Array(In);for(Pe=0;Pe=In){q(xn,Se,ve,!0);continue}let vn;if(xn.key!=null)vn=At.get(xn.key);else for(xt=Re;xt<=Oe;xt++)if(cn[xt-Re]===0&&Hm(xn,ne[xt])){vn=xt;break}vn===void 0?q(xn,Se,ve,!0):(cn[vn-Re]=Pe+1,vn>=En?En=vn:Bn=!0,y(xn,ne[vn],fe,null,Se,ve,Le,Ee,Be),Nt++)}const Ut=Bn?coe(cn):Ty;for(xt=Ut.length-1,Pe=In-1;Pe>=0;Pe--){const xn=Re+Pe,vn=ne[xn],Wt=xn+1{const{el:ve,type:Le,transition:Ee,children:Be,shapeFlag:Pe}=Q;if(Pe&6){K(Q.component.subTree,ne,fe,_e);return}if(Pe&128){Q.suspense.move(ne,fe,_e);return}if(Pe&64){Le.move(Q,ne,fe,re);return}if(Le===Jo){i(ve,ne,fe);for(let xe=0;xeEe.enter(ve),Se);else{const{leave:xe,delayLeave:Oe,afterLeave:Ve}=Ee,Re=()=>i(ve,ne,fe),At=()=>{xe(ve,()=>{Re(),Ve&&Ve()})};Oe?Oe(ve,Re,At):At()}else i(ve,ne,fe)},q=(Q,ne,fe,_e=!1,Se=!1)=>{const{type:ve,props:Le,ref:Ee,children:Be,dynamicChildren:Pe,shapeFlag:Ae,patchFlag:xe,dirs:Oe}=Q;if(Ee!=null&&wL(Ee,null,fe,Q,!0),Ae&256){ne.ctx.deactivate(Q);return}const Ve=Ae&1&&Oe,Re=!yb(Q);let At;if(Re&&(At=Le&&Le.onVnodeBeforeUnmount)&&Lu(At,ne,Q),Ae&6)X(Q.component,fe,_e);else{if(Ae&128){Q.suspense.unmount(fe,_e);return}Ve&&sm(Q,null,ne,"beforeUnmount"),Ae&64?Q.type.remove(Q,ne,fe,Se,re,_e):Pe&&(ve!==Jo||xe>0&&xe&64)?$(Pe,ne,fe,!1,!0):(ve===Jo&&xe&384||!Se&&Ae&16)&&$(Be,ne,fe),_e&&te(Q)}(Re&&(At=Le&&Le.onVnodeUnmounted)||Ve)&&Ga(()=>{At&&Lu(At,ne,Q),Ve&&sm(Q,null,ne,"unmounted")},fe)},te=Q=>{const{type:ne,el:fe,anchor:_e,transition:Se}=Q;if(ne===Jo){Y(fe,_e);return}if(ne===xI){S(Q);return}const ve=()=>{o(fe),Se&&!Se.persisted&&Se.afterLeave&&Se.afterLeave()};if(Q.shapeFlag&1&&Se&&!Se.persisted){const{leave:Le,delayLeave:Ee}=Se,Be=()=>Le(fe,ve);Ee?Ee(Q.el,ve,Be):Be()}else ve()},Y=(Q,ne)=>{let fe;for(;Q!==ne;)fe=m(Q),o(Q),Q=fe;o(ne)},X=(Q,ne,fe)=>{const{bum:_e,scope:Se,update:ve,subTree:Le,um:Ee}=Q;_e&&mw(_e),Se.stop(),ve&&(ve.active=!1,q(Le,Q,ne,fe)),Ee&&Ga(Ee,ne),Ga(()=>{Q.isUnmounted=!0},ne),ne&&ne.pendingBranch&&!ne.isUnmounted&&Q.asyncDep&&!Q.asyncResolved&&Q.suspenseId===ne.pendingId&&(ne.deps--,ne.deps===0&&ne.resolve())},$=(Q,ne,fe,_e=!1,Se=!1,ve=0)=>{for(let Le=ve;LeQ.shapeFlag&6?se(Q.component.subTree):Q.shapeFlag&128?Q.suspense.next():m(Q.anchor||Q.el),ue=(Q,ne,fe)=>{Q==null?ne._vnode&&q(ne._vnode,null,null,!0):y(ne._vnode||null,Q,ne,null,null,null,fe),kF(),k6(),ne._vnode=Q},re={p:y,um:q,m:K,r:te,mt:D,mc:R,pc:k,pbc:U,n:se,o:e};let he,ce;return t&&([he,ce]=t(re)),{render:ue,hydrate:he,createApp:roe(ue,he)}}function am({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function _N(e,t,n=!1){const i=e.children,o=t.children;if(qt(i)&&qt(o))for(let r=0;r>1,e[n[a]]0&&(t[i]=n[r-1]),n[r]=i)}}for(r=n.length,s=n[r-1];r-- >0;)n[r]=s,s=t[s];return n}const loe=e=>e.__isTeleport,bb=e=>e&&(e.disabled||e.disabled===""),ZF=e=>typeof SVGElement<"u"&&e instanceof SVGElement,SL=(e,t)=>{const n=e&&e.to;return vi(n)?t?t(n):null:n},uoe={__isTeleport:!0,process(e,t,n,i,o,r,s,a,c,u){const{mc:f,pc:h,pbc:m,o:{insert:g,querySelector:p,createText:y,createComment:b}}=u,C=bb(t.props);let{shapeFlag:E,children:w,dynamicChildren:S}=t;if(e==null){const P=t.el=y(""),L=t.anchor=y("");g(P,n,i),g(L,n,i);const z=t.target=SL(t.props,p),R=t.targetAnchor=y("");z&&(g(R,z),s=s||ZF(z));const F=(U,v)=>{E&16&&f(w,U,v,o,r,s,a,c)};C?F(n,L):z&&F(z,R)}else{t.el=e.el;const P=t.anchor=e.anchor,L=t.target=e.target,z=t.targetAnchor=e.targetAnchor,R=bb(e.props),F=R?n:L,U=R?P:z;if(s=s||ZF(L),S?(m(e.dynamicChildren,S,F,o,r,s,a),_N(e,t,!0)):c||h(e,t,F,U,o,r,s,a,!1),C)R||tE(t,n,P,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const v=t.target=SL(t.props,p);v&&tE(t,v,null,u,0)}else R&&tE(t,L,z,u,1)}u9(t)},remove(e,t,n,i,{um:o,o:{remove:r}},s){const{shapeFlag:a,children:c,anchor:u,targetAnchor:f,target:h,props:m}=e;if(h&&r(f),(s||!bb(m))&&(r(u),a&16))for(let g=0;g0?jl||Ty:null,hoe(),eC>0&&jl&&jl.push(e),e}function Pt(e,t,n,i,o,r){return f9(gn(e,t,n,i,o,r,!0))}function ti(e,t,n,i,o){return f9(bn(e,t,n,i,o,!0))}function Yy(e){return e?e.__v_isVNode===!0:!1}function Hm(e,t){return e.type===t.type&&e.key===t.key}const Rv="__vInternal",d9=({key:e})=>e??null,_w=({ref:e,ref_key:t,ref_for:n})=>e!=null?vi(e)||Uo(e)||Dn(e)?{i:vs,r:e,k:t,f:!!n}:e:null;function gn(e,t=null,n=null,i=0,o=null,r=e===Jo?0:1,s=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&d9(t),ref:t&&_w(t),scopeId:j6,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:vs};return a?(gN(c,n),r&128&&e.normalize(c)):n&&(c.shapeFlag|=vi(n)?8:16),eC>0&&!s&&jl&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&jl.push(c),c}const bn=poe;function poe(e,t=null,n=null,i=0,o=null,r=!1){if((!e||e===Z6)&&(e=rl),Yy(e)){const a=Cp(e,t,!0);return n&&gN(a,n),eC>0&&!r&&jl&&(a.shapeFlag&6?jl[jl.indexOf(e)]=a:jl.push(a)),a.patchFlag|=-2,a}if(Eoe(e)&&(e=e.__vccOpts),t){t=moe(t);let{class:a,style:c}=t;a&&!vi(a)&&(t.class=yt(a)),Fi(c)&&(B6(c)&&!qt(c)&&(c=ps({},c)),t.style=Ta(c))}const s=vi(e)?1:Rie(e)?128:loe(e)?64:Fi(e)?4:Dn(e)?2:0;return gn(e,t,n,i,o,s,r,!0)}function moe(e){return e?B6(e)||Rv in e?ps({},e):e:null}function Cp(e,t,n=!1){const{props:i,ref:o,patchFlag:r,children:s}=e,a=t?rp(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&d9(a),ref:t&&t.ref?n&&o?qt(o)?o.concat(_w(t)):[o,_w(t)]:_w(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Jo?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Cp(e.ssContent),ssFallback:e.ssFallback&&Cp(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function Hu(e=" ",t=0){return bn(YC,null,e,t)}function Yt(e="",t=!1){return t?(et(),ti(rl,null,e)):bn(rl,null,e)}function ku(e){return e==null||typeof e=="boolean"?bn(rl):qt(e)?bn(Jo,null,e.slice()):typeof e=="object"?Hh(e):bn(YC,null,String(e))}function Hh(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Cp(e)}function gN(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(qt(t))n=16;else if(typeof t=="object")if(i&65){const o=t.default;o&&(o._c&&(o._d=!1),gN(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Rv in t)?t._ctx=vs:o===3&&vs&&(vs.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Dn(t)?(t={default:t,_ctx:vs},n=32):(t=String(t),i&64?(n=16,t=[Hu(t)]):n=8);e.children=t,e.shapeFlag|=n}function rp(...e){const t={};for(let n=0;ncs||vs,Xy=e=>{cs=e,e.scope.on()},o_=()=>{cs&&cs.scope.off(),cs=null};function h9(e){return e.vnode.shapeFlag&4}let tC=!1;function Aoe(e,t=!1){tC=t;const{props:n,children:i}=e.vnode,o=h9(e);Zie(e,n,o,t),noe(e,i);const r=o?boe(e,t):void 0;return tC=!1,r}function boe(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=aN(new Proxy(e.ctx,$ie));const{setup:i}=n;if(i){const o=e.setupContext=i.length>1?m9(e):null;Xy(e),y0();const r=op(i,e,0,[e.props,o]);if(A0(),o_(),_6(r)){if(r.then(o_,o_),t)return r.then(s=>{t3(e,s,t)}).catch(s=>{Pv(s,e,0)});e.asyncDep=r}else t3(e,r,t)}else p9(e,t)}function t3(e,t,n){Dn(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Fi(t)&&(e.setupState=F6(t)),p9(e,n)}let n3;function p9(e,t,n){const i=e.type;if(!e.render){if(!t&&n3&&!i.render){const o=i.template||pN(e).template;if(o){const{isCustomElement:r,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:c}=i,u=ps(ps({isCustomElement:r,delimiters:a},s),c);i.render=n3(o,u)}}e.render=i.render||Li}Xy(e),y0(),Yie(e),A0(),o_()}function Coe(e){return new Proxy(e.attrs,{get(t,n){return yc(e,"get","$attrs"),t[n]}})}function m9(e){const t=i=>{e.exposed=i||{}};let n;return{get attrs(){return n||(n=Coe(e))},slots:e.slots,emit:e.emit,expose:t}}function Nv(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(F6(aN(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ab)return Ab[n](e)},has(t,n){return n in t||n in Ab}}))}function Toe(e,t=!0){return Dn(e)?e.displayName||e.name:e.name||t&&e.__name}function Eoe(e){return Dn(e)&&"__vccOpts"in e}const it=(e,t)=>U6(e,t,tC);function XC(){return _9().slots}function xoe(){return _9().attrs}function _9(){const e=Dc();return e.setupContext||(e.setupContext=m9(e))}function Mv(e,t,n){const i=arguments.length;return i===2?Fi(t)&&!qt(t)?Yy(t)?bn(e,null,[t]):bn(e,t):bn(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&Yy(n)&&(n=[n]),bn(e,t,n))}const woe=Symbol(""),Soe=()=>er(woe),voe="3.2.45",Doe="http://www.w3.org/2000/svg",Vm=typeof document<"u"?document:null,i3=Vm&&Vm.createElement("template"),Ioe={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const o=t?Vm.createElementNS(Doe,e):Vm.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&o.setAttribute("multiple",i.multiple),o},createText:e=>Vm.createTextNode(e),createComment:e=>Vm.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Vm.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,o,r){const s=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{i3.innerHTML=i?`${e}`:e;const a=i3.content;if(i){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Poe(e,t,n){const i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Ooe(e,t,n){const i=e.style,o=vi(n);if(n&&!o){for(const r in n)vL(i,r,n[r]);if(t&&!vi(t))for(const r in t)n[r]==null&&vL(i,r,"")}else{const r=i.display;o?t!==n&&(i.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=r)}}const o3=/\s*!important$/;function vL(e,t,n){if(qt(n))n.forEach(i=>vL(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=Loe(e,t);o3.test(n)?e.setProperty(F_(i),n.replace(o3,""),"important"):e[i]=n}}const r3=["Webkit","Moz","ms"],wI={};function Loe(e,t){const n=wI[t];if(n)return n;let i=ru(t);if(i!=="filter"&&i in e)return wI[t]=i;i=Dv(i);for(let o=0;oSI||(zoe.then(()=>SI=0),SI=Date.now());function Hoe(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;ol(Voe(i,n.value),t,5,[i])};return n.value=e,n.attached=Uoe(),n}function Voe(e,t){if(qt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>o=>!o._stopped&&i&&i(o))}else return t}const c3=/^on[a-z]/,koe=(e,t,n,i,o=!1,r,s,a,c)=>{t==="class"?Poe(e,i,o):t==="style"?Ooe(e,n,i):wv(t)?JR(t)||Moe(e,t,n,i,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Goe(e,t,i,o))?Roe(e,t,i,r,s,a,c):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),Boe(e,t,i,o))};function Goe(e,t,n,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&c3.test(t)&&Dn(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||c3.test(t)&&vi(n)?!1:t in e}const uh="transition",$0="animation",KC=(e,{slots:t})=>Mv(X6,A9(e),t);KC.displayName="Transition";const y9={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},Woe=KC.props=ps({},X6.props,y9),cm=(e,t=[])=>{qt(e)?e.forEach(n=>n(...t)):e&&e(...t)},l3=e=>e?qt(e)?e.some(t=>t.length>1):e.length>1:!1;function A9(e){const t={};for(const I in e)I in y9||(t[I]=e[I]);if(e.css===!1)return t;const{name:n="v",type:i,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=r,appearActiveClass:u=s,appearToClass:f=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,p=joe(o),y=p&&p[0],b=p&&p[1],{onBeforeEnter:C,onEnter:E,onEnterCancelled:w,onLeave:S,onLeaveCancelled:P,onBeforeAppear:L=C,onAppear:z=E,onAppearCancelled:R=w}=t,F=(I,_,D)=>{Rh(I,_?f:a),Rh(I,_?u:s),D&&D()},U=(I,_)=>{I._isLeaving=!1,Rh(I,h),Rh(I,g),Rh(I,m),_&&_()},v=I=>(_,D)=>{const O=I?z:E,N=()=>F(_,I,D);cm(O,[_,N]),u3(()=>{Rh(_,I?c:r),$f(_,I?f:a),l3(O)||f3(_,i,y,N)})};return ps(t,{onBeforeEnter(I){cm(C,[I]),$f(I,r),$f(I,s)},onBeforeAppear(I){cm(L,[I]),$f(I,c),$f(I,u)},onEnter:v(!1),onAppear:v(!0),onLeave(I,_){I._isLeaving=!0;const D=()=>U(I,_);$f(I,h),C9(),$f(I,m),u3(()=>{I._isLeaving&&(Rh(I,h),$f(I,g),l3(S)||f3(I,i,b,D))}),cm(S,[I,D])},onEnterCancelled(I){F(I,!1),cm(w,[I])},onAppearCancelled(I){F(I,!0),cm(R,[I])},onLeaveCancelled(I){U(I),cm(P,[I])}})}function joe(e){if(e==null)return null;if(Fi(e))return[vI(e.enter),vI(e.leave)];{const t=vI(e);return[t,t]}}function vI(e){return eN(e)}function $f(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Rh(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function u3(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let qoe=0;function f3(e,t,n,i){const o=e._endId=++qoe,r=()=>{o===e._endId&&i()};if(n)return setTimeout(r,n);const{type:s,timeout:a,propCount:c}=b9(e,t);if(!s)return i();const u=s+"end";let f=0;const h=()=>{e.removeEventListener(u,m),r()},m=g=>{g.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[p]||"").split(", "),o=i(`${uh}Delay`),r=i(`${uh}Duration`),s=d3(o,r),a=i(`${$0}Delay`),c=i(`${$0}Duration`),u=d3(a,c);let f=null,h=0,m=0;t===uh?s>0&&(f=uh,h=s,m=r.length):t===$0?u>0&&(f=$0,h=u,m=c.length):(h=Math.max(s,u),f=h>0?s>u?uh:$0:null,m=f?f===uh?r.length:c.length:0);const g=f===uh&&/\b(transform|all)(,|$)/.test(i(`${uh}Property`).toString());return{type:f,timeout:h,propCount:m,hasTransform:g}}function d3(e,t){for(;e.lengthh3(n)+h3(e[i])))}function h3(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function C9(){return document.body.offsetHeight}const T9=new WeakMap,E9=new WeakMap,$oe={name:"TransitionGroup",props:ps({},Woe,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Dc(),i=Y6();let o,r;return Q6(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!Qoe(o[0].el,n.vnode.el,s))return;o.forEach(Xoe),o.forEach(Koe);const a=o.filter(Joe);C9(),a.forEach(c=>{const u=c.el,f=u.style;$f(u,s),f.transform=f.webkitTransform=f.transitionDuration="";const h=u._moveCb=m=>{m&&m.target!==u||(!m||/transform$/.test(m.propertyName))&&(u.removeEventListener("transitionend",h),u._moveCb=null,Rh(u,s))};u.addEventListener("transitionend",h)})}),()=>{const s=bi(e),a=A9(s);let c=s.tag||Jo;o=r,r=t.default?fN(t.default()):[];for(let u=0;u{s.split(/\s+/).forEach(a=>a&&i.classList.remove(a))}),n.split(/\s+/).forEach(s=>s&&i.classList.add(s)),i.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(i);const{hasTransform:r}=b9(i);return o.removeChild(i),r}const p3=e=>{const t=e.props["onUpdate:modelValue"]||!1;return qt(t)?n=>mw(t,n):t},pS={deep:!0,created(e,t,n){e._assign=p3(n),g9(e,"change",()=>{const i=e._modelValue,o=Zoe(e),r=e.checked,s=e._assign;if(qt(i)){const a=p6(i,o),c=a!==-1;if(r&&!c)s(i.concat(o));else if(!r&&c){const u=[...i];u.splice(a,1),s(u)}}else if(Sv(i)){const a=new Set(i);r?a.add(o):a.delete(o),s(a)}else s(x9(e,r))})},mounted:m3,beforeUpdate(e,t,n){e._assign=p3(n),m3(e,t,n)}};function m3(e,{value:t,oldValue:n},i){e._modelValue=t,qt(t)?e.checked=p6(t,i.props.value)>-1:Sv(t)?e.checked=t.has(i.props.value):t!==n&&(e.checked=xv(t,x9(e,!0)))}function Zoe(e){return"_value"in e?e._value:e.value}function x9(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ere=["ctrl","shift","alt","meta"],tre={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)=>ere.some(n=>e[`${n}Key`]&&!t.includes(n))},fd=(e,t)=>(n,...i)=>{for(let o=0;on=>{if(!("key"in n))return;const i=F_(n.key);if(t.some(o=>o===i||nre[o]===i))return e(n)},Fv={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Y0(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),Y0(e,!0),i.enter(e)):i.leave(e,()=>{Y0(e,!1)}):Y0(e,t))},beforeUnmount(e,{value:t}){Y0(e,t)}};function Y0(e,t){e.style.display=t?e._vod:"none"}const ire=ps({patchProp:koe},Ioe);let _3;function S9(){return _3||(_3=soe(ire))}const g3=(...e)=>{S9().render(...e)},ore=(...e)=>{const t=S9().createApp(...e),{mount:n}=t;return t.mount=i=>{const o=rre(i);if(!o)return;const r=t._component;!Dn(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function rre(e){return vi(e)?document.querySelector(e):e}var sre=!1;/*! * pinia v2.0.28 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const Moe=Symbol();var c3;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(c3||(c3={}));function Foe(){const e=Cne(!0),t=e.run(()=>Xn({}));let n=[],i=[];const o=tN({install(r){o._a=r,r.provide(Moe,o),r.config.globalProperties.$pinia=o,i.forEach(s=>n.push(s)),i=[]},use(r){return!this._a&&!Noe?i.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}/*! + */const are=Symbol();var y3;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(y3||(y3={}));function cre(){const e=Wne(!0),t=e.run(()=>Fn({}));let n=[],i=[];const o=aN({install(r){o._a=r,r.provide(are,o),r.config.globalProperties.$pinia=o,i.forEach(s=>n.push(s)),i=[]},use(r){return!this._a&&!sre?i.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}/*! * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const qg=typeof window<"u";function zoe(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Xi=Object.assign;function CI(e,t){const n={};for(const i in t){const o=t[i];n[i]=tu(o)?o.map(e):e(o)}return n}const gb=()=>{},tu=Array.isArray,Uoe=/\/$/,Hoe=e=>e.replace(Uoe,"");function TI(e,t,n="/"){let i,o={},r="",s="";const a=t.indexOf("#");let c=t.indexOf("?");return a=0&&(c=-1),c>-1&&(i=t.slice(0,c),r=t.slice(c+1,a>-1?a:t.length),o=e(r)),a>-1&&(i=i||t.slice(0,a),s=t.slice(a,t.length)),i=Woe(i??t,n),{fullPath:i+(r&&"?")+r+s,path:i,query:o,hash:s}}function Voe(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function l3(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function koe(e,t,n){const i=t.matched.length-1,o=n.matched.length-1;return i>-1&&i===o&&jy(t.matched[i],n.matched[o])&&r9(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function jy(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function r9(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Goe(e[n],t[n]))return!1;return!0}function Goe(e,t){return tu(e)?u3(e,t):tu(t)?u3(t,e):e===t}function u3(e,t){return tu(t)?e.length===t.length&&e.every((n,i)=>n===t[i]):e.length===1&&e[0]===t}function Woe(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/");let o=n.length-1,r,s;for(r=0;r1&&o--;else break;return n.slice(0,o).join("/")+"/"+i.slice(r-(r===i.length?1:0)).join("/")}var Xb;(function(e){e.pop="pop",e.push="push"})(Xb||(Xb={}));var yb;(function(e){e.back="back",e.forward="forward",e.unknown=""})(yb||(yb={}));function joe(e){if(!e)if(qg){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Hoe(e)}const qoe=/^[^#]+#/;function Yoe(e,t){return e.replace(qoe,"#")+t}function $oe(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}const Bv=()=>({left:window.pageXOffset,top:window.pageYOffset});function Xoe(e){let t;if("el"in e){const n=e.el,i=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=$oe(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function f3(e,t){return(history.state?history.state.position-t:-1)+e}const EL=new Map;function Koe(e,t){EL.set(e,t)}function Joe(e){const t=EL.get(e);return EL.delete(e),t}let Qoe=()=>location.protocol+"//"+location.host;function s9(e,t){const{pathname:n,search:i,hash:o}=t,r=e.indexOf("#");if(r>-1){let a=o.includes(e.slice(r))?e.slice(r).length:1,c=o.slice(a);return c[0]!=="/"&&(c="/"+c),l3(c,"")}return l3(n,e)+i+o}function Zoe(e,t,n,i){let o=[],r=[],s=null;const a=({state:_})=>{const g=s9(e,location),p=n.value,y=t.value;let b=0;if(_){if(n.value=g,t.value=_,s&&s===p){s=null;return}b=y?_.position-y.position:0}else i(g);o.forEach(C=>{C(n.value,p,{delta:b,type:Xb.pop,direction:b?b>0?yb.forward:yb.back:yb.unknown})})};function c(){s=n.value}function u(_){o.push(_);const g=()=>{const p=o.indexOf(_);p>-1&&o.splice(p,1)};return r.push(g),g}function f(){const{history:_}=window;_.state&&_.replaceState(Xi({},_.state,{scroll:Bv()}),"")}function h(){for(const _ of r)_();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",f),{pauseListeners:c,listen:u,destroy:h}}function d3(e,t,n,i=!1,o=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:o?Bv():null}}function ere(e){const{history:t,location:n}=window,i={value:s9(e,n)},o={value:t.state};o.value||r(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(c,u,f){const h=e.indexOf("#"),_=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:Qoe()+e+c;try{t[f?"replaceState":"pushState"](u,"",_),o.value=u}catch(g){console.error(g),n[f?"replace":"assign"](_)}}function s(c,u){const f=Xi({},t.state,d3(o.value.back,c,o.value.forward,!0),u,{position:o.value.position});r(c,f,!0),i.value=c}function a(c,u){const f=Xi({},o.value,t.state,{forward:c,scroll:Bv()});r(f.current,f,!0);const h=Xi({},d3(i.value,c,null),{position:f.position+1},u);r(c,h,!1),i.value=c}return{location:i,state:o,push:a,replace:s}}function tre(e){e=joe(e);const t=ere(e),n=Zoe(e,t.state,t.location,t.replace);function i(r,s=!0){s||n.pauseListeners(),history.go(r)}const o=Xi({location:"",base:e,go:i,createHref:Yoe.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function nre(e){return typeof e=="string"||e&&typeof e=="object"}function a9(e){return typeof e=="string"||typeof e=="symbol"}const ch={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},c9=Symbol("");var h3;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(h3||(h3={}));function qy(e,t){return Xi(new Error,{type:e,[c9]:!0},t)}function Rf(e,t){return e instanceof Error&&c9 in e&&(t==null||!!(e.type&t))}const p3="[^/]+?",ire={sensitive:!1,strict:!1,start:!0,end:!0},ore=/[.+*?^${}()[\]/\\]/g;function rre(e,t){const n=Xi({},ire,t),i=[];let o=n.start?"^":"";const r=[];for(const u of e){const f=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let h=0;ht.length?t.length===1&&t[0]===40+40?1:-1:0}function are(e,t){let n=0;const i=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const cre={type:0,value:""},lre=/[a-zA-Z0-9_]/;function ure(e){if(!e)return[[]];if(e==="/")return[[cre]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=0,i=n;const o=[];let r;function s(){r&&o.push(r),r=[]}let a=0,c,u="",f="";function h(){u&&(n===0?r.push({type:0,value:u}):n===1||n===2||n===3?(r.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:u,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function _(){u+=c}for(;a{s(x)}:gb}function s(f){if(a9(f)){const h=i.get(f);h&&(i.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(s),h.alias.forEach(s))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&i.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function a(){return n}function c(f){let h=0;for(;h=0&&(f.record.path!==n[h].record.path||!l9(f,n[h]));)h++;n.splice(h,0,f),f.record.name&&!g3(f)&&i.set(f.record.name,f)}function u(f,h){let _,g={},p,y;if("name"in f&&f.name){if(_=i.get(f.name),!_)throw qy(1,{location:f});y=_.record.name,g=Xi(_3(h.params,_.keys.filter(x=>!x.optional).map(x=>x.name)),f.params&&_3(f.params,_.keys.map(x=>x.name))),p=_.stringify(g)}else if("path"in f)p=f.path,_=n.find(x=>x.re.test(p)),_&&(g=_.parse(p),y=_.record.name);else{if(_=h.name?i.get(h.name):n.find(x=>x.re.test(h.path)),!_)throw qy(1,{location:f,currentLocation:h});y=_.record.name,g=Xi({},h.params,f.params),p=_.stringify(g)}const b=[];let C=_;for(;C;)b.unshift(C.record),C=C.parent;return{name:y,path:p,params:g,matched:b,meta:mre(b)}}return e.forEach(f=>r(f)),{addRoute:r,resolve:u,removeRoute:s,getRoutes:a,getRecordMatcher:o}}function _3(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function hre(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:pre(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function pre(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]=typeof n=="boolean"?n:n[i];return t}function g3(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mre(e){return e.reduce((t,n)=>Xi(t,n.meta),{})}function y3(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}function l9(e,t){return t.children.some(n=>n===e||l9(e,n))}const u9=/#/g,_re=/&/g,gre=/\//g,yre=/=/g,Are=/\?/g,f9=/\+/g,bre=/%5B/g,Cre=/%5D/g,d9=/%5E/g,Tre=/%60/g,h9=/%7B/g,Ere=/%7C/g,p9=/%7D/g,xre=/%20/g;function dN(e){return encodeURI(""+e).replace(Ere,"|").replace(bre,"[").replace(Cre,"]")}function wre(e){return dN(e).replace(h9,"{").replace(p9,"}").replace(d9,"^")}function xL(e){return dN(e).replace(f9,"%2B").replace(xre,"+").replace(u9,"%23").replace(_re,"%26").replace(Tre,"`").replace(h9,"{").replace(p9,"}").replace(d9,"^")}function Sre(e){return xL(e).replace(yre,"%3D")}function vre(e){return dN(e).replace(u9,"%23").replace(Are,"%3F")}function Dre(e){return e==null?"":vre(e).replace(gre,"%2F")}function cS(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Ire(e){const t={};if(e===""||e==="?")return t;const i=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;or&&xL(r)):[i&&xL(i)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Pre(e){const t={};for(const n in e){const i=e[n];i!==void 0&&(t[n]=tu(i)?i.map(o=>o==null?null:""+o):i==null?i:""+i)}return t}const Ore=Symbol(""),b3=Symbol(""),hN=Symbol(""),m9=Symbol(""),wL=Symbol("");function W0(){let e=[];function t(i){return e.push(i),()=>{const o=e.indexOf(i);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Fh(e,t,n,i,o){const r=i&&(i.enterCallbacks[o]=i.enterCallbacks[o]||[]);return()=>new Promise((s,a)=>{const c=h=>{h===!1?a(qy(4,{from:n,to:t})):h instanceof Error?a(h):nre(h)?a(qy(2,{from:t,to:h})):(r&&i.enterCallbacks[o]===r&&typeof h=="function"&&r.push(h),s())},u=e.call(i&&i.instances[o],t,n,c);let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(h=>a(h))})}function EI(e,t,n,i){const o=[];for(const r of e)for(const s in r.components){let a=r.components[s];if(!(t!=="beforeRouteEnter"&&!r.instances[s]))if(Lre(a)){const u=(a.__vccOpts||a)[t];u&&o.push(Fh(u,n,i,r,s))}else{let c=a();o.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${r.path}"`));const f=zoe(u)?u.default:u;r.components[s]=f;const _=(f.__vccOpts||f)[t];return _&&Fh(_,n,i,r,s)()}))}}return o}function Lre(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function C3(e){const t=sr(hN),n=sr(m9),i=mt(()=>t.resolve(Oe(e.to))),o=mt(()=>{const{matched:c}=i.value,{length:u}=c,f=c[u-1],h=n.matched;if(!f||!h.length)return-1;const _=h.findIndex(jy.bind(null,f));if(_>-1)return _;const g=T3(c[u-2]);return u>1&&T3(f)===g&&h[h.length-1].path!==g?h.findIndex(jy.bind(null,c[u-2])):_}),r=mt(()=>o.value>-1&&Mre(n.params,i.value.params)),s=mt(()=>o.value>-1&&o.value===n.matched.length-1&&r9(n.params,i.value.params));function a(c={}){return Nre(c)?t[Oe(e.replace)?"replace":"push"](Oe(e.to)).catch(gb):Promise.resolve()}return{route:i,href:mt(()=>i.value.href),isActive:r,isExactActive:s,navigate:a}}const Bre=ho({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:C3,setup(e,{slots:t}){const n=_0(C3(e)),{options:i}=sr(hN),o=mt(()=>({[E3(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[E3(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:Ov("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),Rre=Bre;function Nre(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 Mre(e,t){for(const n in t){const i=t[n],o=e[n];if(typeof i=="string"){if(i!==o)return!1}else if(!tu(o)||o.length!==i.length||i.some((r,s)=>r!==o[s]))return!1}return!0}function T3(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const E3=(e,t,n)=>e??t??n,Fre=ho({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=sr(wL),o=mt(()=>e.route||i.value),r=sr(b3,0),s=mt(()=>{let u=Oe(r);const{matched:f}=o.value;let h;for(;(h=f[u])&&!h.components;)u++;return u}),a=mt(()=>o.value.matched[s.value]);cd(b3,mt(()=>s.value+1)),cd(Ore,a),cd(wL,o);const c=Xn();return ar(()=>[c.value,a.value,e.name],([u,f,h],[_,g,p])=>{f&&(f.instances[h]=u,g&&g!==f&&u&&u===_&&(f.leaveGuards.size||(f.leaveGuards=g.leaveGuards),f.updateGuards.size||(f.updateGuards=g.updateGuards))),u&&f&&(!g||!jy(f,g)||!_)&&(f.enterCallbacks[h]||[]).forEach(y=>y(u))},{flush:"post"}),()=>{const u=o.value,f=e.name,h=a.value,_=h&&h.components[f];if(!_)return x3(n.default,{Component:_,route:u});const g=h.props[f],p=g?g===!0?u.params:typeof g=="function"?g(u):g:null,b=Ov(_,Xi({},p,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return x3(n.default,{Component:b,route:u})||b}}});function x3(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const _9=Fre;function zre(e){const t=dre(e.routes,e),n=e.parseQuery||Ire,i=e.stringifyQuery||A3,o=e.history,r=W0(),s=W0(),a=W0(),c=cw(ch);let u=ch;qg&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=CI.bind(null,X=>""+X),h=CI.bind(null,Dre),_=CI.bind(null,cS);function g(X,Y){let se,ue;return a9(X)?(se=t.getRecordMatcher(X),ue=Y):ue=X,t.addRoute(ue,se)}function p(X){const Y=t.getRecordMatcher(X);Y&&t.removeRoute(Y)}function y(){return t.getRoutes().map(X=>X.record)}function b(X){return!!t.getRecordMatcher(X)}function C(X,Y){if(Y=Xi({},Y||c.value),typeof X=="string"){const Q=TI(n,X,Y.path),ne=t.resolve({path:Q.path},Y),fe=o.createHref(Q.fullPath);return Xi(Q,ne,{params:_(ne.params),hash:cS(Q.hash),redirectedFrom:void 0,href:fe})}let se;if("path"in X)se=Xi({},X,{path:TI(n,X.path,Y.path).path});else{const Q=Xi({},X.params);for(const ne in Q)Q[ne]==null&&delete Q[ne];se=Xi({},X,{params:h(X.params)}),Y.params=h(Y.params)}const ue=t.resolve(se,Y),re=X.hash||"";ue.params=f(_(ue.params));const he=Voe(i,Xi({},X,{hash:wre(re),path:ue.path})),ce=o.createHref(he);return Xi({fullPath:he,hash:re,query:i===A3?Pre(X.query):X.query||{}},ue,{redirectedFrom:void 0,href:ce})}function x(X){return typeof X=="string"?TI(n,X,c.value.path):Xi({},X)}function S(X,Y){if(u!==X)return qy(8,{from:Y,to:X})}function v(X){return z(X)}function P(X){return v(Xi(x(X),{replace:!0}))}function L(X){const Y=X.matched[X.matched.length-1];if(Y&&Y.redirect){const{redirect:se}=Y;let ue=typeof se=="function"?se(X):se;return typeof ue=="string"&&(ue=ue.includes("?")||ue.includes("#")?ue=x(ue):{path:ue},ue.params={}),Xi({query:X.query,hash:X.hash,params:"path"in ue?{}:X.params},ue)}}function z(X,Y){const se=u=C(X),ue=c.value,re=X.state,he=X.force,ce=X.replace===!0,Q=L(se);if(Q)return z(Xi(x(Q),{state:typeof Q=="object"?Xi({},re,Q.state):re,force:he,replace:ce}),Y||se);const ne=se;ne.redirectedFrom=Y;let fe;return!he&&koe(i,ue,se)&&(fe=qy(16,{to:ne,from:ue}),W(ue,ue,!0,!1)),(fe?Promise.resolve(fe):F(ne,ue)).catch(me=>Rf(me)?Rf(me,2)?me:G(me):V(me,ne,ue)).then(me=>{if(me){if(Rf(me,2))return z(Xi({replace:ce},x(me.to),{state:typeof me.to=="object"?Xi({},re,me.to.state):re,force:he}),Y||ne)}else me=w(ne,ue,!0,ce,re);return H(ne,ue,me),me})}function R(X,Y){const se=S(X,Y);return se?Promise.reject(se):Promise.resolve()}function F(X,Y){let se;const[ue,re,he]=Ure(X,Y);se=EI(ue.reverse(),"beforeRouteLeave",X,Y);for(const Q of ue)Q.leaveGuards.forEach(ne=>{se.push(Fh(ne,X,Y))});const ce=R.bind(null,X,Y);return se.push(ce),ug(se).then(()=>{se=[];for(const Q of r.list())se.push(Fh(Q,X,Y));return se.push(ce),ug(se)}).then(()=>{se=EI(re,"beforeRouteUpdate",X,Y);for(const Q of re)Q.updateGuards.forEach(ne=>{se.push(Fh(ne,X,Y))});return se.push(ce),ug(se)}).then(()=>{se=[];for(const Q of X.matched)if(Q.beforeEnter&&!Y.matched.includes(Q))if(tu(Q.beforeEnter))for(const ne of Q.beforeEnter)se.push(Fh(ne,X,Y));else se.push(Fh(Q.beforeEnter,X,Y));return se.push(ce),ug(se)}).then(()=>(X.matched.forEach(Q=>Q.enterCallbacks={}),se=EI(he,"beforeRouteEnter",X,Y),se.push(ce),ug(se))).then(()=>{se=[];for(const Q of s.list())se.push(Fh(Q,X,Y));return se.push(ce),ug(se)}).catch(Q=>Rf(Q,8)?Q:Promise.reject(Q))}function H(X,Y,se){for(const ue of a.list())ue(X,Y,se)}function w(X,Y,se,ue,re){const he=S(X,Y);if(he)return he;const ce=Y===ch,Q=qg?history.state:{};se&&(ue||ce?o.replace(X.fullPath,Xi({scroll:ce&&Q&&Q.scroll},re)):o.push(X.fullPath,re)),c.value=X,W(X,Y,se,ce),G()}let I;function m(){I||(I=o.listen((X,Y,se)=>{if(!$.listening)return;const ue=C(X),re=L(ue);if(re){z(Xi(re,{replace:!0}),ue).catch(gb);return}u=ue;const he=c.value;qg&&Koe(f3(he.fullPath,se.delta),Bv()),F(ue,he).catch(ce=>Rf(ce,12)?ce:Rf(ce,2)?(z(ce.to,ue).then(Q=>{Rf(Q,20)&&!se.delta&&se.type===Xb.pop&&o.go(-1,!1)}).catch(gb),Promise.reject()):(se.delta&&o.go(-se.delta,!1),V(ce,ue,he))).then(ce=>{ce=ce||w(ue,he,!1),ce&&(se.delta&&!Rf(ce,8)?o.go(-se.delta,!1):se.type===Xb.pop&&Rf(ce,20)&&o.go(-1,!1)),H(ue,he,ce)}).catch(gb)}))}let D=W0(),O=W0(),M;function V(X,Y,se){G(X);const ue=O.list();return ue.length?ue.forEach(re=>re(X,Y,se)):console.error(X),Promise.reject(X)}function k(){return M&&c.value!==ch?Promise.resolve():new Promise((X,Y)=>{D.add([X,Y])})}function G(X){return M||(M=!X,m(),D.list().forEach(([Y,se])=>X?se(X):Y()),D.reset()),X}function W(X,Y,se,ue){const{scrollBehavior:re}=e;if(!qg||!re)return Promise.resolve();const he=!se&&Joe(f3(X.fullPath,0))||(ue||!se)&&history.state&&history.state.scroll||null;return Za().then(()=>re(X,Y,he)).then(ce=>ce&&Xoe(ce)).catch(ce=>V(ce,X,Y))}const K=X=>o.go(X);let q;const te=new Set,$={currentRoute:c,listening:!0,addRoute:g,removeRoute:p,hasRoute:b,getRoutes:y,resolve:C,options:e,push:v,replace:P,go:K,back:()=>K(-1),forward:()=>K(1),beforeEach:r.add,beforeResolve:s.add,afterEach:a.add,onError:O.add,isReady:k,install(X){const Y=this;X.component("RouterLink",Rre),X.component("RouterView",_9),X.config.globalProperties.$router=Y,Object.defineProperty(X.config.globalProperties,"$route",{enumerable:!0,get:()=>Oe(c)}),qg&&!q&&c.value===ch&&(q=!0,v(o.location).catch(re=>{}));const se={};for(const re in ch)se[re]=mt(()=>c.value[re]);X.provide(hN,Y),X.provide(m9,_0(se)),X.provide(wL,c);const ue=X.unmount;te.add(X),X.unmount=function(){te.delete(X),te.size<1&&(u=ch,I&&I(),I=null,c.value=ch,q=!1,M=!1),ue()}}};return $}function ug(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function Ure(e,t){const n=[],i=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let s=0;sjy(u,a))?i.push(a):n.push(a));const c=e.matched[s];c&&(t.matched.find(u=>jy(u,c))||o.push(c))}return[n,i,o]}const Hre=(e,t)=>{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n},Vre={__name:"App",setup(e){return(t,n)=>(Et(),to(Oe(_9)))}},kre=Hre(Vre,[["__scopeId","data-v-0969e94e"]]);var Gre=typeof global=="object"&&global&&global.Object===Object&&global;const g9=Gre;var Wre=typeof self=="object"&&self&&self.Object===Object&&self,jre=g9||Wre||Function("return this")();const Md=jre;var qre=Md.Symbol;const of=qre;var y9=Object.prototype,Yre=y9.hasOwnProperty,$re=y9.toString,j0=of?of.toStringTag:void 0;function Xre(e){var t=Yre.call(e,j0),n=e[j0];try{e[j0]=void 0;var i=!0}catch{}var o=$re.call(e);return i&&(t?e[j0]=n:delete e[j0]),o}var Kre=Object.prototype,Jre=Kre.toString;function Qre(e){return Jre.call(e)}var Zre="[object Null]",ese="[object Undefined]",w3=of?of.toStringTag:void 0;function g0(e){return e==null?e===void 0?ese:Zre:w3&&w3 in Object(e)?Xre(e):Qre(e)}function Yy(e){return e!=null&&typeof e=="object"}var tse="[object Symbol]";function pN(e){return typeof e=="symbol"||Yy(e)&&g0(e)==tse}function nse(e,t){for(var n=-1,i=e==null?0:e.length,o=Array(i);++n0){if(++t>=wse)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Ise(e){return function(){return e}}var Pse=function(){try{var e=B_(Object,"defineProperty");return e({},"",{}),e}catch{}}();const uS=Pse;var Ose=uS?function(e,t){return uS(e,"toString",{configurable:!0,enumerable:!1,value:Ise(t),writable:!0})}:rse;const Lse=Ose;var Bse=Dse(Lse);const Rse=Bse;var Nse=9007199254740991,Mse=/^(?:0|[1-9]\d*)$/;function mN(e,t){var n=typeof e;return t=t??Nse,!!t&&(n=="number"||n!="symbol"&&Mse.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=kse}function Gse(e){return e!=null&&gN(e.length)&&!b9(e)}var Wse=Object.prototype;function jse(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Wse;return e===n}function qse(e,t){for(var n=-1,i=Array(e);++n-1}function ace(e,t){var n=this.__data__,i=Rv(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}function Fd(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(a)?t>1?v9(a,t-1,n,i,o):S9(o,a):i||(o[o.length]=a)}return o}function Sce(e){var t=e==null?0:e.length;return t?v9(e,1):[]}function vce(e){return Rse(Vse(e,void 0,Sce),e+"")}function Dce(){this.__data__=new Fd,this.size=0}function Ice(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Pce(e){return this.__data__.get(e)}function Oce(e){return this.__data__.has(e)}var Lce=200;function Bce(e,t){var n=this.__data__;if(n instanceof Fd){var i=n.__data__;if(!Jb||i.lengtha))return!1;var u=r.get(e),f=r.get(t);if(u&&f)return u==t&&f==e;var h=-1,_=!0,g=n&ile?new fS:void 0;for(r.set(e,t),r.set(t,e);++htypeof e=="boolean",gp=e=>typeof e=="number",Mle=e=>typeof e=="string",Fle=()=>{};Ea&&((X3=window==null?void 0:window.navigator)!=null&&X3.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function L9(e){return typeof e=="function"?e():Oe(e)}function zle(e){return e}function CN(e){return Ene()?(s6(e),!0):!1}function Ule(e,t=!0){du()?fu(e):t?e():Za(e)}function OL(e,t,n={}){const{immediate:i=!0}=n,o=Xn(!1);let r=null;function s(){r&&(clearTimeout(r),r=null)}function a(){o.value=!1,s()}function c(...u){s(),o.value=!0,r=setTimeout(()=>{o.value=!1,r=null,e(...u)},L9(t))}return i&&(o.value=!0,Ea&&c()),CN(a),{isPending:o,start:c,stop:a}}function B9(e){var t;const n=L9(e);return(t=n==null?void 0:n.$el)!=null?t:n}const R9=Ea?window:void 0;Ea&&window.document;Ea&&window.navigator;Ea&&window.location;function Hle(...e){let t,n,i,o;if(Mle(e[0])||Array.isArray(e[0])?([n,i,o]=e,t=R9):[t,n,i,o]=e,!t)return Fle;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const r=[],s=()=>{r.forEach(f=>f()),r.length=0},a=(f,h,_)=>(f.addEventListener(h,_,o),()=>f.removeEventListener(h,_,o)),c=ar(()=>B9(t),f=>{s(),f&&r.push(...n.flatMap(h=>i.map(_=>a(f,h,_))))},{immediate:!0,flush:"post"}),u=()=>{c(),s()};return CN(u),u}function Vle(e,t=!1){const n=Xn(),i=()=>n.value=Boolean(e());return i(),Ule(i,t),n}const LL=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},BL="__vueuse_ssr_handlers__";LL[BL]=LL[BL]||{};LL[BL];var K3=Object.getOwnPropertySymbols,kle=Object.prototype.hasOwnProperty,Gle=Object.prototype.propertyIsEnumerable,Wle=(e,t)=>{var n={};for(var i in e)kle.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&K3)for(var i of K3(e))t.indexOf(i)<0&&Gle.call(e,i)&&(n[i]=e[i]);return n};function N9(e,t,n={}){const i=n,{window:o=R9}=i,r=Wle(i,["window"]);let s;const a=Vle(()=>o&&"ResizeObserver"in o),c=()=>{s&&(s.disconnect(),s=void 0)},u=ar(()=>B9(e),h=>{c(),a.value&&o&&h&&(s=new ResizeObserver(t),s.observe(h,r))},{immediate:!0,flush:"post"}),f=()=>{c(),u()};return CN(f),{isSupported:a,stop:f}}var J3;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(J3||(J3={}));var jle=Object.defineProperty,Q3=Object.getOwnPropertySymbols,qle=Object.prototype.hasOwnProperty,Yle=Object.prototype.propertyIsEnumerable,Z3=(e,t,n)=>t in e?jle(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$le=(e,t)=>{for(var n in t||(t={}))qle.call(t,n)&&Z3(e,n,t[n]);if(Q3)for(var n of Q3(t))Yle.call(t,n)&&Z3(e,n,t[n]);return e};const Xle={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};$le({linear:zle},Xle);const hS=e=>e===void 0,Kle=e=>typeof Element>"u"?!1:e instanceof Element,Jle=e=>Mi(e)?!Number.isNaN(Number(e)):!1,ez=e=>Object.keys(e);class Qle extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Zle(e,t){throw new Qle(`[${e}] ${t}`)}const M9=(e="")=>e.split(" ").filter(t=>!!t.trim()),tz=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},eue=(e,t)=>{!e||!t.trim()||e.classList.add(...M9(t))},tue=(e,t)=>{!e||!t.trim()||e.classList.remove(...M9(t))},nue=(e,t)=>{var n;if(!Ea||!e||!t)return"";let i=eu(t);i==="float"&&(i="cssFloat");try{const o=e.style[i];if(o)return o;const r=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return r?r[i]:""}catch{return e.style[i]}};function TN(e,t="px"){if(!e)return"";if(gp(e)||Jle(e))return`${e}${t}`;if(Mi(e))return e}let XT;const iue=e=>{var t;if(!Ea)return 0;if(XT!==void 0)return XT;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 i=n.offsetWidth;n.style.overflow="scroll";const o=document.createElement("div");o.style.width="100%",n.appendChild(o);const r=o.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),XT=i-r,XT};/*! Element Plus Icons Vue v2.0.10 */var mf=(e,t)=>{let n=e.__vccOpts||e;for(let[i,o]of t)n[i]=o;return n},oue={name:"CircleCheck"},rue={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},sue=hi("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),aue=hi("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1),cue=[sue,aue];function lue(e,t,n,i,o,r){return Et(),xn("svg",rue,cue)}var uue=mf(oue,[["render",lue],["__file","circle-check.vue"]]),fue={name:"CircleCloseFilled"},due={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},hue=hi("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336L512 457.664z"},null,-1),pue=[hue];function mue(e,t,n,i,o,r){return Et(),xn("svg",due,pue)}var F9=mf(fue,[["render",mue],["__file","circle-close-filled.vue"]]),_ue={name:"CircleClose"},gue={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},yue=hi("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"},null,-1),Aue=hi("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),bue=[yue,Aue];function Cue(e,t,n,i,o,r){return Et(),xn("svg",gue,bue)}var z9=mf(_ue,[["render",Cue],["__file","circle-close.vue"]]),Tue={name:"Close"},Eue={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},xue=hi("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),wue=[xue];function Sue(e,t,n,i,o,r){return Et(),xn("svg",Eue,wue)}var U9=mf(Tue,[["render",Sue],["__file","close.vue"]]),vue={name:"Hide"},Due={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Iue=hi("path",{d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z",fill:"currentColor"},null,-1),Pue=hi("path",{d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z",fill:"currentColor"},null,-1),Oue=[Iue,Pue];function Lue(e,t,n,i,o,r){return Et(),xn("svg",Due,Oue)}var Bue=mf(vue,[["render",Lue],["__file","hide.vue"]]),Rue={name:"InfoFilled"},Nue={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Mue=hi("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1),Fue=[Mue];function zue(e,t,n,i,o,r){return Et(),xn("svg",Nue,Fue)}var H9=mf(Rue,[["render",zue],["__file","info-filled.vue"]]),Uue={name:"Loading"},Hue={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Vue=hi("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),kue=[Vue];function Gue(e,t,n,i,o,r){return Et(),xn("svg",Hue,kue)}var V9=mf(Uue,[["render",Gue],["__file","loading.vue"]]),Wue={name:"SuccessFilled"},jue={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},que=hi("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1),Yue=[que];function $ue(e,t,n,i,o,r){return Et(),xn("svg",jue,Yue)}var k9=mf(Wue,[["render",$ue],["__file","success-filled.vue"]]),Xue={name:"View"},Kue={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Jue=hi("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),Que=[Jue];function Zue(e,t,n,i,o,r){return Et(),xn("svg",Kue,Que)}var efe=mf(Xue,[["render",Zue],["__file","view.vue"]]),tfe={name:"WarningFilled"},nfe={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ife=hi("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1),ofe=[ife];function rfe(e,t,n,i,o,r){return Et(),xn("svg",nfe,ofe)}var G9=mf(tfe,[["render",rfe],["__file","warning-filled.vue"]]);const W9="__epPropKey",Ca=e=>e,sfe=e=>Pi(e)&&!!e[W9],j9=(e,t)=>{if(!Pi(e)||sfe(e))return e;const{values:n,required:i,default:o,type:r,validator:s}=e,c={type:r,required:!!i,validator:n||s?u=>{let f=!1,h=[];if(n&&(h=Array.from(n),ai(e,"default")&&h.push(o),f||(f=h.includes(u))),s&&(f||(f=s(u))),!f&&h.length>0){const _=[...new Set(h)].map(g=>JSON.stringify(g)).join(", ");eie(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${_}], got value ${JSON.stringify(u)}.`)}return f}:void 0,[W9]:!0};return ai(e,"default")&&(c.default=o),c},dl=e=>P9(Object.entries(e).map(([t,n])=>[t,j9(n,t)])),$y=Ca([String,Object,Function]),afe={Close:U9,SuccessFilled:k9,InfoFilled:H9,WarningFilled:G9,CircleCloseFilled:F9},nz={success:k9,warning:G9,error:F9,info:H9},cfe={validating:V9,success:uue,error:z9},R_=(e,t)=>{if(e.install=n=>{for(const i of[e,...Object.values(t??{})])n.component(i.name,i)},t)for(const[n,i]of Object.entries(t))e[n]=i;return e},lfe=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),EN=e=>(e.install=Qs,e),xN={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"},xd="update:modelValue",ufe=["","default","small","large"];var uw=(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))(uw||{});const ffe=e=>/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(e),q9=e=>e,dfe=["class","style"],hfe=/^on[A-Z]/,pfe=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,i=mt(()=>((n==null?void 0:n.value)||[]).concat(dfe)),o=du();return mt(o?()=>{var r;return P9(Object.entries((r=o.proxy)==null?void 0:r.$attrs).filter(([s])=>!i.value.includes(s)&&!(t&&hfe.test(s))))}:()=>({}))},Y9=Symbol("buttonGroupContextKey"),y0=Symbol("checkboxGroupContextKey"),$9=Symbol(),wN=Symbol("formContextKey"),X9=Symbol("formItemContextKey"),mfe=Symbol("rowContextKey"),K9=e=>{const t=du();return mt(()=>{var n,i;return(i=((n=t.proxy)==null?void 0:n.$props)[e])!=null?i:void 0})},pS=Xn();function Fp(e,t=void 0){const n=du()?sr($9,pS):pS;return e?mt(()=>{var i,o;return(o=(i=n.value)==null?void 0:i[e])!=null?o:t}):n}const _fe=(e,t,n=!1)=>{var i;const o=!!du(),r=o?Fp():void 0,s=(i=t==null?void 0:t.provide)!=null?i:o?cd:void 0;if(!s)return;const a=mt(()=>{const c=Oe(e);return r!=null&&r.value?gfe(r.value,c):c});return s($9,a),(n||!pS.value)&&(pS.value=a.value),a},gfe=(e,t)=>{var n;const i=[...new Set([...ez(e),...ez(t)])],o={};for(const r of i)o[r]=(n=t[r])!=null?n:e[r];return o},GC=j9({type:String,values:ufe,required:!1}),mS=(e,t={})=>{const n=Xn(void 0),i=t.prop?n:K9("size"),o=t.global?n:Fp("size"),r=t.form?{size:void 0}:sr(wN,void 0),s=t.formItem?{size:void 0}:sr(X9,void 0);return mt(()=>i.value||Oe(e)||(s==null?void 0:s.size)||(r==null?void 0:r.size)||o.value||"")},Fv=e=>{const t=K9("disabled"),n=sr(wN,void 0);return mt(()=>t.value||Oe(e)||(n==null?void 0:n.disabled)||!1)},RL=({from:e,replacement:t,scope:n,version:i,ref:o,type:r="API"},s)=>{ar(()=>Oe(s),a=>{},{immediate:!0})},SN="el",yfe="is-",rm=(e,t,n,i,o)=>{let r=`${e}-${t}`;return n&&(r+=`-${n}`),i&&(r+=`__${i}`),o&&(r+=`--${o}`),r},xa=e=>{const t=Fp("namespace",SN);return{namespace:t,b:(p="")=>rm(t.value,e,p,"",""),e:p=>p?rm(t.value,e,"",p,""):"",m:p=>p?rm(t.value,e,"","",p):"",be:(p,y)=>p&&y?rm(t.value,e,p,y,""):"",em:(p,y)=>p&&y?rm(t.value,e,"",p,y):"",bm:(p,y)=>p&&y?rm(t.value,e,p,"",y):"",bem:(p,y,b)=>p&&y&&b?rm(t.value,e,p,y,b):"",is:(p,...y)=>{const b=y.length>=1?y[0]:!0;return p&&b?`${yfe}${p}`:""},cssVar:p=>{const y={};for(const b in p)p[b]&&(y[`--${t.value}-${b}`]=p[b]);return y},cssVarName:p=>`--${t.value}-${p}`,cssVarBlock:p=>{const y={};for(const b in p)p[b]&&(y[`--${t.value}-${e}-${b}`]=p[b]);return y},cssVarBlockName:p=>`--${t.value}-${e}-${p}`}},iz={prefix:Math.floor(Math.random()*1e4),current:0},Afe=Symbol("elIdInjection"),bfe=()=>du()?sr(Afe,iz):iz,NL=e=>{const t=bfe(),n=Fp("namespace",SN);return mt(()=>Oe(e)||`${n.value}-id-${t.prefix}-${t.current++}`)},WC=()=>{const e=sr(wN,void 0),t=sr(X9,void 0);return{form:e,formItem:t}},vN=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:i})=>{n||(n=Xn(!1)),i||(i=Xn(!1));const o=Xn();let r;const s=mt(()=>{var a;return!!(!e.label&&t&&t.inputIds&&((a=t.inputIds)==null?void 0:a.length)<=1)});return fu(()=>{r=ar([Wb(e,"id"),n],([a,c])=>{const u=a??(c?void 0:NL().value);u!==o.value&&(t!=null&&t.removeInputId&&(o.value&&t.removeInputId(o.value),!(i!=null&&i.value)&&!c&&u&&t.addInputId(u)),o.value=u)},{immediate:!0})}),rN(()=>{r&&r(),t!=null&&t.removeInputId&&o.value&&t.removeInputId(o.value)}),{isLabeledByFormItem:s,inputId:o}};var Cfe={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const Tfe=e=>(t,n)=>Efe(t,n,Oe(e)),Efe=(e,t,n)=>xce(n,e,e).replace(/\{(\w+)\}/g,(i,o)=>{var r;return`${(r=t==null?void 0:t[o])!=null?r:`{${o}}`}`}),xfe=e=>{const t=mt(()=>Oe(e).name),n=No(e)?e:Xn(e);return{lang:t,locale:n,t:Tfe(e)}},wfe=()=>{const e=Fp("locale");return xfe(mt(()=>e.value||Cfe))},Sfe=e=>{No(e)||Zle("[useLockscreen]","You need to pass a ref param to this function");const t=xa("popup"),n=w6(()=>t.bm("parent","hidden"));if(!Ea||tz(document.body,n.value))return;let i=0,o=!1,r="0";const s=()=>{setTimeout(()=>{tue(document.body,n.value),o&&(document.body.style.width=r)},200)};ar(e,a=>{if(!a){s();return}o=!tz(document.body,n.value),o&&(r=document.body.style.width),i=iue(t.namespace.value);const c=document.documentElement.clientHeight0&&(c||u==="scroll")&&o&&(document.body.style.width=`calc(100% - ${i}px)`),eue(document.body,n.value)}),s6(()=>s())},vfe=e=>{if(!e)return{onClick:Qs,onMousedown:Qs,onMouseup:Qs};let t=!1,n=!1;return{onClick:s=>{t&&n&&e(s),t=n=!1},onMousedown:s=>{t=s.target===s.currentTarget},onMouseup:s=>{n=s.target===s.currentTarget}}};let Yg=[];const oz=e=>{const t=e;t.key===xN.esc&&Yg.forEach(n=>n(t))},Dfe=e=>{fu(()=>{Yg.length===0&&document.addEventListener("keydown",oz),Ea&&Yg.push(e)}),HC(()=>{Yg=Yg.filter(t=>t!==e),Yg.length===0&&Ea&&document.removeEventListener("keydown",oz)})},rz=Xn(0),J9=()=>{const e=Fp("zIndex",2e3),t=mt(()=>e.value+rz.value);return{initialZIndex:e,currentZIndex:t,nextZIndex:()=>(rz.value++,t.value)}};function Ife(e){const t=Xn();function n(){if(e.value==null)return;const{selectionStart:o,selectionEnd:r,value:s}=e.value;if(o==null||r==null)return;const a=s.slice(0,Math.max(0,o)),c=s.slice(Math.max(0,r));t.value={selectionStart:o,selectionEnd:r,value:s,beforeTxt:a,afterTxt:c}}function i(){if(e.value==null||t.value==null)return;const{value:o}=e.value,{beforeTxt:r,afterTxt:s,selectionStart:a}=t.value;if(r==null||s==null||a==null)return;let c=o.length;if(o.endsWith(s))c=o.length-s.length;else if(o.startsWith(r))c=r.length;else{const u=r[a-1],f=o.indexOf(u,a-1);f!==-1&&(c=f+1)}e.value.setSelectionRange(c,c)}return[n,i]}var hl=(e,t)=>{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n};const Pfe=dl({size:{type:Ca([Number,String])},color:{type:String}}),Ofe=ho({name:"ElIcon",inheritAttrs:!1}),Lfe=ho({...Ofe,props:Pfe,setup(e){const t=e,n=xa("icon"),i=mt(()=>{const{size:o,color:r}=t;return!o&&!r?{}:{fontSize:hS(o)?void 0:TN(o),"--color":r}});return(o,r)=>(Et(),xn("i",Cy({class:Oe(n).b(),style:Oe(i)},o.$attrs),[Xo(o.$slots,"default")],16))}});var Bfe=hl(Lfe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const Wu=R_(Bfe);let Tl;const Rfe=` + */const Jg=typeof window<"u";function lre(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const eo=Object.assign;function DI(e,t){const n={};for(const i in t){const o=t[i];n[i]=su(o)?o.map(e):e(o)}return n}const Tb=()=>{},su=Array.isArray,ure=/\/$/,fre=e=>e.replace(ure,"");function II(e,t,n="/"){let i,o={},r="",s="";const a=t.indexOf("#");let c=t.indexOf("?");return a=0&&(c=-1),c>-1&&(i=t.slice(0,c),r=t.slice(c+1,a>-1?a:t.length),o=e(r)),a>-1&&(i=i||t.slice(0,a),s=t.slice(a,t.length)),i=mre(i??t,n),{fullPath:i+(r&&"?")+r+s,path:i,query:o,hash:s}}function dre(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function A3(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function hre(e,t,n){const i=t.matched.length-1,o=n.matched.length-1;return i>-1&&i===o&&Ky(t.matched[i],n.matched[o])&&v9(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ky(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function v9(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!pre(e[n],t[n]))return!1;return!0}function pre(e,t){return su(e)?b3(e,t):su(t)?b3(t,e):e===t}function b3(e,t){return su(t)?e.length===t.length&&e.every((n,i)=>n===t[i]):e.length===1&&e[0]===t}function mre(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/");let o=n.length-1,r,s;for(r=0;r1&&o--;else break;return n.slice(0,o).join("/")+"/"+i.slice(r-(r===i.length?1:0)).join("/")}var nC;(function(e){e.pop="pop",e.push="push"})(nC||(nC={}));var Eb;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Eb||(Eb={}));function _re(e){if(!e)if(Jg){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),fre(e)}const gre=/^[^#]+#/;function yre(e,t){return e.replace(gre,"#")+t}function Are(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}const zv=()=>({left:window.pageXOffset,top:window.pageYOffset});function bre(e){let t;if("el"in e){const n=e.el,i=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Are(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function C3(e,t){return(history.state?history.state.position-t:-1)+e}const DL=new Map;function Cre(e,t){DL.set(e,t)}function Tre(e){const t=DL.get(e);return DL.delete(e),t}let Ere=()=>location.protocol+"//"+location.host;function D9(e,t){const{pathname:n,search:i,hash:o}=t,r=e.indexOf("#");if(r>-1){let a=o.includes(e.slice(r))?e.slice(r).length:1,c=o.slice(a);return c[0]!=="/"&&(c="/"+c),A3(c,"")}return A3(n,e)+i+o}function xre(e,t,n,i){let o=[],r=[],s=null;const a=({state:m})=>{const g=D9(e,location),p=n.value,y=t.value;let b=0;if(m){if(n.value=g,t.value=m,s&&s===p){s=null;return}b=y?m.position-y.position:0}else i(g);o.forEach(C=>{C(n.value,p,{delta:b,type:nC.pop,direction:b?b>0?Eb.forward:Eb.back:Eb.unknown})})};function c(){s=n.value}function u(m){o.push(m);const g=()=>{const p=o.indexOf(m);p>-1&&o.splice(p,1)};return r.push(g),g}function f(){const{history:m}=window;m.state&&m.replaceState(eo({},m.state,{scroll:zv()}),"")}function h(){for(const m of r)m();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",f),{pauseListeners:c,listen:u,destroy:h}}function T3(e,t,n,i=!1,o=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:o?zv():null}}function wre(e){const{history:t,location:n}=window,i={value:D9(e,n)},o={value:t.state};o.value||r(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(c,u,f){const h=e.indexOf("#"),m=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:Ere()+e+c;try{t[f?"replaceState":"pushState"](u,"",m),o.value=u}catch(g){console.error(g),n[f?"replace":"assign"](m)}}function s(c,u){const f=eo({},t.state,T3(o.value.back,c,o.value.forward,!0),u,{position:o.value.position});r(c,f,!0),i.value=c}function a(c,u){const f=eo({},o.value,t.state,{forward:c,scroll:zv()});r(f.current,f,!0);const h=eo({},T3(i.value,c,null),{position:f.position+1},u);r(c,h,!1),i.value=c}return{location:i,state:o,push:a,replace:s}}function Sre(e){e=_re(e);const t=wre(e),n=xre(e,t.state,t.location,t.replace);function i(r,s=!0){s||n.pauseListeners(),history.go(r)}const o=eo({location:"",base:e,go:i,createHref:yre.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function vre(e){return typeof e=="string"||e&&typeof e=="object"}function I9(e){return typeof e=="string"||typeof e=="symbol"}const fh={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},P9=Symbol("");var E3;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(E3||(E3={}));function Jy(e,t){return eo(new Error,{type:e,[P9]:!0},t)}function Mf(e,t){return e instanceof Error&&P9 in e&&(t==null||!!(e.type&t))}const x3="[^/]+?",Dre={sensitive:!1,strict:!1,start:!0,end:!0},Ire=/[.+*?^${}()[\]/\\]/g;function Pre(e,t){const n=eo({},Dre,t),i=[];let o=n.start?"^":"";const r=[];for(const u of e){const f=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let h=0;ht.length?t.length===1&&t[0]===40+40?1:-1:0}function Lre(e,t){let n=0;const i=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const Bre={type:0,value:""},Rre=/[a-zA-Z0-9_]/;function Nre(e){if(!e)return[[]];if(e==="/")return[[Bre]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=0,i=n;const o=[];let r;function s(){r&&o.push(r),r=[]}let a=0,c,u="",f="";function h(){u&&(n===0?r.push({type:0,value:u}):n===1||n===2||n===3?(r.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:u,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function m(){u+=c}for(;a{s(E)}:Tb}function s(f){if(I9(f)){const h=i.get(f);h&&(i.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(s),h.alias.forEach(s))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&i.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function a(){return n}function c(f){let h=0;for(;h=0&&(f.record.path!==n[h].record.path||!O9(f,n[h]));)h++;n.splice(h,0,f),f.record.name&&!v3(f)&&i.set(f.record.name,f)}function u(f,h){let m,g={},p,y;if("name"in f&&f.name){if(m=i.get(f.name),!m)throw Jy(1,{location:f});y=m.record.name,g=eo(S3(h.params,m.keys.filter(E=>!E.optional).map(E=>E.name)),f.params&&S3(f.params,m.keys.map(E=>E.name))),p=m.stringify(g)}else if("path"in f)p=f.path,m=n.find(E=>E.re.test(p)),m&&(g=m.parse(p),y=m.record.name);else{if(m=h.name?i.get(h.name):n.find(E=>E.re.test(h.path)),!m)throw Jy(1,{location:f,currentLocation:h});y=m.record.name,g=eo({},h.params,f.params),p=m.stringify(g)}const b=[];let C=m;for(;C;)b.unshift(C.record),C=C.parent;return{name:y,path:p,params:g,matched:b,meta:Hre(b)}}return e.forEach(f=>r(f)),{addRoute:r,resolve:u,removeRoute:s,getRoutes:a,getRecordMatcher:o}}function S3(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function zre(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Ure(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Ure(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]=typeof n=="boolean"?n:n[i];return t}function v3(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Hre(e){return e.reduce((t,n)=>eo(t,n.meta),{})}function D3(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}function O9(e,t){return t.children.some(n=>n===e||O9(e,n))}const L9=/#/g,Vre=/&/g,kre=/\//g,Gre=/=/g,Wre=/\?/g,B9=/\+/g,jre=/%5B/g,qre=/%5D/g,R9=/%5E/g,$re=/%60/g,N9=/%7B/g,Yre=/%7C/g,M9=/%7D/g,Xre=/%20/g;function yN(e){return encodeURI(""+e).replace(Yre,"|").replace(jre,"[").replace(qre,"]")}function Kre(e){return yN(e).replace(N9,"{").replace(M9,"}").replace(R9,"^")}function IL(e){return yN(e).replace(B9,"%2B").replace(Xre,"+").replace(L9,"%23").replace(Vre,"%26").replace($re,"`").replace(N9,"{").replace(M9,"}").replace(R9,"^")}function Jre(e){return IL(e).replace(Gre,"%3D")}function Qre(e){return yN(e).replace(L9,"%23").replace(Wre,"%3F")}function Zre(e){return e==null?"":Qre(e).replace(kre,"%2F")}function mS(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function ese(e){const t={};if(e===""||e==="?")return t;const i=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;or&&IL(r)):[i&&IL(i)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function tse(e){const t={};for(const n in e){const i=e[n];i!==void 0&&(t[n]=su(i)?i.map(o=>o==null?null:""+o):i==null?i:""+i)}return t}const nse=Symbol(""),P3=Symbol(""),AN=Symbol(""),F9=Symbol(""),PL=Symbol("");function X0(){let e=[];function t(i){return e.push(i),()=>{const o=e.indexOf(i);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Vh(e,t,n,i,o){const r=i&&(i.enterCallbacks[o]=i.enterCallbacks[o]||[]);return()=>new Promise((s,a)=>{const c=h=>{h===!1?a(Jy(4,{from:n,to:t})):h instanceof Error?a(h):vre(h)?a(Jy(2,{from:t,to:h})):(r&&i.enterCallbacks[o]===r&&typeof h=="function"&&r.push(h),s())},u=e.call(i&&i.instances[o],t,n,c);let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(h=>a(h))})}function PI(e,t,n,i){const o=[];for(const r of e)for(const s in r.components){let a=r.components[s];if(!(t!=="beforeRouteEnter"&&!r.instances[s]))if(ise(a)){const u=(a.__vccOpts||a)[t];u&&o.push(Vh(u,n,i,r,s))}else{let c=a();o.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${r.path}"`));const f=lre(u)?u.default:u;r.components[s]=f;const m=(f.__vccOpts||f)[t];return m&&Vh(m,n,i,r,s)()}))}}return o}function ise(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function O3(e){const t=er(AN),n=er(F9),i=it(()=>t.resolve(pe(e.to))),o=it(()=>{const{matched:c}=i.value,{length:u}=c,f=c[u-1],h=n.matched;if(!f||!h.length)return-1;const m=h.findIndex(Ky.bind(null,f));if(m>-1)return m;const g=L3(c[u-2]);return u>1&&L3(f)===g&&h[h.length-1].path!==g?h.findIndex(Ky.bind(null,c[u-2])):m}),r=it(()=>o.value>-1&&ase(n.params,i.value.params)),s=it(()=>o.value>-1&&o.value===n.matched.length-1&&v9(n.params,i.value.params));function a(c={}){return sse(c)?t[pe(e.replace)?"replace":"push"](pe(e.to)).catch(Tb):Promise.resolve()}return{route:i,href:it(()=>i.value.href),isActive:r,isExactActive:s,navigate:a}}const ose=fi({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:O3,setup(e,{slots:t}){const n=b0(O3(e)),{options:i}=er(AN),o=it(()=>({[B3(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[B3(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:Mv("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),rse=ose;function sse(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 ase(e,t){for(const n in t){const i=t[n],o=e[n];if(typeof i=="string"){if(i!==o)return!1}else if(!su(o)||o.length!==i.length||i.some((r,s)=>r!==o[s]))return!1}return!0}function L3(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const B3=(e,t,n)=>e??t??n,cse=fi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=er(PL),o=it(()=>e.route||i.value),r=er(P3,0),s=it(()=>{let u=pe(r);const{matched:f}=o.value;let h;for(;(h=f[u])&&!h.components;)u++;return u}),a=it(()=>o.value.matched[s.value]);Zu(P3,it(()=>s.value+1)),Zu(nse,a),Zu(PL,o);const c=Fn();return _o(()=>[c.value,a.value,e.name],([u,f,h],[m,g,p])=>{f&&(f.instances[h]=u,g&&g!==f&&u&&u===m&&(f.leaveGuards.size||(f.leaveGuards=g.leaveGuards),f.updateGuards.size||(f.updateGuards=g.updateGuards))),u&&f&&(!g||!Ky(f,g)||!m)&&(f.enterCallbacks[h]||[]).forEach(y=>y(u))},{flush:"post"}),()=>{const u=o.value,f=e.name,h=a.value,m=h&&h.components[f];if(!m)return R3(n.default,{Component:m,route:u});const g=h.props[f],p=g?g===!0?u.params:typeof g=="function"?g(u):g:null,b=Mv(m,eo({},p,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return R3(n.default,{Component:b,route:u})||b}}});function R3(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const z9=cse;function lse(e){const t=Fre(e.routes,e),n=e.parseQuery||ese,i=e.stringifyQuery||I3,o=e.history,r=X0(),s=X0(),a=X0(),c=i_(fh);let u=fh;Jg&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=DI.bind(null,X=>""+X),h=DI.bind(null,Zre),m=DI.bind(null,mS);function g(X,$){let se,ue;return I9(X)?(se=t.getRecordMatcher(X),ue=$):ue=X,t.addRoute(ue,se)}function p(X){const $=t.getRecordMatcher(X);$&&t.removeRoute($)}function y(){return t.getRoutes().map(X=>X.record)}function b(X){return!!t.getRecordMatcher(X)}function C(X,$){if($=eo({},$||c.value),typeof X=="string"){const Q=II(n,X,$.path),ne=t.resolve({path:Q.path},$),fe=o.createHref(Q.fullPath);return eo(Q,ne,{params:m(ne.params),hash:mS(Q.hash),redirectedFrom:void 0,href:fe})}let se;if("path"in X)se=eo({},X,{path:II(n,X.path,$.path).path});else{const Q=eo({},X.params);for(const ne in Q)Q[ne]==null&&delete Q[ne];se=eo({},X,{params:h(X.params)}),$.params=h($.params)}const ue=t.resolve(se,$),re=X.hash||"";ue.params=f(m(ue.params));const he=dre(i,eo({},X,{hash:Kre(re),path:ue.path})),ce=o.createHref(he);return eo({fullPath:he,hash:re,query:i===I3?tse(X.query):X.query||{}},ue,{redirectedFrom:void 0,href:ce})}function E(X){return typeof X=="string"?II(n,X,c.value.path):eo({},X)}function w(X,$){if(u!==X)return Jy(8,{from:$,to:X})}function S(X){return z(X)}function P(X){return S(eo(E(X),{replace:!0}))}function L(X){const $=X.matched[X.matched.length-1];if($&&$.redirect){const{redirect:se}=$;let ue=typeof se=="function"?se(X):se;return typeof ue=="string"&&(ue=ue.includes("?")||ue.includes("#")?ue=E(ue):{path:ue},ue.params={}),eo({query:X.query,hash:X.hash,params:"path"in ue?{}:X.params},ue)}}function z(X,$){const se=u=C(X),ue=c.value,re=X.state,he=X.force,ce=X.replace===!0,Q=L(se);if(Q)return z(eo(E(Q),{state:typeof Q=="object"?eo({},re,Q.state):re,force:he,replace:ce}),$||se);const ne=se;ne.redirectedFrom=$;let fe;return!he&&hre(i,ue,se)&&(fe=Jy(16,{to:ne,from:ue}),W(ue,ue,!0,!1)),(fe?Promise.resolve(fe):F(ne,ue)).catch(_e=>Mf(_e)?Mf(_e,2)?_e:G(_e):V(_e,ne,ue)).then(_e=>{if(_e){if(Mf(_e,2))return z(eo({replace:ce},E(_e.to),{state:typeof _e.to=="object"?eo({},re,_e.to.state):re,force:he}),$||ne)}else _e=v(ne,ue,!0,ce,re);return U(ne,ue,_e),_e})}function R(X,$){const se=w(X,$);return se?Promise.reject(se):Promise.resolve()}function F(X,$){let se;const[ue,re,he]=use(X,$);se=PI(ue.reverse(),"beforeRouteLeave",X,$);for(const Q of ue)Q.leaveGuards.forEach(ne=>{se.push(Vh(ne,X,$))});const ce=R.bind(null,X,$);return se.push(ce),mg(se).then(()=>{se=[];for(const Q of r.list())se.push(Vh(Q,X,$));return se.push(ce),mg(se)}).then(()=>{se=PI(re,"beforeRouteUpdate",X,$);for(const Q of re)Q.updateGuards.forEach(ne=>{se.push(Vh(ne,X,$))});return se.push(ce),mg(se)}).then(()=>{se=[];for(const Q of X.matched)if(Q.beforeEnter&&!$.matched.includes(Q))if(su(Q.beforeEnter))for(const ne of Q.beforeEnter)se.push(Vh(ne,X,$));else se.push(Vh(Q.beforeEnter,X,$));return se.push(ce),mg(se)}).then(()=>(X.matched.forEach(Q=>Q.enterCallbacks={}),se=PI(he,"beforeRouteEnter",X,$),se.push(ce),mg(se))).then(()=>{se=[];for(const Q of s.list())se.push(Vh(Q,X,$));return se.push(ce),mg(se)}).catch(Q=>Mf(Q,8)?Q:Promise.reject(Q))}function U(X,$,se){for(const ue of a.list())ue(X,$,se)}function v(X,$,se,ue,re){const he=w(X,$);if(he)return he;const ce=$===fh,Q=Jg?history.state:{};se&&(ue||ce?o.replace(X.fullPath,eo({scroll:ce&&Q&&Q.scroll},re)):o.push(X.fullPath,re)),c.value=X,W(X,$,se,ce),G()}let I;function _(){I||(I=o.listen((X,$,se)=>{if(!Y.listening)return;const ue=C(X),re=L(ue);if(re){z(eo(re,{replace:!0}),ue).catch(Tb);return}u=ue;const he=c.value;Jg&&Cre(C3(he.fullPath,se.delta),zv()),F(ue,he).catch(ce=>Mf(ce,12)?ce:Mf(ce,2)?(z(ce.to,ue).then(Q=>{Mf(Q,20)&&!se.delta&&se.type===nC.pop&&o.go(-1,!1)}).catch(Tb),Promise.reject()):(se.delta&&o.go(-se.delta,!1),V(ce,ue,he))).then(ce=>{ce=ce||v(ue,he,!1),ce&&(se.delta&&!Mf(ce,8)?o.go(-se.delta,!1):se.type===nC.pop&&Mf(ce,20)&&o.go(-1,!1)),U(ue,he,ce)}).catch(Tb)}))}let D=X0(),O=X0(),N;function V(X,$,se){G(X);const ue=O.list();return ue.length?ue.forEach(re=>re(X,$,se)):console.error(X),Promise.reject(X)}function k(){return N&&c.value!==fh?Promise.resolve():new Promise((X,$)=>{D.add([X,$])})}function G(X){return N||(N=!X,_(),D.list().forEach(([$,se])=>X?se(X):$()),D.reset()),X}function W(X,$,se,ue){const{scrollBehavior:re}=e;if(!Jg||!re)return Promise.resolve();const he=!se&&Tre(C3(X.fullPath,0))||(ue||!se)&&history.state&&history.state.scroll||null;return rc().then(()=>re(X,$,he)).then(ce=>ce&&bre(ce)).catch(ce=>V(ce,X,$))}const K=X=>o.go(X);let q;const te=new Set,Y={currentRoute:c,listening:!0,addRoute:g,removeRoute:p,hasRoute:b,getRoutes:y,resolve:C,options:e,push:S,replace:P,go:K,back:()=>K(-1),forward:()=>K(1),beforeEach:r.add,beforeResolve:s.add,afterEach:a.add,onError:O.add,isReady:k,install(X){const $=this;X.component("RouterLink",rse),X.component("RouterView",z9),X.config.globalProperties.$router=$,Object.defineProperty(X.config.globalProperties,"$route",{enumerable:!0,get:()=>pe(c)}),Jg&&!q&&c.value===fh&&(q=!0,S(o.location).catch(re=>{}));const se={};for(const re in fh)se[re]=it(()=>c.value[re]);X.provide(AN,$),X.provide(F9,b0(se)),X.provide(PL,c);const ue=X.unmount;te.add(X),X.unmount=function(){te.delete(X),te.size<1&&(u=fh,I&&I(),I=null,c.value=fh,q=!1,N=!1),ue()}}};return Y}function mg(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function use(e,t){const n=[],i=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let s=0;sKy(u,a))?i.push(a):n.push(a));const c=e.matched[s];c&&(t.matched.find(u=>Ky(u,c))||o.push(c))}return[n,i,o]}const fse=(e,t)=>{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n},dse={__name:"App",setup(e){return(t,n)=>(et(),ti(pe(z9)))}},hse=fse(dse,[["__scopeId","data-v-0969e94e"]]);var pse=typeof global=="object"&&global&&global.Object===Object&&global;const U9=pse;var mse=typeof self=="object"&&self&&self.Object===Object&&self,_se=U9||mse||Function("return this")();const Ud=_se;var gse=Ud.Symbol;const af=gse;var H9=Object.prototype,yse=H9.hasOwnProperty,Ase=H9.toString,K0=af?af.toStringTag:void 0;function bse(e){var t=yse.call(e,K0),n=e[K0];try{e[K0]=void 0;var i=!0}catch{}var o=Ase.call(e);return i&&(t?e[K0]=n:delete e[K0]),o}var Cse=Object.prototype,Tse=Cse.toString;function Ese(e){return Tse.call(e)}var xse="[object Null]",wse="[object Undefined]",N3=af?af.toStringTag:void 0;function T0(e){return e==null?e===void 0?wse:xse:N3&&N3 in Object(e)?bse(e):Ese(e)}function Qy(e){return e!=null&&typeof e=="object"}var Sse="[object Symbol]";function bN(e){return typeof e=="symbol"||Qy(e)&&T0(e)==Sse}function vse(e,t){for(var n=-1,i=e==null?0:e.length,o=Array(i);++n0){if(++t>=Kse)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function eae(e){return function(){return e}}var tae=function(){try{var e=U_(Object,"defineProperty");return e({},"",{}),e}catch{}}();const gS=tae;var nae=gS?function(e,t){return gS(e,"toString",{configurable:!0,enumerable:!1,value:eae(t),writable:!0})}:Pse;const iae=nae;var oae=Zse(iae);const rae=oae;var sae=9007199254740991,aae=/^(?:0|[1-9]\d*)$/;function CN(e,t){var n=typeof e;return t=t??sae,!!t&&(n=="number"||n!="symbol"&&aae.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=hae}function pae(e){return e!=null&&EN(e.length)&&!k9(e)}var mae=Object.prototype;function _ae(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||mae;return e===n}function gae(e,t){for(var n=-1,i=Array(e);++n-1}function Lce(e,t){var n=this.__data__,i=Uv(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}function Hd(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(a)?t>1?X9(a,t-1,n,i,o):Y9(o,a):i||(o[o.length]=a)}return o}function Jce(e){var t=e==null?0:e.length;return t?X9(e,1):[]}function Qce(e){return rae(dae(e,void 0,Jce),e+"")}function Zce(){this.__data__=new Hd,this.size=0}function ele(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function tle(e){return this.__data__.get(e)}function nle(e){return this.__data__.has(e)}var ile=200;function ole(e,t){var n=this.__data__;if(n instanceof Hd){var i=n.__data__;if(!oC||i.lengtha))return!1;var u=r.get(e),f=r.get(t);if(u&&f)return u==t&&f==e;var h=-1,m=!0,g=n&Dle?new yS:void 0;for(r.set(e,t),r.set(t,e);++htypeof e<"u",AS=e=>typeof e=="boolean",cue=e=>typeof e=="function",Tp=e=>typeof e=="number",lue=e=>typeof e=="string",uue=()=>{};Ia&&((rz=window==null?void 0:window.navigator)!=null&&rz.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Z9(e){return typeof e=="function"?e():pe(e)}function fue(e){return e}function vN(e){return qne()?(b6(e),!0):!1}function due(e,t=!0){Dc()?_u(e):t?e():rc(e)}function ML(e,t,n={}){const{immediate:i=!0}=n,o=Fn(!1);let r=null;function s(){r&&(clearTimeout(r),r=null)}function a(){o.value=!1,s()}function c(...u){s(),o.value=!0,r=setTimeout(()=>{o.value=!1,r=null,e(...u)},Z9(t))}return i&&(o.value=!0,Ia&&c()),vN(a),{isPending:o,start:c,stop:a}}function eW(e){var t;const n=Z9(e);return(t=n==null?void 0:n.$el)!=null?t:n}const tW=Ia?window:void 0;Ia&&window.document;Ia&&window.navigator;Ia&&window.location;function hue(...e){let t,n,i,o;if(lue(e[0])||Array.isArray(e[0])?([n,i,o]=e,t=tW):[t,n,i,o]=e,!t)return uue;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const r=[],s=()=>{r.forEach(f=>f()),r.length=0},a=(f,h,m)=>(f.addEventListener(h,m,o),()=>f.removeEventListener(h,m,o)),c=_o(()=>eW(t),f=>{s(),f&&r.push(...n.flatMap(h=>i.map(m=>a(f,h,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),s()};return vN(u),u}function pue(e,t=!1){const n=Fn(),i=()=>n.value=Boolean(e());return i(),due(i,t),n}function mue(e){return JSON.parse(JSON.stringify(e))}const FL=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},zL="__vueuse_ssr_handlers__";FL[zL]=FL[zL]||{};FL[zL];var sz=Object.getOwnPropertySymbols,_ue=Object.prototype.hasOwnProperty,gue=Object.prototype.propertyIsEnumerable,yue=(e,t)=>{var n={};for(var i in e)_ue.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&sz)for(var i of sz(e))t.indexOf(i)<0&&gue.call(e,i)&&(n[i]=e[i]);return n};function nW(e,t,n={}){const i=n,{window:o=tW}=i,r=yue(i,["window"]);let s;const a=pue(()=>o&&"ResizeObserver"in o),c=()=>{s&&(s.disconnect(),s=void 0)},u=_o(()=>eW(e),h=>{c(),a.value&&o&&h&&(s=new ResizeObserver(t),s.observe(h,r))},{immediate:!0,flush:"post"}),f=()=>{c(),u()};return vN(f),{isSupported:a,stop:f}}var az;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(az||(az={}));var Aue=Object.defineProperty,cz=Object.getOwnPropertySymbols,bue=Object.prototype.hasOwnProperty,Cue=Object.prototype.propertyIsEnumerable,lz=(e,t,n)=>t in e?Aue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tue=(e,t)=>{for(var n in t||(t={}))bue.call(t,n)&&lz(e,n,t[n]);if(cz)for(var n of cz(t))Cue.call(t,n)&&lz(e,n,t[n]);return e};const Eue={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};Tue({linear:fue},Eue);function xue(e,t,n,i={}){var o,r,s;const{clone:a=!1,passive:c=!1,eventName:u,deep:f=!1,defaultValue:h}=i,m=Dc(),g=n||(m==null?void 0:m.emit)||((o=m==null?void 0:m.$emit)==null?void 0:o.bind(m))||((s=(r=m==null?void 0:m.proxy)==null?void 0:r.$emit)==null?void 0:s.bind(m==null?void 0:m.proxy));let p=u;t||(t="modelValue"),p=u||p||`update:${t.toString()}`;const y=C=>a?cue(a)?a(C):mue(C):C,b=()=>aue(e[t])?y(e[t]):h;if(c){const C=b(),E=Fn(C);return _o(()=>e[t],w=>E.value=y(w)),_o(E,w=>{(w!==e[t]||f)&&g(p,w)},{deep:f}),E}else return it({get(){return b()},set(C){g(p,C)}})}const bS=e=>e===void 0,wue=e=>typeof Element>"u"?!1:e instanceof Element,Sue=e=>vi(e)?!Number.isNaN(Number(e)):!1,uz=e=>Object.keys(e),vue=e=>Object.entries(e);class Due extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Gv(e,t){throw new Due(`[${e}] ${t}`)}const iW=(e="")=>e.split(" ").filter(t=>!!t.trim()),fz=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Iue=(e,t)=>{!e||!t.trim()||e.classList.add(...iW(t))},Pue=(e,t)=>{!e||!t.trim()||e.classList.remove(...iW(t))},Oue=(e,t)=>{var n;if(!Ia||!e||!t)return"";let i=ru(t);i==="float"&&(i="cssFloat");try{const o=e.style[i];if(o)return o;const r=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return r?r[i]:""}catch{return e.style[i]}};function DN(e,t="px"){if(!e)return"";if(Tp(e)||Sue(e))return`${e}${t}`;if(vi(e))return e}let iE;const Lue=e=>{var t;if(!Ia)return 0;if(iE!==void 0)return iE;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 i=n.offsetWidth;n.style.overflow="scroll";const o=document.createElement("div");o.style.width="100%",n.appendChild(o);const r=o.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),iE=i-r,iE};/*! Element Plus Icons Vue v2.0.10 */var Ya=(e,t)=>{let n=e.__vccOpts||e;for(let[i,o]of t)n[i]=o;return n},Bue={name:"Check"},Rue={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Nue=gn("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"},null,-1),Mue=[Nue];function Fue(e,t,n,i,o,r){return et(),Pt("svg",Rue,Mue)}var oW=Ya(Bue,[["render",Fue],["__file","check.vue"]]),zue={name:"CircleCheck"},Uue={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Hue=gn("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),Vue=gn("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1),kue=[Hue,Vue];function Gue(e,t,n,i,o,r){return et(),Pt("svg",Uue,kue)}var IN=Ya(zue,[["render",Gue],["__file","circle-check.vue"]]),Wue={name:"CircleCloseFilled"},jue={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},que=gn("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336L512 457.664z"},null,-1),$ue=[que];function Yue(e,t,n,i,o,r){return et(),Pt("svg",jue,$ue)}var rW=Ya(Wue,[["render",Yue],["__file","circle-close-filled.vue"]]),Xue={name:"CircleClose"},Kue={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Jue=gn("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"},null,-1),Que=gn("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),Zue=[Jue,Que];function efe(e,t,n,i,o,r){return et(),Pt("svg",Kue,Zue)}var PN=Ya(Xue,[["render",efe],["__file","circle-close.vue"]]),tfe={name:"Close"},nfe={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},ife=gn("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),ofe=[ife];function rfe(e,t,n,i,o,r){return et(),Pt("svg",nfe,ofe)}var Wv=Ya(tfe,[["render",rfe],["__file","close.vue"]]),sfe={name:"Delete"},afe={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},cfe=gn("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z"},null,-1),lfe=[cfe];function ufe(e,t,n,i,o,r){return et(),Pt("svg",afe,lfe)}var ffe=Ya(sfe,[["render",ufe],["__file","delete.vue"]]),dfe={name:"Document"},hfe={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},pfe=gn("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32zm160 448h384v64H320v-64zm0-192h160v64H320v-64zm0 384h384v64H320v-64z"},null,-1),mfe=[pfe];function _fe(e,t,n,i,o,r){return et(),Pt("svg",hfe,mfe)}var gfe=Ya(dfe,[["render",_fe],["__file","document.vue"]]),yfe={name:"Hide"},Afe={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},bfe=gn("path",{d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2L371.2 588.8ZM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z",fill:"currentColor"},null,-1),Cfe=gn("path",{d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z",fill:"currentColor"},null,-1),Tfe=[bfe,Cfe];function Efe(e,t,n,i,o,r){return et(),Pt("svg",Afe,Tfe)}var xfe=Ya(yfe,[["render",Efe],["__file","hide.vue"]]),wfe={name:"InfoFilled"},Sfe={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},vfe=gn("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1),Dfe=[vfe];function Ife(e,t,n,i,o,r){return et(),Pt("svg",Sfe,Dfe)}var sW=Ya(wfe,[["render",Ife],["__file","info-filled.vue"]]),Pfe={name:"Loading"},Ofe={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Lfe=gn("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1),Bfe=[Lfe];function Rfe(e,t,n,i,o,r){return et(),Pt("svg",Ofe,Bfe)}var aW=Ya(Pfe,[["render",Rfe],["__file","loading.vue"]]),Nfe={name:"SuccessFilled"},Mfe={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Ffe=gn("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1),zfe=[Ffe];function Ufe(e,t,n,i,o,r){return et(),Pt("svg",Mfe,zfe)}var cW=Ya(Nfe,[["render",Ufe],["__file","success-filled.vue"]]),Hfe={name:"View"},Vfe={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},kfe=gn("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1),Gfe=[kfe];function Wfe(e,t,n,i,o,r){return et(),Pt("svg",Vfe,Gfe)}var jfe=Ya(Hfe,[["render",Wfe],["__file","view.vue"]]),qfe={name:"WarningFilled"},$fe={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Yfe=gn("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1),Xfe=[Yfe];function Kfe(e,t,n,i,o,r){return et(),Pt("svg",$fe,Xfe)}var ON=Ya(qfe,[["render",Kfe],["__file","warning-filled.vue"]]),Jfe={name:"ZoomIn"},Qfe={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},Zfe=gn("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zm-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96z"},null,-1),ede=[Zfe];function tde(e,t,n,i,o,r){return et(),Pt("svg",Qfe,ede)}var nde=Ya(Jfe,[["render",tde],["__file","zoom-in.vue"]]);const lW="__epPropKey",Jn=e=>e,ide=e=>Fi(e)&&!!e[lW],uW=(e,t)=>{if(!Fi(e)||ide(e))return e;const{values:n,required:i,default:o,type:r,validator:s}=e,c={type:r,required:!!i,validator:n||s?u=>{let f=!1,h=[];if(n&&(h=Array.from(n),pi(e,"default")&&h.push(o),f||(f=h.includes(u))),s&&(f||(f=s(u))),!f&&h.length>0){const m=[...new Set(h)].map(g=>JSON.stringify(g)).join(", ");Eie(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${m}], got value ${JSON.stringify(u)}.`)}return f}:void 0,[lW]:!0};return pi(e,"default")&&(c.default=o),c},gs=e=>Q9(Object.entries(e).map(([t,n])=>[t,uW(n,t)])),Zy=Jn([String,Object,Function]),ode={Close:Wv,SuccessFilled:cW,InfoFilled:sW,WarningFilled:ON,CircleCloseFilled:rW},dz={success:cW,warning:ON,error:rW,info:sW},rde={validating:aW,success:IN,error:PN},kd=(e,t)=>{if(e.install=n=>{for(const i of[e,...Object.values(t??{})])n.component(i.name,i)},t)for(const[n,i]of Object.entries(t))e[n]=i;return e},sde=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),LN=e=>(e.install=Li,e),BN={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"},vd="update:modelValue",ade=["","default","small","large"];var gw=(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))(gw||{});const cde=e=>/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(e),rC=e=>e,lde=["class","style"],ude=/^on[A-Z]/,fde=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,i=it(()=>((n==null?void 0:n.value)||[]).concat(lde)),o=Dc();return it(o?()=>{var r;return Q9(Object.entries((r=o.proxy)==null?void 0:r.$attrs).filter(([s])=>!i.value.includes(s)&&!(t&&ude.test(s))))}:()=>({}))},fW=Symbol("buttonGroupContextKey"),E0=Symbol("checkboxGroupContextKey"),dW=Symbol(),RN=Symbol("formContextKey"),hW=Symbol("formItemContextKey"),dde=Symbol("rowContextKey"),pW=Symbol("uploadContextKey"),mW=e=>{const t=Dc();return it(()=>{var n,i;return(i=((n=t.proxy)==null?void 0:n.$props)[e])!=null?i:void 0})},CS=Fn();function Vp(e,t=void 0){const n=Dc()?er(dW,CS):CS;return e?it(()=>{var i,o;return(o=(i=n.value)==null?void 0:i[e])!=null?o:t}):n}const hde=(e,t,n=!1)=>{var i;const o=!!Dc(),r=o?Vp():void 0,s=(i=t==null?void 0:t.provide)!=null?i:o?Zu:void 0;if(!s)return;const a=it(()=>{const c=pe(e);return r!=null&&r.value?pde(r.value,c):c});return s(dW,a),(n||!CS.value)&&(CS.value=a.value),a},pde=(e,t)=>{var n;const i=[...new Set([...uz(e),...uz(t)])],o={};for(const r of i)o[r]=(n=t[r])!=null?n:e[r];return o},JC=uW({type:String,values:ade,required:!1}),TS=(e,t={})=>{const n=Fn(void 0),i=t.prop?n:mW("size"),o=t.global?n:Vp("size"),r=t.form?{size:void 0}:er(RN,void 0),s=t.formItem?{size:void 0}:er(hW,void 0);return it(()=>i.value||pe(e)||(s==null?void 0:s.size)||(r==null?void 0:r.size)||o.value||"")},kp=e=>{const t=mW("disabled"),n=er(RN,void 0);return it(()=>t.value||pe(e)||(n==null?void 0:n.disabled)||!1)},UL=({from:e,replacement:t,scope:n,version:i,ref:o,type:r="API"},s)=>{_o(()=>pe(s),a=>{},{immediate:!0})},NN="el",mde="is-",lm=(e,t,n,i,o)=>{let r=`${e}-${t}`;return n&&(r+=`-${n}`),i&&(r+=`__${i}`),o&&(r+=`--${o}`),r},yr=e=>{const t=Vp("namespace",NN);return{namespace:t,b:(p="")=>lm(t.value,e,p,"",""),e:p=>p?lm(t.value,e,"",p,""):"",m:p=>p?lm(t.value,e,"","",p):"",be:(p,y)=>p&&y?lm(t.value,e,p,y,""):"",em:(p,y)=>p&&y?lm(t.value,e,"",p,y):"",bm:(p,y)=>p&&y?lm(t.value,e,p,"",y):"",bem:(p,y,b)=>p&&y&&b?lm(t.value,e,p,y,b):"",is:(p,...y)=>{const b=y.length>=1?y[0]:!0;return p&&b?`${mde}${p}`:""},cssVar:p=>{const y={};for(const b in p)p[b]&&(y[`--${t.value}-${b}`]=p[b]);return y},cssVarName:p=>`--${t.value}-${p}`,cssVarBlock:p=>{const y={};for(const b in p)p[b]&&(y[`--${t.value}-${e}-${b}`]=p[b]);return y},cssVarBlockName:p=>`--${t.value}-${e}-${p}`}},hz={prefix:Math.floor(Math.random()*1e4),current:0},_de=Symbol("elIdInjection"),gde=()=>Dc()?er(_de,hz):hz,HL=e=>{const t=gde(),n=Vp("namespace",NN);return it(()=>pe(e)||`${n.value}-id-${t.prefix}-${t.current++}`)},QC=()=>{const e=er(RN,void 0),t=er(hW,void 0);return{form:e,formItem:t}},MN=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:i})=>{n||(n=Fn(!1)),i||(i=Fn(!1));const o=Fn();let r;const s=it(()=>{var a;return!!(!e.label&&t&&t.inputIds&&((a=t.inputIds)==null?void 0:a.length)<=1)});return _u(()=>{r=_o([$y(e,"id"),n],([a,c])=>{const u=a??(c?void 0:HL().value);u!==o.value&&(t!=null&&t.removeInputId&&(o.value&&t.removeInputId(o.value),!(i!=null&&i.value)&&!c&&u&&t.addInputId(u)),o.value=u)},{immediate:!0})}),dN(()=>{r&&r(),t!=null&&t.removeInputId&&o.value&&t.removeInputId(o.value)}),{isLabeledByFormItem:s,inputId:o}};var yde={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const Ade=e=>(t,n)=>bde(t,n,pe(e)),bde=(e,t,n)=>Xce(n,e,e).replace(/\{(\w+)\}/g,(i,o)=>{var r;return`${(r=t==null?void 0:t[o])!=null?r:`{${o}}`}`}),Cde=e=>{const t=it(()=>pe(e).name),n=Uo(e)?e:Fn(e);return{lang:t,locale:n,t:Ade(e)}},_W=()=>{const e=Vp("locale");return Cde(it(()=>e.value||yde))},Tde=e=>{Uo(e)||Gv("[useLockscreen]","You need to pass a ref param to this function");const t=yr("popup"),n=U6(()=>t.bm("parent","hidden"));if(!Ia||fz(document.body,n.value))return;let i=0,o=!1,r="0";const s=()=>{setTimeout(()=>{Pue(document.body,n.value),o&&(document.body.style.width=r)},200)};_o(e,a=>{if(!a){s();return}o=!fz(document.body,n.value),o&&(r=document.body.style.width),i=Lue(t.namespace.value);const c=document.documentElement.clientHeight0&&(c||u==="scroll")&&o&&(document.body.style.width=`calc(100% - ${i}px)`),Iue(document.body,n.value)}),b6(()=>s())},Ede=e=>{if(!e)return{onClick:Li,onMousedown:Li,onMouseup:Li};let t=!1,n=!1;return{onClick:s=>{t&&n&&e(s),t=n=!1},onMousedown:s=>{t=s.target===s.currentTarget},onMouseup:s=>{n=s.target===s.currentTarget}}};let Qg=[];const pz=e=>{const t=e;t.key===BN.esc&&Qg.forEach(n=>n(t))},xde=e=>{_u(()=>{Qg.length===0&&document.addEventListener("keydown",pz),Ia&&Qg.push(e)}),C0(()=>{Qg=Qg.filter(t=>t!==e),Qg.length===0&&Ia&&document.removeEventListener("keydown",pz)})},mz=Fn(0),gW=()=>{const e=Vp("zIndex",2e3),t=it(()=>e.value+mz.value);return{initialZIndex:e,currentZIndex:t,nextZIndex:()=>(mz.value++,t.value)}};function wde(e){const t=Fn();function n(){if(e.value==null)return;const{selectionStart:o,selectionEnd:r,value:s}=e.value;if(o==null||r==null)return;const a=s.slice(0,Math.max(0,o)),c=s.slice(Math.max(0,r));t.value={selectionStart:o,selectionEnd:r,value:s,beforeTxt:a,afterTxt:c}}function i(){if(e.value==null||t.value==null)return;const{value:o}=e.value,{beforeTxt:r,afterTxt:s,selectionStart:a}=t.value;if(r==null||s==null||a==null)return;let c=o.length;if(o.endsWith(s))c=o.length-s.length;else if(o.startsWith(r))c=r.length;else{const u=r[a-1],f=o.indexOf(u,a-1);f!==-1&&(c=f+1)}e.value.setSelectionRange(c,c)}return[n,i]}var Ls=(e,t)=>{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n};const Sde=gs({size:{type:Jn([Number,String])},color:{type:String}}),vde=fi({name:"ElIcon",inheritAttrs:!1}),Dde=fi({...vde,props:Sde,setup(e){const t=e,n=yr("icon"),i=it(()=>{const{size:o,color:r}=t;return!o&&!r?{}:{fontSize:bS(o)?void 0:DN(o),"--color":r}});return(o,r)=>(et(),Pt("i",rp({class:pe(n).b(),style:pe(i)},o.$attrs),[ni(o.$slots,"default")],16))}});var Ide=Ls(Dde,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const xs=kd(Ide);let vl;const Pde=` height:0 !important; visibility:hidden !important; overflow:hidden !important; @@ -14,14 +14,19 @@ var sne=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Nut=sne((sd, z-index:-1000 !important; top:0 !important; right:0 !important; -`,Nfe=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Mfe(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),i=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:Nfe.map(s=>`${s}:${t.getPropertyValue(s)}`).join(";"),paddingSize:i,borderSize:o,boxSizing:n}}function sz(e,t=1,n){var i;Tl||(Tl=document.createElement("textarea"),document.body.appendChild(Tl));const{paddingSize:o,borderSize:r,boxSizing:s,contextStyle:a}=Mfe(e);Tl.setAttribute("style",`${a};${Rfe}`),Tl.value=e.value||e.placeholder||"";let c=Tl.scrollHeight;const u={};s==="border-box"?c=c+r:s==="content-box"&&(c=c-o),Tl.value="";const f=Tl.scrollHeight-o;if(gp(t)){let h=f*t;s==="border-box"&&(h=h+o+r),c=Math.max(h,c),u.minHeight=`${h}px`}if(gp(n)){let h=f*n;s==="border-box"&&(h=h+o+r),c=Math.min(h,c)}return u.height=`${c}px`,(i=Tl.parentNode)==null||i.removeChild(Tl),Tl=void 0,u}const Ffe=dl({id:{type:String,default:void 0},size:GC,disabled:Boolean,modelValue:{type:Ca([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Ca([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:$y},prefixIcon:{type:$y},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Ca([Object,Array,String]),default:()=>q9({})}}),zfe={[xd]:e=>Mi(e),input:e=>Mi(e),change:e=>Mi(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},Ufe=["role"],Hfe=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],Vfe=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],kfe=ho({name:"ElInput",inheritAttrs:!1}),Gfe=ho({...kfe,props:Ffe,emits:zfe,setup(e,{expose:t,emit:n}){const i=e,o=ooe(),r=Pv(),s=mt(()=>{const ye={};return i.containerRole==="combobox"&&(ye["aria-haspopup"]=o["aria-haspopup"],ye["aria-owns"]=o["aria-owns"],ye["aria-expanded"]=o["aria-expanded"]),ye}),a=mt(()=>[i.type==="textarea"?b.b():y.b(),y.m(g.value),y.is("disabled",p.value),y.is("exceed",K.value),{[y.b("group")]:r.prepend||r.append,[y.bm("group","append")]:r.append,[y.bm("group","prepend")]:r.prepend,[y.m("prefix")]:r.prefix||i.prefixIcon,[y.m("suffix")]:r.suffix||i.suffixIcon||i.clearable||i.showPassword,[y.bm("suffix","password-clear")]:V.value&&k.value},o.class]),c=mt(()=>[y.e("wrapper"),y.is("focus",S.value)]),u=pfe({excludeKeys:mt(()=>Object.keys(s.value))}),{form:f,formItem:h}=WC(),{inputId:_}=vN(i,{formItemContext:h}),g=mS(),p=Fv(),y=xa("input"),b=xa("textarea"),C=cw(),x=cw(),S=Xn(!1),v=Xn(!1),P=Xn(!1),L=Xn(!1),z=Xn(),R=cw(i.inputStyle),F=mt(()=>C.value||x.value),H=mt(()=>{var ye;return(ye=f==null?void 0:f.statusIcon)!=null?ye:!1}),w=mt(()=>(h==null?void 0:h.validateState)||""),I=mt(()=>w.value&&cfe[w.value]),m=mt(()=>L.value?efe:Bue),D=mt(()=>[o.style,i.inputStyle]),O=mt(()=>[i.inputStyle,R.value,{resize:i.resize}]),M=mt(()=>O9(i.modelValue)?"":String(i.modelValue)),V=mt(()=>i.clearable&&!p.value&&!i.readonly&&!!M.value&&(S.value||v.value)),k=mt(()=>i.showPassword&&!p.value&&!i.readonly&&!!M.value&&(!!M.value||S.value)),G=mt(()=>i.showWordLimit&&!!u.value.maxlength&&(i.type==="text"||i.type==="textarea")&&!p.value&&!i.readonly&&!i.showPassword),W=mt(()=>Array.from(M.value).length),K=mt(()=>!!G.value&&W.value>Number(u.value.maxlength)),q=mt(()=>!!r.suffix||!!i.suffixIcon||V.value||i.showPassword||G.value||!!w.value&&H.value),[te,$]=Ife(C);N9(x,ye=>{if(!G.value||i.resize!=="both")return;const Ee=ye[0],{width:Pe}=Ee.contentRect;z.value={right:`calc(100% - ${Pe+15+6}px)`}});const X=()=>{const{type:ye,autosize:Ee}=i;if(!(!Ea||ye!=="textarea"))if(Ee){const Pe=Pi(Ee)?Ee.minRows:void 0,Ve=Pi(Ee)?Ee.maxRows:void 0;R.value={...sz(x.value,Pe,Ve)}}else R.value={minHeight:sz(x.value).minHeight}},Y=()=>{const ye=F.value;!ye||ye.value===M.value||(ye.value=M.value)},se=async ye=>{te();let{value:Ee}=ye.target;if(i.formatter&&(Ee=i.parser?i.parser(Ee):Ee,Ee=i.formatter(Ee)),!P.value){if(Ee===M.value){Y();return}n(xd,Ee),n("input",Ee),await Za(),Y(),$()}},ue=ye=>{n("change",ye.target.value)},re=ye=>{n("compositionstart",ye),P.value=!0},he=ye=>{var Ee;n("compositionupdate",ye);const Pe=(Ee=ye.target)==null?void 0:Ee.value,Ve=Pe[Pe.length-1]||"";P.value=!ffe(Ve)},ce=ye=>{n("compositionend",ye),P.value&&(P.value=!1,se(ye))},Q=()=>{L.value=!L.value,ne()},ne=async()=>{var ye;await Za(),(ye=F.value)==null||ye.focus()},fe=()=>{var ye;return(ye=F.value)==null?void 0:ye.blur()},me=ye=>{S.value=!0,n("focus",ye)},we=ye=>{var Ee;S.value=!1,n("blur",ye),i.validateEvent&&((Ee=h==null?void 0:h.validate)==null||Ee.call(h,"blur").catch(Pe=>void 0))},Se=ye=>{v.value=!1,n("mouseleave",ye)},Le=ye=>{v.value=!0,n("mouseenter",ye)},Te=ye=>{n("keydown",ye)},Be=()=>{var ye;(ye=F.value)==null||ye.select()},Ie=()=>{n(xd,""),n("change",""),n("clear"),n("input","")};return ar(()=>i.modelValue,()=>{var ye;Za(()=>X()),i.validateEvent&&((ye=h==null?void 0:h.validate)==null||ye.call(h,"change").catch(Ee=>void 0))}),ar(M,()=>Y()),ar(()=>i.type,async()=>{await Za(),Y(),X()}),fu(()=>{!i.formatter&&i.parser,Y(),Za(X)}),t({input:C,textarea:x,ref:F,textareaStyle:O,autosize:Wb(i,"autosize"),focus:ne,blur:fe,select:Be,clear:Ie,resizeTextarea:X}),(ye,Ee)=>mp((Et(),xn("div",Cy(Oe(s),{class:Oe(a),style:Oe(D),role:ye.containerRole,onMouseenter:Le,onMouseleave:Se}),[si(" input "),ye.type!=="textarea"?(Et(),xn(pr,{key:0},[si(" prepend slot "),ye.$slots.prepend?(Et(),xn("div",{key:0,class:un(Oe(y).be("group","prepend"))},[Xo(ye.$slots,"prepend")],2)):si("v-if",!0),hi("div",{class:un(Oe(c))},[si(" prefix slot "),ye.$slots.prefix||ye.prefixIcon?(Et(),xn("span",{key:0,class:un(Oe(y).e("prefix"))},[hi("span",{class:un(Oe(y).e("prefix-inner")),onClick:ne},[Xo(ye.$slots,"prefix"),ye.prefixIcon?(Et(),to(Oe(Wu),{key:0,class:un(Oe(y).e("icon"))},{default:Li(()=>[(Et(),to(qu(ye.prefixIcon)))]),_:1},8,["class"])):si("v-if",!0)],2)],2)):si("v-if",!0),hi("input",Cy({id:Oe(_),ref_key:"input",ref:C,class:Oe(y).e("inner")},Oe(u),{type:ye.showPassword?L.value?"text":"password":ye.type,disabled:Oe(p),formatter:ye.formatter,parser:ye.parser,readonly:ye.readonly,autocomplete:ye.autocomplete,tabindex:ye.tabindex,"aria-label":ye.label,placeholder:ye.placeholder,style:ye.inputStyle,form:i.form,onCompositionstart:re,onCompositionupdate:he,onCompositionend:ce,onInput:se,onFocus:me,onBlur:we,onChange:ue,onKeydown:Te}),null,16,Hfe),si(" suffix slot "),Oe(q)?(Et(),xn("span",{key:1,class:un(Oe(y).e("suffix"))},[hi("span",{class:un(Oe(y).e("suffix-inner")),onClick:ne},[!Oe(V)||!Oe(k)||!Oe(G)?(Et(),xn(pr,{key:0},[Xo(ye.$slots,"suffix"),ye.suffixIcon?(Et(),to(Oe(Wu),{key:0,class:un(Oe(y).e("icon"))},{default:Li(()=>[(Et(),to(qu(ye.suffixIcon)))]),_:1},8,["class"])):si("v-if",!0)],64)):si("v-if",!0),Oe(V)?(Et(),to(Oe(Wu),{key:1,class:un([Oe(y).e("icon"),Oe(y).e("clear")]),onMousedown:fN(Oe(Qs),["prevent"]),onClick:Ie},{default:Li(()=>[ci(Oe(z9))]),_:1},8,["class","onMousedown"])):si("v-if",!0),Oe(k)?(Et(),to(Oe(Wu),{key:2,class:un([Oe(y).e("icon"),Oe(y).e("password")]),onClick:Q},{default:Li(()=>[(Et(),to(qu(Oe(m))))]),_:1},8,["class"])):si("v-if",!0),Oe(G)?(Et(),xn("span",{key:3,class:un(Oe(y).e("count"))},[hi("span",{class:un(Oe(y).e("count-inner"))},Ul(Oe(W))+" / "+Ul(Oe(u).maxlength),3)],2)):si("v-if",!0),Oe(w)&&Oe(I)&&Oe(H)?(Et(),to(Oe(Wu),{key:4,class:un([Oe(y).e("icon"),Oe(y).e("validateIcon"),Oe(y).is("loading",Oe(w)==="validating")])},{default:Li(()=>[(Et(),to(qu(Oe(I))))]),_:1},8,["class"])):si("v-if",!0)],2)],2)):si("v-if",!0)],2),si(" append slot "),ye.$slots.append?(Et(),xn("div",{key:1,class:un(Oe(y).be("group","append"))},[Xo(ye.$slots,"append")],2)):si("v-if",!0)],64)):(Et(),xn(pr,{key:1},[si(" textarea "),hi("textarea",Cy({id:Oe(_),ref_key:"textarea",ref:x,class:Oe(b).e("inner")},Oe(u),{tabindex:ye.tabindex,disabled:Oe(p),readonly:ye.readonly,autocomplete:ye.autocomplete,style:Oe(O),"aria-label":ye.label,placeholder:ye.placeholder,form:i.form,onCompositionstart:re,onCompositionupdate:he,onCompositionend:ce,onInput:se,onFocus:me,onBlur:we,onChange:ue,onKeydown:Te}),null,16,Vfe),Oe(G)?(Et(),xn("span",{key:0,style:Mp(z.value),class:un(Oe(y).e("count"))},Ul(Oe(W))+" / "+Ul(Oe(u).maxlength),7)):si("v-if",!0)],64))],16,Ufe)),[[Lv,ye.type!=="hidden"]])}});var Wfe=hl(Gfe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const jfe=R_(Wfe),vI="focus-trap.focus-after-trapped",DI="focus-trap.focus-after-released",qfe="focus-trap.focusout-prevented",az={cancelable:!0,bubbles:!1},Yfe={cancelable:!0,bubbles:!1},cz="focusAfterTrapped",lz="focusAfterReleased",$fe=Symbol("elFocusTrap"),DN=Xn(),zv=Xn(0),IN=Xn(0);let KT=0;const Q9=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const o=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||o?NodeFilter.FILTER_SKIP:i.tabIndex>=0||i===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},uz=(e,t)=>{for(const n of e)if(!Xfe(n,t))return n},Xfe=(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},Kfe=e=>{const t=Q9(e),n=uz(t,e),i=uz(t.reverse(),e);return[n,i]},Jfe=e=>e instanceof HTMLInputElement&&"select"in e,Oh=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),IN.value=window.performance.now(),e!==n&&Jfe(e)&&t&&e.select()}};function fz(e,t){const n=[...e],i=e.indexOf(t);return i!==-1&&n.splice(i,1),n}const Qfe=()=>{let e=[];return{push:i=>{const o=e[0];o&&i!==o&&o.pause(),e=fz(e,i),e.unshift(i)},remove:i=>{var o,r;e=fz(e,i),(r=(o=e[0])==null?void 0:o.resume)==null||r.call(o)}}},Zfe=(e,t=!1)=>{const n=document.activeElement;for(const i of e)if(Oh(i,t),document.activeElement!==n)return},dz=Qfe(),ede=()=>zv.value>IN.value,JT=()=>{DN.value="pointer",zv.value=window.performance.now()},hz=()=>{DN.value="keyboard",zv.value=window.performance.now()},tde=()=>(fu(()=>{KT===0&&(document.addEventListener("mousedown",JT),document.addEventListener("touchstart",JT),document.addEventListener("keydown",hz)),KT++}),HC(()=>{KT--,KT<=0&&(document.removeEventListener("mousedown",JT),document.removeEventListener("touchstart",JT),document.removeEventListener("keydown",hz))}),{focusReason:DN,lastUserFocusTimestamp:zv,lastAutomatedFocusTimestamp:IN}),QT=e=>new CustomEvent(qfe,{...Yfe,detail:e}),nde=ho({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[cz,lz,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=Xn();let i,o;const{focusReason:r}=tde();Dfe(p=>{e.trapped&&!s.paused&&t("release-requested",p)});const s={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},a=p=>{if(!e.loop&&!e.trapped||s.paused)return;const{key:y,altKey:b,ctrlKey:C,metaKey:x,currentTarget:S,shiftKey:v}=p,{loop:P}=e,L=y===xN.tab&&!b&&!C&&!x,z=document.activeElement;if(L&&z){const R=S,[F,H]=Kfe(R);if(F&&H){if(!v&&z===H){const I=QT({focusReason:r.value});t("focusout-prevented",I),I.defaultPrevented||(p.preventDefault(),P&&Oh(F,!0))}else if(v&&[F,R].includes(z)){const I=QT({focusReason:r.value});t("focusout-prevented",I),I.defaultPrevented||(p.preventDefault(),P&&Oh(H,!0))}}else if(z===R){const I=QT({focusReason:r.value});t("focusout-prevented",I),I.defaultPrevented||p.preventDefault()}}};cd($fe,{focusTrapRef:n,onKeydown:a}),ar(()=>e.focusTrapEl,p=>{p&&(n.value=p)},{immediate:!0}),ar([n],([p],[y])=>{p&&(p.addEventListener("keydown",a),p.addEventListener("focusin",f),p.addEventListener("focusout",h)),y&&(y.removeEventListener("keydown",a),y.removeEventListener("focusin",f),y.removeEventListener("focusout",h))});const c=p=>{t(cz,p)},u=p=>t(lz,p),f=p=>{const y=Oe(n);if(!y)return;const b=p.target,C=p.relatedTarget,x=b&&y.contains(b);e.trapped||C&&y.contains(C)||(i=C),x&&t("focusin",p),!s.paused&&e.trapped&&(x?o=b:Oh(o,!0))},h=p=>{const y=Oe(n);if(!(s.paused||!y))if(e.trapped){const b=p.relatedTarget;!O9(b)&&!y.contains(b)&&setTimeout(()=>{if(!s.paused&&e.trapped){const C=QT({focusReason:r.value});t("focusout-prevented",C),C.defaultPrevented||Oh(o,!0)}},0)}else{const b=p.target;b&&y.contains(b)||t("focusout",p)}};async function _(){await Za();const p=Oe(n);if(p){dz.push(s);const y=p.contains(document.activeElement)?i:document.activeElement;if(i=y,!p.contains(y)){const C=new Event(vI,az);p.addEventListener(vI,c),p.dispatchEvent(C),C.defaultPrevented||Za(()=>{let x=e.focusStartEl;Mi(x)||(Oh(x),document.activeElement!==x&&(x="first")),x==="first"&&Zfe(Q9(p),!0),(document.activeElement===y||x==="container")&&Oh(p)})}}}function g(){const p=Oe(n);if(p){p.removeEventListener(vI,c);const y=new CustomEvent(DI,{...az,detail:{focusReason:r.value}});p.addEventListener(DI,u),p.dispatchEvent(y),!y.defaultPrevented&&(r.value=="keyboard"||!ede())&&Oh(i??document.body),p.removeEventListener(DI,c),dz.remove(s)}}return fu(()=>{e.trapped&&_(),ar(()=>e.trapped,p=>{p?_():g()})}),HC(()=>{e.trapped&&g()}),{onKeydown:a}}});function ide(e,t,n,i,o,r){return Xo(e.$slots,"default",{handleKeydown:e.onKeydown})}var ode=hl(nde,[["render",ide],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const rde=dl({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"}}),sde=["textContent"],ade=ho({name:"ElBadge"}),cde=ho({...ade,props:rde,setup(e,{expose:t}){const n=e,i=xa("badge"),o=mt(()=>n.isDot?"":gp(n.value)&&gp(n.max)?n.max(Et(),xn("div",{class:un(Oe(i).b())},[Xo(r.$slots,"default"),ci(kC,{name:`${Oe(i).namespace.value}-zoom-in-center`,persisted:""},{default:Li(()=>[mp(hi("sup",{class:un([Oe(i).e("content"),Oe(i).em("content",r.type),Oe(i).is("fixed",!!r.$slots.default),Oe(i).is("dot",r.isDot)]),textContent:Ul(Oe(o))},null,10,sde),[[Lv,!r.hidden&&(Oe(o)||r.isDot)]])]),_:1},8,["name"])],2))}});var lde=hl(cde,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const ude=R_(lde),fde=(e,t)=>{RL({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},mt(()=>e.type==="text"));const n=sr(Y9,void 0),i=Fp("button"),{form:o}=WC(),r=mS(mt(()=>n==null?void 0:n.size)),s=Fv(),a=Xn(),c=Pv(),u=mt(()=>e.type||(n==null?void 0:n.type)||""),f=mt(()=>{var g,p,y;return(y=(p=e.autoInsertSpace)!=null?p:(g=i.value)==null?void 0:g.autoInsertSpace)!=null?y:!1}),h=mt(()=>{var g;const p=(g=c.default)==null?void 0:g.call(c);if(f.value&&(p==null?void 0:p.length)===1){const y=p[0];if((y==null?void 0:y.type)===VC){const b=y.children;return/^\p{Unified_Ideograph}{2}$/u.test(b.trim())}}return!1});return{_disabled:s,_size:r,_type:u,_ref:a,shouldAddSpace:h,handleClick:g=>{e.nativeType==="reset"&&(o==null||o.resetFields()),t("click",g)}}},dde=["default","primary","success","warning","info","danger","text",""],hde=["button","submit","reset"],ML=dl({size:GC,disabled:Boolean,type:{type:String,values:dde,default:""},icon:{type:$y},nativeType:{type:String,values:hde,default:"button"},loading:Boolean,loadingIcon:{type:$y,default:()=>V9},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0}}),pde={click:e=>e instanceof MouseEvent};function Ts(e,t){mde(e)&&(e="100%");var n=_de(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 ZT(e){return Math.min(1,Math.max(0,e))}function mde(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function _de(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Z9(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function eE(e){return e<=1?"".concat(Number(e)*100,"%"):e}function jm(e){return e.length===1?"0"+e:String(e)}function gde(e,t,n){return{r:Ts(e,255)*255,g:Ts(t,255)*255,b:Ts(n,255)*255}}function pz(e,t,n){e=Ts(e,255),t=Ts(t,255),n=Ts(n,255);var i=Math.max(e,t,n),o=Math.min(e,t,n),r=0,s=0,a=(i+o)/2;if(i===o)s=0,r=0;else{var c=i-o;switch(s=a>.5?c/(2-i-o):c/(i+o),i){case e:r=(t-n)/c+(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 yde(e,t,n){var i,o,r;if(e=Ts(e,360),t=Ts(t,100),n=Ts(n,100),t===0)o=n,r=n,i=n;else{var s=n<.5?n*(1+t):n+t-n*t,a=2*n-s;i=II(a,s,e+1/3),o=II(a,s,e),r=II(a,s,e-1/3)}return{r:i*255,g:o*255,b:r*255}}function mz(e,t,n){e=Ts(e,255),t=Ts(t,255),n=Ts(n,255);var i=Math.max(e,t,n),o=Math.min(e,t,n),r=0,s=i,a=i-o,c=i===0?0:a/i;if(i===o)r=0;else{switch(i){case e:r=(t-n)/a+(t>16,g:(e&65280)>>8,b:e&255}}var FL={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 Ede(e){var t={r:0,g:0,b:0},n=1,i=null,o=null,r=null,s=!1,a=!1;return typeof e=="string"&&(e=Sde(e)),typeof e=="object"&&(Nf(e.r)&&Nf(e.g)&&Nf(e.b)?(t=gde(e.r,e.g,e.b),s=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Nf(e.h)&&Nf(e.s)&&Nf(e.v)?(i=eE(e.s),o=eE(e.v),t=Ade(e.h,i,o),s=!0,a="hsv"):Nf(e.h)&&Nf(e.s)&&Nf(e.l)&&(i=eE(e.s),r=eE(e.l),t=yde(e.h,i,r),s=!0,a="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Z9(n),{ok:s,format:e.format||a,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 xde="[-\\+]?\\d+%?",wde="[-\\+]?\\d*\\.\\d+%?",Gh="(?:".concat(wde,")|(?:").concat(xde,")"),PI="[\\s|\\(]+(".concat(Gh,")[,|\\s]+(").concat(Gh,")[,|\\s]+(").concat(Gh,")\\s*\\)?"),OI="[\\s|\\(]+(".concat(Gh,")[,|\\s]+(").concat(Gh,")[,|\\s]+(").concat(Gh,")[,|\\s]+(").concat(Gh,")\\s*\\)?"),Pl={CSS_UNIT:new RegExp(Gh),rgb:new RegExp("rgb"+PI),rgba:new RegExp("rgba"+OI),hsl:new RegExp("hsl"+PI),hsla:new RegExp("hsla"+OI),hsv:new RegExp("hsv"+PI),hsva:new RegExp("hsva"+OI),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 Sde(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(FL[e])e=FL[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Pl.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Pl.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Pl.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Pl.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Pl.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Pl.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Pl.hex8.exec(e),n?{r:qa(n[1]),g:qa(n[2]),b:qa(n[3]),a:gz(n[4]),format:t?"name":"hex8"}:(n=Pl.hex6.exec(e),n?{r:qa(n[1]),g:qa(n[2]),b:qa(n[3]),format:t?"name":"hex"}:(n=Pl.hex4.exec(e),n?{r:qa(n[1]+n[1]),g:qa(n[2]+n[2]),b:qa(n[3]+n[3]),a:gz(n[4]+n[4]),format:t?"name":"hex8"}:(n=Pl.hex3.exec(e),n?{r:qa(n[1]+n[1]),g:qa(n[2]+n[2]),b:qa(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Nf(e){return Boolean(Pl.CSS_UNIT.exec(String(e)))}var vde=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var i;if(t instanceof e)return t;typeof t=="number"&&(t=Tde(t)),this.originalInput=t;var o=Ede(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(i=n.format)!==null&&i!==void 0?i:o.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=o.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,i,o,r=t.r/255,s=t.g/255,a=t.b/255;return r<=.03928?n=r/12.92:n=Math.pow((r+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),a<=.03928?o=a/12.92:o=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*i+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Z9(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=mz(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=mz(this.r,this.g,this.b),n=Math.round(t.h*360),i=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(i,"%, ").concat(o,"%)"):"hsva(".concat(n,", ").concat(i,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=pz(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=pz(this.r,this.g,this.b),n=Math.round(t.h*360),i=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(i,"%, ").concat(o,"%)"):"hsla(".concat(n,", ").concat(i,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),_z(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),bde(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),i=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(i,")"):"rgba(".concat(t,", ").concat(n,", ").concat(i,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ts(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(Ts(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="#"+_z(this.r,this.g,this.b,!1),n=0,i=Object.entries(FL);n=0,r=!n&&o&&(t.startsWith("hex")||t==="name");return r?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(i=this.toRgbString()),t==="prgb"&&(i=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(i=this.toHexString()),t==="hex3"&&(i=this.toHexString(!0)),t==="hex4"&&(i=this.toHex8String(!0)),t==="hex8"&&(i=this.toHex8String()),t==="name"&&(i=this.toName()),t==="hsl"&&(i=this.toHslString()),t==="hsv"&&(i=this.toHsvString()),i||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=ZT(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=ZT(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=ZT(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=ZT(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),i=(n.h+t)%360;return n.h=i<0?360+i:i,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var i=this.toRgb(),o=new e(t).toRgb(),r=n/100,s={r:(o.r-i.r)*r+i.r,g:(o.g-i.g)*r+i.g,b:(o.b-i.b)*r+i.b,a:(o.a-i.a)*r+i.a};return new e(s)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var i=this.toHsl(),o=360/n,r=[this];for(i.h=(i.h-(o*t>>1)+720)%360;--t;)i.h=(i.h+o)%360,r.push(new e(i));return r},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(),i=n.h,o=n.s,r=n.v,s=[],a=1/t;t--;)s.push(new e({h:i,s:o,v:r})),r=(r+a)%1;return s},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(),i=new e(t).toRgb();return new e({r:i.r+(n.r-i.r)*n.a,g:i.g+(n.g-i.g)*n.a,b:i.b+(n.b-i.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),i=n.h,o=[this],r=360/t,s=1;s{let i={};const o=e.color;if(o){const r=new vde(o),s=e.dark?r.tint(20).toString():lh(r,20);if(e.plain)i=n.cssVarBlock({"bg-color":e.dark?lh(r,90):r.tint(90).toString(),"text-color":o,"border-color":e.dark?lh(r,50):r.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":o,"hover-border-color":o,"active-bg-color":s,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":s}),t.value&&(i[n.cssVarBlockName("disabled-bg-color")]=e.dark?lh(r,90):r.tint(90).toString(),i[n.cssVarBlockName("disabled-text-color")]=e.dark?lh(r,50):r.tint(50).toString(),i[n.cssVarBlockName("disabled-border-color")]=e.dark?lh(r,80):r.tint(80).toString());else{const a=e.dark?lh(r,30):r.tint(30).toString(),c=r.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(i=n.cssVarBlock({"bg-color":o,"text-color":c,"border-color":o,"hover-bg-color":a,"hover-text-color":c,"hover-border-color":a,"active-bg-color":s,"active-border-color":s}),t.value){const u=e.dark?lh(r,50):r.tint(50).toString();i[n.cssVarBlockName("disabled-bg-color")]=u,i[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,i[n.cssVarBlockName("disabled-border-color")]=u}}}return i})}const Ide=["aria-disabled","disabled","autofocus","type"],Pde=ho({name:"ElButton"}),Ode=ho({...Pde,props:ML,emits:pde,setup(e,{expose:t,emit:n}){const i=e,o=Dde(i),r=xa("button"),{_ref:s,_size:a,_type:c,_disabled:u,shouldAddSpace:f,handleClick:h}=fde(i,n);return t({ref:s,size:a,type:c,disabled:u,shouldAddSpace:f}),(_,g)=>(Et(),xn("button",{ref_key:"_ref",ref:s,class:un([Oe(r).b(),Oe(r).m(Oe(c)),Oe(r).m(Oe(a)),Oe(r).is("disabled",Oe(u)),Oe(r).is("loading",_.loading),Oe(r).is("plain",_.plain),Oe(r).is("round",_.round),Oe(r).is("circle",_.circle),Oe(r).is("text",_.text),Oe(r).is("link",_.link),Oe(r).is("has-bg",_.bg)]),"aria-disabled":Oe(u)||_.loading,disabled:Oe(u)||_.loading,autofocus:_.autofocus,type:_.nativeType,style:Mp(Oe(o)),onClick:g[0]||(g[0]=(...p)=>Oe(h)&&Oe(h)(...p))},[_.loading?(Et(),xn(pr,{key:0},[_.$slots.loading?Xo(_.$slots,"loading",{key:0}):(Et(),to(Oe(Wu),{key:1,class:un(Oe(r).is("loading"))},{default:Li(()=>[(Et(),to(qu(_.loadingIcon)))]),_:1},8,["class"]))],64)):_.icon||_.$slots.icon?(Et(),to(Oe(Wu),{key:1},{default:Li(()=>[_.icon?(Et(),to(qu(_.icon),{key:0})):Xo(_.$slots,"icon",{key:1})]),_:3})):si("v-if",!0),_.$slots.default?(Et(),xn("span",{key:2,class:un({[Oe(r).em("text","expand")]:Oe(f)})},[Xo(_.$slots,"default")],2)):si("v-if",!0)],14,Ide))}});var Lde=hl(Ode,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const Bde={size:ML.size,type:ML.type},Rde=ho({name:"ElButtonGroup"}),Nde=ho({...Rde,props:Bde,setup(e){const t=e;cd(Y9,_0({size:Wb(t,"size"),type:Wb(t,"type")}));const n=xa("button");return(i,o)=>(Et(),xn("div",{class:un(`${Oe(n).b("group")}`)},[Xo(i.$slots,"default")],2))}});var eW=hl(Nde,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const Mde=R_(Lde,{ButtonGroup:eW});EN(eW);var Ty=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};const tW={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:GC,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},nW={[xd]:e=>Mi(e)||gp(e)||dS(e),change:e=>Mi(e)||gp(e)||dS(e)},Fde=({model:e,isChecked:t})=>{const n=sr(y0,void 0),i=mt(()=>{var r,s;const a=(r=n==null?void 0:n.max)==null?void 0:r.value,c=(s=n==null?void 0:n.min)==null?void 0:s.value;return!hS(a)&&e.value.length>=a&&!t.value||!hS(c)&&e.value.length<=c&&t.value});return{isDisabled:Fv(mt(()=>(n==null?void 0:n.disabled.value)||i.value)),isLimitDisabled:i}},zde=(e,{model:t,isLimitExceeded:n,hasOwnLabel:i,isDisabled:o,isLabeledByFormItem:r})=>{const s=sr(y0,void 0),{formItem:a}=WC(),{emit:c}=du();function u(p){var y,b;return p===e.trueLabel||p===!0?(y=e.trueLabel)!=null?y:!0:(b=e.falseLabel)!=null?b:!1}function f(p,y){c("change",u(p),y)}function h(p){if(n.value)return;const y=p.target;c("change",u(y.checked),p)}async function _(p){n.value||!i.value&&!o.value&&r.value&&(p.composedPath().some(C=>C.tagName==="LABEL")||(t.value=u([!1,e.falseLabel].includes(t.value)),await Za(),f(t.value,p)))}const g=mt(()=>(s==null?void 0:s.validateEvent)||e.validateEvent);return ar(()=>e.modelValue,()=>{g.value&&(a==null||a.validate("change").catch(p=>void 0))}),{handleChange:h,onClickRoot:_}},Ude=e=>{const t=Xn(!1),{emit:n}=du(),i=sr(y0,void 0),o=mt(()=>hS(i)===!1),r=Xn(!1);return{model:mt({get(){var a,c;return o.value?(a=i==null?void 0:i.modelValue)==null?void 0:a.value:(c=e.modelValue)!=null?c:t.value},set(a){var c,u;o.value&&Yt(a)?(r.value=((c=i==null?void 0:i.max)==null?void 0:c.value)!==void 0&&a.length>(i==null?void 0:i.max.value),r.value===!1&&((u=i==null?void 0:i.changeEvent)==null||u.call(i,a))):(n(xd,a),t.value=a)}}),isGroup:o,isLimitExceeded:r}},Hde=(e,t,{model:n})=>{const i=sr(y0,void 0),o=Xn(!1),r=mt(()=>{const u=n.value;return dS(u)?u:Yt(u)?Pi(e.label)?u.map(Ci).some(f=>Ple(f,e.label)):u.map(Ci).includes(e.label):u!=null?u===e.trueLabel:!!u}),s=mS(mt(()=>{var u;return(u=i==null?void 0:i.size)==null?void 0:u.value}),{prop:!0}),a=mS(mt(()=>{var u;return(u=i==null?void 0:i.size)==null?void 0:u.value})),c=mt(()=>!!(t.default||e.label));return{checkboxButtonSize:s,isChecked:r,isFocused:o,checkboxSize:a,hasOwnLabel:c}},Vde=(e,{model:t})=>{function n(){Yt(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&n()},iW=(e,t)=>{const{formItem:n}=WC(),{model:i,isGroup:o,isLimitExceeded:r}=Ude(e),{isFocused:s,isChecked:a,checkboxButtonSize:c,checkboxSize:u,hasOwnLabel:f}=Hde(e,t,{model:i}),{isDisabled:h}=Fde({model:i,isChecked:a}),{inputId:_,isLabeledByFormItem:g}=vN(e,{formItemContext:n,disableIdGeneration:f,disableIdManagement:o}),{handleChange:p,onClickRoot:y}=zde(e,{model:i,isLimitExceeded:r,hasOwnLabel:f,isDisabled:h,isLabeledByFormItem:g});return Vde(e,{model:i}),{inputId:_,isLabeledByFormItem:g,isChecked:a,isDisabled:h,isFocused:s,checkboxButtonSize:c,checkboxSize:u,hasOwnLabel:f,model:i,handleChange:p,onClickRoot:y}},kde=["tabindex","role","aria-checked"],Gde=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],Wde=["id","aria-hidden","disabled","value","name","tabindex"],jde=ho({name:"ElCheckbox"}),qde=ho({...jde,props:tW,emits:nW,setup(e){const t=e,n=Pv(),{inputId:i,isLabeledByFormItem:o,isChecked:r,isDisabled:s,isFocused:a,checkboxSize:c,hasOwnLabel:u,model:f,handleChange:h,onClickRoot:_}=iW(t,n),g=xa("checkbox"),p=mt(()=>[g.b(),g.m(c.value),g.is("disabled",s.value),g.is("bordered",t.border),g.is("checked",r.value)]),y=mt(()=>[g.e("input"),g.is("disabled",s.value),g.is("checked",r.value),g.is("indeterminate",t.indeterminate),g.is("focus",a.value)]);return(b,C)=>(Et(),to(qu(!Oe(u)&&Oe(o)?"span":"label"),{class:un(Oe(p)),"aria-controls":b.indeterminate?b.controls:null,onClick:Oe(_)},{default:Li(()=>[hi("span",{class:un(Oe(y)),tabindex:b.indeterminate?0:void 0,role:b.indeterminate?"checkbox":void 0,"aria-checked":b.indeterminate?"mixed":void 0},[b.trueLabel||b.falseLabel?mp((Et(),xn("input",{key:0,id:Oe(i),"onUpdate:modelValue":C[0]||(C[0]=x=>No(f)?f.value=x:null),class:un(Oe(g).e("original")),type:"checkbox","aria-hidden":b.indeterminate?"true":"false",name:b.name,tabindex:b.tabindex,disabled:Oe(s),"true-value":b.trueLabel,"false-value":b.falseLabel,onChange:C[1]||(C[1]=(...x)=>Oe(h)&&Oe(h)(...x)),onFocus:C[2]||(C[2]=x=>a.value=!0),onBlur:C[3]||(C[3]=x=>a.value=!1)},null,42,Gde)),[[aS,Oe(f)]]):mp((Et(),xn("input",{key:1,id:Oe(i),"onUpdate:modelValue":C[4]||(C[4]=x=>No(f)?f.value=x:null),class:un(Oe(g).e("original")),type:"checkbox","aria-hidden":b.indeterminate?"true":"false",disabled:Oe(s),value:b.label,name:b.name,tabindex:b.tabindex,onChange:C[5]||(C[5]=(...x)=>Oe(h)&&Oe(h)(...x)),onFocus:C[6]||(C[6]=x=>a.value=!0),onBlur:C[7]||(C[7]=x=>a.value=!1)},null,42,Wde)),[[aS,Oe(f)]]),hi("span",{class:un(Oe(g).e("inner"))},null,2)],10,kde),Oe(u)?(Et(),xn("span",{key:0,class:un(Oe(g).e("label"))},[Xo(b.$slots,"default"),b.$slots.default?si("v-if",!0):(Et(),xn(pr,{key:0},[Mu(Ul(b.label),1)],64))],2)):si("v-if",!0)]),_:3},8,["class","aria-controls","onClick"]))}});var Yde=hl(qde,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const $de=["name","tabindex","disabled","true-value","false-value"],Xde=["name","tabindex","disabled","value"],Kde=ho({name:"ElCheckboxButton"}),Jde=ho({...Kde,props:tW,emits:nW,setup(e){const t=e,n=Pv(),{isFocused:i,isChecked:o,isDisabled:r,checkboxButtonSize:s,model:a,handleChange:c}=iW(t,n),u=sr(y0,void 0),f=xa("checkbox"),h=mt(()=>{var g,p,y,b;const C=(p=(g=u==null?void 0:u.fill)==null?void 0:g.value)!=null?p:"";return{backgroundColor:C,borderColor:C,color:(b=(y=u==null?void 0:u.textColor)==null?void 0:y.value)!=null?b:"",boxShadow:C?`-1px 0 0 0 ${C}`:void 0}}),_=mt(()=>[f.b("button"),f.bm("button",s.value),f.is("disabled",r.value),f.is("checked",o.value),f.is("focus",i.value)]);return(g,p)=>(Et(),xn("label",{class:un(Oe(_))},[g.trueLabel||g.falseLabel?mp((Et(),xn("input",{key:0,"onUpdate:modelValue":p[0]||(p[0]=y=>No(a)?a.value=y:null),class:un(Oe(f).be("button","original")),type:"checkbox",name:g.name,tabindex:g.tabindex,disabled:Oe(r),"true-value":g.trueLabel,"false-value":g.falseLabel,onChange:p[1]||(p[1]=(...y)=>Oe(c)&&Oe(c)(...y)),onFocus:p[2]||(p[2]=y=>i.value=!0),onBlur:p[3]||(p[3]=y=>i.value=!1)},null,42,$de)),[[aS,Oe(a)]]):mp((Et(),xn("input",{key:1,"onUpdate:modelValue":p[4]||(p[4]=y=>No(a)?a.value=y:null),class:un(Oe(f).be("button","original")),type:"checkbox",name:g.name,tabindex:g.tabindex,disabled:Oe(r),value:g.label,onChange:p[5]||(p[5]=(...y)=>Oe(c)&&Oe(c)(...y)),onFocus:p[6]||(p[6]=y=>i.value=!0),onBlur:p[7]||(p[7]=y=>i.value=!1)},null,42,Xde)),[[aS,Oe(a)]]),g.$slots.default||g.label?(Et(),xn("span",{key:2,class:un(Oe(f).be("button","inner")),style:Mp(Oe(o)?Oe(h):void 0)},[Xo(g.$slots,"default",{},()=>[Mu(Ul(g.label),1)])],6)):si("v-if",!0)],2))}});var oW=hl(Jde,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const Qde=dl({modelValue:{type:Ca(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:GC,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),Zde={[xd]:e=>Yt(e),change:e=>Yt(e)},ehe=ho({name:"ElCheckboxGroup"}),the=ho({...ehe,props:Qde,emits:Zde,setup(e,{emit:t}){const n=e,i=xa("checkbox"),{formItem:o}=WC(),{inputId:r,isLabeledByFormItem:s}=vN(n,{formItemContext:o}),a=async u=>{t(xd,u),await Za(),t("change",u)},c=mt({get(){return n.modelValue},set(u){a(u)}});return cd(y0,{...Nle(Jne(n),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:c,changeEvent:a}),ar(()=>n.modelValue,()=>{n.validateEvent&&(o==null||o.validate("change").catch(u=>void 0))}),(u,f)=>{var h;return Et(),to(qu(u.tag),{id:Oe(r),class:un(Oe(i).b("group")),role:"group","aria-label":Oe(s)?void 0:u.label||"checkbox-group","aria-labelledby":Oe(s)?(h=Oe(o))==null?void 0:h.labelId:void 0},{default:Li(()=>[Xo(u.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var rW=hl(the,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const nhe=R_(Yde,{CheckboxButton:oW,CheckboxGroup:rW});EN(oW);const ihe=EN(rW),zL={},ohe=dl({a11y:{type:Boolean,default:!0},locale:{type:Ca(Object)},size:GC,button:{type:Ca(Object)},experimentalFeatures:{type:Ca(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:Ca(Object)},zIndex:Number,namespace:{type:String,default:"el"}});ho({name:"ElConfigProvider",props:ohe,setup(e,{slots:t}){ar(()=>e.message,i=>{Object.assign(zL,i??{})},{immediate:!0,deep:!0});const n=_fe(e);return()=>Xo(t,"default",{config:n==null?void 0:n.value})}});const rhe=dl({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:Ca([String,Array,Object])},zIndex:{type:Ca([String,Number])}}),she={click:e=>e instanceof MouseEvent};var ahe=ho({name:"ElOverlay",props:rhe,emits:she,setup(e,{slots:t,emit:n}){const i=xa("overlay"),o=c=>{n("click",c)},{onClick:r,onMousedown:s,onMouseup:a}=vfe(e.customMaskEvent?void 0:o);return()=>e.mask?ci("div",{class:[i.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:r,onMousedown:s,onMouseup:a},[Xo(t,"default")],uw.STYLE|uw.CLASS|uw.PROPS,["onClick","onMouseup","onMousedown"]):Ov("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[Xo(t,"default")])}});const che=ahe,lhe=dl({center:{type:Boolean,default:!1},alignCenter:{type:Boolean,default:!1},closeIcon:{type:$y},customClass:{type:String,default:""},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},title:{type:String,default:""}}),uhe=dl({...lhe,appendToBody:{type:Boolean,default:!1},beforeClose:{type:Ca(Function)},destroyOnClose:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:{type:Boolean,default:!1},modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1}}),fhe={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[xd]:e=>dS(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},dhe=(e,t)=>{const i=du().emit,{nextZIndex:o}=J9();let r="";const s=NL(),a=NL(),c=Xn(!1),u=Xn(!1),f=Xn(!1),h=Xn(e.zIndex||o());let _,g;const p=Fp("namespace",SN),y=mt(()=>{const D={},O=`--${p.value}-dialog`;return e.fullscreen||(e.top&&(D[`${O}-margin-top`]=e.top),e.width&&(D[`${O}-width`]=TN(e.width))),D}),b=mt(()=>e.alignCenter?{display:"flex"}:{});function C(){i("opened")}function x(){i("closed"),i(xd,!1),e.destroyOnClose&&(f.value=!1)}function S(){i("close")}function v(){g==null||g(),_==null||_(),e.openDelay&&e.openDelay>0?{stop:_}=OL(()=>R(),e.openDelay):R()}function P(){_==null||_(),g==null||g(),e.closeDelay&&e.closeDelay>0?{stop:g}=OL(()=>F(),e.closeDelay):F()}function L(){function D(O){O||(u.value=!0,c.value=!1)}e.beforeClose?e.beforeClose(D):P()}function z(){e.closeOnClickModal&&L()}function R(){Ea&&(c.value=!0)}function F(){c.value=!1}function H(){i("openAutoFocus")}function w(){i("closeAutoFocus")}function I(D){var O;((O=D.detail)==null?void 0:O.focusReason)==="pointer"&&D.preventDefault()}e.lockScroll&&Sfe(c);function m(){e.closeOnPressEscape&&L()}return ar(()=>e.modelValue,D=>{D?(u.value=!1,v(),f.value=!0,h.value=e.zIndex?h.value++:o(),Za(()=>{i("open"),t.value&&(t.value.scrollTop=0)})):c.value&&P()}),ar(()=>e.fullscreen,D=>{t.value&&(D?(r=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=r)}),fu(()=>{e.modelValue&&(c.value=!0,f.value=!0,v())}),{afterEnter:C,afterLeave:x,beforeLeave:S,handleClose:L,onModalClick:z,close:P,doClose:F,onOpenAutoFocus:H,onCloseAutoFocus:w,onCloseRequested:m,onFocusoutPrevented:I,titleId:s,bodyId:a,closed:u,style:y,overlayDialogStyle:b,rendered:f,visible:c,zIndex:h}},hhe=dl({...uhe,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0}}),phe=fhe,mhe=ho({name:"ElDrawer",components:{ElOverlay:che,ElFocusTrap:ode,ElIcon:Wu,Close:U9},inheritAttrs:!1,props:hhe,emits:phe,setup(e,{slots:t}){RL({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"},mt(()=>!!t.title)),RL({scope:"el-drawer",from:"custom-class",replacement:"class",version:"2.3.0",ref:"https://element-plus.org/en-US/component/drawer.html#attributes",type:"Attribute"},mt(()=>!!e.customClass));const n=Xn(),i=Xn(),o=xa("drawer"),{t:r}=wfe(),s=mt(()=>e.direction==="rtl"||e.direction==="ltr"),a=mt(()=>TN(e.size));return{...dhe(e,n),drawerRef:n,focusStartRef:i,isHorizontal:s,drawerSize:a,ns:o,t:r}}}),_he=["aria-label","aria-labelledby","aria-describedby"],ghe=["id"],yhe=["aria-label"],Ahe=["id"];function bhe(e,t,n,i,o,r){const s=qT("close"),a=qT("el-icon"),c=qT("el-focus-trap"),u=qT("el-overlay");return Et(),to(qie,{to:"body",disabled:!e.appendToBody},[ci(kC,{name:e.ns.b("fade"),onAfterEnter:e.afterEnter,onAfterLeave:e.afterLeave,onBeforeLeave:e.beforeLeave,persisted:""},{default:Li(()=>[mp(ci(u,{mask:e.modal,"overlay-class":e.modalClass,"z-index":e.zIndex,onClick:e.onModalClick},{default:Li(()=>[ci(c,{loop:"",trapped:e.visible,"focus-trap-el":e.drawerRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:Li(()=>[hi("div",Cy({ref:"drawerRef","aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:e.titleId,"aria-describedby":e.bodyId},e.$attrs,{class:[e.ns.b(),e.direction,e.visible&&"open",e.customClass],style:e.isHorizontal?"width: "+e.drawerSize:"height: "+e.drawerSize,role:"dialog",onClick:t[1]||(t[1]=fN(()=>{},["stop"]))}),[hi("span",{ref:"focusStartRef",class:un(e.ns.e("sr-focus")),tabindex:"-1"},null,2),e.withHeader?(Et(),xn("header",{key:0,class:un(e.ns.e("header"))},[e.$slots.title?Xo(e.$slots,"title",{key:1},()=>[si(" DEPRECATED SLOT ")]):Xo(e.$slots,"header",{key:0,close:e.handleClose,titleId:e.titleId,titleClass:e.ns.e("title")},()=>[e.$slots.title?si("v-if",!0):(Et(),xn("span",{key:0,id:e.titleId,role:"heading",class:un(e.ns.e("title"))},Ul(e.title),11,ghe))]),e.showClose?(Et(),xn("button",{key:2,"aria-label":e.t("el.drawer.close"),class:un(e.ns.e("close-btn")),type:"button",onClick:t[0]||(t[0]=(...f)=>e.handleClose&&e.handleClose(...f))},[ci(a,{class:un(e.ns.e("close"))},{default:Li(()=>[ci(s)]),_:1},8,["class"])],10,yhe)):si("v-if",!0)],2)):si("v-if",!0),e.rendered?(Et(),xn("div",{key:1,id:e.bodyId,class:un(e.ns.e("body"))},[Xo(e.$slots,"default")],10,Ahe)):si("v-if",!0),e.$slots.footer?(Et(),xn("div",{key:2,class:un(e.ns.e("footer"))},[Xo(e.$slots,"footer")],2)):si("v-if",!0)],16,_he)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[Lv,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"])}var Che=hl(mhe,[["render",bhe],["__file","/home/runner/work/element-plus/element-plus/packages/components/drawer/src/drawer.vue"]]);const The=R_(Che),Ehe=["start","center","end","space-around","space-between","space-evenly"],xhe=["top","middle","bottom"],whe=dl({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:Ehe,default:"start"},align:{type:String,values:xhe,default:"top"}}),She=ho({name:"ElRow"}),vhe=ho({...She,props:whe,setup(e){const t=e,n=xa("row"),i=mt(()=>t.gutter);cd(mfe,{gutter:i});const o=mt(()=>{const s={};return t.gutter&&(s.marginRight=s.marginLeft=`-${t.gutter/2}px`),s}),r=mt(()=>[n.b(),n.is(`justify-${t.justify}`,t.justify!=="start"),n.is(`align-${t.align}`,t.align!=="top")]);return(s,a)=>(Et(),to(qu(s.tag),{class:un(Oe(r)),style:Mp(Oe(o))},{default:Li(()=>[Xo(s.$slots,"default")]),_:3},8,["class","style"]))}});var Dhe=hl(vhe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);const Ihe=R_(Dhe),sW=["success","info","warning","error"],Na=q9({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:Ea?document.body:void 0}),Phe=dl({customClass:{type:String,default:Na.customClass},center:{type:Boolean,default:Na.center},dangerouslyUseHTMLString:{type:Boolean,default:Na.dangerouslyUseHTMLString},duration:{type:Number,default:Na.duration},icon:{type:$y,default:Na.icon},id:{type:String,default:Na.id},message:{type:Ca([String,Object,Function]),default:Na.message},onClose:{type:Ca(Function),required:!1},showClose:{type:Boolean,default:Na.showClose},type:{type:String,values:sW,default:Na.type},offset:{type:Number,default:Na.offset},zIndex:{type:Number,default:Na.zIndex},grouping:{type:Boolean,default:Na.grouping},repeatNum:{type:Number,default:Na.repeatNum}}),Ohe={destroy:()=>!0},Yu=g6([]),Lhe=e=>{const t=Yu.findIndex(o=>o.id===e),n=Yu[t];let i;return t>0&&(i=Yu[t-1]),{current:n,prev:i}},Bhe=e=>{const{prev:t}=Lhe(e);return t?t.vm.exposed.bottom.value:0},Rhe=["id"],Nhe=["innerHTML"],Mhe=ho({name:"ElMessage"}),Fhe=ho({...Mhe,props:Phe,emits:Ohe,setup(e,{expose:t}){const n=e,{Close:i}=afe,o=xa("message"),r=Xn(),s=Xn(!1),a=Xn(0);let c;const u=mt(()=>n.type?n.type==="error"?"danger":n.type:"info"),f=mt(()=>{const v=n.type;return{[o.bm("icon",v)]:v&&nz[v]}}),h=mt(()=>n.icon||nz[n.type]||""),_=mt(()=>Bhe(n.id)),g=mt(()=>n.offset+_.value),p=mt(()=>a.value+g.value),y=mt(()=>({top:`${g.value}px`,zIndex:n.zIndex}));function b(){n.duration!==0&&({stop:c}=OL(()=>{x()},n.duration))}function C(){c==null||c()}function x(){s.value=!1}function S({code:v}){v===xN.esc&&x()}return fu(()=>{b(),s.value=!0}),ar(()=>n.repeatNum,()=>{C(),b()}),Hle(document,"keydown",S),N9(r,()=>{a.value=r.value.getBoundingClientRect().height}),t({visible:s,bottom:p,close:x}),(v,P)=>(Et(),to(kC,{name:Oe(o).b("fade"),onBeforeLeave:v.onClose,onAfterLeave:P[0]||(P[0]=L=>v.$emit("destroy")),persisted:""},{default:Li(()=>[mp(hi("div",{id:v.id,ref_key:"messageRef",ref:r,class:un([Oe(o).b(),{[Oe(o).m(v.type)]:v.type&&!v.icon},Oe(o).is("center",v.center),Oe(o).is("closable",v.showClose),v.customClass]),style:Mp(Oe(y)),role:"alert",onMouseenter:C,onMouseleave:b},[v.repeatNum>1?(Et(),to(Oe(ude),{key:0,value:v.repeatNum,type:Oe(u),class:un(Oe(o).e("badge"))},null,8,["value","type","class"])):si("v-if",!0),Oe(h)?(Et(),to(Oe(Wu),{key:1,class:un([Oe(o).e("icon"),Oe(f)])},{default:Li(()=>[(Et(),to(qu(Oe(h))))]),_:1},8,["class"])):si("v-if",!0),Xo(v.$slots,"default",{},()=>[v.dangerouslyUseHTMLString?(Et(),xn(pr,{key:1},[si(" Caution here, message could've been compromised, never use user's input as message "),hi("p",{class:un(Oe(o).e("content")),innerHTML:v.message},null,10,Nhe)],2112)):(Et(),xn("p",{key:0,class:un(Oe(o).e("content"))},Ul(v.message),3))]),v.showClose?(Et(),to(Oe(Wu),{key:2,class:un(Oe(o).e("closeBtn")),onClick:fN(x,["stop"])},{default:Li(()=>[ci(Oe(i))]),_:1},8,["class","onClick"])):si("v-if",!0)],46,Rhe),[[Lv,s.value]])]),_:3},8,["name","onBeforeLeave"]))}});var zhe=hl(Fhe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);let Uhe=1;const aW=e=>{const t=!e||Mi(e)||Gy(e)||wn(e)?{message:e}:e,n={...Na,...t};if(!n.appendTo)n.appendTo=document.body;else if(Mi(n.appendTo)){let i=document.querySelector(n.appendTo);Kle(i)||(i=document.body),n.appendTo=i}return n},Hhe=e=>{const t=Yu.indexOf(e);if(t===-1)return;Yu.splice(t,1);const{handler:n}=e;n.close()},Vhe=({appendTo:e,...t},n)=>{const{nextZIndex:i}=J9(),o=`message_${Uhe++}`,r=t.onClose,s=document.createElement("div"),a={...t,zIndex:i()+t.zIndex,id:o,onClose:()=>{r==null||r(),Hhe(h)},onDestroy:()=>{a3(null,s)}},c=ci(zhe,a,wn(a.message)||Gy(a.message)?{default:wn(a.message)?a.message:()=>a.message}:null);c.appContext=n||Xy._context,a3(c,s),e.appendChild(s.firstElementChild);const u=c.component,h={id:o,vnode:c,vm:u,handler:{close:()=>{u.exposed.visible.value=!1}},props:c.component.props};return h},Xy=(e={},t)=>{if(!Ea)return{close:()=>{}};if(gp(zL.max)&&Yu.length>=zL.max)return{close:()=>{}};const n=aW(e);if(n.grouping&&Yu.length){const o=Yu.find(({vnode:r})=>{var s;return((s=r.props)==null?void 0:s.message)===n.message});if(o)return o.props.repeatNum+=1,o.props.type=n.type,o.handler}const i=Vhe(n,t);return Yu.push(i),i.handler};sW.forEach(e=>{Xy[e]=(t={},n)=>{const i=aW(t);return Xy({...i,type:e},n)}});function khe(e){for(const t of Yu)(!e||e===t.props.type)&&t.handler.close()}Xy.closeAll=khe;Xy._context=null;const _S=lfe(Xy,"$message"),Ghe="/satellite-track/assets/menu-a8f9cd83.svg",Whe="/satellite-track/assets/import-5c494d28.svg";function l(e){return e!=null}function E(e){this.name="DeveloperError",this.message=e;let t;try{throw new Error}catch(n){t=n.stack}this.stack=t}l(Object.create)&&(E.prototype=Object.create(Error.prototype),E.prototype.constructor=E);E.prototype.toString=function(){let e=`${this.name}: ${this.message}`;return l(this.stack)&&(e+=` -${this.stack.toString()}`),e};E.throwInstantiationError=function(){throw new E("This function defines an interface and should not be called directly.")};const Ir={};Ir.typeOf={};function jhe(e){return`${e} is required, actual value was undefined`}function A0(e,t,n){return`Expected ${n} to be typeof ${t}, actual typeof was ${e}`}Ir.defined=function(e,t){if(!l(t))throw new E(jhe(e))};Ir.typeOf.func=function(e,t){if(typeof t!="function")throw new E(A0(typeof t,"function",e))};Ir.typeOf.string=function(e,t){if(typeof t!="string")throw new E(A0(typeof t,"string",e))};Ir.typeOf.number=function(e,t){if(typeof t!="number")throw new E(A0(typeof t,"number",e))};Ir.typeOf.number.lessThan=function(e,t,n){if(Ir.typeOf.number(e,t),t>=n)throw new E(`Expected ${e} to be less than ${n}, actual value was ${t}`)};Ir.typeOf.number.lessThanOrEquals=function(e,t,n){if(Ir.typeOf.number(e,t),t>n)throw new E(`Expected ${e} to be less than or equal to ${n}, actual value was ${t}`)};Ir.typeOf.number.greaterThan=function(e,t,n){if(Ir.typeOf.number(e,t),t<=n)throw new E(`Expected ${e} to be greater than ${n}, actual value was ${t}`)};Ir.typeOf.number.greaterThanOrEquals=function(e,t,n){if(Ir.typeOf.number(e,t),t>>0,this.mti=1;this.mti>>30;this.mt[this.mti]=(((e&4294901760)>>>16)*1812433253<<16)+(e&65535)*1812433253+this.mti,this.mt[this.mti]>>>=0}};Ud.prototype.init_by_array=function(e,t){var n,i,o;for(this.init_seed(19650218),n=1,i=0,o=this.N>t?this.N:t;o;o--){var r=this.mt[n-1]^this.mt[n-1]>>>30;this.mt[n]=(this.mt[n]^(((r&4294901760)>>>16)*1664525<<16)+(r&65535)*1664525)+e[i]+i,this.mt[n]>>>=0,n++,i++,n>=this.N&&(this.mt[0]=this.mt[this.N-1],n=1),i>=t&&(i=0)}for(o=this.N-1;o;o--){var r=this.mt[n-1]^this.mt[n-1]>>>30;this.mt[n]=(this.mt[n]^(((r&4294901760)>>>16)*1566083941<<16)+(r&65535)*1566083941)-n,this.mt[n]>>>=0,n++,n>=this.N&&(this.mt[0]=this.mt[this.N-1],n=1)}this.mt[0]=2147483648};Ud.prototype.random_int=function(){var e,t=new Array(0,this.MATRIX_A);if(this.mti>=this.N){var n;for(this.mti==this.N+1&&this.init_seed(5489),n=0;n>>1^t[e&1];for(;n>>1^t[e&1];e=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^e>>>1^t[e&1],this.mti=0}return e=this.mt[this.mti++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,e^=e>>>18,e>>>0};Ud.prototype.random_int31=function(){return this.random_int()>>>1};Ud.prototype.random_incl=function(){return this.random_int()*(1/4294967295)};Ud.prototype.random=function(){return this.random_int()*(1/4294967296)};Ud.prototype.random_excl=function(){return(this.random_int()+.5)*(1/4294967296)};Ud.prototype.random_long=function(){var e=this.random_int()>>>5,t=this.random_int()>>>6;return(e*67108864+t)*(1/9007199254740992)};var Uv=Ud;const $e={};$e.EPSILON1=.1;$e.EPSILON2=.01;$e.EPSILON3=.001;$e.EPSILON4=1e-4;$e.EPSILON5=1e-5;$e.EPSILON6=1e-6;$e.EPSILON7=1e-7;$e.EPSILON8=1e-8;$e.EPSILON9=1e-9;$e.EPSILON10=1e-10;$e.EPSILON11=1e-11;$e.EPSILON12=1e-12;$e.EPSILON13=1e-13;$e.EPSILON14=1e-14;$e.EPSILON15=1e-15;$e.EPSILON16=1e-16;$e.EPSILON17=1e-17;$e.EPSILON18=1e-18;$e.EPSILON19=1e-19;$e.EPSILON20=1e-20;$e.EPSILON21=1e-21;$e.GRAVITATIONALPARAMETER=3986004418e5;$e.SOLAR_RADIUS=6955e5;$e.LUNAR_RADIUS=1737400;$e.SIXTY_FOUR_KILOBYTES=64*1024;$e.FOUR_GIGABYTES=4*1024*1024*1024;$e.sign=A(Math.sign,function(t){return t=+t,t===0||t!==t?t:t>0?1:-1});$e.signNotZero=function(e){return e<0?-1:1};$e.toSNorm=function(e,t){return t=A(t,255),Math.round(($e.clamp(e,-1,1)*.5+.5)*t)};$e.fromSNorm=function(e,t){return t=A(t,255),$e.clamp(e,0,t)/t*2-1};$e.normalize=function(e,t,n){return n=Math.max(n-t,0),n===0?0:$e.clamp((e-t)/n,0,1)};$e.sinh=A(Math.sinh,function(t){return(Math.exp(t)-Math.exp(-t))/2});$e.cosh=A(Math.cosh,function(t){return(Math.exp(t)+Math.exp(-t))/2});$e.lerp=function(e,t,n){return(1-n)*e+n*t};$e.PI=Math.PI;$e.ONE_OVER_PI=1/Math.PI;$e.PI_OVER_TWO=Math.PI/2;$e.PI_OVER_THREE=Math.PI/3;$e.PI_OVER_FOUR=Math.PI/4;$e.PI_OVER_SIX=Math.PI/6;$e.THREE_PI_OVER_TWO=3*Math.PI/2;$e.TWO_PI=2*Math.PI;$e.ONE_OVER_TWO_PI=1/(2*Math.PI);$e.RADIANS_PER_DEGREE=Math.PI/180;$e.DEGREES_PER_RADIAN=180/Math.PI;$e.RADIANS_PER_ARCSECOND=$e.RADIANS_PER_DEGREE/3600;$e.toRadians=function(e){if(!l(e))throw new E("degrees is required.");return e*$e.RADIANS_PER_DEGREE};$e.toDegrees=function(e){if(!l(e))throw new E("radians is required.");return e*$e.DEGREES_PER_RADIAN};$e.convertLongitudeRange=function(e){if(!l(e))throw new E("angle is required.");const t=$e.TWO_PI,n=e-Math.floor(e/t)*t;return n<-Math.PI?n+t:n>=Math.PI?n-t:n};$e.clampToLatitudeRange=function(e){if(!l(e))throw new E("angle is required.");return $e.clamp(e,-1*$e.PI_OVER_TWO,$e.PI_OVER_TWO)};$e.negativePiToPi=function(e){if(!l(e))throw new E("angle is required.");return e>=-$e.PI&&e<=$e.PI?e:$e.zeroToTwoPi(e+$e.PI)-$e.PI};$e.zeroToTwoPi=function(e){if(!l(e))throw new E("angle is required.");if(e>=0&&e<=$e.TWO_PI)return e;const t=$e.mod(e,$e.TWO_PI);return Math.abs(t)<$e.EPSILON14&&Math.abs(e)>$e.EPSILON14?$e.TWO_PI:t};$e.mod=function(e,t){if(!l(e))throw new E("m is required.");if(!l(t))throw new E("n is required.");if(t===0)throw new E("divisor cannot be 0.");return $e.sign(e)===$e.sign(t)&&Math.abs(e)n};$e.greaterThanOrEquals=function(e,t,n){if(!l(e))throw new E("first is required.");if(!l(t))throw new E("second is required.");if(!l(n))throw new E("absoluteEpsilon is required.");return e-t>-n};const tE=[1];$e.factorial=function(e){if(typeof e!="number"||e<0)throw new E("A number greater than or equal to 0 is required.");const t=tE.length;if(e>=t){let n=tE[t-1];for(let i=t;i<=e;i++){const o=n*i;tE.push(o),n=o}}return tE[e]};$e.incrementWrap=function(e,t,n){if(n=A(n,0),!l(e))throw new E("n is required.");if(t<=n)throw new E("maximumValue must be greater than minimumValue.");return++e,e>t&&(e=n),e};$e.isPowerOfTwo=function(e){if(typeof e!="number"||e<0||e>4294967295)throw new E("A number between 0 and (2^32)-1 is required.");return e!==0&&(e&e-1)===0};$e.nextPowerOfTwo=function(e){if(typeof e!="number"||e<0||e>2147483648)throw new E("A number between 0 and 2^31 is required.");return--e,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,++e,e};$e.previousPowerOfTwo=function(e){if(typeof e!="number"||e<0||e>4294967295)throw new E("A number between 0 and (2^32)-1 is required.");return e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,e|=e>>32,e=(e>>>0)-(e>>>1),e};$e.clamp=function(e,t,n){return T.typeOf.number("value",e),T.typeOf.number("min",t),T.typeOf.number("max",n),en?n:e};let cW=new Uv;$e.setRandomNumberSeed=function(e){if(!l(e))throw new E("seed is required.");cW=new Uv(e)};$e.nextRandomNumber=function(){return cW.random()};$e.randomBetween=function(e,t){return $e.nextRandomNumber()*(t-e)+e};$e.acosClamped=function(e){if(!l(e))throw new E("value is required.");return Math.acos($e.clamp(e,-1,1))};$e.asinClamped=function(e){if(!l(e))throw new E("value is required.");return Math.asin($e.clamp(e,-1,1))};$e.chordLength=function(e,t){if(!l(e))throw new E("angle is required.");if(!l(t))throw new E("radius is required.");return 2*t*Math.sin(e*.5)};$e.logBase=function(e,t){if(!l(e))throw new E("number is required.");if(!l(t))throw new E("base is required.");return Math.log(e)/Math.log(t)};$e.cbrt=A(Math.cbrt,function(t){const n=Math.pow(Math.abs(t),.3333333333333333);return t<0?-n:n});$e.log2=A(Math.log2,function(t){return Math.log(t)*Math.LOG2E});$e.fog=function(e,t){const n=e*t;return 1-Math.exp(-(n*n))};$e.fastApproximateAtan=function(e){return T.typeOf.number("x",e),e*(-.1784*Math.abs(e)-.0663*e*e+1.0301)};$e.fastApproximateAtan2=function(e,t){T.typeOf.number("x",e),T.typeOf.number("y",t);let n,i=Math.abs(e);n=Math.abs(t);const o=Math.max(i,n);n=Math.min(i,n);const r=n/o;if(isNaN(r))throw new E("either x or y must be nonzero");return i=$e.fastApproximateAtan(r),i=Math.abs(t)>Math.abs(e)?$e.PI_OVER_TWO-i:i,i=e<0?$e.PI-i:i,i=t<0?-i:i,i};const N=$e;function d(e,t,n){this.x=A(e,0),this.y=A(t,0),this.z=A(n,0)}d.fromSpherical=function(e,t){T.typeOf.object("spherical",e),l(t)||(t=new d);const n=e.clock,i=e.cone,o=A(e.magnitude,1),r=o*Math.sin(i);return t.x=r*Math.cos(n),t.y=r*Math.sin(n),t.z=o*Math.cos(i),t};d.fromElements=function(e,t,n,i){return l(i)?(i.x=e,i.y=t,i.z=n,i):new d(e,t,n)};d.clone=function(e,t){if(l(e))return l(t)?(t.x=e.x,t.y=e.y,t.z=e.z,t):new d(e.x,e.y,e.z)};d.fromCartesian4=d.clone;d.packedLength=3;d.pack=function(e,t,n){return T.typeOf.object("value",e),T.defined("array",t),n=A(n,0),t[n++]=e.x,t[n++]=e.y,t[n]=e.z,t};d.unpack=function(e,t,n){return T.defined("array",e),t=A(t,0),l(n)||(n=new d),n.x=e[t++],n.y=e[t++],n.z=e[t],n};d.packArray=function(e,t){T.defined("array",e);const n=e.length,i=n*3;if(!l(t))t=new Array(i);else{if(!Array.isArray(t)&&t.length!==i)throw new E("If result is a typed array, it must have exactly array.length * 3 elements");t.length!==i&&(t.length=i)}for(let o=0;oi&&(o=u,i=f)}let r=1,s=0;const a=UL[o],c=HL[o];if(Math.abs(e[J.getElementIndex(c,a)])>n){const u=e[J.getElementIndex(c,c)],f=e[J.getElementIndex(a,a)],h=e[J.getElementIndex(c,a)],_=(u-f)/2/h;let g;_<0?g=-1/(-_+Math.sqrt(1+_*_)):g=1/(_+Math.sqrt(1+_*_)),r=1/Math.sqrt(1+g*g),s=g*r}return t=J.clone(J.IDENTITY,t),t[J.getElementIndex(a,a)]=t[J.getElementIndex(c,c)]=r,t[J.getElementIndex(c,a)]=s,t[J.getElementIndex(a,c)]=-s,t}const iE=new J,Cz=new J;J.computeEigenDecomposition=function(e,t){T.typeOf.object("matrix",e);const n=N.EPSILON20,i=10;let o=0,r=0;l(t)||(t={});const s=t.unitary=J.clone(J.IDENTITY,t.unitary),a=t.diagonal=J.clone(e,t.diagonal),c=n*tpe(a);for(;rc;)ipe(a,iE),J.transpose(iE,Cz),J.multiply(a,iE,a),J.multiply(Cz,a,a),J.multiply(s,iE,s),++o>2&&(++r,o=0);return t};J.abs=function(e,t){return T.typeOf.object("matrix",e),T.typeOf.object("result",t),t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t[3]=Math.abs(e[3]),t[4]=Math.abs(e[4]),t[5]=Math.abs(e[5]),t[6]=Math.abs(e[6]),t[7]=Math.abs(e[7]),t[8]=Math.abs(e[8]),t};J.determinant=function(e){T.typeOf.object("matrix",e);const t=e[0],n=e[3],i=e[6],o=e[1],r=e[4],s=e[7],a=e[2],c=e[5],u=e[8];return t*(r*u-c*s)+o*(c*i-n*u)+a*(n*s-r*i)};J.inverse=function(e,t){T.typeOf.object("matrix",e),T.typeOf.object("result",t);const n=e[0],i=e[1],o=e[2],r=e[3],s=e[4],a=e[5],c=e[6],u=e[7],f=e[8],h=J.determinant(e);if(Math.abs(h)<=N.EPSILON15)throw new E("matrix is not invertible");t[0]=s*f-u*a,t[1]=u*o-i*f,t[2]=i*a-s*o,t[3]=c*a-r*f,t[4]=n*f-c*o,t[5]=r*o-n*a,t[6]=r*u-c*s,t[7]=c*i-n*u,t[8]=n*s-r*i;const _=1/h;return J.multiplyByScalar(t,_,t)};const ope=new J;J.inverseTranspose=function(e,t){return T.typeOf.object("matrix",e),T.typeOf.object("result",t),J.inverse(J.transpose(e,ope),t)};J.equals=function(e,t){return e===t||l(e)&&l(t)&&e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]};J.equalsEpsilon=function(e,t,n){return n=A(n,0),e===t||l(e)&&l(t)&&Math.abs(e[0]-t[0])<=n&&Math.abs(e[1]-t[1])<=n&&Math.abs(e[2]-t[2])<=n&&Math.abs(e[3]-t[3])<=n&&Math.abs(e[4]-t[4])<=n&&Math.abs(e[5]-t[5])<=n&&Math.abs(e[6]-t[6])<=n&&Math.abs(e[7]-t[7])<=n&&Math.abs(e[8]-t[8])<=n};J.IDENTITY=Object.freeze(new J(1,0,0,0,1,0,0,0,1));J.ZERO=Object.freeze(new J(0,0,0,0,0,0,0,0,0));J.COLUMN0ROW0=0;J.COLUMN0ROW1=1;J.COLUMN0ROW2=2;J.COLUMN1ROW0=3;J.COLUMN1ROW1=4;J.COLUMN1ROW2=5;J.COLUMN2ROW0=6;J.COLUMN2ROW1=7;J.COLUMN2ROW2=8;Object.defineProperties(J.prototype,{length:{get:function(){return J.packedLength}}});J.prototype.clone=function(e){return J.clone(this,e)};J.prototype.equals=function(e){return J.equals(this,e)};J.equalsArray=function(e,t,n){return e[0]===t[n]&&e[1]===t[n+1]&&e[2]===t[n+2]&&e[3]===t[n+3]&&e[4]===t[n+4]&&e[5]===t[n+5]&&e[6]===t[n+6]&&e[7]===t[n+7]&&e[8]===t[n+8]};J.prototype.equalsEpsilon=function(e,t){return J.equalsEpsilon(this,e,t)};J.prototype.toString=function(){return`(${this[0]}, ${this[3]}, ${this[6]}) +`,Ode=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Lde(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),i=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:Ode.map(s=>`${s}:${t.getPropertyValue(s)}`).join(";"),paddingSize:i,borderSize:o,boxSizing:n}}function _z(e,t=1,n){var i;vl||(vl=document.createElement("textarea"),document.body.appendChild(vl));const{paddingSize:o,borderSize:r,boxSizing:s,contextStyle:a}=Lde(e);vl.setAttribute("style",`${a};${Pde}`),vl.value=e.value||e.placeholder||"";let c=vl.scrollHeight;const u={};s==="border-box"?c=c+r:s==="content-box"&&(c=c-o),vl.value="";const f=vl.scrollHeight-o;if(Tp(t)){let h=f*t;s==="border-box"&&(h=h+o+r),c=Math.max(h,c),u.minHeight=`${h}px`}if(Tp(n)){let h=f*n;s==="border-box"&&(h=h+o+r),c=Math.min(h,c)}return u.height=`${c}px`,(i=vl.parentNode)==null||i.removeChild(vl),vl=void 0,u}const Bde=gs({id:{type:String,default:void 0},size:JC,disabled:Boolean,modelValue:{type:Jn([String,Number,Object]),default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:Jn([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:Zy},prefixIcon:{type:Zy},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Jn([Object,Array,String]),default:()=>rC({})}}),Rde={[vd]:e=>vi(e),input:e=>vi(e),change:e=>vi(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},Nde=["role"],Mde=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],Fde=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],zde=fi({name:"ElInput",inheritAttrs:!1}),Ude=fi({...zde,props:Bde,emits:Rde,setup(e,{expose:t,emit:n}){const i=e,o=xoe(),r=XC(),s=it(()=>{const Ae={};return i.containerRole==="combobox"&&(Ae["aria-haspopup"]=o["aria-haspopup"],Ae["aria-owns"]=o["aria-owns"],Ae["aria-expanded"]=o["aria-expanded"]),Ae}),a=it(()=>[i.type==="textarea"?b.b():y.b(),y.m(g.value),y.is("disabled",p.value),y.is("exceed",K.value),{[y.b("group")]:r.prepend||r.append,[y.bm("group","append")]:r.append,[y.bm("group","prepend")]:r.prepend,[y.m("prefix")]:r.prefix||i.prefixIcon,[y.m("suffix")]:r.suffix||i.suffixIcon||i.clearable||i.showPassword,[y.bm("suffix","password-clear")]:V.value&&k.value},o.class]),c=it(()=>[y.e("wrapper"),y.is("focus",w.value)]),u=fde({excludeKeys:it(()=>Object.keys(s.value))}),{form:f,formItem:h}=QC(),{inputId:m}=MN(i,{formItemContext:h}),g=TS(),p=kp(),y=yr("input"),b=yr("textarea"),C=i_(),E=i_(),w=Fn(!1),S=Fn(!1),P=Fn(!1),L=Fn(!1),z=Fn(),R=i_(i.inputStyle),F=it(()=>C.value||E.value),U=it(()=>{var Ae;return(Ae=f==null?void 0:f.statusIcon)!=null?Ae:!1}),v=it(()=>(h==null?void 0:h.validateState)||""),I=it(()=>v.value&&rde[v.value]),_=it(()=>L.value?jfe:xfe),D=it(()=>[o.style,i.inputStyle]),O=it(()=>[i.inputStyle,R.value,{resize:i.resize}]),N=it(()=>kv(i.modelValue)?"":String(i.modelValue)),V=it(()=>i.clearable&&!p.value&&!i.readonly&&!!N.value&&(w.value||S.value)),k=it(()=>i.showPassword&&!p.value&&!i.readonly&&!!N.value&&(!!N.value||w.value)),G=it(()=>i.showWordLimit&&!!u.value.maxlength&&(i.type==="text"||i.type==="textarea")&&!p.value&&!i.readonly&&!i.showPassword),W=it(()=>Array.from(N.value).length),K=it(()=>!!G.value&&W.value>Number(u.value.maxlength)),q=it(()=>!!r.suffix||!!i.suffixIcon||V.value||i.showPassword||G.value||!!v.value&&U.value),[te,Y]=wde(C);nW(E,Ae=>{if(!G.value||i.resize!=="both")return;const xe=Ae[0],{width:Oe}=xe.contentRect;z.value={right:`calc(100% - ${Oe+15+6}px)`}});const X=()=>{const{type:Ae,autosize:xe}=i;if(!(!Ia||Ae!=="textarea"))if(xe){const Oe=Fi(xe)?xe.minRows:void 0,Ve=Fi(xe)?xe.maxRows:void 0;R.value={..._z(E.value,Oe,Ve)}}else R.value={minHeight:_z(E.value).minHeight}},$=()=>{const Ae=F.value;!Ae||Ae.value===N.value||(Ae.value=N.value)},se=async Ae=>{te();let{value:xe}=Ae.target;if(i.formatter&&(xe=i.parser?i.parser(xe):xe,xe=i.formatter(xe)),!P.value){if(xe===N.value){$();return}n(vd,xe),n("input",xe),await rc(),$(),Y()}},ue=Ae=>{n("change",Ae.target.value)},re=Ae=>{n("compositionstart",Ae),P.value=!0},he=Ae=>{var xe;n("compositionupdate",Ae);const Oe=(xe=Ae.target)==null?void 0:xe.value,Ve=Oe[Oe.length-1]||"";P.value=!cde(Ve)},ce=Ae=>{n("compositionend",Ae),P.value&&(P.value=!1,se(Ae))},Q=()=>{L.value=!L.value,ne()},ne=async()=>{var Ae;await rc(),(Ae=F.value)==null||Ae.focus()},fe=()=>{var Ae;return(Ae=F.value)==null?void 0:Ae.blur()},_e=Ae=>{w.value=!0,n("focus",Ae)},Se=Ae=>{var xe;w.value=!1,n("blur",Ae),i.validateEvent&&((xe=h==null?void 0:h.validate)==null||xe.call(h,"blur").catch(Oe=>void 0))},ve=Ae=>{S.value=!1,n("mouseleave",Ae)},Le=Ae=>{S.value=!0,n("mouseenter",Ae)},Ee=Ae=>{n("keydown",Ae)},Be=()=>{var Ae;(Ae=F.value)==null||Ae.select()},Pe=()=>{n(vd,""),n("change",""),n("clear"),n("input","")};return _o(()=>i.modelValue,()=>{var Ae;rc(()=>X()),i.validateEvent&&((Ae=h==null?void 0:h.validate)==null||Ae.call(h,"change").catch(xe=>void 0))}),_o(N,()=>$()),_o(()=>i.type,async()=>{await rc(),$(),X()}),_u(()=>{!i.formatter&&i.parser,$(),rc(X)}),t({input:C,textarea:E,ref:F,textareaStyle:O,autosize:$y(i,"autosize"),focus:ne,blur:fe,select:Be,clear:Pe,resizeTextarea:X}),(Ae,xe)=>bp((et(),Pt("div",rp(pe(s),{class:pe(a),style:pe(D),role:Ae.containerRole,onMouseenter:Le,onMouseleave:ve}),[Yt(" input "),Ae.type!=="textarea"?(et(),Pt(Jo,{key:0},[Yt(" prepend slot "),Ae.$slots.prepend?(et(),Pt("div",{key:0,class:yt(pe(y).be("group","prepend"))},[ni(Ae.$slots,"prepend")],2)):Yt("v-if",!0),gn("div",{class:yt(pe(c))},[Yt(" prefix slot "),Ae.$slots.prefix||Ae.prefixIcon?(et(),Pt("span",{key:0,class:yt(pe(y).e("prefix"))},[gn("span",{class:yt(pe(y).e("prefix-inner")),onClick:ne},[ni(Ae.$slots,"prefix"),Ae.prefixIcon?(et(),ti(pe(xs),{key:0,class:yt(pe(y).e("icon"))},{default:wn(()=>[(et(),ti(Wl(Ae.prefixIcon)))]),_:1},8,["class"])):Yt("v-if",!0)],2)],2)):Yt("v-if",!0),gn("input",rp({id:pe(m),ref_key:"input",ref:C,class:pe(y).e("inner")},pe(u),{type:Ae.showPassword?L.value?"text":"password":Ae.type,disabled:pe(p),formatter:Ae.formatter,parser:Ae.parser,readonly:Ae.readonly,autocomplete:Ae.autocomplete,tabindex:Ae.tabindex,"aria-label":Ae.label,placeholder:Ae.placeholder,style:Ae.inputStyle,form:i.form,onCompositionstart:re,onCompositionupdate:he,onCompositionend:ce,onInput:se,onFocus:_e,onBlur:Se,onChange:ue,onKeydown:Ee}),null,16,Mde),Yt(" suffix slot "),pe(q)?(et(),Pt("span",{key:1,class:yt(pe(y).e("suffix"))},[gn("span",{class:yt(pe(y).e("suffix-inner")),onClick:ne},[!pe(V)||!pe(k)||!pe(G)?(et(),Pt(Jo,{key:0},[ni(Ae.$slots,"suffix"),Ae.suffixIcon?(et(),ti(pe(xs),{key:0,class:yt(pe(y).e("icon"))},{default:wn(()=>[(et(),ti(Wl(Ae.suffixIcon)))]),_:1},8,["class"])):Yt("v-if",!0)],64)):Yt("v-if",!0),pe(V)?(et(),ti(pe(xs),{key:1,class:yt([pe(y).e("icon"),pe(y).e("clear")]),onMousedown:fd(pe(Li),["prevent"]),onClick:Pe},{default:wn(()=>[bn(pe(PN))]),_:1},8,["class","onMousedown"])):Yt("v-if",!0),pe(k)?(et(),ti(pe(xs),{key:2,class:yt([pe(y).e("icon"),pe(y).e("password")]),onClick:Q},{default:wn(()=>[(et(),ti(Wl(pe(_))))]),_:1},8,["class"])):Yt("v-if",!0),pe(G)?(et(),Pt("span",{key:3,class:yt(pe(y).e("count"))},[gn("span",{class:yt(pe(y).e("count-inner"))},va(pe(W))+" / "+va(pe(u).maxlength),3)],2)):Yt("v-if",!0),pe(v)&&pe(I)&&pe(U)?(et(),ti(pe(xs),{key:4,class:yt([pe(y).e("icon"),pe(y).e("validateIcon"),pe(y).is("loading",pe(v)==="validating")])},{default:wn(()=>[(et(),ti(Wl(pe(I))))]),_:1},8,["class"])):Yt("v-if",!0)],2)],2)):Yt("v-if",!0)],2),Yt(" append slot "),Ae.$slots.append?(et(),Pt("div",{key:1,class:yt(pe(y).be("group","append"))},[ni(Ae.$slots,"append")],2)):Yt("v-if",!0)],64)):(et(),Pt(Jo,{key:1},[Yt(" textarea "),gn("textarea",rp({id:pe(m),ref_key:"textarea",ref:E,class:pe(b).e("inner")},pe(u),{tabindex:Ae.tabindex,disabled:pe(p),readonly:Ae.readonly,autocomplete:Ae.autocomplete,style:pe(O),"aria-label":Ae.label,placeholder:Ae.placeholder,form:i.form,onCompositionstart:re,onCompositionupdate:he,onCompositionend:ce,onInput:se,onFocus:_e,onBlur:Se,onChange:ue,onKeydown:Ee}),null,16,Fde),pe(G)?(et(),Pt("span",{key:0,style:Ta(z.value),class:yt(pe(y).e("count"))},va(pe(W))+" / "+va(pe(u).maxlength),7)):Yt("v-if",!0)],64))],16,Nde)),[[Fv,Ae.type!=="hidden"]])}});var Hde=Ls(Ude,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const Vde=kd(Hde),RI="focus-trap.focus-after-trapped",NI="focus-trap.focus-after-released",kde="focus-trap.focusout-prevented",gz={cancelable:!0,bubbles:!1},Gde={cancelable:!0,bubbles:!1},yz="focusAfterTrapped",Az="focusAfterReleased",Wde=Symbol("elFocusTrap"),FN=Fn(),jv=Fn(0),zN=Fn(0);let oE=0;const yW=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const o=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||o?NodeFilter.FILTER_SKIP:i.tabIndex>=0||i===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},bz=(e,t)=>{for(const n of e)if(!jde(n,t))return n},jde=(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},qde=e=>{const t=yW(e),n=bz(t,e),i=bz(t.reverse(),e);return[n,i]},$de=e=>e instanceof HTMLInputElement&&"select"in e,Nh=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),zN.value=window.performance.now(),e!==n&&$de(e)&&t&&e.select()}};function Cz(e,t){const n=[...e],i=e.indexOf(t);return i!==-1&&n.splice(i,1),n}const Yde=()=>{let e=[];return{push:i=>{const o=e[0];o&&i!==o&&o.pause(),e=Cz(e,i),e.unshift(i)},remove:i=>{var o,r;e=Cz(e,i),(r=(o=e[0])==null?void 0:o.resume)==null||r.call(o)}}},Xde=(e,t=!1)=>{const n=document.activeElement;for(const i of e)if(Nh(i,t),document.activeElement!==n)return},Tz=Yde(),Kde=()=>jv.value>zN.value,rE=()=>{FN.value="pointer",jv.value=window.performance.now()},Ez=()=>{FN.value="keyboard",jv.value=window.performance.now()},Jde=()=>(_u(()=>{oE===0&&(document.addEventListener("mousedown",rE),document.addEventListener("touchstart",rE),document.addEventListener("keydown",Ez)),oE++}),C0(()=>{oE--,oE<=0&&(document.removeEventListener("mousedown",rE),document.removeEventListener("touchstart",rE),document.removeEventListener("keydown",Ez))}),{focusReason:FN,lastUserFocusTimestamp:jv,lastAutomatedFocusTimestamp:zN}),sE=e=>new CustomEvent(kde,{...Gde,detail:e}),Qde=fi({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[yz,Az,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=Fn();let i,o;const{focusReason:r}=Jde();xde(p=>{e.trapped&&!s.paused&&t("release-requested",p)});const s={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},a=p=>{if(!e.loop&&!e.trapped||s.paused)return;const{key:y,altKey:b,ctrlKey:C,metaKey:E,currentTarget:w,shiftKey:S}=p,{loop:P}=e,L=y===BN.tab&&!b&&!C&&!E,z=document.activeElement;if(L&&z){const R=w,[F,U]=qde(R);if(F&&U){if(!S&&z===U){const I=sE({focusReason:r.value});t("focusout-prevented",I),I.defaultPrevented||(p.preventDefault(),P&&Nh(F,!0))}else if(S&&[F,R].includes(z)){const I=sE({focusReason:r.value});t("focusout-prevented",I),I.defaultPrevented||(p.preventDefault(),P&&Nh(U,!0))}}else if(z===R){const I=sE({focusReason:r.value});t("focusout-prevented",I),I.defaultPrevented||p.preventDefault()}}};Zu(Wde,{focusTrapRef:n,onKeydown:a}),_o(()=>e.focusTrapEl,p=>{p&&(n.value=p)},{immediate:!0}),_o([n],([p],[y])=>{p&&(p.addEventListener("keydown",a),p.addEventListener("focusin",f),p.addEventListener("focusout",h)),y&&(y.removeEventListener("keydown",a),y.removeEventListener("focusin",f),y.removeEventListener("focusout",h))});const c=p=>{t(yz,p)},u=p=>t(Az,p),f=p=>{const y=pe(n);if(!y)return;const b=p.target,C=p.relatedTarget,E=b&&y.contains(b);e.trapped||C&&y.contains(C)||(i=C),E&&t("focusin",p),!s.paused&&e.trapped&&(E?o=b:Nh(o,!0))},h=p=>{const y=pe(n);if(!(s.paused||!y))if(e.trapped){const b=p.relatedTarget;!kv(b)&&!y.contains(b)&&setTimeout(()=>{if(!s.paused&&e.trapped){const C=sE({focusReason:r.value});t("focusout-prevented",C),C.defaultPrevented||Nh(o,!0)}},0)}else{const b=p.target;b&&y.contains(b)||t("focusout",p)}};async function m(){await rc();const p=pe(n);if(p){Tz.push(s);const y=p.contains(document.activeElement)?i:document.activeElement;if(i=y,!p.contains(y)){const C=new Event(RI,gz);p.addEventListener(RI,c),p.dispatchEvent(C),C.defaultPrevented||rc(()=>{let E=e.focusStartEl;vi(E)||(Nh(E),document.activeElement!==E&&(E="first")),E==="first"&&Xde(yW(p),!0),(document.activeElement===y||E==="container")&&Nh(p)})}}}function g(){const p=pe(n);if(p){p.removeEventListener(RI,c);const y=new CustomEvent(NI,{...gz,detail:{focusReason:r.value}});p.addEventListener(NI,u),p.dispatchEvent(y),!y.defaultPrevented&&(r.value=="keyboard"||!Kde())&&Nh(i??document.body),p.removeEventListener(NI,c),Tz.remove(s)}}return _u(()=>{e.trapped&&m(),_o(()=>e.trapped,p=>{p?m():g()})}),C0(()=>{e.trapped&&g()}),{onKeydown:a}}});function Zde(e,t,n,i,o,r){return ni(e.$slots,"default",{handleKeydown:e.onKeydown})}var ehe=Ls(Qde,[["render",Zde],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const the=gs({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"}}),nhe=["textContent"],ihe=fi({name:"ElBadge"}),ohe=fi({...ihe,props:the,setup(e,{expose:t}){const n=e,i=yr("badge"),o=it(()=>n.isDot?"":Tp(n.value)&&Tp(n.max)?n.max(et(),Pt("div",{class:yt(pe(i).b())},[ni(r.$slots,"default"),bn(KC,{name:`${pe(i).namespace.value}-zoom-in-center`,persisted:""},{default:wn(()=>[bp(gn("sup",{class:yt([pe(i).e("content"),pe(i).em("content",r.type),pe(i).is("fixed",!!r.$slots.default),pe(i).is("dot",r.isDot)]),textContent:va(pe(o))},null,10,nhe),[[Fv,!r.hidden&&(pe(o)||r.isDot)]])]),_:1},8,["name"])],2))}});var rhe=Ls(ohe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const she=kd(rhe),ahe=(e,t)=>{UL({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},it(()=>e.type==="text"));const n=er(fW,void 0),i=Vp("button"),{form:o}=QC(),r=TS(it(()=>n==null?void 0:n.size)),s=kp(),a=Fn(),c=XC(),u=it(()=>e.type||(n==null?void 0:n.type)||""),f=it(()=>{var g,p,y;return(y=(p=e.autoInsertSpace)!=null?p:(g=i.value)==null?void 0:g.autoInsertSpace)!=null?y:!1}),h=it(()=>{var g;const p=(g=c.default)==null?void 0:g.call(c);if(f.value&&(p==null?void 0:p.length)===1){const y=p[0];if((y==null?void 0:y.type)===YC){const b=y.children;return/^\p{Unified_Ideograph}{2}$/u.test(b.trim())}}return!1});return{_disabled:s,_size:r,_type:u,_ref:a,shouldAddSpace:h,handleClick:g=>{e.nativeType==="reset"&&(o==null||o.resetFields()),t("click",g)}}},che=["default","primary","success","warning","info","danger","text",""],lhe=["button","submit","reset"],VL=gs({size:JC,disabled:Boolean,type:{type:String,values:che,default:""},icon:{type:Zy},nativeType:{type:String,values:lhe,default:"button"},loading:Boolean,loadingIcon:{type:Zy,default:()=>aW},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0}}),uhe={click:e=>e instanceof MouseEvent};function Ds(e,t){fhe(e)&&(e="100%");var n=dhe(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 aE(e){return Math.min(1,Math.max(0,e))}function fhe(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function dhe(e){return typeof e=="string"&&e.indexOf("%")!==-1}function AW(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function cE(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Xm(e){return e.length===1?"0"+e:String(e)}function hhe(e,t,n){return{r:Ds(e,255)*255,g:Ds(t,255)*255,b:Ds(n,255)*255}}function xz(e,t,n){e=Ds(e,255),t=Ds(t,255),n=Ds(n,255);var i=Math.max(e,t,n),o=Math.min(e,t,n),r=0,s=0,a=(i+o)/2;if(i===o)s=0,r=0;else{var c=i-o;switch(s=a>.5?c/(2-i-o):c/(i+o),i){case e:r=(t-n)/c+(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 phe(e,t,n){var i,o,r;if(e=Ds(e,360),t=Ds(t,100),n=Ds(n,100),t===0)o=n,r=n,i=n;else{var s=n<.5?n*(1+t):n+t-n*t,a=2*n-s;i=MI(a,s,e+1/3),o=MI(a,s,e),r=MI(a,s,e-1/3)}return{r:i*255,g:o*255,b:r*255}}function wz(e,t,n){e=Ds(e,255),t=Ds(t,255),n=Ds(n,255);var i=Math.max(e,t,n),o=Math.min(e,t,n),r=0,s=i,a=i-o,c=i===0?0:a/i;if(i===o)r=0;else{switch(i){case e:r=(t-n)/a+(t>16,g:(e&65280)>>8,b:e&255}}var kL={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 Ahe(e){var t={r:0,g:0,b:0},n=1,i=null,o=null,r=null,s=!1,a=!1;return typeof e=="string"&&(e=The(e)),typeof e=="object"&&(Ff(e.r)&&Ff(e.g)&&Ff(e.b)?(t=hhe(e.r,e.g,e.b),s=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Ff(e.h)&&Ff(e.s)&&Ff(e.v)?(i=cE(e.s),o=cE(e.v),t=mhe(e.h,i,o),s=!0,a="hsv"):Ff(e.h)&&Ff(e.s)&&Ff(e.l)&&(i=cE(e.s),r=cE(e.l),t=phe(e.h,i,r),s=!0,a="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=AW(n),{ok:s,format:e.format||a,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 bhe="[-\\+]?\\d+%?",Che="[-\\+]?\\d*\\.\\d+%?",$h="(?:".concat(Che,")|(?:").concat(bhe,")"),FI="[\\s|\\(]+(".concat($h,")[,|\\s]+(").concat($h,")[,|\\s]+(").concat($h,")\\s*\\)?"),zI="[\\s|\\(]+(".concat($h,")[,|\\s]+(").concat($h,")[,|\\s]+(").concat($h,")[,|\\s]+(").concat($h,")\\s*\\)?"),Nl={CSS_UNIT:new RegExp($h),rgb:new RegExp("rgb"+FI),rgba:new RegExp("rgba"+zI),hsl:new RegExp("hsl"+FI),hsla:new RegExp("hsla"+zI),hsv:new RegExp("hsv"+FI),hsva:new RegExp("hsva"+zI),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 The(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(kL[e])e=kL[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Nl.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Nl.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Nl.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Nl.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Nl.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Nl.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Nl.hex8.exec(e),n?{r:Qa(n[1]),g:Qa(n[2]),b:Qa(n[3]),a:vz(n[4]),format:t?"name":"hex8"}:(n=Nl.hex6.exec(e),n?{r:Qa(n[1]),g:Qa(n[2]),b:Qa(n[3]),format:t?"name":"hex"}:(n=Nl.hex4.exec(e),n?{r:Qa(n[1]+n[1]),g:Qa(n[2]+n[2]),b:Qa(n[3]+n[3]),a:vz(n[4]+n[4]),format:t?"name":"hex8"}:(n=Nl.hex3.exec(e),n?{r:Qa(n[1]+n[1]),g:Qa(n[2]+n[2]),b:Qa(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Ff(e){return Boolean(Nl.CSS_UNIT.exec(String(e)))}var Ehe=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var i;if(t instanceof e)return t;typeof t=="number"&&(t=yhe(t)),this.originalInput=t;var o=Ahe(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(i=n.format)!==null&&i!==void 0?i:o.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=o.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,i,o,r=t.r/255,s=t.g/255,a=t.b/255;return r<=.03928?n=r/12.92:n=Math.pow((r+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),a<=.03928?o=a/12.92:o=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*i+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=AW(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=wz(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=wz(this.r,this.g,this.b),n=Math.round(t.h*360),i=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(i,"%, ").concat(o,"%)"):"hsva(".concat(n,", ").concat(i,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=xz(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=xz(this.r,this.g,this.b),n=Math.round(t.h*360),i=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(i,"%, ").concat(o,"%)"):"hsla(".concat(n,", ").concat(i,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Sz(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),_he(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),i=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(i,")"):"rgba(".concat(t,", ").concat(n,", ").concat(i,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ds(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(Ds(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="#"+Sz(this.r,this.g,this.b,!1),n=0,i=Object.entries(kL);n=0,r=!n&&o&&(t.startsWith("hex")||t==="name");return r?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(i=this.toRgbString()),t==="prgb"&&(i=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(i=this.toHexString()),t==="hex3"&&(i=this.toHexString(!0)),t==="hex4"&&(i=this.toHex8String(!0)),t==="hex8"&&(i=this.toHex8String()),t==="name"&&(i=this.toName()),t==="hsl"&&(i=this.toHslString()),t==="hsv"&&(i=this.toHsvString()),i||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=aE(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=aE(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=aE(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=aE(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),i=(n.h+t)%360;return n.h=i<0?360+i:i,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var i=this.toRgb(),o=new e(t).toRgb(),r=n/100,s={r:(o.r-i.r)*r+i.r,g:(o.g-i.g)*r+i.g,b:(o.b-i.b)*r+i.b,a:(o.a-i.a)*r+i.a};return new e(s)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var i=this.toHsl(),o=360/n,r=[this];for(i.h=(i.h-(o*t>>1)+720)%360;--t;)i.h=(i.h+o)%360,r.push(new e(i));return r},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(),i=n.h,o=n.s,r=n.v,s=[],a=1/t;t--;)s.push(new e({h:i,s:o,v:r})),r=(r+a)%1;return s},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(),i=new e(t).toRgb();return new e({r:i.r+(n.r-i.r)*n.a,g:i.g+(n.g-i.g)*n.a,b:i.b+(n.b-i.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),i=n.h,o=[this],r=360/t,s=1;s{let i={};const o=e.color;if(o){const r=new Ehe(o),s=e.dark?r.tint(20).toString():dh(r,20);if(e.plain)i=n.cssVarBlock({"bg-color":e.dark?dh(r,90):r.tint(90).toString(),"text-color":o,"border-color":e.dark?dh(r,50):r.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":o,"hover-border-color":o,"active-bg-color":s,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":s}),t.value&&(i[n.cssVarBlockName("disabled-bg-color")]=e.dark?dh(r,90):r.tint(90).toString(),i[n.cssVarBlockName("disabled-text-color")]=e.dark?dh(r,50):r.tint(50).toString(),i[n.cssVarBlockName("disabled-border-color")]=e.dark?dh(r,80):r.tint(80).toString());else{const a=e.dark?dh(r,30):r.tint(30).toString(),c=r.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(i=n.cssVarBlock({"bg-color":o,"text-color":c,"border-color":o,"hover-bg-color":a,"hover-text-color":c,"hover-border-color":a,"active-bg-color":s,"active-border-color":s}),t.value){const u=e.dark?dh(r,50):r.tint(50).toString();i[n.cssVarBlockName("disabled-bg-color")]=u,i[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,i[n.cssVarBlockName("disabled-border-color")]=u}}}return i})}const whe=["aria-disabled","disabled","autofocus","type"],She=fi({name:"ElButton"}),vhe=fi({...She,props:VL,emits:uhe,setup(e,{expose:t,emit:n}){const i=e,o=xhe(i),r=yr("button"),{_ref:s,_size:a,_type:c,_disabled:u,shouldAddSpace:f,handleClick:h}=ahe(i,n);return t({ref:s,size:a,type:c,disabled:u,shouldAddSpace:f}),(m,g)=>(et(),Pt("button",{ref_key:"_ref",ref:s,class:yt([pe(r).b(),pe(r).m(pe(c)),pe(r).m(pe(a)),pe(r).is("disabled",pe(u)),pe(r).is("loading",m.loading),pe(r).is("plain",m.plain),pe(r).is("round",m.round),pe(r).is("circle",m.circle),pe(r).is("text",m.text),pe(r).is("link",m.link),pe(r).is("has-bg",m.bg)]),"aria-disabled":pe(u)||m.loading,disabled:pe(u)||m.loading,autofocus:m.autofocus,type:m.nativeType,style:Ta(pe(o)),onClick:g[0]||(g[0]=(...p)=>pe(h)&&pe(h)(...p))},[m.loading?(et(),Pt(Jo,{key:0},[m.$slots.loading?ni(m.$slots,"loading",{key:0}):(et(),ti(pe(xs),{key:1,class:yt(pe(r).is("loading"))},{default:wn(()=>[(et(),ti(Wl(m.loadingIcon)))]),_:1},8,["class"]))],64)):m.icon||m.$slots.icon?(et(),ti(pe(xs),{key:1},{default:wn(()=>[m.icon?(et(),ti(Wl(m.icon),{key:0})):ni(m.$slots,"icon",{key:1})]),_:3})):Yt("v-if",!0),m.$slots.default?(et(),Pt("span",{key:2,class:yt({[pe(r).em("text","expand")]:pe(f)})},[ni(m.$slots,"default")],2)):Yt("v-if",!0)],14,whe))}});var Dhe=Ls(vhe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const Ihe={size:VL.size,type:VL.type},Phe=fi({name:"ElButtonGroup"}),Ohe=fi({...Phe,props:Ihe,setup(e){const t=e;Zu(fW,b0({size:$y(t,"size"),type:$y(t,"type")}));const n=yr("button");return(i,o)=>(et(),Pt("div",{class:yt(`${pe(n).b("group")}`)},[ni(i.$slots,"default")],2))}});var bW=Ls(Ohe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const Lhe=kd(Dhe,{ButtonGroup:bW});LN(bW);var Sy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};const CW={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object]},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:JC,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0}},TW={[vd]:e=>vi(e)||Tp(e)||AS(e),change:e=>vi(e)||Tp(e)||AS(e)},Bhe=({model:e,isChecked:t})=>{const n=er(E0,void 0),i=it(()=>{var r,s;const a=(r=n==null?void 0:n.max)==null?void 0:r.value,c=(s=n==null?void 0:n.min)==null?void 0:s.value;return!bS(a)&&e.value.length>=a&&!t.value||!bS(c)&&e.value.length<=c&&t.value});return{isDisabled:kp(it(()=>(n==null?void 0:n.disabled.value)||i.value)),isLimitDisabled:i}},Rhe=(e,{model:t,isLimitExceeded:n,hasOwnLabel:i,isDisabled:o,isLabeledByFormItem:r})=>{const s=er(E0,void 0),{formItem:a}=QC(),{emit:c}=Dc();function u(p){var y,b;return p===e.trueLabel||p===!0?(y=e.trueLabel)!=null?y:!0:(b=e.falseLabel)!=null?b:!1}function f(p,y){c("change",u(p),y)}function h(p){if(n.value)return;const y=p.target;c("change",u(y.checked),p)}async function m(p){n.value||!i.value&&!o.value&&r.value&&(p.composedPath().some(C=>C.tagName==="LABEL")||(t.value=u([!1,e.falseLabel].includes(t.value)),await rc(),f(t.value,p)))}const g=it(()=>(s==null?void 0:s.validateEvent)||e.validateEvent);return _o(()=>e.modelValue,()=>{g.value&&(a==null||a.validate("change").catch(p=>void 0))}),{handleChange:h,onClickRoot:m}},Nhe=e=>{const t=Fn(!1),{emit:n}=Dc(),i=er(E0,void 0),o=it(()=>bS(i)===!1),r=Fn(!1);return{model:it({get(){var a,c;return o.value?(a=i==null?void 0:i.modelValue)==null?void 0:a.value:(c=e.modelValue)!=null?c:t.value},set(a){var c,u;o.value&&qt(a)?(r.value=((c=i==null?void 0:i.max)==null?void 0:c.value)!==void 0&&a.length>(i==null?void 0:i.max.value),r.value===!1&&((u=i==null?void 0:i.changeEvent)==null||u.call(i,a))):(n(vd,a),t.value=a)}}),isGroup:o,isLimitExceeded:r}},Mhe=(e,t,{model:n})=>{const i=er(E0,void 0),o=Fn(!1),r=it(()=>{const u=n.value;return AS(u)?u:qt(u)?Fi(e.label)?u.map(bi).some(f=>tue(f,e.label)):u.map(bi).includes(e.label):u!=null?u===e.trueLabel:!!u}),s=TS(it(()=>{var u;return(u=i==null?void 0:i.size)==null?void 0:u.value}),{prop:!0}),a=TS(it(()=>{var u;return(u=i==null?void 0:i.size)==null?void 0:u.value})),c=it(()=>!!(t.default||e.label));return{checkboxButtonSize:s,isChecked:r,isFocused:o,checkboxSize:a,hasOwnLabel:c}},Fhe=(e,{model:t})=>{function n(){qt(t.value)&&!t.value.includes(e.label)?t.value.push(e.label):t.value=e.trueLabel||!0}e.checked&&n()},EW=(e,t)=>{const{formItem:n}=QC(),{model:i,isGroup:o,isLimitExceeded:r}=Nhe(e),{isFocused:s,isChecked:a,checkboxButtonSize:c,checkboxSize:u,hasOwnLabel:f}=Mhe(e,t,{model:i}),{isDisabled:h}=Bhe({model:i,isChecked:a}),{inputId:m,isLabeledByFormItem:g}=MN(e,{formItemContext:n,disableIdGeneration:f,disableIdManagement:o}),{handleChange:p,onClickRoot:y}=Rhe(e,{model:i,isLimitExceeded:r,hasOwnLabel:f,isDisabled:h,isLabeledByFormItem:g});return Fhe(e,{model:i}),{inputId:m,isLabeledByFormItem:g,isChecked:a,isDisabled:h,isFocused:s,checkboxButtonSize:c,checkboxSize:u,hasOwnLabel:f,model:i,handleChange:p,onClickRoot:y}},zhe=["tabindex","role","aria-checked"],Uhe=["id","aria-hidden","name","tabindex","disabled","true-value","false-value"],Hhe=["id","aria-hidden","disabled","value","name","tabindex"],Vhe=fi({name:"ElCheckbox"}),khe=fi({...Vhe,props:CW,emits:TW,setup(e){const t=e,n=XC(),{inputId:i,isLabeledByFormItem:o,isChecked:r,isDisabled:s,isFocused:a,checkboxSize:c,hasOwnLabel:u,model:f,handleChange:h,onClickRoot:m}=EW(t,n),g=yr("checkbox"),p=it(()=>[g.b(),g.m(c.value),g.is("disabled",s.value),g.is("bordered",t.border),g.is("checked",r.value)]),y=it(()=>[g.e("input"),g.is("disabled",s.value),g.is("checked",r.value),g.is("indeterminate",t.indeterminate),g.is("focus",a.value)]);return(b,C)=>(et(),ti(Wl(!pe(u)&&pe(o)?"span":"label"),{class:yt(pe(p)),"aria-controls":b.indeterminate?b.controls:null,onClick:pe(m)},{default:wn(()=>[gn("span",{class:yt(pe(y)),tabindex:b.indeterminate?0:void 0,role:b.indeterminate?"checkbox":void 0,"aria-checked":b.indeterminate?"mixed":void 0},[b.trueLabel||b.falseLabel?bp((et(),Pt("input",{key:0,id:pe(i),"onUpdate:modelValue":C[0]||(C[0]=E=>Uo(f)?f.value=E:null),class:yt(pe(g).e("original")),type:"checkbox","aria-hidden":b.indeterminate?"true":"false",name:b.name,tabindex:b.tabindex,disabled:pe(s),"true-value":b.trueLabel,"false-value":b.falseLabel,onChange:C[1]||(C[1]=(...E)=>pe(h)&&pe(h)(...E)),onFocus:C[2]||(C[2]=E=>a.value=!0),onBlur:C[3]||(C[3]=E=>a.value=!1)},null,42,Uhe)),[[pS,pe(f)]]):bp((et(),Pt("input",{key:1,id:pe(i),"onUpdate:modelValue":C[4]||(C[4]=E=>Uo(f)?f.value=E:null),class:yt(pe(g).e("original")),type:"checkbox","aria-hidden":b.indeterminate?"true":"false",disabled:pe(s),value:b.label,name:b.name,tabindex:b.tabindex,onChange:C[5]||(C[5]=(...E)=>pe(h)&&pe(h)(...E)),onFocus:C[6]||(C[6]=E=>a.value=!0),onBlur:C[7]||(C[7]=E=>a.value=!1)},null,42,Hhe)),[[pS,pe(f)]]),gn("span",{class:yt(pe(g).e("inner"))},null,2)],10,zhe),pe(u)?(et(),Pt("span",{key:0,class:yt(pe(g).e("label"))},[ni(b.$slots,"default"),b.$slots.default?Yt("v-if",!0):(et(),Pt(Jo,{key:0},[Hu(va(b.label),1)],64))],2)):Yt("v-if",!0)]),_:3},8,["class","aria-controls","onClick"]))}});var Ghe=Ls(khe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const Whe=["name","tabindex","disabled","true-value","false-value"],jhe=["name","tabindex","disabled","value"],qhe=fi({name:"ElCheckboxButton"}),$he=fi({...qhe,props:CW,emits:TW,setup(e){const t=e,n=XC(),{isFocused:i,isChecked:o,isDisabled:r,checkboxButtonSize:s,model:a,handleChange:c}=EW(t,n),u=er(E0,void 0),f=yr("checkbox"),h=it(()=>{var g,p,y,b;const C=(p=(g=u==null?void 0:u.fill)==null?void 0:g.value)!=null?p:"";return{backgroundColor:C,borderColor:C,color:(b=(y=u==null?void 0:u.textColor)==null?void 0:y.value)!=null?b:"",boxShadow:C?`-1px 0 0 0 ${C}`:void 0}}),m=it(()=>[f.b("button"),f.bm("button",s.value),f.is("disabled",r.value),f.is("checked",o.value),f.is("focus",i.value)]);return(g,p)=>(et(),Pt("label",{class:yt(pe(m))},[g.trueLabel||g.falseLabel?bp((et(),Pt("input",{key:0,"onUpdate:modelValue":p[0]||(p[0]=y=>Uo(a)?a.value=y:null),class:yt(pe(f).be("button","original")),type:"checkbox",name:g.name,tabindex:g.tabindex,disabled:pe(r),"true-value":g.trueLabel,"false-value":g.falseLabel,onChange:p[1]||(p[1]=(...y)=>pe(c)&&pe(c)(...y)),onFocus:p[2]||(p[2]=y=>i.value=!0),onBlur:p[3]||(p[3]=y=>i.value=!1)},null,42,Whe)),[[pS,pe(a)]]):bp((et(),Pt("input",{key:1,"onUpdate:modelValue":p[4]||(p[4]=y=>Uo(a)?a.value=y:null),class:yt(pe(f).be("button","original")),type:"checkbox",name:g.name,tabindex:g.tabindex,disabled:pe(r),value:g.label,onChange:p[5]||(p[5]=(...y)=>pe(c)&&pe(c)(...y)),onFocus:p[6]||(p[6]=y=>i.value=!0),onBlur:p[7]||(p[7]=y=>i.value=!1)},null,42,jhe)),[[pS,pe(a)]]),g.$slots.default||g.label?(et(),Pt("span",{key:2,class:yt(pe(f).be("button","inner")),style:Ta(pe(o)?pe(h):void 0)},[ni(g.$slots,"default",{},()=>[Hu(va(g.label),1)])],6)):Yt("v-if",!0)],2))}});var xW=Ls($he,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const Yhe=gs({modelValue:{type:Jn(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:JC,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0}}),Xhe={[vd]:e=>qt(e),change:e=>qt(e)},Khe=fi({name:"ElCheckboxGroup"}),Jhe=fi({...Khe,props:Yhe,emits:Xhe,setup(e,{emit:t}){const n=e,i=yr("checkbox"),{formItem:o}=QC(),{inputId:r,isLabeledByFormItem:s}=MN(n,{formItemContext:o}),a=async u=>{t(vd,u),await rc(),t("change",u)},c=it({get(){return n.modelValue},set(u){a(u)}});return Zu(E0,{...sue(bie(n),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:c,changeEvent:a}),_o(()=>n.modelValue,()=>{n.validateEvent&&(o==null||o.validate("change").catch(u=>void 0))}),(u,f)=>{var h;return et(),ti(Wl(u.tag),{id:pe(r),class:yt(pe(i).b("group")),role:"group","aria-label":pe(s)?void 0:u.label||"checkbox-group","aria-labelledby":pe(s)?(h=pe(o))==null?void 0:h.labelId:void 0},{default:wn(()=>[ni(u.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var wW=Ls(Jhe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const Qhe=kd(Ghe,{CheckboxButton:xW,CheckboxGroup:wW});LN(xW);const Zhe=LN(wW),GL={},epe=gs({a11y:{type:Boolean,default:!0},locale:{type:Jn(Object)},size:JC,button:{type:Jn(Object)},experimentalFeatures:{type:Jn(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:Jn(Object)},zIndex:Number,namespace:{type:String,default:"el"}});fi({name:"ElConfigProvider",props:epe,setup(e,{slots:t}){_o(()=>e.message,i=>{Object.assign(GL,i??{})},{immediate:!0,deep:!0});const n=hde(e);return()=>ni(t,"default",{config:n==null?void 0:n.value})}});const tpe=gs({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:Jn([String,Array,Object])},zIndex:{type:Jn([String,Number])}}),npe={click:e=>e instanceof MouseEvent};var ipe=fi({name:"ElOverlay",props:tpe,emits:npe,setup(e,{slots:t,emit:n}){const i=yr("overlay"),o=c=>{n("click",c)},{onClick:r,onMousedown:s,onMouseup:a}=Ede(e.customMaskEvent?void 0:o);return()=>e.mask?bn("div",{class:[i.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:r,onMousedown:s,onMouseup:a},[ni(t,"default")],gw.STYLE|gw.CLASS|gw.PROPS,["onClick","onMouseup","onMousedown"]):Mv("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[ni(t,"default")])}});const ope=ipe,rpe=gs({center:{type:Boolean,default:!1},alignCenter:{type:Boolean,default:!1},closeIcon:{type:Zy},customClass:{type:String,default:""},draggable:{type:Boolean,default:!1},fullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},title:{type:String,default:""}}),spe=gs({...rpe,appendToBody:{type:Boolean,default:!1},beforeClose:{type:Jn(Function)},destroyOnClose:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:{type:Boolean,default:!1},modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1}}),ape={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[vd]:e=>AS(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},cpe=(e,t)=>{const i=Dc().emit,{nextZIndex:o}=gW();let r="";const s=HL(),a=HL(),c=Fn(!1),u=Fn(!1),f=Fn(!1),h=Fn(e.zIndex||o());let m,g;const p=Vp("namespace",NN),y=it(()=>{const D={},O=`--${p.value}-dialog`;return e.fullscreen||(e.top&&(D[`${O}-margin-top`]=e.top),e.width&&(D[`${O}-width`]=DN(e.width))),D}),b=it(()=>e.alignCenter?{display:"flex"}:{});function C(){i("opened")}function E(){i("closed"),i(vd,!1),e.destroyOnClose&&(f.value=!1)}function w(){i("close")}function S(){g==null||g(),m==null||m(),e.openDelay&&e.openDelay>0?{stop:m}=ML(()=>R(),e.openDelay):R()}function P(){m==null||m(),g==null||g(),e.closeDelay&&e.closeDelay>0?{stop:g}=ML(()=>F(),e.closeDelay):F()}function L(){function D(O){O||(u.value=!0,c.value=!1)}e.beforeClose?e.beforeClose(D):P()}function z(){e.closeOnClickModal&&L()}function R(){Ia&&(c.value=!0)}function F(){c.value=!1}function U(){i("openAutoFocus")}function v(){i("closeAutoFocus")}function I(D){var O;((O=D.detail)==null?void 0:O.focusReason)==="pointer"&&D.preventDefault()}e.lockScroll&&Tde(c);function _(){e.closeOnPressEscape&&L()}return _o(()=>e.modelValue,D=>{D?(u.value=!1,S(),f.value=!0,h.value=e.zIndex?h.value++:o(),rc(()=>{i("open"),t.value&&(t.value.scrollTop=0)})):c.value&&P()}),_o(()=>e.fullscreen,D=>{t.value&&(D?(r=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=r)}),_u(()=>{e.modelValue&&(c.value=!0,f.value=!0,S())}),{afterEnter:C,afterLeave:E,beforeLeave:w,handleClose:L,onModalClick:z,close:P,doClose:F,onOpenAutoFocus:U,onCloseAutoFocus:v,onCloseRequested:_,onFocusoutPrevented:I,titleId:s,bodyId:a,closed:u,style:y,overlayDialogStyle:b,rendered:f,visible:c,zIndex:h}},lpe=gs({...spe,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0}}),upe=ape,fpe=fi({name:"ElDrawer",components:{ElOverlay:ope,ElFocusTrap:ehe,ElIcon:xs,Close:Wv},inheritAttrs:!1,props:lpe,emits:upe,setup(e,{slots:t}){UL({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"},it(()=>!!t.title)),UL({scope:"el-drawer",from:"custom-class",replacement:"class",version:"2.3.0",ref:"https://element-plus.org/en-US/component/drawer.html#attributes",type:"Attribute"},it(()=>!!e.customClass));const n=Fn(),i=Fn(),o=yr("drawer"),{t:r}=_W(),s=it(()=>e.direction==="rtl"||e.direction==="ltr"),a=it(()=>DN(e.size));return{...cpe(e,n),drawerRef:n,focusStartRef:i,isHorizontal:s,drawerSize:a,ns:o,t:r}}}),dpe=["aria-label","aria-labelledby","aria-describedby"],hpe=["id"],ppe=["aria-label"],mpe=["id"];function _pe(e,t,n,i,o,r){const s=eE("close"),a=eE("el-icon"),c=eE("el-focus-trap"),u=eE("el-overlay");return et(),ti(doe,{to:"body",disabled:!e.appendToBody},[bn(KC,{name:e.ns.b("fade"),onAfterEnter:e.afterEnter,onAfterLeave:e.afterLeave,onBeforeLeave:e.beforeLeave,persisted:""},{default:wn(()=>[bp(bn(u,{mask:e.modal,"overlay-class":e.modalClass,"z-index":e.zIndex,onClick:e.onModalClick},{default:wn(()=>[bn(c,{loop:"",trapped:e.visible,"focus-trap-el":e.drawerRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:wn(()=>[gn("div",rp({ref:"drawerRef","aria-modal":"true","aria-label":e.title||void 0,"aria-labelledby":e.title?void 0:e.titleId,"aria-describedby":e.bodyId},e.$attrs,{class:[e.ns.b(),e.direction,e.visible&&"open",e.customClass],style:e.isHorizontal?"width: "+e.drawerSize:"height: "+e.drawerSize,role:"dialog",onClick:t[1]||(t[1]=fd(()=>{},["stop"]))}),[gn("span",{ref:"focusStartRef",class:yt(e.ns.e("sr-focus")),tabindex:"-1"},null,2),e.withHeader?(et(),Pt("header",{key:0,class:yt(e.ns.e("header"))},[e.$slots.title?ni(e.$slots,"title",{key:1},()=>[Yt(" DEPRECATED SLOT ")]):ni(e.$slots,"header",{key:0,close:e.handleClose,titleId:e.titleId,titleClass:e.ns.e("title")},()=>[e.$slots.title?Yt("v-if",!0):(et(),Pt("span",{key:0,id:e.titleId,role:"heading",class:yt(e.ns.e("title"))},va(e.title),11,hpe))]),e.showClose?(et(),Pt("button",{key:2,"aria-label":e.t("el.drawer.close"),class:yt(e.ns.e("close-btn")),type:"button",onClick:t[0]||(t[0]=(...f)=>e.handleClose&&e.handleClose(...f))},[bn(a,{class:yt(e.ns.e("close"))},{default:wn(()=>[bn(s)]),_:1},8,["class"])],10,ppe)):Yt("v-if",!0)],2)):Yt("v-if",!0),e.rendered?(et(),Pt("div",{key:1,id:e.bodyId,class:yt(e.ns.e("body"))},[ni(e.$slots,"default")],10,mpe)):Yt("v-if",!0),e.$slots.footer?(et(),Pt("div",{key:2,class:yt(e.ns.e("footer"))},[ni(e.$slots,"footer")],2)):Yt("v-if",!0)],16,dpe)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[Fv,e.visible]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"])}var gpe=Ls(fpe,[["render",_pe],["__file","/home/runner/work/element-plus/element-plus/packages/components/drawer/src/drawer.vue"]]);const ype=kd(gpe),Ape=gs({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:Jn(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:Jn([String,Array,Function]),default:""},format:{type:Jn(Function),default:e=>`${e}%`}}),bpe=["aria-valuenow"],Cpe={viewBox:"0 0 100 100"},Tpe=["d","stroke","stroke-width"],Epe=["d","stroke","opacity","stroke-linecap","stroke-width"],xpe={key:0},wpe=fi({name:"ElProgress"}),Spe=fi({...wpe,props:Ape,setup(e){const t=e,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},i=yr("progress"),o=it(()=>({width:`${t.percentage}%`,animationDuration:`${t.duration}s`,backgroundColor:E(t.percentage)})),r=it(()=>(t.strokeWidth/t.width*100).toFixed(1)),s=it(()=>["circle","dashboard"].includes(t.type)?Number.parseInt(`${50-Number.parseFloat(r.value)/2}`,10):0),a=it(()=>{const w=s.value,S=t.type==="dashboard";return` + M 50 50 + m 0 ${S?"":"-"}${w} + a ${w} ${w} 0 1 1 0 ${S?"-":""}${w*2} + a ${w} ${w} 0 1 1 0 ${S?"":"-"}${w*2} + `}),c=it(()=>2*Math.PI*s.value),u=it(()=>t.type==="dashboard"?.75:1),f=it(()=>`${-1*c.value*(1-u.value)/2}px`),h=it(()=>({strokeDasharray:`${c.value*u.value}px, ${c.value}px`,strokeDashoffset:f.value})),m=it(()=>({strokeDasharray:`${c.value*u.value*(t.percentage/100)}px, ${c.value}px`,strokeDashoffset:f.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),g=it(()=>{let w;return t.color?w=E(t.percentage):w=n[t.status]||n.default,w}),p=it(()=>t.status==="warning"?ON:t.type==="line"?t.status==="success"?IN:PN:t.status==="success"?oW:Wv),y=it(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),b=it(()=>t.format(t.percentage));function C(w){const S=100/w.length;return w.map((L,z)=>vi(L)?{color:L,percentage:(z+1)*S}:L).sort((L,z)=>L.percentage-z.percentage)}const E=w=>{var S;const{color:P}=t;if(Dn(P))return P(w);if(vi(P))return P;{const L=C(P);for(const z of L)if(z.percentage>w)return z.color;return(S=L[L.length-1])==null?void 0:S.color}};return(w,S)=>(et(),Pt("div",{class:yt([pe(i).b(),pe(i).m(w.type),pe(i).is(w.status),{[pe(i).m("without-text")]:!w.showText,[pe(i).m("text-inside")]:w.textInside}]),role:"progressbar","aria-valuenow":w.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[w.type==="line"?(et(),Pt("div",{key:0,class:yt(pe(i).b("bar"))},[gn("div",{class:yt(pe(i).be("bar","outer")),style:Ta({height:`${w.strokeWidth}px`})},[gn("div",{class:yt([pe(i).be("bar","inner"),{[pe(i).bem("bar","inner","indeterminate")]:w.indeterminate}]),style:Ta(pe(o))},[(w.showText||w.$slots.default)&&w.textInside?(et(),Pt("div",{key:0,class:yt(pe(i).be("bar","innerText"))},[ni(w.$slots,"default",{percentage:w.percentage},()=>[gn("span",null,va(pe(b)),1)])],2)):Yt("v-if",!0)],6)],6)],2)):(et(),Pt("div",{key:1,class:yt(pe(i).b("circle")),style:Ta({height:`${w.width}px`,width:`${w.width}px`})},[(et(),Pt("svg",Cpe,[gn("path",{class:yt(pe(i).be("circle","track")),d:pe(a),stroke:`var(${pe(i).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-width":pe(r),fill:"none",style:Ta(pe(h))},null,14,Tpe),gn("path",{class:yt(pe(i).be("circle","path")),d:pe(a),stroke:pe(g),fill:"none",opacity:w.percentage?1:0,"stroke-linecap":w.strokeLinecap,"stroke-width":pe(r),style:Ta(pe(m))},null,14,Epe)]))],6)),(w.showText||w.$slots.default)&&!w.textInside?(et(),Pt("div",{key:2,class:yt(pe(i).e("text")),style:Ta({fontSize:`${pe(y)}px`})},[ni(w.$slots,"default",{percentage:w.percentage},()=>[w.status?(et(),ti(pe(xs),{key:1},{default:wn(()=>[(et(),ti(Wl(pe(p))))]),_:1})):(et(),Pt("span",xpe,va(pe(b)),1))])],6)):Yt("v-if",!0)],10,bpe))}});var vpe=Ls(Spe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue"]]);const Dpe=kd(vpe),Ipe=["start","center","end","space-around","space-between","space-evenly"],Ppe=["top","middle","bottom"],Ope=gs({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:Ipe,default:"start"},align:{type:String,values:Ppe,default:"top"}}),Lpe=fi({name:"ElRow"}),Bpe=fi({...Lpe,props:Ope,setup(e){const t=e,n=yr("row"),i=it(()=>t.gutter);Zu(dde,{gutter:i});const o=it(()=>{const s={};return t.gutter&&(s.marginRight=s.marginLeft=`-${t.gutter/2}px`),s}),r=it(()=>[n.b(),n.is(`justify-${t.justify}`,t.justify!=="start"),n.is(`align-${t.align}`,t.align!=="top")]);return(s,a)=>(et(),ti(Wl(s.tag),{class:yt(pe(r)),style:Ta(pe(o))},{default:wn(()=>[ni(s.$slots,"default")]),_:3},8,["class","style"]))}});var Rpe=Ls(Bpe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);const Npe=kd(Rpe),Mpe="ElUpload";class Fpe extends Error{constructor(t,n,i,o){super(t),this.name="UploadAjaxError",this.status=n,this.method=i,this.url=o}}function Dz(e,t,n){let i;return n.response?i=`${n.response.error||n.response}`:n.responseText?i=`${n.responseText}`:i=`fail to ${t.method} ${e} ${n.status}`,new Fpe(i,n.status,t.method,e)}function zpe(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const Upe=e=>{typeof XMLHttpRequest>"u"&&Gv(Mpe,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",r=>{const s=r;s.percent=r.total>0?r.loaded/r.total*100:0,e.onProgress(s)});const i=new FormData;if(e.data)for(const[r,s]of Object.entries(e.data))Array.isArray(s)?i.append(r,...s):i.append(r,s);i.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(Dz(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(Dz(n,e,t));e.onSuccess(zpe(t))}),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const o=e.headers||{};if(o instanceof Headers)o.forEach((r,s)=>t.setRequestHeader(s,r));else for(const[r,s]of Object.entries(o))kv(s)||t.setRequestHeader(r,String(s));return t.send(i),t},SW=["text","picture","picture-card"];let Hpe=1;const WL=()=>Date.now()+Hpe++,vW=gs({action:{type:String,default:"#"},headers:{type:Jn(Object)},method:{type:String,default:"post"},data:{type:Object,default:()=>rC({})},multiple:{type:Boolean,default:!1},name:{type:String,default:"file"},drag:{type:Boolean,default:!1},withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},type:{type:String,default:"select"},fileList:{type:Jn(Array),default:()=>rC([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:SW,default:"text"},httpRequest:{type:Jn(Function),default:Upe},disabled:Boolean,limit:Number}),Vpe=gs({...vW,beforeUpload:{type:Jn(Function),default:Li},beforeRemove:{type:Jn(Function)},onRemove:{type:Jn(Function),default:Li},onChange:{type:Jn(Function),default:Li},onPreview:{type:Jn(Function),default:Li},onSuccess:{type:Jn(Function),default:Li},onProgress:{type:Jn(Function),default:Li},onError:{type:Jn(Function),default:Li},onExceed:{type:Jn(Function),default:Li}}),kpe=gs({files:{type:Jn(Array),default:()=>rC([])},disabled:{type:Boolean,default:!1},handlePreview:{type:Jn(Function),default:Li},listType:{type:String,values:SW,default:"text"}}),Gpe={remove:e=>!!e},Wpe=["onKeydown"],jpe=["src"],qpe=["onClick"],$pe=["onClick"],Ype=["onClick"],Xpe=fi({name:"ElUploadList"}),Kpe=fi({...Xpe,props:kpe,emits:Gpe,setup(e,{emit:t}){const{t:n}=_W(),i=yr("upload"),o=yr("icon"),r=yr("list"),s=kp(),a=Fn(!1),c=u=>{t("remove",u)};return(u,f)=>(et(),ti(Yoe,{tag:"ul",class:yt([pe(i).b("list"),pe(i).bm("list",u.listType),pe(i).is("disabled",pe(s))]),name:pe(r).b()},{default:wn(()=>[(et(!0),Pt(Jo,null,t9(u.files,h=>(et(),Pt("li",{key:h.uid||h.name,class:yt([pe(i).be("list","item"),pe(i).is(h.status),{focusing:a.value}]),tabindex:"0",onKeydown:w9(m=>!pe(s)&&c(h),["delete"]),onFocus:f[0]||(f[0]=m=>a.value=!0),onBlur:f[1]||(f[1]=m=>a.value=!1),onClick:f[2]||(f[2]=m=>a.value=!1)},[ni(u.$slots,"default",{file:h},()=>[u.listType==="picture"||h.status!=="uploading"&&u.listType==="picture-card"?(et(),Pt("img",{key:0,class:yt(pe(i).be("list","item-thumbnail")),src:h.url,alt:""},null,10,jpe)):Yt("v-if",!0),h.status==="uploading"||u.listType!=="picture-card"?(et(),Pt("div",{key:1,class:yt(pe(i).be("list","item-info"))},[gn("a",{class:yt(pe(i).be("list","item-name")),onClick:fd(m=>u.handlePreview(h),["prevent"])},[bn(pe(xs),{class:yt(pe(o).m("document"))},{default:wn(()=>[bn(pe(gfe))]),_:1},8,["class"]),gn("span",{class:yt(pe(i).be("list","item-file-name"))},va(h.name),3)],10,qpe),h.status==="uploading"?(et(),ti(pe(Dpe),{key:0,type:u.listType==="picture-card"?"circle":"line","stroke-width":u.listType==="picture-card"?6:2,percentage:Number(h.percentage),style:Ta(u.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):Yt("v-if",!0)],2)):Yt("v-if",!0),gn("label",{class:yt(pe(i).be("list","item-status-label"))},[u.listType==="text"?(et(),ti(pe(xs),{key:0,class:yt([pe(o).m("upload-success"),pe(o).m("circle-check")])},{default:wn(()=>[bn(pe(IN))]),_:1},8,["class"])):["picture-card","picture"].includes(u.listType)?(et(),ti(pe(xs),{key:1,class:yt([pe(o).m("upload-success"),pe(o).m("check")])},{default:wn(()=>[bn(pe(oW))]),_:1},8,["class"])):Yt("v-if",!0)],2),pe(s)?Yt("v-if",!0):(et(),ti(pe(xs),{key:2,class:yt(pe(o).m("close")),onClick:m=>c(h)},{default:wn(()=>[bn(pe(Wv))]),_:2},1032,["class","onClick"])),Yt(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),Yt(" This is a bug which needs to be fixed "),Yt(" TODO: Fix the incorrect navigation interaction "),pe(s)?Yt("v-if",!0):(et(),Pt("i",{key:3,class:yt(pe(o).m("close-tip"))},va(pe(n)("el.upload.deleteTip")),3)),u.listType==="picture-card"?(et(),Pt("span",{key:4,class:yt(pe(i).be("list","item-actions"))},[gn("span",{class:yt(pe(i).be("list","item-preview")),onClick:m=>u.handlePreview(h)},[bn(pe(xs),{class:yt(pe(o).m("zoom-in"))},{default:wn(()=>[bn(pe(nde))]),_:1},8,["class"])],10,$pe),pe(s)?Yt("v-if",!0):(et(),Pt("span",{key:0,class:yt(pe(i).be("list","item-delete")),onClick:m=>c(h)},[bn(pe(xs),{class:yt(pe(o).m("delete"))},{default:wn(()=>[bn(pe(ffe))]),_:1},8,["class"])],10,Ype))],2)):Yt("v-if",!0)])],42,Wpe))),128)),ni(u.$slots,"append")]),_:3},8,["class","name"]))}});var Iz=Ls(Kpe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-list.vue"]]);const Jpe=gs({disabled:{type:Boolean,default:!1}}),Qpe={file:e=>qt(e)},Zpe=["onDrop","onDragover"],DW="ElUploadDrag",eme=fi({name:DW}),tme=fi({...eme,props:Jpe,emits:Qpe,setup(e,{emit:t}){const n=er(pW);n||Gv(DW,"usage: ");const i=yr("upload"),o=Fn(!1),r=kp(),s=c=>{if(r.value)return;o.value=!1;const u=Array.from(c.dataTransfer.files),f=n.accept.value;if(!f){t("file",u);return}const h=u.filter(m=>{const{type:g,name:p}=m,y=p.includes(".")?`.${p.split(".").pop()}`:"",b=g.replace(/\/.*$/,"");return f.split(",").map(C=>C.trim()).filter(C=>C).some(C=>C.startsWith(".")?y===C:/\/\*$/.test(C)?b===C.replace(/\/\*$/,""):/^[^/]+\/[^/]+$/.test(C)?g===C:!1)});t("file",h)},a=()=>{r.value||(o.value=!0)};return(c,u)=>(et(),Pt("div",{class:yt([pe(i).b("dragger"),pe(i).is("dragover",o.value)]),onDrop:fd(s,["prevent"]),onDragover:fd(a,["prevent"]),onDragleave:u[0]||(u[0]=fd(f=>o.value=!1,["prevent"]))},[ni(c.$slots,"default")],42,Zpe))}});var nme=Ls(tme,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-dragger.vue"]]);const ime=gs({...vW,beforeUpload:{type:Jn(Function),default:Li},onRemove:{type:Jn(Function),default:Li},onStart:{type:Jn(Function),default:Li},onSuccess:{type:Jn(Function),default:Li},onProgress:{type:Jn(Function),default:Li},onError:{type:Jn(Function),default:Li},onExceed:{type:Jn(Function),default:Li}}),ome=["onKeydown"],rme=["name","multiple","accept"],sme=fi({name:"ElUploadContent",inheritAttrs:!1}),ame=fi({...sme,props:ime,setup(e,{expose:t}){const n=e,i=yr("upload"),o=kp(),r=i_({}),s=i_(),a=p=>{if(p.length===0)return;const{autoUpload:y,limit:b,fileList:C,multiple:E,onStart:w,onExceed:S}=n;if(b&&C.length+p.length>b){S(p,C);return}E||(p=p.slice(0,1));for(const P of p){const L=P;L.uid=WL(),w(L),y&&c(L)}},c=async p=>{if(s.value.value="",!n.beforeUpload)return u(p);let y;try{y=await n.beforeUpload(p)}catch{y=!1}if(y===!1){n.onRemove(p);return}let b=p;y instanceof Blob&&(y instanceof File?b=y:b=new File([y],p.name,{type:p.type})),u(Object.assign(b,{uid:p.uid}))},u=p=>{const{headers:y,data:b,method:C,withCredentials:E,name:w,action:S,onProgress:P,onSuccess:L,onError:z,httpRequest:R}=n,{uid:F}=p,U={headers:y||{},withCredentials:E,file:p,data:b,method:C,filename:w,action:S,onProgress:I=>{P(I,p)},onSuccess:I=>{L(I,p),delete r.value[F]},onError:I=>{z(I,p),delete r.value[F]}},v=R(U);r.value[F]=v,v instanceof Promise&&v.then(U.onSuccess,U.onError)},f=p=>{const y=p.target.files;y&&a(Array.from(y))},h=()=>{o.value||(s.value.value="",s.value.click())},m=()=>{h()};return t({abort:p=>{vue(r.value).filter(p?([b])=>String(p.uid)===b:()=>!0).forEach(([b,C])=>{C instanceof XMLHttpRequest&&C.abort(),delete r.value[b]})},upload:c}),(p,y)=>(et(),Pt("div",{class:yt([pe(i).b(),pe(i).m(p.listType),pe(i).is("drag",p.drag)]),tabindex:"0",onClick:h,onKeydown:w9(fd(m,["self"]),["enter","space"])},[p.drag?(et(),ti(nme,{key:0,disabled:pe(o),onFile:a},{default:wn(()=>[ni(p.$slots,"default")]),_:3},8,["disabled"])):ni(p.$slots,"default",{key:1}),gn("input",{ref_key:"inputRef",ref:s,class:yt(pe(i).e("input")),name:p.name,multiple:p.multiple,accept:p.accept,type:"file",onChange:f,onClick:y[0]||(y[0]=fd(()=>{},["stop"]))},null,42,rme)],42,ome))}});var Pz=Ls(ame,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-content.vue"]]);const Oz="ElUpload",cme=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},lme=(e,t)=>{const n=xue(e,"fileList",void 0,{passive:!0}),i=m=>n.value.find(g=>g.uid===m.uid);function o(m){var g;(g=t.value)==null||g.abort(m)}function r(m=["ready","uploading","success","fail"]){n.value=n.value.filter(g=>!m.includes(g.status))}const s=(m,g)=>{const p=i(g);p&&(console.error(m),p.status="fail",n.value.splice(n.value.indexOf(p),1),e.onError(m,p,n.value),e.onChange(p,n.value))},a=(m,g)=>{const p=i(g);p&&(e.onProgress(m,p,n.value),p.status="uploading",p.percentage=Math.round(m.percent))},c=(m,g)=>{const p=i(g);p&&(p.status="success",p.response=m,e.onSuccess(m,p,n.value),e.onChange(p,n.value))},u=m=>{kv(m.uid)&&(m.uid=WL());const g={name:m.name,percentage:0,status:"ready",size:m.size,raw:m,uid:m.uid};if(e.listType==="picture-card"||e.listType==="picture")try{g.url=URL.createObjectURL(m)}catch(p){p.message,e.onError(p,g,n.value)}n.value=[...n.value,g],e.onChange(g,n.value)},f=async m=>{const g=m instanceof File?i(m):m;g||Gv(Oz,"file to be removed not found");const p=y=>{o(y);const b=n.value;b.splice(b.indexOf(y),1),e.onRemove(y,b),cme(y)};e.beforeRemove?await e.beforeRemove(g,n.value)!==!1&&p(g):p(g)};function h(){n.value.filter(({status:m})=>m==="ready").forEach(({raw:m})=>{var g;return m&&((g=t.value)==null?void 0:g.upload(m))})}return _o(()=>e.listType,m=>{m!=="picture-card"&&m!=="picture"||(n.value=n.value.map(g=>{const{raw:p,url:y}=g;if(!y&&p)try{g.url=URL.createObjectURL(p)}catch(b){e.onError(b,g,n.value)}return g}))}),_o(n,m=>{for(const g of m)g.uid||(g.uid=WL()),g.status||(g.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:o,clearFiles:r,handleError:s,handleProgress:a,handleStart:u,handleSuccess:c,handleRemove:f,submit:h}},ume=fi({name:"ElUpload"}),fme=fi({...ume,props:Vpe,setup(e,{expose:t}){const n=e,i=XC(),o=kp(),r=i_(),{abort:s,submit:a,clearFiles:c,uploadFiles:u,handleStart:f,handleError:h,handleRemove:m,handleSuccess:g,handleProgress:p}=lme(n,r),y=it(()=>n.listType==="picture-card"),b=it(()=>({...n,fileList:u.value,onStart:f,onProgress:p,onSuccess:g,onError:h,onRemove:m}));return C0(()=>{u.value.forEach(({url:C})=>{C!=null&&C.startsWith("blob:")&&URL.revokeObjectURL(C)})}),Zu(pW,{accept:$y(n,"accept")}),t({abort:s,submit:a,clearFiles:c,handleStart:f,handleRemove:m}),(C,E)=>(et(),Pt("div",null,[pe(y)&&C.showFileList?(et(),ti(Iz,{key:0,disabled:pe(o),"list-type":C.listType,files:pe(u),"handle-preview":C.onPreview,onRemove:pe(m)},qF({append:wn(()=>[bn(Pz,rp({ref_key:"uploadRef",ref:r},pe(b)),{default:wn(()=>[pe(i).trigger?ni(C.$slots,"trigger",{key:0}):Yt("v-if",!0),!pe(i).trigger&&pe(i).default?ni(C.$slots,"default",{key:1}):Yt("v-if",!0)]),_:3},16)]),_:2},[C.$slots.file?{name:"default",fn:wn(({file:w})=>[ni(C.$slots,"file",{file:w})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):Yt("v-if",!0),!pe(y)||pe(y)&&!C.showFileList?(et(),ti(Pz,rp({key:1,ref_key:"uploadRef",ref:r},pe(b)),{default:wn(()=>[pe(i).trigger?ni(C.$slots,"trigger",{key:0}):Yt("v-if",!0),!pe(i).trigger&&pe(i).default?ni(C.$slots,"default",{key:1}):Yt("v-if",!0)]),_:3},16)):Yt("v-if",!0),C.$slots.trigger?ni(C.$slots,"default",{key:2}):Yt("v-if",!0),ni(C.$slots,"tip"),!pe(y)&&C.showFileList?(et(),ti(Iz,{key:3,disabled:pe(o),"list-type":C.listType,files:pe(u),"handle-preview":C.onPreview,onRemove:pe(m)},qF({_:2},[C.$slots.file?{name:"default",fn:wn(({file:w})=>[ni(C.$slots,"file",{file:w})])}:void 0]),1032,["disabled","list-type","files","handle-preview","onRemove"])):Yt("v-if",!0)]))}});var dme=Ls(fme,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload.vue"]]);const hme=kd(dme),IW=["success","info","warning","error"],Ha=rC({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:Ia?document.body:void 0}),pme=gs({customClass:{type:String,default:Ha.customClass},center:{type:Boolean,default:Ha.center},dangerouslyUseHTMLString:{type:Boolean,default:Ha.dangerouslyUseHTMLString},duration:{type:Number,default:Ha.duration},icon:{type:Zy,default:Ha.icon},id:{type:String,default:Ha.id},message:{type:Jn([String,Object,Function]),default:Ha.message},onClose:{type:Jn(Function),required:!1},showClose:{type:Boolean,default:Ha.showClose},type:{type:String,values:IW,default:Ha.type},offset:{type:Number,default:Ha.offset},zIndex:{type:Number,default:Ha.zIndex},grouping:{type:Boolean,default:Ha.grouping},repeatNum:{type:Number,default:Ha.repeatNum}}),mme={destroy:()=>!0},Xu=O6([]),_me=e=>{const t=Xu.findIndex(o=>o.id===e),n=Xu[t];let i;return t>0&&(i=Xu[t-1]),{current:n,prev:i}},gme=e=>{const{prev:t}=_me(e);return t?t.vm.exposed.bottom.value:0},yme=["id"],Ame=["innerHTML"],bme=fi({name:"ElMessage"}),Cme=fi({...bme,props:pme,emits:mme,setup(e,{expose:t}){const n=e,{Close:i}=ode,o=yr("message"),r=Fn(),s=Fn(!1),a=Fn(0);let c;const u=it(()=>n.type?n.type==="error"?"danger":n.type:"info"),f=it(()=>{const S=n.type;return{[o.bm("icon",S)]:S&&dz[S]}}),h=it(()=>n.icon||dz[n.type]||""),m=it(()=>gme(n.id)),g=it(()=>n.offset+m.value),p=it(()=>a.value+g.value),y=it(()=>({top:`${g.value}px`,zIndex:n.zIndex}));function b(){n.duration!==0&&({stop:c}=ML(()=>{E()},n.duration))}function C(){c==null||c()}function E(){s.value=!1}function w({code:S}){S===BN.esc&&E()}return _u(()=>{b(),s.value=!0}),_o(()=>n.repeatNum,()=>{C(),b()}),hue(document,"keydown",w),nW(r,()=>{a.value=r.value.getBoundingClientRect().height}),t({visible:s,bottom:p,close:E}),(S,P)=>(et(),ti(KC,{name:pe(o).b("fade"),onBeforeLeave:S.onClose,onAfterLeave:P[0]||(P[0]=L=>S.$emit("destroy")),persisted:""},{default:wn(()=>[bp(gn("div",{id:S.id,ref_key:"messageRef",ref:r,class:yt([pe(o).b(),{[pe(o).m(S.type)]:S.type&&!S.icon},pe(o).is("center",S.center),pe(o).is("closable",S.showClose),S.customClass]),style:Ta(pe(y)),role:"alert",onMouseenter:C,onMouseleave:b},[S.repeatNum>1?(et(),ti(pe(she),{key:0,value:S.repeatNum,type:pe(u),class:yt(pe(o).e("badge"))},null,8,["value","type","class"])):Yt("v-if",!0),pe(h)?(et(),ti(pe(xs),{key:1,class:yt([pe(o).e("icon"),pe(f)])},{default:wn(()=>[(et(),ti(Wl(pe(h))))]),_:1},8,["class"])):Yt("v-if",!0),ni(S.$slots,"default",{},()=>[S.dangerouslyUseHTMLString?(et(),Pt(Jo,{key:1},[Yt(" Caution here, message could've been compromised, never use user's input as message "),gn("p",{class:yt(pe(o).e("content")),innerHTML:S.message},null,10,Ame)],2112)):(et(),Pt("p",{key:0,class:yt(pe(o).e("content"))},va(S.message),3))]),S.showClose?(et(),ti(pe(xs),{key:2,class:yt(pe(o).e("closeBtn")),onClick:fd(E,["stop"])},{default:wn(()=>[bn(pe(i))]),_:1},8,["class","onClick"])):Yt("v-if",!0)],46,yme),[[Fv,s.value]])]),_:3},8,["name","onBeforeLeave"]))}});var Tme=Ls(Cme,[["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);let Eme=1;const PW=e=>{const t=!e||vi(e)||Yy(e)||Dn(e)?{message:e}:e,n={...Ha,...t};if(!n.appendTo)n.appendTo=document.body;else if(vi(n.appendTo)){let i=document.querySelector(n.appendTo);wue(i)||(i=document.body),n.appendTo=i}return n},xme=e=>{const t=Xu.indexOf(e);if(t===-1)return;Xu.splice(t,1);const{handler:n}=e;n.close()},wme=({appendTo:e,...t},n)=>{const{nextZIndex:i}=gW(),o=`message_${Eme++}`,r=t.onClose,s=document.createElement("div"),a={...t,zIndex:i()+t.zIndex,id:o,onClose:()=>{r==null||r(),xme(h)},onDestroy:()=>{g3(null,s)}},c=bn(Tme,a,Dn(a.message)||Yy(a.message)?{default:Dn(a.message)?a.message:()=>a.message}:null);c.appContext=n||e0._context,g3(c,s),e.appendChild(s.firstElementChild);const u=c.component,h={id:o,vnode:c,vm:u,handler:{close:()=>{u.exposed.visible.value=!1}},props:c.component.props};return h},e0=(e={},t)=>{if(!Ia)return{close:()=>{}};if(Tp(GL.max)&&Xu.length>=GL.max)return{close:()=>{}};const n=PW(e);if(n.grouping&&Xu.length){const o=Xu.find(({vnode:r})=>{var s;return((s=r.props)==null?void 0:s.message)===n.message});if(o)return o.props.repeatNum+=1,o.props.type=n.type,o.handler}const i=wme(n,t);return Xu.push(i),i.handler};IW.forEach(e=>{e0[e]=(t={},n)=>{const i=PW(t);return e0({...i,type:e},n)}});function Sme(e){for(const t of Xu)(!e||e===t.props.type)&&t.handler.close()}e0.closeAll=Sme;e0._context=null;const wb=sde(e0,"$message"),vme="/satellite-track/assets/menu-a8f9cd83.svg",Dme="/satellite-track/assets/import-5c494d28.svg";function l(e){return e!=null}function x(e){this.name="DeveloperError",this.message=e;let t;try{throw new Error}catch(n){t=n.stack}this.stack=t}l(Object.create)&&(x.prototype=Object.create(Error.prototype),x.prototype.constructor=x);x.prototype.toString=function(){let e=`${this.name}: ${this.message}`;return l(this.stack)&&(e+=` +${this.stack.toString()}`),e};x.throwInstantiationError=function(){throw new x("This function defines an interface and should not be called directly.")};const Lr={};Lr.typeOf={};function Ime(e){return`${e} is required, actual value was undefined`}function x0(e,t,n){return`Expected ${n} to be typeof ${t}, actual typeof was ${e}`}Lr.defined=function(e,t){if(!l(t))throw new x(Ime(e))};Lr.typeOf.func=function(e,t){if(typeof t!="function")throw new x(x0(typeof t,"function",e))};Lr.typeOf.string=function(e,t){if(typeof t!="string")throw new x(x0(typeof t,"string",e))};Lr.typeOf.number=function(e,t){if(typeof t!="number")throw new x(x0(typeof t,"number",e))};Lr.typeOf.number.lessThan=function(e,t,n){if(Lr.typeOf.number(e,t),t>=n)throw new x(`Expected ${e} to be less than ${n}, actual value was ${t}`)};Lr.typeOf.number.lessThanOrEquals=function(e,t,n){if(Lr.typeOf.number(e,t),t>n)throw new x(`Expected ${e} to be less than or equal to ${n}, actual value was ${t}`)};Lr.typeOf.number.greaterThan=function(e,t,n){if(Lr.typeOf.number(e,t),t<=n)throw new x(`Expected ${e} to be greater than ${n}, actual value was ${t}`)};Lr.typeOf.number.greaterThanOrEquals=function(e,t,n){if(Lr.typeOf.number(e,t),t>>0,this.mti=1;this.mti>>30;this.mt[this.mti]=(((e&4294901760)>>>16)*1812433253<<16)+(e&65535)*1812433253+this.mti,this.mt[this.mti]>>>=0}};Gd.prototype.init_by_array=function(e,t){var n,i,o;for(this.init_seed(19650218),n=1,i=0,o=this.N>t?this.N:t;o;o--){var r=this.mt[n-1]^this.mt[n-1]>>>30;this.mt[n]=(this.mt[n]^(((r&4294901760)>>>16)*1664525<<16)+(r&65535)*1664525)+e[i]+i,this.mt[n]>>>=0,n++,i++,n>=this.N&&(this.mt[0]=this.mt[this.N-1],n=1),i>=t&&(i=0)}for(o=this.N-1;o;o--){var r=this.mt[n-1]^this.mt[n-1]>>>30;this.mt[n]=(this.mt[n]^(((r&4294901760)>>>16)*1566083941<<16)+(r&65535)*1566083941)-n,this.mt[n]>>>=0,n++,n>=this.N&&(this.mt[0]=this.mt[this.N-1],n=1)}this.mt[0]=2147483648};Gd.prototype.random_int=function(){var e,t=new Array(0,this.MATRIX_A);if(this.mti>=this.N){var n;for(this.mti==this.N+1&&this.init_seed(5489),n=0;n>>1^t[e&1];for(;n>>1^t[e&1];e=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^e>>>1^t[e&1],this.mti=0}return e=this.mt[this.mti++],e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,e^=e>>>18,e>>>0};Gd.prototype.random_int31=function(){return this.random_int()>>>1};Gd.prototype.random_incl=function(){return this.random_int()*(1/4294967295)};Gd.prototype.random=function(){return this.random_int()*(1/4294967296)};Gd.prototype.random_excl=function(){return(this.random_int()+.5)*(1/4294967296)};Gd.prototype.random_long=function(){var e=this.random_int()>>>5,t=this.random_int()>>>6;return(e*67108864+t)*(1/9007199254740992)};var qv=Gd;const Ye={};Ye.EPSILON1=.1;Ye.EPSILON2=.01;Ye.EPSILON3=.001;Ye.EPSILON4=1e-4;Ye.EPSILON5=1e-5;Ye.EPSILON6=1e-6;Ye.EPSILON7=1e-7;Ye.EPSILON8=1e-8;Ye.EPSILON9=1e-9;Ye.EPSILON10=1e-10;Ye.EPSILON11=1e-11;Ye.EPSILON12=1e-12;Ye.EPSILON13=1e-13;Ye.EPSILON14=1e-14;Ye.EPSILON15=1e-15;Ye.EPSILON16=1e-16;Ye.EPSILON17=1e-17;Ye.EPSILON18=1e-18;Ye.EPSILON19=1e-19;Ye.EPSILON20=1e-20;Ye.EPSILON21=1e-21;Ye.GRAVITATIONALPARAMETER=3986004418e5;Ye.SOLAR_RADIUS=6955e5;Ye.LUNAR_RADIUS=1737400;Ye.SIXTY_FOUR_KILOBYTES=64*1024;Ye.FOUR_GIGABYTES=4*1024*1024*1024;Ye.sign=A(Math.sign,function(t){return t=+t,t===0||t!==t?t:t>0?1:-1});Ye.signNotZero=function(e){return e<0?-1:1};Ye.toSNorm=function(e,t){return t=A(t,255),Math.round((Ye.clamp(e,-1,1)*.5+.5)*t)};Ye.fromSNorm=function(e,t){return t=A(t,255),Ye.clamp(e,0,t)/t*2-1};Ye.normalize=function(e,t,n){return n=Math.max(n-t,0),n===0?0:Ye.clamp((e-t)/n,0,1)};Ye.sinh=A(Math.sinh,function(t){return(Math.exp(t)-Math.exp(-t))/2});Ye.cosh=A(Math.cosh,function(t){return(Math.exp(t)+Math.exp(-t))/2});Ye.lerp=function(e,t,n){return(1-n)*e+n*t};Ye.PI=Math.PI;Ye.ONE_OVER_PI=1/Math.PI;Ye.PI_OVER_TWO=Math.PI/2;Ye.PI_OVER_THREE=Math.PI/3;Ye.PI_OVER_FOUR=Math.PI/4;Ye.PI_OVER_SIX=Math.PI/6;Ye.THREE_PI_OVER_TWO=3*Math.PI/2;Ye.TWO_PI=2*Math.PI;Ye.ONE_OVER_TWO_PI=1/(2*Math.PI);Ye.RADIANS_PER_DEGREE=Math.PI/180;Ye.DEGREES_PER_RADIAN=180/Math.PI;Ye.RADIANS_PER_ARCSECOND=Ye.RADIANS_PER_DEGREE/3600;Ye.toRadians=function(e){if(!l(e))throw new x("degrees is required.");return e*Ye.RADIANS_PER_DEGREE};Ye.toDegrees=function(e){if(!l(e))throw new x("radians is required.");return e*Ye.DEGREES_PER_RADIAN};Ye.convertLongitudeRange=function(e){if(!l(e))throw new x("angle is required.");const t=Ye.TWO_PI,n=e-Math.floor(e/t)*t;return n<-Math.PI?n+t:n>=Math.PI?n-t:n};Ye.clampToLatitudeRange=function(e){if(!l(e))throw new x("angle is required.");return Ye.clamp(e,-1*Ye.PI_OVER_TWO,Ye.PI_OVER_TWO)};Ye.negativePiToPi=function(e){if(!l(e))throw new x("angle is required.");return e>=-Ye.PI&&e<=Ye.PI?e:Ye.zeroToTwoPi(e+Ye.PI)-Ye.PI};Ye.zeroToTwoPi=function(e){if(!l(e))throw new x("angle is required.");if(e>=0&&e<=Ye.TWO_PI)return e;const t=Ye.mod(e,Ye.TWO_PI);return Math.abs(t)Ye.EPSILON14?Ye.TWO_PI:t};Ye.mod=function(e,t){if(!l(e))throw new x("m is required.");if(!l(t))throw new x("n is required.");if(t===0)throw new x("divisor cannot be 0.");return Ye.sign(e)===Ye.sign(t)&&Math.abs(e)n};Ye.greaterThanOrEquals=function(e,t,n){if(!l(e))throw new x("first is required.");if(!l(t))throw new x("second is required.");if(!l(n))throw new x("absoluteEpsilon is required.");return e-t>-n};const lE=[1];Ye.factorial=function(e){if(typeof e!="number"||e<0)throw new x("A number greater than or equal to 0 is required.");const t=lE.length;if(e>=t){let n=lE[t-1];for(let i=t;i<=e;i++){const o=n*i;lE.push(o),n=o}}return lE[e]};Ye.incrementWrap=function(e,t,n){if(n=A(n,0),!l(e))throw new x("n is required.");if(t<=n)throw new x("maximumValue must be greater than minimumValue.");return++e,e>t&&(e=n),e};Ye.isPowerOfTwo=function(e){if(typeof e!="number"||e<0||e>4294967295)throw new x("A number between 0 and (2^32)-1 is required.");return e!==0&&(e&e-1)===0};Ye.nextPowerOfTwo=function(e){if(typeof e!="number"||e<0||e>2147483648)throw new x("A number between 0 and 2^31 is required.");return--e,e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,++e,e};Ye.previousPowerOfTwo=function(e){if(typeof e!="number"||e<0||e>4294967295)throw new x("A number between 0 and (2^32)-1 is required.");return e|=e>>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,e|=e>>32,e=(e>>>0)-(e>>>1),e};Ye.clamp=function(e,t,n){return T.typeOf.number("value",e),T.typeOf.number("min",t),T.typeOf.number("max",n),en?n:e};let OW=new qv;Ye.setRandomNumberSeed=function(e){if(!l(e))throw new x("seed is required.");OW=new qv(e)};Ye.nextRandomNumber=function(){return OW.random()};Ye.randomBetween=function(e,t){return Ye.nextRandomNumber()*(t-e)+e};Ye.acosClamped=function(e){if(!l(e))throw new x("value is required.");return Math.acos(Ye.clamp(e,-1,1))};Ye.asinClamped=function(e){if(!l(e))throw new x("value is required.");return Math.asin(Ye.clamp(e,-1,1))};Ye.chordLength=function(e,t){if(!l(e))throw new x("angle is required.");if(!l(t))throw new x("radius is required.");return 2*t*Math.sin(e*.5)};Ye.logBase=function(e,t){if(!l(e))throw new x("number is required.");if(!l(t))throw new x("base is required.");return Math.log(e)/Math.log(t)};Ye.cbrt=A(Math.cbrt,function(t){const n=Math.pow(Math.abs(t),.3333333333333333);return t<0?-n:n});Ye.log2=A(Math.log2,function(t){return Math.log(t)*Math.LOG2E});Ye.fog=function(e,t){const n=e*t;return 1-Math.exp(-(n*n))};Ye.fastApproximateAtan=function(e){return T.typeOf.number("x",e),e*(-.1784*Math.abs(e)-.0663*e*e+1.0301)};Ye.fastApproximateAtan2=function(e,t){T.typeOf.number("x",e),T.typeOf.number("y",t);let n,i=Math.abs(e);n=Math.abs(t);const o=Math.max(i,n);n=Math.min(i,n);const r=n/o;if(isNaN(r))throw new x("either x or y must be nonzero");return i=Ye.fastApproximateAtan(r),i=Math.abs(t)>Math.abs(e)?Ye.PI_OVER_TWO-i:i,i=e<0?Ye.PI-i:i,i=t<0?-i:i,i};const M=Ye;function d(e,t,n){this.x=A(e,0),this.y=A(t,0),this.z=A(n,0)}d.fromSpherical=function(e,t){T.typeOf.object("spherical",e),l(t)||(t=new d);const n=e.clock,i=e.cone,o=A(e.magnitude,1),r=o*Math.sin(i);return t.x=r*Math.cos(n),t.y=r*Math.sin(n),t.z=o*Math.cos(i),t};d.fromElements=function(e,t,n,i){return l(i)?(i.x=e,i.y=t,i.z=n,i):new d(e,t,n)};d.clone=function(e,t){if(l(e))return l(t)?(t.x=e.x,t.y=e.y,t.z=e.z,t):new d(e.x,e.y,e.z)};d.fromCartesian4=d.clone;d.packedLength=3;d.pack=function(e,t,n){return T.typeOf.object("value",e),T.defined("array",t),n=A(n,0),t[n++]=e.x,t[n++]=e.y,t[n]=e.z,t};d.unpack=function(e,t,n){return T.defined("array",e),t=A(t,0),l(n)||(n=new d),n.x=e[t++],n.y=e[t++],n.z=e[t],n};d.packArray=function(e,t){T.defined("array",e);const n=e.length,i=n*3;if(!l(t))t=new Array(i);else{if(!Array.isArray(t)&&t.length!==i)throw new x("If result is a typed array, it must have exactly array.length * 3 elements");t.length!==i&&(t.length=i)}for(let o=0;oi&&(o=u,i=f)}let r=1,s=0;const a=jL[o],c=qL[o];if(Math.abs(e[J.getElementIndex(c,a)])>n){const u=e[J.getElementIndex(c,c)],f=e[J.getElementIndex(a,a)],h=e[J.getElementIndex(c,a)],m=(u-f)/2/h;let g;m<0?g=-1/(-m+Math.sqrt(1+m*m)):g=1/(m+Math.sqrt(1+m*m)),r=1/Math.sqrt(1+g*g),s=g*r}return t=J.clone(J.IDENTITY,t),t[J.getElementIndex(a,a)]=t[J.getElementIndex(c,c)]=r,t[J.getElementIndex(c,a)]=s,t[J.getElementIndex(a,c)]=-s,t}const fE=new J,Nz=new J;J.computeEigenDecomposition=function(e,t){T.typeOf.object("matrix",e);const n=M.EPSILON20,i=10;let o=0,r=0;l(t)||(t={});const s=t.unitary=J.clone(J.IDENTITY,t.unitary),a=t.diagonal=J.clone(e,t.diagonal),c=n*Ume(a);for(;rc;)Vme(a,fE),J.transpose(fE,Nz),J.multiply(a,fE,a),J.multiply(Nz,a,a),J.multiply(s,fE,s),++o>2&&(++r,o=0);return t};J.abs=function(e,t){return T.typeOf.object("matrix",e),T.typeOf.object("result",t),t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t[3]=Math.abs(e[3]),t[4]=Math.abs(e[4]),t[5]=Math.abs(e[5]),t[6]=Math.abs(e[6]),t[7]=Math.abs(e[7]),t[8]=Math.abs(e[8]),t};J.determinant=function(e){T.typeOf.object("matrix",e);const t=e[0],n=e[3],i=e[6],o=e[1],r=e[4],s=e[7],a=e[2],c=e[5],u=e[8];return t*(r*u-c*s)+o*(c*i-n*u)+a*(n*s-r*i)};J.inverse=function(e,t){T.typeOf.object("matrix",e),T.typeOf.object("result",t);const n=e[0],i=e[1],o=e[2],r=e[3],s=e[4],a=e[5],c=e[6],u=e[7],f=e[8],h=J.determinant(e);if(Math.abs(h)<=M.EPSILON15)throw new x("matrix is not invertible");t[0]=s*f-u*a,t[1]=u*o-i*f,t[2]=i*a-s*o,t[3]=c*a-r*f,t[4]=n*f-c*o,t[5]=r*o-n*a,t[6]=r*u-c*s,t[7]=c*i-n*u,t[8]=n*s-r*i;const m=1/h;return J.multiplyByScalar(t,m,t)};const kme=new J;J.inverseTranspose=function(e,t){return T.typeOf.object("matrix",e),T.typeOf.object("result",t),J.inverse(J.transpose(e,kme),t)};J.equals=function(e,t){return e===t||l(e)&&l(t)&&e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]&&e[3]===t[3]&&e[4]===t[4]&&e[5]===t[5]&&e[6]===t[6]&&e[7]===t[7]&&e[8]===t[8]};J.equalsEpsilon=function(e,t,n){return n=A(n,0),e===t||l(e)&&l(t)&&Math.abs(e[0]-t[0])<=n&&Math.abs(e[1]-t[1])<=n&&Math.abs(e[2]-t[2])<=n&&Math.abs(e[3]-t[3])<=n&&Math.abs(e[4]-t[4])<=n&&Math.abs(e[5]-t[5])<=n&&Math.abs(e[6]-t[6])<=n&&Math.abs(e[7]-t[7])<=n&&Math.abs(e[8]-t[8])<=n};J.IDENTITY=Object.freeze(new J(1,0,0,0,1,0,0,0,1));J.ZERO=Object.freeze(new J(0,0,0,0,0,0,0,0,0));J.COLUMN0ROW0=0;J.COLUMN0ROW1=1;J.COLUMN0ROW2=2;J.COLUMN1ROW0=3;J.COLUMN1ROW1=4;J.COLUMN1ROW2=5;J.COLUMN2ROW0=6;J.COLUMN2ROW1=7;J.COLUMN2ROW2=8;Object.defineProperties(J.prototype,{length:{get:function(){return J.packedLength}}});J.prototype.clone=function(e){return J.clone(this,e)};J.prototype.equals=function(e){return J.equals(this,e)};J.equalsArray=function(e,t,n){return e[0]===t[n]&&e[1]===t[n+1]&&e[2]===t[n+2]&&e[3]===t[n+3]&&e[4]===t[n+4]&&e[5]===t[n+5]&&e[6]===t[n+6]&&e[7]===t[n+7]&&e[8]===t[n+8]};J.prototype.equalsEpsilon=function(e,t){return J.equalsEpsilon(this,e,t)};J.prototype.toString=function(){return`(${this[0]}, ${this[3]}, ${this[6]}) (${this[1]}, ${this[4]}, ${this[7]}) -(${this[2]}, ${this[5]}, ${this[8]})`};function De(e){this.name="RuntimeError",this.message=e;let t;try{throw new Error}catch(n){t=n.stack}this.stack=t}l(Object.create)&&(De.prototype=Object.create(Error.prototype),De.prototype.constructor=De);De.prototype.toString=function(){let e=`${this.name}: ${this.message}`;return l(this.stack)&&(e+=` -${this.stack.toString()}`),e};function B(e,t,n,i,o,r,s,a,c,u,f,h,_,g,p,y){this[0]=A(e,0),this[1]=A(o,0),this[2]=A(c,0),this[3]=A(_,0),this[4]=A(t,0),this[5]=A(r,0),this[6]=A(u,0),this[7]=A(g,0),this[8]=A(n,0),this[9]=A(s,0),this[10]=A(f,0),this[11]=A(p,0),this[12]=A(i,0),this[13]=A(a,0),this[14]=A(h,0),this[15]=A(y,0)}B.packedLength=16;B.pack=function(e,t,n){return T.typeOf.object("value",e),T.defined("array",t),n=A(n,0),t[n++]=e[0],t[n++]=e[1],t[n++]=e[2],t[n++]=e[3],t[n++]=e[4],t[n++]=e[5],t[n++]=e[6],t[n++]=e[7],t[n++]=e[8],t[n++]=e[9],t[n++]=e[10],t[n++]=e[11],t[n++]=e[12],t[n++]=e[13],t[n++]=e[14],t[n]=e[15],t};B.unpack=function(e,t,n){return T.defined("array",e),t=A(t,0),l(n)||(n=new B),n[0]=e[t++],n[1]=e[t++],n[2]=e[t++],n[3]=e[t++],n[4]=e[t++],n[5]=e[t++],n[6]=e[t++],n[7]=e[t++],n[8]=e[t++],n[9]=e[t++],n[10]=e[t++],n[11]=e[t++],n[12]=e[t++],n[13]=e[t++],n[14]=e[t++],n[15]=e[t],n};B.packArray=function(e,t){T.defined("array",e);const n=e.length,i=n*16;if(!l(t))t=new Array(i);else{if(!Array.isArray(t)&&t.length!==i)throw new E("If result is a typed array, it must have exactly array.length * 16 elements");t.length!==i&&(t.length=i)}for(let o=0;o=N.SIXTY_FOUR_KILOBYTES?new Uint32Array(t):new Uint16Array(t)};Vr.createTypedArrayFromArrayBuffer=function(e,t,n,i){if(!l(e))throw new E("numberOfVertices is required.");if(!l(t))throw new E("sourceArray is required.");if(!l(n))throw new E("byteOffset is required.");return e>=N.SIXTY_FOUR_KILOBYTES?new Uint32Array(t,n,i):new Uint16Array(t,n,i)};Vr.fromTypedArray=function(e){if(e instanceof Uint8Array)return Vr.UNSIGNED_BYTE;if(e instanceof Uint16Array)return Vr.UNSIGNED_SHORT;if(e instanceof Uint32Array)return Vr.UNSIGNED_INT;throw new E("array must be a Uint8Array, Uint16Array, or Uint32Array.")};const ot=Object.freeze(Vr),dw={STREAM_DRAW:ae.STREAM_DRAW,STATIC_DRAW:ae.STATIC_DRAW,DYNAMIC_DRAW:ae.DYNAMIC_DRAW,validate:function(e){return e===dw.STREAM_DRAW||e===dw.STATIC_DRAW||e===dw.DYNAMIC_DRAW}},et=Object.freeze(dw);function bt(e){if(e=A(e,A.EMPTY_OBJECT),T.defined("options.context",e.context),!l(e.typedArray)&&!l(e.sizeInBytes))throw new E("Either options.sizeInBytes or options.typedArray is required.");if(l(e.typedArray)&&l(e.sizeInBytes))throw new E("Cannot pass in both options.sizeInBytes and options.typedArray.");if(l(e.typedArray)&&(T.typeOf.object("options.typedArray",e.typedArray),T.typeOf.number("options.typedArray.byteLength",e.typedArray.byteLength)),!et.validate(e.usage))throw new E("usage is invalid.");const t=e.context._gl,n=e.bufferTarget,i=e.typedArray;let o=e.sizeInBytes;const r=e.usage,s=l(i);s&&(o=i.byteLength),T.typeOf.number.greaterThan("sizeInBytes",o,0);const a=t.createBuffer();t.bindBuffer(n,a),t.bufferData(n,s?i:o,r),t.bindBuffer(n,null),this._id=vs(),this._gl=t,this._webgl2=e.context._webgl2,this._bufferTarget=n,this._sizeInBytes=o,this._usage=r,this._buffer=a,this.vertexArrayDestroyable=!0}bt.createVertexBuffer=function(e){return T.defined("options.context",e.context),new bt({context:e.context,bufferTarget:ae.ARRAY_BUFFER,typedArray:e.typedArray,sizeInBytes:e.sizeInBytes,usage:e.usage})};bt.createIndexBuffer=function(e){if(T.defined("options.context",e.context),!ot.validate(e.indexDatatype))throw new E("Invalid indexDatatype.");if(e.indexDatatype===ot.UNSIGNED_INT&&!e.context.elementIndexUint)throw new E("IndexDatatype.UNSIGNED_INT requires OES_element_index_uint, which is not supported on this system. Check context.elementIndexUint.");const t=e.context,n=e.indexDatatype,i=ot.getSizeInBytes(n),o=new bt({context:t,bufferTarget:ae.ELEMENT_ARRAY_BUFFER,typedArray:e.typedArray,sizeInBytes:e.sizeInBytes,usage:e.usage}),r=o.sizeInBytes/i;return Object.defineProperties(o,{indexDatatype:{get:function(){return n}},bytesPerIndex:{get:function(){return i}},numberOfIndices:{get:function(){return r}}}),o};Object.defineProperties(bt.prototype,{sizeInBytes:{get:function(){return this._sizeInBytes}},usage:{get:function(){return this._usage}}});bt.prototype._getBuffer=function(){return this._buffer};bt.prototype.copyFromArrayView=function(e,t){t=A(t,0),T.defined("arrayView",e),T.typeOf.number.lessThanOrEquals("offsetInBytes + arrayView.byteLength",t+e.byteLength,this._sizeInBytes);const n=this._gl,i=this._bufferTarget;n.bindBuffer(i,this._buffer),n.bufferSubData(i,t,e),n.bindBuffer(i,null)};bt.prototype.copyFromBuffer=function(e,t,n,i){if(!this._webgl2)throw new E("A WebGL 2 context is required.");if(!l(e))throw new E("readBuffer must be defined.");if(!l(i)||i<=0)throw new E("sizeInBytes must be defined and be greater than zero.");if(!l(t)||t<0||t+i>e._sizeInBytes)throw new E("readOffset must be greater than or equal to zero and readOffset + sizeInBytes must be less than of equal to readBuffer.sizeInBytes.");if(!l(n)||n<0||n+i>this._sizeInBytes)throw new E("writeOffset must be greater than or equal to zero and writeOffset + sizeInBytes must be less than of equal to this.sizeInBytes.");if(this._buffer===e._buffer&&(n>=t&&nn&&ts)throw new E("destinationOffset must be greater than zero and less than the arrayView length.");if(n+o>s)throw new E("destinationOffset + length must be less than or equal to the arrayViewLength.");if(t<0||t>this._sizeInBytes)throw new E("sourceOffset must be greater than zero and less than the buffers size.");if(t+o*r>this._sizeInBytes)throw new E("sourceOffset + length must be less than the buffers size.");const a=this._gl,c=ae.COPY_READ_BUFFER;a.bindBuffer(c,this._buffer),a.getBufferSubData(c,t,e,n,i),a.bindBuffer(c,null)};bt.prototype.isDestroyed=function(){return!1};bt.prototype.destroy=function(){return this._gl.deleteBuffer(this._buffer),He(this)};let uh;const jo={requestFullscreen:void 0,exitFullscreen:void 0,fullscreenEnabled:void 0,fullscreenElement:void 0,fullscreenchange:void 0,fullscreenerror:void 0},Ua={};Object.defineProperties(Ua,{element:{get:function(){if(Ua.supportsFullscreen())return document[jo.fullscreenElement]}},changeEventName:{get:function(){if(Ua.supportsFullscreen())return jo.fullscreenchange}},errorEventName:{get:function(){if(Ua.supportsFullscreen())return jo.fullscreenerror}},enabled:{get:function(){if(Ua.supportsFullscreen())return document[jo.fullscreenEnabled]}},fullscreen:{get:function(){if(Ua.supportsFullscreen())return Ua.element!==null}}});Ua.supportsFullscreen=function(){if(l(uh))return uh;uh=!1;const e=document.body;if(typeof e.requestFullscreen=="function")return jo.requestFullscreen="requestFullscreen",jo.exitFullscreen="exitFullscreen",jo.fullscreenEnabled="fullscreenEnabled",jo.fullscreenElement="fullscreenElement",jo.fullscreenchange="fullscreenchange",jo.fullscreenerror="fullscreenerror",uh=!0,uh;const t=["webkit","moz","o","ms","khtml"];let n;for(let i=0,o=t.length;i{const t=new Image;t.onload=function(){Fs._result=t.width>0&&t.height>0,e(Fs._result)},t.onerror=function(){Fs._result=!1,e(Fs._result)},t.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA"})),Fs._promise};Object.defineProperties(Fs,{initialized:{get:function(){return l(Fs._result)}}});const $g=[];typeof ArrayBuffer<"u"&&($g.push(Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array),typeof Uint8ClampedArray<"u"&&$g.push(Uint8ClampedArray),typeof Uint8ClampedArray<"u"&&$g.push(Uint8ClampedArray),typeof BigInt64Array<"u"&&$g.push(BigInt64Array),typeof BigUint64Array<"u"&&$g.push(BigUint64Array));const rf={isChrome:ON,chromeVersion:ype,isSafari:dW,safariVersion:Ape,isWebkit:hW,webkitVersion:bpe,isInternetExplorer:pW,internetExplorerVersion:Cpe,isEdge:Hv,edgeVersion:Tpe,isFirefox:LN,firefoxVersion:wpe,isWindows:Epe,isIPadOrIOS:xpe,hardwareConcurrency:A($s.hardwareConcurrency,3),supportsPointerEvents:Spe,supportsImageRenderingPixelated:yW,supportsWebP:Fs,imageRenderingValue:vpe,typedArrayTypes:$g};rf.supportsBasis=function(e){return rf.supportsWebAssembly()&&e.context.supportsBasis};rf.supportsFullscreen=function(){return es.supportsFullscreen()};rf.supportsTypedArrays=function(){return typeof ArrayBuffer<"u"};rf.supportsBigInt64Array=function(){return typeof BigInt64Array<"u"};rf.supportsBigUint64Array=function(){return typeof BigUint64Array<"u"};rf.supportsBigInt=function(){return typeof BigInt<"u"};rf.supportsWebWorkers=function(){return typeof Worker<"u"};rf.supportsWebAssembly=function(){return typeof WebAssembly<"u"};const dn=rf;function zI(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n*6<1?e+(t-e)*6*n:n*2<1?t:n*3<2?e+(t-e)*(2/3-n)*6:e}function U(e,t,n,i){this.red=A(e,1),this.green=A(t,1),this.blue=A(n,1),this.alpha=A(i,1)}U.fromCartesian4=function(e,t){return T.typeOf.object("cartesian",e),l(t)?(t.red=e.x,t.green=e.y,t.blue=e.z,t.alpha=e.w,t):new U(e.x,e.y,e.z,e.w)};U.fromBytes=function(e,t,n,i,o){return e=U.byteToFloat(A(e,255)),t=U.byteToFloat(A(t,255)),n=U.byteToFloat(A(n,255)),i=U.byteToFloat(A(i,255)),l(o)?(o.red=e,o.green=t,o.blue=n,o.alpha=i,o):new U(e,t,n,i)};U.fromAlpha=function(e,t,n){return T.typeOf.object("color",e),T.typeOf.number("alpha",t),l(n)?(n.red=e.red,n.green=e.green,n.blue=e.blue,n.alpha=t,n):new U(e.red,e.green,e.blue,t)};let UI,BN,ed;dn.supportsTypedArrays()&&(UI=new ArrayBuffer(4),BN=new Uint32Array(UI),ed=new Uint8Array(UI));U.fromRgba=function(e,t){return BN[0]=e,U.fromBytes(ed[0],ed[1],ed[2],ed[3],t)};U.fromHsl=function(e,t,n,i,o){e=A(e,0)%1,t=A(t,0),n=A(n,0),i=A(i,1);let r=n,s=n,a=n;if(t!==0){let c;n<.5?c=n*(1+t):c=n+t-n*t;const u=2*n-c;r=zI(u,c,e+1/3),s=zI(u,c,e),a=zI(u,c,e-1/3)}return l(o)?(o.red=r,o.green=s,o.blue=a,o.alpha=i,o):new U(r,s,a,i)};U.fromRandom=function(e,t){e=A(e,A.EMPTY_OBJECT);let n=e.red;if(!l(n)){const s=A(e.minimumRed,0),a=A(e.maximumRed,1);T.typeOf.number.lessThanOrEquals("minimumRed",s,a),n=s+N.nextRandomNumber()*(a-s)}let i=e.green;if(!l(i)){const s=A(e.minimumGreen,0),a=A(e.maximumGreen,1);T.typeOf.number.lessThanOrEquals("minimumGreen",s,a),i=s+N.nextRandomNumber()*(a-s)}let o=e.blue;if(!l(o)){const s=A(e.minimumBlue,0),a=A(e.maximumBlue,1);T.typeOf.number.lessThanOrEquals("minimumBlue",s,a),o=s+N.nextRandomNumber()*(a-s)}let r=e.alpha;if(!l(r)){const s=A(e.minimumAlpha,0),a=A(e.maximumAlpha,1);T.typeOf.number.lessThanOrEquals("minumumAlpha",s,a),r=s+N.nextRandomNumber()*(a-s)}return l(t)?(t.red=n,t.green=i,t.blue=o,t.alpha=r,t):new U(n,i,o,r)};const Dpe=/^#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i,Ipe=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})?$/i,Ppe=/^rgba?\(\s*([0-9.]+%?)\s*,\s*([0-9.]+%?)\s*,\s*([0-9.]+%?)(?:\s*,\s*([0-9.]+))?\s*\)$/i,Ope=/^hsla?\(\s*([0-9.]+)\s*,\s*([0-9.]+%)\s*,\s*([0-9.]+%)(?:\s*,\s*([0-9.]+))?\s*\)$/i;U.fromCssColorString=function(e,t){T.typeOf.string("color",e),l(t)||(t=new U),e=e.replace(/\s/g,"");const n=U[e.toUpperCase()];if(l(n))return U.clone(n,t),t;let i=Dpe.exec(e);return i!==null?(t.red=parseInt(i[1],16)/15,t.green=parseInt(i[2],16)/15,t.blue=parseInt(i[3],16)/15,t.alpha=parseInt(A(i[4],"f"),16)/15,t):(i=Ipe.exec(e),i!==null?(t.red=parseInt(i[1],16)/255,t.green=parseInt(i[2],16)/255,t.blue=parseInt(i[3],16)/255,t.alpha=parseInt(A(i[4],"ff"),16)/255,t):(i=Ppe.exec(e),i!==null?(t.red=parseFloat(i[1])/(i[1].substr(-1)==="%"?100:255),t.green=parseFloat(i[2])/(i[2].substr(-1)==="%"?100:255),t.blue=parseFloat(i[3])/(i[3].substr(-1)==="%"?100:255),t.alpha=parseFloat(A(i[4],"1.0")),t):(i=Ope.exec(e),i!==null?U.fromHsl(parseFloat(i[1])/360,parseFloat(i[2])/100,parseFloat(i[3])/100,parseFloat(A(i[4],"1.0")),t):(t=void 0,t))))};U.packedLength=4;U.pack=function(e,t,n){return T.typeOf.object("value",e),T.defined("array",t),n=A(n,0),t[n++]=e.red,t[n++]=e.green,t[n++]=e.blue,t[n]=e.alpha,t};U.unpack=function(e,t,n){return T.defined("array",e),t=A(t,0),l(n)||(n=new U),n.red=e[t++],n.green=e[t++],n.blue=e[t++],n.alpha=e[t],n};U.byteToFloat=function(e){return e/255};U.floatToByte=function(e){return e===1?255:e*256|0};U.clone=function(e,t){if(l(e))return l(t)?(t.red=e.red,t.green=e.green,t.blue=e.blue,t.alpha=e.alpha,t):new U(e.red,e.green,e.blue,e.alpha)};U.equals=function(e,t){return e===t||l(e)&&l(t)&&e.red===t.red&&e.green===t.green&&e.blue===t.blue&&e.alpha===t.alpha};U.equalsArray=function(e,t,n){return e.red===t[n]&&e.green===t[n+1]&&e.blue===t[n+2]&&e.alpha===t[n+3]};U.prototype.clone=function(e){return U.clone(this,e)};U.prototype.equals=function(e){return U.equals(this,e)};U.prototype.equalsEpsilon=function(e,t){return this===e||l(e)&&Math.abs(this.red-e.red)<=t&&Math.abs(this.green-e.green)<=t&&Math.abs(this.blue-e.blue)<=t&&Math.abs(this.alpha-e.alpha)<=t};U.prototype.toString=function(){return`(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`};U.prototype.toCssColorString=function(){const e=U.floatToByte(this.red),t=U.floatToByte(this.green),n=U.floatToByte(this.blue);return this.alpha===1?`rgb(${e},${t},${n})`:`rgba(${e},${t},${n},${this.alpha})`};U.prototype.toCssHexString=function(){let e=U.floatToByte(this.red).toString(16);e.length<2&&(e=`0${e}`);let t=U.floatToByte(this.green).toString(16);t.length<2&&(t=`0${t}`);let n=U.floatToByte(this.blue).toString(16);if(n.length<2&&(n=`0${n}`),this.alpha<1){let i=U.floatToByte(this.alpha).toString(16);return i.length<2&&(i=`0${i}`),`#${e}${t}${n}${i}`}return`#${e}${t}${n}`};U.prototype.toBytes=function(e){const t=U.floatToByte(this.red),n=U.floatToByte(this.green),i=U.floatToByte(this.blue),o=U.floatToByte(this.alpha);return l(e)?(e[0]=t,e[1]=n,e[2]=i,e[3]=o,e):[t,n,i,o]};U.prototype.toRgba=function(){return ed[0]=U.floatToByte(this.red),ed[1]=U.floatToByte(this.green),ed[2]=U.floatToByte(this.blue),ed[3]=U.floatToByte(this.alpha),BN[0]};U.prototype.brighten=function(e,t){return T.typeOf.number("magnitude",e),T.typeOf.number.greaterThanOrEquals("magnitude",e,0),T.typeOf.object("result",t),e=1-e,t.red=1-(1-this.red)*e,t.green=1-(1-this.green)*e,t.blue=1-(1-this.blue)*e,t.alpha=this.alpha,t};U.prototype.darken=function(e,t){return T.typeOf.number("magnitude",e),T.typeOf.number.greaterThanOrEquals("magnitude",e,0),T.typeOf.object("result",t),e=1-e,t.red=this.red*e,t.green=this.green*e,t.blue=this.blue*e,t.alpha=this.alpha,t};U.prototype.withAlpha=function(e,t){return U.fromAlpha(this,e,t)};U.add=function(e,t,n){return T.typeOf.object("left",e),T.typeOf.object("right",t),T.typeOf.object("result",n),n.red=e.red+t.red,n.green=e.green+t.green,n.blue=e.blue+t.blue,n.alpha=e.alpha+t.alpha,n};U.subtract=function(e,t,n){return T.typeOf.object("left",e),T.typeOf.object("right",t),T.typeOf.object("result",n),n.red=e.red-t.red,n.green=e.green-t.green,n.blue=e.blue-t.blue,n.alpha=e.alpha-t.alpha,n};U.multiply=function(e,t,n){return T.typeOf.object("left",e),T.typeOf.object("right",t),T.typeOf.object("result",n),n.red=e.red*t.red,n.green=e.green*t.green,n.blue=e.blue*t.blue,n.alpha=e.alpha*t.alpha,n};U.divide=function(e,t,n){return T.typeOf.object("left",e),T.typeOf.object("right",t),T.typeOf.object("result",n),n.red=e.red/t.red,n.green=e.green/t.green,n.blue=e.blue/t.blue,n.alpha=e.alpha/t.alpha,n};U.mod=function(e,t,n){return T.typeOf.object("left",e),T.typeOf.object("right",t),T.typeOf.object("result",n),n.red=e.red%t.red,n.green=e.green%t.green,n.blue=e.blue%t.blue,n.alpha=e.alpha%t.alpha,n};U.lerp=function(e,t,n,i){return T.typeOf.object("start",e),T.typeOf.object("end",t),T.typeOf.number("t",n),T.typeOf.object("result",i),i.red=N.lerp(e.red,t.red,n),i.green=N.lerp(e.green,t.green,n),i.blue=N.lerp(e.blue,t.blue,n),i.alpha=N.lerp(e.alpha,t.alpha,n),i};U.multiplyByScalar=function(e,t,n){return T.typeOf.object("color",e),T.typeOf.number("scalar",t),T.typeOf.object("result",n),n.red=e.red*t,n.green=e.green*t,n.blue=e.blue*t,n.alpha=e.alpha*t,n};U.divideByScalar=function(e,t,n){return T.typeOf.object("color",e),T.typeOf.number("scalar",t),T.typeOf.object("result",n),n.red=e.red/t,n.green=e.green/t,n.blue=e.blue/t,n.alpha=e.alpha/t,n};U.ALICEBLUE=Object.freeze(U.fromCssColorString("#F0F8FF"));U.ANTIQUEWHITE=Object.freeze(U.fromCssColorString("#FAEBD7"));U.AQUA=Object.freeze(U.fromCssColorString("#00FFFF"));U.AQUAMARINE=Object.freeze(U.fromCssColorString("#7FFFD4"));U.AZURE=Object.freeze(U.fromCssColorString("#F0FFFF"));U.BEIGE=Object.freeze(U.fromCssColorString("#F5F5DC"));U.BISQUE=Object.freeze(U.fromCssColorString("#FFE4C4"));U.BLACK=Object.freeze(U.fromCssColorString("#000000"));U.BLANCHEDALMOND=Object.freeze(U.fromCssColorString("#FFEBCD"));U.BLUE=Object.freeze(U.fromCssColorString("#0000FF"));U.BLUEVIOLET=Object.freeze(U.fromCssColorString("#8A2BE2"));U.BROWN=Object.freeze(U.fromCssColorString("#A52A2A"));U.BURLYWOOD=Object.freeze(U.fromCssColorString("#DEB887"));U.CADETBLUE=Object.freeze(U.fromCssColorString("#5F9EA0"));U.CHARTREUSE=Object.freeze(U.fromCssColorString("#7FFF00"));U.CHOCOLATE=Object.freeze(U.fromCssColorString("#D2691E"));U.CORAL=Object.freeze(U.fromCssColorString("#FF7F50"));U.CORNFLOWERBLUE=Object.freeze(U.fromCssColorString("#6495ED"));U.CORNSILK=Object.freeze(U.fromCssColorString("#FFF8DC"));U.CRIMSON=Object.freeze(U.fromCssColorString("#DC143C"));U.CYAN=Object.freeze(U.fromCssColorString("#00FFFF"));U.DARKBLUE=Object.freeze(U.fromCssColorString("#00008B"));U.DARKCYAN=Object.freeze(U.fromCssColorString("#008B8B"));U.DARKGOLDENROD=Object.freeze(U.fromCssColorString("#B8860B"));U.DARKGRAY=Object.freeze(U.fromCssColorString("#A9A9A9"));U.DARKGREEN=Object.freeze(U.fromCssColorString("#006400"));U.DARKGREY=U.DARKGRAY;U.DARKKHAKI=Object.freeze(U.fromCssColorString("#BDB76B"));U.DARKMAGENTA=Object.freeze(U.fromCssColorString("#8B008B"));U.DARKOLIVEGREEN=Object.freeze(U.fromCssColorString("#556B2F"));U.DARKORANGE=Object.freeze(U.fromCssColorString("#FF8C00"));U.DARKORCHID=Object.freeze(U.fromCssColorString("#9932CC"));U.DARKRED=Object.freeze(U.fromCssColorString("#8B0000"));U.DARKSALMON=Object.freeze(U.fromCssColorString("#E9967A"));U.DARKSEAGREEN=Object.freeze(U.fromCssColorString("#8FBC8F"));U.DARKSLATEBLUE=Object.freeze(U.fromCssColorString("#483D8B"));U.DARKSLATEGRAY=Object.freeze(U.fromCssColorString("#2F4F4F"));U.DARKSLATEGREY=U.DARKSLATEGRAY;U.DARKTURQUOISE=Object.freeze(U.fromCssColorString("#00CED1"));U.DARKVIOLET=Object.freeze(U.fromCssColorString("#9400D3"));U.DEEPPINK=Object.freeze(U.fromCssColorString("#FF1493"));U.DEEPSKYBLUE=Object.freeze(U.fromCssColorString("#00BFFF"));U.DIMGRAY=Object.freeze(U.fromCssColorString("#696969"));U.DIMGREY=U.DIMGRAY;U.DODGERBLUE=Object.freeze(U.fromCssColorString("#1E90FF"));U.FIREBRICK=Object.freeze(U.fromCssColorString("#B22222"));U.FLORALWHITE=Object.freeze(U.fromCssColorString("#FFFAF0"));U.FORESTGREEN=Object.freeze(U.fromCssColorString("#228B22"));U.FUCHSIA=Object.freeze(U.fromCssColorString("#FF00FF"));U.GAINSBORO=Object.freeze(U.fromCssColorString("#DCDCDC"));U.GHOSTWHITE=Object.freeze(U.fromCssColorString("#F8F8FF"));U.GOLD=Object.freeze(U.fromCssColorString("#FFD700"));U.GOLDENROD=Object.freeze(U.fromCssColorString("#DAA520"));U.GRAY=Object.freeze(U.fromCssColorString("#808080"));U.GREEN=Object.freeze(U.fromCssColorString("#008000"));U.GREENYELLOW=Object.freeze(U.fromCssColorString("#ADFF2F"));U.GREY=U.GRAY;U.HONEYDEW=Object.freeze(U.fromCssColorString("#F0FFF0"));U.HOTPINK=Object.freeze(U.fromCssColorString("#FF69B4"));U.INDIANRED=Object.freeze(U.fromCssColorString("#CD5C5C"));U.INDIGO=Object.freeze(U.fromCssColorString("#4B0082"));U.IVORY=Object.freeze(U.fromCssColorString("#FFFFF0"));U.KHAKI=Object.freeze(U.fromCssColorString("#F0E68C"));U.LAVENDER=Object.freeze(U.fromCssColorString("#E6E6FA"));U.LAVENDAR_BLUSH=Object.freeze(U.fromCssColorString("#FFF0F5"));U.LAWNGREEN=Object.freeze(U.fromCssColorString("#7CFC00"));U.LEMONCHIFFON=Object.freeze(U.fromCssColorString("#FFFACD"));U.LIGHTBLUE=Object.freeze(U.fromCssColorString("#ADD8E6"));U.LIGHTCORAL=Object.freeze(U.fromCssColorString("#F08080"));U.LIGHTCYAN=Object.freeze(U.fromCssColorString("#E0FFFF"));U.LIGHTGOLDENRODYELLOW=Object.freeze(U.fromCssColorString("#FAFAD2"));U.LIGHTGRAY=Object.freeze(U.fromCssColorString("#D3D3D3"));U.LIGHTGREEN=Object.freeze(U.fromCssColorString("#90EE90"));U.LIGHTGREY=U.LIGHTGRAY;U.LIGHTPINK=Object.freeze(U.fromCssColorString("#FFB6C1"));U.LIGHTSEAGREEN=Object.freeze(U.fromCssColorString("#20B2AA"));U.LIGHTSKYBLUE=Object.freeze(U.fromCssColorString("#87CEFA"));U.LIGHTSLATEGRAY=Object.freeze(U.fromCssColorString("#778899"));U.LIGHTSLATEGREY=U.LIGHTSLATEGRAY;U.LIGHTSTEELBLUE=Object.freeze(U.fromCssColorString("#B0C4DE"));U.LIGHTYELLOW=Object.freeze(U.fromCssColorString("#FFFFE0"));U.LIME=Object.freeze(U.fromCssColorString("#00FF00"));U.LIMEGREEN=Object.freeze(U.fromCssColorString("#32CD32"));U.LINEN=Object.freeze(U.fromCssColorString("#FAF0E6"));U.MAGENTA=Object.freeze(U.fromCssColorString("#FF00FF"));U.MAROON=Object.freeze(U.fromCssColorString("#800000"));U.MEDIUMAQUAMARINE=Object.freeze(U.fromCssColorString("#66CDAA"));U.MEDIUMBLUE=Object.freeze(U.fromCssColorString("#0000CD"));U.MEDIUMORCHID=Object.freeze(U.fromCssColorString("#BA55D3"));U.MEDIUMPURPLE=Object.freeze(U.fromCssColorString("#9370DB"));U.MEDIUMSEAGREEN=Object.freeze(U.fromCssColorString("#3CB371"));U.MEDIUMSLATEBLUE=Object.freeze(U.fromCssColorString("#7B68EE"));U.MEDIUMSPRINGGREEN=Object.freeze(U.fromCssColorString("#00FA9A"));U.MEDIUMTURQUOISE=Object.freeze(U.fromCssColorString("#48D1CC"));U.MEDIUMVIOLETRED=Object.freeze(U.fromCssColorString("#C71585"));U.MIDNIGHTBLUE=Object.freeze(U.fromCssColorString("#191970"));U.MINTCREAM=Object.freeze(U.fromCssColorString("#F5FFFA"));U.MISTYROSE=Object.freeze(U.fromCssColorString("#FFE4E1"));U.MOCCASIN=Object.freeze(U.fromCssColorString("#FFE4B5"));U.NAVAJOWHITE=Object.freeze(U.fromCssColorString("#FFDEAD"));U.NAVY=Object.freeze(U.fromCssColorString("#000080"));U.OLDLACE=Object.freeze(U.fromCssColorString("#FDF5E6"));U.OLIVE=Object.freeze(U.fromCssColorString("#808000"));U.OLIVEDRAB=Object.freeze(U.fromCssColorString("#6B8E23"));U.ORANGE=Object.freeze(U.fromCssColorString("#FFA500"));U.ORANGERED=Object.freeze(U.fromCssColorString("#FF4500"));U.ORCHID=Object.freeze(U.fromCssColorString("#DA70D6"));U.PALEGOLDENROD=Object.freeze(U.fromCssColorString("#EEE8AA"));U.PALEGREEN=Object.freeze(U.fromCssColorString("#98FB98"));U.PALETURQUOISE=Object.freeze(U.fromCssColorString("#AFEEEE"));U.PALEVIOLETRED=Object.freeze(U.fromCssColorString("#DB7093"));U.PAPAYAWHIP=Object.freeze(U.fromCssColorString("#FFEFD5"));U.PEACHPUFF=Object.freeze(U.fromCssColorString("#FFDAB9"));U.PERU=Object.freeze(U.fromCssColorString("#CD853F"));U.PINK=Object.freeze(U.fromCssColorString("#FFC0CB"));U.PLUM=Object.freeze(U.fromCssColorString("#DDA0DD"));U.POWDERBLUE=Object.freeze(U.fromCssColorString("#B0E0E6"));U.PURPLE=Object.freeze(U.fromCssColorString("#800080"));U.RED=Object.freeze(U.fromCssColorString("#FF0000"));U.ROSYBROWN=Object.freeze(U.fromCssColorString("#BC8F8F"));U.ROYALBLUE=Object.freeze(U.fromCssColorString("#4169E1"));U.SADDLEBROWN=Object.freeze(U.fromCssColorString("#8B4513"));U.SALMON=Object.freeze(U.fromCssColorString("#FA8072"));U.SANDYBROWN=Object.freeze(U.fromCssColorString("#F4A460"));U.SEAGREEN=Object.freeze(U.fromCssColorString("#2E8B57"));U.SEASHELL=Object.freeze(U.fromCssColorString("#FFF5EE"));U.SIENNA=Object.freeze(U.fromCssColorString("#A0522D"));U.SILVER=Object.freeze(U.fromCssColorString("#C0C0C0"));U.SKYBLUE=Object.freeze(U.fromCssColorString("#87CEEB"));U.SLATEBLUE=Object.freeze(U.fromCssColorString("#6A5ACD"));U.SLATEGRAY=Object.freeze(U.fromCssColorString("#708090"));U.SLATEGREY=U.SLATEGRAY;U.SNOW=Object.freeze(U.fromCssColorString("#FFFAFA"));U.SPRINGGREEN=Object.freeze(U.fromCssColorString("#00FF7F"));U.STEELBLUE=Object.freeze(U.fromCssColorString("#4682B4"));U.TAN=Object.freeze(U.fromCssColorString("#D2B48C"));U.TEAL=Object.freeze(U.fromCssColorString("#008080"));U.THISTLE=Object.freeze(U.fromCssColorString("#D8BFD8"));U.TOMATO=Object.freeze(U.fromCssColorString("#FF6347"));U.TURQUOISE=Object.freeze(U.fromCssColorString("#40E0D0"));U.VIOLET=Object.freeze(U.fromCssColorString("#EE82EE"));U.WHEAT=Object.freeze(U.fromCssColorString("#F5DEB3"));U.WHITE=Object.freeze(U.fromCssColorString("#FFFFFF"));U.WHITESMOKE=Object.freeze(U.fromCssColorString("#F5F5F5"));U.YELLOW=Object.freeze(U.fromCssColorString("#FFFF00"));U.YELLOWGREEN=Object.freeze(U.fromCssColorString("#9ACD32"));U.TRANSPARENT=Object.freeze(new U(0,0,0,0));function io(e){e=A(e,A.EMPTY_OBJECT),this.color=e.color,this.depth=e.depth,this.stencil=e.stencil,this.renderState=e.renderState,this.framebuffer=e.framebuffer,this.owner=e.owner,this.pass=e.pass}io.ALL=Object.freeze(new io({color:new U(0,0,0,0),depth:1,stencil:0}));io.prototype.execute=function(e,t){e.clear(this,t)};const Lpe={ENVIRONMENT:0,COMPUTE:1,GLOBE:2,TERRAIN_CLASSIFICATION:3,CESIUM_3D_TILE:4,CESIUM_3D_TILE_CLASSIFICATION:5,CESIUM_3D_TILE_CLASSIFICATION_IGNORE_SHOW:6,OPAQUE:7,TRANSLUCENT:8,VOXELS:9,OVERLAY:10,NUMBER_OF_PASSES:11},Ne=Object.freeze(Lpe);function Qb(e){e=A(e,A.EMPTY_OBJECT),this.vertexArray=e.vertexArray,this.fragmentShaderSource=e.fragmentShaderSource,this.shaderProgram=e.shaderProgram,this.uniformMap=e.uniformMap,this.outputTexture=e.outputTexture,this.preExecute=e.preExecute,this.postExecute=e.postExecute,this.canceled=e.canceled,this.persists=A(e.persists,!1),this.pass=Ne.COMPUTE,this.owner=e.owner}Qb.prototype.execute=function(e){e.execute(this)};function j(e,t){this.x=A(e,0),this.y=A(t,0)}j.fromElements=function(e,t,n){return l(n)?(n.x=e,n.y=t,n):new j(e,t)};j.clone=function(e,t){if(l(e))return l(t)?(t.x=e.x,t.y=e.y,t):new j(e.x,e.y)};j.fromCartesian3=j.clone;j.fromCartesian4=j.clone;j.packedLength=2;j.pack=function(e,t,n){return T.typeOf.object("value",e),T.defined("array",t),n=A(n,0),t[n++]=e.x,t[n]=e.y,t};j.unpack=function(e,t,n){return T.defined("array",e),t=A(t,0),l(n)||(n=new j),n.x=e[t++],n.y=e[t],n};j.packArray=function(e,t){T.defined("array",e);const n=e.length,i=n*2;if(!l(t))t=new Array(i);else{if(!Array.isArray(t)&&t.length!==i)throw new E("If result is a typed array, it must have exactly array.length * 2 elements");t.length!==i&&(t.length=i)}for(let o=0;oN.EPSILON12);return l(o)?(o.x=r*F,o.y=s*H,o.z=a*w,o):new d(r*F,s*H,a*w)}function be(e,t,n){this.longitude=A(e,0),this.latitude=A(t,0),this.height=A(n,0)}be.fromRadians=function(e,t,n,i){return T.typeOf.number("longitude",e),T.typeOf.number("latitude",t),n=A(n,0),l(i)?(i.longitude=e,i.latitude=t,i.height=n,i):new be(e,t,n)};be.fromDegrees=function(e,t,n,i){return T.typeOf.number("longitude",e),T.typeOf.number("latitude",t),e=N.toRadians(e),t=N.toRadians(t),be.fromRadians(e,t,n,i)};const Mpe=new d,Fpe=new d,zpe=new d,Upe=new d(1/6378137,1/6378137,1/6356752314245179e-9),Hpe=new d(1/(6378137*6378137),1/(6378137*6378137),1/(6356752314245179e-9*6356752314245179e-9)),Vpe=N.EPSILON1;be.fromCartesian=function(e,t,n){const i=l(t)?t.oneOverRadii:Upe,o=l(t)?t.oneOverRadiiSquared:Hpe,r=l(t)?t._centerToleranceSquared:Vpe,s=AW(e,i,o,r,Fpe);if(!l(s))return;let a=d.multiplyComponents(s,o,Mpe);a=d.normalize(a,a);const c=d.subtract(e,s,zpe),u=Math.atan2(a.y,a.x),f=Math.asin(a.z),h=N.sign(d.dot(c,e))*d.magnitude(c);return l(n)?(n.longitude=u,n.latitude=f,n.height=h,n):new be(u,f,h)};be.toCartesian=function(e,t,n){return T.defined("cartographic",e),d.fromRadians(e.longitude,e.latitude,e.height,t,n)};be.clone=function(e,t){if(l(e))return l(t)?(t.longitude=e.longitude,t.latitude=e.latitude,t.height=e.height,t):new be(e.longitude,e.latitude,e.height)};be.equals=function(e,t){return e===t||l(e)&&l(t)&&e.longitude===t.longitude&&e.latitude===t.latitude&&e.height===t.height};be.equalsEpsilon=function(e,t,n){return n=A(n,0),e===t||l(e)&&l(t)&&Math.abs(e.longitude-t.longitude)<=n&&Math.abs(e.latitude-t.latitude)<=n&&Math.abs(e.height-t.height)<=n};be.ZERO=Object.freeze(new be(0,0,0));be.prototype.clone=function(e){return be.clone(this,e)};be.prototype.equals=function(e){return be.equals(this,e)};be.prototype.equalsEpsilon=function(e,t){return be.equalsEpsilon(this,e,t)};be.prototype.toString=function(){return`(${this.longitude}, ${this.latitude}, ${this.height})`};function bW(e,t,n,i){t=A(t,0),n=A(n,0),i=A(i,0),T.typeOf.number.greaterThanOrEquals("x",t,0),T.typeOf.number.greaterThanOrEquals("y",n,0),T.typeOf.number.greaterThanOrEquals("z",i,0),e._radii=new d(t,n,i),e._radiiSquared=new d(t*t,n*n,i*i),e._radiiToTheFourth=new d(t*t*t*t,n*n*n*n,i*i*i*i),e._oneOverRadii=new d(t===0?0:1/t,n===0?0:1/n,i===0?0:1/i),e._oneOverRadiiSquared=new d(t===0?0:1/(t*t),n===0?0:1/(n*n),i===0?0:1/(i*i)),e._minimumRadius=Math.min(t,n,i),e._maximumRadius=Math.max(t,n,i),e._centerToleranceSquared=N.EPSILON1,e._radiiSquared.z!==0&&(e._squaredXOverSquaredZ=e._radiiSquared.x/e._radiiSquared.z)}function pe(e,t,n){this._radii=void 0,this._radiiSquared=void 0,this._radiiToTheFourth=void 0,this._oneOverRadii=void 0,this._oneOverRadiiSquared=void 0,this._minimumRadius=void 0,this._maximumRadius=void 0,this._centerToleranceSquared=void 0,this._squaredXOverSquaredZ=void 0,bW(this,e,t,n)}Object.defineProperties(pe.prototype,{radii:{get:function(){return this._radii}},radiiSquared:{get:function(){return this._radiiSquared}},radiiToTheFourth:{get:function(){return this._radiiToTheFourth}},oneOverRadii:{get:function(){return this._oneOverRadii}},oneOverRadiiSquared:{get:function(){return this._oneOverRadiiSquared}},minimumRadius:{get:function(){return this._minimumRadius}},maximumRadius:{get:function(){return this._maximumRadius}}});pe.clone=function(e,t){if(!l(e))return;const n=e._radii;return l(t)?(d.clone(n,t._radii),d.clone(e._radiiSquared,t._radiiSquared),d.clone(e._radiiToTheFourth,t._radiiToTheFourth),d.clone(e._oneOverRadii,t._oneOverRadii),d.clone(e._oneOverRadiiSquared,t._oneOverRadiiSquared),t._minimumRadius=e._minimumRadius,t._maximumRadius=e._maximumRadius,t._centerToleranceSquared=e._centerToleranceSquared,t):new pe(n.x,n.y,n.z)};pe.fromCartesian3=function(e,t){return l(t)||(t=new pe),l(e)&&bW(t,e.x,e.y,e.z),t};pe.WGS84=Object.freeze(new pe(6378137,6378137,6356752314245179e-9));pe.UNIT_SPHERE=Object.freeze(new pe(1,1,1));pe.MOON=Object.freeze(new pe(N.LUNAR_RADIUS,N.LUNAR_RADIUS,N.LUNAR_RADIUS));pe.prototype.clone=function(e){return pe.clone(this,e)};pe.packedLength=d.packedLength;pe.pack=function(e,t,n){return T.typeOf.object("value",e),T.defined("array",t),n=A(n,0),d.pack(e._radii,t,n),t};pe.unpack=function(e,t,n){T.defined("array",e),t=A(t,0);const i=d.unpack(e,t);return pe.fromCartesian3(i,n)};pe.prototype.geocentricSurfaceNormal=d.normalize;pe.prototype.geodeticSurfaceNormalCartographic=function(e,t){T.typeOf.object("cartographic",e);const n=e.longitude,i=e.latitude,o=Math.cos(i),r=o*Math.cos(n),s=o*Math.sin(n),a=Math.sin(i);return l(t)||(t=new d),t.x=r,t.y=s,t.z=a,d.normalize(t,t)};pe.prototype.geodeticSurfaceNormal=function(e,t){if(!d.equalsEpsilon(e,d.ZERO,N.EPSILON14))return l(t)||(t=new d),t=d.multiplyComponents(e,this._oneOverRadiiSquared,t),d.normalize(t,t)};const kpe=new d,Gpe=new d;pe.prototype.cartographicToCartesian=function(e,t){const n=kpe,i=Gpe;this.geodeticSurfaceNormalCartographic(e,n),d.multiplyComponents(this._radiiSquared,n,i);const o=Math.sqrt(d.dot(n,i));return d.divideByScalar(i,o,i),d.multiplyByScalar(n,e.height,n),l(t)||(t=new d),d.add(i,n,t)};pe.prototype.cartographicArrayToCartesianArray=function(e,t){T.defined("cartographics",e);const n=e.length;l(t)?t.length=n:t=new Array(n);for(let i=0;i=this._radii.z-t))return n};const Ype=[.14887433898163,.43339539412925,.67940956829902,.86506336668898,.97390652851717,0],$pe=[.29552422471475,.26926671930999,.21908636251598,.14945134915058,.066671344308684,0];function Sz(e,t,n){T.typeOf.number("a",e),T.typeOf.number("b",t),T.typeOf.func("func",n);const i=.5*(t+e),o=.5*(t-e);let r=0;for(let s=0;s<5;s++){const a=o*Ype[s];r+=$pe[s]*(n(i+a)+n(i-a))}return r*=o,r}pe.prototype.surfaceArea=function(e){T.typeOf.object("rectangle",e);const t=e.west;let n=e.east;const i=e.south,o=e.north;for(;n=0?f.longitude:f.longitude+N.TWO_PI;o=Math.min(o,h),r=Math.max(r,h)}return i-n>r-o&&(n=o,i=r,i>N.PI&&(i=i-N.TWO_PI),n>N.PI&&(n=n-N.TWO_PI)),l(t)?(t.west=n,t.south=s,t.east=i,t.north=a,t):new _e(n,s,i,a)};_e.fromCartesianArray=function(e,t,n){T.defined("cartesians",e),t=A(t,pe.WGS84);let i=Number.MAX_VALUE,o=-Number.MAX_VALUE,r=Number.MAX_VALUE,s=-Number.MAX_VALUE,a=Number.MAX_VALUE,c=-Number.MAX_VALUE;for(let u=0,f=e.length;u=0?h.longitude:h.longitude+N.TWO_PI;r=Math.min(r,_),s=Math.max(s,_)}return o-i>s-r&&(i=r,o=s,o>N.PI&&(o=o-N.TWO_PI),i>N.PI&&(i=i-N.TWO_PI)),l(n)?(n.west=i,n.south=a,n.east=o,n.north=c,n):new _e(i,a,o,c)};_e.clone=function(e,t){if(l(e))return l(t)?(t.west=e.west,t.south=e.south,t.east=e.east,t.north=e.north,t):new _e(e.west,e.south,e.east,e.north)};_e.equalsEpsilon=function(e,t,n){return n=A(n,0),e===t||l(e)&&l(t)&&Math.abs(e.west-t.west)<=n&&Math.abs(e.south-t.south)<=n&&Math.abs(e.east-t.east)<=n&&Math.abs(e.north-t.north)<=n};_e.prototype.clone=function(e){return _e.clone(this,e)};_e.prototype.equals=function(e){return _e.equals(this,e)};_e.equals=function(e,t){return e===t||l(e)&&l(t)&&e.west===t.west&&e.south===t.south&&e.east===t.east&&e.north===t.north};_e.prototype.equalsEpsilon=function(e,t){return _e.equalsEpsilon(this,e,t)};_e.validate=function(e){T.typeOf.object("rectangle",e);const t=e.north;T.typeOf.number.greaterThanOrEquals("north",t,-N.PI_OVER_TWO),T.typeOf.number.lessThanOrEquals("north",t,N.PI_OVER_TWO);const n=e.south;T.typeOf.number.greaterThanOrEquals("south",n,-N.PI_OVER_TWO),T.typeOf.number.lessThanOrEquals("south",n,N.PI_OVER_TWO);const i=e.west;T.typeOf.number.greaterThanOrEquals("west",i,-Math.PI),T.typeOf.number.lessThanOrEquals("west",i,Math.PI);const o=e.east;T.typeOf.number.greaterThanOrEquals("east",o,-Math.PI),T.typeOf.number.lessThanOrEquals("east",o,Math.PI)};_e.southwest=function(e,t){return T.typeOf.object("rectangle",e),l(t)?(t.longitude=e.west,t.latitude=e.south,t.height=0,t):new be(e.west,e.south)};_e.northwest=function(e,t){return T.typeOf.object("rectangle",e),l(t)?(t.longitude=e.west,t.latitude=e.north,t.height=0,t):new be(e.west,e.north)};_e.northeast=function(e,t){return T.typeOf.object("rectangle",e),l(t)?(t.longitude=e.east,t.latitude=e.north,t.height=0,t):new be(e.east,e.north)};_e.southeast=function(e,t){return T.typeOf.object("rectangle",e),l(t)?(t.longitude=e.east,t.latitude=e.south,t.height=0,t):new be(e.east,e.south)};_e.center=function(e,t){T.typeOf.object("rectangle",e);let n=e.east;const i=e.west;n0?i+=N.TWO_PI:r0&&(r+=N.TWO_PI),i=f))return l(n)?(n.west=a,n.south=u,n.east=c,n.north=f,n):new _e(a,u,c,f)};_e.simpleIntersection=function(e,t,n){T.typeOf.object("rectangle",e),T.typeOf.object("otherRectangle",t);const i=Math.max(e.west,t.west),o=Math.max(e.south,t.south),r=Math.min(e.east,t.east),s=Math.min(e.north,t.north);if(!(o>=s||i>=r))return l(n)?(n.west=i,n.south=o,n.east=r,n.north=s,n):new _e(i,o,r,s)};_e.union=function(e,t,n){T.typeOf.object("rectangle",e),T.typeOf.object("otherRectangle",t),l(n)||(n=new _e);let i=e.east,o=e.west,r=t.east,s=t.west;i0?i+=N.TWO_PI:r0&&(r+=N.TWO_PI),io||N.equalsEpsilon(n,o,N.EPSILON14))&&(n=e.south&&i<=e.north};const Kpe=new be;_e.subsample=function(e,t,n,i){T.typeOf.object("rectangle",e),t=A(t,pe.WGS84),n=A(n,0),l(i)||(i=[]);let o=0;const r=e.north,s=e.south,a=e.east,c=e.west,u=Kpe;u.height=n,u.longitude=c,u.latitude=r,i[o]=t.cartographicToCartesian(u,i[o]),o++,u.longitude=a,i[o]=t.cartographicToCartesian(u,i[o]),o++,u.latitude=s,i[o]=t.cartographicToCartesian(u,i[o]),o++,u.longitude=c,i[o]=t.cartographicToCartesian(u,i[o]),o++,r<0?u.latitude=r:s>0?u.latitude=s:u.latitude=0;for(let f=1;f<8;++f)u.longitude=-Math.PI+f*N.PI_OVER_TWO,_e.contains(e,u)&&(i[o]=t.cartographicToCartesian(u,i[o]),o++);return u.latitude===0&&(u.longitude=c,i[o]=t.cartographicToCartesian(u,i[o]),o++,u.longitude=a,i[o]=t.cartographicToCartesian(u,i[o]),o++),i.length=o,i};_e.subsection=function(e,t,n,i,o,r){if(T.typeOf.object("rectangle",e),T.typeOf.number.greaterThanOrEquals("westLerp",t,0),T.typeOf.number.lessThanOrEquals("westLerp",t,1),T.typeOf.number.greaterThanOrEquals("southLerp",n,0),T.typeOf.number.lessThanOrEquals("southLerp",n,1),T.typeOf.number.greaterThanOrEquals("eastLerp",i,0),T.typeOf.number.lessThanOrEquals("eastLerp",i,1),T.typeOf.number.greaterThanOrEquals("northLerp",o,0),T.typeOf.number.lessThanOrEquals("northLerp",o,1),T.typeOf.number.lessThanOrEquals("westLerp",t,i),T.typeOf.number.lessThanOrEquals("southLerp",n,o),l(r)||(r=new _e),e.west<=e.east){const a=e.east-e.west;r.west=e.west+t*a,r.east=e.west+i*a}else{const a=N.TWO_PI+e.east-e.west;r.west=N.negativePiToPi(e.west+t*a),r.east=N.negativePiToPi(e.west+i*a)}const s=e.north-e.south;return r.south=e.south+n*s,r.north=e.south+o*s,t===1&&(r.west=e.east),i===1&&(r.east=e.east),n===1&&(r.south=e.north),o===1&&(r.north=e.north),r};_e.MAX_VALUE=Object.freeze(new _e(-Math.PI,-N.PI_OVER_TWO,Math.PI,N.PI_OVER_TWO));function Ye(e,t,n,i){this.x=A(e,0),this.y=A(t,0),this.width=A(n,0),this.height=A(i,0)}Ye.packedLength=4;Ye.pack=function(e,t,n){return T.typeOf.object("value",e),T.defined("array",t),n=A(n,0),t[n++]=e.x,t[n++]=e.y,t[n++]=e.width,t[n]=e.height,t};Ye.unpack=function(e,t,n){return T.defined("array",e),t=A(t,0),l(n)||(n=new Ye),n.x=e[t++],n.y=e[t++],n.width=e[t++],n.height=e[t],n};Ye.fromPoints=function(e,t){if(l(t)||(t=new Ye),!l(e)||e.length===0)return t.x=0,t.y=0,t.width=0,t.height=0,t;const n=e.length;let i=e[0].x,o=e[0].y,r=e[0].x,s=e[0].y;for(let a=1;an.width?n.width=i:i<0&&(n.width-=i,n.x=t.x),o>n.height?n.height=o:o<0&&(n.height-=o,n.y=t.y),n};Ye.intersect=function(e,t){T.typeOf.object("left",e),T.typeOf.object("right",t);const n=e.x,i=e.y,o=t.x,r=t.y;return n>o+t.width||n+e.widthr+t.height?gn.OUTSIDE:gn.INTERSECTING};Ye.equals=function(e,t){return e===t||l(e)&&l(t)&&e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height};Ye.prototype.clone=function(e){return Ye.clone(this,e)};Ye.prototype.intersect=function(e){return Ye.intersect(this,e)};Ye.prototype.equals=function(e){return Ye.equals(this,e)};const gs={POINTS:ae.POINTS,LINES:ae.LINES,LINE_LOOP:ae.LINE_LOOP,LINE_STRIP:ae.LINE_STRIP,TRIANGLES:ae.TRIANGLES,TRIANGLE_STRIP:ae.TRIANGLE_STRIP,TRIANGLE_FAN:ae.TRIANGLE_FAN};gs.isLines=function(e){return e===gs.LINES||e===gs.LINE_LOOP||e===gs.LINE_STRIP};gs.isTriangles=function(e){return e===gs.TRIANGLES||e===gs.TRIANGLE_STRIP||e===gs.TRIANGLE_FAN};gs.validate=function(e){return e===gs.POINTS||e===gs.LINES||e===gs.LINE_LOOP||e===gs.LINE_STRIP||e===gs.TRIANGLES||e===gs.TRIANGLE_STRIP||e===gs.TRIANGLE_FAN};const Qe=Object.freeze(gs),CW=`attribute vec4 position; +(${this[3]}, ${this[7]}, ${this[11]}, ${this[15]})`};const Qme={DEPTH_BUFFER_BIT:256,STENCIL_BUFFER_BIT:1024,COLOR_BUFFER_BIT:16384,POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6,ZERO:0,ONE:1,SRC_COLOR:768,ONE_MINUS_SRC_COLOR:769,SRC_ALPHA:770,ONE_MINUS_SRC_ALPHA:771,DST_ALPHA:772,ONE_MINUS_DST_ALPHA:773,DST_COLOR:774,ONE_MINUS_DST_COLOR:775,SRC_ALPHA_SATURATE:776,FUNC_ADD:32774,BLEND_EQUATION:32777,BLEND_EQUATION_RGB:32777,BLEND_EQUATION_ALPHA:34877,FUNC_SUBTRACT:32778,FUNC_REVERSE_SUBTRACT:32779,BLEND_DST_RGB:32968,BLEND_SRC_RGB:32969,BLEND_DST_ALPHA:32970,BLEND_SRC_ALPHA:32971,CONSTANT_COLOR:32769,ONE_MINUS_CONSTANT_COLOR:32770,CONSTANT_ALPHA:32771,ONE_MINUS_CONSTANT_ALPHA:32772,BLEND_COLOR:32773,ARRAY_BUFFER:34962,ELEMENT_ARRAY_BUFFER:34963,ARRAY_BUFFER_BINDING:34964,ELEMENT_ARRAY_BUFFER_BINDING:34965,STREAM_DRAW:35040,STATIC_DRAW:35044,DYNAMIC_DRAW:35048,BUFFER_SIZE:34660,BUFFER_USAGE:34661,CURRENT_VERTEX_ATTRIB:34342,FRONT:1028,BACK:1029,FRONT_AND_BACK:1032,CULL_FACE:2884,BLEND:3042,DITHER:3024,STENCIL_TEST:2960,DEPTH_TEST:2929,SCISSOR_TEST:3089,POLYGON_OFFSET_FILL:32823,SAMPLE_ALPHA_TO_COVERAGE:32926,SAMPLE_COVERAGE:32928,NO_ERROR:0,INVALID_ENUM:1280,INVALID_VALUE:1281,INVALID_OPERATION:1282,OUT_OF_MEMORY:1285,CW:2304,CCW:2305,LINE_WIDTH:2849,ALIASED_POINT_SIZE_RANGE:33901,ALIASED_LINE_WIDTH_RANGE:33902,CULL_FACE_MODE:2885,FRONT_FACE:2886,DEPTH_RANGE:2928,DEPTH_WRITEMASK:2930,DEPTH_CLEAR_VALUE:2931,DEPTH_FUNC:2932,STENCIL_CLEAR_VALUE:2961,STENCIL_FUNC:2962,STENCIL_FAIL:2964,STENCIL_PASS_DEPTH_FAIL:2965,STENCIL_PASS_DEPTH_PASS:2966,STENCIL_REF:2967,STENCIL_VALUE_MASK:2963,STENCIL_WRITEMASK:2968,STENCIL_BACK_FUNC:34816,STENCIL_BACK_FAIL:34817,STENCIL_BACK_PASS_DEPTH_FAIL:34818,STENCIL_BACK_PASS_DEPTH_PASS:34819,STENCIL_BACK_REF:36003,STENCIL_BACK_VALUE_MASK:36004,STENCIL_BACK_WRITEMASK:36005,VIEWPORT:2978,SCISSOR_BOX:3088,COLOR_CLEAR_VALUE:3106,COLOR_WRITEMASK:3107,UNPACK_ALIGNMENT:3317,PACK_ALIGNMENT:3333,MAX_TEXTURE_SIZE:3379,MAX_VIEWPORT_DIMS:3386,SUBPIXEL_BITS:3408,RED_BITS:3410,GREEN_BITS:3411,BLUE_BITS:3412,ALPHA_BITS:3413,DEPTH_BITS:3414,STENCIL_BITS:3415,POLYGON_OFFSET_UNITS:10752,POLYGON_OFFSET_FACTOR:32824,TEXTURE_BINDING_2D:32873,SAMPLE_BUFFERS:32936,SAMPLES:32937,SAMPLE_COVERAGE_VALUE:32938,SAMPLE_COVERAGE_INVERT:32939,COMPRESSED_TEXTURE_FORMATS:34467,DONT_CARE:4352,FASTEST:4353,NICEST:4354,GENERATE_MIPMAP_HINT:33170,BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,DEPTH_COMPONENT:6402,ALPHA:6406,RGB:6407,RGBA:6408,LUMINANCE:6409,LUMINANCE_ALPHA:6410,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,FRAGMENT_SHADER:35632,VERTEX_SHADER:35633,MAX_VERTEX_ATTRIBS:34921,MAX_VERTEX_UNIFORM_VECTORS:36347,MAX_VARYING_VECTORS:36348,MAX_COMBINED_TEXTURE_IMAGE_UNITS:35661,MAX_VERTEX_TEXTURE_IMAGE_UNITS:35660,MAX_TEXTURE_IMAGE_UNITS:34930,MAX_FRAGMENT_UNIFORM_VECTORS:36349,SHADER_TYPE:35663,DELETE_STATUS:35712,LINK_STATUS:35714,VALIDATE_STATUS:35715,ATTACHED_SHADERS:35717,ACTIVE_UNIFORMS:35718,ACTIVE_ATTRIBUTES:35721,SHADING_LANGUAGE_VERSION:35724,CURRENT_PROGRAM:35725,NEVER:512,LESS:513,EQUAL:514,LEQUAL:515,GREATER:516,NOTEQUAL:517,GEQUAL:518,ALWAYS:519,KEEP:7680,REPLACE:7681,INCR:7682,DECR:7683,INVERT:5386,INCR_WRAP:34055,DECR_WRAP:34056,VENDOR:7936,RENDERER:7937,VERSION:7938,NEAREST:9728,LINEAR:9729,NEAREST_MIPMAP_NEAREST:9984,LINEAR_MIPMAP_NEAREST:9985,NEAREST_MIPMAP_LINEAR:9986,LINEAR_MIPMAP_LINEAR:9987,TEXTURE_MAG_FILTER:10240,TEXTURE_MIN_FILTER:10241,TEXTURE_WRAP_S:10242,TEXTURE_WRAP_T:10243,TEXTURE_2D:3553,TEXTURE:5890,TEXTURE_CUBE_MAP:34067,TEXTURE_BINDING_CUBE_MAP:34068,TEXTURE_CUBE_MAP_POSITIVE_X:34069,TEXTURE_CUBE_MAP_NEGATIVE_X:34070,TEXTURE_CUBE_MAP_POSITIVE_Y:34071,TEXTURE_CUBE_MAP_NEGATIVE_Y:34072,TEXTURE_CUBE_MAP_POSITIVE_Z:34073,TEXTURE_CUBE_MAP_NEGATIVE_Z:34074,MAX_CUBE_MAP_TEXTURE_SIZE:34076,TEXTURE0:33984,TEXTURE1:33985,TEXTURE2:33986,TEXTURE3:33987,TEXTURE4:33988,TEXTURE5:33989,TEXTURE6:33990,TEXTURE7:33991,TEXTURE8:33992,TEXTURE9:33993,TEXTURE10:33994,TEXTURE11:33995,TEXTURE12:33996,TEXTURE13:33997,TEXTURE14:33998,TEXTURE15:33999,TEXTURE16:34e3,TEXTURE17:34001,TEXTURE18:34002,TEXTURE19:34003,TEXTURE20:34004,TEXTURE21:34005,TEXTURE22:34006,TEXTURE23:34007,TEXTURE24:34008,TEXTURE25:34009,TEXTURE26:34010,TEXTURE27:34011,TEXTURE28:34012,TEXTURE29:34013,TEXTURE30:34014,TEXTURE31:34015,ACTIVE_TEXTURE:34016,REPEAT:10497,CLAMP_TO_EDGE:33071,MIRRORED_REPEAT:33648,FLOAT_VEC2:35664,FLOAT_VEC3:35665,FLOAT_VEC4:35666,INT_VEC2:35667,INT_VEC3:35668,INT_VEC4:35669,BOOL:35670,BOOL_VEC2:35671,BOOL_VEC3:35672,BOOL_VEC4:35673,FLOAT_MAT2:35674,FLOAT_MAT3:35675,FLOAT_MAT4:35676,SAMPLER_2D:35678,SAMPLER_CUBE:35680,VERTEX_ATTRIB_ARRAY_ENABLED:34338,VERTEX_ATTRIB_ARRAY_SIZE:34339,VERTEX_ATTRIB_ARRAY_STRIDE:34340,VERTEX_ATTRIB_ARRAY_TYPE:34341,VERTEX_ATTRIB_ARRAY_NORMALIZED:34922,VERTEX_ATTRIB_ARRAY_POINTER:34373,VERTEX_ATTRIB_ARRAY_BUFFER_BINDING:34975,IMPLEMENTATION_COLOR_READ_TYPE:35738,IMPLEMENTATION_COLOR_READ_FORMAT:35739,COMPILE_STATUS:35713,LOW_FLOAT:36336,MEDIUM_FLOAT:36337,HIGH_FLOAT:36338,LOW_INT:36339,MEDIUM_INT:36340,HIGH_INT:36341,FRAMEBUFFER:36160,RENDERBUFFER:36161,RGBA4:32854,RGB5_A1:32855,RGB565:36194,DEPTH_COMPONENT16:33189,STENCIL_INDEX:6401,STENCIL_INDEX8:36168,DEPTH_STENCIL:34041,RENDERBUFFER_WIDTH:36162,RENDERBUFFER_HEIGHT:36163,RENDERBUFFER_INTERNAL_FORMAT:36164,RENDERBUFFER_RED_SIZE:36176,RENDERBUFFER_GREEN_SIZE:36177,RENDERBUFFER_BLUE_SIZE:36178,RENDERBUFFER_ALPHA_SIZE:36179,RENDERBUFFER_DEPTH_SIZE:36180,RENDERBUFFER_STENCIL_SIZE:36181,FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE:36048,FRAMEBUFFER_ATTACHMENT_OBJECT_NAME:36049,FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL:36050,FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE:36051,COLOR_ATTACHMENT0:36064,DEPTH_ATTACHMENT:36096,STENCIL_ATTACHMENT:36128,DEPTH_STENCIL_ATTACHMENT:33306,NONE:0,FRAMEBUFFER_COMPLETE:36053,FRAMEBUFFER_INCOMPLETE_ATTACHMENT:36054,FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:36055,FRAMEBUFFER_INCOMPLETE_DIMENSIONS:36057,FRAMEBUFFER_UNSUPPORTED:36061,FRAMEBUFFER_BINDING:36006,RENDERBUFFER_BINDING:36007,MAX_RENDERBUFFER_SIZE:34024,INVALID_FRAMEBUFFER_OPERATION:1286,UNPACK_FLIP_Y_WEBGL:37440,UNPACK_PREMULTIPLY_ALPHA_WEBGL:37441,CONTEXT_LOST_WEBGL:37442,UNPACK_COLORSPACE_CONVERSION_WEBGL:37443,BROWSER_DEFAULT_WEBGL:37444,COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_RGB_PVRTC_4BPPV1_IMG:35840,COMPRESSED_RGB_PVRTC_2BPPV1_IMG:35841,COMPRESSED_RGBA_PVRTC_4BPPV1_IMG:35842,COMPRESSED_RGBA_PVRTC_2BPPV1_IMG:35843,COMPRESSED_RGBA_ASTC_4x4_WEBGL:37808,COMPRESSED_RGB_ETC1_WEBGL:36196,COMPRESSED_RGBA_BPTC_UNORM:36492,HALF_FLOAT_OES:36193,DOUBLE:5130,READ_BUFFER:3074,UNPACK_ROW_LENGTH:3314,UNPACK_SKIP_ROWS:3315,UNPACK_SKIP_PIXELS:3316,PACK_ROW_LENGTH:3330,PACK_SKIP_ROWS:3331,PACK_SKIP_PIXELS:3332,COLOR:6144,DEPTH:6145,STENCIL:6146,RED:6403,RGB8:32849,RGBA8:32856,RGB10_A2:32857,TEXTURE_BINDING_3D:32874,UNPACK_SKIP_IMAGES:32877,UNPACK_IMAGE_HEIGHT:32878,TEXTURE_3D:32879,TEXTURE_WRAP_R:32882,MAX_3D_TEXTURE_SIZE:32883,UNSIGNED_INT_2_10_10_10_REV:33640,MAX_ELEMENTS_VERTICES:33e3,MAX_ELEMENTS_INDICES:33001,TEXTURE_MIN_LOD:33082,TEXTURE_MAX_LOD:33083,TEXTURE_BASE_LEVEL:33084,TEXTURE_MAX_LEVEL:33085,MIN:32775,MAX:32776,DEPTH_COMPONENT24:33190,MAX_TEXTURE_LOD_BIAS:34045,TEXTURE_COMPARE_MODE:34892,TEXTURE_COMPARE_FUNC:34893,CURRENT_QUERY:34917,QUERY_RESULT:34918,QUERY_RESULT_AVAILABLE:34919,STREAM_READ:35041,STREAM_COPY:35042,STATIC_READ:35045,STATIC_COPY:35046,DYNAMIC_READ:35049,DYNAMIC_COPY:35050,MAX_DRAW_BUFFERS:34852,DRAW_BUFFER0:34853,DRAW_BUFFER1:34854,DRAW_BUFFER2:34855,DRAW_BUFFER3:34856,DRAW_BUFFER4:34857,DRAW_BUFFER5:34858,DRAW_BUFFER6:34859,DRAW_BUFFER7:34860,DRAW_BUFFER8:34861,DRAW_BUFFER9:34862,DRAW_BUFFER10:34863,DRAW_BUFFER11:34864,DRAW_BUFFER12:34865,DRAW_BUFFER13:34866,DRAW_BUFFER14:34867,DRAW_BUFFER15:34868,MAX_FRAGMENT_UNIFORM_COMPONENTS:35657,MAX_VERTEX_UNIFORM_COMPONENTS:35658,SAMPLER_3D:35679,SAMPLER_2D_SHADOW:35682,FRAGMENT_SHADER_DERIVATIVE_HINT:35723,PIXEL_PACK_BUFFER:35051,PIXEL_UNPACK_BUFFER:35052,PIXEL_PACK_BUFFER_BINDING:35053,PIXEL_UNPACK_BUFFER_BINDING:35055,FLOAT_MAT2x3:35685,FLOAT_MAT2x4:35686,FLOAT_MAT3x2:35687,FLOAT_MAT3x4:35688,FLOAT_MAT4x2:35689,FLOAT_MAT4x3:35690,SRGB:35904,SRGB8:35905,SRGB8_ALPHA8:35907,COMPARE_REF_TO_TEXTURE:34894,RGBA32F:34836,RGB32F:34837,RGBA16F:34842,RGB16F:34843,VERTEX_ATTRIB_ARRAY_INTEGER:35069,MAX_ARRAY_TEXTURE_LAYERS:35071,MIN_PROGRAM_TEXEL_OFFSET:35076,MAX_PROGRAM_TEXEL_OFFSET:35077,MAX_VARYING_COMPONENTS:35659,TEXTURE_2D_ARRAY:35866,TEXTURE_BINDING_2D_ARRAY:35869,R11F_G11F_B10F:35898,UNSIGNED_INT_10F_11F_11F_REV:35899,RGB9_E5:35901,UNSIGNED_INT_5_9_9_9_REV:35902,TRANSFORM_FEEDBACK_BUFFER_MODE:35967,MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS:35968,TRANSFORM_FEEDBACK_VARYINGS:35971,TRANSFORM_FEEDBACK_BUFFER_START:35972,TRANSFORM_FEEDBACK_BUFFER_SIZE:35973,TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN:35976,RASTERIZER_DISCARD:35977,MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS:35978,MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS:35979,INTERLEAVED_ATTRIBS:35980,SEPARATE_ATTRIBS:35981,TRANSFORM_FEEDBACK_BUFFER:35982,TRANSFORM_FEEDBACK_BUFFER_BINDING:35983,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,RED_INTEGER:36244,RGB_INTEGER:36248,RGBA_INTEGER:36249,SAMPLER_2D_ARRAY:36289,SAMPLER_2D_ARRAY_SHADOW:36292,SAMPLER_CUBE_SHADOW:36293,UNSIGNED_INT_VEC2:36294,UNSIGNED_INT_VEC3:36295,UNSIGNED_INT_VEC4:36296,INT_SAMPLER_2D:36298,INT_SAMPLER_3D:36299,INT_SAMPLER_CUBE:36300,INT_SAMPLER_2D_ARRAY:36303,UNSIGNED_INT_SAMPLER_2D:36306,UNSIGNED_INT_SAMPLER_3D:36307,UNSIGNED_INT_SAMPLER_CUBE:36308,UNSIGNED_INT_SAMPLER_2D_ARRAY:36311,DEPTH_COMPONENT32F:36012,DEPTH32F_STENCIL8:36013,FLOAT_32_UNSIGNED_INT_24_8_REV:36269,FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING:33296,FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE:33297,FRAMEBUFFER_ATTACHMENT_RED_SIZE:33298,FRAMEBUFFER_ATTACHMENT_GREEN_SIZE:33299,FRAMEBUFFER_ATTACHMENT_BLUE_SIZE:33300,FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE:33301,FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE:33302,FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE:33303,FRAMEBUFFER_DEFAULT:33304,UNSIGNED_INT_24_8:34042,DEPTH24_STENCIL8:35056,UNSIGNED_NORMALIZED:35863,DRAW_FRAMEBUFFER_BINDING:36006,READ_FRAMEBUFFER:36008,DRAW_FRAMEBUFFER:36009,READ_FRAMEBUFFER_BINDING:36010,RENDERBUFFER_SAMPLES:36011,FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER:36052,MAX_COLOR_ATTACHMENTS:36063,COLOR_ATTACHMENT1:36065,COLOR_ATTACHMENT2:36066,COLOR_ATTACHMENT3:36067,COLOR_ATTACHMENT4:36068,COLOR_ATTACHMENT5:36069,COLOR_ATTACHMENT6:36070,COLOR_ATTACHMENT7:36071,COLOR_ATTACHMENT8:36072,COLOR_ATTACHMENT9:36073,COLOR_ATTACHMENT10:36074,COLOR_ATTACHMENT11:36075,COLOR_ATTACHMENT12:36076,COLOR_ATTACHMENT13:36077,COLOR_ATTACHMENT14:36078,COLOR_ATTACHMENT15:36079,FRAMEBUFFER_INCOMPLETE_MULTISAMPLE:36182,MAX_SAMPLES:36183,HALF_FLOAT:5131,RG:33319,RG_INTEGER:33320,R8:33321,RG8:33323,R16F:33325,R32F:33326,RG16F:33327,RG32F:33328,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,VERTEX_ARRAY_BINDING:34229,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,SIGNED_NORMALIZED:36764,COPY_READ_BUFFER:36662,COPY_WRITE_BUFFER:36663,COPY_READ_BUFFER_BINDING:36662,COPY_WRITE_BUFFER_BINDING:36663,UNIFORM_BUFFER:35345,UNIFORM_BUFFER_BINDING:35368,UNIFORM_BUFFER_START:35369,UNIFORM_BUFFER_SIZE:35370,MAX_VERTEX_UNIFORM_BLOCKS:35371,MAX_FRAGMENT_UNIFORM_BLOCKS:35373,MAX_COMBINED_UNIFORM_BLOCKS:35374,MAX_UNIFORM_BUFFER_BINDINGS:35375,MAX_UNIFORM_BLOCK_SIZE:35376,MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS:35377,MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS:35379,UNIFORM_BUFFER_OFFSET_ALIGNMENT:35380,ACTIVE_UNIFORM_BLOCKS:35382,UNIFORM_TYPE:35383,UNIFORM_SIZE:35384,UNIFORM_BLOCK_INDEX:35386,UNIFORM_OFFSET:35387,UNIFORM_ARRAY_STRIDE:35388,UNIFORM_MATRIX_STRIDE:35389,UNIFORM_IS_ROW_MAJOR:35390,UNIFORM_BLOCK_BINDING:35391,UNIFORM_BLOCK_DATA_SIZE:35392,UNIFORM_BLOCK_ACTIVE_UNIFORMS:35394,UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES:35395,UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER:35396,UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER:35398,INVALID_INDEX:4294967295,MAX_VERTEX_OUTPUT_COMPONENTS:37154,MAX_FRAGMENT_INPUT_COMPONENTS:37157,MAX_SERVER_WAIT_TIMEOUT:37137,OBJECT_TYPE:37138,SYNC_CONDITION:37139,SYNC_STATUS:37140,SYNC_FLAGS:37141,SYNC_FENCE:37142,SYNC_GPU_COMMANDS_COMPLETE:37143,UNSIGNALED:37144,SIGNALED:37145,ALREADY_SIGNALED:37146,TIMEOUT_EXPIRED:37147,CONDITION_SATISFIED:37148,WAIT_FAILED:37149,SYNC_FLUSH_COMMANDS_BIT:1,VERTEX_ATTRIB_ARRAY_DIVISOR:35070,ANY_SAMPLES_PASSED:35887,ANY_SAMPLES_PASSED_CONSERVATIVE:36202,SAMPLER_BINDING:35097,RGB10_A2UI:36975,INT_2_10_10_10_REV:36255,TRANSFORM_FEEDBACK:36386,TRANSFORM_FEEDBACK_PAUSED:36387,TRANSFORM_FEEDBACK_ACTIVE:36388,TRANSFORM_FEEDBACK_BINDING:36389,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497,TEXTURE_IMMUTABLE_FORMAT:37167,MAX_ELEMENT_INDEX:36203,TEXTURE_IMMUTABLE_LEVELS:33503,MAX_TEXTURE_MAX_ANISOTROPY_EXT:34047},ae=Object.freeze(Qme),Zme=new d;function Et(e){this._size=e.size,this._datatype=e.datatype,this.getValue=e.getValue}const ys={};ys[ae.FLOAT]="float";ys[ae.FLOAT_VEC2]="vec2";ys[ae.FLOAT_VEC3]="vec3";ys[ae.FLOAT_VEC4]="vec4";ys[ae.INT]="int";ys[ae.INT_VEC2]="ivec2";ys[ae.INT_VEC3]="ivec3";ys[ae.INT_VEC4]="ivec4";ys[ae.BOOL]="bool";ys[ae.BOOL_VEC2]="bvec2";ys[ae.BOOL_VEC3]="bvec3";ys[ae.BOOL_VEC4]="bvec4";ys[ae.FLOAT_MAT2]="mat2";ys[ae.FLOAT_MAT3]="mat3";ys[ae.FLOAT_MAT4]="mat4";ys[ae.SAMPLER_2D]="sampler2D";ys[ae.SAMPLER_CUBE]="samplerCube";Et.prototype.getDeclaration=function(e){let t=`uniform ${ys[this._datatype]} ${e}`;const n=this._size;return n===1?t+=";":t+=`[${n.toString()}];`,t};const e_e={czm_viewport:new Et({size:1,datatype:ae.FLOAT_VEC4,getValue:function(e){return e.viewportCartesian4}}),czm_viewportOrthographic:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.viewportOrthographic}}),czm_viewportTransformation:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.viewportTransformation}}),czm_globeDepthTexture:new Et({size:1,datatype:ae.SAMPLER_2D,getValue:function(e){return e.globeDepthTexture}}),czm_model:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.model}}),czm_inverseModel:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.inverseModel}}),czm_view:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.view}}),czm_view3D:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.view3D}}),czm_viewRotation:new Et({size:1,datatype:ae.FLOAT_MAT3,getValue:function(e){return e.viewRotation}}),czm_viewRotation3D:new Et({size:1,datatype:ae.FLOAT_MAT3,getValue:function(e){return e.viewRotation3D}}),czm_inverseView:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.inverseView}}),czm_inverseView3D:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.inverseView3D}}),czm_inverseViewRotation:new Et({size:1,datatype:ae.FLOAT_MAT3,getValue:function(e){return e.inverseViewRotation}}),czm_inverseViewRotation3D:new Et({size:1,datatype:ae.FLOAT_MAT3,getValue:function(e){return e.inverseViewRotation3D}}),czm_projection:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.projection}}),czm_inverseProjection:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.inverseProjection}}),czm_infiniteProjection:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.infiniteProjection}}),czm_modelView:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.modelView}}),czm_modelView3D:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.modelView3D}}),czm_modelViewRelativeToEye:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.modelViewRelativeToEye}}),czm_inverseModelView:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.inverseModelView}}),czm_inverseModelView3D:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.inverseModelView3D}}),czm_viewProjection:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.viewProjection}}),czm_inverseViewProjection:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.inverseViewProjection}}),czm_modelViewProjection:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.modelViewProjection}}),czm_inverseModelViewProjection:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.inverseModelViewProjection}}),czm_modelViewProjectionRelativeToEye:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.modelViewProjectionRelativeToEye}}),czm_modelViewInfiniteProjection:new Et({size:1,datatype:ae.FLOAT_MAT4,getValue:function(e){return e.modelViewInfiniteProjection}}),czm_orthographicIn3D:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.orthographicIn3D?1:0}}),czm_normal:new Et({size:1,datatype:ae.FLOAT_MAT3,getValue:function(e){return e.normal}}),czm_normal3D:new Et({size:1,datatype:ae.FLOAT_MAT3,getValue:function(e){return e.normal3D}}),czm_inverseNormal:new Et({size:1,datatype:ae.FLOAT_MAT3,getValue:function(e){return e.inverseNormal}}),czm_inverseNormal3D:new Et({size:1,datatype:ae.FLOAT_MAT3,getValue:function(e){return e.inverseNormal3D}}),czm_eyeHeight:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.eyeHeight}}),czm_eyeHeight2D:new Et({size:1,datatype:ae.FLOAT_VEC2,getValue:function(e){return e.eyeHeight2D}}),czm_entireFrustum:new Et({size:1,datatype:ae.FLOAT_VEC2,getValue:function(e){return e.entireFrustum}}),czm_currentFrustum:new Et({size:1,datatype:ae.FLOAT_VEC2,getValue:function(e){return e.currentFrustum}}),czm_frustumPlanes:new Et({size:1,datatype:ae.FLOAT_VEC4,getValue:function(e){return e.frustumPlanes}}),czm_farDepthFromNearPlusOne:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.farDepthFromNearPlusOne}}),czm_log2FarDepthFromNearPlusOne:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.log2FarDepthFromNearPlusOne}}),czm_oneOverLog2FarDepthFromNearPlusOne:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.oneOverLog2FarDepthFromNearPlusOne}}),czm_sunPositionWC:new Et({size:1,datatype:ae.FLOAT_VEC3,getValue:function(e){return e.sunPositionWC}}),czm_sunPositionColumbusView:new Et({size:1,datatype:ae.FLOAT_VEC3,getValue:function(e){return e.sunPositionColumbusView}}),czm_sunDirectionEC:new Et({size:1,datatype:ae.FLOAT_VEC3,getValue:function(e){return e.sunDirectionEC}}),czm_sunDirectionWC:new Et({size:1,datatype:ae.FLOAT_VEC3,getValue:function(e){return e.sunDirectionWC}}),czm_moonDirectionEC:new Et({size:1,datatype:ae.FLOAT_VEC3,getValue:function(e){return e.moonDirectionEC}}),czm_lightDirectionEC:new Et({size:1,datatype:ae.FLOAT_VEC3,getValue:function(e){return e.lightDirectionEC}}),czm_lightDirectionWC:new Et({size:1,datatype:ae.FLOAT_VEC3,getValue:function(e){return e.lightDirectionWC}}),czm_lightColor:new Et({size:1,datatype:ae.FLOAT_VEC3,getValue:function(e){return e.lightColor}}),czm_lightColorHdr:new Et({size:1,datatype:ae.FLOAT_VEC3,getValue:function(e){return e.lightColorHdr}}),czm_encodedCameraPositionMCHigh:new Et({size:1,datatype:ae.FLOAT_VEC3,getValue:function(e){return e.encodedCameraPositionMCHigh}}),czm_encodedCameraPositionMCLow:new Et({size:1,datatype:ae.FLOAT_VEC3,getValue:function(e){return e.encodedCameraPositionMCLow}}),czm_viewerPositionWC:new Et({size:1,datatype:ae.FLOAT_VEC3,getValue:function(e){return B.getTranslation(e.inverseView,Zme)}}),czm_frameNumber:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.frameState.frameNumber}}),czm_morphTime:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.frameState.morphTime}}),czm_sceneMode:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.frameState.mode}}),czm_pass:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.pass}}),czm_backgroundColor:new Et({size:1,datatype:ae.FLOAT_VEC4,getValue:function(e){return e.backgroundColor}}),czm_brdfLut:new Et({size:1,datatype:ae.SAMPLER_2D,getValue:function(e){return e.brdfLut}}),czm_environmentMap:new Et({size:1,datatype:ae.SAMPLER_CUBE,getValue:function(e){return e.environmentMap}}),czm_specularEnvironmentMaps:new Et({size:1,datatype:ae.SAMPLER_2D,getValue:function(e){return e.specularEnvironmentMaps}}),czm_specularEnvironmentMapSize:new Et({size:1,datatype:ae.FLOAT_VEC2,getValue:function(e){return e.specularEnvironmentMapsDimensions}}),czm_specularEnvironmentMapsMaximumLOD:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.specularEnvironmentMapsMaximumLOD}}),czm_sphericalHarmonicCoefficients:new Et({size:9,datatype:ae.FLOAT_VEC3,getValue:function(e){return e.sphericalHarmonicCoefficients}}),czm_temeToPseudoFixed:new Et({size:1,datatype:ae.FLOAT_MAT3,getValue:function(e){return e.temeToPseudoFixedMatrix}}),czm_pixelRatio:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.pixelRatio}}),czm_fogDensity:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.fogDensity}}),czm_splitPosition:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.splitPosition}}),czm_geometricToleranceOverMeter:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.geometricToleranceOverMeter}}),czm_minimumDisableDepthTestDistance:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.minimumDisableDepthTestDistance}}),czm_invertClassificationColor:new Et({size:1,datatype:ae.FLOAT_VEC4,getValue:function(e){return e.invertClassificationColor}}),czm_gamma:new Et({size:1,datatype:ae.FLOAT,getValue:function(e){return e.gamma}}),czm_ellipsoidRadii:new Et({size:1,datatype:ae.FLOAT_VEC3,getValue:function(e){return e.ellipsoid.radii}}),czm_ellipsoidInverseRadii:new Et({size:1,datatype:ae.FLOAT_VEC3,getValue:function(e){return e.ellipsoid.oneOverRadii}})},yw=e_e;function Bs(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})}function t_e(){return!0}function He(e,t){t=A(t,"This object was destroyed, i.e., destroy() was called.");function n(){throw new x(t)}for(const i in e)typeof e[i]=="function"&&(e[i]=n);e.isDestroyed=t_e}const Wr={UNSIGNED_BYTE:ae.UNSIGNED_BYTE,UNSIGNED_SHORT:ae.UNSIGNED_SHORT,UNSIGNED_INT:ae.UNSIGNED_INT};Wr.getSizeInBytes=function(e){switch(e){case Wr.UNSIGNED_BYTE:return Uint8Array.BYTES_PER_ELEMENT;case Wr.UNSIGNED_SHORT:return Uint16Array.BYTES_PER_ELEMENT;case Wr.UNSIGNED_INT:return Uint32Array.BYTES_PER_ELEMENT}throw new x("indexDatatype is required and must be a valid IndexDatatype constant.")};Wr.fromSizeInBytes=function(e){switch(e){case 2:return Wr.UNSIGNED_SHORT;case 4:return Wr.UNSIGNED_INT;case 1:return Wr.UNSIGNED_BYTE;default:throw new x("Size in bytes cannot be mapped to an IndexDatatype")}};Wr.validate=function(e){return l(e)&&(e===Wr.UNSIGNED_BYTE||e===Wr.UNSIGNED_SHORT||e===Wr.UNSIGNED_INT)};Wr.createTypedArray=function(e,t){if(!l(e))throw new x("numberOfVertices is required.");return e>=M.SIXTY_FOUR_KILOBYTES?new Uint32Array(t):new Uint16Array(t)};Wr.createTypedArrayFromArrayBuffer=function(e,t,n,i){if(!l(e))throw new x("numberOfVertices is required.");if(!l(t))throw new x("sourceArray is required.");if(!l(n))throw new x("byteOffset is required.");return e>=M.SIXTY_FOUR_KILOBYTES?new Uint32Array(t,n,i):new Uint16Array(t,n,i)};Wr.fromTypedArray=function(e){if(e instanceof Uint8Array)return Wr.UNSIGNED_BYTE;if(e instanceof Uint16Array)return Wr.UNSIGNED_SHORT;if(e instanceof Uint32Array)return Wr.UNSIGNED_INT;throw new x("array must be a Uint8Array, Uint16Array, or Uint32Array.")};const st=Object.freeze(Wr),Aw={STREAM_DRAW:ae.STREAM_DRAW,STATIC_DRAW:ae.STATIC_DRAW,DYNAMIC_DRAW:ae.DYNAMIC_DRAW,validate:function(e){return e===Aw.STREAM_DRAW||e===Aw.STATIC_DRAW||e===Aw.DYNAMIC_DRAW}},tt=Object.freeze(Aw);function Tt(e){if(e=A(e,A.EMPTY_OBJECT),T.defined("options.context",e.context),!l(e.typedArray)&&!l(e.sizeInBytes))throw new x("Either options.sizeInBytes or options.typedArray is required.");if(l(e.typedArray)&&l(e.sizeInBytes))throw new x("Cannot pass in both options.sizeInBytes and options.typedArray.");if(l(e.typedArray)&&(T.typeOf.object("options.typedArray",e.typedArray),T.typeOf.number("options.typedArray.byteLength",e.typedArray.byteLength)),!tt.validate(e.usage))throw new x("usage is invalid.");const t=e.context._gl,n=e.bufferTarget,i=e.typedArray;let o=e.sizeInBytes;const r=e.usage,s=l(i);s&&(o=i.byteLength),T.typeOf.number.greaterThan("sizeInBytes",o,0);const a=t.createBuffer();t.bindBuffer(n,a),t.bufferData(n,s?i:o,r),t.bindBuffer(n,null),this._id=Bs(),this._gl=t,this._webgl2=e.context._webgl2,this._bufferTarget=n,this._sizeInBytes=o,this._usage=r,this._buffer=a,this.vertexArrayDestroyable=!0}Tt.createVertexBuffer=function(e){return T.defined("options.context",e.context),new Tt({context:e.context,bufferTarget:ae.ARRAY_BUFFER,typedArray:e.typedArray,sizeInBytes:e.sizeInBytes,usage:e.usage})};Tt.createIndexBuffer=function(e){if(T.defined("options.context",e.context),!st.validate(e.indexDatatype))throw new x("Invalid indexDatatype.");if(e.indexDatatype===st.UNSIGNED_INT&&!e.context.elementIndexUint)throw new x("IndexDatatype.UNSIGNED_INT requires OES_element_index_uint, which is not supported on this system. Check context.elementIndexUint.");const t=e.context,n=e.indexDatatype,i=st.getSizeInBytes(n),o=new Tt({context:t,bufferTarget:ae.ELEMENT_ARRAY_BUFFER,typedArray:e.typedArray,sizeInBytes:e.sizeInBytes,usage:e.usage}),r=o.sizeInBytes/i;return Object.defineProperties(o,{indexDatatype:{get:function(){return n}},bytesPerIndex:{get:function(){return i}},numberOfIndices:{get:function(){return r}}}),o};Object.defineProperties(Tt.prototype,{sizeInBytes:{get:function(){return this._sizeInBytes}},usage:{get:function(){return this._usage}}});Tt.prototype._getBuffer=function(){return this._buffer};Tt.prototype.copyFromArrayView=function(e,t){t=A(t,0),T.defined("arrayView",e),T.typeOf.number.lessThanOrEquals("offsetInBytes + arrayView.byteLength",t+e.byteLength,this._sizeInBytes);const n=this._gl,i=this._bufferTarget;n.bindBuffer(i,this._buffer),n.bufferSubData(i,t,e),n.bindBuffer(i,null)};Tt.prototype.copyFromBuffer=function(e,t,n,i){if(!this._webgl2)throw new x("A WebGL 2 context is required.");if(!l(e))throw new x("readBuffer must be defined.");if(!l(i)||i<=0)throw new x("sizeInBytes must be defined and be greater than zero.");if(!l(t)||t<0||t+i>e._sizeInBytes)throw new x("readOffset must be greater than or equal to zero and readOffset + sizeInBytes must be less than of equal to readBuffer.sizeInBytes.");if(!l(n)||n<0||n+i>this._sizeInBytes)throw new x("writeOffset must be greater than or equal to zero and writeOffset + sizeInBytes must be less than of equal to this.sizeInBytes.");if(this._buffer===e._buffer&&(n>=t&&nn&&ts)throw new x("destinationOffset must be greater than zero and less than the arrayView length.");if(n+o>s)throw new x("destinationOffset + length must be less than or equal to the arrayViewLength.");if(t<0||t>this._sizeInBytes)throw new x("sourceOffset must be greater than zero and less than the buffers size.");if(t+o*r>this._sizeInBytes)throw new x("sourceOffset + length must be less than the buffers size.");const a=this._gl,c=ae.COPY_READ_BUFFER;a.bindBuffer(c,this._buffer),a.getBufferSubData(c,t,e,n,i),a.bindBuffer(c,null)};Tt.prototype.isDestroyed=function(){return!1};Tt.prototype.destroy=function(){return this._gl.deleteBuffer(this._buffer),He(this)};let hh;const Xo={requestFullscreen:void 0,exitFullscreen:void 0,fullscreenEnabled:void 0,fullscreenElement:void 0,fullscreenchange:void 0,fullscreenerror:void 0},Wa={};Object.defineProperties(Wa,{element:{get:function(){if(Wa.supportsFullscreen())return document[Xo.fullscreenElement]}},changeEventName:{get:function(){if(Wa.supportsFullscreen())return Xo.fullscreenchange}},errorEventName:{get:function(){if(Wa.supportsFullscreen())return Xo.fullscreenerror}},enabled:{get:function(){if(Wa.supportsFullscreen())return document[Xo.fullscreenEnabled]}},fullscreen:{get:function(){if(Wa.supportsFullscreen())return Wa.element!==null}}});Wa.supportsFullscreen=function(){if(l(hh))return hh;hh=!1;const e=document.body;if(typeof e.requestFullscreen=="function")return Xo.requestFullscreen="requestFullscreen",Xo.exitFullscreen="exitFullscreen",Xo.fullscreenEnabled="fullscreenEnabled",Xo.fullscreenElement="fullscreenElement",Xo.fullscreenchange="fullscreenchange",Xo.fullscreenerror="fullscreenerror",hh=!0,hh;const t=["webkit","moz","o","ms","khtml"];let n;for(let i=0,o=t.length;i{const t=new Image;t.onload=function(){Gs._result=t.width>0&&t.height>0,e(Gs._result)},t.onerror=function(){Gs._result=!1,e(Gs._result)},t.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA"})),Gs._promise};Object.defineProperties(Gs,{initialized:{get:function(){return l(Gs._result)}}});const Zg=[];typeof ArrayBuffer<"u"&&(Zg.push(Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array),typeof Uint8ClampedArray<"u"&&Zg.push(Uint8ClampedArray),typeof Uint8ClampedArray<"u"&&Zg.push(Uint8ClampedArray),typeof BigInt64Array<"u"&&Zg.push(BigInt64Array),typeof BigUint64Array<"u"&&Zg.push(BigUint64Array));const cf={isChrome:HN,chromeVersion:n_e,isSafari:NW,safariVersion:i_e,isWebkit:MW,webkitVersion:o_e,isInternetExplorer:FW,internetExplorerVersion:r_e,isEdge:$v,edgeVersion:s_e,isFirefox:VN,firefoxVersion:l_e,isWindows:a_e,isIPadOrIOS:c_e,hardwareConcurrency:A(ea.hardwareConcurrency,3),supportsPointerEvents:u_e,supportsImageRenderingPixelated:VW,supportsWebP:Gs,imageRenderingValue:f_e,typedArrayTypes:Zg};cf.supportsBasis=function(e){return cf.supportsWebAssembly()&&e.context.supportsBasis};cf.supportsFullscreen=function(){return is.supportsFullscreen()};cf.supportsTypedArrays=function(){return typeof ArrayBuffer<"u"};cf.supportsBigInt64Array=function(){return typeof BigInt64Array<"u"};cf.supportsBigUint64Array=function(){return typeof BigUint64Array<"u"};cf.supportsBigInt=function(){return typeof BigInt<"u"};cf.supportsWebWorkers=function(){return typeof Worker<"u"};cf.supportsWebAssembly=function(){return typeof WebAssembly<"u"};const pn=cf;function jI(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n*6<1?e+(t-e)*6*n:n*2<1?t:n*3<2?e+(t-e)*(2/3-n)*6:e}function H(e,t,n,i){this.red=A(e,1),this.green=A(t,1),this.blue=A(n,1),this.alpha=A(i,1)}H.fromCartesian4=function(e,t){return T.typeOf.object("cartesian",e),l(t)?(t.red=e.x,t.green=e.y,t.blue=e.z,t.alpha=e.w,t):new H(e.x,e.y,e.z,e.w)};H.fromBytes=function(e,t,n,i,o){return e=H.byteToFloat(A(e,255)),t=H.byteToFloat(A(t,255)),n=H.byteToFloat(A(n,255)),i=H.byteToFloat(A(i,255)),l(o)?(o.red=e,o.green=t,o.blue=n,o.alpha=i,o):new H(e,t,n,i)};H.fromAlpha=function(e,t,n){return T.typeOf.object("color",e),T.typeOf.number("alpha",t),l(n)?(n.red=e.red,n.green=e.green,n.blue=e.blue,n.alpha=t,n):new H(e.red,e.green,e.blue,t)};let qI,kN,id;pn.supportsTypedArrays()&&(qI=new ArrayBuffer(4),kN=new Uint32Array(qI),id=new Uint8Array(qI));H.fromRgba=function(e,t){return kN[0]=e,H.fromBytes(id[0],id[1],id[2],id[3],t)};H.fromHsl=function(e,t,n,i,o){e=A(e,0)%1,t=A(t,0),n=A(n,0),i=A(i,1);let r=n,s=n,a=n;if(t!==0){let c;n<.5?c=n*(1+t):c=n+t-n*t;const u=2*n-c;r=jI(u,c,e+1/3),s=jI(u,c,e),a=jI(u,c,e-1/3)}return l(o)?(o.red=r,o.green=s,o.blue=a,o.alpha=i,o):new H(r,s,a,i)};H.fromRandom=function(e,t){e=A(e,A.EMPTY_OBJECT);let n=e.red;if(!l(n)){const s=A(e.minimumRed,0),a=A(e.maximumRed,1);T.typeOf.number.lessThanOrEquals("minimumRed",s,a),n=s+M.nextRandomNumber()*(a-s)}let i=e.green;if(!l(i)){const s=A(e.minimumGreen,0),a=A(e.maximumGreen,1);T.typeOf.number.lessThanOrEquals("minimumGreen",s,a),i=s+M.nextRandomNumber()*(a-s)}let o=e.blue;if(!l(o)){const s=A(e.minimumBlue,0),a=A(e.maximumBlue,1);T.typeOf.number.lessThanOrEquals("minimumBlue",s,a),o=s+M.nextRandomNumber()*(a-s)}let r=e.alpha;if(!l(r)){const s=A(e.minimumAlpha,0),a=A(e.maximumAlpha,1);T.typeOf.number.lessThanOrEquals("minumumAlpha",s,a),r=s+M.nextRandomNumber()*(a-s)}return l(t)?(t.red=n,t.green=i,t.blue=o,t.alpha=r,t):new H(n,i,o,r)};const d_e=/^#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i,h_e=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})?$/i,p_e=/^rgba?\(\s*([0-9.]+%?)\s*,\s*([0-9.]+%?)\s*,\s*([0-9.]+%?)(?:\s*,\s*([0-9.]+))?\s*\)$/i,m_e=/^hsla?\(\s*([0-9.]+)\s*,\s*([0-9.]+%)\s*,\s*([0-9.]+%)(?:\s*,\s*([0-9.]+))?\s*\)$/i;H.fromCssColorString=function(e,t){T.typeOf.string("color",e),l(t)||(t=new H),e=e.replace(/\s/g,"");const n=H[e.toUpperCase()];if(l(n))return H.clone(n,t),t;let i=d_e.exec(e);return i!==null?(t.red=parseInt(i[1],16)/15,t.green=parseInt(i[2],16)/15,t.blue=parseInt(i[3],16)/15,t.alpha=parseInt(A(i[4],"f"),16)/15,t):(i=h_e.exec(e),i!==null?(t.red=parseInt(i[1],16)/255,t.green=parseInt(i[2],16)/255,t.blue=parseInt(i[3],16)/255,t.alpha=parseInt(A(i[4],"ff"),16)/255,t):(i=p_e.exec(e),i!==null?(t.red=parseFloat(i[1])/(i[1].substr(-1)==="%"?100:255),t.green=parseFloat(i[2])/(i[2].substr(-1)==="%"?100:255),t.blue=parseFloat(i[3])/(i[3].substr(-1)==="%"?100:255),t.alpha=parseFloat(A(i[4],"1.0")),t):(i=m_e.exec(e),i!==null?H.fromHsl(parseFloat(i[1])/360,parseFloat(i[2])/100,parseFloat(i[3])/100,parseFloat(A(i[4],"1.0")),t):(t=void 0,t))))};H.packedLength=4;H.pack=function(e,t,n){return T.typeOf.object("value",e),T.defined("array",t),n=A(n,0),t[n++]=e.red,t[n++]=e.green,t[n++]=e.blue,t[n]=e.alpha,t};H.unpack=function(e,t,n){return T.defined("array",e),t=A(t,0),l(n)||(n=new H),n.red=e[t++],n.green=e[t++],n.blue=e[t++],n.alpha=e[t],n};H.byteToFloat=function(e){return e/255};H.floatToByte=function(e){return e===1?255:e*256|0};H.clone=function(e,t){if(l(e))return l(t)?(t.red=e.red,t.green=e.green,t.blue=e.blue,t.alpha=e.alpha,t):new H(e.red,e.green,e.blue,e.alpha)};H.equals=function(e,t){return e===t||l(e)&&l(t)&&e.red===t.red&&e.green===t.green&&e.blue===t.blue&&e.alpha===t.alpha};H.equalsArray=function(e,t,n){return e.red===t[n]&&e.green===t[n+1]&&e.blue===t[n+2]&&e.alpha===t[n+3]};H.prototype.clone=function(e){return H.clone(this,e)};H.prototype.equals=function(e){return H.equals(this,e)};H.prototype.equalsEpsilon=function(e,t){return this===e||l(e)&&Math.abs(this.red-e.red)<=t&&Math.abs(this.green-e.green)<=t&&Math.abs(this.blue-e.blue)<=t&&Math.abs(this.alpha-e.alpha)<=t};H.prototype.toString=function(){return`(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`};H.prototype.toCssColorString=function(){const e=H.floatToByte(this.red),t=H.floatToByte(this.green),n=H.floatToByte(this.blue);return this.alpha===1?`rgb(${e},${t},${n})`:`rgba(${e},${t},${n},${this.alpha})`};H.prototype.toCssHexString=function(){let e=H.floatToByte(this.red).toString(16);e.length<2&&(e=`0${e}`);let t=H.floatToByte(this.green).toString(16);t.length<2&&(t=`0${t}`);let n=H.floatToByte(this.blue).toString(16);if(n.length<2&&(n=`0${n}`),this.alpha<1){let i=H.floatToByte(this.alpha).toString(16);return i.length<2&&(i=`0${i}`),`#${e}${t}${n}${i}`}return`#${e}${t}${n}`};H.prototype.toBytes=function(e){const t=H.floatToByte(this.red),n=H.floatToByte(this.green),i=H.floatToByte(this.blue),o=H.floatToByte(this.alpha);return l(e)?(e[0]=t,e[1]=n,e[2]=i,e[3]=o,e):[t,n,i,o]};H.prototype.toRgba=function(){return id[0]=H.floatToByte(this.red),id[1]=H.floatToByte(this.green),id[2]=H.floatToByte(this.blue),id[3]=H.floatToByte(this.alpha),kN[0]};H.prototype.brighten=function(e,t){return T.typeOf.number("magnitude",e),T.typeOf.number.greaterThanOrEquals("magnitude",e,0),T.typeOf.object("result",t),e=1-e,t.red=1-(1-this.red)*e,t.green=1-(1-this.green)*e,t.blue=1-(1-this.blue)*e,t.alpha=this.alpha,t};H.prototype.darken=function(e,t){return T.typeOf.number("magnitude",e),T.typeOf.number.greaterThanOrEquals("magnitude",e,0),T.typeOf.object("result",t),e=1-e,t.red=this.red*e,t.green=this.green*e,t.blue=this.blue*e,t.alpha=this.alpha,t};H.prototype.withAlpha=function(e,t){return H.fromAlpha(this,e,t)};H.add=function(e,t,n){return T.typeOf.object("left",e),T.typeOf.object("right",t),T.typeOf.object("result",n),n.red=e.red+t.red,n.green=e.green+t.green,n.blue=e.blue+t.blue,n.alpha=e.alpha+t.alpha,n};H.subtract=function(e,t,n){return T.typeOf.object("left",e),T.typeOf.object("right",t),T.typeOf.object("result",n),n.red=e.red-t.red,n.green=e.green-t.green,n.blue=e.blue-t.blue,n.alpha=e.alpha-t.alpha,n};H.multiply=function(e,t,n){return T.typeOf.object("left",e),T.typeOf.object("right",t),T.typeOf.object("result",n),n.red=e.red*t.red,n.green=e.green*t.green,n.blue=e.blue*t.blue,n.alpha=e.alpha*t.alpha,n};H.divide=function(e,t,n){return T.typeOf.object("left",e),T.typeOf.object("right",t),T.typeOf.object("result",n),n.red=e.red/t.red,n.green=e.green/t.green,n.blue=e.blue/t.blue,n.alpha=e.alpha/t.alpha,n};H.mod=function(e,t,n){return T.typeOf.object("left",e),T.typeOf.object("right",t),T.typeOf.object("result",n),n.red=e.red%t.red,n.green=e.green%t.green,n.blue=e.blue%t.blue,n.alpha=e.alpha%t.alpha,n};H.lerp=function(e,t,n,i){return T.typeOf.object("start",e),T.typeOf.object("end",t),T.typeOf.number("t",n),T.typeOf.object("result",i),i.red=M.lerp(e.red,t.red,n),i.green=M.lerp(e.green,t.green,n),i.blue=M.lerp(e.blue,t.blue,n),i.alpha=M.lerp(e.alpha,t.alpha,n),i};H.multiplyByScalar=function(e,t,n){return T.typeOf.object("color",e),T.typeOf.number("scalar",t),T.typeOf.object("result",n),n.red=e.red*t,n.green=e.green*t,n.blue=e.blue*t,n.alpha=e.alpha*t,n};H.divideByScalar=function(e,t,n){return T.typeOf.object("color",e),T.typeOf.number("scalar",t),T.typeOf.object("result",n),n.red=e.red/t,n.green=e.green/t,n.blue=e.blue/t,n.alpha=e.alpha/t,n};H.ALICEBLUE=Object.freeze(H.fromCssColorString("#F0F8FF"));H.ANTIQUEWHITE=Object.freeze(H.fromCssColorString("#FAEBD7"));H.AQUA=Object.freeze(H.fromCssColorString("#00FFFF"));H.AQUAMARINE=Object.freeze(H.fromCssColorString("#7FFFD4"));H.AZURE=Object.freeze(H.fromCssColorString("#F0FFFF"));H.BEIGE=Object.freeze(H.fromCssColorString("#F5F5DC"));H.BISQUE=Object.freeze(H.fromCssColorString("#FFE4C4"));H.BLACK=Object.freeze(H.fromCssColorString("#000000"));H.BLANCHEDALMOND=Object.freeze(H.fromCssColorString("#FFEBCD"));H.BLUE=Object.freeze(H.fromCssColorString("#0000FF"));H.BLUEVIOLET=Object.freeze(H.fromCssColorString("#8A2BE2"));H.BROWN=Object.freeze(H.fromCssColorString("#A52A2A"));H.BURLYWOOD=Object.freeze(H.fromCssColorString("#DEB887"));H.CADETBLUE=Object.freeze(H.fromCssColorString("#5F9EA0"));H.CHARTREUSE=Object.freeze(H.fromCssColorString("#7FFF00"));H.CHOCOLATE=Object.freeze(H.fromCssColorString("#D2691E"));H.CORAL=Object.freeze(H.fromCssColorString("#FF7F50"));H.CORNFLOWERBLUE=Object.freeze(H.fromCssColorString("#6495ED"));H.CORNSILK=Object.freeze(H.fromCssColorString("#FFF8DC"));H.CRIMSON=Object.freeze(H.fromCssColorString("#DC143C"));H.CYAN=Object.freeze(H.fromCssColorString("#00FFFF"));H.DARKBLUE=Object.freeze(H.fromCssColorString("#00008B"));H.DARKCYAN=Object.freeze(H.fromCssColorString("#008B8B"));H.DARKGOLDENROD=Object.freeze(H.fromCssColorString("#B8860B"));H.DARKGRAY=Object.freeze(H.fromCssColorString("#A9A9A9"));H.DARKGREEN=Object.freeze(H.fromCssColorString("#006400"));H.DARKGREY=H.DARKGRAY;H.DARKKHAKI=Object.freeze(H.fromCssColorString("#BDB76B"));H.DARKMAGENTA=Object.freeze(H.fromCssColorString("#8B008B"));H.DARKOLIVEGREEN=Object.freeze(H.fromCssColorString("#556B2F"));H.DARKORANGE=Object.freeze(H.fromCssColorString("#FF8C00"));H.DARKORCHID=Object.freeze(H.fromCssColorString("#9932CC"));H.DARKRED=Object.freeze(H.fromCssColorString("#8B0000"));H.DARKSALMON=Object.freeze(H.fromCssColorString("#E9967A"));H.DARKSEAGREEN=Object.freeze(H.fromCssColorString("#8FBC8F"));H.DARKSLATEBLUE=Object.freeze(H.fromCssColorString("#483D8B"));H.DARKSLATEGRAY=Object.freeze(H.fromCssColorString("#2F4F4F"));H.DARKSLATEGREY=H.DARKSLATEGRAY;H.DARKTURQUOISE=Object.freeze(H.fromCssColorString("#00CED1"));H.DARKVIOLET=Object.freeze(H.fromCssColorString("#9400D3"));H.DEEPPINK=Object.freeze(H.fromCssColorString("#FF1493"));H.DEEPSKYBLUE=Object.freeze(H.fromCssColorString("#00BFFF"));H.DIMGRAY=Object.freeze(H.fromCssColorString("#696969"));H.DIMGREY=H.DIMGRAY;H.DODGERBLUE=Object.freeze(H.fromCssColorString("#1E90FF"));H.FIREBRICK=Object.freeze(H.fromCssColorString("#B22222"));H.FLORALWHITE=Object.freeze(H.fromCssColorString("#FFFAF0"));H.FORESTGREEN=Object.freeze(H.fromCssColorString("#228B22"));H.FUCHSIA=Object.freeze(H.fromCssColorString("#FF00FF"));H.GAINSBORO=Object.freeze(H.fromCssColorString("#DCDCDC"));H.GHOSTWHITE=Object.freeze(H.fromCssColorString("#F8F8FF"));H.GOLD=Object.freeze(H.fromCssColorString("#FFD700"));H.GOLDENROD=Object.freeze(H.fromCssColorString("#DAA520"));H.GRAY=Object.freeze(H.fromCssColorString("#808080"));H.GREEN=Object.freeze(H.fromCssColorString("#008000"));H.GREENYELLOW=Object.freeze(H.fromCssColorString("#ADFF2F"));H.GREY=H.GRAY;H.HONEYDEW=Object.freeze(H.fromCssColorString("#F0FFF0"));H.HOTPINK=Object.freeze(H.fromCssColorString("#FF69B4"));H.INDIANRED=Object.freeze(H.fromCssColorString("#CD5C5C"));H.INDIGO=Object.freeze(H.fromCssColorString("#4B0082"));H.IVORY=Object.freeze(H.fromCssColorString("#FFFFF0"));H.KHAKI=Object.freeze(H.fromCssColorString("#F0E68C"));H.LAVENDER=Object.freeze(H.fromCssColorString("#E6E6FA"));H.LAVENDAR_BLUSH=Object.freeze(H.fromCssColorString("#FFF0F5"));H.LAWNGREEN=Object.freeze(H.fromCssColorString("#7CFC00"));H.LEMONCHIFFON=Object.freeze(H.fromCssColorString("#FFFACD"));H.LIGHTBLUE=Object.freeze(H.fromCssColorString("#ADD8E6"));H.LIGHTCORAL=Object.freeze(H.fromCssColorString("#F08080"));H.LIGHTCYAN=Object.freeze(H.fromCssColorString("#E0FFFF"));H.LIGHTGOLDENRODYELLOW=Object.freeze(H.fromCssColorString("#FAFAD2"));H.LIGHTGRAY=Object.freeze(H.fromCssColorString("#D3D3D3"));H.LIGHTGREEN=Object.freeze(H.fromCssColorString("#90EE90"));H.LIGHTGREY=H.LIGHTGRAY;H.LIGHTPINK=Object.freeze(H.fromCssColorString("#FFB6C1"));H.LIGHTSEAGREEN=Object.freeze(H.fromCssColorString("#20B2AA"));H.LIGHTSKYBLUE=Object.freeze(H.fromCssColorString("#87CEFA"));H.LIGHTSLATEGRAY=Object.freeze(H.fromCssColorString("#778899"));H.LIGHTSLATEGREY=H.LIGHTSLATEGRAY;H.LIGHTSTEELBLUE=Object.freeze(H.fromCssColorString("#B0C4DE"));H.LIGHTYELLOW=Object.freeze(H.fromCssColorString("#FFFFE0"));H.LIME=Object.freeze(H.fromCssColorString("#00FF00"));H.LIMEGREEN=Object.freeze(H.fromCssColorString("#32CD32"));H.LINEN=Object.freeze(H.fromCssColorString("#FAF0E6"));H.MAGENTA=Object.freeze(H.fromCssColorString("#FF00FF"));H.MAROON=Object.freeze(H.fromCssColorString("#800000"));H.MEDIUMAQUAMARINE=Object.freeze(H.fromCssColorString("#66CDAA"));H.MEDIUMBLUE=Object.freeze(H.fromCssColorString("#0000CD"));H.MEDIUMORCHID=Object.freeze(H.fromCssColorString("#BA55D3"));H.MEDIUMPURPLE=Object.freeze(H.fromCssColorString("#9370DB"));H.MEDIUMSEAGREEN=Object.freeze(H.fromCssColorString("#3CB371"));H.MEDIUMSLATEBLUE=Object.freeze(H.fromCssColorString("#7B68EE"));H.MEDIUMSPRINGGREEN=Object.freeze(H.fromCssColorString("#00FA9A"));H.MEDIUMTURQUOISE=Object.freeze(H.fromCssColorString("#48D1CC"));H.MEDIUMVIOLETRED=Object.freeze(H.fromCssColorString("#C71585"));H.MIDNIGHTBLUE=Object.freeze(H.fromCssColorString("#191970"));H.MINTCREAM=Object.freeze(H.fromCssColorString("#F5FFFA"));H.MISTYROSE=Object.freeze(H.fromCssColorString("#FFE4E1"));H.MOCCASIN=Object.freeze(H.fromCssColorString("#FFE4B5"));H.NAVAJOWHITE=Object.freeze(H.fromCssColorString("#FFDEAD"));H.NAVY=Object.freeze(H.fromCssColorString("#000080"));H.OLDLACE=Object.freeze(H.fromCssColorString("#FDF5E6"));H.OLIVE=Object.freeze(H.fromCssColorString("#808000"));H.OLIVEDRAB=Object.freeze(H.fromCssColorString("#6B8E23"));H.ORANGE=Object.freeze(H.fromCssColorString("#FFA500"));H.ORANGERED=Object.freeze(H.fromCssColorString("#FF4500"));H.ORCHID=Object.freeze(H.fromCssColorString("#DA70D6"));H.PALEGOLDENROD=Object.freeze(H.fromCssColorString("#EEE8AA"));H.PALEGREEN=Object.freeze(H.fromCssColorString("#98FB98"));H.PALETURQUOISE=Object.freeze(H.fromCssColorString("#AFEEEE"));H.PALEVIOLETRED=Object.freeze(H.fromCssColorString("#DB7093"));H.PAPAYAWHIP=Object.freeze(H.fromCssColorString("#FFEFD5"));H.PEACHPUFF=Object.freeze(H.fromCssColorString("#FFDAB9"));H.PERU=Object.freeze(H.fromCssColorString("#CD853F"));H.PINK=Object.freeze(H.fromCssColorString("#FFC0CB"));H.PLUM=Object.freeze(H.fromCssColorString("#DDA0DD"));H.POWDERBLUE=Object.freeze(H.fromCssColorString("#B0E0E6"));H.PURPLE=Object.freeze(H.fromCssColorString("#800080"));H.RED=Object.freeze(H.fromCssColorString("#FF0000"));H.ROSYBROWN=Object.freeze(H.fromCssColorString("#BC8F8F"));H.ROYALBLUE=Object.freeze(H.fromCssColorString("#4169E1"));H.SADDLEBROWN=Object.freeze(H.fromCssColorString("#8B4513"));H.SALMON=Object.freeze(H.fromCssColorString("#FA8072"));H.SANDYBROWN=Object.freeze(H.fromCssColorString("#F4A460"));H.SEAGREEN=Object.freeze(H.fromCssColorString("#2E8B57"));H.SEASHELL=Object.freeze(H.fromCssColorString("#FFF5EE"));H.SIENNA=Object.freeze(H.fromCssColorString("#A0522D"));H.SILVER=Object.freeze(H.fromCssColorString("#C0C0C0"));H.SKYBLUE=Object.freeze(H.fromCssColorString("#87CEEB"));H.SLATEBLUE=Object.freeze(H.fromCssColorString("#6A5ACD"));H.SLATEGRAY=Object.freeze(H.fromCssColorString("#708090"));H.SLATEGREY=H.SLATEGRAY;H.SNOW=Object.freeze(H.fromCssColorString("#FFFAFA"));H.SPRINGGREEN=Object.freeze(H.fromCssColorString("#00FF7F"));H.STEELBLUE=Object.freeze(H.fromCssColorString("#4682B4"));H.TAN=Object.freeze(H.fromCssColorString("#D2B48C"));H.TEAL=Object.freeze(H.fromCssColorString("#008080"));H.THISTLE=Object.freeze(H.fromCssColorString("#D8BFD8"));H.TOMATO=Object.freeze(H.fromCssColorString("#FF6347"));H.TURQUOISE=Object.freeze(H.fromCssColorString("#40E0D0"));H.VIOLET=Object.freeze(H.fromCssColorString("#EE82EE"));H.WHEAT=Object.freeze(H.fromCssColorString("#F5DEB3"));H.WHITE=Object.freeze(H.fromCssColorString("#FFFFFF"));H.WHITESMOKE=Object.freeze(H.fromCssColorString("#F5F5F5"));H.YELLOW=Object.freeze(H.fromCssColorString("#FFFF00"));H.YELLOWGREEN=Object.freeze(H.fromCssColorString("#9ACD32"));H.TRANSPARENT=Object.freeze(new H(0,0,0,0));function ao(e){e=A(e,A.EMPTY_OBJECT),this.color=e.color,this.depth=e.depth,this.stencil=e.stencil,this.renderState=e.renderState,this.framebuffer=e.framebuffer,this.owner=e.owner,this.pass=e.pass}ao.ALL=Object.freeze(new ao({color:new H(0,0,0,0),depth:1,stencil:0}));ao.prototype.execute=function(e,t){e.clear(this,t)};const __e={ENVIRONMENT:0,COMPUTE:1,GLOBE:2,TERRAIN_CLASSIFICATION:3,CESIUM_3D_TILE:4,CESIUM_3D_TILE_CLASSIFICATION:5,CESIUM_3D_TILE_CLASSIFICATION_IGNORE_SHOW:6,OPAQUE:7,TRANSLUCENT:8,VOXELS:9,OVERLAY:10,NUMBER_OF_PASSES:11},Ne=Object.freeze(__e);function sC(e){e=A(e,A.EMPTY_OBJECT),this.vertexArray=e.vertexArray,this.fragmentShaderSource=e.fragmentShaderSource,this.shaderProgram=e.shaderProgram,this.uniformMap=e.uniformMap,this.outputTexture=e.outputTexture,this.preExecute=e.preExecute,this.postExecute=e.postExecute,this.canceled=e.canceled,this.persists=A(e.persists,!1),this.pass=Ne.COMPUTE,this.owner=e.owner}sC.prototype.execute=function(e){e.execute(this)};function j(e,t){this.x=A(e,0),this.y=A(t,0)}j.fromElements=function(e,t,n){return l(n)?(n.x=e,n.y=t,n):new j(e,t)};j.clone=function(e,t){if(l(e))return l(t)?(t.x=e.x,t.y=e.y,t):new j(e.x,e.y)};j.fromCartesian3=j.clone;j.fromCartesian4=j.clone;j.packedLength=2;j.pack=function(e,t,n){return T.typeOf.object("value",e),T.defined("array",t),n=A(n,0),t[n++]=e.x,t[n]=e.y,t};j.unpack=function(e,t,n){return T.defined("array",e),t=A(t,0),l(n)||(n=new j),n.x=e[t++],n.y=e[t],n};j.packArray=function(e,t){T.defined("array",e);const n=e.length,i=n*2;if(!l(t))t=new Array(i);else{if(!Array.isArray(t)&&t.length!==i)throw new x("If result is a typed array, it must have exactly array.length * 2 elements");t.length!==i&&(t.length=i)}for(let o=0;oM.EPSILON12);return l(o)?(o.x=r*F,o.y=s*U,o.z=a*v,o):new d(r*F,s*U,a*v)}function Ce(e,t,n){this.longitude=A(e,0),this.latitude=A(t,0),this.height=A(n,0)}Ce.fromRadians=function(e,t,n,i){return T.typeOf.number("longitude",e),T.typeOf.number("latitude",t),n=A(n,0),l(i)?(i.longitude=e,i.latitude=t,i.height=n,i):new Ce(e,t,n)};Ce.fromDegrees=function(e,t,n,i){return T.typeOf.number("longitude",e),T.typeOf.number("latitude",t),e=M.toRadians(e),t=M.toRadians(t),Ce.fromRadians(e,t,n,i)};const b_e=new d,C_e=new d,T_e=new d,E_e=new d(1/6378137,1/6378137,1/6356752314245179e-9),x_e=new d(1/(6378137*6378137),1/(6378137*6378137),1/(6356752314245179e-9*6356752314245179e-9)),w_e=M.EPSILON1;Ce.fromCartesian=function(e,t,n){const i=l(t)?t.oneOverRadii:E_e,o=l(t)?t.oneOverRadiiSquared:x_e,r=l(t)?t._centerToleranceSquared:w_e,s=kW(e,i,o,r,C_e);if(!l(s))return;let a=d.multiplyComponents(s,o,b_e);a=d.normalize(a,a);const c=d.subtract(e,s,T_e),u=Math.atan2(a.y,a.x),f=Math.asin(a.z),h=M.sign(d.dot(c,e))*d.magnitude(c);return l(n)?(n.longitude=u,n.latitude=f,n.height=h,n):new Ce(u,f,h)};Ce.toCartesian=function(e,t,n){return T.defined("cartographic",e),d.fromRadians(e.longitude,e.latitude,e.height,t,n)};Ce.clone=function(e,t){if(l(e))return l(t)?(t.longitude=e.longitude,t.latitude=e.latitude,t.height=e.height,t):new Ce(e.longitude,e.latitude,e.height)};Ce.equals=function(e,t){return e===t||l(e)&&l(t)&&e.longitude===t.longitude&&e.latitude===t.latitude&&e.height===t.height};Ce.equalsEpsilon=function(e,t,n){return n=A(n,0),e===t||l(e)&&l(t)&&Math.abs(e.longitude-t.longitude)<=n&&Math.abs(e.latitude-t.latitude)<=n&&Math.abs(e.height-t.height)<=n};Ce.ZERO=Object.freeze(new Ce(0,0,0));Ce.prototype.clone=function(e){return Ce.clone(this,e)};Ce.prototype.equals=function(e){return Ce.equals(this,e)};Ce.prototype.equalsEpsilon=function(e,t){return Ce.equalsEpsilon(this,e,t)};Ce.prototype.toString=function(){return`(${this.longitude}, ${this.latitude}, ${this.height})`};function GW(e,t,n,i){t=A(t,0),n=A(n,0),i=A(i,0),T.typeOf.number.greaterThanOrEquals("x",t,0),T.typeOf.number.greaterThanOrEquals("y",n,0),T.typeOf.number.greaterThanOrEquals("z",i,0),e._radii=new d(t,n,i),e._radiiSquared=new d(t*t,n*n,i*i),e._radiiToTheFourth=new d(t*t*t*t,n*n*n*n,i*i*i*i),e._oneOverRadii=new d(t===0?0:1/t,n===0?0:1/n,i===0?0:1/i),e._oneOverRadiiSquared=new d(t===0?0:1/(t*t),n===0?0:1/(n*n),i===0?0:1/(i*i)),e._minimumRadius=Math.min(t,n,i),e._maximumRadius=Math.max(t,n,i),e._centerToleranceSquared=M.EPSILON1,e._radiiSquared.z!==0&&(e._squaredXOverSquaredZ=e._radiiSquared.x/e._radiiSquared.z)}function me(e,t,n){this._radii=void 0,this._radiiSquared=void 0,this._radiiToTheFourth=void 0,this._oneOverRadii=void 0,this._oneOverRadiiSquared=void 0,this._minimumRadius=void 0,this._maximumRadius=void 0,this._centerToleranceSquared=void 0,this._squaredXOverSquaredZ=void 0,GW(this,e,t,n)}Object.defineProperties(me.prototype,{radii:{get:function(){return this._radii}},radiiSquared:{get:function(){return this._radiiSquared}},radiiToTheFourth:{get:function(){return this._radiiToTheFourth}},oneOverRadii:{get:function(){return this._oneOverRadii}},oneOverRadiiSquared:{get:function(){return this._oneOverRadiiSquared}},minimumRadius:{get:function(){return this._minimumRadius}},maximumRadius:{get:function(){return this._maximumRadius}}});me.clone=function(e,t){if(!l(e))return;const n=e._radii;return l(t)?(d.clone(n,t._radii),d.clone(e._radiiSquared,t._radiiSquared),d.clone(e._radiiToTheFourth,t._radiiToTheFourth),d.clone(e._oneOverRadii,t._oneOverRadii),d.clone(e._oneOverRadiiSquared,t._oneOverRadiiSquared),t._minimumRadius=e._minimumRadius,t._maximumRadius=e._maximumRadius,t._centerToleranceSquared=e._centerToleranceSquared,t):new me(n.x,n.y,n.z)};me.fromCartesian3=function(e,t){return l(t)||(t=new me),l(e)&&GW(t,e.x,e.y,e.z),t};me.WGS84=Object.freeze(new me(6378137,6378137,6356752314245179e-9));me.UNIT_SPHERE=Object.freeze(new me(1,1,1));me.MOON=Object.freeze(new me(M.LUNAR_RADIUS,M.LUNAR_RADIUS,M.LUNAR_RADIUS));me.prototype.clone=function(e){return me.clone(this,e)};me.packedLength=d.packedLength;me.pack=function(e,t,n){return T.typeOf.object("value",e),T.defined("array",t),n=A(n,0),d.pack(e._radii,t,n),t};me.unpack=function(e,t,n){T.defined("array",e),t=A(t,0);const i=d.unpack(e,t);return me.fromCartesian3(i,n)};me.prototype.geocentricSurfaceNormal=d.normalize;me.prototype.geodeticSurfaceNormalCartographic=function(e,t){T.typeOf.object("cartographic",e);const n=e.longitude,i=e.latitude,o=Math.cos(i),r=o*Math.cos(n),s=o*Math.sin(n),a=Math.sin(i);return l(t)||(t=new d),t.x=r,t.y=s,t.z=a,d.normalize(t,t)};me.prototype.geodeticSurfaceNormal=function(e,t){if(!d.equalsEpsilon(e,d.ZERO,M.EPSILON14))return l(t)||(t=new d),t=d.multiplyComponents(e,this._oneOverRadiiSquared,t),d.normalize(t,t)};const S_e=new d,v_e=new d;me.prototype.cartographicToCartesian=function(e,t){const n=S_e,i=v_e;this.geodeticSurfaceNormalCartographic(e,n),d.multiplyComponents(this._radiiSquared,n,i);const o=Math.sqrt(d.dot(n,i));return d.divideByScalar(i,o,i),d.multiplyByScalar(n,e.height,n),l(t)||(t=new d),d.add(i,n,t)};me.prototype.cartographicArrayToCartesianArray=function(e,t){T.defined("cartographics",e);const n=e.length;l(t)?t.length=n:t=new Array(n);for(let i=0;i=this._radii.z-t))return n};const O_e=[.14887433898163,.43339539412925,.67940956829902,.86506336668898,.97390652851717,0],L_e=[.29552422471475,.26926671930999,.21908636251598,.14945134915058,.066671344308684,0];function Hz(e,t,n){T.typeOf.number("a",e),T.typeOf.number("b",t),T.typeOf.func("func",n);const i=.5*(t+e),o=.5*(t-e);let r=0;for(let s=0;s<5;s++){const a=o*O_e[s];r+=L_e[s]*(n(i+a)+n(i-a))}return r*=o,r}me.prototype.surfaceArea=function(e){T.typeOf.object("rectangle",e);const t=e.west;let n=e.east;const i=e.south,o=e.north;for(;n=0?f.longitude:f.longitude+M.TWO_PI;o=Math.min(o,h),r=Math.max(r,h)}return i-n>r-o&&(n=o,i=r,i>M.PI&&(i=i-M.TWO_PI),n>M.PI&&(n=n-M.TWO_PI)),l(t)?(t.west=n,t.south=s,t.east=i,t.north=a,t):new ge(n,s,i,a)};ge.fromCartesianArray=function(e,t,n){T.defined("cartesians",e),t=A(t,me.WGS84);let i=Number.MAX_VALUE,o=-Number.MAX_VALUE,r=Number.MAX_VALUE,s=-Number.MAX_VALUE,a=Number.MAX_VALUE,c=-Number.MAX_VALUE;for(let u=0,f=e.length;u=0?h.longitude:h.longitude+M.TWO_PI;r=Math.min(r,m),s=Math.max(s,m)}return o-i>s-r&&(i=r,o=s,o>M.PI&&(o=o-M.TWO_PI),i>M.PI&&(i=i-M.TWO_PI)),l(n)?(n.west=i,n.south=a,n.east=o,n.north=c,n):new ge(i,a,o,c)};ge.clone=function(e,t){if(l(e))return l(t)?(t.west=e.west,t.south=e.south,t.east=e.east,t.north=e.north,t):new ge(e.west,e.south,e.east,e.north)};ge.equalsEpsilon=function(e,t,n){return n=A(n,0),e===t||l(e)&&l(t)&&Math.abs(e.west-t.west)<=n&&Math.abs(e.south-t.south)<=n&&Math.abs(e.east-t.east)<=n&&Math.abs(e.north-t.north)<=n};ge.prototype.clone=function(e){return ge.clone(this,e)};ge.prototype.equals=function(e){return ge.equals(this,e)};ge.equals=function(e,t){return e===t||l(e)&&l(t)&&e.west===t.west&&e.south===t.south&&e.east===t.east&&e.north===t.north};ge.prototype.equalsEpsilon=function(e,t){return ge.equalsEpsilon(this,e,t)};ge.validate=function(e){T.typeOf.object("rectangle",e);const t=e.north;T.typeOf.number.greaterThanOrEquals("north",t,-M.PI_OVER_TWO),T.typeOf.number.lessThanOrEquals("north",t,M.PI_OVER_TWO);const n=e.south;T.typeOf.number.greaterThanOrEquals("south",n,-M.PI_OVER_TWO),T.typeOf.number.lessThanOrEquals("south",n,M.PI_OVER_TWO);const i=e.west;T.typeOf.number.greaterThanOrEquals("west",i,-Math.PI),T.typeOf.number.lessThanOrEquals("west",i,Math.PI);const o=e.east;T.typeOf.number.greaterThanOrEquals("east",o,-Math.PI),T.typeOf.number.lessThanOrEquals("east",o,Math.PI)};ge.southwest=function(e,t){return T.typeOf.object("rectangle",e),l(t)?(t.longitude=e.west,t.latitude=e.south,t.height=0,t):new Ce(e.west,e.south)};ge.northwest=function(e,t){return T.typeOf.object("rectangle",e),l(t)?(t.longitude=e.west,t.latitude=e.north,t.height=0,t):new Ce(e.west,e.north)};ge.northeast=function(e,t){return T.typeOf.object("rectangle",e),l(t)?(t.longitude=e.east,t.latitude=e.north,t.height=0,t):new Ce(e.east,e.north)};ge.southeast=function(e,t){return T.typeOf.object("rectangle",e),l(t)?(t.longitude=e.east,t.latitude=e.south,t.height=0,t):new Ce(e.east,e.south)};ge.center=function(e,t){T.typeOf.object("rectangle",e);let n=e.east;const i=e.west;n0?i+=M.TWO_PI:r0&&(r+=M.TWO_PI),i=f))return l(n)?(n.west=a,n.south=u,n.east=c,n.north=f,n):new ge(a,u,c,f)};ge.simpleIntersection=function(e,t,n){T.typeOf.object("rectangle",e),T.typeOf.object("otherRectangle",t);const i=Math.max(e.west,t.west),o=Math.max(e.south,t.south),r=Math.min(e.east,t.east),s=Math.min(e.north,t.north);if(!(o>=s||i>=r))return l(n)?(n.west=i,n.south=o,n.east=r,n.north=s,n):new ge(i,o,r,s)};ge.union=function(e,t,n){T.typeOf.object("rectangle",e),T.typeOf.object("otherRectangle",t),l(n)||(n=new ge);let i=e.east,o=e.west,r=t.east,s=t.west;i0?i+=M.TWO_PI:r0&&(r+=M.TWO_PI),io||M.equalsEpsilon(n,o,M.EPSILON14))&&(n=e.south&&i<=e.north};const R_e=new Ce;ge.subsample=function(e,t,n,i){T.typeOf.object("rectangle",e),t=A(t,me.WGS84),n=A(n,0),l(i)||(i=[]);let o=0;const r=e.north,s=e.south,a=e.east,c=e.west,u=R_e;u.height=n,u.longitude=c,u.latitude=r,i[o]=t.cartographicToCartesian(u,i[o]),o++,u.longitude=a,i[o]=t.cartographicToCartesian(u,i[o]),o++,u.latitude=s,i[o]=t.cartographicToCartesian(u,i[o]),o++,u.longitude=c,i[o]=t.cartographicToCartesian(u,i[o]),o++,r<0?u.latitude=r:s>0?u.latitude=s:u.latitude=0;for(let f=1;f<8;++f)u.longitude=-Math.PI+f*M.PI_OVER_TWO,ge.contains(e,u)&&(i[o]=t.cartographicToCartesian(u,i[o]),o++);return u.latitude===0&&(u.longitude=c,i[o]=t.cartographicToCartesian(u,i[o]),o++,u.longitude=a,i[o]=t.cartographicToCartesian(u,i[o]),o++),i.length=o,i};ge.subsection=function(e,t,n,i,o,r){if(T.typeOf.object("rectangle",e),T.typeOf.number.greaterThanOrEquals("westLerp",t,0),T.typeOf.number.lessThanOrEquals("westLerp",t,1),T.typeOf.number.greaterThanOrEquals("southLerp",n,0),T.typeOf.number.lessThanOrEquals("southLerp",n,1),T.typeOf.number.greaterThanOrEquals("eastLerp",i,0),T.typeOf.number.lessThanOrEquals("eastLerp",i,1),T.typeOf.number.greaterThanOrEquals("northLerp",o,0),T.typeOf.number.lessThanOrEquals("northLerp",o,1),T.typeOf.number.lessThanOrEquals("westLerp",t,i),T.typeOf.number.lessThanOrEquals("southLerp",n,o),l(r)||(r=new ge),e.west<=e.east){const a=e.east-e.west;r.west=e.west+t*a,r.east=e.west+i*a}else{const a=M.TWO_PI+e.east-e.west;r.west=M.negativePiToPi(e.west+t*a),r.east=M.negativePiToPi(e.west+i*a)}const s=e.north-e.south;return r.south=e.south+n*s,r.north=e.south+o*s,t===1&&(r.west=e.east),i===1&&(r.east=e.east),n===1&&(r.south=e.north),o===1&&(r.north=e.north),r};ge.MAX_VALUE=Object.freeze(new ge(-Math.PI,-M.PI_OVER_TWO,Math.PI,M.PI_OVER_TWO));function $e(e,t,n,i){this.x=A(e,0),this.y=A(t,0),this.width=A(n,0),this.height=A(i,0)}$e.packedLength=4;$e.pack=function(e,t,n){return T.typeOf.object("value",e),T.defined("array",t),n=A(n,0),t[n++]=e.x,t[n++]=e.y,t[n++]=e.width,t[n]=e.height,t};$e.unpack=function(e,t,n){return T.defined("array",e),t=A(t,0),l(n)||(n=new $e),n.x=e[t++],n.y=e[t++],n.width=e[t++],n.height=e[t],n};$e.fromPoints=function(e,t){if(l(t)||(t=new $e),!l(e)||e.length===0)return t.x=0,t.y=0,t.width=0,t.height=0,t;const n=e.length;let i=e[0].x,o=e[0].y,r=e[0].x,s=e[0].y;for(let a=1;an.width?n.width=i:i<0&&(n.width-=i,n.x=t.x),o>n.height?n.height=o:o<0&&(n.height-=o,n.y=t.y),n};$e.intersect=function(e,t){T.typeOf.object("left",e),T.typeOf.object("right",t);const n=e.x,i=e.y,o=t.x,r=t.y;return n>o+t.width||n+e.widthr+t.height?Cn.OUTSIDE:Cn.INTERSECTING};$e.equals=function(e,t){return e===t||l(e)&&l(t)&&e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height};$e.prototype.clone=function(e){return $e.clone(this,e)};$e.prototype.intersect=function(e){return $e.intersect(this,e)};$e.prototype.equals=function(e){return $e.equals(this,e)};const Ts={POINTS:ae.POINTS,LINES:ae.LINES,LINE_LOOP:ae.LINE_LOOP,LINE_STRIP:ae.LINE_STRIP,TRIANGLES:ae.TRIANGLES,TRIANGLE_STRIP:ae.TRIANGLE_STRIP,TRIANGLE_FAN:ae.TRIANGLE_FAN};Ts.isLines=function(e){return e===Ts.LINES||e===Ts.LINE_LOOP||e===Ts.LINE_STRIP};Ts.isTriangles=function(e){return e===Ts.TRIANGLES||e===Ts.TRIANGLE_STRIP||e===Ts.TRIANGLE_FAN};Ts.validate=function(e){return e===Ts.POINTS||e===Ts.LINES||e===Ts.LINE_LOOP||e===Ts.LINE_STRIP||e===Ts.TRIANGLES||e===Ts.TRIANGLE_STRIP||e===Ts.TRIANGLE_FAN};const Qe=Object.freeze(Ts),WW=`attribute vec4 position; attribute vec2 textureCoordinates; varying vec2 v_textureCoordinates; @@ -31,11 +36,11 @@ void main() gl_Position = position; v_textureCoordinates = textureCoordinates; } -`,Io={CULL:1,OCCLUDE:2,EXECUTE_IN_CLOSEST_FRUSTUM:4,DEBUG_SHOW_BOUNDING_VOLUME:8,CAST_SHADOWS:16,RECEIVE_SHADOWS:32,PICK_ONLY:64,DEPTH_FOR_TRANSLUCENT_CLASSIFICATION:128};function dt(e){e=A(e,A.EMPTY_OBJECT),this._boundingVolume=e.boundingVolume,this._orientedBoundingBox=e.orientedBoundingBox,this._modelMatrix=e.modelMatrix,this._primitiveType=A(e.primitiveType,Qe.TRIANGLES),this._vertexArray=e.vertexArray,this._count=e.count,this._offset=A(e.offset,0),this._instanceCount=A(e.instanceCount,0),this._shaderProgram=e.shaderProgram,this._uniformMap=e.uniformMap,this._renderState=e.renderState,this._framebuffer=e.framebuffer,this._pass=e.pass,this._owner=e.owner,this._debugOverlappingFrustums=0,this._pickId=e.pickId,this._flags=0,this.cull=A(e.cull,!0),this.occlude=A(e.occlude,!0),this.executeInClosestFrustum=A(e.executeInClosestFrustum,!1),this.debugShowBoundingVolume=A(e.debugShowBoundingVolume,!1),this.castShadows=A(e.castShadows,!1),this.receiveShadows=A(e.receiveShadows,!1),this.pickOnly=A(e.pickOnly,!1),this.depthForTranslucentClassification=A(e.depthForTranslucentClassification,!1),this.dirty=!0,this.lastDirtyTime=0,this.derivedCommands={}}function Ps(e,t){return(e._flags&t)===t}function fh(e,t,n){n?e._flags|=t:e._flags&=~t}Object.defineProperties(dt.prototype,{boundingVolume:{get:function(){return this._boundingVolume},set:function(e){this._boundingVolume!==e&&(this._boundingVolume=e,this.dirty=!0)}},orientedBoundingBox:{get:function(){return this._orientedBoundingBox},set:function(e){this._orientedBoundingBox!==e&&(this._orientedBoundingBox=e,this.dirty=!0)}},cull:{get:function(){return Ps(this,Io.CULL)},set:function(e){Ps(this,Io.CULL)!==e&&(fh(this,Io.CULL,e),this.dirty=!0)}},occlude:{get:function(){return Ps(this,Io.OCCLUDE)},set:function(e){Ps(this,Io.OCCLUDE)!==e&&(fh(this,Io.OCCLUDE,e),this.dirty=!0)}},modelMatrix:{get:function(){return this._modelMatrix},set:function(e){this._modelMatrix!==e&&(this._modelMatrix=e,this.dirty=!0)}},primitiveType:{get:function(){return this._primitiveType},set:function(e){this._primitiveType!==e&&(this._primitiveType=e,this.dirty=!0)}},vertexArray:{get:function(){return this._vertexArray},set:function(e){this._vertexArray!==e&&(this._vertexArray=e,this.dirty=!0)}},count:{get:function(){return this._count},set:function(e){this._count!==e&&(this._count=e,this.dirty=!0)}},offset:{get:function(){return this._offset},set:function(e){this._offset!==e&&(this._offset=e,this.dirty=!0)}},instanceCount:{get:function(){return this._instanceCount},set:function(e){this._instanceCount!==e&&(this._instanceCount=e,this.dirty=!0)}},shaderProgram:{get:function(){return this._shaderProgram},set:function(e){this._shaderProgram!==e&&(this._shaderProgram=e,this.dirty=!0)}},castShadows:{get:function(){return Ps(this,Io.CAST_SHADOWS)},set:function(e){Ps(this,Io.CAST_SHADOWS)!==e&&(fh(this,Io.CAST_SHADOWS,e),this.dirty=!0)}},receiveShadows:{get:function(){return Ps(this,Io.RECEIVE_SHADOWS)},set:function(e){Ps(this,Io.RECEIVE_SHADOWS)!==e&&(fh(this,Io.RECEIVE_SHADOWS,e),this.dirty=!0)}},uniformMap:{get:function(){return this._uniformMap},set:function(e){this._uniformMap!==e&&(this._uniformMap=e,this.dirty=!0)}},renderState:{get:function(){return this._renderState},set:function(e){this._renderState!==e&&(this._renderState=e,this.dirty=!0)}},framebuffer:{get:function(){return this._framebuffer},set:function(e){this._framebuffer!==e&&(this._framebuffer=e,this.dirty=!0)}},pass:{get:function(){return this._pass},set:function(e){this._pass!==e&&(this._pass=e,this.dirty=!0)}},executeInClosestFrustum:{get:function(){return Ps(this,Io.EXECUTE_IN_CLOSEST_FRUSTUM)},set:function(e){Ps(this,Io.EXECUTE_IN_CLOSEST_FRUSTUM)!==e&&(fh(this,Io.EXECUTE_IN_CLOSEST_FRUSTUM,e),this.dirty=!0)}},owner:{get:function(){return this._owner},set:function(e){this._owner!==e&&(this._owner=e,this.dirty=!0)}},debugShowBoundingVolume:{get:function(){return Ps(this,Io.DEBUG_SHOW_BOUNDING_VOLUME)},set:function(e){Ps(this,Io.DEBUG_SHOW_BOUNDING_VOLUME)!==e&&(fh(this,Io.DEBUG_SHOW_BOUNDING_VOLUME,e),this.dirty=!0)}},debugOverlappingFrustums:{get:function(){return this._debugOverlappingFrustums},set:function(e){this._debugOverlappingFrustums!==e&&(this._debugOverlappingFrustums=e,this.dirty=!0)}},pickId:{get:function(){return this._pickId},set:function(e){this._pickId!==e&&(this._pickId=e,this.dirty=!0)}},pickOnly:{get:function(){return Ps(this,Io.PICK_ONLY)},set:function(e){Ps(this,Io.PICK_ONLY)!==e&&(fh(this,Io.PICK_ONLY,e),this.dirty=!0)}},depthForTranslucentClassification:{get:function(){return Ps(this,Io.DEPTH_FOR_TRANSLUCENT_CLASSIFICATION)},set:function(e){Ps(this,Io.DEPTH_FOR_TRANSLUCENT_CLASSIFICATION)!==e&&(fh(this,Io.DEPTH_FOR_TRANSLUCENT_CLASSIFICATION,e),this.dirty=!0)}}});dt.shallowClone=function(e,t){if(l(e))return l(t)||(t=new dt),t._boundingVolume=e._boundingVolume,t._orientedBoundingBox=e._orientedBoundingBox,t._modelMatrix=e._modelMatrix,t._primitiveType=e._primitiveType,t._vertexArray=e._vertexArray,t._count=e._count,t._offset=e._offset,t._instanceCount=e._instanceCount,t._shaderProgram=e._shaderProgram,t._uniformMap=e._uniformMap,t._renderState=e._renderState,t._framebuffer=e._framebuffer,t._pass=e._pass,t._owner=e._owner,t._debugOverlappingFrustums=e._debugOverlappingFrustums,t._pickId=e._pickId,t._flags=e._flags,t.dirty=!0,t.lastDirtyTime=0,t};dt.prototype.execute=function(e,t){e.draw(this,t)};const Qn={UNSIGNED_BYTE:ae.UNSIGNED_BYTE,UNSIGNED_SHORT:ae.UNSIGNED_SHORT,UNSIGNED_INT:ae.UNSIGNED_INT,FLOAT:ae.FLOAT,HALF_FLOAT:ae.HALF_FLOAT_OES,UNSIGNED_INT_24_8:ae.UNSIGNED_INT_24_8,UNSIGNED_SHORT_4_4_4_4:ae.UNSIGNED_SHORT_4_4_4_4,UNSIGNED_SHORT_5_5_5_1:ae.UNSIGNED_SHORT_5_5_5_1,UNSIGNED_SHORT_5_6_5:ae.UNSIGNED_SHORT_5_6_5};Qn.toWebGLConstant=function(e,t){switch(e){case Qn.UNSIGNED_BYTE:return ae.UNSIGNED_BYTE;case Qn.UNSIGNED_SHORT:return ae.UNSIGNED_SHORT;case Qn.UNSIGNED_INT:return ae.UNSIGNED_INT;case Qn.FLOAT:return ae.FLOAT;case Qn.HALF_FLOAT:return t.webgl2?ae.HALF_FLOAT:ae.HALF_FLOAT_OES;case Qn.UNSIGNED_INT_24_8:return ae.UNSIGNED_INT_24_8;case Qn.UNSIGNED_SHORT_4_4_4_4:return ae.UNSIGNED_SHORT_4_4_4_4;case Qn.UNSIGNED_SHORT_5_5_5_1:return ae.UNSIGNED_SHORT_5_5_5_1;case Qn.UNSIGNED_SHORT_5_6_5:return Qn.UNSIGNED_SHORT_5_6_5}};Qn.isPacked=function(e){return e===Qn.UNSIGNED_INT_24_8||e===Qn.UNSIGNED_SHORT_4_4_4_4||e===Qn.UNSIGNED_SHORT_5_5_5_1||e===Qn.UNSIGNED_SHORT_5_6_5};Qn.sizeInBytes=function(e){switch(e){case Qn.UNSIGNED_BYTE:return 1;case Qn.UNSIGNED_SHORT:case Qn.UNSIGNED_SHORT_4_4_4_4:case Qn.UNSIGNED_SHORT_5_5_5_1:case Qn.UNSIGNED_SHORT_5_6_5:case Qn.HALF_FLOAT:return 2;case Qn.UNSIGNED_INT:case Qn.FLOAT:case Qn.UNSIGNED_INT_24_8:return 4}};Qn.validate=function(e){return e===Qn.UNSIGNED_BYTE||e===Qn.UNSIGNED_SHORT||e===Qn.UNSIGNED_INT||e===Qn.FLOAT||e===Qn.HALF_FLOAT||e===Qn.UNSIGNED_INT_24_8||e===Qn.UNSIGNED_SHORT_4_4_4_4||e===Qn.UNSIGNED_SHORT_5_5_5_1||e===Qn.UNSIGNED_SHORT_5_6_5};const Je=Object.freeze(Qn),Ke={DEPTH_COMPONENT:ae.DEPTH_COMPONENT,DEPTH_STENCIL:ae.DEPTH_STENCIL,ALPHA:ae.ALPHA,RGB:ae.RGB,RGBA:ae.RGBA,LUMINANCE:ae.LUMINANCE,LUMINANCE_ALPHA:ae.LUMINANCE_ALPHA,RGB_DXT1:ae.COMPRESSED_RGB_S3TC_DXT1_EXT,RGBA_DXT1:ae.COMPRESSED_RGBA_S3TC_DXT1_EXT,RGBA_DXT3:ae.COMPRESSED_RGBA_S3TC_DXT3_EXT,RGBA_DXT5:ae.COMPRESSED_RGBA_S3TC_DXT5_EXT,RGB_PVRTC_4BPPV1:ae.COMPRESSED_RGB_PVRTC_4BPPV1_IMG,RGB_PVRTC_2BPPV1:ae.COMPRESSED_RGB_PVRTC_2BPPV1_IMG,RGBA_PVRTC_4BPPV1:ae.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG,RGBA_PVRTC_2BPPV1:ae.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG,RGBA_ASTC:ae.COMPRESSED_RGBA_ASTC_4x4_WEBGL,RGB_ETC1:ae.COMPRESSED_RGB_ETC1_WEBGL,RGB8_ETC2:ae.COMPRESSED_RGB8_ETC2,RGBA8_ETC2_EAC:ae.COMPRESSED_RGBA8_ETC2_EAC,RGBA_BC7:ae.COMPRESSED_RGBA_BPTC_UNORM};Ke.componentsLength=function(e){switch(e){case Ke.RGB:return 3;case Ke.RGBA:return 4;case Ke.LUMINANCE_ALPHA:return 2;case Ke.ALPHA:case Ke.LUMINANCE:return 1;default:return 1}};Ke.validate=function(e){return e===Ke.DEPTH_COMPONENT||e===Ke.DEPTH_STENCIL||e===Ke.ALPHA||e===Ke.RGB||e===Ke.RGBA||e===Ke.LUMINANCE||e===Ke.LUMINANCE_ALPHA||e===Ke.RGB_DXT1||e===Ke.RGBA_DXT1||e===Ke.RGBA_DXT3||e===Ke.RGBA_DXT5||e===Ke.RGB_PVRTC_4BPPV1||e===Ke.RGB_PVRTC_2BPPV1||e===Ke.RGBA_PVRTC_4BPPV1||e===Ke.RGBA_PVRTC_2BPPV1||e===Ke.RGBA_ASTC||e===Ke.RGB_ETC1||e===Ke.RGB8_ETC2||e===Ke.RGBA8_ETC2_EAC||e===Ke.RGBA_BC7};Ke.isColorFormat=function(e){return e===Ke.ALPHA||e===Ke.RGB||e===Ke.RGBA||e===Ke.LUMINANCE||e===Ke.LUMINANCE_ALPHA};Ke.isDepthFormat=function(e){return e===Ke.DEPTH_COMPONENT||e===Ke.DEPTH_STENCIL};Ke.isCompressedFormat=function(e){return e===Ke.RGB_DXT1||e===Ke.RGBA_DXT1||e===Ke.RGBA_DXT3||e===Ke.RGBA_DXT5||e===Ke.RGB_PVRTC_4BPPV1||e===Ke.RGB_PVRTC_2BPPV1||e===Ke.RGBA_PVRTC_4BPPV1||e===Ke.RGBA_PVRTC_2BPPV1||e===Ke.RGBA_ASTC||e===Ke.RGB_ETC1||e===Ke.RGB8_ETC2||e===Ke.RGBA8_ETC2_EAC||e===Ke.RGBA_BC7};Ke.isDXTFormat=function(e){return e===Ke.RGB_DXT1||e===Ke.RGBA_DXT1||e===Ke.RGBA_DXT3||e===Ke.RGBA_DXT5};Ke.isPVRTCFormat=function(e){return e===Ke.RGB_PVRTC_4BPPV1||e===Ke.RGB_PVRTC_2BPPV1||e===Ke.RGBA_PVRTC_4BPPV1||e===Ke.RGBA_PVRTC_2BPPV1};Ke.isASTCFormat=function(e){return e===Ke.RGBA_ASTC};Ke.isETC1Format=function(e){return e===Ke.RGB_ETC1};Ke.isETC2Format=function(e){return e===Ke.RGB8_ETC2||e===Ke.RGBA8_ETC2_EAC};Ke.isBC7Format=function(e){return e===Ke.RGBA_BC7};Ke.compressedTextureSizeInBytes=function(e,t,n){switch(e){case Ke.RGB_DXT1:case Ke.RGBA_DXT1:case Ke.RGB_ETC1:case Ke.RGB8_ETC2:return Math.floor((t+3)/4)*Math.floor((n+3)/4)*8;case Ke.RGBA_DXT3:case Ke.RGBA_DXT5:case Ke.RGBA_ASTC:case Ke.RGBA8_ETC2_EAC:return Math.floor((t+3)/4)*Math.floor((n+3)/4)*16;case Ke.RGB_PVRTC_4BPPV1:case Ke.RGBA_PVRTC_4BPPV1:return Math.floor((Math.max(t,8)*Math.max(n,8)*4+7)/8);case Ke.RGB_PVRTC_2BPPV1:case Ke.RGBA_PVRTC_2BPPV1:return Math.floor((Math.max(t,16)*Math.max(n,8)*2+7)/8);case Ke.RGBA_BC7:return Math.ceil(t/4)*Math.ceil(n/4)*16;default:return 0}};Ke.textureSizeInBytes=function(e,t,n,i){let o=Ke.componentsLength(e);return Je.isPacked(t)&&(o=1),o*Je.sizeInBytes(t)*n*i};Ke.alignmentInBytes=function(e,t,n){const i=Ke.textureSizeInBytes(e,t,n,1)%4;return i===0?4:i===2?2:1};Ke.createTypedArray=function(e,t,n,i){let o;const r=Je.sizeInBytes(t);r===Uint8Array.BYTES_PER_ELEMENT?o=Uint8Array:r===Uint16Array.BYTES_PER_ELEMENT?o=Uint16Array:r===Float32Array.BYTES_PER_ELEMENT&&t===Je.FLOAT?o=Float32Array:o=Uint32Array;const s=Ke.componentsLength(e)*n*i;return new o(s)};Ke.flipY=function(e,t,n,i,o){if(o===1)return e;const r=Ke.createTypedArray(t,n,i,o),s=Ke.componentsLength(t),a=i*s;for(let c=0;ci)throw new E("The number of color attachments exceeds the number supported.");for(c=0;ci)throw new E("The number of color attachments exceeds the number supported.");for(c=0;c=this._colorTextures.length)throw new E("index is required, must be greater than or equal to zero and must be less than the number of color attachments.");return this._colorTextures[e]};Wr.prototype.getColorRenderbuffer=function(e){if(!l(e)||e<0||e>=this._colorRenderbuffers.length)throw new E("index is required, must be greater than or equal to zero and must be less than the number of color attachments.");return this._colorRenderbuffers[e]};Wr.prototype.isDestroyed=function(){return!1};Wr.prototype.destroy=function(){if(this.destroyAttachments){let e=0;const t=this._colorTextures;let n=t.length;for(;evt.maximumAliasedLineWidth)throw new E("renderState.lineWidth is out of range. Check minimumAliasedLineWidth and maximumAliasedLineWidth.");if(!ol.validate(this.frontFace))throw new E("Invalid renderState.frontFace.");if(!eme(this.cull.face))throw new E("Invalid renderState.cull.face.");if(this.scissorTest.rectangle.width<0||this.scissorTest.rectangle.height<0)throw new E("renderState.scissorTest.rectangle.width and renderState.scissorTest.rectangle.height must be greater than or equal to zero.");if(this.depthRange.near>this.depthRange.far)throw new E("renderState.depthRange.near can not be greater than renderState.depthRange.far.");if(this.depthRange.near<0)throw new E("renderState.depthRange.near must be greater than or equal to zero.");if(this.depthRange.far>1)throw new E("renderState.depthRange.far must be less than or equal to one.");if(!tme(this.depthTest.func))throw new E("Invalid renderState.depthTest.func.");if(this.blending.color.red<0||this.blending.color.red>1||this.blending.color.green<0||this.blending.color.green>1||this.blending.color.blue<0||this.blending.color.blue>1||this.blending.color.alpha<0||this.blending.color.alpha>1)throw new E("renderState.blending.color components must be greater than or equal to zero and less than or equal to one.");if(!vz(this.blending.equationRgb))throw new E("Invalid renderState.blending.equationRgb.");if(!vz(this.blending.equationAlpha))throw new E("Invalid renderState.blending.equationAlpha.");if(!fE(this.blending.functionSourceRgb))throw new E("Invalid renderState.blending.functionSourceRgb.");if(!fE(this.blending.functionSourceAlpha))throw new E("Invalid renderState.blending.functionSourceAlpha.");if(!fE(this.blending.functionDestinationRgb))throw new E("Invalid renderState.blending.functionDestinationRgb.");if(!fE(this.blending.functionDestinationAlpha))throw new E("Invalid renderState.blending.functionDestinationAlpha.");if(!Dz(this.stencilTest.frontFunction))throw new E("Invalid renderState.stencilTest.frontFunction.");if(!Dz(this.stencilTest.backFunction))throw new E("Invalid renderState.stencilTest.backFunction.");if(!pg(this.stencilTest.frontOperation.fail))throw new E("Invalid renderState.stencilTest.frontOperation.fail.");if(!pg(this.stencilTest.frontOperation.zFail))throw new E("Invalid renderState.stencilTest.frontOperation.zFail.");if(!pg(this.stencilTest.frontOperation.zPass))throw new E("Invalid renderState.stencilTest.frontOperation.zPass.");if(!pg(this.stencilTest.backOperation.fail))throw new E("Invalid renderState.stencilTest.backOperation.fail.");if(!pg(this.stencilTest.backOperation.zFail))throw new E("Invalid renderState.stencilTest.backOperation.zFail.");if(!pg(this.stencilTest.backOperation.zPass))throw new E("Invalid renderState.stencilTest.backOperation.zPass.");if(l(this.viewport)){if(this.viewport.width<0)throw new E("renderState.viewport.width must be greater than or equal to zero.");if(this.viewport.height<0)throw new E("renderState.viewport.height must be greater than or equal to zero.");if(this.viewport.width>vt.maximumViewportWidth)throw new E(`renderState.viewport.width must be less than or equal to the maximum viewport width (${vt.maximumViewportWidth.toString()}). Check maximumViewportWidth.`);if(this.viewport.height>vt.maximumViewportHeight)throw new E(`renderState.viewport.height must be less than or equal to the maximum viewport height (${vt.maximumViewportHeight.toString()}). Check maximumViewportHeight.`)}this.id=0,this._applyFunctions=[]}let nme=0,$u={};Ze.fromCache=function(e){const t=JSON.stringify(e);let n=$u[t];if(l(n))return++n.referenceCount,n.state;let i=new Ze(e);const o=JSON.stringify(i);return n=$u[o],l(n)||(i.id=nme++,i=TW(i),n={referenceCount:0,state:i},$u[o]=n),++n.referenceCount,$u[t]={referenceCount:1,state:n.state},n.state};Ze.removeFromCache=function(e){const t=new Ze(e),n=JSON.stringify(t),i=$u[n],o=JSON.stringify(e),r=$u[o];l(r)&&(--r.referenceCount,r.referenceCount===0&&(delete $u[o],l(i)&&--i.referenceCount)),l(i)&&i.referenceCount===0&&delete $u[n]};Ze.getCache=function(){return $u};Ze.clearCache=function(){$u={}};function N_(e,t,n){n?e.enable(t):e.disable(t)}function EW(e,t){e.frontFace(t.frontFace)}function xW(e,t){const n=t.cull,i=n.enabled;N_(e,e.CULL_FACE,i),i&&e.cullFace(n.face)}function wW(e,t){e.lineWidth(t.lineWidth)}function SW(e,t){const n=t.polygonOffset,i=n.enabled;N_(e,e.POLYGON_OFFSET_FILL,i),i&&e.polygonOffset(n.factor,n.units)}function vW(e,t,n){const i=t.scissorTest,o=l(n.scissorTest)?n.scissorTest.enabled:i.enabled;if(N_(e,e.SCISSOR_TEST,o),o){const r=l(n.scissorTest)?n.scissorTest.rectangle:i.rectangle;e.scissor(r.x,r.y,r.width,r.height)}}function DW(e,t){const n=t.depthRange;e.depthRange(n.near,n.far)}function IW(e,t){const n=t.depthTest,i=n.enabled;N_(e,e.DEPTH_TEST,i),i&&e.depthFunc(n.func)}function PW(e,t){const n=t.colorMask;e.colorMask(n.red,n.green,n.blue,n.alpha)}function OW(e,t){e.depthMask(t.depthMask)}function LW(e,t){e.stencilMask(t.stencilMask)}function ime(e,t){e.blendColor(t.red,t.green,t.blue,t.alpha)}function BW(e,t,n){const i=t.blending,o=l(n.blendingEnabled)?n.blendingEnabled:i.enabled;N_(e,e.BLEND,o),o&&(ime(e,i.color),e.blendEquationSeparate(i.equationRgb,i.equationAlpha),e.blendFuncSeparate(i.functionSourceRgb,i.functionDestinationRgb,i.functionSourceAlpha,i.functionDestinationAlpha))}function RW(e,t){const n=t.stencilTest,i=n.enabled;if(N_(e,e.STENCIL_TEST,i),i){const o=n.frontFunction,r=n.backFunction,s=n.reference,a=n.mask;e.stencilFunc(o,s,a),e.stencilFuncSeparate(e.BACK,r,s,a),e.stencilFuncSeparate(e.FRONT,o,s,a);const c=n.frontOperation,u=c.fail,f=c.zFail,h=c.zPass;e.stencilOpSeparate(e.FRONT,u,f,h);const _=n.backOperation,g=_.fail,p=_.zFail,y=_.zPass;e.stencilOpSeparate(e.BACK,g,p,y)}}function NW(e,t){const n=t.sampleCoverage,i=n.enabled;N_(e,e.SAMPLE_COVERAGE,i),i&&e.sampleCoverage(n.value,n.invert)}const ome=new Ye;function MW(e,t,n){let i=A(t.viewport,n.viewport);l(i)||(i=ome,i.width=n.context.drawingBufferWidth,i.height=n.context.drawingBufferHeight),n.context.uniformState.viewport=i,e.viewport(i.x,i.y,i.width,i.height)}Ze.apply=function(e,t,n){EW(e,t),xW(e,t),wW(e,t),SW(e,t),DW(e,t),IW(e,t),PW(e,t),OW(e,t),LW(e,t),RW(e,t),NW(e,t),vW(e,t,n),BW(e,t,n),MW(e,t,n)};function rme(e,t){const n=[];return e.frontFace!==t.frontFace&&n.push(EW),(e.cull.enabled!==t.cull.enabled||e.cull.face!==t.cull.face)&&n.push(xW),e.lineWidth!==t.lineWidth&&n.push(wW),(e.polygonOffset.enabled!==t.polygonOffset.enabled||e.polygonOffset.factor!==t.polygonOffset.factor||e.polygonOffset.units!==t.polygonOffset.units)&&n.push(SW),(e.depthRange.near!==t.depthRange.near||e.depthRange.far!==t.depthRange.far)&&n.push(DW),(e.depthTest.enabled!==t.depthTest.enabled||e.depthTest.func!==t.depthTest.func)&&n.push(IW),(e.colorMask.red!==t.colorMask.red||e.colorMask.green!==t.colorMask.green||e.colorMask.blue!==t.colorMask.blue||e.colorMask.alpha!==t.colorMask.alpha)&&n.push(PW),e.depthMask!==t.depthMask&&n.push(OW),e.stencilMask!==t.stencilMask&&n.push(LW),(e.stencilTest.enabled!==t.stencilTest.enabled||e.stencilTest.frontFunction!==t.stencilTest.frontFunction||e.stencilTest.backFunction!==t.stencilTest.backFunction||e.stencilTest.reference!==t.stencilTest.reference||e.stencilTest.mask!==t.stencilTest.mask||e.stencilTest.frontOperation.fail!==t.stencilTest.frontOperation.fail||e.stencilTest.frontOperation.zFail!==t.stencilTest.frontOperation.zFail||e.stencilTest.backOperation.fail!==t.stencilTest.backOperation.fail||e.stencilTest.backOperation.zFail!==t.stencilTest.backOperation.zFail||e.stencilTest.backOperation.zPass!==t.stencilTest.backOperation.zPass)&&n.push(RW),(e.sampleCoverage.enabled!==t.sampleCoverage.enabled||e.sampleCoverage.value!==t.sampleCoverage.value||e.sampleCoverage.invert!==t.sampleCoverage.invert)&&n.push(NW),n}Ze.partialApply=function(e,t,n,i,o,r){if(t!==n){let f=n._applyFunctions[t.id];l(f)||(f=rme(t,n),n._applyFunctions[t.id]=f);const h=f.length;for(let _=0;_0&&console.log(`${Iu}Vertex shader compile log: ${c}`),c=e.getShaderInfoLog(r),l(c)&&c.length>0&&console.log(`${Iu}Fragment shader compile log: ${c}`),c=e.getProgramInfoLog(s),l(c)&&c.length>0&&console.log(`${Iu}Shader program link log: ${c}`)),e.deleteShader(o),e.deleteShader(r),s;let u;const f=t._debugShaders;throw e.getShaderParameter(r,e.COMPILE_STATUS)?e.getShaderParameter(o,e.COMPILE_STATUS)?(c=e.getProgramInfoLog(s),console.error(`${Iu}Shader program link log: ${c}`),h(o,"vertex"),h(r,"fragment"),u=`Program failed to link. Link log: ${c}`):(c=e.getShaderInfoLog(o),console.error(`${Iu}Vertex shader compile log: ${c}`),console.error(`${Iu} Vertex shader source: -${n}`),u=`Vertex shader failed to compile. Compile log: ${c}`):(c=e.getShaderInfoLog(r),console.error(`${Iu}Fragment shader compile log: ${c}`),console.error(`${Iu} Fragment shader source: -${i}`),u=`Fragment shader failed to compile. Compile log: ${c}`),e.deleteShader(o),e.deleteShader(r),e.deleteProgram(s),new De(u);function h(_,g){if(!l(f))return;const p=f.getTranslatedShaderSource(_);if(p===""){console.error(`${Iu}${g} shader translation failed.`);return}console.error(`${Iu}Translated ${g} shaderSource: -${p}`)}}function yme(e,t,n){const i={};for(let o=0;o=0){if(f=n[u.slice(0,p)],!l(f))continue;h=f._locations,h.length<=1&&(_=f.value,g=e.getUniformLocation(t,u),g!==null&&(h.push(g),_.push(e.getUniform(t,g))))}else{h=[];for(let y=0;y0)n=Math.sqrt(f+1),s=.5*n,n=.5/n,i=(e[J.COLUMN1ROW2]-e[J.COLUMN2ROW1])*n,o=(e[J.COLUMN2ROW0]-e[J.COLUMN0ROW2])*n,r=(e[J.COLUMN0ROW1]-e[J.COLUMN1ROW0])*n;else{const h=Dme;let _=0;c>a&&(_=1),u>a&&u>c&&(_=2);const g=h[_],p=h[g];n=Math.sqrt(e[J.getElementIndex(_,_)]-e[J.getElementIndex(g,g)]-e[J.getElementIndex(p,p)]+1);const y=Ime;y[_]=.5*n,n=.5/n,s=(e[J.getElementIndex(p,g)]-e[J.getElementIndex(g,p)])*n,y[g]=(e[J.getElementIndex(g,_)]+e[J.getElementIndex(_,g)])*n,y[p]=(e[J.getElementIndex(p,_)]+e[J.getElementIndex(_,p)])*n,i=-y[0],o=-y[1],r=-y[2]}return l(t)?(t.x=i,t.y=o,t.z=r,t.w=s,t):new Ce(i,o,r,s)};const Bz=new Ce;let Rz=new Ce,VI=new Ce,Nz=new Ce;Ce.fromHeadingPitchRoll=function(e,t){return T.typeOf.object("headingPitchRoll",e),Nz=Ce.fromAxisAngle(d.UNIT_X,e.roll,Bz),VI=Ce.fromAxisAngle(d.UNIT_Y,-e.pitch,t),t=Ce.multiply(VI,Nz,VI),Rz=Ce.fromAxisAngle(d.UNIT_Z,-e.heading,Bz),Ce.multiply(Rz,t,t)};const dE=new d,kI=new d,Rl=new Ce,Mz=new Ce,hE=new Ce;Ce.packedLength=4;Ce.pack=function(e,t,n){return T.typeOf.object("value",e),T.defined("array",t),n=A(n,0),t[n++]=e.x,t[n++]=e.y,t[n++]=e.z,t[n]=e.w,t};Ce.unpack=function(e,t,n){return T.defined("array",e),t=A(t,0),l(n)||(n=new Ce),n.x=e[t],n.y=e[t+1],n.z=e[t+2],n.w=e[t+3],n};Ce.packedInterpolationLength=3;Ce.convertPackedArrayForInterpolation=function(e,t,n,i){Ce.unpack(e,n*4,hE),Ce.conjugate(hE,hE);for(let o=0,r=n-t+1;o=0?r=1:(r=-1,o=-o);const s=o-1,a=1-n,c=n*n,u=a*a;for(let g=7;g>=0;--g)Mf[g]=(bS[g]*c-CS[g])*s,Ff[g]=(bS[g]*u-CS[g])*s;const f=r*n*(1+Mf[0]*(1+Mf[1]*(1+Mf[2]*(1+Mf[3]*(1+Mf[4]*(1+Mf[5]*(1+Mf[6]*(1+Mf[7])))))))),h=a*(1+Ff[0]*(1+Ff[1]*(1+Ff[2]*(1+Ff[3]*(1+Ff[4]*(1+Ff[5]*(1+Ff[6]*(1+Ff[7])))))))),_=Ce.multiplyByScalar(e,h,Lme);return Ce.multiplyByScalar(t,f,i),Ce.add(_,i,i)};Ce.fastSquad=function(e,t,n,i,o,r){T.typeOf.object("q0",e),T.typeOf.object("q1",t),T.typeOf.object("s0",n),T.typeOf.object("s1",i),T.typeOf.number("t",o),T.typeOf.object("result",r);const s=Ce.fastSlerp(e,t,o,bb),a=Ce.fastSlerp(n,i,o,uy);return Ce.fastSlerp(s,a,2*o*(1-o),r)};Ce.equals=function(e,t){return e===t||l(e)&&l(t)&&e.x===t.x&&e.y===t.y&&e.z===t.z&&e.w===t.w};Ce.equalsEpsilon=function(e,t,n){return n=A(n,0),e===t||l(e)&&l(t)&&Math.abs(e.x-t.x)<=n&&Math.abs(e.y-t.y)<=n&&Math.abs(e.z-t.z)<=n&&Math.abs(e.w-t.w)<=n};Ce.ZERO=Object.freeze(new Ce(0,0,0,0));Ce.IDENTITY=Object.freeze(new Ce(0,0,0,1));Ce.prototype.clone=function(e){return Ce.clone(this,e)};Ce.prototype.equals=function(e){return Ce.equals(this,e)};Ce.prototype.equalsEpsilon=function(e,t){return Ce.equalsEpsilon(this,e,t)};Ce.prototype.toString=function(){return`(${this.x}, ${this.y}, ${this.z}, ${this.w})`};function xs(e,t,n){T.defined("array",e),T.defined("itemToFind",t),T.defined("comparator",n);let i=0,o=e.length-1,r,s;for(;i<=o;){if(r=~~((i+o)/2),s=n(e[r],t),s<0){i=r+1;continue}if(s>0){o=r-1;continue}return r}return~(o+1)}function MN(e,t,n,i,o){this.xPoleWander=e,this.yPoleWander=t,this.xPoleOffset=n,this.yPoleOffset=i,this.ut1MinusUtc=o}function jC(e,t,n,i,o,r,s,a){this.year=e,this.month=t,this.day=n,this.hour=i,this.minute=o,this.second=r,this.millisecond=s,this.isLeapSecond=a}function TS(e){if(e===null||isNaN(e))throw new E("year is required and must be a number.");return e%4===0&&e%100!==0||e%400===0}function ki(e,t){this.julianDate=e,this.offset=t}const Bme={SECONDS_PER_MILLISECOND:.001,SECONDS_PER_MINUTE:60,MINUTES_PER_HOUR:60,HOURS_PER_DAY:24,SECONDS_PER_HOUR:3600,MINUTES_PER_DAY:1440,SECONDS_PER_DAY:86400,DAYS_PER_JULIAN_CENTURY:36525,PICOSECOND:1e-9,MODIFIED_JULIAN_DATE_DIFFERENCE:24000005e-1},vi=Object.freeze(Bme),Rme={UTC:0,TAI:1},Vn=Object.freeze(Rme),aj=new jC,pE=[31,28,31,30,31,30,31,31,30,31,30,31],mE=29;function FN(e,t){return ie.compare(e.julianDate,t.julianDate)}const Ky=new ki;function kv(e){Ky.julianDate=e;const t=ie.leapSeconds;let n=xs(t,Ky,FN);n<0&&(n=~n),n>=t.length&&(n=t.length-1);let i=t[n].offset;n>0&&ie.secondsDifference(t[n].julianDate,e)>i&&(n--,i=t[n].offset),ie.addSeconds(e,i,e)}function zz(e,t){Ky.julianDate=e;const n=ie.leapSeconds;let i=xs(n,Ky,FN);if(i<0&&(i=~i),i===0)return ie.addSeconds(e,-n[0].offset,t);if(i>=n.length)return ie.addSeconds(e,-n[i-1].offset,t);const o=ie.secondsDifference(n[i].julianDate,e);if(o===0)return ie.addSeconds(e,-n[i].offset,t);if(!(o<=1))return ie.addSeconds(e,-n[--i].offset,t)}function Up(e,t,n){const i=t/vi.SECONDS_PER_DAY|0;return e+=i,t-=vi.SECONDS_PER_DAY*i,t<0&&(e--,t+=vi.SECONDS_PER_DAY),n.dayNumber=e,n.secondsOfDay=t,n}function zN(e,t,n,i,o,r,s){const a=(t-14)/12|0,c=e+4800+a;let u=(1461*c/4|0)+(367*(t-2-12*a)/12|0)-(3*((c+100)/100|0)/4|0)+n-32075;i=i-12,i<0&&(i+=24);const f=r+(i*vi.SECONDS_PER_HOUR+o*vi.SECONDS_PER_MINUTE+s*vi.SECONDS_PER_MILLISECOND);return f>=43200&&(u-=1),[u,f]}const Nme=/^(\d{4})$/,Mme=/^(\d{4})-(\d{2})$/,Fme=/^(\d{4})-?(\d{3})$/,zme=/^(\d{4})-?W(\d{2})-?(\d{1})?$/,Ume=/^(\d{4})-?(\d{2})-?(\d{2})$/,UN=/([Z+\-])?(\d{2})?:?(\d{2})?$/,Hme=/^(\d{2})(\.\d+)?/.source+UN.source,Vme=/^(\d{2}):?(\d{2})(\.\d+)?/.source+UN.source,kme=/^(\d{2}):?(\d{2}):?(\d{2})(\.\d+)?/.source+UN.source,El="Invalid ISO 8601 date.";function ie(e,t,n){this.dayNumber=void 0,this.secondsOfDay=void 0,e=A(e,0),t=A(t,0),n=A(n,Vn.UTC);const i=e|0;t=t+(e-i)*vi.SECONDS_PER_DAY,Up(i,t,this),n===Vn.UTC&&kv(this)}ie.fromGregorianDate=function(e,t){if(!(e instanceof jC))throw new E("date must be a valid GregorianDate.");const n=zN(e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond);return l(t)?(Up(n[0],n[1],t),kv(t),t):new ie(n[0],n[1],Vn.UTC)};ie.fromDate=function(e,t){if(!(e instanceof Date)||isNaN(e.getTime()))throw new E("date must be a valid JavaScript Date.");const n=zN(e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds());return l(t)?(Up(n[0],n[1],t),kv(t),t):new ie(n[0],n[1],Vn.UTC)};ie.fromIso8601=function(e,t){if(typeof e!="string")throw new E(El);e=e.replace(",",".");let n=e.split("T"),i,o=1,r=1,s=0,a=0,c=0,u=0;const f=n[0],h=n[1];let _,g;if(!l(f))throw new E(El);let p;if(n=f.match(Ume),n!==null){if(p=f.split("-").length-1,p>0&&p!==2)throw new E(El);i=+n[1],o=+n[2],r=+n[3]}else if(n=f.match(Mme),n!==null)i=+n[1],o=+n[2];else if(n=f.match(Nme),n!==null)i=+n[1];else{let x;if(n=f.match(Fme),n!==null){if(i=+n[1],x=+n[2],g=TS(i),x<1||g&&x>366||!g&&x>365)throw new E(El)}else if(n=f.match(zme),n!==null){i=+n[1];const S=+n[2],v=+n[3]||0;if(p=f.split("-").length-1,p>0&&(!l(n[3])&&p!==1||l(n[3])&&p!==2))throw new E(El);const P=new Date(Date.UTC(i,0,4));x=S*7+v-P.getUTCDay()-3}else throw new E(El);_=new Date(Date.UTC(i,0,1)),_.setUTCDate(x),o=_.getUTCMonth()+1,r=_.getUTCDate()}if(g=TS(i),o<1||o>12||r<1||(o!==2||!g)&&r>pE[o-1]||g&&o===2&&r>mE)throw new E(El);let y;if(l(h)){if(n=h.match(kme),n!==null){if(p=h.split(":").length-1,p>0&&p!==2&&p!==3)throw new E(El);s=+n[1],a=+n[2],c=+n[3],u=+(n[4]||0)*1e3,y=5}else if(n=h.match(Vme),n!==null){if(p=h.split(":").length-1,p>2)throw new E(El);s=+n[1],a=+n[2],c=+(n[3]||0)*60,y=4}else if(n=h.match(Hme),n!==null)s=+n[1],a=+(n[2]||0)*60,y=3;else throw new E(El);if(a>=60||c>=61||s>24||s===24&&(a>0||c>0||u>0))throw new E(El);const x=n[y],S=+n[y+1],v=+(n[y+2]||0);switch(x){case"+":s=s-S,a=a-v;break;case"-":s=s+S,a=a+v;break;case"Z":break;default:a=a+new Date(Date.UTC(i,o-1,r,s,a)).getTimezoneOffset();break}}const b=c===60;for(b&&c--;a>=60;)a-=60,s++;for(;s>=24;)s-=24,r++;for(_=g&&o===2?mE:pE[o-1];r>_;)r-=_,o++,o>12&&(o-=12,i++),_=g&&o===2?mE:pE[o-1];for(;a<0;)a+=60,s--;for(;s<0;)s+=24,r--;for(;r<1;)o--,o<1&&(o+=12,i--),_=g&&o===2?mE:pE[o-1],r+=_;const C=zN(i,o,r,s,a,c,u);return l(t)?(Up(C[0],C[1],t),kv(t)):t=new ie(C[0],C[1],Vn.UTC),b&&ie.addSeconds(t,1,t),t};ie.now=function(e){return ie.fromDate(new Date,e)};const _E=new ie(0,0,Vn.TAI);ie.toGregorianDate=function(e,t){if(!l(e))throw new E("julianDate is required.");let n=!1,i=zz(e,_E);l(i)||(ie.addSeconds(e,-1,_E),i=zz(_E,_E),n=!0);let o=i.dayNumber;const r=i.secondsOfDay;r>=43200&&(o+=1);let s=o+68569|0;const a=4*s/146097|0;s=s-((146097*a+3)/4|0)|0;const c=4e3*(s+1)/1461001|0;s=s-(1461*c/4|0)+31|0;const u=80*s/2447|0,f=s-(2447*u/80|0)|0;s=u/11|0;const h=u+2-12*s|0,_=100*(a-49)+c+s|0;let g=r/vi.SECONDS_PER_HOUR|0,p=r-g*vi.SECONDS_PER_HOUR;const y=p/vi.SECONDS_PER_MINUTE|0;p=p-y*vi.SECONDS_PER_MINUTE;let b=p|0;const C=(p-b)/vi.SECONDS_PER_MILLISECOND;return g+=12,g>23&&(g-=24),n&&(b+=1),l(t)?(t.year=_,t.month=h,t.day=f,t.hour=g,t.minute=y,t.second=b,t.millisecond=C,t.isLeapSecond=n,t):new jC(_,h,f,g,y,b,C,n)};ie.toDate=function(e){if(!l(e))throw new E("julianDate is required.");const t=ie.toGregorianDate(e,aj);let n=t.second;return t.isLeapSecond&&(n-=1),new Date(Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,n,t.millisecond))};ie.toIso8601=function(e,t){if(!l(e))throw new E("julianDate is required.");const n=ie.toGregorianDate(e,aj);let i=n.year,o=n.month,r=n.day,s=n.hour;const a=n.minute,c=n.second,u=n.millisecond;i===1e4&&o===1&&r===1&&s===0&&a===0&&c===0&&u===0&&(i=9999,o=12,r=31,s=24);let f;return!l(t)&&u!==0?(f=(u*.01).toString().replace(".",""),`${i.toString().padStart(4,"0")}-${o.toString().padStart(2,"0")}-${r.toString().padStart(2,"0")}T${s.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}:${c.toString().padStart(2,"0")}.${f}Z`):!l(t)||t===0?`${i.toString().padStart(4,"0")}-${o.toString().padStart(2,"0")}-${r.toString().padStart(2,"0")}T${s.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}:${c.toString().padStart(2,"0")}Z`:(f=(u*.01).toFixed(t).replace(".","").slice(0,t),`${i.toString().padStart(4,"0")}-${o.toString().padStart(2,"0")}-${r.toString().padStart(2,"0")}T${s.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}:${c.toString().padStart(2,"0")}.${f}Z`)};ie.clone=function(e,t){if(l(e))return l(t)?(t.dayNumber=e.dayNumber,t.secondsOfDay=e.secondsOfDay,t):new ie(e.dayNumber,e.secondsOfDay,Vn.TAI)};ie.compare=function(e,t){if(!l(e))throw new E("left is required.");if(!l(t))throw new E("right is required.");const n=e.dayNumber-t.dayNumber;return n!==0?n:e.secondsOfDay-t.secondsOfDay};ie.equals=function(e,t){return e===t||l(e)&&l(t)&&e.dayNumber===t.dayNumber&&e.secondsOfDay===t.secondsOfDay};ie.equalsEpsilon=function(e,t,n){return n=A(n,0),e===t||l(e)&&l(t)&&Math.abs(ie.secondsDifference(e,t))<=n};ie.totalDays=function(e){if(!l(e))throw new E("julianDate is required.");return e.dayNumber+e.secondsOfDay/vi.SECONDS_PER_DAY};ie.secondsDifference=function(e,t){if(!l(e))throw new E("left is required.");if(!l(t))throw new E("right is required.");return(e.dayNumber-t.dayNumber)*vi.SECONDS_PER_DAY+(e.secondsOfDay-t.secondsOfDay)};ie.daysDifference=function(e,t){if(!l(e))throw new E("left is required.");if(!l(t))throw new E("right is required.");const n=e.dayNumber-t.dayNumber,i=(e.secondsOfDay-t.secondsOfDay)/vi.SECONDS_PER_DAY;return n+i};ie.computeTaiMinusUtc=function(e){Ky.julianDate=e;const t=ie.leapSeconds;let n=xs(t,Ky,FN);return n<0&&(n=~n,--n,n<0&&(n=0)),t[n].offset};ie.addSeconds=function(e,t,n){if(!l(e))throw new E("julianDate is required.");if(!l(t))throw new E("seconds is required.");if(!l(n))throw new E("result is required.");return Up(e.dayNumber,e.secondsOfDay+t,n)};ie.addMinutes=function(e,t,n){if(!l(e))throw new E("julianDate is required.");if(!l(t))throw new E("minutes is required.");if(!l(n))throw new E("result is required.");const i=e.secondsOfDay+t*vi.SECONDS_PER_MINUTE;return Up(e.dayNumber,i,n)};ie.addHours=function(e,t,n){if(!l(e))throw new E("julianDate is required.");if(!l(t))throw new E("hours is required.");if(!l(n))throw new E("result is required.");const i=e.secondsOfDay+t*vi.SECONDS_PER_HOUR;return Up(e.dayNumber,i,n)};ie.addDays=function(e,t,n){if(!l(e))throw new E("julianDate is required.");if(!l(t))throw new E("days is required.");if(!l(n))throw new E("result is required.");const i=e.dayNumber+t;return Up(i,e.secondsOfDay,n)};ie.lessThan=function(e,t){return ie.compare(e,t)<0};ie.lessThanOrEquals=function(e,t){return ie.compare(e,t)<=0};ie.greaterThan=function(e,t){return ie.compare(e,t)>0};ie.greaterThanOrEquals=function(e,t){return ie.compare(e,t)>=0};ie.prototype.clone=function(e){return ie.clone(this,e)};ie.prototype.equals=function(e){return ie.equals(this,e)};ie.prototype.equalsEpsilon=function(e,t){return ie.equalsEpsilon(this,e,t)};ie.prototype.toString=function(){return ie.toIso8601(this)};ie.leapSeconds=[new ki(new ie(2441317,43210,Vn.TAI),10),new ki(new ie(2441499,43211,Vn.TAI),11),new ki(new ie(2441683,43212,Vn.TAI),12),new ki(new ie(2442048,43213,Vn.TAI),13),new ki(new ie(2442413,43214,Vn.TAI),14),new ki(new ie(2442778,43215,Vn.TAI),15),new ki(new ie(2443144,43216,Vn.TAI),16),new ki(new ie(2443509,43217,Vn.TAI),17),new ki(new ie(2443874,43218,Vn.TAI),18),new ki(new ie(2444239,43219,Vn.TAI),19),new ki(new ie(2444786,43220,Vn.TAI),20),new ki(new ie(2445151,43221,Vn.TAI),21),new ki(new ie(2445516,43222,Vn.TAI),22),new ki(new ie(2446247,43223,Vn.TAI),23),new ki(new ie(2447161,43224,Vn.TAI),24),new ki(new ie(2447892,43225,Vn.TAI),25),new ki(new ie(2448257,43226,Vn.TAI),26),new ki(new ie(2448804,43227,Vn.TAI),27),new ki(new ie(2449169,43228,Vn.TAI),28),new ki(new ie(2449534,43229,Vn.TAI),29),new ki(new ie(2450083,43230,Vn.TAI),30),new ki(new ie(2450630,43231,Vn.TAI),31),new ki(new ie(2451179,43232,Vn.TAI),32),new ki(new ie(2453736,43233,Vn.TAI),33),new ki(new ie(2454832,43234,Vn.TAI),34),new ki(new ie(2456109,43235,Vn.TAI),35),new ki(new ie(2457204,43236,Vn.TAI),36),new ki(new ie(2457754,43237,Vn.TAI),37)];const Gme="modulepreload",Wme=function(e){return"/satellite-track/"+e},Uz={},gE=function(t,n,i){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=Wme(r),r in Uz)return;Uz[r]=!0;const s=r.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(!!i)for(let f=o.length-1;f>=0;f--){const h=o[f];if(h.href===r&&(!s||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const u=document.createElement("link");if(u.rel=s?"stylesheet":Gme,s||(u.as="script",u.crossOrigin=""),u.href=r,document.head.appendChild(u),s)return new Promise((f,h)=>{u.addEventListener("load",f),u.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};var GL={},jme={get exports(){return GL},set exports(e){GL=e}},Cb={},qme={get exports(){return Cb},set exports(e){Cb=e}};/*! https://mths.be/punycode v1.4.0 by @mathias */var Hz;function Yme(){return Hz||(Hz=1,function(e,t){(function(n){var i=t&&!t.nodeType&&t,o=e&&!e.nodeType&&e,r=typeof Ty=="object"&&Ty;(r.global===r||r.window===r||r.self===r)&&(n=r);var s,a=2147483647,c=36,u=1,f=26,h=38,_=700,g=72,p=128,y="-",b=/^xn--/,C=/[^\x20-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,S={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=c-u,P=Math.floor,L=String.fromCharCode,z;function R(W){throw new RangeError(S[W])}function F(W,K){for(var q=W.length,te=[];q--;)te[q]=K(W[q]);return te}function H(W,K){var q=W.split("@"),te="";q.length>1&&(te=q[0]+"@",W=q[1]),W=W.replace(x,".");var $=W.split("."),X=F($,K).join(".");return te+X}function w(W){for(var K=[],q=0,te=W.length,$,X;q=55296&&$<=56319&&q65535&&(K-=65536,q+=L(K>>>10&1023|55296),K=56320|K&1023),q+=L(K),q}).join("")}function m(W){return W-48<10?W-22:W-65<26?W-65:W-97<26?W-97:c}function D(W,K){return W+22+75*(W<26)-((K!=0)<<5)}function O(W,K,q){var te=0;for(W=q?P(W/_):W>>1,W+=P(W/K);W>v*f>>1;te+=c)W=P(W/v);return P(te+(v+1)*W/(W+h))}function M(W){var K=[],q=W.length,te,$=0,X=p,Y=g,se,ue,re,he,ce,Q,ne,fe,me;for(se=W.lastIndexOf(y),se<0&&(se=0),ue=0;ue=128&&R("not-basic"),K.push(W.charCodeAt(ue));for(re=se>0?se+1:0;re=q&&R("invalid-input"),ne=m(W.charCodeAt(re++)),(ne>=c||ne>P((a-$)/ce))&&R("overflow"),$+=ne*ce,fe=Q<=Y?u:Q>=Y+f?f:Q-Y,!(neP(a/me)&&R("overflow"),ce*=me;te=K.length+1,Y=O($-he,te,he==0),P($/te)>a-X&&R("overflow"),X+=P($/te),$%=te,K.splice($++,0,X)}return I(K)}function V(W){var K,q,te,$,X,Y,se,ue,re,he,ce,Q=[],ne,fe,me,we;for(W=w(W),ne=W.length,K=p,q=0,X=g,Y=0;Y=K&&ceP((a-q)/fe)&&R("overflow"),q+=(se-K)*fe,K=se,Y=0;Ya&&R("overflow"),ce==K){for(ue=q,re=c;he=re<=X?u:re>=X+f?f:re-X,!(uei)throw new x("The number of color attachments exceeds the number supported.");for(c=0;ci)throw new x("The number of color attachments exceeds the number supported.");for(c=0;c=this._colorTextures.length)throw new x("index is required, must be greater than or equal to zero and must be less than the number of color attachments.");return this._colorTextures[e]};$r.prototype.getColorRenderbuffer=function(e){if(!l(e)||e<0||e>=this._colorRenderbuffers.length)throw new x("index is required, must be greater than or equal to zero and must be less than the number of color attachments.");return this._colorRenderbuffers[e]};$r.prototype.isDestroyed=function(){return!1};$r.prototype.destroy=function(){if(this.destroyAttachments){let e=0;const t=this._colorTextures;let n=t.length;for(;eDt.maximumAliasedLineWidth)throw new x("renderState.lineWidth is out of range. Check minimumAliasedLineWidth and maximumAliasedLineWidth.");if(!fl.validate(this.frontFace))throw new x("Invalid renderState.frontFace.");if(!z_e(this.cull.face))throw new x("Invalid renderState.cull.face.");if(this.scissorTest.rectangle.width<0||this.scissorTest.rectangle.height<0)throw new x("renderState.scissorTest.rectangle.width and renderState.scissorTest.rectangle.height must be greater than or equal to zero.");if(this.depthRange.near>this.depthRange.far)throw new x("renderState.depthRange.near can not be greater than renderState.depthRange.far.");if(this.depthRange.near<0)throw new x("renderState.depthRange.near must be greater than or equal to zero.");if(this.depthRange.far>1)throw new x("renderState.depthRange.far must be less than or equal to one.");if(!U_e(this.depthTest.func))throw new x("Invalid renderState.depthTest.func.");if(this.blending.color.red<0||this.blending.color.red>1||this.blending.color.green<0||this.blending.color.green>1||this.blending.color.blue<0||this.blending.color.blue>1||this.blending.color.alpha<0||this.blending.color.alpha>1)throw new x("renderState.blending.color components must be greater than or equal to zero and less than or equal to one.");if(!Vz(this.blending.equationRgb))throw new x("Invalid renderState.blending.equationRgb.");if(!Vz(this.blending.equationAlpha))throw new x("Invalid renderState.blending.equationAlpha.");if(!AE(this.blending.functionSourceRgb))throw new x("Invalid renderState.blending.functionSourceRgb.");if(!AE(this.blending.functionSourceAlpha))throw new x("Invalid renderState.blending.functionSourceAlpha.");if(!AE(this.blending.functionDestinationRgb))throw new x("Invalid renderState.blending.functionDestinationRgb.");if(!AE(this.blending.functionDestinationAlpha))throw new x("Invalid renderState.blending.functionDestinationAlpha.");if(!kz(this.stencilTest.frontFunction))throw new x("Invalid renderState.stencilTest.frontFunction.");if(!kz(this.stencilTest.backFunction))throw new x("Invalid renderState.stencilTest.backFunction.");if(!Ag(this.stencilTest.frontOperation.fail))throw new x("Invalid renderState.stencilTest.frontOperation.fail.");if(!Ag(this.stencilTest.frontOperation.zFail))throw new x("Invalid renderState.stencilTest.frontOperation.zFail.");if(!Ag(this.stencilTest.frontOperation.zPass))throw new x("Invalid renderState.stencilTest.frontOperation.zPass.");if(!Ag(this.stencilTest.backOperation.fail))throw new x("Invalid renderState.stencilTest.backOperation.fail.");if(!Ag(this.stencilTest.backOperation.zFail))throw new x("Invalid renderState.stencilTest.backOperation.zFail.");if(!Ag(this.stencilTest.backOperation.zPass))throw new x("Invalid renderState.stencilTest.backOperation.zPass.");if(l(this.viewport)){if(this.viewport.width<0)throw new x("renderState.viewport.width must be greater than or equal to zero.");if(this.viewport.height<0)throw new x("renderState.viewport.height must be greater than or equal to zero.");if(this.viewport.width>Dt.maximumViewportWidth)throw new x(`renderState.viewport.width must be less than or equal to the maximum viewport width (${Dt.maximumViewportWidth.toString()}). Check maximumViewportWidth.`);if(this.viewport.height>Dt.maximumViewportHeight)throw new x(`renderState.viewport.height must be less than or equal to the maximum viewport height (${Dt.maximumViewportHeight.toString()}). Check maximumViewportHeight.`)}this.id=0,this._applyFunctions=[]}let H_e=0,Ku={};Ze.fromCache=function(e){const t=JSON.stringify(e);let n=Ku[t];if(l(n))return++n.referenceCount,n.state;let i=new Ze(e);const o=JSON.stringify(i);return n=Ku[o],l(n)||(i.id=H_e++,i=jW(i),n={referenceCount:0,state:i},Ku[o]=n),++n.referenceCount,Ku[t]={referenceCount:1,state:n.state},n.state};Ze.removeFromCache=function(e){const t=new Ze(e),n=JSON.stringify(t),i=Ku[n],o=JSON.stringify(e),r=Ku[o];l(r)&&(--r.referenceCount,r.referenceCount===0&&(delete Ku[o],l(i)&&--i.referenceCount)),l(i)&&i.referenceCount===0&&delete Ku[n]};Ze.getCache=function(){return Ku};Ze.clearCache=function(){Ku={}};function H_(e,t,n){n?e.enable(t):e.disable(t)}function qW(e,t){e.frontFace(t.frontFace)}function $W(e,t){const n=t.cull,i=n.enabled;H_(e,e.CULL_FACE,i),i&&e.cullFace(n.face)}function YW(e,t){e.lineWidth(t.lineWidth)}function XW(e,t){const n=t.polygonOffset,i=n.enabled;H_(e,e.POLYGON_OFFSET_FILL,i),i&&e.polygonOffset(n.factor,n.units)}function KW(e,t,n){const i=t.scissorTest,o=l(n.scissorTest)?n.scissorTest.enabled:i.enabled;if(H_(e,e.SCISSOR_TEST,o),o){const r=l(n.scissorTest)?n.scissorTest.rectangle:i.rectangle;e.scissor(r.x,r.y,r.width,r.height)}}function JW(e,t){const n=t.depthRange;e.depthRange(n.near,n.far)}function QW(e,t){const n=t.depthTest,i=n.enabled;H_(e,e.DEPTH_TEST,i),i&&e.depthFunc(n.func)}function ZW(e,t){const n=t.colorMask;e.colorMask(n.red,n.green,n.blue,n.alpha)}function ej(e,t){e.depthMask(t.depthMask)}function tj(e,t){e.stencilMask(t.stencilMask)}function V_e(e,t){e.blendColor(t.red,t.green,t.blue,t.alpha)}function nj(e,t,n){const i=t.blending,o=l(n.blendingEnabled)?n.blendingEnabled:i.enabled;H_(e,e.BLEND,o),o&&(V_e(e,i.color),e.blendEquationSeparate(i.equationRgb,i.equationAlpha),e.blendFuncSeparate(i.functionSourceRgb,i.functionDestinationRgb,i.functionSourceAlpha,i.functionDestinationAlpha))}function ij(e,t){const n=t.stencilTest,i=n.enabled;if(H_(e,e.STENCIL_TEST,i),i){const o=n.frontFunction,r=n.backFunction,s=n.reference,a=n.mask;e.stencilFunc(o,s,a),e.stencilFuncSeparate(e.BACK,r,s,a),e.stencilFuncSeparate(e.FRONT,o,s,a);const c=n.frontOperation,u=c.fail,f=c.zFail,h=c.zPass;e.stencilOpSeparate(e.FRONT,u,f,h);const m=n.backOperation,g=m.fail,p=m.zFail,y=m.zPass;e.stencilOpSeparate(e.BACK,g,p,y)}}function oj(e,t){const n=t.sampleCoverage,i=n.enabled;H_(e,e.SAMPLE_COVERAGE,i),i&&e.sampleCoverage(n.value,n.invert)}const k_e=new $e;function rj(e,t,n){let i=A(t.viewport,n.viewport);l(i)||(i=k_e,i.width=n.context.drawingBufferWidth,i.height=n.context.drawingBufferHeight),n.context.uniformState.viewport=i,e.viewport(i.x,i.y,i.width,i.height)}Ze.apply=function(e,t,n){qW(e,t),$W(e,t),YW(e,t),XW(e,t),JW(e,t),QW(e,t),ZW(e,t),ej(e,t),tj(e,t),ij(e,t),oj(e,t),KW(e,t,n),nj(e,t,n),rj(e,t,n)};function G_e(e,t){const n=[];return e.frontFace!==t.frontFace&&n.push(qW),(e.cull.enabled!==t.cull.enabled||e.cull.face!==t.cull.face)&&n.push($W),e.lineWidth!==t.lineWidth&&n.push(YW),(e.polygonOffset.enabled!==t.polygonOffset.enabled||e.polygonOffset.factor!==t.polygonOffset.factor||e.polygonOffset.units!==t.polygonOffset.units)&&n.push(XW),(e.depthRange.near!==t.depthRange.near||e.depthRange.far!==t.depthRange.far)&&n.push(JW),(e.depthTest.enabled!==t.depthTest.enabled||e.depthTest.func!==t.depthTest.func)&&n.push(QW),(e.colorMask.red!==t.colorMask.red||e.colorMask.green!==t.colorMask.green||e.colorMask.blue!==t.colorMask.blue||e.colorMask.alpha!==t.colorMask.alpha)&&n.push(ZW),e.depthMask!==t.depthMask&&n.push(ej),e.stencilMask!==t.stencilMask&&n.push(tj),(e.stencilTest.enabled!==t.stencilTest.enabled||e.stencilTest.frontFunction!==t.stencilTest.frontFunction||e.stencilTest.backFunction!==t.stencilTest.backFunction||e.stencilTest.reference!==t.stencilTest.reference||e.stencilTest.mask!==t.stencilTest.mask||e.stencilTest.frontOperation.fail!==t.stencilTest.frontOperation.fail||e.stencilTest.frontOperation.zFail!==t.stencilTest.frontOperation.zFail||e.stencilTest.backOperation.fail!==t.stencilTest.backOperation.fail||e.stencilTest.backOperation.zFail!==t.stencilTest.backOperation.zFail||e.stencilTest.backOperation.zPass!==t.stencilTest.backOperation.zPass)&&n.push(ij),(e.sampleCoverage.enabled!==t.sampleCoverage.enabled||e.sampleCoverage.value!==t.sampleCoverage.value||e.sampleCoverage.invert!==t.sampleCoverage.invert)&&n.push(oj),n}Ze.partialApply=function(e,t,n,i,o,r){if(t!==n){let f=n._applyFunctions[t.id];l(f)||(f=G_e(t,n),n._applyFunctions[t.id]=f);const h=f.length;for(let m=0;m0&&console.log(`${Bu}Vertex shader compile log: ${c}`),c=e.getShaderInfoLog(r),l(c)&&c.length>0&&console.log(`${Bu}Fragment shader compile log: ${c}`),c=e.getProgramInfoLog(s),l(c)&&c.length>0&&console.log(`${Bu}Shader program link log: ${c}`)),e.deleteShader(o),e.deleteShader(r),s;let u;const f=t._debugShaders;throw e.getShaderParameter(r,e.COMPILE_STATUS)?e.getShaderParameter(o,e.COMPILE_STATUS)?(c=e.getProgramInfoLog(s),console.error(`${Bu}Shader program link log: ${c}`),h(o,"vertex"),h(r,"fragment"),u=`Program failed to link. Link log: ${c}`):(c=e.getShaderInfoLog(o),console.error(`${Bu}Vertex shader compile log: ${c}`),console.error(`${Bu} Vertex shader source: +${n}`),u=`Vertex shader failed to compile. Compile log: ${c}`):(c=e.getShaderInfoLog(r),console.error(`${Bu}Fragment shader compile log: ${c}`),console.error(`${Bu} Fragment shader source: +${i}`),u=`Fragment shader failed to compile. Compile log: ${c}`),e.deleteShader(o),e.deleteShader(r),e.deleteProgram(s),new Ie(u);function h(m,g){if(!l(f))return;const p=f.getTranslatedShaderSource(m);if(p===""){console.error(`${Bu}${g} shader translation failed.`);return}console.error(`${Bu}Translated ${g} shaderSource: +${p}`)}}function nge(e,t,n){const i={};for(let o=0;o=0){if(f=n[u.slice(0,p)],!l(f))continue;h=f._locations,h.length<=1&&(m=f.value,g=e.getUniformLocation(t,u),g!==null&&(h.push(g),m.push(e.getUniform(t,g))))}else{h=[];for(let y=0;y0)n=Math.sqrt(f+1),s=.5*n,n=.5/n,i=(e[J.COLUMN1ROW2]-e[J.COLUMN2ROW1])*n,o=(e[J.COLUMN2ROW0]-e[J.COLUMN0ROW2])*n,r=(e[J.COLUMN0ROW1]-e[J.COLUMN1ROW0])*n;else{const h=dge;let m=0;c>a&&(m=1),u>a&&u>c&&(m=2);const g=h[m],p=h[g];n=Math.sqrt(e[J.getElementIndex(m,m)]-e[J.getElementIndex(g,g)]-e[J.getElementIndex(p,p)]+1);const y=hge;y[m]=.5*n,n=.5/n,s=(e[J.getElementIndex(p,g)]-e[J.getElementIndex(g,p)])*n,y[g]=(e[J.getElementIndex(g,m)]+e[J.getElementIndex(m,g)])*n,y[p]=(e[J.getElementIndex(p,m)]+e[J.getElementIndex(m,p)])*n,i=-y[0],o=-y[1],r=-y[2]}return l(t)?(t.x=i,t.y=o,t.z=r,t.w=s,t):new Te(i,o,r,s)};const $z=new Te;let Yz=new Te,YI=new Te,Xz=new Te;Te.fromHeadingPitchRoll=function(e,t){return T.typeOf.object("headingPitchRoll",e),Xz=Te.fromAxisAngle(d.UNIT_X,e.roll,$z),YI=Te.fromAxisAngle(d.UNIT_Y,-e.pitch,t),t=Te.multiply(YI,Xz,YI),Yz=Te.fromAxisAngle(d.UNIT_Z,-e.heading,$z),Te.multiply(Yz,t,t)};const bE=new d,XI=new d,Ul=new Te,Kz=new Te,CE=new Te;Te.packedLength=4;Te.pack=function(e,t,n){return T.typeOf.object("value",e),T.defined("array",t),n=A(n,0),t[n++]=e.x,t[n++]=e.y,t[n++]=e.z,t[n]=e.w,t};Te.unpack=function(e,t,n){return T.defined("array",e),t=A(t,0),l(n)||(n=new Te),n.x=e[t],n.y=e[t+1],n.z=e[t+2],n.w=e[t+3],n};Te.packedInterpolationLength=3;Te.convertPackedArrayForInterpolation=function(e,t,n,i){Te.unpack(e,n*4,CE),Te.conjugate(CE,CE);for(let o=0,r=n-t+1;o=0?r=1:(r=-1,o=-o);const s=o-1,a=1-n,c=n*n,u=a*a;for(let g=7;g>=0;--g)zf[g]=(SS[g]*c-vS[g])*s,Uf[g]=(SS[g]*u-vS[g])*s;const f=r*n*(1+zf[0]*(1+zf[1]*(1+zf[2]*(1+zf[3]*(1+zf[4]*(1+zf[5]*(1+zf[6]*(1+zf[7])))))))),h=a*(1+Uf[0]*(1+Uf[1]*(1+Uf[2]*(1+Uf[3]*(1+Uf[4]*(1+Uf[5]*(1+Uf[6]*(1+Uf[7])))))))),m=Te.multiplyByScalar(e,h,_ge);return Te.multiplyByScalar(t,f,i),Te.add(m,i,i)};Te.fastSquad=function(e,t,n,i,o,r){T.typeOf.object("q0",e),T.typeOf.object("q1",t),T.typeOf.object("s0",n),T.typeOf.object("s1",i),T.typeOf.number("t",o),T.typeOf.object("result",r);const s=Te.fastSlerp(e,t,o,Sb),a=Te.fastSlerp(n,i,o,my);return Te.fastSlerp(s,a,2*o*(1-o),r)};Te.equals=function(e,t){return e===t||l(e)&&l(t)&&e.x===t.x&&e.y===t.y&&e.z===t.z&&e.w===t.w};Te.equalsEpsilon=function(e,t,n){return n=A(n,0),e===t||l(e)&&l(t)&&Math.abs(e.x-t.x)<=n&&Math.abs(e.y-t.y)<=n&&Math.abs(e.z-t.z)<=n&&Math.abs(e.w-t.w)<=n};Te.ZERO=Object.freeze(new Te(0,0,0,0));Te.IDENTITY=Object.freeze(new Te(0,0,0,1));Te.prototype.clone=function(e){return Te.clone(this,e)};Te.prototype.equals=function(e){return Te.equals(this,e)};Te.prototype.equalsEpsilon=function(e,t){return Te.equalsEpsilon(this,e,t)};Te.prototype.toString=function(){return`(${this.x}, ${this.y}, ${this.z}, ${this.w})`};function Is(e,t,n){T.defined("array",e),T.defined("itemToFind",t),T.defined("comparator",n);let i=0,o=e.length-1,r,s;for(;i<=o;){if(r=~~((i+o)/2),s=n(e[r],t),s<0){i=r+1;continue}if(s>0){o=r-1;continue}return r}return~(o+1)}function jN(e,t,n,i,o){this.xPoleWander=e,this.yPoleWander=t,this.xPoleOffset=n,this.yPoleOffset=i,this.ut1MinusUtc=o}function ZC(e,t,n,i,o,r,s,a){this.year=e,this.month=t,this.day=n,this.hour=i,this.minute=o,this.second=r,this.millisecond=s,this.isLeapSecond=a}function DS(e){if(e===null||isNaN(e))throw new x("year is required and must be a number.");return e%4===0&&e%100!==0||e%400===0}function $i(e,t){this.julianDate=e,this.offset=t}const gge={SECONDS_PER_MILLISECOND:.001,SECONDS_PER_MINUTE:60,MINUTES_PER_HOUR:60,HOURS_PER_DAY:24,SECONDS_PER_HOUR:3600,MINUTES_PER_DAY:1440,SECONDS_PER_DAY:86400,DAYS_PER_JULIAN_CENTURY:36525,PICOSECOND:1e-9,MODIFIED_JULIAN_DATE_DIFFERENCE:24000005e-1},Ri=Object.freeze(gge),yge={UTC:0,TAI:1},qn=Object.freeze(yge),Pj=new ZC,TE=[31,28,31,30,31,30,31,31,30,31,30,31],EE=29;function qN(e,t){return ie.compare(e.julianDate,t.julianDate)}const t0=new $i;function Xv(e){t0.julianDate=e;const t=ie.leapSeconds;let n=Is(t,t0,qN);n<0&&(n=~n),n>=t.length&&(n=t.length-1);let i=t[n].offset;n>0&&ie.secondsDifference(t[n].julianDate,e)>i&&(n--,i=t[n].offset),ie.addSeconds(e,i,e)}function Qz(e,t){t0.julianDate=e;const n=ie.leapSeconds;let i=Is(n,t0,qN);if(i<0&&(i=~i),i===0)return ie.addSeconds(e,-n[0].offset,t);if(i>=n.length)return ie.addSeconds(e,-n[i-1].offset,t);const o=ie.secondsDifference(n[i].julianDate,e);if(o===0)return ie.addSeconds(e,-n[i].offset,t);if(!(o<=1))return ie.addSeconds(e,-n[--i].offset,t)}function Wp(e,t,n){const i=t/Ri.SECONDS_PER_DAY|0;return e+=i,t-=Ri.SECONDS_PER_DAY*i,t<0&&(e--,t+=Ri.SECONDS_PER_DAY),n.dayNumber=e,n.secondsOfDay=t,n}function $N(e,t,n,i,o,r,s){const a=(t-14)/12|0,c=e+4800+a;let u=(1461*c/4|0)+(367*(t-2-12*a)/12|0)-(3*((c+100)/100|0)/4|0)+n-32075;i=i-12,i<0&&(i+=24);const f=r+(i*Ri.SECONDS_PER_HOUR+o*Ri.SECONDS_PER_MINUTE+s*Ri.SECONDS_PER_MILLISECOND);return f>=43200&&(u-=1),[u,f]}const Age=/^(\d{4})$/,bge=/^(\d{4})-(\d{2})$/,Cge=/^(\d{4})-?(\d{3})$/,Tge=/^(\d{4})-?W(\d{2})-?(\d{1})?$/,Ege=/^(\d{4})-?(\d{2})-?(\d{2})$/,YN=/([Z+\-])?(\d{2})?:?(\d{2})?$/,xge=/^(\d{2})(\.\d+)?/.source+YN.source,wge=/^(\d{2}):?(\d{2})(\.\d+)?/.source+YN.source,Sge=/^(\d{2}):?(\d{2}):?(\d{2})(\.\d+)?/.source+YN.source,Dl="Invalid ISO 8601 date.";function ie(e,t,n){this.dayNumber=void 0,this.secondsOfDay=void 0,e=A(e,0),t=A(t,0),n=A(n,qn.UTC);const i=e|0;t=t+(e-i)*Ri.SECONDS_PER_DAY,Wp(i,t,this),n===qn.UTC&&Xv(this)}ie.fromGregorianDate=function(e,t){if(!(e instanceof ZC))throw new x("date must be a valid GregorianDate.");const n=$N(e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond);return l(t)?(Wp(n[0],n[1],t),Xv(t),t):new ie(n[0],n[1],qn.UTC)};ie.fromDate=function(e,t){if(!(e instanceof Date)||isNaN(e.getTime()))throw new x("date must be a valid JavaScript Date.");const n=$N(e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds());return l(t)?(Wp(n[0],n[1],t),Xv(t),t):new ie(n[0],n[1],qn.UTC)};ie.fromIso8601=function(e,t){if(typeof e!="string")throw new x(Dl);e=e.replace(",",".");let n=e.split("T"),i,o=1,r=1,s=0,a=0,c=0,u=0;const f=n[0],h=n[1];let m,g;if(!l(f))throw new x(Dl);let p;if(n=f.match(Ege),n!==null){if(p=f.split("-").length-1,p>0&&p!==2)throw new x(Dl);i=+n[1],o=+n[2],r=+n[3]}else if(n=f.match(bge),n!==null)i=+n[1],o=+n[2];else if(n=f.match(Age),n!==null)i=+n[1];else{let E;if(n=f.match(Cge),n!==null){if(i=+n[1],E=+n[2],g=DS(i),E<1||g&&E>366||!g&&E>365)throw new x(Dl)}else if(n=f.match(Tge),n!==null){i=+n[1];const w=+n[2],S=+n[3]||0;if(p=f.split("-").length-1,p>0&&(!l(n[3])&&p!==1||l(n[3])&&p!==2))throw new x(Dl);const P=new Date(Date.UTC(i,0,4));E=w*7+S-P.getUTCDay()-3}else throw new x(Dl);m=new Date(Date.UTC(i,0,1)),m.setUTCDate(E),o=m.getUTCMonth()+1,r=m.getUTCDate()}if(g=DS(i),o<1||o>12||r<1||(o!==2||!g)&&r>TE[o-1]||g&&o===2&&r>EE)throw new x(Dl);let y;if(l(h)){if(n=h.match(Sge),n!==null){if(p=h.split(":").length-1,p>0&&p!==2&&p!==3)throw new x(Dl);s=+n[1],a=+n[2],c=+n[3],u=+(n[4]||0)*1e3,y=5}else if(n=h.match(wge),n!==null){if(p=h.split(":").length-1,p>2)throw new x(Dl);s=+n[1],a=+n[2],c=+(n[3]||0)*60,y=4}else if(n=h.match(xge),n!==null)s=+n[1],a=+(n[2]||0)*60,y=3;else throw new x(Dl);if(a>=60||c>=61||s>24||s===24&&(a>0||c>0||u>0))throw new x(Dl);const E=n[y],w=+n[y+1],S=+(n[y+2]||0);switch(E){case"+":s=s-w,a=a-S;break;case"-":s=s+w,a=a+S;break;case"Z":break;default:a=a+new Date(Date.UTC(i,o-1,r,s,a)).getTimezoneOffset();break}}const b=c===60;for(b&&c--;a>=60;)a-=60,s++;for(;s>=24;)s-=24,r++;for(m=g&&o===2?EE:TE[o-1];r>m;)r-=m,o++,o>12&&(o-=12,i++),m=g&&o===2?EE:TE[o-1];for(;a<0;)a+=60,s--;for(;s<0;)s+=24,r--;for(;r<1;)o--,o<1&&(o+=12,i--),m=g&&o===2?EE:TE[o-1],r+=m;const C=$N(i,o,r,s,a,c,u);return l(t)?(Wp(C[0],C[1],t),Xv(t)):t=new ie(C[0],C[1],qn.UTC),b&&ie.addSeconds(t,1,t),t};ie.now=function(e){return ie.fromDate(new Date,e)};const xE=new ie(0,0,qn.TAI);ie.toGregorianDate=function(e,t){if(!l(e))throw new x("julianDate is required.");let n=!1,i=Qz(e,xE);l(i)||(ie.addSeconds(e,-1,xE),i=Qz(xE,xE),n=!0);let o=i.dayNumber;const r=i.secondsOfDay;r>=43200&&(o+=1);let s=o+68569|0;const a=4*s/146097|0;s=s-((146097*a+3)/4|0)|0;const c=4e3*(s+1)/1461001|0;s=s-(1461*c/4|0)+31|0;const u=80*s/2447|0,f=s-(2447*u/80|0)|0;s=u/11|0;const h=u+2-12*s|0,m=100*(a-49)+c+s|0;let g=r/Ri.SECONDS_PER_HOUR|0,p=r-g*Ri.SECONDS_PER_HOUR;const y=p/Ri.SECONDS_PER_MINUTE|0;p=p-y*Ri.SECONDS_PER_MINUTE;let b=p|0;const C=(p-b)/Ri.SECONDS_PER_MILLISECOND;return g+=12,g>23&&(g-=24),n&&(b+=1),l(t)?(t.year=m,t.month=h,t.day=f,t.hour=g,t.minute=y,t.second=b,t.millisecond=C,t.isLeapSecond=n,t):new ZC(m,h,f,g,y,b,C,n)};ie.toDate=function(e){if(!l(e))throw new x("julianDate is required.");const t=ie.toGregorianDate(e,Pj);let n=t.second;return t.isLeapSecond&&(n-=1),new Date(Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,n,t.millisecond))};ie.toIso8601=function(e,t){if(!l(e))throw new x("julianDate is required.");const n=ie.toGregorianDate(e,Pj);let i=n.year,o=n.month,r=n.day,s=n.hour;const a=n.minute,c=n.second,u=n.millisecond;i===1e4&&o===1&&r===1&&s===0&&a===0&&c===0&&u===0&&(i=9999,o=12,r=31,s=24);let f;return!l(t)&&u!==0?(f=(u*.01).toString().replace(".",""),`${i.toString().padStart(4,"0")}-${o.toString().padStart(2,"0")}-${r.toString().padStart(2,"0")}T${s.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}:${c.toString().padStart(2,"0")}.${f}Z`):!l(t)||t===0?`${i.toString().padStart(4,"0")}-${o.toString().padStart(2,"0")}-${r.toString().padStart(2,"0")}T${s.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}:${c.toString().padStart(2,"0")}Z`:(f=(u*.01).toFixed(t).replace(".","").slice(0,t),`${i.toString().padStart(4,"0")}-${o.toString().padStart(2,"0")}-${r.toString().padStart(2,"0")}T${s.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}:${c.toString().padStart(2,"0")}.${f}Z`)};ie.clone=function(e,t){if(l(e))return l(t)?(t.dayNumber=e.dayNumber,t.secondsOfDay=e.secondsOfDay,t):new ie(e.dayNumber,e.secondsOfDay,qn.TAI)};ie.compare=function(e,t){if(!l(e))throw new x("left is required.");if(!l(t))throw new x("right is required.");const n=e.dayNumber-t.dayNumber;return n!==0?n:e.secondsOfDay-t.secondsOfDay};ie.equals=function(e,t){return e===t||l(e)&&l(t)&&e.dayNumber===t.dayNumber&&e.secondsOfDay===t.secondsOfDay};ie.equalsEpsilon=function(e,t,n){return n=A(n,0),e===t||l(e)&&l(t)&&Math.abs(ie.secondsDifference(e,t))<=n};ie.totalDays=function(e){if(!l(e))throw new x("julianDate is required.");return e.dayNumber+e.secondsOfDay/Ri.SECONDS_PER_DAY};ie.secondsDifference=function(e,t){if(!l(e))throw new x("left is required.");if(!l(t))throw new x("right is required.");return(e.dayNumber-t.dayNumber)*Ri.SECONDS_PER_DAY+(e.secondsOfDay-t.secondsOfDay)};ie.daysDifference=function(e,t){if(!l(e))throw new x("left is required.");if(!l(t))throw new x("right is required.");const n=e.dayNumber-t.dayNumber,i=(e.secondsOfDay-t.secondsOfDay)/Ri.SECONDS_PER_DAY;return n+i};ie.computeTaiMinusUtc=function(e){t0.julianDate=e;const t=ie.leapSeconds;let n=Is(t,t0,qN);return n<0&&(n=~n,--n,n<0&&(n=0)),t[n].offset};ie.addSeconds=function(e,t,n){if(!l(e))throw new x("julianDate is required.");if(!l(t))throw new x("seconds is required.");if(!l(n))throw new x("result is required.");return Wp(e.dayNumber,e.secondsOfDay+t,n)};ie.addMinutes=function(e,t,n){if(!l(e))throw new x("julianDate is required.");if(!l(t))throw new x("minutes is required.");if(!l(n))throw new x("result is required.");const i=e.secondsOfDay+t*Ri.SECONDS_PER_MINUTE;return Wp(e.dayNumber,i,n)};ie.addHours=function(e,t,n){if(!l(e))throw new x("julianDate is required.");if(!l(t))throw new x("hours is required.");if(!l(n))throw new x("result is required.");const i=e.secondsOfDay+t*Ri.SECONDS_PER_HOUR;return Wp(e.dayNumber,i,n)};ie.addDays=function(e,t,n){if(!l(e))throw new x("julianDate is required.");if(!l(t))throw new x("days is required.");if(!l(n))throw new x("result is required.");const i=e.dayNumber+t;return Wp(i,e.secondsOfDay,n)};ie.lessThan=function(e,t){return ie.compare(e,t)<0};ie.lessThanOrEquals=function(e,t){return ie.compare(e,t)<=0};ie.greaterThan=function(e,t){return ie.compare(e,t)>0};ie.greaterThanOrEquals=function(e,t){return ie.compare(e,t)>=0};ie.prototype.clone=function(e){return ie.clone(this,e)};ie.prototype.equals=function(e){return ie.equals(this,e)};ie.prototype.equalsEpsilon=function(e,t){return ie.equalsEpsilon(this,e,t)};ie.prototype.toString=function(){return ie.toIso8601(this)};ie.leapSeconds=[new $i(new ie(2441317,43210,qn.TAI),10),new $i(new ie(2441499,43211,qn.TAI),11),new $i(new ie(2441683,43212,qn.TAI),12),new $i(new ie(2442048,43213,qn.TAI),13),new $i(new ie(2442413,43214,qn.TAI),14),new $i(new ie(2442778,43215,qn.TAI),15),new $i(new ie(2443144,43216,qn.TAI),16),new $i(new ie(2443509,43217,qn.TAI),17),new $i(new ie(2443874,43218,qn.TAI),18),new $i(new ie(2444239,43219,qn.TAI),19),new $i(new ie(2444786,43220,qn.TAI),20),new $i(new ie(2445151,43221,qn.TAI),21),new $i(new ie(2445516,43222,qn.TAI),22),new $i(new ie(2446247,43223,qn.TAI),23),new $i(new ie(2447161,43224,qn.TAI),24),new $i(new ie(2447892,43225,qn.TAI),25),new $i(new ie(2448257,43226,qn.TAI),26),new $i(new ie(2448804,43227,qn.TAI),27),new $i(new ie(2449169,43228,qn.TAI),28),new $i(new ie(2449534,43229,qn.TAI),29),new $i(new ie(2450083,43230,qn.TAI),30),new $i(new ie(2450630,43231,qn.TAI),31),new $i(new ie(2451179,43232,qn.TAI),32),new $i(new ie(2453736,43233,qn.TAI),33),new $i(new ie(2454832,43234,qn.TAI),34),new $i(new ie(2456109,43235,qn.TAI),35),new $i(new ie(2457204,43236,qn.TAI),36),new $i(new ie(2457754,43237,qn.TAI),37)];const vge="modulepreload",Dge=function(e){return"/satellite-track/"+e},Zz={},wE=function(t,n,i){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=Dge(r),r in Zz)return;Zz[r]=!0;const s=r.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(!!i)for(let f=o.length-1;f>=0;f--){const h=o[f];if(h.href===r&&(!s||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const u=document.createElement("link");if(u.rel=s?"stylesheet":vge,s||(u.as="script",u.crossOrigin=""),u.href=r,document.head.appendChild(u),s)return new Promise((f,h)=>{u.addEventListener("load",f),u.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};var XL={},Ige={get exports(){return XL},set exports(e){XL=e}},vb={},Pge={get exports(){return vb},set exports(e){vb=e}};/*! https://mths.be/punycode v1.4.0 by @mathias */var eU;function Oge(){return eU||(eU=1,function(e,t){(function(n){var i=t&&!t.nodeType&&t,o=e&&!e.nodeType&&e,r=typeof Sy=="object"&&Sy;(r.global===r||r.window===r||r.self===r)&&(n=r);var s,a=2147483647,c=36,u=1,f=26,h=38,m=700,g=72,p=128,y="-",b=/^xn--/,C=/[^\x20-\x7E]/,E=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=c-u,P=Math.floor,L=String.fromCharCode,z;function R(W){throw new RangeError(w[W])}function F(W,K){for(var q=W.length,te=[];q--;)te[q]=K(W[q]);return te}function U(W,K){var q=W.split("@"),te="";q.length>1&&(te=q[0]+"@",W=q[1]),W=W.replace(E,".");var Y=W.split("."),X=F(Y,K).join(".");return te+X}function v(W){for(var K=[],q=0,te=W.length,Y,X;q=55296&&Y<=56319&&q65535&&(K-=65536,q+=L(K>>>10&1023|55296),K=56320|K&1023),q+=L(K),q}).join("")}function _(W){return W-48<10?W-22:W-65<26?W-65:W-97<26?W-97:c}function D(W,K){return W+22+75*(W<26)-((K!=0)<<5)}function O(W,K,q){var te=0;for(W=q?P(W/m):W>>1,W+=P(W/K);W>S*f>>1;te+=c)W=P(W/S);return P(te+(S+1)*W/(W+h))}function N(W){var K=[],q=W.length,te,Y=0,X=p,$=g,se,ue,re,he,ce,Q,ne,fe,_e;for(se=W.lastIndexOf(y),se<0&&(se=0),ue=0;ue=128&&R("not-basic"),K.push(W.charCodeAt(ue));for(re=se>0?se+1:0;re=q&&R("invalid-input"),ne=_(W.charCodeAt(re++)),(ne>=c||ne>P((a-Y)/ce))&&R("overflow"),Y+=ne*ce,fe=Q<=$?u:Q>=$+f?f:Q-$,!(neP(a/_e)&&R("overflow"),ce*=_e;te=K.length+1,$=O(Y-he,te,he==0),P(Y/te)>a-X&&R("overflow"),X+=P(Y/te),Y%=te,K.splice(Y++,0,X)}return I(K)}function V(W){var K,q,te,Y,X,$,se,ue,re,he,ce,Q=[],ne,fe,_e,Se;for(W=v(W),ne=W.length,K=p,q=0,X=g,$=0;$=K&&ceP((a-q)/fe)&&R("overflow"),q+=(se-K)*fe,K=se,$=0;$a&&R("overflow"),ce==K){for(ue=q,re=c;he=re<=X?u:re>=X+f?f:re-X,!(ue1);g++)h.splice(0,1);a[_]=h.join("")}var p=-1,y=0,b=0,C=-1,x=!1;for(_=0;_y&&(p=C,y=b)):a[_]==="0"&&(x=!0,C=_,b=1);b>y&&(p=C,y=b),y>1&&a.splice(p,y,""),c=a.length;var S="";for(a[0]===""&&(S=":"),_=0;_1);g++)h.splice(0,1);a[m]=h.join("")}var p=-1,y=0,b=0,C=-1,E=!1;for(m=0;my&&(p=C,y=b)):a[m]==="0"&&(E=!0,C=m,b=1);b>y&&(p=C,y=b),y>1&&a.splice(p,y,""),c=a.length;var w="";for(a[0]===""&&(w=":"),m=0;m=o.length-1)return!1;var s=o.lastIndexOf(".",r-1);if(s<=0||s>=r-1)return!1;var a=i.list[o.slice(r+1)];return a?a.indexOf(" "+o.slice(s+1,r)+" ")>=0:!1},is:function(o){var r=o.lastIndexOf(".");if(r<=0||r>=o.length-1)return!1;var s=o.lastIndexOf(".",r-1);if(s>=0)return!1;var a=i.list[o.slice(r+1)];return a?a.indexOf(" "+o.slice(0,r)+" ")>=0:!1},get:function(o){var r=o.lastIndexOf(".");if(r<=0||r>=o.length-1)return null;var s=o.lastIndexOf(".",r-1);if(s<=0||s>=r-1)return null;var a=i.list[o.slice(r+1)];return!a||a.indexOf(" "+o.slice(s+1,r)+" ")<0?null:o.slice(s+1)},noConflict:function(){return t.SecondLevelDomains===this&&(t.SecondLevelDomains=n),this}};return i})}(Kme)),xS}/*! + */var nU;function Nge(){return nU||(nU=1,function(e){(function(t,n){e.exports?e.exports=n():t.SecondLevelDomains=n(t)})(Sy,function(t){var n=t&&t.SecondLevelDomains,i={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(o){var r=o.lastIndexOf(".");if(r<=0||r>=o.length-1)return!1;var s=o.lastIndexOf(".",r-1);if(s<=0||s>=r-1)return!1;var a=i.list[o.slice(r+1)];return a?a.indexOf(" "+o.slice(s+1,r)+" ")>=0:!1},is:function(o){var r=o.lastIndexOf(".");if(r<=0||r>=o.length-1)return!1;var s=o.lastIndexOf(".",r-1);if(s>=0)return!1;var a=i.list[o.slice(r+1)];return a?a.indexOf(" "+o.slice(0,r)+" ")>=0:!1},get:function(o){var r=o.lastIndexOf(".");if(r<=0||r>=o.length-1)return null;var s=o.lastIndexOf(".",r-1);if(s<=0||s>=r-1)return null;var a=i.list[o.slice(r+1)];return!a||a.indexOf(" "+o.slice(s+1,r)+" ")<0?null:o.slice(s+1)},noConflict:function(){return t.SecondLevelDomains===this&&(t.SecondLevelDomains=n),this}};return i})}(Rge)),PS}/*! * URI.js - Mutating URLs * * Version: 1.19.11 @@ -70,10 +75,10 @@ ${p}`)}}function yme(e,t,n){const i={};for(let o=0;o=1,M=arguments.length>=2;if(!(this instanceof s))return O?M?new s(m,D):new s(m):new s;if(m===void 0){if(O)throw new TypeError("undefined is not a valid argument for URI");typeof location<"u"?m=location.href+"":m=""}if(m===null&&O)throw new TypeError("null is not a valid argument for URI");return this.href(m),D!==void 0?this.absoluteTo(D):this}function a(m){return/^[0-9]+$/.test(m)}s.version="1.19.11";var c=s.prototype,u=Object.prototype.hasOwnProperty;function f(m){return m.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function h(m){return m===void 0?"Undefined":String(Object.prototype.toString.call(m)).slice(8,-1)}function _(m){return h(m)==="Array"}function g(m,D){var O={},M,V;if(h(D)==="RegExp")O=null;else if(_(D))for(M=0,V=D.length;M]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/ig,s.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},s.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,s.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},s.hostProtocols=["http","https"],s.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,s.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},s.getDomAttribute=function(m){if(!(!m||!m.nodeName)){var D=m.nodeName.toLowerCase();if(!(D==="input"&&m.type!=="image"))return s.domAttributes[D]}};function C(m){return escape(m)}function x(m){return encodeURIComponent(m).replace(/[!'()*]/g,C).replace(/\*/g,"%2A")}s.encode=x,s.decode=decodeURIComponent,s.iso8859=function(){s.encode=escape,s.decode=unescape},s.unicode=function(){s.encode=x,s.decode=decodeURIComponent},s.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/ig,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/ig,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/ig,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},s.encodeQuery=function(m,D){var O=s.encode(m+"");return D===void 0&&(D=s.escapeQuerySpace),D?O.replace(/%20/g,"+"):O},s.decodeQuery=function(m,D){m+="",D===void 0&&(D=s.escapeQuerySpace);try{return s.decode(D?m.replace(/\+/g,"%20"):m)}catch{return m}};var S={encode:"encode",decode:"decode"},v,P=function(m,D){return function(O){try{return s[D](O+"").replace(s.characters[m][D].expression,function(M){return s.characters[m][D].map[M]})}catch{return O}}};for(v in S)s[v+"PathSegment"]=P("pathname",S[v]),s[v+"UrnPathSegment"]=P("urnpath",S[v]);var L=function(m,D,O){return function(M){var V;O?V=function(K){return s[D](s[O](K))}:V=s[D];for(var k=(M+"").split(m),G=0,W=k.length;G-1&&(D.fragment=m.substring(O+1)||null,m=m.substring(0,O)),O=m.indexOf("?"),O>-1&&(D.query=m.substring(O+1)||null,m=m.substring(0,O)),m=m.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://"),m=m.replace(/^[/\\]{2,}/i,"//"),m.substring(0,2)==="//"?(D.protocol=null,m=m.substring(2),m=s.parseAuthority(m,D)):(O=m.indexOf(":"),O>-1&&(D.protocol=m.substring(0,O)||null,D.protocol&&!D.protocol.match(s.protocol_expression)?D.protocol=void 0:m.substring(O+1,O+3).replace(/\\/g,"/")==="//"?(m=m.substring(O+3),m=s.parseAuthority(m,D)):(m=m.substring(O+1),D.urn=!0))),D.path=m,D},s.parseHost=function(m,D){m||(m=""),m=m.replace(/\\/g,"/");var O=m.indexOf("/"),M,V;if(O===-1&&(O=m.length),m.charAt(0)==="[")M=m.indexOf("]"),D.hostname=m.substring(1,M)||null,D.port=m.substring(M+2,O)||null,D.port==="/"&&(D.port=null);else{var k=m.indexOf(":"),G=m.indexOf("/"),W=m.indexOf(":",k+1);W!==-1&&(G===-1||W-1?V:m.length-1),G;return k>-1&&(V===-1||k-1?X=X.slice(0,Y)+X.slice(Y).replace(k,""):X=X.replace(k,""),!(X.length<=K[0].length)&&!(O.ignore&&O.ignore.test(X))){$=q+X.length;var re=D(X,q,$,m);if(re===void 0){M.lastIndex=$;continue}re=String(re),m=m.slice(0,q)+re+m.slice($),M.lastIndex=q+re.length}}return M.lastIndex=0,m},s.ensureValidHostname=function(m,D){var O=!!m,M=!!D,V=!1;if(M&&(V=p(s.hostProtocols,D)),V&&!O)throw new TypeError("Hostname cannot be empty, if protocol is "+D);if(m&&m.match(s.invalid_hostname_characters)){if(!t)throw new TypeError('Hostname "'+m+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(t.toASCII(m).match(s.invalid_hostname_characters))throw new TypeError('Hostname "'+m+'" contains characters other than [A-Z0-9.-:_]')}},s.ensureValidPort=function(m){if(m){var D=Number(m);if(!(a(D)&&D>0&&D<65536))throw new TypeError('Port "'+m+'" is not a valid port')}},s.noConflict=function(m){if(m){var D={URI:this.noConflict()};return o.URITemplate&&typeof o.URITemplate.noConflict=="function"&&(D.URITemplate=o.URITemplate.noConflict()),o.IPv6&&typeof o.IPv6.noConflict=="function"&&(D.IPv6=o.IPv6.noConflict()),o.SecondLevelDomains&&typeof o.SecondLevelDomains.noConflict=="function"&&(D.SecondLevelDomains=o.SecondLevelDomains.noConflict()),D}else o.URI===this&&(o.URI=r);return this},c.build=function(m){return m===!0?this._deferred_build=!0:(m===void 0||this._deferred_build)&&(this._string=s.build(this._parts),this._deferred_build=!1),this},c.clone=function(){return new s(this)},c.valueOf=c.toString=function(){return this.build(!1)._string};function z(m){return function(D,O){return D===void 0?this._parts[m]||"":(this._parts[m]=D||null,this.build(!O),this)}}function R(m,D){return function(O,M){return O===void 0?this._parts[m]||"":(O!==null&&(O=O+"",O.charAt(0)===D&&(O=O.substring(1))),this._parts[m]=O,this.build(!M),this)}}c.protocol=z("protocol"),c.username=z("username"),c.password=z("password"),c.hostname=z("hostname"),c.port=z("port"),c.query=R("query","?"),c.fragment=R("fragment","#"),c.search=function(m,D){var O=this.query(m,D);return typeof O=="string"&&O.length?"?"+O:O},c.hash=function(m,D){var O=this.fragment(m,D);return typeof O=="string"&&O.length?"#"+O:O},c.pathname=function(m,D){if(m===void 0||m===!0){var O=this._parts.path||(this._parts.hostname?"/":"");return m?(this._parts.urn?s.decodeUrnPath:s.decodePath)(O):O}else return this._parts.urn?this._parts.path=m?s.recodeUrnPath(m):"":this._parts.path=m?s.recodePath(m):"/",this.build(!D),this},c.path=c.pathname,c.href=function(m,D){var O;if(m===void 0)return this.toString();this._string="",this._parts=s._parts();var M=m instanceof s,V=typeof m=="object"&&(m.hostname||m.path||m.pathname);if(m.nodeName){var k=s.getDomAttribute(m);m=m[k]||"",V=!1}if(!M&&V&&m.pathname!==void 0&&(m=m.toString()),typeof m=="string"||m instanceof String)this._parts=s.parse(String(m),this._parts);else if(M||V){var G=M?m._parts:m;for(O in G)O!=="query"&&u.call(this._parts,O)&&(this._parts[O]=G[O]);G.query&&this.query(G.query,!1)}else throw new TypeError("invalid input");return this.build(!D),this},c.is=function(m){var D=!1,O=!1,M=!1,V=!1,k=!1,G=!1,W=!1,K=!this._parts.urn;switch(this._parts.hostname&&(K=!1,O=s.ip4_expression.test(this._parts.hostname),M=s.ip6_expression.test(this._parts.hostname),D=O||M,V=!D,k=V&&i&&i.has(this._parts.hostname),G=V&&s.idn_expression.test(this._parts.hostname),W=V&&s.punycode_expression.test(this._parts.hostname)),m.toLowerCase()){case"relative":return K;case"absolute":return!K;case"domain":case"name":return V;case"sld":return k;case"ip":return D;case"ip4":case"ipv4":case"inet4":return O;case"ip6":case"ipv6":case"inet6":return M;case"idn":return G;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return W}return null};var F=c.protocol,H=c.port,w=c.hostname;c.protocol=function(m,D){if(m&&(m=m.replace(/:(\/\/)?$/,""),!m.match(s.protocol_expression)))throw new TypeError('Protocol "'+m+`" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]`);return F.call(this,m,D)},c.scheme=c.protocol,c.port=function(m,D){return this._parts.urn?m===void 0?"":this:(m!==void 0&&(m===0&&(m=null),m&&(m+="",m.charAt(0)===":"&&(m=m.substring(1)),s.ensureValidPort(m))),H.call(this,m,D))},c.hostname=function(m,D){if(this._parts.urn)return m===void 0?"":this;if(m!==void 0){var O={preventInvalidHostname:this._parts.preventInvalidHostname},M=s.parseHost(m,O);if(M!=="/")throw new TypeError('Hostname "'+m+'" contains characters other than [A-Z0-9.-]');m=O.hostname,this._parts.preventInvalidHostname&&s.ensureValidHostname(m,this._parts.protocol)}return w.call(this,m,D)},c.origin=function(m,D){if(this._parts.urn)return m===void 0?"":this;if(m===void 0){var O=this.protocol(),M=this.authority();return M?(O?O+"://":"")+this.authority():""}else{var V=s(m);return this.protocol(V.protocol()).authority(V.authority()).build(!D),this}},c.host=function(m,D){if(this._parts.urn)return m===void 0?"":this;if(m===void 0)return this._parts.hostname?s.buildHost(this._parts):"";var O=s.parseHost(m,this._parts);if(O!=="/")throw new TypeError('Hostname "'+m+'" contains characters other than [A-Z0-9.-]');return this.build(!D),this},c.authority=function(m,D){if(this._parts.urn)return m===void 0?"":this;if(m===void 0)return this._parts.hostname?s.buildAuthority(this._parts):"";var O=s.parseAuthority(m,this._parts);if(O!=="/")throw new TypeError('Hostname "'+m+'" contains characters other than [A-Z0-9.-]');return this.build(!D),this},c.userinfo=function(m,D){if(this._parts.urn)return m===void 0?"":this;if(m===void 0){var O=s.buildUserinfo(this._parts);return O&&O.substring(0,O.length-1)}else return m[m.length-1]!=="@"&&(m+="@"),s.parseUserinfo(m,this._parts),this.build(!D),this},c.resource=function(m,D){var O;return m===void 0?this.path()+this.search()+this.hash():(O=s.parse(m),this._parts.path=O.path,this._parts.query=O.query,this._parts.fragment=O.fragment,this.build(!D),this)},c.subdomain=function(m,D){if(this._parts.urn)return m===void 0?"":this;if(m===void 0){if(!this._parts.hostname||this.is("IP"))return"";var O=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,O)||""}else{var M=this._parts.hostname.length-this.domain().length,V=this._parts.hostname.substring(0,M),k=new RegExp("^"+f(V));if(m&&m.charAt(m.length-1)!=="."&&(m+="."),m.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");return m&&s.ensureValidHostname(m,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(k,m),this.build(!D),this}},c.domain=function(m,D){if(this._parts.urn)return m===void 0?"":this;if(typeof m=="boolean"&&(D=m,m=void 0),m===void 0){if(!this._parts.hostname||this.is("IP"))return"";var O=this._parts.hostname.match(/\./g);if(O&&O.length<2)return this._parts.hostname;var M=this._parts.hostname.length-this.tld(D).length-1;return M=this._parts.hostname.lastIndexOf(".",M-1)+1,this._parts.hostname.substring(M)||""}else{if(!m)throw new TypeError("cannot set domain empty");if(m.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");if(s.ensureValidHostname(m,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=m;else{var V=new RegExp(f(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(V,m)}return this.build(!D),this}},c.tld=function(m,D){if(this._parts.urn)return m===void 0?"":this;if(typeof m=="boolean"&&(D=m,m=void 0),m===void 0){if(!this._parts.hostname||this.is("IP"))return"";var O=this._parts.hostname.lastIndexOf("."),M=this._parts.hostname.substring(O+1);return D!==!0&&i&&i.list[M.toLowerCase()]&&i.get(this._parts.hostname)||M}else{var V;if(m)if(m.match(/[^a-zA-Z0-9-]/))if(i&&i.is(m))V=new RegExp(f(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(V,m);else throw new TypeError('TLD "'+m+'" contains characters other than [A-Z0-9]');else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");V=new RegExp(f(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(V,m)}else throw new TypeError("cannot set TLD empty");return this.build(!D),this}},c.directory=function(m,D){if(this._parts.urn)return m===void 0?"":this;if(m===void 0||m===!0){if(!this._parts.path&&!this._parts.hostname)return"";if(this._parts.path==="/")return"/";var O=this._parts.path.length-this.filename().length-1,M=this._parts.path.substring(0,O)||(this._parts.hostname?"/":"");return m?s.decodePath(M):M}else{var V=this._parts.path.length-this.filename().length,k=this._parts.path.substring(0,V),G=new RegExp("^"+f(k));return this.is("relative")||(m||(m="/"),m.charAt(0)!=="/"&&(m="/"+m)),m&&m.charAt(m.length-1)!=="/"&&(m+="/"),m=s.recodePath(m),this._parts.path=this._parts.path.replace(G,m),this.build(!D),this}},c.filename=function(m,D){if(this._parts.urn)return m===void 0?"":this;if(typeof m!="string"){if(!this._parts.path||this._parts.path==="/")return"";var O=this._parts.path.lastIndexOf("/"),M=this._parts.path.substring(O+1);return m?s.decodePathSegment(M):M}else{var V=!1;m.charAt(0)==="/"&&(m=m.substring(1)),m.match(/\.?\//)&&(V=!0);var k=new RegExp(f(this.filename())+"$");return m=s.recodePath(m),this._parts.path=this._parts.path.replace(k,m),V?this.normalizePath(D):this.build(!D),this}},c.suffix=function(m,D){if(this._parts.urn)return m===void 0?"":this;if(m===void 0||m===!0){if(!this._parts.path||this._parts.path==="/")return"";var O=this.filename(),M=O.lastIndexOf("."),V,k;return M===-1?"":(V=O.substring(M+1),k=/^[a-z0-9%]+$/i.test(V)?V:"",m?s.decodePathSegment(k):k)}else{m.charAt(0)==="."&&(m=m.substring(1));var G=this.suffix(),W;if(G)m?W=new RegExp(f(G)+"$"):W=new RegExp(f("."+G)+"$");else{if(!m)return this;this._parts.path+="."+s.recodePath(m)}return W&&(m=s.recodePath(m),this._parts.path=this._parts.path.replace(W,m)),this.build(!D),this}},c.segment=function(m,D,O){var M=this._parts.urn?":":"/",V=this.path(),k=V.substring(0,1)==="/",G=V.split(M);if(m!==void 0&&typeof m!="number"&&(O=D,D=m,m=void 0),m!==void 0&&typeof m!="number")throw new Error('Bad segment "'+m+'", must be 0-based integer');if(k&&G.shift(),m<0&&(m=Math.max(G.length+m,0)),D===void 0)return m===void 0?G:G[m];if(m===null||G[m]===void 0)if(_(D)){G=[];for(var W=0,K=D.length;W"u")return e;t=A(n.baseURI,n.location.href)}const i=new ws(e);return i.scheme()!==""?i.toString():i.absoluteTo(t).toString()};function Zme(e,t){if(!l(e))throw new E("uri is required.");let n="";const i=e.lastIndexOf("/");return i!==-1&&(n=e.substring(0,i+1)),t&&(e=new ws(e),e.query().length!==0&&(n+=`?${e.query()}`),e.fragment().length!==0&&(n+=`#${e.fragment()}`)),n}function e_e(e){if(!l(e))throw new E("uri is required.");const t=new ws(e);t.normalize();let n=t.path(),i=n.lastIndexOf("/");return i!==-1&&(n=n.substr(i+1)),i=n.lastIndexOf("."),i===-1?n="":n=n.substr(i+1),n}const Gz={};function wS(e,t,n){l(t)||(t=e.width),l(n)||(n=e.height);let i=Gz[t];l(i)||(i={},Gz[t]=i);let o=i[n];if(!l(o)){const r=document.createElement("canvas");r.width=t,r.height=n,o=r.getContext("2d"),o.globalCompositeOperation="copy",i[n]=o}return o.drawImage(e,0,0,t,n),o.getImageData(0,0,t,n).data}const t_e=/^blob:/i;function cj(e){return T.typeOf.string("uri",e),t_e.test(e)}let Pu;function lj(e){l(Pu)||(Pu=document.createElement("a")),Pu.href=window.location.href;const t=Pu.host,n=Pu.protocol;return Pu.href=e,Pu.href=Pu.href,n!==Pu.protocol||t!==Pu.host}const n_e=/^data:/i;function HN(e){return T.typeOf.string("uri",e),n_e.test(e)}function i_e(e){const t=document.createElement("script");return t.async=!0,t.src=e,new Promise((n,i)=>{window.crossOriginIsolated&&t.setAttribute("crossorigin","anonymous");const o=document.getElementsByTagName("head")[0];t.onload=function(){t.onload=void 0,o.removeChild(t),n()},t.onerror=function(r){i(r)},o.appendChild(t)})}function o_e(e){if(!l(e))throw new E("obj is required.");let t="";for(const n in e)if(e.hasOwnProperty(n)){const i=e[n],o=`${encodeURIComponent(n)}=`;if(Array.isArray(i))for(let r=0,s=i.length;r0){const s=o.substring(0,r),a=o.substring(r+2);t[s]=a}}return t}function Jy(e,t,n){this.statusCode=e,this.response=t,this.responseHeaders=n,typeof this.responseHeaders=="string"&&(this.responseHeaders=c_e(this.responseHeaders))}Jy.prototype.toString=function(){let e="Request has failed.";return l(this.statusCode)&&(e+=` Status Code: ${this.statusCode}`),e};function Xe(){this._listeners=[],this._scopes=[],this._toRemove=[],this._insideRaiseEvent=!1}Object.defineProperties(Xe.prototype,{numberOfListeners:{get:function(){return this._listeners.length-this._toRemove.length}}});Xe.prototype.addEventListener=function(e,t){T.typeOf.func("listener",e),this._listeners.push(e),this._scopes.push(t);const n=this;return function(){n.removeEventListener(e,t)}};Xe.prototype.removeEventListener=function(e,t){T.typeOf.func("listener",e);const n=this._listeners,i=this._scopes;let o=-1;for(let r=0;r0){for(o.sort(l_e),e=0;e=0;--t)this.heapify(t)};F_.prototype.insert=function(e){T.defined("element",e);const t=this._array,n=this._comparator,i=this._maximumLength;let o=this._length++;for(oi&&(r=t[i],this._length=i),r};F_.prototype.pop=function(e){if(e=A(e,0),this._length===0)return;T.typeOf.number.lessThan("index",e,this._length);const t=this._array,n=t[e];return VN(t,e,--this._length),this.heapify(e),t[this._length]=void 0,n};function u_e(e,t){return e.priority-t.priority}const yi={numberOfAttemptedRequests:0,numberOfActiveRequests:0,numberOfCancelledRequests:0,numberOfCancelledActiveRequests:0,numberOfFailedRequests:0,numberOfActiveRequestsEver:0,lastNumberOfActiveRequests:0};let Ey=20;const Ws=new F_({comparator:u_e});Ws.maximumLength=Ey;Ws.reserve(Ey);const ju=[];let wd={};const f_e=typeof document<"u"?new ws(document.location.href):new ws,Gv=new Xe;function pi(){}pi.maximumRequests=50;pi.maximumRequestsPerServer=6;pi.requestsByServer={"api.cesium.com:443":18,"assets.cesium.com:443":18};pi.throttleRequests=!0;pi.debugShowStatistics=!1;pi.requestCompletedEvent=Gv;Object.defineProperties(pi,{statistics:{get:function(){return yi}},priorityHeapLength:{get:function(){return Ey},set:function(e){if(ee;){const t=Ws.pop();e_(t)}Ey=e,Ws.maximumLength=e,Ws.reserve(e)}}});function uj(e){l(e.priorityFunction)&&(e.priority=e.priorityFunction())}pi.serverHasOpenSlots=function(e,t){t=A(t,1);const n=A(pi.requestsByServer[e],pi.maximumRequestsPerServer);return wd[e]+t<=n};pi.heapHasOpenSlots=function(e){return Ws.length+e<=Ey};function fj(e){return e.state===Eo.UNISSUED&&(e.state=Eo.ISSUED,e.deferred=Hp()),e.deferred.promise}function d_e(e){return function(t){if(e.state===Eo.CANCELLED)return;const n=e.deferred;--yi.numberOfActiveRequests,--wd[e.serverKey],Gv.raiseEvent(),e.state=Eo.RECEIVED,e.deferred=void 0,n.resolve(t)}}function h_e(e){return function(t){e.state!==Eo.CANCELLED&&(++yi.numberOfFailedRequests,--yi.numberOfActiveRequests,--wd[e.serverKey],Gv.raiseEvent(t),e.state=Eo.FAILED,e.deferred.reject(t))}}function dj(e){const t=fj(e);return e.state=Eo.ACTIVE,ju.push(e),++yi.numberOfActiveRequests,++yi.numberOfActiveRequestsEver,++wd[e.serverKey],e.requestFunction().then(d_e(e)).catch(h_e(e)),t}function e_(e){const t=e.state===Eo.ACTIVE;if(e.state=Eo.CANCELLED,++yi.numberOfCancelledRequests,l(e.deferred)){const n=e.deferred;e.deferred=void 0,n.reject()}t&&(--yi.numberOfActiveRequests,--wd[e.serverKey],++yi.numberOfCancelledActiveRequests),l(e.cancelFunction)&&e.cancelFunction()}pi.update=function(){let e,t,n=0;const i=ju.length;for(e=0;e0&&(ju[e-n]=t)}ju.length-=n;const o=Ws.internalArray,r=Ws.length;for(e=0;e0;){if(t=Ws.pop(),t.cancelled){e_(t);continue}if(t.throttleByServer&&!pi.serverHasOpenSlots(t.serverKey)){e_(t);continue}dj(t),++a}p_e()};pi.getServerKey=function(e){T.typeOf.string("url",e);let t=new ws(e);t.scheme()===""&&(t=new ws(e).absoluteTo(f_e),t.normalize());let n=t.authority();/:/.test(n)||(n=`${n}:${t.scheme()==="https"?"443":"80"}`);const i=wd[n];return l(i)||(wd[n]=0),n};pi.request=function(e){if(T.typeOf.object("request",e),T.typeOf.string("request.url",e.url),T.typeOf.func("request.requestFunction",e.requestFunction),HN(e.url)||cj(e.url))return Gv.raiseEvent(),e.state=Eo.RECEIVED,e.requestFunction();if(++yi.numberOfAttemptedRequests,l(e.serverKey)||(e.serverKey=pi.getServerKey(e.url)),pi.throttleRequests&&e.throttleByServer&&!pi.serverHasOpenSlots(e.serverKey))return;if(!pi.throttleRequests||!e.throttle)return dj(e);if(ju.length>=pi.maximumRequests)return;uj(e);const t=Ws.insert(e);if(l(t)){if(t===e)return;e_(t)}return fj(e)};function p_e(){pi.debugShowStatistics&&(yi.numberOfActiveRequests===0&&yi.lastNumberOfActiveRequests>0&&(yi.numberOfAttemptedRequests>0&&(console.log(`Number of attempted requests: ${yi.numberOfAttemptedRequests}`),yi.numberOfAttemptedRequests=0),yi.numberOfCancelledRequests>0&&(console.log(`Number of cancelled requests: ${yi.numberOfCancelledRequests}`),yi.numberOfCancelledRequests=0),yi.numberOfCancelledActiveRequests>0&&(console.log(`Number of cancelled active requests: ${yi.numberOfCancelledActiveRequests}`),yi.numberOfCancelledActiveRequests=0),yi.numberOfFailedRequests>0&&(console.log(`Number of failed requests: ${yi.numberOfFailedRequests}`),yi.numberOfFailedRequests=0)),yi.lastNumberOfActiveRequests=yi.numberOfActiveRequests)}pi.clearForSpecs=function(){for(;Ws.length>0;){const t=Ws.pop();e_(t)}const e=ju.length;for(let t=0;t0}}});Me.prototype.toString=function(){return this.getUrlComponent(!0,!0)};Me.prototype.getUrlComponent=function(e,t){if(this.isDataUri)return this._url;const n=new ws(this._url);e&&__e(n,this);let i=n.toString().replace(/%7B/g,"{").replace(/%7D/g,"}");const o=this._templateValues;return i=i.replace(/{(.*?)}/g,function(r,s){const a=o[s];return l(a)?encodeURIComponent(a):r}),t&&l(this.proxy)&&(i=this.proxy.getURL(i)),i};Me.prototype.setQueryParameters=function(e,t){t?this._queryParameters=SS(this._queryParameters,e,!1):this._queryParameters=SS(e,this._queryParameters,!1)};Me.prototype.appendQueryParameters=function(e){this._queryParameters=SS(e,this._queryParameters,!0)};Me.prototype.setTemplateValues=function(e,t){t?this._templateValues=an(this._templateValues,e):this._templateValues=an(e,this._templateValues)};Me.prototype.getDerivedResource=function(e){const t=this.clone();if(t._retryCount=0,l(e.url)){const n=new ws(e.url),i=A(e.preserveQueryParameters,!1);kN(n,t,!0,i),n.fragment(""),n.scheme()!==""?t._url=n.toString():t._url=n.absoluteTo(new ws(qC(this._url))).toString()}return l(e.queryParameters)&&(t._queryParameters=an(e.queryParameters,t._queryParameters)),l(e.templateValues)&&(t._templateValues=an(e.templateValues,t.templateValues)),l(e.headers)&&(t.headers=an(e.headers,t.headers)),l(e.proxy)&&(t.proxy=e.proxy),l(e.request)&&(t.request=e.request),l(e.retryCallback)&&(t.retryCallback=e.retryCallback),l(e.retryAttempts)&&(t.retryAttempts=e.retryAttempts),t};Me.prototype.retryOnError=function(e){const t=this.retryCallback;if(typeof t!="function"||this._retryCount>=this.retryAttempts)return Promise.resolve(!1);const n=this;return Promise.resolve(t(this,e)).then(function(i){return++n._retryCount,i})};Me.prototype.clone=function(e){return l(e)||(e=new Me({url:this._url})),e._url=this._url,e._queryParameters=ut(this._queryParameters),e._templateValues=ut(this._templateValues),e.headers=ut(this.headers),e.proxy=this.proxy,e.retryCallback=this.retryCallback,e.retryAttempts=this.retryAttempts,e._retryCount=0,e.request=this.request.clone(),e};Me.prototype.getBaseUri=function(e){return Zme(this.getUrlComponent(e),e)};Me.prototype.appendForwardSlash=function(){this._url=Qme(this._url)};Me.prototype.fetchArrayBuffer=function(){return this.fetch({responseType:"arraybuffer"})};Me.fetchArrayBuffer=function(e){return new Me(e).fetchArrayBuffer()};Me.prototype.fetchBlob=function(){return this.fetch({responseType:"blob"})};Me.fetchBlob=function(e){return new Me(e).fetchBlob()};Me.prototype.fetchImage=function(e){e=A(e,A.EMPTY_OBJECT);const t=A(e.preferImageBitmap,!1),n=A(e.preferBlob,!1),i=A(e.flipY,!1),o=A(e.skipColorSpaceConversion,!1);if(GN(this.request),!pj||this.isDataUri||this.isBlobUri||!this.hasHeaders&&!n)return WL({resource:this,flipY:i,skipColorSpaceConversion:o,preferImageBitmap:t});const r=this.fetchBlob();if(!l(r))return;let s,a,c,u;return Me.supportsImageBitmapOptions().then(function(f){return s=f,a=s&&t,r}).then(function(f){if(!l(f))return;if(u=f,a)return Me.createImageBitmapFromBlob(f,{flipY:i,premultiplyAlpha:!1,skipColorSpaceConversion:o});const h=window.URL.createObjectURL(f);return c=new Me({url:h}),WL({resource:c,flipY:i,skipColorSpaceConversion:o,preferImageBitmap:!1})}).then(function(f){if(l(f))return f.blob=u,a||window.URL.revokeObjectURL(c.url),f}).catch(function(f){return l(c)&&window.URL.revokeObjectURL(c.url),f.blob=u,Promise.reject(f)})};function WL(e){const t=e.resource,n=e.flipY,i=e.skipColorSpaceConversion,o=e.preferImageBitmap,r=t.request;r.url=t.url,r.requestFunction=function(){let a=!1;!t.isDataUri&&!t.isBlobUri&&(a=t.isCrossOriginUrl);const c=Hp();return Me._Implementations.createImage(r,a,c,n,i,o),c.promise};const s=pi.request(r);if(l(s))return s.catch(function(a){return r.state!==Eo.FAILED?Promise.reject(a):t.retryOnError(a).then(function(c){return c?(r.state=Eo.UNISSUED,r.deferred=void 0,WL({resource:t,flipY:n,skipColorSpaceConversion:i,preferImageBitmap:o})):Promise.reject(a)})})}Me.fetchImage=function(e){return new Me(e).fetchImage({flipY:e.flipY,skipColorSpaceConversion:e.skipColorSpaceConversion,preferBlob:e.preferBlob,preferImageBitmap:e.preferImageBitmap})};Me.prototype.fetchText=function(){return this.fetch({responseType:"text"})};Me.fetchText=function(e){return new Me(e).fetchText()};Me.prototype.fetchJson=function(){const e=this.fetch({responseType:"text",headers:{Accept:"application/json,*/*;q=0.01"}});if(l(e))return e.then(function(t){if(l(t))return JSON.parse(t)})};Me.fetchJson=function(e){return new Me(e).fetchJson()};Me.prototype.fetchXML=function(){return this.fetch({responseType:"document",overrideMimeType:"text/xml"})};Me.fetchXML=function(e){return new Me(e).fetchXML()};Me.prototype.fetchJsonp=function(e){e=A(e,"callback"),GN(this.request);let t;do t=`loadJsonp${N.nextRandomNumber().toString().substring(2,8)}`;while(l(window[t]));return mj(this,e,t)};function mj(e,t,n){const i={};i[t]=n,e.setQueryParameters(i);const o=e.request;o.url=e.url,o.requestFunction=function(){const s=Hp();return window[n]=function(a){s.resolve(a);try{delete window[n]}catch{window[n]=void 0}},Me._Implementations.loadAndExecuteScript(e.url,n,s),s.promise};const r=pi.request(o);if(l(r))return r.catch(function(s){return o.state!==Eo.FAILED?Promise.reject(s):e.retryOnError(s).then(function(a){return a?(o.state=Eo.UNISSUED,o.deferred=void 0,mj(e,t,n)):Promise.reject(s)})})}Me.fetchJsonp=function(e){return new Me(e).fetchJsonp(e.callbackParameterName)};Me.prototype._makeRequest=function(e){const t=this;GN(t.request);const n=t.request;n.url=t.url,n.requestFunction=function(){const o=e.responseType,r=an(e.headers,t.headers),s=e.overrideMimeType,a=e.method,c=e.data,u=Hp(),f=Me._Implementations.loadWithXhr(t.url,o,a,c,r,u,s);return l(f)&&l(f.abort)&&(n.cancelFunction=function(){f.abort()}),u.promise};const i=pi.request(n);if(l(i))return i.then(function(o){return n.cancelFunction=void 0,o}).catch(function(o){return n.cancelFunction=void 0,n.state!==Eo.FAILED?Promise.reject(o):t.retryOnError(o).then(function(r){return r?(n.state=Eo.UNISSUED,n.deferred=void 0,t.fetch(e)):Promise.reject(o)})})};const g_e=/^data:(.*?)(;base64)?,(.*)$/;function mw(e,t){const n=decodeURIComponent(t);return e?atob(n):n}function Wz(e,t){const n=mw(e,t),i=new ArrayBuffer(n.length),o=new Uint8Array(i);for(let r=0;rimport("./__vite-browser-external-b25bb000.js"),[]),gE(()=>import("./__vite-browser-external-b25bb000.js"),[])]).then(([u,f])=>(a=u.parse(e),c=f,a.protocol==="https:"?gE(()=>import("./__vite-browser-external-b25bb000.js"),[]):gE(()=>import("./__vite-browser-external-b25bb000.js"),[]))).then(u=>{const f={protocol:a.protocol,hostname:a.hostname,port:a.port,path:a.path,query:a.query,method:n,headers:o};u.request(f).on("response",function(h){if(h.statusCode<200||h.statusCode>=300){r.reject(new Jy(h.statusCode,h,h.headers));return}const _=[];h.on("data",function(g){_.push(g)}),h.on("end",function(){const g=Buffer.concat(_);h.headers["content-encoding"]==="gzip"?c.gunzip(g,function(p,y){p?r.reject(new De("Error decompressing response.")):r.resolve(jz(y,t))}):r.resolve(jz(g,t))})}).on("error",function(h){r.reject(new Jy)}).end()})}const b_e=typeof XMLHttpRequest>"u";Me._Implementations.loadWithXhr=function(e,t,n,i,o,r,s){const a=g_e.exec(e);if(a!==null){r.resolve(y_e(a,t));return}if(b_e){A_e(e,t,n,i,o,r);return}const c=new XMLHttpRequest;if(hj.contains(e)&&(c.withCredentials=!0),c.open(n,e,!0),l(s)&&l(c.overrideMimeType)&&c.overrideMimeType(s),l(o))for(const f in o)o.hasOwnProperty(f)&&c.setRequestHeader(f,o[f]);l(t)&&(c.responseType=t);let u=!1;return typeof e=="string"&&(u=e.indexOf("file://")===0||typeof window<"u"&&window.location.origin==="file://"),c.onload=function(){if((c.status<200||c.status>=300)&&!(u&&c.status===0)){r.reject(new Jy(c.status,c.response,c.getAllResponseHeaders()));return}const f=c.response,h=c.responseType;if(n==="HEAD"||n==="OPTIONS"){const g=c.getAllResponseHeaders().trim().split(/[\r\n]+/),p={};g.forEach(function(y){const b=y.split(": "),C=b.shift();p[C]=b.join(": ")}),r.resolve(p);return}if(c.status===204)r.resolve();else if(l(f)&&(!l(t)||h===t))r.resolve(f);else if(t==="json"&&typeof f=="string")try{r.resolve(JSON.parse(f))}catch(_){r.reject(_)}else(h===""||h==="document")&&l(c.responseXML)&&c.responseXML.hasChildNodes()?r.resolve(c.responseXML):(h===""||h==="text")&&l(c.responseText)?r.resolve(c.responseText):r.reject(new De("Invalid XMLHttpRequest response type."))},c.onerror=function(f){r.reject(new Jy)},c.send(i),c};Me._Implementations.loadAndExecuteScript=function(e,t,n){return i_e(e).catch(function(i){n.reject(i)})};Me._DefaultImplementations={};Me._DefaultImplementations.createImage=Me._Implementations.createImage;Me._DefaultImplementations.loadWithXhr=Me._Implementations.loadWithXhr;Me._DefaultImplementations.loadAndExecuteScript=Me._Implementations.loadAndExecuteScript;Me.DEFAULT=Object.freeze(new Me({url:typeof document>"u"?"":document.location.href.split("?")[0]}));function Zb(e){e=A(e,A.EMPTY_OBJECT),this._dates=void 0,this._samples=void 0,this._dateColumn=-1,this._xPoleWanderRadiansColumn=-1,this._yPoleWanderRadiansColumn=-1,this._ut1MinusUtcSecondsColumn=-1,this._xCelestialPoleOffsetRadiansColumn=-1,this._yCelestialPoleOffsetRadiansColumn=-1,this._taiMinusUtcSecondsColumn=-1,this._columnCount=0,this._lastIndex=-1,this._addNewLeapSeconds=A(e.addNewLeapSeconds,!0),l(e.data)?qz(this,e.data):qz(this,{columnNames:["dateIso8601","modifiedJulianDateUtc","xPoleWanderRadians","yPoleWanderRadians","ut1MinusUtcSeconds","lengthOfDayCorrectionSeconds","xCelestialPoleOffsetRadians","yCelestialPoleOffsetRadians","taiMinusUtcSeconds"],samples:[]})}Zb.fromUrl=async function(e,t){T.defined("url",e),t=A(t,A.EMPTY_OBJECT);const n=Me.createIfNeeded(e);let i;try{i=await n.fetchJson()}catch{throw new De(`An error occurred while retrieving the EOP data from the URL ${n.url}.`)}return new Zb({addNewLeapSeconds:t.addNewLeapSeconds,data:i})};Zb.NONE=Object.freeze({compute:function(e,t){return l(t)?(t.xPoleWander=0,t.yPoleWander=0,t.xPoleOffset=0,t.yPoleOffset=0,t.ut1MinusUtc=0):t=new MN(0,0,0,0,0),t}});Zb.prototype.compute=function(e,t){if(!l(this._samples))return;if(l(t)||(t=new MN(0,0,0,0,0)),this._samples.length===0)return t.xPoleWander=0,t.yPoleWander=0,t.xPoleOffset=0,t.yPoleOffset=0,t.ut1MinusUtc=0,t;const n=this._dates,i=this._lastIndex;let o=0,r=0;if(l(i)){const a=n[i],c=n[i+1],u=ie.lessThanOrEquals(a,e),f=!l(c),h=f||ie.greaterThanOrEquals(c,e);if(u&&h)return o=i,!f&&c.equals(e)&&++o,r=o+1,$z(this,n,this._samples,e,o,r,t),t}let s=xs(n,e,ie.compare,this._dateColumn);return s>=0?(st.length-1)return s.xPoleWander=0,s.yPoleWander=0,s.xPoleOffset=0,s.yPoleOffset=0,s.ut1MinusUtc=0,s;const c=t[o],u=t[r];if(c.equals(u)||i.equals(c))return Yz(e,n,o,a,s),s;if(i.equals(u))return Yz(e,n,r,a,s),s;const f=ie.secondsDifference(i,c)/ie.secondsDifference(u,c),h=o*a,_=r*a;let g=n[h+e._ut1MinusUtcSecondsColumn],p=n[_+e._ut1MinusUtcSecondsColumn];const y=p-g;if(y>.5||y<-.5){const b=n[h+e._taiMinusUtcSecondsColumn],C=n[_+e._taiMinusUtcSecondsColumn];b!==C&&(u.equals(i)?g=p:p-=C-b)}return s.xPoleWander=K0(f,n[h+e._xPoleWanderRadiansColumn],n[_+e._xPoleWanderRadiansColumn]),s.yPoleWander=K0(f,n[h+e._yPoleWanderRadiansColumn],n[_+e._yPoleWanderRadiansColumn]),s.xPoleOffset=K0(f,n[h+e._xCelestialPoleOffsetRadiansColumn],n[_+e._xCelestialPoleOffsetRadiansColumn]),s.yPoleOffset=K0(f,n[h+e._yCelestialPoleOffsetRadiansColumn],n[_+e._yCelestialPoleOffsetRadiansColumn]),s.ut1MinusUtc=K0(f,g,p),s}function jr(e,t,n){this.heading=A(e,0),this.pitch=A(t,0),this.roll=A(n,0)}jr.fromQuaternion=function(e,t){if(!l(e))throw new E("quaternion is required");l(t)||(t=new jr);const n=2*(e.w*e.y-e.z*e.x),i=1-2*(e.x*e.x+e.y*e.y),o=2*(e.w*e.x+e.y*e.z),r=1-2*(e.y*e.y+e.z*e.z),s=2*(e.w*e.z+e.x*e.y);return t.heading=-Math.atan2(s,r),t.roll=Math.atan2(o,i),t.pitch=-N.asinClamped(n),t};jr.fromDegrees=function(e,t,n,i){if(!l(e))throw new E("heading is required");if(!l(t))throw new E("pitch is required");if(!l(n))throw new E("roll is required");return l(i)||(i=new jr),i.heading=e*N.RADIANS_PER_DEGREE,i.pitch=t*N.RADIANS_PER_DEGREE,i.roll=n*N.RADIANS_PER_DEGREE,i};jr.clone=function(e,t){if(l(e))return l(t)?(t.heading=e.heading,t.pitch=e.pitch,t.roll=e.roll,t):new jr(e.heading,e.pitch,e.roll)};jr.equals=function(e,t){return e===t||l(e)&&l(t)&&e.heading===t.heading&&e.pitch===t.pitch&&e.roll===t.roll};jr.equalsEpsilon=function(e,t,n,i){return e===t||l(e)&&l(t)&&N.equalsEpsilon(e.heading,t.heading,n,i)&&N.equalsEpsilon(e.pitch,t.pitch,n,i)&&N.equalsEpsilon(e.roll,t.roll,n,i)};jr.prototype.clone=function(e){return jr.clone(this,e)};jr.prototype.equals=function(e){return jr.equals(this,e)};jr.prototype.equalsEpsilon=function(e,t,n){return jr.equalsEpsilon(this,e,t,n)};jr.prototype.toString=function(){return`(${this.heading}, ${this.pitch}, ${this.roll})`};const _j=/((?:.*\/)|^)Cesium\.js(?:\?|\#|$)/;function T_e(){const e=document.getElementsByTagName("script");for(let t=0,n=e.length;t"u"?e:(l(_g)||(_g=document.createElement("a")),_g.href=e,_g.href=_g.href,_g.href)}let zm;function yj(){if(l(zm))return zm;let e;if(typeof CESIUM_BASE_URL<"u"?e=CESIUM_BASE_URL:typeof define=="object"&&l(define.amd)&&!define.amd.toUrlUndefined&&l(require.toUrl)?e=qC("..",pn("Core/buildModuleUrl.js")):e=T_e(),!l(e))throw new E("Unable to determine Cesium base URL automatically, try defining a global variable called CESIUM_BASE_URL.");return zm=new Me({url:gj(e)}),zm.appendForwardSlash(),zm}function E_e(e){return gj(require.toUrl(`../${e}`))}function Aj(e){return yj().getDerivedResource({url:e}).url}let yE;function pn(e){return l(yE)||(typeof define=="object"&&l(define.amd)&&!define.amd.toUrlUndefined&&l(require.toUrl)?yE=E_e:yE=Aj),yE(e)}pn._cesiumScriptRegex=_j;pn._buildModuleUrlFromBaseUrl=Aj;pn._clearBaseResource=function(){zm=void 0};pn.setBaseUrl=function(e){zm=Me.DEFAULT.getDerivedResource({url:e})};pn.getCesiumBaseUrl=yj;function bj(e,t,n){this.x=e,this.y=t,this.s=n}function WN(e){e=A(e,A.EMPTY_OBJECT),this._xysFileUrlTemplate=Me.createIfNeeded(e.xysFileUrlTemplate),this._interpolationOrder=A(e.interpolationOrder,9),this._sampleZeroJulianEphemerisDate=A(e.sampleZeroJulianEphemerisDate,24423965e-1),this._sampleZeroDateTT=new ie(this._sampleZeroJulianEphemerisDate,0,Vn.TAI),this._stepSizeDays=A(e.stepSizeDays,1),this._samplesPerXysFile=A(e.samplesPerXysFile,1e3),this._totalSamples=A(e.totalSamples,27426),this._samples=new Array(this._totalSamples*3),this._chunkDownloadsInProgress=[];const t=this._interpolationOrder,n=this._denominators=new Array(t+1),i=this._xTable=new Array(t+1),o=Math.pow(this._stepSizeDays,t);for(let r=0;r<=t;++r){n[r]=o,i[r]=r*this._stepSizeDays;for(let s=0;s<=t;++s)s!==r&&(n[r]*=r-s);n[r]=1/n[r]}this._work=new Array(t+1),this._coef=new Array(t+1)}const x_e=new ie(0,0,Vn.TAI);function jL(e,t,n){const i=x_e;return i.dayNumber=t,i.secondsOfDay=n,ie.daysDifference(i,e._sampleZeroDateTT)}WN.prototype.preload=function(e,t,n,i){const o=jL(this,e,t),r=jL(this,n,i);let s=o/this._stepSizeDays-this._interpolationOrder/2|0;s<0&&(s=0);let a=r/this._stepSizeDays-this._interpolationOrder/2|0+this._interpolationOrder;a>=this._totalSamples&&(a=this._totalSamples-1);const c=s/this._samplesPerXysFile|0,u=a/this._samplesPerXysFile|0,f=[];for(let h=c;h<=u;++h)f.push(qL(this,h));return Promise.all(f)};WN.prototype.computeXysRadians=function(e,t,n){const i=jL(this,e,t);if(i<0)return;const o=i/this._stepSizeDays|0;if(o>=this._totalSamples)return;const r=this._interpolationOrder;let s=o-(r/2|0);s<0&&(s=0);let a=s+r;a>=this._totalSamples&&(a=this._totalSamples-1,s=a-r,s<0&&(s=0));let c=!1;const u=this._samples;if(l(u[s*3])||(qL(this,s/this._samplesPerXysFile|0),c=!0),l(u[a*3])||(qL(this,a/this._samplesPerXysFile|0),c=!0),c)return;l(n)?(n.x=0,n.y=0,n.s=0):n=new bj(0,0,0);const f=i-s*this._stepSizeDays,h=this._work,_=this._denominators,g=this._coef,p=this._xTable;let y,b;for(y=0;y<=r;++y)h[y]=f-p[y];for(y=0;y<=r;++y){for(g[y]=1,b=0;b<=r;++b)b!==y&&(g[y]*=h[b]);g[y]*=_[y];let C=(s+y)*3;n.x+=g[y]*u[C++],n.y+=g[y]*u[C++],n.s+=g[y]*u[C]}return n};function qL(e,t){if(e._chunkDownloadsInProgress[t])return e._chunkDownloadsInProgress[t];let n;const i=e._xysFileUrlTemplate;l(i)?n=i.getDerivedResource({templateValues:{0:t}}):n=new Me({url:pn(`Assets/IAU2006_XYS/IAU2006_XYS_${t}.json`)});const o=n.fetchJson().then(function(r){e._chunkDownloadsInProgress[t]=!1;const s=e._samples,a=r.samples,c=t*e._samplesPerXysFile*3;for(let u=0,f=a.length;u=43200?o=(r+.5)/vi.DAYS_PER_JULIAN_CENTURY:o=(r-.5)/vi.DAYS_PER_JULIAN_CENTURY;const a=(N_e+o*(M_e+o*(F_e+o*z_e)))*V_e%N.TWO_PI,c=H_e+U_e*(n-24515455e-1),u=(i+vi.SECONDS_PER_DAY*.5)%vi.SECONDS_PER_DAY,f=a+c*u,h=Math.cos(f),_=Math.sin(f);return l(t)?(t[0]=h,t[1]=-_,t[2]=0,t[3]=_,t[4]=h,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t):new J(h,_,0,-_,h,0,0,0,1)};mi.iau2006XysData=new WN;mi.earthOrientationParameters=Zb.NONE;const YL=32.184,k_e=2451545;mi.preloadIcrfFixed=function(e){const t=e.start.dayNumber,n=e.start.secondsOfDay+YL,i=e.stop.dayNumber,o=e.stop.secondsOfDay+YL;return mi.iau2006XysData.preload(t,n,i,o)};mi.computeIcrfToFixedMatrix=function(e,t){if(!l(e))throw new E("date is required.");l(t)||(t=new J);const n=mi.computeFixedToIcrfMatrix(e,t);if(l(n))return J.transpose(n,t)};const G_e=new bj(0,0,0),W_e=new MN(0,0,0,0,0),$I=new J,XI=new J;mi.computeFixedToIcrfMatrix=function(e,t){if(!l(e))throw new E("date is required.");l(t)||(t=new J);const n=mi.earthOrientationParameters.compute(e,W_e);if(!l(n))return;const i=e.dayNumber,o=e.secondsOfDay+YL,r=mi.iau2006XysData.computeXysRadians(i,o,G_e);if(!l(r))return;const s=r.x+n.xPoleOffset,a=r.y+n.yPoleOffset,c=1/(1+Math.sqrt(1-s*s-a*a)),u=$I;u[0]=1-c*s*s,u[3]=-c*s*a,u[6]=s,u[1]=-c*s*a,u[4]=1-c*a*a,u[7]=a,u[2]=-s,u[5]=-a,u[8]=1-c*(s*s+a*a);const f=J.fromRotationZ(-r.s,XI),h=J.multiply(u,f,$I),_=e.dayNumber,g=e.secondsOfDay-ie.computeTaiMinusUtc(e)+n.ut1MinusUtc,p=_-2451545,y=g/vi.SECONDS_PER_DAY;let b=.779057273264+y+.00273781191135448*(p+y);b=b%1*N.TWO_PI;const C=J.fromRotationZ(b,XI),x=J.multiply(h,C,$I),S=Math.cos(n.xPoleWander),v=Math.cos(n.yPoleWander),P=Math.sin(n.xPoleWander),L=Math.sin(n.yPoleWander);let z=i-k_e+o/vi.SECONDS_PER_DAY;z/=36525;const R=-47e-6*z*N.RADIANS_PER_DEGREE/3600,F=Math.cos(R),H=Math.sin(R),w=XI;return w[0]=S*F,w[1]=S*H,w[2]=P,w[3]=-v*H+L*P*F,w[4]=v*F+L*P*H,w[5]=-L*S,w[6]=-L*H-v*P*F,w[7]=L*F-v*P*H,w[8]=v*S,J.multiply(x,w,t)};const j_e=new oe;mi.pointToWindowCoordinates=function(e,t,n,i){return i=mi.pointToGLWindowCoordinates(e,t,n,i),i.y=2*t[5]-i.y,i};mi.pointToGLWindowCoordinates=function(e,t,n,i){if(!l(e))throw new E("modelViewProjectionMatrix is required.");if(!l(t))throw new E("viewportTransformation is required.");if(!l(n))throw new E("point is required.");l(i)||(i=new j);const o=j_e;return B.multiplyByVector(e,oe.fromElements(n.x,n.y,n.z,1,o),o),oe.multiplyByScalar(o,1/o.w,o),B.multiplyByVector(t,o,o),j.fromCartesian4(o,i)};const q_e=new d,Y_e=new d,$_e=new d;mi.rotationMatrixFromPositionVelocity=function(e,t,n,i){if(!l(e))throw new E("position is required.");if(!l(t))throw new E("velocity is required.");const o=A(n,pe.WGS84).geodeticSurfaceNormal(e,q_e);let r=d.cross(t,o,Y_e);d.equalsEpsilon(r,d.ZERO,N.EPSILON6)&&(r=d.clone(d.UNIT_X,r));const s=d.cross(r,t,$_e);return d.normalize(s,s),d.cross(t,s,r),d.negate(r,r),d.normalize(r,r),l(i)||(i=new J),i[0]=t.x,i[1]=t.y,i[2]=t.z,i[3]=r.x,i[4]=r.y,i[5]=r.z,i[6]=s.x,i[7]=s.y,i[8]=s.z,i};const Cj=new B(0,0,1,0,1,0,0,0,0,1,0,0,0,0,0,1),Tj=new be,Ej=new d,X_e=new d,K_e=new J,$L=new B,xj=new B;mi.basisTo2D=function(e,t,n){if(!l(e))throw new E("projection is required.");if(!l(t))throw new E("matrix is required.");if(!l(n))throw new E("result is required.");const i=B.getTranslation(t,X_e),o=e.ellipsoid,r=o.cartesianToCartographic(i,Tj),s=e.project(r,Ej);d.fromElements(s.z,s.x,s.y,s);const a=mi.eastNorthUpToFixedFrame(i,o,$L),c=B.inverseTransformation(a,xj),u=B.getMatrix3(t,K_e),f=B.multiplyByMatrix3(c,u,n);return B.multiply(Cj,f,n),B.setTranslation(n,s,n),n};mi.wgs84To2DModelMatrix=function(e,t,n){if(!l(e))throw new E("projection is required.");if(!l(t))throw new E("center is required.");if(!l(n))throw new E("result is required.");const i=e.ellipsoid,o=mi.eastNorthUpToFixedFrame(t,i,$L),r=B.inverseTransformation(o,xj),s=i.cartesianToCartographic(t,Tj),a=e.project(s,Ej);d.fromElements(a.z,a.x,a.y,a);const c=B.fromTranslation(a,$L);return B.multiply(Cj,r,n),B.multiply(c,n,n),n};const nn=mi;function Pt(e){e=A(e,A.EMPTY_OBJECT),T.typeOf.object("options.attributes",e.attributes),this.attributes=e.attributes,this.indices=e.indices,this.primitiveType=A(e.primitiveType,Qe.TRIANGLES),this.boundingSphere=e.boundingSphere,this.geometryType=A(e.geometryType,ly.NONE),this.boundingSphereCV=e.boundingSphereCV,this.offsetAttribute=e.offsetAttribute}Pt.computeNumberOfVertices=function(e){T.typeOf.object("geometry",e);let t=-1;for(const n in e.attributes)if(e.attributes.hasOwnProperty(n)&&l(e.attributes[n])&&l(e.attributes[n].values)){const i=e.attributes[n],o=i.values.length/i.componentsPerAttribute;if(t!==o&&t!==-1)throw new E("All attribute lists must have the same number of attributes.");t=o}return t};const J_e=new be,Q_e=new d,Kz=new B,Z_e=[new be,new be,new be],ege=[new j,new j,new j],tge=[new j,new j,new j],nge=new d,ige=new Ce,oge=new B,rge=new ct;Pt._textureCoordinateRotationPoints=function(e,t,n,i){let o;const r=_e.center(i,J_e),s=be.toCartesian(r,n,Q_e),a=nn.eastNorthUpToFixedFrame(s,n,Kz),c=B.inverse(a,Kz),u=ege,f=Z_e;f[0].longitude=i.west,f[0].latitude=i.south,f[1].longitude=i.west,f[1].latitude=i.north,f[2].longitude=i.east,f[2].latitude=i.south;let h=nge;for(o=0;o<3;o++)be.toCartesian(f[o],n,h),h=B.multiplyByPointAsVector(c,h,h),u[o].x=h.x,u[o].y=h.y;const _=Ce.fromAxisAngle(d.UNIT_Z,-t,ige),g=J.fromQuaternion(_,oge),p=e.length;let y=Number.POSITIVE_INFINITY,b=Number.POSITIVE_INFINITY,C=Number.NEGATIVE_INFINITY,x=Number.NEGATIVE_INFINITY;for(o=0;o4)throw new E("options.componentsPerAttribute must be between 1 and 4.");if(!l(e.values))throw new E("options.values is required.");this.componentDatatype=e.componentDatatype,this.componentsPerAttribute=e.componentsPerAttribute,this.normalize=A(e.normalize,!1),this.values=e.values}function Zy(e,t,n,i,o){this._format=e,this._datatype=t,this._width=n,this._height=i,this._buffer=o}Object.defineProperties(Zy.prototype,{internalFormat:{get:function(){return this._format}},pixelDatatype:{get:function(){return this._datatype}},width:{get:function(){return this._width}},height:{get:function(){return this._height}},bufferView:{get:function(){return this._buffer}}});Zy.clone=function(e){if(l(e))return new Zy(e._format,e._datatype,e._width,e._height,e._buffer)};Zy.prototype.clone=function(){return Zy.clone(this)};function wj(){if(!l(Ni._canTransferArrayBuffer)){const e=new Worker(vj("Workers/transferTypedArrayTest.js"));e.postMessage=A(e.webkitPostMessage,e.postMessage);const t=99,n=new Int8Array([t]);try{e.postMessage({array:n},[n.buffer])}catch{return Ni._canTransferArrayBuffer=!1,Ni._canTransferArrayBuffer}const i=Hp();e.onmessage=function(o){const r=o.data.array,s=l(r)&&r[0]===t;i.resolve(s),e.terminate(),Ni._canTransferArrayBuffer=s},Ni._canTransferArrayBuffer=i.promise}return Ni._canTransferArrayBuffer}const XL=new Xe;function Sj(e,t){--e._activeTasks;const n=t.id;if(!l(n))return;const i=e._deferreds,o=i[n];if(l(t.error)){let r=t.error;r.name==="RuntimeError"?(r=new De(t.error.message),r.stack=t.error.stack):r.name==="DeveloperError"&&(r=new E(t.error.message),r.stack=t.error.stack),XL.raiseEvent(r),o.reject(r)}else XL.raiseEvent(),o.resolve(t.result);delete i[n]}function vj(e){let t=pn(e);if(lj(t)){const n=`importScripts("${t}");`;let i;try{i=new Blob([n],{type:"application/javascript"})}catch{const s=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,a=new s;a.append(n),i=a.getBlob("application/javascript")}t=(window.URL||window.webkitURL).createObjectURL(i)}return t}let KI;function sge(){return l(KI)||(KI=vj("Workers/cesiumWorkerBootstrapper.js")),KI}function Dj(e){const t=new Worker(sge());t.postMessage=A(t.webkitPostMessage,t.postMessage);const n={loaderConfig:{paths:{Workers:pn("Workers")},baseUrl:pn.getCesiumBaseUrl().url},workerModule:e._workerPath};return t.postMessage(n),t.onmessage=function(i){Sj(e,i.data)},t}function age(e,t){const n={modulePath:void 0,wasmBinaryFile:void 0,wasmBinary:void 0};if(!dn.supportsWebAssembly()){if(!l(t.fallbackModulePath))throw new De(`This browser does not support Web Assembly, and no backup module was provided for ${e._workerPath}`);return n.modulePath=pn(t.fallbackModulePath),Promise.resolve(n)}return n.modulePath=pn(t.modulePath),n.wasmBinaryFile=pn(t.wasmBinaryFile),Me.fetchArrayBuffer({url:n.wasmBinaryFile}).then(function(i){return n.wasmBinary=i,n})}function Ni(e,t){const n=new ws(e);this._workerPath=n.scheme().length!==0&&n.fragment().length===0?e:Ni._workerModulePrefix+e,this._maximumActiveTasks=A(t,Number.POSITIVE_INFINITY),this._activeTasks=0,this._deferreds={},this._nextID=0}const cge=[];Ni.prototype.scheduleTask=function(e,t){if(l(this._worker)||(this._worker=Dj(this)),this._activeTasks>=this._maximumActiveTasks)return;++this._activeTasks;const n=this;return Promise.resolve(wj()).then(function(i){l(t)?i||(t.length=0):t=cge;const o=n._nextID++,r=Hp();return n._deferreds[o]=r,n._worker.postMessage({id:o,parameters:e,canTransferArrayBuffer:i},t),r.promise})};Ni.prototype.initWebAssemblyModule=function(e){l(this._worker)||(this._worker=Dj(this));const t=Hp(),n=this,i=this._worker;return age(this,e).then(function(o){return Promise.resolve(wj()).then(function(r){let s;const a=o.wasmBinary;l(a)&&r&&(s=[a]),i.onmessage=function(c){i.onmessage=function(u){Sj(n,u.data)},t.resolve(c.data)},i.postMessage({webAssemblyConfig:o},s)})}),t.promise};Ni.prototype.isDestroyed=function(){return!1};Ni.prototype.destroy=function(){return l(this._worker)&&this._worker.terminate(),He(this)};Ni.taskCompletedEvent=XL;Ni._defaultWorkerModulePrefix="Workers/";Ni._workerModulePrefix=Ni._defaultWorkerModulePrefix;Ni._canTransferArrayBuffer=void 0;function ld(){}ld._transcodeTaskProcessor=new Ni("transcodeKTX2",Number.POSITIVE_INFINITY);ld._readyPromise=void 0;function lge(){const e=ld._transcodeTaskProcessor.initWebAssemblyModule({modulePath:"ThirdParty/Workers/basis_transcoder.js",wasmBinaryFile:"ThirdParty/basis_transcoder.wasm"}).then(function(){return ld._transcodeTaskProcessor});ld._readyPromise=e}ld.transcode=function(e,t){return T.defined("supportedTargetFormats",t),l(ld._readyPromise)||lge(),ld._readyPromise.then(function(n){let i;if(e instanceof ArrayBuffer){const o=new Uint8Array(e);return i={supportedTargetFormats:t,ktx2Buffer:o},n.scheduleTask(i,[e])}return i={supportedTargetFormats:t,ktx2Buffer:e},n.scheduleTask(i,[e.buffer])}).then(function(n){const i=n.length,o=Object.keys(n[0]),r=o.length;let s;for(s=0;sthis._size)throw new E("xOffset + options.source.width must be less than or equal to width.");if(n+e.source.height>this._size)throw new E("yOffset + options.source.height must be less than or equal to height.");const i=e.source,o=this._context._gl,r=this._textureTarget,s=this._targetFace;o.activeTexture(o.TEXTURE0),o.bindTexture(r,this._texture);const a=i.width,c=i.height;let u=i.arrayBufferView;const f=this._size,h=this._pixelFormat,_=this._internalFormat,g=this._pixelDatatype,p=this._preMultiplyAlpha,y=this._flipY,b=A(e.skipColorSpaceConversion,!1);let C=4;l(u)&&(C=it.alignmentInBytes(h,g,a)),o.pixelStorei(o.UNPACK_ALIGNMENT,C),b?o.pixelStorei(o.UNPACK_COLORSPACE_CONVERSION_WEBGL,o.NONE):o.pixelStorei(o.UNPACK_COLORSPACE_CONVERSION_WEBGL,o.BROWSER_DEFAULT_WEBGL);let x=!1;if(!this._initialized){if(t===0&&n===0&&a===f&&c===f)l(u)?(o.pixelStorei(o.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),o.pixelStorei(o.UNPACK_FLIP_Y_WEBGL,!1),y&&(u=it.flipY(u,h,g,f,f)),o.texImage2D(s,0,_,f,f,0,h,Je.toWebGLConstant(g,this._context),u)):(o.pixelStorei(o.UNPACK_PREMULTIPLY_ALPHA_WEBGL,p),o.pixelStorei(o.UNPACK_FLIP_Y_WEBGL,y),o.texImage2D(s,0,_,h,Je.toWebGLConstant(g,this._context),i)),x=!0;else{o.pixelStorei(o.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),o.pixelStorei(o.UNPACK_FLIP_Y_WEBGL,!1);const S=it.createTypedArray(h,g,f,f);o.texImage2D(s,0,_,f,f,0,h,Je.toWebGLConstant(g,this._context),S)}this._initialized=!0}x||(l(u)?(o.pixelStorei(o.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),o.pixelStorei(o.UNPACK_FLIP_Y_WEBGL,!1),y&&(u=it.flipY(u,h,g,a,c)),o.texSubImage2D(s,0,t,n,a,c,h,Je.toWebGLConstant(g,this._context),u)):(o.pixelStorei(o.UNPACK_PREMULTIPLY_ALPHA_WEBGL,p),o.pixelStorei(o.UNPACK_FLIP_Y_WEBGL,y),o.texSubImage2D(s,0,t,n,h,Je.toWebGLConstant(g,this._context),i))),o.bindTexture(r,null)};$f.prototype.copyFromFramebuffer=function(e,t,n,i,o,r){if(e=A(e,0),t=A(t,0),n=A(n,0),i=A(i,0),o=A(o,this._size),r=A(r,this._size),T.typeOf.number.greaterThanOrEquals("xOffset",e,0),T.typeOf.number.greaterThanOrEquals("yOffset",t,0),T.typeOf.number.greaterThanOrEquals("framebufferXOffset",n,0),T.typeOf.number.greaterThanOrEquals("framebufferYOffset",i,0),e+o>this._size)throw new E("xOffset + source.width must be less than or equal to width.");if(t+r>this._size)throw new E("yOffset + source.height must be less than or equal to height.");if(this._pixelDatatype===Je.FLOAT)throw new E("Cannot call copyFromFramebuffer when the texture pixel data type is FLOAT.");if(this._pixelDatatype===Je.HALF_FLOAT)throw new E("Cannot call copyFromFramebuffer when the texture pixel data type is HALF_FLOAT.");const s=this._context._gl,a=this._textureTarget;s.activeTexture(s.TEXTURE0),s.bindTexture(a,this._texture),s.copyTexSubImage2D(this._targetFace,0,e,t,n,i,o,r),s.bindTexture(a,null),this._initialized=!0};const _w={DONT_CARE:ae.DONT_CARE,FASTEST:ae.FASTEST,NICEST:ae.NICEST,validate:function(e){return e===_w.DONT_CARE||e===_w.FASTEST||e===_w.NICEST}},e0=Object.freeze(_w),gw={NEAREST:ae.NEAREST,LINEAR:ae.LINEAR};gw.validate=function(e){return e===gw.NEAREST||e===gw.LINEAR};const qr=Object.freeze(gw),Lh={NEAREST:ae.NEAREST,LINEAR:ae.LINEAR,NEAREST_MIPMAP_NEAREST:ae.NEAREST_MIPMAP_NEAREST,LINEAR_MIPMAP_NEAREST:ae.LINEAR_MIPMAP_NEAREST,NEAREST_MIPMAP_LINEAR:ae.NEAREST_MIPMAP_LINEAR,LINEAR_MIPMAP_LINEAR:ae.LINEAR_MIPMAP_LINEAR};Lh.validate=function(e){return e===Lh.NEAREST||e===Lh.LINEAR||e===Lh.NEAREST_MIPMAP_NEAREST||e===Lh.LINEAR_MIPMAP_NEAREST||e===Lh.NEAREST_MIPMAP_LINEAR||e===Lh.LINEAR_MIPMAP_LINEAR};const Cn=Object.freeze(Lh),yw={CLAMP_TO_EDGE:ae.CLAMP_TO_EDGE,REPEAT:ae.REPEAT,MIRRORED_REPEAT:ae.MIRRORED_REPEAT,validate:function(e){return e===yw.CLAMP_TO_EDGE||e===yw.REPEAT||e===yw.MIRRORED_REPEAT}},Ii=Object.freeze(yw);function Kn(e){e=A(e,A.EMPTY_OBJECT);const t=A(e.wrapS,Ii.CLAMP_TO_EDGE),n=A(e.wrapT,Ii.CLAMP_TO_EDGE),i=A(e.minificationFilter,Cn.LINEAR),o=A(e.magnificationFilter,qr.LINEAR),r=l(e.maximumAnisotropy)?e.maximumAnisotropy:1;if(!Ii.validate(t))throw new E("Invalid sampler.wrapS.");if(!Ii.validate(n))throw new E("Invalid sampler.wrapT.");if(!Cn.validate(i))throw new E("Invalid sampler.minificationFilter.");if(!qr.validate(o))throw new E("Invalid sampler.magnificationFilter.");T.typeOf.number.greaterThanOrEquals("maximumAnisotropy",r,1),this._wrapS=t,this._wrapT=n,this._minificationFilter=i,this._magnificationFilter=o,this._maximumAnisotropy=r}Object.defineProperties(Kn.prototype,{wrapS:{get:function(){return this._wrapS}},wrapT:{get:function(){return this._wrapT}},minificationFilter:{get:function(){return this._minificationFilter}},magnificationFilter:{get:function(){return this._magnificationFilter}},maximumAnisotropy:{get:function(){return this._maximumAnisotropy}}});Kn.equals=function(e,t){return e===t||l(e)&&l(t)&&e._wrapS===t._wrapS&&e._wrapT===t._wrapT&&e._minificationFilter===t._minificationFilter&&e._magnificationFilter===t._magnificationFilter&&e._maximumAnisotropy===t._maximumAnisotropy};Kn.NEAREST=Object.freeze(new Kn({wrapS:Ii.CLAMP_TO_EDGE,wrapT:Ii.CLAMP_TO_EDGE,minificationFilter:Cn.NEAREST,magnificationFilter:qr.NEAREST}));function hu(e){e=A(e,A.EMPTY_OBJECT),T.defined("options.context",e.context);const t=e.context,n=e.source;let i,o;if(l(n)){const x=[n.positiveX,n.negativeX,n.positiveY,n.negativeY,n.positiveZ,n.negativeZ];if(!x[0]||!x[1]||!x[2]||!x[3]||!x[4]||!x[5])throw new E("options.source requires positiveX, negativeX, positiveY, negativeY, positiveZ, and negativeZ faces.");i=x[0].width,o=x[0].height;for(let S=1;S<6;++S)if(Number(x[S].width)!==i||Number(x[S].height)!==o)throw new E("Each face in options.source must have the same width and height.")}else i=e.width,o=e.height;const r=i,s=A(e.pixelDatatype,Je.UNSIGNED_BYTE),a=A(e.pixelFormat,it.RGBA),c=it.toInternalFormat(a,s,t);if(!l(i)||!l(o))throw new E("options requires a source field to create an initialized cube map or width and height fields to create a blank cube map.");if(i!==o)throw new E("Width must equal height.");if(r<=0)throw new E("Width and height must be greater than zero.");if(r>vt.maximumCubeMapSize)throw new E(`Width and height must be less than or equal to the maximum cube map size (${vt.maximumCubeMapSize}). Check maximumCubeMapSize.`);if(!it.validate(a))throw new E("Invalid options.pixelFormat.");if(it.isDepthFormat(a))throw new E("options.pixelFormat cannot be DEPTH_COMPONENT or DEPTH_STENCIL.");if(!Je.validate(s))throw new E("Invalid options.pixelDatatype.");if(s===Je.FLOAT&&!t.floatingPointTexture)throw new E("When options.pixelDatatype is FLOAT, this WebGL implementation must support the OES_texture_float extension.");if(s===Je.HALF_FLOAT&&!t.halfFloatingPointTexture)throw new E("When options.pixelDatatype is HALF_FLOAT, this WebGL implementation must support the OES_texture_half_float extension.");const u=it.textureSizeInBytes(a,s,r,r)*6,f=e.preMultiplyAlpha||a===it.RGB||a===it.LUMINANCE,h=A(e.flipY,!0),_=A(e.skipColorSpaceConversion,!1),g=t._gl,p=g.TEXTURE_CUBE_MAP,y=g.createTexture();g.activeTexture(g.TEXTURE0),g.bindTexture(p,y);function b(x,S,v,P,L){let z=S.arrayBufferView;l(z)||(z=S.bufferView);let R=4;l(z)&&(R=it.alignmentInBytes(a,s,i)),g.pixelStorei(g.UNPACK_ALIGNMENT,R),L?g.pixelStorei(g.UNPACK_COLORSPACE_CONVERSION_WEBGL,g.NONE):g.pixelStorei(g.UNPACK_COLORSPACE_CONVERSION_WEBGL,g.BROWSER_DEFAULT_WEBGL),l(z)?(g.pixelStorei(g.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),g.pixelStorei(g.UNPACK_FLIP_Y_WEBGL,!1),P&&(z=it.flipY(z,a,s,r,r)),g.texImage2D(x,0,c,r,r,0,a,Je.toWebGLConstant(s,t),z)):(g.pixelStorei(g.UNPACK_PREMULTIPLY_ALPHA_WEBGL,v),g.pixelStorei(g.UNPACK_FLIP_Y_WEBGL,P),g.texImage2D(x,0,c,a,Je.toWebGLConstant(s,t),S))}l(n)?(b(g.TEXTURE_CUBE_MAP_POSITIVE_X,n.positiveX,f,h,_),b(g.TEXTURE_CUBE_MAP_NEGATIVE_X,n.negativeX,f,h,_),b(g.TEXTURE_CUBE_MAP_POSITIVE_Y,n.positiveY,f,h,_),b(g.TEXTURE_CUBE_MAP_NEGATIVE_Y,n.negativeY,f,h,_),b(g.TEXTURE_CUBE_MAP_POSITIVE_Z,n.positiveZ,f,h,_),b(g.TEXTURE_CUBE_MAP_NEGATIVE_Z,n.negativeZ,f,h,_)):(g.texImage2D(g.TEXTURE_CUBE_MAP_POSITIVE_X,0,c,r,r,0,a,Je.toWebGLConstant(s,t),null),g.texImage2D(g.TEXTURE_CUBE_MAP_NEGATIVE_X,0,c,r,r,0,a,Je.toWebGLConstant(s,t),null),g.texImage2D(g.TEXTURE_CUBE_MAP_POSITIVE_Y,0,c,r,r,0,a,Je.toWebGLConstant(s,t),null),g.texImage2D(g.TEXTURE_CUBE_MAP_NEGATIVE_Y,0,c,r,r,0,a,Je.toWebGLConstant(s,t),null),g.texImage2D(g.TEXTURE_CUBE_MAP_POSITIVE_Z,0,c,r,r,0,a,Je.toWebGLConstant(s,t),null),g.texImage2D(g.TEXTURE_CUBE_MAP_NEGATIVE_Z,0,c,r,r,0,a,Je.toWebGLConstant(s,t),null)),g.bindTexture(p,null),this._context=t,this._textureFilterAnisotropic=t._textureFilterAnisotropic,this._textureTarget=p,this._texture=y,this._pixelFormat=a,this._pixelDatatype=s,this._size=r,this._hasMipmap=!1,this._sizeInBytes=u,this._preMultiplyAlpha=f,this._flipY=h,this._sampler=void 0;const C=l(n);this._positiveX=new $f(t,y,p,g.TEXTURE_CUBE_MAP_POSITIVE_X,c,a,s,r,f,h,C),this._negativeX=new $f(t,y,p,g.TEXTURE_CUBE_MAP_NEGATIVE_X,c,a,s,r,f,h,C),this._positiveY=new $f(t,y,p,g.TEXTURE_CUBE_MAP_POSITIVE_Y,c,a,s,r,f,h,C),this._negativeY=new $f(t,y,p,g.TEXTURE_CUBE_MAP_NEGATIVE_Y,c,a,s,r,f,h,C),this._positiveZ=new $f(t,y,p,g.TEXTURE_CUBE_MAP_POSITIVE_Z,c,a,s,r,f,h,C),this._negativeZ=new $f(t,y,p,g.TEXTURE_CUBE_MAP_NEGATIVE_Z,c,a,s,r,f,h,C),this.sampler=l(e.sampler)?e.sampler:new Kn}Object.defineProperties(hu.prototype,{positiveX:{get:function(){return this._positiveX}},negativeX:{get:function(){return this._negativeX}},positiveY:{get:function(){return this._positiveY}},negativeY:{get:function(){return this._negativeY}},positiveZ:{get:function(){return this._positiveZ}},negativeZ:{get:function(){return this._negativeZ}},sampler:{get:function(){return this._sampler},set:function(e){let t=e.minificationFilter,n=e.magnificationFilter;const i=t===Cn.NEAREST_MIPMAP_NEAREST||t===Cn.NEAREST_MIPMAP_LINEAR||t===Cn.LINEAR_MIPMAP_NEAREST||t===Cn.LINEAR_MIPMAP_LINEAR,o=this._context,r=this._pixelDatatype;(r===Je.FLOAT&&!o.textureFloatLinear||r===Je.HALF_FLOAT&&!o.textureHalfFloatLinear)&&(t=i?Cn.NEAREST_MIPMAP_NEAREST:Cn.NEAREST,n=qr.NEAREST);const s=o._gl,a=this._textureTarget;s.activeTexture(s.TEXTURE0),s.bindTexture(a,this._texture),s.texParameteri(a,s.TEXTURE_MIN_FILTER,t),s.texParameteri(a,s.TEXTURE_MAG_FILTER,n),s.texParameteri(a,s.TEXTURE_WRAP_S,e.wrapS),s.texParameteri(a,s.TEXTURE_WRAP_T,e.wrapT),l(this._textureFilterAnisotropic)&&s.texParameteri(a,this._textureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,e.maximumAnisotropy),s.bindTexture(a,null),this._sampler=e}},pixelFormat:{get:function(){return this._pixelFormat}},pixelDatatype:{get:function(){return this._pixelDatatype}},width:{get:function(){return this._size}},height:{get:function(){return this._size}},sizeInBytes:{get:function(){return this._hasMipmap?Math.floor(this._sizeInBytes*4/3):this._sizeInBytes}},preMultiplyAlpha:{get:function(){return this._preMultiplyAlpha}},flipY:{get:function(){return this._flipY}},_target:{get:function(){return this._textureTarget}}});hu.prototype.generateMipmap=function(e){if(e=A(e,e0.DONT_CARE),this._size>1&&!N.isPowerOfTwo(this._size))throw new E("width and height must be a power of two to call generateMipmap().");if(!e0.validate(e))throw new E("hint is invalid.");this._hasMipmap=!0;const t=this._context._gl,n=this._textureTarget;t.hint(t.GENERATE_MIPMAP_HINT,e),t.activeTexture(t.TEXTURE0),t.bindTexture(n,this._texture),t.generateMipmap(n),t.bindTexture(n,null)};hu.prototype.isDestroyed=function(){return!1};hu.prototype.destroy=function(){return this._context._gl.deleteTexture(this._texture),this._positiveX=He(this._positiveX),this._negativeX=He(this._negativeX),this._positiveY=He(this._positiveY),this._negativeY=He(this._negativeY),this._positiveZ=He(this._positiveZ),this._negativeZ=He(this._negativeZ),He(this)};function U_(e){this.context=e,this.framebuffer=void 0,this.blendingEnabled=void 0,this.scissorTest=void 0,this.viewport=void 0}function uge(e,t){const n=/#define OUTPUT_DECLARATION/,i=e.split(` -`);if(/#version 300 es/g.test(e))return e;let o=-1,r,s;for(r=0;r=0;v--)i.splice(C,0,`#endif //${x[v]}`)}const h="WEBGL_2",_=`#define ${h}`,g="#version 300 es";let p=!1;for(r=0;r=0}):n[h]=o.slice())}}return n}function JI(e,t,n){const i=`#extension\\s+GL_${e}\\s+:\\s+[a-zA-Z0-9]+\\s*$`;fge(new RegExp(i,"g"),"",n),Ru(`GL_${e}`,t,n)}const mge=`/** + */(function(e){(function(t,n){e.exports?e.exports=n(Oge(),Bge(),Nge()):t.URI=n(t.punycode,t.IPv6,t.SecondLevelDomains,t)})(Sy,function(t,n,i,o){var r=o&&o.URI;function s(_,D){var O=arguments.length>=1,N=arguments.length>=2;if(!(this instanceof s))return O?N?new s(_,D):new s(_):new s;if(_===void 0){if(O)throw new TypeError("undefined is not a valid argument for URI");typeof location<"u"?_=location.href+"":_=""}if(_===null&&O)throw new TypeError("null is not a valid argument for URI");return this.href(_),D!==void 0?this.absoluteTo(D):this}function a(_){return/^[0-9]+$/.test(_)}s.version="1.19.11";var c=s.prototype,u=Object.prototype.hasOwnProperty;function f(_){return _.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function h(_){return _===void 0?"Undefined":String(Object.prototype.toString.call(_)).slice(8,-1)}function m(_){return h(_)==="Array"}function g(_,D){var O={},N,V;if(h(D)==="RegExp")O=null;else if(m(D))for(N=0,V=D.length;N]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/ig,s.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},s.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,s.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,s.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},s.hostProtocols=["http","https"],s.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,s.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},s.getDomAttribute=function(_){if(!(!_||!_.nodeName)){var D=_.nodeName.toLowerCase();if(!(D==="input"&&_.type!=="image"))return s.domAttributes[D]}};function C(_){return escape(_)}function E(_){return encodeURIComponent(_).replace(/[!'()*]/g,C).replace(/\*/g,"%2A")}s.encode=E,s.decode=decodeURIComponent,s.iso8859=function(){s.encode=escape,s.decode=unescape},s.unicode=function(){s.encode=E,s.decode=decodeURIComponent},s.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/ig,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/ig,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/ig,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},s.encodeQuery=function(_,D){var O=s.encode(_+"");return D===void 0&&(D=s.escapeQuerySpace),D?O.replace(/%20/g,"+"):O},s.decodeQuery=function(_,D){_+="",D===void 0&&(D=s.escapeQuerySpace);try{return s.decode(D?_.replace(/\+/g,"%20"):_)}catch{return _}};var w={encode:"encode",decode:"decode"},S,P=function(_,D){return function(O){try{return s[D](O+"").replace(s.characters[_][D].expression,function(N){return s.characters[_][D].map[N]})}catch{return O}}};for(S in w)s[S+"PathSegment"]=P("pathname",w[S]),s[S+"UrnPathSegment"]=P("urnpath",w[S]);var L=function(_,D,O){return function(N){var V;O?V=function(K){return s[D](s[O](K))}:V=s[D];for(var k=(N+"").split(_),G=0,W=k.length;G-1&&(D.fragment=_.substring(O+1)||null,_=_.substring(0,O)),O=_.indexOf("?"),O>-1&&(D.query=_.substring(O+1)||null,_=_.substring(0,O)),_=_.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://"),_=_.replace(/^[/\\]{2,}/i,"//"),_.substring(0,2)==="//"?(D.protocol=null,_=_.substring(2),_=s.parseAuthority(_,D)):(O=_.indexOf(":"),O>-1&&(D.protocol=_.substring(0,O)||null,D.protocol&&!D.protocol.match(s.protocol_expression)?D.protocol=void 0:_.substring(O+1,O+3).replace(/\\/g,"/")==="//"?(_=_.substring(O+3),_=s.parseAuthority(_,D)):(_=_.substring(O+1),D.urn=!0))),D.path=_,D},s.parseHost=function(_,D){_||(_=""),_=_.replace(/\\/g,"/");var O=_.indexOf("/"),N,V;if(O===-1&&(O=_.length),_.charAt(0)==="[")N=_.indexOf("]"),D.hostname=_.substring(1,N)||null,D.port=_.substring(N+2,O)||null,D.port==="/"&&(D.port=null);else{var k=_.indexOf(":"),G=_.indexOf("/"),W=_.indexOf(":",k+1);W!==-1&&(G===-1||W-1?V:_.length-1),G;return k>-1&&(V===-1||k-1?X=X.slice(0,$)+X.slice($).replace(k,""):X=X.replace(k,""),!(X.length<=K[0].length)&&!(O.ignore&&O.ignore.test(X))){Y=q+X.length;var re=D(X,q,Y,_);if(re===void 0){N.lastIndex=Y;continue}re=String(re),_=_.slice(0,q)+re+_.slice(Y),N.lastIndex=q+re.length}}return N.lastIndex=0,_},s.ensureValidHostname=function(_,D){var O=!!_,N=!!D,V=!1;if(N&&(V=p(s.hostProtocols,D)),V&&!O)throw new TypeError("Hostname cannot be empty, if protocol is "+D);if(_&&_.match(s.invalid_hostname_characters)){if(!t)throw new TypeError('Hostname "'+_+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(t.toASCII(_).match(s.invalid_hostname_characters))throw new TypeError('Hostname "'+_+'" contains characters other than [A-Z0-9.-:_]')}},s.ensureValidPort=function(_){if(_){var D=Number(_);if(!(a(D)&&D>0&&D<65536))throw new TypeError('Port "'+_+'" is not a valid port')}},s.noConflict=function(_){if(_){var D={URI:this.noConflict()};return o.URITemplate&&typeof o.URITemplate.noConflict=="function"&&(D.URITemplate=o.URITemplate.noConflict()),o.IPv6&&typeof o.IPv6.noConflict=="function"&&(D.IPv6=o.IPv6.noConflict()),o.SecondLevelDomains&&typeof o.SecondLevelDomains.noConflict=="function"&&(D.SecondLevelDomains=o.SecondLevelDomains.noConflict()),D}else o.URI===this&&(o.URI=r);return this},c.build=function(_){return _===!0?this._deferred_build=!0:(_===void 0||this._deferred_build)&&(this._string=s.build(this._parts),this._deferred_build=!1),this},c.clone=function(){return new s(this)},c.valueOf=c.toString=function(){return this.build(!1)._string};function z(_){return function(D,O){return D===void 0?this._parts[_]||"":(this._parts[_]=D||null,this.build(!O),this)}}function R(_,D){return function(O,N){return O===void 0?this._parts[_]||"":(O!==null&&(O=O+"",O.charAt(0)===D&&(O=O.substring(1))),this._parts[_]=O,this.build(!N),this)}}c.protocol=z("protocol"),c.username=z("username"),c.password=z("password"),c.hostname=z("hostname"),c.port=z("port"),c.query=R("query","?"),c.fragment=R("fragment","#"),c.search=function(_,D){var O=this.query(_,D);return typeof O=="string"&&O.length?"?"+O:O},c.hash=function(_,D){var O=this.fragment(_,D);return typeof O=="string"&&O.length?"#"+O:O},c.pathname=function(_,D){if(_===void 0||_===!0){var O=this._parts.path||(this._parts.hostname?"/":"");return _?(this._parts.urn?s.decodeUrnPath:s.decodePath)(O):O}else return this._parts.urn?this._parts.path=_?s.recodeUrnPath(_):"":this._parts.path=_?s.recodePath(_):"/",this.build(!D),this},c.path=c.pathname,c.href=function(_,D){var O;if(_===void 0)return this.toString();this._string="",this._parts=s._parts();var N=_ instanceof s,V=typeof _=="object"&&(_.hostname||_.path||_.pathname);if(_.nodeName){var k=s.getDomAttribute(_);_=_[k]||"",V=!1}if(!N&&V&&_.pathname!==void 0&&(_=_.toString()),typeof _=="string"||_ instanceof String)this._parts=s.parse(String(_),this._parts);else if(N||V){var G=N?_._parts:_;for(O in G)O!=="query"&&u.call(this._parts,O)&&(this._parts[O]=G[O]);G.query&&this.query(G.query,!1)}else throw new TypeError("invalid input");return this.build(!D),this},c.is=function(_){var D=!1,O=!1,N=!1,V=!1,k=!1,G=!1,W=!1,K=!this._parts.urn;switch(this._parts.hostname&&(K=!1,O=s.ip4_expression.test(this._parts.hostname),N=s.ip6_expression.test(this._parts.hostname),D=O||N,V=!D,k=V&&i&&i.has(this._parts.hostname),G=V&&s.idn_expression.test(this._parts.hostname),W=V&&s.punycode_expression.test(this._parts.hostname)),_.toLowerCase()){case"relative":return K;case"absolute":return!K;case"domain":case"name":return V;case"sld":return k;case"ip":return D;case"ip4":case"ipv4":case"inet4":return O;case"ip6":case"ipv6":case"inet6":return N;case"idn":return G;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return W}return null};var F=c.protocol,U=c.port,v=c.hostname;c.protocol=function(_,D){if(_&&(_=_.replace(/:(\/\/)?$/,""),!_.match(s.protocol_expression)))throw new TypeError('Protocol "'+_+`" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]`);return F.call(this,_,D)},c.scheme=c.protocol,c.port=function(_,D){return this._parts.urn?_===void 0?"":this:(_!==void 0&&(_===0&&(_=null),_&&(_+="",_.charAt(0)===":"&&(_=_.substring(1)),s.ensureValidPort(_))),U.call(this,_,D))},c.hostname=function(_,D){if(this._parts.urn)return _===void 0?"":this;if(_!==void 0){var O={preventInvalidHostname:this._parts.preventInvalidHostname},N=s.parseHost(_,O);if(N!=="/")throw new TypeError('Hostname "'+_+'" contains characters other than [A-Z0-9.-]');_=O.hostname,this._parts.preventInvalidHostname&&s.ensureValidHostname(_,this._parts.protocol)}return v.call(this,_,D)},c.origin=function(_,D){if(this._parts.urn)return _===void 0?"":this;if(_===void 0){var O=this.protocol(),N=this.authority();return N?(O?O+"://":"")+this.authority():""}else{var V=s(_);return this.protocol(V.protocol()).authority(V.authority()).build(!D),this}},c.host=function(_,D){if(this._parts.urn)return _===void 0?"":this;if(_===void 0)return this._parts.hostname?s.buildHost(this._parts):"";var O=s.parseHost(_,this._parts);if(O!=="/")throw new TypeError('Hostname "'+_+'" contains characters other than [A-Z0-9.-]');return this.build(!D),this},c.authority=function(_,D){if(this._parts.urn)return _===void 0?"":this;if(_===void 0)return this._parts.hostname?s.buildAuthority(this._parts):"";var O=s.parseAuthority(_,this._parts);if(O!=="/")throw new TypeError('Hostname "'+_+'" contains characters other than [A-Z0-9.-]');return this.build(!D),this},c.userinfo=function(_,D){if(this._parts.urn)return _===void 0?"":this;if(_===void 0){var O=s.buildUserinfo(this._parts);return O&&O.substring(0,O.length-1)}else return _[_.length-1]!=="@"&&(_+="@"),s.parseUserinfo(_,this._parts),this.build(!D),this},c.resource=function(_,D){var O;return _===void 0?this.path()+this.search()+this.hash():(O=s.parse(_),this._parts.path=O.path,this._parts.query=O.query,this._parts.fragment=O.fragment,this.build(!D),this)},c.subdomain=function(_,D){if(this._parts.urn)return _===void 0?"":this;if(_===void 0){if(!this._parts.hostname||this.is("IP"))return"";var O=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,O)||""}else{var N=this._parts.hostname.length-this.domain().length,V=this._parts.hostname.substring(0,N),k=new RegExp("^"+f(V));if(_&&_.charAt(_.length-1)!=="."&&(_+="."),_.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");return _&&s.ensureValidHostname(_,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(k,_),this.build(!D),this}},c.domain=function(_,D){if(this._parts.urn)return _===void 0?"":this;if(typeof _=="boolean"&&(D=_,_=void 0),_===void 0){if(!this._parts.hostname||this.is("IP"))return"";var O=this._parts.hostname.match(/\./g);if(O&&O.length<2)return this._parts.hostname;var N=this._parts.hostname.length-this.tld(D).length-1;return N=this._parts.hostname.lastIndexOf(".",N-1)+1,this._parts.hostname.substring(N)||""}else{if(!_)throw new TypeError("cannot set domain empty");if(_.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");if(s.ensureValidHostname(_,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=_;else{var V=new RegExp(f(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(V,_)}return this.build(!D),this}},c.tld=function(_,D){if(this._parts.urn)return _===void 0?"":this;if(typeof _=="boolean"&&(D=_,_=void 0),_===void 0){if(!this._parts.hostname||this.is("IP"))return"";var O=this._parts.hostname.lastIndexOf("."),N=this._parts.hostname.substring(O+1);return D!==!0&&i&&i.list[N.toLowerCase()]&&i.get(this._parts.hostname)||N}else{var V;if(_)if(_.match(/[^a-zA-Z0-9-]/))if(i&&i.is(_))V=new RegExp(f(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(V,_);else throw new TypeError('TLD "'+_+'" contains characters other than [A-Z0-9]');else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");V=new RegExp(f(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(V,_)}else throw new TypeError("cannot set TLD empty");return this.build(!D),this}},c.directory=function(_,D){if(this._parts.urn)return _===void 0?"":this;if(_===void 0||_===!0){if(!this._parts.path&&!this._parts.hostname)return"";if(this._parts.path==="/")return"/";var O=this._parts.path.length-this.filename().length-1,N=this._parts.path.substring(0,O)||(this._parts.hostname?"/":"");return _?s.decodePath(N):N}else{var V=this._parts.path.length-this.filename().length,k=this._parts.path.substring(0,V),G=new RegExp("^"+f(k));return this.is("relative")||(_||(_="/"),_.charAt(0)!=="/"&&(_="/"+_)),_&&_.charAt(_.length-1)!=="/"&&(_+="/"),_=s.recodePath(_),this._parts.path=this._parts.path.replace(G,_),this.build(!D),this}},c.filename=function(_,D){if(this._parts.urn)return _===void 0?"":this;if(typeof _!="string"){if(!this._parts.path||this._parts.path==="/")return"";var O=this._parts.path.lastIndexOf("/"),N=this._parts.path.substring(O+1);return _?s.decodePathSegment(N):N}else{var V=!1;_.charAt(0)==="/"&&(_=_.substring(1)),_.match(/\.?\//)&&(V=!0);var k=new RegExp(f(this.filename())+"$");return _=s.recodePath(_),this._parts.path=this._parts.path.replace(k,_),V?this.normalizePath(D):this.build(!D),this}},c.suffix=function(_,D){if(this._parts.urn)return _===void 0?"":this;if(_===void 0||_===!0){if(!this._parts.path||this._parts.path==="/")return"";var O=this.filename(),N=O.lastIndexOf("."),V,k;return N===-1?"":(V=O.substring(N+1),k=/^[a-z0-9%]+$/i.test(V)?V:"",_?s.decodePathSegment(k):k)}else{_.charAt(0)==="."&&(_=_.substring(1));var G=this.suffix(),W;if(G)_?W=new RegExp(f(G)+"$"):W=new RegExp(f("."+G)+"$");else{if(!_)return this;this._parts.path+="."+s.recodePath(_)}return W&&(_=s.recodePath(_),this._parts.path=this._parts.path.replace(W,_)),this.build(!D),this}},c.segment=function(_,D,O){var N=this._parts.urn?":":"/",V=this.path(),k=V.substring(0,1)==="/",G=V.split(N);if(_!==void 0&&typeof _!="number"&&(O=D,D=_,_=void 0),_!==void 0&&typeof _!="number")throw new Error('Bad segment "'+_+'", must be 0-based integer');if(k&&G.shift(),_<0&&(_=Math.max(G.length+_,0)),D===void 0)return _===void 0?G:G[_];if(_===null||G[_]===void 0)if(m(D)){G=[];for(var W=0,K=D.length;W"u")return e;t=A(n.baseURI,n.location.href)}const i=new Ps(e);return i.scheme()!==""?i.toString():i.absoluteTo(t).toString()};function Fge(e,t){if(!l(e))throw new x("uri is required.");let n="";const i=e.lastIndexOf("/");return i!==-1&&(n=e.substring(0,i+1)),t&&(e=new Ps(e),e.query().length!==0&&(n+=`?${e.query()}`),e.fragment().length!==0&&(n+=`#${e.fragment()}`)),n}function zge(e){if(!l(e))throw new x("uri is required.");const t=new Ps(e);t.normalize();let n=t.path(),i=n.lastIndexOf("/");return i!==-1&&(n=n.substr(i+1)),i=n.lastIndexOf("."),i===-1?n="":n=n.substr(i+1),n}const iU={};function OS(e,t,n){l(t)||(t=e.width),l(n)||(n=e.height);let i=iU[t];l(i)||(i={},iU[t]=i);let o=i[n];if(!l(o)){const r=document.createElement("canvas");r.width=t,r.height=n,o=r.getContext("2d"),o.globalCompositeOperation="copy",i[n]=o}return o.drawImage(e,0,0,t,n),o.getImageData(0,0,t,n).data}const Uge=/^blob:/i;function Oj(e){return T.typeOf.string("uri",e),Uge.test(e)}let Ru;function Lj(e){l(Ru)||(Ru=document.createElement("a")),Ru.href=window.location.href;const t=Ru.host,n=Ru.protocol;return Ru.href=e,Ru.href=Ru.href,n!==Ru.protocol||t!==Ru.host}const Hge=/^data:/i;function XN(e){return T.typeOf.string("uri",e),Hge.test(e)}function Vge(e){const t=document.createElement("script");return t.async=!0,t.src=e,new Promise((n,i)=>{window.crossOriginIsolated&&t.setAttribute("crossorigin","anonymous");const o=document.getElementsByTagName("head")[0];t.onload=function(){t.onload=void 0,o.removeChild(t),n()},t.onerror=function(r){i(r)},o.appendChild(t)})}function kge(e){if(!l(e))throw new x("obj is required.");let t="";for(const n in e)if(e.hasOwnProperty(n)){const i=e[n],o=`${encodeURIComponent(n)}=`;if(Array.isArray(i))for(let r=0,s=i.length;r0){const s=o.substring(0,r),a=o.substring(r+2);t[s]=a}}return t}function n0(e,t,n){this.statusCode=e,this.response=t,this.responseHeaders=n,typeof this.responseHeaders=="string"&&(this.responseHeaders=qge(this.responseHeaders))}n0.prototype.toString=function(){let e="Request has failed.";return l(this.statusCode)&&(e+=` Status Code: ${this.statusCode}`),e};function Xe(){this._listeners=[],this._scopes=[],this._toRemove=[],this._insideRaiseEvent=!1}Object.defineProperties(Xe.prototype,{numberOfListeners:{get:function(){return this._listeners.length-this._toRemove.length}}});Xe.prototype.addEventListener=function(e,t){T.typeOf.func("listener",e),this._listeners.push(e),this._scopes.push(t);const n=this;return function(){n.removeEventListener(e,t)}};Xe.prototype.removeEventListener=function(e,t){T.typeOf.func("listener",e);const n=this._listeners,i=this._scopes;let o=-1;for(let r=0;r0){for(o.sort($ge),e=0;e=0;--t)this.heapify(t)};k_.prototype.insert=function(e){T.defined("element",e);const t=this._array,n=this._comparator,i=this._maximumLength;let o=this._length++;for(oi&&(r=t[i],this._length=i),r};k_.prototype.pop=function(e){if(e=A(e,0),this._length===0)return;T.typeOf.number.lessThan("index",e,this._length);const t=this._array,n=t[e];return KN(t,e,--this._length),this.heapify(e),t[this._length]=void 0,n};function Yge(e,t){return e.priority-t.priority}const xi={numberOfAttemptedRequests:0,numberOfActiveRequests:0,numberOfCancelledRequests:0,numberOfCancelledActiveRequests:0,numberOfFailedRequests:0,numberOfActiveRequestsEver:0,lastNumberOfActiveRequests:0};let vy=20;const Ks=new k_({comparator:Yge});Ks.maximumLength=vy;Ks.reserve(vy);const Yu=[];let Dd={};const Xge=typeof document<"u"?new Ps(document.location.href):new Ps,Kv=new Xe;function Ai(){}Ai.maximumRequests=50;Ai.maximumRequestsPerServer=6;Ai.requestsByServer={"api.cesium.com:443":18,"assets.cesium.com:443":18};Ai.throttleRequests=!0;Ai.debugShowStatistics=!1;Ai.requestCompletedEvent=Kv;Object.defineProperties(Ai,{statistics:{get:function(){return xi}},priorityHeapLength:{get:function(){return vy},set:function(e){if(ee;){const t=Ks.pop();r_(t)}vy=e,Ks.maximumLength=e,Ks.reserve(e)}}});function Bj(e){l(e.priorityFunction)&&(e.priority=e.priorityFunction())}Ai.serverHasOpenSlots=function(e,t){t=A(t,1);const n=A(Ai.requestsByServer[e],Ai.maximumRequestsPerServer);return Dd[e]+t<=n};Ai.heapHasOpenSlots=function(e){return Ks.length+e<=vy};function Rj(e){return e.state===vo.UNISSUED&&(e.state=vo.ISSUED,e.deferred=jp()),e.deferred.promise}function Kge(e){return function(t){if(e.state===vo.CANCELLED)return;const n=e.deferred;--xi.numberOfActiveRequests,--Dd[e.serverKey],Kv.raiseEvent(),e.state=vo.RECEIVED,e.deferred=void 0,n.resolve(t)}}function Jge(e){return function(t){e.state!==vo.CANCELLED&&(++xi.numberOfFailedRequests,--xi.numberOfActiveRequests,--Dd[e.serverKey],Kv.raiseEvent(t),e.state=vo.FAILED,e.deferred.reject(t))}}function Nj(e){const t=Rj(e);return e.state=vo.ACTIVE,Yu.push(e),++xi.numberOfActiveRequests,++xi.numberOfActiveRequestsEver,++Dd[e.serverKey],e.requestFunction().then(Kge(e)).catch(Jge(e)),t}function r_(e){const t=e.state===vo.ACTIVE;if(e.state=vo.CANCELLED,++xi.numberOfCancelledRequests,l(e.deferred)){const n=e.deferred;e.deferred=void 0,n.reject()}t&&(--xi.numberOfActiveRequests,--Dd[e.serverKey],++xi.numberOfCancelledActiveRequests),l(e.cancelFunction)&&e.cancelFunction()}Ai.update=function(){let e,t,n=0;const i=Yu.length;for(e=0;e0&&(Yu[e-n]=t)}Yu.length-=n;const o=Ks.internalArray,r=Ks.length;for(e=0;e0;){if(t=Ks.pop(),t.cancelled){r_(t);continue}if(t.throttleByServer&&!Ai.serverHasOpenSlots(t.serverKey)){r_(t);continue}Nj(t),++a}Qge()};Ai.getServerKey=function(e){T.typeOf.string("url",e);let t=new Ps(e);t.scheme()===""&&(t=new Ps(e).absoluteTo(Xge),t.normalize());let n=t.authority();/:/.test(n)||(n=`${n}:${t.scheme()==="https"?"443":"80"}`);const i=Dd[n];return l(i)||(Dd[n]=0),n};Ai.request=function(e){if(T.typeOf.object("request",e),T.typeOf.string("request.url",e.url),T.typeOf.func("request.requestFunction",e.requestFunction),XN(e.url)||Oj(e.url))return Kv.raiseEvent(),e.state=vo.RECEIVED,e.requestFunction();if(++xi.numberOfAttemptedRequests,l(e.serverKey)||(e.serverKey=Ai.getServerKey(e.url)),Ai.throttleRequests&&e.throttleByServer&&!Ai.serverHasOpenSlots(e.serverKey))return;if(!Ai.throttleRequests||!e.throttle)return Nj(e);if(Yu.length>=Ai.maximumRequests)return;Bj(e);const t=Ks.insert(e);if(l(t)){if(t===e)return;r_(t)}return Rj(e)};function Qge(){Ai.debugShowStatistics&&(xi.numberOfActiveRequests===0&&xi.lastNumberOfActiveRequests>0&&(xi.numberOfAttemptedRequests>0&&(console.log(`Number of attempted requests: ${xi.numberOfAttemptedRequests}`),xi.numberOfAttemptedRequests=0),xi.numberOfCancelledRequests>0&&(console.log(`Number of cancelled requests: ${xi.numberOfCancelledRequests}`),xi.numberOfCancelledRequests=0),xi.numberOfCancelledActiveRequests>0&&(console.log(`Number of cancelled active requests: ${xi.numberOfCancelledActiveRequests}`),xi.numberOfCancelledActiveRequests=0),xi.numberOfFailedRequests>0&&(console.log(`Number of failed requests: ${xi.numberOfFailedRequests}`),xi.numberOfFailedRequests=0)),xi.lastNumberOfActiveRequests=xi.numberOfActiveRequests)}Ai.clearForSpecs=function(){for(;Ks.length>0;){const t=Ks.pop();r_(t)}const e=Yu.length;for(let t=0;t0}}});Me.prototype.toString=function(){return this.getUrlComponent(!0,!0)};Me.prototype.getUrlComponent=function(e,t){if(this.isDataUri)return this._url;const n=new Ps(this._url);e&&eye(n,this);let i=n.toString().replace(/%7B/g,"{").replace(/%7D/g,"}");const o=this._templateValues;return i=i.replace(/{(.*?)}/g,function(r,s){const a=o[s];return l(a)?encodeURIComponent(a):r}),t&&l(this.proxy)&&(i=this.proxy.getURL(i)),i};Me.prototype.setQueryParameters=function(e,t){t?this._queryParameters=LS(this._queryParameters,e,!1):this._queryParameters=LS(e,this._queryParameters,!1)};Me.prototype.appendQueryParameters=function(e){this._queryParameters=LS(e,this._queryParameters,!0)};Me.prototype.setTemplateValues=function(e,t){t?this._templateValues=un(this._templateValues,e):this._templateValues=un(e,this._templateValues)};Me.prototype.getDerivedResource=function(e){const t=this.clone();if(t._retryCount=0,l(e.url)){const n=new Ps(e.url),i=A(e.preserveQueryParameters,!1);JN(n,t,!0,i),n.fragment(""),n.scheme()!==""?t._url=n.toString():t._url=n.absoluteTo(new Ps(eT(this._url))).toString()}return l(e.queryParameters)&&(t._queryParameters=un(e.queryParameters,t._queryParameters)),l(e.templateValues)&&(t._templateValues=un(e.templateValues,t.templateValues)),l(e.headers)&&(t.headers=un(e.headers,t.headers)),l(e.proxy)&&(t.proxy=e.proxy),l(e.request)&&(t.request=e.request),l(e.retryCallback)&&(t.retryCallback=e.retryCallback),l(e.retryAttempts)&&(t.retryAttempts=e.retryAttempts),t};Me.prototype.retryOnError=function(e){const t=this.retryCallback;if(typeof t!="function"||this._retryCount>=this.retryAttempts)return Promise.resolve(!1);const n=this;return Promise.resolve(t(this,e)).then(function(i){return++n._retryCount,i})};Me.prototype.clone=function(e){return l(e)||(e=new Me({url:this._url})),e._url=this._url,e._queryParameters=dt(this._queryParameters),e._templateValues=dt(this._templateValues),e.headers=dt(this.headers),e.proxy=this.proxy,e.retryCallback=this.retryCallback,e.retryAttempts=this.retryAttempts,e._retryCount=0,e.request=this.request.clone(),e};Me.prototype.getBaseUri=function(e){return Fge(this.getUrlComponent(e),e)};Me.prototype.appendForwardSlash=function(){this._url=Mge(this._url)};Me.prototype.fetchArrayBuffer=function(){return this.fetch({responseType:"arraybuffer"})};Me.fetchArrayBuffer=function(e){return new Me(e).fetchArrayBuffer()};Me.prototype.fetchBlob=function(){return this.fetch({responseType:"blob"})};Me.fetchBlob=function(e){return new Me(e).fetchBlob()};Me.prototype.fetchImage=function(e){e=A(e,A.EMPTY_OBJECT);const t=A(e.preferImageBitmap,!1),n=A(e.preferBlob,!1),i=A(e.flipY,!1),o=A(e.skipColorSpaceConversion,!1);if(QN(this.request),!Fj||this.isDataUri||this.isBlobUri||!this.hasHeaders&&!n)return KL({resource:this,flipY:i,skipColorSpaceConversion:o,preferImageBitmap:t});const r=this.fetchBlob();if(!l(r))return;let s,a,c,u;return Me.supportsImageBitmapOptions().then(function(f){return s=f,a=s&&t,r}).then(function(f){if(!l(f))return;if(u=f,a)return Me.createImageBitmapFromBlob(f,{flipY:i,premultiplyAlpha:!1,skipColorSpaceConversion:o});const h=window.URL.createObjectURL(f);return c=new Me({url:h}),KL({resource:c,flipY:i,skipColorSpaceConversion:o,preferImageBitmap:!1})}).then(function(f){if(l(f))return f.blob=u,a||window.URL.revokeObjectURL(c.url),f}).catch(function(f){return l(c)&&window.URL.revokeObjectURL(c.url),f.blob=u,Promise.reject(f)})};function KL(e){const t=e.resource,n=e.flipY,i=e.skipColorSpaceConversion,o=e.preferImageBitmap,r=t.request;r.url=t.url,r.requestFunction=function(){let a=!1;!t.isDataUri&&!t.isBlobUri&&(a=t.isCrossOriginUrl);const c=jp();return Me._Implementations.createImage(r,a,c,n,i,o),c.promise};const s=Ai.request(r);if(l(s))return s.catch(function(a){return r.state!==vo.FAILED?Promise.reject(a):t.retryOnError(a).then(function(c){return c?(r.state=vo.UNISSUED,r.deferred=void 0,KL({resource:t,flipY:n,skipColorSpaceConversion:i,preferImageBitmap:o})):Promise.reject(a)})})}Me.fetchImage=function(e){return new Me(e).fetchImage({flipY:e.flipY,skipColorSpaceConversion:e.skipColorSpaceConversion,preferBlob:e.preferBlob,preferImageBitmap:e.preferImageBitmap})};Me.prototype.fetchText=function(){return this.fetch({responseType:"text"})};Me.fetchText=function(e){return new Me(e).fetchText()};Me.prototype.fetchJson=function(){const e=this.fetch({responseType:"text",headers:{Accept:"application/json,*/*;q=0.01"}});if(l(e))return e.then(function(t){if(l(t))return JSON.parse(t)})};Me.fetchJson=function(e){return new Me(e).fetchJson()};Me.prototype.fetchXML=function(){return this.fetch({responseType:"document",overrideMimeType:"text/xml"})};Me.fetchXML=function(e){return new Me(e).fetchXML()};Me.prototype.fetchJsonp=function(e){e=A(e,"callback"),QN(this.request);let t;do t=`loadJsonp${M.nextRandomNumber().toString().substring(2,8)}`;while(l(window[t]));return zj(this,e,t)};function zj(e,t,n){const i={};i[t]=n,e.setQueryParameters(i);const o=e.request;o.url=e.url,o.requestFunction=function(){const s=jp();return window[n]=function(a){s.resolve(a);try{delete window[n]}catch{window[n]=void 0}},Me._Implementations.loadAndExecuteScript(e.url,n,s),s.promise};const r=Ai.request(o);if(l(r))return r.catch(function(s){return o.state!==vo.FAILED?Promise.reject(s):e.retryOnError(s).then(function(a){return a?(o.state=vo.UNISSUED,o.deferred=void 0,zj(e,t,n)):Promise.reject(s)})})}Me.fetchJsonp=function(e){return new Me(e).fetchJsonp(e.callbackParameterName)};Me.prototype._makeRequest=function(e){const t=this;QN(t.request);const n=t.request;n.url=t.url,n.requestFunction=function(){const o=e.responseType,r=un(e.headers,t.headers),s=e.overrideMimeType,a=e.method,c=e.data,u=jp(),f=Me._Implementations.loadWithXhr(t.url,o,a,c,r,u,s);return l(f)&&l(f.abort)&&(n.cancelFunction=function(){f.abort()}),u.promise};const i=Ai.request(n);if(l(i))return i.then(function(o){return n.cancelFunction=void 0,o}).catch(function(o){return n.cancelFunction=void 0,n.state!==vo.FAILED?Promise.reject(o):t.retryOnError(o).then(function(r){return r?(n.state=vo.UNISSUED,n.deferred=void 0,t.fetch(e)):Promise.reject(o)})})};const tye=/^data:(.*?)(;base64)?,(.*)$/;function Tw(e,t){const n=decodeURIComponent(t);return e?atob(n):n}function oU(e,t){const n=Tw(e,t),i=new ArrayBuffer(n.length),o=new Uint8Array(i);for(let r=0;rimport("./__vite-browser-external-b25bb000.js"),[]),wE(()=>import("./__vite-browser-external-b25bb000.js"),[])]).then(([u,f])=>(a=u.parse(e),c=f,a.protocol==="https:"?wE(()=>import("./__vite-browser-external-b25bb000.js"),[]):wE(()=>import("./__vite-browser-external-b25bb000.js"),[]))).then(u=>{const f={protocol:a.protocol,hostname:a.hostname,port:a.port,path:a.path,query:a.query,method:n,headers:o};u.request(f).on("response",function(h){if(h.statusCode<200||h.statusCode>=300){r.reject(new n0(h.statusCode,h,h.headers));return}const m=[];h.on("data",function(g){m.push(g)}),h.on("end",function(){const g=Buffer.concat(m);h.headers["content-encoding"]==="gzip"?c.gunzip(g,function(p,y){p?r.reject(new Ie("Error decompressing response.")):r.resolve(rU(y,t))}):r.resolve(rU(g,t))})}).on("error",function(h){r.reject(new n0)}).end()})}const oye=typeof XMLHttpRequest>"u";Me._Implementations.loadWithXhr=function(e,t,n,i,o,r,s){const a=tye.exec(e);if(a!==null){r.resolve(nye(a,t));return}if(oye){iye(e,t,n,i,o,r);return}const c=new XMLHttpRequest;if(Mj.contains(e)&&(c.withCredentials=!0),c.open(n,e,!0),l(s)&&l(c.overrideMimeType)&&c.overrideMimeType(s),l(o))for(const f in o)o.hasOwnProperty(f)&&c.setRequestHeader(f,o[f]);l(t)&&(c.responseType=t);let u=!1;return typeof e=="string"&&(u=e.indexOf("file://")===0||typeof window<"u"&&window.location.origin==="file://"),c.onload=function(){if((c.status<200||c.status>=300)&&!(u&&c.status===0)){r.reject(new n0(c.status,c.response,c.getAllResponseHeaders()));return}const f=c.response,h=c.responseType;if(n==="HEAD"||n==="OPTIONS"){const g=c.getAllResponseHeaders().trim().split(/[\r\n]+/),p={};g.forEach(function(y){const b=y.split(": "),C=b.shift();p[C]=b.join(": ")}),r.resolve(p);return}if(c.status===204)r.resolve();else if(l(f)&&(!l(t)||h===t))r.resolve(f);else if(t==="json"&&typeof f=="string")try{r.resolve(JSON.parse(f))}catch(m){r.reject(m)}else(h===""||h==="document")&&l(c.responseXML)&&c.responseXML.hasChildNodes()?r.resolve(c.responseXML):(h===""||h==="text")&&l(c.responseText)?r.resolve(c.responseText):r.reject(new Ie("Invalid XMLHttpRequest response type."))},c.onerror=function(f){r.reject(new n0)},c.send(i),c};Me._Implementations.loadAndExecuteScript=function(e,t,n){return Vge(e).catch(function(i){n.reject(i)})};Me._DefaultImplementations={};Me._DefaultImplementations.createImage=Me._Implementations.createImage;Me._DefaultImplementations.loadWithXhr=Me._Implementations.loadWithXhr;Me._DefaultImplementations.loadAndExecuteScript=Me._Implementations.loadAndExecuteScript;Me.DEFAULT=Object.freeze(new Me({url:typeof document>"u"?"":document.location.href.split("?")[0]}));function aC(e){e=A(e,A.EMPTY_OBJECT),this._dates=void 0,this._samples=void 0,this._dateColumn=-1,this._xPoleWanderRadiansColumn=-1,this._yPoleWanderRadiansColumn=-1,this._ut1MinusUtcSecondsColumn=-1,this._xCelestialPoleOffsetRadiansColumn=-1,this._yCelestialPoleOffsetRadiansColumn=-1,this._taiMinusUtcSecondsColumn=-1,this._columnCount=0,this._lastIndex=-1,this._addNewLeapSeconds=A(e.addNewLeapSeconds,!0),l(e.data)?sU(this,e.data):sU(this,{columnNames:["dateIso8601","modifiedJulianDateUtc","xPoleWanderRadians","yPoleWanderRadians","ut1MinusUtcSeconds","lengthOfDayCorrectionSeconds","xCelestialPoleOffsetRadians","yCelestialPoleOffsetRadians","taiMinusUtcSeconds"],samples:[]})}aC.fromUrl=async function(e,t){T.defined("url",e),t=A(t,A.EMPTY_OBJECT);const n=Me.createIfNeeded(e);let i;try{i=await n.fetchJson()}catch{throw new Ie(`An error occurred while retrieving the EOP data from the URL ${n.url}.`)}return new aC({addNewLeapSeconds:t.addNewLeapSeconds,data:i})};aC.NONE=Object.freeze({compute:function(e,t){return l(t)?(t.xPoleWander=0,t.yPoleWander=0,t.xPoleOffset=0,t.yPoleOffset=0,t.ut1MinusUtc=0):t=new jN(0,0,0,0,0),t}});aC.prototype.compute=function(e,t){if(!l(this._samples))return;if(l(t)||(t=new jN(0,0,0,0,0)),this._samples.length===0)return t.xPoleWander=0,t.yPoleWander=0,t.xPoleOffset=0,t.yPoleOffset=0,t.ut1MinusUtc=0,t;const n=this._dates,i=this._lastIndex;let o=0,r=0;if(l(i)){const a=n[i],c=n[i+1],u=ie.lessThanOrEquals(a,e),f=!l(c),h=f||ie.greaterThanOrEquals(c,e);if(u&&h)return o=i,!f&&c.equals(e)&&++o,r=o+1,cU(this,n,this._samples,e,o,r,t),t}let s=Is(n,e,ie.compare,this._dateColumn);return s>=0?(st.length-1)return s.xPoleWander=0,s.yPoleWander=0,s.xPoleOffset=0,s.yPoleOffset=0,s.ut1MinusUtc=0,s;const c=t[o],u=t[r];if(c.equals(u)||i.equals(c))return aU(e,n,o,a,s),s;if(i.equals(u))return aU(e,n,r,a,s),s;const f=ie.secondsDifference(i,c)/ie.secondsDifference(u,c),h=o*a,m=r*a;let g=n[h+e._ut1MinusUtcSecondsColumn],p=n[m+e._ut1MinusUtcSecondsColumn];const y=p-g;if(y>.5||y<-.5){const b=n[h+e._taiMinusUtcSecondsColumn],C=n[m+e._taiMinusUtcSecondsColumn];b!==C&&(u.equals(i)?g=p:p-=C-b)}return s.xPoleWander=tA(f,n[h+e._xPoleWanderRadiansColumn],n[m+e._xPoleWanderRadiansColumn]),s.yPoleWander=tA(f,n[h+e._yPoleWanderRadiansColumn],n[m+e._yPoleWanderRadiansColumn]),s.xPoleOffset=tA(f,n[h+e._xCelestialPoleOffsetRadiansColumn],n[m+e._xCelestialPoleOffsetRadiansColumn]),s.yPoleOffset=tA(f,n[h+e._yCelestialPoleOffsetRadiansColumn],n[m+e._yCelestialPoleOffsetRadiansColumn]),s.ut1MinusUtc=tA(f,g,p),s}function Yr(e,t,n){this.heading=A(e,0),this.pitch=A(t,0),this.roll=A(n,0)}Yr.fromQuaternion=function(e,t){if(!l(e))throw new x("quaternion is required");l(t)||(t=new Yr);const n=2*(e.w*e.y-e.z*e.x),i=1-2*(e.x*e.x+e.y*e.y),o=2*(e.w*e.x+e.y*e.z),r=1-2*(e.y*e.y+e.z*e.z),s=2*(e.w*e.z+e.x*e.y);return t.heading=-Math.atan2(s,r),t.roll=Math.atan2(o,i),t.pitch=-M.asinClamped(n),t};Yr.fromDegrees=function(e,t,n,i){if(!l(e))throw new x("heading is required");if(!l(t))throw new x("pitch is required");if(!l(n))throw new x("roll is required");return l(i)||(i=new Yr),i.heading=e*M.RADIANS_PER_DEGREE,i.pitch=t*M.RADIANS_PER_DEGREE,i.roll=n*M.RADIANS_PER_DEGREE,i};Yr.clone=function(e,t){if(l(e))return l(t)?(t.heading=e.heading,t.pitch=e.pitch,t.roll=e.roll,t):new Yr(e.heading,e.pitch,e.roll)};Yr.equals=function(e,t){return e===t||l(e)&&l(t)&&e.heading===t.heading&&e.pitch===t.pitch&&e.roll===t.roll};Yr.equalsEpsilon=function(e,t,n,i){return e===t||l(e)&&l(t)&&M.equalsEpsilon(e.heading,t.heading,n,i)&&M.equalsEpsilon(e.pitch,t.pitch,n,i)&&M.equalsEpsilon(e.roll,t.roll,n,i)};Yr.prototype.clone=function(e){return Yr.clone(this,e)};Yr.prototype.equals=function(e){return Yr.equals(this,e)};Yr.prototype.equalsEpsilon=function(e,t,n){return Yr.equalsEpsilon(this,e,t,n)};Yr.prototype.toString=function(){return`(${this.heading}, ${this.pitch}, ${this.roll})`};const Uj=/((?:.*\/)|^)Cesium\.js(?:\?|\#|$)/;function sye(){const e=document.getElementsByTagName("script");for(let t=0,n=e.length;t"u"?e:(l(Cg)||(Cg=document.createElement("a")),Cg.href=e,Cg.href=Cg.href,Cg.href)}let km;function Vj(){if(l(km))return km;let e;if(typeof CESIUM_BASE_URL<"u"?e=CESIUM_BASE_URL:typeof define=="object"&&l(define.amd)&&!define.amd.toUrlUndefined&&l(require.toUrl)?e=eT("..",_n("Core/buildModuleUrl.js")):e=sye(),!l(e))throw new x("Unable to determine Cesium base URL automatically, try defining a global variable called CESIUM_BASE_URL.");return km=new Me({url:Hj(e)}),km.appendForwardSlash(),km}function aye(e){return Hj(require.toUrl(`../${e}`))}function kj(e){return Vj().getDerivedResource({url:e}).url}let SE;function _n(e){return l(SE)||(typeof define=="object"&&l(define.amd)&&!define.amd.toUrlUndefined&&l(require.toUrl)?SE=aye:SE=kj),SE(e)}_n._cesiumScriptRegex=Uj;_n._buildModuleUrlFromBaseUrl=kj;_n._clearBaseResource=function(){km=void 0};_n.setBaseUrl=function(e){km=Me.DEFAULT.getDerivedResource({url:e})};_n.getCesiumBaseUrl=Vj;function Gj(e,t,n){this.x=e,this.y=t,this.s=n}function ZN(e){e=A(e,A.EMPTY_OBJECT),this._xysFileUrlTemplate=Me.createIfNeeded(e.xysFileUrlTemplate),this._interpolationOrder=A(e.interpolationOrder,9),this._sampleZeroJulianEphemerisDate=A(e.sampleZeroJulianEphemerisDate,24423965e-1),this._sampleZeroDateTT=new ie(this._sampleZeroJulianEphemerisDate,0,qn.TAI),this._stepSizeDays=A(e.stepSizeDays,1),this._samplesPerXysFile=A(e.samplesPerXysFile,1e3),this._totalSamples=A(e.totalSamples,27426),this._samples=new Array(this._totalSamples*3),this._chunkDownloadsInProgress=[];const t=this._interpolationOrder,n=this._denominators=new Array(t+1),i=this._xTable=new Array(t+1),o=Math.pow(this._stepSizeDays,t);for(let r=0;r<=t;++r){n[r]=o,i[r]=r*this._stepSizeDays;for(let s=0;s<=t;++s)s!==r&&(n[r]*=r-s);n[r]=1/n[r]}this._work=new Array(t+1),this._coef=new Array(t+1)}const cye=new ie(0,0,qn.TAI);function JL(e,t,n){const i=cye;return i.dayNumber=t,i.secondsOfDay=n,ie.daysDifference(i,e._sampleZeroDateTT)}ZN.prototype.preload=function(e,t,n,i){const o=JL(this,e,t),r=JL(this,n,i);let s=o/this._stepSizeDays-this._interpolationOrder/2|0;s<0&&(s=0);let a=r/this._stepSizeDays-this._interpolationOrder/2|0+this._interpolationOrder;a>=this._totalSamples&&(a=this._totalSamples-1);const c=s/this._samplesPerXysFile|0,u=a/this._samplesPerXysFile|0,f=[];for(let h=c;h<=u;++h)f.push(QL(this,h));return Promise.all(f)};ZN.prototype.computeXysRadians=function(e,t,n){const i=JL(this,e,t);if(i<0)return;const o=i/this._stepSizeDays|0;if(o>=this._totalSamples)return;const r=this._interpolationOrder;let s=o-(r/2|0);s<0&&(s=0);let a=s+r;a>=this._totalSamples&&(a=this._totalSamples-1,s=a-r,s<0&&(s=0));let c=!1;const u=this._samples;if(l(u[s*3])||(QL(this,s/this._samplesPerXysFile|0),c=!0),l(u[a*3])||(QL(this,a/this._samplesPerXysFile|0),c=!0),c)return;l(n)?(n.x=0,n.y=0,n.s=0):n=new Gj(0,0,0);const f=i-s*this._stepSizeDays,h=this._work,m=this._denominators,g=this._coef,p=this._xTable;let y,b;for(y=0;y<=r;++y)h[y]=f-p[y];for(y=0;y<=r;++y){for(g[y]=1,b=0;b<=r;++b)b!==y&&(g[y]*=h[b]);g[y]*=m[y];let C=(s+y)*3;n.x+=g[y]*u[C++],n.y+=g[y]*u[C++],n.s+=g[y]*u[C]}return n};function QL(e,t){if(e._chunkDownloadsInProgress[t])return e._chunkDownloadsInProgress[t];let n;const i=e._xysFileUrlTemplate;l(i)?n=i.getDerivedResource({templateValues:{0:t}}):n=new Me({url:_n(`Assets/IAU2006_XYS/IAU2006_XYS_${t}.json`)});const o=n.fetchJson().then(function(r){e._chunkDownloadsInProgress[t]=!1;const s=e._samples,a=r.samples,c=t*e._samplesPerXysFile*3;for(let u=0,f=a.length;u=43200?o=(r+.5)/Ri.DAYS_PER_JULIAN_CENTURY:o=(r-.5)/Ri.DAYS_PER_JULIAN_CENTURY;const a=(Aye+o*(bye+o*(Cye+o*Tye)))*wye%M.TWO_PI,c=xye+Eye*(n-24515455e-1),u=(i+Ri.SECONDS_PER_DAY*.5)%Ri.SECONDS_PER_DAY,f=a+c*u,h=Math.cos(f),m=Math.sin(f);return l(t)?(t[0]=h,t[1]=-m,t[2]=0,t[3]=m,t[4]=h,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t):new J(h,m,0,-m,h,0,0,0,1)};Ci.iau2006XysData=new ZN;Ci.earthOrientationParameters=aC.NONE;const ZL=32.184,Sye=2451545;Ci.preloadIcrfFixed=function(e){const t=e.start.dayNumber,n=e.start.secondsOfDay+ZL,i=e.stop.dayNumber,o=e.stop.secondsOfDay+ZL;return Ci.iau2006XysData.preload(t,n,i,o)};Ci.computeIcrfToFixedMatrix=function(e,t){if(!l(e))throw new x("date is required.");l(t)||(t=new J);const n=Ci.computeFixedToIcrfMatrix(e,t);if(l(n))return J.transpose(n,t)};const vye=new Gj(0,0,0),Dye=new jN(0,0,0,0,0),t1=new J,n1=new J;Ci.computeFixedToIcrfMatrix=function(e,t){if(!l(e))throw new x("date is required.");l(t)||(t=new J);const n=Ci.earthOrientationParameters.compute(e,Dye);if(!l(n))return;const i=e.dayNumber,o=e.secondsOfDay+ZL,r=Ci.iau2006XysData.computeXysRadians(i,o,vye);if(!l(r))return;const s=r.x+n.xPoleOffset,a=r.y+n.yPoleOffset,c=1/(1+Math.sqrt(1-s*s-a*a)),u=t1;u[0]=1-c*s*s,u[3]=-c*s*a,u[6]=s,u[1]=-c*s*a,u[4]=1-c*a*a,u[7]=a,u[2]=-s,u[5]=-a,u[8]=1-c*(s*s+a*a);const f=J.fromRotationZ(-r.s,n1),h=J.multiply(u,f,t1),m=e.dayNumber,g=e.secondsOfDay-ie.computeTaiMinusUtc(e)+n.ut1MinusUtc,p=m-2451545,y=g/Ri.SECONDS_PER_DAY;let b=.779057273264+y+.00273781191135448*(p+y);b=b%1*M.TWO_PI;const C=J.fromRotationZ(b,n1),E=J.multiply(h,C,t1),w=Math.cos(n.xPoleWander),S=Math.cos(n.yPoleWander),P=Math.sin(n.xPoleWander),L=Math.sin(n.yPoleWander);let z=i-Sye+o/Ri.SECONDS_PER_DAY;z/=36525;const R=-47e-6*z*M.RADIANS_PER_DEGREE/3600,F=Math.cos(R),U=Math.sin(R),v=n1;return v[0]=w*F,v[1]=w*U,v[2]=P,v[3]=-S*U+L*P*F,v[4]=S*F+L*P*U,v[5]=-L*w,v[6]=-L*U-S*P*F,v[7]=L*F-S*P*U,v[8]=S*w,J.multiply(E,v,t)};const Iye=new oe;Ci.pointToWindowCoordinates=function(e,t,n,i){return i=Ci.pointToGLWindowCoordinates(e,t,n,i),i.y=2*t[5]-i.y,i};Ci.pointToGLWindowCoordinates=function(e,t,n,i){if(!l(e))throw new x("modelViewProjectionMatrix is required.");if(!l(t))throw new x("viewportTransformation is required.");if(!l(n))throw new x("point is required.");l(i)||(i=new j);const o=Iye;return B.multiplyByVector(e,oe.fromElements(n.x,n.y,n.z,1,o),o),oe.multiplyByScalar(o,1/o.w,o),B.multiplyByVector(t,o,o),j.fromCartesian4(o,i)};const Pye=new d,Oye=new d,Lye=new d;Ci.rotationMatrixFromPositionVelocity=function(e,t,n,i){if(!l(e))throw new x("position is required.");if(!l(t))throw new x("velocity is required.");const o=A(n,me.WGS84).geodeticSurfaceNormal(e,Pye);let r=d.cross(t,o,Oye);d.equalsEpsilon(r,d.ZERO,M.EPSILON6)&&(r=d.clone(d.UNIT_X,r));const s=d.cross(r,t,Lye);return d.normalize(s,s),d.cross(t,s,r),d.negate(r,r),d.normalize(r,r),l(i)||(i=new J),i[0]=t.x,i[1]=t.y,i[2]=t.z,i[3]=r.x,i[4]=r.y,i[5]=r.z,i[6]=s.x,i[7]=s.y,i[8]=s.z,i};const Wj=new B(0,0,1,0,1,0,0,0,0,1,0,0,0,0,0,1),jj=new Ce,qj=new d,Bye=new d,Rye=new J,eB=new B,$j=new B;Ci.basisTo2D=function(e,t,n){if(!l(e))throw new x("projection is required.");if(!l(t))throw new x("matrix is required.");if(!l(n))throw new x("result is required.");const i=B.getTranslation(t,Bye),o=e.ellipsoid,r=o.cartesianToCartographic(i,jj),s=e.project(r,qj);d.fromElements(s.z,s.x,s.y,s);const a=Ci.eastNorthUpToFixedFrame(i,o,eB),c=B.inverseTransformation(a,$j),u=B.getMatrix3(t,Rye),f=B.multiplyByMatrix3(c,u,n);return B.multiply(Wj,f,n),B.setTranslation(n,s,n),n};Ci.wgs84To2DModelMatrix=function(e,t,n){if(!l(e))throw new x("projection is required.");if(!l(t))throw new x("center is required.");if(!l(n))throw new x("result is required.");const i=e.ellipsoid,o=Ci.eastNorthUpToFixedFrame(t,i,eB),r=B.inverseTransformation(o,$j),s=i.cartesianToCartographic(t,jj),a=e.project(s,qj);d.fromElements(a.z,a.x,a.y,a);const c=B.fromTranslation(a,eB);return B.multiply(Wj,r,n),B.multiply(c,n,n),n};const sn=Ci;function Lt(e){e=A(e,A.EMPTY_OBJECT),T.typeOf.object("options.attributes",e.attributes),this.attributes=e.attributes,this.indices=e.indices,this.primitiveType=A(e.primitiveType,Qe.TRIANGLES),this.boundingSphere=e.boundingSphere,this.geometryType=A(e.geometryType,py.NONE),this.boundingSphereCV=e.boundingSphereCV,this.offsetAttribute=e.offsetAttribute}Lt.computeNumberOfVertices=function(e){T.typeOf.object("geometry",e);let t=-1;for(const n in e.attributes)if(e.attributes.hasOwnProperty(n)&&l(e.attributes[n])&&l(e.attributes[n].values)){const i=e.attributes[n],o=i.values.length/i.componentsPerAttribute;if(t!==o&&t!==-1)throw new x("All attribute lists must have the same number of attributes.");t=o}return t};const Nye=new Ce,Mye=new d,uU=new B,Fye=[new Ce,new Ce,new Ce],zye=[new j,new j,new j],Uye=[new j,new j,new j],Hye=new d,Vye=new Te,kye=new B,Gye=new ut;Lt._textureCoordinateRotationPoints=function(e,t,n,i){let o;const r=ge.center(i,Nye),s=Ce.toCartesian(r,n,Mye),a=sn.eastNorthUpToFixedFrame(s,n,uU),c=B.inverse(a,uU),u=zye,f=Fye;f[0].longitude=i.west,f[0].latitude=i.south,f[1].longitude=i.west,f[1].latitude=i.north,f[2].longitude=i.east,f[2].latitude=i.south;let h=Hye;for(o=0;o<3;o++)Ce.toCartesian(f[o],n,h),h=B.multiplyByPointAsVector(c,h,h),u[o].x=h.x,u[o].y=h.y;const m=Te.fromAxisAngle(d.UNIT_Z,-t,Vye),g=J.fromQuaternion(m,kye),p=e.length;let y=Number.POSITIVE_INFINITY,b=Number.POSITIVE_INFINITY,C=Number.NEGATIVE_INFINITY,E=Number.NEGATIVE_INFINITY;for(o=0;o4)throw new x("options.componentsPerAttribute must be between 1 and 4.");if(!l(e.values))throw new x("options.values is required.");this.componentDatatype=e.componentDatatype,this.componentsPerAttribute=e.componentsPerAttribute,this.normalize=A(e.normalize,!1),this.values=e.values}function o0(e,t,n,i,o){this._format=e,this._datatype=t,this._width=n,this._height=i,this._buffer=o}Object.defineProperties(o0.prototype,{internalFormat:{get:function(){return this._format}},pixelDatatype:{get:function(){return this._datatype}},width:{get:function(){return this._width}},height:{get:function(){return this._height}},bufferView:{get:function(){return this._buffer}}});o0.clone=function(e){if(l(e))return new o0(e._format,e._datatype,e._width,e._height,e._buffer)};o0.prototype.clone=function(){return o0.clone(this)};function Yj(){if(!l(Vi._canTransferArrayBuffer)){const e=new Worker(Kj("Workers/transferTypedArrayTest.js"));e.postMessage=A(e.webkitPostMessage,e.postMessage);const t=99,n=new Int8Array([t]);try{e.postMessage({array:n},[n.buffer])}catch{return Vi._canTransferArrayBuffer=!1,Vi._canTransferArrayBuffer}const i=jp();e.onmessage=function(o){const r=o.data.array,s=l(r)&&r[0]===t;i.resolve(s),e.terminate(),Vi._canTransferArrayBuffer=s},Vi._canTransferArrayBuffer=i.promise}return Vi._canTransferArrayBuffer}const tB=new Xe;function Xj(e,t){--e._activeTasks;const n=t.id;if(!l(n))return;const i=e._deferreds,o=i[n];if(l(t.error)){let r=t.error;r.name==="RuntimeError"?(r=new Ie(t.error.message),r.stack=t.error.stack):r.name==="DeveloperError"&&(r=new x(t.error.message),r.stack=t.error.stack),tB.raiseEvent(r),o.reject(r)}else tB.raiseEvent(),o.resolve(t.result);delete i[n]}function Kj(e){let t=_n(e);if(Lj(t)){const n=`importScripts("${t}");`;let i;try{i=new Blob([n],{type:"application/javascript"})}catch{const s=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder,a=new s;a.append(n),i=a.getBlob("application/javascript")}t=(window.URL||window.webkitURL).createObjectURL(i)}return t}let i1;function Wye(){return l(i1)||(i1=Kj("Workers/cesiumWorkerBootstrapper.js")),i1}function Jj(e){const t=new Worker(Wye());t.postMessage=A(t.webkitPostMessage,t.postMessage);const n={loaderConfig:{paths:{Workers:_n("Workers")},baseUrl:_n.getCesiumBaseUrl().url},workerModule:e._workerPath};return t.postMessage(n),t.onmessage=function(i){Xj(e,i.data)},t}function jye(e,t){const n={modulePath:void 0,wasmBinaryFile:void 0,wasmBinary:void 0};if(!pn.supportsWebAssembly()){if(!l(t.fallbackModulePath))throw new Ie(`This browser does not support Web Assembly, and no backup module was provided for ${e._workerPath}`);return n.modulePath=_n(t.fallbackModulePath),Promise.resolve(n)}return n.modulePath=_n(t.modulePath),n.wasmBinaryFile=_n(t.wasmBinaryFile),Me.fetchArrayBuffer({url:n.wasmBinaryFile}).then(function(i){return n.wasmBinary=i,n})}function Vi(e,t){const n=new Ps(e);this._workerPath=n.scheme().length!==0&&n.fragment().length===0?e:Vi._workerModulePrefix+e,this._maximumActiveTasks=A(t,Number.POSITIVE_INFINITY),this._activeTasks=0,this._deferreds={},this._nextID=0}const qye=[];Vi.prototype.scheduleTask=function(e,t){if(l(this._worker)||(this._worker=Jj(this)),this._activeTasks>=this._maximumActiveTasks)return;++this._activeTasks;const n=this;return Promise.resolve(Yj()).then(function(i){l(t)?i||(t.length=0):t=qye;const o=n._nextID++,r=jp();return n._deferreds[o]=r,n._worker.postMessage({id:o,parameters:e,canTransferArrayBuffer:i},t),r.promise})};Vi.prototype.initWebAssemblyModule=function(e){l(this._worker)||(this._worker=Jj(this));const t=jp(),n=this,i=this._worker;return jye(this,e).then(function(o){return Promise.resolve(Yj()).then(function(r){let s;const a=o.wasmBinary;l(a)&&r&&(s=[a]),i.onmessage=function(c){i.onmessage=function(u){Xj(n,u.data)},t.resolve(c.data)},i.postMessage({webAssemblyConfig:o},s)})}),t.promise};Vi.prototype.isDestroyed=function(){return!1};Vi.prototype.destroy=function(){return l(this._worker)&&this._worker.terminate(),He(this)};Vi.taskCompletedEvent=tB;Vi._defaultWorkerModulePrefix="Workers/";Vi._workerModulePrefix=Vi._defaultWorkerModulePrefix;Vi._canTransferArrayBuffer=void 0;function dd(){}dd._transcodeTaskProcessor=new Vi("transcodeKTX2",Number.POSITIVE_INFINITY);dd._readyPromise=void 0;function $ye(){const e=dd._transcodeTaskProcessor.initWebAssemblyModule({modulePath:"ThirdParty/Workers/basis_transcoder.js",wasmBinaryFile:"ThirdParty/basis_transcoder.wasm"}).then(function(){return dd._transcodeTaskProcessor});dd._readyPromise=e}dd.transcode=function(e,t){return T.defined("supportedTargetFormats",t),l(dd._readyPromise)||$ye(),dd._readyPromise.then(function(n){let i;if(e instanceof ArrayBuffer){const o=new Uint8Array(e);return i={supportedTargetFormats:t,ktx2Buffer:o},n.scheduleTask(i,[e])}return i={supportedTargetFormats:t,ktx2Buffer:e},n.scheduleTask(i,[e.buffer])}).then(function(n){const i=n.length,o=Object.keys(n[0]),r=o.length;let s;for(s=0;sthis._size)throw new x("xOffset + options.source.width must be less than or equal to width.");if(n+e.source.height>this._size)throw new x("yOffset + options.source.height must be less than or equal to height.");const i=e.source,o=this._context._gl,r=this._textureTarget,s=this._targetFace;o.activeTexture(o.TEXTURE0),o.bindTexture(r,this._texture);const a=i.width,c=i.height;let u=i.arrayBufferView;const f=this._size,h=this._pixelFormat,m=this._internalFormat,g=this._pixelDatatype,p=this._preMultiplyAlpha,y=this._flipY,b=A(e.skipColorSpaceConversion,!1);let C=4;l(u)&&(C=rt.alignmentInBytes(h,g,a)),o.pixelStorei(o.UNPACK_ALIGNMENT,C),b?o.pixelStorei(o.UNPACK_COLORSPACE_CONVERSION_WEBGL,o.NONE):o.pixelStorei(o.UNPACK_COLORSPACE_CONVERSION_WEBGL,o.BROWSER_DEFAULT_WEBGL);let E=!1;if(!this._initialized){if(t===0&&n===0&&a===f&&c===f)l(u)?(o.pixelStorei(o.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),o.pixelStorei(o.UNPACK_FLIP_Y_WEBGL,!1),y&&(u=rt.flipY(u,h,g,f,f)),o.texImage2D(s,0,m,f,f,0,h,Je.toWebGLConstant(g,this._context),u)):(o.pixelStorei(o.UNPACK_PREMULTIPLY_ALPHA_WEBGL,p),o.pixelStorei(o.UNPACK_FLIP_Y_WEBGL,y),o.texImage2D(s,0,m,h,Je.toWebGLConstant(g,this._context),i)),E=!0;else{o.pixelStorei(o.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),o.pixelStorei(o.UNPACK_FLIP_Y_WEBGL,!1);const w=rt.createTypedArray(h,g,f,f);o.texImage2D(s,0,m,f,f,0,h,Je.toWebGLConstant(g,this._context),w)}this._initialized=!0}E||(l(u)?(o.pixelStorei(o.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),o.pixelStorei(o.UNPACK_FLIP_Y_WEBGL,!1),y&&(u=rt.flipY(u,h,g,a,c)),o.texSubImage2D(s,0,t,n,a,c,h,Je.toWebGLConstant(g,this._context),u)):(o.pixelStorei(o.UNPACK_PREMULTIPLY_ALPHA_WEBGL,p),o.pixelStorei(o.UNPACK_FLIP_Y_WEBGL,y),o.texSubImage2D(s,0,t,n,h,Je.toWebGLConstant(g,this._context),i))),o.bindTexture(r,null)};Jf.prototype.copyFromFramebuffer=function(e,t,n,i,o,r){if(e=A(e,0),t=A(t,0),n=A(n,0),i=A(i,0),o=A(o,this._size),r=A(r,this._size),T.typeOf.number.greaterThanOrEquals("xOffset",e,0),T.typeOf.number.greaterThanOrEquals("yOffset",t,0),T.typeOf.number.greaterThanOrEquals("framebufferXOffset",n,0),T.typeOf.number.greaterThanOrEquals("framebufferYOffset",i,0),e+o>this._size)throw new x("xOffset + source.width must be less than or equal to width.");if(t+r>this._size)throw new x("yOffset + source.height must be less than or equal to height.");if(this._pixelDatatype===Je.FLOAT)throw new x("Cannot call copyFromFramebuffer when the texture pixel data type is FLOAT.");if(this._pixelDatatype===Je.HALF_FLOAT)throw new x("Cannot call copyFromFramebuffer when the texture pixel data type is HALF_FLOAT.");const s=this._context._gl,a=this._textureTarget;s.activeTexture(s.TEXTURE0),s.bindTexture(a,this._texture),s.copyTexSubImage2D(this._targetFace,0,e,t,n,i,o,r),s.bindTexture(a,null),this._initialized=!0};const Ew={DONT_CARE:ae.DONT_CARE,FASTEST:ae.FASTEST,NICEST:ae.NICEST,validate:function(e){return e===Ew.DONT_CARE||e===Ew.FASTEST||e===Ew.NICEST}},r0=Object.freeze(Ew),xw={NEAREST:ae.NEAREST,LINEAR:ae.LINEAR};xw.validate=function(e){return e===xw.NEAREST||e===xw.LINEAR};const Xr=Object.freeze(xw),Mh={NEAREST:ae.NEAREST,LINEAR:ae.LINEAR,NEAREST_MIPMAP_NEAREST:ae.NEAREST_MIPMAP_NEAREST,LINEAR_MIPMAP_NEAREST:ae.LINEAR_MIPMAP_NEAREST,NEAREST_MIPMAP_LINEAR:ae.NEAREST_MIPMAP_LINEAR,LINEAR_MIPMAP_LINEAR:ae.LINEAR_MIPMAP_LINEAR};Mh.validate=function(e){return e===Mh.NEAREST||e===Mh.LINEAR||e===Mh.NEAREST_MIPMAP_NEAREST||e===Mh.LINEAR_MIPMAP_NEAREST||e===Mh.NEAREST_MIPMAP_LINEAR||e===Mh.LINEAR_MIPMAP_LINEAR};const Sn=Object.freeze(Mh),ww={CLAMP_TO_EDGE:ae.CLAMP_TO_EDGE,REPEAT:ae.REPEAT,MIRRORED_REPEAT:ae.MIRRORED_REPEAT,validate:function(e){return e===ww.CLAMP_TO_EDGE||e===ww.REPEAT||e===ww.MIRRORED_REPEAT}},Mi=Object.freeze(ww);function ii(e){e=A(e,A.EMPTY_OBJECT);const t=A(e.wrapS,Mi.CLAMP_TO_EDGE),n=A(e.wrapT,Mi.CLAMP_TO_EDGE),i=A(e.minificationFilter,Sn.LINEAR),o=A(e.magnificationFilter,Xr.LINEAR),r=l(e.maximumAnisotropy)?e.maximumAnisotropy:1;if(!Mi.validate(t))throw new x("Invalid sampler.wrapS.");if(!Mi.validate(n))throw new x("Invalid sampler.wrapT.");if(!Sn.validate(i))throw new x("Invalid sampler.minificationFilter.");if(!Xr.validate(o))throw new x("Invalid sampler.magnificationFilter.");T.typeOf.number.greaterThanOrEquals("maximumAnisotropy",r,1),this._wrapS=t,this._wrapT=n,this._minificationFilter=i,this._magnificationFilter=o,this._maximumAnisotropy=r}Object.defineProperties(ii.prototype,{wrapS:{get:function(){return this._wrapS}},wrapT:{get:function(){return this._wrapT}},minificationFilter:{get:function(){return this._minificationFilter}},magnificationFilter:{get:function(){return this._magnificationFilter}},maximumAnisotropy:{get:function(){return this._maximumAnisotropy}}});ii.equals=function(e,t){return e===t||l(e)&&l(t)&&e._wrapS===t._wrapS&&e._wrapT===t._wrapT&&e._minificationFilter===t._minificationFilter&&e._magnificationFilter===t._magnificationFilter&&e._maximumAnisotropy===t._maximumAnisotropy};ii.NEAREST=Object.freeze(new ii({wrapS:Mi.CLAMP_TO_EDGE,wrapT:Mi.CLAMP_TO_EDGE,minificationFilter:Sn.NEAREST,magnificationFilter:Xr.NEAREST}));function gu(e){e=A(e,A.EMPTY_OBJECT),T.defined("options.context",e.context);const t=e.context,n=e.source;let i,o;if(l(n)){const E=[n.positiveX,n.negativeX,n.positiveY,n.negativeY,n.positiveZ,n.negativeZ];if(!E[0]||!E[1]||!E[2]||!E[3]||!E[4]||!E[5])throw new x("options.source requires positiveX, negativeX, positiveY, negativeY, positiveZ, and negativeZ faces.");i=E[0].width,o=E[0].height;for(let w=1;w<6;++w)if(Number(E[w].width)!==i||Number(E[w].height)!==o)throw new x("Each face in options.source must have the same width and height.")}else i=e.width,o=e.height;const r=i,s=A(e.pixelDatatype,Je.UNSIGNED_BYTE),a=A(e.pixelFormat,rt.RGBA),c=rt.toInternalFormat(a,s,t);if(!l(i)||!l(o))throw new x("options requires a source field to create an initialized cube map or width and height fields to create a blank cube map.");if(i!==o)throw new x("Width must equal height.");if(r<=0)throw new x("Width and height must be greater than zero.");if(r>Dt.maximumCubeMapSize)throw new x(`Width and height must be less than or equal to the maximum cube map size (${Dt.maximumCubeMapSize}). Check maximumCubeMapSize.`);if(!rt.validate(a))throw new x("Invalid options.pixelFormat.");if(rt.isDepthFormat(a))throw new x("options.pixelFormat cannot be DEPTH_COMPONENT or DEPTH_STENCIL.");if(!Je.validate(s))throw new x("Invalid options.pixelDatatype.");if(s===Je.FLOAT&&!t.floatingPointTexture)throw new x("When options.pixelDatatype is FLOAT, this WebGL implementation must support the OES_texture_float extension.");if(s===Je.HALF_FLOAT&&!t.halfFloatingPointTexture)throw new x("When options.pixelDatatype is HALF_FLOAT, this WebGL implementation must support the OES_texture_half_float extension.");const u=rt.textureSizeInBytes(a,s,r,r)*6,f=e.preMultiplyAlpha||a===rt.RGB||a===rt.LUMINANCE,h=A(e.flipY,!0),m=A(e.skipColorSpaceConversion,!1),g=t._gl,p=g.TEXTURE_CUBE_MAP,y=g.createTexture();g.activeTexture(g.TEXTURE0),g.bindTexture(p,y);function b(E,w,S,P,L){let z=w.arrayBufferView;l(z)||(z=w.bufferView);let R=4;l(z)&&(R=rt.alignmentInBytes(a,s,i)),g.pixelStorei(g.UNPACK_ALIGNMENT,R),L?g.pixelStorei(g.UNPACK_COLORSPACE_CONVERSION_WEBGL,g.NONE):g.pixelStorei(g.UNPACK_COLORSPACE_CONVERSION_WEBGL,g.BROWSER_DEFAULT_WEBGL),l(z)?(g.pixelStorei(g.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),g.pixelStorei(g.UNPACK_FLIP_Y_WEBGL,!1),P&&(z=rt.flipY(z,a,s,r,r)),g.texImage2D(E,0,c,r,r,0,a,Je.toWebGLConstant(s,t),z)):(g.pixelStorei(g.UNPACK_PREMULTIPLY_ALPHA_WEBGL,S),g.pixelStorei(g.UNPACK_FLIP_Y_WEBGL,P),g.texImage2D(E,0,c,a,Je.toWebGLConstant(s,t),w))}l(n)?(b(g.TEXTURE_CUBE_MAP_POSITIVE_X,n.positiveX,f,h,m),b(g.TEXTURE_CUBE_MAP_NEGATIVE_X,n.negativeX,f,h,m),b(g.TEXTURE_CUBE_MAP_POSITIVE_Y,n.positiveY,f,h,m),b(g.TEXTURE_CUBE_MAP_NEGATIVE_Y,n.negativeY,f,h,m),b(g.TEXTURE_CUBE_MAP_POSITIVE_Z,n.positiveZ,f,h,m),b(g.TEXTURE_CUBE_MAP_NEGATIVE_Z,n.negativeZ,f,h,m)):(g.texImage2D(g.TEXTURE_CUBE_MAP_POSITIVE_X,0,c,r,r,0,a,Je.toWebGLConstant(s,t),null),g.texImage2D(g.TEXTURE_CUBE_MAP_NEGATIVE_X,0,c,r,r,0,a,Je.toWebGLConstant(s,t),null),g.texImage2D(g.TEXTURE_CUBE_MAP_POSITIVE_Y,0,c,r,r,0,a,Je.toWebGLConstant(s,t),null),g.texImage2D(g.TEXTURE_CUBE_MAP_NEGATIVE_Y,0,c,r,r,0,a,Je.toWebGLConstant(s,t),null),g.texImage2D(g.TEXTURE_CUBE_MAP_POSITIVE_Z,0,c,r,r,0,a,Je.toWebGLConstant(s,t),null),g.texImage2D(g.TEXTURE_CUBE_MAP_NEGATIVE_Z,0,c,r,r,0,a,Je.toWebGLConstant(s,t),null)),g.bindTexture(p,null),this._context=t,this._textureFilterAnisotropic=t._textureFilterAnisotropic,this._textureTarget=p,this._texture=y,this._pixelFormat=a,this._pixelDatatype=s,this._size=r,this._hasMipmap=!1,this._sizeInBytes=u,this._preMultiplyAlpha=f,this._flipY=h,this._sampler=void 0;const C=l(n);this._positiveX=new Jf(t,y,p,g.TEXTURE_CUBE_MAP_POSITIVE_X,c,a,s,r,f,h,C),this._negativeX=new Jf(t,y,p,g.TEXTURE_CUBE_MAP_NEGATIVE_X,c,a,s,r,f,h,C),this._positiveY=new Jf(t,y,p,g.TEXTURE_CUBE_MAP_POSITIVE_Y,c,a,s,r,f,h,C),this._negativeY=new Jf(t,y,p,g.TEXTURE_CUBE_MAP_NEGATIVE_Y,c,a,s,r,f,h,C),this._positiveZ=new Jf(t,y,p,g.TEXTURE_CUBE_MAP_POSITIVE_Z,c,a,s,r,f,h,C),this._negativeZ=new Jf(t,y,p,g.TEXTURE_CUBE_MAP_NEGATIVE_Z,c,a,s,r,f,h,C),this.sampler=l(e.sampler)?e.sampler:new ii}Object.defineProperties(gu.prototype,{positiveX:{get:function(){return this._positiveX}},negativeX:{get:function(){return this._negativeX}},positiveY:{get:function(){return this._positiveY}},negativeY:{get:function(){return this._negativeY}},positiveZ:{get:function(){return this._positiveZ}},negativeZ:{get:function(){return this._negativeZ}},sampler:{get:function(){return this._sampler},set:function(e){let t=e.minificationFilter,n=e.magnificationFilter;const i=t===Sn.NEAREST_MIPMAP_NEAREST||t===Sn.NEAREST_MIPMAP_LINEAR||t===Sn.LINEAR_MIPMAP_NEAREST||t===Sn.LINEAR_MIPMAP_LINEAR,o=this._context,r=this._pixelDatatype;(r===Je.FLOAT&&!o.textureFloatLinear||r===Je.HALF_FLOAT&&!o.textureHalfFloatLinear)&&(t=i?Sn.NEAREST_MIPMAP_NEAREST:Sn.NEAREST,n=Xr.NEAREST);const s=o._gl,a=this._textureTarget;s.activeTexture(s.TEXTURE0),s.bindTexture(a,this._texture),s.texParameteri(a,s.TEXTURE_MIN_FILTER,t),s.texParameteri(a,s.TEXTURE_MAG_FILTER,n),s.texParameteri(a,s.TEXTURE_WRAP_S,e.wrapS),s.texParameteri(a,s.TEXTURE_WRAP_T,e.wrapT),l(this._textureFilterAnisotropic)&&s.texParameteri(a,this._textureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,e.maximumAnisotropy),s.bindTexture(a,null),this._sampler=e}},pixelFormat:{get:function(){return this._pixelFormat}},pixelDatatype:{get:function(){return this._pixelDatatype}},width:{get:function(){return this._size}},height:{get:function(){return this._size}},sizeInBytes:{get:function(){return this._hasMipmap?Math.floor(this._sizeInBytes*4/3):this._sizeInBytes}},preMultiplyAlpha:{get:function(){return this._preMultiplyAlpha}},flipY:{get:function(){return this._flipY}},_target:{get:function(){return this._textureTarget}}});gu.prototype.generateMipmap=function(e){if(e=A(e,r0.DONT_CARE),this._size>1&&!M.isPowerOfTwo(this._size))throw new x("width and height must be a power of two to call generateMipmap().");if(!r0.validate(e))throw new x("hint is invalid.");this._hasMipmap=!0;const t=this._context._gl,n=this._textureTarget;t.hint(t.GENERATE_MIPMAP_HINT,e),t.activeTexture(t.TEXTURE0),t.bindTexture(n,this._texture),t.generateMipmap(n),t.bindTexture(n,null)};gu.prototype.isDestroyed=function(){return!1};gu.prototype.destroy=function(){return this._context._gl.deleteTexture(this._texture),this._positiveX=He(this._positiveX),this._negativeX=He(this._negativeX),this._positiveY=He(this._positiveY),this._negativeY=He(this._negativeY),this._positiveZ=He(this._positiveZ),this._negativeZ=He(this._negativeZ),He(this)};function W_(e){this.context=e,this.framebuffer=void 0,this.blendingEnabled=void 0,this.scissorTest=void 0,this.viewport=void 0}function Yye(e,t){const n=/#define OUTPUT_DECLARATION/,i=e.split(` +`);if(/#version 300 es/g.test(e))return e;let o=-1,r,s;for(r=0;r=0;S--)i.splice(C,0,`#endif //${E[S]}`)}const h="WEBGL_2",m=`#define ${h}`,g="#version 300 es";let p=!1;for(r=0;r=0}):n[h]=o.slice())}}return n}function o1(e,t,n){const i=`#extension\\s+GL_${e}\\s+:\\s+[a-zA-Z0-9]+\\s*$`;Xye(new RegExp(i,"g"),"",n),zu(`GL_${e}`,t,n)}const Zye=`/** * A built-in GLSL floating-point constant for converting radians to degrees. * * @alias czm_degreesPerRadian @@ -89,7 +94,7 @@ ${p}`)}}function yme(e,t,n){const i={};for(let o=0;o1/pi. * * @alias czm_oneOverPi @@ -175,7 +180,7 @@ const float czm_infinity = 5906376272000.0; // Distance from the Sun to Pluto i * float pi = 1.0 / czm_oneOverPi; */ const float czm_oneOverPi = 0.3183098861837907; -`,Sge=`/** +`,u0e=`/** * A built-in GLSL floating-point constant for 1/2pi. * * @alias czm_oneOverTwoPi @@ -191,7 +196,7 @@ const float czm_oneOverPi = 0.3183098861837907; * float pi = 2.0 * czm_oneOverTwoPi; */ const float czm_oneOverTwoPi = 0.15915494309189535; -`,vge=`/** +`,f0e=`/** * The automatic GLSL constant for {@link Pass#CESIUM_3D_TILE} * * @name czm_passCesium3DTile @@ -200,7 +205,7 @@ const float czm_oneOverTwoPi = 0.15915494309189535; * @see czm_pass */ const float czm_passCesium3DTile = 4.0; -`,Dge=`/** +`,d0e=`/** * The automatic GLSL constant for {@link Pass#CESIUM_3D_TILE_CLASSIFICATION} * * @name czm_passCesium3DTileClassification @@ -209,7 +214,7 @@ const float czm_passCesium3DTile = 4.0; * @see czm_pass */ const float czm_passCesium3DTileClassification = 5.0; -`,Ige=`/** +`,h0e=`/** * The automatic GLSL constant for {@link Pass#CESIUM_3D_TILE_CLASSIFICATION_IGNORE_SHOW} * * @name czm_passCesium3DTileClassificationIgnoreShow @@ -218,7 +223,7 @@ const float czm_passCesium3DTileClassification = 5.0; * @see czm_pass */ const float czm_passCesium3DTileClassificationIgnoreShow = 6.0; -`,Pge=`/** +`,p0e=`/** * The automatic GLSL constant for {@link Pass#CLASSIFICATION} * * @name czm_passClassification @@ -227,7 +232,7 @@ const float czm_passCesium3DTileClassificationIgnoreShow = 6.0; * @see czm_pass */ const float czm_passClassification = 7.0; -`,Oge=`/** +`,m0e=`/** * The automatic GLSL constant for {@link Pass#COMPUTE} * * @name czm_passCompute @@ -236,7 +241,7 @@ const float czm_passClassification = 7.0; * @see czm_pass */ const float czm_passCompute = 1.0; -`,Lge=`/** +`,_0e=`/** * The automatic GLSL constant for {@link Pass#ENVIRONMENT} * * @name czm_passEnvironment @@ -245,7 +250,7 @@ const float czm_passCompute = 1.0; * @see czm_pass */ const float czm_passEnvironment = 0.0; -`,Bge=`/** +`,g0e=`/** * The automatic GLSL constant for {@link Pass#GLOBE} * * @name czm_passGlobe @@ -254,7 +259,7 @@ const float czm_passEnvironment = 0.0; * @see czm_pass */ const float czm_passGlobe = 2.0; -`,Rge=`/** +`,y0e=`/** * The automatic GLSL constant for {@link Pass#OPAQUE} * * @name czm_passOpaque @@ -263,7 +268,7 @@ const float czm_passGlobe = 2.0; * @see czm_pass */ const float czm_passOpaque = 7.0; -`,Nge=`/** +`,A0e=`/** * The automatic GLSL constant for {@link Pass#OVERLAY} * * @name czm_passOverlay @@ -272,7 +277,7 @@ const float czm_passOpaque = 7.0; * @see czm_pass */ const float czm_passOverlay = 10.0; -`,Mge=`/** +`,b0e=`/** * The automatic GLSL constant for {@link Pass#TERRAIN_CLASSIFICATION} * * @name czm_passTerrainClassification @@ -281,7 +286,7 @@ const float czm_passOverlay = 10.0; * @see czm_pass */ const float czm_passTerrainClassification = 3.0; -`,Fge=`/** +`,C0e=`/** * The automatic GLSL constant for {@link Pass#TRANSLUCENT} * * @name czm_passTranslucent @@ -290,7 +295,7 @@ const float czm_passTerrainClassification = 3.0; * @see czm_pass */ const float czm_passTranslucent = 8.0; -`,zge=`/** +`,T0e=`/** * The automatic GLSL constant for {@link Pass#VOXELS} * * @name czm_passVoxels @@ -299,7 +304,7 @@ const float czm_passTranslucent = 8.0; * @see czm_pass */ const float czm_passVoxels = 9.0; -`,Uge=`/** +`,E0e=`/** * A built-in GLSL floating-point constant for Math.PI. * * @alias czm_pi @@ -315,7 +320,7 @@ const float czm_passVoxels = 9.0; * float twoPi = 2.0 * czm_pi; */ const float czm_pi = 3.141592653589793; -`,Hge=`/** +`,x0e=`/** * A built-in GLSL floating-point constant for pi/4. * * @alias czm_piOverFour @@ -331,7 +336,7 @@ const float czm_pi = 3.141592653589793; * float pi = 4.0 * czm_piOverFour; */ const float czm_piOverFour = 0.7853981633974483; -`,Vge=`/** +`,w0e=`/** * A built-in GLSL floating-point constant for pi/6. * * @alias czm_piOverSix @@ -347,7 +352,7 @@ const float czm_piOverFour = 0.7853981633974483; * float pi = 6.0 * czm_piOverSix; */ const float czm_piOverSix = 0.5235987755982988; -`,kge=`/** +`,S0e=`/** * A built-in GLSL floating-point constant for pi/3. * * @alias czm_piOverThree @@ -363,7 +368,7 @@ const float czm_piOverSix = 0.5235987755982988; * float pi = 3.0 * czm_piOverThree; */ const float czm_piOverThree = 1.0471975511965976; -`,Gge=`/** +`,v0e=`/** * A built-in GLSL floating-point constant for pi/2. * * @alias czm_piOverTwo @@ -379,7 +384,7 @@ const float czm_piOverThree = 1.0471975511965976; * float pi = 2.0 * czm_piOverTwo; */ const float czm_piOverTwo = 1.5707963267948966; -`,Wge=`/** +`,D0e=`/** * A built-in GLSL floating-point constant for converting degrees to radians. * * @alias czm_radiansPerDegree @@ -395,7 +400,7 @@ const float czm_piOverTwo = 1.5707963267948966; * float rad = czm_radiansPerDegree * deg; */ const float czm_radiansPerDegree = 0.017453292519943295; -`,jge=`/** +`,I0e=`/** * The constant identifier for the 2D {@link SceneMode} * * @name czm_sceneMode2D @@ -406,7 +411,7 @@ const float czm_radiansPerDegree = 0.017453292519943295; * @see czm_sceneModeMorphing */ const float czm_sceneMode2D = 2.0; -`,qge=`/** +`,P0e=`/** * The constant identifier for the 3D {@link SceneMode} * * @name czm_sceneMode3D @@ -417,7 +422,7 @@ const float czm_sceneMode2D = 2.0; * @see czm_sceneModeMorphing */ const float czm_sceneMode3D = 3.0; -`,Yge=`/** +`,O0e=`/** * The constant identifier for the Columbus View {@link SceneMode} * * @name czm_sceneModeColumbusView @@ -428,7 +433,7 @@ const float czm_sceneMode3D = 3.0; * @see czm_sceneModeMorphing */ const float czm_sceneModeColumbusView = 1.0; -`,$ge=`/** +`,L0e=`/** * The constant identifier for the Morphing {@link SceneMode} * * @name czm_sceneModeMorphing @@ -439,7 +444,7 @@ const float czm_sceneModeColumbusView = 1.0; * @see czm_sceneMode3D */ const float czm_sceneModeMorphing = 0.0; -`,Xge=`/** +`,B0e=`/** * A built-in GLSL floating-point constant for one solar radius. * * @alias czm_solarRadius @@ -452,7 +457,7 @@ const float czm_sceneModeMorphing = 0.0; * const float czm_solarRadius = ...; */ const float czm_solarRadius = 695500000.0; -`,Kge=`/** +`,R0e=`/** * A built-in GLSL floating-point constant for 3pi/2. * * @alias czm_threePiOver2 @@ -468,7 +473,7 @@ const float czm_solarRadius = 695500000.0; * float pi = (2.0 / 3.0) * czm_threePiOver2; */ const float czm_threePiOver2 = 4.71238898038469; -`,Jge=`/** +`,N0e=`/** * A built-in GLSL floating-point constant for 2pi. * * @alias czm_twoPi @@ -484,7 +489,7 @@ const float czm_threePiOver2 = 4.71238898038469; * float pi = czm_twoPi / 2.0; */ const float czm_twoPi = 6.283185307179586; -`,Qge=`/** +`,M0e=`/** * The maximum latitude, in radians, both North and South, supported by a Web Mercator * (EPSG:3857) projection. Technically, the Mercator projection is defined * for any latitude up to (but not including) 90 degrees, but it makes sense @@ -500,7 +505,7 @@ const float czm_twoPi = 6.283185307179586; * @glslConstant */ const float czm_webMercatorMaxLatitude = 1.4844222297453324; -`,Zge=`/** +`,F0e=`/** * @name czm_depthRangeStruct * @glslStruct */ @@ -509,7 +514,7 @@ struct czm_depthRangeStruct float near; float far; }; -`,eye=`/** +`,z0e=`/** * Holds material information that can be used for lighting. Returned by all czm_getMaterial functions. * * @name czm_material @@ -531,7 +536,7 @@ struct czm_material vec3 emission; float alpha; }; -`,tye=`/** +`,U0e=`/** * Used as input to every material's czm_getMaterial function. * * @name czm_materialInput @@ -559,7 +564,7 @@ struct czm_materialInput float slope; float aspect; }; -`,nye=`/** +`,H0e=`/** * Struct for representing a material for a {@link Model}. The model * rendering pipeline will pass this struct between material, custom shaders, * and lighting stages. This is not to be confused with {@link czm_material} @@ -588,7 +593,7 @@ struct czm_modelMaterial { float occlusion; vec3 emissive; }; -`,iye=`/** +`,V0e=`/** * Struct for representing the output of a custom vertex shader. * * @name czm_modelVertexOutput @@ -604,7 +609,7 @@ struct czm_modelVertexOutput { vec3 positionMC; float pointSize; }; -`,oye=`/** +`,k0e=`/** * Parameters for {@link czm_pbrLighting} * * @name czm_material @@ -620,7 +625,7 @@ struct czm_pbrParameters float roughness; vec3 f0; }; -`,rye=`/** +`,G0e=`/** * DOC_TBA * * @name czm_ray @@ -631,7 +636,7 @@ struct czm_ray vec3 origin; vec3 direction; }; -`,sye=`/** +`,W0e=`/** * DOC_TBA * * @name czm_raySegment @@ -658,7 +663,7 @@ const czm_raySegment czm_emptyRaySegment = czm_raySegment(-czm_infinity, -czm_in * @glslConstant */ const czm_raySegment czm_fullRaySegment = czm_raySegment(0.0, czm_infinity); -`,aye=`struct czm_shadowParameters +`,j0e=`struct czm_shadowParameters { #ifdef USE_CUBE_MAP_SHADOW vec3 texCoords; @@ -673,7 +678,7 @@ const czm_raySegment czm_fullRaySegment = czm_raySegment(0.0, czm_infinity); float normalShadingSmooth; float darkness; }; -`,cye=`/** +`,q0e=`/** * Converts an HSB color (hue, saturation, brightness) to RGB * HSB <-> RGB conversion with minimal branching: {@link http://lolengine.net/blog/2013/07/27/rgb-to-hsv-in-glsl} * @@ -697,7 +702,7 @@ vec3 czm_HSBToRGB(vec3 hsb) vec3 p = abs(fract(hsb.xxx + K_HSB2RGB.xyz) * 6.0 - K_HSB2RGB.www); return hsb.z * mix(K_HSB2RGB.xxx, clamp(p - K_HSB2RGB.xxx, 0.0, 1.0), hsb.y); } -`,lye=`/** +`,$0e=`/** * Converts an HSL color (hue, saturation, lightness) to RGB * HSL <-> RGB conversion: {@link http://www.chilliant.com/rgb2hsv.html} * @@ -728,7 +733,7 @@ vec3 czm_HSLToRGB(vec3 hsl) float c = (1.0 - abs(2.0 * hsl.z - 1.0)) * hsl.y; return (rgb - 0.5) * c + hsl.z; } -`,uye=`/** +`,Y0e=`/** * Converts an RGB color to HSB (hue, saturation, brightness) * HSB <-> RGB conversion with minimal branching: {@link http://lolengine.net/blog/2013/07/27/rgb-to-hsv-in-glsl} * @@ -755,7 +760,7 @@ vec3 czm_RGBToHSB(vec3 rgb) float d = q.x - min(q.w, q.y); return vec3(abs(q.z + (q.w - q.y) / (6.0 * d + czm_epsilon7)), d / (q.x + czm_epsilon7), q.x); } -`,fye=`/** +`,X0e=`/** * Converts an RGB color to HSL (hue, saturation, lightness) * HSL <-> RGB conversion: {@link http://www.chilliant.com/rgb2hsv.html} * @@ -789,7 +794,7 @@ vec3 czm_RGBToHSL(vec3 rgb) float s = hcv.y / (1.0 - abs(l * 2.0 - 1.0) + czm_epsilon7); return vec3(hcv.x, s, l); } -`,dye=`/** +`,K0e=`/** * Converts an RGB color to CIE Yxy. *

The conversion is described in * {@link http://content.gpwiki.org/index.php/D3DBook:High-Dynamic_Range_Rendering#Luminance_Transform|Luminance Transform} @@ -819,7 +824,7 @@ vec3 czm_RGBToXYZ(vec3 rgb) Yxy.gb = xyz.rg / temp; return Yxy; } -`,hye=`/** +`,J0e=`/** * Converts a CIE Yxy color to RGB. *

The conversion is described in * {@link http://content.gpwiki.org/index.php/D3DBook:High-Dynamic_Range_Rendering#Luminance_Transform|Luminance Transform} @@ -849,7 +854,7 @@ vec3 czm_XYZToRGB(vec3 Yxy) return XYZ2RGB * xyz; } -`,pye=`// See: +`,Q0e=`// See: // https://knarkowicz.wordpress.com/2016/01/06/aces-filmic-tone-mapping-curve/ vec3 czm_acesTonemapping(vec3 color) { @@ -865,7 +870,7 @@ vec3 czm_acesTonemapping(vec3 color) { return color; } -`,mye=`/** +`,Z0e=`/** * @private */ float czm_alphaWeight(float a) @@ -876,7 +881,7 @@ float czm_alphaWeight(float a) // http://jcgt.org/published/0002/02/09/ return pow(a + 0.01, 4.0) + max(1e-2, min(3.0 * 1e3, 0.003 / (1e-5 + pow(abs(z) / 200.0, 4.0)))); } -`,_ye=`/** +`,eAe=`/** * Procedural anti-aliasing by blurring two colors that meet at a sharp edge. * * @name czm_antialias @@ -915,7 +920,7 @@ vec4 czm_antialias(vec4 color1, vec4 color2, vec4 currentColor, float dist) { return czm_antialias(color1, color2, currentColor, dist, 0.1); } -`,gye=`/** +`,tAe=`/** * Approximately computes spherical coordinates given a normal. * Uses approximate inverse trigonometry for speed and consistency, * since inverse trigonometry can differ from vendor-to-vendor and when compared with the CPU. @@ -933,7 +938,7 @@ vec2 czm_approximateSphericalCoordinates(vec3 normal) { float longitudeApproximation = czm_fastApproximateAtan(normal.x, normal.y); return vec2(latitudeApproximation, longitudeApproximation); } -`,yye=`/** +`,nAe=`/** * Determines if the fragment is back facing * * @name czm_backFacing @@ -946,7 +951,7 @@ bool czm_backFacing() // !gl_FrontFacing doesn't work as expected on Mac/Intel so use the more verbose form instead. See https://github.com/CesiumGS/cesium/pull/8494. return gl_FrontFacing == false; } -`,Aye=`/** +`,iAe=`/** * Branchless ternary operator to be used when it's inexpensive to explicitly * evaluate both possibilities for a float expression. * @@ -1017,7 +1022,7 @@ vec4 czm_branchFreeTernary(bool comparison, vec4 a, vec4 b) { float useA = float(comparison); return a * useA + b * (1.0 - useA); } -`,bye=` +`,oAe=` vec4 czm_cascadeColor(vec4 weights) { return vec4(1.0, 0.0, 0.0, 1.0) * weights.x + @@ -1025,14 +1030,14 @@ vec4 czm_cascadeColor(vec4 weights) vec4(0.0, 0.0, 1.0, 1.0) * weights.z + vec4(1.0, 0.0, 1.0, 1.0) * weights.w; } -`,Cye=` +`,rAe=` uniform vec4 shadowMap_cascadeDistances; float czm_cascadeDistance(vec4 weights) { return dot(shadowMap_cascadeDistances, weights); } -`,Tye=` +`,sAe=` uniform mat4 shadowMap_cascadeMatrices[4]; mat4 czm_cascadeMatrix(vec4 weights) @@ -1042,7 +1047,7 @@ mat4 czm_cascadeMatrix(vec4 weights) shadowMap_cascadeMatrices[2] * weights.z + shadowMap_cascadeMatrices[3] * weights.w; } -`,Eye=` +`,aAe=` uniform vec4 shadowMap_cascadeSplits[2]; vec4 czm_cascadeWeights(float depthEye) @@ -1052,7 +1057,7 @@ vec4 czm_cascadeWeights(float depthEye) vec4 far = step(depthEye, shadowMap_cascadeSplits[1]); return near * far; } -`,xye=`/** +`,cAe=`/** * DOC_TBA * * @name czm_columbusViewMorph @@ -1064,7 +1069,7 @@ vec4 czm_columbusViewMorph(vec4 position2D, vec4 position3D, float time) vec3 p = mix(position2D.xyz, position3D.xyz, time); return vec4(p, 1.0); } -`,wye=`/** +`,lAe=`/** * Returns a position in model coordinates relative to eye taking into * account the current scene mode: 3D, 2D, or Columbus view. *

@@ -1086,7 +1091,7 @@ vec4 czm_columbusViewMorph(vec4 position2D, vec4 position3D, float time) * @see czm_translateRelativeToEye */ vec4 czm_computePosition(); -`,Sye=`/** +`,uAe=`/** * @private */ vec2 cordic(float angle) @@ -1297,7 +1302,7 @@ vec2 czm_cosineAndSine(float angle) return cordic(angle); } } -`,vye=`/** +`,fAe=`/** * Decompresses texture coordinates that were packed into a single float. * * @name czm_decompressTextureCoordinates @@ -1314,7 +1319,7 @@ vec2 czm_cosineAndSine(float angle) float sty = (encoded - xZeroTo4095 * 4096.0) / 4095.0; return vec2(stx, sty); } -`,Dye=`/** +`,dAe=`/** * Get default parameters for physically based rendering. These defaults * describe a rough dielectric (non-metal) surface (e.g. rough plastic). * @@ -1330,7 +1335,7 @@ czm_pbrParameters czm_defaultPbrMaterial() results.f0 = REFLECTANCE_DIELECTRIC; return results; } -`,Iye=`// emulated noperspective +`,hAe=`// emulated noperspective #if defined(GL_EXT_frag_depth) && !defined(LOG_DEPTH) varying float v_WindowZ; #endif @@ -1377,7 +1382,7 @@ vec4 czm_depthClamp(vec4 coords) #endif return coords; } -`,Pye=`/** +`,pAe=`/** * Computes a 3x3 rotation matrix that transforms vectors from an ellipsoid's east-north-up coordinate system * to eye coordinates. In east-north-up coordinates, x points east, y points north, and z points along the * surface normal. East-north-up can be used as an ellipsoid's tangent space for operations such as bump mapping. @@ -1410,7 +1415,7 @@ mat3 czm_eastNorthUpToEyeCoordinates(vec3 positionMC, vec3 normalEC) bitangentEC.x, bitangentEC.y, bitangentEC.z, normalEC.x, normalEC.y, normalEC.z); } -`,Oye=`/** +`,mAe=`/** * DOC_TBA * * @name czm_ellipsoidContainsPoint @@ -1422,7 +1427,7 @@ bool czm_ellipsoidContainsPoint(vec3 ellipsoid_inverseRadii, vec3 point) vec3 scaled = ellipsoid_inverseRadii * (czm_inverseModelView * vec4(point, 1.0)).xyz; return (dot(scaled, scaled) <= 1.0); } -`,Lye=`/** +`,_Ae=`/** * DOC_TBA * * @name czm_ellipsoidWgs84TextureCoordinates @@ -1432,7 +1437,7 @@ vec2 czm_ellipsoidWgs84TextureCoordinates(vec3 normal) { return vec2(atan(normal.y, normal.x) * czm_oneOverTwoPi + 0.5, asin(normal.z) * czm_oneOverPi + 0.5); } -`,Bye=`/** +`,gAe=`/** * Compares left and right componentwise. Returns true * if they are within epsilon and false otherwise. The inputs * left and right can be floats, vec2s, @@ -1468,7 +1473,7 @@ bool czm_equalsEpsilon(vec2 left, vec2 right, float epsilon) { bool czm_equalsEpsilon(float left, float right, float epsilon) { return (abs(left - right) <= epsilon); } -`,Rye=`/** +`,yAe=`/** * DOC_TBA * * @name czm_eyeOffset @@ -1488,7 +1493,7 @@ vec4 czm_eyeOffset(vec4 positionEC, vec3 eyeOffset) p.z += zEyeOffset.z; return p; } -`,Nye=`/** +`,AAe=`/** * Transforms a position from eye to window coordinates. The transformation * from eye to clip coordinates is done using {@link czm_projection}. * The transform from normalized device coordinates to window coordinates is @@ -1520,7 +1525,7 @@ vec4 czm_eyeToWindowCoordinates(vec4 positionEC) q.xyz = (czm_viewportTransformation * vec4(q.xyz, 1.0)).xyz; // window coordinates return q; } -`,Mye=`/** +`,bAe=`/** * Approxiamtes atan over the range [0, 1]. Safe to flip output for negative input. * * Based on Michal Drobot's approximation from ShaderFastLibs, which in turn is based on @@ -1575,7 +1580,7 @@ float czm_fastApproximateAtan(float x, float y) { t = czm_branchFreeTernary(y < 0.0, -t, t); return t; } -`,Fye=`/** +`,CAe=`/** * Gets the color with fog at a distance from the camera. * * @name czm_fog @@ -1613,7 +1618,7 @@ vec3 czm_fog(float distanceToCamera, vec3 color, vec3 fogColor, float fogModifie float fog = 1.0 - exp(-((fogModifierConstant * scalar + fogModifierConstant) * (scalar * (1.0 + fogModifierConstant)))); return mix(color, fogColor, fog); } -`,zye=`/** +`,TAe=`/** * Converts a color from RGB space to linear space. * * @name czm_gammaCorrect @@ -1635,7 +1640,7 @@ vec4 czm_gammaCorrect(vec4 color) { #endif return color; } -`,Uye=`/** +`,EAe=`/** * DOC_TBA * * @name czm_geodeticSurfaceNormal @@ -1651,7 +1656,7 @@ vec3 czm_geodeticSurfaceNormal(vec3 positionOnEllipsoid, vec3 ellipsoidCenter, v { return normalize((positionOnEllipsoid - ellipsoidCenter) * oneOverEllipsoidRadiiSquared); } -`,Hye=`/** +`,xAe=`/** * An czm_material with default values. Every material's czm_getMaterial * should use this default material as a base for the material it returns. * The default normal value is given by materialInput.normalEC. @@ -1678,7 +1683,7 @@ czm_material czm_getDefaultMaterial(czm_materialInput materialInput) material.alpha = 1.0; return material; } -`,Vye=`/** +`,wAe=`/** * Calculates the intensity of diffusely reflected light. * * @name czm_getLambertDiffuse @@ -1700,7 +1705,7 @@ float czm_getLambertDiffuse(vec3 lightDirectionEC, vec3 normalEC) { return max(dot(lightDirectionEC, normalEC), 0.0); } -`,kye=`/** +`,SAe=`/** * Calculates the specular intensity of reflected light. * * @name czm_getSpecular @@ -1729,7 +1734,7 @@ float czm_getSpecular(vec3 lightDirectionEC, vec3 toEyeEC, vec3 normalEC, float // Prevent this by making sure shininess is at least czm_epsilon2. return pow(specular, max(shininess, czm_epsilon2)); } -`,Gye=`/** +`,vAe=`/** * @private */ vec4 czm_getWaterNoise(sampler2D normalMap, vec2 uv, float time, float angleInRadians) @@ -1766,7 +1771,7 @@ vec4 czm_getWaterNoise(sampler2D normalMap, vec2 uv, float time, float angleInRa // average and scale to between -1 and 1 return ((noise / 4.0) - 0.5) * 2.0; } -`,Wye=`/** +`,DAe=`/** * Adjusts the hue of a color. * * @name czm_hue @@ -1796,7 +1801,7 @@ vec3 czm_hue(vec3 rgb, float adjustment) vec3 color = vec3(yiq.x, chroma * cos(hue), chroma * sin(hue)); return toRGB * color; } -`,jye=`/** +`,IAe=`/** * Converts a color in linear space to RGB space. * * @name czm_inverseGamma @@ -1808,7 +1813,7 @@ vec3 czm_hue(vec3 rgb, float adjustment) vec3 czm_inverseGamma(vec3 color) { return pow(color, vec3(1.0 / czm_gamma)); } -`,qye=`/** +`,PAe=`/** * Determines if a time interval is empty. * * @name czm_isEmpty @@ -1827,7 +1832,7 @@ bool czm_isEmpty(czm_raySegment interval) { return (interval.stop < 0.0); } -`,Yye=`/** +`,OAe=`/** * Determines if a time interval is empty. * * @name czm_isFull @@ -1846,7 +1851,7 @@ bool czm_isFull(czm_raySegment interval) { return (interval.start == 0.0 && interval.stop == czm_infinity); } -`,$ye=`/** +`,LAe=`/** * Computes the fraction of a Web Wercator rectangle at which a given geodetic latitude is located. * * @name czm_latitudeToWebMercatorFraction @@ -1867,7 +1872,7 @@ float czm_latitudeToWebMercatorFraction(float latitude, float southMercatorY, fl return (mercatorY - southMercatorY) * oneOverMercatorHeight; } -`,Xye=`/** +`,BAe=`/** * Computes distance from an point in 2D to a line in 2D. * * @name czm_lineDistance @@ -1881,7 +1886,7 @@ float czm_latitudeToWebMercatorFraction(float latitude, float southMercatorY, fl float czm_lineDistance(vec2 point1, vec2 point2, vec2 point) { return abs((point2.y - point1.y) * point.x - (point2.x - point1.x) * point.y + point2.x * point1.y - point2.y * point1.x) / distance(point2, point1); } -`,Kye=`/** +`,RAe=`/** * Converts a linear RGB color to an sRGB color. * * @param {vec3|vec4} linearIn The color in linear color space. @@ -1897,7 +1902,7 @@ vec4 czm_linearToSrgb(vec4 linearIn) vec3 srgbOut = pow(linearIn.rgb, vec3(1.0/2.2)); return vec4(srgbOut, linearIn.a); } -`,Jye=`/** +`,NAe=`/** * Computes the luminance of a color. * * @name czm_luminance @@ -1917,7 +1922,7 @@ float czm_luminance(vec3 rgb) const vec3 W = vec3(0.2125, 0.7154, 0.0721); return dot(rgb, W); } -`,Qye=`/** +`,MAe=`/** * Computes the size of a pixel in meters at a distance from the eye. *

* Use this version when passing in a custom pixel ratio. For example, passing in 1.0 will return meters per native device pixel. @@ -1978,7 +1983,7 @@ float czm_metersPerPixel(vec4 positionEC) { return czm_metersPerPixel(positionEC, czm_pixelRatio); } -`,Zye=`/** +`,FAe=`/** * Transforms a position from model to window coordinates. The transformation * from model to clip coordinates is done using {@link czm_modelViewProjection}. * The transform from normalized device coordinates to window coordinates is @@ -2015,7 +2020,7 @@ vec4 czm_modelToWindowCoordinates(vec4 position) q.xyz = (czm_viewportTransformation * vec4(q.xyz, 1.0)).xyz; // window coordinates return q; } -`,e0e=`/** +`,zAe=`/** * DOC_TBA * * @name czm_multiplyWithColorBalance @@ -2033,7 +2038,7 @@ vec3 czm_multiplyWithColorBalance(vec3 left, vec3 right) return ((leftLuminance + rightLuminance) / (2.0 * targetLuminance)) * target; } -`,t0e=`/** +`,UAe=`/** * Computes a value that scales with distance. The scaling is clamped at the near and * far distances, and does not extrapolate. This function works with the * {@link NearFarScalar} JavaScript class. @@ -2059,7 +2064,7 @@ float czm_nearFarScalar(vec4 nearFarScalar, float cameraDistSq) return mix(valueAtMin, valueAtMax, t); } -`,n0e=` /** +`,HAe=` /** * Decodes a unit-length vector in 'oct' encoding to a normalized 3-component Cartesian vector. * The 'oct' encoding is described in "A Survey of Efficient Representations of Independent Unit Vectors", * Cigolle et al 2014: http://jcgt.org/published/0003/02/01/ @@ -2142,7 +2147,7 @@ float czm_nearFarScalar(vec4 nearFarScalar, float cameraDistSq) vector3 = czm_octDecode(vec2(x, y)); } -`,i0e=`/** +`,VAe=`/** * Packs a depth value into a vec3 that can be represented by unsigned bytes. * * @name czm_packDepth @@ -2160,7 +2165,7 @@ vec4 czm_packDepth(float depth) enc -= enc.yzww * vec4(1.0 / 255.0, 1.0 / 255.0, 1.0 / 255.0, 0.0); return enc; } -`,o0e=`vec3 lambertianDiffuse(vec3 diffuseColor) +`,kAe=`vec3 lambertianDiffuse(vec3 diffuseColor) { return diffuseColor / czm_pi; } @@ -2259,7 +2264,7 @@ vec3 czm_pbrLighting( // Lo = (diffuse + specular) * Li * NdotL return (diffuseContribution + specularContribution) * NdotL * lightColorHdr; } -`,r0e=`/** +`,GAe=`/** * Compute parameters for physically based rendering using the * metallic/roughness workflow. All inputs are linear; sRGB texture values must * be decoded beforehand @@ -2296,7 +2301,7 @@ czm_pbrParameters czm_pbrMetallicRoughnessMaterial( return results; } -`,s0e=`/** +`,WAe=`/** * Compute parameters for physically based rendering using the * specular/glossy workflow. All inputs are linear; sRGB texture values must * be decoded beforehand @@ -2326,7 +2331,7 @@ czm_pbrParameters czm_pbrSpecularGlossinessMaterial( return results; } -`,a0e=`float czm_private_getLambertDiffuseOfMaterial(vec3 lightDirectionEC, czm_material material) +`,jAe=`float czm_private_getLambertDiffuseOfMaterial(vec3 lightDirectionEC, czm_material material) { return czm_getLambertDiffuse(lightDirectionEC, material.normal); } @@ -2389,7 +2394,7 @@ vec4 czm_private_phong(vec3 toEye, czm_material material, vec3 lightDirectionEC) return vec4(color, material.alpha); } -`,c0e=`/** +`,qAe=`/** * Computes distance from a point to a plane. * * @name czm_planeDistance @@ -2417,7 +2422,7 @@ float czm_planeDistance(vec4 plane, vec3 point) { float czm_planeDistance(vec3 planeNormal, float planeDistance, vec3 point) { return (dot(planeNormal, point) + planeDistance); } -`,l0e=`/** +`,$Ae=`/** * Computes the point along a ray at the given time. time can be positive, negative, or zero. * * @name czm_pointAlongRay @@ -2436,7 +2441,7 @@ vec3 czm_pointAlongRay(czm_ray ray, float time) { return ray.origin + (time * ray.direction); } -`,u0e=`/** +`,YAe=`/** * DOC_TBA * * @name czm_rayEllipsoidIntersectionInterval @@ -2519,7 +2524,7 @@ czm_raySegment czm_rayEllipsoidIntersectionInterval(czm_ray ray, vec3 ellipsoid_ } } } -`,f0e=`/** +`,XAe=`/** * Compute the intersection interval of a ray with a sphere. * * @name czm_raySphereIntersectionInterval @@ -2555,11 +2560,11 @@ czm_raySegment czm_raySphereIntersectionInterval(czm_ray ray, vec3 center, float czm_raySegment result = czm_raySegment(t0, t1); return result; } -`,d0e=`float czm_readDepth(sampler2D depthTexture, vec2 texCoords) +`,KAe=`float czm_readDepth(sampler2D depthTexture, vec2 texCoords) { return czm_reverseLogDepth(texture2D(depthTexture, texCoords).r); } -`,h0e=`/** +`,JAe=`/** * Reads a value previously transformed with {@link czm_writeNonPerspective} * by dividing it by \`w\`, the value used in the perspective divide. * This function is intended to be called in a fragment shader to access a @@ -2590,7 +2595,7 @@ vec3 czm_readNonPerspective(vec3 value, float oneOverW) { vec4 czm_readNonPerspective(vec4 value, float oneOverW) { return value * oneOverW; } -`,p0e=`float czm_reverseLogDepth(float logZ) +`,QAe=`float czm_reverseLogDepth(float logZ) { #ifdef LOG_DEPTH float near = czm_currentFrustum.x; @@ -2601,7 +2606,7 @@ vec4 czm_readNonPerspective(vec4 value, float oneOverW) { #endif return logZ; } -`,m0e=`/** +`,ZAe=`/** * Round a floating point value. This function exists because round() doesn't * exist in GLSL 1.00. * @@ -2623,7 +2628,7 @@ vec3 czm_round(vec3 value) { vec4 czm_round(vec4 value) { return floor(value + 0.5); } -`,_0e=`/** +`,ebe=`/** * Samples the 4 neighboring pixels and return the weighted average. * * @private @@ -2701,7 +2706,7 @@ vec3 czm_sampleOctahedralProjection(sampler2D projectedMap, vec2 textureSize, ve return mix(colorNextLod, colorCurrentLod, nextLod - lod); } -`,g0e=`/** +`,tbe=`/** * Adjusts the saturation of a color. * * @name czm_saturation @@ -2723,7 +2728,7 @@ vec3 czm_saturation(vec3 rgb, float adjustment) vec3 intensity = vec3(dot(rgb, W)); return mix(intensity, rgb, adjustment); } -`,y0e=` +`,nbe=` float czm_sampleShadowMap(highp samplerCube shadowMap, vec3 d) { return czm_unpackDepth(textureCube(shadowMap, d)); @@ -2747,7 +2752,7 @@ float czm_shadowDepthCompare(sampler2D shadowMap, vec2 uv, float depth) { return step(depth, czm_sampleShadowMap(shadowMap, uv)); } -`,A0e=` +`,ibe=` float czm_private_shadowVisibility(float visibility, float nDotL, float normalShadingSmooth, float darkness) { #ifdef USE_NORMAL_SHADING @@ -2813,7 +2818,7 @@ float czm_shadowVisibility(sampler2D shadowMap, czm_shadowParameters shadowParam return czm_private_shadowVisibility(visibility, nDotL, normalShadingSmooth, darkness); } #endif -`,b0e=`/** +`,obe=`/** * Returns 1.0 if the given value is positive or zero, and -1.0 if it is negative. This is similar to the GLSL * built-in function sign except that returns 1.0 instead of 0.0 when the input value is 0.0. * @@ -2842,7 +2847,7 @@ vec4 czm_signNotZero(vec4 value) { return vec4(czm_signNotZero(value.x), czm_signNotZero(value.y), czm_signNotZero(value.z), czm_signNotZero(value.w)); } -`,C0e=`/** +`,rbe=`/** * Computes a color from the third order spherical harmonic coefficients and a normalized direction vector. *

* The order of the coefficients is [L00, L1_1, L10, L11, L2_2, L2_1, L20, L21, L22]. @@ -2884,7 +2889,7 @@ vec3 czm_sphericalHarmonics(vec3 normal, vec3 coefficients[9]) + L21 * (z * x) + L22 * (x * x - y * y); } -`,T0e=`/** +`,sbe=`/** * Converts an sRGB color to a linear RGB color. * * @param {vec3|vec4} srgbIn The color in sRGB space @@ -2900,7 +2905,7 @@ vec4 czm_srgbToLinear(vec4 srgbIn) vec3 linearOut = pow(srgbIn.rgb, vec3(2.2)); return vec4(linearOut, srgbIn.a); } -`,E0e=`/** +`,abe=`/** * Creates a matrix that transforms vectors from tangent space to eye space. * * @name czm_tangentToEyeSpaceMatrix @@ -2925,7 +2930,7 @@ mat3 czm_tangentToEyeSpaceMatrix(vec3 normalEC, vec3 tangentEC, vec3 bitangentEC bitangent.x, bitangent.y, bitangent.z, normal.x , normal.y , normal.z); } -`,x0e=`/** +`,cbe=`/** * Transforms a plane. * * @name czm_transformPlane @@ -2940,7 +2945,7 @@ vec4 czm_transformPlane(vec4 plane, mat4 transform) { float normalMagnitude = length(transformedPlane.xyz); return transformedPlane / normalMagnitude; } -`,w0e=`/** +`,lbe=`/** * Translates a position (or any vec3) that was encoded with {@link EncodedCartesian3}, * and then provided to the shader as separate high and low bits to * be relative to the eye. As shown in the example, the position can then be transformed in eye @@ -2980,7 +2985,7 @@ vec4 czm_translateRelativeToEye(vec3 high, vec3 low) return vec4(highDifference + lowDifference, 1.0); } -`,S0e=`/** +`,ube=`/** * @private */ vec4 czm_translucentPhong(vec3 toEye, czm_material material, vec3 lightDirectionEC) @@ -3007,7 +3012,7 @@ vec4 czm_translucentPhong(vec3 toEye, czm_material material, vec3 lightDirection return vec4(color, material.alpha); } -`,v0e=`/** +`,fbe=`/** * Returns the transpose of the matrix. The input matrix can be * a mat2, mat3, or mat4. * @@ -3052,7 +3057,7 @@ mat4 czm_transpose(mat4 matrix) matrix[0][2], matrix[1][2], matrix[2][2], matrix[3][2], matrix[0][3], matrix[1][3], matrix[2][3], matrix[3][3]); } -`,D0e=`/** +`,dbe=`/** * Unpacks a vec4 depth value to a float in [0, 1) range. * * @name czm_unpackDepth @@ -3068,7 +3073,7 @@ mat4 czm_transpose(mat4 matrix) // http://aras-p.info/blog/2009/07/30/encoding-floats-to-rgba-the-final/ return dot(packedDepth, vec4(1.0, 1.0 / 255.0, 1.0 / 65025.0, 1.0 / 16581375.0)); } -`,I0e=`/** +`,hbe=`/** * Unpack an IEEE 754 single-precision float that is packed as a little-endian unsigned normalized vec4. * * @name czm_unpackFloat @@ -3092,7 +3097,7 @@ float czm_unpackFloat(vec4 packedFloat) float result = sign * exp2(exponent - 23.0) * mantissa; return result; } -`,P0e=`/** +`,pbe=`/** * Unpack unsigned integers of 1-4 bytes. in WebGL 1, there is no uint type, * so the return value is an int. *

@@ -3123,7 +3128,7 @@ float czm_unpackFloat(vec4 packedFloat) vec4 rounded = czm_round(packedValue * 255.0); return int(dot(rounded, vec4(1.0, 256.0, 65536.0, 16777216.0))); } -`,O0e=`/** +`,mbe=`/** * Transform metadata values following the EXT_structural_metadata spec * by multiplying by scale and adding the offset. Operations are always * performed component-wise, even for matrices. @@ -3161,7 +3166,7 @@ mat3 czm_valueTransform(mat3 offset, mat3 scale, mat3 value) { mat4 czm_valueTransform(mat4 offset, mat4 scale, mat4 value) { return matrixCompMult(scale, value) + offset; } -`,L0e=`#ifdef LOG_DEPTH +`,_be=`#ifdef LOG_DEPTH // 1.0 at the near plane, increasing linearly from there. varying float v_depthFromNearPlusOne; #ifdef SHADOW_MAP @@ -3225,7 +3230,7 @@ void czm_vertexLogDepth(vec4 clipCoords) czm_updatePositionDepth(clipCoords); #endif } -`,B0e=`vec4 czm_screenToEyeCoordinates(vec4 screenCoordinate) +`,gbe=`vec4 czm_screenToEyeCoordinates(vec4 screenCoordinate) { // Reconstruct NDC coordinates float x = 2.0 * screenCoordinate.x - 1.0; @@ -3336,7 +3341,7 @@ vec4 czm_windowToEyeCoordinates(vec2 fragmentCoordinateXY, float depthOrLogDepth vec2 screenCoordXY = (fragmentCoordinateXY.xy - czm_viewport.xy) / czm_viewport.zw; return czm_screenToEyeCoordinates(screenCoordXY, depthOrLogDepth); } -`,R0e=`// emulated noperspective +`,ybe=`// emulated noperspective #if defined(GL_EXT_frag_depth) && !defined(LOG_DEPTH) varying float v_WindowZ; #endif @@ -3363,7 +3368,7 @@ void czm_writeDepthClamp() gl_FragDepthEXT = clamp(v_WindowZ * gl_FragCoord.w, 0.0, 1.0); #endif } -`,N0e=`#ifdef LOG_DEPTH +`,Abe=`#ifdef LOG_DEPTH varying float v_depthFromNearPlusOne; #ifdef POLYGON_OFFSET @@ -3445,7 +3450,7 @@ void czm_writeLogDepth() { czm_writeLogDepth(v_depthFromNearPlusOne); #endif } -`,M0e=`/** +`,bbe=`/** * Transforms a value for non-perspective interpolation by multiplying * it by w, the value used in the perspective divide. This function is * intended to be called in a vertex shader to compute the value of a @@ -3477,13 +3482,13 @@ vec3 czm_writeNonPerspective(vec3 value, float w) { vec4 czm_writeNonPerspective(vec4 value, float w) { return value * w; } -`,QI={czm_degreesPerRadian:mge,czm_depthRange:_ge,czm_epsilon1:gge,czm_epsilon2:yge,czm_epsilon3:Age,czm_epsilon4:bge,czm_epsilon5:Cge,czm_epsilon6:Tge,czm_epsilon7:Ege,czm_infinity:xge,czm_oneOverPi:wge,czm_oneOverTwoPi:Sge,czm_passCesium3DTile:vge,czm_passCesium3DTileClassification:Dge,czm_passCesium3DTileClassificationIgnoreShow:Ige,czm_passClassification:Pge,czm_passCompute:Oge,czm_passEnvironment:Lge,czm_passGlobe:Bge,czm_passOpaque:Rge,czm_passOverlay:Nge,czm_passTerrainClassification:Mge,czm_passTranslucent:Fge,czm_passVoxels:zge,czm_pi:Uge,czm_piOverFour:Hge,czm_piOverSix:Vge,czm_piOverThree:kge,czm_piOverTwo:Gge,czm_radiansPerDegree:Wge,czm_sceneMode2D:jge,czm_sceneMode3D:qge,czm_sceneModeColumbusView:Yge,czm_sceneModeMorphing:$ge,czm_solarRadius:Xge,czm_threePiOver2:Kge,czm_twoPi:Jge,czm_webMercatorMaxLatitude:Qge,czm_depthRangeStruct:Zge,czm_material:eye,czm_materialInput:tye,czm_modelMaterial:nye,czm_modelVertexOutput:iye,czm_pbrParameters:oye,czm_ray:rye,czm_raySegment:sye,czm_shadowParameters:aye,czm_HSBToRGB:cye,czm_HSLToRGB:lye,czm_RGBToHSB:uye,czm_RGBToHSL:fye,czm_RGBToXYZ:dye,czm_XYZToRGB:hye,czm_acesTonemapping:pye,czm_alphaWeight:mye,czm_antialias:_ye,czm_approximateSphericalCoordinates:gye,czm_backFacing:yye,czm_branchFreeTernary:Aye,czm_cascadeColor:bye,czm_cascadeDistance:Cye,czm_cascadeMatrix:Tye,czm_cascadeWeights:Eye,czm_columbusViewMorph:xye,czm_computePosition:wye,czm_cosineAndSine:Sye,czm_decompressTextureCoordinates:vye,czm_defaultPbrMaterial:Dye,czm_depthClamp:Iye,czm_eastNorthUpToEyeCoordinates:Pye,czm_ellipsoidContainsPoint:Oye,czm_ellipsoidWgs84TextureCoordinates:Lye,czm_equalsEpsilon:Bye,czm_eyeOffset:Rye,czm_eyeToWindowCoordinates:Nye,czm_fastApproximateAtan:Mye,czm_fog:Fye,czm_gammaCorrect:zye,czm_geodeticSurfaceNormal:Uye,czm_getDefaultMaterial:Hye,czm_getLambertDiffuse:Vye,czm_getSpecular:kye,czm_getWaterNoise:Gye,czm_hue:Wye,czm_inverseGamma:jye,czm_isEmpty:qye,czm_isFull:Yye,czm_latitudeToWebMercatorFraction:$ye,czm_lineDistance:Xye,czm_linearToSrgb:Kye,czm_luminance:Jye,czm_metersPerPixel:Qye,czm_modelToWindowCoordinates:Zye,czm_multiplyWithColorBalance:e0e,czm_nearFarScalar:t0e,czm_octDecode:n0e,czm_packDepth:i0e,czm_pbrLighting:o0e,czm_pbrMetallicRoughnessMaterial:r0e,czm_pbrSpecularGlossinessMaterial:s0e,czm_phong:a0e,czm_planeDistance:c0e,czm_pointAlongRay:l0e,czm_rayEllipsoidIntersectionInterval:u0e,czm_raySphereIntersectionInterval:f0e,czm_readDepth:d0e,czm_readNonPerspective:h0e,czm_reverseLogDepth:p0e,czm_round:m0e,czm_sampleOctahedralProjection:_0e,czm_saturation:g0e,czm_shadowDepthCompare:y0e,czm_shadowVisibility:A0e,czm_signNotZero:b0e,czm_sphericalHarmonics:C0e,czm_srgbToLinear:T0e,czm_tangentToEyeSpaceMatrix:E0e,czm_transformPlane:x0e,czm_translateRelativeToEye:w0e,czm_translucentPhong:S0e,czm_transpose:v0e,czm_unpackDepth:D0e,czm_unpackFloat:I0e,czm_unpackUint:P0e,czm_valueTransform:O0e,czm_vertexLogDepth:L0e,czm_windowToEyeCoordinates:B0e,czm_writeDepthClamp:R0e,czm_writeLogDepth:N0e,czm_writeNonPerspective:M0e};function Pj(e){return e=e.replace(/\/\/.*/g,""),e.replace(/\/\*\*[\s\S]*?\*\//gm,function(t){const n=t.match(/\n/gm).length;let i="";for(let o=0;o0;){const o=e.pop();n.push(o),o.requiredBy.length===0&&t.push(o)}for(;t.length>0;){const o=t.shift();e.push(o);for(let r=0;r0;){const o=e.pop();n.push(o),o.requiredBy.length===0&&t.push(o)}for(;t.length>0;){const o=t.shift();e.push(o);for(let r=0;r=0;--o)i=`${i+t[o].glslSource} -`;return i.replace(n.glslSource,"")}function Bj(e,t,n){let i,o,r="";const s=e.sources;if(l(s))for(i=0,o=s.length;i=0;--o)i=`${i+t[o].glslSource} +`;return i.replace(n.glslSource,"")}function nq(e,t,n){let i,o,r="";const s=e.sources;if(l(s))for(i=0,o=s.length;i-1&&i.derivedKeywords.splice(s,1)}return this.createDerivedShaderProgram(e,t,n)};pu.prototype.getDerivedShaderProgram=function(e,t){const n=e._cachedShader,i=t+n.keyword,o=this._shaders[i];if(l(o))return o.shaderProgram};pu.prototype.createDerivedShaderProgram=function(e,t,n){const i=e._cachedShader,o=t+i.keyword;let r=n.vertexShaderSource,s=n.fragmentShaderSource;const a=n.attributeLocations;typeof r=="string"&&(r=new We({sources:[r]})),typeof s=="string"&&(s=new We({sources:[s]}));const c=this._context,u=r.createCombinedVertexShader(c),f=s.createCombinedFragmentShader(c),h=new mn({gl:c._gl,logShaderCompilation:c.logShaderCompilation,debugShaders:c.debugShaders,vertexShaderSource:r,vertexShaderText:u,fragmentShaderSource:s,fragmentShaderText:f,attributeLocations:a}),_={cache:this,shaderProgram:h,keyword:o,derivedKeywords:[],count:0};return i.derivedKeywords.push(t),h._cachedShader=_,this._shaders[o]=_,h};function jN(e,t){const n=t.derivedKeywords,i=n.length;for(let o=0;ovt.maximumTextureSize)throw new E(`Width must be less than or equal to the maximum texture size (${vt.maximumTextureSize}). Check maximumTextureSize.`);if(T.typeOf.number.greaterThan("height",i,0),i>vt.maximumTextureSize)throw new E(`Height must be less than or equal to the maximum texture size (${vt.maximumTextureSize}). Check maximumTextureSize.`);if(!it.validate(r))throw new E("Invalid options.pixelFormat.");if(!c&&!Je.validate(s))throw new E("Invalid options.pixelDatatype.");if(r===it.DEPTH_COMPONENT&&s!==Je.UNSIGNED_SHORT&&s!==Je.UNSIGNED_INT)throw new E("When options.pixelFormat is DEPTH_COMPONENT, options.pixelDatatype must be UNSIGNED_SHORT or UNSIGNED_INT.");if(r===it.DEPTH_STENCIL&&s!==Je.UNSIGNED_INT_24_8)throw new E("When options.pixelFormat is DEPTH_STENCIL, options.pixelDatatype must be UNSIGNED_INT_24_8.");if(s===Je.FLOAT&&!t.floatingPointTexture)throw new E("When options.pixelDatatype is FLOAT, this WebGL implementation must support the OES_texture_float extension. Check context.floatingPointTexture.");if(s===Je.HALF_FLOAT&&!t.halfFloatingPointTexture)throw new E("When options.pixelDatatype is HALF_FLOAT, this WebGL implementation must support the OES_texture_half_float extension. Check context.halfFloatingPointTexture.");if(it.isDepthFormat(r)){if(l(o))throw new E("When options.pixelFormat is DEPTH_COMPONENT or DEPTH_STENCIL, source cannot be provided.");if(!t.depthTexture)throw new E("When options.pixelFormat is DEPTH_COMPONENT or DEPTH_STENCIL, this WebGL implementation must support WEBGL_depth_texture. Check context.depthTexture.")}if(c){if(!l(o)||!l(o.arrayBufferView))throw new E("When options.pixelFormat is compressed, options.source.arrayBufferView must be defined.");if(it.isDXTFormat(a)&&!t.s3tc)throw new E("When options.pixelFormat is S3TC compressed, this WebGL implementation must support the WEBGL_compressed_texture_s3tc extension. Check context.s3tc.");if(it.isPVRTCFormat(a)&&!t.pvrtc)throw new E("When options.pixelFormat is PVRTC compressed, this WebGL implementation must support the WEBGL_compressed_texture_pvrtc extension. Check context.pvrtc.");if(it.isASTCFormat(a)&&!t.astc)throw new E("When options.pixelFormat is ASTC compressed, this WebGL implementation must support the WEBGL_compressed_texture_astc extension. Check context.astc.");if(it.isETC2Format(a)&&!t.etc)throw new E("When options.pixelFormat is ETC2 compressed, this WebGL implementation must support the WEBGL_compressed_texture_etc extension. Check context.etc.");if(it.isETC1Format(a)&&!t.etc1)throw new E("When options.pixelFormat is ETC1 compressed, this WebGL implementation must support the WEBGL_compressed_texture_etc1 extension. Check context.etc1.");if(it.isBC7Format(a)&&!t.bc7)throw new E("When options.pixelFormat is BC7 compressed, this WebGL implementation must support the EXT_texture_compression_bptc extension. Check context.bc7.");if(it.compressedTextureSizeInBytes(a,n,i)!==o.arrayBufferView.byteLength)throw new E("The byte length of the array buffer is invalid for the compressed texture with the given width and height.")}const u=e.preMultiplyAlpha||r===it.RGB||r===it.LUMINANCE,f=A(e.flipY,!0),h=A(e.skipColorSpaceConversion,!1);let _=!0;const g=t._gl,p=g.TEXTURE_2D,y=g.createTexture();g.activeTexture(g.TEXTURE0),g.bindTexture(p,y);let b=4;if(l(o)&&l(o.arrayBufferView)&&!c&&(b=it.alignmentInBytes(r,s,n)),g.pixelStorei(g.UNPACK_ALIGNMENT,b),h?g.pixelStorei(g.UNPACK_COLORSPACE_CONVERSION_WEBGL,g.NONE):g.pixelStorei(g.UNPACK_COLORSPACE_CONVERSION_WEBGL,g.BROWSER_DEFAULT_WEBGL),l(o))if(l(o.arrayBufferView)){g.pixelStorei(g.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),g.pixelStorei(g.UNPACK_FLIP_Y_WEBGL,!1);let x=o.arrayBufferView,S,v,P;if(c){if(g.compressedTexImage2D(p,0,a,n,i,0,x),l(o.mipLevels))for(v=n,P=i,S=0;Sn.drawingBufferWidth)throw new E("framebufferXOffset + width must be less than or equal to drawingBufferWidth");if(r+a>n.drawingBufferHeight)throw new E("framebufferYOffset + height must be less than or equal to drawingBufferHeight.");return new Ht({context:t,width:s,height:a,pixelFormat:i,source:{framebuffer:l(c)?c:t.defaultFramebuffer,xOffset:o,yOffset:r,width:s,height:a}})};Object.defineProperties(Ht.prototype,{id:{get:function(){return this._id}},sampler:{get:function(){return this._sampler},set:function(e){let t=e.minificationFilter,n=e.magnificationFilter;const i=this._context,o=this._pixelFormat,r=this._pixelDatatype,s=t===Cn.NEAREST_MIPMAP_NEAREST||t===Cn.NEAREST_MIPMAP_LINEAR||t===Cn.LINEAR_MIPMAP_NEAREST||t===Cn.LINEAR_MIPMAP_LINEAR;(r===Je.FLOAT&&!i.textureFloatLinear||r===Je.HALF_FLOAT&&!i.textureHalfFloatLinear)&&(t=s?Cn.NEAREST_MIPMAP_NEAREST:Cn.NEAREST,n=qr.NEAREST),i.webgl2&&it.isDepthFormat(o)&&(t=Cn.NEAREST,n=qr.NEAREST);const a=i._gl,c=this._textureTarget;a.activeTexture(a.TEXTURE0),a.bindTexture(c,this._texture),a.texParameteri(c,a.TEXTURE_MIN_FILTER,t),a.texParameteri(c,a.TEXTURE_MAG_FILTER,n),a.texParameteri(c,a.TEXTURE_WRAP_S,e.wrapS),a.texParameteri(c,a.TEXTURE_WRAP_T,e.wrapT),l(this._textureFilterAnisotropic)&&a.texParameteri(c,this._textureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,e.maximumAnisotropy),a.bindTexture(c,null),this._sampler=e}},pixelFormat:{get:function(){return this._pixelFormat}},pixelDatatype:{get:function(){return this._pixelDatatype}},dimensions:{get:function(){return this._dimensions}},preMultiplyAlpha:{get:function(){return this._preMultiplyAlpha}},flipY:{get:function(){return this._flipY}},width:{get:function(){return this._width}},height:{get:function(){return this._height}},sizeInBytes:{get:function(){return this._hasMipmap?Math.floor(this._sizeInBytes*4/3):this._sizeInBytes}},_target:{get:function(){return this._textureTarget}}});Ht.prototype.copyFrom=function(e){T.defined("options",e);const t=A(e.xOffset,0),n=A(e.yOffset,0);if(T.defined("options.source",e.source),it.isDepthFormat(this._pixelFormat))throw new E("Cannot call copyFrom when the texture pixel format is DEPTH_COMPONENT or DEPTH_STENCIL.");if(it.isCompressedFormat(this._pixelFormat))throw new E("Cannot call copyFrom with a compressed texture pixel format.");T.typeOf.number.greaterThanOrEquals("xOffset",t,0),T.typeOf.number.greaterThanOrEquals("yOffset",n,0),T.typeOf.number.lessThanOrEquals("xOffset + options.source.width",t+e.source.width,this._width),T.typeOf.number.lessThanOrEquals("yOffset + options.source.height",n+e.source.height,this._height);const i=e.source,o=this._context,r=o._gl,s=this._textureTarget;r.activeTexture(r.TEXTURE0),r.bindTexture(s,this._texture);const a=i.width,c=i.height;let u=i.arrayBufferView;const f=this._width,h=this._height,_=this._internalFormat,g=this._pixelFormat,p=this._pixelDatatype,y=this._preMultiplyAlpha,b=this._flipY,C=A(e.skipColorSpaceConversion,!1);let x=4;l(u)&&(x=it.alignmentInBytes(g,p,a)),r.pixelStorei(r.UNPACK_ALIGNMENT,x),C?r.pixelStorei(r.UNPACK_COLORSPACE_CONVERSION_WEBGL,r.NONE):r.pixelStorei(r.UNPACK_COLORSPACE_CONVERSION_WEBGL,r.BROWSER_DEFAULT_WEBGL);let S=!1;if(!this._initialized){if(t===0&&n===0&&a===f&&c===h)l(u)?(r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL,!1),b&&(u=it.flipY(u,g,p,f,h)),r.texImage2D(s,0,_,f,h,0,g,Je.toWebGLConstant(p,o),u)):(r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,y),r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL,b),r.texImage2D(s,0,_,g,Je.toWebGLConstant(p,o),i)),S=!0;else{r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL,!1);const v=it.createTypedArray(g,p,f,h);r.texImage2D(s,0,_,f,h,0,g,Je.toWebGLConstant(p,o),v)}this._initialized=!0}S||(l(u)?(r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL,!1),b&&(u=it.flipY(u,g,p,a,c)),r.texSubImage2D(s,0,t,n,a,c,g,Je.toWebGLConstant(p,o),u)):(r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,y),r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL,b),r.texSubImage2D(s,0,t,n,g,Je.toWebGLConstant(p,o),i))),r.bindTexture(s,null)};Ht.prototype.copyFromFramebuffer=function(e,t,n,i,o,r){if(e=A(e,0),t=A(t,0),n=A(n,0),i=A(i,0),o=A(o,this._width),r=A(r,this._height),it.isDepthFormat(this._pixelFormat))throw new E("Cannot call copyFromFramebuffer when the texture pixel format is DEPTH_COMPONENT or DEPTH_STENCIL.");if(this._pixelDatatype===Je.FLOAT)throw new E("Cannot call copyFromFramebuffer when the texture pixel data type is FLOAT.");if(this._pixelDatatype===Je.HALF_FLOAT)throw new E("Cannot call copyFromFramebuffer when the texture pixel data type is HALF_FLOAT.");if(it.isCompressedFormat(this._pixelFormat))throw new E("Cannot call copyFrom with a compressed texture pixel format.");T.typeOf.number.greaterThanOrEquals("xOffset",e,0),T.typeOf.number.greaterThanOrEquals("yOffset",t,0),T.typeOf.number.greaterThanOrEquals("framebufferXOffset",n,0),T.typeOf.number.greaterThanOrEquals("framebufferYOffset",i,0),T.typeOf.number.lessThanOrEquals("xOffset + width",e+o,this._width),T.typeOf.number.lessThanOrEquals("yOffset + height",t+r,this._height);const s=this._context._gl,a=this._textureTarget;s.activeTexture(s.TEXTURE0),s.bindTexture(a,this._texture),s.copyTexSubImage2D(a,0,e,t,n,i,o,r),s.bindTexture(a,null),this._initialized=!0};Ht.prototype.generateMipmap=function(e){if(e=A(e,e0.DONT_CARE),it.isDepthFormat(this._pixelFormat))throw new E("Cannot call generateMipmap when the texture pixel format is DEPTH_COMPONENT or DEPTH_STENCIL.");if(it.isCompressedFormat(this._pixelFormat))throw new E("Cannot call generateMipmap with a compressed pixel format.");if(!this._context.webgl2){if(this._width>1&&!N.isPowerOfTwo(this._width))throw new E("width must be a power of two to call generateMipmap() in a WebGL1 context.");if(this._height>1&&!N.isPowerOfTwo(this._height))throw new E("height must be a power of two to call generateMipmap() in a WebGL1 context.")}if(!e0.validate(e))throw new E("hint is invalid.");this._hasMipmap=!0;const t=this._context._gl,n=this._textureTarget;t.hint(t.GENERATE_MIPMAP_HINT,e),t.activeTexture(t.TEXTURE0),t.bindTexture(n,this._texture),t.generateMipmap(n),t.bindTexture(n,null)};Ht.prototype.isDestroyed=function(){return!1};Ht.prototype.destroy=function(){return this._context._gl.deleteTexture(this._texture),He(this)};function H_(){this._textures={},this._numberOfTextures=0,this._texturesToRelease={}}Object.defineProperties(H_.prototype,{numberOfTextures:{get:function(){return this._numberOfTextures}}});H_.prototype.getTexture=function(e){const t=this._textures[e];if(l(t))return delete this._texturesToRelease[e],++t.count,t.texture};H_.prototype.addTexture=function(e,t){const n={texture:t,count:1};t.finalDestroy=t.destroy;const i=this;t.destroy=function(){--n.count===0&&(i._texturesToRelease[e]=n)},this._textures[e]=n,++this._numberOfTextures};H_.prototype.destroyReleasedTextures=function(){const e=this._texturesToRelease;for(const t in e)if(e.hasOwnProperty(t)){const n=e[t];delete this._textures[t],n.texture.finalDestroy(),--this._numberOfTextures}this._texturesToRelease={}};H_.prototype.isDestroyed=function(){return!1};H_.prototype.destroy=function(){const e=this._textures;for(const t in e)e.hasOwnProperty(t)&&e[t].texture.finalDestroy();return He(this)};function Dn(){this.high=d.clone(d.ZERO),this.low=d.clone(d.ZERO)}Dn.encode=function(e,t){T.typeOf.number("value",e),l(t)||(t={high:0,low:0});let n;return e>=0?(n=Math.floor(e/65536)*65536,t.high=n,t.low=e-n):(n=Math.floor(-e/65536)*65536,t.high=-n,t.low=e+n),t};const zf={high:0,low:0};Dn.fromCartesian=function(e,t){T.typeOf.object("cartesian",e),l(t)||(t=new Dn);const n=t.high,i=t.low;return Dn.encode(e.x,zf),n.x=zf.high,i.x=zf.low,Dn.encode(e.y,zf),n.y=zf.high,i.y=zf.low,Dn.encode(e.z,zf),n.z=zf.high,i.z=zf.low,t};const ZI=new Dn;Dn.writeElements=function(e,t,n){T.defined("cartesianArray",t),T.typeOf.number("index",n),T.typeOf.number.greaterThanOrEquals("index",n,0),Dn.fromCartesian(e,ZI);const i=ZI.high,o=ZI.low;t[n]=i.x,t[n+1]=i.y,t[n+2]=i.z,t[n+3]=o.x,t[n+4]=o.y,t[n+5]=o.z};function Dt(e,t){if(T.typeOf.object("normal",e),!N.equalsEpsilon(d.magnitude(e),1,N.EPSILON6))throw new E("normal must be normalized.");T.typeOf.number("distance",t),this.normal=d.clone(e),this.distance=t}Dt.fromPointNormal=function(e,t,n){if(T.typeOf.object("point",e),T.typeOf.object("normal",t),!N.equalsEpsilon(d.magnitude(t),1,N.EPSILON6))throw new E("normal must be normalized.");const i=-d.dot(t,e);return l(n)?(d.clone(t,n.normal),n.distance=i,n):new Dt(t,i)};const G0e=new d;Dt.fromCartesian4=function(e,t){T.typeOf.object("coefficients",e);const n=d.fromCartesian4(e,G0e),i=e.w;if(!N.equalsEpsilon(d.magnitude(n),1,N.EPSILON6))throw new E("normal must be normalized.");return l(t)?(d.clone(n,t.normal),t.distance=i,t):new Dt(n,i)};Dt.getPointDistance=function(e,t){return T.typeOf.object("plane",e),T.typeOf.object("point",t),d.dot(e.normal,t)+e.distance};const W0e=new d;Dt.projectPointOntoPlane=function(e,t,n){T.typeOf.object("plane",e),T.typeOf.object("point",t),l(n)||(n=new d);const i=Dt.getPointDistance(e,t),o=d.multiplyByScalar(e.normal,i,W0e);return d.subtract(t,o,n)};const j0e=new B,q0e=new oe,Y0e=new d;Dt.transform=function(e,t,n){T.typeOf.object("plane",e),T.typeOf.object("transform",t);const i=e.normal,o=e.distance,r=B.inverseTranspose(t,j0e);let s=oe.fromElements(i.x,i.y,i.z,o,q0e);s=B.multiplyByVector(r,s,s);const a=d.fromCartesian4(s,Y0e);return s=oe.divideByScalar(s,d.magnitude(a),s),Dt.fromCartesian4(s,n)};Dt.clone=function(e,t){return T.typeOf.object("plane",e),l(t)?(d.clone(e.normal,t.normal),t.distance=e.distance,t):new Dt(e.normal,e.distance)};Dt.equals=function(e,t){return T.typeOf.object("left",e),T.typeOf.object("right",t),e.distance===t.distance&&d.equals(e.normal,t.normal)};Dt.ORIGIN_XY_PLANE=Object.freeze(new Dt(d.UNIT_Z,0));Dt.ORIGIN_YZ_PLANE=Object.freeze(new Dt(d.UNIT_X,0));Dt.ORIGIN_ZX_PLANE=Object.freeze(new Dt(d.UNIT_Y,0));function nr(e){this.planes=A(e,[])}const eC=[new d,new d,new d];d.clone(d.UNIT_X,eC[0]);d.clone(d.UNIT_Y,eC[1]);d.clone(d.UNIT_Z,eC[2]);const mh=new d,$0e=new d,Mj=new Dt(new d(1,0,0),0);nr.fromBoundingSphere=function(e,t){if(!l(e))throw new E("boundingSphere is required.");l(t)||(t=new nr);const n=eC.length,i=t.planes;i.length=2*n;const o=e.center,r=e.radius;let s=0;for(let a=0;ae.right)throw new E("right must be greater than left.");if(e.bottom>e.top)throw new E("top must be greater than bottom.");if(e.near<=0||e.near>e.far)throw new E("near must be greater than zero and less than far.");e._left=e.left,e._right=e.right,e._top=e.top,e._bottom=e.bottom,e._near=e.near,e._far=e.far,e._orthographicMatrix=B.computeOrthographicOffCenter(e.left,e.right,e.bottom,e.top,e.near,e.far,e._orthographicMatrix)}}Object.defineProperties(Uo.prototype,{projectionMatrix:{get:function(){return Fj(this),this._orthographicMatrix}}});const X0e=new d,K0e=new d,J0e=new d,e1=new d;Uo.prototype.computeCullingVolume=function(e,t,n){if(!l(e))throw new E("position is required.");if(!l(t))throw new E("direction is required.");if(!l(n))throw new E("up is required.");const i=this._cullingVolume.planes,o=this.top,r=this.bottom,s=this.right,a=this.left,c=this.near,u=this.far,f=d.cross(t,n,X0e);d.normalize(f,f);const h=K0e;d.multiplyByScalar(t,c,h),d.add(e,h,h);const _=J0e;d.multiplyByScalar(f,a,_),d.add(h,_,_);let g=i[0];return l(g)||(g=i[0]=new oe),g.x=f.x,g.y=f.y,g.z=f.z,g.w=-d.dot(f,_),d.multiplyByScalar(f,s,_),d.add(h,_,_),g=i[1],l(g)||(g=i[1]=new oe),g.x=-f.x,g.y=-f.y,g.z=-f.z,g.w=-d.dot(d.negate(f,e1),_),d.multiplyByScalar(n,r,_),d.add(h,_,_),g=i[2],l(g)||(g=i[2]=new oe),g.x=n.x,g.y=n.y,g.z=n.z,g.w=-d.dot(n,_),d.multiplyByScalar(n,o,_),d.add(h,_,_),g=i[3],l(g)||(g=i[3]=new oe),g.x=-n.x,g.y=-n.y,g.z=-n.z,g.w=-d.dot(d.negate(n,e1),_),g=i[4],l(g)||(g=i[4]=new oe),g.x=t.x,g.y=t.y,g.z=t.z,g.w=-d.dot(t,h),d.multiplyByScalar(t,u,_),d.add(e,_,_),g=i[5],l(g)||(g=i[5]=new oe),g.x=-t.x,g.y=-t.y,g.z=-t.z,g.w=-d.dot(d.negate(t,e1),_),this._cullingVolume};Uo.prototype.getPixelDimensions=function(e,t,n,i,o){if(Fj(this),!l(e)||!l(t))throw new E("Both drawingBufferWidth and drawingBufferHeight are required.");if(e<=0)throw new E("drawingBufferWidth must be greater than zero.");if(t<=0)throw new E("drawingBufferHeight must be greater than zero.");if(!l(n))throw new E("distance is required.");if(!l(i))throw new E("pixelRatio is required.");if(i<=0)throw new E("pixelRatio must be greater than zero.");if(!l(o))throw new E("A result object is required.");const r=this.right-this.left,s=this.top-this.bottom,a=i*r/e,c=i*s/t;return o.x=a,o.y=c,o};Uo.prototype.clone=function(e){return l(e)||(e=new Uo),e.left=this.left,e.right=this.right,e.top=this.top,e.bottom=this.bottom,e.near=this.near,e.far=this.far,e._left=void 0,e._right=void 0,e._top=void 0,e._bottom=void 0,e._near=void 0,e._far=void 0,e};Uo.prototype.equals=function(e){return l(e)&&e instanceof Uo&&this.right===e.right&&this.left===e.left&&this.top===e.top&&this.bottom===e.bottom&&this.near===e.near&&this.far===e.far};Uo.prototype.equalsEpsilon=function(e,t,n){return e===this||l(e)&&e instanceof Uo&&N.equalsEpsilon(this.right,e.right,t,n)&&N.equalsEpsilon(this.left,e.left,t,n)&&N.equalsEpsilon(this.top,e.top,t,n)&&N.equalsEpsilon(this.bottom,e.bottom,t,n)&&N.equalsEpsilon(this.near,e.near,t,n)&&N.equalsEpsilon(this.far,e.far,t,n)};function Ut(e){e=A(e,A.EMPTY_OBJECT),this._offCenterFrustum=new Uo,this.width=e.width,this._width=void 0,this.aspectRatio=e.aspectRatio,this._aspectRatio=void 0,this.near=A(e.near,1),this._near=this.near,this.far=A(e.far,5e8),this._far=this.far}Ut.packedLength=4;Ut.pack=function(e,t,n){return T.typeOf.object("value",e),T.defined("array",t),n=A(n,0),t[n++]=e.width,t[n++]=e.aspectRatio,t[n++]=e.near,t[n]=e.far,t};Ut.unpack=function(e,t,n){return T.defined("array",e),t=A(t,0),l(n)||(n=new Ut),n.width=e[t++],n.aspectRatio=e[t++],n.near=e[t++],n.far=e[t],n};function d_(e){if(!l(e.width)||!l(e.aspectRatio)||!l(e.near)||!l(e.far))throw new E("width, aspectRatio, near, or far parameters are not set.");const t=e._offCenterFrustum;if(e.width!==e._width||e.aspectRatio!==e._aspectRatio||e.near!==e._near||e.far!==e._far){if(e.aspectRatio<0)throw new E("aspectRatio must be positive.");if(e.near<0||e.near>e.far)throw new E("near must be greater than zero and less than far.");e._aspectRatio=e.aspectRatio,e._width=e.width,e._near=e.near,e._far=e.far;const n=1/e.aspectRatio;t.right=e.width*.5,t.left=-t.right,t.top=n*t.right,t.bottom=-t.top,t.near=e.near,t.far=e.far}}Object.defineProperties(Ut.prototype,{projectionMatrix:{get:function(){return d_(this),this._offCenterFrustum.projectionMatrix}}});Ut.prototype.computeCullingVolume=function(e,t,n){return d_(this),this._offCenterFrustum.computeCullingVolume(e,t,n)};Ut.prototype.getPixelDimensions=function(e,t,n,i,o){return d_(this),this._offCenterFrustum.getPixelDimensions(e,t,n,i,o)};Ut.prototype.clone=function(e){return l(e)||(e=new Ut),e.aspectRatio=this.aspectRatio,e.width=this.width,e.near=this.near,e.far=this.far,e._aspectRatio=void 0,e._width=void 0,e._near=void 0,e._far=void 0,this._offCenterFrustum.clone(e._offCenterFrustum),e};Ut.prototype.equals=function(e){return!l(e)||!(e instanceof Ut)?!1:(d_(this),d_(e),this.width===e.width&&this.aspectRatio===e.aspectRatio&&this._offCenterFrustum.equals(e._offCenterFrustum))};Ut.prototype.equalsEpsilon=function(e,t,n){return!l(e)||!(e instanceof Ut)?!1:(d_(this),d_(e),N.equalsEpsilon(this.width,e.width,t,n)&&N.equalsEpsilon(this.aspectRatio,e.aspectRatio,t,n)&&this._offCenterFrustum.equalsEpsilon(e._offCenterFrustum,t,n))};const qN={};function Q0e(e){const t=6.239996+.0172019696544*e;return .001657*Math.sin(t+.01671*Math.sin(t))}const Z0e=32.184,eAe=2451545;function zj(e,t){t=ie.addSeconds(e,Z0e,t);const n=ie.totalDays(t)-eAe;return t=ie.addSeconds(t,Q0e(n),t),t}const vS=new ie(2451545,0,Vn.TAI),tAe=1e3,Fc=N.RADIANS_PER_DEGREE,$a=N.RADIANS_PER_ARCSECOND,Ds=14959787e4,Qz=new J;function Uj(e,t,n,i,o,r,s){if(n<0&&(n=-n,o+=N.PI),n<0||n>N.PI)throw new E("The inclination is out of range. Inclination must be greater than or equal to zero and less than or equal to Pi radians.");const a=e*(1-t),c=i-o,u=o,f=iAe(r-i,t);if(nAe(t,0)==="Hyperbolic"&&Math.abs(N.negativePiToPi(f))>=Math.acos(-1/t))throw new E("The true anomaly of the hyperbolic orbit lies outside of the bounds of the hyperbola.");aAe(c,n,u,Qz);const _=a*(1+t),g=Math.cos(f),p=Math.sin(f),y=1+t*g;if(y<=N.Epsilon10)throw new E("elements cannot be converted to cartesian");const b=_/y;return l(s)?(s.x=b*g,s.y=b*p,s.z=0):s=new d(b*g,b*p,0),J.multiplyByVector(Qz,s,s)}function nAe(e,t){if(e<0)throw new E("eccentricity cannot be negative.");return e<=t?"Circular":e<1-t?"Elliptical":e<=1+t?"Parabolic":"Hyperbolic"}function iAe(e,t){if(t<0||t>=1)throw new E("eccentricity out of range.");const n=rAe(e,t);return sAe(n,t)}const Zz=50,oAe=N.EPSILON8;function rAe(e,t){if(t<0||t>=1)throw new E("eccentricity out of range.");const n=Math.floor(e/N.TWO_PI);e-=n*N.TWO_PI;let i=e+t*Math.sin(e)/(1-Math.sin(e+t)+Math.sin(e)),o=Number.MAX_VALUE,r;for(r=0;roAe;++r){o=i;const s=o-t*Math.sin(o)-e,a=1-t*Math.cos(o);i=o-s/a}if(r>=Zz)throw new E("Kepler equation did not converge");return o=i+n*N.TWO_PI,o}function sAe(e,t){if(t<0||t>=1)throw new E("eccentricity out of range.");const n=Math.floor(e/N.TWO_PI);e-=n*N.TWO_PI;const i=Math.cos(e)-t,o=Math.sin(e)*Math.sqrt(1-t*t);let r=Math.atan2(o,i);return r=N.zeroToTwoPi(r),e<0&&(r-=N.TWO_PI),r+=n*N.TWO_PI,r}function aAe(e,t,n,i){if(t<0||t>N.PI)throw new E("inclination out of range");const o=Math.cos(e),r=Math.sin(e),s=Math.cos(t),a=Math.sin(t),c=Math.cos(n),u=Math.sin(n);return l(i)?(i[0]=c*o-u*r*s,i[1]=u*o+c*r*s,i[2]=r*a,i[3]=-c*r-u*o*s,i[4]=-u*r+c*o*s,i[5]=o*a,i[6]=u*a,i[7]=-c*a,i[8]=s):i=new J(c*o-u*r*s,-c*r-u*o*s,u*a,u*o+c*r*s,-u*r+c*o*s,-c*a,r*a,o*a,s),i}const cAe=1.0000010178*Ds,lAe=100.46645683*Fc,uAe=129597742283429e-5*$a,eU=16002,tU=21863,nU=32004,iU=10931,oU=14529,rU=16368,sU=15318,aU=32794,fAe=64*1e-7*Ds,dAe=-152*1e-7*Ds,hAe=62*1e-7*Ds,pAe=-8*1e-7*Ds,mAe=32*1e-7*Ds,_Ae=-41*1e-7*Ds,gAe=19*1e-7*Ds,yAe=-11*1e-7*Ds,AAe=-150*1e-7*Ds,bAe=-46*1e-7*Ds,CAe=68*1e-7*Ds,TAe=54*1e-7*Ds,EAe=14*1e-7*Ds,xAe=24*1e-7*Ds,wAe=-28*1e-7*Ds,SAe=22*1e-7*Ds,cU=10,lU=16002,uU=21863,fU=10931,dU=1473,hU=32004,pU=4387,mU=73,vAe=-325*1e-7,DAe=-322*1e-7,IAe=-79*1e-7,PAe=232*1e-7,OAe=-52*1e-7,LAe=97*1e-7,BAe=55*1e-7,RAe=-41*1e-7,NAe=-105*1e-7,MAe=-137*1e-7,FAe=258*1e-7,zAe=35*1e-7,UAe=-116*1e-7,HAe=-88*1e-7,VAe=-112*1e-7,kAe=-80*1e-7,xy=new ie(0,0,Vn.TAI);function GAe(e,t){zj(e,xy);const i=(xy.dayNumber-vS.dayNumber+(xy.secondsOfDay-vS.secondsOfDay)/vi.SECONDS_PER_DAY)/(vi.DAYS_PER_JULIAN_CENTURY*10),o=.3595362*i,r=cAe+fAe*Math.cos(eU*o)+AAe*Math.sin(eU*o)+dAe*Math.cos(tU*o)+bAe*Math.sin(tU*o)+hAe*Math.cos(nU*o)+CAe*Math.sin(nU*o)+pAe*Math.cos(iU*o)+TAe*Math.sin(iU*o)+mAe*Math.cos(oU*o)+EAe*Math.sin(oU*o)+_Ae*Math.cos(rU*o)+xAe*Math.sin(rU*o)+gAe*Math.cos(sU*o)+wAe*Math.sin(sU*o)+yAe*Math.cos(aU*o)+SAe*Math.sin(aU*o),s=lAe+uAe*i+vAe*Math.cos(cU*o)+NAe*Math.sin(cU*o)+DAe*Math.cos(lU*o)+MAe*Math.sin(lU*o)+IAe*Math.cos(uU*o)+FAe*Math.sin(uU*o)+PAe*Math.cos(fU*o)+zAe*Math.sin(fU*o)+OAe*Math.cos(dU*o)+UAe*Math.sin(dU*o)+LAe*Math.cos(hU*o)+HAe*Math.sin(hU*o)+BAe*Math.cos(pU*o)+VAe*Math.sin(pU*o)+RAe*Math.cos(mU*o)+kAe*Math.sin(mU*o),a=.0167086342-.0004203654*i,c=102.93734808*Fc+11612.3529*$a*i,u=469.97289*$a*i,f=174.87317577*Fc-8679.27034*$a*i;return Uj(r,a,u,c,f,s,t)}function Hj(e,t){zj(e,xy);const i=(xy.dayNumber-vS.dayNumber+(xy.secondsOfDay-vS.secondsOfDay)/vi.SECONDS_PER_DAY)/vi.DAYS_PER_JULIAN_CENTURY,o=i*i,r=o*i,s=r*i;let a=383397.7725+.004*i,c=.055545526-16e-9*i;const u=5.15668983*Fc;let f=-8e-5*i+.02966*o-42e-6*r-13e-8*s;const h=83.35324312*Fc;let _=146434202669e-4*i-38.2702*o-.045047*r+21301e-8*s;const g=125.04455501*Fc;let p=-69679193631e-4*i+6.3602*o+.007625*r-3586e-8*s;const y=218.31664563*Fc;let b=17325593434847e-4*i-6.391*o+.006588*r-3169e-8*s;const C=297.85019547*Fc+$a*(1602961601209e-3*i-6.3706*o+.006593*r-3169e-8*s),x=93.27209062*Fc+$a*(17395272628478e-4*i-12.7512*o-.001037*r+417e-8*s),S=134.96340251*Fc+$a*(17179159232178e-4*i+31.8792*o+.051635*r-2447e-7*s),v=357.52910918*Fc+$a*(1295965810481e-4*i-.5532*o+136e-6*r-1149e-8*s),P=310.17137918*Fc-$a*(6967051436e-3*i+6.2068*o+.007618*r-3219e-8*s),L=2*C,z=4*C,R=6*C,F=2*S,H=3*S,w=4*S,I=2*x;a+=3400.4*Math.cos(L)-635.6*Math.cos(L-S)-235.6*Math.cos(S)+218.1*Math.cos(L-v)+181*Math.cos(L+S),c+=.014216*Math.cos(L-S)+.008551*Math.cos(L-F)-.001383*Math.cos(S)+.001356*Math.cos(L+S)-.001147*Math.cos(z-H)-914e-6*Math.cos(z-F)+869e-6*Math.cos(L-v-S)-627e-6*Math.cos(L)-394e-6*Math.cos(z-w)+282e-6*Math.cos(L-v-F)-279e-6*Math.cos(C-S)-236e-6*Math.cos(F)+231e-6*Math.cos(z)+229e-6*Math.cos(R-w)-201e-6*Math.cos(F-I),f+=486.26*Math.cos(L-I)-40.13*Math.cos(L)+37.51*Math.cos(I)+25.73*Math.cos(F-I)+19.97*Math.cos(L-v-I),_+=-55609*Math.sin(L-S)-34711*Math.sin(L-F)-9792*Math.sin(S)+9385*Math.sin(z-H)+7505*Math.sin(z-F)+5318*Math.sin(L+S)+3484*Math.sin(z-w)-3417*Math.sin(L-v-S)-2530*Math.sin(R-w)-2376*Math.sin(L)-2075*Math.sin(L-H)-1883*Math.sin(F)-1736*Math.sin(R-5*S)+1626*Math.sin(v)-1370*Math.sin(R-H),p+=-5392*Math.sin(L-I)-540*Math.sin(v)-441*Math.sin(L)+423*Math.sin(I)-288*Math.sin(F-I),b+=-3332.9*Math.sin(L)+1197.4*Math.sin(L-S)-662.5*Math.sin(v)+396.3*Math.sin(S)-218*Math.sin(L-v);const m=2*P,D=3*P;f+=46.997*Math.cos(P)*i-.614*Math.cos(L-I+P)*i+.614*Math.cos(L-I-P)*i-.0297*Math.cos(m)*o-.0335*Math.cos(P)*o+.0012*Math.cos(L-I+m)*o-16e-5*Math.cos(P)*r+4e-5*Math.cos(D)*r+4e-5*Math.cos(m)*r;const O=2.116*Math.sin(P)*i-.111*Math.sin(L-I-P)*i-.0015*Math.sin(P)*o;_+=O,b+=O,p+=-520.77*Math.sin(P)*i+13.66*Math.sin(L-I+P)*i+1.12*Math.sin(L-P)*i-1.06*Math.sin(I-P)*i+.66*Math.sin(m)*o+.371*Math.sin(P)*o-.035*Math.sin(L-I+m)*o-.015*Math.sin(L-I+P)*o+.0014*Math.sin(P)*r-.0011*Math.sin(D)*r-9e-4*Math.sin(m)*r,a*=tAe;const M=u+f*$a,V=h+_*$a,k=y+b*$a,G=g+p*$a;return Uj(a,c,M,V,G,k,t)}const _U=.012300034,WAe=_U/(_U+1)*-1;function jAe(e,t){return t=Hj(e,t),d.multiplyByScalar(t,WAe,t)}const Vj=new J(1.0000000000000002,5619723173785822e-31,4690511510146299e-34,-5154129427414611e-31,.9174820620691819,-.39777715593191376,-223970096136568e-30,.39777715593191376,.9174820620691819);let J0=new d;qN.computeSunPositionInEarthInertialFrame=function(e,t){return l(e)||(e=ie.now()),l(t)||(t=new d),J0=GAe(e,J0),t=d.negate(J0,t),jAe(e,J0),d.subtract(t,J0,t),J.multiplyByVector(Vj,t,t),t};qN.computeMoonPositionInEarthInertialFrame=function(e,t){return l(e)||(e=ie.now()),t=Hj(e,t),J.multiplyByVector(Vj,t,t),t};const KL=qN,Aw={MORPHING:0,COLUMBUS_VIEW:1,SCENE2D:2,SCENE3D:3};Aw.getMorphTime=function(e){return e===Aw.SCENE3D?1:e===Aw.MORPHING?void 0:0};const le=Object.freeze(Aw);function Wv(e){e=A(e,A.EMPTY_OBJECT),this.color=U.clone(A(e.color,U.WHITE)),this.intensity=A(e.intensity,2)}function b0(){this.globeDepthTexture=void 0,this.gamma=void 0,this._viewport=new Ye,this._viewportCartesian4=new oe,this._viewportDirty=!1,this._viewportOrthographicMatrix=B.clone(B.IDENTITY),this._viewportTransformation=B.clone(B.IDENTITY),this._model=B.clone(B.IDENTITY),this._view=B.clone(B.IDENTITY),this._inverseView=B.clone(B.IDENTITY),this._projection=B.clone(B.IDENTITY),this._infiniteProjection=B.clone(B.IDENTITY),this._entireFrustum=new j,this._currentFrustum=new j,this._frustumPlanes=new oe,this._farDepthFromNearPlusOne=void 0,this._log2FarDepthFromNearPlusOne=void 0,this._oneOverLog2FarDepthFromNearPlusOne=void 0,this._frameState=void 0,this._temeToPseudoFixed=J.clone(B.IDENTITY),this._view3DDirty=!0,this._view3D=new B,this._inverseView3DDirty=!0,this._inverseView3D=new B,this._inverseModelDirty=!0,this._inverseModel=new B,this._inverseTransposeModelDirty=!0,this._inverseTransposeModel=new J,this._viewRotation=new J,this._inverseViewRotation=new J,this._viewRotation3D=new J,this._inverseViewRotation3D=new J,this._inverseProjectionDirty=!0,this._inverseProjection=new B,this._modelViewDirty=!0,this._modelView=new B,this._modelView3DDirty=!0,this._modelView3D=new B,this._modelViewRelativeToEyeDirty=!0,this._modelViewRelativeToEye=new B,this._inverseModelViewDirty=!0,this._inverseModelView=new B,this._inverseModelView3DDirty=!0,this._inverseModelView3D=new B,this._viewProjectionDirty=!0,this._viewProjection=new B,this._inverseViewProjectionDirty=!0,this._inverseViewProjection=new B,this._modelViewProjectionDirty=!0,this._modelViewProjection=new B,this._inverseModelViewProjectionDirty=!0,this._inverseModelViewProjection=new B,this._modelViewProjectionRelativeToEyeDirty=!0,this._modelViewProjectionRelativeToEye=new B,this._modelViewInfiniteProjectionDirty=!0,this._modelViewInfiniteProjection=new B,this._normalDirty=!0,this._normal=new J,this._normal3DDirty=!0,this._normal3D=new J,this._inverseNormalDirty=!0,this._inverseNormal=new J,this._inverseNormal3DDirty=!0,this._inverseNormal3D=new J,this._encodedCameraPositionMCDirty=!0,this._encodedCameraPositionMC=new Dn,this._cameraPosition=new d,this._sunPositionWC=new d,this._sunPositionColumbusView=new d,this._sunDirectionWC=new d,this._sunDirectionEC=new d,this._moonDirectionEC=new d,this._lightDirectionWC=new d,this._lightDirectionEC=new d,this._lightColor=new d,this._lightColorHdr=new d,this._pass=void 0,this._mode=void 0,this._mapProjection=void 0,this._ellipsoid=void 0,this._cameraDirection=new d,this._cameraRight=new d,this._cameraUp=new d,this._frustum2DWidth=0,this._eyeHeight=0,this._eyeHeight2D=new j,this._pixelRatio=1,this._orthographicIn3D=!1,this._backgroundColor=new U,this._brdfLut=void 0,this._environmentMap=void 0,this._sphericalHarmonicCoefficients=void 0,this._specularEnvironmentMaps=void 0,this._specularEnvironmentMapsDimensions=new j,this._specularEnvironmentMapsMaximumLOD=void 0,this._fogDensity=void 0,this._invertClassificationColor=void 0,this._splitPosition=0,this._pixelSizePerMeter=void 0,this._geometricToleranceOverMeter=void 0,this._minimumDisableDepthTestDistance=void 0}Object.defineProperties(b0.prototype,{frameState:{get:function(){return this._frameState}},viewport:{get:function(){return this._viewport},set:function(e){if(!Ye.equals(e,this._viewport)){Ye.clone(e,this._viewport);const t=this._viewport,n=this._viewportCartesian4;n.x=t.x,n.y=t.y,n.z=t.width,n.w=t.height,this._viewportDirty=!0}}},viewportCartesian4:{get:function(){return this._viewportCartesian4}},viewportOrthographic:{get:function(){return gU(this),this._viewportOrthographicMatrix}},viewportTransformation:{get:function(){return gU(this),this._viewportTransformation}},model:{get:function(){return this._model},set:function(e){B.clone(e,this._model),this._modelView3DDirty=!0,this._inverseModelView3DDirty=!0,this._inverseModelDirty=!0,this._inverseTransposeModelDirty=!0,this._modelViewDirty=!0,this._inverseModelViewDirty=!0,this._modelViewRelativeToEyeDirty=!0,this._inverseModelViewDirty=!0,this._modelViewProjectionDirty=!0,this._inverseModelViewProjectionDirty=!0,this._modelViewProjectionRelativeToEyeDirty=!0,this._modelViewInfiniteProjectionDirty=!0,this._normalDirty=!0,this._inverseNormalDirty=!0,this._normal3DDirty=!0,this._inverseNormal3DDirty=!0,this._encodedCameraPositionMCDirty=!0}},inverseModel:{get:function(){return this._inverseModelDirty&&(this._inverseModelDirty=!1,B.inverse(this._model,this._inverseModel)),this._inverseModel}},inverseTransposeModel:{get:function(){const e=this._inverseTransposeModel;return this._inverseTransposeModelDirty&&(this._inverseTransposeModelDirty=!1,B.getMatrix3(this.inverseModel,e),J.transpose(e,e)),e}},view:{get:function(){return this._view}},view3D:{get:function(){return t1(this),this._view3D}},viewRotation:{get:function(){return t1(this),this._viewRotation}},viewRotation3D:{get:function(){return t1(this),this._viewRotation3D}},inverseView:{get:function(){return this._inverseView}},inverseView3D:{get:function(){return bU(this),this._inverseView3D}},inverseViewRotation:{get:function(){return this._inverseViewRotation}},inverseViewRotation3D:{get:function(){return bU(this),this._inverseViewRotation3D}},projection:{get:function(){return this._projection}},inverseProjection:{get:function(){return tbe(this),this._inverseProjection}},infiniteProjection:{get:function(){return this._infiniteProjection}},modelView:{get:function(){return nbe(this),this._modelView}},modelView3D:{get:function(){return ibe(this),this._modelView3D}},modelViewRelativeToEye:{get:function(){return lbe(this),this._modelViewRelativeToEye}},inverseModelView:{get:function(){return obe(this),this._inverseModelView}},inverseModelView3D:{get:function(){return rbe(this),this._inverseModelView3D}},viewProjection:{get:function(){return sbe(this),this._viewProjection}},inverseViewProjection:{get:function(){return abe(this),this._inverseViewProjection}},modelViewProjection:{get:function(){return cbe(this),this._modelViewProjection}},inverseModelViewProjection:{get:function(){return ube(this),this._inverseModelViewProjection}},modelViewProjectionRelativeToEye:{get:function(){return fbe(this),this._modelViewProjectionRelativeToEye}},modelViewInfiniteProjection:{get:function(){return dbe(this),this._modelViewInfiniteProjection}},normal:{get:function(){return hbe(this),this._normal}},normal3D:{get:function(){return pbe(this),this._normal3D}},inverseNormal:{get:function(){return mbe(this),this._inverseNormal}},inverseNormal3D:{get:function(){return _be(this),this._inverseNormal3D}},entireFrustum:{get:function(){return this._entireFrustum}},currentFrustum:{get:function(){return this._currentFrustum}},frustumPlanes:{get:function(){return this._frustumPlanes}},farDepthFromNearPlusOne:{get:function(){return this._farDepthFromNearPlusOne}},log2FarDepthFromNearPlusOne:{get:function(){return this._log2FarDepthFromNearPlusOne}},oneOverLog2FarDepthFromNearPlusOne:{get:function(){return this._oneOverLog2FarDepthFromNearPlusOne}},eyeHeight:{get:function(){return this._eyeHeight}},eyeHeight2D:{get:function(){return this._eyeHeight2D}},sunPositionWC:{get:function(){return this._sunPositionWC}},sunPositionColumbusView:{get:function(){return this._sunPositionColumbusView}},sunDirectionWC:{get:function(){return this._sunDirectionWC}},sunDirectionEC:{get:function(){return this._sunDirectionEC}},moonDirectionEC:{get:function(){return this._moonDirectionEC}},lightDirectionWC:{get:function(){return this._lightDirectionWC}},lightDirectionEC:{get:function(){return this._lightDirectionEC}},lightColor:{get:function(){return this._lightColor}},lightColorHdr:{get:function(){return this._lightColorHdr}},encodedCameraPositionMCHigh:{get:function(){return AU(this),this._encodedCameraPositionMC.high}},encodedCameraPositionMCLow:{get:function(){return AU(this),this._encodedCameraPositionMC.low}},temeToPseudoFixedMatrix:{get:function(){return this._temeToPseudoFixed}},pixelRatio:{get:function(){return this._pixelRatio}},fogDensity:{get:function(){return this._fogDensity}},geometricToleranceOverMeter:{get:function(){return this._geometricToleranceOverMeter}},pass:{get:function(){return this._pass}},backgroundColor:{get:function(){return this._backgroundColor}},brdfLut:{get:function(){return this._brdfLut}},environmentMap:{get:function(){return this._environmentMap}},sphericalHarmonicCoefficients:{get:function(){return this._sphericalHarmonicCoefficients}},specularEnvironmentMaps:{get:function(){return this._specularEnvironmentMaps}},specularEnvironmentMapsDimensions:{get:function(){return this._specularEnvironmentMapsDimensions}},specularEnvironmentMapsMaximumLOD:{get:function(){return this._specularEnvironmentMapsMaximumLOD}},splitPosition:{get:function(){return this._splitPosition}},minimumDisableDepthTestDistance:{get:function(){return this._minimumDisableDepthTestDistance}},invertClassificationColor:{get:function(){return this._invertClassificationColor}},orthographicIn3D:{get:function(){return this._orthographicIn3D}},ellipsoid:{get:function(){return A(this._ellipsoid,pe.WGS84)}}});function qAe(e,t){B.clone(t,e._view),B.getMatrix3(t,e._viewRotation),e._view3DDirty=!0,e._inverseView3DDirty=!0,e._modelViewDirty=!0,e._modelView3DDirty=!0,e._modelViewRelativeToEyeDirty=!0,e._inverseModelViewDirty=!0,e._inverseModelView3DDirty=!0,e._viewProjectionDirty=!0,e._inverseViewProjectionDirty=!0,e._modelViewProjectionDirty=!0,e._modelViewProjectionRelativeToEyeDirty=!0,e._modelViewInfiniteProjectionDirty=!0,e._normalDirty=!0,e._inverseNormalDirty=!0,e._normal3DDirty=!0,e._inverseNormal3DDirty=!0}function YAe(e,t){B.clone(t,e._inverseView),B.getMatrix3(t,e._inverseViewRotation)}function $Ae(e,t){B.clone(t,e._projection),e._inverseProjectionDirty=!0,e._viewProjectionDirty=!0,e._inverseViewProjectionDirty=!0,e._modelViewProjectionDirty=!0,e._modelViewProjectionRelativeToEyeDirty=!0}function XAe(e,t){B.clone(t,e._infiniteProjection),e._modelViewInfiniteProjectionDirty=!0}function KAe(e,t){d.clone(t.positionWC,e._cameraPosition),d.clone(t.directionWC,e._cameraDirection),d.clone(t.rightWC,e._cameraRight),d.clone(t.upWC,e._cameraUp);const n=t.positionCartographic;l(n)?e._eyeHeight=n.height:e._eyeHeight=-e._ellipsoid.maximumRadius,e._encodedCameraPositionMCDirty=!0}let Q0=new J;const JAe=new be;function QAe(e,t){l(nn.computeIcrfToFixedMatrix(t.time,Q0))||(Q0=nn.computeTemeToPseudoFixedMatrix(t.time,Q0));let n=KL.computeSunPositionInEarthInertialFrame(t.time,e._sunPositionWC);J.multiplyByVector(Q0,n,n),d.normalize(n,e._sunDirectionWC),n=J.multiplyByVector(e.viewRotation3D,n,e._sunDirectionEC),d.normalize(n,n),n=KL.computeMoonPositionInEarthInertialFrame(t.time,e._moonDirectionEC),J.multiplyByVector(Q0,n,n),J.multiplyByVector(e.viewRotation3D,n,n),d.normalize(n,n);const i=t.mapProjection,r=i.ellipsoid.cartesianToCartographic(e._sunPositionWC,JAe);i.project(r,e._sunPositionColumbusView)}b0.prototype.updateCamera=function(e){qAe(this,e.viewMatrix),YAe(this,e.inverseViewMatrix),KAe(this,e),this._entireFrustum.x=e.frustum.near,this._entireFrustum.y=e.frustum.far,this.updateFrustum(e.frustum),this._orthographicIn3D=this._mode!==le.SCENE2D&&e.frustum instanceof Ut};b0.prototype.updateFrustum=function(e){$Ae(this,e.projectionMatrix),l(e.infiniteProjectionMatrix)&&XAe(this,e.infiniteProjectionMatrix),this._currentFrustum.x=e.near,this._currentFrustum.y=e.far,this._farDepthFromNearPlusOne=e.far-e.near+1,this._log2FarDepthFromNearPlusOne=N.log2(this._farDepthFromNearPlusOne),this._oneOverLog2FarDepthFromNearPlusOne=1/this._log2FarDepthFromNearPlusOne,l(e._offCenterFrustum)&&(e=e._offCenterFrustum),this._frustumPlanes.x=e.top,this._frustumPlanes.y=e.bottom,this._frustumPlanes.z=e.left,this._frustumPlanes.w=e.right};b0.prototype.updatePass=function(e){this._pass=e};const ZAe=[],ebe=new Wv;b0.prototype.update=function(e){this._mode=e.mode,this._mapProjection=e.mapProjection,this._ellipsoid=e.mapProjection.ellipsoid,this._pixelRatio=e.pixelRatio;const t=e.camera;this.updateCamera(t),e.mode===le.SCENE2D?(this._frustum2DWidth=t.frustum.right-t.frustum.left,this._eyeHeight2D.x=this._frustum2DWidth*.5,this._eyeHeight2D.y=this._eyeHeight2D.x*this._eyeHeight2D.x):(this._frustum2DWidth=0,this._eyeHeight2D.x=0,this._eyeHeight2D.y=0),QAe(this,e);const n=A(e.light,ebe);n instanceof Wv?(this._lightDirectionWC=d.clone(this._sunDirectionWC,this._lightDirectionWC),this._lightDirectionEC=d.clone(this._sunDirectionEC,this._lightDirectionEC)):(this._lightDirectionWC=d.normalize(d.negate(n.direction,this._lightDirectionWC),this._lightDirectionWC),this._lightDirectionEC=J.multiplyByVector(this.viewRotation3D,this._lightDirectionWC,this._lightDirectionEC));const i=n.color;let o=d.fromElements(i.red,i.green,i.blue,this._lightColorHdr);o=d.multiplyByScalar(o,n.intensity,o);const r=d.maximumComponent(o);r>1?d.divideByScalar(o,r,this._lightColor):d.clone(o,this._lightColor);const s=e.brdfLutGenerator,a=l(s)?s.colorTexture:void 0;this._brdfLut=a,this._environmentMap=A(e.environmentMap,e.context.defaultCubeMap),this._sphericalHarmonicCoefficients=A(e.sphericalHarmonicCoefficients,ZAe),this._specularEnvironmentMaps=e.specularEnvironmentMaps,this._specularEnvironmentMapsMaximumLOD=e.specularEnvironmentMapsMaximumLOD,l(this._specularEnvironmentMaps)&&j.clone(this._specularEnvironmentMaps.dimensions,this._specularEnvironmentMapsDimensions),this._fogDensity=e.fog.density,this._invertClassificationColor=e.invertClassificationColor,this._frameState=e,this._temeToPseudoFixed=nn.computeTemeToPseudoFixedMatrix(e.time,this._temeToPseudoFixed),this._splitPosition=e.splitPosition*e.context.drawingBufferWidth;const c=t.frustum.fov,u=this._viewport;let f;l(c)?u.height>u.width?f=Math.tan(.5*c)*2/u.height:f=Math.tan(.5*c)*2/u.width:f=1/Math.max(u.width,u.height),this._geometricToleranceOverMeter=f*e.maximumScreenSpaceError,U.clone(e.backgroundColor,this._backgroundColor),this._minimumDisableDepthTestDistance=e.minimumDisableDepthTestDistance,this._minimumDisableDepthTestDistance*=this._minimumDisableDepthTestDistance,this._minimumDisableDepthTestDistance===Number.POSITIVE_INFINITY&&(this._minimumDisableDepthTestDistance=-1)};function gU(e){if(e._viewportDirty){const t=e._viewport;B.computeOrthographicOffCenter(t.x,t.x+t.width,t.y,t.y+t.height,0,1,e._viewportOrthographicMatrix),B.computeViewportTransformation(t,0,1,e._viewportTransformation),e._viewportDirty=!1}}function tbe(e){e._inverseProjectionDirty&&(e._inverseProjectionDirty=!1,e._mode!==le.SCENE2D&&e._mode!==le.MORPHING&&!e._orthographicIn3D?B.inverse(e._projection,e._inverseProjection):B.clone(B.ZERO,e._inverseProjection))}function nbe(e){e._modelViewDirty&&(e._modelViewDirty=!1,B.multiplyTransformation(e._view,e._model,e._modelView))}function ibe(e){e._modelView3DDirty&&(e._modelView3DDirty=!1,B.multiplyTransformation(e.view3D,e._model,e._modelView3D))}function obe(e){e._inverseModelViewDirty&&(e._inverseModelViewDirty=!1,B.inverse(e.modelView,e._inverseModelView))}function rbe(e){e._inverseModelView3DDirty&&(e._inverseModelView3DDirty=!1,B.inverse(e.modelView3D,e._inverseModelView3D))}function sbe(e){e._viewProjectionDirty&&(e._viewProjectionDirty=!1,B.multiply(e._projection,e._view,e._viewProjection))}function abe(e){e._inverseViewProjectionDirty&&(e._inverseViewProjectionDirty=!1,B.inverse(e.viewProjection,e._inverseViewProjection))}function cbe(e){e._modelViewProjectionDirty&&(e._modelViewProjectionDirty=!1,B.multiply(e._projection,e.modelView,e._modelViewProjection))}function lbe(e){if(e._modelViewRelativeToEyeDirty){e._modelViewRelativeToEyeDirty=!1;const t=e.modelView,n=e._modelViewRelativeToEye;n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4],n[5]=t[5],n[6]=t[6],n[7]=t[7],n[8]=t[8],n[9]=t[9],n[10]=t[10],n[11]=t[11],n[12]=0,n[13]=0,n[14]=0,n[15]=t[15]}}function ube(e){e._inverseModelViewProjectionDirty&&(e._inverseModelViewProjectionDirty=!1,B.inverse(e.modelViewProjection,e._inverseModelViewProjection))}function fbe(e){e._modelViewProjectionRelativeToEyeDirty&&(e._modelViewProjectionRelativeToEyeDirty=!1,B.multiply(e._projection,e.modelViewRelativeToEye,e._modelViewProjectionRelativeToEye))}function dbe(e){e._modelViewInfiniteProjectionDirty&&(e._modelViewInfiniteProjectionDirty=!1,B.multiply(e._infiniteProjection,e.modelView,e._modelViewInfiniteProjection))}function hbe(e){if(e._normalDirty){e._normalDirty=!1;const t=e._normal;B.getMatrix3(e.inverseModelView,t),J.getRotation(t,t),J.transpose(t,t)}}function pbe(e){if(e._normal3DDirty){e._normal3DDirty=!1;const t=e._normal3D;B.getMatrix3(e.inverseModelView3D,t),J.getRotation(t,t),J.transpose(t,t)}}function mbe(e){e._inverseNormalDirty&&(e._inverseNormalDirty=!1,B.getMatrix3(e.inverseModelView,e._inverseNormal),J.getRotation(e._inverseNormal,e._inverseNormal))}function _be(e){e._inverseNormal3DDirty&&(e._inverseNormal3DDirty=!1,B.getMatrix3(e.inverseModelView3D,e._inverseNormal3D),J.getRotation(e._inverseNormal3D,e._inverseNormal3D))}const yU=new d;function AU(e){e._encodedCameraPositionMCDirty&&(e._encodedCameraPositionMCDirty=!1,B.multiplyByPoint(e.inverseModel,e._cameraPosition,yU),Dn.fromCartesian(yU,e._encodedCameraPositionMC))}const gbe=new d,ybe=new d,Abe=new d,bbe=new d,Cbe=new be,Tbe=new d,Ebe=new B;function xbe(e,t,n,i,o,r,s,a){const c=gbe;c.x=e.y,c.y=e.z,c.z=e.x;const u=ybe;u.x=n.y,u.y=n.z,u.z=n.x;const f=Abe;f.x=i.y,f.y=i.z,f.z=i.x;const h=bbe;h.x=t.y,h.y=t.z,h.z=t.x,r===le.SCENE2D&&(c.z=o*.5);const _=s.unproject(c,Cbe);_.longitude=N.clamp(_.longitude,-Math.PI,Math.PI),_.latitude=N.clamp(_.latitude,-N.PI_OVER_TWO,N.PI_OVER_TWO);const g=s.ellipsoid,p=g.cartographicToCartesian(_,Tbe),y=nn.eastNorthUpToFixedFrame(p,g,Ebe);return B.multiplyByPointAsVector(y,u,u),B.multiplyByPointAsVector(y,f,f),B.multiplyByPointAsVector(y,h,h),l(a)||(a=new B),a[0]=u.x,a[1]=f.x,a[2]=-h.x,a[3]=0,a[4]=u.y,a[5]=f.y,a[6]=-h.y,a[7]=0,a[8]=u.z,a[9]=f.z,a[10]=-h.z,a[11]=0,a[12]=-d.dot(u,p),a[13]=-d.dot(f,p),a[14]=d.dot(h,p),a[15]=1,a}function t1(e){e._view3DDirty&&(e._mode===le.SCENE3D?B.clone(e._view,e._view3D):xbe(e._cameraPosition,e._cameraDirection,e._cameraRight,e._cameraUp,e._frustum2DWidth,e._mode,e._mapProjection,e._view3D),B.getMatrix3(e._view3D,e._viewRotation3D),e._view3DDirty=!1)}function bU(e){e._inverseView3DDirty&&(B.inverseTransformation(e.view3D,e._inverseView3D),B.getMatrix3(e._inverseView3D,e._inverseViewRotation3D),e._inverseView3DDirty=!1)}function wbe(e,t,n,i){const o=l(t.vertexBuffer),r=l(t.value),s=t.value?t.value.length:t.componentsPerAttribute;if(!o&&!r)throw new E("attribute must have a vertexBuffer or a value.");if(o&&r)throw new E("attribute cannot have both a vertexBuffer and a value. It must have either a vertexBuffer property defining per-vertex data or a value property defining data for all vertices.");if(s!==1&&s!==2&&s!==3&&s!==4)throw r?new E("attribute.value.length must be in the range [1, 4]."):new E("attribute.componentsPerAttribute must be in the range [1, 4].");if(l(t.componentDatatype)&&!ee.validate(t.componentDatatype))throw new E("attribute must have a valid componentDatatype or not specify it.");if(l(t.strideInBytes)&&t.strideInBytes>255)throw new E("attribute must have a strideInBytes less than or equal to 255 or not specify it.");if(l(t.instanceDivisor)&&t.instanceDivisor>0&&!i.instancedArrays)throw new E("instanced arrays is not supported");if(l(t.instanceDivisor)&&t.instanceDivisor<0)throw new E("attribute must have an instanceDivisor greater than or equal to zero");if(l(t.instanceDivisor)&&r)throw new E("attribute cannot have have an instanceDivisor if it is not backed by a buffer");if(l(t.instanceDivisor)&&t.instanceDivisor>0&&t.index===0)throw new E("attribute zero cannot have an instanceDivisor greater than 0");const a={index:A(t.index,n),enabled:A(t.enabled,!0),vertexBuffer:t.vertexBuffer,value:r?t.value.slice(0):void 0,componentsPerAttribute:s,componentDatatype:A(t.componentDatatype,ee.FLOAT),normalize:A(t.normalize,!1),offsetInBytes:A(t.offsetInBytes,0),strideInBytes:A(t.strideInBytes,0),instanceDivisor:A(t.instanceDivisor,0)};if(o)a.vertexAttrib=function(c){const u=this.index;c.bindBuffer(c.ARRAY_BUFFER,this.vertexBuffer._getBuffer()),c.vertexAttribPointer(u,this.componentsPerAttribute,this.componentDatatype,this.normalize,this.strideInBytes,this.offsetInBytes),c.enableVertexAttribArray(u),this.instanceDivisor>0&&(i.glVertexAttribDivisor(u,this.instanceDivisor),i._vertexAttribDivisors[u]=this.instanceDivisor,i._previousDrawInstanced=!0)},a.disableVertexAttribArray=function(c){c.disableVertexAttribArray(this.index),this.instanceDivisor>0&&i.glVertexAttribDivisor(n,0)};else{switch(a.componentsPerAttribute){case 1:a.vertexAttrib=function(c){c.vertexAttrib1fv(this.index,this.value)};break;case 2:a.vertexAttrib=function(c){c.vertexAttrib2fv(this.index,this.value)};break;case 3:a.vertexAttrib=function(c){c.vertexAttrib3fv(this.index,this.value)};break;case 4:a.vertexAttrib=function(c){c.vertexAttrib4fv(this.index,this.value)};break}a.disableVertexAttribArray=function(c){}}e.push(a)}function kj(e,t,n){for(let i=0;i0&&(c=!0),l(s[r].value)&&(u=!0);const h={};for(r=0;r0)for(r=CU(e[o[0]]),t=1;t0){const u=ee.getSizeInBytes(e[o[0]].componentDatatype),f=a%u;f!==0&&(a+=u-f);const h=r*a,_=new ArrayBuffer(h),g={};for(t=0;t=N.SIXTY_FOUR_KILOBYTES&&t.elementIndexUint?_=bt.createIndexBuffer({context:t,typedArray:new Uint32Array(g),usage:i,indexDatatype:ot.UNSIGNED_INT}):_=bt.createIndexBuffer({context:t,typedArray:new Uint16Array(g),usage:i,indexDatatype:ot.UNSIGNED_SHORT})),new ao({context:t,attributes:f,indexBuffer:_})};Object.defineProperties(ao.prototype,{numberOfAttributes:{get:function(){return this._attributes.length}},numberOfVertices:{get:function(){return this._numberOfVertices}},indexBuffer:{get:function(){return this._indexBuffer}}});ao.prototype.getAttribute=function(e){return T.defined("index",e),this._attributes[e]};function Dbe(e){const t=e._context,n=e._hasInstancedAttributes;if(!n&&!t._previousDrawInstanced)return;t._previousDrawInstanced=n;const i=t._vertexAttribDivisors,o=e._attributes,r=vt.maximumVertexAttributes;let s;if(n){const a=o.length;for(s=0;s0&&(t.glVertexAttribDivisor(s,0),i[s]=0)}function Ibe(e,t){const n=e._attributes,i=n.length;for(let o=0;o"u")throw new De("The browser does not support WebGL. Visit http://get.webgl.org.");!n&&!(typeof WebGL2RenderingContext<"u")&&(n=!0);const o=n?"webgl":"webgl2",r=e.getContext(o,t);if(!l(r))throw new De("The browser supports WebGL, but initialization failed.");return r}function Obe(e,t){let n="WebGL Error: ";switch(t){case e.INVALID_ENUM:n+="INVALID_ENUM";break;case e.INVALID_VALUE:n+="INVALID_VALUE";break;case e.INVALID_OPERATION:n+="INVALID_OPERATION";break;case e.OUT_OF_MEMORY:n+="OUT_OF_MEMORY";break;case e.CONTEXT_LOST_WEBGL:n+="CONTEXT_LOST_WEBGL lost";break;default:n+=`Unknown (${t})`}return n}function Lbe(e,t,n,i){let o=`${Obe(e,i)}: ${t.name}(`;for(let r=0;r=8}},antialias:{get:function(){return this._antialias}},msaa:{get:function(){return this._webgl2}},standardDerivatives:{get:function(){return this._standardDerivatives||this._webgl2}},floatBlend:{get:function(){return this._floatBlend}},blendMinmax:{get:function(){return this._blendMinmax||this._webgl2}},elementIndexUint:{get:function(){return this._elementIndexUint||this._webgl2}},depthTexture:{get:function(){return this._depthTexture||this._webgl2}},floatingPointTexture:{get:function(){return this._webgl2||this._textureFloat}},halfFloatingPointTexture:{get:function(){return this._webgl2||this._textureHalfFloat}},textureFloatLinear:{get:function(){return this._textureFloatLinear}},textureHalfFloatLinear:{get:function(){return this._webgl2&&this._textureFloatLinear||!this._webgl2&&this._textureHalfFloatLinear}},textureFilterAnisotropic:{get:function(){return!!this._textureFilterAnisotropic}},s3tc:{get:function(){return this._s3tc}},pvrtc:{get:function(){return this._pvrtc}},astc:{get:function(){return this._astc}},etc:{get:function(){return this._etc}},etc1:{get:function(){return this._etc1}},bc7:{get:function(){return this._bc7}},supportsBasis:{get:function(){return this._s3tc||this._pvrtc||this._astc||this._etc||this._etc1||this._bc7}},vertexArrayObject:{get:function(){return this._vertexArrayObject||this._webgl2}},fragmentDepth:{get:function(){return this._fragDepth||this._webgl2}},instancedArrays:{get:function(){return this._instancedArrays||this._webgl2}},colorBufferFloat:{get:function(){return this._colorBufferFloat}},colorBufferHalfFloat:{get:function(){return this._webgl2&&this._colorBufferFloat||!this._webgl2&&this._colorBufferHalfFloat}},drawBuffers:{get:function(){return this._drawBuffers||this._webgl2}},debugShaders:{get:function(){return this._debugShaders}},throwOnWebGLError:{get:function(){return this._throwOnWebGLError},set:function(e){this._throwOnWebGLError=e,this._gl=Nbe(this._originalGLContext,e?Bbe:void 0)}},defaultTexture:{get:function(){return this._defaultTexture===void 0&&(this._defaultTexture=new Ht({context:this,source:{width:1,height:1,arrayBufferView:new Uint8Array([255,255,255,255])},flipY:!1})),this._defaultTexture}},defaultEmissiveTexture:{get:function(){return this._defaultEmissiveTexture===void 0&&(this._defaultEmissiveTexture=new Ht({context:this,pixelFormat:it.RGB,source:{width:1,height:1,arrayBufferView:new Uint8Array([0,0,0])},flipY:!1})),this._defaultEmissiveTexture}},defaultNormalTexture:{get:function(){return this._defaultNormalTexture===void 0&&(this._defaultNormalTexture=new Ht({context:this,pixelFormat:it.RGB,source:{width:1,height:1,arrayBufferView:new Uint8Array([128,128,255])},flipY:!1})),this._defaultNormalTexture}},defaultCubeMap:{get:function(){if(this._defaultCubeMap===void 0){const e={width:1,height:1,arrayBufferView:new Uint8Array([255,255,255,255])};this._defaultCubeMap=new hu({context:this,source:{positiveX:e,negativeX:e,positiveY:e,negativeY:e,positiveZ:e,negativeZ:e},flipY:!1})}return this._defaultCubeMap}},drawingBufferHeight:{get:function(){return this._gl.drawingBufferHeight}},drawingBufferWidth:{get:function(){return this._gl.drawingBufferWidth}},defaultFramebuffer:{get:function(){return Mbe}}});function Fbe(e){if(e.validateFramebuffer){const t=e._gl,n=t.checkFramebufferStatus(t.FRAMEBUFFER);if(n!==t.FRAMEBUFFER_COMPLETE){let i;switch(n){case t.FRAMEBUFFER_INCOMPLETE_ATTACHMENT:i="Framebuffer is not complete. Incomplete attachment: at least one attachment point with a renderbuffer or texture attached has its attached object no longer in existence or has an attached image with a width or height of zero, or the color attachment point has a non-color-renderable image attached, or the depth attachment point has a non-depth-renderable image attached, or the stencil attachment point has a non-stencil-renderable image attached. Color-renderable formats include GL_RGBA4, GL_RGB5_A1, and GL_RGB565. GL_DEPTH_COMPONENT16 is the only depth-renderable format. GL_STENCIL_INDEX8 is the only stencil-renderable format.";break;case t.FRAMEBUFFER_INCOMPLETE_DIMENSIONS:i="Framebuffer is not complete. Incomplete dimensions: not all attached images have the same width and height.";break;case t.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:i="Framebuffer is not complete. Missing attachment: no images are attached to the framebuffer.";break;case t.FRAMEBUFFER_UNSUPPORTED:i="Framebuffer is not complete. Unsupported: the combination of internal formats of the attached images violates an implementation-dependent set of restrictions.";break}throw new E(i)}}}function Gj(e,t,n,i){const o=e._currentRenderState,r=e._currentPassState;e._currentRenderState=t,e._currentPassState=n,Ze.partialApply(e._gl,o,t,r,n,i)}let YN;typeof WebGLRenderingContext<"u"&&(YN=[ae.BACK]);function $N(e,t){if(t!==e._currentFramebuffer){e._currentFramebuffer=t;let n=YN;if(l(t))t._bind(),Fbe(e),n=t._getActiveColorAttachments();else{const i=e._gl;i.bindFramebuffer(i.FRAMEBUFFER,null)}e.drawBuffers&&e.glDrawBuffers(n)}}const zbe=new io;Ga.prototype.clear=function(e,t){e=A(e,zbe),t=A(t,this._defaultPassState);const n=this._gl;let i=0;const o=e.color,r=e.depth,s=e.stencil;l(o)&&(U.equals(this._clearColor,o)||(U.clone(o,this._clearColor),n.clearColor(o.red,o.green,o.blue,o.alpha)),i|=n.COLOR_BUFFER_BIT),l(r)&&(r!==this._clearDepth&&(this._clearDepth=r,n.clearDepth(r)),i|=n.DEPTH_BUFFER_BIT),l(s)&&(s!==this._clearStencil&&(this._clearStencil=s,n.clearStencil(s)),i|=n.STENCIL_BUFFER_BIT);const a=A(e.renderState,this._defaultRenderState);Gj(this,a,t,!0);const c=A(e.framebuffer,t.framebuffer);$N(this,c),n.clear(i)};function Ube(e,t,n,i,o){if(l(t)&&o.depthTest&&o.depthTest.enabled&&!t.hasDepthAttachment)throw new E("The depth test can not be enabled (drawCommand.renderState.depthTest.enabled) because the framebuffer (drawCommand.framebuffer) does not have a depth or depth-stencil renderbuffer.");$N(e,t),Gj(e,o,n,!1),i._bind(),e._maxFrameTextureUnitIndex=Math.max(e._maxFrameTextureUnitIndex,i.maximumTextureUnitIndex)}function Hbe(e,t,n,i){const o=t._primitiveType,r=t._vertexArray;let s=t._offset,a=t._count;const c=t.instanceCount;if(!Qe.validate(o))throw new E("drawCommand.primitiveType is required and must be valid.");if(T.defined("drawCommand.vertexArray",r),T.typeOf.number.greaterThanOrEquals("drawCommand.offset",s,0),l(a)&&T.typeOf.number.greaterThanOrEquals("drawCommand.count",a,0),T.typeOf.number.greaterThanOrEquals("drawCommand.instanceCount",c,0),c>0&&!e.instancedArrays)throw new E("Instanced arrays extension is not supported");e._us.model=A(t._modelMatrix,B.IDENTITY),n._setUniforms(i,e._us,e.validateShaderProgram),r._bind();const u=r.indexBuffer;l(u)?(s=s*u.bytesPerIndex,a=A(a,u.numberOfIndices),c===0?e._gl.drawElements(o,a,u.indexDatatype,s):e.glDrawElementsInstanced(o,a,u.indexDatatype,s,c)):(a=A(a,r.numberOfVertices),c===0?e._gl.drawArrays(o,s,a):e.glDrawArraysInstanced(o,s,a,c)),r._unBind()}Ga.prototype.draw=function(e,t,n,i){T.defined("drawCommand",e),T.defined("drawCommand.shaderProgram",e._shaderProgram),t=A(t,this._defaultPassState);const o=A(e._framebuffer,t.framebuffer),r=A(e._renderState,this._defaultRenderState);n=A(n,e._shaderProgram),i=A(i,e._uniformMap),Ube(this,o,t,n,r),Hbe(this,e,n,i)};Ga.prototype.endFrame=function(){const e=this._gl;e.useProgram(null),this._currentFramebuffer=void 0,e.bindFramebuffer(e.FRAMEBUFFER,null);const t=YN;this.drawBuffers&&this.glDrawBuffers(t);const n=this._maxFrameTextureUnitIndex;this._maxFrameTextureUnitIndex=0;for(let i=0;i0&&(a=s.getColorTexture(0).pixelDatatype);const c=it.createTypedArray(it.RGBA,a,o,r);return $N(this,s),t.readPixels(n,i,o,r,it.RGBA,Je.toWebGLConstant(a,this),c),c};const Wj={position:0,textureCoordinates:1};Ga.prototype.getViewportQuadVertexArray=function(){let e=this.cache.viewportQuad_vertexArray;if(!l(e)){const t=new Pt({attributes:{position:new Ue({componentDatatype:ee.FLOAT,componentsPerAttribute:2,values:[-1,-1,1,-1,1,1,-1,1]}),textureCoordinates:new Ue({componentDatatype:ee.FLOAT,componentsPerAttribute:2,values:[0,0,1,0,1,1,0,1]})},indices:new Uint16Array([0,1,2,0,2,3]),primitiveType:Qe.TRIANGLES});e=ao.fromGeometry({context:this,geometry:t,attributeLocations:Wj,bufferUsage:et.STATIC_DRAW,interleave:!0}),this.cache.viewportQuad_vertexArray=e}return e};Ga.prototype.createViewportQuadCommand=function(e,t){return t=A(t,A.EMPTY_OBJECT),new dt({vertexArray:this.getViewportQuadVertexArray(),primitiveType:Qe.TRIANGLES,renderState:t.renderState,shaderProgram:mn.fromCache({context:this,vertexShaderSource:CW,fragmentShaderSource:e,attributeLocations:Wj}),uniformMap:t.uniformMap,owner:t.owner,framebuffer:t.framebuffer,pass:t.pass})};Ga.prototype.getObjectByPickColor=function(e){return T.defined("pickColor",e),this._pickObjects[e.toRgba()]};function XN(e,t,n){this._pickObjects=e,this.key=t,this.color=n}Object.defineProperties(XN.prototype,{object:{get:function(){return this._pickObjects[this.key]},set:function(e){this._pickObjects[this.key]=e}}});XN.prototype.destroy=function(){delete this._pickObjects[this.key]};Ga.prototype.createPickId=function(e){T.defined("object",e),++this._nextPickColor[0];const t=this._nextPickColor[0];if(t===0)throw new De("Out of unique Pick IDs.");return this._pickObjects[t]=e,new XN(this._pickObjects,t,U.fromRgba(t))};Ga.prototype.isDestroyed=function(){return!1};Ga.prototype.destroy=function(){const e=this.cache;for(const t in e)if(e.hasOwnProperty(t)){const n=e[t];l(n.destroy)&&n.destroy()}return this._shaderCache=this._shaderCache.destroy(),this._textureCache=this._textureCache.destroy(),this._defaultTexture=this._defaultTexture&&this._defaultTexture.destroy(),this._defaultEmissiveTexture=this._defaultEmissiveTexture&&this._defaultEmissiveTexture.destroy(),this._defaultNormalTexture=this._defaultNormalTexture&&this._defaultNormalTexture.destroy(),this._defaultCubeMap=this._defaultCubeMap&&this._defaultCubeMap.destroy(),He(this)};Ga._deprecationWarning=zp;function C0(e){e=A(e,A.EMPTY_OBJECT);const t=e.context,n=e.width,i=e.height;T.defined("options.context",t),T.defined("options.width",n),T.defined("options.height",i),this._width=n,this._height=i;const o=e.colorRenderbuffers,r=e.colorTextures;if(l(o)!==l(r))throw new E("Both color renderbuffer and texture attachments must be provided.");const s=e.depthStencilRenderbuffer,a=e.depthStencilTexture;if(l(s)!==l(a))throw new E("Both depth-stencil renderbuffer and texture attachments must be provided.");this._renderFramebuffer=new Wr({context:t,colorRenderbuffers:o,depthStencilRenderbuffer:s,destroyAttachments:e.destroyAttachments}),this._colorFramebuffer=new Wr({context:t,colorTextures:r,depthStencilTexture:a,destroyAttachments:e.destroyAttachments})}C0.prototype.getRenderFramebuffer=function(){return this._renderFramebuffer};C0.prototype.getColorFramebuffer=function(){return this._colorFramebuffer};C0.prototype.blitFramebuffers=function(e,t){this._renderFramebuffer.bindRead(),this._colorFramebuffer.bindDraw();const n=e._gl;let i=0;this._colorFramebuffer._colorTextures.length>0&&(i|=n.COLOR_BUFFER_BIT),l(this._colorFramebuffer.depthStencilTexture)&&(i|=n.DEPTH_BUFFER_BIT|(t?n.STENCIL_BUFFER_BIT:0)),n.blitFramebuffer(0,0,this._width,this._height,0,0,this._width,this._height,i,n.NEAREST),n.bindFramebuffer(n.READ_FRAMEBUFFER,null),n.bindFramebuffer(n.DRAW_FRAMEBUFFER,null)};C0.prototype.isDestroyed=function(){return!1};C0.prototype.destroy=function(){return this._renderFramebuffer.destroy(),this._colorFramebuffer.destroy(),He(this)};const Ma={RGBA4:ae.RGBA4,RGBA8:ae.RGBA8,RGBA16F:ae.RGBA16F,RGBA32F:ae.RGBA32F,RGB5_A1:ae.RGB5_A1,RGB565:ae.RGB565,DEPTH_COMPONENT16:ae.DEPTH_COMPONENT16,STENCIL_INDEX8:ae.STENCIL_INDEX8,DEPTH_STENCIL:ae.DEPTH_STENCIL,DEPTH24_STENCIL8:ae.DEPTH24_STENCIL8,validate:function(e){return e===Ma.RGBA4||e===Ma.RGBA8||e===Ma.RGBA16F||e===Ma.RGBA32F||e===Ma.RGB5_A1||e===Ma.RGB565||e===Ma.DEPTH_COMPONENT16||e===Ma.STENCIL_INDEX8||e===Ma.DEPTH_STENCIL||e===Ma.DEPTH24_STENCIL8},getColorFormat:function(e){return e===ae.FLOAT?Ma.RGBA32F:e===ae.HALF_FLOAT_OES?Ma.RGBA16F:Ma.RGBA8}},td=Object.freeze(Ma);function Vl(e){e=A(e,A.EMPTY_OBJECT),T.defined("options.context",e.context);const n=e.context._gl,i=vt.maximumRenderbufferSize,o=A(e.format,td.RGBA4),r=l(e.width)?e.width:n.drawingBufferWidth,s=l(e.height)?e.height:n.drawingBufferHeight,a=A(e.numSamples,1);if(!td.validate(o))throw new E("Invalid format.");if(T.typeOf.number.greaterThan("width",r,0),r>i)throw new E(`Width must be less than or equal to the maximum renderbuffer size (${i}). Check maximumRenderbufferSize.`);if(T.typeOf.number.greaterThan("height",s,0),s>i)throw new E(`Height must be less than or equal to the maximum renderbuffer size (${i}). Check maximumRenderbufferSize.`);this._gl=n,this._format=o,this._width=r,this._height=s,this._renderbuffer=this._gl.createRenderbuffer(),n.bindRenderbuffer(n.RENDERBUFFER,this._renderbuffer),a>1?n.renderbufferStorageMultisample(n.RENDERBUFFER,a,o,r,s):n.renderbufferStorage(n.RENDERBUFFER,o,r,s),n.bindRenderbuffer(n.RENDERBUFFER,null)}Object.defineProperties(Vl.prototype,{format:{get:function(){return this._format}},width:{get:function(){return this._width}},height:{get:function(){return this._height}}});Vl.prototype._getRenderbuffer=function(){return this._renderbuffer};Vl.prototype.isDestroyed=function(){return!1};Vl.prototype.destroy=function(){return this._gl.deleteRenderbuffer(this._renderbuffer),He(this)};function Sn(e){if(e=A(e,A.EMPTY_OBJECT),this._numSamples=A(e.numSamples,1),this._colorAttachmentsLength=A(e.colorAttachmentsLength,1),this._color=A(e.color,!0),this._depth=A(e.depth,!1),this._depthStencil=A(e.depthStencil,!1),this._supportsDepthTexture=A(e.supportsDepthTexture,!1),!this._color&&!this._depth&&!this._depthStencil)throw new E("Must enable at least one type of framebuffer attachment.");if(this._depth&&this._depthStencil)throw new E("Cannot have both a depth and depth-stencil attachment.");this._createColorAttachments=A(e.createColorAttachments,!0),this._createDepthAttachments=A(e.createDepthAttachments,!0),this._pixelDatatype=e.pixelDatatype,this._pixelFormat=e.pixelFormat,this._width=void 0,this._height=void 0,this._framebuffer=void 0,this._multisampleFramebuffer=void 0,this._colorTextures=void 0,this._color&&(this._colorTextures=new Array(this._colorAttachmentsLength),this._colorRenderbuffers=new Array(this._colorAttachmentsLength)),this._colorRenderbuffer=void 0,this._depthStencilRenderbuffer=void 0,this._depthStencilTexture=void 0,this._depthRenderbuffer=void 0,this._depthTexture=void 0,this._attachmentsDirty=!1}Object.defineProperties(Sn.prototype,{framebuffer:{get:function(){return this._numSamples>1?this._multisampleFramebuffer.getRenderFramebuffer():this._framebuffer}},numSamples:{get:function(){return this._numSamples}},status:{get:function(){return this.framebuffer.status}}});Sn.prototype.isDirty=function(e,t,n,i,o){n=A(n,1);const r=this._width!==e||this._height!==t,s=this._numSamples!==n,a=l(i)&&this._pixelDatatype!==i||l(o)&&this._pixelFormat!==o,c=l(n===1?this._framebuffer:this._multisampleFramebuffer);return this._attachmentsDirty||r||s||a||!c||this._color&&!l(this._colorTextures[0])};Sn.prototype.update=function(e,t,n,i,o,r){if(!l(t)||!l(n))throw new E("width and height must be defined.");if(i=e.msaa?A(i,1):1,o=A(o,this._color?A(this._pixelDatatype,Je.UNSIGNED_BYTE):void 0),r=A(r,this._color?A(this._pixelFormat,it.RGBA):void 0),this.isDirty(t,n,i,o,r)){if(this.destroy(),this._width=t,this._height=n,this._numSamples=i,this._pixelDatatype=o,this._pixelFormat=r,this._attachmentsDirty=!1,this._color&&this._createColorAttachments){for(let s=0;s1){const a=td.getColorFormat(o);this._colorRenderbuffers[s]=new Vl({context:e,width:t,height:n,format:a,numSamples:this._numSamples})}}this._depthStencil&&this._createDepthAttachments&&(this._supportsDepthTexture&&e.depthTexture?(this._depthStencilTexture=new Ht({context:e,width:t,height:n,pixelFormat:it.DEPTH_STENCIL,pixelDatatype:Je.UNSIGNED_INT_24_8,sampler:Kn.NEAREST}),this._numSamples>1&&(this._depthStencilRenderbuffer=new Vl({context:e,width:t,height:n,format:td.DEPTH24_STENCIL8,numSamples:this._numSamples}))):this._depthStencilRenderbuffer=new Vl({context:e,width:t,height:n,format:td.DEPTH_STENCIL})),this._depth&&this._createDepthAttachments&&(this._supportsDepthTexture&&e.depthTexture?this._depthTexture=new Ht({context:e,width:t,height:n,pixelFormat:it.DEPTH_COMPONENT,pixelDatatype:Je.UNSIGNED_INT,sampler:Kn.NEAREST}):this._depthRenderbuffer=new Vl({context:e,width:t,height:n,format:td.DEPTH_COMPONENT16})),this._numSamples>1?this._multisampleFramebuffer=new C0({context:e,width:this._width,height:this._height,colorTextures:this._colorTextures,colorRenderbuffers:this._colorRenderbuffers,depthStencilTexture:this._depthStencilTexture,depthStencilRenderbuffer:this._depthStencilRenderbuffer,destroyAttachments:!1}):this._framebuffer=new Wr({context:e,colorTextures:this._colorTextures,depthTexture:this._depthTexture,depthRenderbuffer:this._depthRenderbuffer,depthStencilTexture:this._depthStencilTexture,depthStencilRenderbuffer:this._depthStencilRenderbuffer,destroyAttachments:!1})}};Sn.prototype.getColorTexture=function(e){if(e=A(e,0),e>=this._colorAttachmentsLength)throw new E("index must be smaller than total number of color attachments.");return this._colorTextures[e]};Sn.prototype.setColorTexture=function(e,t){if(t=A(t,0),this._createColorAttachments)throw new E("createColorAttachments must be false if setColorTexture is called.");if(t>=this._colorAttachmentsLength)throw new E("index must be smaller than total number of color attachments.");this._attachmentsDirty=e!==this._colorTextures[t],this._colorTextures[t]=e};Sn.prototype.getColorRenderbuffer=function(e){if(e=A(e,0),e>=this._colorAttachmentsLength)throw new E("index must be smaller than total number of color attachments.");return this._colorRenderbuffers[e]};Sn.prototype.setColorRenderbuffer=function(e,t){if(t=A(t,0),this._createColorAttachments)throw new E("createColorAttachments must be false if setColorRenderbuffer is called.");if(t>=this._colorAttachmentsLength)throw new E("index must be smaller than total number of color attachments.");this._attachmentsDirty=e!==this._colorRenderbuffers[t],this._colorRenderbuffers[t]=e};Sn.prototype.getDepthRenderbuffer=function(){return this._depthRenderbuffer};Sn.prototype.setDepthRenderbuffer=function(e){if(this._createDepthAttachments)throw new E("createDepthAttachments must be false if setDepthRenderbuffer is called.");this._attachmentsDirty=e!==this._depthRenderbuffer,this._depthRenderbuffer=e};Sn.prototype.getDepthTexture=function(){return this._depthTexture};Sn.prototype.setDepthTexture=function(e){if(this._createDepthAttachments)throw new E("createDepthAttachments must be false if setDepthTexture is called.");this._attachmentsDirty=e!==this._depthTexture,this._depthTexture=e};Sn.prototype.getDepthStencilRenderbuffer=function(){return this._depthStencilRenderbuffer};Sn.prototype.setDepthStencilRenderbuffer=function(e){if(this._createDepthAttachments)throw new E("createDepthAttachments must be false if setDepthStencilRenderbuffer is called.");this._attachmentsDirty=e!==this._depthStencilRenderbuffer,this._depthStencilRenderbuffer=e};Sn.prototype.getDepthStencilTexture=function(){return this._depthStencilTexture};Sn.prototype.setDepthStencilTexture=function(e){if(this._createDepthAttachments)throw new E("createDepthAttachments must be false if setDepthStencilTexture is called.");this._attachmentsDirty=e!==this._depthStencilTexture,this._depthStencilTexture=e};Sn.prototype.prepareTextures=function(e,t){this._numSamples>1&&this._multisampleFramebuffer.blitFramebuffers(e,t)};Sn.prototype.clear=function(e,t,n){const i=t.framebuffer;t.framebuffer=this.framebuffer,t.execute(e,n),t.framebuffer=i};Sn.prototype.destroyFramebuffer=function(){this._framebuffer=this._framebuffer&&this._framebuffer.destroy(),this._multisampleFramebuffer=this._multisampleFramebuffer&&this._multisampleFramebuffer.destroy()};Sn.prototype.destroy=function(){if(this._color){let e;const t=this._colorTextures.length;for(e=0;e-1&&i.derivedKeywords.splice(s,1)}return this.createDerivedShaderProgram(e,t,n)};yu.prototype.getDerivedShaderProgram=function(e,t){const n=e._cachedShader,i=t+n.keyword,o=this._shaders[i];if(l(o))return o.shaderProgram};yu.prototype.createDerivedShaderProgram=function(e,t,n){const i=e._cachedShader,o=t+i.keyword;let r=n.vertexShaderSource,s=n.fragmentShaderSource;const a=n.attributeLocations;typeof r=="string"&&(r=new We({sources:[r]})),typeof s=="string"&&(s=new We({sources:[s]}));const c=this._context,u=r.createCombinedVertexShader(c),f=s.createCombinedFragmentShader(c),h=new yn({gl:c._gl,logShaderCompilation:c.logShaderCompilation,debugShaders:c.debugShaders,vertexShaderSource:r,vertexShaderText:u,fragmentShaderSource:s,fragmentShaderText:f,attributeLocations:a}),m={cache:this,shaderProgram:h,keyword:o,derivedKeywords:[],count:0};return i.derivedKeywords.push(t),h._cachedShader=m,this._shaders[o]=m,h};function eM(e,t){const n=t.derivedKeywords,i=n.length;for(let o=0;oDt.maximumTextureSize)throw new x(`Width must be less than or equal to the maximum texture size (${Dt.maximumTextureSize}). Check maximumTextureSize.`);if(T.typeOf.number.greaterThan("height",i,0),i>Dt.maximumTextureSize)throw new x(`Height must be less than or equal to the maximum texture size (${Dt.maximumTextureSize}). Check maximumTextureSize.`);if(!rt.validate(r))throw new x("Invalid options.pixelFormat.");if(!c&&!Je.validate(s))throw new x("Invalid options.pixelDatatype.");if(r===rt.DEPTH_COMPONENT&&s!==Je.UNSIGNED_SHORT&&s!==Je.UNSIGNED_INT)throw new x("When options.pixelFormat is DEPTH_COMPONENT, options.pixelDatatype must be UNSIGNED_SHORT or UNSIGNED_INT.");if(r===rt.DEPTH_STENCIL&&s!==Je.UNSIGNED_INT_24_8)throw new x("When options.pixelFormat is DEPTH_STENCIL, options.pixelDatatype must be UNSIGNED_INT_24_8.");if(s===Je.FLOAT&&!t.floatingPointTexture)throw new x("When options.pixelDatatype is FLOAT, this WebGL implementation must support the OES_texture_float extension. Check context.floatingPointTexture.");if(s===Je.HALF_FLOAT&&!t.halfFloatingPointTexture)throw new x("When options.pixelDatatype is HALF_FLOAT, this WebGL implementation must support the OES_texture_half_float extension. Check context.halfFloatingPointTexture.");if(rt.isDepthFormat(r)){if(l(o))throw new x("When options.pixelFormat is DEPTH_COMPONENT or DEPTH_STENCIL, source cannot be provided.");if(!t.depthTexture)throw new x("When options.pixelFormat is DEPTH_COMPONENT or DEPTH_STENCIL, this WebGL implementation must support WEBGL_depth_texture. Check context.depthTexture.")}if(c){if(!l(o)||!l(o.arrayBufferView))throw new x("When options.pixelFormat is compressed, options.source.arrayBufferView must be defined.");if(rt.isDXTFormat(a)&&!t.s3tc)throw new x("When options.pixelFormat is S3TC compressed, this WebGL implementation must support the WEBGL_compressed_texture_s3tc extension. Check context.s3tc.");if(rt.isPVRTCFormat(a)&&!t.pvrtc)throw new x("When options.pixelFormat is PVRTC compressed, this WebGL implementation must support the WEBGL_compressed_texture_pvrtc extension. Check context.pvrtc.");if(rt.isASTCFormat(a)&&!t.astc)throw new x("When options.pixelFormat is ASTC compressed, this WebGL implementation must support the WEBGL_compressed_texture_astc extension. Check context.astc.");if(rt.isETC2Format(a)&&!t.etc)throw new x("When options.pixelFormat is ETC2 compressed, this WebGL implementation must support the WEBGL_compressed_texture_etc extension. Check context.etc.");if(rt.isETC1Format(a)&&!t.etc1)throw new x("When options.pixelFormat is ETC1 compressed, this WebGL implementation must support the WEBGL_compressed_texture_etc1 extension. Check context.etc1.");if(rt.isBC7Format(a)&&!t.bc7)throw new x("When options.pixelFormat is BC7 compressed, this WebGL implementation must support the EXT_texture_compression_bptc extension. Check context.bc7.");if(rt.compressedTextureSizeInBytes(a,n,i)!==o.arrayBufferView.byteLength)throw new x("The byte length of the array buffer is invalid for the compressed texture with the given width and height.")}const u=e.preMultiplyAlpha||r===rt.RGB||r===rt.LUMINANCE,f=A(e.flipY,!0),h=A(e.skipColorSpaceConversion,!1);let m=!0;const g=t._gl,p=g.TEXTURE_2D,y=g.createTexture();g.activeTexture(g.TEXTURE0),g.bindTexture(p,y);let b=4;if(l(o)&&l(o.arrayBufferView)&&!c&&(b=rt.alignmentInBytes(r,s,n)),g.pixelStorei(g.UNPACK_ALIGNMENT,b),h?g.pixelStorei(g.UNPACK_COLORSPACE_CONVERSION_WEBGL,g.NONE):g.pixelStorei(g.UNPACK_COLORSPACE_CONVERSION_WEBGL,g.BROWSER_DEFAULT_WEBGL),l(o))if(l(o.arrayBufferView)){g.pixelStorei(g.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),g.pixelStorei(g.UNPACK_FLIP_Y_WEBGL,!1);let E=o.arrayBufferView,w,S,P;if(c){if(g.compressedTexImage2D(p,0,a,n,i,0,E),l(o.mipLevels))for(S=n,P=i,w=0;wn.drawingBufferWidth)throw new x("framebufferXOffset + width must be less than or equal to drawingBufferWidth");if(r+a>n.drawingBufferHeight)throw new x("framebufferYOffset + height must be less than or equal to drawingBufferHeight.");return new kt({context:t,width:s,height:a,pixelFormat:i,source:{framebuffer:l(c)?c:t.defaultFramebuffer,xOffset:o,yOffset:r,width:s,height:a}})};Object.defineProperties(kt.prototype,{id:{get:function(){return this._id}},sampler:{get:function(){return this._sampler},set:function(e){let t=e.minificationFilter,n=e.magnificationFilter;const i=this._context,o=this._pixelFormat,r=this._pixelDatatype,s=t===Sn.NEAREST_MIPMAP_NEAREST||t===Sn.NEAREST_MIPMAP_LINEAR||t===Sn.LINEAR_MIPMAP_NEAREST||t===Sn.LINEAR_MIPMAP_LINEAR;(r===Je.FLOAT&&!i.textureFloatLinear||r===Je.HALF_FLOAT&&!i.textureHalfFloatLinear)&&(t=s?Sn.NEAREST_MIPMAP_NEAREST:Sn.NEAREST,n=Xr.NEAREST),i.webgl2&&rt.isDepthFormat(o)&&(t=Sn.NEAREST,n=Xr.NEAREST);const a=i._gl,c=this._textureTarget;a.activeTexture(a.TEXTURE0),a.bindTexture(c,this._texture),a.texParameteri(c,a.TEXTURE_MIN_FILTER,t),a.texParameteri(c,a.TEXTURE_MAG_FILTER,n),a.texParameteri(c,a.TEXTURE_WRAP_S,e.wrapS),a.texParameteri(c,a.TEXTURE_WRAP_T,e.wrapT),l(this._textureFilterAnisotropic)&&a.texParameteri(c,this._textureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,e.maximumAnisotropy),a.bindTexture(c,null),this._sampler=e}},pixelFormat:{get:function(){return this._pixelFormat}},pixelDatatype:{get:function(){return this._pixelDatatype}},dimensions:{get:function(){return this._dimensions}},preMultiplyAlpha:{get:function(){return this._preMultiplyAlpha}},flipY:{get:function(){return this._flipY}},width:{get:function(){return this._width}},height:{get:function(){return this._height}},sizeInBytes:{get:function(){return this._hasMipmap?Math.floor(this._sizeInBytes*4/3):this._sizeInBytes}},_target:{get:function(){return this._textureTarget}}});kt.prototype.copyFrom=function(e){T.defined("options",e);const t=A(e.xOffset,0),n=A(e.yOffset,0);if(T.defined("options.source",e.source),rt.isDepthFormat(this._pixelFormat))throw new x("Cannot call copyFrom when the texture pixel format is DEPTH_COMPONENT or DEPTH_STENCIL.");if(rt.isCompressedFormat(this._pixelFormat))throw new x("Cannot call copyFrom with a compressed texture pixel format.");T.typeOf.number.greaterThanOrEquals("xOffset",t,0),T.typeOf.number.greaterThanOrEquals("yOffset",n,0),T.typeOf.number.lessThanOrEquals("xOffset + options.source.width",t+e.source.width,this._width),T.typeOf.number.lessThanOrEquals("yOffset + options.source.height",n+e.source.height,this._height);const i=e.source,o=this._context,r=o._gl,s=this._textureTarget;r.activeTexture(r.TEXTURE0),r.bindTexture(s,this._texture);const a=i.width,c=i.height;let u=i.arrayBufferView;const f=this._width,h=this._height,m=this._internalFormat,g=this._pixelFormat,p=this._pixelDatatype,y=this._preMultiplyAlpha,b=this._flipY,C=A(e.skipColorSpaceConversion,!1);let E=4;l(u)&&(E=rt.alignmentInBytes(g,p,a)),r.pixelStorei(r.UNPACK_ALIGNMENT,E),C?r.pixelStorei(r.UNPACK_COLORSPACE_CONVERSION_WEBGL,r.NONE):r.pixelStorei(r.UNPACK_COLORSPACE_CONVERSION_WEBGL,r.BROWSER_DEFAULT_WEBGL);let w=!1;if(!this._initialized){if(t===0&&n===0&&a===f&&c===h)l(u)?(r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL,!1),b&&(u=rt.flipY(u,g,p,f,h)),r.texImage2D(s,0,m,f,h,0,g,Je.toWebGLConstant(p,o),u)):(r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,y),r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL,b),r.texImage2D(s,0,m,g,Je.toWebGLConstant(p,o),i)),w=!0;else{r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL,!1);const S=rt.createTypedArray(g,p,f,h);r.texImage2D(s,0,m,f,h,0,g,Je.toWebGLConstant(p,o),S)}this._initialized=!0}w||(l(u)?(r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL,!1),b&&(u=rt.flipY(u,g,p,a,c)),r.texSubImage2D(s,0,t,n,a,c,g,Je.toWebGLConstant(p,o),u)):(r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,y),r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL,b),r.texSubImage2D(s,0,t,n,g,Je.toWebGLConstant(p,o),i))),r.bindTexture(s,null)};kt.prototype.copyFromFramebuffer=function(e,t,n,i,o,r){if(e=A(e,0),t=A(t,0),n=A(n,0),i=A(i,0),o=A(o,this._width),r=A(r,this._height),rt.isDepthFormat(this._pixelFormat))throw new x("Cannot call copyFromFramebuffer when the texture pixel format is DEPTH_COMPONENT or DEPTH_STENCIL.");if(this._pixelDatatype===Je.FLOAT)throw new x("Cannot call copyFromFramebuffer when the texture pixel data type is FLOAT.");if(this._pixelDatatype===Je.HALF_FLOAT)throw new x("Cannot call copyFromFramebuffer when the texture pixel data type is HALF_FLOAT.");if(rt.isCompressedFormat(this._pixelFormat))throw new x("Cannot call copyFrom with a compressed texture pixel format.");T.typeOf.number.greaterThanOrEquals("xOffset",e,0),T.typeOf.number.greaterThanOrEquals("yOffset",t,0),T.typeOf.number.greaterThanOrEquals("framebufferXOffset",n,0),T.typeOf.number.greaterThanOrEquals("framebufferYOffset",i,0),T.typeOf.number.lessThanOrEquals("xOffset + width",e+o,this._width),T.typeOf.number.lessThanOrEquals("yOffset + height",t+r,this._height);const s=this._context._gl,a=this._textureTarget;s.activeTexture(s.TEXTURE0),s.bindTexture(a,this._texture),s.copyTexSubImage2D(a,0,e,t,n,i,o,r),s.bindTexture(a,null),this._initialized=!0};kt.prototype.generateMipmap=function(e){if(e=A(e,r0.DONT_CARE),rt.isDepthFormat(this._pixelFormat))throw new x("Cannot call generateMipmap when the texture pixel format is DEPTH_COMPONENT or DEPTH_STENCIL.");if(rt.isCompressedFormat(this._pixelFormat))throw new x("Cannot call generateMipmap with a compressed pixel format.");if(!this._context.webgl2){if(this._width>1&&!M.isPowerOfTwo(this._width))throw new x("width must be a power of two to call generateMipmap() in a WebGL1 context.");if(this._height>1&&!M.isPowerOfTwo(this._height))throw new x("height must be a power of two to call generateMipmap() in a WebGL1 context.")}if(!r0.validate(e))throw new x("hint is invalid.");this._hasMipmap=!0;const t=this._context._gl,n=this._textureTarget;t.hint(t.GENERATE_MIPMAP_HINT,e),t.activeTexture(t.TEXTURE0),t.bindTexture(n,this._texture),t.generateMipmap(n),t.bindTexture(n,null)};kt.prototype.isDestroyed=function(){return!1};kt.prototype.destroy=function(){return this._context._gl.deleteTexture(this._texture),He(this)};function j_(){this._textures={},this._numberOfTextures=0,this._texturesToRelease={}}Object.defineProperties(j_.prototype,{numberOfTextures:{get:function(){return this._numberOfTextures}}});j_.prototype.getTexture=function(e){const t=this._textures[e];if(l(t))return delete this._texturesToRelease[e],++t.count,t.texture};j_.prototype.addTexture=function(e,t){const n={texture:t,count:1};t.finalDestroy=t.destroy;const i=this;t.destroy=function(){--n.count===0&&(i._texturesToRelease[e]=n)},this._textures[e]=n,++this._numberOfTextures};j_.prototype.destroyReleasedTextures=function(){const e=this._texturesToRelease;for(const t in e)if(e.hasOwnProperty(t)){const n=e[t];delete this._textures[t],n.texture.finalDestroy(),--this._numberOfTextures}this._texturesToRelease={}};j_.prototype.isDestroyed=function(){return!1};j_.prototype.destroy=function(){const e=this._textures;for(const t in e)e.hasOwnProperty(t)&&e[t].texture.finalDestroy();return He(this)};function Ln(){this.high=d.clone(d.ZERO),this.low=d.clone(d.ZERO)}Ln.encode=function(e,t){T.typeOf.number("value",e),l(t)||(t={high:0,low:0});let n;return e>=0?(n=Math.floor(e/65536)*65536,t.high=n,t.low=e-n):(n=Math.floor(-e/65536)*65536,t.high=-n,t.low=e+n),t};const Hf={high:0,low:0};Ln.fromCartesian=function(e,t){T.typeOf.object("cartesian",e),l(t)||(t=new Ln);const n=t.high,i=t.low;return Ln.encode(e.x,Hf),n.x=Hf.high,i.x=Hf.low,Ln.encode(e.y,Hf),n.y=Hf.high,i.y=Hf.low,Ln.encode(e.z,Hf),n.z=Hf.high,i.z=Hf.low,t};const s1=new Ln;Ln.writeElements=function(e,t,n){T.defined("cartesianArray",t),T.typeOf.number("index",n),T.typeOf.number.greaterThanOrEquals("index",n,0),Ln.fromCartesian(e,s1);const i=s1.high,o=s1.low;t[n]=i.x,t[n+1]=i.y,t[n+2]=i.z,t[n+3]=o.x,t[n+4]=o.y,t[n+5]=o.z};function It(e,t){if(T.typeOf.object("normal",e),!M.equalsEpsilon(d.magnitude(e),1,M.EPSILON6))throw new x("normal must be normalized.");T.typeOf.number("distance",t),this.normal=d.clone(e),this.distance=t}It.fromPointNormal=function(e,t,n){if(T.typeOf.object("point",e),T.typeOf.object("normal",t),!M.equalsEpsilon(d.magnitude(t),1,M.EPSILON6))throw new x("normal must be normalized.");const i=-d.dot(t,e);return l(n)?(d.clone(t,n.normal),n.distance=i,n):new It(t,i)};const vbe=new d;It.fromCartesian4=function(e,t){T.typeOf.object("coefficients",e);const n=d.fromCartesian4(e,vbe),i=e.w;if(!M.equalsEpsilon(d.magnitude(n),1,M.EPSILON6))throw new x("normal must be normalized.");return l(t)?(d.clone(n,t.normal),t.distance=i,t):new It(n,i)};It.getPointDistance=function(e,t){return T.typeOf.object("plane",e),T.typeOf.object("point",t),d.dot(e.normal,t)+e.distance};const Dbe=new d;It.projectPointOntoPlane=function(e,t,n){T.typeOf.object("plane",e),T.typeOf.object("point",t),l(n)||(n=new d);const i=It.getPointDistance(e,t),o=d.multiplyByScalar(e.normal,i,Dbe);return d.subtract(t,o,n)};const Ibe=new B,Pbe=new oe,Obe=new d;It.transform=function(e,t,n){T.typeOf.object("plane",e),T.typeOf.object("transform",t);const i=e.normal,o=e.distance,r=B.inverseTranspose(t,Ibe);let s=oe.fromElements(i.x,i.y,i.z,o,Pbe);s=B.multiplyByVector(r,s,s);const a=d.fromCartesian4(s,Obe);return s=oe.divideByScalar(s,d.magnitude(a),s),It.fromCartesian4(s,n)};It.clone=function(e,t){return T.typeOf.object("plane",e),l(t)?(d.clone(e.normal,t.normal),t.distance=e.distance,t):new It(e.normal,e.distance)};It.equals=function(e,t){return T.typeOf.object("left",e),T.typeOf.object("right",t),e.distance===t.distance&&d.equals(e.normal,t.normal)};It.ORIGIN_XY_PLANE=Object.freeze(new It(d.UNIT_Z,0));It.ORIGIN_YZ_PLANE=Object.freeze(new It(d.UNIT_X,0));It.ORIGIN_ZX_PLANE=Object.freeze(new It(d.UNIT_Y,0));function ar(e){this.planes=A(e,[])}const cC=[new d,new d,new d];d.clone(d.UNIT_X,cC[0]);d.clone(d.UNIT_Y,cC[1]);d.clone(d.UNIT_Z,cC[2]);const yh=new d,Lbe=new d,rq=new It(new d(1,0,0),0);ar.fromBoundingSphere=function(e,t){if(!l(e))throw new x("boundingSphere is required.");l(t)||(t=new ar);const n=cC.length,i=t.planes;i.length=2*n;const o=e.center,r=e.radius;let s=0;for(let a=0;ae.right)throw new x("right must be greater than left.");if(e.bottom>e.top)throw new x("top must be greater than bottom.");if(e.near<=0||e.near>e.far)throw new x("near must be greater than zero and less than far.");e._left=e.left,e._right=e.right,e._top=e.top,e._bottom=e.bottom,e._near=e.near,e._far=e.far,e._orthographicMatrix=B.computeOrthographicOffCenter(e.left,e.right,e.bottom,e.top,e.near,e.far,e._orthographicMatrix)}}Object.defineProperties(Wo.prototype,{projectionMatrix:{get:function(){return sq(this),this._orthographicMatrix}}});const Bbe=new d,Rbe=new d,Nbe=new d,a1=new d;Wo.prototype.computeCullingVolume=function(e,t,n){if(!l(e))throw new x("position is required.");if(!l(t))throw new x("direction is required.");if(!l(n))throw new x("up is required.");const i=this._cullingVolume.planes,o=this.top,r=this.bottom,s=this.right,a=this.left,c=this.near,u=this.far,f=d.cross(t,n,Bbe);d.normalize(f,f);const h=Rbe;d.multiplyByScalar(t,c,h),d.add(e,h,h);const m=Nbe;d.multiplyByScalar(f,a,m),d.add(h,m,m);let g=i[0];return l(g)||(g=i[0]=new oe),g.x=f.x,g.y=f.y,g.z=f.z,g.w=-d.dot(f,m),d.multiplyByScalar(f,s,m),d.add(h,m,m),g=i[1],l(g)||(g=i[1]=new oe),g.x=-f.x,g.y=-f.y,g.z=-f.z,g.w=-d.dot(d.negate(f,a1),m),d.multiplyByScalar(n,r,m),d.add(h,m,m),g=i[2],l(g)||(g=i[2]=new oe),g.x=n.x,g.y=n.y,g.z=n.z,g.w=-d.dot(n,m),d.multiplyByScalar(n,o,m),d.add(h,m,m),g=i[3],l(g)||(g=i[3]=new oe),g.x=-n.x,g.y=-n.y,g.z=-n.z,g.w=-d.dot(d.negate(n,a1),m),g=i[4],l(g)||(g=i[4]=new oe),g.x=t.x,g.y=t.y,g.z=t.z,g.w=-d.dot(t,h),d.multiplyByScalar(t,u,m),d.add(e,m,m),g=i[5],l(g)||(g=i[5]=new oe),g.x=-t.x,g.y=-t.y,g.z=-t.z,g.w=-d.dot(d.negate(t,a1),m),this._cullingVolume};Wo.prototype.getPixelDimensions=function(e,t,n,i,o){if(sq(this),!l(e)||!l(t))throw new x("Both drawingBufferWidth and drawingBufferHeight are required.");if(e<=0)throw new x("drawingBufferWidth must be greater than zero.");if(t<=0)throw new x("drawingBufferHeight must be greater than zero.");if(!l(n))throw new x("distance is required.");if(!l(i))throw new x("pixelRatio is required.");if(i<=0)throw new x("pixelRatio must be greater than zero.");if(!l(o))throw new x("A result object is required.");const r=this.right-this.left,s=this.top-this.bottom,a=i*r/e,c=i*s/t;return o.x=a,o.y=c,o};Wo.prototype.clone=function(e){return l(e)||(e=new Wo),e.left=this.left,e.right=this.right,e.top=this.top,e.bottom=this.bottom,e.near=this.near,e.far=this.far,e._left=void 0,e._right=void 0,e._top=void 0,e._bottom=void 0,e._near=void 0,e._far=void 0,e};Wo.prototype.equals=function(e){return l(e)&&e instanceof Wo&&this.right===e.right&&this.left===e.left&&this.top===e.top&&this.bottom===e.bottom&&this.near===e.near&&this.far===e.far};Wo.prototype.equalsEpsilon=function(e,t,n){return e===this||l(e)&&e instanceof Wo&&M.equalsEpsilon(this.right,e.right,t,n)&&M.equalsEpsilon(this.left,e.left,t,n)&&M.equalsEpsilon(this.top,e.top,t,n)&&M.equalsEpsilon(this.bottom,e.bottom,t,n)&&M.equalsEpsilon(this.near,e.near,t,n)&&M.equalsEpsilon(this.far,e.far,t,n)};function Vt(e){e=A(e,A.EMPTY_OBJECT),this._offCenterFrustum=new Wo,this.width=e.width,this._width=void 0,this.aspectRatio=e.aspectRatio,this._aspectRatio=void 0,this.near=A(e.near,1),this._near=this.near,this.far=A(e.far,5e8),this._far=this.far}Vt.packedLength=4;Vt.pack=function(e,t,n){return T.typeOf.object("value",e),T.defined("array",t),n=A(n,0),t[n++]=e.width,t[n++]=e.aspectRatio,t[n++]=e.near,t[n]=e.far,t};Vt.unpack=function(e,t,n){return T.defined("array",e),t=A(t,0),l(n)||(n=new Vt),n.width=e[t++],n.aspectRatio=e[t++],n.near=e[t++],n.far=e[t],n};function g_(e){if(!l(e.width)||!l(e.aspectRatio)||!l(e.near)||!l(e.far))throw new x("width, aspectRatio, near, or far parameters are not set.");const t=e._offCenterFrustum;if(e.width!==e._width||e.aspectRatio!==e._aspectRatio||e.near!==e._near||e.far!==e._far){if(e.aspectRatio<0)throw new x("aspectRatio must be positive.");if(e.near<0||e.near>e.far)throw new x("near must be greater than zero and less than far.");e._aspectRatio=e.aspectRatio,e._width=e.width,e._near=e.near,e._far=e.far;const n=1/e.aspectRatio;t.right=e.width*.5,t.left=-t.right,t.top=n*t.right,t.bottom=-t.top,t.near=e.near,t.far=e.far}}Object.defineProperties(Vt.prototype,{projectionMatrix:{get:function(){return g_(this),this._offCenterFrustum.projectionMatrix}}});Vt.prototype.computeCullingVolume=function(e,t,n){return g_(this),this._offCenterFrustum.computeCullingVolume(e,t,n)};Vt.prototype.getPixelDimensions=function(e,t,n,i,o){return g_(this),this._offCenterFrustum.getPixelDimensions(e,t,n,i,o)};Vt.prototype.clone=function(e){return l(e)||(e=new Vt),e.aspectRatio=this.aspectRatio,e.width=this.width,e.near=this.near,e.far=this.far,e._aspectRatio=void 0,e._width=void 0,e._near=void 0,e._far=void 0,this._offCenterFrustum.clone(e._offCenterFrustum),e};Vt.prototype.equals=function(e){return!l(e)||!(e instanceof Vt)?!1:(g_(this),g_(e),this.width===e.width&&this.aspectRatio===e.aspectRatio&&this._offCenterFrustum.equals(e._offCenterFrustum))};Vt.prototype.equalsEpsilon=function(e,t,n){return!l(e)||!(e instanceof Vt)?!1:(g_(this),g_(e),M.equalsEpsilon(this.width,e.width,t,n)&&M.equalsEpsilon(this.aspectRatio,e.aspectRatio,t,n)&&this._offCenterFrustum.equalsEpsilon(e._offCenterFrustum,t,n))};const tM={};function Mbe(e){const t=6.239996+.0172019696544*e;return .001657*Math.sin(t+.01671*Math.sin(t))}const Fbe=32.184,zbe=2451545;function aq(e,t){t=ie.addSeconds(e,Fbe,t);const n=ie.totalDays(t)-zbe;return t=ie.addSeconds(t,Mbe(n),t),t}const BS=new ie(2451545,0,qn.TAI),Ube=1e3,Wc=M.RADIANS_PER_DEGREE,ec=M.RADIANS_PER_ARCSECOND,Rs=14959787e4,dU=new J;function cq(e,t,n,i,o,r,s){if(n<0&&(n=-n,o+=M.PI),n<0||n>M.PI)throw new x("The inclination is out of range. Inclination must be greater than or equal to zero and less than or equal to Pi radians.");const a=e*(1-t),c=i-o,u=o,f=Vbe(r-i,t);if(Hbe(t,0)==="Hyperbolic"&&Math.abs(M.negativePiToPi(f))>=Math.acos(-1/t))throw new x("The true anomaly of the hyperbolic orbit lies outside of the bounds of the hyperbola.");jbe(c,n,u,dU);const m=a*(1+t),g=Math.cos(f),p=Math.sin(f),y=1+t*g;if(y<=M.Epsilon10)throw new x("elements cannot be converted to cartesian");const b=m/y;return l(s)?(s.x=b*g,s.y=b*p,s.z=0):s=new d(b*g,b*p,0),J.multiplyByVector(dU,s,s)}function Hbe(e,t){if(e<0)throw new x("eccentricity cannot be negative.");return e<=t?"Circular":e<1-t?"Elliptical":e<=1+t?"Parabolic":"Hyperbolic"}function Vbe(e,t){if(t<0||t>=1)throw new x("eccentricity out of range.");const n=Gbe(e,t);return Wbe(n,t)}const hU=50,kbe=M.EPSILON8;function Gbe(e,t){if(t<0||t>=1)throw new x("eccentricity out of range.");const n=Math.floor(e/M.TWO_PI);e-=n*M.TWO_PI;let i=e+t*Math.sin(e)/(1-Math.sin(e+t)+Math.sin(e)),o=Number.MAX_VALUE,r;for(r=0;rkbe;++r){o=i;const s=o-t*Math.sin(o)-e,a=1-t*Math.cos(o);i=o-s/a}if(r>=hU)throw new x("Kepler equation did not converge");return o=i+n*M.TWO_PI,o}function Wbe(e,t){if(t<0||t>=1)throw new x("eccentricity out of range.");const n=Math.floor(e/M.TWO_PI);e-=n*M.TWO_PI;const i=Math.cos(e)-t,o=Math.sin(e)*Math.sqrt(1-t*t);let r=Math.atan2(o,i);return r=M.zeroToTwoPi(r),e<0&&(r-=M.TWO_PI),r+=n*M.TWO_PI,r}function jbe(e,t,n,i){if(t<0||t>M.PI)throw new x("inclination out of range");const o=Math.cos(e),r=Math.sin(e),s=Math.cos(t),a=Math.sin(t),c=Math.cos(n),u=Math.sin(n);return l(i)?(i[0]=c*o-u*r*s,i[1]=u*o+c*r*s,i[2]=r*a,i[3]=-c*r-u*o*s,i[4]=-u*r+c*o*s,i[5]=o*a,i[6]=u*a,i[7]=-c*a,i[8]=s):i=new J(c*o-u*r*s,-c*r-u*o*s,u*a,u*o+c*r*s,-u*r+c*o*s,-c*a,r*a,o*a,s),i}const qbe=1.0000010178*Rs,$be=100.46645683*Wc,Ybe=129597742283429e-5*ec,pU=16002,mU=21863,_U=32004,gU=10931,yU=14529,AU=16368,bU=15318,CU=32794,Xbe=64*1e-7*Rs,Kbe=-152*1e-7*Rs,Jbe=62*1e-7*Rs,Qbe=-8*1e-7*Rs,Zbe=32*1e-7*Rs,eCe=-41*1e-7*Rs,tCe=19*1e-7*Rs,nCe=-11*1e-7*Rs,iCe=-150*1e-7*Rs,oCe=-46*1e-7*Rs,rCe=68*1e-7*Rs,sCe=54*1e-7*Rs,aCe=14*1e-7*Rs,cCe=24*1e-7*Rs,lCe=-28*1e-7*Rs,uCe=22*1e-7*Rs,TU=10,EU=16002,xU=21863,wU=10931,SU=1473,vU=32004,DU=4387,IU=73,fCe=-325*1e-7,dCe=-322*1e-7,hCe=-79*1e-7,pCe=232*1e-7,mCe=-52*1e-7,_Ce=97*1e-7,gCe=55*1e-7,yCe=-41*1e-7,ACe=-105*1e-7,bCe=-137*1e-7,CCe=258*1e-7,TCe=35*1e-7,ECe=-116*1e-7,xCe=-88*1e-7,wCe=-112*1e-7,SCe=-80*1e-7,Dy=new ie(0,0,qn.TAI);function vCe(e,t){aq(e,Dy);const i=(Dy.dayNumber-BS.dayNumber+(Dy.secondsOfDay-BS.secondsOfDay)/Ri.SECONDS_PER_DAY)/(Ri.DAYS_PER_JULIAN_CENTURY*10),o=.3595362*i,r=qbe+Xbe*Math.cos(pU*o)+iCe*Math.sin(pU*o)+Kbe*Math.cos(mU*o)+oCe*Math.sin(mU*o)+Jbe*Math.cos(_U*o)+rCe*Math.sin(_U*o)+Qbe*Math.cos(gU*o)+sCe*Math.sin(gU*o)+Zbe*Math.cos(yU*o)+aCe*Math.sin(yU*o)+eCe*Math.cos(AU*o)+cCe*Math.sin(AU*o)+tCe*Math.cos(bU*o)+lCe*Math.sin(bU*o)+nCe*Math.cos(CU*o)+uCe*Math.sin(CU*o),s=$be+Ybe*i+fCe*Math.cos(TU*o)+ACe*Math.sin(TU*o)+dCe*Math.cos(EU*o)+bCe*Math.sin(EU*o)+hCe*Math.cos(xU*o)+CCe*Math.sin(xU*o)+pCe*Math.cos(wU*o)+TCe*Math.sin(wU*o)+mCe*Math.cos(SU*o)+ECe*Math.sin(SU*o)+_Ce*Math.cos(vU*o)+xCe*Math.sin(vU*o)+gCe*Math.cos(DU*o)+wCe*Math.sin(DU*o)+yCe*Math.cos(IU*o)+SCe*Math.sin(IU*o),a=.0167086342-.0004203654*i,c=102.93734808*Wc+11612.3529*ec*i,u=469.97289*ec*i,f=174.87317577*Wc-8679.27034*ec*i;return cq(r,a,u,c,f,s,t)}function lq(e,t){aq(e,Dy);const i=(Dy.dayNumber-BS.dayNumber+(Dy.secondsOfDay-BS.secondsOfDay)/Ri.SECONDS_PER_DAY)/Ri.DAYS_PER_JULIAN_CENTURY,o=i*i,r=o*i,s=r*i;let a=383397.7725+.004*i,c=.055545526-16e-9*i;const u=5.15668983*Wc;let f=-8e-5*i+.02966*o-42e-6*r-13e-8*s;const h=83.35324312*Wc;let m=146434202669e-4*i-38.2702*o-.045047*r+21301e-8*s;const g=125.04455501*Wc;let p=-69679193631e-4*i+6.3602*o+.007625*r-3586e-8*s;const y=218.31664563*Wc;let b=17325593434847e-4*i-6.391*o+.006588*r-3169e-8*s;const C=297.85019547*Wc+ec*(1602961601209e-3*i-6.3706*o+.006593*r-3169e-8*s),E=93.27209062*Wc+ec*(17395272628478e-4*i-12.7512*o-.001037*r+417e-8*s),w=134.96340251*Wc+ec*(17179159232178e-4*i+31.8792*o+.051635*r-2447e-7*s),S=357.52910918*Wc+ec*(1295965810481e-4*i-.5532*o+136e-6*r-1149e-8*s),P=310.17137918*Wc-ec*(6967051436e-3*i+6.2068*o+.007618*r-3219e-8*s),L=2*C,z=4*C,R=6*C,F=2*w,U=3*w,v=4*w,I=2*E;a+=3400.4*Math.cos(L)-635.6*Math.cos(L-w)-235.6*Math.cos(w)+218.1*Math.cos(L-S)+181*Math.cos(L+w),c+=.014216*Math.cos(L-w)+.008551*Math.cos(L-F)-.001383*Math.cos(w)+.001356*Math.cos(L+w)-.001147*Math.cos(z-U)-914e-6*Math.cos(z-F)+869e-6*Math.cos(L-S-w)-627e-6*Math.cos(L)-394e-6*Math.cos(z-v)+282e-6*Math.cos(L-S-F)-279e-6*Math.cos(C-w)-236e-6*Math.cos(F)+231e-6*Math.cos(z)+229e-6*Math.cos(R-v)-201e-6*Math.cos(F-I),f+=486.26*Math.cos(L-I)-40.13*Math.cos(L)+37.51*Math.cos(I)+25.73*Math.cos(F-I)+19.97*Math.cos(L-S-I),m+=-55609*Math.sin(L-w)-34711*Math.sin(L-F)-9792*Math.sin(w)+9385*Math.sin(z-U)+7505*Math.sin(z-F)+5318*Math.sin(L+w)+3484*Math.sin(z-v)-3417*Math.sin(L-S-w)-2530*Math.sin(R-v)-2376*Math.sin(L)-2075*Math.sin(L-U)-1883*Math.sin(F)-1736*Math.sin(R-5*w)+1626*Math.sin(S)-1370*Math.sin(R-U),p+=-5392*Math.sin(L-I)-540*Math.sin(S)-441*Math.sin(L)+423*Math.sin(I)-288*Math.sin(F-I),b+=-3332.9*Math.sin(L)+1197.4*Math.sin(L-w)-662.5*Math.sin(S)+396.3*Math.sin(w)-218*Math.sin(L-S);const _=2*P,D=3*P;f+=46.997*Math.cos(P)*i-.614*Math.cos(L-I+P)*i+.614*Math.cos(L-I-P)*i-.0297*Math.cos(_)*o-.0335*Math.cos(P)*o+.0012*Math.cos(L-I+_)*o-16e-5*Math.cos(P)*r+4e-5*Math.cos(D)*r+4e-5*Math.cos(_)*r;const O=2.116*Math.sin(P)*i-.111*Math.sin(L-I-P)*i-.0015*Math.sin(P)*o;m+=O,b+=O,p+=-520.77*Math.sin(P)*i+13.66*Math.sin(L-I+P)*i+1.12*Math.sin(L-P)*i-1.06*Math.sin(I-P)*i+.66*Math.sin(_)*o+.371*Math.sin(P)*o-.035*Math.sin(L-I+_)*o-.015*Math.sin(L-I+P)*o+.0014*Math.sin(P)*r-.0011*Math.sin(D)*r-9e-4*Math.sin(_)*r,a*=Ube;const N=u+f*ec,V=h+m*ec,k=y+b*ec,G=g+p*ec;return cq(a,c,N,V,G,k,t)}const PU=.012300034,DCe=PU/(PU+1)*-1;function ICe(e,t){return t=lq(e,t),d.multiplyByScalar(t,DCe,t)}const uq=new J(1.0000000000000002,5619723173785822e-31,4690511510146299e-34,-5154129427414611e-31,.9174820620691819,-.39777715593191376,-223970096136568e-30,.39777715593191376,.9174820620691819);let nA=new d;tM.computeSunPositionInEarthInertialFrame=function(e,t){return l(e)||(e=ie.now()),l(t)||(t=new d),nA=vCe(e,nA),t=d.negate(nA,t),ICe(e,nA),d.subtract(t,nA,t),J.multiplyByVector(uq,t,t),t};tM.computeMoonPositionInEarthInertialFrame=function(e,t){return l(e)||(e=ie.now()),t=lq(e,t),J.multiplyByVector(uq,t,t),t};const nB=tM,Sw={MORPHING:0,COLUMBUS_VIEW:1,SCENE2D:2,SCENE3D:3};Sw.getMorphTime=function(e){return e===Sw.SCENE3D?1:e===Sw.MORPHING?void 0:0};const le=Object.freeze(Sw);function Jv(e){e=A(e,A.EMPTY_OBJECT),this.color=H.clone(A(e.color,H.WHITE)),this.intensity=A(e.intensity,2)}function w0(){this.globeDepthTexture=void 0,this.gamma=void 0,this._viewport=new $e,this._viewportCartesian4=new oe,this._viewportDirty=!1,this._viewportOrthographicMatrix=B.clone(B.IDENTITY),this._viewportTransformation=B.clone(B.IDENTITY),this._model=B.clone(B.IDENTITY),this._view=B.clone(B.IDENTITY),this._inverseView=B.clone(B.IDENTITY),this._projection=B.clone(B.IDENTITY),this._infiniteProjection=B.clone(B.IDENTITY),this._entireFrustum=new j,this._currentFrustum=new j,this._frustumPlanes=new oe,this._farDepthFromNearPlusOne=void 0,this._log2FarDepthFromNearPlusOne=void 0,this._oneOverLog2FarDepthFromNearPlusOne=void 0,this._frameState=void 0,this._temeToPseudoFixed=J.clone(B.IDENTITY),this._view3DDirty=!0,this._view3D=new B,this._inverseView3DDirty=!0,this._inverseView3D=new B,this._inverseModelDirty=!0,this._inverseModel=new B,this._inverseTransposeModelDirty=!0,this._inverseTransposeModel=new J,this._viewRotation=new J,this._inverseViewRotation=new J,this._viewRotation3D=new J,this._inverseViewRotation3D=new J,this._inverseProjectionDirty=!0,this._inverseProjection=new B,this._modelViewDirty=!0,this._modelView=new B,this._modelView3DDirty=!0,this._modelView3D=new B,this._modelViewRelativeToEyeDirty=!0,this._modelViewRelativeToEye=new B,this._inverseModelViewDirty=!0,this._inverseModelView=new B,this._inverseModelView3DDirty=!0,this._inverseModelView3D=new B,this._viewProjectionDirty=!0,this._viewProjection=new B,this._inverseViewProjectionDirty=!0,this._inverseViewProjection=new B,this._modelViewProjectionDirty=!0,this._modelViewProjection=new B,this._inverseModelViewProjectionDirty=!0,this._inverseModelViewProjection=new B,this._modelViewProjectionRelativeToEyeDirty=!0,this._modelViewProjectionRelativeToEye=new B,this._modelViewInfiniteProjectionDirty=!0,this._modelViewInfiniteProjection=new B,this._normalDirty=!0,this._normal=new J,this._normal3DDirty=!0,this._normal3D=new J,this._inverseNormalDirty=!0,this._inverseNormal=new J,this._inverseNormal3DDirty=!0,this._inverseNormal3D=new J,this._encodedCameraPositionMCDirty=!0,this._encodedCameraPositionMC=new Ln,this._cameraPosition=new d,this._sunPositionWC=new d,this._sunPositionColumbusView=new d,this._sunDirectionWC=new d,this._sunDirectionEC=new d,this._moonDirectionEC=new d,this._lightDirectionWC=new d,this._lightDirectionEC=new d,this._lightColor=new d,this._lightColorHdr=new d,this._pass=void 0,this._mode=void 0,this._mapProjection=void 0,this._ellipsoid=void 0,this._cameraDirection=new d,this._cameraRight=new d,this._cameraUp=new d,this._frustum2DWidth=0,this._eyeHeight=0,this._eyeHeight2D=new j,this._pixelRatio=1,this._orthographicIn3D=!1,this._backgroundColor=new H,this._brdfLut=void 0,this._environmentMap=void 0,this._sphericalHarmonicCoefficients=void 0,this._specularEnvironmentMaps=void 0,this._specularEnvironmentMapsDimensions=new j,this._specularEnvironmentMapsMaximumLOD=void 0,this._fogDensity=void 0,this._invertClassificationColor=void 0,this._splitPosition=0,this._pixelSizePerMeter=void 0,this._geometricToleranceOverMeter=void 0,this._minimumDisableDepthTestDistance=void 0}Object.defineProperties(w0.prototype,{frameState:{get:function(){return this._frameState}},viewport:{get:function(){return this._viewport},set:function(e){if(!$e.equals(e,this._viewport)){$e.clone(e,this._viewport);const t=this._viewport,n=this._viewportCartesian4;n.x=t.x,n.y=t.y,n.z=t.width,n.w=t.height,this._viewportDirty=!0}}},viewportCartesian4:{get:function(){return this._viewportCartesian4}},viewportOrthographic:{get:function(){return OU(this),this._viewportOrthographicMatrix}},viewportTransformation:{get:function(){return OU(this),this._viewportTransformation}},model:{get:function(){return this._model},set:function(e){B.clone(e,this._model),this._modelView3DDirty=!0,this._inverseModelView3DDirty=!0,this._inverseModelDirty=!0,this._inverseTransposeModelDirty=!0,this._modelViewDirty=!0,this._inverseModelViewDirty=!0,this._modelViewRelativeToEyeDirty=!0,this._inverseModelViewDirty=!0,this._modelViewProjectionDirty=!0,this._inverseModelViewProjectionDirty=!0,this._modelViewProjectionRelativeToEyeDirty=!0,this._modelViewInfiniteProjectionDirty=!0,this._normalDirty=!0,this._inverseNormalDirty=!0,this._normal3DDirty=!0,this._inverseNormal3DDirty=!0,this._encodedCameraPositionMCDirty=!0}},inverseModel:{get:function(){return this._inverseModelDirty&&(this._inverseModelDirty=!1,B.inverse(this._model,this._inverseModel)),this._inverseModel}},inverseTransposeModel:{get:function(){const e=this._inverseTransposeModel;return this._inverseTransposeModelDirty&&(this._inverseTransposeModelDirty=!1,B.getMatrix3(this.inverseModel,e),J.transpose(e,e)),e}},view:{get:function(){return this._view}},view3D:{get:function(){return c1(this),this._view3D}},viewRotation:{get:function(){return c1(this),this._viewRotation}},viewRotation3D:{get:function(){return c1(this),this._viewRotation3D}},inverseView:{get:function(){return this._inverseView}},inverseView3D:{get:function(){return RU(this),this._inverseView3D}},inverseViewRotation:{get:function(){return this._inverseViewRotation}},inverseViewRotation3D:{get:function(){return RU(this),this._inverseViewRotation3D}},projection:{get:function(){return this._projection}},inverseProjection:{get:function(){return UCe(this),this._inverseProjection}},infiniteProjection:{get:function(){return this._infiniteProjection}},modelView:{get:function(){return HCe(this),this._modelView}},modelView3D:{get:function(){return VCe(this),this._modelView3D}},modelViewRelativeToEye:{get:function(){return $Ce(this),this._modelViewRelativeToEye}},inverseModelView:{get:function(){return kCe(this),this._inverseModelView}},inverseModelView3D:{get:function(){return GCe(this),this._inverseModelView3D}},viewProjection:{get:function(){return WCe(this),this._viewProjection}},inverseViewProjection:{get:function(){return jCe(this),this._inverseViewProjection}},modelViewProjection:{get:function(){return qCe(this),this._modelViewProjection}},inverseModelViewProjection:{get:function(){return YCe(this),this._inverseModelViewProjection}},modelViewProjectionRelativeToEye:{get:function(){return XCe(this),this._modelViewProjectionRelativeToEye}},modelViewInfiniteProjection:{get:function(){return KCe(this),this._modelViewInfiniteProjection}},normal:{get:function(){return JCe(this),this._normal}},normal3D:{get:function(){return QCe(this),this._normal3D}},inverseNormal:{get:function(){return ZCe(this),this._inverseNormal}},inverseNormal3D:{get:function(){return eTe(this),this._inverseNormal3D}},entireFrustum:{get:function(){return this._entireFrustum}},currentFrustum:{get:function(){return this._currentFrustum}},frustumPlanes:{get:function(){return this._frustumPlanes}},farDepthFromNearPlusOne:{get:function(){return this._farDepthFromNearPlusOne}},log2FarDepthFromNearPlusOne:{get:function(){return this._log2FarDepthFromNearPlusOne}},oneOverLog2FarDepthFromNearPlusOne:{get:function(){return this._oneOverLog2FarDepthFromNearPlusOne}},eyeHeight:{get:function(){return this._eyeHeight}},eyeHeight2D:{get:function(){return this._eyeHeight2D}},sunPositionWC:{get:function(){return this._sunPositionWC}},sunPositionColumbusView:{get:function(){return this._sunPositionColumbusView}},sunDirectionWC:{get:function(){return this._sunDirectionWC}},sunDirectionEC:{get:function(){return this._sunDirectionEC}},moonDirectionEC:{get:function(){return this._moonDirectionEC}},lightDirectionWC:{get:function(){return this._lightDirectionWC}},lightDirectionEC:{get:function(){return this._lightDirectionEC}},lightColor:{get:function(){return this._lightColor}},lightColorHdr:{get:function(){return this._lightColorHdr}},encodedCameraPositionMCHigh:{get:function(){return BU(this),this._encodedCameraPositionMC.high}},encodedCameraPositionMCLow:{get:function(){return BU(this),this._encodedCameraPositionMC.low}},temeToPseudoFixedMatrix:{get:function(){return this._temeToPseudoFixed}},pixelRatio:{get:function(){return this._pixelRatio}},fogDensity:{get:function(){return this._fogDensity}},geometricToleranceOverMeter:{get:function(){return this._geometricToleranceOverMeter}},pass:{get:function(){return this._pass}},backgroundColor:{get:function(){return this._backgroundColor}},brdfLut:{get:function(){return this._brdfLut}},environmentMap:{get:function(){return this._environmentMap}},sphericalHarmonicCoefficients:{get:function(){return this._sphericalHarmonicCoefficients}},specularEnvironmentMaps:{get:function(){return this._specularEnvironmentMaps}},specularEnvironmentMapsDimensions:{get:function(){return this._specularEnvironmentMapsDimensions}},specularEnvironmentMapsMaximumLOD:{get:function(){return this._specularEnvironmentMapsMaximumLOD}},splitPosition:{get:function(){return this._splitPosition}},minimumDisableDepthTestDistance:{get:function(){return this._minimumDisableDepthTestDistance}},invertClassificationColor:{get:function(){return this._invertClassificationColor}},orthographicIn3D:{get:function(){return this._orthographicIn3D}},ellipsoid:{get:function(){return A(this._ellipsoid,me.WGS84)}}});function PCe(e,t){B.clone(t,e._view),B.getMatrix3(t,e._viewRotation),e._view3DDirty=!0,e._inverseView3DDirty=!0,e._modelViewDirty=!0,e._modelView3DDirty=!0,e._modelViewRelativeToEyeDirty=!0,e._inverseModelViewDirty=!0,e._inverseModelView3DDirty=!0,e._viewProjectionDirty=!0,e._inverseViewProjectionDirty=!0,e._modelViewProjectionDirty=!0,e._modelViewProjectionRelativeToEyeDirty=!0,e._modelViewInfiniteProjectionDirty=!0,e._normalDirty=!0,e._inverseNormalDirty=!0,e._normal3DDirty=!0,e._inverseNormal3DDirty=!0}function OCe(e,t){B.clone(t,e._inverseView),B.getMatrix3(t,e._inverseViewRotation)}function LCe(e,t){B.clone(t,e._projection),e._inverseProjectionDirty=!0,e._viewProjectionDirty=!0,e._inverseViewProjectionDirty=!0,e._modelViewProjectionDirty=!0,e._modelViewProjectionRelativeToEyeDirty=!0}function BCe(e,t){B.clone(t,e._infiniteProjection),e._modelViewInfiniteProjectionDirty=!0}function RCe(e,t){d.clone(t.positionWC,e._cameraPosition),d.clone(t.directionWC,e._cameraDirection),d.clone(t.rightWC,e._cameraRight),d.clone(t.upWC,e._cameraUp);const n=t.positionCartographic;l(n)?e._eyeHeight=n.height:e._eyeHeight=-e._ellipsoid.maximumRadius,e._encodedCameraPositionMCDirty=!0}let iA=new J;const NCe=new Ce;function MCe(e,t){l(sn.computeIcrfToFixedMatrix(t.time,iA))||(iA=sn.computeTemeToPseudoFixedMatrix(t.time,iA));let n=nB.computeSunPositionInEarthInertialFrame(t.time,e._sunPositionWC);J.multiplyByVector(iA,n,n),d.normalize(n,e._sunDirectionWC),n=J.multiplyByVector(e.viewRotation3D,n,e._sunDirectionEC),d.normalize(n,n),n=nB.computeMoonPositionInEarthInertialFrame(t.time,e._moonDirectionEC),J.multiplyByVector(iA,n,n),J.multiplyByVector(e.viewRotation3D,n,n),d.normalize(n,n);const i=t.mapProjection,r=i.ellipsoid.cartesianToCartographic(e._sunPositionWC,NCe);i.project(r,e._sunPositionColumbusView)}w0.prototype.updateCamera=function(e){PCe(this,e.viewMatrix),OCe(this,e.inverseViewMatrix),RCe(this,e),this._entireFrustum.x=e.frustum.near,this._entireFrustum.y=e.frustum.far,this.updateFrustum(e.frustum),this._orthographicIn3D=this._mode!==le.SCENE2D&&e.frustum instanceof Vt};w0.prototype.updateFrustum=function(e){LCe(this,e.projectionMatrix),l(e.infiniteProjectionMatrix)&&BCe(this,e.infiniteProjectionMatrix),this._currentFrustum.x=e.near,this._currentFrustum.y=e.far,this._farDepthFromNearPlusOne=e.far-e.near+1,this._log2FarDepthFromNearPlusOne=M.log2(this._farDepthFromNearPlusOne),this._oneOverLog2FarDepthFromNearPlusOne=1/this._log2FarDepthFromNearPlusOne,l(e._offCenterFrustum)&&(e=e._offCenterFrustum),this._frustumPlanes.x=e.top,this._frustumPlanes.y=e.bottom,this._frustumPlanes.z=e.left,this._frustumPlanes.w=e.right};w0.prototype.updatePass=function(e){this._pass=e};const FCe=[],zCe=new Jv;w0.prototype.update=function(e){this._mode=e.mode,this._mapProjection=e.mapProjection,this._ellipsoid=e.mapProjection.ellipsoid,this._pixelRatio=e.pixelRatio;const t=e.camera;this.updateCamera(t),e.mode===le.SCENE2D?(this._frustum2DWidth=t.frustum.right-t.frustum.left,this._eyeHeight2D.x=this._frustum2DWidth*.5,this._eyeHeight2D.y=this._eyeHeight2D.x*this._eyeHeight2D.x):(this._frustum2DWidth=0,this._eyeHeight2D.x=0,this._eyeHeight2D.y=0),MCe(this,e);const n=A(e.light,zCe);n instanceof Jv?(this._lightDirectionWC=d.clone(this._sunDirectionWC,this._lightDirectionWC),this._lightDirectionEC=d.clone(this._sunDirectionEC,this._lightDirectionEC)):(this._lightDirectionWC=d.normalize(d.negate(n.direction,this._lightDirectionWC),this._lightDirectionWC),this._lightDirectionEC=J.multiplyByVector(this.viewRotation3D,this._lightDirectionWC,this._lightDirectionEC));const i=n.color;let o=d.fromElements(i.red,i.green,i.blue,this._lightColorHdr);o=d.multiplyByScalar(o,n.intensity,o);const r=d.maximumComponent(o);r>1?d.divideByScalar(o,r,this._lightColor):d.clone(o,this._lightColor);const s=e.brdfLutGenerator,a=l(s)?s.colorTexture:void 0;this._brdfLut=a,this._environmentMap=A(e.environmentMap,e.context.defaultCubeMap),this._sphericalHarmonicCoefficients=A(e.sphericalHarmonicCoefficients,FCe),this._specularEnvironmentMaps=e.specularEnvironmentMaps,this._specularEnvironmentMapsMaximumLOD=e.specularEnvironmentMapsMaximumLOD,l(this._specularEnvironmentMaps)&&j.clone(this._specularEnvironmentMaps.dimensions,this._specularEnvironmentMapsDimensions),this._fogDensity=e.fog.density,this._invertClassificationColor=e.invertClassificationColor,this._frameState=e,this._temeToPseudoFixed=sn.computeTemeToPseudoFixedMatrix(e.time,this._temeToPseudoFixed),this._splitPosition=e.splitPosition*e.context.drawingBufferWidth;const c=t.frustum.fov,u=this._viewport;let f;l(c)?u.height>u.width?f=Math.tan(.5*c)*2/u.height:f=Math.tan(.5*c)*2/u.width:f=1/Math.max(u.width,u.height),this._geometricToleranceOverMeter=f*e.maximumScreenSpaceError,H.clone(e.backgroundColor,this._backgroundColor),this._minimumDisableDepthTestDistance=e.minimumDisableDepthTestDistance,this._minimumDisableDepthTestDistance*=this._minimumDisableDepthTestDistance,this._minimumDisableDepthTestDistance===Number.POSITIVE_INFINITY&&(this._minimumDisableDepthTestDistance=-1)};function OU(e){if(e._viewportDirty){const t=e._viewport;B.computeOrthographicOffCenter(t.x,t.x+t.width,t.y,t.y+t.height,0,1,e._viewportOrthographicMatrix),B.computeViewportTransformation(t,0,1,e._viewportTransformation),e._viewportDirty=!1}}function UCe(e){e._inverseProjectionDirty&&(e._inverseProjectionDirty=!1,e._mode!==le.SCENE2D&&e._mode!==le.MORPHING&&!e._orthographicIn3D?B.inverse(e._projection,e._inverseProjection):B.clone(B.ZERO,e._inverseProjection))}function HCe(e){e._modelViewDirty&&(e._modelViewDirty=!1,B.multiplyTransformation(e._view,e._model,e._modelView))}function VCe(e){e._modelView3DDirty&&(e._modelView3DDirty=!1,B.multiplyTransformation(e.view3D,e._model,e._modelView3D))}function kCe(e){e._inverseModelViewDirty&&(e._inverseModelViewDirty=!1,B.inverse(e.modelView,e._inverseModelView))}function GCe(e){e._inverseModelView3DDirty&&(e._inverseModelView3DDirty=!1,B.inverse(e.modelView3D,e._inverseModelView3D))}function WCe(e){e._viewProjectionDirty&&(e._viewProjectionDirty=!1,B.multiply(e._projection,e._view,e._viewProjection))}function jCe(e){e._inverseViewProjectionDirty&&(e._inverseViewProjectionDirty=!1,B.inverse(e.viewProjection,e._inverseViewProjection))}function qCe(e){e._modelViewProjectionDirty&&(e._modelViewProjectionDirty=!1,B.multiply(e._projection,e.modelView,e._modelViewProjection))}function $Ce(e){if(e._modelViewRelativeToEyeDirty){e._modelViewRelativeToEyeDirty=!1;const t=e.modelView,n=e._modelViewRelativeToEye;n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4],n[5]=t[5],n[6]=t[6],n[7]=t[7],n[8]=t[8],n[9]=t[9],n[10]=t[10],n[11]=t[11],n[12]=0,n[13]=0,n[14]=0,n[15]=t[15]}}function YCe(e){e._inverseModelViewProjectionDirty&&(e._inverseModelViewProjectionDirty=!1,B.inverse(e.modelViewProjection,e._inverseModelViewProjection))}function XCe(e){e._modelViewProjectionRelativeToEyeDirty&&(e._modelViewProjectionRelativeToEyeDirty=!1,B.multiply(e._projection,e.modelViewRelativeToEye,e._modelViewProjectionRelativeToEye))}function KCe(e){e._modelViewInfiniteProjectionDirty&&(e._modelViewInfiniteProjectionDirty=!1,B.multiply(e._infiniteProjection,e.modelView,e._modelViewInfiniteProjection))}function JCe(e){if(e._normalDirty){e._normalDirty=!1;const t=e._normal;B.getMatrix3(e.inverseModelView,t),J.getRotation(t,t),J.transpose(t,t)}}function QCe(e){if(e._normal3DDirty){e._normal3DDirty=!1;const t=e._normal3D;B.getMatrix3(e.inverseModelView3D,t),J.getRotation(t,t),J.transpose(t,t)}}function ZCe(e){e._inverseNormalDirty&&(e._inverseNormalDirty=!1,B.getMatrix3(e.inverseModelView,e._inverseNormal),J.getRotation(e._inverseNormal,e._inverseNormal))}function eTe(e){e._inverseNormal3DDirty&&(e._inverseNormal3DDirty=!1,B.getMatrix3(e.inverseModelView3D,e._inverseNormal3D),J.getRotation(e._inverseNormal3D,e._inverseNormal3D))}const LU=new d;function BU(e){e._encodedCameraPositionMCDirty&&(e._encodedCameraPositionMCDirty=!1,B.multiplyByPoint(e.inverseModel,e._cameraPosition,LU),Ln.fromCartesian(LU,e._encodedCameraPositionMC))}const tTe=new d,nTe=new d,iTe=new d,oTe=new d,rTe=new Ce,sTe=new d,aTe=new B;function cTe(e,t,n,i,o,r,s,a){const c=tTe;c.x=e.y,c.y=e.z,c.z=e.x;const u=nTe;u.x=n.y,u.y=n.z,u.z=n.x;const f=iTe;f.x=i.y,f.y=i.z,f.z=i.x;const h=oTe;h.x=t.y,h.y=t.z,h.z=t.x,r===le.SCENE2D&&(c.z=o*.5);const m=s.unproject(c,rTe);m.longitude=M.clamp(m.longitude,-Math.PI,Math.PI),m.latitude=M.clamp(m.latitude,-M.PI_OVER_TWO,M.PI_OVER_TWO);const g=s.ellipsoid,p=g.cartographicToCartesian(m,sTe),y=sn.eastNorthUpToFixedFrame(p,g,aTe);return B.multiplyByPointAsVector(y,u,u),B.multiplyByPointAsVector(y,f,f),B.multiplyByPointAsVector(y,h,h),l(a)||(a=new B),a[0]=u.x,a[1]=f.x,a[2]=-h.x,a[3]=0,a[4]=u.y,a[5]=f.y,a[6]=-h.y,a[7]=0,a[8]=u.z,a[9]=f.z,a[10]=-h.z,a[11]=0,a[12]=-d.dot(u,p),a[13]=-d.dot(f,p),a[14]=d.dot(h,p),a[15]=1,a}function c1(e){e._view3DDirty&&(e._mode===le.SCENE3D?B.clone(e._view,e._view3D):cTe(e._cameraPosition,e._cameraDirection,e._cameraRight,e._cameraUp,e._frustum2DWidth,e._mode,e._mapProjection,e._view3D),B.getMatrix3(e._view3D,e._viewRotation3D),e._view3DDirty=!1)}function RU(e){e._inverseView3DDirty&&(B.inverseTransformation(e.view3D,e._inverseView3D),B.getMatrix3(e._inverseView3D,e._inverseViewRotation3D),e._inverseView3DDirty=!1)}function lTe(e,t,n,i){const o=l(t.vertexBuffer),r=l(t.value),s=t.value?t.value.length:t.componentsPerAttribute;if(!o&&!r)throw new x("attribute must have a vertexBuffer or a value.");if(o&&r)throw new x("attribute cannot have both a vertexBuffer and a value. It must have either a vertexBuffer property defining per-vertex data or a value property defining data for all vertices.");if(s!==1&&s!==2&&s!==3&&s!==4)throw r?new x("attribute.value.length must be in the range [1, 4]."):new x("attribute.componentsPerAttribute must be in the range [1, 4].");if(l(t.componentDatatype)&&!ee.validate(t.componentDatatype))throw new x("attribute must have a valid componentDatatype or not specify it.");if(l(t.strideInBytes)&&t.strideInBytes>255)throw new x("attribute must have a strideInBytes less than or equal to 255 or not specify it.");if(l(t.instanceDivisor)&&t.instanceDivisor>0&&!i.instancedArrays)throw new x("instanced arrays is not supported");if(l(t.instanceDivisor)&&t.instanceDivisor<0)throw new x("attribute must have an instanceDivisor greater than or equal to zero");if(l(t.instanceDivisor)&&r)throw new x("attribute cannot have have an instanceDivisor if it is not backed by a buffer");if(l(t.instanceDivisor)&&t.instanceDivisor>0&&t.index===0)throw new x("attribute zero cannot have an instanceDivisor greater than 0");const a={index:A(t.index,n),enabled:A(t.enabled,!0),vertexBuffer:t.vertexBuffer,value:r?t.value.slice(0):void 0,componentsPerAttribute:s,componentDatatype:A(t.componentDatatype,ee.FLOAT),normalize:A(t.normalize,!1),offsetInBytes:A(t.offsetInBytes,0),strideInBytes:A(t.strideInBytes,0),instanceDivisor:A(t.instanceDivisor,0)};if(o)a.vertexAttrib=function(c){const u=this.index;c.bindBuffer(c.ARRAY_BUFFER,this.vertexBuffer._getBuffer()),c.vertexAttribPointer(u,this.componentsPerAttribute,this.componentDatatype,this.normalize,this.strideInBytes,this.offsetInBytes),c.enableVertexAttribArray(u),this.instanceDivisor>0&&(i.glVertexAttribDivisor(u,this.instanceDivisor),i._vertexAttribDivisors[u]=this.instanceDivisor,i._previousDrawInstanced=!0)},a.disableVertexAttribArray=function(c){c.disableVertexAttribArray(this.index),this.instanceDivisor>0&&i.glVertexAttribDivisor(n,0)};else{switch(a.componentsPerAttribute){case 1:a.vertexAttrib=function(c){c.vertexAttrib1fv(this.index,this.value)};break;case 2:a.vertexAttrib=function(c){c.vertexAttrib2fv(this.index,this.value)};break;case 3:a.vertexAttrib=function(c){c.vertexAttrib3fv(this.index,this.value)};break;case 4:a.vertexAttrib=function(c){c.vertexAttrib4fv(this.index,this.value)};break}a.disableVertexAttribArray=function(c){}}e.push(a)}function fq(e,t,n){for(let i=0;i0&&(c=!0),l(s[r].value)&&(u=!0);const h={};for(r=0;r0)for(r=NU(e[o[0]]),t=1;t0){const u=ee.getSizeInBytes(e[o[0]].componentDatatype),f=a%u;f!==0&&(a+=u-f);const h=r*a,m=new ArrayBuffer(h),g={};for(t=0;t=M.SIXTY_FOUR_KILOBYTES&&t.elementIndexUint?m=Tt.createIndexBuffer({context:t,typedArray:new Uint32Array(g),usage:i,indexDatatype:st.UNSIGNED_INT}):m=Tt.createIndexBuffer({context:t,typedArray:new Uint16Array(g),usage:i,indexDatatype:st.UNSIGNED_SHORT})),new fo({context:t,attributes:f,indexBuffer:m})};Object.defineProperties(fo.prototype,{numberOfAttributes:{get:function(){return this._attributes.length}},numberOfVertices:{get:function(){return this._numberOfVertices}},indexBuffer:{get:function(){return this._indexBuffer}}});fo.prototype.getAttribute=function(e){return T.defined("index",e),this._attributes[e]};function dTe(e){const t=e._context,n=e._hasInstancedAttributes;if(!n&&!t._previousDrawInstanced)return;t._previousDrawInstanced=n;const i=t._vertexAttribDivisors,o=e._attributes,r=Dt.maximumVertexAttributes;let s;if(n){const a=o.length;for(s=0;s0&&(t.glVertexAttribDivisor(s,0),i[s]=0)}function hTe(e,t){const n=e._attributes,i=n.length;for(let o=0;o"u")throw new Ie("The browser does not support WebGL. Visit http://get.webgl.org.");!n&&!(typeof WebGL2RenderingContext<"u")&&(n=!0);const o=n?"webgl":"webgl2",r=e.getContext(o,t);if(!l(r))throw new Ie("The browser supports WebGL, but initialization failed.");return r}function mTe(e,t){let n="WebGL Error: ";switch(t){case e.INVALID_ENUM:n+="INVALID_ENUM";break;case e.INVALID_VALUE:n+="INVALID_VALUE";break;case e.INVALID_OPERATION:n+="INVALID_OPERATION";break;case e.OUT_OF_MEMORY:n+="OUT_OF_MEMORY";break;case e.CONTEXT_LOST_WEBGL:n+="CONTEXT_LOST_WEBGL lost";break;default:n+=`Unknown (${t})`}return n}function _Te(e,t,n,i){let o=`${mTe(e,i)}: ${t.name}(`;for(let r=0;r=8}},antialias:{get:function(){return this._antialias}},msaa:{get:function(){return this._webgl2}},standardDerivatives:{get:function(){return this._standardDerivatives||this._webgl2}},floatBlend:{get:function(){return this._floatBlend}},blendMinmax:{get:function(){return this._blendMinmax||this._webgl2}},elementIndexUint:{get:function(){return this._elementIndexUint||this._webgl2}},depthTexture:{get:function(){return this._depthTexture||this._webgl2}},floatingPointTexture:{get:function(){return this._webgl2||this._textureFloat}},halfFloatingPointTexture:{get:function(){return this._webgl2||this._textureHalfFloat}},textureFloatLinear:{get:function(){return this._textureFloatLinear}},textureHalfFloatLinear:{get:function(){return this._webgl2&&this._textureFloatLinear||!this._webgl2&&this._textureHalfFloatLinear}},textureFilterAnisotropic:{get:function(){return!!this._textureFilterAnisotropic}},s3tc:{get:function(){return this._s3tc}},pvrtc:{get:function(){return this._pvrtc}},astc:{get:function(){return this._astc}},etc:{get:function(){return this._etc}},etc1:{get:function(){return this._etc1}},bc7:{get:function(){return this._bc7}},supportsBasis:{get:function(){return this._s3tc||this._pvrtc||this._astc||this._etc||this._etc1||this._bc7}},vertexArrayObject:{get:function(){return this._vertexArrayObject||this._webgl2}},fragmentDepth:{get:function(){return this._fragDepth||this._webgl2}},instancedArrays:{get:function(){return this._instancedArrays||this._webgl2}},colorBufferFloat:{get:function(){return this._colorBufferFloat}},colorBufferHalfFloat:{get:function(){return this._webgl2&&this._colorBufferFloat||!this._webgl2&&this._colorBufferHalfFloat}},drawBuffers:{get:function(){return this._drawBuffers||this._webgl2}},debugShaders:{get:function(){return this._debugShaders}},throwOnWebGLError:{get:function(){return this._throwOnWebGLError},set:function(e){this._throwOnWebGLError=e,this._gl=ATe(this._originalGLContext,e?gTe:void 0)}},defaultTexture:{get:function(){return this._defaultTexture===void 0&&(this._defaultTexture=new kt({context:this,source:{width:1,height:1,arrayBufferView:new Uint8Array([255,255,255,255])},flipY:!1})),this._defaultTexture}},defaultEmissiveTexture:{get:function(){return this._defaultEmissiveTexture===void 0&&(this._defaultEmissiveTexture=new kt({context:this,pixelFormat:rt.RGB,source:{width:1,height:1,arrayBufferView:new Uint8Array([0,0,0])},flipY:!1})),this._defaultEmissiveTexture}},defaultNormalTexture:{get:function(){return this._defaultNormalTexture===void 0&&(this._defaultNormalTexture=new kt({context:this,pixelFormat:rt.RGB,source:{width:1,height:1,arrayBufferView:new Uint8Array([128,128,255])},flipY:!1})),this._defaultNormalTexture}},defaultCubeMap:{get:function(){if(this._defaultCubeMap===void 0){const e={width:1,height:1,arrayBufferView:new Uint8Array([255,255,255,255])};this._defaultCubeMap=new gu({context:this,source:{positiveX:e,negativeX:e,positiveY:e,negativeY:e,positiveZ:e,negativeZ:e},flipY:!1})}return this._defaultCubeMap}},drawingBufferHeight:{get:function(){return this._gl.drawingBufferHeight}},drawingBufferWidth:{get:function(){return this._gl.drawingBufferWidth}},defaultFramebuffer:{get:function(){return bTe}}});function CTe(e){if(e.validateFramebuffer){const t=e._gl,n=t.checkFramebufferStatus(t.FRAMEBUFFER);if(n!==t.FRAMEBUFFER_COMPLETE){let i;switch(n){case t.FRAMEBUFFER_INCOMPLETE_ATTACHMENT:i="Framebuffer is not complete. Incomplete attachment: at least one attachment point with a renderbuffer or texture attached has its attached object no longer in existence or has an attached image with a width or height of zero, or the color attachment point has a non-color-renderable image attached, or the depth attachment point has a non-depth-renderable image attached, or the stencil attachment point has a non-stencil-renderable image attached. Color-renderable formats include GL_RGBA4, GL_RGB5_A1, and GL_RGB565. GL_DEPTH_COMPONENT16 is the only depth-renderable format. GL_STENCIL_INDEX8 is the only stencil-renderable format.";break;case t.FRAMEBUFFER_INCOMPLETE_DIMENSIONS:i="Framebuffer is not complete. Incomplete dimensions: not all attached images have the same width and height.";break;case t.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:i="Framebuffer is not complete. Missing attachment: no images are attached to the framebuffer.";break;case t.FRAMEBUFFER_UNSUPPORTED:i="Framebuffer is not complete. Unsupported: the combination of internal formats of the attached images violates an implementation-dependent set of restrictions.";break}throw new x(i)}}}function dq(e,t,n,i){const o=e._currentRenderState,r=e._currentPassState;e._currentRenderState=t,e._currentPassState=n,Ze.partialApply(e._gl,o,t,r,n,i)}let nM;typeof WebGLRenderingContext<"u"&&(nM=[ae.BACK]);function iM(e,t){if(t!==e._currentFramebuffer){e._currentFramebuffer=t;let n=nM;if(l(t))t._bind(),CTe(e),n=t._getActiveColorAttachments();else{const i=e._gl;i.bindFramebuffer(i.FRAMEBUFFER,null)}e.drawBuffers&&e.glDrawBuffers(n)}}const TTe=new ao;Xa.prototype.clear=function(e,t){e=A(e,TTe),t=A(t,this._defaultPassState);const n=this._gl;let i=0;const o=e.color,r=e.depth,s=e.stencil;l(o)&&(H.equals(this._clearColor,o)||(H.clone(o,this._clearColor),n.clearColor(o.red,o.green,o.blue,o.alpha)),i|=n.COLOR_BUFFER_BIT),l(r)&&(r!==this._clearDepth&&(this._clearDepth=r,n.clearDepth(r)),i|=n.DEPTH_BUFFER_BIT),l(s)&&(s!==this._clearStencil&&(this._clearStencil=s,n.clearStencil(s)),i|=n.STENCIL_BUFFER_BIT);const a=A(e.renderState,this._defaultRenderState);dq(this,a,t,!0);const c=A(e.framebuffer,t.framebuffer);iM(this,c),n.clear(i)};function ETe(e,t,n,i,o){if(l(t)&&o.depthTest&&o.depthTest.enabled&&!t.hasDepthAttachment)throw new x("The depth test can not be enabled (drawCommand.renderState.depthTest.enabled) because the framebuffer (drawCommand.framebuffer) does not have a depth or depth-stencil renderbuffer.");iM(e,t),dq(e,o,n,!1),i._bind(),e._maxFrameTextureUnitIndex=Math.max(e._maxFrameTextureUnitIndex,i.maximumTextureUnitIndex)}function xTe(e,t,n,i){const o=t._primitiveType,r=t._vertexArray;let s=t._offset,a=t._count;const c=t.instanceCount;if(!Qe.validate(o))throw new x("drawCommand.primitiveType is required and must be valid.");if(T.defined("drawCommand.vertexArray",r),T.typeOf.number.greaterThanOrEquals("drawCommand.offset",s,0),l(a)&&T.typeOf.number.greaterThanOrEquals("drawCommand.count",a,0),T.typeOf.number.greaterThanOrEquals("drawCommand.instanceCount",c,0),c>0&&!e.instancedArrays)throw new x("Instanced arrays extension is not supported");e._us.model=A(t._modelMatrix,B.IDENTITY),n._setUniforms(i,e._us,e.validateShaderProgram),r._bind();const u=r.indexBuffer;l(u)?(s=s*u.bytesPerIndex,a=A(a,u.numberOfIndices),c===0?e._gl.drawElements(o,a,u.indexDatatype,s):e.glDrawElementsInstanced(o,a,u.indexDatatype,s,c)):(a=A(a,r.numberOfVertices),c===0?e._gl.drawArrays(o,s,a):e.glDrawArraysInstanced(o,s,a,c)),r._unBind()}Xa.prototype.draw=function(e,t,n,i){T.defined("drawCommand",e),T.defined("drawCommand.shaderProgram",e._shaderProgram),t=A(t,this._defaultPassState);const o=A(e._framebuffer,t.framebuffer),r=A(e._renderState,this._defaultRenderState);n=A(n,e._shaderProgram),i=A(i,e._uniformMap),ETe(this,o,t,n,r),xTe(this,e,n,i)};Xa.prototype.endFrame=function(){const e=this._gl;e.useProgram(null),this._currentFramebuffer=void 0,e.bindFramebuffer(e.FRAMEBUFFER,null);const t=nM;this.drawBuffers&&this.glDrawBuffers(t);const n=this._maxFrameTextureUnitIndex;this._maxFrameTextureUnitIndex=0;for(let i=0;i0&&(a=s.getColorTexture(0).pixelDatatype);const c=rt.createTypedArray(rt.RGBA,a,o,r);return iM(this,s),t.readPixels(n,i,o,r,rt.RGBA,Je.toWebGLConstant(a,this),c),c};const hq={position:0,textureCoordinates:1};Xa.prototype.getViewportQuadVertexArray=function(){let e=this.cache.viewportQuad_vertexArray;if(!l(e)){const t=new Lt({attributes:{position:new Ue({componentDatatype:ee.FLOAT,componentsPerAttribute:2,values:[-1,-1,1,-1,1,1,-1,1]}),textureCoordinates:new Ue({componentDatatype:ee.FLOAT,componentsPerAttribute:2,values:[0,0,1,0,1,1,0,1]})},indices:new Uint16Array([0,1,2,0,2,3]),primitiveType:Qe.TRIANGLES});e=fo.fromGeometry({context:this,geometry:t,attributeLocations:hq,bufferUsage:tt.STATIC_DRAW,interleave:!0}),this.cache.viewportQuad_vertexArray=e}return e};Xa.prototype.createViewportQuadCommand=function(e,t){return t=A(t,A.EMPTY_OBJECT),new pt({vertexArray:this.getViewportQuadVertexArray(),primitiveType:Qe.TRIANGLES,renderState:t.renderState,shaderProgram:yn.fromCache({context:this,vertexShaderSource:WW,fragmentShaderSource:e,attributeLocations:hq}),uniformMap:t.uniformMap,owner:t.owner,framebuffer:t.framebuffer,pass:t.pass})};Xa.prototype.getObjectByPickColor=function(e){return T.defined("pickColor",e),this._pickObjects[e.toRgba()]};function oM(e,t,n){this._pickObjects=e,this.key=t,this.color=n}Object.defineProperties(oM.prototype,{object:{get:function(){return this._pickObjects[this.key]},set:function(e){this._pickObjects[this.key]=e}}});oM.prototype.destroy=function(){delete this._pickObjects[this.key]};Xa.prototype.createPickId=function(e){T.defined("object",e),++this._nextPickColor[0];const t=this._nextPickColor[0];if(t===0)throw new Ie("Out of unique Pick IDs.");return this._pickObjects[t]=e,new oM(this._pickObjects,t,H.fromRgba(t))};Xa.prototype.isDestroyed=function(){return!1};Xa.prototype.destroy=function(){const e=this.cache;for(const t in e)if(e.hasOwnProperty(t)){const n=e[t];l(n.destroy)&&n.destroy()}return this._shaderCache=this._shaderCache.destroy(),this._textureCache=this._textureCache.destroy(),this._defaultTexture=this._defaultTexture&&this._defaultTexture.destroy(),this._defaultEmissiveTexture=this._defaultEmissiveTexture&&this._defaultEmissiveTexture.destroy(),this._defaultNormalTexture=this._defaultNormalTexture&&this._defaultNormalTexture.destroy(),this._defaultCubeMap=this._defaultCubeMap&&this._defaultCubeMap.destroy(),He(this)};Xa._deprecationWarning=Gp;function S0(e){e=A(e,A.EMPTY_OBJECT);const t=e.context,n=e.width,i=e.height;T.defined("options.context",t),T.defined("options.width",n),T.defined("options.height",i),this._width=n,this._height=i;const o=e.colorRenderbuffers,r=e.colorTextures;if(l(o)!==l(r))throw new x("Both color renderbuffer and texture attachments must be provided.");const s=e.depthStencilRenderbuffer,a=e.depthStencilTexture;if(l(s)!==l(a))throw new x("Both depth-stencil renderbuffer and texture attachments must be provided.");this._renderFramebuffer=new $r({context:t,colorRenderbuffers:o,depthStencilRenderbuffer:s,destroyAttachments:e.destroyAttachments}),this._colorFramebuffer=new $r({context:t,colorTextures:r,depthStencilTexture:a,destroyAttachments:e.destroyAttachments})}S0.prototype.getRenderFramebuffer=function(){return this._renderFramebuffer};S0.prototype.getColorFramebuffer=function(){return this._colorFramebuffer};S0.prototype.blitFramebuffers=function(e,t){this._renderFramebuffer.bindRead(),this._colorFramebuffer.bindDraw();const n=e._gl;let i=0;this._colorFramebuffer._colorTextures.length>0&&(i|=n.COLOR_BUFFER_BIT),l(this._colorFramebuffer.depthStencilTexture)&&(i|=n.DEPTH_BUFFER_BIT|(t?n.STENCIL_BUFFER_BIT:0)),n.blitFramebuffer(0,0,this._width,this._height,0,0,this._width,this._height,i,n.NEAREST),n.bindFramebuffer(n.READ_FRAMEBUFFER,null),n.bindFramebuffer(n.DRAW_FRAMEBUFFER,null)};S0.prototype.isDestroyed=function(){return!1};S0.prototype.destroy=function(){return this._renderFramebuffer.destroy(),this._colorFramebuffer.destroy(),He(this)};const Va={RGBA4:ae.RGBA4,RGBA8:ae.RGBA8,RGBA16F:ae.RGBA16F,RGBA32F:ae.RGBA32F,RGB5_A1:ae.RGB5_A1,RGB565:ae.RGB565,DEPTH_COMPONENT16:ae.DEPTH_COMPONENT16,STENCIL_INDEX8:ae.STENCIL_INDEX8,DEPTH_STENCIL:ae.DEPTH_STENCIL,DEPTH24_STENCIL8:ae.DEPTH24_STENCIL8,validate:function(e){return e===Va.RGBA4||e===Va.RGBA8||e===Va.RGBA16F||e===Va.RGBA32F||e===Va.RGB5_A1||e===Va.RGB565||e===Va.DEPTH_COMPONENT16||e===Va.STENCIL_INDEX8||e===Va.DEPTH_STENCIL||e===Va.DEPTH24_STENCIL8},getColorFormat:function(e){return e===ae.FLOAT?Va.RGBA32F:e===ae.HALF_FLOAT_OES?Va.RGBA16F:Va.RGBA8}},od=Object.freeze(Va);function ql(e){e=A(e,A.EMPTY_OBJECT),T.defined("options.context",e.context);const n=e.context._gl,i=Dt.maximumRenderbufferSize,o=A(e.format,od.RGBA4),r=l(e.width)?e.width:n.drawingBufferWidth,s=l(e.height)?e.height:n.drawingBufferHeight,a=A(e.numSamples,1);if(!od.validate(o))throw new x("Invalid format.");if(T.typeOf.number.greaterThan("width",r,0),r>i)throw new x(`Width must be less than or equal to the maximum renderbuffer size (${i}). Check maximumRenderbufferSize.`);if(T.typeOf.number.greaterThan("height",s,0),s>i)throw new x(`Height must be less than or equal to the maximum renderbuffer size (${i}). Check maximumRenderbufferSize.`);this._gl=n,this._format=o,this._width=r,this._height=s,this._renderbuffer=this._gl.createRenderbuffer(),n.bindRenderbuffer(n.RENDERBUFFER,this._renderbuffer),a>1?n.renderbufferStorageMultisample(n.RENDERBUFFER,a,o,r,s):n.renderbufferStorage(n.RENDERBUFFER,o,r,s),n.bindRenderbuffer(n.RENDERBUFFER,null)}Object.defineProperties(ql.prototype,{format:{get:function(){return this._format}},width:{get:function(){return this._width}},height:{get:function(){return this._height}}});ql.prototype._getRenderbuffer=function(){return this._renderbuffer};ql.prototype.isDestroyed=function(){return!1};ql.prototype.destroy=function(){return this._gl.deleteRenderbuffer(this._renderbuffer),He(this)};function Pn(e){if(e=A(e,A.EMPTY_OBJECT),this._numSamples=A(e.numSamples,1),this._colorAttachmentsLength=A(e.colorAttachmentsLength,1),this._color=A(e.color,!0),this._depth=A(e.depth,!1),this._depthStencil=A(e.depthStencil,!1),this._supportsDepthTexture=A(e.supportsDepthTexture,!1),!this._color&&!this._depth&&!this._depthStencil)throw new x("Must enable at least one type of framebuffer attachment.");if(this._depth&&this._depthStencil)throw new x("Cannot have both a depth and depth-stencil attachment.");this._createColorAttachments=A(e.createColorAttachments,!0),this._createDepthAttachments=A(e.createDepthAttachments,!0),this._pixelDatatype=e.pixelDatatype,this._pixelFormat=e.pixelFormat,this._width=void 0,this._height=void 0,this._framebuffer=void 0,this._multisampleFramebuffer=void 0,this._colorTextures=void 0,this._color&&(this._colorTextures=new Array(this._colorAttachmentsLength),this._colorRenderbuffers=new Array(this._colorAttachmentsLength)),this._colorRenderbuffer=void 0,this._depthStencilRenderbuffer=void 0,this._depthStencilTexture=void 0,this._depthRenderbuffer=void 0,this._depthTexture=void 0,this._attachmentsDirty=!1}Object.defineProperties(Pn.prototype,{framebuffer:{get:function(){return this._numSamples>1?this._multisampleFramebuffer.getRenderFramebuffer():this._framebuffer}},numSamples:{get:function(){return this._numSamples}},status:{get:function(){return this.framebuffer.status}}});Pn.prototype.isDirty=function(e,t,n,i,o){n=A(n,1);const r=this._width!==e||this._height!==t,s=this._numSamples!==n,a=l(i)&&this._pixelDatatype!==i||l(o)&&this._pixelFormat!==o,c=l(n===1?this._framebuffer:this._multisampleFramebuffer);return this._attachmentsDirty||r||s||a||!c||this._color&&!l(this._colorTextures[0])};Pn.prototype.update=function(e,t,n,i,o,r){if(!l(t)||!l(n))throw new x("width and height must be defined.");if(i=e.msaa?A(i,1):1,o=A(o,this._color?A(this._pixelDatatype,Je.UNSIGNED_BYTE):void 0),r=A(r,this._color?A(this._pixelFormat,rt.RGBA):void 0),this.isDirty(t,n,i,o,r)){if(this.destroy(),this._width=t,this._height=n,this._numSamples=i,this._pixelDatatype=o,this._pixelFormat=r,this._attachmentsDirty=!1,this._color&&this._createColorAttachments){for(let s=0;s1){const a=od.getColorFormat(o);this._colorRenderbuffers[s]=new ql({context:e,width:t,height:n,format:a,numSamples:this._numSamples})}}this._depthStencil&&this._createDepthAttachments&&(this._supportsDepthTexture&&e.depthTexture?(this._depthStencilTexture=new kt({context:e,width:t,height:n,pixelFormat:rt.DEPTH_STENCIL,pixelDatatype:Je.UNSIGNED_INT_24_8,sampler:ii.NEAREST}),this._numSamples>1&&(this._depthStencilRenderbuffer=new ql({context:e,width:t,height:n,format:od.DEPTH24_STENCIL8,numSamples:this._numSamples}))):this._depthStencilRenderbuffer=new ql({context:e,width:t,height:n,format:od.DEPTH_STENCIL})),this._depth&&this._createDepthAttachments&&(this._supportsDepthTexture&&e.depthTexture?this._depthTexture=new kt({context:e,width:t,height:n,pixelFormat:rt.DEPTH_COMPONENT,pixelDatatype:Je.UNSIGNED_INT,sampler:ii.NEAREST}):this._depthRenderbuffer=new ql({context:e,width:t,height:n,format:od.DEPTH_COMPONENT16})),this._numSamples>1?this._multisampleFramebuffer=new S0({context:e,width:this._width,height:this._height,colorTextures:this._colorTextures,colorRenderbuffers:this._colorRenderbuffers,depthStencilTexture:this._depthStencilTexture,depthStencilRenderbuffer:this._depthStencilRenderbuffer,destroyAttachments:!1}):this._framebuffer=new $r({context:e,colorTextures:this._colorTextures,depthTexture:this._depthTexture,depthRenderbuffer:this._depthRenderbuffer,depthStencilTexture:this._depthStencilTexture,depthStencilRenderbuffer:this._depthStencilRenderbuffer,destroyAttachments:!1})}};Pn.prototype.getColorTexture=function(e){if(e=A(e,0),e>=this._colorAttachmentsLength)throw new x("index must be smaller than total number of color attachments.");return this._colorTextures[e]};Pn.prototype.setColorTexture=function(e,t){if(t=A(t,0),this._createColorAttachments)throw new x("createColorAttachments must be false if setColorTexture is called.");if(t>=this._colorAttachmentsLength)throw new x("index must be smaller than total number of color attachments.");this._attachmentsDirty=e!==this._colorTextures[t],this._colorTextures[t]=e};Pn.prototype.getColorRenderbuffer=function(e){if(e=A(e,0),e>=this._colorAttachmentsLength)throw new x("index must be smaller than total number of color attachments.");return this._colorRenderbuffers[e]};Pn.prototype.setColorRenderbuffer=function(e,t){if(t=A(t,0),this._createColorAttachments)throw new x("createColorAttachments must be false if setColorRenderbuffer is called.");if(t>=this._colorAttachmentsLength)throw new x("index must be smaller than total number of color attachments.");this._attachmentsDirty=e!==this._colorRenderbuffers[t],this._colorRenderbuffers[t]=e};Pn.prototype.getDepthRenderbuffer=function(){return this._depthRenderbuffer};Pn.prototype.setDepthRenderbuffer=function(e){if(this._createDepthAttachments)throw new x("createDepthAttachments must be false if setDepthRenderbuffer is called.");this._attachmentsDirty=e!==this._depthRenderbuffer,this._depthRenderbuffer=e};Pn.prototype.getDepthTexture=function(){return this._depthTexture};Pn.prototype.setDepthTexture=function(e){if(this._createDepthAttachments)throw new x("createDepthAttachments must be false if setDepthTexture is called.");this._attachmentsDirty=e!==this._depthTexture,this._depthTexture=e};Pn.prototype.getDepthStencilRenderbuffer=function(){return this._depthStencilRenderbuffer};Pn.prototype.setDepthStencilRenderbuffer=function(e){if(this._createDepthAttachments)throw new x("createDepthAttachments must be false if setDepthStencilRenderbuffer is called.");this._attachmentsDirty=e!==this._depthStencilRenderbuffer,this._depthStencilRenderbuffer=e};Pn.prototype.getDepthStencilTexture=function(){return this._depthStencilTexture};Pn.prototype.setDepthStencilTexture=function(e){if(this._createDepthAttachments)throw new x("createDepthAttachments must be false if setDepthStencilTexture is called.");this._attachmentsDirty=e!==this._depthStencilTexture,this._depthStencilTexture=e};Pn.prototype.prepareTextures=function(e,t){this._numSamples>1&&this._multisampleFramebuffer.blitFramebuffers(e,t)};Pn.prototype.clear=function(e,t,n){const i=t.framebuffer;t.framebuffer=this.framebuffer,t.execute(e,n),t.framebuffer=i};Pn.prototype.destroyFramebuffer=function(){this._framebuffer=this._framebuffer&&this._framebuffer.destroy(),this._multisampleFramebuffer=this._multisampleFramebuffer&&this._multisampleFramebuffer.destroy()};Pn.prototype.destroy=function(){if(this._color){let e;const t=this._colorTextures.length;for(e=0;e0?ee.getSizeInBytes(e[0].componentDatatype):0,o=i>0?t%i:0,r=o===0?0:i-o;return t+=r,t};Pr._createArrayViews=function(e,t){const n=[];let i=0;const o=e.length;for(let r=0;r0){const n=new ArrayBuffer(t*e.vertexSizeInBytes);if(l(e.arrayBuffer)){const r=new Uint8Array(n),s=new Uint8Array(e.arrayBuffer),a=s.length;for(let c=0;c0){t.needsCommit=!1;const n=t.vertexBuffer,i=e._size*t.vertexSizeInBytes,o=l(n);if(!o||n.sizeInBytes=this._size)throw new E("offsetInVertices must be greater than or equal to zero and less than the vertex array size.");if(e+t>this._size)throw new E("offsetInVertices + lengthInVertices cannot exceed the vertex array size.");const n=this._allBuffers;for(let i=0,o=n.length;i0){const i=e.vertexSizeInBytes*t,o=e.vertexSizeInBytes*n;e.vertexBuffer.copyFromArrayView(new Uint8Array(e.arrayBuffer,i,o),i)}}Pr.prototype.endSubCommits=function(){const e=this._allBuffers;for(let t=0,n=e.length;t0?ee.getSizeInBytes(e[0].componentDatatype):0,o=i>0?t%i:0,r=o===0?0:i-o;return t+=r,t};Br._createArrayViews=function(e,t){const n=[];let i=0;const o=e.length;for(let r=0;r0){const n=new ArrayBuffer(t*e.vertexSizeInBytes);if(l(e.arrayBuffer)){const r=new Uint8Array(n),s=new Uint8Array(e.arrayBuffer),a=s.length;for(let c=0;c0){t.needsCommit=!1;const n=t.vertexBuffer,i=e._size*t.vertexSizeInBytes,o=l(n);if(!o||n.sizeInBytes=this._size)throw new x("offsetInVertices must be greater than or equal to zero and less than the vertex array size.");if(e+t>this._size)throw new x("offsetInVertices + lengthInVertices cannot exceed the vertex array size.");const n=this._allBuffers;for(let i=0,o=n.length;i0){const i=e.vertexSizeInBytes*t,o=e.vertexSizeInBytes*n;e.vertexBuffer.copyFromArrayView(new Uint8Array(e.arrayBuffer,i,o),i)}}Br.prototype.endSubCommits=function(){const e=this._allBuffers;for(let t=0,n=e.length;t opaqueDepth, 1.0, translucentDepth); gl_FragColor = czm_packDepth(translucentDepth); } -`,Qbe=`/** +`,MTe=`/** * Compositing for Weighted Blended Order-Independent Transparency. See: * - http://jcgt.org/published/0002/02/09/ * - http://casual-effects.blogspot.com/2014/03/weighted-blended-order-independent.html @@ -4467,7 +4472,7 @@ void main() gl_FragColor.a = 1.0; } } -`,Zbe=`varying vec4 positionEC; +`,FTe=`varying vec4 positionEC; void main() { @@ -4503,7 +4508,7 @@ void main() czm_writeLogDepth(); } -`,eCe=`attribute vec4 position; +`,zTe=`attribute vec4 position; varying vec4 positionEC; @@ -4514,7 +4519,7 @@ void main() czm_vertexLogDepth(); } -`,EU=`#ifdef WRITE_DEPTH +`,FU=`#ifdef WRITE_DEPTH #ifdef GL_EXT_frag_depth #extension GL_EXT_frag_depth : enable #endif @@ -4626,7 +4631,7 @@ void main() #endif #endif } -`,xU=`attribute vec3 position; +`,zU=`attribute vec3 position; uniform vec3 u_radii; @@ -4681,7 +4686,7 @@ void main() * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */const tCe=`/** + */const UTe=`/** * @license * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. * @@ -5329,7 +5334,7 @@ FxaaFloat4 FxaaPixelShader( if( horzSpan) posM.y += pixelOffsetSubpix * lengthSign; return FxaaFloat4(FxaaTexTop(tex, posM).xyz, lumaM); } -`,nCe=`uniform vec4 u_initialColor; +`,HTe=`uniform vec4 u_initialColor; #if TEXTURE_UNITS > 0 uniform sampler2D u_dayTextures[TEXTURE_UNITS]; @@ -5982,7 +5987,7 @@ vec4 computeWaterColor(vec3 positionEyeCoordinates, vec2 textureCoordinates, mat } #endif // #ifdef SHOW_REFLECTIVE_OCEAN -`,iCe=`#ifdef QUANTIZATION_BITS12 +`,VTe=`#ifdef QUANTIZATION_BITS12 attribute vec4 compressed0; attribute float compressed1; #else @@ -6235,7 +6240,7 @@ void main() v_height = height; #endif } -`,wU=`void computeAtmosphereScattering(vec3 positionWC, vec3 lightDirection, out vec3 rayleighColor, out vec3 mieColor, out float opacity) { +`,UU=`void computeAtmosphereScattering(vec3 positionWC, vec3 lightDirection, out vec3 rayleighColor, out vec3 mieColor, out float opacity) { vec3 cameraToPositionWC = positionWC - czm_viewerPositionWC; vec3 cameraToPositionWCDirection = normalize(cameraToPositionWC); @@ -6253,7 +6258,7 @@ void main() opacity ); } -`,oCe=`varying vec2 v_textureCoordinates; +`,kTe=`varying vec2 v_textureCoordinates; uniform float originalSize; uniform sampler2D texture0; @@ -6342,7 +6347,7 @@ void main() gl_FragColor = vec4(0.0); } } -`,rCe=`varying vec3 v_cubeMapCoordinates; +`,GTe=`varying vec3 v_cubeMapCoordinates; uniform samplerCube cubeMap; void main() @@ -6356,7 +6361,7 @@ void main() gl_FragColor = vec4(r * r, 1.0); #endif } -`,sCe=`attribute vec4 position; +`,WTe=`attribute vec4 position; attribute vec3 cubeMapCoordinates; varying vec3 v_cubeMapCoordinates; @@ -6366,7 +6371,7 @@ void main() gl_Position = position; v_cubeMapCoordinates = cubeMapCoordinates; } -`,bE=`varying vec4 v_color; +`,DE=`varying vec4 v_color; varying vec4 v_outlineColor; varying float v_innerPercent; varying float v_pixelDistance; @@ -6409,7 +6414,7 @@ void main() gl_FragColor = czm_gammaCorrect(color); czm_writeLogDepth(); } -`,aCe=`uniform float u_maxTotalPointSize; +`,jTe=`uniform float u_maxTotalPointSize; attribute vec4 positionHighAndSize; attribute vec4 positionLowAndOutline; @@ -6592,7 +6597,7 @@ void main() v_pickColor = pickColor; } -`,$C=`void clipLineSegmentToNearPlane( +`,nT=`void clipLineSegmentToNearPlane( vec3 p0, vec3 p1, out vec4 positionWC, @@ -6768,7 +6773,7 @@ vec4 getPolylineWindowCoordinates(vec4 position, vec4 previous, vec4 next, float vec4 nextEC = czm_modelViewRelativeToEye * next; return getPolylineWindowCoordinatesEC(positionEC, prevEC, nextEC, expandDirection, width, usePrevious, angle); } -`,jj=`#ifdef VECTOR_TILE +`,pq=`#ifdef VECTOR_TILE uniform vec4 u_highlightColor; #endif @@ -6793,7 +6798,7 @@ void main() czm_writeLogDepth(); } -`,cCe=`#ifdef GL_EXT_frag_depth +`,qTe=`#ifdef GL_EXT_frag_depth #extension GL_EXT_frag_depth : enable #endif @@ -6883,7 +6888,7 @@ void main(void) czm_writeDepthClamp(); } -`,lCe=`varying vec3 v_forwardDirectionEC; +`,$Te=`varying vec3 v_forwardDirectionEC; varying vec3 v_texcoordNormalizationAndHalfWidth; varying float v_batchId; @@ -6928,7 +6933,7 @@ void main(void) gl_FragColor = vec4(material.diffuse + material.emission, material.alpha); #endif // PER_INSTANCE_COLOR } -`,uCe=`attribute vec3 position3DHigh; +`,YTe=`attribute vec3 position3DHigh; attribute vec3 position3DLow; attribute vec4 startHiAndForwardOffsetX; @@ -7105,7 +7110,7 @@ void main() v_polylineAngle = czm_fastApproximateAtan(approxLineDirection.x, approxLineDirection.y); #endif } -`,fCe=`attribute vec3 position3DHigh; +`,XTe=`attribute vec3 position3DHigh; attribute vec3 position3DLow; // In 2D and in 3D, texture coordinate normalization component signs encodes: @@ -7273,7 +7278,7 @@ void main() v_polylineAngle = czm_fastApproximateAtan(approxLineDirection.x, approxLineDirection.y); #endif } -`,dCe=`attribute vec3 position3DHigh; +`,KTe=`attribute vec3 position3DHigh; attribute vec3 position3DLow; attribute vec3 position2DHigh; attribute vec3 position2DLow; @@ -7376,7 +7381,7 @@ void main() v_pickColor = pickColor; v_polylineAngle = polylineAngle; } -`,hCe=`uniform sampler2D u_texture; +`,JTe=`uniform sampler2D u_texture; varying vec2 v_textureCoordinates; @@ -7384,7 +7389,7 @@ void main() { gl_FragColor = texture2D(u_texture, v_textureCoordinates); } -`,pCe=`attribute vec4 position; +`,QTe=`attribute vec4 position; attribute float webMercatorT; uniform vec2 u_textureDimensions; @@ -7396,7 +7401,7 @@ void main() v_textureCoordinates = vec2(position.x, webMercatorT); gl_Position = czm_viewportOrthographic * (position * vec4(u_textureDimensions, 1.0, 1.0)); } -`,qj=`#ifdef GL_EXT_frag_depth +`,mq=`#ifdef GL_EXT_frag_depth #extension GL_EXT_frag_depth : enable #endif @@ -7561,7 +7566,7 @@ void main(void) czm_writeDepthClamp(); #endif // PICK } -`,mCe=`attribute vec3 position3DHigh; +`,ZTe=`attribute vec3 position3DHigh; attribute vec3 position3DLow; attribute float batchId; @@ -7662,7 +7667,7 @@ void main() gl_Position = czm_depthClamp(czm_modelViewProjectionRelativeToEye * position); } -`,JL=`#ifdef GL_EXT_frag_depth +`,iB=`#ifdef GL_EXT_frag_depth #extension GL_EXT_frag_depth : enable #endif @@ -7679,7 +7684,7 @@ void main(void) #endif czm_writeDepthClamp(); } -`,SU=`float interpolateByDistance(vec4 nearFarScalar, float distance) +`,HU=`float interpolateByDistance(vec4 nearFarScalar, float distance) { float startDistance = nearFarScalar.x; float startValue = nearFarScalar.y; @@ -7770,7 +7775,7 @@ void computeAtmosphereScattering(vec3 positionWC, vec3 lightDirection, out vec3 float nightAlpha = (u_radiiAndDynamicAtmosphereColor.z != 0.0) ? clamp(dot(normalize(positionWC), lightDirection), 0.0, 1.0) : 1.0; opacity *= pow(nightAlpha, 0.5); } -`,_Ce=`varying vec3 v_outerPositionWC; +`,eEe=`varying vec3 v_outerPositionWC; uniform vec3 u_hsbShift; @@ -7834,7 +7839,7 @@ void main (void) gl_FragColor = color; } -`,gCe=`attribute vec4 position; +`,tEe=`attribute vec4 position; varying vec3 v_outerPositionWC; @@ -7864,7 +7869,7 @@ void main(void) v_outerPositionWC = positionWC.xyz; gl_Position = czm_modelViewProjection * position; } -`,yCe=`uniform samplerCube u_cubeMap; +`,nEe=`uniform samplerCube u_cubeMap; varying vec3 v_texCoord; @@ -7873,7 +7878,7 @@ void main() vec4 color = textureCube(u_cubeMap, normalize(v_texCoord)); gl_FragColor = vec4(czm_gammaCorrect(color).rgb, czm_morphTime); } -`,ACe=`attribute vec3 position; +`,iEe=`attribute vec3 position; varying vec3 v_texCoord; @@ -7883,7 +7888,7 @@ void main() gl_Position = czm_projection * vec4(p, 1.0); v_texCoord = position.xyz; } -`,bCe=`uniform sampler2D u_texture; +`,oEe=`uniform sampler2D u_texture; varying vec2 v_textureCoordinates; @@ -7892,7 +7897,7 @@ void main() vec4 color = texture2D(u_texture, v_textureCoordinates); gl_FragColor = czm_gammaCorrect(color); } -`,CCe=`uniform float u_radiusTS; +`,rEe=`uniform float u_radiusTS; varying vec2 v_textureCoordinates; @@ -7947,7 +7952,7 @@ void main() gl_FragColor = clamp(color, vec4(0.0), vec4(1.0)); } -`,TCe=`attribute vec2 direction; +`,sEe=`attribute vec2 direction; uniform float u_size; @@ -7975,7 +7980,7 @@ void main() v_textureCoordinates = direction; } -`,ECe=`#ifdef GL_EXT_frag_depth +`,aEe=`#ifdef GL_EXT_frag_depth #extension GL_EXT_frag_depth : enable #endif @@ -8027,7 +8032,7 @@ void main() czm_writeDepthClamp(); } -`,xCe=`attribute vec3 startEllipsoidNormal; +`,cEe=`attribute vec3 startEllipsoidNormal; attribute vec3 endEllipsoidNormal; attribute vec4 startPositionAndHeight; attribute vec4 endPositionAndHeight; @@ -8112,7 +8117,7 @@ void main() v_endPlaneEC = vec4(endNormalEC, -dot(endNormalEC, position.xyz)); v_halfWidth = endFaceNormalAndHalfWidth.w; } -`,wCe=`attribute vec4 currentPosition; +`,lEe=`attribute vec4 currentPosition; attribute vec4 previousPosition; attribute vec4 nextPosition; attribute vec2 expandAndWidth; @@ -8134,7 +8139,7 @@ void main() vec4 positionWC = getPolylineWindowCoordinatesEC(p, prev, next, expandDir, width, usePrev, angle); gl_Position = czm_viewportOrthographic * positionWC; } -`,vU=`attribute vec3 position; +`,VU=`attribute vec3 position; attribute float a_batchId; uniform mat4 u_modifiedModelViewProjection; @@ -8143,11 +8148,11 @@ void main() { gl_Position = czm_depthClamp(u_modifiedModelViewProjection * vec4(position, 1.0)); } -`;/*! @license DOMPurify 2.4.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.1/LICENSE */function Vh(e){return Vh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vh(e)}function QL(e,t){return QL=Object.setPrototypeOf||function(i,o){return i.__proto__=o,i},QL(e,t)}function SCe(){if(typeof Reflect>"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 bw(e,t,n){return SCe()?bw=Reflect.construct:bw=function(o,r,s){var a=[null];a.push.apply(a,r);var c=Function.bind.apply(o,a),u=new c;return s&&QL(u,s.prototype),u},bw.apply(null,arguments)}function Ol(e){return vCe(e)||DCe(e)||ICe(e)||PCe()}function vCe(e){if(Array.isArray(e))return ZL(e)}function DCe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ICe(e,t){if(e){if(typeof e=="string")return ZL(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ZL(e,t)}}function ZL(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n1?n-1:0),o=1;o/gm),jCe=nu(/\${[\w\W]*}/gm),qCe=nu(/^data-[\-\w.\u00B7-\uFFFF]/),YCe=nu(/^aria-[\-\w]+$/),$Ce=nu(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),XCe=nu(/^(?:\w+script|data):/i),KCe=nu(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),JCe=nu(/^html$/i),QCe=function(){return typeof window>"u"?null:window},ZCe=function(t,n){if(Vh(t)!=="object"||typeof t.createPolicy!="function")return null;var i=null,o="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(o)&&(i=n.currentScript.getAttribute(o));var r="dompurify"+(i?"#"+i:"");try{return t.createPolicy(r,{createHTML:function(a){return a},createScriptURL:function(a){return a}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}};function $j(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:QCe(),t=function(xe){return $j(xe)};if(t.version="2.4.1",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;var n=e.document,i=e.document,o=e.DocumentFragment,r=e.HTMLTemplateElement,s=e.Node,a=e.Element,c=e.NodeFilter,u=e.NamedNodeMap,f=u===void 0?e.NamedNodeMap||e.MozNamedAttrMap:u,h=e.HTMLFormElement,_=e.DOMParser,g=e.trustedTypes,p=a.prototype,y=CE(p,"cloneNode"),b=CE(p,"nextSibling"),C=CE(p,"childNodes"),x=CE(p,"parentNode");if(typeof r=="function"){var S=i.createElement("template");S.content&&S.content.ownerDocument&&(i=S.content.ownerDocument)}var v=ZCe(g,n),P=v?v.createHTML(""):"",L=i,z=L.implementation,R=L.createNodeIterator,F=L.createDocumentFragment,H=L.getElementsByTagName,w=n.importNode,I={};try{I=sm(i).documentMode?i.documentMode:{}}catch{}var m={};t.isSupported=typeof x=="function"&&z&&typeof z.createHTMLDocument<"u"&&I!==9;var D=GCe,O=WCe,M=jCe,V=qCe,k=YCe,G=XCe,W=KCe,K=$Ce,q=null,te=Hn({},[].concat(Ol(PU),Ol(o1),Ol(r1),Ol(s1),Ol(OU))),$=null,X=Hn({},[].concat(Ol(LU),Ol(a1),Ol(BU),Ol(TE))),Y=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),se=null,ue=null,re=!0,he=!0,ce=!1,Q=!1,ne=!1,fe=!1,me=!1,we=!1,Se=!1,Le=!1,Te=!0,Be=!1,Ie="user-content-",ye=!0,Ee=!1,Pe={},Ve=null,Re=Hn({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),gt=null,Tt=Hn({},["audio","video","img","source","image","track"]),Bt=null,En=Hn({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),In="http://www.w3.org/1998/Math/MathML",An="http://www.w3.org/2000/svg",rn="http://www.w3.org/1999/xhtml",Ft=rn,bn=!1,Tn=null,kt=Hn({},[In,An,rn],n1),Jt,Un=["application/xhtml+xml","text/html"],oi="text/html",tn,Oi=null,Qi=i.createElement("form"),Ui=function(xe){return xe instanceof RegExp||xe instanceof Function},ei=function(xe){Oi&&Oi===xe||((!xe||Vh(xe)!=="object")&&(xe={}),xe=sm(xe),Jt=Un.indexOf(xe.PARSER_MEDIA_TYPE)===-1?Jt=oi:Jt=xe.PARSER_MEDIA_TYPE,tn=Jt==="application/xhtml+xml"?n1:Cw,q="ALLOWED_TAGS"in xe?Hn({},xe.ALLOWED_TAGS,tn):te,$="ALLOWED_ATTR"in xe?Hn({},xe.ALLOWED_ATTR,tn):X,Tn="ALLOWED_NAMESPACES"in xe?Hn({},xe.ALLOWED_NAMESPACES,n1):kt,Bt="ADD_URI_SAFE_ATTR"in xe?Hn(sm(En),xe.ADD_URI_SAFE_ATTR,tn):En,gt="ADD_DATA_URI_TAGS"in xe?Hn(sm(Tt),xe.ADD_DATA_URI_TAGS,tn):Tt,Ve="FORBID_CONTENTS"in xe?Hn({},xe.FORBID_CONTENTS,tn):Re,se="FORBID_TAGS"in xe?Hn({},xe.FORBID_TAGS,tn):{},ue="FORBID_ATTR"in xe?Hn({},xe.FORBID_ATTR,tn):{},Pe="USE_PROFILES"in xe?xe.USE_PROFILES:!1,re=xe.ALLOW_ARIA_ATTR!==!1,he=xe.ALLOW_DATA_ATTR!==!1,ce=xe.ALLOW_UNKNOWN_PROTOCOLS||!1,Q=xe.SAFE_FOR_TEMPLATES||!1,ne=xe.WHOLE_DOCUMENT||!1,we=xe.RETURN_DOM||!1,Se=xe.RETURN_DOM_FRAGMENT||!1,Le=xe.RETURN_TRUSTED_TYPE||!1,me=xe.FORCE_BODY||!1,Te=xe.SANITIZE_DOM!==!1,Be=xe.SANITIZE_NAMED_PROPS||!1,ye=xe.KEEP_CONTENT!==!1,Ee=xe.IN_PLACE||!1,K=xe.ALLOWED_URI_REGEXP||K,Ft=xe.NAMESPACE||rn,xe.CUSTOM_ELEMENT_HANDLING&&Ui(xe.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Y.tagNameCheck=xe.CUSTOM_ELEMENT_HANDLING.tagNameCheck),xe.CUSTOM_ELEMENT_HANDLING&&Ui(xe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Y.attributeNameCheck=xe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),xe.CUSTOM_ELEMENT_HANDLING&&typeof xe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Y.allowCustomizedBuiltInElements=xe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Q&&(he=!1),Se&&(we=!0),Pe&&(q=Hn({},Ol(OU)),$=[],Pe.html===!0&&(Hn(q,PU),Hn($,LU)),Pe.svg===!0&&(Hn(q,o1),Hn($,a1),Hn($,TE)),Pe.svgFilters===!0&&(Hn(q,r1),Hn($,a1),Hn($,TE)),Pe.mathMl===!0&&(Hn(q,s1),Hn($,BU),Hn($,TE))),xe.ADD_TAGS&&(q===te&&(q=sm(q)),Hn(q,xe.ADD_TAGS,tn)),xe.ADD_ATTR&&($===X&&($=sm($)),Hn($,xe.ADD_ATTR,tn)),xe.ADD_URI_SAFE_ATTR&&Hn(Bt,xe.ADD_URI_SAFE_ATTR,tn),xe.FORBID_CONTENTS&&(Ve===Re&&(Ve=sm(Ve)),Hn(Ve,xe.FORBID_CONTENTS,tn)),ye&&(q["#text"]=!0),ne&&Hn(q,["html","head","body"]),q.table&&(Hn(q,["tbody"]),delete se.tbody),wa&&wa(xe),Oi=xe)},ln=Hn({},["mi","mo","mn","ms","mtext"]),Wn=Hn({},["foreignobject","desc","title","annotation-xml"]),Rn=Hn({},["title","style","font","a","script"]),sn=Hn({},o1);Hn(sn,r1),Hn(sn,VCe);var yt=Hn({},s1);Hn(yt,kCe);var Ge=function(xe){var qe=x(xe);(!qe||!qe.tagName)&&(qe={namespaceURI:Ft,tagName:"template"});var nt=Cw(xe.tagName),jn=Cw(qe.tagName);return Tn[xe.namespaceURI]?xe.namespaceURI===An?qe.namespaceURI===rn?nt==="svg":qe.namespaceURI===In?nt==="svg"&&(jn==="annotation-xml"||ln[jn]):Boolean(sn[nt]):xe.namespaceURI===In?qe.namespaceURI===rn?nt==="math":qe.namespaceURI===An?nt==="math"&&Wn[jn]:Boolean(yt[nt]):xe.namespaceURI===rn?qe.namespaceURI===An&&!Wn[jn]||qe.namespaceURI===In&&!ln[jn]?!1:!yt[nt]&&(Rn[nt]||!sn[nt]):!!(Jt==="application/xhtml+xml"&&Tn[xe.namespaceURI]):!1},Pn=function(xe){Z0(t.removed,{element:xe});try{xe.parentNode.removeChild(xe)}catch{try{xe.outerHTML=P}catch{xe.remove()}}},_n=function(xe,qe){try{Z0(t.removed,{attribute:qe.getAttributeNode(xe),from:qe})}catch{Z0(t.removed,{attribute:null,from:qe})}if(qe.removeAttribute(xe),xe==="is"&&!$[xe])if(we||Se)try{Pn(qe)}catch{}else try{qe.setAttribute(xe,"")}catch{}},Yi=function(xe){var qe,nt;if(me)xe=""+xe;else{var jn=FCe(xe,/^[\r\n\t ]+/);nt=jn&&jn[0]}Jt==="application/xhtml+xml"&&Ft===rn&&(xe=''+xe+"");var Xr=v?v.createHTML(xe):xe;if(Ft===rn)try{qe=new _().parseFromString(Xr,Jt)}catch{}if(!qe||!qe.documentElement){qe=z.createDocument(Ft,"template",null);try{qe.documentElement.innerHTML=bn?"":Xr}catch{}}var Cr=qe.body||qe.documentElement;return xe&&nt&&Cr.insertBefore(i.createTextNode(nt),Cr.childNodes[0]||null),Ft===rn?H.call(qe,ne?"html":"body")[0]:ne?qe.documentElement:Cr},On=function(xe){return R.call(xe.ownerDocument||xe,xe,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},Hi=function(xe){return xe instanceof h&&(typeof xe.nodeName!="string"||typeof xe.textContent!="string"||typeof xe.removeChild!="function"||!(xe.attributes instanceof f)||typeof xe.removeAttribute!="function"||typeof xe.setAttribute!="function"||typeof xe.namespaceURI!="string"||typeof xe.insertBefore!="function"||typeof xe.hasChildNodes!="function")},vo=function(xe){return Vh(s)==="object"?xe instanceof s:xe&&Vh(xe)==="object"&&typeof xe.nodeType=="number"&&typeof xe.nodeName=="string"},co=function(xe,qe,nt){m[xe]&&MCe(m[xe],function(jn){jn.call(t,qe,nt,Oi)})},Nr=function(xe){var qe;if(co("beforeSanitizeElements",xe,null),Hi(xe)||ha(/[\u0080-\uFFFF]/,xe.nodeName))return Pn(xe),!0;var nt=tn(xe.nodeName);if(co("uponSanitizeElement",xe,{tagName:nt,allowedTags:q}),xe.hasChildNodes()&&!vo(xe.firstElementChild)&&(!vo(xe.content)||!vo(xe.content.firstElementChild))&&ha(/<[/\w]/g,xe.innerHTML)&&ha(/<[/\w]/g,xe.textContent)||nt==="select"&&ha(/