diff --git a/feature/vite/.htaccess b/feature/vite/.htaccess new file mode 100644 index 00000000..680e1a5e --- /dev/null +++ b/feature/vite/.htaccess @@ -0,0 +1,16 @@ +RewriteEngine on +RewriteBase / + +# do not do anything for already existing files +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -l [OR] +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule (.*) - [L] + +# if request is no valid file NOR directory +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +# if static asset do not do anything +RewriteRule (.*)(css|js|html|png|jpe?g|gif|bmp|ico|json|csv|otf|eot|svg|svgz|ttf|woff|woff2|ijmap|pdf|tif|map) - [NC,L,R=404] +# everything else should be redirected to /index.html so it can be routed by it +RewriteRule (.*) /index.html [L] diff --git a/feature/vite/assets/index-985f1acd.css b/feature/vite/assets/index-985f1acd.css new file mode 100644 index 00000000..3c32d2bb --- /dev/null +++ b/feature/vite/assets/index-985f1acd.css @@ -0,0 +1,6 @@ +@charset "UTF-8";.main-header.main-header{color:#fff;background-color:var(--brand-color)!important}.main-header.main-header .navbar-brand{color:inherit!important}.main-header__brand-logo{width:26px;margin-right:5px}.main-header__toggle-icon{width:20px;transition:transform .3s}.main-header__toggle-icon--opened{transform:rotate(180deg)}.servers-list__list-group.servers-list__list-group{width:100%}.servers-list__list-group:not(.servers-list__list-group--embedded){max-width:400px;box-shadow:0 .125rem .25rem #00000013}.servers-list__server-item.servers-list__server-item{text-align:left;position:relative;padding:.75rem 2.5rem .75rem 1rem}.servers-list__server-item:not(:hover){color:#4696e5}.servers-list__server-item:hover{background-color:var(--secondary-color)}.servers-list__server-item-icon{position:absolute;top:50%;transform:translateY(-50%);right:1rem}.servers-list__list-group--embedded.servers-list__list-group--embedded{border-radius:0;border-top:1px solid var(--border-color)}@media (min-width: 768px){.servers-list__list-group--embedded.servers-list__list-group--embedded{max-height:220px;overflow-x:auto;scrollbar-color:rgba(0,0,0,.2) #f5f5f5;scrollbar-width:thin}.servers-list__list-group--embedded.servers-list__list-group--embedded::-webkit-scrollbar{width:6px;background-color:#f5f5f5}.servers-list__list-group--embedded.servers-list__list-group--embedded::-webkit-scrollbar-thumb{background-color:#0003;border-radius:.5rem}}.servers-list__list-group--embedded.servers-list__list-group--embedded .servers-list__server-item{border:none;border-bottom:1px solid var(--border-color)}.home{position:relative;padding-top:15px;width:100%}@media (min-width: 768px){.home{padding-top:0;height:calc(100vh - 56px - 3.1rem)}}.home__logo-wrapper{padding:1.5rem!important;height:100%!important;min-height:300px}.home__logo{position:absolute;top:50%;transform:translateY(-50%);width:calc(300.024px - 3rem)}.home__main-card{margin:0 auto;max-width:720px}@media (min-width: 768px){.home__main-card{position:absolute;top:50%;transform:translateY(-50%)}}.home__title-wrapper{padding:1.5rem!important;border-bottom:1px solid var(--border-color)}.home__title{text-align:center;font-size:1.75rem;margin:0}@media (min-width: 768px){.home__title{font-size:2.2rem}}@media (min-width: 768px){.home__servers-container{border-left:1px solid var(--border-color)}}.no-menu-wrapper{padding:15px 0 0}@media (min-width: 768px){.no-menu-wrapper{padding:30px 20px 20px}}.menu-layout__swipeable,.menu-layout__swipeable-inner{height:100%}.menu-layout__burger-icon{display:none;transition:color .3s;position:fixed;top:18px;z-index:1035;font-size:1.5rem;cursor:pointer;color:#ffffff80}@media (max-width: 767px){.menu-layout__burger-icon{display:inline-block}}.menu-layout__burger-icon--active{color:#fff}.menu-layout__container.menu-layout__container{padding:20px 0 0;min-height:100%}@media (min-width: 768px){.menu-layout__container.menu-layout__container{padding:30px 0 0 260px}}.aside-menu{width:260px;background-color:var(--primary-color);box-shadow:#0000000d 0 8px 15px;position:fixed!important;padding-top:13px;padding-bottom:10px;top:56px;bottom:0;left:0;display:block;z-index:1010;overflow-x:hidden;overflow-y:auto}@media (min-width: 768px){.aside-menu{padding:30px 15px 15px}}@media (max-width: 767px){.aside-menu{transition:left .3s;top:53px;box-shadow:-10px 0 50px 11px #0000008c}}@media (max-width: 767px){.aside-menu--hidden{left:-295px}}.aside-menu__nav{height:100%}.aside-menu__item{padding:10px 20px;margin:0 -15px;text-decoration:none!important;cursor:pointer}@media (max-width: 767px){.aside-menu__item{margin:0}}.aside-menu__item:hover{background-color:var(--secondary-color)}.aside-menu__item--selected,.aside-menu__item--selected:hover{color:#fff;background-color:var(--brand-color)}.aside-menu__item--divider{border-bottom:1px solid #eeeeee;margin:20px 0}.aside-menu__item--danger{color:#dc3545}.aside-menu__item--push{margin-top:auto}.aside-menu__item--danger:hover{color:#fff;background-color:#dc3545}.aside-menu__item-text{margin-left:8px}.shlink-versions-container--with-sidebar{margin-left:0}@media (min-width: 768px){.shlink-versions-container--with-sidebar{margin-left:260px}}.search-field{position:relative}.search-field:focus-within{z-index:1}.search-field__input.search-field__input{padding-left:40px;padding-right:40px}.search-field__input--no-border.search-field__input--no-border{border:none;border-radius:0}.search-field__icon{position:absolute;top:50%;transform:translateY(-50%);left:15px;color:#6c757d}.search-field__close{position:absolute;top:50%;transform:translateY(-50%);right:10px;cursor:pointer}.dropdown-btn__toggle.dropdown-btn__toggle,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled).active,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):active,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):focus,.dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):hover,.show>.dropdown-btn__toggle.dropdown-btn__toggle.dropdown-toggle{text-align:left;color:var(--input-text-color);background-color:var(--primary-color);border-color:var(--input-border-color)}.card .dropdown-btn__toggle.dropdown-btn__toggle,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled).active,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):active,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):focus,.card .dropdown-btn__toggle.dropdown-btn__toggle:not(:disabled):not(.disabled):hover,.show>.card .dropdown-btn__toggle.dropdown-btn__toggle.dropdown-toggle{background-color:var(--input-color)}.dropdown-btn__toggle.dropdown-btn__toggle.disabled,.dropdown-btn__toggle.dropdown-btn__toggle:disabled{background-color:var(--input-disabled-color)}.dropdown-btn__toggle.dropdown-btn__toggle:after{position:absolute;top:50%;transform:translateY(-50%);right:.75rem}.date-input-container{position:relative}.date-input-container__input{padding-right:35px!important}.date-input-container__input:not(:disabled){background-color:var(--primary-color)!important}.card .date-input-container__input:not(:disabled),.dropdown .date-input-container__input:not(:disabled){background-color:var(--input-color)!important}.date-input-container__icon{position:absolute;top:50%;transform:translateY(-50%);right:.75rem;cursor:pointer}.react-datepicker__close-icon.react-datepicker__close-icon{position:absolute;top:50%;transform:translateY(-50%);right:0}.react-datepicker__close-icon.react-datepicker__close-icon:after{right:.75rem;line-height:11px;background-color:#333;font-size:14px}.react-datepicker__input-container,.react-datepicker-wrapper{display:block!important}.react-datepicker__day--keyboard-selected{background-color:#4696e5}.react-datepicker__day--keyboard-selected:hover{background-color:#1d77d0}.react-datepicker__time.react-datepicker__time,.react-datepicker.react-datepicker{background-color:var(--primary-color)!important;color:var(--text-color);border-color:var(--border-color)}.react-datepicker__header.react-datepicker__header{background-color:var(--secondary-color);border-color:var(--border-color)}.react-datepicker__current-month.react-datepicker__current-month,.react-datepicker-time__header.react-datepicker-time__header,.react-datepicker-year-header.react-datepicker-year-header,.react-datepicker__day-name.react-datepicker__day-name,.react-datepicker__day.react-datepicker__day:not(:hover):not(.react-datepicker__day--selected),.react-datepicker__time-name.react-datepicker__time-name{color:inherit}.react-datepicker__day--disabled.react-datepicker__day--disabled{cursor:default;color:var(--border-color)!important}.react-datepicker__day--keyboard-selected.react-datepicker__day--keyboard-selected,.react-datepicker__month-text--keyboard-selected.react-datepicker__month-text--keyboard-selected,.react-datepicker__quarter-text--keyboard-selected.react-datepicker__quarter-text--keyboard-selected,.react-datepicker__year-text--keyboard-selected.react-datepicker__year-text--keyboard-selected{background-color:var(--brand-color)!important;color:#fff!important}.react-datepicker__time-list-item.react-datepicker__time-list-item:hover{color:#232323}.react-datepicker__time-container.react-datepicker__time-container{border-color:var(--border-color)}.react-datepicker__time-list.react-datepicker__time-list{scrollbar-color:rgba(0,0,0,.5) var(--secondary-color);scrollbar-width:thin}.react-datepicker__time-list.react-datepicker__time-list::-webkit-scrollbar{width:10px;background-color:var(--secondary-color)}.react-datepicker__time-list.react-datepicker__time-list::-webkit-scrollbar-thumb{background-color:#00000080;border-radius:.5rem}.react-datepicker-popper.react-datepicker-popper{z-index:2}.react-datepicker-popper.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle.react-datepicker__triangle:after{border-top-color:var(--primary-color)}.react-datepicker-popper.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle.react-datepicker__triangle:before{border-top-color:var(--border-color)}.react-datepicker-popper.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle.react-datepicker__triangle:after{border-bottom-color:var(--secondary-color)}.react-datepicker-popper.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle.react-datepicker__triangle:before{border-bottom-color:var(--border-color)}.ordering-dropdown__menu--link.ordering-dropdown__menu--link{min-width:11rem}.ordering-dropdown__sort-icon{margin:3.5px 0 0;float:right}.short-urls-filtering-bar__tags-icon{vertical-align:bottom;font-size:1.6rem}.copy-to-clipboard-icon{cursor:pointer;font-size:1.2rem}.short-urls-visits-count__max-visits-control{cursor:help}.short-url-visits-count__amount{transition:transform .3s ease;display:inline-block}.short-url-visits-count__amount--big{transform:scale(1.5)}.short-url-visits-count__tooltip-list-item:not(:last-child){margin-bottom:.5rem}.tag{color:#fff}.tag--light-bg{color:#222!important}.tag:not(:last-child){margin-right:3px}.tag__close-selected-tag.tag__close-selected-tag{font-size:inherit;color:inherit;opacity:1;cursor:pointer;margin-left:5px}.tag__close-selected-tag.tag__close-selected-tag:hover{color:inherit!important;opacity:1!important}.short-urls-row__cell.short-urls-row__cell{vertical-align:middle!important}.short-urls-row__cell--break{word-break:break-all}@media (min-width: 992px){.short-urls-row__cell--indivisible{white-space:nowrap}}@media (max-width: 991px){.short-urls-row__short-url-wrapper{word-break:break-all}}@media (min-width: 992px){.short-urls-row__short-url-wrapper{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;vertical-align:bottom;display:inline-block;max-width:18rem}}.short-urls-row__copy-hint{position:absolute;top:50%;transform:translateY(-50%) translate(10px);box-shadow:0 3px 15px #00000040}@media (max-width: 991px){.short-urls-row__copy-hint{position:absolute;top:50%;transform:translateY(-50%) translate(calc(-100% - 20px))}}.dropdown-btn-menu__dropdown-toggle:after{display:none!important}.create-short-url-result__copy-btn{margin-left:10px;vertical-align:inherit}.short-urls-table.short-urls-table{margin-bottom:-1px}.short-urls-table__header-cell--with-action{cursor:pointer}.use-existing-if-found-info-icon__modal-quote{margin-bottom:0;padding:10px 15px;font-size:17.5px;border-left:5px solid #eeeeee;background-color:#f9f9f9}.short-url-form p:last-child{margin-bottom:0}.short-url-form .card{height:100%}.qr-code-modal__img{max-width:100%;box-shadow:0 0 .25rem #0003}.import-servers-btn__csv-select{position:absolute;left:-9999px;top:-9999px}.server-error__container{text-align:center;display:flex;align-items:center;justify-content:center}.server-error__delete-btn{color:#dc3545;cursor:pointer}.server-error__delete-btn:hover{text-decoration:underline}.highlight-card.highlight-card{text-align:center;border-top:3px solid var(--brand-color);color:inherit;text-decoration:none}.highlight-card__link-icon{position:absolute;right:5px;bottom:5px;opacity:.1;transform:rotate(-45deg)}.highlight-card__title{text-transform:uppercase;color:#6c757d}@media (min-width: 768px){.map-modal__modal.map-modal__modal{width:calc(100% - 40px);max-width:calc(100% - 40px);height:calc(100% - 40px);margin:20px}}@media (max-width: 767px){.map-modal__modal.map-modal__modal{width:calc(100% - 20px);max-width:calc(100% - 20px);height:calc(100% - 20px);margin:10px}}.map-modal__modal-content.map-modal__modal-content{height:100%}.map-modal__modal-title.map-modal__modal-title{position:absolute;width:100%;z-index:1001;padding:.5rem 1rem 1rem;margin:0;color:#fff;background:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,0))}.map-modal__modal-body.map-modal__modal-body{padding:0;display:flex;overflow:hidden}.map-modal__modal.map-modal__modal .leaflet-container.leaflet-container{flex:1 1 auto;border-radius:.3rem}.map-modal__modal.map-modal__modal .leaflet-top.leaflet-top .leaflet-control.leaflet-control{margin-top:60px}.short-url-visits-header__created-at{cursor:default}.nav-pills__nav{position:sticky!important;top:55px;z-index:2}.nav-pills__nav-link.nav-pills__nav-link{border-radius:0!important;padding-bottom:calc(.5rem - 3px)!important;border-bottom:3px solid transparent!important;color:#5d6778;font-weight:700;cursor:pointer;text-decoration:none}@media (min-width: 576px) and (max-width: 991px){.nav-pills__nav-link.nav-pills__nav-link{font-size:89%}}.nav-pills__nav-link:hover{color:#4696e5!important}.nav-pills__nav-link.active{border-color:#4696e5!important;background-color:var(--primary-color)!important;color:#4696e5!important}.line-chart-card__body canvas{height:300px!important}@media (min-width: 768px){.line-chart-card__body canvas{height:400px!important}}.simple-paginator{user-select:none}.visits-table{margin:1.5rem 0 0;position:relative;background-color:var(--primary-color);overflow-y:hidden}.visits-table__header-cell{cursor:pointer;margin-bottom:55px;z-index:1;position:relative}.visits-table__header-cell:before{content:"";position:absolute;top:-1px;left:0;bottom:-1px;right:-1px;background:var(--table-border-color);z-index:-2}.visits-table__header-cell:first-child:before{left:-1px}.visits-table__header-cell:after{content:"";position:absolute;top:0;left:1px;bottom:0;right:0;background:var(--primary-color);z-index:-1}.visits-table__header-cell:first-child:after{left:0}@media (min-width: 768px){.visits-table__header-cell.visits-table__sticky{top:96px}}.visits-table__header-icon{float:right;margin-top:3px}.visits-table__footer-cell.visits-table__footer-cell{bottom:0;margin-top:34px;padding:.5rem;z-index:1;position:relative}.visits-table__footer-cell.visits-table__footer-cell:before{content:"";position:absolute;top:-1px;left:0;bottom:-1px;right:-1px;background:var(--table-border-color);z-index:-2}.visits-table__footer-cell.visits-table__footer-cell:first-child:before{left:-1px}.visits-table__footer-cell.visits-table__footer-cell:after{content:"";position:absolute;top:0;left:1px;bottom:0;right:0;background:var(--primary-color);z-index:-1}.visits-table__footer-cell.visits-table__footer-cell:first-child:after{left:0}.visits-table__sticky.visits-table__sticky{position:sticky}.open-map-modal-btn__btn.open-map-modal-btn__btn{padding:0;margin-right:1rem}.doughnut-chart-legend{list-style-type:none;padding:0;margin:0}@media (max-width: 767px){.doughnut-chart-legend{margin-top:1rem}}.doughnut-chart-legend__item:not(:first-child){margin-top:.3rem}.doughnut-chart-legend__item-color{width:20px;min-width:20px;height:20px;margin-right:5px;border-radius:10px}.doughnut-chart-legend__item-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chart-card__footer--sticky{position:sticky;bottom:0}.tag-bullet{border-radius:50%;width:20px;height:20px;display:inline-block;vertical-align:-4px;margin-right:7px}.edit-tag-modal__color-picker-toggle{cursor:pointer}.edit-tag-modal__color-icon{color:#fff}.edit-tag-modal__popover.edit-tag-modal__popover{border-radius:.6rem}.tags-table__header-cell.tags-table__header-cell{z-index:1;position:relative;top:56px;position:sticky;cursor:pointer}.tags-table__header-cell.tags-table__header-cell:before{content:"";position:absolute;top:-1px;left:0;bottom:-1px;right:0;background:var(--table-border-color);z-index:-2}.tags-table__header-cell.tags-table__header-cell:first-child:before{left:0}.tags-table__header-cell.tags-table__header-cell:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:var(--primary-color);z-index:-1}.tags-table__header-cell.tags-table__header-cell:first-child:after{left:0}.user-interface__theme-icon{float:right;margin-top:.25rem}.domains-dropdown__toggle-btn.domains-dropdown__toggle-btn,.domains-dropdown__toggle-btn.domains-dropdown__toggle-btn:hover,.domains-dropdown__toggle-btn.domains-dropdown__toggle-btn:active{color:#6c757d!important}.domains-dropdown__toggle-btn--active.domains-dropdown__toggle-btn--active,.domains-dropdown__toggle-btn--active.domains-dropdown__toggle-btn--active:hover,.domains-dropdown__toggle-btn--active.domains-dropdown__toggle-btn--active:active{color:var(--input-text-color)!important}.domains-dropdown__back-btn.domains-dropdown__back-btn,.domains-dropdown__back-btn.domains-dropdown__back-btn:hover{border-color:var(--border-color)}.app-update-banner.app-update-banner{position:absolute;left:50%;transform:translate(-50%);position:fixed;top:31px;padding:0 4rem 0 0;z-index:1040;margin:0;color:var(--text-color);text-align:center;width:700px;max-width:calc(100% - 30px);box-shadow:0 0 1rem var(--brand-color)}.app-container{height:100%}.app{padding-top:56px;height:100%}.shlink-wrapper{min-height:100%;padding-bottom:3.1rem;margin-bottom:-3.1rem}.shlink-footer{height:2.3rem;margin-top:.8rem;padding:0}@media (min-width: 768px){.shlink-footer{padding:0 15px}}.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__navigation-icon:before{border-color:#ccc;border-style:solid;border-width:3px 3px 0 0;content:"";display:block;height:9px;position:absolute;top:6px;width:9px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{margin-left:-4px;position:absolute;width:0}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:after,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after{box-sizing:content-box;position:absolute;border:8px solid transparent;height:0;width:1px;content:"";z-index:-1;border-width:8px;left:-8px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{border-bottom-color:#aeaeae}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{top:0;margin-top:-8px}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after{border-top:none;border-bottom-color:#f0f0f0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after{top:0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{top:-1px;border-bottom-color:#aeaeae}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle{bottom:0;margin-bottom:-8px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:after{border-bottom:none;border-top-color:#fff}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:after{bottom:0}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before{bottom:-1px;border-top-color:#aeaeae}.react-datepicker-wrapper{display:inline-block;padding:0;border:0;width:100%}.react-datepicker{font-family:Helvetica Neue,helvetica,arial,sans-serif;font-size:.8rem;background-color:#fff;color:#000;border:1px solid #aeaeae;border-radius:.3rem;display:inline-block;position:relative}.react-datepicker--time-only .react-datepicker__triangle{left:35px}.react-datepicker--time-only .react-datepicker__time-container{border-left:0}.react-datepicker--time-only .react-datepicker__time,.react-datepicker--time-only .react-datepicker__time-box{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__triangle{position:absolute;left:50px}.react-datepicker-popper{z-index:1}.react-datepicker-popper[data-placement^=bottom]{padding-top:10px}.react-datepicker-popper[data-placement=bottom-end] .react-datepicker__triangle,.react-datepicker-popper[data-placement=top-end] .react-datepicker__triangle{left:auto;right:50px}.react-datepicker-popper[data-placement^=top]{padding-bottom:10px}.react-datepicker-popper[data-placement^=right]{padding-left:8px}.react-datepicker-popper[data-placement^=right] .react-datepicker__triangle{left:auto;right:42px}.react-datepicker-popper[data-placement^=left]{padding-right:8px}.react-datepicker-popper[data-placement^=left] .react-datepicker__triangle{left:42px;right:auto}.react-datepicker__header{text-align:center;background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;padding:8px 0;position:relative}.react-datepicker__header--time{padding-bottom:8px;padding-left:5px;padding-right:5px}.react-datepicker__header--time:not(.react-datepicker__header--time--only){border-top-left-radius:0}.react-datepicker__header:not(.react-datepicker__header--has-time-select){border-top-right-radius:.3rem}.react-datepicker__year-dropdown-container--select,.react-datepicker__month-dropdown-container--select,.react-datepicker__month-year-dropdown-container--select,.react-datepicker__year-dropdown-container--scroll,.react-datepicker__month-dropdown-container--scroll,.react-datepicker__month-year-dropdown-container--scroll{display:inline-block;margin:0 2px}.react-datepicker__current-month,.react-datepicker-time__header,.react-datepicker-year-header{margin-top:0;color:#000;font-weight:700;font-size:.944rem}.react-datepicker-time__header{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.react-datepicker__navigation{align-items:center;background:none;display:flex;justify-content:center;text-align:center;cursor:pointer;position:absolute;top:2px;padding:0;border:none;z-index:1;height:32px;width:32px;text-indent:-999em;overflow:hidden}.react-datepicker__navigation--previous{left:2px}.react-datepicker__navigation--next{right:2px}.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:85px}.react-datepicker__navigation--years{position:relative;top:0;display:block;margin-left:auto;margin-right:auto}.react-datepicker__navigation--years-previous{top:4px}.react-datepicker__navigation--years-upcoming{top:-4px}.react-datepicker__navigation:hover *:before{border-color:#a6a6a6}.react-datepicker__navigation-icon{position:relative;top:-1px;font-size:20px;width:0}.react-datepicker__navigation-icon--next{left:-2px}.react-datepicker__navigation-icon--next:before{transform:rotate(45deg);left:-7px}.react-datepicker__navigation-icon--previous{right:-2px}.react-datepicker__navigation-icon--previous:before{transform:rotate(225deg);right:-7px}.react-datepicker__month-container{float:left}.react-datepicker__year{margin:.4rem;text-align:center}.react-datepicker__year-wrapper{display:flex;flex-wrap:wrap;max-width:180px}.react-datepicker__year .react-datepicker__year-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__month{margin:.4rem;text-align:center}.react-datepicker__month .react-datepicker__month-text,.react-datepicker__month .react-datepicker__quarter-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__input-time-container{clear:both;width:100%;float:left;margin:5px 0 10px 15px;text-align:left}.react-datepicker__input-time-container .react-datepicker-time__caption,.react-datepicker__input-time-container .react-datepicker-time__input-container{display:inline-block}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input{display:inline-block;margin-left:10px}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input{width:auto}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]{-moz-appearance:textfield}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter{margin-left:5px;display:inline-block}.react-datepicker__time-container{float:right;border-left:1px solid #aeaeae;width:85px}.react-datepicker__time-container--with-today-button{display:inline;border:1px solid #aeaeae;border-radius:.3rem;position:absolute;right:-72px;top:0}.react-datepicker__time-container .react-datepicker__time{position:relative;background:white;border-bottom-right-radius:.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box{width:85px;overflow-x:hidden;margin:0 auto;text-align:center;border-bottom-right-radius:.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list{list-style:none;margin:0;height:calc(195px + .85rem);overflow-y:scroll;padding-right:0;padding-left:0;width:100%;box-sizing:content-box}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item{height:30px;padding:5px 10px;white-space:nowrap}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover{cursor:pointer;background-color:#f0f0f0}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected{background-color:#216ba5;color:#fff;font-weight:700}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover{background-color:#216ba5}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled{color:#ccc}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover{cursor:default;background-color:transparent}.react-datepicker__week-number{color:#ccc;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}.react-datepicker__week-number.react-datepicker__week-number--clickable:hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__day-names,.react-datepicker__week{white-space:nowrap}.react-datepicker__day-names{margin-bottom:-8px}.react-datepicker__day-name,.react-datepicker__day,.react-datepicker__time-name{color:#000;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__month--selected,.react-datepicker__month--in-selecting-range,.react-datepicker__month--in-range,.react-datepicker__quarter--selected,.react-datepicker__quarter--in-selecting-range,.react-datepicker__quarter--in-range{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__month--selected:hover,.react-datepicker__month--in-selecting-range:hover,.react-datepicker__month--in-range:hover,.react-datepicker__quarter--selected:hover,.react-datepicker__quarter--in-selecting-range:hover,.react-datepicker__quarter--in-range:hover{background-color:#1d5d90}.react-datepicker__month--disabled,.react-datepicker__quarter--disabled{color:#ccc;pointer-events:none}.react-datepicker__month--disabled:hover,.react-datepicker__quarter--disabled:hover{cursor:default;background-color:transparent}.react-datepicker__day,.react-datepicker__month-text,.react-datepicker__quarter-text,.react-datepicker__year-text{cursor:pointer}.react-datepicker__day:hover,.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover,.react-datepicker__year-text:hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__day--today,.react-datepicker__month-text--today,.react-datepicker__quarter-text--today,.react-datepicker__year-text--today{font-weight:700}.react-datepicker__day--highlighted,.react-datepicker__month-text--highlighted,.react-datepicker__quarter-text--highlighted,.react-datepicker__year-text--highlighted{border-radius:.3rem;background-color:#3dcc4a;color:#fff}.react-datepicker__day--highlighted:hover,.react-datepicker__month-text--highlighted:hover,.react-datepicker__quarter-text--highlighted:hover,.react-datepicker__year-text--highlighted:hover{background-color:#32be3f}.react-datepicker__day--highlighted-custom-1,.react-datepicker__month-text--highlighted-custom-1,.react-datepicker__quarter-text--highlighted-custom-1,.react-datepicker__year-text--highlighted-custom-1{color:#f0f}.react-datepicker__day--highlighted-custom-2,.react-datepicker__month-text--highlighted-custom-2,.react-datepicker__quarter-text--highlighted-custom-2,.react-datepicker__year-text--highlighted-custom-2{color:green}.react-datepicker__day--selected,.react-datepicker__day--in-selecting-range,.react-datepicker__day--in-range,.react-datepicker__month-text--selected,.react-datepicker__month-text--in-selecting-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--selected,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--selected,.react-datepicker__year-text--in-selecting-range,.react-datepicker__year-text--in-range{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__day--selected:hover,.react-datepicker__day--in-selecting-range:hover,.react-datepicker__day--in-range:hover,.react-datepicker__month-text--selected:hover,.react-datepicker__month-text--in-selecting-range:hover,.react-datepicker__month-text--in-range:hover,.react-datepicker__quarter-text--selected:hover,.react-datepicker__quarter-text--in-selecting-range:hover,.react-datepicker__quarter-text--in-range:hover,.react-datepicker__year-text--selected:hover,.react-datepicker__year-text--in-selecting-range:hover,.react-datepicker__year-text--in-range:hover{background-color:#1d5d90}.react-datepicker__day--keyboard-selected,.react-datepicker__month-text--keyboard-selected,.react-datepicker__quarter-text--keyboard-selected,.react-datepicker__year-text--keyboard-selected{border-radius:.3rem;background-color:#2579ba;color:#fff}.react-datepicker__day--keyboard-selected:hover,.react-datepicker__month-text--keyboard-selected:hover,.react-datepicker__quarter-text--keyboard-selected:hover,.react-datepicker__year-text--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range){background-color:#216ba580}.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range){background-color:#f0f0f0;color:#000}.react-datepicker__day--disabled,.react-datepicker__month-text--disabled,.react-datepicker__quarter-text--disabled,.react-datepicker__year-text--disabled{cursor:default;color:#ccc}.react-datepicker__day--disabled:hover,.react-datepicker__month-text--disabled:hover,.react-datepicker__quarter-text--disabled:hover,.react-datepicker__year-text--disabled:hover{background-color:transparent}.react-datepicker__month-text.react-datepicker__month--selected:hover,.react-datepicker__month-text.react-datepicker__month--in-range:hover,.react-datepicker__month-text.react-datepicker__quarter--selected:hover,.react-datepicker__month-text.react-datepicker__quarter--in-range:hover,.react-datepicker__quarter-text.react-datepicker__month--selected:hover,.react-datepicker__quarter-text.react-datepicker__month--in-range:hover,.react-datepicker__quarter-text.react-datepicker__quarter--selected:hover,.react-datepicker__quarter-text.react-datepicker__quarter--in-range:hover{background-color:#216ba5}.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover{background-color:#f0f0f0}.react-datepicker__input-container{position:relative;display:inline-block;width:100%}.react-datepicker__year-read-view,.react-datepicker__month-read-view,.react-datepicker__month-year-read-view{border:1px solid transparent;border-radius:.3rem;position:relative}.react-datepicker__year-read-view:hover,.react-datepicker__month-read-view:hover,.react-datepicker__month-year-read-view:hover{cursor:pointer}.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow{border-top-color:#b3b3b3}.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow{transform:rotate(135deg);right:-16px;top:0}.react-datepicker__year-dropdown,.react-datepicker__month-dropdown,.react-datepicker__month-year-dropdown{background-color:#f0f0f0;position:absolute;width:50%;left:25%;top:30px;z-index:1;text-align:center;border-radius:.3rem;border:1px solid #aeaeae}.react-datepicker__year-dropdown:hover,.react-datepicker__month-dropdown:hover,.react-datepicker__month-year-dropdown:hover{cursor:pointer}.react-datepicker__year-dropdown--scrollable,.react-datepicker__month-dropdown--scrollable,.react-datepicker__month-year-dropdown--scrollable{height:150px;overflow-y:scroll}.react-datepicker__year-option,.react-datepicker__month-option,.react-datepicker__month-year-option{line-height:20px;width:100%;display:block;margin-left:auto;margin-right:auto}.react-datepicker__year-option:first-of-type,.react-datepicker__month-option:first-of-type,.react-datepicker__month-year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.react-datepicker__year-option:last-of-type,.react-datepicker__month-option:last-of-type,.react-datepicker__month-year-option:last-of-type{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__year-option:hover,.react-datepicker__month-option:hover,.react-datepicker__month-year-option:hover{background-color:#ccc}.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}.react-datepicker__year-option--selected,.react-datepicker__month-option--selected,.react-datepicker__month-year-option--selected{position:absolute;left:15px}.react-datepicker__close-icon{cursor:pointer;background-color:transparent;border:0;outline:0;padding:0 6px 0 0;position:absolute;top:0;right:0;height:100%;display:table-cell;vertical-align:middle}.react-datepicker__close-icon:after{cursor:pointer;background-color:#216ba5;color:#fff;border-radius:50%;height:16px;width:16px;padding:2px;font-size:12px;line-height:1;text-align:center;display:table-cell;vertical-align:middle;content:"\d7"}.react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;cursor:pointer;text-align:center;font-weight:700;padding:5px 0;clear:left}.react-datepicker__portal{position:fixed;width:100vw;height:100vh;background-color:#000c;left:0;top:0;justify-content:center;align-items:center;display:flex;z-index:2147483647}.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__time-name{width:3rem;line-height:3rem}@media (max-width: 400px),(max-height: 550px){.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__time-name{width:2rem;line-height:2rem}}.react-datepicker__portal .react-datepicker__current-month,.react-datepicker__portal .react-datepicker-time__header{font-size:1.44rem}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:rgba(255,255,255,.5)}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:rgba(255,255,255,.8);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;overflow:hidden;-moz-box-sizing:border-box;box-sizing:border-box;background:#fff;background:rgba(255,255,255,.5)}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:white;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}/*! + * Bootstrap v5.2.2 (https://getbootstrap.com/) + * Copyright 2011-2022 The Bootstrap Authors + * Copyright 2011-2022 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) + */:root{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #4696e5;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 70, 150, 229;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg-rgb: 255, 255, 255;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-bg: #fff;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, .175);--bs-border-radius: .375rem;--bs-border-radius-sm: .25rem;--bs-border-radius-lg: .5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-2xl: 2rem;--bs-border-radius-pill: 50rem;--bs-link-color: #4696e5;--bs-link-hover-color: #3878b7;--bs-code-color: #d63384;--bs-highlight-bg: #fff3cd}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}hr{margin:1rem 0;color:inherit;border:0;border-top:1px solid;opacity:.25}h6,.h6,h5,.h5,h4,.h4,h3,.h3,h2,.h2,h1,.h1{margin-top:0;margin-bottom:.5rem;font-weight:500;line-height:1.2}h1,.h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width: 1200px){h1,.h1{font-size:2.5rem}}h2,.h2{font-size:calc(1.325rem + .9vw)}@media (min-width: 1200px){h2,.h2{font-size:2rem}}h3,.h3{font-size:calc(1.3rem + .6vw)}@media (min-width: 1200px){h3,.h3{font-size:1.75rem}}h4,.h4{font-size:calc(1.275rem + .3vw)}@media (min-width: 1200px){h4,.h4{font-size:1.5rem}}h5,.h5{font-size:1.25rem}h6,.h6{font-size:1rem}p{margin-top:0;margin-bottom:1rem}abbr[title]{text-decoration:underline dotted;cursor:help;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}ol,ul{padding-left:2rem}ol,ul,dl{margin-top:0;margin-bottom:1rem}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small,.small{font-size:.875em}mark,.mark{padding:.1875em;background-color:var(--bs-highlight-bg)}sub,sup{position:relative;font-size:.75em;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:var(--bs-link-color);text-decoration:underline}a:hover{color:var(--bs-link-hover-color)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}pre,code,kbd,samp{font-family:var(--bs-font-monospace);font-size:1em}pre{display:block;margin-top:0;margin-bottom:1rem;overflow:auto;font-size:.875em}pre code{font-size:inherit;color:inherit;word-break:normal}code{font-size:.875em;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}kbd{padding:.1875rem .375rem;font-size:.875em;color:var(--bs-body-bg);background-color:var(--bs-body-color);border-radius:.25rem}kbd kbd{padding:0;font-size:1em}figure{margin:0 0 1rem}img,svg{vertical-align:middle}table{caption-side:bottom;border-collapse:collapse}caption{padding-top:.5rem;padding-bottom:.5rem;color:#6c757d;text-align:left}th{text-align:inherit;text-align:-webkit-match-parent}thead,tbody,tfoot,tr,td,th{border-color:inherit;border-style:solid;border-width:0}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}select:disabled{opacity:1}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{float:left;width:100%;padding:0;margin-bottom:.5rem;font-size:calc(1.275rem + .3vw);line-height:inherit}@media (min-width: 1200px){legend{font-size:1.5rem}}legend+*{clear:left}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit;-webkit-appearance:button}output{display:inline-block}iframe{border:0}summary{display:list-item;cursor:pointer}progress{vertical-align:baseline}[hidden]{display:none!important}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:calc(1.625rem + 4.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-1{font-size:5rem}}.display-2{font-size:calc(1.575rem + 3.9vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-2{font-size:4.5rem}}.display-3{font-size:calc(1.525rem + 3.3vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-3{font-size:4rem}}.display-4{font-size:calc(1.475rem + 2.7vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-4{font-size:3.5rem}}.display-5{font-size:calc(1.425rem + 2.1vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-5{font-size:3rem}}.display-6{font-size:calc(1.375rem + 1.5vw);font-weight:300;line-height:1.2}@media (min-width: 1200px){.display-6{font-size:2.5rem}}.list-unstyled,.list-inline{padding-left:0;list-style:none}.list-inline-item{display:inline-block}.list-inline-item:not(:last-child){margin-right:.5rem}.initialism{font-size:.875em;text-transform:uppercase}.blockquote{margin-bottom:1rem;font-size:1.25rem}.blockquote>:last-child{margin-bottom:0}.blockquote-footer{margin-top:-1rem;margin-bottom:1rem;font-size:.875em;color:#6c757d}.blockquote-footer:before{content:"\2014\a0"}.img-fluid{max-width:100%;height:auto}.img-thumbnail{padding:.25rem;background-color:#fff;border:1px solid var(--bs-border-color);border-radius:.375rem;max-width:100%;height:auto}.figure{display:inline-block}.figure-img{margin-bottom:.5rem;line-height:1}.figure-caption{font-size:.875em;color:#6c757d}.container,.container-fluid,.container-xxl,.container-xl,.container-lg,.container-md,.container-sm{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-right:auto;margin-left:auto}@media (min-width: 576px){.container-sm,.container{max-width:540px}}@media (min-width: 768px){.container-md,.container-sm,.container{max-width:720px}}@media (min-width: 992px){.container-lg,.container-md,.container-sm,.container{max-width:960px}}@media (min-width: 1200px){.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1140px}}@media (min-width: 1400px){.container-xxl,.container-xl,.container-lg,.container-md,.container-sm,.container{max-width:1320px}}.row{--bs-gutter-x: 1.5rem;--bs-gutter-y: 0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--bs-gutter-y));margin-right:calc(-.5 * var(--bs-gutter-x));margin-left:calc(-.5 * var(--bs-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--bs-gutter-x) * .5);padding-left:calc(var(--bs-gutter-x) * .5);margin-top:var(--bs-gutter-y)}.col{flex:1 0 0%}.row-cols-auto>*{flex:0 0 auto;width:auto}.row-cols-1>*{flex:0 0 auto;width:100%}.row-cols-2>*{flex:0 0 auto;width:50%}.row-cols-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-4>*{flex:0 0 auto;width:25%}.row-cols-5>*{flex:0 0 auto;width:20%}.row-cols-6>*{flex:0 0 auto;width:16.6666666667%}.col-auto{flex:0 0 auto;width:auto}.col-1{flex:0 0 auto;width:8.33333333%}.col-2{flex:0 0 auto;width:16.66666667%}.col-3{flex:0 0 auto;width:25%}.col-4{flex:0 0 auto;width:33.33333333%}.col-5{flex:0 0 auto;width:41.66666667%}.col-6{flex:0 0 auto;width:50%}.col-7{flex:0 0 auto;width:58.33333333%}.col-8{flex:0 0 auto;width:66.66666667%}.col-9{flex:0 0 auto;width:75%}.col-10{flex:0 0 auto;width:83.33333333%}.col-11{flex:0 0 auto;width:91.66666667%}.col-12{flex:0 0 auto;width:100%}.offset-1{margin-left:8.33333333%}.offset-2{margin-left:16.66666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.33333333%}.offset-5{margin-left:41.66666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.33333333%}.offset-8{margin-left:66.66666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.33333333%}.offset-11{margin-left:91.66666667%}.g-0,.gx-0{--bs-gutter-x: 0}.g-0,.gy-0{--bs-gutter-y: 0}.g-1,.gx-1{--bs-gutter-x: .25rem}.g-1,.gy-1{--bs-gutter-y: .25rem}.g-2,.gx-2{--bs-gutter-x: .5rem}.g-2,.gy-2{--bs-gutter-y: .5rem}.g-3,.gx-3{--bs-gutter-x: 1rem}.g-3,.gy-3{--bs-gutter-y: 1rem}.g-4,.gx-4{--bs-gutter-x: 1.5rem}.g-4,.gy-4{--bs-gutter-y: 1.5rem}.g-5,.gx-5{--bs-gutter-x: 3rem}.g-5,.gy-5{--bs-gutter-y: 3rem}@media (min-width: 576px){.col-sm{flex:1 0 0%}.row-cols-sm-auto>*{flex:0 0 auto;width:auto}.row-cols-sm-1>*{flex:0 0 auto;width:100%}.row-cols-sm-2>*{flex:0 0 auto;width:50%}.row-cols-sm-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-sm-4>*{flex:0 0 auto;width:25%}.row-cols-sm-5>*{flex:0 0 auto;width:20%}.row-cols-sm-6>*{flex:0 0 auto;width:16.6666666667%}.col-sm-auto{flex:0 0 auto;width:auto}.col-sm-1{flex:0 0 auto;width:8.33333333%}.col-sm-2{flex:0 0 auto;width:16.66666667%}.col-sm-3{flex:0 0 auto;width:25%}.col-sm-4{flex:0 0 auto;width:33.33333333%}.col-sm-5{flex:0 0 auto;width:41.66666667%}.col-sm-6{flex:0 0 auto;width:50%}.col-sm-7{flex:0 0 auto;width:58.33333333%}.col-sm-8{flex:0 0 auto;width:66.66666667%}.col-sm-9{flex:0 0 auto;width:75%}.col-sm-10{flex:0 0 auto;width:83.33333333%}.col-sm-11{flex:0 0 auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gutter-x: 0}.g-sm-0,.gy-sm-0{--bs-gutter-y: 0}.g-sm-1,.gx-sm-1{--bs-gutter-x: .25rem}.g-sm-1,.gy-sm-1{--bs-gutter-y: .25rem}.g-sm-2,.gx-sm-2{--bs-gutter-x: .5rem}.g-sm-2,.gy-sm-2{--bs-gutter-y: .5rem}.g-sm-3,.gx-sm-3{--bs-gutter-x: 1rem}.g-sm-3,.gy-sm-3{--bs-gutter-y: 1rem}.g-sm-4,.gx-sm-4{--bs-gutter-x: 1.5rem}.g-sm-4,.gy-sm-4{--bs-gutter-y: 1.5rem}.g-sm-5,.gx-sm-5{--bs-gutter-x: 3rem}.g-sm-5,.gy-sm-5{--bs-gutter-y: 3rem}}@media (min-width: 768px){.col-md{flex:1 0 0%}.row-cols-md-auto>*{flex:0 0 auto;width:auto}.row-cols-md-1>*{flex:0 0 auto;width:100%}.row-cols-md-2>*{flex:0 0 auto;width:50%}.row-cols-md-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-md-4>*{flex:0 0 auto;width:25%}.row-cols-md-5>*{flex:0 0 auto;width:20%}.row-cols-md-6>*{flex:0 0 auto;width:16.6666666667%}.col-md-auto{flex:0 0 auto;width:auto}.col-md-1{flex:0 0 auto;width:8.33333333%}.col-md-2{flex:0 0 auto;width:16.66666667%}.col-md-3{flex:0 0 auto;width:25%}.col-md-4{flex:0 0 auto;width:33.33333333%}.col-md-5{flex:0 0 auto;width:41.66666667%}.col-md-6{flex:0 0 auto;width:50%}.col-md-7{flex:0 0 auto;width:58.33333333%}.col-md-8{flex:0 0 auto;width:66.66666667%}.col-md-9{flex:0 0 auto;width:75%}.col-md-10{flex:0 0 auto;width:83.33333333%}.col-md-11{flex:0 0 auto;width:91.66666667%}.col-md-12{flex:0 0 auto;width:100%}.offset-md-0{margin-left:0}.offset-md-1{margin-left:8.33333333%}.offset-md-2{margin-left:16.66666667%}.offset-md-3{margin-left:25%}.offset-md-4{margin-left:33.33333333%}.offset-md-5{margin-left:41.66666667%}.offset-md-6{margin-left:50%}.offset-md-7{margin-left:58.33333333%}.offset-md-8{margin-left:66.66666667%}.offset-md-9{margin-left:75%}.offset-md-10{margin-left:83.33333333%}.offset-md-11{margin-left:91.66666667%}.g-md-0,.gx-md-0{--bs-gutter-x: 0}.g-md-0,.gy-md-0{--bs-gutter-y: 0}.g-md-1,.gx-md-1{--bs-gutter-x: .25rem}.g-md-1,.gy-md-1{--bs-gutter-y: .25rem}.g-md-2,.gx-md-2{--bs-gutter-x: .5rem}.g-md-2,.gy-md-2{--bs-gutter-y: .5rem}.g-md-3,.gx-md-3{--bs-gutter-x: 1rem}.g-md-3,.gy-md-3{--bs-gutter-y: 1rem}.g-md-4,.gx-md-4{--bs-gutter-x: 1.5rem}.g-md-4,.gy-md-4{--bs-gutter-y: 1.5rem}.g-md-5,.gx-md-5{--bs-gutter-x: 3rem}.g-md-5,.gy-md-5{--bs-gutter-y: 3rem}}@media (min-width: 992px){.col-lg{flex:1 0 0%}.row-cols-lg-auto>*{flex:0 0 auto;width:auto}.row-cols-lg-1>*{flex:0 0 auto;width:100%}.row-cols-lg-2>*{flex:0 0 auto;width:50%}.row-cols-lg-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-lg-4>*{flex:0 0 auto;width:25%}.row-cols-lg-5>*{flex:0 0 auto;width:20%}.row-cols-lg-6>*{flex:0 0 auto;width:16.6666666667%}.col-lg-auto{flex:0 0 auto;width:auto}.col-lg-1{flex:0 0 auto;width:8.33333333%}.col-lg-2{flex:0 0 auto;width:16.66666667%}.col-lg-3{flex:0 0 auto;width:25%}.col-lg-4{flex:0 0 auto;width:33.33333333%}.col-lg-5{flex:0 0 auto;width:41.66666667%}.col-lg-6{flex:0 0 auto;width:50%}.col-lg-7{flex:0 0 auto;width:58.33333333%}.col-lg-8{flex:0 0 auto;width:66.66666667%}.col-lg-9{flex:0 0 auto;width:75%}.col-lg-10{flex:0 0 auto;width:83.33333333%}.col-lg-11{flex:0 0 auto;width:91.66666667%}.col-lg-12{flex:0 0 auto;width:100%}.offset-lg-0{margin-left:0}.offset-lg-1{margin-left:8.33333333%}.offset-lg-2{margin-left:16.66666667%}.offset-lg-3{margin-left:25%}.offset-lg-4{margin-left:33.33333333%}.offset-lg-5{margin-left:41.66666667%}.offset-lg-6{margin-left:50%}.offset-lg-7{margin-left:58.33333333%}.offset-lg-8{margin-left:66.66666667%}.offset-lg-9{margin-left:75%}.offset-lg-10{margin-left:83.33333333%}.offset-lg-11{margin-left:91.66666667%}.g-lg-0,.gx-lg-0{--bs-gutter-x: 0}.g-lg-0,.gy-lg-0{--bs-gutter-y: 0}.g-lg-1,.gx-lg-1{--bs-gutter-x: .25rem}.g-lg-1,.gy-lg-1{--bs-gutter-y: .25rem}.g-lg-2,.gx-lg-2{--bs-gutter-x: .5rem}.g-lg-2,.gy-lg-2{--bs-gutter-y: .5rem}.g-lg-3,.gx-lg-3{--bs-gutter-x: 1rem}.g-lg-3,.gy-lg-3{--bs-gutter-y: 1rem}.g-lg-4,.gx-lg-4{--bs-gutter-x: 1.5rem}.g-lg-4,.gy-lg-4{--bs-gutter-y: 1.5rem}.g-lg-5,.gx-lg-5{--bs-gutter-x: 3rem}.g-lg-5,.gy-lg-5{--bs-gutter-y: 3rem}}@media (min-width: 1200px){.col-xl{flex:1 0 0%}.row-cols-xl-auto>*{flex:0 0 auto;width:auto}.row-cols-xl-1>*{flex:0 0 auto;width:100%}.row-cols-xl-2>*{flex:0 0 auto;width:50%}.row-cols-xl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xl-4>*{flex:0 0 auto;width:25%}.row-cols-xl-5>*{flex:0 0 auto;width:20%}.row-cols-xl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xl-auto{flex:0 0 auto;width:auto}.col-xl-1{flex:0 0 auto;width:8.33333333%}.col-xl-2{flex:0 0 auto;width:16.66666667%}.col-xl-3{flex:0 0 auto;width:25%}.col-xl-4{flex:0 0 auto;width:33.33333333%}.col-xl-5{flex:0 0 auto;width:41.66666667%}.col-xl-6{flex:0 0 auto;width:50%}.col-xl-7{flex:0 0 auto;width:58.33333333%}.col-xl-8{flex:0 0 auto;width:66.66666667%}.col-xl-9{flex:0 0 auto;width:75%}.col-xl-10{flex:0 0 auto;width:83.33333333%}.col-xl-11{flex:0 0 auto;width:91.66666667%}.col-xl-12{flex:0 0 auto;width:100%}.offset-xl-0{margin-left:0}.offset-xl-1{margin-left:8.33333333%}.offset-xl-2{margin-left:16.66666667%}.offset-xl-3{margin-left:25%}.offset-xl-4{margin-left:33.33333333%}.offset-xl-5{margin-left:41.66666667%}.offset-xl-6{margin-left:50%}.offset-xl-7{margin-left:58.33333333%}.offset-xl-8{margin-left:66.66666667%}.offset-xl-9{margin-left:75%}.offset-xl-10{margin-left:83.33333333%}.offset-xl-11{margin-left:91.66666667%}.g-xl-0,.gx-xl-0{--bs-gutter-x: 0}.g-xl-0,.gy-xl-0{--bs-gutter-y: 0}.g-xl-1,.gx-xl-1{--bs-gutter-x: .25rem}.g-xl-1,.gy-xl-1{--bs-gutter-y: .25rem}.g-xl-2,.gx-xl-2{--bs-gutter-x: .5rem}.g-xl-2,.gy-xl-2{--bs-gutter-y: .5rem}.g-xl-3,.gx-xl-3{--bs-gutter-x: 1rem}.g-xl-3,.gy-xl-3{--bs-gutter-y: 1rem}.g-xl-4,.gx-xl-4{--bs-gutter-x: 1.5rem}.g-xl-4,.gy-xl-4{--bs-gutter-y: 1.5rem}.g-xl-5,.gx-xl-5{--bs-gutter-x: 3rem}.g-xl-5,.gy-xl-5{--bs-gutter-y: 3rem}}@media (min-width: 1400px){.col-xxl{flex:1 0 0%}.row-cols-xxl-auto>*{flex:0 0 auto;width:auto}.row-cols-xxl-1>*{flex:0 0 auto;width:100%}.row-cols-xxl-2>*{flex:0 0 auto;width:50%}.row-cols-xxl-3>*{flex:0 0 auto;width:33.3333333333%}.row-cols-xxl-4>*{flex:0 0 auto;width:25%}.row-cols-xxl-5>*{flex:0 0 auto;width:20%}.row-cols-xxl-6>*{flex:0 0 auto;width:16.6666666667%}.col-xxl-auto{flex:0 0 auto;width:auto}.col-xxl-1{flex:0 0 auto;width:8.33333333%}.col-xxl-2{flex:0 0 auto;width:16.66666667%}.col-xxl-3{flex:0 0 auto;width:25%}.col-xxl-4{flex:0 0 auto;width:33.33333333%}.col-xxl-5{flex:0 0 auto;width:41.66666667%}.col-xxl-6{flex:0 0 auto;width:50%}.col-xxl-7{flex:0 0 auto;width:58.33333333%}.col-xxl-8{flex:0 0 auto;width:66.66666667%}.col-xxl-9{flex:0 0 auto;width:75%}.col-xxl-10{flex:0 0 auto;width:83.33333333%}.col-xxl-11{flex:0 0 auto;width:91.66666667%}.col-xxl-12{flex:0 0 auto;width:100%}.offset-xxl-0{margin-left:0}.offset-xxl-1{margin-left:8.33333333%}.offset-xxl-2{margin-left:16.66666667%}.offset-xxl-3{margin-left:25%}.offset-xxl-4{margin-left:33.33333333%}.offset-xxl-5{margin-left:41.66666667%}.offset-xxl-6{margin-left:50%}.offset-xxl-7{margin-left:58.33333333%}.offset-xxl-8{margin-left:66.66666667%}.offset-xxl-9{margin-left:75%}.offset-xxl-10{margin-left:83.33333333%}.offset-xxl-11{margin-left:91.66666667%}.g-xxl-0,.gx-xxl-0{--bs-gutter-x: 0}.g-xxl-0,.gy-xxl-0{--bs-gutter-y: 0}.g-xxl-1,.gx-xxl-1{--bs-gutter-x: .25rem}.g-xxl-1,.gy-xxl-1{--bs-gutter-y: .25rem}.g-xxl-2,.gx-xxl-2{--bs-gutter-x: .5rem}.g-xxl-2,.gy-xxl-2{--bs-gutter-y: .5rem}.g-xxl-3,.gx-xxl-3{--bs-gutter-x: 1rem}.g-xxl-3,.gy-xxl-3{--bs-gutter-y: 1rem}.g-xxl-4,.gx-xxl-4{--bs-gutter-x: 1.5rem}.g-xxl-4,.gy-xxl-4{--bs-gutter-y: 1.5rem}.g-xxl-5,.gx-xxl-5{--bs-gutter-x: 3rem}.g-xxl-5,.gy-xxl-5{--bs-gutter-y: 3rem}}.table{--bs-table-color: var(--bs-body-color);--bs-table-bg: transparent;--bs-table-border-color: var(--bs-border-color);--bs-table-accent-bg: transparent;--bs-table-striped-color: var(--bs-body-color);--bs-table-striped-bg: rgba(0, 0, 0, .05);--bs-table-active-color: var(--bs-body-color);--bs-table-active-bg: rgba(0, 0, 0, .1);--bs-table-hover-color: var(--bs-body-color);--bs-table-hover-bg: rgba(0, 0, 0, .075);width:100%;margin-bottom:1rem;color:var(--bs-table-color);vertical-align:top;border-color:var(--bs-table-border-color)}.table>:not(caption)>*>*{padding:.5rem;background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table-group-divider{border-top:2px solid currentcolor}.caption-top{caption-side:top}.table-sm>:not(caption)>*>*{padding:.25rem}.table-bordered>:not(caption)>*{border-width:1px 0}.table-bordered>:not(caption)>*>*{border-width:0 1px}.table-borderless>:not(caption)>*>*{border-bottom-width:0}.table-borderless>:not(:first-child){border-top-width:0}.table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg: var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-striped-columns>:not(caption)>tr>:nth-child(even){--bs-table-accent-bg: var(--bs-table-striped-bg);color:var(--bs-table-striped-color)}.table-active{--bs-table-accent-bg: var(--bs-table-active-bg);color:var(--bs-table-active-color)}.table-hover>tbody>tr:hover>*{--bs-table-accent-bg: var(--bs-table-hover-bg);color:var(--bs-table-hover-color)}.table-primary{--bs-table-color: #000;--bs-table-bg: #daeafa;--bs-table-border-color: #c4d3e1;--bs-table-striped-bg: #cfdeee;--bs-table-striped-color: #000;--bs-table-active-bg: #c4d3e1;--bs-table-active-color: #000;--bs-table-hover-bg: #cad8e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-secondary{--bs-table-color: #000;--bs-table-bg: #e2e3e5;--bs-table-border-color: #cbccce;--bs-table-striped-bg: #d7d8da;--bs-table-striped-color: #000;--bs-table-active-bg: #cbccce;--bs-table-active-color: #000;--bs-table-hover-bg: #d1d2d4;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-success{--bs-table-color: #000;--bs-table-bg: #d1e7dd;--bs-table-border-color: #bcd0c7;--bs-table-striped-bg: #c7dbd2;--bs-table-striped-color: #000;--bs-table-active-bg: #bcd0c7;--bs-table-active-color: #000;--bs-table-hover-bg: #c1d6cc;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-info{--bs-table-color: #000;--bs-table-bg: #cff4fc;--bs-table-border-color: #badce3;--bs-table-striped-bg: #c5e8ef;--bs-table-striped-color: #000;--bs-table-active-bg: #badce3;--bs-table-active-color: #000;--bs-table-hover-bg: #bfe2e9;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-warning{--bs-table-color: #000;--bs-table-bg: #fff3cd;--bs-table-border-color: #e6dbb9;--bs-table-striped-bg: #f2e7c3;--bs-table-striped-color: #000;--bs-table-active-bg: #e6dbb9;--bs-table-active-color: #000;--bs-table-hover-bg: #ece1be;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-danger{--bs-table-color: #000;--bs-table-bg: #f8d7da;--bs-table-border-color: #dfc2c4;--bs-table-striped-bg: #eccccf;--bs-table-striped-color: #000;--bs-table-active-bg: #dfc2c4;--bs-table-active-color: #000;--bs-table-hover-bg: #e5c7ca;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-light{--bs-table-color: #000;--bs-table-bg: #f8f9fa;--bs-table-border-color: #dfe0e1;--bs-table-striped-bg: #ecedee;--bs-table-striped-color: #000;--bs-table-active-bg: #dfe0e1;--bs-table-active-color: #000;--bs-table-hover-bg: #e5e6e7;--bs-table-hover-color: #000;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-dark{--bs-table-color: #fff;--bs-table-bg: #212529;--bs-table-border-color: #373b3e;--bs-table-striped-bg: #2c3034;--bs-table-striped-color: #fff;--bs-table-active-bg: #373b3e;--bs-table-active-color: #fff;--bs-table-hover-bg: #323539;--bs-table-hover-color: #fff;color:var(--bs-table-color);border-color:var(--bs-table-border-color)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}@media (max-width: 575.98px){.table-responsive-sm{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 767.98px){.table-responsive-md{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 991.98px){.table-responsive-lg{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1199.98px){.table-responsive-xl{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1399.98px){.table-responsive-xxl{overflow-x:auto;-webkit-overflow-scrolling:touch}}.form-label{margin-bottom:.5rem}.col-form-label{padding-top:calc(.375rem + 1px);padding-bottom:calc(.375rem + 1px);margin-bottom:0;font-size:inherit;line-height:1.5}.col-form-label-lg{padding-top:calc(.5rem + 1px);padding-bottom:calc(.5rem + 1px);font-size:1.25rem}.col-form-label-sm{padding-top:calc(.25rem + 1px);padding-bottom:calc(.25rem + 1px);font-size:.875rem}.form-text{margin-top:.25rem;font-size:.875em;color:#6c757d}.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;appearance:none;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control{transition:none}}.form-control[type=file]{overflow:hidden}.form-control[type=file]:not(:disabled):not([readonly]){cursor:pointer}.form-control:focus{color:#212529;background-color:#fff;border-color:#a3cbf2;outline:0;box-shadow:0 0 0 .25rem #4696e540}.form-control::-webkit-date-and-time-value{height:1.5em}.form-control::placeholder{color:#6c757d;opacity:1}.form-control:disabled{background-color:#e9ecef;opacity:1}.form-control::file-selector-button{padding:.375rem .75rem;margin:-.375rem -.75rem;margin-inline-end:.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-control::file-selector-button{transition:none}}.form-control:hover:not(:disabled):not([readonly])::file-selector-button{background-color:#dde0e3}.form-control-plaintext{display:block;width:100%;padding:.375rem 0;margin-bottom:0;line-height:1.5;color:#212529;background-color:transparent;border:solid transparent;border-width:1px 0}.form-control-plaintext:focus{outline:0}.form-control-plaintext.form-control-sm,.form-control-plaintext.form-control-lg{padding-right:0;padding-left:0}.form-control-sm{min-height:calc(1.5em + .5rem + 2px);padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.form-control-sm::file-selector-button{padding:.25rem .5rem;margin:-.25rem -.5rem;margin-inline-end:.5rem}.form-control-lg{min-height:calc(1.5em + 1rem + 2px);padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.form-control-lg::file-selector-button{padding:.5rem 1rem;margin:-.5rem -1rem;margin-inline-end:1rem}textarea.form-control{min-height:calc(1.5em + .75rem + 2px)}textarea.form-control-sm{min-height:calc(1.5em + .5rem + 2px)}textarea.form-control-lg{min-height:calc(1.5em + 1rem + 2px)}.form-control-color{width:3rem;height:calc(1.5em + .75rem + 2px);padding:.375rem}.form-control-color:not(:disabled):not([readonly]){cursor:pointer}.form-control-color::-moz-color-swatch{border:0!important;border-radius:.375rem}.form-control-color::-webkit-color-swatch{border-radius:.375rem}.form-control-color.form-control-sm{height:calc(1.5em + .5rem + 2px)}.form-control-color.form-control-lg{height:calc(1.5em + 1rem + 2px)}.form-select{display:block;width:100%;padding:.375rem 2.25rem .375rem .75rem;-moz-padding-start:calc(.75rem - 3px);font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px;border:1px solid #ced4da;border-radius:.375rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion: reduce){.form-select{transition:none}}.form-select:focus{border-color:#a3cbf2;outline:0;box-shadow:0 0 0 .25rem #4696e540}.form-select[multiple],.form-select[size]:not([size="1"]){padding-right:.75rem;background-image:none}.form-select:disabled{background-color:#e9ecef}.form-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #212529}.form-select-sm{padding-top:.25rem;padding-bottom:.25rem;padding-left:.5rem;font-size:.875rem;border-radius:.25rem}.form-select-lg{padding-top:.5rem;padding-bottom:.5rem;padding-left:1rem;font-size:1.25rem;border-radius:.5rem}.form-check{display:block;min-height:1.5rem;padding-left:1.5em;margin-bottom:.125rem}.form-check .form-check-input{float:left;margin-left:-1.5em}.form-check-reverse{padding-right:1.5em;padding-left:0;text-align:right}.form-check-reverse .form-check-input{float:right;margin-right:-1.5em;margin-left:0}.form-check-input{width:1em;height:1em;margin-top:.25em;vertical-align:top;background-color:#fff;background-repeat:no-repeat;background-position:center;background-size:contain;border:1px solid rgba(0,0,0,.25);appearance:none;print-color-adjust:exact}.form-check-input[type=checkbox]{border-radius:.25em}.form-check-input[type=radio]{border-radius:50%}.form-check-input:active{filter:brightness(90%)}.form-check-input:focus{border-color:#a3cbf2;outline:0;box-shadow:0 0 0 .25rem #4696e540}.form-check-input:checked{background-color:#4696e5;border-color:#4696e5}.form-check-input:checked[type=checkbox]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e")}.form-check-input:checked[type=radio]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#4696e5;border-color:#4696e5;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e")}.form-check-input:disabled{pointer-events:none;filter:none;opacity:.5}.form-check-input[disabled]~.form-check-label,.form-check-input:disabled~.form-check-label{cursor:default;opacity:.5}.form-switch{padding-left:2.5em}.form-switch .form-check-input{width:2em;margin-left:-2.5em;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");background-position:left center;border-radius:2em;transition:background-position .15s ease-in-out}@media (prefers-reduced-motion: reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23a3cbf2'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background-position:right center;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e")}.form-switch.form-check-reverse{padding-right:2.5em;padding-left:0}.form-switch.form-check-reverse .form-check-input{margin-right:-2.5em;margin-left:0}.form-check-inline{display:inline-block;margin-right:1rem}.btn-check{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.btn-check[disabled]+.btn,.btn-check:disabled+.btn{pointer-events:none;filter:none;opacity:.65}.form-range{width:100%;height:1.5rem;padding:0;background-color:transparent;appearance:none}.form-range:focus{outline:0}.form-range:focus::-webkit-slider-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #4696e540}.form-range:focus::-moz-range-thumb{box-shadow:0 0 0 1px #fff,0 0 0 .25rem #4696e540}.form-range::-moz-focus-outer{border:0}.form-range::-webkit-slider-thumb{width:1rem;height:1rem;margin-top:-.25rem;background-color:#4696e5;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion: reduce){.form-range::-webkit-slider-thumb{transition:none}}.form-range::-webkit-slider-thumb:active{background-color:#c8e0f7}.form-range::-webkit-slider-runnable-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range::-moz-range-thumb{width:1rem;height:1rem;background-color:#4696e5;border:0;border-radius:1rem;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}@media (prefers-reduced-motion: reduce){.form-range::-moz-range-thumb{transition:none}}.form-range::-moz-range-thumb:active{background-color:#c8e0f7}.form-range::-moz-range-track{width:100%;height:.5rem;color:transparent;cursor:pointer;background-color:#dee2e6;border-color:transparent;border-radius:1rem}.form-range:disabled{pointer-events:none}.form-range:disabled::-webkit-slider-thumb{background-color:#adb5bd}.form-range:disabled::-moz-range-thumb{background-color:#adb5bd}.form-floating{position:relative}.form-floating>.form-control,.form-floating>.form-control-plaintext,.form-floating>.form-select{height:calc(3.5rem + 2px);line-height:1.25}.form-floating>label{position:absolute;top:0;left:0;width:100%;height:100%;padding:1rem .75rem;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;border:1px solid transparent;transform-origin:0 0;transition:opacity .1s ease-in-out,transform .1s ease-in-out}@media (prefers-reduced-motion: reduce){.form-floating>label{transition:none}}.form-floating>.form-control,.form-floating>.form-control-plaintext{padding:1rem .75rem}.form-floating>.form-control::placeholder,.form-floating>.form-control-plaintext::placeholder{color:transparent}.form-floating>.form-control:focus,.form-floating>.form-control:not(:placeholder-shown),.form-floating>.form-control-plaintext:focus,.form-floating>.form-control-plaintext:not(:placeholder-shown){padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:-webkit-autofill,.form-floating>.form-control-plaintext:-webkit-autofill{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-select{padding-top:1.625rem;padding-bottom:.625rem}.form-floating>.form-control:focus~label,.form-floating>.form-control:not(:placeholder-shown)~label,.form-floating>.form-control-plaintext~label,.form-floating>.form-select~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control:-webkit-autofill~label{opacity:.65;transform:scale(.85) translateY(-.5rem) translate(.15rem)}.form-floating>.form-control-plaintext~label{border-width:1px 0}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%}.input-group>.form-control,.input-group>.form-select,.input-group>.form-floating{position:relative;flex:1 1 auto;width:1%;min-width:0}.input-group>.form-control:focus,.input-group>.form-select:focus,.input-group>.form-floating:focus-within{z-index:5}.input-group .btn{position:relative;z-index:2}.input-group .btn:focus{z-index:5}.input-group-text{display:flex;align-items:center;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.375rem}.input-group-lg>.form-control,.input-group-lg>.form-select,.input-group-lg>.input-group-text,.input-group-lg>.btn{padding:.5rem 1rem;font-size:1.25rem;border-radius:.5rem}.input-group-sm>.form-control,.input-group-sm>.form-select,.input-group-sm>.input-group-text,.input-group-sm>.btn{padding:.25rem .5rem;font-size:.875rem;border-radius:.25rem}.input-group-lg>.form-select,.input-group-sm>.form-select{padding-right:3rem}.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group.has-validation>:nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),.input-group.has-validation>.dropdown-toggle:nth-last-child(n+4),.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-control,.input-group.has-validation>.form-floating:nth-last-child(n+3)>.form-select{border-top-right-radius:0;border-bottom-right-radius:0}.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.form-floating:not(:first-child)>.form-control,.input-group>.form-floating:not(:first-child)>.form-select{border-top-left-radius:0;border-bottom-left-radius:0}.valid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#198754}.valid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#198754e6;border-radius:.375rem}.was-validated :valid~.valid-feedback,.was-validated :valid~.valid-tooltip,.is-valid~.valid-feedback,.is-valid~.valid-tooltip{display:block}.was-validated .form-control:valid,.form-control.is-valid{border-color:#198754;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:valid:focus,.form-control.is-valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem #19875440}.was-validated textarea.form-control:valid,textarea.form-control.is-valid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:valid,.form-select.is-valid{border-color:#198754}.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"],.form-select.is-valid:not([multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:valid:focus,.form-select.is-valid:focus{border-color:#198754;box-shadow:0 0 0 .25rem #19875440}.was-validated .form-control-color:valid,.form-control-color.is-valid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:valid,.form-check-input.is-valid{border-color:#198754}.was-validated .form-check-input:valid:checked,.form-check-input.is-valid:checked{background-color:#198754}.was-validated .form-check-input:valid:focus,.form-check-input.is-valid:focus{box-shadow:0 0 0 .25rem #19875440}.was-validated .form-check-input:valid~.form-check-label,.form-check-input.is-valid~.form-check-label{color:#198754}.form-check-inline .form-check-input~.valid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):valid,.input-group>.form-control:not(:focus).is-valid,.was-validated .input-group>.form-select:not(:focus):valid,.input-group>.form-select:not(:focus).is-valid,.was-validated .input-group>.form-floating:not(:focus-within):valid,.input-group>.form-floating:not(:focus-within).is-valid{z-index:3}.invalid-feedback{display:none;width:100%;margin-top:.25rem;font-size:.875em;color:#dc3545}.invalid-tooltip{position:absolute;top:100%;z-index:5;display:none;max-width:100%;padding:.25rem .5rem;margin-top:.1rem;font-size:.875rem;color:#fff;background-color:#dc3545e6;border-radius:.375rem}.was-validated :invalid~.invalid-feedback,.was-validated :invalid~.invalid-tooltip,.is-invalid~.invalid-feedback,.is-invalid~.invalid-tooltip{display:block}.was-validated .form-control:invalid,.form-control.is-invalid{border-color:#dc3545;padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right calc(.375em + .1875rem) center;background-size:calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-control:invalid:focus,.form-control.is-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.was-validated textarea.form-control:invalid,textarea.form-control.is-invalid{padding-right:calc(1.5em + .75rem);background-position:top calc(.375em + .1875rem) right calc(.375em + .1875rem)}.was-validated .form-select:invalid,.form-select.is-invalid{border-color:#dc3545}.was-validated .form-select:invalid:not([multiple]):not([size]),.was-validated .form-select:invalid:not([multiple])[size="1"],.form-select.is-invalid:not([multiple]):not([size]),.form-select.is-invalid:not([multiple])[size="1"]{padding-right:4.125rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"),url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(.75em + .375rem) calc(.75em + .375rem)}.was-validated .form-select:invalid:focus,.form-select.is-invalid:focus{border-color:#dc3545;box-shadow:0 0 0 .25rem #dc354540}.was-validated .form-control-color:invalid,.form-control-color.is-invalid{width:calc(3.75rem + 1.5em)}.was-validated .form-check-input:invalid,.form-check-input.is-invalid{border-color:#dc3545}.was-validated .form-check-input:invalid:checked,.form-check-input.is-invalid:checked{background-color:#dc3545}.was-validated .form-check-input:invalid:focus,.form-check-input.is-invalid:focus{box-shadow:0 0 0 .25rem #dc354540}.was-validated .form-check-input:invalid~.form-check-label,.form-check-input.is-invalid~.form-check-label{color:#dc3545}.form-check-inline .form-check-input~.invalid-feedback{margin-left:.5em}.was-validated .input-group>.form-control:not(:focus):invalid,.input-group>.form-control:not(:focus).is-invalid,.was-validated .input-group>.form-select:not(:focus):invalid,.input-group>.form-select:not(:focus).is-invalid,.was-validated .input-group>.form-floating:not(:focus-within):invalid,.input-group>.form-floating:not(:focus-within).is-invalid{z-index:4}.btn{--bs-btn-padding-x: .75rem;--bs-btn-padding-y: .375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: #212529;--bs-btn-bg: transparent;--bs-btn-border-width: 1px;--bs-btn-border-color: transparent;--bs-btn-border-radius: .375rem;--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);--bs-btn-disabled-opacity: .65;--bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.btn{transition:none}}.btn:hover{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color)}.btn-check+.btn:hover{color:var(--bs-btn-color);background-color:var(--bs-btn-bg);border-color:var(--bs-btn-border-color)}.btn:focus-visible{color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:focus-visible+.btn{border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow)}.btn-check:checked+.btn,:not(.btn-check)+.btn:active,.btn:first-child:active,.btn.active,.btn.show{color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color)}.btn-check:checked+.btn:focus-visible,:not(.btn-check)+.btn:active:focus-visible,.btn:first-child:active:focus-visible,.btn.active:focus-visible,.btn.show:focus-visible{box-shadow:var(--bs-btn-focus-box-shadow)}.btn:disabled,.btn.disabled,fieldset:disabled .btn{color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity)}.btn-primary{--bs-btn-color: #000;--bs-btn-bg: #4696e5;--bs-btn-border-color: #4696e5;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #62a6e9;--bs-btn-hover-border-color: #59a1e8;--bs-btn-focus-shadow-rgb: 60, 128, 195;--bs-btn-active-color: #000;--bs-btn-active-bg: #6babea;--bs-btn-active-border-color: #59a1e8;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #4696e5;--bs-btn-disabled-border-color: #4696e5}.btn-secondary{--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #5c636a;--bs-btn-hover-border-color: #565e64;--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: #565e64;--bs-btn-active-border-color: #51585e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d}.btn-success{--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #157347;--bs-btn-hover-border-color: #146c43;--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: #146c43;--bs-btn-active-border-color: #13653f;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754}.btn-info{--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #31d2f2;--bs-btn-hover-border-color: #25cff2;--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: #3dd5f3;--bs-btn-active-border-color: #25cff2;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0}.btn-warning{--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffca2c;--bs-btn-hover-border-color: #ffc720;--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffcd39;--bs-btn-active-border-color: #ffc720;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107}.btn-danger{--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #bb2d3b;--bs-btn-hover-border-color: #b02a37;--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: #b02a37;--bs-btn-active-border-color: #a52834;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545}.btn-light{--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #d3d4d5;--bs-btn-hover-border-color: #c6c7c8;--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: #c6c7c8;--bs-btn-active-border-color: #babbbc;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa}.btn-dark{--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #424649;--bs-btn-hover-border-color: #373b3e;--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: #4d5154;--bs-btn-active-border-color: #373b3e;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529}.btn-outline-primary{--bs-btn-color: #4696e5;--bs-btn-border-color: #4696e5;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #4696e5;--bs-btn-hover-border-color: #4696e5;--bs-btn-focus-shadow-rgb: 70, 150, 229;--bs-btn-active-color: #000;--bs-btn-active-bg: #4696e5;--bs-btn-active-border-color: #4696e5;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #4696e5;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #4696e5;--bs-gradient: none}.btn-outline-secondary{--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none}.btn-outline-success{--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none}.btn-outline-info{--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none}.btn-outline-warning{--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none}.btn-outline-danger{--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none}.btn-outline-light{--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none}.btn-outline-dark{--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none}.btn-link{--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: none;--bs-btn-focus-shadow-rgb: 60, 128, 195;text-decoration:underline}.btn-link:focus-visible{color:var(--bs-btn-color)}.btn-link:hover{color:var(--bs-btn-hover-color)}.btn-lg,.btn-group-lg>.btn{--bs-btn-padding-y: .5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: .5rem}.btn-sm,.btn-group-sm>.btn{--bs-btn-padding-y: .25rem;--bs-btn-padding-x: .5rem;--bs-btn-font-size: .875rem;--bs-btn-border-radius: .25rem}.fade{transition:opacity .15s linear}@media (prefers-reduced-motion: reduce){.fade{transition:none}}.fade:not(.show){opacity:0}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height .35s ease}@media (prefers-reduced-motion: reduce){.collapsing{transition:none}}.collapsing.collapse-horizontal{width:0;height:auto;transition:width .35s ease}@media (prefers-reduced-motion: reduce){.collapsing.collapse-horizontal{transition:none}}.dropup,.dropend,.dropdown,.dropstart,.dropup-center,.dropdown-center{position:relative}.dropdown-toggle{white-space:nowrap}.dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.dropdown-toggle:empty:after{margin-left:0}.dropdown-menu{--bs-dropdown-zindex: 1000;--bs-dropdown-min-width: 10rem;--bs-dropdown-padding-x: 0;--bs-dropdown-padding-y: .5rem;--bs-dropdown-spacer: .125rem;--bs-dropdown-font-size: 1rem;--bs-dropdown-color: #212529;--bs-dropdown-bg: #fff;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-border-radius: .375rem;--bs-dropdown-border-width: 1px;--bs-dropdown-inner-border-radius:calc(.375rem - 1px);--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-divider-margin-y: .5rem;--bs-dropdown-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-dropdown-link-color: #212529;--bs-dropdown-link-hover-color: #1e2125;--bs-dropdown-link-hover-bg: #e9ecef;--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #4696e5;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-item-padding-x: 1rem;--bs-dropdown-item-padding-y: .25rem;--bs-dropdown-header-color: #6c757d;--bs-dropdown-header-padding-x: 1rem;--bs-dropdown-header-padding-y: .5rem;position:absolute;z-index:var(--bs-dropdown-zindex);display:none;min-width:var(--bs-dropdown-min-width);padding:var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);margin:0;font-size:var(--bs-dropdown-font-size);color:var(--bs-dropdown-color);text-align:left;list-style:none;background-color:var(--bs-dropdown-bg);background-clip:padding-box;border:var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);border-radius:var(--bs-dropdown-border-radius)}.dropdown-menu[data-bs-popper]{top:100%;left:0;margin-top:var(--bs-dropdown-spacer)}.dropdown-menu-start{--bs-position: start}.dropdown-menu-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-end{--bs-position: end}.dropdown-menu-end[data-bs-popper]{right:0;left:auto}@media (min-width: 576px){.dropdown-menu-sm-start{--bs-position: start}.dropdown-menu-sm-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-sm-end{--bs-position: end}.dropdown-menu-sm-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 768px){.dropdown-menu-md-start{--bs-position: start}.dropdown-menu-md-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-md-end{--bs-position: end}.dropdown-menu-md-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 992px){.dropdown-menu-lg-start{--bs-position: start}.dropdown-menu-lg-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-lg-end{--bs-position: end}.dropdown-menu-lg-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1200px){.dropdown-menu-xl-start{--bs-position: start}.dropdown-menu-xl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xl-end{--bs-position: end}.dropdown-menu-xl-end[data-bs-popper]{right:0;left:auto}}@media (min-width: 1400px){.dropdown-menu-xxl-start{--bs-position: start}.dropdown-menu-xxl-start[data-bs-popper]{right:auto;left:0}.dropdown-menu-xxl-end{--bs-position: end}.dropdown-menu-xxl-end[data-bs-popper]{right:0;left:auto}}.dropup .dropdown-menu[data-bs-popper]{top:auto;bottom:100%;margin-top:0;margin-bottom:var(--bs-dropdown-spacer)}.dropup .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-menu[data-bs-popper]{top:0;right:auto;left:100%;margin-top:0;margin-left:var(--bs-dropdown-spacer)}.dropend .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:0;border-bottom:.3em solid transparent;border-left:.3em solid}.dropend .dropdown-toggle:empty:after{margin-left:0}.dropend .dropdown-toggle:after{vertical-align:0}.dropstart .dropdown-menu[data-bs-popper]{top:0;right:100%;left:auto;margin-top:0;margin-right:var(--bs-dropdown-spacer)}.dropstart .dropdown-toggle:after{display:inline-block;margin-left:.255em;vertical-align:.255em;content:""}.dropstart .dropdown-toggle:after{display:none}.dropstart .dropdown-toggle:before{display:inline-block;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropstart .dropdown-toggle:empty:after{margin-left:0}.dropstart .dropdown-toggle:before{vertical-align:0}.dropdown-divider{height:0;margin:var(--bs-dropdown-divider-margin-y) 0;overflow:hidden;border-top:1px solid var(--bs-dropdown-divider-bg);opacity:1}.dropdown-item{display:block;width:100%;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);clear:both;font-weight:400;color:var(--bs-dropdown-link-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:hover,.dropdown-item:focus{color:var(--bs-dropdown-link-hover-color);background-color:var(--bs-dropdown-link-hover-bg)}.dropdown-item.active,.dropdown-item:active{color:var(--bs-dropdown-link-active-color);text-decoration:none;background-color:var(--bs-dropdown-link-active-bg)}.dropdown-item.disabled,.dropdown-item:disabled{color:var(--bs-dropdown-link-disabled-color);pointer-events:none;background-color:transparent}.dropdown-menu.show{display:block}.dropdown-header{display:block;padding:var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);margin-bottom:0;font-size:.875rem;color:var(--bs-dropdown-header-color);white-space:nowrap}.dropdown-item-text{display:block;padding:var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);color:var(--bs-dropdown-link-color)}.dropdown-menu-dark{--bs-dropdown-color: #dee2e6;--bs-dropdown-bg: #343a40;--bs-dropdown-border-color: var(--bs-border-color-translucent);--bs-dropdown-box-shadow: ;--bs-dropdown-link-color: #dee2e6;--bs-dropdown-link-hover-color: #fff;--bs-dropdown-divider-bg: var(--bs-border-color-translucent);--bs-dropdown-link-hover-bg: rgba(255, 255, 255, .15);--bs-dropdown-link-active-color: #fff;--bs-dropdown-link-active-bg: #4696e5;--bs-dropdown-link-disabled-color: #adb5bd;--bs-dropdown-header-color: #adb5bd}.btn-group,.btn-group-vertical{position:relative;display:inline-flex;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;flex:1 1 auto}.btn-group>.btn-check:checked+.btn,.btn-group>.btn-check:focus+.btn,.btn-group>.btn:hover,.btn-group>.btn:focus,.btn-group>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn-check:checked+.btn,.btn-group-vertical>.btn-check:focus+.btn,.btn-group-vertical>.btn:hover,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn.active{z-index:1}.btn-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start}.btn-toolbar .input-group{width:auto}.btn-group{border-radius:.375rem}.btn-group>:not(.btn-check:first-child)+.btn,.btn-group>.btn-group:not(:first-child){margin-left:-1px}.btn-group>.btn:not(:last-child):not(.dropdown-toggle),.btn-group>.btn.dropdown-toggle-split:first-child,.btn-group>.btn-group:not(:last-child)>.btn{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn,.btn-group>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-toggle-split{padding-right:.5625rem;padding-left:.5625rem}.dropdown-toggle-split:after,.dropup .dropdown-toggle-split:after,.dropend .dropdown-toggle-split:after{margin-left:0}.dropstart .dropdown-toggle-split:before{margin-right:0}.btn-sm+.dropdown-toggle-split,.btn-group-sm>.btn+.dropdown-toggle-split{padding-right:.375rem;padding-left:.375rem}.btn-lg+.dropdown-toggle-split,.btn-group-lg>.btn+.dropdown-toggle-split{padding-right:.75rem;padding-left:.75rem}.btn-group-vertical{flex-direction:column;align-items:flex-start;justify-content:center}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group{width:100%}.btn-group-vertical>.btn:not(:first-child),.btn-group-vertical>.btn-group:not(:first-child){margin-top:-1px}.btn-group-vertical>.btn:not(:last-child):not(.dropdown-toggle),.btn-group-vertical>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn~.btn,.btn-group-vertical>.btn-group:not(:first-child)>.btn{border-top-left-radius:0;border-top-right-radius:0}.nav{--bs-nav-link-padding-x: 1rem;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-link-color);--bs-nav-link-hover-color: var(--bs-link-hover-color);--bs-nav-link-disabled-color: #6c757d;display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.nav-link{display:block;padding:var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);font-size:var(--bs-nav-link-font-size);font-weight:var(--bs-nav-link-font-weight);color:var(--bs-nav-link-color);text-decoration:none;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out}@media (prefers-reduced-motion: reduce){.nav-link{transition:none}}.nav-link:hover,.nav-link:focus{color:var(--bs-nav-link-hover-color)}.nav-link.disabled{color:var(--bs-nav-link-disabled-color);pointer-events:none;cursor:default}.nav-tabs{--bs-nav-tabs-border-width: 1px;--bs-nav-tabs-border-color: #dee2e6;--bs-nav-tabs-border-radius: .375rem;--bs-nav-tabs-link-hover-border-color: #e9ecef #e9ecef #dee2e6;--bs-nav-tabs-link-active-color: #495057;--bs-nav-tabs-link-active-bg: #fff;--bs-nav-tabs-link-active-border-color: #dee2e6 #dee2e6 #fff;border-bottom:var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color)}.nav-tabs .nav-link{margin-bottom:calc(-1 * var(--bs-nav-tabs-border-width));background:none;border:var(--bs-nav-tabs-border-width) solid transparent;border-top-left-radius:var(--bs-nav-tabs-border-radius);border-top-right-radius:var(--bs-nav-tabs-border-radius)}.nav-tabs .nav-link:hover,.nav-tabs .nav-link:focus{isolation:isolate;border-color:var(--bs-nav-tabs-link-hover-border-color)}.nav-tabs .nav-link.disabled,.nav-tabs .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-tabs .nav-link.active,.nav-tabs .nav-item.show .nav-link{color:var(--bs-nav-tabs-link-active-color);background-color:var(--bs-nav-tabs-link-active-bg);border-color:var(--bs-nav-tabs-link-active-border-color)}.nav-tabs .dropdown-menu{margin-top:calc(-1 * var(--bs-nav-tabs-border-width));border-top-left-radius:0;border-top-right-radius:0}.nav-pills{--bs-nav-pills-border-radius: .375rem;--bs-nav-pills-link-active-color: #fff;--bs-nav-pills-link-active-bg: #4696e5}.nav-pills .nav-link{background:none;border:0;border-radius:var(--bs-nav-pills-border-radius)}.nav-pills .nav-link:disabled{color:var(--bs-nav-link-disabled-color);background-color:transparent;border-color:transparent}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{color:var(--bs-nav-pills-link-active-color);background-color:var(--bs-nav-pills-link-active-bg)}.nav-fill>.nav-link,.nav-fill .nav-item{flex:1 1 auto;text-align:center}.nav-justified>.nav-link,.nav-justified .nav-item{flex-basis:0;flex-grow:1;text-align:center}.nav-fill .nav-item .nav-link,.nav-justified .nav-item .nav-link{width:100%}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.navbar{--bs-navbar-padding-x: 0;--bs-navbar-padding-y: .5rem;--bs-navbar-color: rgba(0, 0, 0, .55);--bs-navbar-hover-color: rgba(0, 0, 0, .7);--bs-navbar-disabled-color: rgba(0, 0, 0, .3);--bs-navbar-active-color: rgba(0, 0, 0, .9);--bs-navbar-brand-padding-y: .3125rem;--bs-navbar-brand-margin-end: 1rem;--bs-navbar-brand-font-size: 1.25rem;--bs-navbar-brand-color: rgba(0, 0, 0, .9);--bs-navbar-brand-hover-color: rgba(0, 0, 0, .9);--bs-navbar-nav-link-padding-x: .5rem;--bs-navbar-toggler-padding-y: .25rem;--bs-navbar-toggler-padding-x: .75rem;--bs-navbar-toggler-font-size: 1.25rem;--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");--bs-navbar-toggler-border-color: rgba(0, 0, 0, .1);--bs-navbar-toggler-border-radius: .375rem;--bs-navbar-toggler-focus-width: .25rem;--bs-navbar-toggler-transition: box-shadow .15s ease-in-out;position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--bs-navbar-padding-y) var(--bs-navbar-padding-x)}.navbar>.container,.navbar>.container-fluid,.navbar>.container-sm,.navbar>.container-md,.navbar>.container-lg,.navbar>.container-xl,.navbar>.container-xxl{display:flex;flex-wrap:inherit;align-items:center;justify-content:space-between}.navbar-brand{padding-top:var(--bs-navbar-brand-padding-y);padding-bottom:var(--bs-navbar-brand-padding-y);margin-right:var(--bs-navbar-brand-margin-end);font-size:var(--bs-navbar-brand-font-size);color:var(--bs-navbar-brand-color);text-decoration:none;white-space:nowrap}.navbar-brand:hover,.navbar-brand:focus{color:var(--bs-navbar-brand-hover-color)}.navbar-nav{--bs-nav-link-padding-x: 0;--bs-nav-link-padding-y: .5rem;--bs-nav-link-font-weight: ;--bs-nav-link-color: var(--bs-navbar-color);--bs-nav-link-hover-color: var(--bs-navbar-hover-color);--bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);display:flex;flex-direction:column;padding-left:0;margin-bottom:0;list-style:none}.navbar-nav .show>.nav-link,.navbar-nav .nav-link.active{color:var(--bs-navbar-active-color)}.navbar-nav .dropdown-menu{position:static}.navbar-text{padding-top:.5rem;padding-bottom:.5rem;color:var(--bs-navbar-color)}.navbar-text a,.navbar-text a:hover,.navbar-text a:focus{color:var(--bs-navbar-active-color)}.navbar-collapse{flex-basis:100%;flex-grow:1;align-items:center}.navbar-toggler{padding:var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);font-size:var(--bs-navbar-toggler-font-size);line-height:1;color:var(--bs-navbar-color);background-color:transparent;border:var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);border-radius:var(--bs-navbar-toggler-border-radius);transition:var(--bs-navbar-toggler-transition)}@media (prefers-reduced-motion: reduce){.navbar-toggler{transition:none}}.navbar-toggler:hover{text-decoration:none}.navbar-toggler:focus{text-decoration:none;outline:0;box-shadow:0 0 0 var(--bs-navbar-toggler-focus-width)}.navbar-toggler-icon{display:inline-block;width:1.5em;height:1.5em;vertical-align:middle;background-image:var(--bs-navbar-toggler-icon-bg);background-repeat:no-repeat;background-position:center;background-size:100%}.navbar-nav-scroll{max-height:var(--bs-scroll-height, 75vh);overflow-y:auto}@media (min-width: 576px){.navbar-expand-sm{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-sm .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}.navbar-expand-sm .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-sm .offcanvas .offcanvas-header{display:none}.navbar-expand-sm .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 768px){.navbar-expand-md{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-md .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}.navbar-expand-md .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-md .offcanvas .offcanvas-header{display:none}.navbar-expand-md .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 992px){.navbar-expand-lg{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-lg .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}.navbar-expand-lg .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-lg .offcanvas .offcanvas-header{display:none}.navbar-expand-lg .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1200px){.navbar-expand-xl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}.navbar-expand-xl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xl .offcanvas .offcanvas-header{display:none}.navbar-expand-xl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}@media (min-width: 1400px){.navbar-expand-xxl{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}.navbar-expand-xxl .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}.navbar-expand-xxl .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand-xxl .offcanvas .offcanvas-header{display:none}.navbar-expand-xxl .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}}.navbar-expand{flex-wrap:nowrap;justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.navbar-expand .navbar-nav .nav-link{padding-right:var(--bs-navbar-nav-link-padding-x);padding-left:var(--bs-navbar-nav-link-padding-x)}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}.navbar-expand .offcanvas{position:static;z-index:auto;flex-grow:1;width:auto!important;height:auto!important;visibility:visible!important;background-color:transparent!important;border:0!important;transform:none!important;transition:none}.navbar-expand .offcanvas .offcanvas-header{display:none}.navbar-expand .offcanvas .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible}.navbar-dark{--bs-navbar-color: rgba(255, 255, 255, .55);--bs-navbar-hover-color: rgba(255, 255, 255, .75);--bs-navbar-disabled-color: rgba(255, 255, 255, .25);--bs-navbar-active-color: #fff;--bs-navbar-brand-color: #fff;--bs-navbar-brand-hover-color: #fff;--bs-navbar-toggler-border-color: rgba(255, 255, 255, .1);--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")}.card{--bs-card-spacer-y: 1rem;--bs-card-spacer-x: 1rem;--bs-card-title-spacer-y: .5rem;--bs-card-border-width: 1px;--bs-card-border-color: var(--bs-border-color-translucent);--bs-card-border-radius: .375rem;--bs-card-box-shadow: ;--bs-card-inner-border-radius:calc(.375rem - 1px);--bs-card-cap-padding-y: .5rem;--bs-card-cap-padding-x: 1rem;--bs-card-cap-bg: rgba(0, 0, 0, .03);--bs-card-cap-color: ;--bs-card-height: ;--bs-card-color: ;--bs-card-bg: #fff;--bs-card-img-overlay-padding: 1rem;--bs-card-group-margin: .75rem;position:relative;display:flex;flex-direction:column;min-width:0;height:var(--bs-card-height);word-wrap:break-word;background-color:var(--bs-card-bg);background-clip:border-box;border:var(--bs-card-border-width) solid var(--bs-card-border-color);border-radius:var(--bs-card-border-radius)}.card>hr{margin-right:0;margin-left:0}.card>.list-group{border-top:inherit;border-bottom:inherit}.card>.list-group:first-child{border-top-width:0;border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card>.list-group:last-child{border-bottom-width:0;border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card>.card-header+.list-group,.card>.list-group+.card-footer{border-top:0}.card-body{flex:1 1 auto;padding:var(--bs-card-spacer-y) var(--bs-card-spacer-x);color:var(--bs-card-color)}.card-title{margin-bottom:var(--bs-card-title-spacer-y)}.card-subtitle{margin-top:calc(-.5 * var(--bs-card-title-spacer-y));margin-bottom:0}.card-text:last-child{margin-bottom:0}.card-link+.card-link{margin-left:var(--bs-card-spacer-x)}.card-header{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);margin-bottom:0;color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-bottom:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-header:first-child{border-radius:var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0}.card-footer{padding:var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);color:var(--bs-card-cap-color);background-color:var(--bs-card-cap-bg);border-top:var(--bs-card-border-width) solid var(--bs-card-border-color)}.card-footer:last-child{border-radius:0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius)}.card-header-tabs{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-bottom:calc(-1 * var(--bs-card-cap-padding-y));margin-left:calc(-.5 * var(--bs-card-cap-padding-x));border-bottom:0}.card-header-tabs .nav-link.active{background-color:var(--bs-card-bg);border-bottom-color:var(--bs-card-bg)}.card-header-pills{margin-right:calc(-.5 * var(--bs-card-cap-padding-x));margin-left:calc(-.5 * var(--bs-card-cap-padding-x))}.card-img-overlay{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding);border-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-top,.card-img-bottom{width:100%}.card-img,.card-img-top{border-top-left-radius:var(--bs-card-inner-border-radius);border-top-right-radius:var(--bs-card-inner-border-radius)}.card-img,.card-img-bottom{border-bottom-right-radius:var(--bs-card-inner-border-radius);border-bottom-left-radius:var(--bs-card-inner-border-radius)}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width: 576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}.card-group>.card+.card{margin-left:0;border-left:0}.card-group>.card:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.card-group>.card:not(:last-child) .card-img-top,.card-group>.card:not(:last-child) .card-header{border-top-right-radius:0}.card-group>.card:not(:last-child) .card-img-bottom,.card-group>.card:not(:last-child) .card-footer{border-bottom-right-radius:0}.card-group>.card:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.card-group>.card:not(:first-child) .card-img-top,.card-group>.card:not(:first-child) .card-header{border-top-left-radius:0}.card-group>.card:not(:first-child) .card-img-bottom,.card-group>.card:not(:first-child) .card-footer{border-bottom-left-radius:0}}.accordion{--bs-accordion-color: #212529;--bs-accordion-bg: #fff;--bs-accordion-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, border-radius .15s ease;--bs-accordion-border-color: var(--bs-border-color);--bs-accordion-border-width: 1px;--bs-accordion-border-radius: .375rem;--bs-accordion-inner-border-radius:calc(.375rem - 1px);--bs-accordion-btn-padding-x: 1.25rem;--bs-accordion-btn-padding-y: 1rem;--bs-accordion-btn-color: #212529;--bs-accordion-btn-bg: var(--bs-accordion-bg);--bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-icon-width: 1.25rem;--bs-accordion-btn-icon-transform: rotate(-180deg);--bs-accordion-btn-icon-transition: transform .2s ease-in-out;--bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233f87ce'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");--bs-accordion-btn-focus-border-color: #a3cbf2;--bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(70, 150, 229, .25);--bs-accordion-body-padding-x: 1.25rem;--bs-accordion-body-padding-y: 1rem;--bs-accordion-active-color: #3f87ce;--bs-accordion-active-bg: #edf5fc}.accordion-button{position:relative;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}@media (prefers-reduced-motion: reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:var(--bs-accordion-active-color);background-color:var(--bs-accordion-active-bg);box-shadow:inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color)}.accordion-button:not(.collapsed):after{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button:after{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-left:auto;content:"";background-image:var(--bs-accordion-btn-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}@media (prefers-reduced-motion: reduce){.accordion-button:after{transition:none}}.accordion-button:hover{z-index:2}.accordion-button:focus{z-index:3;border-color:var(--bs-accordion-btn-focus-border-color);outline:0;box-shadow:var(--bs-accordion-btn-focus-box-shadow)}.accordion-header{margin-bottom:0}.accordion-item{color:var(--bs-accordion-color);background-color:var(--bs-accordion-bg);border:var(--bs-accordion-border-width) solid var(--bs-accordion-border-color)}.accordion-item:first-of-type{border-top-left-radius:var(--bs-accordion-border-radius);border-top-right-radius:var(--bs-accordion-border-radius)}.accordion-item:first-of-type .accordion-button{border-top-left-radius:var(--bs-accordion-inner-border-radius);border-top-right-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:not(:first-of-type){border-top:0}.accordion-item:last-of-type{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-item:last-of-type .accordion-button.collapsed{border-bottom-right-radius:var(--bs-accordion-inner-border-radius);border-bottom-left-radius:var(--bs-accordion-inner-border-radius)}.accordion-item:last-of-type .accordion-collapse{border-bottom-right-radius:var(--bs-accordion-border-radius);border-bottom-left-radius:var(--bs-accordion-border-radius)}.accordion-body{padding:var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x)}.accordion-flush .accordion-collapse{border-width:0}.accordion-flush .accordion-item{border-right:0;border-left:0;border-radius:0}.accordion-flush .accordion-item:first-child{border-top:0}.accordion-flush .accordion-item:last-child{border-bottom:0}.accordion-flush .accordion-item .accordion-button,.accordion-flush .accordion-item .accordion-button.collapsed{border-radius:0}.breadcrumb{--bs-breadcrumb-padding-x: 0;--bs-breadcrumb-padding-y: 0;--bs-breadcrumb-margin-bottom: 1rem;--bs-breadcrumb-bg: ;--bs-breadcrumb-border-radius: ;--bs-breadcrumb-divider-color: #6c757d;--bs-breadcrumb-item-padding-x: .5rem;--bs-breadcrumb-item-active-color: #6c757d;display:flex;flex-wrap:wrap;padding:var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);margin-bottom:var(--bs-breadcrumb-margin-bottom);font-size:var(--bs-breadcrumb-font-size);list-style:none;background-color:var(--bs-breadcrumb-bg);border-radius:var(--bs-breadcrumb-border-radius)}.breadcrumb-item+.breadcrumb-item{padding-left:var(--bs-breadcrumb-item-padding-x)}.breadcrumb-item+.breadcrumb-item:before{float:left;padding-right:var(--bs-breadcrumb-item-padding-x);color:var(--bs-breadcrumb-divider-color);content:var(--bs-breadcrumb-divider, "/")}.breadcrumb-item.active{color:var(--bs-breadcrumb-item-active-color)}.pagination{--bs-pagination-padding-x: .75rem;--bs-pagination-padding-y: .375rem;--bs-pagination-font-size: 1rem;--bs-pagination-color: var(--bs-link-color);--bs-pagination-bg: #fff;--bs-pagination-border-width: 1px;--bs-pagination-border-color: #dee2e6;--bs-pagination-border-radius: .375rem;--bs-pagination-hover-color: var(--bs-link-hover-color);--bs-pagination-hover-bg: #e9ecef;--bs-pagination-hover-border-color: #dee2e6;--bs-pagination-focus-color: var(--bs-link-hover-color);--bs-pagination-focus-bg: #e9ecef;--bs-pagination-focus-box-shadow: 0 0 0 .25rem rgba(70, 150, 229, .25);--bs-pagination-active-color: #fff;--bs-pagination-active-bg: #4696e5;--bs-pagination-active-border-color: #4696e5;--bs-pagination-disabled-color: #6c757d;--bs-pagination-disabled-bg: #fff;--bs-pagination-disabled-border-color: #dee2e6;display:flex;padding-left:0;list-style:none}.page-link{position:relative;display:block;padding:var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);font-size:var(--bs-pagination-font-size);color:var(--bs-pagination-color);text-decoration:none;background-color:var(--bs-pagination-bg);border:var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}@media (prefers-reduced-motion: reduce){.page-link{transition:none}}.page-link:hover{z-index:2;color:var(--bs-pagination-hover-color);background-color:var(--bs-pagination-hover-bg);border-color:var(--bs-pagination-hover-border-color)}.page-link:focus{z-index:3;color:var(--bs-pagination-focus-color);background-color:var(--bs-pagination-focus-bg);outline:0;box-shadow:var(--bs-pagination-focus-box-shadow)}.page-link.active,.active>.page-link{z-index:3;color:var(--bs-pagination-active-color);background-color:var(--bs-pagination-active-bg);border-color:var(--bs-pagination-active-border-color)}.page-link.disabled,.disabled>.page-link{color:var(--bs-pagination-disabled-color);pointer-events:none;background-color:var(--bs-pagination-disabled-bg);border-color:var(--bs-pagination-disabled-border-color)}.page-item:not(:first-child) .page-link{margin-left:-1px}.page-item:first-child .page-link{border-top-left-radius:var(--bs-pagination-border-radius);border-bottom-left-radius:var(--bs-pagination-border-radius)}.page-item:last-child .page-link{border-top-right-radius:var(--bs-pagination-border-radius);border-bottom-right-radius:var(--bs-pagination-border-radius)}.pagination-lg{--bs-pagination-padding-x: 1.5rem;--bs-pagination-padding-y: .75rem;--bs-pagination-font-size: 1.25rem;--bs-pagination-border-radius: .5rem}.pagination-sm{--bs-pagination-padding-x: .5rem;--bs-pagination-padding-y: .25rem;--bs-pagination-font-size: .875rem;--bs-pagination-border-radius: .25rem}.badge{--bs-badge-padding-x: .65em;--bs-badge-padding-y: .35em;--bs-badge-font-size: .75em;--bs-badge-font-weight: 700;--bs-badge-color: #fff;--bs-badge-border-radius: .375rem;display:inline-block;padding:var(--bs-badge-padding-y) var(--bs-badge-padding-x);font-size:var(--bs-badge-font-size);font-weight:var(--bs-badge-font-weight);line-height:1;color:var(--bs-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--bs-badge-border-radius)}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.alert{--bs-alert-bg: transparent;--bs-alert-padding-x: 1rem;--bs-alert-padding-y: 1rem;--bs-alert-margin-bottom: 1rem;--bs-alert-color: inherit;--bs-alert-border-color: transparent;--bs-alert-border: 1px solid var(--bs-alert-border-color);--bs-alert-border-radius: .375rem;position:relative;padding:var(--bs-alert-padding-y) var(--bs-alert-padding-x);margin-bottom:var(--bs-alert-margin-bottom);color:var(--bs-alert-color);background-color:var(--bs-alert-bg);border:var(--bs-alert-border);border-radius:var(--bs-alert-border-radius)}.alert-heading{color:inherit}.alert-link{font-weight:700}.alert-dismissible{padding-right:3rem}.alert-dismissible .btn-close{position:absolute;top:0;right:0;z-index:2;padding:1.25rem 1rem}.alert-primary{--bs-alert-color: #2a5a89;--bs-alert-bg: #daeafa;--bs-alert-border-color: #c8e0f7}.alert-primary .alert-link{color:#22486e}.alert-secondary{--bs-alert-color: #41464b;--bs-alert-bg: #e2e3e5;--bs-alert-border-color: #d3d6d8}.alert-secondary .alert-link{color:#34383c}.alert-success{--bs-alert-color: #0f5132;--bs-alert-bg: #d1e7dd;--bs-alert-border-color: #badbcc}.alert-success .alert-link{color:#0c4128}.alert-info{--bs-alert-color: #055160;--bs-alert-bg: #cff4fc;--bs-alert-border-color: #b6effb}.alert-info .alert-link{color:#04414d}.alert-warning{--bs-alert-color: #664d03;--bs-alert-bg: #fff3cd;--bs-alert-border-color: #ffecb5}.alert-warning .alert-link{color:#523e02}.alert-danger{--bs-alert-color: #842029;--bs-alert-bg: #f8d7da;--bs-alert-border-color: #f5c2c7}.alert-danger .alert-link{color:#6a1a21}.alert-light{--bs-alert-color: #636464;--bs-alert-bg: #fefefe;--bs-alert-border-color: #fdfdfe}.alert-light .alert-link{color:#4f5050}.alert-dark{--bs-alert-color: #141619;--bs-alert-bg: #d3d3d4;--bs-alert-border-color: #bcbebf}.alert-dark .alert-link{color:#101214}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.progress{--bs-progress-height: 1rem;--bs-progress-font-size: .75rem;--bs-progress-bg: #e9ecef;--bs-progress-border-radius: .375rem;--bs-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);--bs-progress-bar-color: #fff;--bs-progress-bar-bg: #4696e5;--bs-progress-bar-transition: width .6s ease;display:flex;height:var(--bs-progress-height);overflow:hidden;font-size:var(--bs-progress-font-size);background-color:var(--bs-progress-bg);border-radius:var(--bs-progress-border-radius)}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:var(--bs-progress-bar-color);text-align:center;white-space:nowrap;background-color:var(--bs-progress-bar-bg);transition:var(--bs-progress-bar-transition)}@media (prefers-reduced-motion: reduce){.progress-bar{transition:none}}.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:var(--bs-progress-height) var(--bs-progress-height)}.progress-bar-animated{animation:1s linear infinite progress-bar-stripes}@media (prefers-reduced-motion: reduce){.progress-bar-animated{animation:none}}.list-group{--bs-list-group-color: #212529;--bs-list-group-bg: #fff;--bs-list-group-border-color: rgba(0, 0, 0, .125);--bs-list-group-border-width: 1px;--bs-list-group-border-radius: .375rem;--bs-list-group-item-padding-x: 1rem;--bs-list-group-item-padding-y: .5rem;--bs-list-group-action-color: #495057;--bs-list-group-action-hover-color: #495057;--bs-list-group-action-hover-bg: #f8f9fa;--bs-list-group-action-active-color: #212529;--bs-list-group-action-active-bg: #e9ecef;--bs-list-group-disabled-color: #6c757d;--bs-list-group-disabled-bg: #fff;--bs-list-group-active-color: #fff;--bs-list-group-active-bg: #4696e5;--bs-list-group-active-border-color: #4696e5;display:flex;flex-direction:column;padding-left:0;margin-bottom:0;border-radius:var(--bs-list-group-border-radius)}.list-group-numbered{list-style-type:none;counter-reset:section}.list-group-numbered>.list-group-item:before{content:counters(section,".") ". ";counter-increment:section}.list-group-item-action{width:100%;color:var(--bs-list-group-action-color);text-align:inherit}.list-group-item-action:hover,.list-group-item-action:focus{z-index:1;color:var(--bs-list-group-action-hover-color);text-decoration:none;background-color:var(--bs-list-group-action-hover-bg)}.list-group-item-action:active{color:var(--bs-list-group-action-active-color);background-color:var(--bs-list-group-action-active-bg)}.list-group-item{position:relative;display:block;padding:var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);color:var(--bs-list-group-color);text-decoration:none;background-color:var(--bs-list-group-bg);border:var(--bs-list-group-border-width) solid var(--bs-list-group-border-color)}.list-group-item:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.list-group-item:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.list-group-item.disabled,.list-group-item:disabled{color:var(--bs-list-group-disabled-color);pointer-events:none;background-color:var(--bs-list-group-disabled-bg)}.list-group-item.active{z-index:2;color:var(--bs-list-group-active-color);background-color:var(--bs-list-group-active-bg);border-color:var(--bs-list-group-active-border-color)}.list-group-item+.list-group-item{border-top-width:0}.list-group-item+.list-group-item.active{margin-top:calc(-1 * var(--bs-list-group-border-width));border-top-width:var(--bs-list-group-border-width)}.list-group-horizontal{flex-direction:row}.list-group-horizontal>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal>.list-group-item.active{margin-top:0}.list-group-horizontal>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}@media (min-width: 576px){.list-group-horizontal-sm{flex-direction:row}.list-group-horizontal-sm>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-sm>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-sm>.list-group-item.active{margin-top:0}.list-group-horizontal-sm>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-sm>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 768px){.list-group-horizontal-md{flex-direction:row}.list-group-horizontal-md>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-md>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-md>.list-group-item.active{margin-top:0}.list-group-horizontal-md>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-md>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 992px){.list-group-horizontal-lg{flex-direction:row}.list-group-horizontal-lg>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-lg>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-lg>.list-group-item.active{margin-top:0}.list-group-horizontal-lg>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-lg>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1200px){.list-group-horizontal-xl{flex-direction:row}.list-group-horizontal-xl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xl>.list-group-item.active{margin-top:0}.list-group-horizontal-xl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}@media (min-width: 1400px){.list-group-horizontal-xxl{flex-direction:row}.list-group-horizontal-xxl>.list-group-item:first-child:not(:last-child){border-bottom-left-radius:var(--bs-list-group-border-radius);border-top-right-radius:0}.list-group-horizontal-xxl>.list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}.list-group-horizontal-xxl>.list-group-item.active{margin-top:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}.list-group-horizontal-xxl>.list-group-item+.list-group-item.active{margin-left:calc(-1 * var(--bs-list-group-border-width));border-left-width:var(--bs-list-group-border-width)}}.list-group-flush{border-radius:0}.list-group-flush>.list-group-item{border-width:0 0 var(--bs-list-group-border-width)}.list-group-flush>.list-group-item:last-child{border-bottom-width:0}.list-group-item-primary{color:#2a5a89;background-color:#daeafa}.list-group-item-primary.list-group-item-action:hover,.list-group-item-primary.list-group-item-action:focus{color:#2a5a89;background-color:#c4d3e1}.list-group-item-primary.list-group-item-action.active{color:#fff;background-color:#2a5a89;border-color:#2a5a89}.list-group-item-secondary{color:#41464b;background-color:#e2e3e5}.list-group-item-secondary.list-group-item-action:hover,.list-group-item-secondary.list-group-item-action:focus{color:#41464b;background-color:#cbccce}.list-group-item-secondary.list-group-item-action.active{color:#fff;background-color:#41464b;border-color:#41464b}.list-group-item-success{color:#0f5132;background-color:#d1e7dd}.list-group-item-success.list-group-item-action:hover,.list-group-item-success.list-group-item-action:focus{color:#0f5132;background-color:#bcd0c7}.list-group-item-success.list-group-item-action.active{color:#fff;background-color:#0f5132;border-color:#0f5132}.list-group-item-info{color:#055160;background-color:#cff4fc}.list-group-item-info.list-group-item-action:hover,.list-group-item-info.list-group-item-action:focus{color:#055160;background-color:#badce3}.list-group-item-info.list-group-item-action.active{color:#fff;background-color:#055160;border-color:#055160}.list-group-item-warning{color:#664d03;background-color:#fff3cd}.list-group-item-warning.list-group-item-action:hover,.list-group-item-warning.list-group-item-action:focus{color:#664d03;background-color:#e6dbb9}.list-group-item-warning.list-group-item-action.active{color:#fff;background-color:#664d03;border-color:#664d03}.list-group-item-danger{color:#842029;background-color:#f8d7da}.list-group-item-danger.list-group-item-action:hover,.list-group-item-danger.list-group-item-action:focus{color:#842029;background-color:#dfc2c4}.list-group-item-danger.list-group-item-action.active{color:#fff;background-color:#842029;border-color:#842029}.list-group-item-light{color:#636464;background-color:#fefefe}.list-group-item-light.list-group-item-action:hover,.list-group-item-light.list-group-item-action:focus{color:#636464;background-color:#e5e5e5}.list-group-item-light.list-group-item-action.active{color:#fff;background-color:#636464;border-color:#636464}.list-group-item-dark{color:#141619;background-color:#d3d3d4}.list-group-item-dark.list-group-item-action:hover,.list-group-item-dark.list-group-item-action:focus{color:#141619;background-color:#bebebf}.list-group-item-dark.list-group-item-action.active{color:#fff;background-color:#141619;border-color:#141619}.btn-close{box-sizing:content-box;width:1em;height:1em;padding:.25em;color:#000;background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;border:0;border-radius:.375rem;opacity:.5}.btn-close:hover{color:#000;text-decoration:none;opacity:.75}.btn-close:focus{outline:0;box-shadow:0 0 0 .25rem #4696e540;opacity:1}.btn-close:disabled,.btn-close.disabled{pointer-events:none;user-select:none;opacity:.25}.btn-close-white{filter:invert(1) grayscale(100%) brightness(200%)}.toast{--bs-toast-zindex: 1090;--bs-toast-padding-x: .75rem;--bs-toast-padding-y: .5rem;--bs-toast-spacing: 1.5rem;--bs-toast-max-width: 350px;--bs-toast-font-size: .875rem;--bs-toast-color: ;--bs-toast-bg: rgba(255, 255, 255, .85);--bs-toast-border-width: 1px;--bs-toast-border-color: var(--bs-border-color-translucent);--bs-toast-border-radius: .375rem;--bs-toast-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-toast-header-color: #6c757d;--bs-toast-header-bg: rgba(255, 255, 255, .85);--bs-toast-header-border-color: rgba(0, 0, 0, .05);width:var(--bs-toast-max-width);max-width:100%;font-size:var(--bs-toast-font-size);color:var(--bs-toast-color);pointer-events:auto;background-color:var(--bs-toast-bg);background-clip:padding-box;border:var(--bs-toast-border-width) solid var(--bs-toast-border-color);box-shadow:var(--bs-toast-box-shadow);border-radius:var(--bs-toast-border-radius)}.toast.showing{opacity:0}.toast:not(.show){display:none}.toast-container{--bs-toast-zindex: 1090;position:absolute;z-index:var(--bs-toast-zindex);width:max-content;max-width:100%;pointer-events:none}.toast-container>:not(:last-child){margin-bottom:var(--bs-toast-spacing)}.toast-header{display:flex;align-items:center;padding:var(--bs-toast-padding-y) var(--bs-toast-padding-x);color:var(--bs-toast-header-color);background-color:var(--bs-toast-header-bg);background-clip:padding-box;border-bottom:var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);border-top-left-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));border-top-right-radius:calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width))}.toast-header .btn-close{margin-right:calc(-.5 * var(--bs-toast-padding-x));margin-left:var(--bs-toast-padding-x)}.toast-body{padding:var(--bs-toast-padding-x);word-wrap:break-word}.modal{--bs-modal-zindex: 1055;--bs-modal-width: 500px;--bs-modal-padding: 1rem;--bs-modal-margin: .5rem;--bs-modal-color: ;--bs-modal-bg: #fff;--bs-modal-border-color: var(--bs-border-color-translucent);--bs-modal-border-width: 1px;--bs-modal-border-radius: .5rem;--bs-modal-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);--bs-modal-inner-border-radius:calc(.5rem - 1px);--bs-modal-header-padding-x: 1rem;--bs-modal-header-padding-y: 1rem;--bs-modal-header-padding: 1rem 1rem;--bs-modal-header-border-color: var(--bs-border-color);--bs-modal-header-border-width: 1px;--bs-modal-title-line-height: 1.5;--bs-modal-footer-gap: .5rem;--bs-modal-footer-bg: ;--bs-modal-footer-border-color: var(--bs-border-color);--bs-modal-footer-border-width: 1px;position:fixed;top:0;left:0;z-index:var(--bs-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}.modal-dialog{position:relative;width:auto;margin:var(--bs-modal-margin);pointer-events:none}.modal.fade .modal-dialog{transition:transform .3s ease-out;transform:translateY(-50px)}@media (prefers-reduced-motion: reduce){.modal.fade .modal-dialog{transition:none}}.modal.show .modal-dialog{transform:none}.modal.modal-static .modal-dialog{transform:scale(1.02)}.modal-dialog-scrollable{height:calc(100% - var(--bs-modal-margin) * 2)}.modal-dialog-scrollable .modal-content{max-height:100%;overflow:hidden}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:flex;align-items:center;min-height:calc(100% - var(--bs-modal-margin) * 2)}.modal-content{position:relative;display:flex;flex-direction:column;width:100%;color:var(--bs-modal-color);pointer-events:auto;background-color:var(--bs-modal-bg);background-clip:padding-box;border:var(--bs-modal-border-width) solid var(--bs-modal-border-color);border-radius:var(--bs-modal-border-radius);outline:0}.modal-backdrop{--bs-backdrop-zindex: 1050;--bs-backdrop-bg: #000;--bs-backdrop-opacity: .5;position:fixed;top:0;left:0;z-index:var(--bs-backdrop-zindex);width:100vw;height:100vh;background-color:var(--bs-backdrop-bg)}.modal-backdrop.fade{opacity:0}.modal-backdrop.show{opacity:var(--bs-backdrop-opacity)}.modal-header{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;padding:var(--bs-modal-header-padding);border-bottom:var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);border-top-left-radius:var(--bs-modal-inner-border-radius);border-top-right-radius:var(--bs-modal-inner-border-radius)}.modal-header .btn-close{padding:calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);margin:calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto}.modal-title{margin-bottom:0;line-height:var(--bs-modal-title-line-height)}.modal-body{position:relative;flex:1 1 auto;padding:var(--bs-modal-padding)}.modal-footer{display:flex;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);background-color:var(--bs-modal-footer-bg);border-top:var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);border-bottom-right-radius:var(--bs-modal-inner-border-radius);border-bottom-left-radius:var(--bs-modal-inner-border-radius)}.modal-footer>*{margin:calc(var(--bs-modal-footer-gap) * .5)}@media (min-width: 576px){.modal{--bs-modal-margin: 1.75rem;--bs-modal-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15)}.modal-dialog{max-width:var(--bs-modal-width);margin-right:auto;margin-left:auto}.modal-sm{--bs-modal-width: 300px}}@media (min-width: 992px){.modal-lg,.modal-xl{--bs-modal-width: 800px}}@media (min-width: 1200px){.modal-xl{--bs-modal-width: 1140px}}.modal-fullscreen{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen .modal-header,.modal-fullscreen .modal-footer{border-radius:0}.modal-fullscreen .modal-body{overflow-y:auto}@media (max-width: 575.98px){.modal-fullscreen-sm-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-sm-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-sm-down .modal-header,.modal-fullscreen-sm-down .modal-footer{border-radius:0}.modal-fullscreen-sm-down .modal-body{overflow-y:auto}}@media (max-width: 767.98px){.modal-fullscreen-md-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-md-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-md-down .modal-header,.modal-fullscreen-md-down .modal-footer{border-radius:0}.modal-fullscreen-md-down .modal-body{overflow-y:auto}}@media (max-width: 991.98px){.modal-fullscreen-lg-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-lg-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-lg-down .modal-header,.modal-fullscreen-lg-down .modal-footer{border-radius:0}.modal-fullscreen-lg-down .modal-body{overflow-y:auto}}@media (max-width: 1199.98px){.modal-fullscreen-xl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xl-down .modal-header,.modal-fullscreen-xl-down .modal-footer{border-radius:0}.modal-fullscreen-xl-down .modal-body{overflow-y:auto}}@media (max-width: 1399.98px){.modal-fullscreen-xxl-down{width:100vw;max-width:none;height:100%;margin:0}.modal-fullscreen-xxl-down .modal-content{height:100%;border:0;border-radius:0}.modal-fullscreen-xxl-down .modal-header,.modal-fullscreen-xxl-down .modal-footer{border-radius:0}.modal-fullscreen-xxl-down .modal-body{overflow-y:auto}}.tooltip{--bs-tooltip-zindex: 1080;--bs-tooltip-max-width: 200px;--bs-tooltip-padding-x: .5rem;--bs-tooltip-padding-y: .25rem;--bs-tooltip-margin: ;--bs-tooltip-font-size: .875rem;--bs-tooltip-color: #fff;--bs-tooltip-bg: #000;--bs-tooltip-border-radius: .375rem;--bs-tooltip-opacity: .9;--bs-tooltip-arrow-width: .8rem;--bs-tooltip-arrow-height: .4rem;z-index:var(--bs-tooltip-zindex);display:block;padding:var(--bs-tooltip-arrow-height);margin:var(--bs-tooltip-margin);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-tooltip-font-size);word-wrap:break-word;opacity:0}.tooltip.show{opacity:var(--bs-tooltip-opacity)}.tooltip .tooltip-arrow{display:block;width:var(--bs-tooltip-arrow-width);height:var(--bs-tooltip-arrow-height)}.tooltip .tooltip-arrow:before{position:absolute;content:"";border-color:transparent;border-style:solid}.bs-tooltip-top .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow{bottom:0}.bs-tooltip-top .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow:before{top:-1px;border-width:var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-top-color:var(--bs-tooltip-bg)}.bs-tooltip-end .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow{left:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-end .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow:before{right:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * .5) 0;border-right-color:var(--bs-tooltip-bg)}.bs-tooltip-bottom .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow{top:0}.bs-tooltip-bottom .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow:before{bottom:-1px;border-width:0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-bottom-color:var(--bs-tooltip-bg)}.bs-tooltip-start .tooltip-arrow,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow{right:0;width:var(--bs-tooltip-arrow-height);height:var(--bs-tooltip-arrow-width)}.bs-tooltip-start .tooltip-arrow:before,.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow:before{left:-1px;border-width:calc(var(--bs-tooltip-arrow-width) * .5) 0 calc(var(--bs-tooltip-arrow-width) * .5) var(--bs-tooltip-arrow-height);border-left-color:var(--bs-tooltip-bg)}.tooltip-inner{max-width:var(--bs-tooltip-max-width);padding:var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);color:var(--bs-tooltip-color);text-align:center;background-color:var(--bs-tooltip-bg);border-radius:var(--bs-tooltip-border-radius)}.popover{--bs-popover-zindex: 1070;--bs-popover-max-width: 276px;--bs-popover-font-size: .875rem;--bs-popover-bg: #fff;--bs-popover-border-width: 1px;--bs-popover-border-color: var(--bs-border-color-translucent);--bs-popover-border-radius: .5rem;--bs-popover-inner-border-radius:calc(.5rem - 1px);--bs-popover-box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);--bs-popover-header-padding-x: 1rem;--bs-popover-header-padding-y: .5rem;--bs-popover-header-font-size: 1rem;--bs-popover-header-color: ;--bs-popover-header-bg: #f0f0f0;--bs-popover-body-padding-x: 1rem;--bs-popover-body-padding-y: 1rem;--bs-popover-body-color: #212529;--bs-popover-arrow-width: 1rem;--bs-popover-arrow-height: .5rem;--bs-popover-arrow-border: var(--bs-popover-border-color);z-index:var(--bs-popover-zindex);display:block;max-width:var(--bs-popover-max-width);font-family:var(--bs-font-sans-serif);font-style:normal;font-weight:400;line-height:1.5;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;white-space:normal;word-spacing:normal;line-break:auto;font-size:var(--bs-popover-font-size);word-wrap:break-word;background-color:var(--bs-popover-bg);background-clip:padding-box;border:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-radius:var(--bs-popover-border-radius)}.popover .popover-arrow{display:block;width:var(--bs-popover-arrow-width);height:var(--bs-popover-arrow-height)}.popover .popover-arrow:before,.popover .popover-arrow:after{position:absolute;display:block;content:"";border-color:transparent;border-style:solid;border-width:0}.bs-popover-top>.popover-arrow,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow{bottom:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before,.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{border-width:var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-top>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:before{bottom:0;border-top-color:var(--bs-popover-arrow-border)}.bs-popover-top>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=top]>.popover-arrow:after{bottom:var(--bs-popover-border-width);border-top-color:var(--bs-popover-bg)}.bs-popover-end>.popover-arrow,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow{left:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before,.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * .5) 0}.bs-popover-end>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:before{left:0;border-right-color:var(--bs-popover-arrow-border)}.bs-popover-end>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=right]>.popover-arrow:after{left:var(--bs-popover-border-width);border-right-color:var(--bs-popover-bg)}.bs-popover-bottom>.popover-arrow,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow{top:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width))}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before,.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{border-width:0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-bottom>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:before{top:0;border-bottom-color:var(--bs-popover-arrow-border)}.bs-popover-bottom>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=bottom]>.popover-arrow:after{top:var(--bs-popover-border-width);border-bottom-color:var(--bs-popover-bg)}.bs-popover-bottom .popover-header:before,.bs-popover-auto[data-popper-placement^=bottom] .popover-header:before{position:absolute;top:0;left:50%;display:block;width:var(--bs-popover-arrow-width);margin-left:calc(-.5 * var(--bs-popover-arrow-width));content:"";border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-header-bg)}.bs-popover-start>.popover-arrow,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow{right:calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));width:var(--bs-popover-arrow-height);height:var(--bs-popover-arrow-width)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before,.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{border-width:calc(var(--bs-popover-arrow-width) * .5) 0 calc(var(--bs-popover-arrow-width) * .5) var(--bs-popover-arrow-height)}.bs-popover-start>.popover-arrow:before,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:before{right:0;border-left-color:var(--bs-popover-arrow-border)}.bs-popover-start>.popover-arrow:after,.bs-popover-auto[data-popper-placement^=left]>.popover-arrow:after{right:var(--bs-popover-border-width);border-left-color:var(--bs-popover-bg)}.popover-header{padding:var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);margin-bottom:0;font-size:var(--bs-popover-header-font-size);color:var(--bs-popover-header-color);background-color:var(--bs-popover-header-bg);border-bottom:var(--bs-popover-border-width) solid var(--bs-popover-border-color);border-top-left-radius:var(--bs-popover-inner-border-radius);border-top-right-radius:var(--bs-popover-inner-border-radius)}.popover-header:empty{display:none}.popover-body{padding:var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);color:var(--bs-popover-body-color)}.carousel{position:relative}.carousel.pointer-event{touch-action:pan-y}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner:after{display:block;clear:both;content:""}.carousel-item{position:relative;display:none;float:left;width:100%;margin-right:-100%;backface-visibility:hidden;transition:transform .6s ease-in-out}@media (prefers-reduced-motion: reduce){.carousel-item{transition:none}}.carousel-item.active,.carousel-item-next,.carousel-item-prev{display:block}.carousel-item-next:not(.carousel-item-start),.active.carousel-item-end{transform:translate(100%)}.carousel-item-prev:not(.carousel-item-end),.active.carousel-item-start{transform:translate(-100%)}.carousel-fade .carousel-item{opacity:0;transition-property:opacity;transform:none}.carousel-fade .carousel-item.active,.carousel-fade .carousel-item-next.carousel-item-start,.carousel-fade .carousel-item-prev.carousel-item-end{z-index:1;opacity:1}.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{z-index:0;opacity:0;transition:opacity 0s .6s}@media (prefers-reduced-motion: reduce){.carousel-fade .active.carousel-item-start,.carousel-fade .active.carousel-item-end{transition:none}}.carousel-control-prev,.carousel-control-next{position:absolute;top:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;width:15%;padding:0;color:#fff;text-align:center;background:none;border:0;opacity:.5;transition:opacity .15s ease}@media (prefers-reduced-motion: reduce){.carousel-control-prev,.carousel-control-next{transition:none}}.carousel-control-prev:hover,.carousel-control-prev:focus,.carousel-control-next:hover,.carousel-control-next:focus{color:#fff;text-decoration:none;outline:0;opacity:.9}.carousel-control-prev{left:0}.carousel-control-next{right:0}.carousel-control-prev-icon,.carousel-control-next-icon{display:inline-block;width:2rem;height:2rem;background-repeat:no-repeat;background-position:50%;background-size:100% 100%}.carousel-control-prev-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")}.carousel-control-next-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.carousel-indicators{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%;list-style:none}.carousel-indicators [data-bs-target]{box-sizing:content-box;flex:0 1 auto;width:30px;height:3px;padding:0;margin-right:3px;margin-left:3px;text-indent:-999px;cursor:pointer;background-color:#fff;background-clip:padding-box;border:0;border-top:10px solid transparent;border-bottom:10px solid transparent;opacity:.5;transition:opacity .6s ease}@media (prefers-reduced-motion: reduce){.carousel-indicators [data-bs-target]{transition:none}}.carousel-indicators .active{opacity:1}.carousel-caption{position:absolute;right:15%;bottom:1.25rem;left:15%;padding-top:1.25rem;padding-bottom:1.25rem;color:#fff;text-align:center}.carousel-dark .carousel-control-prev-icon,.carousel-dark .carousel-control-next-icon{filter:invert(1) grayscale(100)}.carousel-dark .carousel-indicators [data-bs-target]{background-color:#000}.carousel-dark .carousel-caption{color:#000}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg)}}.spinner-border{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-border-width: .25em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem;--bs-spinner-border-width: .2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width: 2rem;--bs-spinner-height: 2rem;--bs-spinner-vertical-align: -.125em;--bs-spinner-animation-speed: .75s;--bs-spinner-animation-name: spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width: 1rem;--bs-spinner-height: 1rem}@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed: 1.5s}}.offcanvas,.offcanvas-xxl,.offcanvas-xl,.offcanvas-lg,.offcanvas-md,.offcanvas-sm{--bs-offcanvas-zindex: 1045;--bs-offcanvas-width: 400px;--bs-offcanvas-height: 30vh;--bs-offcanvas-padding-x: 1rem;--bs-offcanvas-padding-y: 1rem;--bs-offcanvas-color: ;--bs-offcanvas-bg: #fff;--bs-offcanvas-border-width: 1px;--bs-offcanvas-border-color: var(--bs-border-color-translucent);--bs-offcanvas-box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075)}@media (max-width: 575.98px){.offcanvas-sm{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 575.98px) and (prefers-reduced-motion: reduce){.offcanvas-sm{transition:none}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 575.98px){.offcanvas-sm.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 575.98px){.offcanvas-sm.showing,.offcanvas-sm.show:not(.hiding){transform:none}}@media (max-width: 575.98px){.offcanvas-sm.showing,.offcanvas-sm.hiding,.offcanvas-sm.show{visibility:visible}}@media (min-width: 576px){.offcanvas-sm{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-sm .offcanvas-header{display:none}.offcanvas-sm .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 767.98px){.offcanvas-md{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 767.98px) and (prefers-reduced-motion: reduce){.offcanvas-md{transition:none}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 767.98px){.offcanvas-md.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 767.98px){.offcanvas-md.showing,.offcanvas-md.show:not(.hiding){transform:none}}@media (max-width: 767.98px){.offcanvas-md.showing,.offcanvas-md.hiding,.offcanvas-md.show{visibility:visible}}@media (min-width: 768px){.offcanvas-md{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-md .offcanvas-header{display:none}.offcanvas-md .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 991.98px){.offcanvas-lg{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 991.98px) and (prefers-reduced-motion: reduce){.offcanvas-lg{transition:none}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 991.98px){.offcanvas-lg.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 991.98px){.offcanvas-lg.showing,.offcanvas-lg.show:not(.hiding){transform:none}}@media (max-width: 991.98px){.offcanvas-lg.showing,.offcanvas-lg.hiding,.offcanvas-lg.show{visibility:visible}}@media (min-width: 992px){.offcanvas-lg{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-lg .offcanvas-header{display:none}.offcanvas-lg .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1199.98px){.offcanvas-xl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce){.offcanvas-xl{transition:none}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 1199.98px){.offcanvas-xl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 1199.98px){.offcanvas-xl.showing,.offcanvas-xl.show:not(.hiding){transform:none}}@media (max-width: 1199.98px){.offcanvas-xl.showing,.offcanvas-xl.hiding,.offcanvas-xl.show{visibility:visible}}@media (min-width: 1200px){.offcanvas-xl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xl .offcanvas-header{display:none}.offcanvas-xl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}@media (max-width: 1399.98px){.offcanvas-xxl{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}}@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce){.offcanvas-xxl{transition:none}}@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}}@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}}@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}}@media (max-width: 1399.98px){.offcanvas-xxl.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}}@media (max-width: 1399.98px){.offcanvas-xxl.showing,.offcanvas-xxl.show:not(.hiding){transform:none}}@media (max-width: 1399.98px){.offcanvas-xxl.showing,.offcanvas-xxl.hiding,.offcanvas-xxl.show{visibility:visible}}@media (min-width: 1400px){.offcanvas-xxl{--bs-offcanvas-height: auto;--bs-offcanvas-border-width: 0;background-color:transparent!important}.offcanvas-xxl .offcanvas-header{display:none}.offcanvas-xxl .offcanvas-body{display:flex;flex-grow:0;padding:0;overflow-y:visible;background-color:transparent!important}}.offcanvas{position:fixed;bottom:0;z-index:var(--bs-offcanvas-zindex);display:flex;flex-direction:column;max-width:100%;color:var(--bs-offcanvas-color);visibility:hidden;background-color:var(--bs-offcanvas-bg);background-clip:padding-box;outline:0;transition:transform .3s ease-in-out}@media (prefers-reduced-motion: reduce){.offcanvas{transition:none}}.offcanvas.offcanvas-start{top:0;left:0;width:var(--bs-offcanvas-width);border-right:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(-100%)}.offcanvas.offcanvas-end{top:0;right:0;width:var(--bs-offcanvas-width);border-left:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translate(100%)}.offcanvas.offcanvas-top{top:0;right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-bottom:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(-100%)}.offcanvas.offcanvas-bottom{right:0;left:0;height:var(--bs-offcanvas-height);max-height:100%;border-top:var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);transform:translateY(100%)}.offcanvas.showing,.offcanvas.show:not(.hiding){transform:none}.offcanvas.showing,.offcanvas.hiding,.offcanvas.show{visibility:visible}.offcanvas-backdrop{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background-color:#000}.offcanvas-backdrop.fade{opacity:0}.offcanvas-backdrop.show{opacity:.5}.offcanvas-header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x)}.offcanvas-header .btn-close{padding:calc(var(--bs-offcanvas-padding-y) * .5) calc(var(--bs-offcanvas-padding-x) * .5);margin-top:calc(-.5 * var(--bs-offcanvas-padding-y));margin-right:calc(-.5 * var(--bs-offcanvas-padding-x));margin-bottom:calc(-.5 * var(--bs-offcanvas-padding-y))}.offcanvas-title{margin-bottom:0;line-height:1.5}.offcanvas-body{flex-grow:1;padding:var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);overflow-y:auto}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:.5}.placeholder.btn:before{display:inline-block;content:""}.placeholder-xs{min-height:.6em}.placeholder-sm{min-height:.8em}.placeholder-lg{min-height:1.2em}.placeholder-glow .placeholder{animation:placeholder-glow 2s ease-in-out infinite}@keyframes placeholder-glow{50%{opacity:.2}}.placeholder-wave{mask-image:linear-gradient(130deg,#000 55%,rgba(0,0,0,.8) 75%,#000 95%);mask-size:200% 100%;animation:placeholder-wave 2s linear infinite}@keyframes placeholder-wave{to{mask-position:-200% 0%}}.clearfix:after{display:block;clear:both;content:""}.text-bg-primary{color:#000!important;background-color:RGBA(70,150,229,var(--bs-bg-opacity, 1))!important}.text-bg-secondary{color:#fff!important;background-color:RGBA(108,117,125,var(--bs-bg-opacity, 1))!important}.text-bg-success{color:#fff!important;background-color:RGBA(25,135,84,var(--bs-bg-opacity, 1))!important}.text-bg-info{color:#000!important;background-color:RGBA(13,202,240,var(--bs-bg-opacity, 1))!important}.text-bg-warning{color:#000!important;background-color:RGBA(255,193,7,var(--bs-bg-opacity, 1))!important}.text-bg-danger{color:#fff!important;background-color:RGBA(220,53,69,var(--bs-bg-opacity, 1))!important}.text-bg-light{color:#000!important;background-color:RGBA(248,249,250,var(--bs-bg-opacity, 1))!important}.text-bg-dark{color:#fff!important;background-color:RGBA(33,37,41,var(--bs-bg-opacity, 1))!important}.link-primary{color:#4696e5!important}.link-primary:hover,.link-primary:focus{color:#6babea!important}.link-secondary{color:#6c757d!important}.link-secondary:hover,.link-secondary:focus{color:#565e64!important}.link-success{color:#198754!important}.link-success:hover,.link-success:focus{color:#146c43!important}.link-info{color:#0dcaf0!important}.link-info:hover,.link-info:focus{color:#3dd5f3!important}.link-warning{color:#ffc107!important}.link-warning:hover,.link-warning:focus{color:#ffcd39!important}.link-danger{color:#dc3545!important}.link-danger:hover,.link-danger:focus{color:#b02a37!important}.link-light{color:#f8f9fa!important}.link-light:hover,.link-light:focus{color:#f9fafb!important}.link-dark{color:#212529!important}.link-dark:hover,.link-dark:focus{color:#1a1e21!important}.ratio{position:relative;width:100%}.ratio:before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio: 100%}.ratio-4x3{--bs-aspect-ratio: 75%}.ratio-16x9{--bs-aspect-ratio: 56.25%}.ratio-21x9{--bs-aspect-ratio: 42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.stretched-link:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:1px;min-height:1em;background-color:currentcolor;opacity:.25}.align-baseline{vertical-align:baseline!important}.align-top{vertical-align:top!important}.align-middle{vertical-align:middle!important}.align-bottom{vertical-align:bottom!important}.align-text-bottom{vertical-align:text-bottom!important}.align-text-top{vertical-align:text-top!important}.float-start{float:left!important}.float-end{float:right!important}.float-none{float:none!important}.opacity-0{opacity:0!important}.opacity-25{opacity:.25!important}.opacity-50{opacity:.5!important}.opacity-75{opacity:.75!important}.opacity-100{opacity:1!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-visible{overflow:visible!important}.overflow-scroll{overflow:scroll!important}.d-inline{display:inline!important}.d-inline-block{display:inline-block!important}.d-block{display:block!important}.d-grid{display:grid!important}.d-table{display:table!important}.d-table-row{display:table-row!important}.d-table-cell{display:table-cell!important}.d-flex{display:flex!important}.d-inline-flex{display:inline-flex!important}.d-none{display:none!important}.shadow{box-shadow:0 .5rem 1rem #00000026!important}.shadow-sm{box-shadow:0 .125rem .25rem #00000013!important}.shadow-lg{box-shadow:0 1rem 3rem #0000002d!important}.shadow-none{box-shadow:none!important}.position-static{position:static!important}.position-relative{position:relative!important}.position-absolute{position:absolute!important}.position-fixed{position:fixed!important}.position-sticky{position:sticky!important}.top-0{top:0!important}.top-50{top:50%!important}.top-100{top:100%!important}.bottom-0{bottom:0!important}.bottom-50{bottom:50%!important}.bottom-100{bottom:100%!important}.start-0{left:0!important}.start-50{left:50%!important}.start-100{left:100%!important}.end-0{right:0!important}.end-50{right:50%!important}.end-100{right:100%!important}.translate-middle{transform:translate(-50%,-50%)!important}.translate-middle-x{transform:translate(-50%)!important}.translate-middle-y{transform:translateY(-50%)!important}.border{border:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-0{border:0!important}.border-top{border-top:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-top-0{border-top:0!important}.border-end{border-right:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-end-0{border-right:0!important}.border-bottom{border-bottom:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-bottom-0{border-bottom:0!important}.border-start{border-left:var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important}.border-start-0{border-left:0!important}.border-primary{--bs-border-opacity: 1;border-color:rgba(var(--bs-primary-rgb),var(--bs-border-opacity))!important}.border-secondary{--bs-border-opacity: 1;border-color:rgba(var(--bs-secondary-rgb),var(--bs-border-opacity))!important}.border-success{--bs-border-opacity: 1;border-color:rgba(var(--bs-success-rgb),var(--bs-border-opacity))!important}.border-info{--bs-border-opacity: 1;border-color:rgba(var(--bs-info-rgb),var(--bs-border-opacity))!important}.border-warning{--bs-border-opacity: 1;border-color:rgba(var(--bs-warning-rgb),var(--bs-border-opacity))!important}.border-danger{--bs-border-opacity: 1;border-color:rgba(var(--bs-danger-rgb),var(--bs-border-opacity))!important}.border-light{--bs-border-opacity: 1;border-color:rgba(var(--bs-light-rgb),var(--bs-border-opacity))!important}.border-dark{--bs-border-opacity: 1;border-color:rgba(var(--bs-dark-rgb),var(--bs-border-opacity))!important}.border-white{--bs-border-opacity: 1;border-color:rgba(var(--bs-white-rgb),var(--bs-border-opacity))!important}.border-1{--bs-border-width: 1px}.border-2{--bs-border-width: 2px}.border-3{--bs-border-width: 3px}.border-4{--bs-border-width: 4px}.border-5{--bs-border-width: 5px}.border-opacity-10{--bs-border-opacity: .1}.border-opacity-25{--bs-border-opacity: .25}.border-opacity-50{--bs-border-opacity: .5}.border-opacity-75{--bs-border-opacity: .75}.border-opacity-100{--bs-border-opacity: 1}.w-25{width:25%!important}.w-50{width:50%!important}.w-75{width:75%!important}.w-100{width:100%!important}.w-auto{width:auto!important}.mw-100{max-width:100%!important}.vw-100{width:100vw!important}.min-vw-100{min-width:100vw!important}.h-25{height:25%!important}.h-50{height:50%!important}.h-75{height:75%!important}.h-100{height:100%!important}.h-auto{height:auto!important}.mh-100{max-height:100%!important}.vh-100{height:100vh!important}.min-vh-100{min-height:100vh!important}.flex-fill{flex:1 1 auto!important}.flex-row{flex-direction:row!important}.flex-column{flex-direction:column!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-column-reverse{flex-direction:column-reverse!important}.flex-grow-0{flex-grow:0!important}.flex-grow-1{flex-grow:1!important}.flex-shrink-0{flex-shrink:0!important}.flex-shrink-1{flex-shrink:1!important}.flex-wrap{flex-wrap:wrap!important}.flex-nowrap{flex-wrap:nowrap!important}.flex-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-start{justify-content:flex-start!important}.justify-content-end{justify-content:flex-end!important}.justify-content-center{justify-content:center!important}.justify-content-between{justify-content:space-between!important}.justify-content-around{justify-content:space-around!important}.justify-content-evenly{justify-content:space-evenly!important}.align-items-start{align-items:flex-start!important}.align-items-end{align-items:flex-end!important}.align-items-center{align-items:center!important}.align-items-baseline{align-items:baseline!important}.align-items-stretch{align-items:stretch!important}.align-content-start{align-content:flex-start!important}.align-content-end{align-content:flex-end!important}.align-content-center{align-content:center!important}.align-content-between{align-content:space-between!important}.align-content-around{align-content:space-around!important}.align-content-stretch{align-content:stretch!important}.align-self-auto{align-self:auto!important}.align-self-start{align-self:flex-start!important}.align-self-end{align-self:flex-end!important}.align-self-center{align-self:center!important}.align-self-baseline{align-self:baseline!important}.align-self-stretch{align-self:stretch!important}.order-first{order:-1!important}.order-0{order:0!important}.order-1{order:1!important}.order-2{order:2!important}.order-3{order:3!important}.order-4{order:4!important}.order-5{order:5!important}.order-last{order:6!important}.m-0{margin:0!important}.m-1{margin:.25rem!important}.m-2{margin:.5rem!important}.m-3{margin:1rem!important}.m-4{margin:1.5rem!important}.m-5{margin:3rem!important}.m-auto{margin:auto!important}.mx-0{margin-right:0!important;margin-left:0!important}.mx-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-3{margin-right:1rem!important;margin-left:1rem!important}.mx-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-5{margin-right:3rem!important;margin-left:3rem!important}.mx-auto{margin-right:auto!important;margin-left:auto!important}.my-0{margin-top:0!important;margin-bottom:0!important}.my-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-0{margin-top:0!important}.mt-1{margin-top:.25rem!important}.mt-2{margin-top:.5rem!important}.mt-3{margin-top:1rem!important}.mt-4{margin-top:1.5rem!important}.mt-5{margin-top:3rem!important}.mt-auto{margin-top:auto!important}.me-0{margin-right:0!important}.me-1{margin-right:.25rem!important}.me-2{margin-right:.5rem!important}.me-3{margin-right:1rem!important}.me-4{margin-right:1.5rem!important}.me-5{margin-right:3rem!important}.me-auto{margin-right:auto!important}.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem!important}.mb-2{margin-bottom:.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-4{margin-bottom:1.5rem!important}.mb-5{margin-bottom:3rem!important}.mb-auto{margin-bottom:auto!important}.ms-0{margin-left:0!important}.ms-1{margin-left:.25rem!important}.ms-2{margin-left:.5rem!important}.ms-3{margin-left:1rem!important}.ms-4{margin-left:1.5rem!important}.ms-5{margin-left:3rem!important}.ms-auto{margin-left:auto!important}.p-0{padding:0!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:1rem!important}.p-4{padding:1.5rem!important}.p-5{padding:3rem!important}.px-0{padding-right:0!important;padding-left:0!important}.px-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-3{padding-right:1rem!important;padding-left:1rem!important}.px-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-5{padding-right:3rem!important;padding-left:3rem!important}.py-0{padding-top:0!important;padding-bottom:0!important}.py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-0{padding-top:0!important}.pt-1{padding-top:.25rem!important}.pt-2{padding-top:.5rem!important}.pt-3{padding-top:1rem!important}.pt-4{padding-top:1.5rem!important}.pt-5{padding-top:3rem!important}.pe-0{padding-right:0!important}.pe-1{padding-right:.25rem!important}.pe-2{padding-right:.5rem!important}.pe-3{padding-right:1rem!important}.pe-4{padding-right:1.5rem!important}.pe-5{padding-right:3rem!important}.pb-0{padding-bottom:0!important}.pb-1{padding-bottom:.25rem!important}.pb-2{padding-bottom:.5rem!important}.pb-3{padding-bottom:1rem!important}.pb-4{padding-bottom:1.5rem!important}.pb-5{padding-bottom:3rem!important}.ps-0{padding-left:0!important}.ps-1{padding-left:.25rem!important}.ps-2{padding-left:.5rem!important}.ps-3{padding-left:1rem!important}.ps-4{padding-left:1.5rem!important}.ps-5{padding-left:3rem!important}.gap-0{gap:0!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.gap-3{gap:1rem!important}.gap-4{gap:1.5rem!important}.gap-5{gap:3rem!important}.font-monospace{font-family:var(--bs-font-monospace)!important}.fs-1{font-size:calc(1.375rem + 1.5vw)!important}.fs-2{font-size:calc(1.325rem + .9vw)!important}.fs-3{font-size:calc(1.3rem + .6vw)!important}.fs-4{font-size:calc(1.275rem + .3vw)!important}.fs-5{font-size:1.25rem!important}.fs-6{font-size:1rem!important}.fst-italic{font-style:italic!important}.fst-normal{font-style:normal!important}.fw-light{font-weight:300!important}.fw-lighter{font-weight:lighter!important}.fw-normal{font-weight:400!important}.fw-bold{font-weight:700!important}.fw-semibold{font-weight:600!important}.fw-bolder{font-weight:bolder!important}.lh-1{line-height:1!important}.lh-sm{line-height:1.25!important}.lh-base{line-height:1.5!important}.lh-lg{line-height:2!important}.text-start{text-align:left!important}.text-end{text-align:right!important}.text-center{text-align:center!important}.text-decoration-none{text-decoration:none!important}.text-decoration-underline{text-decoration:underline!important}.text-decoration-line-through{text-decoration:line-through!important}.text-lowercase{text-transform:lowercase!important}.text-uppercase{text-transform:uppercase!important}.text-capitalize{text-transform:capitalize!important}.text-wrap{white-space:normal!important}.text-nowrap{white-space:nowrap!important}.text-break{word-wrap:break-word!important;word-break:break-word!important}.text-primary{--bs-text-opacity: 1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}.text-secondary{--bs-text-opacity: 1;color:rgba(var(--bs-secondary-rgb),var(--bs-text-opacity))!important}.text-success{--bs-text-opacity: 1;color:rgba(var(--bs-success-rgb),var(--bs-text-opacity))!important}.text-info{--bs-text-opacity: 1;color:rgba(var(--bs-info-rgb),var(--bs-text-opacity))!important}.text-warning{--bs-text-opacity: 1;color:rgba(var(--bs-warning-rgb),var(--bs-text-opacity))!important}.text-danger{--bs-text-opacity: 1;color:rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important}.text-light{--bs-text-opacity: 1;color:rgba(var(--bs-light-rgb),var(--bs-text-opacity))!important}.text-dark{--bs-text-opacity: 1;color:rgba(var(--bs-dark-rgb),var(--bs-text-opacity))!important}.text-black{--bs-text-opacity: 1;color:rgba(var(--bs-black-rgb),var(--bs-text-opacity))!important}.text-white{--bs-text-opacity: 1;color:rgba(var(--bs-white-rgb),var(--bs-text-opacity))!important}.text-body{--bs-text-opacity: 1;color:rgba(var(--bs-body-color-rgb),var(--bs-text-opacity))!important}.text-muted{--bs-text-opacity: 1;color:#6c757d!important}.text-black-50{--bs-text-opacity: 1;color:#00000080!important}.text-white-50{--bs-text-opacity: 1;color:#ffffff80!important}.text-reset{--bs-text-opacity: 1;color:inherit!important}.text-opacity-25{--bs-text-opacity: .25}.text-opacity-50{--bs-text-opacity: .5}.text-opacity-75{--bs-text-opacity: .75}.text-opacity-100{--bs-text-opacity: 1}.bg-primary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-primary-rgb),var(--bs-bg-opacity))!important}.bg-secondary{--bs-bg-opacity: 1;background-color:rgba(var(--bs-secondary-rgb),var(--bs-bg-opacity))!important}.bg-success{--bs-bg-opacity: 1;background-color:rgba(var(--bs-success-rgb),var(--bs-bg-opacity))!important}.bg-info{--bs-bg-opacity: 1;background-color:rgba(var(--bs-info-rgb),var(--bs-bg-opacity))!important}.bg-warning{--bs-bg-opacity: 1;background-color:rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important}.bg-danger{--bs-bg-opacity: 1;background-color:rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important}.bg-light{--bs-bg-opacity: 1;background-color:rgba(var(--bs-light-rgb),var(--bs-bg-opacity))!important}.bg-dark{--bs-bg-opacity: 1;background-color:rgba(var(--bs-dark-rgb),var(--bs-bg-opacity))!important}.bg-black{--bs-bg-opacity: 1;background-color:rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important}.bg-white{--bs-bg-opacity: 1;background-color:rgba(var(--bs-white-rgb),var(--bs-bg-opacity))!important}.bg-body{--bs-bg-opacity: 1;background-color:rgba(var(--bs-body-bg-rgb),var(--bs-bg-opacity))!important}.bg-transparent{--bs-bg-opacity: 1;background-color:transparent!important}.bg-opacity-10{--bs-bg-opacity: .1}.bg-opacity-25{--bs-bg-opacity: .25}.bg-opacity-50{--bs-bg-opacity: .5}.bg-opacity-75{--bs-bg-opacity: .75}.bg-opacity-100{--bs-bg-opacity: 1}.bg-gradient{background-image:var(--bs-gradient)!important}.user-select-all{user-select:all!important}.user-select-auto{user-select:auto!important}.user-select-none{user-select:none!important}.pe-none{pointer-events:none!important}.pe-auto{pointer-events:auto!important}.rounded{border-radius:var(--bs-border-radius)!important}.rounded-0{border-radius:0!important}.rounded-1{border-radius:var(--bs-border-radius-sm)!important}.rounded-2{border-radius:var(--bs-border-radius)!important}.rounded-3{border-radius:var(--bs-border-radius-lg)!important}.rounded-4{border-radius:var(--bs-border-radius-xl)!important}.rounded-5{border-radius:var(--bs-border-radius-2xl)!important}.rounded-circle{border-radius:50%!important}.rounded-pill{border-radius:var(--bs-border-radius-pill)!important}.rounded-top{border-top-left-radius:var(--bs-border-radius)!important;border-top-right-radius:var(--bs-border-radius)!important}.rounded-end{border-top-right-radius:var(--bs-border-radius)!important;border-bottom-right-radius:var(--bs-border-radius)!important}.rounded-bottom{border-bottom-right-radius:var(--bs-border-radius)!important;border-bottom-left-radius:var(--bs-border-radius)!important}.rounded-start{border-bottom-left-radius:var(--bs-border-radius)!important;border-top-left-radius:var(--bs-border-radius)!important}.visible{visibility:visible!important}.invisible{visibility:hidden!important}@media (min-width: 576px){.float-sm-start{float:left!important}.float-sm-end{float:right!important}.float-sm-none{float:none!important}.d-sm-inline{display:inline!important}.d-sm-inline-block{display:inline-block!important}.d-sm-block{display:block!important}.d-sm-grid{display:grid!important}.d-sm-table{display:table!important}.d-sm-table-row{display:table-row!important}.d-sm-table-cell{display:table-cell!important}.d-sm-flex{display:flex!important}.d-sm-inline-flex{display:inline-flex!important}.d-sm-none{display:none!important}.flex-sm-fill{flex:1 1 auto!important}.flex-sm-row{flex-direction:row!important}.flex-sm-column{flex-direction:column!important}.flex-sm-row-reverse{flex-direction:row-reverse!important}.flex-sm-column-reverse{flex-direction:column-reverse!important}.flex-sm-grow-0{flex-grow:0!important}.flex-sm-grow-1{flex-grow:1!important}.flex-sm-shrink-0{flex-shrink:0!important}.flex-sm-shrink-1{flex-shrink:1!important}.flex-sm-wrap{flex-wrap:wrap!important}.flex-sm-nowrap{flex-wrap:nowrap!important}.flex-sm-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-sm-start{justify-content:flex-start!important}.justify-content-sm-end{justify-content:flex-end!important}.justify-content-sm-center{justify-content:center!important}.justify-content-sm-between{justify-content:space-between!important}.justify-content-sm-around{justify-content:space-around!important}.justify-content-sm-evenly{justify-content:space-evenly!important}.align-items-sm-start{align-items:flex-start!important}.align-items-sm-end{align-items:flex-end!important}.align-items-sm-center{align-items:center!important}.align-items-sm-baseline{align-items:baseline!important}.align-items-sm-stretch{align-items:stretch!important}.align-content-sm-start{align-content:flex-start!important}.align-content-sm-end{align-content:flex-end!important}.align-content-sm-center{align-content:center!important}.align-content-sm-between{align-content:space-between!important}.align-content-sm-around{align-content:space-around!important}.align-content-sm-stretch{align-content:stretch!important}.align-self-sm-auto{align-self:auto!important}.align-self-sm-start{align-self:flex-start!important}.align-self-sm-end{align-self:flex-end!important}.align-self-sm-center{align-self:center!important}.align-self-sm-baseline{align-self:baseline!important}.align-self-sm-stretch{align-self:stretch!important}.order-sm-first{order:-1!important}.order-sm-0{order:0!important}.order-sm-1{order:1!important}.order-sm-2{order:2!important}.order-sm-3{order:3!important}.order-sm-4{order:4!important}.order-sm-5{order:5!important}.order-sm-last{order:6!important}.m-sm-0{margin:0!important}.m-sm-1{margin:.25rem!important}.m-sm-2{margin:.5rem!important}.m-sm-3{margin:1rem!important}.m-sm-4{margin:1.5rem!important}.m-sm-5{margin:3rem!important}.m-sm-auto{margin:auto!important}.mx-sm-0{margin-right:0!important;margin-left:0!important}.mx-sm-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-sm-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-sm-3{margin-right:1rem!important;margin-left:1rem!important}.mx-sm-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-sm-5{margin-right:3rem!important;margin-left:3rem!important}.mx-sm-auto{margin-right:auto!important;margin-left:auto!important}.my-sm-0{margin-top:0!important;margin-bottom:0!important}.my-sm-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-sm-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-sm-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-sm-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-sm-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-sm-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-sm-0{margin-top:0!important}.mt-sm-1{margin-top:.25rem!important}.mt-sm-2{margin-top:.5rem!important}.mt-sm-3{margin-top:1rem!important}.mt-sm-4{margin-top:1.5rem!important}.mt-sm-5{margin-top:3rem!important}.mt-sm-auto{margin-top:auto!important}.me-sm-0{margin-right:0!important}.me-sm-1{margin-right:.25rem!important}.me-sm-2{margin-right:.5rem!important}.me-sm-3{margin-right:1rem!important}.me-sm-4{margin-right:1.5rem!important}.me-sm-5{margin-right:3rem!important}.me-sm-auto{margin-right:auto!important}.mb-sm-0{margin-bottom:0!important}.mb-sm-1{margin-bottom:.25rem!important}.mb-sm-2{margin-bottom:.5rem!important}.mb-sm-3{margin-bottom:1rem!important}.mb-sm-4{margin-bottom:1.5rem!important}.mb-sm-5{margin-bottom:3rem!important}.mb-sm-auto{margin-bottom:auto!important}.ms-sm-0{margin-left:0!important}.ms-sm-1{margin-left:.25rem!important}.ms-sm-2{margin-left:.5rem!important}.ms-sm-3{margin-left:1rem!important}.ms-sm-4{margin-left:1.5rem!important}.ms-sm-5{margin-left:3rem!important}.ms-sm-auto{margin-left:auto!important}.p-sm-0{padding:0!important}.p-sm-1{padding:.25rem!important}.p-sm-2{padding:.5rem!important}.p-sm-3{padding:1rem!important}.p-sm-4{padding:1.5rem!important}.p-sm-5{padding:3rem!important}.px-sm-0{padding-right:0!important;padding-left:0!important}.px-sm-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-sm-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-sm-3{padding-right:1rem!important;padding-left:1rem!important}.px-sm-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-sm-5{padding-right:3rem!important;padding-left:3rem!important}.py-sm-0{padding-top:0!important;padding-bottom:0!important}.py-sm-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-sm-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-sm-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-sm-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-sm-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-sm-0{padding-top:0!important}.pt-sm-1{padding-top:.25rem!important}.pt-sm-2{padding-top:.5rem!important}.pt-sm-3{padding-top:1rem!important}.pt-sm-4{padding-top:1.5rem!important}.pt-sm-5{padding-top:3rem!important}.pe-sm-0{padding-right:0!important}.pe-sm-1{padding-right:.25rem!important}.pe-sm-2{padding-right:.5rem!important}.pe-sm-3{padding-right:1rem!important}.pe-sm-4{padding-right:1.5rem!important}.pe-sm-5{padding-right:3rem!important}.pb-sm-0{padding-bottom:0!important}.pb-sm-1{padding-bottom:.25rem!important}.pb-sm-2{padding-bottom:.5rem!important}.pb-sm-3{padding-bottom:1rem!important}.pb-sm-4{padding-bottom:1.5rem!important}.pb-sm-5{padding-bottom:3rem!important}.ps-sm-0{padding-left:0!important}.ps-sm-1{padding-left:.25rem!important}.ps-sm-2{padding-left:.5rem!important}.ps-sm-3{padding-left:1rem!important}.ps-sm-4{padding-left:1.5rem!important}.ps-sm-5{padding-left:3rem!important}.gap-sm-0{gap:0!important}.gap-sm-1{gap:.25rem!important}.gap-sm-2{gap:.5rem!important}.gap-sm-3{gap:1rem!important}.gap-sm-4{gap:1.5rem!important}.gap-sm-5{gap:3rem!important}.text-sm-start{text-align:left!important}.text-sm-end{text-align:right!important}.text-sm-center{text-align:center!important}}@media (min-width: 768px){.float-md-start{float:left!important}.float-md-end{float:right!important}.float-md-none{float:none!important}.d-md-inline{display:inline!important}.d-md-inline-block{display:inline-block!important}.d-md-block{display:block!important}.d-md-grid{display:grid!important}.d-md-table{display:table!important}.d-md-table-row{display:table-row!important}.d-md-table-cell{display:table-cell!important}.d-md-flex{display:flex!important}.d-md-inline-flex{display:inline-flex!important}.d-md-none{display:none!important}.flex-md-fill{flex:1 1 auto!important}.flex-md-row{flex-direction:row!important}.flex-md-column{flex-direction:column!important}.flex-md-row-reverse{flex-direction:row-reverse!important}.flex-md-column-reverse{flex-direction:column-reverse!important}.flex-md-grow-0{flex-grow:0!important}.flex-md-grow-1{flex-grow:1!important}.flex-md-shrink-0{flex-shrink:0!important}.flex-md-shrink-1{flex-shrink:1!important}.flex-md-wrap{flex-wrap:wrap!important}.flex-md-nowrap{flex-wrap:nowrap!important}.flex-md-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-md-start{justify-content:flex-start!important}.justify-content-md-end{justify-content:flex-end!important}.justify-content-md-center{justify-content:center!important}.justify-content-md-between{justify-content:space-between!important}.justify-content-md-around{justify-content:space-around!important}.justify-content-md-evenly{justify-content:space-evenly!important}.align-items-md-start{align-items:flex-start!important}.align-items-md-end{align-items:flex-end!important}.align-items-md-center{align-items:center!important}.align-items-md-baseline{align-items:baseline!important}.align-items-md-stretch{align-items:stretch!important}.align-content-md-start{align-content:flex-start!important}.align-content-md-end{align-content:flex-end!important}.align-content-md-center{align-content:center!important}.align-content-md-between{align-content:space-between!important}.align-content-md-around{align-content:space-around!important}.align-content-md-stretch{align-content:stretch!important}.align-self-md-auto{align-self:auto!important}.align-self-md-start{align-self:flex-start!important}.align-self-md-end{align-self:flex-end!important}.align-self-md-center{align-self:center!important}.align-self-md-baseline{align-self:baseline!important}.align-self-md-stretch{align-self:stretch!important}.order-md-first{order:-1!important}.order-md-0{order:0!important}.order-md-1{order:1!important}.order-md-2{order:2!important}.order-md-3{order:3!important}.order-md-4{order:4!important}.order-md-5{order:5!important}.order-md-last{order:6!important}.m-md-0{margin:0!important}.m-md-1{margin:.25rem!important}.m-md-2{margin:.5rem!important}.m-md-3{margin:1rem!important}.m-md-4{margin:1.5rem!important}.m-md-5{margin:3rem!important}.m-md-auto{margin:auto!important}.mx-md-0{margin-right:0!important;margin-left:0!important}.mx-md-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-md-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-md-3{margin-right:1rem!important;margin-left:1rem!important}.mx-md-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-md-5{margin-right:3rem!important;margin-left:3rem!important}.mx-md-auto{margin-right:auto!important;margin-left:auto!important}.my-md-0{margin-top:0!important;margin-bottom:0!important}.my-md-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-md-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-md-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-md-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-md-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-md-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-md-0{margin-top:0!important}.mt-md-1{margin-top:.25rem!important}.mt-md-2{margin-top:.5rem!important}.mt-md-3{margin-top:1rem!important}.mt-md-4{margin-top:1.5rem!important}.mt-md-5{margin-top:3rem!important}.mt-md-auto{margin-top:auto!important}.me-md-0{margin-right:0!important}.me-md-1{margin-right:.25rem!important}.me-md-2{margin-right:.5rem!important}.me-md-3{margin-right:1rem!important}.me-md-4{margin-right:1.5rem!important}.me-md-5{margin-right:3rem!important}.me-md-auto{margin-right:auto!important}.mb-md-0{margin-bottom:0!important}.mb-md-1{margin-bottom:.25rem!important}.mb-md-2{margin-bottom:.5rem!important}.mb-md-3{margin-bottom:1rem!important}.mb-md-4{margin-bottom:1.5rem!important}.mb-md-5{margin-bottom:3rem!important}.mb-md-auto{margin-bottom:auto!important}.ms-md-0{margin-left:0!important}.ms-md-1{margin-left:.25rem!important}.ms-md-2{margin-left:.5rem!important}.ms-md-3{margin-left:1rem!important}.ms-md-4{margin-left:1.5rem!important}.ms-md-5{margin-left:3rem!important}.ms-md-auto{margin-left:auto!important}.p-md-0{padding:0!important}.p-md-1{padding:.25rem!important}.p-md-2{padding:.5rem!important}.p-md-3{padding:1rem!important}.p-md-4{padding:1.5rem!important}.p-md-5{padding:3rem!important}.px-md-0{padding-right:0!important;padding-left:0!important}.px-md-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-md-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-md-3{padding-right:1rem!important;padding-left:1rem!important}.px-md-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-md-5{padding-right:3rem!important;padding-left:3rem!important}.py-md-0{padding-top:0!important;padding-bottom:0!important}.py-md-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-md-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-md-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-md-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-md-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-md-0{padding-top:0!important}.pt-md-1{padding-top:.25rem!important}.pt-md-2{padding-top:.5rem!important}.pt-md-3{padding-top:1rem!important}.pt-md-4{padding-top:1.5rem!important}.pt-md-5{padding-top:3rem!important}.pe-md-0{padding-right:0!important}.pe-md-1{padding-right:.25rem!important}.pe-md-2{padding-right:.5rem!important}.pe-md-3{padding-right:1rem!important}.pe-md-4{padding-right:1.5rem!important}.pe-md-5{padding-right:3rem!important}.pb-md-0{padding-bottom:0!important}.pb-md-1{padding-bottom:.25rem!important}.pb-md-2{padding-bottom:.5rem!important}.pb-md-3{padding-bottom:1rem!important}.pb-md-4{padding-bottom:1.5rem!important}.pb-md-5{padding-bottom:3rem!important}.ps-md-0{padding-left:0!important}.ps-md-1{padding-left:.25rem!important}.ps-md-2{padding-left:.5rem!important}.ps-md-3{padding-left:1rem!important}.ps-md-4{padding-left:1.5rem!important}.ps-md-5{padding-left:3rem!important}.gap-md-0{gap:0!important}.gap-md-1{gap:.25rem!important}.gap-md-2{gap:.5rem!important}.gap-md-3{gap:1rem!important}.gap-md-4{gap:1.5rem!important}.gap-md-5{gap:3rem!important}.text-md-start{text-align:left!important}.text-md-end{text-align:right!important}.text-md-center{text-align:center!important}}@media (min-width: 992px){.float-lg-start{float:left!important}.float-lg-end{float:right!important}.float-lg-none{float:none!important}.d-lg-inline{display:inline!important}.d-lg-inline-block{display:inline-block!important}.d-lg-block{display:block!important}.d-lg-grid{display:grid!important}.d-lg-table{display:table!important}.d-lg-table-row{display:table-row!important}.d-lg-table-cell{display:table-cell!important}.d-lg-flex{display:flex!important}.d-lg-inline-flex{display:inline-flex!important}.d-lg-none{display:none!important}.flex-lg-fill{flex:1 1 auto!important}.flex-lg-row{flex-direction:row!important}.flex-lg-column{flex-direction:column!important}.flex-lg-row-reverse{flex-direction:row-reverse!important}.flex-lg-column-reverse{flex-direction:column-reverse!important}.flex-lg-grow-0{flex-grow:0!important}.flex-lg-grow-1{flex-grow:1!important}.flex-lg-shrink-0{flex-shrink:0!important}.flex-lg-shrink-1{flex-shrink:1!important}.flex-lg-wrap{flex-wrap:wrap!important}.flex-lg-nowrap{flex-wrap:nowrap!important}.flex-lg-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-lg-start{justify-content:flex-start!important}.justify-content-lg-end{justify-content:flex-end!important}.justify-content-lg-center{justify-content:center!important}.justify-content-lg-between{justify-content:space-between!important}.justify-content-lg-around{justify-content:space-around!important}.justify-content-lg-evenly{justify-content:space-evenly!important}.align-items-lg-start{align-items:flex-start!important}.align-items-lg-end{align-items:flex-end!important}.align-items-lg-center{align-items:center!important}.align-items-lg-baseline{align-items:baseline!important}.align-items-lg-stretch{align-items:stretch!important}.align-content-lg-start{align-content:flex-start!important}.align-content-lg-end{align-content:flex-end!important}.align-content-lg-center{align-content:center!important}.align-content-lg-between{align-content:space-between!important}.align-content-lg-around{align-content:space-around!important}.align-content-lg-stretch{align-content:stretch!important}.align-self-lg-auto{align-self:auto!important}.align-self-lg-start{align-self:flex-start!important}.align-self-lg-end{align-self:flex-end!important}.align-self-lg-center{align-self:center!important}.align-self-lg-baseline{align-self:baseline!important}.align-self-lg-stretch{align-self:stretch!important}.order-lg-first{order:-1!important}.order-lg-0{order:0!important}.order-lg-1{order:1!important}.order-lg-2{order:2!important}.order-lg-3{order:3!important}.order-lg-4{order:4!important}.order-lg-5{order:5!important}.order-lg-last{order:6!important}.m-lg-0{margin:0!important}.m-lg-1{margin:.25rem!important}.m-lg-2{margin:.5rem!important}.m-lg-3{margin:1rem!important}.m-lg-4{margin:1.5rem!important}.m-lg-5{margin:3rem!important}.m-lg-auto{margin:auto!important}.mx-lg-0{margin-right:0!important;margin-left:0!important}.mx-lg-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-lg-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-lg-3{margin-right:1rem!important;margin-left:1rem!important}.mx-lg-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-lg-5{margin-right:3rem!important;margin-left:3rem!important}.mx-lg-auto{margin-right:auto!important;margin-left:auto!important}.my-lg-0{margin-top:0!important;margin-bottom:0!important}.my-lg-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-lg-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-lg-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-lg-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-lg-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-lg-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-lg-0{margin-top:0!important}.mt-lg-1{margin-top:.25rem!important}.mt-lg-2{margin-top:.5rem!important}.mt-lg-3{margin-top:1rem!important}.mt-lg-4{margin-top:1.5rem!important}.mt-lg-5{margin-top:3rem!important}.mt-lg-auto{margin-top:auto!important}.me-lg-0{margin-right:0!important}.me-lg-1{margin-right:.25rem!important}.me-lg-2{margin-right:.5rem!important}.me-lg-3{margin-right:1rem!important}.me-lg-4{margin-right:1.5rem!important}.me-lg-5{margin-right:3rem!important}.me-lg-auto{margin-right:auto!important}.mb-lg-0{margin-bottom:0!important}.mb-lg-1{margin-bottom:.25rem!important}.mb-lg-2{margin-bottom:.5rem!important}.mb-lg-3{margin-bottom:1rem!important}.mb-lg-4{margin-bottom:1.5rem!important}.mb-lg-5{margin-bottom:3rem!important}.mb-lg-auto{margin-bottom:auto!important}.ms-lg-0{margin-left:0!important}.ms-lg-1{margin-left:.25rem!important}.ms-lg-2{margin-left:.5rem!important}.ms-lg-3{margin-left:1rem!important}.ms-lg-4{margin-left:1.5rem!important}.ms-lg-5{margin-left:3rem!important}.ms-lg-auto{margin-left:auto!important}.p-lg-0{padding:0!important}.p-lg-1{padding:.25rem!important}.p-lg-2{padding:.5rem!important}.p-lg-3{padding:1rem!important}.p-lg-4{padding:1.5rem!important}.p-lg-5{padding:3rem!important}.px-lg-0{padding-right:0!important;padding-left:0!important}.px-lg-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-lg-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-lg-3{padding-right:1rem!important;padding-left:1rem!important}.px-lg-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-lg-5{padding-right:3rem!important;padding-left:3rem!important}.py-lg-0{padding-top:0!important;padding-bottom:0!important}.py-lg-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-lg-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-lg-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-lg-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-lg-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-lg-0{padding-top:0!important}.pt-lg-1{padding-top:.25rem!important}.pt-lg-2{padding-top:.5rem!important}.pt-lg-3{padding-top:1rem!important}.pt-lg-4{padding-top:1.5rem!important}.pt-lg-5{padding-top:3rem!important}.pe-lg-0{padding-right:0!important}.pe-lg-1{padding-right:.25rem!important}.pe-lg-2{padding-right:.5rem!important}.pe-lg-3{padding-right:1rem!important}.pe-lg-4{padding-right:1.5rem!important}.pe-lg-5{padding-right:3rem!important}.pb-lg-0{padding-bottom:0!important}.pb-lg-1{padding-bottom:.25rem!important}.pb-lg-2{padding-bottom:.5rem!important}.pb-lg-3{padding-bottom:1rem!important}.pb-lg-4{padding-bottom:1.5rem!important}.pb-lg-5{padding-bottom:3rem!important}.ps-lg-0{padding-left:0!important}.ps-lg-1{padding-left:.25rem!important}.ps-lg-2{padding-left:.5rem!important}.ps-lg-3{padding-left:1rem!important}.ps-lg-4{padding-left:1.5rem!important}.ps-lg-5{padding-left:3rem!important}.gap-lg-0{gap:0!important}.gap-lg-1{gap:.25rem!important}.gap-lg-2{gap:.5rem!important}.gap-lg-3{gap:1rem!important}.gap-lg-4{gap:1.5rem!important}.gap-lg-5{gap:3rem!important}.text-lg-start{text-align:left!important}.text-lg-end{text-align:right!important}.text-lg-center{text-align:center!important}}@media (min-width: 1200px){.float-xl-start{float:left!important}.float-xl-end{float:right!important}.float-xl-none{float:none!important}.d-xl-inline{display:inline!important}.d-xl-inline-block{display:inline-block!important}.d-xl-block{display:block!important}.d-xl-grid{display:grid!important}.d-xl-table{display:table!important}.d-xl-table-row{display:table-row!important}.d-xl-table-cell{display:table-cell!important}.d-xl-flex{display:flex!important}.d-xl-inline-flex{display:inline-flex!important}.d-xl-none{display:none!important}.flex-xl-fill{flex:1 1 auto!important}.flex-xl-row{flex-direction:row!important}.flex-xl-column{flex-direction:column!important}.flex-xl-row-reverse{flex-direction:row-reverse!important}.flex-xl-column-reverse{flex-direction:column-reverse!important}.flex-xl-grow-0{flex-grow:0!important}.flex-xl-grow-1{flex-grow:1!important}.flex-xl-shrink-0{flex-shrink:0!important}.flex-xl-shrink-1{flex-shrink:1!important}.flex-xl-wrap{flex-wrap:wrap!important}.flex-xl-nowrap{flex-wrap:nowrap!important}.flex-xl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xl-start{justify-content:flex-start!important}.justify-content-xl-end{justify-content:flex-end!important}.justify-content-xl-center{justify-content:center!important}.justify-content-xl-between{justify-content:space-between!important}.justify-content-xl-around{justify-content:space-around!important}.justify-content-xl-evenly{justify-content:space-evenly!important}.align-items-xl-start{align-items:flex-start!important}.align-items-xl-end{align-items:flex-end!important}.align-items-xl-center{align-items:center!important}.align-items-xl-baseline{align-items:baseline!important}.align-items-xl-stretch{align-items:stretch!important}.align-content-xl-start{align-content:flex-start!important}.align-content-xl-end{align-content:flex-end!important}.align-content-xl-center{align-content:center!important}.align-content-xl-between{align-content:space-between!important}.align-content-xl-around{align-content:space-around!important}.align-content-xl-stretch{align-content:stretch!important}.align-self-xl-auto{align-self:auto!important}.align-self-xl-start{align-self:flex-start!important}.align-self-xl-end{align-self:flex-end!important}.align-self-xl-center{align-self:center!important}.align-self-xl-baseline{align-self:baseline!important}.align-self-xl-stretch{align-self:stretch!important}.order-xl-first{order:-1!important}.order-xl-0{order:0!important}.order-xl-1{order:1!important}.order-xl-2{order:2!important}.order-xl-3{order:3!important}.order-xl-4{order:4!important}.order-xl-5{order:5!important}.order-xl-last{order:6!important}.m-xl-0{margin:0!important}.m-xl-1{margin:.25rem!important}.m-xl-2{margin:.5rem!important}.m-xl-3{margin:1rem!important}.m-xl-4{margin:1.5rem!important}.m-xl-5{margin:3rem!important}.m-xl-auto{margin:auto!important}.mx-xl-0{margin-right:0!important;margin-left:0!important}.mx-xl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xl-auto{margin-right:auto!important;margin-left:auto!important}.my-xl-0{margin-top:0!important;margin-bottom:0!important}.my-xl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xl-0{margin-top:0!important}.mt-xl-1{margin-top:.25rem!important}.mt-xl-2{margin-top:.5rem!important}.mt-xl-3{margin-top:1rem!important}.mt-xl-4{margin-top:1.5rem!important}.mt-xl-5{margin-top:3rem!important}.mt-xl-auto{margin-top:auto!important}.me-xl-0{margin-right:0!important}.me-xl-1{margin-right:.25rem!important}.me-xl-2{margin-right:.5rem!important}.me-xl-3{margin-right:1rem!important}.me-xl-4{margin-right:1.5rem!important}.me-xl-5{margin-right:3rem!important}.me-xl-auto{margin-right:auto!important}.mb-xl-0{margin-bottom:0!important}.mb-xl-1{margin-bottom:.25rem!important}.mb-xl-2{margin-bottom:.5rem!important}.mb-xl-3{margin-bottom:1rem!important}.mb-xl-4{margin-bottom:1.5rem!important}.mb-xl-5{margin-bottom:3rem!important}.mb-xl-auto{margin-bottom:auto!important}.ms-xl-0{margin-left:0!important}.ms-xl-1{margin-left:.25rem!important}.ms-xl-2{margin-left:.5rem!important}.ms-xl-3{margin-left:1rem!important}.ms-xl-4{margin-left:1.5rem!important}.ms-xl-5{margin-left:3rem!important}.ms-xl-auto{margin-left:auto!important}.p-xl-0{padding:0!important}.p-xl-1{padding:.25rem!important}.p-xl-2{padding:.5rem!important}.p-xl-3{padding:1rem!important}.p-xl-4{padding:1.5rem!important}.p-xl-5{padding:3rem!important}.px-xl-0{padding-right:0!important;padding-left:0!important}.px-xl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xl-0{padding-top:0!important;padding-bottom:0!important}.py-xl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xl-0{padding-top:0!important}.pt-xl-1{padding-top:.25rem!important}.pt-xl-2{padding-top:.5rem!important}.pt-xl-3{padding-top:1rem!important}.pt-xl-4{padding-top:1.5rem!important}.pt-xl-5{padding-top:3rem!important}.pe-xl-0{padding-right:0!important}.pe-xl-1{padding-right:.25rem!important}.pe-xl-2{padding-right:.5rem!important}.pe-xl-3{padding-right:1rem!important}.pe-xl-4{padding-right:1.5rem!important}.pe-xl-5{padding-right:3rem!important}.pb-xl-0{padding-bottom:0!important}.pb-xl-1{padding-bottom:.25rem!important}.pb-xl-2{padding-bottom:.5rem!important}.pb-xl-3{padding-bottom:1rem!important}.pb-xl-4{padding-bottom:1.5rem!important}.pb-xl-5{padding-bottom:3rem!important}.ps-xl-0{padding-left:0!important}.ps-xl-1{padding-left:.25rem!important}.ps-xl-2{padding-left:.5rem!important}.ps-xl-3{padding-left:1rem!important}.ps-xl-4{padding-left:1.5rem!important}.ps-xl-5{padding-left:3rem!important}.gap-xl-0{gap:0!important}.gap-xl-1{gap:.25rem!important}.gap-xl-2{gap:.5rem!important}.gap-xl-3{gap:1rem!important}.gap-xl-4{gap:1.5rem!important}.gap-xl-5{gap:3rem!important}.text-xl-start{text-align:left!important}.text-xl-end{text-align:right!important}.text-xl-center{text-align:center!important}}@media (min-width: 1400px){.float-xxl-start{float:left!important}.float-xxl-end{float:right!important}.float-xxl-none{float:none!important}.d-xxl-inline{display:inline!important}.d-xxl-inline-block{display:inline-block!important}.d-xxl-block{display:block!important}.d-xxl-grid{display:grid!important}.d-xxl-table{display:table!important}.d-xxl-table-row{display:table-row!important}.d-xxl-table-cell{display:table-cell!important}.d-xxl-flex{display:flex!important}.d-xxl-inline-flex{display:inline-flex!important}.d-xxl-none{display:none!important}.flex-xxl-fill{flex:1 1 auto!important}.flex-xxl-row{flex-direction:row!important}.flex-xxl-column{flex-direction:column!important}.flex-xxl-row-reverse{flex-direction:row-reverse!important}.flex-xxl-column-reverse{flex-direction:column-reverse!important}.flex-xxl-grow-0{flex-grow:0!important}.flex-xxl-grow-1{flex-grow:1!important}.flex-xxl-shrink-0{flex-shrink:0!important}.flex-xxl-shrink-1{flex-shrink:1!important}.flex-xxl-wrap{flex-wrap:wrap!important}.flex-xxl-nowrap{flex-wrap:nowrap!important}.flex-xxl-wrap-reverse{flex-wrap:wrap-reverse!important}.justify-content-xxl-start{justify-content:flex-start!important}.justify-content-xxl-end{justify-content:flex-end!important}.justify-content-xxl-center{justify-content:center!important}.justify-content-xxl-between{justify-content:space-between!important}.justify-content-xxl-around{justify-content:space-around!important}.justify-content-xxl-evenly{justify-content:space-evenly!important}.align-items-xxl-start{align-items:flex-start!important}.align-items-xxl-end{align-items:flex-end!important}.align-items-xxl-center{align-items:center!important}.align-items-xxl-baseline{align-items:baseline!important}.align-items-xxl-stretch{align-items:stretch!important}.align-content-xxl-start{align-content:flex-start!important}.align-content-xxl-end{align-content:flex-end!important}.align-content-xxl-center{align-content:center!important}.align-content-xxl-between{align-content:space-between!important}.align-content-xxl-around{align-content:space-around!important}.align-content-xxl-stretch{align-content:stretch!important}.align-self-xxl-auto{align-self:auto!important}.align-self-xxl-start{align-self:flex-start!important}.align-self-xxl-end{align-self:flex-end!important}.align-self-xxl-center{align-self:center!important}.align-self-xxl-baseline{align-self:baseline!important}.align-self-xxl-stretch{align-self:stretch!important}.order-xxl-first{order:-1!important}.order-xxl-0{order:0!important}.order-xxl-1{order:1!important}.order-xxl-2{order:2!important}.order-xxl-3{order:3!important}.order-xxl-4{order:4!important}.order-xxl-5{order:5!important}.order-xxl-last{order:6!important}.m-xxl-0{margin:0!important}.m-xxl-1{margin:.25rem!important}.m-xxl-2{margin:.5rem!important}.m-xxl-3{margin:1rem!important}.m-xxl-4{margin:1.5rem!important}.m-xxl-5{margin:3rem!important}.m-xxl-auto{margin:auto!important}.mx-xxl-0{margin-right:0!important;margin-left:0!important}.mx-xxl-1{margin-right:.25rem!important;margin-left:.25rem!important}.mx-xxl-2{margin-right:.5rem!important;margin-left:.5rem!important}.mx-xxl-3{margin-right:1rem!important;margin-left:1rem!important}.mx-xxl-4{margin-right:1.5rem!important;margin-left:1.5rem!important}.mx-xxl-5{margin-right:3rem!important;margin-left:3rem!important}.mx-xxl-auto{margin-right:auto!important;margin-left:auto!important}.my-xxl-0{margin-top:0!important;margin-bottom:0!important}.my-xxl-1{margin-top:.25rem!important;margin-bottom:.25rem!important}.my-xxl-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.my-xxl-3{margin-top:1rem!important;margin-bottom:1rem!important}.my-xxl-4{margin-top:1.5rem!important;margin-bottom:1.5rem!important}.my-xxl-5{margin-top:3rem!important;margin-bottom:3rem!important}.my-xxl-auto{margin-top:auto!important;margin-bottom:auto!important}.mt-xxl-0{margin-top:0!important}.mt-xxl-1{margin-top:.25rem!important}.mt-xxl-2{margin-top:.5rem!important}.mt-xxl-3{margin-top:1rem!important}.mt-xxl-4{margin-top:1.5rem!important}.mt-xxl-5{margin-top:3rem!important}.mt-xxl-auto{margin-top:auto!important}.me-xxl-0{margin-right:0!important}.me-xxl-1{margin-right:.25rem!important}.me-xxl-2{margin-right:.5rem!important}.me-xxl-3{margin-right:1rem!important}.me-xxl-4{margin-right:1.5rem!important}.me-xxl-5{margin-right:3rem!important}.me-xxl-auto{margin-right:auto!important}.mb-xxl-0{margin-bottom:0!important}.mb-xxl-1{margin-bottom:.25rem!important}.mb-xxl-2{margin-bottom:.5rem!important}.mb-xxl-3{margin-bottom:1rem!important}.mb-xxl-4{margin-bottom:1.5rem!important}.mb-xxl-5{margin-bottom:3rem!important}.mb-xxl-auto{margin-bottom:auto!important}.ms-xxl-0{margin-left:0!important}.ms-xxl-1{margin-left:.25rem!important}.ms-xxl-2{margin-left:.5rem!important}.ms-xxl-3{margin-left:1rem!important}.ms-xxl-4{margin-left:1.5rem!important}.ms-xxl-5{margin-left:3rem!important}.ms-xxl-auto{margin-left:auto!important}.p-xxl-0{padding:0!important}.p-xxl-1{padding:.25rem!important}.p-xxl-2{padding:.5rem!important}.p-xxl-3{padding:1rem!important}.p-xxl-4{padding:1.5rem!important}.p-xxl-5{padding:3rem!important}.px-xxl-0{padding-right:0!important;padding-left:0!important}.px-xxl-1{padding-right:.25rem!important;padding-left:.25rem!important}.px-xxl-2{padding-right:.5rem!important;padding-left:.5rem!important}.px-xxl-3{padding-right:1rem!important;padding-left:1rem!important}.px-xxl-4{padding-right:1.5rem!important;padding-left:1.5rem!important}.px-xxl-5{padding-right:3rem!important;padding-left:3rem!important}.py-xxl-0{padding-top:0!important;padding-bottom:0!important}.py-xxl-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.py-xxl-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-xxl-3{padding-top:1rem!important;padding-bottom:1rem!important}.py-xxl-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important}.py-xxl-5{padding-top:3rem!important;padding-bottom:3rem!important}.pt-xxl-0{padding-top:0!important}.pt-xxl-1{padding-top:.25rem!important}.pt-xxl-2{padding-top:.5rem!important}.pt-xxl-3{padding-top:1rem!important}.pt-xxl-4{padding-top:1.5rem!important}.pt-xxl-5{padding-top:3rem!important}.pe-xxl-0{padding-right:0!important}.pe-xxl-1{padding-right:.25rem!important}.pe-xxl-2{padding-right:.5rem!important}.pe-xxl-3{padding-right:1rem!important}.pe-xxl-4{padding-right:1.5rem!important}.pe-xxl-5{padding-right:3rem!important}.pb-xxl-0{padding-bottom:0!important}.pb-xxl-1{padding-bottom:.25rem!important}.pb-xxl-2{padding-bottom:.5rem!important}.pb-xxl-3{padding-bottom:1rem!important}.pb-xxl-4{padding-bottom:1.5rem!important}.pb-xxl-5{padding-bottom:3rem!important}.ps-xxl-0{padding-left:0!important}.ps-xxl-1{padding-left:.25rem!important}.ps-xxl-2{padding-left:.5rem!important}.ps-xxl-3{padding-left:1rem!important}.ps-xxl-4{padding-left:1.5rem!important}.ps-xxl-5{padding-left:3rem!important}.gap-xxl-0{gap:0!important}.gap-xxl-1{gap:.25rem!important}.gap-xxl-2{gap:.5rem!important}.gap-xxl-3{gap:1rem!important}.gap-xxl-4{gap:1.5rem!important}.gap-xxl-5{gap:3rem!important}.text-xxl-start{text-align:left!important}.text-xxl-end{text-align:right!important}.text-xxl-center{text-align:center!important}}@media (min-width: 1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:grid!important}.d-print-table{display:table!important}.d-print-table-row{display:table-row!important}.d-print-table-cell{display:table-cell!important}.d-print-flex{display:flex!important}.d-print-inline-flex{display:inline-flex!important}.d-print-none{display:none!important}}.react-tags{position:relative;padding:5px 0 0 6px;border-radius:.3rem;background-color:var(--primary-color);border:1px solid var(--input-border-color);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-size:1em;line-height:1.2;cursor:text}.input-group>.react-tags{flex:1 1 auto;width:1%;min-width:0}.card .react-tags{background-color:var(--input-color)}.react-tags.is-focused{box-shadow:0 0 0 .2rem #4696e540}.react-tags__tag{font-size:100%}.react-tags__selected{display:inline;vertical-align:2px}.react-tags__selected-tag{display:inline-block;box-sizing:border-box;margin:0 6px 6px 0;padding:6px 8px;border:1px solid var(--input-border-color);border-radius:.25rem;background:#f1f1f1;font-size:inherit;line-height:inherit}.react-tags__selected-tag:after{content:"\2715";color:#aaa;margin-left:8px}.react-tags__selected-tag:hover,.react-tags__selected-tag:focus{border-color:var(--input-border-color)}.react-tags__search{display:inline-block;padding:6px 2px;margin-bottom:5px;max-width:100%}@media screen and (min-width: 576px){.react-tags__search{position:relative}}.react-tags__search-input{font-size:1.25rem;line-height:inherit;color:var(--input-text-color);background-color:inherit;max-width:100%;margin:0 0 0 7px;padding:0;border:0;outline:none}.react-tags__search-input::placeholder{color:#6c757d}.react-tags__search-input::-ms-clear{display:none}.react-tags__suggestions{position:absolute;top:100%;left:0;width:100%;z-index:10}@media screen and (min-width: 576px){.react-tags__suggestions{width:240px}}.react-tags__suggestions ul{margin:4px -1px;padding:0;list-style:none;background:var(--primary-color);border:1px solid var(--border-color);border-radius:.25rem;box-shadow:0 2px 6px #0003}.react-tags__suggestions li{padding:8px 10px}.react-tags__suggestions li:not(:last-child){border-bottom:1px solid var(--border-color)}.react-tags__suggestions li mark,.react-tags__suggestions li .mark{text-decoration:underline;background:none;font-weight:600}.react-tags__suggestions li:hover{cursor:pointer;background-color:var(--active-color)}.react-tags__suggestions li.is-active{background-color:var(--active-color)}.react-tags__suggestions li.is-disabled{opacity:.5;cursor:auto}html:not([data-theme=dark]){--color-scheme: initial;--primary-color: #ffffff;--primary-color-alfa: rgba(255, 255, 255, .5);--secondary-color: #f5f6fe;--text-color: #232323;--border-color: rgba(0, 0, 0, .125);--active-color: #eeeeee;--brand-color: #4696e5;--input-color: #ffffff;--input-disabled-color: #f5f6fe;--input-border-color: rgba(0, 0, 0, .19);--input-text-color: #495057;--table-border-color: #dee2e6;--table-highlight-color: rgba(0, 0, 0, .075);--btn-close-filter: initial}html[data-theme=dark]{--color-scheme: dark;--primary-color: #161b22;--primary-color-alfa: rgba(22, 27, 34, .8);--secondary-color: #0f131a;--text-color: rgb(201, 209, 217);--border-color: rgba(255, 255, 255, .15);--active-color: #0f131a;--brand-color: #0b2d4e;--input-color: #12161c;--input-disabled-color: #1a2028;--input-border-color: rgba(255, 255, 255, .15);--input-text-color: rgb(201, 209, 217);--table-border-color: #393d43;--table-highlight-color: rgba(255, 255, 255, .15);--btn-close-filter: invert(1)}@media (max-width: 991px){.responsive-table__header{display:none}}@media (max-width: 991px){.responsive-table.table>:not(:first-child){border:none}}@media (max-width: 991px){.responsive-table__row{display:block;border-bottom:1px solid var(--border-color);border-top:2px solid var(--border-color);position:relative}.responsive-table__row:not(:last-child){margin-bottom:10px}}.responsive-table__cell.responsive-table__cell{vertical-align:middle!important}@media (max-width: 991px){.responsive-table__cell.responsive-table__cell{display:block;width:100%;position:relative;padding:.5rem;font-size:.9rem}.responsive-table__cell.responsive-table__cell[data-th]:before{content:attr(data-th) ": ";font-weight:700}.responsive-table__cell.responsive-table__cell:last-child{position:absolute;top:3.5px;right:.5rem;width:auto;padding:0;border:none}}@media (max-width: 991px){.responsive-table__cell.responsive-table__cell .btn-sm,.responsive-table__cell.responsive-table__cell .btn-group-sm>.btn{padding:.1rem .4rem;margin-top:.16rem}}.sticky-card-paginator{position:sticky;bottom:0;background-color:var(--primary-color-alfa);padding:.75rem 0;border-top:1px solid var(--border-color)}*{outline:none!important}:root{scroll-behavior:auto;color-scheme:var(--color-scheme)}html,body,#root{height:100%;background:var(--secondary-color);color:var(--text-color)}a,.btn-link{text-decoration:none}a:not(.nav-link):not(.navbar-brand):not(.page-link):not(.highlight-card):not(.btn):not(.dropdown-item):hover,.btn-link:hover{text-decoration:underline}.bg-main{background-color:#4696e5!important}.bg-warning{color:#232323}.card-body,.card-header,.list-group-item{background-color:transparent}.card-footer{background-color:var(--primary-color-alfa)}.card{box-shadow:0 .125rem .25rem #00000013;background-color:var(--primary-color);border-color:var(--border-color)}.list-group,.modal-content,.page-link,.page-item.disabled .page-link,.dropdown-menu{background-color:var(--primary-color)}.modal-header,.modal-footer,.card-header,.card-footer,.table thead th,.table th,.table td,.page-link,.page-link:hover,.page-item.disabled .page-link,.dropdown-divider,.dropdown-menu,.list-group-item,.modal-content,hr{border-color:var(--border-color)}.table-bordered,.table-bordered thead th,.table-bordered thead td{border-color:var(--table-border-color)}.page-link:hover,.page-link:focus{background-color:var(--secondary-color)}.page-item.active .page-link{background-color:var(--brand-color);border-color:var(--brand-color)}.pagination .page-link{cursor:pointer}@media (min-width: 1200px){.container-xl{max-width:1320px}}@media (max-width: 767px){.container-xl{padding-right:0;padding-left:0}}.btn-block{display:block;width:100%}.btn-primary,.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-outline-primary:hover,.btn-outline-primary:active,.btn-outline-primary.active{color:#fff}.dropdown-item,.dropdown-item-text{color:var(--text-color)}.dropdown-item:not(:disabled){cursor:pointer}.dropdown-item:focus:not(:disabled),.dropdown-item:hover:not(:disabled),.dropdown-item.active:not(:disabled),.dropdown-item:active:not(:disabled){background-color:var(--active-color)!important;color:var(--text-color)!important}.dropdown-item--danger.dropdown-item--danger{color:#dc3545}.dropdown-item--danger.dropdown-item--danger:hover,.dropdown-item--danger.dropdown-item--danger:active,.dropdown-item--danger.dropdown-item--danger.active{color:#dc3545!important}.badge-main{color:#fff;background-color:var(--brand-color)}.close,.close:hover,.table,.table-hover>tbody>tr:hover>*,.table-hover>tbody>tr>*{color:var(--text-color)}.btn-close{filter:var(--btn-close-filter)}.table-hover tbody tr:hover{background-color:var(--secondary-color)}.form-control,.form-control:focus{background-color:var(--primary-color);border-color:var(--input-border-color);color:var(--input-text-color)}.form-control.disabled,.form-control:disabled{background-color:var(--input-disabled-color);cursor:not-allowed}.card .form-control:not(:disabled),.card .form-control:not(:disabled):hover{background-color:var(--input-color)}.table-active,.table-active>th,.table-active>td{background-color:var(--table-highlight-color)!important}@media (max-width: 767px){.navbar-brand{margin:0 auto!important}}.indivisible{white-space:nowrap}.pointer{cursor:pointer}.text-ellipsis{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.progress-bar{background-color:#4696e5}@media (max-width: 575px){.btn-xs-block{width:100%;display:block}}@media (max-width: 991px){.btn-md-block{width:100%;display:block}} diff --git a/feature/vite/assets/index-c1756862.js b/feature/vite/assets/index-c1756862.js new file mode 100644 index 00000000..3aa635b1 --- /dev/null +++ b/feature/vite/assets/index-c1756862.js @@ -0,0 +1,1009 @@ +var q$=Object.defineProperty;var G$=(e,t,n)=>t in e?q$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Qe=(e,t,n)=>(G$(e,typeof t!="symbol"?t+"":t,n),n);function Z$(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Il=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gL(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function K$(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var o=Function.bind.apply(t,i);return new o}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Of={},X$={get exports(){return Of},set exports(e){Of=e}},Gv={},H={},Q$={get exports(){return H},set exports(e){H=e}},at={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var wd=Symbol.for("react.element"),J$=Symbol.for("react.portal"),e7=Symbol.for("react.fragment"),t7=Symbol.for("react.strict_mode"),n7=Symbol.for("react.profiler"),r7=Symbol.for("react.provider"),i7=Symbol.for("react.context"),o7=Symbol.for("react.forward_ref"),s7=Symbol.for("react.suspense"),a7=Symbol.for("react.memo"),l7=Symbol.for("react.lazy"),rO=Symbol.iterator;function c7(e){return e===null||typeof e!="object"?null:(e=rO&&e[rO]||e["@@iterator"],typeof e=="function"?e:null)}var vL={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},yL=Object.assign,_L={};function jc(e,t,n){this.props=e,this.context=t,this.refs=_L,this.updater=n||vL}jc.prototype.isReactComponent={};jc.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};jc.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function bL(){}bL.prototype=jc.prototype;function _x(e,t,n){this.props=e,this.context=t,this.refs=_L,this.updater=n||vL}var bx=_x.prototype=new bL;bx.constructor=_x;yL(bx,jc.prototype);bx.isPureReactComponent=!0;var iO=Array.isArray,wL=Object.prototype.hasOwnProperty,wx={current:null},xL={key:!0,ref:!0,__self:!0,__source:!0};function SL(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)wL.call(t,r)&&!xL.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1>>1,ne=K[B];if(0>>1;Bi(re,D))lei(me,re)?(K[B]=me,K[le]=D,B=le):(K[B]=re,K[G]=D,B=G);else if(lei(me,D))K[B]=me,K[le]=D,B=le;else break e}}return $}function i(K,$){var D=K.sortIndex-$.sortIndex;return D!==0?D:K.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],c=[],f=1,h=null,p=3,m=!1,g=!1,_=!1,x=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(K){for(var $=n(c);$!==null;){if($.callback===null)r(c);else if($.startTime<=K)r(c),$.sortIndex=$.expirationTime,t(l,$);else break;$=n(c)}}function E(K){if(_=!1,w(K),!g)if(n(l)!==null)g=!0,oe(P);else{var $=n(c);$!==null&&ce(E,$.startTime-K)}}function P(K,$){g=!1,_&&(_=!1,v(A),A=-1),m=!0;var D=p;try{for(w($),h=n(l);h!==null&&(!(h.expirationTime>$)||K&&!Y());){var B=h.callback;if(typeof B=="function"){h.callback=null,p=h.priorityLevel;var ne=B(h.expirationTime<=$);$=e.unstable_now(),typeof ne=="function"?h.callback=ne:h===n(l)&&r(l),w($)}else r(l);h=n(l)}if(h!==null)var W=!0;else{var G=n(c);G!==null&&ce(E,G.startTime-$),W=!1}return W}finally{h=null,p=D,m=!1}}var k=!1,N=null,A=-1,V=5,I=-1;function Y(){return!(e.unstable_now()-IK||125B?(K.sortIndex=D,t(c,K),n(l)===null&&K===n(c)&&(_?(v(A),A=-1):_=!0,ce(E,D-B))):(K.sortIndex=ne,t(l,K),g||m||(g=!0,oe(P))),K},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(K){var $=p;return function(){var D=p;p=$;try{return K.apply(this,arguments)}finally{p=D}}}})(EL);(function(e){e.exports=EL})(w7);/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var TL=H,Nr=Vb;function Ee(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hb=Object.prototype.hasOwnProperty,x7=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,sO={},aO={};function S7(e){return Hb.call(aO,e)?!0:Hb.call(sO,e)?!1:x7.test(e)?aO[e]=!0:(sO[e]=!0,!1)}function C7(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function E7(e,t,n,r){if(t===null||typeof t>"u"||C7(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function dr(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var Vn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Vn[e]=new dr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Vn[t]=new dr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Vn[e]=new dr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Vn[e]=new dr(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Vn[e]=new dr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Vn[e]=new dr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Vn[e]=new dr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Vn[e]=new dr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Vn[e]=new dr(e,5,!1,e.toLowerCase(),null,!1,!1)});var Sx=/[\-:]([a-z])/g;function Cx(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Sx,Cx);Vn[t]=new dr(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Sx,Cx);Vn[t]=new dr(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Sx,Cx);Vn[t]=new dr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Vn[e]=new dr(e,1,!1,e.toLowerCase(),null,!1,!1)});Vn.xlinkHref=new dr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Vn[e]=new dr(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ex(e,t,n,r){var i=Vn.hasOwnProperty(t)?Vn[t]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==o[a]){var l=` +`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{r0=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Fu(e):""}function T7(e){switch(e.tag){case 5:return Fu(e.type);case 16:return Fu("Lazy");case 13:return Fu("Suspense");case 19:return Fu("SuspenseList");case 0:case 2:case 15:return e=i0(e.type,!1),e;case 11:return e=i0(e.type.render,!1),e;case 1:return e=i0(e.type,!0),e;default:return""}}function Gb(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case $l:return"Fragment";case Fl:return"Portal";case Wb:return"Profiler";case Tx:return"StrictMode";case Yb:return"Suspense";case qb:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case kL:return(e.displayName||"Context")+".Consumer";case PL:return(e._context.displayName||"Context")+".Provider";case Ox:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Px:return t=e.displayName||null,t!==null?t:Gb(e.type)||"Memo";case Xo:t=e._payload,e=e._init;try{return Gb(e(t))}catch{}}return null}function O7(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Gb(t);case 8:return t===Tx?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ks(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function RL(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function P7(e){var t=RL(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ah(e){e._valueTracker||(e._valueTracker=P7(e))}function NL(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=RL(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ym(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Zb(e,t){var n=t.checked;return qt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function cO(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ks(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function LL(e,t){t=t.checked,t!=null&&Ex(e,"checked",t,!1)}function Kb(e,t){LL(e,t);var n=ks(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Xb(e,t.type,n):t.hasOwnProperty("defaultValue")&&Xb(e,t.type,ks(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function uO(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Xb(e,t,n){(t!=="number"||Ym(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var $u=Array.isArray;function Jl(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Ih.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function kf(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Xu={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},k7=["Webkit","ms","Moz","O"];Object.keys(Xu).forEach(function(e){k7.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Xu[t]=Xu[e]})});function FL(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Xu.hasOwnProperty(e)&&Xu[e]?(""+t).trim():t+"px"}function $L(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=FL(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var M7=qt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function e1(e,t){if(t){if(M7[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Ee(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Ee(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(Ee(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Ee(62))}}function t1(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var n1=null;function kx(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var r1=null,ec=null,tc=null;function hO(e){if(e=Cd(e)){if(typeof r1!="function")throw Error(Ee(280));var t=e.stateNode;t&&(t=Jv(t),r1(e.stateNode,e.type,t))}}function jL(e){ec?tc?tc.push(e):tc=[e]:ec=e}function BL(){if(ec){var e=ec,t=tc;if(tc=ec=null,hO(e),t)for(e=0;e>>=0,e===0?32:31-(z7(e)/U7|0)|0}var Fh=64,$h=4194304;function ju(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Km(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=ju(a):(o&=s,o!==0&&(r=ju(o)))}else s=n&~i,s!==0?r=ju(s):o!==0&&(r=ju(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function xd(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-xi(t),e[t]=n}function Y7(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Ju),xO=String.fromCharCode(32),SO=!1;function sD(e,t){switch(e){case"keyup":return bj.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function aD(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var jl=!1;function xj(e,t){switch(e){case"compositionend":return aD(t);case"keypress":return t.which!==32?null:(SO=!0,xO);case"textInput":return e=t.data,e===xO&&SO?null:e;default:return null}}function Sj(e,t){if(jl)return e==="compositionend"||!Fx&&sD(e,t)?(e=iD(),jp=Dx=os=null,jl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=OO(n)}}function fD(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?fD(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function dD(){for(var e=window,t=Ym();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ym(e.document)}return t}function $x(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Nj(e){var t=dD(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fD(n.ownerDocument.documentElement,n)){if(r!==null&&$x(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=PO(n,o);var s=PO(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Bl=null,c1=null,tf=null,u1=!1;function kO(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;u1||Bl==null||Bl!==Ym(r)||(r=Bl,"selectionStart"in r&&$x(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),tf&&Af(tf,r)||(tf=r,r=Jm(c1,"onSelect"),0Vl||(e.current=g1[Vl],g1[Vl]=null,Vl--)}function kt(e,t){Vl++,g1[Vl]=e.current,e.current=t}var Ms={},Jn=Vs(Ms),vr=Vs(!1),za=Ms;function gc(e,t){var n=e.type.contextTypes;if(!n)return Ms;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function yr(e){return e=e.childContextTypes,e!=null}function tg(){Dt(vr),Dt(Jn)}function IO(e,t,n){if(Jn.current!==Ms)throw Error(Ee(168));kt(Jn,t),kt(vr,n)}function wD(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(Ee(108,O7(e)||"Unknown",i));return qt({},n,r)}function ng(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ms,za=Jn.current,kt(Jn,e),kt(vr,vr.current),!0}function FO(e,t,n){var r=e.stateNode;if(!r)throw Error(Ee(169));n?(e=wD(e,t,za),r.__reactInternalMemoizedMergedChildContext=e,Dt(vr),Dt(Jn),kt(Jn,e)):Dt(vr),kt(vr,n)}var ho=null,ey=!1,y0=!1;function xD(e){ho===null?ho=[e]:ho.push(e)}function Hj(e){ey=!0,xD(e)}function Hs(){if(!y0&&ho!==null){y0=!0;var e=0,t=xt;try{var n=ho;for(xt=1;e>=s,i-=s,yo=1<<32-xi(t)+i|n<A?(V=N,N=null):V=N.sibling;var I=p(v,N,w[A],E);if(I===null){N===null&&(N=V);break}e&&N&&I.alternate===null&&t(v,N),b=o(I,b,A),k===null?P=I:k.sibling=I,k=I,N=V}if(A===w.length)return n(v,N),jt&&ga(v,A),P;if(N===null){for(;AA?(V=N,N=null):V=N.sibling;var Y=p(v,N,I.value,E);if(Y===null){N===null&&(N=V);break}e&&N&&Y.alternate===null&&t(v,N),b=o(Y,b,A),k===null?P=Y:k.sibling=Y,k=Y,N=V}if(I.done)return n(v,N),jt&&ga(v,A),P;if(N===null){for(;!I.done;A++,I=w.next())I=h(v,I.value,E),I!==null&&(b=o(I,b,A),k===null?P=I:k.sibling=I,k=I);return jt&&ga(v,A),P}for(N=r(v,N);!I.done;A++,I=w.next())I=m(N,v,A,I.value,E),I!==null&&(e&&I.alternate!==null&&N.delete(I.key===null?A:I.key),b=o(I,b,A),k===null?P=I:k.sibling=I,k=I);return e&&N.forEach(function(q){return t(v,q)}),jt&&ga(v,A),P}function x(v,b,w,E){if(typeof w=="object"&&w!==null&&w.type===$l&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Dh:e:{for(var P=w.key,k=b;k!==null;){if(k.key===P){if(P=w.type,P===$l){if(k.tag===7){n(v,k.sibling),b=i(k,w.props.children),b.return=v,v=b;break e}}else if(k.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Xo&&HO(P)===k.type){n(v,k.sibling),b=i(k,w.props),b.ref=wu(v,k,w),b.return=v,v=b;break e}n(v,k);break}else t(v,k);k=k.sibling}w.type===$l?(b=Na(w.props.children,v.mode,E,w.key),b.return=v,v=b):(E=qp(w.type,w.key,w.props,null,v.mode,E),E.ref=wu(v,b,w),E.return=v,v=E)}return s(v);case Fl:e:{for(k=w.key;b!==null;){if(b.key===k)if(b.tag===4&&b.stateNode.containerInfo===w.containerInfo&&b.stateNode.implementation===w.implementation){n(v,b.sibling),b=i(b,w.children||[]),b.return=v,v=b;break e}else{n(v,b);break}else t(v,b);b=b.sibling}b=T0(w,v.mode,E),b.return=v,v=b}return s(v);case Xo:return k=w._init,x(v,b,k(w._payload),E)}if($u(w))return g(v,b,w,E);if(gu(w))return _(v,b,w,E);Wh(v,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,b!==null&&b.tag===6?(n(v,b.sibling),b=i(b,w),b.return=v,v=b):(n(v,b),b=E0(w,v.mode,E),b.return=v,v=b),s(v)):n(v,b)}return x}var yc=MD(!0),RD=MD(!1),Ed={},Zi=Vs(Ed),jf=Vs(Ed),Bf=Vs(Ed);function Pa(e){if(e===Ed)throw Error(Ee(174));return e}function qx(e,t){switch(kt(Bf,t),kt(jf,e),kt(Zi,Ed),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Jb(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Jb(t,e)}Dt(Zi),kt(Zi,t)}function _c(){Dt(Zi),Dt(jf),Dt(Bf)}function ND(e){Pa(Bf.current);var t=Pa(Zi.current),n=Jb(t,e.type);t!==n&&(kt(jf,e),kt(Zi,n))}function Gx(e){jf.current===e&&(Dt(Zi),Dt(jf))}var Ht=Vs(0);function lg(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var _0=[];function Zx(){for(var e=0;e<_0.length;e++)_0[e]._workInProgressVersionPrimary=null;_0.length=0}var Up=Ao.ReactCurrentDispatcher,b0=Ao.ReactCurrentBatchConfig,Va=0,Yt=null,mn=null,En=null,cg=!1,nf=!1,zf=0,Yj=0;function qn(){throw Error(Ee(321))}function Kx(e,t){if(t===null)return!1;for(var n=0;nn?n:4,e(!0);var r=b0.transition;b0.transition={};try{e(!1),t()}finally{xt=n,b0.transition=r}}function GD(){return ti().memoizedState}function Gj(e,t,n){var r=bs(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ZD(e))KD(t,n);else if(n=TD(e,t,n,r),n!==null){var i=ur();Si(n,e,r,i),XD(n,t,r)}}function Zj(e,t,n){var r=bs(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ZD(e))KD(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,Oi(a,s)){var l=t.interleaved;l===null?(i.next=i,Wx(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=TD(e,t,i,r),n!==null&&(i=ur(),Si(n,e,r,i),XD(n,t,r))}}function ZD(e){var t=e.alternate;return e===Yt||t!==null&&t===Yt}function KD(e,t){nf=cg=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function XD(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Rx(e,n)}}var ug={readContext:ei,useCallback:qn,useContext:qn,useEffect:qn,useImperativeHandle:qn,useInsertionEffect:qn,useLayoutEffect:qn,useMemo:qn,useReducer:qn,useRef:qn,useState:qn,useDebugValue:qn,useDeferredValue:qn,useTransition:qn,useMutableSource:qn,useSyncExternalStore:qn,useId:qn,unstable_isNewReconciler:!1},Kj={readContext:ei,useCallback:function(e,t){return Bi().memoizedState=[e,t===void 0?null:t],e},useContext:ei,useEffect:YO,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vp(4194308,4,VD.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vp(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vp(4,2,e,t)},useMemo:function(e,t){var n=Bi();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Bi();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Gj.bind(null,Yt,e),[r.memoizedState,e]},useRef:function(e){var t=Bi();return e={current:e},t.memoizedState=e},useState:WO,useDebugValue:eS,useDeferredValue:function(e){return Bi().memoizedState=e},useTransition:function(){var e=WO(!1),t=e[0];return e=qj.bind(null,e[1]),Bi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Yt,i=Bi();if(jt){if(n===void 0)throw Error(Ee(407));n=n()}else{if(n=t(),On===null)throw Error(Ee(349));Va&30||AD(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,YO(FD.bind(null,r,o,e),[e]),r.flags|=2048,Vf(9,ID.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Bi(),t=On.identifierPrefix;if(jt){var n=_o,r=yo;n=(r&~(1<<32-xi(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=zf++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Ui]=t,e[$f]=r,s4(e,t,!1,!1),t.stateNode=e;e:{switch(s=t1(n,r),n){case"dialog":Rt("cancel",e),Rt("close",e),i=r;break;case"iframe":case"object":case"embed":Rt("load",e),i=r;break;case"video":case"audio":for(i=0;iwc&&(t.flags|=128,r=!0,xu(o,!1),t.lanes=4194304)}else{if(!r)if(e=lg(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),xu(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!jt)return Gn(t),null}else 2*rn()-o.renderingStartTime>wc&&n!==1073741824&&(t.flags|=128,r=!0,xu(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=rn(),t.sibling=null,n=Ht.current,kt(Ht,r?n&1|2:n&1),t):(Gn(t),null);case 22:case 23:return sS(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Cr&1073741824&&(Gn(t),t.subtreeFlags&6&&(t.flags|=8192)):Gn(t),null;case 24:return null;case 25:return null}throw Error(Ee(156,t.tag))}function iB(e,t){switch(Bx(t),t.tag){case 1:return yr(t.type)&&tg(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _c(),Dt(vr),Dt(Jn),Zx(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Gx(t),null;case 13:if(Dt(Ht),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(Ee(340));vc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Dt(Ht),null;case 4:return _c(),null;case 10:return Hx(t.type._context),null;case 22:case 23:return sS(),null;case 24:return null;default:return null}}var qh=!1,Xn=!1,oB=typeof WeakSet=="function"?WeakSet:Set,ze=null;function ql(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Zt(e,t,r)}else n.current=null}function P1(e,t,n){try{n()}catch(r){Zt(e,t,r)}}var tP=!1;function sB(e,t){if(f1=Xm,e=dD(),$x(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,c=0,f=0,h=e,p=null;t:for(;;){for(var m;h!==n||i!==0&&h.nodeType!==3||(a=s+i),h!==o||r!==0&&h.nodeType!==3||(l=s+r),h.nodeType===3&&(s+=h.nodeValue.length),(m=h.firstChild)!==null;)p=h,h=m;for(;;){if(h===e)break t;if(p===n&&++c===i&&(a=s),p===o&&++f===r&&(l=s),(m=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=m}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(d1={focusedElem:e,selectionRange:n},Xm=!1,ze=t;ze!==null;)if(t=ze,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ze=e;else for(;ze!==null;){t=ze;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var _=g.memoizedProps,x=g.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?_:hi(t.type,_),x);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Ee(163))}}catch(E){Zt(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,ze=e;break}ze=t.return}return g=tP,tP=!1,g}function rf(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&P1(t,n,o)}i=i.next}while(i!==r)}}function ry(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function k1(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function c4(e){var t=e.alternate;t!==null&&(e.alternate=null,c4(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ui],delete t[$f],delete t[m1],delete t[Uj],delete t[Vj])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function u4(e){return e.tag===5||e.tag===3||e.tag===4}function nP(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||u4(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function M1(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=eg));else if(r!==4&&(e=e.child,e!==null))for(M1(e,t,n),e=e.sibling;e!==null;)M1(e,t,n),e=e.sibling}function R1(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(R1(e,t,n),e=e.sibling;e!==null;)R1(e,t,n),e=e.sibling}var Bn=null,pi=!1;function Yo(e,t,n){for(n=n.child;n!==null;)f4(e,t,n),n=n.sibling}function f4(e,t,n){if(Gi&&typeof Gi.onCommitFiberUnmount=="function")try{Gi.onCommitFiberUnmount(Zv,n)}catch{}switch(n.tag){case 5:Xn||ql(n,t);case 6:var r=Bn,i=pi;Bn=null,Yo(e,t,n),Bn=r,pi=i,Bn!==null&&(pi?(e=Bn,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Bn.removeChild(n.stateNode));break;case 18:Bn!==null&&(pi?(e=Bn,n=n.stateNode,e.nodeType===8?v0(e.parentNode,n):e.nodeType===1&&v0(e,n),Lf(e)):v0(Bn,n.stateNode));break;case 4:r=Bn,i=pi,Bn=n.stateNode.containerInfo,pi=!0,Yo(e,t,n),Bn=r,pi=i;break;case 0:case 11:case 14:case 15:if(!Xn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&P1(n,t,s),i=i.next}while(i!==r)}Yo(e,t,n);break;case 1:if(!Xn&&(ql(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Zt(n,t,a)}Yo(e,t,n);break;case 21:Yo(e,t,n);break;case 22:n.mode&1?(Xn=(r=Xn)||n.memoizedState!==null,Yo(e,t,n),Xn=r):Yo(e,t,n);break;default:Yo(e,t,n)}}function rP(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new oB),t.forEach(function(r){var i=mB.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function di(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=rn()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*lB(r/1960))-r,10e?16:e,ss===null)var r=!1;else{if(e=ss,ss=null,hg=0,dt&6)throw Error(Ee(331));var i=dt;for(dt|=4,ze=e.current;ze!==null;){var o=ze,s=o.child;if(ze.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lrn()-iS?Ra(e,0):rS|=n),_r(e,t)}function _4(e,t){t===0&&(e.mode&1?(t=$h,$h<<=1,!($h&130023424)&&($h=4194304)):t=1);var n=ur();e=To(e,t),e!==null&&(xd(e,t,n),_r(e,n))}function pB(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),_4(e,n)}function mB(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Ee(314))}r!==null&&r.delete(t),_4(e,n)}var b4;b4=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||vr.current)gr=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return gr=!1,nB(e,t,n);gr=!!(e.flags&131072)}else gr=!1,jt&&t.flags&1048576&&SD(t,ig,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hp(e,t),e=t.pendingProps;var i=gc(t,Jn.current);rc(t,n),i=Xx(null,t,r,e,i,n);var o=Qx();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,yr(r)?(o=!0,ng(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Yx(t),i.updater=ty,t.stateNode=i,i._reactInternals=t,w1(t,r,e,n),t=C1(null,t,r,!0,o,n)):(t.tag=0,jt&&o&&jx(t),ar(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hp(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=vB(r),e=hi(r,e),i){case 0:t=S1(null,t,r,e,n);break e;case 1:t=QO(null,t,r,e,n);break e;case 11:t=KO(null,t,r,e,n);break e;case 14:t=XO(null,t,r,hi(r.type,e),n);break e}throw Error(Ee(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:hi(r,i),S1(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:hi(r,i),QO(e,t,r,i,n);case 3:e:{if(r4(t),e===null)throw Error(Ee(387));r=t.pendingProps,o=t.memoizedState,i=o.element,OD(e,t),ag(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=bc(Error(Ee(423)),t),t=JO(e,t,r,n,i);break e}else if(r!==i){i=bc(Error(Ee(424)),t),t=JO(e,t,r,n,i);break e}else for(Or=vs(t.stateNode.containerInfo.firstChild),kr=t,jt=!0,gi=null,n=RD(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(vc(),r===i){t=Oo(e,t,n);break e}ar(e,t,r,n)}t=t.child}return t;case 5:return ND(t),e===null&&y1(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,h1(r,i)?s=null:o!==null&&h1(r,o)&&(t.flags|=32),n4(e,t),ar(e,t,s,n),t.child;case 6:return e===null&&y1(t),null;case 13:return i4(e,t,n);case 4:return qx(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=yc(t,null,r,n):ar(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:hi(r,i),KO(e,t,r,i,n);case 7:return ar(e,t,t.pendingProps,n),t.child;case 8:return ar(e,t,t.pendingProps.children,n),t.child;case 12:return ar(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,kt(og,r._currentValue),r._currentValue=s,o!==null)if(Oi(o.value,s)){if(o.children===i.children&&!vr.current){t=Oo(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=xo(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var f=c.pending;f===null?l.next=l:(l.next=f.next,f.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),_1(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(Ee(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),_1(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}ar(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,rc(t,n),i=ei(i),r=r(i),t.flags|=1,ar(e,t,r,n),t.child;case 14:return r=t.type,i=hi(r,t.pendingProps),i=hi(r.type,i),XO(e,t,r,i,n);case 15:return e4(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:hi(r,i),Hp(e,t),t.tag=1,yr(r)?(e=!0,ng(t)):e=!1,rc(t,n),kD(t,r,i),w1(t,r,i,n),C1(null,t,r,!0,e,n);case 19:return o4(e,t,n);case 22:return t4(e,t,n)}throw Error(Ee(156,t.tag))};function w4(e,t){return qL(e,t)}function gB(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Gr(e,t,n,r){return new gB(e,t,n,r)}function lS(e){return e=e.prototype,!(!e||!e.isReactComponent)}function vB(e){if(typeof e=="function")return lS(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ox)return 11;if(e===Px)return 14}return 2}function ws(e,t){var n=e.alternate;return n===null?(n=Gr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qp(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")lS(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case $l:return Na(n.children,i,o,t);case Tx:s=8,i|=8;break;case Wb:return e=Gr(12,n,t,i|2),e.elementType=Wb,e.lanes=o,e;case Yb:return e=Gr(13,n,t,i),e.elementType=Yb,e.lanes=o,e;case qb:return e=Gr(19,n,t,i),e.elementType=qb,e.lanes=o,e;case ML:return oy(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case PL:s=10;break e;case kL:s=9;break e;case Ox:s=11;break e;case Px:s=14;break e;case Xo:s=16,r=null;break e}throw Error(Ee(130,e==null?e:typeof e,""))}return t=Gr(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Na(e,t,n,r){return e=Gr(7,e,r,t),e.lanes=n,e}function oy(e,t,n,r){return e=Gr(22,e,r,t),e.elementType=ML,e.lanes=n,e.stateNode={isHidden:!1},e}function E0(e,t,n){return e=Gr(6,e,null,t),e.lanes=n,e}function T0(e,t,n){return t=Gr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function yB(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=s0(0),this.expirationTimes=s0(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=s0(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function cS(e,t,n,r,i,o,s,a,l){return e=new yB(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Gr(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yx(o),e}function _B(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=Dr})(b7);const La=gL(Ba);var E4,fP=Ba;E4=fP.createRoot,fP.hydrateRoot;var gg={},CB={get exports(){return gg},set exports(e){gg=e}},T4={};/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var xc=H;function EB(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var TB=typeof Object.is=="function"?Object.is:EB,OB=xc.useState,PB=xc.useEffect,kB=xc.useLayoutEffect,MB=xc.useDebugValue;function RB(e,t){var n=t(),r=OB({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return kB(function(){i.value=n,i.getSnapshot=t,O0(i)&&o({inst:i})},[e,n,t]),PB(function(){return O0(i)&&o({inst:i}),e(function(){O0(i)&&o({inst:i})})},[e]),MB(n),n}function O0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!TB(e,n)}catch{return!0}}function NB(e,t){return t()}var LB=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?NB:RB;T4.useSyncExternalStore=xc.useSyncExternalStore!==void 0?xc.useSyncExternalStore:LB;(function(e){e.exports=T4})(CB);var dP={},DB={get exports(){return dP},set exports(e){dP=e}},O4={};/** + * @license React + * use-sync-external-store-shim/with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var uy=H,AB=gg;function IB(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var FB=typeof Object.is=="function"?Object.is:IB,$B=AB.useSyncExternalStore,jB=uy.useRef,BB=uy.useEffect,zB=uy.useMemo,UB=uy.useDebugValue;O4.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=jB(null);if(o.current===null){var s={hasValue:!1,value:null};o.current=s}else s=o.current;o=zB(function(){function l(m){if(!c){if(c=!0,f=m,m=r(m),i!==void 0&&s.hasValue){var g=s.value;if(i(g,m))return h=g}return h=m}if(g=h,FB(f,m))return g;var _=r(m);return i!==void 0&&i(g,_)?g:(f=m,h=_)}var c=!1,f,h,p=n===void 0?null:n;return[function(){return l(t())},p===null?void 0:function(){return l(p())}]},[t,n,r,i]);var a=$B(e,o[0],o[1]);return BB(function(){s.hasValue=!0,s.value=a},[a]),UB(a),a};(function(e){e.exports=O4})(DB);function VB(e){e()}let P4=VB;const HB=e=>P4=e,WB=()=>P4,k4=H.createContext(null),YB=()=>{throw new Error("uSES not initialized!")};function oc(){return oc=Object.assign||function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var I1={},qB={get exports(){return I1},set exports(e){I1=e}},St={};/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Pn=typeof Symbol=="function"&&Symbol.for,pS=Pn?Symbol.for("react.element"):60103,mS=Pn?Symbol.for("react.portal"):60106,fy=Pn?Symbol.for("react.fragment"):60107,dy=Pn?Symbol.for("react.strict_mode"):60108,hy=Pn?Symbol.for("react.profiler"):60114,py=Pn?Symbol.for("react.provider"):60109,my=Pn?Symbol.for("react.context"):60110,gS=Pn?Symbol.for("react.async_mode"):60111,gy=Pn?Symbol.for("react.concurrent_mode"):60111,vy=Pn?Symbol.for("react.forward_ref"):60112,yy=Pn?Symbol.for("react.suspense"):60113,GB=Pn?Symbol.for("react.suspense_list"):60120,_y=Pn?Symbol.for("react.memo"):60115,by=Pn?Symbol.for("react.lazy"):60116,ZB=Pn?Symbol.for("react.block"):60121,KB=Pn?Symbol.for("react.fundamental"):60117,XB=Pn?Symbol.for("react.responder"):60118,QB=Pn?Symbol.for("react.scope"):60119;function Ir(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case pS:switch(e=e.type,e){case gS:case gy:case fy:case hy:case dy:case yy:return e;default:switch(e=e&&e.$$typeof,e){case my:case vy:case by:case _y:case py:return e;default:return t}}case mS:return t}}}function M4(e){return Ir(e)===gy}St.AsyncMode=gS;St.ConcurrentMode=gy;St.ContextConsumer=my;St.ContextProvider=py;St.Element=pS;St.ForwardRef=vy;St.Fragment=fy;St.Lazy=by;St.Memo=_y;St.Portal=mS;St.Profiler=hy;St.StrictMode=dy;St.Suspense=yy;St.isAsyncMode=function(e){return M4(e)||Ir(e)===gS};St.isConcurrentMode=M4;St.isContextConsumer=function(e){return Ir(e)===my};St.isContextProvider=function(e){return Ir(e)===py};St.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===pS};St.isForwardRef=function(e){return Ir(e)===vy};St.isFragment=function(e){return Ir(e)===fy};St.isLazy=function(e){return Ir(e)===by};St.isMemo=function(e){return Ir(e)===_y};St.isPortal=function(e){return Ir(e)===mS};St.isProfiler=function(e){return Ir(e)===hy};St.isStrictMode=function(e){return Ir(e)===dy};St.isSuspense=function(e){return Ir(e)===yy};St.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===fy||e===gy||e===hy||e===dy||e===yy||e===GB||typeof e=="object"&&e!==null&&(e.$$typeof===by||e.$$typeof===_y||e.$$typeof===py||e.$$typeof===my||e.$$typeof===vy||e.$$typeof===KB||e.$$typeof===XB||e.$$typeof===QB||e.$$typeof===ZB)};St.typeOf=Ir;(function(e){e.exports=St})(qB);var vS=I1,JB={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},e9={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},t9={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},R4={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},yS={};yS[vS.ForwardRef]=t9;yS[vS.Memo]=R4;function hP(e){return vS.isMemo(e)?R4:yS[e.$$typeof]||JB}var n9=Object.defineProperty,r9=Object.getOwnPropertyNames,pP=Object.getOwnPropertySymbols,i9=Object.getOwnPropertyDescriptor,o9=Object.getPrototypeOf,mP=Object.prototype;function N4(e,t,n){if(typeof t!="string"){if(mP){var r=o9(t);r&&r!==mP&&N4(e,r,n)}var i=r9(t);pP&&(i=i.concat(pP(t)));for(var o=hP(e),s=hP(t),a=0;at(i(...o)))}return n}function $1(e){return function(n){const r=e(n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function vP(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):e.length!==1}function L4(e,t){return function(r,{displayName:i}){const o=function(a,l){return o.dependsOnOwnProps?o.mapToProps(a,l):o.mapToProps(a,void 0)};return o.dependsOnOwnProps=!0,o.mapToProps=function(a,l){o.mapToProps=e,o.dependsOnOwnProps=vP(e);let c=o(a,l);return typeof c=="function"&&(o.mapToProps=c,o.dependsOnOwnProps=vP(c),c=o(a,l)),c},o}}function wS(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function p9(e){return e&&typeof e=="object"?$1(t=>h9(e,t)):e?typeof e=="function"?L4(e):wS(e,"mapDispatchToProps"):$1(t=>({dispatch:t}))}function m9(e){return e?typeof e=="function"?L4(e):wS(e,"mapStateToProps"):$1(()=>({}))}function g9(e,t,n){return oc({},n,e,t)}function v9(e){return function(n,{displayName:r,areMergedPropsEqual:i}){let o=!1,s;return function(l,c,f){const h=e(l,c,f);return o?i(h,s)||(s=h):(o=!0,s=h),s}}}function y9(e){return e?typeof e=="function"?v9(e):wS(e,"mergeProps"):()=>g9}function _9(){const e=WB();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],i=t;for(;i;)r.push(i),i=i.next;return r},subscribe(r){let i=!0,o=n={callback:r,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){!i||t===null||(i=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}const yP={notify(){},get:()=>[]};function D4(e,t){let n,r=yP;function i(h){return l(),r.subscribe(h)}function o(){r.notify()}function s(){f.onStateChange&&f.onStateChange()}function a(){return Boolean(n)}function l(){n||(n=t?t.addNestedSub(s):e.subscribe(s),r=_9())}function c(){n&&(n(),n=void 0,r.clear(),r=yP)}const f={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:s,isSubscribed:a,trySubscribe:l,tryUnsubscribe:c,getListeners:()=>r};return f}const b9=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",vg=b9?H.useLayoutEffect:H.useEffect;function _P(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function P0(e,t){if(_P(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i=0;i{A4=e},S9=[null,null];function C9(e,t,n){vg(()=>e(...t),n)}function E9(e,t,n,r,i,o){e.current=r,n.current=!1,i.current&&(i.current=null,o())}function T9(e,t,n,r,i,o,s,a,l,c,f){if(!e)return()=>{};let h=!1,p=null;const m=()=>{if(h||!a.current)return;const _=t.getState();let x,v;try{x=r(_,i.current)}catch(b){v=b,p=b}v||(p=null),x===o.current?s.current||c():(o.current=x,l.current=x,s.current=!0,f())};return n.onStateChange=m,n.trySubscribe(),m(),()=>{if(h=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}function O9(e,t){return e===t}function P9(e,t,n,{pure:r,areStatesEqual:i=O9,areOwnPropsEqual:o=P0,areStatePropsEqual:s=P0,areMergedPropsEqual:a=P0,forwardRef:l=!1,context:c=k4}={}){const f=c,h=m9(e),p=p9(t),m=y9(n),g=Boolean(e);return x=>{const v=x.displayName||x.name||"Component",b=`Connect(${v})`,w={shouldHandleStateChanges:g,displayName:b,wrappedComponentName:v,WrappedComponent:x,initMapStateToProps:h,initMapDispatchToProps:p,initMergeProps:m,areStatesEqual:i,areStatePropsEqual:s,areOwnPropsEqual:o,areMergedPropsEqual:a};function E(N){const[A,V,I]=H.useMemo(()=>{const{reactReduxForwardedRef:Q}=N,se=hS(N,w9);return[N.context,Q,se]},[N]),Y=H.useMemo(()=>A&&A.Consumer&&F1.isContextConsumer(z.createElement(A.Consumer,null))?A:f,[A,f]),q=H.useContext(Y),X=Boolean(N.store)&&Boolean(N.store.getState)&&Boolean(N.store.dispatch),Z=Boolean(q)&&Boolean(q.store),J=X?N.store:q.store,oe=Z?q.getServerState:J.getState,ce=H.useMemo(()=>d9(J.dispatch,w),[J]),[K,$]=H.useMemo(()=>{if(!g)return S9;const Q=D4(J,X?void 0:q.subscription),se=Q.notifyNestedSubs.bind(Q);return[Q,se]},[J,X,q]),D=H.useMemo(()=>X?q:oc({},q,{subscription:K}),[X,q,K]),B=H.useRef(),ne=H.useRef(I),W=H.useRef(),G=H.useRef(!1);H.useRef(!1);const re=H.useRef(!1),le=H.useRef();vg(()=>(re.current=!0,()=>{re.current=!1}),[]);const me=H.useMemo(()=>()=>W.current&&I===ne.current?W.current:ce(J.getState(),I),[J,I]),O=H.useMemo(()=>se=>K?T9(g,J,K,ce,ne,B,G,re,W,$,se):()=>{},[K]);C9(E9,[ne,B,G,I,W,$]);let R;try{R=A4(O,me,oe?()=>ce(oe(),I):me)}catch(Q){throw le.current&&(Q.message+=` +The error may be correlated with this previous error: +${le.current.stack} + +`),Q}vg(()=>{le.current=void 0,W.current=void 0,B.current=R});const F=H.useMemo(()=>z.createElement(x,oc({},R,{ref:V})),[V,x,R]);return H.useMemo(()=>g?z.createElement(Y.Provider,{value:D},F):F,[Y,F,D])}const k=z.memo(E);if(k.WrappedComponent=x,k.displayName=E.displayName=b,l){const A=z.forwardRef(function(I,Y){return z.createElement(k,oc({},I,{reactReduxForwardedRef:Y}))});return A.displayName=b,A.WrappedComponent=x,gP(A,x)}return gP(k,x)}}function k9({store:e,context:t,children:n,serverState:r}){const i=H.useMemo(()=>{const a=D4(e);return{store:e,subscription:a,getServerState:r?()=>r:void 0}},[e,r]),o=H.useMemo(()=>e.getState(),[e]);vg(()=>{const{subscription:a}=i;return a.onStateChange=a.notifyNestedSubs,a.trySubscribe(),o!==e.getState()&&a.notifyNestedSubs(),()=>{a.tryUnsubscribe(),a.onStateChange=void 0}},[i,o]);const s=t||k4;return z.createElement(s.Provider,{value:i},n)}x9(gg.useSyncExternalStore);HB(Ba.unstable_batchedUpdates);/** + * @remix-run/router v1.0.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function yg(){return yg=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function N9(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=as.Pop,l=null;function c(){a=as.Pop,l&&l({action:a,location:p.location})}function f(m,g){a=as.Push;let _=j1(p.location,m,g);n&&n(_,m);let x=wP(_),v=p.createHref(_);try{s.pushState(x,"",v)}catch{i.location.assign(v)}o&&l&&l({action:a,location:_})}function h(m,g){a=as.Replace;let _=j1(p.location,m,g);n&&n(_,m);let x=wP(_),v=p.createHref(_);s.replaceState(x,"",v),o&&l&&l({action:a,location:_})}let p={get action(){return a},get location(){return e(i,s)},listen(m){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(bP,c),l=m,()=>{i.removeEventListener(bP,c),l=null}},createHref(m){return t(i,m)},push:f,replace:h,go(m){return s.go(m)}};return p}var xP;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(xP||(xP={}));function L9(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Uc(t):t,i=F4(r.pathname||"/",n);if(i==null)return null;let o=I4(e);D9(o);let s=null;for(let a=0;s==null&&a{let s={relativePath:i.path||"",caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};s.relativePath.startsWith("/")&&(er(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let a=xs([r,s.relativePath]),l=n.concat(s);i.children&&i.children.length>0&&(er(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),I4(i.children,t,l,a)),!(i.path==null&&!i.index)&&t.push({path:a,score:z9(a,i.index),routesMeta:l})}),t}function D9(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:U9(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const A9=/^:\w+$/,I9=3,F9=2,$9=1,j9=10,B9=-2,SP=e=>e==="*";function z9(e,t){let n=e.split("/"),r=n.length;return n.some(SP)&&(r+=B9),t&&(r+=F9),n.filter(i=>!SP(i)).reduce((i,o)=>i+(A9.test(o)?I9:o===""?$9:j9),r)}function U9(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function V9(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let s=0;s{if(f==="*"){let p=a[h]||"";s=o.slice(0,o.length-p.length).replace(/(.)\/+$/,"$1")}return c[f]=W9(a[h]||"",f),c},{}),pathname:o,pathnameBase:s,pattern:e}}function H9(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),$4(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(s,a)=>(r.push(a),"([^\\/]+)"));return e.endsWith("*")?(r.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=n?"\\/*$":"(?:(?=[@.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(i,t?void 0:"i"),r]}function W9(e,t){try{return decodeURIComponent(e)}catch(n){return $4(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function F4(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function er(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function $4(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Y9(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Uc(e):e;return{pathname:n?n.startsWith("/")?n:q9(n,t):t,search:Z9(r),hash:K9(i)}}function q9(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function j4(e,t,n,r){r===void 0&&(r=!1);let i=typeof e=="string"?Uc(e):yg({},e),o=e===""||i.pathname==="",s=o?"/":i.pathname,a;if(r||s==null)a=n;else{let h=t.length-1;if(s.startsWith("..")){let p=s.split("/");for(;p[0]==="..";)p.shift(),h-=1;i.pathname=p.join("/")}a=h>=0?t[h]:"/"}let l=Y9(i,a),c=s&&s!=="/"&&s.endsWith("/"),f=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||f)&&(l.pathname+="/"),l}const xs=e=>e.join("/").replace(/\/\/+/g,"/"),G9=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Z9=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,K9=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class X9{constructor(t,n,r){this.status=t,this.statusText=n||"",this.data=r}}function Q9(e){return e instanceof X9}/** + * React Router v6.4.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function z1(){return z1=Object.assign?Object.assign.bind():function(e){for(var t=1;t{i.value=r,i.getSnapshot=t,k0(i)&&o({inst:i})},[e,r,t]),nz(()=>(k0(i)&&o({inst:i}),e(()=>{k0(i)&&o({inst:i})})),[e]),iz(r),r}function k0(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!ez(n,r)}catch{return!0}}function sz(e,t,n){return t()}const az=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",lz=!az,cz=lz?sz:oz;"useSyncExternalStore"in Ub&&(e=>e.useSyncExternalStore)(Ub);const uz=H.createContext(null),fz=H.createContext(null),Ry=H.createContext(null),SS=H.createContext(null),Ny=H.createContext(null),Vc=H.createContext({outlet:null,matches:[]}),B4=H.createContext(null);function dz(e,t){let{relative:n}=t===void 0?{}:t;sl()||er(!1);let{basename:r,navigator:i}=H.useContext(SS),{hash:o,pathname:s,search:a}=_g(e,{relative:n}),l=s;return r!=="/"&&(l=s==="/"?r:xs([r,s])),i.createHref({pathname:l,search:a,hash:o})}function sl(){return H.useContext(Ny)!=null}function Wn(){return sl()||er(!1),H.useContext(Ny).location}function hz(e){sl()||er(!1);let{pathname:t}=Wn();return H.useMemo(()=>xS(e,t),[t,e])}function z4(e){return e.filter((t,n)=>n===0||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase)}function Io(){sl()||er(!1);let{basename:e,navigator:t}=H.useContext(SS),{matches:n}=H.useContext(Vc),{pathname:r}=Wn(),i=JSON.stringify(z4(n).map(a=>a.pathnameBase)),o=H.useRef(!1);return H.useEffect(()=>{o.current=!0}),H.useCallback(function(a,l){if(l===void 0&&(l={}),!o.current)return;if(typeof a=="number"){t.go(a);return}let c=j4(a,JSON.parse(i),r,l.relative==="path");e!=="/"&&(c.pathname=c.pathname==="/"?e:xs([e,c.pathname])),(l.replace?t.replace:t.push)(c,l.state,l)},[e,t,i,r])}function Ws(){let{matches:e}=H.useContext(Vc),t=e[e.length-1];return t?t.params:{}}function _g(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=H.useContext(Vc),{pathname:i}=Wn(),o=JSON.stringify(z4(r).map(s=>s.pathnameBase));return H.useMemo(()=>j4(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function pz(e,t){sl()||er(!1);let n=H.useContext(Ry),{matches:r}=H.useContext(Vc),i=r[r.length-1],o=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let a=Wn(),l;if(t){var c;let g=typeof t=="string"?Uc(t):t;s==="/"||(c=g.pathname)!=null&&c.startsWith(s)||er(!1),l=g}else l=a;let f=l.pathname||"/",h=s==="/"?f:f.slice(s.length)||"/",p=L9(e,{pathname:h}),m=yz(p&&p.map(g=>Object.assign({},g,{params:Object.assign({},o,g.params),pathname:xs([s,g.pathname]),pathnameBase:g.pathnameBase==="/"?s:xs([s,g.pathnameBase])})),r,n||void 0);return t?H.createElement(Ny.Provider,{value:{location:z1({pathname:"/",search:"",hash:"",state:null,key:"default"},l),navigationType:as.Pop}},m):m}function mz(){let e=bz(),t=Q9(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r};return H.createElement(H.Fragment,null,H.createElement("h2",null,"Unhandled Thrown Error!"),H.createElement("h3",{style:{fontStyle:"italic"}},t),n?H.createElement("pre",{style:i},n):null,H.createElement("p",null,"💿 Hey developer 👋"),H.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",H.createElement("code",{style:o},"errorElement")," props on ",H.createElement("code",{style:o},"")))}class gz extends H.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?H.createElement(B4.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function vz(e){let{routeContext:t,match:n,children:r}=e,i=H.useContext(uz);return i&&n.route.errorElement&&(i._deepestRenderedBoundaryId=n.route.id),H.createElement(Vc.Provider,{value:t},r)}function yz(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,i=n==null?void 0:n.errors;if(i!=null){let o=r.findIndex(s=>s.route.id&&(i==null?void 0:i[s.route.id]));o>=0||er(!1),r=r.slice(0,Math.min(r.length,o+1))}return r.reduceRight((o,s,a)=>{let l=s.route.id?i==null?void 0:i[s.route.id]:null,c=n?s.route.errorElement||H.createElement(mz,null):null,f=()=>H.createElement(vz,{match:s,routeContext:{outlet:o,matches:t.concat(r.slice(0,a+1))}},l?c:s.route.element!==void 0?s.route.element:o);return n&&(s.route.errorElement||a===0)?H.createElement(gz,{location:n.location,component:c,error:l,children:f()}):f()},null)}var U1;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(U1||(U1={}));function _z(e){let t=H.useContext(Ry);return t||er(!1),t}function bz(){var e;let t=H.useContext(B4),n=_z(U1.UseRouteError),r=H.useContext(Vc),i=r.matches[r.matches.length-1];return t||(r||er(!1),i.route.id||er(!1),(e=n.errors)==null?void 0:e[i.route.id])}function CS(e){let{to:t,replace:n,state:r,relative:i}=e;sl()||er(!1);let o=H.useContext(Ry),s=Io();return H.useEffect(()=>{o&&o.navigation.state!=="idle"||s(t,{replace:n,state:r,relative:i})}),null}function _t(e){er(!1)}function wz(e){let{basename:t="/",children:n=null,location:r,navigationType:i=as.Pop,navigator:o,static:s=!1}=e;sl()&&er(!1);let a=t.replace(/^\/*/,"/"),l=H.useMemo(()=>({basename:a,navigator:o,static:s}),[a,o,s]);typeof r=="string"&&(r=Uc(r));let{pathname:c="/",search:f="",hash:h="",state:p=null,key:m="default"}=r,g=H.useMemo(()=>{let _=F4(c,a);return _==null?null:{pathname:_,search:f,hash:h,state:p,key:m}},[a,c,f,h,p,m]);return g==null?null:H.createElement(SS.Provider,{value:l},H.createElement(Ny.Provider,{children:n,value:{location:g,navigationType:i}}))}function Ly(e){let{children:t,location:n}=e,r=H.useContext(fz),i=r&&!t?r.router.routes:V1(t);return pz(i,n)}var CP;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(CP||(CP={}));new Promise(()=>{});function V1(e,t){t===void 0&&(t=[]);let n=[];return H.Children.forEach(e,(r,i)=>{if(!H.isValidElement(r))return;if(r.type===H.Fragment){n.push.apply(n,V1(r.props.children,t));return}r.type!==_t&&er(!1);let o=[...t,i],s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,hasErrorBoundary:r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle};r.props.children&&(s.children=V1(r.props.children,o)),n.push(s)}),n}/** + * React Router DOM v6.4.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function bg(){return bg=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function xz(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Sz(e,t){return e.button===0&&(!t||t==="_self")&&!xz(e)}const Cz=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],Ez=["aria-current","caseSensitive","className","end","style","to","children"];function Tz(e){let{basename:t,children:n,window:r}=e,i=H.useRef();i.current==null&&(i.current=M9({window:r,v5Compat:!0}));let o=i.current,[s,a]=H.useState({action:o.action,location:o.location});return H.useLayoutEffect(()=>o.listen(a),[o]),H.createElement(wz,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o})}const It=H.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:s,state:a,target:l,to:c,preventScrollReset:f}=t,h=U4(t,Cz),p=dz(c,{relative:i}),m=Oz(c,{replace:s,state:a,target:l,preventScrollReset:f,relative:i});function g(_){r&&r(_),_.defaultPrevented||m(_)}return H.createElement("a",bg({},h,{href:p,onClick:o?r:g,ref:n,target:l}))}),V4=H.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:o="",end:s=!1,style:a,to:l,children:c}=t,f=U4(t,Ez),h=_g(l),p=hz({path:h.pathname,end:s,caseSensitive:i}),m=H.useContext(Ry),g=m==null?void 0:m.navigation.location,_=_g(g||""),v=H.useMemo(()=>g?xS({path:h.pathname,end:s,caseSensitive:i},_.pathname):null,[g,h.pathname,i,s,_.pathname])!=null,b=p!=null,w=b?r:void 0,E;typeof o=="function"?E=o({isActive:b,isPending:v}):E=[o,b?"active":null,v?"pending":null].filter(Boolean).join(" ");let P=typeof a=="function"?a({isActive:b,isPending:v}):a;return H.createElement(It,bg({},f,{"aria-current":w,className:E,ref:n,style:P,to:l}),typeof c=="function"?c({isActive:b,isPending:v}):c)});function Oz(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:s}=t===void 0?{}:t,a=Io(),l=Wn(),c=_g(e,{relative:s});return H.useCallback(f=>{if(Sz(f,n)){f.preventDefault();let h=r!==void 0?r:B1(l)===B1(c);a(e,{replace:h,state:i,preventScrollReset:o,relative:s})}},[l,a,c,r,i,n,e,o,s])}const Pz="shlink-web-client",kz="A React-based progressive web application for shlink",Mz="/shlink-web-client/feature/vite",Rz="https://github.com/shlinkio/shlink-web-client",Nz="MIT",Lz={lint:"npm run lint:css && npm run lint:js","lint:css":"stylelint src/*.scss src/**/*.scss","lint:js":"eslint --ext .js,.ts,.tsx src test","lint:fix":"npm run lint:css:fix && npm run lint:js:fix","lint:css:fix":"npm run lint:css -- --fix","lint:js:fix":"npm run lint:js -- --fix",start:"vite serve --host=0.0.0.0",build:"tsc && vite build && node scripts/replace-version.mjs","build:dist":"npm run build && node scripts/create-dist-file.mjs","build:serve":"serve -p 5000 ./build",test:"jest --env=jsdom --colors","test:coverage":"npm run test -- --coverage --coverageReporters=text --coverageReporters=text-summary","test:ci":"npm run test:coverage -- --coverageReporters=clover --ci","test:pretty":"npm run test:coverage -- --coverageReporters=html","test:verbose":"npm run test -- --verbose",mutate:"./node_modules/.bin/stryker run --concurrency 4 --ignoreStatic"},Dz={"@babel/preset-env":"^7.20.2","@babel/preset-react":"^7.18.6","@babel/preset-typescript":"^7.18.6","@fortawesome/fontawesome-free":"^6.2.0","@fortawesome/fontawesome-svg-core":"^6.2.0","@fortawesome/free-regular-svg-icons":"^6.2.0","@fortawesome/free-solid-svg-icons":"^6.2.0","@fortawesome/react-fontawesome":"^0.2.0","@json2csv/plainjs":"^6.1.2","@reduxjs/toolkit":"^1.9.0",bootstrap:"^5.2.2",bottlejs:"^2.0.1",bowser:"^2.11.0","chart.js":"^3.9.1",classnames:"^2.3.1","compare-versions":"^5.0.1",csvtojson:"^2.0.10","date-fns":"^2.29.3","event-source-polyfill":"^1.0.31",history:"^5.3.0",leaflet:"^1.9.2",qs:"^6.11.0",ramda:"^0.27.2",react:"^18.2.0","react-chartjs-2":"^4.3.1","react-colorful":"^5.6.1","react-copy-to-clipboard":"^5.1.0","react-datepicker":"^4.8.0","react-dom":"^18.2.0","react-external-link":"^2.0.0","react-leaflet":"^4.1.0","react-redux":"^8.0.4","react-router-dom":"^6.4.1","react-swipeable":"^7.0.0","react-tag-autocomplete":"^6.3.0",reactstrap:"^9.1.4",redux:"^4.2.0","redux-localstorage-simple":"^2.5.1","redux-thunk":"^2.4.1",uuid:"^8.3.2","workbox-core":"^6.5.4","workbox-expiration":"^6.5.4","workbox-precaching":"^6.5.4","workbox-routing":"^6.5.4","workbox-strategies":"^6.5.4"},Az={"@shlinkio/eslint-config-js-coding-standard":"~2.0.2","@shlinkio/stylelint-config-css-coding-standard":"~1.0.1","@stryker-mutator/core":"^6.2.2","@stryker-mutator/jest-runner":"^6.2.2","@stryker-mutator/typescript-checker":"^6.2.2","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^13.4.0","@testing-library/user-event":"^14.4.3","@types/jest":"^29.1.1","@types/json2csv":"^5.0.3","@types/leaflet":"^1.8.0","@types/qs":"^6.9.7","@types/ramda":"^0.28.15","@types/react":"^18.0.21","@types/react-color":"^3.0.6","@types/react-copy-to-clipboard":"^5.0.4","@types/react-datepicker":"^4.4.2","@types/react-dom":"^18.0.6","@types/react-tag-autocomplete":"^6.3.0","@types/uuid":"^8.3.4","@vitejs/plugin-react":"^3.0.0","adm-zip":"^0.5.9","babel-jest":"^29.3.1",chalk:"^5.0.1",eslint:"^8.24.0","identity-obj-proxy":"^3.0.0",jest:"^29.1.2","jest-canvas-mock":"^2.4.0","jest-environment-jsdom":"^29.1.2","resize-observer-polyfill":"^1.5.1",sass:"^1.55.0",serve:"^14.1.1","stryker-cli":"^1.0.2",stylelint:"^14.13.0","ts-mockery":"^1.2.0",typescript:"^4.8.4",vite:"^4.0.3"},Iz=[">0.2%","not dead","not ie <= 11","not op_mini all"],H4={name:Pz,description:kz,private:!1,homepage:Mz,repository:Rz,license:Nz,scripts:Lz,dependencies:Dz,devDependencies:Az,browserslist:Iz};var Pi,Ji=".",W4="function",Y4="string",q4="__global__",ES="Provider",Fz=0,TS=Array.prototype.slice,$z=function(t,n){var r=t[n];if(r===void 0&&Pi.config.strict)throw new Error("Bottle was unable to resolve a service. `"+n+"` is undefined.");return r},Dy=function(t){var n;return this.nested[t]||(n=Pi.pop(),this.nested[t]=n,this.factory(t,function(){return n.container})),this.nested[t]},G4=function(t){return t.split(Ji).reduce($z,this)},jz=function(t,n,r,i){var o={configurable:!0,enumerable:!0};return t.length?o.get=function(){var a=0,l=function(f){if(f)throw f;t[a]&&t[a++](r,l)};return l(),r}:(o.value=r,o.writable=!0),Object.defineProperty(i,n,o),i[n]},Bz=function(t,n){var r,i;return typeof t===W4&&(n=t,t=q4),r=t.split(Ji),i=r.shift(),r.length?Dy.call(this,i).middleware(r.join(Ji),n):(this.middlewares[i]||(this.middlewares[i]=[]),this.middlewares[i].push(n)),this},zz=function(t,n){return n(t)},EP=function(t,n){return(t[n]||[]).concat(t.__global__||[])},Uz=function(t,n){var r,i,o,s,a;return this.id,o=this.container,s=this.decorators,a=this.middlewares,r=t+ES,i=Object.create(null),i[r]={configurable:!0,enumerable:!0,get:function(){var c=new n;return delete o[r],o[r]=c,c}},i[t]={configurable:!0,enumerable:!0,get:function(){var c=o[r],f;return c&&(f=EP(s,t).reduce(zz,c.$get(o)),delete o[r],delete o[t]),f===void 0?f:jz(EP(a,t),t,f,o)}},Object.defineProperties(o,i),this},Z4=function(t,n){var r,i;return r=t.split(Ji),this.providerMap[t]&&r.length===1&&!this.container[t+ES]?console.error(t+" provider already instantiated."):(this.originalProviders[t]=n,this.providerMap[t]=!0,i=r.shift(),r.length?(Dy.call(this,i).provider(r.join(Ji),n),this):Uz.call(this,i,n))},OS=function(t,n){return Z4.call(this,t,function(){this.$get=n})},K4=function(t,n,r){var i=arguments.length>3?TS.call(arguments,3):[],o=this;return OS.call(this,t,function(){var a=n,l=i.map(G4,o.container);return r?new(n.bind.apply(n,[null].concat(l))):a.apply(null,l)})},Vz=function(t,n){return K4.apply(this,[t,n,!0].concat(TS.call(arguments,2)))},Hz=function(t,n){return K4.apply(this,[t,n,!1].concat(TS.call(arguments,2)))},X4=function(t,n){Object.defineProperty(this,t,{configurable:!0,enumerable:!0,value:n,writable:!0})},Q4=function(t,n){var r=t[n];return r||(r={},X4.call(t,n,r)),r},Wz=function(t,n){var r;return r=t.split(Ji),t=r.pop(),X4.call(r.reduce(Q4,this.container),t,n),this},Yz=function(t,n){Object.defineProperty(this,t,{configurable:!1,enumerable:!0,value:n,writable:!1})},qz=function(t,n){var r=t.split(Ji);return t=r.pop(),Yz.call(r.reduce(Q4,this.container),t,n),this},J4=function(t,n){var r,i;return typeof t===W4&&(n=t,t=q4),r=t.split(Ji),i=r.shift(),r.length?Dy.call(this,i).decorator(r.join(Ji),n):(this.decorators[i]||(this.decorators[i]=[]),this.decorators[i].push(n)),this},Gz=function(t){return this.deferred.push(t),this},Zz=function(t){return(t||[]).map(G4,this.container)},Kz=function(t,n){return OS.call(this,t,function(i){return{instance:n.bind(n,i)}})},Xz=function(t){return!/^\$(?:decorator|register|list)$|Provider$/.test(t)},PS=function(t){return Object.keys(t||this.container||{}).filter(Xz)},wg={},Qz=function(t){var n;return typeof t===Y4?(n=wg[t],n||(wg[t]=n=new Pi,n.constant("BOTTLE_NAME",t)),n):new Pi},Jz=function(t){typeof t===Y4?delete wg[t]:wg={}},eA=function(t){var n=t.$value===void 0?t:t.$value;return this[t.$type||"service"].apply(this,[t.$name,n].concat(t.$inject||[]))},TP=function(t){delete this.providerMap[t],delete this.container[t],delete this.container[t+ES]},eU=function(t){var n=this.originalProviders,r=Array.isArray(t);Object.keys(this.originalProviders).forEach(function(o){if(!(r&&t.indexOf(o)===-1)){var s=o.split(Ji);s.length>1&&s.forEach(TP,Dy.call(this,s[0])),TP.call(this,o),this.provider(o,n[o])}},this)},tU=function(t){return this.deferred.forEach(function(r){r(t)}),this};Pi=function e(t){if(!(this instanceof e))return e.pop(t);this.id=Fz++,this.decorators={},this.middlewares={},this.nested={},this.providerMap={},this.originalProviders={},this.deferred=[],this.container={$decorator:J4.bind(this),$register:eA.bind(this),$list:PS.bind(this)}};Pi.prototype={constant:qz,decorator:J4,defer:Gz,digest:Zz,factory:OS,instanceFactory:Kz,list:PS,middleware:Bz,provider:Z4,resetProviders:eU,register:eA,resolve:tU,service:Vz,serviceFactory:Hz,value:Wz};Pi.pop=Qz;Pi.clear=Jz;Pi.list=PS;Pi.config={strict:!1};const nU=Pi;var rU=function(){return!0};const kS=rU;function Nt(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}function wt(e){return function t(n){return arguments.length===0||Nt(n)?t:e.apply(this,arguments)}}function ft(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return Nt(n)?t:wt(function(i){return e(n,i)});default:return Nt(n)&&Nt(r)?t:Nt(n)?wt(function(i){return e(i,r)}):Nt(r)?wt(function(i){return e(n,i)}):e(n,r)}}}function iU(e,t){e=e||[],t=t||[];var n,r=e.length,i=t.length,o=[];for(n=0;n=arguments.length)?a=t[s]:(a=arguments[i],i+=1),r[s]=a,Nt(a)||(o-=1),s+=1}return o<=0?n.apply(this,r):Hc(o,Ay(e,r,n))}}var oU=ft(function(t,n){return t===1?wt(n):Hc(t,Ay(t,[],n))});const xg=oU;function Ys(e){return function t(n,r,i){switch(arguments.length){case 0:return t;case 1:return Nt(n)?t:ft(function(o,s){return e(n,o,s)});case 2:return Nt(n)&&Nt(r)?t:Nt(n)?ft(function(o,s){return e(o,r,s)}):Nt(r)?ft(function(o,s){return e(n,o,s)}):wt(function(o){return e(n,r,o)});default:return Nt(n)&&Nt(r)&&Nt(i)?t:Nt(n)&&Nt(r)?ft(function(o,s){return e(o,s,i)}):Nt(n)&&Nt(i)?ft(function(o,s){return e(o,r,s)}):Nt(r)&&Nt(i)?ft(function(o,s){return e(n,o,s)}):Nt(n)?wt(function(o){return e(o,r,i)}):Nt(r)?wt(function(o){return e(n,o,i)}):Nt(i)?wt(function(o){return e(n,r,o)}):e(n,r,i)}}}const Td=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function sU(e){return e!=null&&typeof e["@@transducer/step"]=="function"}function MS(e,t,n){return function(){if(arguments.length===0)return n();var r=Array.prototype.slice.call(arguments,0),i=r.pop();if(!Td(i)){for(var o=0;ot?n:t});const tA=aU;function Gp(e,t){for(var n=0,r=t.length,i=Array(r);n0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1});const nA=lU;var cU=function(){function e(t){this.f=t}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(t){return t},e.prototype["@@transducer/step"]=function(t,n){return this.f(t,n)},e}();function uU(e){return new cU(e)}var fU=ft(function(t,n){return Hc(t.length,function(){return t.apply(n,arguments)})});const dU=fU;function hU(e,t,n){for(var r=0,i=n.length;r=0;)n=RP[r],Pr(n,t)&&!_U(i,n)&&(i[i.length]=n),r-=1;return i});const eo=bU;var wU=ft(MS(["fantasy-land/map","map"],gU,function(t,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return xg(n.length,function(){return t.call(this,n.apply(this,arguments))});case"[object Object]":return Wc(function(r,i){return r[i]=t(n[i]),r},{},eo(n));default:return Gp(t,n)}}));const Od=wU,H1=Number.isInteger||function(t){return t<<0===t};var xU=ft(function(t,n){var r=t<0?n.length+t:t;return Iy(n)?n.charAt(r):n[r]});const iA=xU;var SU=ft(function(t,n){return t.map(function(r){for(var i=n,o=0,s;o1){var o=!Fo(r)&&Pr(i,r)?r[i]:H1(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,o)}if(H1(i)&&Td(r)){var s=[].concat(r);return s[i]=n,s}else return Yf(i,n,r)});const wl=AU;function IU(e){var t=Object.prototype.toString.call(e);return t==="[object Function]"||t==="[object AsyncFunction]"||t==="[object GeneratorFunction]"||t==="[object AsyncGeneratorFunction]"}var FU=ft(function(t,n){var r=xg(t,n);return xg(t,function(){return Wc(RU,Od(r,arguments[0]),Array.prototype.slice.call(arguments,1))})});const $U=FU;var jU=wt(function(t){return $U(t.length,t)});const BU=jU;function zU(e){return function t(n){for(var r,i,o,s=[],a=0,l=n.length;a=0;){if(n[o]===e)return r[o]===t;o-=1}switch(i){case"Map":return e.size!==t.size?!1:AP(e.entries(),t.entries(),n.concat([e]),r.concat([t]));case"Set":return e.size!==t.size?!1:AP(e.values(),t.values(),n.concat([e]),r.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var s=eo(e);if(s.length!==eo(t).length)return!1;var a=n.concat([e]),l=r.concat([t]);for(o=s.length-1;o>=0;){var c=s[o];if(!(Pr(c,t)&&LS(t[c],e[c],a,l)))return!1;o-=1}return!0}var rV=ft(function(t,n){return LS(t,n,[],[])});const DS=rV;function iV(e,t,n){var r,i;if(typeof e.indexOf=="function")switch(typeof t){case"number":if(t===0){for(r=1/t;n=0}function N0(e){var t=e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+t.replace(/"/g,'\\"')+'"'}var Cu=function(t){return(t<10?"0":"")+t},sV=typeof Date.prototype.toISOString=="function"?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+Cu(t.getUTCMonth()+1)+"-"+Cu(t.getUTCDate())+"T"+Cu(t.getUTCHours())+":"+Cu(t.getUTCMinutes())+":"+Cu(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};const aV=sV;function lV(e){return function(){return!e.apply(this,arguments)}}function cV(e,t){for(var n=0,r=t.length,i=[];n":lA(s,a)},r=function(o,s){return Gp(function(a){return N0(a)+": "+n(o[a])},s.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Gp(n,e).join(", ")+"))";case"[object Array]":return"["+Gp(n,e).concat(r(e,Pd(function(o){return/^\d+$/.test(o)},eo(e)))).join(", ")+"]";case"[object Boolean]":return typeof e=="object"?"new Boolean("+n(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?n(NaN):N0(aV(e)))+")";case"[object Null]":return"null";case"[object Number]":return typeof e=="object"?"new Number("+n(e.valueOf())+")":1/e===-1/0?"-0":e.toString(10);case"[object String]":return typeof e=="object"?"new String("+n(e.valueOf())+")":N0(e);case"[object Undefined]":return"undefined";default:if(typeof e.toString=="function"){var i=e.toString();if(i!=="[object Object]")return i}return"{"+r(e,eo(e)).join(", ")+"}"}}var mV=wt(function(t){return lA(t,[])});const gV=mV;var vV=wt(function(t){var n=RS(tA,0,Od(function(r){return r[0].length},t));return Hc(n,function(){for(var r=0;rs?1:0})});const JV=QV;var eH=ft(function(t,n){if(t<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var r=[],i=0;i!!(e!=null&&e.url)&&!!(e!=null&&e.apiKey),Ss=e=>!!(e!=null&&e.id),jy=e=>!!(e!=null&&e.version),cH=e=>!!(e!=null&&e.serverNotFound),kd=e=>Ss(e)?e.id:"",uH=e=>WV(["id","autoConnect"],e),By=(e,t,n)=>e!==t?"ASC":n?{ASC:"DESC",DESC:void 0}[n]:"ASC",gA=(e,{field:t,dir:n})=>!t||!n?e:e.sort((r,i)=>{const o=n==="ASC"?1:-1,s=n==="ASC"?-1:1;return r[t]>i[t]?o:s}),vA=e=>e.dir?`${e.field}-${e.dir}`:void 0,fH=e=>{const[t,n]=e.split("-");return{field:t,dir:n}};var zy=(e=>(e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.INVALID_SHORT_URL_DELETION="INVALID_SHORT_URL_DELETION",e.DOMAIN_NOT_FOUND="DOMAIN_NOT_FOUND",e.FORBIDDEN_OPERATION="FORBIDDEN_OPERATION",e.INVALID_URL="INVALID_URL",e.INVALID_SLUG="INVALID_SLUG",e.INVALID_SHORTCODE="INVALID_SHORTCODE",e.TAG_CONFLICT="TAG_CONFLICT",e.TAG_NOT_FOUND="TAG_NOT_FOUND",e.MERCURE_NOT_CONFIGURED="MERCURE_NOT_CONFIGURED",e.INVALID_AUTHORIZATION="INVALID_AUTHORIZATION",e.INVALID_API_KEY="INVALID_API_KEY",e.NOT_FOUND="NOT_FOUND",e))(zy||{}),Uy=(e=>(e.INVALID_ARGUMENT="https://shlink.io/api/error/invalid-data",e.INVALID_SHORT_URL_DELETION="https://shlink.io/api/error/invalid-short-url-deletion",e.DOMAIN_NOT_FOUND="https://shlink.io/api/error/domain-not-found",e.FORBIDDEN_OPERATION="https://shlink.io/api/error/forbidden-tag-operation",e.INVALID_URL="https://shlink.io/api/error/invalid-url",e.INVALID_SLUG="https://shlink.io/api/error/non-unique-slug",e.INVALID_SHORTCODE="https://shlink.io/api/error/short-url-not-found",e.TAG_CONFLICT="https://shlink.io/api/error/tag-conflict",e.TAG_NOT_FOUND="https://shlink.io/api/error/tag-not-found",e.MERCURE_NOT_CONFIGURED="https://shlink.io/api/error/mercure-not-configured",e.INVALID_AUTHORIZATION="https://shlink.io/api/error/missing-authentication",e.INVALID_API_KEY="https://shlink.io/api/error/invalid-api-key",e.NOT_FOUND="https://shlink.io/api/error/not-found",e))(Uy||{});const dH=e=>!!e&&typeof e=="object"&&["type","detail","title","status"].every(t=>t in e),ro=e=>dH(e)?e:void 0,hH=e=>(e==null?void 0:e.type)===zy.INVALID_ARGUMENT||(e==null?void 0:e.type)===Uy.INVALID_ARGUMENT,pH=e=>(e==null?void 0:e.type)==="INVALID_SHORTCODE_DELETION"||(e==null?void 0:e.type)===zy.INVALID_SHORT_URL_DELETION||(e==null?void 0:e.type)===Uy.INVALID_SHORT_URL_DELETION,mH=e=>((e==null?void 0:e.type)===zy.NOT_FOUND||(e==null?void 0:e.type)===Uy.NOT_FOUND)&&(e==null?void 0:e.status)===404;var gH=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;t[n]=i;for(n in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,n);if(s.value!==i||s.enumerable!==!0)return!1}return!0},FP=typeof Symbol<"u"&&Symbol,vH=gH,yH=function(){return typeof FP!="function"||typeof Symbol!="function"||typeof FP("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:vH()},_H="Function.prototype.bind called on incompatible ",L0=Array.prototype.slice,bH=Object.prototype.toString,wH="[object Function]",xH=function(t){var n=this;if(typeof n!="function"||bH.call(n)!==wH)throw new TypeError(_H+n);for(var r=L0.call(arguments,1),i,o=function(){if(this instanceof i){var f=n.apply(this,r.concat(L0.call(arguments)));return Object(f)===f?f:this}else return n.apply(t,r.concat(L0.call(arguments)))},s=Math.max(0,n.length-r.length),a=[],l=0;l"u"?ut:Jo(Uint8Array),ac={"%AggregateError%":typeof AggregateError>"u"?ut:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ut:ArrayBuffer,"%ArrayIteratorPrototype%":xl?Jo([][Symbol.iterator]()):ut,"%AsyncFromSyncIteratorPrototype%":ut,"%AsyncFunction%":Dl,"%AsyncGenerator%":Dl,"%AsyncGeneratorFunction%":Dl,"%AsyncIteratorPrototype%":Dl,"%Atomics%":typeof Atomics>"u"?ut:Atomics,"%BigInt%":typeof BigInt>"u"?ut:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ut:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?ut:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ut:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ut:FinalizationRegistry,"%Function%":yA,"%GeneratorFunction%":Dl,"%Int8Array%":typeof Int8Array>"u"?ut:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ut:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ut:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":xl?Jo(Jo([][Symbol.iterator]())):ut,"%JSON%":typeof JSON=="object"?JSON:ut,"%Map%":typeof Map>"u"?ut:Map,"%MapIteratorPrototype%":typeof Map>"u"||!xl?ut:Jo(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ut:Promise,"%Proxy%":typeof Proxy>"u"?ut:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?ut:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ut:Set,"%SetIteratorPrototype%":typeof Set>"u"||!xl?ut:Jo(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ut:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":xl?Jo(""[Symbol.iterator]()):ut,"%Symbol%":xl?Symbol:ut,"%SyntaxError%":Gf,"%ThrowTypeError%":TH,"%TypedArray%":OH,"%TypeError%":sc,"%Uint8Array%":typeof Uint8Array>"u"?ut:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ut:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ut:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ut:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?ut:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ut:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ut:WeakSet},PH=function e(t){var n;if(t==="%AsyncFunction%")n=D0("async function () {}");else if(t==="%GeneratorFunction%")n=D0("function* () {}");else if(t==="%AsyncGeneratorFunction%")n=D0("async function* () {}");else if(t==="%AsyncGenerator%"){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&(n=Jo(i.prototype))}return ac[t]=n,n},$P={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Vy=FS,Tg=EH,kH=Vy.call(Function.call,Array.prototype.concat),MH=Vy.call(Function.apply,Array.prototype.splice),jP=Vy.call(Function.call,String.prototype.replace),Og=Vy.call(Function.call,String.prototype.slice),RH=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,NH=/\\(\\)?/g,LH=function(t){var n=Og(t,0,1),r=Og(t,-1);if(n==="%"&&r!=="%")throw new Gf("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new Gf("invalid intrinsic syntax, expected opening `%`");var i=[];return jP(t,RH,function(o,s,a,l){i[i.length]=a?jP(l,NH,"$1"):s||o}),i},DH=function(t,n){var r=t,i;if(Tg($P,r)&&(i=$P[r],r="%"+i[0]+"%"),Tg(ac,r)){var o=ac[r];if(o===Dl&&(o=PH(r)),typeof o>"u"&&!n)throw new sc("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:o}}throw new Gf("intrinsic "+t+" does not exist!")},$S=function(t,n){if(typeof t!="string"||t.length===0)throw new sc("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new sc('"allowMissing" argument must be a boolean');var r=LH(t),i=r.length>0?r[0]:"",o=DH("%"+i+"%",n),s=o.name,a=o.value,l=!1,c=o.alias;c&&(i=c[0],MH(r,kH([0,1],c)));for(var f=1,h=!0;f=r.length){var _=Da(a,p);h=!!_,h&&"get"in _&&!("originalValue"in _.get)?a=_.get:a=a[p]}else h=Tg(a,p),a=a[p];h&&!l&&(ac[s]=a)}}return a},Y1={},AH={get exports(){return Y1},set exports(e){Y1=e}};(function(e){var t=FS,n=$S,r=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),o=n("%Reflect.apply%",!0)||t.call(i,r),s=n("%Object.getOwnPropertyDescriptor%",!0),a=n("%Object.defineProperty%",!0),l=n("%Math.max%");if(a)try{a({},"a",{value:1})}catch{a=null}e.exports=function(h){var p=o(t,i,arguments);if(s&&a){var m=s(p,"length");m.configurable&&a(p,"length",{value:1+l(0,h.length-(arguments.length-1))})}return p};var c=function(){return o(t,r,arguments)};a?a(e.exports,"apply",{value:c}):e.exports.apply=c})(AH);var _A=$S,bA=Y1,IH=bA(_A("String.prototype.indexOf")),FH=function(t,n){var r=_A(t,!!n);return typeof r=="function"&&IH(t,".prototype.")>-1?bA(r):r};const $H={},jH=Object.freeze(Object.defineProperty({__proto__:null,default:$H},Symbol.toStringTag,{value:"Module"})),BH=K$(jH);var jS=typeof Map=="function"&&Map.prototype,I0=Object.getOwnPropertyDescriptor&&jS?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Pg=jS&&I0&&typeof I0.get=="function"?I0.get:null,zH=jS&&Map.prototype.forEach,BS=typeof Set=="function"&&Set.prototype,F0=Object.getOwnPropertyDescriptor&&BS?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,kg=BS&&F0&&typeof F0.get=="function"?F0.get:null,UH=BS&&Set.prototype.forEach,VH=typeof WeakMap=="function"&&WeakMap.prototype,af=VH?WeakMap.prototype.has:null,HH=typeof WeakSet=="function"&&WeakSet.prototype,lf=HH?WeakSet.prototype.has:null,WH=typeof WeakRef=="function"&&WeakRef.prototype,BP=WH?WeakRef.prototype.deref:null,YH=Boolean.prototype.valueOf,qH=Object.prototype.toString,GH=Function.prototype.toString,ZH=String.prototype.match,zS=String.prototype.slice,ls=String.prototype.replace,KH=String.prototype.toUpperCase,zP=String.prototype.toLowerCase,wA=RegExp.prototype.test,UP=Array.prototype.concat,zi=Array.prototype.join,XH=Array.prototype.slice,VP=Math.floor,q1=typeof BigInt=="function"?BigInt.prototype.valueOf:null,$0=Object.getOwnPropertySymbols,G1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Sc=typeof Symbol=="function"&&typeof Symbol.iterator=="object",tr=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Sc||"symbol")?Symbol.toStringTag:null,xA=Object.prototype.propertyIsEnumerable,HP=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function WP(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||wA.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var r=e<0?-VP(-e):VP(e);if(r!==e){var i=String(r),o=zS.call(t,i.length+1);return ls.call(i,n,"$&_")+"."+ls.call(ls.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ls.call(t,n,"$&_")}var j0=BH.custom,B0=j0&&CA(j0)?j0:null,QH=function e(t,n,r,i){var o=n||{};if(es(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(es(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=es(o,"customInspect")?o.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(es(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(es(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=o.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return TA(t,o);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return a?WP(t,l):l}if(typeof t=="bigint"){var c=String(t)+"n";return a?WP(t,c):c}var f=typeof o.depth>"u"?5:o.depth;if(typeof r>"u"&&(r=0),r>=f&&f>0&&typeof t=="object")return Z1(t)?"[Array]":"[Object]";var h=vW(o,r);if(typeof i>"u")i=[];else if(EA(i,t)>=0)return"[Circular]";function p(X,Z,J){if(Z&&(i=XH.call(i),i.push(Z)),J){var oe={depth:o.depth};return es(o,"quoteStyle")&&(oe.quoteStyle=o.quoteStyle),e(X,oe,r+1,i)}return e(X,o,r+1,i)}if(typeof t=="function"){var m=lW(t),g=Kh(t,p);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(g.length>0?" { "+zi.call(g,", ")+" }":"")}if(CA(t)){var _=Sc?ls.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):G1.call(t);return typeof t=="object"&&!Sc?Tu(_):_}if(pW(t)){for(var x="<"+zP.call(String(t.nodeName)),v=t.attributes||[],b=0;b",x}if(Z1(t)){if(t.length===0)return"[]";var w=Kh(t,p);return h&&!gW(w)?"["+K1(w,h)+"]":"[ "+zi.call(w,", ")+" ]"}if(nW(t)){var E=Kh(t,p);return"cause"in t&&!xA.call(t,"cause")?"{ ["+String(t)+"] "+zi.call(UP.call("[cause]: "+p(t.cause),E),", ")+" }":E.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+zi.call(E,", ")+" }"}if(typeof t=="object"&&s){if(B0&&typeof t[B0]=="function")return t[B0]();if(s!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(cW(t)){var P=[];return zH.call(t,function(X,Z){P.push(p(Z,t,!0)+" => "+p(X,t))}),YP("Map",Pg.call(t),P,h)}if(dW(t)){var k=[];return UH.call(t,function(X){k.push(p(X,t))}),YP("Set",kg.call(t),k,h)}if(uW(t))return z0("WeakMap");if(hW(t))return z0("WeakSet");if(fW(t))return z0("WeakRef");if(iW(t))return Tu(p(Number(t)));if(sW(t))return Tu(p(q1.call(t)));if(oW(t))return Tu(YH.call(t));if(rW(t))return Tu(p(String(t)));if(!eW(t)&&!tW(t)){var N=Kh(t,p),A=HP?HP(t)===Object.prototype:t instanceof Object||t.constructor===Object,V=t instanceof Object?"":"null prototype",I=!A&&tr&&Object(t)===t&&tr in t?zS.call(qs(t),8,-1):V?"Object":"",Y=A||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",q=Y+(I||V?"["+zi.call(UP.call([],I||[],V||[]),": ")+"] ":"");return N.length===0?q+"{}":h?q+"{"+K1(N,h)+"}":q+"{ "+zi.call(N,", ")+" }"}return String(t)};function SA(e,t,n){var r=(n.quoteStyle||t)==="double"?'"':"'";return r+e+r}function JH(e){return ls.call(String(e),/"/g,""")}function Z1(e){return qs(e)==="[object Array]"&&(!tr||!(typeof e=="object"&&tr in e))}function eW(e){return qs(e)==="[object Date]"&&(!tr||!(typeof e=="object"&&tr in e))}function tW(e){return qs(e)==="[object RegExp]"&&(!tr||!(typeof e=="object"&&tr in e))}function nW(e){return qs(e)==="[object Error]"&&(!tr||!(typeof e=="object"&&tr in e))}function rW(e){return qs(e)==="[object String]"&&(!tr||!(typeof e=="object"&&tr in e))}function iW(e){return qs(e)==="[object Number]"&&(!tr||!(typeof e=="object"&&tr in e))}function oW(e){return qs(e)==="[object Boolean]"&&(!tr||!(typeof e=="object"&&tr in e))}function CA(e){if(Sc)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!G1)return!1;try{return G1.call(e),!0}catch{}return!1}function sW(e){if(!e||typeof e!="object"||!q1)return!1;try{return q1.call(e),!0}catch{}return!1}var aW=Object.prototype.hasOwnProperty||function(e){return e in this};function es(e,t){return aW.call(e,t)}function qs(e){return qH.call(e)}function lW(e){if(e.name)return e.name;var t=ZH.call(GH.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function EA(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return TA(zS.call(e,0,t.maxStringLength),t)+r}var i=ls.call(ls.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,mW);return SA(i,"single",t)}function mW(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+KH.call(t.toString(16))}function Tu(e){return"Object("+e+")"}function z0(e){return e+" { ? }"}function YP(e,t,n,r){var i=r?K1(n,r):zi.call(n,", ");return e+" ("+t+") {"+i+"}"}function gW(e){for(var t=0;t=0)return!1;return!0}function vW(e,t){var n;if(e.indent===" ")n=" ";else if(typeof e.indent=="number"&&e.indent>0)n=zi.call(Array(e.indent+1)," ");else return null;return{base:n,prev:zi.call(Array(t+1),n)}}function K1(e,t){if(e.length===0)return"";var n=` +`+t.prev+t.base;return n+zi.call(e,","+n)+` +`+t.prev}function Kh(e,t){var n=Z1(e),r=[];if(n){r.length=e.length;for(var i=0;i1;){var n=t.pop(),r=n.obj[n.prop];if(Ca(r)){for(var i=[],o=0;o=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===NW.RFC1738&&(c===40||c===41)){a+=s.charAt(l);continue}if(c<128){a=a+$i[c];continue}if(c<2048){a=a+($i[192|c>>6]+$i[128|c&63]);continue}if(c<55296||c>=57344){a=a+($i[224|c>>12]+$i[128|c>>6&63]+$i[128|c&63]);continue}l+=1,c=65536+((c&1023)<<10|s.charCodeAt(l)&1023),a+=$i[240|c>>18]+$i[128|c>>12&63]+$i[128|c>>6&63]+$i[128|c&63]}return a},$W=function(t){for(var n=[{obj:{o:t},prop:"o"}],r=[],i=0;i"u"&&(w=0)}if(typeof l=="function"?v=l(n,v):v instanceof Date?v=h(v):r==="comma"&&po(v)&&(v=X1.maybeMap(v,function($){return $ instanceof Date?h($):$})),v===null){if(o)return a&&!g?a(n,jn.encoder,_,"key",p):n;v=""}if(qW(v)||X1.isBuffer(v)){if(a){var k=g?n:a(n,jn.encoder,_,"key",p);if(r==="comma"&&g){for(var N=HW.call(String(v),","),A="",V=0;V"u")return I;var Y;if(r==="comma"&&po(v))Y=[{value:v.length>0?v.join(",")||null:void 0}];else if(po(l))Y=l;else{var q=Object.keys(v);Y=c?q.sort(c):q}for(var X=i&&po(v)&&v.length===1?n+"[]":n,Z=0;Z"u"?jn.allowDots:!!t.allowDots,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:jn.charsetSentinel,delimiter:typeof t.delimiter>"u"?jn.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:jn.encode,encoder:typeof t.encoder=="function"?t.encoder:jn.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:jn.encodeValuesOnly,filter:o,format:r,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:jn.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:jn.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:jn.strictNullHandling}},KW=function(e,t){var n=e,r=ZW(t),i,o;typeof r.filter=="function"?(o=r.filter,n=o("",n)):po(r.filter)&&(o=r.filter,i=o);var s=[];if(typeof n!="object"||n===null)return"";var a;t&&t.arrayFormat in qP?a=t.arrayFormat:t&&"indices"in t?a=t.indices?"indices":"repeat":a="indices";var l=qP[a];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=l==="comma"&&t&&t.commaRoundTrip;i||(i=Object.keys(n)),r.sort&&i.sort(r.sort);for(var f=kA(),h=0;h0?g+m:""},Cc=PA,Q1=Object.prototype.hasOwnProperty,XW=Array.isArray,Cn={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Cc.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},QW=function(e){return e.replace(/&#(\d+);/g,function(t,n){return String.fromCharCode(parseInt(n,10))})},RA=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},JW="utf8=%26%2310003%3B",eY="utf8=%E2%9C%93",tY=function(t,n){var r={},i=n.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=n.parameterLimit===1/0?void 0:n.parameterLimit,s=i.split(n.delimiter,o),a=-1,l,c=n.charset;if(n.charsetSentinel)for(l=0;l-1&&(g=XW(g)?[g]:g),Q1.call(r,m)?r[m]=Cc.combine(r[m],g):r[m]=g}return r},nY=function(e,t,n,r){for(var i=r?t:RA(t,n),o=e.length-1;o>=0;--o){var s,a=e[o];if(a==="[]"&&n.parseArrays)s=[].concat(i);else{s=n.plainObjects?Object.create(null):{};var l=a.charAt(0)==="["&&a.charAt(a.length-1)==="]"?a.slice(1,-1):a,c=parseInt(l,10);!n.parseArrays&&l===""?s={0:i}:!isNaN(c)&&a!==l&&String(c)===l&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(s=[],s[c]=i):l!=="__proto__"&&(s[l]=i)}i=s}return i},rY=function(t,n,r,i){if(t){var o=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,l=r.depth>0&&s.exec(o),c=l?o.slice(0,l.index):o,f=[];if(c){if(!r.plainObjects&&Q1.call(Object.prototype,c)&&!r.allowPrototypes)return;f.push(c)}for(var h=0;r.depth>0&&(l=a.exec(o))!==null&&h"u"?Cn.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?Cn.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Cn.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Cn.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Cn.arrayLimit,charset:n,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Cn.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Cn.comma,decoder:typeof t.decoder=="function"?t.decoder:Cn.decoder,delimiter:typeof t.delimiter=="string"||Cc.isRegExp(t.delimiter)?t.delimiter:Cn.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Cn.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Cn.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Cn.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Cn.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Cn.strictNullHandling}},oY=function(e,t){var n=iY(t);if(e===""||e===null||typeof e>"u")return n.plainObjects?Object.create(null):{};for(var r=typeof e=="string"?tY(e,n):e,i=n.plainObjects?Object.create(null):{},o=Object.keys(r),s=0;sNA.parse(e,{ignoreQueryPrefix:!0}),Md=e=>NA.stringify(e,{arrayFormat:"brackets"}),cY=(e,t)=>`${e}/rest/v${t}`,uY=Pd(Fo),fY=({orderBy:e={},...t})=>({...t,orderBy:vA(e)});class dY{constructor(t,n,r){Qe(this,"apiVersion");Qe(this,"listShortUrls",async(t={})=>this.performRequest("/short-urls","GET",fY(t)).then(({shortUrls:n})=>n));Qe(this,"createShortUrl",async t=>{const n=Pd(r=>Hn(r)||Fo(r),t);return this.performRequest("/short-urls","POST",{},n)});Qe(this,"getShortUrlVisits",async(t,n)=>this.performRequest(`/short-urls/${t}/visits`,"GET",n).then(({visits:r})=>r));Qe(this,"getTagVisits",async(t,n)=>this.performRequest(`/tags/${t}/visits`,"GET",n).then(({visits:r})=>r));Qe(this,"getDomainVisits",async(t,n)=>this.performRequest(`/domains/${t}/visits`,"GET",n).then(({visits:r})=>r));Qe(this,"getOrphanVisits",async t=>this.performRequest("/visits/orphan","GET",t).then(({visits:n})=>n));Qe(this,"getNonOrphanVisits",async t=>this.performRequest("/visits/non-orphan","GET",t).then(({visits:n})=>n));Qe(this,"getVisitsOverview",async()=>this.performRequest("/visits").then(({visits:t})=>t));Qe(this,"getShortUrl",async(t,n)=>this.performRequest(`/short-urls/${t}`,"GET",{domain:n}));Qe(this,"deleteShortUrl",async(t,n)=>this.performEmptyRequest(`/short-urls/${t}`,"DELETE",{domain:n}));Qe(this,"updateShortUrl",async(t,n,r)=>this.performRequest(`/short-urls/${t}`,"PATCH",{domain:n},r));Qe(this,"listTags",async()=>this.performRequest("/tags","GET",{withStats:"true"}).then(({tags:t})=>t).then(({data:t,stats:n})=>({tags:t,stats:n})));Qe(this,"deleteTags",async t=>this.performEmptyRequest("/tags","DELETE",{tags:t}).then(()=>({tags:t})));Qe(this,"editTag",async(t,n)=>this.performEmptyRequest("/tags","PUT",{},{oldName:t,newName:n}).then(()=>({oldName:t,newName:n})));Qe(this,"health",async()=>this.performRequest("/health","GET"));Qe(this,"mercureInfo",async()=>this.performRequest("/mercure-info","GET"));Qe(this,"listDomains",async()=>this.performRequest("/domains").then(({domains:t})=>t));Qe(this,"editDomainRedirects",async t=>this.performRequest("/domains/redirects","PATCH",{},t));Qe(this,"performRequest",async(t,n="GET",r={},i)=>this.httpClient.fetchJson(...this.toFetchParams(t,n,r,i)).catch(this.handleFetchError(()=>this.httpClient.fetchJson(...this.toFetchParams(t,n,r,i)))));Qe(this,"performEmptyRequest",async(t,n="GET",r={},i)=>this.httpClient.fetchEmpty(...this.toFetchParams(t,n,r,i)).catch(this.handleFetchError(()=>this.httpClient.fetchEmpty(...this.toFetchParams(t,n,r,i)))));Qe(this,"toFetchParams",(t,n,r={},i)=>{const o=Md(uY(r)),s=Hn(o)?"":`?${o}`;return[`${cY(this.baseUrl,this.apiVersion)}${t}${s}`,{method:n,body:i&&JSON.stringify(i),headers:{"X-Api-Key":this.apiKey}}]});Qe(this,"handleFetchError",t=>n=>{if(!mH(ro(n)))throw n;return this.apiVersion=2,t()});this.httpClient=t,this.baseUrl=n,this.apiKey=r,this.apiVersion=3}}const W0={},hY=e=>typeof e=="function",pY=e=>{const{selectedServer:t}=e();if(!IS(t))throw new Error("There's no selected server or it is not found");return t},mY=e=>t=>{const{url:n,apiKey:r}=hY(t)?pY(t):t,i=`${n}_${r}`;return W0[i]||(W0[i]=new dY(e,n,r)),W0[i]},gY=e=>{e.serviceFactory("buildShlinkApiClient",mY,"HttpClient")},vY=({children:e})=>{const t=Wn();return H.useEffect(()=>{scrollTo(0,0)},[t]),C(We,{children:e})};var yY={prefix:"fas",iconName:"calendar-days",icon:[448,512,["calendar-alt"],"f073","M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zm64 80v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm128 0v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H336zM64 400v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H208zm112 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H336c-8.8 0-16 7.2-16 16z"]},_Y=yY,bY={prefix:"fas",iconName:"circle-minus",icon:[512,512,["minus-circle"],"f056","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM184 232H328c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},WS=bY,wY={prefix:"fas",iconName:"file-csv",icon:[384,512,[],"f6dd","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM80 224H96c22.1 0 40 17.9 40 40v8c0 8.8-7.2 16-16 16s-16-7.2-16-16v-8c0-4.4-3.6-8-8-8H80c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8H96c4.4 0 8-3.6 8-8v-8c0-8.8 7.2-16 16-16s16 7.2 16 16v8c0 22.1-17.9 40-40 40H80c-22.1 0-40-17.9-40-40V264c0-22.1 17.9-40 40-40zm72 46.4c0-25.6 20.8-46.4 46.4-46.4H216c8.8 0 16 7.2 16 16s-7.2 16-16 16H198.4c-7.9 0-14.4 6.4-14.4 14.4c0 5.2 2.8 9.9 7.2 12.5l25.4 14.5c14.4 8.3 23.4 23.6 23.4 40.3c0 25.6-20.8 46.4-46.4 46.4H168c-8.8 0-16-7.2-16-16s7.2-16 16-16h25.6c7.9 0 14.4-6.4 14.4-14.4c0-5.2-2.8-9.9-7.2-12.5l-25.4-14.5C160.9 302.4 152 287 152 270.4zM280 240v31.6c0 23 5.5 45.6 16 66c10.5-20.3 16-42.9 16-66V240c0-8.8 7.2-16 16-16s16 7.2 16 16v31.6c0 34.7-10.3 68.7-29.6 97.6l-5.1 7.7c-3 4.5-8 7.1-13.3 7.1s-10.3-2.7-13.3-7.1l-5.1-7.7c-19.3-28.9-29.6-62.9-29.6-97.6V240c0-8.8 7.2-16 16-16s16 7.2 16 16z"]},xY={prefix:"fas",iconName:"pencil",icon:[512,512,[9999,61504,"pencil-alt"],"f303","M421.7 220.3l-11.3 11.3-22.6 22.6-205 205c-6.6 6.6-14.8 11.5-23.8 14.1L30.8 511c-8.4 2.5-17.5 .2-23.7-6.1S-1.5 489.7 1 481.2L38.7 353.1c2.6-9 7.5-17.2 14.1-23.8l205-205 22.6-22.6 11.3-11.3 33.9 33.9 62.1 62.1 33.9 33.9zM96 353.9l-9.3 9.3c-.9 .9-1.6 2.1-2 3.4l-25.3 86 86-25.3c1.3-.4 2.5-1.1 3.4-2l9.3-9.3H112c-8.8 0-16-7.2-16-16V353.9zM453.3 19.3l39.4 39.4c25 25 25 65.5 0 90.5l-14.5 14.5-22.6 22.6-11.3 11.3-33.9-33.9-62.1-62.1L314.3 67.7l11.3-11.3 22.6-22.6 14.5-14.5c25-25 65.5-25 90.5 0z"]},SY=xY,LA={prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8C121.8 95.6 64 169.1 64 256c0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1c-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256c0 141.4-114.6 256-256 256S0 397.4 0 256C0 140 77.1 42.1 182.9 10.6c16.9-5 34.8 4.6 39.8 21.5z"]},CY={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},DA={prefix:"fas",iconName:"list",icon:[512,512,["list-squares"],"f03a","M40 48C26.7 48 16 58.7 16 72v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H40zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM16 232v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H40c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H40z"]},EY={prefix:"fas",iconName:"circle-dot",icon:[512,512,[128280,"dot-circle"],"f192","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zm0-160c-53 0-96-43-96-96s43-96 96-96s96 43 96 96s-43 96-96 96z"]},TY=EY,OY={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.8 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"]},YS=OY,PY={prefix:"fas",iconName:"plug",icon:[384,512,[128268],"f1e6","M96 0C78.3 0 64 14.3 64 32v96h64V32c0-17.7-14.3-32-32-32zM288 0c-17.7 0-32 14.3-32 32v96h64V32c0-17.7-14.3-32-32-32zM32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32v32c0 77.4 55 142 128 156.8V480c0 17.7 14.3 32 32 32s32-14.3 32-32V412.8C297 398 352 333.4 352 256V224c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"]},kY={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M352 256c0 22.2-1.2 43.6-3.3 64H163.3c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64H348.7c2.2 20.4 3.3 41.8 3.3 64zm28.8-64H503.9c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64H380.8c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32H376.7c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0H167.7c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 21 58.2 27 94.7zm-209 0H18.6C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192H131.2c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64H8.1C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6H344.3c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352H135.3zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6H493.4z"]},MY={prefix:"fas",iconName:"ban",icon:[512,512,[128683,"cancel"],"f05e","M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256z"]},ZP={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M64 32C28.7 32 0 60.7 0 96v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM344 152c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm96-24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zM64 288c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V352c0-35.3-28.7-64-64-64H64zM344 408c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm104-24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]},RY={prefix:"fas",iconName:"file-arrow-up",icon:[384,512,["file-upload"],"f574","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 408c0 13.3-10.7 24-24 24s-24-10.7-24-24V305.9l-31 31c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l72-72c9.4-9.4 24.6-9.4 33.9 0l72 72c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-31-31V408z"]},NY=RY,LY={prefix:"fas",iconName:"map-location-dot",icon:[576,512,["map-marked-alt"],"f5a0","M408 120c0 54.6-73.1 151.9-105.2 192c-7.7 9.6-22 9.6-29.6 0C241.1 271.9 168 174.6 168 120C168 53.7 221.7 0 288 0s120 53.7 120 120zm8 80.4c3.5-6.9 6.7-13.8 9.6-20.6c.5-1.2 1-2.5 1.5-3.7l116-46.4C558.9 123.4 576 135 576 152V422.8c0 9.8-6 18.6-15.1 22.3L416 503V200.4zM137.6 138.3c2.4 14.1 7.2 28.3 12.8 41.5c2.9 6.8 6.1 13.7 9.6 20.6V451.8L32.9 502.7C17.1 509 0 497.4 0 480.4V209.6c0-9.8 6-18.6 15.1-22.3l122.6-49zM327.8 332c13.9-17.4 35.7-45.7 56.2-77V504.3L192 449.4V255c20.5 31.3 42.3 59.6 56.2 77c20.5 25.6 59.1 25.6 79.6 0zM288 152c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40z"]},AA=LY,DY={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]},AY={prefix:"fas",iconName:"palette",icon:[512,512,[127912],"f53f","M512 256c0 .9 0 1.8 0 2.7c-.4 36.5-33.6 61.3-70.1 61.3H344c-26.5 0-48 21.5-48 48c0 3.4 .4 6.7 1 9.9c2.1 10.2 6.5 20 10.8 29.9c6.1 13.8 12.1 27.5 12.1 42c0 31.8-21.6 60.7-53.4 62c-3.5 .1-7 .2-10.6 .2C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM128 288c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm0-96c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM288 96c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm96 96c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32z"]},IY={prefix:"fas",iconName:"arrow-down-wide-short",icon:[576,512,["sort-amount-asc","sort-amount-down"],"f160","M151.6 469.6C145.5 476.2 137 480 128 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L96 365.7V64c0-17.7 14.3-32 32-32s32 14.3 32 32V365.7l32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 480c-17.7 0-32-14.3-32-32s14.3-32 32-32h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H320zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H320zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H320zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32H544c17.7 0 32 14.3 32 32s-14.3 32-32 32H320z"]},FY=IY,qS={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M304 240V16.6c0-9 7-16.6 16-16.6C443.7 0 544 100.3 544 224c0 9-7.6 16-16.6 16H304zM32 272C32 150.7 122.1 50.3 239 34.3c9.2-1.3 17 6.1 17 15.4V288L412.5 444.5c6.7 6.7 6.2 17.7-1.5 23.1C371.8 495.6 323.8 512 272 512C139.5 512 32 404.6 32 272zm526.4 16c9.3 0 16.6 7.8 15.4 17c-7.7 55.9-34.6 105.6-73.9 142.3c-6 5.6-15.4 5.2-21.2-.7L320 288H558.4z"]},IA={prefix:"fas",iconName:"tags",icon:[512,512,[],"f02c","M345 39.1L472.8 168.4c52.4 53 52.4 138.2 0 191.2L360.8 472.9c-9.3 9.4-24.5 9.5-33.9 .2s-9.5-24.5-.2-33.9L438.6 325.9c33.9-34.3 33.9-89.4 0-123.7L310.9 72.9c-9.3-9.4-9.2-24.6 .2-33.9s24.6-9.2 33.9 .2zM0 229.5V80C0 53.5 21.5 32 48 32H197.5c17 0 33.3 6.7 45.3 18.7l168 168c25 25 25 65.5 0 90.5L277.3 442.7c-25 25-65.5 25-90.5 0l-168-168C6.7 262.7 0 246.5 0 229.5zM144 144c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},$Y={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"]},KP={prefix:"fas",iconName:"calendar-xmark",icon:[448,512,["calendar-times"],"f273","M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zM305 305c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47z"]},jY={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]},FA={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},BY={prefix:"fas",iconName:"up-right-from-square",icon:[448,512,["external-link-alt"],"f35d","M288 32c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L306.7 128 169.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L352 173.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V64c0-17.7-14.3-32-32-32H288zM80 64C35.8 64 0 99.8 0 144V400c0 44.2 35.8 80 80 80H336c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v80c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16h80c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]},zY=BY,UY={prefix:"fas",iconName:"tag",icon:[448,512,[127991],"f02b","M0 80V229.5c0 17 6.7 33.3 18.7 45.3l176 176c25 25 65.5 25 90.5 0L418.7 317.3c25-25 25-65.5 0-90.5l-176-176c-12-12-28.3-18.7-45.3-18.7H48C21.5 32 0 53.5 0 80zm112 96c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},VY={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},GS=VY,HY={prefix:"fas",iconName:"arrow-rotate-left",icon:[512,512,[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],"f0e2","M125.7 160H176c17.7 0 32 14.3 32 32s-14.3 32-32 32H48c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32s32 14.3 32 32v51.2L97.6 97.6c87.5-87.5 229.3-87.5 316.8 0s87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3s-163.8-62.5-226.3 0L125.7 160z"]},WY=HY,YY={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},qY={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 360c30.9 0 56 25.1 56 56s-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56zm0-160c30.9 0 56 25.1 56 56s-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56zM120 96c0 30.9-25.1 56-56 56S8 126.9 8 96S33.1 40 64 40s56 25.1 56 56z"]},GY=qY,ZY={prefix:"fas",iconName:"house",icon:[576,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"]},KY=ZY,XY={prefix:"fas",iconName:"arrow-up-wide-short",icon:[576,512,["sort-amount-up"],"f161","M151.6 42.4C145.5 35.8 137 32 128 32s-17.5 3.8-23.6 10.4l-88 96c-11.9 13-11.1 33.3 2 45.2s33.3 11.1 45.2-2L96 146.3V448c0 17.7 14.3 32 32 32s32-14.3 32-32V146.3l32.4 35.4c11.9 13 32.2 13.9 45.2 2s13.9-32.2 2-45.2l-88-96zM320 480h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32s14.3 32 32 32zm0-128H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32s14.3 32 32 32z"]},QY=XY,JY={prefix:"fas",iconName:"file-arrow-down",icon:[384,512,["file-download"],"f56d","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 232V334.1l31-31c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-72 72c-9.4 9.4-24.6 9.4-33.9 0l-72-72c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l31 31V232c0-13.3 10.7-24 24-24s24 10.7 24 24z"]},$A=JY,eq={prefix:"fas",iconName:"sun",icon:[512,512,[9728],"f185","M361.5 1.2c5 2.1 8.6 6.6 9.6 11.9L391 121l107.9 19.8c5.3 1 9.8 4.6 11.9 9.6s1.5 10.7-1.6 15.2L446.9 256l62.3 90.3c3.1 4.5 3.7 10.2 1.6 15.2s-6.6 8.6-11.9 9.6L391 391 371.1 498.9c-1 5.3-4.6 9.8-9.6 11.9s-10.7 1.5-15.2-1.6L256 446.9l-90.3 62.3c-4.5 3.1-10.2 3.7-15.2 1.6s-8.6-6.6-9.6-11.9L121 391 13.1 371.1c-5.3-1-9.8-4.6-11.9-9.6s-1.5-10.7 1.6-15.2L65.1 256 2.8 165.7c-3.1-4.5-3.7-10.2-1.6-15.2s6.6-8.6 11.9-9.6L121 121 140.9 13.1c1-5.3 4.6-9.8 9.6-11.9s10.7-1.5 15.2 1.6L256 65.1 346.3 2.8c4.5-3.1 10.2-3.7 15.2-1.6zM352 256c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm32 0c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128s128-57.3 128-128z"]},tq={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]},nq={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352c79.5 0 144-64.5 144-144s-64.5-144-144-144S64 128.5 64 208s64.5 144 144 144z"]},rq=nq,iq={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},ZS={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},oq={prefix:"fas",iconName:"xmark",icon:[320,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"]},J1=oq,sq={prefix:"fas",iconName:"chevron-right",icon:[384,512,[9002],"f054","M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},aq={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5c0 0 0 0 0 0H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5c7.7-21.8 20.2-42.3 37.8-59.8zM16 312v7.6 .7V440c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2l41.6-41.6c87.6 86.5 228.7 86.2 315.8-1c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.2 62.2-162.7 62.5-225.3 1L185 329c6.9-6.9 8.9-17.2 5.2-26.2s-12.5-14.8-22.2-14.8H48.4h-.7H40c-13.3 0-24 10.7-24 24z"]},lq=aq,XP={prefix:"fas",iconName:"robot",icon:[640,512,[129302],"f544","M320 0c17.7 0 32 14.3 32 32V96H480c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H160c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64H288V32c0-17.7 14.3-32 32-32zM208 384c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H208zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H304zm96 0c-8.8 0-16 7.2-16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H400zM264 256c0-22.1-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40s40-17.9 40-40zm152 40c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40s17.9 40 40 40zM48 224H64V416H48c-26.5 0-48-21.5-48-48V272c0-26.5 21.5-48 48-48zm544 0c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H576V224h16z"]},cq={prefix:"fas",iconName:"gears",icon:[640,512,["cogs"],"f085","M308.5 135.3c7.1-6.3 9.9-16.2 6.2-25c-2.3-5.3-4.8-10.5-7.6-15.5L304 89.4c-3-5-6.3-9.9-9.8-14.6c-5.7-7.6-15.7-10.1-24.7-7.1l-28.2 9.3c-10.7-8.8-23-16-36.2-20.9L199 27.1c-1.9-9.3-9.1-16.7-18.5-17.8C173.7 8.4 166.9 8 160 8s-13.7 .4-20.4 1.2c-9.4 1.1-16.6 8.6-18.5 17.8L115 56.1c-13.3 5-25.5 12.1-36.2 20.9L50.5 67.8c-9-3-19-.5-24.7 7.1c-3.5 4.7-6.8 9.6-9.9 14.6l-3 5.3c-2.8 5-5.3 10.2-7.6 15.6c-3.7 8.7-.9 18.6 6.2 25l22.2 19.8C32.6 161.9 32 168.9 32 176s.6 14.1 1.7 20.9L11.5 216.7c-7.1 6.3-9.9 16.2-6.2 25c2.3 5.3 4.8 10.5 7.6 15.6l3 5.2c3 5.1 6.3 9.9 9.9 14.6c5.7 7.6 15.7 10.1 24.7 7.1l28.2-9.3c10.7 8.8 23 16 36.2 20.9l6.1 29.1c1.9 9.3 9.1 16.7 18.5 17.8c6.7 .8 13.5 1.2 20.4 1.2s13.7-.4 20.4-1.2c9.4-1.1 16.6-8.6 18.5-17.8l6.1-29.1c13.3-5 25.5-12.1 36.2-20.9l28.2 9.3c9 3 19 .5 24.7-7.1c3.5-4.7 6.8-9.5 9.8-14.6l3.1-5.4c2.8-5 5.3-10.2 7.6-15.5c3.7-8.7 .9-18.6-6.2-25l-22.2-19.8c1.1-6.8 1.7-13.8 1.7-20.9s-.6-14.1-1.7-20.9l22.2-19.8zM208 176c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM504.7 500.5c6.3 7.1 16.2 9.9 25 6.2c5.3-2.3 10.5-4.8 15.5-7.6l5.4-3.1c5-3 9.9-6.3 14.6-9.8c7.6-5.7 10.1-15.7 7.1-24.7l-9.3-28.2c8.8-10.7 16-23 20.9-36.2l29.1-6.1c9.3-1.9 16.7-9.1 17.8-18.5c.8-6.7 1.2-13.5 1.2-20.4s-.4-13.7-1.2-20.4c-1.1-9.4-8.6-16.6-17.8-18.5L583.9 307c-5-13.3-12.1-25.5-20.9-36.2l9.3-28.2c3-9 .5-19-7.1-24.7c-4.7-3.5-9.6-6.8-14.6-9.9l-5.3-3c-5-2.8-10.2-5.3-15.6-7.6c-8.7-3.7-18.6-.9-25 6.2l-19.8 22.2c-6.8-1.1-13.8-1.7-20.9-1.7s-14.1 .6-20.9 1.7l-19.8-22.2c-6.3-7.1-16.2-9.9-25-6.2c-5.3 2.3-10.5 4.8-15.6 7.6l-5.2 3c-5.1 3-9.9 6.3-14.6 9.9c-7.6 5.7-10.1 15.7-7.1 24.7l9.3 28.2c-8.8 10.7-16 23-20.9 36.2L315.1 313c-9.3 1.9-16.7 9.1-17.8 18.5c-.8 6.7-1.2 13.5-1.2 20.4s.4 13.7 1.2 20.4c1.1 9.4 8.6 16.6 17.8 18.5l29.1 6.1c5 13.3 12.1 25.5 20.9 36.2l-9.3 28.2c-3 9-.5 19 7.1 24.7c4.7 3.5 9.5 6.8 14.6 9.8l5.4 3.1c5 2.8 10.2 5.3 15.5 7.6c8.7 3.7 18.6 .9 25-6.2l19.8-22.2c6.8 1.1 13.8 1.7 20.9 1.7s14.1-.6 20.9-1.7l19.8 22.2zM464 400c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]},uq=cq,fq={prefix:"fas",iconName:"qrcode",icon:[448,512,[],"f029","M48 32C21.5 32 0 53.5 0 80v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H48zm80 64v64H64V96h64zM48 288c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V336c0-26.5-21.5-48-48-48H48zm80 64v64H64V352h64zM256 80v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H304c-26.5 0-48 21.5-48 48zm64 16h64v64H320V96zm32 352v32h32V448H352zm96 0H416v32h32V448zM416 288v32H352V288H256v96 96h64V384h32v32h96V352 320 288H416z"]},dq={prefix:"fas",iconName:"moon",icon:[384,512,[127769,9214],"f186","M223.5 32C100 32 0 132.3 0 256S100 480 223.5 480c60.6 0 115.5-24.2 155.8-63.4c5-4.9 6.3-12.5 3.1-18.7s-10.1-9.7-17-8.5c-9.8 1.7-19.8 2.6-30.1 2.6c-96.9 0-175.5-78.8-175.5-176c0-65.8 36-123.1 89.3-153.3c6.1-3.5 9.2-10.5 7.7-17.3s-7.3-11.9-14.3-12.5c-6.3-.5-12.6-.8-19-.8z"]},hq={prefix:"fas",iconName:"link-slash",icon:[640,512,["chain-broken","chain-slash","unlink"],"f127","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L489.3 358.2l90.5-90.5c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114l-96 96-31.9-25C430.9 239.6 420.1 175.1 377 132c-52.2-52.3-134.5-56.2-191.3-11.7L38.8 5.1zM239 162c30.1-14.9 67.7-9.9 92.8 15.3c20 20 27.5 48.3 21.7 74.5L239 162zM406.6 416.4L220.9 270c-2.1 39.8 12.2 80.1 42.2 110c38.9 38.9 94.4 51 143.6 36.3zm-290-228.5L60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5l61.8-61.8-50.6-39.9z"]},Zf={prefix:"fas",iconName:"check",icon:[512,512,[10003,10004],"f00c","M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]};function QP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Be(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1;i--){var o=n[i],s=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=o)}return At.head.insertBefore(t,r),e}}var $q="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ed(){for(var e=12,t="";e-- >0;)t+=$q[Math.random()*62|0];return t}function Zc(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function tC(e){return e.classList?Zc(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function KA(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function jq(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(KA(e[n]),'" ')},"").trim()}function Hy(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function nC(e){return e.size!==Yi.size||e.x!==Yi.x||e.y!==Yi.y||e.rotate!==Yi.rotate||e.flipX||e.flipY}function Bq(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(t.x*32,", ").concat(t.y*32,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(o," ").concat(s," ").concat(a)},c={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:c}}function zq(e){var t=e.transform,n=e.width,r=n===void 0?tw:n,i=e.height,o=i===void 0?tw:i,s=e.startCentered,a=s===void 0?!1:s,l="";return a&&VA?l+="translate(".concat(t.x/qo-r/2,"em, ").concat(t.y/qo-o/2,"em) "):a?l+="translate(calc(-50% + ".concat(t.x/qo,"em), calc(-50% + ").concat(t.y/qo,"em)) "):l+="translate(".concat(t.x/qo,"em, ").concat(t.y/qo,"em) "),l+="scale(".concat(t.size/qo*(t.flipX?-1:1),", ").concat(t.size/qo*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var Uq=`:root, :host { + --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid"; + --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular"; + --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light"; + --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin"; + --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; + --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; + --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; +} + +svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { + overflow: visible; + box-sizing: content-box; +} + +.svg-inline--fa { + display: var(--fa-display, inline-block); + height: 1em; + overflow: visible; + vertical-align: -0.125em; +} +.svg-inline--fa.fa-2xs { + vertical-align: 0.1em; +} +.svg-inline--fa.fa-xs { + vertical-align: 0em; +} +.svg-inline--fa.fa-sm { + vertical-align: -0.0714285705em; +} +.svg-inline--fa.fa-lg { + vertical-align: -0.2em; +} +.svg-inline--fa.fa-xl { + vertical-align: -0.25em; +} +.svg-inline--fa.fa-2xl { + vertical-align: -0.3125em; +} +.svg-inline--fa.fa-pull-left { + margin-right: var(--fa-pull-margin, 0.3em); + width: auto; +} +.svg-inline--fa.fa-pull-right { + margin-left: var(--fa-pull-margin, 0.3em); + width: auto; +} +.svg-inline--fa.fa-li { + width: var(--fa-li-width, 2em); + top: 0.25em; +} +.svg-inline--fa.fa-fw { + width: var(--fa-fw-width, 1.25em); +} + +.fa-layers svg.svg-inline--fa { + bottom: 0; + left: 0; + margin: auto; + position: absolute; + right: 0; + top: 0; +} + +.fa-layers-counter, .fa-layers-text { + display: inline-block; + position: absolute; + text-align: center; +} + +.fa-layers { + display: inline-block; + height: 1em; + position: relative; + text-align: center; + vertical-align: -0.125em; + width: 1em; +} +.fa-layers svg.svg-inline--fa { + -webkit-transform-origin: center center; + transform-origin: center center; +} + +.fa-layers-text { + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + -webkit-transform-origin: center center; + transform-origin: center center; +} + +.fa-layers-counter { + background-color: var(--fa-counter-background-color, #ff253a); + border-radius: var(--fa-counter-border-radius, 1em); + box-sizing: border-box; + color: var(--fa-inverse, #fff); + line-height: var(--fa-counter-line-height, 1); + max-width: var(--fa-counter-max-width, 5em); + min-width: var(--fa-counter-min-width, 1.5em); + overflow: hidden; + padding: var(--fa-counter-padding, 0.25em 0.5em); + right: var(--fa-right, 0); + text-overflow: ellipsis; + top: var(--fa-top, 0); + -webkit-transform: scale(var(--fa-counter-scale, 0.25)); + transform: scale(var(--fa-counter-scale, 0.25)); + -webkit-transform-origin: top right; + transform-origin: top right; +} + +.fa-layers-bottom-right { + bottom: var(--fa-bottom, 0); + right: var(--fa-right, 0); + top: auto; + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: bottom right; + transform-origin: bottom right; +} + +.fa-layers-bottom-left { + bottom: var(--fa-bottom, 0); + left: var(--fa-left, 0); + right: auto; + top: auto; + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: bottom left; + transform-origin: bottom left; +} + +.fa-layers-top-right { + top: var(--fa-top, 0); + right: var(--fa-right, 0); + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: top right; + transform-origin: top right; +} + +.fa-layers-top-left { + left: var(--fa-left, 0); + right: auto; + top: var(--fa-top, 0); + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: top left; + transform-origin: top left; +} + +.fa-1x { + font-size: 1em; +} + +.fa-2x { + font-size: 2em; +} + +.fa-3x { + font-size: 3em; +} + +.fa-4x { + font-size: 4em; +} + +.fa-5x { + font-size: 5em; +} + +.fa-6x { + font-size: 6em; +} + +.fa-7x { + font-size: 7em; +} + +.fa-8x { + font-size: 8em; +} + +.fa-9x { + font-size: 9em; +} + +.fa-10x { + font-size: 10em; +} + +.fa-2xs { + font-size: 0.625em; + line-height: 0.1em; + vertical-align: 0.225em; +} + +.fa-xs { + font-size: 0.75em; + line-height: 0.0833333337em; + vertical-align: 0.125em; +} + +.fa-sm { + font-size: 0.875em; + line-height: 0.0714285718em; + vertical-align: 0.0535714295em; +} + +.fa-lg { + font-size: 1.25em; + line-height: 0.05em; + vertical-align: -0.075em; +} + +.fa-xl { + font-size: 1.5em; + line-height: 0.0416666682em; + vertical-align: -0.125em; +} + +.fa-2xl { + font-size: 2em; + line-height: 0.03125em; + vertical-align: -0.1875em; +} + +.fa-fw { + text-align: center; + width: 1.25em; +} + +.fa-ul { + list-style-type: none; + margin-left: var(--fa-li-margin, 2.5em); + padding-left: 0; +} +.fa-ul > li { + position: relative; +} + +.fa-li { + left: calc(var(--fa-li-width, 2em) * -1); + position: absolute; + text-align: center; + width: var(--fa-li-width, 2em); + line-height: inherit; +} + +.fa-border { + border-color: var(--fa-border-color, #eee); + border-radius: var(--fa-border-radius, 0.1em); + border-style: var(--fa-border-style, solid); + border-width: var(--fa-border-width, 0.08em); + padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); +} + +.fa-pull-left { + float: left; + margin-right: var(--fa-pull-margin, 0.3em); +} + +.fa-pull-right { + float: right; + margin-left: var(--fa-pull-margin, 0.3em); +} + +.fa-beat { + -webkit-animation-name: fa-beat; + animation-name: fa-beat; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-bounce { + -webkit-animation-name: fa-bounce; + animation-name: fa-bounce; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); +} + +.fa-fade { + -webkit-animation-name: fa-fade; + animation-name: fa-fade; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-beat-fade { + -webkit-animation-name: fa-beat-fade; + animation-name: fa-beat-fade; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-flip { + -webkit-animation-name: fa-flip; + animation-name: fa-flip; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-shake { + -webkit-animation-name: fa-shake; + animation-name: fa-shake; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, linear); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin { + -webkit-animation-name: fa-spin; + animation-name: fa-spin; + -webkit-animation-delay: var(--fa-animation-delay, 0s); + animation-delay: var(--fa-animation-delay, 0s); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 2s); + animation-duration: var(--fa-animation-duration, 2s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, linear); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin-reverse { + --fa-animation-direction: reverse; +} + +.fa-pulse, +.fa-spin-pulse { + -webkit-animation-name: fa-spin; + animation-name: fa-spin; + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, steps(8)); + animation-timing-function: var(--fa-animation-timing, steps(8)); +} + +@media (prefers-reduced-motion: reduce) { + .fa-beat, +.fa-bounce, +.fa-fade, +.fa-beat-fade, +.fa-flip, +.fa-pulse, +.fa-shake, +.fa-spin, +.fa-spin-pulse { + -webkit-animation-delay: -1ms; + animation-delay: -1ms; + -webkit-animation-duration: 1ms; + animation-duration: 1ms; + -webkit-animation-iteration-count: 1; + animation-iteration-count: 1; + transition-delay: 0s; + transition-duration: 0s; + } +} +@-webkit-keyframes fa-beat { + 0%, 90% { + -webkit-transform: scale(1); + transform: scale(1); + } + 45% { + -webkit-transform: scale(var(--fa-beat-scale, 1.25)); + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@keyframes fa-beat { + 0%, 90% { + -webkit-transform: scale(1); + transform: scale(1); + } + 45% { + -webkit-transform: scale(var(--fa-beat-scale, 1.25)); + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@-webkit-keyframes fa-bounce { + 0% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 10% { + -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + } + 50% { + -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 100% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } +} +@keyframes fa-bounce { + 0% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 10% { + -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + } + 50% { + -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 100% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } +} +@-webkit-keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@-webkit-keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + -webkit-transform: scale(1); + transform: scale(1); + } + 50% { + opacity: 1; + -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + -webkit-transform: scale(1); + transform: scale(1); + } + 50% { + opacity: 1; + -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@-webkit-keyframes fa-flip { + 50% { + -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@keyframes fa-flip { + 50% { + -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@-webkit-keyframes fa-shake { + 0% { + -webkit-transform: rotate(-15deg); + transform: rotate(-15deg); + } + 4% { + -webkit-transform: rotate(15deg); + transform: rotate(15deg); + } + 8%, 24% { + -webkit-transform: rotate(-18deg); + transform: rotate(-18deg); + } + 12%, 28% { + -webkit-transform: rotate(18deg); + transform: rotate(18deg); + } + 16% { + -webkit-transform: rotate(-22deg); + transform: rotate(-22deg); + } + 20% { + -webkit-transform: rotate(22deg); + transform: rotate(22deg); + } + 32% { + -webkit-transform: rotate(-12deg); + transform: rotate(-12deg); + } + 36% { + -webkit-transform: rotate(12deg); + transform: rotate(12deg); + } + 40%, 100% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } +} +@keyframes fa-shake { + 0% { + -webkit-transform: rotate(-15deg); + transform: rotate(-15deg); + } + 4% { + -webkit-transform: rotate(15deg); + transform: rotate(15deg); + } + 8%, 24% { + -webkit-transform: rotate(-18deg); + transform: rotate(-18deg); + } + 12%, 28% { + -webkit-transform: rotate(18deg); + transform: rotate(18deg); + } + 16% { + -webkit-transform: rotate(-22deg); + transform: rotate(-22deg); + } + 20% { + -webkit-transform: rotate(22deg); + transform: rotate(22deg); + } + 32% { + -webkit-transform: rotate(-12deg); + transform: rotate(-12deg); + } + 36% { + -webkit-transform: rotate(12deg); + transform: rotate(12deg); + } + 40%, 100% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } +} +@-webkit-keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +.fa-rotate-90 { + -webkit-transform: rotate(90deg); + transform: rotate(90deg); +} + +.fa-rotate-180 { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +.fa-rotate-270 { + -webkit-transform: rotate(270deg); + transform: rotate(270deg); +} + +.fa-flip-horizontal { + -webkit-transform: scale(-1, 1); + transform: scale(-1, 1); +} + +.fa-flip-vertical { + -webkit-transform: scale(1, -1); + transform: scale(1, -1); +} + +.fa-flip-both, +.fa-flip-horizontal.fa-flip-vertical { + -webkit-transform: scale(-1, -1); + transform: scale(-1, -1); +} + +.fa-rotate-by { + -webkit-transform: rotate(var(--fa-rotate-angle, none)); + transform: rotate(var(--fa-rotate-angle, none)); +} + +.fa-stack { + display: inline-block; + vertical-align: middle; + height: 2em; + position: relative; + width: 2.5em; +} + +.fa-stack-1x, +.fa-stack-2x { + bottom: 0; + left: 0; + margin: auto; + position: absolute; + right: 0; + top: 0; + z-index: var(--fa-stack-z-index, auto); +} + +.svg-inline--fa.fa-stack-1x { + height: 1em; + width: 1.25em; +} +.svg-inline--fa.fa-stack-2x { + height: 2em; + width: 2.5em; +} + +.fa-inverse { + color: var(--fa-inverse, #fff); +} + +.sr-only, +.fa-sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} + +.sr-only-focusable:not(:focus), +.fa-sr-only-focusable:not(:focus) { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} + +.svg-inline--fa .fa-primary { + fill: var(--fa-primary-color, currentColor); + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa .fa-secondary { + fill: var(--fa-secondary-color, currentColor); + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-primary { + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-secondary { + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa mask .fa-primary, +.svg-inline--fa mask .fa-secondary { + fill: black; +} + +.fad.fa-inverse, +.fa-duotone.fa-inverse { + color: var(--fa-inverse, #fff); +}`;function XA(){var e=HA,t=WA,n=Ue.cssPrefix,r=Ue.replacementClass,i=Uq;if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),a=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(a,".".concat(r))}return i}var ok=!1;function Y0(){Ue.autoAddCss&&!ok&&(Fq(XA()),ok=!0)}var Vq={mixout:function(){return{dom:{css:XA,insertCss:Y0}}},hooks:function(){return{beforeDOMElementCreation:function(){Y0()},beforeI2svg:function(){Y0()}}}},ko=Rs||{};ko[Po]||(ko[Po]={});ko[Po].styles||(ko[Po].styles={});ko[Po].hooks||(ko[Po].hooks={});ko[Po].shims||(ko[Po].shims=[]);var _i=ko[Po],QA=[],Hq=function e(){At.removeEventListener("DOMContentLoaded",e),Rg=1,QA.map(function(t){return t()})},Rg=!1;$o&&(Rg=(At.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(At.readyState),Rg||At.addEventListener("DOMContentLoaded",Hq));function Wq(e){$o&&(Rg?setTimeout(e,0):QA.push(e))}function Ld(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,o=i===void 0?[]:i;return typeof e=="string"?KA(e):"<".concat(t," ").concat(jq(r),">").concat(o.map(Ld).join(""),"")}function sk(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Yq=function(t,n){return function(r,i,o,s){return t.call(n,r,i,o,s)}},q0=function(t,n,r,i){var o=Object.keys(t),s=o.length,a=i!==void 0?Yq(n,i):n,l,c,f;for(r===void 0?(l=1,f=t[o[0]]):(l=0,f=r);l=55296&&i<=56319&&n=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function ak(e){return Object.keys(e).reduce(function(t,n){var r=e[n],i=!!r.icon;return i?t[r.iconName]=r.icon:t[n]=r,t},{})}function iw(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,o=ak(t);typeof _i.hooks.addPack=="function"&&!i?_i.hooks.addPack(e,ak(t)):_i.styles[e]=Be(Be({},_i.styles[e]||{}),o),e==="fas"&&iw("fa",t)}var op,sp,ap,Zl=_i.styles,Zq=_i.shims,Kq=(op={},wn(op,Lt,Object.values(Qf[Lt])),wn(op,Kt,Object.values(Qf[Kt])),op),rC=null,JA={},eI={},tI={},nI={},rI={},Xq=(sp={},wn(sp,Lt,Object.keys(Kf[Lt])),wn(sp,Kt,Object.keys(Kf[Kt])),sp);function Qq(e){return~Nq.indexOf(e)}function Jq(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!Qq(i)?i:null}var iI=function(){var t=function(o){return q0(Zl,function(s,a,l){return s[l]=q0(a,o,{}),s},{})};JA=t(function(i,o,s){if(o[3]&&(i[o[3]]=s),o[2]){var a=o[2].filter(function(l){return typeof l=="number"});a.forEach(function(l){i[l.toString(16)]=s})}return i}),eI=t(function(i,o,s){if(i[s]=s,o[2]){var a=o[2].filter(function(l){return typeof l=="string"});a.forEach(function(l){i[l]=s})}return i}),rI=t(function(i,o,s){var a=o[2];return i[s]=s,a.forEach(function(l){i[l]=s}),i});var n="far"in Zl||Ue.autoFetchSvg,r=q0(Zq,function(i,o){var s=o[0],a=o[1],l=o[2];return a==="far"&&!n&&(a="fas"),typeof s=="string"&&(i.names[s]={prefix:a,iconName:l}),typeof s=="number"&&(i.unicodes[s.toString(16)]={prefix:a,iconName:l}),i},{names:{},unicodes:{}});tI=r.names,nI=r.unicodes,rC=Wy(Ue.styleDefault,{family:Ue.familyDefault})};Iq(function(e){rC=Wy(e.styleDefault,{family:Ue.familyDefault})});iI();function iC(e,t){return(JA[e]||{})[t]}function eG(e,t){return(eI[e]||{})[t]}function Ma(e,t){return(rI[e]||{})[t]}function oI(e){return tI[e]||{prefix:null,iconName:null}}function tG(e){var t=nI[e],n=iC("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Ns(){return rC}var oC=function(){return{prefix:null,iconName:null,rest:[]}};function Wy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?Lt:n,i=Kf[r][e],o=Xf[r][e]||Xf[r][i],s=e in _i.styles?e:null;return o||s||null}var lk=(ap={},wn(ap,Lt,Object.keys(Qf[Lt])),wn(ap,Kt,Object.keys(Qf[Kt])),ap);function Yy(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,o=(t={},wn(t,Lt,"".concat(Ue.cssPrefix,"-").concat(Lt)),wn(t,Kt,"".concat(Ue.cssPrefix,"-").concat(Kt)),t),s=null,a=Lt;(e.includes(o[Lt])||e.some(function(c){return lk[Lt].includes(c)}))&&(a=Lt),(e.includes(o[Kt])||e.some(function(c){return lk[Kt].includes(c)}))&&(a=Kt);var l=e.reduce(function(c,f){var h=Jq(Ue.cssPrefix,f);if(Zl[f]?(f=Kq[a].includes(f)?Tq[a][f]:f,s=f,c.prefix=f):Xq[a].indexOf(f)>-1?(s=f,c.prefix=Wy(f,{family:a})):h?c.iconName=h:f!==Ue.replacementClass&&f!==o[Lt]&&f!==o[Kt]&&c.rest.push(f),!i&&c.prefix&&c.iconName){var p=s==="fa"?oI(c.iconName):{},m=Ma(c.prefix,c.iconName);p.prefix&&(s=null),c.iconName=p.iconName||m||c.iconName,c.prefix=p.prefix||c.prefix,c.prefix==="far"&&!Zl.far&&Zl.fas&&!Ue.autoFetchSvg&&(c.prefix="fas")}return c},oC());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&a===Kt&&(Zl.fass||Ue.autoFetchSvg)&&(l.prefix="fass",l.iconName=Ma(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||s==="fa")&&(l.prefix=Ns()||"fas"),l}var nG=function(){function e(){pq(this,e),this.definitions={}}return mq(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),o=0;o0&&f.forEach(function(h){typeof h=="string"&&(n[a][h]=c)}),n[a][l]=c}),n}}]),e}(),ck=[],Kl={},lc={},rG=Object.keys(lc);function iG(e,t){var n=t.mixoutsTo;return ck=e,Kl={},Object.keys(lc).forEach(function(r){rG.indexOf(r)===-1&&delete lc[r]}),ck.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(s){typeof i[s]=="function"&&(n[s]=i[s]),Mg(i[s])==="object"&&Object.keys(i[s]).forEach(function(a){n[s]||(n[s]={}),n[s][a]=i[s][a]})}),r.hooks){var o=r.hooks();Object.keys(o).forEach(function(s){Kl[s]||(Kl[s]=[]),Kl[s].push(o[s])})}r.provides&&r.provides(lc)}),n}function ow(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i1?t-1:0),r=1;r0&&arguments[0]!==void 0?arguments[0]:{};return $o?(qa("beforeI2svg",t),Mo("pseudoElements2svg",t),Mo("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;Ue.autoReplaceSvg===!1&&(Ue.autoReplaceSvg=!0),Ue.observeMutations=!0,Wq(function(){lG({autoReplaceSvgRoot:n}),qa("watch",t)})}},aG={icon:function(t){if(t===null)return null;if(Mg(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Ma(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=Wy(t[0]);return{prefix:r,iconName:Ma(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(Ue.cssPrefix,"-"))>-1||t.match(Oq))){var i=Yy(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||Ns(),iconName:Ma(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var o=Ns();return{prefix:o,iconName:Ma(o,t)||t}}}},Fr={noAuto:oG,config:Ue,dom:sG,parse:aG,library:sI,findIconDefinition:sw,toHtml:Ld},lG=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?At:n;(Object.keys(_i.styles).length>0||Ue.autoFetchSvg)&&$o&&Ue.autoReplaceSvg&&Fr.dom.i2svg({node:r})};function qy(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return Ld(r)})}}),Object.defineProperty(e,"node",{get:function(){if($o){var r=At.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function cG(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,s=e.transform;if(nC(s)&&n.found&&!r.found){var a=n.width,l=n.height,c={x:a/l/2,y:.5};i.style=Hy(Be(Be({},o),{},{"transform-origin":"".concat(c.x+s.x/16,"em ").concat(c.y+s.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function uG(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol,s=o===!0?"".concat(t,"-").concat(Ue.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Be(Be({},i),{},{id:s}),children:r}]}]}function sC(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,s=e.transform,a=e.symbol,l=e.title,c=e.maskId,f=e.titleId,h=e.extra,p=e.watchable,m=p===void 0?!1:p,g=r.found?r:n,_=g.width,x=g.height,v=i==="fak",b=[Ue.replacementClass,o?"".concat(Ue.cssPrefix,"-").concat(o):""].filter(function(V){return h.classes.indexOf(V)===-1}).filter(function(V){return V!==""||!!V}).concat(h.classes).join(" "),w={children:[],attributes:Be(Be({},h.attributes),{},{"data-prefix":i,"data-icon":o,class:b,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(_," ").concat(x)})},E=v&&!~h.classes.indexOf("fa-fw")?{width:"".concat(_/x*16*.0625,"em")}:{};m&&(w.attributes[Ya]=""),l&&(w.children.push({tag:"title",attributes:{id:w.attributes["aria-labelledby"]||"title-".concat(f||ed())},children:[l]}),delete w.attributes.title);var P=Be(Be({},w),{},{prefix:i,iconName:o,main:n,mask:r,maskId:c,transform:s,symbol:a,styles:Be(Be({},E),h.styles)}),k=r.found&&n.found?Mo("generateAbstractMask",P)||{children:[],attributes:{}}:Mo("generateAbstractIcon",P)||{children:[],attributes:{}},N=k.children,A=k.attributes;return P.children=N,P.attributes=A,a?uG(P):cG(P)}function uk(e){var t=e.content,n=e.width,r=e.height,i=e.transform,o=e.title,s=e.extra,a=e.watchable,l=a===void 0?!1:a,c=Be(Be(Be({},s.attributes),o?{title:o}:{}),{},{class:s.classes.join(" ")});l&&(c[Ya]="");var f=Be({},s.styles);nC(i)&&(f.transform=zq({transform:i,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var h=Hy(f);h.length>0&&(c.style=h);var p=[];return p.push({tag:"span",attributes:c,children:[t]}),o&&p.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),p}function fG(e){var t=e.content,n=e.title,r=e.extra,i=Be(Be(Be({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=Hy(r.styles);o.length>0&&(i.style=o);var s=[];return s.push({tag:"span",attributes:i,children:[t]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var G0=_i.styles;function aw(e){var t=e[0],n=e[1],r=e.slice(4),i=KS(r,1),o=i[0],s=null;return Array.isArray(o)?s={tag:"g",attributes:{class:"".concat(Ue.cssPrefix,"-").concat(ka.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ue.cssPrefix,"-").concat(ka.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(Ue.cssPrefix,"-").concat(ka.PRIMARY),fill:"currentColor",d:o[1]}}]}:s={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:t,height:n,icon:s}}var dG={found:!1,width:512,height:512};function hG(e,t){!YA&&!Ue.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function lw(e,t){var n=t;return t==="fa"&&Ue.styleDefault!==null&&(t=Ns()),new Promise(function(r,i){if(Mo("missingIconAbstract"),n==="fa"){var o=oI(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&G0[t]&&G0[t][e]){var s=G0[t][e];return r(aw(s))}hG(e,t),r(Be(Be({},dG),{},{icon:Ue.showMissingIcons&&e?Mo("missingIconAbstract")||{}:{}}))})}var fk=function(){},cw=Ue.measurePerformance&&Jh&&Jh.mark&&Jh.measure?Jh:{mark:fk,measure:fk},Uu='FA "6.2.0"',pG=function(t){return cw.mark("".concat(Uu," ").concat(t," begins")),function(){return aI(t)}},aI=function(t){cw.mark("".concat(Uu," ").concat(t," ends")),cw.measure("".concat(Uu," ").concat(t),"".concat(Uu," ").concat(t," begins"),"".concat(Uu," ").concat(t," ends"))},aC={begin:pG,end:aI},Zp=function(){};function dk(e){var t=e.getAttribute?e.getAttribute(Ya):null;return typeof t=="string"}function mG(e){var t=e.getAttribute?e.getAttribute(QS):null,n=e.getAttribute?e.getAttribute(JS):null;return t&&n}function gG(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Ue.replacementClass)}function vG(){if(Ue.autoReplaceSvg===!0)return Kp.replace;var e=Kp[Ue.autoReplaceSvg];return e||Kp.replace}function yG(e){return At.createElementNS("http://www.w3.org/2000/svg",e)}function _G(e){return At.createElement(e)}function lI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?yG:_G:n;if(typeof e=="string")return At.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(s){i.setAttribute(s,e.attributes[s])});var o=e.children||[];return o.forEach(function(s){i.appendChild(lI(s,{ceFn:r}))}),i}function bG(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Kp={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(lI(i),n)}),n.getAttribute(Ya)===null&&Ue.keepOriginalSource){var r=At.createComment(bG(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~tC(n).indexOf(Ue.replacementClass))return Kp.replace(t);var i=new RegExp("".concat(Ue.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var o=r[0].attributes.class.split(" ").reduce(function(a,l){return l===Ue.replacementClass||l.match(i)?a.toSvg.push(l):a.toNode.push(l),a},{toNode:[],toSvg:[]});r[0].attributes.class=o.toSvg.join(" "),o.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",o.toNode.join(" "))}var s=r.map(function(a){return Ld(a)}).join(` +`);n.setAttribute(Ya,""),n.innerHTML=s}};function hk(e){e()}function cI(e,t){var n=typeof t=="function"?t:Zp;if(e.length===0)n();else{var r=hk;Ue.mutateApproach===Cq&&(r=Rs.requestAnimationFrame||hk),r(function(){var i=vG(),o=aC.begin("mutate");e.map(i),o(),n()})}}var lC=!1;function uI(){lC=!0}function uw(){lC=!1}var Ng=null;function pk(e){if(rk&&Ue.observeMutations){var t=e.treeCallback,n=t===void 0?Zp:t,r=e.nodeCallback,i=r===void 0?Zp:r,o=e.pseudoElementsCallback,s=o===void 0?Zp:o,a=e.observeMutationsRoot,l=a===void 0?At:a;Ng=new rk(function(c){if(!lC){var f=Ns();Zc(c).forEach(function(h){if(h.type==="childList"&&h.addedNodes.length>0&&!dk(h.addedNodes[0])&&(Ue.searchPseudoElements&&s(h.target),n(h.target)),h.type==="attributes"&&h.target.parentNode&&Ue.searchPseudoElements&&s(h.target.parentNode),h.type==="attributes"&&dk(h.target)&&~Rq.indexOf(h.attributeName))if(h.attributeName==="class"&&mG(h.target)){var p=Yy(tC(h.target)),m=p.prefix,g=p.iconName;h.target.setAttribute(QS,m||f),g&&h.target.setAttribute(JS,g)}else gG(h.target)&&i(h.target)})}}),$o&&Ng.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function wG(){Ng&&Ng.disconnect()}function xG(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,i){var o=i.split(":"),s=o[0],a=o.slice(1);return s&&a.length>0&&(r[s]=a.join(":").trim()),r},{})),n}function SG(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=Yy(tC(e));return i.prefix||(i.prefix=Ns()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=eG(i.prefix,e.innerText)||iC(i.prefix,rw(e.innerText))),!i.iconName&&Ue.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function CG(e){var t=Zc(e.attributes).reduce(function(i,o){return i.name!=="class"&&i.name!=="style"&&(i[o.name]=o.value),i},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Ue.autoA11y&&(n?t["aria-labelledby"]="".concat(Ue.replacementClass,"-title-").concat(r||ed()):(t["aria-hidden"]="true",t.focusable="false")),t}function EG(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Yi,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function mk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=SG(e),r=n.iconName,i=n.prefix,o=n.rest,s=CG(e),a=ow("parseNodeAttributes",{},e),l=t.styleParser?xG(e):[];return Be({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Yi,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:s}},a)}var TG=_i.styles;function fI(e){var t=Ue.autoReplaceSvg==="nest"?mk(e,{styleParser:!1}):mk(e);return~t.extra.classes.indexOf(qA)?Mo("generateLayersText",e,t):Mo("generateSvgReplacementMutation",e,t)}var Ls=new Set;eC.map(function(e){Ls.add("fa-".concat(e))});Object.keys(Kf[Lt]).map(Ls.add.bind(Ls));Object.keys(Kf[Kt]).map(Ls.add.bind(Ls));Ls=Rd(Ls);function gk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!$o)return Promise.resolve();var n=At.documentElement.classList,r=function(h){return n.add("".concat(ik,"-").concat(h))},i=function(h){return n.remove("".concat(ik,"-").concat(h))},o=Ue.autoFetchSvg?Ls:eC.map(function(f){return"fa-".concat(f)}).concat(Object.keys(TG));o.includes("fa")||o.push("fa");var s=[".".concat(qA,":not([").concat(Ya,"])")].concat(o.map(function(f){return".".concat(f,":not([").concat(Ya,"])")})).join(", ");if(s.length===0)return Promise.resolve();var a=[];try{a=Zc(e.querySelectorAll(s))}catch{}if(a.length>0)r("pending"),i("complete");else return Promise.resolve();var l=aC.begin("onTree"),c=a.reduce(function(f,h){try{var p=fI(h);p&&f.push(p)}catch(m){YA||m.name==="MissingIcon"&&console.error(m)}return f},[]);return new Promise(function(f,h){Promise.all(c).then(function(p){cI(p,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),f()})}).catch(function(p){l(),h(p)})})}function OG(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;fI(e).then(function(n){n&&cI([n],t)})}function PG(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:sw(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:sw(i||{})),e(r,Be(Be({},n),{},{mask:i}))}}var kG=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?Yi:r,o=n.symbol,s=o===void 0?!1:o,a=n.mask,l=a===void 0?null:a,c=n.maskId,f=c===void 0?null:c,h=n.title,p=h===void 0?null:h,m=n.titleId,g=m===void 0?null:m,_=n.classes,x=_===void 0?[]:_,v=n.attributes,b=v===void 0?{}:v,w=n.styles,E=w===void 0?{}:w;if(t){var P=t.prefix,k=t.iconName,N=t.icon;return qy(Be({type:"icon"},t),function(){return qa("beforeDOMElementCreation",{iconDefinition:t,params:n}),Ue.autoA11y&&(p?b["aria-labelledby"]="".concat(Ue.replacementClass,"-title-").concat(g||ed()):(b["aria-hidden"]="true",b.focusable="false")),sC({icons:{main:aw(N),mask:l?aw(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:P,iconName:k,transform:Be(Be({},Yi),i),symbol:s,title:p,maskId:f,titleId:g,extra:{attributes:b,styles:E,classes:x}})})}},MG={mixout:function(){return{icon:PG(kG)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=gk,n.nodeCallback=OG,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?At:r,o=n.callback,s=o===void 0?function(){}:o;return gk(i,s)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,o=r.title,s=r.titleId,a=r.prefix,l=r.transform,c=r.symbol,f=r.mask,h=r.maskId,p=r.extra;return new Promise(function(m,g){Promise.all([lw(i,a),f.iconName?lw(f.iconName,f.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(_){var x=KS(_,2),v=x[0],b=x[1];m([n,sC({icons:{main:v,mask:b},prefix:a,iconName:i,transform:l,symbol:c,maskId:h,title:o,titleId:s,extra:p,watchable:!0})])}).catch(g)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,o=n.main,s=n.transform,a=n.styles,l=Hy(a);l.length>0&&(i.style=l);var c;return nC(s)&&(c=Mo("generateAbstractTransformGrouping",{main:o,transform:s,containerWidth:o.width,iconWidth:o.width})),r.push(c||o.icon),{children:r,attributes:i}}}},RG={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.classes,o=i===void 0?[]:i;return qy({type:"layer"},function(){qa("beforeDOMElementCreation",{assembler:n,params:r});var s=[];return n(function(a){Array.isArray(a)?a.map(function(l){s=s.concat(l.abstract)}):s=s.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(Ue.cssPrefix,"-layers")].concat(Rd(o)).join(" ")},children:s}]})}}}},NG={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.title,o=i===void 0?null:i,s=r.classes,a=s===void 0?[]:s,l=r.attributes,c=l===void 0?{}:l,f=r.styles,h=f===void 0?{}:f;return qy({type:"counter",content:n},function(){return qa("beforeDOMElementCreation",{content:n,params:r}),fG({content:n.toString(),title:o,extra:{attributes:c,styles:h,classes:["".concat(Ue.cssPrefix,"-layers-counter")].concat(Rd(a))}})})}}}},LG={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,o=i===void 0?Yi:i,s=r.title,a=s===void 0?null:s,l=r.classes,c=l===void 0?[]:l,f=r.attributes,h=f===void 0?{}:f,p=r.styles,m=p===void 0?{}:p;return qy({type:"text",content:n},function(){return qa("beforeDOMElementCreation",{content:n,params:r}),uk({content:n,transform:Be(Be({},Yi),o),title:a,extra:{attributes:h,styles:m,classes:["".concat(Ue.cssPrefix,"-layers-text")].concat(Rd(c))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,o=r.transform,s=r.extra,a=null,l=null;if(VA){var c=parseInt(getComputedStyle(n).fontSize,10),f=n.getBoundingClientRect();a=f.width/c,l=f.height/c}return Ue.autoA11y&&!i&&(s.attributes["aria-hidden"]="true"),Promise.resolve([n,uk({content:n.innerHTML,width:a,height:l,transform:o,title:i,extra:s,watchable:!0})])}}},DG=new RegExp('"',"ug"),vk=[1105920,1112319];function AG(e){var t=e.replace(DG,""),n=Gq(t,0),r=n>=vk[0]&&n<=vk[1],i=t.length===2?t[0]===t[1]:!1;return{value:rw(i?t[0]:t),isSecondary:r||i}}function yk(e,t){var n="".concat(Sq).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var o=Zc(e.children),s=o.filter(function(N){return N.getAttribute(nw)===t})[0],a=Rs.getComputedStyle(e,t),l=a.getPropertyValue("font-family").match(Pq),c=a.getPropertyValue("font-weight"),f=a.getPropertyValue("content");if(s&&!l)return e.removeChild(s),r();if(l&&f!=="none"&&f!==""){var h=a.getPropertyValue("content"),p=~["Sharp"].indexOf(l[2])?Kt:Lt,m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?Xf[p][l[2].toLowerCase()]:kq[p][c],g=AG(h),_=g.value,x=g.isSecondary,v=l[0].startsWith("FontAwesome"),b=iC(m,_),w=b;if(v){var E=tG(_);E.iconName&&E.prefix&&(b=E.iconName,m=E.prefix)}if(b&&!x&&(!s||s.getAttribute(QS)!==m||s.getAttribute(JS)!==w)){e.setAttribute(n,w),s&&e.removeChild(s);var P=EG(),k=P.extra;k.attributes[nw]=t,lw(b,m).then(function(N){var A=sC(Be(Be({},P),{},{icons:{main:N,mask:oC()},prefix:m,iconName:w,extra:k,watchable:!0})),V=At.createElement("svg");t==="::before"?e.insertBefore(V,e.firstChild):e.appendChild(V),V.outerHTML=A.map(function(I){return Ld(I)}).join(` +`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function IG(e){return Promise.all([yk(e,"::before"),yk(e,"::after")])}function FG(e){return e.parentNode!==document.head&&!~Eq.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(nw)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function _k(e){if($o)return new Promise(function(t,n){var r=Zc(e.querySelectorAll("*")).filter(FG).map(IG),i=aC.begin("searchPseudoElements");uI(),Promise.all(r).then(function(){i(),uw(),t()}).catch(function(){i(),uw(),n()})})}var $G={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=_k,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?At:r;Ue.searchPseudoElements&&_k(i)}}},bk=!1,jG={mixout:function(){return{dom:{unwatch:function(){uI(),bk=!0}}}},hooks:function(){return{bootstrap:function(){pk(ow("mutationObserverCallbacks",{}))},noAuto:function(){wG()},watch:function(n){var r=n.observeMutationsRoot;bk?uw():pk(ow("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},wk=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,i){var o=i.toLowerCase().split("-"),s=o[0],a=o.slice(1).join("-");if(s&&a==="h")return r.flipX=!0,r;if(s&&a==="v")return r.flipY=!0,r;if(a=parseFloat(a),isNaN(a))return r;switch(s){case"grow":r.size=r.size+a;break;case"shrink":r.size=r.size-a;break;case"left":r.x=r.x-a;break;case"right":r.x=r.x+a;break;case"up":r.y=r.y-a;break;case"down":r.y=r.y+a;break;case"rotate":r.rotate=r.rotate+a;break}return r},n)},BG={mixout:function(){return{parse:{transform:function(n){return wk(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=wk(i)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,i=n.transform,o=n.containerWidth,s=n.iconWidth,a={transform:"translate(".concat(o/2," 256)")},l="translate(".concat(i.x*32,", ").concat(i.y*32,") "),c="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),f="rotate(".concat(i.rotate," 0 0)"),h={transform:"".concat(l," ").concat(c," ").concat(f)},p={transform:"translate(".concat(s/2*-1," -256)")},m={outer:a,inner:h,path:p};return{tag:"g",attributes:Be({},m.outer),children:[{tag:"g",attributes:Be({},m.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Be(Be({},r.icon.attributes),m.path)}]}]}}}},Z0={x:0,y:0,width:"100%",height:"100%"};function xk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function zG(e){return e.tag==="g"?e.children:[e]}var UG={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),o=i?Yy(i.split(" ").map(function(s){return s.trim()})):oC();return o.prefix||(o.prefix=Ns()),n.mask=o,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,i=n.attributes,o=n.main,s=n.mask,a=n.maskId,l=n.transform,c=o.width,f=o.icon,h=s.width,p=s.icon,m=Bq({transform:l,containerWidth:h,iconWidth:c}),g={tag:"rect",attributes:Be(Be({},Z0),{},{fill:"white"})},_=f.children?{children:f.children.map(xk)}:{},x={tag:"g",attributes:Be({},m.inner),children:[xk(Be({tag:f.tag,attributes:Be(Be({},f.attributes),m.path)},_))]},v={tag:"g",attributes:Be({},m.outer),children:[x]},b="mask-".concat(a||ed()),w="clip-".concat(a||ed()),E={tag:"mask",attributes:Be(Be({},Z0),{},{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[g,v]},P={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:zG(p)},E]};return r.push(P,{tag:"rect",attributes:Be({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(b,")")},Z0)}),{children:r,attributes:i}}}},VG={provides:function(t){var n=!1;Rs.matchMedia&&(n=Rs.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:Be(Be({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var s=Be(Be({},o),{},{attributeName:"opacity"}),a={tag:"circle",attributes:Be(Be({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||a.children.push({tag:"animate",attributes:Be(Be({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Be(Be({},s),{},{values:"1;0;1;1;0;1;"})}),r.push(a),r.push({tag:"path",attributes:Be(Be({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:Be(Be({},s),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:Be(Be({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Be(Be({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},HG={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-symbol"),o=i===null?!1:i===""?!0:i;return n.symbol=o,n}}}},WG=[Vq,MG,RG,NG,LG,$G,jG,BG,UG,VG,HG];iG(WG,{mixoutsTo:Fr});Fr.noAuto;Fr.config;Fr.library;Fr.dom;var fw=Fr.parse;Fr.findIconDefinition;Fr.toHtml;var YG=Fr.icon;Fr.layer;Fr.text;Fr.counter;var S={},qG={get exports(){return S},set exports(e){S=e}},GG="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ZG=GG,KG=ZG;function dI(){}function hI(){}hI.resetWarningCache=dI;var XG=function(){function e(r,i,o,s,a,l){if(l!==KG){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:hI,resetWarningCache:dI};return n.PropTypes=n,n};qG.exports=XG();function Sk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function cs(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function JG(e,t){if(e==null)return{};var n=QG(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function dw(e){return eZ(e)||tZ(e)||nZ(e)||rZ()}function eZ(e){if(Array.isArray(e))return hw(e)}function tZ(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nZ(e,t){if(e){if(typeof e=="string")return hw(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 hw(e,t)}}function hw(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(l){return mI(e,l)}),i=Object.keys(t.attributes||{}).reduce(function(l,c){var f=t.attributes[c];switch(c){case"class":l.attrs.className=f,delete t.attributes.class;break;case"style":l.attrs.style=lZ(f);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?l.attrs[c.toLowerCase()]=f:l.attrs[pI(c)]=f}return l},{attrs:{}}),o=n.style,s=o===void 0?{}:o,a=JG(n,sZ);return i.attrs.style=cs(cs({},i.attrs.style),s),e.apply(void 0,[t.tag,cs(cs({},i.attrs),a)].concat(dw(r)))}var gI=!1;try{gI=!0}catch{}function cZ(){if(!gI&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Ck(e){if(e&&Lg(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(fw.icon)return fw.icon(e);if(e===null)return null;if(e&&Lg(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function K0(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Xl({},e,t):{}}var $e=z.forwardRef(function(e,t){var n=e.icon,r=e.mask,i=e.symbol,o=e.className,s=e.title,a=e.titleId,l=e.maskId,c=Ck(n),f=K0("classes",[].concat(dw(iZ(e)),dw(o.split(" ")))),h=K0("transform",typeof e.transform=="string"?fw.transform(e.transform):e.transform),p=K0("mask",Ck(r)),m=YG(c,cs(cs(cs(cs({},f),h),p),{},{symbol:i,title:s,titleId:a,maskId:l}));if(!m)return cZ("Could not find icon",c),null;var g=m.abstract,_={ref:t};return Object.keys(e).forEach(function(x){$e.defaultProps.hasOwnProperty(x)||(_[x]=e[x])}),uZ(g[0],_)});$e.displayName="FontAwesomeIcon";$e.propTypes={beat:S.bool,border:S.bool,beatFade:S.bool,bounce:S.bool,className:S.string,fade:S.bool,flash:S.bool,mask:S.oneOfType([S.object,S.array,S.string]),maskId:S.string,fixedWidth:S.bool,inverse:S.bool,flip:S.oneOf([!0,!1,"horizontal","vertical","both"]),icon:S.oneOfType([S.object,S.array,S.string]),listItem:S.bool,pull:S.oneOf(["right","left"]),pulse:S.bool,rotation:S.oneOf([0,90,180,270]),shake:S.bool,size:S.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:S.bool,spinPulse:S.bool,spinReverse:S.bool,symbol:S.oneOfType([S.bool,S.string]),title:S.string,titleId:S.string,transform:S.oneOfType([S.string,S.object]),swapOpacity:S.bool};$e.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var uZ=mI.bind(null,z.createElement),pw={},fZ={get exports(){return pw},set exports(e){pw=e}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],i=0;i1?n-1:0),i=1;i"u")return!1;var t=si(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function CZ(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!Qr(o)||!to(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var a=i[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function EZ(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=s.reduce(function(l,c){return l[c]="",l},{});!Qr(i)||!to(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const TZ={name:"applyStyles",enabled:!0,phase:"write",fn:CZ,effect:EZ,requires:["computeStyles"]};function Ki(e){return e.split("-")[0]}var Aa=Math.max,Dg=Math.min,Oc=Math.round;function gw(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function SI(){return!/^((?!chrome|android).)*safari/i.test(gw())}function Pc(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&Qr(e)&&(i=e.offsetWidth>0&&Oc(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Oc(r.height)/e.offsetHeight||1);var s=Ga(e)?si(e):window,a=s.visualViewport,l=!SI()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/i,f=(r.top+(l&&a?a.offsetTop:0))/o,h=r.width/i,p=r.height/o;return{width:h,height:p,top:f,right:c+h,bottom:f+p,left:c,x:c,y:f}}function fC(e){var t=Pc(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function CI(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&uC(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ro(e){return si(e).getComputedStyle(e)}function OZ(e){return["table","td","th"].indexOf(to(e))>=0}function Gs(e){return((Ga(e)?e.ownerDocument:e.document)||window.document).documentElement}function Gy(e){return to(e)==="html"?e:e.assignedSlot||e.parentNode||(uC(e)?e.host:null)||Gs(e)}function kk(e){return!Qr(e)||Ro(e).position==="fixed"?null:e.offsetParent}function PZ(e){var t=/firefox/i.test(gw()),n=/Trident/i.test(gw());if(n&&Qr(e)){var r=Ro(e);if(r.position==="fixed")return null}var i=Gy(e);for(uC(i)&&(i=i.host);Qr(i)&&["html","body"].indexOf(to(i))<0;){var o=Ro(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Ad(e){for(var t=si(e),n=kk(e);n&&OZ(n)&&Ro(n).position==="static";)n=kk(n);return n&&(to(n)==="html"||to(n)==="body"&&Ro(n).position==="static")?t:n||PZ(e)||t}function dC(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function df(e,t,n){return Aa(e,Dg(t,n))}function kZ(e,t,n){var r=df(e,t,n);return r>n?n:r}function EI(){return{top:0,right:0,bottom:0,left:0}}function TI(e){return Object.assign({},EI(),e)}function OI(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var MZ=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,TI(typeof t!="number"?t:OI(t,Dd))};function RZ(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=Ki(n.placement),l=dC(a),c=[wr,ri].indexOf(a)>=0,f=c?"height":"width";if(!(!o||!s)){var h=MZ(i.padding,n),p=fC(o),m=l==="y"?br:wr,g=l==="y"?ni:ri,_=n.rects.reference[f]+n.rects.reference[l]-s[l]-n.rects.popper[f],x=s[l]-n.rects.reference[l],v=Ad(o),b=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,w=_/2-x/2,E=h[m],P=b-p[f]-h[g],k=b/2-p[f]/2+w,N=df(E,k,P),A=l;n.modifiersData[r]=(t={},t[A]=N,t.centerOffset=N-k,t)}}function NZ(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||CI(t.elements.popper,i)&&(t.elements.arrow=i))}const LZ={name:"arrow",enabled:!0,phase:"main",fn:RZ,effect:NZ,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function kc(e){return e.split("-")[1]}var DZ={top:"auto",right:"auto",bottom:"auto",left:"auto"};function AZ(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:Oc(t*i)/i||0,y:Oc(n*i)/i||0}}function Mk(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,f=e.roundOffsets,h=e.isFixed,p=s.x,m=p===void 0?0:p,g=s.y,_=g===void 0?0:g,x=typeof f=="function"?f({x:m,y:_}):{x:m,y:_};m=x.x,_=x.y;var v=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),w=wr,E=br,P=window;if(c){var k=Ad(n),N="clientHeight",A="clientWidth";if(k===si(n)&&(k=Gs(n),Ro(k).position!=="static"&&a==="absolute"&&(N="scrollHeight",A="scrollWidth")),k=k,i===br||(i===wr||i===ri)&&o===td){E=ni;var V=h&&k===P&&P.visualViewport?P.visualViewport.height:k[N];_-=V-r.height,_*=l?1:-1}if(i===wr||(i===br||i===ni)&&o===td){w=ri;var I=h&&k===P&&P.visualViewport?P.visualViewport.width:k[A];m-=I-r.width,m*=l?1:-1}}var Y=Object.assign({position:a},c&&DZ),q=f===!0?AZ({x:m,y:_}):{x:m,y:_};if(m=q.x,_=q.y,l){var X;return Object.assign({},Y,(X={},X[E]=b?"0":"",X[w]=v?"0":"",X.transform=(P.devicePixelRatio||1)<=1?"translate("+m+"px, "+_+"px)":"translate3d("+m+"px, "+_+"px, 0)",X))}return Object.assign({},Y,(t={},t[E]=b?_+"px":"",t[w]=v?m+"px":"",t.transform="",t))}function IZ(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,s=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Ki(t.placement),variation:kc(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Mk(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Mk(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const FZ={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:IZ,data:{}};var lp={passive:!0};function $Z(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,s=r.resize,a=s===void 0?!0:s,l=si(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(f){f.addEventListener("scroll",n.update,lp)}),a&&l.addEventListener("resize",n.update,lp),function(){o&&c.forEach(function(f){f.removeEventListener("scroll",n.update,lp)}),a&&l.removeEventListener("resize",n.update,lp)}}const jZ={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:$Z,data:{}};var BZ={left:"right",right:"left",bottom:"top",top:"bottom"};function Xp(e){return e.replace(/left|right|bottom|top/g,function(t){return BZ[t]})}var zZ={start:"end",end:"start"};function Rk(e){return e.replace(/start|end/g,function(t){return zZ[t]})}function hC(e){var t=si(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function pC(e){return Pc(Gs(e)).left+hC(e).scrollLeft}function UZ(e,t){var n=si(e),r=Gs(e),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;var c=SI();(c||!c&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a+pC(e),y:l}}function VZ(e){var t,n=Gs(e),r=hC(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Aa(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Aa(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+pC(e),l=-r.scrollTop;return Ro(i||n).direction==="rtl"&&(a+=Aa(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function mC(e){var t=Ro(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function PI(e){return["html","body","#document"].indexOf(to(e))>=0?e.ownerDocument.body:Qr(e)&&mC(e)?e:PI(Gy(e))}function hf(e,t){var n;t===void 0&&(t=[]);var r=PI(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=si(r),s=i?[o].concat(o.visualViewport||[],mC(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(hf(Gy(s)))}function vw(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function HZ(e,t){var n=Pc(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Nk(e,t,n){return t===wI?vw(UZ(e,n)):Ga(t)?HZ(t,n):vw(VZ(Gs(e)))}function WZ(e){var t=hf(Gy(e)),n=["absolute","fixed"].indexOf(Ro(e).position)>=0,r=n&&Qr(e)?Ad(e):e;return Ga(r)?t.filter(function(i){return Ga(i)&&CI(i,r)&&to(i)!=="body"}):[]}function YZ(e,t,n,r){var i=t==="clippingParents"?WZ(e):[].concat(t),o=[].concat(i,[n]),s=o[0],a=o.reduce(function(l,c){var f=Nk(e,c,r);return l.top=Aa(f.top,l.top),l.right=Dg(f.right,l.right),l.bottom=Dg(f.bottom,l.bottom),l.left=Aa(f.left,l.left),l},Nk(e,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function kI(e){var t=e.reference,n=e.element,r=e.placement,i=r?Ki(r):null,o=r?kc(r):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(i){case br:l={x:s,y:t.y-n.height};break;case ni:l={x:s,y:t.y+t.height};break;case ri:l={x:t.x+t.width,y:a};break;case wr:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var c=i?dC(i):null;if(c!=null){var f=c==="y"?"height":"width";switch(o){case Tc:l[c]=l[c]-(t[f]/2-n[f]/2);break;case td:l[c]=l[c]+(t[f]/2-n[f]/2);break}}return l}function nd(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,s=o===void 0?e.strategy:o,a=n.boundary,l=a===void 0?dZ:a,c=n.rootBoundary,f=c===void 0?wI:c,h=n.elementContext,p=h===void 0?Ou:h,m=n.altBoundary,g=m===void 0?!1:m,_=n.padding,x=_===void 0?0:_,v=TI(typeof x!="number"?x:OI(x,Dd)),b=p===Ou?hZ:Ou,w=e.rects.popper,E=e.elements[g?b:p],P=YZ(Ga(E)?E:E.contextElement||Gs(e.elements.popper),l,f,s),k=Pc(e.elements.reference),N=kI({reference:k,element:w,strategy:"absolute",placement:i}),A=vw(Object.assign({},w,N)),V=p===Ou?A:k,I={top:P.top-V.top+v.top,bottom:V.bottom-P.bottom+v.bottom,left:P.left-V.left+v.left,right:V.right-P.right+v.right},Y=e.modifiersData.offset;if(p===Ou&&Y){var q=Y[i];Object.keys(I).forEach(function(X){var Z=[ri,ni].indexOf(X)>=0?1:-1,J=[br,ni].indexOf(X)>=0?"y":"x";I[X]+=q[J]*Z})}return I}function qZ(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?xI:l,f=kc(r),h=f?a?Pk:Pk.filter(function(g){return kc(g)===f}):Dd,p=h.filter(function(g){return c.indexOf(g)>=0});p.length===0&&(p=h);var m=p.reduce(function(g,_){return g[_]=nd(e,{placement:_,boundary:i,rootBoundary:o,padding:s})[Ki(_)],g},{});return Object.keys(m).sort(function(g,_){return m[g]-m[_]})}function GZ(e){if(Ki(e)===cC)return[];var t=Xp(e);return[Rk(e),t,Rk(t)]}function ZZ(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,c=n.padding,f=n.boundary,h=n.rootBoundary,p=n.altBoundary,m=n.flipVariations,g=m===void 0?!0:m,_=n.allowedAutoPlacements,x=t.options.placement,v=Ki(x),b=v===x,w=l||(b||!g?[Xp(x)]:GZ(x)),E=[x].concat(w).reduce(function(G,re){return G.concat(Ki(re)===cC?qZ(t,{placement:re,boundary:f,rootBoundary:h,padding:c,flipVariations:g,allowedAutoPlacements:_}):re)},[]),P=t.rects.reference,k=t.rects.popper,N=new Map,A=!0,V=E[0],I=0;I=0,J=Z?"width":"height",oe=nd(t,{placement:Y,boundary:f,rootBoundary:h,altBoundary:p,padding:c}),ce=Z?X?ri:wr:X?ni:br;P[J]>k[J]&&(ce=Xp(ce));var K=Xp(ce),$=[];if(o&&$.push(oe[q]<=0),a&&$.push(oe[ce]<=0,oe[K]<=0),$.every(function(G){return G})){V=Y,A=!1;break}N.set(Y,$)}if(A)for(var D=g?3:1,B=function(re){var le=E.find(function(me){var O=N.get(me);if(O)return O.slice(0,re).every(function(R){return R})});if(le)return V=le,"break"},ne=D;ne>0;ne--){var W=B(ne);if(W==="break")break}t.placement!==V&&(t.modifiersData[r]._skip=!0,t.placement=V,t.reset=!0)}}const KZ={name:"flip",enabled:!0,phase:"main",fn:ZZ,requiresIfExists:["offset"],data:{_skip:!1}};function Lk(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Dk(e){return[br,ri,ni,wr].some(function(t){return e[t]>=0})}function XZ(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=nd(t,{elementContext:"reference"}),a=nd(t,{altBoundary:!0}),l=Lk(s,r),c=Lk(a,i,o),f=Dk(l),h=Dk(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}const QZ={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:XZ};function JZ(e,t,n){var r=Ki(e),i=[wr,br].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[wr,ri].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function eK(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,s=xI.reduce(function(f,h){return f[h]=JZ(h,t.rects,o),f},{}),a=s[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}const tK={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:eK};function nK(e){var t=e.state,n=e.name;t.modifiersData[n]=kI({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const rK={name:"popperOffsets",enabled:!0,phase:"read",fn:nK,data:{}};function iK(e){return e==="x"?"y":"x"}function oK(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,c=n.rootBoundary,f=n.altBoundary,h=n.padding,p=n.tether,m=p===void 0?!0:p,g=n.tetherOffset,_=g===void 0?0:g,x=nd(t,{boundary:l,rootBoundary:c,padding:h,altBoundary:f}),v=Ki(t.placement),b=kc(t.placement),w=!b,E=dC(v),P=iK(E),k=t.modifiersData.popperOffsets,N=t.rects.reference,A=t.rects.popper,V=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,I=typeof V=="number"?{mainAxis:V,altAxis:V}:Object.assign({mainAxis:0,altAxis:0},V),Y=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,q={x:0,y:0};if(k){if(o){var X,Z=E==="y"?br:wr,J=E==="y"?ni:ri,oe=E==="y"?"height":"width",ce=k[E],K=ce+x[Z],$=ce-x[J],D=m?-A[oe]/2:0,B=b===Tc?N[oe]:A[oe],ne=b===Tc?-A[oe]:-N[oe],W=t.elements.arrow,G=m&&W?fC(W):{width:0,height:0},re=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:EI(),le=re[Z],me=re[J],O=df(0,N[oe],G[oe]),R=w?N[oe]/2-D-O-le-I.mainAxis:B-O-le-I.mainAxis,F=w?-N[oe]/2+D+O+me+I.mainAxis:ne+O+me+I.mainAxis,ee=t.elements.arrow&&Ad(t.elements.arrow),Q=ee?E==="y"?ee.clientTop||0:ee.clientLeft||0:0,se=(X=Y==null?void 0:Y[E])!=null?X:0,ve=ce+R-se-Q,Le=ce+F-se,fe=df(m?Dg(K,ve):K,ce,m?Aa($,Le):$);k[E]=fe,q[E]=fe-ce}if(a){var ye,be=E==="x"?br:wr,Te=E==="x"?ni:ri,De=k[P],Re=P==="y"?"height":"width",Ne=De+x[be],ue=De-x[Te],he=[br,wr].indexOf(v)!==-1,we=(ye=Y==null?void 0:Y[P])!=null?ye:0,_e=he?Ne:De-N[Re]-A[Re]-we+I.altAxis,Ce=he?De+N[Re]+A[Re]-we-I.altAxis:ue,ke=m&&he?kZ(_e,De,Ce):df(m?_e:Ne,De,m?Ce:ue);k[P]=ke,q[P]=ke-De}t.modifiersData[r]=q}}const sK={name:"preventOverflow",enabled:!0,phase:"main",fn:oK,requiresIfExists:["offset"]};function aK(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function lK(e){return e===si(e)||!Qr(e)?hC(e):aK(e)}function cK(e){var t=e.getBoundingClientRect(),n=Oc(t.width)/e.offsetWidth||1,r=Oc(t.height)/e.offsetHeight||1;return n!==1||r!==1}function uK(e,t,n){n===void 0&&(n=!1);var r=Qr(t),i=Qr(t)&&cK(t),o=Gs(t),s=Pc(e,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((to(t)!=="body"||mC(o))&&(a=lK(t)),Qr(t)?(l=Pc(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=pC(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function fK(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function dK(e){var t=fK(e);return SZ.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function hK(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function pK(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ak={placement:"bottom",modifiers:[],strategy:"absolute"};function Ik(){for(var e=arguments.length,t=new Array(e),n=0;n=0)&&(n[i]=e[i]);return n}function Ze(e,t){if(e==null)return{};var n=kK(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function MK(){let e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e);const t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}function gC(e){document.body.style.paddingRight=e>0?`${e}px`:null}function RK(){return document.body.clientWidtht[n]||n).join(" "):e}function Sr(e,t){const n={};return Object.keys(e).forEach(r=>{t.indexOf(r)===-1&&(n[r]=e[r])}),n}function II(e,t){const n=Array.isArray(t)?t:[t];let{length:r}=n,i;const o={};for(;r>0;)r-=1,i=n[r],o[i]=e[i];return o}let jk={};function bw(e){jk[e]||(typeof console<"u"&&console.error(e),jk[e]=!0)}function FI(e,t){return function(r,i,o,...s){return r[i]!==null&&typeof r[i]<"u"&&bw(`"${i}" property of "${o}" has been deprecated. +${t}`),e(r,i,o,...s)}}const LK=typeof window=="object"&&window.Element||function(){};function vC(e,t,n){if(!(e[t]instanceof LK))return new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")}const Ds=S.oneOfType([S.string,S.func,vC,S.shape({current:S.any})]),Pe=S.oneOfType([S.func,S.string,S.shape({$$typeof:S.symbol,render:S.func}),S.arrayOf(S.oneOfType([S.func,S.string,S.shape({$$typeof:S.symbol,render:S.func})]))]),Za={Fade:150,Collapse:350,Modal:300,Carousel:600,Offcanvas:300},Ag=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],go={ENTERING:"entering",ENTERED:"entered",EXITING:"exiting",EXITED:"exited"},yt={esc:27,space:32,enter:13,tab:9,up:38,down:40,home:36,end:35,n:78,p:80},DK=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],yC=!!(typeof window<"u"&&window.document&&window.document.createElement);function AK(e){return e&&typeof e=="object"?"current"in e:!1}function $I(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function Ig(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")}function Bk(e){const t=typeof e,n=0/0;if(t==="number")return e;if(t==="symbol"||t==="object"&&$I(e)==="[object Symbol]")return n;if(Ig(e)){const i=typeof e.valueOf=="function"?e.valueOf():e;e=Ig(i)?`${i}`:i}if(t!=="string")return e===0?e:+e;e=e.replace(/^\s+|\s+$/g,"");const r=/^0b[01]+$/i.test(e);return r||/^0o[0-7]+$/i.test(e)?parseInt(e.slice(2),r?2:8):/^[-+]0x[0-9a-f]+$/i.test(e)?n:+e}function IK(e){if(!Ig(e))return!1;const t=$I(e);return t==="[object Function]"||t==="[object AsyncFunction]"||t==="[object GeneratorFunction]"||t==="[object Proxy]"}function jI(e){if(AK(e))return e.current;if(IK(e))return e();if(typeof e=="string"&&yC){let t=document.querySelectorAll(e);if(t.length||(t=document.querySelectorAll(`#${e}`)),!t.length)throw new Error(`The target '${e}' could not be identified in the dom, tip: check spelling`);return t}return e}function Fg(e){return e===null?!1:Array.isArray(e)||yC&&typeof e.length=="number"}function Mc(e,t){const n=jI(e);return t?Fg(n)?n:n===null?[]:[n]:Fg(n)?n[0]:n}const FK=["touchstart","click"];function $K(e,t,n,r){let i=e;Fg(i)||(i=[i]);let o=n;if(typeof o=="string"&&(o=o.split(/\s+/)),!Fg(i)||typeof t!="function"||!Array.isArray(o))throw new Error(` + The first argument of this function must be DOM node or an array on DOM nodes or NodeList. + The second must be a function. + The third is a string or an array of strings that represents DOM events + `);return Array.prototype.forEach.call(o,s=>{Array.prototype.forEach.call(i,a=>{a.addEventListener(s,t,r)})}),function(){Array.prototype.forEach.call(o,a=>{Array.prototype.forEach.call(i,l=>{l.removeEventListener(a,t,r)})})}}const BI=["a[href]","area[href]","input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","object","embed","[tabindex]:not(.modal)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'];S.oneOfType([S.bool,S.string]),S.string,S.object;const jK=["className","cssModule","noGutters","tag","widths"],BK=["xs","sm","md","lg","xl","xxl"],Cl=S.oneOfType([S.number,S.string]),zK={tag:Pe,noGutters:FI(S.bool,"Please use Bootstrap 5 gutter utility classes. https://getbootstrap.com/docs/5.0/layout/gutters/"),className:S.string,cssModule:S.object,xs:Cl,sm:Cl,md:Cl,lg:Cl,xl:Cl,xxl:Cl,widths:S.array},UK={tag:"div",widths:BK};function cr(e){const{className:t,cssModule:n,noGutters:r,tag:i,widths:o}=e,s=Ze(e,jK),a=[];o.forEach((c,f)=>{let h=e[c];if(delete s[c],!h)return;const p=!f;a.push(p?`row-cols-${h}`:`row-cols-${c}-${h}`)});const l=Fe(ge(t,r?"gx-0":null,"row",a),n);return z.createElement(i,je({},s,{className:l}))}cr.propTypes=zK;cr.defaultProps=UK;const VK=["className","cssModule","widths","tag"],zI=["xs","sm","md","lg","xl","xxl"],zk=S.oneOfType([S.number,S.string]),El=S.oneOfType([S.bool,S.number,S.string,S.shape({size:S.oneOfType([S.bool,S.number,S.string]),order:zk,offset:zk})]),HK={tag:Pe,xs:El,sm:El,md:El,lg:El,xl:El,xxl:El,className:S.string,cssModule:S.object,widths:S.array},WK={tag:"div",widths:zI},Uk=(e,t,n)=>n===!0||n===""?e?"col":`col-${t}`:n==="auto"?e?"col-auto":`col-${t}-auto`:e?`col-${n}`:`col-${t}-${n}`,YK=(e,t,n=zI)=>{const r=e,i=[];return n.forEach((o,s)=>{let a=r[o];if(delete r[o],!a&&a!=="")return;const l=!s;if(Ig(a)){const c=l?"-":`-${o}-`,f=Uk(l,o,a.size);i.push(Fe(ge({[f]:a.size||a.size==="",[`order${c}${a.order}`]:a.order||a.order===0,[`offset${c}${a.offset}`]:a.offset||a.offset===0}),t))}else{const c=Uk(l,o,a);i.push(c)}}),{colClasses:i,modifiedAttributes:r}};function _C(e){const{className:t,cssModule:n,widths:r,tag:i}=e,o=Ze(e,VK);let{modifiedAttributes:s,colClasses:a}=YK(o,n,r);a.length||a.push("col");const l=Fe(ge(t,a),n);return z.createElement(i,je({},s,{className:l}))}_C.propTypes=HK;_C.defaultProps=WK;const qK=["expand","className","cssModule","light","dark","fixed","sticky","color","container","tag","children"],GK={children:S.node,className:S.string,color:S.string,container:S.oneOfType([S.bool,S.string]),cssModule:S.object,dark:S.bool,expand:S.oneOfType([S.bool,S.string]),fixed:S.string,full:S.bool,light:S.bool,role:S.string,sticky:S.string,tag:Pe},ZK={tag:"nav",expand:!1,container:"fluid"},KK=e=>e===!1?!1:e===!0||e==="xs"?"navbar-expand":`navbar-expand-${e}`;function bC(e){const{expand:t,className:n,cssModule:r,light:i,dark:o,fixed:s,sticky:a,color:l,container:c,tag:f,children:h}=e,p=Ze(e,qK),m=Fe(ge(n,"navbar",KK(t),{"navbar-light":i,"navbar-dark":o,[`bg-${l}`]:l,[`fixed-${s}`]:s,[`sticky-${a}`]:a}),r),g=c&&c===!0?"container":`container-${c}`;return z.createElement(f,je({},p,{className:m}),c?z.createElement("div",{className:g},h):h)}bC.propTypes=GK;bC.defaultProps=ZK;const XK=["className","cssModule","tag"],QK={className:S.string,cssModule:S.object,tag:Pe},JK={tag:"a"};function wC(e){const{className:t,cssModule:n,tag:r}=e,i=Ze(e,XK),o=Fe(ge(t,"navbar-brand"),n);return z.createElement(r,je({},i,{className:o}))}wC.propTypes=QK;wC.defaultProps=JK;S.string,S.object,S.bool;const eX=["className","cssModule","children","tag"],tX={className:S.string,cssModule:S.object,tag:Pe,type:S.string,children:S.node},nX={tag:"button",type:"button"};function xC(e){const{className:t,cssModule:n,children:r,tag:i}=e,o=Ze(e,eX),s=Fe(ge(t,"navbar-toggler"),n);return z.createElement(i,je({"aria-label":"Toggle navigation"},o,{className:s}),r||z.createElement("span",{className:Fe("navbar-toggler-icon",n)}))}xC.propTypes=tX;xC.defaultProps=nX;const rX=["className","cssModule","tabs","pills","vertical","horizontal","justified","fill","navbar","card","tag"],iX={card:S.bool,className:S.string,cssModule:S.object,fill:S.bool,horizontal:S.oneOf(["center","end"]),justified:S.bool,navbar:S.bool,pills:S.bool,tabs:S.bool,tag:Pe,vertical:S.oneOfType([S.bool,S.string])},oX={tag:"ul",vertical:!1},sX=e=>e===!1?!1:e===!0||e==="xs"?"flex-column":`flex-${e}-column`;function Zy(e){const{className:t,cssModule:n,tabs:r,pills:i,vertical:o,horizontal:s,justified:a,fill:l,navbar:c,card:f,tag:h}=e,p=Ze(e,rX),m=Fe(ge(t,c?"navbar-nav":"nav",s?`justify-content-${s}`:!1,sX(o),{"nav-tabs":r,"card-header-tabs":f&&r,"nav-pills":i,"card-header-pills":f&&i,"nav-justified":a,"nav-fill":l}),n);return z.createElement(h,je({},p,{className:m}))}Zy.propTypes=iX;Zy.defaultProps=oX;const aX=["className","cssModule","active","tag"],lX={active:S.bool,className:S.string,cssModule:S.object,tag:Pe},cX={tag:"li"};function SC(e){const{className:t,cssModule:n,active:r,tag:i}=e,o=Ze(e,aX),s=Fe(ge(t,"nav-item",r?"active":!1),n);return z.createElement(i,je({},o,{className:s}))}SC.propTypes=lX;SC.defaultProps=cX;const uX=["className","cssModule","active","tag","innerRef"],fX={active:S.bool,className:S.string,cssModule:S.object,disabled:S.bool,href:S.any,innerRef:S.oneOfType([S.object,S.func,S.string]),onClick:S.func,tag:Pe},dX={tag:"a"};class CC extends z.Component{constructor(t){super(t),this.onClick=this.onClick.bind(this)}onClick(t){if(this.props.disabled){t.preventDefault();return}this.props.href==="#"&&t.preventDefault(),this.props.onClick&&this.props.onClick(t)}render(){let t=this.props,{className:n,cssModule:r,active:i,tag:o,innerRef:s}=t,a=Ze(t,uX);const l=Fe(ge(n,"nav-link",{disabled:a.disabled,active:i}),r);return z.createElement(o,je({},a,{ref:s,onClick:this.onClick,className:l}))}}CC.propTypes=fX;CC.defaultProps=dX;var UI=CC;S.string,S.node,S.string,S.object,S.string;S.bool,S.string,S.object;const hX=["className","cssModule","variant","innerRef"],pX={active:S.bool,"aria-label":S.string,onClick:S.func,variant:S.oneOf(["white"]),className:S.string,cssModule:S.object,innerRef:S.oneOfType([S.object,S.string,S.func])},mX={"aria-label":"close"};function EC(e){const{className:t,cssModule:n,variant:r,innerRef:i}=e,o=Ze(e,hX),s=Fe(ge(t,"btn-close",r&&`btn-close-${r}`));return z.createElement("button",je({ref:i,type:"button",className:s},o))}EC.propTypes=pX;EC.defaultProps=mX;const gX=["active","aria-label","block","className","close","cssModule","color","outline","size","tag","innerRef"],vX={active:S.bool,"aria-label":S.string,block:S.bool,children:S.node,className:S.string,cssModule:S.object,close:S.bool,color:S.string,disabled:S.bool,innerRef:S.oneOfType([S.object,S.func,S.string]),onClick:S.func,outline:S.bool,size:S.string,tag:Pe},yX={color:"secondary",tag:"button"};function gt(e){const t=H.useCallback(x=>{if(e.disabled){x.preventDefault();return}if(e.onClick)return e.onClick(x)},[e.onClick,e.disabled]);let{active:n,"aria-label":r,block:i,className:o,close:s,cssModule:a,color:l,outline:c,size:f,tag:h,innerRef:p}=e,m=Ze(e,gX);if(s)return z.createElement(EC,m);const g=`btn${c?"-outline":""}-${l}`,_=Fe(ge(o,"btn",g,f?`btn-${f}`:!1,i?"d-block w-100":!1,{active:n,disabled:e.disabled}),a);return m.href&&h==="button"&&(h="a"),z.createElement(h,je({type:h==="button"&&m.onClick?"button":void 0},m,{className:_,ref:p,onClick:t,"aria-label":r}))}gt.propTypes=vX;gt.defaultProps=yX;S.func,S.func,S.func,S.bool,S.string,S.object;const rd=z.createContext({}),VI=z.createContext({}),_X=["className","cssModule","direction","isOpen","group","size","nav","setActiveFromChild","active","tag","menuRole"],bX={a11y:S.bool,disabled:S.bool,direction:S.oneOf(["up","down","start","end","left","right"]),group:S.bool,isOpen:S.bool,nav:S.bool,active:S.bool,size:S.string,tag:Pe,toggle:S.func,children:S.node,className:S.string,cssModule:S.object,dropup:S.bool,inNavbar:S.bool,setActiveFromChild:S.bool,menuRole:S.oneOf(["listbox","menu"])},wX={a11y:!0,isOpen:!1,direction:"down",nav:!1,active:!1,inNavbar:!1,setActiveFromChild:!1},xX=[yt.space,yt.enter,yt.up,yt.down,yt.end,yt.home];class Ky extends z.Component{constructor(t){super(t),this.addEvents=this.addEvents.bind(this),this.handleDocumentClick=this.handleDocumentClick.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.removeEvents=this.removeEvents.bind(this),this.toggle=this.toggle.bind(this),this.handleMenuRef=this.handleMenuRef.bind(this),this.handleToggleRef=this.handleToggleRef.bind(this),this.containerRef=z.createRef(),this.menuRef=z.createRef(),this.toggleRef=z.createRef()}componentDidMount(){this.handleProps()}componentDidUpdate(t){this.props.isOpen!==t.isOpen&&this.handleProps()}componentWillUnmount(){this.removeEvents()}handleMenuRef(t){this.menuRef.current=t}handleToggleRef(t){this.toggleRef.current=t}handleDocumentClick(t){if(t&&(t.which===3||t.type==="keyup"&&t.which!==yt.tab))return;const n=this.getContainer(),r=this.getMenu(),i=this.getToggle(),o=t.target===i,s=r&&r.contains(t.target)&&r!==t.target;let a=!1;n&&(a=n.classList.contains("input-group")&&n.classList.contains("dropdown")&&t.target.tagName==="INPUT"),!((o&&!a||s)&&(t.type!=="keyup"||t.which===yt.tab))&&this.toggle(t)}handleKeyDown(t){const n=t.target.getAttribute("role")==="menuitem"||t.target.getAttribute("role")==="option",r=this.getMenuCtrl()===t.target,i=yt.tab===t.which;if(!(/input|textarea/i.test(t.target.tagName)||i&&!this.props.a11y||i&&!(n||r))&&((xX.indexOf(t.which)!==-1||t.which>=48&&t.which<=90)&&t.preventDefault(),!this.props.disabled&&(r&&([yt.space,yt.enter,yt.up,yt.down].indexOf(t.which)>-1?(this.props.isOpen||this.toggle(t),setTimeout(()=>this.getMenuItems()[0].focus())):this.props.isOpen&&i?(t.preventDefault(),this.getMenuItems()[0].focus()):this.props.isOpen&&t.which===yt.esc&&this.toggle(t)),this.props.isOpen&&n))){if([yt.tab,yt.esc].indexOf(t.which)>-1)this.toggle(t),this.getMenuCtrl().focus();else if([yt.space,yt.enter].indexOf(t.which)>-1)t.target.click(),this.getMenuCtrl().focus();else if([yt.down,yt.up].indexOf(t.which)>-1||[yt.n,yt.p].indexOf(t.which)>-1&&t.ctrlKey){const o=this.getMenuItems();let s=o.indexOf(t.target);yt.up===t.which||yt.p===t.which&&t.ctrlKey?s=s!==0?s-1:o.length-1:(yt.down===t.which||yt.n===t.which&&t.ctrlKey)&&(s=s===o.length-1?0:s+1),o[s].focus()}else if(yt.end===t.which){const o=this.getMenuItems();o[o.length-1].focus()}else if(yt.home===t.which)this.getMenuItems()[0].focus();else if(t.which>=48&&t.which<=90){const o=this.getMenuItems(),s=String.fromCharCode(t.which).toLowerCase();for(let a=0;adocument.addEventListener(t,this.handleDocumentClick,!0))}removeEvents(){["click","touchstart","keyup"].forEach(t=>document.removeEventListener(t,this.handleDocumentClick,!0))}toggle(t){return this.props.disabled?t&&t.preventDefault():this.props.toggle(t)}render(){const t=Sr(this.props,["toggle","disabled","inNavbar","a11y"]),{className:n,cssModule:r,direction:i,isOpen:o,group:s,size:a,nav:l,setActiveFromChild:c,active:f,tag:h,menuRole:p}=t,m=Ze(t,_X),g=h||(l?"li":"div");let _=!1;c&&z.Children.map(this.props.children[1].props.children,v=>{v&&v.props.active&&(_=!0)});const x=Fe(ge(n,l&&f?"active":!1,c&&_?"active":!1,{"btn-group":s,[`btn-group-${a}`]:!!a,dropdown:!s,dropup:i==="up",dropstart:i==="start"||i==="left",dropend:i==="end"||i==="right",show:o,"nav-item":l}),r);return this.context.insideInputGroup?z.createElement(rd.Provider,{value:this.getContextValue()},z.createElement(Ek,null,z.Children.map(this.props.children,v=>z.cloneElement(v,{onKeyDown:this.handleKeyDown})))):z.createElement(rd.Provider,{value:this.getContextValue()},z.createElement(Ek,null,z.createElement(g,je({},m,{[typeof g=="string"?"ref":"innerRef"]:this.containerRef,onKeyDown:this.handleKeyDown,className:x}))))}}Ky.propTypes=bX;Ky.defaultProps=wX;Ky.contextType=VI;var Kc=Ky;const SX={children:S.node};function Xy(e){return z.createElement(Kc,je({group:!0},e))}Xy.propTypes=SX;S.string,S.string,S.object,S.string,S.string,S.bool;S.string,S.string,S.object,S.string;const CX=["className","cssModule","divider","tag","header","active","text"],EX={children:S.node,active:S.bool,disabled:S.bool,divider:S.bool,tag:Pe,header:S.bool,onClick:S.func,className:S.string,cssModule:S.object,toggle:S.bool,text:S.bool},TX={tag:"button",toggle:!0};class Qy extends z.Component{constructor(t){super(t),this.onClick=this.onClick.bind(this),this.getTabIndex=this.getTabIndex.bind(this)}onClick(t){const{disabled:n,header:r,divider:i,text:o}=this.props;if(n||r||i||o){t.preventDefault();return}this.props.onClick&&this.props.onClick(t),this.props.toggle&&this.context.toggle(t)}getRole(){return this.context.menuRole==="listbox"?"option":"menuitem"}getTabIndex(){const{disabled:t,header:n,divider:r,text:i}=this.props;return t||n||r||i?"-1":"0"}render(){const t=this.getTabIndex(),n=t>-1?this.getRole():void 0;let r=Sr(this.props,["toggle"]),{className:i,cssModule:o,divider:s,tag:a,header:l,active:c,text:f}=r,h=Ze(r,CX);const p=Fe(ge(i,{disabled:h.disabled,"dropdown-item":!s&&!l&&!f,active:c,"dropdown-header":l,"dropdown-divider":s,"dropdown-item-text":f}),o);return a==="button"&&(l?a="h6":s?a="div":h.href?a="a":f&&(a="span")),z.createElement(a,je({type:a==="button"&&(h.onClick||this.props.toggle)?"button":void 0},h,{tabIndex:t,role:n,className:p,onClick:this.onClick}))}}Qy.propTypes=EX;Qy.defaultProps=TX;Qy.contextType=rd;var Ve=Qy;const OX=["className","cssModule","dark","end","right","tag","flip","modifiers","persist","strategy","container","updateOnSelect"],PX={tag:Pe,children:S.node.isRequired,dark:S.bool,end:S.bool,flip:S.bool,modifiers:S.array,className:S.string,cssModule:S.object,style:S.object,persist:S.bool,strategy:S.string,container:Ds,updateOnSelect:S.bool,right:FI(S.bool,'Please use "end" instead.')},kX={tag:"div",flip:!0,modifiers:[]},MX={up:"top",left:"left",right:"right",start:"left",end:"right",down:"bottom"};class Jy extends z.Component{getRole(){return this.context.menuRole==="listbox"?"listbox":"menu"}render(){const t=this.props,{className:n,cssModule:r,dark:i,end:o,right:s,tag:a,flip:l,modifiers:c,persist:f,strategy:h,container:p,updateOnSelect:m}=t,g=Ze(t,OX),_=Fe(ge(n,"dropdown-menu",{"dropdown-menu-dark":i,"dropdown-menu-end":o||s,show:this.context.isOpen}),r),x=a;if(f||this.context.isOpen&&!this.context.inNavbar){const E=`${MX[this.context.direction]||"bottom"}-${o||s?"end":"start"}`,P=[...c,{name:"flip",enabled:!!l}],k=z.createElement(NI,{placement:E,modifiers:P,strategy:h},({ref:N,style:A,placement:V,update:I})=>{let Y=Ye(Ye({},this.props.style),A);const q=X=>{N(X);const{onMenuRef:Z}=this.context;Z&&Z(X)};return z.createElement(x,je({tabIndex:"-1",role:this.getRole(),ref:q},g,{style:Y,"aria-hidden":!this.context.isOpen,className:_,"data-popper-placement":V,onClick:()=>m&&I()}))});return p?La.createPortal(k,Mc(p)):k}const{onMenuRef:v}=this.context;return z.createElement(x,je({tabIndex:"-1",role:this.getRole()},g,{ref:v,"aria-hidden":!this.context.isOpen,className:_,"data-popper-placement":g.placement}))}}Jy.propTypes=PX;Jy.defaultProps=kX;Jy.contextType=rd;var al=Jy;const RX=["className","color","cssModule","caret","split","nav","tag","innerRef"],NX={caret:S.bool,color:S.string,children:S.node,className:S.string,cssModule:S.object,disabled:S.bool,onClick:S.func,"aria-haspopup":S.bool,split:S.bool,tag:Pe,nav:S.bool,innerRef:S.oneOfType([S.object,S.string,S.func])},LX={color:"secondary","aria-haspopup":!0};class e_ extends z.Component{constructor(t){super(t),this.onClick=this.onClick.bind(this)}onClick(t){if(this.props.disabled||this.context.disabled){t.preventDefault();return}this.props.nav&&!this.props.tag&&t.preventDefault(),this.props.onClick&&this.props.onClick(t),this.context.toggle(t)}getRole(){return this.context.menuRole||this.props["aria-haspopup"]}render(){const t=this.props,{className:n,color:r,cssModule:i,caret:o,split:s,nav:a,tag:l,innerRef:c}=t,f=Ze(t,RX),h=f["aria-label"]||"Toggle Dropdown",p=Fe(ge(n,{"dropdown-toggle":o||s,"dropdown-toggle-split":s,"nav-link":a}),i),m=typeof f.children<"u"?f.children:z.createElement("span",{className:"visually-hidden"},h);let g;return a&&!l?(g="a",f.href="#"):l?g=l:(g=gt,f.color=r,f.cssModule=i),this.context.inNavbar?z.createElement(g,je({},f,{className:p,onClick:this.onClick,ref:this.context.onToggleRef,"aria-expanded":this.context.isOpen,"aria-haspopup":this.getRole(),children:m})):z.createElement(TK,{innerRef:c},({ref:_})=>{const x=v=>{_(v);const{onToggleRef:b}=this.context;b&&b(v)};return z.createElement(g,je({},f,{[typeof g=="string"?"ref":"innerRef"]:x,className:p,onClick:this.onClick,"aria-expanded":this.context.isOpen,"aria-haspopup":this.getRole(),children:m}))})}}e_.propTypes=NX;e_.defaultProps=LX;e_.contextType=rd;var Xc=e_;const DX=["tag","baseClass","baseClassActive","className","cssModule","children","innerRef"],AX=Ye(Ye({},Bo.propTypes),{},{children:S.oneOfType([S.arrayOf(S.node),S.node]),tag:Pe,baseClass:S.string,baseClassActive:S.string,className:S.string,cssModule:S.object,innerRef:S.oneOfType([S.object,S.string,S.func])}),IX=Ye(Ye({},Bo.defaultProps),{},{tag:"div",baseClass:"fade",baseClassActive:"show",timeout:Za.Fade,appear:!0,enter:!0,exit:!0,in:!0});function Xt(e){const{tag:t,baseClass:n,baseClassActive:r,className:i,cssModule:o,children:s,innerRef:a}=e,l=Ze(e,DX),c=II(l,Ag),f=Sr(l,Ag);return z.createElement(Bo,c,h=>{const m=Fe(ge(i,n,h==="entered"&&r),o);return z.createElement(t,je({className:m},f,{ref:a}),s)})}Xt.propTypes=AX;Xt.defaultProps=IX;z.createContext({});S.node,S.string,S.object,S.bool,S.oneOfType([S.object,S.string,S.func]),S.oneOfType([S.array,S.string]).isRequired,S.func.isRequired;S.string,S.object,S.oneOfType([S.object,S.string,S.func]),S.node,S.oneOfType([S.array,S.string]),S.bool;S.node,S.string,S.object,S.oneOfType([S.object,S.string,S.func]),S.string.isRequired;S.node,S.string,S.object,S.oneOfType([S.object,S.string,S.func]);const FX=["tag","horizontal","isOpen","className","navbar","cssModule","children","innerRef"],$X=Ye(Ye({},Bo.propTypes),{},{horizontal:S.bool,isOpen:S.bool,children:S.oneOfType([S.arrayOf(S.node),S.node]),tag:Pe,className:S.node,navbar:S.bool,cssModule:S.object,innerRef:S.shape({current:S.object})}),jX=Ye(Ye({},Bo.defaultProps),{},{horizontal:!1,isOpen:!1,appear:!1,enter:!0,exit:!0,tag:"div",timeout:Za.Collapse}),BX={[go.ENTERING]:"collapsing",[go.ENTERED]:"collapse show",[go.EXITING]:"collapsing",[go.EXITED]:"collapse"};function zX(e){return BX[e]||"collapse"}class TC extends H.Component{constructor(t){super(t),this.state={dimension:null},this.nodeRef=t.innerRef||z.createRef(),["onEntering","onEntered","onExit","onExiting","onExited"].forEach(n=>{this[n]=this[n].bind(this)})}onEntering(t,n){const r=this.getNode();this.setState({dimension:this.getDimension(r)}),this.props.onEntering(r,n)}onEntered(t,n){const r=this.getNode();this.setState({dimension:null}),this.props.onEntered(r,n)}onExit(){const t=this.getNode();this.setState({dimension:this.getDimension(t)}),this.props.onExit(t)}onExiting(){const t=this.getNode();this.getDimension(t),this.setState({dimension:0}),this.props.onExiting(t)}onExited(){const t=this.getNode();this.setState({dimension:null}),this.props.onExited(t)}getNode(){return this.nodeRef.current}getDimension(t){return this.props.horizontal?t.scrollWidth:t.scrollHeight}render(){const t=this.props,{tag:n,horizontal:r,isOpen:i,className:o,navbar:s,cssModule:a,children:l,innerRef:c}=t,f=Ze(t,FX),{dimension:h}=this.state,p=II(f,Ag),m=Sr(f,Ag);return z.createElement(Bo,je({},p,{in:i,nodeRef:this.nodeRef,onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}),g=>{let _=zX(g);const x=Fe(ge(o,r&&"collapse-horizontal",_,s&&"navbar-collapse"),a),v=h===null?null:{[r?"width":"height"]:h};return z.createElement(n,je({},m,{style:Ye(Ye({},m.style),v),className:x,ref:this.nodeRef}),l)})}}TC.propTypes=$X;TC.defaultProps=jX;var HI=TC;S.string.isRequired,S.string,S.node,S.object,S.oneOfType([S.object,S.string,S.func]);S.node,S.string,S.string,S.object,S.oneOfType([S.object,S.func,S.string]),S.bool;const UX=["className","cssModule","color","body","inverse","outline","tag","innerRef"],VX={body:S.bool,className:S.string,color:S.string,cssModule:S.object,innerRef:S.oneOfType([S.object,S.string,S.func]),inverse:S.bool,outline:S.bool,tag:Pe},HX={tag:"div"};function xr(e){const{className:t,cssModule:n,color:r,body:i,inverse:o,outline:s,tag:a,innerRef:l}=e,c=Ze(e,UX),f=Fe(ge(t,"card",o?"text-white":!1,i?"card-body":!1,r?`${s?"border":"bg"}-${r}`:!1),n);return z.createElement(a,je({},c,{className:f,ref:l}))}xr.propTypes=VX;xr.defaultProps=HX;S.string,S.object;S.string,S.object;S.string,S.object;const WX=["className","cssModule","innerRef","tag"],YX={className:S.string,cssModule:S.object,innerRef:S.oneOfType([S.object,S.string,S.func]),tag:Pe},qX={tag:"div"};function Ka(e){const{className:t,cssModule:n,innerRef:r,tag:i}=e,o=Ze(e,WX),s=Fe(ge(t,"card-body"),n);return z.createElement(i,je({},o,{className:s,ref:r}))}Ka.propTypes=YX;Ka.defaultProps=qX;S.oneOfType([S.object,S.func,S.string]),S.string,S.object;const GX=["className","cssModule","tag"],ZX={className:S.string,cssModule:S.object,tag:Pe},KX={tag:"div"};function OC(e){const{className:t,cssModule:n,tag:r}=e,i=Ze(e,GX),o=Fe(ge(t,"card-footer"),n);return z.createElement(r,je({},i,{className:o}))}OC.propTypes=ZX;OC.defaultProps=KX;const XX=["className","cssModule","tag"],QX={className:S.string,cssModule:S.object,tag:Pe},JX={tag:"div"};function Xa(e){const{className:t,cssModule:n,tag:r}=e,i=Ze(e,XX),o=Fe(ge(t,"card-header"),n);return z.createElement(r,je({},i,{className:o}))}Xa.propTypes=QX;Xa.defaultProps=JX;S.bool,S.string,S.object,S.bool;S.string,S.object;const Jp=z.createContext({}),eQ=["in","children","cssModule","slide","tag","className"];class t_ extends z.Component{constructor(t){super(t),this.state={startAnimation:!1},this.onEnter=this.onEnter.bind(this),this.onEntering=this.onEntering.bind(this),this.onExit=this.onExit.bind(this),this.onExiting=this.onExiting.bind(this),this.onExited=this.onExited.bind(this)}onEnter(t,n){this.setState({startAnimation:!1}),this.props.onEnter(t,n)}onEntering(t,n){const{offsetHeight:r}=t;return this.setState({startAnimation:!0}),this.props.onEntering(t,n),r}onExit(t){this.setState({startAnimation:!1}),this.props.onExit(t)}onExiting(t){this.setState({startAnimation:!0}),t.dispatchEvent(new CustomEvent("slide.bs.carousel")),this.props.onExiting(t)}onExited(t){t.dispatchEvent(new CustomEvent("slid.bs.carousel")),this.props.onExited(t)}render(){const t=this.props,{in:n,children:r,cssModule:i,slide:o,tag:s,className:a}=t,l=Ze(t,eQ);return z.createElement(Bo,je({},l,{enter:o,exit:o,in:n,onEnter:this.onEnter,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}),c=>{const{direction:f}=this.context,h=c===go.ENTERED||c===go.EXITING,p=(c===go.ENTERING||c===go.EXITING)&&this.state.startAnimation&&(f==="end"?"carousel-item-start":"carousel-item-end"),m=c===go.ENTERING&&(f==="end"?"carousel-item-next":"carousel-item-prev"),g=Fe(ge(a,"carousel-item",h&&"active",p,m),i);return z.createElement(s,{className:g},r)})}}t_.propTypes=Ye(Ye({},Bo.propTypes),{},{tag:Pe,in:S.bool,cssModule:S.object,children:S.node,slide:S.bool,className:S.string});t_.defaultProps=Ye(Ye({},Bo.defaultProps),{},{tag:"div",timeout:Za.Carousel,slide:!0});t_.contextType=Jp;var WI=t_;const tQ=40,YI={activeIndex:S.number,next:S.func.isRequired,previous:S.func.isRequired,keyboard:S.bool,pause:S.oneOf(["hover",!1]),ride:S.oneOf(["carousel"]),interval:S.oneOfType([S.number,S.string,S.bool]),children:S.array,mouseEnter:S.func,mouseLeave:S.func,slide:S.bool,dark:S.bool,fade:S.bool,cssModule:S.object,className:S.string,enableTouch:S.bool},nQ=Object.keys(YI),rQ={interval:5e3,pause:"hover",keyboard:!0,slide:!0,enableTouch:!0,fade:!1};class PC extends z.Component{constructor(t){super(t),this.handleKeyPress=this.handleKeyPress.bind(this),this.renderItems=this.renderItems.bind(this),this.hoverStart=this.hoverStart.bind(this),this.hoverEnd=this.hoverEnd.bind(this),this.handleTouchStart=this.handleTouchStart.bind(this),this.handleTouchEnd=this.handleTouchEnd.bind(this),this.touchStartX=0,this.touchStartY=0,this.state={activeIndex:this.props.activeIndex,direction:"end",indicatorClicked:!1}}componentDidMount(){this.props.ride==="carousel"&&this.setInterval(),document.addEventListener("keyup",this.handleKeyPress)}static getDerivedStateFromProps(t,n){let r=null,{activeIndex:i,direction:o,indicatorClicked:s}=n;return t.activeIndex!==i&&(t.activeIndex===i+1?o="end":t.activeIndex===i-1?o="start":t.activeIndex{this.props.next()},parseInt(this.props.interval,10)))}clearInterval(){clearInterval(this.cycleInterval)}hoverStart(...t){this.props.pause==="hover"&&this.clearInterval(),this.props.mouseEnter&&this.props.mouseEnter(...t)}hoverEnd(...t){this.props.pause==="hover"&&this.setInterval(),this.props.mouseLeave&&this.props.mouseLeave(...t)}renderItems(t,n){const{slide:r}=this.props;return z.createElement("div",{className:n},t.map((i,o)=>{const s=o===this.state.activeIndex;return z.cloneElement(i,{in:s,slide:r})}))}render(){const{cssModule:t,slide:n,className:r,dark:i,fade:o}=this.props,s=Sr(this.props,nQ),a=Fe(ge(r,"carousel",o&&"carousel-fade",n&&"slide",i&&"carousel-dark"),t),l=Fe(ge("carousel-inner"),t),c=this.props.children.filter(v=>v!=null&&typeof v!="boolean");if(c.every(v=>v.type===WI))return z.createElement("div",je({},s,{className:a,onMouseEnter:this.hoverStart,onMouseLeave:this.hoverEnd}),z.createElement(Jp.Provider,{value:this.getContextValue()},this.renderItems(c,l)));if(c[0]instanceof Array){const v=c[0],b=c[1],w=c[2];return z.createElement("div",je({},s,{className:a,onMouseEnter:this.hoverStart,onMouseLeave:this.hoverEnd}),z.createElement(Jp.Provider,{value:this.getContextValue()},this.renderItems(v,l),b,w))}const h=c[0],p=v=>{typeof h.props.onClickHandler=="function"&&this.setState({indicatorClicked:!0},()=>h.props.onClickHandler(v))},m=z.cloneElement(h,{onClickHandler:p}),g=c[1],_=c[2],x=c[3];return z.createElement("div",je({},s,{className:a,onMouseEnter:this.hoverStart,onMouseLeave:this.hoverEnd,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),z.createElement(Jp.Provider,{value:this.getContextValue()},m,this.renderItems(g,l),_,x))}}PC.propTypes=YI;PC.defaultProps=rQ;var iQ=PC;const oQ=["direction","onClickHandler","cssModule","directionText","className"];function ww(e){const{direction:t,onClickHandler:n,cssModule:r,directionText:i,className:o}=e,s=Ze(e,oQ),a=Fe(ge(o,`carousel-control-${t}`),r),l=Fe(ge(`carousel-control-${t}-icon`),r),c=Fe(ge("visually-hidden"),r);return z.createElement("a",je({},s,{className:a,style:{cursor:"pointer"},role:"button",tabIndex:"0",onClick:f=>{f.preventDefault(),n()}}),z.createElement("span",{className:l,"aria-hidden":"true"}),z.createElement("span",{className:c},i||t))}ww.propTypes={direction:S.oneOf(["prev","next"]).isRequired,onClickHandler:S.func.isRequired,cssModule:S.object,directionText:S.string,className:S.string};const sQ=["items","activeIndex","cssModule","onClickHandler","className"];function qI(e){const{items:t,activeIndex:n,cssModule:r,onClickHandler:i,className:o}=e,s=Ze(e,sQ),a=Fe(ge(o,"carousel-indicators"),r),l=t.map((c,f)=>{const h=Fe(ge({active:n===f}),r);return z.createElement("button",{"aria-label":c.caption,"data-bs-target":!0,type:"button",key:`${c.key||Object.values(c).join("")}`,onClick:p=>{p.preventDefault(),i(f)},className:h})});return z.createElement("div",je({className:a},s),l)}qI.propTypes={activeIndex:S.number.isRequired,className:S.string,cssModule:S.object,items:S.array.isRequired,onClickHandler:S.func.isRequired};function GI(e){const{captionHeader:t,captionText:n,cssModule:r,className:i}=e,o=Fe(ge(i,"carousel-caption","d-none","d-md-block"),r);return z.createElement("div",{className:o},z.createElement("h3",null,t),z.createElement("p",null,n))}GI.propTypes={captionHeader:S.node,captionText:S.node.isRequired,className:S.string,cssModule:S.object};const aQ=["defaultActiveIndex","autoPlay","indicators","controls","items","goToIndex"],lQ={items:S.array.isRequired,indicators:S.bool,controls:S.bool,autoPlay:S.bool,defaultActiveIndex:S.number,activeIndex:S.number,next:S.func,previous:S.func,goToIndex:S.func};class ZI extends H.Component{constructor(t){super(t),this.animating=!1,this.state={activeIndex:t.defaultActiveIndex||0},this.next=this.next.bind(this),this.previous=this.previous.bind(this),this.goToIndex=this.goToIndex.bind(this),this.onExiting=this.onExiting.bind(this),this.onExited=this.onExited.bind(this)}onExiting(){this.animating=!0}onExited(){this.animating=!1}next(){this.animating||this.setState(t=>({activeIndex:t.activeIndex===this.props.items.length-1?0:t.activeIndex+1}))}previous(){this.animating||this.setState(t=>({activeIndex:t.activeIndex===0?this.props.items.length-1:t.activeIndex-1}))}goToIndex(t){this.animating||this.setState({activeIndex:t})}render(){const t=this.props,{defaultActiveIndex:n,autoPlay:r,indicators:i,controls:o,items:s,goToIndex:a}=t,l=Ze(t,aQ),{activeIndex:c}=this.state,f=s.map(h=>{const p=h.key||h.src;return z.createElement(WI,{onExiting:this.onExiting,onExited:this.onExited,key:p},z.createElement("img",{className:"d-block w-100",src:h.src,alt:h.altText}),z.createElement(GI,{captionText:h.caption,captionHeader:h.header||h.caption}))});return z.createElement(iQ,je({activeIndex:c,next:this.next,previous:this.previous,ride:r?"carousel":void 0},l),i&&z.createElement(qI,{items:s,activeIndex:l.activeIndex||c,onClickHandler:a||this.goToIndex}),f,o&&z.createElement(ww,{direction:"prev",directionText:"Previous",onClickHandler:l.previous||this.previous}),o&&z.createElement(ww,{direction:"next",directionText:"Next",onClickHandler:l.next||this.next}))}}ZI.propTypes=lQ;ZI.defaultProps={controls:!0,indicators:!0,autoPlay:!0};S.string,S.object;const cQ=["className","cssModule","tag"],uQ={className:S.string,cssModule:S.object,tag:Pe},fQ={tag:"p"};function kC(e){const{className:t,cssModule:n,tag:r}=e,i=Ze(e,cQ),o=Fe(ge(t,"card-text"),n);return z.createElement(r,je({},i,{className:o}))}kC.propTypes=uQ;kC.defaultProps=fQ;const dQ=["className","cssModule","tag"],hQ={className:S.string,cssModule:S.object,tag:Pe},pQ={tag:"div"};function MC(e){const{className:t,cssModule:n,tag:r}=e,i=Ze(e,dQ),o=Fe(ge(t,"card-title"),n);return z.createElement(r,je({},i,{className:o}))}MC.propTypes=hQ;MC.defaultProps=pQ;const mQ=["cssModule","children","isOpen","flip","target","offset","fallbackPlacements","placementPrefix","arrowClassName","hideArrow","popperClassName","tag","container","modifiers","strategy","boundariesElement","onClosed","fade","transition","placement"];function gQ(){}const vQ={children:S.oneOfType([S.node,S.func]).isRequired,popperClassName:S.string,placement:S.string,placementPrefix:S.string,arrowClassName:S.string,hideArrow:S.bool,tag:Pe,isOpen:S.bool,cssModule:S.object,offset:S.arrayOf(S.number),fallbackPlacements:S.array,flip:S.bool,container:Ds,target:Ds.isRequired,modifiers:S.array,strategy:S.string,boundariesElement:S.oneOfType([S.string,vC]),onClosed:S.func,fade:S.bool,transition:S.shape(Xt.propTypes)},yQ={boundariesElement:"scrollParent",placement:"auto",hideArrow:!1,isOpen:!1,offset:[0,0],flip:!0,container:"body",modifiers:[],onClosed:gQ,fade:!0,transition:Ye({},Xt.defaultProps)};class RC extends z.Component{constructor(t){super(t),this.setTargetNode=this.setTargetNode.bind(this),this.getTargetNode=this.getTargetNode.bind(this),this.getRef=this.getRef.bind(this),this.onClosed=this.onClosed.bind(this),this.state={isOpen:t.isOpen}}static getDerivedStateFromProps(t,n){return t.isOpen&&!n.isOpen?{isOpen:t.isOpen}:null}componentDidUpdate(){this._element&&this._element.childNodes&&this._element.childNodes[0]&&this._element.childNodes[0].focus&&this._element.childNodes[0].focus()}onClosed(){this.props.onClosed(),this.setState({isOpen:!1})}getTargetNode(){return this.targetNode}getContainerNode(){return Mc(this.props.container)}getRef(t){this._element=t}setTargetNode(t){this.targetNode=typeof t=="string"?Mc(t):t}renderChildren(){const t=this.props,{cssModule:n,children:r,isOpen:i,flip:o,target:s,offset:a,fallbackPlacements:l,placementPrefix:c,arrowClassName:f,hideArrow:h,popperClassName:p,tag:m,container:g,modifiers:_,strategy:x,boundariesElement:v,onClosed:b,fade:w,transition:E,placement:P}=t,k=Ze(t,mQ),N=Fe(ge("arrow",f),n),A=Fe(ge(p,c?`${c}-auto`:""),this.props.cssModule),V=_.map(X=>X.name),Y=[...[{name:"offset",options:{offset:a}},{name:"flip",enabled:o,options:{fallbackPlacements:l}},{name:"preventOverflow",options:{boundary:v}}].filter(X=>!V.includes(X.name)),..._],q=Ye(Ye(Ye({},Xt.defaultProps),E),{},{baseClass:w?E.baseClass:"",timeout:w?E.timeout:0});return z.createElement(Xt,je({},q,k,{in:i,onExited:this.onClosed,tag:m}),z.createElement(NI,{referenceElement:this.targetNode,modifiers:Y,placement:P,strategy:x},({ref:X,style:Z,placement:J,isReferenceHidden:oe,arrowProps:ce,update:K})=>z.createElement("div",{ref:X,style:Z,className:A,"data-popper-placement":J,"data-popper-reference-hidden":oe?"true":void 0},typeof r=="function"?r({update:K}):r,!h&&z.createElement("span",{ref:ce.ref,className:N,style:ce.style}))))}render(){return this.setTargetNode(this.props.target),this.state.isOpen?this.props.container==="inline"?this.renderChildren():La.createPortal(z.createElement("div",{ref:this.getRef},this.renderChildren()),this.getContainerNode()):null}}RC.propTypes=vQ;RC.defaultProps=yQ;var _Q=RC;S.object.isRequired;Ds.isRequired;const n_={children:S.oneOfType([S.node,S.func]),placement:S.oneOf(DK),target:Ds.isRequired,container:Ds,isOpen:S.bool,disabled:S.bool,hideArrow:S.bool,boundariesElement:S.oneOfType([S.string,vC]),className:S.string,innerClassName:S.string,arrowClassName:S.string,popperClassName:S.string,cssModule:S.object,toggle:S.func,autohide:S.bool,placementPrefix:S.string,delay:S.oneOfType([S.shape({show:S.number,hide:S.number}),S.number]),modifiers:S.array,strategy:S.string,offset:S.arrayOf(S.number),innerRef:S.oneOfType([S.func,S.string,S.object]),trigger:S.string,fade:S.bool,flip:S.bool},KI={show:0,hide:50},bQ={isOpen:!1,hideArrow:!1,autohide:!1,delay:KI,toggle:function(){},trigger:"click",fade:!0};function XI(e,t){return t&&(e===t||t.contains(e))}function Vk(e,t=[]){return t&&t.length&&t.filter(n=>XI(e,n))[0]}class NC extends z.Component{constructor(t){super(t),this._targets=[],this.currentTargetElement=null,this.addTargetEvents=this.addTargetEvents.bind(this),this.handleDocumentClick=this.handleDocumentClick.bind(this),this.removeTargetEvents=this.removeTargetEvents.bind(this),this.toggle=this.toggle.bind(this),this.showWithDelay=this.showWithDelay.bind(this),this.hideWithDelay=this.hideWithDelay.bind(this),this.onMouseOverTooltipContent=this.onMouseOverTooltipContent.bind(this),this.onMouseLeaveTooltipContent=this.onMouseLeaveTooltipContent.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.onEscKeyDown=this.onEscKeyDown.bind(this),this.getRef=this.getRef.bind(this),this.state={isOpen:t.isOpen},this._isMounted=!1}componentDidMount(){this._isMounted=!0,this.updateTarget()}componentWillUnmount(){this._isMounted=!1,this.removeTargetEvents(),this._targets=null,this.clearShowTimeout(),this.clearHideTimeout()}static getDerivedStateFromProps(t,n){return t.isOpen&&!n.isOpen?{isOpen:t.isOpen}:null}handleDocumentClick(t){const n=this.props.trigger.split(" ");n.indexOf("legacy")>-1&&(this.props.isOpen||Vk(t.target,this._targets))?(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen&&!XI(t.target,this._popover)?this.hideWithDelay(t):this.props.isOpen||this.showWithDelay(t)):n.indexOf("click")>-1&&Vk(t.target,this._targets)&&(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen?this.hideWithDelay(t):this.showWithDelay(t))}onMouseOverTooltipContent(){this.props.trigger.indexOf("hover")>-1&&!this.props.autohide&&(this._hideTimeout&&this.clearHideTimeout(),this.state.isOpen&&!this.props.isOpen&&this.toggle())}onMouseLeaveTooltipContent(t){this.props.trigger.indexOf("hover")>-1&&!this.props.autohide&&(this._showTimeout&&this.clearShowTimeout(),t.persist(),this._hideTimeout=setTimeout(this.hide.bind(this,t),this.getDelay("hide")))}onEscKeyDown(t){t.key==="Escape"&&this.hide(t)}getRef(t){const{innerRef:n}=this.props;n&&(typeof n=="function"?n(t):typeof n=="object"&&(n.current=t)),this._popover=t}getDelay(t){const{delay:n}=this.props;return typeof n=="object"?isNaN(n[t])?KI[t]:n[t]:n}getCurrentTarget(t){if(!t)return null;const n=this._targets.indexOf(t);return n>=0?this._targets[n]:this.getCurrentTarget(t.parentElement)}show(t){if(!this.props.isOpen){if(this.clearShowTimeout(),this.currentTargetElement=t?t.currentTarget||this.getCurrentTarget(t.target):null,t&&t.composedPath&&typeof t.composedPath=="function"){const n=t.composedPath();this.currentTargetElement=n&&n[0]||this.currentTargetElement}this.toggle(t)}}showWithDelay(t){this._hideTimeout&&this.clearHideTimeout(),this._showTimeout=setTimeout(this.show.bind(this,t),this.getDelay("show"))}hide(t){this.props.isOpen&&(this.clearHideTimeout(),this.currentTargetElement=null,this.toggle(t))}hideWithDelay(t){this._showTimeout&&this.clearShowTimeout(),this._hideTimeout=setTimeout(this.hide.bind(this,t),this.getDelay("hide"))}clearShowTimeout(){clearTimeout(this._showTimeout),this._showTimeout=void 0}clearHideTimeout(){clearTimeout(this._hideTimeout),this._hideTimeout=void 0}addEventOnTargets(t,n,r){this._targets.forEach(i=>{i.addEventListener(t,n,r)})}removeEventOnTargets(t,n,r){this._targets.forEach(i=>{i.removeEventListener(t,n,r)})}addTargetEvents(){if(this.props.trigger){let t=this.props.trigger.split(" ");t.indexOf("manual")===-1&&((t.indexOf("click")>-1||t.indexOf("legacy")>-1)&&document.addEventListener("click",this.handleDocumentClick,!0),this._targets&&this._targets.length&&(t.indexOf("hover")>-1&&(this.addEventOnTargets("mouseover",this.showWithDelay,!0),this.addEventOnTargets("mouseout",this.hideWithDelay,!0)),t.indexOf("focus")>-1&&(this.addEventOnTargets("focusin",this.show,!0),this.addEventOnTargets("focusout",this.hide,!0)),this.addEventOnTargets("keydown",this.onEscKeyDown,!0)))}}removeTargetEvents(){this._targets&&(this.removeEventOnTargets("mouseover",this.showWithDelay,!0),this.removeEventOnTargets("mouseout",this.hideWithDelay,!0),this.removeEventOnTargets("keydown",this.onEscKeyDown,!0),this.removeEventOnTargets("focusin",this.show,!0),this.removeEventOnTargets("focusout",this.hide,!0)),document.removeEventListener("click",this.handleDocumentClick,!0)}updateTarget(){const t=Mc(this.props.target,!0);t!==this._targets&&(this.removeTargetEvents(),this._targets=t?Array.from(t):[],this.currentTargetElement=this.currentTargetElement||this._targets[0],this.addTargetEvents())}toggle(t){return this.props.disabled||!this._isMounted?t&&t.preventDefault():this.props.toggle(t)}render(){this.props.isOpen&&this.updateTarget();const t=this.currentTargetElement||this._targets[0];if(!t)return null;const{className:n,cssModule:r,innerClassName:i,isOpen:o,hideArrow:s,boundariesElement:a,placement:l,placementPrefix:c,arrowClassName:f,popperClassName:h,container:p,modifiers:m,strategy:g,offset:_,fade:x,flip:v,children:b}=this.props,w=Sr(this.props,Object.keys(n_)),E=Fe(h,r),P=Fe(i,r);return z.createElement(_Q,{className:n,target:t,isOpen:o,hideArrow:s,boundariesElement:a,placement:l,placementPrefix:c,arrowClassName:f,popperClassName:E,container:p,modifiers:m,strategy:g,offset:_,cssModule:r,fade:x,flip:v},({update:k})=>z.createElement("div",je({},w,{ref:this.getRef,className:P,role:"tooltip",onMouseOver:this.onMouseOverTooltipContent,onMouseLeave:this.onMouseLeaveTooltipContent,onKeyDown:this.onEscKeyDown}),typeof b=="function"?b({update:k}):b))}}NC.propTypes=n_;NC.defaultProps=bQ;var QI=NC;const wQ={placement:"right",placementPrefix:"bs-popover",trigger:"click",offset:[0,8]};function Id(e){const t=ge("popover","show",e.popperClassName),n=ge("popover-inner",e.innerClassName);return z.createElement(QI,je({},e,{arrowClassName:"popover-arrow",popperClassName:t,innerClassName:n}))}Id.propTypes=n_;Id.defaultProps=wQ;const xQ=["defaultOpen"];class SQ extends H.Component{constructor(t){super(t),this.state={isOpen:t.defaultOpen||!1},this.toggle=this.toggle.bind(this)}toggle(){this.setState(t=>({isOpen:!t.isOpen}))}render(){return z.createElement(Id,je({isOpen:this.state.isOpen,toggle:this.toggle},Sr(this.props,xQ)))}}SQ.propTypes=Ye({defaultOpen:S.bool},Id.propTypes);S.string,S.object;S.string,S.object;const CQ=["children","className","barClassName","cssModule","value","min","max","animated","striped","color","bar","multi","tag","style","barStyle","barAriaValueText","barAriaLabelledBy"],EQ={animated:S.bool,bar:S.bool,barAriaLabelledBy:S.string,barAriaValueText:S.string,barClassName:S.string,barStyle:S.object,children:S.node,className:S.string,cssModule:S.object,color:S.string,max:S.oneOfType([S.string,S.number]),min:S.oneOfType([S.string,S.number]),multi:S.bool,striped:S.bool,style:S.object,tag:Pe,value:S.oneOfType([S.string,S.number])},TQ={tag:"div",value:0,min:0,max:100,style:{},barStyle:{}};function LC(e){const{children:t,className:n,barClassName:r,cssModule:i,value:o,min:s,max:a,animated:l,striped:c,color:f,bar:h,multi:p,tag:m,style:g,barStyle:_,barAriaValueText:x,barAriaLabelledBy:v}=e,b=Ze(e,CQ),w=Bk(o)/Bk(a)*100,E=Fe(ge(n,"progress"),i),k={className:Fe(ge("progress-bar",h&&n||r,l?"progress-bar-animated":null,f?`bg-${f}`:null,c||l?"progress-bar-striped":null),i),style:Ye(Ye(Ye({},h?g:{}),_),{},{width:`${w}%`}),role:"progressbar","aria-valuenow":o,"aria-valuemin":s,"aria-valuemax":a,"aria-valuetext":x,"aria-labelledby":v,children:t};return h?z.createElement(m,je({},b,k)):z.createElement(m,je({},b,{style:g,className:E}),p?t:z.createElement("div",k))}LC.propTypes=EQ;LC.defaultProps=TQ;const OQ={children:S.node.isRequired,node:S.any};class JI extends z.Component{componentWillUnmount(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null}render(){return yC?(!this.props.node&&!this.defaultNode&&(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),La.createPortal(this.props.children,this.props.node||this.defaultNode)):null}}JI.propTypes=OQ;var e6=JI;function $g(){}const Hk=S.shape(Xt.propTypes),t6={autoFocus:S.bool,backdrop:S.oneOfType([S.bool,S.oneOf(["static"])]),backdropClassName:S.string,backdropTransition:Hk,centered:S.bool,children:S.node,contentClassName:S.string,className:S.string,container:Ds,cssModule:S.object,external:S.node,fade:S.bool,fullscreen:S.oneOfType([S.bool,S.oneOf(["sm","md","lg","xl"])]),innerRef:S.oneOfType([S.object,S.string,S.func]),isOpen:S.bool,keyboard:S.bool,labelledBy:S.string,modalClassName:S.string,modalTransition:Hk,onClosed:S.func,onEnter:S.func,onExit:S.func,onOpened:S.func,returnFocusAfterClose:S.bool,role:S.string,scrollable:S.bool,size:S.string,toggle:S.func,trapFocus:S.bool,unmountOnClose:S.bool,wrapClassName:S.string,zIndex:S.oneOfType([S.number,S.string])},PQ=Object.keys(t6),kQ={isOpen:!1,autoFocus:!0,centered:!1,scrollable:!1,role:"dialog",backdrop:!0,keyboard:!0,zIndex:1050,fade:!0,onOpened:$g,onClosed:$g,modalTransition:{timeout:Za.Modal},backdropTransition:{mountOnEnter:!0,timeout:Za.Fade},unmountOnClose:!0,returnFocusAfterClose:!0,container:"body",trapFocus:!1};class Er extends z.Component{constructor(t){super(t),this._element=null,this._originalBodyPadding=null,this._originalBodyOverflow=null,this.getFocusableChildren=this.getFocusableChildren.bind(this),this.handleBackdropClick=this.handleBackdropClick.bind(this),this.handleBackdropMouseDown=this.handleBackdropMouseDown.bind(this),this.handleEscape=this.handleEscape.bind(this),this.handleStaticBackdropAnimation=this.handleStaticBackdropAnimation.bind(this),this.handleTab=this.handleTab.bind(this),this.onOpened=this.onOpened.bind(this),this.onClosed=this.onClosed.bind(this),this.manageFocusAfterClose=this.manageFocusAfterClose.bind(this),this.clearBackdropAnimationTimeout=this.clearBackdropAnimationTimeout.bind(this),this.trapFocus=this.trapFocus.bind(this),this.state={isOpen:!1,showStaticBackdropAnimation:!1}}componentDidMount(){const{isOpen:t,autoFocus:n,onEnter:r}=this.props;t&&(this.init(),this.setState({isOpen:!0}),n&&this.setFocus()),r&&r(),document.addEventListener("focus",this.trapFocus,!0),this._isMounted=!0}componentDidUpdate(t,n){if(this.props.isOpen&&!t.isOpen){this.init(),this.setState({isOpen:!0});return}this.props.autoFocus&&this.state.isOpen&&!n.isOpen&&this.setFocus(),this._element&&t.zIndex!==this.props.zIndex&&(this._element.style.zIndex=this.props.zIndex)}componentWillUnmount(){this.clearBackdropAnimationTimeout(),this.props.onExit&&this.props.onExit(),this._element&&(this.destroy(),(this.props.isOpen||this.state.isOpen)&&this.close()),document.removeEventListener("focus",this.trapFocus,!0),this._isMounted=!1}handleBackdropClick(t){if(t.target===this._mouseDownElement){t.stopPropagation();const n=this._dialog?this._dialog.parentNode:null;if(n&&t.target===n&&this.props.backdrop==="static"&&this.handleStaticBackdropAnimation(),!this.props.isOpen||this.props.backdrop!==!0)return;n&&t.target===n&&this.props.toggle&&this.props.toggle(t)}}handleTab(t){if(t.which!==9||this.modalIndex{this.setState({showStaticBackdropAnimation:!1})},100)}onOpened(t,n){this.props.onOpened(),(this.props.modalTransition.onEntered||$g)(t,n)}onClosed(t){const{unmountOnClose:n}=this.props;this.props.onClosed(),(this.props.modalTransition.onExited||$g)(t),n&&this.destroy(),this.close(),this._isMounted&&this.setState({isOpen:!1})}setFocus(){this._dialog&&this._dialog.parentNode&&typeof this._dialog.parentNode.focus=="function"&&this._dialog.parentNode.focus()}getFocusableChildren(){return this._element.querySelectorAll(BI.join(", "))}getFocusedChild(){let t;const n=this.getFocusableChildren();try{t=document.activeElement}catch{t=n[0]}return t}trapFocus(t){if(!this.props.trapFocus||!this._element||this._dialog&&this._dialog.parentNode===t.target||this.modalIndex0&&(t.preventDefault(),t.stopPropagation(),n[0].focus())}init(){try{this._triggeringElement=document.activeElement}catch{this._triggeringElement=null}this._element||(this._element=document.createElement("div"),this._element.setAttribute("tabindex","-1"),this._element.style.position="relative",this._element.style.zIndex=this.props.zIndex,this._mountContainer=Mc(this.props.container),this._mountContainer.appendChild(this._element)),this._originalBodyPadding=DI(),this._originalBodyOverflow=window.getComputedStyle(document.body).overflow,AI(),Er.openCount===0&&(document.body.className=ge(document.body.className,Fe("modal-open",this.props.cssModule)),document.body.style.overflow="hidden"),this.modalIndex=Er.openCount,Er.openCount+=1}destroy(){this._element&&(this._mountContainer.removeChild(this._element),this._element=null),this.manageFocusAfterClose()}manageFocusAfterClose(){if(this._triggeringElement){const{returnFocusAfterClose:t}=this.props;this._triggeringElement.focus&&t&&this._triggeringElement.focus(),this._triggeringElement=null}}close(){if(Er.openCount<=1){const t=Fe("modal-open",this.props.cssModule),n=new RegExp(`(^| )${t}( |$)`);document.body.className=document.body.className.replace(n," ").trim(),document.body.style.overflow=this._originalBodyOverflow}this.manageFocusAfterClose(),Er.openCount=Math.max(0,Er.openCount-1),gC(this._originalBodyPadding)}clearBackdropAnimationTimeout(){this._backdropAnimationTimeout&&(clearTimeout(this._backdropAnimationTimeout),this._backdropAnimationTimeout=void 0)}renderModalDialog(){const t=Sr(this.props,PQ),n="modal-dialog";return z.createElement("div",je({},t,{className:Fe(ge(n,this.props.className,{[`modal-${this.props.size}`]:this.props.size,[`${n}-centered`]:this.props.centered,[`${n}-scrollable`]:this.props.scrollable,"modal-fullscreen":this.props.fullscreen===!0,[`modal-fullscreen-${this.props.fullscreen}-down`]:typeof this.props.fullscreen=="string"}),this.props.cssModule),role:"document",ref:r=>{this._dialog=r}}),z.createElement("div",{className:Fe(ge("modal-content",this.props.contentClassName),this.props.cssModule)},this.props.children))}render(){const{unmountOnClose:t}=this.props;if(this._element&&(this.state.isOpen||!t)){const n=!!this._element&&!this.state.isOpen&&!t;this._element.style.display=n?"none":"block";const{wrapClassName:r,modalClassName:i,backdropClassName:o,cssModule:s,isOpen:a,backdrop:l,role:c,labelledBy:f,external:h,innerRef:p}=this.props,m={onClick:this.handleBackdropClick,onMouseDown:this.handleBackdropMouseDown,onKeyUp:this.handleEscape,onKeyDown:this.handleTab,style:{display:"block"},"aria-labelledby":f,role:c,tabIndex:"-1"},g=this.props.fade,_=Ye(Ye(Ye({},Xt.defaultProps),this.props.modalTransition),{},{baseClass:g?this.props.modalTransition.baseClass:"",timeout:g?this.props.modalTransition.timeout:0}),x=Ye(Ye(Ye({},Xt.defaultProps),this.props.backdropTransition),{},{baseClass:g?this.props.backdropTransition.baseClass:"",timeout:g?this.props.backdropTransition.timeout:0}),v=l&&(g?z.createElement(Xt,je({},x,{in:a&&!!l,cssModule:s,className:Fe(ge("modal-backdrop",o),s)})):z.createElement("div",{className:Fe(ge("modal-backdrop","show",o),s)}));return z.createElement(e6,{node:this._element},z.createElement("div",{className:Fe(r)},z.createElement(Xt,je({},m,_,{in:a,onEntered:this.onOpened,onExited:this.onClosed,cssModule:s,className:Fe(ge("modal",i,this.state.showStaticBackdropAnimation&&"modal-static"),s),innerRef:p}),h,this.renderModalDialog()),v))}return null}}Er.propTypes=t6;Er.defaultProps=kQ;Er.openCount=0;var zo=Er;const MQ=["className","cssModule","children","toggle","tag","wrapTag","closeAriaLabel","close"],RQ={children:S.node,className:S.string,close:S.object,closeAriaLabel:S.string,cssModule:S.object,tag:Pe,toggle:S.func,wrapTag:Pe},NQ={tag:"h5",wrapTag:"div",closeAriaLabel:"Close"};function io(e){let t;const{className:n,cssModule:r,children:i,toggle:o,tag:s,wrapTag:a,closeAriaLabel:l,close:c}=e,f=Ze(e,MQ),h=Fe(ge(n,"modal-header"),r);return!c&&o&&(t=z.createElement("button",{type:"button",onClick:o,className:Fe("btn-close",r),"aria-label":l})),z.createElement(a,je({},f,{className:h}),z.createElement(s,{className:Fe("modal-title",r)},i),c||t)}io.propTypes=RQ;io.defaultProps=NQ;const LQ=["className","cssModule","tag"],DQ={className:S.string,cssModule:S.object,tag:Pe},AQ={tag:"div"};function ki(e){const{className:t,cssModule:n,tag:r}=e,i=Ze(e,LQ),o=Fe(ge(t,"modal-body"),n);return z.createElement(r,je({},i,{className:o}))}ki.propTypes=DQ;ki.defaultProps=AQ;const IQ=["className","cssModule","tag"],FQ={className:S.string,cssModule:S.object,tag:Pe},$Q={tag:"div"};function Zs(e){const{className:t,cssModule:n,tag:r}=e,i=Ze(e,IQ),o=Fe(ge(t,"modal-footer"),n);return z.createElement(r,je({},i,{className:o}))}Zs.propTypes=FQ;Zs.defaultProps=$Q;const jQ={placement:"top",autohide:!0,placementPrefix:"bs-tooltip",trigger:"hover focus"};function Fd(e){const t=ge("tooltip","show",e.popperClassName),n=ge("tooltip-inner",e.innerClassName);return z.createElement(QI,je({},e,{arrowClassName:"tooltip-arrow",popperClassName:t,innerClassName:n}))}Fd.propTypes=n_;Fd.defaultProps=jQ;S.bool,S.bool,S.string,S.object,S.bool,S.bool,S.oneOfType([S.func,S.string,S.object]),S.oneOfType([S.bool,S.string]),S.string,S.bool;const BQ=["className","cssModule","tag","flush","horizontal","numbered"],zQ={className:S.string,cssModule:S.object,flush:S.bool,horizontal:S.oneOfType([S.bool,S.string]),numbered:S.bool,tag:Pe},UQ={tag:"ul",horizontal:!1,numbered:!1},VQ=e=>e===!1?!1:e===!0||e==="xs"?"list-group-horizontal":`list-group-horizontal-${e}`;function DC(e){const{className:t,cssModule:n,tag:r,flush:i,horizontal:o,numbered:s}=e,a=Ze(e,BQ),l=Fe(ge(t,"list-group",i?"list-group-flush":VQ(o),{"list-group-numbered":s}),n);return z.createElement(r,je({},a,{className:l}))}DC.propTypes=zQ;DC.defaultProps=UQ;const HQ=["className","cssModule","tag","innerRef"],WQ={children:S.node,tag:Pe,innerRef:S.oneOfType([S.object,S.func,S.string]),className:S.string,cssModule:S.object},YQ={tag:"form"};class n6 extends H.Component{constructor(t){super(t),this.getRef=this.getRef.bind(this),this.submit=this.submit.bind(this)}getRef(t){this.props.innerRef&&this.props.innerRef(t),this.ref=t}submit(){this.ref&&this.ref.submit()}render(){const t=this.props,{className:n,cssModule:r,tag:i,innerRef:o}=t,s=Ze(t,HQ),a=Fe(n,r);return z.createElement(i,je({},s,{ref:o,className:a}))}}n6.propTypes=WQ;n6.defaultProps=YQ;S.node,S.string,S.object,S.bool,S.bool;const qQ=["className","cssModule","row","disabled","check","inline","floating","tag","switch"],GQ={children:S.node,row:S.bool,check:S.bool,switch:S.bool,inline:S.bool,floating:S.bool,disabled:S.bool,tag:Pe,className:S.string,cssModule:S.object},ZQ={tag:"div"};function Zr(e){const{className:t,cssModule:n,row:r,disabled:i,check:o,inline:s,floating:a,tag:l,switch:c}=e,f=Ze(e,qQ),h=o||c,p=Fe(ge(t,r?"row":!1,h?"form-check":"mb-3",c?"form-switch":!1,h&&s?"form-check-inline":!1,h&&i?"disabled":!1,a&&"form-floating"),n);return l==="fieldset"&&(f.disabled=i),z.createElement(l,je({},f,{className:p}))}Zr.propTypes=GQ;Zr.defaultProps=ZQ;S.node,S.bool,S.string,S.string,S.object;const KQ=["className","cssModule","type","bsSize","valid","invalid","tag","addon","plaintext","innerRef"],XQ={children:S.node,type:S.string,size:S.oneOfType([S.number,S.string]),bsSize:S.string,valid:S.bool,invalid:S.bool,tag:Pe,innerRef:S.oneOfType([S.object,S.func,S.string]),plaintext:S.bool,addon:S.bool,className:S.string,cssModule:S.object},QQ={type:"text"};let AC=class extends z.Component{constructor(t){super(t),this.getRef=this.getRef.bind(this),this.focus=this.focus.bind(this)}getRef(t){this.props.innerRef&&this.props.innerRef(t),this.ref=t}focus(){this.ref&&this.ref.focus()}render(){let t=this.props,{className:n,cssModule:r,type:i,bsSize:o,valid:s,invalid:a,tag:l,addon:c,plaintext:f,innerRef:h}=t,p=Ze(t,KQ);const m=["switch","radio","checkbox"].indexOf(i)>-1,g=/\D/g,_=i==="textarea",x=i==="select",v=i==="range";let b=l||(x||_?i:"input"),w="form-control";f?(w=`${w}-plaintext`,b=l||"input"):v?w="form-range":x?w="form-select":m&&(c?w=null:w="form-check-input"),p.size&&g.test(p.size)&&(bw(`Please use the prop "bsSize" instead of the "size" to bootstrap's input sizing.`),o=p.size,delete p.size);const E=Fe(ge(n,a&&"is-invalid",s&&"is-valid",o?x?`form-select-${o}`:`form-control-${o}`:!1,w),r);return(b==="input"||l&&typeof l=="function")&&(p.type=i==="switch"?"checkbox":i),p.children&&!(f||i==="select"||typeof b!="string"||b==="select")&&(bw(`Input with a type of "${i}" cannot have children. Please use "value"/"defaultValue" instead.`),delete p.children),z.createElement(b,je({},p,{ref:h,className:E,"aria-invalid":a}))}};AC.propTypes=XQ;AC.defaultProps=QQ;var id=AC;const JQ=["className","cssModule","tag","type","size"],eJ={className:S.string,cssModule:S.object,size:S.string,tag:Pe,type:S.string},tJ={tag:"div"};function $d(e){const{className:t,cssModule:n,tag:r,type:i,size:o}=e,s=Ze(e,JQ),a=Fe(ge(t,"input-group",o?`input-group-${o}`:null),n);return e.type==="dropdown"?z.createElement(Kc,je({},s,{className:a})):z.createElement(VI.Provider,{value:{insideInputGroup:!0}},z.createElement(r,je({},s,{className:a})))}$d.propTypes=eJ;$d.defaultProps=tJ;S.string,S.object;const X0=S.oneOfType([S.number,S.string]),Tl=S.oneOfType([S.bool,S.string,S.number,S.shape({size:X0,order:X0,offset:X0})]);S.node,S.bool,S.bool,S.string,S.string,S.string,S.object,S.array;S.bool,S.bool,S.node,S.string,S.object,S.bool,S.bool,S.bool,S.bool,S.bool,S.bool,S.bool;function jg(){}const Wk=S.shape(Xt.propTypes),r6={autoFocus:S.bool,backdrop:S.bool,backdropClassName:S.string,backdropTransition:Wk,children:S.node,className:S.string,container:Ds,cssModule:S.object,direction:S.oneOf(["start","end","bottom","top"]),fade:S.bool,innerRef:S.oneOfType([S.object,S.string,S.func]),isOpen:S.bool,keyboard:S.bool,labelledBy:S.string,offcanvasTransition:Wk,onClosed:S.func,onEnter:S.func,onExit:S.func,style:S.object,onOpened:S.func,returnFocusAfterClose:S.bool,role:S.string,scrollable:S.bool,toggle:S.func,trapFocus:S.bool,unmountOnClose:S.bool,zIndex:S.oneOfType([S.number,S.string])},nJ=Object.keys(r6),rJ={isOpen:!1,autoFocus:!0,direction:"start",scrollable:!1,role:"dialog",backdrop:!0,keyboard:!0,zIndex:1050,fade:!0,onOpened:jg,onClosed:jg,offcanvasTransition:{timeout:Za.Offcanvas},backdropTransition:{mountOnEnter:!0,timeout:Za.Fade},unmountOnClose:!0,returnFocusAfterClose:!0,container:"body",trapFocus:!1};class mi extends z.Component{constructor(t){super(t),this._element=null,this._originalBodyPadding=null,this.getFocusableChildren=this.getFocusableChildren.bind(this),this.handleBackdropClick=this.handleBackdropClick.bind(this),this.handleBackdropMouseDown=this.handleBackdropMouseDown.bind(this),this.handleEscape=this.handleEscape.bind(this),this.handleTab=this.handleTab.bind(this),this.onOpened=this.onOpened.bind(this),this.onClosed=this.onClosed.bind(this),this.manageFocusAfterClose=this.manageFocusAfterClose.bind(this),this.clearBackdropAnimationTimeout=this.clearBackdropAnimationTimeout.bind(this),this.trapFocus=this.trapFocus.bind(this),this.state={isOpen:!1}}componentDidMount(){const{isOpen:t,autoFocus:n,onEnter:r}=this.props;t&&(this.init(),this.setState({isOpen:!0}),n&&this.setFocus()),r&&r(),document.addEventListener("focus",this.trapFocus,!0),this._isMounted=!0}componentDidUpdate(t,n){if(this.props.isOpen&&!t.isOpen){this.init(),this.setState({isOpen:!0});return}this.props.autoFocus&&this.state.isOpen&&!n.isOpen&&this.setFocus(),this._element&&t.zIndex!==this.props.zIndex&&(this._element.style.zIndex=this.props.zIndex)}componentWillUnmount(){this.clearBackdropAnimationTimeout(),this.props.onExit&&this.props.onExit(),this._element&&(this.destroy(),(this.props.isOpen||this.state.isOpen)&&this.close()),document.removeEventListener("focus",this.trapFocus,!0),this._isMounted=!1}handleBackdropClick(t){if(t.target===this._mouseDownElement){t.stopPropagation();const n=this._backdrop;if(!this.props.isOpen||this.props.backdrop!==!0)return;n&&t.target===n&&this.props.toggle&&this.props.toggle(t)}}handleTab(t){if(t.which!==9||this.offcanvasIndex0&&(t.preventDefault(),t.stopPropagation(),n[0].focus())}init(){try{this._triggeringElement=document.activeElement}catch{this._triggeringElement=null}this._element||(this._element=document.createElement("div"),this._element.setAttribute("tabindex","-1"),this._element.style.position="relative",this._element.style.zIndex=this.props.zIndex,this._mountContainer=Mc(this.props.container),this._mountContainer.appendChild(this._element)),this._originalBodyPadding=DI(),AI(),mi.openCount===0&&this.props.backdrop&&!this.props.scrollable&&(document.body.style.overflow="hidden"),this.offcanvasIndex=mi.openCount,mi.openCount+=1}destroy(){this._element&&(this._mountContainer.removeChild(this._element),this._element=null),this.manageFocusAfterClose()}manageFocusAfterClose(){if(this._triggeringElement){const{returnFocusAfterClose:t}=this.props;this._triggeringElement.focus&&t&&this._triggeringElement.focus(),this._triggeringElement=null}}close(){this.manageFocusAfterClose(),mi.openCount=Math.max(0,mi.openCount-1),document.body.style.overflow=null,gC(this._originalBodyPadding)}clearBackdropAnimationTimeout(){this._backdropAnimationTimeout&&(clearTimeout(this._backdropAnimationTimeout),this._backdropAnimationTimeout=void 0)}render(){const{direction:t,unmountOnClose:n}=this.props;if(this._element&&(this.state.isOpen||!n)){const r=!!this._element&&!this.state.isOpen&&!n;this._element.style.display=r?"none":"block";const{className:i,backdropClassName:o,cssModule:s,isOpen:a,backdrop:l,role:c,labelledBy:f,style:h}=this.props,p={onKeyUp:this.handleEscape,onKeyDown:this.handleTab,"aria-labelledby":f,role:c,tabIndex:"-1"},m=this.props.fade,g=Ye(Ye(Ye({},Xt.defaultProps),this.props.offcanvasTransition),{},{baseClass:m?this.props.offcanvasTransition.baseClass:"",timeout:m?this.props.offcanvasTransition.timeout:0}),_=Ye(Ye(Ye({},Xt.defaultProps),this.props.backdropTransition),{},{baseClass:m?this.props.backdropTransition.baseClass:"",timeout:m?this.props.backdropTransition.timeout:0}),x=l&&(m?z.createElement(Xt,je({},_,{in:a&&!!l,innerRef:b=>{this._backdrop=b},cssModule:s,className:Fe(ge("offcanvas-backdrop",o),s),onClick:this.handleBackdropClick,onMouseDown:this.handleBackdropMouseDown})):z.createElement("div",{className:Fe(ge("offcanvas-backdrop","show",o),s),onClick:this.handleBackdropClick,onMouseDown:this.handleBackdropMouseDown})),v=Sr(this.props,nJ);return z.createElement(e6,{node:this._element},z.createElement(Xt,je({},v,p,g,{in:a,onEntered:this.onOpened,onExited:this.onClosed,cssModule:s,className:Fe(ge("offcanvas",i,`offcanvas-${t}`),s),innerRef:b=>{this._dialog=b},style:Ye(Ye({},h),{},{visibility:a?"visible":"hidden"})}),this.props.children),x)}return null}}mi.propTypes=r6;mi.defaultProps=rJ;mi.openCount=0;S.string,S.object;S.node,S.string,S.object,S.string,S.object,S.func;const iJ=["className","listClassName","cssModule","size","tag","listTag","aria-label"],oJ={children:S.node,className:S.string,listClassName:S.string,cssModule:S.object,size:S.string,tag:Pe,listTag:Pe,"aria-label":S.string},sJ={tag:"nav",listTag:"ul","aria-label":"pagination"};function r_(e){const{className:t,listClassName:n,cssModule:r,size:i,tag:o,listTag:s,"aria-label":a}=e,l=Ze(e,iJ),c=Fe(ge(t),r),f=Fe(ge(n,"pagination",{[`pagination-${i}`]:!!i}),r);return z.createElement(o,{className:c,"aria-label":a},z.createElement(s,je({},l,{className:f})))}r_.propTypes=oJ;r_.defaultProps=sJ;const aJ=["active","className","cssModule","disabled","tag"],lJ={active:S.bool,children:S.node,className:S.string,cssModule:S.object,disabled:S.bool,tag:Pe},cJ={tag:"li"};function Cs(e){const{active:t,className:n,cssModule:r,disabled:i,tag:o}=e,s=Ze(e,aJ),a=Fe(ge(n,"page-item",{active:t,disabled:i}),r);return z.createElement(o,je({},s,{className:a}))}Cs.propTypes=lJ;Cs.defaultProps=cJ;const uJ=["className","cssModule","next","previous","first","last","tag"],fJ={"aria-label":S.string,children:S.node,className:S.string,cssModule:S.object,next:S.bool,previous:S.bool,first:S.bool,last:S.bool,tag:Pe},dJ={tag:"a"};function Es(e){let{className:t,cssModule:n,next:r,previous:i,first:o,last:s,tag:a}=e,l=Ze(e,uJ);const c=Fe(ge(t,"page-link"),n);let f;i?f="Previous":r?f="Next":o?f="First":s&&(f="Last");const h=e["aria-label"]||f;let p;i?p="‹":r?p="›":o?p="«":s&&(p="»");let{children:m}=e;return m&&Array.isArray(m)&&m.length===0&&(m=null),!l.href&&a==="a"&&(a="button"),(i||r||o||s)&&(m=[z.createElement("span",{"aria-hidden":"true",key:"caret"},m||p),z.createElement("span",{className:"visually-hidden",key:"ariaLabel"},h)]),z.createElement(a,je({},l,{className:c,"aria-label":h}),m)}Es.propTypes=fJ;Es.defaultProps=dJ;const hJ=z.createContext({}),i6={tag:Pe,activeTab:S.any,className:S.string,cssModule:S.object},pJ={tag:"div"};class o6 extends H.Component{static getDerivedStateFromProps(t,n){return n.activeTab!==t.activeTab?{activeTab:t.activeTab}:null}constructor(t){super(t),this.state={activeTab:this.props.activeTab}}render(){const{className:t,cssModule:n,tag:r}=this.props,i=Sr(this.props,Object.keys(i6)),o=Fe(ge("tab-content",t),n);return z.createElement(hJ.Provider,{value:{activeTabId:this.state.activeTab}},z.createElement(r,je({},i,{className:o})))}}o6.propTypes=i6;o6.defaultProps=pJ;S.string,S.object,S.any;const mJ=["className","closeClassName","closeAriaLabel","cssModule","tag","color","isOpen","toggle","children","transition","fade","innerRef"],gJ={children:S.node,className:S.string,closeClassName:S.string,closeAriaLabel:S.string,color:S.string,cssModule:S.object,fade:S.bool,innerRef:S.oneOfType([S.object,S.string,S.func]),isOpen:S.bool,tag:Pe,toggle:S.func,transition:S.shape(Xt.propTypes)},vJ={color:"success",isOpen:!0,tag:"div",closeAriaLabel:"Close",fade:!0,transition:Ye(Ye({},Xt.defaultProps),{},{unmountOnExit:!0})};function IC(e){const{className:t,closeClassName:n,closeAriaLabel:r,cssModule:i,tag:o,color:s,isOpen:a,toggle:l,children:c,transition:f,fade:h,innerRef:p}=e,m=Ze(e,mJ),g=Fe(ge(t,"alert",`alert-${s}`,{"alert-dismissible":l}),i),_=Fe(ge("btn-close",n),i),x=Ye(Ye(Ye({},Xt.defaultProps),f),{},{baseClass:h?f.baseClass:"",timeout:h?f.timeout:0});return z.createElement(Xt,je({},m,x,{tag:o,className:g,in:a,role:"alert",innerRef:p}),l?z.createElement("button",{type:"button",className:_,"aria-label":r,onClick:l}):null,c)}IC.propTypes=gJ;IC.defaultProps=vJ;S.node,S.string,S.object,S.bool,S.bool,S.shape(Xt.propTypes),S.oneOfType([S.object,S.string,S.func]);Ye(Ye({},Xt.defaultProps),{},{unmountOnExit:!0});S.string,S.object,S.oneOfType([S.object,S.string,S.func]);S.oneOfType([S.string,S.node]),S.func,S.string,S.object,S.node,S.string,S.oneOfType([S.string,S.number]),S.object,S.string;const yJ=["className","cssModule","tag","active","disabled","action","color"],_J={action:S.bool,active:S.bool,className:S.string,cssModule:S.object,color:S.string,disabled:S.bool,tag:Pe},bJ={tag:"li"},wJ=e=>{e.preventDefault()};function FC(e){const{className:t,cssModule:n,tag:r,active:i,disabled:o,action:s,color:a}=e,l=Ze(e,yJ),c=Fe(ge(t,i?"active":!1,o?"disabled":!1,s?"list-group-item-action":!1,a?`list-group-item-${a}`:!1,"list-group-item"),n);return o&&(l.onClick=wJ),z.createElement(r,je({},l,{className:c}))}FC.propTypes=_J;FC.defaultProps=bJ;S.string,S.object;S.string,S.object;const xJ=["className","cssModule","tag","type"],SJ={className:S.string,cssModule:S.object,tag:Pe,type:S.string},CJ={tag:"ul"},$C=H.forwardRef((e,t)=>{const{className:n,cssModule:r,tag:i,type:o}=e,s=Ze(e,xJ),a=Fe(ge(n,o?`list-${o}`:!1),r);return z.createElement(i,je({},s,{className:a,ref:t}))});$C.name="List";$C.propTypes=SJ;$C.defaultProps=CJ;const EJ=["className","cssModule","tag"],TJ={className:S.string,cssModule:S.object,tag:Pe},OJ={tag:"li"},jC=H.forwardRef((e,t)=>{const{className:n,cssModule:r,tag:i}=e,o=Ze(e,EJ),s=Fe(ge(n,"list-inline-item"),r);return z.createElement(i,je({},o,{className:s,ref:t}))});jC.name="ListInlineItem";jC.propTypes=TJ;jC.defaultProps=OJ;const PJ=["defaultOpen"];class kJ extends H.Component{constructor(t){super(t),this.state={isOpen:t.defaultOpen||!1},this.toggle=this.toggle.bind(this)}toggle(){this.setState(t=>({isOpen:!t.isOpen}))}render(){return z.createElement(Xy,je({isOpen:this.state.isOpen,toggle:this.toggle},Sr(this.props,PJ)))}}kJ.propTypes=Ye({defaultOpen:S.bool},Xy.propTypes);const MJ=["toggleEvents","defaultOpen"],RJ={defaultOpen:S.bool,toggler:S.string.isRequired,toggleEvents:S.arrayOf(S.string)},NJ={toggleEvents:FK};class s6 extends H.Component{constructor(t){super(t),this.togglers=null,this.removeEventListeners=null,this.toggle=this.toggle.bind(this),this.state={isOpen:t.defaultOpen||!1}}componentDidMount(){this.togglers=jI(this.props.toggler),this.togglers.length&&(this.removeEventListeners=$K(this.togglers,this.toggle,this.props.toggleEvents))}componentWillUnmount(){this.togglers.length&&this.removeEventListeners&&this.removeEventListeners()}toggle(t){this.setState(({isOpen:n})=>({isOpen:!n})),t.preventDefault()}render(){return z.createElement(HI,je({isOpen:this.state.isOpen},Sr(this.props,MJ)))}}s6.propTypes=RJ;s6.defaultProps=NJ;const LJ=["defaultOpen"];class jd extends H.Component{constructor(t){super(t),this.state={isOpen:t.defaultOpen||!1},this.toggle=this.toggle.bind(this)}toggle(t){this.setState(n=>({isOpen:!n.isOpen}),()=>{this.props.onToggle&&this.props.onToggle(t,this.state.isOpen)})}render(){return z.createElement(Kc,je({isOpen:this.state.isOpen,toggle:this.toggle},Sr(this.props,LJ)))}}jd.propTypes=Ye({defaultOpen:S.bool,onToggle:S.func},Kc.propTypes);const DJ=["defaultOpen"];class $r extends H.Component{constructor(t){super(t),this.state={isOpen:t.defaultOpen||!1},this.toggle=this.toggle.bind(this)}toggle(){this.setState(t=>({isOpen:!t.isOpen}))}render(){return z.createElement(Fd,je({isOpen:this.state.isOpen,toggle:this.toggle},Sr(this.props,DJ)))}}$r.propTypes=Ye({defaultOpen:S.bool},Fd.propTypes);S.oneOf(["border","grow"]),S.oneOf(["sm"]),S.oneOf(["primary","secondary","success","danger","warning","info","light","dark"]),S.string,S.object,S.string;Ye(Ye({},_C.propTypes),{},{color:S.string,tag:Pe,animation:S.oneOf(["glow","wave"]),innerRef:S.oneOfType([S.object,S.func,S.string]),size:S.oneOf(["lg","sm","xs"])});S.string,S.string,S.bool,S.string,S.object;(()=>{if(typeof window!="object"||typeof window.CustomEvent=="function")return;const e=(t,n)=>{n=n||{bubbles:!1,cancelable:!1,detail:null};let r=document.createEvent("CustomEvent");return r.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),r};window.CustomEvent=e})();(()=>{if(typeof Object.values=="function")return;Object.values=t=>Object.keys(t).map(n=>t[n])})();const AJ="Left",IJ="Right",FJ="Up",$J="Down",Ql={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},xw={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},Yk="mousemove",qk="mouseup",jJ="touchend",BJ="touchmove",zJ="touchstart";function UJ(e,t,n,r){return e>t?n>0?IJ:AJ:r>0?$J:FJ}function Gk(e,t){if(t===0)return e;const n=Math.PI/180*t,r=e[0]*Math.cos(n)+e[1]*Math.sin(n),i=e[1]*Math.cos(n)-e[0]*Math.sin(n);return[r,i]}function VJ(e,t){const n=f=>{const h="touches"in f;h&&f.touches.length>1||e((p,m)=>{m.trackMouse&&!h&&(document.addEventListener(Yk,r),document.addEventListener(qk,s));const{clientX:g,clientY:_}=h?f.touches[0]:f,x=Gk([g,_],m.rotationAngle);return m.onTouchStartOrOnMouseDown&&m.onTouchStartOrOnMouseDown({event:f}),Object.assign(Object.assign(Object.assign({},p),xw),{initial:x.slice(),xy:x,start:f.timeStamp||0})})},r=f=>{e((h,p)=>{const m="touches"in f;if(m&&f.touches.length>1)return h;if(f.timeStamp-h.start>p.swipeDuration)return h.swiping?Object.assign(Object.assign({},h),{swiping:!1}):h;const{clientX:g,clientY:_}=m?f.touches[0]:f,[x,v]=Gk([g,_],p.rotationAngle),b=x-h.xy[0],w=v-h.xy[1],E=Math.abs(b),P=Math.abs(w),k=(f.timeStamp||0)-h.start,N=Math.sqrt(E*E+P*P)/(k||1),A=[b/(k||1),w/(k||1)],V=UJ(E,P,b,w),I=typeof p.delta=="number"?p.delta:p.delta[V.toLowerCase()]||Ql.delta;if(E{e((h,p)=>{let m;if(h.swiping&&h.eventData){if(f.timeStamp-h.start{document.removeEventListener(Yk,r),document.removeEventListener(qk,s)},s=f=>{o(),i(f)},a=(f,h)=>{let p=()=>{};if(f&&f.addEventListener){const m=Object.assign(Object.assign({},Ql.touchEventOptions),h.touchEventOptions),g=[[zJ,n,m],[BJ,r,Object.assign(Object.assign({},m),h.preventScrollOnSwipe?{passive:!1}:{})],[jJ,i,m]];g.forEach(([_,x,v])=>f.addEventListener(_,x,v)),p=()=>g.forEach(([_,x])=>f.removeEventListener(_,x))}return p},c={ref:f=>{f!==null&&e((h,p)=>{if(h.el===f)return h;const m={};return h.el&&h.el!==f&&h.cleanUpTouch&&(h.cleanUpTouch(),m.cleanUpTouch=void 0),p.trackTouch&&f&&(m.cleanUpTouch=a(f,p)),Object.assign(Object.assign(Object.assign({},h),{el:f}),m)})}};return t.trackMouse&&(c.onMouseDown=n),[c,a]}function HJ(e,t,n,r){return!t.trackTouch||!e.el?(e.cleanUpTouch&&e.cleanUpTouch(),Object.assign(Object.assign({},e),{cleanUpTouch:void 0})):e.cleanUpTouch?t.preventScrollOnSwipe!==n.preventScrollOnSwipe||t.touchEventOptions.passive!==n.touchEventOptions.passive?(e.cleanUpTouch(),Object.assign(Object.assign({},e),{cleanUpTouch:r(e.el,t)})):e:Object.assign(Object.assign({},e),{cleanUpTouch:r(e.el,t)})}function WJ(e){const{trackMouse:t}=e,n=H.useRef(Object.assign({},xw)),r=H.useRef(Object.assign({},Ql)),i=H.useRef(Object.assign({},r.current));i.current=Object.assign({},r.current),r.current=Object.assign(Object.assign({},Ql),e);let o;for(o in Ql)r.current[o]===void 0&&(r.current[o]=Ql[o]);const[s,a]=H.useMemo(()=>VJ(l=>n.current=l(n.current,r.current),{trackMouse:t}),[t]);return n.current=HJ(n.current,r.current,i.current,a),s}var cp,YJ=new Uint8Array(16);function qJ(){if(!cp&&(cp=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!cp))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return cp(YJ)}const GJ=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function ZJ(e){return typeof e=="string"&&GJ.test(e)}var $n=[];for(var Q0=0;Q0<256;++Q0)$n.push((Q0+256).toString(16).substr(1));function KJ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=($n[e[t+0]]+$n[e[t+1]]+$n[e[t+2]]+$n[e[t+3]]+"-"+$n[e[t+4]]+$n[e[t+5]]+"-"+$n[e[t+6]]+$n[e[t+7]]+"-"+$n[e[t+8]]+$n[e[t+9]]+"-"+$n[e[t+10]]+$n[e[t+11]]+$n[e[t+12]]+$n[e[t+13]]+$n[e[t+14]]+$n[e[t+15]]).toLowerCase();if(!ZJ(n))throw TypeError("Stringified UUID is invalid");return n}function BC(e,t,n){e=e||{};var r=e.random||(e.rng||qJ)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return KJ(r)}const XJ=2e3,QJ=(e,t)=>(n=!1,r=XJ)=>{const[i,o]=H.useState(n),s=H.useRef(void 0);return[i,()=>{o(!n),s.current&&t(s.current),s.current=e(()=>o(n),r)}]},Bt=(e=!1)=>{const[t,n]=H.useState(e);return[t,()=>n(!t),()=>n(!0),()=>n(!1)]},JJ=(e,t)=>{const n=r=>i=>{i.event.composedPath().some(({classList:s})=>s==null?void 0:s.contains("visits-table"))||document.querySelector(".modal")||r()};return WJ({delta:40,onSwipedLeft:n(t),onSwipedRight:n(e)})},eee=(e,t)=>{const[n,r]=H.useState(t);return[n,o=>{const{location:s,history:a}=window,l=Gc(s.search);l[e]=o,a.pushState(null,"",`${s.pathname}?${Md(l)}`),r(o)}]},tee=(e,t)=>{const n=H.useRef(!0);H.useEffect(()=>{!n.current&&e(),n.current=!1},t)},Ks=()=>{const e=Io();return()=>e(-1)},i_=()=>{const{current:e}=H.useRef(`dom-${BC()}`);return e},zC="#4696e5",nee="rgba(70, 150, 229, 0.4)",a6="#f77f28",ree="rgba(247, 127, 40, 0.4)",iee="white",oee="#161b22",l6=e=>{var t,n;return(n=(t=document.getElementsByTagName("html"))==null?void 0:t[0])==null?void 0:n.setAttribute("data-theme",e)},see=()=>{var e,t;return((t=(e=document.getElementsByTagName("html"))==null?void 0:e[0])==null?void 0:t.getAttribute("data-theme"))==="dark"},c6=({color:e=zC,className:t})=>C("svg",{className:t,viewBox:"0 0 512 512",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:U("g",{fill:e,children:[C("path",{d:" M 23.71 85.08 C 17.22 49.81 49.44 14.86 85.08 18.12 C 118.83 19.21 145.72 53.33 139.45 86.37 C 155.64 102.30 171.32 118.83 187.87 134.36 C 198.32 111.73 208.84 89.12 219.57 66.62 C 226.05 53.84 243.47 48.74 255.73 56.27 C 263.76 62.10 270.34 69.69 277.25 76.75 C 286.28 86.61 285.72 102.89 276.31 112.31 C 223.38 165.37 170.38 218.37 117.35 271.34 C 107.72 280.99 91.01 281.25 81.11 271.86 C 74.39 264.94 66.82 258.69 61.24 250.77 C 53.72 238.52 58.85 221.07 71.64 214.62 C 94.11 203.87 116.72 193.38 139.33 182.91 C 123.81 166.36 107.30 150.68 91.37 134.49 C 60.20 140.28 27.37 116.78 23.71 85.08 Z"}),C("path",{d:" M 205.21 201.23 C 225.32 181.36 260.88 181.11 281.14 200.86 C 299.25 218.75 317.37 236.65 335.10 254.93 C 356.73 278.01 352.01 318.70 326.03 336.56 C 320.07 330.47 313.73 324.65 308.12 318.28 C 323.86 309.39 328.76 286.18 316.63 272.39 C 301.73 256.95 286.30 242.03 271.24 226.75 C 264.49 219.65 256.80 212.00 246.37 211.52 C 224.65 208.64 205.52 233.36 214.49 253.58 C 221.09 266.81 234.22 275.12 243.62 286.24 C 240.43 295.96 238.09 306.13 238.29 316.46 C 225.55 304.29 213.16 291.73 200.89 279.09 C 180.97 257.57 183.10 220.45 205.21 201.23 Z"}),C("path",{d:" M 273.90 352.07 C 252.28 328.99 256.98 288.31 282.96 270.46 C 288.93 276.54 295.26 282.36 300.88 288.72 C 285.14 297.62 280.23 320.82 292.38 334.61 C 307.27 350.05 322.70 364.96 337.75 380.25 C 344.51 387.35 352.20 395.00 362.64 395.48 C 384.35 398.37 403.49 373.64 394.51 353.42 C 387.92 340.18 374.78 331.88 365.38 320.76 C 368.56 311.04 370.91 300.86 370.71 290.54 C 383.45 302.70 395.84 315.27 408.11 327.91 C 428.03 349.43 425.90 386.55 403.78 405.77 C 383.68 425.64 348.13 425.89 327.86 406.14 C 309.75 388.25 291.60 370.37 273.90 352.07 Z"}),C("path",{d:" M 422.11 403.83 C 431.96 394.07 441.60 384.06 451.66 374.51 C 460.90 383.74 471.89 392.70 474.89 406.11 C 480.16 429.97 484.08 454.13 488.76 478.12 C 490.00 483.41 484.47 488.29 479.35 486.63 C 454.66 481.52 429.55 478.12 405.14 471.84 C 393.17 467.97 385.20 457.75 376.55 449.27 C 386.39 439.49 396.13 429.60 406.06 419.91 C 416.37 433.45 435.74 414.00 422.11 403.83 Z"})]})});const aee=e=>()=>{const[t,n,,r]=Bt(),i=Wn(),{pathname:o}=i;H.useEffect(r,[i]);const s="/settings",a=ge("main-header__toggle-icon",{"main-header__toggle-icon--opened":t});return U(bC,{color:"primary",dark:!0,fixed:"top",className:"main-header",expand:"md",children:[U(wC,{tag:It,to:"/",children:[C(c6,{className:"main-header__brand-logo",color:"white"})," Shlink"]}),C(xC,{onClick:n,children:C($e,{icon:iq,className:a})}),C(HI,{navbar:!0,isOpen:t,children:U(Zy,{navbar:!0,className:"ms-auto",children:[C(SC,{children:U(UI,{tag:It,to:s,active:o.startsWith(s),children:[C($e,{icon:uq}),"  Settings"]})}),C(e,{})]})})]})};/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var Sw=function(){return Sw=Object.assign||function(t){for(var n,r=1,i=arguments.length;rU(FC,{tag:It,to:`/server/${e}`,className:"servers-list__server-item",children:[t,C($e,{icon:sq,className:"servers-list__server-item-icon"})]}),u6=({servers:e,children:t,embedded:n=!1})=>U(We,{children:[t&&C("h5",{className:"mb-md-3",children:t}),e.length>0&&C(DC,{className:ge("servers-list__list-group",{"servers-list__list-group--embedded":n}),children:e.map(({id:r,name:i})=>C(cee,{id:r,name:i},r))})]});const uee=({servers:e})=>{const t=Io(),n=Yc(e),r=!Hn(n);return H.useEffect(()=>{const i=n.find(({autoConnect:o})=>o);i&&t(`/server/${i.id}`)},[]),C("div",{className:"home",children:C(xr,{className:"home__main-card",children:U(cr,{className:"g-0",children:[C("div",{className:"col-md-5 d-none d-md-block",children:C("div",{className:"home__logo-wrapper",children:C("div",{className:"home__logo",children:C(c6,{})})})}),U("div",{className:"col-md-7 home__servers-container",children:[C("div",{className:"home__title-wrapper",children:C("h1",{className:"home__title",children:"Welcome!"})}),C(u6,{embedded:!0,servers:n,children:!r&&U("div",{className:"p-4 text-center",children:[C("p",{className:"mb-5",children:"This application will help you manage your Shlink servers."}),C("p",{children:U(It,{to:"/server/create",className:"btn btn-outline-primary btn-lg me-2",children:[C($e,{icon:ZS})," ",C("span",{className:"ms-1",children:"Add a server"})]})}),C("p",{className:"mb-0 mt-5",children:C(Ci,{href:"https://shlink.io/documentation",children:U("small",{children:[C("span",{className:"me-1",children:"Learn more about Shlink"})," ",C($e,{icon:zY})]})})})]})})]})]})})})},fee=e=>({error:"border-danger",default:""})[e],dee=e=>({error:"text-danger",default:"text-muted"})[e],So=({className:e,children:t,loading:n=!1,type:r="default",fullWidth:i=!1})=>{const o=ge({"col-md-12":i,"col-md-10 offset-md-1":!i});return C(cr,{className:ge("g-0",e),children:C("div",{className:o,children:C(xr,{className:fee(r),body:!0,children:U("h3",{className:ge("text-center mb-0",dee(r)),children:[n&&C($e,{icon:LA,spin:!0}),n&&C("span",{className:"ms-2",children:t??"Loading..."}),!n&&t]})})})})};const Qc=({children:e})=>C("div",{className:"no-menu-wrapper container-xl",children:e});function f6(e,t){return n=>{const r=Ws(),{selectServer:i,selectedServer:o}=n;return H.useEffect(()=>{r.serverId&&i(r.serverId)},[r.serverId]),o?cH(o)?C(t,{}):C(e,{...n}):C(Qc,{children:C(So,{loading:!0})})}}const hee=(e,t)=>{const n=Zk(e),r=Zk(t),i=n.pop(),o=r.pop(),s=Qk(n,r);return s!==0?s:i&&o?Qk(i.split("."),o.split(".")):i||o?i?-1:1:0},Cw=(e,t,n)=>{vee(n);const r=hee(e,t);return d6[n].includes(r)},pee=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Zk=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(pee);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},Kk=e=>e==="*"||e==="x"||e==="X",Xk=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},mee=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],gee=(e,t)=>{if(Kk(e)||Kk(t))return 0;const[n,r]=mee(Xk(e),Xk(t));return n>r?1:n{for(let n=0;n":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},Jk=Object.keys(d6),vee=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(Jk.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${Jk.join("|")}`)},UC=(e,t,n=1)=>AS(n,e+1).map(t),vi=e=>!Fo(e)&&!Hn(e),Bd=e=>Ft(t=>t.preventDefault(),e),J0=e=>Hn(e)?null:e,ua=e=>t=>e===t,yee=e=>e?"true":"false",_ee=(e,{maxVersion:t,minVersion:n})=>{if(!vi(e))return!1;const r=!n||Cw(e,n,">=");return(!t||Cw(e,t,"<="))&&r},h6=fA(Fy,e=>{try{return Cw(e,e,"=")}catch{return!1}}),p6=e=>h6(e)?`v${e}`:e,m6=(e="latest")=>t=>h6(t)?t:e,zd=e=>t=>jy(t)&&_ee(t.version,{minVersion:e}),g6=zd("2.9.0"),bee=g6,wee=zd("2.10.0"),VC=zd("3.0.0"),xee=VC,v6=zd("3.1.0"),See=zd("3.4.0"),gn=({title:e,children:t,bodyClassName:n,...r})=>U(xr,{...r,children:[e&&C(Xa,{role:"heading",children:e}),C(Ka,{className:n,children:t})]}),y6=({to:e="/",children:t="Home"})=>C("div",{className:"home",children:U(gn,{className:"p-4",children:[C("h2",{children:"Oops! We could not find requested route."}),C("p",{children:"Use your browser's back button to navigate to the page you have previously come from, or just press this button."}),C("br",{}),C(It,{to:e,className:"btn btn-outline-primary btn-lg",children:t})]})});const Cee=(e,t,n,r,i,o,s,a,l,c,f,h,p)=>f6(({selectedServer:m,sidebarNotPresent:g,sidebarPresent:_})=>{const x=Wn(),[v,b,w,E]=Bt(),P=jy(m);if(H.useEffect(()=>E(),[x]),H.useEffect(()=>(P&&_(),()=>g()),[]),!P)return C(c,{});const k=VC(m),N=v6(m),A=ge("menu-layout__burger-icon",{"menu-layout__burger-icon--active":v}),V=JJ(w,E);return U(We,{children:[C($e,{icon:CY,className:A,onClick:b}),C("div",{...V,className:"menu-layout__swipeable",children:U("div",{className:"menu-layout__swipeable-inner",children:[C(n,{selectedServer:m,showOnMobile:v}),C("div",{className:"menu-layout__container",onClick:()=>E(),children:C("div",{className:"container-xl",children:U(Ly,{children:[C(_t,{index:!0,element:C(CS,{replace:!0,to:"overview"})}),C(_t,{path:"/overview",element:C(f,{})}),C(_t,{path:"/list-short-urls/:page",element:C(t,{})}),C(_t,{path:"/create-short-url",element:C(r,{})}),C(_t,{path:"/short-code/:shortCode/visits/*",element:C(i,{})}),C(_t,{path:"/short-code/:shortCode/edit",element:C(h,{})}),C(_t,{path:"/tag/:tag/visits/*",element:C(o,{})}),N&&C(_t,{path:"/domain/:domain/visits/*",element:C(s,{})}),C(_t,{path:"/orphan-visits/*",element:C(a,{})}),k&&C(_t,{path:"/non-orphan-visits/*",element:C(l,{})}),C(_t,{path:"/manage-tags",element:C(e,{})}),C(_t,{path:"/manage-domains",element:C(p,{})}),C(_t,{path:"*",element:C(y6,{to:`/server/${m.id}/list-short-urls/1`,children:"List short URLs"})})]})})})]})})]})},c);const Ol=({children:e,to:t,className:n,...r})=>C(V4,{className:({isActive:i})=>ge("aside-menu__item",n,{"aside-menu__item--selected":i}),to:t,...r,children:e}),Eee=e=>({selectedServer:t,showOnMobile:n=!1})=>{const r=Ss(t),i=r?t.id:"",{pathname:o}=Wn(),s=ge("aside-menu",{"aside-menu--hidden":!n}),a=l=>`/server/${i}${l}`;return C("aside",{className:s,children:U("nav",{className:"nav flex-column aside-menu__nav",children:[U(Ol,{to:a("/overview"),children:[C($e,{fixedWidth:!0,icon:KY}),C("span",{className:"aside-menu__item-text",children:"Overview"})]}),U(Ol,{to:a("/list-short-urls/1"),className:ge({"aside-menu__item--selected":o.match("/list-short-urls")!==null}),children:[C($e,{fixedWidth:!0,icon:DA}),C("span",{className:"aside-menu__item-text",children:"List short URLs"})]}),U(Ol,{to:a("/create-short-url"),children:[C($e,{fixedWidth:!0,icon:tq,flip:"horizontal"}),C("span",{className:"aside-menu__item-text",children:"Create short URL"})]}),U(Ol,{to:a("/manage-tags"),children:[C($e,{fixedWidth:!0,icon:IA}),C("span",{className:"aside-menu__item-text",children:"Manage tags"})]}),U(Ol,{to:a("/manage-domains"),children:[C($e,{fixedWidth:!0,icon:kY}),C("span",{className:"aside-menu__item-text",children:"Manage domains"})]}),U(Ol,{to:a("/edit"),className:"aside-menu__item--push",children:[C($e,{fixedWidth:!0,icon:$Y}),C("span",{className:"aside-menu__item-text",children:"Edit this server"})]}),r&&C(e,{className:"aside-menu__item aside-menu__item--danger",textClassName:"aside-menu__item-text",server:t})]})})},Tee=({location:e},{error:t})=>class extends H.Component{constructor(n){super(n),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(n){t(n)}render(){const{hasError:n}=this.state;if(n)return C("div",{className:"home",children:U(gn,{className:"p-4",children:[C("h1",{children:"Oops! This is awkward :S"}),C("p",{children:"It seems that something went wrong. Try refreshing the page or just click this button."}),C("br",{}),C(gt,{outline:!0,color:"primary",onClick:()=>e.reload(),children:"Take me back"})]})});const{children:r}=this.props;return r}},Oee="%_VERSION_%",Pee=Ft(m6(),p6),e3=({project:e,version:t})=>C(Ci,{href:`https://github.com/shlinkio/${e}/releases/${t}`,className:"text-muted",children:C("b",{children:t})}),kee=({selectedServer:e,clientVersion:t=Oee})=>{const n=Pee(t);return U("small",{className:"text-muted",children:[jy(e)&&U(We,{children:["Server: ",C(e3,{project:"shlink",version:e.printableVersion})," - "]}),"Client: ",C(e3,{project:"shlink-web-client",version:n})]})};const Mee=({selectedServer:e,sidebar:t})=>{const n=ge("text-center",{"shlink-versions-container--with-sidebar":t.sidebarPresent});return C("div",{className:n,children:C(kee,{selectedServer:e})})};function Bg(e){return t=>{const{resetSelectedServer:n}=t;return H.useEffect(()=>{n()},[]),C(e,{...t})}}function yi(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:HC(e)?2:WC(e)?3:0}function cc(e,t){return Jc(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Ree(e,t){return Jc(e)===2?e.get(t):e[t]}function _6(e,t,n){var r=Jc(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function b6(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function HC(e){return Fee&&e instanceof Map}function WC(e){return $ee&&e instanceof Set}function ba(e){return e.o||e.t}function YC(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=x6(e);delete t[$t];for(var n=uc(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=Nee),Object.freeze(e),t&&Qa(e,function(n,r){return qC(r,!0)},!0)),e}function Nee(){yi(2)}function GC(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Xi(e){var t=Pw[e];return t||yi(18,e),t}function Lee(e,t){Pw[e]||(Pw[e]=t)}function Ew(){return od}function eb(e,t){t&&(Xi("Patches"),e.u=[],e.s=[],e.v=t)}function zg(e){Tw(e),e.p.forEach(Dee),e.p=null}function Tw(e){e===od&&(od=e.l)}function t3(e){return od={p:[],l:od,h:e,m:!0,_:0}}function Dee(e){var t=e[$t];t.i===0||t.i===1?t.j():t.O=!0}function tb(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||Xi("ES5").S(t,e,r),r?(n[$t].P&&(zg(t),yi(4)),No(e)&&(e=Ug(t,e),t.l||Vg(t,e)),t.u&&Xi("Patches").M(n[$t].t,e,t.u,t.s)):e=Ug(t,n,[]),zg(t),t.u&&t.v(t.u,t.s),e!==w6?e:void 0}function Ug(e,t,n){if(GC(t))return t;var r=t[$t];if(!r)return Qa(t,function(o,s){return n3(e,r,t,o,s,n)},!0),t;if(r.A!==e)return t;if(!r.P)return Vg(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=YC(r.k):r.o;Qa(r.i===3?new Set(i):i,function(o,s){return n3(e,r,i,o,s,n)}),Vg(e,i,!1),n&&e.u&&Xi("Patches").R(r,n,e.u,e.s)}return r.o}function n3(e,t,n,r,i,o){if(As(i)){var s=Ug(e,i,o&&t&&t.i!==3&&!cc(t.D,r)?o.concat(r):void 0);if(_6(n,r,s),!As(s))return;e.m=!1}if(No(i)&&!GC(i)){if(!e.h.F&&e._<1)return;Ug(e,i),t&&t.A.l||Vg(e,i)}}function Vg(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&qC(t,n)}function nb(e,t){var n=e[$t];return(n?ba(n):e)[t]}function r3(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function is(e){e.P||(e.P=!0,e.l&&is(e.l))}function rb(e){e.o||(e.o=YC(e.t))}function Ow(e,t,n){var r=HC(t)?Xi("MapSet").N(t,n):WC(t)?Xi("MapSet").T(t,n):e.g?function(i,o){var s=Array.isArray(i),a={i:s?1:0,A:o?o.A:Ew(),P:!1,I:!1,D:{},l:o,t:i,k:null,o:null,j:null,C:!1},l=a,c=sd;s&&(l=[a],c=Hu);var f=Proxy.revocable(l,c),h=f.revoke,p=f.proxy;return a.k=p,a.j=h,p}(t,n):Xi("ES5").J(t,n);return(n?n.A:Ew()).p.push(r),r}function Aee(e){return As(e)||yi(22,e),function t(n){if(!No(n))return n;var r,i=n[$t],o=Jc(n);if(i){if(!i.P&&(i.i<4||!Xi("ES5").K(i)))return i.t;i.I=!0,r=i3(n,o),i.I=!1}else r=i3(n,o);return Qa(r,function(s,a){i&&Ree(i.t,s)===a||_6(r,s,t(a))}),o===3?new Set(r):r}(e)}function i3(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return YC(e)}function Iee(){function e(o,s){var a=i[o];return a?a.enumerable=s:i[o]=a={configurable:!0,enumerable:s,get:function(){var l=this[$t];return sd.get(l,o)},set:function(l){var c=this[$t];sd.set(c,o,l)}},a}function t(o){for(var s=o.length-1;s>=0;s--){var a=o[s][$t];if(!a.P)switch(a.i){case 5:r(a)&&is(a);break;case 4:n(a)&&is(a)}}}function n(o){for(var s=o.t,a=o.k,l=uc(a),c=l.length-1;c>=0;c--){var f=l[c];if(f!==$t){var h=s[f];if(h===void 0&&!cc(s,f))return!0;var p=a[f],m=p&&p[$t];if(m?m.t!==h:!b6(p,h))return!0}}var g=!!s[$t];return l.length!==uc(s).length+(g?0:1)}function r(o){var s=o.k;if(s.length!==o.t.length)return!0;var a=Object.getOwnPropertyDescriptor(s,s.length-1);if(a&&!a.get)return!0;for(var l=0;l1?v-1:0),w=1;w1?f-1:0),p=1;p=0;i--){var o=r[i];if(o.path.length===0&&o.op==="replace"){n=o.value;break}}i>-1&&(r=r.slice(i+1));var s=Xi("Patches").$;return As(n)?s(n,r):this.produce(n,function(a){return s(a,r)})},e}(),Lr=new Bee,S6=Lr.produce;Lr.produceWithPatches.bind(Lr);Lr.setAutoFreeze.bind(Lr);Lr.setUseProxies.bind(Lr);Lr.applyPatches.bind(Lr);Lr.createDraft.bind(Lr);Lr.finishDraft.bind(Lr);function zee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function c3(e){for(var t=1;t"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Zn(1));return n(C6)(e,t)}if(typeof e!="function")throw new Error(Zn(2));var i=e,o=t,s=[],a=s,l=!1;function c(){a===s&&(a=s.slice())}function f(){if(l)throw new Error(Zn(3));return o}function h(_){if(typeof _!="function")throw new Error(Zn(4));if(l)throw new Error(Zn(5));var x=!0;return c(),a.push(_),function(){if(x){if(l)throw new Error(Zn(6));x=!1,c();var b=a.indexOf(_);a.splice(b,1),s=null}}}function p(_){if(!Uee(_))throw new Error(Zn(7));if(typeof _.type>"u")throw new Error(Zn(8));if(l)throw new Error(Zn(9));try{l=!0,o=i(o,_)}finally{l=!1}for(var x=s=a,v=0;v"u")throw new Error(Zn(12));if(typeof n(void 0,{type:Hg.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Zn(13))})}function E6(e){for(var t=Object.keys(e),n={},r=0;r"u")throw c&&c.type,new Error(Zn(14));h[m]=x,f=f||x!==_}return f=f||o.length!==Object.keys(l).length,f?h:l}}function Wg(){for(var e=arguments.length,t=new Array(e),n=0;n0&&o[o.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]0)for(var w=m.getState(),E=Array.from(n.values()),P=0,k=E;P({sidebarPresent:!0}),sidebarNotPresent:()=>({sidebarPresent:!1})}}),{sidebarPresent:Lte,sidebarNotPresent:Dte}=Rte,Ate=Nte,F6=({document:e},t,n)=>{const r=e.createElement("a");r.setAttribute("href",t),r.setAttribute("download",n),r.style.visibility="hidden",e.body.appendChild(r),r.click(),e.body.removeChild(r)},$6=(e,t,n)=>{const r=new Blob([t],{type:"text/csv;charset=utf-8;"}),i=URL.createObjectURL(r);F6(e,i,n)};class Ite{constructor(t,n){this.httpClient=t,this.window=n}async saveImage(t,n){const r=await this.httpClient.fetchBlob(t),i=URL.createObjectURL(r);F6(this.window,i,n)}}class Fte{constructor(t,n){Qe(this,"exportVisits",(t,n)=>{n.length&&this.exportCsv(t,n)});Qe(this,"exportShortUrls",t=>{t.length&&this.exportCsv("short_urls.csv",t)});Qe(this,"exportCsv",(t,n)=>{const r=this.jsonToCsv(n);$6(this.window,r,t)});this.window=t,this.jsonToCsv=n}}const y3={"Content-Type":"application/json"},_3=e=>e!=null&&e.body?e?{...e,headers:{...e.headers??{},...y3}}:{headers:y3}:e;class $te{constructor(t){Qe(this,"fetchJson",(t,n)=>this.fetch(t,_3(n)).then(async r=>{const i=await r.json();if(!r.ok)throw i;return i}));Qe(this,"fetchEmpty",(t,n)=>this.fetch(t,_3(n)).then(async r=>{if(!r.ok)throw await r.json()}));Qe(this,"fetchBlob",t=>this.fetch(t).then(n=>n.blob()));this.fetch=t}}const jte=(e,t)=>{e.constant("window",window),e.constant("console",console),e.constant("fetch",window.fetch.bind(window)),e.service("HttpClient",$te,"fetch"),e.service("ImageDownloader",Ite,"HttpClient","window"),e.service("ReportExporter",Fte,"window","jsonToCsv"),e.serviceFactory("ScrollToTop",()=>vY),e.serviceFactory("MainHeader",aee,"ServersDropdown"),e.serviceFactory("Home",()=>uee),e.decorator("Home",Bg),e.decorator("Home",t(["servers"],["resetSelectedServer"])),e.serviceFactory("MenuLayout",Cee,"TagsList","ShortUrlsList","AsideMenu","CreateShortUrl","ShortUrlVisits","TagVisits","DomainVisits","OrphanVisits","NonOrphanVisits","ServerError","Overview","EditShortUrl","ManageDomains"),e.decorator("MenuLayout",t(["selectedServer"],["selectServer","sidebarPresent","sidebarNotPresent"])),e.serviceFactory("AsideMenu",Eee,"DeleteServerButton"),e.serviceFactory("ShlinkVersionsContainer",()=>Mee),e.decorator("ShlinkVersionsContainer",t(["selectedServer","sidebar"])),e.serviceFactory("ErrorHandler",Tee,"window","console"),e.serviceFactory("sidebarPresent",()=>Lte),e.serviceFactory("sidebarNotPresent",()=>Dte)};const Bte=500;let up;const Wd=({onChange:e,className:t,large:n=!0,noBorder:r=!1,initialValue:i=""})=>{const[o,s]=H.useState(i),a=()=>{up&&clearTimeout(up),up=null},l=(c,f=Bte)=>{s(c),a(),up=setTimeout(()=>{e(c),a()},f)};return U("div",{className:ge("search-field",t),children:[C("input",{type:"text",className:ge("form-control search-field__input",{"form-control-lg":n,"search-field__input--no-border":r}),placeholder:"Search...",value:o,onChange:c=>l(c.target.value)}),C($e,{icon:rq,className:"search-field__icon"}),C("div",{className:"close search-field__close btn-close",hidden:o==="",id:"search-field__close",onClick:()=>l("",0)})]})};const Xs=({text:e,disabled:t=!1,className:n="",children:r,dropdownClassName:i,right:o=!1,minWidth:s})=>{const[a,l]=Bt(),c=`dropdown-btn__toggle btn-block ${n}`,f={minWidth:s&&`${s}px`};return U(Kc,{isOpen:a,toggle:l,disabled:t,className:i,children:[C(Xc,{caret:!0,className:c,color:"primary",children:e}),C(al,{className:"w-100",end:o,style:f,children:r})]})};function tt(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Oe(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function em(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?em=function(n){return typeof n}:em=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},em(e)}function Me(e){Oe(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||em(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function ll(e,t){Oe(2,arguments);var n=Me(e),r=tt(t);return isNaN(r)?new Date(NaN):(r&&n.setDate(n.getDate()+r),n)}function no(e,t){Oe(2,arguments);var n=Me(e),r=tt(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var i=n.getDate(),o=new Date(n.getTime());o.setMonth(n.getMonth()+r+1,0);var s=o.getDate();return i>=s?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}function tm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?tm=function(n){return typeof n}:tm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},tm(e)}function zte(e,t){if(Oe(2,arguments),!t||tm(t)!=="object")return new Date(NaN);var n=t.years?tt(t.years):0,r=t.months?tt(t.months):0,i=t.weeks?tt(t.weeks):0,o=t.days?tt(t.days):0,s=t.hours?tt(t.hours):0,a=t.minutes?tt(t.minutes):0,l=t.seconds?tt(t.seconds):0,c=Me(e),f=r||n?no(c,r+n*12):c,h=o||i?ll(f,o+i*7):f,p=a+s*60,m=l+p*60,g=m*1e3,_=new Date(h.getTime()+g);return _}function JC(e,t){Oe(2,arguments);var n=Me(e).getTime(),r=tt(t);return new Date(n+r)}var Ute=36e5;function Vte(e,t){Oe(2,arguments);var n=tt(t);return JC(e,n*Ute)}var Hte={};function Uo(){return Hte}function j6(e,t){var n,r,i,o,s,a,l,c;Oe(1,arguments);var f=Uo(),h=tt((n=(r=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Me(e),m=p.getDay(),g=(m=i.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function Yte(e){Oe(1,arguments);var t=Wte(e),n=new Date(0);n.setFullYear(t,0,4),n.setHours(0,0,0,0);var r=ld(n);return r}function Rc(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Mr(e){Oe(1,arguments);var t=Me(e);return t.setHours(0,0,0,0),t}var qte=864e5;function cd(e,t){Oe(2,arguments);var n=Mr(e),r=Mr(t),i=n.getTime()-Rc(n),o=r.getTime()-Rc(r);return Math.round((i-o)/qte)}var Gte=6e4;function Rw(e,t){Oe(2,arguments);var n=tt(t);return JC(e,n*Gte)}function eE(e,t){Oe(2,arguments);var n=tt(t),r=n*7;return ll(e,r)}function Nc(e,t){Oe(2,arguments);var n=tt(t);return no(e,n*12)}function nm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?nm=function(n){return typeof n}:nm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},nm(e)}function b3(e){Oe(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(nm(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var n;return t.forEach(function(r){var i=Me(r);(n===void 0||ni||isNaN(i.getDate()))&&(n=i)}),n||new Date(NaN)}function im(e,t){Oe(2,arguments);var n=Me(e),r=Me(t),i=n.getTime()-r.getTime();return i<0?-1:i>0?1:i}var tE=6e4,s_=36e5,Zte=1e3;function Kte(e,t){Oe(2,arguments);var n=Mr(e),r=Mr(t);return n.getTime()===r.getTime()}function om(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?om=function(n){return typeof n}:om=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},om(e)}function nE(e){return Oe(1,arguments),e instanceof Date||om(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function B6(e){if(Oe(1,arguments),!nE(e)&&typeof e!="number")return!1;var t=Me(e);return!isNaN(Number(t))}function ud(e,t){Oe(2,arguments);var n=Me(e),r=Me(t),i=n.getFullYear()-r.getFullYear(),o=n.getMonth()-r.getMonth();return i*12+o}function Nw(e){Oe(1,arguments);var t=Me(e),n=Math.floor(t.getMonth()/3)+1;return n}function qg(e,t){Oe(2,arguments);var n=Me(e),r=Me(t);return n.getFullYear()-r.getFullYear()}function x3(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function rE(e,t){Oe(2,arguments);var n=Me(e),r=Me(t),i=x3(n,r),o=Math.abs(cd(n,r));n.setDate(n.getDate()-i*o);var s=Number(x3(n,r)===-i),a=i*(o-s);return a===0?0:a}function z6(e,t){return Oe(2,arguments),Me(e).getTime()-Me(t).getTime()}var S3={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},Xte="trunc";function iE(e){return e?S3[e]:S3[Xte]}function Qte(e,t,n){Oe(2,arguments);var r=z6(e,t)/s_;return iE(n==null?void 0:n.roundingMethod)(r)}function Ja(e){Oe(1,arguments);var t=Me(e);return t.setHours(23,59,59,999),t}function Jte(e){Oe(1,arguments);var t=Me(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function ene(e){Oe(1,arguments);var t=Me(e);return Ja(t).getTime()===Jte(t).getTime()}function Gg(e,t){Oe(2,arguments);var n=Me(e),r=Me(t),i=im(n,r),o=Math.abs(ud(n,r)),s;if(o<1)s=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-i*o);var a=im(n,r)===-i;ene(Me(e))&&o===1&&im(e,r)===1&&(a=!1),s=i*(o-Number(a))}return s===0?0:s}function tne(e,t,n){Oe(2,arguments);var r=z6(e,t)/1e3;return iE(n==null?void 0:n.roundingMethod)(r)}function nne(e,t,n){Oe(2,arguments);var r=rE(e,t)/7;return iE(n==null?void 0:n.roundingMethod)(r)}function Lw(e){Oe(1,arguments);var t=Me(e),n=t.getMonth(),r=n-n%3;return t.setMonth(r,1),t.setHours(0,0,0,0),t}function rne(e){Oe(1,arguments);var t=Me(e);return t.setDate(1),t.setHours(0,0,0,0),t}function ine(e){Oe(1,arguments);var t=Me(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function one(e,t){var n,r,i,o,s,a,l,c;Oe(1,arguments);var f=Uo(),h=tt((n=(r=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Me(e),m=p.getDay(),g=(m=i.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function cne(e){Oe(1,arguments);var t=V6(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=Lc(n);return r}var une=6048e5;function H6(e){Oe(1,arguments);var t=Me(e),n=Lc(t).getTime()-cne(t).getTime();return Math.round(n/une)+1}function el(e,t){var n,r,i,o,s,a,l,c;Oe(1,arguments);var f=Uo(),h=tt((n=(r=(i=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=Me(e),m=p.getUTCDay(),g=(m=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(h+1,0,m),g.setUTCHours(0,0,0,0);var _=el(g,t),x=new Date(0);x.setUTCFullYear(h,0,m),x.setUTCHours(0,0,0,0);var v=el(x,t);return f.getTime()>=_.getTime()?h+1:f.getTime()>=v.getTime()?h:h-1}function fne(e,t){var n,r,i,o,s,a,l,c;Oe(1,arguments);var f=Uo(),h=tt((n=(r=(i=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(s=t.locale)===null||s===void 0||(a=s.options)===null||a===void 0?void 0:a.firstWeekContainsDate)!==null&&i!==void 0?i:f.firstWeekContainsDate)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&n!==void 0?n:1),p=oE(e,t),m=new Date(0);m.setUTCFullYear(p,0,h),m.setUTCHours(0,0,0,0);var g=el(m,t);return g}var dne=6048e5;function W6(e,t){Oe(1,arguments);var n=Me(e),r=el(n,t).getTime()-fne(n,t).getTime();return Math.round(r/dne)+1}function ot(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?r:1-r;return ot(n==="yy"?i%100:i,n.length)},M:function(t,n){var r=t.getUTCMonth();return n==="M"?String(r+1):ot(r+1,2)},d:function(t,n){return ot(t.getUTCDate(),n.length)},a:function(t,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,n){return ot(t.getUTCHours()%12||12,n.length)},H:function(t,n){return ot(t.getUTCHours(),n.length)},m:function(t,n){return ot(t.getUTCMinutes(),n.length)},s:function(t,n){return ot(t.getUTCSeconds(),n.length)},S:function(t,n){var r=n.length,i=t.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,r-3));return ot(o,n.length)}};const Go=hne;var Pl={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},pne={G:function(t,n,r){var i=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(t,n,r){if(n==="yo"){var i=t.getUTCFullYear(),o=i>0?i:1-i;return r.ordinalNumber(o,{unit:"year"})}return Go.y(t,n)},Y:function(t,n,r,i){var o=oE(t,i),s=o>0?o:1-o;if(n==="YY"){var a=s%100;return ot(a,2)}return n==="Yo"?r.ordinalNumber(s,{unit:"year"}):ot(s,n.length)},R:function(t,n){var r=V6(t);return ot(r,n.length)},u:function(t,n){var r=t.getUTCFullYear();return ot(r,n.length)},Q:function(t,n,r){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(i);case"QQ":return ot(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,n,r){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(i);case"qq":return ot(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,n,r){var i=t.getUTCMonth();switch(n){case"M":case"MM":return Go.M(t,n);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(t,n,r){var i=t.getUTCMonth();switch(n){case"L":return String(i+1);case"LL":return ot(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(t,n,r,i){var o=W6(t,i);return n==="wo"?r.ordinalNumber(o,{unit:"week"}):ot(o,n.length)},I:function(t,n,r){var i=H6(t);return n==="Io"?r.ordinalNumber(i,{unit:"week"}):ot(i,n.length)},d:function(t,n,r){return n==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):Go.d(t,n)},D:function(t,n,r){var i=lne(t);return n==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):ot(i,n.length)},E:function(t,n,r){var i=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(t,n,r,i){var o=t.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(n){case"e":return String(s);case"ee":return ot(s,2);case"eo":return r.ordinalNumber(s,{unit:"day"});case"eee":return r.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(o,{width:"short",context:"formatting"});case"eeee":default:return r.day(o,{width:"wide",context:"formatting"})}},c:function(t,n,r,i){var o=t.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(n){case"c":return String(s);case"cc":return ot(s,n.length);case"co":return r.ordinalNumber(s,{unit:"day"});case"ccc":return r.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(o,{width:"narrow",context:"standalone"});case"cccccc":return r.day(o,{width:"short",context:"standalone"});case"cccc":default:return r.day(o,{width:"wide",context:"standalone"})}},i:function(t,n,r){var i=t.getUTCDay(),o=i===0?7:i;switch(n){case"i":return String(o);case"ii":return ot(o,n.length);case"io":return r.ordinalNumber(o,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(t,n,r){var i=t.getUTCHours(),o=i/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,n,r){var i=t.getUTCHours(),o;switch(i===12?o=Pl.noon:i===0?o=Pl.midnight:o=i/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,n,r){var i=t.getUTCHours(),o;switch(i>=17?o=Pl.evening:i>=12?o=Pl.afternoon:i>=4?o=Pl.morning:o=Pl.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,n,r){if(n==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return Go.h(t,n)},H:function(t,n,r){return n==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Go.H(t,n)},K:function(t,n,r){var i=t.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(i,{unit:"hour"}):ot(i,n.length)},k:function(t,n,r){var i=t.getUTCHours();return i===0&&(i=24),n==="ko"?r.ordinalNumber(i,{unit:"hour"}):ot(i,n.length)},m:function(t,n,r){return n==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Go.m(t,n)},s:function(t,n,r){return n==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Go.s(t,n)},S:function(t,n){return Go.S(t,n)},X:function(t,n,r,i){var o=i._originalDate||t,s=o.getTimezoneOffset();if(s===0)return"Z";switch(n){case"X":return E3(s);case"XXXX":case"XX":return wa(s);case"XXXXX":case"XXX":default:return wa(s,":")}},x:function(t,n,r,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(n){case"x":return E3(s);case"xxxx":case"xx":return wa(s);case"xxxxx":case"xxx":default:return wa(s,":")}},O:function(t,n,r,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+C3(s,":");case"OOOO":default:return"GMT"+wa(s,":")}},z:function(t,n,r,i){var o=i._originalDate||t,s=o.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+C3(s,":");case"zzzz":default:return"GMT"+wa(s,":")}},t:function(t,n,r,i){var o=i._originalDate||t,s=Math.floor(o.getTime()/1e3);return ot(s,n.length)},T:function(t,n,r,i){var o=i._originalDate||t,s=o.getTime();return ot(s,n.length)}};function C3(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(o===0)return n+String(i);var s=t||"";return n+String(i)+s+ot(o,2)}function E3(e,t){if(e%60===0){var n=e>0?"-":"+";return n+ot(Math.abs(e)/60,2)}return wa(e,t)}function wa(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e),o=ot(Math.floor(i/60),2),s=ot(i%60,2);return r+o+n+s}const mne=pne;var T3=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},Y6=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},gne=function(t,n){var r=t.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return T3(t,n);var s;switch(i){case"P":s=n.dateTime({width:"short"});break;case"PP":s=n.dateTime({width:"medium"});break;case"PPP":s=n.dateTime({width:"long"});break;case"PPPP":default:s=n.dateTime({width:"full"});break}return s.replace("{{date}}",T3(i,n)).replace("{{time}}",Y6(o,n))},vne={p:Y6,P:gne};const Dw=vne;var yne=["D","DD"],_ne=["YY","YYYY"];function q6(e){return yne.indexOf(e)!==-1}function G6(e){return _ne.indexOf(e)!==-1}function Zg(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var bne={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},wne=function(t,n,r){var i,o=bne[t];return typeof o=="string"?i=o:n===1?i=o.one:i=o.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};const xne=wne;function ab(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var Sne={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Cne={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ene={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Tne={date:ab({formats:Sne,defaultWidth:"full"}),time:ab({formats:Cne,defaultWidth:"full"}),dateTime:ab({formats:Ene,defaultWidth:"full"})};const One=Tne;var Pne={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},kne=function(t,n,r,i){return Pne[t]};const Mne=kne;function Pu(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):o;i=e.formattingValues[s]||e.formattingValues[o]}else{var a=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[l]||e.values[a]}var c=e.argumentCallback?e.argumentCallback(t):t;return i[c]}}var Rne={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Nne={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Lne={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Dne={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ane={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Ine={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Fne=function(t,n){var r=Number(t),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},$ne={ordinalNumber:Fne,era:Pu({values:Rne,defaultWidth:"wide"}),quarter:Pu({values:Nne,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Pu({values:Lne,defaultWidth:"wide"}),day:Pu({values:Dne,defaultWidth:"wide"}),dayPeriod:Pu({values:Ane,defaultWidth:"wide",formattingValues:Ine,defaultFormattingWidth:"wide"})};const jne=$ne;function ku(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var s=o[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?zne(a,function(h){return h.test(s)}):Bne(a,function(h){return h.test(s)}),c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;var f=t.slice(s.length);return{value:c,rest:f}}}function Bne(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function zne(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],o=t.match(e.parsePattern);if(!o)return null;var s=e.valueCallback?e.valueCallback(o[0]):o[0];s=n.valueCallback?n.valueCallback(s):s;var a=t.slice(i.length);return{value:s,rest:a}}}var Vne=/^(\d+)(th|st|nd|rd)?/i,Hne=/\d+/i,Wne={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Yne={any:[/^b/i,/^(a|c)/i]},qne={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Gne={any:[/1/i,/2/i,/3/i,/4/i]},Zne={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Kne={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Xne={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Qne={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Jne={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},ere={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},tre={ordinalNumber:Une({matchPattern:Vne,parsePattern:Hne,valueCallback:function(t){return parseInt(t,10)}}),era:ku({matchPatterns:Wne,defaultMatchWidth:"wide",parsePatterns:Yne,defaultParseWidth:"any"}),quarter:ku({matchPatterns:qne,defaultMatchWidth:"wide",parsePatterns:Gne,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:ku({matchPatterns:Zne,defaultMatchWidth:"wide",parsePatterns:Kne,defaultParseWidth:"any"}),day:ku({matchPatterns:Xne,defaultMatchWidth:"wide",parsePatterns:Qne,defaultParseWidth:"any"}),dayPeriod:ku({matchPatterns:Jne,defaultMatchWidth:"any",parsePatterns:ere,defaultParseWidth:"any"})};const nre=tre;var rre={code:"en-US",formatDistance:xne,formatLong:One,formatRelative:Mne,localize:jne,match:nre,options:{weekStartsOn:0,firstWeekContainsDate:1}};const sE=rre;var ire=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ore=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,sre=/^'([^]*?)'?$/,are=/''/g,lre=/[a-zA-Z]/;function vo(e,t,n){var r,i,o,s,a,l,c,f,h,p,m,g,_,x,v,b,w,E;Oe(2,arguments);var P=String(t),k=Uo(),N=(r=(i=n==null?void 0:n.locale)!==null&&i!==void 0?i:k.locale)!==null&&r!==void 0?r:sE,A=tt((o=(s=(a=(l=n==null?void 0:n.firstWeekContainsDate)!==null&&l!==void 0?l:n==null||(c=n.locale)===null||c===void 0||(f=c.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&a!==void 0?a:k.firstWeekContainsDate)!==null&&s!==void 0?s:(h=k.locale)===null||h===void 0||(p=h.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(A>=1&&A<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var V=tt((m=(g=(_=(x=n==null?void 0:n.weekStartsOn)!==null&&x!==void 0?x:n==null||(v=n.locale)===null||v===void 0||(b=v.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&_!==void 0?_:k.weekStartsOn)!==null&&g!==void 0?g:(w=k.locale)===null||w===void 0||(E=w.options)===null||E===void 0?void 0:E.weekStartsOn)!==null&&m!==void 0?m:0);if(!(V>=0&&V<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!N.localize)throw new RangeError("locale must contain localize property");if(!N.formatLong)throw new RangeError("locale must contain formatLong property");var I=Me(e);if(!B6(I))throw new RangeError("Invalid time value");var Y=Rc(I),q=U6(I,Y),X={firstWeekContainsDate:A,weekStartsOn:V,locale:N,_originalDate:I},Z=P.match(ore).map(function(J){var oe=J[0];if(oe==="p"||oe==="P"){var ce=Dw[oe];return ce(J,N.formatLong)}return J}).join("").match(ire).map(function(J){if(J==="''")return"'";var oe=J[0];if(oe==="'")return cre(J);var ce=mne[oe];if(ce)return!(n!=null&&n.useAdditionalWeekYearTokens)&&G6(J)&&Zg(J,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&q6(J)&&Zg(J,t,String(e)),ce(q,J,N.localize,X);if(oe.match(lre))throw new RangeError("Format string contains an unescaped latin alphabet character `"+oe+"`");return J}).join("");return Z}function cre(e){var t=e.match(sre);return t?t[1].replace(are,"'"):e}function aE(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function ure(e){return aE({},e)}var O3=1440,fre=2520,lb=43200,dre=86400;function hre(e,t,n){var r,i;Oe(2,arguments);var o=Uo(),s=(r=(i=n==null?void 0:n.locale)!==null&&i!==void 0?i:o.locale)!==null&&r!==void 0?r:sE;if(!s.formatDistance)throw new RangeError("locale must contain formatDistance property");var a=im(e,t);if(isNaN(a))throw new RangeError("Invalid time value");var l=aE(ure(n),{addSuffix:Boolean(n==null?void 0:n.addSuffix),comparison:a}),c,f;a>0?(c=Me(t),f=Me(e)):(c=Me(e),f=Me(t));var h=tne(f,c),p=(Rc(f)-Rc(c))/1e3,m=Math.round((h-p)/60),g;if(m<2)return n!=null&&n.includeSeconds?h<5?s.formatDistance("lessThanXSeconds",5,l):h<10?s.formatDistance("lessThanXSeconds",10,l):h<20?s.formatDistance("lessThanXSeconds",20,l):h<40?s.formatDistance("halfAMinute",0,l):h<60?s.formatDistance("lessThanXMinutes",1,l):s.formatDistance("xMinutes",1,l):m===0?s.formatDistance("lessThanXMinutes",1,l):s.formatDistance("xMinutes",m,l);if(m<45)return s.formatDistance("xMinutes",m,l);if(m<90)return s.formatDistance("aboutXHours",1,l);if(mr.getTime()}function Kr(e,t){Oe(2,arguments);var n=Me(e),r=Me(t);return n.getTime()"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 Xg(e){return Xg=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xg(e)}function lE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k3(e,t){for(var n=0;n"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 Qg(e){return Qg=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qg(e)}function N3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dre=function(e){Mre(n,e);var t=Rre(n);function n(){var r;Pre(this,n);for(var i=arguments.length,o=new Array(i),s=0;s0,r=n?t:1-t,i;if(r<=50)i=e||100;else{var o=r+50,s=Math.floor(o/100)*100,a=e>=o%100;i=e+s-(a?100:0)}return n?i:1-i}function t5(e){return e%400===0||e%4===0&&e%100!==0}function lm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?lm=function(n){return typeof n}:lm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},lm(e)}function Are(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L3(e,t){for(var n=0;n"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 ev(e){return ev=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ev(e)}function D3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zre=function(e){Fre(n,e);var t=$re(n);function n(){var r;Are(this,n);for(var i=arguments.length,o=new Array(i),s=0;s0}},{key:"set",value:function(i,o,s){var a=i.getUTCFullYear();if(s.isTwoDigitYear){var l=e5(s.year,a);return i.setUTCFullYear(l,0,1),i.setUTCHours(0,0,0,0),i}var c=!("era"in o)||o.era===1?s.year:1-s.year;return i.setUTCFullYear(c,0,1),i.setUTCHours(0,0,0,0),i}}]),n}(vt);function cm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?cm=function(n){return typeof n}:cm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},cm(e)}function Ure(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A3(e,t){for(var n=0;n"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 tv(e){return tv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tv(e)}function I3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gre=function(e){Hre(n,e);var t=Wre(n);function n(){var r;Ure(this,n);for(var i=arguments.length,o=new Array(i),s=0;s0}},{key:"set",value:function(i,o,s,a){var l=oE(i,a);if(s.isTwoDigitYear){var c=e5(s.year,l);return i.setUTCFullYear(c,0,a.firstWeekContainsDate),i.setUTCHours(0,0,0,0),el(i,a)}var f=!("era"in o)||o.era===1?s.year:1-s.year;return i.setUTCFullYear(f,0,a.firstWeekContainsDate),i.setUTCHours(0,0,0,0),el(i,a)}}]),n}(vt);function um(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?um=function(n){return typeof n}:um=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},um(e)}function Zre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F3(e,t){for(var n=0;n"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 nv(e){return nv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nv(e)}function $3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tie=function(e){Xre(n,e);var t=Qre(n);function n(){var r;Zre(this,n);for(var i=arguments.length,o=new Array(i),s=0;s"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 rv(e){return rv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rv(e)}function B3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lie=function(e){iie(n,e);var t=oie(n);function n(){var r;nie(this,n);for(var i=arguments.length,o=new Array(i),s=0;s"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 iv(e){return iv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iv(e)}function U3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mie=function(e){fie(n,e);var t=die(n);function n(){var r;cie(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=4}},{key:"set",value:function(i,o,s){return i.setUTCMonth((s-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),n}(vt);function hm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?hm=function(n){return typeof n}:hm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},hm(e)}function gie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V3(e,t){for(var n=0;n"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 ov(e){return ov=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ov(e)}function H3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xie=function(e){yie(n,e);var t=_ie(n);function n(){var r;gie(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=4}},{key:"set",value:function(i,o,s){return i.setUTCMonth((s-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),n}(vt);function pm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?pm=function(n){return typeof n}:pm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},pm(e)}function Sie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W3(e,t){for(var n=0;n"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 sv(e){return sv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sv(e)}function Y3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kie=function(e){Eie(n,e);var t=Tie(n);function n(){var r;Sie(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=11}},{key:"set",value:function(i,o,s){return i.setUTCMonth(s,1),i.setUTCHours(0,0,0,0),i}}]),n}(vt);function mm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?mm=function(n){return typeof n}:mm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},mm(e)}function Mie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q3(e,t){for(var n=0;n"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 av(e){return av=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},av(e)}function G3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Iie=function(e){Nie(n,e);var t=Lie(n);function n(){var r;Mie(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=11}},{key:"set",value:function(i,o,s){return i.setUTCMonth(s,1),i.setUTCHours(0,0,0,0),i}}]),n}(vt);function Fie(e,t,n){Oe(2,arguments);var r=Me(e),i=tt(t),o=W6(r,n)-i;return r.setUTCDate(r.getUTCDate()-o*7),r}function gm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?gm=function(n){return typeof n}:gm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},gm(e)}function $ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z3(e,t){for(var n=0;n"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 lv(e){return lv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lv(e)}function K3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Hie=function(e){Bie(n,e);var t=zie(n);function n(){var r;$ie(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=53}},{key:"set",value:function(i,o,s,a){return el(Fie(i,s,a),a)}}]),n}(vt);function Wie(e,t){Oe(2,arguments);var n=Me(e),r=tt(t),i=H6(n)-r;return n.setUTCDate(n.getUTCDate()-i*7),n}function vm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?vm=function(n){return typeof n}:vm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},vm(e)}function Yie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X3(e,t){for(var n=0;n"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 cv(e){return cv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cv(e)}function Q3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qie=function(e){Gie(n,e);var t=Zie(n);function n(){var r;Yie(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=53}},{key:"set",value:function(i,o,s){return Lc(Wie(i,s))}}]),n}(vt);function ym(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ym=function(n){return typeof n}:ym=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},ym(e)}function Jie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J3(e,t){for(var n=0;n"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 uv(e){return uv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uv(e)}function cb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ooe=[31,28,31,30,31,30,31,31,30,31,30,31],soe=[31,29,31,30,31,30,31,31,30,31,30,31],aoe=function(e){toe(n,e);var t=noe(n);function n(){var r;Jie(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=soe[l]:o>=1&&o<=ooe[l]}},{key:"set",value:function(i,o,s){return i.setUTCDate(s),i.setUTCHours(0,0,0,0),i}}]),n}(vt);function bm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?bm=function(n){return typeof n}:bm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},bm(e)}function loe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eM(e,t){for(var n=0;n"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 fv(e){return fv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fv(e)}function ub(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var poe=function(e){uoe(n,e);var t=foe(n);function n(){var r;loe(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(i,o,s){return i.setUTCMonth(0,s),i.setUTCHours(0,0,0,0),i}}]),n}(vt);function fE(e,t,n){var r,i,o,s,a,l,c,f;Oe(2,arguments);var h=Uo(),p=tt((r=(i=(o=(s=n==null?void 0:n.weekStartsOn)!==null&&s!==void 0?s:n==null||(a=n.locale)===null||a===void 0||(l=a.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&o!==void 0?o:h.weekStartsOn)!==null&&i!==void 0?i:(c=h.locale)===null||c===void 0||(f=c.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&r!==void 0?r:0);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=Me(e),g=tt(t),_=m.getUTCDay(),x=g%7,v=(x+7)%7,b=(v"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 dv(e){return dv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dv(e)}function nM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var woe=function(e){voe(n,e);var t=yoe(n);function n(){var r;moe(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=6}},{key:"set",value:function(i,o,s,a){return i=fE(i,s,a),i.setUTCHours(0,0,0,0),i}}]),n}(vt);function Sm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Sm=function(n){return typeof n}:Sm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Sm(e)}function xoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rM(e,t){for(var n=0;n"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 hv(e){return hv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hv(e)}function iM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Poe=function(e){Coe(n,e);var t=Eoe(n);function n(){var r;xoe(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=6}},{key:"set",value:function(i,o,s,a){return i=fE(i,s,a),i.setUTCHours(0,0,0,0),i}}]),n}(vt);function Cm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Cm=function(n){return typeof n}:Cm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Cm(e)}function koe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oM(e,t){for(var n=0;n"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 pv(e){return pv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pv(e)}function sM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Aoe=function(e){Roe(n,e);var t=Noe(n);function n(){var r;koe(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=6}},{key:"set",value:function(i,o,s,a){return i=fE(i,s,a),i.setUTCHours(0,0,0,0),i}}]),n}(vt);function Ioe(e,t){Oe(2,arguments);var n=tt(t);n%7===0&&(n=n-7);var r=1,i=Me(e),o=i.getUTCDay(),s=n%7,a=(s+7)%7,l=(a"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 mv(e){return mv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mv(e)}function lM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Voe=function(e){joe(n,e);var t=Boe(n);function n(){var r;Foe(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=7}},{key:"set",value:function(i,o,s){return i=Ioe(i,s),i.setUTCHours(0,0,0,0),i}}]),n}(vt);function Tm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Tm=function(n){return typeof n}:Tm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Tm(e)}function Hoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cM(e,t){for(var n=0;n"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 gv(e){return gv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gv(e)}function uM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Koe=function(e){Yoe(n,e);var t=qoe(n);function n(){var r;Hoe(this,n);for(var i=arguments.length,o=new Array(i),s=0;s"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 vv(e){return vv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vv(e)}function dM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rse=function(e){Joe(n,e);var t=ese(n);function n(){var r;Xoe(this,n);for(var i=arguments.length,o=new Array(i),s=0;s"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 yv(e){return yv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yv(e)}function pM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var use=function(e){sse(n,e);var t=ase(n);function n(){var r;ise(this,n);for(var i=arguments.length,o=new Array(i),s=0;s"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 _v(e){return _v=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_v(e)}function gM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vse=function(e){hse(n,e);var t=pse(n);function n(){var r;fse(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=12}},{key:"set",value:function(i,o,s){var a=i.getUTCHours()>=12;return a&&s<12?i.setUTCHours(s+12,0,0,0):!a&&s===12?i.setUTCHours(0,0,0,0):i.setUTCHours(s,0,0,0),i}}]),n}(vt);function Mm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Mm=function(n){return typeof n}:Mm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Mm(e)}function yse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vM(e,t){for(var n=0;n"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 bv(e){return bv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bv(e)}function yM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cse=function(e){bse(n,e);var t=wse(n);function n(){var r;yse(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=23}},{key:"set",value:function(i,o,s){return i.setUTCHours(s,0,0,0),i}}]),n}(vt);function Rm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Rm=function(n){return typeof n}:Rm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Rm(e)}function Ese(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _M(e,t){for(var n=0;n"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 wv(e){return wv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wv(e)}function bM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rse=function(e){Ose(n,e);var t=Pse(n);function n(){var r;Ese(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=11}},{key:"set",value:function(i,o,s){var a=i.getUTCHours()>=12;return a&&s<12?i.setUTCHours(s+12,0,0,0):i.setUTCHours(s,0,0,0),i}}]),n}(vt);function Nm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Nm=function(n){return typeof n}:Nm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Nm(e)}function Nse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wM(e,t){for(var n=0;n"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 xv(e){return xv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xv(e)}function xM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $se=function(e){Dse(n,e);var t=Ase(n);function n(){var r;Nse(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=1&&o<=24}},{key:"set",value:function(i,o,s){var a=s<=24?s%24:s;return i.setUTCHours(a,0,0,0),i}}]),n}(vt);function Lm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Lm=function(n){return typeof n}:Lm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Lm(e)}function jse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SM(e,t){for(var n=0;n"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 Sv(e){return Sv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sv(e)}function CM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wse=function(e){zse(n,e);var t=Use(n);function n(){var r;jse(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=59}},{key:"set",value:function(i,o,s){return i.setUTCMinutes(s,0,0),i}}]),n}(vt);function Dm(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Dm=function(n){return typeof n}:Dm=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Dm(e)}function Yse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EM(e,t){for(var n=0;n"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 Cv(e){return Cv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cv(e)}function TM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qse=function(e){Gse(n,e);var t=Zse(n);function n(){var r;Yse(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=0&&o<=59}},{key:"set",value:function(i,o,s){return i.setUTCSeconds(s,0),i}}]),n}(vt);function Am(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Am=function(n){return typeof n}:Am=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Am(e)}function Jse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OM(e,t){for(var n=0;n"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 Ev(e){return Ev=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ev(e)}function PM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oae=function(e){tae(n,e);var t=nae(n);function n(){var r;Jse(this,n);for(var i=arguments.length,o=new Array(i),s=0;s"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 Tv(e){return Tv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tv(e)}function MM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dae=function(e){lae(n,e);var t=cae(n);function n(){var r;sae(this,n);for(var i=arguments.length,o=new Array(i),s=0;s"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 Ov(e){return Ov=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ov(e)}function NM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _ae=function(e){mae(n,e);var t=gae(n);function n(){var r;hae(this,n);for(var i=arguments.length,o=new Array(i),s=0;s"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 Pv(e){return Pv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pv(e)}function DM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tae=function(e){xae(n,e);var t=Sae(n);function n(){var r;bae(this,n);for(var i=arguments.length,o=new Array(i),s=0;s"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 kv(e){return kv=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kv(e)}function IM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lae=function(e){kae(n,e);var t=Mae(n);function n(){var r;Oae(this,n);for(var i=arguments.length,o=new Array(i),s=0;s"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=Aae(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,a;return{s:function(){n=e[Symbol.iterator]()},n:function(){var c=n.next();return o=c.done,c},e:function(c){s=!0,a=c},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw a}}}}function Aae(e,t){if(e){if(typeof e=="string")return $M(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 $M(e,t)}}function $M(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=1&&I<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var Y=tt((g=(_=(x=(v=r==null?void 0:r.weekStartsOn)!==null&&v!==void 0?v:r==null||(b=r.locale)===null||b===void 0||(w=b.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&x!==void 0?x:A.weekStartsOn)!==null&&_!==void 0?_:(E=A.locale)===null||E===void 0||(P=E.options)===null||P===void 0?void 0:P.weekStartsOn)!==null&&g!==void 0?g:0);if(!(Y>=0&&Y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(N==="")return k===""?Me(n):new Date(NaN);var q={firstWeekContainsDate:I,weekStartsOn:Y,locale:V},X=[new Ere],Z=N.match(Fae).map(function(O){var R=O[0];if(R in Dw){var F=Dw[R];return F(O,V.formatLong)}return O}).join("").match(Iae),J=[],oe=FM(Z),ce;try{var K=function(){var R=ce.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&G6(R)&&Zg(R,N,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&q6(R)&&Zg(R,N,e);var F=R[0],ee=Dae[F];if(ee){var Q=ee.incompatibleTokens;if(Array.isArray(Q)){var se=J.find(function(Le){return Q.includes(Le.token)||Le.token===F});if(se)throw new RangeError("The format string mustn't contain `".concat(se.fullToken,"` and `").concat(R,"` at the same time"))}else if(ee.incompatibleTokens==="*"&&J.length>0)throw new RangeError("The format string mustn't contain `".concat(R,"` and any other token at the same time"));J.push({token:F,fullToken:R});var ve=ee.run(k,R,V.match,q);if(!ve)return{v:new Date(NaN)};X.push(ve.setter),k=ve.rest}else{if(F.match(zae))throw new RangeError("Format string contains an unescaped latin alphabet character `"+F+"`");if(R==="''"?R="'":F==="'"&&(R=Uae(R)),k.indexOf(R)===0)k=k.slice(R.length);else return{v:new Date(NaN)}}};for(oe.s();!(ce=oe.n()).done;){var $=K();if(Bm($)==="object")return $.v}}catch(O){oe.e(O)}finally{oe.f()}if(k.length>0&&Bae.test(k))return new Date(NaN);var D=X.map(function(O){return O.priority}).sort(function(O,R){return R-O}).filter(function(O,R,F){return F.indexOf(O)===R}).map(function(O){return X.filter(function(R){return R.priority===O}).sort(function(R,F){return F.subPriority-R.subPriority})}).map(function(O){return O[0]}),B=Me(n);if(isNaN(B.getTime()))return new Date(NaN);var ne=U6(B,Rc(B)),W={},G=FM(D),re;try{for(G.s();!(re=G.n()).done;){var le=re.value;if(!le.validate(ne,q))return new Date(NaN);var me=le.set(ne,W,q);Array.isArray(me)?(ne=me[0],aE(W,me[1])):ne=me}}catch(O){G.e(O)}finally{G.f()}return ne}function Uae(e){return e.match($ae)[1].replace(jae,"'")}function Vae(e,t){Oe(2,arguments);var n=Me(e),r=Me(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function Hae(e,t){Oe(2,arguments);var n=Lw(e),r=Lw(t);return n.getTime()===r.getTime()}function Wae(e,t){Oe(2,arguments);var n=Me(e),r=Me(t);return n.getFullYear()===r.getFullYear()}function Dc(e,t){Oe(2,arguments);var n=Me(e).getTime(),r=Me(t.start).getTime(),i=Me(t.end).getTime();if(!(r<=i))throw new RangeError("Invalid interval");return n>=r&&n<=i}function dE(e,t){Oe(2,arguments);var n=tt(t);return ll(e,-n)}function Lo(e,t){var n;Oe(1,arguments);var r=tt((n=t==null?void 0:t.additionalDigits)!==null&&n!==void 0?n:2);if(r!==2&&r!==1&&r!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof e=="string"||Object.prototype.toString.call(e)==="[object String]"))return new Date(NaN);var i=Zae(e),o;if(i.date){var s=Kae(i.date,r);o=Xae(s.restDateString,s.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var a=o.getTime(),l=0,c;if(i.time&&(l=Qae(i.time),isNaN(l)))return new Date(NaN);if(i.timezone){if(c=Jae(i.timezone),isNaN(c))return new Date(NaN)}else{var f=new Date(a+l),h=new Date(0);return h.setFullYear(f.getUTCFullYear(),f.getUTCMonth(),f.getUTCDate()),h.setHours(f.getUTCHours(),f.getUTCMinutes(),f.getUTCSeconds(),f.getUTCMilliseconds()),h}return new Date(a+l+c)}var fp={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Yae=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,qae=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Gae=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Zae(e){var t={},n=e.split(fp.dateTimeDelimiter),r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],fp.timeZoneDelimiter.test(t.date)&&(t.date=e.split(fp.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){var i=fp.timezone.exec(r);i?(t.time=r.replace(i[1],""),t.timezone=i[1]):t.time=r}return t}function Kae(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:o===null?i:o*100,restDateString:e.slice((r[1]||r[2]).length)}}function Xae(e,t){if(t===null)return new Date(NaN);var n=e.match(Yae);if(!n)return new Date(NaN);var r=!!n[4],i=Mu(n[1]),o=Mu(n[2])-1,s=Mu(n[3]),a=Mu(n[4]),l=Mu(n[5])-1;if(r)return ile(t,a,l)?ele(t,a,l):new Date(NaN);var c=new Date(0);return!nle(t,o,s)||!rle(t,i)?new Date(NaN):(c.setUTCFullYear(t,o,Math.max(i,s)),c)}function Mu(e){return e?parseInt(e):1}function Qae(e){var t=e.match(qae);if(!t)return NaN;var n=db(t[1]),r=db(t[2]),i=db(t[3]);return ole(n,r,i)?n*s_+r*tE+i*1e3:NaN}function db(e){return e&&parseFloat(e.replace(",","."))||0}function Jae(e){if(e==="Z")return 0;var t=e.match(Gae);if(!t)return 0;var n=t[1]==="+"?-1:1,r=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return sle(r,i)?n*(r*s_+i*tE):NaN}function ele(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var i=r.getUTCDay()||7,o=(t-1)*7+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}var tle=[31,null,31,30,31,30,31,31,30,31,30,31];function n5(e){return e%400===0||e%4===0&&e%100!==0}function nle(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(tle[t]||(n5(e)?29:28))}function rle(e,t){return t>=1&&t<=(n5(e)?366:365)}function ile(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function ole(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function sle(e,t){return t>=0&&t<=59}function Wi(e,t){Oe(2,arguments);var n=Me(e),r=tt(t),i=n.getFullYear(),o=n.getDate(),s=new Date(0);s.setFullYear(i,r,15),s.setHours(0,0,0,0);var a=gre(s);return n.setMonth(r,Math.min(o,a)),n}function pf(e,t){Oe(2,arguments);var n=Me(e),r=tt(t);return n.setHours(r),n}function mf(e,t){Oe(2,arguments);var n=Me(e),r=tt(t);return n.setMinutes(r),n}function Wu(e,t){Oe(2,arguments);var n=Me(e),r=tt(t),i=Math.floor(n.getMonth()/3)+1,o=r-i;return Wi(n,n.getMonth()+o*3)}function ale(e,t){Oe(2,arguments);var n=Me(e),r=tt(t);return n.setSeconds(r),n}function Mv(e,t){Oe(2,arguments);var n=Me(e),r=tt(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}function fd(e,t){Oe(2,arguments);var n=tt(t);return no(e,-n)}function lle(e,t){Oe(2,arguments);var n=tt(t);return eE(e,-n)}function dd(e,t){Oe(2,arguments);var n=tt(t);return Nc(e,-n)}const gf="yyyy-MM-dd",hE="yyyy-MM-dd HH:mm",Fs=()=>new Date,pE=e=>typeof e!="string",r5=(e,t)=>!e||!pE(e)?e:t?vo(e,t):pre(e),i5=(e=gf)=>t=>r5(t,e),$s=e=>r5(e,void 0),dp=i5(),Rv=i5(hE),bi=e=>pE(e)?e:Lo(e),jM=e=>e?bi(e):null,Yd=(e,t,n)=>{try{return Dc(bi(e),{start:bi(t??e),end:bi(n??e)})}catch{return!1}},fa=(e,t)=>Z6(e,t)||Kr(e,t),qd="all",o5={today:"Today",yesterday:"Yesterday",last7Days:"Last 7 days",last30Days:"Last 30 days",last90Days:"Last 90 days",last180Days:"Last 180 days",last365Days:"Last 365 days",[qd]:void 0},s5=Object.keys(o5),a5=e=>e===void 0||Hn(aA(Boolean,e)),Nv=e=>typeof e=="string"&&s5.includes(e),cle=s5.filter(e=>e!==qd),l5=(e,t)=>({startDate:jM(e),endDate:jM(t)}),ule=e=>{if(!(!e||a5(e)))return e.startDate&&!e.endDate?`Since ${dp(e.startDate)}`:!e.startDate&&e.endDate?`Until ${dp(e.endDate)}`:`${dp(e.startDate)} - ${dp(e.endDate)}`},mE=e=>{if(!(!e||e===qd))return Nv(e)?o5[e]:ule(e)},Yr=e=>Mr(dE(Fs(),e)),kl=e=>({startDate:e,endDate:Ja(Fs())}),c5=$y([[ua("today"),()=>kl(Mr(Fs()))],[ua("yesterday"),()=>({startDate:Yr(1),endDate:Ja(dE(Fs(),1))})],[ua("last7Days"),()=>kl(Yr(7))],[ua("last30Days"),()=>kl(Yr(30))],[ua("last90Days"),()=>kl(Yr(90))],[ua("last180Days"),()=>kl(Yr(180))],[ua("last365Days"),()=>kl(Yr(365))],[kS,()=>({})]]),fle=e=>{const t=bi(e);return $y([[()=>fa(Mr(Fs()),t),()=>"today"],[()=>fa(Yr(1),t),()=>"yesterday"],[()=>fa(Yr(7),t),()=>"last7Days"],[()=>fa(Yr(30),t),()=>"last30Days"],[()=>fa(Yr(90),t),()=>"last90Days"],[()=>fa(Yr(180),t),()=>"last180Days"],[()=>fa(Yr(365),t),()=>"last365Days"],[kS,()=>qd]])()},dle=e=>Nv(e)?c5(e):e;function hle(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,H2(e,t)}function H2(e,t){return H2=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},H2(e,t)}function ple(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function BM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mle(e,t,n){return e===t?!0:e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n)}function gle(e,t,n){if(e===t)return!0;for(;e.parentNode||e.host;){if(e.parentNode&&mle(e,t,n))return!0;e=e.parentNode||e.host}return e}function vle(e){return document.documentElement.clientWidth<=e.clientX||document.documentElement.clientHeight<=e.clientY}var yle=function(){if(!(typeof window>"u"||typeof window.addEventListener!="function")){var t=!1,n=Object.defineProperty({},"passive",{get:function(){t=!0}}),r=function(){};return window.addEventListener("testPassiveEventSupport",r,n),window.removeEventListener("testPassiveEventSupport",r,n),t}};function _le(e){return e===void 0&&(e=0),function(){return++e}}var ble=_le(),W2,hp={},hb={},wle=["touchstart","touchmove"],xle="ignore-react-onclickoutside";function zM(e,t){var n=null,r=wle.indexOf(t)!==-1;return r&&W2&&(n={passive:!e.props.preventDefault}),n}function a_(e,t){var n,r,i=e.displayName||e.name||"Component";return r=n=function(o){hle(s,o);function s(l){var c;return c=o.call(this,l)||this,c.__outsideClickHandler=function(f){if(typeof c.__clickOutsideHandlerProp=="function"){c.__clickOutsideHandlerProp(f);return}var h=c.getInstance();if(typeof h.props.handleClickOutside=="function"){h.props.handleClickOutside(f);return}if(typeof h.handleClickOutside=="function"){h.handleClickOutside(f);return}throw new Error("WrappedComponent: "+i+" lacks a handleClickOutside(event) function for processing outside click events.")},c.__getComponentNode=function(){var f=c.getInstance();return t&&typeof t.setClickOutsideRef=="function"?t.setClickOutsideRef()(f):typeof f.setClickOutsideRef=="function"?f.setClickOutsideRef():Ba.findDOMNode(f)},c.enableOnClickOutside=function(){if(!(typeof document>"u"||hb[c._uid])){typeof W2>"u"&&(W2=yle()),hb[c._uid]=!0;var f=c.props.eventTypes;f.forEach||(f=[f]),hp[c._uid]=function(h){if(c.componentNode!==null&&(c.props.preventDefault&&h.preventDefault(),c.props.stopPropagation&&h.stopPropagation(),!(c.props.excludeScrollbar&&vle(h)))){var p=h.composed&&h.composedPath&&h.composedPath().shift()||h.target;gle(p,c.componentNode,c.props.outsideClickIgnoreClass)===document&&c.__outsideClickHandler(h)}},f.forEach(function(h){document.addEventListener(h,hp[c._uid],zM(BM(c),h))})}},c.disableOnClickOutside=function(){delete hb[c._uid];var f=hp[c._uid];if(f&&typeof document<"u"){var h=c.props.eventTypes;h.forEach||(h=[h]),h.forEach(function(p){return document.removeEventListener(p,f,zM(BM(c),p))}),delete hp[c._uid]}},c.getRef=function(f){return c.instanceRef=f},c._uid=ble(),c}var a=s.prototype;return a.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var c=this.instanceRef;return c.getInstance?c.getInstance():c},a.componentDidMount=function(){if(!(typeof document>"u"||!document.createElement)){var c=this.getInstance();if(t&&typeof t.handleClickOutside=="function"&&(this.__clickOutsideHandlerProp=t.handleClickOutside(c),typeof this.__clickOutsideHandlerProp!="function"))throw new Error("WrappedComponent: "+i+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),!this.props.disableOnClickOutside&&this.enableOnClickOutside()}},a.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},a.componentWillUnmount=function(){this.disableOnClickOutside()},a.render=function(){var c=this.props;c.excludeScrollbar;var f=ple(c,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?f.ref=this.getRef:f.wrappedRef=this.getRef,f.disableOnClickOutside=this.disableOnClickOutside,f.enableOnClickOutside=this.enableOnClickOutside,H.createElement(e,f)},s}(H.Component),n.displayName="OnClickOutside("+i+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:xle,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},r}var u5=H.createContext(),f5=H.createContext();function Sle(e){var t=e.children,n=H.useState(null),r=n[0],i=n[1],o=H.useRef(!1);H.useEffect(function(){return function(){o.current=!0}},[]);var s=H.useCallback(function(a){o.current||i(a)},[]);return H.createElement(u5.Provider,{value:r},H.createElement(f5.Provider,{value:s},t))}var d5=function(t){return Array.isArray(t)?t[0]:t},h5=function(t){if(typeof t=="function"){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i"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}}();return function(){var n,r=q2(e);if(t){var i=q2(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Rle(this,n)}}function g5(e){return function(t){if(Array.isArray(t))return pb(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(t){if(typeof t=="string")return pb(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pb(t,n)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function pb(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(o=fb(e,t.slice(0,e.length),new Date)),ts(o)||(o=new Date(e))),ts(o)&&a?o:null)}function ts(e,t){return t=t||new Date("1/1/1000"),B6(e)&&!Kr(e,t)}function an(e,t,n){if(n==="en")return vo(e,t,{awareOfUnicodeTokens:!0});var r=Os(n);return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&Fa()&&Os(Fa())&&(r=Os(Fa())),vo(e,t,{locale:r||null,awareOfUnicodeTokens:!0})}function mb(e,t){var n=t.dateFormat,r=t.locale;return e&&an(e,Array.isArray(n)?n[0]:n,r)||""}function ZM(e,t){var n=t.hour,r=n===void 0?0:n,i=t.minute,o=i===void 0?0:i,s=t.second;return pf(mf(ale(e,s===void 0?0:s),o),r)}function Ale(e,t){var n=t&&Os(t)||Fa()&&Os(Fa());return yre(e,n?{locale:n}:null)}function Ile(e,t){return an(e,"ddd",t)}function Fle(e){return Mr(e)}function gE(e,t,n){var r=Os(t||Fa());return j6(e,{locale:r,weekStartsOn:n})}function Ia(e){return rne(e)}function Yu(e){return ine(e)}function $le(e){return Lw(e)}function v5(e,t){return e&&t?Wae(e,t):!e&&!t}function us(e,t){return e&&t?Vae(e,t):!e&&!t}function Lv(e,t){return e&&t?Hae(e,t):!e&&!t}function pr(e,t){return e&&t?Kte(e,t):!e&&!t}function fs(e,t){return e&&t?Z6(e,t):!e&&!t}function zm(e,t,n){var r,i=Mr(t),o=Ja(n);try{r=Dc(e,{start:i,end:o})}catch{r=!1}return r}function Fa(){return(typeof window<"u"?window:globalThis).__localeId__}function Os(e){if(typeof e=="string"){var t=typeof window<"u"?window:globalThis;return t.__localeData__?t.__localeData__[e]:null}return e}function y5(e,t){return an(Wi(hn(),e),"LLLL",t)}function _5(e,t){return an(Wi(hn(),e),"LLL",t)}function jle(e,t){return an(Wu(hn(),e),"QQQ",t)}function c_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.minDate,r=t.maxDate,i=t.excludeDates,o=t.excludeDateIntervals,s=t.includeDates,a=t.includeDateIntervals,l=t.filterDate;return u_(e,{minDate:n,maxDate:r})||i&&i.some(function(c){return pr(e,c)})||o&&o.some(function(c){var f=c.start,h=c.end;return Dc(e,{start:f,end:h})})||s&&!s.some(function(c){return pr(e,c)})||a&&!a.some(function(c){var f=c.start,h=c.end;return Dc(e,{start:f,end:h})})||l&&!l(hn(e))||!1}function vE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.excludeDates,r=t.excludeDateIntervals;return r&&r.length>0?r.some(function(i){var o=i.start,s=i.end;return Dc(e,{start:o,end:s})}):n&&n.some(function(i){return pr(e,i)})||!1}function Ble(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.minDate,r=t.maxDate,i=t.excludeDates,o=t.includeDates,s=t.filterDate;return u_(e,{minDate:n,maxDate:r})||i&&i.some(function(a){return us(e,a)})||o&&!o.some(function(a){return us(e,a)})||s&&!s(hn(e))||!1}function zle(e,t,n,r){var i=mt(e),o=lr(e),s=mt(t),a=lr(t),l=mt(r);return i===s&&i===l?o<=n&&n<=a:i=n||li:void 0}function Ule(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.minDate,r=t.maxDate,i=t.excludeDates,o=t.includeDates,s=t.filterDate;return u_(e,{minDate:n,maxDate:r})||i&&i.some(function(a){return Lv(e,a)})||o&&!o.some(function(a){return Lv(e,a)})||s&&!s(hn(e))||!1}function Vle(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.minDate,r=t.maxDate,i=new Date(e,0,1);return u_(i,{minDate:n,maxDate:r})||!1}function Hle(e,t,n,r){var i=mt(e),o=Nw(e),s=mt(t),a=Nw(t),l=mt(r);return i===s&&i===l?o<=n&&n<=a:i=n||li:void 0}function u_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.minDate,r=t.maxDate;return n&&cd(e,n)<0||r&&cd(e,r)>0}function KM(e,t){return t.some(function(n){return Ei(n)===Ei(e)&&Ti(n)===Ti(e)})}function XM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.excludeTimes,r=t.includeTimes,i=t.filterTime;return n&&KM(e,n)||r&&!KM(e,r)||i&&!i(e)||!1}function QM(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var i,o=hn(),s=pf(mf(o,Ti(e)),Ei(e)),a=pf(mf(o,Ti(n)),Ei(n)),l=pf(mf(o,Ti(r)),Ei(r));try{i=!Dc(s,{start:a,end:l})}catch{i=!1}return i}function JM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.minDate,r=t.includeDates,i=fd(e,1);return n&&ud(n,i)>0||r&&r.every(function(o){return ud(o,i)>0})||!1}function eR(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.maxDate,r=t.includeDates,i=no(e,1);return n&&ud(i,n)>0||r&&r.every(function(o){return ud(i,o)>0})||!1}function tR(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.minDate,r=t.includeDates,i=dd(e,1);return n&&qg(n,i)>0||r&&r.every(function(o){return qg(o,i)>0})||!1}function nR(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.maxDate,r=t.includeDates,i=Nc(e,1);return n&&qg(i,n)>0||r&&r.every(function(o){return qg(i,o)>0})||!1}function b5(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter(function(i){return cd(i,t)>=0});return w3(r)}return n?w3(n):t}function w5(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter(function(i){return cd(i,t)<=0});return b3(r)}return n?b3(n):t}function rR(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,i=e.length;r1&&arguments[1]!==void 0?arguments[1]:12,n=Math.ceil(mt(e)/t)*t,r=n-(t-1);return{startPeriod:r,endPeriod:n}}function Yle(e,t,n,r){for(var i=[],o=0;o<2*t+1;o++){var s=e+t-o,a=!0;n&&(a=mt(n)<=s),r&&a&&(a=mt(r)>=s),a&&i.push(s)}return i}var qle=a_(function(e){Rn(n,z.Component);var t=Nn(n);function n(r){var i;kn(this,n),ie(ae(i=t.call(this,r)),"renderOptions",function(){var l=i.props.year,c=i.state.yearsList.map(function(p){return z.createElement("div",{className:l===p?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:p,onClick:i.onChange.bind(ae(i),p),"aria-selected":l===p?"true":void 0},l===p?z.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",p)}),f=i.props.minDate?mt(i.props.minDate):null,h=i.props.maxDate?mt(i.props.maxDate):null;return h&&i.state.yearsList.find(function(p){return p===h})||c.unshift(z.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:i.incrementYears},z.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),f&&i.state.yearsList.find(function(p){return p===f})||c.push(z.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:i.decrementYears},z.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),c}),ie(ae(i),"onChange",function(l){i.props.onChange(l)}),ie(ae(i),"handleClickOutside",function(){i.props.onCancel()}),ie(ae(i),"shiftYears",function(l){var c=i.state.yearsList.map(function(f){return f+l});i.setState({yearsList:c})}),ie(ae(i),"incrementYears",function(){return i.shiftYears(1)}),ie(ae(i),"decrementYears",function(){return i.shiftYears(-1)});var o=r.yearDropdownItemNumber,s=r.scrollableYearDropdown,a=o||(s?10:5);return i.state={yearsList:Yle(i.props.year,a,i.props.minDate,i.props.maxDate)},i.dropdownRef=H.createRef(),i}return Mn(n,[{key:"componentDidMount",value:function(){var r=this.dropdownRef.current;r&&(r.scrollTop=r.scrollHeight/2-r.clientHeight/2)}},{key:"render",value:function(){var r=ge({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return z.createElement("div",{className:r,ref:this.dropdownRef},this.renderOptions())}}]),n}()),Gle=function(e){Rn(n,z.Component);var t=Nn(n);function n(){var r;kn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s0&&arguments[0]!==void 0?arguments[0]:{},l=!1;r.getTabIndex()===0&&!a.isInputFocused&&r.isSameDay(r.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(l=!0),r.props.inline&&!r.props.shouldFocusDayInline&&(l=!1),r.props.containerRef&&r.props.containerRef.current&&r.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(l=!0)),l&&r.dayEl.current.focus({preventScroll:!0})}),ie(ae(r),"renderDayContents",function(){return r.props.monthShowsDuplicateDaysEnd&&r.isAfterMonth()||r.props.monthShowsDuplicateDaysStart&&r.isBeforeMonth()?null:r.props.renderDayContents?r.props.renderDayContents(P3(r.props.day),r.props.day):P3(r.props.day)}),ie(ae(r),"render",function(){return z.createElement("div",{ref:r.dayEl,className:r.getClassNames(r.props.day),onKeyDown:r.handleOnKeyDown,onClick:r.handleClick,onMouseEnter:r.handleMouseEnter,tabIndex:r.getTabIndex(),"aria-label":r.getAriaLabel(),role:"option","aria-disabled":r.isDisabled(),"aria-current":r.isCurrentDay()?"date":void 0,"aria-selected":r.isSelected()},r.renderDayContents())}),r}return Mn(n,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(r){this.handleFocusDay(r)}}]),n}(),tce=function(e){Rn(n,z.Component);var t=Nn(n);function n(){var r;kn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s=6,m=!l&&!r.isWeekInMonth(h);if(p||m){if(!r.props.peekNextMonth)break;f=!0}}return a}),ie(ae(r),"onMonthClick",function(a,l){r.handleDayClick(Ia(Wi(r.props.day,l)),a)}),ie(ae(r),"handleMonthNavigation",function(a,l){r.isDisabled(l)||r.isExcluded(l)||(r.props.setPreSelection(l),r.MONTH_REFS[a].current&&r.MONTH_REFS[a].current.focus())}),ie(ae(r),"onMonthKeyDown",function(a,l){var c=a.key;if(!r.props.disabledKeyboardNavigation)switch(c){case"Enter":r.onMonthClick(a,l),r.props.setPreSelection(r.props.selected);break;case"ArrowRight":r.handleMonthNavigation(l===11?0:l+1,no(r.props.preSelection,1));break;case"ArrowLeft":r.handleMonthNavigation(l===0?11:l-1,fd(r.props.preSelection,1))}}),ie(ae(r),"onQuarterClick",function(a,l){r.handleDayClick($le(Wu(r.props.day,l)),a)}),ie(ae(r),"getMonthClassNames",function(a){var l=r.props,c=l.day,f=l.startDate,h=l.endDate,p=l.selected,m=l.minDate,g=l.maxDate,_=l.preSelection,x=l.monthClassName,v=x?x(c):void 0;return ge("react-datepicker__month-text","react-datepicker__month-".concat(a),v,{"react-datepicker__month--disabled":(m||g)&&Ble(Wi(c,a),r.props),"react-datepicker__month--selected":r.isSelectedMonth(c,a,p),"react-datepicker__month-text--keyboard-selected":lr(_)===a,"react-datepicker__month--in-range":zle(f,h,a,c),"react-datepicker__month--range-start":r.isRangeStartMonth(a),"react-datepicker__month--range-end":r.isRangeEndMonth(a),"react-datepicker__month-text--today":r.isCurrentMonth(c,a)})}),ie(ae(r),"getTabIndex",function(a){var l=lr(r.props.preSelection);return r.props.disabledKeyboardNavigation||a!==l?"-1":"0"}),ie(ae(r),"getAriaLabel",function(a){var l=r.props,c=l.chooseDayAriaLabelPrefix,f=c===void 0?"Choose":c,h=l.disabledDayAriaLabelPrefix,p=h===void 0?"Not available":h,m=l.day,g=Wi(m,a),_=r.isDisabled(g)||r.isExcluded(g)?p:f;return"".concat(_," ").concat(an(g,"MMMM yyyy"))}),ie(ae(r),"getQuarterClassNames",function(a){var l=r.props,c=l.day,f=l.startDate,h=l.endDate,p=l.selected,m=l.minDate,g=l.maxDate;return ge("react-datepicker__quarter-text","react-datepicker__quarter-".concat(a),{"react-datepicker__quarter--disabled":(m||g)&&Ule(Wu(c,a),r.props),"react-datepicker__quarter--selected":r.isSelectedQuarter(c,a,p),"react-datepicker__quarter--in-range":Hle(f,h,a,c),"react-datepicker__quarter--range-start":r.isRangeStartQuarter(a),"react-datepicker__quarter--range-end":r.isRangeEndQuarter(a)})}),ie(ae(r),"renderMonths",function(){var a=r.props,l=a.showFullMonthYearPicker,c=a.showTwoColumnMonthYearPicker,f=a.showFourColumnMonthYearPicker,h=a.locale,p=a.day,m=a.selected;return(f?[[0,1,2,3],[4,5,6,7],[8,9,10,11]]:c?[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]]:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]]).map(function(g,_){return z.createElement("div",{className:"react-datepicker__month-wrapper",key:_},g.map(function(x,v){return z.createElement("div",{ref:r.MONTH_REFS[x],key:v,onClick:function(b){r.onMonthClick(b,x)},onKeyDown:function(b){r.onMonthKeyDown(b,x)},tabIndex:r.getTabIndex(x),className:r.getMonthClassNames(x),role:"option","aria-label":r.getAriaLabel(x),"aria-current":r.isCurrentMonth(p,x)?"date":void 0,"aria-selected":r.isSelectedMonth(p,x,m)},l?y5(x,h):_5(x,h))}))})}),ie(ae(r),"renderQuarters",function(){var a=r.props,l=a.day,c=a.selected;return z.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map(function(f,h){return z.createElement("div",{key:h,role:"option",onClick:function(p){r.onQuarterClick(p,f)},className:r.getQuarterClassNames(f),"aria-selected":r.isSelectedQuarter(l,f,c)},jle(f,r.props.locale))}))}),ie(ae(r),"getClassNames",function(){var a=r.props;a.day;var l=a.selectingDate,c=a.selectsStart,f=a.selectsEnd,h=a.showMonthYearPicker,p=a.showQuarterYearPicker;return ge("react-datepicker__month",{"react-datepicker__month--selecting-range":l&&(c||f)},{"react-datepicker__monthPicker":h},{"react-datepicker__quarterPicker":p})}),r}return Mn(n,[{key:"render",value:function(){var r=this.props,i=r.showMonthYearPicker,o=r.showQuarterYearPicker,s=r.day,a=r.ariaLabelPrefix,l=a===void 0?"month ":a;return z.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(l," ").concat(an(s,"yyyy-MM")),role:"listbox"},i?this.renderMonths():o?this.renderQuarters():this.renderWeeks())}}]),n}(),x5=function(e){Rn(n,z.Component);var t=Nn(n);function n(){var r;kn(this,n);for(var i=arguments.length,o=new Array(i),s=0;s0&&arguments[0]!==void 0?arguments[0]:{}).className||"").split(/\s+/);return ace.some(function(a){return s.indexOf(a)>=0})})(o.target)&&i.props.onDropdownFocus()}),ie(ae(i),"getDateInView",function(){var o=i.props,s=o.preSelection,a=o.selected,l=o.openToDate,c=b5(i.props),f=w5(i.props),h=hn(),p=l||a||s;return p||(c&&Kr(h,c)?c:f&&Is(h,f)?f:h)}),ie(ae(i),"increaseMonth",function(){i.setState(function(o){var s=o.date;return{date:no(s,1)}},function(){return i.handleMonthChange(i.state.date)})}),ie(ae(i),"decreaseMonth",function(){i.setState(function(o){var s=o.date;return{date:fd(s,1)}},function(){return i.handleMonthChange(i.state.date)})}),ie(ae(i),"handleDayClick",function(o,s,a){i.props.onSelect(o,s,a),i.props.setPreSelection&&i.props.setPreSelection(o)}),ie(ae(i),"handleDayMouseEnter",function(o){i.setState({selectingDate:o}),i.props.onDayMouseEnter&&i.props.onDayMouseEnter(o)}),ie(ae(i),"handleMonthMouseLeave",function(){i.setState({selectingDate:null}),i.props.onMonthMouseLeave&&i.props.onMonthMouseLeave()}),ie(ae(i),"handleYearChange",function(o){i.props.onYearChange&&i.props.onYearChange(o),i.props.adjustDateOnChange&&(i.props.onSelect&&i.props.onSelect(o),i.props.setOpen&&i.props.setOpen(!0)),i.props.setPreSelection&&i.props.setPreSelection(o)}),ie(ae(i),"handleMonthChange",function(o){i.props.onMonthChange&&i.props.onMonthChange(o),i.props.adjustDateOnChange&&(i.props.onSelect&&i.props.onSelect(o),i.props.setOpen&&i.props.setOpen(!0)),i.props.setPreSelection&&i.props.setPreSelection(o)}),ie(ae(i),"handleMonthYearChange",function(o){i.handleYearChange(o),i.handleMonthChange(o)}),ie(ae(i),"changeYear",function(o){i.setState(function(s){var a=s.date;return{date:Mv(a,o)}},function(){return i.handleYearChange(i.state.date)})}),ie(ae(i),"changeMonth",function(o){i.setState(function(s){var a=s.date;return{date:Wi(a,o)}},function(){return i.handleMonthChange(i.state.date)})}),ie(ae(i),"changeMonthYear",function(o){i.setState(function(s){var a=s.date;return{date:Mv(Wi(a,lr(o)),mt(o))}},function(){return i.handleMonthYearChange(i.state.date)})}),ie(ae(i),"header",function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i.state.date,s=gE(o,i.props.locale,i.props.calendarStartDay),a=[];return i.props.showWeekNumbers&&a.push(z.createElement("div",{key:"W",className:"react-datepicker__day-name"},i.props.weekLabel||"#")),a.concat([0,1,2,3,4,5,6].map(function(l){var c=ll(s,l),f=i.formatWeekday(c,i.props.locale),h=i.props.weekDayClassName?i.props.weekDayClassName(c):void 0;return z.createElement("div",{key:l,className:ge("react-datepicker__day-name",h)},f)}))}),ie(ae(i),"formatWeekday",function(o,s){return i.props.formatWeekDay?function(a,l,c){return l(an(a,"EEEE",c))}(o,i.props.formatWeekDay,s):i.props.useWeekdaysShort?function(a,l){return an(a,"EEE",l)}(o,s):function(a,l){return an(a,"EEEEEE",l)}(o,s)}),ie(ae(i),"decreaseYear",function(){i.setState(function(o){var s=o.date;return{date:dd(s,i.props.showYearPicker?i.props.yearItemNumber:1)}},function(){return i.handleYearChange(i.state.date)})}),ie(ae(i),"renderPreviousButton",function(){if(!i.props.renderCustomHeader){var o;switch(!0){case i.props.showMonthYearPicker:o=tR(i.state.date,i.props);break;case i.props.showYearPicker:o=function(v){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=b.minDate,E=b.yearItemNumber,P=E===void 0?12:E,k=vf(Yu(dd(v,P)),P).endPeriod,N=w&&mt(w);return N&&N>k||!1}(i.state.date,i.props);break;default:o=JM(i.state.date,i.props)}if((i.props.forceShowMonthNavigation||i.props.showDisabledMonthNavigation||!o)&&!i.props.showTimeSelectOnly){var s=["react-datepicker__navigation","react-datepicker__navigation--previous"],a=i.decreaseMonth;(i.props.showMonthYearPicker||i.props.showQuarterYearPicker||i.props.showYearPicker)&&(a=i.decreaseYear),o&&i.props.showDisabledMonthNavigation&&(s.push("react-datepicker__navigation--previous--disabled"),a=null);var l=i.props.showMonthYearPicker||i.props.showQuarterYearPicker||i.props.showYearPicker,c=i.props,f=c.previousMonthButtonLabel,h=c.previousYearButtonLabel,p=i.props,m=p.previousMonthAriaLabel,g=m===void 0?typeof f=="string"?f:"Previous Month":m,_=p.previousYearAriaLabel,x=_===void 0?typeof h=="string"?h:"Previous Year":_;return z.createElement("button",{type:"button",className:s.join(" "),onClick:a,onKeyDown:i.props.handleOnKeyDown,"aria-label":l?x:g},z.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},l?i.props.previousYearButtonLabel:i.props.previousMonthButtonLabel))}}}),ie(ae(i),"increaseYear",function(){i.setState(function(o){var s=o.date;return{date:Nc(s,i.props.showYearPicker?i.props.yearItemNumber:1)}},function(){return i.handleYearChange(i.state.date)})}),ie(ae(i),"renderNextButton",function(){if(!i.props.renderCustomHeader){var o;switch(!0){case i.props.showMonthYearPicker:o=nR(i.state.date,i.props);break;case i.props.showYearPicker:o=function(v){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=b.maxDate,E=b.yearItemNumber,P=E===void 0?12:E,k=vf(Nc(v,P),P).startPeriod,N=w&&mt(w);return N&&N0&&arguments[0]!==void 0?arguments[0]:i.state.date,s=["react-datepicker__current-month"];return i.props.showYearDropdown&&s.push("react-datepicker__current-month--hasYearDropdown"),i.props.showMonthDropdown&&s.push("react-datepicker__current-month--hasMonthDropdown"),i.props.showMonthYearDropdown&&s.push("react-datepicker__current-month--hasMonthYearDropdown"),z.createElement("div",{className:s.join(" ")},an(o,i.props.dateFormat,i.props.locale))}),ie(ae(i),"renderYearDropdown",function(){var o=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(i.props.showYearDropdown&&!o)return z.createElement(Gle,{adjustDateOnChange:i.props.adjustDateOnChange,date:i.state.date,onSelect:i.props.onSelect,setOpen:i.props.setOpen,dropdownMode:i.props.dropdownMode,onChange:i.changeYear,minDate:i.props.minDate,maxDate:i.props.maxDate,year:mt(i.state.date),scrollableYearDropdown:i.props.scrollableYearDropdown,yearDropdownItemNumber:i.props.yearDropdownItemNumber})}),ie(ae(i),"renderMonthDropdown",function(){var o=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(i.props.showMonthDropdown&&!o)return z.createElement(Kle,{dropdownMode:i.props.dropdownMode,locale:i.props.locale,onChange:i.changeMonth,month:lr(i.state.date),useShortMonthInDropdown:i.props.useShortMonthInDropdown})}),ie(ae(i),"renderMonthYearDropdown",function(){var o=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(i.props.showMonthYearDropdown&&!o)return z.createElement(Jle,{dropdownMode:i.props.dropdownMode,locale:i.props.locale,dateFormat:i.props.dateFormat,onChange:i.changeMonthYear,minDate:i.props.minDate,maxDate:i.props.maxDate,date:i.state.date,scrollableMonthYearDropdown:i.props.scrollableMonthYearDropdown})}),ie(ae(i),"renderTodayButton",function(){if(i.props.todayButton&&!i.props.showTimeSelectOnly)return z.createElement("div",{className:"react-datepicker__today-button",onClick:function(o){return i.props.onSelect(Mr(hn()),o)}},i.props.todayButton)}),ie(ae(i),"renderDefaultHeader",function(o){var s=o.monthDate,a=o.i;return z.createElement("div",{className:"react-datepicker__header ".concat(i.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},i.renderCurrentMonth(s),z.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(i.props.dropdownMode),onFocus:i.handleDropdownFocus},i.renderMonthDropdown(a!==0),i.renderMonthYearDropdown(a!==0),i.renderYearDropdown(a!==0)),z.createElement("div",{className:"react-datepicker__day-names"},i.header(s)))}),ie(ae(i),"renderCustomHeader",function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=o.monthDate,a=o.i;if(i.props.showTimeSelect&&!i.state.monthContainer||i.props.showTimeSelectOnly)return null;var l=JM(i.state.date,i.props),c=eR(i.state.date,i.props),f=tR(i.state.date,i.props),h=nR(i.state.date,i.props),p=!i.props.showMonthYearPicker&&!i.props.showQuarterYearPicker&&!i.props.showYearPicker;return z.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:i.props.onDropdownFocus},i.props.renderCustomHeader(WM(WM({},i.state),{},{customHeaderCount:a,monthDate:s,changeMonth:i.changeMonth,changeYear:i.changeYear,decreaseMonth:i.decreaseMonth,increaseMonth:i.increaseMonth,decreaseYear:i.decreaseYear,increaseYear:i.increaseYear,prevMonthButtonDisabled:l,nextMonthButtonDisabled:c,prevYearButtonDisabled:f,nextYearButtonDisabled:h})),p&&z.createElement("div",{className:"react-datepicker__day-names"},i.header(s)))}),ie(ae(i),"renderYearHeader",function(){var o=i.state.date,s=i.props,a=s.showYearPicker,l=vf(o,s.yearItemNumber),c=l.startPeriod,f=l.endPeriod;return z.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},a?"".concat(c," - ").concat(f):mt(o))}),ie(ae(i),"renderHeader",function(o){switch(!0){case i.props.renderCustomHeader!==void 0:return i.renderCustomHeader(o);case(i.props.showMonthYearPicker||i.props.showQuarterYearPicker||i.props.showYearPicker):return i.renderYearHeader(o);default:return i.renderDefaultHeader(o)}}),ie(ae(i),"renderMonths",function(){if(!i.props.showTimeSelectOnly&&!i.props.showYearPicker){for(var o=[],s=i.props.showPreviousMonths?i.props.monthsShown-1:0,a=fd(i.state.date,s),l=0;l0;o.push(z.createElement("div",{key:h,ref:function(g){i.monthContainer=g},className:"react-datepicker__month-container"},i.renderHeader({monthDate:f,i:l}),z.createElement(rce,{chooseDayAriaLabelPrefix:i.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:i.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:i.props.weekAriaLabelPrefix,ariaLabelPrefix:i.props.monthAriaLabelPrefix,onChange:i.changeMonthYear,day:f,dayClassName:i.props.dayClassName,calendarStartDay:i.props.calendarStartDay,monthClassName:i.props.monthClassName,onDayClick:i.handleDayClick,handleOnKeyDown:i.props.handleOnDayKeyDown,onDayMouseEnter:i.handleDayMouseEnter,onMouseLeave:i.handleMonthMouseLeave,onWeekSelect:i.props.onWeekSelect,orderInDisplay:l,formatWeekNumber:i.props.formatWeekNumber,locale:i.props.locale,minDate:i.props.minDate,maxDate:i.props.maxDate,excludeDates:i.props.excludeDates,excludeDateIntervals:i.props.excludeDateIntervals,highlightDates:i.props.highlightDates,selectingDate:i.state.selectingDate,includeDates:i.props.includeDates,includeDateIntervals:i.props.includeDateIntervals,inline:i.props.inline,shouldFocusDayInline:i.props.shouldFocusDayInline,fixedHeight:i.props.fixedHeight,filterDate:i.props.filterDate,preSelection:i.props.preSelection,setPreSelection:i.props.setPreSelection,selected:i.props.selected,selectsStart:i.props.selectsStart,selectsEnd:i.props.selectsEnd,selectsRange:i.props.selectsRange,selectsDisabledDaysInRange:i.props.selectsDisabledDaysInRange,showWeekNumbers:i.props.showWeekNumbers,startDate:i.props.startDate,endDate:i.props.endDate,peekNextMonth:i.props.peekNextMonth,setOpen:i.props.setOpen,shouldCloseOnSelect:i.props.shouldCloseOnSelect,renderDayContents:i.props.renderDayContents,disabledKeyboardNavigation:i.props.disabledKeyboardNavigation,showMonthYearPicker:i.props.showMonthYearPicker,showFullMonthYearPicker:i.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:i.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:i.props.showFourColumnMonthYearPicker,showYearPicker:i.props.showYearPicker,showQuarterYearPicker:i.props.showQuarterYearPicker,isInputFocused:i.props.isInputFocused,containerRef:i.containerRef,monthShowsDuplicateDaysEnd:p,monthShowsDuplicateDaysStart:m})))}return o}}),ie(ae(i),"renderYears",function(){if(!i.props.showTimeSelectOnly)return i.props.showYearPicker?z.createElement("div",{className:"react-datepicker__year--container"},i.renderHeader(),z.createElement(ice,l_({onDayClick:i.handleDayClick,date:i.state.date},i.props))):void 0}),ie(ae(i),"renderTimeSection",function(){if(i.props.showTimeSelect&&(i.state.monthContainer||i.props.showTimeSelectOnly))return z.createElement(x5,{selected:i.props.selected,openToDate:i.props.openToDate,onChange:i.props.onTimeChange,timeClassName:i.props.timeClassName,format:i.props.timeFormat,includeTimes:i.props.includeTimes,intervals:i.props.timeIntervals,minTime:i.props.minTime,maxTime:i.props.maxTime,excludeTimes:i.props.excludeTimes,filterTime:i.props.filterTime,timeCaption:i.props.timeCaption,todayButton:i.props.todayButton,showMonthDropdown:i.props.showMonthDropdown,showMonthYearDropdown:i.props.showMonthYearDropdown,showYearDropdown:i.props.showYearDropdown,withPortal:i.props.withPortal,monthRef:i.state.monthContainer,injectTimes:i.props.injectTimes,locale:i.props.locale,handleOnKeyDown:i.props.handleOnKeyDown,showTimeSelectOnly:i.props.showTimeSelectOnly})}),ie(ae(i),"renderInputTimeSection",function(){var o=new Date(i.props.selected),s=ts(o)&&Boolean(i.props.selected)?"".concat(iR(o.getHours()),":").concat(iR(o.getMinutes())):"";if(i.props.showTimeInput)return z.createElement(oce,{date:o,timeString:s,timeInputLabel:i.props.timeInputLabel,onChange:i.props.onTimeChange,customTimeInput:i.props.customTimeInput})}),i.containerRef=z.createRef(),i.state={date:i.getDateInView(),selectingDate:null,monthContainer:null},i}return Mn(n,[{key:"componentDidMount",value:function(){var r=this;this.props.showTimeSelect&&(this.assignMonthContainer=void r.setState({monthContainer:r.monthContainer}))}},{key:"componentDidUpdate",value:function(r){this.props.preSelection&&!pr(this.props.preSelection,r.preSelection)?this.setState({date:this.props.preSelection}):this.props.openToDate&&!pr(this.props.openToDate,r.openToDate)&&this.setState({date:this.props.openToDate})}},{key:"render",value:function(){var r=this.props.container||sce;return z.createElement("div",{ref:this.containerRef},z.createElement(r,{className:ge("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showPopperArrow:this.props.showPopperArrow,arrowProps:this.props.arrowProps},this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.props.children))}}],[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,monthSelectedIn:0,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null,yearItemNumber:12}}}]),n}(),S5=function(e){Rn(n,z.Component);var t=Nn(n);function n(r){var i;return kn(this,n),(i=t.call(this,r)).el=document.createElement("div"),i}return Mn(n,[{key:"componentDidMount",value:function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return La.createPortal(this.props.children,this.el)}}]),n}(),cce=function(e){return!e.disabled&&e.tabIndex!==-1},uce=function(e){Rn(n,z.Component);var t=Nn(n);function n(r){var i;return kn(this,n),ie(ae(i=t.call(this,r)),"getTabChildren",function(){return Array.prototype.slice.call(i.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(cce)}),ie(ae(i),"handleFocusStart",function(o){var s=i.getTabChildren();s&&s.length>1&&s[s.length-1].focus()}),ie(ae(i),"handleFocusEnd",function(o){var s=i.getTabChildren();s&&s.length>1&&s[0].focus()}),i.tabLoopRef=z.createRef(),i}return Mn(n,[{key:"render",value:function(){return this.props.enableTabLoop?z.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},z.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,z.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}],[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}]),n}(),fce=function(e){Rn(n,z.Component);var t=Nn(n);function n(){return kn(this,n),t.apply(this,arguments)}return Mn(n,[{key:"render",value:function(){var r,i=this.props,o=i.className,s=i.wrapperClassName,a=i.hidePopper,l=i.popperComponent,c=i.popperModifiers,f=i.popperPlacement,h=i.popperProps,p=i.targetComponent,m=i.enableTabLoop,g=i.popperOnKeyDown,_=i.portalId,x=i.portalHost;if(!a){var v=ge("react-datepicker-popper",o);r=z.createElement(kle,l_({modifiers:c,placement:f},h),function(w){var E=w.ref,P=w.style,k=w.placement,N=w.arrowProps;return z.createElement(uce,{enableTabLoop:m},z.createElement("div",{ref:E,style:P,className:v,"data-placement":k,onKeyDown:g},z.cloneElement(l,{arrowProps:N})))})}this.props.popperContainer&&(r=z.createElement(this.props.popperContainer,{},r)),_&&!a&&(r=z.createElement(S5,{portalId:_,portalHost:x},r));var b=ge("react-datepicker-wrapper",s);return z.createElement(Sle,{className:"react-datepicker-manager"},z.createElement(Mle,null,function(w){var E=w.ref;return z.createElement("div",{ref:E,className:b},p)}),r)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:[],popperProps:{},popperPlacement:"bottom-start"}}}]),n}(),dce=a_(lce),hce=function(e){Rn(n,z.Component);var t=Nn(n);function n(r){var i;return kn(this,n),ie(ae(i=t.call(this,r)),"getPreSelection",function(){return i.props.openToDate?i.props.openToDate:i.props.selectsEnd&&i.props.startDate?i.props.startDate:i.props.selectsStart&&i.props.endDate?i.props.endDate:hn()}),ie(ae(i),"calcInitialState",function(){var o,s=i.getPreSelection(),a=b5(i.props),l=w5(i.props),c=a&&Kr(s,Mr(a))?a:l&&Is(s,Ja(l))?l:s;return{open:i.props.startOpen||!1,preventFocus:!1,preSelection:(o=i.props.selectsRange?i.props.startDate:i.props.selected)!==null&&o!==void 0?o:c,highlightDates:rR(i.props.highlightDates),focused:!1,shouldFocusDayInline:!1}}),ie(ae(i),"clearPreventFocusTimeout",function(){i.preventFocusTimeout&&clearTimeout(i.preventFocusTimeout)}),ie(ae(i),"setFocus",function(){i.input&&i.input.focus&&i.input.focus({preventScroll:!0})}),ie(ae(i),"setBlur",function(){i.input&&i.input.blur&&i.input.blur(),i.cancelFocusInput()}),ie(ae(i),"setOpen",function(o){var s=arguments.length>1&&arguments[1]!==void 0&&arguments[1];i.setState({open:o,preSelection:o&&i.state.open?i.state.preSelection:i.calcInitialState().preSelection,lastPreSelectChange:gb},function(){o||i.setState(function(a){return{focused:!!s&&a.focused}},function(){!s&&i.setBlur(),i.setState({inputValue:null})})})}),ie(ae(i),"inputOk",function(){return nE(i.state.preSelection)}),ie(ae(i),"isCalendarOpen",function(){return i.props.open===void 0?i.state.open&&!i.props.disabled&&!i.props.readOnly:i.props.open}),ie(ae(i),"handleFocus",function(o){i.state.preventFocus||(i.props.onFocus(o),i.props.preventOpenOnFocus||i.props.readOnly||i.setOpen(!0)),i.setState({focused:!0})}),ie(ae(i),"cancelFocusInput",function(){clearTimeout(i.inputFocusTimeout),i.inputFocusTimeout=null}),ie(ae(i),"deferFocusInput",function(){i.cancelFocusInput(),i.inputFocusTimeout=setTimeout(function(){return i.setFocus()},1)}),ie(ae(i),"handleDropdownFocus",function(){i.cancelFocusInput()}),ie(ae(i),"handleBlur",function(o){(!i.state.open||i.props.withPortal||i.props.showTimeInput)&&i.props.onBlur(o),i.setState({focused:!1})}),ie(ae(i),"handleCalendarClickOutside",function(o){i.props.inline||i.setOpen(!1),i.props.onClickOutside(o),i.props.withPortal&&o.preventDefault()}),ie(ae(i),"handleChange",function(){for(var o=arguments.length,s=new Array(o),a=0;a{const{className:t,isClearable:n,selected:r,dateFormat:i}=e,o=!n||Fo(r),s=H.useRef();return U("div",{className:"date-input-container",children:[C(hce,{...e,popperModifiers:[{name:"arrow",options:{padding:24}}],dateFormat:i??gf,className:ge("date-input-container__input form-control",t),ref:s}),o&&C($e,{icon:gce,className:"date-input-container__icon",onClick:()=>{var a;return(a=s.current)==null?void 0:a.input.focus()}})]})},bce=({startDate:e=null,endDate:t=null,disabled:n=!1,onStartDateChange:r,onEndDateChange:i})=>U("div",{className:"row",children:[C("div",{className:"col-md-6",children:C(G2,{selected:e,placeholderText:"Since...",isClearable:!0,maxDate:t??void 0,disabled:n,onChange:r})}),C("div",{className:"col-md-6",children:C(G2,{className:"mt-2 mt-md-0",selected:t,placeholderText:"Until...",isClearable:!0,minDate:e??void 0,disabled:n,onChange:o=>i(o&&Ja(o))})})]}),E5=({active:e,allText:t,onChange:n})=>U(We,{children:[C(Ve,{active:e==="all",onClick:()=>n("all"),children:t}),C(Ve,{divider:!0}),cle.map(r=>C(Ve,{active:e===r,onClick:()=>n(r),children:mE(r)},r))]}),T5=({onDatesChange:e,initialDateRange:t,defaultText:n,disabled:r,updatable:i=!1})=>{const o=Nv(t),[s,a]=H.useState(o?t:void 0),[l,c]=H.useState(o?void 0:t),f=p=>{a(a5(p)?qd:void 0),c(p),e(p)},h=p=>{a(p),c(void 0),e(c5(p))};return i&&tee(()=>{const p=Nv(t);p&&h(t),t&&!p&&f(t)},[t]),U(Xs,{disabled:r,text:mE(s??l)??n,children:[C(E5,{allText:n,active:s,onChange:h}),C(Ve,{divider:!0}),C(Ve,{header:!0,children:"Custom:"}),C(Ve,{text:!0,children:C(bce,{...l,onStartDateChange:p=>f({...l,startDate:p}),onEndDateChange:p=>f({...l,endDate:p})})})]})};function Gd({items:e,order:t,onChange:n,isButton:r=!0,right:i=!1,prefixed:o=!0}){const s=a=>()=>{const l=By(a,t.field,t.dir);n(l?a:void 0,l)};return U(jd,{children:[U(Xc,{caret:!0,color:r?"primary":"link",className:ge({"dropdown-btn__toggle btn-block pe-4 overflow-hidden":r,"btn-sm p-0":!r}),children:[!r&&C(We,{children:"Order by"}),r&&!t.field&&C("i",{children:"Order by..."}),r&&t.field&&U(We,{children:[o&&"Order by: ",e[t.field]," - ",C("small",{children:t.dir??"DESC"})]})]}),U(al,{end:i,className:ge("w-100",{"ordering-dropdown__menu--link":!r}),children:[Eg(e).map(([a,l])=>U(Ve,{active:t.field===a,onClick:s(a),children:[l,t.field===a&&C($e,{icon:t.dir==="ASC"?QY:FY,className:"ordering-dropdown__sort-icon"})]},a)),C(Ve,{divider:!0}),C(Ve,{disabled:!t.field,onClick:()=>n(),children:C("i",{children:"Clear selection"})})]})]})}const f_=()=>{const e=Io(),{search:t}=Wn(),{serverId:n=""}=Ws(),r=H.useMemo(Ft(()=>Gc(t),({orderBy:o,tags:s,excludeBots:a,...l})=>{const c=o?fH(o):void 0,f=(s==null?void 0:s.split(","))??[];return{...l,orderBy:c,tags:f,excludeBots:a!==void 0?a==="true":void 0}}),[t]);return[r,o=>{const{orderBy:s,tags:a,excludeBots:l,...c}={...r,...o},f={...c,orderBy:s&&vA(s),tags:a.length>0?a.join(","):void 0,excludeBots:l===void 0?void 0:yee(l)},h=Md(f),p=Hn(h)?"":`?${h}`;e(`/server/${n}/list-short-urls/1${p}`)}]},O5={dateCreated:"Created at",shortCode:"Short URL",longUrl:"Long URL",title:"Title",visits:"Visits"},wce=({onChange:e,selected:t={},className:n})=>{const{excludeBots:r=!1}=t;return U(Xs,{text:"Filters",dropdownClassName:n,className:"me-3",right:!0,minWidth:250,children:[C(Ve,{header:!0,children:"Bots:"}),C(Ve,{active:r,onClick:()=>e({...t,excludeBots:!(t!=null&&t.excludeBots)}),children:"Exclude bots visits"}),C(Ve,{divider:!0}),C(Ve,{disabled:!vi(t),onClick:()=>e({excludeBots:!1}),children:C("i",{children:"Clear filters"})})]})};const xce=(e,t)=>({selectedServer:n,className:r,shortUrlsAmount:i,order:o,handleOrderBy:s,settings:a})=>{var E;const[{search:l,tags:c,startDate:f,endDate:h,excludeBots:p,tagsMode:m="any"},g]=f_(),_=Ft(({startDate:P,endDate:k})=>({startDate:$s(P)??void 0,endDate:$s(k)??void 0}),g),x=Ft(P=>Hn(P)?void 0:P,P=>g({search:P})),v=P=>g({tags:P}),b=xee(n),w=Ft(()=>m==="any"?"all":"any",P=>g({tagsMode:P}));return U("div",{className:ge("short-urls-filtering-bar-container",r),children:[C(Wd,{initialValue:l,onChange:x}),U($d,{className:"mt-3",children:[C(t,{allowNew:!1,placeholder:"With tags...",selectedTags:c,onChange:v}),b&&c.length>1&&U(We,{children:[C(gt,{outline:!0,color:"secondary",onClick:w,id:"tagsModeBtn","aria-label":"Change tags mode",children:C($e,{className:"short-urls-filtering-bar__tags-icon",icon:m==="all"?IA:UY})}),C($r,{target:"tagsModeBtn",placement:"left",children:m==="all"?"With all the tags.":"With any of the tags."})]})]}),U(cr,{className:"flex-lg-row-reverse",children:[C("div",{className:"col-lg-8 col-xl-6 mt-3",children:U("div",{className:"d-md-flex",children:[C("div",{className:"flex-fill",children:C(T5,{defaultText:"All short URLs",initialDateRange:l5(f,h),onDatesChange:_})}),C(wce,{className:"ms-0 ms-md-2 mt-3 mt-md-0",selected:{excludeBots:p??((E=a.visits)==null?void 0:E.excludeBots)},onChange:g})]})}),C("div",{className:"col-6 col-lg-4 col-xl-6 mt-3",children:C(e,{amount:i})}),C("div",{className:"col-6 d-lg-none mt-3",children:C(Gd,{prefixed:!1,items:O5,order:o,onChange:s})})]})]})};var Dv={},Sce={get exports(){return Dv},set exports(e){Dv=e}};/** @license + * eventsource.js + * Available under MIT License (MIT) + * https://github.com/Yaffle/EventSource/ + */(function(e,t){(function(n){var r=n.setTimeout,i=n.clearTimeout,o=n.XMLHttpRequest,s=n.XDomainRequest,a=n.ActiveXObject,l=n.EventSource,c=n.document,f=n.Promise,h=n.fetch,p=n.Response,m=n.TextDecoder,g=n.TextEncoder,_=n.AbortController;if(typeof window<"u"&&typeof c<"u"&&!("readyState"in c)&&c.body==null&&(c.readyState="loading",window.addEventListener("load",function(fe){c.readyState="complete"},!1)),o==null&&a!=null&&(o=function(){return new a("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(fe){function ye(){}return ye.prototype=fe,new ye}),Date.now||(Date.now=function(){return new Date().getTime()}),_==null){var x=h;h=function(fe,ye){var be=ye.signal;return x(fe,{headers:ye.headers,credentials:ye.credentials,cache:ye.cache}).then(function(Te){var De=Te.body.getReader();return be._reader=De,be._aborted&&be._reader.cancel(),{status:Te.status,statusText:Te.statusText,headers:Te.headers,body:{getReader:function(){return De}}}})},_=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function v(){this.bitsNeeded=0,this.codePoint=0}v.prototype.decode=function(fe){function ye(we,_e,Ce){if(Ce===1)return we>=128>>_e&&we<<_e<=2047;if(Ce===2)return we>=2048>>_e&&we<<_e<=55295||we>=57344>>_e&&we<<_e<=65535;if(Ce===3)return we>=65536>>_e&&we<<_e<=1114111;throw new Error}function be(we,_e){if(we===6*1)return _e>>6>15?3:_e>31?2:1;if(we===6*2)return _e>15?3:2;if(we===6*3)return 3;throw new Error}for(var Te=65533,De="",Re=this.bitsNeeded,Ne=this.codePoint,ue=0;ue191||!ye(Ne<<6|he&63,Re-6,be(Re,Ne)))&&(Re=0,Ne=Te,De+=String.fromCharCode(Ne)),Re===0?(he>=0&&he<=127?(Re=0,Ne=he):he>=192&&he<=223?(Re=6*1,Ne=he&31):he>=224&&he<=239?(Re=6*2,Ne=he&15):he>=240&&he<=247?(Re=6*3,Ne=he&7):(Re=0,Ne=Te),Re!==0&&!ye(Ne,Re,be(Re,Ne))&&(Re=0,Ne=Te)):(Re-=6,Ne=Ne<<6|he&63),Re===0&&(Ne<=65535?De+=String.fromCharCode(Ne):(De+=String.fromCharCode(55296+(Ne-65535-1>>10)),De+=String.fromCharCode(56320+(Ne-65535-1&1023))))}return this.bitsNeeded=Re,this.codePoint=Ne,De};var b=function(){try{return new m().decode(new g().encode("test"),{stream:!0})==="test"}catch(fe){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+fe)}return!1};(m==null||g==null||!b())&&(m=v);var w=function(){};function E(fe){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=fe,this._sendTimeout=0,this._abort=w}E.prototype.open=function(fe,ye){this._abort(!0);var be=this,Te=this._xhr,De=1,Re=0;this._abort=function(Ce){be._sendTimeout!==0&&(i(be._sendTimeout),be._sendTimeout=0),(De===1||De===2||De===3)&&(De=4,Te.onload=w,Te.onerror=w,Te.onabort=w,Te.onprogress=w,Te.onreadystatechange=w,Te.abort(),Re!==0&&(i(Re),Re=0),Ce||(be.readyState=4,be.onabort(null),be.onreadystatechange())),De=0};var Ne=function(){if(De===1){var Ce=0,ke="",Ie=void 0;if("contentType"in Te)Ce=200,ke="OK",Ie=Te.contentType;else try{Ce=Te.status,ke=Te.statusText,Ie=Te.getResponseHeader("Content-Type")}catch{Ce=0,ke="",Ie=void 0}Ce!==0&&(De=2,be.readyState=2,be.status=Ce,be.statusText=ke,be._contentType=Ie,be.onreadystatechange())}},ue=function(){if(Ne(),De===2||De===3){De=3;var Ce="";try{Ce=Te.responseText}catch{}be.readyState=3,be.responseText=Ce,be.onprogress()}},he=function(Ce,ke){if((ke==null||ke.preventDefault==null)&&(ke={preventDefault:w}),ue(),De===1||De===2||De===3){if(De=4,Re!==0&&(i(Re),Re=0),be.readyState=4,Ce==="load")be.onload(ke);else if(Ce==="error")be.onerror(ke);else if(Ce==="abort")be.onabort(ke);else throw new TypeError;be.onreadystatechange()}},we=function(Ce){Te!=null&&(Te.readyState===4?(!("onload"in Te)||!("onerror"in Te)||!("onabort"in Te))&&he(Te.responseText===""?"error":"load",Ce):Te.readyState===3?"onprogress"in Te||ue():Te.readyState===2&&Ne())},_e=function(){Re=r(function(){_e()},500),Te.readyState===3&&ue()};"onload"in Te&&(Te.onload=function(Ce){he("load",Ce)}),"onerror"in Te&&(Te.onerror=function(Ce){he("error",Ce)}),"onabort"in Te&&(Te.onabort=function(Ce){he("abort",Ce)}),"onprogress"in Te&&(Te.onprogress=ue),"onreadystatechange"in Te&&(Te.onreadystatechange=function(Ce){we(Ce)}),("contentType"in Te||!("ontimeout"in o.prototype))&&(ye+=(ye.indexOf("?")===-1?"?":"&")+"padding=true"),Te.open(fe,ye,!0),"readyState"in Te&&(Re=r(function(){_e()},0))},E.prototype.abort=function(){this._abort(!1)},E.prototype.getResponseHeader=function(fe){return this._contentType},E.prototype.setRequestHeader=function(fe,ye){var be=this._xhr;"setRequestHeader"in be&&be.setRequestHeader(fe,ye)},E.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},E.prototype.send=function(){if((!("ontimeout"in o.prototype)||!("sendAsBinary"in o.prototype)&&!("mozAnon"in o.prototype))&&c!=null&&c.readyState!=null&&c.readyState!=="complete"){var fe=this;fe._sendTimeout=r(function(){fe._sendTimeout=0,fe.send()},4);return}var ye=this._xhr;"withCredentials"in ye&&(ye.withCredentials=this.withCredentials);try{ye.send(void 0)}catch(be){throw be}};function P(fe){return fe.replace(/[A-Z]/g,function(ye){return String.fromCharCode(ye.charCodeAt(0)+32)})}function k(fe){for(var ye=Object.create(null),be=fe.split(`\r +`),Te=0;Te"u"?typeof window<"u"?window:typeof self<"u"?self:Il:globalThis)})(Sce,Dv);const Cce=(e,t,n,r)=>{const{mercureHubUrl:i,token:o,loading:s,error:a}=e;if(s||a||!i)return;const l=({data:h})=>n(JSON.parse(h)),c=({status:h})=>h===401&&r(),f=t.map(h=>{const p=new URL(i);p.searchParams.append("topic",h);const m=new Dv.EventSourcePolyfill(p,{headers:{Authorization:`Bearer ${o}`}});return m.onmessage=l,m.onerror=c,m});return()=>f.forEach(h=>h.close())};function Qs(e,t){const n=new Set;return r=>{const{createNewVisits:i,loadMercureInfo:o,mercureInfo:s}=r,{interval:a}=s,l=Ws();return H.useEffect(()=>{const c=m=>a?n.add(m):i([m]),f=t(r,l),h=Cce(s,f,c,o);if(!a)return h;const p=setInterval(()=>{i([...n]),n.clear()},a*1e3*60);return Ft(()=>clearInterval(p),()=>h==null?void 0:h())},[s]),C(e,{...r})}}class Jr{}Qe(Jr,"visits","https://shlink.io/new-visit"),Qe(Jr,"orphanVisits","https://shlink.io/new-orphan-visit"),Qe(Jr,"shortUrlVisits",t=>`https://shlink.io/new-visit/${t}`);function yf({currentOrder:e,field:t,className:n="ms-1"}){return!e.dir||e.field!==t?null:C($e,{icon:e.dir==="ASC"?DY:YY,className:n})}const yE={field:"dateCreated",dir:"DESC"},Ece={realTimeUpdates:{enabled:!0},shortUrlCreation:{validateUrls:!1},ui:{theme:"light"},visits:{defaultInterval:"last30Days"},shortUrlsList:{defaultOrdering:yE}},Tce=(e,{payload:t})=>dA(e,t),da=e=>({reducer:Tce,prepare:e}),ha=e=>({payload:e}),{reducer:Oce,actions:Pce}=Yn({name:"shlink/settings",initialState:Ece,reducers:{toggleRealTimeUpdates:da(e=>ha({realTimeUpdates:{enabled:e}})),setRealTimeUpdatesInterval:da(e=>ha({realTimeUpdates:{interval:e}})),setShortUrlCreationSettings:da(e=>ha({shortUrlCreation:e})),setShortUrlsListSettings:da(e=>ha({shortUrlsList:e})),setUiSettings:da(e=>ha({ui:e})),setVisitsSettings:da(e=>ha({visits:e})),setTagsSettings:da(e=>ha({tags:e}))}}),{toggleRealTimeUpdates:kce,setRealTimeUpdatesInterval:Mce,setShortUrlCreationSettings:Rce,setShortUrlsListSettings:Nce,setUiSettings:Lce,setVisitsSettings:Dce,setTagsSettings:Ace}=Pce,Ice=Oce,oR=10,{ceil:Fce}=Math,$ce=new Intl.NumberFormat("en-US"),yn=e=>$ce.format(Number(e)),jce=e=>Fce(e/oR)*oR,Ml=2,Z2="...",P5=(e,t)=>{const n=AS(tA(Ml,e-Ml),hA(t-1,e+Ml)+1);return e-Ml>Ml&&n.unshift(Z2),e+Mle===Z2,k5=e=>hd(e)?e:yn(e),M5=(e,t)=>hd(e)?`${e}_${t}`:`${e}`,Bce=({paginator:e,serverId:t,currentQueryString:n=""})=>{const{currentPage:r=0,pagesCount:i=0}=e??{},o=a=>`/server/${t}/list-short-urls/${a}${n}`;if(i<=1)return C("div",{className:"pb-3"});const s=()=>P5(r,i).map((a,l)=>C(Cs,{disabled:hd(a),active:r===a,children:C(Es,{tag:It,to:o(a),children:k5(a)})},M5(a,l)));return U(r_,{className:"sticky-card-paginator py-3",listClassName:"flex-wrap justify-content-center mb-0",children:[C(Cs,{disabled:r===1,children:C(Es,{previous:!0,tag:It,to:o(r-1)})}),s(),C(Cs,{disabled:r>=i,children:C(Es,{next:!0,tag:It,to:o(r+1)})})]})},zce=(e,t)=>Qs(({listShortUrls:n,shortUrlsList:r,selectedServer:i,settings:o})=>{var I,Y,q;const s=kd(i),{page:a}=Ws(),l=Wn(),[{tags:c,search:f,startDate:h,endDate:p,orderBy:m,tagsMode:g,excludeBots:_},x]=f_(),[v,b]=H.useState(m??((I=o.shortUrlsList)==null?void 0:I.defaultOrdering)??yE),{pagination:w}=(r==null?void 0:r.shortUrls)??{},E=_??((Y=o.visits)==null?void 0:Y.excludeBots),P=(X,Z)=>{x({orderBy:{field:X,dir:Z}}),b({field:X,dir:Z})},k=X=>()=>P(X,By(X,v.field,v.dir)),N=X=>C(yf,{currentOrder:v,field:X}),A=Ft(X=>[...new Set([...c,X])],X=>x({tags:X})),V=({field:X,dir:Z})=>See(i)&&E&&X==="visits"?{field:"nonBotVisits",dir:Z}:{field:X,dir:Z};return H.useEffect(()=>{n({page:a,searchTerm:f,tags:c,startDate:h,endDate:p,orderBy:V(v),tagsMode:g})},[a,f,c,h,p,v.field,v.dir,g]),U(We,{children:[C(t,{selectedServer:i,shortUrlsAmount:(q=r.shortUrls)==null?void 0:q.pagination.totalItems,order:v,handleOrderBy:P,settings:o,className:"mb-3"}),U(xr,{body:!0,className:"pb-0",children:[C(e,{selectedServer:i,shortUrlsList:r,orderByColumn:k,renderOrderIcon:N,onTagClick:A}),C(Bce,{paginator:w,serverId:s,currentQueryString:l.search})]})]})},()=>[Jr.visits]);var d_={},Uce=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var h=sR[t.format]||sR.default;window.clipboardData.setData(h,e)}else f.clipboardData.clearData(),f.clipboardData.setData(t.format,e);t.onCopy&&(f.preventDefault(),t.onCopy(f.clipboardData))}),document.body.appendChild(a),o.selectNodeContents(a),s.addRange(o);var c=document.execCommand("copy");if(!c)throw new Error("copy command was unsuccessful");l=!0}catch(f){n&&console.error("unable to copy using execCommand: ",f),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),l=!0}catch(h){n&&console.error("unable to copy using clipboardData: ",h),n&&console.error("falling back to prompt"),r=Wce("message"in t?t.message:Hce),window.prompt(r,e)}}finally{s&&(typeof s.removeRange=="function"?s.removeRange(o):s.removeAllRanges()),a&&document.body.removeChild(a),i()}return l}var qce=Yce;function K2(e){return K2=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},K2(e)}Object.defineProperty(d_,"__esModule",{value:!0});d_.CopyToClipboard=void 0;var pp=R5(H),Gce=R5(qce),Zce=["text","onCopy","options","children"];function R5(e){return e&&e.__esModule?e:{default:e}}function aR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function lR(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Xce(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Qce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cR(e,t){for(var n=0;n"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 Av(e){return Av=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Av(e)}function _E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L5=function(e){eue(n,e);var t=tue(n);function n(){var r;Qce(this,n);for(var i=arguments.length,o=new Array(i),s=0;sC(D5,{text:e,onCopy:t,children:C($e,{icon:C5,className:"ms-2 copy-to-clipboard-icon"})}),Iv=({date:e,format:t=hE,relative:n=!1})=>{const r=pE(e)?e:Lo(e);return C("time",{dateTime:`${bre(r)}000`,children:n?`${hre(Fs(),r)} ago`:vo(r,t)})},nr=(e,t)=>fte(e,t,{serializeError:Fy}),Zd=bn("shlink/visitCreation/createNewVisits",e=>({payload:{createdVisits:e}})),uR=5e3,fR=4,dR=2,oue=({currentPage:e,pagesCount:t})=>e>=t,sue=(e,t)=>t*100/e,Kd=({typePrefix:e,createLoaders:t,getExtraFulfilledPayload:n,shouldCancel:r})=>{const i=bn(`${e}/progressChanged`),o=bn(`${e}/large`),s=bn(`${e}/fallbackToInterval`);return{asyncThunk:nr(e,async(l,{getState:c,dispatch:f})=>{const[h,p]=t(l,c),m=async b=>Promise.all(b.map(async w=>h(w,uR).then(rt("data")))).then(MV),g=async(b,w=0)=>{if(r(c))return[];const E=await m(b[w]);return f(i(sue(b.length,w+dR))),w{const{pagination:w,data:E}=await h(b,uR);if(!w||oue(w))return E;const P=AS(dR,w.pagesCount+1),k=qf(fR,P);return w.pagesCount-1>fR&&f(o()),E.concat(await g(k))},[x,v]=await Promise.all([_(),p()]);return!x.length&&v&&f(s(fle(v.date))),{...n(l),visits:x}}),progressChangedAction:i,largeAction:o,fallbackToIntervalAction:s}},Xd=(e,t)=>e?async()=>t({page:1,itemsPerPage:1}).then(({data:n})=>n[0]):async()=>Promise.resolve(void 0),Qd=({name:e,asyncThunkCreator:t,initialState:n,filterCreatedVisits:r})=>{const{asyncThunk:i,largeAction:o,fallbackToIntervalAction:s,progressChangedAction:a}=t,{reducer:l,actions:c}=Yn({name:e,initialState:n,reducers:{cancelGetVisits:h=>({...h,cancelLoad:!0})},extraReducers:h=>{h.addCase(i.pending,()=>({...n,loading:!0})),h.addCase(i.rejected,(p,{error:m})=>({...n,error:!0,errorData:ro(m)})),h.addCase(i.fulfilled,(p,{payload:m})=>({...p,...m,loading:!1,loadingLarge:!1,error:!1})),h.addCase(o,p=>({...p,loadingLarge:!0})),h.addCase(a,(p,{payload:m})=>({...p,progress:m})),h.addCase(s,(p,{payload:m})=>({...p,fallbackInterval:m})),h.addCase(Zd,(p,{payload:m})=>{const{visits:g}=p,_=r(p,m.createdVisits).map(({visit:x})=>x);return _.length?{...p,visits:[..._,...g]}:p})}}),{cancelGetVisits:f}=c;return{reducer:l,cancelGetVisits:f}},I5="shlink/domainVisits",F5="DEFAULT",aue={visits:[],domain:"",loading:!1,loadingLarge:!1,error:!1,cancelLoad:!1,progress:0},lue=e=>Kd({typePrefix:`${I5}/getDomainVisits`,createLoaders:({domain:t,query:n={},doIntervalFallback:r=!1},i)=>{const{getDomainVisits:o}=e(i),s=async(l,c)=>o(t,{...n,page:l,itemsPerPage:c}),a=Xd(r,async l=>o(t,l));return[s,a]},getExtraFulfilledPayload:({domain:t,query:n={}})=>({domain:t,query:n}),shouldCancel:t=>t().domainVisits.cancelLoad}),cue=e=>Qd({name:I5,initialState:aue,asyncThunkCreator:e,filterCreatedVisits:({domain:t,query:n={}},r)=>{const{startDate:i,endDate:o}=n;return r.filter(({shortUrl:s,visit:a})=>s&&uue(s,t)&&Yd(a.date,i,o))}}),_f=(e,t,n)=>Fo(n)?e.shortCode===t&&!e.domain:e.shortCode===t&&e.domain===n,uue=(e,t)=>!e.domain&&t===F5?!0:e.domain===t,fue=(e,t)=>{const n=(t==null?void 0:t.validateUrls)??!1;return e?{longUrl:e.longUrl,tags:e.tags,title:e.title??void 0,domain:e.domain??void 0,validSince:e.meta.validSince??void 0,validUntil:e.meta.validUntil??void 0,maxVisits:e.meta.maxVisits??void 0,crawlable:e.crawlable,forwardQuery:e.forwardQuery,validateUrl:n}:{longUrl:"",validateUrl:n}},$5="__",due=e=>e.replaceAll("/",$5),Um=e=>e.replaceAll($5,"/"),hue=({id:e},{shortCode:t,domain:n},r)=>{const i=n?`?domain=${n}`:"";return`/server/${e}/short-code/${due(t)}/${r}${i}`},J2=({selectedServer:e,shortUrl:t,suffix:n,children:r,...i})=>!e||!Ss(e)||!t?C("span",{...i,children:r}):C(It,{to:hue(e,t,n),...i,children:r}),Jd=e=>t=>{e.current=t??void 0};const j5=({visitsCount:e,shortUrl:t,selectedServer:n,active:r=!1})=>{const{maxVisits:i,validSince:o,validUntil:s}=(t==null?void 0:t.meta)??{},a=!!i||!!o||!!s,l=C(J2,{selectedServer:n,shortUrl:t,suffix:"visits",children:C("strong",{className:ge("short-url-visits-count__amount",{"short-url-visits-count__amount--big":r}),children:yn(e)})});if(!a)return l;const c=H.useRef();return U(We,{children:[U("span",{className:"indivisible",children:[l,U("small",{className:"short-urls-visits-count__max-visits-control",ref:Jd(c),children:[i&&U(We,{children:[" / ",yn(i)]}),C("sup",{className:"ms-1",children:C($e,{icon:GS})})]})]}),C($r,{target:()=>c.current,placement:"bottom",children:U("ul",{className:"list-unstyled mb-0",children:[i&&U("li",{className:"short-url-visits-count__tooltip-list-item",children:["This short URL will not accept more than ",C("b",{children:yn(i)})," visit",i===1?"":"s","."]}),o&&U("li",{className:"short-url-visits-count__tooltip-list-item",children:["This short URL will not accept visits before ",C("b",{className:"indivisible",children:Rv(bi(o))}),"."]}),s&&U("li",{className:"short-url-visits-count__tooltip-list-item",children:["This short URL will not accept visits after ",C("b",{className:"indivisible",children:Rv(bi(s))}),"."]})]})})]})};const bE=({text:e,children:t,clearable:n,className:r="",colorGenerator:i,onClick:o,onClose:s})=>U("span",{className:ge("badge tag",r,{"tag--light-bg":i.isColorLightForKey(e)}),style:{backgroundColor:i.getColorForKey(e),cursor:n||!o?"auto":"pointer"},onClick:o,children:[t??e,n&&C("span",{"aria-label":`Remove ${e}`,className:"close tag__close-selected-tag",onClick:s,children:"×"})]}),pue=({tags:e,onTagClick:t,colorGenerator:n})=>Hn(e)?C("i",{className:"indivisible",children:C("small",{children:"No tags"})}):C(We,{children:e.map(r=>C(bE,{text:r,colorGenerator:n,onClick:()=>t==null?void 0:t(r)},r))}),mue=e=>{const{meta:t,visitsCount:n,visitsSummary:r}=e,{maxVisits:i,validSince:o,validUntil:s}=t,a=(r==null?void 0:r.total)??n;return i&&a>=i?{icon:hq,className:"text-danger",description:U(We,{children:["This short URL cannot be currently visited because it has reached the maximum amount of ",C("b",{children:i})," visit",i>1?"s":"","."]})}:s&&Kr(bi(s),Fs())?{icon:KP,className:"text-danger",description:U(We,{children:["This short URL cannot be visited since ",C("b",{className:"indivisible",children:Rv(bi(s))}),"."]})}:o&&Kr(Fs(),bi(o))?{icon:KP,className:"text-warning",description:U(We,{children:["This short URL will start working on ",C("b",{className:"indivisible",children:Rv(bi(o))}),"."]})}:{icon:Zf,className:"text-primary",description:"This short URL can be visited normally."}},gue=({shortUrl:e})=>{const t=H.useRef(),{icon:n,className:r,description:i}=mue(e);return U(We,{children:[C("span",{style:{cursor:i?"help":void 0},ref:Jd(t),children:C($e,{icon:n,className:r})}),C($r,{target:()=>t.current,placement:"bottom",children:i})]})};const vue=(e,t,n)=>({shortUrl:r,selectedServer:i,onTagClick:o,settings:s})=>{var _,x,v,b;const[a,l]=n(),[c,f]=n(!1,500),h=H.useRef(!0),[{excludeBots:p}]=f_(),{visits:m}=s,g=p??(m==null?void 0:m.excludeBots);return H.useEffect(()=>{!h.current&&f(),h.current=!1},[(_=r.visitsSummary)==null?void 0:_.total,(x=r.visitsSummary)==null?void 0:x.nonBots,r.visitsCount]),U("tr",{className:"responsive-table__row",children:[C("td",{className:"indivisible short-urls-row__cell responsive-table__cell","data-th":"Created at",children:C(Iv,{date:r.dateCreated})}),C("td",{className:"responsive-table__cell short-urls-row__cell","data-th":"Short URL",children:U("span",{className:"position-relative short-urls-row__cell--indivisible",children:[C("span",{className:"short-urls-row__short-url-wrapper",children:C(Ci,{href:r.shortUrl})}),C(A5,{text:r.shortUrl,onCopy:l}),C("span",{className:"badge bg-warning text-black short-urls-row__copy-hint",hidden:!a,children:"Copied short URL!"})]})}),C("td",{className:"responsive-table__cell short-urls-row__cell short-urls-row__cell--break","data-th":`${r.title?"Title":"Long URL"}`,children:C(Ci,{href:r.longUrl,children:r.title??r.longUrl})}),r.title&&C("td",{className:"short-urls-row__cell responsive-table__cell short-urls-row__cell--break d-lg-none","data-th":"Long URL",children:C(Ci,{href:r.longUrl})}),C("td",{className:"responsive-table__cell short-urls-row__cell","data-th":"Tags",children:C(pue,{tags:r.tags,colorGenerator:t,onTagClick:o})}),C("td",{className:"responsive-table__cell short-urls-row__cell text-lg-end","data-th":"Visits",children:C(j5,{visitsCount:(g?(v=r.visitsSummary)==null?void 0:v.nonBots:(b=r.visitsSummary)==null?void 0:b.total)??r.visitsCount,shortUrl:r,selectedServer:i,active:c})}),C("td",{className:"responsive-table__cell short-urls-row__cell","data-th":"Status",children:C(gue,{shortUrl:r})}),C("td",{className:"responsive-table__cell short-urls-row__cell",children:C(e,{selectedServer:i,shortUrl:r})})]})};const h_=({isOpen:e,toggle:t,children:n,right:r=!0})=>U(Xy,{toggle:t,isOpen:e,children:[U(Xc,{size:"sm",caret:!0,outline:!0,className:"dropdown-btn-menu__dropdown-toggle",children:[" ",C($e,{icon:GY})," "]}),C(al,{end:r,children:n})]}),yue=(e,t)=>({shortUrl:n,selectedServer:r})=>{const[i,o]=Bt(),[s,,a,l]=Bt(),[c,,f,h]=Bt();return U(h_,{toggle:o,isOpen:i,children:[U(Ve,{tag:J2,selectedServer:r,shortUrl:n,suffix:"visits",children:[C($e,{icon:qS,fixedWidth:!0})," Visit stats"]}),U(Ve,{tag:J2,selectedServer:r,shortUrl:n,suffix:"edit",children:[C($e,{icon:YS,fixedWidth:!0})," Edit short URL"]}),U(Ve,{onClick:a,children:[C($e,{icon:fq,fixedWidth:!0})," QR code"]}),C(t,{shortUrl:n,isOpen:s,toggle:l}),C(Ve,{divider:!0}),U(Ve,{className:"dropdown-item--danger",onClick:f,children:[C($e,{icon:WS,fixedWidth:!0})," Delete short URL"]}),C(e,{shortUrl:n,isOpen:c,toggle:h})]})},_ue=e=>({longUrl:"",tags:[],customSlug:"",title:void 0,shortCodeLength:void 0,domain:"",validSince:void 0,validUntil:void 0,maxVisits:void 0,findIfExists:!1,validateUrl:(e==null?void 0:e.validateUrls)??!1,forwardQuery:(e==null?void 0:e.forwardQuery)??!0}),bue=(e,t)=>({createShortUrl:n,shortUrlCreation:r,resetCreateShortUrl:i,selectedServer:o,basicMode:s=!1,settings:{shortUrlCreation:a}})=>{const l=H.useMemo(()=>_ue(a),[a]);return U(We,{children:[C(e,{initialState:l,saving:r.saving,selectedServer:o,mode:s?"create-basic":"create",onSave:async c=>(i(),n(c))}),C(t,{creation:r,resetCreateShortUrl:i,canBeClosed:s})]})},Rr=({children:e,type:t,className:n,small:r=!1})=>C(cr,{className:n,children:C("div",{className:ge({"col-md-10 offset-md-1":!r,"col-12":r}),children:C(gn,{role:"document",className:ge("text-center",{"bg-main":t==="success","bg-danger":t==="error","bg-warning":t==="warning","text-white":t!=="warning"}),bodyClassName:ge({"p-2":r}),children:e})})}),Do=({errorData:e,fallbackMessage:t})=>U(We,{children:[(e==null?void 0:e.detail)??t,hH(e)&&U("p",{className:"mb-0",children:["Invalid elements: [",e.invalidElements.join(", "),"]"]})]}),vb="delete",wue=({shortUrl:e,toggle:t,isOpen:n,shortUrlDeletion:r,resetDeleteShortUrl:i,deleteShortUrl:o,shortUrlDeleted:s})=>{const[a,l]=H.useState("");H.useEffect(()=>i,[]);const{loading:c,error:f,deleted:h,errorData:p}=r,m=Ft(i,t),g=Bd(()=>o(e).then(t));return C(zo,{isOpen:n,toggle:m,centered:!0,onClosed:()=>h&&s(e),children:U("form",{onSubmit:g,children:[C(io,{toggle:m,children:C("span",{className:"text-danger",children:"Delete short URL"})}),U(ki,{children:[U("p",{children:[C("b",{className:"text-danger",children:"Caution!"})," You are about to delete a short URL."]}),C("p",{children:"This action cannot be undone. Once you have deleted it, all the visits stats will be lost."}),U("p",{children:["Write ",C("b",{children:vb})," to confirm deletion."]}),C("input",{type:"text",className:"form-control",placeholder:`Insert ${vb}`,value:a,onChange:_=>l(_.target.value)}),f&&C(Rr,{type:pH(p)?"warning":"error",small:!0,className:"mt-2",children:C(Do,{errorData:p,fallbackMessage:"Something went wrong while deleting the URL :("})})]}),U(Zs,{children:[C("button",{type:"button",className:"btn btn-link",onClick:m,children:"Cancel"}),C("button",{type:"submit",className:"btn btn-danger",disabled:a!==vb||c,children:c?"Deleting...":"Delete"})]})]})})};const xue=e=>({creation:t,resetCreateShortUrl:n,canBeClosed:r=!1})=>{const[i,o]=e(),{error:s,saved:a}=t;if(H.useEffect(()=>{n()},[]),s)return U(Rr,{type:"error",className:"mt-3",children:[r&&C($e,{icon:J1,className:"float-end pointer",onClick:n}),C(Do,{errorData:t.errorData,fallbackMessage:"An error occurred while creating the URL :("})]});if(!a)return null;const{shortUrl:l}=t.result;return U(Rr,{type:"success",className:"mt-3",children:[r&&C($e,{icon:J1,className:"float-end pointer",onClick:n}),U("span",{children:[C("b",{children:"Great!"})," The short URL is ",C("b",{children:l})]}),C(D5,{text:l,onCopy:o,children:U("button",{className:"btn btn-light btn-sm create-short-url-result__copy-btn",id:"copyBtn",type:"button",children:[C($e,{icon:C5})," Copy"]})}),C(Fd,{placement:"left",isOpen:i,target:"copyBtn",children:"Copied!"})]})},wE="shlink/shortUrlDeletion",hR={shortCode:"",loading:!1,deleted:!1,error:!1},Sue=e=>nr(`${wE}/deleteShortUrl`,async({shortCode:t,domain:n},{getState:r})=>{const{deleteShortUrl:i}=e(r);return await i(t,n),{shortCode:t,domain:n}}),B5=bn(`${wE}/shortUrlDeleted`),Cue=e=>{const{actions:t,reducer:n}=Yn({name:wE,initialState:hR,reducers:{resetDeleteShortUrl:()=>hR},extraReducers:i=>{i.addCase(e.pending,o=>({...o,loading:!0,error:!1,deleted:!1})),i.addCase(e.rejected,(o,{error:s})=>({...o,errorData:ro(s),loading:!1,error:!0,deleted:!1})),i.addCase(e.fulfilled,(o,{payload:s})=>({...o,shortCode:s.shortCode,loading:!1,error:!1,deleted:!0}))}}),{resetDeleteShortUrl:r}=t;return{reducer:n,resetDeleteShortUrl:r}},z5="shlink/shortUrlsList",U5=5,Eue={loading:!0,error:!1},Tue=e=>nr(`${z5}/listShortUrls`,(t,{getState:n})=>{const{listShortUrls:r}=e(n);return r(t??{})}),Oue=(e,t,n)=>Yn({name:z5,initialState:Eue,reducers:{},extraReducers:r=>{r.addCase(e.pending,i=>({...i,loading:!0,error:!1})),r.addCase(e.rejected,()=>({loading:!1,error:!0})),r.addCase(e.fulfilled,(i,{payload:o})=>({loading:!1,error:!1,shortUrls:o})),r.addCase(n.fulfilled,Ft((i,{payload:o})=>i.shortUrls?wl(["shortUrls","data"],[o,...i.shortUrls.data.slice(0,U5-1)],i):i,i=>i.shortUrls?wl(["shortUrls","pagination","totalItems"],i.shortUrls.pagination.totalItems+1,i):i)),r.addCase(t.fulfilled,(i,{payload:o})=>i.shortUrls?wl(["shortUrls","data"],i.shortUrls.data.map(s=>{const{shortCode:a,domain:l}=o;return _f(s,a,l)?o:s}),i):i),r.addCase(B5,Ft((i,{payload:o})=>i.shortUrls?wl(["shortUrls","data"],Pd(s=>_f(s,o.shortCode,o.domain),i.shortUrls.data),i):i,i=>i.shortUrls?wl(["shortUrls","pagination","totalItems"],i.shortUrls.pagination.totalItems-1,i):i)),r.addCase(Zd,(i,{payload:o})=>{var s,a;return wl(["shortUrls","data"],(a=(s=i.shortUrls)==null?void 0:s.data)==null?void 0:a.map(l=>{var c;return((c=TV(o.createdVisits.filter(({shortUrl:f})=>f&&_f(l,f.shortCode,f.domain))))==null?void 0:c.shortUrl)??l}),i)})}}),V5="shlink/shortUrlCreation",pR={saving:!1,saved:!1,error:!1},Pue=e=>nr(`${V5}/createShortUrl`,(t,{getState:n})=>{const{createShortUrl:r}=e(n);return r(t)}),kue=e=>{const{reducer:t,actions:n}=Yn({name:V5,initialState:pR,reducers:{resetCreateShortUrl:()=>pR},extraReducers:i=>{i.addCase(e.pending,()=>({saving:!0,saved:!1,error:!1})),i.addCase(e.rejected,(o,{error:s})=>({saving:!1,saved:!1,error:!0,errorData:ro(s)})),i.addCase(e.fulfilled,(o,{payload:s})=>({result:s,saving:!1,saved:!0,error:!1}))}}),{resetCreateShortUrl:r}=n;return{reducer:t,resetCreateShortUrl:r}},H5="shlink/shortUrlEdition",Mue={saving:!1,saved:!1,error:!1},Rue=e=>nr(`${H5}/editShortUrl`,({shortCode:t,domain:n,data:r},{getState:i})=>{const{updateShortUrl:o}=e(i);return o(t,n,r)}),Nue=e=>Yn({name:H5,initialState:Mue,reducers:{},extraReducers:t=>{t.addCase(e.pending,n=>({...n,saving:!0,error:!1,saved:!1})),t.addCase(e.rejected,(n,{error:r})=>({...n,saving:!1,error:!0,saved:!1,errorData:ro(r)})),t.addCase(e.fulfilled,(n,{payload:r})=>({shortUrl:r,saving:!1,error:!1,saved:!0}))}}),mR="shlink/shortUrlDetail",gR={loading:!1,error:!1},Lue=e=>{const t=nr(`${mR}/getShortUrlDetail`,async({shortCode:r,domain:i},{getState:o})=>{var l;const{shortUrlsList:s}=o();return((l=s==null?void 0:s.shortUrls)==null?void 0:l.data.find(c=>_f(c,r,i)))??await e(o).getShortUrl(r,i)}),{reducer:n}=Yn({name:mR,initialState:gR,reducers:{},extraReducers:r=>{r.addCase(t.pending,()=>({loading:!0,error:!1})),r.addCase(t.rejected,(i,{error:o})=>({loading:!1,error:!0,errorData:ro(o)})),r.addCase(t.fulfilled,(i,{payload:o})=>({...gR,shortUrl:o}))}});return{reducer:n,getShortUrlDetail:t}};const Due=e=>({orderByColumn:t,renderOrderIcon:n,shortUrlsList:r,onTagClick:i,selectedServer:o,className:s})=>{const{error:a,loading:l,shortUrls:c}=r,f=ge({"short-urls-table__header-cell--with-action":!!t}),h=ge("short-urls-table__header-cell",f),p=ge("table table-hover responsive-table short-urls-table",s),m=()=>a?C("tr",{children:C("td",{colSpan:6,className:"text-center table-danger text-dark",children:"Something went wrong while loading short URLs :("})}):l?C("tr",{children:C("td",{colSpan:6,className:"text-center",children:"Loading..."})}):!l&&Hn(c==null?void 0:c.data)?C("tr",{children:C("td",{colSpan:6,className:"text-center",children:"No results found"})}):c==null?void 0:c.data.map(g=>C(e,{shortUrl:g,selectedServer:o,onTagClick:i},g.shortUrl));return U("table",{className:p,children:[C("thead",{className:"responsive-table__header short-urls-table__header",children:U("tr",{children:[U("th",{className:h,onClick:t==null?void 0:t("dateCreated"),children:["Created at ",n==null?void 0:n("dateCreated")]}),U("th",{className:h,onClick:t==null?void 0:t("shortCode"),children:["Short URL ",n==null?void 0:n("shortCode")]}),U("th",{className:"short-urls-table__header-cell",children:[U("span",{className:f,onClick:t==null?void 0:t("title"),children:["Title ",n==null?void 0:n("title")]}),"  /  ",U("span",{className:f,onClick:t==null?void 0:t("longUrl"),children:[C("span",{className:"indivisible",children:"Long URL"})," ",n==null?void 0:n("longUrl")]})]}),C("th",{className:"short-urls-table__header-cell",children:"Tags"}),C("th",{className:h,onClick:t==null?void 0:t("visits"),children:U("span",{className:"indivisible",children:["Visits ",n==null?void 0:n("visits")]})}),C("th",{className:"short-urls-table__header-cell",colSpan:2})]})}),C("tbody",{children:m()})]})},Aue=e=>C(G2,{...e,dateFormat:hE,showTimeSelect:!0,timeIntervals:10}),W5=({checked:e=!1,onChange:t=Fy,className:n,children:r,type:i,inline:o=!1})=>{const s=i_(),a=f=>t(f.target.checked,f),l={"form-switch":i==="switch","form-checkbox":i==="checkbox"},c=o?{display:"inline-block"}:{};return U("span",{className:ge("form-check",l,n),style:c,children:[C("input",{type:"checkbox",className:"form-check-input",id:s,checked:e,onChange:a}),C("label",{className:"form-check-label",htmlFor:s,children:r})]})},Y5=e=>C(W5,{type:"checkbox",...e});const Iue=({isOpen:e,toggle:t})=>U(zo,{isOpen:e,toggle:t,centered:!0,size:"lg",children:[C(io,{toggle:t,children:"Info"}),U(ki,{children:[U("p",{children:["When the ",C("b",{children:C("i",{children:'"Use existing URL if found"'})})," checkbox is checked, the server will return an existing short URL if it matches provided params."]}),C("p",{children:"These are the checks performed by Shlink in order to determine if an existing short URL should be returned:"}),U("ul",{children:[C("li",{children:"When only the long URL is provided: The most recent match will be returned, or a new short URL will be created if none is found."}),U("li",{children:["When long URL and custom slug and/or domain are provided: Same as in previous case, but it will try to match the short URL using both the long URL and the slug, the long URL and the domain, or the three of them.",C("br",{}),"If the slug is being used by another long URL, an error will be returned."]}),C("li",{children:"When other params are provided: Same as in previous cases, but it will try to match existing short URLs with all provided data. If any of them does not match, a new short URL will be created"})]})]})]}),Fue=()=>{const[e,t]=Bt();return U(We,{children:[C("span",{title:"What does this mean?",children:C($e,{icon:GS,style:{cursor:"pointer"},onClick:t})}),C(Iue,{isOpen:e,toggle:t})]})},Vm=({className:e="",placement:t,children:n})=>{const r=H.useRef();return U(We,{children:[C("span",{className:e,ref:Jd(r),children:C($e,{icon:GS})}),C($r,{target:()=>r.current,placement:t,children:n})]})},yb=({children:e,infoTooltip:t,checked:n,onChange:r})=>U("p",{children:[C(Y5,{inline:!0,checked:n,className:t?"me-2":"",onChange:r,children:e}),t&&C(Vm,{placement:"right",children:t})]});const $ue=Ft(aH,XV(/ /g,"-")),_b=e=>typeof e=="string"?Lo(e):e,jue=(e,t)=>({mode:n,saving:r,onSave:i,initialState:o,selectedServer:s})=>{const[a,l]=H.useState(o),c=n==="edit",f=n==="create-basic",h=vi(o.title),p=E=>l({...a,tags:E.map($ue)}),m=()=>l(o),g=()=>{const E=vi(a.title);return $y([[()=>!E&&!h,()=>{}],[()=>!E&&h,()=>null],[kS,()=>a.title]])()},_=Bd(async()=>i({...a,validSince:$s(a.validSince)??null,validUntil:$s(a.validUntil)??null,maxVisits:vi(a.maxVisits)?Number(a.maxVisits):null,title:g()}).then(()=>!c&&m()).catch(()=>{}));H.useEffect(()=>{l(o)},[o]);const x=(E,P,k="text",N={},A={})=>C(Zr,{...A,children:C(id,{id:E,type:k,placeholder:P,value:a[E]??"",onChange:V=>l({...a,[E]:V.target.value}),...N})}),v=(E,P,k={})=>C(Aue,{selected:a[E]?_b(a[E]):null,placeholderText:P,isClearable:!0,onChange:N=>l({...a,[E]:N}),...k}),b=U(We,{children:[C(Zr,{children:C(id,{bsSize:"lg",type:"url",placeholder:"URL to be shortened",required:!0,value:a.longUrl,onChange:E=>l({...a,longUrl:E.target.value})})}),U(cr,{children:[f&&x("customSlug","Custom slug","text",{bsSize:"lg"},{className:"col-lg-6"}),C("div",{className:f?"col-lg-6 mb-3":"col-12",children:C(e,{selectedTags:a.tags??[],onChange:p})})]})]}),w=g6(s);return U("form",{name:"shortUrlForm",className:"short-url-form",onSubmit:_,children:[f&&b,!f&&U(We,{children:[C(gn,{title:"Main options",className:"mb-3",children:b}),U(cr,{children:[C("div",{className:"col-sm-6 mb-3",children:U(gn,{title:"Customize the short URL",children:[x("title","Title"),!c&&U(We,{children:[U(cr,{children:[C("div",{className:"col-lg-6",children:x("customSlug","Custom slug","text",{disabled:vi(a.shortCodeLength)})}),C("div",{className:"col-lg-6",children:x("shortCodeLength","Short code length","number",{min:4,disabled:vi(a.customSlug)})})]}),C(t,{value:a.domain,onChange:E=>l({...a,domain:E})})]})]})}),C("div",{className:"col-sm-6 mb-3",children:U(gn,{title:"Limit access to the short URL",children:[x("maxVisits","Maximum number of visits allowed","number",{min:1}),C("div",{className:"mb-3",children:v("validSince","Enabled since...",{maxDate:a.validUntil?_b(a.validUntil):void 0})}),v("validUntil","Enabled until...",{minDate:a.validSince?_b(a.validSince):void 0})]})})]}),U(cr,{children:[C("div",{className:"col-sm-6 mb-3",children:U(gn,{title:"Extra checks",children:[C(yb,{infoTooltip:"If checked, Shlink will try to reach the long URL, failing in case it's not publicly accessible.",checked:a.validateUrl,onChange:E=>l({...a,validateUrl:E}),children:"Validate URL"}),!c&&U("p",{children:[C(Y5,{inline:!0,className:"me-2",checked:a.findIfExists,onChange:E=>l({...a,findIfExists:E}),children:"Use existing URL if found"}),C(Fue,{})]})]})}),C("div",{className:"col-sm-6 mb-3",children:U(gn,{title:"Configure behavior",children:[C(yb,{infoTooltip:"This short URL will be included in the robots.txt for your Shlink instance, allowing web crawlers (like Google) to index it.",checked:a.crawlable,onChange:E=>l({...a,crawlable:E}),children:"Make it crawlable"}),w&&C(yb,{infoTooltip:"When this short URL is visited, any query params appended to it will be forwarded to the long URL.",checked:a.forwardQuery,onChange:E=>l({...a,forwardQuery:E}),children:"Forward query params on redirect"})]})})]})]}),C("div",{className:"text-center",children:C(gt,{outline:!0,color:"primary",disabled:r||Hn(a.longUrl),className:"btn-xs-block",children:r?"Saving...":"Save"})})]})},Bue=e=>({settings:{shortUrlCreation:t},selectedServer:n,shortUrlDetail:r,getShortUrlDetail:i,shortUrlEdition:o,editShortUrl:s})=>{const{search:a}=Wn(),l=Ws(),c=Ks(),{loading:f,error:h,errorData:p,shortUrl:m}=r,{saving:g,saved:_,error:x,errorData:v}=o,{domain:b}=Gc(a),w=H.useMemo(()=>fue(m,t),[m,t]);return H.useEffect(()=>{l.shortCode&&i({shortCode:Um(l.shortCode),domain:b})},[]),f?C(So,{loading:!0}):h?C(Rr,{type:"error",children:C(Do,{errorData:p,fallbackMessage:"An error occurred while loading short URL detail :("})}):U(We,{children:[C("header",{className:"mb-3",children:C(xr,{body:!0,children:U("h2",{className:"d-sm-flex justify-content-between align-items-center mb-0",children:[C(gt,{color:"link",size:"lg",className:"p-0 me-3",onClick:c,children:C($e,{icon:FA})}),C("span",{className:"text-center",children:U("small",{children:["Edit ",C(Ci,{href:(m==null?void 0:m.shortUrl)??""})]})}),C("span",{})]})})}),C(e,{initialState:w,saving:g,selectedServer:n,mode:"edit",onSave:async E=>{m&&s({...m,data:E})}}),_&&x&&C(Rr,{type:"error",className:"mt-3",children:C(Do,{errorData:v,fallbackMessage:"An error occurred while updating short URL :("})}),_&&!x&&C(Rr,{type:"success",className:"mt-3",children:"Short URL properly edited."})]})},zue=(e,{margin:t,...n})=>{const r=`${e}/qr-code`,i=Md({...n,margin:t>0?t:void 0});return`${r}${Hn(i)?"":`?${i}`}`},Uue=({format:e,setFormat:t})=>U(Xs,{text:`Format (${e})`,children:[C(Ve,{active:e==="png",onClick:()=>t("png"),children:"PNG"}),C(Ve,{active:e==="svg",onClick:()=>t("svg"),children:"SVG"})]}),Vue=({errorCorrection:e,setErrorCorrection:t})=>U(Xs,{text:`Error correction (${e})`,children:[U(Ve,{active:e==="L",onClick:()=>t("L"),children:[C("b",{children:"L"}),"ow"]}),U(Ve,{active:e==="M",onClick:()=>t("M"),children:[C("b",{children:"M"}),"edium"]}),U(Ve,{active:e==="Q",onClick:()=>t("Q"),children:[C("b",{children:"Q"}),"uartile"]}),U(Ve,{active:e==="H",onClick:()=>t("H"),children:[C("b",{children:"H"}),"igh"]})]});const Hue=e=>({shortUrl:{shortUrl:t,shortCode:n},toggle:r,isOpen:i,selectedServer:o})=>{const[s,a]=H.useState(300),[l,c]=H.useState(0),[f,h]=H.useState("png"),[p,m]=H.useState("L"),g=bee(o),_=H.useMemo(()=>zue(t,{size:s,format:f,margin:l,errorCorrection:p}),[t,s,f,l,p]),x=H.useMemo(()=>s+l,[s,l]),v=H.useMemo(()=>{if(!(x<500))return x<800?"lg":"xl"},[x]);return U(zo,{isOpen:i,toggle:r,centered:!0,size:v,children:[U(io,{toggle:r,children:["QR code for ",C(Ci,{href:t,children:t})]}),U(ki,{children:[U(cr,{children:[U(Zr,{className:"d-grid col-md-4",children:[U("label",{children:["Size: ",s,"px"]}),C("input",{type:"range",className:"form-control-range",value:s,step:10,min:50,max:1e3,onChange:b=>a(Number(b.target.value))})]}),U(Zr,{className:"d-grid col-md-4",children:[U("label",{htmlFor:"marginControl",children:["Margin: ",l,"px"]}),C("input",{id:"marginControl",type:"range",className:"form-control-range",value:l,step:1,min:0,max:100,onChange:b=>c(Number(b.target.value))})]}),C(Zr,{className:"d-grid col-md-4",children:C(Uue,{format:f,setFormat:h})}),C(Zr,{className:"col-md-6",children:C(Vue,{errorCorrection:p,setErrorCorrection:m})})]}),U("div",{className:"text-center",children:[U("div",{className:"mb-3",children:[C(Ci,{href:_}),C(A5,{text:_})]}),C("img",{src:_,className:"qr-code-modal__img",alt:"QR code"}),g&&C("div",{className:"mt-3",children:U(gt,{block:!0,color:"primary",onClick:()=>{e.saveImage(_,`${n}-qr-code.${f}`).catch(()=>{})},children:["Download ",C($e,{icon:$A,className:"ms-1"})]})})]})]})]})},q5=({amount:e=0,loading:t=!1,...n})=>U(gt,{...n,outline:!0,color:"primary",disabled:t,children:[C($e,{icon:wY})," ",t?"Exporting...":U(We,{children:["Export (",yn(e),")"]})]}),vR=20,Wue=(e,{exportShortUrls:t})=>({amount:n=0,selectedServer:r})=>{const[{tags:i,search:o,startDate:s,endDate:a,orderBy:l,tagsMode:c}]=f_(),[f,,h,p]=Bt();return C(q5,{loading:f,className:"btn-md-block",amount:n,onClick:async()=>{if(!Ss(r))return;const g=n/vR,{listShortUrls:_}=e(r),x=async(b=1)=>{const{data:w}=await _({page:`${b}`,tags:i,searchTerm:o,startDate:s,endDate:a,orderBy:l,tagsMode:c,itemsPerPage:vR});return b>=g?w:w.concat(await x(b+1))};h();const v=await x();t(v.map(b=>{var w;return{createdAt:b.dateCreated,shortUrl:b.shortUrl,longUrl:b.longUrl,title:b.title??"",tags:b.tags.join(","),visits:((w=b==null?void 0:b.visitsSummary)==null?void 0:w.total)??b.visitsCount}})),p()}})},Yue=(e,t)=>{e.serviceFactory("ShortUrlsList",zce,"ShortUrlsTable","ShortUrlsFilteringBar"),e.decorator("ShortUrlsList",t(["selectedServer","mercureInfo","shortUrlsList","settings"],["listShortUrls","createNewVisits","loadMercureInfo"])),e.serviceFactory("ShortUrlsTable",Due,"ShortUrlsRow"),e.serviceFactory("ShortUrlsRow",vue,"ShortUrlsRowMenu","ColorGenerator","useTimeoutToggle"),e.decorator("ShortUrlsRow",t(["settings"])),e.serviceFactory("ShortUrlsRowMenu",yue,"DeleteShortUrlModal","QrCodeModal"),e.serviceFactory("CreateShortUrlResult",xue,"useTimeoutToggle"),e.serviceFactory("ShortUrlForm",jue,"TagsSelector","DomainSelector"),e.serviceFactory("CreateShortUrl",bue,"ShortUrlForm","CreateShortUrlResult"),e.decorator("CreateShortUrl",t(["shortUrlCreation","selectedServer","settings"],["createShortUrl","resetCreateShortUrl"])),e.serviceFactory("EditShortUrl",Bue,"ShortUrlForm"),e.decorator("EditShortUrl",t(["shortUrlDetail","shortUrlEdition","selectedServer","settings"],["getShortUrlDetail","editShortUrl"])),e.serviceFactory("DeleteShortUrlModal",()=>wue),e.decorator("DeleteShortUrlModal",t(["shortUrlDeletion"],["deleteShortUrl","shortUrlDeleted","resetDeleteShortUrl"])),e.serviceFactory("QrCodeModal",Hue,"ImageDownloader"),e.decorator("QrCodeModal",t(["selectedServer"])),e.serviceFactory("ShortUrlsFilteringBar",xce,"ExportShortUrlsBtn","TagsSelector"),e.serviceFactory("ExportShortUrlsBtn",Wue,"buildShlinkApiClient","ReportExporter"),e.decorator("ExportShortUrlsBtn",t(["selectedServer"])),e.serviceFactory("shortUrlsListReducerCreator",Oue,"listShortUrls","editShortUrl","createShortUrl"),e.serviceFactory("shortUrlsListReducer",rt("reducer"),"shortUrlsListReducerCreator"),e.serviceFactory("shortUrlCreationReducerCreator",kue,"createShortUrl"),e.serviceFactory("shortUrlCreationReducer",rt("reducer"),"shortUrlCreationReducerCreator"),e.serviceFactory("shortUrlEditionReducerCreator",Nue,"editShortUrl"),e.serviceFactory("shortUrlEditionReducer",rt("reducer"),"shortUrlEditionReducerCreator"),e.serviceFactory("shortUrlDeletionReducerCreator",Cue,"deleteShortUrl"),e.serviceFactory("shortUrlDeletionReducer",rt("reducer"),"shortUrlDeletionReducerCreator"),e.serviceFactory("shortUrlDetailReducerCreator",Lue,"buildShlinkApiClient"),e.serviceFactory("shortUrlDetailReducer",rt("reducer"),"shortUrlDetailReducerCreator"),e.serviceFactory("listShortUrls",Tue,"buildShlinkApiClient"),e.serviceFactory("createShortUrl",Pue,"buildShlinkApiClient"),e.serviceFactory("resetCreateShortUrl",rt("resetCreateShortUrl"),"shortUrlCreationReducerCreator"),e.serviceFactory("deleteShortUrl",Sue,"buildShlinkApiClient"),e.serviceFactory("resetDeleteShortUrl",rt("resetDeleteShortUrl"),"shortUrlDeletionReducerCreator"),e.serviceFactory("shortUrlDeleted",()=>B5),e.serviceFactory("getShortUrlDetail",rt("getShortUrlDetail"),"shortUrlDetailReducerCreator"),e.serviceFactory("editShortUrl",Rue,"buildShlinkApiClient")},eu=({children:e,label:t,className:n="",labelClassName:r="",noMargin:i=!1,id:o})=>U("div",{className:`${n} ${i?"":"mb-3"}`,children:[C("label",{className:`form-label ${r}`,htmlFor:o,children:t}),e]}),Hm=({children:e,value:t,onChange:n,type:r,required:i,placeholder:o,className:s,labelClassName:a})=>{const l=i_();return C(eu,{label:U(We,{children:[e,":"]}),className:s??"",labelClassName:a,id:l,children:C("input",{id:l,className:"form-control",type:r??"text",value:t,required:i??!0,placeholder:o,onChange:c=>n(c.target.value)})})},G5=({onSubmit:e,initialValues:t,children:n,title:r})=>{const[i,o]=H.useState(""),[s,a]=H.useState(""),[l,c]=H.useState(""),f=Bd(()=>e({name:i,url:s,apiKey:l}));return H.useEffect(()=>{t&&o(t.name),t&&a(t.url),t&&c(t.apiKey)},[t]),U("form",{className:"server-form",name:"serverForm",onSubmit:f,children:[U(gn,{className:"mb-3",title:r,children:[C(Hm,{value:i,onChange:o,children:"Name"}),C(Hm,{type:"url",value:s,onChange:a,children:"URL"}),C(Hm,{value:l,onChange:c,children:"API key"})]}),C("div",{className:"text-end",children:n})]})},Z5=({isOpen:e,duplicatedServers:t,onDiscard:n,onSave:r})=>{const i=t.length>1;return U(zo,{centered:!0,isOpen:e,children:[U(io,{children:["Duplicated server",i&&"s"]}),U(ki,{children:[C("p",{children:i?"The next servers already exist:":"There is already a server with:"}),C("ul",{children:t.map(({url:o,apiKey:s},a)=>i?U("li",{children:[C("b",{children:o})," - ",C("b",{children:s})]},a):U(H.Fragment,{children:[U("li",{children:["URL: ",C("b",{children:o})]}),U("li",{children:["API key: ",C("b",{children:s})]})]},a))}),U("span",{children:[i?"Do you want to ignore duplicated servers":"Do you want to save this server anyway","?"]})]}),U(Zs,{children:[C(gt,{color:"link",onClick:n,children:i?"Ignore duplicated":"Discard"}),C(gt,{color:"primary",onClick:r,children:"Save anyway"})]})]})},yR=4e3,_R=({type:e})=>C("div",{className:"mt-3",children:U(Rr,{type:e,children:[e==="success"&&"Servers properly imported. You can now select one from the list :)",e==="error"&&"The servers could not be imported. Make sure the format is correct."]})}),que=(e,t)=>({servers:n,createServers:r})=>{const i=Io(),o=Ks(),s=!!Object.keys(n).length,[a,l]=t(!1,yR),[c,f]=t(!1,yR),[h,p]=Bt(),[m,g]=H.useState(),_=()=>{if(!m)return;const x=BC();r([{...m,id:x}]),i(`/server/${x}`)};return H.useEffect(()=>{Object.values(n).some(({url:v,apiKey:b})=>(m==null?void 0:m.url)===v&&(m==null?void 0:m.apiKey)===b)?p():_()},[m]),U(Qc,{children:[U(G5,{title:C("h5",{className:"mb-0",children:"Add new server"}),onSubmit:g,children:[!s&&C(e,{tooltipPlacement:"top",onImport:l,onImportError:f}),s&&C(gt,{outline:!0,onClick:o,children:"Cancel"}),C(gt,{outline:!0,color:"primary",className:"ms-2",children:"Create server"})]}),a&&C(_R,{type:"success"}),c&&C(_R,{type:"error"}),C(Z5,{isOpen:h,duplicatedServers:m?[m]:[],onDiscard:o,onSave:_})]})},Gue=({servers:e,selectedServer:t})=>{const n=Yc(e);return U(jd,{nav:!0,inNavbar:!0,children:[U(Xc,{nav:!0,caret:!0,children:[C($e,{icon:ZP})," ",C("span",{className:"ms-1",children:"Servers"})]}),C(al,{end:!0,style:{right:0},children:(()=>Hn(n)?U(Ve,{tag:It,to:"/server/create",children:[C($e,{icon:ZS})," ",C("span",{className:"ms-1",children:"Add a server"})]}):U(We,{children:[n.map(({name:i,id:o})=>C(Ve,{tag:It,to:`/server/${o}`,active:kd(t)===o,children:i},o)),C(Ve,{divider:!0}),U(Ve,{tag:It,to:"/manage-servers",children:[C($e,{icon:ZP})," ",C("span",{className:"ms-1",children:"Manage servers"})]})]}))()})]})},Zue=({server:e,toggle:t,isOpen:n,deleteServer:r,redirectHome:i=!0})=>{const o=Io(),s=H.useRef(!1),a=()=>{s.current=!0,t()};return U(zo,{isOpen:n,toggle:t,centered:!0,onClosed:()=>{s.current&&(r(e),i&&o("/"))},children:[C(io,{toggle:t,className:"text-danger",children:"Remove server"}),U(ki,{children:[U("p",{children:["Are you sure you want to remove ",C("b",{children:e?e.name:""}),"?"]}),C("p",{children:C("i",{children:"No data will be deleted, only the access to this server will be removed from this device. You can create it again at any moment."})})]}),U(Zs,{children:[C(gt,{color:"link",onClick:t,children:"Cancel"}),C(gt,{color:"danger",onClick:a,children:"Delete"})]})]})},Kue=e=>({server:t,className:n,children:r,textClassName:i})=>{const[o,,s,a]=Bt();return U(We,{children:[U("span",{className:n,onClick:s,children:[!r&&C($e,{fixedWidth:!0,icon:WS}),C("span",{className:i,children:r??"Remove this server"})]}),C(e,{server:t,isOpen:o,toggle:a})]})},Xue=e=>f6(({editServer:t,selectedServer:n})=>{const r=Ks();if(!Ss(n))return null;const i=o=>{t(n.id,o),r()};return C(Qc,{children:U(G5,{title:U("h5",{className:"mb-0",children:['Edit "',n.name,'"']}),initialValues:n,onSubmit:i,children:[C(gt,{outline:!0,className:"me-2",onClick:r,children:"Cancel"}),C(gt,{outline:!0,color:"primary",children:"Save"})]})})},e);const bR=e=>({url:t,apiKey:n})=>e.some(r=>r.url===t&&r.apiKey===n),Que=({importServersFromFile:e})=>({createServers:t,servers:n,children:r,onImport:i=()=>{},onImportError:o=()=>{},tooltipPlacement:s="bottom",className:a=""})=>{const l=H.useRef(),[c,f]=H.useState(),[h,p]=H.useState([]),[m,,g,_]=Bt(),x=Ft(t,i),v=Ft(()=>x(c??[]),_),b=Ft(()=>x((c??[]).filter(qU(bR(h)))),_),w=async({target:E})=>{var P;return e((P=E.files)==null?void 0:P[0]).then(f).then(()=>{E.value=null}).catch(o)};return H.useEffect(()=>{if(!c)return;const E=Object.values(n),P=c.filter(bR(E)),k=!!P.length;k?p(P):x(c),k&&g()},[c]),U(We,{children:[U(gt,{outline:!0,id:"importBtn",className:a,onClick:()=>{var E;return(E=l.current)==null?void 0:E.click()},children:[C($e,{icon:NY,fixedWidth:!0})," ",r??"Import from file"]}),U($r,{placement:s,target:"importBtn",children:["You can create servers by importing a CSV file with columns ",C("b",{children:"name"}),", ",C("b",{children:"apiKey"})," and ",C("b",{children:"url"}),"."]}),C("input",{type:"file",accept:"text/csv",className:"import-servers-btn__csv-select",ref:Jd(l),onChange:w}),C(Z5,{isOpen:m,duplicatedServers:h,onDiscard:b,onSave:v})]})},xE="shlink/selectedServer",Jue="1.0.0",efe="999.999.999",tfe="latest",nfe=Ft(e=>e===tfe?efe:e,m6(Jue)),rfe=fA(Fy,async(e,t)=>t().then(({version:n})=>({version:nfe(n),printableVersion:p6(n)}))),wR=null,SE=bn(`${xE}/resetSelectedServer`),ife=e=>nr(`${xE}/selectServer`,async(t,{dispatch:n,getState:r})=>{n(SE());const{servers:i}=r(),o=i[t];if(!o)return{serverNotFound:!0};try{const{health:s}=e(o),{version:a,printableVersion:l}=await rfe(t,s);return{...o,version:a,printableVersion:l}}catch{return{...o,serverNotReachable:!0}}}),ofe=(e,t)=>{const n=kte();return n.startListening({actionCreator:e.fulfilled,effect:({payload:r},{dispatch:i})=>{jy(r)&&i(t())}}),n},sfe=e=>Yn({name:xE,initialState:wR,reducers:{},extraReducers:t=>{t.addCase(SE,()=>wR),t.addCase(e.fulfilled,(n,{payload:r})=>r)}}),afe={},lfe=e=>e.id?e:Yf("id",BC(),e),cfe=RS((e,t)=>Yf(t.id,t,e),{}),{actions:ufe,reducer:ffe}=Yn({name:"shlink/servers",initialState:afe,reducers:{editServer:{prepare:(e,t)=>({payload:{serverId:e,serverData:t}}),reducer:(e,{payload:t})=>{const{serverId:n,serverData:r}=t;return e[n]?Yf(n,{...e[n],...r},e):e}},deleteServer:(e,{payload:t})=>CV(t.id,e),setAutoConnect:{prepare:({id:e},t)=>({payload:{serverId:e,autoConnect:t}}),reducer:(e,{payload:t})=>{const{serverId:n,autoConnect:r}=t;return e[n]?r?zu(Eg(e).map(([i,o])=>[i,{...o,autoConnect:i===n}])):Yf(n,{...e[n],autoConnect:r},e):e}},createServers:{prepare:Ft(Od(lfe),cfe,e=>({payload:e})),reducer:(e,{payload:t})=>({...e,...t})}}}),{editServer:dfe,deleteServer:hfe,setAutoConnect:pfe,createServers:K5}=ufe,mfe=ffe,gfe=e=>Array.isArray(e)?e.filter(IS):[],vfe=e=>nr("shlink/remoteServers/fetchServers",async(t,{dispatch:n})=>{const r=await e.fetchJson(`${H4.homepage}/servers.json`),i=gfe(r);n(K5(i))});const yfe=e=>({servers:t,selectedServer:n})=>C(Qc,{children:U("div",{className:"server-error__container flex-column",children:[U(So,{className:"w-100 mb-3 mb-md-5",type:"error",fullWidth:!0,children:[!Ss(n)&&"Could not find this Shlink server.",Ss(n)&&U(We,{children:[C("p",{children:"Oops! Could not connect to this Shlink server."}),"Make sure you have internet connection, and the server is properly configured and on-line."]})]}),U(u6,{servers:Object.values(t),children:["These are the Shlink servers currently configured. Choose one of them or ",C(It,{to:"/server/create",children:"add a new one"}),"."]}),Ss(n)&&C("div",{className:"container mt-3 mt-md-5",children:U("h5",{children:["Alternatively, if you think you may have miss-configured this server, you can ",C(e,{server:n,className:"server-error__delete-btn",children:"remove it"})," or ",C(It,{to:`/server/${n.id}/edit`,children:"edit it"}),"."]})})]})});const _fe=e=>e?{tag:It,to:e}:{},mp=({children:e,title:t,link:n})=>U(xr,{className:"highlight-card",body:!0,..._fe(n),children:[n&&C($e,{size:"3x",className:"highlight-card__link-icon",icon:yce}),C(MC,{tag:"h5",className:"highlight-card__title",children:t}),C(kC,{tag:"h2",children:e})]}),bfe=(e,t)=>Qs(({shortUrlsList:n,listShortUrls:r,listTags:i,tagsList:o,selectedServer:s,loadVisitsOverview:a,visitsOverview:l})=>{const{loading:c,shortUrls:f}=n,{loading:h}=o,{loading:p,visitsCount:m,orphanVisitsCount:g}=l,_=kd(s),x=VC(s),v=Io();return H.useEffect(()=>{r({itemsPerPage:U5,orderBy:{field:"dateCreated",dir:"DESC"}}),i(),a()},[]),U(We,{children:[U(cr,{children:[C("div",{className:"col-lg-6 col-xl-3 mb-3",children:C(mp,{title:"Visits",link:x&&`/server/${_}/non-orphan-visits`,children:p?"Loading...":yn(m)})}),C("div",{className:"col-lg-6 col-xl-3 mb-3",children:C(mp,{title:"Orphan visits",link:`/server/${_}/orphan-visits`,children:p?"Loading...":yn(g)})}),C("div",{className:"col-lg-6 col-xl-3 mb-3",children:C(mp,{title:"Short URLs",link:`/server/${_}/list-short-urls/1`,children:c?"Loading...":yn((f==null?void 0:f.pagination.totalItems)??0)})}),C("div",{className:"col-lg-6 col-xl-3 mb-3",children:C(mp,{title:"Tags",link:`/server/${_}/manage-tags`,children:h?"Loading...":yn(o.tags.length)})})]}),U(xr,{className:"mb-3",children:[U(Xa,{children:[C("span",{className:"d-sm-none",children:"Create a short URL"}),C("h5",{className:"d-none d-sm-inline",children:"Create a short URL"}),C(It,{className:"float-end",to:`/server/${_}/create-short-url`,children:"Advanced options »"})]}),C(Ka,{children:C(t,{basicMode:!0})})]}),U(xr,{children:[U(Xa,{children:[C("span",{className:"d-sm-none",children:"Recently created URLs"}),C("h5",{className:"d-none d-sm-inline",children:"Recently created URLs"}),C(It,{className:"float-end",to:`/server/${_}/list-short-urls/1`,children:"See all »"})]}),C(Ka,{children:C(e,{shortUrlsList:n,selectedServer:s,className:"mb-0",onTagClick:b=>v(`/server/${_}/list-short-urls/1?tags=${encodeURIComponent(b)}`)})})]})]})},()=>[Jr.visits,Jr.orphanVisits]),wfe=4e3,xfe=(e,t,n,r)=>({servers:i})=>{const o=Object.values(i),[s,a]=H.useState(o),l=p=>a(o.filter(({name:m,url:g})=>`${m} ${g}`.toLowerCase().match(p.toLowerCase()))),c=s.some(({autoConnect:p})=>!!p),[f,h]=n(!1,wfe);return H.useEffect(()=>{a(Object.values(i))},[i]),U(Qc,{children:[C(Wd,{className:"mb-3",onChange:l}),U(cr,{className:"mb-3",children:[U("div",{className:"col-md-6 d-flex d-md-block mb-2 mb-md-0",children:[C(t,{className:"flex-fill",onImportError:h,children:"Import servers"}),o.length>0&&U(gt,{outline:!0,className:"ms-2 flex-fill",onClick:async()=>e.exportServers(),children:[C($e,{icon:$A,fixedWidth:!0})," Export servers"]})]}),C("div",{className:"col-md-6 text-md-end d-flex d-md-block",children:U(gt,{outline:!0,color:"primary",className:"flex-fill",tag:It,to:"/server/create",children:[C($e,{icon:ZS,fixedWidth:!0})," Add a server"]})})]}),C(gn,{children:U("table",{className:"table table-hover responsive-table mb-0",children:[C("thead",{className:"responsive-table__header",children:U("tr",{children:[c&&C("th",{"aria-label":"Auto-connect",style:{width:"50px"}}),C("th",{children:"Name"}),C("th",{children:"Base URL"}),C("th",{"aria-label":"Options"})]})}),U("tbody",{children:[!s.length&&C("tr",{className:"text-center",children:C("td",{colSpan:4,children:"No servers found."})}),s.map(p=>C(r,{server:p,hasAutoConnect:c},p.id))]})]})}),f&&C("div",{className:"mt-3",children:C(Rr,{type:"error",children:"The servers could not be imported. Make sure the format is correct."})})]})},Sfe=e=>({server:t,hasAutoConnect:n})=>U("tr",{className:"responsive-table__row",children:[n&&C("td",{className:"responsive-table__cell","data-th":"Auto-connect",children:t.autoConnect&&U(We,{children:[C($e,{icon:Zf,className:"text-primary",id:"autoConnectIcon"}),C($r,{target:"autoConnectIcon",placement:"right",children:"Auto-connect to this server"})]})}),C("th",{className:"responsive-table__cell","data-th":"Name",children:C(It,{to:`/server/${t.id}`,children:t.name})}),C("td",{className:"responsive-table__cell","data-th":"Base URL",children:t.url}),C("td",{className:"responsive-table__cell text-end",children:C(e,{server:t})})]}),Cfe=e=>({server:t,setAutoConnect:n})=>{const[r,i]=Bt(),[o,,s,a]=Bt(),l=`/server/${t.id}`,{autoConnect:c}=t,f=c?MY:_ce;return U(h_,{isOpen:r,toggle:i,children:[U(Ve,{tag:It,to:l,children:[C($e,{icon:PY,fixedWidth:!0})," Connect"]}),U(Ve,{tag:It,to:`${l}/edit`,children:[C($e,{icon:YS,fixedWidth:!0})," Edit server"]}),U(Ve,{onClick:()=>n(t,!c),children:[C($e,{icon:f,fixedWidth:!0})," ",c?"Do not a":"A","uto-connect"]}),C(Ve,{divider:!0}),U(Ve,{className:"dropdown-item--danger",onClick:s,children:[C($e,{icon:WS,fixedWidth:!0})," Remove server"]}),C(e,{redirectHome:!1,server:t,isOpen:o,toggle:a})]})},Efe=e=>typeof e.url=="string"&&typeof e.apiKey=="string"&&typeof e.name=="string",Tfe=e=>Array.isArray(e)&&e.every(Efe);class Ofe{constructor(t,n){Qe(this,"importServersFromFile",async t=>{if(!t)throw new Error("No file provided");const n=this.fileReaderFactory();return new Promise((r,i)=>{n.addEventListener("loadend",async o=>{var s,a;try{const l=((a=(s=o.target)==null?void 0:s.result)==null?void 0:a.toString())??"",c=await this.csvToJson(l);if(!Tfe(c))throw new Error("Provided file does not have the right format.");r(c)}catch(l){i(l)}}),n.readAsText(t)})});this.csvToJson=t,this.fileReaderFactory=n}}const Pfe="shlink-servers.csv";class kfe{constructor(t,n,r){Qe(this,"exportServers",async()=>{const t=Yc(this.storage.get("servers")??{}).map(uH);try{const n=this.jsonToCsv(t);$6(this.window,n,Pfe)}catch(n){console.error(n)}});this.storage=t,this.window=n,this.jsonToCsv=r}}const Mfe=(e,t)=>{e.serviceFactory("ManageServers",xfe,"ServersExporter","ImportServersBtn","useTimeoutToggle","ManageServersRow"),e.decorator("ManageServers",Bg),e.decorator("ManageServers",t(["selectedServer","servers"],["resetSelectedServer"])),e.serviceFactory("ManageServersRow",Sfe,"ManageServersRowDropdown"),e.serviceFactory("ManageServersRowDropdown",Cfe,"DeleteServerModal"),e.decorator("ManageServersRowDropdown",t(null,["setAutoConnect"])),e.serviceFactory("CreateServer",que,"ImportServersBtn","useTimeoutToggle"),e.decorator("CreateServer",Bg),e.decorator("CreateServer",t(["selectedServer","servers"],["createServers","resetSelectedServer"])),e.serviceFactory("EditServer",Xue,"ServerError"),e.decorator("EditServer",t(["selectedServer"],["editServer","selectServer","resetSelectedServer"])),e.serviceFactory("ServersDropdown",()=>Gue),e.decorator("ServersDropdown",t(["servers","selectedServer"])),e.serviceFactory("DeleteServerModal",()=>Zue),e.decorator("DeleteServerModal",t(null,["deleteServer"])),e.serviceFactory("DeleteServerButton",Kue,"DeleteServerModal"),e.serviceFactory("ImportServersBtn",Que,"ServersImporter"),e.decorator("ImportServersBtn",t(["servers"],["createServers"])),e.serviceFactory("ServerError",yfe,"DeleteServerButton"),e.decorator("ServerError",t(["servers","selectedServer"])),e.serviceFactory("Overview",bfe,"ShortUrlsTable","CreateShortUrl"),e.decorator("Overview",t(["shortUrlsList","tagsList","selectedServer","mercureInfo","visitsOverview"],["listShortUrls","listTags","createNewVisits","loadMercureInfo","loadVisitsOverview"])),e.constant("fileReaderFactory",()=>new FileReader),e.service("ServersImporter",Ofe,"csvToJson","fileReaderFactory"),e.service("ServersExporter",kfe,"Storage","window","jsonToCsv"),e.serviceFactory("selectServer",ife,"buildShlinkApiClient","loadMercureInfo"),e.serviceFactory("createServers",()=>K5),e.serviceFactory("deleteServer",()=>hfe),e.serviceFactory("editServer",()=>dfe),e.serviceFactory("setAutoConnect",()=>pfe),e.serviceFactory("fetchServers",vfe,"HttpClient"),e.serviceFactory("resetSelectedServer",()=>SE),e.serviceFactory("selectServerListener",ofe,"selectServer","loadMercureInfo"),e.serviceFactory("selectedServerReducerCreator",sfe,"selectServer"),e.serviceFactory("selectedServerReducer",rt("reducer"),"selectedServerReducerCreator")};function X5(e,t){const n=H.useRef(t);H.useEffect(function(){t!==n.current&&e.attributionControl!=null&&(n.current!=null&&e.attributionControl.removeAttribution(n.current),t!=null&&e.attributionControl.addAttribution(t)),n.current=t},[e,t])}const Rfe=1;function Nfe(e){return Object.freeze({__version:Rfe,map:e})}function Lfe(e,t){return Object.freeze({...e,...t})}const Q5=H.createContext(null),J5=Q5.Provider;function e8(){const e=H.useContext(Q5);if(e==null)throw new Error("No context provided: useLeafletContext() can only be used in a descendant of ");return e}function Dfe(e){function t(n,r){const{instance:i,context:o}=e(n).current;return H.useImperativeHandle(r,()=>i),n.children==null?null:z.createElement(J5,{value:o},n.children)}return H.forwardRef(t)}function Afe(e){function t(n,r){const[i,o]=H.useState(!1),{instance:s}=e(n,o).current;H.useImperativeHandle(r,()=>s),H.useEffect(function(){i&&s.update()},[s,i,n.children]);const a=s._contentNode;return a?Ba.createPortal(n.children,a):null}return H.forwardRef(t)}function Ife(e){function t(n,r){const{instance:i}=e(n).current;return H.useImperativeHandle(r,()=>i),null}return H.forwardRef(t)}function t8(e,t){const n=H.useRef();H.useEffect(function(){return t!=null&&e.instance.on(t),n.current=t,function(){n.current!=null&&e.instance.off(n.current),n.current=null}},[e,t])}function CE(e,t){const n=e.pane??t.pane;return n?{...e,pane:n}:e}function Ffe(e,t){return function(r,i){const o=e8(),s=e(CE(r,o),o);return X5(o.map,r.attribution),t8(s.current,r.eventHandlers),t(s.current,o,r,i),s}}var js={},$fe={get exports(){return js},set exports(e){js=e}};/* @preserve + * Leaflet 1.9.2, a JS library for interactive maps. https://leafletjs.com + * (c) 2010-2022 Vladimir Agafonkin, (c) 2010-2011 CloudMade + */(function(e,t){(function(n,r){r(t)})(Il,function(n){var r="1.9.2";function i(u){var d,y,T,M;for(y=1,T=arguments.length;y"u"||!L||!L.Mixin)){u=w(u)?u:[u];for(var d=0;d0?Math.floor(u):Math.ceil(u)};K.prototype={clone:function(){return new K(this.x,this.y)},add:function(u){return this.clone()._add(D(u))},_add:function(u){return this.x+=u.x,this.y+=u.y,this},subtract:function(u){return this.clone()._subtract(D(u))},_subtract:function(u){return this.x-=u.x,this.y-=u.y,this},divideBy:function(u){return this.clone()._divideBy(u)},_divideBy:function(u){return this.x/=u,this.y/=u,this},multiplyBy:function(u){return this.clone()._multiplyBy(u)},_multiplyBy:function(u){return this.x*=u,this.y*=u,this},scaleBy:function(u){return new K(this.x*u.x,this.y*u.y)},unscaleBy:function(u){return new K(this.x/u.x,this.y/u.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=$(this.x),this.y=$(this.y),this},distanceTo:function(u){u=D(u);var d=u.x-this.x,y=u.y-this.y;return Math.sqrt(d*d+y*y)},equals:function(u){return u=D(u),u.x===this.x&&u.y===this.y},contains:function(u){return u=D(u),Math.abs(u.x)<=Math.abs(this.x)&&Math.abs(u.y)<=Math.abs(this.y)},toString:function(){return"Point("+p(this.x)+", "+p(this.y)+")"}};function D(u,d,y){return u instanceof K?u:w(u)?new K(u[0],u[1]):u==null?u:typeof u=="object"&&"x"in u&&"y"in u?new K(u.x,u.y):new K(u,d,y)}function B(u,d){if(u)for(var y=d?[u,d]:u,T=0,M=y.length;T=this.min.x&&y.x<=this.max.x&&d.y>=this.min.y&&y.y<=this.max.y},intersects:function(u){u=ne(u);var d=this.min,y=this.max,T=u.min,M=u.max,j=M.x>=d.x&&T.x<=y.x,te=M.y>=d.y&&T.y<=y.y;return j&&te},overlaps:function(u){u=ne(u);var d=this.min,y=this.max,T=u.min,M=u.max,j=M.x>d.x&&T.xd.y&&T.y=d.lat&&M.lat<=y.lat&&T.lng>=d.lng&&M.lng<=y.lng},intersects:function(u){u=G(u);var d=this._southWest,y=this._northEast,T=u.getSouthWest(),M=u.getNorthEast(),j=M.lat>=d.lat&&T.lat<=y.lat,te=M.lng>=d.lng&&T.lng<=y.lng;return j&&te},overlaps:function(u){u=G(u);var d=this._southWest,y=this._northEast,T=u.getSouthWest(),M=u.getNorthEast(),j=M.lat>d.lat&&T.latd.lng&&T.lng1,en=function(){var u=!1;try{var d=Object.defineProperty({},"passive",{get:function(){u=!0}});window.addEventListener("testPassiveEventSupport",h,d),window.removeEventListener("testPassiveEventSupport",h,d)}catch{}return u}(),or=function(){return!!document.createElement("canvas").getContext}(),Dn=!!(document.createElementNS&&Le("svg").createSVGRect),An=!!Dn&&function(){var u=document.createElement("div");return u.innerHTML="",(u.firstChild&&u.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),pn=!Dn&&function(){try{var u=document.createElement("div");u.innerHTML='';var d=u.firstChild;return d.style.behavior="url(#default#VML)",d&&typeof d.adj=="object"}catch{return!1}}(),li=navigator.platform.indexOf("Mac")===0,ci=navigator.platform.indexOf("Linux")===0;function In(u){return navigator.userAgent.toLowerCase().indexOf(u)>=0}var He={ie:be,ielt9:Te,edge:De,webkit:Re,android:Ne,android23:ue,androidStock:we,opera:_e,chrome:Ce,gecko:ke,safari:Ie,phantom:nt,opera12:it,win:Ke,ie3d:Gt,webkit3d:Ut,gecko3d:xn,any3d:ir,mobile:Ni,mobileWebkit:Ln,mobileWebkit3d:nu,msPointer:Li,pointer:fh,touch:hh,touchNative:dh,mobileOpera:ru,mobileGecko:na,retina:cn,passiveEvents:en,canvas:or,svg:Dn,vml:pn,inlineSvg:An,mac:li,linux:ci},lT=He.msPointer?"MSPointerDown":"pointerdown",cT=He.msPointer?"MSPointerMove":"pointermove",uT=He.msPointer?"MSPointerUp":"pointerup",fT=He.msPointer?"MSPointerCancel":"pointercancel",k_={touchstart:lT,touchmove:cT,touchend:uT,touchcancel:fT},dT={touchstart:qF,touchmove:ph,touchend:ph,touchcancel:ph},dl={},hT=!1;function UF(u,d,y){return d==="touchstart"&&YF(),dT[d]?(y=dT[d].bind(this,y),u.addEventListener(k_[d],y,!1),y):(console.warn("wrong event specified:",d),L.Util.falseFn)}function VF(u,d,y){if(!k_[d]){console.warn("wrong event specified:",d);return}u.removeEventListener(k_[d],y,!1)}function HF(u){dl[u.pointerId]=u}function WF(u){dl[u.pointerId]&&(dl[u.pointerId]=u)}function pT(u){delete dl[u.pointerId]}function YF(){hT||(document.addEventListener(lT,HF,!0),document.addEventListener(cT,WF,!0),document.addEventListener(uT,pT,!0),document.addEventListener(fT,pT,!0),hT=!0)}function ph(u,d){if(d.pointerType!==(d.MSPOINTER_TYPE_MOUSE||"mouse")){d.touches=[];for(var y in dl)d.touches.push(dl[y]);d.changedTouches=[d],u(d)}}function qF(u,d){d.MSPOINTER_TYPE_TOUCH&&d.pointerType===d.MSPOINTER_TYPE_TOUCH&&Fn(d),ph(u,d)}function GF(u){var d={},y,T;for(T in u)y=u[T],d[T]=y&&y.bind?y.bind(u):y;return u=d,d.type="dblclick",d.detail=2,d.isTrusted=!1,d._simulated=!0,d}var ZF=200;function KF(u,d){u.addEventListener("dblclick",d);var y=0,T;function M(j){if(j.detail!==1){T=j.detail;return}if(!(j.pointerType==="mouse"||j.sourceCapabilities&&!j.sourceCapabilities.firesTouchEvents)){var te=_T(j);if(!(te.some(function(pe){return pe instanceof HTMLLabelElement&&pe.attributes.for})&&!te.some(function(pe){return pe instanceof HTMLInputElement||pe instanceof HTMLSelectElement}))){var de=Date.now();de-y<=ZF?(T++,T===2&&d(GF(j))):T=1,y=de}}}return u.addEventListener("click",M),{dblclick:d,simDblclick:M}}function XF(u,d){u.removeEventListener("dblclick",d.dblclick),u.removeEventListener("click",d.simDblclick)}var M_=vh(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),iu=vh(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),mT=iu==="webkitTransition"||iu==="OTransition"?iu+"End":"transitionend";function gT(u){return typeof u=="string"?document.getElementById(u):u}function ou(u,d){var y=u.style[d]||u.currentStyle&&u.currentStyle[d];if((!y||y==="auto")&&document.defaultView){var T=document.defaultView.getComputedStyle(u,null);y=T?T[d]:null}return y==="auto"?null:y}function pt(u,d,y){var T=document.createElement(u);return T.className=d||"",y&&y.appendChild(T),T}function Vt(u){var d=u.parentNode;d&&d.removeChild(u)}function mh(u){for(;u.firstChild;)u.removeChild(u.firstChild)}function hl(u){var d=u.parentNode;d&&d.lastChild!==u&&d.appendChild(u)}function pl(u){var d=u.parentNode;d&&d.firstChild!==u&&d.insertBefore(u,d.firstChild)}function R_(u,d){if(u.classList!==void 0)return u.classList.contains(d);var y=gh(u);return y.length>0&&new RegExp("(^|\\s)"+d+"(\\s|$)").test(y)}function et(u,d){if(u.classList!==void 0)for(var y=g(d),T=0,M=y.length;T0?2*window.devicePixelRatio:1;function wT(u){return He.edge?u.wheelDeltaY/2:u.deltaY&&u.deltaMode===0?-u.deltaY/e$:u.deltaY&&u.deltaMode===1?-u.deltaY*20:u.deltaY&&u.deltaMode===2?-u.deltaY*60:u.deltaX||u.deltaZ?0:u.wheelDelta?(u.wheelDeltaY||u.wheelDelta)/2:u.detail&&Math.abs(u.detail)<32765?-u.detail*20:u.detail?u.detail/-32765*60:0}function V_(u,d){var y=d.relatedTarget;if(!y)return!0;try{for(;y&&y!==u;)y=y.parentNode}catch{return!1}return y!==u}var t$={__proto__:null,on:Ge,off:Ot,stopPropagation:oa,disableScrollPropagation:U_,disableClickPropagation:cu,preventDefault:Fn,stop:sa,getPropagationPath:_T,getMousePosition:bT,getWheelDelta:wT,isExternalTarget:V_,addListener:Ge,removeListener:Ot},xT=ce.extend({run:function(u,d,y,T){this.stop(),this._el=u,this._inProgress=!0,this._duration=y||.25,this._easeOutPower=1/Math.max(T||.5,.2),this._startPos=ia(u),this._offset=d.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=Y(this._animate,this),this._step()},_step:function(u){var d=+new Date-this._startTime,y=this._duration*1e3;dthis.options.maxZoom)?this.setZoom(u):this},panInsideBounds:function(u,d){this._enforcingBounds=!0;var y=this.getCenter(),T=this._limitCenter(y,this._zoom,G(u));return y.equals(T)||this.panTo(T,d),this._enforcingBounds=!1,this},panInside:function(u,d){d=d||{};var y=D(d.paddingTopLeft||d.padding||[0,0]),T=D(d.paddingBottomRight||d.padding||[0,0]),M=this.project(this.getCenter()),j=this.project(u),te=this.getPixelBounds(),de=ne([te.min.add(y),te.max.subtract(T)]),pe=de.getSize();if(!de.contains(j)){this._enforcingBounds=!0;var Se=j.subtract(de.getCenter()),Ae=de.extend(j).getSize().subtract(pe);M.x+=Se.x<0?-Ae.x:Ae.x,M.y+=Se.y<0?-Ae.y:Ae.y,this.panTo(this.unproject(M),d),this._enforcingBounds=!1}return this},invalidateSize:function(u){if(!this._loaded)return this;u=i({animate:!1,pan:!0},u===!0?{animate:!0}:u);var d=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var y=this.getSize(),T=d.divideBy(2).round(),M=y.divideBy(2).round(),j=T.subtract(M);return!j.x&&!j.y?this:(u.animate&&u.pan?this.panBy(j):(u.pan&&this._rawPanBy(j),this.fire("move"),u.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(s(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:d,newSize:y}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(u){if(u=this._locateOptions=i({timeout:1e4,watch:!1},u),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var d=s(this._handleGeolocationResponse,this),y=s(this._handleGeolocationError,this);return u.watch?this._locationWatchId=navigator.geolocation.watchPosition(d,y,u):navigator.geolocation.getCurrentPosition(d,y,u),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(u){if(this._container._leaflet_id){var d=u.code,y=u.message||(d===1?"permission denied":d===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:d,message:"Geolocation error: "+y+"."})}},_handleGeolocationResponse:function(u){if(this._container._leaflet_id){var d=u.coords.latitude,y=u.coords.longitude,T=new re(d,y),M=T.toBounds(u.coords.accuracy*2),j=this._locateOptions;if(j.setView){var te=this.getBoundsZoom(M);this.setView(T,j.maxZoom?Math.min(te,j.maxZoom):te)}var de={latlng:T,bounds:M,timestamp:u.timestamp};for(var pe in u.coords)typeof u.coords[pe]=="number"&&(de[pe]=u.coords[pe]);this.fire("locationfound",de)}},addHandler:function(u,d){if(!d)return this;var y=this[u]=new d(this);return this._handlers.push(y),this.options[u]&&y.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),Vt(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(q(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var u;for(u in this._layers)this._layers[u].remove();for(u in this._panes)Vt(this._panes[u]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(u,d){var y="leaflet-pane"+(u?" leaflet-"+u.replace("Pane","")+"-pane":""),T=pt("div",y,d||this._mapPane);return u&&(this._panes[u]=T),T},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var u=this.getPixelBounds(),d=this.unproject(u.getBottomLeft()),y=this.unproject(u.getTopRight());return new W(d,y)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(u,d,y){u=G(u),y=D(y||[0,0]);var T=this.getZoom()||0,M=this.getMinZoom(),j=this.getMaxZoom(),te=u.getNorthWest(),de=u.getSouthEast(),pe=this.getSize().subtract(y),Se=ne(this.project(de,T),this.project(te,T)).getSize(),Ae=He.any3d?this.options.zoomSnap:1,qe=pe.x/Se.x,Xe=pe.y/Se.y,zr=d?Math.max(qe,Xe):Math.min(qe,Xe);return T=this.getScaleZoom(zr,T),Ae&&(T=Math.round(T/(Ae/100))*(Ae/100),T=d?Math.ceil(T/Ae)*Ae:Math.floor(T/Ae)*Ae),Math.max(M,Math.min(j,T))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new K(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(u,d){var y=this._getTopLeftPoint(u,d);return new B(y,y.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(u){return this.options.crs.getProjectedBounds(u===void 0?this.getZoom():u)},getPane:function(u){return typeof u=="string"?this._panes[u]:u},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(u,d){var y=this.options.crs;return d=d===void 0?this._zoom:d,y.scale(u)/y.scale(d)},getScaleZoom:function(u,d){var y=this.options.crs;d=d===void 0?this._zoom:d;var T=y.zoom(u*y.scale(d));return isNaN(T)?1/0:T},project:function(u,d){return d=d===void 0?this._zoom:d,this.options.crs.latLngToPoint(le(u),d)},unproject:function(u,d){return d=d===void 0?this._zoom:d,this.options.crs.pointToLatLng(D(u),d)},layerPointToLatLng:function(u){var d=D(u).add(this.getPixelOrigin());return this.unproject(d)},latLngToLayerPoint:function(u){var d=this.project(le(u))._round();return d._subtract(this.getPixelOrigin())},wrapLatLng:function(u){return this.options.crs.wrapLatLng(le(u))},wrapLatLngBounds:function(u){return this.options.crs.wrapLatLngBounds(G(u))},distance:function(u,d){return this.options.crs.distance(le(u),le(d))},containerPointToLayerPoint:function(u){return D(u).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(u){return D(u).add(this._getMapPanePos())},containerPointToLatLng:function(u){var d=this.containerPointToLayerPoint(D(u));return this.layerPointToLatLng(d)},latLngToContainerPoint:function(u){return this.layerPointToContainerPoint(this.latLngToLayerPoint(le(u)))},mouseEventToContainerPoint:function(u){return bT(u,this._container)},mouseEventToLayerPoint:function(u){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(u))},mouseEventToLatLng:function(u){return this.layerPointToLatLng(this.mouseEventToLayerPoint(u))},_initContainer:function(u){var d=this._container=gT(u);if(d){if(d._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");Ge(d,"scroll",this._onScroll,this),this._containerId=l(d)},_initLayout:function(){var u=this._container;this._fadeAnimated=this.options.fadeAnimation&&He.any3d,et(u,"leaflet-container"+(He.touch?" leaflet-touch":"")+(He.retina?" leaflet-retina":"")+(He.ielt9?" leaflet-oldie":"")+(He.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var d=ou(u,"position");d!=="absolute"&&d!=="relative"&&d!=="fixed"&&(u.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var u=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),un(this._mapPane,new K(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(et(u.markerPane,"leaflet-zoom-hide"),et(u.shadowPane,"leaflet-zoom-hide"))},_resetView:function(u,d,y){un(this._mapPane,new K(0,0));var T=!this._loaded;this._loaded=!0,d=this._limitZoom(d),this.fire("viewprereset");var M=this._zoom!==d;this._moveStart(M,y)._move(u,d)._moveEnd(M),this.fire("viewreset"),T&&this.fire("load")},_moveStart:function(u,d){return u&&this.fire("zoomstart"),d||this.fire("movestart"),this},_move:function(u,d,y,T){d===void 0&&(d=this._zoom);var M=this._zoom!==d;return this._zoom=d,this._lastCenter=u,this._pixelOrigin=this._getNewPixelOrigin(u),T?y&&y.pinch&&this.fire("zoom",y):((M||y&&y.pinch)&&this.fire("zoom",y),this.fire("move",y)),this},_moveEnd:function(u){return u&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return q(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(u){un(this._mapPane,this._getMapPanePos().subtract(u))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(u){this._targets={},this._targets[l(this._container)]=this;var d=u?Ot:Ge;d(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&d(window,"resize",this._onResize,this),He.any3d&&this.options.transform3DLimit&&(u?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){q(this._resizeRequest),this._resizeRequest=Y(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var u=this._getMapPanePos();Math.max(Math.abs(u.x),Math.abs(u.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(u,d){for(var y=[],T,M=d==="mouseout"||d==="mouseover",j=u.target||u.srcElement,te=!1;j;){if(T=this._targets[l(j)],T&&(d==="click"||d==="preclick")&&this._draggableMoved(T)){te=!0;break}if(T&&T.listens(d,!0)&&(M&&!V_(j,u)||(y.push(T),M))||j===this._container)break;j=j.parentNode}return!y.length&&!te&&!M&&this.listens(d,!0)&&(y=[this]),y},_isClickDisabled:function(u){for(;u&&u!==this._container;){if(u._leaflet_disable_click)return!0;u=u.parentNode}},_handleDOMEvent:function(u){var d=u.target||u.srcElement;if(!(!this._loaded||d._leaflet_disable_events||u.type==="click"&&this._isClickDisabled(d))){var y=u.type;y==="mousedown"&&F_(d),this._fireDOMEvent(u,y)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(u,d,y){if(u.type==="click"){var T=i({},u);T.type="preclick",this._fireDOMEvent(T,T.type,y)}var M=this._findEventTargets(u,d);if(y){for(var j=[],te=0;te0?Math.round(u-d)/2:Math.max(0,Math.ceil(u))-Math.max(0,Math.floor(d))},_limitZoom:function(u){var d=this.getMinZoom(),y=this.getMaxZoom(),T=He.any3d?this.options.zoomSnap:1;return T&&(u=Math.round(u/T)*T),Math.max(d,Math.min(y,u))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){tn(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(u,d){var y=this._getCenterOffset(u)._trunc();return(d&&d.animate)!==!0&&!this.getSize().contains(y)?!1:(this.panBy(y,d),!0)},_createAnimProxy:function(){var u=this._proxy=pt("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(u),this.on("zoomanim",function(d){var y=M_,T=this._proxy.style[y];ra(this._proxy,this.project(d.center,d.zoom),this.getZoomScale(d.zoom,1)),T===this._proxy.style[y]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Vt(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var u=this.getCenter(),d=this.getZoom();ra(this._proxy,this.project(u,d),this.getZoomScale(d,1))},_catchTransitionEnd:function(u){this._animatingZoom&&u.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(u,d,y){if(this._animatingZoom)return!0;if(y=y||{},!this._zoomAnimated||y.animate===!1||this._nothingToAnimate()||Math.abs(d-this._zoom)>this.options.zoomAnimationThreshold)return!1;var T=this.getZoomScale(d),M=this._getCenterOffset(u)._divideBy(1-1/T);return y.animate!==!0&&!this.getSize().contains(M)?!1:(Y(function(){this._moveStart(!0,!1)._animateZoom(u,d,!0)},this),!0)},_animateZoom:function(u,d,y,T){this._mapPane&&(y&&(this._animatingZoom=!0,this._animateToCenter=u,this._animateToZoom=d,et(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:u,zoom:d,noUpdate:T}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(s(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&tn(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function n$(u,d){return new ct(u,d)}var ui=Z.extend({options:{position:"topright"},initialize:function(u){_(this,u)},getPosition:function(){return this.options.position},setPosition:function(u){var d=this._map;return d&&d.removeControl(this),this.options.position=u,d&&d.addControl(this),this},getContainer:function(){return this._container},addTo:function(u){this.remove(),this._map=u;var d=this._container=this.onAdd(u),y=this.getPosition(),T=u._controlCorners[y];return et(d,"leaflet-control"),y.indexOf("bottom")!==-1?T.insertBefore(d,T.firstChild):T.appendChild(d),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Vt(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(u){this._map&&u&&u.screenX>0&&u.screenY>0&&this._map.getContainer().focus()}}),uu=function(u){return new ui(u)};ct.include({addControl:function(u){return u.addTo(this),this},removeControl:function(u){return u.remove(),this},_initControlPos:function(){var u=this._controlCorners={},d="leaflet-",y=this._controlContainer=pt("div",d+"control-container",this._container);function T(M,j){var te=d+M+" "+d+j;u[M+j]=pt("div",te,y)}T("top","left"),T("top","right"),T("bottom","left"),T("bottom","right")},_clearControlPos:function(){for(var u in this._controlCorners)Vt(this._controlCorners[u]);Vt(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var ST=ui.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(u,d,y,T){return y1,this._baseLayersList.style.display=u?"":"none"),this._separator.style.display=d&&u?"":"none",this},_onLayerChange:function(u){this._handlingClick||this._update();var d=this._getLayer(l(u.target)),y=d.overlay?u.type==="add"?"overlayadd":"overlayremove":u.type==="add"?"baselayerchange":null;y&&this._map.fire(y,d)},_createRadioElement:function(u,d){var y='",T=document.createElement("div");return T.innerHTML=y,T.firstChild},_addItem:function(u){var d=document.createElement("label"),y=this._map.hasLayer(u.layer),T;u.overlay?(T=document.createElement("input"),T.type="checkbox",T.className="leaflet-control-layers-selector",T.defaultChecked=y):T=this._createRadioElement("leaflet-base-layers_"+l(this),y),this._layerControlInputs.push(T),T.layerId=l(u.layer),Ge(T,"click",this._onInputClick,this);var M=document.createElement("span");M.innerHTML=" "+u.name;var j=document.createElement("span");d.appendChild(j),j.appendChild(T),j.appendChild(M);var te=u.overlay?this._overlaysList:this._baseLayersList;return te.appendChild(d),this._checkDisabledLayers(),d},_onInputClick:function(){var u=this._layerControlInputs,d,y,T=[],M=[];this._handlingClick=!0;for(var j=u.length-1;j>=0;j--)d=u[j],y=this._getLayer(d.layerId).layer,d.checked?T.push(y):d.checked||M.push(y);for(j=0;j=0;M--)d=u[M],y=this._getLayer(d.layerId).layer,d.disabled=y.options.minZoom!==void 0&&Ty.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this}}),r$=function(u,d,y){return new ST(u,d,y)},H_=ui.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(u){var d="leaflet-control-zoom",y=pt("div",d+" leaflet-bar"),T=this.options;return this._zoomInButton=this._createButton(T.zoomInText,T.zoomInTitle,d+"-in",y,this._zoomIn),this._zoomOutButton=this._createButton(T.zoomOutText,T.zoomOutTitle,d+"-out",y,this._zoomOut),this._updateDisabled(),u.on("zoomend zoomlevelschange",this._updateDisabled,this),y},onRemove:function(u){u.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(u){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(u.shiftKey?3:1))},_createButton:function(u,d,y,T,M){var j=pt("a",y,T);return j.innerHTML=u,j.href="#",j.title=d,j.setAttribute("role","button"),j.setAttribute("aria-label",d),cu(j),Ge(j,"click",sa),Ge(j,"click",M,this),Ge(j,"click",this._refocusOnMap,this),j},_updateDisabled:function(){var u=this._map,d="leaflet-disabled";tn(this._zoomInButton,d),tn(this._zoomOutButton,d),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||u._zoom===u.getMinZoom())&&(et(this._zoomOutButton,d),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||u._zoom===u.getMaxZoom())&&(et(this._zoomInButton,d),this._zoomInButton.setAttribute("aria-disabled","true"))}});ct.mergeOptions({zoomControl:!0}),ct.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new H_,this.addControl(this.zoomControl))});var i$=function(u){return new H_(u)},CT=ui.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(u){var d="leaflet-control-scale",y=pt("div",d),T=this.options;return this._addScales(T,d+"-line",y),u.on(T.updateWhenIdle?"moveend":"move",this._update,this),u.whenReady(this._update,this),y},onRemove:function(u){u.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(u,d,y){u.metric&&(this._mScale=pt("div",d,y)),u.imperial&&(this._iScale=pt("div",d,y))},_update:function(){var u=this._map,d=u.getSize().y/2,y=u.distance(u.containerPointToLatLng([0,d]),u.containerPointToLatLng([this.options.maxWidth,d]));this._updateScales(y)},_updateScales:function(u){this.options.metric&&u&&this._updateMetric(u),this.options.imperial&&u&&this._updateImperial(u)},_updateMetric:function(u){var d=this._getRoundNum(u),y=d<1e3?d+" m":d/1e3+" km";this._updateScale(this._mScale,y,d/u)},_updateImperial:function(u){var d=u*3.2808399,y,T,M;d>5280?(y=d/5280,T=this._getRoundNum(y),this._updateScale(this._iScale,T+" mi",T/y)):(M=this._getRoundNum(d),this._updateScale(this._iScale,M+" ft",M/d))},_updateScale:function(u,d,y){u.style.width=Math.round(this.options.maxWidth*y)+"px",u.innerHTML=d},_getRoundNum:function(u){var d=Math.pow(10,(Math.floor(u)+"").length-1),y=u/d;return y=y>=10?10:y>=5?5:y>=3?3:y>=2?2:1,d*y}}),o$=function(u){return new CT(u)},s$='',W_=ui.extend({options:{position:"bottomright",prefix:''+(He.inlineSvg?s$+" ":"")+"Leaflet"},initialize:function(u){_(this,u),this._attributions={}},onAdd:function(u){u.attributionControl=this,this._container=pt("div","leaflet-control-attribution"),cu(this._container);for(var d in u._layers)u._layers[d].getAttribution&&this.addAttribution(u._layers[d].getAttribution());return this._update(),u.on("layeradd",this._addAttribution,this),this._container},onRemove:function(u){u.off("layeradd",this._addAttribution,this)},_addAttribution:function(u){u.layer.getAttribution&&(this.addAttribution(u.layer.getAttribution()),u.layer.once("remove",function(){this.removeAttribution(u.layer.getAttribution())},this))},setPrefix:function(u){return this.options.prefix=u,this._update(),this},addAttribution:function(u){return u?(this._attributions[u]||(this._attributions[u]=0),this._attributions[u]++,this._update(),this):this},removeAttribution:function(u){return u?(this._attributions[u]&&(this._attributions[u]--,this._update()),this):this},_update:function(){if(this._map){var u=[];for(var d in this._attributions)this._attributions[d]&&u.push(d);var y=[];this.options.prefix&&y.push(this.options.prefix),u.length&&y.push(u.join(", ")),this._container.innerHTML=y.join(' ')}}});ct.mergeOptions({attributionControl:!0}),ct.addInitHook(function(){this.options.attributionControl&&new W_().addTo(this)});var a$=function(u){return new W_(u)};ui.Layers=ST,ui.Zoom=H_,ui.Scale=CT,ui.Attribution=W_,uu.layers=r$,uu.zoom=i$,uu.scale=o$,uu.attribution=a$;var Ai=Z.extend({initialize:function(u){this._map=u},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ai.addTo=function(u,d){return u.addHandler(d,this),this};var l$={Events:oe},ET=He.touch?"touchstart mousedown":"mousedown",Vo=ce.extend({options:{clickTolerance:3},initialize:function(u,d,y,T){_(this,T),this._element=u,this._dragStartTarget=d||u,this._preventOutline=y},enable:function(){this._enabled||(Ge(this._dragStartTarget,ET,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Vo._dragging===this&&this.finishDrag(!0),Ot(this._dragStartTarget,ET,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(u){if(this._enabled&&(this._moved=!1,!R_(this._element,"leaflet-zoom-anim"))){if(u.touches&&u.touches.length!==1){Vo._dragging===this&&this.finishDrag();return}if(!(Vo._dragging||u.shiftKey||u.which!==1&&u.button!==1&&!u.touches)&&(Vo._dragging=this,this._preventOutline&&F_(this._element),D_(),su(),!this._moving)){this.fire("down");var d=u.touches?u.touches[0]:u,y=vT(this._element);this._startPoint=new K(d.clientX,d.clientY),this._startPos=ia(this._element),this._parentScale=$_(y);var T=u.type==="mousedown";Ge(document,T?"mousemove":"touchmove",this._onMove,this),Ge(document,T?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(u){if(this._enabled){if(u.touches&&u.touches.length>1){this._moved=!0;return}var d=u.touches&&u.touches.length===1?u.touches[0]:u,y=new K(d.clientX,d.clientY)._subtract(this._startPoint);!y.x&&!y.y||Math.abs(y.x)+Math.abs(y.y)j&&(te=de,j=pe);j>y&&(d[te]=1,Y_(u,d,y,T,te),Y_(u,d,y,te,M))}function f$(u,d){for(var y=[u[0]],T=1,M=0,j=u.length;Td&&(y.push(u[T]),M=T);return Md.max.x&&(y|=2),u.yd.max.y&&(y|=8),y}function d$(u,d){var y=d.x-u.x,T=d.y-u.y;return y*y+T*T}function fu(u,d,y,T){var M=d.x,j=d.y,te=y.x-M,de=y.y-j,pe=te*te+de*de,Se;return pe>0&&(Se=((u.x-M)*te+(u.y-j)*de)/pe,Se>1?(M=y.x,j=y.y):Se>0&&(M+=te*Se,j+=de*Se)),te=u.x-M,de=u.y-j,T?te*te+de*de:new K(M,j)}function Br(u){return!w(u[0])||typeof u[0][0]!="object"&&typeof u[0][0]<"u"}function MT(u){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Br(u)}function RT(u,d){var y,T,M,j,te,de,pe,Se;if(!u||u.length===0)throw new Error("latlngs not passed");Br(u)||(console.warn("latlngs are not flat! Only the first ring will be used"),u=u[0]);var Ae=[];for(var qe in u)Ae.push(d.project(le(u[qe])));var Xe=Ae.length;for(y=0,T=0;yT){pe=(j-T)/M,Se=[de.x-pe*(de.x-te.x),de.y-pe*(de.y-te.y)];break}return d.unproject(D(Se))}var h$={__proto__:null,simplify:TT,pointToSegmentDistance:OT,closestPointOnSegment:c$,clipSegment:kT,_getEdgeIntersection:bh,_getBitCode:aa,_sqClosestPointOnSegment:fu,isFlat:Br,_flat:MT,polylineCenter:RT};function NT(u,d,y){var T,M=[1,4,2,8],j,te,de,pe,Se,Ae,qe,Xe;for(j=0,Ae=u.length;j1e-7;de++)Se=M*Math.sin(te),Se=Math.pow((1-Se)/(1+Se),M/2),pe=Math.PI/2-2*Math.atan(j*Se)-te,te+=pe;return new re(te*d,u.x*d/y)}},m$={__proto__:null,LonLat:q_,Mercator:G_,SphericalMercator:F},g$=i({},O,{code:"EPSG:3395",projection:G_,transformation:function(){var u=.5/(Math.PI*G_.R);return Q(u,.5,-u,.5)}()}),DT=i({},O,{code:"EPSG:4326",projection:q_,transformation:Q(1/180,1,-1/180,.5)}),v$=i({},me,{projection:q_,transformation:Q(1,0,-1,0),scale:function(u){return Math.pow(2,u)},zoom:function(u){return Math.log(u)/Math.LN2},distance:function(u,d){var y=d.lng-u.lng,T=d.lat-u.lat;return Math.sqrt(y*y+T*T)},infinite:!0});me.Earth=O,me.EPSG3395=g$,me.EPSG3857=se,me.EPSG900913=ve,me.EPSG4326=DT,me.Simple=v$;var fi=ce.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(u){return u.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(u){return u&&u.removeLayer(this),this},getPane:function(u){return this._map.getPane(u?this.options[u]||u:this.options.pane)},addInteractiveTarget:function(u){return this._map._targets[l(u)]=this,this},removeInteractiveTarget:function(u){return delete this._map._targets[l(u)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(u){var d=u.target;if(d.hasLayer(this)){if(this._map=d,this._zoomAnimated=d._zoomAnimated,this.getEvents){var y=this.getEvents();d.on(y,this),this.once("remove",function(){d.off(y,this)},this)}this.onAdd(d),this.fire("add"),d.fire("layeradd",{layer:this})}}});ct.include({addLayer:function(u){if(!u._layerAdd)throw new Error("The provided object is not a Layer.");var d=l(u);return this._layers[d]?this:(this._layers[d]=u,u._mapToAdd=this,u.beforeAdd&&u.beforeAdd(this),this.whenReady(u._layerAdd,u),this)},removeLayer:function(u){var d=l(u);return this._layers[d]?(this._loaded&&u.onRemove(this),delete this._layers[d],this._loaded&&(this.fire("layerremove",{layer:u}),u.fire("remove")),u._map=u._mapToAdd=null,this):this},hasLayer:function(u){return l(u)in this._layers},eachLayer:function(u,d){for(var y in this._layers)u.call(d,this._layers[y]);return this},_addLayers:function(u){u=u?w(u)?u:[u]:[];for(var d=0,y=u.length;dthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&d[0]instanceof re&&d[0].equals(d[y-1])&&d.pop(),d},_setLatLngs:function(u){oo.prototype._setLatLngs.call(this,u),Br(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Br(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var u=this._renderer._bounds,d=this.options.weight,y=new K(d,d);if(u=new B(u.min.subtract(y),u.max.add(y)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(u))){if(this.options.noClip){this._parts=this._rings;return}for(var T=0,M=this._rings.length,j;Tu.y!=M.y>u.y&&u.x<(M.x-T.x)*(u.y-T.y)/(M.y-T.y)+T.x&&(d=!d);return d||oo.prototype._containsPoint.call(this,u,!0)}});function E$(u,d){return new vl(u,d)}var so=la.extend({initialize:function(u,d){_(this,d),this._layers={},u&&this.addData(u)},addData:function(u){var d=w(u)?u:u.features,y,T,M;if(d){for(y=0,T=d.length;y0?T:[d.src];return}w(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(d.style,"objectFit")&&(d.style.objectFit="fill"),d.autoplay=!!this.options.autoplay,d.loop=!!this.options.loop,d.muted=!!this.options.muted,d.playsInline=!!this.options.playsInline;for(var j=0;jM?(d.height=M+"px",et(u,j)):tn(u,j),this._containerWidth=this._container.offsetWidth},_animateZoom:function(u){var d=this._map._latLngToNewLayerPoint(this._latlng,u.zoom,u.center),y=this._getAnchor();un(this._container,d.add(y))},_adjustPan:function(u){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var d=this._map,y=parseInt(ou(this._container,"marginBottom"),10)||0,T=this._container.offsetHeight+y,M=this._containerWidth,j=new K(this._containerLeft,-T-this._containerBottom);j._add(ia(this._container));var te=d.layerPointToContainerPoint(j),de=D(this.options.autoPanPadding),pe=D(this.options.autoPanPaddingTopLeft||de),Se=D(this.options.autoPanPaddingBottomRight||de),Ae=d.getSize(),qe=0,Xe=0;te.x+M+Se.x>Ae.x&&(qe=te.x+M-Ae.x+Se.x),te.x-qe-pe.x<0&&(qe=te.x-pe.x),te.y+T+Se.y>Ae.y&&(Xe=te.y+T-Ae.y+Se.y),te.y-Xe-pe.y<0&&(Xe=te.y-pe.y),(qe||Xe)&&d.fire("autopanstart").panBy([qe,Xe],{animate:u&&u.type==="moveend"})}},_getAnchor:function(){return D(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),M$=function(u,d){return new Ph(u,d)};ct.mergeOptions({closePopupOnClick:!0}),ct.include({openPopup:function(u,d,y){return this._initOverlay(Ph,u,d,y).openOn(this),this},closePopup:function(u){return u=arguments.length?u:this._popup,u&&u.close(),this}}),fi.include({bindPopup:function(u,d){return this._popup=this._initOverlay(Ph,this._popup,u,d),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(u){return this._popup&&this._popup._prepareOpen(u||this._latlng)&&this._popup.openOn(this._map),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(u){return this._popup&&this._popup.setContent(u),this},getPopup:function(){return this._popup},_openPopup:function(u){if(!(!this._popup||!this._map)){sa(u);var d=u.layer||u.target;if(this._popup._source===d&&!(d instanceof Ho)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(u.latlng);return}this._popup._source=d,this.openPopup(u.latlng)}},_movePopup:function(u){this._popup.setLatLng(u.latlng)},_onKeyPress:function(u){u.originalEvent.keyCode===13&&this._openPopup(u)}});var kh=Ii.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(u){Ii.prototype.onAdd.call(this,u),this.setOpacity(this.options.opacity),u.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(u){Ii.prototype.onRemove.call(this,u),u.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var u=Ii.prototype.getEvents.call(this);return this.options.permanent||(u.preclick=this.close),u},_initLayout:function(){var u="leaflet-tooltip",d=u+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=pt("div",d),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+l(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(u){var d,y,T=this._map,M=this._container,j=T.latLngToContainerPoint(T.getCenter()),te=T.layerPointToContainerPoint(u),de=this.options.direction,pe=M.offsetWidth,Se=M.offsetHeight,Ae=D(this.options.offset),qe=this._getAnchor();de==="top"?(d=pe/2,y=Se):de==="bottom"?(d=pe/2,y=0):de==="center"?(d=pe/2,y=Se/2):de==="right"?(d=0,y=Se/2):de==="left"?(d=pe,y=Se/2):te.xthis.options.maxZoom||yT?this._retainParent(M,j,te,T):!1)},_retainChildren:function(u,d,y,T){for(var M=2*u;M<2*u+2;M++)for(var j=2*d;j<2*d+2;j++){var te=new K(M,j);te.z=y+1;var de=this._tileCoordsToKey(te),pe=this._tiles[de];if(pe&&pe.active){pe.retain=!0;continue}else pe&&pe.loaded&&(pe.retain=!0);y+1this.options.maxZoom||this.options.minZoom!==void 0&&M1){this._setView(u,y);return}for(var qe=M.min.y;qe<=M.max.y;qe++)for(var Xe=M.min.x;Xe<=M.max.x;Xe++){var zr=new K(Xe,qe);if(zr.z=this._tileZoom,!!this._isValidTile(zr)){var ca=this._tiles[this._tileCoordsToKey(zr)];ca?ca.current=!0:te.push(zr)}}if(te.sort(function(Wo,J_){return Wo.distanceTo(j)-J_.distanceTo(j)}),te.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var Rh=document.createDocumentFragment();for(Xe=0;Xey.max.x)||!d.wrapLat&&(u.yy.max.y))return!1}if(!this.options.bounds)return!0;var T=this._tileCoordsToBounds(u);return G(this.options.bounds).overlaps(T)},_keyToBounds:function(u){return this._tileCoordsToBounds(this._keyToTileCoords(u))},_tileCoordsToNwSe:function(u){var d=this._map,y=this.getTileSize(),T=u.scaleBy(y),M=T.add(y),j=d.unproject(T,u.z),te=d.unproject(M,u.z);return[j,te]},_tileCoordsToBounds:function(u){var d=this._tileCoordsToNwSe(u),y=new W(d[0],d[1]);return this.options.noWrap||(y=this._map.wrapLatLngBounds(y)),y},_tileCoordsToKey:function(u){return u.x+":"+u.y+":"+u.z},_keyToTileCoords:function(u){var d=u.split(":"),y=new K(+d[0],+d[1]);return y.z=+d[2],y},_removeTile:function(u){var d=this._tiles[u];d&&(Vt(d.el),delete this._tiles[u],this.fire("tileunload",{tile:d.el,coords:this._keyToTileCoords(u)}))},_initTile:function(u){et(u,"leaflet-tile");var d=this.getTileSize();u.style.width=d.x+"px",u.style.height=d.y+"px",u.onselectstart=h,u.onmousemove=h,He.ielt9&&this.options.opacity<1&&jr(u,this.options.opacity)},_addTile:function(u,d){var y=this._getTilePos(u),T=this._tileCoordsToKey(u),M=this.createTile(this._wrapCoords(u),s(this._tileReady,this,u));this._initTile(M),this.createTile.length<2&&Y(s(this._tileReady,this,u,null,M)),un(M,y),this._tiles[T]={el:M,coords:u,current:!0},d.appendChild(M),this.fire("tileloadstart",{tile:M,coords:u})},_tileReady:function(u,d,y){d&&this.fire("tileerror",{error:d,tile:y,coords:u});var T=this._tileCoordsToKey(u);y=this._tiles[T],y&&(y.loaded=+new Date,this._map._fadeAnimated?(jr(y.el,0),q(this._fadeFrame),this._fadeFrame=Y(this._updateOpacity,this)):(y.active=!0,this._pruneTiles()),d||(et(y.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:y.el,coords:u})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),He.ielt9||!this._map._fadeAnimated?Y(this._pruneTiles,this):setTimeout(s(this._pruneTiles,this),250)))},_getTilePos:function(u){return u.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(u){var d=new K(this._wrapX?f(u.x,this._wrapX):u.x,this._wrapY?f(u.y,this._wrapY):u.y);return d.z=u.z,d},_pxBoundsToTileRange:function(u){var d=this.getTileSize();return new B(u.min.unscaleBy(d).floor(),u.max.unscaleBy(d).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var u in this._tiles)if(!this._tiles[u].loaded)return!1;return!0}});function L$(u){return new hu(u)}var _l=hu.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(u,d){this._url=u,d=_(this,d),d.detectRetina&&He.retina&&d.maxZoom>0?(d.tileSize=Math.floor(d.tileSize/2),d.zoomReverse?(d.zoomOffset--,d.minZoom=Math.min(d.maxZoom,d.minZoom+1)):(d.zoomOffset++,d.maxZoom=Math.max(d.minZoom,d.maxZoom-1)),d.minZoom=Math.max(0,d.minZoom)):d.zoomReverse?d.minZoom=Math.min(d.maxZoom,d.minZoom):d.maxZoom=Math.max(d.minZoom,d.maxZoom),typeof d.subdomains=="string"&&(d.subdomains=d.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(u,d){return this._url===u&&d===void 0&&(d=!0),this._url=u,d||this.redraw(),this},createTile:function(u,d){var y=document.createElement("img");return Ge(y,"load",s(this._tileOnLoad,this,d,y)),Ge(y,"error",s(this._tileOnError,this,d,y)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(y.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(y.referrerPolicy=this.options.referrerPolicy),y.alt="",y.src=this.getTileUrl(u),y},getTileUrl:function(u){var d={r:He.retina?"@2x":"",s:this._getSubdomain(u),x:u.x,y:u.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var y=this._globalTileRange.max.y-u.y;this.options.tms&&(d.y=y),d["-y"]=y}return b(this._url,i(d,this.options))},_tileOnLoad:function(u,d){He.ielt9?setTimeout(s(u,this,null,d),0):u(null,d)},_tileOnError:function(u,d,y){var T=this.options.errorTileUrl;T&&d.getAttribute("src")!==T&&(d.src=T),u(y,d)},_onTileRemove:function(u){u.tile.onload=null},_getZoomForUrl:function(){var u=this._tileZoom,d=this.options.maxZoom,y=this.options.zoomReverse,T=this.options.zoomOffset;return y&&(u=d-u),u+T},_getSubdomain:function(u){var d=Math.abs(u.x+u.y)%this.options.subdomains.length;return this.options.subdomains[d]},_abortLoading:function(){var u,d;for(u in this._tiles)if(this._tiles[u].coords.z!==this._tileZoom&&(d=this._tiles[u].el,d.onload=h,d.onerror=h,!d.complete)){d.src=P;var y=this._tiles[u].coords;Vt(d),delete this._tiles[u],this.fire("tileabort",{tile:d,coords:y})}},_removeTile:function(u){var d=this._tiles[u];if(d)return d.el.setAttribute("src",P),hu.prototype._removeTile.call(this,u)},_tileReady:function(u,d,y){if(!(!this._map||y&&y.getAttribute("src")===P))return hu.prototype._tileReady.call(this,u,d,y)}});function zT(u,d){return new _l(u,d)}var UT=_l.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(u,d){this._url=u;var y=i({},this.defaultWmsParams);for(var T in d)T in this.options||(y[T]=d[T]);d=_(this,d);var M=d.detectRetina&&He.retina?2:1,j=this.getTileSize();y.width=j.x*M,y.height=j.y*M,this.wmsParams=y},onAdd:function(u){this._crs=this.options.crs||u.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var d=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[d]=this._crs.code,_l.prototype.onAdd.call(this,u)},getTileUrl:function(u){var d=this._tileCoordsToNwSe(u),y=this._crs,T=ne(y.project(d[0]),y.project(d[1])),M=T.min,j=T.max,te=(this._wmsVersion>=1.3&&this._crs===DT?[M.y,M.x,j.y,j.x]:[M.x,M.y,j.x,j.y]).join(","),de=_l.prototype.getTileUrl.call(this,u);return de+x(this.wmsParams,de,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+te},setParams:function(u,d){return i(this.wmsParams,u),d||this.redraw(),this}});function D$(u,d){return new UT(u,d)}_l.WMS=UT,zT.wms=D$;var ao=fi.extend({options:{padding:.1},initialize:function(u){_(this,u),l(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&et(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var u={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(u.zoomanim=this._onAnimZoom),u},_onAnimZoom:function(u){this._updateTransform(u.center,u.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(u,d){var y=this._map.getZoomScale(d,this._zoom),T=this._map.getSize().multiplyBy(.5+this.options.padding),M=this._map.project(this._center,d),j=T.multiplyBy(-y).add(M).subtract(this._map._getNewPixelOrigin(u,d));He.any3d?ra(this._container,j,y):un(this._container,j)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var u in this._layers)this._layers[u]._reset()},_onZoomEnd:function(){for(var u in this._layers)this._layers[u]._project()},_updatePaths:function(){for(var u in this._layers)this._layers[u]._update()},_update:function(){var u=this.options.padding,d=this._map.getSize(),y=this._map.containerPointToLayerPoint(d.multiplyBy(-u)).round();this._bounds=new B(y,y.add(d.multiplyBy(1+u*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),VT=ao.extend({options:{tolerance:0},getEvents:function(){var u=ao.prototype.getEvents.call(this);return u.viewprereset=this._onViewPreReset,u},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ao.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var u=this._container=document.createElement("canvas");Ge(u,"mousemove",this._onMouseMove,this),Ge(u,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ge(u,"mouseout",this._handleMouseOut,this),u._leaflet_disable_events=!0,this._ctx=u.getContext("2d")},_destroyContainer:function(){q(this._redrawRequest),delete this._ctx,Vt(this._container),Ot(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var u;this._redrawBounds=null;for(var d in this._layers)u=this._layers[d],u._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){ao.prototype._update.call(this);var u=this._bounds,d=this._container,y=u.getSize(),T=He.retina?2:1;un(d,u.min),d.width=T*y.x,d.height=T*y.y,d.style.width=y.x+"px",d.style.height=y.y+"px",He.retina&&this._ctx.scale(2,2),this._ctx.translate(-u.min.x,-u.min.y),this.fire("update")}},_reset:function(){ao.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(u){this._updateDashArray(u),this._layers[l(u)]=u;var d=u._order={layer:u,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=d),this._drawLast=d,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(u){this._requestRedraw(u)},_removePath:function(u){var d=u._order,y=d.next,T=d.prev;y?y.prev=T:this._drawLast=T,T?T.next=y:this._drawFirst=y,delete u._order,delete this._layers[l(u)],this._requestRedraw(u)},_updatePath:function(u){this._extendRedrawBounds(u),u._project(),u._update(),this._requestRedraw(u)},_updateStyle:function(u){this._updateDashArray(u),this._requestRedraw(u)},_updateDashArray:function(u){if(typeof u.options.dashArray=="string"){var d=u.options.dashArray.split(/[, ]+/),y=[],T,M;for(M=0;M')}}catch{}return function(u){return document.createElement("<"+u+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),A$={_initContainer:function(){this._container=pt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ao.prototype._update.call(this),this.fire("update"))},_initPath:function(u){var d=u._container=pu("shape");et(d,"leaflet-vml-shape "+(this.options.className||"")),d.coordsize="1 1",u._path=pu("path"),d.appendChild(u._path),this._updateStyle(u),this._layers[l(u)]=u},_addPath:function(u){var d=u._container;this._container.appendChild(d),u.options.interactive&&u.addInteractiveTarget(d)},_removePath:function(u){var d=u._container;Vt(d),u.removeInteractiveTarget(d),delete this._layers[l(u)]},_updateStyle:function(u){var d=u._stroke,y=u._fill,T=u.options,M=u._container;M.stroked=!!T.stroke,M.filled=!!T.fill,T.stroke?(d||(d=u._stroke=pu("stroke")),M.appendChild(d),d.weight=T.weight+"px",d.color=T.color,d.opacity=T.opacity,T.dashArray?d.dashStyle=w(T.dashArray)?T.dashArray.join(" "):T.dashArray.replace(/( *, *)/g," "):d.dashStyle="",d.endcap=T.lineCap.replace("butt","flat"),d.joinstyle=T.lineJoin):d&&(M.removeChild(d),u._stroke=null),T.fill?(y||(y=u._fill=pu("fill")),M.appendChild(y),y.color=T.fillColor||T.color,y.opacity=T.fillOpacity):y&&(M.removeChild(y),u._fill=null)},_updateCircle:function(u){var d=u._point.round(),y=Math.round(u._radius),T=Math.round(u._radiusY||y);this._setPath(u,u._empty()?"M0 0":"AL "+d.x+","+d.y+" "+y+","+T+" 0,"+65535*360)},_setPath:function(u,d){u._path.v=d},_bringToFront:function(u){hl(u._container)},_bringToBack:function(u){pl(u._container)}},Mh=He.vml?pu:Le,mu=ao.extend({_initContainer:function(){this._container=Mh("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Mh("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Vt(this._container),Ot(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){ao.prototype._update.call(this);var u=this._bounds,d=u.getSize(),y=this._container;(!this._svgSize||!this._svgSize.equals(d))&&(this._svgSize=d,y.setAttribute("width",d.x),y.setAttribute("height",d.y)),un(y,u.min),y.setAttribute("viewBox",[u.min.x,u.min.y,d.x,d.y].join(" ")),this.fire("update")}},_initPath:function(u){var d=u._path=Mh("path");u.options.className&&et(d,u.options.className),u.options.interactive&&et(d,"leaflet-interactive"),this._updateStyle(u),this._layers[l(u)]=u},_addPath:function(u){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(u._path),u.addInteractiveTarget(u._path)},_removePath:function(u){Vt(u._path),u.removeInteractiveTarget(u._path),delete this._layers[l(u)]},_updatePath:function(u){u._project(),u._update()},_updateStyle:function(u){var d=u._path,y=u.options;d&&(y.stroke?(d.setAttribute("stroke",y.color),d.setAttribute("stroke-opacity",y.opacity),d.setAttribute("stroke-width",y.weight),d.setAttribute("stroke-linecap",y.lineCap),d.setAttribute("stroke-linejoin",y.lineJoin),y.dashArray?d.setAttribute("stroke-dasharray",y.dashArray):d.removeAttribute("stroke-dasharray"),y.dashOffset?d.setAttribute("stroke-dashoffset",y.dashOffset):d.removeAttribute("stroke-dashoffset")):d.setAttribute("stroke","none"),y.fill?(d.setAttribute("fill",y.fillColor||y.color),d.setAttribute("fill-opacity",y.fillOpacity),d.setAttribute("fill-rule",y.fillRule||"evenodd")):d.setAttribute("fill","none"))},_updatePoly:function(u,d){this._setPath(u,fe(u._parts,d))},_updateCircle:function(u){var d=u._point,y=Math.max(Math.round(u._radius),1),T=Math.max(Math.round(u._radiusY),1)||y,M="a"+y+","+T+" 0 1,0 ",j=u._empty()?"M0 0":"M"+(d.x-y)+","+d.y+M+y*2+",0 "+M+-y*2+",0 ";this._setPath(u,j)},_setPath:function(u,d){u._path.setAttribute("d",d)},_bringToFront:function(u){hl(u._path)},_bringToBack:function(u){pl(u._path)}});He.vml&&mu.include(A$);function WT(u){return He.svg||He.vml?new mu(u):null}ct.include({getRenderer:function(u){var d=u.options.renderer||this._getPaneRenderer(u.options.pane)||this.options.renderer||this._renderer;return d||(d=this._renderer=this._createRenderer()),this.hasLayer(d)||this.addLayer(d),d},_getPaneRenderer:function(u){if(u==="overlayPane"||u===void 0)return!1;var d=this._paneRenderers[u];return d===void 0&&(d=this._createRenderer({pane:u}),this._paneRenderers[u]=d),d},_createRenderer:function(u){return this.options.preferCanvas&&HT(u)||WT(u)}});var YT=vl.extend({initialize:function(u,d){vl.prototype.initialize.call(this,this._boundsToLatLngs(u),d)},setBounds:function(u){return this.setLatLngs(this._boundsToLatLngs(u))},_boundsToLatLngs:function(u){return u=G(u),[u.getSouthWest(),u.getNorthWest(),u.getNorthEast(),u.getSouthEast()]}});function I$(u,d){return new YT(u,d)}mu.create=Mh,mu.pointsToPath=fe,so.geometryToLayer=Sh,so.coordsToLatLng=K_,so.coordsToLatLngs=Ch,so.latLngToCoords=X_,so.latLngsToCoords=Eh,so.getFeature=yl,so.asFeature=Th,ct.mergeOptions({boxZoom:!0});var qT=Ai.extend({initialize:function(u){this._map=u,this._container=u._container,this._pane=u._panes.overlayPane,this._resetStateTimeout=0,u.on("unload",this._destroy,this)},addHooks:function(){Ge(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ot(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Vt(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(u){if(!u.shiftKey||u.which!==1&&u.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),su(),D_(),this._startPoint=this._map.mouseEventToContainerPoint(u),Ge(document,{contextmenu:sa,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(u){this._moved||(this._moved=!0,this._box=pt("div","leaflet-zoom-box",this._container),et(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(u);var d=new B(this._point,this._startPoint),y=d.getSize();un(this._box,d.min),this._box.style.width=y.x+"px",this._box.style.height=y.y+"px"},_finish:function(){this._moved&&(Vt(this._box),tn(this._container,"leaflet-crosshair")),au(),A_(),Ot(document,{contextmenu:sa,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(u){if(!(u.which!==1&&u.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(s(this._resetState,this),0);var d=new W(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(d).fire("boxzoomend",{boxZoomBounds:d})}},_onKeyDown:function(u){u.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});ct.addInitHook("addHandler","boxZoom",qT),ct.mergeOptions({doubleClickZoom:!0});var GT=Ai.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(u){var d=this._map,y=d.getZoom(),T=d.options.zoomDelta,M=u.originalEvent.shiftKey?y-T:y+T;d.options.doubleClickZoom==="center"?d.setZoom(M):d.setZoomAround(u.containerPoint,M)}});ct.addInitHook("addHandler","doubleClickZoom",GT),ct.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var ZT=Ai.extend({addHooks:function(){if(!this._draggable){var u=this._map;this._draggable=new Vo(u._mapPane,u._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),u.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),u.on("zoomend",this._onZoomEnd,this),u.whenReady(this._onZoomEnd,this))}et(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){tn(this._map._container,"leaflet-grab"),tn(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var u=this._map;if(u._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var d=G(this._map.options.maxBounds);this._offsetLimit=ne(this._map.latLngToContainerPoint(d.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(d.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;u.fire("movestart").fire("dragstart"),u.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(u){if(this._map.options.inertia){var d=this._lastTime=+new Date,y=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(y),this._times.push(d),this._prunePositions(d)}this._map.fire("move",u).fire("drag",u)},_prunePositions:function(u){for(;this._positions.length>1&&u-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var u=this._map.getSize().divideBy(2),d=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=d.subtract(u).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(u,d){return u-(u-d)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var u=this._draggable._newPos.subtract(this._draggable._startPos),d=this._offsetLimit;u.xd.max.x&&(u.x=this._viscousLimit(u.x,d.max.x)),u.y>d.max.y&&(u.y=this._viscousLimit(u.y,d.max.y)),this._draggable._newPos=this._draggable._startPos.add(u)}},_onPreDragWrap:function(){var u=this._worldWidth,d=Math.round(u/2),y=this._initialWorldOffset,T=this._draggable._newPos.x,M=(T-d+y)%u+d-y,j=(T+d+y)%u-d-y,te=Math.abs(M+y)0?j:-j))-d;this._delta=0,this._startTime=null,te&&(u.options.scrollWheelZoom==="center"?u.setZoom(d+te):u.setZoomAround(this._lastMousePos,d+te))}});ct.addInitHook("addHandler","scrollWheelZoom",XT);var F$=600;ct.mergeOptions({tapHold:He.touchNative&&He.safari&&He.mobile,tapTolerance:15});var QT=Ai.extend({addHooks:function(){Ge(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ot(this._map._container,"touchstart",this._onDown,this)},_onDown:function(u){if(clearTimeout(this._holdTimeout),u.touches.length===1){var d=u.touches[0];this._startPos=this._newPos=new K(d.clientX,d.clientY),this._holdTimeout=setTimeout(s(function(){this._cancel(),this._isTapValid()&&(Ge(document,"touchend",Fn),Ge(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",d))},this),F$),Ge(document,"touchend touchcancel contextmenu",this._cancel,this),Ge(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function u(){Ot(document,"touchend",Fn),Ot(document,"touchend touchcancel",u)},_cancel:function(){clearTimeout(this._holdTimeout),Ot(document,"touchend touchcancel contextmenu",this._cancel,this),Ot(document,"touchmove",this._onMove,this)},_onMove:function(u){var d=u.touches[0];this._newPos=new K(d.clientX,d.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(u,d){var y=new MouseEvent(u,{bubbles:!0,cancelable:!0,view:window,screenX:d.screenX,screenY:d.screenY,clientX:d.clientX,clientY:d.clientY});y._simulated=!0,d.target.dispatchEvent(y)}});ct.addInitHook("addHandler","tapHold",QT),ct.mergeOptions({touchZoom:He.touch,bounceAtZoomLimits:!0});var JT=Ai.extend({addHooks:function(){et(this._map._container,"leaflet-touch-zoom"),Ge(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){tn(this._map._container,"leaflet-touch-zoom"),Ot(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(u){var d=this._map;if(!(!u.touches||u.touches.length!==2||d._animatingZoom||this._zooming)){var y=d.mouseEventToContainerPoint(u.touches[0]),T=d.mouseEventToContainerPoint(u.touches[1]);this._centerPoint=d.getSize()._divideBy(2),this._startLatLng=d.containerPointToLatLng(this._centerPoint),d.options.touchZoom!=="center"&&(this._pinchStartLatLng=d.containerPointToLatLng(y.add(T)._divideBy(2))),this._startDist=y.distanceTo(T),this._startZoom=d.getZoom(),this._moved=!1,this._zooming=!0,d._stop(),Ge(document,"touchmove",this._onTouchMove,this),Ge(document,"touchend touchcancel",this._onTouchEnd,this),Fn(u)}},_onTouchMove:function(u){if(!(!u.touches||u.touches.length!==2||!this._zooming)){var d=this._map,y=d.mouseEventToContainerPoint(u.touches[0]),T=d.mouseEventToContainerPoint(u.touches[1]),M=y.distanceTo(T)/this._startDist;if(this._zoom=d.getScaleZoom(M,this._startZoom),!d.options.bounceAtZoomLimits&&(this._zoomd.getMaxZoom()&&M>1)&&(this._zoom=d._limitZoom(this._zoom)),d.options.touchZoom==="center"){if(this._center=this._startLatLng,M===1)return}else{var j=y._add(T)._divideBy(2)._subtract(this._centerPoint);if(M===1&&j.x===0&&j.y===0)return;this._center=d.unproject(d.project(this._pinchStartLatLng,this._zoom).subtract(j),this._zoom)}this._moved||(d._moveStart(!0,!1),this._moved=!0),q(this._animRequest);var te=s(d._move,d,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=Y(te,this,!0),Fn(u)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,q(this._animRequest),Ot(document,"touchmove",this._onTouchMove,this),Ot(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});ct.addInitHook("addHandler","touchZoom",JT),ct.BoxZoom=qT,ct.DoubleClickZoom=GT,ct.Drag=ZT,ct.Keyboard=KT,ct.ScrollWheelZoom=XT,ct.TapHold=QT,ct.TouchZoom=JT,n.Bounds=B,n.Browser=He,n.CRS=me,n.Canvas=VT,n.Circle=Z_,n.CircleMarker=xh,n.Class=Z,n.Control=ui,n.DivIcon=BT,n.DivOverlay=Ii,n.DomEvent=t$,n.DomUtil=JF,n.Draggable=Vo,n.Evented=ce,n.FeatureGroup=la,n.GeoJSON=so,n.GridLayer=hu,n.Handler=Ai,n.Icon=gl,n.ImageOverlay=Oh,n.LatLng=re,n.LatLngBounds=W,n.Layer=fi,n.LayerGroup=ml,n.LineUtil=h$,n.Map=ct,n.Marker=wh,n.Mixin=l$,n.Path=Ho,n.Point=K,n.PolyUtil=p$,n.Polygon=vl,n.Polyline=oo,n.Popup=Ph,n.PosAnimation=xT,n.Projection=m$,n.Rectangle=YT,n.Renderer=ao,n.SVG=mu,n.SVGOverlay=jT,n.TileLayer=_l,n.Tooltip=kh,n.Transformation=ee,n.Util=X,n.VideoOverlay=$T,n.bind=s,n.bounds=ne,n.canvas=HT,n.circle=S$,n.circleMarker=x$,n.control=uu,n.divIcon=N$,n.extend=i,n.featureGroup=_$,n.geoJSON=FT,n.geoJson=T$,n.gridLayer=L$,n.icon=b$,n.imageOverlay=O$,n.latLng=le,n.latLngBounds=G,n.layerGroup=y$,n.map=n$,n.marker=w$,n.point=D,n.polygon=E$,n.polyline=C$,n.popup=M$,n.rectangle=I$,n.setOptions=_,n.stamp=l,n.svg=WT,n.svgOverlay=k$,n.tileLayer=zT,n.tooltip=R$,n.transformation=Q,n.version=r,n.videoOverlay=P$;var $$=window.L;n.noConflict=function(){return window.L=$$,this},window.L=n})})($fe,js);const xR=js;function EE(e,t,n){return Object.freeze({instance:e,context:t,container:n})}function TE(e,t){return t==null?function(r,i){const o=H.useRef();return o.current||(o.current=e(r,i)),o}:function(r,i){const o=H.useRef();o.current||(o.current=e(r,i));const s=H.useRef(r),{instance:a}=o.current;return H.useEffect(function(){s.current!==r&&(t(a,r,s.current),s.current=r)},[a,r,i]),o}}function jfe(e,t){H.useEffect(function(){return(t.layerContainer??t.map).addLayer(e.instance),function(){var o;(o=t.layerContainer)==null||o.removeLayer(e.instance),t.map.removeLayer(e.instance)}},[t,e])}function n8(e){return function(n){const r=e8(),i=e(CE(n,r),r);return X5(r.map,n.attribution),t8(i.current,n.eventHandlers),jfe(i.current,r),i}}function Bfe(e,t){const n=TE(e,t),r=n8(n);return Dfe(r)}function zfe(e,t){const n=TE(e),r=Ffe(n,t);return Afe(r)}function Ufe(e,t){const n=TE(e,t),r=n8(n);return Ife(r)}function Vfe(e,t,n){const{opacity:r,zIndex:i}=t;r!=null&&r!==n.opacity&&e.setOpacity(r),i!=null&&i!==n.zIndex&&e.setZIndex(i)}function ex(){return ex=Object.assign||function(e){for(var t=1;t(m==null?void 0:m.map)??null,[m]);const _=H.useCallback(v=>{if(v!==null&&m===null){const b=new js.Map(v,f);n!=null&&c!=null?b.setView(n,c):e!=null&&b.fitBounds(e,t),l!=null&&b.whenReady(l),g(Nfe(b))}},[]);H.useEffect(()=>()=>{m==null||m.map.remove()},[m]);const x=m?z.createElement(J5,{value:m},r):s??null;return z.createElement("div",ex({},p,{ref:_}),x)}const Wfe=H.forwardRef(Hfe),Yfe=Bfe(function({position:t,...n},r){const i=new js.Marker(t,n);return EE(i,Lfe(r,{overlayContainer:i}))},function(t,n,r){n.position!==r.position&&t.setLatLng(n.position),n.icon!=null&&n.icon!==r.icon&&t.setIcon(n.icon),n.zIndexOffset!=null&&n.zIndexOffset!==r.zIndexOffset&&t.setZIndexOffset(n.zIndexOffset),n.opacity!=null&&n.opacity!==r.opacity&&t.setOpacity(n.opacity),t.dragging!=null&&n.draggable!==r.draggable&&(n.draggable===!0?t.dragging.enable():t.dragging.disable())}),qfe=zfe(function(t,n){const r=new js.Popup(t,n.overlayContainer);return EE(r,n)},function(t,n,{position:r},i){H.useEffect(function(){const{instance:s}=t;function a(c){c.popup===s&&(s.update(),i(!0))}function l(c){c.popup===s&&i(!1)}return n.map.on({popupopen:a,popupclose:l}),n.overlayContainer==null?(r!=null&&s.setLatLng(r),s.openOn(n.map)):n.overlayContainer.bindPopup(s),function(){var f;n.map.off({popupopen:a,popupclose:l}),(f=n.overlayContainer)==null||f.unbindPopup(),n.map.removeLayer(s)}},[t,n,i,r])}),Gfe=Ufe(function({url:t,...n},r){const i=new js.TileLayer(t,CE(n,r));return EE(i,r)},Vfe);const Zfe=()=>C(Gfe,{attribution:'© OpenStreetMap contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),Kfe=e=>{if(e.length===0)return{};if(e.length>1)return{bounds:e.map(rt("latLong"))};const[{latLong:t}]=e;return{zoom:10,center:t}},r8=({toggle:e,isOpen:t,title:n,locations:r=[]})=>C(zo,{toggle:e,isOpen:t,className:"map-modal__modal",contentClassName:"map-modal__modal-content",children:U(ki,{className:"map-modal__modal-body",children:[U("h3",{className:"map-modal__modal-title",children:[n,C("button",{type:"button",className:"btn-close float-end","aria-label":"Close",onClick:e})]}),U(Wfe,{...Kfe(r),children:[C(Zfe,{}),r.map(({cityName:i,latLong:o,count:s},a)=>C(Yfe,{position:o,children:U(qfe,{children:[C("b",{children:s})," visit",s>1?"s":""," from ",C("b",{children:i})]})},a))]})]})}),eh=({visits:e,goBack:t,shortUrl:n,children:r,title:i})=>C("header",{children:U(xr,{body:!0,children:[U("h2",{className:"d-flex justify-content-between align-items-center mb-0",children:[C(gt,{color:"link",size:"lg",className:"p-0 me-3",onClick:t,children:C($e,{icon:FA})}),C("span",{className:"text-center d-none d-sm-block",children:C("small",{children:i})}),U("span",{className:"badge badge-main ms-3",children:["Visits:"," ",C(j5,{visitsCount:e.length,shortUrl:n})]})]}),C("h3",{className:"text-center d-block d-sm-none mb-0 mt-3",children:C("small",{children:i})}),r&&C("div",{className:"mt-md-2",children:r})]})});const Xfe=({shortUrlDetail:e,shortUrlVisits:t,goBack:n})=>{const{shortUrl:r,loading:i}=e,{visits:o}=t,s=(r==null?void 0:r.shortUrl)??"",a=(r==null?void 0:r.longUrl)??"",l=r==null?void 0:r.title;return U(eh,{title:U(We,{children:["Visits for ",C(Ci,{href:s})]}),goBack:n,visits:o,shortUrl:r,children:[C("hr",{}),U("div",{children:["Created: ",(()=>r?U("span",{children:[C("b",{id:"created",className:"short-url-visits-header__created-at",children:C(Iv,{date:r.dateCreated,relative:!0})}),C($r,{placement:"bottom",target:"created",children:C(Iv,{date:r.dateCreated})})]}):C("small",{children:"Loading..."}))()]}),U("div",{className:"long-url-container",children:[`${l?"Title":"Long URL"}: `,i&&C("small",{children:"Loading..."}),!i&&C(Ci,{href:a,children:l??a})]})]})};const bf=({children:e,...t})=>C(UI,{className:"nav-pills__nav-link",tag:V4,...t,children:e}),i8=({children:e,fill:t=!1,className:n=""})=>C(xr,{className:`nav-pills__nav p-0 overflow-hidden ${n}`,body:!0,children:C(Zy,{pills:!0,fill:t,children:H.Children.map(e,r=>{if(!H.isValidElement(r)||r.type!==bf)throw new Error("Only NavPillItem children are allowed inside NavPills.");return r})})});/*! + * Chart.js v3.9.1 + * https://www.chartjs.org + * (c) 2022 Chart.js Contributors + * Released under the MIT License + */function lo(){}const Qfe=function(){let e=0;return function(){return e++}}();function ht(e){return e===null||typeof e>"u"}function Mt(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function st(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}const ln=e=>(typeof e=="number"||e instanceof Number)&&isFinite(+e);function Vr(e,t){return ln(e)?e:t}function Je(e,t){return typeof e>"u"?t:e}const Jfe=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:e/t,o8=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Pt(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function bt(e,t,n,r){let i,o,s;if(Mt(e))if(o=e.length,r)for(i=o-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function Bs(e,t){return(SR[t]||(SR[t]=nde(t)))(e)}function nde(e){const t=rde(e);return n=>{for(const r of t){if(r==="")break;n=n&&n[r]}return n}}function rde(e){const t=e.split("."),n=[];let r="";for(const i of t)r+=i,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function OE(e){return e.charAt(0).toUpperCase()+e.slice(1)}const ii=e=>typeof e<"u",zs=e=>typeof e=="function",CR=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function ide(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const zt=Math.PI,Et=2*zt,ode=Et+zt,jv=Number.POSITIVE_INFINITY,sde=zt/180,Qt=zt/2,Ru=zt/4,ER=zt*2/3,qr=Math.log10,Qi=Math.sign;function TR(e){const t=Math.round(e);e=xf(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(qr(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function ade(e){const t=[],n=Math.sqrt(e);let r;for(r=1;ri-o).pop(),t}function Ac(e){return!isNaN(parseFloat(e))&&isFinite(e)}function xf(e,t,n){return Math.abs(e-t)=e}function a8(e,t,n){let r,i,o;for(r=0,i=e.length;rl&&c=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function kE(e,t,n){n=n||(s=>e[s]1;)o=i+r>>1,n(o)?i=o:r=o;return{lo:i,hi:r}}const wo=(e,t,n,r)=>kE(e,n,r?i=>e[i][t]<=n:i=>e[i][t]kE(e,n,r=>e[r][t]>=n);function dde(e,t,n){let r=0,i=e.length;for(;rr&&e[i-1]>n;)i--;return r>0||i{const r="_onData"+OE(n),i=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...o){const s=i.apply(this,o);return e._chartjs.listeners.forEach(a=>{typeof a[r]=="function"&&a[r](...o)}),s}})})}function PR(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(c8.forEach(o=>{delete e[o]}),delete e._chartjs)}function u8(e){const t=new Set;let n,r;for(n=0,r=e.length;n"u"?function(e){return e()}:window.requestAnimationFrame}();function d8(e,t,n){const r=n||(s=>Array.prototype.slice.call(s));let i=!1,o=[];return function(...s){o=r(s),i||(i=!0,f8.call(window,()=>{i=!1,e.apply(t,o)}))}}function pde(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}const ME=e=>e==="start"?"left":e==="end"?"right":"center",Kn=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,mde=(e,t,n,r)=>e===(r?"left":"right")?n:e==="center"?(t+n)/2:t;function h8(e,t,n){const r=t.length;let i=0,o=r;if(e._sorted){const{iScale:s,_parsed:a}=e,l=s.axis,{min:c,max:f,minDefined:h,maxDefined:p}=s.getUserBounds();h&&(i=Tn(Math.min(wo(a,s.axis,c).lo,n?r:wo(t,l,s.getPixelForValue(c)).lo),0,r-1)),p?o=Tn(Math.max(wo(a,s.axis,f,!0).hi+1,n?0:wo(t,l,s.getPixelForValue(f),!0).hi+1),i,r)-i:o=r-i}return{start:i,count:o}}function p8(e){const{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;const o=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}const gp=e=>e===0||e===1,kR=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*Et/n)),MR=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*Et/n)+1,Sf={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*Qt)+1,easeOutSine:e=>Math.sin(e*Qt),easeInOutSine:e=>-.5*(Math.cos(zt*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>gp(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>gp(e)?e:kR(e,.075,.3),easeOutElastic:e=>gp(e)?e:MR(e,.075,.3),easeInOutElastic(e){return gp(e)?e:e<.5?.5*kR(e*2,.1125,.45):.5+.5*MR(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-Sf.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?Sf.easeInBounce(e*2)*.5:Sf.easeOutBounce(e*2-1)*.5+.5};/*! + * @kurkle/color v0.2.1 + * https://github.com/kurkle/color#readme + * (c) 2022 Jukka Kurkela + * Released under the MIT License + */function th(e){return e+.5|0}const ds=(e,t,n)=>Math.max(Math.min(e,n),t);function qu(e){return ds(th(e*2.55),0,255)}function Ps(e){return ds(th(e*255),0,255)}function mo(e){return ds(th(e/2.55)/100,0,1)}function RR(e){return ds(th(e*100),0,100)}const Ur={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},nx=[..."0123456789ABCDEF"],gde=e=>nx[e&15],vde=e=>nx[(e&240)>>4]+nx[e&15],vp=e=>(e&240)>>4===(e&15),yde=e=>vp(e.r)&&vp(e.g)&&vp(e.b)&&vp(e.a);function _de(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&Ur[e[1]]*17,g:255&Ur[e[2]]*17,b:255&Ur[e[3]]*17,a:t===5?Ur[e[4]]*17:255}:(t===7||t===9)&&(n={r:Ur[e[1]]<<4|Ur[e[2]],g:Ur[e[3]]<<4|Ur[e[4]],b:Ur[e[5]]<<4|Ur[e[6]],a:t===9?Ur[e[7]]<<4|Ur[e[8]]:255})),n}const bde=(e,t)=>e<255?t(e):"";function wde(e){var t=yde(e)?gde:vde;return e?"#"+t(e.r)+t(e.g)+t(e.b)+bde(e.a,t):void 0}const xde=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function m8(e,t,n){const r=t*Math.min(n,1-n),i=(o,s=(o+e/30)%12)=>n-r*Math.max(Math.min(s-3,9-s,1),-1);return[i(0),i(8),i(4)]}function Sde(e,t,n){const r=(i,o=(i+e/60)%6)=>n-n*t*Math.max(Math.min(o,4-o,1),0);return[r(5),r(3),r(1)]}function Cde(e,t,n){const r=m8(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function Ede(e,t,n,r,i){return e===i?(t-n)/r+(t.5?f/(2-o-s):f/(o+s),l=Ede(n,r,i,f,o),l=l*60+.5),[l|0,c||0,a]}function NE(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(Ps)}function LE(e,t,n){return NE(m8,e,t,n)}function Tde(e,t,n){return NE(Cde,e,t,n)}function Ode(e,t,n){return NE(Sde,e,t,n)}function g8(e){return(e%360+360)%360}function Pde(e){const t=xde.exec(e);let n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?qu(+t[5]):Ps(+t[5]));const i=g8(+t[2]),o=+t[3]/100,s=+t[4]/100;return t[1]==="hwb"?r=Tde(i,o,s):t[1]==="hsv"?r=Ode(i,o,s):r=LE(i,o,s),{r:r[0],g:r[1],b:r[2],a:n}}function kde(e,t){var n=RE(e);n[0]=g8(n[0]+t),n=LE(n),e.r=n[0],e.g=n[1],e.b=n[2]}function Mde(e){if(!e)return;const t=RE(e),n=t[0],r=RR(t[1]),i=RR(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${mo(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}const NR={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},LR={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Rde(){const e={},t=Object.keys(LR),n=Object.keys(NR);let r,i,o,s,a;for(r=0;r>16&255,o>>8&255,o&255]}return e}let yp;function Nde(e){yp||(yp=Rde(),yp.transparent=[0,0,0,0]);const t=yp[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const Lde=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Dde(e){const t=Lde.exec(e);let n=255,r,i,o;if(t){if(t[7]!==r){const s=+t[7];n=t[8]?qu(s):ds(s*255,0,255)}return r=+t[1],i=+t[3],o=+t[5],r=255&(t[2]?qu(r):ds(r,0,255)),i=255&(t[4]?qu(i):ds(i,0,255)),o=255&(t[6]?qu(o):ds(o,0,255)),{r,g:i,b:o,a:n}}}function Ade(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${mo(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const bb=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Rl=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function Ide(e,t,n){const r=Rl(mo(e.r)),i=Rl(mo(e.g)),o=Rl(mo(e.b));return{r:Ps(bb(r+n*(Rl(mo(t.r))-r))),g:Ps(bb(i+n*(Rl(mo(t.g))-i))),b:Ps(bb(o+n*(Rl(mo(t.b))-o))),a:e.a+n*(t.a-e.a)}}function _p(e,t,n){if(e){let r=RE(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=LE(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function v8(e,t){return e&&Object.assign(t||{},e)}function DR(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Ps(e[3]))):(t=v8(e,{r:0,g:0,b:0,a:1}),t.a=Ps(t.a)),t}function Fde(e){return e.charAt(0)==="r"?Dde(e):Pde(e)}class Bv{constructor(t){if(t instanceof Bv)return t;const n=typeof t;let r;n==="object"?r=DR(t):n==="string"&&(r=_de(t)||Nde(t)||Fde(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var t=v8(this._rgb);return t&&(t.a=mo(t.a)),t}set rgb(t){this._rgb=DR(t)}rgbString(){return this._valid?Ade(this._rgb):void 0}hexString(){return this._valid?wde(this._rgb):void 0}hslString(){return this._valid?Mde(this._rgb):void 0}mix(t,n){if(t){const r=this.rgb,i=t.rgb;let o;const s=n===o?.5:n,a=2*s-1,l=r.a-i.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,r.r=255&c*r.r+o*i.r+.5,r.g=255&c*r.g+o*i.g+.5,r.b=255&c*r.b+o*i.b+.5,r.a=s*r.a+(1-s)*i.a,this.rgb=r}return this}interpolate(t,n){return t&&(this._rgb=Ide(this._rgb,t._rgb,n)),this}clone(){return new Bv(this.rgb)}alpha(t){return this._rgb.a=Ps(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=th(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return _p(this._rgb,2,t),this}darken(t){return _p(this._rgb,2,-t),this}saturate(t){return _p(this._rgb,1,t),this}desaturate(t){return _p(this._rgb,1,-t),this}rotate(t){return kde(this._rgb,t),this}}function y8(e){return new Bv(e)}function _8(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function AR(e){return _8(e)?e:y8(e)}function wb(e){return _8(e)?e:y8(e).saturate(.5).darken(.1).hexString()}const tl=Object.create(null),rx=Object.create(null);function Cf(e,t){if(!t)return e;const n=t.split(".");for(let r=0,i=n.length;rn.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(n,r)=>wb(r.backgroundColor),this.hoverBorderColor=(n,r)=>wb(r.borderColor),this.hoverColor=(n,r)=>wb(r.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,n){return xb(this,t,n)}get(t){return Cf(this,t)}describe(t,n){return xb(rx,t,n)}override(t,n){return xb(tl,t,n)}route(t,n,r,i){const o=Cf(this,t),s=Cf(this,r),a="_"+n;Object.defineProperties(o,{[a]:{value:o[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[a],c=s[i];return st(l)?Object.assign({},c,l):Je(l,c)},set(l){this[a]=l}}})}}var lt=new $de({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function jde(e){return!e||ht(e.size)||ht(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function zv(e,t,n,r,i){let o=t[i];return o||(o=t[i]=e.measureText(i).width,n.push(i)),o>r&&(r=o),r}function Bde(e,t,n,r){r=r||{};let i=r.data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},o=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let s=0;const a=n.length;let l,c,f,h,p;for(l=0;ln.length){for(l=0;l0&&e.stroke()}}function gd(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y0&&o.strokeColor!=="";let l,c;for(e.save(),e.font=i.string,Vde(e,o),l=0;l+e||0;function DE(e,t){const n={},r=st(t),i=r?Object.keys(t):t,o=st(e)?r?s=>Je(e[s],e[t[s]]):s=>e[s]:()=>e;for(const s of i)n[s]=Gde(o(s));return n}function w8(e){return DE(e,{top:"y",right:"x",bottom:"y",left:"x"})}function $a(e){return DE(e,["topLeft","topRight","bottomLeft","bottomRight"])}function rr(e){const t=w8(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function _n(e,t){e=e||{},t=t||lt.font;let n=Je(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let r=Je(e.style,t.style);r&&!(""+r).match(Yde)&&(console.warn('Invalid font style specified: "'+r+'"'),r="");const i={family:Je(e.family,t.family),lineHeight:qde(Je(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:Je(e.weight,t.weight),string:""};return i.string=jde(i),i}function Gu(e,t,n,r){let i=!0,o,s,a;for(o=0,s=e.length;on&&a===0?0:a+l;return{min:s(r,-Math.abs(o)),max:s(i,o)}}function Js(e,t){return Object.assign(Object.create(e),t)}function AE(e,t=[""],n=e,r,i=()=>e[0]){ii(r)||(r=E8("_fallback",e));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:n,_fallback:r,_getTarget:i,override:s=>AE([s,...e],t,n,r)};return new Proxy(o,{deleteProperty(s,a){return delete s[a],delete s._keys,delete e[0][a],!0},get(s,a){return S8(s,a,()=>rhe(a,t,e,s))},getOwnPropertyDescriptor(s,a){return Reflect.getOwnPropertyDescriptor(s._scopes[0],a)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(s,a){return $R(s).includes(a)},ownKeys(s){return $R(s)},set(s,a,l){const c=s._storage||(s._storage=i());return s[a]=c[a]=l,delete s._keys,!0}})}function Ic(e,t,n,r){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:x8(e,r),setContext:o=>Ic(e,o,n,r),override:o=>Ic(e.override(o),t,n,r)};return new Proxy(i,{deleteProperty(o,s){return delete o[s],delete e[s],!0},get(o,s,a){return S8(o,s,()=>Xde(o,s,a))},getOwnPropertyDescriptor(o,s){return o._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(o,s){return Reflect.has(e,s)},ownKeys(){return Reflect.ownKeys(e)},set(o,s,a){return e[s]=a,delete o[s],!0}})}function x8(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:zs(n)?n:()=>n,isIndexable:zs(r)?r:()=>r}}const Kde=(e,t)=>e?e+OE(t):t,IE=(e,t)=>st(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function S8(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const r=n();return e[t]=r,r}function Xde(e,t,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:s}=e;let a=r[t];return zs(a)&&s.isScriptable(t)&&(a=Qde(t,a,e,n)),Mt(a)&&a.length&&(a=Jde(t,a,e,s.isIndexable)),IE(t,a)&&(a=Ic(a,i,o&&o[t],s)),a}function Qde(e,t,n,r){const{_proxy:i,_context:o,_subProxy:s,_stack:a}=n;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);return a.add(e),t=t(o,s||r),a.delete(e),IE(e,t)&&(t=FE(i._scopes,i,e,t)),t}function Jde(e,t,n,r){const{_proxy:i,_context:o,_subProxy:s,_descriptors:a}=n;if(ii(o.index)&&r(e))t=t[o.index%t.length];else if(st(t[0])){const l=t,c=i._scopes.filter(f=>f!==l);t=[];for(const f of l){const h=FE(c,i,e,f);t.push(Ic(h,o,s&&s[e],a))}}return t}function C8(e,t,n){return zs(e)?e(t,n):e}const ehe=(e,t)=>e===!0?t:typeof e=="string"?Bs(t,e):void 0;function the(e,t,n,r,i){for(const o of t){const s=ehe(n,o);if(s){e.add(s);const a=C8(s._fallback,n,i);if(ii(a)&&a!==n&&a!==r)return a}else if(s===!1&&ii(r)&&n!==r)return null}return!1}function FE(e,t,n,r){const i=t._rootScopes,o=C8(t._fallback,n,r),s=[...e,...i],a=new Set;a.add(r);let l=FR(a,s,n,o||n,r);return l===null||ii(o)&&o!==n&&(l=FR(a,s,o,l,r),l===null)?!1:AE(Array.from(a),[""],i,o,()=>nhe(t,n,r))}function FR(e,t,n,r,i){for(;n;)n=the(e,t,n,r,i);return n}function nhe(e,t,n){const r=e._getTarget();t in r||(r[t]={});const i=r[t];return Mt(i)&&st(n)?n:i}function rhe(e,t,n,r){let i;for(const o of t)if(i=E8(Kde(o,e),n),ii(i))return IE(e,i)?FE(n,r,e,i):i}function E8(e,t){for(const n of t){if(!n)continue;const r=n[e];if(ii(r))return r}}function $R(e){let t=e._keys;return t||(t=e._keys=ihe(e._scopes)),t}function ihe(e){const t=new Set;for(const n of e)for(const r of Object.keys(n).filter(i=>!i.startsWith("_")))t.add(r);return Array.from(t)}function T8(e,t,n,r){const{iScale:i}=e,{key:o="r"}=this._parsing,s=new Array(r);let a,l,c,f;for(a=0,l=r;ate==="x"?"y":"x";function she(e,t,n,r){const i=e.skip?t:e,o=t,s=n.skip?t:n,a=tx(o,i),l=tx(s,o);let c=a/(a+l),f=l/(a+l);c=isNaN(c)?0:c,f=isNaN(f)?0:f;const h=r*c,p=r*f;return{previous:{x:o.x-h*(s.x-i.x),y:o.y-h*(s.y-i.y)},next:{x:o.x+p*(s.x-i.x),y:o.y+p*(s.y-i.y)}}}function ahe(e,t,n){const r=e.length;let i,o,s,a,l,c=Fc(e,0);for(let f=0;f!c.skip)),t.cubicInterpolationMode==="monotone")che(e,i);else{let c=r?e[e.length-1]:e[0];for(o=0,s=e.length;owindow.getComputedStyle(e,null);function dhe(e,t){return g_(e).getPropertyValue(t)}const hhe=["top","right","bottom","left"];function ja(e,t,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=hhe[i];r[o]=parseFloat(e[t+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const phe=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function mhe(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:o}=r;let s=!1,a,l;if(phe(i,o,e.target))a=i,l=o;else{const c=t.getBoundingClientRect();a=r.clientX-c.left,l=r.clientY-c.top,s=!0}return{x:a,y:l,box:s}}function xa(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,i=g_(n),o=i.boxSizing==="border-box",s=ja(i,"padding"),a=ja(i,"border","width"),{x:l,y:c,box:f}=mhe(e,n),h=s.left+(f&&a.left),p=s.top+(f&&a.top);let{width:m,height:g}=t;return o&&(m-=s.width+a.width,g-=s.height+a.height),{x:Math.round((l-h)/m*n.width/r),y:Math.round((c-p)/g*n.height/r)}}function ghe(e,t,n){let r,i;if(t===void 0||n===void 0){const o=$E(e);if(!o)t=e.clientWidth,n=e.clientHeight;else{const s=o.getBoundingClientRect(),a=g_(o),l=ja(a,"border","width"),c=ja(a,"padding");t=s.width-c.width-l.width,n=s.height-c.height-l.height,r=Uv(a.maxWidth,o,"clientWidth"),i=Uv(a.maxHeight,o,"clientHeight")}}return{width:t,height:n,maxWidth:r||jv,maxHeight:i||jv}}const Sb=e=>Math.round(e*10)/10;function vhe(e,t,n,r){const i=g_(e),o=ja(i,"margin"),s=Uv(i.maxWidth,e,"clientWidth")||jv,a=Uv(i.maxHeight,e,"clientHeight")||jv,l=ghe(e,t,n);let{width:c,height:f}=l;if(i.boxSizing==="content-box"){const h=ja(i,"border","width"),p=ja(i,"padding");c-=p.width+h.width,f-=p.height+h.height}return c=Math.max(0,c-o.width),f=Math.max(0,r?Math.floor(c/r):f-o.height),c=Sb(Math.min(c,s,l.maxWidth)),f=Sb(Math.min(f,a,l.maxHeight)),c&&!f&&(f=Sb(c/2)),{width:c,height:f}}function jR(e,t,n){const r=t||1,i=Math.floor(e.height*r),o=Math.floor(e.width*r);e.height=i/r,e.width=o/r;const s=e.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||s.height!==i||s.width!==o?(e.currentDevicePixelRatio=r,s.height=i,s.width=o,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}const yhe=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return e}();function BR(e,t){const n=dhe(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Sa(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function _he(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r==="middle"?n<.5?e.y:t.y:r==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function bhe(e,t,n,r){const i={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},s=Sa(e,i,n),a=Sa(i,o,n),l=Sa(o,t,n),c=Sa(s,a,n),f=Sa(a,l,n);return Sa(c,f,n)}const zR=new Map;function whe(e,t){t=t||{};const n=e+JSON.stringify(t);let r=zR.get(n);return r||(r=new Intl.NumberFormat(e,t),zR.set(n,r)),r}function nh(e,t,n){return whe(t,n).format(e)}const xhe=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},She=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function hc(e,t,n){return e?xhe(t,n):She()}function k8(e,t){let n,r;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function M8(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function R8(e){return e==="angle"?{between:md,compare:cde,normalize:Tr}:{between:bo,compare:(t,n)=>t-n,normalize:t=>t}}function UR({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function Che(e,t,n){const{property:r,start:i,end:o}=n,{between:s,normalize:a}=R8(r),l=t.length;let{start:c,end:f,loop:h}=e,p,m;if(h){for(c+=l,f+=l,p=0,m=l;pl(i,w,v)&&a(i,w)!==0,P=()=>a(o,v)===0||l(o,w,v),k=()=>_||E(),N=()=>!_||P();for(let A=f,V=f;A<=h;++A)b=t[A%s],!b.skip&&(v=c(b[r]),v!==w&&(_=l(v,i,o),x===null&&k()&&(x=a(v,i)===0?A:V),x!==null&&N()&&(g.push(UR({start:x,end:A,loop:p,count:s,style:m})),x=null),V=A,w=v));return x!==null&&g.push(UR({start:x,end:h,loop:p,count:s,style:m})),g}function L8(e,t){const n=[],r=e.segments;for(let i=0;ii&&e[o%t].skip;)o--;return o%=t,{start:i,end:o}}function The(e,t,n,r){const i=e.length,o=[];let s=t,a=e[t],l;for(l=t+1;l<=n;++l){const c=e[l%i];c.skip||c.stop?a.skip||(r=!1,o.push({start:t%i,end:(l-1)%i,loop:r}),t=s=c.stop?l:null):(s=l,a.skip&&(t=l)),a=c}return s!==null&&o.push({start:t%i,end:s%i,loop:r}),o}function Ohe(e,t){const n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];const o=!!e._loop,{start:s,end:a}=Ehe(n,i,o,r);if(r===!0)return VR(e,[{start:s,end:a,loop:o}],n,t);const l=aa({chart:t,initial:n.initial,numSteps:s,currentStep:Math.min(r-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=f8.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((r,i)=>{if(!r.running||!r.items.length)return;const o=r.items;let s=o.length-1,a=!1,l;for(;s>=0;--s)l=o[s],l._active?(l._total>r.duration&&(r.duration=l._total),l.tick(t),a=!0):(o[s]=o[o.length-1],o.pop());a&&(i.draw(),this._notify(i,r,t,"progress")),o.length||(r.running=!1,this._notify(i,r,t,"complete"),r.initial=!1),n+=o.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let r=n.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,r)),r}listen(t,n,r){this._getAnims(t).listeners[n].push(r)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,i)=>Math.max(r,i._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const r=n.items;let i=r.length-1;for(;i>=0;--i)r[i].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var co=new Mhe;const WR="transparent",Rhe={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const r=AR(e||WR),i=r.valid&&AR(t||WR);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class Nhe{constructor(t,n,r,i){const o=n[r];i=Gu([t.to,i,o,t.from]);const s=Gu([t.from,o,i]);this._active=!0,this._fn=t.fn||Rhe[t.type||typeof s],this._easing=Sf[t.easing]||Sf.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=s,this._to=i,this._promises=void 0}active(){return this._active}update(t,n,r){if(this._active){this._notify(!1);const i=this._target[this._prop],o=r-this._start,s=this._duration-o;this._start=r,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=Gu([t.to,n,i,t.from]),this._from=Gu([t.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,r=this._duration,i=this._prop,o=this._from,s=this._loop,a=this._to;let l;if(this._active=o!==a&&(s||n1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[i]=this._fn(o,a,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,r)=>{t.push({res:n,rej:r})})}_notify(t){const n=t?"res":"rej",r=this._promises||[];for(let i=0;ie!=="onProgress"&&e!=="onComplete"&&e!=="fn"});lt.set("animations",{colors:{type:"color",properties:Dhe},numbers:{type:"number",properties:Lhe}});lt.describe("animations",{_fallback:"animation"});lt.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}});class D8{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!st(t))return;const n=this._properties;Object.getOwnPropertyNames(t).forEach(r=>{const i=t[r];if(!st(i))return;const o={};for(const s of Ahe)o[s]=i[s];(Mt(i.properties)&&i.properties||[r]).forEach(s=>{(s===r||!n.has(s))&&n.set(s,o)})})}_animateOptions(t,n){const r=n.options,i=Fhe(t,r);if(!i)return[];const o=this._createAnimations(i,r);return r.$shared&&Ihe(t.options.$animations,r).then(()=>{t.options=r},()=>{}),o}_createAnimations(t,n){const r=this._properties,i=[],o=t.$animations||(t.$animations={}),s=Object.keys(n),a=Date.now();let l;for(l=s.length-1;l>=0;--l){const c=s[l];if(c.charAt(0)==="$")continue;if(c==="options"){i.push(...this._animateOptions(t,n));continue}const f=n[c];let h=o[c];const p=r.get(c);if(h)if(p&&h.active()){h.update(p,f,a);continue}else h.cancel();if(!p||!p.duration){t[c]=f;continue}o[c]=h=new Nhe(p,t,c,f),i.push(h)}return i}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const r=this._createAnimations(t,n);if(r.length)return co.add(this._chart,r),!0}}function Ihe(e,t){const n=[],r=Object.keys(t);for(let i=0;i0||!n&&o<0)return i.index}return null}function KR(e,t){const{chart:n,_cachedMeta:r}=e,i=n._stacks||(n._stacks={}),{iScale:o,vScale:s,index:a}=r,l=o.axis,c=s.axis,f=zhe(o,s,r),h=t.length;let p;for(let m=0;mn[r].axis===t).shift()}function Hhe(e,t){return Js(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function Whe(e,t,n){return Js(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function Nu(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const i of t){const o=i._stacks;if(!o||o[r]===void 0||o[r][n]===void 0)return;delete o[r][n]}}}const Eb=e=>e==="reset"||e==="none",XR=(e,t)=>t?e:Object.assign({},e),Yhe=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:A8(n,!0),values:null};class Mi{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=GR(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&Nu(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,r=this.getDataset(),i=(h,p,m,g)=>h==="x"?p:h==="r"?g:m,o=n.xAxisID=Je(r.xAxisID,Cb(t,"x")),s=n.yAxisID=Je(r.yAxisID,Cb(t,"y")),a=n.rAxisID=Je(r.rAxisID,Cb(t,"r")),l=n.indexAxis,c=n.iAxisID=i(l,o,s,a),f=n.vAxisID=i(l,s,o,a);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(f)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&PR(this._data,this),t._stacked&&Nu(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),r=this._data;if(st(n))this._data=Bhe(n);else if(r!==n){if(r){PR(r,this);const i=this._cachedMeta;Nu(i),i._parsed=[]}n&&Object.isExtensible(n)&&hde(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,r=this.getDataset();let i=!1;this._dataCheck();const o=n._stacked;n._stacked=GR(n.vScale,n),n.stack!==r.stack&&(i=!0,Nu(n),n.stack=r.stack),this._resyncElements(t),(i||o!==n._stacked)&&KR(this,n._parsed)}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:r,_data:i}=this,{iScale:o,_stacked:s}=r,a=o.axis;let l=t===0&&n===i.length?!0:r._sorted,c=t>0&&r._parsed[t-1],f,h,p;if(this._parsing===!1)r._parsed=i,r._sorted=!0,p=i;else{Mt(i[t])?p=this.parseArrayData(r,i,t,n):st(i[t])?p=this.parseObjectData(r,i,t,n):p=this.parsePrimitiveData(r,i,t,n);const m=()=>h[a]===null||c&&h[a]_||h<_}for(p=0;p=0;--p)if(!g()){this.updateRangeFromParsed(c,t,m,l);break}}return c}getAllParsedValues(t){const n=this._cachedMeta._parsed,r=[];let i,o,s;for(i=0,o=n.length;i=0&&tthis.getContext(r,i),_=c.resolveNamedOptions(p,m,g,h);return _.$shared&&(_.$shared=l,o[s]=Object.freeze(XR(_,l))),_}_resolveAnimations(t,n,r){const i=this.chart,o=this._cachedDataOpts,s=`animation-${n}`,a=o[s];if(a)return a;let l;if(i.options.animation!==!1){const f=this.chart.config,h=f.datasetAnimationScopeKeys(this._type,n),p=f.getOptionScopes(this.getDataset(),h);l=f.createResolver(p,this.getContext(t,r,n))}const c=new D8(i,l&&l.animations);return l&&l._cacheable&&(o[s]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||Eb(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const r=this.resolveDataElementOptions(t,n),i=this._sharedOptions,o=this.getSharedOptions(r),s=this.includeOptions(n,o)||o!==i;return this.updateSharedOptions(o,n,r),{sharedOptions:o,includeOptions:s}}updateElement(t,n,r,i){Eb(i)?Object.assign(t,r):this._resolveAnimations(n,i).update(t,r)}updateSharedOptions(t,n,r){t&&!Eb(n)&&this._resolveAnimations(void 0,n).update(t,r)}_setStyle(t,n,r,i){t.active=i;const o=this.getStyle(n,i);this._resolveAnimations(n,r,i).update(t,{options:!i&&this.getSharedOptions(o)||o})}removeHoverStyle(t,n,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,n,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,r=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const i=r.length,o=n.length,s=Math.min(o,i);s&&this.parse(0,s),o>i?this._insertElements(i,o-i,t):o{for(c.length+=n,a=c.length-1;a>=s;a--)c[a]=c[a-n]};for(l(o),a=t;ai-o))}return e._cache.$bar}function Ghe(e){const t=e.iScale,n=qhe(t,e.type);let r=t._length,i,o,s,a;const l=()=>{s===32767||s===-32768||(ii(a)&&(r=Math.min(r,Math.abs(s-a)||r)),a=s)};for(i=0,o=n.length;i0?i[e-1]:null,a=eMath.abs(a)&&(l=a,c=s),t[n.axis]=c,t._custom={barStart:l,barEnd:c,start:i,end:o,min:s,max:a}}function I8(e,t,n,r){return Mt(e)?Xhe(e,t,n,r):t[n.axis]=n.parse(e,r),t}function QR(e,t,n,r){const i=e.iScale,o=e.vScale,s=i.getLabels(),a=i===o,l=[];let c,f,h,p;for(c=n,f=n+r;c=n?1:-1)}function Jhe(e){let t,n,r,i,o;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.basel.controller.options.grouped),o=r.options.stacked,s=[],a=l=>{const c=l.controller.getParsed(n),f=c&&c[l.vScale.axis];if(ht(f)||isNaN(f))return!0};for(const l of i)if(!(n!==void 0&&a(l))&&((o===!1||s.indexOf(l.stack)===-1||o===void 0&&l.stack===void 0)&&s.push(l.stack),l.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,r){const i=this._getStacks(t,r),o=n!==void 0?i.indexOf(n):-1;return o===-1?i.length-1:o}_getRuler(){const t=this.options,n=this._cachedMeta,r=n.iScale,i=[];let o,s;for(o=0,s=n.data.length;o=0;--r)n=Math.max(n,t[r].size(this.resolveDataElementOptions(r))/2);return n>0&&n}getLabelAndValue(t){const n=this._cachedMeta,{xScale:r,yScale:i}=n,o=this.getParsed(t),s=r.getLabelForValue(o.x),a=i.getLabelForValue(o.y),l=o._custom;return{label:n.label,value:"("+s+", "+a+(l?", "+l:"")+")"}}update(t){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,t)}updateElements(t,n,r,i){const o=i==="reset",{iScale:s,vScale:a}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(n,i),f=s.axis,h=a.axis;for(let p=n;pmd(w,a,l,!0)?1:Math.max(E,E*n,P,P*n),g=(w,E,P)=>md(w,a,l,!0)?-1:Math.min(E,E*n,P,P*n),_=m(0,c,h),x=m(Qt,f,p),v=g(zt,c,h),b=g(zt+Qt,f,p);r=(_-v)/2,i=(x-b)/2,o=-(_+v)/2,s=-(x+b)/2}return{ratioX:r,ratioY:i,offsetX:o,offsetY:s}}class cl extends Mi{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const r=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=r;else{let o=l=>+r[l];if(st(r[t])){const{key:l="value"}=this._parsing;o=c=>+Bs(r[c],l)}let s,a;for(s=t,a=t+n;s0&&!isNaN(t)?Et*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],o=nh(n._parsed[t],r.options.locale);return{label:i[t]||"",value:o}}getMaxBorderWidth(t){let n=0;const r=this.chart;let i,o,s,a,l;if(!t){for(i=0,o=r.data.datasets.length;ie!=="spacing",_indexable:e=>e!=="spacing"};cl.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:n}}=e.legend.options;return t.labels.map((r,i)=>{const s=e.getDatasetMeta(0).controller.getStyle(i);return{text:r,fillStyle:s.backgroundColor,strokeStyle:s.borderColor,lineWidth:s.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(e){let t=e.label;const n=": "+e.formattedValue;return Mt(t)?(t=t.slice(),t[0]+=n):t+=n,t}}}}};class ih extends Mi{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:r,data:i=[],_dataset:o}=n,s=this.chart._animationsDisabled;let{start:a,count:l}=h8(n,i,s);this._drawStart=a,this._drawCount=l,p8(n)&&(a=0,l=i.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!o._decimated,r.points=i;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(r,void 0,{animated:!s,options:c},t),this.updateElements(i,a,l,t)}updateElements(t,n,r,i){const o=i==="reset",{iScale:s,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:f,includeOptions:h}=this._getSharedOptions(n,i),p=s.axis,m=a.axis,{spanGaps:g,segment:_}=this.options,x=Ac(g)?g:Number.POSITIVE_INFINITY,v=this.chart._animationsDisabled||o||i==="none";let b=n>0&&this.getParsed(n-1);for(let w=n;w0&&Math.abs(P[p]-b[p])>x,_&&(k.parsed=P,k.raw=c.data[w]),h&&(k.options=f||this.resolveDataElementOptions(w,E.active?"active":i)),v||this.updateElement(E,w,k,i),b=P}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,r=n.options&&n.options.borderWidth||0,i=t.data||[];if(!i.length)return r;const o=i[0].size(this.resolveDataElementOptions(0)),s=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(r,o,s)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}ih.id="line";ih.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};ih.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class y_ extends Mi{constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],o=nh(n._parsed[t].r,r.options.locale);return{label:i[t]||"",value:o}}parseObjectData(t,n,r,i){return T8.bind(this)(t,n,r,i)}update(t){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,t)}getMinMax(){const t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((r,i)=>{const o=this.getParsed(i).r;!isNaN(o)&&this.chart.getDataVisibility(i)&&(on.max&&(n.max=o))}),n}_updateRadius(){const t=this.chart,n=t.chartArea,r=t.options,i=Math.min(n.right-n.left,n.bottom-n.top),o=Math.max(i/2,0),s=Math.max(r.cutoutPercentage?o/100*r.cutoutPercentage:1,0),a=(o-s)/t.getVisibleDatasetCount();this.outerRadius=o-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(t,n,r,i){const o=i==="reset",s=this.chart,l=s.options.animation,c=this._cachedMeta.rScale,f=c.xCenter,h=c.yCenter,p=c.getIndexAngle(0)-.5*zt;let m=p,g;const _=360/this.countVisibleElements();for(g=0;g{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&n++}),n}_computeAngle(t,n,r){return this.chart.getDataVisibility(t)?wi(this.resolveDataElementOptions(t,n).angle||r):0}}y_.id="polarArea";y_.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};y_.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:n}}=e.legend.options;return t.labels.map((r,i)=>{const s=e.getDatasetMeta(0).controller.getStyle(i);return{text:r,fillStyle:s.backgroundColor,strokeStyle:s.borderColor,lineWidth:s.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(e){return e.chart.data.labels[e.dataIndex]+": "+e.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class jE extends cl{}jE.id="pie";jE.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class __ extends Mi{getLabelAndValue(t){const n=this._cachedMeta.vScale,r=this.getParsed(t);return{label:n.getLabels()[t],value:""+n.getLabelForValue(r[n.axis])}}parseObjectData(t,n,r,i){return T8.bind(this)(t,n,r,i)}update(t){const n=this._cachedMeta,r=n.dataset,i=n.data||[],o=n.iScale.getLabels();if(r.points=i,t!=="resize"){const s=this.resolveDatasetElementOptions(t);this.options.showLine||(s.borderWidth=0);const a={_loop:!0,_fullLoop:o.length===i.length,options:s};this.updateElement(r,void 0,a,t)}this.updateElements(i,0,i.length,t)}updateElements(t,n,r,i){const o=this._cachedMeta.rScale,s=i==="reset";for(let a=n;a{i[o]=r[o]&&r[o].active()?r[o]._to:this[o]}),i}};Ri.defaults={};Ri.defaultRoutes=void 0;const F8={values(e){return Mt(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const r=this.chart.options.locale;let i,o=e;if(n.length>1){const c=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(c<1e-4||c>1e15)&&(i="scientific"),o=ipe(e,n)}const s=qr(Math.abs(o)),a=Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:i,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),nh(e,r,l)},logarithmic(e,t,n){if(e===0)return"0";const r=e/Math.pow(10,Math.floor(qr(e)));return r===1||r===2||r===5?F8.numeric.call(this,e,t,n):""}};function ipe(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var b_={formatters:F8};lt.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:b_.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}});lt.route("scale.ticks","color","","color");lt.route("scale.grid","color","","borderColor");lt.route("scale.grid","borderColor","","borderColor");lt.route("scale.title","color","","color");lt.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"});lt.describe("scales",{_fallback:"scale"});lt.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"});function ope(e,t){const n=e.options.ticks,r=n.maxTicksLimit||spe(e),i=n.major.enabled?lpe(t):[],o=i.length,s=i[0],a=i[o-1],l=[];if(o>r)return cpe(t,l,i,o/r),l;const c=ape(i,t,r);if(o>0){let f,h;const p=o>1?Math.round((a-s)/(o-1)):null;for(wp(t,l,c,ht(p)?0:s-p,s),f=0,h=o-1;fi)return l}return Math.max(i,1)}function lpe(e){const t=[];let n,r;for(n=0,r=e.length;ne==="left"?"right":e==="right"?"left":e,tN=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n;function nN(e,t){const n=[],r=e.length/t,i=e.length;let o=0;for(;os+a)))return l}function hpe(e,t){bt(e,n=>{const r=n.gc,i=r.length/2;let o;if(i>t){for(o=0;or?r:n,r=i&&n>r?n:r,{min:Vr(n,Vr(r,n)),max:Vr(r,Vr(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Pt(this.options.beforeUpdate,[this])}update(t,n,r){const{beginAtZero:i,grace:o,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=Zde(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||r<=1||!this.isHorizontal()){this.labelRotation=i;return}const f=this._getLabelSizes(),h=f.widest.width,p=f.highest.height,m=Tn(this.chart.width-h,0,this.maxWidth);a=t.offset?this.maxWidth/r:m/(r-1),h+6>a&&(a=m/(r-(t.offset?.5:1)),l=this.maxHeight-Lu(t.grid)-n.padding-rN(t.title,this.chart.options.font),c=Math.sqrt(h*h+p*p),s=PE(Math.min(Math.asin(Tn((f.highest.height+6)/a,-1,1)),Math.asin(Tn(l/c,-1,1))-Math.asin(Tn(p/c,-1,1)))),s=Math.max(i,Math.min(o,s))),this.labelRotation=s}afterCalculateLabelRotation(){Pt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Pt(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:r,title:i,grid:o}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const l=rN(i,n.options.font);if(a?(t.width=this.maxWidth,t.height=Lu(o)+l):(t.height=this.maxHeight,t.width=Lu(o)+l),r.display&&this.ticks.length){const{first:c,last:f,widest:h,highest:p}=this._getLabelSizes(),m=r.padding*2,g=wi(this.labelRotation),_=Math.cos(g),x=Math.sin(g);if(a){const v=r.mirror?0:x*h.width+_*p.height;t.height=Math.min(this.maxHeight,t.height+v+m)}else{const v=r.mirror?0:_*h.width+x*p.height;t.width=Math.min(this.maxWidth,t.width+v+m)}this._calculatePadding(c,f,x,_)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,r,i){const{ticks:{align:o,padding:s},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const f=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let p=0,m=0;l?c?(p=i*t.width,m=r*n.height):(p=r*t.height,m=i*n.width):o==="start"?m=n.width:o==="end"?p=t.width:o!=="inner"&&(p=t.width/2,m=n.width/2),this.paddingLeft=Math.max((p-f+s)*this.width/(this.width-f),0),this.paddingRight=Math.max((m-h+s)*this.width/(this.width-h),0)}else{let f=n.height/2,h=t.height/2;o==="start"?(f=0,h=t.height):o==="end"&&(f=n.height,h=0),this.paddingTop=f+s,this.paddingBottom=h+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Pt(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,r;for(n=0,r=t.length;n({width:o[N]||0,height:s[N]||0});return{first:k(0),last:k(n-1),widest:k(E),highest:k(P),widths:o,heights:s}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return ude(this._alignToPixels?pa(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&ta*i?a/r:l/i:l*i0}_computeGridLineItems(t){const n=this.axis,r=this.chart,i=this.options,{grid:o,position:s}=i,a=o.offset,l=this.isHorizontal(),f=this.ticks.length+(a?1:0),h=Lu(o),p=[],m=o.setContext(this.getContext()),g=m.drawBorder?m.borderWidth:0,_=g/2,x=function(J){return pa(r,J,g)};let v,b,w,E,P,k,N,A,V,I,Y,q;if(s==="top")v=x(this.bottom),k=this.bottom-h,A=v-_,I=x(t.top)+_,q=t.bottom;else if(s==="bottom")v=x(this.top),I=t.top,q=x(t.bottom)-_,k=v+_,A=this.top+h;else if(s==="left")v=x(this.right),P=this.right-h,N=v-_,V=x(t.left)+_,Y=t.right;else if(s==="right")v=x(this.left),V=t.left,Y=x(t.right)-_,P=v+_,N=this.left+h;else if(n==="x"){if(s==="center")v=x((t.top+t.bottom)/2+.5);else if(st(s)){const J=Object.keys(s)[0],oe=s[J];v=x(this.chart.scales[J].getPixelForValue(oe))}I=t.top,q=t.bottom,k=v+_,A=k+h}else if(n==="y"){if(s==="center")v=x((t.left+t.right)/2);else if(st(s)){const J=Object.keys(s)[0],oe=s[J];v=x(this.chart.scales[J].getPixelForValue(oe))}P=v-_,N=P-h,V=t.left,Y=t.right}const X=Je(i.ticks.maxTicksLimit,f),Z=Math.max(1,Math.ceil(f/X));for(b=0;bo.value===t);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const n=this.options.grid,r=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,s;const a=(l,c,f)=>{!f.width||!f.color||(r.save(),r.lineWidth=f.width,r.strokeStyle=f.color,r.setLineDash(f.borderDash||[]),r.lineDashOffset=f.borderDashOffset,r.beginPath(),r.moveTo(l.x,l.y),r.lineTo(c.x,c.y),r.stroke(),r.restore())};if(n.display)for(o=0,s=i.length;o{this.draw(i)}}]:[{z:r,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:r+1,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",i=[];let o,s;for(o=0,s=n.length;o{const r=n.split("."),i=r.pop(),o=[e].concat(r).join("."),s=t[n].split("."),a=s.pop(),l=s.join(".");lt.route(o,i,l,a)})}function bpe(e){return"id"in e&&"defaults"in e}class wpe{constructor(){this.controllers=new xp(Mi,"datasets",!0),this.elements=new xp(Ri,"elements"),this.plugins=new xp(Object,"plugins"),this.scales=new xp(ul,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,r){[...n].forEach(i=>{const o=r||this._getRegistryForType(i);r||o.isForType(i)||o===this.plugins&&i.id?this._exec(t,o,i):bt(i,s=>{const a=r||this._getRegistryForType(s);this._exec(t,a,s)})})}_exec(t,n,r){const i=OE(t);Pt(r["before"+i],[],r),n[t](r),Pt(r["after"+i],[],r)}_getRegistryForType(t){for(let n=0;n0&&this.getParsed(n-1);for(let E=n;E0&&Math.abs(k[m]-w[m])>v,x&&(N.parsed=k,N.raw=c.data[E]),p&&(N.options=h||this.resolveDataElementOptions(E,P.active?"active":i)),b||this.updateElement(P,E,N,i),w=k}this.updateSharedOptions(h,i,f)}getMaxOverflow(){const t=this._cachedMeta,n=t.data||[];if(!this.options.showLine){let a=0;for(let l=n.length-1;l>=0;--l)a=Math.max(a,n[l].size(this.resolveDataElementOptions(l))/2);return a>0&&a}const r=t.dataset,i=r.options&&r.options.borderWidth||0;if(!n.length)return i;const o=n[0].size(this.resolveDataElementOptions(0)),s=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(i,o,s)/2}}w_.id="scatter";w_.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};w_.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title(){return""},label(e){return"("+e.label+", "+e.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var xpe=Object.freeze({__proto__:null,BarController:rh,BubbleController:v_,DoughnutController:cl,LineController:ih,PolarAreaController:y_,PieController:jE,RadarController:__,ScatterController:w_});function ma(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class ox{constructor(t){this.options=t||{}}init(t){}formats(){return ma()}parse(t,n){return ma()}format(t,n){return ma()}add(t,n,r){return ma()}diff(t,n,r){return ma()}startOf(t,n,r){return ma()}endOf(t,n){return ma()}}ox.override=function(e){Object.assign(ox.prototype,e)};var Spe={_date:ox};function Cpe(e,t,n,r){const{controller:i,data:o,_sorted:s}=e,a=i._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&s&&o.length){const l=a._reversePixels?fde:wo;if(r){if(i._sharedOptions){const c=o[0],f=typeof c.getRange=="function"&&c.getRange(t);if(f){const h=l(o,t,n-f),p=l(o,t,n+f);return{lo:h.lo,hi:p.hi}}}}else return l(o,t,n)}return{lo:0,hi:o.length-1}}function oh(e,t,n,r,i){const o=e.getSortedVisibleDatasetMetas(),s=n[t];for(let a=0,l=o.length;a{l[s](t[n],i)&&(o.push({element:l,datasetIndex:c,index:f}),a=a||l.inRange(t.x,t.y,i))}),r&&!a?[]:o}var Ppe={evaluateInteractionItems:oh,modes:{index(e,t,n,r){const i=xa(t,e),o=n.axis||"x",s=n.includeInvisible||!1,a=n.intersect?Ob(e,i,o,r,s):Pb(e,i,o,!1,r,s),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{const f=a[0].index,h=c.data[f];h&&!h.skip&&l.push({element:h,datasetIndex:c.index,index:f})}),l):[]},dataset(e,t,n,r){const i=xa(t,e),o=n.axis||"xy",s=n.includeInvisible||!1;let a=n.intersect?Ob(e,i,o,r,s):Pb(e,i,o,!1,r,s);if(a.length>0){const l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let f=0;fn.pos===t)}function oN(e,t){return e.filter(n=>$8.indexOf(n.pos)===-1&&n.box.axis===t)}function Au(e,t){return e.sort((n,r)=>{const i=t?r:n,o=t?n:r;return i.weight===o.weight?i.index-o.index:i.weight-o.weight})}function kpe(e){const t=[];let n,r,i,o,s,a;for(n=0,r=(e||[]).length;nc.box.fullSize),!0),r=Au(Du(t,"left"),!0),i=Au(Du(t,"right")),o=Au(Du(t,"top"),!0),s=Au(Du(t,"bottom")),a=oN(t,"x"),l=oN(t,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(l).concat(s).concat(a),chartArea:Du(t,"chartArea"),vertical:r.concat(i).concat(l),horizontal:o.concat(s).concat(a)}}function sN(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function j8(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Lpe(e,t,n,r){const{pos:i,box:o}=n,s=e.maxPadding;if(!st(i)){n.size&&(e[i]-=n.size);const h=r[n.stack]||{size:0,count:1};h.size=Math.max(h.size,n.horizontal?o.height:o.width),n.size=h.size/h.count,e[i]+=n.size}o.getPadding&&j8(s,o.getPadding());const a=Math.max(0,t.outerWidth-sN(s,e,"left","right")),l=Math.max(0,t.outerHeight-sN(s,e,"top","bottom")),c=a!==e.w,f=l!==e.h;return e.w=a,e.h=l,n.horizontal?{same:c,other:f}:{same:f,other:c}}function Dpe(e){const t=e.maxPadding;function n(r){const i=Math.max(t[r]-e[r],0);return e[r]+=i,i}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function Ape(e,t){const n=t.maxPadding;function r(i){const o={left:0,top:0,right:0,bottom:0};return i.forEach(s=>{o[s]=Math.max(t[s],n[s])}),o}return r(e?["left","right"]:["top","bottom"])}function Zu(e,t,n,r){const i=[];let o,s,a,l,c,f;for(o=0,s=e.length,c=0;o{typeof _.beforeLayout=="function"&&_.beforeLayout()});const f=l.reduce((_,x)=>x.box.options&&x.box.options.display===!1?_:_+1,0)||1,h=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:o,availableHeight:s,vBoxMaxWidth:o/2/f,hBoxMaxHeight:s/2}),p=Object.assign({},i);j8(p,rr(r));const m=Object.assign({maxPadding:p,w:o,h:s,x:i.left,y:i.top},i),g=Rpe(l.concat(c),h);Zu(a.fullSize,m,h,g),Zu(l,m,h,g),Zu(c,m,h,g)&&Zu(l,m,h,g),Dpe(m),aN(a.leftAndTop,m,h,g),m.x+=m.w,m.y+=m.h,aN(a.rightAndBottom,m,h,g),e.chartArea={left:m.left,top:m.top,right:m.left+m.w,bottom:m.top+m.h,height:m.h,width:m.w},bt(a.chartArea,_=>{const x=_.box;Object.assign(x,e.chartArea),x.update(m.w,m.h,{left:0,top:0,right:0,bottom:0})})}};class B8{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,r){}removeEventListener(t,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,r,i){return n=Math.max(0,n||t.width),r=r||t.height,{width:n,height:Math.max(0,i?Math.floor(n/i):r)}}isAttached(t){return!0}updateConfig(t){}}class Ipe extends B8{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Wm="$chartjs",Fpe={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},lN=e=>e===null||e==="";function $pe(e,t){const n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");if(e[Wm]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",lN(i)){const o=BR(e,"width");o!==void 0&&(e.width=o)}if(lN(r))if(e.style.height==="")e.height=e.width/(t||2);else{const o=BR(e,"height");o!==void 0&&(e.height=o)}return e}const z8=yhe?{passive:!0}:!1;function jpe(e,t,n){e.addEventListener(t,n,z8)}function Bpe(e,t,n){e.canvas.removeEventListener(t,n,z8)}function zpe(e,t){const n=Fpe[e.type]||e.type,{x:r,y:i}=xa(e,t);return{type:n,chart:t,native:e,x:r!==void 0?r:null,y:i!==void 0?i:null}}function Vv(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function Upe(e,t,n){const r=e.canvas,i=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||Vv(a.addedNodes,r),s=s&&!Vv(a.removedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function Vpe(e,t,n){const r=e.canvas,i=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||Vv(a.removedNodes,r),s=s&&!Vv(a.addedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const yd=new Map;let cN=0;function U8(){const e=window.devicePixelRatio;e!==cN&&(cN=e,yd.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function Hpe(e,t){yd.size||window.addEventListener("resize",U8),yd.set(e,t)}function Wpe(e){yd.delete(e),yd.size||window.removeEventListener("resize",U8)}function Ype(e,t,n){const r=e.canvas,i=r&&$E(r);if(!i)return;const o=d8((a,l)=>{const c=i.clientWidth;n(a,l),c{const l=a[0],c=l.contentRect.width,f=l.contentRect.height;c===0&&f===0||o(c,f)});return s.observe(i),Hpe(e,o),s}function kb(e,t,n){n&&n.disconnect(),t==="resize"&&Wpe(e)}function qpe(e,t,n){const r=e.canvas,i=d8(o=>{e.ctx!==null&&n(zpe(o,e))},e,o=>{const s=o[0];return[s,s.offsetX,s.offsetY]});return jpe(r,t,i),i}class Gpe extends B8{acquireContext(t,n){const r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?($pe(t,n),r):null}releaseContext(t){const n=t.canvas;if(!n[Wm])return!1;const r=n[Wm].initial;["height","width"].forEach(o=>{const s=r[o];ht(s)?n.removeAttribute(o):n.setAttribute(o,s)});const i=r.style||{};return Object.keys(i).forEach(o=>{n.style[o]=i[o]}),n.width=n.width,delete n[Wm],!0}addEventListener(t,n,r){this.removeEventListener(t,n);const i=t.$proxies||(t.$proxies={}),s={attach:Upe,detach:Vpe,resize:Ype}[n]||qpe;i[n]=s(t,n,r)}removeEventListener(t,n){const r=t.$proxies||(t.$proxies={}),i=r[n];if(!i)return;({attach:kb,detach:kb,resize:kb}[n]||Bpe)(t,n,i),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,r,i){return vhe(t,n,r,i)}isAttached(t){const n=$E(t);return!!(n&&n.isConnected)}}function Zpe(e){return!P8()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?Ipe:Gpe}class Kpe{constructor(){this._init=[]}notify(t,n,r,i){n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const o=i?this._descriptors(t).filter(i):this._descriptors(t),s=this._notify(o,t,n,r);return n==="afterDestroy"&&(this._notify(o,t,"stop"),this._notify(this._init,t,"uninstall")),s}_notify(t,n,r,i){i=i||{};for(const o of t){const s=o.plugin,a=s[r],l=[n,i,o.options];if(Pt(a,l,s)===!1&&i.cancelable)return!1}return!0}invalidate(){ht(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const r=t&&t.config,i=Je(r.options&&r.options.plugins,{}),o=Xpe(r);return i===!1&&!n?[]:Jpe(t,o,i,n)}_notifyStateChanges(t){const n=this._oldCache||[],r=this._cache,i=(o,s)=>o.filter(a=>!s.some(l=>a.plugin.id===l.plugin.id));this._notify(i(n,r),t,"stop"),this._notify(i(r,n),t,"start")}}function Xpe(e){const t={},n=[],r=Object.keys(qi.plugins.items);for(let o=0;o{const l=r[a];if(!st(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=ax(a,l),f=nme(c,i),h=n.scales||{};o[c]=o[c]||a,s[a]=wf(Object.create(null),[{axis:c},l,h[c],h[f]])}),e.data.datasets.forEach(a=>{const l=a.type||e.type,c=a.indexAxis||sx(l,t),h=(tl[l]||{}).scales||{};Object.keys(h).forEach(p=>{const m=tme(p,c),g=a[m+"AxisID"]||o[m]||m;s[g]=s[g]||Object.create(null),wf(s[g],[{axis:m},r[g],h[p]])})}),Object.keys(s).forEach(a=>{const l=s[a];wf(l,[lt.scales[l.type],lt.scale])}),s}function V8(e){const t=e.options||(e.options={});t.plugins=Je(t.plugins,{}),t.scales=ime(e,t)}function H8(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function ome(e){return e=e||{},e.data=H8(e.data),V8(e),e}const uN=new Map,W8=new Set;function Cp(e,t){let n=uN.get(e);return n||(n=t(),uN.set(e,n),W8.add(n)),n}const Iu=(e,t,n)=>{const r=Bs(t,n);r!==void 0&&e.add(r)};class sme{constructor(t){this._config=ome(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=H8(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),V8(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Cp(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return Cp(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return Cp(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,r=this.type;return Cp(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const r=this._scopeCache;let i=r.get(t);return(!i||n)&&(i=new Map,r.set(t,i)),i}getOptionScopes(t,n,r){const{options:i,type:o}=this,s=this._cachedScopes(t,r),a=s.get(n);if(a)return a;const l=new Set;n.forEach(f=>{t&&(l.add(t),f.forEach(h=>Iu(l,t,h))),f.forEach(h=>Iu(l,i,h)),f.forEach(h=>Iu(l,tl[o]||{},h)),f.forEach(h=>Iu(l,lt,h)),f.forEach(h=>Iu(l,rx,h))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),W8.has(n)&&s.set(n,c),c}chartOptionScopes(){const{options:t,type:n}=this;return[t,tl[n]||{},lt.datasets[n]||{},{type:n},lt,rx]}resolveNamedOptions(t,n,r,i=[""]){const o={$shared:!0},{resolver:s,subPrefixes:a}=fN(this._resolverCache,t,i);let l=s;if(lme(s,n)){o.$shared=!1,r=zs(r)?r():r;const c=this.createResolver(t,r,a);l=Ic(s,r,c)}for(const c of n)o[c]=l[c];return o}createResolver(t,n,r=[""],i){const{resolver:o}=fN(this._resolverCache,t,r);return st(n)?Ic(o,n,void 0,i):o}}function fN(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const i=n.join();let o=r.get(i);return o||(o={resolver:AE(t,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},r.set(i,o)),o}const ame=e=>st(e)&&Object.getOwnPropertyNames(e).reduce((t,n)=>t||zs(e[n]),!1);function lme(e,t){const{isScriptable:n,isIndexable:r}=x8(e);for(const i of t){const o=n(i),s=r(i),a=(s||o)&&e[i];if(o&&(zs(a)||ame(a))||s&&Mt(a))return!0}return!1}var cme="3.9.1";const ume=["top","bottom","left","right","chartArea"];function dN(e,t){return e==="top"||e==="bottom"||ume.indexOf(e)===-1&&t==="x"}function hN(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function pN(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),Pt(n&&n.onComplete,[e],t)}function fme(e){const t=e.chart,n=t.options.animation;Pt(n&&n.onProgress,[e],t)}function Y8(e){return P8()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Hv={},q8=e=>{const t=Y8(e);return Object.values(Hv).filter(n=>n.canvas===t).pop()};function dme(e,t,n){const r=Object.keys(e);for(const i of r){const o=+i;if(o>=t){const s=e[i];delete e[i],(n>0||o>t)&&(e[o+n]=s)}}}function hme(e,t,n,r){return!n||e.type==="mouseout"?null:r?t:e}let sh=class{constructor(t,n){const r=this.config=new sme(n),i=Y8(t),o=q8(i);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const s=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||Zpe(i)),this.platform.updateConfig(r);const a=this.platform.acquireContext(i,s.aspectRatio),l=a&&a.canvas,c=l&&l.height,f=l&&l.width;if(this.id=Qfe(),this.ctx=a,this.canvas=l,this.width=f,this.height=c,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Kpe,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=pde(h=>this.update(h),s.resizeDelay||0),this._dataChanges=[],Hv[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}co.listen(this,"complete",pN),co.listen(this,"progress",fme),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:r,height:i,_aspectRatio:o}=this;return ht(t)?n&&o?o:i?r/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():jR(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return IR(this.canvas,this.ctx),this}stop(){return co.stop(this),this}resize(t,n){co.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const r=this.options,i=this.canvas,o=r.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(i,t,n,o),a=r.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,jR(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),Pt(r.onResize,[this,s],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};bt(n,(r,i)=>{r.id=i})}buildOrUpdateScales(){const t=this.options,n=t.scales,r=this.scales,i=Object.keys(r).reduce((s,a)=>(s[a]=!1,s),{});let o=[];n&&(o=o.concat(Object.keys(n).map(s=>{const a=n[s],l=ax(s,a),c=l==="r",f=l==="x";return{options:a,dposition:c?"chartArea":f?"bottom":"left",dtype:c?"radialLinear":f?"category":"linear"}}))),bt(o,s=>{const a=s.options,l=a.id,c=ax(l,a),f=Je(a.type,s.dtype);(a.position===void 0||dN(a.position,c)!==dN(s.dposition))&&(a.position=s.dposition),i[l]=!0;let h=null;if(l in r&&r[l].type===f)h=r[l];else{const p=qi.getScale(f);h=new p({id:l,type:f,ctx:this.ctx,chart:this}),r[h.id]=h}h.init(a,t)}),bt(i,(s,a)=>{s||delete r[a]}),bt(r,s=>{Qn.configure(this,s,s.options),Qn.addBox(this,s)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,r=t.length;if(t.sort((i,o)=>i.index-o.index),r>n){for(let i=n;in.length&&delete this._stacks,t.forEach((r,i)=>{n.filter(o=>o===r._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let r,i;for(this._removeUnreferencedMetasets(),r=0,i=n.length;r{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let c=0,f=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(hN("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){bt(this.scales,t=>{Qn.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(t.events);(!CR(n,r)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:i,count:o}of n){const s=r==="_removeElements"?-o:o;dme(t,i,s)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=o=>new Set(t.filter(s=>s[0]===o).map((s,a)=>a+","+s.splice(1).join(","))),i=r(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;Qn.update(this,this.width,this.height,t);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],bt(this.boxes,i=>{r&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,o)=>{i._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,r=t._clip,i=!r.disabled,o=this.chartArea,s={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(i&&p_(n,{left:r.left===!1?0:o.left-r.left,right:r.right===!1?this.width:o.right+r.right,top:r.top===!1?0:o.top-r.top,bottom:r.bottom===!1?this.height:o.bottom+r.bottom}),t.controller.draw(),i&&m_(n),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(t){return gd(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,r,i){const o=Ppe.modes[n];return typeof o=="function"?o(this,t,r,i):[]}getDatasetMeta(t){const n=this.data.datasets[t],r=this._metasets;let i=r.filter(o=>o&&o._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},r.push(i)),i}getContext(){return this.$context||(this.$context=Js(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const r=this.getDatasetMeta(t);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(t,n){const r=this.getDatasetMeta(t);r.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,r){const i=r?"show":"hide",o=this.getDatasetMeta(t),s=o.controller._resolveAnimations(void 0,i);ii(n)?(o.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),s.update(o,{visible:r}),this.update(a=>a.datasetIndex===t?i:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),co.remove(this),t=0,n=this.data.datasets.length;t{n.addEventListener(this,o,s),t[o]=s},i=(o,s,a)=>{o.offsetX=s,o.offsetY=a,this._eventHandler(o)};bt(this.options.events,o=>r(o,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,r=(l,c)=>{n.addEventListener(this,l,c),t[l]=c},i=(l,c)=>{t[l]&&(n.removeEventListener(this,l,c),delete t[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let s;const a=()=>{i("attach",a),this.attached=!0,this.resize(),r("resize",o),r("detach",s)};s=()=>{this.attached=!1,i("resize",o),this._stop(),this._resize(0,0),r("attach",a)},n.isAttached(this.canvas)?a():s()}unbindEvents(){bt(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},bt(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,r){const i=r?"set":"remove";let o,s,a,l;for(n==="dataset"&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+i+"DatasetHoverStyle"]()),a=0,l=t.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[s],index:s}});!Fv(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(t,n,r){return this._plugins.notify(this,t,n,r)}_updateHoverStyles(t,n,r){const i=this.options.hover,o=(l,c)=>l.filter(f=>!c.some(h=>f.datasetIndex===h.datasetIndex&&f.index===h.index)),s=o(n,t),a=r?t:o(t,n);s.length&&this.updateHoverStyle(s,i.mode,!1),a.length&&i.mode&&this.updateHoverStyle(a,i.mode,!0)}_eventHandler(t,n){const r={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},i=s=>(s.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",r,i)===!1)return;const o=this._handleEvent(t,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,i),(o||r.changed)&&this.render(),this}_handleEvent(t,n,r){const{_active:i=[],options:o}=this,s=n,a=this._getActiveElements(t,i,r,s),l=ide(t),c=hme(t,this._lastEvent,r,l);r&&(this._lastEvent=null,Pt(o.onHover,[t,a,this],this),l&&Pt(o.onClick,[t,a,this],this));const f=!Fv(a,i);return(f||n)&&(this._active=a,this._updateHoverStyles(a,i,n)),this._lastEvent=c,f}_getActiveElements(t,n,r,i){if(t.type==="mouseout")return[];if(!r)return n;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,i)}};const mN=()=>bt(sh.instances,e=>e._plugins.invalidate()),Zo=!0;Object.defineProperties(sh,{defaults:{enumerable:Zo,value:lt},instances:{enumerable:Zo,value:Hv},overrides:{enumerable:Zo,value:tl},registry:{enumerable:Zo,value:qi},version:{enumerable:Zo,value:cme},getChart:{enumerable:Zo,value:q8},register:{enumerable:Zo,value:(...e)=>{qi.add(...e),mN()}},unregister:{enumerable:Zo,value:(...e)=>{qi.remove(...e),mN()}}});function G8(e,t,n){const{startAngle:r,pixelMargin:i,x:o,y:s,outerRadius:a,innerRadius:l}=t;let c=i/a;e.beginPath(),e.arc(o,s,a,r-c,n+c),l>i?(c=i/l,e.arc(o,s,l,n+c,r-c,!0)):e.arc(o,s,i,n+Qt,r-Qt),e.closePath(),e.clip()}function pme(e){return DE(e,["outerStart","outerEnd","innerStart","innerEnd"])}function mme(e,t,n,r){const i=pme(e.options.borderRadius),o=(n-t)/2,s=Math.min(o,r*t/2),a=l=>{const c=(n-Math.min(o,l))*r/2;return Tn(l,0,Math.min(o,c))};return{outerStart:a(i.outerStart),outerEnd:a(i.outerEnd),innerStart:Tn(i.innerStart,0,s),innerEnd:Tn(i.innerEnd,0,s)}}function Nl(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function lx(e,t,n,r,i,o){const{x:s,y:a,startAngle:l,pixelMargin:c,innerRadius:f}=t,h=Math.max(t.outerRadius+r+n-c,0),p=f>0?f+r+n+c:0;let m=0;const g=i-l;if(r){const J=f>0?f-r:0,oe=h>0?h-r:0,ce=(J+oe)/2,K=ce!==0?g*ce/(ce+r):g;m=(g-K)/2}const _=Math.max(.001,g*h-n/zt)/h,x=(g-_)/2,v=l+x+m,b=i-x-m,{outerStart:w,outerEnd:E,innerStart:P,innerEnd:k}=mme(t,p,h,b-v),N=h-w,A=h-E,V=v+w/N,I=b-E/A,Y=p+P,q=p+k,X=v+P/Y,Z=b-k/q;if(e.beginPath(),o){if(e.arc(s,a,h,V,I),E>0){const ce=Nl(A,I,s,a);e.arc(ce.x,ce.y,E,I,b+Qt)}const J=Nl(q,b,s,a);if(e.lineTo(J.x,J.y),k>0){const ce=Nl(q,Z,s,a);e.arc(ce.x,ce.y,k,b+Qt,Z+Math.PI)}if(e.arc(s,a,p,b-k/p,v+P/p,!0),P>0){const ce=Nl(Y,X,s,a);e.arc(ce.x,ce.y,P,X+Math.PI,v-Qt)}const oe=Nl(N,v,s,a);if(e.lineTo(oe.x,oe.y),w>0){const ce=Nl(N,V,s,a);e.arc(ce.x,ce.y,w,v-Qt,V)}}else{e.moveTo(s,a);const J=Math.cos(V)*h+s,oe=Math.sin(V)*h+a;e.lineTo(J,oe);const ce=Math.cos(I)*h+s,K=Math.sin(I)*h+a;e.lineTo(ce,K)}e.closePath()}function gme(e,t,n,r,i){const{fullCircles:o,startAngle:s,circumference:a}=t;let l=t.endAngle;if(o){lx(e,t,n,r,s+Et,i);for(let c=0;c=Et||md(o,a,l),_=bo(s,c+p,f+p);return g&&_}getCenterPoint(t){const{x:n,y:r,startAngle:i,endAngle:o,innerRadius:s,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:l,spacing:c}=this.options,f=(i+o)/2,h=(s+a+c+l)/2;return{x:n+Math.cos(f)*h,y:r+Math.sin(f)*h}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:n,circumference:r}=this,i=(n.offset||0)/2,o=(n.spacing||0)/2,s=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=r>Et?Math.floor(r/Et):0,r===0||this.innerRadius<0||this.outerRadius<0)return;t.save();let a=0;if(i){a=i/2;const c=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(c)*a,Math.sin(c)*a),this.circumference>=zt&&(a=i)}t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor;const l=gme(t,this,a,o,s);yme(t,this,a,o,l,s),t.restore()}}x_.id="arc";x_.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};x_.defaultRoutes={backgroundColor:"backgroundColor"};function Z8(e,t,n=t){e.lineCap=Je(n.borderCapStyle,t.borderCapStyle),e.setLineDash(Je(n.borderDash,t.borderDash)),e.lineDashOffset=Je(n.borderDashOffset,t.borderDashOffset),e.lineJoin=Je(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=Je(n.borderWidth,t.borderWidth),e.strokeStyle=Je(n.borderColor,t.borderColor)}function _me(e,t,n){e.lineTo(n.x,n.y)}function bme(e){return e.stepped?zde:e.tension||e.cubicInterpolationMode==="monotone"?Ude:_me}function K8(e,t,n={}){const r=e.length,{start:i=0,end:o=r-1}=n,{start:s,end:a}=t,l=Math.max(i,s),c=Math.min(o,a),f=ia&&o>a;return{count:r,start:l,loop:t.loop,ilen:c(s+(c?a-E:E))%o,w=()=>{_!==x&&(e.lineTo(f,x),e.lineTo(f,_),e.lineTo(f,v))};for(l&&(m=i[b(0)],e.moveTo(m.x,m.y)),p=0;p<=a;++p){if(m=i[b(p)],m.skip)continue;const E=m.x,P=m.y,k=E|0;k===g?(P<_?_=P:P>x&&(x=P),f=(h*f+E)/++h):(w(),e.lineTo(E,P),g=k,h=0,_=x=P),v=P}w()}function cx(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?xme:wme}function Sme(e){return e.stepped?_he:e.tension||e.cubicInterpolationMode==="monotone"?bhe:Sa}function Cme(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),Z8(e,t.options),e.stroke(i)}function Eme(e,t,n,r){const{segments:i,options:o}=t,s=cx(t);for(const a of i)Z8(e,o,a.style),e.beginPath(),s(e,t,a,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}const Tme=typeof Path2D=="function";function Ome(e,t,n,r){Tme&&!t.options.segment?Cme(e,t,n,r):Eme(e,t,n,r)}class ea extends Ri{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const i=r.spanGaps?this._loop:this._fullLoop;fhe(this._points,r,t,i,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=Ohe(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,r=t.length;return r&&n[t[r-1].end]}interpolate(t,n){const r=this.options,i=t[n],o=this.points,s=L8(this,{property:n,start:i,end:i});if(!s.length)return;const a=[],l=Sme(r);let c,f;for(c=0,f=s.length;ce!=="borderDash"&&e!=="fill"};function gN(e,t,n,r){const i=e.options,{[n]:o}=e.getProps([n],r);return Math.abs(t-o)=n)return e.slice(t,t+n);const s=[],a=(n-2)/(o-2);let l=0;const c=t+n-1;let f=t,h,p,m,g,_;for(s[l++]=e[f],h=0;hm&&(m=g,p=e[b],_=b);s[l++]=p,f=_}return s[l++]=e[c],s}function Ame(e,t,n,r){let i=0,o=0,s,a,l,c,f,h,p,m,g,_;const x=[],v=t+n-1,b=e[t].x,E=e[v].x-b;for(s=t;s_&&(_=c,p=s),i=(o*i+a.x)/++o;else{const k=s-1;if(!ht(h)&&!ht(p)){const N=Math.min(h,p),A=Math.max(h,p);N!==m&&N!==k&&x.push({...e[N],x:i}),A!==m&&A!==k&&x.push({...e[A],x:i})}s>0&&k!==m&&x.push(e[k]),x.push(a),f=P,o=0,g=_=c,h=p=m=s}}return x}function Q8(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{value:t})}}function vN(e){e.data.datasets.forEach(t=>{Q8(t)})}function Ime(e,t){const n=t.length;let r=0,i;const{iScale:o}=e,{min:s,max:a,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(r=Tn(wo(t,o.axis,s).lo,0,n-1)),c?i=Tn(wo(t,o.axis,a).hi+1,r,n)-r:i=n-r,{start:r,count:i}}var Fme={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){vN(e);return}const r=e.width;e.data.datasets.forEach((i,o)=>{const{_data:s,indexAxis:a}=i,l=e.getDatasetMeta(o),c=s||i.data;if(Gu([a,e.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;const f=e.scales[l.xAxisID];if(f.type!=="linear"&&f.type!=="time"||e.options.parsing)return;let{start:h,count:p}=Ime(l,c);const m=n.threshold||4*r;if(p<=m){Q8(i);return}ht(s)&&(i._data=c,delete i.data,Object.defineProperty(i,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(_){this._data=_}}));let g;switch(n.algorithm){case"lttb":g=Dme(c,h,p,r,n);break;case"min-max":g=Ame(c,h,p,r);break;default:throw new Error(`Unsupported decimation algorithm '${n.algorithm}'`)}i._decimated=g})},destroy(e){vN(e)}};function $me(e,t,n){const r=e.segments,i=e.points,o=t.points,s=[];for(const a of r){let{start:l,end:c}=a;c=BE(l,c,i);const f=ux(n,i[l],i[c],a.loop);if(!t.segments){s.push({source:a,target:f,start:i[l],end:i[c]});continue}const h=L8(t,f);for(const p of h){const m=ux(n,o[p.start],o[p.end],p.loop),g=N8(a,i,m);for(const _ of g)s.push({source:_,target:p,start:{[n]:yN(f,m,"start",Math.max)},end:{[n]:yN(f,m,"end",Math.min)}})}}return s}function ux(e,t,n,r){if(r)return;let i=t[e],o=n[e];return e==="angle"&&(i=Tr(i),o=Tr(o)),{property:e,start:i,end:o}}function jme(e,t){const{x:n=null,y:r=null}=e||{},i=t.points,o=[];return t.segments.forEach(({start:s,end:a})=>{a=BE(s,a,i);const l=i[s],c=i[a];r!==null?(o.push({x:l.x,y:r}),o.push({x:c.x,y:r})):n!==null&&(o.push({x:n,y:l.y}),o.push({x:n,y:c.y}))}),o}function BE(e,t,n){for(;t>e;t--){const r=n[t];if(!isNaN(r.x)&&!isNaN(r.y))break}return t}function yN(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function J8(e,t){let n=[],r=!1;return Mt(e)?(r=!0,n=e):n=jme(e,t),n.length?new ea({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function _N(e){return e&&e.fill!==!1}function Bme(e,t,n){let i=e[t].fill;const o=[t];let s;if(!n)return i;for(;i!==!1&&o.indexOf(i)===-1;){if(!ln(i))return i;if(s=e[i],!s)return!1;if(s.visible)return i;o.push(i),i=s.fill}return!1}function zme(e,t,n){const r=Wme(e);if(st(r))return isNaN(r.value)?!1:r;let i=parseFloat(r);return ln(i)&&Math.floor(i)===i?Ume(r[0],t,i,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function Ume(e,t,n,r){return(e==="-"||e==="+")&&(n=t+n),n===t||n<0||n>=r?!1:n}function Vme(e,t){let n=null;return e==="start"?n=t.bottom:e==="end"?n=t.top:st(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function Hme(e,t,n){let r;return e==="start"?r=n:e==="end"?r=t.options.reverse?t.min:t.max:st(e)?r=e.value:r=t.getBaseValue(),r}function Wme(e){const t=e.options,n=t.fill;let r=Je(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?"origin":r}function Yme(e){const{scale:t,index:n,line:r}=e,i=[],o=r.segments,s=r.points,a=qme(t,n);a.push(J8({x:null,y:t.bottom},r));for(let l=0;l=0;--s){const a=i[s].$filler;a&&(a.line.updateControlPoints(o,a.axis),r&&a.fill&&Nb(e.ctx,a,o))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!=="beforeDatasetsDraw")return;const r=e.getSortedVisibleDatasetMetas();for(let i=r.length-1;i>=0;--i){const o=r[i].$filler;_N(o)&&Nb(e.ctx,o,e.chartArea)}},beforeDatasetDraw(e,t,n){const r=t.meta.$filler;!_N(r)||n.drawTime!=="beforeDatasetDraw"||Nb(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const SN=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},ige=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class CN extends Ri{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n,r){this.maxWidth=t,this.maxHeight=n,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let n=Pt(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter(r=>t.filter(r,this.chart.data))),t.sort&&(n=n.sort((r,i)=>t.sort(r,i,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:t,ctx:n}=this;if(!t.display){this.width=this.height=0;return}const r=t.labels,i=_n(r.font),o=i.size,s=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=SN(r,o);let c,f;n.font=i.string,this.isHorizontal()?(c=this.maxWidth,f=this._fitRows(s,o,a,l)+10):(f=this.maxHeight,c=this._fitCols(s,o,a,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(f,t.maxHeight||this.maxHeight)}_fitRows(t,n,r,i){const{ctx:o,maxWidth:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],f=i+a;let h=t;o.textAlign="left",o.textBaseline="middle";let p=-1,m=-f;return this.legendItems.forEach((g,_)=>{const x=r+n/2+o.measureText(g.text).width;(_===0||c[c.length-1]+x+2*a>s)&&(h+=f,c[c.length-(_>0?0:1)]=0,m+=f,p++),l[_]={left:0,top:m,row:p,width:x,height:i},c[c.length-1]+=x+a}),h}_fitCols(t,n,r,i){const{ctx:o,maxHeight:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],f=s-t;let h=a,p=0,m=0,g=0,_=0;return this.legendItems.forEach((x,v)=>{const b=r+n/2+o.measureText(x.text).width;v>0&&m+i+2*a>f&&(h+=p+a,c.push({width:p,height:m}),g+=p+a,_++,p=m=0),l[v]={left:g,top:m,col:_,width:b,height:i},p=Math.max(p,b),m+=i+a}),h+=p,c.push({width:p,height:m}),h}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:r,labels:{padding:i},rtl:o}}=this,s=hc(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=Kn(r,this.left+i,this.right-this.lineWidths[a]);for(const c of n)a!==c.row&&(a=c.row,l=Kn(r,this.left+i,this.right-this.lineWidths[a])),c.top+=this.top+t+i,c.left=s.leftForLtr(s.x(l),c.width),l+=c.width+i}else{let a=0,l=Kn(r,this.top+t+i,this.bottom-this.columnSizes[a].height);for(const c of n)c.col!==a&&(a=c.col,l=Kn(r,this.top+t+i,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+i,c.left=s.leftForLtr(s.x(c.left),c.width),l+=c.height+i}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const t=this.ctx;p_(t,this),this._draw(),m_(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:r,ctx:i}=this,{align:o,labels:s}=t,a=lt.color,l=hc(t.rtl,this.left,this.width),c=_n(s.font),{color:f,padding:h}=s,p=c.size,m=p/2;let g;this.drawTitle(),i.textAlign=l.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:_,boxHeight:x,itemHeight:v}=SN(s,p),b=function(N,A,V){if(isNaN(_)||_<=0||isNaN(x)||x<0)return;i.save();const I=Je(V.lineWidth,1);if(i.fillStyle=Je(V.fillStyle,a),i.lineCap=Je(V.lineCap,"butt"),i.lineDashOffset=Je(V.lineDashOffset,0),i.lineJoin=Je(V.lineJoin,"miter"),i.lineWidth=I,i.strokeStyle=Je(V.strokeStyle,a),i.setLineDash(Je(V.lineDash,[])),s.usePointStyle){const Y={radius:x*Math.SQRT2/2,pointStyle:V.pointStyle,rotation:V.rotation,borderWidth:I},q=l.xPlus(N,_/2),X=A+m;b8(i,Y,q,X,s.pointStyleWidth&&_)}else{const Y=A+Math.max((p-x)/2,0),q=l.leftForLtr(N,_),X=$a(V.borderRadius);i.beginPath(),Object.values(X).some(Z=>Z!==0)?vd(i,{x:q,y:Y,w:_,h:x,radius:X}):i.rect(q,Y,_,x),i.fill(),I!==0&&i.stroke()}i.restore()},w=function(N,A,V){nl(i,V.text,N,A+v/2,c,{strikethrough:V.hidden,textAlign:l.textAlign(V.textAlign)})},E=this.isHorizontal(),P=this._computeTitleHeight();E?g={x:Kn(o,this.left+h,this.right-r[0]),y:this.top+h+P,line:0}:g={x:this.left+h,y:Kn(o,this.top+P+h,this.bottom-n[0].height),line:0},k8(this.ctx,t.textDirection);const k=v+h;this.legendItems.forEach((N,A)=>{i.strokeStyle=N.fontColor||f,i.fillStyle=N.fontColor||f;const V=i.measureText(N.text).width,I=l.textAlign(N.textAlign||(N.textAlign=s.textAlign)),Y=_+m+V;let q=g.x,X=g.y;l.setWidth(this.width),E?A>0&&q+Y+h>this.right&&(X=g.y+=k,g.line++,q=g.x=Kn(o,this.left+h,this.right-r[g.line])):A>0&&X+k>this.bottom&&(q=g.x=q+n[g.line].width+h,g.line++,X=g.y=Kn(o,this.top+P+h,this.bottom-n[g.line].height));const Z=l.x(q);b(Z,X,N),q=mde(I,q+_+m,E?q+Y:this.right,t.rtl),w(l.x(q),X,N),E?g.x+=Y+h:g.y+=k}),M8(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,r=_n(n.font),i=rr(n.padding);if(!n.display)return;const o=hc(t.rtl,this.left,this.width),s=this.ctx,a=n.position,l=r.size/2,c=i.top+l;let f,h=this.left,p=this.width;if(this.isHorizontal())p=Math.max(...this.lineWidths),f=this.top+c,h=Kn(t.align,h,this.right-p);else{const g=this.columnSizes.reduce((_,x)=>Math.max(_,x.height),0);f=c+Kn(t.align,this.top,this.bottom-g-t.labels.padding-this._computeTitleHeight())}const m=Kn(a,h,h+p);s.textAlign=o.textAlign(ME(a)),s.textBaseline="middle",s.strokeStyle=n.color,s.fillStyle=n.color,s.font=r.string,nl(s,n.text,m,f,r)}_computeTitleHeight(){const t=this.options.title,n=_n(t.font),r=rr(t.padding);return t.display?n.lineHeight+r.height:0}_getLegendItemAt(t,n){let r,i,o;if(bo(t,this.left,this.right)&&bo(n,this.top,this.bottom)){for(o=this.legendHitBoxes,r=0;re.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:o}}=e.legend.options;return e._getSortedDatasetMetas().map(s=>{const a=s.controller.getStyle(n?0:void 0),l=rr(a.borderWidth);return{text:t[s.index].label,fillStyle:a.backgroundColor,fontColor:o,hidden:!s.visible,lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:a.borderColor,pointStyle:r||a.pointStyle,rotation:a.rotation,textAlign:i||a.textAlign,borderRadius:0,datasetIndex:s.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class zE extends Ri{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,n){const r=this.options;if(this.left=0,this.top=0,!r.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=n;const i=Mt(r.text)?r.text.length:1;this._padding=rr(r.padding);const o=i*_n(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return t==="top"||t==="bottom"}_drawArgs(t){const{top:n,left:r,bottom:i,right:o,options:s}=this,a=s.align;let l=0,c,f,h;return this.isHorizontal()?(f=Kn(a,r,o),h=n+t,c=o-r):(s.position==="left"?(f=r+t,h=Kn(a,i,n),l=zt*-.5):(f=o-t,h=Kn(a,n,i),l=zt*.5),c=i-n),{titleX:f,titleY:h,maxWidth:c,rotation:l}}draw(){const t=this.ctx,n=this.options;if(!n.display)return;const r=_n(n.font),o=r.lineHeight/2+this._padding.top,{titleX:s,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);nl(t,n.text,0,0,r,{color:n.color,maxWidth:l,rotation:c,textAlign:ME(n.align),textBaseline:"middle",translation:[s,a]})}}function age(e,t){const n=new zE({ctx:e.ctx,options:t,chart:e});Qn.configure(e,n,t),Qn.addBox(e,n),e.titleBlock=n}var lge={id:"title",_element:zE,start(e,t,n){age(e,n)},stop(e){const t=e.titleBlock;Qn.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const r=e.titleBlock;Qn.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Ep=new WeakMap;var cge={id:"subtitle",start(e,t,n){const r=new zE({ctx:e.ctx,options:n,chart:e});Qn.configure(e,r,n),Qn.addBox(e,r),Ep.set(e,r)},stop(e){Qn.removeBox(e,Ep.get(e)),Ep.delete(e)},beforeUpdate(e,t,n){const r=Ep.get(e);Qn.configure(e,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Ef={average(e){if(!e.length)return!1;let t,n,r=0,i=0,o=0;for(t=0,n=e.length;t-1?e.split(` +`):e}function uge(e,t){const{element:n,datasetIndex:r,index:i}=t,o=e.getDatasetMeta(r).controller,{label:s,value:a}=o.getLabelAndValue(i);return{chart:e,label:s,parsed:o.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:a,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function EN(e,t){const n=e.chart.ctx,{body:r,footer:i,title:o}=e,{boxWidth:s,boxHeight:a}=t,l=_n(t.bodyFont),c=_n(t.titleFont),f=_n(t.footerFont),h=o.length,p=i.length,m=r.length,g=rr(t.padding);let _=g.height,x=0,v=r.reduce((E,P)=>E+P.before.length+P.lines.length+P.after.length,0);if(v+=e.beforeBody.length+e.afterBody.length,h&&(_+=h*c.lineHeight+(h-1)*t.titleSpacing+t.titleMarginBottom),v){const E=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;_+=m*E+(v-m)*l.lineHeight+(v-1)*t.bodySpacing}p&&(_+=t.footerMarginTop+p*f.lineHeight+(p-1)*t.footerSpacing);let b=0;const w=function(E){x=Math.max(x,n.measureText(E).width+b)};return n.save(),n.font=c.string,bt(e.title,w),n.font=l.string,bt(e.beforeBody.concat(e.afterBody),w),b=t.displayColors?s+2+t.boxPadding:0,bt(r,E=>{bt(E.before,w),bt(E.lines,w),bt(E.after,w)}),b=0,n.font=f.string,bt(e.footer,w),n.restore(),x+=g.width,{width:x,height:_}}function fge(e,t){const{y:n,height:r}=t;return ne.height-r/2?"bottom":"center"}function dge(e,t,n,r){const{x:i,width:o}=r,s=n.caretSize+n.caretPadding;if(e==="left"&&i+o+s>t.width||e==="right"&&i-o-s<0)return!0}function hge(e,t,n,r){const{x:i,width:o}=n,{width:s,chartArea:{left:a,right:l}}=e;let c="center";return r==="center"?c=i<=(a+l)/2?"left":"right":i<=o/2?c="left":i>=s-o/2&&(c="right"),dge(c,e,t,n)&&(c="center"),c}function TN(e,t,n){const r=n.yAlign||t.yAlign||fge(e,n);return{xAlign:n.xAlign||t.xAlign||hge(e,t,n,r),yAlign:r}}function pge(e,t){let{x:n,width:r}=e;return t==="right"?n-=r:t==="center"&&(n-=r/2),n}function mge(e,t,n){let{y:r,height:i}=e;return t==="top"?r+=n:t==="bottom"?r-=i+n:r-=i/2,r}function ON(e,t,n,r){const{caretSize:i,caretPadding:o,cornerRadius:s}=e,{xAlign:a,yAlign:l}=n,c=i+o,{topLeft:f,topRight:h,bottomLeft:p,bottomRight:m}=$a(s);let g=pge(t,a);const _=mge(t,l,c);return l==="center"?a==="left"?g+=c:a==="right"&&(g-=c):a==="left"?g-=Math.max(f,p)+i:a==="right"&&(g+=Math.max(h,m)+i),{x:Tn(g,0,r.width-t.width),y:Tn(_,0,r.height-t.height)}}function Tp(e,t,n){const r=rr(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function PN(e){return ji([],uo(e))}function gge(e,t,n){return Js(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function kN(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}class fx extends Ri{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,r=this.options.setContext(this.getContext()),i=r.enabled&&n.options.animation&&r.animations,o=new D8(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=gge(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:r}=n,i=r.beforeTitle.apply(this,[t]),o=r.title.apply(this,[t]),s=r.afterTitle.apply(this,[t]);let a=[];return a=ji(a,uo(i)),a=ji(a,uo(o)),a=ji(a,uo(s)),a}getBeforeBody(t,n){return PN(n.callbacks.beforeBody.apply(this,[t]))}getBody(t,n){const{callbacks:r}=n,i=[];return bt(t,o=>{const s={before:[],lines:[],after:[]},a=kN(r,o);ji(s.before,uo(a.beforeLabel.call(this,o))),ji(s.lines,a.label.call(this,o)),ji(s.after,uo(a.afterLabel.call(this,o))),i.push(s)}),i}getAfterBody(t,n){return PN(n.callbacks.afterBody.apply(this,[t]))}getFooter(t,n){const{callbacks:r}=n,i=r.beforeFooter.apply(this,[t]),o=r.footer.apply(this,[t]),s=r.afterFooter.apply(this,[t]);let a=[];return a=ji(a,uo(i)),a=ji(a,uo(o)),a=ji(a,uo(s)),a}_createItems(t){const n=this._active,r=this.chart.data,i=[],o=[],s=[];let a=[],l,c;for(l=0,c=n.length;lt.filter(f,h,p,r))),t.itemSort&&(a=a.sort((f,h)=>t.itemSort(f,h,r))),bt(a,f=>{const h=kN(t.callbacks,f);i.push(h.labelColor.call(this,f)),o.push(h.labelPointStyle.call(this,f)),s.push(h.labelTextColor.call(this,f))}),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=s,this.dataPoints=a,a}update(t,n){const r=this.options.setContext(this.getContext()),i=this._active;let o,s=[];if(!i.length)this.opacity!==0&&(o={opacity:0});else{const a=Ef[r.position].call(this,i,this._eventPosition);s=this._createItems(r),this.title=this.getTitle(s,r),this.beforeBody=this.getBeforeBody(s,r),this.body=this.getBody(s,r),this.afterBody=this.getAfterBody(s,r),this.footer=this.getFooter(s,r);const l=this._size=EN(this,r),c=Object.assign({},a,l),f=TN(this.chart,r,c),h=ON(r,c,f,this.chart);this.xAlign=f.xAlign,this.yAlign=f.yAlign,o={opacity:1,x:h.x,y:h.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=s,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,r,i){const o=this.getCaretPosition(t,r,i);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(t,n,r){const{xAlign:i,yAlign:o}=this,{caretSize:s,cornerRadius:a}=r,{topLeft:l,topRight:c,bottomLeft:f,bottomRight:h}=$a(a),{x:p,y:m}=t,{width:g,height:_}=n;let x,v,b,w,E,P;return o==="center"?(E=m+_/2,i==="left"?(x=p,v=x-s,w=E+s,P=E-s):(x=p+g,v=x+s,w=E-s,P=E+s),b=x):(i==="left"?v=p+Math.max(l,f)+s:i==="right"?v=p+g-Math.max(c,h)-s:v=this.caretX,o==="top"?(w=m,E=w-s,x=v-s,b=v+s):(w=m+_,E=w+s,x=v+s,b=v-s),P=w),{x1:x,x2:v,x3:b,y1:w,y2:E,y3:P}}drawTitle(t,n,r){const i=this.title,o=i.length;let s,a,l;if(o){const c=hc(r.rtl,this.x,this.width);for(t.x=Tp(this,r.titleAlign,r),n.textAlign=c.textAlign(r.titleAlign),n.textBaseline="middle",s=_n(r.titleFont),a=r.titleSpacing,n.fillStyle=r.titleColor,n.font=s.string,l=0;lw!==0)?(t.beginPath(),t.fillStyle=o.multiKeyBackground,vd(t,{x,y:_,w:c,h:l,radius:b}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),vd(t,{x:v,y:_+1,w:c-2,h:l-2,radius:b}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(x,_,c,l),t.strokeRect(x,_,c,l),t.fillStyle=s.backgroundColor,t.fillRect(v,_+1,c-2,l-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,n,r){const{body:i}=this,{bodySpacing:o,bodyAlign:s,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:f}=r,h=_n(r.bodyFont);let p=h.lineHeight,m=0;const g=hc(r.rtl,this.x,this.width),_=function(A){n.fillText(A,g.x(t.x+m),t.y+p/2),t.y+=p+o},x=g.textAlign(s);let v,b,w,E,P,k,N;for(n.textAlign=s,n.textBaseline="middle",n.font=h.string,t.x=Tp(this,x,r),n.fillStyle=r.bodyColor,bt(this.beforeBody,_),m=a&&x!=="right"?s==="center"?c/2+f:c+2+f:0,E=0,k=i.length;E0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,r=this.$animations,i=r&&r.x,o=r&&r.y;if(i||o){const s=Ef[t.position].call(this,this._active,this._eventPosition);if(!s)return;const a=this._size=EN(this,t),l=Object.assign({},s,this._size),c=TN(n,t,l),f=ON(t,l,c,n);(i._to!==f.x||o._to!==f.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,f))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const s=rr(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(t.save(),t.globalAlpha=r,this.drawBackground(o,t,i,n),k8(t,n.textDirection),o.y+=s.top,this.drawTitle(o,t,n),this.drawBody(o,t,n),this.drawFooter(o,t,n),M8(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const r=this._active,i=t.map(({datasetIndex:a,index:l})=>{const c=this.chart.getDatasetMeta(a);if(!c)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:c.data[l],index:l}}),o=!Fv(r,i),s=this._positionChanged(i,n);(o||s)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],s=this._getActiveElements(t,o,n,r),a=this._positionChanged(s,t),l=n||!Fv(s,o)||a;return l&&(this._active=s,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,r,i){const o=this.options;if(t.type==="mouseout")return[];if(!i)return n;const s=this.chart.getElementsAtEventForMode(t,o.mode,o,r);return o.reverse&&s.reverse(),s}_positionChanged(t,n){const{caretX:r,caretY:i,options:o}=this,s=Ef[o.position].call(this,t,n);return s!==!1&&(r!==s.x||i!==s.y)}}fx.positioners=Ef;var vge={id:"tooltip",_element:fx,positioners:Ef,afterInit(e,t,n){n&&(e.tooltip=new fx({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",n)===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:lo,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndexe!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},yge=Object.freeze({__proto__:null,Decimation:Fme,Filler:rge,Legend:sge,SubTitle:cge,Title:lge,Tooltip:vge});const _ge=(e,t,n,r)=>(typeof t=="string"?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function bge(e,t,n,r){const i=e.indexOf(t);if(i===-1)return _ge(e,t,n,r);const o=e.lastIndexOf(t);return i!==o?n:i}const wge=(e,t)=>e===null?null:Tn(Math.round(e),0,t);class Wv extends ul{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:i,label:o}of n)r[i]===o&&r.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(ht(t))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===t?n:bge(r,t,Je(n,t),this._addedLabels),wge(n,r.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(r=0),n||(i=this.getLabels().length-1)),this.min=r,this.max=i}buildTicks(){const t=this.min,n=this.max,r=this.options.offset,i=[];let o=this.getLabels();o=t===0&&n===o.length-1?o:o.slice(t,n+1),this._valueRange=Math.max(o.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let s=t;s<=n;s++)i.push({value:s});return i}getLabelForValue(t){const n=this.getLabels();return t>=0&&tn.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}Wv.id="category";Wv.defaults={ticks:{callback:Wv.prototype.getLabelForValue}};function xge(e,t){const n=[],{bounds:i,step:o,min:s,max:a,precision:l,count:c,maxTicks:f,maxDigits:h,includeBounds:p}=e,m=o||1,g=f-1,{min:_,max:x}=t,v=!ht(s),b=!ht(a),w=!ht(c),E=(x-_)/(h+1);let P=TR((x-_)/g/m)*m,k,N,A,V;if(P<1e-14&&!v&&!b)return[{value:_},{value:x}];V=Math.ceil(x/P)-Math.floor(_/P),V>g&&(P=TR(V*P/g/m)*m),ht(l)||(k=Math.pow(10,l),P=Math.ceil(P*k)/k),i==="ticks"?(N=Math.floor(_/P)*P,A=Math.ceil(x/P)*P):(N=_,A=x),v&&b&&o&&lde((a-s)/o,P/1e3)?(V=Math.round(Math.min((a-s)/P,f)),P=(a-s)/V,N=s,A=a):w?(N=v?s:N,A=b?a:A,V=c-1,P=(A-N)/V):(V=(A-N)/P,xf(V,Math.round(V),P/1e3)?V=Math.round(V):V=Math.ceil(V));const I=Math.max(OR(P),OR(N));k=Math.pow(10,ht(l)?I:l),N=Math.round(N*k)/k,A=Math.round(A*k)/k;let Y=0;for(v&&(p&&N!==s?(n.push({value:s}),Ni=n?i:l,a=l=>o=r?o:l;if(t){const l=Qi(i),c=Qi(o);l<0&&c<0?a(0):l>0&&c>0&&s(0)}if(i===o){let l=1;(o>=Number.MAX_SAFE_INTEGER||i<=Number.MIN_SAFE_INTEGER)&&(l=Math.abs(o*.05)),a(o+l),t||s(i-l)}this.min=i,this.max=o}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=t,i;return r?(i=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const i={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},o=this._range||this,s=xge(i,o);return t.bounds==="ticks"&&a8(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const i=(r-n)/Math.max(t.length-1,1)/2;n-=i,r+=i}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(t){return nh(t,this.chart.options.locale,this.options.ticks.format)}}class UE extends Yv{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=ln(t)?t:0,this.max=ln(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,r=wi(this.options.ticks.minRotation),i=(t?Math.sin(r):Math.cos(r))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,o.lineHeight/i))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}UE.id="linear";UE.defaults={ticks:{callback:b_.formatters.numeric}};function RN(e){return e/Math.pow(10,Math.floor(qr(e)))===1}function Sge(e,t){const n=Math.floor(qr(t.max)),r=Math.ceil(t.max/Math.pow(10,n)),i=[];let o=Vr(e.min,Math.pow(10,Math.floor(qr(t.min)))),s=Math.floor(qr(o)),a=Math.floor(o/Math.pow(10,s)),l=s<0?Math.pow(10,Math.abs(s)):1;do i.push({value:o,major:RN(o)}),++a,a===10&&(a=1,++s,l=s>=0?1:l),o=Math.round(a*Math.pow(10,s)*l)/l;while(s0?r:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=ln(t)?Math.max(0,t):null,this.max=ln(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let r=this.min,i=this.max;const o=l=>r=t?r:l,s=l=>i=n?i:l,a=(l,c)=>Math.pow(10,Math.floor(qr(l))+c);r===i&&(r<=0?(o(1),s(10)):(o(a(r,-1)),s(a(i,1)))),r<=0&&o(a(i,-1)),i<=0&&s(a(r,1)),this._zero&&this.min!==this._suggestedMin&&r===a(this.min,0)&&o(a(r,-1)),this.min=r,this.max=i}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},r=Sge(n,this);return t.bounds==="ticks"&&a8(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(t){return t===void 0?"0":nh(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=qr(t),this._valueRange=qr(this.max)-qr(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(qr(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}VE.id="logarithmic";VE.defaults={ticks:{callback:b_.formatters.logarithmic,major:{enabled:!0}}};function dx(e){const t=e.ticks;if(t.display&&e.display){const n=rr(t.backdropPadding);return Je(t.font&&t.font.size,lt.font.size)+n.height}return 0}function Cge(e,t,n){return n=Mt(n)?n:[n],{w:Bde(e,t.string,n),h:n.length*t.lineHeight}}function NN(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function Ege(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],o=e._pointLabels.length,s=e.options.pointLabels,a=s.centerPointLabels?zt/o:0;for(let l=0;lt.r&&(a=(r.end-t.r)/o,e.r=Math.max(e.r,t.r+a)),i.startt.b&&(l=(i.end-t.b)/s,e.b=Math.max(e.b,t.b+l))}function Oge(e,t,n){const r=[],i=e._pointLabels.length,o=e.options,s=dx(o)/2,a=e.drawingArea,l=o.pointLabels.centerPointLabels?zt/i:0;for(let c=0;c270||n<90)&&(e-=t),e}function Rge(e,t){const{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){const o=r.setContext(e.getPointLabelContext(i)),s=_n(o.font),{x:a,y:l,textAlign:c,left:f,top:h,right:p,bottom:m}=e._pointLabelItems[i],{backdropColor:g}=o;if(!ht(g)){const _=$a(o.borderRadius),x=rr(o.backdropPadding);n.fillStyle=g;const v=f-x.left,b=h-x.top,w=p-f+x.width,E=m-h+x.height;Object.values(_).some(P=>P!==0)?(n.beginPath(),vd(n,{x:v,y:b,w,h:E,radius:_}),n.fill()):n.fillRect(v,b,w,E)}nl(n,e._pointLabels[i],a,l+s.lineHeight/2,s,{color:o.color,textAlign:c,textBaseline:"middle"})}}function tF(e,t,n,r){const{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,Et);else{let o=e.getPointPosition(0,t);i.moveTo(o.x,o.y);for(let s=1;s{const i=Pt(this.options.pointLabels.callback,[n,r],this);return i||i===0?i:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const t=this.options;t.display&&t.pointLabels.display?Ege(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,r,i){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((r-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,r,i))}getIndexAngle(t){const n=Et/(this._pointLabels.length||1),r=this.options.startAngle||0;return Tr(t*n+wi(r))}getDistanceFromCenterForValue(t){if(ht(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if(ht(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t{if(f!==0){a=this.getDistanceFromCenterForValue(c.value);const h=i.setContext(this.getContext(f-1));Nge(this,h,a,o)}}),r.display){for(t.save(),s=o-1;s>=0;s--){const c=r.setContext(this.getPointLabelContext(s)),{color:f,lineWidth:h}=c;!h||!f||(t.lineWidth=h,t.strokeStyle=f,t.setLineDash(c.borderDash),t.lineDashOffset=c.borderDashOffset,a=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),l=this.getPointPosition(s,a),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const i=this.getIndexAngle(0);let o,s;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&!n.reverse)return;const c=r.setContext(this.getContext(l)),f=_n(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=f.string,s=t.measureText(a.label).width,t.fillStyle=c.backdropColor;const h=rr(c.backdropPadding);t.fillRect(-s/2-h.left,-o-f.size/2-h.top,s+h.width,f.size+h.height)}nl(t,a.label,0,-o,f,{color:c.color})}),t.restore()}drawTitle(){}}ah.id="radialLinear";ah.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:b_.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}};ah.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};ah.descriptors={angleLines:{_fallback:"grid"}};const E_={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},mr=Object.keys(E_);function Dge(e,t){return e-t}function LN(e,t){if(ht(t))return null;const n=e._adapter,{parser:r,round:i,isoWeekday:o}=e._parseOpts;let s=t;return typeof r=="function"&&(s=r(s)),ln(s)||(s=typeof r=="string"?n.parse(s,r):n.parse(s)),s===null?null:(i&&(s=i==="week"&&(Ac(o)||o===!0)?n.startOf(s,"isoWeek",o):n.startOf(s,i)),+s)}function DN(e,t,n,r){const i=mr.length;for(let o=mr.indexOf(e);o=mr.indexOf(n);o--){const s=mr[o];if(E_[s].common&&e._adapter.diff(i,r,s)>=t-1)return s}return mr[n?mr.indexOf(n):0]}function Ige(e){for(let t=mr.indexOf(e)+1,n=mr.length;t=t?n[r]:n[i];e[o]=!0}}function Fge(e,t,n,r){const i=e._adapter,o=+i.startOf(t[0].value,r),s=t[t.length-1].value;let a,l;for(a=o;a<=s;a=+i.add(a,1,r))l=n[a],l>=0&&(t[l].major=!0);return t}function IN(e,t,n){const r=[],i={},o=t.length;let s,a;for(s=0;s+t.value))}initOffsets(t){let n=0,r=0,i,o;this.options.offset&&t.length&&(i=this.getDecimalForValue(t[0]),t.length===1?n=1-i:n=(this.getDecimalForValue(t[1])-i)/2,o=this.getDecimalForValue(t[t.length-1]),t.length===1?r=o:r=(o-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;n=Tn(n,0,s),r=Tn(r,0,s),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const t=this._adapter,n=this.min,r=this.max,i=this.options,o=i.time,s=o.unit||DN(o.minUnit,n,r,this._getLabelCapacity(n)),a=Je(o.stepSize,1),l=s==="week"?o.isoWeekday:!1,c=Ac(l)||l===!0,f={};let h=n,p,m;if(c&&(h=+t.startOf(h,"isoWeek",l)),h=+t.startOf(h,c?"day":s),t.diff(r,n,s)>1e5*a)throw new Error(n+" and "+r+" are too far apart with stepSize of "+a+" "+s);const g=i.ticks.source==="data"&&this.getDataTimestamps();for(p=h,m=0;p_-x).map(_=>+_)}getLabelForValue(t){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(t,r.tooltipFormat):n.format(t,r.displayFormats.datetime)}_tickFormatFunction(t,n,r,i){const o=this.options,s=o.time.displayFormats,a=this._unit,l=this._majorUnit,c=a&&s[a],f=l&&s[l],h=r[n],p=l&&f&&h&&h.major,m=this._adapter.format(t,i||(p?f:c)),g=o.ticks.callback;return g?Pt(g,[m,n,r],this):m}generateTickLabels(t){let n,r,i;for(n=0,r=t.length;n0?a:1}getDataTimestamps(){let t=this._cache.data||[],n,r;if(t.length)return t;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,r=i.length;n=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=wo(e,"pos",t)),{pos:o,time:a}=e[r],{pos:s,time:l}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=wo(e,"time",t)),{time:o,pos:a}=e[r],{time:s,pos:l}=e[i]);const c=s-o;return c?a+(l-a)*(t-o)/c:a}class HE extends lh{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=Op(n,this.min),this._tableRange=Op(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:r}=this,i=[],o=[];let s,a,l,c,f;for(s=0,a=t.length;s=n&&c<=r&&i.push(c);if(i.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(s=0,a=i.length;s2&&arguments[2]!==void 0?arguments[2]:nF;const r=[];e.datasets=t.map(i=>{const o=e.datasets.find(s=>s[n]===i[n]);return!o||!i.data||r.includes(o)?{...i}:(r.push(o),Object.assign(o,i),o)})}function zge(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nF;const n={labels:[],datasets:[]};return rF(n,e.labels),iF(n,e.datasets,t),n}function oF(e,t){return e.getElementsAtEventForMode(t.nativeEvent,"nearest",{intersect:!0},!1)}function Uge(e,t){let{height:n=150,width:r=300,redraw:i=!1,datasetIdKey:o,type:s,data:a,options:l,plugins:c=[],fallbackContent:f,updateMode:h,...p}=e;const m=H.useRef(null),g=H.useRef(),_=()=>{m.current&&(g.current=new sh(m.current,{type:s,data:zge(a,o),options:l&&{...l},plugins:c}),FN(t,g.current))},x=()=>{FN(t,null),g.current&&(g.current.destroy(),g.current=null)};return H.useEffect(()=>{!i&&g.current&&l&&Bge(g.current,l)},[i,l]),H.useEffect(()=>{!i&&g.current&&rF(g.current.config.data,a.labels)},[i,a.labels]),H.useEffect(()=>{!i&&g.current&&a.datasets&&iF(g.current.config.data,a.datasets,o)},[i,a.datasets]),H.useEffect(()=>{g.current&&(i?(x(),setTimeout(_)):g.current.update(h))},[i,l,a.labels,a.datasets,h]),H.useEffect(()=>{g.current&&(x(),setTimeout(_))},[s]),H.useEffect(()=>(_(),()=>x()),[]),z.createElement("canvas",Object.assign({ref:m,role:"img",height:n,width:r},p),f)}const Vge=H.forwardRef(Uge);function WE(e,t){return sh.register(t),H.forwardRef((n,r)=>z.createElement(Vge,Object.assign({},n,{ref:r,type:e})))}const Hge=WE("line",ih),Wge=WE("bar",rh),Yge=WE("doughnut",cl),qge={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},sF={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},nn={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},sr={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},Ko={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"};class xe{static getFirstMatch(t,n){const r=n.match(t);return r&&r.length>0&&r[1]||""}static getSecondMatch(t,n){const r=n.match(t);return r&&r.length>1&&r[2]||""}static matchAndReturnConst(t,n,r){if(t.test(n))return r}static getWindowsVersionName(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}static getMacOSVersionName(t){const n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),n[0]===10)switch(n[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}}static getAndroidVersionName(t){const n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),!(n[0]===1&&n[1]<5)){if(n[0]===1&&n[1]<6)return"Cupcake";if(n[0]===1&&n[1]>=6)return"Donut";if(n[0]===2&&n[1]<2)return"Eclair";if(n[0]===2&&n[1]===2)return"Froyo";if(n[0]===2&&n[1]>2)return"Gingerbread";if(n[0]===3)return"Honeycomb";if(n[0]===4&&n[1]<1)return"Ice Cream Sandwich";if(n[0]===4&&n[1]<4)return"Jelly Bean";if(n[0]===4&&n[1]>=4)return"KitKat";if(n[0]===5)return"Lollipop";if(n[0]===6)return"Marshmallow";if(n[0]===7)return"Nougat";if(n[0]===8)return"Oreo";if(n[0]===9)return"Pie"}}static getVersionPrecision(t){return t.split(".").length}static compareVersions(t,n,r=!1){const i=xe.getVersionPrecision(t),o=xe.getVersionPrecision(n);let s=Math.max(i,o),a=0;const l=xe.map([t,n],c=>{const f=s-xe.getVersionPrecision(c),h=c+new Array(f+1).join(".0");return xe.map(h.split("."),p=>new Array(20-p.length).join("0")+p).reverse()});for(r&&(a=s-Math.min(i,o)),s-=1;s>=a;){if(l[0][s]>l[1][s])return 1;if(l[0][s]===l[1][s]){if(s===a)return 0;s-=1}else if(l[0][s]{r[l]=s[l]})}return t}static getBrowserAlias(t){return qge[t]}static getBrowserTypeByAlias(t){return sF[t]||""}}const Tt=/version\/(\d+(\.?_?\d+)+)/i,Gge=[{test:[/googlebot/i],describe(e){const t={name:"Googlebot"},n=xe.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||xe.getFirstMatch(Tt,e);return n&&(t.version=n),t}},{test:[/opera/i],describe(e){const t={name:"Opera"},n=xe.getFirstMatch(Tt,e)||xe.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe(e){const t={name:"Opera"},n=xe.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||xe.getFirstMatch(Tt,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe(e){const t={name:"Samsung Internet for Android"},n=xe.getFirstMatch(Tt,e)||xe.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe(e){const t={name:"NAVER Whale Browser"},n=xe.getFirstMatch(Tt,e)||xe.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe(e){const t={name:"MZ Browser"},n=xe.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||xe.getFirstMatch(Tt,e);return n&&(t.version=n),t}},{test:[/focus/i],describe(e){const t={name:"Focus"},n=xe.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||xe.getFirstMatch(Tt,e);return n&&(t.version=n),t}},{test:[/swing/i],describe(e){const t={name:"Swing"},n=xe.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||xe.getFirstMatch(Tt,e);return n&&(t.version=n),t}},{test:[/coast/i],describe(e){const t={name:"Opera Coast"},n=xe.getFirstMatch(Tt,e)||xe.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe(e){const t={name:"Opera Touch"},n=xe.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||xe.getFirstMatch(Tt,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe(e){const t={name:"Yandex Browser"},n=xe.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||xe.getFirstMatch(Tt,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe(e){const t={name:"UC Browser"},n=xe.getFirstMatch(Tt,e)||xe.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe(e){const t={name:"Maxthon"},n=xe.getFirstMatch(Tt,e)||xe.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe(e){const t={name:"Epiphany"},n=xe.getFirstMatch(Tt,e)||xe.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe(e){const t={name:"Puffin"},n=xe.getFirstMatch(Tt,e)||xe.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe(e){const t={name:"Sleipnir"},n=xe.getFirstMatch(Tt,e)||xe.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe(e){const t={name:"K-Meleon"},n=xe.getFirstMatch(Tt,e)||xe.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe(e){const t={name:"WeChat"},n=xe.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||xe.getFirstMatch(Tt,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe(e){const t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=xe.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||xe.getFirstMatch(Tt,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe(e){const t={name:"Internet Explorer"},n=xe.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe(e){const t={name:"Microsoft Edge"},n=xe.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe(e){const t={name:"Microsoft Edge"},n=xe.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe(e){const t={name:"Vivaldi"},n=xe.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe(e){const t={name:"SeaMonkey"},n=xe.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe(e){const t={name:"Sailfish"},n=xe.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe(e){const t={name:"Amazon Silk"},n=xe.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe(e){const t={name:"PhantomJS"},n=xe.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe(e){const t={name:"SlimerJS"},n=xe.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t={name:"BlackBerry"},n=xe.getFirstMatch(Tt,e)||xe.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe(e){const t={name:"WebOS Browser"},n=xe.getFirstMatch(Tt,e)||xe.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe(e){const t={name:"Bada"},n=xe.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe(e){const t={name:"Tizen"},n=xe.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||xe.getFirstMatch(Tt,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe(e){const t={name:"QupZilla"},n=xe.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||xe.getFirstMatch(Tt,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe(e){const t={name:"Firefox"},n=xe.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe(e){const t={name:"Electron"},n=xe.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe(e){const t={name:"Miui"},n=xe.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe(e){const t={name:"Chromium"},n=xe.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||xe.getFirstMatch(Tt,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe(e){const t={name:"Chrome"},n=xe.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe(e){const t={name:"Google Search"},n=xe.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t={name:"Android Browser"},n=xe.getFirstMatch(Tt,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe(e){const t={name:"PlayStation 4"},n=xe.getFirstMatch(Tt,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe(e){const t={name:"Safari"},n=xe.getFirstMatch(Tt,e);return n&&(t.version=n),t}},{test:[/.*/i],describe(e){const t=/^(.*)\/(.*) /,n=/^(.*)\/(.*)[ \t]\((.*)/,i=e.search("\\(")!==-1?n:t;return{name:xe.getFirstMatch(i,e),version:xe.getSecondMatch(i,e)}}}],Zge=[{test:[/Roku\/DVP/],describe(e){const t=xe.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:sr.Roku,version:t}}},{test:[/windows phone/i],describe(e){const t=xe.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:sr.WindowsPhone,version:t}}},{test:[/windows /i],describe(e){const t=xe.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=xe.getWindowsVersionName(t);return{name:sr.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(e){const t={name:sr.iOS},n=xe.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe(e){const t=xe.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=xe.getMacOSVersionName(t),r={name:sr.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe(e){const t=xe.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:sr.iOS,version:t}}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t=xe.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=xe.getAndroidVersionName(t),r={name:sr.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe(e){const t=xe.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:sr.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t=xe.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||xe.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||xe.getFirstMatch(/\bbb(\d+)/i,e);return{name:sr.BlackBerry,version:t}}},{test:[/bada/i],describe(e){const t=xe.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:sr.Bada,version:t}}},{test:[/tizen/i],describe(e){const t=xe.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:sr.Tizen,version:t}}},{test:[/linux/i],describe(){return{name:sr.Linux}}},{test:[/CrOS/],describe(){return{name:sr.ChromeOS}}},{test:[/PlayStation 4/],describe(e){const t=xe.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:sr.PlayStation4,version:t}}}],Kge=[{test:[/googlebot/i],describe(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe(e){const t=xe.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:nn.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe(){return{type:nn.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe(){return{type:nn.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(){return{type:nn.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe(){return{type:nn.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe(){return{type:nn.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe(){return{type:nn.tablet}}},{test(e){const t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe(e){const t=xe.getFirstMatch(/(ipod|iphone)/i,e);return{type:nn.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe(){return{type:nn.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe(){return{type:nn.mobile}}},{test(e){return e.getBrowserName(!0)==="blackberry"},describe(){return{type:nn.mobile,vendor:"BlackBerry"}}},{test(e){return e.getBrowserName(!0)==="bada"},describe(){return{type:nn.mobile}}},{test(e){return e.getBrowserName()==="windows phone"},describe(){return{type:nn.mobile,vendor:"Microsoft"}}},{test(e){const t=Number(String(e.getOSVersion()).split(".")[0]);return e.getOSName(!0)==="android"&&t>=3},describe(){return{type:nn.tablet}}},{test(e){return e.getOSName(!0)==="android"},describe(){return{type:nn.mobile}}},{test(e){return e.getOSName(!0)==="macos"},describe(){return{type:nn.desktop,vendor:"Apple"}}},{test(e){return e.getOSName(!0)==="windows"},describe(){return{type:nn.desktop}}},{test(e){return e.getOSName(!0)==="linux"},describe(){return{type:nn.desktop}}},{test(e){return e.getOSName(!0)==="playstation 4"},describe(){return{type:nn.tv}}},{test(e){return e.getOSName(!0)==="roku"},describe(){return{type:nn.tv}}}],Xge=[{test(e){return e.getBrowserName(!0)==="microsoft edge"},describe(e){if(/\sedg\//i.test(e))return{name:Ko.Blink};const n=xe.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:Ko.EdgeHTML,version:n}}},{test:[/trident/i],describe(e){const t={name:Ko.Trident},n=xe.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){return e.test(/presto/i)},describe(e){const t={name:Ko.Presto},n=xe.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe(e){const t={name:Ko.Gecko},n=xe.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe(){return{name:Ko.Blink}}},{test:[/(apple)?webkit/i],describe(e){const t={name:Ko.WebKit},n=xe.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];class $N{constructor(t,n=!1){if(t==null||t==="")throw new Error("UserAgent parameter can't be empty");this._ua=t,this.parsedResult={},n!==!0&&this.parse()}getUA(){return this._ua}test(t){return t.test(this._ua)}parseBrowser(){this.parsedResult.browser={};const t=xe.find(Gge,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser}getBrowser(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()}getBrowserName(t){return t?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""}getBrowserVersion(){return this.getBrowser().version}getOS(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()}parseOS(){this.parsedResult.os={};const t=xe.find(Zge,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os}getOSName(t){const{name:n}=this.getOS();return t?String(n).toLowerCase()||"":n||""}getOSVersion(){return this.getOS().version}getPlatform(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()}getPlatformType(t=!1){const{type:n}=this.getPlatform();return t?String(n).toLowerCase()||"":n||""}parsePlatform(){this.parsedResult.platform={};const t=xe.find(Kge,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform}getEngine(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()}getEngineName(t){return t?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""}parseEngine(){this.parsedResult.engine={};const t=xe.find(Xge,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine}parse(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this}getResult(){return xe.assign({},this.parsedResult)}satisfies(t){const n={};let r=0;const i={};let o=0;if(Object.keys(t).forEach(a=>{const l=t[a];typeof l=="string"?(i[a]=l,o+=1):typeof l=="object"&&(n[a]=l,r+=1)}),r>0){const a=Object.keys(n),l=xe.find(a,f=>this.isOS(f));if(l){const f=this.satisfies(n[l]);if(f!==void 0)return f}const c=xe.find(a,f=>this.isPlatform(f));if(c){const f=this.satisfies(n[c]);if(f!==void 0)return f}}if(o>0){const a=Object.keys(i),l=xe.find(a,c=>this.isBrowser(c,!0));if(l!==void 0)return this.compareVersion(i[l])}}isBrowser(t,n=!1){const r=this.getBrowserName().toLowerCase();let i=t.toLowerCase();const o=xe.getBrowserTypeByAlias(i);return n&&o&&(i=o.toLowerCase()),i===r}compareVersion(t){let n=[0],r=t,i=!1;const o=this.getBrowserVersion();if(typeof o=="string")return t[0]===">"||t[0]==="<"?(r=t.substr(1),t[1]==="="?(i=!0,r=t.substr(2)):n=[],t[0]===">"?n.push(1):n.push(-1)):t[0]==="="?r=t.substr(1):t[0]==="~"&&(i=!0,r=t.substr(1)),n.indexOf(xe.compareVersions(o,r,i))>-1}isOS(t){return this.getOSName(!0)===String(t).toLowerCase()}isPlatform(t){return this.getPlatformType(!0)===String(t).toLowerCase()}isEngine(t){return this.getEngineName(!0)===String(t).toLowerCase()}is(t,n=!1){return this.isBrowser(t,n)||this.isOS(t)||this.isPlatform(t)}some(t=[]){return t.some(n=>this.is(n))}}/*! + * Bowser - a browser detector + * https://github.com/lancedikson/bowser + * MIT License | (c) Dustin Diaz 2012-2015 + * MIT License | (c) Denis Demchenko 2015-2019 + */class Qge{static getParser(t,n=!1){if(typeof t!="string")throw new Error("UserAgent should be a string");return new $N(t,n)}static parse(t){return new $N(t).getResult()}static get BROWSER_MAP(){return sF}static get ENGINE_MAP(){return Ko}static get OS_MAP(){return sr}static get PLATFORMS_MAP(){return nn}}const Pp="Others",Jge=["Android Browser","Chrome","Chromium","Firefox","Internet Explorer","Microsoft Edge","Opera","Safari","Samsung Internet for Android","Vivaldi","WeChat"],eve=e=>{if(!vi(e))return{browser:Pp,os:Pp};const{browser:{name:t},os:{name:n}}=Qge.parse(e);return{os:n??Pp,browser:t&&Jge.includes(t)?t:Pp}},tve=e=>{var t;return vi(e)?((t=e.split("/")[e.includes("://")?2:0])==null?void 0:t.split(":")[0])??"":"Direct"},YE=(e,t)=>Object.values({...mA(t,t.map(()=>0)),...e}),$c=e=>C(W5,{type:"switch",...e}),aF=({native:e},[t])=>{if(!(e!=null&&e.target))return;const n=e.target;n.style.cursor=t?"pointer":"default"},lF=({dataset:e,raw:t})=>`${e.label}: ${yn(`${t}`)}`,nve=({label:e,raw:t})=>`${e}: ${yn(`${t}`)}`;const jN={monthly:"Month",weekly:"Week",daily:"Day",hourly:"Hour"},rve={hourly:e=>({hours:e}),daily:e=>({days:e}),weekly:e=>({weeks:e}),monthly:e=>({months:e})},ive={hourly:Qte,daily:rE,weekly:nne,monthly:Gg},qE={hourly:e=>vo(e,"yyyy-MM-dd HH:00"),daily:e=>vo(e,gf),weekly(e){const t=vo(ld(e),gf),n=vo(sne(e),gf);return`${t} - ${n}`},monthly:e=>vo(e,"yyyy-MM")},ove=e=>{const t=new Date,n=Lo(e);return $y([[()=>rE(t,n)<=2,M0("hourly")],[()=>Gg(t,n)<=1,M0("daily")],[()=>Gg(t,n)<=6,M0("weekly")]])()??"monthly"},BN=(e,t)=>uA(n=>qE[e](Lo(n.date)),t),sve=(e,t)=>t.reduce((n,r)=>{const i=qE[e](Lo(r.date));return n[i]=n[i]??[],n[i].push(r),n},{}),ave=(e,t)=>{const n=ive[e],r=qE[e],i=Lo(t[0].date),o=Lo(t[t.length-1].date),s=n(i,o),a=rve[e];return[r(o),...UC(s,l=>r(zte(o,a(l))))]},lve=(e,t,n,r)=>{if(r)return[Object.keys(t),Object.values(t)];const i=ave(n,e);return[i,YE(t,i)]},zN=(e,t,n)=>({label:t,data:e,fill:!1,tension:.2,borderColor:n,backgroundColor:n});let Lb=null;const cve=(e,t,[n],r)=>{if(!r||!n)return;const{index:i}=n;Lb===e[i]?(r([]),Lb=null):(r(e[i]&&t[e[i]]?t[e[i]]:[]),Lb=e[i]??null)},uve=({title:e,visits:t,highlightedVisits:n,highlightedLabel:r="Selected",setSelectedVisits:i})=>{const[o,s]=H.useState(t.length>0?ove(t[t.length-1].date):"monthly"),[a,l]=Bt(!0),c=H.useRef(null),f=H.useRef(null),h=H.useMemo(()=>sve(o,t),[o,t]),p=H.useMemo(()=>BN(o,W1(t)),[o,t]),[m,g]=H.useMemo(()=>lve(t,p,o,a),[t,o,a]),_=H.useMemo(()=>YE(BN(o,W1(n)),m),[n,o,m]),x=()=>{const E=zN(g,"Visits",zC);if(n.length===0)return[E];const P=zN(_,r,a6);return[E,P]},v=()=>({labels:m,datasets:x()}),b={maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{intersect:!1,axis:"x",callbacks:{label:lF}}},scales:{y:{beginAtZero:!0,ticks:{precision:0,callback:yn}},x:{title:{display:!0,text:jN[o]}}},onHover:aF},w=E=>C(Hge,{ref:E,data:v(),options:b,onClick:P=>cve(m,h,oF(E.current,P),i)});return U(xr,{children:[U(Xa,{role:"heading",children:[e,C("div",{className:"float-end",children:U(jd,{children:[C(Xc,{caret:!0,color:"link",className:"btn-sm p-0",children:"Group by"}),C(al,{end:!0,children:Object.entries(jN).map(([E,P])=>C(Ve,{active:o===E,onClick:()=>s(E),children:P},E))})]})}),C("div",{className:"float-end me-2",children:C($c,{checked:a,onChange:l,children:C("small",{children:"Skip dates with no visits"})})})]}),U(Ka,{className:"line-chart-card__body",children:[n.length>0&&w(c),n.length===0&&w(f)]})]})};const GE=({pagesCount:e,currentPage:t,setCurrentPage:n,centered:r=!0})=>{if(e<2)return null;const i=o=>()=>!hd(o)&&n(o);return U(r_,{listClassName:ge("flex-wrap mb-0 simple-paginator",{"justify-content-center":r}),children:[C(Cs,{disabled:t<=1,children:C(Es,{previous:!0,tag:"span",onClick:i(t-1)})}),P5(t,e).map((o,s)=>C(Cs,{disabled:hd(o),active:t===o,children:C(Es,{role:"link",tag:"span",onClick:i(o),children:k5(o)})},M5(o,s))),C(Cs,{disabled:t>=e,children:C(Es,{next:!0,tag:"span",onClick:i(t+1)})})]})};const Ku=20,fve=({browser:e,os:t,referer:n,country:r,city:i,...o},s)=>`${e} ${t} ${n} ${r} ${i} ${o.visitedUrl}`.toLowerCase().includes(s.toLowerCase()),dve=(e,t)=>t.filter(n=>fve(n,e)),hve=(e,t)=>gA(t,e),pve=(e,t,n)=>{const r=t?dve(t,e):[...e],i=hve(n,r),o=i.length;return{visitsGroups:qf(Ku,i),total:o}},mve=({visits:e,selectedVisits:t=[],setSelectedVisits:n,matchMedia:r=window.matchMedia,isOrphanVisits:i=!1})=>{var k,N;const o="visits-table__header-cell visits-table__sticky",s=()=>r("(max-width: 767px)").matches,[a,l]=H.useState(s()),[c,f]=H.useState(void 0),[h,p]=H.useState({}),m=H.useMemo(()=>pve(e,c,h),[c,h]),g=H.useRef(!0),[_,x]=H.useState(1),v=_*Ku,b=v-Ku,w=8+Number(i),E=A=>()=>p({field:A,dir:By(A,h.field,h.dir)}),P=A=>C(yf,{currentOrder:h,field:A,className:"visits-table__header-icon"});return H.useEffect(()=>{const A=()=>l(s());return window.addEventListener("resize",A),()=>window.removeEventListener("resize",A)},[]),H.useEffect(()=>{x(1),!g.current&&n([]),g.current=!1},[c]),C("div",{className:"table-responsive-md",children:U("table",{className:"table table-bordered table-hover table-sm visits-table",children:[U("thead",{className:"visits-table__header",children:[U("tr",{children:[C("th",{className:`${o} text-center`,onClick:()=>n(t.length0})})}),U("th",{className:`${o} text-center`,onClick:E("potentialBot"),children:[C($e,{icon:XP}),P("potentialBot")]}),U("th",{className:o,onClick:E("date"),children:["Date",P("date")]}),U("th",{className:o,onClick:E("country"),children:["Country",P("country")]}),U("th",{className:o,onClick:E("city"),children:["City",P("city")]}),U("th",{className:o,onClick:E("browser"),children:["Browser",P("browser")]}),U("th",{className:o,onClick:E("os"),children:["OS",P("os")]}),U("th",{className:o,onClick:E("referer"),children:["Referrer",P("referer")]}),i&&U("th",{className:o,onClick:E("visitedUrl"),children:["Visited URL",P("visitedUrl")]})]}),C("tr",{children:C("td",{colSpan:w,className:"p-0",children:C(Wd,{noBorder:!0,large:!1,onChange:f})})})]}),U("tbody",{children:[!((k=m.visitsGroups[_-1])!=null&&k.length)&&C("tr",{children:C("td",{colSpan:w,className:"text-center",children:"No visits found with current filtering"})}),(N=m.visitsGroups[_-1])==null?void 0:N.map((A,V)=>{const I=t.includes(A);return U("tr",{style:{cursor:"pointer"},className:ge({"table-active":I}),onClick:()=>n(I?t.filter(Y=>Y!==A):[...t,A]),children:[C("td",{className:"text-center",children:I&&C($e,{icon:Zf,className:"text-primary"})}),C("td",{className:"text-center",children:A.potentialBot&&U(We,{children:[C($e,{icon:XP,id:`botIcon${V}`}),C($r,{placement:"right",target:`botIcon${V}`,children:"Potentially a visit from a bot or crawler"})]})}),C("td",{children:C(Iv,{date:A.date})}),C("td",{children:A.country}),C("td",{children:A.city}),C("td",{children:A.browser}),C("td",{children:A.os}),C("td",{children:A.referer}),i&&C("td",{children:A.visitedUrl})]},V)})]}),m.total>Ku&&C("tfoot",{children:C("tr",{children:C("td",{colSpan:w,className:"visits-table__footer-cell visits-table__sticky",children:U("div",{className:"row",children:[C("div",{className:"col-md-6",children:C(GE,{pagesCount:Math.ceil(m.total/Ku),currentPage:_,setCurrentPage:x,centered:a})}),C("div",{className:ge("col-md-6",{"d-flex align-items-center flex-row-reverse":!a,"text-center mt-3":a}),children:U("div",{children:["Visits ",C("b",{children:yn(b+1)})," to"," ",C("b",{children:yn(hA(v,m.total))})," of"," ",C("b",{children:yn(m.total)})]})})]})})})})]})})};const gve=({modalTitle:e,activeCities:t,locations:n=[]})=>{const[r,,i,o]=Bt(),[s,a,l]=Bt(),[c,f]=H.useState([]),h=i_(),p=_=>t?_.filter(({cityName:x})=>t==null?void 0:t.includes(x)):_,m=()=>{if(!t){f(n),i();return}l()},g=_=>()=>{f(_?p(n):n),i()};return U(We,{children:[C(gt,{color:"link",className:"open-map-modal-btn__btn",id:h,onClick:m,children:C($e,{icon:AA})}),C($r,{placement:"left",target:h,children:"Show in map"}),C(Kc,{isOpen:s,toggle:a,inNavbar:!0,children:U(al,{end:!0,children:[C(Ve,{onClick:g(!1),children:"Show all locations"}),C(Ve,{onClick:g(!0),children:"Show locations in current page"})]})}),C(r8,{toggle:o,isOpen:r,title:e,locations:c})]})},ZE=e=>e.visitedUrl!==void 0,vve=e=>e.visitedUrl!==void 0,yve=Ft(LV(e=>ZE(e.visit)?"orphanVisits":"regularVisits"),e=>({orphanVisits:[],regularVisits:[],...e})),kp=(e,t)=>uA(rt(t),e),ch=({page:e,itemsPerPage:t,filter:n,dateRange:r})=>{const i=((r==null?void 0:r.startDate)&&$s(r==null?void 0:r.startDate))??void 0,o=((r==null?void 0:r.endDate)&&$s(r==null?void 0:r.endDate))??void 0,s=(n==null?void 0:n.excludeBots)||void 0;return{page:e,itemsPerPage:t,startDate:i,endDate:o,excludeBots:s}},cF=(e,t)=>!Fo(e)&&vi(e[t]),UN=e=>typeof e=="number"?e:e?parseFloat(e):0,_ve=(e,{os:t})=>{e[t]=(e[t]||0)+1},bve=(e,{browser:t})=>{e[t]=(e[t]||0)+1},wve=(e,{referer:t})=>{e[t]=(e[t]||0)+1},uF=e=>(t,n)=>{const i=cF(n,e)?n[e]:"Unknown";t[i]=(t[i]||0)+1},xve=uF("country"),Sve=uF("city"),Cve=(e,t)=>{if(!cF(t,"city")||t.city==="Unknown")return;const{city:n,latitude:r,longitude:i}=t,o=e[n]||{cityName:n,count:0,latLong:[UN(r),UN(i)]};o.count+=1,e[n]=o},Eve=(e,t)=>{if(!vve(t))return;const{visitedUrl:n}=t;e[n]=(e[n]||0)+1},fF=e=>e.reduce((t,n)=>(_ve(t.os,n),bve(t.browsers,n),wve(t.referrers,n),xve(t.countries,n),Sve(t.cities,n),Cve(t.citiesForMap,n),Eve(t.visitedUrls,n),t),{os:{},browsers:{},referrers:{},countries:{},cities:{},citiesForMap:{},visitedUrls:{}}),dF=Od(e=>{const{userAgent:t,date:n,referer:r,visitLocation:i,potentialBot:o}=e,s={date:n,potentialBot:o,...eve(t),referer:tve(r),country:(i==null?void 0:i.countryName)||"Unknown",city:(i==null?void 0:i.cityName)||"Unknown",latitude:i==null?void 0:i.latitude,longitude:i==null?void 0:i.longitude};return ZE(e)?{...s,type:e.type,visitedUrl:e.visitedUrl}:s}),Tve=Object.freeze(Object.defineProperty({__proto__:null,processStatsFromVisits:fF,normalizeVisits:dF},Symbol.toStringTag,{value:"Module"})),Ove=({onChange:e,selected:t={},className:n,isOrphanVisits:r})=>{const{orphanVisitsType:i,excludeBots:o=!1}=t,s=l=>({active:i===l,onClick:()=>e({...t,orphanVisitsType:l===(t==null?void 0:t.orphanVisitsType)?void 0:l})});return U(Xs,{text:"Filters",dropdownClassName:n,className:"me-3",right:!0,minWidth:250,children:[C(Ve,{header:!0,children:"Bots:"}),C(Ve,{active:o,onClick:()=>e({...t,excludeBots:!(t!=null&&t.excludeBots)}),children:"Exclude potential bots"}),r&&U(We,{children:[C(Ve,{divider:!0}),C(Ve,{header:!0,children:"Orphan visits type:"}),C(Ve,{...s("base_url"),children:"Base URL"}),C(Ve,{...s("invalid_short_url"),children:"Invalid short URL"}),C(Ve,{...s("regular_404"),children:"Regular 404"})]}),C(Ve,{divider:!0}),C(Ve,{disabled:!vi(t),onClick:()=>e({excludeBots:!1,orphanVisitsType:void 0}),children:C("i",{children:"Clear filters"})})]})};const Pve=({chart:e})=>{const{config:t}=e,{labels:n=[],datasets:r=[]}=t.data??{},[{backgroundColor:i}]=r,{defaultColor:o}=t.options??{};return C("ul",{className:"doughnut-chart-legend",children:n.map((s,a)=>U("li",{className:"doughnut-chart-legend__item d-flex",children:[C("div",{className:"doughnut-chart-legend__item-color",style:{backgroundColor:i[a]??o}}),C("small",{className:"doughnut-chart-legend__item-text flex-fill",children:s})]},s))})},kve=e=>[{data:e,backgroundColor:["#97BBCD","#F7464A","#46BFBD","#FDB45C","#949FB1","#57A773","#414066","#08B2E3","#B6C454","#DCDCDC","#463730"],borderColor:see()?oee:iee,borderWidth:2}],Mve=(e,t)=>({labels:e,datasets:kve(t)}),Rve=H.memo(({stats:e})=>{const[t,n]=H.useState(),r=eo(e),i=Yc(e),o={plugins:{legend:{display:!1},tooltip:{intersect:!0,callbacks:{label:nve}}}},s=Mve(r,i);return U("div",{className:"row",children:[C("div",{className:"col-sm-12 col-md-7",children:C(Yge,{height:300,data:s,options:o,ref:a=>{n(a??void 0)}})}),C("div",{className:"col-sm-12 col-md-5",children:t&&C(Pve,{chart:t})})]})});const hF=({title:e,footer:t,children:n})=>U(xr,{role:"document",children:[C(Xa,{className:"chart-card__header",children:typeof e=="function"?e():e}),C(Ka,{children:n}),t&&C(OC,{className:"chart-card__footer--sticky",children:t})]}),VN=({title:e,stats:t})=>C(hF,{title:e,children:C(Rve,{stats:t})}),Nve=({toggleClassName:e,ranges:t,value:n,setValue:r})=>U(jd,{children:[C(Xc,{caret:!0,color:"link",className:e,children:"Paginate"}),U(al,{end:!0,children:[t.map(i=>U(Ve,{active:i===n,onClick:()=>r(i),children:[C("b",{children:i})," items per page"]},i)),C(Ve,{divider:!0}),C(Ve,{disabled:n===1/0,onClick:()=>r(1/0),children:C("i",{children:"Clear pagination"})})]})]}),Lve=e=>e.startsWith("hidden")?"":e,Dve=e=>!!e&&Object.keys(e).length>0,Ave=e=>e.length>20?e.length*10:void 0,Ive=(e,t,n)=>{const r={data:e,label:n?"Non-selected":"Visits",backgroundColor:nee,borderColor:zC,borderWidth:2};return t.every(o=>o===0)?[r]:[r,{label:n??"Selected",data:t,backgroundColor:ree,borderColor:a6,borderWidth:2}]},Fve=(e,t,n,r)=>({labels:e,datasets:Ive(t,n,r)}),$ve=(e,[t],n)=>{!n||!t||n(e[t.index])},jve=({stats:e,highlightedStats:t,highlightedLabel:n,onClick:r,max:i})=>{const o=eo(e).map(Lve),s=Yc(Dve(t)?eo(t).reduce((g,_)=>(g[_]&&(g[_]-=t[_]),g),{...e}):e),a=YE(t??{},o),l=H.useRef(null),c=H.useRef(null),f={plugins:{legend:{display:!1},tooltip:{mode:"y",filter:({label:g})=>g!=="",callbacks:{label:lF}}},scales:{x:{beginAtZero:!0,stacked:!0,max:i,ticks:{precision:0,callback:yn}},y:{stacked:!0}},onHover:aF,indexAxis:"y"},h=Fve(o,s,a,n),p=Ave(o),m=(g,_)=>C(Wge,{ref:_,data:h,options:f,height:p,onClick:x=>$ve(o,oF(_.current,x),r)},`${p}_${g}`);return U(We,{children:[t!==void 0&&m("with_stats",l),t===void 0&&m("without_stats",c)]})},Bve=e=>Sg(e)==="String"?nH(e):e,HN=([e])=>e,WN=([,e])=>e,Mp=({stats:e,highlightedStats:t,title:n,sortingItems:r,extraHeaderContent:i,withPagination:o=!0,...s})=>{const[a,l]=H.useState({}),[c,f]=H.useState(1),[h,p]=H.useState(50),m=(N,A)=>{const V=Eg(N),I=a.field?JV(Ft(a.field===Object.keys(A)[0]?HN:WN,Bve),V):V;return!a.dir||a.dir==="ASC"?I:W1(I)},g=N=>{const A=N[c-1];if(c[`hidden_${I}`,0])]},_=N=>C(GE,{currentPage:c,pagesCount:N,setCurrentPage:f}),x=(N,A,V)=>{const I=m(N,A),Y=I.map(HN),q=V&&Eg({...mA(Y,Y.map(()=>0)),...V});if(I.length<=h)return{currentPageStats:zu(I),currentPageHighlightedStats:q&&zu(q)};const X=qf(h,I),Z=q&&qf(h,q);return{currentPageStats:zu(g(X)),currentPageHighlightedStats:Z&&zu(g(Z)),pagination:_(X.length),max:jce(Math.max(...I.map(WN)))}},{currentPageStats:v,currentPageHighlightedStats:b,pagination:w,max:E}=x(e,r,t&&Object.keys(t).length>0?t:void 0),P=Object.keys(v);return C(hF,{title:()=>U(We,{children:[n,C("div",{className:"float-end",children:C(Gd,{isButton:!1,right:!0,items:r,order:a,onChange:(N,A)=>{l({field:N,dir:A}),f(1)}})}),o&&Object.keys(e).length>50&&C("div",{className:"float-end",children:C(Nve,{toggleClassName:"btn-sm p-0 me-3",ranges:[50,100,200,500],value:h,setValue:N=>{p(N),f(1)}})}),i&&C("div",{className:"float-end",children:i(w?P:void 0)})]}),footer:w,children:C(jve,{stats:v,highlightedStats:b,max:E,...s})})},zve=()=>{const e=Io(),{search:t}=Wn(),{filtering:n,domain:r}=H.useMemo(Ft(()=>Gc(t),({startDate:o,endDate:s,orphanVisitsType:a,excludeBots:l,domain:c})=>({domain:c,filtering:{dateRange:o!=null||s!=null?l5(o,s):void 0,visitsFilter:{orphanVisitsType:a,excludeBots:Fo(l)?void 0:l==="true"}}})),[t]);return[n,o=>{const{dateRange:s,visitsFilter:a}=dA(n,o),l={startDate:(s==null?void 0:s.startDate)&&$s(s.startDate)||"",endDate:(s==null?void 0:s.endDate)&&$s(s.endDate)||"",excludeBots:a.excludeBots?"true":"false",orphanVisitsType:a.orphanVisitsType,domain:r},c=Md(l),f=Hn(c)?"":`?${c}`;e(f,{replace:!0,relative:"route"})}]},Ll={byTime:{title:"By time",subPath:"by-time",icon:_Y},byContext:{title:"By context",subPath:"by-context",icon:qS},byLocation:{title:"By location",subPath:"by-location",icon:AA},list:{title:"List",subPath:"list",icon:DA}};let Rp;const uh=({children:e,visitsInfo:t,getVisits:n,cancelGetVisits:r,settings:i,exportCsv:o,isOrphanVisits:s=!1})=>{var W;const{visits:a,loading:l,loadingLarge:c,error:f,errorData:h,progress:p,fallbackInterval:m}=t,[{dateRange:g,visitsFilter:_},x]=zve(),v=Ft(({startDate:G,endDate:re})=>({dateRange:{startDate:G??void 0,endDate:re??void 0}}),x),b=H.useRef(g??m??((W=i.visits)==null?void 0:W.defaultInterval)??"last30Days"),[w,E]=H.useState([]),[P,k]=H.useState(),N=H.useRef(!0),{search:A}=Wn(),V=G=>G?`${G}${A}`:A,I=H.useMemo(()=>dF(a),[a]),{os:Y,browsers:q,referrers:X,countries:Z,cities:J,citiesForMap:oe,visitedUrls:ce}=H.useMemo(()=>fF(I),[I]),K=Yc(oe),$=H.useMemo(()=>{var G;return N.current?{..._,excludeBots:_.excludeBots??((G=i.visits)==null?void 0:G.excludeBots)}:_},[_]),D=G=>{Rp=void 0,E(G)},B=G=>re=>{const le=`${G}_${re}`;Rp===le?(E([]),k(void 0),Rp=void 0):(E(I.filter(GV(G,re))),k(re),Rp=le)};H.useEffect(()=>r,[]),H.useEffect(()=>{const G=N.current?g??dle(b.current):g;n({dateRange:G,filter:$},N.current),N.current=!1},[g,_]),H.useEffect(()=>{var G;m&&b.current===(((G=i.visits)==null?void 0:G.defaultInterval)??"last30Days")&&(b.current=m)},[m]);const ne=()=>c?U(So,{loading:!0,children:["This is going to take a while... :S",C(LC,{value:p,striped:p===100,className:"mt-3"})]}):l?C(So,{loading:!0}):f?C(Rr,{type:"error",children:C(Do,{errorData:h,fallbackMessage:"An error occurred while loading visits :("})}):Hn(a)?C(So,{children:"There are no visits matching current filter"}):U(We,{children:[C(i8,{fill:!0,children:Object.values(Ll).map(({title:G,icon:re,subPath:le},me)=>U(bf,{to:V(le),replace:!0,children:[C($e,{icon:re}),C("span",{className:"ms-2 d-none d-sm-inline",children:G})]},me))}),C(cr,{children:U(Ly,{children:[C(_t,{path:Ll.byTime.subPath,element:C("div",{className:"col-12 mt-3",children:C(uve,{title:"Visits during time",visits:I,highlightedVisits:w,highlightedLabel:P,setSelectedVisits:D})})}),C(_t,{path:Ll.byContext.subPath,element:U(We,{children:[C("div",{className:ge("mt-3 col-lg-6",{"col-xl-4":!s}),children:C(VN,{title:"Operating systems",stats:Y})}),C("div",{className:ge("mt-3 col-lg-6",{"col-xl-4":!s}),children:C(VN,{title:"Browsers",stats:q})}),C("div",{className:ge("mt-3",{"col-xl-4":!s,"col-lg-6":s}),children:C(Mp,{title:"Referrers",stats:X,withPagination:!1,highlightedStats:kp(w,"referer"),highlightedLabel:P,sortingItems:{name:"Referrer name",amount:"Visits amount"},onClick:B("referer")})}),s&&C("div",{className:"mt-3 col-lg-6",children:C(Mp,{title:"Visited URLs",stats:ce,highlightedLabel:P,highlightedStats:kp(w,"visitedUrl"),sortingItems:{visitedUrl:"Visited URL",amount:"Visits amount"},onClick:B("visitedUrl")})})]})}),C(_t,{path:Ll.byLocation.subPath,element:U(We,{children:[C("div",{className:"col-lg-6 mt-3",children:C(Mp,{title:"Countries",stats:Z,highlightedStats:kp(w,"country"),highlightedLabel:P,sortingItems:{name:"Country name",amount:"Visits amount"},onClick:B("country")})}),C("div",{className:"col-lg-6 mt-3",children:C(Mp,{title:"Cities",stats:J,highlightedStats:kp(w,"city"),highlightedLabel:P,extraHeaderContent:G=>K.length>0&&C(gve,{modalTitle:"Cities",locations:K,activeCities:G}),sortingItems:{name:"City name",amount:"Visits amount"},onClick:B("city")})})]})}),C(_t,{path:Ll.list.subPath,element:C("div",{className:"col-12",children:C(mve,{visits:I,selectedVisits:w,setSelectedVisits:D,isOrphanVisits:s})})}),C(_t,{path:"*",element:C(CS,{replace:!0,to:V(Ll.byTime.subPath)})})]})})]});return U(We,{children:[e,C("section",{className:"mt-3",children:U("div",{className:"row flex-md-row-reverse",children:[C("div",{className:"col-lg-7 col-xl-6",children:U("div",{className:"d-md-flex",children:[C("div",{className:"flex-fill",children:C(T5,{updatable:!0,disabled:l,initialDateRange:b.current,defaultText:"All visits",onDatesChange:v})}),C(Ove,{className:"ms-0 ms-md-2 mt-3 mt-md-0",isOrphanVisits:s,selected:$,onChange:G=>x({visitsFilter:G})})]})}),a.length>0&&C("div",{className:"col-lg-5 col-xl-6 mt-3 mt-lg-0",children:U("div",{className:"d-flex",children:[C(q5,{className:"btn-md-block",amount:I.length,onClick:()=>o(I)}),U(gt,{outline:!0,disabled:w.length===0,className:"btn-md-block ms-2",onClick:()=>D([]),children:["Clear selection ",w.length>0&&U(We,{children:["(",yn(w.length),")"]})]})]})})]})}),C("section",{className:"mt-3",children:ne()})]})},Uve=({exportVisits:e})=>Qs(({shortUrlVisits:t,shortUrlDetail:n,getShortUrlVisits:r,getShortUrlDetail:i,cancelGetShortUrlVisits:o,settings:s})=>{const{shortCode:a=""}=Ws(),{search:l}=Wn(),c=Ks(),{domain:f}=Gc(l),h=(m,g)=>r({shortCode:Um(a),query:{...ch(m),domain:f},doIntervalFallback:g}),p=m=>{var g;return e(`short-url_${(g=n.shortUrl)==null?void 0:g.shortUrl.replace(/https?:\/\//g,"")}_visits.csv`,m)};return H.useEffect(()=>{i({shortCode:Um(a),domain:f})},[]),C(uh,{getVisits:h,cancelGetVisits:o,visitsInfo:t,settings:s,exportCsv:p,children:C(Xfe,{shortUrlDetail:n,shortUrlVisits:t,goBack:c})})},(t,n)=>n.shortCode?[Jr.shortUrlVisits(Um(n.shortCode))]:[]),Vve=({tagVisits:e,goBack:t,colorGenerator:n})=>{const{visits:r,tag:i}=e;return C(eh,{title:U("span",{className:"d-flex align-items-center justify-content-center",children:[C("span",{className:"me-2",children:"Visits for"}),C(bE,{text:i,colorGenerator:n})]}),goBack:t,visits:r})},Hve=(e,{exportVisits:t})=>Qs(({getTagVisits:n,tagVisits:r,cancelGetTagVisits:i,settings:o})=>{const s=Ks(),{tag:a=""}=Ws();return C(uh,{getVisits:(f,h)=>n({tag:a,query:ch(f),doIntervalFallback:h}),cancelGetVisits:i,visitsInfo:r,settings:o,exportCsv:f=>t(`tag_${a}_visits.csv`,f),children:C(Vve,{tagVisits:r,goBack:s,colorGenerator:e})})},()=>[Jr.visits]),Wve=({exportVisits:e})=>Qs(({getOrphanVisits:t,orphanVisits:n,cancelGetOrphanVisits:r,settings:i})=>{const o=Ks();return C(uh,{getVisits:(l,c)=>{var f;return t({query:ch(l),orphanVisitsType:(f=l.filter)==null?void 0:f.orphanVisitsType,doIntervalFallback:c})},cancelGetVisits:r,visitsInfo:n,settings:i,exportCsv:l=>e("orphan_visits.csv",l),isOrphanVisits:!0,children:C(eh,{title:"Orphan visits",goBack:o,visits:n.visits})})},()=>[Jr.orphanVisits]),Yve=({exportVisits:e})=>Qs(({getNonOrphanVisits:t,nonOrphanVisits:n,cancelGetNonOrphanVisits:r,settings:i})=>{const o=Ks();return C(uh,{getVisits:(l,c)=>t({query:ch(l),doIntervalFallback:c}),cancelGetVisits:r,visitsInfo:n,settings:i,exportCsv:l=>e("non_orphan_visits.csv",l),children:C(eh,{title:"Non-orphan visits",goBack:o,visits:n.visits})})},()=>[Jr.visits]),pF="shlink/shortUrlVisits",qve={visits:[],shortCode:"",domain:void 0,loading:!1,loadingLarge:!1,error:!1,cancelLoad:!1,progress:0},Gve=e=>Kd({typePrefix:`${pF}/getShortUrlVisits`,createLoaders:({shortCode:t,query:n={},doIntervalFallback:r=!1},i)=>{const{getShortUrlVisits:o}=e(i),s=async(l,c)=>o(t,{...n,page:l,itemsPerPage:c}),a=Xd(r,async l=>o(t,{...l,domain:n.domain}));return[s,a]},getExtraFulfilledPayload:({shortCode:t,query:n={}})=>({shortCode:t,query:n,domain:n.domain}),shouldCancel:t=>t().shortUrlVisits.cancelLoad}),Zve=e=>Qd({name:pF,initialState:qve,asyncThunkCreator:e,filterCreatedVisits:({shortCode:t,domain:n,query:r={}},i)=>{const{startDate:o,endDate:s}=r;return i.filter(({shortUrl:a,visit:l})=>a&&_f(a,t,n)&&Yd(l.date,o,s))}}),mF="shlink/tagVisits",Kve={visits:[],tag:"",loading:!1,loadingLarge:!1,error:!1,cancelLoad:!1,progress:0},Xve=e=>Kd({typePrefix:`${mF}/getTagVisits`,createLoaders:({tag:t,query:n={},doIntervalFallback:r=!1},i)=>{const{getTagVisits:o}=e(i),s=async(l,c)=>o(t,{...n,page:l,itemsPerPage:c}),a=Xd(r,async l=>o(t,l));return[s,a]},getExtraFulfilledPayload:({tag:t,query:n={}})=>({tag:t,query:n}),shouldCancel:t=>t().tagVisits.cancelLoad}),Qve=e=>Qd({name:mF,initialState:Kve,asyncThunkCreator:e,filterCreatedVisits:({tag:t,query:n={}},r)=>{const{startDate:i,endDate:o}=n;return r.filter(({shortUrl:s,visit:a})=>(s==null?void 0:s.tags.includes(t))&&Yd(a.date,i,o))}}),gF="shlink/orphanVisits",Jve={visits:[],loading:!1,loadingLarge:!1,error:!1,cancelLoad:!1,progress:0},eye=(e,t)=>!t||t===e.type,tye=e=>Kd({typePrefix:`${gF}/getOrphanVisits`,createLoaders:({orphanVisitsType:t,query:n={},doIntervalFallback:r=!1},i)=>{const{getOrphanVisits:o}=e(i),s=async(l,c)=>o({...n,page:l,itemsPerPage:c}).then(f=>{const h=f.data.filter(p=>ZE(p)&&eye(p,t));return{...f,data:h}}),a=Xd(r,o);return[s,a]},getExtraFulfilledPayload:({query:t={}})=>({query:t}),shouldCancel:t=>t().orphanVisits.cancelLoad}),nye=e=>Qd({name:gF,initialState:Jve,asyncThunkCreator:e,filterCreatedVisits:({query:t={}},n)=>{const{startDate:r,endDate:i}=t;return n.filter(({visit:o,shortUrl:s})=>!s&&Yd(o.date,r,i))}}),vF="shlink/orphanVisits",rye={visits:[],loading:!1,loadingLarge:!1,error:!1,cancelLoad:!1,progress:0},iye=e=>Kd({typePrefix:`${vF}/getNonOrphanVisits`,createLoaders:({query:t={},doIntervalFallback:n=!1},r)=>{const{getNonOrphanVisits:i}=e(r),o=async(a,l)=>i({...t,page:a,itemsPerPage:l}),s=Xd(n,i);return[o,s]},getExtraFulfilledPayload:({query:t={}})=>({query:t}),shouldCancel:t=>t().orphanVisits.cancelLoad}),oye=e=>Qd({name:vF,initialState:rye,asyncThunkCreator:e,filterCreatedVisits:({query:t={}},n)=>{const{startDate:r,endDate:i}=t;return n.filter(({visit:o})=>Yd(o.date,r,i))}}),yF="shlink/visitsOverview",Np={visitsCount:0,orphanVisitsCount:0,loading:!1,error:!1},sye=e=>nr(`${yF}/loadVisitsOverview`,(t,{getState:n})=>e(n).getVisitsOverview()),aye=e=>Yn({name:yF,initialState:Np,reducers:{},extraReducers:t=>{t.addCase(e.pending,()=>({...Np,loading:!0})),t.addCase(e.rejected,()=>({...Np,error:!0})),t.addCase(e.fulfilled,(n,{payload:r})=>({...Np,...r})),t.addCase(Zd,({visitsCount:n,orphanVisitsCount:r=0,...i},{payload:o})=>{const{createdVisits:s}=o,{regularVisits:a,orphanVisits:l}=yve(s);return{...i,visitsCount:n+a.length,orphanVisitsCount:r+l.length}})}}),lye=({exportVisits:e})=>Qs(({getDomainVisits:t,domainVisits:n,cancelGetDomainVisits:r,settings:i})=>{const o=Ks(),{domain:s=""}=Ws(),[a,l=a]=s.split("_");return C(uh,{getVisits:(h,p)=>t({domain:l,query:ch(h),doIntervalFallback:p}),cancelGetVisits:r,visitsInfo:n,settings:i,exportCsv:h=>e(`domain_${a}_visits.csv`,h),children:C(eh,{goBack:o,visits:n.visits,title:`"${a}" visits`})})},()=>[Jr.visits]),cye=(e,t)=>{e.serviceFactory("MapModal",()=>r8),e.serviceFactory("ShortUrlVisits",Uve,"ReportExporter"),e.decorator("ShortUrlVisits",t(["shortUrlVisits","shortUrlDetail","mercureInfo","settings"],["getShortUrlVisits","getShortUrlDetail","cancelGetShortUrlVisits","createNewVisits","loadMercureInfo"])),e.serviceFactory("TagVisits",Hve,"ColorGenerator","ReportExporter"),e.decorator("TagVisits",t(["tagVisits","mercureInfo","settings"],["getTagVisits","cancelGetTagVisits","createNewVisits","loadMercureInfo"])),e.serviceFactory("DomainVisits",lye,"ReportExporter"),e.decorator("DomainVisits",t(["domainVisits","mercureInfo","settings"],["getDomainVisits","cancelGetDomainVisits","createNewVisits","loadMercureInfo"])),e.serviceFactory("OrphanVisits",Wve,"ReportExporter"),e.decorator("OrphanVisits",t(["orphanVisits","mercureInfo","settings"],["getOrphanVisits","cancelGetOrphanVisits","createNewVisits","loadMercureInfo"])),e.serviceFactory("NonOrphanVisits",Yve,"ReportExporter"),e.decorator("NonOrphanVisits",t(["nonOrphanVisits","mercureInfo","settings"],["getNonOrphanVisits","cancelGetNonOrphanVisits","createNewVisits","loadMercureInfo"])),e.serviceFactory("VisitsParser",()=>Tve),e.serviceFactory("getShortUrlVisitsCreator",Gve,"buildShlinkApiClient"),e.serviceFactory("getShortUrlVisits",rt("asyncThunk"),"getShortUrlVisitsCreator"),e.serviceFactory("cancelGetShortUrlVisits",rt("cancelGetVisits"),"shortUrlVisitsReducerCreator"),e.serviceFactory("getTagVisitsCreator",Xve,"buildShlinkApiClient"),e.serviceFactory("getTagVisits",rt("asyncThunk"),"getTagVisitsCreator"),e.serviceFactory("cancelGetTagVisits",rt("cancelGetVisits"),"tagVisitsReducerCreator"),e.serviceFactory("getDomainVisitsCreator",lue,"buildShlinkApiClient"),e.serviceFactory("getDomainVisits",rt("asyncThunk"),"getDomainVisitsCreator"),e.serviceFactory("cancelGetDomainVisits",rt("cancelGetVisits"),"domainVisitsReducerCreator"),e.serviceFactory("getOrphanVisitsCreator",tye,"buildShlinkApiClient"),e.serviceFactory("getOrphanVisits",rt("asyncThunk"),"getOrphanVisitsCreator"),e.serviceFactory("cancelGetOrphanVisits",rt("cancelGetVisits"),"orphanVisitsReducerCreator"),e.serviceFactory("getNonOrphanVisitsCreator",iye,"buildShlinkApiClient"),e.serviceFactory("getNonOrphanVisits",rt("asyncThunk"),"getNonOrphanVisitsCreator"),e.serviceFactory("cancelGetNonOrphanVisits",rt("cancelGetVisits"),"nonOrphanVisitsReducerCreator"),e.serviceFactory("createNewVisits",()=>Zd),e.serviceFactory("loadVisitsOverview",sye,"buildShlinkApiClient"),e.serviceFactory("visitsOverviewReducerCreator",aye,"loadVisitsOverview"),e.serviceFactory("visitsOverviewReducer",rt("reducer"),"visitsOverviewReducerCreator"),e.serviceFactory("domainVisitsReducerCreator",cue,"getDomainVisitsCreator"),e.serviceFactory("domainVisitsReducer",rt("reducer"),"domainVisitsReducerCreator"),e.serviceFactory("nonOrphanVisitsReducerCreator",oye,"getNonOrphanVisitsCreator"),e.serviceFactory("nonOrphanVisitsReducer",rt("reducer"),"nonOrphanVisitsReducerCreator"),e.serviceFactory("orphanVisitsReducerCreator",nye,"getOrphanVisitsCreator"),e.serviceFactory("orphanVisitsReducer",rt("reducer"),"orphanVisitsReducerCreator"),e.serviceFactory("shortUrlVisitsReducerCreator",Zve,"getShortUrlVisitsCreator"),e.serviceFactory("shortUrlVisitsReducer",rt("reducer"),"shortUrlVisitsReducerCreator"),e.serviceFactory("tagVisitsReducerCreator",Qve,"getTagVisitsCreator"),e.serviceFactory("tagVisitsReducer",rt("reducer"),"tagVisitsReducerCreator")};function uye(e){return z.createElement("button",{type:"button",className:e.classNames.selectedTag,title:e.removeButtonText,onClick:e.onDelete},z.createElement("span",{className:e.classNames.selectedTagName},e.tag.name))}const fye={position:"absolute",width:0,height:0,visibility:"hidden",overflow:"scroll",whiteSpace:"pre"},dye=["fontSize","fontFamily","fontWeight","fontStyle","letterSpacing","textTransform"];class hye extends z.Component{constructor(t){super(t),this.state={inputWidth:null},this.input=z.createRef(),this.sizer=z.createRef()}componentDidMount(){this.props.autoresize&&(this.copyInputStyles(),this.updateInputWidth())}componentDidUpdate({query:t,placeholderText:n}){(t!==this.props.query||n!==this.props.placeholderText)&&this.updateInputWidth()}copyInputStyles(){const t=window.getComputedStyle(this.input.current);dye.forEach(n=>{this.sizer.current.style[n]=t[n]})}updateInputWidth(){let t;this.props.autoresize&&(t=Math.ceil(this.sizer.current.scrollWidth)+2),t!==this.state.inputWidth&&this.setState({inputWidth:t})}render(){const{id:t,query:n,ariaLabelText:r,placeholderText:i,expanded:o,classNames:s,inputAttributes:a,inputEventHandlers:l,index:c}=this.props;return z.createElement("div",{className:s.searchWrapper},z.createElement("input",Object.assign({},a,l,{ref:this.input,value:n,placeholder:i,className:s.searchInput,role:"combobox","aria-autocomplete":"list","aria-label":r||i,"aria-owns":t,"aria-activedescendant":c>-1?`${t}-${c}`:null,"aria-expanded":o,style:{width:this.state.inputWidth}})),z.createElement("div",{ref:this.sizer,style:fye},n||i))}}function KE(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function pye(e){return new RegExp(KE(e),"gi")}function mye(e){return new RegExp(`(?:^|\\s)${KE(e)}`,"i")}function gye(e){return new RegExp(`^${KE(e)}$`,"i")}function vye(e,t){const n=pye(t);return e.replace(n,"$&")}function yye({item:e,query:t}){return z.createElement("span",{dangerouslySetInnerHTML:{__html:vye(e.name,t)}})}function _ye(e){const t=e.suggestionComponent||yye,n=e.options.map((r,i)=>{const o=`${e.id}-${i}`,s=[];return e.index===i&&s.push(e.classNames.suggestionActive),r.disabled&&s.push(e.classNames.suggestionDisabled),z.createElement("li",{id:o,key:o,role:"option",className:s.join(" "),"aria-disabled":Boolean(r.disabled),onMouseDown:a=>a.preventDefault(),onClick:()=>e.addTag(r)},r.prefix?z.createElement("span",{className:e.classNames.suggestionPrefix},r.prefix," "):null,r.disableMarkIt?r.name:z.createElement(t,{item:r,query:e.query}))});return z.createElement("div",{className:e.classNames.suggestions},z.createElement("ul",{role:"listbox",id:e.id},n))}function bye(e,t){const n=e.querySelectorAll("a,button,input"),r=Array.prototype.findIndex.call(n,o=>o===t),i=n[r-1]||n[r+1];i&&i.focus()}const Ea={ENTER:"Enter",TAB:"Tab",BACKSPACE:"Backspace",UP_ARROW:"ArrowUp",UP_ARROW_COMPAT:"Up",DOWN_ARROW:"ArrowDown",DOWN_ARROW_COMPAT:"Down"},_F={root:"react-tags",rootFocused:"is-focused",selected:"react-tags__selected",selectedTag:"react-tags__selected-tag",selectedTagName:"react-tags__selected-tag-name",search:"react-tags__search",searchWrapper:"react-tags__search-wrapper",searchInput:"react-tags__search-input",suggestions:"react-tags__suggestions",suggestionActive:"is-active",suggestionDisabled:"is-disabled",suggestionPrefix:"react-tags__suggestion-prefix"};function bF(e,t){return e.findIndex(n=>gye(t).test(n.name))}function Db(){if(this.state.query.length>=this.props.minQueryLength){const e=bF(this.state.options,this.state.query),t=this.state.index===-1?e:this.state.index,n=t>-1?this.state.options[t]:null;n?this.addTag(n):this.props.allowNew&&this.addTag({name:this.state.query})}}function wye(e){e.preventDefault();const t=this.state.options.length-1;this.setState({index:this.state.index<=0?t:this.state.index-1})}function xye(e){e.preventDefault();const t=this.state.options.length-1;this.setState({index:this.state.index>=t?0:this.state.index+1})}function Sye(){this.state.query.length||this.deleteTag(this.props.tags.length-1)}function Cye(e,t){return mye(t).test(e.name)}function Eye(e,t){let n;return e.suggestionsTransform?n=e.suggestionsTransform(t.query,e.suggestions):n=e.suggestions.filter(r=>e.suggestionsFilter(r,t.query)),n=n.slice(0,e.maxSuggestionsLength),e.allowNew&&e.newTagText&&bF(n,t.query)===-1?n.push({id:0,name:t.query,prefix:e.newTagText,disableMarkIt:!0}):e.noSuggestionsText&&n.length===0&&n.push({id:0,name:e.noSuggestionsText,disabled:!0,disableMarkIt:!0}),n}class XE extends z.Component{constructor(t){super(t),this.state={query:"",focused:!1,index:-1},this.inputEventHandlers={onChange:()=>{},onBlur:this.onBlur.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this),onKeyDown:this.onKeyDown.bind(this)},this.container=z.createRef(),this.input=z.createRef()}onInput(t){const n=t.target.value;this.props.onInput&&this.props.onInput(n),n.length===this.state.query.length+1&&this.props.delimiters.indexOf(n.slice(-1))>-1?Db.call(this):n!==this.state.query&&this.setState({query:n})}onKeyDown(t){this.props.delimiters.indexOf(t.key)>-1&&((this.state.query||this.state.index>-1)&&t.preventDefault(),Db.call(this)),t.key===Ea.BACKSPACE&&this.props.allowBackspace&&Sye.call(this,t),(t.key===Ea.UP_ARROW||t.key===Ea.UP_ARROW_COMPAT)&&wye.call(this,t),(t.key===Ea.DOWN_ARROW||t.key===Ea.DOWN_ARROW_COMPAT)&&xye.call(this,t)}onClick(t){document.activeElement!==t.target&&this.focusInput()}onBlur(){this.setState({focused:!1,index:-1}),this.props.onBlur&&this.props.onBlur(),this.props.addOnBlur&&Db.call(this)}onFocus(){this.setState({focused:!0}),this.props.onFocus&&this.props.onFocus()}onDeleteTag(t,n){this.container.current&&bye(this.container.current,n.currentTarget),this.deleteTag(t)}addTag(t){t.disabled||typeof this.props.onValidate=="function"&&!this.props.onValidate(t)||(this.props.onAddition({id:t.id,name:t.name}),this.clearInput())}deleteTag(t){this.props.onDelete(t)}clearInput(){this.setState({query:"",index:-1})}clearSelectedIndex(){this.setState({index:-1})}focusInput(){this.input.current&&this.input.current.input.current&&this.input.current.input.current.focus()}render(){const t=this.props.tagComponent||uye,n=this.state.focused&&this.state.query.length>=this.props.minQueryLength,r=Object.assign({},_F,this.props.classNames),i=[r.root];return this.state.focused&&i.push(r.rootFocused),z.createElement("div",{ref:this.container,className:i.join(" "),onClick:this.onClick.bind(this)},z.createElement("div",{className:r.selected,"aria-relevant":"additions removals","aria-live":"polite"},this.props.tags.map((o,s)=>z.createElement(t,{key:s,tag:o,removeButtonText:this.props.removeButtonText,classNames:r,onDelete:this.onDeleteTag.bind(this,s)}))),z.createElement("div",{className:r.search},z.createElement(hye,Object.assign({},this.state,{id:this.props.id,ref:this.input,classNames:r,inputAttributes:this.props.inputAttributes,inputEventHandlers:this.inputEventHandlers,autoresize:this.props.autoresize,expanded:n,placeholderText:this.props.placeholderText,ariaLabelText:this.props.ariaLabelText})),n&&this.state.options.length?z.createElement(_ye,Object.assign({},this.state,{id:this.props.id,classNames:r,expanded:n,addTag:this.addTag.bind(this),suggestionComponent:this.props.suggestionComponent})):null))}static getDerivedStateFromProps(t,n){return n.prevQuery!==n.query||n.prevSuggestions!==t.suggestions?{prevQuery:n.query,prevSuggestions:t.suggestions,options:Eye(t,n)}:null}}XE.defaultProps={id:"ReactTags",tags:[],placeholderText:"Add new tag",removeButtonText:"Click to remove tag",noSuggestionsText:null,newTagText:null,suggestions:[],suggestionsFilter:Cye,suggestionsTransform:null,autoresize:!0,classNames:_F,delimiters:[Ea.TAB,Ea.ENTER],minQueryLength:2,maxSuggestionsLength:6,allowNew:!1,allowBackspace:!0,addOnBlur:!1,tagComponent:null,suggestionComponent:null,inputAttributes:{}};XE.propTypes={id:S.string,tags:S.arrayOf(S.object),placeholderText:S.string,ariaLabelText:S.string,removeButtonText:S.string,noSuggestionsText:S.string,newTagText:S.string,suggestions:S.arrayOf(S.object),suggestionsFilter:S.func,suggestionsTransform:S.func,autoresize:S.bool,delimiters:S.arrayOf(S.string),onDelete:S.func.isRequired,onAddition:S.func.isRequired,onInput:S.func,onFocus:S.func,onBlur:S.func,onValidate:S.func,minQueryLength:S.number,maxSuggestionsLength:S.number,classNames:S.object,allowNew:S.bool,allowBackspace:S.bool,addOnBlur:S.bool,tagComponent:S.oneOfType([S.func,S.element]),suggestionComponent:S.oneOfType([S.func,S.element]),inputAttributes:S.object};const wF=({tag:e,colorGenerator:t})=>C("div",{style:{backgroundColor:t.getColorForKey(e)},className:"tag-bullet"}),YN=e=>({id:e,name:e}),Tye=e=>({selectedTags:t,onChange:n,placeholder:r,listTags:i,tagsList:o,settings:s,allowNew:a=!0})=>{var h;H.useEffect(()=>{i()},[]);const l=((h=s.shortUrlCreation)==null?void 0:h.tagFilteringMode)??"startsWith",c=({tag:p,onDelete:m})=>C(bE,{colorGenerator:e,text:p.name,clearable:!0,className:"react-tags__tag",onClose:m}),f=({item:p})=>U(We,{children:[C(wF,{tag:`${p.name}`,colorGenerator:e}),p.name]});return C(XE,{tags:t.map(YN),tagComponent:c,suggestions:o.tags.filter(p=>!t.includes(p)).map(YN),suggestionComponent:f,allowNew:a,addOnBlur:!0,placeholderText:r??"Add tags to the URL",minQueryLength:1,delimiters:["Enter","Tab",","],suggestionsTransform:l==="includes"?(p,m)=>m.filter(({name:g})=>g.includes(p)):void 0,onDelete:p=>{const m=[...t];m.splice(p,1),n(m)},onAddition:({name:p})=>n([...new Set([...t,...p.toLowerCase().split(",")])])})},Oye=({tag:e,toggle:t,isOpen:n,deleteTag:r,tagDelete:i,tagDeleted:o})=>{const{deleting:s,error:a,deleted:l,errorData:c}=i;return U(zo,{toggle:t,isOpen:n,centered:!0,onClosed:()=>l&&o(e),children:[C(io,{toggle:t,className:"text-danger",children:"Delete tag"}),U(ki,{children:["Are you sure you want to delete tag ",C("b",{children:e}),"?",a&&C(Rr,{type:"error",small:!0,className:"mt-2",children:C(Do,{errorData:c,fallbackMessage:"Something went wrong while deleting the tag :("})})]}),U(Zs,{children:[C(gt,{color:"link",onClick:t,children:"Cancel"}),C(gt,{color:"danger",disabled:s,onClick:async()=>{await r(e),t()},children:s?"Deleting tag...":"Delete tag"})]})]})};function T_(){return(T_=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}function hx(e){var t=H.useRef(e),n=H.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var _d=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:x.buttons>0)&&i.current?o(qN(i.current,x,a.current)):_(!1)},g=function(){return _(!1)};function _(x){var v=l.current,b=px(i.current),w=x?b.addEventListener:b.removeEventListener;w(v?"touchmove":"mousemove",m),w(v?"touchend":"mouseup",g)}return[function(x){var v=x.nativeEvent,b=i.current;if(b&&(GN(v),!function(E,P){return P&&!Tf(E)}(v,l.current)&&b)){if(Tf(v)){l.current=!0;var w=v.changedTouches||[];w.length&&(a.current=w[0].identifier)}b.focus(),o(qN(b,v,a.current)),_(!0)}},function(x){var v=x.which||x.keyCode;v<37||v>40||(x.preventDefault(),s({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},_]},[s,o]),f=c[0],h=c[1],p=c[2];return H.useEffect(function(){return p},[p]),z.createElement("div",T_({},r,{onTouchStart:f,onMouseDown:f,className:"react-colorful__interactive",ref:i,onKeyDown:h,tabIndex:0,role:"slider"}))}),QE=function(e){return e.filter(Boolean).join(" ")},CF=function(e){var t=e.color,n=e.left,r=e.top,i=r===void 0?.5:r,o=QE(["react-colorful__pointer",e.className]);return z.createElement("div",{className:o,style:{top:100*i+"%",left:100*n+"%"}},z.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},zn=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Pye=function(e){return Lye(mx(e))},mx=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?zn(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?zn(parseInt(e.substring(6,8),16)/255,2):1}},kye=function(e){return Nye(Rye(e))},Mye=function(e){var t=e.s,n=e.v,r=e.a,i=(200-t)*n/100;return{h:zn(e.h),s:zn(i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0),l:zn(i/2),a:zn(r,2)}},gx=function(e){var t=Mye(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},Rye=function(e){var t=e.h,n=e.s,r=e.v,i=e.a;t=t/360*6,n/=100,r/=100;var o=Math.floor(t),s=r*(1-n),a=r*(1-(t-o)*n),l=r*(1-(1-t+o)*n),c=o%6;return{r:zn(255*[r,a,s,s,l,r][c]),g:zn(255*[l,r,r,a,s,s][c]),b:zn(255*[s,s,l,r,r,a][c]),a:zn(i,2)}},Lp=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Nye=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,o=i<1?Lp(zn(255*i)):"";return"#"+Lp(t)+Lp(n)+Lp(r)+o},Lye=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,o=Math.max(t,n,r),s=o-Math.min(t,n,r),a=s?o===t?(n-r)/s:o===n?2+(r-t)/s:4+(t-n)/s:0;return{h:zn(60*(a<0?a+6:a)),s:zn(o?s/o*100:0),v:zn(o/255*100),a:i}},Dye=z.memo(function(e){var t=e.hue,n=e.onChange,r=QE(["react-colorful__hue",e.className]);return z.createElement("div",{className:r},z.createElement(SF,{onMove:function(i){n({h:360*i.left})},onKey:function(i){n({h:_d(t+360*i.left,0,360)})},"aria-label":"Hue","aria-valuenow":zn(t),"aria-valuemax":"360","aria-valuemin":"0"},z.createElement(CF,{className:"react-colorful__hue-pointer",left:t/360,color:gx({h:t,s:100,v:100,a:1})})))}),Aye=z.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:gx({h:t.h,s:100,v:100,a:1})};return z.createElement("div",{className:"react-colorful__saturation",style:r},z.createElement(SF,{onMove:function(i){n({s:100*i.left,v:100-100*i.top})},onKey:function(i){n({s:_d(t.s+100*i.left,0,100),v:_d(t.v-100*i.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+zn(t.s)+"%, Brightness "+zn(t.v)+"%"},z.createElement(CF,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:gx(t)})))}),EF=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},Iye=function(e,t){return e.toLowerCase()===t.toLowerCase()||EF(mx(e),mx(t))};function Fye(e,t,n){var r=hx(n),i=H.useState(function(){return e.toHsva(t)}),o=i[0],s=i[1],a=H.useRef({color:t,hsva:o});H.useEffect(function(){if(!e.equal(t,a.current.color)){var c=e.toHsva(t);a.current={hsva:c,color:t},s(c)}},[t,e]),H.useEffect(function(){var c;EF(o,a.current.hsva)||e.equal(c=e.fromHsva(o),a.current.color)||(a.current={hsva:o,color:c},r(c))},[o,e,r]);var l=H.useCallback(function(c){s(function(f){return Object.assign({},f,c)})},[]);return[o,l]}var $ye=typeof window<"u"?H.useLayoutEffect:H.useEffect,jye=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},ZN=new Map,Bye=function(e){$ye(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!ZN.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,ZN.set(t,n);var r=jye();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},zye=function(e){var t=e.className,n=e.colorModel,r=e.color,i=r===void 0?n.defaultColor:r,o=e.onChange,s=xF(e,["className","colorModel","color","onChange"]),a=H.useRef(null);Bye(a);var l=Fye(n,i,o),c=l[0],f=l[1],h=QE(["react-colorful",t]);return z.createElement("div",T_({},s,{ref:a,className:h}),z.createElement(Aye,{hsva:c,onChange:f}),z.createElement(Dye,{hue:c.h,onChange:f,className:"react-colorful__last-control"}))},Uye={defaultColor:"000",toHsva:Pye,fromHsva:function(e){return kye({h:e.h,s:e.s,v:e.v,a:1})},equal:Iye},Vye=function(e){return z.createElement(zye,T_({},e,{colorModel:Uye}))};const Hye=({getColorForKey:e})=>({tag:t,editTag:n,toggle:r,tagEdited:i,isOpen:o,tagEdit:s})=>{const[a,l]=H.useState(t),[c,f]=H.useState(e(t)),[h,p,,m]=Bt(),{editing:g,error:_,edited:x,errorData:v}=s,b=Bd(async()=>{await n({oldName:t,newName:a,color:c}),r()}),w=Ft(m,()=>x&&i({oldName:t,newName:a,color:c}));return C(zo,{isOpen:o,toggle:r,centered:!0,onClosed:w,children:U("form",{name:"editTag",onSubmit:b,children:[C(io,{toggle:r,children:"Edit tag"}),U(ki,{children:[U($d,{children:[C("div",{id:"colorPickerBtn",className:"input-group-text edit-tag-modal__color-picker-toggle",style:{backgroundColor:c,borderColor:c},onClick:p,children:C($e,{icon:AY,className:"edit-tag-modal__color-icon"})}),C(Id,{isOpen:h,toggle:p,target:"colorPickerBtn",placement:"right",hideArrow:!0,popperClassName:"edit-tag-modal__popover",children:C(Vye,{color:c,onChange:f})}),C(id,{value:a,placeholder:"Tag",required:!0,onChange:({target:E})=>l(E.value)})]}),_&&C(Rr,{type:"error",small:!0,className:"mt-2",children:C(Do,{errorData:v,fallbackMessage:"Something went wrong while editing the tag :("})})]}),U(Zs,{children:[C(gt,{type:"button",color:"link",onClick:r,children:"Cancel"}),C(gt,{color:"primary",disabled:g,children:g?"Saving...":"Save"})]})]})})},TF={tag:"Tag",shortUrls:"Short URLs",visits:"Visits"},Wye=e=>Qs(({filterTags:t,forceListTags:n,tagsList:r,selectedServer:i,settings:o})=>{var h;const[s,a]=H.useState(((h=o.tags)==null?void 0:h.defaultOrdering)??{}),l=Ft(()=>r.filteredTags.map(p=>{var m,g;return{tag:p,shortUrls:((m=r.stats[p])==null?void 0:m.shortUrlsCount)??0,visits:((g=r.stats[p])==null?void 0:g.visitsCount)??0}}),p=>gA(p,s));if(H.useEffect(()=>{n()},[]),r.loading)return C(So,{loading:!0});if(r.error)return C(Rr,{type:"error",children:C(Do,{errorData:r.errorData,fallbackMessage:"Error loading tags :("})});const c=p=>()=>{const m=By(p,s.field,s.dir);a({field:m?p:void 0,dir:m})};return U(We,{children:[C(Wd,{className:"mb-3",onChange:t}),C(cr,{className:"mb-3",children:C("div",{className:"col-lg-6 offset-lg-6",children:C(Gd,{items:TF,order:s,onChange:(p,m)=>a({field:p,dir:m})})})}),(()=>{if(r.filteredTags.length<1)return C(So,{children:"No tags found"});const p=l();return C(e,{sortedTags:p,selectedServer:i,currentOrder:s,orderByColumn:c})})()]})},()=>[Jr.visits]),vx="shlink/tagDelete",Yye={deleting:!1,deleted:!1,error:!1},OF=bn(`${vx}/tagDeleted`),qye=e=>{const t=nr(`${vx}/deleteTag`,async(r,{getState:i})=>{const{deleteTags:o}=e(i);await o([r])}),{reducer:n}=Yn({name:vx,initialState:Yye,reducers:{},extraReducers:r=>{r.addCase(t.pending,()=>({deleting:!0,deleted:!1,error:!1})),r.addCase(t.rejected,(i,{error:o})=>({deleting:!1,deleted:!1,error:!0,errorData:ro(o)})),r.addCase(t.fulfilled,()=>({deleting:!1,deleted:!0,error:!1}))}});return{reducer:n,deleteTag:t}},JE="shlink/tagEdit",Gye={editing:!1,edited:!1,error:!1},PF=bn(`${JE}/tagEdited`),Zye=(e,t)=>nr(`${JE}/editTag`,async({oldName:n,newName:r,color:i},{getState:o})=>(await e(o).editTag(n,r),t.setColorForKey(r,i),{oldName:n,newName:r,color:i})),Kye=e=>Yn({name:JE,initialState:Gye,reducers:{},extraReducers:t=>{t.addCase(e.pending,()=>({editing:!0,edited:!1,error:!1})),t.addCase(e.rejected,(n,{error:r})=>({editing:!1,edited:!1,error:!0,errorData:ro(r)})),t.addCase(e.fulfilled,(n,{payload:r})=>({...pA(["oldName","newName"],r),editing:!1,edited:!0,error:!1}))}}),eT="shlink/tagsList",Ab={tags:[],filteredTags:[],stats:{},loading:!1,error:!1},KN=(e,t)=>n=>n===e?t:n,XN=(e,t)=>Pd(n=>n===t,e),Xye=(e,t)=>e.reduce((n,[r,i])=>{if(!n[r])return n;const o=n[r];return{...n,[r]:{...o,visitsCount:o.visitsCount+i}}},{...t}),Qye=e=>Object.entries(e.reduce((t,{shortUrl:n})=>(n==null||n.tags.forEach(r=>{t[r]=(t[r]||0)+1}),t),{})),Jye=(e,t=!0)=>nr(`${eT}/listTags`,async(n,{getState:r})=>{const{tagsList:i}=r();if(!t&&!Hn(i.tags))return i;const{listTags:o}=e(r),{tags:s,stats:a=[]}=await o(),l=a.reduce((c,{tag:f,shortUrlsCount:h,visitsCount:p})=>(c[f]={shortUrlsCount:h,visitsCount:p},c),{});return{tags:s,stats:l}}),kF=bn(`${eT}/filterTags`),e_e=(e,t)=>Yn({name:eT,initialState:Ab,reducers:{},extraReducers:n=>{n.addCase(kF,(r,{payload:i})=>({...r,filteredTags:r.tags.filter(o=>o.toLowerCase().match(i.toLowerCase()))})),n.addCase(e.pending,r=>({...r,loading:!0,error:!1})),n.addCase(e.rejected,(r,{error:i})=>({...Ab,error:!0,errorData:ro(i)})),n.addCase(e.fulfilled,(r,{payload:i})=>({...Ab,stats:i.stats,tags:i.tags,filteredTags:i.tags})),n.addCase(OF,({tags:r,filteredTags:i,...o},{payload:s})=>({...o,tags:XN(r,s),filteredTags:XN(i,s)})),n.addCase(PF,({tags:r,filteredTags:i,stats:o,...s},{payload:a})=>({...s,stats:{...o,[a.newName]:o[a.oldName]},tags:r.map(KN(a.oldName,a.newName)).sort(),filteredTags:i.map(KN(a.oldName,a.newName)).sort()})),n.addCase(Zd,(r,{payload:i})=>({...r,stats:Xye(Qye(i.createdVisits),r.stats)})),n.addCase(t.fulfilled,({tags:r,...i},{payload:o})=>({...i,tags:r.concat(o.tags.filter(s=>!r.includes(s)))}))}});const t_e=20,n_e=e=>({sortedTags:t,selectedServer:n,orderByColumn:r,currentOrder:i})=>{const o=H.useRef(!0),{search:s}=Wn(),{page:a=1}=Gc(s),[l,c]=eee("page",Number(a)),f=qf(t_e,t),h=f.length>1,p=f[l-1]??[];return H.useEffect(()=>{!o.current&&c(1),o.current=!1},[t]),H.useEffect(()=>{scrollTo(0,0)},[l]),U(gn,{bodyClassName:h?"pb-1":"",children:[U("table",{className:"table table-hover responsive-table mb-0",children:[U("thead",{className:"responsive-table__header",children:[U("tr",{children:[U("th",{className:"tags-table__header-cell",onClick:r("tag"),children:["Tag ",C(yf,{currentOrder:i,field:"tag"})]}),U("th",{className:"tags-table__header-cell text-lg-end",onClick:r("shortUrls"),children:["Short URLs ",C(yf,{currentOrder:i,field:"shortUrls"})]}),U("th",{className:"tags-table__header-cell text-lg-end",onClick:r("visits"),children:["Visits ",C(yf,{currentOrder:i,field:"visits"})]}),C("th",{"aria-label":"Options",className:"tags-table__header-cell"})]}),C("tr",{children:C("th",{"aria-label":"Separator",colSpan:4,className:"p-0 border-top-0"})})]}),U("tbody",{children:[p.length===0&&C("tr",{children:C("td",{colSpan:4,className:"text-center",children:"No results found"})}),p.map(m=>C(e,{tag:m,selectedServer:n},m.tag))]})]}),h&&C("div",{className:"sticky-card-paginator",children:C(GE,{pagesCount:f.length,currentPage:l,setCurrentPage:c})})]},l)},r_e=(e,t,n)=>({tag:r,selectedServer:i})=>{const[o,s]=Bt(),[a,l]=Bt(),[c,f]=Bt(),h=kd(i);return U("tr",{className:"responsive-table__row",children:[U("th",{className:"responsive-table__cell","data-th":"Tag",children:[C(wF,{tag:r.tag,colorGenerator:n})," ",r.tag]}),C("td",{className:"responsive-table__cell text-lg-end","data-th":"Short URLs",children:C(It,{to:`/server/${h}/list-short-urls/1?tags=${encodeURIComponent(r.tag)}`,children:yn(r.shortUrls)})}),C("td",{className:"responsive-table__cell text-lg-end","data-th":"Visits",children:C(It,{to:`/server/${h}/tag/${r.tag}/visits`,children:yn(r.visits)})}),C("td",{className:"responsive-table__cell text-lg-end",children:U(h_,{toggle:f,isOpen:c,children:[U(Ve,{onClick:l,children:[C($e,{icon:SY,fixedWidth:!0,className:"me-1"})," Edit"]}),U(Ve,{onClick:s,children:[C($e,{icon:jY,fixedWidth:!0,className:"me-1"})," Delete"]})]})}),C(t,{tag:r.tag,toggle:l,isOpen:a}),C(e,{tag:r.tag,toggle:s,isOpen:o})]})},i_e=(e,t)=>{e.serviceFactory("TagsSelector",Tye,"ColorGenerator"),e.decorator("TagsSelector",t(["tagsList","settings"],["listTags"])),e.serviceFactory("DeleteTagConfirmModal",()=>Oye),e.decorator("DeleteTagConfirmModal",t(["tagDelete"],["deleteTag","tagDeleted"])),e.serviceFactory("EditTagModal",Hye,"ColorGenerator"),e.decorator("EditTagModal",t(["tagEdit"],["editTag","tagEdited"])),e.serviceFactory("TagsTableRow",r_e,"DeleteTagConfirmModal","EditTagModal","ColorGenerator"),e.serviceFactory("TagsTable",n_e,"TagsTableRow"),e.serviceFactory("TagsList",Wye,"TagsTable"),e.decorator("TagsList",t(["tagsList","selectedServer","mercureInfo","settings"],["forceListTags","filterTags","createNewVisits","loadMercureInfo"])),e.serviceFactory("tagEditReducerCreator",Kye,"editTag"),e.serviceFactory("tagEditReducer",rt("reducer"),"tagEditReducerCreator"),e.serviceFactory("tagDeleteReducerCreator",qye,"buildShlinkApiClient"),e.serviceFactory("tagDeleteReducer",rt("reducer"),"tagDeleteReducerCreator"),e.serviceFactory("tagsListReducerCreator",e_e,"listTags","createShortUrl"),e.serviceFactory("tagsListReducer",rt("reducer"),"tagsListReducerCreator");const n=r=>({buildShlinkApiClient:i})=>Jye(i,r);e.factory("listTags",n(!1)),e.factory("forceListTags",n(!0)),e.serviceFactory("filterTags",()=>kF),e.serviceFactory("deleteTag",rt("deleteTag"),"tagDeleteReducerCreator"),e.serviceFactory("tagDeleted",()=>OF),e.serviceFactory("editTag",Zye,"buildShlinkApiClient","ColorGenerator"),e.serviceFactory("tagEdited",()=>PF)},o_e="shlink",QN=e=>`${o_e}.${e}`;class s_e{constructor(t){Qe(this,"get",t=>{const n=this.localStorage.getItem(QN(t));return n?JSON.parse(n):void 0});Qe(this,"set",(t,n)=>this.localStorage.setItem(QN(t),JSON.stringify(n)));this.localStorage=t}}const a_e=6,JN="0123456789ABCDEF",l_e=128,{floor:c_e,random:u_e,sqrt:f_e,round:d_e}=Math,h_e=()=>`#${UC(a_e,()=>JN[c_e(u_e()*JN.length)]).join("")}`,eL=e=>e.toLowerCase().trim(),p_e=e=>(e.match(/../g)??[]).map(t=>parseInt(t,16)||0),m_e=(e=0,t=0,n=0)=>d_e(f_e(.299*e**2+.587*t**2+.114*n**2));class g_e{constructor(t){Qe(this,"colors");Qe(this,"lights");Qe(this,"getColorForKey",t=>{const n=eL(t),r=this.colors[n];return r||this.setColorForKey(n,h_e())});Qe(this,"setColorForKey",(t,n)=>{const r=eL(t);return this.colors[r]=n,this.storage.set("colors",this.colors),n});Qe(this,"isColorLightForKey",t=>{const n=this.getColorForKey(t).substring(1);if(Fo(this.lights[n])){const r=p_e(n);this.lights[n]=m_e(...r)>=l_e}return this.lights[n]});this.storage=t,this.colors=this.storage.get("colors")??{},this.lights={}}}var v_e=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(r,i,o){n.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:o})},n.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,i){if(1&i&&(r=n(r)),8&i||4&i&&typeof r=="object"&&r&&r.__esModule)return r;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:r}),2&i&&typeof r!="string")for(var s in r)n.d(o,s,function(a){return r[a]}.bind(null,s));return o},n.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(i,"a",i),i},n.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},n.p="",n(n.s=32)}([function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(n=window)}e.exports=n},function(e,t,n){var r=n(6),i=Object.keys||function(g){var _=[];for(var x in g)_.push(x);return _};e.exports=h;var o=n(5);o.inherits=n(2);var s=n(23),a=n(14);o.inherits(h,s);for(var l=i(a.prototype),c=0;c + * @license MIT + */var i=n(38),o=n(39),s=n(40);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(O,R){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|O}function _(O,R){if(c.isBuffer(O))return O.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(O)||O instanceof ArrayBuffer))return O.byteLength;typeof O!="string"&&(O=""+O);var F=O.length;if(F===0)return 0;for(var ee=!1;;)switch(R){case"ascii":case"latin1":case"binary":return F;case"utf8":case"utf-8":case void 0:return re(O).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*F;case"hex":return F>>>1;case"base64":return le(O).length;default:if(ee)return re(O).length;R=(""+R).toLowerCase(),ee=!0}}function x(O,R,F){var ee=O[R];O[R]=O[F],O[F]=ee}function v(O,R,F,ee,Q){if(O.length===0)return-1;if(typeof F=="string"?(ee=F,F=0):F>2147483647?F=2147483647:F<-2147483648&&(F=-2147483648),F=+F,isNaN(F)&&(F=Q?0:O.length-1),F<0&&(F=O.length+F),F>=O.length){if(Q)return-1;F=O.length-1}else if(F<0){if(!Q)return-1;F=0}if(typeof R=="string"&&(R=c.from(R,ee)),c.isBuffer(R))return R.length===0?-1:b(O,R,F,ee,Q);if(typeof R=="number")return R&=255,c.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Q?Uint8Array.prototype.indexOf.call(O,R,F):Uint8Array.prototype.lastIndexOf.call(O,R,F):b(O,[R],F,ee,Q);throw new TypeError("val must be string, number or Buffer")}function b(O,R,F,ee,Q){var se,ve=1,Le=O.length,fe=R.length;if(ee!==void 0&&((ee=String(ee).toLowerCase())==="ucs2"||ee==="ucs-2"||ee==="utf16le"||ee==="utf-16le")){if(O.length<2||R.length<2)return-1;ve=2,Le/=2,fe/=2,F/=2}function ye(Re,Ne){return ve===1?Re[Ne]:Re.readUInt16BE(Ne*ve)}if(Q){var be=-1;for(se=F;seLe&&(F=Le-fe),se=F;se>=0;se--){for(var Te=!0,De=0;DeQ&&(ee=Q):ee=Q;var se=R.length;if(se%2!=0)throw new TypeError("Invalid hex string");ee>se/2&&(ee=se/2);for(var ve=0;ve>8,fe=ve%256,ye.push(fe),ye.push(Le);return ye}(R,O.length-F),O,F,ee)}function V(O,R,F){return R===0&&F===O.length?i.fromByteArray(O):i.fromByteArray(O.slice(R,F))}function I(O,R,F){F=Math.min(O.length,F);for(var ee=[],Q=R;Q239?4:ye>223?3:ye>191?2:1;if(Q+Te<=F)switch(Te){case 1:ye<128&&(be=ye);break;case 2:(192&(se=O[Q+1]))==128&&(fe=(31&ye)<<6|63&se)>127&&(be=fe);break;case 3:se=O[Q+1],ve=O[Q+2],(192&se)==128&&(192&ve)==128&&(fe=(15&ye)<<12|(63&se)<<6|63&ve)>2047&&(fe<55296||fe>57343)&&(be=fe);break;case 4:se=O[Q+1],ve=O[Q+2],Le=O[Q+3],(192&se)==128&&(192&ve)==128&&(192&Le)==128&&(fe=(15&ye)<<18|(63&se)<<12|(63&ve)<<6|63&Le)>65535&&fe<1114112&&(be=fe)}be===null?(be=65533,Te=1):be>65535&&(be-=65536,ee.push(be>>>10&1023|55296),be=56320|1023&be),ee.push(be),Q+=Te}return function(De){var Re=De.length;if(Re<=Y)return String.fromCharCode.apply(String,De);for(var Ne="",ue=0;uethis.length||((ee===void 0||ee>this.length)&&(ee=this.length),ee<=0)||(ee>>>=0)<=(F>>>=0))return"";for(R||(R="utf8");;)switch(R){case"hex":return Z(this,F,ee);case"utf8":case"utf-8":return I(this,F,ee);case"ascii":return q(this,F,ee);case"latin1":case"binary":return X(this,F,ee);case"base64":return V(this,F,ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return J(this,F,ee);default:if(Q)throw new TypeError("Unknown encoding: "+R);R=(R+"").toLowerCase(),Q=!0}}.apply(this,arguments)},c.prototype.equals=function(O){if(!c.isBuffer(O))throw new TypeError("Argument must be a Buffer");return this===O||c.compare(this,O)===0},c.prototype.inspect=function(){var O="",R=t.INSPECT_MAX_BYTES;return this.length>0&&(O=this.toString("hex",0,R).match(/.{2}/g).join(" "),this.length>R&&(O+=" ... ")),""},c.prototype.compare=function(O,R,F,ee,Q){if(!c.isBuffer(O))throw new TypeError("Argument must be a Buffer");if(R===void 0&&(R=0),F===void 0&&(F=O?O.length:0),ee===void 0&&(ee=0),Q===void 0&&(Q=this.length),R<0||F>O.length||ee<0||Q>this.length)throw new RangeError("out of range index");if(ee>=Q&&R>=F)return 0;if(ee>=Q)return-1;if(R>=F)return 1;if(R>>>=0,F>>>=0,ee>>>=0,Q>>>=0,this===O)return 0;for(var se=Q-ee,ve=F-R,Le=Math.min(se,ve),fe=this.slice(ee,Q),ye=O.slice(R,F),be=0;beQ)&&(F=Q),O.length>0&&(F<0||R<0)||R>this.length)throw new RangeError("Attempt to write outside buffer bounds");ee||(ee="utf8");for(var se=!1;;)switch(ee){case"hex":return w(this,O,R,F);case"utf8":case"utf-8":return E(this,O,R,F);case"ascii":return P(this,O,R,F);case"latin1":case"binary":return k(this,O,R,F);case"base64":return N(this,O,R,F);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,O,R,F);default:if(se)throw new TypeError("Unknown encoding: "+ee);ee=(""+ee).toLowerCase(),se=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Y=4096;function q(O,R,F){var ee="";F=Math.min(O.length,F);for(var Q=R;Qee)&&(F=ee);for(var Q="",se=R;seF)throw new RangeError("Trying to access beyond buffer length")}function ce(O,R,F,ee,Q,se){if(!c.isBuffer(O))throw new TypeError('"buffer" argument must be a Buffer instance');if(R>Q||RO.length)throw new RangeError("Index out of range")}function K(O,R,F,ee){R<0&&(R=65535+R+1);for(var Q=0,se=Math.min(O.length-F,2);Q>>8*(ee?Q:1-Q)}function $(O,R,F,ee){R<0&&(R=4294967295+R+1);for(var Q=0,se=Math.min(O.length-F,4);Q>>8*(ee?Q:3-Q)&255}function D(O,R,F,ee,Q,se){if(F+ee>O.length)throw new RangeError("Index out of range");if(F<0)throw new RangeError("Index out of range")}function B(O,R,F,ee,Q){return Q||D(O,0,F,4),o.write(O,R,F,ee,23,4),F+4}function ne(O,R,F,ee,Q){return Q||D(O,0,F,8),o.write(O,R,F,ee,52,8),F+8}c.prototype.slice=function(O,R){var F,ee=this.length;if(O=~~O,R=R===void 0?ee:~~R,O<0?(O+=ee)<0&&(O=0):O>ee&&(O=ee),R<0?(R+=ee)<0&&(R=0):R>ee&&(R=ee),R0&&(Q*=256);)ee+=this[O+--R]*Q;return ee},c.prototype.readUInt8=function(O,R){return R||oe(O,1,this.length),this[O]},c.prototype.readUInt16LE=function(O,R){return R||oe(O,2,this.length),this[O]|this[O+1]<<8},c.prototype.readUInt16BE=function(O,R){return R||oe(O,2,this.length),this[O]<<8|this[O+1]},c.prototype.readUInt32LE=function(O,R){return R||oe(O,4,this.length),(this[O]|this[O+1]<<8|this[O+2]<<16)+16777216*this[O+3]},c.prototype.readUInt32BE=function(O,R){return R||oe(O,4,this.length),16777216*this[O]+(this[O+1]<<16|this[O+2]<<8|this[O+3])},c.prototype.readIntLE=function(O,R,F){O|=0,R|=0,F||oe(O,R,this.length);for(var ee=this[O],Q=1,se=0;++se=(Q*=128)&&(ee-=Math.pow(2,8*R)),ee},c.prototype.readIntBE=function(O,R,F){O|=0,R|=0,F||oe(O,R,this.length);for(var ee=R,Q=1,se=this[O+--ee];ee>0&&(Q*=256);)se+=this[O+--ee]*Q;return se>=(Q*=128)&&(se-=Math.pow(2,8*R)),se},c.prototype.readInt8=function(O,R){return R||oe(O,1,this.length),128&this[O]?-1*(255-this[O]+1):this[O]},c.prototype.readInt16LE=function(O,R){R||oe(O,2,this.length);var F=this[O]|this[O+1]<<8;return 32768&F?4294901760|F:F},c.prototype.readInt16BE=function(O,R){R||oe(O,2,this.length);var F=this[O+1]|this[O]<<8;return 32768&F?4294901760|F:F},c.prototype.readInt32LE=function(O,R){return R||oe(O,4,this.length),this[O]|this[O+1]<<8|this[O+2]<<16|this[O+3]<<24},c.prototype.readInt32BE=function(O,R){return R||oe(O,4,this.length),this[O]<<24|this[O+1]<<16|this[O+2]<<8|this[O+3]},c.prototype.readFloatLE=function(O,R){return R||oe(O,4,this.length),o.read(this,O,!0,23,4)},c.prototype.readFloatBE=function(O,R){return R||oe(O,4,this.length),o.read(this,O,!1,23,4)},c.prototype.readDoubleLE=function(O,R){return R||oe(O,8,this.length),o.read(this,O,!0,52,8)},c.prototype.readDoubleBE=function(O,R){return R||oe(O,8,this.length),o.read(this,O,!1,52,8)},c.prototype.writeUIntLE=function(O,R,F,ee){O=+O,R|=0,F|=0,ee||ce(this,O,R,F,Math.pow(2,8*F)-1,0);var Q=1,se=0;for(this[R]=255&O;++se=0&&(se*=256);)this[R+Q]=O/se&255;return R+F},c.prototype.writeUInt8=function(O,R,F){return O=+O,R|=0,F||ce(this,O,R,1,255,0),c.TYPED_ARRAY_SUPPORT||(O=Math.floor(O)),this[R]=255&O,R+1},c.prototype.writeUInt16LE=function(O,R,F){return O=+O,R|=0,F||ce(this,O,R,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[R]=255&O,this[R+1]=O>>>8):K(this,O,R,!0),R+2},c.prototype.writeUInt16BE=function(O,R,F){return O=+O,R|=0,F||ce(this,O,R,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[R]=O>>>8,this[R+1]=255&O):K(this,O,R,!1),R+2},c.prototype.writeUInt32LE=function(O,R,F){return O=+O,R|=0,F||ce(this,O,R,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[R+3]=O>>>24,this[R+2]=O>>>16,this[R+1]=O>>>8,this[R]=255&O):$(this,O,R,!0),R+4},c.prototype.writeUInt32BE=function(O,R,F){return O=+O,R|=0,F||ce(this,O,R,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[R]=O>>>24,this[R+1]=O>>>16,this[R+2]=O>>>8,this[R+3]=255&O):$(this,O,R,!1),R+4},c.prototype.writeIntLE=function(O,R,F,ee){if(O=+O,R|=0,!ee){var Q=Math.pow(2,8*F-1);ce(this,O,R,F,Q-1,-Q)}var se=0,ve=1,Le=0;for(this[R]=255&O;++se>0)-Le&255;return R+F},c.prototype.writeIntBE=function(O,R,F,ee){if(O=+O,R|=0,!ee){var Q=Math.pow(2,8*F-1);ce(this,O,R,F,Q-1,-Q)}var se=F-1,ve=1,Le=0;for(this[R+se]=255&O;--se>=0&&(ve*=256);)O<0&&Le===0&&this[R+se+1]!==0&&(Le=1),this[R+se]=(O/ve>>0)-Le&255;return R+F},c.prototype.writeInt8=function(O,R,F){return O=+O,R|=0,F||ce(this,O,R,1,127,-128),c.TYPED_ARRAY_SUPPORT||(O=Math.floor(O)),O<0&&(O=255+O+1),this[R]=255&O,R+1},c.prototype.writeInt16LE=function(O,R,F){return O=+O,R|=0,F||ce(this,O,R,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[R]=255&O,this[R+1]=O>>>8):K(this,O,R,!0),R+2},c.prototype.writeInt16BE=function(O,R,F){return O=+O,R|=0,F||ce(this,O,R,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[R]=O>>>8,this[R+1]=255&O):K(this,O,R,!1),R+2},c.prototype.writeInt32LE=function(O,R,F){return O=+O,R|=0,F||ce(this,O,R,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[R]=255&O,this[R+1]=O>>>8,this[R+2]=O>>>16,this[R+3]=O>>>24):$(this,O,R,!0),R+4},c.prototype.writeInt32BE=function(O,R,F){return O=+O,R|=0,F||ce(this,O,R,4,2147483647,-2147483648),O<0&&(O=4294967295+O+1),c.TYPED_ARRAY_SUPPORT?(this[R]=O>>>24,this[R+1]=O>>>16,this[R+2]=O>>>8,this[R+3]=255&O):$(this,O,R,!1),R+4},c.prototype.writeFloatLE=function(O,R,F){return B(this,O,R,!0,F)},c.prototype.writeFloatBE=function(O,R,F){return B(this,O,R,!1,F)},c.prototype.writeDoubleLE=function(O,R,F){return ne(this,O,R,!0,F)},c.prototype.writeDoubleBE=function(O,R,F){return ne(this,O,R,!1,F)},c.prototype.copy=function(O,R,F,ee){if(F||(F=0),ee||ee===0||(ee=this.length),R>=O.length&&(R=O.length),R||(R=0),ee>0&&ee=this.length)throw new RangeError("sourceStart out of bounds");if(ee<0)throw new RangeError("sourceEnd out of bounds");ee>this.length&&(ee=this.length),O.length-R=0;--Q)O[Q+R]=this[Q+F];else if(se<1e3||!c.TYPED_ARRAY_SUPPORT)for(Q=0;Q>>=0,F=F===void 0?this.length:F>>>0,O||(O=0),typeof O=="number")for(se=R;se55295&&F<57344){if(!Q){if(F>56319){(R-=3)>-1&&se.push(239,191,189);continue}if(ve+1===ee){(R-=3)>-1&&se.push(239,191,189);continue}Q=F;continue}if(F<56320){(R-=3)>-1&&se.push(239,191,189),Q=F;continue}F=65536+(Q-55296<<10|F-56320)}else Q&&(R-=3)>-1&&se.push(239,191,189);if(Q=null,F<128){if((R-=1)<0)break;se.push(F)}else if(F<2048){if((R-=2)<0)break;se.push(F>>6|192,63&F|128)}else if(F<65536){if((R-=3)<0)break;se.push(F>>12|224,F>>6&63|128,63&F|128)}else{if(!(F<1114112))throw new Error("Invalid code point");if((R-=4)<0)break;se.push(F>>18|240,F>>12&63|128,F>>6&63|128,63&F|128)}}return se}function le(O){return i.toByteArray(function(R){if((R=function(F){return F.trim?F.trim():F.replace(/^\s+|\s+$/g,"")}(R).replace(W,"")).length<2)return"";for(;R.length%4!=0;)R+="=";return R}(O))}function me(O,R,F,ee){for(var Q=0;Q=R.length||Q>=O.length);++Q)R[Q+F]=O[Q];return Q}}).call(this,n(0))},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(x){if(n===setTimeout)return setTimeout(x,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(x,0);try{return n(x,0)}catch{try{return n.call(null,x,0)}catch{return n.call(this,x,0)}}}(function(){try{n=typeof setTimeout=="function"?setTimeout:o}catch{n=o}try{r=typeof clearTimeout=="function"?clearTimeout:s}catch{r=s}})();var l,c=[],f=!1,h=-1;function p(){f&&l&&(f=!1,l.length?c=l.concat(c):h=-1,c.length&&m())}function m(){if(!f){var x=a(p);f=!0;for(var v=c.length;v;){for(l=c,c=[];++h1)for(var b=1;b=0&&(a._idleTimeoutId=setTimeout(function(){a._onTimeout&&a._onTimeout()},l))},n(35),t.setImmediate=typeof self<"u"&&self.setImmediate||r!==void 0&&r.setImmediate||this&&this.setImmediate,t.clearImmediate=typeof self<"u"&&self.clearImmediate||r!==void 0&&r.clearImmediate||this&&this.clearImmediate}).call(this,n(0))},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(s){return typeof s=="function"}function i(s){return typeof s=="object"&&s!==null}function o(s){return s===void 0}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(s){if(!function(a){return typeof a=="number"}(s)||s<0||isNaN(s))throw TypeError("n must be a positive number");return this._maxListeners=s,this},n.prototype.emit=function(s){var a,l,c,f,h,p;if(this._events||(this._events={}),s==="error"&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if((a=arguments[1])instanceof Error)throw a;var m=new Error('Uncaught, unspecified "error" event. ('+a+")");throw m.context=a,m}if(o(l=this._events[s]))return!1;if(r(l))switch(arguments.length){case 1:l.call(this);break;case 2:l.call(this,arguments[1]);break;case 3:l.call(this,arguments[1],arguments[2]);break;default:f=Array.prototype.slice.call(arguments,1),l.apply(this,f)}else if(i(l))for(f=Array.prototype.slice.call(arguments,1),c=(p=l.slice()).length,h=0;h0&&this._events[s].length>l&&(this._events[s].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[s].length),typeof console.trace=="function"&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(s,a){if(!r(a))throw TypeError("listener must be a function");var l=!1;function c(){this.removeListener(s,c),l||(l=!0,a.apply(this,arguments))}return c.listener=a,this.on(s,c),this},n.prototype.removeListener=function(s,a){var l,c,f,h;if(!r(a))throw TypeError("listener must be a function");if(!this._events||!this._events[s])return this;if(f=(l=this._events[s]).length,c=-1,l===a||r(l.listener)&&l.listener===a)delete this._events[s],this._events.removeListener&&this.emit("removeListener",s,a);else if(i(l)){for(h=f;h-- >0;)if(l[h]===a||l[h].listener&&l[h].listener===a){c=h;break}if(c<0)return this;l.length===1?(l.length=0,delete this._events[s]):l.splice(c,1),this._events.removeListener&&this.emit("removeListener",s,a)}return this},n.prototype.removeAllListeners=function(s){var a,l;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[s]&&delete this._events[s],this;if(arguments.length===0){for(a in this._events)a!=="removeListener"&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events={},this}if(r(l=this._events[s]))this.removeListener(s,l);else if(l)for(;l.length;)this.removeListener(s,l[l.length-1]);return delete this._events[s],this},n.prototype.listeners=function(s){return this._events&&this._events[s]?r(this._events[s])?[this._events[s]]:this._events[s].slice():[]},n.prototype.listenerCount=function(s){if(this._events){var a=this._events[s];if(r(a))return 1;if(a)return a.length}return 0},n.listenerCount=function(s,a){return s.listenerCount(a)}},function(e,t,n){(t=e.exports=n(23)).Stream=t,t.Readable=t,t.Writable=n(14),t.Duplex=n(1),t.Transform=n(27),t.PassThrough=n(45)},function(e,t,n){(function(r,i,o){var s=n(6);function a(I){var Y=this;this.next=null,this.entry=null,this.finish=function(){(function(q,X,Z){var J=q.entry;for(q.entry=null;J;){var oe=J.callback;X.pendingcb--,oe(void 0),J=J.next}X.corkedRequestsFree?X.corkedRequestsFree.next=q:X.corkedRequestsFree=q})(Y,I)}}e.exports=w;var l,c=!r.browser&&["v0.10","v0.9."].indexOf(r.version.slice(0,5))>-1?i:s.nextTick;w.WritableState=b;var f=n(5);f.inherits=n(2);var h,p={deprecate:n(44)},m=n(24),g=n(7).Buffer,_=o.Uint8Array||function(){},x=n(25);function v(){}function b(I,Y){l=l||n(1),I=I||{};var q=Y instanceof l;this.objectMode=!!I.objectMode,q&&(this.objectMode=this.objectMode||!!I.writableObjectMode);var X=I.highWaterMark,Z=I.writableHighWaterMark,J=this.objectMode?16:16384;this.highWaterMark=X||X===0?X:q&&(Z||Z===0)?Z:J,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var oe=I.decodeStrings===!1;this.decodeStrings=!oe,this.defaultEncoding=I.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ce){(function(K,$){var D=K._writableState,B=D.sync,ne=D.writecb;if(function(G){G.writing=!1,G.writecb=null,G.length-=G.writelen,G.writelen=0}(D),$)(function(G,re,le,me,O){--re.pendingcb,le?(s.nextTick(O,me),s.nextTick(V,G,re),G._writableState.errorEmitted=!0,G.emit("error",me)):(O(me),G._writableState.errorEmitted=!0,G.emit("error",me),V(G,re))})(K,D,B,$,ne);else{var W=N(D);W||D.corked||D.bufferProcessing||!D.bufferedRequest||k(K,D),B?c(P,K,D,W,ne):P(K,D,W,ne)}})(Y,ce)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function w(I){if(l=l||n(1),!(h.call(w,this)||this instanceof l))return new w(I);this._writableState=new b(I,this),this.writable=!0,I&&(typeof I.write=="function"&&(this._write=I.write),typeof I.writev=="function"&&(this._writev=I.writev),typeof I.destroy=="function"&&(this._destroy=I.destroy),typeof I.final=="function"&&(this._final=I.final)),m.call(this)}function E(I,Y,q,X,Z,J,oe){Y.writelen=X,Y.writecb=oe,Y.writing=!0,Y.sync=!0,q?I._writev(Z,Y.onwrite):I._write(Z,J,Y.onwrite),Y.sync=!1}function P(I,Y,q,X){q||function(Z,J){J.length===0&&J.needDrain&&(J.needDrain=!1,Z.emit("drain"))}(I,Y),Y.pendingcb--,X(),V(I,Y)}function k(I,Y){Y.bufferProcessing=!0;var q=Y.bufferedRequest;if(I._writev&&q&&q.next){var X=Y.bufferedRequestCount,Z=new Array(X),J=Y.corkedRequestsFree;J.entry=q;for(var oe=0,ce=!0;q;)Z[oe]=q,q.isBuf||(ce=!1),q=q.next,oe+=1;Z.allBuffers=ce,E(I,Y,!0,Y.length,Z,"",J.finish),Y.pendingcb++,Y.lastBufferedRequest=null,J.next?(Y.corkedRequestsFree=J.next,J.next=null):Y.corkedRequestsFree=new a(Y),Y.bufferedRequestCount=0}else{for(;q;){var K=q.chunk,$=q.encoding,D=q.callback;if(E(I,Y,!1,Y.objectMode?1:K.length,K,$,D),q=q.next,Y.bufferedRequestCount--,Y.writing)break}q===null&&(Y.lastBufferedRequest=null)}Y.bufferedRequest=q,Y.bufferProcessing=!1}function N(I){return I.ending&&I.length===0&&I.bufferedRequest===null&&!I.finished&&!I.writing}function A(I,Y){I._final(function(q){Y.pendingcb--,q&&I.emit("error",q),Y.prefinished=!0,I.emit("prefinish"),V(I,Y)})}function V(I,Y){var q=N(Y);return q&&(function(X,Z){Z.prefinished||Z.finalCalled||(typeof X._final=="function"?(Z.pendingcb++,Z.finalCalled=!0,s.nextTick(A,X,Z)):(Z.prefinished=!0,X.emit("prefinish")))}(I,Y),Y.pendingcb===0&&(Y.finished=!0,I.emit("finish"))),q}f.inherits(w,m),b.prototype.getBuffer=function(){for(var I=this.bufferedRequest,Y=[];I;)Y.push(I),I=I.next;return Y},function(){try{Object.defineProperty(b.prototype,"buffer",{get:p.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(w,Symbol.hasInstance,{value:function(I){return!!h.call(this,I)||this===w&&I&&I._writableState instanceof b}})):h=function(I){return I instanceof this},w.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},w.prototype.write=function(I,Y,q){var X=this._writableState,Z=!1,J=!X.objectMode&&function(oe){return g.isBuffer(oe)||oe instanceof _}(I);return J&&!g.isBuffer(I)&&(I=function(oe){return g.from(oe)}(I)),typeof Y=="function"&&(q=Y,Y=null),J?Y="buffer":Y||(Y=X.defaultEncoding),typeof q!="function"&&(q=v),X.ended?function(oe,ce){var K=new Error("write after end");oe.emit("error",K),s.nextTick(ce,K)}(this,q):(J||function(oe,ce,K,$){var D=!0,B=!1;return K===null?B=new TypeError("May not write null values to stream"):typeof K=="string"||K===void 0||ce.objectMode||(B=new TypeError("Invalid non-string/buffer chunk")),B&&(oe.emit("error",B),s.nextTick($,B),D=!1),D}(this,X,I,q))&&(X.pendingcb++,Z=function(oe,ce,K,$,D,B){if(!K){var ne=function(le,me,O){return le.objectMode||le.decodeStrings===!1||typeof me!="string"||(me=g.from(me,O)),me}(ce,$,D);$!==ne&&(K=!0,D="buffer",$=ne)}var W=ce.objectMode?1:$.length;ce.length+=W;var G=ce.length-1))throw new TypeError("Unknown encoding: "+I);return this._writableState.defaultEncoding=I,this},Object.defineProperty(w.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),w.prototype._write=function(I,Y,q){q(new Error("_write() is not implemented"))},w.prototype._writev=null,w.prototype.end=function(I,Y,q){var X=this._writableState;typeof I=="function"?(q=I,I=null,Y=null):typeof Y=="function"&&(q=Y,Y=null),I!=null&&this.write(I,Y),X.corked&&(X.corked=1,this.uncork()),X.ending||X.finished||function(Z,J,oe){J.ending=!0,V(Z,J),oe&&(J.finished?s.nextTick(oe):Z.once("finish",oe)),J.ended=!0,Z.writable=!1}(this,X,q)},Object.defineProperty(w.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(I){this._writableState&&(this._writableState.destroyed=I)}}),w.prototype.destroy=x.destroy,w.prototype._undestroy=x.undestroy,w.prototype._destroy=function(I,Y){this.end(),Y(I)}}).call(this,n(4),n(11).setImmediate,n(0))},function(e,t,n){(function(r,i,o){e.exports=function s(a,l,c){function f(m,g){if(!l[m]){if(!a[m]){var _=typeof _dereq_=="function"&&_dereq_;if(!g&&_)return _(m,!0);if(h)return h(m,!0);var x=new Error("Cannot find module '"+m+"'");throw x.code="MODULE_NOT_FOUND",x}var v=l[m]={exports:{}};a[m][0].call(v.exports,function(b){return f(a[m][1][b]||b)},v,v.exports,s,a,l,c)}return l[m].exports}for(var h=typeof _dereq_=="function"&&_dereq_,p=0;p0;){var b=v.shift();if(typeof b=="function"){var w=v.shift(),E=v.shift();b.call(w,E)}else b._settlePromises()}},m.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},m.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},m.prototype._reset=function(){this._isTickUsed=!1},a.exports=m,a.exports.firstLineError=c},{"./queue":26,"./schedule":29,"./util":36}],3:[function(s,a,l){a.exports=function(c,f,h,p){var m=!1,g=function(b,w){this._reject(w)},_=function(b,w){w.promiseRejectionQueued=!0,w.bindingPromise._then(g,g,null,this,b)},x=function(b,w){!(50397184&this._bitField)&&this._resolveCallback(w.target)},v=function(b,w){w.promiseRejectionQueued||this._reject(b)};c.prototype.bind=function(b){m||(m=!0,c.prototype._propagateFrom=p.propagateFromFunction(),c.prototype._boundValue=p.boundValueFunction());var w=h(b),E=new c(f);E._propagateFrom(this,1);var P=this._target();if(E._setBoundTo(w),w instanceof c){var k={promiseRejectionQueued:!1,promise:E,target:P,bindingPromise:w};P._then(f,_,void 0,E,k),w._then(x,v,void 0,E,k),E._setOnCancel(w)}else E._resolveCallback(P);return E},c.prototype._setBoundTo=function(b){b!==void 0?(this._bitField=2097152|this._bitField,this._boundTo=b):this._bitField=-2097153&this._bitField},c.prototype._isBound=function(){return(2097152&this._bitField)==2097152},c.bind=function(b,w){return c.resolve(w).bind(b)}}},{}],4:[function(s,a,l){var c;typeof Promise<"u"&&(c=Promise);var f=s("./promise")();f.noConflict=function(){try{Promise===f&&(Promise=c)}catch{}return f},a.exports=f},{"./promise":22}],5:[function(s,a,l){var c=Object.create;if(c){var f=c(null),h=c(null);f[" size"]=h[" size"]=0}a.exports=function(p){var m=s("./util"),g=m.canEvaluate;function _(b){return function(w,E){var P;if(w!=null&&(P=w[E]),typeof P!="function"){var k="Object "+m.classString(w)+" has no method '"+m.toString(E)+"'";throw new p.TypeError(k)}return P}(b,this.pop()).apply(b,this)}function x(b){return b[this]}function v(b){var w=+this;return w<0&&(w=Math.max(0,w+b.length)),b[w]}m.isIdentifier,p.prototype.call=function(b){var w=[].slice.call(arguments,1);return w.push(b),this._then(_,void 0,void 0,w,void 0)},p.prototype.get=function(b){var w;if(typeof b=="number")w=v;else if(g){var E=(void 0)(b);w=E!==null?E:x}else w=x;return this._then(w,void 0,void 0,b,void 0)}}},{"./util":36}],6:[function(s,a,l){a.exports=function(c,f,h,p){var m=s("./util"),g=m.tryCatch,_=m.errorObj,x=c._async;c.prototype.break=c.prototype.cancel=function(){if(!p.cancellation())return this._warn("cancellation is disabled");for(var v=this,b=v;v._isCancellable();){if(!v._cancelBy(b)){b._isFollowing()?b._followee().cancel():b._cancelBranched();break}var w=v._cancellationParent;if(w==null||!w._isCancellable()){v._isFollowing()?v._followee().cancel():v._cancelBranched();break}v._isFollowing()&&v._followee().cancel(),v._setWillBeCancelled(),b=v,v=w}},c.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},c.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},c.prototype._cancelBy=function(v){return v===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},c.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},c.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),x.invoke(this._cancelPromises,this,void 0))},c.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},c.prototype._unsetOnCancel=function(){this._onCancelField=void 0},c.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},c.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},c.prototype._doInvokeOnCancel=function(v,b){if(m.isArray(v))for(var w=0;w=0)return h[g]}return c.prototype._promiseCreated=function(){},c.prototype._pushContext=function(){},c.prototype._popContext=function(){return null},c._peekContext=c.prototype._peekContext=function(){},p.prototype._pushContext=function(){this._trace!==void 0&&(this._trace._promiseCreated=null,h.push(this._trace))},p.prototype._popContext=function(){if(this._trace!==void 0){var g=h.pop(),_=g._promiseCreated;return g._promiseCreated=null,_}return null},p.CapturedTrace=null,p.create=function(){if(f)return new p},p.deactivateLongStackTraces=function(){},p.activateLongStackTraces=function(){var g=c.prototype._pushContext,_=c.prototype._popContext,x=c._peekContext,v=c.prototype._peekContext,b=c.prototype._promiseCreated;p.deactivateLongStackTraces=function(){c.prototype._pushContext=g,c.prototype._popContext=_,c._peekContext=x,c.prototype._peekContext=v,c.prototype._promiseCreated=b,f=!1},f=!0,c.prototype._pushContext=p.prototype._pushContext,c.prototype._popContext=p.prototype._popContext,c._peekContext=c.prototype._peekContext=m,c.prototype._promiseCreated=function(){var w=this._peekContext();w&&w._promiseCreated==null&&(w._promiseCreated=this)}},p}},{}],9:[function(s,a,l){a.exports=function(c,f){var h,p,m,g=c._getDomain,_=c._async,x=s("./errors").Warning,v=s("./util"),b=v.canAttachTrace,w=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,E=/\((?:timers\.js):\d+:\d+\)/,P=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,k=null,N=null,A=!1,V=v.env("BLUEBIRD_DEBUG")!=0,I=!(v.env("BLUEBIRD_WARNINGS")==0||!V&&!v.env("BLUEBIRD_WARNINGS")),Y=!(v.env("BLUEBIRD_LONG_STACK_TRACES")==0||!V&&!v.env("BLUEBIRD_LONG_STACK_TRACES")),q=v.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(I||!!v.env("BLUEBIRD_W_FORGOTTEN_RETURN"));c.prototype.suppressUnhandledRejections=function(){var ue=this._target();ue._bitField=-1048577&ue._bitField|524288},c.prototype._ensurePossibleRejectionHandled=function(){if(!(524288&this._bitField)){this._setRejectionIsUnhandled();var ue=this;setTimeout(function(){ue._notifyUnhandledRejection()},1)}},c.prototype._notifyUnhandledRejectionIsHandled=function(){ve("rejectionHandled",h,void 0,this)},c.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},c.prototype._returnedNonUndefined=function(){return(268435456&this._bitField)!=0},c.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var ue=this._settledValue();this._setUnhandledRejectionIsNotified(),ve("unhandledRejection",p,ue,this)}},c.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},c.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},c.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},c.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},c.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},c.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},c.prototype._warn=function(ue,he,we){return F(ue,he,we||this)},c.onPossiblyUnhandledRejection=function(ue){var he=g();p=typeof ue=="function"?he===null?ue:v.domainBind(he,ue):void 0},c.onUnhandledRejectionHandled=function(ue){var he=g();h=typeof ue=="function"?he===null?ue:v.domainBind(he,ue):void 0};var X=function(){};c.longStackTraces=function(){if(_.haveItemsQueued()&&!Ne.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created + + See http://goo.gl/MqrFmX +`);if(!Ne.longStackTraces&&fe()){var ue=c.prototype._captureStackTrace,he=c.prototype._attachExtraTrace;Ne.longStackTraces=!0,X=function(){if(_.haveItemsQueued()&&!Ne.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created + + See http://goo.gl/MqrFmX +`);c.prototype._captureStackTrace=ue,c.prototype._attachExtraTrace=he,f.deactivateLongStackTraces(),_.enableTrampoline(),Ne.longStackTraces=!1},c.prototype._captureStackTrace=O,c.prototype._attachExtraTrace=R,f.activateLongStackTraces(),_.disableTrampolineIfNecessary()}},c.hasLongStackTraces=function(){return Ne.longStackTraces&&fe()};var Z=function(){try{if(typeof CustomEvent=="function"){var ue=new CustomEvent("CustomEvent");return v.global.dispatchEvent(ue),function(he,we){var _e=new CustomEvent(he.toLowerCase(),{detail:we,cancelable:!0});return!v.global.dispatchEvent(_e)}}return typeof Event=="function"?(ue=new Event("CustomEvent"),v.global.dispatchEvent(ue),function(he,we){var _e=new Event(he.toLowerCase(),{cancelable:!0});return _e.detail=we,!v.global.dispatchEvent(_e)}):((ue=document.createEvent("CustomEvent")).initCustomEvent("testingtheevent",!1,!0,{}),v.global.dispatchEvent(ue),function(he,we){var _e=document.createEvent("CustomEvent");return _e.initCustomEvent(he.toLowerCase(),!1,!0,we),!v.global.dispatchEvent(_e)})}catch{}return function(){return!1}}(),J=v.isNode?function(){return r.emit.apply(r,arguments)}:v.global?function(ue){var he="on"+ue.toLowerCase(),we=v.global[he];return!!we&&(we.apply(v.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function oe(ue,he){return{promise:he}}var ce={promiseCreated:oe,promiseFulfilled:oe,promiseRejected:oe,promiseResolved:oe,promiseCancelled:oe,promiseChained:function(ue,he,we){return{promise:he,child:we}},warning:function(ue,he){return{warning:he}},unhandledRejection:function(ue,he,we){return{reason:he,promise:we}},rejectionHandled:oe},K=function(ue){var he=!1;try{he=J.apply(null,arguments)}catch(_e){_.throwLater(_e),he=!0}var we=!1;try{we=Z(ue,ce[ue].apply(null,arguments))}catch(_e){_.throwLater(_e),we=!0}return we||he};function $(){return!1}function D(ue,he,we){var _e=this;try{ue(he,we,function(Ce){if(typeof Ce!="function")throw new TypeError("onCancel must be a function, got: "+v.toString(Ce));_e._attachCancellationCallback(Ce)})}catch(Ce){return Ce}}function B(ue){if(!this._isCancellable())return this;var he=this._onCancel();he!==void 0?v.isArray(he)?he.push(ue):this._setOnCancel([he,ue]):this._setOnCancel(ue)}function ne(){return this._onCancelField}function W(ue){this._onCancelField=ue}function G(){this._cancellationParent=void 0,this._onCancelField=void 0}function re(ue,he){if(1&he){this._cancellationParent=ue;var we=ue._branchesRemainingToCancel;we===void 0&&(we=0),ue._branchesRemainingToCancel=we+1}2&he&&ue._isBound()&&this._setBoundTo(ue._boundTo)}c.config=function(ue){if("longStackTraces"in(ue=Object(ue))&&(ue.longStackTraces?c.longStackTraces():!ue.longStackTraces&&c.hasLongStackTraces()&&X()),"warnings"in ue){var he=ue.warnings;Ne.warnings=!!he,q=Ne.warnings,v.isObject(he)&&"wForgottenReturn"in he&&(q=!!he.wForgottenReturn)}if("cancellation"in ue&&ue.cancellation&&!Ne.cancellation){if(_.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");c.prototype._clearCancellationData=G,c.prototype._propagateFrom=re,c.prototype._onCancel=ne,c.prototype._setOnCancel=W,c.prototype._attachCancellationCallback=B,c.prototype._execute=D,le=re,Ne.cancellation=!0}return"monitoring"in ue&&(ue.monitoring&&!Ne.monitoring?(Ne.monitoring=!0,c.prototype._fireEvent=K):!ue.monitoring&&Ne.monitoring&&(Ne.monitoring=!1,c.prototype._fireEvent=$)),c},c.prototype._fireEvent=$,c.prototype._execute=function(ue,he,we){try{ue(he,we)}catch(_e){return _e}},c.prototype._onCancel=function(){},c.prototype._setOnCancel=function(ue){},c.prototype._attachCancellationCallback=function(ue){},c.prototype._captureStackTrace=function(){},c.prototype._attachExtraTrace=function(){},c.prototype._clearCancellationData=function(){},c.prototype._propagateFrom=function(ue,he){};var le=function(ue,he){2&he&&ue._isBound()&&this._setBoundTo(ue._boundTo)};function me(){var ue=this._boundTo;return ue!==void 0&&ue instanceof c?ue.isFulfilled()?ue.value():void 0:ue}function O(){this._trace=new De(this._peekContext())}function R(ue,he){if(b(ue)){var we=this._trace;if(we!==void 0&&he&&(we=we._parent),we!==void 0)we.attachExtraTrace(ue);else if(!ue.__stackCleaned__){var _e=Q(ue);v.notEnumerableProp(ue,"stack",_e.message+` +`+_e.stack.join(` +`)),v.notEnumerableProp(ue,"__stackCleaned__",!0)}}}function F(ue,he,we){if(Ne.warnings){var _e,Ce=new x(ue);if(he)we._attachExtraTrace(Ce);else if(Ne.longStackTraces&&(_e=c._peekContext()))_e.attachExtraTrace(Ce);else{var ke=Q(Ce);Ce.stack=ke.message+` +`+ke.stack.join(` +`)}K("warning",Ce)||se(Ce,"",!0)}}function ee(ue){for(var he=[],we=0;we0?function(_e){for(var Ce=_e.stack.replace(/\s+$/g,"").split(` +`),ke=0;ke0&&_e.name!="SyntaxError"&&(Ce=Ce.slice(ke)),Ce}(ue):[" (No stack trace)"],{message:we,stack:ue.name=="SyntaxError"?he:ee(he)}}function se(ue,he,we){if(typeof console<"u"){var _e;if(v.isObject(ue)){var Ce=ue.stack;_e=he+N(Ce,ue)}else _e=he+String(ue);typeof m=="function"?m(_e,we):typeof console.log!="function"&&typeof console.log!="object"||console.log(_e)}}function ve(ue,he,we,_e){var Ce=!1;try{typeof he=="function"&&(Ce=!0,ue==="rejectionHandled"?he(_e):he(we,_e))}catch(ke){_.throwLater(ke)}ue==="unhandledRejection"?K(ue,we,_e)||Ce||se(we,"Unhandled rejection "):K(ue,_e)}function Le(ue){var he;if(typeof ue=="function")he="[function "+(ue.name||"anonymous")+"]";else{if(he=ue&&typeof ue.toString=="function"?ue.toString():v.toString(ue),/\[object [a-zA-Z0-9$_]+\]/.test(he))try{he=JSON.stringify(ue)}catch{}he.length===0&&(he="(empty array)")}return"(<"+function(we){return we.length<41?we:we.substr(0,38)+"..."}(he)+">, no stack trace)"}function fe(){return typeof Re=="function"}var ye=function(){return!1},be=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function Te(ue){var he=ue.match(be);if(he)return{fileName:he[1],line:parseInt(he[2],10)}}function De(ue){this._parent=ue,this._promisesCreated=0;var he=this._length=1+(ue===void 0?0:ue._length);Re(this,De),he>32&&this.uncycle()}v.inherits(De,Error),f.CapturedTrace=De,De.prototype.uncycle=function(){var ue=this._length;if(!(ue<2)){for(var he=[],we={},_e=0,Ce=this;Ce!==void 0;++_e)he.push(Ce),Ce=Ce._parent;for(_e=(ue=this._length=_e)-1;_e>=0;--_e){var ke=he[_e].stack;we[ke]===void 0&&(we[ke]=_e)}for(_e=0;_e0&&(he[Ie-1]._parent=void 0,he[Ie-1]._length=1),he[_e]._parent=void 0,he[_e]._length=1;var nt=_e>0?he[_e-1]:this;Ie=0;--Ke)he[Ke]._length=it,it++;return}}}},De.prototype.attachExtraTrace=function(ue){if(!ue.__stackCleaned__){this.uncycle();for(var he=Q(ue),we=he.message,_e=[he.stack],Ce=this;Ce!==void 0;)_e.push(ee(Ce.stack.split(` +`))),Ce=Ce._parent;(function(ke){for(var Ie=ke[0],nt=1;nt=0;--xn)if(it[xn]===Gt){Ut=xn;break}for(xn=Ut;xn>=0;--xn){var ir=it[xn];if(Ie[Ke]!==ir)break;Ie.pop(),Ke--}Ie=it}})(_e),function(ke){for(var Ie=0;Ie=0)return k=/@/,N=he,A=!0,function(ke){ke.stack=new Error().stack};try{throw new Error}catch(ke){_e="stack"in ke}return"stack"in Ce||!_e||typeof Error.stackTraceLimit!="number"?(N=function(ke,Ie){return typeof ke=="string"?ke:typeof Ie!="object"&&typeof Ie!="function"||Ie.name===void 0||Ie.message===void 0?Le(Ie):Ie.toString()},null):(k=ue,N=he,function(ke){Error.stackTraceLimit+=6;try{throw new Error}catch(Ie){ke.stack=Ie.stack}Error.stackTraceLimit-=6})}();typeof console<"u"&&console.warn!==void 0&&(m=function(ue){console.warn(ue)},v.isNode&&r.stderr.isTTY?m=function(ue,he){var we=he?"\x1B[33m":"\x1B[31m";console.warn(we+ue+`\x1B[0m +`)}:v.isNode||typeof new Error().stack!="string"||(m=function(ue,he){console.warn("%c"+ue,he?"color: darkorange":"color: red")}));var Ne={warnings:I,longStackTraces:!1,cancellation:!1,monitoring:!1};return Y&&c.longStackTraces(),{longStackTraces:function(){return Ne.longStackTraces},warnings:function(){return Ne.warnings},cancellation:function(){return Ne.cancellation},monitoring:function(){return Ne.monitoring},propagateFromFunction:function(){return le},boundValueFunction:function(){return me},checkForgottenReturns:function(ue,he,we,_e,Ce){if(ue===void 0&&he!==null&&q){if(Ce!==void 0&&Ce._returnedNonUndefined()||!(65535&_e._bitField))return;we&&(we+=" ");var ke="",Ie="";if(he._trace){for(var nt=he._trace.stack.split(` +`),it=ee(nt),Ke=it.length-1;Ke>=0;--Ke){var Gt=it[Ke];if(!E.test(Gt)){var Ut=Gt.match(P);Ut&&(ke="at "+Ut[1]+":"+Ut[2]+":"+Ut[3]+" ");break}}if(it.length>0){var xn=it[0];for(Ke=0;Ke0&&(Ie=` +`+nt[Ke-1]);break}}}var ir="a promise was created in a "+we+"handler "+ke+"but was not returned from it, see http://goo.gl/rRqMUw"+Ie;_e._warn(ir,!0,he)}},setBounds:function(ue,he){if(fe()){for(var we,_e,Ce=ue.stack.split(` +`),ke=he.stack.split(` +`),Ie=-1,nt=-1,it=0;it=nt||(ye=function(Gt){if(w.test(Gt))return!0;var Ut=Te(Gt);return!!(Ut&&Ut.fileName===we&&Ie<=Ut.line&&Ut.line<=nt)})}},warn:F,deprecated:function(ue,he){var we=ue+" is deprecated and will be removed in a future version.";return he&&(we+=" Use "+he+" instead."),F(we)},CapturedTrace:De,fireDomEvent:Z,fireGlobalEvent:J}}},{"./errors":12,"./util":36}],10:[function(s,a,l){a.exports=function(c){function f(){return this.value}function h(){throw this.reason}c.prototype.return=c.prototype.thenReturn=function(p){return p instanceof c&&p.suppressUnhandledRejections(),this._then(f,void 0,void 0,{value:p},void 0)},c.prototype.throw=c.prototype.thenThrow=function(p){return this._then(h,void 0,void 0,{reason:p},void 0)},c.prototype.catchThrow=function(p){if(arguments.length<=1)return this._then(void 0,h,void 0,{reason:p},void 0);var m=arguments[1];return this.caught(p,function(){throw m})},c.prototype.catchReturn=function(p){if(arguments.length<=1)return p instanceof c&&p.suppressUnhandledRejections(),this._then(void 0,f,void 0,{value:p},void 0);var m=arguments[1];return m instanceof c&&m.suppressUnhandledRejections(),this.caught(p,function(){return m})}}},{}],11:[function(s,a,l){a.exports=function(c,f){var h=c.reduce,p=c.all;function m(){return p(this)}c.prototype.each=function(g){return h(this,g,f,0)._then(m,void 0,void 0,this,void 0)},c.prototype.mapSeries=function(g){return h(this,g,f,f)},c.each=function(g,_){return h(g,_,f,0)._then(m,void 0,void 0,g,void 0)},c.mapSeries=function(g,_){return h(g,_,f,f)}}},{}],12:[function(s,a,l){var c,f,h=s("./es5"),p=h.freeze,m=s("./util"),g=m.inherits,_=m.notEnumerableProp;function x(I,Y){function q(X){if(!(this instanceof q))return new q(X);_(this,"message",typeof X=="string"?X:Y),_(this,"name",I),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return g(q,Error),q}var v=x("Warning","warning"),b=x("CancellationError","cancellation error"),w=x("TimeoutError","timeout error"),E=x("AggregateError","aggregate error");try{c=TypeError,f=RangeError}catch{c=x("TypeError","type error"),f=x("RangeError","range error")}for(var P="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),k=0;k1?k.cancelPromise._reject(N):k.cancelPromise._cancel(),k.cancelPromise=null,!0)}function w(){return P.call(this,this.promise._target()._settledValue())}function E(k){if(!b(this,k))return g.e=k,g}function P(k){var N=this.promise,A=this.handler;if(!this.called){this.called=!0;var V=this.isFinallyHandler()?A.call(N._boundValue()):A.call(N._boundValue(),k);if(V===h)return V;if(V!==void 0){N._setReturnedNonUndefined();var I=f(V,N);if(I instanceof c){if(this.cancelPromise!=null){if(I._isCancelled()){var Y=new m("late cancellation observer");return N._attachExtraTrace(Y),g.e=Y,g}I.isPending()&&I._attachCancellationCallback(new v(this))}return I._then(w,E,void 0,this,void 0)}}}return N.isRejected()?(b(this),g.e=k,g):(b(this),k)}return x.prototype.isFinallyHandler=function(){return this.type===0},v.prototype._resultCancelled=function(){b(this.finallyHandler)},c.prototype._passThrough=function(k,N,A,V){return typeof k!="function"?this.then():this._then(A,V,void 0,new x(this,N,k),void 0)},c.prototype.lastly=c.prototype.finally=function(k){return this._passThrough(k,0,P,P)},c.prototype.tap=function(k){return this._passThrough(k,1,P)},c.prototype.tapCatch=function(k){var N=arguments.length;if(N===1)return this._passThrough(k,1,void 0,P);var A,V=new Array(N-1),I=0;for(A=0;A0&&typeof arguments[v]=="function"&&(x=arguments[v]);var b=[].slice.call(arguments);x&&b.pop();var w=new f(b).promise();return x!==void 0?w.spread(x):w}}},{"./util":36}],18:[function(s,a,l){a.exports=function(c,f,h,p,m,g){var _=c._getDomain,x=s("./util"),v=x.tryCatch,b=x.errorObj,w=c._async;function E(k,N,A,V){this.constructor$(k),this._promise._captureStackTrace();var I=_();this._callback=I===null?N:x.domainBind(I,N),this._preservedValues=V===m?new Array(this.length()):null,this._limit=A,this._inFlight=0,this._queue=[],w.invoke(this._asyncInit,this,void 0)}function P(k,N,A,V){if(typeof N!="function")return h("expecting a function but got "+x.classString(N));var I=0;if(A!==void 0){if(typeof A!="object"||A===null)return c.reject(new TypeError("options argument must be an object but it is "+x.classString(A)));if(typeof A.concurrency!="number")return c.reject(new TypeError("'concurrency' must be a number but it is "+x.classString(A.concurrency)));I=A.concurrency}return new E(k,N,I=typeof I=="number"&&isFinite(I)&&I>=1?I:0,V).promise()}x.inherits(E,f),E.prototype._asyncInit=function(){this._init$(void 0,-2)},E.prototype._init=function(){},E.prototype._promiseFulfilled=function(k,N){var A=this._values,V=this.length(),I=this._preservedValues,Y=this._limit;if(N<0){if(A[N=-1*N-1]=k,Y>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(Y>=1&&this._inFlight>=Y)return A[N]=k,this._queue.push(N),!1;I!==null&&(I[N]=k);var q=this._promise,X=this._callback,Z=q._boundValue();q._pushContext();var J=v(X).call(Z,k,N,V),oe=q._popContext();if(g.checkForgottenReturns(J,oe,I!==null?"Promise.filter":"Promise.map",q),J===b)return this._reject(J.e),!0;var ce=p(J,this._promise);if(ce instanceof c){var K=(ce=ce._target())._bitField;if(!(50397184&K))return Y>=1&&this._inFlight++,A[N]=ce,ce._proxy(this,-1*(N+1)),!1;if(!(33554432&K))return 16777216&K?(this._reject(ce._reason()),!0):(this._cancel(),!0);J=ce._value()}A[N]=J}return++this._totalResolved>=V&&(I!==null?this._filter(A,I):this._resolve(A),!0)},E.prototype._drainQueue=function(){for(var k=this._queue,N=this._limit,A=this._values;k.length>0&&this._inFlight1){m.deprecated("calling Promise.try with more than 1 argument");var w=arguments[1],E=arguments[2];v=g.isArray(w)?_(x).apply(E,w):_(x).call(E,w)}else v=_(x)();var P=b._popContext();return m.checkForgottenReturns(v,P,"Promise.try",b),b._resolveFromSyncValue(v),b},c.prototype._resolveFromSyncValue=function(x){x===g.errorObj?this._rejectCallback(x.e,!1):this._resolveCallback(x,!0)}}},{"./util":36}],20:[function(s,a,l){var c=s("./util"),f=c.maybeWrapAsError,h=s("./errors").OperationalError,p=s("./es5"),m=/^(?:name|message|stack|cause)$/;function g(_){var x;if(function(E){return E instanceof Error&&p.getPrototypeOf(E)===Error.prototype}(_)){(x=new h(_)).name=_.name,x.message=_.message,x.stack=_.stack;for(var v=p.keys(_),b=0;b1){var re,le=new Array(G-1),me=0;for(re=0;re0&&typeof W!="function"&&typeof G!="function"){var re=".then() only accepts functions but was passed: "+_.classString(W);arguments.length>1&&(re+=", "+_.classString(G)),this._warn(re)}return this._then(W,G,void 0,void 0,void 0)},$.prototype.done=function(W,G){this._then(W,G,void 0,void 0,void 0)._setIsFinal()},$.prototype.spread=function(W){return typeof W!="function"?h("expecting a function but got "+_.classString(W)):this.all()._then(W,void 0,void 0,N,void 0)},$.prototype.toJSON=function(){var W={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(W.fulfillmentValue=this.value(),W.isFulfilled=!0):this.isRejected()&&(W.rejectionReason=this.reason(),W.isRejected=!0),W},$.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new I(this).promise()},$.prototype.error=function(W){return this.caught(_.originatesFromRejection,W)},$.getNewLibraryCopy=a.exports,$.is=function(W){return W instanceof $},$.fromNode=$.fromCallback=function(W){var G=new $(k);G._captureStackTrace();var re=arguments.length>1&&!!Object(arguments[1]).multiArgs,le=K(W)(oe(G,re));return le===ce&&G._rejectCallback(le.e,!0),G._isFateSealed()||G._setAsyncGuaranteed(),G},$.all=function(W){return new I(W).promise()},$.cast=function(W){var G=V(W);return G instanceof $||((G=new $(k))._captureStackTrace(),G._setFulfilled(),G._rejectionHandler0=W),G},$.resolve=$.fulfilled=$.cast,$.reject=$.rejected=function(W){var G=new $(k);return G._captureStackTrace(),G._rejectCallback(W,!0),G},$.setScheduler=function(W){if(typeof W!="function")throw new E("expecting a function but got "+_.classString(W));return b.setScheduler(W)},$.prototype._then=function(W,G,re,le,me){var O=me!==void 0,R=O?me:new $(k),F=this._target(),ee=F._bitField;O||(R._propagateFrom(this,3),R._captureStackTrace(),le===void 0&&2097152&this._bitField&&(le=50397184&ee?this._boundValue():F===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,R));var Q=m();if(50397184&ee){var se,ve,Le=F._settlePromiseCtx;33554432&ee?(ve=F._rejectionHandler0,se=W):16777216&ee?(ve=F._fulfillmentHandler0,se=G,F._unsetRejectionIsUnhandled()):(Le=F._settlePromiseLateCancellationObserver,ve=new P("late cancellation observer"),F._attachExtraTrace(ve),se=G),b.invoke(Le,F,{handler:Q===null?se:typeof se=="function"&&_.domainBind(Q,se),promise:R,receiver:le,value:ve})}else F._addCallbacks(W,G,R,le,Q);return R},$.prototype._length=function(){return 65535&this._bitField},$.prototype._isFateSealed=function(){return(117506048&this._bitField)!=0},$.prototype._isFollowing=function(){return(67108864&this._bitField)==67108864},$.prototype._setLength=function(W){this._bitField=-65536&this._bitField|65535&W},$.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},$.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},$.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},$.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},$.prototype._isFinal=function(){return(4194304&this._bitField)>0},$.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},$.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},$.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},$.prototype._setAsyncGuaranteed=function(){b.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},$.prototype._receiverAt=function(W){var G=W===0?this._receiver0:this[4*W-4+3];if(G!==g)return G===void 0&&this._isBound()?this._boundValue():G},$.prototype._promiseAt=function(W){return this[4*W-4+2]},$.prototype._fulfillmentHandlerAt=function(W){return this[4*W-4+0]},$.prototype._rejectionHandlerAt=function(W){return this[4*W-4+1]},$.prototype._boundValue=function(){},$.prototype._migrateCallback0=function(W){W._bitField;var G=W._fulfillmentHandler0,re=W._rejectionHandler0,le=W._promise0,me=W._receiverAt(0);me===void 0&&(me=g),this._addCallbacks(G,re,le,me,null)},$.prototype._migrateCallbackAt=function(W,G){var re=W._fulfillmentHandlerAt(G),le=W._rejectionHandlerAt(G),me=W._promiseAt(G),O=W._receiverAt(G);O===void 0&&(O=g),this._addCallbacks(re,le,me,O,null)},$.prototype._addCallbacks=function(W,G,re,le,me){var O=this._length();if(O>=65531&&(O=0,this._setLength(0)),O===0)this._promise0=re,this._receiver0=le,typeof W=="function"&&(this._fulfillmentHandler0=me===null?W:_.domainBind(me,W)),typeof G=="function"&&(this._rejectionHandler0=me===null?G:_.domainBind(me,G));else{var R=4*O-4;this[R+2]=re,this[R+3]=le,typeof W=="function"&&(this[R+0]=me===null?W:_.domainBind(me,W)),typeof G=="function"&&(this[R+1]=me===null?G:_.domainBind(me,G))}return this._setLength(O+1),O},$.prototype._proxy=function(W,G){this._addCallbacks(void 0,void 0,G,W,null)},$.prototype._resolveCallback=function(W,G){if(!(117506048&this._bitField)){if(W===this)return this._rejectCallback(c(),!1);var re=V(W,this);if(!(re instanceof $))return this._fulfill(W);G&&this._propagateFrom(re,2);var le=re._target();if(le!==this){var me=le._bitField;if(50397184&me)if(33554432&me)this._fulfill(le._value());else if(16777216&me)this._reject(le._reason());else{var F=new P("late cancellation observer");le._attachExtraTrace(F),this._reject(F)}else{var O=this._length();O>0&&le._migrateCallback0(this);for(var R=1;R>>16)){if(W===this){var re=c();return this._attachExtraTrace(re),this._reject(re)}this._setFulfilled(),this._rejectionHandler0=W,(65535&G)>0&&(134217728&G?this._settlePromises():b.settlePromises(this))}},$.prototype._reject=function(W){var G=this._bitField;if(!((117506048&G)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=W,this._isFinal())return b.fatalError(W,_.isNode);(65535&G)>0?b.settlePromises(this):this._ensurePossibleRejectionHandled()}},$.prototype._fulfillPromises=function(W,G){for(var re=1;re0){if(16842752&W){var re=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,re,W),this._rejectPromises(G,re)}else{var le=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,le,W),this._fulfillPromises(G,le)}this._setLength(0)}this._clearCancellationData()},$.prototype._settledValue=function(){var W=this._bitField;return 33554432&W?this._rejectionHandler0:16777216&W?this._fulfillmentHandler0:void 0},$.defer=$.pending=function(){return X.deprecated("Promise.defer","new Promise"),{promise:new $(k),resolve:D,reject:B}},_.notEnumerableProp($,"_makeSelfResolutionError",c),s("./method")($,k,V,h,X),s("./bind")($,k,V,X),s("./cancel")($,I,h,X),s("./direct_resolve")($),s("./synchronous_inspection")($),s("./join")($,I,V,k,b,m),$.Promise=$,$.version="3.5.1",s("./map.js")($,I,h,V,k,X),s("./call_get.js")($),s("./using.js")($,h,V,q,k,X),s("./timers.js")($,k,X),s("./generators.js")($,h,k,V,p,X),s("./nodeify.js")($),s("./promisify.js")($,k),s("./props.js")($,I,V,h),s("./race.js")($,k,V,h),s("./reduce.js")($,I,h,V,k,X),s("./settle.js")($,I,X),s("./some.js")($,I,h),s("./filter.js")($,k),s("./each.js")($,k),s("./any.js")($),_.toFastProperties($),_.toFastProperties($.prototype),ne({a:1}),ne({b:2}),ne({c:3}),ne(1),ne(function(){}),ne(void 0),ne(!1),ne(new $(k)),X.setBounds(v.firstLineError,_.lastLineError),$}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36}],23:[function(s,a,l){a.exports=function(c,f,h,p,m){var g=s("./util");function _(x){var v=this._promise=new c(f);x instanceof c&&v._propagateFrom(x,3),v._setOnCancel(this),this._values=x,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return g.isArray,g.inherits(_,m),_.prototype.length=function(){return this._length},_.prototype.promise=function(){return this._promise},_.prototype._init=function x(v,b){var w=h(this._values,this._promise);if(w instanceof c){var E=(w=w._target())._bitField;if(this._values=w,(50397184&E)==0)return this._promise._setAsyncGuaranteed(),w._then(x,this._reject,void 0,this,b);if(!(33554432&E))return 16777216&E?this._reject(w._reason()):this._cancel();w=w._value()}if((w=g.asArray(w))!==null)w.length!==0?this._iterate(w):b===-5?this._resolveEmptyArray():this._resolve(function(k){switch(b){case-2:return[];case-3:return{};case-6:return new Map}}());else{var P=p("expecting an array or an iterable object but got "+g.classString(w)).reason();this._promise._rejectCallback(P,!1)}},_.prototype._iterate=function(x){var v=this.getActualLength(x.length);this._length=v,this._values=this.shouldCopyValues()?new Array(v):this._values;for(var b=this._promise,w=!1,E=null,P=0;P=this._length&&(this._resolve(this._values),!0)},_.prototype._promiseCancelled=function(){return this._cancel(),!0},_.prototype._promiseRejected=function(x){return this._totalResolved++,this._reject(x),!0},_.prototype._resultCancelled=function(){if(!this._isResolved()){var x=this._values;if(this._cancel(),x instanceof c)x.cancel();else for(var v=0;v=this._length){var k;if(this._isMap)k=function(I){for(var Y=new m,q=I.length/2|0,X=0;X>1},c.prototype.props=function(){return w(this)},c.props=function(E){return w(E)}}},{"./es5":13,"./util":36}],26:[function(s,a,l){function c(f){this._capacity=f,this._length=0,this._front=0}c.prototype._willBeOverCapacity=function(f){return this._capacity"u"){var p=i.setImmediate,m=r.nextTick;c=f.isRecentNode?function(_){p.call(i,_)}:function(_){m.call(r,_)}}else if(typeof h=="function"&&typeof h.resolve=="function"){var g=h.resolve();c=function(_){g.then(_)}}else c=typeof MutationObserver>"u"||typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova)?o!==void 0?function(_){o(_)}:typeof setTimeout<"u"?function(_){setTimeout(_,0)}:function(){throw new Error(`No async scheduler available + + See http://goo.gl/MqrFmX +`)}:function(){var _=document.createElement("div"),x={attributes:!0},v=!1,b=document.createElement("div");return new MutationObserver(function(){_.classList.toggle("foo"),v=!1}).observe(b,x),function(w){var E=new MutationObserver(function(){E.disconnect(),w()});E.observe(_,x),v||(v=!0,b.classList.toggle("foo"))}}();a.exports=c},{"./util":36}],30:[function(s,a,l){a.exports=function(c,f,h){var p=c.PromiseInspection;function m(g){this.constructor$(g)}s("./util").inherits(m,f),m.prototype._promiseResolved=function(g,_){return this._values[g]=_,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},m.prototype._promiseFulfilled=function(g,_){var x=new p;return x._bitField=33554432,x._settledValueField=g,this._promiseResolved(_,x)},m.prototype._promiseRejected=function(g,_){var x=new p;return x._bitField=16777216,x._settledValueField=g,this._promiseResolved(_,x)},c.settle=function(g){return h.deprecated(".settle()",".reflect()"),new m(g).promise()},c.prototype.settle=function(){return c.settle(this)}}},{"./util":36}],31:[function(s,a,l){a.exports=function(c,f,h){var p=s("./util"),m=s("./errors").RangeError,g=s("./errors").AggregateError,_=p.isArray,x={};function v(w){this.constructor$(w),this._howMany=0,this._unwrap=!1,this._initialized=!1}function b(w,E){if((0|E)!==E||E<0)return h(`expecting a positive integer + + See http://goo.gl/MqrFmX +`);var P=new v(w),k=P.promise();return P.setHowMany(E),P.init(),k}p.inherits(v,f),v.prototype._init=function(){if(this._initialized)if(this._howMany!==0){this._init$(void 0,-5);var w=_(this._values);!this._isResolved()&&w&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},v.prototype.init=function(){this._initialized=!0,this._init()},v.prototype.setUnwrap=function(){this._unwrap=!0},v.prototype.howMany=function(){return this._howMany},v.prototype.setHowMany=function(w){this._howMany=w},v.prototype._promiseFulfilled=function(w){return this._addFulfilled(w),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},v.prototype._promiseRejected=function(w){return this._addRejected(w),this._checkOutcome()},v.prototype._promiseCancelled=function(){return this._values instanceof c||this._values==null?this._cancel():(this._addRejected(x),this._checkOutcome())},v.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var w=new g,E=this.length();E0?this._reject(w):this._cancel(),!0}return!1},v.prototype._fulfilled=function(){return this._totalResolved},v.prototype._rejected=function(){return this._values.length-this.length()},v.prototype._addRejected=function(w){this._values.push(w)},v.prototype._addFulfilled=function(w){this._values[this._totalResolved++]=w},v.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},v.prototype._getRangeError=function(w){var E="Input array must contain at least "+this._howMany+" items but contains only "+w+" items";return new m(E)},v.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},c.some=function(w,E){return b(w,E)},c.prototype.some=function(w){return b(this,w)},c._SomePromiseArray=v}},{"./errors":12,"./util":36}],32:[function(s,a,l){a.exports=function(c){function f(v){v!==void 0?(v=v._target(),this._bitField=v._bitField,this._settledValueField=v._isFateSealed()?v._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}f.prototype._settledValue=function(){return this._settledValueField};var h=f.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(`cannot get fulfillment value of a non-fulfilled promise + + See http://goo.gl/MqrFmX +`);return this._settledValue()},p=f.prototype.error=f.prototype.reason=function(){if(!this.isRejected())throw new TypeError(`cannot get rejection reason of a non-rejected promise + + See http://goo.gl/MqrFmX +`);return this._settledValue()},m=f.prototype.isFulfilled=function(){return(33554432&this._bitField)!=0},g=f.prototype.isRejected=function(){return(16777216&this._bitField)!=0},_=f.prototype.isPending=function(){return(50397184&this._bitField)==0},x=f.prototype.isResolved=function(){return(50331648&this._bitField)!=0};f.prototype.isCancelled=function(){return(8454144&this._bitField)!=0},c.prototype.__isCancelled=function(){return(65536&this._bitField)==65536},c.prototype._isCancelled=function(){return this._target().__isCancelled()},c.prototype.isCancelled=function(){return(8454144&this._target()._bitField)!=0},c.prototype.isPending=function(){return _.call(this._target())},c.prototype.isRejected=function(){return g.call(this._target())},c.prototype.isFulfilled=function(){return m.call(this._target())},c.prototype.isResolved=function(){return x.call(this._target())},c.prototype.value=function(){return h.call(this._target())},c.prototype.reason=function(){var v=this._target();return v._unsetRejectionIsUnhandled(),p.call(v)},c.prototype._value=function(){return this._settledValue()},c.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},c.PromiseInspection=f}},{}],33:[function(s,a,l){a.exports=function(c,f){var h=s("./util"),p=h.errorObj,m=h.isObject,g={}.hasOwnProperty;return function(_,x){if(m(_)){if(_ instanceof c)return _;var v=function(w){try{return function(E){return E.then}(w)}catch(E){return p.e=E,p}}(_);if(v===p){x&&x._pushContext();var b=c.reject(v.e);return x&&x._popContext(),b}if(typeof v=="function")return function(w){try{return g.call(w,"_promise0")}catch{return!1}}(_)?(b=new c(f),_._then(b._fulfill,b._reject,void 0,b,null),b):function(w,E,P){var k=new c(f),N=k;P&&P._pushContext(),k._captureStackTrace(),P&&P._popContext();var A=!0,V=h.tryCatch(E).call(w,function(I){k&&(k._resolveCallback(I),k=null)},function(I){k&&(k._rejectCallback(I,A,!0),k=null)});return A=!1,k&&V===p&&(k._rejectCallback(V.e,!0,!0),k=null),N}(_,v,x)}return _}}},{"./util":36}],34:[function(s,a,l){a.exports=function(c,f,h){var p=s("./util"),m=c.TimeoutError;function g(w){this.handle=w}g.prototype._resultCancelled=function(){clearTimeout(this.handle)};var _=function(w){return x(+this).thenReturn(w)},x=c.delay=function(w,E){var P,k;return E!==void 0?(P=c.resolve(E)._then(_,null,null,w,void 0),h.cancellation()&&E instanceof c&&P._setOnCancel(E)):(P=new c(f),k=setTimeout(function(){P._fulfill()},+w),h.cancellation()&&P._setOnCancel(new g(k)),P._captureStackTrace()),P._setAsyncGuaranteed(),P};function v(w){return clearTimeout(this.handle),w}function b(w){throw clearTimeout(this.handle),w}c.prototype.delay=function(w){return x(w,this)},c.prototype.timeout=function(w,E){var P,k;w=+w;var N=new g(setTimeout(function(){P.isPending()&&function(A,V,I){var Y;Y=typeof V!="string"?V instanceof Error?V:new m("operation timed out"):new m(V),p.markAsOriginatingFromRejection(Y),A._attachExtraTrace(Y),A._reject(Y),I!=null&&I.cancel()}(P,E,k)},w));return h.cancellation()?(k=this.then(),(P=k._then(v,b,void 0,N,void 0))._setOnCancel(N)):P=this._then(v,b,void 0,N,void 0),P}}},{"./util":36}],35:[function(s,a,l){a.exports=function(c,f,h,p,m,g){var _=s("./util"),x=s("./errors").TypeError,v=s("./util").inherits,b=_.errorObj,w=_.tryCatch,E={};function P(Y){setTimeout(function(){throw Y},0)}function k(Y,q){var X=0,Z=Y.length,J=new c(m);return function oe(){if(X>=Z)return J._fulfill();var ce=function(K){var $=h(K);return $!==K&&typeof K._isDisposable=="function"&&typeof K._getDisposer=="function"&&K._isDisposable()&&$._setDisposable(K._getDisposer()),$}(Y[X++]);if(ce instanceof c&&ce._isDisposable()){try{ce=h(ce._getDisposer().tryDispose(q),Y.promise)}catch(K){return P(K)}if(ce instanceof c)return ce._then(oe,P,null,null,null)}oe()}(),J}function N(Y,q,X){this._data=Y,this._promise=q,this._context=X}function A(Y,q,X){this.constructor$(Y,q,X)}function V(Y){return N.isDisposer(Y)?(this.resources[this.index]._setDisposable(Y),Y.promise()):Y}function I(Y){this.length=Y,this.promise=null,this[Y-1]=null}N.prototype.data=function(){return this._data},N.prototype.promise=function(){return this._promise},N.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():E},N.prototype.tryDispose=function(Y){var q=this.resource(),X=this._context;X!==void 0&&X._pushContext();var Z=q!==E?this.doDispose(q,Y):null;return X!==void 0&&X._popContext(),this._promise._unsetDisposable(),this._data=null,Z},N.isDisposer=function(Y){return Y!=null&&typeof Y.resource=="function"&&typeof Y.tryDispose=="function"},v(A,N),A.prototype.doDispose=function(Y,q){return this.data().call(Y,Y,q)},I.prototype._resultCancelled=function(){for(var Y=this.length,q=0;q0},c.prototype._getDisposer=function(){return this._disposer},c.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},c.prototype.disposer=function(Y){if(typeof Y=="function")return new A(Y,this,p());throw new x}}},{"./errors":12,"./util":36}],36:[function(s,a,l){var c,f=s("./es5"),h=typeof navigator>"u",p={e:{}},m=typeof self<"u"?self:typeof window<"u"?window:i!==void 0?i:this!==void 0?this:null;function g(){try{var Z=c;return c=null,Z.apply(this,arguments)}catch(J){return p.e=J,p}}function _(Z){return Z==null||Z===!0||Z===!1||typeof Z=="string"||typeof Z=="number"}function x(Z,J,oe){if(_(Z))return Z;var ce={value:oe,configurable:!0,enumerable:!1,writable:!0};return f.defineProperty(Z,J,ce),Z}var v=function(){var Z=[Array.prototype,Object.prototype,Function.prototype],J=function(K){for(var $=0;$1,ce=J.length>0&&!(J.length===1&&J[0]==="constructor"),K=b.test(Z+"")&&f.names(Z).length>0;if(oe||ce||K)return!0}return!1}catch{return!1}},isIdentifier:function(Z){return w.test(Z)},inheritedDataKeys:v,getDataPropertyOrDefault:function(Z,J,oe){if(!f.isES5)return{}.hasOwnProperty.call(Z,J)?Z[J]:void 0;var ce=Object.getOwnPropertyDescriptor(Z,J);return ce!=null?ce.get==null&&ce.set==null?ce.value:oe:void 0},thrower:function(Z){throw Z},isArray:f.isArray,asArray:V,notEnumerableProp:x,isPrimitive:_,isObject:function(Z){return typeof Z=="function"||typeof Z=="object"&&Z!==null},isError:P,canEvaluate:h,errorObj:p,tryCatch:function(Z){return c=Z,g},inherits:function(Z,J){var oe={}.hasOwnProperty;function ce(){for(var K in this.constructor=Z,this.constructor$=J,J.prototype)oe.call(J.prototype,K)&&K.charAt(K.length-1)!=="$"&&(this[K+"$"]=J.prototype[K])}return ce.prototype=J.prototype,Z.prototype=new ce,Z.prototype},withAppended:function(Z,J){var oe,ce=Z.length,K=new Array(ce+1);for(oe=0;oe10||Z[0]>0}(),X.isNode&&X.toFastProperties(r);try{throw new Error}catch(Z){X.lastLineError=Z}a.exports=X},{"./es5":13}]},{},[4])(4),typeof window<"u"&&window!==null?window.P=window.Promise:typeof self<"u"&&self!==null&&(self.P=self.Promise)}).call(this,n(4),n(0),n(11).setImmediate)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(r,i){if(!i.eol&&r){for(var o=0,s=r.length;o0?(typeof B=="string"||le.objectMode||Object.getPrototypeOf(B)===f.prototype||(B=function(me){return f.from(me)}(B)),W?le.endEmitted?D.emit("error",new Error("stream.unshift() after end event")):k(D,le,B,!0):le.ended?D.emit("error",new Error("stream.push() after EOF")):(le.reading=!1,le.decoder&&!ne?(B=le.decoder.write(B),le.objectMode||B.length!==0?k(D,le,B,!1):Y(D,le)):k(D,le,B,!1))):W||(le.reading=!1)),function(me){return!me.ended&&(me.needReadable||me.lengthB.highWaterMark&&(B.highWaterMark=function(ne){return ne>=N?ne=N:(ne--,ne|=ne>>>1,ne|=ne>>>2,ne|=ne>>>4,ne|=ne>>>8,ne|=ne>>>16,ne++),ne}(D)),D<=B.length?D:B.ended?B.length:(B.needReadable=!0,0))}function V(D){var B=D._readableState;B.needReadable=!1,B.emittedReadable||(g("emitReadable",B.flowing),B.emittedReadable=!0,B.sync?o.nextTick(I,D):I(D))}function I(D){g("emit readable"),D.emit("readable"),J(D)}function Y(D,B){B.readingMore||(B.readingMore=!0,o.nextTick(q,D,B))}function q(D,B){for(var ne=B.length;!B.reading&&!B.flowing&&!B.ended&&B.length=B.length?(ne=B.decoder?B.buffer.join(""):B.buffer.length===1?B.buffer.head.data:B.buffer.concat(B.length),B.buffer.clear()):ne=function(W,G,re){var le;return WQ.length?Q.length:me;if(se===Q.length?ee+=Q:ee+=Q.slice(0,me),(me-=se)==0){se===Q.length?(++F,R.next?O.head=R.next:O.head=O.tail=null):(O.head=R,R.data=Q.slice(se));break}++F}return O.length-=F,ee}(W,G):function(me,O){var R=f.allocUnsafe(me),F=O.head,ee=1;for(F.data.copy(R),me-=F.data.length;F=F.next;){var Q=F.data,se=me>Q.length?Q.length:me;if(Q.copy(R,R.length-me,0,se),(me-=se)==0){se===Q.length?(++ee,F.next?O.head=F.next:O.head=O.tail=null):(O.head=F,F.data=Q.slice(se));break}++ee}return O.length-=ee,R}(W,G),le}(D,B.buffer,B.decoder),ne);var ne}function ce(D){var B=D._readableState;if(B.length>0)throw new Error('"endReadable()" called on non-empty stream');B.endEmitted||(B.ended=!0,o.nextTick(K,B,D))}function K(D,B){D.endEmitted||D.length!==0||(D.endEmitted=!0,B.readable=!1,B.emit("end"))}function $(D,B){for(var ne=0,W=D.length;ne=B.highWaterMark||B.ended))return g("read: emitReadable",B.length,B.ended),B.length===0&&B.ended?ce(this):V(this),null;if((D=A(D,B))===0&&B.ended)return B.length===0&&ce(this),null;var W,G=B.needReadable;return g("need readable",G),(B.length===0||B.length-D0?oe(D,B):null)===null?(B.needReadable=!0,D=0):B.length-=D,B.length===0&&(B.ended||(B.needReadable=!0),ne!==D&&B.ended&&ce(this)),W!==null&&this.emit("data",W),W},E.prototype._read=function(D){this.emit("error",new Error("_read() is not implemented"))},E.prototype.pipe=function(D,B){var ne=this,W=this._readableState;switch(W.pipesCount){case 0:W.pipes=D;break;case 1:W.pipes=[W.pipes,D];break;default:W.pipes.push(D)}W.pipesCount+=1,g("pipe count=%d opts=%j",W.pipesCount,B);var G=B&&B.end===!1||D===i.stdout||D===i.stderr?se:re;function re(){g("onend"),D.end()}W.endEmitted?o.nextTick(G):ne.once("end",G),D.on("unpipe",function ve(Le,fe){g("onunpipe"),Le===ne&&fe&&fe.hasUnpiped===!1&&(fe.hasUnpiped=!0,g("cleanup"),D.removeListener("close",ee),D.removeListener("finish",Q),D.removeListener("drain",le),D.removeListener("error",F),D.removeListener("unpipe",ve),ne.removeListener("end",re),ne.removeListener("end",se),ne.removeListener("data",R),me=!0,!W.awaitDrain||D._writableState&&!D._writableState.needDrain||le())});var le=function(ve){return function(){var Le=ve._readableState;g("pipeOnDrain",Le.awaitDrain),Le.awaitDrain&&Le.awaitDrain--,Le.awaitDrain===0&&l(ve,"data")&&(Le.flowing=!0,J(ve))}}(ne);D.on("drain",le);var me=!1,O=!1;function R(ve){g("ondata"),O=!1,D.write(ve)!==!1||O||((W.pipesCount===1&&W.pipes===D||W.pipesCount>1&&$(W.pipes,D)!==-1)&&!me&&(g("false write response, pause",ne._readableState.awaitDrain),ne._readableState.awaitDrain++,O=!0),ne.pause())}function F(ve){g("onerror",ve),se(),D.removeListener("error",F),l(D,"error")===0&&D.emit("error",ve)}function ee(){D.removeListener("finish",Q),se()}function Q(){g("onfinish"),D.removeListener("close",ee),se()}function se(){g("unpipe"),ne.unpipe(D)}return ne.on("data",R),function(ve,Le,fe){if(typeof ve.prependListener=="function")return ve.prependListener(Le,fe);ve._events&&ve._events[Le]?a(ve._events[Le])?ve._events[Le].unshift(fe):ve._events[Le]=[fe,ve._events[Le]]:ve.on(Le,fe)}(D,"error",F),D.once("close",ee),D.once("finish",Q),D.emit("pipe",ne),W.flowing||(g("pipe resume"),ne.resume()),D},E.prototype.unpipe=function(D){var B=this._readableState,ne={hasUnpiped:!1};if(B.pipesCount===0)return this;if(B.pipesCount===1)return D&&D!==B.pipes?this:(D||(D=B.pipes),B.pipes=null,B.pipesCount=0,B.flowing=!1,D&&D.emit("unpipe",this,ne),this);if(!D){var W=B.pipes,G=B.pipesCount;B.pipes=null,B.pipesCount=0,B.flowing=!1;for(var re=0;re>5==6?2:g>>4==14?3:g>>3==30?4:g>>6==2?-1:-2}function a(g){var _=this.lastTotal-this.lastNeed,x=function(v,b,w){if((192&b[0])!=128)return v.lastNeed=0,"�";if(v.lastNeed>1&&b.length>1){if((192&b[1])!=128)return v.lastNeed=1,"�";if(v.lastNeed>2&&b.length>2&&(192&b[2])!=128)return v.lastNeed=2,"�"}}(this,g);return x!==void 0?x:this.lastNeed<=g.length?(g.copy(this.lastChar,_,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(g.copy(this.lastChar,_,0,g.length),void(this.lastNeed-=g.length))}function l(g,_){if((g.length-_)%2==0){var x=g.toString("utf16le",_);if(x){var v=x.charCodeAt(x.length-1);if(v>=55296&&v<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1],x.slice(0,-1)}return x}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",_,g.length-1)}function c(g){var _=g&&g.length?this.write(g):"";if(this.lastNeed){var x=this.lastTotal-this.lastNeed;return _+this.lastChar.toString("utf16le",0,x)}return _}function f(g,_){var x=(g.length-_)%3;return x===0?g.toString("base64",_):(this.lastNeed=3-x,this.lastTotal=3,x===1?this.lastChar[0]=g[g.length-1]:(this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1]),g.toString("base64",_,g.length-x))}function h(g){var _=g&&g.length?this.write(g):"";return this.lastNeed?_+this.lastChar.toString("base64",0,3-this.lastNeed):_}function p(g){return g.toString(this.encoding)}function m(g){return g&&g.length?this.write(g):""}t.StringDecoder=o,o.prototype.write=function(g){if(g.length===0)return"";var _,x;if(this.lastNeed){if((_=this.fillLast(g))===void 0)return"";x=this.lastNeed,this.lastNeed=0}else x=0;return x=0?(k>0&&(b.lastNeed=k-1),k):--P=0?(k>0&&(b.lastNeed=k-2),k):--P=0?(k>0&&(k===2?k=0:b.lastNeed=k-3),k):0}(this,g,_);if(!this.lastNeed)return g.toString("utf8",_);this.lastTotal=x;var v=g.length-(x-this.lastNeed);return g.copy(this.lastChar,0,v),g.toString("utf8",_,v)},o.prototype.fillLast=function(g){if(this.lastNeed<=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length}},function(e,t,n){e.exports=o;var r=n(1),i=n(5);function o(l){if(!(this instanceof o))return new o(l);r.call(this,l),this._transformState={afterTransform:function(c,f){var h=this._transformState;h.transforming=!1;var p=h.writecb;if(!p)return this.emit("error",new Error("write callback called multiple times"));h.writechunk=null,h.writecb=null,f!=null&&this.push(f),p(c);var m=this._readableState;m.reading=!1,(m.needReadable||m.length-1&&s.push(i[a]);return s},t.trimLeft=String.prototype.trimLeft?function(i){return i.trimLeft()}:function(i){return i.replace(/^\s+/,"")},t.trimRight=String.prototype.trimRight?function(i){return i.trimRight()}:function(i){return i.replace(/\s+$/,"")}}).call(this,n(3).Buffer)},function(e,t,n){var r=this&&this.__extends||function(){var o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,a){s.__proto__=a}||function(s,a){for(var l in a)a.hasOwnProperty(l)&&(s[l]=a[l])};return function(s,a){function l(){this.constructor=s}o(s,a),s.prototype=a===null?Object.create(a):(l.prototype=a.prototype,new l)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=function(o){function s(a,l,c){var f=o.call(this,"Error: "+a+". JSON Line number: "+l+(c?" near: "+c:""))||this;return f.err=a,f.line=l,f.extra=c,f.name="CSV Parse Error",f}return r(s,o),s.column_mismatched=function(a,l){return new s("column_mismatched",a,l)},s.unclosed_quote=function(a,l){return new s("unclosed_quote",a,l)},s.fromJSON=function(a){return new s(a.err,a.line,a.extra)},s.prototype.toJSON=function(){return{err:this.err,line:this.line,extra:this.extra}},s}(Error);t.default=i},function(e,t,n){var r=n(18),i=n(68),o=n(69),s=r?r.toStringTag:void 0;e.exports=function(a){return a==null?a===void 0?"[object Undefined]":"[object Null]":s&&s in Object(a)?i(a):o(a)}},function(e,t){e.exports=function(n,r){return n===r||n!=n&&r!=r}},function(e,t,n){e.exports=n(33)},function(e,t,n){var r=n(34),i=function(o,s){return new r.Converter(o,s)};i.csv=i,i.Converter=r.Converter,e.exports=i},function(e,t,n){(function(r){var i=this&&this.__extends||function(){var m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,_){g.__proto__=_}||function(g,_){for(var x in _)_.hasOwnProperty(x)&&(g[x]=_[x])};return function(g,_){function x(){this.constructor=g}m(g,_),g.prototype=_===null?Object.create(_):(x.prototype=_.prototype,new x)}}(),o=this&&this.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(36),a=n(50),l=n(51),c=o(n(15)),f=n(52),h=n(105),p=function(m){function g(_,x){x===void 0&&(x={});var v=m.call(this,x)||this;return v.options=x,v.params=a.mergeParams(_),v.runtime=l.initParseRuntime(v),v.result=new h.Result(v),v.processor=new f.ProcessorLocal(v),v.once("error",function(b){r(function(){v.result.processError(b),v.emit("done",b)})}),v.once("done",function(){v.processor.destroy()}),v}return i(g,m),g.prototype.preRawData=function(_){return this.runtime.preRawDataHook=_,this},g.prototype.preFileLine=function(_){return this.runtime.preFileLineHook=_,this},g.prototype.subscribe=function(_,x,v){return this.parseRuntime.subscribe={onNext:_,onError:x,onCompleted:v},this},g.prototype.fromFile=function(_,x){var v=this,b=n(!function(){var w=new Error("Cannot find module 'fs'");throw w.code="MODULE_NOT_FOUND",w}());return b.exists(_,function(w){w?b.createReadStream(_,x).pipe(v):v.emit("error",new Error("File does not exist. Check to make sure the file path to your csv is correct."))}),this},g.prototype.fromStream=function(_){return _.pipe(this),this},g.prototype.fromString=function(_){_.toString();var x=new s.Readable,v=0;return x._read=function(b){if(v>=_.length)this.push(null);else{var w=_.substr(v,b);this.push(w),v+=b}},this.fromStream(x)},g.prototype.then=function(_,x){var v=this;return new c.default(function(b,w){v.parseRuntime.then={onfulfilled:function(E){b(_?_(E):E)},onrejected:function(E){x?b(x(E)):w(E)}}})},Object.defineProperty(g.prototype,"parseParam",{get:function(){return this.params},enumerable:!0,configurable:!0}),Object.defineProperty(g.prototype,"parseRuntime",{get:function(){return this.runtime},enumerable:!0,configurable:!0}),g.prototype._transform=function(_,x,v){var b=this;this.processor.process(_).then(function(w){if(w.length>0)return b.runtime.started=!0,b.result.processResult(w)}).then(function(){b.emit("drained"),v()},function(w){b.runtime.hasError=!0,b.runtime.error=w,b.emit("error",w),v()})},g.prototype._flush=function(_){var x=this;this.processor.flush().then(function(v){if(v.length>0)return x.result.processResult(v)}).then(function(){x.processEnd(_)},function(v){x.emit("error",v),_()})},g.prototype.processEnd=function(_){this.result.endProcess(),this.emit("done"),_()},Object.defineProperty(g.prototype,"parsedLineNumber",{get:function(){return this.runtime.parsedLineNumber},enumerable:!0,configurable:!0}),g}(s.Transform);t.Converter=p}).call(this,n(11).setImmediate)},function(e,t,n){(function(r,i){(function(o,s){if(!o.setImmediate){var a,l=1,c={},f=!1,h=o.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(o);p=p&&p.setTimeout?p:o,{}.toString.call(o.process)==="[object process]"?a=function(_){i.nextTick(function(){g(_)})}:function(){if(o.postMessage&&!o.importScripts){var _=!0,x=o.onmessage;return o.onmessage=function(){_=!1},o.postMessage("","*"),o.onmessage=x,_}}()?function(){var _="setImmediate$"+Math.random()+"$",x=function(v){v.source===o&&typeof v.data=="string"&&v.data.indexOf(_)===0&&g(+v.data.slice(_.length))};o.addEventListener?o.addEventListener("message",x,!1):o.attachEvent("onmessage",x),a=function(v){o.postMessage(_+v,"*")}}():o.MessageChannel?function(){var _=new MessageChannel;_.port1.onmessage=function(x){g(x.data)},a=function(x){_.port2.postMessage(x)}}():h&&"onreadystatechange"in h.createElement("script")?function(){var _=h.documentElement;a=function(x){var v=h.createElement("script");v.onreadystatechange=function(){g(x),v.onreadystatechange=null,_.removeChild(v),v=null},_.appendChild(v)}}():a=function(_){setTimeout(g,0,_)},p.setImmediate=function(_){typeof _!="function"&&(_=new Function(""+_));for(var x=new Array(arguments.length-1),v=0;v"u"?r===void 0?this:r:self)}).call(this,n(0),n(4))},function(e,t,n){e.exports=i;var r=n(12).EventEmitter;function i(){r.call(this)}n(2)(i,r),i.Readable=n(13),i.Writable=n(46),i.Duplex=n(47),i.Transform=n(48),i.PassThrough=n(49),i.Stream=i,i.prototype.pipe=function(o,s){var a=this;function l(_){o.writable&&o.write(_)===!1&&a.pause&&a.pause()}function c(){a.readable&&a.resume&&a.resume()}a.on("data",l),o.on("drain",c),o._isStdio||s&&s.end===!1||(a.on("end",h),a.on("close",p));var f=!1;function h(){f||(f=!0,o.end())}function p(){f||(f=!0,typeof o.destroy=="function"&&o.destroy())}function m(_){if(g(),r.listenerCount(this,"error")===0)throw _}function g(){a.removeListener("data",l),o.removeListener("drain",c),a.removeListener("end",h),a.removeListener("close",p),a.removeListener("error",m),o.removeListener("error",m),a.removeListener("end",g),a.removeListener("close",g),o.removeListener("close",g)}return a.on("error",m),o.on("error",m),a.on("end",g),a.on("close",g),o.on("close",g),o.emit("pipe",a),o}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(r){return n.call(r)=="[object Array]"}},function(e,t,n){t.byteLength=function(p){var m=c(p),g=m[0],_=m[1];return 3*(g+_)/4-_},t.toByteArray=function(p){for(var m,g=c(p),_=g[0],x=g[1],v=new o(3*(_+x)/4-x),b=0,w=x>0?_-4:_,E=0;E>16&255,v[b++]=m>>8&255,v[b++]=255&m;return x===2&&(m=i[p.charCodeAt(E)]<<2|i[p.charCodeAt(E+1)]>>4,v[b++]=255&m),x===1&&(m=i[p.charCodeAt(E)]<<10|i[p.charCodeAt(E+1)]<<4|i[p.charCodeAt(E+2)]>>2,v[b++]=m>>8&255,v[b++]=255&m),v},t.fromByteArray=function(p){for(var m,g=p.length,_=g%3,x=[],v=0,b=g-_;vb?b:v+16383));return _===1?(m=p[g-1],x.push(r[m>>2]+r[m<<4&63]+"==")):_===2&&(m=(p[g-2]<<8)+p[g-1],x.push(r[m>>10]+r[m>>4&63]+r[m<<2&63]+"=")),x.join("")};for(var r=[],i=[],o=typeof Uint8Array<"u"?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=s.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var g=p.indexOf("=");return g===-1&&(g=m),[g,g===m?0:4-g%4]}function f(p){return r[p>>18&63]+r[p>>12&63]+r[p>>6&63]+r[63&p]}function h(p,m,g){for(var _,x=[],v=m;v>1,p=-7,m=i?s-1:0,g=i?-1:1,_=n[r+m];for(m+=g,a=_&(1<<-p)-1,_>>=-p,p+=c;p>0;a=256*a+n[r+m],m+=g,p-=8);for(l=a&(1<<-p)-1,a>>=-p,p+=o;p>0;l=256*l+n[r+m],m+=g,p-=8);if(a===0)a=1-h;else{if(a===f)return l?NaN:1/0*(_?-1:1);l+=Math.pow(2,o),a-=h}return(_?-1:1)*l*Math.pow(2,a-o)},t.write=function(n,r,i,o,s,a){var l,c,f,h=8*a-s-1,p=(1<>1,g=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=o?0:a-1,x=o?1:-1,v=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(c=isNaN(r)?1:0,l=p):(l=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-l))<1&&(l--,f*=2),(r+=l+m>=1?g/f:g*Math.pow(2,1-m))*f>=2&&(l++,f/=2),l+m>=p?(c=0,l=p):l+m>=1?(c=(r*f-1)*Math.pow(2,s),l+=m):(c=r*Math.pow(2,m-1)*Math.pow(2,s),l=0));s>=8;n[i+_]=255&c,_+=x,c/=256,s-=8);for(l=l<0;n[i+_]=255&l,_+=x,l/=256,h-=8);n[i+_-x]|=128*v}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(r){return n.call(r)=="[object Array]"}},function(e,t){},function(e,t,n){var r=n(7).Buffer,i=n(43);function o(s,a,l){s.copy(a,l)}e.exports=function(){function s(){(function(a,l){if(!(a instanceof l))throw new TypeError("Cannot call a class as a function")})(this,s),this.head=null,this.tail=null,this.length=0}return s.prototype.push=function(a){var l={data:a,next:null};this.length>0?this.tail.next=l:this.head=l,this.tail=l,++this.length},s.prototype.unshift=function(a){var l={data:a,next:this.head};this.length===0&&(this.tail=l),this.head=l,++this.length},s.prototype.shift=function(){if(this.length!==0){var a=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,a}},s.prototype.clear=function(){this.head=this.tail=null,this.length=0},s.prototype.join=function(a){if(this.length===0)return"";for(var l=this.head,c=""+l.data;l=l.next;)c+=a+l.data;return c},s.prototype.concat=function(a){if(this.length===0)return r.alloc(0);if(this.length===1)return this.head.data;for(var l=r.allocUnsafe(a>>>0),c=this.head,f=0;c;)o(c.data,l,f),f+=c.data.length,c=c.next;return l},s}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var s=i.inspect({length:this.length});return this.constructor.name+" "+s})},function(e,t){},function(e,t,n){(function(r){function i(o){try{if(!r.localStorage)return!1}catch{return!1}var s=r.localStorage[o];return s!=null&&String(s).toLowerCase()==="true"}e.exports=function(o,s){if(i("noDeprecation"))return o;var a=!1;return function(){if(!a){if(i("throwDeprecation"))throw new Error(s);i("traceDeprecation")?console.trace(s):console.warn(s),a=!0}return o.apply(this,arguments)}}}).call(this,n(0))},function(e,t,n){e.exports=o;var r=n(27),i=n(5);function o(s){if(!(this instanceof o))return new o(s);r.call(this,s)}i.inherits=n(2),i.inherits(o,r),o.prototype._transform=function(s,a,l){l(null,s)}},function(e,t,n){e.exports=n(14)},function(e,t,n){e.exports=n(1)},function(e,t,n){e.exports=n(13).Transform},function(e,t,n){e.exports=n(13).PassThrough},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.mergeParams=function(r){var i={delimiter:",",ignoreColumns:void 0,includeColumns:void 0,quote:'"',trim:!0,checkType:!1,ignoreEmpty:!1,noheader:!1,headers:void 0,flatKeys:!1,maxRowLength:0,checkColumn:!1,escape:'"',colParser:{},eol:void 0,alwaysSplitAtEOL:!1,output:"json",nullObject:!1,downstreamFormat:"line",needEmitAll:!0};for(var o in r||(r={}),r)r.hasOwnProperty(o)&&(Array.isArray(r[o])?i[o]=[].concat(r[o]):i[o]=r[o]);return i}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.initParseRuntime=function(r){var i=r.parseParam,o={needProcessIgnoreColumn:!1,needProcessIncludeColumn:!1,selectedColumns:void 0,ended:!1,hasError:!1,error:void 0,delimiter:r.parseParam.delimiter,eol:r.parseParam.eol,columnConv:[],headerType:[],headerTitle:[],headerFlag:[],headers:void 0,started:!1,parsedLineNumber:0,columnValueSetter:[]};return i.ignoreColumns&&(o.needProcessIgnoreColumn=!0),i.includeColumns&&(o.needProcessIncludeColumn=!0),o}},function(e,t,n){(function(r){var i=this&&this.__extends||function(){var x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,b){v.__proto__=b}||function(v,b){for(var w in b)b.hasOwnProperty(w)&&(v[w]=b[w])};return function(v,b){function w(){this.constructor=v}x(v,b),v.prototype=b===null?Object.create(b):(w.prototype=b.prototype,new w)}}(),o=this&&this.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(53),a=o(n(15)),l=n(54),c=o(n(16)),f=n(57),h=n(28),p=n(58),m=o(n(59)),g=o(n(29)),_=function(x){function v(){var b=x!==null&&x.apply(this,arguments)||this;return b.rowSplit=new p.RowSplit(b.converter),b.eolEmitted=!1,b._needEmitEol=void 0,b.headEmitted=!1,b._needEmitHead=void 0,b}return i(v,x),v.prototype.flush=function(){var b=this;if(this.runtime.csvLineBuffer&&this.runtime.csvLineBuffer.length>0){var w=this.runtime.csvLineBuffer;return this.runtime.csvLineBuffer=void 0,this.process(w,!0).then(function(E){return b.runtime.csvLineBuffer&&b.runtime.csvLineBuffer.length>0?a.default.reject(g.default.unclosed_quote(b.runtime.parsedLineNumber,b.runtime.csvLineBuffer.toString())):a.default.resolve(E)})}return a.default.resolve([])},v.prototype.destroy=function(){return a.default.resolve()},Object.defineProperty(v.prototype,"needEmitEol",{get:function(){return this._needEmitEol===void 0&&(this._needEmitEol=this.converter.listeners("eol").length>0),this._needEmitEol},enumerable:!0,configurable:!0}),Object.defineProperty(v.prototype,"needEmitHead",{get:function(){return this._needEmitHead===void 0&&(this._needEmitHead=this.converter.listeners("header").length>0),this._needEmitHead},enumerable:!0,configurable:!0}),v.prototype.process=function(b,w){var E,P=this;return w===void 0&&(w=!1),E=w?b.toString():l.prepareData(b,this.converter.parseRuntime),a.default.resolve().then(function(){return P.runtime.preRawDataHook?P.runtime.preRawDataHook(E):E}).then(function(k){return k&&k.length>0?P.processCSV(k,w):a.default.resolve([])})},v.prototype.processCSV=function(b,w){var E=this,P=this.params,k=this.runtime;k.eol||c.default(b,k),this.needEmitEol&&!this.eolEmitted&&k.eol&&(this.converter.emit("eol",k.eol),this.eolEmitted=!0),P.ignoreEmpty&&!k.started&&(b=h.trimLeft(b));var N=f.stringToLines(b,k);return w?(N.lines.push(N.partial),N.partial=""):this.prependLeftBuf(h.bufFromString(N.partial)),N.lines.length>0?(k.preFileLineHook?this.runPreLineHook(N.lines):a.default.resolve(N.lines)).then(function(A){return k.started||E.runtime.headers?E.processCSVBody(A):E.processDataWithHead(A)}):a.default.resolve([])},v.prototype.processDataWithHead=function(b){if(this.params.noheader)this.params.headers?this.runtime.headers=this.params.headers:this.runtime.headers=[];else{for(var w="",E=[];b.length;){var P=w+b.shift(),k=this.rowSplit.parse(P);if(k.closed){E=k.cells,w="";break}w=P+c.default(P,this.runtime)}if(this.prependLeftBuf(h.bufFromString(w)),E.length===0)return[];this.params.headers?this.runtime.headers=this.params.headers:this.runtime.headers=E}return(this.runtime.needProcessIgnoreColumn||this.runtime.needProcessIncludeColumn)&&this.filterHeader(),this.needEmitHead&&!this.headEmitted&&(this.converter.emit("header",this.runtime.headers),this.headEmitted=!0),this.processCSVBody(b)},v.prototype.filterHeader=function(){if(this.runtime.selectedColumns=[],this.runtime.headers){for(var b=this.runtime.headers,w=0;w=N.length)I();else if(A.preFileLineHook){var Y=N[V],q=A.preFileLineHook(Y,A.parsedLineNumber+V);if(V++,q&&q.then)q.then(function(X){N[V-1]=X,k(N,A,V,I)});else{for(N[V-1]=q;V0?r.concat([h.csvLineBuffer,f]):f}(s,a);a.csvLineBuffer=void 0;var c=function(f,h){var p=f.length-1;if(128&f[p]){for(;(192&f[p])==128;)p--;p--}return p!=f.length-1?(h.csvLineBuffer=f.slice(p+1),f.slice(0,p+1)):f}(l,a).toString("utf8");return a.started===!1?o.default(c):c}}).call(this,n(3).Buffer)},function(e,t,n){(function(r){var i=n(56);e.exports=function(o){return typeof o=="string"&&o.charCodeAt(0)===65279?o.slice(1):r.isBuffer(o)&&i(o)&&o[0]===239&&o[1]===187&&o[2]===191?o.slice(3):o}}).call(this,n(3).Buffer)},function(e,t){e.exports=function(n){for(var r=0;r0),this._needEmitDelimiter},enumerable:!0,configurable:!0}),l.prototype.parse=function(c){if(c.length===0||this.conv.parseParam.ignoreEmpty&&c.trim().length===0)return{cells:[],closed:!0};var f=this.quote,h=this.trim;this.escape,(this.conv.parseRuntime.delimiter instanceof Array||this.conv.parseRuntime.delimiter.toLowerCase()==="auto")&&(this.conv.parseRuntime.delimiter=this.getDelimiter(c)),this.needEmitDelimiter&&!this.delimiterEmitted&&(this.conv.emit("delimiter",this.conv.parseRuntime.delimiter),this.delimiterEmitted=!0);var p=this.conv.parseRuntime.delimiter,m=c.split(p);if(f==="off"){if(h)for(var g=0;gh&&(p=m,h=g)}),p},l.prototype.isQuoteOpen=function(c){var f=this.quote,h=this.escape;return c[0]===f&&(c[1]!==f||c[1]===h&&(c[2]===f||c.length===2))},l.prototype.isQuoteClose=function(c){var f=this.quote,h=this.escape;this.conv.parseParam.trim&&(c=o.trimRight(c));for(var p=0,m=c.length-1;c[m]===f||c[m]===h;)m--,p++;return p%2!=0},l.prototype.escapeQuote=function(c){var f="es|"+this.quote+"|"+this.escape;this.cachedRegExp[f]===void 0&&(this.cachedRegExp[f]=new RegExp("\\"+this.escape+"\\"+this.quote,"g"));var h=this.cachedRegExp[f];return c.replace(h,this.quote)},l.prototype.parseMultiLines=function(c){for(var f=[],h="";c.length;){var p=h+c.shift(),m=this.parse(p);m.cells.length===0&&this.conv.parseParam.ignoreEmpty||(m.closed||this.conv.parseParam.alwaysSplitAtEOL?(this.conv.parseRuntime.selectedColumns?f.push(o.filterArray(m.cells,this.conv.parseRuntime.selectedColumns)):f.push(m.cells),h=""):h=p+(i.default(p,this.conv.parseRuntime)||` +`))}return{rowsCells:f,partial:h}},l}();t.RowSplit=a},function(e,t,n){var r=this&&this.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(29)),o=r(n(60)),s=/^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$/;function a(v,b,w){if(b.parseParam.checkColumn&&b.parseRuntime.headers&&v.length!==b.parseRuntime.headers.length)throw i.default.column_mismatched(b.parseRuntime.parsedLineNumber+w);return function(E,P,k){for(var N=!1,A={},V=0,I=E.length;V-1){for(var k=b.split("."),N=!0;k.length>0;)if(k.shift().length===0){N=!1;break}!N||E.parseParam.colParser[b]&&E.parseParam.colParser[b].flat?E.parseRuntime.columnValueSetter[P]=h:E.parseRuntime.columnValueSetter[P]=p}else E.parseRuntime.columnValueSetter[P]=h;E.parseParam.nullObject===!0&&w==="null"&&(w=null),E.parseRuntime.columnValueSetter[P](v,b,w)}function h(v,b,w){v[b]=w}function p(v,b,w){o.default(v,b,w)}function m(v,b,w,E){return E.parseRuntime.headerType[w]?E.parseRuntime.headerType[w]:b.indexOf("number#!")>-1?E.parseRuntime.headerType[w]=g:b.indexOf("string#!")>-1?E.parseRuntime.headerType[w]=_:E.parseParam.checkType?E.parseRuntime.headerType[w]=x:E.parseRuntime.headerType[w]=_}function g(v){var b=parseFloat(v);return isNaN(b)?v:b}function _(v){return v.toString()}function x(v){var b=v.trim();return b===""?_(v):s.test(b)?g(v):b.length===5&&b.toLowerCase()==="false"||b.length===4&&b.toLowerCase()==="true"?function(w){var E=w.trim();return E.length!==5||E.toLowerCase()!=="false"}(v):b[0]==="{"&&b[b.length-1]==="}"||b[0]==="["&&b[b.length-1]==="]"?function(w){try{return JSON.parse(w)}catch{return w}}(v):_(v)}},function(e,t,n){var r=n(61);e.exports=function(i,o,s){return i==null?i:r(i,o,s)}},function(e,t,n){var r=n(62),i=n(74),o=n(103),s=n(20),a=n(104);e.exports=function(l,c,f,h){if(!s(l))return l;for(var p=-1,m=(c=i(c,l)).length,g=m-1,_=l;_!=null&&++p-1}},function(e,t,n){var r=n(9);e.exports=function(i,o){var s=this.__data__,a=r(s,i);return a<0?(++this.size,s.push([i,o])):s[a][1]=o,this}},function(e,t,n){var r=n(17)(n(19),"Map");e.exports=r},function(e,t,n){var r=n(10);e.exports=function(i){var o=r(this,i).delete(i);return this.size-=o?1:0,o}},function(e,t){e.exports=function(n){var r=typeof n;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?n!=="__proto__":n===null}},function(e,t,n){var r=n(10);e.exports=function(i){return r(this,i).get(i)}},function(e,t,n){var r=n(10);e.exports=function(i){return r(this,i).has(i)}},function(e,t,n){var r=n(10);e.exports=function(i,o){var s=r(this,i),a=s.size;return s.set(i,o),this.size+=s.size==a?0:1,this}},function(e,t,n){var r=n(101);e.exports=function(i){return i==null?"":r(i)}},function(e,t,n){var r=n(18),i=n(102),o=n(21),s=n(22),a=r?r.prototype:void 0,l=a?a.toString:void 0;e.exports=function c(f){if(typeof f=="string")return f;if(o(f))return i(f,c)+"";if(s(f))return l?l.call(f):"";var h=f+"";return h=="0"&&1/f==-1/0?"-0":h}},function(e,t){e.exports=function(n,r){for(var i=-1,o=n==null?0:n.length,s=Array(o);++i-1&&r%1==0&&r0||this.converter.listeners("readable").length>0),this._needPushDownstream},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"needEmitAll",{get:function(){return!!this.converter.parseRuntime.then&&this.converter.parseParam.needEmitAll},enumerable:!0,configurable:!0}),l.prototype.processResult=function(c){var f=this,h=this.converter.parseRuntime.parsedLineNumber;return this.needPushDownstream&&this.converter.parseParam.downstreamFormat==="array"&&h===0&&a(this.converter,"["+o.EOL),new i.default(function(p,m){f.needEmitLine?function g(_,x,v,b,w){if(v>=_.length)w();else if(x.parseRuntime.subscribe&&x.parseRuntime.subscribe.onNext){var E=x.parseRuntime.subscribe.onNext,P=_[v],k=E(P,x.parseRuntime.parsedLineNumber+v);if(v++,k&&k.then)k.then(function(){(function(A,V,I,Y,q,X,Z){q&&a(I,Z),g(A,I,Y,q,X)})(_,0,x,v,b,w,P)},w);else{for(b&&a(x,P);v<_.length;){var N=_[v];E(N,x.parseRuntime.parsedLineNumber+v),v++,b&&a(x,N)}w()}}else{if(b)for(;v<_.length;)N=_[v++],a(x,N);w()}}(c,f.converter,0,f.needPushDownstream,function(g){g?m(g):(f.appendFinalResult(c),p())}):(f.appendFinalResult(c),p())})},l.prototype.appendFinalResult=function(c){this.needEmitAll&&(this.finalResult=this.finalResult.concat(c)),this.converter.parseRuntime.parsedLineNumber+=c.length},l.prototype.processError=function(c){this.converter.parseRuntime.subscribe&&this.converter.parseRuntime.subscribe.onError&&this.converter.parseRuntime.subscribe.onError(c),this.converter.parseRuntime.then&&this.converter.parseRuntime.then.onrejected&&this.converter.parseRuntime.then.onrejected(c)},l.prototype.endProcess=function(){this.converter.parseRuntime.then&&this.converter.parseRuntime.then.onfulfilled&&(this.needEmitAll?this.converter.parseRuntime.then.onfulfilled(this.finalResult):this.converter.parseRuntime.then.onfulfilled([])),this.converter.parseRuntime.subscribe&&this.converter.parseRuntime.subscribe.onCompleted&&this.converter.parseRuntime.subscribe.onCompleted(),this.needPushDownstream&&this.converter.parseParam.downstreamFormat==="array"&&a(this.converter,"]"+o.EOL)},l}();function a(l,c){if(typeof c!="object"||l.options.objectMode)l.push(c);else{var f=JSON.stringify(c);l.push(f+(l.parseParam.downstreamFormat==="array"?","+o.EOL:o.EOL),"utf8")}}t.Result=s},function(e,t){t.endianness=function(){return"LE"},t.hostname=function(){return typeof location<"u"?location.hostname:""},t.loadavg=function(){return[]},t.uptime=function(){return 0},t.freemem=function(){return Number.MAX_VALUE},t.totalmem=function(){return Number.MAX_VALUE},t.cpus=function(){return[]},t.type=function(){return"Browser"},t.release=function(){return typeof navigator<"u"?navigator.appVersion:""},t.networkInterfaces=t.getNetworkInterfaces=function(){return{}},t.arch=function(){return"javascript"},t.platform=function(){return"browser"},t.tmpdir=t.tmpDir=function(){return"/tmp"},t.EOL=` +`,t.homedir=function(){return"/"}}]),y_e="Expected a function",MF="__lodash_hash_undefined__",RF=1/0,__e="[object Function]",b_e="[object GeneratorFunction]",w_e="[object Symbol]",x_e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,S_e=/^\w*$/,C_e=/^\./,E_e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,T_e=/[\\^$.*+?()[\]{}|]/g,O_e=/\\(\\)?/g,P_e=/^\[object .+?Constructor\]$/,k_e=typeof Il=="object"&&Il&&Il.Object===Object&&Il,M_e=typeof self=="object"&&self&&self.Object===Object&&self,tT=k_e||M_e||Function("return this")();function R_e(e,t){return e==null?void 0:e[t]}function N_e(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var L_e=Array.prototype,D_e=Function.prototype,NF=Object.prototype,Ib=tT["__core-js_shared__"],tL=function(){var e=/[^.]+$/.exec(Ib&&Ib.keys&&Ib.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),LF=D_e.toString,nT=NF.hasOwnProperty,DF=NF.toString,A_e=RegExp("^"+LF.call(nT).replace(T_e,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nL=tT.Symbol,I_e=L_e.splice,F_e=AF(tT,"Map"),bd=AF(Object,"create"),rL=nL?nL.prototype:void 0,iL=rL?rL.toString:void 0;function rl(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1}function q_e(e,t){var n=this.__data__,r=O_(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}tu.prototype.clear=V_e;tu.prototype.delete=H_e;tu.prototype.get=W_e;tu.prototype.has=Y_e;tu.prototype.set=q_e;function fl(e){var t=-1,n=e?e.length:0;for(this.clear();++tt.toFixed(e.decimals).replace(".",e.separator):t=>`${t}`.replace(".",e.separator):e.decimals?t=>t.toFixed(e.decimals):t=>`${t}`}function oT(e={}){const t=typeof e.quote=="string"?e.quote:'"',n=typeof e.escapedQuote=="string"?e.escapedQuote:`${t}${t}`;return!t||t===n?r=>r:r=>(r.includes(t)&&(r=r.replace(new RegExp(t,"g"),n)),`${t}${r}${t}`)}function m0e(e={stringFormatter:oT()}){return t=>e.stringFormatter(t.toString().slice(7,-1))}function g0e(e={stringFormatter:oT()}){return t=>t===null||(t=JSON.stringify(t),t===void 0)?"":(t[0]==='"'&&(t=t.replace(/^"(.+)"$/,"$1")),e.stringFormatter(t))}function sL(e,t,n){const r=e[t];return r===void 0?n:r}function $F(e,t){try{return Array.isArray(t)?e.push(...t):e.push(t),e}catch{return e.concat(t)}}function yx(e,t){let n=!0;return e.reduce((r,i)=>(i==null&&(i=""),n?(n=!1,`${i}`):`${r}${t}${i}`),"")}class v0e{constructor(t){this.opts=this.preprocessOpts(t)}preprocessOpts(t){const n=Object.assign({},t);n.fields&&(n.fields=this.preprocessFieldsInfo(n.fields,n.defaultValue)),n.transforms=n.transforms||[];const r=n.formatters&&n.formatters.string||oT(),i=g0e({stringFormatter:r}),o={header:r,undefined:Fb,boolean:Fb,number:p0e(),bigint:Fb,string:r,symbol:m0e({stringFormatter:r}),function:i,object:i};return n.formatters={...o,...n.formatters},n.delimiter=n.delimiter||",",n.eol=n.eol||` +`,n.header=n.header!==!1,n.includeEmptyRows=n.includeEmptyRows||!1,n.withBOM=n.withBOM||!1,n}preprocessFieldsInfo(t,n){return t.map(r=>{if(typeof r=="string")return{label:r,value:r.includes(".")||r.includes("[")?i=>oL(i,r,n):i=>sL(i,r,n)};if(typeof r=="object"){const i="default"in r?r.default:n;if(typeof r.value=="string")return{label:r.label||r.value,value:r.value.includes(".")||r.value.includes("[")?o=>oL(o,r.value,i):o=>sL(o,r.value,i)};if(typeof r.value=="function"){const o=r.label||r.value.name||"",s={label:o,default:i};return{label:o,value(a){const l=r.value(a,s);return l??i}}}}throw new Error("Invalid field info option. "+JSON.stringify(r))})}getHeader(){return yx(this.opts.fields.map(t=>this.opts.formatters.header(t.label)),this.opts.delimiter)}preprocessRow(t){return this.opts.transforms.reduce((n,r)=>n.map(i=>r(i)).reduce($F,[]),[t])}processRow(t){if(!t)return;const n=this.opts.fields.map(r=>this.processCell(t,r));if(!(!this.opts.includeEmptyRows&&n.every(r=>r==="")))return yx(n,this.opts.delimiter)}processCell(t,n){return this.processValue(n.value(t))}processValue(t){return this.opts.formatters[typeof t](t)}}class y0e extends v0e{constructor(t){super(t)}parse(t){const n=this.preprocessData(t);this.opts.fields=this.opts.fields||this.preprocessFieldsInfo(n.reduce((s,a)=>(Object.keys(a).forEach(l=>{s.includes(l)||s.push(l)}),s),[]));const r=this.opts.header?this.getHeader():"",i=this.processData(n);return(this.opts.withBOM?"\uFEFF":"")+r+(r&&i?this.opts.eol:"")+i}preprocessData(t){const n=Array.isArray(t)?t:[t];if(!this.opts.fields&&(n.length===0||typeof n[0]!="object"))throw new Error('Data should not be empty or the "fields" option should be included');return this.opts.transforms.length===0?n:n.map(r=>this.preprocessRow(r)).reduce($F,[])}processData(t){return yx(t.map(n=>this.processRow(n)).filter(n=>n),this.opts.eol)}}var Sn;(function(e){e[e.BACKSPACE=8]="BACKSPACE",e[e.FORM_FEED=12]="FORM_FEED",e[e.NEWLINE=10]="NEWLINE",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.TAB=9]="TAB",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.NUMBER_SIGN=35]="NUMBER_SIGN",e[e.DOLLAR_SIGN=36]="DOLLAR_SIGN",e[e.PERCENT_SIGN=37]="PERCENT_SIGN",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.LEFT_PARENTHESIS=40]="LEFT_PARENTHESIS",e[e.RIGHT_PARENTHESIS=41]="RIGHT_PARENTHESIS",e[e.ASTERISK=42]="ASTERISK",e[e.PLUS_SIGN=43]="PLUS_SIGN",e[e.COMMA=44]="COMMA",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.FULL_STOP=46]="FULL_STOP",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_ZERO=48]="DIGIT_ZERO",e[e.DIGIT_ONE=49]="DIGIT_ONE",e[e.DIGIT_TWO=50]="DIGIT_TWO",e[e.DIGIT_THREE=51]="DIGIT_THREE",e[e.DIGIT_FOUR=52]="DIGIT_FOUR",e[e.DIGIT_FIVE=53]="DIGIT_FIVE",e[e.DIGIT_SIX=54]="DIGIT_SIX",e[e.DIGIT_SEVEN=55]="DIGIT_SEVEN",e[e.DIGIT_EIGHT=56]="DIGIT_EIGHT",e[e.DIGIT_NINE=57]="DIGIT_NINE",e[e.COLON=58]="COLON",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.COMMERCIAL_AT=64]="COMMERCIAL_AT",e[e.LATIN_CAPITAL_LETTER_A=65]="LATIN_CAPITAL_LETTER_A",e[e.LATIN_CAPITAL_LETTER_B=66]="LATIN_CAPITAL_LETTER_B",e[e.LATIN_CAPITAL_LETTER_C=67]="LATIN_CAPITAL_LETTER_C",e[e.LATIN_CAPITAL_LETTER_D=68]="LATIN_CAPITAL_LETTER_D",e[e.LATIN_CAPITAL_LETTER_E=69]="LATIN_CAPITAL_LETTER_E",e[e.LATIN_CAPITAL_LETTER_F=70]="LATIN_CAPITAL_LETTER_F",e[e.LATIN_CAPITAL_LETTER_G=71]="LATIN_CAPITAL_LETTER_G",e[e.LATIN_CAPITAL_LETTER_H=72]="LATIN_CAPITAL_LETTER_H",e[e.LATIN_CAPITAL_LETTER_I=73]="LATIN_CAPITAL_LETTER_I",e[e.LATIN_CAPITAL_LETTER_J=74]="LATIN_CAPITAL_LETTER_J",e[e.LATIN_CAPITAL_LETTER_K=75]="LATIN_CAPITAL_LETTER_K",e[e.LATIN_CAPITAL_LETTER_L=76]="LATIN_CAPITAL_LETTER_L",e[e.LATIN_CAPITAL_LETTER_M=77]="LATIN_CAPITAL_LETTER_M",e[e.LATIN_CAPITAL_LETTER_N=78]="LATIN_CAPITAL_LETTER_N",e[e.LATIN_CAPITAL_LETTER_O=79]="LATIN_CAPITAL_LETTER_O",e[e.LATIN_CAPITAL_LETTER_P=80]="LATIN_CAPITAL_LETTER_P",e[e.LATIN_CAPITAL_LETTER_Q=81]="LATIN_CAPITAL_LETTER_Q",e[e.LATIN_CAPITAL_LETTER_R=82]="LATIN_CAPITAL_LETTER_R",e[e.LATIN_CAPITAL_LETTER_S=83]="LATIN_CAPITAL_LETTER_S",e[e.LATIN_CAPITAL_LETTER_T=84]="LATIN_CAPITAL_LETTER_T",e[e.LATIN_CAPITAL_LETTER_U=85]="LATIN_CAPITAL_LETTER_U",e[e.LATIN_CAPITAL_LETTER_V=86]="LATIN_CAPITAL_LETTER_V",e[e.LATIN_CAPITAL_LETTER_W=87]="LATIN_CAPITAL_LETTER_W",e[e.LATIN_CAPITAL_LETTER_X=88]="LATIN_CAPITAL_LETTER_X",e[e.LATIN_CAPITAL_LETTER_Y=89]="LATIN_CAPITAL_LETTER_Y",e[e.LATIN_CAPITAL_LETTER_Z=90]="LATIN_CAPITAL_LETTER_Z",e[e.LEFT_SQUARE_BRACKET=91]="LEFT_SQUARE_BRACKET",e[e.REVERSE_SOLIDUS=92]="REVERSE_SOLIDUS",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.CIRCUMFLEX_ACCENT=94]="CIRCUMFLEX_ACCENT",e[e.LOW_LINE=95]="LOW_LINE",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_LETTER_A=97]="LATIN_SMALL_LETTER_A",e[e.LATIN_SMALL_LETTER_B=98]="LATIN_SMALL_LETTER_B",e[e.LATIN_SMALL_LETTER_C=99]="LATIN_SMALL_LETTER_C",e[e.LATIN_SMALL_LETTER_D=100]="LATIN_SMALL_LETTER_D",e[e.LATIN_SMALL_LETTER_E=101]="LATIN_SMALL_LETTER_E",e[e.LATIN_SMALL_LETTER_F=102]="LATIN_SMALL_LETTER_F",e[e.LATIN_SMALL_LETTER_G=103]="LATIN_SMALL_LETTER_G",e[e.LATIN_SMALL_LETTER_H=104]="LATIN_SMALL_LETTER_H",e[e.LATIN_SMALL_LETTER_I=105]="LATIN_SMALL_LETTER_I",e[e.LATIN_SMALL_LETTER_J=106]="LATIN_SMALL_LETTER_J",e[e.LATIN_SMALL_LETTER_K=107]="LATIN_SMALL_LETTER_K",e[e.LATIN_SMALL_LETTER_L=108]="LATIN_SMALL_LETTER_L",e[e.LATIN_SMALL_LETTER_M=109]="LATIN_SMALL_LETTER_M",e[e.LATIN_SMALL_LETTER_N=110]="LATIN_SMALL_LETTER_N",e[e.LATIN_SMALL_LETTER_O=111]="LATIN_SMALL_LETTER_O",e[e.LATIN_SMALL_LETTER_P=112]="LATIN_SMALL_LETTER_P",e[e.LATIN_SMALL_LETTER_Q=113]="LATIN_SMALL_LETTER_Q",e[e.LATIN_SMALL_LETTER_R=114]="LATIN_SMALL_LETTER_R",e[e.LATIN_SMALL_LETTER_S=115]="LATIN_SMALL_LETTER_S",e[e.LATIN_SMALL_LETTER_T=116]="LATIN_SMALL_LETTER_T",e[e.LATIN_SMALL_LETTER_U=117]="LATIN_SMALL_LETTER_U",e[e.LATIN_SMALL_LETTER_V=118]="LATIN_SMALL_LETTER_V",e[e.LATIN_SMALL_LETTER_W=119]="LATIN_SMALL_LETTER_W",e[e.LATIN_SMALL_LETTER_X=120]="LATIN_SMALL_LETTER_X",e[e.LATIN_SMALL_LETTER_Y=121]="LATIN_SMALL_LETTER_Y",e[e.LATIN_SMALL_LETTER_Z=122]="LATIN_SMALL_LETTER_Z",e[e.LEFT_CURLY_BRACKET=123]="LEFT_CURLY_BRACKET",e[e.VERTICAL_LINE=124]="VERTICAL_LINE",e[e.RIGHT_CURLY_BRACKET=125]="RIGHT_CURLY_BRACKET",e[e.TILDE=126]="TILDE"})(Sn||(Sn={}));Sn.QUOTATION_MARK+"",Sn.QUOTATION_MARK,Sn.REVERSE_SOLIDUS+"",Sn.REVERSE_SOLIDUS,Sn.SOLIDUS+"",Sn.SOLIDUS,Sn.LATIN_SMALL_LETTER_B+"",Sn.BACKSPACE,Sn.LATIN_SMALL_LETTER_F+"",Sn.FORM_FEED,Sn.LATIN_SMALL_LETTER_N+"",Sn.NEWLINE,Sn.LATIN_SMALL_LETTER_R+"",Sn.CARRIAGE_RETURN,Sn.LATIN_SMALL_LETTER_T+"",Sn.TAB;var aL;(function(e){e[e.LEFT_BRACE=1]="LEFT_BRACE",e[e.RIGHT_BRACE=2]="RIGHT_BRACE",e[e.LEFT_BRACKET=3]="LEFT_BRACKET",e[e.RIGHT_BRACKET=4]="RIGHT_BRACKET",e[e.COLON=5]="COLON",e[e.COMMA=6]="COMMA",e[e.TRUE=7]="TRUE",e[e.FALSE=8]="FALSE",e[e.NULL=9]="NULL",e[e.STRING=10]="STRING",e[e.NUMBER=11]="NUMBER",e[e.SEPARATOR=12]="SEPARATOR"})(aL||(aL={}));var lL;(function(e){e[e.START=0]="START",e[e.ENDED=1]="ENDED",e[e.ERROR=2]="ERROR",e[e.TRUE1=3]="TRUE1",e[e.TRUE2=4]="TRUE2",e[e.TRUE3=5]="TRUE3",e[e.FALSE1=6]="FALSE1",e[e.FALSE2=7]="FALSE2",e[e.FALSE3=8]="FALSE3",e[e.FALSE4=9]="FALSE4",e[e.NULL1=10]="NULL1",e[e.NULL2=11]="NULL2",e[e.NULL3=12]="NULL3",e[e.STRING_DEFAULT=13]="STRING_DEFAULT",e[e.STRING_AFTER_BACKSLASH=14]="STRING_AFTER_BACKSLASH",e[e.STRING_UNICODE_DIGIT_1=15]="STRING_UNICODE_DIGIT_1",e[e.STRING_UNICODE_DIGIT_2=16]="STRING_UNICODE_DIGIT_2",e[e.STRING_UNICODE_DIGIT_3=17]="STRING_UNICODE_DIGIT_3",e[e.STRING_UNICODE_DIGIT_4=18]="STRING_UNICODE_DIGIT_4",e[e.STRING_INCOMPLETE_CHAR=19]="STRING_INCOMPLETE_CHAR",e[e.NUMBER_AFTER_INITIAL_MINUS=20]="NUMBER_AFTER_INITIAL_MINUS",e[e.NUMBER_AFTER_INITIAL_ZERO=21]="NUMBER_AFTER_INITIAL_ZERO",e[e.NUMBER_AFTER_INITIAL_NON_ZERO=22]="NUMBER_AFTER_INITIAL_NON_ZERO",e[e.NUMBER_AFTER_FULL_STOP=23]="NUMBER_AFTER_FULL_STOP",e[e.NUMBER_AFTER_DECIMAL=24]="NUMBER_AFTER_DECIMAL",e[e.NUMBER_AFTER_E=25]="NUMBER_AFTER_E",e[e.NUMBER_AFTER_E_AND_SIGN=26]="NUMBER_AFTER_E_AND_SIGN",e[e.NUMBER_AFTER_E_AND_DIGIT=27]="NUMBER_AFTER_E_AND_DIGIT",e[e.SEPARATOR=28]="SEPARATOR"})(lL||(lL={}));var cL;(function(e){e[e.VALUE=0]="VALUE",e[e.KEY=1]="KEY",e[e.COLON=2]="COLON",e[e.COMMA=3]="COMMA",e[e.ENDED=4]="ENDED",e[e.ERROR=5]="ERROR",e[e.SEPARATOR=6]="SEPARATOR"})(cL||(cL={}));var uL;(function(e){e[e.OBJECT=0]="OBJECT",e[e.ARRAY=1]="ARRAY"})(uL||(uL={}));const _0e=e=>new Promise(t=>{v_e().fromString(e).then(t)}),b0e=new y0e,w0e=e=>b0e.parse(e),x0e=e=>{e.constant("localStorage",window.localStorage),e.service("Storage",s_e,"localStorage"),e.service("ColorGenerator",g_e,"Storage"),e.constant("csvToJson",_0e),e.constant("jsonToCsv",w0e),e.constant("setTimeout",window.setTimeout),e.constant("clearTimeout",window.clearTimeout),e.serviceFactory("useTimeoutToggle",QJ,"setTimeout","clearTimeout")},fL="shlink/mercure",S0e={loading:!0,error:!1},C0e=e=>{const t=nr(`${fL}/loadMercureInfo`,(r,{getState:i})=>{const{settings:o}=i();if(!o.realTimeUpdates.enabled)throw new Error("Real time updates not enabled");return e(i).mercureInfo()}),{reducer:n}=Yn({name:fL,initialState:S0e,reducers:{},extraReducers:r=>{r.addCase(t.pending,i=>({...i,loading:!0,error:!1})),r.addCase(t.rejected,i=>({...i,loading:!1,error:!0})),r.addCase(t.fulfilled,(i,{payload:o})=>({...o,loading:!1,error:!1}))}});return{loadMercureInfo:t,reducer:n}},E0e=e=>{e.serviceFactory("mercureInfoReducerCreator",C0e,"buildShlinkApiClient"),e.serviceFactory("mercureInfoReducer",rt("reducer"),"mercureInfoReducerCreator"),e.serviceFactory("loadMercureInfo",rt("loadMercureInfo"),"mercureInfoReducerCreator")},pc=({children:e})=>C("small",{className:"form-text text-muted d-block",children:e}),T0e=e=>e?`${e}`:"",O0e=({settings:{realTimeUpdates:e},toggleRealTimeUpdates:t,setRealTimeUpdatesInterval:n})=>{const r=i_();return U(gn,{title:"Real-time updates",className:"h-100",children:[C(Zr,{children:U($c,{checked:e.enabled,onChange:t,children:["Enable or disable real-time updates.",U(pc,{children:["Real-time updates are currently being ",C("b",{children:e.enabled?"processed":"ignored"}),"."]})]})}),U(eu,{noMargin:!0,label:"Real-time updates frequency (in minutes):",labelClassName:ge("form-label",{"text-muted":!e.enabled}),id:r,children:[C(id,{type:"number",min:0,placeholder:"Immediate",disabled:!e.enabled,value:T0e(e.interval),id:r,onChange:({target:i})=>n(Number(i.value))}),e.enabled&&U(pc,{children:[e.interval!==void 0&&e.interval>0&&U("span",{children:["Updates will be reflected in the UI every ",C("b",{children:e.interval})," minute",e.interval>1&&"s","."]}),!e.interval&&"Updates will be reflected in the UI as soon as they happen."]})]})]})},$b=({items:e})=>C(We,{children:e.map((t,n)=>C("div",{className:"mb-3",children:t},n))}),P0e=(e,t,n,r,i,o)=>()=>U(Qc,{children:[U(i8,{className:"mb-3",children:[C(bf,{to:"general",children:"General"}),C(bf,{to:"short-urls",children:"Short URLs"}),C(bf,{to:"other-items",children:"Other items"})]}),U(Ly,{children:[C(_t,{path:"general",element:C($b,{items:[C(r,{}),C(e,{})]})}),C(_t,{path:"short-urls",element:C($b,{items:[C(t,{}),C(n,{})]})}),C(_t,{path:"other-items",element:C($b,{items:[C(o,{}),C(i,{})]})}),C(_t,{path:"*",element:C(CS,{replace:!0,to:"general"})})]})]}),jb=e=>e==="includes"?"Suggest tags including input":"Suggest tags starting with input",k0e=e=>e==="includes"?U(We,{children:["The list of suggested tags will contain those ",C("b",{children:"including"})," provided input."]}):U(We,{children:["The list of suggested tags will contain those ",C("b",{children:"starting with"})," provided input."]}),M0e=({settings:e,setShortUrlCreationSettings:t})=>{const n=e.shortUrlCreation??{validateUrls:!1},r=i=>()=>t({...n??{validateUrls:!1},tagFilteringMode:i});return U(gn,{title:"Short URLs form",className:"h-100",children:[C(Zr,{children:U($c,{checked:n.validateUrls??!1,onChange:i=>t({...n,validateUrls:i}),children:["Request validation on long URLs when creating new short URLs.",U(pc,{children:["The initial state of the ",C("b",{children:"Validate URL"})," checkbox will be ",C("b",{children:n.validateUrls?"checked":"unchecked"}),"."]})]})}),C(Zr,{children:U($c,{checked:n.forwardQuery??!0,onChange:i=>t({...n,forwardQuery:i}),children:["Make all new short URLs forward their query params to the long URL.",U(pc,{children:["The initial state of the ",C("b",{children:"Forward query params on redirect"})," checkbox will be ",C("b",{children:n.forwardQuery??!0?"checked":"unchecked"}),"."]})]})}),U(eu,{noMargin:!0,label:"Tag suggestions search mode:",children:[U(Xs,{text:jb(n.tagFilteringMode),children:[C(Ve,{active:!n.tagFilteringMode||n.tagFilteringMode==="startsWith",onClick:r("startsWith"),children:jb("startsWith")}),C(Ve,{active:n.tagFilteringMode==="includes",onClick:r("includes"),children:jb("includes")})]}),C(pc,{children:k0e(n.tagFilteringMode)})]})]})};const R0e=({settings:{ui:e},setUiSettings:t})=>U(gn,{title:"User interface",className:"h-100",children:[C($e,{icon:(e==null?void 0:e.theme)==="dark"?dq:eq,className:"user-interface__theme-icon"}),C($c,{checked:(e==null?void 0:e.theme)==="dark",onChange:n=>{const r=n?"dark":"light";t({...e,theme:r}),l6(r)},children:"Use dark theme."})]}),N0e=({onChange:e,active:t,allText:n})=>C(Xs,{text:mE(t)??n,children:C(E5,{allText:n,active:t,onChange:e})}),dL=e=>{var t;return((t=e.visits)==null?void 0:t.defaultInterval)??"last30Days"},L0e=({settings:e,setVisitsSettings:t})=>{var n,r;return U(gn,{title:"Visits",className:"h-100",children:[C(Zr,{children:U($c,{checked:!!((n=e.visits)!=null&&n.excludeBots),onChange:i=>t({defaultInterval:dL(e),excludeBots:i}),children:["Exclude bots wherever possible (this option‘s effect might depend on Shlink server‘s version).",U(pc,{children:["The visits coming from potential bots will be ",C("b",{children:(r=e.visits)!=null&&r.excludeBots?"excluded":"included"}),"."]})]})}),C(eu,{noMargin:!0,label:"Default interval to load on visits sections:",children:C(N0e,{allText:"All visits",active:dL(e),onChange:i=>t({defaultInterval:i})})})]})},D0e=({settings:{tags:e},setTagsSettings:t})=>C(gn,{title:"Tags",className:"h-100",children:C(eu,{noMargin:!0,label:"Default ordering for tags list:",children:C(Gd,{items:TF,order:(e==null?void 0:e.defaultOrdering)??{},onChange:(n,r)=>t({...e,defaultOrdering:{field:n,dir:r}})})})}),A0e=({settings:{shortUrlsList:e},setShortUrlsListSettings:t})=>C(gn,{title:"Short URLs list",className:"h-100",children:C(eu,{noMargin:!0,label:"Default ordering for short URLs list:",children:C(Gd,{items:O5,order:(e==null?void 0:e.defaultOrdering)??yE,onChange:(n,r)=>t({defaultOrdering:{field:n,dir:r}})})})}),I0e=(e,t)=>{e.serviceFactory("Settings",P0e,"RealTimeUpdatesSettings","ShortUrlCreationSettings","ShortUrlsListSettings","UserInterfaceSettings","VisitsSettings","TagsSettings"),e.decorator("Settings",Bg),e.decorator("Settings",t(null,["resetSelectedServer"])),e.serviceFactory("RealTimeUpdatesSettings",()=>O0e),e.decorator("RealTimeUpdatesSettings",t(["settings"],["toggleRealTimeUpdates","setRealTimeUpdatesInterval"])),e.serviceFactory("ShortUrlCreationSettings",()=>M0e),e.decorator("ShortUrlCreationSettings",t(["settings"],["setShortUrlCreationSettings"])),e.serviceFactory("UserInterfaceSettings",()=>R0e),e.decorator("UserInterfaceSettings",t(["settings"],["setUiSettings"])),e.serviceFactory("VisitsSettings",()=>L0e),e.decorator("VisitsSettings",t(["settings"],["setVisitsSettings"])),e.serviceFactory("TagsSettings",()=>D0e),e.decorator("TagsSettings",t(["settings"],["setTagsSettings"])),e.serviceFactory("ShortUrlsListSettings",()=>A0e),e.decorator("ShortUrlsListSettings",t(["settings"],["setShortUrlsListSettings"])),e.serviceFactory("toggleRealTimeUpdates",()=>kce),e.serviceFactory("setRealTimeUpdatesInterval",()=>Mce),e.serviceFactory("setShortUrlCreationSettings",()=>Rce),e.serviceFactory("setShortUrlsListSettings",()=>Nce),e.serviceFactory("setUiSettings",()=>Lce),e.serviceFactory("setVisitsSettings",()=>Dce),e.serviceFactory("setTagsSettings",()=>Ace)},F0e=(e,t)=>{const[n,r]=e.split("://"),[,...i]=r.split("/"),o=i.length?`/${i.join("/")}`:"";return`${n}://${t}${o}`},Dp="shlink/domainsList",Ap={domains:[],filteredDomains:[],loading:!1,error:!1},hL=({domain:e,redirects:t})=>n=>n.domain!==e?n:{...n,redirects:t},pL=(e,t)=>n=>n.domain!==e?n:{...n,status:t},$0e=(e,t)=>{const n=nr(`${Dp}/listDomains`,async(s,{getState:a})=>{const{listDomains:l}=e(a),{data:c,defaultRedirects:f}=await l();return{domains:c.map(h=>({...h,status:"validating"})),defaultRedirects:f}}),r=nr(`${Dp}/checkDomainHealth`,async(s,{getState:a})=>{const{selectedServer:l}=a();if(!IS(l))return{domain:s,status:"invalid"};try{const{url:c,...f}=l,{health:h}=e({...f,url:F0e(c,s)}),{status:p}=await h();return{domain:s,status:p==="pass"?"valid":"invalid"}}catch{return{domain:s,status:"invalid"}}}),i=bn(`${Dp}/filterDomains`),{reducer:o}=Yn({name:Dp,initialState:Ap,reducers:{},extraReducers:s=>{s.addCase(n.pending,()=>({...Ap,loading:!0})),s.addCase(n.rejected,(a,{error:l})=>({...Ap,error:!0,errorData:ro(l)})),s.addCase(n.fulfilled,(a,{payload:l})=>({...Ap,...l,filteredDomains:l.domains})),s.addCase(r.fulfilled,({domains:a,filteredDomains:l,...c},{payload:f})=>({...c,domains:a.map(pL(f.domain,f.status)),filteredDomains:l.map(pL(f.domain,f.status))})),s.addCase(i,(a,{payload:l})=>({...a,filteredDomains:a.domains.filter(({domain:c})=>c.toLowerCase().match(l.toLowerCase()))})),s.addCase(t.fulfilled,(a,{payload:l})=>({...a,domains:a.domains.map(hL(l)),filteredDomains:a.filteredDomains.map(hL(l))}))}});return{reducer:o,listDomains:n,checkDomainHealth:r,filterDomains:i}};const j0e=({listDomains:e,value:t,domainsList:n,onChange:r})=>{const[i,,o,s]=Bt(),{domains:a}=n,l=Hn(t),c=()=>r("");return H.useEffect(()=>{e()},[]),i?U($d,{children:[C(id,{value:t??"",placeholder:"Domain",onChange:f=>r(f.target.value)}),C(gt,{id:"backToDropdown",outline:!0,type:"button",className:"domains-dropdown__back-btn","aria-label":"Back to domains list",onClick:Ft(c,s),children:C($e,{icon:WY})}),C($r,{target:"backToDropdown",placement:"left",trigger:"hover",children:"Existing domains"})]}):U(Xs,{text:l?"Domain":`Domain: ${t}`,className:l?"domains-dropdown__toggle-btn":"domains-dropdown__toggle-btn--active",children:[a.map(({domain:f,isDefault:h})=>U(Ve,{active:(t===f||h)&&l,onClick:()=>r(f),children:[f,h&&C("span",{className:"float-end text-muted",children:"default"})]},f)),C(Ve,{divider:!0}),C(Ve,{onClick:Ft(c,o),children:C("i",{children:"New domain"})})]})},B0e=({status:e,matchMedia:t=window.matchMedia})=>{const n=H.useRef(),r=()=>t("(max-width: 991px)").matches,[i,o]=H.useState(r());return H.useEffect(()=>{const s=()=>o(r());return window.addEventListener("resize",s),()=>window.removeEventListener("resize",s)},[]),e==="validating"?C($e,{fixedWidth:!0,icon:LA,spin:!0}):U(We,{children:[C("span",{ref:Jd(n),children:e==="valid"?C($e,{fixedWidth:!0,icon:Zf,className:"text-muted"}):C($e,{fixedWidth:!0,icon:J1,className:"text-danger"})}),C($r,{target:()=>n.current,placement:i?"top-start":"left",autohide:e==="valid",children:e==="valid"?"Congratulations! This domain is properly configured.":U("span",{children:["Oops! There is some missing configuration, and short URLs shared with this domain will not work.",C("br",{}),"Check the ",C(Ci,{href:"https://slnk.to/multi-domain-docs",children:"documentation"})," in order to find out what is missing."]})})]})},Bb=({isLast:e,...t})=>C(Hm,{...t,required:!1,type:"url",placeholder:"No redirect",className:e?"mb-0":""}),z0e=({isOpen:e,toggle:t,domain:n,editDomainRedirects:r})=>{var h,p,m;const[i,o]=H.useState(((h=n.redirects)==null?void 0:h.baseUrlRedirect)??""),[s,a]=H.useState(((p=n.redirects)==null?void 0:p.regular404Redirect)??""),[l,c]=H.useState(((m=n.redirects)==null?void 0:m.invalidShortUrlRedirect)??""),f=Bd(async()=>r({domain:n.domain,redirects:{baseUrlRedirect:J0(i),regular404Redirect:J0(s),invalidShortUrlRedirect:J0(l)}}).then(t));return C(zo,{isOpen:e,toggle:t,centered:!0,children:U("form",{name:"domainRedirectsModal",onSubmit:f,children:[U(io,{toggle:t,children:["Edit redirects for ",C("b",{children:n.domain})]}),U(ki,{children:[U(Bb,{value:i,onChange:o,children:[U(Vm,{className:"me-2",placement:"bottom",children:["Visitors accessing the base url, as in ",U("b",{children:["https://",n.domain,"/"]}),", will be redirected to this URL."]}),"Base URL"]}),U(Bb,{value:s,onChange:a,children:[U(Vm,{className:"me-2",placement:"bottom",children:["Visitors accessing a url not matching a short URL pattern, as in ",U("b",{children:["https://",n.domain,"/???/[...]"]}),", will be redirected to this URL."]}),"Regular 404"]}),U(Bb,{value:l,isLast:!0,onChange:c,children:[C(Vm,{className:"me-2",placement:"bottom",children:"Visitors accessing a url matching a short URL pattern, but not matching an existing short code, will be redirected to this URL."}),"Invalid short URL"]})]}),U(Zs,{children:[C(gt,{color:"link",type:"button",onClick:t,children:"Cancel"}),C(gt,{color:"primary",children:"Save"})]})]})})},U0e=({domain:e,editDomainRedirects:t,selectedServer:n})=>{const[r,i]=Bt(),[o,s]=Bt(),{isDefault:a}=e,l=!a||wee(n),c=v6(n),f=kd(n);return U(h_,{isOpen:r,toggle:i,children:[c&&U(Ve,{tag:It,to:`/server/${f}/domain/${e.domain}${e.isDefault?`_${F5}`:""}/visits`,children:[C($e,{icon:qS,fixedWidth:!0})," Visit stats"]}),U(Ve,{disabled:!l,onClick:l?s:void 0,children:[C($e,{fixedWidth:!0,icon:YS})," Edit redirects"]}),C(z0e,{domain:e,isOpen:o,toggle:s,editDomainRedirects:t})]})},zb=({fallback:e})=>U("span",{className:"text-muted",children:[!e&&C("small",{children:"No redirect"}),e&&U(We,{children:[e," ",C("small",{children:"(as fallback)"})]})]}),V0e=()=>U(We,{children:[C($e,{fixedWidth:!0,icon:TY,className:"text-primary",id:"defaultDomainIcon"}),C($r,{target:"defaultDomainIcon",placement:"right",children:"Default domain"})]}),H0e=({domain:e,editDomainRedirects:t,checkDomainHealth:n,defaultRedirects:r,selectedServer:i})=>{const{domain:o,isDefault:s,redirects:a,status:l}=e;return H.useEffect(()=>{n(e.domain)},[]),U("tr",{className:"responsive-table__row",children:[C("td",{className:"responsive-table__cell","data-th":"Is default domain",children:s&&C(V0e,{})}),C("th",{className:"responsive-table__cell","data-th":"Domain",children:o}),C("td",{className:"responsive-table__cell","data-th":"Base path redirect",children:(a==null?void 0:a.baseUrlRedirect)??C(zb,{fallback:r==null?void 0:r.baseUrlRedirect})}),C("td",{className:"responsive-table__cell","data-th":"Regular 404 redirect",children:(a==null?void 0:a.regular404Redirect)??C(zb,{fallback:r==null?void 0:r.regular404Redirect})}),C("td",{className:"responsive-table__cell","data-th":"Invalid short URL redirect",children:(a==null?void 0:a.invalidShortUrlRedirect)??C(zb,{fallback:r==null?void 0:r.invalidShortUrlRedirect})}),C("td",{className:"responsive-table__cell text-lg-center","data-th":"Status",children:C(B0e,{status:l})}),C("td",{className:"responsive-table__cell text-end",children:C(U0e,{domain:e,editDomainRedirects:t,selectedServer:i})})]})},mL=["","Domain","Base path redirect","Regular 404 redirect","Invalid short URL redirect","",""],W0e=({listDomains:e,domainsList:t,filterDomains:n,editDomainRedirects:r,checkDomainHealth:i,selectedServer:o})=>{var m;const{filteredDomains:s,defaultRedirects:a,loading:l,error:c,errorData:f}=t,h=a??((m=s.find(({isDefault:g})=>g))==null?void 0:m.redirects);return H.useEffect(()=>{e()},[]),l?C(So,{loading:!0}):U(We,{children:[C(Wd,{className:"mb-3",onChange:n}),(()=>c?C(Rr,{type:"error",children:C(Do,{errorData:f,fallbackMessage:"Error loading domains :("})}):C(gn,{children:U("table",{className:"table table-hover responsive-table mb-0",children:[C("thead",{className:"responsive-table__header",children:C("tr",{children:mL.map((g,_)=>C("th",{children:g},_))})}),U("tbody",{children:[s.length<1&&C("tr",{children:C("td",{colSpan:mL.length,className:"text-center",children:"No results found"})}),s.map(g=>C(H0e,{domain:g,editDomainRedirects:r,checkDomainHealth:i,defaultRedirects:h,selectedServer:o},g.domain))]})]})}))()]})},Y0e="shlink/domainRedirects/EDIT_DOMAIN_REDIRECTS",q0e=e=>nr(Y0e,async({domain:t,redirects:n},{getState:r})=>{const{editDomainRedirects:i}=e(r),o=await i({domain:t,...n});return{domain:t,redirects:o}}),G0e=(e,t)=>{e.serviceFactory("DomainSelector",()=>j0e),e.decorator("DomainSelector",t(["domainsList"],["listDomains"])),e.serviceFactory("ManageDomains",()=>W0e),e.decorator("ManageDomains",t(["domainsList","selectedServer"],["listDomains","filterDomains","editDomainRedirects","checkDomainHealth"])),e.serviceFactory("domainsListReducerCreator",$0e,"buildShlinkApiClient","editDomainRedirects"),e.serviceFactory("domainsListReducer",rt("reducer"),"domainsListReducerCreator"),e.serviceFactory("listDomains",rt("listDomains"),"domainsListReducerCreator"),e.serviceFactory("filterDomains",rt("filterDomains"),"domainsListReducerCreator"),e.serviceFactory("editDomainRedirects",q0e,"buildShlinkApiClient"),e.serviceFactory("checkDomainHealth",rt("checkDomainHealth"),"domainsListReducerCreator")},{actions:Z0e,reducer:K0e}=Yn({name:"shlink/appUpdates",initialState:!1,reducers:{appUpdateAvailable:()=>!0,resetAppUpdate:()=>!1}}),{appUpdateAvailable:X0e,resetAppUpdate:Q0e}=Z0e,J0e=K0e;const ebe=({isOpen:e,toggle:t,forceUpdate:n})=>{const[r,,i]=Bt();return U(IC,{className:"app-update-banner",isOpen:e,toggle:t,tag:gn,color:"secondary",children:[C("h4",{className:"mb-4",children:"This app has just been updated!"}),U("p",{className:"mb-0",children:["Restart it to enjoy the new features.",U(gt,{role:"button",disabled:r,className:"ms-2",color:"secondary",size:"sm",onClick:()=>{i(),n()},children:[!r&&U(We,{children:["Restart now ",C($e,{icon:lq,className:"ms-1"})]}),r&&C(We,{children:"Restarting..."})]})]})]})},tbe=async()=>{var t;(await((t=navigator.serviceWorker)==null?void 0:t.getRegistrations())??[]).forEach(({waiting:n})=>{n==null||n.addEventListener("statechange",r=>{var i;((i=r.target)==null?void 0:i.state)==="activated"&&window.location.reload()}),n==null||n.postMessage({type:"SKIP_WAITING"})})};const nbe=(e,t,n,r,i,o,s,a)=>({fetchServers:l,servers:c,settings:f,appUpdated:h,resetAppUpdate:p})=>{const g=Wn().pathname==="/";return H.useEffect(()=>{var _;Object.keys(c).length===0&&l(),l6(((_=f.ui)==null?void 0:_.theme)??"light")},[]),U("div",{className:"container-fluid app-container",children:[C(e,{}),U("div",{className:"app",children:[C("div",{className:ge("shlink-wrapper",{"d-flex d-md-block align-items-center":g}),children:U(Ly,{children:[C(_t,{index:!0,element:C(t,{})}),C(_t,{path:"/settings/*",element:C(o,{})}),C(_t,{path:"/manage-servers",element:C(s,{})}),C(_t,{path:"/server/create",element:C(r,{})}),C(_t,{path:"/server/:serverId/edit",element:C(i,{})}),C(_t,{path:"/server/:serverId/*",element:C(n,{})}),C(_t,{path:"*",element:C(y6,{})})]})}),C("div",{className:"shlink-footer",children:C(a,{})})]}),C(ebe,{isOpen:h,toggle:p,forceUpdate:tbe})]})},rbe=(e,t)=>{e.serviceFactory("App",nbe,"MainHeader","Home","MenuLayout","CreateServer","EditServer","Settings","ManageServers","ShlinkVersionsContainer"),e.decorator("App",t(["servers","settings","appUpdated"],["fetchServers","resetAppUpdate"])),e.serviceFactory("appUpdateAvailable",()=>X0e),e.serviceFactory("resetAppUpdate",()=>Q0e)},ai=new nU,{container:sT}=ai,ibe=(e,t)=>(...n)=>e[t](...n),obe=(e,t)=>({...e,[t]:ibe(sT,t)}),ta=(e,t=[])=>P9(e?pA(e):null,t.reduce(obe,{}));rbe(ai,ta);jte(ai,ta);gY(ai);Yue(ai,ta);Mfe(ai,ta);i_e(ai,ta);cye(ai,ta);x0e(ai);E0e(ai);I0e(ai,ta);G0e(ai,ta);var aT={},qv={},sbe={get exports(){return qv},set exports(e){qv=e}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=t.clone=t.recursive=t.merge=t.main=void 0,e.exports=t=n,t.default=n;function n(){for(var c=[],f=0;f$.length)&&(D=$.length);for(var B=0,ne=Array(D);BE6({servers:mfe,selectedServer:e.selectedServerReducer,shortUrlsList:e.shortUrlsListReducer,shortUrlCreation:e.shortUrlCreationReducer,shortUrlDeletion:e.shortUrlDeletionReducer,shortUrlEdition:e.shortUrlEditionReducer,shortUrlDetail:e.shortUrlDetailReducer,shortUrlVisits:e.shortUrlVisitsReducer,tagVisits:e.tagVisitsReducer,domainVisits:e.domainVisitsReducer,orphanVisits:e.orphanVisitsReducer,nonOrphanVisits:e.nonOrphanVisitsReducer,tagsList:e.tagsListReducer,tagDelete:e.tagDeleteReducer,tagEdit:e.tagEditReducer,mercureInfo:e.mercureInfoReducer,settings:Ice,domainsList:e.domainsListReducer,visitsOverview:e.visitsOverviewReducer,appUpdated:J0e,sidebar:Ate}),lbe=e=>{var t;return e.settings&&((t=e.settings.visits)==null?void 0:t.defaultInterval)==="last180days"&&e.settings.visits&&(e.settings.visits.defaultInterval="last180Days"),e},cbe=!0,jF={states:["settings","servers"],namespace:"shlink",namespaceSeparator:".",debounce:300},ube=lbe(aT.load(jF)),fbe=e=>ite({devTools:!cbe,reducer:abe(e),preloadedState:ube,middleware:t=>t({immutableCheck:!1,serializableCheck:!1}).prepend(e.selectServerListener.middleware).concat(aT.save(jF))}),dbe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==",hbe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=",pbe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC",mbe=()=>{delete xR.Icon.Default.prototype._getIconUrl,xR.Icon.Default.mergeOptions({iconRetinaUrl:dbe,iconUrl:hbe,shadowUrl:pbe})},gbe=Boolean(window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));function vbe(e){if("serviceWorker"in navigator){if(new URL({}.PUBLIC_URL??"",window.location.href).origin!==window.location.origin)return;window.addEventListener("load",()=>{const n=`${{}.PUBLIC_URL}/service-worker.js`;gbe?(ybe(n,e),navigator.serviceWorker.ready.then(()=>{console.log("This web app is being served cache-first by a service worker. To learn more, visit https://cra.link/PWA")})):BF(n,e)})}}function BF(e,t){navigator.serviceWorker.register(e).then(n=>{n.onupdatefound=()=>{const r=n.installing;r!=null&&(r.onstatechange=()=>{r.state==="installed"&&(navigator.serviceWorker.controller?(console.log("New content is available and will be used when all tabs for this page are closed. See https://cra.link/PWA."),t&&t.onUpdate&&t.onUpdate(n)):(console.log("Content is cached for offline use."),t&&t.onSuccess&&t.onSuccess(n)))})}}).catch(n=>{console.error("Error during service worker registration:",n)})}function ybe(e,t){fetch(e,{headers:{"Service-Worker":"script"}}).then(n=>{const r=n.headers.get("content-type");n.status===404||r!=null&&r.indexOf("javascript")===-1?navigator.serviceWorker.ready.then(i=>{i.unregister().then(()=>{window.location.reload()})}):BF(e,t)}).catch(()=>{console.log("No internet connection found. App is running in offline mode.")})}sh.register(...jge);mbe();const zF=fbe(sT),{App:_be,ScrollToTop:bbe,ErrorHandler:wbe,appUpdateAvailable:xbe}=sT;E4(document.getElementById("root")).render(C(k9,{store:zF,children:C(Tz,{basename:H4.homepage,children:C(wbe,{children:C(bbe,{children:C(_be,{})})})})}));vbe({onUpdate(){zF.dispatch(xbe())}}); diff --git a/feature/vite/favicon.gif b/feature/vite/favicon.gif new file mode 100644 index 00000000..dcf57c87 Binary files /dev/null and b/feature/vite/favicon.gif differ diff --git a/feature/vite/favicon.ico b/feature/vite/favicon.ico new file mode 100644 index 00000000..25764c30 Binary files /dev/null and b/feature/vite/favicon.ico differ diff --git a/feature/vite/favicon.png b/feature/vite/favicon.png new file mode 100644 index 00000000..25764c30 Binary files /dev/null and b/feature/vite/favicon.png differ diff --git a/feature/vite/favicon.svg b/feature/vite/favicon.svg new file mode 100644 index 00000000..5a085bcb --- /dev/null +++ b/feature/vite/favicon.svg @@ -0,0 +1 @@ + diff --git a/feature/vite/icons/icon-1024x1024.png b/feature/vite/icons/icon-1024x1024.png new file mode 100644 index 00000000..e468ac0a Binary files /dev/null and b/feature/vite/icons/icon-1024x1024.png differ diff --git a/feature/vite/icons/icon-114x114.png b/feature/vite/icons/icon-114x114.png new file mode 100644 index 00000000..fa813ad5 Binary files /dev/null and b/feature/vite/icons/icon-114x114.png differ diff --git a/feature/vite/icons/icon-120x120.png b/feature/vite/icons/icon-120x120.png new file mode 100644 index 00000000..5e84efc7 Binary files /dev/null and b/feature/vite/icons/icon-120x120.png differ diff --git a/feature/vite/icons/icon-128x128.png b/feature/vite/icons/icon-128x128.png new file mode 100644 index 00000000..25764c30 Binary files /dev/null and b/feature/vite/icons/icon-128x128.png differ diff --git a/feature/vite/icons/icon-144x144.png b/feature/vite/icons/icon-144x144.png new file mode 100644 index 00000000..5ca0d1e6 Binary files /dev/null and b/feature/vite/icons/icon-144x144.png differ diff --git a/feature/vite/icons/icon-150x150.png b/feature/vite/icons/icon-150x150.png new file mode 100644 index 00000000..491fcba7 Binary files /dev/null and b/feature/vite/icons/icon-150x150.png differ diff --git a/feature/vite/icons/icon-152x152.png b/feature/vite/icons/icon-152x152.png new file mode 100644 index 00000000..e2f866af Binary files /dev/null and b/feature/vite/icons/icon-152x152.png differ diff --git a/feature/vite/icons/icon-160x160.png b/feature/vite/icons/icon-160x160.png new file mode 100644 index 00000000..b34653a9 Binary files /dev/null and b/feature/vite/icons/icon-160x160.png differ diff --git a/feature/vite/icons/icon-167x167.png b/feature/vite/icons/icon-167x167.png new file mode 100644 index 00000000..d8720d36 Binary files /dev/null and b/feature/vite/icons/icon-167x167.png differ diff --git a/feature/vite/icons/icon-16x16.png b/feature/vite/icons/icon-16x16.png new file mode 100644 index 00000000..81457cbf Binary files /dev/null and b/feature/vite/icons/icon-16x16.png differ diff --git a/feature/vite/icons/icon-180x180.png b/feature/vite/icons/icon-180x180.png new file mode 100644 index 00000000..9b7a9547 Binary files /dev/null and b/feature/vite/icons/icon-180x180.png differ diff --git a/feature/vite/icons/icon-192x192.png b/feature/vite/icons/icon-192x192.png new file mode 100644 index 00000000..36a0ac72 Binary files /dev/null and b/feature/vite/icons/icon-192x192.png differ diff --git a/feature/vite/icons/icon-196x196.png b/feature/vite/icons/icon-196x196.png new file mode 100644 index 00000000..48338127 Binary files /dev/null and b/feature/vite/icons/icon-196x196.png differ diff --git a/feature/vite/icons/icon-228x228.png b/feature/vite/icons/icon-228x228.png new file mode 100644 index 00000000..0edc6b54 Binary files /dev/null and b/feature/vite/icons/icon-228x228.png differ diff --git a/feature/vite/icons/icon-24x24.png b/feature/vite/icons/icon-24x24.png new file mode 100644 index 00000000..0fba91d4 Binary files /dev/null and b/feature/vite/icons/icon-24x24.png differ diff --git a/feature/vite/icons/icon-256x256.png b/feature/vite/icons/icon-256x256.png new file mode 100644 index 00000000..ff7c3d12 Binary files /dev/null and b/feature/vite/icons/icon-256x256.png differ diff --git a/feature/vite/icons/icon-310x310.png b/feature/vite/icons/icon-310x310.png new file mode 100644 index 00000000..1a84f69d Binary files /dev/null and b/feature/vite/icons/icon-310x310.png differ diff --git a/feature/vite/icons/icon-32x32.png b/feature/vite/icons/icon-32x32.png new file mode 100644 index 00000000..6255cf37 Binary files /dev/null and b/feature/vite/icons/icon-32x32.png differ diff --git a/feature/vite/icons/icon-384x384.png b/feature/vite/icons/icon-384x384.png new file mode 100644 index 00000000..12f79c11 Binary files /dev/null and b/feature/vite/icons/icon-384x384.png differ diff --git a/feature/vite/icons/icon-40x40.png b/feature/vite/icons/icon-40x40.png new file mode 100644 index 00000000..1718864c Binary files /dev/null and b/feature/vite/icons/icon-40x40.png differ diff --git a/feature/vite/icons/icon-48x48.png b/feature/vite/icons/icon-48x48.png new file mode 100644 index 00000000..b94d23d8 Binary files /dev/null and b/feature/vite/icons/icon-48x48.png differ diff --git a/feature/vite/icons/icon-512x512.png b/feature/vite/icons/icon-512x512.png new file mode 100644 index 00000000..5d3ee53a Binary files /dev/null and b/feature/vite/icons/icon-512x512.png differ diff --git a/feature/vite/icons/icon-60x60.png b/feature/vite/icons/icon-60x60.png new file mode 100644 index 00000000..80ac238d Binary files /dev/null and b/feature/vite/icons/icon-60x60.png differ diff --git a/feature/vite/icons/icon-64x64.png b/feature/vite/icons/icon-64x64.png new file mode 100644 index 00000000..86481ca9 Binary files /dev/null and b/feature/vite/icons/icon-64x64.png differ diff --git a/feature/vite/icons/icon-72x72.png b/feature/vite/icons/icon-72x72.png new file mode 100644 index 00000000..60c1537f Binary files /dev/null and b/feature/vite/icons/icon-72x72.png differ diff --git a/feature/vite/icons/icon-76x76.png b/feature/vite/icons/icon-76x76.png new file mode 100644 index 00000000..91a8ea6b Binary files /dev/null and b/feature/vite/icons/icon-76x76.png differ diff --git a/feature/vite/icons/icon-96x96.png b/feature/vite/icons/icon-96x96.png new file mode 100644 index 00000000..7701826c Binary files /dev/null and b/feature/vite/icons/icon-96x96.png differ diff --git a/feature/vite/index.html b/feature/vite/index.html new file mode 100644 index 00000000..a7b0f58f --- /dev/null +++ b/feature/vite/index.html @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Shlink — The URL shortener + + + + + +
+ + + diff --git a/feature/vite/manifest.json b/feature/vite/manifest.json new file mode 100644 index 00000000..70ab6107 --- /dev/null +++ b/feature/vite/manifest.json @@ -0,0 +1,145 @@ +{ + "short_name": "Shlink", + "name": "Shlink", + "start_url": "/", + "display": "standalone", + "theme_color": "#4696e5", + "background_color": "#4696e5", + "icons": [ + { + "src": "./icons/icon-16x16.png", + "type": "image/png", + "sizes": "16x16" + }, + { + "src": "./icons/icon-24x24.png", + "type": "image/png", + "sizes": "24x24" + }, + { + "src": "./icons/icon-32x32.png", + "type": "image/png", + "sizes": "32x32" + }, + { + "src": "./icons/icon-40x40.png", + "type": "image/png", + "sizes": "40x40" + }, + { + "src": "./icons/icon-48x48.png", + "type": "image/png", + "sizes": "48x48" + }, + { + "src": "./icons/icon-60x60.png", + "type": "image/png", + "sizes": "60x60" + }, + { + "src": "./icons/icon-64x64.png", + "type": "image/png", + "sizes": "64x64" + }, + { + "src": "./icons/icon-72x72.png", + "type": "image/png", + "sizes": "72x72" + }, + { + "src": "./icons/icon-76x76.png", + "type": "image/png", + "sizes": "76x76" + }, + { + "src": "./icons/icon-96x96.png", + "type": "image/png", + "sizes": "96x96" + }, + { + "src": "./icons/icon-114x114.png", + "type": "image/png", + "sizes": "114x114" + }, + { + "src": "./icons/icon-120x120.png", + "type": "image/png", + "sizes": "120x120" + }, + { + "src": "./icons/icon-128x128.png", + "type": "image/png", + "sizes": "128x128" + }, + { + "src": "./icons/icon-144x144.png", + "type": "image/png", + "sizes": "144x144" + }, + { + "src": "./icons/icon-150x150.png", + "type": "image/png", + "sizes": "150x150" + }, + { + "src": "./icons/icon-152x152.png", + "type": "image/png", + "sizes": "152x152" + }, + { + "src": "./icons/icon-160x160.png", + "type": "image/png", + "sizes": "160x160" + }, + { + "src": "./icons/icon-167x167.png", + "type": "image/png", + "sizes": "167x167" + }, + { + "src": "./icons/icon-180x180.png", + "type": "image/png", + "sizes": "180x180" + }, + { + "src": "./icons/icon-192x192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "./icons/icon-196x196.png", + "type": "image/png", + "sizes": "196x196" + }, + { + "src": "./icons/icon-228x228.png", + "type": "image/png", + "sizes": "228x228" + }, + { + "src": "./icons/icon-256x256.png", + "type": "image/png", + "sizes": "256x256" + }, + { + "src": "./icons/icon-310x310.png", + "type": "image/png", + "sizes": "310x310" + }, + { + "src": "./icons/icon-384x384.png", + "type": "image/png", + "sizes": "384x384" + }, + { + "src": "./icons/icon-512x512.png", + "type": "image/png", + "sizes": "512x512" + }, + { + "src": "./icons/icon-1024x1024.png", + "type": "image/png", + "sizes": "1024x1024" + } + ] +}