diff --git a/.gitignore b/.gitignore index 8148d47..162c17a 100644 --- a/.gitignore +++ b/.gitignore @@ -49,4 +49,4 @@ coverage *.tsbuildinfo proxy.js -.vite/* \ No newline at end of file +.vite/* diff --git a/src/static/app/.gitignore b/src/static/app/.gitignore index fec4ab0..d002263 100644 --- a/src/static/app/.gitignore +++ b/src/static/app/.gitignore @@ -28,4 +28,4 @@ coverage *.tsbuildinfo .vite/* -.electron/* \ No newline at end of file +electron \ No newline at end of file diff --git a/src/static/app/dist/assets/index.css b/src/static/app/dist/assets/index.css index a8359eb..4b6b4be 100644 --- a/src/static/app/dist/assets/index.css +++ b/src/static/app/dist/assets/index.css @@ -1,4 +1,4 @@ -@charset "UTF-8";::-webkit-scrollbar{display:none}.codeFont{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.feather{width:16px;height:16px;vertical-align:text-bottom}.btn-primary{font-weight:700}@property --brandColor1{syntax: ""; initial-value: #009dff; inherits: false;}@property --brandColor2{syntax: ""; initial-value: #ff4a00; inherits: false;}@property --distance2{syntax: ""; initial-value: 0%; inherits: false;}@property --degree{syntax: ""; initial-value: 234deg; inherits: false;}.dashboardLogo{background:#178bff;background:linear-gradient(234deg,var(--brandColor1) var(--distance2),var(--brandColor2) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;transition:--brandColor1 1s,--brandColor2 .3s,--distance2 1s!important}.btn-brand{background:linear-gradient(var(--degree),var(--brandColor1) var(--distance2),var(--brandColor2) 100%);border:0!important;transition:--brandColor1 1s,--brandColor2 1s,--distance2 .5s!important}.btn-brand.loading{animation:spin infinite forwards 3s linear}.btn-brand:hover,.dashboardLogo:hover{--brandColor1: #009dff;--brandColor2: #ff875b;--distance2: 30%}.signInBtn.signedIn{--distance2: 100%}@keyframes spin{0%{--degree: 234deg}to{--degree: 594deg}}[data-bs-theme=dark].main,#app:has(.main[data-bs-theme=dark]){background-color:#1b1e21}.sidebar .nav-link,.bottomNavContainer .nav-link{font-weight:500;color:#333;transition:.2s cubic-bezier(.82,-.07,0,1.01)}[data-bs-theme=dark] .sidebar .nav-link{color:#fff}[data-bs-theme=dark] .sidebar .nav-link.active{color:#74b7ff}[data-bs-theme=dark] .nav-link:hover{background-color:#323844}.nav-link:hover{padding-left:30px;background-color:#dfdfdf}.sidebar .nav-link .feather{margin-right:4px;color:#999}.sidebar .nav-link.active,.bottomNavContainer .nav-link.active{color:#007bff}.sidebar .nav-link:hover .feather,.sidebar .nav-link.active .feather{color:inherit}.sidebar-heading{font-size:.75rem;text-transform:uppercase}.navbar-brand{padding-top:.75rem;padding-bottom:.75rem;font-size:1rem}.navbar .navbar-toggler{top:.25rem;right:1rem}.form-control{transition:all .2s ease-in-out}.form-control:disabled{cursor:not-allowed}.navbar .form-control{padding:.75rem 1rem;border-width:0;border-radius:0}.form-control-dark{color:#fff;background-color:#ffffff1a;border-color:#ffffff1a}.form-control-dark:focus{border-color:transparent;box-shadow:0 0 0 3px #ffffff40}.dot{width:10px;height:10px;border-radius:50px;display:inline-block;margin-left:auto!important;background-color:#6c757d}.dot.active{background-color:#28a745!important;box-shadow:0 0 0 .2rem #28a74545}.h6-dot-running{margin-left:.3rem}.card-running{border-color:#28a745}.info h6{line-break:anywhere;transition:all .4s cubic-bezier(.96,-.07,.34,1.01);opacity:1}.info .row .col-sm{display:flex;flex-direction:column}.info .row .col-sm small{display:flex}.info .row .col-sm small strong:last-child(1){margin-left:auto!important}.btn-control{border:none!important;padding:0;margin:0 1rem 0 0}.btn-control:hover{background-color:transparent!important}.btn-control:active,.btn-control:focus{background-color:transparent!important;border:none!important;box-shadow:none}.btn-qrcode-peer{padding:0!important}.btn-qrcode-peer:active,.btn-qrcode-peer:hover{transform:scale(.9) rotate(180deg);border:0!important}.btn-download-peer:active,.btn-download-peer:hover{color:#17a2b8!important;transform:translateY(5px)}.share_peer_btn_group .btn-control{margin:0 0 0 1rem;padding:0!important;transition:all .4s cubic-bezier(1,-.43,0,1.37)}.btn-control:hover{background:#fff}.btn-delete-peer:hover{color:#dc3545}.btn-lock-peer:hover{color:#28a745}.btn-lock-peer.lock,.btn-lock-peer.lock:hover{color:#6c757d}.btn-control.btn-outline-primary:hover{color:#007bff}.btn-download-peer:hover{color:#17a2b8}.login-container{padding:2rem}@media (max-width: 992px){.card-col{margin-bottom:1rem}}.switch{font-size:2rem}.switch:hover{text-decoration:none}.btn-group-label:hover{color:#007bff;border-color:#007bff;background:#fff}.peer_data_group{text-align:right;display:flex;margin-bottom:.5rem}.peer_data_group p{text-transform:uppercase;margin-bottom:0;margin-right:1rem}@media (max-width: 768px){.peer_data_group{text-align:left}}.index-switch{display:flex;align-items:center;justify-content:flex-end}main{margin-bottom:3rem}.peer_list{margin-bottom:7rem}@media (max-width: 768px){.add_btn{bottom:1.5rem!important}.peer_list{margin-bottom:7rem!important}}.btn-manage-group{z-index:99;position:fixed;bottom:3rem;right:2rem;display:flex}.btn-manage-group .setting_btn_menu{position:absolute;top:-124px;background-color:#fff;padding:1rem 0;right:0;box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b;border-radius:10px;min-width:250px;display:none;transform:translateY(-30px);opacity:0;transition:all .3s cubic-bezier(.58,.03,.05,1.28)}.btn-manage-group .setting_btn_menu.show{display:block}.setting_btn_menu.showing{transform:translateY(0);opacity:1}.setting_btn_menu a{display:flex;padding:.5rem 1rem;transition:all .1s ease-in-out;font-size:1rem;align-items:center;cursor:pointer}.setting_btn_menu a:hover{background-color:#efefef;text-decoration:none}.setting_btn_menu a i{margin-right:auto!important}.add_btn{height:54px;z-index:99;border-radius:100px!important;padding:0 14px;box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b;margin-right:1rem;font-size:1.5rem}.setting_btn{height:54px;z-index:99;border-radius:100px!important;padding:0 14px;box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b;font-size:1.5rem}@-webkit-keyframes rotating{0%{-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotating{0%{-ms-transform:rotate(0deg);-moz-transform:rotate(0deg);-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}.rotating:before{-webkit-animation:rotating .75s linear infinite;-moz-animation:rotating .75s linear infinite;-ms-animation:rotating .75s linear infinite;-o-animation:rotating .75s linear infinite;animation:rotating .75s linear infinite}.peer_private_key_textbox_switch{position:absolute;right:2rem;transform:translateY(-28px);font-size:1.2rem;cursor:pointer}#peer_private_key_textbox,#private_key,#public_key,#peer_preshared_key_textbox{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.progress-bar{transition:.3s ease-in-out}.key{transition:.2s ease-in-out;cursor:pointer}.key:hover{color:#007bff}.card{border-radius:10px}.peer_list .card .button-group{height:22px}.form-control{border-radius:10px}.btn{border-radius:8px}.login-box #username,.login-box #password,.login-box #totp{padding:.6rem calc(.9rem + 32px);height:inherit}.login-box label[for=username],.login-box label[for=password],.login-box label[for=totp]{font-size:1rem;margin:0!important;transform:translateY(2.1rem) translate(1rem);padding:0}.modal-content{border-radius:10px}.tooltip-inner{font-size:.8rem}@-webkit-keyframes loading{0%{background-color:#dfdfdf}50%{background-color:#adadad}to{background-color:#dfdfdf}}@-moz-keyframes loading{0%{background-color:#dfdfdf}50%{background-color:#adadad}to{background-color:#dfdfdf}}.conf_card{transition:.2s ease-in-out}.conf_card:hover{border-color:#007bff}.info_loading{height:19.19px;opacity:0!important}#conf_status_btn{transition:.2s ease-in-out}#conf_status_btn.info_loading{height:38px;border-radius:5px;animation:loading 3s infinite ease-in-out}#qrcode_img img{width:100%}#selected_ip_list .badge,#selected_peer_list .badge{margin:.1rem}#add_modal.ip_modal_open{transition:filter .2s ease-in-out;filter:brightness(.5)}#delete_bulk_modal .list-group a.active{background-color:#dc3545;border-color:#dc3545}#selected_peer_list{max-height:80px;overflow-y:scroll;overflow-x:hidden}.no-response{width:100%;height:100%;position:fixed;background:#000000ba;z-index:10000;display:none;flex-direction:column;align-items:center;justify-content:center;opacity:0;transition:all 1s ease-in-out}.no-response.active{display:flex}.no-response.active.show{opacity:100}.no-response .container>*{text-align:center}.no-responding{transition:all 1s ease-in-out;filter:blur(10px)}pre.index-alert{margin-bottom:0;padding:1rem;background-color:#343a40;border:1px solid rgba(0,0,0,.125);border-radius:.25rem;margin-top:1rem;color:#fff}.peerNameCol{display:flex;align-items:center;margin-bottom:.2rem}.peerName{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.peerLightContainer{text-transform:uppercase;margin:0;margin-left:auto!important}#config_body{transition:.3s ease-in-out}#config_body.firstLoading{opacity:.2}.chartTitle{display:flex}.chartControl{margin-bottom:1rem;display:flex;align-items:center}.chartTitle h6{margin-bottom:0;line-height:1;margin-right:.5rem}.chartContainer.fullScreen{position:fixed;z-index:9999;background-color:#fff;top:0;left:0;width:calc(100% + 15px);height:100%;padding:32px}.chartContainer.fullScreen .col-sm{padding-right:0;height:100%}.chartContainer.fullScreen .chartCanvasContainer{width:100%;height:calc(100% - 47px)!important;max-height:calc(100% - 47px)!important}#switch{transition:all .2s ease-in}.toggle--switch{display:none}.toggleLabel{width:64px;height:32px;background-color:#6c757d17;display:flex;position:relative;border:2px solid #6c757d8c;border-radius:100px;transition:all .2s ease-in;cursor:pointer;margin:0}.toggle--switch.waiting+.toggleLabel{opacity:.5}.toggleLabel:before{background-color:#6c757d;height:26px;width:26px;content:"";border-radius:100px;margin:1px;position:absolute;animation-name:off;animation-duration:.35s;animation-fill-mode:forwards;transition:all .2s ease-in;cursor:pointer}.toggleLabel:hover:before{filter:brightness(1.2)}.toggle--switch:checked+.toggleLabel{background-color:#007bff17!important;border:2px solid #007bff8c}.toggle--switch:checked+.toggleLabel:before{background-color:#007bff;animation-name:on;animation-duration:.35s;animation-fill-mode:forwards}@keyframes on{0%{left:0}60%{left:0;width:40px}to{left:32px;width:26px}}@keyframes off{0%{left:32px}60%{left:18px;width:40px}to{left:0;width:26px}}.toastContainer{z-index:99999!important}.toast{min-width:300px;background-color:#fff;z-index:99999}.toast-header{background-color:#fff}.toast-progressbar{width:100%;height:4px;background-color:#007bff;border-bottom-left-radius:.25rem}.addConfigurationAvailableIPs{margin-bottom:0}.input-feedback{display:none}#addConfigurationModal label{display:flex;width:100%;align-items:center}#addConfigurationModal label a{margin-left:auto!important}#reGeneratePrivateKey{border-top-right-radius:10px;border-bottom-right-radius:10px}.addConfigurationToggleStatus.waiting{opacity:.5}.peerDataUsageChartContainer{min-height:50vh;width:100%}.peerDataUsageChartControl{display:block!important;margin:0}.peerDataUsageChartControl .switchUnit{width:33.3%}.peerDataUsageChartControl .switchTimePeriod{width:25%}@media (min-width: 1200px){#peerDataUsage .modal-xl{max-width:95vw}}.bottom{display:none}@media (max-width: 768px){.bottom{display:block}.btn-manage-group{bottom:calc(3rem + 40px + env(safe-area-inset-bottom,5px))}main{padding-bottom:calc(3rem + 40px + env(safe-area-inset-bottom,5px))}}.bottomNavContainer{display:flex;color:#333;padding-bottom:env(safe-area-inset-bottom,5px);box-shadow:inset 0 1px #0000001a}.bottomNavButton{width:25vw;display:flex;flex-direction:column;align-items:center;margin:.7rem 0;color:#33333380;cursor:pointer;transition:all ease-in .2s}.bottomNavButton.active{color:#333}.bottomNavButton i{font-size:1.2rem}.bottomNavButton .subNav{width:100vw;position:absolute;z-index:10000;bottom:0;left:0;background-color:#272b30;display:none;animation-duration:.4s;padding-bottom:env(safe-area-inset-bottom,5px)}.bottomNavButton .subNav.active{display:block}.bottomNavButton .subNav .nav .nav-item .nav-link{padding:.7rem 1rem}.bottomNavWrapper{height:100%;width:100%;background-color:#000000a1;position:fixed;z-index:1030;display:none;left:0}.bottomNavWrapper.active{display:block}.sb-update-url .dot-running{transform:translate(10px)}.list-group-item{transition:all .1s ease-in}.theme-switch-btn{width:100%}.fade-enter-active,.fade-leave-active{transition:all .3s ease-in-out}.fade-enter-from,.fade-leave-to{transform:translateY(30px);opacity:0}.fade2-enter-active,.fade2-leave-active{transition:all .15s ease-in-out}.fade2-enter-from{transform:translate(20px);opacity:0}.fade2-leave-to{transform:translate(-20px);opacity:0}.login-container-fluid{height:calc(100% - 50px)!important}.totp{font-family:var(--bs-font-monospace)}.message-move,.message-enter-active,.message-leave-active{transition:all .5s ease}.message-enter-from,.message-leave-to{filter:blur(2px);opacity:0}.message-enter-from{transform:translateY(-30px) scale(.7)}.message-leave-to{transform:translateY(30px)}.message-leave-active{position:absolute}.fade3-enter-active,.fade3-leave-active{transition:all .15s ease-in-out}.fade3-enter-from{transform:scale(1);opacity:0}.fade3-leave-to{transform:scale(.8);opacity:0}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease-in-out}.list-enter-from,.list-leave-to{opacity:0;transform:scale(1.1)}.list-leave-active{position:absolute}.peerSettingContainer{background-color:#00000060;z-index:9999;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.dashboardModal{min-height:calc(100% - 3.5rem);width:700px}.dashboardModal>.card{margin:1.75rem}.zoom-enter-active,.zoom-leave-active,.zoomReversed-enter-active,.zoomReversed-leave-active{transition:all .3s cubic-bezier(.82,.58,.17,.9)}.zoom-enter-from,.zoom-leave-to{transform:scale(1.1);filter:blur(3px);opacity:0}.zoomReversed-enter-from,.zoomReversed-leave-to{transform:scale(.9);filter:blur(3px);opacity:0}/*! +@charset "UTF-8";.dp__input{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol!important}::-webkit-scrollbar{display:none}.codeFont{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.feather{width:16px;height:16px;vertical-align:text-bottom}.btn-primary{font-weight:700}@property --brandColor1{syntax: ""; initial-value: #009dff; inherits: false;}@property --brandColor2{syntax: ""; initial-value: #ff4a00; inherits: false;}@property --distance2{syntax: ""; initial-value: 0%; inherits: false;}@property --degree{syntax: ""; initial-value: 234deg; inherits: false;}.dashboardLogo{background:#178bff;background:linear-gradient(234deg,var(--brandColor1) var(--distance2),var(--brandColor2) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;transition:--brandColor1 1s,--brandColor2 .3s,--distance2 1s!important}.btn-brand{background:linear-gradient(var(--degree),var(--brandColor1) var(--distance2),var(--brandColor2) 100%);border:0!important;transition:--brandColor1 1s,--brandColor2 1s,--distance2 .5s!important}.btn-brand.loading{animation:spin infinite forwards 3s linear}.btn-brand:hover,.dashboardLogo:hover{--brandColor1: #009dff;--brandColor2: #ff875b;--distance2: 30%}.signInBtn.signedIn{--distance2: 100%}@keyframes spin{0%{--degree: 234deg}to{--degree: 594deg}}[data-bs-theme=dark].main,#app:has(.main[data-bs-theme=dark]){background-color:#1b1e21}.sidebar .nav-link,.bottomNavContainer .nav-link{font-weight:500;color:#333;transition:.2s cubic-bezier(.82,-.07,0,1.01)}[data-bs-theme=dark] .sidebar .nav-link{color:#fff}[data-bs-theme=dark] .sidebar .nav-link.active{color:#74b7ff}[data-bs-theme=dark] .nav-link:hover{background-color:#323844}.nav-link:hover{background-color:#e8e8e8}.sidebar .nav-link .feather{margin-right:4px;color:#999}.sidebar .nav-link.active,.bottomNavContainer .nav-link.active{color:#007bff}.sidebar .nav-link:hover .feather,.sidebar .nav-link.active .feather{color:inherit}.sidebar-heading{font-size:.75rem;text-transform:uppercase}.navbar-brand{padding-top:.75rem;padding-bottom:.75rem;font-size:1rem}.navbar .navbar-toggler{top:.25rem;right:1rem}.form-control{transition:all .2s ease-in-out}.form-control:disabled{cursor:not-allowed}.navbar .form-control{padding:.75rem 1rem;border-width:0;border-radius:0}.form-control-dark{color:#fff;background-color:#ffffff1a;border-color:#ffffff1a}.form-control-dark:focus{border-color:transparent;box-shadow:0 0 0 3px #ffffff40}.dot{width:10px;height:10px;border-radius:50px;display:inline-block;margin-left:auto!important;background-color:#6c757d}.dot.active{background-color:#28a745!important;box-shadow:0 0 0 .2rem #28a74545}.h6-dot-running{margin-left:.3rem}.card-running{border-color:#28a745}.info h6{line-break:anywhere;transition:all .4s cubic-bezier(.96,-.07,.34,1.01);opacity:1}.info .row .col-sm{display:flex;flex-direction:column}.info .row .col-sm small{display:flex}.info .row .col-sm small strong:last-child(1){margin-left:auto!important}.btn-control{border:none!important;padding:0;margin:0 1rem 0 0}.btn-control:hover{background-color:transparent!important}.btn-control:active,.btn-control:focus{background-color:transparent!important;border:none!important;box-shadow:none}.btn-qrcode-peer{padding:0!important}.btn-qrcode-peer:active,.btn-qrcode-peer:hover{transform:scale(.9) rotate(180deg);border:0!important}.btn-download-peer:active,.btn-download-peer:hover{color:#17a2b8!important;transform:translateY(5px)}.share_peer_btn_group .btn-control{margin:0 0 0 1rem;padding:0!important;transition:all .4s cubic-bezier(1,-.43,0,1.37)}.btn-control:hover{background:#fff}.btn-delete-peer:hover{color:#dc3545}.btn-lock-peer:hover{color:#28a745}.btn-lock-peer.lock,.btn-lock-peer.lock:hover{color:#6c757d}.btn-control.btn-outline-primary:hover{color:#007bff}.btn-download-peer:hover{color:#17a2b8}.login-container{padding:2rem}@media (max-width: 992px){.card-col{margin-bottom:1rem}}.switch{font-size:2rem}.switch:hover{text-decoration:none}.btn-group-label:hover{color:#007bff;border-color:#007bff;background:#fff}.peer_data_group{text-align:right;display:flex;margin-bottom:.5rem}.peer_data_group p{text-transform:uppercase;margin-bottom:0;margin-right:1rem}@media (max-width: 768px){.peer_data_group{text-align:left}}.index-switch{display:flex;align-items:center;justify-content:flex-end}main{margin-bottom:3rem}.peer_list{margin-bottom:7rem}@media (max-width: 768px){.add_btn{bottom:1.5rem!important}.peer_list{margin-bottom:7rem!important}}.btn-manage-group{z-index:99;position:fixed;bottom:3rem;right:2rem;display:flex}.btn-manage-group .setting_btn_menu{position:absolute;top:-124px;background-color:#fff;padding:1rem 0;right:0;box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b;border-radius:10px;min-width:250px;display:none;transform:translateY(-30px);opacity:0;transition:all .3s cubic-bezier(.58,.03,.05,1.28)}.btn-manage-group .setting_btn_menu.show{display:block}.setting_btn_menu.showing{transform:translateY(0);opacity:1}.setting_btn_menu a{display:flex;padding:.5rem 1rem;transition:all .1s ease-in-out;font-size:1rem;align-items:center;cursor:pointer}.setting_btn_menu a:hover{background-color:#efefef;text-decoration:none}.setting_btn_menu a i{margin-right:auto!important}.add_btn{height:54px;z-index:99;border-radius:100px!important;padding:0 14px;box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b;margin-right:1rem;font-size:1.5rem}.setting_btn{height:54px;z-index:99;border-radius:100px!important;padding:0 14px;box-shadow:0 10px 20px #00000030,0 6px 6px #0000003b;font-size:1.5rem}@-webkit-keyframes rotating{0%{-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotating{0%{-ms-transform:rotate(0deg);-moz-transform:rotate(0deg);-webkit-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-ms-transform:rotate(360deg);-moz-transform:rotate(360deg);-webkit-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}.rotating:before{-webkit-animation:rotating .75s linear infinite;-moz-animation:rotating .75s linear infinite;-ms-animation:rotating .75s linear infinite;-o-animation:rotating .75s linear infinite;animation:rotating .75s linear infinite}.peer_private_key_textbox_switch{position:absolute;right:2rem;transform:translateY(-28px);font-size:1.2rem;cursor:pointer}#peer_private_key_textbox,#private_key,#public_key,#peer_preshared_key_textbox{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.progress-bar{transition:.3s ease-in-out}.key{transition:.2s ease-in-out;cursor:pointer}.key:hover{color:#007bff}.card{border-radius:10px}.peer_list .card .button-group{height:22px}.form-control{border-radius:10px}.btn{border-radius:8px}.login-box #username,.login-box #password,.login-box #totp{padding:.6rem calc(.9rem + 32px);height:inherit}.login-box label[for=username],.login-box label[for=password],.login-box label[for=totp]{font-size:1rem;margin:0!important;transform:translateY(2.1rem) translate(1rem);padding:0}.modal-content{border-radius:10px}.tooltip-inner{font-size:.8rem}@-webkit-keyframes loading{0%{background-color:#dfdfdf}50%{background-color:#adadad}to{background-color:#dfdfdf}}@-moz-keyframes loading{0%{background-color:#dfdfdf}50%{background-color:#adadad}to{background-color:#dfdfdf}}.conf_card{transition:.2s ease-in-out}.conf_card:hover{border-color:#007bff}.info_loading{height:19.19px;opacity:0!important}#conf_status_btn{transition:.2s ease-in-out}#conf_status_btn.info_loading{height:38px;border-radius:5px;animation:loading 3s infinite ease-in-out}#qrcode_img img{width:100%}#selected_ip_list .badge,#selected_peer_list .badge{margin:.1rem}#add_modal.ip_modal_open{transition:filter .2s ease-in-out;filter:brightness(.5)}#delete_bulk_modal .list-group a.active{background-color:#dc3545;border-color:#dc3545}#selected_peer_list{max-height:80px;overflow-y:scroll;overflow-x:hidden}.no-response{width:100%;height:100%;position:fixed;background:#000000ba;z-index:10000;display:none;flex-direction:column;align-items:center;justify-content:center;opacity:0;transition:all 1s ease-in-out}.no-response.active{display:flex}.no-response.active.show{opacity:100}.no-response .container>*{text-align:center}.no-responding{transition:all 1s ease-in-out;filter:blur(10px)}pre.index-alert{margin-bottom:0;padding:1rem;background-color:#343a40;border:1px solid rgba(0,0,0,.125);border-radius:.25rem;margin-top:1rem;color:#fff}.peerNameCol{display:flex;align-items:center;margin-bottom:.2rem}.peerName{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.peerLightContainer{text-transform:uppercase;margin:0;margin-left:auto!important}#config_body{transition:.3s ease-in-out}#config_body.firstLoading{opacity:.2}.chartTitle{display:flex}.chartControl{margin-bottom:1rem;display:flex;align-items:center}.chartTitle h6{margin-bottom:0;line-height:1;margin-right:.5rem}.chartContainer.fullScreen{position:fixed;z-index:9999;background-color:#fff;top:0;left:0;width:calc(100% + 15px);height:100%;padding:32px}.chartContainer.fullScreen .col-sm{padding-right:0;height:100%}.chartContainer.fullScreen .chartCanvasContainer{width:100%;height:calc(100% - 47px)!important;max-height:calc(100% - 47px)!important}#switch{transition:all .2s ease-in}.toggle--switch{display:none}.toggleLabel{width:64px;height:32px;background-color:#6c757d17;display:flex;position:relative;border:2px solid #6c757d8c;border-radius:100px;transition:all .2s ease-in;cursor:pointer;margin:0}.toggle--switch.waiting+.toggleLabel{opacity:.5}.toggleLabel:before{background-color:#6c757d;height:26px;width:26px;content:"";border-radius:100px;margin:1px;position:absolute;animation-name:off;animation-duration:.35s;animation-fill-mode:forwards;transition:all .2s ease-in;cursor:pointer}.toggleLabel:hover:before{filter:brightness(1.2)}.toggle--switch:checked+.toggleLabel{background-color:#007bff17!important;border:2px solid #007bff8c}.toggle--switch:checked+.toggleLabel:before{background-color:#007bff;animation-name:on;animation-duration:.35s;animation-fill-mode:forwards}@keyframes on{0%{left:0}60%{left:0;width:40px}to{left:32px;width:26px}}@keyframes off{0%{left:32px}60%{left:18px;width:40px}to{left:0;width:26px}}.toastContainer{z-index:99999!important}.toast{min-width:300px;background-color:#fff;z-index:99999}.toast-header{background-color:#fff}.toast-progressbar{width:100%;height:4px;background-color:#007bff;border-bottom-left-radius:.25rem}.addConfigurationAvailableIPs{margin-bottom:0}.input-feedback{display:none}#addConfigurationModal label{display:flex;width:100%;align-items:center}#addConfigurationModal label a{margin-left:auto!important}#reGeneratePrivateKey{border-top-right-radius:10px;border-bottom-right-radius:10px}.addConfigurationToggleStatus.waiting{opacity:.5}.peerDataUsageChartContainer{min-height:50vh;width:100%}.peerDataUsageChartControl{display:block!important;margin:0}.peerDataUsageChartControl .switchUnit{width:33.3%}.peerDataUsageChartControl .switchTimePeriod{width:25%}@media (min-width: 1200px){#peerDataUsage .modal-xl{max-width:95vw}}.bottom{display:none}@media (max-width: 768px){.bottom{display:block}.btn-manage-group{bottom:calc(3rem + 40px + env(safe-area-inset-bottom,5px))}main{padding-bottom:calc(3rem + 40px + env(safe-area-inset-bottom,5px))}}.bottomNavContainer{display:flex;color:#333;padding-bottom:env(safe-area-inset-bottom,5px);box-shadow:inset 0 1px #0000001a}.bottomNavButton{width:25vw;display:flex;flex-direction:column;align-items:center;margin:.7rem 0;color:#33333380;cursor:pointer;transition:all ease-in .2s}.bottomNavButton.active{color:#333}.bottomNavButton i{font-size:1.2rem}.bottomNavButton .subNav{width:100vw;position:absolute;z-index:10000;bottom:0;left:0;background-color:#272b30;display:none;animation-duration:.4s;padding-bottom:env(safe-area-inset-bottom,5px)}.bottomNavButton .subNav.active{display:block}.bottomNavButton .subNav .nav .nav-item .nav-link{padding:.7rem 1rem}.bottomNavWrapper{height:100%;width:100%;background-color:#000000a1;position:fixed;z-index:1030;display:none;left:0}.bottomNavWrapper.active{display:block}.sb-update-url .dot-running{transform:translate(10px)}.list-group-item{transition:all .1s ease-in}.theme-switch-btn{width:100%}.fade-enter-active,.fade-leave-active{transition:all .3s ease-in-out}.fade-enter-from,.fade-leave-to{transform:translateY(30px);opacity:0}.fade2-enter-active,.fade2-leave-active{transition:all .15s ease-in-out}.fade2-enter-from{transform:translate(20px);opacity:0}.fade2-leave-to{transform:translate(-20px);opacity:0}.login-container-fluid{height:calc(100% - 50px)!important}.totp{font-family:var(--bs-font-monospace)}.message-move,.message-enter-active,.message-leave-active{transition:all .5s ease}.message-enter-from,.message-leave-to{filter:blur(2px);opacity:0}.message-enter-from{transform:translateY(-30px) scale(.7)}.message-leave-to{transform:translateY(30px)}.message-leave-active{position:absolute}.fade3-enter-active,.fade3-leave-active{transition:all .15s ease-in-out}.fade3-enter-from{transform:scale(1);opacity:0}.fade3-leave-to{transform:scale(.8);opacity:0}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease-in-out}.list-enter-from,.list-leave-to{opacity:0;transform:scale(1.1)}.list-leave-active{position:absolute}.peerSettingContainer{background-color:#00000060;z-index:9999;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}.dashboardModal{min-height:calc(100% - 3.5rem);width:700px}.dashboardModal>.card{margin:1.75rem}.zoom-enter-active,.zoom-leave-active,.zoomReversed-enter-active,.zoomReversed-leave-active{transition:all .3s cubic-bezier(.82,.58,.17,.9)}.zoom-enter-from,.zoom-leave-to{transform:scale(1.1);filter:blur(3px);opacity:0}.zoomReversed-enter-from,.zoomReversed-leave-to{transform:scale(.9);filter:blur(3px);opacity:0}.messageCentre{z-index:9999}/*! * Bootstrap v5.3.2 (https://getbootstrap.com/) * Copyright 2011-2023 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) @@ -6,10 +6,10 @@ * Bootstrap Icons v1.11.2 (https://icons.getbootstrap.com/) * Copyright 2019-2023 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/icons/blob/main/LICENSE) -*/@font-face{font-display:block;font-family:bootstrap-icons;src:url(/static/app/dist/assets/bootstrap-icons.woff2?7141511ac37f13e1a387fb9fc6646256) format("woff2"),url(/static/app/dist/assets/bootstrap-icons.woff?7141511ac37f13e1a387fb9fc6646256) format("woff")}.bi:before,[class^=bi-]:before,[class*=" bi-"]:before{display:inline-block;font-family:bootstrap-icons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;vertical-align:-.125em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bi-123:before{content:""}.bi-alarm-fill:before{content:""}.bi-alarm:before{content:""}.bi-align-bottom:before{content:""}.bi-align-center:before{content:""}.bi-align-end:before{content:""}.bi-align-middle:before{content:""}.bi-align-start:before{content:""}.bi-align-top:before{content:""}.bi-alt:before{content:""}.bi-app-indicator:before{content:""}.bi-app:before{content:""}.bi-archive-fill:before{content:""}.bi-archive:before{content:""}.bi-arrow-90deg-down:before{content:""}.bi-arrow-90deg-left:before{content:""}.bi-arrow-90deg-right:before{content:""}.bi-arrow-90deg-up:before{content:""}.bi-arrow-bar-down:before{content:""}.bi-arrow-bar-left:before{content:""}.bi-arrow-bar-right:before{content:""}.bi-arrow-bar-up:before{content:""}.bi-arrow-clockwise:before{content:""}.bi-arrow-counterclockwise:before{content:""}.bi-arrow-down-circle-fill:before{content:""}.bi-arrow-down-circle:before{content:""}.bi-arrow-down-left-circle-fill:before{content:""}.bi-arrow-down-left-circle:before{content:""}.bi-arrow-down-left-square-fill:before{content:""}.bi-arrow-down-left-square:before{content:""}.bi-arrow-down-left:before{content:""}.bi-arrow-down-right-circle-fill:before{content:""}.bi-arrow-down-right-circle:before{content:""}.bi-arrow-down-right-square-fill:before{content:""}.bi-arrow-down-right-square:before{content:""}.bi-arrow-down-right:before{content:""}.bi-arrow-down-short:before{content:""}.bi-arrow-down-square-fill:before{content:""}.bi-arrow-down-square:before{content:""}.bi-arrow-down-up:before{content:""}.bi-arrow-down:before{content:""}.bi-arrow-left-circle-fill:before{content:""}.bi-arrow-left-circle:before{content:""}.bi-arrow-left-right:before{content:""}.bi-arrow-left-short:before{content:""}.bi-arrow-left-square-fill:before{content:""}.bi-arrow-left-square:before{content:""}.bi-arrow-left:before{content:""}.bi-arrow-repeat:before{content:""}.bi-arrow-return-left:before{content:""}.bi-arrow-return-right:before{content:""}.bi-arrow-right-circle-fill:before{content:""}.bi-arrow-right-circle:before{content:""}.bi-arrow-right-short:before{content:""}.bi-arrow-right-square-fill:before{content:""}.bi-arrow-right-square:before{content:""}.bi-arrow-right:before{content:""}.bi-arrow-up-circle-fill:before{content:""}.bi-arrow-up-circle:before{content:""}.bi-arrow-up-left-circle-fill:before{content:""}.bi-arrow-up-left-circle:before{content:""}.bi-arrow-up-left-square-fill:before{content:""}.bi-arrow-up-left-square:before{content:""}.bi-arrow-up-left:before{content:""}.bi-arrow-up-right-circle-fill:before{content:""}.bi-arrow-up-right-circle:before{content:""}.bi-arrow-up-right-square-fill:before{content:""}.bi-arrow-up-right-square:before{content:""}.bi-arrow-up-right:before{content:""}.bi-arrow-up-short:before{content:""}.bi-arrow-up-square-fill:before{content:""}.bi-arrow-up-square:before{content:""}.bi-arrow-up:before{content:""}.bi-arrows-angle-contract:before{content:""}.bi-arrows-angle-expand:before{content:""}.bi-arrows-collapse:before{content:""}.bi-arrows-expand:before{content:""}.bi-arrows-fullscreen:before{content:""}.bi-arrows-move:before{content:""}.bi-aspect-ratio-fill:before{content:""}.bi-aspect-ratio:before{content:""}.bi-asterisk:before{content:""}.bi-at:before{content:""}.bi-award-fill:before{content:""}.bi-award:before{content:""}.bi-back:before{content:""}.bi-backspace-fill:before{content:""}.bi-backspace-reverse-fill:before{content:""}.bi-backspace-reverse:before{content:""}.bi-backspace:before{content:""}.bi-badge-3d-fill:before{content:""}.bi-badge-3d:before{content:""}.bi-badge-4k-fill:before{content:""}.bi-badge-4k:before{content:""}.bi-badge-8k-fill:before{content:""}.bi-badge-8k:before{content:""}.bi-badge-ad-fill:before{content:""}.bi-badge-ad:before{content:""}.bi-badge-ar-fill:before{content:""}.bi-badge-ar:before{content:""}.bi-badge-cc-fill:before{content:""}.bi-badge-cc:before{content:""}.bi-badge-hd-fill:before{content:""}.bi-badge-hd:before{content:""}.bi-badge-tm-fill:before{content:""}.bi-badge-tm:before{content:""}.bi-badge-vo-fill:before{content:""}.bi-badge-vo:before{content:""}.bi-badge-vr-fill:before{content:""}.bi-badge-vr:before{content:""}.bi-badge-wc-fill:before{content:""}.bi-badge-wc:before{content:""}.bi-bag-check-fill:before{content:""}.bi-bag-check:before{content:""}.bi-bag-dash-fill:before{content:""}.bi-bag-dash:before{content:""}.bi-bag-fill:before{content:""}.bi-bag-plus-fill:before{content:""}.bi-bag-plus:before{content:""}.bi-bag-x-fill:before{content:""}.bi-bag-x:before{content:""}.bi-bag:before{content:""}.bi-bar-chart-fill:before{content:""}.bi-bar-chart-line-fill:before{content:""}.bi-bar-chart-line:before{content:""}.bi-bar-chart-steps:before{content:""}.bi-bar-chart:before{content:""}.bi-basket-fill:before{content:""}.bi-basket:before{content:""}.bi-basket2-fill:before{content:""}.bi-basket2:before{content:""}.bi-basket3-fill:before{content:""}.bi-basket3:before{content:""}.bi-battery-charging:before{content:""}.bi-battery-full:before{content:""}.bi-battery-half:before{content:""}.bi-battery:before{content:""}.bi-bell-fill:before{content:""}.bi-bell:before{content:""}.bi-bezier:before{content:""}.bi-bezier2:before{content:""}.bi-bicycle:before{content:""}.bi-binoculars-fill:before{content:""}.bi-binoculars:before{content:""}.bi-blockquote-left:before{content:""}.bi-blockquote-right:before{content:""}.bi-book-fill:before{content:""}.bi-book-half:before{content:""}.bi-book:before{content:""}.bi-bookmark-check-fill:before{content:""}.bi-bookmark-check:before{content:""}.bi-bookmark-dash-fill:before{content:""}.bi-bookmark-dash:before{content:""}.bi-bookmark-fill:before{content:""}.bi-bookmark-heart-fill:before{content:""}.bi-bookmark-heart:before{content:""}.bi-bookmark-plus-fill:before{content:""}.bi-bookmark-plus:before{content:""}.bi-bookmark-star-fill:before{content:""}.bi-bookmark-star:before{content:""}.bi-bookmark-x-fill:before{content:""}.bi-bookmark-x:before{content:""}.bi-bookmark:before{content:""}.bi-bookmarks-fill:before{content:""}.bi-bookmarks:before{content:""}.bi-bookshelf:before{content:""}.bi-bootstrap-fill:before{content:""}.bi-bootstrap-reboot:before{content:""}.bi-bootstrap:before{content:""}.bi-border-all:before{content:""}.bi-border-bottom:before{content:""}.bi-border-center:before{content:""}.bi-border-inner:before{content:""}.bi-border-left:before{content:""}.bi-border-middle:before{content:""}.bi-border-outer:before{content:""}.bi-border-right:before{content:""}.bi-border-style:before{content:""}.bi-border-top:before{content:""}.bi-border-width:before{content:""}.bi-border:before{content:""}.bi-bounding-box-circles:before{content:""}.bi-bounding-box:before{content:""}.bi-box-arrow-down-left:before{content:""}.bi-box-arrow-down-right:before{content:""}.bi-box-arrow-down:before{content:""}.bi-box-arrow-in-down-left:before{content:""}.bi-box-arrow-in-down-right:before{content:""}.bi-box-arrow-in-down:before{content:""}.bi-box-arrow-in-left:before{content:""}.bi-box-arrow-in-right:before{content:""}.bi-box-arrow-in-up-left:before{content:""}.bi-box-arrow-in-up-right:before{content:""}.bi-box-arrow-in-up:before{content:""}.bi-box-arrow-left:before{content:""}.bi-box-arrow-right:before{content:""}.bi-box-arrow-up-left:before{content:""}.bi-box-arrow-up-right:before{content:""}.bi-box-arrow-up:before{content:""}.bi-box-seam:before{content:""}.bi-box:before{content:""}.bi-braces:before{content:""}.bi-bricks:before{content:""}.bi-briefcase-fill:before{content:""}.bi-briefcase:before{content:""}.bi-brightness-alt-high-fill:before{content:""}.bi-brightness-alt-high:before{content:""}.bi-brightness-alt-low-fill:before{content:""}.bi-brightness-alt-low:before{content:""}.bi-brightness-high-fill:before{content:""}.bi-brightness-high:before{content:""}.bi-brightness-low-fill:before{content:""}.bi-brightness-low:before{content:""}.bi-broadcast-pin:before{content:""}.bi-broadcast:before{content:""}.bi-brush-fill:before{content:""}.bi-brush:before{content:""}.bi-bucket-fill:before{content:""}.bi-bucket:before{content:""}.bi-bug-fill:before{content:""}.bi-bug:before{content:""}.bi-building:before{content:""}.bi-bullseye:before{content:""}.bi-calculator-fill:before{content:""}.bi-calculator:before{content:""}.bi-calendar-check-fill:before{content:""}.bi-calendar-check:before{content:""}.bi-calendar-date-fill:before{content:""}.bi-calendar-date:before{content:""}.bi-calendar-day-fill:before{content:""}.bi-calendar-day:before{content:""}.bi-calendar-event-fill:before{content:""}.bi-calendar-event:before{content:""}.bi-calendar-fill:before{content:""}.bi-calendar-minus-fill:before{content:""}.bi-calendar-minus:before{content:""}.bi-calendar-month-fill:before{content:""}.bi-calendar-month:before{content:""}.bi-calendar-plus-fill:before{content:""}.bi-calendar-plus:before{content:""}.bi-calendar-range-fill:before{content:""}.bi-calendar-range:before{content:""}.bi-calendar-week-fill:before{content:""}.bi-calendar-week:before{content:""}.bi-calendar-x-fill:before{content:""}.bi-calendar-x:before{content:""}.bi-calendar:before{content:""}.bi-calendar2-check-fill:before{content:""}.bi-calendar2-check:before{content:""}.bi-calendar2-date-fill:before{content:""}.bi-calendar2-date:before{content:""}.bi-calendar2-day-fill:before{content:""}.bi-calendar2-day:before{content:""}.bi-calendar2-event-fill:before{content:""}.bi-calendar2-event:before{content:""}.bi-calendar2-fill:before{content:""}.bi-calendar2-minus-fill:before{content:""}.bi-calendar2-minus:before{content:""}.bi-calendar2-month-fill:before{content:""}.bi-calendar2-month:before{content:""}.bi-calendar2-plus-fill:before{content:""}.bi-calendar2-plus:before{content:""}.bi-calendar2-range-fill:before{content:""}.bi-calendar2-range:before{content:""}.bi-calendar2-week-fill:before{content:""}.bi-calendar2-week:before{content:""}.bi-calendar2-x-fill:before{content:""}.bi-calendar2-x:before{content:""}.bi-calendar2:before{content:""}.bi-calendar3-event-fill:before{content:""}.bi-calendar3-event:before{content:""}.bi-calendar3-fill:before{content:""}.bi-calendar3-range-fill:before{content:""}.bi-calendar3-range:before{content:""}.bi-calendar3-week-fill:before{content:""}.bi-calendar3-week:before{content:""}.bi-calendar3:before{content:""}.bi-calendar4-event:before{content:""}.bi-calendar4-range:before{content:""}.bi-calendar4-week:before{content:""}.bi-calendar4:before{content:""}.bi-camera-fill:before{content:""}.bi-camera-reels-fill:before{content:""}.bi-camera-reels:before{content:""}.bi-camera-video-fill:before{content:""}.bi-camera-video-off-fill:before{content:""}.bi-camera-video-off:before{content:""}.bi-camera-video:before{content:""}.bi-camera:before{content:""}.bi-camera2:before{content:""}.bi-capslock-fill:before{content:""}.bi-capslock:before{content:""}.bi-card-checklist:before{content:""}.bi-card-heading:before{content:""}.bi-card-image:before{content:""}.bi-card-list:before{content:""}.bi-card-text:before{content:""}.bi-caret-down-fill:before{content:""}.bi-caret-down-square-fill:before{content:""}.bi-caret-down-square:before{content:""}.bi-caret-down:before{content:""}.bi-caret-left-fill:before{content:""}.bi-caret-left-square-fill:before{content:""}.bi-caret-left-square:before{content:""}.bi-caret-left:before{content:""}.bi-caret-right-fill:before{content:""}.bi-caret-right-square-fill:before{content:""}.bi-caret-right-square:before{content:""}.bi-caret-right:before{content:""}.bi-caret-up-fill:before{content:""}.bi-caret-up-square-fill:before{content:""}.bi-caret-up-square:before{content:""}.bi-caret-up:before{content:""}.bi-cart-check-fill:before{content:""}.bi-cart-check:before{content:""}.bi-cart-dash-fill:before{content:""}.bi-cart-dash:before{content:""}.bi-cart-fill:before{content:""}.bi-cart-plus-fill:before{content:""}.bi-cart-plus:before{content:""}.bi-cart-x-fill:before{content:""}.bi-cart-x:before{content:""}.bi-cart:before{content:""}.bi-cart2:before{content:""}.bi-cart3:before{content:""}.bi-cart4:before{content:""}.bi-cash-stack:before{content:""}.bi-cash:before{content:""}.bi-cast:before{content:""}.bi-chat-dots-fill:before{content:""}.bi-chat-dots:before{content:""}.bi-chat-fill:before{content:""}.bi-chat-left-dots-fill:before{content:""}.bi-chat-left-dots:before{content:""}.bi-chat-left-fill:before{content:""}.bi-chat-left-quote-fill:before{content:""}.bi-chat-left-quote:before{content:""}.bi-chat-left-text-fill:before{content:""}.bi-chat-left-text:before{content:""}.bi-chat-left:before{content:""}.bi-chat-quote-fill:before{content:""}.bi-chat-quote:before{content:""}.bi-chat-right-dots-fill:before{content:""}.bi-chat-right-dots:before{content:""}.bi-chat-right-fill:before{content:""}.bi-chat-right-quote-fill:before{content:""}.bi-chat-right-quote:before{content:""}.bi-chat-right-text-fill:before{content:""}.bi-chat-right-text:before{content:""}.bi-chat-right:before{content:""}.bi-chat-square-dots-fill:before{content:""}.bi-chat-square-dots:before{content:""}.bi-chat-square-fill:before{content:""}.bi-chat-square-quote-fill:before{content:""}.bi-chat-square-quote:before{content:""}.bi-chat-square-text-fill:before{content:""}.bi-chat-square-text:before{content:""}.bi-chat-square:before{content:""}.bi-chat-text-fill:before{content:""}.bi-chat-text:before{content:""}.bi-chat:before{content:""}.bi-check-all:before{content:""}.bi-check-circle-fill:before{content:""}.bi-check-circle:before{content:""}.bi-check-square-fill:before{content:""}.bi-check-square:before{content:""}.bi-check:before{content:""}.bi-check2-all:before{content:""}.bi-check2-circle:before{content:""}.bi-check2-square:before{content:""}.bi-check2:before{content:""}.bi-chevron-bar-contract:before{content:""}.bi-chevron-bar-down:before{content:""}.bi-chevron-bar-expand:before{content:""}.bi-chevron-bar-left:before{content:""}.bi-chevron-bar-right:before{content:""}.bi-chevron-bar-up:before{content:""}.bi-chevron-compact-down:before{content:""}.bi-chevron-compact-left:before{content:""}.bi-chevron-compact-right:before{content:""}.bi-chevron-compact-up:before{content:""}.bi-chevron-contract:before{content:""}.bi-chevron-double-down:before{content:""}.bi-chevron-double-left:before{content:""}.bi-chevron-double-right:before{content:""}.bi-chevron-double-up:before{content:""}.bi-chevron-down:before{content:""}.bi-chevron-expand:before{content:""}.bi-chevron-left:before{content:""}.bi-chevron-right:before{content:""}.bi-chevron-up:before{content:""}.bi-circle-fill:before{content:""}.bi-circle-half:before{content:""}.bi-circle-square:before{content:""}.bi-circle:before{content:""}.bi-clipboard-check:before{content:""}.bi-clipboard-data:before{content:""}.bi-clipboard-minus:before{content:""}.bi-clipboard-plus:before{content:""}.bi-clipboard-x:before{content:""}.bi-clipboard:before{content:""}.bi-clock-fill:before{content:""}.bi-clock-history:before{content:""}.bi-clock:before{content:""}.bi-cloud-arrow-down-fill:before{content:""}.bi-cloud-arrow-down:before{content:""}.bi-cloud-arrow-up-fill:before{content:""}.bi-cloud-arrow-up:before{content:""}.bi-cloud-check-fill:before{content:""}.bi-cloud-check:before{content:""}.bi-cloud-download-fill:before{content:""}.bi-cloud-download:before{content:""}.bi-cloud-drizzle-fill:before{content:""}.bi-cloud-drizzle:before{content:""}.bi-cloud-fill:before{content:""}.bi-cloud-fog-fill:before{content:""}.bi-cloud-fog:before{content:""}.bi-cloud-fog2-fill:before{content:""}.bi-cloud-fog2:before{content:""}.bi-cloud-hail-fill:before{content:""}.bi-cloud-hail:before{content:""}.bi-cloud-haze-fill:before{content:""}.bi-cloud-haze:before{content:""}.bi-cloud-haze2-fill:before{content:""}.bi-cloud-lightning-fill:before{content:""}.bi-cloud-lightning-rain-fill:before{content:""}.bi-cloud-lightning-rain:before{content:""}.bi-cloud-lightning:before{content:""}.bi-cloud-minus-fill:before{content:""}.bi-cloud-minus:before{content:""}.bi-cloud-moon-fill:before{content:""}.bi-cloud-moon:before{content:""}.bi-cloud-plus-fill:before{content:""}.bi-cloud-plus:before{content:""}.bi-cloud-rain-fill:before{content:""}.bi-cloud-rain-heavy-fill:before{content:""}.bi-cloud-rain-heavy:before{content:""}.bi-cloud-rain:before{content:""}.bi-cloud-slash-fill:before{content:""}.bi-cloud-slash:before{content:""}.bi-cloud-sleet-fill:before{content:""}.bi-cloud-sleet:before{content:""}.bi-cloud-snow-fill:before{content:""}.bi-cloud-snow:before{content:""}.bi-cloud-sun-fill:before{content:""}.bi-cloud-sun:before{content:""}.bi-cloud-upload-fill:before{content:""}.bi-cloud-upload:before{content:""}.bi-cloud:before{content:""}.bi-clouds-fill:before{content:""}.bi-clouds:before{content:""}.bi-cloudy-fill:before{content:""}.bi-cloudy:before{content:""}.bi-code-slash:before{content:""}.bi-code-square:before{content:""}.bi-code:before{content:""}.bi-collection-fill:before{content:""}.bi-collection-play-fill:before{content:""}.bi-collection-play:before{content:""}.bi-collection:before{content:""}.bi-columns-gap:before{content:""}.bi-columns:before{content:""}.bi-command:before{content:""}.bi-compass-fill:before{content:""}.bi-compass:before{content:""}.bi-cone-striped:before{content:""}.bi-cone:before{content:""}.bi-controller:before{content:""}.bi-cpu-fill:before{content:""}.bi-cpu:before{content:""}.bi-credit-card-2-back-fill:before{content:""}.bi-credit-card-2-back:before{content:""}.bi-credit-card-2-front-fill:before{content:""}.bi-credit-card-2-front:before{content:""}.bi-credit-card-fill:before{content:""}.bi-credit-card:before{content:""}.bi-crop:before{content:""}.bi-cup-fill:before{content:""}.bi-cup-straw:before{content:""}.bi-cup:before{content:""}.bi-cursor-fill:before{content:""}.bi-cursor-text:before{content:""}.bi-cursor:before{content:""}.bi-dash-circle-dotted:before{content:""}.bi-dash-circle-fill:before{content:""}.bi-dash-circle:before{content:""}.bi-dash-square-dotted:before{content:""}.bi-dash-square-fill:before{content:""}.bi-dash-square:before{content:""}.bi-dash:before{content:""}.bi-diagram-2-fill:before{content:""}.bi-diagram-2:before{content:""}.bi-diagram-3-fill:before{content:""}.bi-diagram-3:before{content:""}.bi-diamond-fill:before{content:""}.bi-diamond-half:before{content:""}.bi-diamond:before{content:""}.bi-dice-1-fill:before{content:""}.bi-dice-1:before{content:""}.bi-dice-2-fill:before{content:""}.bi-dice-2:before{content:""}.bi-dice-3-fill:before{content:""}.bi-dice-3:before{content:""}.bi-dice-4-fill:before{content:""}.bi-dice-4:before{content:""}.bi-dice-5-fill:before{content:""}.bi-dice-5:before{content:""}.bi-dice-6-fill:before{content:""}.bi-dice-6:before{content:""}.bi-disc-fill:before{content:""}.bi-disc:before{content:""}.bi-discord:before{content:""}.bi-display-fill:before{content:""}.bi-display:before{content:""}.bi-distribute-horizontal:before{content:""}.bi-distribute-vertical:before{content:""}.bi-door-closed-fill:before{content:""}.bi-door-closed:before{content:""}.bi-door-open-fill:before{content:""}.bi-door-open:before{content:""}.bi-dot:before{content:""}.bi-download:before{content:""}.bi-droplet-fill:before{content:""}.bi-droplet-half:before{content:""}.bi-droplet:before{content:""}.bi-earbuds:before{content:""}.bi-easel-fill:before{content:""}.bi-easel:before{content:""}.bi-egg-fill:before{content:""}.bi-egg-fried:before{content:""}.bi-egg:before{content:""}.bi-eject-fill:before{content:""}.bi-eject:before{content:""}.bi-emoji-angry-fill:before{content:""}.bi-emoji-angry:before{content:""}.bi-emoji-dizzy-fill:before{content:""}.bi-emoji-dizzy:before{content:""}.bi-emoji-expressionless-fill:before{content:""}.bi-emoji-expressionless:before{content:""}.bi-emoji-frown-fill:before{content:""}.bi-emoji-frown:before{content:""}.bi-emoji-heart-eyes-fill:before{content:""}.bi-emoji-heart-eyes:before{content:""}.bi-emoji-laughing-fill:before{content:""}.bi-emoji-laughing:before{content:""}.bi-emoji-neutral-fill:before{content:""}.bi-emoji-neutral:before{content:""}.bi-emoji-smile-fill:before{content:""}.bi-emoji-smile-upside-down-fill:before{content:""}.bi-emoji-smile-upside-down:before{content:""}.bi-emoji-smile:before{content:""}.bi-emoji-sunglasses-fill:before{content:""}.bi-emoji-sunglasses:before{content:""}.bi-emoji-wink-fill:before{content:""}.bi-emoji-wink:before{content:""}.bi-envelope-fill:before{content:""}.bi-envelope-open-fill:before{content:""}.bi-envelope-open:before{content:""}.bi-envelope:before{content:""}.bi-eraser-fill:before{content:""}.bi-eraser:before{content:""}.bi-exclamation-circle-fill:before{content:""}.bi-exclamation-circle:before{content:""}.bi-exclamation-diamond-fill:before{content:""}.bi-exclamation-diamond:before{content:""}.bi-exclamation-octagon-fill:before{content:""}.bi-exclamation-octagon:before{content:""}.bi-exclamation-square-fill:before{content:""}.bi-exclamation-square:before{content:""}.bi-exclamation-triangle-fill:before{content:""}.bi-exclamation-triangle:before{content:""}.bi-exclamation:before{content:""}.bi-exclude:before{content:""}.bi-eye-fill:before{content:""}.bi-eye-slash-fill:before{content:""}.bi-eye-slash:before{content:""}.bi-eye:before{content:""}.bi-eyedropper:before{content:""}.bi-eyeglasses:before{content:""}.bi-facebook:before{content:""}.bi-file-arrow-down-fill:before{content:""}.bi-file-arrow-down:before{content:""}.bi-file-arrow-up-fill:before{content:""}.bi-file-arrow-up:before{content:""}.bi-file-bar-graph-fill:before{content:""}.bi-file-bar-graph:before{content:""}.bi-file-binary-fill:before{content:""}.bi-file-binary:before{content:""}.bi-file-break-fill:before{content:""}.bi-file-break:before{content:""}.bi-file-check-fill:before{content:""}.bi-file-check:before{content:""}.bi-file-code-fill:before{content:""}.bi-file-code:before{content:""}.bi-file-diff-fill:before{content:""}.bi-file-diff:before{content:""}.bi-file-earmark-arrow-down-fill:before{content:""}.bi-file-earmark-arrow-down:before{content:""}.bi-file-earmark-arrow-up-fill:before{content:""}.bi-file-earmark-arrow-up:before{content:""}.bi-file-earmark-bar-graph-fill:before{content:""}.bi-file-earmark-bar-graph:before{content:""}.bi-file-earmark-binary-fill:before{content:""}.bi-file-earmark-binary:before{content:""}.bi-file-earmark-break-fill:before{content:""}.bi-file-earmark-break:before{content:""}.bi-file-earmark-check-fill:before{content:""}.bi-file-earmark-check:before{content:""}.bi-file-earmark-code-fill:before{content:""}.bi-file-earmark-code:before{content:""}.bi-file-earmark-diff-fill:before{content:""}.bi-file-earmark-diff:before{content:""}.bi-file-earmark-easel-fill:before{content:""}.bi-file-earmark-easel:before{content:""}.bi-file-earmark-excel-fill:before{content:""}.bi-file-earmark-excel:before{content:""}.bi-file-earmark-fill:before{content:""}.bi-file-earmark-font-fill:before{content:""}.bi-file-earmark-font:before{content:""}.bi-file-earmark-image-fill:before{content:""}.bi-file-earmark-image:before{content:""}.bi-file-earmark-lock-fill:before{content:""}.bi-file-earmark-lock:before{content:""}.bi-file-earmark-lock2-fill:before{content:""}.bi-file-earmark-lock2:before{content:""}.bi-file-earmark-medical-fill:before{content:""}.bi-file-earmark-medical:before{content:""}.bi-file-earmark-minus-fill:before{content:""}.bi-file-earmark-minus:before{content:""}.bi-file-earmark-music-fill:before{content:""}.bi-file-earmark-music:before{content:""}.bi-file-earmark-person-fill:before{content:""}.bi-file-earmark-person:before{content:""}.bi-file-earmark-play-fill:before{content:""}.bi-file-earmark-play:before{content:""}.bi-file-earmark-plus-fill:before{content:""}.bi-file-earmark-plus:before{content:""}.bi-file-earmark-post-fill:before{content:""}.bi-file-earmark-post:before{content:""}.bi-file-earmark-ppt-fill:before{content:""}.bi-file-earmark-ppt:before{content:""}.bi-file-earmark-richtext-fill:before{content:""}.bi-file-earmark-richtext:before{content:""}.bi-file-earmark-ruled-fill:before{content:""}.bi-file-earmark-ruled:before{content:""}.bi-file-earmark-slides-fill:before{content:""}.bi-file-earmark-slides:before{content:""}.bi-file-earmark-spreadsheet-fill:before{content:""}.bi-file-earmark-spreadsheet:before{content:""}.bi-file-earmark-text-fill:before{content:""}.bi-file-earmark-text:before{content:""}.bi-file-earmark-word-fill:before{content:""}.bi-file-earmark-word:before{content:""}.bi-file-earmark-x-fill:before{content:""}.bi-file-earmark-x:before{content:""}.bi-file-earmark-zip-fill:before{content:""}.bi-file-earmark-zip:before{content:""}.bi-file-earmark:before{content:""}.bi-file-easel-fill:before{content:""}.bi-file-easel:before{content:""}.bi-file-excel-fill:before{content:""}.bi-file-excel:before{content:""}.bi-file-fill:before{content:""}.bi-file-font-fill:before{content:""}.bi-file-font:before{content:""}.bi-file-image-fill:before{content:""}.bi-file-image:before{content:""}.bi-file-lock-fill:before{content:""}.bi-file-lock:before{content:""}.bi-file-lock2-fill:before{content:""}.bi-file-lock2:before{content:""}.bi-file-medical-fill:before{content:""}.bi-file-medical:before{content:""}.bi-file-minus-fill:before{content:""}.bi-file-minus:before{content:""}.bi-file-music-fill:before{content:""}.bi-file-music:before{content:""}.bi-file-person-fill:before{content:""}.bi-file-person:before{content:""}.bi-file-play-fill:before{content:""}.bi-file-play:before{content:""}.bi-file-plus-fill:before{content:""}.bi-file-plus:before{content:""}.bi-file-post-fill:before{content:""}.bi-file-post:before{content:""}.bi-file-ppt-fill:before{content:""}.bi-file-ppt:before{content:""}.bi-file-richtext-fill:before{content:""}.bi-file-richtext:before{content:""}.bi-file-ruled-fill:before{content:""}.bi-file-ruled:before{content:""}.bi-file-slides-fill:before{content:""}.bi-file-slides:before{content:""}.bi-file-spreadsheet-fill:before{content:""}.bi-file-spreadsheet:before{content:""}.bi-file-text-fill:before{content:""}.bi-file-text:before{content:""}.bi-file-word-fill:before{content:""}.bi-file-word:before{content:""}.bi-file-x-fill:before{content:""}.bi-file-x:before{content:""}.bi-file-zip-fill:before{content:""}.bi-file-zip:before{content:""}.bi-file:before{content:""}.bi-files-alt:before{content:""}.bi-files:before{content:""}.bi-film:before{content:""}.bi-filter-circle-fill:before{content:""}.bi-filter-circle:before{content:""}.bi-filter-left:before{content:""}.bi-filter-right:before{content:""}.bi-filter-square-fill:before{content:""}.bi-filter-square:before{content:""}.bi-filter:before{content:""}.bi-flag-fill:before{content:""}.bi-flag:before{content:""}.bi-flower1:before{content:""}.bi-flower2:before{content:""}.bi-flower3:before{content:""}.bi-folder-check:before{content:""}.bi-folder-fill:before{content:""}.bi-folder-minus:before{content:""}.bi-folder-plus:before{content:""}.bi-folder-symlink-fill:before{content:""}.bi-folder-symlink:before{content:""}.bi-folder-x:before{content:""}.bi-folder:before{content:""}.bi-folder2-open:before{content:""}.bi-folder2:before{content:""}.bi-fonts:before{content:""}.bi-forward-fill:before{content:""}.bi-forward:before{content:""}.bi-front:before{content:""}.bi-fullscreen-exit:before{content:""}.bi-fullscreen:before{content:""}.bi-funnel-fill:before{content:""}.bi-funnel:before{content:""}.bi-gear-fill:before{content:""}.bi-gear-wide-connected:before{content:""}.bi-gear-wide:before{content:""}.bi-gear:before{content:""}.bi-gem:before{content:""}.bi-geo-alt-fill:before{content:""}.bi-geo-alt:before{content:""}.bi-geo-fill:before{content:""}.bi-geo:before{content:""}.bi-gift-fill:before{content:""}.bi-gift:before{content:""}.bi-github:before{content:""}.bi-globe:before{content:""}.bi-globe2:before{content:""}.bi-google:before{content:""}.bi-graph-down:before{content:""}.bi-graph-up:before{content:""}.bi-grid-1x2-fill:before{content:""}.bi-grid-1x2:before{content:""}.bi-grid-3x2-gap-fill:before{content:""}.bi-grid-3x2-gap:before{content:""}.bi-grid-3x2:before{content:""}.bi-grid-3x3-gap-fill:before{content:""}.bi-grid-3x3-gap:before{content:""}.bi-grid-3x3:before{content:""}.bi-grid-fill:before{content:""}.bi-grid:before{content:""}.bi-grip-horizontal:before{content:""}.bi-grip-vertical:before{content:""}.bi-hammer:before{content:""}.bi-hand-index-fill:before{content:""}.bi-hand-index-thumb-fill:before{content:""}.bi-hand-index-thumb:before{content:""}.bi-hand-index:before{content:""}.bi-hand-thumbs-down-fill:before{content:""}.bi-hand-thumbs-down:before{content:""}.bi-hand-thumbs-up-fill:before{content:""}.bi-hand-thumbs-up:before{content:""}.bi-handbag-fill:before{content:""}.bi-handbag:before{content:""}.bi-hash:before{content:""}.bi-hdd-fill:before{content:""}.bi-hdd-network-fill:before{content:""}.bi-hdd-network:before{content:""}.bi-hdd-rack-fill:before{content:""}.bi-hdd-rack:before{content:""}.bi-hdd-stack-fill:before{content:""}.bi-hdd-stack:before{content:""}.bi-hdd:before{content:""}.bi-headphones:before{content:""}.bi-headset:before{content:""}.bi-heart-fill:before{content:""}.bi-heart-half:before{content:""}.bi-heart:before{content:""}.bi-heptagon-fill:before{content:""}.bi-heptagon-half:before{content:""}.bi-heptagon:before{content:""}.bi-hexagon-fill:before{content:""}.bi-hexagon-half:before{content:""}.bi-hexagon:before{content:""}.bi-hourglass-bottom:before{content:""}.bi-hourglass-split:before{content:""}.bi-hourglass-top:before{content:""}.bi-hourglass:before{content:""}.bi-house-door-fill:before{content:""}.bi-house-door:before{content:""}.bi-house-fill:before{content:""}.bi-house:before{content:""}.bi-hr:before{content:""}.bi-hurricane:before{content:""}.bi-image-alt:before{content:""}.bi-image-fill:before{content:""}.bi-image:before{content:""}.bi-images:before{content:""}.bi-inbox-fill:before{content:""}.bi-inbox:before{content:""}.bi-inboxes-fill:before{content:""}.bi-inboxes:before{content:""}.bi-info-circle-fill:before{content:""}.bi-info-circle:before{content:""}.bi-info-square-fill:before{content:""}.bi-info-square:before{content:""}.bi-info:before{content:""}.bi-input-cursor-text:before{content:""}.bi-input-cursor:before{content:""}.bi-instagram:before{content:""}.bi-intersect:before{content:""}.bi-journal-album:before{content:""}.bi-journal-arrow-down:before{content:""}.bi-journal-arrow-up:before{content:""}.bi-journal-bookmark-fill:before{content:""}.bi-journal-bookmark:before{content:""}.bi-journal-check:before{content:""}.bi-journal-code:before{content:""}.bi-journal-medical:before{content:""}.bi-journal-minus:before{content:""}.bi-journal-plus:before{content:""}.bi-journal-richtext:before{content:""}.bi-journal-text:before{content:""}.bi-journal-x:before{content:""}.bi-journal:before{content:""}.bi-journals:before{content:""}.bi-joystick:before{content:""}.bi-justify-left:before{content:""}.bi-justify-right:before{content:""}.bi-justify:before{content:""}.bi-kanban-fill:before{content:""}.bi-kanban:before{content:""}.bi-key-fill:before{content:""}.bi-key:before{content:""}.bi-keyboard-fill:before{content:""}.bi-keyboard:before{content:""}.bi-ladder:before{content:""}.bi-lamp-fill:before{content:""}.bi-lamp:before{content:""}.bi-laptop-fill:before{content:""}.bi-laptop:before{content:""}.bi-layer-backward:before{content:""}.bi-layer-forward:before{content:""}.bi-layers-fill:before{content:""}.bi-layers-half:before{content:""}.bi-layers:before{content:""}.bi-layout-sidebar-inset-reverse:before{content:""}.bi-layout-sidebar-inset:before{content:""}.bi-layout-sidebar-reverse:before{content:""}.bi-layout-sidebar:before{content:""}.bi-layout-split:before{content:""}.bi-layout-text-sidebar-reverse:before{content:""}.bi-layout-text-sidebar:before{content:""}.bi-layout-text-window-reverse:before{content:""}.bi-layout-text-window:before{content:""}.bi-layout-three-columns:before{content:""}.bi-layout-wtf:before{content:""}.bi-life-preserver:before{content:""}.bi-lightbulb-fill:before{content:""}.bi-lightbulb-off-fill:before{content:""}.bi-lightbulb-off:before{content:""}.bi-lightbulb:before{content:""}.bi-lightning-charge-fill:before{content:""}.bi-lightning-charge:before{content:""}.bi-lightning-fill:before{content:""}.bi-lightning:before{content:""}.bi-link-45deg:before{content:""}.bi-link:before{content:""}.bi-linkedin:before{content:""}.bi-list-check:before{content:""}.bi-list-nested:before{content:""}.bi-list-ol:before{content:""}.bi-list-stars:before{content:""}.bi-list-task:before{content:""}.bi-list-ul:before{content:""}.bi-list:before{content:""}.bi-lock-fill:before{content:""}.bi-lock:before{content:""}.bi-mailbox:before{content:""}.bi-mailbox2:before{content:""}.bi-map-fill:before{content:""}.bi-map:before{content:""}.bi-markdown-fill:before{content:""}.bi-markdown:before{content:""}.bi-mask:before{content:""}.bi-megaphone-fill:before{content:""}.bi-megaphone:before{content:""}.bi-menu-app-fill:before{content:""}.bi-menu-app:before{content:""}.bi-menu-button-fill:before{content:""}.bi-menu-button-wide-fill:before{content:""}.bi-menu-button-wide:before{content:""}.bi-menu-button:before{content:""}.bi-menu-down:before{content:""}.bi-menu-up:before{content:""}.bi-mic-fill:before{content:""}.bi-mic-mute-fill:before{content:""}.bi-mic-mute:before{content:""}.bi-mic:before{content:""}.bi-minecart-loaded:before{content:""}.bi-minecart:before{content:""}.bi-moisture:before{content:""}.bi-moon-fill:before{content:""}.bi-moon-stars-fill:before{content:""}.bi-moon-stars:before{content:""}.bi-moon:before{content:""}.bi-mouse-fill:before{content:""}.bi-mouse:before{content:""}.bi-mouse2-fill:before{content:""}.bi-mouse2:before{content:""}.bi-mouse3-fill:before{content:""}.bi-mouse3:before{content:""}.bi-music-note-beamed:before{content:""}.bi-music-note-list:before{content:""}.bi-music-note:before{content:""}.bi-music-player-fill:before{content:""}.bi-music-player:before{content:""}.bi-newspaper:before{content:""}.bi-node-minus-fill:before{content:""}.bi-node-minus:before{content:""}.bi-node-plus-fill:before{content:""}.bi-node-plus:before{content:""}.bi-nut-fill:before{content:""}.bi-nut:before{content:""}.bi-octagon-fill:before{content:""}.bi-octagon-half:before{content:""}.bi-octagon:before{content:""}.bi-option:before{content:""}.bi-outlet:before{content:""}.bi-paint-bucket:before{content:""}.bi-palette-fill:before{content:""}.bi-palette:before{content:""}.bi-palette2:before{content:""}.bi-paperclip:before{content:""}.bi-paragraph:before{content:""}.bi-patch-check-fill:before{content:""}.bi-patch-check:before{content:""}.bi-patch-exclamation-fill:before{content:""}.bi-patch-exclamation:before{content:""}.bi-patch-minus-fill:before{content:""}.bi-patch-minus:before{content:""}.bi-patch-plus-fill:before{content:""}.bi-patch-plus:before{content:""}.bi-patch-question-fill:before{content:""}.bi-patch-question:before{content:""}.bi-pause-btn-fill:before{content:""}.bi-pause-btn:before{content:""}.bi-pause-circle-fill:before{content:""}.bi-pause-circle:before{content:""}.bi-pause-fill:before{content:""}.bi-pause:before{content:""}.bi-peace-fill:before{content:""}.bi-peace:before{content:""}.bi-pen-fill:before{content:""}.bi-pen:before{content:""}.bi-pencil-fill:before{content:""}.bi-pencil-square:before{content:""}.bi-pencil:before{content:""}.bi-pentagon-fill:before{content:""}.bi-pentagon-half:before{content:""}.bi-pentagon:before{content:""}.bi-people-fill:before{content:""}.bi-people:before{content:""}.bi-percent:before{content:""}.bi-person-badge-fill:before{content:""}.bi-person-badge:before{content:""}.bi-person-bounding-box:before{content:""}.bi-person-check-fill:before{content:""}.bi-person-check:before{content:""}.bi-person-circle:before{content:""}.bi-person-dash-fill:before{content:""}.bi-person-dash:before{content:""}.bi-person-fill:before{content:""}.bi-person-lines-fill:before{content:""}.bi-person-plus-fill:before{content:""}.bi-person-plus:before{content:""}.bi-person-square:before{content:""}.bi-person-x-fill:before{content:""}.bi-person-x:before{content:""}.bi-person:before{content:""}.bi-phone-fill:before{content:""}.bi-phone-landscape-fill:before{content:""}.bi-phone-landscape:before{content:""}.bi-phone-vibrate-fill:before{content:""}.bi-phone-vibrate:before{content:""}.bi-phone:before{content:""}.bi-pie-chart-fill:before{content:""}.bi-pie-chart:before{content:""}.bi-pin-angle-fill:before{content:""}.bi-pin-angle:before{content:""}.bi-pin-fill:before{content:""}.bi-pin:before{content:""}.bi-pip-fill:before{content:""}.bi-pip:before{content:""}.bi-play-btn-fill:before{content:""}.bi-play-btn:before{content:""}.bi-play-circle-fill:before{content:""}.bi-play-circle:before{content:""}.bi-play-fill:before{content:""}.bi-play:before{content:""}.bi-plug-fill:before{content:""}.bi-plug:before{content:""}.bi-plus-circle-dotted:before{content:""}.bi-plus-circle-fill:before{content:""}.bi-plus-circle:before{content:""}.bi-plus-square-dotted:before{content:""}.bi-plus-square-fill:before{content:""}.bi-plus-square:before{content:""}.bi-plus:before{content:""}.bi-power:before{content:""}.bi-printer-fill:before{content:""}.bi-printer:before{content:""}.bi-puzzle-fill:before{content:""}.bi-puzzle:before{content:""}.bi-question-circle-fill:before{content:""}.bi-question-circle:before{content:""}.bi-question-diamond-fill:before{content:""}.bi-question-diamond:before{content:""}.bi-question-octagon-fill:before{content:""}.bi-question-octagon:before{content:""}.bi-question-square-fill:before{content:""}.bi-question-square:before{content:""}.bi-question:before{content:""}.bi-rainbow:before{content:""}.bi-receipt-cutoff:before{content:""}.bi-receipt:before{content:""}.bi-reception-0:before{content:""}.bi-reception-1:before{content:""}.bi-reception-2:before{content:""}.bi-reception-3:before{content:""}.bi-reception-4:before{content:""}.bi-record-btn-fill:before{content:""}.bi-record-btn:before{content:""}.bi-record-circle-fill:before{content:""}.bi-record-circle:before{content:""}.bi-record-fill:before{content:""}.bi-record:before{content:""}.bi-record2-fill:before{content:""}.bi-record2:before{content:""}.bi-reply-all-fill:before{content:""}.bi-reply-all:before{content:""}.bi-reply-fill:before{content:""}.bi-reply:before{content:""}.bi-rss-fill:before{content:""}.bi-rss:before{content:""}.bi-rulers:before{content:""}.bi-save-fill:before{content:""}.bi-save:before{content:""}.bi-save2-fill:before{content:""}.bi-save2:before{content:""}.bi-scissors:before{content:""}.bi-screwdriver:before{content:""}.bi-search:before{content:""}.bi-segmented-nav:before{content:""}.bi-server:before{content:""}.bi-share-fill:before{content:""}.bi-share:before{content:""}.bi-shield-check:before{content:""}.bi-shield-exclamation:before{content:""}.bi-shield-fill-check:before{content:""}.bi-shield-fill-exclamation:before{content:""}.bi-shield-fill-minus:before{content:""}.bi-shield-fill-plus:before{content:""}.bi-shield-fill-x:before{content:""}.bi-shield-fill:before{content:""}.bi-shield-lock-fill:before{content:""}.bi-shield-lock:before{content:""}.bi-shield-minus:before{content:""}.bi-shield-plus:before{content:""}.bi-shield-shaded:before{content:""}.bi-shield-slash-fill:before{content:""}.bi-shield-slash:before{content:""}.bi-shield-x:before{content:""}.bi-shield:before{content:""}.bi-shift-fill:before{content:""}.bi-shift:before{content:""}.bi-shop-window:before{content:""}.bi-shop:before{content:""}.bi-shuffle:before{content:""}.bi-signpost-2-fill:before{content:""}.bi-signpost-2:before{content:""}.bi-signpost-fill:before{content:""}.bi-signpost-split-fill:before{content:""}.bi-signpost-split:before{content:""}.bi-signpost:before{content:""}.bi-sim-fill:before{content:""}.bi-sim:before{content:""}.bi-skip-backward-btn-fill:before{content:""}.bi-skip-backward-btn:before{content:""}.bi-skip-backward-circle-fill:before{content:""}.bi-skip-backward-circle:before{content:""}.bi-skip-backward-fill:before{content:""}.bi-skip-backward:before{content:""}.bi-skip-end-btn-fill:before{content:""}.bi-skip-end-btn:before{content:""}.bi-skip-end-circle-fill:before{content:""}.bi-skip-end-circle:before{content:""}.bi-skip-end-fill:before{content:""}.bi-skip-end:before{content:""}.bi-skip-forward-btn-fill:before{content:""}.bi-skip-forward-btn:before{content:""}.bi-skip-forward-circle-fill:before{content:""}.bi-skip-forward-circle:before{content:""}.bi-skip-forward-fill:before{content:""}.bi-skip-forward:before{content:""}.bi-skip-start-btn-fill:before{content:""}.bi-skip-start-btn:before{content:""}.bi-skip-start-circle-fill:before{content:""}.bi-skip-start-circle:before{content:""}.bi-skip-start-fill:before{content:""}.bi-skip-start:before{content:""}.bi-slack:before{content:""}.bi-slash-circle-fill:before{content:""}.bi-slash-circle:before{content:""}.bi-slash-square-fill:before{content:""}.bi-slash-square:before{content:""}.bi-slash:before{content:""}.bi-sliders:before{content:""}.bi-smartwatch:before{content:""}.bi-snow:before{content:""}.bi-snow2:before{content:""}.bi-snow3:before{content:""}.bi-sort-alpha-down-alt:before{content:""}.bi-sort-alpha-down:before{content:""}.bi-sort-alpha-up-alt:before{content:""}.bi-sort-alpha-up:before{content:""}.bi-sort-down-alt:before{content:""}.bi-sort-down:before{content:""}.bi-sort-numeric-down-alt:before{content:""}.bi-sort-numeric-down:before{content:""}.bi-sort-numeric-up-alt:before{content:""}.bi-sort-numeric-up:before{content:""}.bi-sort-up-alt:before{content:""}.bi-sort-up:before{content:""}.bi-soundwave:before{content:""}.bi-speaker-fill:before{content:""}.bi-speaker:before{content:""}.bi-speedometer:before{content:""}.bi-speedometer2:before{content:""}.bi-spellcheck:before{content:""}.bi-square-fill:before{content:""}.bi-square-half:before{content:""}.bi-square:before{content:""}.bi-stack:before{content:""}.bi-star-fill:before{content:""}.bi-star-half:before{content:""}.bi-star:before{content:""}.bi-stars:before{content:""}.bi-stickies-fill:before{content:""}.bi-stickies:before{content:""}.bi-sticky-fill:before{content:""}.bi-sticky:before{content:""}.bi-stop-btn-fill:before{content:""}.bi-stop-btn:before{content:""}.bi-stop-circle-fill:before{content:""}.bi-stop-circle:before{content:""}.bi-stop-fill:before{content:""}.bi-stop:before{content:""}.bi-stoplights-fill:before{content:""}.bi-stoplights:before{content:""}.bi-stopwatch-fill:before{content:""}.bi-stopwatch:before{content:""}.bi-subtract:before{content:""}.bi-suit-club-fill:before{content:""}.bi-suit-club:before{content:""}.bi-suit-diamond-fill:before{content:""}.bi-suit-diamond:before{content:""}.bi-suit-heart-fill:before{content:""}.bi-suit-heart:before{content:""}.bi-suit-spade-fill:before{content:""}.bi-suit-spade:before{content:""}.bi-sun-fill:before{content:""}.bi-sun:before{content:""}.bi-sunglasses:before{content:""}.bi-sunrise-fill:before{content:""}.bi-sunrise:before{content:""}.bi-sunset-fill:before{content:""}.bi-sunset:before{content:""}.bi-symmetry-horizontal:before{content:""}.bi-symmetry-vertical:before{content:""}.bi-table:before{content:""}.bi-tablet-fill:before{content:""}.bi-tablet-landscape-fill:before{content:""}.bi-tablet-landscape:before{content:""}.bi-tablet:before{content:""}.bi-tag-fill:before{content:""}.bi-tag:before{content:""}.bi-tags-fill:before{content:""}.bi-tags:before{content:""}.bi-telegram:before{content:""}.bi-telephone-fill:before{content:""}.bi-telephone-forward-fill:before{content:""}.bi-telephone-forward:before{content:""}.bi-telephone-inbound-fill:before{content:""}.bi-telephone-inbound:before{content:""}.bi-telephone-minus-fill:before{content:""}.bi-telephone-minus:before{content:""}.bi-telephone-outbound-fill:before{content:""}.bi-telephone-outbound:before{content:""}.bi-telephone-plus-fill:before{content:""}.bi-telephone-plus:before{content:""}.bi-telephone-x-fill:before{content:""}.bi-telephone-x:before{content:""}.bi-telephone:before{content:""}.bi-terminal-fill:before{content:""}.bi-terminal:before{content:""}.bi-text-center:before{content:""}.bi-text-indent-left:before{content:""}.bi-text-indent-right:before{content:""}.bi-text-left:before{content:""}.bi-text-paragraph:before{content:""}.bi-text-right:before{content:""}.bi-textarea-resize:before{content:""}.bi-textarea-t:before{content:""}.bi-textarea:before{content:""}.bi-thermometer-half:before{content:""}.bi-thermometer-high:before{content:""}.bi-thermometer-low:before{content:""}.bi-thermometer-snow:before{content:""}.bi-thermometer-sun:before{content:""}.bi-thermometer:before{content:""}.bi-three-dots-vertical:before{content:""}.bi-three-dots:before{content:""}.bi-toggle-off:before{content:""}.bi-toggle-on:before{content:""}.bi-toggle2-off:before{content:""}.bi-toggle2-on:before{content:""}.bi-toggles:before{content:""}.bi-toggles2:before{content:""}.bi-tools:before{content:""}.bi-tornado:before{content:""}.bi-trash-fill:before{content:""}.bi-trash:before{content:""}.bi-trash2-fill:before{content:""}.bi-trash2:before{content:""}.bi-tree-fill:before{content:""}.bi-tree:before{content:""}.bi-triangle-fill:before{content:""}.bi-triangle-half:before{content:""}.bi-triangle:before{content:""}.bi-trophy-fill:before{content:""}.bi-trophy:before{content:""}.bi-tropical-storm:before{content:""}.bi-truck-flatbed:before{content:""}.bi-truck:before{content:""}.bi-tsunami:before{content:""}.bi-tv-fill:before{content:""}.bi-tv:before{content:""}.bi-twitch:before{content:""}.bi-twitter:before{content:""}.bi-type-bold:before{content:""}.bi-type-h1:before{content:""}.bi-type-h2:before{content:""}.bi-type-h3:before{content:""}.bi-type-italic:before{content:""}.bi-type-strikethrough:before{content:""}.bi-type-underline:before{content:""}.bi-type:before{content:""}.bi-ui-checks-grid:before{content:""}.bi-ui-checks:before{content:""}.bi-ui-radios-grid:before{content:""}.bi-ui-radios:before{content:""}.bi-umbrella-fill:before{content:""}.bi-umbrella:before{content:""}.bi-union:before{content:""}.bi-unlock-fill:before{content:""}.bi-unlock:before{content:""}.bi-upc-scan:before{content:""}.bi-upc:before{content:""}.bi-upload:before{content:""}.bi-vector-pen:before{content:""}.bi-view-list:before{content:""}.bi-view-stacked:before{content:""}.bi-vinyl-fill:before{content:""}.bi-vinyl:before{content:""}.bi-voicemail:before{content:""}.bi-volume-down-fill:before{content:""}.bi-volume-down:before{content:""}.bi-volume-mute-fill:before{content:""}.bi-volume-mute:before{content:""}.bi-volume-off-fill:before{content:""}.bi-volume-off:before{content:""}.bi-volume-up-fill:before{content:""}.bi-volume-up:before{content:""}.bi-vr:before{content:""}.bi-wallet-fill:before{content:""}.bi-wallet:before{content:""}.bi-wallet2:before{content:""}.bi-watch:before{content:""}.bi-water:before{content:""}.bi-whatsapp:before{content:""}.bi-wifi-1:before{content:""}.bi-wifi-2:before{content:""}.bi-wifi-off:before{content:""}.bi-wifi:before{content:""}.bi-wind:before{content:""}.bi-window-dock:before{content:""}.bi-window-sidebar:before{content:""}.bi-window:before{content:""}.bi-wrench:before{content:""}.bi-x-circle-fill:before{content:""}.bi-x-circle:before{content:""}.bi-x-diamond-fill:before{content:""}.bi-x-diamond:before{content:""}.bi-x-octagon-fill:before{content:""}.bi-x-octagon:before{content:""}.bi-x-square-fill:before{content:""}.bi-x-square:before{content:""}.bi-x:before{content:""}.bi-youtube:before{content:""}.bi-zoom-in:before{content:""}.bi-zoom-out:before{content:""}.bi-bank:before{content:""}.bi-bank2:before{content:""}.bi-bell-slash-fill:before{content:""}.bi-bell-slash:before{content:""}.bi-cash-coin:before{content:""}.bi-check-lg:before{content:""}.bi-coin:before{content:""}.bi-currency-bitcoin:before{content:""}.bi-currency-dollar:before{content:""}.bi-currency-euro:before{content:""}.bi-currency-exchange:before{content:""}.bi-currency-pound:before{content:""}.bi-currency-yen:before{content:""}.bi-dash-lg:before{content:""}.bi-exclamation-lg:before{content:""}.bi-file-earmark-pdf-fill:before{content:""}.bi-file-earmark-pdf:before{content:""}.bi-file-pdf-fill:before{content:""}.bi-file-pdf:before{content:""}.bi-gender-ambiguous:before{content:""}.bi-gender-female:before{content:""}.bi-gender-male:before{content:""}.bi-gender-trans:before{content:""}.bi-headset-vr:before{content:""}.bi-info-lg:before{content:""}.bi-mastodon:before{content:""}.bi-messenger:before{content:""}.bi-piggy-bank-fill:before{content:""}.bi-piggy-bank:before{content:""}.bi-pin-map-fill:before{content:""}.bi-pin-map:before{content:""}.bi-plus-lg:before{content:""}.bi-question-lg:before{content:""}.bi-recycle:before{content:""}.bi-reddit:before{content:""}.bi-safe-fill:before{content:""}.bi-safe2-fill:before{content:""}.bi-safe2:before{content:""}.bi-sd-card-fill:before{content:""}.bi-sd-card:before{content:""}.bi-skype:before{content:""}.bi-slash-lg:before{content:""}.bi-translate:before{content:""}.bi-x-lg:before{content:""}.bi-safe:before{content:""}.bi-apple:before{content:""}.bi-microsoft:before{content:""}.bi-windows:before{content:""}.bi-behance:before{content:""}.bi-dribbble:before{content:""}.bi-line:before{content:""}.bi-medium:before{content:""}.bi-paypal:before{content:""}.bi-pinterest:before{content:""}.bi-signal:before{content:""}.bi-snapchat:before{content:""}.bi-spotify:before{content:""}.bi-stack-overflow:before{content:""}.bi-strava:before{content:""}.bi-wordpress:before{content:""}.bi-vimeo:before{content:""}.bi-activity:before{content:""}.bi-easel2-fill:before{content:""}.bi-easel2:before{content:""}.bi-easel3-fill:before{content:""}.bi-easel3:before{content:""}.bi-fan:before{content:""}.bi-fingerprint:before{content:""}.bi-graph-down-arrow:before{content:""}.bi-graph-up-arrow:before{content:""}.bi-hypnotize:before{content:""}.bi-magic:before{content:""}.bi-person-rolodex:before{content:""}.bi-person-video:before{content:""}.bi-person-video2:before{content:""}.bi-person-video3:before{content:""}.bi-person-workspace:before{content:""}.bi-radioactive:before{content:""}.bi-webcam-fill:before{content:""}.bi-webcam:before{content:""}.bi-yin-yang:before{content:""}.bi-bandaid-fill:before{content:""}.bi-bandaid:before{content:""}.bi-bluetooth:before{content:""}.bi-body-text:before{content:""}.bi-boombox:before{content:""}.bi-boxes:before{content:""}.bi-dpad-fill:before{content:""}.bi-dpad:before{content:""}.bi-ear-fill:before{content:""}.bi-ear:before{content:""}.bi-envelope-check-fill:before{content:""}.bi-envelope-check:before{content:""}.bi-envelope-dash-fill:before{content:""}.bi-envelope-dash:before{content:""}.bi-envelope-exclamation-fill:before{content:""}.bi-envelope-exclamation:before{content:""}.bi-envelope-plus-fill:before{content:""}.bi-envelope-plus:before{content:""}.bi-envelope-slash-fill:before{content:""}.bi-envelope-slash:before{content:""}.bi-envelope-x-fill:before{content:""}.bi-envelope-x:before{content:""}.bi-explicit-fill:before{content:""}.bi-explicit:before{content:""}.bi-git:before{content:""}.bi-infinity:before{content:""}.bi-list-columns-reverse:before{content:""}.bi-list-columns:before{content:""}.bi-meta:before{content:""}.bi-nintendo-switch:before{content:""}.bi-pc-display-horizontal:before{content:""}.bi-pc-display:before{content:""}.bi-pc-horizontal:before{content:""}.bi-pc:before{content:""}.bi-playstation:before{content:""}.bi-plus-slash-minus:before{content:""}.bi-projector-fill:before{content:""}.bi-projector:before{content:""}.bi-qr-code-scan:before{content:""}.bi-qr-code:before{content:""}.bi-quora:before{content:""}.bi-quote:before{content:""}.bi-robot:before{content:""}.bi-send-check-fill:before{content:""}.bi-send-check:before{content:""}.bi-send-dash-fill:before{content:""}.bi-send-dash:before{content:""}.bi-send-exclamation-fill:before{content:""}.bi-send-exclamation:before{content:""}.bi-send-fill:before{content:""}.bi-send-plus-fill:before{content:""}.bi-send-plus:before{content:""}.bi-send-slash-fill:before{content:""}.bi-send-slash:before{content:""}.bi-send-x-fill:before{content:""}.bi-send-x:before{content:""}.bi-send:before{content:""}.bi-steam:before{content:""}.bi-terminal-dash:before{content:""}.bi-terminal-plus:before{content:""}.bi-terminal-split:before{content:""}.bi-ticket-detailed-fill:before{content:""}.bi-ticket-detailed:before{content:""}.bi-ticket-fill:before{content:""}.bi-ticket-perforated-fill:before{content:""}.bi-ticket-perforated:before{content:""}.bi-ticket:before{content:""}.bi-tiktok:before{content:""}.bi-window-dash:before{content:""}.bi-window-desktop:before{content:""}.bi-window-fullscreen:before{content:""}.bi-window-plus:before{content:""}.bi-window-split:before{content:""}.bi-window-stack:before{content:""}.bi-window-x:before{content:""}.bi-xbox:before{content:""}.bi-ethernet:before{content:""}.bi-hdmi-fill:before{content:""}.bi-hdmi:before{content:""}.bi-usb-c-fill:before{content:""}.bi-usb-c:before{content:""}.bi-usb-fill:before{content:""}.bi-usb-plug-fill:before{content:""}.bi-usb-plug:before{content:""}.bi-usb-symbol:before{content:""}.bi-usb:before{content:""}.bi-boombox-fill:before{content:""}.bi-displayport:before{content:""}.bi-gpu-card:before{content:""}.bi-memory:before{content:""}.bi-modem-fill:before{content:""}.bi-modem:before{content:""}.bi-motherboard-fill:before{content:""}.bi-motherboard:before{content:""}.bi-optical-audio-fill:before{content:""}.bi-optical-audio:before{content:""}.bi-pci-card:before{content:""}.bi-router-fill:before{content:""}.bi-router:before{content:""}.bi-thunderbolt-fill:before{content:""}.bi-thunderbolt:before{content:""}.bi-usb-drive-fill:before{content:""}.bi-usb-drive:before{content:""}.bi-usb-micro-fill:before{content:""}.bi-usb-micro:before{content:""}.bi-usb-mini-fill:before{content:""}.bi-usb-mini:before{content:""}.bi-cloud-haze2:before{content:""}.bi-device-hdd-fill:before{content:""}.bi-device-hdd:before{content:""}.bi-device-ssd-fill:before{content:""}.bi-device-ssd:before{content:""}.bi-displayport-fill:before{content:""}.bi-mortarboard-fill:before{content:""}.bi-mortarboard:before{content:""}.bi-terminal-x:before{content:""}.bi-arrow-through-heart-fill:before{content:""}.bi-arrow-through-heart:before{content:""}.bi-badge-sd-fill:before{content:""}.bi-badge-sd:before{content:""}.bi-bag-heart-fill:before{content:""}.bi-bag-heart:before{content:""}.bi-balloon-fill:before{content:""}.bi-balloon-heart-fill:before{content:""}.bi-balloon-heart:before{content:""}.bi-balloon:before{content:""}.bi-box2-fill:before{content:""}.bi-box2-heart-fill:before{content:""}.bi-box2-heart:before{content:""}.bi-box2:before{content:""}.bi-braces-asterisk:before{content:""}.bi-calendar-heart-fill:before{content:""}.bi-calendar-heart:before{content:""}.bi-calendar2-heart-fill:before{content:""}.bi-calendar2-heart:before{content:""}.bi-chat-heart-fill:before{content:""}.bi-chat-heart:before{content:""}.bi-chat-left-heart-fill:before{content:""}.bi-chat-left-heart:before{content:""}.bi-chat-right-heart-fill:before{content:""}.bi-chat-right-heart:before{content:""}.bi-chat-square-heart-fill:before{content:""}.bi-chat-square-heart:before{content:""}.bi-clipboard-check-fill:before{content:""}.bi-clipboard-data-fill:before{content:""}.bi-clipboard-fill:before{content:""}.bi-clipboard-heart-fill:before{content:""}.bi-clipboard-heart:before{content:""}.bi-clipboard-minus-fill:before{content:""}.bi-clipboard-plus-fill:before{content:""}.bi-clipboard-pulse:before{content:""}.bi-clipboard-x-fill:before{content:""}.bi-clipboard2-check-fill:before{content:""}.bi-clipboard2-check:before{content:""}.bi-clipboard2-data-fill:before{content:""}.bi-clipboard2-data:before{content:""}.bi-clipboard2-fill:before{content:""}.bi-clipboard2-heart-fill:before{content:""}.bi-clipboard2-heart:before{content:""}.bi-clipboard2-minus-fill:before{content:""}.bi-clipboard2-minus:before{content:""}.bi-clipboard2-plus-fill:before{content:""}.bi-clipboard2-plus:before{content:""}.bi-clipboard2-pulse-fill:before{content:""}.bi-clipboard2-pulse:before{content:""}.bi-clipboard2-x-fill:before{content:""}.bi-clipboard2-x:before{content:""}.bi-clipboard2:before{content:""}.bi-emoji-kiss-fill:before{content:""}.bi-emoji-kiss:before{content:""}.bi-envelope-heart-fill:before{content:""}.bi-envelope-heart:before{content:""}.bi-envelope-open-heart-fill:before{content:""}.bi-envelope-open-heart:before{content:""}.bi-envelope-paper-fill:before{content:""}.bi-envelope-paper-heart-fill:before{content:""}.bi-envelope-paper-heart:before{content:""}.bi-envelope-paper:before{content:""}.bi-filetype-aac:before{content:""}.bi-filetype-ai:before{content:""}.bi-filetype-bmp:before{content:""}.bi-filetype-cs:before{content:""}.bi-filetype-css:before{content:""}.bi-filetype-csv:before{content:""}.bi-filetype-doc:before{content:""}.bi-filetype-docx:before{content:""}.bi-filetype-exe:before{content:""}.bi-filetype-gif:before{content:""}.bi-filetype-heic:before{content:""}.bi-filetype-html:before{content:""}.bi-filetype-java:before{content:""}.bi-filetype-jpg:before{content:""}.bi-filetype-js:before{content:""}.bi-filetype-jsx:before{content:""}.bi-filetype-key:before{content:""}.bi-filetype-m4p:before{content:""}.bi-filetype-md:before{content:""}.bi-filetype-mdx:before{content:""}.bi-filetype-mov:before{content:""}.bi-filetype-mp3:before{content:""}.bi-filetype-mp4:before{content:""}.bi-filetype-otf:before{content:""}.bi-filetype-pdf:before{content:""}.bi-filetype-php:before{content:""}.bi-filetype-png:before{content:""}.bi-filetype-ppt:before{content:""}.bi-filetype-psd:before{content:""}.bi-filetype-py:before{content:""}.bi-filetype-raw:before{content:""}.bi-filetype-rb:before{content:""}.bi-filetype-sass:before{content:""}.bi-filetype-scss:before{content:""}.bi-filetype-sh:before{content:""}.bi-filetype-svg:before{content:""}.bi-filetype-tiff:before{content:""}.bi-filetype-tsx:before{content:""}.bi-filetype-ttf:before{content:""}.bi-filetype-txt:before{content:""}.bi-filetype-wav:before{content:""}.bi-filetype-woff:before{content:""}.bi-filetype-xls:before{content:""}.bi-filetype-xml:before{content:""}.bi-filetype-yml:before{content:""}.bi-heart-arrow:before{content:""}.bi-heart-pulse-fill:before{content:""}.bi-heart-pulse:before{content:""}.bi-heartbreak-fill:before{content:""}.bi-heartbreak:before{content:""}.bi-hearts:before{content:""}.bi-hospital-fill:before{content:""}.bi-hospital:before{content:""}.bi-house-heart-fill:before{content:""}.bi-house-heart:before{content:""}.bi-incognito:before{content:""}.bi-magnet-fill:before{content:""}.bi-magnet:before{content:""}.bi-person-heart:before{content:""}.bi-person-hearts:before{content:""}.bi-phone-flip:before{content:""}.bi-plugin:before{content:""}.bi-postage-fill:before{content:""}.bi-postage-heart-fill:before{content:""}.bi-postage-heart:before{content:""}.bi-postage:before{content:""}.bi-postcard-fill:before{content:""}.bi-postcard-heart-fill:before{content:""}.bi-postcard-heart:before{content:""}.bi-postcard:before{content:""}.bi-search-heart-fill:before{content:""}.bi-search-heart:before{content:""}.bi-sliders2-vertical:before{content:""}.bi-sliders2:before{content:""}.bi-trash3-fill:before{content:""}.bi-trash3:before{content:""}.bi-valentine:before{content:""}.bi-valentine2:before{content:""}.bi-wrench-adjustable-circle-fill:before{content:""}.bi-wrench-adjustable-circle:before{content:""}.bi-wrench-adjustable:before{content:""}.bi-filetype-json:before{content:""}.bi-filetype-pptx:before{content:""}.bi-filetype-xlsx:before{content:""}.bi-1-circle-fill:before{content:""}.bi-1-circle:before{content:""}.bi-1-square-fill:before{content:""}.bi-1-square:before{content:""}.bi-2-circle-fill:before{content:""}.bi-2-circle:before{content:""}.bi-2-square-fill:before{content:""}.bi-2-square:before{content:""}.bi-3-circle-fill:before{content:""}.bi-3-circle:before{content:""}.bi-3-square-fill:before{content:""}.bi-3-square:before{content:""}.bi-4-circle-fill:before{content:""}.bi-4-circle:before{content:""}.bi-4-square-fill:before{content:""}.bi-4-square:before{content:""}.bi-5-circle-fill:before{content:""}.bi-5-circle:before{content:""}.bi-5-square-fill:before{content:""}.bi-5-square:before{content:""}.bi-6-circle-fill:before{content:""}.bi-6-circle:before{content:""}.bi-6-square-fill:before{content:""}.bi-6-square:before{content:""}.bi-7-circle-fill:before{content:""}.bi-7-circle:before{content:""}.bi-7-square-fill:before{content:""}.bi-7-square:before{content:""}.bi-8-circle-fill:before{content:""}.bi-8-circle:before{content:""}.bi-8-square-fill:before{content:""}.bi-8-square:before{content:""}.bi-9-circle-fill:before{content:""}.bi-9-circle:before{content:""}.bi-9-square-fill:before{content:""}.bi-9-square:before{content:""}.bi-airplane-engines-fill:before{content:""}.bi-airplane-engines:before{content:""}.bi-airplane-fill:before{content:""}.bi-airplane:before{content:""}.bi-alexa:before{content:""}.bi-alipay:before{content:""}.bi-android:before{content:""}.bi-android2:before{content:""}.bi-box-fill:before{content:""}.bi-box-seam-fill:before{content:""}.bi-browser-chrome:before{content:""}.bi-browser-edge:before{content:""}.bi-browser-firefox:before{content:""}.bi-browser-safari:before{content:""}.bi-c-circle-fill:before{content:""}.bi-c-circle:before{content:""}.bi-c-square-fill:before{content:""}.bi-c-square:before{content:""}.bi-capsule-pill:before{content:""}.bi-capsule:before{content:""}.bi-car-front-fill:before{content:""}.bi-car-front:before{content:""}.bi-cassette-fill:before{content:""}.bi-cassette:before{content:""}.bi-cc-circle-fill:before{content:""}.bi-cc-circle:before{content:""}.bi-cc-square-fill:before{content:""}.bi-cc-square:before{content:""}.bi-cup-hot-fill:before{content:""}.bi-cup-hot:before{content:""}.bi-currency-rupee:before{content:""}.bi-dropbox:before{content:""}.bi-escape:before{content:""}.bi-fast-forward-btn-fill:before{content:""}.bi-fast-forward-btn:before{content:""}.bi-fast-forward-circle-fill:before{content:""}.bi-fast-forward-circle:before{content:""}.bi-fast-forward-fill:before{content:""}.bi-fast-forward:before{content:""}.bi-filetype-sql:before{content:""}.bi-fire:before{content:""}.bi-google-play:before{content:""}.bi-h-circle-fill:before{content:""}.bi-h-circle:before{content:""}.bi-h-square-fill:before{content:""}.bi-h-square:before{content:""}.bi-indent:before{content:""}.bi-lungs-fill:before{content:""}.bi-lungs:before{content:""}.bi-microsoft-teams:before{content:""}.bi-p-circle-fill:before{content:""}.bi-p-circle:before{content:""}.bi-p-square-fill:before{content:""}.bi-p-square:before{content:""}.bi-pass-fill:before{content:""}.bi-pass:before{content:""}.bi-prescription:before{content:""}.bi-prescription2:before{content:""}.bi-r-circle-fill:before{content:""}.bi-r-circle:before{content:""}.bi-r-square-fill:before{content:""}.bi-r-square:before{content:""}.bi-repeat-1:before{content:""}.bi-repeat:before{content:""}.bi-rewind-btn-fill:before{content:""}.bi-rewind-btn:before{content:""}.bi-rewind-circle-fill:before{content:""}.bi-rewind-circle:before{content:""}.bi-rewind-fill:before{content:""}.bi-rewind:before{content:""}.bi-train-freight-front-fill:before{content:""}.bi-train-freight-front:before{content:""}.bi-train-front-fill:before{content:""}.bi-train-front:before{content:""}.bi-train-lightrail-front-fill:before{content:""}.bi-train-lightrail-front:before{content:""}.bi-truck-front-fill:before{content:""}.bi-truck-front:before{content:""}.bi-ubuntu:before{content:""}.bi-unindent:before{content:""}.bi-unity:before{content:""}.bi-universal-access-circle:before{content:""}.bi-universal-access:before{content:""}.bi-virus:before{content:""}.bi-virus2:before{content:""}.bi-wechat:before{content:""}.bi-yelp:before{content:""}.bi-sign-stop-fill:before{content:""}.bi-sign-stop-lights-fill:before{content:""}.bi-sign-stop-lights:before{content:""}.bi-sign-stop:before{content:""}.bi-sign-turn-left-fill:before{content:""}.bi-sign-turn-left:before{content:""}.bi-sign-turn-right-fill:before{content:""}.bi-sign-turn-right:before{content:""}.bi-sign-turn-slight-left-fill:before{content:""}.bi-sign-turn-slight-left:before{content:""}.bi-sign-turn-slight-right-fill:before{content:""}.bi-sign-turn-slight-right:before{content:""}.bi-sign-yield-fill:before{content:""}.bi-sign-yield:before{content:""}.bi-ev-station-fill:before{content:""}.bi-ev-station:before{content:""}.bi-fuel-pump-diesel-fill:before{content:""}.bi-fuel-pump-diesel:before{content:""}.bi-fuel-pump-fill:before{content:""}.bi-fuel-pump:before{content:""}.bi-0-circle-fill:before{content:""}.bi-0-circle:before{content:""}.bi-0-square-fill:before{content:""}.bi-0-square:before{content:""}.bi-rocket-fill:before{content:""}.bi-rocket-takeoff-fill:before{content:""}.bi-rocket-takeoff:before{content:""}.bi-rocket:before{content:""}.bi-stripe:before{content:""}.bi-subscript:before{content:""}.bi-superscript:before{content:""}.bi-trello:before{content:""}.bi-envelope-at-fill:before{content:""}.bi-envelope-at:before{content:""}.bi-regex:before{content:""}.bi-text-wrap:before{content:""}.bi-sign-dead-end-fill:before{content:""}.bi-sign-dead-end:before{content:""}.bi-sign-do-not-enter-fill:before{content:""}.bi-sign-do-not-enter:before{content:""}.bi-sign-intersection-fill:before{content:""}.bi-sign-intersection-side-fill:before{content:""}.bi-sign-intersection-side:before{content:""}.bi-sign-intersection-t-fill:before{content:""}.bi-sign-intersection-t:before{content:""}.bi-sign-intersection-y-fill:before{content:""}.bi-sign-intersection-y:before{content:""}.bi-sign-intersection:before{content:""}.bi-sign-merge-left-fill:before{content:""}.bi-sign-merge-left:before{content:""}.bi-sign-merge-right-fill:before{content:""}.bi-sign-merge-right:before{content:""}.bi-sign-no-left-turn-fill:before{content:""}.bi-sign-no-left-turn:before{content:""}.bi-sign-no-parking-fill:before{content:""}.bi-sign-no-parking:before{content:""}.bi-sign-no-right-turn-fill:before{content:""}.bi-sign-no-right-turn:before{content:""}.bi-sign-railroad-fill:before{content:""}.bi-sign-railroad:before{content:""}.bi-building-add:before{content:""}.bi-building-check:before{content:""}.bi-building-dash:before{content:""}.bi-building-down:before{content:""}.bi-building-exclamation:before{content:""}.bi-building-fill-add:before{content:""}.bi-building-fill-check:before{content:""}.bi-building-fill-dash:before{content:""}.bi-building-fill-down:before{content:""}.bi-building-fill-exclamation:before{content:""}.bi-building-fill-gear:before{content:""}.bi-building-fill-lock:before{content:""}.bi-building-fill-slash:before{content:""}.bi-building-fill-up:before{content:""}.bi-building-fill-x:before{content:""}.bi-building-fill:before{content:""}.bi-building-gear:before{content:""}.bi-building-lock:before{content:""}.bi-building-slash:before{content:""}.bi-building-up:before{content:""}.bi-building-x:before{content:""}.bi-buildings-fill:before{content:""}.bi-buildings:before{content:""}.bi-bus-front-fill:before{content:""}.bi-bus-front:before{content:""}.bi-ev-front-fill:before{content:""}.bi-ev-front:before{content:""}.bi-globe-americas:before{content:""}.bi-globe-asia-australia:before{content:""}.bi-globe-central-south-asia:before{content:""}.bi-globe-europe-africa:before{content:""}.bi-house-add-fill:before{content:""}.bi-house-add:before{content:""}.bi-house-check-fill:before{content:""}.bi-house-check:before{content:""}.bi-house-dash-fill:before{content:""}.bi-house-dash:before{content:""}.bi-house-down-fill:before{content:""}.bi-house-down:before{content:""}.bi-house-exclamation-fill:before{content:""}.bi-house-exclamation:before{content:""}.bi-house-gear-fill:before{content:""}.bi-house-gear:before{content:""}.bi-house-lock-fill:before{content:""}.bi-house-lock:before{content:""}.bi-house-slash-fill:before{content:""}.bi-house-slash:before{content:""}.bi-house-up-fill:before{content:""}.bi-house-up:before{content:""}.bi-house-x-fill:before{content:""}.bi-house-x:before{content:""}.bi-person-add:before{content:""}.bi-person-down:before{content:""}.bi-person-exclamation:before{content:""}.bi-person-fill-add:before{content:""}.bi-person-fill-check:before{content:""}.bi-person-fill-dash:before{content:""}.bi-person-fill-down:before{content:""}.bi-person-fill-exclamation:before{content:""}.bi-person-fill-gear:before{content:""}.bi-person-fill-lock:before{content:""}.bi-person-fill-slash:before{content:""}.bi-person-fill-up:before{content:""}.bi-person-fill-x:before{content:""}.bi-person-gear:before{content:""}.bi-person-lock:before{content:""}.bi-person-slash:before{content:""}.bi-person-up:before{content:""}.bi-scooter:before{content:""}.bi-taxi-front-fill:before{content:""}.bi-taxi-front:before{content:""}.bi-amd:before{content:""}.bi-database-add:before{content:""}.bi-database-check:before{content:""}.bi-database-dash:before{content:""}.bi-database-down:before{content:""}.bi-database-exclamation:before{content:""}.bi-database-fill-add:before{content:""}.bi-database-fill-check:before{content:""}.bi-database-fill-dash:before{content:""}.bi-database-fill-down:before{content:""}.bi-database-fill-exclamation:before{content:""}.bi-database-fill-gear:before{content:""}.bi-database-fill-lock:before{content:""}.bi-database-fill-slash:before{content:""}.bi-database-fill-up:before{content:""}.bi-database-fill-x:before{content:""}.bi-database-fill:before{content:""}.bi-database-gear:before{content:""}.bi-database-lock:before{content:""}.bi-database-slash:before{content:""}.bi-database-up:before{content:""}.bi-database-x:before{content:""}.bi-database:before{content:""}.bi-houses-fill:before{content:""}.bi-houses:before{content:""}.bi-nvidia:before{content:""}.bi-person-vcard-fill:before{content:""}.bi-person-vcard:before{content:""}.bi-sina-weibo:before{content:""}.bi-tencent-qq:before{content:""}.bi-wikipedia:before{content:""}.bi-alphabet-uppercase:before{content:""}.bi-alphabet:before{content:""}.bi-amazon:before{content:""}.bi-arrows-collapse-vertical:before{content:""}.bi-arrows-expand-vertical:before{content:""}.bi-arrows-vertical:before{content:""}.bi-arrows:before{content:""}.bi-ban-fill:before{content:""}.bi-ban:before{content:""}.bi-bing:before{content:""}.bi-cake:before{content:""}.bi-cake2:before{content:""}.bi-cookie:before{content:""}.bi-copy:before{content:""}.bi-crosshair:before{content:""}.bi-crosshair2:before{content:""}.bi-emoji-astonished-fill:before{content:""}.bi-emoji-astonished:before{content:""}.bi-emoji-grimace-fill:before{content:""}.bi-emoji-grimace:before{content:""}.bi-emoji-grin-fill:before{content:""}.bi-emoji-grin:before{content:""}.bi-emoji-surprise-fill:before{content:""}.bi-emoji-surprise:before{content:""}.bi-emoji-tear-fill:before{content:""}.bi-emoji-tear:before{content:""}.bi-envelope-arrow-down-fill:before{content:""}.bi-envelope-arrow-down:before{content:""}.bi-envelope-arrow-up-fill:before{content:""}.bi-envelope-arrow-up:before{content:""}.bi-feather:before{content:""}.bi-feather2:before{content:""}.bi-floppy-fill:before{content:""}.bi-floppy:before{content:""}.bi-floppy2-fill:before{content:""}.bi-floppy2:before{content:""}.bi-gitlab:before{content:""}.bi-highlighter:before{content:""}.bi-marker-tip:before{content:""}.bi-nvme-fill:before{content:""}.bi-nvme:before{content:""}.bi-opencollective:before{content:""}.bi-pci-card-network:before{content:""}.bi-pci-card-sound:before{content:""}.bi-radar:before{content:""}.bi-send-arrow-down-fill:before{content:""}.bi-send-arrow-down:before{content:""}.bi-send-arrow-up-fill:before{content:""}.bi-send-arrow-up:before{content:""}.bi-sim-slash-fill:before{content:""}.bi-sim-slash:before{content:""}.bi-sourceforge:before{content:""}.bi-substack:before{content:""}.bi-threads-fill:before{content:""}.bi-threads:before{content:""}.bi-transparency:before{content:""}.bi-twitter-x:before{content:""}.bi-type-h4:before{content:""}.bi-type-h5:before{content:""}.bi-type-h6:before{content:""}.bi-backpack-fill:before{content:""}.bi-backpack:before{content:""}.bi-backpack2-fill:before{content:""}.bi-backpack2:before{content:""}.bi-backpack3-fill:before{content:""}.bi-backpack3:before{content:""}.bi-backpack4-fill:before{content:""}.bi-backpack4:before{content:""}.bi-brilliance:before{content:""}.bi-cake-fill:before{content:""}.bi-cake2-fill:before{content:""}.bi-duffle-fill:before{content:""}.bi-duffle:before{content:""}.bi-exposure:before{content:""}.bi-gender-neuter:before{content:""}.bi-highlights:before{content:""}.bi-luggage-fill:before{content:""}.bi-luggage:before{content:""}.bi-mailbox-flag:before{content:""}.bi-mailbox2-flag:before{content:""}.bi-noise-reduction:before{content:""}.bi-passport-fill:before{content:""}.bi-passport:before{content:""}.bi-person-arms-up:before{content:""}.bi-person-raised-hand:before{content:""}.bi-person-standing-dress:before{content:""}.bi-person-standing:before{content:""}.bi-person-walking:before{content:""}.bi-person-wheelchair:before{content:""}.bi-shadows:before{content:""}.bi-suitcase-fill:before{content:""}.bi-suitcase-lg-fill:before{content:""}.bi-suitcase-lg:before{content:""}.bi-suitcase:before{content:"豈"}.bi-suitcase2-fill:before{content:"更"}.bi-suitcase2:before{content:"車"}.bi-vignette:before{content:"賈"}:root{--animate-duration:1s;--animate-delay:1s;--animate-repeat:1}.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animated.repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat)*2);animation-iteration-count:calc(var(--animate-repeat)*2)}.animated.repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat)*3);animation-iteration-count:calc(var(--animate-repeat)*3)}.animated.delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animated.delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay)*2);animation-delay:calc(var(--animate-delay)*2)}.animated.delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay)*3);animation-delay:calc(var(--animate-delay)*3)}.animated.delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay)*4);animation-delay:calc(var(--animate-delay)*4)}.animated.delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay)*5);animation-delay:calc(var(--animate-delay)*5)}.animated.faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration)/2);animation-duration:calc(var(--animate-duration)/2)}.animated.fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration)*.8);animation-duration:calc(var(--animate-duration)*.8)}.animated.slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration)*2);animation-duration:calc(var(--animate-duration)*2)}.animated.slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration)*3);animation-duration:calc(var(--animate-duration)*3)}@media (prefers-reduced-motion:reduce),print{.animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}.headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0)}}.swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}.heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration)*1.3);animation-duration:calc(var(--animate-duration)*1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}.bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}.bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:bounceOut;animation-name:bounceOut}.bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}.bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}.bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}.bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}.fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}.fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}.fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}.fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}.fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}.fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}.fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}.fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}.fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}.lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}.lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}.rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}.rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}.rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}.rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}.rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration)*2);animation-duration:calc(var(--animate-duration)*2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}.jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}.rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}.zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}.zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}.zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}.zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}.zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}.zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}.zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}.zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}.messageCentre[data-v-54755a4a]{top:calc(50px + 1rem);right:1rem}.apiKey-move[data-v-a1e137c9],.apiKey-enter-active[data-v-a1e137c9],.apiKey-leave-active[data-v-a1e137c9]{transition:all .5s ease}.apiKey-enter-from[data-v-a1e137c9],.apiKey-leave-to[data-v-a1e137c9]{opacity:0;transform:translateY(30px) scale(.9)}.apiKey-leave-active[data-v-a1e137c9]{position:absolute;width:100%}/*! +*/@font-face{font-display:block;font-family:bootstrap-icons;src:url(/static/app/dist/assets/bootstrap-icons.woff2?7141511ac37f13e1a387fb9fc6646256) format("woff2"),url(/static/app/dist/assets/bootstrap-icons.woff?7141511ac37f13e1a387fb9fc6646256) format("woff")}.bi:before,[class^=bi-]:before,[class*=" bi-"]:before{display:inline-block;font-family:bootstrap-icons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;vertical-align:-.125em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bi-123:before{content:""}.bi-alarm-fill:before{content:""}.bi-alarm:before{content:""}.bi-align-bottom:before{content:""}.bi-align-center:before{content:""}.bi-align-end:before{content:""}.bi-align-middle:before{content:""}.bi-align-start:before{content:""}.bi-align-top:before{content:""}.bi-alt:before{content:""}.bi-app-indicator:before{content:""}.bi-app:before{content:""}.bi-archive-fill:before{content:""}.bi-archive:before{content:""}.bi-arrow-90deg-down:before{content:""}.bi-arrow-90deg-left:before{content:""}.bi-arrow-90deg-right:before{content:""}.bi-arrow-90deg-up:before{content:""}.bi-arrow-bar-down:before{content:""}.bi-arrow-bar-left:before{content:""}.bi-arrow-bar-right:before{content:""}.bi-arrow-bar-up:before{content:""}.bi-arrow-clockwise:before{content:""}.bi-arrow-counterclockwise:before{content:""}.bi-arrow-down-circle-fill:before{content:""}.bi-arrow-down-circle:before{content:""}.bi-arrow-down-left-circle-fill:before{content:""}.bi-arrow-down-left-circle:before{content:""}.bi-arrow-down-left-square-fill:before{content:""}.bi-arrow-down-left-square:before{content:""}.bi-arrow-down-left:before{content:""}.bi-arrow-down-right-circle-fill:before{content:""}.bi-arrow-down-right-circle:before{content:""}.bi-arrow-down-right-square-fill:before{content:""}.bi-arrow-down-right-square:before{content:""}.bi-arrow-down-right:before{content:""}.bi-arrow-down-short:before{content:""}.bi-arrow-down-square-fill:before{content:""}.bi-arrow-down-square:before{content:""}.bi-arrow-down-up:before{content:""}.bi-arrow-down:before{content:""}.bi-arrow-left-circle-fill:before{content:""}.bi-arrow-left-circle:before{content:""}.bi-arrow-left-right:before{content:""}.bi-arrow-left-short:before{content:""}.bi-arrow-left-square-fill:before{content:""}.bi-arrow-left-square:before{content:""}.bi-arrow-left:before{content:""}.bi-arrow-repeat:before{content:""}.bi-arrow-return-left:before{content:""}.bi-arrow-return-right:before{content:""}.bi-arrow-right-circle-fill:before{content:""}.bi-arrow-right-circle:before{content:""}.bi-arrow-right-short:before{content:""}.bi-arrow-right-square-fill:before{content:""}.bi-arrow-right-square:before{content:""}.bi-arrow-right:before{content:""}.bi-arrow-up-circle-fill:before{content:""}.bi-arrow-up-circle:before{content:""}.bi-arrow-up-left-circle-fill:before{content:""}.bi-arrow-up-left-circle:before{content:""}.bi-arrow-up-left-square-fill:before{content:""}.bi-arrow-up-left-square:before{content:""}.bi-arrow-up-left:before{content:""}.bi-arrow-up-right-circle-fill:before{content:""}.bi-arrow-up-right-circle:before{content:""}.bi-arrow-up-right-square-fill:before{content:""}.bi-arrow-up-right-square:before{content:""}.bi-arrow-up-right:before{content:""}.bi-arrow-up-short:before{content:""}.bi-arrow-up-square-fill:before{content:""}.bi-arrow-up-square:before{content:""}.bi-arrow-up:before{content:""}.bi-arrows-angle-contract:before{content:""}.bi-arrows-angle-expand:before{content:""}.bi-arrows-collapse:before{content:""}.bi-arrows-expand:before{content:""}.bi-arrows-fullscreen:before{content:""}.bi-arrows-move:before{content:""}.bi-aspect-ratio-fill:before{content:""}.bi-aspect-ratio:before{content:""}.bi-asterisk:before{content:""}.bi-at:before{content:""}.bi-award-fill:before{content:""}.bi-award:before{content:""}.bi-back:before{content:""}.bi-backspace-fill:before{content:""}.bi-backspace-reverse-fill:before{content:""}.bi-backspace-reverse:before{content:""}.bi-backspace:before{content:""}.bi-badge-3d-fill:before{content:""}.bi-badge-3d:before{content:""}.bi-badge-4k-fill:before{content:""}.bi-badge-4k:before{content:""}.bi-badge-8k-fill:before{content:""}.bi-badge-8k:before{content:""}.bi-badge-ad-fill:before{content:""}.bi-badge-ad:before{content:""}.bi-badge-ar-fill:before{content:""}.bi-badge-ar:before{content:""}.bi-badge-cc-fill:before{content:""}.bi-badge-cc:before{content:""}.bi-badge-hd-fill:before{content:""}.bi-badge-hd:before{content:""}.bi-badge-tm-fill:before{content:""}.bi-badge-tm:before{content:""}.bi-badge-vo-fill:before{content:""}.bi-badge-vo:before{content:""}.bi-badge-vr-fill:before{content:""}.bi-badge-vr:before{content:""}.bi-badge-wc-fill:before{content:""}.bi-badge-wc:before{content:""}.bi-bag-check-fill:before{content:""}.bi-bag-check:before{content:""}.bi-bag-dash-fill:before{content:""}.bi-bag-dash:before{content:""}.bi-bag-fill:before{content:""}.bi-bag-plus-fill:before{content:""}.bi-bag-plus:before{content:""}.bi-bag-x-fill:before{content:""}.bi-bag-x:before{content:""}.bi-bag:before{content:""}.bi-bar-chart-fill:before{content:""}.bi-bar-chart-line-fill:before{content:""}.bi-bar-chart-line:before{content:""}.bi-bar-chart-steps:before{content:""}.bi-bar-chart:before{content:""}.bi-basket-fill:before{content:""}.bi-basket:before{content:""}.bi-basket2-fill:before{content:""}.bi-basket2:before{content:""}.bi-basket3-fill:before{content:""}.bi-basket3:before{content:""}.bi-battery-charging:before{content:""}.bi-battery-full:before{content:""}.bi-battery-half:before{content:""}.bi-battery:before{content:""}.bi-bell-fill:before{content:""}.bi-bell:before{content:""}.bi-bezier:before{content:""}.bi-bezier2:before{content:""}.bi-bicycle:before{content:""}.bi-binoculars-fill:before{content:""}.bi-binoculars:before{content:""}.bi-blockquote-left:before{content:""}.bi-blockquote-right:before{content:""}.bi-book-fill:before{content:""}.bi-book-half:before{content:""}.bi-book:before{content:""}.bi-bookmark-check-fill:before{content:""}.bi-bookmark-check:before{content:""}.bi-bookmark-dash-fill:before{content:""}.bi-bookmark-dash:before{content:""}.bi-bookmark-fill:before{content:""}.bi-bookmark-heart-fill:before{content:""}.bi-bookmark-heart:before{content:""}.bi-bookmark-plus-fill:before{content:""}.bi-bookmark-plus:before{content:""}.bi-bookmark-star-fill:before{content:""}.bi-bookmark-star:before{content:""}.bi-bookmark-x-fill:before{content:""}.bi-bookmark-x:before{content:""}.bi-bookmark:before{content:""}.bi-bookmarks-fill:before{content:""}.bi-bookmarks:before{content:""}.bi-bookshelf:before{content:""}.bi-bootstrap-fill:before{content:""}.bi-bootstrap-reboot:before{content:""}.bi-bootstrap:before{content:""}.bi-border-all:before{content:""}.bi-border-bottom:before{content:""}.bi-border-center:before{content:""}.bi-border-inner:before{content:""}.bi-border-left:before{content:""}.bi-border-middle:before{content:""}.bi-border-outer:before{content:""}.bi-border-right:before{content:""}.bi-border-style:before{content:""}.bi-border-top:before{content:""}.bi-border-width:before{content:""}.bi-border:before{content:""}.bi-bounding-box-circles:before{content:""}.bi-bounding-box:before{content:""}.bi-box-arrow-down-left:before{content:""}.bi-box-arrow-down-right:before{content:""}.bi-box-arrow-down:before{content:""}.bi-box-arrow-in-down-left:before{content:""}.bi-box-arrow-in-down-right:before{content:""}.bi-box-arrow-in-down:before{content:""}.bi-box-arrow-in-left:before{content:""}.bi-box-arrow-in-right:before{content:""}.bi-box-arrow-in-up-left:before{content:""}.bi-box-arrow-in-up-right:before{content:""}.bi-box-arrow-in-up:before{content:""}.bi-box-arrow-left:before{content:""}.bi-box-arrow-right:before{content:""}.bi-box-arrow-up-left:before{content:""}.bi-box-arrow-up-right:before{content:""}.bi-box-arrow-up:before{content:""}.bi-box-seam:before{content:""}.bi-box:before{content:""}.bi-braces:before{content:""}.bi-bricks:before{content:""}.bi-briefcase-fill:before{content:""}.bi-briefcase:before{content:""}.bi-brightness-alt-high-fill:before{content:""}.bi-brightness-alt-high:before{content:""}.bi-brightness-alt-low-fill:before{content:""}.bi-brightness-alt-low:before{content:""}.bi-brightness-high-fill:before{content:""}.bi-brightness-high:before{content:""}.bi-brightness-low-fill:before{content:""}.bi-brightness-low:before{content:""}.bi-broadcast-pin:before{content:""}.bi-broadcast:before{content:""}.bi-brush-fill:before{content:""}.bi-brush:before{content:""}.bi-bucket-fill:before{content:""}.bi-bucket:before{content:""}.bi-bug-fill:before{content:""}.bi-bug:before{content:""}.bi-building:before{content:""}.bi-bullseye:before{content:""}.bi-calculator-fill:before{content:""}.bi-calculator:before{content:""}.bi-calendar-check-fill:before{content:""}.bi-calendar-check:before{content:""}.bi-calendar-date-fill:before{content:""}.bi-calendar-date:before{content:""}.bi-calendar-day-fill:before{content:""}.bi-calendar-day:before{content:""}.bi-calendar-event-fill:before{content:""}.bi-calendar-event:before{content:""}.bi-calendar-fill:before{content:""}.bi-calendar-minus-fill:before{content:""}.bi-calendar-minus:before{content:""}.bi-calendar-month-fill:before{content:""}.bi-calendar-month:before{content:""}.bi-calendar-plus-fill:before{content:""}.bi-calendar-plus:before{content:""}.bi-calendar-range-fill:before{content:""}.bi-calendar-range:before{content:""}.bi-calendar-week-fill:before{content:""}.bi-calendar-week:before{content:""}.bi-calendar-x-fill:before{content:""}.bi-calendar-x:before{content:""}.bi-calendar:before{content:""}.bi-calendar2-check-fill:before{content:""}.bi-calendar2-check:before{content:""}.bi-calendar2-date-fill:before{content:""}.bi-calendar2-date:before{content:""}.bi-calendar2-day-fill:before{content:""}.bi-calendar2-day:before{content:""}.bi-calendar2-event-fill:before{content:""}.bi-calendar2-event:before{content:""}.bi-calendar2-fill:before{content:""}.bi-calendar2-minus-fill:before{content:""}.bi-calendar2-minus:before{content:""}.bi-calendar2-month-fill:before{content:""}.bi-calendar2-month:before{content:""}.bi-calendar2-plus-fill:before{content:""}.bi-calendar2-plus:before{content:""}.bi-calendar2-range-fill:before{content:""}.bi-calendar2-range:before{content:""}.bi-calendar2-week-fill:before{content:""}.bi-calendar2-week:before{content:""}.bi-calendar2-x-fill:before{content:""}.bi-calendar2-x:before{content:""}.bi-calendar2:before{content:""}.bi-calendar3-event-fill:before{content:""}.bi-calendar3-event:before{content:""}.bi-calendar3-fill:before{content:""}.bi-calendar3-range-fill:before{content:""}.bi-calendar3-range:before{content:""}.bi-calendar3-week-fill:before{content:""}.bi-calendar3-week:before{content:""}.bi-calendar3:before{content:""}.bi-calendar4-event:before{content:""}.bi-calendar4-range:before{content:""}.bi-calendar4-week:before{content:""}.bi-calendar4:before{content:""}.bi-camera-fill:before{content:""}.bi-camera-reels-fill:before{content:""}.bi-camera-reels:before{content:""}.bi-camera-video-fill:before{content:""}.bi-camera-video-off-fill:before{content:""}.bi-camera-video-off:before{content:""}.bi-camera-video:before{content:""}.bi-camera:before{content:""}.bi-camera2:before{content:""}.bi-capslock-fill:before{content:""}.bi-capslock:before{content:""}.bi-card-checklist:before{content:""}.bi-card-heading:before{content:""}.bi-card-image:before{content:""}.bi-card-list:before{content:""}.bi-card-text:before{content:""}.bi-caret-down-fill:before{content:""}.bi-caret-down-square-fill:before{content:""}.bi-caret-down-square:before{content:""}.bi-caret-down:before{content:""}.bi-caret-left-fill:before{content:""}.bi-caret-left-square-fill:before{content:""}.bi-caret-left-square:before{content:""}.bi-caret-left:before{content:""}.bi-caret-right-fill:before{content:""}.bi-caret-right-square-fill:before{content:""}.bi-caret-right-square:before{content:""}.bi-caret-right:before{content:""}.bi-caret-up-fill:before{content:""}.bi-caret-up-square-fill:before{content:""}.bi-caret-up-square:before{content:""}.bi-caret-up:before{content:""}.bi-cart-check-fill:before{content:""}.bi-cart-check:before{content:""}.bi-cart-dash-fill:before{content:""}.bi-cart-dash:before{content:""}.bi-cart-fill:before{content:""}.bi-cart-plus-fill:before{content:""}.bi-cart-plus:before{content:""}.bi-cart-x-fill:before{content:""}.bi-cart-x:before{content:""}.bi-cart:before{content:""}.bi-cart2:before{content:""}.bi-cart3:before{content:""}.bi-cart4:before{content:""}.bi-cash-stack:before{content:""}.bi-cash:before{content:""}.bi-cast:before{content:""}.bi-chat-dots-fill:before{content:""}.bi-chat-dots:before{content:""}.bi-chat-fill:before{content:""}.bi-chat-left-dots-fill:before{content:""}.bi-chat-left-dots:before{content:""}.bi-chat-left-fill:before{content:""}.bi-chat-left-quote-fill:before{content:""}.bi-chat-left-quote:before{content:""}.bi-chat-left-text-fill:before{content:""}.bi-chat-left-text:before{content:""}.bi-chat-left:before{content:""}.bi-chat-quote-fill:before{content:""}.bi-chat-quote:before{content:""}.bi-chat-right-dots-fill:before{content:""}.bi-chat-right-dots:before{content:""}.bi-chat-right-fill:before{content:""}.bi-chat-right-quote-fill:before{content:""}.bi-chat-right-quote:before{content:""}.bi-chat-right-text-fill:before{content:""}.bi-chat-right-text:before{content:""}.bi-chat-right:before{content:""}.bi-chat-square-dots-fill:before{content:""}.bi-chat-square-dots:before{content:""}.bi-chat-square-fill:before{content:""}.bi-chat-square-quote-fill:before{content:""}.bi-chat-square-quote:before{content:""}.bi-chat-square-text-fill:before{content:""}.bi-chat-square-text:before{content:""}.bi-chat-square:before{content:""}.bi-chat-text-fill:before{content:""}.bi-chat-text:before{content:""}.bi-chat:before{content:""}.bi-check-all:before{content:""}.bi-check-circle-fill:before{content:""}.bi-check-circle:before{content:""}.bi-check-square-fill:before{content:""}.bi-check-square:before{content:""}.bi-check:before{content:""}.bi-check2-all:before{content:""}.bi-check2-circle:before{content:""}.bi-check2-square:before{content:""}.bi-check2:before{content:""}.bi-chevron-bar-contract:before{content:""}.bi-chevron-bar-down:before{content:""}.bi-chevron-bar-expand:before{content:""}.bi-chevron-bar-left:before{content:""}.bi-chevron-bar-right:before{content:""}.bi-chevron-bar-up:before{content:""}.bi-chevron-compact-down:before{content:""}.bi-chevron-compact-left:before{content:""}.bi-chevron-compact-right:before{content:""}.bi-chevron-compact-up:before{content:""}.bi-chevron-contract:before{content:""}.bi-chevron-double-down:before{content:""}.bi-chevron-double-left:before{content:""}.bi-chevron-double-right:before{content:""}.bi-chevron-double-up:before{content:""}.bi-chevron-down:before{content:""}.bi-chevron-expand:before{content:""}.bi-chevron-left:before{content:""}.bi-chevron-right:before{content:""}.bi-chevron-up:before{content:""}.bi-circle-fill:before{content:""}.bi-circle-half:before{content:""}.bi-circle-square:before{content:""}.bi-circle:before{content:""}.bi-clipboard-check:before{content:""}.bi-clipboard-data:before{content:""}.bi-clipboard-minus:before{content:""}.bi-clipboard-plus:before{content:""}.bi-clipboard-x:before{content:""}.bi-clipboard:before{content:""}.bi-clock-fill:before{content:""}.bi-clock-history:before{content:""}.bi-clock:before{content:""}.bi-cloud-arrow-down-fill:before{content:""}.bi-cloud-arrow-down:before{content:""}.bi-cloud-arrow-up-fill:before{content:""}.bi-cloud-arrow-up:before{content:""}.bi-cloud-check-fill:before{content:""}.bi-cloud-check:before{content:""}.bi-cloud-download-fill:before{content:""}.bi-cloud-download:before{content:""}.bi-cloud-drizzle-fill:before{content:""}.bi-cloud-drizzle:before{content:""}.bi-cloud-fill:before{content:""}.bi-cloud-fog-fill:before{content:""}.bi-cloud-fog:before{content:""}.bi-cloud-fog2-fill:before{content:""}.bi-cloud-fog2:before{content:""}.bi-cloud-hail-fill:before{content:""}.bi-cloud-hail:before{content:""}.bi-cloud-haze-fill:before{content:""}.bi-cloud-haze:before{content:""}.bi-cloud-haze2-fill:before{content:""}.bi-cloud-lightning-fill:before{content:""}.bi-cloud-lightning-rain-fill:before{content:""}.bi-cloud-lightning-rain:before{content:""}.bi-cloud-lightning:before{content:""}.bi-cloud-minus-fill:before{content:""}.bi-cloud-minus:before{content:""}.bi-cloud-moon-fill:before{content:""}.bi-cloud-moon:before{content:""}.bi-cloud-plus-fill:before{content:""}.bi-cloud-plus:before{content:""}.bi-cloud-rain-fill:before{content:""}.bi-cloud-rain-heavy-fill:before{content:""}.bi-cloud-rain-heavy:before{content:""}.bi-cloud-rain:before{content:""}.bi-cloud-slash-fill:before{content:""}.bi-cloud-slash:before{content:""}.bi-cloud-sleet-fill:before{content:""}.bi-cloud-sleet:before{content:""}.bi-cloud-snow-fill:before{content:""}.bi-cloud-snow:before{content:""}.bi-cloud-sun-fill:before{content:""}.bi-cloud-sun:before{content:""}.bi-cloud-upload-fill:before{content:""}.bi-cloud-upload:before{content:""}.bi-cloud:before{content:""}.bi-clouds-fill:before{content:""}.bi-clouds:before{content:""}.bi-cloudy-fill:before{content:""}.bi-cloudy:before{content:""}.bi-code-slash:before{content:""}.bi-code-square:before{content:""}.bi-code:before{content:""}.bi-collection-fill:before{content:""}.bi-collection-play-fill:before{content:""}.bi-collection-play:before{content:""}.bi-collection:before{content:""}.bi-columns-gap:before{content:""}.bi-columns:before{content:""}.bi-command:before{content:""}.bi-compass-fill:before{content:""}.bi-compass:before{content:""}.bi-cone-striped:before{content:""}.bi-cone:before{content:""}.bi-controller:before{content:""}.bi-cpu-fill:before{content:""}.bi-cpu:before{content:""}.bi-credit-card-2-back-fill:before{content:""}.bi-credit-card-2-back:before{content:""}.bi-credit-card-2-front-fill:before{content:""}.bi-credit-card-2-front:before{content:""}.bi-credit-card-fill:before{content:""}.bi-credit-card:before{content:""}.bi-crop:before{content:""}.bi-cup-fill:before{content:""}.bi-cup-straw:before{content:""}.bi-cup:before{content:""}.bi-cursor-fill:before{content:""}.bi-cursor-text:before{content:""}.bi-cursor:before{content:""}.bi-dash-circle-dotted:before{content:""}.bi-dash-circle-fill:before{content:""}.bi-dash-circle:before{content:""}.bi-dash-square-dotted:before{content:""}.bi-dash-square-fill:before{content:""}.bi-dash-square:before{content:""}.bi-dash:before{content:""}.bi-diagram-2-fill:before{content:""}.bi-diagram-2:before{content:""}.bi-diagram-3-fill:before{content:""}.bi-diagram-3:before{content:""}.bi-diamond-fill:before{content:""}.bi-diamond-half:before{content:""}.bi-diamond:before{content:""}.bi-dice-1-fill:before{content:""}.bi-dice-1:before{content:""}.bi-dice-2-fill:before{content:""}.bi-dice-2:before{content:""}.bi-dice-3-fill:before{content:""}.bi-dice-3:before{content:""}.bi-dice-4-fill:before{content:""}.bi-dice-4:before{content:""}.bi-dice-5-fill:before{content:""}.bi-dice-5:before{content:""}.bi-dice-6-fill:before{content:""}.bi-dice-6:before{content:""}.bi-disc-fill:before{content:""}.bi-disc:before{content:""}.bi-discord:before{content:""}.bi-display-fill:before{content:""}.bi-display:before{content:""}.bi-distribute-horizontal:before{content:""}.bi-distribute-vertical:before{content:""}.bi-door-closed-fill:before{content:""}.bi-door-closed:before{content:""}.bi-door-open-fill:before{content:""}.bi-door-open:before{content:""}.bi-dot:before{content:""}.bi-download:before{content:""}.bi-droplet-fill:before{content:""}.bi-droplet-half:before{content:""}.bi-droplet:before{content:""}.bi-earbuds:before{content:""}.bi-easel-fill:before{content:""}.bi-easel:before{content:""}.bi-egg-fill:before{content:""}.bi-egg-fried:before{content:""}.bi-egg:before{content:""}.bi-eject-fill:before{content:""}.bi-eject:before{content:""}.bi-emoji-angry-fill:before{content:""}.bi-emoji-angry:before{content:""}.bi-emoji-dizzy-fill:before{content:""}.bi-emoji-dizzy:before{content:""}.bi-emoji-expressionless-fill:before{content:""}.bi-emoji-expressionless:before{content:""}.bi-emoji-frown-fill:before{content:""}.bi-emoji-frown:before{content:""}.bi-emoji-heart-eyes-fill:before{content:""}.bi-emoji-heart-eyes:before{content:""}.bi-emoji-laughing-fill:before{content:""}.bi-emoji-laughing:before{content:""}.bi-emoji-neutral-fill:before{content:""}.bi-emoji-neutral:before{content:""}.bi-emoji-smile-fill:before{content:""}.bi-emoji-smile-upside-down-fill:before{content:""}.bi-emoji-smile-upside-down:before{content:""}.bi-emoji-smile:before{content:""}.bi-emoji-sunglasses-fill:before{content:""}.bi-emoji-sunglasses:before{content:""}.bi-emoji-wink-fill:before{content:""}.bi-emoji-wink:before{content:""}.bi-envelope-fill:before{content:""}.bi-envelope-open-fill:before{content:""}.bi-envelope-open:before{content:""}.bi-envelope:before{content:""}.bi-eraser-fill:before{content:""}.bi-eraser:before{content:""}.bi-exclamation-circle-fill:before{content:""}.bi-exclamation-circle:before{content:""}.bi-exclamation-diamond-fill:before{content:""}.bi-exclamation-diamond:before{content:""}.bi-exclamation-octagon-fill:before{content:""}.bi-exclamation-octagon:before{content:""}.bi-exclamation-square-fill:before{content:""}.bi-exclamation-square:before{content:""}.bi-exclamation-triangle-fill:before{content:""}.bi-exclamation-triangle:before{content:""}.bi-exclamation:before{content:""}.bi-exclude:before{content:""}.bi-eye-fill:before{content:""}.bi-eye-slash-fill:before{content:""}.bi-eye-slash:before{content:""}.bi-eye:before{content:""}.bi-eyedropper:before{content:""}.bi-eyeglasses:before{content:""}.bi-facebook:before{content:""}.bi-file-arrow-down-fill:before{content:""}.bi-file-arrow-down:before{content:""}.bi-file-arrow-up-fill:before{content:""}.bi-file-arrow-up:before{content:""}.bi-file-bar-graph-fill:before{content:""}.bi-file-bar-graph:before{content:""}.bi-file-binary-fill:before{content:""}.bi-file-binary:before{content:""}.bi-file-break-fill:before{content:""}.bi-file-break:before{content:""}.bi-file-check-fill:before{content:""}.bi-file-check:before{content:""}.bi-file-code-fill:before{content:""}.bi-file-code:before{content:""}.bi-file-diff-fill:before{content:""}.bi-file-diff:before{content:""}.bi-file-earmark-arrow-down-fill:before{content:""}.bi-file-earmark-arrow-down:before{content:""}.bi-file-earmark-arrow-up-fill:before{content:""}.bi-file-earmark-arrow-up:before{content:""}.bi-file-earmark-bar-graph-fill:before{content:""}.bi-file-earmark-bar-graph:before{content:""}.bi-file-earmark-binary-fill:before{content:""}.bi-file-earmark-binary:before{content:""}.bi-file-earmark-break-fill:before{content:""}.bi-file-earmark-break:before{content:""}.bi-file-earmark-check-fill:before{content:""}.bi-file-earmark-check:before{content:""}.bi-file-earmark-code-fill:before{content:""}.bi-file-earmark-code:before{content:""}.bi-file-earmark-diff-fill:before{content:""}.bi-file-earmark-diff:before{content:""}.bi-file-earmark-easel-fill:before{content:""}.bi-file-earmark-easel:before{content:""}.bi-file-earmark-excel-fill:before{content:""}.bi-file-earmark-excel:before{content:""}.bi-file-earmark-fill:before{content:""}.bi-file-earmark-font-fill:before{content:""}.bi-file-earmark-font:before{content:""}.bi-file-earmark-image-fill:before{content:""}.bi-file-earmark-image:before{content:""}.bi-file-earmark-lock-fill:before{content:""}.bi-file-earmark-lock:before{content:""}.bi-file-earmark-lock2-fill:before{content:""}.bi-file-earmark-lock2:before{content:""}.bi-file-earmark-medical-fill:before{content:""}.bi-file-earmark-medical:before{content:""}.bi-file-earmark-minus-fill:before{content:""}.bi-file-earmark-minus:before{content:""}.bi-file-earmark-music-fill:before{content:""}.bi-file-earmark-music:before{content:""}.bi-file-earmark-person-fill:before{content:""}.bi-file-earmark-person:before{content:""}.bi-file-earmark-play-fill:before{content:""}.bi-file-earmark-play:before{content:""}.bi-file-earmark-plus-fill:before{content:""}.bi-file-earmark-plus:before{content:""}.bi-file-earmark-post-fill:before{content:""}.bi-file-earmark-post:before{content:""}.bi-file-earmark-ppt-fill:before{content:""}.bi-file-earmark-ppt:before{content:""}.bi-file-earmark-richtext-fill:before{content:""}.bi-file-earmark-richtext:before{content:""}.bi-file-earmark-ruled-fill:before{content:""}.bi-file-earmark-ruled:before{content:""}.bi-file-earmark-slides-fill:before{content:""}.bi-file-earmark-slides:before{content:""}.bi-file-earmark-spreadsheet-fill:before{content:""}.bi-file-earmark-spreadsheet:before{content:""}.bi-file-earmark-text-fill:before{content:""}.bi-file-earmark-text:before{content:""}.bi-file-earmark-word-fill:before{content:""}.bi-file-earmark-word:before{content:""}.bi-file-earmark-x-fill:before{content:""}.bi-file-earmark-x:before{content:""}.bi-file-earmark-zip-fill:before{content:""}.bi-file-earmark-zip:before{content:""}.bi-file-earmark:before{content:""}.bi-file-easel-fill:before{content:""}.bi-file-easel:before{content:""}.bi-file-excel-fill:before{content:""}.bi-file-excel:before{content:""}.bi-file-fill:before{content:""}.bi-file-font-fill:before{content:""}.bi-file-font:before{content:""}.bi-file-image-fill:before{content:""}.bi-file-image:before{content:""}.bi-file-lock-fill:before{content:""}.bi-file-lock:before{content:""}.bi-file-lock2-fill:before{content:""}.bi-file-lock2:before{content:""}.bi-file-medical-fill:before{content:""}.bi-file-medical:before{content:""}.bi-file-minus-fill:before{content:""}.bi-file-minus:before{content:""}.bi-file-music-fill:before{content:""}.bi-file-music:before{content:""}.bi-file-person-fill:before{content:""}.bi-file-person:before{content:""}.bi-file-play-fill:before{content:""}.bi-file-play:before{content:""}.bi-file-plus-fill:before{content:""}.bi-file-plus:before{content:""}.bi-file-post-fill:before{content:""}.bi-file-post:before{content:""}.bi-file-ppt-fill:before{content:""}.bi-file-ppt:before{content:""}.bi-file-richtext-fill:before{content:""}.bi-file-richtext:before{content:""}.bi-file-ruled-fill:before{content:""}.bi-file-ruled:before{content:""}.bi-file-slides-fill:before{content:""}.bi-file-slides:before{content:""}.bi-file-spreadsheet-fill:before{content:""}.bi-file-spreadsheet:before{content:""}.bi-file-text-fill:before{content:""}.bi-file-text:before{content:""}.bi-file-word-fill:before{content:""}.bi-file-word:before{content:""}.bi-file-x-fill:before{content:""}.bi-file-x:before{content:""}.bi-file-zip-fill:before{content:""}.bi-file-zip:before{content:""}.bi-file:before{content:""}.bi-files-alt:before{content:""}.bi-files:before{content:""}.bi-film:before{content:""}.bi-filter-circle-fill:before{content:""}.bi-filter-circle:before{content:""}.bi-filter-left:before{content:""}.bi-filter-right:before{content:""}.bi-filter-square-fill:before{content:""}.bi-filter-square:before{content:""}.bi-filter:before{content:""}.bi-flag-fill:before{content:""}.bi-flag:before{content:""}.bi-flower1:before{content:""}.bi-flower2:before{content:""}.bi-flower3:before{content:""}.bi-folder-check:before{content:""}.bi-folder-fill:before{content:""}.bi-folder-minus:before{content:""}.bi-folder-plus:before{content:""}.bi-folder-symlink-fill:before{content:""}.bi-folder-symlink:before{content:""}.bi-folder-x:before{content:""}.bi-folder:before{content:""}.bi-folder2-open:before{content:""}.bi-folder2:before{content:""}.bi-fonts:before{content:""}.bi-forward-fill:before{content:""}.bi-forward:before{content:""}.bi-front:before{content:""}.bi-fullscreen-exit:before{content:""}.bi-fullscreen:before{content:""}.bi-funnel-fill:before{content:""}.bi-funnel:before{content:""}.bi-gear-fill:before{content:""}.bi-gear-wide-connected:before{content:""}.bi-gear-wide:before{content:""}.bi-gear:before{content:""}.bi-gem:before{content:""}.bi-geo-alt-fill:before{content:""}.bi-geo-alt:before{content:""}.bi-geo-fill:before{content:""}.bi-geo:before{content:""}.bi-gift-fill:before{content:""}.bi-gift:before{content:""}.bi-github:before{content:""}.bi-globe:before{content:""}.bi-globe2:before{content:""}.bi-google:before{content:""}.bi-graph-down:before{content:""}.bi-graph-up:before{content:""}.bi-grid-1x2-fill:before{content:""}.bi-grid-1x2:before{content:""}.bi-grid-3x2-gap-fill:before{content:""}.bi-grid-3x2-gap:before{content:""}.bi-grid-3x2:before{content:""}.bi-grid-3x3-gap-fill:before{content:""}.bi-grid-3x3-gap:before{content:""}.bi-grid-3x3:before{content:""}.bi-grid-fill:before{content:""}.bi-grid:before{content:""}.bi-grip-horizontal:before{content:""}.bi-grip-vertical:before{content:""}.bi-hammer:before{content:""}.bi-hand-index-fill:before{content:""}.bi-hand-index-thumb-fill:before{content:""}.bi-hand-index-thumb:before{content:""}.bi-hand-index:before{content:""}.bi-hand-thumbs-down-fill:before{content:""}.bi-hand-thumbs-down:before{content:""}.bi-hand-thumbs-up-fill:before{content:""}.bi-hand-thumbs-up:before{content:""}.bi-handbag-fill:before{content:""}.bi-handbag:before{content:""}.bi-hash:before{content:""}.bi-hdd-fill:before{content:""}.bi-hdd-network-fill:before{content:""}.bi-hdd-network:before{content:""}.bi-hdd-rack-fill:before{content:""}.bi-hdd-rack:before{content:""}.bi-hdd-stack-fill:before{content:""}.bi-hdd-stack:before{content:""}.bi-hdd:before{content:""}.bi-headphones:before{content:""}.bi-headset:before{content:""}.bi-heart-fill:before{content:""}.bi-heart-half:before{content:""}.bi-heart:before{content:""}.bi-heptagon-fill:before{content:""}.bi-heptagon-half:before{content:""}.bi-heptagon:before{content:""}.bi-hexagon-fill:before{content:""}.bi-hexagon-half:before{content:""}.bi-hexagon:before{content:""}.bi-hourglass-bottom:before{content:""}.bi-hourglass-split:before{content:""}.bi-hourglass-top:before{content:""}.bi-hourglass:before{content:""}.bi-house-door-fill:before{content:""}.bi-house-door:before{content:""}.bi-house-fill:before{content:""}.bi-house:before{content:""}.bi-hr:before{content:""}.bi-hurricane:before{content:""}.bi-image-alt:before{content:""}.bi-image-fill:before{content:""}.bi-image:before{content:""}.bi-images:before{content:""}.bi-inbox-fill:before{content:""}.bi-inbox:before{content:""}.bi-inboxes-fill:before{content:""}.bi-inboxes:before{content:""}.bi-info-circle-fill:before{content:""}.bi-info-circle:before{content:""}.bi-info-square-fill:before{content:""}.bi-info-square:before{content:""}.bi-info:before{content:""}.bi-input-cursor-text:before{content:""}.bi-input-cursor:before{content:""}.bi-instagram:before{content:""}.bi-intersect:before{content:""}.bi-journal-album:before{content:""}.bi-journal-arrow-down:before{content:""}.bi-journal-arrow-up:before{content:""}.bi-journal-bookmark-fill:before{content:""}.bi-journal-bookmark:before{content:""}.bi-journal-check:before{content:""}.bi-journal-code:before{content:""}.bi-journal-medical:before{content:""}.bi-journal-minus:before{content:""}.bi-journal-plus:before{content:""}.bi-journal-richtext:before{content:""}.bi-journal-text:before{content:""}.bi-journal-x:before{content:""}.bi-journal:before{content:""}.bi-journals:before{content:""}.bi-joystick:before{content:""}.bi-justify-left:before{content:""}.bi-justify-right:before{content:""}.bi-justify:before{content:""}.bi-kanban-fill:before{content:""}.bi-kanban:before{content:""}.bi-key-fill:before{content:""}.bi-key:before{content:""}.bi-keyboard-fill:before{content:""}.bi-keyboard:before{content:""}.bi-ladder:before{content:""}.bi-lamp-fill:before{content:""}.bi-lamp:before{content:""}.bi-laptop-fill:before{content:""}.bi-laptop:before{content:""}.bi-layer-backward:before{content:""}.bi-layer-forward:before{content:""}.bi-layers-fill:before{content:""}.bi-layers-half:before{content:""}.bi-layers:before{content:""}.bi-layout-sidebar-inset-reverse:before{content:""}.bi-layout-sidebar-inset:before{content:""}.bi-layout-sidebar-reverse:before{content:""}.bi-layout-sidebar:before{content:""}.bi-layout-split:before{content:""}.bi-layout-text-sidebar-reverse:before{content:""}.bi-layout-text-sidebar:before{content:""}.bi-layout-text-window-reverse:before{content:""}.bi-layout-text-window:before{content:""}.bi-layout-three-columns:before{content:""}.bi-layout-wtf:before{content:""}.bi-life-preserver:before{content:""}.bi-lightbulb-fill:before{content:""}.bi-lightbulb-off-fill:before{content:""}.bi-lightbulb-off:before{content:""}.bi-lightbulb:before{content:""}.bi-lightning-charge-fill:before{content:""}.bi-lightning-charge:before{content:""}.bi-lightning-fill:before{content:""}.bi-lightning:before{content:""}.bi-link-45deg:before{content:""}.bi-link:before{content:""}.bi-linkedin:before{content:""}.bi-list-check:before{content:""}.bi-list-nested:before{content:""}.bi-list-ol:before{content:""}.bi-list-stars:before{content:""}.bi-list-task:before{content:""}.bi-list-ul:before{content:""}.bi-list:before{content:""}.bi-lock-fill:before{content:""}.bi-lock:before{content:""}.bi-mailbox:before{content:""}.bi-mailbox2:before{content:""}.bi-map-fill:before{content:""}.bi-map:before{content:""}.bi-markdown-fill:before{content:""}.bi-markdown:before{content:""}.bi-mask:before{content:""}.bi-megaphone-fill:before{content:""}.bi-megaphone:before{content:""}.bi-menu-app-fill:before{content:""}.bi-menu-app:before{content:""}.bi-menu-button-fill:before{content:""}.bi-menu-button-wide-fill:before{content:""}.bi-menu-button-wide:before{content:""}.bi-menu-button:before{content:""}.bi-menu-down:before{content:""}.bi-menu-up:before{content:""}.bi-mic-fill:before{content:""}.bi-mic-mute-fill:before{content:""}.bi-mic-mute:before{content:""}.bi-mic:before{content:""}.bi-minecart-loaded:before{content:""}.bi-minecart:before{content:""}.bi-moisture:before{content:""}.bi-moon-fill:before{content:""}.bi-moon-stars-fill:before{content:""}.bi-moon-stars:before{content:""}.bi-moon:before{content:""}.bi-mouse-fill:before{content:""}.bi-mouse:before{content:""}.bi-mouse2-fill:before{content:""}.bi-mouse2:before{content:""}.bi-mouse3-fill:before{content:""}.bi-mouse3:before{content:""}.bi-music-note-beamed:before{content:""}.bi-music-note-list:before{content:""}.bi-music-note:before{content:""}.bi-music-player-fill:before{content:""}.bi-music-player:before{content:""}.bi-newspaper:before{content:""}.bi-node-minus-fill:before{content:""}.bi-node-minus:before{content:""}.bi-node-plus-fill:before{content:""}.bi-node-plus:before{content:""}.bi-nut-fill:before{content:""}.bi-nut:before{content:""}.bi-octagon-fill:before{content:""}.bi-octagon-half:before{content:""}.bi-octagon:before{content:""}.bi-option:before{content:""}.bi-outlet:before{content:""}.bi-paint-bucket:before{content:""}.bi-palette-fill:before{content:""}.bi-palette:before{content:""}.bi-palette2:before{content:""}.bi-paperclip:before{content:""}.bi-paragraph:before{content:""}.bi-patch-check-fill:before{content:""}.bi-patch-check:before{content:""}.bi-patch-exclamation-fill:before{content:""}.bi-patch-exclamation:before{content:""}.bi-patch-minus-fill:before{content:""}.bi-patch-minus:before{content:""}.bi-patch-plus-fill:before{content:""}.bi-patch-plus:before{content:""}.bi-patch-question-fill:before{content:""}.bi-patch-question:before{content:""}.bi-pause-btn-fill:before{content:""}.bi-pause-btn:before{content:""}.bi-pause-circle-fill:before{content:""}.bi-pause-circle:before{content:""}.bi-pause-fill:before{content:""}.bi-pause:before{content:""}.bi-peace-fill:before{content:""}.bi-peace:before{content:""}.bi-pen-fill:before{content:""}.bi-pen:before{content:""}.bi-pencil-fill:before{content:""}.bi-pencil-square:before{content:""}.bi-pencil:before{content:""}.bi-pentagon-fill:before{content:""}.bi-pentagon-half:before{content:""}.bi-pentagon:before{content:""}.bi-people-fill:before{content:""}.bi-people:before{content:""}.bi-percent:before{content:""}.bi-person-badge-fill:before{content:""}.bi-person-badge:before{content:""}.bi-person-bounding-box:before{content:""}.bi-person-check-fill:before{content:""}.bi-person-check:before{content:""}.bi-person-circle:before{content:""}.bi-person-dash-fill:before{content:""}.bi-person-dash:before{content:""}.bi-person-fill:before{content:""}.bi-person-lines-fill:before{content:""}.bi-person-plus-fill:before{content:""}.bi-person-plus:before{content:""}.bi-person-square:before{content:""}.bi-person-x-fill:before{content:""}.bi-person-x:before{content:""}.bi-person:before{content:""}.bi-phone-fill:before{content:""}.bi-phone-landscape-fill:before{content:""}.bi-phone-landscape:before{content:""}.bi-phone-vibrate-fill:before{content:""}.bi-phone-vibrate:before{content:""}.bi-phone:before{content:""}.bi-pie-chart-fill:before{content:""}.bi-pie-chart:before{content:""}.bi-pin-angle-fill:before{content:""}.bi-pin-angle:before{content:""}.bi-pin-fill:before{content:""}.bi-pin:before{content:""}.bi-pip-fill:before{content:""}.bi-pip:before{content:""}.bi-play-btn-fill:before{content:""}.bi-play-btn:before{content:""}.bi-play-circle-fill:before{content:""}.bi-play-circle:before{content:""}.bi-play-fill:before{content:""}.bi-play:before{content:""}.bi-plug-fill:before{content:""}.bi-plug:before{content:""}.bi-plus-circle-dotted:before{content:""}.bi-plus-circle-fill:before{content:""}.bi-plus-circle:before{content:""}.bi-plus-square-dotted:before{content:""}.bi-plus-square-fill:before{content:""}.bi-plus-square:before{content:""}.bi-plus:before{content:""}.bi-power:before{content:""}.bi-printer-fill:before{content:""}.bi-printer:before{content:""}.bi-puzzle-fill:before{content:""}.bi-puzzle:before{content:""}.bi-question-circle-fill:before{content:""}.bi-question-circle:before{content:""}.bi-question-diamond-fill:before{content:""}.bi-question-diamond:before{content:""}.bi-question-octagon-fill:before{content:""}.bi-question-octagon:before{content:""}.bi-question-square-fill:before{content:""}.bi-question-square:before{content:""}.bi-question:before{content:""}.bi-rainbow:before{content:""}.bi-receipt-cutoff:before{content:""}.bi-receipt:before{content:""}.bi-reception-0:before{content:""}.bi-reception-1:before{content:""}.bi-reception-2:before{content:""}.bi-reception-3:before{content:""}.bi-reception-4:before{content:""}.bi-record-btn-fill:before{content:""}.bi-record-btn:before{content:""}.bi-record-circle-fill:before{content:""}.bi-record-circle:before{content:""}.bi-record-fill:before{content:""}.bi-record:before{content:""}.bi-record2-fill:before{content:""}.bi-record2:before{content:""}.bi-reply-all-fill:before{content:""}.bi-reply-all:before{content:""}.bi-reply-fill:before{content:""}.bi-reply:before{content:""}.bi-rss-fill:before{content:""}.bi-rss:before{content:""}.bi-rulers:before{content:""}.bi-save-fill:before{content:""}.bi-save:before{content:""}.bi-save2-fill:before{content:""}.bi-save2:before{content:""}.bi-scissors:before{content:""}.bi-screwdriver:before{content:""}.bi-search:before{content:""}.bi-segmented-nav:before{content:""}.bi-server:before{content:""}.bi-share-fill:before{content:""}.bi-share:before{content:""}.bi-shield-check:before{content:""}.bi-shield-exclamation:before{content:""}.bi-shield-fill-check:before{content:""}.bi-shield-fill-exclamation:before{content:""}.bi-shield-fill-minus:before{content:""}.bi-shield-fill-plus:before{content:""}.bi-shield-fill-x:before{content:""}.bi-shield-fill:before{content:""}.bi-shield-lock-fill:before{content:""}.bi-shield-lock:before{content:""}.bi-shield-minus:before{content:""}.bi-shield-plus:before{content:""}.bi-shield-shaded:before{content:""}.bi-shield-slash-fill:before{content:""}.bi-shield-slash:before{content:""}.bi-shield-x:before{content:""}.bi-shield:before{content:""}.bi-shift-fill:before{content:""}.bi-shift:before{content:""}.bi-shop-window:before{content:""}.bi-shop:before{content:""}.bi-shuffle:before{content:""}.bi-signpost-2-fill:before{content:""}.bi-signpost-2:before{content:""}.bi-signpost-fill:before{content:""}.bi-signpost-split-fill:before{content:""}.bi-signpost-split:before{content:""}.bi-signpost:before{content:""}.bi-sim-fill:before{content:""}.bi-sim:before{content:""}.bi-skip-backward-btn-fill:before{content:""}.bi-skip-backward-btn:before{content:""}.bi-skip-backward-circle-fill:before{content:""}.bi-skip-backward-circle:before{content:""}.bi-skip-backward-fill:before{content:""}.bi-skip-backward:before{content:""}.bi-skip-end-btn-fill:before{content:""}.bi-skip-end-btn:before{content:""}.bi-skip-end-circle-fill:before{content:""}.bi-skip-end-circle:before{content:""}.bi-skip-end-fill:before{content:""}.bi-skip-end:before{content:""}.bi-skip-forward-btn-fill:before{content:""}.bi-skip-forward-btn:before{content:""}.bi-skip-forward-circle-fill:before{content:""}.bi-skip-forward-circle:before{content:""}.bi-skip-forward-fill:before{content:""}.bi-skip-forward:before{content:""}.bi-skip-start-btn-fill:before{content:""}.bi-skip-start-btn:before{content:""}.bi-skip-start-circle-fill:before{content:""}.bi-skip-start-circle:before{content:""}.bi-skip-start-fill:before{content:""}.bi-skip-start:before{content:""}.bi-slack:before{content:""}.bi-slash-circle-fill:before{content:""}.bi-slash-circle:before{content:""}.bi-slash-square-fill:before{content:""}.bi-slash-square:before{content:""}.bi-slash:before{content:""}.bi-sliders:before{content:""}.bi-smartwatch:before{content:""}.bi-snow:before{content:""}.bi-snow2:before{content:""}.bi-snow3:before{content:""}.bi-sort-alpha-down-alt:before{content:""}.bi-sort-alpha-down:before{content:""}.bi-sort-alpha-up-alt:before{content:""}.bi-sort-alpha-up:before{content:""}.bi-sort-down-alt:before{content:""}.bi-sort-down:before{content:""}.bi-sort-numeric-down-alt:before{content:""}.bi-sort-numeric-down:before{content:""}.bi-sort-numeric-up-alt:before{content:""}.bi-sort-numeric-up:before{content:""}.bi-sort-up-alt:before{content:""}.bi-sort-up:before{content:""}.bi-soundwave:before{content:""}.bi-speaker-fill:before{content:""}.bi-speaker:before{content:""}.bi-speedometer:before{content:""}.bi-speedometer2:before{content:""}.bi-spellcheck:before{content:""}.bi-square-fill:before{content:""}.bi-square-half:before{content:""}.bi-square:before{content:""}.bi-stack:before{content:""}.bi-star-fill:before{content:""}.bi-star-half:before{content:""}.bi-star:before{content:""}.bi-stars:before{content:""}.bi-stickies-fill:before{content:""}.bi-stickies:before{content:""}.bi-sticky-fill:before{content:""}.bi-sticky:before{content:""}.bi-stop-btn-fill:before{content:""}.bi-stop-btn:before{content:""}.bi-stop-circle-fill:before{content:""}.bi-stop-circle:before{content:""}.bi-stop-fill:before{content:""}.bi-stop:before{content:""}.bi-stoplights-fill:before{content:""}.bi-stoplights:before{content:""}.bi-stopwatch-fill:before{content:""}.bi-stopwatch:before{content:""}.bi-subtract:before{content:""}.bi-suit-club-fill:before{content:""}.bi-suit-club:before{content:""}.bi-suit-diamond-fill:before{content:""}.bi-suit-diamond:before{content:""}.bi-suit-heart-fill:before{content:""}.bi-suit-heart:before{content:""}.bi-suit-spade-fill:before{content:""}.bi-suit-spade:before{content:""}.bi-sun-fill:before{content:""}.bi-sun:before{content:""}.bi-sunglasses:before{content:""}.bi-sunrise-fill:before{content:""}.bi-sunrise:before{content:""}.bi-sunset-fill:before{content:""}.bi-sunset:before{content:""}.bi-symmetry-horizontal:before{content:""}.bi-symmetry-vertical:before{content:""}.bi-table:before{content:""}.bi-tablet-fill:before{content:""}.bi-tablet-landscape-fill:before{content:""}.bi-tablet-landscape:before{content:""}.bi-tablet:before{content:""}.bi-tag-fill:before{content:""}.bi-tag:before{content:""}.bi-tags-fill:before{content:""}.bi-tags:before{content:""}.bi-telegram:before{content:""}.bi-telephone-fill:before{content:""}.bi-telephone-forward-fill:before{content:""}.bi-telephone-forward:before{content:""}.bi-telephone-inbound-fill:before{content:""}.bi-telephone-inbound:before{content:""}.bi-telephone-minus-fill:before{content:""}.bi-telephone-minus:before{content:""}.bi-telephone-outbound-fill:before{content:""}.bi-telephone-outbound:before{content:""}.bi-telephone-plus-fill:before{content:""}.bi-telephone-plus:before{content:""}.bi-telephone-x-fill:before{content:""}.bi-telephone-x:before{content:""}.bi-telephone:before{content:""}.bi-terminal-fill:before{content:""}.bi-terminal:before{content:""}.bi-text-center:before{content:""}.bi-text-indent-left:before{content:""}.bi-text-indent-right:before{content:""}.bi-text-left:before{content:""}.bi-text-paragraph:before{content:""}.bi-text-right:before{content:""}.bi-textarea-resize:before{content:""}.bi-textarea-t:before{content:""}.bi-textarea:before{content:""}.bi-thermometer-half:before{content:""}.bi-thermometer-high:before{content:""}.bi-thermometer-low:before{content:""}.bi-thermometer-snow:before{content:""}.bi-thermometer-sun:before{content:""}.bi-thermometer:before{content:""}.bi-three-dots-vertical:before{content:""}.bi-three-dots:before{content:""}.bi-toggle-off:before{content:""}.bi-toggle-on:before{content:""}.bi-toggle2-off:before{content:""}.bi-toggle2-on:before{content:""}.bi-toggles:before{content:""}.bi-toggles2:before{content:""}.bi-tools:before{content:""}.bi-tornado:before{content:""}.bi-trash-fill:before{content:""}.bi-trash:before{content:""}.bi-trash2-fill:before{content:""}.bi-trash2:before{content:""}.bi-tree-fill:before{content:""}.bi-tree:before{content:""}.bi-triangle-fill:before{content:""}.bi-triangle-half:before{content:""}.bi-triangle:before{content:""}.bi-trophy-fill:before{content:""}.bi-trophy:before{content:""}.bi-tropical-storm:before{content:""}.bi-truck-flatbed:before{content:""}.bi-truck:before{content:""}.bi-tsunami:before{content:""}.bi-tv-fill:before{content:""}.bi-tv:before{content:""}.bi-twitch:before{content:""}.bi-twitter:before{content:""}.bi-type-bold:before{content:""}.bi-type-h1:before{content:""}.bi-type-h2:before{content:""}.bi-type-h3:before{content:""}.bi-type-italic:before{content:""}.bi-type-strikethrough:before{content:""}.bi-type-underline:before{content:""}.bi-type:before{content:""}.bi-ui-checks-grid:before{content:""}.bi-ui-checks:before{content:""}.bi-ui-radios-grid:before{content:""}.bi-ui-radios:before{content:""}.bi-umbrella-fill:before{content:""}.bi-umbrella:before{content:""}.bi-union:before{content:""}.bi-unlock-fill:before{content:""}.bi-unlock:before{content:""}.bi-upc-scan:before{content:""}.bi-upc:before{content:""}.bi-upload:before{content:""}.bi-vector-pen:before{content:""}.bi-view-list:before{content:""}.bi-view-stacked:before{content:""}.bi-vinyl-fill:before{content:""}.bi-vinyl:before{content:""}.bi-voicemail:before{content:""}.bi-volume-down-fill:before{content:""}.bi-volume-down:before{content:""}.bi-volume-mute-fill:before{content:""}.bi-volume-mute:before{content:""}.bi-volume-off-fill:before{content:""}.bi-volume-off:before{content:""}.bi-volume-up-fill:before{content:""}.bi-volume-up:before{content:""}.bi-vr:before{content:""}.bi-wallet-fill:before{content:""}.bi-wallet:before{content:""}.bi-wallet2:before{content:""}.bi-watch:before{content:""}.bi-water:before{content:""}.bi-whatsapp:before{content:""}.bi-wifi-1:before{content:""}.bi-wifi-2:before{content:""}.bi-wifi-off:before{content:""}.bi-wifi:before{content:""}.bi-wind:before{content:""}.bi-window-dock:before{content:""}.bi-window-sidebar:before{content:""}.bi-window:before{content:""}.bi-wrench:before{content:""}.bi-x-circle-fill:before{content:""}.bi-x-circle:before{content:""}.bi-x-diamond-fill:before{content:""}.bi-x-diamond:before{content:""}.bi-x-octagon-fill:before{content:""}.bi-x-octagon:before{content:""}.bi-x-square-fill:before{content:""}.bi-x-square:before{content:""}.bi-x:before{content:""}.bi-youtube:before{content:""}.bi-zoom-in:before{content:""}.bi-zoom-out:before{content:""}.bi-bank:before{content:""}.bi-bank2:before{content:""}.bi-bell-slash-fill:before{content:""}.bi-bell-slash:before{content:""}.bi-cash-coin:before{content:""}.bi-check-lg:before{content:""}.bi-coin:before{content:""}.bi-currency-bitcoin:before{content:""}.bi-currency-dollar:before{content:""}.bi-currency-euro:before{content:""}.bi-currency-exchange:before{content:""}.bi-currency-pound:before{content:""}.bi-currency-yen:before{content:""}.bi-dash-lg:before{content:""}.bi-exclamation-lg:before{content:""}.bi-file-earmark-pdf-fill:before{content:""}.bi-file-earmark-pdf:before{content:""}.bi-file-pdf-fill:before{content:""}.bi-file-pdf:before{content:""}.bi-gender-ambiguous:before{content:""}.bi-gender-female:before{content:""}.bi-gender-male:before{content:""}.bi-gender-trans:before{content:""}.bi-headset-vr:before{content:""}.bi-info-lg:before{content:""}.bi-mastodon:before{content:""}.bi-messenger:before{content:""}.bi-piggy-bank-fill:before{content:""}.bi-piggy-bank:before{content:""}.bi-pin-map-fill:before{content:""}.bi-pin-map:before{content:""}.bi-plus-lg:before{content:""}.bi-question-lg:before{content:""}.bi-recycle:before{content:""}.bi-reddit:before{content:""}.bi-safe-fill:before{content:""}.bi-safe2-fill:before{content:""}.bi-safe2:before{content:""}.bi-sd-card-fill:before{content:""}.bi-sd-card:before{content:""}.bi-skype:before{content:""}.bi-slash-lg:before{content:""}.bi-translate:before{content:""}.bi-x-lg:before{content:""}.bi-safe:before{content:""}.bi-apple:before{content:""}.bi-microsoft:before{content:""}.bi-windows:before{content:""}.bi-behance:before{content:""}.bi-dribbble:before{content:""}.bi-line:before{content:""}.bi-medium:before{content:""}.bi-paypal:before{content:""}.bi-pinterest:before{content:""}.bi-signal:before{content:""}.bi-snapchat:before{content:""}.bi-spotify:before{content:""}.bi-stack-overflow:before{content:""}.bi-strava:before{content:""}.bi-wordpress:before{content:""}.bi-vimeo:before{content:""}.bi-activity:before{content:""}.bi-easel2-fill:before{content:""}.bi-easel2:before{content:""}.bi-easel3-fill:before{content:""}.bi-easel3:before{content:""}.bi-fan:before{content:""}.bi-fingerprint:before{content:""}.bi-graph-down-arrow:before{content:""}.bi-graph-up-arrow:before{content:""}.bi-hypnotize:before{content:""}.bi-magic:before{content:""}.bi-person-rolodex:before{content:""}.bi-person-video:before{content:""}.bi-person-video2:before{content:""}.bi-person-video3:before{content:""}.bi-person-workspace:before{content:""}.bi-radioactive:before{content:""}.bi-webcam-fill:before{content:""}.bi-webcam:before{content:""}.bi-yin-yang:before{content:""}.bi-bandaid-fill:before{content:""}.bi-bandaid:before{content:""}.bi-bluetooth:before{content:""}.bi-body-text:before{content:""}.bi-boombox:before{content:""}.bi-boxes:before{content:""}.bi-dpad-fill:before{content:""}.bi-dpad:before{content:""}.bi-ear-fill:before{content:""}.bi-ear:before{content:""}.bi-envelope-check-fill:before{content:""}.bi-envelope-check:before{content:""}.bi-envelope-dash-fill:before{content:""}.bi-envelope-dash:before{content:""}.bi-envelope-exclamation-fill:before{content:""}.bi-envelope-exclamation:before{content:""}.bi-envelope-plus-fill:before{content:""}.bi-envelope-plus:before{content:""}.bi-envelope-slash-fill:before{content:""}.bi-envelope-slash:before{content:""}.bi-envelope-x-fill:before{content:""}.bi-envelope-x:before{content:""}.bi-explicit-fill:before{content:""}.bi-explicit:before{content:""}.bi-git:before{content:""}.bi-infinity:before{content:""}.bi-list-columns-reverse:before{content:""}.bi-list-columns:before{content:""}.bi-meta:before{content:""}.bi-nintendo-switch:before{content:""}.bi-pc-display-horizontal:before{content:""}.bi-pc-display:before{content:""}.bi-pc-horizontal:before{content:""}.bi-pc:before{content:""}.bi-playstation:before{content:""}.bi-plus-slash-minus:before{content:""}.bi-projector-fill:before{content:""}.bi-projector:before{content:""}.bi-qr-code-scan:before{content:""}.bi-qr-code:before{content:""}.bi-quora:before{content:""}.bi-quote:before{content:""}.bi-robot:before{content:""}.bi-send-check-fill:before{content:""}.bi-send-check:before{content:""}.bi-send-dash-fill:before{content:""}.bi-send-dash:before{content:""}.bi-send-exclamation-fill:before{content:""}.bi-send-exclamation:before{content:""}.bi-send-fill:before{content:""}.bi-send-plus-fill:before{content:""}.bi-send-plus:before{content:""}.bi-send-slash-fill:before{content:""}.bi-send-slash:before{content:""}.bi-send-x-fill:before{content:""}.bi-send-x:before{content:""}.bi-send:before{content:""}.bi-steam:before{content:""}.bi-terminal-dash:before{content:""}.bi-terminal-plus:before{content:""}.bi-terminal-split:before{content:""}.bi-ticket-detailed-fill:before{content:""}.bi-ticket-detailed:before{content:""}.bi-ticket-fill:before{content:""}.bi-ticket-perforated-fill:before{content:""}.bi-ticket-perforated:before{content:""}.bi-ticket:before{content:""}.bi-tiktok:before{content:""}.bi-window-dash:before{content:""}.bi-window-desktop:before{content:""}.bi-window-fullscreen:before{content:""}.bi-window-plus:before{content:""}.bi-window-split:before{content:""}.bi-window-stack:before{content:""}.bi-window-x:before{content:""}.bi-xbox:before{content:""}.bi-ethernet:before{content:""}.bi-hdmi-fill:before{content:""}.bi-hdmi:before{content:""}.bi-usb-c-fill:before{content:""}.bi-usb-c:before{content:""}.bi-usb-fill:before{content:""}.bi-usb-plug-fill:before{content:""}.bi-usb-plug:before{content:""}.bi-usb-symbol:before{content:""}.bi-usb:before{content:""}.bi-boombox-fill:before{content:""}.bi-displayport:before{content:""}.bi-gpu-card:before{content:""}.bi-memory:before{content:""}.bi-modem-fill:before{content:""}.bi-modem:before{content:""}.bi-motherboard-fill:before{content:""}.bi-motherboard:before{content:""}.bi-optical-audio-fill:before{content:""}.bi-optical-audio:before{content:""}.bi-pci-card:before{content:""}.bi-router-fill:before{content:""}.bi-router:before{content:""}.bi-thunderbolt-fill:before{content:""}.bi-thunderbolt:before{content:""}.bi-usb-drive-fill:before{content:""}.bi-usb-drive:before{content:""}.bi-usb-micro-fill:before{content:""}.bi-usb-micro:before{content:""}.bi-usb-mini-fill:before{content:""}.bi-usb-mini:before{content:""}.bi-cloud-haze2:before{content:""}.bi-device-hdd-fill:before{content:""}.bi-device-hdd:before{content:""}.bi-device-ssd-fill:before{content:""}.bi-device-ssd:before{content:""}.bi-displayport-fill:before{content:""}.bi-mortarboard-fill:before{content:""}.bi-mortarboard:before{content:""}.bi-terminal-x:before{content:""}.bi-arrow-through-heart-fill:before{content:""}.bi-arrow-through-heart:before{content:""}.bi-badge-sd-fill:before{content:""}.bi-badge-sd:before{content:""}.bi-bag-heart-fill:before{content:""}.bi-bag-heart:before{content:""}.bi-balloon-fill:before{content:""}.bi-balloon-heart-fill:before{content:""}.bi-balloon-heart:before{content:""}.bi-balloon:before{content:""}.bi-box2-fill:before{content:""}.bi-box2-heart-fill:before{content:""}.bi-box2-heart:before{content:""}.bi-box2:before{content:""}.bi-braces-asterisk:before{content:""}.bi-calendar-heart-fill:before{content:""}.bi-calendar-heart:before{content:""}.bi-calendar2-heart-fill:before{content:""}.bi-calendar2-heart:before{content:""}.bi-chat-heart-fill:before{content:""}.bi-chat-heart:before{content:""}.bi-chat-left-heart-fill:before{content:""}.bi-chat-left-heart:before{content:""}.bi-chat-right-heart-fill:before{content:""}.bi-chat-right-heart:before{content:""}.bi-chat-square-heart-fill:before{content:""}.bi-chat-square-heart:before{content:""}.bi-clipboard-check-fill:before{content:""}.bi-clipboard-data-fill:before{content:""}.bi-clipboard-fill:before{content:""}.bi-clipboard-heart-fill:before{content:""}.bi-clipboard-heart:before{content:""}.bi-clipboard-minus-fill:before{content:""}.bi-clipboard-plus-fill:before{content:""}.bi-clipboard-pulse:before{content:""}.bi-clipboard-x-fill:before{content:""}.bi-clipboard2-check-fill:before{content:""}.bi-clipboard2-check:before{content:""}.bi-clipboard2-data-fill:before{content:""}.bi-clipboard2-data:before{content:""}.bi-clipboard2-fill:before{content:""}.bi-clipboard2-heart-fill:before{content:""}.bi-clipboard2-heart:before{content:""}.bi-clipboard2-minus-fill:before{content:""}.bi-clipboard2-minus:before{content:""}.bi-clipboard2-plus-fill:before{content:""}.bi-clipboard2-plus:before{content:""}.bi-clipboard2-pulse-fill:before{content:""}.bi-clipboard2-pulse:before{content:""}.bi-clipboard2-x-fill:before{content:""}.bi-clipboard2-x:before{content:""}.bi-clipboard2:before{content:""}.bi-emoji-kiss-fill:before{content:""}.bi-emoji-kiss:before{content:""}.bi-envelope-heart-fill:before{content:""}.bi-envelope-heart:before{content:""}.bi-envelope-open-heart-fill:before{content:""}.bi-envelope-open-heart:before{content:""}.bi-envelope-paper-fill:before{content:""}.bi-envelope-paper-heart-fill:before{content:""}.bi-envelope-paper-heart:before{content:""}.bi-envelope-paper:before{content:""}.bi-filetype-aac:before{content:""}.bi-filetype-ai:before{content:""}.bi-filetype-bmp:before{content:""}.bi-filetype-cs:before{content:""}.bi-filetype-css:before{content:""}.bi-filetype-csv:before{content:""}.bi-filetype-doc:before{content:""}.bi-filetype-docx:before{content:""}.bi-filetype-exe:before{content:""}.bi-filetype-gif:before{content:""}.bi-filetype-heic:before{content:""}.bi-filetype-html:before{content:""}.bi-filetype-java:before{content:""}.bi-filetype-jpg:before{content:""}.bi-filetype-js:before{content:""}.bi-filetype-jsx:before{content:""}.bi-filetype-key:before{content:""}.bi-filetype-m4p:before{content:""}.bi-filetype-md:before{content:""}.bi-filetype-mdx:before{content:""}.bi-filetype-mov:before{content:""}.bi-filetype-mp3:before{content:""}.bi-filetype-mp4:before{content:""}.bi-filetype-otf:before{content:""}.bi-filetype-pdf:before{content:""}.bi-filetype-php:before{content:""}.bi-filetype-png:before{content:""}.bi-filetype-ppt:before{content:""}.bi-filetype-psd:before{content:""}.bi-filetype-py:before{content:""}.bi-filetype-raw:before{content:""}.bi-filetype-rb:before{content:""}.bi-filetype-sass:before{content:""}.bi-filetype-scss:before{content:""}.bi-filetype-sh:before{content:""}.bi-filetype-svg:before{content:""}.bi-filetype-tiff:before{content:""}.bi-filetype-tsx:before{content:""}.bi-filetype-ttf:before{content:""}.bi-filetype-txt:before{content:""}.bi-filetype-wav:before{content:""}.bi-filetype-woff:before{content:""}.bi-filetype-xls:before{content:""}.bi-filetype-xml:before{content:""}.bi-filetype-yml:before{content:""}.bi-heart-arrow:before{content:""}.bi-heart-pulse-fill:before{content:""}.bi-heart-pulse:before{content:""}.bi-heartbreak-fill:before{content:""}.bi-heartbreak:before{content:""}.bi-hearts:before{content:""}.bi-hospital-fill:before{content:""}.bi-hospital:before{content:""}.bi-house-heart-fill:before{content:""}.bi-house-heart:before{content:""}.bi-incognito:before{content:""}.bi-magnet-fill:before{content:""}.bi-magnet:before{content:""}.bi-person-heart:before{content:""}.bi-person-hearts:before{content:""}.bi-phone-flip:before{content:""}.bi-plugin:before{content:""}.bi-postage-fill:before{content:""}.bi-postage-heart-fill:before{content:""}.bi-postage-heart:before{content:""}.bi-postage:before{content:""}.bi-postcard-fill:before{content:""}.bi-postcard-heart-fill:before{content:""}.bi-postcard-heart:before{content:""}.bi-postcard:before{content:""}.bi-search-heart-fill:before{content:""}.bi-search-heart:before{content:""}.bi-sliders2-vertical:before{content:""}.bi-sliders2:before{content:""}.bi-trash3-fill:before{content:""}.bi-trash3:before{content:""}.bi-valentine:before{content:""}.bi-valentine2:before{content:""}.bi-wrench-adjustable-circle-fill:before{content:""}.bi-wrench-adjustable-circle:before{content:""}.bi-wrench-adjustable:before{content:""}.bi-filetype-json:before{content:""}.bi-filetype-pptx:before{content:""}.bi-filetype-xlsx:before{content:""}.bi-1-circle-fill:before{content:""}.bi-1-circle:before{content:""}.bi-1-square-fill:before{content:""}.bi-1-square:before{content:""}.bi-2-circle-fill:before{content:""}.bi-2-circle:before{content:""}.bi-2-square-fill:before{content:""}.bi-2-square:before{content:""}.bi-3-circle-fill:before{content:""}.bi-3-circle:before{content:""}.bi-3-square-fill:before{content:""}.bi-3-square:before{content:""}.bi-4-circle-fill:before{content:""}.bi-4-circle:before{content:""}.bi-4-square-fill:before{content:""}.bi-4-square:before{content:""}.bi-5-circle-fill:before{content:""}.bi-5-circle:before{content:""}.bi-5-square-fill:before{content:""}.bi-5-square:before{content:""}.bi-6-circle-fill:before{content:""}.bi-6-circle:before{content:""}.bi-6-square-fill:before{content:""}.bi-6-square:before{content:""}.bi-7-circle-fill:before{content:""}.bi-7-circle:before{content:""}.bi-7-square-fill:before{content:""}.bi-7-square:before{content:""}.bi-8-circle-fill:before{content:""}.bi-8-circle:before{content:""}.bi-8-square-fill:before{content:""}.bi-8-square:before{content:""}.bi-9-circle-fill:before{content:""}.bi-9-circle:before{content:""}.bi-9-square-fill:before{content:""}.bi-9-square:before{content:""}.bi-airplane-engines-fill:before{content:""}.bi-airplane-engines:before{content:""}.bi-airplane-fill:before{content:""}.bi-airplane:before{content:""}.bi-alexa:before{content:""}.bi-alipay:before{content:""}.bi-android:before{content:""}.bi-android2:before{content:""}.bi-box-fill:before{content:""}.bi-box-seam-fill:before{content:""}.bi-browser-chrome:before{content:""}.bi-browser-edge:before{content:""}.bi-browser-firefox:before{content:""}.bi-browser-safari:before{content:""}.bi-c-circle-fill:before{content:""}.bi-c-circle:before{content:""}.bi-c-square-fill:before{content:""}.bi-c-square:before{content:""}.bi-capsule-pill:before{content:""}.bi-capsule:before{content:""}.bi-car-front-fill:before{content:""}.bi-car-front:before{content:""}.bi-cassette-fill:before{content:""}.bi-cassette:before{content:""}.bi-cc-circle-fill:before{content:""}.bi-cc-circle:before{content:""}.bi-cc-square-fill:before{content:""}.bi-cc-square:before{content:""}.bi-cup-hot-fill:before{content:""}.bi-cup-hot:before{content:""}.bi-currency-rupee:before{content:""}.bi-dropbox:before{content:""}.bi-escape:before{content:""}.bi-fast-forward-btn-fill:before{content:""}.bi-fast-forward-btn:before{content:""}.bi-fast-forward-circle-fill:before{content:""}.bi-fast-forward-circle:before{content:""}.bi-fast-forward-fill:before{content:""}.bi-fast-forward:before{content:""}.bi-filetype-sql:before{content:""}.bi-fire:before{content:""}.bi-google-play:before{content:""}.bi-h-circle-fill:before{content:""}.bi-h-circle:before{content:""}.bi-h-square-fill:before{content:""}.bi-h-square:before{content:""}.bi-indent:before{content:""}.bi-lungs-fill:before{content:""}.bi-lungs:before{content:""}.bi-microsoft-teams:before{content:""}.bi-p-circle-fill:before{content:""}.bi-p-circle:before{content:""}.bi-p-square-fill:before{content:""}.bi-p-square:before{content:""}.bi-pass-fill:before{content:""}.bi-pass:before{content:""}.bi-prescription:before{content:""}.bi-prescription2:before{content:""}.bi-r-circle-fill:before{content:""}.bi-r-circle:before{content:""}.bi-r-square-fill:before{content:""}.bi-r-square:before{content:""}.bi-repeat-1:before{content:""}.bi-repeat:before{content:""}.bi-rewind-btn-fill:before{content:""}.bi-rewind-btn:before{content:""}.bi-rewind-circle-fill:before{content:""}.bi-rewind-circle:before{content:""}.bi-rewind-fill:before{content:""}.bi-rewind:before{content:""}.bi-train-freight-front-fill:before{content:""}.bi-train-freight-front:before{content:""}.bi-train-front-fill:before{content:""}.bi-train-front:before{content:""}.bi-train-lightrail-front-fill:before{content:""}.bi-train-lightrail-front:before{content:""}.bi-truck-front-fill:before{content:""}.bi-truck-front:before{content:""}.bi-ubuntu:before{content:""}.bi-unindent:before{content:""}.bi-unity:before{content:""}.bi-universal-access-circle:before{content:""}.bi-universal-access:before{content:""}.bi-virus:before{content:""}.bi-virus2:before{content:""}.bi-wechat:before{content:""}.bi-yelp:before{content:""}.bi-sign-stop-fill:before{content:""}.bi-sign-stop-lights-fill:before{content:""}.bi-sign-stop-lights:before{content:""}.bi-sign-stop:before{content:""}.bi-sign-turn-left-fill:before{content:""}.bi-sign-turn-left:before{content:""}.bi-sign-turn-right-fill:before{content:""}.bi-sign-turn-right:before{content:""}.bi-sign-turn-slight-left-fill:before{content:""}.bi-sign-turn-slight-left:before{content:""}.bi-sign-turn-slight-right-fill:before{content:""}.bi-sign-turn-slight-right:before{content:""}.bi-sign-yield-fill:before{content:""}.bi-sign-yield:before{content:""}.bi-ev-station-fill:before{content:""}.bi-ev-station:before{content:""}.bi-fuel-pump-diesel-fill:before{content:""}.bi-fuel-pump-diesel:before{content:""}.bi-fuel-pump-fill:before{content:""}.bi-fuel-pump:before{content:""}.bi-0-circle-fill:before{content:""}.bi-0-circle:before{content:""}.bi-0-square-fill:before{content:""}.bi-0-square:before{content:""}.bi-rocket-fill:before{content:""}.bi-rocket-takeoff-fill:before{content:""}.bi-rocket-takeoff:before{content:""}.bi-rocket:before{content:""}.bi-stripe:before{content:""}.bi-subscript:before{content:""}.bi-superscript:before{content:""}.bi-trello:before{content:""}.bi-envelope-at-fill:before{content:""}.bi-envelope-at:before{content:""}.bi-regex:before{content:""}.bi-text-wrap:before{content:""}.bi-sign-dead-end-fill:before{content:""}.bi-sign-dead-end:before{content:""}.bi-sign-do-not-enter-fill:before{content:""}.bi-sign-do-not-enter:before{content:""}.bi-sign-intersection-fill:before{content:""}.bi-sign-intersection-side-fill:before{content:""}.bi-sign-intersection-side:before{content:""}.bi-sign-intersection-t-fill:before{content:""}.bi-sign-intersection-t:before{content:""}.bi-sign-intersection-y-fill:before{content:""}.bi-sign-intersection-y:before{content:""}.bi-sign-intersection:before{content:""}.bi-sign-merge-left-fill:before{content:""}.bi-sign-merge-left:before{content:""}.bi-sign-merge-right-fill:before{content:""}.bi-sign-merge-right:before{content:""}.bi-sign-no-left-turn-fill:before{content:""}.bi-sign-no-left-turn:before{content:""}.bi-sign-no-parking-fill:before{content:""}.bi-sign-no-parking:before{content:""}.bi-sign-no-right-turn-fill:before{content:""}.bi-sign-no-right-turn:before{content:""}.bi-sign-railroad-fill:before{content:""}.bi-sign-railroad:before{content:""}.bi-building-add:before{content:""}.bi-building-check:before{content:""}.bi-building-dash:before{content:""}.bi-building-down:before{content:""}.bi-building-exclamation:before{content:""}.bi-building-fill-add:before{content:""}.bi-building-fill-check:before{content:""}.bi-building-fill-dash:before{content:""}.bi-building-fill-down:before{content:""}.bi-building-fill-exclamation:before{content:""}.bi-building-fill-gear:before{content:""}.bi-building-fill-lock:before{content:""}.bi-building-fill-slash:before{content:""}.bi-building-fill-up:before{content:""}.bi-building-fill-x:before{content:""}.bi-building-fill:before{content:""}.bi-building-gear:before{content:""}.bi-building-lock:before{content:""}.bi-building-slash:before{content:""}.bi-building-up:before{content:""}.bi-building-x:before{content:""}.bi-buildings-fill:before{content:""}.bi-buildings:before{content:""}.bi-bus-front-fill:before{content:""}.bi-bus-front:before{content:""}.bi-ev-front-fill:before{content:""}.bi-ev-front:before{content:""}.bi-globe-americas:before{content:""}.bi-globe-asia-australia:before{content:""}.bi-globe-central-south-asia:before{content:""}.bi-globe-europe-africa:before{content:""}.bi-house-add-fill:before{content:""}.bi-house-add:before{content:""}.bi-house-check-fill:before{content:""}.bi-house-check:before{content:""}.bi-house-dash-fill:before{content:""}.bi-house-dash:before{content:""}.bi-house-down-fill:before{content:""}.bi-house-down:before{content:""}.bi-house-exclamation-fill:before{content:""}.bi-house-exclamation:before{content:""}.bi-house-gear-fill:before{content:""}.bi-house-gear:before{content:""}.bi-house-lock-fill:before{content:""}.bi-house-lock:before{content:""}.bi-house-slash-fill:before{content:""}.bi-house-slash:before{content:""}.bi-house-up-fill:before{content:""}.bi-house-up:before{content:""}.bi-house-x-fill:before{content:""}.bi-house-x:before{content:""}.bi-person-add:before{content:""}.bi-person-down:before{content:""}.bi-person-exclamation:before{content:""}.bi-person-fill-add:before{content:""}.bi-person-fill-check:before{content:""}.bi-person-fill-dash:before{content:""}.bi-person-fill-down:before{content:""}.bi-person-fill-exclamation:before{content:""}.bi-person-fill-gear:before{content:""}.bi-person-fill-lock:before{content:""}.bi-person-fill-slash:before{content:""}.bi-person-fill-up:before{content:""}.bi-person-fill-x:before{content:""}.bi-person-gear:before{content:""}.bi-person-lock:before{content:""}.bi-person-slash:before{content:""}.bi-person-up:before{content:""}.bi-scooter:before{content:""}.bi-taxi-front-fill:before{content:""}.bi-taxi-front:before{content:""}.bi-amd:before{content:""}.bi-database-add:before{content:""}.bi-database-check:before{content:""}.bi-database-dash:before{content:""}.bi-database-down:before{content:""}.bi-database-exclamation:before{content:""}.bi-database-fill-add:before{content:""}.bi-database-fill-check:before{content:""}.bi-database-fill-dash:before{content:""}.bi-database-fill-down:before{content:""}.bi-database-fill-exclamation:before{content:""}.bi-database-fill-gear:before{content:""}.bi-database-fill-lock:before{content:""}.bi-database-fill-slash:before{content:""}.bi-database-fill-up:before{content:""}.bi-database-fill-x:before{content:""}.bi-database-fill:before{content:""}.bi-database-gear:before{content:""}.bi-database-lock:before{content:""}.bi-database-slash:before{content:""}.bi-database-up:before{content:""}.bi-database-x:before{content:""}.bi-database:before{content:""}.bi-houses-fill:before{content:""}.bi-houses:before{content:""}.bi-nvidia:before{content:""}.bi-person-vcard-fill:before{content:""}.bi-person-vcard:before{content:""}.bi-sina-weibo:before{content:""}.bi-tencent-qq:before{content:""}.bi-wikipedia:before{content:""}.bi-alphabet-uppercase:before{content:""}.bi-alphabet:before{content:""}.bi-amazon:before{content:""}.bi-arrows-collapse-vertical:before{content:""}.bi-arrows-expand-vertical:before{content:""}.bi-arrows-vertical:before{content:""}.bi-arrows:before{content:""}.bi-ban-fill:before{content:""}.bi-ban:before{content:""}.bi-bing:before{content:""}.bi-cake:before{content:""}.bi-cake2:before{content:""}.bi-cookie:before{content:""}.bi-copy:before{content:""}.bi-crosshair:before{content:""}.bi-crosshair2:before{content:""}.bi-emoji-astonished-fill:before{content:""}.bi-emoji-astonished:before{content:""}.bi-emoji-grimace-fill:before{content:""}.bi-emoji-grimace:before{content:""}.bi-emoji-grin-fill:before{content:""}.bi-emoji-grin:before{content:""}.bi-emoji-surprise-fill:before{content:""}.bi-emoji-surprise:before{content:""}.bi-emoji-tear-fill:before{content:""}.bi-emoji-tear:before{content:""}.bi-envelope-arrow-down-fill:before{content:""}.bi-envelope-arrow-down:before{content:""}.bi-envelope-arrow-up-fill:before{content:""}.bi-envelope-arrow-up:before{content:""}.bi-feather:before{content:""}.bi-feather2:before{content:""}.bi-floppy-fill:before{content:""}.bi-floppy:before{content:""}.bi-floppy2-fill:before{content:""}.bi-floppy2:before{content:""}.bi-gitlab:before{content:""}.bi-highlighter:before{content:""}.bi-marker-tip:before{content:""}.bi-nvme-fill:before{content:""}.bi-nvme:before{content:""}.bi-opencollective:before{content:""}.bi-pci-card-network:before{content:""}.bi-pci-card-sound:before{content:""}.bi-radar:before{content:""}.bi-send-arrow-down-fill:before{content:""}.bi-send-arrow-down:before{content:""}.bi-send-arrow-up-fill:before{content:""}.bi-send-arrow-up:before{content:""}.bi-sim-slash-fill:before{content:""}.bi-sim-slash:before{content:""}.bi-sourceforge:before{content:""}.bi-substack:before{content:""}.bi-threads-fill:before{content:""}.bi-threads:before{content:""}.bi-transparency:before{content:""}.bi-twitter-x:before{content:""}.bi-type-h4:before{content:""}.bi-type-h5:before{content:""}.bi-type-h6:before{content:""}.bi-backpack-fill:before{content:""}.bi-backpack:before{content:""}.bi-backpack2-fill:before{content:""}.bi-backpack2:before{content:""}.bi-backpack3-fill:before{content:""}.bi-backpack3:before{content:""}.bi-backpack4-fill:before{content:""}.bi-backpack4:before{content:""}.bi-brilliance:before{content:""}.bi-cake-fill:before{content:""}.bi-cake2-fill:before{content:""}.bi-duffle-fill:before{content:""}.bi-duffle:before{content:""}.bi-exposure:before{content:""}.bi-gender-neuter:before{content:""}.bi-highlights:before{content:""}.bi-luggage-fill:before{content:""}.bi-luggage:before{content:""}.bi-mailbox-flag:before{content:""}.bi-mailbox2-flag:before{content:""}.bi-noise-reduction:before{content:""}.bi-passport-fill:before{content:""}.bi-passport:before{content:""}.bi-person-arms-up:before{content:""}.bi-person-raised-hand:before{content:""}.bi-person-standing-dress:before{content:""}.bi-person-standing:before{content:""}.bi-person-walking:before{content:""}.bi-person-wheelchair:before{content:""}.bi-shadows:before{content:""}.bi-suitcase-fill:before{content:""}.bi-suitcase-lg-fill:before{content:""}.bi-suitcase-lg:before{content:""}.bi-suitcase:before{content:"豈"}.bi-suitcase2-fill:before{content:"更"}.bi-suitcase2:before{content:"車"}.bi-vignette:before{content:"賈"}:root{--animate-duration:1s;--animate-delay:1s;--animate-repeat:1}.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animated.repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat)*2);animation-iteration-count:calc(var(--animate-repeat)*2)}.animated.repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat)*3);animation-iteration-count:calc(var(--animate-repeat)*3)}.animated.delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animated.delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay)*2);animation-delay:calc(var(--animate-delay)*2)}.animated.delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay)*3);animation-delay:calc(var(--animate-delay)*3)}.animated.delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay)*4);animation-delay:calc(var(--animate-delay)*4)}.animated.delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay)*5);animation-delay:calc(var(--animate-delay)*5)}.animated.faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration)/2);animation-duration:calc(var(--animate-duration)/2)}.animated.fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration)*.8);animation-duration:calc(var(--animate-duration)*.8)}.animated.slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration)*2);animation-duration:calc(var(--animate-duration)*2)}.animated.slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration)*3);animation-duration:calc(var(--animate-duration)*3)}@media (prefers-reduced-motion:reduce),print{.animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translateZ(0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes pulse{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes rubberBand{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}.headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0)}}.swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes tada{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate(-3deg);transform:scale3d(.9,.9,.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(3deg);transform:scale3d(1.1,1.1,1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate(-3deg);transform:scale3d(1.1,1.1,1.1) rotate(-3deg)}to{-webkit-transform:scaleX(1);transform:scaleX(1)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate(-5deg);transform:translate3d(-25%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate(3deg);transform:translate3d(20%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate(-3deg);transform:translate3d(-15%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate(2deg);transform:translate3d(10%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate(-1deg);transform:translate3d(-5%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translateZ(0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}.heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration)*1.3);animation-duration:calc(var(--animate-duration)*1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scaleX(1);transform:scaleX(1)}}.bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}.bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:bounceOut;animation-name:bounceOut}.bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}.bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}.bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}.bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}.fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}.fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}.fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}.fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}.fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}.fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}.fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}.fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}.fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(-1turn);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);transform:perspective(400px) scaleX(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0deg);transform:perspective(400px) scaleX(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotateY(-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration)*.75);animation-duration:calc(var(--animate-duration)*.75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}.lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}.lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}.rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate(200deg);transform:rotate(200deg);opacity:0}}.rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate(45deg);transform:rotate(45deg);opacity:0}}.rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}.rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);opacity:0}}.rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}}.rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate(80deg);transform:rotate(80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration)*2);animation-duration:calc(var(--animate-duration)*2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}.jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate(-120deg);transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate(120deg);transform:translate3d(100%,0,0) rotate(120deg)}}.rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}.zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}.zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}.zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}.zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}.zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}.zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}.zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}.zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}.slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}.dp__input_wrap{position:relative;width:100%;box-sizing:unset}.dp__input_wrap:focus{border-color:var(--dp-border-color-hover);outline:none}.dp__input_valid{box-shadow:0 0 var(--dp-border-radius) var(--dp-success-color);border-color:var(--dp-success-color)}.dp__input_valid:hover{border-color:var(--dp-success-color)}.dp__input_invalid{box-shadow:0 0 var(--dp-border-radius) var(--dp-danger-color);border-color:var(--dp-danger-color)}.dp__input_invalid:hover{border-color:var(--dp-danger-color)}.dp__input{background-color:var(--dp-background-color);border-radius:var(--dp-border-radius);font-family:var(--dp-font-family);border:1px solid var(--dp-border-color);outline:none;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%;font-size:var(--dp-font-size);line-height:calc(var(--dp-font-size)*1.5);padding:var(--dp-input-padding);color:var(--dp-text-color);box-sizing:border-box}.dp__input::placeholder{opacity:.7}.dp__input:hover:not(.dp__input_focus){border-color:var(--dp-border-color-hover)}.dp__input_reg{caret-color:#0000}.dp__input_focus{border-color:var(--dp-border-color-focus)}.dp__disabled{background:var(--dp-disabled-color)}.dp__disabled::placeholder{color:var(--dp-disabled-color-text)}.dp__input_icons{display:inline-block;width:var(--dp-font-size);height:var(--dp-font-size);stroke-width:0;font-size:var(--dp-font-size);line-height:calc(var(--dp-font-size)*1.5);padding:6px 12px;color:var(--dp-icon-color);box-sizing:content-box}.dp__input_icon{cursor:pointer;position:absolute;top:50%;inset-inline-start:0;transform:translateY(-50%);color:var(--dp-icon-color)}.dp--clear-btn{position:absolute;top:50%;inset-inline-end:0;transform:translateY(-50%);cursor:pointer;color:var(--dp-icon-color);background:#0000;border:none;display:inline-flex;align-items:center;padding:0;margin:0}.dp__input_icon_pad{padding-inline-start:var(--dp-input-icon-padding)}.dp__menu{background:var(--dp-background-color);border-radius:var(--dp-border-radius);min-width:var(--dp-menu-min-width);font-family:var(--dp-font-family);font-size:var(--dp-font-size);-webkit-user-select:none;user-select:none;border:1px solid var(--dp-menu-border-color);box-sizing:border-box}.dp__menu:after{box-sizing:border-box}.dp__menu:before{box-sizing:border-box}.dp__menu:focus{border:1px solid var(--dp-menu-border-color);outline:none}.dp--menu-wrapper{position:absolute;z-index:99999}.dp__menu_inner{padding:var(--dp-menu-padding)}.dp--menu--inner-stretched{padding:6px 0}.dp__menu_index{z-index:99999}.dp-menu-loading,.dp__menu_readonly,.dp__menu_disabled{position:absolute;top:0;right:0;bottom:0;left:0;z-index:999999}.dp__menu_disabled{background:#ffffff80;cursor:not-allowed}.dp__menu_readonly{background:#0000;cursor:default}.dp-menu-loading{background:#ffffff80;cursor:default}.dp--menu-load-container{display:flex;height:100%;width:100%;justify-content:center;align-items:center}.dp--menu-loader{width:48px;height:48px;border:var(--dp-loader);border-bottom-color:#0000;border-radius:50%;display:inline-block;box-sizing:border-box;animation:dp-load-rotation 1s linear infinite;position:absolute}@keyframes dp-load-rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dp__arrow_top{left:var(--dp-arrow-left);top:0;height:12px;width:12px;background-color:var(--dp-background-color);position:absolute;border-inline-end:1px solid var(--dp-menu-border-color);border-top:1px solid var(--dp-menu-border-color);transform:translate(-50%,-50%) rotate(-45deg)}.dp__arrow_bottom{left:var(--dp-arrow-left);bottom:0;height:12px;width:12px;background-color:var(--dp-background-color);position:absolute;border-inline-end:1px solid var(--dp-menu-border-color);border-bottom:1px solid var(--dp-menu-border-color);transform:translate(-50%,50%) rotate(45deg)}.dp__action_extra{text-align:center;padding:2px 0}.dp--preset-dates{padding:5px;border-inline-end:1px solid var(--dp-border-color)}@media only screen and (width <= 600px){.dp--preset-dates{display:flex;align-self:center;border:none;overflow-x:auto;max-width:calc(var(--dp-menu-width) - var(--dp-action-row-padding)*2)}}.dp--preset-dates-collapsed{display:flex;align-self:center;border:none;overflow-x:auto;max-width:calc(var(--dp-menu-width) - var(--dp-action-row-padding)*2)}.dp__sidebar_left{padding:5px;border-inline-end:1px solid var(--dp-border-color)}.dp__sidebar_right{padding:5px;margin-inline-end:1px solid var(--dp-border-color)}.dp--preset-range{display:block;width:100%;padding:5px;text-align:left;white-space:nowrap;color:var(--dp-text-color);border-radius:var(--dp-border-radius);transition:var(--dp-common-transition)}.dp--preset-range:hover{background-color:var(--dp-hover-color);color:var(--dp-hover-text-color);cursor:pointer}@media only screen and (width <= 600px){.dp--preset-range{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range:first-child{margin-left:0}.dp--preset-range:last-child{margin-right:0}}.dp--preset-range-collapsed{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range-collapsed:first-child{margin-left:0}.dp--preset-range-collapsed:last-child{margin-right:0}.dp__menu_content_wrapper{display:flex}@media only screen and (width <= 600px){.dp__menu_content_wrapper{flex-direction:column-reverse}}.dp--menu-content-wrapper-collapsed{flex-direction:column-reverse}.dp__calendar_header{position:relative;display:flex;justify-content:center;align-items:center;color:var(--dp-text-color);white-space:nowrap;font-weight:700}.dp__calendar_header_item{text-align:center;flex-grow:1;height:var(--dp-cell-size);padding:var(--dp-cell-padding);width:var(--dp-cell-size);box-sizing:border-box}.dp__calendar_row{display:flex;justify-content:center;align-items:center;margin:var(--dp-row-margin)}.dp__calendar_item{text-align:center;flex-grow:1;box-sizing:border-box;color:var(--dp-text-color)}.dp__calendar{position:relative}.dp__calendar_header_cell{border-bottom:thin solid var(--dp-border-color);padding:var(--dp-calendar-header-cell-padding)}.dp__cell_inner{display:flex;align-items:center;text-align:center;justify-content:center;border-radius:var(--dp-cell-border-radius);height:var(--dp-cell-size);padding:var(--dp-cell-padding);width:var(--dp-cell-size);border:1px solid rgba(0,0,0,0);box-sizing:border-box;position:relative}.dp__cell_inner:hover{transition:all .2s}.dp__cell_auto_range_start,.dp__date_hover_start:hover,.dp__range_start{border-end-end-radius:0;border-start-end-radius:0}.dp__cell_auto_range_end,.dp__date_hover_end:hover,.dp__range_end{border-end-start-radius:0;border-start-start-radius:0}.dp__range_end,.dp__range_start,.dp__active_date{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__date_hover_end:hover,.dp__date_hover_start:hover,.dp__date_hover:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__cell_offset{color:var(--dp-secondary-color)}.dp__cell_disabled{color:var(--dp-secondary-color);cursor:not-allowed}.dp__range_between{background:var(--dp-range-between-dates-background-color);color:var(--dp-range-between-dates-text-color);border-radius:0;border:1px solid var(--dp-range-between-border-color)}.dp__range_between_week{background:var(--dp-primary-color);color:var(--dp-primary-text-color);border-radius:0;border-top:1px solid var(--dp-primary-color);border-bottom:1px solid var(--dp-primary-color)}.dp__today{border:1px solid var(--dp-primary-color)}.dp__week_num{color:var(--dp-secondary-color);text-align:center}.dp__cell_auto_range{border-radius:0;border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color)}.dp__cell_auto_range_start{border-start-start-radius:var(--dp-cell-border-radius);border-end-start-radius:var(--dp-cell-border-radius);border-inline-start:1px dashed var(--dp-primary-color);border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color)}.dp__cell_auto_range_end{border-start-end-radius:var(--dp-cell-border-radius);border-end-end-radius:var(--dp-cell-border-radius);border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color);border-inline-end:1px dashed var(--dp-primary-color)}.dp__calendar_header_separator{width:100%;height:1px;background:var(--dp-border-color)}.dp__calendar_next{margin-inline-start:var(--dp-multi-calendars-spacing)}.dp__marker_line,.dp__marker_dot{height:5px;background-color:var(--dp-marker-color);position:absolute;bottom:0}.dp__marker_dot{width:5px;border-radius:50%;left:50%;transform:translate(-50%)}.dp__marker_line{width:100%;left:0}.dp__marker_tooltip{position:absolute;border-radius:var(--dp-border-radius);background-color:var(--dp-tooltip-color);padding:5px;border:1px solid var(--dp-border-color);z-index:99999;box-sizing:border-box;cursor:default}.dp__tooltip_content{white-space:nowrap}.dp__tooltip_text{display:flex;align-items:center;flex-flow:row nowrap;color:var(--dp-text-color)}.dp__tooltip_mark{height:5px;width:5px;border-radius:50%;background-color:var(--dp-text-color);color:var(--dp-text-color);margin-inline-end:5px}.dp__arrow_bottom_tp{bottom:0;height:8px;width:8px;background-color:var(--dp-tooltip-color);position:absolute;border-inline-end:1px solid var(--dp-border-color);border-bottom:1px solid var(--dp-border-color);transform:translate(-50%,50%) rotate(45deg)}.dp__instance_calendar{position:relative;width:100%}@media only screen and (width <= 600px){.dp__flex_display{flex-direction:column}}.dp--flex-display-collapsed{flex-direction:column}.dp__cell_highlight{background-color:var(--dp-highlight-color)}.dp__month_year_row{display:flex;align-items:center;height:var(--dp-month-year-row-height);color:var(--dp-text-color);box-sizing:border-box}.dp__inner_nav{display:flex;align-items:center;justify-content:center;cursor:pointer;height:var(--dp-month-year-row-button-size);width:var(--dp-month-year-row-button-size);color:var(--dp-icon-color);text-align:center;border-radius:50%}.dp__inner_nav svg{height:var(--dp-button-icon-height);width:var(--dp-button-icon-height)}.dp__inner_nav:hover{background:var(--dp-hover-color);color:var(--dp-hover-icon-color)}[dir=rtl] .dp__inner_nav{transform:rotate(180deg)}.dp__inner_nav_disabled:hover,.dp__inner_nav_disabled{background:var(--dp-disabled-color);color:var(--dp-disabled-color-text);cursor:not-allowed}.dp--year-select,.dp__month_year_select{text-align:center;cursor:pointer;height:var(--dp-month-year-row-height);display:flex;align-items:center;justify-content:center;border-radius:var(--dp-border-radius);box-sizing:border-box;color:var(--dp-text-color)}.dp--year-select:hover,.dp__month_year_select:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp__month_year_select{width:50%}.dp--year-select{width:100%}.dp__month_year_wrap{display:flex;flex-direction:row;width:100%}.dp__year_disable_select{justify-content:space-around}.dp--header-wrap{display:flex;width:100%;flex-direction:column}.dp__overlay{width:100%;background:var(--dp-background-color);transition:opacity 1s ease-out;z-index:99999;font-family:var(--dp-font-family);color:var(--dp-text-color);box-sizing:border-box}.dp--overlay-absolute{position:absolute;height:100%;top:0;left:0}.dp--overlay-relative{position:relative}.dp__overlay_container::-webkit-scrollbar-track{box-shadow:var(--dp-scroll-bar-background);background-color:var(--dp-scroll-bar-background)}.dp__overlay_container::-webkit-scrollbar{width:5px;background-color:var(--dp-scroll-bar-background)}.dp__overlay_container::-webkit-scrollbar-thumb{background-color:var(--dp-scroll-bar-color);border-radius:10px}.dp__overlay:focus{border:none;outline:none}.dp__container_flex{display:flex}.dp__container_block{display:block}.dp__overlay_container{flex-direction:column;overflow-y:auto;height:var(--dp-overlay-height)}.dp__time_picker_overlay_container{height:100%}.dp__overlay_row{padding:0;box-sizing:border-box;display:flex;margin-inline:auto auto;flex-wrap:wrap;max-width:100%;width:100%;align-items:center}.dp__flex_row{flex:1}.dp__overlay_col{box-sizing:border-box;width:33%;padding:var(--dp-overlay-col-padding);white-space:nowrap}.dp__overlay_cell_pad{padding:var(--dp-common-padding) 0}.dp__overlay_cell_active{cursor:pointer;border-radius:var(--dp-border-radius);text-align:center;background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__overlay_cell{cursor:pointer;border-radius:var(--dp-border-radius);text-align:center}.dp__overlay_cell:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp__cell_in_between{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__over_action_scroll{right:5px;box-sizing:border-box}.dp__overlay_cell_disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp__overlay_cell_disabled:hover{background:var(--dp-disabled-color)}.dp__overlay_cell_active_disabled{cursor:not-allowed;background:var(--dp-primary-disabled-color)}.dp__overlay_cell_active_disabled:hover{background:var(--dp-primary-disabled-color)}.dp__btn,.dp--qr-btn,.dp--time-invalid,.dp--time-overlay-btn{border:none;font:inherit;transition:var(--dp-common-transition);line-height:normal}.dp--tp-wrap{max-width:var(--dp-menu-min-width)}.dp__time_input{width:100%;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;font-family:var(--dp-font-family);color:var(--dp-text-color)}.dp__time_col_reg_block{padding:0 20px}.dp__time_col_reg_inline{padding:0 10px}.dp__time_col_reg_with_button{padding:0 15px}.dp__time_col_sec{padding:0 10px}.dp__time_col_sec_with_button{padding:0 5px}.dp__time_col{text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.dp__time_col_block{font-size:var(--dp-time-font-size)}.dp__time_display_block{padding:0 3px}.dp__time_display_inline{padding:5px}.dp__time_picker_inline_container{display:flex;width:100%;justify-content:center}.dp__inc_dec_button{padding:5px;margin:0;height:var(--dp-time-inc-dec-button-size);width:var(--dp-time-inc-dec-button-size);display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%;color:var(--dp-icon-color);box-sizing:border-box}.dp__inc_dec_button svg{height:var(--dp-time-inc-dec-button-size);width:var(--dp-time-inc-dec-button-size)}.dp__inc_dec_button:hover{background:var(--dp-hover-color);color:var(--dp-primary-color)}.dp__time_display{cursor:pointer;color:var(--dp-text-color);border-radius:var(--dp-border-radius);display:flex;align-items:center;justify-content:center}.dp__time_display:hover:enabled{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__inc_dec_button_inline{width:100%;padding:0;height:8px;cursor:pointer;display:flex;align-items:center}.dp__inc_dec_button_disabled,.dp__inc_dec_button_disabled:hover{background:var(--dp-disabled-color);color:var(--dp-disabled-color-text);cursor:not-allowed}.dp__pm_am_button{background:var(--dp-primary-color);color:var(--dp-primary-text-color);border:none;padding:var(--dp-common-padding);border-radius:var(--dp-border-radius);cursor:pointer}.dp__tp_inline_btn_bar{width:100%;height:4px;background-color:var(--dp-secondary-color);transition:var(--dp-common-transition);border-collapse:collapse}.dp__tp_inline_btn_top:hover .dp__tp_btn_in_r{background-color:var(--dp-primary-color);transform:rotate(12deg) scale(1.15) translateY(-2px)}.dp__tp_inline_btn_top:hover .dp__tp_btn_in_l,.dp__tp_inline_btn_bottom:hover .dp__tp_btn_in_r{background-color:var(--dp-primary-color);transform:rotate(-12deg) scale(1.15) translateY(-2px)}.dp__tp_inline_btn_bottom:hover .dp__tp_btn_in_l{background-color:var(--dp-primary-color);transform:rotate(12deg) scale(1.15) translateY(-2px)}.dp--time-overlay-btn{background:none}.dp--time-invalid{background-color:var(--dp-disabled-color)}.dp__action_row{display:flex;align-items:center;width:100%;padding:var(--dp-action-row-padding);box-sizing:border-box;color:var(--dp-text-color);flex-flow:row nowrap}.dp__action_row svg{height:var(--dp-button-icon-height);width:auto}.dp__selection_preview{display:block;color:var(--dp-text-color);font-size:var(--dp-preview-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dp__action_buttons{display:flex;flex:0;white-space:nowrap;align-items:center;justify-content:flex-end;margin-inline-start:auto}.dp__action_button{display:inline-flex;align-items:center;background:#0000;border:1px solid rgba(0,0,0,0);padding:var(--dp-action-buttons-padding);line-height:var(--dp-action-button-height);margin-inline-start:3px;height:var(--dp-action-button-height);cursor:pointer;border-radius:var(--dp-border-radius);font-size:var(--dp-preview-font-size);font-family:var(--dp-font-family)}.dp__action_cancel{color:var(--dp-text-color);border:1px solid var(--dp-border-color)}.dp__action_cancel:hover{border-color:var(--dp-primary-color);transition:var(--dp-action-row-transtion)}.dp__action_buttons .dp__action_select{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__action_buttons .dp__action_select:hover{background:var(--dp-primary-color);transition:var(--dp-action-row-transtion)}.dp__action_buttons .dp__action_select:disabled{background:var(--dp-primary-disabled-color);cursor:not-allowed}.dp-quarter-picker-wrap{display:flex;flex-direction:column;height:100%;min-width:var(--dp-menu-min-width)}.dp--qr-btn-disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp--qr-btn-disabled:hover{background:var(--dp-disabled-color)}.dp--qr-btn{width:100%;padding:var(--dp-common-padding)}.dp--qr-btn:not(.dp--highlighted,.dp--qr-btn-active,.dp--qr-btn-disabled,.dp--qr-btn-between){background:none}.dp--qr-btn:hover:not(.dp--qr-btn-active,.dp--qr-btn-disabled){background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp--quarter-items{display:flex;flex-direction:column;flex:1;width:100%;height:100%;justify-content:space-evenly}.dp--qr-btn-active{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp--qr-btn-between{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__btn,.dp--time-overlay-btn,.dp--time-invalid,.dp--qr-btn{border:none;font:inherit;transition:var(--dp-common-transition);line-height:normal}.dp--year-mode-picker{display:flex;width:100%;align-items:center;justify-content:space-between;height:var(--dp-cell-size)}:root{--dp-common-transition: all .1s ease-in;--dp-menu-padding: 6px 8px;--dp-animation-duration: .1s;--dp-menu-appear-transition-timing: cubic-bezier(.4, 0, 1, 1);--dp-transition-timing: ease-out;--dp-action-row-transtion: all .2s ease-in;--dp-font-family: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Open Sans", "Helvetica Neue", sans-serif;--dp-border-radius: 4px;--dp-cell-border-radius: 4px;--dp-transition-length: 22px;--dp-transition-timing-general: .1s;--dp-button-height: 35px;--dp-month-year-row-height: 35px;--dp-month-year-row-button-size: 25px;--dp-button-icon-height: 20px;--dp-calendar-wrap-padding: 0 5px;--dp-cell-size: 35px;--dp-cell-padding: 5px;--dp-common-padding: 10px;--dp-input-icon-padding: 35px;--dp-input-padding: 6px 30px 6px 12px;--dp-menu-min-width: 260px;--dp-action-buttons-padding: 1px 6px;--dp-row-margin: 5px 0;--dp-calendar-header-cell-padding: .5rem;--dp-multi-calendars-spacing: 10px;--dp-overlay-col-padding: 3px;--dp-time-inc-dec-button-size: 32px;--dp-font-size: 1rem;--dp-preview-font-size: .8rem;--dp-time-font-size: 2rem;--dp-action-button-height: 22px;--dp-action-row-padding: 8px;--dp-direction: ltr}.dp__theme_dark{--dp-background-color: #212121;--dp-text-color: #fff;--dp-hover-color: #484848;--dp-hover-text-color: #fff;--dp-hover-icon-color: #959595;--dp-primary-color: #005cb2;--dp-primary-disabled-color: #61a8ea;--dp-primary-text-color: #fff;--dp-secondary-color: #a9a9a9;--dp-border-color: #2d2d2d;--dp-menu-border-color: #2d2d2d;--dp-border-color-hover: #aaaeb7;--dp-border-color-focus: #aaaeb7;--dp-disabled-color: #737373;--dp-disabled-color-text: #d0d0d0;--dp-scroll-bar-background: #212121;--dp-scroll-bar-color: #484848;--dp-success-color: #00701a;--dp-success-color-disabled: #428f59;--dp-icon-color: #959595;--dp-danger-color: #e53935;--dp-marker-color: #e53935;--dp-tooltip-color: #3e3e3e;--dp-highlight-color: rgb(0 92 178 / 20%);--dp-range-between-dates-background-color: var(--dp-hover-color, #484848);--dp-range-between-dates-text-color: var(--dp-hover-text-color, #fff);--dp-range-between-border-color: var(--dp-hover-color, #fff);--dp-loader: 5px solid #005cb2}.dp__theme_light{--dp-background-color: #fff;--dp-text-color: #212121;--dp-hover-color: #f3f3f3;--dp-hover-text-color: #212121;--dp-hover-icon-color: #959595;--dp-primary-color: #1976d2;--dp-primary-disabled-color: #6bacea;--dp-primary-text-color: #fff;--dp-secondary-color: #c0c4cc;--dp-border-color: #ddd;--dp-menu-border-color: #ddd;--dp-border-color-hover: #aaaeb7;--dp-border-color-focus: #aaaeb7;--dp-disabled-color: #f6f6f6;--dp-scroll-bar-background: #f3f3f3;--dp-scroll-bar-color: #959595;--dp-success-color: #76d275;--dp-success-color-disabled: #a3d9b1;--dp-icon-color: #959595;--dp-danger-color: #ff6f60;--dp-marker-color: #ff6f60;--dp-tooltip-color: #fafafa;--dp-disabled-color-text: #8e8e8e;--dp-highlight-color: rgb(25 118 210 / 10%);--dp-range-between-dates-background-color: var(--dp-hover-color, #f3f3f3);--dp-range-between-dates-text-color: var(--dp-hover-text-color, #212121);--dp-range-between-border-color: var(--dp-hover-color, #f3f3f3);--dp-loader: 5px solid #1976d2}.dp__flex{display:flex;align-items:center}.dp__btn{background:none}.dp__main{font-family:var(--dp-font-family);-webkit-user-select:none;user-select:none;box-sizing:border-box;position:relative;width:100%}.dp__main *{direction:var(--dp-direction, ltr)}.dp__pointer{cursor:pointer}.dp__icon{stroke:currentcolor;fill:currentcolor}.dp__button{width:100%;text-align:center;color:var(--dp-icon-color);cursor:pointer;display:flex;align-items:center;place-content:center center;padding:var(--dp-common-padding);box-sizing:border-box;height:var(--dp-button-height)}.dp__button.dp__overlay_action{position:absolute;bottom:0}.dp__button:hover{background:var(--dp-hover-color);color:var(--dp-hover-icon-color)}.dp__button svg{height:var(--dp-button-icon-height);width:auto}.dp__button_bottom{border-bottom-left-radius:var(--dp-border-radius);border-bottom-right-radius:var(--dp-border-radius)}.dp__flex_display{display:flex}.dp__flex_display_with_input{flex-direction:column;align-items:flex-start}.dp__relative{position:relative}.calendar-next-enter-active,.calendar-next-leave-active,.calendar-prev-enter-active,.calendar-prev-leave-active{transition:all var(--dp-transition-timing-general) ease-out}.calendar-next-enter-from{opacity:0;transform:translate(var(--dp-transition-length))}.calendar-next-leave-to,.calendar-prev-enter-from{opacity:0;transform:translate(calc(var(--dp-transition-length) * -1))}.calendar-prev-leave-to{opacity:0;transform:translate(var(--dp-transition-length))}.dp-menu-appear-bottom-enter-active,.dp-menu-appear-bottom-leave-active,.dp-menu-appear-top-enter-active,.dp-menu-appear-top-leave-active,.dp-slide-up-enter-active,.dp-slide-up-leave-active,.dp-slide-down-enter-active,.dp-slide-down-leave-active{transition:all var(--dp-animation-duration) var(--dp-transition-timing)}.dp-menu-appear-top-enter-from,.dp-menu-appear-top-leave-to,.dp-slide-down-leave-to,.dp-slide-up-enter-from{opacity:0;transform:translateY(var(--dp-transition-length))}.dp-menu-appear-bottom-enter-from,.dp-menu-appear-bottom-leave-to,.dp-slide-down-enter-from,.dp-slide-up-leave-to{opacity:0;transform:translateY(calc(var(--dp-transition-length) * -1))}.dp--arrow-btn-nav{transition:var(--dp-common-transition)}.dp--highlighted{background-color:var(--dp-highlight-color)}.dp--hidden-el{visibility:hidden}.messageCentre[data-v-54755a4a]{top:calc(50px + 1rem);right:1rem}.apiKey-move[data-v-a1e137c9],.apiKey-enter-active[data-v-a1e137c9],.apiKey-leave-active[data-v-a1e137c9]{transition:all .5s ease}.apiKey-enter-from[data-v-a1e137c9],.apiKey-leave-to[data-v-a1e137c9]{opacity:0;transform:translateY(30px) scale(.9)}.apiKey-leave-active[data-v-a1e137c9]{position:absolute;width:100%}.animation__fadeInDropdown[data-v-84cd1594]{animation-name:fadeInDropdown-84cd1594;animation-duration:.2s;animation-timing-function:cubic-bezier(.82,.58,.17,.9)}@keyframes fadeInDropdown-84cd1594{0%{opacity:0;filter:blur(3px);transform:translateY(-60px)}to{opacity:1;filter:blur(0px);transform:translateY(-40px)}}/*! * animate.css - https://animate.style/ * Version - 4.1.1 * Licensed under the MIT license - http://opensource.org/licenses/MIT * * Copyright (c) 2020 Animate.css - */:root{--animate-duration: 1s;--animate-delay: 1s;--animate-repeat: 1}.animate__animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animate__animated.animate__infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animate__animated.animate__repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animate__animated.animate__repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 2);animation-iteration-count:calc(var(--animate-repeat) * 2)}.animate__animated.animate__repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 3);animation-iteration-count:calc(var(--animate-repeat) * 3)}.animate__animated.animate__delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animate__animated.animate__delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay) * 2);animation-delay:calc(var(--animate-delay) * 2)}.animate__animated.animate__delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay) * 3);animation-delay:calc(var(--animate-delay) * 3)}.animate__animated.animate__delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay) * 4);animation-delay:calc(var(--animate-delay) * 4)}.animate__animated.animate__delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay) * 5);animation-delay:calc(var(--animate-delay) * 5)}.animate__animated.animate__faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration) / 2);animation-duration:calc(var(--animate-duration) / 2)}.animate__animated.animate__fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration) * .8);animation-duration:calc(var(--animate-duration) * .8)}.animate__animated.animate__slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2)}.animate__animated.animate__slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration) * 3);animation-duration:calc(var(--animate-duration) * 3)}@media print,(prefers-reduced-motion: reduce){.animate__animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animate__animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.animate__bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.animate__flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.animate__shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.animate__shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}@-webkit-keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}.animate__headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}.animate__swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.animate__jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}.animate__heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration) * 1.3);animation-duration:calc(var(--animate-duration) * 1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.animate__backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.animate__backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.animate__backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.animate__backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.animate__bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceOut;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}.animate__bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}.animate__bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}.animate__bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}.animate__bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.animate__fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.animate__fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.animate__fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.animate__fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.animate__fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.animate__fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.animate__fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.animate__fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.animate__fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.animate__fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animate__animated.animate__flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.animate__flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.animate__flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}.animate__lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}.animate__lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.animate__rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}.animate__rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.animate__rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.animate__hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}@-webkit-keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate__jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.animate__rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.animate__zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.animate__zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}.animate__zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}.animate__zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}.dropdown-menu[data-v-efcc2294]{right:1rem;min-width:200px}.dropdown-item.disabled[data-v-efcc2294],.dropdown-item[data-v-efcc2294]:disabled{opacity:.7}.slide-fade-leave-active[data-v-f0f04ed4],.slide-fade-enter-active[data-v-f0f04ed4]{transition:all .2s cubic-bezier(.82,.58,.17,.9)}.slide-fade-enter-from[data-v-f0f04ed4],.slide-fade-leave-to[data-v-f0f04ed4]{transform:translateY(20px);opacity:0;filter:blur(3px)}.subMenuBtn.active[data-v-f0f04ed4]{background-color:#ffffff20}.peerCard[data-v-f0f04ed4]{transition:box-shadow .1s cubic-bezier(.82,.58,.17,.9)}.peerCard[data-v-f0f04ed4]:hover{box-shadow:var(--bs-box-shadow)!important}.toggleShowKey[data-v-55ffd43e]{position:absolute;top:35px;right:12px}.list-move[data-v-99ae26e7],.list-enter-active[data-v-99ae26e7],.list-leave-active[data-v-99ae26e7]{transition:all .3s ease}.list-enter-from[data-v-99ae26e7],.list-leave-to[data-v-99ae26e7]{opacity:0;transform:translateY(10px)}.list-leave-active[data-v-99ae26e7]{position:absolute}.peerSettingContainer[data-v-c3292318]{background-color:#00000060;z-index:9998}div[data-v-c3292318]{transition:.2s ease-in-out}.inactiveField[data-v-c3292318]{opacity:.4}.card[data-v-c3292318]{max-height:100%}.btn.disabled[data-v-6a5aba2a]{opacity:1;background-color:#0d6efd17;border-color:transparent}[data-v-decfcc69]{font-size:.875rem}input[data-v-decfcc69]{padding:.1rem .4rem}input[data-v-decfcc69]:disabled{border-color:transparent;background-color:#0d6efd17;color:#0d6efd}.schedulePeerJobTransition-move[data-v-31a1606a],.schedulePeerJobTransition-enter-active[data-v-31a1606a],.schedulePeerJobTransition-leave-active[data-v-31a1606a]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.schedulePeerJobTransition-enter-from[data-v-31a1606a],.schedulePeerJobTransition-leave-to[data-v-31a1606a]{opacity:0;transform:scale(.9)}.schedulePeerJobTransition-leave-active[data-v-31a1606a]{position:absolute;width:100%}.peerNav .nav-link[data-v-4f6e612a].active[data-v-4f6e612a]{//background: linear-gradient(var(--degree),var(--brandColor1) var(--distance2),var(--brandColor2) 100%);//color: white;background-color:#efefef}.pingPlaceholder[data-v-875f5a3c]{width:100%;height:79.98px}.ping-move[data-v-875f5a3c],.ping-enter-active[data-v-875f5a3c],.ping-leave-active[data-v-875f5a3c]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.ping-enter-from[data-v-875f5a3c],.ping-leave-to[data-v-875f5a3c]{opacity:0;//transform: scale(.9)}.ping-leave-active[data-v-875f5a3c]{position:absolute}.pingPlaceholder[data-v-dda37ccf]{width:100%;height:40px}.ping-move[data-v-dda37ccf],.ping-enter-active[data-v-dda37ccf],.ping-leave-active[data-v-dda37ccf]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.ping-enter-from[data-v-dda37ccf],.ping-leave-to[data-v-dda37ccf]{opacity:0;//transform: scale(.9)}.ping-leave-active[data-v-dda37ccf]{position:absolute}table th[data-v-dda37ccf],table td[data-v-dda37ccf]{padding:.9rem}table tbody[data-v-dda37ccf]{border-top:1em solid transparent}.table[data-v-dda37ccf]>:not(caption)>*>*{background-color:transparent!important}.app-enter-active[data-v-ee3f3bad],.app-leave-active[data-v-ee3f3bad]{transition:all .3s ease-in-out}.app-enter-from[data-v-ee3f3bad],.app-leave-to[data-v-ee3f3bad]{transform:translate(-30px);opacity:0} + */:root{--animate-duration: 1s;--animate-delay: 1s;--animate-repeat: 1}.animate__animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animate__animated.animate__infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animate__animated.animate__repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animate__animated.animate__repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 2);animation-iteration-count:calc(var(--animate-repeat) * 2)}.animate__animated.animate__repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 3);animation-iteration-count:calc(var(--animate-repeat) * 3)}.animate__animated.animate__delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animate__animated.animate__delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay) * 2);animation-delay:calc(var(--animate-delay) * 2)}.animate__animated.animate__delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay) * 3);animation-delay:calc(var(--animate-delay) * 3)}.animate__animated.animate__delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay) * 4);animation-delay:calc(var(--animate-delay) * 4)}.animate__animated.animate__delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay) * 5);animation-delay:calc(var(--animate-delay) * 5)}.animate__animated.animate__faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration) / 2);animation-duration:calc(var(--animate-duration) / 2)}.animate__animated.animate__fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration) * .8);animation-duration:calc(var(--animate-duration) * .8)}.animate__animated.animate__slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2)}.animate__animated.animate__slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration) * 3);animation-duration:calc(var(--animate-duration) * 3)}@media print,(prefers-reduced-motion: reduce){.animate__animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animate__animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.animate__bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.animate__flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.animate__shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.animate__shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}@-webkit-keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}.animate__headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}.animate__swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.animate__jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}.animate__heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration) * 1.3);animation-duration:calc(var(--animate-duration) * 1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.animate__backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.animate__backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.animate__backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.animate__backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.animate__bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceOut;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}.animate__bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}.animate__bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}.animate__bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}.animate__bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.animate__fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.animate__fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.animate__fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.animate__fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.animate__fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.animate__fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.animate__fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.animate__fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.animate__fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.animate__fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animate__animated.animate__flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.animate__flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.animate__flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}.animate__lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}.animate__lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.animate__rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}.animate__rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.animate__rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.animate__hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}@-webkit-keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate__jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.animate__rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.animate__zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.animate__zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}.animate__zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}.animate__zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}.dropdown-menu[data-v-772e5b77]{right:1rem;min-width:200px}.dropdown-item.disabled[data-v-772e5b77],.dropdown-item[data-v-772e5b77]:disabled{opacity:.7}.slide-fade-leave-active[data-v-f311ec95],.slide-fade-enter-active[data-v-f311ec95]{transition:all .2s cubic-bezier(.82,.58,.17,.9)}.slide-fade-enter-from[data-v-f311ec95],.slide-fade-leave-to[data-v-f311ec95]{transform:translateY(20px);opacity:0;filter:blur(3px)}.subMenuBtn.active[data-v-f311ec95]{background-color:#ffffff20}.peerCard[data-v-f311ec95]{transition:box-shadow .1s cubic-bezier(.82,.58,.17,.9)}.peerCard[data-v-f311ec95]:hover{box-shadow:var(--bs-box-shadow)!important}.toggleShowKey[data-v-5c34b056]{position:absolute;top:35px;right:12px}.list-move[data-v-2af3b91a],.list-enter-active[data-v-2af3b91a],.list-leave-active[data-v-2af3b91a]{transition:all .3s ease}.list-enter-from[data-v-2af3b91a],.list-leave-to[data-v-2af3b91a]{opacity:0;transform:translateY(10px)}.list-leave-active[data-v-2af3b91a]{position:absolute}.peerSettingContainer[data-v-c3292318]{background-color:#00000060;z-index:9998}div[data-v-c3292318]{transition:.2s ease-in-out}.inactiveField[data-v-c3292318]{opacity:.4}.card[data-v-c3292318]{max-height:100%}.btn.disabled[data-v-6a5aba2a]{opacity:1;background-color:#0d6efd17;border-color:transparent}[data-v-811b149e]{font-size:.875rem}input[data-v-811b149e]{padding:.1rem .4rem}input[data-v-811b149e]:disabled{border-color:transparent;background-color:#0d6efd17;color:#0d6efd}.dp__main[data-v-811b149e]{width:auto;flex-grow:1;--dp-input-padding: 2.5px 30px 2.5px 12px;--dp-border-radius: .5rem}.schedulePeerJobTransition-move[data-v-31a1606a],.schedulePeerJobTransition-enter-active[data-v-31a1606a],.schedulePeerJobTransition-leave-active[data-v-31a1606a]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.schedulePeerJobTransition-enter-from[data-v-31a1606a],.schedulePeerJobTransition-leave-to[data-v-31a1606a]{opacity:0;transform:scale(.9)}.schedulePeerJobTransition-leave-active[data-v-31a1606a]{position:absolute;width:100%}.peerNav .nav-link[data-v-2a3b3231].active[data-v-2a3b3231]{//background: linear-gradient(var(--degree),var(--brandColor1) var(--distance2),var(--brandColor2) 100%);//color: white;background-color:#efefef}.pingPlaceholder[data-v-875f5a3c]{width:100%;height:79.98px}.ping-move[data-v-875f5a3c],.ping-enter-active[data-v-875f5a3c],.ping-leave-active[data-v-875f5a3c]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.ping-enter-from[data-v-875f5a3c],.ping-leave-to[data-v-875f5a3c]{opacity:0;//transform: scale(.9)}.ping-leave-active[data-v-875f5a3c]{position:absolute}.pingPlaceholder[data-v-dda37ccf]{width:100%;height:40px}.ping-move[data-v-dda37ccf],.ping-enter-active[data-v-dda37ccf],.ping-leave-active[data-v-dda37ccf]{transition:all .4s cubic-bezier(.82,.58,.17,.9)}.ping-enter-from[data-v-dda37ccf],.ping-leave-to[data-v-dda37ccf]{opacity:0;//transform: scale(.9)}.ping-leave-active[data-v-dda37ccf]{position:absolute}table th[data-v-dda37ccf],table td[data-v-dda37ccf]{padding:.9rem}table tbody[data-v-dda37ccf]{border-top:1em solid transparent}.table[data-v-dda37ccf]>:not(caption)>*>*{background-color:transparent!important}.animate__fadeInUp[data-v-99d4b06a]{animation-timing-function:cubic-bezier(.42,0,.22,1)}.app-enter-active[data-v-cd76caca],.app-leave-active[data-v-cd76caca]{transition:all .3s cubic-bezier(.82,.58,.17,.9)}.app-enter-from[data-v-cd76caca]{transform:translateY(20px);opacity:0}.app-leave-to[data-v-cd76caca]{transform:translateY(-20px);opacity:0} diff --git a/src/static/app/dist/assets/index.js b/src/static/app/dist/assets/index.js index df358b7..2753aa8 100644 --- a/src/static/app/dist/assets/index.js +++ b/src/static/app/dist/assets/index.js @@ -1,68 +1,68 @@ -var b1=Object.defineProperty;var v1=(e,t,s)=>t in e?b1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var ot=(e,t,s)=>(v1(e,typeof t!="symbol"?t+"":t,s),s);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const r of o.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function s(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 n(i){if(i.ep)return;i.ep=!0;const o=s(i);fetch(i.href,o)}})();var Zp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function y1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function x1(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var s=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};s.prototype=t.prototype}else s={};return Object.defineProperty(s,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(s,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),s}var w1={exports:{}},Ee="top",Ne="bottom",Fe="right",Ae="left",Ba="auto",Xi=[Ee,Ne,Fe,Ae],ei="start",Mi="end",tg="clippingParents",sd="viewport",xi="popper",eg="reference",dc=Xi.reduce(function(e,t){return e.concat([t+"-"+ei,t+"-"+Mi])},[]),nd=[].concat(Xi,[Ba]).reduce(function(e,t){return e.concat([t,t+"-"+ei,t+"-"+Mi])},[]),sg="beforeRead",ng="read",ig="afterRead",og="beforeMain",rg="main",ag="afterMain",lg="beforeWrite",cg="write",dg="afterWrite",ug=[sg,ng,ig,og,rg,ag,lg,cg,dg];function ws(e){return e?(e.nodeName||"").toLowerCase():null}function Be(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function si(e){var t=Be(e).Element;return e instanceof t||e instanceof Element}function Ze(e){var t=Be(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function id(e){if(typeof ShadowRoot>"u")return!1;var t=Be(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function S1(e){var t=e.state;Object.keys(t.elements).forEach(function(s){var n=t.styles[s]||{},i=t.attributes[s]||{},o=t.elements[s];!Ze(o)||!ws(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(r){var a=i[r];a===!1?o.removeAttribute(r):o.setAttribute(r,a===!0?"":a)}))})}function E1(e){var t=e.state,s={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,s.popper),t.styles=s,t.elements.arrow&&Object.assign(t.elements.arrow.style,s.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],o=t.attributes[n]||{},r=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:s[n]),a=r.reduce(function(l,c){return l[c]="",l},{});!Ze(i)||!ws(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const od={name:"applyStyles",enabled:!0,phase:"write",fn:S1,effect:E1,requires:["computeStyles"]};function bs(e){return e.split("-")[0]}var qn=Math.max,ba=Math.min,Di=Math.round;function uc(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function hg(){return!/^((?!chrome|android).)*safari/i.test(uc())}function Ii(e,t,s){t===void 0&&(t=!1),s===void 0&&(s=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&Ze(e)&&(i=e.offsetWidth>0&&Di(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Di(n.height)/e.offsetHeight||1);var r=si(e)?Be(e):window,a=r.visualViewport,l=!hg()&&s,c=(n.left+(l&&a?a.offsetLeft:0))/i,d=(n.top+(l&&a?a.offsetTop:0))/o,h=n.width/i,p=n.height/o;return{width:h,height:p,top:d,right:c+h,bottom:d+p,left:c,x:c,y:d}}function rd(e){var t=Ii(e),s=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-s)<=1&&(s=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:s,height:n}}function fg(e,t){var s=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(s&&id(s)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Vs(e){return Be(e).getComputedStyle(e)}function A1(e){return["table","td","th"].indexOf(ws(e))>=0}function wn(e){return((si(e)?e.ownerDocument:e.document)||window.document).documentElement}function Va(e){return ws(e)==="html"?e:e.assignedSlot||e.parentNode||(id(e)?e.host:null)||wn(e)}function nh(e){return!Ze(e)||Vs(e).position==="fixed"?null:e.offsetParent}function C1(e){var t=/firefox/i.test(uc()),s=/Trident/i.test(uc());if(s&&Ze(e)){var n=Vs(e);if(n.position==="fixed")return null}var i=Va(e);for(id(i)&&(i=i.host);Ze(i)&&["html","body"].indexOf(ws(i))<0;){var o=Vs(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 sr(e){for(var t=Be(e),s=nh(e);s&&A1(s)&&Vs(s).position==="static";)s=nh(s);return s&&(ws(s)==="html"||ws(s)==="body"&&Vs(s).position==="static")?t:s||C1(e)||t}function ad(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ao(e,t,s){return qn(e,ba(t,s))}function $1(e,t,s){var n=Ao(e,t,s);return n>s?s:n}function pg(){return{top:0,right:0,bottom:0,left:0}}function gg(e){return Object.assign({},pg(),e)}function mg(e,t){return t.reduce(function(s,n){return s[n]=e,s},{})}var P1=function(t,s){return t=typeof t=="function"?t(Object.assign({},s.rects,{placement:s.placement})):t,gg(typeof t!="number"?t:mg(t,Xi))};function k1(e){var t,s=e.state,n=e.name,i=e.options,o=s.elements.arrow,r=s.modifiersData.popperOffsets,a=bs(s.placement),l=ad(a),c=[Ae,Fe].indexOf(a)>=0,d=c?"height":"width";if(!(!o||!r)){var h=P1(i.padding,s),p=rd(o),g=l==="y"?Ee:Ae,m=l==="y"?Ne:Fe,_=s.rects.reference[d]+s.rects.reference[l]-r[l]-s.rects.popper[d],v=r[l]-s.rects.reference[l],w=sr(o),S=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,$=_/2-v/2,T=h[g],y=S-p[d]-h[m],x=S/2-p[d]/2+$,C=Ao(T,x,y),E=l;s.modifiersData[n]=(t={},t[E]=C,t.centerOffset=C-x,t)}}function T1(e){var t=e.state,s=e.options,n=s.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||fg(t.elements.popper,i)&&(t.elements.arrow=i))}const _g={name:"arrow",enabled:!0,phase:"main",fn:k1,effect:T1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Oi(e){return e.split("-")[1]}var M1={top:"auto",right:"auto",bottom:"auto",left:"auto"};function D1(e,t){var s=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:Di(s*i)/i||0,y:Di(n*i)/i||0}}function ih(e){var t,s=e.popper,n=e.popperRect,i=e.placement,o=e.variation,r=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,h=e.isFixed,p=r.x,g=p===void 0?0:p,m=r.y,_=m===void 0?0:m,v=typeof d=="function"?d({x:g,y:_}):{x:g,y:_};g=v.x,_=v.y;var w=r.hasOwnProperty("x"),S=r.hasOwnProperty("y"),$=Ae,T=Ee,y=window;if(c){var x=sr(s),C="clientHeight",E="clientWidth";if(x===Be(s)&&(x=wn(s),Vs(x).position!=="static"&&a==="absolute"&&(C="scrollHeight",E="scrollWidth")),x=x,i===Ee||(i===Ae||i===Fe)&&o===Mi){T=Ne;var P=h&&x===y&&y.visualViewport?y.visualViewport.height:x[C];_-=P-n.height,_*=l?1:-1}if(i===Ae||(i===Ee||i===Ne)&&o===Mi){$=Fe;var M=h&&x===y&&y.visualViewport?y.visualViewport.width:x[E];g-=M-n.width,g*=l?1:-1}}var L=Object.assign({position:a},c&&M1),F=d===!0?D1({x:g,y:_},Be(s)):{x:g,y:_};if(g=F.x,_=F.y,l){var Q;return Object.assign({},L,(Q={},Q[T]=S?"0":"",Q[$]=w?"0":"",Q.transform=(y.devicePixelRatio||1)<=1?"translate("+g+"px, "+_+"px)":"translate3d("+g+"px, "+_+"px, 0)",Q))}return Object.assign({},L,(t={},t[T]=S?_+"px":"",t[$]=w?g+"px":"",t.transform="",t))}function I1(e){var t=e.state,s=e.options,n=s.gpuAcceleration,i=n===void 0?!0:n,o=s.adaptive,r=o===void 0?!0:o,a=s.roundOffsets,l=a===void 0?!0:a,c={placement:bs(t.placement),variation:Oi(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,ih(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:r,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ih(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 ld={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:I1,data:{}};var Pr={passive:!0};function O1(e){var t=e.state,s=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,r=n.resize,a=r===void 0?!0:r,l=Be(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(d){d.addEventListener("scroll",s.update,Pr)}),a&&l.addEventListener("resize",s.update,Pr),function(){o&&c.forEach(function(d){d.removeEventListener("scroll",s.update,Pr)}),a&&l.removeEventListener("resize",s.update,Pr)}}const cd={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:O1,data:{}};var L1={left:"right",right:"left",bottom:"top",top:"bottom"};function ea(e){return e.replace(/left|right|bottom|top/g,function(t){return L1[t]})}var R1={start:"end",end:"start"};function oh(e){return e.replace(/start|end/g,function(t){return R1[t]})}function dd(e){var t=Be(e),s=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:s,scrollTop:n}}function ud(e){return Ii(wn(e)).left+dd(e).scrollLeft}function N1(e,t){var s=Be(e),n=wn(e),i=s.visualViewport,o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(i){o=i.width,r=i.height;var c=hg();(c||!c&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:r,x:a+ud(e),y:l}}function F1(e){var t,s=wn(e),n=dd(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=qn(s.scrollWidth,s.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),r=qn(s.scrollHeight,s.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-n.scrollLeft+ud(e),l=-n.scrollTop;return Vs(i||s).direction==="rtl"&&(a+=qn(s.clientWidth,i?i.clientWidth:0)-o),{width:o,height:r,x:a,y:l}}function hd(e){var t=Vs(e),s=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(s+i+n)}function bg(e){return["html","body","#document"].indexOf(ws(e))>=0?e.ownerDocument.body:Ze(e)&&hd(e)?e:bg(Va(e))}function Co(e,t){var s;t===void 0&&(t=[]);var n=bg(e),i=n===((s=e.ownerDocument)==null?void 0:s.body),o=Be(n),r=i?[o].concat(o.visualViewport||[],hd(n)?n:[]):n,a=t.concat(r);return i?a:a.concat(Co(Va(r)))}function hc(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function B1(e,t){var s=Ii(e,!1,t==="fixed");return s.top=s.top+e.clientTop,s.left=s.left+e.clientLeft,s.bottom=s.top+e.clientHeight,s.right=s.left+e.clientWidth,s.width=e.clientWidth,s.height=e.clientHeight,s.x=s.left,s.y=s.top,s}function rh(e,t,s){return t===sd?hc(N1(e,s)):si(t)?B1(t,s):hc(F1(wn(e)))}function V1(e){var t=Co(Va(e)),s=["absolute","fixed"].indexOf(Vs(e).position)>=0,n=s&&Ze(e)?sr(e):e;return si(n)?t.filter(function(i){return si(i)&&fg(i,n)&&ws(i)!=="body"}):[]}function j1(e,t,s,n){var i=t==="clippingParents"?V1(e):[].concat(t),o=[].concat(i,[s]),r=o[0],a=o.reduce(function(l,c){var d=rh(e,c,n);return l.top=qn(d.top,l.top),l.right=ba(d.right,l.right),l.bottom=ba(d.bottom,l.bottom),l.left=qn(d.left,l.left),l},rh(e,r,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function vg(e){var t=e.reference,s=e.element,n=e.placement,i=n?bs(n):null,o=n?Oi(n):null,r=t.x+t.width/2-s.width/2,a=t.y+t.height/2-s.height/2,l;switch(i){case Ee:l={x:r,y:t.y-s.height};break;case Ne:l={x:r,y:t.y+t.height};break;case Fe:l={x:t.x+t.width,y:a};break;case Ae:l={x:t.x-s.width,y:a};break;default:l={x:t.x,y:t.y}}var c=i?ad(i):null;if(c!=null){var d=c==="y"?"height":"width";switch(o){case ei:l[c]=l[c]-(t[d]/2-s[d]/2);break;case Mi:l[c]=l[c]+(t[d]/2-s[d]/2);break}}return l}function Li(e,t){t===void 0&&(t={});var s=t,n=s.placement,i=n===void 0?e.placement:n,o=s.strategy,r=o===void 0?e.strategy:o,a=s.boundary,l=a===void 0?tg:a,c=s.rootBoundary,d=c===void 0?sd:c,h=s.elementContext,p=h===void 0?xi:h,g=s.altBoundary,m=g===void 0?!1:g,_=s.padding,v=_===void 0?0:_,w=gg(typeof v!="number"?v:mg(v,Xi)),S=p===xi?eg:xi,$=e.rects.popper,T=e.elements[m?S:p],y=j1(si(T)?T:T.contextElement||wn(e.elements.popper),l,d,r),x=Ii(e.elements.reference),C=vg({reference:x,element:$,strategy:"absolute",placement:i}),E=hc(Object.assign({},$,C)),P=p===xi?E:x,M={top:y.top-P.top+w.top,bottom:P.bottom-y.bottom+w.bottom,left:y.left-P.left+w.left,right:P.right-y.right+w.right},L=e.modifiersData.offset;if(p===xi&&L){var F=L[i];Object.keys(M).forEach(function(Q){var G=[Fe,Ne].indexOf(Q)>=0?1:-1,H=[Ee,Ne].indexOf(Q)>=0?"y":"x";M[Q]+=F[H]*G})}return M}function H1(e,t){t===void 0&&(t={});var s=t,n=s.placement,i=s.boundary,o=s.rootBoundary,r=s.padding,a=s.flipVariations,l=s.allowedAutoPlacements,c=l===void 0?nd:l,d=Oi(n),h=d?a?dc:dc.filter(function(m){return Oi(m)===d}):Xi,p=h.filter(function(m){return c.indexOf(m)>=0});p.length===0&&(p=h);var g=p.reduce(function(m,_){return m[_]=Li(e,{placement:_,boundary:i,rootBoundary:o,padding:r})[bs(_)],m},{});return Object.keys(g).sort(function(m,_){return g[m]-g[_]})}function W1(e){if(bs(e)===Ba)return[];var t=ea(e);return[oh(e),t,oh(t)]}function z1(e){var t=e.state,s=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=s.mainAxis,o=i===void 0?!0:i,r=s.altAxis,a=r===void 0?!0:r,l=s.fallbackPlacements,c=s.padding,d=s.boundary,h=s.rootBoundary,p=s.altBoundary,g=s.flipVariations,m=g===void 0?!0:g,_=s.allowedAutoPlacements,v=t.options.placement,w=bs(v),S=w===v,$=l||(S||!m?[ea(v)]:W1(v)),T=[v].concat($).reduce(function(Pt,Bt){return Pt.concat(bs(Bt)===Ba?H1(t,{placement:Bt,boundary:d,rootBoundary:h,padding:c,flipVariations:m,allowedAutoPlacements:_}):Bt)},[]),y=t.rects.reference,x=t.rects.popper,C=new Map,E=!0,P=T[0],M=0;M=0,H=G?"width":"height",R=Li(t,{placement:L,boundary:d,rootBoundary:h,altBoundary:p,padding:c}),z=G?Q?Fe:Ae:Q?Ne:Ee;y[H]>x[H]&&(z=ea(z));var Y=ea(z),at=[];if(o&&at.push(R[F]<=0),a&&at.push(R[z]<=0,R[Y]<=0),at.every(function(Pt){return Pt})){P=L,E=!1;break}C.set(L,at)}if(E)for(var ht=m?3:1,vt=function(Bt){var kt=T.find(function(W){var st=C.get(W);if(st)return st.slice(0,Bt).every(function(tt){return tt})});if(kt)return P=kt,"break"},_t=ht;_t>0;_t--){var Dt=vt(_t);if(Dt==="break")break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}}const yg={name:"flip",enabled:!0,phase:"main",fn:z1,requiresIfExists:["offset"],data:{_skip:!1}};function ah(e,t,s){return s===void 0&&(s={x:0,y:0}),{top:e.top-t.height-s.y,right:e.right-t.width+s.x,bottom:e.bottom-t.height+s.y,left:e.left-t.width-s.x}}function lh(e){return[Ee,Fe,Ne,Ae].some(function(t){return e[t]>=0})}function K1(e){var t=e.state,s=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,r=Li(t,{elementContext:"reference"}),a=Li(t,{altBoundary:!0}),l=ah(r,n),c=ah(a,i,o),d=lh(l),h=lh(c);t.modifiersData[s]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const xg={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:K1};function U1(e,t,s){var n=bs(e),i=[Ae,Ee].indexOf(n)>=0?-1:1,o=typeof s=="function"?s(Object.assign({},t,{placement:e})):s,r=o[0],a=o[1];return r=r||0,a=(a||0)*i,[Ae,Fe].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}function Y1(e){var t=e.state,s=e.options,n=e.name,i=s.offset,o=i===void 0?[0,0]:i,r=nd.reduce(function(d,h){return d[h]=U1(h,t.rects,o),d},{}),a=r[t.placement],l=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=r}const wg={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Y1};function q1(e){var t=e.state,s=e.name;t.modifiersData[s]=vg({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const fd={name:"popperOffsets",enabled:!0,phase:"read",fn:q1,data:{}};function G1(e){return e==="x"?"y":"x"}function J1(e){var t=e.state,s=e.options,n=e.name,i=s.mainAxis,o=i===void 0?!0:i,r=s.altAxis,a=r===void 0?!1:r,l=s.boundary,c=s.rootBoundary,d=s.altBoundary,h=s.padding,p=s.tether,g=p===void 0?!0:p,m=s.tetherOffset,_=m===void 0?0:m,v=Li(t,{boundary:l,rootBoundary:c,padding:h,altBoundary:d}),w=bs(t.placement),S=Oi(t.placement),$=!S,T=ad(w),y=G1(T),x=t.modifiersData.popperOffsets,C=t.rects.reference,E=t.rects.popper,P=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,M=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(x){if(o){var Q,G=T==="y"?Ee:Ae,H=T==="y"?Ne:Fe,R=T==="y"?"height":"width",z=x[T],Y=z+v[G],at=z-v[H],ht=g?-E[R]/2:0,vt=S===ei?C[R]:E[R],_t=S===ei?-E[R]:-C[R],Dt=t.elements.arrow,Pt=g&&Dt?rd(Dt):{width:0,height:0},Bt=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:pg(),kt=Bt[G],W=Bt[H],st=Ao(0,C[R],Pt[R]),tt=$?C[R]/2-ht-st-kt-M.mainAxis:vt-st-kt-M.mainAxis,ct=$?-C[R]/2+ht+st+W+M.mainAxis:_t+st+W+M.mainAxis,j=t.elements.arrow&&sr(t.elements.arrow),Lt=j?T==="y"?j.clientTop||0:j.clientLeft||0:0,A=(Q=L==null?void 0:L[T])!=null?Q:0,I=z+tt-A-Lt,N=z+ct-A,q=Ao(g?ba(Y,I):Y,z,g?qn(at,N):at);x[T]=q,F[T]=q-z}if(a){var K,X=T==="x"?Ee:Ae,lt=T==="x"?Ne:Fe,V=x[y],Z=y==="y"?"height":"width",J=V+v[X],ut=V-v[lt],gt=[Ee,Ae].indexOf(w)!==-1,pt=(K=L==null?void 0:L[y])!=null?K:0,yt=gt?J:V-C[Z]-E[Z]-pt+M.altAxis,Ct=gt?V+C[Z]+E[Z]-pt-M.altAxis:ut,Wt=g&>?$1(yt,V,Ct):Ao(g?yt:J,V,g?Ct:ut);x[y]=Wt,F[y]=Wt-V}t.modifiersData[n]=F}}const Sg={name:"preventOverflow",enabled:!0,phase:"main",fn:J1,requiresIfExists:["offset"]};function X1(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Q1(e){return e===Be(e)||!Ze(e)?dd(e):X1(e)}function Z1(e){var t=e.getBoundingClientRect(),s=Di(t.width)/e.offsetWidth||1,n=Di(t.height)/e.offsetHeight||1;return s!==1||n!==1}function tx(e,t,s){s===void 0&&(s=!1);var n=Ze(t),i=Ze(t)&&Z1(t),o=wn(t),r=Ii(e,i,s),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!s)&&((ws(t)!=="body"||hd(o))&&(a=Q1(t)),Ze(t)?(l=Ii(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=ud(o))),{x:r.left+a.scrollLeft-l.x,y:r.top+a.scrollTop-l.y,width:r.width,height:r.height}}function ex(e){var t=new Map,s=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function i(o){s.add(o.name);var r=[].concat(o.requires||[],o.requiresIfExists||[]);r.forEach(function(a){if(!s.has(a)){var l=t.get(a);l&&i(l)}}),n.push(o)}return e.forEach(function(o){s.has(o.name)||i(o)}),n}function sx(e){var t=ex(e);return ug.reduce(function(s,n){return s.concat(t.filter(function(i){return i.phase===n}))},[])}function nx(e){var t;return function(){return t||(t=new Promise(function(s){Promise.resolve().then(function(){t=void 0,s(e())})})),t}}function ix(e){var t=e.reduce(function(s,n){var i=s[n.name];return s[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,s},{});return Object.keys(t).map(function(s){return t[s]})}var ch={placement:"bottom",modifiers:[],strategy:"absolute"};function dh(){for(var e=arguments.length,t=new Array(e),s=0;st in e?dS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var re=(e,t,n)=>(hS(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).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 s(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var hb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function pS(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function s(){return this instanceof s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var i=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,i.get?i:{enumerable:!0,get:function(){return e[s]}})}),n}var mS={exports:{}},_n="top",In="bottom",Rn="right",bn="left",jc="auto",Ia=[_n,In,Rn,bn],Ao="start",ua="end",fb="clippingParents",Ph="viewport",Zo="popper",pb="reference",Td=Ia.reduce(function(e,t){return e.concat([t+"-"+Ao,t+"-"+ua])},[]),Th=[].concat(Ia,[jc]).reduce(function(e,t){return e.concat([t,t+"-"+Ao,t+"-"+ua])},[]),mb="beforeRead",gb="read",_b="afterRead",bb="beforeMain",vb="main",yb="afterMain",wb="beforeWrite",xb="write",kb="afterWrite",Sb=[mb,gb,_b,bb,vb,yb,wb,xb,kb];function Ps(e){return e?(e.nodeName||"").toLowerCase():null}function Ln(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function $o(e){var t=Ln(e).Element;return e instanceof t||e instanceof Element}function Gn(e){var t=Ln(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Mh(e){if(typeof ShadowRoot>"u")return!1;var t=Ln(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function gS(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!Gn(o)||!Ps(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(a){var r=i[a];r===!1?o.removeAttribute(a):o.setAttribute(a,r===!0?"":r)}))})}function _S(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(s){var i=t.elements[s],o=t.attributes[s]||{},a=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),r=a.reduce(function(l,c){return l[c]="",l},{});!Gn(i)||!Ps(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const Dh={name:"applyStyles",enabled:!0,phase:"write",fn:gS,effect:_S,requires:["computeStyles"]};function $s(e){return e.split("-")[0]}var _o=Math.max,bc=Math.min,da=Math.round;function Md(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Ab(){return!/^((?!chrome|android).)*safari/i.test(Md())}function ha(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),i=1,o=1;t&&Gn(e)&&(i=e.offsetWidth>0&&da(s.width)/e.offsetWidth||1,o=e.offsetHeight>0&&da(s.height)/e.offsetHeight||1);var a=$o(e)?Ln(e):window,r=a.visualViewport,l=!Ab()&&n,c=(s.left+(l&&r?r.offsetLeft:0))/i,u=(s.top+(l&&r?r.offsetTop:0))/o,d=s.width/i,f=s.height/o;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c,x:c,y:u}}function Oh(e){var t=ha(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function $b(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Mh(n)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Xs(e){return Ln(e).getComputedStyle(e)}function bS(e){return["table","td","th"].indexOf(Ps(e))>=0}function Fi(e){return(($o(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wc(e){return Ps(e)==="html"?e:e.assignedSlot||e.parentNode||(Mh(e)?e.host:null)||Fi(e)}function Xp(e){return!Gn(e)||Xs(e).position==="fixed"?null:e.offsetParent}function vS(e){var t=/firefox/i.test(Md()),n=/Trident/i.test(Md());if(n&&Gn(e)){var s=Xs(e);if(s.position==="fixed")return null}var i=Wc(e);for(Mh(i)&&(i=i.host);Gn(i)&&["html","body"].indexOf(Ps(i))<0;){var o=Xs(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 Qr(e){for(var t=Ln(e),n=Xp(e);n&&bS(n)&&Xs(n).position==="static";)n=Xp(n);return n&&(Ps(n)==="html"||Ps(n)==="body"&&Xs(n).position==="static")?t:n||vS(e)||t}function Ih(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function dr(e,t,n){return _o(e,bc(t,n))}function yS(e,t,n){var s=dr(e,t,n);return s>n?n:s}function Eb(){return{top:0,right:0,bottom:0,left:0}}function Cb(e){return Object.assign({},Eb(),e)}function Pb(e,t){return t.reduce(function(n,s){return n[s]=e,n},{})}var wS=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Cb(typeof t!="number"?t:Pb(t,Ia))};function xS(e){var t,n=e.state,s=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,r=$s(n.placement),l=Ih(r),c=[bn,Rn].indexOf(r)>=0,u=c?"height":"width";if(!(!o||!a)){var d=wS(i.padding,n),f=Oh(o),p=l==="y"?_n:bn,g=l==="y"?In:Rn,_=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],v=a[l]-n.rects.reference[l],w=Qr(o),A=w?l==="y"?w.clientHeight||0:w.clientWidth||0:0,$=_/2-v/2,M=d[p],k=A-f[u]-d[g],y=A/2-f[u]/2+$,x=dr(M,y,k),E=l;n.modifiersData[s]=(t={},t[E]=x,t.centerOffset=x-y,t)}}function kS(e){var t=e.state,n=e.options,s=n.element,i=s===void 0?"[data-popper-arrow]":s;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||$b(t.elements.popper,i)&&(t.elements.arrow=i))}const Tb={name:"arrow",enabled:!0,phase:"main",fn:xS,effect:kS,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function fa(e){return e.split("-")[1]}var SS={top:"auto",right:"auto",bottom:"auto",left:"auto"};function AS(e,t){var n=e.x,s=e.y,i=t.devicePixelRatio||1;return{x:da(n*i)/i||0,y:da(s*i)/i||0}}function Qp(e){var t,n=e.popper,s=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,r=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,p=f===void 0?0:f,g=a.y,_=g===void 0?0:g,v=typeof u=="function"?u({x:p,y:_}):{x:p,y:_};p=v.x,_=v.y;var w=a.hasOwnProperty("x"),A=a.hasOwnProperty("y"),$=bn,M=_n,k=window;if(c){var y=Qr(n),x="clientHeight",E="clientWidth";if(y===Ln(n)&&(y=Fi(n),Xs(y).position!=="static"&&r==="absolute"&&(x="scrollHeight",E="scrollWidth")),y=y,i===_n||(i===bn||i===Rn)&&o===ua){M=In;var P=d&&y===k&&k.visualViewport?k.visualViewport.height:y[x];_-=P-s.height,_*=l?1:-1}if(i===bn||(i===_n||i===In)&&o===ua){$=Rn;var C=d&&y===k&&k.visualViewport?k.visualViewport.width:y[E];p-=C-s.width,p*=l?1:-1}}var F=Object.assign({position:r},c&&SS),G=u===!0?AS({x:p,y:_},Ln(n)):{x:p,y:_};if(p=G.x,_=G.y,l){var ae;return Object.assign({},F,(ae={},ae[M]=A?"0":"",ae[$]=w?"0":"",ae.transform=(k.devicePixelRatio||1)<=1?"translate("+p+"px, "+_+"px)":"translate3d("+p+"px, "+_+"px, 0)",ae))}return Object.assign({},F,(t={},t[M]=A?_+"px":"",t[$]=w?p+"px":"",t.transform="",t))}function $S(e){var t=e.state,n=e.options,s=n.gpuAcceleration,i=s===void 0?!0:s,o=n.adaptive,a=o===void 0?!0:o,r=n.roundOffsets,l=r===void 0?!0:r,c={placement:$s(t.placement),variation:fa(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,Qp(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Qp(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 Rh={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$S,data:{}};var Sl={passive:!0};function ES(e){var t=e.state,n=e.instance,s=e.options,i=s.scroll,o=i===void 0?!0:i,a=s.resize,r=a===void 0?!0:a,l=Ln(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(u){u.addEventListener("scroll",n.update,Sl)}),r&&l.addEventListener("resize",n.update,Sl),function(){o&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Sl)}),r&&l.removeEventListener("resize",n.update,Sl)}}const Lh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ES,data:{}};var CS={left:"right",right:"left",bottom:"top",top:"bottom"};function ec(e){return e.replace(/left|right|bottom|top/g,function(t){return CS[t]})}var PS={start:"end",end:"start"};function Zp(e){return e.replace(/start|end/g,function(t){return PS[t]})}function Nh(e){var t=Ln(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Fh(e){return ha(Fi(e)).left+Nh(e).scrollLeft}function TS(e,t){var n=Ln(e),s=Fi(e),i=n.visualViewport,o=s.clientWidth,a=s.clientHeight,r=0,l=0;if(i){o=i.width,a=i.height;var c=Ab();(c||!c&&t==="fixed")&&(r=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:r+Fh(e),y:l}}function MS(e){var t,n=Fi(e),s=Nh(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=_o(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=_o(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),r=-s.scrollLeft+Fh(e),l=-s.scrollTop;return Xs(i||n).direction==="rtl"&&(r+=_o(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:r,y:l}}function Bh(e){var t=Xs(e),n=t.overflow,s=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+s)}function Mb(e){return["html","body","#document"].indexOf(Ps(e))>=0?e.ownerDocument.body:Gn(e)&&Bh(e)?e:Mb(Wc(e))}function hr(e,t){var n;t===void 0&&(t=[]);var s=Mb(e),i=s===((n=e.ownerDocument)==null?void 0:n.body),o=Ln(s),a=i?[o].concat(o.visualViewport||[],Bh(s)?s:[]):s,r=t.concat(a);return i?r:r.concat(hr(Wc(a)))}function Dd(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function DS(e,t){var n=ha(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 em(e,t,n){return t===Ph?Dd(TS(e,n)):$o(t)?DS(t,n):Dd(MS(Fi(e)))}function OS(e){var t=hr(Wc(e)),n=["absolute","fixed"].indexOf(Xs(e).position)>=0,s=n&&Gn(e)?Qr(e):e;return $o(s)?t.filter(function(i){return $o(i)&&$b(i,s)&&Ps(i)!=="body"}):[]}function IS(e,t,n,s){var i=t==="clippingParents"?OS(e):[].concat(t),o=[].concat(i,[n]),a=o[0],r=o.reduce(function(l,c){var u=em(e,c,s);return l.top=_o(u.top,l.top),l.right=bc(u.right,l.right),l.bottom=bc(u.bottom,l.bottom),l.left=_o(u.left,l.left),l},em(e,a,s));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function Db(e){var t=e.reference,n=e.element,s=e.placement,i=s?$s(s):null,o=s?fa(s):null,a=t.x+t.width/2-n.width/2,r=t.y+t.height/2-n.height/2,l;switch(i){case _n:l={x:a,y:t.y-n.height};break;case In:l={x:a,y:t.y+t.height};break;case Rn:l={x:t.x+t.width,y:r};break;case bn:l={x:t.x-n.width,y:r};break;default:l={x:t.x,y:t.y}}var c=i?Ih(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(o){case Ao:l[c]=l[c]-(t[u]/2-n[u]/2);break;case ua:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function pa(e,t){t===void 0&&(t={});var n=t,s=n.placement,i=s===void 0?e.placement:s,o=n.strategy,a=o===void 0?e.strategy:o,r=n.boundary,l=r===void 0?fb:r,c=n.rootBoundary,u=c===void 0?Ph:c,d=n.elementContext,f=d===void 0?Zo:d,p=n.altBoundary,g=p===void 0?!1:p,_=n.padding,v=_===void 0?0:_,w=Cb(typeof v!="number"?v:Pb(v,Ia)),A=f===Zo?pb:Zo,$=e.rects.popper,M=e.elements[g?A:f],k=IS($o(M)?M:M.contextElement||Fi(e.elements.popper),l,u,a),y=ha(e.elements.reference),x=Db({reference:y,element:$,strategy:"absolute",placement:i}),E=Dd(Object.assign({},$,x)),P=f===Zo?E:y,C={top:k.top-P.top+w.top,bottom:P.bottom-k.bottom+w.bottom,left:k.left-P.left+w.left,right:P.right-k.right+w.right},F=e.modifiersData.offset;if(f===Zo&&F){var G=F[i];Object.keys(C).forEach(function(ae){var Y=[Rn,In].indexOf(ae)>=0?1:-1,L=[_n,In].indexOf(ae)>=0?"y":"x";C[ae]+=G[L]*Y})}return C}function RS(e,t){t===void 0&&(t={});var n=t,s=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,r=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Th:l,u=fa(s),d=u?r?Td:Td.filter(function(g){return fa(g)===u}):Ia,f=d.filter(function(g){return c.indexOf(g)>=0});f.length===0&&(f=d);var p=f.reduce(function(g,_){return g[_]=pa(e,{placement:_,boundary:i,rootBoundary:o,padding:a})[$s(_)],g},{});return Object.keys(p).sort(function(g,_){return p[g]-p[_]})}function LS(e){if($s(e)===jc)return[];var t=ec(e);return[Zp(e),t,Zp(t)]}function NS(e){var t=e.state,n=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,r=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,g=p===void 0?!0:p,_=n.allowedAutoPlacements,v=t.options.placement,w=$s(v),A=w===v,$=l||(A||!g?[ec(v)]:LS(v)),M=[v].concat($).reduce(function(I,ee){return I.concat($s(ee)===jc?RS(t,{placement:ee,boundary:u,rootBoundary:d,padding:c,flipVariations:g,allowedAutoPlacements:_}):ee)},[]),k=t.rects.reference,y=t.rects.popper,x=new Map,E=!0,P=M[0],C=0;C=0,L=Y?"width":"height",O=pa(t,{placement:F,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),V=Y?ae?Rn:bn:ae?In:_n;k[L]>y[L]&&(V=ec(V));var Q=ec(V),Z=[];if(o&&Z.push(O[G]<=0),r&&Z.push(O[V]<=0,O[Q]<=0),Z.every(function(I){return I})){P=F,E=!1;break}x.set(F,Z)}if(E)for(var le=g?3:1,ye=function(ee){var oe=M.find(function(T){var se=x.get(T);if(se)return se.slice(0,ee).every(function(de){return de})});if(oe)return P=oe,"break"},U=le;U>0;U--){var X=ye(U);if(X==="break")break}t.placement!==P&&(t.modifiersData[s]._skip=!0,t.placement=P,t.reset=!0)}}const Ob={name:"flip",enabled:!0,phase:"main",fn:NS,requiresIfExists:["offset"],data:{_skip:!1}};function tm(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 nm(e){return[_n,Rn,In,bn].some(function(t){return e[t]>=0})}function FS(e){var t=e.state,n=e.name,s=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=pa(t,{elementContext:"reference"}),r=pa(t,{altBoundary:!0}),l=tm(a,s),c=tm(r,i,o),u=nm(l),d=nm(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const Ib={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:FS};function BS(e,t,n){var s=$s(e),i=[bn,_n].indexOf(s)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],r=o[1];return a=a||0,r=(r||0)*i,[bn,Rn].indexOf(s)>=0?{x:r,y:a}:{x:a,y:r}}function VS(e){var t=e.state,n=e.options,s=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=Th.reduce(function(u,d){return u[d]=BS(d,t.rects,o),u},{}),r=a[t.placement],l=r.x,c=r.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[s]=a}const Rb={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:VS};function HS(e){var t=e.state,n=e.name;t.modifiersData[n]=Db({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Vh={name:"popperOffsets",enabled:!0,phase:"read",fn:HS,data:{}};function jS(e){return e==="x"?"y":"x"}function WS(e){var t=e.state,n=e.options,s=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,r=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,g=n.tetherOffset,_=g===void 0?0:g,v=pa(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),w=$s(t.placement),A=fa(t.placement),$=!A,M=Ih(w),k=jS(M),y=t.modifiersData.popperOffsets,x=t.rects.reference,E=t.rects.popper,P=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,C=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),F=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,G={x:0,y:0};if(y){if(o){var ae,Y=M==="y"?_n:bn,L=M==="y"?In:Rn,O=M==="y"?"height":"width",V=y[M],Q=V+v[Y],Z=V-v[L],le=p?-E[O]/2:0,ye=A===Ao?x[O]:E[O],U=A===Ao?-E[O]:-x[O],X=t.elements.arrow,I=p&&X?Oh(X):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Eb(),oe=ee[Y],T=ee[L],se=dr(0,x[O],I[O]),de=$?x[O]/2-le-se-oe-C.mainAxis:ye-se-oe-C.mainAxis,ke=$?-x[O]/2+le+se+T+C.mainAxis:U+se+T+C.mainAxis,N=t.elements.arrow&&Qr(t.elements.arrow),fe=N?M==="y"?N.clientTop||0:N.clientLeft||0:0,b=(ae=F==null?void 0:F[M])!=null?ae:0,D=V+de-b-fe,H=V+ke-b,W=dr(p?bc(Q,D):Q,V,p?_o(Z,H):Z);y[M]=W,G[M]=W-V}if(r){var ie,j=M==="x"?_n:bn,te=M==="x"?In:Rn,J=y[k],he=k==="y"?"height":"width",ge=J+v[j],pe=J-v[te],Re=[_n,bn].indexOf(w)!==-1,Oe=(ie=F==null?void 0:F[k])!=null?ie:0,He=Re?ge:J-x[he]-E[he]-Oe+C.altAxis,Ve=Re?J+x[he]+E[he]-Oe-C.altAxis:pe,et=p&&Re?yS(He,J,Ve):dr(p?He:ge,J,p?Ve:pe);y[k]=et,G[k]=et-J}t.modifiersData[s]=G}}const Lb={name:"preventOverflow",enabled:!0,phase:"main",fn:WS,requiresIfExists:["offset"]};function zS(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function YS(e){return e===Ln(e)||!Gn(e)?Nh(e):zS(e)}function US(e){var t=e.getBoundingClientRect(),n=da(t.width)/e.offsetWidth||1,s=da(t.height)/e.offsetHeight||1;return n!==1||s!==1}function KS(e,t,n){n===void 0&&(n=!1);var s=Gn(t),i=Gn(t)&&US(t),o=Fi(t),a=ha(e,i,n),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Ps(t)!=="body"||Bh(o))&&(r=YS(t)),Gn(t)?(l=ha(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=Fh(o))),{x:a.left+r.scrollLeft-l.x,y:a.top+r.scrollTop-l.y,width:a.width,height:a.height}}function qS(e){var t=new Map,n=new Set,s=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(r){if(!n.has(r)){var l=t.get(r);l&&i(l)}}),s.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),s}function GS(e){var t=qS(e);return Sb.reduce(function(n,s){return n.concat(t.filter(function(i){return i.phase===s}))},[])}function JS(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function XS(e){var t=e.reduce(function(n,s){var i=n[s.name];return n[s.name]=i?Object.assign({},i,s,{options:Object.assign({},i.options,s.options),data:Object.assign({},i.data,s.data)}):s,n},{});return Object.keys(t).map(function(n){return t[n]})}var sm={placement:"bottom",modifiers:[],strategy:"absolute"};function im(){for(var e=arguments.length,t=new Array(e),n=0;nk[b]})}}return f.default=k,Object.freeze(f)}const i=n(s),o=new Map,r={set(k,f,b){o.has(k)||o.set(k,new Map);const D=o.get(k);if(!D.has(f)&&D.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(D.keys())[0]}.`);return}D.set(f,b)},get(k,f){return o.has(k)&&o.get(k).get(f)||null},remove(k,f){if(!o.has(k))return;const b=o.get(k);b.delete(f),b.size===0&&o.delete(k)}},a=1e6,l=1e3,c="transitionend",d=k=>(k&&window.CSS&&window.CSS.escape&&(k=k.replace(/#([^\s"#']+)/g,(f,b)=>`#${CSS.escape(b)}`)),k),h=k=>k==null?`${k}`:Object.prototype.toString.call(k).match(/\s([a-z]+)/i)[1].toLowerCase(),p=k=>{do k+=Math.floor(Math.random()*a);while(document.getElementById(k));return k},g=k=>{if(!k)return 0;let{transitionDuration:f,transitionDelay:b}=window.getComputedStyle(k);const D=Number.parseFloat(f),U=Number.parseFloat(b);return!D&&!U?0:(f=f.split(",")[0],b=b.split(",")[0],(Number.parseFloat(f)+Number.parseFloat(b))*l)},m=k=>{k.dispatchEvent(new Event(c))},_=k=>!k||typeof k!="object"?!1:(typeof k.jquery<"u"&&(k=k[0]),typeof k.nodeType<"u"),v=k=>_(k)?k.jquery?k[0]:k:typeof k=="string"&&k.length>0?document.querySelector(d(k)):null,w=k=>{if(!_(k)||k.getClientRects().length===0)return!1;const f=getComputedStyle(k).getPropertyValue("visibility")==="visible",b=k.closest("details:not([open])");if(!b)return f;if(b!==k){const D=k.closest("summary");if(D&&D.parentNode!==b||D===null)return!1}return f},S=k=>!k||k.nodeType!==Node.ELEMENT_NODE||k.classList.contains("disabled")?!0:typeof k.disabled<"u"?k.disabled:k.hasAttribute("disabled")&&k.getAttribute("disabled")!=="false",$=k=>{if(!document.documentElement.attachShadow)return null;if(typeof k.getRootNode=="function"){const f=k.getRootNode();return f instanceof ShadowRoot?f:null}return k instanceof ShadowRoot?k:k.parentNode?$(k.parentNode):null},T=()=>{},y=k=>{k.offsetHeight},x=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,C=[],E=k=>{document.readyState==="loading"?(C.length||document.addEventListener("DOMContentLoaded",()=>{for(const f of C)f()}),C.push(k)):k()},P=()=>document.documentElement.dir==="rtl",M=k=>{E(()=>{const f=x();if(f){const b=k.NAME,D=f.fn[b];f.fn[b]=k.jQueryInterface,f.fn[b].Constructor=k,f.fn[b].noConflict=()=>(f.fn[b]=D,k.jQueryInterface)}})},L=(k,f=[],b=k)=>typeof k=="function"?k(...f):b,F=(k,f,b=!0)=>{if(!b){L(k);return}const U=g(f)+5;let it=!1;const et=({target:Tt})=>{Tt===f&&(it=!0,f.removeEventListener(c,et),L(k))};f.addEventListener(c,et),setTimeout(()=>{it||m(f)},U)},Q=(k,f,b,D)=>{const U=k.length;let it=k.indexOf(f);return it===-1?!b&&D?k[U-1]:k[0]:(it+=b?1:-1,D&&(it=(it+U)%U),k[Math.max(0,Math.min(it,U-1))])},G=/[^.]*(?=\..*)\.|.*/,H=/\..*/,R=/::\d+$/,z={};let Y=1;const at={mouseenter:"mouseover",mouseleave:"mouseout"},ht=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function vt(k,f){return f&&`${f}::${Y++}`||k.uidEvent||Y++}function _t(k){const f=vt(k);return k.uidEvent=f,z[f]=z[f]||{},z[f]}function Dt(k,f){return function b(D){return Lt(D,{delegateTarget:k}),b.oneOff&&j.off(k,D.type,f),f.apply(k,[D])}}function Pt(k,f,b){return function D(U){const it=k.querySelectorAll(f);for(let{target:et}=U;et&&et!==this;et=et.parentNode)for(const Tt of it)if(Tt===et)return Lt(U,{delegateTarget:et}),D.oneOff&&j.off(k,U.type,f,b),b.apply(et,[U])}}function Bt(k,f,b=null){return Object.values(k).find(D=>D.callable===f&&D.delegationSelector===b)}function kt(k,f,b){const D=typeof f=="string",U=D?b:f||b;let it=ct(k);return ht.has(it)||(it=k),[D,U,it]}function W(k,f,b,D,U){if(typeof f!="string"||!k)return;let[it,et,Tt]=kt(f,b,D);f in at&&(et=(_1=>function(mi){if(!mi.relatedTarget||mi.relatedTarget!==mi.delegateTarget&&!mi.delegateTarget.contains(mi.relatedTarget))return _1.call(this,mi)})(et));const $e=_t(k),Ke=$e[Tt]||($e[Tt]={}),ue=Bt(Ke,et,it?b:null);if(ue){ue.oneOff=ue.oneOff&&U;return}const us=vt(et,f.replace(G,"")),os=it?Pt(k,b,et):Dt(k,et);os.delegationSelector=it?b:null,os.callable=et,os.oneOff=U,os.uidEvent=us,Ke[us]=os,k.addEventListener(Tt,os,it)}function st(k,f,b,D,U){const it=Bt(f[b],D,U);it&&(k.removeEventListener(b,it,!!U),delete f[b][it.uidEvent])}function tt(k,f,b,D){const U=f[b]||{};for(const[it,et]of Object.entries(U))it.includes(D)&&st(k,f,b,et.callable,et.delegationSelector)}function ct(k){return k=k.replace(H,""),at[k]||k}const j={on(k,f,b,D){W(k,f,b,D,!1)},one(k,f,b,D){W(k,f,b,D,!0)},off(k,f,b,D){if(typeof f!="string"||!k)return;const[U,it,et]=kt(f,b,D),Tt=et!==f,$e=_t(k),Ke=$e[et]||{},ue=f.startsWith(".");if(typeof it<"u"){if(!Object.keys(Ke).length)return;st(k,$e,et,it,U?b:null);return}if(ue)for(const us of Object.keys($e))tt(k,$e,us,f.slice(1));for(const[us,os]of Object.entries(Ke)){const $r=us.replace(R,"");(!Tt||f.includes($r))&&st(k,$e,et,os.callable,os.delegationSelector)}},trigger(k,f,b){if(typeof f!="string"||!k)return null;const D=x(),U=ct(f),it=f!==U;let et=null,Tt=!0,$e=!0,Ke=!1;it&&D&&(et=D.Event(f,b),D(k).trigger(et),Tt=!et.isPropagationStopped(),$e=!et.isImmediatePropagationStopped(),Ke=et.isDefaultPrevented());const ue=Lt(new Event(f,{bubbles:Tt,cancelable:!0}),b);return Ke&&ue.preventDefault(),$e&&k.dispatchEvent(ue),ue.defaultPrevented&&et&&et.preventDefault(),ue}};function Lt(k,f={}){for(const[b,D]of Object.entries(f))try{k[b]=D}catch{Object.defineProperty(k,b,{configurable:!0,get(){return D}})}return k}function A(k){if(k==="true")return!0;if(k==="false")return!1;if(k===Number(k).toString())return Number(k);if(k===""||k==="null")return null;if(typeof k!="string")return k;try{return JSON.parse(decodeURIComponent(k))}catch{return k}}function I(k){return k.replace(/[A-Z]/g,f=>`-${f.toLowerCase()}`)}const N={setDataAttribute(k,f,b){k.setAttribute(`data-bs-${I(f)}`,b)},removeDataAttribute(k,f){k.removeAttribute(`data-bs-${I(f)}`)},getDataAttributes(k){if(!k)return{};const f={},b=Object.keys(k.dataset).filter(D=>D.startsWith("bs")&&!D.startsWith("bsConfig"));for(const D of b){let U=D.replace(/^bs/,"");U=U.charAt(0).toLowerCase()+U.slice(1,U.length),f[U]=A(k.dataset[D])}return f},getDataAttribute(k,f){return A(k.getAttribute(`data-bs-${I(f)}`))}};class q{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(f){return f=this._mergeConfigObj(f),f=this._configAfterMerge(f),this._typeCheckConfig(f),f}_configAfterMerge(f){return f}_mergeConfigObj(f,b){const D=_(b)?N.getDataAttribute(b,"config"):{};return{...this.constructor.Default,...typeof D=="object"?D:{},..._(b)?N.getDataAttributes(b):{},...typeof f=="object"?f:{}}}_typeCheckConfig(f,b=this.constructor.DefaultType){for(const[D,U]of Object.entries(b)){const it=f[D],et=_(it)?"element":h(it);if(!new RegExp(U).test(et))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${D}" provided type "${et}" but expected type "${U}".`)}}}const K="5.3.2";class X extends q{constructor(f,b){super(),f=v(f),f&&(this._element=f,this._config=this._getConfig(b),r.set(this._element,this.constructor.DATA_KEY,this))}dispose(){r.remove(this._element,this.constructor.DATA_KEY),j.off(this._element,this.constructor.EVENT_KEY);for(const f of Object.getOwnPropertyNames(this))this[f]=null}_queueCallback(f,b,D=!0){F(f,b,D)}_getConfig(f){return f=this._mergeConfigObj(f,this._element),f=this._configAfterMerge(f),this._typeCheckConfig(f),f}static getInstance(f){return r.get(v(f),this.DATA_KEY)}static getOrCreateInstance(f,b={}){return this.getInstance(f)||new this(f,typeof b=="object"?b:null)}static get VERSION(){return K}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(f){return`${f}${this.EVENT_KEY}`}}const lt=k=>{let f=k.getAttribute("data-bs-target");if(!f||f==="#"){let b=k.getAttribute("href");if(!b||!b.includes("#")&&!b.startsWith("."))return null;b.includes("#")&&!b.startsWith("#")&&(b=`#${b.split("#")[1]}`),f=b&&b!=="#"?d(b.trim()):null}return f},V={find(k,f=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(f,k))},findOne(k,f=document.documentElement){return Element.prototype.querySelector.call(f,k)},children(k,f){return[].concat(...k.children).filter(b=>b.matches(f))},parents(k,f){const b=[];let D=k.parentNode.closest(f);for(;D;)b.push(D),D=D.parentNode.closest(f);return b},prev(k,f){let b=k.previousElementSibling;for(;b;){if(b.matches(f))return[b];b=b.previousElementSibling}return[]},next(k,f){let b=k.nextElementSibling;for(;b;){if(b.matches(f))return[b];b=b.nextElementSibling}return[]},focusableChildren(k){const f=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(b=>`${b}:not([tabindex^="-"])`).join(",");return this.find(f,k).filter(b=>!S(b)&&w(b))},getSelectorFromElement(k){const f=lt(k);return f&&V.findOne(f)?f:null},getElementFromSelector(k){const f=lt(k);return f?V.findOne(f):null},getMultipleElementsFromSelector(k){const f=lt(k);return f?V.find(f):[]}},Z=(k,f="hide")=>{const b=`click.dismiss${k.EVENT_KEY}`,D=k.NAME;j.on(document,b,`[data-bs-dismiss="${D}"]`,function(U){if(["A","AREA"].includes(this.tagName)&&U.preventDefault(),S(this))return;const it=V.getElementFromSelector(this)||this.closest(`.${D}`);k.getOrCreateInstance(it)[f]()})},J="alert",gt=".bs.alert",pt=`close${gt}`,yt=`closed${gt}`,Ct="fade",Wt="show";class Rt extends X{static get NAME(){return J}close(){if(j.trigger(this._element,pt).defaultPrevented)return;this._element.classList.remove(Wt);const b=this._element.classList.contains(Ct);this._queueCallback(()=>this._destroyElement(),this._element,b)}_destroyElement(){this._element.remove(),j.trigger(this._element,yt),this.dispose()}static jQueryInterface(f){return this.each(function(){const b=Rt.getOrCreateInstance(this);if(typeof f=="string"){if(b[f]===void 0||f.startsWith("_")||f==="constructor")throw new TypeError(`No method named "${f}"`);b[f](this)}})}}Z(Rt,"close"),M(Rt);const re="button",Us=".bs.button",pr=".data-api",kn="active",no='[data-bs-toggle="button"]',ye=`click${Us}${pr}`;class ge extends X{static get NAME(){return re}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(kn))}static jQueryInterface(f){return this.each(function(){const b=ge.getOrCreateInstance(this);f==="toggle"&&b[f]()})}}j.on(document,ye,no,k=>{k.preventDefault();const f=k.target.closest(no);ge.getOrCreateInstance(f).toggle()}),M(ge);const gr="swipe",li=".bs.swipe",Hb=`touchstart${li}`,Wb=`touchmove${li}`,zb=`touchend${li}`,Kb=`pointerdown${li}`,Ub=`pointerup${li}`,Yb="touch",qb="pen",Gb="pointer-event",Jb=40,Xb={endCallback:null,leftCallback:null,rightCallback:null},Qb={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class mr extends q{constructor(f,b){super(),this._element=f,!(!f||!mr.isSupported())&&(this._config=this._getConfig(b),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Xb}static get DefaultType(){return Qb}static get NAME(){return gr}dispose(){j.off(this._element,li)}_start(f){if(!this._supportPointerEvents){this._deltaX=f.touches[0].clientX;return}this._eventIsPointerPenTouch(f)&&(this._deltaX=f.clientX)}_end(f){this._eventIsPointerPenTouch(f)&&(this._deltaX=f.clientX-this._deltaX),this._handleSwipe(),L(this._config.endCallback)}_move(f){this._deltaX=f.touches&&f.touches.length>1?0:f.touches[0].clientX-this._deltaX}_handleSwipe(){const f=Math.abs(this._deltaX);if(f<=Jb)return;const b=f/this._deltaX;this._deltaX=0,b&&L(b>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(j.on(this._element,Kb,f=>this._start(f)),j.on(this._element,Ub,f=>this._end(f)),this._element.classList.add(Gb)):(j.on(this._element,Hb,f=>this._start(f)),j.on(this._element,Wb,f=>this._move(f)),j.on(this._element,zb,f=>this._end(f)))}_eventIsPointerPenTouch(f){return this._supportPointerEvents&&(f.pointerType===qb||f.pointerType===Yb)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Zb="carousel",Ys=".bs.carousel",mu=".data-api",tv="ArrowLeft",ev="ArrowRight",sv=500,io="next",ci="prev",di="left",_r="right",nv=`slide${Ys}`,bl=`slid${Ys}`,iv=`keydown${Ys}`,ov=`mouseenter${Ys}`,rv=`mouseleave${Ys}`,av=`dragstart${Ys}`,lv=`load${Ys}${mu}`,cv=`click${Ys}${mu}`,_u="carousel",br="active",dv="slide",uv="carousel-item-end",hv="carousel-item-start",fv="carousel-item-next",pv="carousel-item-prev",bu=".active",vu=".carousel-item",gv=bu+vu,mv=".carousel-item img",_v=".carousel-indicators",bv="[data-bs-slide], [data-bs-slide-to]",vv='[data-bs-ride="carousel"]',yv={[tv]:_r,[ev]:di},xv={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},wv={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class ui extends X{constructor(f,b){super(f,b),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=V.findOne(_v,this._element),this._addEventListeners(),this._config.ride===_u&&this.cycle()}static get Default(){return xv}static get DefaultType(){return wv}static get NAME(){return Zb}next(){this._slide(io)}nextWhenVisible(){!document.hidden&&w(this._element)&&this.next()}prev(){this._slide(ci)}pause(){this._isSliding&&m(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){j.one(this._element,bl,()=>this.cycle());return}this.cycle()}}to(f){const b=this._getItems();if(f>b.length-1||f<0)return;if(this._isSliding){j.one(this._element,bl,()=>this.to(f));return}const D=this._getItemIndex(this._getActive());if(D===f)return;const U=f>D?io:ci;this._slide(U,b[f])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(f){return f.defaultInterval=f.interval,f}_addEventListeners(){this._config.keyboard&&j.on(this._element,iv,f=>this._keydown(f)),this._config.pause==="hover"&&(j.on(this._element,ov,()=>this.pause()),j.on(this._element,rv,()=>this._maybeEnableCycle())),this._config.touch&&mr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const D of V.find(mv,this._element))j.on(D,av,U=>U.preventDefault());const b={leftCallback:()=>this._slide(this._directionToOrder(di)),rightCallback:()=>this._slide(this._directionToOrder(_r)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),sv+this._config.interval))}};this._swipeHelper=new mr(this._element,b)}_keydown(f){if(/input|textarea/i.test(f.target.tagName))return;const b=yv[f.key];b&&(f.preventDefault(),this._slide(this._directionToOrder(b)))}_getItemIndex(f){return this._getItems().indexOf(f)}_setActiveIndicatorElement(f){if(!this._indicatorsElement)return;const b=V.findOne(bu,this._indicatorsElement);b.classList.remove(br),b.removeAttribute("aria-current");const D=V.findOne(`[data-bs-slide-to="${f}"]`,this._indicatorsElement);D&&(D.classList.add(br),D.setAttribute("aria-current","true"))}_updateInterval(){const f=this._activeElement||this._getActive();if(!f)return;const b=Number.parseInt(f.getAttribute("data-bs-interval"),10);this._config.interval=b||this._config.defaultInterval}_slide(f,b=null){if(this._isSliding)return;const D=this._getActive(),U=f===io,it=b||Q(this._getItems(),D,U,this._config.wrap);if(it===D)return;const et=this._getItemIndex(it),Tt=$r=>j.trigger(this._element,$r,{relatedTarget:it,direction:this._orderToDirection(f),from:this._getItemIndex(D),to:et});if(Tt(nv).defaultPrevented||!D||!it)return;const Ke=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(et),this._activeElement=it;const ue=U?hv:uv,us=U?fv:pv;it.classList.add(us),y(it),D.classList.add(ue),it.classList.add(ue);const os=()=>{it.classList.remove(ue,us),it.classList.add(br),D.classList.remove(br,us,ue),this._isSliding=!1,Tt(bl)};this._queueCallback(os,D,this._isAnimated()),Ke&&this.cycle()}_isAnimated(){return this._element.classList.contains(dv)}_getActive(){return V.findOne(gv,this._element)}_getItems(){return V.find(vu,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(f){return P()?f===di?ci:io:f===di?io:ci}_orderToDirection(f){return P()?f===ci?di:_r:f===ci?_r:di}static jQueryInterface(f){return this.each(function(){const b=ui.getOrCreateInstance(this,f);if(typeof f=="number"){b.to(f);return}if(typeof f=="string"){if(b[f]===void 0||f.startsWith("_")||f==="constructor")throw new TypeError(`No method named "${f}"`);b[f]()}})}}j.on(document,cv,bv,function(k){const f=V.getElementFromSelector(this);if(!f||!f.classList.contains(_u))return;k.preventDefault();const b=ui.getOrCreateInstance(f),D=this.getAttribute("data-bs-slide-to");if(D){b.to(D),b._maybeEnableCycle();return}if(N.getDataAttribute(this,"slide")==="next"){b.next(),b._maybeEnableCycle();return}b.prev(),b._maybeEnableCycle()}),j.on(window,lv,()=>{const k=V.find(vv);for(const f of k)ui.getOrCreateInstance(f)}),M(ui);const Sv="collapse",oo=".bs.collapse",Ev=".data-api",Av=`show${oo}`,Cv=`shown${oo}`,$v=`hide${oo}`,Pv=`hidden${oo}`,kv=`click${oo}${Ev}`,vl="show",hi="collapse",vr="collapsing",Tv="collapsed",Mv=`:scope .${hi} .${hi}`,Dv="collapse-horizontal",Iv="width",Ov="height",Lv=".collapse.show, .collapse.collapsing",yl='[data-bs-toggle="collapse"]',Rv={parent:null,toggle:!0},Nv={parent:"(null|element)",toggle:"boolean"};class fi extends X{constructor(f,b){super(f,b),this._isTransitioning=!1,this._triggerArray=[];const D=V.find(yl);for(const U of D){const it=V.getSelectorFromElement(U),et=V.find(it).filter(Tt=>Tt===this._element);it!==null&&et.length&&this._triggerArray.push(U)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Rv}static get DefaultType(){return Nv}static get NAME(){return Sv}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let f=[];if(this._config.parent&&(f=this._getFirstLevelChildren(Lv).filter(Tt=>Tt!==this._element).map(Tt=>fi.getOrCreateInstance(Tt,{toggle:!1}))),f.length&&f[0]._isTransitioning||j.trigger(this._element,Av).defaultPrevented)return;for(const Tt of f)Tt.hide();const D=this._getDimension();this._element.classList.remove(hi),this._element.classList.add(vr),this._element.style[D]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const U=()=>{this._isTransitioning=!1,this._element.classList.remove(vr),this._element.classList.add(hi,vl),this._element.style[D]="",j.trigger(this._element,Cv)},et=`scroll${D[0].toUpperCase()+D.slice(1)}`;this._queueCallback(U,this._element,!0),this._element.style[D]=`${this._element[et]}px`}hide(){if(this._isTransitioning||!this._isShown()||j.trigger(this._element,$v).defaultPrevented)return;const b=this._getDimension();this._element.style[b]=`${this._element.getBoundingClientRect()[b]}px`,y(this._element),this._element.classList.add(vr),this._element.classList.remove(hi,vl);for(const U of this._triggerArray){const it=V.getElementFromSelector(U);it&&!this._isShown(it)&&this._addAriaAndCollapsedClass([U],!1)}this._isTransitioning=!0;const D=()=>{this._isTransitioning=!1,this._element.classList.remove(vr),this._element.classList.add(hi),j.trigger(this._element,Pv)};this._element.style[b]="",this._queueCallback(D,this._element,!0)}_isShown(f=this._element){return f.classList.contains(vl)}_configAfterMerge(f){return f.toggle=!!f.toggle,f.parent=v(f.parent),f}_getDimension(){return this._element.classList.contains(Dv)?Iv:Ov}_initializeChildren(){if(!this._config.parent)return;const f=this._getFirstLevelChildren(yl);for(const b of f){const D=V.getElementFromSelector(b);D&&this._addAriaAndCollapsedClass([b],this._isShown(D))}}_getFirstLevelChildren(f){const b=V.find(Mv,this._config.parent);return V.find(f,this._config.parent).filter(D=>!b.includes(D))}_addAriaAndCollapsedClass(f,b){if(f.length)for(const D of f)D.classList.toggle(Tv,!b),D.setAttribute("aria-expanded",b)}static jQueryInterface(f){const b={};return typeof f=="string"&&/show|hide/.test(f)&&(b.toggle=!1),this.each(function(){const D=fi.getOrCreateInstance(this,b);if(typeof f=="string"){if(typeof D[f]>"u")throw new TypeError(`No method named "${f}"`);D[f]()}})}}j.on(document,kv,yl,function(k){(k.target.tagName==="A"||k.delegateTarget&&k.delegateTarget.tagName==="A")&&k.preventDefault();for(const f of V.getMultipleElementsFromSelector(this))fi.getOrCreateInstance(f,{toggle:!1}).toggle()}),M(fi);const yu="dropdown",Tn=".bs.dropdown",xl=".data-api",Fv="Escape",xu="Tab",Bv="ArrowUp",wu="ArrowDown",Vv=2,jv=`hide${Tn}`,Hv=`hidden${Tn}`,Wv=`show${Tn}`,zv=`shown${Tn}`,Su=`click${Tn}${xl}`,Eu=`keydown${Tn}${xl}`,Kv=`keyup${Tn}${xl}`,pi="show",Uv="dropup",Yv="dropend",qv="dropstart",Gv="dropup-center",Jv="dropdown-center",Mn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Xv=`${Mn}.${pi}`,yr=".dropdown-menu",Qv=".navbar",Zv=".navbar-nav",ty=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",ey=P()?"top-end":"top-start",sy=P()?"top-start":"top-end",ny=P()?"bottom-end":"bottom-start",iy=P()?"bottom-start":"bottom-end",oy=P()?"left-start":"right-start",ry=P()?"right-start":"left-start",ay="top",ly="bottom",cy={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},dy={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class is extends X{constructor(f,b){super(f,b),this._popper=null,this._parent=this._element.parentNode,this._menu=V.next(this._element,yr)[0]||V.prev(this._element,yr)[0]||V.findOne(yr,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return cy}static get DefaultType(){return dy}static get NAME(){return yu}toggle(){return this._isShown()?this.hide():this.show()}show(){if(S(this._element)||this._isShown())return;const f={relatedTarget:this._element};if(!j.trigger(this._element,Wv,f).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Zv))for(const D of[].concat(...document.body.children))j.on(D,"mouseover",T);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(pi),this._element.classList.add(pi),j.trigger(this._element,zv,f)}}hide(){if(S(this._element)||!this._isShown())return;const f={relatedTarget:this._element};this._completeHide(f)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(f){if(!j.trigger(this._element,jv,f).defaultPrevented){if("ontouchstart"in document.documentElement)for(const D of[].concat(...document.body.children))j.off(D,"mouseover",T);this._popper&&this._popper.destroy(),this._menu.classList.remove(pi),this._element.classList.remove(pi),this._element.setAttribute("aria-expanded","false"),N.removeDataAttribute(this._menu,"popper"),j.trigger(this._element,Hv,f)}}_getConfig(f){if(f=super._getConfig(f),typeof f.reference=="object"&&!_(f.reference)&&typeof f.reference.getBoundingClientRect!="function")throw new TypeError(`${yu.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return f}_createPopper(){if(typeof i>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let f=this._element;this._config.reference==="parent"?f=this._parent:_(this._config.reference)?f=v(this._config.reference):typeof this._config.reference=="object"&&(f=this._config.reference);const b=this._getPopperConfig();this._popper=i.createPopper(f,this._menu,b)}_isShown(){return this._menu.classList.contains(pi)}_getPlacement(){const f=this._parent;if(f.classList.contains(Yv))return oy;if(f.classList.contains(qv))return ry;if(f.classList.contains(Gv))return ay;if(f.classList.contains(Jv))return ly;const b=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return f.classList.contains(Uv)?b?sy:ey:b?iy:ny}_detectNavbar(){return this._element.closest(Qv)!==null}_getOffset(){const{offset:f}=this._config;return typeof f=="string"?f.split(",").map(b=>Number.parseInt(b,10)):typeof f=="function"?b=>f(b,this._element):f}_getPopperConfig(){const f={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(N.setDataAttribute(this._menu,"popper","static"),f.modifiers=[{name:"applyStyles",enabled:!1}]),{...f,...L(this._config.popperConfig,[f])}}_selectMenuItem({key:f,target:b}){const D=V.find(ty,this._menu).filter(U=>w(U));D.length&&Q(D,b,f===wu,!D.includes(b)).focus()}static jQueryInterface(f){return this.each(function(){const b=is.getOrCreateInstance(this,f);if(typeof f=="string"){if(typeof b[f]>"u")throw new TypeError(`No method named "${f}"`);b[f]()}})}static clearMenus(f){if(f.button===Vv||f.type==="keyup"&&f.key!==xu)return;const b=V.find(Xv);for(const D of b){const U=is.getInstance(D);if(!U||U._config.autoClose===!1)continue;const it=f.composedPath(),et=it.includes(U._menu);if(it.includes(U._element)||U._config.autoClose==="inside"&&!et||U._config.autoClose==="outside"&&et||U._menu.contains(f.target)&&(f.type==="keyup"&&f.key===xu||/input|select|option|textarea|form/i.test(f.target.tagName)))continue;const Tt={relatedTarget:U._element};f.type==="click"&&(Tt.clickEvent=f),U._completeHide(Tt)}}static dataApiKeydownHandler(f){const b=/input|textarea/i.test(f.target.tagName),D=f.key===Fv,U=[Bv,wu].includes(f.key);if(!U&&!D||b&&!D)return;f.preventDefault();const it=this.matches(Mn)?this:V.prev(this,Mn)[0]||V.next(this,Mn)[0]||V.findOne(Mn,f.delegateTarget.parentNode),et=is.getOrCreateInstance(it);if(U){f.stopPropagation(),et.show(),et._selectMenuItem(f);return}et._isShown()&&(f.stopPropagation(),et.hide(),it.focus())}}j.on(document,Eu,Mn,is.dataApiKeydownHandler),j.on(document,Eu,yr,is.dataApiKeydownHandler),j.on(document,Su,is.clearMenus),j.on(document,Kv,is.clearMenus),j.on(document,Su,Mn,function(k){k.preventDefault(),is.getOrCreateInstance(this).toggle()}),M(is);const Au="backdrop",uy="fade",Cu="show",$u=`mousedown.bs.${Au}`,hy={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},fy={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Pu extends q{constructor(f){super(),this._config=this._getConfig(f),this._isAppended=!1,this._element=null}static get Default(){return hy}static get DefaultType(){return fy}static get NAME(){return Au}show(f){if(!this._config.isVisible){L(f);return}this._append();const b=this._getElement();this._config.isAnimated&&y(b),b.classList.add(Cu),this._emulateAnimation(()=>{L(f)})}hide(f){if(!this._config.isVisible){L(f);return}this._getElement().classList.remove(Cu),this._emulateAnimation(()=>{this.dispose(),L(f)})}dispose(){this._isAppended&&(j.off(this._element,$u),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const f=document.createElement("div");f.className=this._config.className,this._config.isAnimated&&f.classList.add(uy),this._element=f}return this._element}_configAfterMerge(f){return f.rootElement=v(f.rootElement),f}_append(){if(this._isAppended)return;const f=this._getElement();this._config.rootElement.append(f),j.on(f,$u,()=>{L(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(f){F(f,this._getElement(),this._config.isAnimated)}}const py="focustrap",xr=".bs.focustrap",gy=`focusin${xr}`,my=`keydown.tab${xr}`,_y="Tab",by="forward",ku="backward",vy={autofocus:!0,trapElement:null},yy={autofocus:"boolean",trapElement:"element"};class Tu extends q{constructor(f){super(),this._config=this._getConfig(f),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return vy}static get DefaultType(){return yy}static get NAME(){return py}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),j.off(document,xr),j.on(document,gy,f=>this._handleFocusin(f)),j.on(document,my,f=>this._handleKeydown(f)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,j.off(document,xr))}_handleFocusin(f){const{trapElement:b}=this._config;if(f.target===document||f.target===b||b.contains(f.target))return;const D=V.focusableChildren(b);D.length===0?b.focus():this._lastTabNavDirection===ku?D[D.length-1].focus():D[0].focus()}_handleKeydown(f){f.key===_y&&(this._lastTabNavDirection=f.shiftKey?ku:by)}}const Mu=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Du=".sticky-top",wr="padding-right",Iu="margin-right";class wl{constructor(){this._element=document.body}getWidth(){const f=document.documentElement.clientWidth;return Math.abs(window.innerWidth-f)}hide(){const f=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,wr,b=>b+f),this._setElementAttributes(Mu,wr,b=>b+f),this._setElementAttributes(Du,Iu,b=>b-f)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,wr),this._resetElementAttributes(Mu,wr),this._resetElementAttributes(Du,Iu)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(f,b,D){const U=this.getWidth(),it=et=>{if(et!==this._element&&window.innerWidth>et.clientWidth+U)return;this._saveInitialAttribute(et,b);const Tt=window.getComputedStyle(et).getPropertyValue(b);et.style.setProperty(b,`${D(Number.parseFloat(Tt))}px`)};this._applyManipulationCallback(f,it)}_saveInitialAttribute(f,b){const D=f.style.getPropertyValue(b);D&&N.setDataAttribute(f,b,D)}_resetElementAttributes(f,b){const D=U=>{const it=N.getDataAttribute(U,b);if(it===null){U.style.removeProperty(b);return}N.removeDataAttribute(U,b),U.style.setProperty(b,it)};this._applyManipulationCallback(f,D)}_applyManipulationCallback(f,b){if(_(f)){b(f);return}for(const D of V.find(f,this._element))b(D)}}const xy="modal",ze=".bs.modal",wy=".data-api",Sy="Escape",Ey=`hide${ze}`,Ay=`hidePrevented${ze}`,Ou=`hidden${ze}`,Lu=`show${ze}`,Cy=`shown${ze}`,$y=`resize${ze}`,Py=`click.dismiss${ze}`,ky=`mousedown.dismiss${ze}`,Ty=`keydown.dismiss${ze}`,My=`click${ze}${wy}`,Ru="modal-open",Dy="fade",Nu="show",Sl="modal-static",Iy=".modal.show",Oy=".modal-dialog",Ly=".modal-body",Ry='[data-bs-toggle="modal"]',Ny={backdrop:!0,focus:!0,keyboard:!0},Fy={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Dn extends X{constructor(f,b){super(f,b),this._dialog=V.findOne(Oy,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new wl,this._addEventListeners()}static get Default(){return Ny}static get DefaultType(){return Fy}static get NAME(){return xy}toggle(f){return this._isShown?this.hide():this.show(f)}show(f){this._isShown||this._isTransitioning||j.trigger(this._element,Lu,{relatedTarget:f}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ru),this._adjustDialog(),this._backdrop.show(()=>this._showElement(f)))}hide(){!this._isShown||this._isTransitioning||j.trigger(this._element,Ey).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Nu),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){j.off(window,ze),j.off(this._dialog,ze),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Pu({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Tu({trapElement:this._element})}_showElement(f){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const b=V.findOne(Ly,this._dialog);b&&(b.scrollTop=0),y(this._element),this._element.classList.add(Nu);const D=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,j.trigger(this._element,Cy,{relatedTarget:f})};this._queueCallback(D,this._dialog,this._isAnimated())}_addEventListeners(){j.on(this._element,Ty,f=>{if(f.key===Sy){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),j.on(window,$y,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),j.on(this._element,ky,f=>{j.one(this._element,Py,b=>{if(!(this._element!==f.target||this._element!==b.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Ru),this._resetAdjustments(),this._scrollBar.reset(),j.trigger(this._element,Ou)})}_isAnimated(){return this._element.classList.contains(Dy)}_triggerBackdropTransition(){if(j.trigger(this._element,Ay).defaultPrevented)return;const b=this._element.scrollHeight>document.documentElement.clientHeight,D=this._element.style.overflowY;D==="hidden"||this._element.classList.contains(Sl)||(b||(this._element.style.overflowY="hidden"),this._element.classList.add(Sl),this._queueCallback(()=>{this._element.classList.remove(Sl),this._queueCallback(()=>{this._element.style.overflowY=D},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const f=this._element.scrollHeight>document.documentElement.clientHeight,b=this._scrollBar.getWidth(),D=b>0;if(D&&!f){const U=P()?"paddingLeft":"paddingRight";this._element.style[U]=`${b}px`}if(!D&&f){const U=P()?"paddingRight":"paddingLeft";this._element.style[U]=`${b}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(f,b){return this.each(function(){const D=Dn.getOrCreateInstance(this,f);if(typeof f=="string"){if(typeof D[f]>"u")throw new TypeError(`No method named "${f}"`);D[f](b)}})}}j.on(document,My,Ry,function(k){const f=V.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&k.preventDefault(),j.one(f,Lu,U=>{U.defaultPrevented||j.one(f,Ou,()=>{w(this)&&this.focus()})});const b=V.findOne(Iy);b&&Dn.getInstance(b).hide(),Dn.getOrCreateInstance(f).toggle(this)}),Z(Dn),M(Dn);const By="offcanvas",Cs=".bs.offcanvas",Fu=".data-api",Vy=`load${Cs}${Fu}`,jy="Escape",Bu="show",Vu="showing",ju="hiding",Hy="offcanvas-backdrop",Hu=".offcanvas.show",Wy=`show${Cs}`,zy=`shown${Cs}`,Ky=`hide${Cs}`,Wu=`hidePrevented${Cs}`,zu=`hidden${Cs}`,Uy=`resize${Cs}`,Yy=`click${Cs}${Fu}`,qy=`keydown.dismiss${Cs}`,Gy='[data-bs-toggle="offcanvas"]',Jy={backdrop:!0,keyboard:!0,scroll:!1},Xy={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class $s extends X{constructor(f,b){super(f,b),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Jy}static get DefaultType(){return Xy}static get NAME(){return By}toggle(f){return this._isShown?this.hide():this.show(f)}show(f){if(this._isShown||j.trigger(this._element,Wy,{relatedTarget:f}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new wl().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Vu);const D=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Bu),this._element.classList.remove(Vu),j.trigger(this._element,zy,{relatedTarget:f})};this._queueCallback(D,this._element,!0)}hide(){if(!this._isShown||j.trigger(this._element,Ky).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(ju),this._backdrop.hide();const b=()=>{this._element.classList.remove(Bu,ju),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new wl().reset(),j.trigger(this._element,zu)};this._queueCallback(b,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const f=()=>{if(this._config.backdrop==="static"){j.trigger(this._element,Wu);return}this.hide()},b=!!this._config.backdrop;return new Pu({className:Hy,isVisible:b,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:b?f:null})}_initializeFocusTrap(){return new Tu({trapElement:this._element})}_addEventListeners(){j.on(this._element,qy,f=>{if(f.key===jy){if(this._config.keyboard){this.hide();return}j.trigger(this._element,Wu)}})}static jQueryInterface(f){return this.each(function(){const b=$s.getOrCreateInstance(this,f);if(typeof f=="string"){if(b[f]===void 0||f.startsWith("_")||f==="constructor")throw new TypeError(`No method named "${f}"`);b[f](this)}})}}j.on(document,Yy,Gy,function(k){const f=V.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&k.preventDefault(),S(this))return;j.one(f,zu,()=>{w(this)&&this.focus()});const b=V.findOne(Hu);b&&b!==f&&$s.getInstance(b).hide(),$s.getOrCreateInstance(f).toggle(this)}),j.on(window,Vy,()=>{for(const k of V.find(Hu))$s.getOrCreateInstance(k).show()}),j.on(window,Uy,()=>{for(const k of V.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(k).position!=="fixed"&&$s.getOrCreateInstance(k).hide()}),Z($s),M($s);const Ku={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Qy=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Zy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,t0=(k,f)=>{const b=k.nodeName.toLowerCase();return f.includes(b)?Qy.has(b)?!!Zy.test(k.nodeValue):!0:f.filter(D=>D instanceof RegExp).some(D=>D.test(b))};function e0(k,f,b){if(!k.length)return k;if(b&&typeof b=="function")return b(k);const U=new window.DOMParser().parseFromString(k,"text/html"),it=[].concat(...U.body.querySelectorAll("*"));for(const et of it){const Tt=et.nodeName.toLowerCase();if(!Object.keys(f).includes(Tt)){et.remove();continue}const $e=[].concat(...et.attributes),Ke=[].concat(f["*"]||[],f[Tt]||[]);for(const ue of $e)t0(ue,Ke)||et.removeAttribute(ue.nodeName)}return U.body.innerHTML}const s0="TemplateFactory",n0={allowList:Ku,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},i0={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},o0={entry:"(string|element|function|null)",selector:"(string|element)"};class r0 extends q{constructor(f){super(),this._config=this._getConfig(f)}static get Default(){return n0}static get DefaultType(){return i0}static get NAME(){return s0}getContent(){return Object.values(this._config.content).map(f=>this._resolvePossibleFunction(f)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(f){return this._checkContent(f),this._config.content={...this._config.content,...f},this}toHtml(){const f=document.createElement("div");f.innerHTML=this._maybeSanitize(this._config.template);for(const[U,it]of Object.entries(this._config.content))this._setContent(f,it,U);const b=f.children[0],D=this._resolvePossibleFunction(this._config.extraClass);return D&&b.classList.add(...D.split(" ")),b}_typeCheckConfig(f){super._typeCheckConfig(f),this._checkContent(f.content)}_checkContent(f){for(const[b,D]of Object.entries(f))super._typeCheckConfig({selector:b,entry:D},o0)}_setContent(f,b,D){const U=V.findOne(D,f);if(U){if(b=this._resolvePossibleFunction(b),!b){U.remove();return}if(_(b)){this._putElementInTemplate(v(b),U);return}if(this._config.html){U.innerHTML=this._maybeSanitize(b);return}U.textContent=b}}_maybeSanitize(f){return this._config.sanitize?e0(f,this._config.allowList,this._config.sanitizeFn):f}_resolvePossibleFunction(f){return L(f,[this])}_putElementInTemplate(f,b){if(this._config.html){b.innerHTML="",b.append(f);return}b.textContent=f.textContent}}const a0="tooltip",l0=new Set(["sanitize","allowList","sanitizeFn"]),El="fade",c0="modal",Sr="show",d0=".tooltip-inner",Uu=`.${c0}`,Yu="hide.bs.modal",ro="hover",Al="focus",u0="click",h0="manual",f0="hide",p0="hidden",g0="show",m0="shown",_0="inserted",b0="click",v0="focusin",y0="focusout",x0="mouseenter",w0="mouseleave",S0={AUTO:"auto",TOP:"top",RIGHT:P()?"left":"right",BOTTOM:"bottom",LEFT:P()?"right":"left"},E0={allowList:Ku,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},A0={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class In extends X{constructor(f,b){if(typeof i>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(f,b),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return E0}static get DefaultType(){return A0}static get NAME(){return a0}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),j.off(this._element.closest(Uu),Yu,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const f=j.trigger(this._element,this.constructor.eventName(g0)),D=($(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(f.defaultPrevented||!D)return;this._disposePopper();const U=this._getTipElement();this._element.setAttribute("aria-describedby",U.getAttribute("id"));const{container:it}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(it.append(U),j.trigger(this._element,this.constructor.eventName(_0))),this._popper=this._createPopper(U),U.classList.add(Sr),"ontouchstart"in document.documentElement)for(const Tt of[].concat(...document.body.children))j.on(Tt,"mouseover",T);const et=()=>{j.trigger(this._element,this.constructor.eventName(m0)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(et,this.tip,this._isAnimated())}hide(){if(!this._isShown()||j.trigger(this._element,this.constructor.eventName(f0)).defaultPrevented)return;if(this._getTipElement().classList.remove(Sr),"ontouchstart"in document.documentElement)for(const U of[].concat(...document.body.children))j.off(U,"mouseover",T);this._activeTrigger[u0]=!1,this._activeTrigger[Al]=!1,this._activeTrigger[ro]=!1,this._isHovered=null;const D=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),j.trigger(this._element,this.constructor.eventName(p0)))};this._queueCallback(D,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(f){const b=this._getTemplateFactory(f).toHtml();if(!b)return null;b.classList.remove(El,Sr),b.classList.add(`bs-${this.constructor.NAME}-auto`);const D=p(this.constructor.NAME).toString();return b.setAttribute("id",D),this._isAnimated()&&b.classList.add(El),b}setContent(f){this._newContent=f,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(f){return this._templateFactory?this._templateFactory.changeContent(f):this._templateFactory=new r0({...this._config,content:f,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[d0]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(f){return this.constructor.getOrCreateInstance(f.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(El)}_isShown(){return this.tip&&this.tip.classList.contains(Sr)}_createPopper(f){const b=L(this._config.placement,[this,f,this._element]),D=S0[b.toUpperCase()];return i.createPopper(this._element,f,this._getPopperConfig(D))}_getOffset(){const{offset:f}=this._config;return typeof f=="string"?f.split(",").map(b=>Number.parseInt(b,10)):typeof f=="function"?b=>f(b,this._element):f}_resolvePossibleFunction(f){return L(f,[this._element])}_getPopperConfig(f){const b={placement:f,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:D=>{this._getTipElement().setAttribute("data-popper-placement",D.state.placement)}}]};return{...b,...L(this._config.popperConfig,[b])}}_setListeners(){const f=this._config.trigger.split(" ");for(const b of f)if(b==="click")j.on(this._element,this.constructor.eventName(b0),this._config.selector,D=>{this._initializeOnDelegatedTarget(D).toggle()});else if(b!==h0){const D=b===ro?this.constructor.eventName(x0):this.constructor.eventName(v0),U=b===ro?this.constructor.eventName(w0):this.constructor.eventName(y0);j.on(this._element,D,this._config.selector,it=>{const et=this._initializeOnDelegatedTarget(it);et._activeTrigger[it.type==="focusin"?Al:ro]=!0,et._enter()}),j.on(this._element,U,this._config.selector,it=>{const et=this._initializeOnDelegatedTarget(it);et._activeTrigger[it.type==="focusout"?Al:ro]=et._element.contains(it.relatedTarget),et._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},j.on(this._element.closest(Uu),Yu,this._hideModalHandler)}_fixTitle(){const f=this._element.getAttribute("title");f&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",f),this._element.setAttribute("data-bs-original-title",f),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(f,b){clearTimeout(this._timeout),this._timeout=setTimeout(f,b)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(f){const b=N.getDataAttributes(this._element);for(const D of Object.keys(b))l0.has(D)&&delete b[D];return f={...b,...typeof f=="object"&&f?f:{}},f=this._mergeConfigObj(f),f=this._configAfterMerge(f),this._typeCheckConfig(f),f}_configAfterMerge(f){return f.container=f.container===!1?document.body:v(f.container),typeof f.delay=="number"&&(f.delay={show:f.delay,hide:f.delay}),typeof f.title=="number"&&(f.title=f.title.toString()),typeof f.content=="number"&&(f.content=f.content.toString()),f}_getDelegateConfig(){const f={};for(const[b,D]of Object.entries(this._config))this.constructor.Default[b]!==D&&(f[b]=D);return f.selector=!1,f.trigger="manual",f}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(f){return this.each(function(){const b=In.getOrCreateInstance(this,f);if(typeof f=="string"){if(typeof b[f]>"u")throw new TypeError(`No method named "${f}"`);b[f]()}})}}M(In);const C0="popover",$0=".popover-header",P0=".popover-body",k0={...In.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},T0={...In.DefaultType,content:"(null|string|element|function)"};class Er extends In{static get Default(){return k0}static get DefaultType(){return T0}static get NAME(){return C0}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[$0]:this._getTitle(),[P0]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(f){return this.each(function(){const b=Er.getOrCreateInstance(this,f);if(typeof f=="string"){if(typeof b[f]>"u")throw new TypeError(`No method named "${f}"`);b[f]()}})}}M(Er);const M0="scrollspy",Cl=".bs.scrollspy",D0=".data-api",I0=`activate${Cl}`,qu=`click${Cl}`,O0=`load${Cl}${D0}`,L0="dropdown-item",gi="active",R0='[data-bs-spy="scroll"]',$l="[href]",N0=".nav, .list-group",Gu=".nav-link",F0=`${Gu}, .nav-item > ${Gu}, .list-group-item`,B0=".dropdown",V0=".dropdown-toggle",j0={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},H0={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ao extends X{constructor(f,b){super(f,b),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return j0}static get DefaultType(){return H0}static get NAME(){return M0}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const f of this._observableSections.values())this._observer.observe(f)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(f){return f.target=v(f.target)||document.body,f.rootMargin=f.offset?`${f.offset}px 0px -30%`:f.rootMargin,typeof f.threshold=="string"&&(f.threshold=f.threshold.split(",").map(b=>Number.parseFloat(b))),f}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(j.off(this._config.target,qu),j.on(this._config.target,qu,$l,f=>{const b=this._observableSections.get(f.target.hash);if(b){f.preventDefault();const D=this._rootElement||window,U=b.offsetTop-this._element.offsetTop;if(D.scrollTo){D.scrollTo({top:U,behavior:"smooth"});return}D.scrollTop=U}}))}_getNewObserver(){const f={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(b=>this._observerCallback(b),f)}_observerCallback(f){const b=et=>this._targetLinks.get(`#${et.target.id}`),D=et=>{this._previousScrollData.visibleEntryTop=et.target.offsetTop,this._process(b(et))},U=(this._rootElement||document.documentElement).scrollTop,it=U>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=U;for(const et of f){if(!et.isIntersecting){this._activeTarget=null,this._clearActiveClass(b(et));continue}const Tt=et.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(it&&Tt){if(D(et),!U)return;continue}!it&&!Tt&&D(et)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const f=V.find($l,this._config.target);for(const b of f){if(!b.hash||S(b))continue;const D=V.findOne(decodeURI(b.hash),this._element);w(D)&&(this._targetLinks.set(decodeURI(b.hash),b),this._observableSections.set(b.hash,D))}}_process(f){this._activeTarget!==f&&(this._clearActiveClass(this._config.target),this._activeTarget=f,f.classList.add(gi),this._activateParents(f),j.trigger(this._element,I0,{relatedTarget:f}))}_activateParents(f){if(f.classList.contains(L0)){V.findOne(V0,f.closest(B0)).classList.add(gi);return}for(const b of V.parents(f,N0))for(const D of V.prev(b,F0))D.classList.add(gi)}_clearActiveClass(f){f.classList.remove(gi);const b=V.find(`${$l}.${gi}`,f);for(const D of b)D.classList.remove(gi)}static jQueryInterface(f){return this.each(function(){const b=ao.getOrCreateInstance(this,f);if(typeof f=="string"){if(b[f]===void 0||f.startsWith("_")||f==="constructor")throw new TypeError(`No method named "${f}"`);b[f]()}})}}j.on(window,O0,()=>{for(const k of V.find(R0))ao.getOrCreateInstance(k)}),M(ao);const W0="tab",On=".bs.tab",z0=`hide${On}`,K0=`hidden${On}`,U0=`show${On}`,Y0=`shown${On}`,q0=`click${On}`,G0=`keydown${On}`,J0=`load${On}`,X0="ArrowLeft",Ju="ArrowRight",Q0="ArrowUp",Xu="ArrowDown",Pl="Home",Qu="End",Ln="active",Zu="fade",kl="show",Z0="dropdown",th=".dropdown-toggle",t1=".dropdown-menu",Tl=`:not(${th})`,e1='.list-group, .nav, [role="tablist"]',s1=".nav-item, .list-group-item",n1=`.nav-link${Tl}, .list-group-item${Tl}, [role="tab"]${Tl}`,eh='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ml=`${n1}, ${eh}`,i1=`.${Ln}[data-bs-toggle="tab"], .${Ln}[data-bs-toggle="pill"], .${Ln}[data-bs-toggle="list"]`;class Rn extends X{constructor(f){super(f),this._parent=this._element.closest(e1),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),j.on(this._element,G0,b=>this._keydown(b)))}static get NAME(){return W0}show(){const f=this._element;if(this._elemIsActive(f))return;const b=this._getActiveElem(),D=b?j.trigger(b,z0,{relatedTarget:f}):null;j.trigger(f,U0,{relatedTarget:b}).defaultPrevented||D&&D.defaultPrevented||(this._deactivate(b,f),this._activate(f,b))}_activate(f,b){if(!f)return;f.classList.add(Ln),this._activate(V.getElementFromSelector(f));const D=()=>{if(f.getAttribute("role")!=="tab"){f.classList.add(kl);return}f.removeAttribute("tabindex"),f.setAttribute("aria-selected",!0),this._toggleDropDown(f,!0),j.trigger(f,Y0,{relatedTarget:b})};this._queueCallback(D,f,f.classList.contains(Zu))}_deactivate(f,b){if(!f)return;f.classList.remove(Ln),f.blur(),this._deactivate(V.getElementFromSelector(f));const D=()=>{if(f.getAttribute("role")!=="tab"){f.classList.remove(kl);return}f.setAttribute("aria-selected",!1),f.setAttribute("tabindex","-1"),this._toggleDropDown(f,!1),j.trigger(f,K0,{relatedTarget:b})};this._queueCallback(D,f,f.classList.contains(Zu))}_keydown(f){if(![X0,Ju,Q0,Xu,Pl,Qu].includes(f.key))return;f.stopPropagation(),f.preventDefault();const b=this._getChildren().filter(U=>!S(U));let D;if([Pl,Qu].includes(f.key))D=b[f.key===Pl?0:b.length-1];else{const U=[Ju,Xu].includes(f.key);D=Q(b,f.target,U,!0)}D&&(D.focus({preventScroll:!0}),Rn.getOrCreateInstance(D).show())}_getChildren(){return V.find(Ml,this._parent)}_getActiveElem(){return this._getChildren().find(f=>this._elemIsActive(f))||null}_setInitialAttributes(f,b){this._setAttributeIfNotExists(f,"role","tablist");for(const D of b)this._setInitialAttributesOnChild(D)}_setInitialAttributesOnChild(f){f=this._getInnerElement(f);const b=this._elemIsActive(f),D=this._getOuterElement(f);f.setAttribute("aria-selected",b),D!==f&&this._setAttributeIfNotExists(D,"role","presentation"),b||f.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(f,"role","tab"),this._setInitialAttributesOnTargetPanel(f)}_setInitialAttributesOnTargetPanel(f){const b=V.getElementFromSelector(f);b&&(this._setAttributeIfNotExists(b,"role","tabpanel"),f.id&&this._setAttributeIfNotExists(b,"aria-labelledby",`${f.id}`))}_toggleDropDown(f,b){const D=this._getOuterElement(f);if(!D.classList.contains(Z0))return;const U=(it,et)=>{const Tt=V.findOne(it,D);Tt&&Tt.classList.toggle(et,b)};U(th,Ln),U(t1,kl),D.setAttribute("aria-expanded",b)}_setAttributeIfNotExists(f,b,D){f.hasAttribute(b)||f.setAttribute(b,D)}_elemIsActive(f){return f.classList.contains(Ln)}_getInnerElement(f){return f.matches(Ml)?f:V.findOne(Ml,f)}_getOuterElement(f){return f.closest(s1)||f}static jQueryInterface(f){return this.each(function(){const b=Rn.getOrCreateInstance(this);if(typeof f=="string"){if(b[f]===void 0||f.startsWith("_")||f==="constructor")throw new TypeError(`No method named "${f}"`);b[f]()}})}}j.on(document,q0,eh,function(k){["A","AREA"].includes(this.tagName)&&k.preventDefault(),!S(this)&&Rn.getOrCreateInstance(this).show()}),j.on(window,J0,()=>{for(const k of V.find(i1))Rn.getOrCreateInstance(k)}),M(Rn);const o1="toast",qs=".bs.toast",r1=`mouseover${qs}`,a1=`mouseout${qs}`,l1=`focusin${qs}`,c1=`focusout${qs}`,d1=`hide${qs}`,u1=`hidden${qs}`,h1=`show${qs}`,f1=`shown${qs}`,p1="fade",sh="hide",Ar="show",Cr="showing",g1={animation:"boolean",autohide:"boolean",delay:"number"},m1={animation:!0,autohide:!0,delay:5e3};class lo extends X{constructor(f,b){super(f,b),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return m1}static get DefaultType(){return g1}static get NAME(){return o1}show(){if(j.trigger(this._element,h1).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(p1);const b=()=>{this._element.classList.remove(Cr),j.trigger(this._element,f1),this._maybeScheduleHide()};this._element.classList.remove(sh),y(this._element),this._element.classList.add(Ar,Cr),this._queueCallback(b,this._element,this._config.animation)}hide(){if(!this.isShown()||j.trigger(this._element,d1).defaultPrevented)return;const b=()=>{this._element.classList.add(sh),this._element.classList.remove(Cr,Ar),j.trigger(this._element,u1)};this._element.classList.add(Cr),this._queueCallback(b,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Ar),super.dispose()}isShown(){return this._element.classList.contains(Ar)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(f,b){switch(f.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=b;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=b;break}}if(b){this._clearTimeout();return}const D=f.relatedTarget;this._element===D||this._element.contains(D)||this._maybeScheduleHide()}_setListeners(){j.on(this._element,r1,f=>this._onInteraction(f,!0)),j.on(this._element,a1,f=>this._onInteraction(f,!1)),j.on(this._element,l1,f=>this._onInteraction(f,!0)),j.on(this._element,c1,f=>this._onInteraction(f,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(f){return this.each(function(){const b=lo.getOrCreateInstance(this,f);if(typeof f=="string"){if(typeof b[f]>"u")throw new TypeError(`No method named "${f}"`);b[f](this)}})}}return Z(lo),M(lo),{Alert:Rt,Button:ge,Carousel:ui,Collapse:fi,Dropdown:is,Modal:Dn,Offcanvas:$s,Popover:Er,ScrollSpy:ao,Tab:Rn,Toast:lo,Tooltip:In}})})(w1);/** + */(function(e,t){(function(n,s){e.exports=s(iA)})(hb,function(n){function s(z){const m=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(z){for(const S in z)if(S!=="default"){const K=Object.getOwnPropertyDescriptor(z,S);Object.defineProperty(m,S,K.get?K:{enumerable:!0,get:()=>z[S]})}}return m.default=z,Object.freeze(m)}const i=s(n),o=new Map,a={set(z,m,S){o.has(z)||o.set(z,new Map);const K=o.get(z);if(!K.has(m)&&K.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(K.keys())[0]}.`);return}K.set(m,S)},get(z,m){return o.has(z)&&o.get(z).get(m)||null},remove(z,m){if(!o.has(z))return;const S=o.get(z);S.delete(m),S.size===0&&o.delete(z)}},r=1e6,l=1e3,c="transitionend",u=z=>(z&&window.CSS&&window.CSS.escape&&(z=z.replace(/#([^\s"#']+)/g,(m,S)=>`#${CSS.escape(S)}`)),z),d=z=>z==null?`${z}`:Object.prototype.toString.call(z).match(/\s([a-z]+)/i)[1].toLowerCase(),f=z=>{do z+=Math.floor(Math.random()*r);while(document.getElementById(z));return z},p=z=>{if(!z)return 0;let{transitionDuration:m,transitionDelay:S}=window.getComputedStyle(z);const K=Number.parseFloat(m),me=Number.parseFloat(S);return!K&&!me?0:(m=m.split(",")[0],S=S.split(",")[0],(Number.parseFloat(m)+Number.parseFloat(S))*l)},g=z=>{z.dispatchEvent(new Event(c))},_=z=>!z||typeof z!="object"?!1:(typeof z.jquery<"u"&&(z=z[0]),typeof z.nodeType<"u"),v=z=>_(z)?z.jquery?z[0]:z:typeof z=="string"&&z.length>0?document.querySelector(u(z)):null,w=z=>{if(!_(z)||z.getClientRects().length===0)return!1;const m=getComputedStyle(z).getPropertyValue("visibility")==="visible",S=z.closest("details:not([open])");if(!S)return m;if(S!==z){const K=z.closest("summary");if(K&&K.parentNode!==S||K===null)return!1}return m},A=z=>!z||z.nodeType!==Node.ELEMENT_NODE||z.classList.contains("disabled")?!0:typeof z.disabled<"u"?z.disabled:z.hasAttribute("disabled")&&z.getAttribute("disabled")!=="false",$=z=>{if(!document.documentElement.attachShadow)return null;if(typeof z.getRootNode=="function"){const m=z.getRootNode();return m instanceof ShadowRoot?m:null}return z instanceof ShadowRoot?z:z.parentNode?$(z.parentNode):null},M=()=>{},k=z=>{z.offsetHeight},y=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,x=[],E=z=>{document.readyState==="loading"?(x.length||document.addEventListener("DOMContentLoaded",()=>{for(const m of x)m()}),x.push(z)):z()},P=()=>document.documentElement.dir==="rtl",C=z=>{E(()=>{const m=y();if(m){const S=z.NAME,K=m.fn[S];m.fn[S]=z.jQueryInterface,m.fn[S].Constructor=z,m.fn[S].noConflict=()=>(m.fn[S]=K,z.jQueryInterface)}})},F=(z,m=[],S=z)=>typeof z=="function"?z(...m):S,G=(z,m,S=!0)=>{if(!S){F(z);return}const me=p(m)+5;let Ce=!1;const Ee=({target:Xe})=>{Xe===m&&(Ce=!0,m.removeEventListener(c,Ee),F(z))};m.addEventListener(c,Ee),setTimeout(()=>{Ce||g(m)},me)},ae=(z,m,S,K)=>{const me=z.length;let Ce=z.indexOf(m);return Ce===-1?!S&&K?z[me-1]:z[0]:(Ce+=S?1:-1,K&&(Ce=(Ce+me)%me),z[Math.max(0,Math.min(Ce,me-1))])},Y=/[^.]*(?=\..*)\.|.*/,L=/\..*/,O=/::\d+$/,V={};let Q=1;const Z={mouseenter:"mouseover",mouseleave:"mouseout"},le=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ye(z,m){return m&&`${m}::${Q++}`||z.uidEvent||Q++}function U(z){const m=ye(z);return z.uidEvent=m,V[m]=V[m]||{},V[m]}function X(z,m){return function S(K){return fe(K,{delegateTarget:z}),S.oneOff&&N.off(z,K.type,m),m.apply(z,[K])}}function I(z,m,S){return function K(me){const Ce=z.querySelectorAll(m);for(let{target:Ee}=me;Ee&&Ee!==this;Ee=Ee.parentNode)for(const Xe of Ce)if(Xe===Ee)return fe(me,{delegateTarget:Ee}),K.oneOff&&N.off(z,me.type,m,S),S.apply(Ee,[me])}}function ee(z,m,S=null){return Object.values(z).find(K=>K.callable===m&&K.delegationSelector===S)}function oe(z,m,S){const K=typeof m=="string",me=K?S:m||S;let Ce=ke(z);return le.has(Ce)||(Ce=z),[K,me,Ce]}function T(z,m,S,K,me){if(typeof m!="string"||!z)return;let[Ce,Ee,Xe]=oe(m,S,K);m in Z&&(Ee=(uS=>function(Uo){if(!Uo.relatedTarget||Uo.relatedTarget!==Uo.delegateTarget&&!Uo.delegateTarget.contains(Uo.relatedTarget))return uS.call(this,Uo)})(Ee));const wn=U(z),jn=wn[Xe]||(wn[Xe]={}),qt=ee(jn,Ee,Ce?S:null);if(qt){qt.oneOff=qt.oneOff&&me;return}const gs=ye(Ee,m.replace(Y,"")),es=Ce?I(z,S,Ee):X(z,Ee);es.delegationSelector=Ce?S:null,es.callable=Ee,es.oneOff=me,es.uidEvent=gs,jn[gs]=es,z.addEventListener(Xe,es,Ce)}function se(z,m,S,K,me){const Ce=ee(m[S],K,me);Ce&&(z.removeEventListener(S,Ce,!!me),delete m[S][Ce.uidEvent])}function de(z,m,S,K){const me=m[S]||{};for(const[Ce,Ee]of Object.entries(me))Ce.includes(K)&&se(z,m,S,Ee.callable,Ee.delegationSelector)}function ke(z){return z=z.replace(L,""),Z[z]||z}const N={on(z,m,S,K){T(z,m,S,K,!1)},one(z,m,S,K){T(z,m,S,K,!0)},off(z,m,S,K){if(typeof m!="string"||!z)return;const[me,Ce,Ee]=oe(m,S,K),Xe=Ee!==m,wn=U(z),jn=wn[Ee]||{},qt=m.startsWith(".");if(typeof Ce<"u"){if(!Object.keys(jn).length)return;se(z,wn,Ee,Ce,me?S:null);return}if(qt)for(const gs of Object.keys(wn))de(z,wn,gs,m.slice(1));for(const[gs,es]of Object.entries(jn)){const kl=gs.replace(O,"");(!Xe||m.includes(kl))&&se(z,wn,Ee,es.callable,es.delegationSelector)}},trigger(z,m,S){if(typeof m!="string"||!z)return null;const K=y(),me=ke(m),Ce=m!==me;let Ee=null,Xe=!0,wn=!0,jn=!1;Ce&&K&&(Ee=K.Event(m,S),K(z).trigger(Ee),Xe=!Ee.isPropagationStopped(),wn=!Ee.isImmediatePropagationStopped(),jn=Ee.isDefaultPrevented());const qt=fe(new Event(m,{bubbles:Xe,cancelable:!0}),S);return jn&&qt.preventDefault(),wn&&z.dispatchEvent(qt),qt.defaultPrevented&&Ee&&Ee.preventDefault(),qt}};function fe(z,m={}){for(const[S,K]of Object.entries(m))try{z[S]=K}catch{Object.defineProperty(z,S,{configurable:!0,get(){return K}})}return z}function b(z){if(z==="true")return!0;if(z==="false")return!1;if(z===Number(z).toString())return Number(z);if(z===""||z==="null")return null;if(typeof z!="string")return z;try{return JSON.parse(decodeURIComponent(z))}catch{return z}}function D(z){return z.replace(/[A-Z]/g,m=>`-${m.toLowerCase()}`)}const H={setDataAttribute(z,m,S){z.setAttribute(`data-bs-${D(m)}`,S)},removeDataAttribute(z,m){z.removeAttribute(`data-bs-${D(m)}`)},getDataAttributes(z){if(!z)return{};const m={},S=Object.keys(z.dataset).filter(K=>K.startsWith("bs")&&!K.startsWith("bsConfig"));for(const K of S){let me=K.replace(/^bs/,"");me=me.charAt(0).toLowerCase()+me.slice(1,me.length),m[me]=b(z.dataset[K])}return m},getDataAttribute(z,m){return b(z.getAttribute(`data-bs-${D(m)}`))}};class W{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(m){return m=this._mergeConfigObj(m),m=this._configAfterMerge(m),this._typeCheckConfig(m),m}_configAfterMerge(m){return m}_mergeConfigObj(m,S){const K=_(S)?H.getDataAttribute(S,"config"):{};return{...this.constructor.Default,...typeof K=="object"?K:{},..._(S)?H.getDataAttributes(S):{},...typeof m=="object"?m:{}}}_typeCheckConfig(m,S=this.constructor.DefaultType){for(const[K,me]of Object.entries(S)){const Ce=m[K],Ee=_(Ce)?"element":d(Ce);if(!new RegExp(me).test(Ee))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${K}" provided type "${Ee}" but expected type "${me}".`)}}}const ie="5.3.2";class j extends W{constructor(m,S){super(),m=v(m),m&&(this._element=m,this._config=this._getConfig(S),a.set(this._element,this.constructor.DATA_KEY,this))}dispose(){a.remove(this._element,this.constructor.DATA_KEY),N.off(this._element,this.constructor.EVENT_KEY);for(const m of Object.getOwnPropertyNames(this))this[m]=null}_queueCallback(m,S,K=!0){G(m,S,K)}_getConfig(m){return m=this._mergeConfigObj(m,this._element),m=this._configAfterMerge(m),this._typeCheckConfig(m),m}static getInstance(m){return a.get(v(m),this.DATA_KEY)}static getOrCreateInstance(m,S={}){return this.getInstance(m)||new this(m,typeof S=="object"?S:null)}static get VERSION(){return ie}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(m){return`${m}${this.EVENT_KEY}`}}const te=z=>{let m=z.getAttribute("data-bs-target");if(!m||m==="#"){let S=z.getAttribute("href");if(!S||!S.includes("#")&&!S.startsWith("."))return null;S.includes("#")&&!S.startsWith("#")&&(S=`#${S.split("#")[1]}`),m=S&&S!=="#"?u(S.trim()):null}return m},J={find(z,m=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(m,z))},findOne(z,m=document.documentElement){return Element.prototype.querySelector.call(m,z)},children(z,m){return[].concat(...z.children).filter(S=>S.matches(m))},parents(z,m){const S=[];let K=z.parentNode.closest(m);for(;K;)S.push(K),K=K.parentNode.closest(m);return S},prev(z,m){let S=z.previousElementSibling;for(;S;){if(S.matches(m))return[S];S=S.previousElementSibling}return[]},next(z,m){let S=z.nextElementSibling;for(;S;){if(S.matches(m))return[S];S=S.nextElementSibling}return[]},focusableChildren(z){const m=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(S=>`${S}:not([tabindex^="-"])`).join(",");return this.find(m,z).filter(S=>!A(S)&&w(S))},getSelectorFromElement(z){const m=te(z);return m&&J.findOne(m)?m:null},getElementFromSelector(z){const m=te(z);return m?J.findOne(m):null},getMultipleElementsFromSelector(z){const m=te(z);return m?J.find(m):[]}},he=(z,m="hide")=>{const S=`click.dismiss${z.EVENT_KEY}`,K=z.NAME;N.on(document,S,`[data-bs-dismiss="${K}"]`,function(me){if(["A","AREA"].includes(this.tagName)&&me.preventDefault(),A(this))return;const Ce=J.getElementFromSelector(this)||this.closest(`.${K}`);z.getOrCreateInstance(Ce)[m]()})},ge="alert",Re=".bs.alert",Oe=`close${Re}`,He=`closed${Re}`,Ve="fade",et="show";class Je extends j{static get NAME(){return ge}close(){if(N.trigger(this._element,Oe).defaultPrevented)return;this._element.classList.remove(et);const S=this._element.classList.contains(Ve);this._queueCallback(()=>this._destroyElement(),this._element,S)}_destroyElement(){this._element.remove(),N.trigger(this._element,He),this.dispose()}static jQueryInterface(m){return this.each(function(){const S=Je.getOrCreateInstance(this);if(typeof m=="string"){if(S[m]===void 0||m.startsWith("_")||m==="constructor")throw new TypeError(`No method named "${m}"`);S[m](this)}})}}he(Je,"close"),C(Je);const mt="button",Vn=".bs.button",ii=".data-api",Qn="active",Os='[data-bs-toggle="button"]',Vt=`click${Vn}${ii}`;class ne extends j{static get NAME(){return mt}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Qn))}static jQueryInterface(m){return this.each(function(){const S=ne.getOrCreateInstance(this);m==="toggle"&&S[m]()})}}N.on(document,Vt,Os,z=>{z.preventDefault();const m=z.target.closest(Os);ne.getOrCreateInstance(m).toggle()}),C(ne);const Se="swipe",ue=".bs.swipe",Ae=`touchstart${ue}`,De=`touchmove${ue}`,tn=`touchend${ue}`,yn=`pointerdown${ue}`,Is=`pointerup${ue}`,Fo="touch",qi="pen",ms="pointer-event",Va=40,$u={endCallback:null,leftCallback:null,rightCallback:null},Y1={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class hl extends W{constructor(m,S){super(),this._element=m,!(!m||!hl.isSupported())&&(this._config=this._getConfig(S),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return $u}static get DefaultType(){return Y1}static get NAME(){return Se}dispose(){N.off(this._element,ue)}_start(m){if(!this._supportPointerEvents){this._deltaX=m.touches[0].clientX;return}this._eventIsPointerPenTouch(m)&&(this._deltaX=m.clientX)}_end(m){this._eventIsPointerPenTouch(m)&&(this._deltaX=m.clientX-this._deltaX),this._handleSwipe(),F(this._config.endCallback)}_move(m){this._deltaX=m.touches&&m.touches.length>1?0:m.touches[0].clientX-this._deltaX}_handleSwipe(){const m=Math.abs(this._deltaX);if(m<=Va)return;const S=m/this._deltaX;this._deltaX=0,S&&F(S>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(N.on(this._element,yn,m=>this._start(m)),N.on(this._element,Is,m=>this._end(m)),this._element.classList.add(ms)):(N.on(this._element,Ae,m=>this._start(m)),N.on(this._element,De,m=>this._move(m)),N.on(this._element,tn,m=>this._end(m)))}_eventIsPointerPenTouch(m){return this._supportPointerEvents&&(m.pointerType===qi||m.pointerType===Fo)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const U1="carousel",oi=".bs.carousel",up=".data-api",K1="ArrowLeft",q1="ArrowRight",G1=500,Ha="next",Bo="prev",Vo="left",fl="right",J1=`slide${oi}`,Eu=`slid${oi}`,X1=`keydown${oi}`,Q1=`mouseenter${oi}`,Z1=`mouseleave${oi}`,ew=`dragstart${oi}`,tw=`load${oi}${up}`,nw=`click${oi}${up}`,dp="carousel",pl="active",sw="slide",iw="carousel-item-end",ow="carousel-item-start",aw="carousel-item-next",rw="carousel-item-prev",hp=".active",fp=".carousel-item",lw=hp+fp,cw=".carousel-item img",uw=".carousel-indicators",dw="[data-bs-slide], [data-bs-slide-to]",hw='[data-bs-ride="carousel"]',fw={[K1]:fl,[q1]:Vo},pw={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},mw={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ho extends j{constructor(m,S){super(m,S),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=J.findOne(uw,this._element),this._addEventListeners(),this._config.ride===dp&&this.cycle()}static get Default(){return pw}static get DefaultType(){return mw}static get NAME(){return U1}next(){this._slide(Ha)}nextWhenVisible(){!document.hidden&&w(this._element)&&this.next()}prev(){this._slide(Bo)}pause(){this._isSliding&&g(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){N.one(this._element,Eu,()=>this.cycle());return}this.cycle()}}to(m){const S=this._getItems();if(m>S.length-1||m<0)return;if(this._isSliding){N.one(this._element,Eu,()=>this.to(m));return}const K=this._getItemIndex(this._getActive());if(K===m)return;const me=m>K?Ha:Bo;this._slide(me,S[m])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(m){return m.defaultInterval=m.interval,m}_addEventListeners(){this._config.keyboard&&N.on(this._element,X1,m=>this._keydown(m)),this._config.pause==="hover"&&(N.on(this._element,Q1,()=>this.pause()),N.on(this._element,Z1,()=>this._maybeEnableCycle())),this._config.touch&&hl.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const K of J.find(cw,this._element))N.on(K,ew,me=>me.preventDefault());const S={leftCallback:()=>this._slide(this._directionToOrder(Vo)),rightCallback:()=>this._slide(this._directionToOrder(fl)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),G1+this._config.interval))}};this._swipeHelper=new hl(this._element,S)}_keydown(m){if(/input|textarea/i.test(m.target.tagName))return;const S=fw[m.key];S&&(m.preventDefault(),this._slide(this._directionToOrder(S)))}_getItemIndex(m){return this._getItems().indexOf(m)}_setActiveIndicatorElement(m){if(!this._indicatorsElement)return;const S=J.findOne(hp,this._indicatorsElement);S.classList.remove(pl),S.removeAttribute("aria-current");const K=J.findOne(`[data-bs-slide-to="${m}"]`,this._indicatorsElement);K&&(K.classList.add(pl),K.setAttribute("aria-current","true"))}_updateInterval(){const m=this._activeElement||this._getActive();if(!m)return;const S=Number.parseInt(m.getAttribute("data-bs-interval"),10);this._config.interval=S||this._config.defaultInterval}_slide(m,S=null){if(this._isSliding)return;const K=this._getActive(),me=m===Ha,Ce=S||ae(this._getItems(),K,me,this._config.wrap);if(Ce===K)return;const Ee=this._getItemIndex(Ce),Xe=kl=>N.trigger(this._element,kl,{relatedTarget:Ce,direction:this._orderToDirection(m),from:this._getItemIndex(K),to:Ee});if(Xe(J1).defaultPrevented||!K||!Ce)return;const jn=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(Ee),this._activeElement=Ce;const qt=me?ow:iw,gs=me?aw:rw;Ce.classList.add(gs),k(Ce),K.classList.add(qt),Ce.classList.add(qt);const es=()=>{Ce.classList.remove(qt,gs),Ce.classList.add(pl),K.classList.remove(pl,gs,qt),this._isSliding=!1,Xe(Eu)};this._queueCallback(es,K,this._isAnimated()),jn&&this.cycle()}_isAnimated(){return this._element.classList.contains(sw)}_getActive(){return J.findOne(lw,this._element)}_getItems(){return J.find(fp,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(m){return P()?m===Vo?Bo:Ha:m===Vo?Ha:Bo}_orderToDirection(m){return P()?m===Bo?Vo:fl:m===Bo?fl:Vo}static jQueryInterface(m){return this.each(function(){const S=Ho.getOrCreateInstance(this,m);if(typeof m=="number"){S.to(m);return}if(typeof m=="string"){if(S[m]===void 0||m.startsWith("_")||m==="constructor")throw new TypeError(`No method named "${m}"`);S[m]()}})}}N.on(document,nw,dw,function(z){const m=J.getElementFromSelector(this);if(!m||!m.classList.contains(dp))return;z.preventDefault();const S=Ho.getOrCreateInstance(m),K=this.getAttribute("data-bs-slide-to");if(K){S.to(K),S._maybeEnableCycle();return}if(H.getDataAttribute(this,"slide")==="next"){S.next(),S._maybeEnableCycle();return}S.prev(),S._maybeEnableCycle()}),N.on(window,tw,()=>{const z=J.find(hw);for(const m of z)Ho.getOrCreateInstance(m)}),C(Ho);const gw="collapse",ja=".bs.collapse",_w=".data-api",bw=`show${ja}`,vw=`shown${ja}`,yw=`hide${ja}`,ww=`hidden${ja}`,xw=`click${ja}${_w}`,Cu="show",jo="collapse",ml="collapsing",kw="collapsed",Sw=`:scope .${jo} .${jo}`,Aw="collapse-horizontal",$w="width",Ew="height",Cw=".collapse.show, .collapse.collapsing",Pu='[data-bs-toggle="collapse"]',Pw={parent:null,toggle:!0},Tw={parent:"(null|element)",toggle:"boolean"};class Wo extends j{constructor(m,S){super(m,S),this._isTransitioning=!1,this._triggerArray=[];const K=J.find(Pu);for(const me of K){const Ce=J.getSelectorFromElement(me),Ee=J.find(Ce).filter(Xe=>Xe===this._element);Ce!==null&&Ee.length&&this._triggerArray.push(me)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Pw}static get DefaultType(){return Tw}static get NAME(){return gw}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let m=[];if(this._config.parent&&(m=this._getFirstLevelChildren(Cw).filter(Xe=>Xe!==this._element).map(Xe=>Wo.getOrCreateInstance(Xe,{toggle:!1}))),m.length&&m[0]._isTransitioning||N.trigger(this._element,bw).defaultPrevented)return;for(const Xe of m)Xe.hide();const K=this._getDimension();this._element.classList.remove(jo),this._element.classList.add(ml),this._element.style[K]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const me=()=>{this._isTransitioning=!1,this._element.classList.remove(ml),this._element.classList.add(jo,Cu),this._element.style[K]="",N.trigger(this._element,vw)},Ee=`scroll${K[0].toUpperCase()+K.slice(1)}`;this._queueCallback(me,this._element,!0),this._element.style[K]=`${this._element[Ee]}px`}hide(){if(this._isTransitioning||!this._isShown()||N.trigger(this._element,yw).defaultPrevented)return;const S=this._getDimension();this._element.style[S]=`${this._element.getBoundingClientRect()[S]}px`,k(this._element),this._element.classList.add(ml),this._element.classList.remove(jo,Cu);for(const me of this._triggerArray){const Ce=J.getElementFromSelector(me);Ce&&!this._isShown(Ce)&&this._addAriaAndCollapsedClass([me],!1)}this._isTransitioning=!0;const K=()=>{this._isTransitioning=!1,this._element.classList.remove(ml),this._element.classList.add(jo),N.trigger(this._element,ww)};this._element.style[S]="",this._queueCallback(K,this._element,!0)}_isShown(m=this._element){return m.classList.contains(Cu)}_configAfterMerge(m){return m.toggle=!!m.toggle,m.parent=v(m.parent),m}_getDimension(){return this._element.classList.contains(Aw)?$w:Ew}_initializeChildren(){if(!this._config.parent)return;const m=this._getFirstLevelChildren(Pu);for(const S of m){const K=J.getElementFromSelector(S);K&&this._addAriaAndCollapsedClass([S],this._isShown(K))}}_getFirstLevelChildren(m){const S=J.find(Sw,this._config.parent);return J.find(m,this._config.parent).filter(K=>!S.includes(K))}_addAriaAndCollapsedClass(m,S){if(m.length)for(const K of m)K.classList.toggle(kw,!S),K.setAttribute("aria-expanded",S)}static jQueryInterface(m){const S={};return typeof m=="string"&&/show|hide/.test(m)&&(S.toggle=!1),this.each(function(){const K=Wo.getOrCreateInstance(this,S);if(typeof m=="string"){if(typeof K[m]>"u")throw new TypeError(`No method named "${m}"`);K[m]()}})}}N.on(document,xw,Pu,function(z){(z.target.tagName==="A"||z.delegateTarget&&z.delegateTarget.tagName==="A")&&z.preventDefault();for(const m of J.getMultipleElementsFromSelector(this))Wo.getOrCreateInstance(m,{toggle:!1}).toggle()}),C(Wo);const pp="dropdown",Gi=".bs.dropdown",Tu=".data-api",Mw="Escape",mp="Tab",Dw="ArrowUp",gp="ArrowDown",Ow=2,Iw=`hide${Gi}`,Rw=`hidden${Gi}`,Lw=`show${Gi}`,Nw=`shown${Gi}`,_p=`click${Gi}${Tu}`,bp=`keydown${Gi}${Tu}`,Fw=`keyup${Gi}${Tu}`,zo="show",Bw="dropup",Vw="dropend",Hw="dropstart",jw="dropup-center",Ww="dropdown-center",Ji='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',zw=`${Ji}.${zo}`,gl=".dropdown-menu",Yw=".navbar",Uw=".navbar-nav",Kw=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",qw=P()?"top-end":"top-start",Gw=P()?"top-start":"top-end",Jw=P()?"bottom-end":"bottom-start",Xw=P()?"bottom-start":"bottom-end",Qw=P()?"left-start":"right-start",Zw=P()?"right-start":"left-start",ex="top",tx="bottom",nx={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},sx={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Zn extends j{constructor(m,S){super(m,S),this._popper=null,this._parent=this._element.parentNode,this._menu=J.next(this._element,gl)[0]||J.prev(this._element,gl)[0]||J.findOne(gl,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return nx}static get DefaultType(){return sx}static get NAME(){return pp}toggle(){return this._isShown()?this.hide():this.show()}show(){if(A(this._element)||this._isShown())return;const m={relatedTarget:this._element};if(!N.trigger(this._element,Lw,m).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Uw))for(const K of[].concat(...document.body.children))N.on(K,"mouseover",M);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(zo),this._element.classList.add(zo),N.trigger(this._element,Nw,m)}}hide(){if(A(this._element)||!this._isShown())return;const m={relatedTarget:this._element};this._completeHide(m)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(m){if(!N.trigger(this._element,Iw,m).defaultPrevented){if("ontouchstart"in document.documentElement)for(const K of[].concat(...document.body.children))N.off(K,"mouseover",M);this._popper&&this._popper.destroy(),this._menu.classList.remove(zo),this._element.classList.remove(zo),this._element.setAttribute("aria-expanded","false"),H.removeDataAttribute(this._menu,"popper"),N.trigger(this._element,Rw,m)}}_getConfig(m){if(m=super._getConfig(m),typeof m.reference=="object"&&!_(m.reference)&&typeof m.reference.getBoundingClientRect!="function")throw new TypeError(`${pp.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return m}_createPopper(){if(typeof i>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let m=this._element;this._config.reference==="parent"?m=this._parent:_(this._config.reference)?m=v(this._config.reference):typeof this._config.reference=="object"&&(m=this._config.reference);const S=this._getPopperConfig();this._popper=i.createPopper(m,this._menu,S)}_isShown(){return this._menu.classList.contains(zo)}_getPlacement(){const m=this._parent;if(m.classList.contains(Vw))return Qw;if(m.classList.contains(Hw))return Zw;if(m.classList.contains(jw))return ex;if(m.classList.contains(Ww))return tx;const S=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return m.classList.contains(Bw)?S?Gw:qw:S?Xw:Jw}_detectNavbar(){return this._element.closest(Yw)!==null}_getOffset(){const{offset:m}=this._config;return typeof m=="string"?m.split(",").map(S=>Number.parseInt(S,10)):typeof m=="function"?S=>m(S,this._element):m}_getPopperConfig(){const m={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(H.setDataAttribute(this._menu,"popper","static"),m.modifiers=[{name:"applyStyles",enabled:!1}]),{...m,...F(this._config.popperConfig,[m])}}_selectMenuItem({key:m,target:S}){const K=J.find(Kw,this._menu).filter(me=>w(me));K.length&&ae(K,S,m===gp,!K.includes(S)).focus()}static jQueryInterface(m){return this.each(function(){const S=Zn.getOrCreateInstance(this,m);if(typeof m=="string"){if(typeof S[m]>"u")throw new TypeError(`No method named "${m}"`);S[m]()}})}static clearMenus(m){if(m.button===Ow||m.type==="keyup"&&m.key!==mp)return;const S=J.find(zw);for(const K of S){const me=Zn.getInstance(K);if(!me||me._config.autoClose===!1)continue;const Ce=m.composedPath(),Ee=Ce.includes(me._menu);if(Ce.includes(me._element)||me._config.autoClose==="inside"&&!Ee||me._config.autoClose==="outside"&&Ee||me._menu.contains(m.target)&&(m.type==="keyup"&&m.key===mp||/input|select|option|textarea|form/i.test(m.target.tagName)))continue;const Xe={relatedTarget:me._element};m.type==="click"&&(Xe.clickEvent=m),me._completeHide(Xe)}}static dataApiKeydownHandler(m){const S=/input|textarea/i.test(m.target.tagName),K=m.key===Mw,me=[Dw,gp].includes(m.key);if(!me&&!K||S&&!K)return;m.preventDefault();const Ce=this.matches(Ji)?this:J.prev(this,Ji)[0]||J.next(this,Ji)[0]||J.findOne(Ji,m.delegateTarget.parentNode),Ee=Zn.getOrCreateInstance(Ce);if(me){m.stopPropagation(),Ee.show(),Ee._selectMenuItem(m);return}Ee._isShown()&&(m.stopPropagation(),Ee.hide(),Ce.focus())}}N.on(document,bp,Ji,Zn.dataApiKeydownHandler),N.on(document,bp,gl,Zn.dataApiKeydownHandler),N.on(document,_p,Zn.clearMenus),N.on(document,Fw,Zn.clearMenus),N.on(document,_p,Ji,function(z){z.preventDefault(),Zn.getOrCreateInstance(this).toggle()}),C(Zn);const vp="backdrop",ix="fade",yp="show",wp=`mousedown.bs.${vp}`,ox={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ax={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class xp extends W{constructor(m){super(),this._config=this._getConfig(m),this._isAppended=!1,this._element=null}static get Default(){return ox}static get DefaultType(){return ax}static get NAME(){return vp}show(m){if(!this._config.isVisible){F(m);return}this._append();const S=this._getElement();this._config.isAnimated&&k(S),S.classList.add(yp),this._emulateAnimation(()=>{F(m)})}hide(m){if(!this._config.isVisible){F(m);return}this._getElement().classList.remove(yp),this._emulateAnimation(()=>{this.dispose(),F(m)})}dispose(){this._isAppended&&(N.off(this._element,wp),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const m=document.createElement("div");m.className=this._config.className,this._config.isAnimated&&m.classList.add(ix),this._element=m}return this._element}_configAfterMerge(m){return m.rootElement=v(m.rootElement),m}_append(){if(this._isAppended)return;const m=this._getElement();this._config.rootElement.append(m),N.on(m,wp,()=>{F(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(m){G(m,this._getElement(),this._config.isAnimated)}}const rx="focustrap",_l=".bs.focustrap",lx=`focusin${_l}`,cx=`keydown.tab${_l}`,ux="Tab",dx="forward",kp="backward",hx={autofocus:!0,trapElement:null},fx={autofocus:"boolean",trapElement:"element"};class Sp extends W{constructor(m){super(),this._config=this._getConfig(m),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return hx}static get DefaultType(){return fx}static get NAME(){return rx}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),N.off(document,_l),N.on(document,lx,m=>this._handleFocusin(m)),N.on(document,cx,m=>this._handleKeydown(m)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,N.off(document,_l))}_handleFocusin(m){const{trapElement:S}=this._config;if(m.target===document||m.target===S||S.contains(m.target))return;const K=J.focusableChildren(S);K.length===0?S.focus():this._lastTabNavDirection===kp?K[K.length-1].focus():K[0].focus()}_handleKeydown(m){m.key===ux&&(this._lastTabNavDirection=m.shiftKey?kp:dx)}}const Ap=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",$p=".sticky-top",bl="padding-right",Ep="margin-right";class Mu{constructor(){this._element=document.body}getWidth(){const m=document.documentElement.clientWidth;return Math.abs(window.innerWidth-m)}hide(){const m=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,bl,S=>S+m),this._setElementAttributes(Ap,bl,S=>S+m),this._setElementAttributes($p,Ep,S=>S-m)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,bl),this._resetElementAttributes(Ap,bl),this._resetElementAttributes($p,Ep)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(m,S,K){const me=this.getWidth(),Ce=Ee=>{if(Ee!==this._element&&window.innerWidth>Ee.clientWidth+me)return;this._saveInitialAttribute(Ee,S);const Xe=window.getComputedStyle(Ee).getPropertyValue(S);Ee.style.setProperty(S,`${K(Number.parseFloat(Xe))}px`)};this._applyManipulationCallback(m,Ce)}_saveInitialAttribute(m,S){const K=m.style.getPropertyValue(S);K&&H.setDataAttribute(m,S,K)}_resetElementAttributes(m,S){const K=me=>{const Ce=H.getDataAttribute(me,S);if(Ce===null){me.style.removeProperty(S);return}H.removeDataAttribute(me,S),me.style.setProperty(S,Ce)};this._applyManipulationCallback(m,K)}_applyManipulationCallback(m,S){if(_(m)){S(m);return}for(const K of J.find(m,this._element))S(K)}}const px="modal",Hn=".bs.modal",mx=".data-api",gx="Escape",_x=`hide${Hn}`,bx=`hidePrevented${Hn}`,Cp=`hidden${Hn}`,Pp=`show${Hn}`,vx=`shown${Hn}`,yx=`resize${Hn}`,wx=`click.dismiss${Hn}`,xx=`mousedown.dismiss${Hn}`,kx=`keydown.dismiss${Hn}`,Sx=`click${Hn}${mx}`,Tp="modal-open",Ax="fade",Mp="show",Du="modal-static",$x=".modal.show",Ex=".modal-dialog",Cx=".modal-body",Px='[data-bs-toggle="modal"]',Tx={backdrop:!0,focus:!0,keyboard:!0},Mx={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Xi extends j{constructor(m,S){super(m,S),this._dialog=J.findOne(Ex,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Mu,this._addEventListeners()}static get Default(){return Tx}static get DefaultType(){return Mx}static get NAME(){return px}toggle(m){return this._isShown?this.hide():this.show(m)}show(m){this._isShown||this._isTransitioning||N.trigger(this._element,Pp,{relatedTarget:m}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Tp),this._adjustDialog(),this._backdrop.show(()=>this._showElement(m)))}hide(){!this._isShown||this._isTransitioning||N.trigger(this._element,_x).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Mp),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){N.off(window,Hn),N.off(this._dialog,Hn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new xp({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Sp({trapElement:this._element})}_showElement(m){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const S=J.findOne(Cx,this._dialog);S&&(S.scrollTop=0),k(this._element),this._element.classList.add(Mp);const K=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,N.trigger(this._element,vx,{relatedTarget:m})};this._queueCallback(K,this._dialog,this._isAnimated())}_addEventListeners(){N.on(this._element,kx,m=>{if(m.key===gx){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),N.on(window,yx,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),N.on(this._element,xx,m=>{N.one(this._element,wx,S=>{if(!(this._element!==m.target||this._element!==S.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Tp),this._resetAdjustments(),this._scrollBar.reset(),N.trigger(this._element,Cp)})}_isAnimated(){return this._element.classList.contains(Ax)}_triggerBackdropTransition(){if(N.trigger(this._element,bx).defaultPrevented)return;const S=this._element.scrollHeight>document.documentElement.clientHeight,K=this._element.style.overflowY;K==="hidden"||this._element.classList.contains(Du)||(S||(this._element.style.overflowY="hidden"),this._element.classList.add(Du),this._queueCallback(()=>{this._element.classList.remove(Du),this._queueCallback(()=>{this._element.style.overflowY=K},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const m=this._element.scrollHeight>document.documentElement.clientHeight,S=this._scrollBar.getWidth(),K=S>0;if(K&&!m){const me=P()?"paddingLeft":"paddingRight";this._element.style[me]=`${S}px`}if(!K&&m){const me=P()?"paddingRight":"paddingLeft";this._element.style[me]=`${S}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(m,S){return this.each(function(){const K=Xi.getOrCreateInstance(this,m);if(typeof m=="string"){if(typeof K[m]>"u")throw new TypeError(`No method named "${m}"`);K[m](S)}})}}N.on(document,Sx,Px,function(z){const m=J.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&z.preventDefault(),N.one(m,Pp,me=>{me.defaultPrevented||N.one(m,Cp,()=>{w(this)&&this.focus()})});const S=J.findOne($x);S&&Xi.getInstance(S).hide(),Xi.getOrCreateInstance(m).toggle(this)}),he(Xi),C(Xi);const Dx="offcanvas",Rs=".bs.offcanvas",Dp=".data-api",Ox=`load${Rs}${Dp}`,Ix="Escape",Op="show",Ip="showing",Rp="hiding",Rx="offcanvas-backdrop",Lp=".offcanvas.show",Lx=`show${Rs}`,Nx=`shown${Rs}`,Fx=`hide${Rs}`,Np=`hidePrevented${Rs}`,Fp=`hidden${Rs}`,Bx=`resize${Rs}`,Vx=`click${Rs}${Dp}`,Hx=`keydown.dismiss${Rs}`,jx='[data-bs-toggle="offcanvas"]',Wx={backdrop:!0,keyboard:!0,scroll:!1},zx={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Ls extends j{constructor(m,S){super(m,S),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Wx}static get DefaultType(){return zx}static get NAME(){return Dx}toggle(m){return this._isShown?this.hide():this.show(m)}show(m){if(this._isShown||N.trigger(this._element,Lx,{relatedTarget:m}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Mu().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Ip);const K=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Op),this._element.classList.remove(Ip),N.trigger(this._element,Nx,{relatedTarget:m})};this._queueCallback(K,this._element,!0)}hide(){if(!this._isShown||N.trigger(this._element,Fx).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Rp),this._backdrop.hide();const S=()=>{this._element.classList.remove(Op,Rp),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Mu().reset(),N.trigger(this._element,Fp)};this._queueCallback(S,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const m=()=>{if(this._config.backdrop==="static"){N.trigger(this._element,Np);return}this.hide()},S=!!this._config.backdrop;return new xp({className:Rx,isVisible:S,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:S?m:null})}_initializeFocusTrap(){return new Sp({trapElement:this._element})}_addEventListeners(){N.on(this._element,Hx,m=>{if(m.key===Ix){if(this._config.keyboard){this.hide();return}N.trigger(this._element,Np)}})}static jQueryInterface(m){return this.each(function(){const S=Ls.getOrCreateInstance(this,m);if(typeof m=="string"){if(S[m]===void 0||m.startsWith("_")||m==="constructor")throw new TypeError(`No method named "${m}"`);S[m](this)}})}}N.on(document,Vx,jx,function(z){const m=J.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&z.preventDefault(),A(this))return;N.one(m,Fp,()=>{w(this)&&this.focus()});const S=J.findOne(Lp);S&&S!==m&&Ls.getInstance(S).hide(),Ls.getOrCreateInstance(m).toggle(this)}),N.on(window,Ox,()=>{for(const z of J.find(Lp))Ls.getOrCreateInstance(z).show()}),N.on(window,Bx,()=>{for(const z of J.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(z).position!=="fixed"&&Ls.getOrCreateInstance(z).hide()}),he(Ls),C(Ls);const Bp={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Yx=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Ux=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Kx=(z,m)=>{const S=z.nodeName.toLowerCase();return m.includes(S)?Yx.has(S)?!!Ux.test(z.nodeValue):!0:m.filter(K=>K instanceof RegExp).some(K=>K.test(S))};function qx(z,m,S){if(!z.length)return z;if(S&&typeof S=="function")return S(z);const me=new window.DOMParser().parseFromString(z,"text/html"),Ce=[].concat(...me.body.querySelectorAll("*"));for(const Ee of Ce){const Xe=Ee.nodeName.toLowerCase();if(!Object.keys(m).includes(Xe)){Ee.remove();continue}const wn=[].concat(...Ee.attributes),jn=[].concat(m["*"]||[],m[Xe]||[]);for(const qt of wn)Kx(qt,jn)||Ee.removeAttribute(qt.nodeName)}return me.body.innerHTML}const Gx="TemplateFactory",Jx={allowList:Bp,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Xx={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Qx={entry:"(string|element|function|null)",selector:"(string|element)"};class Zx extends W{constructor(m){super(),this._config=this._getConfig(m)}static get Default(){return Jx}static get DefaultType(){return Xx}static get NAME(){return Gx}getContent(){return Object.values(this._config.content).map(m=>this._resolvePossibleFunction(m)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(m){return this._checkContent(m),this._config.content={...this._config.content,...m},this}toHtml(){const m=document.createElement("div");m.innerHTML=this._maybeSanitize(this._config.template);for(const[me,Ce]of Object.entries(this._config.content))this._setContent(m,Ce,me);const S=m.children[0],K=this._resolvePossibleFunction(this._config.extraClass);return K&&S.classList.add(...K.split(" ")),S}_typeCheckConfig(m){super._typeCheckConfig(m),this._checkContent(m.content)}_checkContent(m){for(const[S,K]of Object.entries(m))super._typeCheckConfig({selector:S,entry:K},Qx)}_setContent(m,S,K){const me=J.findOne(K,m);if(me){if(S=this._resolvePossibleFunction(S),!S){me.remove();return}if(_(S)){this._putElementInTemplate(v(S),me);return}if(this._config.html){me.innerHTML=this._maybeSanitize(S);return}me.textContent=S}}_maybeSanitize(m){return this._config.sanitize?qx(m,this._config.allowList,this._config.sanitizeFn):m}_resolvePossibleFunction(m){return F(m,[this])}_putElementInTemplate(m,S){if(this._config.html){S.innerHTML="",S.append(m);return}S.textContent=m.textContent}}const ek="tooltip",tk=new Set(["sanitize","allowList","sanitizeFn"]),Ou="fade",nk="modal",vl="show",sk=".tooltip-inner",Vp=`.${nk}`,Hp="hide.bs.modal",Wa="hover",Iu="focus",ik="click",ok="manual",ak="hide",rk="hidden",lk="show",ck="shown",uk="inserted",dk="click",hk="focusin",fk="focusout",pk="mouseenter",mk="mouseleave",gk={AUTO:"auto",TOP:"top",RIGHT:P()?"left":"right",BOTTOM:"bottom",LEFT:P()?"right":"left"},_k={allowList:Bp,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},bk={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Qi extends j{constructor(m,S){if(typeof i>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(m,S),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return _k}static get DefaultType(){return bk}static get NAME(){return ek}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),N.off(this._element.closest(Vp),Hp,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const m=N.trigger(this._element,this.constructor.eventName(lk)),K=($(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(m.defaultPrevented||!K)return;this._disposePopper();const me=this._getTipElement();this._element.setAttribute("aria-describedby",me.getAttribute("id"));const{container:Ce}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(Ce.append(me),N.trigger(this._element,this.constructor.eventName(uk))),this._popper=this._createPopper(me),me.classList.add(vl),"ontouchstart"in document.documentElement)for(const Xe of[].concat(...document.body.children))N.on(Xe,"mouseover",M);const Ee=()=>{N.trigger(this._element,this.constructor.eventName(ck)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(Ee,this.tip,this._isAnimated())}hide(){if(!this._isShown()||N.trigger(this._element,this.constructor.eventName(ak)).defaultPrevented)return;if(this._getTipElement().classList.remove(vl),"ontouchstart"in document.documentElement)for(const me of[].concat(...document.body.children))N.off(me,"mouseover",M);this._activeTrigger[ik]=!1,this._activeTrigger[Iu]=!1,this._activeTrigger[Wa]=!1,this._isHovered=null;const K=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),N.trigger(this._element,this.constructor.eventName(rk)))};this._queueCallback(K,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(m){const S=this._getTemplateFactory(m).toHtml();if(!S)return null;S.classList.remove(Ou,vl),S.classList.add(`bs-${this.constructor.NAME}-auto`);const K=f(this.constructor.NAME).toString();return S.setAttribute("id",K),this._isAnimated()&&S.classList.add(Ou),S}setContent(m){this._newContent=m,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(m){return this._templateFactory?this._templateFactory.changeContent(m):this._templateFactory=new Zx({...this._config,content:m,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[sk]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(m){return this.constructor.getOrCreateInstance(m.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Ou)}_isShown(){return this.tip&&this.tip.classList.contains(vl)}_createPopper(m){const S=F(this._config.placement,[this,m,this._element]),K=gk[S.toUpperCase()];return i.createPopper(this._element,m,this._getPopperConfig(K))}_getOffset(){const{offset:m}=this._config;return typeof m=="string"?m.split(",").map(S=>Number.parseInt(S,10)):typeof m=="function"?S=>m(S,this._element):m}_resolvePossibleFunction(m){return F(m,[this._element])}_getPopperConfig(m){const S={placement:m,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:K=>{this._getTipElement().setAttribute("data-popper-placement",K.state.placement)}}]};return{...S,...F(this._config.popperConfig,[S])}}_setListeners(){const m=this._config.trigger.split(" ");for(const S of m)if(S==="click")N.on(this._element,this.constructor.eventName(dk),this._config.selector,K=>{this._initializeOnDelegatedTarget(K).toggle()});else if(S!==ok){const K=S===Wa?this.constructor.eventName(pk):this.constructor.eventName(hk),me=S===Wa?this.constructor.eventName(mk):this.constructor.eventName(fk);N.on(this._element,K,this._config.selector,Ce=>{const Ee=this._initializeOnDelegatedTarget(Ce);Ee._activeTrigger[Ce.type==="focusin"?Iu:Wa]=!0,Ee._enter()}),N.on(this._element,me,this._config.selector,Ce=>{const Ee=this._initializeOnDelegatedTarget(Ce);Ee._activeTrigger[Ce.type==="focusout"?Iu:Wa]=Ee._element.contains(Ce.relatedTarget),Ee._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},N.on(this._element.closest(Vp),Hp,this._hideModalHandler)}_fixTitle(){const m=this._element.getAttribute("title");m&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",m),this._element.setAttribute("data-bs-original-title",m),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(m,S){clearTimeout(this._timeout),this._timeout=setTimeout(m,S)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(m){const S=H.getDataAttributes(this._element);for(const K of Object.keys(S))tk.has(K)&&delete S[K];return m={...S,...typeof m=="object"&&m?m:{}},m=this._mergeConfigObj(m),m=this._configAfterMerge(m),this._typeCheckConfig(m),m}_configAfterMerge(m){return m.container=m.container===!1?document.body:v(m.container),typeof m.delay=="number"&&(m.delay={show:m.delay,hide:m.delay}),typeof m.title=="number"&&(m.title=m.title.toString()),typeof m.content=="number"&&(m.content=m.content.toString()),m}_getDelegateConfig(){const m={};for(const[S,K]of Object.entries(this._config))this.constructor.Default[S]!==K&&(m[S]=K);return m.selector=!1,m.trigger="manual",m}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(m){return this.each(function(){const S=Qi.getOrCreateInstance(this,m);if(typeof m=="string"){if(typeof S[m]>"u")throw new TypeError(`No method named "${m}"`);S[m]()}})}}C(Qi);const vk="popover",yk=".popover-header",wk=".popover-body",xk={...Qi.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},kk={...Qi.DefaultType,content:"(null|string|element|function)"};class yl extends Qi{static get Default(){return xk}static get DefaultType(){return kk}static get NAME(){return vk}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[yk]:this._getTitle(),[wk]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(m){return this.each(function(){const S=yl.getOrCreateInstance(this,m);if(typeof m=="string"){if(typeof S[m]>"u")throw new TypeError(`No method named "${m}"`);S[m]()}})}}C(yl);const Sk="scrollspy",Ru=".bs.scrollspy",Ak=".data-api",$k=`activate${Ru}`,jp=`click${Ru}`,Ek=`load${Ru}${Ak}`,Ck="dropdown-item",Yo="active",Pk='[data-bs-spy="scroll"]',Lu="[href]",Tk=".nav, .list-group",Wp=".nav-link",Mk=`${Wp}, .nav-item > ${Wp}, .list-group-item`,Dk=".dropdown",Ok=".dropdown-toggle",Ik={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Rk={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class za extends j{constructor(m,S){super(m,S),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Ik}static get DefaultType(){return Rk}static get NAME(){return Sk}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const m of this._observableSections.values())this._observer.observe(m)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(m){return m.target=v(m.target)||document.body,m.rootMargin=m.offset?`${m.offset}px 0px -30%`:m.rootMargin,typeof m.threshold=="string"&&(m.threshold=m.threshold.split(",").map(S=>Number.parseFloat(S))),m}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(N.off(this._config.target,jp),N.on(this._config.target,jp,Lu,m=>{const S=this._observableSections.get(m.target.hash);if(S){m.preventDefault();const K=this._rootElement||window,me=S.offsetTop-this._element.offsetTop;if(K.scrollTo){K.scrollTo({top:me,behavior:"smooth"});return}K.scrollTop=me}}))}_getNewObserver(){const m={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(S=>this._observerCallback(S),m)}_observerCallback(m){const S=Ee=>this._targetLinks.get(`#${Ee.target.id}`),K=Ee=>{this._previousScrollData.visibleEntryTop=Ee.target.offsetTop,this._process(S(Ee))},me=(this._rootElement||document.documentElement).scrollTop,Ce=me>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=me;for(const Ee of m){if(!Ee.isIntersecting){this._activeTarget=null,this._clearActiveClass(S(Ee));continue}const Xe=Ee.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(Ce&&Xe){if(K(Ee),!me)return;continue}!Ce&&!Xe&&K(Ee)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const m=J.find(Lu,this._config.target);for(const S of m){if(!S.hash||A(S))continue;const K=J.findOne(decodeURI(S.hash),this._element);w(K)&&(this._targetLinks.set(decodeURI(S.hash),S),this._observableSections.set(S.hash,K))}}_process(m){this._activeTarget!==m&&(this._clearActiveClass(this._config.target),this._activeTarget=m,m.classList.add(Yo),this._activateParents(m),N.trigger(this._element,$k,{relatedTarget:m}))}_activateParents(m){if(m.classList.contains(Ck)){J.findOne(Ok,m.closest(Dk)).classList.add(Yo);return}for(const S of J.parents(m,Tk))for(const K of J.prev(S,Mk))K.classList.add(Yo)}_clearActiveClass(m){m.classList.remove(Yo);const S=J.find(`${Lu}.${Yo}`,m);for(const K of S)K.classList.remove(Yo)}static jQueryInterface(m){return this.each(function(){const S=za.getOrCreateInstance(this,m);if(typeof m=="string"){if(S[m]===void 0||m.startsWith("_")||m==="constructor")throw new TypeError(`No method named "${m}"`);S[m]()}})}}N.on(window,Ek,()=>{for(const z of J.find(Pk))za.getOrCreateInstance(z)}),C(za);const Lk="tab",Zi=".bs.tab",Nk=`hide${Zi}`,Fk=`hidden${Zi}`,Bk=`show${Zi}`,Vk=`shown${Zi}`,Hk=`click${Zi}`,jk=`keydown${Zi}`,Wk=`load${Zi}`,zk="ArrowLeft",zp="ArrowRight",Yk="ArrowUp",Yp="ArrowDown",Nu="Home",Up="End",eo="active",Kp="fade",Fu="show",Uk="dropdown",qp=".dropdown-toggle",Kk=".dropdown-menu",Bu=`:not(${qp})`,qk='.list-group, .nav, [role="tablist"]',Gk=".nav-item, .list-group-item",Jk=`.nav-link${Bu}, .list-group-item${Bu}, [role="tab"]${Bu}`,Gp='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Vu=`${Jk}, ${Gp}`,Xk=`.${eo}[data-bs-toggle="tab"], .${eo}[data-bs-toggle="pill"], .${eo}[data-bs-toggle="list"]`;class to extends j{constructor(m){super(m),this._parent=this._element.closest(qk),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),N.on(this._element,jk,S=>this._keydown(S)))}static get NAME(){return Lk}show(){const m=this._element;if(this._elemIsActive(m))return;const S=this._getActiveElem(),K=S?N.trigger(S,Nk,{relatedTarget:m}):null;N.trigger(m,Bk,{relatedTarget:S}).defaultPrevented||K&&K.defaultPrevented||(this._deactivate(S,m),this._activate(m,S))}_activate(m,S){if(!m)return;m.classList.add(eo),this._activate(J.getElementFromSelector(m));const K=()=>{if(m.getAttribute("role")!=="tab"){m.classList.add(Fu);return}m.removeAttribute("tabindex"),m.setAttribute("aria-selected",!0),this._toggleDropDown(m,!0),N.trigger(m,Vk,{relatedTarget:S})};this._queueCallback(K,m,m.classList.contains(Kp))}_deactivate(m,S){if(!m)return;m.classList.remove(eo),m.blur(),this._deactivate(J.getElementFromSelector(m));const K=()=>{if(m.getAttribute("role")!=="tab"){m.classList.remove(Fu);return}m.setAttribute("aria-selected",!1),m.setAttribute("tabindex","-1"),this._toggleDropDown(m,!1),N.trigger(m,Fk,{relatedTarget:S})};this._queueCallback(K,m,m.classList.contains(Kp))}_keydown(m){if(![zk,zp,Yk,Yp,Nu,Up].includes(m.key))return;m.stopPropagation(),m.preventDefault();const S=this._getChildren().filter(me=>!A(me));let K;if([Nu,Up].includes(m.key))K=S[m.key===Nu?0:S.length-1];else{const me=[zp,Yp].includes(m.key);K=ae(S,m.target,me,!0)}K&&(K.focus({preventScroll:!0}),to.getOrCreateInstance(K).show())}_getChildren(){return J.find(Vu,this._parent)}_getActiveElem(){return this._getChildren().find(m=>this._elemIsActive(m))||null}_setInitialAttributes(m,S){this._setAttributeIfNotExists(m,"role","tablist");for(const K of S)this._setInitialAttributesOnChild(K)}_setInitialAttributesOnChild(m){m=this._getInnerElement(m);const S=this._elemIsActive(m),K=this._getOuterElement(m);m.setAttribute("aria-selected",S),K!==m&&this._setAttributeIfNotExists(K,"role","presentation"),S||m.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(m,"role","tab"),this._setInitialAttributesOnTargetPanel(m)}_setInitialAttributesOnTargetPanel(m){const S=J.getElementFromSelector(m);S&&(this._setAttributeIfNotExists(S,"role","tabpanel"),m.id&&this._setAttributeIfNotExists(S,"aria-labelledby",`${m.id}`))}_toggleDropDown(m,S){const K=this._getOuterElement(m);if(!K.classList.contains(Uk))return;const me=(Ce,Ee)=>{const Xe=J.findOne(Ce,K);Xe&&Xe.classList.toggle(Ee,S)};me(qp,eo),me(Kk,Fu),K.setAttribute("aria-expanded",S)}_setAttributeIfNotExists(m,S,K){m.hasAttribute(S)||m.setAttribute(S,K)}_elemIsActive(m){return m.classList.contains(eo)}_getInnerElement(m){return m.matches(Vu)?m:J.findOne(Vu,m)}_getOuterElement(m){return m.closest(Gk)||m}static jQueryInterface(m){return this.each(function(){const S=to.getOrCreateInstance(this);if(typeof m=="string"){if(S[m]===void 0||m.startsWith("_")||m==="constructor")throw new TypeError(`No method named "${m}"`);S[m]()}})}}N.on(document,Hk,Gp,function(z){["A","AREA"].includes(this.tagName)&&z.preventDefault(),!A(this)&&to.getOrCreateInstance(this).show()}),N.on(window,Wk,()=>{for(const z of J.find(Xk))to.getOrCreateInstance(z)}),C(to);const Qk="toast",ai=".bs.toast",Zk=`mouseover${ai}`,eS=`mouseout${ai}`,tS=`focusin${ai}`,nS=`focusout${ai}`,sS=`hide${ai}`,iS=`hidden${ai}`,oS=`show${ai}`,aS=`shown${ai}`,rS="fade",Jp="hide",wl="show",xl="showing",lS={animation:"boolean",autohide:"boolean",delay:"number"},cS={animation:!0,autohide:!0,delay:5e3};class Ya extends j{constructor(m,S){super(m,S),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return cS}static get DefaultType(){return lS}static get NAME(){return Qk}show(){if(N.trigger(this._element,oS).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(rS);const S=()=>{this._element.classList.remove(xl),N.trigger(this._element,aS),this._maybeScheduleHide()};this._element.classList.remove(Jp),k(this._element),this._element.classList.add(wl,xl),this._queueCallback(S,this._element,this._config.animation)}hide(){if(!this.isShown()||N.trigger(this._element,sS).defaultPrevented)return;const S=()=>{this._element.classList.add(Jp),this._element.classList.remove(xl,wl),N.trigger(this._element,iS)};this._element.classList.add(xl),this._queueCallback(S,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(wl),super.dispose()}isShown(){return this._element.classList.contains(wl)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(m,S){switch(m.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=S;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=S;break}}if(S){this._clearTimeout();return}const K=m.relatedTarget;this._element===K||this._element.contains(K)||this._maybeScheduleHide()}_setListeners(){N.on(this._element,Zk,m=>this._onInteraction(m,!0)),N.on(this._element,eS,m=>this._onInteraction(m,!1)),N.on(this._element,tS,m=>this._onInteraction(m,!0)),N.on(this._element,nS,m=>this._onInteraction(m,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(m){return this.each(function(){const S=Ya.getOrCreateInstance(this,m);if(typeof m=="string"){if(typeof S[m]>"u")throw new TypeError(`No method named "${m}"`);S[m](this)}})}}return he(Ya),C(Ya),{Alert:Je,Button:ne,Carousel:Ho,Collapse:Wo,Dropdown:Zn,Modal:Xi,Offcanvas:Ls,Popover:yl,ScrollSpy:za,Tab:to,Toast:Ya,Tooltip:Qi}})})(mS);/** * @vue/shared v3.4.29 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function pd(e,t){const s=new Set(e.split(","));return t?n=>s.has(n.toLowerCase()):n=>s.has(n)}const Gt={},Ei=[],Ge=()=>{},hx=()=>!1,Ha=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),gd=e=>e.startsWith("onUpdate:"),ie=Object.assign,md=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},fx=Object.prototype.hasOwnProperty,Vt=(e,t)=>fx.call(e,t),mt=Array.isArray,Ai=e=>nr(e)==="[object Map]",Qi=e=>nr(e)==="[object Set]",uh=e=>nr(e)==="[object Date]",St=e=>typeof e=="function",oe=e=>typeof e=="string",js=e=>typeof e=="symbol",Ut=e=>e!==null&&typeof e=="object",Eg=e=>(Ut(e)||St(e))&&St(e.then)&&St(e.catch),Ag=Object.prototype.toString,nr=e=>Ag.call(e),px=e=>nr(e).slice(8,-1),Cg=e=>nr(e)==="[object Object]",_d=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$o=pd(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wa=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},gx=/-(\w)/g,Ss=Wa(e=>e.replace(gx,(t,s)=>s?s.toUpperCase():"")),mx=/\B([A-Z])/g,Zi=Wa(e=>e.replace(mx,"-$1").toLowerCase()),za=Wa(e=>e.charAt(0).toUpperCase()+e.slice(1)),Dl=Wa(e=>e?`on${za(e)}`:""),_n=(e,t)=>!Object.is(e,t),sa=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},va=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Pg=e=>{const t=oe(e)?Number(e):NaN;return isNaN(t)?e:t};let hh;const kg=()=>hh||(hh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ri(e){if(mt(e)){const t={};for(let s=0;s{if(s){const n=s.split(bx);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Mt(e){let t="";if(oe(e))t=e;else if(mt(e))for(let s=0;sni(s,t))}const nt=e=>oe(e)?e:e==null?"":mt(e)||Ut(e)&&(e.toString===Ag||!St(e.toString))?JSON.stringify(e,Mg,2):String(e),Mg=(e,t)=>t&&t.__v_isRef?Mg(e,t.value):Ai(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],o)=>(s[Il(n,o)+" =>"]=i,s),{})}:Qi(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Il(s))}:js(t)?Il(t):Ut(t)&&!mt(t)&&!Cg(t)?String(t):t,Il=(e,t="")=>{var s;return js(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/** +**//*! #__NO_SIDE_EFFECTS__ */function Hh(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const bt={},ia=[],Yn=()=>{},oA=()=>!1,Yc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),jh=e=>e.startsWith("onUpdate:"),Lt=Object.assign,Wh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},aA=Object.prototype.hasOwnProperty,it=(e,t)=>aA.call(e,t),Be=Array.isArray,oa=e=>Zr(e)==="[object Map]",Ra=e=>Zr(e)==="[object Set]",om=e=>Zr(e)==="[object Date]",Ue=e=>typeof e=="function",St=e=>typeof e=="string",Qs=e=>typeof e=="symbol",ht=e=>e!==null&&typeof e=="object",Nb=e=>(ht(e)||Ue(e))&&Ue(e.then)&&Ue(e.catch),Fb=Object.prototype.toString,Zr=e=>Fb.call(e),rA=e=>Zr(e).slice(8,-1),Bb=e=>Zr(e)==="[object Object]",zh=e=>St(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,fr=Hh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Uc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},lA=/-(\w)/g,Ts=Uc(e=>e.replace(lA,(t,n)=>n?n.toUpperCase():"")),cA=/\B([A-Z])/g,Mo=Uc(e=>e.replace(cA,"-$1").toLowerCase()),Kc=Uc(e=>e.charAt(0).toUpperCase()+e.slice(1)),Hu=Uc(e=>e?`on${Kc(e)}`:""),Di=(e,t)=>!Object.is(e,t),tc=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},vc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Hb=e=>{const t=St(e)?Number(e):NaN;return isNaN(t)?e:t};let am;const jb=()=>am||(am=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function jt(e){if(Be(e)){const t={};for(let n=0;n{if(n){const s=n.split(dA);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Pe(e){let t="";if(St(e))t=e;else if(Be(e))for(let n=0;nEo(n,t))}const be=e=>St(e)?e:e==null?"":Be(e)||ht(e)&&(e.toString===Fb||!Ue(e.toString))?JSON.stringify(e,zb,2):String(e),zb=(e,t)=>t&&t.__v_isRef?zb(e,t.value):oa(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],o)=>(n[ju(s,o)+" =>"]=i,n),{})}:Ra(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ju(n))}:Qs(t)?ju(t):ht(t)&&!Be(t)&&!Bb(t)?String(t):t,ju=(e,t="")=>{var n;return Qs(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.4.29 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Ie;class Dg{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ie,!t&&Ie&&(this.index=(Ie.scopes||(Ie.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const s=Ie;try{return Ie=this,t()}finally{Ie=s}}}on(){Ie=this}off(){Ie=this.parent}stop(t){if(this._active){let s,n;for(s=0,n=this.effects.length;s=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),En()}return this._dirtyLevel>=5}set dirty(t){this._dirtyLevel=t?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=fn,s=Gn;try{return fn=!0,Gn=this,this._runnings++,fh(this),this.fn()}finally{ph(this),this._runnings--,Gn=s,fn=t}}stop(){this.active&&(fh(this),ph(this),this.onStop&&this.onStop(),this.active=!1)}}function Ax(e){return e.value}function fh(e){e._trackId++,e._depsLength=0}function ph(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t0){n._dirtyLevel=2;continue}let i;n._dirtyLevel{const s=new Map;return s.cleanup=e,s.computed=t,s},ya=new WeakMap,Jn=Symbol(""),gc=Symbol("");function Me(e,t,s){if(fn&&Gn){let n=ya.get(e);n||ya.set(e,n=new Map);let i=n.get(s);i||n.set(s,i=Bg(()=>n.delete(s))),Ng(Gn,i)}}function Bs(e,t,s,n,i,o){const r=ya.get(e);if(!r)return;let a=[];if(t==="clear")a=[...r.values()];else if(s==="length"&&mt(e)){const l=Number(n);r.forEach((c,d)=>{(d==="length"||!js(d)&&d>=l)&&a.push(c)})}else switch(s!==void 0&&a.push(r.get(s)),t){case"add":mt(e)?_d(s)&&a.push(r.get("length")):(a.push(r.get(Jn)),Ai(e)&&a.push(r.get(gc)));break;case"delete":mt(e)||(a.push(r.get(Jn)),Ai(e)&&a.push(r.get(gc)));break;case"set":Ai(e)&&a.push(r.get(Jn));break}xd();for(const l of a)l&&Fg(l,5);wd()}function Cx(e,t){const s=ya.get(e);return s&&s.get(t)}const $x=pd("__proto__,__v_isRef,__isVue"),Vg=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(js)),gh=Px();function Px(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...s){const n=Ot(this);for(let o=0,r=this.length;o{e[t]=function(...s){Sn(),xd();const n=Ot(this)[t].apply(this,s);return wd(),En(),n}}),e}function kx(e){js(e)||(e=String(e));const t=Ot(this);return Me(t,"has",e),t.hasOwnProperty(e)}class jg{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){const i=this._isReadonly,o=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return o;if(s==="__v_raw")return n===(i?o?Hx:Kg:o?zg:Wg).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=mt(t);if(!i){if(r&&Vt(gh,s))return Reflect.get(gh,s,n);if(s==="hasOwnProperty")return kx}const a=Reflect.get(t,s,n);return(js(s)?Vg.has(s):$x(s))||(i||Me(t,"get",s),o)?a:de(a)?r&&_d(s)?a:a.value:Ut(a)?i?Yg(a):ir(a):a}}class Hg extends jg{constructor(t=!1){super(!1,t)}set(t,s,n,i){let o=t[s];if(!this._isShallow){const l=Vo(o);if(!xa(n)&&!Vo(n)&&(o=Ot(o),n=Ot(n)),!mt(t)&&de(o)&&!de(n))return l?!1:(o.value=n,!0)}const r=mt(t)&&_d(s)?Number(s)e,Ka=e=>Reflect.getPrototypeOf(e);function kr(e,t,s=!1,n=!1){e=e.__v_raw;const i=Ot(e),o=Ot(t);s||(_n(t,o)&&Me(i,"get",t),Me(i,"get",o));const{has:r}=Ka(i),a=n?Sd:s?Cd:jo;if(r.call(i,t))return a(e.get(t));if(r.call(i,o))return a(e.get(o));e!==i&&e.get(t)}function Tr(e,t=!1){const s=this.__v_raw,n=Ot(s),i=Ot(e);return t||(_n(e,i)&&Me(n,"has",e),Me(n,"has",i)),e===i?s.has(e):s.has(e)||s.has(i)}function Mr(e,t=!1){return e=e.__v_raw,!t&&Me(Ot(e),"iterate",Jn),Reflect.get(e,"size",e)}function mh(e){e=Ot(e);const t=Ot(this);return Ka(t).has.call(t,e)||(t.add(e),Bs(t,"add",e,e)),this}function _h(e,t){t=Ot(t);const s=Ot(this),{has:n,get:i}=Ka(s);let o=n.call(s,e);o||(e=Ot(e),o=n.call(s,e));const r=i.call(s,e);return s.set(e,t),o?_n(t,r)&&Bs(s,"set",e,t):Bs(s,"add",e,t),this}function bh(e){const t=Ot(this),{has:s,get:n}=Ka(t);let i=s.call(t,e);i||(e=Ot(e),i=s.call(t,e)),n&&n.call(t,e);const o=t.delete(e);return i&&Bs(t,"delete",e,void 0),o}function vh(){const e=Ot(this),t=e.size!==0,s=e.clear();return t&&Bs(e,"clear",void 0,void 0),s}function Dr(e,t){return function(n,i){const o=this,r=o.__v_raw,a=Ot(r),l=t?Sd:e?Cd:jo;return!e&&Me(a,"iterate",Jn),r.forEach((c,d)=>n.call(i,l(c),l(d),o))}}function Ir(e,t,s){return function(...n){const i=this.__v_raw,o=Ot(i),r=Ai(o),a=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,c=i[e](...n),d=s?Sd:t?Cd:jo;return!t&&Me(o,"iterate",l?gc:Jn),{next(){const{value:h,done:p}=c.next();return p?{value:h,done:p}:{value:a?[d(h[0]),d(h[1])]:d(h),done:p}},[Symbol.iterator](){return this}}}}function Gs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ox(){const e={get(o){return kr(this,o)},get size(){return Mr(this)},has:Tr,add:mh,set:_h,delete:bh,clear:vh,forEach:Dr(!1,!1)},t={get(o){return kr(this,o,!1,!0)},get size(){return Mr(this)},has:Tr,add:mh,set:_h,delete:bh,clear:vh,forEach:Dr(!1,!0)},s={get(o){return kr(this,o,!0)},get size(){return Mr(this,!0)},has(o){return Tr.call(this,o,!0)},add:Gs("add"),set:Gs("set"),delete:Gs("delete"),clear:Gs("clear"),forEach:Dr(!0,!1)},n={get(o){return kr(this,o,!0,!0)},get size(){return Mr(this,!0)},has(o){return Tr.call(this,o,!0)},add:Gs("add"),set:Gs("set"),delete:Gs("delete"),clear:Gs("clear"),forEach:Dr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Ir(o,!1,!1),s[o]=Ir(o,!0,!1),t[o]=Ir(o,!1,!0),n[o]=Ir(o,!0,!0)}),[e,s,t,n]}const[Lx,Rx,Nx,Fx]=Ox();function Ed(e,t){const s=t?e?Fx:Nx:e?Rx:Lx;return(n,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(Vt(s,i)&&i in n?s:n,i,o)}const Bx={get:Ed(!1,!1)},Vx={get:Ed(!1,!0)},jx={get:Ed(!0,!1)};const Wg=new WeakMap,zg=new WeakMap,Kg=new WeakMap,Hx=new WeakMap;function Wx(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zx(e){return e.__v_skip||!Object.isExtensible(e)?0:Wx(px(e))}function ir(e){return Vo(e)?e:Ad(e,!1,Mx,Bx,Wg)}function Ug(e){return Ad(e,!1,Ix,Vx,zg)}function Yg(e){return Ad(e,!0,Dx,jx,Kg)}function Ad(e,t,s,n,i){if(!Ut(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const r=zx(e);if(r===0)return e;const a=new Proxy(e,r===2?n:s);return i.set(e,a),a}function Xn(e){return Vo(e)?Xn(e.__v_raw):!!(e&&e.__v_isReactive)}function Vo(e){return!!(e&&e.__v_isReadonly)}function xa(e){return!!(e&&e.__v_isShallow)}function Ua(e){return e?!!e.__v_raw:!1}function Ot(e){const t=e&&e.__v_raw;return t?Ot(t):e}function Ya(e){return Object.isExtensible(e)&&$g(e,"__v_skip",!0),e}const jo=e=>Ut(e)?ir(e):e,Cd=e=>Ut(e)?Yg(e):e;class qg{constructor(t,s,n,i){this.getter=t,this._setter=s,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new yd(()=>t(this._value),()=>na(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=Ot(this);return(!t._cacheable||t.effect.dirty)&&_n(t._value,t._value=t.effect.run())&&na(t,5),Gg(t),t.effect._dirtyLevel>=2&&na(t,3),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Kx(e,t,s=!1){let n,i;const o=St(e);return o?(n=e,i=Ge):(n=e.get,i=e.set),new qg(n,i,o||!i,s)}function Gg(e){var t;fn&&Gn&&(e=Ot(e),Ng(Gn,(t=e.dep)!=null?t:e.dep=Bg(()=>e.dep=void 0,e instanceof qg?e:void 0)))}function na(e,t=5,s,n){e=Ot(e);const i=e.dep;i&&Fg(i,t)}function de(e){return!!(e&&e.__v_isRef===!0)}function vs(e){return Jg(e,!1)}function $d(e){return Jg(e,!0)}function Jg(e,t){return de(e)?e:new Ux(e,t)}class Ux{constructor(t,s){this.__v_isShallow=s,this.dep=void 0,this.__v_isRef=!0,this._rawValue=s?t:Ot(t),this._value=s?t:jo(t)}get value(){return Gg(this),this._value}set value(t){const s=this.__v_isShallow||xa(t)||Vo(t);t=s?t:Ot(t),_n(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=s?t:jo(t),na(this,5))}}function pn(e){return de(e)?e.value:e}const Yx={get:(e,t,s)=>pn(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return de(i)&&!de(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function Xg(e){return Xn(e)?e:new Proxy(e,Yx)}function qx(e){const t=mt(e)?new Array(e.length):{};for(const s in e)t[s]=Jx(e,s);return t}class Gx{constructor(t,s,n){this._object=t,this._key=s,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Cx(Ot(this._object),this._key)}}function Jx(e,t,s){const n=e[t];return de(n)?n:new Gx(e,t,s)}/** +**/let Tn;class Yb{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Tn,!t&&Tn&&(this.index=(Tn.scopes||(Tn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Tn;try{return Tn=this,t()}finally{Tn=n}}}on(){Tn=this}off(){Tn=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),Vi()}return this._dirtyLevel>=5}set dirty(t){this._dirtyLevel=t?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ei,n=bo;try{return Ei=!0,bo=this,this._runnings++,rm(this),this.fn()}finally{lm(this),this._runnings--,bo=n,Ei=t}}stop(){this.active&&(rm(this),lm(this),this.onStop&&this.onStop(),this.active=!1)}}function bA(e){return e.value}function rm(e){e._trackId++,e._depsLength=0}function lm(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t0){s._dirtyLevel=2;continue}let i;s._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},yc=new WeakMap,vo=Symbol(""),Rd=Symbol("");function $n(e,t,n){if(Ei&&bo){let s=yc.get(e);s||yc.set(e,s=new Map);let i=s.get(n);i||s.set(n,i=Xb(()=>s.delete(n))),Gb(bo,i)}}function Js(e,t,n,s,i,o){const a=yc.get(e);if(!a)return;let r=[];if(t==="clear")r=[...a.values()];else if(n==="length"&&Be(e)){const l=Number(s);a.forEach((c,u)=>{(u==="length"||!Qs(u)&&u>=l)&&r.push(c)})}else switch(n!==void 0&&r.push(a.get(n)),t){case"add":Be(e)?zh(n)&&r.push(a.get("length")):(r.push(a.get(vo)),oa(e)&&r.push(a.get(Rd)));break;case"delete":Be(e)||(r.push(a.get(vo)),oa(e)&&r.push(a.get(Rd)));break;case"set":oa(e)&&r.push(a.get(vo));break}qh();for(const l of r)l&&Jb(l,5);Gh()}function vA(e,t){const n=yc.get(e);return n&&n.get(t)}const yA=Hh("__proto__,__v_isRef,__isVue"),Qb=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qs)),cm=wA();function wA(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Ze(this);for(let o=0,a=this.length;o{e[t]=function(...n){Bi(),qh();const s=Ze(this)[t].apply(this,n);return Gh(),Vi(),s}}),e}function xA(e){Qs(e)||(e=String(e));const t=Ze(this);return $n(t,"has",e),t.hasOwnProperty(e)}class Zb{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(i?o?RA:sv:o?nv:tv).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const a=Be(t);if(!i){if(a&&it(cm,n))return Reflect.get(cm,n,s);if(n==="hasOwnProperty")return xA}const r=Reflect.get(t,n,s);return(Qs(n)?Qb.has(n):yA(n))||(i||$n(t,"get",n),o)?r:Ct(r)?a&&zh(n)?r:r.value:ht(r)?i?ov(r):Ms(r):r}}class ev extends Zb{constructor(t=!1){super(!1,t)}set(t,n,s,i){let o=t[n];if(!this._isShallow){const l=Tr(o);if(!wc(s)&&!Tr(s)&&(o=Ze(o),s=Ze(s)),!Be(t)&&Ct(o)&&!Ct(s))return l?!1:(o.value=s,!0)}const a=Be(t)&&zh(n)?Number(n)e,Gc=e=>Reflect.getPrototypeOf(e);function Al(e,t,n=!1,s=!1){e=e.__v_raw;const i=Ze(e),o=Ze(t);n||(Di(t,o)&&$n(i,"get",t),$n(i,"get",o));const{has:a}=Gc(i),r=s?Jh:n?Zh:Mr;if(a.call(i,t))return r(e.get(t));if(a.call(i,o))return r(e.get(o));e!==i&&e.get(t)}function $l(e,t=!1){const n=this.__v_raw,s=Ze(n),i=Ze(e);return t||(Di(e,i)&&$n(s,"has",e),$n(s,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function El(e,t=!1){return e=e.__v_raw,!t&&$n(Ze(e),"iterate",vo),Reflect.get(e,"size",e)}function um(e){e=Ze(e);const t=Ze(this);return Gc(t).has.call(t,e)||(t.add(e),Js(t,"add",e,e)),this}function dm(e,t){t=Ze(t);const n=Ze(this),{has:s,get:i}=Gc(n);let o=s.call(n,e);o||(e=Ze(e),o=s.call(n,e));const a=i.call(n,e);return n.set(e,t),o?Di(t,a)&&Js(n,"set",e,t):Js(n,"add",e,t),this}function hm(e){const t=Ze(this),{has:n,get:s}=Gc(t);let i=n.call(t,e);i||(e=Ze(e),i=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return i&&Js(t,"delete",e,void 0),o}function fm(){const e=Ze(this),t=e.size!==0,n=e.clear();return t&&Js(e,"clear",void 0,void 0),n}function Cl(e,t){return function(s,i){const o=this,a=o.__v_raw,r=Ze(a),l=t?Jh:e?Zh:Mr;return!e&&$n(r,"iterate",vo),a.forEach((c,u)=>s.call(i,l(c),l(u),o))}}function Pl(e,t,n){return function(...s){const i=this.__v_raw,o=Ze(i),a=oa(o),r=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=i[e](...s),u=n?Jh:t?Zh:Mr;return!t&&$n(o,"iterate",l?Rd:vo),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:r?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function ri(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function EA(){const e={get(o){return Al(this,o)},get size(){return El(this)},has:$l,add:um,set:dm,delete:hm,clear:fm,forEach:Cl(!1,!1)},t={get(o){return Al(this,o,!1,!0)},get size(){return El(this)},has:$l,add:um,set:dm,delete:hm,clear:fm,forEach:Cl(!1,!0)},n={get(o){return Al(this,o,!0)},get size(){return El(this,!0)},has(o){return $l.call(this,o,!0)},add:ri("add"),set:ri("set"),delete:ri("delete"),clear:ri("clear"),forEach:Cl(!0,!1)},s={get(o){return Al(this,o,!0,!0)},get size(){return El(this,!0)},has(o){return $l.call(this,o,!0)},add:ri("add"),set:ri("set"),delete:ri("delete"),clear:ri("clear"),forEach:Cl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Pl(o,!1,!1),n[o]=Pl(o,!0,!1),t[o]=Pl(o,!1,!0),s[o]=Pl(o,!0,!0)}),[e,n,t,s]}const[CA,PA,TA,MA]=EA();function Xh(e,t){const n=t?e?MA:TA:e?PA:CA;return(s,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(it(n,i)&&i in s?n:s,i,o)}const DA={get:Xh(!1,!1)},OA={get:Xh(!1,!0)},IA={get:Xh(!0,!1)};const tv=new WeakMap,nv=new WeakMap,sv=new WeakMap,RA=new WeakMap;function LA(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function NA(e){return e.__v_skip||!Object.isExtensible(e)?0:LA(rA(e))}function Ms(e){return Tr(e)?e:Qh(e,!1,SA,DA,tv)}function iv(e){return Qh(e,!1,$A,OA,nv)}function ov(e){return Qh(e,!0,AA,IA,sv)}function Qh(e,t,n,s,i){if(!ht(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const a=NA(e);if(a===0)return e;const r=new Proxy(e,a===2?s:n);return i.set(e,r),r}function yo(e){return Tr(e)?yo(e.__v_raw):!!(e&&e.__v_isReactive)}function Tr(e){return!!(e&&e.__v_isReadonly)}function wc(e){return!!(e&&e.__v_isShallow)}function Jc(e){return e?!!e.__v_raw:!1}function Ze(e){const t=e&&e.__v_raw;return t?Ze(t):e}function Xc(e){return Object.isExtensible(e)&&Vb(e,"__v_skip",!0),e}const Mr=e=>ht(e)?Ms(e):e,Zh=e=>ht(e)?ov(e):e;class av{constructor(t,n,s,i){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Kh(()=>t(this._value),()=>nc(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=s}get value(){const t=Ze(this);return(!t._cacheable||t.effect.dirty)&&Di(t._value,t._value=t.effect.run())&&nc(t,5),rv(t),t.effect._dirtyLevel>=2&&nc(t,3),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function FA(e,t,n=!1){let s,i;const o=Ue(e);return o?(s=e,i=Yn):(s=e.get,i=e.set),new av(s,i,o||!i,n)}function rv(e){var t;Ei&&bo&&(e=Ze(e),Gb(bo,(t=e.dep)!=null?t:e.dep=Xb(()=>e.dep=void 0,e instanceof av?e:void 0)))}function nc(e,t=5,n,s){e=Ze(e);const i=e.dep;i&&Jb(i,t)}function Ct(e){return!!(e&&e.__v_isRef===!0)}function ve(e){return lv(e,!1)}function ef(e){return lv(e,!0)}function lv(e,t){return Ct(e)?e:new BA(e,t)}class BA{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ze(t),this._value=n?t:Mr(t)}get value(){return rv(this),this._value}set value(t){const n=this.__v_isShallow||wc(t)||Tr(t);t=n?t:Ze(t),Di(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Mr(t),nc(this,5))}}function q(e){return Ct(e)?e.value:e}const VA={get:(e,t,n)=>q(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return Ct(i)&&!Ct(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function cv(e){return yo(e)?e:new Proxy(e,VA)}function HA(e){const t=Be(e)?new Array(e.length):{};for(const n in e)t[n]=uv(e,n);return t}class jA{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return vA(Ze(this._object),this._key)}}class WA{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Dr(e,t,n){return Ct(e)?e:Ue(e)?new WA(e):ht(e)&&arguments.length>1?uv(e,t,n):ve(e)}function uv(e,t,n){const s=e[t];return Ct(s)?s:new jA(e,t,n)}/** * @vue/runtime-core v3.4.29 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function gn(e,t,s,n){try{return n?e(...n):e()}catch(i){or(i,t,s)}}function ts(e,t,s,n){if(St(e)){const i=gn(e,t,s,n);return i&&Eg(i)&&i.catch(o=>{or(o,t,s)}),i}if(mt(e)){const i=[];for(let o=0;o>>1,i=_e[n],o=Wo(i);ogs&&_e.splice(t,1)}function _c(e){mt(e)?Ci.push(...e):(!en||!en.includes(e,e.allowRecurse?Un+1:Un))&&Ci.push(e),Zg()}function yh(e,t,s=Ho?gs+1:0){for(;s<_e.length;s++){const n=_e[s];if(n&&n.pre){if(e&&n.id!==e.uid)continue;_e.splice(s,1),s--,n()}}}function tm(e){if(Ci.length){const t=[...new Set(Ci)].sort((s,n)=>Wo(s)-Wo(n));if(Ci.length=0,en){en.push(...t);return}for(en=t,Un=0;Une.id==null?1/0:e.id,tw=(e,t)=>{const s=Wo(e)-Wo(t);if(s===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return s};function em(e){mc=!1,Ho=!0,_e.sort(tw);try{for(gs=0;gs<_e.length;gs++){const t=_e[gs];t&&t.active!==!1&&gn(t,null,14)}}finally{gs=0,_e.length=0,tm(),Ho=!1,Pd=null,(_e.length||Ci.length)&&em()}}function ew(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||Gt;let i=s;const o=t.startsWith("update:"),r=o&&t.slice(7);if(r&&r in n){const d=`${r==="modelValue"?"model":r}Modifiers`,{number:h,trim:p}=n[d]||Gt;p&&(i=s.map(g=>oe(g)?g.trim():g)),h&&(i=s.map(va))}let a,l=n[a=Dl(t)]||n[a=Dl(Ss(t))];!l&&o&&(l=n[a=Dl(Zi(t))]),l&&ts(l,e,6,i);const c=n[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,ts(c,e,6,i)}}function sm(e,t,s=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const o=e.emits;let r={},a=!1;if(!St(e)){const l=c=>{const d=sm(c,t,!0);d&&(a=!0,ie(r,d))};!s&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(Ut(e)&&n.set(e,null),null):(mt(o)?o.forEach(l=>r[l]=null):ie(r,o),Ut(e)&&n.set(e,r),r)}function qa(e,t){return!e||!Ha(t)?!1:(t=t.slice(2).replace(/Once$/,""),Vt(e,t[0].toLowerCase()+t.slice(1))||Vt(e,Zi(t))||Vt(e,t))}let Se=null,Ga=null;function wa(e){const t=Se;return Se=e,Ga=e&&e.type.__scopeId||null,t}function ss(e){Ga=e}function ns(){Ga=null}function It(e,t=Se,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&Oh(-1);const o=wa(t);let r;try{r=e(...i)}finally{wa(o),n._d&&Oh(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Ol(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[o],slots:r,attrs:a,emit:l,render:c,renderCache:d,props:h,data:p,setupState:g,ctx:m,inheritAttrs:_}=e,v=wa(e);let w,S;try{if(s.shapeFlag&4){const T=i||n,y=T;w=as(c.call(y,T,d,h,g,p,m)),S=a}else{const T=t;w=as(T.length>1?T(h,{attrs:a,slots:r,emit:l}):T(h,null)),S=t.props?a:nw(a)}}catch(T){ko.length=0,or(T,e,1),w=dt(we)}let $=w;if(S&&_!==!1){const T=Object.keys(S),{shapeFlag:y}=$;T.length&&y&7&&(o&&T.some(gd)&&(S=iw(S,o)),$=bn($,S,!1,!0))}return s.dirs&&($=bn($,null,!1,!0),$.dirs=$.dirs?$.dirs.concat(s.dirs):s.dirs),s.transition&&($.transition=s.transition),w=$,wa(v),w}function sw(e,t=!0){let s;for(let n=0;n{let t;for(const s in e)(s==="class"||s==="style"||Ha(s))&&((t||(t={}))[s]=e[s]);return t},iw=(e,t)=>{const s={};for(const n in e)(!gd(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function ow(e,t,s){const{props:n,children:i,component:o}=e,{props:r,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&l>=0){if(l&1024)return!0;if(l&16)return n?xh(n,r,c):!!r;if(l&8){const d=t.dynamicProps;for(let h=0;he.__isSuspense;let bc=0;const aw={name:"Suspense",__isSuspense:!0,process(e,t,s,n,i,o,r,a,l,c){if(e==null)lw(t,s,n,i,o,r,a,l,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}cw(e,t,s,n,i,r,a,l,c)}},hydrate:dw,create:Od,normalize:uw},Id=aw;function zo(e,t){const s=e.props&&e.props[t];St(s)&&s()}function lw(e,t,s,n,i,o,r,a,l){const{p:c,o:{createElement:d}}=l,h=d("div"),p=e.suspense=Od(e,i,n,t,h,s,o,r,a,l);c(null,p.pendingBranch=e.ssContent,h,null,n,p,o,r),p.deps>0?(zo(e,"onPending"),zo(e,"onFallback"),c(null,e.ssFallback,t,s,n,null,o,r),$i(p,e.ssFallback)):p.resolve(!1,!0)}function cw(e,t,s,n,i,o,r,a,{p:l,um:c,o:{createElement:d}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const p=t.ssContent,g=t.ssFallback,{activeBranch:m,pendingBranch:_,isInFallback:v,isHydrating:w}=h;if(_)h.pendingBranch=p,ms(p,_)?(l(_,p,h.hiddenContainer,null,i,h,o,r,a),h.deps<=0?h.resolve():v&&(w||(l(m,g,s,n,i,null,o,r,a),$i(h,g)))):(h.pendingId=bc++,w?(h.isHydrating=!1,h.activeBranch=_):c(_,i,h),h.deps=0,h.effects.length=0,h.hiddenContainer=d("div"),v?(l(null,p,h.hiddenContainer,null,i,h,o,r,a),h.deps<=0?h.resolve():(l(m,g,s,n,i,null,o,r,a),$i(h,g))):m&&ms(p,m)?(l(m,p,s,n,i,h,o,r,a),h.resolve(!0)):(l(null,p,h.hiddenContainer,null,i,h,o,r,a),h.deps<=0&&h.resolve()));else if(m&&ms(p,m))l(m,p,s,n,i,h,o,r,a),$i(h,p);else if(zo(t,"onPending"),h.pendingBranch=p,p.shapeFlag&512?h.pendingId=p.component.suspenseId:h.pendingId=bc++,l(null,p,h.hiddenContainer,null,i,h,o,r,a),h.deps<=0)h.resolve();else{const{timeout:S,pendingId:$}=h;S>0?setTimeout(()=>{h.pendingId===$&&h.fallback(g)},S):S===0&&h.fallback(g)}}function Od(e,t,s,n,i,o,r,a,l,c,d=!1){const{p:h,m:p,um:g,n:m,o:{parentNode:_,remove:v}}=c;let w;const S=fw(e);S&&t&&t.pendingBranch&&(w=t.pendingId,t.deps++);const $=e.props?Pg(e.props.timeout):void 0,T=o,y={vnode:e,parent:t,parentComponent:s,namespace:r,container:n,hiddenContainer:i,deps:0,pendingId:bc++,timeout:typeof $=="number"?$:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(x=!1,C=!1){const{vnode:E,activeBranch:P,pendingBranch:M,pendingId:L,effects:F,parentComponent:Q,container:G}=y;let H=!1;y.isHydrating?y.isHydrating=!1:x||(H=P&&M.transition&&M.transition.mode==="out-in",H&&(P.transition.afterLeave=()=>{L===y.pendingId&&(p(M,G,o===T?m(P):o,0),_c(F))}),P&&(_(P.el)!==y.hiddenContainer&&(o=m(P)),g(P,Q,y,!0)),H||p(M,G,o,0)),$i(y,M),y.pendingBranch=null,y.isInFallback=!1;let R=y.parent,z=!1;for(;R;){if(R.pendingBranch){R.effects.push(...F),z=!0;break}R=R.parent}!z&&!H&&_c(F),y.effects=[],S&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!C&&t.resolve()),zo(E,"onResolve")},fallback(x){if(!y.pendingBranch)return;const{vnode:C,activeBranch:E,parentComponent:P,container:M,namespace:L}=y;zo(C,"onFallback");const F=m(E),Q=()=>{y.isInFallback&&(h(null,x,M,F,P,null,L,a,l),$i(y,x))},G=x.transition&&x.transition.mode==="out-in";G&&(E.transition.afterLeave=Q),y.isInFallback=!0,g(E,P,null,!0),G||Q()},move(x,C,E){y.activeBranch&&p(y.activeBranch,x,C,E),y.container=x},next(){return y.activeBranch&&m(y.activeBranch)},registerDep(x,C,E){const P=!!y.pendingBranch;P&&y.deps++;const M=x.vnode.el;x.asyncDep.catch(L=>{or(L,x,0)}).then(L=>{if(x.isUnmounted||y.isUnmounted||y.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:F}=x;Ac(x,L,!1),M&&(F.el=M);const Q=!M&&x.subTree.el;C(x,F,_(M||x.subTree.el),M?null:m(x.subTree),y,r,E),Q&&v(Q),Td(x,F.el),P&&--y.deps===0&&y.resolve()})},unmount(x,C){y.isUnmounted=!0,y.activeBranch&&g(y.activeBranch,s,x,C),y.pendingBranch&&g(y.pendingBranch,s,x,C)}};return y}function dw(e,t,s,n,i,o,r,a,l){const c=t.suspense=Od(t,n,s,e.parentNode,document.createElement("div"),null,i,o,r,a,!0),d=l(e,c.pendingBranch=t.ssContent,s,c,o,r);return c.deps===0&&c.resolve(!1,!0),d}function uw(e){const{shapeFlag:t,children:s}=e,n=t&32;e.ssContent=Sh(n?s.default:s),e.ssFallback=n?Sh(s.fallback):dt(we)}function Sh(e){let t;if(St(e)){const s=Fi&&e._c;s&&(e._d=!1,O()),e=e(),s&&(e._d=!0,t=Je,Cm())}return mt(e)&&(e=sw(e)),e=as(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(s=>s!==e)),e}function hw(e,t){t&&t.pendingBranch?mt(e)?t.effects.push(...e):t.effects.push(e):_c(e)}function $i(e,t){e.activeBranch=t;const{vnode:s,parentComponent:n}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;s.el=i,n&&n.subTree===s&&(n.vnode.el=i,Td(n,i))}function fw(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}function Ja(e,t,s=he,n=!1){if(s){const i=s[e]||(s[e]=[]),o=t.__weh||(t.__weh=(...r)=>{Sn();const a=ar(s),l=ts(t,s,e,r);return a(),En(),l});return n?i.unshift(o):i.push(o),o}}const Ws=e=>(t,s=he)=>{(!tl||e==="sp")&&Ja(e,(...n)=>t(...n),s)},pw=Ws("bm"),Ld=Ws("m"),gw=Ws("bu"),om=Ws("u"),Rd=Ws("bum"),rm=Ws("um"),mw=Ws("sp"),_w=Ws("rtg"),bw=Ws("rtc");function vw(e,t=he){Ja("ec",e,t)}function ft(e,t){if(Se===null)return e;const s=el(Se),n=e.dirs||(e.dirs=[]);for(let i=0;it(r,a,void 0,o&&o[a]));else{const r=Object.keys(e);i=new Array(r.length);for(let a=0,l=r.length;a!!e.type.__asyncLoader,vc=e=>e?Tm(e)?el(e):vc(e.parent):null,Po=ie(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>vc(e.parent),$root:e=>vc(e.root),$emit:e=>e.emit,$options:e=>Nd(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,kd(e.update)}),$nextTick:e=>e.n||(e.n=rr.bind(e.proxy)),$watch:e=>Vw.bind(e)}),Ll=(e,t)=>e!==Gt&&!e.__isScriptSetup&&Vt(e,t),yw={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:o,accessCache:r,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const g=r[t];if(g!==void 0)switch(g){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return o[t]}else{if(Ll(n,t))return r[t]=1,n[t];if(i!==Gt&&Vt(i,t))return r[t]=2,i[t];if((c=e.propsOptions[0])&&Vt(c,t))return r[t]=3,o[t];if(s!==Gt&&Vt(s,t))return r[t]=4,s[t];yc&&(r[t]=0)}}const d=Po[t];let h,p;if(d)return t==="$attrs"&&Me(e.attrs,"get",""),d(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(s!==Gt&&Vt(s,t))return r[t]=4,s[t];if(p=l.config.globalProperties,Vt(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:o}=e;return Ll(i,t)?(i[t]=s,!0):n!==Gt&&Vt(n,t)?(n[t]=s,!0):Vt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,propsOptions:o}},r){let a;return!!s[r]||e!==Gt&&Vt(e,r)||Ll(t,r)||(a=o[0])&&Vt(a,r)||Vt(n,r)||Vt(Po,r)||Vt(i.config.globalProperties,r)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:Vt(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Eh(e){return mt(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let yc=!0;function xw(e){const t=Nd(e),s=e.proxy,n=e.ctx;yc=!1,t.beforeCreate&&Ah(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:c,created:d,beforeMount:h,mounted:p,beforeUpdate:g,updated:m,activated:_,deactivated:v,beforeDestroy:w,beforeUnmount:S,destroyed:$,unmounted:T,render:y,renderTracked:x,renderTriggered:C,errorCaptured:E,serverPrefetch:P,expose:M,inheritAttrs:L,components:F,directives:Q,filters:G}=t;if(c&&ww(c,n,null),r)for(const z in r){const Y=r[z];St(Y)&&(n[z]=Y.bind(s))}if(i){const z=i.call(s,s);Ut(z)&&(e.data=ir(z))}if(yc=!0,o)for(const z in o){const Y=o[z],at=St(Y)?Y.bind(s,s):St(Y.get)?Y.get.bind(s,s):Ge,ht=!St(Y)&&St(Y.set)?Y.set.bind(s):Ge,vt=qe({get:at,set:ht});Object.defineProperty(n,z,{enumerable:!0,configurable:!0,get:()=>vt.value,set:_t=>vt.value=_t})}if(a)for(const z in a)am(a[z],n,s,z);if(l){const z=St(l)?l.call(s):l;Reflect.ownKeys(z).forEach(Y=>{oa(Y,z[Y])})}d&&Ah(d,e,"c");function R(z,Y){mt(Y)?Y.forEach(at=>z(at.bind(s))):Y&&z(Y.bind(s))}if(R(pw,h),R(Ld,p),R(gw,g),R(om,m),R(jw,_),R(Hw,v),R(vw,E),R(bw,x),R(_w,C),R(Rd,S),R(rm,T),R(mw,P),mt(M))if(M.length){const z=e.exposed||(e.exposed={});M.forEach(Y=>{Object.defineProperty(z,Y,{get:()=>s[Y],set:at=>s[Y]=at})})}else e.exposed||(e.exposed={});y&&e.render===Ge&&(e.render=y),L!=null&&(e.inheritAttrs=L),F&&(e.components=F),Q&&(e.directives=Q)}function ww(e,t,s=Ge){mt(e)&&(e=xc(e));for(const n in e){const i=e[n];let o;Ut(i)?"default"in i?o=ys(i.from||n,i.default,!0):o=ys(i.from||n):o=ys(i),de(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):t[n]=o}}function Ah(e,t,s){ts(mt(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function am(e,t,s,n){const i=n.includes(".")?ym(s,n):()=>s[n];if(oe(e)){const o=t[e];St(o)&&Qn(i,o)}else if(St(e))Qn(i,e.bind(s));else if(Ut(e))if(mt(e))e.forEach(o=>am(o,t,s,n));else{const o=St(e.handler)?e.handler.bind(s):t[e.handler];St(o)&&Qn(i,o,e)}}function Nd(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=e.appContext,a=o.get(t);let l;return a?l=a:!i.length&&!s&&!n?l=t:(l={},i.length&&i.forEach(c=>Sa(l,c,r,!0)),Sa(l,t,r)),Ut(t)&&o.set(t,l),l}function Sa(e,t,s,n=!1){const{mixins:i,extends:o}=t;o&&Sa(e,o,s,!0),i&&i.forEach(r=>Sa(e,r,s,!0));for(const r in t)if(!(n&&r==="expose")){const a=Sw[r]||s&&s[r];e[r]=a?a(e[r],t[r]):t[r]}return e}const Sw={data:Ch,props:$h,emits:$h,methods:_o,computed:_o,beforeCreate:xe,created:xe,beforeMount:xe,mounted:xe,beforeUpdate:xe,updated:xe,beforeDestroy:xe,beforeUnmount:xe,destroyed:xe,unmounted:xe,activated:xe,deactivated:xe,errorCaptured:xe,serverPrefetch:xe,components:_o,directives:_o,watch:Aw,provide:Ch,inject:Ew};function Ch(e,t){return t?e?function(){return ie(St(e)?e.call(this,this):e,St(t)?t.call(this,this):t)}:t:e}function Ew(e,t){return _o(xc(e),xc(t))}function xc(e){if(mt(e)){const t={};for(let s=0;s1)return s&&St(t)?t.call(n&&n.proxy):t}}function Pw(){return!!(he||Se||Pi)}const cm={},dm=()=>Object.create(cm),um=e=>Object.getPrototypeOf(e)===cm;function kw(e,t,s,n=!1){const i={},o=dm();e.propsDefaults=Object.create(null),hm(e,t,i,o);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);s?e.props=n?i:Ug(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Tw(e,t,s,n){const{props:i,attrs:o,vnode:{patchFlag:r}}=e,a=Ot(i),[l]=e.propsOptions;let c=!1;if((n||r>0)&&!(r&16)){if(r&8){const d=e.vnode.dynamicProps;for(let h=0;h{l=!0;const[p,g]=fm(h,t,!0);ie(r,p),g&&a.push(...g)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!l)return Ut(e)&&n.set(e,Ei),Ei;if(mt(o))for(let d=0;d-1,g[1]=_<0||m<_,(m>-1||Vt(g,"default"))&&a.push(h)}}}const c=[r,a];return Ut(e)&&n.set(e,c),c}function Ph(e){return e[0]!=="$"&&!$o(e)}function kh(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Th(e,t){return kh(e)===kh(t)}function Mh(e,t){return mt(t)?t.findIndex(s=>Th(s,e)):St(t)&&Th(t,e)?0:-1}const pm=e=>e[0]==="_"||e==="$stable",Fd=e=>mt(e)?e.map(as):[as(e)],Mw=(e,t,s)=>{if(t._n)return t;const n=It((...i)=>Fd(t(...i)),s);return n._c=!1,n},gm=(e,t,s)=>{const n=e._ctx;for(const i in e){if(pm(i))continue;const o=e[i];if(St(o))t[i]=Mw(i,o,n);else if(o!=null){const r=Fd(o);t[i]=()=>r}}},mm=(e,t)=>{const s=Fd(t);e.slots.default=()=>s},Dw=(e,t)=>{const s=e.slots=dm();if(e.vnode.shapeFlag&32){const n=t._;n?(ie(s,t),$g(s,"_",n,!0)):gm(t,s)}else t&&mm(e,t)},Iw=(e,t,s)=>{const{vnode:n,slots:i}=e;let o=!0,r=Gt;if(n.shapeFlag&32){const a=t._;a?s&&a===1?o=!1:(ie(i,t),!s&&a===1&&delete i._):(o=!t.$stable,gm(t,i)),r=t}else t&&(mm(e,t),r={default:1});if(o)for(const a in i)!pm(a)&&r[a]==null&&delete i[a]};function Sc(e,t,s,n,i=!1){if(mt(e)){e.forEach((p,g)=>Sc(p,t&&(mt(t)?t[g]:t),s,n,i));return}if(ia(n)&&!i)return;const o=n.shapeFlag&4?el(n.component):n.el,r=i?null:o,{i:a,r:l}=e,c=t&&t.r,d=a.refs===Gt?a.refs={}:a.refs,h=a.setupState;if(c!=null&&c!==l&&(oe(c)?(d[c]=null,Vt(h,c)&&(h[c]=null)):de(c)&&(c.value=null)),St(l))gn(l,a,12,[r,d]);else{const p=oe(l),g=de(l);if(p||g){const m=()=>{if(e.f){const _=p?Vt(h,l)?h[l]:d[l]:l.value;i?mt(_)&&md(_,o):mt(_)?_.includes(o)||_.push(o):p?(d[l]=[o],Vt(h,l)&&(h[l]=d[l])):(l.value=[o],e.k&&(d[e.k]=l.value))}else p?(d[l]=r,Vt(h,l)&&(h[l]=r)):g&&(l.value=r,e.k&&(d[e.k]=r))};r?(m.id=-1,ke(m,s)):m()}}}const ke=hw;function Ow(e){return Lw(e)}function Lw(e,t){const s=kg();s.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:r,createText:a,createComment:l,setText:c,setElementText:d,parentNode:h,nextSibling:p,setScopeId:g=Ge,insertStaticContent:m}=e,_=(A,I,N,q=null,K=null,X=null,lt=void 0,V=null,Z=!!I.dynamicChildren)=>{if(A===I)return;A&&!ms(A,I)&&(q=W(A),_t(A,K,X,!0),A=null),I.patchFlag===-2&&(Z=!1,I.dynamicChildren=null);const{type:J,ref:ut,shapeFlag:gt}=I;switch(J){case Za:v(A,I,N,q);break;case we:w(A,I,N,q);break;case Fl:A==null&&S(I,N,q,lt);break;case Nt:F(A,I,N,q,K,X,lt,V,Z);break;default:gt&1?y(A,I,N,q,K,X,lt,V,Z):gt&6?Q(A,I,N,q,K,X,lt,V,Z):(gt&64||gt&128)&&J.process(A,I,N,q,K,X,lt,V,Z,ct)}ut!=null&&K&&Sc(ut,A&&A.ref,X,I||A,!I)},v=(A,I,N,q)=>{if(A==null)n(I.el=a(I.children),N,q);else{const K=I.el=A.el;I.children!==A.children&&c(K,I.children)}},w=(A,I,N,q)=>{A==null?n(I.el=l(I.children||""),N,q):I.el=A.el},S=(A,I,N,q)=>{[A.el,A.anchor]=m(A.children,I,N,q,A.el,A.anchor)},$=({el:A,anchor:I},N,q)=>{let K;for(;A&&A!==I;)K=p(A),n(A,N,q),A=K;n(I,N,q)},T=({el:A,anchor:I})=>{let N;for(;A&&A!==I;)N=p(A),i(A),A=N;i(I)},y=(A,I,N,q,K,X,lt,V,Z)=>{I.type==="svg"?lt="svg":I.type==="math"&&(lt="mathml"),A==null?x(I,N,q,K,X,lt,V,Z):P(A,I,K,X,lt,V,Z)},x=(A,I,N,q,K,X,lt,V)=>{let Z,J;const{props:ut,shapeFlag:gt,transition:pt,dirs:yt}=A;if(Z=A.el=r(A.type,X,ut&&ut.is,ut),gt&8?d(Z,A.children):gt&16&&E(A.children,Z,null,q,K,Rl(A,X),lt,V),yt&&Nn(A,null,q,"created"),C(Z,A,A.scopeId,lt,q),ut){for(const Wt in ut)Wt!=="value"&&!$o(Wt)&&o(Z,Wt,null,ut[Wt],X,A.children,q,K,kt);"value"in ut&&o(Z,"value",null,ut.value,X),(J=ut.onVnodeBeforeMount)&&hs(J,q,A)}yt&&Nn(A,null,q,"beforeMount");const Ct=Rw(K,pt);Ct&&pt.beforeEnter(Z),n(Z,I,N),((J=ut&&ut.onVnodeMounted)||Ct||yt)&&ke(()=>{J&&hs(J,q,A),Ct&&pt.enter(Z),yt&&Nn(A,null,q,"mounted")},K)},C=(A,I,N,q,K)=>{if(N&&g(A,N),q)for(let X=0;X{for(let J=Z;J{const V=I.el=A.el;let{patchFlag:Z,dynamicChildren:J,dirs:ut}=I;Z|=A.patchFlag&16;const gt=A.props||Gt,pt=I.props||Gt;let yt;if(N&&Fn(N,!1),(yt=pt.onVnodeBeforeUpdate)&&hs(yt,N,I,A),ut&&Nn(I,A,N,"beforeUpdate"),N&&Fn(N,!0),J?M(A.dynamicChildren,J,V,N,q,Rl(I,K),X):lt||Y(A,I,V,null,N,q,Rl(I,K),X,!1),Z>0){if(Z&16)L(V,I,gt,pt,N,q,K);else if(Z&2&>.class!==pt.class&&o(V,"class",null,pt.class,K),Z&4&&o(V,"style",gt.style,pt.style,K),Z&8){const Ct=I.dynamicProps;for(let Wt=0;Wt{yt&&hs(yt,N,I,A),ut&&Nn(I,A,N,"updated")},q)},M=(A,I,N,q,K,X,lt)=>{for(let V=0;V{if(N!==q){if(N!==Gt)for(const V in N)!$o(V)&&!(V in q)&&o(A,V,N[V],null,lt,I.children,K,X,kt);for(const V in q){if($o(V))continue;const Z=q[V],J=N[V];Z!==J&&V!=="value"&&o(A,V,J,Z,lt,I.children,K,X,kt)}"value"in q&&o(A,"value",N.value,q.value,lt)}},F=(A,I,N,q,K,X,lt,V,Z)=>{const J=I.el=A?A.el:a(""),ut=I.anchor=A?A.anchor:a("");let{patchFlag:gt,dynamicChildren:pt,slotScopeIds:yt}=I;yt&&(V=V?V.concat(yt):yt),A==null?(n(J,N,q),n(ut,N,q),E(I.children||[],N,ut,K,X,lt,V,Z)):gt>0&>&64&&pt&&A.dynamicChildren?(M(A.dynamicChildren,pt,N,K,X,lt,V),(I.key!=null||K&&I===K.subTree)&&_m(A,I,!0)):Y(A,I,N,ut,K,X,lt,V,Z)},Q=(A,I,N,q,K,X,lt,V,Z)=>{I.slotScopeIds=V,A==null?I.shapeFlag&512?K.ctx.activate(I,N,q,lt,Z):G(I,N,q,K,X,lt,Z):H(A,I,Z)},G=(A,I,N,q,K,X,lt)=>{const V=A.component=Qw(A,q,K);if(Qa(A)&&(V.ctx.renderer=ct),Zw(V),V.asyncDep){if(K&&K.registerDep(V,R,lt),!A.el){const Z=V.subTree=dt(we);w(null,Z,I,N)}}else R(V,A,I,N,K,X,lt)},H=(A,I,N)=>{const q=I.component=A.component;if(ow(A,I,N))if(q.asyncDep&&!q.asyncResolved){z(q,I,N);return}else q.next=I,Zx(q.update),q.effect.dirty=!0,q.update();else I.el=A.el,q.vnode=I},R=(A,I,N,q,K,X,lt)=>{const V=()=>{if(A.isMounted){let{next:ut,bu:gt,u:pt,parent:yt,vnode:Ct}=A;{const Us=bm(A);if(Us){ut&&(ut.el=Ct.el,z(A,ut,lt)),Us.asyncDep.then(()=>{A.isUnmounted||V()});return}}let Wt=ut,Rt;Fn(A,!1),ut?(ut.el=Ct.el,z(A,ut,lt)):ut=Ct,gt&&sa(gt),(Rt=ut.props&&ut.props.onVnodeBeforeUpdate)&&hs(Rt,yt,ut,Ct),Fn(A,!0);const re=Ol(A),We=A.subTree;A.subTree=re,_(We,re,h(We.el),W(We),A,K,X),ut.el=re.el,Wt===null&&Td(A,re.el),pt&&ke(pt,K),(Rt=ut.props&&ut.props.onVnodeUpdated)&&ke(()=>hs(Rt,yt,ut,Ct),K)}else{let ut;const{el:gt,props:pt}=I,{bm:yt,m:Ct,parent:Wt}=A,Rt=ia(I);if(Fn(A,!1),yt&&sa(yt),!Rt&&(ut=pt&&pt.onVnodeBeforeMount)&&hs(ut,Wt,I),Fn(A,!0),gt&&Lt){const re=()=>{A.subTree=Ol(A),Lt(gt,A.subTree,A,K,null)};Rt?I.type.__asyncLoader().then(()=>!A.isUnmounted&&re()):re()}else{const re=A.subTree=Ol(A);_(null,re,N,q,A,K,X),I.el=re.el}if(Ct&&ke(Ct,K),!Rt&&(ut=pt&&pt.onVnodeMounted)){const re=I;ke(()=>hs(ut,Wt,re),K)}(I.shapeFlag&256||Wt&&ia(Wt.vnode)&&Wt.vnode.shapeFlag&256)&&A.a&&ke(A.a,K),A.isMounted=!0,I=N=q=null}},Z=A.effect=new yd(V,Ge,()=>kd(J),A.scope),J=A.update=()=>{Z.dirty&&Z.run()};J.id=A.uid,Fn(A,!0),J()},z=(A,I,N)=>{I.component=A;const q=A.vnode.props;A.vnode=I,A.next=null,Tw(A,I.props,q,N),Iw(A,I.children,N),Sn(),yh(A),En()},Y=(A,I,N,q,K,X,lt,V,Z=!1)=>{const J=A&&A.children,ut=A?A.shapeFlag:0,gt=I.children,{patchFlag:pt,shapeFlag:yt}=I;if(pt>0){if(pt&128){ht(J,gt,N,q,K,X,lt,V,Z);return}else if(pt&256){at(J,gt,N,q,K,X,lt,V,Z);return}}yt&8?(ut&16&&kt(J,K,X),gt!==J&&d(N,gt)):ut&16?yt&16?ht(J,gt,N,q,K,X,lt,V,Z):kt(J,K,X,!0):(ut&8&&d(N,""),yt&16&&E(gt,N,q,K,X,lt,V,Z))},at=(A,I,N,q,K,X,lt,V,Z)=>{A=A||Ei,I=I||Ei;const J=A.length,ut=I.length,gt=Math.min(J,ut);let pt;for(pt=0;ptut?kt(A,K,X,!0,!1,gt):E(I,N,q,K,X,lt,V,Z,gt)},ht=(A,I,N,q,K,X,lt,V,Z)=>{let J=0;const ut=I.length;let gt=A.length-1,pt=ut-1;for(;J<=gt&&J<=pt;){const yt=A[J],Ct=I[J]=Z?nn(I[J]):as(I[J]);if(ms(yt,Ct))_(yt,Ct,N,null,K,X,lt,V,Z);else break;J++}for(;J<=gt&&J<=pt;){const yt=A[gt],Ct=I[pt]=Z?nn(I[pt]):as(I[pt]);if(ms(yt,Ct))_(yt,Ct,N,null,K,X,lt,V,Z);else break;gt--,pt--}if(J>gt){if(J<=pt){const yt=pt+1,Ct=ytpt)for(;J<=gt;)_t(A[J],K,X,!0),J++;else{const yt=J,Ct=J,Wt=new Map;for(J=Ct;J<=pt;J++){const ye=I[J]=Z?nn(I[J]):as(I[J]);ye.key!=null&&Wt.set(ye.key,J)}let Rt,re=0;const We=pt-Ct+1;let Us=!1,pr=0;const kn=new Array(We);for(J=0;J=We){_t(ye,K,X,!0);continue}let ge;if(ye.key!=null)ge=Wt.get(ye.key);else for(Rt=Ct;Rt<=pt;Rt++)if(kn[Rt-Ct]===0&&ms(ye,I[Rt])){ge=Rt;break}ge===void 0?_t(ye,K,X,!0):(kn[ge-Ct]=J+1,ge>=pr?pr=ge:Us=!0,_(ye,I[ge],N,null,K,X,lt,V,Z),re++)}const no=Us?Nw(kn):Ei;for(Rt=no.length-1,J=We-1;J>=0;J--){const ye=Ct+J,ge=I[ye],gr=ye+1{const{el:X,type:lt,transition:V,children:Z,shapeFlag:J}=A;if(J&6){vt(A.component.subTree,I,N,q);return}if(J&128){A.suspense.move(I,N,q);return}if(J&64){lt.move(A,I,N,ct);return}if(lt===Nt){n(X,I,N);for(let gt=0;gtV.enter(X),K);else{const{leave:gt,delayLeave:pt,afterLeave:yt}=V,Ct=()=>n(X,I,N),Wt=()=>{gt(X,()=>{Ct(),yt&&yt()})};pt?pt(X,Ct,Wt):Wt()}else n(X,I,N)},_t=(A,I,N,q=!1,K=!1)=>{const{type:X,props:lt,ref:V,children:Z,dynamicChildren:J,shapeFlag:ut,patchFlag:gt,dirs:pt,memoIndex:yt}=A;if(V!=null&&Sc(V,null,N,A,!0),yt!=null&&(I.renderCache[yt]=void 0),ut&256){I.ctx.deactivate(A);return}const Ct=ut&1&&pt,Wt=!ia(A);let Rt;if(Wt&&(Rt=lt&<.onVnodeBeforeUnmount)&&hs(Rt,I,A),ut&6)Bt(A.component,N,q);else{if(ut&128){A.suspense.unmount(N,q);return}Ct&&Nn(A,null,I,"beforeUnmount"),ut&64?A.type.remove(A,I,N,K,ct,q):J&&(X!==Nt||gt>0&>&64)?kt(J,I,N,!1,!0):(X===Nt&>&384||!K&&ut&16)&&kt(Z,I,N),q&&Dt(A)}(Wt&&(Rt=lt&<.onVnodeUnmounted)||Ct)&&ke(()=>{Rt&&hs(Rt,I,A),Ct&&Nn(A,null,I,"unmounted")},N)},Dt=A=>{const{type:I,el:N,anchor:q,transition:K}=A;if(I===Nt){Pt(N,q);return}if(I===Fl){T(A);return}const X=()=>{i(N),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(A.shapeFlag&1&&K&&!K.persisted){const{leave:lt,delayLeave:V}=K,Z=()=>lt(N,X);V?V(A.el,X,Z):Z()}else X()},Pt=(A,I)=>{let N;for(;A!==I;)N=p(A),i(A),A=N;i(I)},Bt=(A,I,N)=>{const{bum:q,scope:K,update:X,subTree:lt,um:V,m:Z,a:J}=A;Dh(Z),Dh(J),q&&sa(q),K.stop(),X&&(X.active=!1,_t(lt,A,I,N)),V&&ke(V,I),ke(()=>{A.isUnmounted=!0},I),I&&I.pendingBranch&&!I.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===I.pendingId&&(I.deps--,I.deps===0&&I.resolve())},kt=(A,I,N,q=!1,K=!1,X=0)=>{for(let lt=X;ltA.shapeFlag&6?W(A.component.subTree):A.shapeFlag&128?A.suspense.next():p(A.anchor||A.el);let st=!1;const tt=(A,I,N)=>{A==null?I._vnode&&_t(I._vnode,null,null,!0):_(I._vnode||null,A,I,null,null,null,N),st||(st=!0,yh(),tm(),st=!1),I._vnode=A},ct={p:_,um:_t,m:vt,r:Dt,mt:G,mc:E,pc:Y,pbc:M,n:W,o:e};let j,Lt;return t&&([j,Lt]=t(ct)),{render:tt,hydrate:j,createApp:$w(tt,j)}}function Rl({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function Fn({effect:e,update:t},s){e.allowRecurse=t.allowRecurse=s}function Rw(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function _m(e,t,s=!1){const n=e.children,i=t.children;if(mt(n)&&mt(i))for(let o=0;o>1,e[s[a]]0&&(t[n]=s[o-1]),s[o]=n)}}for(o=s.length,r=s[o-1];o-- >0;)s[o]=r,r=t[r];return s}function bm(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:bm(t)}function Dh(e){if(e)for(let t=0;tys(Fw),Or={};function Qn(e,t,s){return vm(e,t,s)}function vm(e,t,{immediate:s,deep:n,flush:i,once:o,onTrack:r,onTrigger:a}=Gt){if(t&&o){const x=t;t=(...C)=>{x(...C),y()}}const l=he,c=x=>n===!0?x:rn(x,n===!1?1:void 0);let d,h=!1,p=!1;if(de(e)?(d=()=>e.value,h=xa(e)):Xn(e)?(d=()=>c(e),h=!0):mt(e)?(p=!0,h=e.some(x=>Xn(x)||xa(x)),d=()=>e.map(x=>{if(de(x))return x.value;if(Xn(x))return c(x);if(St(x))return gn(x,l,2)})):St(e)?t?d=()=>gn(e,l,2):d=()=>(g&&g(),ts(e,l,3,[m])):d=Ge,t&&n){const x=d;d=()=>rn(x())}let g,m=x=>{g=$.onStop=()=>{gn(x,l,4),g=$.onStop=void 0}},_;if(tl)if(m=Ge,t?s&&ts(t,l,3,[d(),p?[]:void 0,m]):d(),i==="sync"){const x=Bw();_=x.__watcherHandles||(x.__watcherHandles=[])}else return Ge;let v=p?new Array(e.length).fill(Or):Or;const w=()=>{if(!(!$.active||!$.dirty))if(t){const x=$.run();(n||h||(p?x.some((C,E)=>_n(C,v[E])):_n(x,v)))&&(g&&g(),ts(t,l,3,[x,v===Or?void 0:p&&v[0]===Or?[]:v,m]),v=x)}else $.run()};w.allowRecurse=!!t;let S;i==="sync"?S=w:i==="post"?S=()=>ke(w,l&&l.suspense):(w.pre=!0,l&&(w.id=l.uid),S=()=>kd(w));const $=new yd(d,Ge,S),T=vd(),y=()=>{$.stop(),T&&md(T.effects,$)};return t?s?w():v=$.run():i==="post"?ke($.run.bind($),l&&l.suspense):$.run(),_&&_.push(y),y}function Vw(e,t,s){const n=this.proxy,i=oe(e)?e.includes(".")?ym(n,e):()=>n[e]:e.bind(n,n);let o;St(t)?o=t:(o=t.handler,s=t);const r=ar(this),a=vm(i,o.bind(n),s);return r(),a}function ym(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i{rn(n,t,s)});else if(Cg(e)){for(const n in e)rn(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&rn(e[n],t,s)}return e}const Qa=e=>e.type.__isKeepAlive;function jw(e,t){xm(e,"a",t)}function Hw(e,t){xm(e,"da",t)}function xm(e,t,s=he){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Ja(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Qa(i.parent.vnode)&&Ww(n,t,s,i),i=i.parent}}function Ww(e,t,s,n){const i=Ja(t,e,n,!0);rm(()=>{md(n[t],i)},s)}const sn=Symbol("_leaveCb"),Lr=Symbol("_enterCb");function wm(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ld(()=>{e.isMounted=!0}),Rd(()=>{e.isUnmounting=!0}),e}const Ue=[Function,Array],Sm={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ue,onEnter:Ue,onAfterEnter:Ue,onEnterCancelled:Ue,onBeforeLeave:Ue,onLeave:Ue,onAfterLeave:Ue,onLeaveCancelled:Ue,onBeforeAppear:Ue,onAppear:Ue,onAfterAppear:Ue,onAppearCancelled:Ue},Em=e=>{const t=e.subTree;return t.component?Em(t.component):t},zw={name:"BaseTransition",props:Sm,setup(e,{slots:t}){const s=km(),n=wm();return()=>{const i=t.default&&Bd(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const p of i)if(p.type!==we){o=p;break}}const r=Ot(e),{mode:a}=r;if(n.isLeaving)return Nl(o);const l=Ih(o);if(!l)return Nl(o);let c=Ko(l,r,n,s,p=>c=p);Ni(l,c);const d=s.subTree,h=d&&Ih(d);if(h&&h.type!==we&&!ms(l,h)&&Em(s).type!==we){const p=Ko(h,r,n,s);if(Ni(h,p),a==="out-in"&&l.type!==we)return n.isLeaving=!0,p.afterLeave=()=>{n.isLeaving=!1,s.update.active!==!1&&(s.effect.dirty=!0,s.update())},Nl(o);a==="in-out"&&l.type!==we&&(p.delayLeave=(g,m,_)=>{const v=Am(n,h);v[String(h.key)]=h,g[sn]=()=>{m(),g[sn]=void 0,delete c.delayedLeave},c.delayedLeave=_})}return o}}},Kw=zw;function Am(e,t){const{leavingVNodes:s}=e;let n=s.get(t.type);return n||(n=Object.create(null),s.set(t.type,n)),n}function Ko(e,t,s,n,i){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:d,onEnterCancelled:h,onBeforeLeave:p,onLeave:g,onAfterLeave:m,onLeaveCancelled:_,onBeforeAppear:v,onAppear:w,onAfterAppear:S,onAppearCancelled:$}=t,T=String(e.key),y=Am(s,e),x=(P,M)=>{P&&ts(P,n,9,M)},C=(P,M)=>{const L=M[1];x(P,M),mt(P)?P.every(F=>F.length<=1)&&L():P.length<=1&&L()},E={mode:r,persisted:a,beforeEnter(P){let M=l;if(!s.isMounted)if(o)M=v||l;else return;P[sn]&&P[sn](!0);const L=y[T];L&&ms(e,L)&&L.el[sn]&&L.el[sn](),x(M,[P])},enter(P){let M=c,L=d,F=h;if(!s.isMounted)if(o)M=w||c,L=S||d,F=$||h;else return;let Q=!1;const G=P[Lr]=H=>{Q||(Q=!0,H?x(F,[P]):x(L,[P]),E.delayedLeave&&E.delayedLeave(),P[Lr]=void 0)};M?C(M,[P,G]):G()},leave(P,M){const L=String(e.key);if(P[Lr]&&P[Lr](!0),s.isUnmounting)return M();x(p,[P]);let F=!1;const Q=P[sn]=G=>{F||(F=!0,M(),G?x(_,[P]):x(m,[P]),P[sn]=void 0,y[L]===e&&delete y[L])};y[L]=e,g?C(g,[P,Q]):Q()},clone(P){const M=Ko(P,t,s,n,i);return i&&i(M),M}};return E}function Nl(e){if(Qa(e))return e=bn(e),e.children=null,e}function Ih(e){if(!Qa(e))return e;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&St(s.default))return s.default()}}function Ni(e,t){e.shapeFlag&6&&e.component?Ni(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Bd(e,t=!1,s){let n=[],i=0;for(let o=0;o1)for(let o=0;oe.__isTeleport,Nt=Symbol.for("v-fgt"),Za=Symbol.for("v-txt"),we=Symbol.for("v-cmt"),Fl=Symbol.for("v-stc"),ko=[];let Je=null;function O(e=!1){ko.push(Je=e?null:[])}function Cm(){ko.pop(),Je=ko[ko.length-1]||null}let Fi=1;function Oh(e){Fi+=e}function $m(e){return e.dynamicChildren=Fi>0?Je||Ei:null,Cm(),Fi>0&&Je&&Je.push(e),e}function B(e,t,s,n,i,o){return $m(u(e,t,s,n,i,o,!0))}function qt(e,t,s,n,i){return $m(dt(e,t,s,n,i,!0))}function Ea(e){return e?e.__v_isVNode===!0:!1}function ms(e,t){return e.type===t.type&&e.key===t.key}const Pm=({key:e})=>e??null,ra=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?oe(e)||de(e)||St(e)?{i:Se,r:e,k:t,f:!!s}:e:null);function u(e,t=null,s=null,n=0,i=null,o=e===Nt?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Pm(t),ref:t&&ra(t),scopeId:Ga,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Se};return a?(Vd(l,s),o&128&&e.normalize(l)):s&&(l.shapeFlag|=oe(s)?8:16),Fi>0&&!r&&Je&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Je.push(l),l}const dt=Yw;function Yw(e,t=null,s=null,n=0,i=null,o=!1){if((!e||e===nm)&&(e=we),Ea(e)){const a=bn(e,t,!0);return s&&Vd(a,s),Fi>0&&!o&&Je&&(a.shapeFlag&6?Je[Je.indexOf(e)]=a:Je.push(a)),a.patchFlag=-2,a}if(iS(e)&&(e=e.__vccOpts),t){t=qw(t);let{class:a,style:l}=t;a&&!oe(a)&&(t.class=Mt(a)),Ut(l)&&(Ua(l)&&!mt(l)&&(l=ie({},l)),t.style=Ri(l))}const r=oe(e)?1:rw(e)?128:Uw(e)?64:Ut(e)?4:St(e)?2:0;return u(e,t,s,n,i,r,o,!0)}function qw(e){return e?Ua(e)||um(e)?ie({},e):e:null}function bn(e,t,s=!1,n=!1){const{props:i,ref:o,patchFlag:r,children:a,transition:l}=e,c=t?Gw(i||{},t):i,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Pm(c),ref:t&&t.ref?s&&o?mt(o)?o.concat(ra(t)):[o,ra(t)]:ra(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Nt?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&bn(e.ssContent),ssFallback:e.ssFallback&&bn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Ni(d,l.clone(d)),d}function rt(e=" ",t=0){return dt(Za,null,e,t)}function xt(e="",t=!1){return t?(O(),qt(we,null,e)):dt(we,null,e)}function as(e){return e==null||typeof e=="boolean"?dt(we):mt(e)?dt(Nt,null,e.slice()):typeof e=="object"?nn(e):dt(Za,null,String(e))}function nn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:bn(e)}function Vd(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(mt(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),Vd(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!um(t)?t._ctx=Se:i===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else St(t)?(t={default:t,_ctx:Se},s=32):(t=String(t),n&64?(s=16,t=[rt(t)]):s=8);e.children=t,e.shapeFlag|=s}function Gw(...e){const t={};for(let s=0;she||Se;let Aa,Ec;{const e=kg(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),o=>{i.length>1?i.forEach(r=>r(o)):i[0](o)}};Aa=t("__VUE_INSTANCE_SETTERS__",s=>he=s),Ec=t("__VUE_SSR_SETTERS__",s=>tl=s)}const ar=e=>{const t=he;return Aa(e),e.scope.on(),()=>{e.scope.off(),Aa(t)}},Lh=()=>{he&&he.scope.off(),Aa(null)};function Tm(e){return e.vnode.shapeFlag&4}let tl=!1;function Zw(e,t=!1){t&&Ec(t);const{props:s,children:n}=e.vnode,i=Tm(e);kw(e,s,i,t),Dw(e,n);const o=i?tS(e,t):void 0;return t&&Ec(!1),o}function tS(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,yw);const{setup:n}=s;if(n){const i=e.setupContext=n.length>1?sS(e):null,o=ar(e);Sn();const r=gn(n,e,0,[e.props,i]);if(En(),o(),Eg(r)){if(r.then(Lh,Lh),t)return r.then(a=>{Ac(e,a,t)}).catch(a=>{or(a,e,0)});e.asyncDep=r}else Ac(e,r,t)}else Mm(e,t)}function Ac(e,t,s){St(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ut(t)&&(e.setupState=Xg(t)),Mm(e,s)}let Rh;function Mm(e,t,s){const n=e.type;if(!e.render){if(!t&&Rh&&!n.render){const i=n.template||Nd(e).template;if(i){const{isCustomElement:o,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:l}=n,c=ie(ie({isCustomElement:o,delimiters:a},r),l);n.render=Rh(i,c)}}e.render=n.render||Ge}{const i=ar(e);Sn();try{xw(e)}finally{En(),i()}}}const eS={get(e,t){return Me(e,"get",""),e[t]}};function sS(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,eS),slots:e.slots,emit:e.emit,expose:t}}function el(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Xg(Ya(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Po)return Po[s](e)},has(t,s){return s in t||s in Po}})):e.proxy}function nS(e,t=!0){return St(e)?e.displayName||e.name:e.name||t&&e.__name}function iS(e){return St(e)&&"__vccOpts"in e}const qe=(e,t)=>Kx(e,t,tl);function Bi(e,t,s){const n=arguments.length;return n===2?Ut(t)&&!mt(t)?Ea(t)?dt(e,null,[t]):dt(e,t):dt(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Ea(s)&&(s=[s]),dt(e,t,s))}const Dm="3.4.29";/** +**/function Ci(e,t,n,s){try{return s?e(...s):e()}catch(i){el(i,t,n)}}function Jn(e,t,n,s){if(Ue(e)){const i=Ci(e,t,n,s);return i&&Nb(i)&&i.catch(o=>{el(o,t,n)}),i}if(Be(e)){const i=[];for(let o=0;o>>1,i=ln[s],o=Ir(i);oys&&ln.splice(t,1)}function Nd(e){Be(e)?aa.push(...e):(!mi||!mi.includes(e,e.allowRecurse?po+1:po))&&aa.push(e),hv()}function pm(e,t,n=Or?ys+1:0){for(;nIr(n)-Ir(s));if(aa.length=0,mi){mi.push(...t);return}for(mi=t,po=0;poe.id==null?1/0:e.id,KA=(e,t)=>{const n=Ir(e)-Ir(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function pv(e){Ld=!1,Or=!0,ln.sort(KA);try{for(ys=0;ysSt(p)?p.trim():p)),d&&(i=n.map(vc))}let r,l=s[r=Hu(t)]||s[r=Hu(Ts(t))];!l&&o&&(l=s[r=Hu(Mo(t))]),l&&Jn(l,e,6,i);const c=s[r+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,Jn(c,e,6,i)}}function mv(e,t,n=!1){const s=t.emitsCache,i=s.get(e);if(i!==void 0)return i;const o=e.emits;let a={},r=!1;if(!Ue(e)){const l=c=>{const u=mv(c,t,!0);u&&(r=!0,Lt(a,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!r?(ht(e)&&s.set(e,null),null):(Be(o)?o.forEach(l=>a[l]=null):Lt(a,o),ht(e)&&s.set(e,a),a)}function Qc(e,t){return!e||!Yc(t)?!1:(t=t.slice(2).replace(/Once$/,""),it(e,t[0].toLowerCase()+t.slice(1))||it(e,Mo(t))||it(e,t))}let Wt=null,Zc=null;function xc(e){const t=Wt;return Wt=e,Zc=e&&e.type.__scopeId||null,t}function En(e){Zc=e}function Cn(){Zc=null}function Te(e,t=Wt,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&Tm(-1);const o=xc(t);let a;try{a=e(...i)}finally{xc(o),s._d&&Tm(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function Wu(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[o],slots:a,attrs:r,emit:l,render:c,renderCache:u,props:d,data:f,setupState:p,ctx:g,inheritAttrs:_}=e,v=xc(e);let w,A;try{if(n.shapeFlag&4){const M=i||s,k=M;w=ss(c.call(k,M,u,d,p,f,g)),A=r}else{const M=t;w=ss(M.length>1?M(d,{attrs:r,slots:a,emit:l}):M(d,null)),A=t.props?r:JA(r)}}catch(M){_r.length=0,el(M,e,1),w=$e(cn)}let $=w;if(A&&_!==!1){const M=Object.keys(A),{shapeFlag:k}=$;M.length&&k&7&&(o&&M.some(jh)&&(A=XA(A,o)),$=Oi($,A,!1,!0))}return n.dirs&&($=Oi($,null,!1,!0),$.dirs=$.dirs?$.dirs.concat(n.dirs):n.dirs),n.transition&&($.transition=n.transition),w=$,xc(v),w}function GA(e,t=!0){let n;for(let s=0;s{let t;for(const n in e)(n==="class"||n==="style"||Yc(n))&&((t||(t={}))[n]=e[n]);return t},XA=(e,t)=>{const n={};for(const s in e)(!jh(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function QA(e,t,n){const{props:s,children:i,component:o}=e,{props:a,children:r,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?mm(s,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;let Fd=0;const e$={name:"Suspense",__isSuspense:!0,process(e,t,n,s,i,o,a,r,l,c){if(e==null)t$(t,n,s,i,o,a,r,l,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}n$(e,t,n,s,i,a,r,l,c)}},hydrate:s$,create:rf,normalize:i$},af=e$;function Rr(e,t){const n=e.props&&e.props[t];Ue(n)&&n()}function t$(e,t,n,s,i,o,a,r,l){const{p:c,o:{createElement:u}}=l,d=u("div"),f=e.suspense=rf(e,i,s,t,d,n,o,a,r,l);c(null,f.pendingBranch=e.ssContent,d,null,s,f,o,a),f.deps>0?(Rr(e,"onPending"),Rr(e,"onFallback"),c(null,e.ssFallback,t,n,s,null,o,a),ra(f,e.ssFallback)):f.resolve(!1,!0)}function n$(e,t,n,s,i,o,a,r,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:g,pendingBranch:_,isInFallback:v,isHydrating:w}=d;if(_)d.pendingBranch=f,ws(f,_)?(l(_,f,d.hiddenContainer,null,i,d,o,a,r),d.deps<=0?d.resolve():v&&(w||(l(g,p,n,s,i,null,o,a,r),ra(d,p)))):(d.pendingId=Fd++,w?(d.isHydrating=!1,d.activeBranch=_):c(_,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),v?(l(null,f,d.hiddenContainer,null,i,d,o,a,r),d.deps<=0?d.resolve():(l(g,p,n,s,i,null,o,a,r),ra(d,p))):g&&ws(f,g)?(l(g,f,n,s,i,d,o,a,r),d.resolve(!0)):(l(null,f,d.hiddenContainer,null,i,d,o,a,r),d.deps<=0&&d.resolve()));else if(g&&ws(f,g))l(g,f,n,s,i,d,o,a,r),ra(d,f);else if(Rr(t,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=Fd++,l(null,f,d.hiddenContainer,null,i,d,o,a,r),d.deps<=0)d.resolve();else{const{timeout:A,pendingId:$}=d;A>0?setTimeout(()=>{d.pendingId===$&&d.fallback(p)},A):A===0&&d.fallback(p)}}function rf(e,t,n,s,i,o,a,r,l,c,u=!1){const{p:d,m:f,um:p,n:g,o:{parentNode:_,remove:v}}=c;let w;const A=a$(e);A&&t&&t.pendingBranch&&(w=t.pendingId,t.deps++);const $=e.props?Hb(e.props.timeout):void 0,M=o,k={vnode:e,parent:t,parentComponent:n,namespace:a,container:s,hiddenContainer:i,deps:0,pendingId:Fd++,timeout:typeof $=="number"?$:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(y=!1,x=!1){const{vnode:E,activeBranch:P,pendingBranch:C,pendingId:F,effects:G,parentComponent:ae,container:Y}=k;let L=!1;k.isHydrating?k.isHydrating=!1:y||(L=P&&C.transition&&C.transition.mode==="out-in",L&&(P.transition.afterLeave=()=>{F===k.pendingId&&(f(C,Y,o===M?g(P):o,0),Nd(G))}),P&&(_(P.el)!==k.hiddenContainer&&(o=g(P)),p(P,ae,k,!0)),L||f(C,Y,o,0)),ra(k,C),k.pendingBranch=null,k.isInFallback=!1;let O=k.parent,V=!1;for(;O;){if(O.pendingBranch){O.effects.push(...G),V=!0;break}O=O.parent}!V&&!L&&Nd(G),k.effects=[],A&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!x&&t.resolve()),Rr(E,"onResolve")},fallback(y){if(!k.pendingBranch)return;const{vnode:x,activeBranch:E,parentComponent:P,container:C,namespace:F}=k;Rr(x,"onFallback");const G=g(E),ae=()=>{k.isInFallback&&(d(null,y,C,G,P,null,F,r,l),ra(k,y))},Y=y.transition&&y.transition.mode==="out-in";Y&&(E.transition.afterLeave=ae),k.isInFallback=!0,p(E,P,null,!0),Y||ae()},move(y,x,E){k.activeBranch&&f(k.activeBranch,y,x,E),k.container=y},next(){return k.activeBranch&&g(k.activeBranch)},registerDep(y,x,E){const P=!!k.pendingBranch;P&&k.deps++;const C=y.vnode.el;y.asyncDep.catch(F=>{el(F,y,0)}).then(F=>{if(y.isUnmounted||k.isUnmounted||k.pendingId!==y.suspenseId)return;y.asyncResolved=!0;const{vnode:G}=y;Ud(y,F,!1),C&&(G.el=C);const ae=!C&&y.subTree.el;x(y,G,_(C||y.subTree.el),C?null:g(y.subTree),k,a,E),ae&&v(ae),sf(y,G.el),P&&--k.deps===0&&k.resolve()})},unmount(y,x){k.isUnmounted=!0,k.activeBranch&&p(k.activeBranch,n,y,x),k.pendingBranch&&p(k.pendingBranch,n,y,x)}};return k}function s$(e,t,n,s,i,o,a,r,l){const c=t.suspense=rf(t,s,n,e.parentNode,document.createElement("div"),null,i,o,a,r,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,o,a);return c.deps===0&&c.resolve(!1,!0),u}function i$(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=_m(s?n.default:n),e.ssFallback=s?_m(n.fallback):$e(cn)}function _m(e){let t;if(Ue(e)){const n=ga&&e._c;n&&(e._d=!1,R()),e=e(),n&&(e._d=!0,t=Un,Hv())}return Be(e)&&(e=GA(e)),e=ss(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function o$(e,t){t&&t.pendingBranch?Be(e)?t.effects.push(...e):t.effects.push(e):Nd(e)}function ra(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,s&&s.subTree===n&&(s.vnode.el=i,sf(s,i))}function a$(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}function eu(e,t,n=Jt,s=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{Bi();const r=tl(n),l=Jn(t,n,e,a);return r(),Vi(),l});return s?i.unshift(o):i.push(o),o}}const ti=e=>(t,n=Jt)=>{(!su||e==="sp")&&eu(e,(...s)=>t(...s),n)},r$=ti("bm"),Kt=ti("m"),bv=ti("bu"),vv=ti("u"),lf=ti("bum"),La=ti("um"),l$=ti("sp"),c$=ti("rtg"),u$=ti("rtc");function d$(e,t=Jt){eu("ec",e,t)}function Le(e,t){if(Wt===null)return e;const n=iu(Wt),s=e.dirs||(e.dirs=[]);for(let i=0;it(a,r,void 0,o&&o[r]));else{const a=Object.keys(e);i=new Array(a.length);for(let r=0,l=a.length;r{const o=s.fn(...i);return o&&(o.key=s.key),o}:s.fn)}return e}/*! #__NO_SIDE_EFFECTS__ */function Nt(e,t){return Ue(e)?Lt({name:e.name},t,{setup:e}):e}const pr=e=>!!e.type.__asyncLoader;function Ie(e,t,n={},s,i){if(Wt.isCE||Wt.parent&&pr(Wt.parent)&&Wt.parent.isCE)return t!=="default"&&(n.name=t),$e("slot",n,s&&s());let o=e[t];o&&o._c&&(o._d=!1),R();const a=o&&yv(o(n)),r=Ne(Me,{key:n.key||a&&a.key||`_${t}`},a||(s?s():[]),a&&e._===1?64:-2);return!i&&r.scopeId&&(r.slotScopeIds=[r.scopeId+"-s"]),o&&o._c&&(o._d=!0),r}function yv(e){return e.some(t=>Nr(t)?!(t.type===cn||t.type===Me&&!yv(t.children)):!0)?e:null}const Bd=e=>e?zv(e)?iu(e):Bd(e.parent):null,mr=Lt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Bd(e.parent),$root:e=>Bd(e.root),$emit:e=>e.emit,$options:e=>cf(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,nf(e.update)}),$nextTick:e=>e.n||(e.n=Zt.bind(e.proxy)),$watch:e=>O$.bind(e)}),zu=(e,t)=>e!==bt&&!e.__isScriptSetup&&it(e,t),h$={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:o,accessCache:a,type:r,appContext:l}=e;let c;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(zu(s,t))return a[t]=1,s[t];if(i!==bt&&it(i,t))return a[t]=2,i[t];if((c=e.propsOptions[0])&&it(c,t))return a[t]=3,o[t];if(n!==bt&&it(n,t))return a[t]=4,n[t];Vd&&(a[t]=0)}}const u=mr[t];let d,f;if(u)return t==="$attrs"&&$n(e.attrs,"get",""),u(e);if((d=r.__cssModules)&&(d=d[t]))return d;if(n!==bt&&it(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,it(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:o}=e;return zu(i,t)?(i[t]=n,!0):s!==bt&&it(s,t)?(s[t]=n,!0):it(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,propsOptions:o}},a){let r;return!!n[a]||e!==bt&&it(e,a)||zu(t,a)||(r=o[0])&&it(r,a)||it(s,a)||it(mr,a)||it(i.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:it(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Oo(){return wv().slots}function f$(){return wv().attrs}function wv(){const e=pf();return e.setupContext||(e.setupContext=Uv(e))}function bm(e){return Be(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Vd=!0;function p$(e){const t=cf(e),n=e.proxy,s=e.ctx;Vd=!1,t.beforeCreate&&vm(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:a,watch:r,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:g,activated:_,deactivated:v,beforeDestroy:w,beforeUnmount:A,destroyed:$,unmounted:M,render:k,renderTracked:y,renderTriggered:x,errorCaptured:E,serverPrefetch:P,expose:C,inheritAttrs:F,components:G,directives:ae,filters:Y}=t;if(c&&m$(c,s,null),a)for(const V in a){const Q=a[V];Ue(Q)&&(s[V]=Q.bind(n))}if(i){const V=i.call(n,n);ht(V)&&(e.data=Ms(V))}if(Vd=!0,o)for(const V in o){const Q=o[V],Z=Ue(Q)?Q.bind(n,n):Ue(Q.get)?Q.get.bind(n,n):Yn,le=!Ue(Q)&&Ue(Q.set)?Q.set.bind(n):Yn,ye=_e({get:Z,set:le});Object.defineProperty(s,V,{enumerable:!0,configurable:!0,get:()=>ye.value,set:U=>ye.value=U})}if(r)for(const V in r)xv(r[V],s,n,V);if(l){const V=Ue(l)?l.call(n):l;Reflect.ownKeys(V).forEach(Q=>{sc(Q,V[Q])})}u&&vm(u,e,"c");function O(V,Q){Be(Q)?Q.forEach(Z=>V(Z.bind(n))):Q&&V(Q.bind(n))}if(O(r$,d),O(Kt,f),O(bv,p),O(vv,g),O(I$,_),O(R$,v),O(d$,E),O(u$,y),O(c$,x),O(lf,A),O(La,M),O(l$,P),Be(C))if(C.length){const V=e.exposed||(e.exposed={});C.forEach(Q=>{Object.defineProperty(V,Q,{get:()=>n[Q],set:Z=>n[Q]=Z})})}else e.exposed||(e.exposed={});k&&e.render===Yn&&(e.render=k),F!=null&&(e.inheritAttrs=F),G&&(e.components=G),ae&&(e.directives=ae)}function m$(e,t,n=Yn){Be(e)&&(e=Hd(e));for(const s in e){const i=e[s];let o;ht(i)?"default"in i?o=ls(i.from||s,i.default,!0):o=ls(i.from||s):o=ls(i),Ct(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[s]=o}}function vm(e,t,n){Jn(Be(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function xv(e,t,n,s){const i=s.includes(".")?Iv(n,s):()=>n[s];if(St(e)){const o=t[e];Ue(o)&&Ut(i,o)}else if(Ue(e))Ut(i,e.bind(n));else if(ht(e))if(Be(e))e.forEach(o=>xv(o,t,n,s));else{const o=Ue(e.handler)?e.handler.bind(n):t[e.handler];Ue(o)&&Ut(i,o,e)}}function cf(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,r=o.get(t);let l;return r?l=r:!i.length&&!n&&!s?l=t:(l={},i.length&&i.forEach(c=>kc(l,c,a,!0)),kc(l,t,a)),ht(t)&&o.set(t,l),l}function kc(e,t,n,s=!1){const{mixins:i,extends:o}=t;o&&kc(e,o,n,!0),i&&i.forEach(a=>kc(e,a,n,!0));for(const a in t)if(!(s&&a==="expose")){const r=g$[a]||n&&n[a];e[a]=r?r(e[a],t[a]):t[a]}return e}const g$={data:ym,props:wm,emits:wm,methods:sr,computed:sr,beforeCreate:fn,created:fn,beforeMount:fn,mounted:fn,beforeUpdate:fn,updated:fn,beforeDestroy:fn,beforeUnmount:fn,destroyed:fn,unmounted:fn,activated:fn,deactivated:fn,errorCaptured:fn,serverPrefetch:fn,components:sr,directives:sr,watch:b$,provide:ym,inject:_$};function ym(e,t){return t?e?function(){return Lt(Ue(e)?e.call(this,this):e,Ue(t)?t.call(this,this):t)}:t:e}function _$(e,t){return sr(Hd(e),Hd(t))}function Hd(e){if(Be(e)){const t={};for(let n=0;n1)return n&&Ue(t)?t.call(s&&s.proxy):t}}function w$(){return!!(Jt||Wt||la)}const Sv={},Av=()=>Object.create(Sv),$v=e=>Object.getPrototypeOf(e)===Sv;function x$(e,t,n,s=!1){const i={},o=Av();e.propsDefaults=Object.create(null),Ev(e,t,i,o);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=s?i:iv(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function k$(e,t,n,s){const{props:i,attrs:o,vnode:{patchFlag:a}}=e,r=Ze(i),[l]=e.propsOptions;let c=!1;if((s||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,p]=Cv(d,t,!0);Lt(a,f),p&&r.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return ht(e)&&s.set(e,ia),ia;if(Be(o))for(let u=0;u-1,p[1]=_<0||g<_,(g>-1||it(p,"default"))&&r.push(d)}}}const c=[a,r];return ht(e)&&s.set(e,c),c}function xm(e){return e[0]!=="$"&&!fr(e)}function km(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Sm(e,t){return km(e)===km(t)}function Am(e,t){return Be(t)?t.findIndex(n=>Sm(n,e)):Ue(t)&&Sm(t,e)?0:-1}const Pv=e=>e[0]==="_"||e==="$stable",uf=e=>Be(e)?e.map(ss):[ss(e)],S$=(e,t,n)=>{if(t._n)return t;const s=Te((...i)=>uf(t(...i)),n);return s._c=!1,s},Tv=(e,t,n)=>{const s=e._ctx;for(const i in e){if(Pv(i))continue;const o=e[i];if(Ue(o))t[i]=S$(i,o,s);else if(o!=null){const a=uf(o);t[i]=()=>a}}},Mv=(e,t)=>{const n=uf(t);e.slots.default=()=>n},A$=(e,t)=>{const n=e.slots=Av();if(e.vnode.shapeFlag&32){const s=t._;s?(Lt(n,t),Vb(n,"_",s,!0)):Tv(t,n)}else t&&Mv(e,t)},$$=(e,t,n)=>{const{vnode:s,slots:i}=e;let o=!0,a=bt;if(s.shapeFlag&32){const r=t._;r?n&&r===1?o=!1:(Lt(i,t),!n&&r===1&&delete i._):(o=!t.$stable,Tv(t,i)),a=t}else t&&(Mv(e,t),a={default:1});if(o)for(const r in i)!Pv(r)&&a[r]==null&&delete i[r]};function Wd(e,t,n,s,i=!1){if(Be(e)){e.forEach((f,p)=>Wd(f,t&&(Be(t)?t[p]:t),n,s,i));return}if(pr(s)&&!i)return;const o=s.shapeFlag&4?iu(s.component):s.el,a=i?null:o,{i:r,r:l}=e,c=t&&t.r,u=r.refs===bt?r.refs={}:r.refs,d=r.setupState;if(c!=null&&c!==l&&(St(c)?(u[c]=null,it(d,c)&&(d[c]=null)):Ct(c)&&(c.value=null)),Ue(l))Ci(l,r,12,[a,u]);else{const f=St(l),p=Ct(l);if(f||p){const g=()=>{if(e.f){const _=f?it(d,l)?d[l]:u[l]:l.value;i?Be(_)&&Wh(_,o):Be(_)?_.includes(o)||_.push(o):f?(u[l]=[o],it(d,l)&&(d[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else f?(u[l]=a,it(d,l)&&(d[l]=a)):p&&(l.value=a,e.k&&(u[e.k]=a))};a?(g.id=-1,kn(g,n)):g()}}}const kn=o$;function E$(e){return C$(e)}function C$(e,t){const n=jb();n.__VUE__=!0;const{insert:s,remove:i,patchProp:o,createElement:a,createText:r,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=Yn,insertStaticContent:g}=e,_=(b,D,H,W=null,ie=null,j=null,te=void 0,J=null,he=!!D.dynamicChildren)=>{if(b===D)return;b&&!ws(b,D)&&(W=T(b),U(b,ie,j,!0),b=null),D.patchFlag===-2&&(he=!1,D.dynamicChildren=null);const{type:ge,ref:pe,shapeFlag:Re}=D;switch(ge){case nu:v(b,D,H,W);break;case cn:w(b,D,H,W);break;case ic:b==null&&A(D,H,W,te);break;case Me:G(b,D,H,W,ie,j,te,J,he);break;default:Re&1?k(b,D,H,W,ie,j,te,J,he):Re&6?ae(b,D,H,W,ie,j,te,J,he):(Re&64||Re&128)&&ge.process(b,D,H,W,ie,j,te,J,he,ke)}pe!=null&&ie&&Wd(pe,b&&b.ref,j,D||b,!D)},v=(b,D,H,W)=>{if(b==null)s(D.el=r(D.children),H,W);else{const ie=D.el=b.el;D.children!==b.children&&c(ie,D.children)}},w=(b,D,H,W)=>{b==null?s(D.el=l(D.children||""),H,W):D.el=b.el},A=(b,D,H,W)=>{[b.el,b.anchor]=g(b.children,D,H,W,b.el,b.anchor)},$=({el:b,anchor:D},H,W)=>{let ie;for(;b&&b!==D;)ie=f(b),s(b,H,W),b=ie;s(D,H,W)},M=({el:b,anchor:D})=>{let H;for(;b&&b!==D;)H=f(b),i(b),b=H;i(D)},k=(b,D,H,W,ie,j,te,J,he)=>{D.type==="svg"?te="svg":D.type==="math"&&(te="mathml"),b==null?y(D,H,W,ie,j,te,J,he):P(b,D,ie,j,te,J,he)},y=(b,D,H,W,ie,j,te,J)=>{let he,ge;const{props:pe,shapeFlag:Re,transition:Oe,dirs:He}=b;if(he=b.el=a(b.type,j,pe&&pe.is,pe),Re&8?u(he,b.children):Re&16&&E(b.children,he,null,W,ie,Yu(b,j),te,J),He&&no(b,null,W,"created"),x(he,b,b.scopeId,te,W),pe){for(const et in pe)et!=="value"&&!fr(et)&&o(he,et,null,pe[et],j,b.children,W,ie,oe);"value"in pe&&o(he,"value",null,pe.value,j),(ge=pe.onVnodeBeforeMount)&&_s(ge,W,b)}He&&no(b,null,W,"beforeMount");const Ve=P$(ie,Oe);Ve&&Oe.beforeEnter(he),s(he,D,H),((ge=pe&&pe.onVnodeMounted)||Ve||He)&&kn(()=>{ge&&_s(ge,W,b),Ve&&Oe.enter(he),He&&no(b,null,W,"mounted")},ie)},x=(b,D,H,W,ie)=>{if(H&&p(b,H),W)for(let j=0;j{for(let ge=he;ge{const J=D.el=b.el;let{patchFlag:he,dynamicChildren:ge,dirs:pe}=D;he|=b.patchFlag&16;const Re=b.props||bt,Oe=D.props||bt;let He;if(H&&so(H,!1),(He=Oe.onVnodeBeforeUpdate)&&_s(He,H,D,b),pe&&no(D,b,H,"beforeUpdate"),H&&so(H,!0),ge?C(b.dynamicChildren,ge,J,H,W,Yu(D,ie),j):te||Q(b,D,J,null,H,W,Yu(D,ie),j,!1),he>0){if(he&16)F(J,D,Re,Oe,H,W,ie);else if(he&2&&Re.class!==Oe.class&&o(J,"class",null,Oe.class,ie),he&4&&o(J,"style",Re.style,Oe.style,ie),he&8){const Ve=D.dynamicProps;for(let et=0;et{He&&_s(He,H,D,b),pe&&no(D,b,H,"updated")},W)},C=(b,D,H,W,ie,j,te)=>{for(let J=0;J{if(H!==W){if(H!==bt)for(const J in H)!fr(J)&&!(J in W)&&o(b,J,H[J],null,te,D.children,ie,j,oe);for(const J in W){if(fr(J))continue;const he=W[J],ge=H[J];he!==ge&&J!=="value"&&o(b,J,ge,he,te,D.children,ie,j,oe)}"value"in W&&o(b,"value",H.value,W.value,te)}},G=(b,D,H,W,ie,j,te,J,he)=>{const ge=D.el=b?b.el:r(""),pe=D.anchor=b?b.anchor:r("");let{patchFlag:Re,dynamicChildren:Oe,slotScopeIds:He}=D;He&&(J=J?J.concat(He):He),b==null?(s(ge,H,W),s(pe,H,W),E(D.children||[],H,pe,ie,j,te,J,he)):Re>0&&Re&64&&Oe&&b.dynamicChildren?(C(b.dynamicChildren,Oe,H,ie,j,te,J),(D.key!=null||ie&&D===ie.subTree)&&df(b,D,!0)):Q(b,D,H,pe,ie,j,te,J,he)},ae=(b,D,H,W,ie,j,te,J,he)=>{D.slotScopeIds=J,b==null?D.shapeFlag&512?ie.ctx.activate(D,H,W,te,he):Y(D,H,W,ie,j,te,he):L(b,D,he)},Y=(b,D,H,W,ie,j,te)=>{const J=b.component=K$(b,W,ie);if(tu(b)&&(J.ctx.renderer=ke),q$(J),J.asyncDep){if(ie&&ie.registerDep(J,O,te),!b.el){const he=J.subTree=$e(cn);w(null,he,D,H)}}else O(J,b,D,H,ie,j,te)},L=(b,D,H)=>{const W=D.component=b.component;if(QA(b,D,H))if(W.asyncDep&&!W.asyncResolved){V(W,D,H);return}else W.next=D,UA(W.update),W.effect.dirty=!0,W.update();else D.el=b.el,W.vnode=D},O=(b,D,H,W,ie,j,te)=>{const J=()=>{if(b.isMounted){let{next:pe,bu:Re,u:Oe,parent:He,vnode:Ve}=b;{const Vn=Dv(b);if(Vn){pe&&(pe.el=Ve.el,V(b,pe,te)),Vn.asyncDep.then(()=>{b.isUnmounted||J()});return}}let et=pe,Je;so(b,!1),pe?(pe.el=Ve.el,V(b,pe,te)):pe=Ve,Re&&tc(Re),(Je=pe.props&&pe.props.onVnodeBeforeUpdate)&&_s(Je,He,pe,Ve),so(b,!0);const mt=Wu(b),sn=b.subTree;b.subTree=mt,_(sn,mt,d(sn.el),T(sn),b,ie,j),pe.el=mt.el,et===null&&sf(b,mt.el),Oe&&kn(Oe,ie),(Je=pe.props&&pe.props.onVnodeUpdated)&&kn(()=>_s(Je,He,pe,Ve),ie)}else{let pe;const{el:Re,props:Oe}=D,{bm:He,m:Ve,parent:et}=b,Je=pr(D);if(so(b,!1),He&&tc(He),!Je&&(pe=Oe&&Oe.onVnodeBeforeMount)&&_s(pe,et,D),so(b,!0),Re&&fe){const mt=()=>{b.subTree=Wu(b),fe(Re,b.subTree,b,ie,null)};Je?D.type.__asyncLoader().then(()=>!b.isUnmounted&&mt()):mt()}else{const mt=b.subTree=Wu(b);_(null,mt,H,W,b,ie,j),D.el=mt.el}if(Ve&&kn(Ve,ie),!Je&&(pe=Oe&&Oe.onVnodeMounted)){const mt=D;kn(()=>_s(pe,et,mt),ie)}(D.shapeFlag&256||et&&pr(et.vnode)&&et.vnode.shapeFlag&256)&&b.a&&kn(b.a,ie),b.isMounted=!0,D=H=W=null}},he=b.effect=new Kh(J,Yn,()=>nf(ge),b.scope),ge=b.update=()=>{he.dirty&&he.run()};ge.id=b.uid,so(b,!0),ge()},V=(b,D,H)=>{D.component=b;const W=b.vnode.props;b.vnode=D,b.next=null,k$(b,D.props,W,H),$$(b,D.children,H),Bi(),pm(b),Vi()},Q=(b,D,H,W,ie,j,te,J,he=!1)=>{const ge=b&&b.children,pe=b?b.shapeFlag:0,Re=D.children,{patchFlag:Oe,shapeFlag:He}=D;if(Oe>0){if(Oe&128){le(ge,Re,H,W,ie,j,te,J,he);return}else if(Oe&256){Z(ge,Re,H,W,ie,j,te,J,he);return}}He&8?(pe&16&&oe(ge,ie,j),Re!==ge&&u(H,Re)):pe&16?He&16?le(ge,Re,H,W,ie,j,te,J,he):oe(ge,ie,j,!0):(pe&8&&u(H,""),He&16&&E(Re,H,W,ie,j,te,J,he))},Z=(b,D,H,W,ie,j,te,J,he)=>{b=b||ia,D=D||ia;const ge=b.length,pe=D.length,Re=Math.min(ge,pe);let Oe;for(Oe=0;Oepe?oe(b,ie,j,!0,!1,Re):E(D,H,W,ie,j,te,J,he,Re)},le=(b,D,H,W,ie,j,te,J,he)=>{let ge=0;const pe=D.length;let Re=b.length-1,Oe=pe-1;for(;ge<=Re&&ge<=Oe;){const He=b[ge],Ve=D[ge]=he?_i(D[ge]):ss(D[ge]);if(ws(He,Ve))_(He,Ve,H,null,ie,j,te,J,he);else break;ge++}for(;ge<=Re&&ge<=Oe;){const He=b[Re],Ve=D[Oe]=he?_i(D[Oe]):ss(D[Oe]);if(ws(He,Ve))_(He,Ve,H,null,ie,j,te,J,he);else break;Re--,Oe--}if(ge>Re){if(ge<=Oe){const He=Oe+1,Ve=HeOe)for(;ge<=Re;)U(b[ge],ie,j,!0),ge++;else{const He=ge,Ve=ge,et=new Map;for(ge=Ve;ge<=Oe;ge++){const Vt=D[ge]=he?_i(D[ge]):ss(D[ge]);Vt.key!=null&&et.set(Vt.key,ge)}let Je,mt=0;const sn=Oe-Ve+1;let Vn=!1,ii=0;const Qn=new Array(sn);for(ge=0;ge=sn){U(Vt,ie,j,!0);continue}let ne;if(Vt.key!=null)ne=et.get(Vt.key);else for(Je=Ve;Je<=Oe;Je++)if(Qn[Je-Ve]===0&&ws(Vt,D[Je])){ne=Je;break}ne===void 0?U(Vt,ie,j,!0):(Qn[ne-Ve]=ge+1,ne>=ii?ii=ne:Vn=!0,_(Vt,D[ne],H,null,ie,j,te,J,he),mt++)}const Os=Vn?T$(Qn):ia;for(Je=Os.length-1,ge=sn-1;ge>=0;ge--){const Vt=Ve+ge,ne=D[Vt],Se=Vt+1{const{el:j,type:te,transition:J,children:he,shapeFlag:ge}=b;if(ge&6){ye(b.component.subTree,D,H,W);return}if(ge&128){b.suspense.move(D,H,W);return}if(ge&64){te.move(b,D,H,ke);return}if(te===Me){s(j,D,H);for(let Re=0;ReJ.enter(j),ie);else{const{leave:Re,delayLeave:Oe,afterLeave:He}=J,Ve=()=>s(j,D,H),et=()=>{Re(j,()=>{Ve(),He&&He()})};Oe?Oe(j,Ve,et):et()}else s(j,D,H)},U=(b,D,H,W=!1,ie=!1)=>{const{type:j,props:te,ref:J,children:he,dynamicChildren:ge,shapeFlag:pe,patchFlag:Re,dirs:Oe,memoIndex:He}=b;if(J!=null&&Wd(J,null,H,b,!0),He!=null&&(D.renderCache[He]=void 0),pe&256){D.ctx.deactivate(b);return}const Ve=pe&1&&Oe,et=!pr(b);let Je;if(et&&(Je=te&&te.onVnodeBeforeUnmount)&&_s(Je,D,b),pe&6)ee(b.component,H,W);else{if(pe&128){b.suspense.unmount(H,W);return}Ve&&no(b,null,D,"beforeUnmount"),pe&64?b.type.remove(b,D,H,ie,ke,W):ge&&(j!==Me||Re>0&&Re&64)?oe(ge,D,H,!1,!0):(j===Me&&Re&384||!ie&&pe&16)&&oe(he,D,H),W&&X(b)}(et&&(Je=te&&te.onVnodeUnmounted)||Ve)&&kn(()=>{Je&&_s(Je,D,b),Ve&&no(b,null,D,"unmounted")},H)},X=b=>{const{type:D,el:H,anchor:W,transition:ie}=b;if(D===Me){I(H,W);return}if(D===ic){M(b);return}const j=()=>{i(H),ie&&!ie.persisted&&ie.afterLeave&&ie.afterLeave()};if(b.shapeFlag&1&&ie&&!ie.persisted){const{leave:te,delayLeave:J}=ie,he=()=>te(H,j);J?J(b.el,j,he):he()}else j()},I=(b,D)=>{let H;for(;b!==D;)H=f(b),i(b),b=H;i(D)},ee=(b,D,H)=>{const{bum:W,scope:ie,update:j,subTree:te,um:J,m:he,a:ge}=b;$m(he),$m(ge),W&&tc(W),ie.stop(),j&&(j.active=!1,U(te,b,D,H)),J&&kn(J,D),kn(()=>{b.isUnmounted=!0},D),D&&D.pendingBranch&&!D.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===D.pendingId&&(D.deps--,D.deps===0&&D.resolve())},oe=(b,D,H,W=!1,ie=!1,j=0)=>{for(let te=j;teb.shapeFlag&6?T(b.component.subTree):b.shapeFlag&128?b.suspense.next():f(b.anchor||b.el);let se=!1;const de=(b,D,H)=>{b==null?D._vnode&&U(D._vnode,null,null,!0):_(D._vnode||null,b,D,null,null,null,H),se||(se=!0,pm(),fv(),se=!1),D._vnode=b},ke={p:_,um:U,m:ye,r:X,mt:Y,mc:E,pc:Q,pbc:C,n:T,o:e};let N,fe;return t&&([N,fe]=t(ke)),{render:de,hydrate:N,createApp:y$(de,N)}}function Yu({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function so({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function P$(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function df(e,t,n=!1){const s=e.children,i=t.children;if(Be(s)&&Be(i))for(let o=0;o>1,e[n[r]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function Dv(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Dv(t)}function $m(e){if(e)for(let t=0;tls(M$),Tl={};function Ut(e,t,n){return Ov(e,t,n)}function Ov(e,t,{immediate:n,deep:s,flush:i,once:o,onTrack:a,onTrigger:r}=bt){if(t&&o){const y=t;t=(...x)=>{y(...x),k()}}const l=Jt,c=y=>s===!0?y:vi(y,s===!1?1:void 0);let u,d=!1,f=!1;if(Ct(e)?(u=()=>e.value,d=wc(e)):yo(e)?(u=()=>c(e),d=!0):Be(e)?(f=!0,d=e.some(y=>yo(y)||wc(y)),u=()=>e.map(y=>{if(Ct(y))return y.value;if(yo(y))return c(y);if(Ue(y))return Ci(y,l,2)})):Ue(e)?t?u=()=>Ci(e,l,2):u=()=>(p&&p(),Jn(e,l,3,[g])):u=Yn,t&&s){const y=u;u=()=>vi(y())}let p,g=y=>{p=$.onStop=()=>{Ci(y,l,4),p=$.onStop=void 0}},_;if(su)if(g=Yn,t?n&&Jn(t,l,3,[u(),f?[]:void 0,g]):u(),i==="sync"){const y=D$();_=y.__watcherHandles||(y.__watcherHandles=[])}else return Yn;let v=f?new Array(e.length).fill(Tl):Tl;const w=()=>{if(!(!$.active||!$.dirty))if(t){const y=$.run();(s||d||(f?y.some((x,E)=>Di(x,v[E])):Di(y,v)))&&(p&&p(),Jn(t,l,3,[y,v===Tl?void 0:f&&v[0]===Tl?[]:v,g]),v=y)}else $.run()};w.allowRecurse=!!t;let A;i==="sync"?A=w:i==="post"?A=()=>kn(w,l&&l.suspense):(w.pre=!0,l&&(w.id=l.uid),A=()=>nf(w));const $=new Kh(u,Yn,A),M=qc(),k=()=>{$.stop(),M&&Wh(M.effects,$)};return t?n?w():v=$.run():i==="post"?kn($.run.bind($),l&&l.suspense):$.run(),_&&_.push(k),k}function O$(e,t,n){const s=this.proxy,i=St(e)?e.includes(".")?Iv(s,e):()=>s[e]:e.bind(s,s);let o;Ue(t)?o=t:(o=t.handler,n=t);const a=tl(this),r=Ov(i,o.bind(s),n);return a(),r}function Iv(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i{vi(s,t,n)});else if(Bb(e)){for(const s in e)vi(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&vi(e[s],t,n)}return e}const tu=e=>e.type.__isKeepAlive;function I$(e,t){Rv(e,"a",t)}function R$(e,t){Rv(e,"da",t)}function Rv(e,t,n=Jt){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(eu(t,s,n),n){let i=n.parent;for(;i&&i.parent;)tu(i.parent.vnode)&&L$(s,t,n,i),i=i.parent}}function L$(e,t,n,s){const i=eu(t,e,s,!0);La(()=>{Wh(s[t],i)},n)}const gi=Symbol("_leaveCb"),Ml=Symbol("_enterCb");function Lv(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Kt(()=>{e.isMounted=!0}),lf(()=>{e.isUnmounting=!0}),e}const Wn=[Function,Array],Nv={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Wn,onEnter:Wn,onAfterEnter:Wn,onEnterCancelled:Wn,onBeforeLeave:Wn,onLeave:Wn,onAfterLeave:Wn,onLeaveCancelled:Wn,onBeforeAppear:Wn,onAppear:Wn,onAfterAppear:Wn,onAppearCancelled:Wn},Fv=e=>{const t=e.subTree;return t.component?Fv(t.component):t},N$={name:"BaseTransition",props:Nv,setup(e,{slots:t}){const n=pf(),s=Lv();return()=>{const i=t.default&&hf(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const f of i)if(f.type!==cn){o=f;break}}const a=Ze(e),{mode:r}=a;if(s.isLeaving)return Uu(o);const l=Em(o);if(!l)return Uu(o);let c=Lr(l,a,s,n,f=>c=f);ma(l,c);const u=n.subTree,d=u&&Em(u);if(d&&d.type!==cn&&!ws(l,d)&&Fv(n).type!==cn){const f=Lr(d,a,s,n);if(ma(d,f),r==="out-in"&&l.type!==cn)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Uu(o);r==="in-out"&&l.type!==cn&&(f.delayLeave=(p,g,_)=>{const v=Bv(s,d);v[String(d.key)]=d,p[gi]=()=>{g(),p[gi]=void 0,delete c.delayedLeave},c.delayedLeave=_})}return o}}},F$=N$;function Bv(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Lr(e,t,n,s,i){const{appear:o,mode:a,persisted:r=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:p,onAfterLeave:g,onLeaveCancelled:_,onBeforeAppear:v,onAppear:w,onAfterAppear:A,onAppearCancelled:$}=t,M=String(e.key),k=Bv(n,e),y=(P,C)=>{P&&Jn(P,s,9,C)},x=(P,C)=>{const F=C[1];y(P,C),Be(P)?P.every(G=>G.length<=1)&&F():P.length<=1&&F()},E={mode:a,persisted:r,beforeEnter(P){let C=l;if(!n.isMounted)if(o)C=v||l;else return;P[gi]&&P[gi](!0);const F=k[M];F&&ws(e,F)&&F.el[gi]&&F.el[gi](),y(C,[P])},enter(P){let C=c,F=u,G=d;if(!n.isMounted)if(o)C=w||c,F=A||u,G=$||d;else return;let ae=!1;const Y=P[Ml]=L=>{ae||(ae=!0,L?y(G,[P]):y(F,[P]),E.delayedLeave&&E.delayedLeave(),P[Ml]=void 0)};C?x(C,[P,Y]):Y()},leave(P,C){const F=String(e.key);if(P[Ml]&&P[Ml](!0),n.isUnmounting)return C();y(f,[P]);let G=!1;const ae=P[gi]=Y=>{G||(G=!0,C(),Y?y(_,[P]):y(g,[P]),P[gi]=void 0,k[F]===e&&delete k[F])};k[F]=e,p?x(p,[P,ae]):ae()},clone(P){const C=Lr(P,t,n,s,i);return i&&i(C),C}};return E}function Uu(e){if(tu(e))return e=Oi(e),e.children=null,e}function Em(e){if(!tu(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ue(n.default))return n.default()}}function ma(e,t){e.shapeFlag&6&&e.component?ma(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function hf(e,t=!1,n){let s=[],i=0;for(let o=0;o1)for(let o=0;oe.__isTeleport,gr=e=>e&&(e.disabled||e.disabled===""),Cm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Pm=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,zd=(e,t)=>{const n=e&&e.to;return St(n)?t?t(n):null:n},V$={name:"Teleport",__isTeleport:!0,process(e,t,n,s,i,o,a,r,l,c){const{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:g,createText:_,createComment:v}}=c,w=gr(t.props);let{shapeFlag:A,children:$,dynamicChildren:M}=t;if(e==null){const k=t.el=_(""),y=t.anchor=_("");p(k,n,s),p(y,n,s);const x=t.target=zd(t.props,g),E=t.targetAnchor=_("");x&&(p(E,x),a==="svg"||Cm(x)?a="svg":(a==="mathml"||Pm(x))&&(a="mathml"));const P=(C,F)=>{A&16&&u($,C,F,i,o,a,r,l)};w?P(n,y):x&&P(x,E)}else{t.el=e.el;const k=t.anchor=e.anchor,y=t.target=e.target,x=t.targetAnchor=e.targetAnchor,E=gr(e.props),P=E?n:y,C=E?k:x;if(a==="svg"||Cm(y)?a="svg":(a==="mathml"||Pm(y))&&(a="mathml"),M?(f(e.dynamicChildren,M,P,i,o,a,r),df(e,t,!0)):l||d(e,t,P,C,i,o,a,r,!1),w)E?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Dl(t,n,k,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const F=t.target=zd(t.props,g);F&&Dl(t,F,null,c,0)}else E&&Dl(t,y,x,c,1)}Vv(t)},remove(e,t,n,s,{um:i,o:{remove:o}},a){const{shapeFlag:r,children:l,anchor:c,targetAnchor:u,target:d,props:f}=e;if(d&&o(u),a&&o(c),r&16){const p=a||!gr(f);for(let g=0;g0?Un||ia:null,Hv(),ga>0&&Un&&Un.push(e),e}function B(e,t,n,s,i,o){return jv(h(e,t,n,s,i,o,!0))}function Ne(e,t,n,s,i){return jv($e(e,t,n,s,i,!0))}function Nr(e){return e?e.__v_isVNode===!0:!1}function ws(e,t){return e.type===t.type&&e.key===t.key}const Wv=({key:e})=>e??null,oc=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?St(e)||Ct(e)||Ue(e)?{i:Wt,r:e,k:t,f:!!n}:e:null);function h(e,t=null,n=null,s=0,i=null,o=e===Me?0:1,a=!1,r=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wv(t),ref:t&&oc(t),scopeId:Zc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Wt};return r?(ff(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=St(n)?8:16),ga>0&&!a&&Un&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Un.push(l),l}const $e=W$;function W$(e,t=null,n=null,s=0,i=null,o=!1){if((!e||e===gv)&&(e=cn),Nr(e)){const r=Oi(e,t,!0);return n&&ff(r,n),ga>0&&!o&&Un&&(r.shapeFlag&6?Un[Un.indexOf(e)]=r:Un.push(r)),r.patchFlag=-2,r}if(Q$(e)&&(e=e.__vccOpts),t){t=mn(t);let{class:r,style:l}=t;r&&!St(r)&&(t.class=Pe(r)),ht(l)&&(Jc(l)&&!Be(l)&&(l=Lt({},l)),t.style=jt(l))}const a=St(e)?1:ZA(e)?128:B$(e)?64:ht(e)?4:Ue(e)?2:0;return h(e,t,n,s,i,a,o,!0)}function mn(e){return e?Jc(e)||$v(e)?Lt({},e):e:null}function Oi(e,t,n=!1,s=!1){const{props:i,ref:o,patchFlag:a,children:r,transition:l}=e,c=t?zt(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Wv(c),ref:t&&t.ref?n&&o?Be(o)?o.concat(oc(t)):[o,oc(t)]:oc(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Me?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Oi(e.ssContent),ssFallback:e.ssFallback&&Oi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&ma(u,l.clone(u)),u}function we(e=" ",t=0){return $e(nu,null,e,t)}function z$(e,t){const n=$e(ic,null,e);return n.staticCount=t,n}function ce(e="",t=!1){return t?(R(),Ne(cn,null,e)):$e(cn,null,e)}function ss(e){return e==null||typeof e=="boolean"?$e(cn):Be(e)?$e(Me,null,e.slice()):typeof e=="object"?_i(e):$e(nu,null,String(e))}function _i(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Oi(e)}function ff(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Be(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),ff(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!$v(t)?t._ctx=Wt:i===3&&Wt&&(Wt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ue(t)?(t={default:t,_ctx:Wt},n=32):(t=String(t),s&64?(n=16,t=[we(t)]):n=8);e.children=t,e.shapeFlag|=n}function zt(...e){const t={};for(let n=0;nJt||Wt;let Sc,Yd;{const e=jb(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),o=>{i.length>1?i.forEach(a=>a(o)):i[0](o)}};Sc=t("__VUE_INSTANCE_SETTERS__",n=>Jt=n),Yd=t("__VUE_SSR_SETTERS__",n=>su=n)}const tl=e=>{const t=Jt;return Sc(e),e.scope.on(),()=>{e.scope.off(),Sc(t)}},Mm=()=>{Jt&&Jt.scope.off(),Sc(null)};function zv(e){return e.vnode.shapeFlag&4}let su=!1;function q$(e,t=!1){t&&Yd(t);const{props:n,children:s}=e.vnode,i=zv(e);x$(e,n,i,t),A$(e,s);const o=i?G$(e,t):void 0;return t&&Yd(!1),o}function G$(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,h$);const{setup:s}=n;if(s){const i=e.setupContext=s.length>1?Uv(e):null,o=tl(e);Bi();const a=Ci(s,e,0,[e.props,i]);if(Vi(),o(),Nb(a)){if(a.then(Mm,Mm),t)return a.then(r=>{Ud(e,r,t)}).catch(r=>{el(r,e,0)});e.asyncDep=a}else Ud(e,a,t)}else Yv(e,t)}function Ud(e,t,n){Ue(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ht(t)&&(e.setupState=cv(t)),Yv(e,n)}let Dm;function Yv(e,t,n){const s=e.type;if(!e.render){if(!t&&Dm&&!s.render){const i=s.template||cf(e).template;if(i){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:r,compilerOptions:l}=s,c=Lt(Lt({isCustomElement:o,delimiters:r},a),l);s.render=Dm(i,c)}}e.render=s.render||Yn}{const i=tl(e);Bi();try{p$(e)}finally{Vi(),i()}}}const J$={get(e,t){return $n(e,"get",""),e[t]}};function Uv(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,J$),slots:e.slots,emit:e.emit,expose:t}}function iu(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(cv(Xc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in mr)return mr[n](e)},has(t,n){return n in t||n in mr}})):e.proxy}function X$(e,t=!0){return Ue(e)?e.displayName||e.name:e.name||t&&e.__name}function Q$(e){return Ue(e)&&"__vccOpts"in e}const _e=(e,t)=>FA(e,t,su);function Co(e,t,n){const s=arguments.length;return s===2?ht(t)&&!Be(t)?Nr(t)?$e(e,null,[t]):$e(e,t):$e(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Nr(n)&&(n=[n]),$e(e,t,n))}const Kv="3.4.29";/** * @vue/runtime-dom v3.4.29 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const oS="http://www.w3.org/2000/svg",rS="http://www.w3.org/1998/Math/MathML",Is=typeof document<"u"?document:null,Nh=Is&&Is.createElement("template"),aS={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?Is.createElementNS(oS,e):t==="mathml"?Is.createElementNS(rS,e):s?Is.createElement(e,{is:s}):Is.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Is.createTextNode(e),createComment:e=>Is.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Is.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,o){const r=s?s.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===o||!(i=i.nextSibling)););else{Nh.innerHTML=n==="svg"?`${e}`:n==="mathml"?`${e}`:e;const a=Nh.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,s)}return[r?r.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Js="transition",co="animation",Vi=Symbol("_vtc"),Re=(e,{slots:t})=>Bi(Kw,Om(e),t);Re.displayName="Transition";const Im={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},lS=Re.props=ie({},Sm,Im),Bn=(e,t=[])=>{mt(e)?e.forEach(s=>s(...t)):e&&e(...t)},Fh=e=>e?mt(e)?e.some(t=>t.length>1):e.length>1:!1;function Om(e){const t={};for(const F in e)F in Im||(t[F]=e[F]);if(e.css===!1)return t;const{name:s="v",type:n,duration:i,enterFromClass:o=`${s}-enter-from`,enterActiveClass:r=`${s}-enter-active`,enterToClass:a=`${s}-enter-to`,appearFromClass:l=o,appearActiveClass:c=r,appearToClass:d=a,leaveFromClass:h=`${s}-leave-from`,leaveActiveClass:p=`${s}-leave-active`,leaveToClass:g=`${s}-leave-to`}=e,m=cS(i),_=m&&m[0],v=m&&m[1],{onBeforeEnter:w,onEnter:S,onEnterCancelled:$,onLeave:T,onLeaveCancelled:y,onBeforeAppear:x=w,onAppear:C=S,onAppearCancelled:E=$}=t,P=(F,Q,G)=>{Zs(F,Q?d:a),Zs(F,Q?c:r),G&&G()},M=(F,Q)=>{F._isLeaving=!1,Zs(F,h),Zs(F,g),Zs(F,p),Q&&Q()},L=F=>(Q,G)=>{const H=F?C:S,R=()=>P(Q,F,G);Bn(H,[Q,R]),Bh(()=>{Zs(Q,F?l:o),Ts(Q,F?d:a),Fh(H)||Vh(Q,n,_,R)})};return ie(t,{onBeforeEnter(F){Bn(w,[F]),Ts(F,o),Ts(F,r)},onBeforeAppear(F){Bn(x,[F]),Ts(F,l),Ts(F,c)},onEnter:L(!1),onAppear:L(!0),onLeave(F,Q){F._isLeaving=!0;const G=()=>M(F,Q);Ts(F,h),Ts(F,p),Rm(),Bh(()=>{F._isLeaving&&(Zs(F,h),Ts(F,g),Fh(T)||Vh(F,n,v,G))}),Bn(T,[F,G])},onEnterCancelled(F){P(F,!1),Bn($,[F])},onAppearCancelled(F){P(F,!0),Bn(E,[F])},onLeaveCancelled(F){M(F),Bn(y,[F])}})}function cS(e){if(e==null)return null;if(Ut(e))return[Bl(e.enter),Bl(e.leave)];{const t=Bl(e);return[t,t]}}function Bl(e){return Pg(e)}function Ts(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e[Vi]||(e[Vi]=new Set)).add(t)}function Zs(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const s=e[Vi];s&&(s.delete(t),s.size||(e[Vi]=void 0))}function Bh(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let dS=0;function Vh(e,t,s,n){const i=e._endId=++dS,o=()=>{i===e._endId&&n()};if(s)return setTimeout(o,s);const{type:r,timeout:a,propCount:l}=Lm(e,t);if(!r)return n();const c=r+"end";let d=0;const h=()=>{e.removeEventListener(c,p),o()},p=g=>{g.target===e&&++d>=l&&h()};setTimeout(()=>{d(s[m]||"").split(", "),i=n(`${Js}Delay`),o=n(`${Js}Duration`),r=jh(i,o),a=n(`${co}Delay`),l=n(`${co}Duration`),c=jh(a,l);let d=null,h=0,p=0;t===Js?r>0&&(d=Js,h=r,p=o.length):t===co?c>0&&(d=co,h=c,p=l.length):(h=Math.max(r,c),d=h>0?r>c?Js:co:null,p=d?d===Js?o.length:l.length:0);const g=d===Js&&/\b(transform|all)(,|$)/.test(n(`${Js}Property`).toString());return{type:d,timeout:h,propCount:p,hasTransform:g}}function jh(e,t){for(;e.lengthHh(s)+Hh(e[n])))}function Hh(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Rm(){return document.body.offsetHeight}function uS(e,t,s){const n=e[Vi];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Wh=Symbol("_vod"),hS=Symbol("_vsh"),fS=Symbol(""),pS=/(^|;)\s*display\s*:/;function gS(e,t,s){const n=e.style,i=oe(s);let o=!1;if(s&&!i){if(t)if(oe(t))for(const r of t.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&aa(n,a,"")}else for(const r in t)s[r]==null&&aa(n,r,"");for(const r in s)r==="display"&&(o=!0),aa(n,r,s[r])}else if(i){if(t!==s){const r=n[fS];r&&(s+=";"+r),n.cssText=s,o=pS.test(s)}}else t&&e.removeAttribute("style");Wh in e&&(e[Wh]=o?n.display:"",e[hS]&&(n.display="none"))}const zh=/\s*!important$/;function aa(e,t,s){if(mt(s))s.forEach(n=>aa(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=mS(e,t);zh.test(s)?e.setProperty(Zi(n),s.replace(zh,""),"important"):e[n]=s}}const Kh=["Webkit","Moz","ms"],Vl={};function mS(e,t){const s=Vl[t];if(s)return s;let n=Ss(t);if(n!=="filter"&&n in e)return Vl[t]=n;n=za(n);for(let i=0;ijl||(xS.then(()=>jl=0),jl=Date.now());function SS(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;ts(ES(n,s.value),t,5,[n])};return s.value=e,s.attached=wS(),s}function ES(e,t){if(mt(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const Jh=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,AS=(e,t,s,n,i,o,r,a,l)=>{const c=i==="svg";t==="class"?uS(e,n,c):t==="style"?gS(e,s,n):Ha(t)?gd(t)||vS(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):CS(e,t,n,c))?(_S(e,t,n,o,r,a,l),(t==="value"||t==="checked"||t==="selected")&&Yh(e,t,n,c,r,t!=="value")):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Yh(e,t,n,c))};function CS(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Jh(t)&&St(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Jh(t)&&oe(s)?!1:t in e}const Nm=new WeakMap,Fm=new WeakMap,Ca=Symbol("_moveCb"),Xh=Symbol("_enterCb"),Bm={name:"TransitionGroup",props:ie({},lS,{tag:String,moveClass:String}),setup(e,{slots:t}){const s=km(),n=wm();let i,o;return om(()=>{if(!i.length)return;const r=e.moveClass||`${e.name||"v"}-move`;if(!MS(i[0].el,s.vnode.el,r))return;i.forEach(PS),i.forEach(kS);const a=i.filter(TS);Rm(),a.forEach(l=>{const c=l.el,d=c.style;Ts(c,r),d.transform=d.webkitTransform=d.transitionDuration="";const h=c[Ca]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",h),c[Ca]=null,Zs(c,r))};c.addEventListener("transitionend",h)})}),()=>{const r=Ot(e),a=Om(r);let l=r.tag||Nt;if(i=[],o)for(let c=0;cdelete e.mode;Bm.props;const An=Bm;function PS(e){const t=e.el;t[Ca]&&t[Ca](),t[Xh]&&t[Xh]()}function kS(e){Fm.set(e,e.el.getBoundingClientRect())}function TS(e){const t=Nm.get(e),s=Fm.get(e),n=t.left-s.left,i=t.top-s.top;if(n||i){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${n}px,${i}px)`,o.transitionDuration="0s",e}}function MS(e,t,s){const n=e.cloneNode(),i=e[Vi];i&&i.forEach(a=>{a.split(/\s+/).forEach(l=>l&&n.classList.remove(l))}),s.split(/\s+/).forEach(a=>a&&n.classList.add(a)),n.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(n);const{hasTransform:r}=Lm(n);return o.removeChild(n),r}const vn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return mt(t)?s=>sa(t,s):t};function DS(e){e.target.composing=!0}function Qh(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const es=Symbol("_assign"),bt={created(e,{modifiers:{lazy:t,trim:s,number:n}},i){e[es]=vn(i);const o=n||i.props&&i.props.type==="number";Ls(e,t?"change":"input",r=>{if(r.target.composing)return;let a=e.value;s&&(a=a.trim()),o&&(a=va(a)),e[es](a)}),s&&Ls(e,"change",()=>{e.value=e.value.trim()}),t||(Ls(e,"compositionstart",DS),Ls(e,"compositionend",Qh),Ls(e,"change",Qh))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:i,number:o}},r){if(e[es]=vn(r),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?va(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||i&&e.value.trim()===l)||(e.value=l))}},Xe={deep:!0,created(e,t,s){e[es]=vn(s),Ls(e,"change",()=>{const n=e._modelValue,i=ji(e),o=e.checked,r=e[es];if(mt(n)){const a=bd(n,i),l=a!==-1;if(o&&!l)r(n.concat(i));else if(!o&&l){const c=[...n];c.splice(a,1),r(c)}}else if(Qi(n)){const a=new Set(n);o?a.add(i):a.delete(i),r(a)}else r(Vm(e,o))})},mounted:Zh,beforeUpdate(e,t,s){e[es]=vn(s),Zh(e,t,s)}};function Zh(e,{value:t,oldValue:s},n){e._modelValue=t,mt(t)?e.checked=bd(t,n.props.value)>-1:Qi(t)?e.checked=t.has(n.props.value):t!==s&&(e.checked=ni(t,Vm(e,!0)))}const IS={created(e,{value:t},s){e.checked=ni(t,s.props.value),e[es]=vn(s),Ls(e,"change",()=>{e[es](ji(e))})},beforeUpdate(e,{value:t,oldValue:s},n){e[es]=vn(n),t!==s&&(e.checked=ni(t,n.props.value))}},la={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const i=Qi(t);Ls(e,"change",()=>{const o=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>s?va(ji(r)):ji(r));e[es](e.multiple?i?new Set(o):o:o[0]),e._assigning=!0,rr(()=>{e._assigning=!1})}),e[es]=vn(n)},mounted(e,{value:t,modifiers:{number:s}}){tf(e,t)},beforeUpdate(e,t,s){e[es]=vn(s)},updated(e,{value:t,modifiers:{number:s}}){e._assigning||tf(e,t)}};function tf(e,t,s){const n=e.multiple,i=mt(t);if(!(n&&!i&&!Qi(t))){for(let o=0,r=e.options.length;oString(d)===String(l)):a.selected=bd(t,l)>-1}else a.selected=t.has(l);else if(ni(ji(a),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ji(e){return"_value"in e?e._value:e.value}function Vm(e,t){const s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}const OS={created(e,t,s){Rr(e,t,s,null,"created")},mounted(e,t,s){Rr(e,t,s,null,"mounted")},beforeUpdate(e,t,s,n){Rr(e,t,s,n,"beforeUpdate")},updated(e,t,s,n){Rr(e,t,s,n,"updated")}};function LS(e,t){switch(e){case"SELECT":return la;case"TEXTAREA":return bt;default:switch(t){case"checkbox":return Xe;case"radio":return IS;default:return bt}}}function Rr(e,t,s,n,i){const r=LS(e.tagName,s.props&&s.props.type)[i];r&&r(e,t,s,n)}const RS=ie({patchProp:AS},aS);let ef;function NS(){return ef||(ef=Ow(RS))}const FS=(...e)=>{const t=NS().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=VS(n);if(!i)return;const o=t._component;!St(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const r=s(i,!1,BS(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},t};function BS(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function VS(e){return oe(e)?document.querySelector(e):e}var jS=!1;/*! +**/const Z$="http://www.w3.org/2000/svg",eE="http://www.w3.org/1998/Math/MathML",js=typeof document<"u"?document:null,Om=js&&js.createElement("template"),tE={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?js.createElementNS(Z$,e):t==="mathml"?js.createElementNS(eE,e):n?js.createElement(e,{is:n}):js.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>js.createTextNode(e),createComment:e=>js.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>js.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,o){const a=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{Om.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const r=Om.content;if(s==="svg"||s==="mathml"){const l=r.firstChild;for(;l.firstChild;)r.appendChild(l.firstChild);r.removeChild(l)}t.insertBefore(r,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},li="transition",Ua="animation",_a=Symbol("_vtc"),Bt=(e,{slots:t})=>Co(F$,Gv(e),t);Bt.displayName="Transition";const qv={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},nE=Bt.props=Lt({},Nv,qv),io=(e,t=[])=>{Be(e)?e.forEach(n=>n(...t)):e&&e(...t)},Im=e=>e?Be(e)?e.some(t=>t.length>1):e.length>1:!1;function Gv(e){const t={};for(const G in e)G in qv||(t[G]=e[G]);if(e.css===!1)return t;const{name:n="v",type:s,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:r=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=a,appearToClass:u=r,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,g=sE(i),_=g&&g[0],v=g&&g[1],{onBeforeEnter:w,onEnter:A,onEnterCancelled:$,onLeave:M,onLeaveCancelled:k,onBeforeAppear:y=w,onAppear:x=A,onAppearCancelled:E=$}=t,P=(G,ae,Y)=>{fi(G,ae?u:r),fi(G,ae?c:a),Y&&Y()},C=(G,ae)=>{G._isLeaving=!1,fi(G,d),fi(G,p),fi(G,f),ae&&ae()},F=G=>(ae,Y)=>{const L=G?x:A,O=()=>P(ae,G,Y);io(L,[ae,O]),Rm(()=>{fi(ae,G?l:o),Bs(ae,G?u:r),Im(L)||Lm(ae,s,_,O)})};return Lt(t,{onBeforeEnter(G){io(w,[G]),Bs(G,o),Bs(G,a)},onBeforeAppear(G){io(y,[G]),Bs(G,l),Bs(G,c)},onEnter:F(!1),onAppear:F(!0),onLeave(G,ae){G._isLeaving=!0;const Y=()=>C(G,ae);Bs(G,d),Bs(G,f),Xv(),Rm(()=>{G._isLeaving&&(fi(G,d),Bs(G,p),Im(M)||Lm(G,s,v,Y))}),io(M,[G,Y])},onEnterCancelled(G){P(G,!1),io($,[G])},onAppearCancelled(G){P(G,!0),io(E,[G])},onLeaveCancelled(G){C(G),io(k,[G])}})}function sE(e){if(e==null)return null;if(ht(e))return[Ku(e.enter),Ku(e.leave)];{const t=Ku(e);return[t,t]}}function Ku(e){return Hb(e)}function Bs(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[_a]||(e[_a]=new Set)).add(t)}function fi(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[_a];n&&(n.delete(t),n.size||(e[_a]=void 0))}function Rm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let iE=0;function Lm(e,t,n,s){const i=e._endId=++iE,o=()=>{i===e._endId&&s()};if(n)return setTimeout(o,n);const{type:a,timeout:r,propCount:l}=Jv(e,t);if(!a)return s();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,f),o()},f=p=>{p.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[g]||"").split(", "),i=s(`${li}Delay`),o=s(`${li}Duration`),a=Nm(i,o),r=s(`${Ua}Delay`),l=s(`${Ua}Duration`),c=Nm(r,l);let u=null,d=0,f=0;t===li?a>0&&(u=li,d=a,f=o.length):t===Ua?c>0&&(u=Ua,d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?li:Ua:null,f=u?u===li?o.length:l.length:0);const p=u===li&&/\b(transform|all)(,|$)/.test(s(`${li}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function Nm(e,t){for(;e.lengthFm(n)+Fm(e[s])))}function Fm(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Xv(){return document.body.offsetHeight}function oE(e,t,n){const s=e[_a];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ac=Symbol("_vod"),Qv=Symbol("_vsh"),ac={beforeMount(e,{value:t},{transition:n}){e[Ac]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ka(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Ka(e,!0),s.enter(e)):s.leave(e,()=>{Ka(e,!1)}):Ka(e,t))},beforeUnmount(e,{value:t}){Ka(e,t)}};function Ka(e,t){e.style.display=t?e[Ac]:"none",e[Qv]=!t}const aE=Symbol(""),rE=/(^|;)\s*display\s*:/;function lE(e,t,n){const s=e.style,i=St(n);let o=!1;if(n&&!i){if(t)if(St(t))for(const a of t.split(";")){const r=a.slice(0,a.indexOf(":")).trim();n[r]==null&&rc(s,r,"")}else for(const a in t)n[a]==null&&rc(s,a,"");for(const a in n)a==="display"&&(o=!0),rc(s,a,n[a])}else if(i){if(t!==n){const a=s[aE];a&&(n+=";"+a),s.cssText=n,o=rE.test(n)}}else t&&e.removeAttribute("style");Ac in e&&(e[Ac]=o?s.display:"",e[Qv]&&(s.display="none"))}const Bm=/\s*!important$/;function rc(e,t,n){if(Be(n))n.forEach(s=>rc(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=cE(e,t);Bm.test(n)?e.setProperty(Mo(s),n.replace(Bm,""),"important"):e[s]=n}}const Vm=["Webkit","Moz","ms"],qu={};function cE(e,t){const n=qu[t];if(n)return n;let s=Ts(t);if(s!=="filter"&&s in e)return qu[t]=s;s=Kc(s);for(let i=0;iGu||(pE.then(()=>Gu=0),Gu=Date.now());function gE(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Jn(_E(s,n.value),t,5,[s])};return n.value=e,n.attached=mE(),n}function _E(e,t){if(Be(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const Ym=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,bE=(e,t,n,s,i,o,a,r,l)=>{const c=i==="svg";t==="class"?oE(e,s,c):t==="style"?lE(e,n,s):Yc(t)?jh(t)||hE(e,t,n,s,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vE(e,t,s,c))?(uE(e,t,s,o,a,r,l),(t==="value"||t==="checked"||t==="selected")&&jm(e,t,s,c,a,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),jm(e,t,s,c))};function vE(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ym(t)&&Ue(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Ym(t)&&St(n)?!1:t in e}const Zv=new WeakMap,ey=new WeakMap,$c=Symbol("_moveCb"),Um=Symbol("_enterCb"),ty={name:"TransitionGroup",props:Lt({},nE,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=pf(),s=Lv();let i,o;return vv(()=>{if(!i.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!SE(i[0].el,n.vnode.el,a))return;i.forEach(wE),i.forEach(xE);const r=i.filter(kE);Xv(),r.forEach(l=>{const c=l.el,u=c.style;Bs(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[$c]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[$c]=null,fi(c,a))};c.addEventListener("transitionend",d)})}),()=>{const a=Ze(e),r=Gv(a);let l=a.tag||Me;if(i=[],o)for(let c=0;cdelete e.mode;ty.props;const Hi=ty;function wE(e){const t=e.el;t[$c]&&t[$c](),t[Um]&&t[Um]()}function xE(e){ey.set(e,e.el.getBoundingClientRect())}function kE(e){const t=Zv.get(e),n=ey.get(e),s=t.left-n.left,i=t.top-n.top;if(s||i){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${i}px)`,o.transitionDuration="0s",e}}function SE(e,t,n){const s=e.cloneNode(),i=e[_a];i&&i.forEach(r=>{r.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(r=>r&&s.classList.add(r)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:a}=Jv(s);return o.removeChild(s),a}const Ii=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Be(t)?n=>tc(t,n):t};function AE(e){e.target.composing=!0}function Km(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Xn=Symbol("_assign"),We={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[Xn]=Ii(i);const o=s||i.props&&i.props.type==="number";Ys(e,t?"change":"input",a=>{if(a.target.composing)return;let r=e.value;n&&(r=r.trim()),o&&(r=vc(r)),e[Xn](r)}),n&&Ys(e,"change",()=>{e.value=e.value.trim()}),t||(Ys(e,"compositionstart",AE),Ys(e,"compositionend",Km),Ys(e,"change",Km))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:o}},a){if(e[Xn]=Ii(a),e.composing)return;const r=(o||e.type==="number")&&!/^0\d/.test(e.value)?vc(e.value):e.value,l=t??"";r!==l&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===l)||(e.value=l))}},Kn={deep:!0,created(e,t,n){e[Xn]=Ii(n),Ys(e,"change",()=>{const s=e._modelValue,i=ba(e),o=e.checked,a=e[Xn];if(Be(s)){const r=Yh(s,i),l=r!==-1;if(o&&!l)a(s.concat(i));else if(!o&&l){const c=[...s];c.splice(r,1),a(c)}}else if(Ra(s)){const r=new Set(s);o?r.add(i):r.delete(i),a(r)}else a(ny(e,o))})},mounted:qm,beforeUpdate(e,t,n){e[Xn]=Ii(n),qm(e,t,n)}};function qm(e,{value:t,oldValue:n},s){e._modelValue=t,Be(t)?e.checked=Yh(t,s.props.value)>-1:Ra(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=Eo(t,ny(e,!0)))}const $E={created(e,{value:t},n){e.checked=Eo(t,n.props.value),e[Xn]=Ii(n),Ys(e,"change",()=>{e[Xn](ba(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Xn]=Ii(s),t!==n&&(e.checked=Eo(t,s.props.value))}},lc={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=Ra(t);Ys(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?vc(ba(a)):ba(a));e[Xn](e.multiple?i?new Set(o):o:o[0]),e._assigning=!0,Zt(()=>{e._assigning=!1})}),e[Xn]=Ii(s)},mounted(e,{value:t,modifiers:{number:n}}){Gm(e,t)},beforeUpdate(e,t,n){e[Xn]=Ii(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||Gm(e,t)}};function Gm(e,t,n){const s=e.multiple,i=Be(t);if(!(s&&!i&&!Ra(t))){for(let o=0,a=e.options.length;oString(u)===String(l)):r.selected=Yh(t,l)>-1}else r.selected=t.has(l);else if(Eo(ba(r),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ba(e){return"_value"in e?e._value:e.value}function ny(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const EE={created(e,t,n){Ol(e,t,n,null,"created")},mounted(e,t,n){Ol(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Ol(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Ol(e,t,n,s,"updated")}};function CE(e,t){switch(e){case"SELECT":return lc;case"TEXTAREA":return We;default:switch(t){case"checkbox":return Kn;case"radio":return $E;default:return We}}}function Ol(e,t,n,s,i){const a=CE(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,s)}const PE=["ctrl","shift","alt","meta"],TE={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>PE.some(n=>e[`${n}Key`]&&!t.includes(n))},Fr=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(i,...o)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=i=>{if(!("key"in i))return;const o=Mo(i.key);if(t.some(a=>a===o||ME[a]===o))return e(i)})},OE=Lt({patchProp:bE},tE);let Jm;function sy(){return Jm||(Jm=E$(OE))}const Xm=(...e)=>{sy().render(...e)},IE=(...e)=>{const t=sy().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=LE(s);if(!i)return;const o=t._component;!Ue(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const a=n(i,!1,RE(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t};function RE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function LE(e){return St(e)?document.querySelector(e):e}var NE=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let jm;const sl=e=>jm=e,Hm=Symbol();function Cc(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var To;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(To||(To={}));function HS(){const e=Ig(!0),t=e.run(()=>vs({}));let s=[],n=[];const i=Ya({install(o){sl(i),i._a=o,o.provide(Hm,i),o.config.globalProperties.$pinia=i,n.forEach(r=>s.push(r)),n=[]},use(o){return!this._a&&!jS?n.push(o):s.push(o),this},_p:s,_a:null,_e:e,_s:new Map,state:t});return i}const Wm=()=>{};function sf(e,t,s,n=Wm){e.push(t);const i=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),n())};return!s&&vd()&&Og(i),i}function _i(e,...t){e.slice().forEach(s=>{s(...t)})}const WS=e=>e();function $c(e,t){e instanceof Map&&t instanceof Map&&t.forEach((s,n)=>e.set(n,s)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const s in t){if(!t.hasOwnProperty(s))continue;const n=t[s],i=e[s];Cc(i)&&Cc(n)&&e.hasOwnProperty(s)&&!de(n)&&!Xn(n)?e[s]=$c(i,n):e[s]=n}return e}const zS=Symbol();function KS(e){return!Cc(e)||!e.hasOwnProperty(zS)}const{assign:tn}=Object;function US(e){return!!(de(e)&&e.effect)}function YS(e,t,s,n){const{state:i,actions:o,getters:r}=t,a=s.state.value[e];let l;function c(){a||(s.state.value[e]=i?i():{});const d=qx(s.state.value[e]);return tn(d,o,Object.keys(r||{}).reduce((h,p)=>(h[p]=Ya(qe(()=>{sl(s);const g=s._s.get(e);return r[p].call(g,g)})),h),{}))}return l=zm(e,c,t,s,n,!0),l}function zm(e,t,s={},n,i,o){let r;const a=tn({actions:{}},s),l={deep:!0};let c,d,h=[],p=[],g;const m=n.state.value[e];!o&&!m&&(n.state.value[e]={}),vs({});let _;function v(E){let P;c=d=!1,typeof E=="function"?(E(n.state.value[e]),P={type:To.patchFunction,storeId:e,events:g}):($c(n.state.value[e],E),P={type:To.patchObject,payload:E,storeId:e,events:g});const M=_=Symbol();rr().then(()=>{_===M&&(c=!0)}),d=!0,_i(h,P,n.state.value[e])}const w=o?function(){const{state:P}=s,M=P?P():{};this.$patch(L=>{tn(L,M)})}:Wm;function S(){r.stop(),h=[],p=[],n._s.delete(e)}function $(E,P){return function(){sl(n);const M=Array.from(arguments),L=[],F=[];function Q(R){L.push(R)}function G(R){F.push(R)}_i(p,{args:M,name:E,store:y,after:Q,onError:G});let H;try{H=P.apply(this&&this.$id===e?this:y,M)}catch(R){throw _i(F,R),R}return H instanceof Promise?H.then(R=>(_i(L,R),R)).catch(R=>(_i(F,R),Promise.reject(R))):(_i(L,H),H)}}const T={_p:n,$id:e,$onAction:sf.bind(null,p),$patch:v,$reset:w,$subscribe(E,P={}){const M=sf(h,E,P.detached,()=>L()),L=r.run(()=>Qn(()=>n.state.value[e],F=>{(P.flush==="sync"?d:c)&&E({storeId:e,type:To.direct,events:g},F)},tn({},l,P)));return M},$dispose:S},y=ir(T);n._s.set(e,y);const C=(n._a&&n._a.runWithContext||WS)(()=>n._e.run(()=>(r=Ig()).run(t)));for(const E in C){const P=C[E];if(de(P)&&!US(P)||Xn(P))o||(m&&KS(P)&&(de(P)?P.value=m[E]:$c(P,m[E])),n.state.value[e][E]=P);else if(typeof P=="function"){const M=$(E,P);C[E]=M,a.actions[E]=P}}return tn(y,C),tn(Ot(y),C),Object.defineProperty(y,"$state",{get:()=>n.state.value[e],set:E=>{v(P=>{tn(P,E)})}}),n._p.forEach(E=>{tn(y,r.run(()=>E({store:y,app:n._a,pinia:n,options:a})))}),m&&o&&s.hydrate&&s.hydrate(y.$state,m),c=!0,d=!0,y}function jd(e,t,s){let n,i;const o=typeof t=="function";typeof e=="string"?(n=e,i=o?s:t):(i=e,n=e.id);function r(a,l){const c=Pw();return a=a||(c?ys(Hm,null):null),a&&sl(a),a=jm,a._s.has(n)||(o?zm(n,t,i,a):YS(n,i,a)),a._s.get(n)}return r.$id=n,r}/*! + */let iy;const ou=e=>iy=e,oy=Symbol();function Kd(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var br;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(br||(br={}));function FE(){const e=Ub(!0),t=e.run(()=>ve({}));let n=[],s=[];const i=Xc({install(o){ou(i),i._a=o,o.provide(oy,i),o.config.globalProperties.$pinia=i,s.forEach(a=>n.push(a)),s=[]},use(o){return!this._a&&!NE?s.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const ay=()=>{};function Qm(e,t,n,s=ay){e.push(t);const i=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&qc()&&Uh(i),i}function Ko(e,...t){e.slice().forEach(n=>{n(...t)})}const BE=e=>e();function qd(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,s)=>e.set(s,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],i=e[n];Kd(i)&&Kd(s)&&e.hasOwnProperty(n)&&!Ct(s)&&!yo(s)?e[n]=qd(i,s):e[n]=s}return e}const VE=Symbol();function HE(e){return!Kd(e)||!e.hasOwnProperty(VE)}const{assign:pi}=Object;function jE(e){return!!(Ct(e)&&e.effect)}function WE(e,t,n,s){const{state:i,actions:o,getters:a}=t,r=n.state.value[e];let l;function c(){r||(n.state.value[e]=i?i():{});const u=HA(n.state.value[e]);return pi(u,o,Object.keys(a||{}).reduce((d,f)=>(d[f]=Xc(_e(()=>{ou(n);const p=n._s.get(e);return a[f].call(p,p)})),d),{}))}return l=ry(e,c,t,n,s,!0),l}function ry(e,t,n={},s,i,o){let a;const r=pi({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],p;const g=s.state.value[e];!o&&!g&&(s.state.value[e]={}),ve({});let _;function v(E){let P;c=u=!1,typeof E=="function"?(E(s.state.value[e]),P={type:br.patchFunction,storeId:e,events:p}):(qd(s.state.value[e],E),P={type:br.patchObject,payload:E,storeId:e,events:p});const C=_=Symbol();Zt().then(()=>{_===C&&(c=!0)}),u=!0,Ko(d,P,s.state.value[e])}const w=o?function(){const{state:P}=n,C=P?P():{};this.$patch(F=>{pi(F,C)})}:ay;function A(){a.stop(),d=[],f=[],s._s.delete(e)}function $(E,P){return function(){ou(s);const C=Array.from(arguments),F=[],G=[];function ae(O){F.push(O)}function Y(O){G.push(O)}Ko(f,{args:C,name:E,store:k,after:ae,onError:Y});let L;try{L=P.apply(this&&this.$id===e?this:k,C)}catch(O){throw Ko(G,O),O}return L instanceof Promise?L.then(O=>(Ko(F,O),O)).catch(O=>(Ko(G,O),Promise.reject(O))):(Ko(F,L),L)}}const M={_p:s,$id:e,$onAction:Qm.bind(null,f),$patch:v,$reset:w,$subscribe(E,P={}){const C=Qm(d,E,P.detached,()=>F()),F=a.run(()=>Ut(()=>s.state.value[e],G=>{(P.flush==="sync"?u:c)&&E({storeId:e,type:br.direct,events:p},G)},pi({},l,P)));return C},$dispose:A},k=Ms(M);s._s.set(e,k);const x=(s._a&&s._a.runWithContext||BE)(()=>s._e.run(()=>(a=Ub()).run(t)));for(const E in x){const P=x[E];if(Ct(P)&&!jE(P)||yo(P))o||(g&&HE(P)&&(Ct(P)?P.value=g[E]:qd(P,g[E])),s.state.value[e][E]=P);else if(typeof P=="function"){const C=$(E,P);x[E]=C,r.actions[E]=P}}return pi(k,x),pi(Ze(k),x),Object.defineProperty(k,"$state",{get:()=>s.state.value[e],set:E=>{v(P=>{pi(P,E)})}}),s._p.forEach(E=>{pi(k,a.run(()=>E({store:k,app:s._a,pinia:s,options:r})))}),g&&o&&n.hydrate&&n.hydrate(k.$state,g),c=!0,u=!0,k}function mf(e,t,n){let s,i;const o=typeof t=="function";typeof e=="string"?(s=e,i=o?n:t):(i=e,s=e.id);function a(r,l){const c=w$();return r=r||(c?ls(oy,null):null),r&&ou(r),r=iy,r._s.has(s)||(o?ry(s,t,i,r):WE(s,i,r)),r._s.get(s)}return a.$id=s,a}/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const wi=typeof window<"u";function qS(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const zt=Object.assign;function Hl(e,t){const s={};for(const n in t){const i=t[n];s[n]=ds(i)?i.map(e):e(i)}return s}const Mo=()=>{},ds=Array.isArray,GS=/\/$/,JS=e=>e.replace(GS,"");function Wl(e,t,s="/"){let n,i={},o="",r="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(n=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),i=e(o)),a>-1&&(n=n||t.slice(0,a),r=t.slice(a,t.length)),n=tE(n??t,s),{fullPath:n+(o&&"?")+o+r,path:n,query:i,hash:r}}function XS(e,t){const s=t.query?e(t.query):"";return t.path+(s&&"?")+s+(t.hash||"")}function nf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function QS(e,t,s){const n=t.matched.length-1,i=s.matched.length-1;return n>-1&&n===i&&Hi(t.matched[n],s.matched[i])&&Km(t.params,s.params)&&e(t.query)===e(s.query)&&t.hash===s.hash}function Hi(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Km(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e)if(!ZS(e[s],t[s]))return!1;return!0}function ZS(e,t){return ds(e)?of(e,t):ds(t)?of(t,e):e===t}function of(e,t){return ds(t)?e.length===t.length&&e.every((s,n)=>s===t[n]):e.length===1&&e[0]===t}function tE(e,t){if(e.startsWith("/"))return e;if(!e)return t;const s=t.split("/"),n=e.split("/"),i=n[n.length-1];(i===".."||i===".")&&n.push("");let o=s.length-1,r,a;for(r=0;r1&&o--;else break;return s.slice(0,o).join("/")+"/"+n.slice(r-(r===n.length?1:0)).join("/")}var Uo;(function(e){e.pop="pop",e.push="push"})(Uo||(Uo={}));var Do;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Do||(Do={}));function eE(e){if(!e)if(wi){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),JS(e)}const sE=/^[^#]+#/;function nE(e,t){return e.replace(sE,"#")+t}function iE(e,t){const s=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-s.left-(t.left||0),top:n.top-s.top-(t.top||0)}}const nl=()=>({left:window.pageXOffset,top:window.pageYOffset});function oE(e){let t;if("el"in e){const s=e.el,n=typeof s=="string"&&s.startsWith("#"),i=typeof s=="string"?n?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!i)return;t=iE(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function rf(e,t){return(history.state?history.state.position-t:-1)+e}const Pc=new Map;function rE(e,t){Pc.set(e,t)}function aE(e){const t=Pc.get(e);return Pc.delete(e),t}let lE=()=>location.protocol+"//"+location.host;function Um(e,t){const{pathname:s,search:n,hash:i}=t,o=e.indexOf("#");if(o>-1){let a=i.includes(e.slice(o))?e.slice(o).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),nf(l,"")}return nf(s,e)+n+i}function cE(e,t,s,n){let i=[],o=[],r=null;const a=({state:p})=>{const g=Um(e,location),m=s.value,_=t.value;let v=0;if(p){if(s.value=g,t.value=p,r&&r===m){r=null;return}v=_?p.position-_.position:0}else n(g);i.forEach(w=>{w(s.value,m,{delta:v,type:Uo.pop,direction:v?v>0?Do.forward:Do.back:Do.unknown})})};function l(){r=s.value}function c(p){i.push(p);const g=()=>{const m=i.indexOf(p);m>-1&&i.splice(m,1)};return o.push(g),g}function d(){const{history:p}=window;p.state&&p.replaceState(zt({},p.state,{scroll:nl()}),"")}function h(){for(const p of o)p();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:c,destroy:h}}function af(e,t,s,n=!1,i=!1){return{back:e,current:t,forward:s,replaced:n,position:window.history.length,scroll:i?nl():null}}function dE(e){const{history:t,location:s}=window,n={value:Um(e,s)},i={value:t.state};i.value||o(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,d){const h=e.indexOf("#"),p=h>-1?(s.host&&document.querySelector("base")?e:e.slice(h))+l:lE()+e+l;try{t[d?"replaceState":"pushState"](c,"",p),i.value=c}catch(g){console.error(g),s[d?"replace":"assign"](p)}}function r(l,c){const d=zt({},t.state,af(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});o(l,d,!0),n.value=l}function a(l,c){const d=zt({},i.value,t.state,{forward:l,scroll:nl()});o(d.current,d,!0);const h=zt({},af(n.value,l,null),{position:d.position+1},c);o(l,h,!1),n.value=l}return{location:n,state:i,push:a,replace:r}}function uE(e){e=eE(e);const t=dE(e),s=cE(e,t.state,t.location,t.replace);function n(o,r=!0){r||s.pauseListeners(),history.go(o)}const i=zt({location:"",base:e,go:n,createHref:nE.bind(null,e)},t,s);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function hE(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),uE(e)}function fE(e){return typeof e=="string"||e&&typeof e=="object"}function Ym(e){return typeof e=="string"||typeof e=="symbol"}const Xs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},qm=Symbol("");var lf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(lf||(lf={}));function Wi(e,t){return zt(new Error,{type:e,[qm]:!0},t)}function Ps(e,t){return e instanceof Error&&qm in e&&(t==null||!!(e.type&t))}const cf="[^/]+?",pE={sensitive:!1,strict:!1,start:!0,end:!0},gE=/[.+*?^${}()[\]/\\]/g;function mE(e,t){const s=zt({},pE,t),n=[];let i=s.start?"^":"";const o=[];for(const c of e){const d=c.length?[]:[90];s.strict&&!c.length&&(i+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function bE(e,t){let s=0;const n=e.score,i=t.score;for(;s0&&t[t.length-1]<0}const vE={type:0,value:""},yE=/[a-zA-Z0-9_]/;function xE(e){if(!e)return[[]];if(e==="/")return[[vE]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${s})/"${c}": ${g}`)}let s=0,n=s;const i=[];let o;function r(){o&&i.push(o),o=[]}let a=0,l,c="",d="";function h(){c&&(s===0?o.push({type:0,value:c}):s===1||s===2||s===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=l}for(;a{r(S)}:Mo}function r(d){if(Ym(d)){const h=n.get(d);h&&(n.delete(d),s.splice(s.indexOf(h),1),h.children.forEach(r),h.alias.forEach(r))}else{const h=s.indexOf(d);h>-1&&(s.splice(h,1),d.record.name&&n.delete(d.record.name),d.children.forEach(r),d.alias.forEach(r))}}function a(){return s}function l(d){let h=0;for(;h=0&&(d.record.path!==s[h].record.path||!Gm(d,s[h]));)h++;s.splice(h,0,d),d.record.name&&!hf(d)&&n.set(d.record.name,d)}function c(d,h){let p,g={},m,_;if("name"in d&&d.name){if(p=n.get(d.name),!p)throw Wi(1,{location:d});_=p.record.name,g=zt(uf(h.params,p.keys.filter(S=>!S.optional).map(S=>S.name)),d.params&&uf(d.params,p.keys.map(S=>S.name))),m=p.stringify(g)}else if("path"in d)m=d.path,p=s.find(S=>S.re.test(m)),p&&(g=p.parse(m),_=p.record.name);else{if(p=h.name?n.get(h.name):s.find(S=>S.re.test(h.path)),!p)throw Wi(1,{location:d,currentLocation:h});_=p.record.name,g=zt({},h.params,d.params),m=p.stringify(g)}const v=[];let w=p;for(;w;)v.unshift(w.record),w=w.parent;return{name:_,path:m,params:g,matched:v,meta:CE(v)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:c,removeRoute:r,getRoutes:a,getRecordMatcher:i}}function uf(e,t){const s={};for(const n of t)n in e&&(s[n]=e[n]);return s}function EE(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:AE(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function AE(e){const t={},s=e.props||!1;if("component"in e)t.default=s;else for(const n in e.components)t[n]=typeof s=="object"?s[n]:s;return t}function hf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function CE(e){return e.reduce((t,s)=>zt(t,s.meta),{})}function ff(e,t){const s={};for(const n in e)s[n]=n in t?t[n]:e[n];return s}function Gm(e,t){return t.children.some(s=>s===e||Gm(e,s))}const Jm=/#/g,$E=/&/g,PE=/\//g,kE=/=/g,TE=/\?/g,Xm=/\+/g,ME=/%5B/g,DE=/%5D/g,Qm=/%5E/g,IE=/%60/g,Zm=/%7B/g,OE=/%7C/g,t_=/%7D/g,LE=/%20/g;function Hd(e){return encodeURI(""+e).replace(OE,"|").replace(ME,"[").replace(DE,"]")}function RE(e){return Hd(e).replace(Zm,"{").replace(t_,"}").replace(Qm,"^")}function kc(e){return Hd(e).replace(Xm,"%2B").replace(LE,"+").replace(Jm,"%23").replace($E,"%26").replace(IE,"`").replace(Zm,"{").replace(t_,"}").replace(Qm,"^")}function NE(e){return kc(e).replace(kE,"%3D")}function FE(e){return Hd(e).replace(Jm,"%23").replace(TE,"%3F")}function BE(e){return e==null?"":FE(e).replace(PE,"%2F")}function $a(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function VE(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;io&&kc(o)):[n&&kc(n)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+s,o!=null&&(t+="="+o))})}return t}function jE(e){const t={};for(const s in e){const n=e[s];n!==void 0&&(t[s]=ds(n)?n.map(i=>i==null?null:""+i):n==null?n:""+n)}return t}const HE=Symbol(""),gf=Symbol(""),Wd=Symbol(""),e_=Symbol(""),Tc=Symbol("");function uo(){let e=[];function t(n){return e.push(n),()=>{const i=e.indexOf(n);i>-1&&e.splice(i,1)}}function s(){e=[]}return{add:t,list:()=>e.slice(),reset:s}}function on(e,t,s,n,i){const o=n&&(n.enterCallbacks[i]=n.enterCallbacks[i]||[]);return()=>new Promise((r,a)=>{const l=h=>{h===!1?a(Wi(4,{from:s,to:t})):h instanceof Error?a(h):fE(h)?a(Wi(2,{from:t,to:h})):(o&&n.enterCallbacks[i]===o&&typeof h=="function"&&o.push(h),r())},c=e.call(n&&n.instances[i],t,s,l);let d=Promise.resolve(c);e.length<3&&(d=d.then(l)),d.catch(h=>a(h))})}function zl(e,t,s,n){const i=[];for(const o of e)for(const r in o.components){let a=o.components[r];if(!(t!=="beforeRouteEnter"&&!o.instances[r]))if(WE(a)){const c=(a.__vccOpts||a)[t];c&&i.push(on(c,s,n,o,r))}else{let l=a();i.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${r}" at "${o.path}"`));const d=qS(c)?c.default:c;o.components[r]=d;const p=(d.__vccOpts||d)[t];return p&&on(p,s,n,o,r)()}))}}return i}function WE(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function mf(e){const t=ys(Wd),s=ys(e_),n=qe(()=>t.resolve(pn(e.to))),i=qe(()=>{const{matched:l}=n.value,{length:c}=l,d=l[c-1],h=s.matched;if(!d||!h.length)return-1;const p=h.findIndex(Hi.bind(null,d));if(p>-1)return p;const g=_f(l[c-2]);return c>1&&_f(d)===g&&h[h.length-1].path!==g?h.findIndex(Hi.bind(null,l[c-2])):p}),o=qe(()=>i.value>-1&&YE(s.params,n.value.params)),r=qe(()=>i.value>-1&&i.value===s.matched.length-1&&Km(s.params,n.value.params));function a(l={}){return UE(l)?t[pn(e.replace)?"replace":"push"](pn(e.to)).catch(Mo):Promise.resolve()}return{route:n,href:qe(()=>n.value.href),isActive:o,isExactActive:r,navigate:a}}const zE=Xa({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:mf,setup(e,{slots:t}){const s=ir(mf(e)),{options:n}=ys(Wd),i=qe(()=>({[bf(e.activeClass,n.linkActiveClass,"router-link-active")]:s.isActive,[bf(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const o=t.default&&t.default(s);return e.custom?o:Bi("a",{"aria-current":s.isExactActive?e.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:i.value},o)}}}),KE=zE;function UE(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function YE(e,t){for(const s in t){const n=t[s],i=e[s];if(typeof n=="string"){if(n!==i)return!1}else if(!ds(i)||i.length!==n.length||n.some((o,r)=>o!==i[r]))return!1}return!0}function _f(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const bf=(e,t,s)=>e??t??s,qE=Xa({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:s}){const n=ys(Tc),i=qe(()=>e.route||n.value),o=ys(gf,0),r=qe(()=>{let c=pn(o);const{matched:d}=i.value;let h;for(;(h=d[c])&&!h.components;)c++;return c}),a=qe(()=>i.value.matched[r.value]);oa(gf,qe(()=>r.value+1)),oa(HE,a),oa(Tc,i);const l=vs();return Qn(()=>[l.value,a.value,e.name],([c,d,h],[p,g,m])=>{d&&(d.instances[h]=c,g&&g!==d&&c&&c===p&&(d.leaveGuards.size||(d.leaveGuards=g.leaveGuards),d.updateGuards.size||(d.updateGuards=g.updateGuards))),c&&d&&(!g||!Hi(d,g)||!p)&&(d.enterCallbacks[h]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=i.value,d=e.name,h=a.value,p=h&&h.components[d];if(!p)return vf(s.default,{Component:p,route:c});const g=h.props[d],m=g?g===!0?c.params:typeof g=="function"?g(c):g:null,v=Bi(p,zt({},m,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return vf(s.default,{Component:v,route:c})||v}}});function vf(e,t){if(!e)return null;const s=e(t);return s.length===1?s[0]:s}const s_=qE;function GE(e){const t=SE(e.routes,e),s=e.parseQuery||VE,n=e.stringifyQuery||pf,i=e.history,o=uo(),r=uo(),a=uo(),l=$d(Xs);let c=Xs;wi&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Hl.bind(null,W=>""+W),h=Hl.bind(null,BE),p=Hl.bind(null,$a);function g(W,st){let tt,ct;return Ym(W)?(tt=t.getRecordMatcher(W),ct=st):ct=W,t.addRoute(ct,tt)}function m(W){const st=t.getRecordMatcher(W);st&&t.removeRoute(st)}function _(){return t.getRoutes().map(W=>W.record)}function v(W){return!!t.getRecordMatcher(W)}function w(W,st){if(st=zt({},st||l.value),typeof W=="string"){const I=Wl(s,W,st.path),N=t.resolve({path:I.path},st),q=i.createHref(I.fullPath);return zt(I,N,{params:p(N.params),hash:$a(I.hash),redirectedFrom:void 0,href:q})}let tt;if("path"in W)tt=zt({},W,{path:Wl(s,W.path,st.path).path});else{const I=zt({},W.params);for(const N in I)I[N]==null&&delete I[N];tt=zt({},W,{params:h(I)}),st.params=h(st.params)}const ct=t.resolve(tt,st),j=W.hash||"";ct.params=d(p(ct.params));const Lt=XS(n,zt({},W,{hash:RE(j),path:ct.path})),A=i.createHref(Lt);return zt({fullPath:Lt,hash:j,query:n===pf?jE(W.query):W.query||{}},ct,{redirectedFrom:void 0,href:A})}function S(W){return typeof W=="string"?Wl(s,W,l.value.path):zt({},W)}function $(W,st){if(c!==W)return Wi(8,{from:st,to:W})}function T(W){return C(W)}function y(W){return T(zt(S(W),{replace:!0}))}function x(W){const st=W.matched[W.matched.length-1];if(st&&st.redirect){const{redirect:tt}=st;let ct=typeof tt=="function"?tt(W):tt;return typeof ct=="string"&&(ct=ct.includes("?")||ct.includes("#")?ct=S(ct):{path:ct},ct.params={}),zt({query:W.query,hash:W.hash,params:"path"in ct?{}:W.params},ct)}}function C(W,st){const tt=c=w(W),ct=l.value,j=W.state,Lt=W.force,A=W.replace===!0,I=x(tt);if(I)return C(zt(S(I),{state:typeof I=="object"?zt({},j,I.state):j,force:Lt,replace:A}),st||tt);const N=tt;N.redirectedFrom=st;let q;return!Lt&&QS(n,ct,tt)&&(q=Wi(16,{to:N,from:ct}),vt(ct,ct,!0,!1)),(q?Promise.resolve(q):M(N,ct)).catch(K=>Ps(K)?Ps(K,2)?K:ht(K):Y(K,N,ct)).then(K=>{if(K){if(Ps(K,2))return C(zt({replace:A},S(K.to),{state:typeof K.to=="object"?zt({},j,K.to.state):j,force:Lt}),st||N)}else K=F(N,ct,!0,A,j);return L(N,ct,K),K})}function E(W,st){const tt=$(W,st);return tt?Promise.reject(tt):Promise.resolve()}function P(W){const st=Pt.values().next().value;return st&&typeof st.runWithContext=="function"?st.runWithContext(W):W()}function M(W,st){let tt;const[ct,j,Lt]=JE(W,st);tt=zl(ct.reverse(),"beforeRouteLeave",W,st);for(const I of ct)I.leaveGuards.forEach(N=>{tt.push(on(N,W,st))});const A=E.bind(null,W,st);return tt.push(A),kt(tt).then(()=>{tt=[];for(const I of o.list())tt.push(on(I,W,st));return tt.push(A),kt(tt)}).then(()=>{tt=zl(j,"beforeRouteUpdate",W,st);for(const I of j)I.updateGuards.forEach(N=>{tt.push(on(N,W,st))});return tt.push(A),kt(tt)}).then(()=>{tt=[];for(const I of Lt)if(I.beforeEnter)if(ds(I.beforeEnter))for(const N of I.beforeEnter)tt.push(on(N,W,st));else tt.push(on(I.beforeEnter,W,st));return tt.push(A),kt(tt)}).then(()=>(W.matched.forEach(I=>I.enterCallbacks={}),tt=zl(Lt,"beforeRouteEnter",W,st),tt.push(A),kt(tt))).then(()=>{tt=[];for(const I of r.list())tt.push(on(I,W,st));return tt.push(A),kt(tt)}).catch(I=>Ps(I,8)?I:Promise.reject(I))}function L(W,st,tt){a.list().forEach(ct=>P(()=>ct(W,st,tt)))}function F(W,st,tt,ct,j){const Lt=$(W,st);if(Lt)return Lt;const A=st===Xs,I=wi?history.state:{};tt&&(ct||A?i.replace(W.fullPath,zt({scroll:A&&I&&I.scroll},j)):i.push(W.fullPath,j)),l.value=W,vt(W,st,tt,A),ht()}let Q;function G(){Q||(Q=i.listen((W,st,tt)=>{if(!Bt.listening)return;const ct=w(W),j=x(ct);if(j){C(zt(j,{replace:!0}),ct).catch(Mo);return}c=ct;const Lt=l.value;wi&&rE(rf(Lt.fullPath,tt.delta),nl()),M(ct,Lt).catch(A=>Ps(A,12)?A:Ps(A,2)?(C(A.to,ct).then(I=>{Ps(I,20)&&!tt.delta&&tt.type===Uo.pop&&i.go(-1,!1)}).catch(Mo),Promise.reject()):(tt.delta&&i.go(-tt.delta,!1),Y(A,ct,Lt))).then(A=>{A=A||F(ct,Lt,!1),A&&(tt.delta&&!Ps(A,8)?i.go(-tt.delta,!1):tt.type===Uo.pop&&Ps(A,20)&&i.go(-1,!1)),L(ct,Lt,A)}).catch(Mo)}))}let H=uo(),R=uo(),z;function Y(W,st,tt){ht(W);const ct=R.list();return ct.length?ct.forEach(j=>j(W,st,tt)):console.error(W),Promise.reject(W)}function at(){return z&&l.value!==Xs?Promise.resolve():new Promise((W,st)=>{H.add([W,st])})}function ht(W){return z||(z=!W,G(),H.list().forEach(([st,tt])=>W?tt(W):st()),H.reset()),W}function vt(W,st,tt,ct){const{scrollBehavior:j}=e;if(!wi||!j)return Promise.resolve();const Lt=!tt&&aE(rf(W.fullPath,0))||(ct||!tt)&&history.state&&history.state.scroll||null;return rr().then(()=>j(W,st,Lt)).then(A=>A&&oE(A)).catch(A=>Y(A,W,st))}const _t=W=>i.go(W);let Dt;const Pt=new Set,Bt={currentRoute:l,listening:!0,addRoute:g,removeRoute:m,hasRoute:v,getRoutes:_,resolve:w,options:e,push:T,replace:y,go:_t,back:()=>_t(-1),forward:()=>_t(1),beforeEach:o.add,beforeResolve:r.add,afterEach:a.add,onError:R.add,isReady:at,install(W){const st=this;W.component("RouterLink",KE),W.component("RouterView",s_),W.config.globalProperties.$router=st,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>pn(l)}),wi&&!Dt&&l.value===Xs&&(Dt=!0,T(i.location).catch(j=>{}));const tt={};for(const j in Xs)Object.defineProperty(tt,j,{get:()=>l.value[j],enumerable:!0});W.provide(Wd,st),W.provide(e_,Ug(tt)),W.provide(Tc,l);const ct=W.unmount;Pt.add(W),W.unmount=function(){Pt.delete(W),Pt.size<1&&(c=Xs,Q&&Q(),Q=null,l.value=Xs,Dt=!1,z=!1),ct()}}};function kt(W){return W.reduce((st,tt)=>st.then(()=>P(tt)),Promise.resolve())}return Bt}function JE(e,t){const s=[],n=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let r=0;rHi(c,a))?n.push(a):s.push(a));const l=e.matched[r];l&&(t.matched.find(c=>Hi(c,l))||i.push(l))}return[s,n,i]}const XE={getCookie(e){const s=`; ${document.cookie}`.split(`; ${e}=`);if(s.length===2)return s.pop().split(";").shift()}};jd("WGDashboardStore",{state:()=>({WireguardConfigurations:void 0,DashboardConfiguration:void 0}),actions:{async getDashboardConfiguration(){await le("/api/getDashboardConfiguration",{},e=>{console.log(e.status),e.status&&(this.DashboardConfiguration=e.data)})}}});const yf="[a-fA-F\\d:]",an=e=>e&&e.includeBoundaries?`(?:(?<=\\s|^)(?=${yf})|(?<=${yf})(?=\\s|$))`:"",rs="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",ae="[a-fA-F\\d]{1,4}",il=` + */const ea=typeof window<"u";function zE(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ct=Object.assign;function Ju(e,t){const n={};for(const s in t){const i=t[s];n[s]=ds(i)?i.map(e):e(i)}return n}const vr=()=>{},ds=Array.isArray,YE=/\/$/,UE=e=>e.replace(YE,"");function Xu(e,t,n="/"){let s,i={},o="",a="";const r=t.indexOf("#");let l=t.indexOf("?");return r=0&&(l=-1),l>-1&&(s=t.slice(0,l),o=t.slice(l+1,r>-1?r:t.length),i=e(o)),r>-1&&(s=s||t.slice(0,r),a=t.slice(r,t.length)),s=JE(s??t,n),{fullPath:s+(o&&"?")+o+a,path:s,query:i,hash:a}}function KE(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Zm(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function qE(e,t,n){const s=t.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&va(t.matched[s],n.matched[i])&&ly(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function va(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ly(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!GE(e[n],t[n]))return!1;return!0}function GE(e,t){return ds(e)?eg(e,t):ds(t)?eg(t,e):e===t}function eg(e,t){return ds(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function JE(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),i=s[s.length-1];(i===".."||i===".")&&s.push("");let o=n.length-1,a,r;for(a=0;a1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(a-(a===s.length?1:0)).join("/")}var Br;(function(e){e.pop="pop",e.push="push"})(Br||(Br={}));var yr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(yr||(yr={}));function XE(e){if(!e)if(ea){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),UE(e)}const QE=/^[^#]+#/;function ZE(e,t){return e.replace(QE,"#")+t}function eC(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const au=()=>({left:window.pageXOffset,top:window.pageYOffset});function tC(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=eC(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function tg(e,t){return(history.state?history.state.position-t:-1)+e}const Gd=new Map;function nC(e,t){Gd.set(e,t)}function sC(e){const t=Gd.get(e);return Gd.delete(e),t}let iC=()=>location.protocol+"//"+location.host;function cy(e,t){const{pathname:n,search:s,hash:i}=t,o=e.indexOf("#");if(o>-1){let r=i.includes(e.slice(o))?e.slice(o).length:1,l=i.slice(r);return l[0]!=="/"&&(l="/"+l),Zm(l,"")}return Zm(n,e)+s+i}function oC(e,t,n,s){let i=[],o=[],a=null;const r=({state:f})=>{const p=cy(e,location),g=n.value,_=t.value;let v=0;if(f){if(n.value=p,t.value=f,a&&a===g){a=null;return}v=_?f.position-_.position:0}else s(p);i.forEach(w=>{w(n.value,g,{delta:v,type:Br.pop,direction:v?v>0?yr.forward:yr.back:yr.unknown})})};function l(){a=n.value}function c(f){i.push(f);const p=()=>{const g=i.indexOf(f);g>-1&&i.splice(g,1)};return o.push(p),p}function u(){const{history:f}=window;f.state&&f.replaceState(ct({},f.state,{scroll:au()}),"")}function d(){for(const f of o)f();o=[],window.removeEventListener("popstate",r),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",r),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function ng(e,t,n,s=!1,i=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:i?au():null}}function aC(e){const{history:t,location:n}=window,s={value:cy(e,n)},i={value:t.state};i.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:iC()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),i.value=c}catch(p){console.error(p),n[u?"replace":"assign"](f)}}function a(l,c){const u=ct({},t.state,ng(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});o(l,u,!0),s.value=l}function r(l,c){const u=ct({},i.value,t.state,{forward:l,scroll:au()});o(u.current,u,!0);const d=ct({},ng(s.value,l,null),{position:u.position+1},c);o(l,d,!1),s.value=l}return{location:s,state:i,push:r,replace:a}}function rC(e){e=XE(e);const t=aC(e),n=oC(e,t.state,t.location,t.replace);function s(o,a=!0){a||n.pauseListeners(),history.go(o)}const i=ct({location:"",base:e,go:s,createHref:ZE.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function lC(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),rC(e)}function cC(e){return typeof e=="string"||e&&typeof e=="object"}function uy(e){return typeof e=="string"||typeof e=="symbol"}const ci={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},dy=Symbol("");var sg;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(sg||(sg={}));function ya(e,t){return ct(new Error,{type:e,[dy]:!0},t)}function Ns(e,t){return e instanceof Error&&dy in e&&(t==null||!!(e.type&t))}const ig="[^/]+?",uC={sensitive:!1,strict:!1,start:!0,end:!0},dC=/[.+*?^${}()[\]/\\]/g;function hC(e,t){const n=ct({},uC,t),s=[];let i=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function pC(e,t){let n=0;const s=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const mC={type:0,value:""},gC=/[a-zA-Z0-9_]/;function _C(e){if(!e)return[[]];if(e==="/")return[[mC]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,s=n;const i=[];let o;function a(){o&&i.push(o),o=[]}let r=0,l,c="",u="";function d(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;r{a(A)}:vr}function a(u){if(uy(u)){const d=s.get(u);d&&(s.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&s.delete(u.record.name),u.children.forEach(a),u.alias.forEach(a))}}function r(){return n}function l(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!hy(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!rg(u)&&s.set(u.record.name,u)}function c(u,d){let f,p={},g,_;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw ya(1,{location:u});_=f.record.name,p=ct(ag(d.params,f.keys.filter(A=>!A.optional).map(A=>A.name)),u.params&&ag(u.params,f.keys.map(A=>A.name))),g=f.stringify(p)}else if("path"in u)g=u.path,f=n.find(A=>A.re.test(g)),f&&(p=f.parse(g),_=f.record.name);else{if(f=d.name?s.get(d.name):n.find(A=>A.re.test(d.path)),!f)throw ya(1,{location:u,currentLocation:d});_=f.record.name,p=ct({},d.params,u.params),g=f.stringify(p)}const v=[];let w=f;for(;w;)v.unshift(w.record),w=w.parent;return{name:_,path:g,params:p,matched:v,meta:xC(v)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:a,getRoutes:r,getRecordMatcher:i}}function ag(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function yC(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:wC(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function wC(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function rg(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function xC(e){return e.reduce((t,n)=>ct(t,n.meta),{})}function lg(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function hy(e,t){return t.children.some(n=>n===e||hy(e,n))}const fy=/#/g,kC=/&/g,SC=/\//g,AC=/=/g,$C=/\?/g,py=/\+/g,EC=/%5B/g,CC=/%5D/g,my=/%5E/g,PC=/%60/g,gy=/%7B/g,TC=/%7C/g,_y=/%7D/g,MC=/%20/g;function gf(e){return encodeURI(""+e).replace(TC,"|").replace(EC,"[").replace(CC,"]")}function DC(e){return gf(e).replace(gy,"{").replace(_y,"}").replace(my,"^")}function Jd(e){return gf(e).replace(py,"%2B").replace(MC,"+").replace(fy,"%23").replace(kC,"%26").replace(PC,"`").replace(gy,"{").replace(_y,"}").replace(my,"^")}function OC(e){return Jd(e).replace(AC,"%3D")}function IC(e){return gf(e).replace(fy,"%23").replace($C,"%3F")}function RC(e){return e==null?"":IC(e).replace(SC,"%2F")}function Ec(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function LC(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;io&&Jd(o)):[s&&Jd(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function NC(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=ds(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return t}const FC=Symbol(""),ug=Symbol(""),_f=Symbol(""),bf=Symbol(""),Xd=Symbol("");function qa(){let e=[];function t(s){return e.push(s),()=>{const i=e.indexOf(s);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function bi(e,t,n,s,i){const o=s&&(s.enterCallbacks[i]=s.enterCallbacks[i]||[]);return()=>new Promise((a,r)=>{const l=d=>{d===!1?r(ya(4,{from:n,to:t})):d instanceof Error?r(d):cC(d)?r(ya(2,{from:t,to:d})):(o&&s.enterCallbacks[i]===o&&typeof d=="function"&&o.push(d),a())},c=e.call(s&&s.instances[i],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(d=>r(d))})}function Qu(e,t,n,s){const i=[];for(const o of e)for(const a in o.components){let r=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(BC(r)){const c=(r.__vccOpts||r)[t];c&&i.push(bi(c,n,s,o,a))}else{let l=r();i.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const u=zE(c)?c.default:c;o.components[a]=u;const f=(u.__vccOpts||u)[t];return f&&bi(f,n,s,o,a)()}))}}return i}function BC(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function dg(e){const t=ls(_f),n=ls(bf),s=_e(()=>t.resolve(q(e.to))),i=_e(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(va.bind(null,u));if(f>-1)return f;const p=hg(l[c-2]);return c>1&&hg(u)===p&&d[d.length-1].path!==p?d.findIndex(va.bind(null,l[c-2])):f}),o=_e(()=>i.value>-1&&WC(n.params,s.value.params)),a=_e(()=>i.value>-1&&i.value===n.matched.length-1&&ly(n.params,s.value.params));function r(l={}){return jC(l)?t[q(e.replace)?"replace":"push"](q(e.to)).catch(vr):Promise.resolve()}return{route:s,href:_e(()=>s.value.href),isActive:o,isExactActive:a,navigate:r}}const VC=Nt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:dg,setup(e,{slots:t}){const n=Ms(dg(e)),{options:s}=ls(_f),i=_e(()=>({[fg(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[fg(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Co("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),HC=VC;function jC(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function WC(e,t){for(const n in t){const s=t[n],i=e[n];if(typeof s=="string"){if(s!==i)return!1}else if(!ds(i)||i.length!==s.length||s.some((o,a)=>o!==i[a]))return!1}return!0}function hg(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const fg=(e,t,n)=>e??t??n,zC=Nt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ls(Xd),i=_e(()=>e.route||s.value),o=ls(ug,0),a=_e(()=>{let c=q(o);const{matched:u}=i.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),r=_e(()=>i.value.matched[a.value]);sc(ug,_e(()=>a.value+1)),sc(FC,r),sc(Xd,i);const l=ve();return Ut(()=>[l.value,r.value,e.name],([c,u,d],[f,p,g])=>{u&&(u.instances[d]=c,p&&p!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!va(u,p)||!f)&&(u.enterCallbacks[d]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,d=r.value,f=d&&d.components[u];if(!f)return pg(n.default,{Component:f,route:c});const p=d.props[u],g=p?p===!0?c.params:typeof p=="function"?p(c):p:null,v=Co(f,ct({},g,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return pg(n.default,{Component:v,route:c})||v}}});function pg(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const by=zC;function YC(e){const t=vC(e.routes,e),n=e.parseQuery||LC,s=e.stringifyQuery||cg,i=e.history,o=qa(),a=qa(),r=qa(),l=ef(ci);let c=ci;ea&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ju.bind(null,T=>""+T),d=Ju.bind(null,RC),f=Ju.bind(null,Ec);function p(T,se){let de,ke;return uy(T)?(de=t.getRecordMatcher(T),ke=se):ke=T,t.addRoute(ke,de)}function g(T){const se=t.getRecordMatcher(T);se&&t.removeRoute(se)}function _(){return t.getRoutes().map(T=>T.record)}function v(T){return!!t.getRecordMatcher(T)}function w(T,se){if(se=ct({},se||l.value),typeof T=="string"){const D=Xu(n,T,se.path),H=t.resolve({path:D.path},se),W=i.createHref(D.fullPath);return ct(D,H,{params:f(H.params),hash:Ec(D.hash),redirectedFrom:void 0,href:W})}let de;if("path"in T)de=ct({},T,{path:Xu(n,T.path,se.path).path});else{const D=ct({},T.params);for(const H in D)D[H]==null&&delete D[H];de=ct({},T,{params:d(D)}),se.params=d(se.params)}const ke=t.resolve(de,se),N=T.hash||"";ke.params=u(f(ke.params));const fe=KE(s,ct({},T,{hash:DC(N),path:ke.path})),b=i.createHref(fe);return ct({fullPath:fe,hash:N,query:s===cg?NC(T.query):T.query||{}},ke,{redirectedFrom:void 0,href:b})}function A(T){return typeof T=="string"?Xu(n,T,l.value.path):ct({},T)}function $(T,se){if(c!==T)return ya(8,{from:se,to:T})}function M(T){return x(T)}function k(T){return M(ct(A(T),{replace:!0}))}function y(T){const se=T.matched[T.matched.length-1];if(se&&se.redirect){const{redirect:de}=se;let ke=typeof de=="function"?de(T):de;return typeof ke=="string"&&(ke=ke.includes("?")||ke.includes("#")?ke=A(ke):{path:ke},ke.params={}),ct({query:T.query,hash:T.hash,params:"path"in ke?{}:T.params},ke)}}function x(T,se){const de=c=w(T),ke=l.value,N=T.state,fe=T.force,b=T.replace===!0,D=y(de);if(D)return x(ct(A(D),{state:typeof D=="object"?ct({},N,D.state):N,force:fe,replace:b}),se||de);const H=de;H.redirectedFrom=se;let W;return!fe&&qE(s,ke,de)&&(W=ya(16,{to:H,from:ke}),ye(ke,ke,!0,!1)),(W?Promise.resolve(W):C(H,ke)).catch(ie=>Ns(ie)?Ns(ie,2)?ie:le(ie):Q(ie,H,ke)).then(ie=>{if(ie){if(Ns(ie,2))return x(ct({replace:b},A(ie.to),{state:typeof ie.to=="object"?ct({},N,ie.to.state):N,force:fe}),se||H)}else ie=G(H,ke,!0,b,N);return F(H,ke,ie),ie})}function E(T,se){const de=$(T,se);return de?Promise.reject(de):Promise.resolve()}function P(T){const se=I.values().next().value;return se&&typeof se.runWithContext=="function"?se.runWithContext(T):T()}function C(T,se){let de;const[ke,N,fe]=UC(T,se);de=Qu(ke.reverse(),"beforeRouteLeave",T,se);for(const D of ke)D.leaveGuards.forEach(H=>{de.push(bi(H,T,se))});const b=E.bind(null,T,se);return de.push(b),oe(de).then(()=>{de=[];for(const D of o.list())de.push(bi(D,T,se));return de.push(b),oe(de)}).then(()=>{de=Qu(N,"beforeRouteUpdate",T,se);for(const D of N)D.updateGuards.forEach(H=>{de.push(bi(H,T,se))});return de.push(b),oe(de)}).then(()=>{de=[];for(const D of fe)if(D.beforeEnter)if(ds(D.beforeEnter))for(const H of D.beforeEnter)de.push(bi(H,T,se));else de.push(bi(D.beforeEnter,T,se));return de.push(b),oe(de)}).then(()=>(T.matched.forEach(D=>D.enterCallbacks={}),de=Qu(fe,"beforeRouteEnter",T,se),de.push(b),oe(de))).then(()=>{de=[];for(const D of a.list())de.push(bi(D,T,se));return de.push(b),oe(de)}).catch(D=>Ns(D,8)?D:Promise.reject(D))}function F(T,se,de){r.list().forEach(ke=>P(()=>ke(T,se,de)))}function G(T,se,de,ke,N){const fe=$(T,se);if(fe)return fe;const b=se===ci,D=ea?history.state:{};de&&(ke||b?i.replace(T.fullPath,ct({scroll:b&&D&&D.scroll},N)):i.push(T.fullPath,N)),l.value=T,ye(T,se,de,b),le()}let ae;function Y(){ae||(ae=i.listen((T,se,de)=>{if(!ee.listening)return;const ke=w(T),N=y(ke);if(N){x(ct(N,{replace:!0}),ke).catch(vr);return}c=ke;const fe=l.value;ea&&nC(tg(fe.fullPath,de.delta),au()),C(ke,fe).catch(b=>Ns(b,12)?b:Ns(b,2)?(x(b.to,ke).then(D=>{Ns(D,20)&&!de.delta&&de.type===Br.pop&&i.go(-1,!1)}).catch(vr),Promise.reject()):(de.delta&&i.go(-de.delta,!1),Q(b,ke,fe))).then(b=>{b=b||G(ke,fe,!1),b&&(de.delta&&!Ns(b,8)?i.go(-de.delta,!1):de.type===Br.pop&&Ns(b,20)&&i.go(-1,!1)),F(ke,fe,b)}).catch(vr)}))}let L=qa(),O=qa(),V;function Q(T,se,de){le(T);const ke=O.list();return ke.length?ke.forEach(N=>N(T,se,de)):console.error(T),Promise.reject(T)}function Z(){return V&&l.value!==ci?Promise.resolve():new Promise((T,se)=>{L.add([T,se])})}function le(T){return V||(V=!T,Y(),L.list().forEach(([se,de])=>T?de(T):se()),L.reset()),T}function ye(T,se,de,ke){const{scrollBehavior:N}=e;if(!ea||!N)return Promise.resolve();const fe=!de&&sC(tg(T.fullPath,0))||(ke||!de)&&history.state&&history.state.scroll||null;return Zt().then(()=>N(T,se,fe)).then(b=>b&&tC(b)).catch(b=>Q(b,T,se))}const U=T=>i.go(T);let X;const I=new Set,ee={currentRoute:l,listening:!0,addRoute:p,removeRoute:g,hasRoute:v,getRoutes:_,resolve:w,options:e,push:M,replace:k,go:U,back:()=>U(-1),forward:()=>U(1),beforeEach:o.add,beforeResolve:a.add,afterEach:r.add,onError:O.add,isReady:Z,install(T){const se=this;T.component("RouterLink",HC),T.component("RouterView",by),T.config.globalProperties.$router=se,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>q(l)}),ea&&!X&&l.value===ci&&(X=!0,M(i.location).catch(N=>{}));const de={};for(const N in ci)Object.defineProperty(de,N,{get:()=>l.value[N],enumerable:!0});T.provide(_f,se),T.provide(bf,iv(de)),T.provide(Xd,l);const ke=T.unmount;I.add(T),T.unmount=function(){I.delete(T),I.size<1&&(c=ci,ae&&ae(),ae=null,l.value=ci,X=!1,V=!1),ke()}}};function oe(T){return T.reduce((se,de)=>se.then(()=>P(de)),Promise.resolve())}return ee}function UC(e,t){const n=[],s=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;ava(c,r))?s.push(r):n.push(r));const l=e.matched[a];l&&(t.matched.find(c=>va(c,l))||i.push(l))}return[n,s,i]}function KC(){return ls(bf)}const qC={getCookie(e){const n=`; ${document.cookie}`.split(`; ${e}=`);if(n.length===2)return n.pop().split(";").shift()}};mf("WGDashboardStore",{state:()=>({WireguardConfigurations:void 0,DashboardConfiguration:void 0}),actions:{async getDashboardConfiguration(){await Tt("/api/getDashboardConfiguration",{},e=>{console.log(e.status),e.status&&(this.DashboardConfiguration=e.data)})}}});const mg="[a-fA-F\\d:]",yi=e=>e&&e.includeBoundaries?`(?:(?<=\\s|^)(?=${mg})|(?<=${mg})(?=\\s|$))`:"",ns="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",Ft="[a-fA-F\\d]{1,4}",ru=` (?: -(?:${ae}:){7}(?:${ae}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8 -(?:${ae}:){6}(?:${rs}|:${ae}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4 -(?:${ae}:){5}(?::${rs}|(?::${ae}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4 -(?:${ae}:){4}(?:(?::${ae}){0,1}:${rs}|(?::${ae}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4 -(?:${ae}:){3}(?:(?::${ae}){0,2}:${rs}|(?::${ae}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4 -(?:${ae}:){2}(?:(?::${ae}){0,3}:${rs}|(?::${ae}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4 -(?:${ae}:){1}(?:(?::${ae}){0,4}:${rs}|(?::${ae}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4 -(?::(?:(?::${ae}){0,5}:${rs}|(?::${ae}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4 +(?:${Ft}:){7}(?:${Ft}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8 +(?:${Ft}:){6}(?:${ns}|:${Ft}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4 +(?:${Ft}:){5}(?::${ns}|(?::${Ft}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4 +(?:${Ft}:){4}(?:(?::${Ft}){0,1}:${ns}|(?::${Ft}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4 +(?:${Ft}:){3}(?:(?::${Ft}){0,2}:${ns}|(?::${Ft}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4 +(?:${Ft}:){2}(?:(?::${Ft}){0,3}:${ns}|(?::${Ft}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4 +(?:${Ft}:){1}(?:(?::${Ft}){0,4}:${ns}|(?::${Ft}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4 +(?::(?:(?::${Ft}){0,5}:${ns}|(?::${Ft}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4 )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1 -`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),QE=new RegExp(`(?:^${rs}$)|(?:^${il}$)`),ZE=new RegExp(`^${rs}$`),tA=new RegExp(`^${il}$`),ol=e=>e&&e.exact?QE:new RegExp(`(?:${an(e)}${rs}${an(e)})|(?:${an(e)}${il}${an(e)})`,"g");ol.v4=e=>e&&e.exact?ZE:new RegExp(`${an(e)}${rs}${an(e)}`,"g");ol.v6=e=>e&&e.exact?tA:new RegExp(`${an(e)}${il}${an(e)}`,"g");const n_={exact:!1},i_=`${ol.v4().source}\\/(3[0-2]|[12]?[0-9])`,o_=`${ol.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,eA=new RegExp(`^${i_}$`),sA=new RegExp(`^${o_}$`),nA=({exact:e}=n_)=>e?eA:new RegExp(i_,"g"),iA=({exact:e}=n_)=>e?sA:new RegExp(o_,"g"),r_=nA({exact:!0}),a_=iA({exact:!0}),zd=e=>r_.test(e)?4:a_.test(e)?6:0;zd.v4=e=>r_.test(e);zd.v6=e=>a_.test(e);const Ve=jd("WireguardConfigurationsStore",{state:()=>({Configurations:void 0,searchString:"",PeerScheduleJobs:{dropdowns:{Field:[{display:"Total Received",value:"total_receive",unit:"GB",type:"number"},{display:"Total Sent",value:"total_sent",unit:"GB",type:"number"},{display:"Total Data",value:"total_data",unit:"GB",type:"number"},{display:"Date",value:"date",type:"date"}],Operator:[{display:"equal",value:"eq"},{display:"not equal",value:"neq"},{display:"larger than",value:"lgt"},{display:"less than",value:"lst"}],Action:[{display:"Restrict Peer",value:"restrict"},{display:"Delete Peer",value:"delete"}]}}}),actions:{async getConfigurations(){await le("/api/getWireguardConfigurations",{},e=>{e.status&&(this.Configurations=e.data)})},regexCheckIP(e){return/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/.test(e)},checkCIDR(e){return zd(e)!==0}}}),Et=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},oA={name:"navbar",setup(){const e=Ve(),t=Ht();return{wireguardConfigurationsStore:e,dashboardConfigurationStore:t}}},rA={class:"col-md-3 col-lg-2 d-md-block p-3",style:{height:"calc(-50px + 100vh)"}},aA={id:"sidebarMenu",class:"bg-body-tertiary sidebar border h-100 rounded-3 shadow overflow-y-scroll"},lA={class:"sidebar-sticky pt-3"},cA={class:"nav flex-column"},dA={class:"nav-item"},uA={class:"nav-item"},hA=u("hr",null,null,-1),fA=u("h6",{class:"sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted"},[u("span",null,"Configurations")],-1),pA={class:"nav flex-column"},gA={class:"nav-item"},mA=u("hr",null,null,-1),_A=u("h6",{class:"sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted"},[u("span",null,"Tools")],-1),bA={class:"nav flex-column"},vA={class:"nav-item"},yA={class:"nav-item"},xA=u("hr",null,null,-1),wA={class:"nav flex-column"},SA={class:"nav-item"},EA=u("ul",{class:"nav flex-column"},[u("li",{class:"nav-item"},[u("a",{href:"https://github.com/donaldzou/WGDashboard/releases/tag/"},[u("small",{class:"nav-link text-muted"})])])],-1);function AA(e,t,s,n,i,o){const r=At("RouterLink");return O(),B("div",rA,[u("nav",aA,[u("div",lA,[u("ul",cA,[u("li",dA,[dt(r,{class:"nav-link",to:"/","exact-active-class":"active"},{default:It(()=>[rt("Home")]),_:1})]),u("li",uA,[dt(r,{class:"nav-link",to:"/settings","exact-active-class":"active"},{default:It(()=>[rt("Settings")]),_:1})])]),hA,fA,u("ul",pA,[u("li",gA,[(O(!0),B(Nt,null,se(this.wireguardConfigurationsStore.Configurations,a=>(O(),qt(r,{to:"/configuration/"+a.Name+"/peers",class:"nav-link nav-conf-link","active-class":"active"},{default:It(()=>[u("samp",null,nt(a.Name),1)]),_:2},1032,["to"]))),256))])]),mA,_A,u("ul",bA,[u("li",vA,[dt(r,{to:"/ping",class:"nav-link","active-class":"active"},{default:It(()=>[rt("Ping")]),_:1})]),u("li",yA,[dt(r,{to:"/traceroute",class:"nav-link","active-class":"active"},{default:It(()=>[rt("Traceroute")]),_:1})])]),xA,u("ul",wA,[u("li",SA,[u("a",{class:"nav-link text-danger",onClick:t[0]||(t[0]=a=>this.dashboardConfigurationStore.signOut()),role:"button",style:{"font-weight":"bold"}},"Sign Out")])]),EA])])])}const CA=Et(oA,[["render",AA]]),$A={name:"message",props:{message:Object},mounted(){setTimeout(()=>{this.message.show=!1},5e3)}},PA=["id"],kA={class:"card-body"},TA={class:"fw-bold d-block",style:{"text-transform":"uppercase"}};function MA(e,t,s,n,i,o){return O(),B("div",{class:Mt(["card shadow rounded-3 position-relative mb-2",{"text-bg-danger":this.message.type==="danger","text-bg-success":this.message.type==="success","text-bg-warning":this.message.type==="warning"}]),id:this.message.id,style:{width:"400px"}},[u("div",kA,[u("small",TA,"FROM "+nt(this.message.from),1),rt(" "+nt(this.message.content),1)])],10,PA)}const l_=Et($A,[["render",MA]]),DA={name:"index",components:{Message:l_,Navbar:CA},async setup(){return{dashboardConfigurationStore:Ht()}},computed:{getMessages(){return this.dashboardConfigurationStore.Messages.filter(e=>e.show)}}},IA=["data-bs-theme"],OA={class:"row h-100"},LA={class:"col-md-9 ml-sm-auto col-lg-10 px-md-4 overflow-y-scroll mb-0",style:{height:"calc(100vh - 50px)"}},RA={class:"messageCentre text-body position-fixed"};function NA(e,t,s,n,i,o){const r=At("Navbar"),a=At("RouterView"),l=At("Message");return O(),B("div",{class:"container-fluid flex-grow-1 main","data-bs-theme":this.dashboardConfigurationStore.Configuration.Server.dashboard_theme},[u("div",OA,[dt(r),u("main",LA,[(O(),qt(Id,null,{default:It(()=>[dt(a,null,{default:It(({Component:c})=>[dt(Re,{name:"fade2",mode:"out-in"},{default:It(()=>[(O(),qt(Dd(c)))]),_:2},1024)]),_:1})]),_:1})),u("div",RA,[dt(An,{name:"message",tag:"div",class:"position-relative"},{default:It(()=>[(O(!0),B(Nt,null,se(o.getMessages.slice().reverse(),c=>(O(),qt(l,{message:c,key:c.id},null,8,["message"]))),128))]),_:1})])])])],8,IA)}const FA=Et(DA,[["render",NA],["__scopeId","data-v-54755a4a"]]),BA={name:"signin",components:{Message:l_},async setup(){const e=Ht();let t="",s=!1;return await le("/api/getDashboardTheme",{},n=>{t=n.data}),await le("/api/isTotpEnabled",{},n=>{s=n.data}),{store:e,theme:t,totpEnabled:s}},data(){return{username:"",password:"",totp:"",loginError:!1,loginErrorMessage:"",loading:!1}},computed:{getMessages(){return this.store.Messages.filter(e=>e.show)}},methods:{async auth(){this.username&&this.password&&(this.totpEnabled&&this.totp||!this.totpEnabled)?(this.loading=!0,await Zt("/api/authenticate",{username:this.username,password:this.password,totp:this.totp},e=>{e.status?(this.loginError=!1,this.$refs.signInBtn.classList.add("signedIn"),e.message?this.$router.push("/welcome"):this.store.Redirect!==void 0?this.$router.push(this.store.Redirect):this.$router.push("/")):(this.loginError=!0,this.loginErrorMessage=e.message,document.querySelectorAll("input[required]").forEach(t=>{t.classList.remove("is-valid"),t.classList.add("is-invalid")}),this.loading=!1)})):document.querySelectorAll("input[required]").forEach(e=>{e.value.length===0?(e.classList.remove("is-valid"),e.classList.add("is-invalid")):(e.classList.remove("is-invalid"),e.classList.add("is-valid"))})}}},VA=["data-bs-theme"],jA={class:"login-box m-auto",style:{width:"500px"}},HA=u("h4",{class:"mb-0 text-body"},"Welcome to",-1),WA=u("span",{class:"dashboardLogo display-3"},"WGDashboard",-1),zA={class:"m-auto"},KA={key:0,class:"alert alert-danger mt-2 mb-0",role:"alert"},UA={class:"form-group text-body"},YA=u("label",{for:"username",class:"text-left",style:{"font-size":"1rem"}},[u("i",{class:"bi bi-person-circle"})],-1),qA={class:"form-group text-body"},GA=u("label",{for:"password",class:"text-left",style:{"font-size":"1rem"}},[u("i",{class:"bi bi-key-fill"})],-1),JA={key:0,class:"form-group text-body"},XA=u("label",{for:"totp",class:"text-left",style:{"font-size":"1rem"}},[u("i",{class:"bi bi-lock-fill"})],-1),QA={class:"btn btn-lg btn-dark ms-auto mt-4 w-100 d-flex btn-brand shadow signInBtn",ref:"signInBtn"},ZA={key:0,class:"d-flex w-100"},tC=u("i",{class:"ms-auto bi bi-chevron-right"},null,-1),eC={key:1,class:"d-flex w-100 align-items-center"},sC=u("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},[u("span",{class:"visually-hidden"},"Loading...")],-1),nC=u("small",{class:"text-muted pb-3 d-block w-100 text-center"},[rt(" WGDashboard v4.0 | Developed with ❤️ by "),u("a",{href:"https://github.com/donaldzou",target:"_blank"},[u("strong",null,"Donald Zou")])],-1),iC={class:"messageCentre text-body position-absolute end-0 margin-3"};function oC(e,t,s,n,i,o){const r=At("Message");return O(),B("div",{class:"container-fluid login-container-fluid d-flex main flex-column","data-bs-theme":this.theme},[u("div",jA,[HA,WA,u("div",zA,[i.loginError?(O(),B("div",KA,nt(this.loginErrorMessage),1)):xt("",!0),u("form",{onSubmit:t[3]||(t[3]=a=>{a.preventDefault(),this.auth()})},[u("div",UA,[YA,ft(u("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=a=>i.username=a),class:"form-control",id:"username",name:"username",autocomplete:"on",placeholder:"Username",required:""},null,512),[[bt,i.username]])]),u("div",qA,[GA,ft(u("input",{type:"password","onUpdate:modelValue":t[1]||(t[1]=a=>i.password=a),class:"form-control",id:"password",name:"password",autocomplete:"on",placeholder:"Password",required:""},null,512),[[bt,i.password]])]),n.totpEnabled?(O(),B("div",JA,[XA,ft(u("input",{class:"form-control totp",required:"",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code",placeholder:"OTP from your authenticator","onUpdate:modelValue":t[2]||(t[2]=a=>this.totp=a)},null,512),[[bt,this.totp]])])):xt("",!0),u("button",QA,[this.loading?(O(),B("span",eC,[rt(" Signing In... "),sC])):(O(),B("span",ZA,[rt(" Sign In"),tC]))],512)],32)])]),nC,u("div",iC,[dt(An,{name:"message",tag:"div",class:"position-relative"},{default:It(()=>[(O(!0),B(Nt,null,se(o.getMessages.slice().reverse(),a=>(O(),qt(r,{message:a,key:a.id},null,8,["message"]))),128))]),_:1})])],8,VA)}const rC=Et(BA,[["render",oC]]),aC={name:"configurationCard",props:{c:{Name:String,Status:Boolean,PublicKey:String,PrivateKey:String}},data(){return{configurationToggling:!1}},setup(){return{dashboardConfigurationStore:Ht()}},methods:{toggle(){this.configurationToggling=!0,le("/api/toggleWireguardConfiguration/",{configurationName:this.c.Name},e=>{e.status?this.dashboardConfigurationStore.newMessage("Server",`${this.c.Name} is ${e.data?"is on":"is off"}`):this.dashboardConfigurationStore.newMessage("Server",e.message,"danger"),this.c.Status=e.data,this.configurationToggling=!1})}}},lC={class:"card conf_card rounded-3 shadow text-decoration-none"},cC={class:"mb-0"},dC={class:"card-title mb-0"},uC=u("h6",{class:"mb-0 ms-auto"},[u("i",{class:"bi bi-chevron-right"})],-1),hC={class:"card-footer d-flex align-items-center"},fC=u("small",{class:"me-2 text-muted"},[u("strong",null,"PUBLIC KEY")],-1),pC={class:"mb-0 d-block d-lg-inline-block"},gC={style:{"line-break":"anywhere"}},mC={class:"form-check form-switch ms-auto"},_C=["for"],bC={key:0,class:"spinner-border spinner-border-sm","aria-hidden":"true"},vC=["disabled","id"];function yC(e,t,s,n,i,o){const r=At("RouterLink");return O(),B("div",lC,[dt(r,{to:"/configuration/"+s.c.Name+"/peers",class:"card-body d-flex align-items-center gap-3 flex-wrap text-decoration-none"},{default:It(()=>[u("h6",cC,[u("span",{class:Mt(["dot",{active:s.c.Status}])},null,2)]),u("h6",dC,[u("samp",null,nt(s.c.Name),1)]),uC]),_:1},8,["to"]),u("div",hC,[fC,u("small",pC,[u("samp",gC,nt(s.c.PublicKey),1)]),u("div",mC,[u("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+s.c.PrivateKey},[rt(nt(this.configurationToggling?"Turning ":"")+" "+nt(s.c.Status?"On":"Off")+" ",1),this.configurationToggling?(O(),B("span",bC)):xt("",!0)],8,_C),ft(u("input",{class:"form-check-input",style:{cursor:"pointer"},disabled:this.configurationToggling,type:"checkbox",role:"switch",id:"switch"+s.c.PrivateKey,onChange:t[0]||(t[0]=a=>this.toggle()),"onUpdate:modelValue":t[1]||(t[1]=a=>s.c.Status=a)},null,40,vC),[[Xe,s.c.Status]])])])])}const xC=Et(aC,[["render",yC]]),wC={name:"configurationList",components:{ConfigurationCard:xC},async setup(){return{wireguardConfigurationsStore:Ve()}},data(){return{configurationLoaded:!1}},async mounted(){await this.wireguardConfigurationsStore.getConfigurations(),this.configurationLoaded=!0}},SC={class:"mt-5"},EC={class:"container"},AC={class:"d-flex mb-4"},CC=u("h3",{class:"text-body"},"WireGuard Configurations",-1),$C=u("i",{class:"bi bi-plus-circle-fill me-2"},null,-1),PC={key:0},kC={key:0,class:"text-muted"},TC={key:1,class:"d-flex gap-3 flex-column"};function MC(e,t,s,n,i,o){const r=At("RouterLink"),a=At("ConfigurationCard");return O(),B("div",SC,[u("div",EC,[u("div",AC,[CC,dt(r,{to:"/new_configuration",class:"btn btn-dark btn-brand rounded-3 px-3 py-2 shadow ms-auto rounded-3"},{default:It(()=>[$C,rt(" Configuration ")]),_:1})]),dt(Re,{name:"fade",mode:"out-in"},{default:It(()=>[this.configurationLoaded?(O(),B("div",PC,[this.wireguardConfigurationsStore.Configurations.length===0?(O(),B("p",kC,` You don't have any WireGuard configurations yet. Please check the configuration folder or change it in "Settings". By default the folder is "/etc/wireguard". `)):(O(),B("div",TC,[(O(!0),B(Nt,null,se(this.wireguardConfigurationsStore.Configurations,l=>(O(),qt(a,{key:l.Name,c:l},null,8,["c"]))),128))]))])):xt("",!0)]),_:1})])])}const DC=Et(wC,[["render",MC]]);let Nr;const IC=new Uint8Array(16);function OC(){if(!Nr&&(Nr=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Nr))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Nr(IC)}const pe=[];for(let e=0;e<256;++e)pe.push((e+256).toString(16).slice(1));function LC(e,t=0){return pe[e[t+0]]+pe[e[t+1]]+pe[e[t+2]]+pe[e[t+3]]+"-"+pe[e[t+4]]+pe[e[t+5]]+"-"+pe[e[t+6]]+pe[e[t+7]]+"-"+pe[e[t+8]]+pe[e[t+9]]+"-"+pe[e[t+10]]+pe[e[t+11]]+pe[e[t+12]]+pe[e[t+13]]+pe[e[t+14]]+pe[e[t+15]]}const RC=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),xf={randomUUID:RC};function zs(e,t,s){if(xf.randomUUID&&!t&&!e)return xf.randomUUID();e=e||{};const n=e.random||(e.rng||OC)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){s=s||0;for(let i=0;i<16;++i)t[s+i]=n[i];return t}return LC(n)}const NC={props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const e=Ht(),t=`input_${zs()}`;return{store:e,uuid:t}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Peers[this.targetData]},methods:{async useValidation(){this.changed&&await Zt("/api/updateDashboardConfigurationItem",{section:"Peers",key:this.targetData,value:this.value},e=>{e.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Peers[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=e.message),this.changed=!1,this.updating=!1})}}},FC={class:"form-group mb-2"},BC=["for"],VC=["id","disabled"],jC={class:"invalid-feedback"},HC={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"},WC=u("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1),zC=["innerHTML"];function KC(e,t,s,n,i,o){return O(),B("div",FC,[u("label",{for:this.uuid,class:"text-muted mb-1"},[u("strong",null,[u("small",null,nt(this.title),1)])],8,BC),ft(u("input",{type:"text",class:Mt(["form-control",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),id:this.uuid,"onUpdate:modelValue":t[0]||(t[0]=r=>this.value=r),onKeydown:t[1]||(t[1]=r=>this.changed=!0),onBlur:t[2]||(t[2]=r=>o.useValidation()),disabled:this.updating},null,42,VC),[[bt,this.value]]),u("div",jC,nt(this.invalidFeedback),1),s.warning?(O(),B("div",HC,[u("small",null,[WC,u("span",{innerHTML:s.warningText},null,8,zC)])])):xt("",!0)])}const UC=Et(NC,[["render",KC]]),YC=e=>{},qC={name:"accountSettingsInputUsername",props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const e=Ht(),t=`input_${zs()}`;return{store:e,uuid:t}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Account[this.targetData]},methods:{async useValidation(){this.changed&&(this.updating=!0,await Zt("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},e=>{e.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=e.message),this.changed=!1,this.updating=!1}))}}},GC={class:"form-group mb-2"},JC=["for"],XC=["id","disabled"],QC={class:"invalid-feedback"},ZC={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"},t$=u("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1),e$=["innerHTML"];function s$(e,t,s,n,i,o){return O(),B("div",GC,[u("label",{for:this.uuid,class:"text-muted mb-1"},[u("strong",null,[u("small",null,nt(this.title),1)])],8,JC),ft(u("input",{type:"text",class:Mt(["form-control",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),id:this.uuid,"onUpdate:modelValue":t[0]||(t[0]=r=>this.value=r),onKeydown:t[1]||(t[1]=r=>this.changed=!0),onBlur:t[2]||(t[2]=r=>o.useValidation()),disabled:this.updating},null,42,XC),[[bt,this.value]]),u("div",QC,nt(this.invalidFeedback),1),s.warning?(O(),B("div",ZC,[u("small",null,[t$,u("span",{innerHTML:s.warningText},null,8,e$)])])):xt("",!0)])}const n$=Et(qC,[["render",s$]]),i$={name:"accountSettingsInputPassword",props:{targetData:String,warning:!1,warningText:""},setup(){const e=Ht(),t=`input_${zs()}`;return{store:e,uuid:t}},data(){return{value:{currentPassword:"",newPassword:"",repeatNewPassword:""},invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0}},methods:{async useValidation(){Object.values(this.value).find(e=>e.length===0)===void 0?this.value.newPassword===this.value.repeatNewPassword?await Zt("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},e=>{e.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.isValid=!1,this.value={currentPassword:"",newPassword:"",repeatNewPassword:""}},5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=e.message)}):(this.showInvalidFeedback=!0,this.invalidFeedback="New passwords does not match"):(this.showInvalidFeedback=!0,this.invalidFeedback="Please fill in all required fields.")}}},o$={class:"d-flex flex-column"},r$={class:"row"},a$={class:"col-sm"},l$={class:"form-group mb-2"},c$=["for"],d$=u("strong",null,[u("small",null,"Current Password")],-1),u$=[d$],h$=["id"],f$={key:0,class:"invalid-feedback d-block"},p$={class:"col-sm"},g$={class:"form-group mb-2"},m$=["for"],_$=u("strong",null,[u("small",null,"New Password")],-1),b$=[_$],v$=["id"],y$={class:"col-sm"},x$={class:"form-group mb-2"},w$=["for"],S$=u("strong",null,[u("small",null,"Repeat New Password")],-1),E$=[S$],A$=["id"],C$=u("i",{class:"bi bi-save2-fill me-2"},null,-1);function $$(e,t,s,n,i,o){return O(),B("div",o$,[u("div",r$,[u("div",a$,[u("div",l$,[u("label",{for:"currentPassword_"+this.uuid,class:"text-muted mb-1"},u$,8,c$),ft(u("input",{type:"password",class:Mt(["form-control mb-2",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),"onUpdate:modelValue":t[0]||(t[0]=r=>this.value.currentPassword=r),id:"currentPassword_"+this.uuid},null,10,h$),[[bt,this.value.currentPassword]]),i.showInvalidFeedback?(O(),B("div",f$,nt(this.invalidFeedback),1)):xt("",!0)])]),u("div",p$,[u("div",g$,[u("label",{for:"newPassword_"+this.uuid,class:"text-muted mb-1"},b$,8,m$),ft(u("input",{type:"password",class:Mt(["form-control mb-2",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),"onUpdate:modelValue":t[1]||(t[1]=r=>this.value.newPassword=r),id:"newPassword_"+this.uuid},null,10,v$),[[bt,this.value.newPassword]])])]),u("div",y$,[u("div",x$,[u("label",{for:"repeatNewPassword_"+this.uuid,class:"text-muted mb-1"},E$,8,w$),ft(u("input",{type:"password",class:Mt(["form-control mb-2",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),"onUpdate:modelValue":t[2]||(t[2]=r=>this.value.repeatNewPassword=r),id:"repeatNewPassword_"+this.uuid},null,10,A$),[[bt,this.value.repeatNewPassword]])])])]),u("button",{class:"ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",onClick:t[3]||(t[3]=r=>this.useValidation())},[C$,rt("Update Password ")])])}const P$=Et(i$,[["render",$$]]),k$={name:"dashboardSettingsInputWireguardConfigurationPath",props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const e=Ht(),t=`input_${zs()}`;return{store:e,uuid:t}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Server[this.targetData]},methods:{async useValidation(){this.changed&&await Zt("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},e=>{e.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=e.message),this.changed=!1,this.updating=!1})}}},T$={class:"form-group mb-2"},M$=["for"],D$=["id","disabled"],I$={class:"invalid-feedback"},O$={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"},L$=u("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1),R$=["innerHTML"];function N$(e,t,s,n,i,o){return O(),B("div",T$,[u("label",{for:this.uuid,class:"text-muted mb-1"},[u("strong",null,[u("small",null,nt(this.title),1)])],8,M$),ft(u("input",{type:"text",class:Mt(["form-control",{"is-invalid":this.showInvalidFeedback,"is-valid":this.isValid}]),id:this.uuid,"onUpdate:modelValue":t[0]||(t[0]=r=>this.value=r),onKeydown:t[1]||(t[1]=r=>this.changed=!0),onBlur:t[2]||(t[2]=r=>this.useValidation()),disabled:this.updating},null,42,D$),[[bt,this.value]]),u("div",I$,nt(this.invalidFeedback),1),s.warning?(O(),B("div",O$,[u("small",null,[L$,u("span",{innerHTML:s.warningText},null,8,R$)])])):xt("",!0)])}const F$=Et(k$,[["render",N$]]),B$={name:"dashboardTheme",setup(){return{dashboardConfigurationStore:Ht()}},methods:{async switchTheme(e){await Zt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_theme",value:e},t=>{t.status&&(this.dashboardConfigurationStore.Configuration.Server.dashboard_theme=e)})}}},V$={class:"card mb-4 shadow rounded-3"},j$=u("p",{class:"card-header"},"Dashboard Theme",-1),H$={class:"card-body d-flex gap-2"},W$=u("i",{class:"bi bi-sun-fill"},null,-1),z$=u("i",{class:"bi bi-moon-fill"},null,-1);function K$(e,t,s,n,i,o){return O(),B("div",V$,[j$,u("div",H$,[u("button",{class:Mt(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="light"}]),onClick:t[0]||(t[0]=r=>this.switchTheme("light"))},[W$,rt(" Light ")],2),u("button",{class:Mt(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="dark"}]),onClick:t[1]||(t[1]=r=>this.switchTheme("dark"))},[z$,rt(" Dark ")],2)])])}const U$=Et(B$,[["render",K$]]),Y$={name:"dashboardSettingsInputIPAddressAndPort",props:{},setup(){const e=Ht(),t=`input_${zs()}`;return{store:e,uuid:t}},data(){return{app_ip:"",app_port:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.app_ip=this.store.Configuration.Server.app_ip,this.app_port=this.store.Configuration.Server.app_port},methods:{async useValidation(){this.changed&&await Zt("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},e=>{e.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=e.message)})}}},q$={class:"invalid-feedback d-block mt-0"},G$={class:"row"},J$={class:"form-group mb-2 col-sm"},X$=["for"],Q$=u("strong",null,[u("small",null,"Dashboard IP Address")],-1),Z$=[Q$],tP=["id"],eP=u("div",{class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block"},[u("small",null,[u("i",{class:"bi bi-exclamation-triangle-fill me-2"}),u("code",null,"0.0.0.0"),rt(" means it can be access by anyone with your server IP Address.")])],-1),sP={class:"form-group col-sm"},nP=["for"],iP=u("strong",null,[u("small",null,"Dashboard Port")],-1),oP=[iP],rP=["id"],aP=u("button",{class:"btn btn-success btn-sm fw-bold rounded-3"},[u("i",{class:"bi bi-floppy-fill me-2"}),rt("Update Dashboard Settings & Restart ")],-1);function lP(e,t,s,n,i,o){return O(),B("div",null,[u("div",q$,nt(this.invalidFeedback),1),u("div",G$,[u("div",J$,[u("label",{for:"app_ip_"+this.uuid,class:"text-muted mb-1"},Z$,8,X$),ft(u("input",{type:"text",class:"form-control mb-2",id:"app_ip_"+this.uuid,"onUpdate:modelValue":t[0]||(t[0]=r=>this.app_ip=r)},null,8,tP),[[bt,this.app_ip]]),eP]),u("div",sP,[u("label",{for:"app_port_"+this.uuid,class:"text-muted mb-1"},oP,8,nP),ft(u("input",{type:"text",class:"form-control mb-2",id:"app_port_"+this.uuid,"onUpdate:modelValue":t[1]||(t[1]=r=>this.app_port=r)},null,8,rP),[[bt,this.app_port]])])]),aP])}const cP=Et(Y$,[["render",lP]]);var c_={exports:{}};(function(e,t){(function(s,n){e.exports=n()})(Zp,function(){var s=1e3,n=6e4,i=36e5,o="millisecond",r="second",a="minute",l="hour",c="day",d="week",h="month",p="quarter",g="year",m="date",_="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(G){var H=["th","st","nd","rd"],R=G%100;return"["+G+(H[(R-20)%10]||H[R]||H[0])+"]"}},$=function(G,H,R){var z=String(G);return!z||z.length>=H?G:""+Array(H+1-z.length).join(R)+G},T={s:$,z:function(G){var H=-G.utcOffset(),R=Math.abs(H),z=Math.floor(R/60),Y=R%60;return(H<=0?"+":"-")+$(z,2,"0")+":"+$(Y,2,"0")},m:function G(H,R){if(H.date()1)return G(ht[0])}else{var vt=H.name;x[vt]=H,Y=vt}return!z&&Y&&(y=Y),Y||!z&&y},M=function(G,H){if(E(G))return G.clone();var R=typeof H=="object"?H:{};return R.date=G,R.args=arguments,new F(R)},L=T;L.l=P,L.i=E,L.w=function(G,H){return M(G,{locale:H.$L,utc:H.$u,x:H.$x,$offset:H.$offset})};var F=function(){function G(R){this.$L=P(R.locale,null,!0),this.parse(R),this.$x=this.$x||R.x||{},this[C]=!0}var H=G.prototype;return H.parse=function(R){this.$d=function(z){var Y=z.date,at=z.utc;if(Y===null)return new Date(NaN);if(L.u(Y))return new Date;if(Y instanceof Date)return new Date(Y);if(typeof Y=="string"&&!/Z$/i.test(Y)){var ht=Y.match(v);if(ht){var vt=ht[2]-1||0,_t=(ht[7]||"0").substring(0,3);return at?new Date(Date.UTC(ht[1],vt,ht[3]||1,ht[4]||0,ht[5]||0,ht[6]||0,_t)):new Date(ht[1],vt,ht[3]||1,ht[4]||0,ht[5]||0,ht[6]||0,_t)}}return new Date(Y)}(R),this.init()},H.init=function(){var R=this.$d;this.$y=R.getFullYear(),this.$M=R.getMonth(),this.$D=R.getDate(),this.$W=R.getDay(),this.$H=R.getHours(),this.$m=R.getMinutes(),this.$s=R.getSeconds(),this.$ms=R.getMilliseconds()},H.$utils=function(){return L},H.isValid=function(){return this.$d.toString()!==_},H.isSame=function(R,z){var Y=M(R);return this.startOf(z)<=Y&&Y<=this.endOf(z)},H.isAfter=function(R,z){return M(R){e.status?(this.$emit("created",e.data),this.store.newMessage("Server","New API Key created","success"),this.$emit("close")):this.store.newMessage("Server",e.message,"danger"),this.submitting=!1})},fixDate(e){return console.log(ki(e).format("YYYY-MM-DDTHH:mm:ss")),ki(e).format("YYYY-MM-DDTHH:mm:ss")}}},hP={class:"position-absolute w-100 h-100 top-0 start-0 rounded-bottom-3 p-3 d-flex",style:{"background-color":"#00000060","backdrop-filter":"blur(3px)"}},fP={class:"card m-auto rounded-3 mt-5"},pP={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},gP={class:"card-body d-flex gap-2 p-4 flex-column"},mP=u("small",{class:"text-muted"},"When should this API Key expire?",-1),_P={class:"d-flex align-items-center gap-2"},bP=["disabled"],vP={class:"form-check"},yP=["disabled"],xP=u("label",{class:"form-check-label",for:"neverExpire"},[rt(" Never Expire ("),u("i",{class:"bi bi-emoji-grimace-fill"}),rt(" Don't think that's a good idea) ")],-1),wP={key:0,class:"bi bi-check-lg me-2"};function SP(e,t,s,n,i,o){return O(),B("div",hP,[u("div",fP,[u("div",pP,[rt(" Create API Key "),u("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=r=>this.$emit("close"))})]),u("div",gP,[mP,u("div",_P,[ft(u("input",{class:"form-control",type:"datetime-local",onChange:t[1]||(t[1]=r=>this.newKeyData.ExpiredAt=this.fixDate(this.newKeyData.ExpiredAt)),disabled:this.newKeyData.neverExpire||this.submitting,"onUpdate:modelValue":t[2]||(t[2]=r=>this.newKeyData.ExpiredAt=r)},null,40,bP),[[bt,this.newKeyData.ExpiredAt]])]),u("div",vP,[ft(u("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[3]||(t[3]=r=>this.newKeyData.neverExpire=r),id:"neverExpire",disabled:this.submitting},null,8,yP),[[Xe,this.newKeyData.neverExpire]]),xP]),u("button",{class:Mt(["ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",{disabled:this.submitting}]),onClick:t[4]||(t[4]=r=>this.submitNewAPIKey())},[this.submitting?xt("",!0):(O(),B("i",wP)),rt(" "+nt(this.submitting?"Creating...":"Done"),1)],2)])])])}const EP=Et(uP,[["render",SP]]),AP={name:"dashboardAPIKey",props:{apiKey:Object},setup(){return{store:Ht()}},data(){return{confirmDelete:!1}},methods:{deleteAPIKey(){Zt("/api/deleteDashboardAPIKey",{Key:this.apiKey.Key},e=>{e.status?(this.$emit("deleted",e.data),this.store.newMessage("Server","API Key deleted","success")):this.store.newMessage("Server",e.message,"danger")})}}},CP={class:"card rounded-3 shadow-sm"},$P={key:0,class:"card-body d-flex gap-3 align-items-center"},PP={class:"d-flex align-items-center gap-2"},kP=u("small",{class:"text-muted"},"Key",-1),TP={class:"d-flex align-items-center gap-2 ms-auto"},MP=u("small",{class:"text-muted"},"Expire At",-1),DP=u("i",{class:"bi bi-trash-fill"},null,-1),IP=[DP],OP={key:1,class:"card-body d-flex gap-3 align-items-center justify-content-end"},LP=u("i",{class:"bi bi-check-lg"},null,-1),RP=[LP],NP=u("i",{class:"bi bi-x-lg"},null,-1),FP=[NP];function BP(e,t,s,n,i,o){return O(),B("div",CP,[this.confirmDelete?(O(),B("div",OP,[rt(" Are you sure to delete this API key? "),u("a",{role:"button",class:"btn btn-sm bg-success-subtle text-success-emphasis rounded-3",onClick:t[1]||(t[1]=r=>this.deleteAPIKey())},RP),u("a",{role:"button",class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis rounded-3",onClick:t[2]||(t[2]=r=>this.confirmDelete=!1)},FP)])):(O(),B("div",$P,[u("div",PP,[kP,rt(nt(this.apiKey.Key),1)]),u("div",TP,[MP,rt(" "+nt(this.apiKey.ExpiredAt?this.apiKey.ExpiredAt:"Never"),1)]),u("a",{role:"button",class:"btn btn-sm bg-danger-subtle text-danger-emphasis rounded-3",onClick:t[0]||(t[0]=r=>this.confirmDelete=!0)},IP)]))])}const VP=Et(AP,[["render",BP]]),jP={name:"dashboardAPIKeys",components:{DashboardAPIKey:VP,NewDashboardAPIKey:EP},setup(){return{store:Ht()}},data(){return{value:this.store.Configuration.Server.dashboard_api_key,apiKeys:[],newDashboardAPIKey:!1}},methods:{async toggleDashboardAPIKeys(){await Zt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_api_key",value:this.value},e=>{e.status?(this.store.Configuration.Peers[this.targetData]=this.value,this.store.newMessage("Server",`API Keys function is successfully ${this.value?"enabled":"disabled"}`,"success")):(this.value=this.store.Configuration.Peers[this.targetData],this.store.newMessage("Server",`API Keys function is failed ${this.value?"enabled":"disabled"}`,"danger"))})}},watch:{value:{immediate:!0,handler(e){e?le("/api/getDashboardAPIKeys",{},t=>{console.log(t),t.status?this.apiKeys=t.data:(this.apiKeys=[],this.store.newMessage("Server",t.message,"danger"))}):this.apiKeys=[]}}}},d_=e=>(ss("data-v-a1e137c9"),e=e(),ns(),e),HP={class:"card mb-4 shadow rounded-3"},WP={class:"card-header d-flex"},zP={class:"form-check form-switch ms-auto"},KP={class:"form-check-label",for:"allowAPIKeysSwitch"},UP={key:0,class:"card-body position-relative d-flex flex-column gap-2"},YP=d_(()=>u("i",{class:"bi bi-key me-2"},null,-1)),qP={key:0,class:"card",style:{height:"300px"}},GP=d_(()=>u("div",{class:"card-body d-flex text-muted"},[u("span",{class:"m-auto"}," No Dashboard API Key ")],-1)),JP=[GP],XP={key:1,class:"d-flex flex-column gap-2 position-relative",style:{"min-height":"300px"}};function QP(e,t,s,n,i,o){const r=At("DashboardAPIKey"),a=At("NewDashboardAPIKey");return O(),B("div",HP,[u("div",WP,[rt(" API Keys "),u("div",zP,[ft(u("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=l=>this.value=l),onChange:t[1]||(t[1]=l=>this.toggleDashboardAPIKeys()),role:"switch",id:"allowAPIKeysSwitch"},null,544),[[Xe,this.value]]),u("label",KP,nt(this.value?"Enabled":"Disabled"),1)])]),this.value?(O(),B("div",UP,[u("button",{class:"ms-auto btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle rounded-3 shadow-sm",onClick:t[2]||(t[2]=l=>this.newDashboardAPIKey=!0)},[YP,rt(" Create ")]),this.apiKeys.length===0?(O(),B("div",qP,JP)):(O(),B("div",XP,[dt(An,{name:"apiKey"},{default:It(()=>[(O(!0),B(Nt,null,se(this.apiKeys,l=>(O(),qt(r,{apiKey:l,key:l.Key,onDeleted:t[3]||(t[3]=c=>this.apiKeys=c)},null,8,["apiKey"]))),128))]),_:1})])),dt(Re,{name:"zoomReversed"},{default:It(()=>[this.newDashboardAPIKey?(O(),qt(a,{key:0,onCreated:t[4]||(t[4]=l=>this.apiKeys=l),onClose:t[5]||(t[5]=l=>this.newDashboardAPIKey=!1)})):xt("",!0)]),_:1})])):xt("",!0)])}const ZP=Et(jP,[["render",QP],["__scopeId","data-v-a1e137c9"]]),tk={name:"accountSettingsMFA",setup(){const e=Ht(),t=`input_${zs()}`;return{store:e,uuid:t}},data(){return{status:!1}},mounted(){this.status=this.store.Configuration.Account.enable_totp},methods:{async resetMFA(){await Zt("/api/updateDashboardConfigurationItem",{section:"Account",key:"totp_verified",value:"false"},async e=>{await Zt("/api/updateDashboardConfigurationItem",{section:"Account",key:"enable_totp",value:"false"},t=>{t.status&&this.$router.push("/2FASetup")})})}}},ek={class:"d-flex align-items-center"},sk=u("strong",null,"Multi-Factor Authentication",-1),nk={class:"form-check form-switch ms-3"},ik=u("i",{class:"bi bi-shield-lock-fill me-2"},null,-1);function ok(e,t,s,n,i,o){return O(),B("div",null,[u("div",ek,[sk,u("div",nk,[ft(u("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=r=>this.status=r),role:"switch",id:"allowAPIKeysSwitch"},null,512),[[Xe,this.status]])]),this.status?(O(),B("button",{key:0,class:"btn bg-warning-subtle text-warning-emphasis border-1 border-warning-subtle ms-auto rounded-3 shadow-sm",onClick:t[1]||(t[1]=r=>this.resetMFA())},[ik,rt(" "+nt(this.store.Configuration.Account.totp_verified?"Reset":"Setup")+" MFA ",1)])):xt("",!0)])])}const rk=Et(tk,[["render",ok]]),ak={name:"settings",methods:{ipV46RegexCheck:YC},components:{AccountSettingsMFA:rk,DashboardAPIKeys:ZP,DashboardSettingsInputIPAddressAndPort:cP,DashboardTheme:U$,DashboardSettingsInputWireguardConfigurationPath:F$,AccountSettingsInputPassword:P$,AccountSettingsInputUsername:n$,PeersDefaultSettingsInput:UC},setup(){return{dashboardConfigurationStore:Ht()}},watch:{}},lk={class:"mt-5"},ck={class:"container"},dk=u("h3",{class:"mb-3 text-body"},"Settings",-1),uk={class:"card mb-4 shadow rounded-3"},hk=u("p",{class:"card-header"},"Peers Default Settings",-1),fk={class:"card-body"},pk={class:"card mb-4 shadow rounded-3"},gk=u("p",{class:"card-header"},"WireGuard Configurations Settings",-1),mk={class:"card-body"},_k={class:"card mb-4 shadow rounded-3"},bk=u("p",{class:"card-header"},"Account Settings",-1),vk={class:"card-body d-flex gap-4 flex-column"},yk=u("hr",{class:"m-0"},null,-1),xk=u("hr",{class:"m-0"},null,-1);function wk(e,t,s,n,i,o){const r=At("DashboardTheme"),a=At("PeersDefaultSettingsInput"),l=At("DashboardSettingsInputWireguardConfigurationPath"),c=At("AccountSettingsInputUsername"),d=At("AccountSettingsInputPassword"),h=At("AccountSettingsMFA"),p=At("DashboardAPIKeys");return O(),B("div",lk,[u("div",ck,[dk,dt(r),u("div",uk,[hk,u("div",fk,[dt(a,{targetData:"peer_global_dns",title:"DNS"}),dt(a,{targetData:"peer_endpoint_allowed_ip",title:"Peer Endpoint Allowed IPs"}),dt(a,{targetData:"peer_mtu",title:"MTU (Max Transmission Unit)"}),dt(a,{targetData:"peer_keep_alive",title:"Persistent Keepalive"}),dt(a,{targetData:"remote_endpoint",title:"Peer Remote Endpoint",warning:!0,warningText:"This will be changed globally, and will be apply to all peer's QR code and configuration file."})])]),u("div",pk,[gk,u("div",mk,[dt(l,{targetData:"wg_conf_path",title:"Configurations Directory",warning:!0,"warning-text":"Remember to remove / at the end of your path. e.g /etc/wireguard"})])]),u("div",_k,[bk,u("div",vk,[dt(c,{targetData:"username",title:"Username"}),yk,dt(d,{targetData:"password"}),xk,dt(h)])]),dt(p)])])}const Sk=Et(ak,[["render",wk]]),Ek={name:"setup",components:{},setup(){return{store:Ht()}},data(){return{setup:{username:"",newPassword:"",repeatNewPassword:"",enable_totp:!0},loading:!1,errorMessage:"",done:!1}},computed:{goodToSubmit(){return this.setup.username&&this.setup.newPassword.length>=8&&this.setup.repeatNewPassword.length>=8&&this.setup.newPassword===this.setup.repeatNewPassword}},methods:{submit(){this.loading=!0,Zt("/api/Welcome_Finish",this.setup,e=>{e.status?(this.done=!0,this.$router.push("/2FASetup")):(document.querySelectorAll("#createAccount input").forEach(t=>t.classList.add("is-invalid")),this.errorMessage=e.message,document.querySelector(".login-container-fluid").scrollTo({top:0,left:0,behavior:"smooth"})),this.loading=!1})}}},Ak=["data-bs-theme"],Ck={class:"m-auto text-body",style:{width:"500px"}},$k=u("span",{class:"dashboardLogo display-4"},"Nice to meet you!",-1),Pk=u("p",{class:"mb-5"},"Please fill in the following fields to finish setup 😊",-1),kk=u("h3",null,"Create an account",-1),Tk={key:0,class:"alert alert-danger"},Mk={class:"d-flex flex-column gap-3"},Dk={id:"createAccount",class:"d-flex flex-column gap-2"},Ik={class:"form-group text-body"},Ok=u("label",{for:"username",class:"mb-1 text-muted"},[u("small",null,"Pick an username you like")],-1),Lk={class:"form-group text-body"},Rk=u("label",{for:"password",class:"mb-1 text-muted"},[u("small",null,"Create a password (at least 8 characters)")],-1),Nk={class:"form-group text-body"},Fk=u("label",{for:"confirmPassword",class:"mb-1 text-muted"},[u("small",null,"Confirm password")],-1),Bk=["disabled"],Vk={key:0,class:"d-flex align-items-center w-100"},jk=u("i",{class:"bi bi-chevron-right ms-auto"},null,-1),Hk={key:1,class:"d-flex align-items-center w-100"},Wk=u("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},[u("span",{class:"visually-hidden"},"Loading...")],-1);function zk(e,t,s,n,i,o){return O(),B("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[u("div",Ck,[$k,Pk,u("div",null,[kk,this.errorMessage?(O(),B("div",Tk,nt(this.errorMessage),1)):xt("",!0),u("div",Mk,[u("div",Dk,[u("div",Ik,[Ok,ft(u("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=r=>this.setup.username=r),class:"form-control",id:"username",name:"username",placeholder:"Maybe something like 'wiredragon'?",required:""},null,512),[[bt,this.setup.username]])]),u("div",Lk,[Rk,ft(u("input",{type:"password","onUpdate:modelValue":t[1]||(t[1]=r=>this.setup.newPassword=r),class:"form-control",id:"password",name:"password",placeholder:"Make sure is strong enough",required:""},null,512),[[bt,this.setup.newPassword]])]),u("div",Nk,[Fk,ft(u("input",{type:"password","onUpdate:modelValue":t[2]||(t[2]=r=>this.setup.repeatNewPassword=r),class:"form-control",id:"confirmPassword",name:"confirmPassword",placeholder:"and you can remember it :)",required:""},null,512),[[bt,this.setup.repeatNewPassword]])])]),u("button",{class:"btn btn-dark btn-lg mb-5 d-flex btn-brand shadow align-items-center",ref:"signInBtn",disabled:!this.goodToSubmit||this.loading||this.done,onClick:t[3]||(t[3]=r=>this.submit())},[!this.loading&&!this.done?(O(),B("span",Vk,[rt(" Next"),jk])):(O(),B("span",Hk,[rt(" Saving..."),Wk]))],8,Bk)])])])],8,Ak)}const Kk=Et(Ek,[["render",zk]]);function Kd(e){return e.includes(":")?6:e.includes(".")?4:0}function Uk(e){const t=Kd(e);if(!t)throw new Error(`Invalid IP address: ${e}`);let s=0n,n=0n;const i=Object.create(null);if(t===4)for(const o of e.split(".").map(BigInt).reverse())s+=o*2n**n,n+=8n;else{if(e.includes(".")&&(i.ipv4mapped=!0,e=e.split(":").map(a=>{if(a.includes(".")){const[l,c,d,h]=a.split(".").map(p=>Number(p).toString(16).padStart(2,"0"));return`${l}${c}:${d}${h}`}else return a}).join(":")),e.includes("%")){let a;[,e,a]=/(.+)%(.+)/.exec(e),i.scopeid=a}const o=e.split(":"),r=o.indexOf("");if(r!==-1)for(;o.length<8;)o.splice(r,0,"");for(const a of o.map(l=>BigInt(parseInt(l||0,16))).reverse())s+=a*2n**n,n+=16n}return i.number=s,i.version=t,i}const wf={4:32,6:128},Yk=e=>e.includes("/")?Kd(e):0;function qk(e){const t=Yk(e),s=Object.create(null);if(s.single=!1,t)s.cidr=e,s.version=t;else{const h=Kd(e);if(h)s.cidr=`${e}/${wf[h]}`,s.version=h,s.single=!0;else throw new Error(`Network is not a CIDR or IP: ${e}`)}const[n,i]=s.cidr.split("/");s.prefix=i;const{number:o,version:r}=Uk(n),a=wf[r],l=o.toString(2).padStart(a,"0"),c=Number(a-i),d=l.substring(0,a-c);return s.start=BigInt(`0b${d}${"0".repeat(c)}`),s.end=BigInt(`0b${d}${"1".repeat(c)}`),s}/*! SPDX-License-Identifier: GPL-2.0 +`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),GC=new RegExp(`(?:^${ns}$)|(?:^${ru}$)`),JC=new RegExp(`^${ns}$`),XC=new RegExp(`^${ru}$`),lu=e=>e&&e.exact?GC:new RegExp(`(?:${yi(e)}${ns}${yi(e)})|(?:${yi(e)}${ru}${yi(e)})`,"g");lu.v4=e=>e&&e.exact?JC:new RegExp(`${yi(e)}${ns}${yi(e)}`,"g");lu.v6=e=>e&&e.exact?XC:new RegExp(`${yi(e)}${ru}${yi(e)}`,"g");const vy={exact:!1},yy=`${lu.v4().source}\\/(3[0-2]|[12]?[0-9])`,wy=`${lu.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,QC=new RegExp(`^${yy}$`),ZC=new RegExp(`^${wy}$`),eP=({exact:e}=vy)=>e?QC:new RegExp(yy,"g"),tP=({exact:e}=vy)=>e?ZC:new RegExp(wy,"g"),xy=eP({exact:!0}),ky=tP({exact:!0}),vf=e=>xy.test(e)?4:ky.test(e)?6:0;vf.v4=e=>xy.test(e);vf.v6=e=>ky.test(e);const Nn=mf("WireguardConfigurationsStore",{state:()=>({Configurations:void 0,searchString:"",ConfigurationListInterval:void 0,PeerScheduleJobs:{dropdowns:{Field:[{display:"Total Received",value:"total_receive",unit:"GB",type:"number"},{display:"Total Sent",value:"total_sent",unit:"GB",type:"number"},{display:"Total Data",value:"total_data",unit:"GB",type:"number"},{display:"Date",value:"date",type:"date"}],Operator:[{display:"equal",value:"eq"},{display:"not equal",value:"neq"},{display:"larger than",value:"lgt"},{display:"less than",value:"lst"}],Action:[{display:"Restrict Peer",value:"restrict"},{display:"Delete Peer",value:"delete"}]}}}),actions:{async getConfigurations(){await Tt("/api/getWireguardConfigurations",{},e=>{e.status&&(this.Configurations=e.data)})},regexCheckIP(e){return/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/.test(e)},checkCIDR(e){return vf(e)!==0}}}),Ye=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},nP={name:"navbar",setup(){const e=Nn(),t=st();return{wireguardConfigurationsStore:e,dashboardConfigurationStore:t}}},sP={class:"col-md-3 col-lg-2 d-md-block p-3",style:{height:"calc(-50px + 100vh)"}},iP={id:"sidebarMenu",class:"bg-body-tertiary sidebar border h-100 rounded-3 shadow overflow-y-scroll"},oP={class:"sidebar-sticky pt-3"},aP={class:"nav flex-column px-2"},rP={class:"nav-item"},lP=h("i",{class:"bi bi-house me-2"},null,-1),cP={class:"nav-item"},uP=h("i",{class:"bi bi-gear me-2"},null,-1),dP=h("hr",{class:"text-body"},null,-1),hP=h("h6",{class:"sidebar-heading px-3 mt-4 mb-1 text-muted text-center"},[h("i",{class:"bi bi-body-text me-2"}),we(" Configurations ")],-1),fP={class:"nav flex-column px-2"},pP={class:"nav-item"},mP=h("hr",{class:"text-body"},null,-1),gP=h("h6",{class:"sidebar-heading px-3 mt-4 mb-1 text-muted text-center"},[h("i",{class:"bi bi-tools me-2"}),we(" Tools ")],-1),_P={class:"nav flex-column px-2"},bP={class:"nav-item"},vP={class:"nav-item"},yP=h("hr",{class:"text-body"},null,-1),wP={class:"nav flex-column px-2"},xP={class:"nav-item"},kP=h("i",{class:"bi bi-box-arrow-left me-2"},null,-1),SP=h("ul",{class:"nav flex-column"},[h("li",{class:"nav-item"},[h("a",{href:"https://github.com/donaldzou/WGDashboard/releases/tag/"},[h("small",{class:"nav-link text-muted"})])])],-1);function AP(e,t,n,s,i,o){const a=je("RouterLink");return R(),B("div",sP,[h("nav",iP,[h("div",oP,[h("ul",aP,[h("li",rP,[$e(a,{class:"nav-link rounded-3",to:"/","exact-active-class":"active"},{default:Te(()=>[lP,we(" Home")]),_:1})]),h("li",cP,[$e(a,{class:"nav-link rounded-3",to:"/settings","exact-active-class":"active"},{default:Te(()=>[uP,we(" Settings")]),_:1})])]),dP,hP,h("ul",fP,[h("li",pP,[(R(!0),B(Me,null,qe(this.wireguardConfigurationsStore.Configurations,r=>(R(),Ne(a,{to:"/configuration/"+r.Name+"/peers",class:"nav-link nav-conf-link rounded-3","active-class":"active"},{default:Te(()=>[we(be(r.Name),1)]),_:2},1032,["to"]))),256))])]),mP,gP,h("ul",_P,[h("li",bP,[$e(a,{to:"/ping",class:"nav-link rounded-3","active-class":"active"},{default:Te(()=>[we("Ping")]),_:1})]),h("li",vP,[$e(a,{to:"/traceroute",class:"nav-link rounded-3","active-class":"active"},{default:Te(()=>[we("Traceroute")]),_:1})])]),yP,h("ul",wP,[h("li",xP,[h("a",{class:"nav-link text-danger rounded-3",onClick:t[0]||(t[0]=r=>this.dashboardConfigurationStore.signOut()),role:"button",style:{"font-weight":"bold"}},[kP,we(" Sign Out")])])]),SP])])])}const $P=Ye(nP,[["render",AP]]),EP={name:"message",props:{message:Object},mounted(){setTimeout(()=>{this.message.show=!1},5e3)}},CP=["id"],PP={class:"card-body"},TP={class:"fw-bold d-block",style:{"text-transform":"uppercase"}};function MP(e,t,n,s,i,o){return R(),B("div",{class:Pe(["card shadow rounded-3 position-relative mb-2",{"text-bg-danger":this.message.type==="danger","text-bg-success":this.message.type==="success","text-bg-warning":this.message.type==="warning"}]),id:this.message.id,style:{width:"400px"}},[h("div",PP,[h("small",TP,"FROM "+be(this.message.from),1),we(" "+be(this.message.content),1)])],10,CP)}const Sy=Ye(EP,[["render",MP]]),DP={name:"index",components:{Message:Sy,Navbar:$P},async setup(){return{dashboardConfigurationStore:st()}},computed:{getMessages(){return this.dashboardConfigurationStore.Messages.filter(e=>e.show)}}},OP=["data-bs-theme"],IP={class:"row h-100"},RP={class:"col-md-9 ml-sm-auto col-lg-10 px-md-4 overflow-y-scroll mb-0",style:{height:"calc(100vh - 50px)"}},LP={class:"messageCentre text-body position-fixed"};function NP(e,t,n,s,i,o){const a=je("Navbar"),r=je("RouterView"),l=je("Message");return R(),B("div",{class:"container-fluid flex-grow-1 main","data-bs-theme":this.dashboardConfigurationStore.Configuration.Server.dashboard_theme},[h("div",IP,[$e(a),h("main",RP,[(R(),Ne(af,null,{default:Te(()=>[$e(r,null,{default:Te(({Component:c})=>[$e(Bt,{name:"fade2",mode:"out-in"},{default:Te(()=>[(R(),Ne(Do(c)))]),_:2},1024)]),_:1})]),_:1})),h("div",LP,[$e(Hi,{name:"message",tag:"div",class:"position-relative"},{default:Te(()=>[(R(!0),B(Me,null,qe(o.getMessages.slice().reverse(),c=>(R(),Ne(l,{message:c,key:c.id},null,8,["message"]))),128))]),_:1})])])])],8,OP)}const FP=Ye(DP,[["render",NP],["__scopeId","data-v-54755a4a"]]),BP={name:"signin",components:{Message:Sy},async setup(){const e=st();let t="",n=!1;return await Tt("/api/getDashboardTheme",{},s=>{t=s.data}),await Tt("/api/isTotpEnabled",{},s=>{n=s.data}),{store:e,theme:t,totpEnabled:n}},data(){return{username:"",password:"",totp:"",loginError:!1,loginErrorMessage:"",loading:!1}},computed:{getMessages(){return this.store.Messages.filter(e=>e.show)}},methods:{async auth(){this.username&&this.password&&(this.totpEnabled&&this.totp||!this.totpEnabled)?(this.loading=!0,await dt("/api/authenticate",{username:this.username,password:this.password,totp:this.totp},e=>{e.status?(this.loginError=!1,this.$refs.signInBtn.classList.add("signedIn"),e.message?this.$router.push("/welcome"):this.store.Redirect!==void 0?this.$router.push(this.store.Redirect):this.$router.push("/")):(this.loginError=!0,this.loginErrorMessage=e.message,document.querySelectorAll("input[required]").forEach(t=>{t.classList.remove("is-valid"),t.classList.add("is-invalid")}),this.loading=!1)})):document.querySelectorAll("input[required]").forEach(e=>{e.value.length===0?(e.classList.remove("is-valid"),e.classList.add("is-invalid")):(e.classList.remove("is-invalid"),e.classList.add("is-valid"))})}}},VP=["data-bs-theme"],HP={class:"login-box m-auto",style:{width:"600px"}},jP={class:"m-auto"},WP={class:"card px-4 py-5 rounded-4 shadow-lg"},zP={class:"card-body"},YP=h("h4",{class:"mb-0 text-body"},"Welcome to",-1),UP=h("span",{class:"dashboardLogo display-3"},[h("strong",null,"WGDashboard")],-1),KP={key:0,class:"alert alert-danger mt-2 mb-0",role:"alert"},qP={class:"form-group text-body"},GP=h("label",{for:"username",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-person-circle"})],-1),JP={class:"form-group text-body"},XP=h("label",{for:"password",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-key-fill"})],-1),QP={key:0,class:"form-group text-body"},ZP=h("label",{for:"totp",class:"text-left",style:{"font-size":"1rem"}},[h("i",{class:"bi bi-lock-fill"})],-1),eT={class:"btn btn-lg btn-dark ms-auto mt-4 w-100 d-flex btn-brand signInBtn",ref:"signInBtn"},tT={key:0,class:"d-flex w-100"},nT=h("i",{class:"ms-auto bi bi-chevron-right"},null,-1),sT={key:1,class:"d-flex w-100 align-items-center"},iT=h("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},[h("span",{class:"visually-hidden"},"Loading...")],-1),oT=h("small",{class:"text-muted pb-3 d-block w-100 text-center"},[we(" WGDashboard v4.0 | Developed with ❤️ by "),h("a",{href:"https://github.com/donaldzou",target:"_blank"},[h("strong",null,"Donald Zou")])],-1),aT={class:"messageCentre text-body position-absolute end-0 m-3"};function rT(e,t,n,s,i,o){const a=je("Message");return R(),B("div",{class:"container-fluid login-container-fluid d-flex main flex-column","data-bs-theme":this.theme},[h("div",HP,[h("div",jP,[h("div",WP,[h("div",zP,[YP,UP,i.loginError?(R(),B("div",KP,be(this.loginErrorMessage),1)):ce("",!0),h("form",{onSubmit:t[3]||(t[3]=r=>{r.preventDefault(),this.auth()})},[h("div",qP,[GP,Le(h("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=r=>i.username=r),class:"form-control",id:"username",name:"username",autocomplete:"on",placeholder:"Username",required:""},null,512),[[We,i.username]])]),h("div",JP,[XP,Le(h("input",{type:"password","onUpdate:modelValue":t[1]||(t[1]=r=>i.password=r),class:"form-control",id:"password",name:"password",autocomplete:"on",placeholder:"Password",required:""},null,512),[[We,i.password]])]),s.totpEnabled?(R(),B("div",QP,[ZP,Le(h("input",{class:"form-control totp",required:"",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code",placeholder:"OTP from your authenticator","onUpdate:modelValue":t[2]||(t[2]=r=>this.totp=r)},null,512),[[We,this.totp]])])):ce("",!0),h("button",eT,[this.loading?(R(),B("span",sT,[we(" Signing In... "),iT])):(R(),B("span",tT,[we(" Sign In"),nT]))],512)],32)])])])]),oT,h("div",aT,[$e(Hi,{name:"message",tag:"div",class:"position-relative"},{default:Te(()=>[(R(!0),B(Me,null,qe(o.getMessages.slice().reverse(),r=>(R(),Ne(a,{message:r,key:r.id},null,8,["message"]))),128))]),_:1})])],8,VP)}const lT=Ye(BP,[["render",rT]]),cT={name:"configurationCard",props:{c:{Name:String,Status:Boolean,PublicKey:String,PrivateKey:String}},data(){return{configurationToggling:!1}},setup(){return{dashboardConfigurationStore:st()}},methods:{toggle(){this.configurationToggling=!0,Tt("/api/toggleWireguardConfiguration/",{configurationName:this.c.Name},e=>{e.status?this.dashboardConfigurationStore.newMessage("Server",`${this.c.Name} is ${e.data?"is on":"is off"}`):this.dashboardConfigurationStore.newMessage("Server",e.message,"danger"),this.c.Status=e.data,this.configurationToggling=!1})}}},uT={class:"card conf_card rounded-3 shadow text-decoration-none"},dT={class:"mb-0"},hT={class:"card-title mb-0"},fT=h("h6",{class:"mb-0 ms-auto"},[h("i",{class:"bi bi-chevron-right"})],-1),pT={class:"card-footer d-flex gap-2 flex-column"},mT={class:"d-flex gap-4"},gT=h("i",{class:"bi bi-arrow-down-up me-2"},null,-1),_T={class:"text-primary-emphasis"},bT=h("i",{class:"bi bi-arrow-down me-2"},null,-1),vT={class:"text-success-emphasis"},yT=h("i",{class:"bi bi-arrow-up me-2"},null,-1),wT={class:"ms-auto"},xT={class:"d-flex align-items-center"},kT=h("small",{class:"me-2 text-muted"},[h("strong",null,"Public Key")],-1),ST={class:"mb-0 d-block d-lg-inline-block"},AT={style:{"line-break":"anywhere"}},$T={class:"form-check form-switch ms-auto"},ET=["for"],CT={key:0,class:"spinner-border spinner-border-sm","aria-hidden":"true"},PT=["disabled","id"];function TT(e,t,n,s,i,o){const a=je("RouterLink");return R(),B("div",uT,[$e(a,{to:"/configuration/"+n.c.Name+"/peers",class:"card-body d-flex align-items-center gap-3 flex-wrap text-decoration-none"},{default:Te(()=>[h("h6",dT,[h("span",{class:Pe(["dot",{active:n.c.Status}])},null,2)]),h("h6",hT,[h("samp",null,be(n.c.Name),1)]),fT]),_:1},8,["to"]),h("div",pT,[h("div",mT,[h("small",null,[gT,we(be(n.c.DataUsage.Total>0?n.c.DataUsage.Total.toFixed(4):0)+" GB ",1)]),h("small",_T,[bT,we(be(n.c.DataUsage.Receive>0?n.c.DataUsage.Receive.toFixed(4):0)+" GB ",1)]),h("small",vT,[yT,we(be(n.c.DataUsage.Sent>0?n.c.DataUsage.Sent.toFixed(4):0)+" GB ",1)]),h("small",wT,[h("span",{class:Pe(["dot me-2",{active:n.c.ConnectedPeers>0}])},null,2),we(be(n.c.ConnectedPeers)+" Peers ",1)])]),h("div",xT,[kT,h("small",ST,[h("samp",AT,be(n.c.PublicKey),1)]),h("div",$T,[h("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+n.c.PrivateKey},[we(be(this.configurationToggling?"Turning ":"")+" "+be(n.c.Status?"On":"Off")+" ",1),this.configurationToggling?(R(),B("span",CT)):ce("",!0)],8,ET),Le(h("input",{class:"form-check-input",style:{cursor:"pointer"},disabled:this.configurationToggling,type:"checkbox",role:"switch",id:"switch"+n.c.PrivateKey,onChange:t[0]||(t[0]=r=>this.toggle()),"onUpdate:modelValue":t[1]||(t[1]=r=>n.c.Status=r)},null,40,PT),[[Kn,n.c.Status]])])])])])}const MT=Ye(cT,[["render",TT]]),DT={name:"configurationList",components:{ConfigurationCard:MT},async setup(){return{wireguardConfigurationsStore:Nn()}},data(){return{configurationLoaded:!1}},async mounted(){await this.wireguardConfigurationsStore.getConfigurations(),this.configurationLoaded=!0,this.wireguardConfigurationsStore.ConfigurationListInterval=setInterval(()=>{this.wireguardConfigurationsStore.getConfigurations()},1e4)},beforeUnmount(){clearInterval(this.wireguardConfigurationsStore.ConfigurationListInterval)}},OT={class:"mt-5"},IT={class:"container"},RT={class:"d-flex mb-4"},LT=h("h3",{class:"text-body"},[h("i",{class:"bi bi-body-text me-2"}),we(" WireGuard Configurations")],-1),NT=h("i",{class:"bi bi-plus-circle-fill me-2"},null,-1),FT={key:0},BT={key:0,class:"text-muted"},VT={key:1,class:"d-flex gap-3 flex-column mb-3"};function HT(e,t,n,s,i,o){const a=je("RouterLink"),r=je("ConfigurationCard");return R(),B("div",OT,[h("div",IT,[h("div",RT,[LT,$e(a,{to:"/new_configuration",class:"btn btn-dark btn-brand rounded-3 px-3 py-2 shadow ms-auto rounded-3"},{default:Te(()=>[NT,we(" Configuration ")]),_:1})]),$e(Bt,{name:"fade",mode:"out-in"},{default:Te(()=>[this.configurationLoaded?(R(),B("div",FT,[this.wireguardConfigurationsStore.Configurations.length===0?(R(),B("p",BT,` You don't have any WireGuard configurations yet. Please check the configuration folder or change it in "Settings". By default the folder is "/etc/wireguard". `)):(R(),B("div",VT,[(R(!0),B(Me,null,qe(this.wireguardConfigurationsStore.Configurations,l=>(R(),Ne(r,{key:l.Name,c:l},null,8,["c"]))),128))]))])):ce("",!0)]),_:1})])])}const jT=Ye(DT,[["render",HT]]);let Il;const WT=new Uint8Array(16);function zT(){if(!Il&&(Il=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Il))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Il(WT)}const nn=[];for(let e=0;e<256;++e)nn.push((e+256).toString(16).slice(1));function YT(e,t=0){return nn[e[t+0]]+nn[e[t+1]]+nn[e[t+2]]+nn[e[t+3]]+"-"+nn[e[t+4]]+nn[e[t+5]]+"-"+nn[e[t+6]]+nn[e[t+7]]+"-"+nn[e[t+8]]+nn[e[t+9]]+"-"+nn[e[t+10]]+nn[e[t+11]]+nn[e[t+12]]+nn[e[t+13]]+nn[e[t+14]]+nn[e[t+15]]}const UT=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),gg={randomUUID:UT};function ni(e,t,n){if(gg.randomUUID&&!t&&!e)return gg.randomUUID();e=e||{};const s=e.random||(e.rng||zT)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=s[i];return t}return YT(s)}const KT={props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const e=st(),t=`input_${ni()}`;return{store:e,uuid:t}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Peers[this.targetData]},methods:{async useValidation(){this.changed&&await dt("/api/updateDashboardConfigurationItem",{section:"Peers",key:this.targetData,value:this.value},e=>{e.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Peers[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=e.message),this.changed=!1,this.updating=!1})}}},qT={class:"form-group mb-2"},GT=["for"],JT=["id","disabled"],XT={class:"invalid-feedback"},QT={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"},ZT=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1),eM=["innerHTML"];function tM(e,t,n,s,i,o){return R(),B("div",qT,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,be(this.title),1)])],8,GT),Le(h("input",{type:"text",class:Pe(["form-control",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),id:this.uuid,"onUpdate:modelValue":t[0]||(t[0]=a=>this.value=a),onKeydown:t[1]||(t[1]=a=>this.changed=!0),onBlur:t[2]||(t[2]=a=>o.useValidation()),disabled:this.updating},null,42,JT),[[We,this.value]]),h("div",XT,be(this.invalidFeedback),1),n.warning?(R(),B("div",QT,[h("small",null,[ZT,h("span",{innerHTML:n.warningText},null,8,eM)])])):ce("",!0)])}const nM=Ye(KT,[["render",tM]]),sM=e=>{},iM={name:"accountSettingsInputUsername",props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const e=st(),t=`input_${ni()}`;return{store:e,uuid:t}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Account[this.targetData]},methods:{async useValidation(){this.changed&&(this.updating=!0,await dt("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},e=>{e.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=e.message),this.changed=!1,this.updating=!1}))}}},oM={class:"form-group mb-2"},aM=["for"],rM=["id","disabled"],lM={class:"invalid-feedback"},cM={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"},uM=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1),dM=["innerHTML"];function hM(e,t,n,s,i,o){return R(),B("div",oM,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,be(this.title),1)])],8,aM),Le(h("input",{type:"text",class:Pe(["form-control",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),id:this.uuid,"onUpdate:modelValue":t[0]||(t[0]=a=>this.value=a),onKeydown:t[1]||(t[1]=a=>this.changed=!0),onBlur:t[2]||(t[2]=a=>o.useValidation()),disabled:this.updating},null,42,rM),[[We,this.value]]),h("div",lM,be(this.invalidFeedback),1),n.warning?(R(),B("div",cM,[h("small",null,[uM,h("span",{innerHTML:n.warningText},null,8,dM)])])):ce("",!0)])}const fM=Ye(iM,[["render",hM]]),pM={name:"accountSettingsInputPassword",props:{targetData:String,warning:!1,warningText:""},setup(){const e=st(),t=`input_${ni()}`;return{store:e,uuid:t}},data(){return{value:{currentPassword:"",newPassword:"",repeatNewPassword:""},invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0}},methods:{async useValidation(){Object.values(this.value).find(e=>e.length===0)===void 0?this.value.newPassword===this.value.repeatNewPassword?await dt("/api/updateDashboardConfigurationItem",{section:"Account",key:this.targetData,value:this.value},e=>{e.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.isValid=!1,this.value={currentPassword:"",newPassword:"",repeatNewPassword:""}},5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=e.message)}):(this.showInvalidFeedback=!0,this.invalidFeedback="New passwords does not match"):(this.showInvalidFeedback=!0,this.invalidFeedback="Please fill in all required fields.")}}},mM={class:"d-flex flex-column"},gM={class:"row"},_M={class:"col-sm"},bM={class:"form-group mb-2"},vM=["for"],yM=h("strong",null,[h("small",null,"Current Password")],-1),wM=[yM],xM=["id"],kM={key:0,class:"invalid-feedback d-block"},SM={class:"col-sm"},AM={class:"form-group mb-2"},$M=["for"],EM=h("strong",null,[h("small",null,"New Password")],-1),CM=[EM],PM=["id"],TM={class:"col-sm"},MM={class:"form-group mb-2"},DM=["for"],OM=h("strong",null,[h("small",null,"Repeat New Password")],-1),IM=[OM],RM=["id"],LM=h("i",{class:"bi bi-save2-fill me-2"},null,-1);function NM(e,t,n,s,i,o){return R(),B("div",mM,[h("div",gM,[h("div",_M,[h("div",bM,[h("label",{for:"currentPassword_"+this.uuid,class:"text-muted mb-1"},wM,8,vM),Le(h("input",{type:"password",class:Pe(["form-control mb-2",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),"onUpdate:modelValue":t[0]||(t[0]=a=>this.value.currentPassword=a),id:"currentPassword_"+this.uuid},null,10,xM),[[We,this.value.currentPassword]]),i.showInvalidFeedback?(R(),B("div",kM,be(this.invalidFeedback),1)):ce("",!0)])]),h("div",SM,[h("div",AM,[h("label",{for:"newPassword_"+this.uuid,class:"text-muted mb-1"},CM,8,$M),Le(h("input",{type:"password",class:Pe(["form-control mb-2",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),"onUpdate:modelValue":t[1]||(t[1]=a=>this.value.newPassword=a),id:"newPassword_"+this.uuid},null,10,PM),[[We,this.value.newPassword]])])]),h("div",TM,[h("div",MM,[h("label",{for:"repeatNewPassword_"+this.uuid,class:"text-muted mb-1"},IM,8,DM),Le(h("input",{type:"password",class:Pe(["form-control mb-2",{"is-invalid":i.showInvalidFeedback,"is-valid":i.isValid}]),"onUpdate:modelValue":t[2]||(t[2]=a=>this.value.repeatNewPassword=a),id:"repeatNewPassword_"+this.uuid},null,10,RM),[[We,this.value.repeatNewPassword]])])])]),h("button",{class:"ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",onClick:t[3]||(t[3]=a=>this.useValidation())},[LM,we("Update Password ")])])}const FM=Ye(pM,[["render",NM]]),BM={name:"dashboardSettingsInputWireguardConfigurationPath",props:{targetData:String,title:String,warning:!1,warningText:""},setup(){const e=st(),t=`input_${ni()}`;return{store:e,uuid:t}},data(){return{value:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.value=this.store.Configuration.Server[this.targetData]},methods:{async useValidation(){this.changed&&await dt("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},e=>{e.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=e.message),this.changed=!1,this.updating=!1})}}},VM={class:"form-group mb-2"},HM=["for"],jM=["id","disabled"],WM={class:"invalid-feedback"},zM={key:0,class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block mt-1"},YM=h("i",{class:"bi bi-exclamation-triangle-fill me-2"},null,-1),UM=["innerHTML"];function KM(e,t,n,s,i,o){return R(),B("div",VM,[h("label",{for:this.uuid,class:"text-muted mb-1"},[h("strong",null,[h("small",null,be(this.title),1)])],8,HM),Le(h("input",{type:"text",class:Pe(["form-control",{"is-invalid":this.showInvalidFeedback,"is-valid":this.isValid}]),id:this.uuid,"onUpdate:modelValue":t[0]||(t[0]=a=>this.value=a),onKeydown:t[1]||(t[1]=a=>this.changed=!0),onBlur:t[2]||(t[2]=a=>this.useValidation()),disabled:this.updating},null,42,jM),[[We,this.value]]),h("div",WM,be(this.invalidFeedback),1),n.warning?(R(),B("div",zM,[h("small",null,[YM,h("span",{innerHTML:n.warningText},null,8,UM)])])):ce("",!0)])}const qM=Ye(BM,[["render",KM]]),GM={name:"dashboardTheme",setup(){return{dashboardConfigurationStore:st()}},methods:{async switchTheme(e){await dt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_theme",value:e},t=>{t.status&&(this.dashboardConfigurationStore.Configuration.Server.dashboard_theme=e)})}}},JM={class:"card mb-4 shadow rounded-3"},XM=h("p",{class:"card-header"},"Dashboard Theme",-1),QM={class:"card-body d-flex gap-2"},ZM=h("i",{class:"bi bi-sun-fill"},null,-1),eD=h("i",{class:"bi bi-moon-fill"},null,-1);function tD(e,t,n,s,i,o){return R(),B("div",JM,[XM,h("div",QM,[h("button",{class:Pe(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="light"}]),onClick:t[0]||(t[0]=a=>this.switchTheme("light"))},[ZM,we(" Light ")],2),h("button",{class:Pe(["btn bg-primary-subtle text-primary-emphasis flex-grow-1",{active:this.dashboardConfigurationStore.Configuration.Server.dashboard_theme==="dark"}]),onClick:t[1]||(t[1]=a=>this.switchTheme("dark"))},[eD,we(" Dark ")],2)])])}const nD=Ye(GM,[["render",tD]]),sD={name:"dashboardSettingsInputIPAddressAndPort",props:{},setup(){const e=st(),t=`input_${ni()}`;return{store:e,uuid:t}},data(){return{app_ip:"",app_port:"",invalidFeedback:"",showInvalidFeedback:!1,isValid:!1,timeout:void 0,changed:!1,updating:!1}},mounted(){this.app_ip=this.store.Configuration.Server.app_ip,this.app_port=this.store.Configuration.Server.app_port},methods:{async useValidation(){this.changed&&await dt("/api/updateDashboardConfigurationItem",{section:"Server",key:this.targetData,value:this.value},e=>{e.status?(this.isValid=!0,this.showInvalidFeedback=!1,this.store.Configuration.Account[this.targetData]=this.value,clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.isValid=!1,5e3)):(this.isValid=!1,this.showInvalidFeedback=!0,this.invalidFeedback=e.message)})}}},iD={class:"invalid-feedback d-block mt-0"},oD={class:"row"},aD={class:"form-group mb-2 col-sm"},rD=["for"],lD=h("strong",null,[h("small",null,"Dashboard IP Address")],-1),cD=[lD],uD=["id"],dD=h("div",{class:"px-2 py-1 text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2 d-inline-block"},[h("small",null,[h("i",{class:"bi bi-exclamation-triangle-fill me-2"}),h("code",null,"0.0.0.0"),we(" means it can be access by anyone with your server IP Address.")])],-1),hD={class:"form-group col-sm"},fD=["for"],pD=h("strong",null,[h("small",null,"Dashboard Port")],-1),mD=[pD],gD=["id"],_D=h("button",{class:"btn btn-success btn-sm fw-bold rounded-3"},[h("i",{class:"bi bi-floppy-fill me-2"}),we("Update Dashboard Settings & Restart ")],-1);function bD(e,t,n,s,i,o){return R(),B("div",null,[h("div",iD,be(this.invalidFeedback),1),h("div",oD,[h("div",aD,[h("label",{for:"app_ip_"+this.uuid,class:"text-muted mb-1"},cD,8,rD),Le(h("input",{type:"text",class:"form-control mb-2",id:"app_ip_"+this.uuid,"onUpdate:modelValue":t[0]||(t[0]=a=>this.app_ip=a)},null,8,uD),[[We,this.app_ip]]),dD]),h("div",hD,[h("label",{for:"app_port_"+this.uuid,class:"text-muted mb-1"},mD,8,fD),Le(h("input",{type:"text",class:"form-control mb-2",id:"app_port_"+this.uuid,"onUpdate:modelValue":t[1]||(t[1]=a=>this.app_port=a)},null,8,gD),[[We,this.app_port]])])]),_D])}const vD=Ye(sD,[["render",bD]]);var Ay={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(hb,function(){var n=1e3,s=6e4,i=36e5,o="millisecond",a="second",r="minute",l="hour",c="day",u="week",d="month",f="quarter",p="year",g="date",_="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Y){var L=["th","st","nd","rd"],O=Y%100;return"["+Y+(L[(O-20)%10]||L[O]||L[0])+"]"}},$=function(Y,L,O){var V=String(Y);return!V||V.length>=L?Y:""+Array(L+1-V.length).join(O)+Y},M={s:$,z:function(Y){var L=-Y.utcOffset(),O=Math.abs(L),V=Math.floor(O/60),Q=O%60;return(L<=0?"+":"-")+$(V,2,"0")+":"+$(Q,2,"0")},m:function Y(L,O){if(L.date()1)return Y(le[0])}else{var ye=L.name;y[ye]=L,Q=ye}return!V&&Q&&(k=Q),Q||!V&&k},C=function(Y,L){if(E(Y))return Y.clone();var O=typeof L=="object"?L:{};return O.date=Y,O.args=arguments,new G(O)},F=M;F.l=P,F.i=E,F.w=function(Y,L){return C(Y,{locale:L.$L,utc:L.$u,x:L.$x,$offset:L.$offset})};var G=function(){function Y(O){this.$L=P(O.locale,null,!0),this.parse(O),this.$x=this.$x||O.x||{},this[x]=!0}var L=Y.prototype;return L.parse=function(O){this.$d=function(V){var Q=V.date,Z=V.utc;if(Q===null)return new Date(NaN);if(F.u(Q))return new Date;if(Q instanceof Date)return new Date(Q);if(typeof Q=="string"&&!/Z$/i.test(Q)){var le=Q.match(v);if(le){var ye=le[2]-1||0,U=(le[7]||"0").substring(0,3);return Z?new Date(Date.UTC(le[1],ye,le[3]||1,le[4]||0,le[5]||0,le[6]||0,U)):new Date(le[1],ye,le[3]||1,le[4]||0,le[5]||0,le[6]||0,U)}}return new Date(Q)}(O),this.init()},L.init=function(){var O=this.$d;this.$y=O.getFullYear(),this.$M=O.getMonth(),this.$D=O.getDate(),this.$W=O.getDay(),this.$H=O.getHours(),this.$m=O.getMinutes(),this.$s=O.getSeconds(),this.$ms=O.getMilliseconds()},L.$utils=function(){return F},L.isValid=function(){return this.$d.toString()!==_},L.isSame=function(O,V){var Q=C(O);return this.startOf(V)<=Q&&Q<=this.endOf(V)},L.isAfter=function(O,V){return C(O)=o?i:(n.setFullYear(i.getFullYear(),i.getMonth(),s),n)}function $y(e,t){const{years:n=0,months:s=0,weeks:i=0,days:o=0,hours:a=0,minutes:r=0,seconds:l=0}=t,c=Fe(e),u=s||n?cs(c,s+n*12):c,d=o||i?is(u,o+i*7):u,f=r+a*60,g=(l+f*60)*1e3;return at(e,d.getTime()+g)}function wD(e,t){const n=+Fe(e);return at(e,n+t)}const Ey=6048e5,xD=864e5,kD=6e4,Cy=36e5,SD=1e3;function AD(e,t){return wD(e,t*Cy)}let $D={};function Io(){return $D}function hs(e,t){var r,l,c,u;const n=Io(),s=(t==null?void 0:t.weekStartsOn)??((l=(r=t==null?void 0:t.locale)==null?void 0:r.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((u=(c=n.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,i=Fe(e),o=i.getDay(),a=(o=i.getTime()?n+1:t.getTime()>=a.getTime()?n:n-1}function _g(e){const t=Fe(e);return t.setHours(0,0,0,0),t}function Cc(e){const t=Fe(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Ty(e,t){const n=_g(e),s=_g(t),i=+n-Cc(n),o=+s-Cc(s);return Math.round((i-o)/xD)}function ED(e){const t=Py(e),n=at(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),wa(n)}function CD(e,t){const n=t*3;return cs(e,n)}function yf(e,t){return cs(e,t*12)}function bg(e,t){const n=Fe(e),s=Fe(t),i=n.getTime()-s.getTime();return i<0?-1:i>0?1:i}function My(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function wr(e){if(!My(e)&&typeof e!="number")return!1;const t=Fe(e);return!isNaN(Number(t))}function vg(e){const t=Fe(e);return Math.trunc(t.getMonth()/3)+1}function PD(e,t){const n=Fe(e),s=Fe(t);return n.getFullYear()-s.getFullYear()}function TD(e,t){const n=Fe(e),s=Fe(t),i=bg(n,s),o=Math.abs(PD(n,s));n.setFullYear(1584),s.setFullYear(1584);const a=bg(n,s)===-i,r=i*(o-+a);return r===0?0:r}function Dy(e,t){const n=Fe(e.start),s=Fe(e.end);let i=+n>+s;const o=i?+n:+s,a=i?s:n;a.setHours(0,0,0,0);let r=(t==null?void 0:t.step)??1;if(!r)return[];r<0&&(r=-r,i=!i);const l=[];for(;+a<=o;)l.push(Fe(a)),a.setDate(a.getDate()+r),a.setHours(0,0,0,0);return i?l.reverse():l}function go(e){const t=Fe(e),n=t.getMonth(),s=n-n%3;return t.setMonth(s,1),t.setHours(0,0,0,0),t}function MD(e,t){const n=Fe(e.start),s=Fe(e.end);let i=+n>+s;const o=i?+go(n):+go(s);let a=go(i?s:n),r=(t==null?void 0:t.step)??1;if(!r)return[];r<0&&(r=-r,i=!i);const l=[];for(;+a<=o;)l.push(Fe(a)),a=CD(a,r);return i?l.reverse():l}function DD(e){const t=Fe(e);return t.setDate(1),t.setHours(0,0,0,0),t}function Oy(e){const t=Fe(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}function Vr(e){const t=Fe(e),n=at(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Iy(e,t){var r,l,c,u;const n=Io(),s=(t==null?void 0:t.weekStartsOn)??((l=(r=t==null?void 0:t.locale)==null?void 0:r.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((u=(c=n.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,i=Fe(e),o=i.getDay(),a=(o{let s;const i=OD[e];return typeof i=="string"?s=i:t===1?s=i.one:s=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+s:s+" ago":s};function Zu(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const RD={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},LD={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ND={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},FD={date:Zu({formats:RD,defaultWidth:"full"}),time:Zu({formats:LD,defaultWidth:"full"}),dateTime:Zu({formats:ND,defaultWidth:"full"})},BD={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},VD=(e,t,n,s)=>BD[e];function Ga(e){return(t,n)=>{const s=n!=null&&n.context?String(n.context):"standalone";let i;if(s==="formatting"&&e.formattingValues){const a=e.defaultFormattingWidth||e.defaultWidth,r=n!=null&&n.width?String(n.width):a;i=e.formattingValues[r]||e.formattingValues[a]}else{const a=e.defaultWidth,r=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[r]||e.values[a]}const o=e.argumentCallback?e.argumentCallback(t):t;return i[o]}}const HD={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},jD={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},WD={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"]},zD={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"]},YD={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"}},UD={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"}},KD=(e,t)=>{const n=Number(e),s=n%100;if(s>20||s<10)switch(s%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},qD={ordinalNumber:KD,era:Ga({values:HD,defaultWidth:"wide"}),quarter:Ga({values:jD,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ga({values:WD,defaultWidth:"wide"}),day:Ga({values:zD,defaultWidth:"wide"}),dayPeriod:Ga({values:YD,defaultWidth:"wide",formattingValues:UD,defaultFormattingWidth:"wide"})};function Ja(e){return(t,n={})=>{const s=n.width,i=s&&e.matchPatterns[s]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;const a=o[0],r=s&&e.parsePatterns[s]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(r)?JD(r,d=>d.test(a)):GD(r,d=>d.test(a));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=t.slice(a.length);return{value:c,rest:u}}}function GD(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function JD(e,t){for(let n=0;n{const s=t.match(e.matchPattern);if(!s)return null;const i=s[0],o=t.match(e.parsePattern);if(!o)return null;let a=e.valueCallback?e.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;const r=t.slice(i.length);return{value:a,rest:r}}}const QD=/^(\d+)(th|st|nd|rd)?/i,ZD=/\d+/i,e2={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},t2={any:[/^b/i,/^(a|c)/i]},n2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},s2={any:[/1/i,/2/i,/3/i,/4/i]},i2={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},o2={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]},a2={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},r2={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]},l2={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},c2={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}},u2={ordinalNumber:XD({matchPattern:QD,parsePattern:ZD,valueCallback:e=>parseInt(e,10)}),era:Ja({matchPatterns:e2,defaultMatchWidth:"wide",parsePatterns:t2,defaultParseWidth:"any"}),quarter:Ja({matchPatterns:n2,defaultMatchWidth:"wide",parsePatterns:s2,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ja({matchPatterns:i2,defaultMatchWidth:"wide",parsePatterns:o2,defaultParseWidth:"any"}),day:Ja({matchPatterns:a2,defaultMatchWidth:"wide",parsePatterns:r2,defaultParseWidth:"any"}),dayPeriod:Ja({matchPatterns:l2,defaultMatchWidth:"any",parsePatterns:c2,defaultParseWidth:"any"})},Ry={code:"en-US",formatDistance:ID,formatLong:FD,formatRelative:VD,localize:qD,match:u2,options:{weekStartsOn:0,firstWeekContainsDate:1}};function d2(e){const t=Fe(e);return Ty(t,Vr(t))+1}function wf(e){const t=Fe(e),n=+wa(t)-+ED(t);return Math.round(n/Ey)+1}function xf(e,t){var u,d,f,p;const n=Fe(e),s=n.getFullYear(),i=Io(),o=(t==null?void 0:t.firstWeekContainsDate)??((d=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??i.firstWeekContainsDate??((p=(f=i.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)??1,a=at(e,0);a.setFullYear(s+1,0,o),a.setHours(0,0,0,0);const r=hs(a,t),l=at(e,0);l.setFullYear(s,0,o),l.setHours(0,0,0,0);const c=hs(l,t);return n.getTime()>=r.getTime()?s+1:n.getTime()>=c.getTime()?s:s-1}function h2(e,t){var r,l,c,u;const n=Io(),s=(t==null?void 0:t.firstWeekContainsDate)??((l=(r=t==null?void 0:t.locale)==null?void 0:r.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(c=n.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??1,i=xf(e,t),o=at(e,0);return o.setFullYear(i,0,s),o.setHours(0,0,0,0),hs(o,t)}function kf(e,t){const n=Fe(e),s=+hs(n,t)-+h2(n,t);return Math.round(s/Ey)+1}function lt(e,t){const n=e<0?"-":"",s=Math.abs(e).toString().padStart(t,"0");return n+s}const ui={y(e,t){const n=e.getFullYear(),s=n>0?n:1-n;return lt(t==="yy"?s%100:s,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):lt(n+1,2)},d(e,t){return lt(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return lt(e.getHours()%12||12,t.length)},H(e,t){return lt(e.getHours(),t.length)},m(e,t){return lt(e.getMinutes(),t.length)},s(e,t){return lt(e.getSeconds(),t.length)},S(e,t){const n=t.length,s=e.getMilliseconds(),i=Math.trunc(s*Math.pow(10,n-3));return lt(i,t.length)}},qo={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wg={G:function(e,t,n){const s=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(s,{width:"abbreviated"});case"GGGGG":return n.era(s,{width:"narrow"});case"GGGG":default:return n.era(s,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const s=e.getFullYear(),i=s>0?s:1-s;return n.ordinalNumber(i,{unit:"year"})}return ui.y(e,t)},Y:function(e,t,n,s){const i=xf(e,s),o=i>0?i:1-i;if(t==="YY"){const a=o%100;return lt(a,2)}return t==="Yo"?n.ordinalNumber(o,{unit:"year"}):lt(o,t.length)},R:function(e,t){const n=Py(e);return lt(n,t.length)},u:function(e,t){const n=e.getFullYear();return lt(n,t.length)},Q:function(e,t,n){const s=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(s);case"QQ":return lt(s,2);case"Qo":return n.ordinalNumber(s,{unit:"quarter"});case"QQQ":return n.quarter(s,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(s,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(s,{width:"wide",context:"formatting"})}},q:function(e,t,n){const s=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(s);case"qq":return lt(s,2);case"qo":return n.ordinalNumber(s,{unit:"quarter"});case"qqq":return n.quarter(s,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(s,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(s,{width:"wide",context:"standalone"})}},M:function(e,t,n){const s=e.getMonth();switch(t){case"M":case"MM":return ui.M(e,t);case"Mo":return n.ordinalNumber(s+1,{unit:"month"});case"MMM":return n.month(s,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(s,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(s,{width:"wide",context:"formatting"})}},L:function(e,t,n){const s=e.getMonth();switch(t){case"L":return String(s+1);case"LL":return lt(s+1,2);case"Lo":return n.ordinalNumber(s+1,{unit:"month"});case"LLL":return n.month(s,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(s,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(s,{width:"wide",context:"standalone"})}},w:function(e,t,n,s){const i=kf(e,s);return t==="wo"?n.ordinalNumber(i,{unit:"week"}):lt(i,t.length)},I:function(e,t,n){const s=wf(e);return t==="Io"?n.ordinalNumber(s,{unit:"week"}):lt(s,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):ui.d(e,t)},D:function(e,t,n){const s=d2(e);return t==="Do"?n.ordinalNumber(s,{unit:"dayOfYear"}):lt(s,t.length)},E:function(e,t,n){const s=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(s,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(s,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(s,{width:"short",context:"formatting"});case"EEEE":default:return n.day(s,{width:"wide",context:"formatting"})}},e:function(e,t,n,s){const i=e.getDay(),o=(i-s.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return lt(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,s){const i=e.getDay(),o=(i-s.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return lt(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const s=e.getDay(),i=s===0?7:s;switch(t){case"i":return String(i);case"ii":return lt(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(s,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(s,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(s,{width:"short",context:"formatting"});case"iiii":default:return n.day(s,{width:"wide",context:"formatting"})}},a:function(e,t,n){const i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){const s=e.getHours();let i;switch(s===12?i=qo.noon:s===0?i=qo.midnight:i=s/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const s=e.getHours();let i;switch(s>=17?i=qo.evening:s>=12?i=qo.afternoon:s>=4?i=qo.morning:i=qo.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let s=e.getHours()%12;return s===0&&(s=12),n.ordinalNumber(s,{unit:"hour"})}return ui.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):ui.H(e,t)},K:function(e,t,n){const s=e.getHours()%12;return t==="Ko"?n.ordinalNumber(s,{unit:"hour"}):lt(s,t.length)},k:function(e,t,n){let s=e.getHours();return s===0&&(s=24),t==="ko"?n.ordinalNumber(s,{unit:"hour"}):lt(s,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):ui.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):ui.s(e,t)},S:function(e,t){return ui.S(e,t)},X:function(e,t,n){const s=e.getTimezoneOffset();if(s===0)return"Z";switch(t){case"X":return kg(s);case"XXXX":case"XX":return co(s);case"XXXXX":case"XXX":default:return co(s,":")}},x:function(e,t,n){const s=e.getTimezoneOffset();switch(t){case"x":return kg(s);case"xxxx":case"xx":return co(s);case"xxxxx":case"xxx":default:return co(s,":")}},O:function(e,t,n){const s=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+xg(s,":");case"OOOO":default:return"GMT"+co(s,":")}},z:function(e,t,n){const s=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+xg(s,":");case"zzzz":default:return"GMT"+co(s,":")}},t:function(e,t,n){const s=Math.trunc(e.getTime()/1e3);return lt(s,t.length)},T:function(e,t,n){const s=e.getTime();return lt(s,t.length)}};function xg(e,t=""){const n=e>0?"-":"+",s=Math.abs(e),i=Math.trunc(s/60),o=s%60;return o===0?n+String(i):n+String(i)+t+lt(o,2)}function kg(e,t){return e%60===0?(e>0?"-":"+")+lt(Math.abs(e)/60,2):co(e,t)}function co(e,t=""){const n=e>0?"-":"+",s=Math.abs(e),i=lt(Math.trunc(s/60),2),o=lt(s%60,2);return n+i+t+o}const Sg=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Ly=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},f2=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],s=n[1],i=n[2];if(!i)return Sg(e,t);let o;switch(s){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",Sg(s,t)).replace("{{time}}",Ly(i,t))},Qd={p:Ly,P:f2},p2=/^D+$/,m2=/^Y+$/,g2=["D","DD","YY","YYYY"];function Ny(e){return p2.test(e)}function Fy(e){return m2.test(e)}function Zd(e,t,n){const s=_2(e,t,n);if(console.warn(s),g2.includes(e))throw new RangeError(s)}function _2(e,t,n){const s=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${s} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const b2=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,v2=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,y2=/^'([^]*?)'?$/,w2=/''/g,x2=/[a-zA-Z]/;function Es(e,t,n){var u,d,f,p,g,_,v,w;const s=Io(),i=(n==null?void 0:n.locale)??s.locale??Ry,o=(n==null?void 0:n.firstWeekContainsDate)??((d=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??s.firstWeekContainsDate??((p=(f=s.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)??1,a=(n==null?void 0:n.weekStartsOn)??((_=(g=n==null?void 0:n.locale)==null?void 0:g.options)==null?void 0:_.weekStartsOn)??s.weekStartsOn??((w=(v=s.locale)==null?void 0:v.options)==null?void 0:w.weekStartsOn)??0,r=Fe(e);if(!wr(r))throw new RangeError("Invalid time value");let l=t.match(v2).map(A=>{const $=A[0];if($==="p"||$==="P"){const M=Qd[$];return M(A,i.formatLong)}return A}).join("").match(b2).map(A=>{if(A==="''")return{isToken:!1,value:"'"};const $=A[0];if($==="'")return{isToken:!1,value:k2(A)};if(wg[$])return{isToken:!0,value:A};if($.match(x2))throw new RangeError("Format string contains an unescaped latin alphabet character `"+$+"`");return{isToken:!1,value:A}});i.localize.preprocessor&&(l=i.localize.preprocessor(r,l));const c={firstWeekContainsDate:o,weekStartsOn:a,locale:i};return l.map(A=>{if(!A.isToken)return A.value;const $=A.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Fy($)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Ny($))&&Zd($,t,String(e));const M=wg[$[0]];return M(r,$,i.localize,c)}).join("")}function k2(e){const t=e.match(y2);return t?t[1].replace(w2,"'"):e}function S2(e){return Fe(e).getDay()}function A2(e){const t=Fe(e),n=t.getFullYear(),s=t.getMonth(),i=at(e,0);return i.setFullYear(n,s+1,0),i.setHours(0,0,0,0),i.getDate()}function $2(){return Object.assign({},Io())}function Zs(e){return Fe(e).getHours()}function E2(e){let n=Fe(e).getDay();return n===0&&(n=7),n}function Ri(e){return Fe(e).getMinutes()}function Qe(e){return Fe(e).getMonth()}function xa(e){return Fe(e).getSeconds()}function ze(e){return Fe(e).getFullYear()}function ka(e,t){const n=Fe(e),s=Fe(t);return n.getTime()>s.getTime()}function Hr(e,t){const n=Fe(e),s=Fe(t);return+n<+s}function na(e,t){const n=Fe(e),s=Fe(t);return+n==+s}function C2(e,t){const n=t instanceof Date?at(t,0):new t(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}const P2=10;class By{constructor(){re(this,"subPriority",0)}validate(t,n){return!0}}class T2 extends By{constructor(t,n,s,i,o){super(),this.value=t,this.validateValue=n,this.setValue=s,this.priority=i,o&&(this.subPriority=o)}validate(t,n){return this.validateValue(t,this.value,n)}set(t,n,s){return this.setValue(t,n,this.value,s)}}class M2 extends By{constructor(){super(...arguments);re(this,"priority",P2);re(this,"subPriority",-1)}set(n,s){return s.timestampIsSet?n:at(n,C2(n,Date))}}class rt{run(t,n,s,i){const o=this.parse(t,n,s,i);return o?{setter:new T2(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(t,n,s){return!0}}class D2 extends rt{constructor(){super(...arguments);re(this,"priority",140);re(this,"incompatibleTokens",["R","u","t","T"])}parse(n,s,i){switch(s){case"G":case"GG":case"GGG":return i.era(n,{width:"abbreviated"})||i.era(n,{width:"narrow"});case"GGGGG":return i.era(n,{width:"narrow"});case"GGGG":default:return i.era(n,{width:"wide"})||i.era(n,{width:"abbreviated"})||i.era(n,{width:"narrow"})}}set(n,s,i){return s.era=i,n.setFullYear(i,0,1),n.setHours(0,0,0,0),n}}const Ot={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},xs={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function It(e,t){return e&&{value:t(e.value),rest:e.rest}}function kt(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function ks(e,t){const n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};const s=n[1]==="+"?1:-1,i=n[2]?parseInt(n[2],10):0,o=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:s*(i*Cy+o*kD+a*SD),rest:t.slice(n[0].length)}}function Vy(e){return kt(Ot.anyDigitsSigned,e)}function Pt(e,t){switch(e){case 1:return kt(Ot.singleDigit,t);case 2:return kt(Ot.twoDigits,t);case 3:return kt(Ot.threeDigits,t);case 4:return kt(Ot.fourDigits,t);default:return kt(new RegExp("^\\d{1,"+e+"}"),t)}}function Pc(e,t){switch(e){case 1:return kt(Ot.singleDigitSigned,t);case 2:return kt(Ot.twoDigitsSigned,t);case 3:return kt(Ot.threeDigitsSigned,t);case 4:return kt(Ot.fourDigitsSigned,t);default:return kt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Sf(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Hy(e,t){const n=t>0,s=n?t:1-t;let i;if(s<=50)i=e||100;else{const o=s+50,a=Math.trunc(o/100)*100,r=e>=o%100;i=e+a-(r?100:0)}return n?i:1-i}function jy(e){return e%400===0||e%4===0&&e%100!==0}class O2 extends rt{constructor(){super(...arguments);re(this,"priority",130);re(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,s,i){const o=a=>({year:a,isTwoDigitYear:s==="yy"});switch(s){case"y":return It(Pt(4,n),o);case"yo":return It(i.ordinalNumber(n,{unit:"year"}),o);default:return It(Pt(s.length,n),o)}}validate(n,s){return s.isTwoDigitYear||s.year>0}set(n,s,i){const o=n.getFullYear();if(i.isTwoDigitYear){const r=Hy(i.year,o);return n.setFullYear(r,0,1),n.setHours(0,0,0,0),n}const a=!("era"in s)||s.era===1?i.year:1-i.year;return n.setFullYear(a,0,1),n.setHours(0,0,0,0),n}}class I2 extends rt{constructor(){super(...arguments);re(this,"priority",130);re(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,s,i){const o=a=>({year:a,isTwoDigitYear:s==="YY"});switch(s){case"Y":return It(Pt(4,n),o);case"Yo":return It(i.ordinalNumber(n,{unit:"year"}),o);default:return It(Pt(s.length,n),o)}}validate(n,s){return s.isTwoDigitYear||s.year>0}set(n,s,i,o){const a=xf(n,o);if(i.isTwoDigitYear){const l=Hy(i.year,a);return n.setFullYear(l,0,o.firstWeekContainsDate),n.setHours(0,0,0,0),hs(n,o)}const r=!("era"in s)||s.era===1?i.year:1-i.year;return n.setFullYear(r,0,o.firstWeekContainsDate),n.setHours(0,0,0,0),hs(n,o)}}class R2 extends rt{constructor(){super(...arguments);re(this,"priority",130);re(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,s){return Pc(s==="R"?4:s.length,n)}set(n,s,i){const o=at(n,0);return o.setFullYear(i,0,4),o.setHours(0,0,0,0),wa(o)}}class L2 extends rt{constructor(){super(...arguments);re(this,"priority",130);re(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,s){return Pc(s==="u"?4:s.length,n)}set(n,s,i){return n.setFullYear(i,0,1),n.setHours(0,0,0,0),n}}class N2 extends rt{constructor(){super(...arguments);re(this,"priority",120);re(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,s,i){switch(s){case"Q":case"QQ":return Pt(s.length,n);case"Qo":return i.ordinalNumber(n,{unit:"quarter"});case"QQQ":return i.quarter(n,{width:"abbreviated",context:"formatting"})||i.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(n,{width:"wide",context:"formatting"})||i.quarter(n,{width:"abbreviated",context:"formatting"})||i.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,s){return s>=1&&s<=4}set(n,s,i){return n.setMonth((i-1)*3,1),n.setHours(0,0,0,0),n}}class F2 extends rt{constructor(){super(...arguments);re(this,"priority",120);re(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,s,i){switch(s){case"q":case"qq":return Pt(s.length,n);case"qo":return i.ordinalNumber(n,{unit:"quarter"});case"qqq":return i.quarter(n,{width:"abbreviated",context:"standalone"})||i.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(n,{width:"wide",context:"standalone"})||i.quarter(n,{width:"abbreviated",context:"standalone"})||i.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,s){return s>=1&&s<=4}set(n,s,i){return n.setMonth((i-1)*3,1),n.setHours(0,0,0,0),n}}class B2 extends rt{constructor(){super(...arguments);re(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);re(this,"priority",110)}parse(n,s,i){const o=a=>a-1;switch(s){case"M":return It(kt(Ot.month,n),o);case"MM":return It(Pt(2,n),o);case"Mo":return It(i.ordinalNumber(n,{unit:"month"}),o);case"MMM":return i.month(n,{width:"abbreviated",context:"formatting"})||i.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(n,{width:"wide",context:"formatting"})||i.month(n,{width:"abbreviated",context:"formatting"})||i.month(n,{width:"narrow",context:"formatting"})}}validate(n,s){return s>=0&&s<=11}set(n,s,i){return n.setMonth(i,1),n.setHours(0,0,0,0),n}}class V2 extends rt{constructor(){super(...arguments);re(this,"priority",110);re(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,s,i){const o=a=>a-1;switch(s){case"L":return It(kt(Ot.month,n),o);case"LL":return It(Pt(2,n),o);case"Lo":return It(i.ordinalNumber(n,{unit:"month"}),o);case"LLL":return i.month(n,{width:"abbreviated",context:"standalone"})||i.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(n,{width:"wide",context:"standalone"})||i.month(n,{width:"abbreviated",context:"standalone"})||i.month(n,{width:"narrow",context:"standalone"})}}validate(n,s){return s>=0&&s<=11}set(n,s,i){return n.setMonth(i,1),n.setHours(0,0,0,0),n}}function H2(e,t,n){const s=Fe(e),i=kf(s,n)-t;return s.setDate(s.getDate()-i*7),s}class j2 extends rt{constructor(){super(...arguments);re(this,"priority",100);re(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,s,i){switch(s){case"w":return kt(Ot.week,n);case"wo":return i.ordinalNumber(n,{unit:"week"});default:return Pt(s.length,n)}}validate(n,s){return s>=1&&s<=53}set(n,s,i,o){return hs(H2(n,i,o),o)}}function W2(e,t){const n=Fe(e),s=wf(n)-t;return n.setDate(n.getDate()-s*7),n}class z2 extends rt{constructor(){super(...arguments);re(this,"priority",100);re(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,s,i){switch(s){case"I":return kt(Ot.week,n);case"Io":return i.ordinalNumber(n,{unit:"week"});default:return Pt(s.length,n)}}validate(n,s){return s>=1&&s<=53}set(n,s,i){return wa(W2(n,i))}}const Y2=[31,28,31,30,31,30,31,31,30,31,30,31],U2=[31,29,31,30,31,30,31,31,30,31,30,31];class K2 extends rt{constructor(){super(...arguments);re(this,"priority",90);re(this,"subPriority",1);re(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,s,i){switch(s){case"d":return kt(Ot.date,n);case"do":return i.ordinalNumber(n,{unit:"date"});default:return Pt(s.length,n)}}validate(n,s){const i=n.getFullYear(),o=jy(i),a=n.getMonth();return o?s>=1&&s<=U2[a]:s>=1&&s<=Y2[a]}set(n,s,i){return n.setDate(i),n.setHours(0,0,0,0),n}}class q2 extends rt{constructor(){super(...arguments);re(this,"priority",90);re(this,"subpriority",1);re(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,s,i){switch(s){case"D":case"DD":return kt(Ot.dayOfYear,n);case"Do":return i.ordinalNumber(n,{unit:"date"});default:return Pt(s.length,n)}}validate(n,s){const i=n.getFullYear();return jy(i)?s>=1&&s<=366:s>=1&&s<=365}set(n,s,i){return n.setMonth(0,i),n.setHours(0,0,0,0),n}}function Af(e,t,n){var d,f,p,g;const s=Io(),i=(n==null?void 0:n.weekStartsOn)??((f=(d=n==null?void 0:n.locale)==null?void 0:d.options)==null?void 0:f.weekStartsOn)??s.weekStartsOn??((g=(p=s.locale)==null?void 0:p.options)==null?void 0:g.weekStartsOn)??0,o=Fe(e),a=o.getDay(),l=(t%7+7)%7,c=7-i,u=t<0||t>6?t-(a+c)%7:(l+c)%7-(a+c)%7;return is(o,u)}class G2 extends rt{constructor(){super(...arguments);re(this,"priority",90);re(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,s,i){switch(s){case"E":case"EE":case"EEE":return i.day(n,{width:"abbreviated",context:"formatting"})||i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return i.day(n,{width:"wide",context:"formatting"})||i.day(n,{width:"abbreviated",context:"formatting"})||i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"})}}validate(n,s){return s>=0&&s<=6}set(n,s,i,o){return n=Af(n,i,o),n.setHours(0,0,0,0),n}}class J2 extends rt{constructor(){super(...arguments);re(this,"priority",90);re(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,s,i,o){const a=r=>{const l=Math.floor((r-1)/7)*7;return(r+o.weekStartsOn+6)%7+l};switch(s){case"e":case"ee":return It(Pt(s.length,n),a);case"eo":return It(i.ordinalNumber(n,{unit:"day"}),a);case"eee":return i.day(n,{width:"abbreviated",context:"formatting"})||i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"});case"eeeee":return i.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return i.day(n,{width:"wide",context:"formatting"})||i.day(n,{width:"abbreviated",context:"formatting"})||i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"})}}validate(n,s){return s>=0&&s<=6}set(n,s,i,o){return n=Af(n,i,o),n.setHours(0,0,0,0),n}}class X2 extends rt{constructor(){super(...arguments);re(this,"priority",90);re(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,s,i,o){const a=r=>{const l=Math.floor((r-1)/7)*7;return(r+o.weekStartsOn+6)%7+l};switch(s){case"c":case"cc":return It(Pt(s.length,n),a);case"co":return It(i.ordinalNumber(n,{unit:"day"}),a);case"ccc":return i.day(n,{width:"abbreviated",context:"standalone"})||i.day(n,{width:"short",context:"standalone"})||i.day(n,{width:"narrow",context:"standalone"});case"ccccc":return i.day(n,{width:"narrow",context:"standalone"});case"cccccc":return i.day(n,{width:"short",context:"standalone"})||i.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return i.day(n,{width:"wide",context:"standalone"})||i.day(n,{width:"abbreviated",context:"standalone"})||i.day(n,{width:"short",context:"standalone"})||i.day(n,{width:"narrow",context:"standalone"})}}validate(n,s){return s>=0&&s<=6}set(n,s,i,o){return n=Af(n,i,o),n.setHours(0,0,0,0),n}}function Q2(e,t){const n=Fe(e),s=E2(n),i=t-s;return is(n,i)}class Z2 extends rt{constructor(){super(...arguments);re(this,"priority",90);re(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,s,i){const o=a=>a===0?7:a;switch(s){case"i":case"ii":return Pt(s.length,n);case"io":return i.ordinalNumber(n,{unit:"day"});case"iii":return It(i.day(n,{width:"abbreviated",context:"formatting"})||i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"}),o);case"iiiii":return It(i.day(n,{width:"narrow",context:"formatting"}),o);case"iiiiii":return It(i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"}),o);case"iiii":default:return It(i.day(n,{width:"wide",context:"formatting"})||i.day(n,{width:"abbreviated",context:"formatting"})||i.day(n,{width:"short",context:"formatting"})||i.day(n,{width:"narrow",context:"formatting"}),o)}}validate(n,s){return s>=1&&s<=7}set(n,s,i){return n=Q2(n,i),n.setHours(0,0,0,0),n}}class eO extends rt{constructor(){super(...arguments);re(this,"priority",80);re(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,s,i){switch(s){case"a":case"aa":case"aaa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"})||i.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(n,{width:"wide",context:"formatting"})||i.dayPeriod(n,{width:"abbreviated",context:"formatting"})||i.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,s,i){return n.setHours(Sf(i),0,0,0),n}}class tO extends rt{constructor(){super(...arguments);re(this,"priority",80);re(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,s,i){switch(s){case"b":case"bb":case"bbb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"})||i.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(n,{width:"wide",context:"formatting"})||i.dayPeriod(n,{width:"abbreviated",context:"formatting"})||i.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,s,i){return n.setHours(Sf(i),0,0,0),n}}class nO extends rt{constructor(){super(...arguments);re(this,"priority",80);re(this,"incompatibleTokens",["a","b","t","T"])}parse(n,s,i){switch(s){case"B":case"BB":case"BBB":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"})||i.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(n,{width:"wide",context:"formatting"})||i.dayPeriod(n,{width:"abbreviated",context:"formatting"})||i.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,s,i){return n.setHours(Sf(i),0,0,0),n}}class sO extends rt{constructor(){super(...arguments);re(this,"priority",70);re(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,s,i){switch(s){case"h":return kt(Ot.hour12h,n);case"ho":return i.ordinalNumber(n,{unit:"hour"});default:return Pt(s.length,n)}}validate(n,s){return s>=1&&s<=12}set(n,s,i){const o=n.getHours()>=12;return o&&i<12?n.setHours(i+12,0,0,0):!o&&i===12?n.setHours(0,0,0,0):n.setHours(i,0,0,0),n}}class iO extends rt{constructor(){super(...arguments);re(this,"priority",70);re(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,s,i){switch(s){case"H":return kt(Ot.hour23h,n);case"Ho":return i.ordinalNumber(n,{unit:"hour"});default:return Pt(s.length,n)}}validate(n,s){return s>=0&&s<=23}set(n,s,i){return n.setHours(i,0,0,0),n}}class oO extends rt{constructor(){super(...arguments);re(this,"priority",70);re(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,s,i){switch(s){case"K":return kt(Ot.hour11h,n);case"Ko":return i.ordinalNumber(n,{unit:"hour"});default:return Pt(s.length,n)}}validate(n,s){return s>=0&&s<=11}set(n,s,i){return n.getHours()>=12&&i<12?n.setHours(i+12,0,0,0):n.setHours(i,0,0,0),n}}class aO extends rt{constructor(){super(...arguments);re(this,"priority",70);re(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,s,i){switch(s){case"k":return kt(Ot.hour24h,n);case"ko":return i.ordinalNumber(n,{unit:"hour"});default:return Pt(s.length,n)}}validate(n,s){return s>=1&&s<=24}set(n,s,i){const o=i<=24?i%24:i;return n.setHours(o,0,0,0),n}}class rO extends rt{constructor(){super(...arguments);re(this,"priority",60);re(this,"incompatibleTokens",["t","T"])}parse(n,s,i){switch(s){case"m":return kt(Ot.minute,n);case"mo":return i.ordinalNumber(n,{unit:"minute"});default:return Pt(s.length,n)}}validate(n,s){return s>=0&&s<=59}set(n,s,i){return n.setMinutes(i,0,0),n}}class lO extends rt{constructor(){super(...arguments);re(this,"priority",50);re(this,"incompatibleTokens",["t","T"])}parse(n,s,i){switch(s){case"s":return kt(Ot.second,n);case"so":return i.ordinalNumber(n,{unit:"second"});default:return Pt(s.length,n)}}validate(n,s){return s>=0&&s<=59}set(n,s,i){return n.setSeconds(i,0),n}}class cO extends rt{constructor(){super(...arguments);re(this,"priority",30);re(this,"incompatibleTokens",["t","T"])}parse(n,s){const i=o=>Math.trunc(o*Math.pow(10,-s.length+3));return It(Pt(s.length,n),i)}set(n,s,i){return n.setMilliseconds(i),n}}class uO extends rt{constructor(){super(...arguments);re(this,"priority",10);re(this,"incompatibleTokens",["t","T","x"])}parse(n,s){switch(s){case"X":return ks(xs.basicOptionalMinutes,n);case"XX":return ks(xs.basic,n);case"XXXX":return ks(xs.basicOptionalSeconds,n);case"XXXXX":return ks(xs.extendedOptionalSeconds,n);case"XXX":default:return ks(xs.extended,n)}}set(n,s,i){return s.timestampIsSet?n:at(n,n.getTime()-Cc(n)-i)}}class dO extends rt{constructor(){super(...arguments);re(this,"priority",10);re(this,"incompatibleTokens",["t","T","X"])}parse(n,s){switch(s){case"x":return ks(xs.basicOptionalMinutes,n);case"xx":return ks(xs.basic,n);case"xxxx":return ks(xs.basicOptionalSeconds,n);case"xxxxx":return ks(xs.extendedOptionalSeconds,n);case"xxx":default:return ks(xs.extended,n)}}set(n,s,i){return s.timestampIsSet?n:at(n,n.getTime()-Cc(n)-i)}}class hO extends rt{constructor(){super(...arguments);re(this,"priority",40);re(this,"incompatibleTokens","*")}parse(n){return Vy(n)}set(n,s,i){return[at(n,i*1e3),{timestampIsSet:!0}]}}class fO extends rt{constructor(){super(...arguments);re(this,"priority",20);re(this,"incompatibleTokens","*")}parse(n){return Vy(n)}set(n,s,i){return[at(n,i),{timestampIsSet:!0}]}}const pO={G:new D2,y:new O2,Y:new I2,R:new R2,u:new L2,Q:new N2,q:new F2,M:new B2,L:new V2,w:new j2,I:new z2,d:new K2,D:new q2,E:new G2,e:new J2,c:new X2,i:new Z2,a:new eO,b:new tO,B:new nO,h:new sO,H:new iO,K:new oO,k:new aO,m:new rO,s:new lO,S:new cO,X:new uO,x:new dO,t:new hO,T:new fO},mO=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,gO=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,_O=/^'([^]*?)'?$/,bO=/''/g,vO=/\S/,yO=/[a-zA-Z]/;function eh(e,t,n,s){var _,v,w,A,$,M,k,y;const i=$2(),o=(s==null?void 0:s.locale)??i.locale??Ry,a=(s==null?void 0:s.firstWeekContainsDate)??((v=(_=s==null?void 0:s.locale)==null?void 0:_.options)==null?void 0:v.firstWeekContainsDate)??i.firstWeekContainsDate??((A=(w=i.locale)==null?void 0:w.options)==null?void 0:A.firstWeekContainsDate)??1,r=(s==null?void 0:s.weekStartsOn)??((M=($=s==null?void 0:s.locale)==null?void 0:$.options)==null?void 0:M.weekStartsOn)??i.weekStartsOn??((y=(k=i.locale)==null?void 0:k.options)==null?void 0:y.weekStartsOn)??0;if(t==="")return e===""?Fe(n):at(n,NaN);const l={firstWeekContainsDate:a,weekStartsOn:r,locale:o},c=[new M2],u=t.match(gO).map(x=>{const E=x[0];if(E in Qd){const P=Qd[E];return P(x,o.formatLong)}return x}).join("").match(mO),d=[];for(let x of u){!(s!=null&&s.useAdditionalWeekYearTokens)&&Fy(x)&&Zd(x,t,e),!(s!=null&&s.useAdditionalDayOfYearTokens)&&Ny(x)&&Zd(x,t,e);const E=x[0],P=pO[E];if(P){const{incompatibleTokens:C}=P;if(Array.isArray(C)){const G=d.find(ae=>C.includes(ae.token)||ae.token===E);if(G)throw new RangeError(`The format string mustn't contain \`${G.fullToken}\` and \`${x}\` at the same time`)}else if(P.incompatibleTokens==="*"&&d.length>0)throw new RangeError(`The format string mustn't contain \`${x}\` and any other token at the same time`);d.push({token:E,fullToken:x});const F=P.run(e,x,o.match,l);if(!F)return at(n,NaN);c.push(F.setter),e=F.rest}else{if(E.match(yO))throw new RangeError("Format string contains an unescaped latin alphabet character `"+E+"`");if(x==="''"?x="'":E==="'"&&(x=wO(x)),e.indexOf(x)===0)e=e.slice(x.length);else return at(n,NaN)}}if(e.length>0&&vO.test(e))return at(n,NaN);const f=c.map(x=>x.priority).sort((x,E)=>E-x).filter((x,E,P)=>P.indexOf(x)===E).map(x=>c.filter(E=>E.priority===x).sort((E,P)=>P.subPriority-E.subPriority)).map(x=>x[0]);let p=Fe(n);if(isNaN(p.getTime()))return at(n,NaN);const g={};for(const x of f){if(!x.validate(p,l))return at(n,NaN);const E=x.set(p,g,l);Array.isArray(E)?(p=E[0],Object.assign(g,E[1])):p=E}return at(n,p)}function wO(e){return e.match(_O)[1].replace(bO,"'")}function Ag(e,t){const n=go(e),s=go(t);return+n==+s}function xO(e,t){return is(e,-t)}function Wy(e,t){const n=Fe(e),s=n.getFullYear(),i=n.getDate(),o=at(e,0);o.setFullYear(s,t,15),o.setHours(0,0,0,0);const a=A2(o);return n.setMonth(t,Math.min(i,a)),n}function ft(e,t){let n=Fe(e);return isNaN(+n)?at(e,NaN):(t.year!=null&&n.setFullYear(t.year),t.month!=null&&(n=Wy(n,t.month)),t.date!=null&&n.setDate(t.date),t.hours!=null&&n.setHours(t.hours),t.minutes!=null&&n.setMinutes(t.minutes),t.seconds!=null&&n.setSeconds(t.seconds),t.milliseconds!=null&&n.setMilliseconds(t.milliseconds),n)}function kO(e,t){const n=Fe(e);return n.setHours(t),n}function zy(e,t){const n=Fe(e);return n.setMilliseconds(t),n}function SO(e,t){const n=Fe(e);return n.setMinutes(t),n}function Yy(e,t){const n=Fe(e);return n.setSeconds(t),n}function Ss(e,t){const n=Fe(e);return isNaN(+n)?at(e,NaN):(n.setFullYear(t),n)}function Sa(e,t){return cs(e,-t)}function AO(e,t){const{years:n=0,months:s=0,weeks:i=0,days:o=0,hours:a=0,minutes:r=0,seconds:l=0}=t,c=Sa(e,s+n*12),u=xO(c,o+i*7),d=r+a*60,p=(l+d*60)*1e3;return at(e,u.getTime()-p)}function Uy(e,t){return yf(e,-t)}function Na(){const e=f$();return R(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...e},[h("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),h("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),h("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),h("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}Na.compatConfig={MODE:3};function Ky(){return R(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),h("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Ky.compatConfig={MODE:3};function $f(){return R(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}$f.compatConfig={MODE:3};function Ef(){return R(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}Ef.compatConfig={MODE:3};function Cf(){return R(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),h("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}Cf.compatConfig={MODE:3};function Pf(){return R(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Pf.compatConfig={MODE:3};function Tf(){return R(),B("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Tf.compatConfig={MODE:3};const An=(e,t)=>t?new Date(e.toLocaleString("en-US",{timeZone:t})):new Date(e),Mf=(e,t,n)=>th(e,t,n)||xe(),$O=(e,t,n)=>{const s=t.dateInTz?An(new Date(e),t.dateInTz):xe(e);return n?vn(s,!0):s},th=(e,t,n)=>{if(!e)return null;const s=n?vn(xe(e),!0):xe(e);return t?t.exactMatch?$O(e,t,n):An(s,t.timezone):s},EO=e=>{if(!e)return 0;const t=new Date,n=new Date(t.toLocaleString("en-US",{timeZone:"UTC"})),s=new Date(t.toLocaleString("en-US",{timeZone:e})),i=s.getTimezoneOffset()/60;return(+n-+s)/(1e3*60*60)-i};var ts=(e=>(e.month="month",e.year="year",e))(ts||{}),uo=(e=>(e.top="top",e.bottom="bottom",e))(uo||{}),wo=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(wo||{}),rn=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(rn||{});const CO=["timestamp","date","iso"];var pn=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(pn||{}),_t=(e=>(e.arrowUp="ArrowUp",e.arrowDown="ArrowDown",e.arrowLeft="ArrowLeft",e.arrowRight="ArrowRight",e.enter="Enter",e.space=" ",e.esc="Escape",e.tab="Tab",e.home="Home",e.end="End",e.pageUp="PageUp",e.pageDown="PageDown",e))(_t||{});function $g(e){return t=>new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${t}T00:00:00+00:00`)).slice(0,2)}function PO(e){return t=>Es(An(new Date(`2017-01-0${t}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const TO=(e,t,n)=>{const s=[1,2,3,4,5,6,7];let i;if(e!==null)try{i=s.map(PO(e))}catch{i=s.map($g(t))}else i=s.map($g(t));const o=i.slice(0,n),a=i.slice(n+1,i.length);return[i[n]].concat(...a).concat(...o)},Df=(e,t,n)=>{const s=[];for(let i=+e[0];i<=+e[1];i++)s.push({value:+i,text:Xy(i,t)});return n?s.reverse():s},qy=(e,t,n)=>{const s=[1,2,3,4,5,6,7,8,9,10,11,12].map(o=>{const a=o<10?`0${o}`:o;return new Date(`2017-${a}-01T00:00:00+00:00`)});if(e!==null)try{const o=n==="long"?"LLLL":"LLL";return s.map((a,r)=>{const l=Es(An(a,"UTC"),o,{locale:e});return{text:l.charAt(0).toUpperCase()+l.substring(1),value:r}})}catch{}const i=new Intl.DateTimeFormat(t,{month:n,timeZone:"UTC"});return s.map((o,a)=>{const r=i.format(o);return{text:r.charAt(0).toUpperCase()+r.substring(1),value:a}})},MO=e=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][e],Ht=e=>{const t=q(e);return t!=null&&t.$el?t==null?void 0:t.$el:t},DO=e=>({type:"dot",...e??{}}),Gy=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,Of={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},Gt=e=>e,Eg=e=>e===0?e:!e||isNaN(+e)?null:+e,Cg=e=>e===null,Jy=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},OO=e=>{const t=[],n=s=>s.filter(i=>i);for(let s=0;s{const s=n!=null,i=t!=null;if(!s&&!i)return!1;const o=+n,a=+t;return s&&i?+e>o||+eo:i?+eOO(e).map(n=>n.map(s=>{const{active:i,disabled:o,isBetween:a,highlighted:r}=t(s);return{...s,active:i,disabled:o,className:{dp__overlay_cell_active:i,dp__overlay_cell:!i,dp__overlay_cell_disabled:o,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:o&&i,dp__cell_in_between:a,"dp--highlighted":r}}})),Pi=(e,t,n=!1)=>{e&&t.allowStopPropagation&&(n&&e.stopImmediatePropagation(),e.stopPropagation())},IO=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function RO(e,t){let n=[...document.querySelectorAll(IO())];n=n.filter(i=>!e.contains(i)||i.hasAttribute("data-datepicker-instance"));const s=n.indexOf(e);if(s>=0&&(t?s-1>=0:s+1<=n.length))return n[s+(t?-1:1)]}const nh=(e,t)=>e==null?void 0:e.querySelector(`[data-dp-element="${t}"]`),Xy=(e,t)=>new Intl.NumberFormat(t,{useGrouping:!1,style:"decimal"}).format(e),If=e=>Es(e,"dd-MM-yyyy"),ed=e=>Array.isArray(e),Tc=(e,t)=>t.get(If(e)),LO=(e,t)=>e?t?t instanceof Map?!!Tc(e,t):t(xe(e)):!1:!0,gn=(e,t,n=!1,s)=>{if(e.key===_t.enter||e.key===_t.space)return n&&e.preventDefault(),t();if(s)return s(e)},NO=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(e=>navigator.userAgent.includes(e))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,Pg=(e,t,n,s,i,o)=>{const a=eh(e,t.slice(0,e.length),new Date,{locale:o});return wr(a)&&My(a)?s||i?a:ft(a,{hours:+n.hours,minutes:+(n==null?void 0:n.minutes),seconds:+(n==null?void 0:n.seconds),milliseconds:0}):null},FO=(e,t,n,s,i,o)=>{const a=Array.isArray(n)?n[0]:n;if(typeof t=="string")return Pg(e,t,a,s,i,o);if(Array.isArray(t)){let r=null;for(const l of t)if(r=Pg(e,l,a,s,i,o),r)break;return r}return typeof t=="function"?t(e):null},xe=e=>e?new Date(e):new Date,BO=(e,t,n)=>{if(t){const i=(e.getMonth()+1).toString().padStart(2,"0"),o=e.getDate().toString().padStart(2,"0"),a=e.getHours().toString().padStart(2,"0"),r=e.getMinutes().toString().padStart(2,"0"),l=n?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${i}-${o}T${a}:${r}:${l}.000Z`}const s=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(s).toISOString()},vn=(e,t)=>{const n=xe(JSON.parse(JSON.stringify(e))),s=ft(n,{hours:0,minutes:0,seconds:0,milliseconds:0});return t?DD(s):s},Ti=(e,t,n,s)=>{let i=e?xe(e):xe();return(t||t===0)&&(i=kO(i,+t)),(n||n===0)&&(i=SO(i,+n)),(s||s===0)&&(i=Yy(i,+s)),zy(i,0)},At=(e,t)=>!e||!t?!1:Hr(vn(e),vn(t)),tt=(e,t)=>!e||!t?!1:na(vn(e),vn(t)),Dt=(e,t)=>!e||!t?!1:ka(vn(e),vn(t)),cu=(e,t,n)=>e!=null&&e[0]&&e!=null&&e[1]?Dt(n,e[0])&&At(n,e[1]):e!=null&&e[0]&&t?Dt(n,e[0])&&At(n,t)||At(n,e[0])&&Dt(n,t):!1,os=e=>{const t=ft(new Date(e),{date:1});return vn(t)},td=(e,t,n)=>t&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(s=>s===t?[s,n]:[s,isNaN(+e[s])?void 0:+e[s]])):{hours:isNaN(+e.hours)?void 0:+e.hours,minutes:isNaN(+e.minutes)?void 0:+e.minutes,seconds:isNaN(+e.seconds)?void 0:+e.seconds},xo=e=>({hours:Zs(e),minutes:Ri(e),seconds:xa(e)}),Qy=(e,t)=>{if(t){const n=ze(xe(t));if(n>e)return 12;if(n===e)return Qe(xe(t))}},Zy=(e,t)=>{if(t){const n=ze(xe(t));return n{if(e)return ze(xe(e))},e0=(e,t)=>{const n=Dt(e,t)?t:e,s=Dt(t,e)?t:e;return Dy({start:n,end:s})},VO=e=>{const t=cs(e,1);return{month:Qe(t),year:ze(t)}},Ws=(e,t)=>{const n=hs(e,{weekStartsOn:+t}),s=Iy(e,{weekStartsOn:+t});return[n,s]},t0=(e,t)=>{const n={hours:Zs(xe()),minutes:Ri(xe()),seconds:t?xa(xe()):0};return Object.assign(n,e)},wi=(e,t,n)=>[ft(xe(e),{date:1}),ft(xe(),{month:t,year:n,date:1})],Us=(e,t,n)=>{let s=e?xe(e):xe();return(t||t===0)&&(s=Wy(s,t)),n&&(s=Ss(s,n)),s},n0=(e,t,n,s,i)=>{if(!s||i&&!t||!i&&!n)return!1;const o=i?cs(e,1):Sa(e,1),a=[Qe(o),ze(o)];return i?!jO(...a,t):!HO(...a,n)},HO=(e,t,n)=>At(...wi(n,e,t))||tt(...wi(n,e,t)),jO=(e,t,n)=>Dt(...wi(n,e,t))||tt(...wi(n,e,t)),s0=(e,t,n,s,i,o,a)=>{if(typeof t=="function"&&!a)return t(e);const r=n?{locale:n}:void 0;return Array.isArray(e)?`${Es(e[0],o,r)}${i&&!e[1]?"":s}${e[1]?Es(e[1],o,r):""}`:Es(e,o,r)},Go=e=>{if(e)return null;throw new Error(Of.prop("partial-range"))},Rl=(e,t)=>{if(t)return e();throw new Error(Of.prop("range"))},sh=e=>Array.isArray(e)?wr(e[0])&&(e[1]?wr(e[1]):!0):e?wr(e):!1,WO=(e,t)=>ft(t??xe(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),nd=(e,t,n,s)=>{if(!e)return!0;if(s){const i=n==="max"?Hr(e,t):ka(e,t),o={seconds:0,milliseconds:0};return i||na(ft(e,o),ft(t,o))}return n==="max"?e.getTime()<=t.getTime():e.getTime()>=t.getTime()},sd=(e,t,n)=>e?WO(e,t):xe(n??t),Tg=(e,t,n,s,i)=>{if(Array.isArray(s)){const a=sd(e,s[0],t),r=sd(e,s[1],t);return nd(s[0],a,n,!!t)&&nd(s[1],r,n,!!t)&&i}const o=sd(e,s,t);return nd(s,o,n,!!t)&&i},id=e=>ft(xe(),xo(e)),zO=(e,t)=>e instanceof Map?Array.from(e.values()).filter(n=>ze(xe(n))===t).map(n=>Qe(n)):[],i0=(e,t,n)=>typeof e=="function"?e({month:t,year:n}):!!e.months.find(s=>s.month===t&&s.year===n),Rf=(e,t)=>typeof e=="function"?e(t):e.years.includes(t),o0=e=>Es(e,"yyyy-MM-dd"),Xa=Ms({menuFocused:!1,shiftKeyInMenu:!1}),a0=()=>{const e=n=>{Xa.menuFocused=n},t=n=>{Xa.shiftKeyInMenu!==n&&(Xa.shiftKeyInMenu=n)};return{control:_e(()=>({shiftKeyInMenu:Xa.shiftKeyInMenu,menuFocused:Xa.menuFocused})),setMenuFocused:e,setShiftKey:t}},gt=Ms({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),od=ve(null),Ll=ve(!1),ad=ve(!1),rd=ve(!1),ld=ve(!1),on=ve(0),Mt=ve(0),ji=()=>{const e=_e(()=>Ll.value?[...gt.selectionGrid,gt.actionRow].filter(d=>d.length):ad.value?[...gt.timePicker[0],...gt.timePicker[1],ld.value?[]:[od.value],gt.actionRow].filter(d=>d.length):rd.value?[...gt.monthPicker,gt.actionRow]:[gt.monthYear,...gt.calendar,gt.time,gt.actionRow].filter(d=>d.length)),t=d=>{on.value=d?on.value+1:on.value-1;let f=null;e.value[Mt.value]&&(f=e.value[Mt.value][on.value]),!f&&e.value[Mt.value+(d?1:-1)]?(Mt.value=Mt.value+(d?1:-1),on.value=d?0:e.value[Mt.value].length-1):f||(on.value=d?on.value-1:on.value+1)},n=d=>{Mt.value===0&&!d||Mt.value===e.value.length&&d||(Mt.value=d?Mt.value+1:Mt.value-1,e.value[Mt.value]?e.value[Mt.value]&&!e.value[Mt.value][on.value]&&on.value!==0&&(on.value=e.value[Mt.value].length-1):Mt.value=d?Mt.value-1:Mt.value+1)},s=d=>{let f=null;e.value[Mt.value]&&(f=e.value[Mt.value][on.value]),f?f.focus({preventScroll:!Ll.value}):on.value=d?on.value-1:on.value+1},i=()=>{t(!0),s(!0)},o=()=>{t(!1),s(!1)},a=()=>{n(!1),s(!0)},r=()=>{n(!0),s(!0)},l=(d,f)=>{gt[f]=d},c=(d,f)=>{gt[f]=d},u=()=>{on.value=0,Mt.value=0};return{buildMatrix:l,buildMultiLevelMatrix:c,setTimePickerBackRef:d=>{od.value=d},setSelectionGrid:d=>{Ll.value=d,u(),d||(gt.selectionGrid=[])},setTimePicker:(d,f=!1)=>{ad.value=d,ld.value=f,u(),d||(gt.timePicker[0]=[],gt.timePicker[1]=[])},setTimePickerElements:(d,f=0)=>{gt.timePicker[f]=d},arrowRight:i,arrowLeft:o,arrowUp:a,arrowDown:r,clearArrowNav:()=>{gt.monthYear=[],gt.calendar=[],gt.time=[],gt.actionRow=[],gt.selectionGrid=[],gt.timePicker[0]=[],gt.timePicker[1]=[],Ll.value=!1,ad.value=!1,ld.value=!1,rd.value=!1,u(),od.value=null},setMonthPicker:d=>{rd.value=d,u()},refSets:gt}},Mg=e=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...e??{}}),YO=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:t=>`Increment ${t}`,decrementValue:t=>`Decrement ${t}`,openTpOverlay:t=>`Open ${t} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:t=>`Month picker${t?" overlay":""}`,yearPicker:t=>`Year picker${t?" overlay":""}`,timeOverlay:t=>`${t} overlay`,...e??{}}),Dg=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,UO=e=>{const t=typeof e=="object"&&e,n={static:!0,solo:!1};if(!e)return{...n,count:Dg(!1)};const s=t?e:{},i=t?s.count??!0:e,o=Dg(i);return Object.assign(n,s,{count:o})},KO=(e,t,n)=>e||(typeof n=="string"?n:t),qO=e=>typeof e=="boolean"?e?Mg({}):!1:Mg(e),GO=e=>{const t={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof e=="object"?{...t,...e??{},enabled:!0}:{...t,enabled:e}},JO=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),XO=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),QO=e=>{const t={input:!1};return typeof e=="object"?{...t,...e??{},enabled:!0}:{enabled:e,...t}},ZO=e=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,...e??{}}),eI=e=>{const t={dates:Array.isArray(e)?e.map(n=>xe(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...t,...e??{}}},tI=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},nI=e=>{const t={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof e=="object"?{enabled:!0,...t,...e}:{enabled:e,...t}},sI=e=>e?typeof e=="string"?{timezone:e,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:e.timezone,exactMatch:e.exactMatch??!1,dateInTz:e.dateInTz??void 0,emitTimezone:e.emitTimezone??void 0,convertModel:e.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},cd=(e,t,n)=>new Map(e.map(s=>{const i=Mf(s,t,n);return[If(i),i]})),iI=(e,t)=>e.length?new Map(e.map(n=>{const s=Mf(n.date,t);return[If(s),n]})):null,oI=e=>{var t;return{minDate:th(e.minDate,e.timezone,e.isSpecific),maxDate:th(e.maxDate,e.timezone,e.isSpecific),disabledDates:ed(e.disabledDates)?cd(e.disabledDates,e.timezone,e.isSpecific):e.disabledDates,allowedDates:ed(e.allowedDates)?cd(e.allowedDates,e.timezone,e.isSpecific):null,highlight:typeof e.highlight=="object"&&ed((t=e.highlight)==null?void 0:t.dates)?cd(e.highlight.dates,e.timezone):e.highlight,markers:iI(e.markers,e.timezone)}},aI=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},rI=e=>({...Object.fromEntries(Object.keys(e).map(t=>{const n=t,s=e[n],i=typeof e[n]=="string"?{[s]:!0}:Object.fromEntries(s.map(o=>[o,!0]));return[t,i]}))}),xt=e=>{const t=()=>{const y=e.enableSeconds?":ss":"",x=e.enableMinutes?":mm":"";return e.is24?`HH${x}${y}`:`hh${x}${y} aa`},n=()=>{var y;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?t():e.weekPicker?`${((y=v.value)==null?void 0:y.type)==="iso"?"RR":"ww"}-yyyy`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${t()}`:"MM/dd/yyyy"},s=y=>t0(y,e.enableSeconds),i=()=>M.value.enabled?e.startTime&&Array.isArray(e.startTime)?[s(e.startTime[0]),s(e.startTime[1])]:null:e.startTime&&!Array.isArray(e.startTime)?s(e.startTime):null,o=_e(()=>UO(e.multiCalendars)),a=_e(()=>i()),r=_e(()=>YO(e.ariaLabels)),l=_e(()=>JO(e.filters)),c=_e(()=>qO(e.transitions)),u=_e(()=>XO(e.actionRow)),d=_e(()=>KO(e.previewFormat,e.format,n())),f=_e(()=>GO(e.textInput)),p=_e(()=>QO(e.inline)),g=_e(()=>ZO(e.config)),_=_e(()=>eI(e.highlight)),v=_e(()=>tI(e.weekNumbers)),w=_e(()=>sI(e.timezone)),A=_e(()=>aI(e.multiDates)),$=_e(()=>oI({minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,allowedDates:e.allowedDates,highlight:_.value,markers:e.markers,timezone:w.value,isSpecific:e.monthPicker||e.yearPicker||e.quarterPicker})),M=_e(()=>nI(e.range)),k=_e(()=>rI(e.ui));return{defaultedTransitions:c,defaultedMultiCalendars:o,defaultedStartTime:a,defaultedAriaLabels:r,defaultedFilters:l,defaultedActionRow:u,defaultedPreviewFormat:d,defaultedTextInput:f,defaultedInline:p,defaultedConfig:g,defaultedHighlight:_,defaultedWeekNumbers:v,defaultedRange:M,propDates:$,defaultedTz:w,defaultedMultiDates:A,defaultedUI:k,getDefaultPattern:n,getDefaultStartTime:i}},lI=(e,t,n)=>{const s=ve(),{defaultedTextInput:i,defaultedRange:o,defaultedTz:a,defaultedMultiDates:r,getDefaultPattern:l}=xt(t),c=ve(""),u=Dr(t,"format"),d=Dr(t,"formatLocale");Ut(s,()=>{typeof t.onInternalModelChange=="function"&&e("internal-model-change",s.value,oe(!0))},{deep:!0}),Ut(o,(T,se)=>{T.enabled!==se.enabled&&(s.value=null)}),Ut(u,()=>{Q()});const f=T=>a.value.timezone&&a.value.convertModel?An(T,a.value.timezone):T,p=T=>{if(a.value.timezone&&a.value.convertModel){const se=EO(a.value.timezone);return AD(T,se)}return T},g=(T,se,de=!1)=>s0(T,t.format,t.formatLocale,i.value.rangeSeparator,t.modelAuto,se??l(),de),_=T=>T?t.modelType?le(T):{hours:Zs(T),minutes:Ri(T),seconds:t.enableSeconds?xa(T):0}:null,v=T=>t.modelType?le(T):{month:Qe(T),year:ze(T)},w=T=>Array.isArray(T)?r.value.enabled?T.map(se=>A(se,Ss(xe(),se))):Rl(()=>[Ss(xe(),T[0]),T[1]?Ss(xe(),T[1]):Go(o.value.partialRange)],o.value.enabled):Ss(xe(),+T),A=(T,se)=>(typeof T=="string"||typeof T=="number")&&t.modelType?Z(T):se,$=T=>Array.isArray(T)?[A(T[0],Ti(null,+T[0].hours,+T[0].minutes,T[0].seconds)),A(T[1],Ti(null,+T[1].hours,+T[1].minutes,T[1].seconds))]:A(T,Ti(null,T.hours,T.minutes,T.seconds)),M=T=>{const se=ft(xe(),{date:1});return Array.isArray(T)?r.value.enabled?T.map(de=>A(de,Us(se,+de.month,+de.year))):Rl(()=>[A(T[0],Us(se,+T[0].month,+T[0].year)),A(T[1],T[1]?Us(se,+T[1].month,+T[1].year):Go(o.value.partialRange))],o.value.enabled):A(T,Us(se,+T.month,+T.year))},k=T=>{if(Array.isArray(T))return T.map(se=>Z(se));throw new Error(Of.dateArr("multi-dates"))},y=T=>{if(Array.isArray(T)&&o.value.enabled){const se=T[0],de=T[1];return[xe(Array.isArray(se)?se[0]:null),xe(Array.isArray(de)?de[0]:null)]}return xe(T[0])},x=T=>t.modelAuto?Array.isArray(T)?[Z(T[0]),Z(T[1])]:t.autoApply?[Z(T)]:[Z(T),null]:Array.isArray(T)?Rl(()=>T[1]?[Z(T[0]),T[1]?Z(T[1]):Go(o.value.partialRange)]:[Z(T[0])],o.value.enabled):Z(T),E=()=>{Array.isArray(s.value)&&o.value.enabled&&s.value.length===1&&s.value.push(Go(o.value.partialRange))},P=()=>{const T=s.value;return[le(T[0]),T[1]?le(T[1]):Go(o.value.partialRange)]},C=()=>s.value[1]?P():le(Gt(s.value[0])),F=()=>(s.value||[]).map(T=>le(T)),G=(T=!1)=>(T||E(),t.modelAuto?C():r.value.enabled?F():Array.isArray(s.value)?Rl(()=>P(),o.value.enabled):le(Gt(s.value))),ae=T=>!T||Array.isArray(T)&&!T.length?null:t.timePicker?$(Gt(T)):t.monthPicker?M(Gt(T)):t.yearPicker?w(Gt(T)):r.value.enabled?k(Gt(T)):t.weekPicker?y(Gt(T)):x(Gt(T)),Y=T=>{const se=ae(T);sh(Gt(se))?(s.value=Gt(se),Q()):(s.value=null,c.value="")},L=()=>{const T=se=>Es(se,i.value.format);return`${T(s.value[0])} ${i.value.rangeSeparator} ${s.value[1]?T(s.value[1]):""}`},O=()=>n.value&&s.value?Array.isArray(s.value)?L():Es(s.value,i.value.format):g(s.value),V=()=>s.value?r.value.enabled?s.value.map(T=>g(T)).join("; "):i.value.enabled&&typeof i.value.format=="string"?O():g(s.value):"",Q=()=>{!t.format||typeof t.format=="string"||i.value.enabled&&typeof i.value.format=="string"?c.value=V():c.value=t.format(s.value)},Z=T=>{if(t.utc){const se=new Date(T);return t.utc==="preserve"?new Date(se.getTime()+se.getTimezoneOffset()*6e4):se}return t.modelType?CO.includes(t.modelType)?f(new Date(T)):t.modelType==="format"&&(typeof t.format=="string"||!t.format)?f(eh(T,l(),new Date,{locale:d.value})):f(eh(T,t.modelType,new Date,{locale:d.value})):f(new Date(T))},le=T=>T?t.utc?BO(T,t.utc==="preserve",t.enableSeconds):t.modelType?t.modelType==="timestamp"?+p(T):t.modelType==="iso"?p(T).toISOString():t.modelType==="format"&&(typeof t.format=="string"||!t.format)?g(p(T)):g(p(T),t.modelType,!0):p(T):"",ye=(T,se=!1,de=!1)=>{if(de)return T;if(e("update:model-value",T),a.value.emitTimezone&&se){const ke=Array.isArray(T)?T.map(N=>An(Gt(N),a.value.emitTimezone)):An(Gt(T),a.value.emitTimezone);e("update:model-timezone-value",ke)}},U=T=>Array.isArray(s.value)?r.value.enabled?s.value.map(se=>T(se)):[T(s.value[0]),s.value[1]?T(s.value[1]):Go(o.value.partialRange)]:T(Gt(s.value)),X=()=>{if(Array.isArray(s.value)){const T=Ws(s.value[0],t.weekStart),se=s.value[1]?Ws(s.value[1],t.weekStart):[];return[T.map(de=>xe(de)),se.map(de=>xe(de))]}return Ws(s.value,t.weekStart).map(T=>xe(T))},I=(T,se)=>ye(Gt(U(T)),!1,se),ee=T=>{const se=X();return T?se:e("update:model-value",X())},oe=(T=!1)=>(T||Q(),t.monthPicker?I(v,T):t.timePicker?I(_,T):t.yearPicker?I(ze,T):t.weekPicker?ee(T):ye(G(T),!0,T));return{inputValue:c,internalModelValue:s,checkBeforeEmit:()=>s.value?o.value.enabled?o.value.partialRange?s.value.length>=1:s.value.length===2:!!s.value:!1,parseExternalModelValue:Y,formatInputValue:Q,emitModelValue:oe}},cI=(e,t)=>{const{defaultedFilters:n,propDates:s}=xt(e),{validateMonthYearInRange:i}=Wi(e),o=(u,d)=>{let f=u;return n.value.months.includes(Qe(f))?(f=d?cs(u,1):Sa(u,1),o(f,d)):f},a=(u,d)=>{let f=u;return n.value.years.includes(ze(f))?(f=d?yf(u,1):Uy(u,1),a(f,d)):f},r=(u,d=!1)=>{const f=ft(xe(),{month:e.month,year:e.year});let p=u?cs(f,1):Sa(f,1);e.disableYearSelect&&(p=Ss(p,e.year));let g=Qe(p),_=ze(p);n.value.months.includes(g)&&(p=o(p,u),g=Qe(p),_=ze(p)),n.value.years.includes(_)&&(p=a(p,u),_=ze(p)),i(g,_,u,e.preventMinMaxNavigation)&&l(g,_,d)},l=(u,d,f)=>{t("update-month-year",{month:u,year:d,fromNav:f})},c=_e(()=>u=>n0(ft(xe(),{month:e.month,year:e.year}),s.value.maxDate,s.value.minDate,e.preventMinMaxNavigation,u));return{handleMonthYearChange:r,isDisabled:c,updateMonthYear:l}},uu={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},fs={...uu,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},uI=["title"],dI=["disabled"],hI=Nt({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...fs},emits:["close-picker","select-date","select-now","invalid-select"],setup(e,{emit:t}){const n=t,s=e,{defaultedActionRow:i,defaultedPreviewFormat:o,defaultedMultiCalendars:a,defaultedTextInput:r,defaultedInline:l,defaultedRange:c,defaultedMultiDates:u,getDefaultPattern:d}=xt(s),{isTimeValid:f,isMonthValid:p}=Wi(s),{buildMatrix:g}=ji(),_=ve(null),v=ve(null),w=ve(!1),A=ve({}),$=ve(null),M=ve(null);Kt(()=>{s.arrowNavigation&&g([Ht(_),Ht(v)],"actionRow"),k(),window.addEventListener("resize",k)}),La(()=>{window.removeEventListener("resize",k)});const k=()=>{w.value=!1,setTimeout(()=>{var L,O;const V=(L=$.value)==null?void 0:L.getBoundingClientRect(),Q=(O=M.value)==null?void 0:O.getBoundingClientRect();V&&Q&&(A.value.maxWidth=`${Q.width-V.width-20}px`),w.value=!0},0)},y=_e(()=>c.value.enabled&&!c.value.partialRange&&s.internalModelValue?s.internalModelValue.length===2:!0),x=_e(()=>!f.value(s.internalModelValue)||!p.value(s.internalModelValue)||!y.value),E=()=>{const L=o.value;return s.timePicker||s.monthPicker,L(Gt(s.internalModelValue))},P=()=>{const L=s.internalModelValue;return a.value.count>0?`${C(L[0])} - ${C(L[1])}`:[C(L[0]),C(L[1])]},C=L=>s0(L,o.value,s.formatLocale,r.value.rangeSeparator,s.modelAuto,d()),F=_e(()=>!s.internalModelValue||!s.menuMount?"":typeof o.value=="string"?Array.isArray(s.internalModelValue)?s.internalModelValue.length===2&&s.internalModelValue[1]?P():u.value.enabled?s.internalModelValue.map(L=>`${C(L)}`):s.modelAuto?`${C(s.internalModelValue[0])}`:`${C(s.internalModelValue[0])} -`:C(s.internalModelValue):E()),G=()=>u.value.enabled?"; ":" - ",ae=_e(()=>Array.isArray(F.value)?F.value.join(G()):F.value),Y=()=>{f.value(s.internalModelValue)&&p.value(s.internalModelValue)&&y.value?n("select-date"):n("invalid-select")};return(L,O)=>(R(),B("div",{ref_key:"actionRowRef",ref:M,class:"dp__action_row"},[L.$slots["action-row"]?Ie(L.$slots,"action-row",Xt(zt({key:0},{internalModelValue:L.internalModelValue,disabled:x.value,selectDate:()=>L.$emit("select-date"),closePicker:()=>L.$emit("close-picker")}))):(R(),B(Me,{key:1},[q(i).showPreview?(R(),B("div",{key:0,class:"dp__selection_preview",title:ae.value,style:jt(A.value)},[L.$slots["action-preview"]&&w.value?Ie(L.$slots,"action-preview",{key:0,value:L.internalModelValue}):ce("",!0),!L.$slots["action-preview"]&&w.value?(R(),B(Me,{key:1},[we(be(ae.value),1)],64)):ce("",!0)],12,uI)):ce("",!0),h("div",{ref_key:"actionBtnContainer",ref:$,class:"dp__action_buttons","data-dp-element":"action-row"},[L.$slots["action-buttons"]?Ie(L.$slots,"action-buttons",{key:0,value:L.internalModelValue}):ce("",!0),L.$slots["action-buttons"]?ce("",!0):(R(),B(Me,{key:1},[!q(l).enabled&&q(i).showCancel?(R(),B("button",{key:0,ref_key:"cancelButtonRef",ref:_,type:"button",class:"dp__action_button dp__action_cancel",onClick:O[0]||(O[0]=V=>L.$emit("close-picker")),onKeydown:O[1]||(O[1]=V=>q(gn)(V,()=>L.$emit("close-picker")))},be(L.cancelText),545)):ce("",!0),q(i).showNow?(R(),B("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:O[2]||(O[2]=V=>L.$emit("select-now")),onKeydown:O[3]||(O[3]=V=>q(gn)(V,()=>L.$emit("select-now")))},be(L.nowButtonLabel),33)):ce("",!0),q(i).showSelect?(R(),B("button",{key:2,ref_key:"selectButtonRef",ref:v,type:"button",class:"dp__action_button dp__action_select",disabled:x.value,"data-test":"select-button",onKeydown:O[4]||(O[4]=V=>q(gn)(V,()=>Y())),onClick:Y},be(L.selectText),41,dI)):ce("",!0)],64))],512)],64))],512))}}),fI=["role","aria-label","tabindex"],pI={class:"dp__selection_grid_header"},mI=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],gI=["aria-label"],nl=Nt({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(e,{expose:t,emit:n}){const{setSelectionGrid:s,buildMultiLevelMatrix:i,setMonthPicker:o}=ji(),a=n,r=e,{defaultedAriaLabels:l,defaultedTextInput:c,defaultedConfig:u}=xt(r),{hideNavigationButtons:d}=fu(),f=ve(!1),p=ve(null),g=ve(null),_=ve([]),v=ve(),w=ve(null),A=ve(0),$=ve(null);bv(()=>{p.value=null}),Kt(()=>{Zt().then(()=>F()),r.noOverlayFocus||k(),M(!0)}),La(()=>M(!1));const M=U=>{var X;r.arrowNavigation&&((X=r.headerRefs)!=null&&X.length?o(U):s(U))},k=()=>{var U;const X=Ht(g);X&&(c.value.enabled||(p.value?(U=p.value)==null||U.focus({preventScroll:!0}):X.focus({preventScroll:!0})),f.value=X.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!r.useRelative,"dp--overlay-relative":r.useRelative})),x=_e(()=>r.useRelative?{height:`${r.height}px`,width:"260px"}:void 0),E=_e(()=>({dp__overlay_col:!0})),P=_e(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:f.value,dp__button_bottom:r.isLast})),C=_e(()=>{var U,X;return{dp__overlay_container:!0,dp__container_flex:((U=r.items)==null?void 0:U.length)<=6,dp__container_block:((X=r.items)==null?void 0:X.length)>6}});Ut(()=>r.items,()=>F(!1),{deep:!0});const F=(U=!0)=>{Zt().then(()=>{const X=Ht(p),I=Ht(g),ee=Ht(w),oe=Ht($),T=ee?ee.getBoundingClientRect().height:0;I&&(I.getBoundingClientRect().height?A.value=I.getBoundingClientRect().height-T:A.value=u.value.modeHeight-T),X&&oe&&U&&(oe.scrollTop=X.offsetTop-oe.offsetTop-(A.value/2-X.getBoundingClientRect().height)-T)})},G=U=>{U.disabled||a("selected",U.value)},ae=()=>{a("toggle"),a("reset-flow")},Y=()=>{r.escClose&&ae()},L=(U,X,I,ee)=>{U&&((X.active||X.value===r.focusValue)&&(p.value=U),r.arrowNavigation&&(Array.isArray(_.value[I])?_.value[I][ee]=U:_.value[I]=[U],O()))},O=()=>{var U,X;const I=(U=r.headerRefs)!=null&&U.length?[r.headerRefs].concat(_.value):_.value.concat([r.skipButtonRef?[]:[w.value]]);i(Gt(I),(X=r.headerRefs)!=null&&X.length?"monthPicker":"selectionGrid")},V=U=>{r.arrowNavigation||Pi(U,u.value,!0)},Q=U=>{v.value=U,a("hover-value",U)},Z=()=>{if(ae(),!r.isLast){const U=nh(r.menuWrapRef??null,"action-row");if(U){const X=Jy(U);X==null||X.focus()}}},le=U=>{switch(U.key){case _t.esc:return Y();case _t.arrowLeft:return V(U);case _t.arrowRight:return V(U);case _t.arrowUp:return V(U);case _t.arrowDown:return V(U);default:return}},ye=U=>{if(U.key===_t.enter)return ae();if(U.key===_t.tab)return Z()};return t({focusGrid:k}),(U,X)=>{var I;return R(),B("div",{ref_key:"gridWrapRef",ref:g,class:Pe(y.value),style:jt(x.value),role:U.useRelative?void 0:"dialog","aria-label":U.overlayLabel,tabindex:U.useRelative?void 0:"0",onKeydown:le,onClick:X[0]||(X[0]=Fr(()=>{},["prevent"]))},[h("div",{ref_key:"containerRef",ref:$,class:Pe(C.value),style:jt({"--dp-overlay-height":`${A.value}px`}),role:"grid"},[h("div",pI,[Ie(U.$slots,"header")]),U.$slots.overlay?Ie(U.$slots,"overlay",{key:0}):(R(!0),B(Me,{key:1},qe(U.items,(ee,oe)=>(R(),B("div",{key:oe,class:Pe(["dp__overlay_row",{dp__flex_row:U.items.length>=3}]),role:"row"},[(R(!0),B(Me,null,qe(ee,(T,se)=>(R(),B("div",{key:T.value,ref_for:!0,ref:de=>L(de,T,oe,se),role:"gridcell",class:Pe(E.value),"aria-selected":T.active||void 0,"aria-disabled":T.disabled||void 0,tabindex:"0","data-test":T.text,onClick:Fr(de=>G(T),["prevent"]),onKeydown:de=>q(gn)(de,()=>G(T),!0),onMouseover:de=>Q(T.value)},[h("div",{class:Pe(T.className)},[U.$slots.item?Ie(U.$slots,"item",{key:0,item:T}):ce("",!0),U.$slots.item?ce("",!0):(R(),B(Me,{key:1},[we(be(T.text),1)],64))],2)],42,mI))),128))],2))),128))],6),U.$slots["button-icon"]?Le((R(),B("button",{key:0,ref_key:"toggleButton",ref:w,type:"button","aria-label":(I=q(l))==null?void 0:I.toggleOverlay,class:Pe(P.value),tabindex:"0",onClick:ae,onKeydown:ye},[Ie(U.$slots,"button-icon")],42,gI)),[[ac,!q(d)(U.hideNavigation,U.type)]]):ce("",!0)],46,fI)}}}),du=Nt({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(e){const t=e,n=_e(()=>t.multiCalendars>0?[...Array(t.multiCalendars).keys()]:[0]),s=_e(()=>({dp__instance_calendar:t.multiCalendars>0}));return(i,o)=>(R(),B("div",{class:Pe({dp__menu_inner:!i.stretch,"dp--menu--inner-stretched":i.stretch,dp__flex_display:i.multiCalendars>0,"dp--flex-display-collapsed":i.collapse})},[(R(!0),B(Me,null,qe(n.value,(a,r)=>(R(),B("div",{key:a,class:Pe(s.value)},[Ie(i.$slots,"default",{instance:a,index:r})],2))),128))],2))}}),_I=["data-dp-element","aria-label","aria-disabled"],xr=Nt({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:t}){const n=t,s=ve(null);return Kt(()=>n("set-ref",s)),(i,o)=>(R(),B("button",{ref_key:"elRef",ref:s,type:"button","data-dp-element":i.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":i.ariaLabel,"aria-disabled":i.disabled||void 0,onClick:o[0]||(o[0]=a=>i.$emit("activate")),onKeydown:o[1]||(o[1]=a=>q(gn)(a,()=>i.$emit("activate"),!0))},[h("span",{class:Pe(["dp__inner_nav",{dp__inner_nav_disabled:i.disabled}])},[Ie(i.$slots,"default")],2)],40,_I))}}),bI=["aria-label","data-test"],r0=Nt({__name:"YearModePicker",props:{...fs,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(e,{emit:t}){const n=t,s=e,{showRightIcon:i,showLeftIcon:o}=fu(),{defaultedConfig:a,defaultedMultiCalendars:r,defaultedAriaLabels:l,defaultedTransitions:c,defaultedUI:u}=xt(s),{showTransition:d,transitionName:f}=sl(c),p=ve(!1),g=(w=!1,A)=>{p.value=!p.value,n("toggle-year-picker",{flow:w,show:A})},_=w=>{p.value=!1,n("year-select",w)},v=(w=!1)=>{n("handle-year",w)};return(w,A)=>{var $,M,k,y,x;return R(),B(Me,null,[h("div",{class:Pe(["dp--year-mode-picker",{"dp--hidden-el":p.value}])},[q(o)(q(r),e.instance)?(R(),Ne(xr,{key:0,ref:"mpPrevIconRef","aria-label":($=q(l))==null?void 0:$.prevYear,disabled:e.isDisabled(!1),class:Pe((M=q(u))==null?void 0:M.navBtnPrev),onActivate:A[0]||(A[0]=E=>v(!1))},{default:Te(()=>[w.$slots["arrow-left"]?Ie(w.$slots,"arrow-left",{key:0}):ce("",!0),w.$slots["arrow-left"]?ce("",!0):(R(),Ne(q($f),{key:1}))]),_:3},8,["aria-label","disabled","class"])):ce("",!0),h("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${e.year}-${(k=q(l))==null?void 0:k.openYearsOverlay}`,"data-test":`year-mode-btn-${e.instance}`,onClick:A[1]||(A[1]=()=>g(!1)),onKeydown:A[2]||(A[2]=DE(()=>g(!1),["enter"]))},[w.$slots.year?Ie(w.$slots,"year",{key:0,year:e.year}):ce("",!0),w.$slots.year?ce("",!0):(R(),B(Me,{key:1},[we(be(e.year),1)],64))],40,bI),q(i)(q(r),e.instance)?(R(),Ne(xr,{key:1,ref:"mpNextIconRef","aria-label":(y=q(l))==null?void 0:y.nextYear,disabled:e.isDisabled(!0),class:Pe((x=q(u))==null?void 0:x.navBtnNext),onActivate:A[3]||(A[3]=E=>v(!0))},{default:Te(()=>[w.$slots["arrow-right"]?Ie(w.$slots,"arrow-right",{key:0}):ce("",!0),w.$slots["arrow-right"]?ce("",!0):(R(),Ne(q(Ef),{key:1}))]),_:3},8,["aria-label","disabled","class"])):ce("",!0)],2),$e(Bt,{name:q(f)(e.showYearPicker),css:q(d)},{default:Te(()=>{var E,P;return[e.showYearPicker?(R(),Ne(nl,{key:0,items:e.items,"text-input":w.textInput,"esc-close":w.escClose,config:w.config,"is-last":w.autoApply&&!q(a).keepActionRow,"hide-navigation":w.hideNavigation,"aria-labels":w.ariaLabels,"overlay-label":(P=(E=q(l))==null?void 0:E.yearPicker)==null?void 0:P.call(E,!0),type:"year",onToggle:g,onSelected:A[4]||(A[4]=C=>_(C))},un({"button-icon":Te(()=>[w.$slots["calendar-icon"]?Ie(w.$slots,"calendar-icon",{key:0}):ce("",!0),w.$slots["calendar-icon"]?ce("",!0):(R(),Ne(q(Na),{key:1}))]),_:2},[w.$slots["year-overlay-value"]?{name:"item",fn:Te(({item:C})=>[Ie(w.$slots,"year-overlay-value",{text:C.text,value:C.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):ce("",!0)]}),_:3},8,["name","css"])],64)}}}),Lf=(e,t,n)=>{if(t.value&&Array.isArray(t.value))if(t.value.some(s=>tt(e,s))){const s=t.value.filter(i=>!tt(i,e));t.value=s.length?s:null}else(n&&+n>t.value.length||!n)&&t.value.push(e);else t.value=[e]},Nf=(e,t,n)=>{let s=e.value?e.value.slice():[];return s.length===2&&s[1]!==null&&(s=[]),s.length?At(t,s[0])?(s.unshift(t),n("range-start",s[0]),n("range-start",s[1])):(s[1]=t,n("range-end",t)):(s=[t],n("range-start",t)),s},hu=(e,t,n,s)=>{e&&(e[0]&&e[1]&&n&&t("auto-apply"),e[0]&&!e[1]&&s&&n&&t("auto-apply"))},l0=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(t=>An(xe(t),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=An(xe(e.value),e.timezone))},c0=(e,t,n,s)=>Array.isArray(t.value)&&(t.value.length===2||t.value.length===1&&s.value.partialRange)?s.value.fixedStart&&(Dt(e,t.value[0])||tt(e,t.value[0]))?[t.value[0],e]:s.value.fixedEnd&&(At(e,t.value[1])||tt(e,t.value[1]))?[e,t.value[1]]:(n("invalid-fixed-range",e),t.value):[],u0=({multiCalendars:e,range:t,highlight:n,propDates:s,calendars:i,modelValue:o,props:a,filters:r,year:l,month:c,emit:u})=>{const d=_e(()=>Df(a.yearRange,a.locale,a.reverseYears)),f=ve([!1]),p=_e(()=>(C,F)=>{const G=ft(os(new Date),{month:c.value(C),year:l.value(C)}),ae=F?Oy(G):Vr(G);return n0(ae,s.value.maxDate,s.value.minDate,a.preventMinMaxNavigation,F)}),g=()=>Array.isArray(o.value)&&e.value.solo&&o.value[1],_=()=>{for(let C=0;C{if(!C)return _();const F=ft(xe(),i.value[C]);return i.value[0].year=ze(Uy(F,e.value.count-1)),_()},w=(C,F)=>{const G=TD(F,C);return t.value.showLastInRange&&G>1?F:C},A=C=>a.focusStartDate||e.value.solo?C[0]:C[1]?w(C[0],C[1]):C[0],$=()=>{if(o.value){const C=Array.isArray(o.value)?A(o.value):o.value;i.value[0]={month:Qe(C),year:ze(C)}}},M=()=>{$(),e.value.count&&_()};Ut(o,(C,F)=>{a.isTextInputDate&&JSON.stringify(C??{})!==JSON.stringify(F??{})&&M()}),Kt(()=>{M()});const k=(C,F)=>{i.value[F].year=C,u("update-month-year",{instance:F,year:C,month:i.value[F].month}),e.value.count&&!e.value.solo&&v(F)},y=_e(()=>C=>Aa(d.value,F=>{var G;const ae=l.value(C)===F.value,Y=jr(F.value,$a(s.value.minDate),$a(s.value.maxDate))||((G=r.value.years)==null?void 0:G.includes(l.value(C))),L=Rf(n.value,F.value);return{active:ae,disabled:Y,highlighted:L}})),x=(C,F)=>{k(C,F),P(F)},E=(C,F=!1)=>{if(!p.value(C,F)){const G=F?l.value(C)+1:l.value(C)-1;k(G,C)}},P=(C,F=!1,G)=>{F||u("reset-flow"),G!==void 0?f.value[C]=G:f.value[C]=!f.value[C],f.value[C]?u("overlay-toggle",{open:!0,overlay:rn.year}):(u("overlay-closed"),u("overlay-toggle",{open:!1,overlay:rn.year}))};return{isDisabled:p,groupedYears:y,showYearPicker:f,selectYear:k,toggleYearPicker:P,handleYearSelect:x,handleYear:E}},vI=(e,t)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:s,defaultedTransitions:i,defaultedConfig:o,defaultedRange:a,defaultedHighlight:r,propDates:l,defaultedTz:c,defaultedFilters:u,defaultedMultiDates:d}=xt(e),f=()=>{e.isTextInputDate&&M(ze(xe(e.startDate)),0)},{modelValue:p,year:g,month:_,calendars:v}=il(e,t,f),w=_e(()=>qy(e.formatLocale,e.locale,e.monthNameFormat)),A=ve(null),{checkMinMaxRange:$}=Wi(e),{selectYear:M,groupedYears:k,showYearPicker:y,toggleYearPicker:x,handleYearSelect:E,handleYear:P,isDisabled:C}=u0({modelValue:p,multiCalendars:n,range:a,highlight:r,calendars:v,year:g,propDates:l,month:_,filters:u,props:e,emit:t});Kt(()=>{e.startDate&&(p.value&&e.focusStartDate||!p.value)&&M(ze(xe(e.startDate)),0)});const F=I=>I?{month:Qe(I),year:ze(I)}:{month:null,year:null},G=()=>p.value?Array.isArray(p.value)?p.value.map(I=>F(I)):F(p.value):F(),ae=(I,ee)=>{const oe=v.value[I],T=G();return Array.isArray(T)?T.some(se=>se.year===(oe==null?void 0:oe.year)&&se.month===ee):(oe==null?void 0:oe.year)===T.year&&ee===T.month},Y=(I,ee,oe)=>{var T,se;const de=G();return Array.isArray(de)?g.value(ee)===((T=de[oe])==null?void 0:T.year)&&I===((se=de[oe])==null?void 0:se.month):!1},L=(I,ee)=>{if(a.value.enabled){const oe=G();if(Array.isArray(p.value)&&Array.isArray(oe)){const T=Y(I,ee,0)||Y(I,ee,1),se=Us(os(xe()),I,g.value(ee));return cu(p.value,A.value,se)&&!T}return!1}return!1},O=_e(()=>I=>Aa(w.value,ee=>{var oe;const T=ae(I,ee.value),se=jr(ee.value,Qy(g.value(I),l.value.minDate),Zy(g.value(I),l.value.maxDate))||zO(l.value.disabledDates,g.value(I)).includes(ee.value)||((oe=u.value.months)==null?void 0:oe.includes(ee.value)),de=L(ee.value,I),ke=i0(r.value,ee.value,g.value(I));return{active:T,disabled:se,isBetween:de,highlighted:ke}})),V=(I,ee)=>Us(os(xe()),I,g.value(ee)),Q=(I,ee)=>{const oe=p.value?p.value:os(new Date);p.value=Us(oe,I,g.value(ee)),t("auto-apply"),t("update-flow-step")},Z=(I,ee)=>{const oe=V(I,ee);a.value.fixedEnd||a.value.fixedStart?p.value=c0(oe,p,t,a):p.value?$(oe,p.value)&&(p.value=Nf(p,V(I,ee),t)):p.value=[V(I,ee)],Zt().then(()=>{hu(p.value,t,e.autoApply,e.modelAuto)})},le=(I,ee)=>{Lf(V(I,ee),p,d.value.limit),t("auto-apply",!0)},ye=(I,ee)=>(v.value[ee].month=I,X(ee,v.value[ee].year,I),d.value.enabled?le(I,ee):a.value.enabled?Z(I,ee):Q(I,ee)),U=(I,ee)=>{M(I,ee),X(ee,I,null)},X=(I,ee,oe)=>{let T=oe;if(!T&&T!==0){const se=G();T=Array.isArray(se)?se[I].month:se.month}t("update-month-year",{instance:I,year:ee,month:T})};return{groupedMonths:O,groupedYears:k,year:g,isDisabled:C,defaultedMultiCalendars:n,defaultedAriaLabels:s,defaultedTransitions:i,defaultedConfig:o,showYearPicker:y,modelValue:p,presetDate:(I,ee)=>{l0({value:I,modelValue:p,range:a.value.enabled,timezone:ee?void 0:c.value.timezone}),t("auto-apply")},setHoverDate:(I,ee)=>{A.value=V(I,ee)},selectMonth:ye,selectYear:U,toggleYearPicker:x,handleYearSelect:E,handleYear:P,getModelMonthYear:G}},yI=Nt({compatConfig:{MODE:3},__name:"MonthPicker",props:{...fs},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(e,{expose:t,emit:n}){const s=n,i=Oo(),o=On(i,"yearMode"),a=e;Kt(()=>{a.shadow||s("mount",null)});const{groupedMonths:r,groupedYears:l,year:c,isDisabled:u,defaultedMultiCalendars:d,defaultedConfig:f,showYearPicker:p,modelValue:g,presetDate:_,setHoverDate:v,selectMonth:w,selectYear:A,toggleYearPicker:$,handleYearSelect:M,handleYear:k,getModelMonthYear:y}=vI(a,s);return t({getSidebarProps:()=>({modelValue:g,year:c,getModelMonthYear:y,selectMonth:w,selectYear:A,handleYear:k}),presetDate:_,toggleYearPicker:x=>$(0,x)}),(x,E)=>(R(),Ne(du,{"multi-calendars":q(d).count,collapse:x.collapse,stretch:""},{default:Te(({instance:P})=>[x.$slots["top-extra"]?Ie(x.$slots,"top-extra",{key:0,value:x.internalModelValue}):ce("",!0),x.$slots["month-year"]?Ie(x.$slots,"month-year",Xt(zt({key:1},{year:q(c),months:q(r)(P),years:q(l)(P),selectMonth:q(w),selectYear:q(A),instance:P}))):(R(),Ne(nl,{key:2,items:q(r)(P),"arrow-navigation":x.arrowNavigation,"is-last":x.autoApply&&!q(f).keepActionRow,"esc-close":x.escClose,height:q(f).modeHeight,config:x.config,"no-overlay-focus":!!(x.noOverlayFocus||x.textInput),"use-relative":"",type:"month",onSelected:C=>q(w)(C,P),onHoverValue:C=>q(v)(C,P)},un({header:Te(()=>[$e(r0,zt(x.$props,{items:q(l)(P),instance:P,"show-year-picker":q(p)[P],year:q(c)(P),"is-disabled":C=>q(u)(P,C),onHandleYear:C=>q(k)(P,C),onYearSelect:C=>q(M)(C,P),onToggleYearPicker:C=>q($)(P,C==null?void 0:C.flow,C==null?void 0:C.show)}),un({_:2},[qe(q(o),(C,F)=>({name:C,fn:Te(G=>[Ie(x.$slots,C,Xt(mn(G)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[x.$slots["month-overlay-value"]?{name:"item",fn:Te(({item:C})=>[Ie(x.$slots,"month-overlay-value",{text:C.text,value:C.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),wI=(e,t)=>{const n=()=>{e.isTextInputDate&&(u.value=ze(xe(e.startDate)))},{modelValue:s}=il(e,t,n),i=ve(null),{defaultedHighlight:o,defaultedMultiDates:a,defaultedFilters:r,defaultedRange:l,propDates:c}=xt(e),u=ve();Kt(()=>{e.startDate&&(s.value&&e.focusStartDate||!s.value)&&(u.value=ze(xe(e.startDate)))});const d=_=>Array.isArray(s.value)?s.value.some(v=>ze(v)===_):s.value?ze(s.value)===_:!1,f=_=>l.value.enabled&&Array.isArray(s.value)?cu(s.value,i.value,g(_)):!1,p=_e(()=>Aa(Df(e.yearRange,e.locale,e.reverseYears),_=>{const v=d(_.value),w=jr(_.value,$a(c.value.minDate),$a(c.value.maxDate))||r.value.years.includes(_.value),A=f(_.value)&&!v,$=Rf(o.value,_.value);return{active:v,disabled:w,isBetween:A,highlighted:$}})),g=_=>Ss(os(Vr(new Date)),_);return{groupedYears:p,modelValue:s,focusYear:u,setHoverValue:_=>{i.value=Ss(os(new Date),_)},selectYear:_=>{var v;if(t("update-month-year",{instance:0,year:_}),a.value.enabled)return s.value?Array.isArray(s.value)&&(((v=s.value)==null?void 0:v.map(w=>ze(w))).includes(_)?s.value=s.value.filter(w=>ze(w)!==_):s.value.push(Ss(vn(xe()),_))):s.value=[Ss(vn(Vr(xe())),_)],t("auto-apply",!0);l.value.enabled?(s.value=Nf(s,g(_),t),Zt().then(()=>{hu(s.value,t,e.autoApply,e.modelAuto)})):(s.value=g(_),t("auto-apply"))}}},xI=Nt({compatConfig:{MODE:3},__name:"YearPicker",props:{...fs},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(e,{expose:t,emit:n}){const s=n,i=e,{groupedYears:o,modelValue:a,focusYear:r,selectYear:l,setHoverValue:c}=wI(i,s),{defaultedConfig:u}=xt(i);return t({getSidebarProps:()=>({modelValue:a,selectYear:l})}),(d,f)=>(R(),B("div",null,[d.$slots["top-extra"]?Ie(d.$slots,"top-extra",{key:0,value:d.internalModelValue}):ce("",!0),d.$slots["month-year"]?Ie(d.$slots,"month-year",Xt(zt({key:1},{years:q(o),selectYear:q(l)}))):(R(),Ne(nl,{key:2,items:q(o),"is-last":d.autoApply&&!q(u).keepActionRow,height:q(u).modeHeight,config:d.config,"no-overlay-focus":!!(d.noOverlayFocus||d.textInput),"focus-value":q(r),type:"year","use-relative":"",onSelected:q(l),onHoverValue:q(c)},un({_:2},[d.$slots["year-overlay-value"]?{name:"item",fn:Te(({item:p})=>[Ie(d.$slots,"year-overlay-value",{text:p.text,value:p.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),kI={key:0,class:"dp__time_input"},SI=["data-test","aria-label","onKeydown","onClick","onMousedown"],AI=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),$I=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),EI=["aria-label","disabled","data-test","onKeydown","onClick"],CI=["data-test","aria-label","onKeydown","onClick","onMousedown"],PI=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),TI=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),MI={key:0},DI=["aria-label"],OI=Nt({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...fs},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(e,{expose:t,emit:n}){const s=n,i=e,{setTimePickerElements:o,setTimePickerBackRef:a}=ji(),{defaultedAriaLabels:r,defaultedTransitions:l,defaultedFilters:c,defaultedConfig:u,defaultedRange:d}=xt(i),{transitionName:f,showTransition:p}=sl(l),g=Ms({hours:!1,minutes:!1,seconds:!1}),_=ve("AM"),v=ve(null),w=ve([]),A=ve(),$=ve(!1);Kt(()=>{s("mounted")});const M=b=>ft(new Date,{hours:b.hours,minutes:b.minutes,seconds:i.enableSeconds?b.seconds:0,milliseconds:0}),k=_e(()=>b=>V(b,i[b])||x(b,i[b])),y=_e(()=>({hours:i.hours,minutes:i.minutes,seconds:i.seconds})),x=(b,D)=>d.value.enabled&&!d.value.disableTimeRangeValidation?!i.validateTime(b,D):!1,E=(b,D)=>{if(d.value.enabled&&!d.value.disableTimeRangeValidation){const H=D?+i[`${b}Increment`]:-+i[`${b}Increment`],W=i[b]+H;return!i.validateTime(b,W)}return!1},P=_e(()=>b=>!U(+i[b]+ +i[`${b}Increment`],b)||E(b,!0)),C=_e(()=>b=>!U(+i[b]-+i[`${b}Increment`],b)||E(b,!1)),F=(b,D)=>$y(ft(xe(),b),D),G=(b,D)=>AO(ft(xe(),b),D),ae=_e(()=>({dp__time_col:!0,dp__time_col_block:!i.timePickerInline,dp__time_col_reg_block:!i.enableSeconds&&i.is24&&!i.timePickerInline,dp__time_col_reg_inline:!i.enableSeconds&&i.is24&&i.timePickerInline,dp__time_col_reg_with_button:!i.enableSeconds&&!i.is24,dp__time_col_sec:i.enableSeconds&&i.is24,dp__time_col_sec_with_button:i.enableSeconds&&!i.is24})),Y=_e(()=>{const b=[{type:"hours"}];return i.enableMinutes&&b.push({type:"",separator:!0},{type:"minutes"}),i.enableSeconds&&b.push({type:"",separator:!0},{type:"seconds"}),b}),L=_e(()=>Y.value.filter(b=>!b.separator)),O=_e(()=>b=>{if(b==="hours"){const D=se(+i.hours);return{text:D<10?`0${D}`:`${D}`,value:D}}return{text:i[b]<10?`0${i[b]}`:`${i[b]}`,value:i[b]}}),V=(b,D)=>{var H;if(!i.disabledTimesConfig)return!1;const W=i.disabledTimesConfig(i.order,b==="hours"?D:void 0);return W[b]?!!((H=W[b])!=null&&H.includes(D)):!0},Q=(b,D)=>D!=="hours"||_.value==="AM"?b:b+12,Z=b=>{const D=i.is24?24:12,H=b==="hours"?D:60,W=+i[`${b}GridIncrement`],ie=b==="hours"&&!i.is24?W:0,j=[];for(let te=ie;te({active:!1,disabled:c.value.times[b].includes(te.value)||!U(te.value,b)||V(b,te.value)||x(b,te.value)}))},le=b=>b>=0?b:59,ye=b=>b>=0?b:23,U=(b,D)=>{const H=i.minTime?M(td(i.minTime)):null,W=i.maxTime?M(td(i.maxTime)):null,ie=M(td(y.value,D,D==="minutes"||D==="seconds"?le(b):ye(b)));return H&&W?(Hr(ie,W)||na(ie,W))&&(ka(ie,H)||na(ie,H)):H?ka(ie,H)||na(ie,H):W?Hr(ie,W)||na(ie,W):!0},X=b=>i[`no${b[0].toUpperCase()+b.slice(1)}Overlay`],I=b=>{X(b)||(g[b]=!g[b],g[b]?($.value=!0,s("overlay-opened",b)):($.value=!1,s("overlay-closed",b)))},ee=b=>b==="hours"?Zs:b==="minutes"?Ri:xa,oe=()=>{A.value&&clearTimeout(A.value)},T=(b,D=!0,H)=>{const W=D?F:G,ie=D?+i[`${b}Increment`]:-+i[`${b}Increment`];U(+i[b]+ie,b)&&s(`update:${b}`,ee(b)(W({[b]:+i[b]},{[b]:+i[`${b}Increment`]}))),!(H!=null&&H.keyboard)&&u.value.timeArrowHoldThreshold&&(A.value=setTimeout(()=>{T(b,D)},u.value.timeArrowHoldThreshold))},se=b=>i.is24?b:(b>=12?_.value="PM":_.value="AM",MO(b)),de=()=>{_.value==="PM"?(_.value="AM",s("update:hours",i.hours-12)):(_.value="PM",s("update:hours",i.hours+12)),s("am-pm-change",_.value)},ke=b=>{g[b]=!0},N=(b,D,H)=>{if(b&&i.arrowNavigation){Array.isArray(w.value[D])?w.value[D][H]=b:w.value[D]=[b];const W=w.value.reduce((ie,j)=>j.map((te,J)=>[...ie[J]||[],j[J]]),[]);a(i.closeTimePickerBtn),v.value&&(W[1]=W[1].concat(v.value)),o(W,i.order)}},fe=(b,D)=>(I(b),s(`update:${b}`,D));return t({openChildCmp:ke}),(b,D)=>{var H;return b.disabled?ce("",!0):(R(),B("div",kI,[(R(!0),B(Me,null,qe(Y.value,(W,ie)=>{var j,te,J;return R(),B("div",{key:ie,class:Pe(ae.value)},[W.separator?(R(),B(Me,{key:0},[$.value?ce("",!0):(R(),B(Me,{key:0},[we(":")],64))],64)):(R(),B(Me,{key:1},[h("button",{ref_for:!0,ref:he=>N(he,ie,0),type:"button",class:Pe({dp__btn:!0,dp__inc_dec_button:!b.timePickerInline,dp__inc_dec_button_inline:b.timePickerInline,dp__tp_inline_btn_top:b.timePickerInline,dp__inc_dec_button_disabled:P.value(W.type),"dp--hidden-el":$.value}),"data-test":`${W.type}-time-inc-btn-${i.order}`,"aria-label":(j=q(r))==null?void 0:j.incrementValue(W.type),tabindex:"0",onKeydown:he=>q(gn)(he,()=>T(W.type,!0,{keyboard:!0}),!0),onClick:he=>q(u).timeArrowHoldThreshold?void 0:T(W.type,!0),onMousedown:he=>q(u).timeArrowHoldThreshold?T(W.type,!0):void 0,onMouseup:oe},[i.timePickerInline?(R(),B(Me,{key:1},[b.$slots["tp-inline-arrow-up"]?Ie(b.$slots,"tp-inline-arrow-up",{key:0}):(R(),B(Me,{key:1},[AI,$I],64))],64)):(R(),B(Me,{key:0},[b.$slots["arrow-up"]?Ie(b.$slots,"arrow-up",{key:0}):ce("",!0),b.$slots["arrow-up"]?ce("",!0):(R(),Ne(q(Pf),{key:1}))],64))],42,SI),h("button",{ref_for:!0,ref:he=>N(he,ie,1),type:"button","aria-label":`${O.value(W.type).text}-${(te=q(r))==null?void 0:te.openTpOverlay(W.type)}`,class:Pe({dp__time_display:!0,dp__time_display_block:!b.timePickerInline,dp__time_display_inline:b.timePickerInline,"dp--time-invalid":k.value(W.type),"dp--time-overlay-btn":!k.value(W.type),"dp--hidden-el":$.value}),disabled:X(W.type),tabindex:"0","data-test":`${W.type}-toggle-overlay-btn-${i.order}`,onKeydown:he=>q(gn)(he,()=>I(W.type),!0),onClick:he=>I(W.type)},[b.$slots[W.type]?Ie(b.$slots,W.type,{key:0,text:O.value(W.type).text,value:O.value(W.type).value}):ce("",!0),b.$slots[W.type]?ce("",!0):(R(),B(Me,{key:1},[we(be(O.value(W.type).text),1)],64))],42,EI),h("button",{ref_for:!0,ref:he=>N(he,ie,2),type:"button",class:Pe({dp__btn:!0,dp__inc_dec_button:!b.timePickerInline,dp__inc_dec_button_inline:b.timePickerInline,dp__tp_inline_btn_bottom:b.timePickerInline,dp__inc_dec_button_disabled:C.value(W.type),"dp--hidden-el":$.value}),"data-test":`${W.type}-time-dec-btn-${i.order}`,"aria-label":(J=q(r))==null?void 0:J.decrementValue(W.type),tabindex:"0",onKeydown:he=>q(gn)(he,()=>T(W.type,!1,{keyboard:!0}),!0),onClick:he=>q(u).timeArrowHoldThreshold?void 0:T(W.type,!1),onMousedown:he=>q(u).timeArrowHoldThreshold?T(W.type,!1):void 0,onMouseup:oe},[i.timePickerInline?(R(),B(Me,{key:1},[b.$slots["tp-inline-arrow-down"]?Ie(b.$slots,"tp-inline-arrow-down",{key:0}):(R(),B(Me,{key:1},[PI,TI],64))],64)):(R(),B(Me,{key:0},[b.$slots["arrow-down"]?Ie(b.$slots,"arrow-down",{key:0}):ce("",!0),b.$slots["arrow-down"]?ce("",!0):(R(),Ne(q(Tf),{key:1}))],64))],42,CI)],64))],2)}),128)),b.is24?ce("",!0):(R(),B("div",MI,[b.$slots["am-pm-button"]?Ie(b.$slots,"am-pm-button",{key:0,toggle:de,value:_.value}):ce("",!0),b.$slots["am-pm-button"]?ce("",!0):(R(),B("button",{key:1,ref_key:"amPmButton",ref:v,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(H=q(r))==null?void 0:H.amPmButton,tabindex:"0",onClick:de,onKeydown:D[0]||(D[0]=W=>q(gn)(W,()=>de(),!0))},be(_.value),41,DI))])),(R(!0),B(Me,null,qe(L.value,(W,ie)=>(R(),Ne(Bt,{key:ie,name:q(f)(g[W.type]),css:q(p)},{default:Te(()=>{var j,te;return[g[W.type]?(R(),Ne(nl,{key:0,items:Z(W.type),"is-last":b.autoApply&&!q(u).keepActionRow,"esc-close":b.escClose,type:W.type,"text-input":b.textInput,config:b.config,"arrow-navigation":b.arrowNavigation,"aria-labels":b.ariaLabels,"overlay-label":(te=(j=q(r)).timeOverlay)==null?void 0:te.call(j,W.type),onSelected:J=>fe(W.type,J),onToggle:J=>I(W.type),onResetFlow:D[1]||(D[1]=J=>b.$emit("reset-flow"))},un({"button-icon":Te(()=>[b.$slots["clock-icon"]?Ie(b.$slots,"clock-icon",{key:0}):ce("",!0),b.$slots["clock-icon"]?ce("",!0):(R(),Ne(Do(b.timePickerInline?q(Na):q(Cf)),{key:1}))]),_:2},[b.$slots[`${W.type}-overlay-value`]?{name:"item",fn:Te(({item:J})=>[Ie(b.$slots,`${W.type}-overlay-value`,{text:J.text,value:J.value})]),key:"0"}:void 0,b.$slots[`${W.type}-overlay-header`]?{name:"header",fn:Te(()=>[Ie(b.$slots,`${W.type}-overlay-header`,{toggle:()=>I(W.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):ce("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),II={class:"dp--tp-wrap"},RI=["aria-label","tabindex"],LI=["role","aria-label","tabindex"],NI=["aria-label"],d0=Nt({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...fs},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(e,{expose:t,emit:n}){const s=n,i=e,{buildMatrix:o,setTimePicker:a}=ji(),r=Oo(),{defaultedTransitions:l,defaultedAriaLabels:c,defaultedTextInput:u,defaultedConfig:d,defaultedRange:f}=xt(i),{transitionName:p,showTransition:g}=sl(l),{hideNavigationButtons:_}=fu(),v=ve(null),w=ve(null),A=ve([]),$=ve(null),M=ve(!1);Kt(()=>{s("mount"),!i.timePicker&&i.arrowNavigation?o([Ht(v.value)],"time"):a(!0,i.timePicker)});const k=_e(()=>f.value.enabled&&i.modelAuto?Gy(i.internalModelValue):!0),y=ve(!1),x=Z=>({hours:Array.isArray(i.hours)?i.hours[Z]:i.hours,minutes:Array.isArray(i.minutes)?i.minutes[Z]:i.minutes,seconds:Array.isArray(i.seconds)?i.seconds[Z]:i.seconds}),E=_e(()=>{const Z=[];if(f.value.enabled)for(let le=0;le<2;le++)Z.push(x(le));else Z.push(x(0));return Z}),P=(Z,le=!1,ye="")=>{le||s("reset-flow"),y.value=Z,s(Z?"overlay-opened":"overlay-closed",rn.time),i.arrowNavigation&&a(Z),Zt(()=>{ye!==""&&A.value[0]&&A.value[0].openChildCmp(ye)})},C=_e(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:i.autoApply&&!d.value.keepActionRow})),F=On(r,"timePicker"),G=(Z,le,ye)=>f.value.enabled?le===0?[Z,E.value[1][ye]]:[E.value[0][ye],Z]:Z,ae=Z=>{s("update:hours",Z)},Y=Z=>{s("update:minutes",Z)},L=Z=>{s("update:seconds",Z)},O=()=>{if($.value&&!u.value.enabled&&!i.noOverlayFocus){const Z=Jy($.value);Z&&Z.focus({preventScroll:!0})}},V=Z=>{M.value=!1,s("overlay-closed",Z)},Q=Z=>{M.value=!0,s("overlay-opened",Z)};return t({toggleTimePicker:P}),(Z,le)=>{var ye;return R(),B("div",II,[!Z.timePicker&&!Z.timePickerInline?Le((R(),B("button",{key:0,ref_key:"openTimePickerBtn",ref:v,type:"button",class:Pe({...C.value,"dp--hidden-el":y.value}),"aria-label":(ye=q(c))==null?void 0:ye.openTimePicker,tabindex:Z.noOverlayFocus?void 0:0,"data-test":"open-time-picker-btn",onKeydown:le[0]||(le[0]=U=>q(gn)(U,()=>P(!0))),onClick:le[1]||(le[1]=U=>P(!0))},[Z.$slots["clock-icon"]?Ie(Z.$slots,"clock-icon",{key:0}):ce("",!0),Z.$slots["clock-icon"]?ce("",!0):(R(),Ne(q(Cf),{key:1}))],42,RI)),[[ac,!q(_)(Z.hideNavigation,"time")]]):ce("",!0),$e(Bt,{name:q(p)(y.value),css:q(g)&&!Z.timePickerInline},{default:Te(()=>{var U,X;return[y.value||Z.timePicker||Z.timePickerInline?(R(),B("div",{key:0,ref_key:"overlayRef",ref:$,role:Z.timePickerInline?void 0:"dialog",class:Pe({dp__overlay:!Z.timePickerInline,"dp--overlay-absolute":!i.timePicker&&!Z.timePickerInline,"dp--overlay-relative":i.timePicker}),style:jt(Z.timePicker?{height:`${q(d).modeHeight}px`}:void 0),"aria-label":(U=q(c))==null?void 0:U.timePicker,tabindex:Z.timePickerInline?void 0:0},[h("div",{class:Pe(Z.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[Z.$slots["time-picker-overlay"]?Ie(Z.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:ae,setMinutes:Y,setSeconds:L}):ce("",!0),Z.$slots["time-picker-overlay"]?ce("",!0):(R(),B("div",{key:1,class:Pe(Z.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(R(!0),B(Me,null,qe(E.value,(I,ee)=>Le((R(),Ne(OI,zt({key:ee,ref_for:!0},{...Z.$props,order:ee,hours:I.hours,minutes:I.minutes,seconds:I.seconds,closeTimePickerBtn:w.value,disabledTimesConfig:e.disabledTimesConfig,disabled:ee===0?q(f).fixedStart:q(f).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:A,"validate-time":(oe,T)=>e.validateTime(oe,G(T,ee,oe)),"onUpdate:hours":oe=>ae(G(oe,ee,"hours")),"onUpdate:minutes":oe=>Y(G(oe,ee,"minutes")),"onUpdate:seconds":oe=>L(G(oe,ee,"seconds")),onMounted:O,onOverlayClosed:V,onOverlayOpened:Q,onAmPmChange:le[2]||(le[2]=oe=>Z.$emit("am-pm-change",oe))}),un({_:2},[qe(q(F),(oe,T)=>({name:oe,fn:Te(se=>[Ie(Z.$slots,oe,zt({ref_for:!0},se))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[ac,ee===0?!0:k.value]])),128))],2)),!Z.timePicker&&!Z.timePickerInline?Le((R(),B("button",{key:2,ref_key:"closeTimePickerBtn",ref:w,type:"button",class:Pe({...C.value,"dp--hidden-el":M.value}),"aria-label":(X=q(c))==null?void 0:X.closeTimePicker,tabindex:"0",onKeydown:le[3]||(le[3]=I=>q(gn)(I,()=>P(!1))),onClick:le[4]||(le[4]=I=>P(!1))},[Z.$slots["calendar-icon"]?Ie(Z.$slots,"calendar-icon",{key:0}):ce("",!0),Z.$slots["calendar-icon"]?ce("",!0):(R(),Ne(q(Na),{key:1}))],42,NI)),[[ac,!q(_)(Z.hideNavigation,"time")]]):ce("",!0)],2)],14,LI)):ce("",!0)]}),_:3},8,["name","css"])])}}}),h0=(e,t,n,s)=>{const{defaultedRange:i}=xt(e),o=($,M)=>Array.isArray(t[$])?t[$][M]:t[$],a=$=>e.enableSeconds?Array.isArray(t.seconds)?t.seconds[$]:t.seconds:0,r=($,M)=>$?M!==void 0?Ti($,o("hours",M),o("minutes",M),a(M)):Ti($,t.hours,t.minutes,a()):Yy(xe(),a(M)),l=($,M)=>{t[$]=M},c=_e(()=>e.modelAuto&&i.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:i.value.enabled),u=($,M)=>{const k=Object.fromEntries(Object.keys(t).map(y=>y===$?[y,M]:[y,t[y]].slice()));if(c.value&&!i.value.disableTimeRangeValidation){const y=E=>n.value?Ti(n.value[E],k.hours[E],k.minutes[E],k.seconds[E]):null,x=E=>zy(n.value[E],0);return!(tt(y(0),y(1))&&(ka(y(0),x(1))||Hr(y(1),x(0))))}return!0},d=($,M)=>{u($,M)&&(l($,M),s&&s())},f=$=>{d("hours",$)},p=$=>{d("minutes",$)},g=$=>{d("seconds",$)},_=($,M,k,y)=>{M&&f($),!M&&!k&&p($),k&&g($),n.value&&y(n.value)},v=$=>{if($){const M=Array.isArray($),k=M?[+$[0].hours,+$[1].hours]:+$.hours,y=M?[+$[0].minutes,+$[1].minutes]:+$.minutes,x=M?[+$[0].seconds,+$[1].seconds]:+$.seconds;l("hours",k),l("minutes",y),e.enableSeconds&&l("seconds",x)}},w=($,M)=>{const k={hours:Array.isArray(t.hours)?t.hours[$]:t.hours,disabledArr:[]};return(M||M===0)&&(k.hours=M),Array.isArray(e.disabledTimes)&&(k.disabledArr=i.value.enabled&&Array.isArray(e.disabledTimes[$])?e.disabledTimes[$]:e.disabledTimes),k},A=_e(()=>($,M)=>{var k;if(Array.isArray(e.disabledTimes)){const{disabledArr:y,hours:x}=w($,M),E=y.filter(P=>+P.hours===x);return((k=E[0])==null?void 0:k.minutes)==="*"?{hours:[x],minutes:void 0,seconds:void 0}:{hours:[],minutes:(E==null?void 0:E.map(P=>+P.minutes))??[],seconds:(E==null?void 0:E.map(P=>P.seconds?+P.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:l,updateHours:f,updateMinutes:p,updateSeconds:g,getSetDateTime:r,updateTimeValues:_,getSecondsValue:a,assignStartTime:v,validateTime:u,disabledTimesConfig:A}},FI=(e,t)=>{const n=()=>{e.isTextInputDate&&M()},{modelValue:s,time:i}=il(e,t,n),{defaultedStartTime:o,defaultedRange:a,defaultedTz:r}=xt(e),{updateTimeValues:l,getSetDateTime:c,setTime:u,assignStartTime:d,disabledTimesConfig:f,validateTime:p}=h0(e,i,s,g);function g(){t("update-flow-step")}const _=y=>{const{hours:x,minutes:E,seconds:P}=y;return{hours:+x,minutes:+E,seconds:P?+P:0}},v=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const x=_(e.startTime[0]),E=_(e.startTime[1]);return[ft(xe(),x),ft(xe(),E)]}const y=_(e.startTime);return ft(xe(),y)}return a.value.enabled?[null,null]:null},w=()=>{if(a.value.enabled){const[y,x]=v();s.value=[An(c(y,0),r.value.timezone),An(c(x,1),r.value.timezone)]}else s.value=An(c(v()),r.value.timezone)},A=y=>Array.isArray(y)?[xo(xe(y[0])),xo(xe(y[1]))]:[xo(y??xe())],$=(y,x,E)=>{u("hours",y),u("minutes",x),u("seconds",e.enableSeconds?E:0)},M=()=>{const[y,x]=A(s.value);return a.value.enabled?$([y.hours,x.hours],[y.minutes,x.minutes],[y.seconds,x.seconds]):$(y.hours,y.minutes,y.seconds)};Kt(()=>{if(!e.shadow)return d(o.value),s.value?M():w()});const k=()=>{Array.isArray(s.value)?s.value=s.value.map((y,x)=>y&&c(y,x)):s.value=c(s.value),t("time-update")};return{modelValue:s,time:i,disabledTimesConfig:f,updateTime:(y,x=!0,E=!1)=>{l(y,x,E,k)},validateTime:p}},BI=Nt({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...fs},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(e,{expose:t,emit:n}){const s=n,i=e,o=Oo(),a=On(o,"timePicker"),r=ve(null),{time:l,modelValue:c,disabledTimesConfig:u,updateTime:d,validateTime:f}=FI(i,s);return Kt(()=>{i.shadow||s("mount",null)}),t({getSidebarProps:()=>({modelValue:c,time:l,updateTime:d}),toggleTimePicker:(p,g=!1,_="")=>{var v;(v=r.value)==null||v.toggleTimePicker(p,g,_)}}),(p,g)=>(R(),Ne(du,{"multi-calendars":0,stretch:""},{default:Te(()=>[$e(d0,zt({ref_key:"tpRef",ref:r},p.$props,{hours:q(l).hours,minutes:q(l).minutes,seconds:q(l).seconds,"internal-model-value":p.internalModelValue,"disabled-times-config":q(u),"validate-time":q(f),"onUpdate:hours":g[0]||(g[0]=_=>q(d)(_)),"onUpdate:minutes":g[1]||(g[1]=_=>q(d)(_,!1)),"onUpdate:seconds":g[2]||(g[2]=_=>q(d)(_,!1,!0)),onAmPmChange:g[3]||(g[3]=_=>p.$emit("am-pm-change",_)),onResetFlow:g[4]||(g[4]=_=>p.$emit("reset-flow")),onOverlayClosed:g[5]||(g[5]=_=>p.$emit("overlay-toggle",{open:!1,overlay:_})),onOverlayOpened:g[6]||(g[6]=_=>p.$emit("overlay-toggle",{open:!0,overlay:_}))}),un({_:2},[qe(q(a),(_,v)=>({name:_,fn:Te(w=>[Ie(p.$slots,_,Xt(mn(w)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),VI={class:"dp--header-wrap"},HI={key:0,class:"dp__month_year_wrap"},jI={key:0},WI={class:"dp__month_year_wrap"},zI=["data-dp-element","aria-label","data-test","onClick","onKeydown"],YI=Nt({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...fs},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(e,{expose:t,emit:n}){const s=n,i=e,{defaultedTransitions:o,defaultedAriaLabels:a,defaultedMultiCalendars:r,defaultedFilters:l,defaultedConfig:c,defaultedHighlight:u,propDates:d,defaultedUI:f}=xt(i),{transitionName:p,showTransition:g}=sl(o),{buildMatrix:_}=ji(),{handleMonthYearChange:v,isDisabled:w,updateMonthYear:A}=cI(i,s),{showLeftIcon:$,showRightIcon:M}=fu(),k=ve(!1),y=ve(!1),x=ve(!1),E=ve([null,null,null,null]);Kt(()=>{s("mount")});const P=X=>({get:()=>i[X],set:I=>{const ee=X===ts.month?ts.year:ts.month;s("update-month-year",{[X]:I,[ee]:i[ee]}),X===ts.month?V(!0):Q(!0)}}),C=_e(P(ts.month)),F=_e(P(ts.year)),G=_e(()=>X=>({month:i.month,year:i.year,items:X===ts.month?i.months:i.years,instance:i.instance,updateMonthYear:A,toggle:X===ts.month?V:Q})),ae=_e(()=>i.months.find(I=>I.value===i.month)||{text:"",value:0}),Y=_e(()=>Aa(i.months,X=>{const I=i.month===X.value,ee=jr(X.value,Qy(i.year,d.value.minDate),Zy(i.year,d.value.maxDate))||l.value.months.includes(X.value),oe=i0(u.value,X.value,i.year);return{active:I,disabled:ee,highlighted:oe}})),L=_e(()=>Aa(i.years,X=>{const I=i.year===X.value,ee=jr(X.value,$a(d.value.minDate),$a(d.value.maxDate))||l.value.years.includes(X.value),oe=Rf(u.value,X.value);return{active:I,disabled:ee,highlighted:oe}})),O=(X,I,ee)=>{ee!==void 0?X.value=ee:X.value=!X.value,X.value?(x.value=!0,s("overlay-opened",I)):(x.value=!1,s("overlay-closed",I))},V=(X=!1,I)=>{Z(X),O(k,rn.month,I)},Q=(X=!1,I)=>{Z(X),O(y,rn.year,I)},Z=X=>{X||s("reset-flow")},le=(X,I)=>{i.arrowNavigation&&(E.value[I]=Ht(X),_(E.value,"monthYear"))},ye=_e(()=>{var X,I,ee,oe,T,se;return[{type:ts.month,index:1,toggle:V,modelValue:C.value,updateModelValue:de=>C.value=de,text:ae.value.text,showSelectionGrid:k.value,items:Y.value,ariaLabel:(X=a.value)==null?void 0:X.openMonthsOverlay,overlayLabel:((ee=(I=a.value).monthPicker)==null?void 0:ee.call(I,!0))??void 0},{type:ts.year,index:2,toggle:Q,modelValue:F.value,updateModelValue:de=>F.value=de,text:Xy(i.year,i.locale),showSelectionGrid:y.value,items:L.value,ariaLabel:(oe=a.value)==null?void 0:oe.openYearsOverlay,overlayLabel:((se=(T=a.value).yearPicker)==null?void 0:se.call(T,!0))??void 0}]}),U=_e(()=>i.disableYearSelect?[ye.value[0]]:i.yearFirst?[...ye.value].reverse():ye.value);return t({toggleMonthPicker:V,toggleYearPicker:Q,handleMonthYearChange:v}),(X,I)=>{var ee,oe,T,se,de,ke;return R(),B("div",VI,[X.$slots["month-year"]?(R(),B("div",HI,[Ie(X.$slots,"month-year",Xt(mn({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:q(A),handleMonthYearChange:q(v),instance:e.instance})))])):(R(),B(Me,{key:1},[X.$slots["top-extra"]?(R(),B("div",jI,[Ie(X.$slots,"top-extra",{value:X.internalModelValue})])):ce("",!0),h("div",WI,[q($)(q(r),e.instance)&&!X.vertical?(R(),Ne(xr,{key:0,"aria-label":(ee=q(a))==null?void 0:ee.prevMonth,disabled:q(w)(!1),class:Pe((oe=q(f))==null?void 0:oe.navBtnPrev),"el-name":"action-prev",onActivate:I[0]||(I[0]=N=>q(v)(!1,!0)),onSetRef:I[1]||(I[1]=N=>le(N,0))},{default:Te(()=>[X.$slots["arrow-left"]?Ie(X.$slots,"arrow-left",{key:0}):ce("",!0),X.$slots["arrow-left"]?ce("",!0):(R(),Ne(q($f),{key:1}))]),_:3},8,["aria-label","disabled","class"])):ce("",!0),h("div",{class:Pe(["dp__month_year_wrap",{dp__year_disable_select:X.disableYearSelect}])},[(R(!0),B(Me,null,qe(U.value,(N,fe)=>(R(),B(Me,{key:N.type},[h("button",{ref_for:!0,ref:b=>le(b,fe+1),type:"button","data-dp-element":`overlay-${N.type}`,class:Pe(["dp__btn dp__month_year_select",{"dp--hidden-el":x.value}]),"aria-label":`${N.text}-${N.ariaLabel}`,"data-test":`${N.type}-toggle-overlay-${e.instance}`,onClick:N.toggle,onKeydown:b=>q(gn)(b,()=>N.toggle(),!0)},[X.$slots[N.type]?Ie(X.$slots,N.type,{key:0,text:N.text,value:i[N.type]}):ce("",!0),X.$slots[N.type]?ce("",!0):(R(),B(Me,{key:1},[we(be(N.text),1)],64))],42,zI),$e(Bt,{name:q(p)(N.showSelectionGrid),css:q(g)},{default:Te(()=>[N.showSelectionGrid?(R(),Ne(nl,{key:0,items:N.items,"arrow-navigation":X.arrowNavigation,"hide-navigation":X.hideNavigation,"is-last":X.autoApply&&!q(c).keepActionRow,"skip-button-ref":!1,config:X.config,type:N.type,"header-refs":[],"esc-close":X.escClose,"menu-wrap-ref":X.menuWrapRef,"text-input":X.textInput,"aria-labels":X.ariaLabels,"overlay-label":N.overlayLabel,onSelected:N.updateModelValue,onToggle:N.toggle},un({"button-icon":Te(()=>[X.$slots["calendar-icon"]?Ie(X.$slots,"calendar-icon",{key:0}):ce("",!0),X.$slots["calendar-icon"]?ce("",!0):(R(),Ne(q(Na),{key:1}))]),_:2},[X.$slots[`${N.type}-overlay-value`]?{name:"item",fn:Te(({item:b})=>[Ie(X.$slots,`${N.type}-overlay-value`,{text:b.text,value:b.value})]),key:"0"}:void 0,X.$slots[`${N.type}-overlay`]?{name:"overlay",fn:Te(()=>[Ie(X.$slots,`${N.type}-overlay`,zt({ref_for:!0},G.value(N.type)))]),key:"1"}:void 0,X.$slots[`${N.type}-overlay-header`]?{name:"header",fn:Te(()=>[Ie(X.$slots,`${N.type}-overlay-header`,{toggle:N.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):ce("",!0)]),_:2},1032,["name","css"])],64))),128))],2),q($)(q(r),e.instance)&&X.vertical?(R(),Ne(xr,{key:1,"aria-label":(T=q(a))==null?void 0:T.prevMonth,"el-name":"action-prev",disabled:q(w)(!1),class:Pe((se=q(f))==null?void 0:se.navBtnPrev),onActivate:I[2]||(I[2]=N=>q(v)(!1,!0))},{default:Te(()=>[X.$slots["arrow-up"]?Ie(X.$slots,"arrow-up",{key:0}):ce("",!0),X.$slots["arrow-up"]?ce("",!0):(R(),Ne(q(Pf),{key:1}))]),_:3},8,["aria-label","disabled","class"])):ce("",!0),q(M)(q(r),e.instance)?(R(),Ne(xr,{key:2,ref:"rightIcon","el-name":"action-next",disabled:q(w)(!0),"aria-label":(de=q(a))==null?void 0:de.nextMonth,class:Pe((ke=q(f))==null?void 0:ke.navBtnNext),onActivate:I[3]||(I[3]=N=>q(v)(!0,!0)),onSetRef:I[4]||(I[4]=N=>le(N,X.disableYearSelect?2:3))},{default:Te(()=>[X.$slots[X.vertical?"arrow-down":"arrow-right"]?Ie(X.$slots,X.vertical?"arrow-down":"arrow-right",{key:0}):ce("",!0),X.$slots[X.vertical?"arrow-down":"arrow-right"]?ce("",!0):(R(),Ne(Do(X.vertical?q(Tf):q(Ef)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):ce("",!0)])],64))])}}}),UI={class:"dp__calendar_header",role:"row"},KI={key:0,class:"dp__calendar_header_item",role:"gridcell"},qI=["aria-label"],GI=h("div",{class:"dp__calendar_header_separator"},null,-1),JI={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},XI={class:"dp__cell_inner"},QI=["id","aria-pressed","aria-disabled","aria-label","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],ZI=Nt({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...fs},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(e,{expose:t,emit:n}){const s=n,i=e,{buildMultiLevelMatrix:o}=ji(),{defaultedTransitions:a,defaultedConfig:r,defaultedAriaLabels:l,defaultedMultiCalendars:c,defaultedWeekNumbers:u,defaultedMultiDates:d,defaultedUI:f}=xt(i),p=ve(null),g=ve({bottom:"",left:"",transform:""}),_=ve([]),v=ve(null),w=ve(!0),A=ve(""),$=ve({startX:0,endX:0,startY:0,endY:0}),M=ve([]),k=ve({left:"50%"}),y=ve(!1),x=_e(()=>i.calendar?i.calendar(i.mappedDates):i.mappedDates),E=_e(()=>i.dayNames?Array.isArray(i.dayNames)?i.dayNames:i.dayNames(i.locale,+i.weekStart):TO(i.formatLocale,i.locale,+i.weekStart));Kt(()=>{s("mount",{cmp:"calendar",refs:_}),r.value.noSwipe||v.value&&(v.value.addEventListener("touchstart",le,{passive:!1}),v.value.addEventListener("touchend",ye,{passive:!1}),v.value.addEventListener("touchmove",U,{passive:!1})),i.monthChangeOnScroll&&v.value&&v.value.addEventListener("wheel",ee,{passive:!1})});const P=N=>N?i.vertical?"vNext":"next":i.vertical?"vPrevious":"previous",C=(N,fe)=>{if(i.transitions){const b=vn(Us(xe(),i.month,i.year));A.value=Dt(vn(Us(xe(),N,fe)),b)?a.value[P(!0)]:a.value[P(!1)],w.value=!1,Zt(()=>{w.value=!0})}},F=_e(()=>({...f.value.calendar??{}})),G=_e(()=>N=>{const fe=DO(N);return{dp__marker_dot:fe.type==="dot",dp__marker_line:fe.type==="line"}}),ae=_e(()=>N=>tt(N,p.value)),Y=_e(()=>({dp__calendar:!0,dp__calendar_next:c.value.count>0&&i.instance!==0})),L=_e(()=>N=>i.hideOffsetDates?N.current:!0),O=async(N,fe)=>{const{width:b,height:D}=N.getBoundingClientRect();p.value=fe.value;let H={left:`${b/2}px`},W=-50;if(await Zt(),M.value[0]){const{left:ie,width:j}=M.value[0].getBoundingClientRect();ie<0&&(H={left:"0"},W=0,k.value.left=`${b/2}px`),window.innerWidth{var D,H,W;const ie=Ht(_.value[fe][b]);ie&&((D=N.marker)!=null&&D.customPosition&&(W=(H=N.marker)==null?void 0:H.tooltip)!=null&&W.length?g.value=N.marker.customPosition(ie):await O(ie,N),s("tooltip-open",N.marker))},Q=async(N,fe,b)=>{var D,H;if(y.value&&d.value.enabled&&d.value.dragSelect)return s("select-date",N);s("set-hover-date",N),(H=(D=N.marker)==null?void 0:D.tooltip)!=null&&H.length&&await V(N,fe,b)},Z=N=>{p.value&&(p.value=null,g.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),s("tooltip-close",N.marker))},le=N=>{$.value.startX=N.changedTouches[0].screenX,$.value.startY=N.changedTouches[0].screenY},ye=N=>{$.value.endX=N.changedTouches[0].screenX,$.value.endY=N.changedTouches[0].screenY,X()},U=N=>{i.vertical&&!i.inline&&N.preventDefault()},X=()=>{const N=i.vertical?"Y":"X";Math.abs($.value[`start${N}`]-$.value[`end${N}`])>10&&s("handle-swipe",$.value[`start${N}`]>$.value[`end${N}`]?"right":"left")},I=(N,fe,b)=>{N&&(Array.isArray(_.value[fe])?_.value[fe][b]=N:_.value[fe]=[N]),i.arrowNavigation&&o(_.value,"calendar")},ee=N=>{i.monthChangeOnScroll&&(N.preventDefault(),s("handle-scroll",N))},oe=N=>u.value.type==="local"?kf(N.value,{weekStartsOn:+i.weekStart}):u.value.type==="iso"?wf(N.value):typeof u.value.type=="function"?u.value.type(N.value):"",T=N=>{const fe=N[0];return u.value.hideOnOffsetDates?N.some(b=>b.current)?oe(fe):"":oe(fe)},se=(N,fe,b=!0)=>{b&&NO()||d.value.enabled||(Pi(N,r.value),s("select-date",fe))},de=N=>{Pi(N,r.value)},ke=N=>{d.value.enabled&&d.value.dragSelect?(y.value=!0,s("select-date",N)):d.value.enabled&&s("select-date",N)};return t({triggerTransition:C}),(N,fe)=>(R(),B("div",{class:Pe(Y.value)},[h("div",{ref_key:"calendarWrapRef",ref:v,class:Pe(F.value),role:"grid"},[h("div",UI,[N.weekNumbers?(R(),B("div",KI,be(N.weekNumName),1)):ce("",!0),(R(!0),B(Me,null,qe(E.value,(b,D)=>{var H,W;return R(),B("div",{key:D,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(W=(H=q(l))==null?void 0:H.weekDay)==null?void 0:W.call(H,D)},[N.$slots["calendar-header"]?Ie(N.$slots,"calendar-header",{key:0,day:b,index:D}):ce("",!0),N.$slots["calendar-header"]?ce("",!0):(R(),B(Me,{key:1},[we(be(b),1)],64))],8,qI)}),128))]),GI,$e(Bt,{name:A.value,css:!!N.transitions},{default:Te(()=>[w.value?(R(),B("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:fe[1]||(fe[1]=b=>y.value=!1)},[(R(!0),B(Me,null,qe(x.value,(b,D)=>(R(),B("div",{key:D,class:"dp__calendar_row",role:"row"},[N.weekNumbers?(R(),B("div",JI,[h("div",XI,be(T(b.days)),1)])):ce("",!0),(R(!0),B(Me,null,qe(b.days,(H,W)=>{var ie,j,te;return R(),B("div",{id:q(o0)(H.value),ref_for:!0,ref:J=>I(J,D,W),key:W+D,role:"gridcell",class:"dp__calendar_item","aria-pressed":(H.classData.dp__active_date||H.classData.dp__range_start||H.classData.dp__range_start)??void 0,"aria-disabled":H.classData.dp__cell_disabled||void 0,"aria-label":(j=(ie=q(l))==null?void 0:ie.day)==null?void 0:j.call(ie,H),tabindex:"0","data-test":H.value,onClick:Fr(J=>se(J,H),["prevent"]),onTouchend:J=>se(J,H,!1),onKeydown:J=>q(gn)(J,()=>N.$emit("select-date",H)),onMouseenter:J=>Q(H,D,W),onMouseleave:J=>Z(H),onMousedown:J=>ke(H),onMouseup:fe[0]||(fe[0]=J=>y.value=!1)},[h("div",{class:Pe(["dp__cell_inner",H.classData])},[N.$slots.day&&L.value(H)?Ie(N.$slots,"day",{key:0,day:+H.text,date:H.value}):ce("",!0),N.$slots.day?ce("",!0):(R(),B(Me,{key:1},[we(be(H.text),1)],64)),H.marker&&L.value(H)?(R(),B(Me,{key:2},[N.$slots.marker?Ie(N.$slots,"marker",{key:0,marker:H.marker,day:+H.text,date:H.value}):(R(),B("div",{key:1,class:Pe(G.value(H.marker)),style:jt(H.marker.color?{backgroundColor:H.marker.color}:{})},null,6))],64)):ce("",!0),ae.value(H.value)?(R(),B("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:M,class:"dp__marker_tooltip",style:jt(g.value)},[(te=H.marker)!=null&&te.tooltip?(R(),B("div",{key:0,class:"dp__tooltip_content",onClick:de},[(R(!0),B(Me,null,qe(H.marker.tooltip,(J,he)=>(R(),B("div",{key:he,class:"dp__tooltip_text"},[N.$slots["marker-tooltip"]?Ie(N.$slots,"marker-tooltip",{key:0,tooltip:J,day:H.value}):ce("",!0),N.$slots["marker-tooltip"]?ce("",!0):(R(),B(Me,{key:1},[h("div",{class:"dp__tooltip_mark",style:jt(J.color?{backgroundColor:J.color}:{})},null,4),h("div",null,be(J.text),1)],64))]))),128)),h("div",{class:"dp__arrow_bottom_tp",style:jt(k.value)},null,4)])):ce("",!0)],4)):ce("",!0)],2)],40,QI)}),128))]))),128))],32)):ce("",!0)]),_:3},8,["name","css"])],2)],2))}}),Og=e=>Array.isArray(e),eR=(e,t,n,s)=>{const i=ve([]),o=ve(new Date),a=ve(),r=()=>le(e.isTextInputDate),{modelValue:l,calendars:c,time:u,today:d}=il(e,t,r),{defaultedMultiCalendars:f,defaultedStartTime:p,defaultedRange:g,defaultedConfig:_,defaultedTz:v,propDates:w,defaultedMultiDates:A}=xt(e),{validateMonthYearInRange:$,isDisabled:M,isDateRangeAllowed:k,checkMinMaxRange:y}=Wi(e),{updateTimeValues:x,getSetDateTime:E,setTime:P,assignStartTime:C,validateTime:F,disabledTimesConfig:G}=h0(e,u,l,s),ae=_e(()=>ne=>c.value[ne]?c.value[ne].month:0),Y=_e(()=>ne=>c.value[ne]?c.value[ne].year:0),L=ne=>!_.value.keepViewOnOffsetClick||ne?!0:!a.value,O=(ne,Se,ue,Ae=!1)=>{var De,tn;L(Ae)&&(c.value[ne]||(c.value[ne]={month:0,year:0}),c.value[ne].month=Cg(Se)?(De=c.value[ne])==null?void 0:De.month:Se,c.value[ne].year=Cg(ue)?(tn=c.value[ne])==null?void 0:tn.year:ue)},V=()=>{e.autoApply&&t("select-date")};Kt(()=>{e.shadow||(l.value||(N(),p.value&&C(p.value)),le(!0),e.focusStartDate&&e.startDate&&N())});const Q=_e(()=>{var ne;return(ne=e.flow)!=null&&ne.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),Z=()=>{e.autoApply&&Q.value&&t("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},le=(ne=!1)=>{if(l.value)return Array.isArray(l.value)?(i.value=l.value,T(ne)):X(l.value,ne);if(f.value.count&&ne&&!e.startDate)return U(xe(),ne)},ye=()=>Array.isArray(l.value)&&g.value.enabled?Qe(l.value[0])===Qe(l.value[1]??l.value[0]):!1,U=(ne=new Date,Se=!1)=>{if((!f.value.count||!f.value.static||Se)&&O(0,Qe(ne),ze(ne)),f.value.count&&(!f.value.solo||!l.value||ye()))for(let ue=1;ue{U(ne),P("hours",Zs(ne)),P("minutes",Ri(ne)),P("seconds",xa(ne)),f.value.count&&Se&&ke()},I=ne=>{if(f.value.count){if(f.value.solo)return 0;const Se=Qe(ne[0]),ue=Qe(ne[1]);return Math.abs(ue-Se){ne[1]&&g.value.showLastInRange?U(ne[I(ne)],Se):U(ne[0],Se);const ue=(Ae,De)=>[Ae(ne[0]),ne[1]?Ae(ne[1]):u[De][1]];P("hours",ue(Zs,"hours")),P("minutes",ue(Ri,"minutes")),P("seconds",ue(xa,"seconds"))},oe=(ne,Se)=>{if((g.value.enabled||e.weekPicker)&&!A.value.enabled)return ee(ne,Se);if(A.value.enabled&&Se){const ue=ne[ne.length-1];return X(ue,Se)}},T=ne=>{const Se=l.value;oe(Se,ne),f.value.count&&f.value.solo&&ke()},se=(ne,Se)=>{const ue=ft(xe(),{month:ae.value(Se),year:Y.value(Se)}),Ae=ne<0?cs(ue,1):Sa(ue,1);$(Qe(Ae),ze(Ae),ne<0,e.preventMinMaxNavigation)&&(O(Se,Qe(Ae),ze(Ae)),t("update-month-year",{instance:Se,month:Qe(Ae),year:ze(Ae)}),f.value.count&&!f.value.solo&&de(Se),n())},de=ne=>{for(let Se=ne-1;Se>=0;Se--){const ue=Sa(ft(xe(),{month:ae.value(Se+1),year:Y.value(Se+1)}),1);O(Se,Qe(ue),ze(ue))}for(let Se=ne+1;Se<=f.value.count-1;Se++){const ue=cs(ft(xe(),{month:ae.value(Se-1),year:Y.value(Se-1)}),1);O(Se,Qe(ue),ze(ue))}},ke=()=>{if(Array.isArray(l.value)&&l.value.length===2){const ne=xe(xe(l.value[1]?l.value[1]:cs(l.value[0],1))),[Se,ue]=[Qe(l.value[0]),ze(l.value[0])],[Ae,De]=[Qe(l.value[1]),ze(l.value[1])];(Se!==Ae||Se===Ae&&ue!==De)&&f.value.solo&&O(1,Qe(ne),ze(ne))}else l.value&&!Array.isArray(l.value)&&(O(0,Qe(l.value),ze(l.value)),U(xe()))},N=()=>{e.startDate&&(O(0,Qe(xe(e.startDate)),ze(xe(e.startDate))),f.value.count&&de(0))},fe=(ne,Se)=>{if(e.monthChangeOnScroll){const ue=new Date().getTime()-o.value.getTime(),Ae=Math.abs(ne.deltaY);let De=500;Ae>1&&(De=100),Ae>100&&(De=0),ue>De&&(o.value=new Date,se(e.monthChangeOnScroll!=="inverse"?-ne.deltaY:ne.deltaY,Se))}},b=(ne,Se,ue=!1)=>{e.monthChangeOnArrows&&e.vertical===ue&&D(ne,Se)},D=(ne,Se)=>{se(ne==="right"?-1:1,Se)},H=ne=>{if(w.value.markers)return Tc(ne.value,w.value.markers)},W=(ne,Se)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[ne==0,!0];case"fair":return[ne==0||Se>ne,!0];case"append":return[!1,!1];default:return[!1,!1]}},ie=(ne,Se,ue,Ae)=>{if(e.sixWeeks&&ne.length<6){const De=6-ne.length,tn=(Se.getDay()+7-Ae)%7,yn=6-(ue.getDay()+7-Ae)%7,[Is,Fo]=W(tn,yn);for(let qi=1;qi<=De;qi++)if(Fo?!!(qi%2)==Is:Is){const ms=ne[0].days[0],Va=j(is(ms.value,-7),Qe(Se));ne.unshift({days:Va})}else{const ms=ne[ne.length-1],Va=ms.days[ms.days.length-1],$u=j(is(Va.value,1),Qe(Se));ne.push({days:$u})}}return ne},j=(ne,Se)=>{const ue=xe(ne),Ae=[];for(let De=0;De<7;De++){const tn=is(ue,De),yn=Qe(tn)!==Se;Ae.push({text:e.hideOffsetDates&&yn?"":tn.getDate(),value:tn,current:!yn,classData:{}})}return Ae},te=(ne,Se)=>{const ue=[],Ae=new Date(Se,ne),De=new Date(Se,ne+1,0),tn=e.weekStart,yn=hs(Ae,{weekStartsOn:tn}),Is=Fo=>{const qi=j(Fo,ne);if(ue.push({days:qi}),!ue[ue.length-1].days.some(ms=>tt(vn(ms.value),vn(De)))){const ms=is(Fo,7);Is(ms)}};return Is(yn),ie(ue,Ae,De,tn)},J=ne=>{const Se=Ti(xe(ne.value),u.hours,u.minutes,Ve());t("date-update",Se),A.value.enabled?Lf(Se,l,A.value.limit):l.value=Se,s(),Zt().then(()=>{Z()})},he=ne=>g.value.noDisabledRange?e0(i.value[0],ne).some(Se=>M(Se)):!1,ge=()=>{i.value=l.value?l.value.slice():[],i.value.length===2&&!(g.value.fixedStart||g.value.fixedEnd)&&(i.value=[])},pe=(ne,Se)=>{const ue=[xe(ne.value),is(xe(ne.value),+g.value.autoRange)];k(ue)?(Se&&Re(ne.value),i.value=ue):t("invalid-date",ne.value)},Re=ne=>{const Se=Qe(xe(ne)),ue=ze(xe(ne));if(O(0,Se,ue),f.value.count>0)for(let Ae=1;Ae{if(he(ne.value)||!y(ne.value,l.value,g.value.fixedStart?0:1))return t("invalid-date",ne.value);i.value=c0(xe(ne.value),l,t,g)},He=(ne,Se)=>{if(ge(),g.value.autoRange)return pe(ne,Se);if(g.value.fixedStart||g.value.fixedEnd)return Oe(ne);i.value[0]?y(xe(ne.value),l.value)&&!he(ne.value)?At(xe(ne.value),xe(i.value[0]))?(i.value.unshift(xe(ne.value)),t("range-end",i.value[0])):(i.value[1]=xe(ne.value),t("range-end",i.value[1])):(e.autoApply&&t("auto-apply-invalid",ne.value),t("invalid-date",ne.value)):(i.value[0]=xe(ne.value),t("range-start",i.value[0]))},Ve=(ne=!0)=>e.enableSeconds?Array.isArray(u.seconds)?ne?u.seconds[0]:u.seconds[1]:u.seconds:0,et=ne=>{i.value[ne]=Ti(i.value[ne],u.hours[ne],u.minutes[ne],Ve(ne!==1))},Je=()=>{var ne,Se;i.value[0]&&i.value[1]&&+((ne=i.value)==null?void 0:ne[0])>+((Se=i.value)==null?void 0:Se[1])&&(i.value.reverse(),t("range-start",i.value[0]),t("range-end",i.value[1]))},mt=()=>{i.value.length&&(i.value[0]&&!i.value[1]?et(0):(et(0),et(1),s()),Je(),l.value=i.value.slice(),hu(i.value,t,e.autoApply,e.modelAuto))},sn=(ne,Se=!1)=>{if(M(ne.value)||!ne.current&&e.hideOffsetDates)return t("invalid-date",ne.value);if(a.value=JSON.parse(JSON.stringify(ne)),!g.value.enabled)return J(ne);Og(u.hours)&&Og(u.minutes)&&!A.value.enabled&&(He(ne,Se),mt())},Vn=(ne,Se)=>{var ue;O(ne,Se.month,Se.year,!0),f.value.count&&!f.value.solo&&de(ne),t("update-month-year",{instance:ne,month:Se.month,year:Se.year}),n(f.value.solo?ne:void 0);const Ae=(ue=e.flow)!=null&&ue.length?e.flow[e.flowStep]:void 0;!Se.fromNav&&(Ae===rn.month||Ae===rn.year)&&s()},ii=(ne,Se)=>{l0({value:ne,modelValue:l,range:g.value.enabled,timezone:Se?void 0:v.value.timezone}),V(),e.multiCalendars&&Zt().then(()=>le(!0))},Qn=()=>{const ne=Mf(xe(),v.value);g.value.enabled?l.value&&Array.isArray(l.value)&&l.value[0]?l.value=At(ne,l.value[0])?[ne,l.value[0]]:[l.value[0],ne]:l.value=[ne]:l.value=ne,V()},Os=()=>{if(Array.isArray(l.value))if(A.value.enabled){const ne=Vt();l.value[l.value.length-1]=E(ne)}else l.value=l.value.map((ne,Se)=>ne&&E(ne,Se));else l.value=E(l.value);t("time-update")},Vt=()=>Array.isArray(l.value)&&l.value.length?l.value[l.value.length-1]:null;return{calendars:c,modelValue:l,month:ae,year:Y,time:u,disabledTimesConfig:G,today:d,validateTime:F,getCalendarDays:te,getMarker:H,handleScroll:fe,handleSwipe:D,handleArrow:b,selectDate:sn,updateMonthYear:Vn,presetDate:ii,selectCurrentDate:Qn,updateTime:(ne,Se=!0,ue=!1)=>{x(ne,Se,ue,Os)},assignMonthAndYear:U}},tR={key:0},nR=Nt({__name:"DatePicker",props:{...fs},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:t,emit:n}){const s=n,i=e,{calendars:o,month:a,year:r,modelValue:l,time:c,disabledTimesConfig:u,today:d,validateTime:f,getCalendarDays:p,getMarker:g,handleArrow:_,handleScroll:v,handleSwipe:w,selectDate:A,updateMonthYear:$,presetDate:M,selectCurrentDate:k,updateTime:y,assignMonthAndYear:x}=eR(i,s,ye,U),E=Oo(),{setHoverDate:P,getDayClassData:C,clearHoverDate:F}=vR(l,i),{defaultedMultiCalendars:G}=xt(i),ae=ve([]),Y=ve([]),L=ve(null),O=On(E,"calendar"),V=On(E,"monthYear"),Q=On(E,"timePicker"),Z=fe=>{i.shadow||s("mount",fe)};Ut(o,()=>{i.shadow||setTimeout(()=>{s("recalculate-position")},0)},{deep:!0}),Ut(G,(fe,b)=>{fe.count-b.count>0&&x()},{deep:!0});const le=_e(()=>fe=>p(a.value(fe),r.value(fe)).map(b=>({...b,days:b.days.map(D=>(D.marker=g(D),D.classData=C(D),D))})));function ye(fe){var b;fe||fe===0?(b=Y.value[fe])==null||b.triggerTransition(a.value(fe),r.value(fe)):Y.value.forEach((D,H)=>D.triggerTransition(a.value(H),r.value(H)))}function U(){s("update-flow-step")}const X=(fe,b=!1)=>{A(fe,b),i.spaceConfirm&&s("select-date")},I=(fe,b,D=0)=>{var H;(H=ae.value[D])==null||H.toggleMonthPicker(fe,b)},ee=(fe,b,D=0)=>{var H;(H=ae.value[D])==null||H.toggleYearPicker(fe,b)},oe=(fe,b,D)=>{var H;(H=L.value)==null||H.toggleTimePicker(fe,b,D)},T=(fe,b)=>{var D;if(!i.range){const H=l.value?l.value:d,W=b?new Date(b):H,ie=fe?hs(W,{weekStartsOn:1}):Iy(W,{weekStartsOn:1});A({value:ie,current:Qe(W)===a.value(0),text:"",classData:{}}),(D=document.getElementById(o0(ie)))==null||D.focus()}},se=fe=>{var b;(b=ae.value[0])==null||b.handleMonthYearChange(fe,!0)},de=fe=>{$(0,{month:a.value(0),year:r.value(0)+(fe?1:-1),fromNav:!0})},ke=(fe,b)=>{fe===rn.time&&s(`time-picker-${b?"open":"close"}`),s("overlay-toggle",{open:b,overlay:fe})},N=fe=>{s("overlay-toggle",{open:!1,overlay:fe}),s("focus-menu")};return t({clearHoverDate:F,presetDate:M,selectCurrentDate:k,toggleMonthPicker:I,toggleYearPicker:ee,toggleTimePicker:oe,handleArrow:_,updateMonthYear:$,getSidebarProps:()=>({modelValue:l,month:a,year:r,time:c,updateTime:y,updateMonthYear:$,selectDate:A,presetDate:M}),changeMonth:se,changeYear:de,selectWeekDate:T}),(fe,b)=>(R(),B(Me,null,[$e(du,{"multi-calendars":q(G).count,collapse:fe.collapse},{default:Te(({instance:D,index:H})=>[fe.disableMonthYearSelect?ce("",!0):(R(),Ne(YI,zt({key:0,ref:W=>{W&&(ae.value[H]=W)},months:q(qy)(fe.formatLocale,fe.locale,fe.monthNameFormat),years:q(Df)(fe.yearRange,fe.locale,fe.reverseYears),month:q(a)(D),year:q(r)(D),instance:D},fe.$props,{onMount:b[0]||(b[0]=W=>Z(q(wo).header)),onResetFlow:b[1]||(b[1]=W=>fe.$emit("reset-flow")),onUpdateMonthYear:W=>q($)(D,W),onOverlayClosed:N,onOverlayOpened:b[2]||(b[2]=W=>fe.$emit("overlay-toggle",{open:!0,overlay:W}))}),un({_:2},[qe(q(V),(W,ie)=>({name:W,fn:Te(j=>[Ie(fe.$slots,W,Xt(mn(j)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),$e(ZI,zt({ref:W=>{W&&(Y.value[H]=W)},"mapped-dates":le.value(D),month:q(a)(D),year:q(r)(D),instance:D},fe.$props,{onSelectDate:W=>q(A)(W,D!==1),onHandleSpace:W=>X(W,D!==1),onSetHoverDate:b[3]||(b[3]=W=>q(P)(W)),onHandleScroll:W=>q(v)(W,D),onHandleSwipe:W=>q(w)(W,D),onMount:b[4]||(b[4]=W=>Z(q(wo).calendar)),onResetFlow:b[5]||(b[5]=W=>fe.$emit("reset-flow")),onTooltipOpen:b[6]||(b[6]=W=>fe.$emit("tooltip-open",W)),onTooltipClose:b[7]||(b[7]=W=>fe.$emit("tooltip-close",W))}),un({_:2},[qe(q(O),(W,ie)=>({name:W,fn:Te(j=>[Ie(fe.$slots,W,Xt(mn({...j})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),fe.enableTimePicker?(R(),B("div",tR,[fe.$slots["time-picker"]?Ie(fe.$slots,"time-picker",Xt(zt({key:0},{time:q(c),updateTime:q(y)}))):(R(),Ne(d0,zt({key:1,ref_key:"timePickerRef",ref:L},fe.$props,{hours:q(c).hours,minutes:q(c).minutes,seconds:q(c).seconds,"internal-model-value":fe.internalModelValue,"disabled-times-config":q(u),"validate-time":q(f),onMount:b[8]||(b[8]=D=>Z(q(wo).timePicker)),"onUpdate:hours":b[9]||(b[9]=D=>q(y)(D)),"onUpdate:minutes":b[10]||(b[10]=D=>q(y)(D,!1)),"onUpdate:seconds":b[11]||(b[11]=D=>q(y)(D,!1,!0)),onResetFlow:b[12]||(b[12]=D=>fe.$emit("reset-flow")),onOverlayClosed:b[13]||(b[13]=D=>ke(D,!1)),onOverlayOpened:b[14]||(b[14]=D=>ke(D,!0)),onAmPmChange:b[15]||(b[15]=D=>fe.$emit("am-pm-change",D))}),un({_:2},[qe(q(Q),(D,H)=>({name:D,fn:Te(W=>[Ie(fe.$slots,D,Xt(mn(W)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):ce("",!0)],64))}}),sR=(e,t)=>{const n=ve(),{defaultedMultiCalendars:s,defaultedConfig:i,defaultedHighlight:o,defaultedRange:a,propDates:r,defaultedFilters:l,defaultedMultiDates:c}=xt(e),{modelValue:u,year:d,month:f,calendars:p}=il(e,t),{isDisabled:g}=Wi(e),{selectYear:_,groupedYears:v,showYearPicker:w,isDisabled:A,toggleYearPicker:$,handleYearSelect:M,handleYear:k}=u0({modelValue:u,multiCalendars:s,range:a,highlight:o,calendars:p,propDates:r,month:f,year:d,filters:l,props:e,emit:t}),y=(L,O)=>[L,O].map(V=>Es(V,"MMMM",{locale:e.formatLocale})).join("-"),x=_e(()=>L=>u.value?Array.isArray(u.value)?u.value.some(O=>Ag(L,O)):Ag(u.value,L):!1),E=L=>{if(a.value.enabled){if(Array.isArray(u.value)){const O=tt(L,u.value[0])||tt(L,u.value[1]);return cu(u.value,n.value,L)&&!O}return!1}return!1},P=(L,O)=>L.quarter===vg(O)&&L.year===ze(O),C=L=>typeof o.value=="function"?o.value({quarter:vg(L),year:ze(L)}):!!o.value.quarters.find(O=>P(O,L)),F=_e(()=>L=>{const O=ft(new Date,{year:d.value(L)});return MD({start:Vr(O),end:Oy(O)}).map(V=>{const Q=go(V),Z=yg(V),le=g(V),ye=E(Q),U=C(Q);return{text:y(Q,Z),value:Q,active:x.value(Q),highlighted:U,disabled:le,isBetween:ye}})}),G=L=>{Lf(L,u,c.value.limit),t("auto-apply",!0)},ae=L=>{u.value=Nf(u,L,t),hu(u.value,t,e.autoApply,e.modelAuto)},Y=L=>{u.value=L,t("auto-apply")};return{defaultedConfig:i,defaultedMultiCalendars:s,groupedYears:v,year:d,isDisabled:A,quarters:F,showYearPicker:w,modelValue:u,setHoverDate:L=>{n.value=L},selectYear:_,selectQuarter:(L,O,V)=>{if(!V)return p.value[O].month=Qe(yg(L)),c.value.enabled?G(L):a.value.enabled?ae(L):Y(L)},toggleYearPicker:$,handleYearSelect:M,handleYear:k}},iR={class:"dp--quarter-items"},oR=["data-test","disabled","onClick","onMouseover"],aR=Nt({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...fs},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(e,{expose:t,emit:n}){const s=n,i=e,o=Oo(),a=On(o,"yearMode"),{defaultedMultiCalendars:r,defaultedConfig:l,groupedYears:c,year:u,isDisabled:d,quarters:f,modelValue:p,showYearPicker:g,setHoverDate:_,selectQuarter:v,toggleYearPicker:w,handleYearSelect:A,handleYear:$}=sR(i,s);return t({getSidebarProps:()=>({modelValue:p,year:u,selectQuarter:v,handleYearSelect:A,handleYear:$})}),(M,k)=>(R(),Ne(du,{"multi-calendars":q(r).count,collapse:M.collapse,stretch:""},{default:Te(({instance:y})=>[h("div",{class:"dp-quarter-picker-wrap",style:jt({minHeight:`${q(l).modeHeight}px`})},[M.$slots["top-extra"]?Ie(M.$slots,"top-extra",{key:0,value:M.internalModelValue}):ce("",!0),h("div",null,[$e(r0,zt(M.$props,{items:q(c)(y),instance:y,"show-year-picker":q(g)[y],year:q(u)(y),"is-disabled":x=>q(d)(y,x),onHandleYear:x=>q($)(y,x),onYearSelect:x=>q(A)(x,y),onToggleYearPicker:x=>q(w)(y,x==null?void 0:x.flow,x==null?void 0:x.show)}),un({_:2},[qe(q(a),(x,E)=>({name:x,fn:Te(P=>[Ie(M.$slots,x,Xt(mn(P)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),h("div",iR,[(R(!0),B(Me,null,qe(q(f)(y),(x,E)=>(R(),B("div",{key:E},[h("button",{type:"button",class:Pe(["dp--qr-btn",{"dp--qr-btn-active":x.active,"dp--qr-btn-between":x.isBetween,"dp--qr-btn-disabled":x.disabled,"dp--highlighted":x.highlighted}]),"data-test":x.value,disabled:x.disabled,onClick:P=>q(v)(x.value,y,x.disabled),onMouseover:P=>q(_)(x.value)},[M.$slots.quarter?Ie(M.$slots,"quarter",{key:0,value:x.value,text:x.text}):(R(),B(Me,{key:1},[we(be(x.text),1)],64))],42,oR)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),rR=["id","tabindex","role","aria-label"],lR={key:0,class:"dp--menu-load-container"},cR=h("span",{class:"dp--menu-loader"},null,-1),uR=[cR],dR={key:1,class:"dp--menu-header"},hR={key:0,class:"dp__sidebar_left"},fR=["data-test","onClick","onKeydown"],pR={key:2,class:"dp__sidebar_right"},mR={key:3,class:"dp__action_extra"},Ig=Nt({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...uu,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:t,emit:n}){const s=n,i=e,o=ve(null),a=_e(()=>{const{openOnTop:j,...te}=i;return{...te,flowStep:P.value,collapse:i.collapse,noOverlayFocus:i.noOverlayFocus,menuWrapRef:o.value}}),{setMenuFocused:r,setShiftKey:l,control:c}=a0(),u=Oo(),{defaultedTextInput:d,defaultedInline:f,defaultedConfig:p,defaultedUI:g}=xt(i),_=ve(null),v=ve(0),w=ve(null),A=ve(!1),$=ve(null);Kt(()=>{if(!i.shadow){A.value=!0,M(),window.addEventListener("resize",M);const j=Ht(o);if(j&&!d.value.enabled&&!f.value.enabled&&(r(!0),O()),j){const te=J=>{p.value.allowPreventDefault&&J.preventDefault(),Pi(J,p.value,!0)};j.addEventListener("pointerdown",te),j.addEventListener("mousedown",te)}}}),La(()=>{window.removeEventListener("resize",M)});const M=()=>{const j=Ht(w);j&&(v.value=j.getBoundingClientRect().width)},{arrowRight:k,arrowLeft:y,arrowDown:x,arrowUp:E}=ji(),{flowStep:P,updateFlowStep:C,childMount:F,resetFlow:G,handleFlow:ae}=yR(i,s,$),Y=_e(()=>i.monthPicker?yI:i.yearPicker?xI:i.timePicker?BI:i.quarterPicker?aR:nR),L=_e(()=>{var j;if(p.value.arrowLeft)return p.value.arrowLeft;const te=(j=o.value)==null?void 0:j.getBoundingClientRect(),J=i.getInputRect();return(J==null?void 0:J.width)<(v==null?void 0:v.value)&&(J==null?void 0:J.left)<=((te==null?void 0:te.left)??0)?`${(J==null?void 0:J.width)/2}px`:(J==null?void 0:J.right)>=((te==null?void 0:te.right)??0)&&(J==null?void 0:J.width)<(v==null?void 0:v.value)?`${(v==null?void 0:v.value)-(J==null?void 0:J.width)/2}px`:"50%"}),O=()=>{const j=Ht(o);j&&j.focus({preventScroll:!0})},V=_e(()=>{var j;return((j=$.value)==null?void 0:j.getSidebarProps())||{}}),Q=()=>{i.openOnTop&&s("recalculate-position")},Z=On(u,"action"),le=_e(()=>i.monthPicker||i.yearPicker?On(u,"monthYear"):i.timePicker?On(u,"timePicker"):On(u,"shared")),ye=_e(()=>i.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),U=_e(()=>({dp__menu_disabled:i.disabled,dp__menu_readonly:i.readonly,"dp-menu-loading":i.loading})),X=_e(()=>({dp__menu:!0,dp__menu_index:!f.value.enabled,dp__relative:f.value.enabled,...g.value.menu??{}})),I=j=>{Pi(j,p.value,!0)},ee=()=>{i.escClose&&s("close-picker")},oe=j=>{if(i.arrowNavigation){if(j===pn.up)return E();if(j===pn.down)return x();if(j===pn.left)return y();if(j===pn.right)return k()}else j===pn.left||j===pn.up?N("handleArrow",pn.left,0,j===pn.up):N("handleArrow",pn.right,0,j===pn.down)},T=j=>{l(j.shiftKey),!i.disableMonthYearSelect&&j.code===_t.tab&&j.target.classList.contains("dp__menu")&&c.value.shiftKeyInMenu&&(j.preventDefault(),Pi(j,p.value,!0),s("close-picker"))},se=()=>{O(),s("time-picker-close")},de=j=>{var te,J,he;(te=$.value)==null||te.toggleTimePicker(!1,!1),(J=$.value)==null||J.toggleMonthPicker(!1,!1,j),(he=$.value)==null||he.toggleYearPicker(!1,!1,j)},ke=(j,te=0)=>{var J,he,ge;return j==="month"?(J=$.value)==null?void 0:J.toggleMonthPicker(!1,!0,te):j==="year"?(he=$.value)==null?void 0:he.toggleYearPicker(!1,!0,te):j==="time"?(ge=$.value)==null?void 0:ge.toggleTimePicker(!0,!1):de(te)},N=(j,...te)=>{var J,he;(J=$.value)!=null&&J[j]&&((he=$.value)==null||he[j](...te))},fe=()=>{N("selectCurrentDate")},b=(j,te)=>{N("presetDate",j,te)},D=()=>{N("clearHoverDate")},H=(j,te)=>{N("updateMonthYear",j,te)},W=(j,te)=>{j.preventDefault(),oe(te)},ie=j=>{var te,J,he;if(T(j),j.key===_t.home||j.key===_t.end)return N("selectWeekDate",j.key===_t.home,j.target.getAttribute("id"));switch((j.key===_t.pageUp||j.key===_t.pageDown)&&(j.shiftKey?(N("changeYear",j.key===_t.pageUp),(te=nh(o.value,"overlay-year"))==null||te.focus()):(N("changeMonth",j.key===_t.pageUp),(J=nh(o.value,j.key===_t.pageUp?"action-prev":"action-next"))==null||J.focus()),j.target.getAttribute("id")&&((he=o.value)==null||he.focus({preventScroll:!0}))),j.key){case _t.esc:return ee();case _t.arrowLeft:return W(j,pn.left);case _t.arrowRight:return W(j,pn.right);case _t.arrowUp:return W(j,pn.up);case _t.arrowDown:return W(j,pn.down);default:return}};return t({updateMonthYear:H,switchView:ke,handleFlow:ae}),(j,te)=>{var J,he,ge;return R(),B("div",{id:j.uid?`dp-menu-${j.uid}`:void 0,ref_key:"dpMenuRef",ref:o,tabindex:q(f).enabled?void 0:"0",role:q(f).enabled?void 0:"dialog","aria-label":(J=j.ariaLabels)==null?void 0:J.menu,class:Pe(X.value),style:jt({"--dp-arrow-left":L.value}),onMouseleave:D,onClick:I,onKeydown:ie},[(j.disabled||j.readonly)&&q(f).enabled||j.loading?(R(),B("div",{key:0,class:Pe(U.value)},[j.loading?(R(),B("div",lR,uR)):ce("",!0)],2)):ce("",!0),j.$slots["menu-header"]?(R(),B("div",dR,[Ie(j.$slots,"menu-header")])):ce("",!0),!q(f).enabled&&!j.teleportCenter?(R(),B("div",{key:2,class:Pe(ye.value)},null,2)):ce("",!0),h("div",{ref_key:"innerMenuRef",ref:w,class:Pe({dp__menu_content_wrapper:((he=j.presetDates)==null?void 0:he.length)||!!j.$slots["left-sidebar"]||!!j.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((ge=j.presetDates)==null?void 0:ge.length)||!!j.$slots["left-sidebar"]||!!j.$slots["right-sidebar"])}),style:jt({"--dp-menu-width":`${v.value}px`})},[j.$slots["left-sidebar"]?(R(),B("div",hR,[Ie(j.$slots,"left-sidebar",Xt(mn(V.value)))])):ce("",!0),j.presetDates.length?(R(),B("div",{key:1,class:Pe({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0})},[(R(!0),B(Me,null,qe(j.presetDates,(pe,Re)=>(R(),B(Me,{key:Re},[pe.slot?Ie(j.$slots,pe.slot,{key:0,presetDate:b,label:pe.label,value:pe.value}):(R(),B("button",{key:1,type:"button",style:jt(pe.style||{}),class:Pe(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),"data-test":pe.testId??void 0,onClick:Fr(Oe=>b(pe.value,pe.noTz),["prevent"]),onKeydown:Oe=>q(gn)(Oe,()=>b(pe.value,pe.noTz),!0)},be(pe.label),47,fR))],64))),128))],2)):ce("",!0),h("div",{ref_key:"calendarWrapperRef",ref:_,class:"dp__instance_calendar",role:"document"},[(R(),Ne(Do(Y.value),zt({ref_key:"dynCmpRef",ref:$},a.value,{"flow-step":q(P),onMount:q(F),onUpdateFlowStep:q(C),onResetFlow:q(G),onFocusMenu:O,onSelectDate:te[0]||(te[0]=pe=>j.$emit("select-date")),onDateUpdate:te[1]||(te[1]=pe=>j.$emit("date-update",pe)),onTooltipOpen:te[2]||(te[2]=pe=>j.$emit("tooltip-open",pe)),onTooltipClose:te[3]||(te[3]=pe=>j.$emit("tooltip-close",pe)),onAutoApply:te[4]||(te[4]=pe=>j.$emit("auto-apply",pe)),onRangeStart:te[5]||(te[5]=pe=>j.$emit("range-start",pe)),onRangeEnd:te[6]||(te[6]=pe=>j.$emit("range-end",pe)),onInvalidFixedRange:te[7]||(te[7]=pe=>j.$emit("invalid-fixed-range",pe)),onTimeUpdate:te[8]||(te[8]=pe=>j.$emit("time-update")),onAmPmChange:te[9]||(te[9]=pe=>j.$emit("am-pm-change",pe)),onTimePickerOpen:te[10]||(te[10]=pe=>j.$emit("time-picker-open",pe)),onTimePickerClose:se,onRecalculatePosition:Q,onUpdateMonthYear:te[11]||(te[11]=pe=>j.$emit("update-month-year",pe)),onAutoApplyInvalid:te[12]||(te[12]=pe=>j.$emit("auto-apply-invalid",pe)),onInvalidDate:te[13]||(te[13]=pe=>j.$emit("invalid-date",pe)),onOverlayToggle:te[14]||(te[14]=pe=>j.$emit("overlay-toggle",pe)),"onUpdate:internalModelValue":te[15]||(te[15]=pe=>j.$emit("update:internal-model-value",pe))}),un({_:2},[qe(le.value,(pe,Re)=>({name:pe,fn:Te(Oe=>[Ie(j.$slots,pe,Xt(mn({...Oe})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),j.$slots["right-sidebar"]?(R(),B("div",pR,[Ie(j.$slots,"right-sidebar",Xt(mn(V.value)))])):ce("",!0),j.$slots["action-extra"]?(R(),B("div",mR,[j.$slots["action-extra"]?Ie(j.$slots,"action-extra",{key:0,selectCurrentDate:fe}):ce("",!0)])):ce("",!0)],6),!j.autoApply||q(p).keepActionRow?(R(),Ne(hI,zt({key:3,"menu-mount":A.value},a.value,{"calendar-width":v.value,onClosePicker:te[16]||(te[16]=pe=>j.$emit("close-picker")),onSelectDate:te[17]||(te[17]=pe=>j.$emit("select-date")),onInvalidSelect:te[18]||(te[18]=pe=>j.$emit("invalid-select")),onSelectNow:fe}),un({_:2},[qe(q(Z),(pe,Re)=>({name:pe,fn:Te(Oe=>[Ie(j.$slots,pe,Xt(mn({...Oe})))])}))]),1040,["menu-mount","calendar-width"])):ce("",!0)],46,rR)}}});var ta=(e=>(e.center="center",e.left="left",e.right="right",e))(ta||{});const gR=({menuRef:e,menuRefInner:t,inputRef:n,pickerWrapperRef:s,inline:i,emit:o,props:a,slots:r})=>{const{defaultedConfig:l}=xt(a),c=ve({}),u=ve(!1),d=ve({top:"0",left:"0"}),f=ve(!1),p=Dr(a,"teleportCenter");Ut(p,()=>{d.value=JSON.parse(JSON.stringify({})),k()});const g=O=>{if(a.teleport){const V=O.getBoundingClientRect();return{left:V.left+window.scrollX,top:V.top+window.scrollY}}return{top:0,left:0}},_=(O,V)=>{d.value.left=`${O+V-c.value.width}px`},v=O=>{d.value.left=`${O}px`},w=(O,V)=>{a.position===ta.left&&v(O),a.position===ta.right&&_(O,V),a.position===ta.center&&(d.value.left=`${O+V/2-c.value.width/2}px`)},A=O=>{const{width:V,height:Q}=O.getBoundingClientRect(),{top:Z,left:le}=a.altPosition?a.altPosition(O):g(O);return{top:+Z,left:+le,width:V,height:Q}},$=()=>{d.value.left="50%",d.value.top="50%",d.value.transform="translate(-50%, -50%)",d.value.position="fixed",delete d.value.opacity},M=()=>{const O=Ht(n),{top:V,left:Q,transform:Z}=a.altPosition(O);d.value={top:`${V}px`,left:`${Q}px`,transform:Z??""}},k=(O=!0)=>{var V;if(!i.value.enabled){if(p.value)return $();if(a.altPosition!==null)return M();if(O){const Q=a.teleport?(V=t.value)==null?void 0:V.$el:e.value;Q&&(c.value=Q.getBoundingClientRect()),o("recalculate-position")}return G()}},y=({inputEl:O,left:V,width:Q})=>{window.screen.width>768&&!u.value&&w(V,Q),P(O)},x=O=>{const{top:V,left:Q,height:Z,width:le}=A(O);d.value.top=`${Z+V+ +a.offset}px`,f.value=!1,u.value||(d.value.left=`${Q+le/2-c.value.width/2}px`),y({inputEl:O,left:Q,width:le})},E=O=>{const{top:V,left:Q,width:Z}=A(O);d.value.top=`${V-+a.offset-c.value.height}px`,f.value=!0,y({inputEl:O,left:Q,width:Z})},P=O=>{if(a.autoPosition){const{left:V,width:Q}=A(O),{left:Z,right:le}=c.value;if(!u.value){if(Math.abs(Z)!==Math.abs(le)){if(Z<=0)return u.value=!0,v(V);if(le>=document.documentElement.clientWidth)return u.value=!0,_(V,Q)}return w(V,Q)}}},C=()=>{const O=Ht(n);if(O){const{height:V}=c.value,{top:Q,height:Z}=O.getBoundingClientRect(),le=window.innerHeight-Q-Z,ye=Q;return V<=le?uo.bottom:V>le&&V<=ye?uo.top:le>=ye?uo.bottom:uo.top}return uo.bottom},F=O=>C()===uo.bottom?x(O):E(O),G=()=>{const O=Ht(n);if(O)return a.autoPosition?F(O):x(O)},ae=function(O){if(O){const V=O.scrollHeight>O.clientHeight,Q=window.getComputedStyle(O).overflowY.indexOf("hidden")!==-1;return V&&!Q}return!0},Y=function(O){return!O||O===document.body||O.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:ae(O)?O:Y(O.assignedSlot&&l.value.shadowDom?O.assignedSlot.parentNode:O.parentNode)},L=O=>{if(O)switch(a.position){case ta.left:return{left:0,transform:"translateX(0)"};case ta.right:return{left:`${O.width}px`,transform:"translateX(-100%)"};default:return{left:`${O.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:f,menuStyle:d,xCorrect:u,setMenuPosition:k,getScrollableParent:Y,shadowRender:(O,V)=>{var Q,Z,le;const ye=document.createElement("div"),U=(Q=Ht(n))==null?void 0:Q.getBoundingClientRect();ye.setAttribute("id","dp--temp-container");const X=(Z=s.value)!=null&&Z.clientWidth?s.value:document.body;X.append(ye);const I=L(U),ee=l.value.shadowDom?Object.keys(r).filter(T=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(T)):Object.keys(r),oe=Co(O,{...V,shadow:!0,style:{opacity:0,position:"absolute",...I}},Object.fromEntries(ee.map(T=>[T,r[T]])));Xm(oe,ye),c.value=(le=oe.el)==null?void 0:le.getBoundingClientRect(),Xm(null,ye),X.removeChild(ye)}}},di=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],_R=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],bR={all:()=>di,monthYear:()=>di.filter(e=>e.use.includes("month-year")),input:()=>_R,timePicker:()=>di.filter(e=>e.use.includes("time")),action:()=>di.filter(e=>e.use.includes("action")),calendar:()=>di.filter(e=>e.use.includes("calendar")),menu:()=>di.filter(e=>e.use.includes("menu")),shared:()=>di.filter(e=>e.use.includes("shared")),yearMode:()=>di.filter(e=>e.use.includes("year-mode"))},On=(e,t,n)=>{const s=[];return bR[t]().forEach(i=>{e[i.name]&&s.push(i.name)}),n!=null&&n.length&&n.forEach(i=>{i.slot&&s.push(i.slot)}),s},sl=e=>{const t=_e(()=>s=>e.value?s?e.value.open:e.value.close:""),n=_e(()=>s=>e.value?s?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:t,showTransition:!!e.value,menuTransition:n}},il=(e,t,n)=>{const{defaultedRange:s,defaultedTz:i}=xt(e),o=xe(An(xe(),i.value.timezone)),a=ve([{month:Qe(o),year:ze(o)}]),r=f=>{const p={hours:Zs(o),minutes:Ri(o),seconds:0};return s.value.enabled?[p[f],p[f]]:p[f]},l=Ms({hours:r("hours"),minutes:r("minutes"),seconds:r("seconds")});Ut(s,(f,p)=>{f.enabled!==p.enabled&&(l.hours=r("hours"),l.minutes=r("minutes"),l.seconds=r("seconds"))},{deep:!0});const c=_e({get:()=>e.internalModelValue,set:f=>{!e.readonly&&!e.disabled&&t("update:internal-model-value",f)}}),u=_e(()=>f=>a.value[f]?a.value[f].month:0),d=_e(()=>f=>a.value[f]?a.value[f].year:0);return Ut(c,(f,p)=>{n&&JSON.stringify(f??{})!==JSON.stringify(p??{})&&n()},{deep:!0}),{calendars:a,time:l,modelValue:c,month:u,year:d,today:o}},vR=(e,t)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:s,defaultedUI:i,defaultedHighlight:o,defaultedTz:a,propDates:r,defaultedRange:l}=xt(t),{isDisabled:c}=Wi(t),u=ve(null),d=ve(An(new Date,a.value.timezone)),f=I=>{!I.current&&t.hideOffsetDates||(u.value=I.value)},p=()=>{u.value=null},g=I=>Array.isArray(e.value)&&l.value.enabled&&e.value[0]&&u.value?I?Dt(u.value,e.value[0]):At(u.value,e.value[0]):!0,_=(I,ee)=>{const oe=()=>e.value?ee?e.value[0]||null:e.value[1]:null,T=e.value&&Array.isArray(e.value)?oe():null;return tt(xe(I.value),T)},v=I=>{const ee=Array.isArray(e.value)?e.value[0]:null;return I?!At(u.value??null,ee):!0},w=(I,ee=!0)=>(l.value.enabled||t.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?t.hideOffsetDates&&!I.current?!1:tt(xe(I.value),e.value[ee?0:1]):l.value.enabled?_(I,ee)&&v(ee)||tt(I.value,Array.isArray(e.value)?e.value[0]:null)&&g(ee):!1,A=(I,ee)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const oe=tt(I.value,u.value);return ee?Dt(e.value[0],I.value)&&oe:At(e.value[0],I.value)&&oe}return!1},$=I=>!e.value||t.hideOffsetDates&&!I.current?!1:l.value.enabled?t.modelAuto&&Array.isArray(e.value)?tt(I.value,e.value[0]?e.value[0]:d.value):!1:s.value.enabled&&Array.isArray(e.value)?e.value.some(ee=>tt(ee,I.value)):tt(I.value,e.value?e.value:d.value),M=I=>{if(l.value.autoRange||t.weekPicker){if(u.value){if(t.hideOffsetDates&&!I.current)return!1;const ee=is(u.value,+l.value.autoRange),oe=Ws(xe(u.value),t.weekStart);return t.weekPicker?tt(oe[1],xe(I.value)):tt(ee,xe(I.value))}return!1}return!1},k=I=>{if(l.value.autoRange||t.weekPicker){if(u.value){const ee=is(u.value,+l.value.autoRange);if(t.hideOffsetDates&&!I.current)return!1;const oe=Ws(xe(u.value),t.weekStart);return t.weekPicker?Dt(I.value,oe[0])&&At(I.value,oe[1]):Dt(I.value,u.value)&&At(I.value,ee)}return!1}return!1},y=I=>{if(l.value.autoRange||t.weekPicker){if(u.value){if(t.hideOffsetDates&&!I.current)return!1;const ee=Ws(xe(u.value),t.weekStart);return t.weekPicker?tt(ee[0],I.value):tt(u.value,I.value)}return!1}return!1},x=I=>cu(e.value,u.value,I.value),E=()=>t.modelAuto&&Array.isArray(t.internalModelValue)?!!t.internalModelValue[0]:!1,P=()=>t.modelAuto?Gy(t.internalModelValue):!0,C=I=>{if(t.weekPicker)return!1;const ee=l.value.enabled?!w(I)&&!w(I,!1):!0;return!c(I.value)&&!$(I)&&!(!I.current&&t.hideOffsetDates)&&ee},F=I=>l.value.enabled?t.modelAuto?E()&&$(I):!1:$(I),G=I=>o.value?LO(I.value,r.value.highlight):!1,ae=I=>{const ee=c(I.value);return ee&&(typeof o.value=="function"?!o.value(I.value,ee):!o.value.options.highlightDisabled)},Y=I=>{var ee;return typeof o.value=="function"?o.value(I.value):(ee=o.value.weekdays)==null?void 0:ee.includes(I.value.getDay())},L=I=>(l.value.enabled||t.weekPicker)&&(!(n.value.count>0)||I.current)&&P()&&!(!I.current&&t.hideOffsetDates)&&!$(I)?x(I):!1,O=I=>{const{isRangeStart:ee,isRangeEnd:oe}=le(I),T=l.value.enabled?ee||oe:!1;return{dp__cell_offset:!I.current,dp__pointer:!t.disabled&&!(!I.current&&t.hideOffsetDates)&&!c(I.value),dp__cell_disabled:c(I.value),dp__cell_highlight:!ae(I)&&(G(I)||Y(I))&&!F(I)&&!T&&!y(I)&&!(L(I)&&t.weekPicker)&&!oe,dp__cell_highlight_active:!ae(I)&&(G(I)||Y(I))&&F(I),dp__today:!t.noToday&&tt(I.value,d.value)&&I.current,"dp--past":At(I.value,d.value),"dp--future":Dt(I.value,d.value)}},V=I=>({dp__active_date:F(I),dp__date_hover:C(I)}),Q=I=>{if(e.value&&!Array.isArray(e.value)){const ee=Ws(e.value,t.weekStart);return{...U(I),dp__range_start:tt(ee[0],I.value),dp__range_end:tt(ee[1],I.value),dp__range_between_week:Dt(I.value,ee[0])&&At(I.value,ee[1])}}return{...U(I)}},Z=I=>{if(e.value&&Array.isArray(e.value)){const ee=Ws(e.value[0],t.weekStart),oe=e.value[1]?Ws(e.value[1],t.weekStart):[];return{...U(I),dp__range_start:tt(ee[0],I.value)||tt(oe[0],I.value),dp__range_end:tt(ee[1],I.value)||tt(oe[1],I.value),dp__range_between_week:Dt(I.value,ee[0])&&At(I.value,ee[1])||Dt(I.value,oe[0])&&At(I.value,oe[1]),dp__range_between:Dt(I.value,ee[1])&&At(I.value,oe[0])}}return{...U(I)}},le=I=>{const ee=n.value.count>0?I.current&&w(I)&&P():w(I)&&P(),oe=n.value.count>0?I.current&&w(I,!1)&&P():w(I,!1)&&P();return{isRangeStart:ee,isRangeEnd:oe}},ye=I=>{const{isRangeStart:ee,isRangeEnd:oe}=le(I);return{dp__range_start:ee,dp__range_end:oe,dp__range_between:L(I),dp__date_hover:tt(I.value,u.value)&&!ee&&!oe&&!t.weekPicker,dp__date_hover_start:A(I,!0),dp__date_hover_end:A(I,!1)}},U=I=>({...ye(I),dp__cell_auto_range:k(I),dp__cell_auto_range_start:y(I),dp__cell_auto_range_end:M(I)}),X=I=>l.value.enabled?l.value.autoRange?U(I):t.modelAuto?{...V(I),...ye(I)}:t.weekPicker?Z(I):ye(I):t.weekPicker?Q(I):V(I);return{setHoverDate:f,clearHoverDate:p,getDayClassData:I=>t.hideOffsetDates&&!I.current?{}:{...O(I),...X(I),[t.dayClass?t.dayClass(I.value,t.internalModelValue):""]:!0,...i.value.calendarCell??{}}}},Wi=e=>{const{defaultedFilters:t,defaultedRange:n,propDates:s,defaultedMultiDates:i}=xt(e),o=Y=>s.value.disabledDates?typeof s.value.disabledDates=="function"?s.value.disabledDates(xe(Y)):!!Tc(Y,s.value.disabledDates):!1,a=Y=>s.value.maxDate?e.yearPicker?ze(Y)>ze(s.value.maxDate):Dt(Y,s.value.maxDate):!1,r=Y=>s.value.minDate?e.yearPicker?ze(Y){const L=a(Y),O=r(Y),V=o(Y),Q=t.value.months.map(X=>+X).includes(Qe(Y)),Z=e.disabledWeekDays.length?e.disabledWeekDays.some(X=>+X===S2(Y)):!1,le=p(Y),ye=ze(Y),U=ye<+e.yearRange[0]||ye>+e.yearRange[1];return!(L||O||V||Q||U||Z||le)},c=(Y,L)=>At(...wi(s.value.minDate,Y,L))||tt(...wi(s.value.minDate,Y,L)),u=(Y,L)=>Dt(...wi(s.value.maxDate,Y,L))||tt(...wi(s.value.maxDate,Y,L)),d=(Y,L,O)=>{let V=!1;return s.value.maxDate&&O&&u(Y,L)&&(V=!0),s.value.minDate&&!O&&c(Y,L)&&(V=!0),V},f=(Y,L,O,V)=>{let Q=!1;return V?s.value.minDate&&s.value.maxDate?Q=d(Y,L,O):(s.value.minDate&&c(Y,L)||s.value.maxDate&&u(Y,L))&&(Q=!0):Q=!0,Q},p=Y=>Array.isArray(s.value.allowedDates)&&!s.value.allowedDates.length?!0:s.value.allowedDates?!Tc(Y,s.value.allowedDates):!1,g=Y=>!l(Y),_=Y=>n.value.noDisabledRange?!Dy({start:Y[0],end:Y[1]}).some(L=>g(L)):!0,v=Y=>{if(Y){const L=ze(Y);return L>=+e.yearRange[0]&&L<=e.yearRange[1]}return!0},w=(Y,L)=>!!(Array.isArray(Y)&&Y[L]&&(n.value.maxRange||n.value.minRange)&&v(Y[L])),A=(Y,L,O=0)=>{if(w(L,O)&&v(Y)){const V=Ty(Y,L[O]),Q=e0(L[O],Y),Z=Q.length===1?0:Q.filter(ye=>g(ye)).length,le=Math.abs(V)-(n.value.minMaxRawRange?0:Z);if(n.value.minRange&&n.value.maxRange)return le>=+n.value.minRange&&le<=+n.value.maxRange;if(n.value.minRange)return le>=+n.value.minRange;if(n.value.maxRange)return le<=+n.value.maxRange}return!0},$=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,M=Y=>Array.isArray(Y)?[Y[0]?id(Y[0]):null,Y[1]?id(Y[1]):null]:id(Y),k=(Y,L,O)=>Y.find(V=>+V.hours===Zs(L)&&V.minutes==="*"?!0:+V.minutes===Ri(L)&&+V.hours===Zs(L))&&O,y=(Y,L,O)=>{const[V,Q]=Y,[Z,le]=L;return!k(V,Z,O)&&!k(Q,le,O)&&O},x=(Y,L)=>{const O=Array.isArray(L)?L:[L];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?y(e.disabledTimes,O,Y):!O.some(V=>k(e.disabledTimes,V,Y)):Y},E=(Y,L)=>{const O=Array.isArray(L)?[xo(L[0]),L[1]?xo(L[1]):void 0]:xo(L),V=!e.disabledTimes(O);return Y&&V},P=(Y,L)=>e.disabledTimes?Array.isArray(e.disabledTimes)?x(L,Y):E(L,Y):L,C=Y=>{let L=!0;if(!Y||$())return!0;const O=!s.value.minDate&&!s.value.maxDate?M(Y):Y;return(e.maxTime||s.value.maxDate)&&(L=Tg(e.maxTime,s.value.maxDate,"max",Gt(O),L)),(e.minTime||s.value.minDate)&&(L=Tg(e.minTime,s.value.minDate,"min",Gt(O),L)),P(Y,L)},F=Y=>{if(!e.monthPicker)return!0;let L=!0;const O=xe(os(Y));if(s.value.minDate&&s.value.maxDate){const V=xe(os(s.value.minDate)),Q=xe(os(s.value.maxDate));return Dt(O,V)&&At(O,Q)||tt(O,V)||tt(O,Q)}if(s.value.minDate){const V=xe(os(s.value.minDate));L=Dt(O,V)||tt(O,V)}if(s.value.maxDate){const V=xe(os(s.value.maxDate));L=At(O,V)||tt(O,V)}return L},G=_e(()=>Y=>!e.enableTimePicker||e.ignoreTimeValidation?!0:C(Y)),ae=_e(()=>Y=>e.monthPicker?Array.isArray(Y)&&(n.value.enabled||i.value.enabled)?!Y.filter(L=>!F(L)).length:F(Y):!0);return{isDisabled:g,validateDate:l,validateMonthYearInRange:f,isDateRangeAllowed:_,checkMinMaxRange:A,isValidTime:C,isTimeValid:G,isMonthValid:ae}},fu=()=>{const e=_e(()=>(s,i)=>s==null?void 0:s.includes(i)),t=_e(()=>(s,i)=>s.count?s.solo?!0:i===0:!0),n=_e(()=>(s,i)=>s.count?s.solo?!0:i===s.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:t,showRightIcon:n}},yR=(e,t,n)=>{const s=ve(0),i=Ms({[wo.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[wo.calendar]:!1,[wo.header]:!1}),o=_e(()=>e.monthPicker||e.timePicker),a=d=>{var f;if((f=e.flow)!=null&&f.length){if(!d&&o.value)return u();i[d]=!0,Object.keys(i).filter(p=>!i[p]).length||u()}},r=()=>{var d,f;(d=e.flow)!=null&&d.length&&s.value!==-1&&(s.value+=1,t("flow-step",s.value),u()),((f=e.flow)==null?void 0:f.length)===s.value&&Zt().then(()=>l())},l=()=>{s.value=-1},c=(d,f,...p)=>{var g,_;e.flow[s.value]===d&&n.value&&((_=(g=n.value)[f])==null||_.call(g,...p))},u=(d=0)=>{d&&(s.value+=d),c(rn.month,"toggleMonthPicker",!0),c(rn.year,"toggleYearPicker",!0),c(rn.calendar,"toggleTimePicker",!1,!0),c(rn.time,"toggleTimePicker",!0,!0);const f=e.flow[s.value];(f===rn.hours||f===rn.minutes||f===rn.seconds)&&c(f,"toggleTimePicker",!0,!0,f)};return{childMount:a,updateFlowStep:r,resetFlow:l,handleFlow:u,flowStep:s}},wR={key:1,class:"dp__input_wrap"},xR=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-disabled","aria-invalid"],kR={key:2,class:"dp--clear-btn"},SR=["aria-label"],AR=Nt({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...uu},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(e,{expose:t,emit:n}){const s=n,i=e,{defaultedTextInput:o,defaultedAriaLabels:a,defaultedInline:r,defaultedConfig:l,defaultedRange:c,defaultedMultiDates:u,defaultedUI:d,getDefaultPattern:f,getDefaultStartTime:p}=xt(i),{checkMinMaxRange:g}=Wi(i),_=ve(),v=ve(null),w=ve(!1),A=ve(!1),$=ve(!1),M=ve(null),k=_e(()=>({dp__pointer:!i.disabled&&!i.readonly&&!o.value.enabled,dp__disabled:i.disabled,dp__input_readonly:!o.value.enabled,dp__input:!0,dp__input_icon_pad:!i.hideInputIcon,dp__input_valid:typeof i.state=="boolean"?i.state:!1,dp__input_invalid:typeof i.state=="boolean"?!i.state:!1,dp__input_focus:w.value||i.isMenuOpen,dp__input_reg:!o.value.enabled,...d.value.input??{}})),y=()=>{s("set-input-date",null),i.clearable&&i.autoApply&&(s("set-empty-date"),_.value=null)},x=U=>{const X=p();return FO(U,o.value.format??f(),X??t0({},i.enableSeconds),i.inputValue,$.value,i.formatLocale)},E=U=>{const{rangeSeparator:X}=o.value,[I,ee]=U.split(`${X}`);if(I){const oe=x(I.trim()),T=ee?x(ee.trim()):null;if(ka(oe,T))return;const se=oe&&T?[oe,T]:[oe];g(T,se,0)&&(_.value=oe?se:null)}},P=()=>{$.value=!0},C=U=>{if(c.value.enabled)E(U);else if(u.value.enabled){const X=U.split(";");_.value=X.map(I=>x(I.trim())).filter(I=>I)}else _.value=x(U)},F=U=>{var X;const I=typeof U=="string"?U:(X=U.target)==null?void 0:X.value;I!==""?(o.value.openMenu&&!i.isMenuOpen&&s("open"),C(I),s("set-input-date",_.value)):y(),$.value=!1,s("update:input-value",I),s("text-input",U,_.value)},G=U=>{o.value.enabled?(C(U.target.value),o.value.enterSubmit&&sh(_.value)&&i.inputValue!==""?(s("set-input-date",_.value,!0),_.value=null):o.value.enterSubmit&&i.inputValue===""&&(_.value=null,s("clear"))):L(U)},ae=(U,X)=>{var I;if(M.value&&X&&!A.value)return U.preventDefault(),A.value=!0,(I=M.value)==null?void 0:I.focus();o.value.enabled&&o.value.tabSubmit&&C(U.target.value),o.value.tabSubmit&&sh(_.value)&&i.inputValue!==""?(s("set-input-date",_.value,!0,!0),_.value=null):o.value.tabSubmit&&i.inputValue===""&&(_.value=null,s("clear",!0))},Y=()=>{w.value=!0,s("focus"),Zt().then(()=>{var U;o.value.enabled&&o.value.selectOnFocus&&((U=v.value)==null||U.select())})},L=U=>{if(U.preventDefault(),Pi(U,l.value,!0),o.value.enabled&&o.value.openMenu&&!r.value.input){if(o.value.openMenu==="open"&&!i.isMenuOpen)return s("open");if(o.value.openMenu==="toggle")return s("toggle")}else o.value.enabled||s("toggle")},O=()=>{s("real-blur"),w.value=!1,(!i.isMenuOpen||r.value.enabled&&r.value.input)&&s("blur"),i.autoApply&&o.value.enabled&&_.value&&!i.isMenuOpen&&(s("set-input-date",_.value),s("select-date"),_.value=null)},V=U=>{Pi(U,l.value,!0),s("clear")},Q=(U,X)=>{if(U.key==="Tab"&&ae(U,X),U.key==="Enter"&&G(U),!o.value.enabled){if(U.code==="Tab")return;U.preventDefault()}},Z=()=>{var U;(U=v.value)==null||U.focus({preventScroll:!0})},le=U=>{_.value=U},ye=U=>{U.key===_t.tab&&(A.value=!1,ae(U))};return t({focusInput:Z,setParsedDate:le}),(U,X)=>{var I,ee;return R(),B("div",{onClick:L},[U.$slots.trigger&&!U.$slots["dp-input"]&&!q(r).enabled?Ie(U.$slots,"trigger",{key:0}):ce("",!0),!U.$slots.trigger&&(!q(r).enabled||q(r).input)?(R(),B("div",wR,[U.$slots["dp-input"]&&!U.$slots.trigger&&(!q(r).enabled||q(r).enabled&&q(r).input)?Ie(U.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:F,onEnter:G,onTab:ae,onClear:V,onBlur:O,onKeypress:Q,onPaste:P,onFocus:Y,openMenu:()=>U.$emit("open"),closeMenu:()=>U.$emit("close"),toggleMenu:()=>U.$emit("toggle")}):ce("",!0),U.$slots["dp-input"]?ce("",!0):(R(),B("input",{key:1,id:U.uid?`dp-input-${U.uid}`:void 0,ref_key:"inputRef",ref:v,"data-test":"dp-input",name:U.name,class:Pe(k.value),inputmode:q(o).enabled?"text":"none",placeholder:U.placeholder,disabled:U.disabled,readonly:U.readonly,required:U.required,value:e.inputValue,autocomplete:U.autocomplete,"aria-disabled":U.disabled||void 0,"aria-invalid":U.state===!1?!0:void 0,onInput:F,onBlur:O,onFocus:Y,onKeypress:Q,onKeydown:X[0]||(X[0]=oe=>Q(oe,!0)),onPaste:P},null,42,xR)),h("div",{onClick:X[3]||(X[3]=oe=>s("toggle"))},[U.$slots["input-icon"]&&!U.hideInputIcon?(R(),B("span",{key:0,class:"dp__input_icon",onClick:X[1]||(X[1]=oe=>s("toggle"))},[Ie(U.$slots,"input-icon")])):ce("",!0),!U.$slots["input-icon"]&&!U.hideInputIcon&&!U.$slots["dp-input"]?(R(),Ne(q(Na),{key:1,"aria-label":(I=q(a))==null?void 0:I.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:X[2]||(X[2]=oe=>s("toggle"))},null,8,["aria-label"])):ce("",!0)]),U.$slots["clear-icon"]&&e.inputValue&&U.clearable&&!U.disabled&&!U.readonly?(R(),B("span",kR,[Ie(U.$slots,"clear-icon",{clear:V})])):ce("",!0),U.clearable&&!U.$slots["clear-icon"]&&e.inputValue&&!U.disabled&&!U.readonly?(R(),B("button",{key:3,ref_key:"clearBtnRef",ref:M,"aria-label":(ee=q(a))==null?void 0:ee.clearInput,class:"dp--clear-btn",type:"button",onBlur:X[4]||(X[4]=oe=>A.value=!1),onKeydown:X[5]||(X[5]=oe=>q(gn)(oe,()=>V(oe),!0,ye)),onClick:X[6]||(X[6]=Fr(oe=>V(oe),["prevent"]))},[$e(q(Ky),{class:"dp__input_icons","data-test":"clear-icon"})],40,SR)):ce("",!0)])):ce("",!0)])}}}),$R=typeof window<"u"?window:void 0,ud=()=>{},ER=e=>qc()?(Uh(e),!0):!1,CR=(e,t,n,s)=>{if(!e)return ud;let i=ud;const o=Ut(()=>q(e),r=>{i(),r&&(r.addEventListener(t,n,s),i=()=>{r.removeEventListener(t,n,s),i=ud})},{immediate:!0,flush:"post"}),a=()=>{o(),i()};return ER(a),a},PR=(e,t,n,s={})=>{const{window:i=$R,event:o="pointerdown"}=s;return i?CR(i,o,a=>{const r=Ht(e),l=Ht(t);!r||!l||r===a.target||a.composedPath().includes(r)||a.composedPath().includes(l)||n(a)},{passive:!0}):void 0},TR=Nt({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...uu},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(e,{expose:t,emit:n}){const s=n,i=e,o=Oo(),a=ve(!1),r=Dr(i,"modelValue"),l=Dr(i,"timezone"),c=ve(null),u=ve(null),d=ve(null),f=ve(!1),p=ve(null),g=ve(!1),_=ve(!1),v=ve(!1),w=ve(!1),{setMenuFocused:A,setShiftKey:$}=a0(),{clearArrowNav:M}=ji(),{validateDate:k,isValidTime:y}=Wi(i),{defaultedTransitions:x,defaultedTextInput:E,defaultedInline:P,defaultedConfig:C,defaultedRange:F,defaultedMultiDates:G}=xt(i),{menuTransition:ae,showTransition:Y}=sl(x);Kt(()=>{ee(i.modelValue),Zt().then(()=>{if(!P.value.enabled){const ue=ye(p.value);ue==null||ue.addEventListener("scroll",H),window==null||window.addEventListener("resize",W)}}),P.value.enabled&&(a.value=!0),window==null||window.addEventListener("keyup",ie),window==null||window.addEventListener("keydown",j)}),La(()=>{if(!P.value.enabled){const ue=ye(p.value);ue==null||ue.removeEventListener("scroll",H),window==null||window.removeEventListener("resize",W)}window==null||window.removeEventListener("keyup",ie),window==null||window.removeEventListener("keydown",j)});const L=On(o,"all",i.presetDates),O=On(o,"input");Ut([r,l],()=>{ee(r.value)},{deep:!0});const{openOnTop:V,menuStyle:Q,xCorrect:Z,setMenuPosition:le,getScrollableParent:ye,shadowRender:U}=gR({menuRef:c,menuRefInner:u,inputRef:d,pickerWrapperRef:p,inline:P,emit:s,props:i,slots:o}),{inputValue:X,internalModelValue:I,parseExternalModelValue:ee,emitModelValue:oe,formatInputValue:T,checkBeforeEmit:se}=lI(s,i,f),de=_e(()=>({dp__main:!0,dp__theme_dark:i.dark,dp__theme_light:!i.dark,dp__flex_display:P.value.enabled,"dp--flex-display-collapsed":v.value,dp__flex_display_with_input:P.value.input})),ke=_e(()=>i.dark?"dp__theme_dark":"dp__theme_light"),N=_e(()=>i.teleport?{to:typeof i.teleport=="boolean"?"body":i.teleport,disabled:!i.teleport||P.value.enabled}:{}),fe=_e(()=>({class:"dp__outer_menu_wrap"})),b=_e(()=>P.value.enabled&&(i.timePicker||i.monthPicker||i.yearPicker||i.quarterPicker)),D=()=>{var ue,Ae;return(Ae=(ue=d.value)==null?void 0:ue.$el)==null?void 0:Ae.getBoundingClientRect()},H=()=>{a.value&&(C.value.closeOnScroll?Ve():le())},W=()=>{var ue;a.value&&le();const Ae=(ue=u.value)==null?void 0:ue.$el.getBoundingClientRect().width;v.value=document.body.offsetWidth<=Ae},ie=ue=>{ue.key==="Tab"&&!P.value.enabled&&!i.teleport&&C.value.tabOutClosesMenu&&(p.value.contains(document.activeElement)||Ve()),_.value=ue.shiftKey},j=ue=>{_.value=ue.shiftKey},te=()=>{!i.disabled&&!i.readonly&&(U(Ig,i),le(!1),a.value=!0,a.value&&s("open"),a.value||He(),ee(i.modelValue))},J=()=>{var ue;X.value="",He(),(ue=d.value)==null||ue.setParsedDate(null),s("update:model-value",null),s("update:model-timezone-value",null),s("cleared"),C.value.closeOnClearValue&&Ve()},he=()=>{const ue=I.value;return!ue||!Array.isArray(ue)&&k(ue)?!0:Array.isArray(ue)?G.value.enabled||ue.length===2&&k(ue[0])&&k(ue[1])?!0:F.value.partialRange&&!i.timePicker?k(ue[0]):!1:!1},ge=()=>{se()&&he()?(oe(),Ve()):s("invalid-select",I.value)},pe=ue=>{Re(),oe(),C.value.closeOnAutoApply&&!ue&&Ve()},Re=()=>{d.value&&E.value.enabled&&d.value.setParsedDate(I.value)},Oe=(ue=!1)=>{i.autoApply&&y(I.value)&&he()&&(F.value.enabled&&Array.isArray(I.value)?(F.value.partialRange||I.value.length===2)&&pe(ue):pe(ue))},He=()=>{E.value.enabled||(I.value=null)},Ve=()=>{P.value.enabled||(a.value&&(a.value=!1,Z.value=!1,A(!1),$(!1),M(),s("closed"),X.value&&ee(r.value)),He(),s("blur"))},et=(ue,Ae,De=!1)=>{if(!ue){I.value=null;return}const tn=Array.isArray(ue)?!ue.some(Is=>!k(Is)):k(ue),yn=y(ue);tn&&yn&&(w.value=!0,I.value=ue,Ae&&(g.value=De,ge(),s("text-submit")),Zt().then(()=>{w.value=!1}))},Je=()=>{i.autoApply&&y(I.value)&&oe(),Re()},mt=()=>a.value?Ve():te(),sn=ue=>{I.value=ue},Vn=()=>{E.value.enabled&&(f.value=!0,T()),s("focus")},ii=()=>{if(E.value.enabled&&(f.value=!1,ee(i.modelValue),g.value)){const ue=RO(p.value,_.value);ue==null||ue.focus()}s("blur")},Qn=ue=>{u.value&&u.value.updateMonthYear(0,{month:Eg(ue.month),year:Eg(ue.year)})},Os=ue=>{ee(ue??i.modelValue)},Vt=(ue,Ae)=>{var De;(De=u.value)==null||De.switchView(ue,Ae)},ne=ue=>C.value.onClickOutside?C.value.onClickOutside(ue):Ve(),Se=(ue=0)=>{var Ae;(Ae=u.value)==null||Ae.handleFlow(ue)};return PR(c,d,()=>ne(he)),t({closeMenu:Ve,selectDate:ge,clearValue:J,openMenu:te,onScroll:H,formatInputValue:T,updateInternalModelValue:sn,setMonthYear:Qn,parseModel:Os,switchView:Vt,toggleMenu:mt,handleFlow:Se,dpWrapMenuRef:c}),(ue,Ae)=>(R(),B("div",{ref_key:"pickerWrapperRef",ref:p,class:Pe(de.value),"data-datepicker-instance":""},[$e(AR,zt({ref_key:"inputRef",ref:d,"input-value":q(X),"onUpdate:inputValue":Ae[0]||(Ae[0]=De=>Ct(X)?X.value=De:null),"is-menu-open":a.value},ue.$props,{onClear:J,onOpen:te,onSetInputDate:et,onSetEmptyDate:q(oe),onSelectDate:ge,onToggle:mt,onClose:Ve,onFocus:Vn,onBlur:ii,onRealBlur:Ae[1]||(Ae[1]=De=>f.value=!1),onTextInput:Ae[2]||(Ae[2]=De=>ue.$emit("text-input",De))}),un({_:2},[qe(q(O),(De,tn)=>({name:De,fn:Te(yn=>[Ie(ue.$slots,De,Xt(mn(yn)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(R(),Ne(Do(ue.teleport?j$:"div"),Xt(mn(N.value)),{default:Te(()=>[$e(Bt,{name:q(ae)(q(V)),css:q(Y)&&!q(P).enabled},{default:Te(()=>[a.value?(R(),B("div",zt({key:0,ref_key:"dpWrapMenuRef",ref:c},fe.value,{class:{"dp--menu-wrapper":!q(P).enabled},style:q(P).enabled?void 0:q(Q)}),[$e(Ig,zt({ref_key:"dpMenuRef",ref:u},ue.$props,{"internal-model-value":q(I),"onUpdate:internalModelValue":Ae[3]||(Ae[3]=De=>Ct(I)?I.value=De:null),class:{[ke.value]:!0,"dp--menu-wrapper":ue.teleport},"open-on-top":q(V),"no-overlay-focus":b.value,collapse:v.value,"get-input-rect":D,"is-text-input-date":w.value,onClosePicker:Ve,onSelectDate:ge,onAutoApply:Oe,onTimeUpdate:Je,onFlowStep:Ae[4]||(Ae[4]=De=>ue.$emit("flow-step",De)),onUpdateMonthYear:Ae[5]||(Ae[5]=De=>ue.$emit("update-month-year",De)),onInvalidSelect:Ae[6]||(Ae[6]=De=>ue.$emit("invalid-select",q(I))),onAutoApplyInvalid:Ae[7]||(Ae[7]=De=>ue.$emit("invalid-select",De)),onInvalidFixedRange:Ae[8]||(Ae[8]=De=>ue.$emit("invalid-fixed-range",De)),onRecalculatePosition:q(le),onTooltipOpen:Ae[9]||(Ae[9]=De=>ue.$emit("tooltip-open",De)),onTooltipClose:Ae[10]||(Ae[10]=De=>ue.$emit("tooltip-close",De)),onTimePickerOpen:Ae[11]||(Ae[11]=De=>ue.$emit("time-picker-open",De)),onTimePickerClose:Ae[12]||(Ae[12]=De=>ue.$emit("time-picker-close",De)),onAmPmChange:Ae[13]||(Ae[13]=De=>ue.$emit("am-pm-change",De)),onRangeStart:Ae[14]||(Ae[14]=De=>ue.$emit("range-start",De)),onRangeEnd:Ae[15]||(Ae[15]=De=>ue.$emit("range-end",De)),onDateUpdate:Ae[16]||(Ae[16]=De=>ue.$emit("date-update",De)),onInvalidDate:Ae[17]||(Ae[17]=De=>ue.$emit("invalid-date",De)),onOverlayToggle:Ae[18]||(Ae[18]=De=>ue.$emit("overlay-toggle",De))}),un({_:2},[qe(q(L),(De,tn)=>({name:De,fn:Te(yn=>[Ie(ue.$slots,De,Xt(mn({...yn})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):ce("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),ol=(()=>{const e=TR;return e.install=t=>{t.component("Vue3DatePicker",e)},e})(),MR=Object.freeze(Object.defineProperty({__proto__:null,default:ol},Symbol.toStringTag,{value:"Module"}));Object.entries(MR).forEach(([e,t])=>{e!=="default"&&(ol[e]=t)});const DR={name:"newDashboardAPIKey",components:{VueDatePicker:ol},data(){return{newKeyData:{ExpiredAt:as().add(7,"d").format("YYYY-MM-DD HH:mm:ss"),neverExpire:!1},submitting:!1}},setup(){return{store:st()}},mounted(){console.log(this.newKeyData.ExpiredAt)},methods:{submitNewAPIKey(){this.submitting=!0,dt("/api/newDashboardAPIKey",this.newKeyData,e=>{e.status?(this.$emit("created",e.data),this.store.newMessage("Server","New API Key created","success"),this.$emit("close")):this.store.newMessage("Server",e.message,"danger"),this.submitting=!1})},fixDate(e){return console.log(as(e).format("YYYY-MM-DDTHH:mm:ss")),as(e).format("YYYY-MM-DDTHH:mm:ss")},parseTime(e){e?this.newKeyData.ExpiredAt=as(e).format("YYYY-MM-DD HH:mm:ss"):this.newKeyData.ExpiredAt=void 0}}},OR={class:"position-absolute w-100 h-100 top-0 start-0 rounded-bottom-3 p-3 d-flex",style:{"background-color":"#00000060","backdrop-filter":"blur(3px)"}},IR={class:"card m-auto rounded-3 mt-5"},RR={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},LR=h("h6",{class:"mb-0"},"Create API Key",-1),NR={class:"card-body d-flex gap-2 p-4 flex-column"},FR=h("small",{class:"text-muted"},"When should this API Key expire?",-1),BR={class:"d-flex align-items-center gap-2"},VR={class:"form-check"},HR=["disabled"],jR=h("label",{class:"form-check-label",for:"neverExpire"},[we(" Never Expire ("),h("i",{class:"bi bi-emoji-grimace-fill"}),we(" Don't think that's a good idea) ")],-1),WR={key:0,class:"bi bi-check-lg me-2"};function zR(e,t,n,s,i,o){const a=je("VueDatePicker");return R(),B("div",OR,[h("div",IR,[h("div",RR,[LR,h("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=r=>this.$emit("close"))})]),h("div",NR,[FR,h("div",BR,[$e(a,{is24:!0,"min-date":new Date,"model-value":this.newKeyData.ExpiredAt,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",clearable:!1,disabled:this.newKeyData.neverExpire||this.submitting,dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","disabled","dark"])]),h("div",VR,[Le(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[1]||(t[1]=r=>this.newKeyData.neverExpire=r),id:"neverExpire",disabled:this.submitting},null,8,HR),[[Kn,this.newKeyData.neverExpire]]),jR]),h("button",{class:Pe(["ms-auto btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm",{disabled:this.submitting}]),onClick:t[2]||(t[2]=r=>this.submitNewAPIKey())},[this.submitting?ce("",!0):(R(),B("i",WR)),we(" "+be(this.submitting?"Creating...":"Done"),1)],2)])])])}const YR=Ye(DR,[["render",zR]]),UR={name:"dashboardAPIKey",props:{apiKey:Object},setup(){return{store:st()}},data(){return{confirmDelete:!1}},methods:{deleteAPIKey(){dt("/api/deleteDashboardAPIKey",{Key:this.apiKey.Key},e=>{e.status?(this.$emit("deleted",e.data),this.store.newMessage("Server","API Key deleted","success")):this.store.newMessage("Server",e.message,"danger")})}}},KR={class:"card rounded-3 shadow-sm"},qR={key:0,class:"card-body d-flex gap-3 align-items-center"},GR={class:"d-flex align-items-center gap-2"},JR=h("small",{class:"text-muted"},"Key",-1),XR={class:"d-flex align-items-center gap-2 ms-auto"},QR=h("small",{class:"text-muted"},"Expire At",-1),ZR=h("i",{class:"bi bi-trash-fill"},null,-1),eL=[ZR],tL={key:1,class:"card-body d-flex gap-3 align-items-center justify-content-end"},nL=h("i",{class:"bi bi-check-lg"},null,-1),sL=[nL],iL=h("i",{class:"bi bi-x-lg"},null,-1),oL=[iL];function aL(e,t,n,s,i,o){return R(),B("div",KR,[this.confirmDelete?(R(),B("div",tL,[we(" Are you sure to delete this API key? "),h("a",{role:"button",class:"btn btn-sm bg-success-subtle text-success-emphasis rounded-3",onClick:t[1]||(t[1]=a=>this.deleteAPIKey())},sL),h("a",{role:"button",class:"btn btn-sm bg-secondary-subtle text-secondary-emphasis rounded-3",onClick:t[2]||(t[2]=a=>this.confirmDelete=!1)},oL)])):(R(),B("div",qR,[h("div",GR,[JR,we(be(this.apiKey.Key),1)]),h("div",XR,[QR,we(" "+be(this.apiKey.ExpiredAt?this.apiKey.ExpiredAt:"Never"),1)]),h("a",{role:"button",class:"btn btn-sm bg-danger-subtle text-danger-emphasis rounded-3",onClick:t[0]||(t[0]=a=>this.confirmDelete=!0)},eL)]))])}const rL=Ye(UR,[["render",aL]]),lL={name:"dashboardAPIKeys",components:{DashboardAPIKey:rL,NewDashboardAPIKey:YR},setup(){return{store:st()}},data(){return{value:this.store.Configuration.Server.dashboard_api_key,apiKeys:[],newDashboardAPIKey:!1}},methods:{async toggleDashboardAPIKeys(){await dt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_api_key",value:this.value},e=>{e.status?(this.store.Configuration.Peers[this.targetData]=this.value,this.store.newMessage("Server",`API Keys function is successfully ${this.value?"enabled":"disabled"}`,"success")):(this.value=this.store.Configuration.Peers[this.targetData],this.store.newMessage("Server",`API Keys function is failed ${this.value?"enabled":"disabled"}`,"danger"))})}},watch:{value:{immediate:!0,handler(e){e?Tt("/api/getDashboardAPIKeys",{},t=>{console.log(t),t.status?this.apiKeys=t.data:(this.apiKeys=[],this.store.newMessage("Server",t.message,"danger"))}):this.apiKeys=[]}}}},f0=e=>(En("data-v-a1e137c9"),e=e(),Cn(),e),cL={class:"card mb-4 shadow rounded-3"},uL={class:"card-header d-flex"},dL={class:"form-check form-switch ms-auto"},hL={class:"form-check-label",for:"allowAPIKeysSwitch"},fL={key:0,class:"card-body position-relative d-flex flex-column gap-2"},pL=f0(()=>h("i",{class:"bi bi-key me-2"},null,-1)),mL={key:0,class:"card",style:{height:"300px"}},gL=f0(()=>h("div",{class:"card-body d-flex text-muted"},[h("span",{class:"m-auto"}," No Dashboard API Key ")],-1)),_L=[gL],bL={key:1,class:"d-flex flex-column gap-2 position-relative",style:{"min-height":"300px"}};function vL(e,t,n,s,i,o){const a=je("DashboardAPIKey"),r=je("NewDashboardAPIKey");return R(),B("div",cL,[h("div",uL,[we(" API Keys "),h("div",dL,[Le(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=l=>this.value=l),onChange:t[1]||(t[1]=l=>this.toggleDashboardAPIKeys()),role:"switch",id:"allowAPIKeysSwitch"},null,544),[[Kn,this.value]]),h("label",hL,be(this.value?"Enabled":"Disabled"),1)])]),this.value?(R(),B("div",fL,[h("button",{class:"ms-auto btn bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle rounded-3 shadow-sm",onClick:t[2]||(t[2]=l=>this.newDashboardAPIKey=!0)},[pL,we(" Create ")]),this.apiKeys.length===0?(R(),B("div",mL,_L)):(R(),B("div",bL,[$e(Hi,{name:"apiKey"},{default:Te(()=>[(R(!0),B(Me,null,qe(this.apiKeys,l=>(R(),Ne(a,{apiKey:l,key:l.Key,onDeleted:t[3]||(t[3]=c=>this.apiKeys=c)},null,8,["apiKey"]))),128))]),_:1})])),$e(Bt,{name:"zoomReversed"},{default:Te(()=>[this.newDashboardAPIKey?(R(),Ne(r,{key:0,onCreated:t[4]||(t[4]=l=>this.apiKeys=l),onClose:t[5]||(t[5]=l=>this.newDashboardAPIKey=!1)})):ce("",!0)]),_:1})])):ce("",!0)])}const yL=Ye(lL,[["render",vL],["__scopeId","data-v-a1e137c9"]]),wL={name:"accountSettingsMFA",setup(){const e=st(),t=`input_${ni()}`;return{store:e,uuid:t}},data(){return{status:!1}},mounted(){this.status=this.store.Configuration.Account.enable_totp},methods:{async resetMFA(){await dt("/api/updateDashboardConfigurationItem",{section:"Account",key:"totp_verified",value:"false"},async e=>{await dt("/api/updateDashboardConfigurationItem",{section:"Account",key:"enable_totp",value:"false"},t=>{t.status&&this.$router.push("/2FASetup")})})}}},xL={class:"d-flex align-items-center"},kL=h("strong",null,"Multi-Factor Authentication",-1),SL={class:"form-check form-switch ms-3"},AL=h("i",{class:"bi bi-shield-lock-fill me-2"},null,-1);function $L(e,t,n,s,i,o){return R(),B("div",null,[h("div",xL,[kL,h("div",SL,[Le(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=a=>this.status=a),role:"switch",id:"allowAPIKeysSwitch"},null,512),[[Kn,this.status]])]),this.status?(R(),B("button",{key:0,class:"btn bg-warning-subtle text-warning-emphasis border-1 border-warning-subtle ms-auto rounded-3 shadow-sm",onClick:t[1]||(t[1]=a=>this.resetMFA())},[AL,we(" "+be(this.store.Configuration.Account.totp_verified?"Reset":"Setup")+" MFA ",1)])):ce("",!0)])])}const EL=Ye(wL,[["render",$L]]),CL={name:"settings",methods:{ipV46RegexCheck:sM},components:{AccountSettingsMFA:EL,DashboardAPIKeys:yL,DashboardSettingsInputIPAddressAndPort:vD,DashboardTheme:nD,DashboardSettingsInputWireguardConfigurationPath:qM,AccountSettingsInputPassword:FM,AccountSettingsInputUsername:fM,PeersDefaultSettingsInput:nM},setup(){return{dashboardConfigurationStore:st()}},watch:{}},PL={class:"mt-5"},TL={class:"container"},ML=h("h3",{class:"mb-3 text-body"},"Settings",-1),DL={class:"card mb-4 shadow rounded-3"},OL=h("p",{class:"card-header"},"Peers Default Settings",-1),IL={class:"card-body"},RL={class:"card mb-4 shadow rounded-3"},LL=h("p",{class:"card-header"},"WireGuard Configurations Settings",-1),NL={class:"card-body"},FL={class:"card mb-4 shadow rounded-3"},BL=h("p",{class:"card-header"},"Account Settings",-1),VL={class:"card-body d-flex gap-4 flex-column"},HL=h("hr",{class:"m-0"},null,-1),jL=h("hr",{class:"m-0"},null,-1);function WL(e,t,n,s,i,o){const a=je("DashboardTheme"),r=je("PeersDefaultSettingsInput"),l=je("DashboardSettingsInputWireguardConfigurationPath"),c=je("AccountSettingsInputUsername"),u=je("AccountSettingsInputPassword"),d=je("AccountSettingsMFA"),f=je("DashboardAPIKeys");return R(),B("div",PL,[h("div",TL,[ML,$e(a),h("div",DL,[OL,h("div",IL,[$e(r,{targetData:"peer_global_dns",title:"DNS"}),$e(r,{targetData:"peer_endpoint_allowed_ip",title:"Peer Endpoint Allowed IPs"}),$e(r,{targetData:"peer_mtu",title:"MTU (Max Transmission Unit)"}),$e(r,{targetData:"peer_keep_alive",title:"Persistent Keepalive"}),$e(r,{targetData:"remote_endpoint",title:"Peer Remote Endpoint",warning:!0,warningText:"This will be changed globally, and will be apply to all peer's QR code and configuration file."})])]),h("div",RL,[LL,h("div",NL,[$e(l,{targetData:"wg_conf_path",title:"Configurations Directory",warning:!0,"warning-text":"Remember to remove / at the end of your path. e.g /etc/wireguard"})])]),h("div",FL,[BL,h("div",VL,[$e(c,{targetData:"username",title:"Username"}),HL,$e(u,{targetData:"password"}),jL,$e(d)])]),$e(f)])])}const zL=Ye(CL,[["render",WL]]),YL={name:"setup",components:{},setup(){return{store:st()}},data(){return{setup:{username:"",newPassword:"",repeatNewPassword:"",enable_totp:!0},loading:!1,errorMessage:"",done:!1}},computed:{goodToSubmit(){return this.setup.username&&this.setup.newPassword.length>=8&&this.setup.repeatNewPassword.length>=8&&this.setup.newPassword===this.setup.repeatNewPassword}},methods:{submit(){this.loading=!0,dt("/api/Welcome_Finish",this.setup,e=>{e.status?(this.done=!0,this.$router.push("/2FASetup")):(document.querySelectorAll("#createAccount input").forEach(t=>t.classList.add("is-invalid")),this.errorMessage=e.message,document.querySelector(".login-container-fluid").scrollTo({top:0,left:0,behavior:"smooth"})),this.loading=!1})}}},UL=["data-bs-theme"],KL={class:"m-auto text-body",style:{width:"500px"}},qL=h("span",{class:"dashboardLogo display-4"},"Nice to meet you!",-1),GL=h("p",{class:"mb-5"},"Please fill in the following fields to finish setup 😊",-1),JL=h("h3",null,"Create an account",-1),XL={key:0,class:"alert alert-danger"},QL={class:"d-flex flex-column gap-3"},ZL={id:"createAccount",class:"d-flex flex-column gap-2"},eN={class:"form-group text-body"},tN=h("label",{for:"username",class:"mb-1 text-muted"},[h("small",null,"Pick an username you like")],-1),nN={class:"form-group text-body"},sN=h("label",{for:"password",class:"mb-1 text-muted"},[h("small",null,"Create a password (at least 8 characters)")],-1),iN={class:"form-group text-body"},oN=h("label",{for:"confirmPassword",class:"mb-1 text-muted"},[h("small",null,"Confirm password")],-1),aN=["disabled"],rN={key:0,class:"d-flex align-items-center w-100"},lN=h("i",{class:"bi bi-chevron-right ms-auto"},null,-1),cN={key:1,class:"d-flex align-items-center w-100"},uN=h("span",{class:"spinner-border ms-auto spinner-border-sm",role:"status"},[h("span",{class:"visually-hidden"},"Loading...")],-1);function dN(e,t,n,s,i,o){return R(),B("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[h("div",KL,[qL,GL,h("div",null,[JL,this.errorMessage?(R(),B("div",XL,be(this.errorMessage),1)):ce("",!0),h("div",QL,[h("div",ZL,[h("div",eN,[tN,Le(h("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=a=>this.setup.username=a),class:"form-control",id:"username",name:"username",placeholder:"Maybe something like 'wiredragon'?",required:""},null,512),[[We,this.setup.username]])]),h("div",nN,[sN,Le(h("input",{type:"password","onUpdate:modelValue":t[1]||(t[1]=a=>this.setup.newPassword=a),class:"form-control",id:"password",name:"password",placeholder:"Make sure is strong enough",required:""},null,512),[[We,this.setup.newPassword]])]),h("div",iN,[oN,Le(h("input",{type:"password","onUpdate:modelValue":t[2]||(t[2]=a=>this.setup.repeatNewPassword=a),class:"form-control",id:"confirmPassword",name:"confirmPassword",placeholder:"and you can remember it :)",required:""},null,512),[[We,this.setup.repeatNewPassword]])])]),h("button",{class:"btn btn-dark btn-lg mb-5 d-flex btn-brand shadow align-items-center",ref:"signInBtn",disabled:!this.goodToSubmit||this.loading||this.done,onClick:t[3]||(t[3]=a=>this.submit())},[!this.loading&&!this.done?(R(),B("span",rN,[we(" Next"),lN])):(R(),B("span",cN,[we(" Saving..."),uN]))],8,aN)])])])],8,UL)}const hN=Ye(YL,[["render",dN]]);function Ff(e){return e.includes(":")?6:e.includes(".")?4:0}function fN(e){const t=Ff(e);if(!t)throw new Error(`Invalid IP address: ${e}`);let n=0n,s=0n;const i=Object.create(null);if(t===4)for(const o of e.split(".").map(BigInt).reverse())n+=o*2n**s,s+=8n;else{if(e.includes(".")&&(i.ipv4mapped=!0,e=e.split(":").map(r=>{if(r.includes(".")){const[l,c,u,d]=r.split(".").map(f=>Number(f).toString(16).padStart(2,"0"));return`${l}${c}:${u}${d}`}else return r}).join(":")),e.includes("%")){let r;[,e,r]=/(.+)%(.+)/.exec(e),i.scopeid=r}const o=e.split(":"),a=o.indexOf("");if(a!==-1)for(;o.length<8;)o.splice(a,0,"");for(const r of o.map(l=>BigInt(parseInt(l||0,16))).reverse())n+=r*2n**s,s+=16n}return i.number=n,i.version=t,i}const Rg={4:32,6:128},pN=e=>e.includes("/")?Ff(e):0;function mN(e){const t=pN(e),n=Object.create(null);if(n.single=!1,t)n.cidr=e,n.version=t;else{const d=Ff(e);if(d)n.cidr=`${e}/${Rg[d]}`,n.version=d,n.single=!0;else throw new Error(`Network is not a CIDR or IP: ${e}`)}const[s,i]=n.cidr.split("/");n.prefix=i;const{number:o,version:a}=fN(s),r=Rg[a],l=o.toString(2).padStart(r,"0"),c=Number(r-i),u=l.substring(0,r-c);return n.start=BigInt(`0b${u}${"0".repeat(c)}`),n.end=BigInt(`0b${u}${"1".repeat(c)}`),n}/*! SPDX-License-Identifier: GPL-2.0 * * Copyright (C) 2015-2020 Jason A. Donenfeld . All Rights Reserved. - */(function(){function e(y){var x=new Float64Array(16);if(y)for(var C=0;C>16&1),E[M-1]&=65535;E[15]=P[15]-32767-(E[14]>>16&1),C=E[15]>>16&1,E[14]&=65535,n(P,E,1-C)}for(var M=0;M<16;++M)y[2*M]=P[M]&255,y[2*M+1]=P[M]>>8}function s(y){for(var x=0;x<16;++x)y[(x+1)%16]+=(x<15?1:38)*Math.floor(y[x]/65536),y[x]&=65535}function n(y,x,C){for(var E,P=~(C-1),M=0;M<16;++M)E=P&(y[M]^x[M]),y[M]^=E,x[M]^=E}function i(y,x,C){for(var E=0;E<16;++E)y[E]=x[E]+C[E]|0}function o(y,x,C){for(var E=0;E<16;++E)y[E]=x[E]-C[E]|0}function r(y,x,C){for(var E=new Float64Array(31),P=0;P<16;++P)for(var M=0;M<16;++M)E[P+M]+=x[P]*C[M];for(var P=0;P<15;++P)E[P]+=38*E[P+16];for(var P=0;P<16;++P)y[P]=E[P];s(y),s(y)}function a(y,x){for(var C=e(),E=0;E<16;++E)C[E]=x[E];for(var E=253;E>=0;--E)r(C,C,C),E!==2&&E!==4&&r(C,C,x);for(var E=0;E<16;++E)y[E]=C[E]}function l(y){y[31]=y[31]&127|64,y[0]&=248}function c(y){for(var x,C=new Uint8Array(32),E=e([1]),P=e([9]),M=e(),L=e([1]),F=e(),Q=e(),G=e([56129,1]),H=e([9]),R=0;R<32;++R)C[R]=y[R];l(C);for(var R=254;R>=0;--R)x=C[R>>>3]>>>(R&7)&1,n(E,P,x),n(M,L,x),i(F,E,M),o(E,E,M),i(M,P,L),o(P,P,L),r(L,F,F),r(Q,E,E),r(E,M,E),r(M,P,F),i(F,E,M),o(E,E,M),r(P,E,E),o(M,L,Q),r(E,M,G),i(E,E,L),r(M,M,E),r(E,L,Q),r(L,P,H),r(P,F,F),n(E,P,x),n(M,L,x);return a(M,M),r(E,E,M),t(C,E),C}function d(){var y=new Uint8Array(32);return window.crypto.getRandomValues(y),y}function h(){var y=d();return l(y),y}function p(y,x){for(var C=Uint8Array.from([x[0]>>2&63,(x[0]<<4|x[1]>>4)&63,(x[1]<<2|x[2]>>6)&63,x[2]&63]),E=0;E<4;++E)y[E]=C[E]+65+(25-C[E]>>8&6)-(51-C[E]>>8&75)-(61-C[E]>>8&15)+(62-C[E]>>8&3)}function g(y){var x,C=new Uint8Array(44);for(x=0;x<32/3;++x)p(C.subarray(x*4),y.subarray(x*3));return p(C.subarray(x*4),Uint8Array.from([y[x*3+0],y[x*3+1],0])),C[43]=61,String.fromCharCode.apply(null,C)}function m(y){let x=window.atob(y),C=x.length,E=new Uint8Array(C);for(let M=0;M>>8&255,x>>>16&255,x>>>24&255)}function v(y,x){y.push(x&255,x>>>8&255)}function w(y,x){for(var C=0;C>>1:x>>>1;$.table[C]=x}}for(var P=-1,M=0;M>>8^$.table[(P^y[M])&255];return(P^-1)>>>0}function T(y){for(var x=[],C=[],E=0,P=0;P{e.status?(this.success=!0,await this.store.getConfigurations(),setTimeout(()=>{this.$router.push("/")},1e3)):(this.error=!0,this.errorMessage=e.message,document.querySelector(`#${e.data}`).classList.remove("is-valid"),document.querySelector(`#${e.data}`).classList.add("is-invalid"))}))}},computed:{goodToSubmit(){let e=["ConfigurationName","Address","ListenPort","PrivateKey"],t=[...document.querySelectorAll("input[required]")];return e.find(s=>this.newConfiguration[s].length===0)===void 0&&t.find(s=>s.classList.contains("is-invalid"))===void 0}},watch:{"newConfiguration.Address"(e){let t=document.querySelector("#Address");t.classList.remove("is-invalid","is-valid");try{if(e.trim().split("/").filter(i=>i.length>0).length!==2)throw Error();let s=qk(e),n=s.end-s.start;this.numberOfAvailableIPs=n.toLocaleString(),t.classList.add("is-valid")}catch{this.numberOfAvailableIPs="0",t.classList.add("is-invalid")}},"newConfiguration.ListenPort"(e){let t=document.querySelector("#ListenPort");t.classList.remove("is-invalid","is-valid"),e<0||e>65353||!Number.isInteger(e)?t.classList.add("is-invalid"):t.classList.add("is-valid")},"newConfiguration.ConfigurationName"(e){let t=document.querySelector("#ConfigurationName");t.classList.remove("is-invalid","is-valid"),!/^[a-zA-Z0-9_=+.-]{1,15}$/.test(e)||e.length===0||this.store.Configurations.find(s=>s.Name===e)?t.classList.add("is-invalid"):t.classList.add("is-valid")},"newConfiguration.PrivateKey"(e){let t=document.querySelector("#PrivateKey");t.classList.remove("is-invalid","is-valid");try{wireguard.generatePublicKey(e),t.classList.add("is-valid")}catch{t.classList.add("is-invalid")}}}},Jk={class:"mt-4"},Xk={class:"container mb-4"},Qk={class:"mb-4 d-flex align-items-center gap-4"},Zk=u("h3",{class:"mb-0 text-body"},[u("i",{class:"bi bi-chevron-left"})],-1),tT=u("h3",{class:"text-body mb-0"},"New Configuration",-1),eT={class:"card rounded-3 shadow"},sT=u("div",{class:"card-header"},"Configuration Name",-1),nT={class:"card-body"},iT=["disabled"],oT={class:"invalid-feedback"},rT={key:0},aT={key:1},lT=u("ul",{class:"mb-0"},[u("li",null,"Configuration name already exist."),u("li",null,'Configuration name can only contain 15 lower/uppercase alphabet, numbers, "_"(underscore), "="(equal), "+"(plus), "."(period/dot), "-"(dash/hyphen)')],-1),cT={class:"card rounded-3 shadow"},dT=u("div",{class:"card-header"},"Private Key / Public Key / Pre-Shared Key",-1),uT={class:"card-body",style:{"font-family":"var(--bs-font-monospace)"}},hT={class:"mb-2"},fT=u("label",{class:"text-muted fw-bold mb-1"},[u("small",null,"PRIVATE KEY")],-1),pT={class:"input-group"},gT=["disabled"],mT=u("i",{class:"bi bi-arrow-repeat"},null,-1),_T=[mT],bT=u("label",{class:"text-muted fw-bold mb-1"},[u("small",null,"PUBLIC KEY")],-1),vT={class:"card rounded-3 shadow"},yT=u("div",{class:"card-header"},"Listen Port",-1),xT={class:"card-body"},wT=["disabled"],ST={class:"invalid-feedback"},ET={key:0},AT={key:1},CT={class:"card rounded-3 shadow"},$T={class:"card-header d-flex align-items-center"},PT={class:"badge rounded-pill text-bg-success ms-auto"},kT={class:"card-body"},TT=["disabled"],MT={class:"invalid-feedback"},DT={key:0},IT={key:1},OT=u("hr",null,null,-1),LT={class:"accordion",id:"newConfigurationOptionalAccordion"},RT={class:"accordion-item"},NT=u("h2",{class:"accordion-header"},[u("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#newConfigurationOptionalAccordionCollapse"}," Optional Settings ")],-1),FT={id:"newConfigurationOptionalAccordionCollapse",class:"accordion-collapse collapse","data-bs-parent":"#newConfigurationOptionalAccordion"},BT={class:"accordion-body d-flex flex-column gap-3"},VT={class:"card rounded-3"},jT=u("div",{class:"card-header"},"PreUp",-1),HT={class:"card-body"},WT={class:"card rounded-3"},zT=u("div",{class:"card-header"},"PreDown",-1),KT={class:"card-body"},UT={class:"card rounded-3"},YT=u("div",{class:"card-header"},"PostUp",-1),qT={class:"card-body"},GT={class:"card rounded-3"},JT=u("div",{class:"card-header"},"PostDown",-1),XT={class:"card-body"},QT=["disabled"],ZT={key:0,class:"d-flex w-100"},tM=u("i",{class:"bi bi-check-circle-fill ms-2"},null,-1),eM={key:1,class:"d-flex w-100"},sM=u("i",{class:"bi bi-save-fill ms-2"},null,-1),nM={key:2,class:"d-flex w-100 align-items-center"},iM=u("span",{class:"ms-2 spinner-border spinner-border-sm",role:"status"},null,-1);function oM(e,t,s,n,i,o){const r=At("RouterLink");return O(),B("div",Jk,[u("div",Xk,[u("div",Qk,[dt(r,{to:"/"},{default:It(()=>[Zk]),_:1}),tT]),u("form",{class:"text-body d-flex flex-column gap-3",onSubmit:t[10]||(t[10]=a=>{a.preventDefault(),this.saveNewConfiguration()})},[u("div",eT,[sT,u("div",nT,[ft(u("input",{type:"text",class:"form-control",placeholder:"ex. wg1",id:"ConfigurationName","onUpdate:modelValue":t[0]||(t[0]=a=>this.newConfiguration.ConfigurationName=a),disabled:this.loading,required:""},null,8,iT),[[bt,this.newConfiguration.ConfigurationName]]),u("div",oT,[this.error?(O(),B("div",rT,nt(this.errorMessage),1)):(O(),B("div",aT,[rt(" Configuration name is invalid. Possible reasons: "),lT]))])])]),u("div",cT,[dT,u("div",uT,[u("div",hT,[fT,u("div",pT,[ft(u("input",{type:"text",class:"form-control",id:"PrivateKey",required:"",disabled:this.loading,"onUpdate:modelValue":t[1]||(t[1]=a=>this.newConfiguration.PrivateKey=a)},null,8,gT),[[bt,this.newConfiguration.PrivateKey]]),u("button",{class:"btn btn-outline-primary",type:"button",title:"Regenerate Private Key",onClick:t[2]||(t[2]=a=>o.wireguardGenerateKeypair())},_T)])]),u("div",null,[bT,ft(u("input",{type:"text",class:"form-control",id:"PublicKey","onUpdate:modelValue":t[3]||(t[3]=a=>this.newConfiguration.PublicKey=a),disabled:""},null,512),[[bt,this.newConfiguration.PublicKey]])])])]),u("div",vT,[yT,u("div",xT,[ft(u("input",{type:"number",class:"form-control",placeholder:"0-65353",id:"ListenPort",min:"1",max:"65353","onUpdate:modelValue":t[4]||(t[4]=a=>this.newConfiguration.ListenPort=a),disabled:this.loading,required:""},null,8,wT),[[bt,this.newConfiguration.ListenPort]]),u("div",ST,[this.error?(O(),B("div",ET,nt(this.errorMessage),1)):(O(),B("div",AT," Invalid port "))])])]),u("div",CT,[u("div",$T,[rt(" IP Address & Range "),u("span",PT,nt(i.numberOfAvailableIPs)+" Available IPs",1)]),u("div",kT,[ft(u("input",{type:"text",class:"form-control",placeholder:"Ex: 10.0.0.1/24",id:"Address","onUpdate:modelValue":t[5]||(t[5]=a=>this.newConfiguration.Address=a),disabled:this.loading,required:""},null,8,TT),[[bt,this.newConfiguration.Address]]),u("div",MT,[this.error?(O(),B("div",DT,nt(this.errorMessage),1)):(O(),B("div",IT," IP address & range is invalid. "))])])]),OT,u("div",LT,[u("div",RT,[NT,u("div",FT,[u("div",BT,[u("div",VT,[jT,u("div",HT,[ft(u("input",{type:"text",class:"form-control",id:"preUp","onUpdate:modelValue":t[6]||(t[6]=a=>this.newConfiguration.PreUp=a)},null,512),[[bt,this.newConfiguration.PreUp]])])]),u("div",WT,[zT,u("div",KT,[ft(u("input",{type:"text",class:"form-control",id:"preDown","onUpdate:modelValue":t[7]||(t[7]=a=>this.newConfiguration.PreDown=a)},null,512),[[bt,this.newConfiguration.PreDown]])])]),u("div",UT,[YT,u("div",qT,[ft(u("input",{type:"text",class:"form-control",id:"postUp","onUpdate:modelValue":t[8]||(t[8]=a=>this.newConfiguration.PostUp=a)},null,512),[[bt,this.newConfiguration.PostUp]])])]),u("div",GT,[JT,u("div",XT,[ft(u("input",{type:"text",class:"form-control",id:"postDown","onUpdate:modelValue":t[9]||(t[9]=a=>this.newConfiguration.PostDown=a)},null,512),[[bt,this.newConfiguration.PostDown]])])])])])])]),u("button",{class:"btn btn-dark btn-brand rounded-3 px-3 py-2 shadow ms-auto",disabled:!this.goodToSubmit},[this.success?(O(),B("span",ZT,[rt(" Success! "),tM])):this.loading?(O(),B("span",nM,[rt(" Saving... "),iM])):(O(),B("span",eM,[rt(" Save Configuration "),sM]))],8,QT)],32)])])}const rM=Et(Gk,[["render",oM]]),aM={name:"configuration"},lM={class:"mt-5 text-body"};function cM(e,t,s,n,i,o){const r=At("RouterView");return O(),B("div",lM,[dt(r,null,{default:It(({Component:a,route:l})=>[dt(Re,{name:"fade2",mode:"out-in"},{default:It(()=>[(O(),qt(Id,null,{default:It(()=>[(O(),qt(Dd(a),{key:l.path}))]),_:2},1024))]),_:2},1024)]),_:1})])}const dM=Et(aM,[["render",cM]]),uM={name:"peerSearch",setup(){const e=Ht(),t=Ve();return{store:e,wireguardConfigurationStore:t}},props:{configuration:Object},data(){return{sort:{status:"Status",name:"Name",allowed_ip:"Allowed IP",restricted:"Restricted"},interval:{5e3:"5 Seconds",1e4:"10 Seconds",3e4:"30 Seconds",6e4:"1 Minutes"},searchString:"",searchStringTimeout:void 0}},methods:{debounce(){this.searchStringTimeout?(clearTimeout(this.searchStringTimeout),this.searchStringTimeout=setTimeout(()=>{this.wireguardConfigurationStore.searchString=this.searchString},300)):this.searchStringTimeout=setTimeout(()=>{this.wireguardConfigurationStore.searchString=this.searchString},300)},updateSort(e){Zt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_sort",value:e},t=>{t.status&&this.store.getConfiguration()})},updateRefreshInterval(e){Zt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_refresh_interval",value:e},t=>{t.status&&this.store.getConfiguration()})},downloadAllPeer(){le(`/api/downloadAllPeers/${this.configuration.Name}`,{},e=>{console.log(e),window.wireguard.generateZipFiles(e,this.configuration.Name)})}},mounted(){}},hM={class:"mb-3"},fM={class:"d-flex gap-2 z-3"},pM=u("i",{class:"bi bi-plus-lg me-2"},null,-1),gM=u("i",{class:"bi bi-download me-2"},null,-1),mM={class:"d-flex align-items-center ms-auto"},_M={class:"dropdown"},bM=u("button",{class:"btn dropdown-toggle text-secondary-emphasis bg-secondary-subtle rounded-3 border-1 border-secondary-subtle shadow-sm",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[u("i",{class:"bi bi-filter-circle me-2"}),rt(" Sort ")],-1),vM={class:"dropdown-menu mt-2 shadow rounded-3"},yM=["onClick"],xM={class:"me-auto"},wM={key:0,class:"bi bi-check text-primary"},SM={class:"dropdown"},EM=u("button",{class:"btn dropdown-toggle text-secondary-emphasis bg-secondary-subtle rounded-3 border-1 border-secondary-subtle shadow-sm",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[u("i",{class:"bi bi-arrow-repeat me-2"}),rt("Refresh Interval ")],-1),AM={class:"dropdown-menu shadow mt-2 rounded-3"},CM=["onClick"],$M={class:"me-auto"},PM={key:0,class:"bi bi-check text-primary"},kM={class:"dropdown"},TM=u("button",{class:"btn dropdown-toggle text-secondary-emphasis bg-secondary-subtle rounded-3 border-1 border-secondary-subtle shadow-sm",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[u("i",{class:"bi bi-three-dots me-2"}),rt("More ")],-1),MM={class:"dropdown-menu shadow mt-2 rounded-3"},DM=u("li",null,[u("h6",{class:"dropdown-header"},"Peer Jobs")],-1);function IM(e,t,s,n,i,o){const r=At("RouterLink");return O(),B("div",hM,[u("div",fM,[dt(r,{to:"create",class:"text-decoration-none btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle shadow-sm"},{default:It(()=>[pM,rt("Peer ")]),_:1}),u("button",{class:"btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle shadow-sm",onClick:t[0]||(t[0]=a=>this.downloadAllPeer())},[gM,rt(" Download All ")]),u("div",mM,[ft(u("input",{class:"form-control rounded-3 bg-secondary-subtle border-1 border-secondary-subtle shadow-sm",placeholder:"Search...",id:"searchPeers",onKeyup:t[1]||(t[1]=a=>this.debounce()),"onUpdate:modelValue":t[2]||(t[2]=a=>this.searchString=a)},null,544),[[bt,this.searchString]])]),u("div",_M,[bM,u("ul",vM,[(O(!0),B(Nt,null,se(this.sort,(a,l)=>(O(),B("li",null,[u("a",{class:"dropdown-item d-flex",role:"button",onClick:c=>this.updateSort(l)},[u("span",xM,nt(a),1),n.store.Configuration.Server.dashboard_sort===l?(O(),B("i",wM)):xt("",!0)],8,yM)]))),256))])]),u("div",SM,[EM,u("ul",AM,[(O(!0),B(Nt,null,se(this.interval,(a,l)=>(O(),B("li",null,[u("a",{class:"dropdown-item d-flex",role:"button",onClick:c=>o.updateRefreshInterval(l)},[u("span",$M,nt(a),1),n.store.Configuration.Server.dashboard_refresh_interval===l?(O(),B("i",PM)):xt("",!0)],8,CM)]))),256))])]),u("div",kM,[TM,u("ul",MM,[DM,u("li",null,[u("a",{role:"button",class:"dropdown-item",onClick:t[3]||(t[3]=a=>this.$emit("jobsAll"))}," All Active Jobs ")]),u("li",null,[u("a",{role:"button",class:"dropdown-item",onClick:t[4]||(t[4]=a=>this.$emit("jobLogs"))}," Logs ")])])])])])}const OM=Et(uM,[["render",IM]]);function LM(e){return vd()?(Og(e),!0):!1}function u_(e){return typeof e=="function"?e():pn(e)}const h_=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const RM=Object.prototype.toString,NM=e=>RM.call(e)==="[object Object]",ca=()=>{},FM=BM();function BM(){var e,t;return h_&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function bo(e){var t;const s=u_(e);return(t=s==null?void 0:s.$el)!=null?t:s}const f_=h_?window:void 0;function Kl(...e){let t,s,n,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([s,n,i]=e,t=f_):[t,s,n,i]=e,!t)return ca;Array.isArray(s)||(s=[s]),Array.isArray(n)||(n=[n]);const o=[],r=()=>{o.forEach(d=>d()),o.length=0},a=(d,h,p,g)=>(d.addEventListener(h,p,g),()=>d.removeEventListener(h,p,g)),l=Qn(()=>[bo(t),u_(i)],([d,h])=>{if(r(),!d)return;const p=NM(h)?{...h}:h;o.push(...s.flatMap(g=>n.map(m=>a(d,g,m,p))))},{immediate:!0,flush:"post"}),c=()=>{l(),r()};return LM(c),c}let Sf=!1;function VM(e,t,s={}){const{window:n=f_,ignore:i=[],capture:o=!0,detectIframe:r=!1}=s;if(!n)return ca;FM&&!Sf&&(Sf=!0,Array.from(n.document.body.children).forEach(p=>p.addEventListener("click",ca)),n.document.documentElement.addEventListener("click",ca));let a=!0;const l=p=>i.some(g=>{if(typeof g=="string")return Array.from(n.document.querySelectorAll(g)).some(m=>m===p.target||p.composedPath().includes(m));{const m=bo(g);return m&&(p.target===m||p.composedPath().includes(m))}}),d=[Kl(n,"click",p=>{const g=bo(e);if(!(!g||g===p.target||p.composedPath().includes(g))){if(p.detail===0&&(a=!l(p)),!a){a=!0;return}t(p)}},{passive:!0,capture:o}),Kl(n,"pointerdown",p=>{const g=bo(e);a=!l(p)&&!!(g&&!p.composedPath().includes(g))},{passive:!0}),r&&Kl(n,"blur",p=>{setTimeout(()=>{var g;const m=bo(e);((g=n.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!(m!=null&&m.contains(n.document.activeElement))&&t(p)},0)})].filter(Boolean);return()=>d.forEach(p=>p())}const jM={name:"peerSettingsDropdown",setup(){return{dashboardStore:Ht()}},props:{Peer:Object},data(){return{deleteBtnDisabled:!1,restrictBtnDisabled:!1,allowAccessBtnDisabled:!1}},methods:{downloadPeer(){le("/api/downloadPeer/"+this.$route.params.id,{id:this.Peer.id},e=>{if(e.status){const t=new Blob([e.data.file],{type:"text/plain"}),s=URL.createObjectURL(t),n=`${e.data.fileName}.conf`,i=document.createElement("a");i.href=s,i.download=n,i.click(),this.dashboardStore.newMessage("WGDashboard","Peer download started","success")}else this.dashboardStore.newMessage("Server",e.message,"danger")})},downloadQRCode(){le("/api/downloadPeer/"+this.$route.params.id,{id:this.Peer.id},e=>{e.status?this.$emit("qrcode",e.data.file):this.dashboardStore.newMessage("Server",e.message,"danger")})},deletePeer(){this.deleteBtnDisabled=!0,Zt(`/api/deletePeers/${this.$route.params.id}`,{peers:[this.Peer.id]},e=>{this.dashboardStore.newMessage("Server",e.message,e.status?"success":"danger"),this.$emit("refresh"),this.deleteBtnDisabled=!1})},restrictPeer(){this.restrictBtnDisabled=!0,Zt(`/api/restrictPeers/${this.$route.params.id}`,{peers:[this.Peer.id]},e=>{this.dashboardStore.newMessage("Server",e.message,e.status?"success":"danger"),this.$emit("refresh"),this.restrictBtnDisabled=!1})},allowAccessPeer(){this.allowAccessBtnDisabled=!0,Zt(`/api/allowAccessPeers/${this.$route.params.id}`,{peers:[this.Peer.id]},e=>{this.dashboardStore.newMessage("Server",e.message,e.status?"success":"danger"),this.$emit("refresh"),this.allowAccessBtnDisabled=!1})}}},Es=e=>(ss("data-v-efcc2294"),e=e(),ns(),e),HM={class:"dropdown-menu mt-2 shadow-lg d-block rounded-3",style:{"max-width":"200px"}},WM=Es(()=>u("li",null,[u("small",{class:"w-100 dropdown-item text-muted",style:{"white-space":"break-spaces","font-size":"0.7rem"}},[rt("Download & QR Code is not available due to no "),u("code",null,"private key"),rt(" set for this peer ")])],-1)),zM=Es(()=>u("li",null,[u("hr",{class:"dropdown-divider"})],-1)),KM=Es(()=>u("i",{class:"me-auto bi bi-pen"},null,-1)),UM=Es(()=>u("i",{class:"me-auto bi bi-app-indicator"},null,-1)),YM=Es(()=>u("i",{class:"me-auto bi bi-download"},null,-1)),qM=Es(()=>u("i",{class:"me-auto bi bi-qr-code"},null,-1)),GM=Es(()=>u("li",null,[u("hr",{class:"dropdown-divider"})],-1)),JM=Es(()=>u("i",{class:"me-auto bi bi-lock"},null,-1)),XM=Es(()=>u("i",{class:"me-auto bi bi-trash"},null,-1)),QM={key:1},ZM=Es(()=>u("i",{class:"me-auto bi bi-unlock"},null,-1));function tD(e,t,s,n,i,o){return O(),B("ul",HM,[this.Peer.restricted?(O(),B("li",QM,[u("a",{class:Mt(["dropdown-item d-flex text-warning",{disabled:this.restrictBtnDisabled}]),onClick:t[6]||(t[6]=r=>this.allowAccessPeer()),role:"button"},[ZM,rt(" "+nt(this.allowAccessBtnDisabled?"Allowing...":"Allow Access"),1)],2)])):(O(),B(Nt,{key:0},[this.Peer.private_key?xt("",!0):(O(),B(Nt,{key:0},[WM,zM],64)),u("li",null,[u("a",{class:"dropdown-item d-flex",role:"button",onClick:t[0]||(t[0]=r=>this.$emit("setting"))},[KM,rt(" Edit ")])]),u("li",null,[u("a",{class:"dropdown-item d-flex",role:"button",onClick:t[1]||(t[1]=r=>this.$emit("jobs"))},[UM,rt(" Schedule Jobs ")])]),this.Peer.private_key?(O(),B(Nt,{key:1},[u("li",null,[u("a",{class:"dropdown-item d-flex",role:"button",onClick:t[2]||(t[2]=r=>this.downloadPeer())},[YM,rt(" Download ")])]),u("li",null,[u("a",{class:"dropdown-item d-flex",role:"button",onClick:t[3]||(t[3]=r=>this.downloadQRCode())},[qM,rt(" QR Code ")])])],64)):xt("",!0),GM,u("li",null,[u("a",{class:Mt(["dropdown-item d-flex text-warning",{disabled:this.restrictBtnDisabled}]),onClick:t[4]||(t[4]=r=>this.restrictPeer()),role:"button"},[JM,rt(" "+nt(this.restrictBtnDisabled?"Restricting...":"Restrict Access"),1)],2)]),u("li",null,[u("a",{class:Mt(["dropdown-item d-flex fw-bold text-danger",{disabled:this.deleteBtnDisabled}]),onClick:t[5]||(t[5]=r=>this.deletePeer()),role:"button"},[XM,rt(" "+nt(this.deleteBtnDisabled?"Deleting...":"Delete"),1)],2)])],64))])}const eD=Et(jM,[["render",tD],["__scopeId","data-v-efcc2294"]]),sD={name:"peer",components:{PeerSettingsDropdown:eD},props:{Peer:Object},data(){return{}},setup(){const e=vs(null),t=vs(!1);return VM(e,s=>{t.value=!1}),{target:e,subMenuOpened:t}},computed:{getLatestHandshake(){return this.Peer.latest_handshake.includes(",")?this.Peer.latest_handshake.split(",")[0]:this.Peer.latest_handshake}}},ri=e=>(ss("data-v-f0f04ed4"),e=e(),ns(),e),nD={key:0,class:"card-header bg-transparent d-flex align-items-center gap-2 border-0"},iD={style:{"font-size":"0.8rem"},class:"ms-auto d-flex gap-2"},oD={class:"text-primary"},rD=ri(()=>u("i",{class:"bi bi-arrow-down"},null,-1)),aD={class:"text-success"},lD=ri(()=>u("i",{class:"bi bi-arrow-up"},null,-1)),cD={key:0,class:"text-secondary"},dD=ri(()=>u("i",{class:"bi bi-arrows-angle-contract"},null,-1)),uD={key:1,class:"border-0 card-header bg-transparent text-warning fw-bold",style:{"font-size":"0.8rem"}},hD=ri(()=>u("i",{class:"bi-lock-fill me-2"},null,-1)),fD={class:"card-body pt-1",style:{"font-size":"0.9rem"}},pD={class:"mb-2"},gD=ri(()=>u("small",{class:"text-muted"},"Public Key",-1)),mD={class:"mb-0"},_D={class:"d-flex align-items-end"},bD=ri(()=>u("small",{class:"text-muted"},"Allowed IP",-1)),vD={class:"mb-0"},yD=ri(()=>u("h5",{class:"mb-0"},[u("i",{class:"bi bi-three-dots"})],-1)),xD=[yD];function wD(e,t,s,n,i,o){const r=At("PeerSettingsDropdown");return O(),B("div",{class:Mt(["card shadow-sm rounded-3 peerCard bg-transparent",{"border-warning":s.Peer.restricted}])},[u("div",null,[s.Peer.restricted?(O(),B("div",uD,[hD,rt(" Access Restricted ")])):(O(),B("div",nD,[u("div",{class:Mt(["dot ms-0",{active:s.Peer.status==="running"}])},null,2),u("div",iD,[u("span",oD,[rD,u("strong",null,nt((s.Peer.cumu_receive+s.Peer.total_receive).toFixed(4)),1),rt(" GB ")]),u("span",aD,[lD,u("strong",null,nt((s.Peer.cumu_sent+s.Peer.total_sent).toFixed(4)),1),rt(" GB ")]),s.Peer.latest_handshake!=="No Handshake"?(O(),B("span",cD,[dD,rt(" "+nt(o.getLatestHandshake)+" ago ",1)])):xt("",!0)])]))]),u("div",fD,[u("h6",null,nt(s.Peer.name?s.Peer.name:"Untitled Peer"),1),u("div",pD,[gD,u("p",mD,[u("samp",null,nt(s.Peer.id),1)])]),u("div",_D,[u("div",null,[bD,u("p",vD,[u("samp",null,nt(s.Peer.allowed_ip),1)])]),u("div",{class:Mt(["ms-auto px-2 rounded-3 subMenuBtn",{active:this.subMenuOpened}])},[u("a",{role:"button",class:"text-body",onClick:t[0]||(t[0]=a=>this.subMenuOpened=!0)},xD),dt(Re,{name:"slide-fade"},{default:It(()=>[this.subMenuOpened?(O(),qt(r,{key:0,onQrcode:t[1]||(t[1]=a=>this.$emit("qrcode",a)),onSetting:t[2]||(t[2]=a=>this.$emit("setting")),onJobs:t[3]||(t[3]=a=>this.$emit("jobs")),onRefresh:t[4]||(t[4]=a=>this.$emit("refresh")),Peer:s.Peer,ref:"target"},null,8,["Peer"])):xt("",!0)]),_:1})],2)])])],2)}const SD=Et(sD,[["render",wD],["__scopeId","data-v-f0f04ed4"]]);/*! + */(function(){function e(k){var y=new Float64Array(16);if(k)for(var x=0;x>16&1),E[C-1]&=65535;E[15]=P[15]-32767-(E[14]>>16&1),x=E[15]>>16&1,E[14]&=65535,s(P,E,1-x)}for(var C=0;C<16;++C)k[2*C]=P[C]&255,k[2*C+1]=P[C]>>8}function n(k){for(var y=0;y<16;++y)k[(y+1)%16]+=(y<15?1:38)*Math.floor(k[y]/65536),k[y]&=65535}function s(k,y,x){for(var E,P=~(x-1),C=0;C<16;++C)E=P&(k[C]^y[C]),k[C]^=E,y[C]^=E}function i(k,y,x){for(var E=0;E<16;++E)k[E]=y[E]+x[E]|0}function o(k,y,x){for(var E=0;E<16;++E)k[E]=y[E]-x[E]|0}function a(k,y,x){for(var E=new Float64Array(31),P=0;P<16;++P)for(var C=0;C<16;++C)E[P+C]+=y[P]*x[C];for(var P=0;P<15;++P)E[P]+=38*E[P+16];for(var P=0;P<16;++P)k[P]=E[P];n(k),n(k)}function r(k,y){for(var x=e(),E=0;E<16;++E)x[E]=y[E];for(var E=253;E>=0;--E)a(x,x,x),E!==2&&E!==4&&a(x,x,y);for(var E=0;E<16;++E)k[E]=x[E]}function l(k){k[31]=k[31]&127|64,k[0]&=248}function c(k){for(var y,x=new Uint8Array(32),E=e([1]),P=e([9]),C=e(),F=e([1]),G=e(),ae=e(),Y=e([56129,1]),L=e([9]),O=0;O<32;++O)x[O]=k[O];l(x);for(var O=254;O>=0;--O)y=x[O>>>3]>>>(O&7)&1,s(E,P,y),s(C,F,y),i(G,E,C),o(E,E,C),i(C,P,F),o(P,P,F),a(F,G,G),a(ae,E,E),a(E,C,E),a(C,P,G),i(G,E,C),o(E,E,C),a(P,E,E),o(C,F,ae),a(E,C,Y),i(E,E,F),a(C,C,E),a(E,F,ae),a(F,P,L),a(P,G,G),s(E,P,y),s(C,F,y);return r(C,C),a(E,E,C),t(x,E),x}function u(){var k=new Uint8Array(32);return window.crypto.getRandomValues(k),k}function d(){var k=u();return l(k),k}function f(k,y){for(var x=Uint8Array.from([y[0]>>2&63,(y[0]<<4|y[1]>>4)&63,(y[1]<<2|y[2]>>6)&63,y[2]&63]),E=0;E<4;++E)k[E]=x[E]+65+(25-x[E]>>8&6)-(51-x[E]>>8&75)-(61-x[E]>>8&15)+(62-x[E]>>8&3)}function p(k){var y,x=new Uint8Array(44);for(y=0;y<32/3;++y)f(x.subarray(y*4),k.subarray(y*3));return f(x.subarray(y*4),Uint8Array.from([k[y*3+0],k[y*3+1],0])),x[43]=61,String.fromCharCode.apply(null,x)}function g(k){let y=window.atob(k),x=y.length,E=new Uint8Array(x);for(let C=0;C>>8&255,y>>>16&255,y>>>24&255)}function v(k,y){k.push(y&255,y>>>8&255)}function w(k,y){for(var x=0;x>>1:y>>>1;$.table[x]=y}}for(var P=-1,C=0;C>>8^$.table[(P^k[C])&255];return(P^-1)>>>0}function M(k){for(var y=[],x=[],E=0,P=0;P{e.status?(this.success=!0,await this.store.getConfigurations(),setTimeout(()=>{this.$router.push("/")},1e3)):(this.error=!0,this.errorMessage=e.message,document.querySelector(`#${e.data}`).classList.remove("is-valid"),document.querySelector(`#${e.data}`).classList.add("is-invalid"))}))}},computed:{goodToSubmit(){let e=["ConfigurationName","Address","ListenPort","PrivateKey"],t=[...document.querySelectorAll("input[required]")];return e.find(n=>this.newConfiguration[n].length===0)===void 0&&t.find(n=>n.classList.contains("is-invalid"))===void 0}},watch:{"newConfiguration.Address"(e){let t=document.querySelector("#Address");t.classList.remove("is-invalid","is-valid");try{if(e.trim().split("/").filter(i=>i.length>0).length!==2)throw Error();let n=mN(e),s=n.end-n.start;this.numberOfAvailableIPs=s.toLocaleString(),t.classList.add("is-valid")}catch{this.numberOfAvailableIPs="0",t.classList.add("is-invalid")}},"newConfiguration.ListenPort"(e){let t=document.querySelector("#ListenPort");t.classList.remove("is-invalid","is-valid"),e<0||e>65353||!Number.isInteger(e)?t.classList.add("is-invalid"):t.classList.add("is-valid")},"newConfiguration.ConfigurationName"(e){let t=document.querySelector("#ConfigurationName");t.classList.remove("is-invalid","is-valid"),!/^[a-zA-Z0-9_=+.-]{1,15}$/.test(e)||e.length===0||this.store.Configurations.find(n=>n.Name===e)?t.classList.add("is-invalid"):t.classList.add("is-valid")},"newConfiguration.PrivateKey"(e){let t=document.querySelector("#PrivateKey");t.classList.remove("is-invalid","is-valid");try{wireguard.generatePublicKey(e),t.classList.add("is-valid")}catch{t.classList.add("is-invalid")}}}},_N={class:"mt-4"},bN={class:"container mb-4"},vN={class:"mb-4 d-flex align-items-center gap-4"},yN=h("h3",{class:"mb-0 text-body"},[h("i",{class:"bi bi-chevron-left"})],-1),wN=h("h3",{class:"text-body mb-0"},"New Configuration",-1),xN={class:"card rounded-3 shadow"},kN=h("div",{class:"card-header"},"Configuration Name",-1),SN={class:"card-body"},AN=["disabled"],$N={class:"invalid-feedback"},EN={key:0},CN={key:1},PN=h("ul",{class:"mb-0"},[h("li",null,"Configuration name already exist."),h("li",null,'Configuration name can only contain 15 lower/uppercase alphabet, numbers, "_"(underscore), "="(equal), "+"(plus), "."(period/dot), "-"(dash/hyphen)')],-1),TN={class:"card rounded-3 shadow"},MN=h("div",{class:"card-header"},"Private Key / Public Key / Pre-Shared Key",-1),DN={class:"card-body",style:{"font-family":"var(--bs-font-monospace)"}},ON={class:"mb-2"},IN=h("label",{class:"text-muted fw-bold mb-1"},[h("small",null,"PRIVATE KEY")],-1),RN={class:"input-group"},LN=["disabled"],NN=h("i",{class:"bi bi-arrow-repeat"},null,-1),FN=[NN],BN=h("label",{class:"text-muted fw-bold mb-1"},[h("small",null,"PUBLIC KEY")],-1),VN={class:"card rounded-3 shadow"},HN=h("div",{class:"card-header"},"Listen Port",-1),jN={class:"card-body"},WN=["disabled"],zN={class:"invalid-feedback"},YN={key:0},UN={key:1},KN={class:"card rounded-3 shadow"},qN={class:"card-header d-flex align-items-center"},GN={class:"badge rounded-pill text-bg-success ms-auto"},JN={class:"card-body"},XN=["disabled"],QN={class:"invalid-feedback"},ZN={key:0},e3={key:1},t3=h("hr",null,null,-1),n3={class:"accordion",id:"newConfigurationOptionalAccordion"},s3={class:"accordion-item"},i3=h("h2",{class:"accordion-header"},[h("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#newConfigurationOptionalAccordionCollapse"}," Optional Settings ")],-1),o3={id:"newConfigurationOptionalAccordionCollapse",class:"accordion-collapse collapse","data-bs-parent":"#newConfigurationOptionalAccordion"},a3={class:"accordion-body d-flex flex-column gap-3"},r3={class:"card rounded-3"},l3=h("div",{class:"card-header"},"PreUp",-1),c3={class:"card-body"},u3={class:"card rounded-3"},d3=h("div",{class:"card-header"},"PreDown",-1),h3={class:"card-body"},f3={class:"card rounded-3"},p3=h("div",{class:"card-header"},"PostUp",-1),m3={class:"card-body"},g3={class:"card rounded-3"},_3=h("div",{class:"card-header"},"PostDown",-1),b3={class:"card-body"},v3=["disabled"],y3={key:0,class:"d-flex w-100"},w3=h("i",{class:"bi bi-check-circle-fill ms-2"},null,-1),x3={key:1,class:"d-flex w-100"},k3=h("i",{class:"bi bi-save-fill ms-2"},null,-1),S3={key:2,class:"d-flex w-100 align-items-center"},A3=h("span",{class:"ms-2 spinner-border spinner-border-sm",role:"status"},null,-1);function $3(e,t,n,s,i,o){const a=je("RouterLink");return R(),B("div",_N,[h("div",bN,[h("div",vN,[$e(a,{to:"/"},{default:Te(()=>[yN]),_:1}),wN]),h("form",{class:"text-body d-flex flex-column gap-3",onSubmit:t[10]||(t[10]=r=>{r.preventDefault(),this.saveNewConfiguration()})},[h("div",xN,[kN,h("div",SN,[Le(h("input",{type:"text",class:"form-control",placeholder:"ex. wg1",id:"ConfigurationName","onUpdate:modelValue":t[0]||(t[0]=r=>this.newConfiguration.ConfigurationName=r),disabled:this.loading,required:""},null,8,AN),[[We,this.newConfiguration.ConfigurationName]]),h("div",$N,[this.error?(R(),B("div",EN,be(this.errorMessage),1)):(R(),B("div",CN,[we(" Configuration name is invalid. Possible reasons: "),PN]))])])]),h("div",TN,[MN,h("div",DN,[h("div",ON,[IN,h("div",RN,[Le(h("input",{type:"text",class:"form-control",id:"PrivateKey",required:"",disabled:this.loading,"onUpdate:modelValue":t[1]||(t[1]=r=>this.newConfiguration.PrivateKey=r)},null,8,LN),[[We,this.newConfiguration.PrivateKey]]),h("button",{class:"btn btn-outline-primary",type:"button",title:"Regenerate Private Key",onClick:t[2]||(t[2]=r=>o.wireguardGenerateKeypair())},FN)])]),h("div",null,[BN,Le(h("input",{type:"text",class:"form-control",id:"PublicKey","onUpdate:modelValue":t[3]||(t[3]=r=>this.newConfiguration.PublicKey=r),disabled:""},null,512),[[We,this.newConfiguration.PublicKey]])])])]),h("div",VN,[HN,h("div",jN,[Le(h("input",{type:"number",class:"form-control",placeholder:"0-65353",id:"ListenPort",min:"1",max:"65353","onUpdate:modelValue":t[4]||(t[4]=r=>this.newConfiguration.ListenPort=r),disabled:this.loading,required:""},null,8,WN),[[We,this.newConfiguration.ListenPort]]),h("div",zN,[this.error?(R(),B("div",YN,be(this.errorMessage),1)):(R(),B("div",UN," Invalid port "))])])]),h("div",KN,[h("div",qN,[we(" IP Address & Range "),h("span",GN,be(i.numberOfAvailableIPs)+" Available IPs",1)]),h("div",JN,[Le(h("input",{type:"text",class:"form-control",placeholder:"Ex: 10.0.0.1/24",id:"Address","onUpdate:modelValue":t[5]||(t[5]=r=>this.newConfiguration.Address=r),disabled:this.loading,required:""},null,8,XN),[[We,this.newConfiguration.Address]]),h("div",QN,[this.error?(R(),B("div",ZN,be(this.errorMessage),1)):(R(),B("div",e3," IP address & range is invalid. "))])])]),t3,h("div",n3,[h("div",s3,[i3,h("div",o3,[h("div",a3,[h("div",r3,[l3,h("div",c3,[Le(h("input",{type:"text",class:"form-control",id:"preUp","onUpdate:modelValue":t[6]||(t[6]=r=>this.newConfiguration.PreUp=r)},null,512),[[We,this.newConfiguration.PreUp]])])]),h("div",u3,[d3,h("div",h3,[Le(h("input",{type:"text",class:"form-control",id:"preDown","onUpdate:modelValue":t[7]||(t[7]=r=>this.newConfiguration.PreDown=r)},null,512),[[We,this.newConfiguration.PreDown]])])]),h("div",f3,[p3,h("div",m3,[Le(h("input",{type:"text",class:"form-control",id:"postUp","onUpdate:modelValue":t[8]||(t[8]=r=>this.newConfiguration.PostUp=r)},null,512),[[We,this.newConfiguration.PostUp]])])]),h("div",g3,[_3,h("div",b3,[Le(h("input",{type:"text",class:"form-control",id:"postDown","onUpdate:modelValue":t[9]||(t[9]=r=>this.newConfiguration.PostDown=r)},null,512),[[We,this.newConfiguration.PostDown]])])])])])])]),h("button",{class:"btn btn-dark btn-brand rounded-3 px-3 py-2 shadow ms-auto",disabled:!this.goodToSubmit},[this.success?(R(),B("span",y3,[we(" Success! "),w3])):this.loading?(R(),B("span",S3,[we(" Saving... "),A3])):(R(),B("span",x3,[we(" Save Configuration "),k3]))],8,v3)],32)])])}const E3=Ye(gN,[["render",$3]]),C3={name:"configuration"},P3={class:"mt-5 text-body"};function T3(e,t,n,s,i,o){const a=je("RouterView");return R(),B("div",P3,[$e(a,null,{default:Te(({Component:r,route:l})=>[$e(Bt,{name:"fade2",mode:"out-in"},{default:Te(()=>[(R(),Ne(af,null,{default:Te(()=>[(R(),Ne(Do(r),{key:l.path}))]),_:2},1024))]),_:2},1024)]),_:1})])}const M3=Ye(C3,[["render",T3]]),D3={name:"peerSearch",setup(){const e=st(),t=Nn();return{store:e,wireguardConfigurationStore:t}},props:{configuration:Object},data(){return{sort:{status:"Status",name:"Name",allowed_ip:"Allowed IP",restricted:"Restricted"},interval:{5e3:"5 Seconds",1e4:"10 Seconds",3e4:"30 Seconds",6e4:"1 Minutes"},searchString:"",searchStringTimeout:void 0}},methods:{debounce(){this.searchStringTimeout?(clearTimeout(this.searchStringTimeout),this.searchStringTimeout=setTimeout(()=>{this.wireguardConfigurationStore.searchString=this.searchString},300)):this.searchStringTimeout=setTimeout(()=>{this.wireguardConfigurationStore.searchString=this.searchString},300)},updateSort(e){dt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_sort",value:e},t=>{t.status&&this.store.getConfiguration()})},updateRefreshInterval(e){dt("/api/updateDashboardConfigurationItem",{section:"Server",key:"dashboard_refresh_interval",value:e},t=>{t.status&&this.store.getConfiguration()})},downloadAllPeer(){Tt(`/api/downloadAllPeers/${this.configuration.Name}`,{},e=>{console.log(e),window.wireguard.generateZipFiles(e,this.configuration.Name)})}},mounted(){}},zi=e=>(En("data-v-84cd1594"),e=e(),Cn(),e),O3={class:"mb-3"},I3={class:"d-flex gap-2 z-3"},R3=zi(()=>h("i",{class:"bi bi-plus-lg me-2"},null,-1)),L3=zi(()=>h("i",{class:"bi bi-download me-2"},null,-1)),N3={class:"flex-grow-1"},F3={class:"dropdown dropup"},B3=zi(()=>h("button",{class:"btn text-secondary-emphasis bg-secondary-subtle rounded-3 border-1 border-secondary-subtle shadow-sm",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[h("i",{class:"bi bi-filter-circle me-2"}),we(" Display ")],-1)),V3={class:"dropdown-menu mt-2 shadow rounded-3 animate__animated animation__fadeInDropdown dropdown-menu-end"},H3=zi(()=>h("li",null,[h("small",{class:"dropdown-header"},"Sort by")],-1)),j3=["onClick"],W3={class:"me-auto"},z3={key:0,class:"bi bi-check text-primary"},Y3=zi(()=>h("li",null,[h("hr",{class:"dropdown-divider"})],-1)),U3=zi(()=>h("li",null,[h("small",{class:"dropdown-header"},"Refresh Interval")],-1)),K3=["onClick"],q3={class:"me-auto"},G3={key:0,class:"bi bi-check text-primary"},J3={class:"dropdown dropup"},X3=zi(()=>h("button",{class:"btn text-secondary-emphasis bg-secondary-subtle rounded-3 border-1 border-secondary-subtle shadow-sm",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[h("i",{class:"bi bi-three-dots"})],-1)),Q3={class:"dropdown-menu shadow mt-2 rounded-3 animate__animated animation__fadeInDropdown"},Z3=zi(()=>h("li",null,[h("h6",{class:"dropdown-header"},"Peer Jobs")],-1));function e5(e,t,n,s,i,o){const a=je("RouterLink");return R(),B("div",O3,[h("div",I3,[$e(a,{to:"create",class:"text-decoration-none btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle shadow-sm"},{default:Te(()=>[R3,we("Peer ")]),_:1}),h("button",{class:"btn text-primary-emphasis bg-primary-subtle rounded-3 border-1 border-primary-subtle shadow-sm",onClick:t[0]||(t[0]=r=>this.downloadAllPeer())},[L3,we(" Download All ")]),h("div",N3,[Le(h("input",{class:"form-control rounded-3 bg-secondary-subtle border-1 border-secondary-subtle shadow-sm w-100",placeholder:"Search...",id:"searchPeers",onKeyup:t[1]||(t[1]=r=>this.debounce()),"onUpdate:modelValue":t[2]||(t[2]=r=>this.searchString=r)},null,544),[[We,this.searchString]])]),h("div",F3,[B3,h("ul",V3,[H3,(R(!0),B(Me,null,qe(this.sort,(r,l)=>(R(),B("li",null,[h("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:c=>this.updateSort(l)},[h("small",W3,be(r),1),s.store.Configuration.Server.dashboard_sort===l?(R(),B("i",z3)):ce("",!0)],8,j3)]))),256)),Y3,U3,(R(!0),B(Me,null,qe(this.interval,(r,l)=>(R(),B("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:c=>o.updateRefreshInterval(l)},[h("small",q3,be(r),1),s.store.Configuration.Server.dashboard_refresh_interval===l?(R(),B("i",G3)):ce("",!0)],8,K3)]))),256))])]),h("div",J3,[X3,h("ul",Q3,[Z3,h("li",null,[h("a",{role:"button",class:"dropdown-item",onClick:t[3]||(t[3]=r=>this.$emit("jobsAll"))}," Active Jobs ")]),h("li",null,[h("a",{role:"button",class:"dropdown-item",onClick:t[4]||(t[4]=r=>this.$emit("jobLogs"))}," Logs ")])])])])])}const t5=Ye(D3,[["render",e5],["__scopeId","data-v-84cd1594"]]);function n5(e){return qc()?(Uh(e),!0):!1}function p0(e){return typeof e=="function"?e():q(e)}const m0=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const s5=Object.prototype.toString,i5=e=>s5.call(e)==="[object Object]",cc=()=>{},o5=a5();function a5(){var e,t;return m0&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function ir(e){var t;const n=p0(e);return(t=n==null?void 0:n.$el)!=null?t:n}const g0=m0?window:void 0;function dd(...e){let t,n,s,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,i]=e,t=g0):[t,n,s,i]=e,!t)return cc;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const o=[],a=()=>{o.forEach(u=>u()),o.length=0},r=(u,d,f,p)=>(u.addEventListener(d,f,p),()=>u.removeEventListener(d,f,p)),l=Ut(()=>[ir(t),p0(i)],([u,d])=>{if(a(),!u)return;const f=i5(d)?{...d}:d;o.push(...n.flatMap(p=>s.map(g=>r(u,p,g,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return n5(c),c}let Lg=!1;function r5(e,t,n={}){const{window:s=g0,ignore:i=[],capture:o=!0,detectIframe:a=!1}=n;if(!s)return cc;o5&&!Lg&&(Lg=!0,Array.from(s.document.body.children).forEach(f=>f.addEventListener("click",cc)),s.document.documentElement.addEventListener("click",cc));let r=!0;const l=f=>i.some(p=>{if(typeof p=="string")return Array.from(s.document.querySelectorAll(p)).some(g=>g===f.target||f.composedPath().includes(g));{const g=ir(p);return g&&(f.target===g||f.composedPath().includes(g))}}),u=[dd(s,"click",f=>{const p=ir(e);if(!(!p||p===f.target||f.composedPath().includes(p))){if(f.detail===0&&(r=!l(f)),!r){r=!0;return}t(f)}},{passive:!0,capture:o}),dd(s,"pointerdown",f=>{const p=ir(e);r=!l(f)&&!!(p&&!f.composedPath().includes(p))},{passive:!0}),a&&dd(s,"blur",f=>{setTimeout(()=>{var p;const g=ir(e);((p=s.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(g!=null&&g.contains(s.document.activeElement))&&t(f)},0)})].filter(Boolean);return()=>u.forEach(f=>f())}const l5={name:"peerSettingsDropdown",setup(){return{dashboardStore:st()}},props:{Peer:Object},data(){return{deleteBtnDisabled:!1,restrictBtnDisabled:!1,allowAccessBtnDisabled:!1}},methods:{downloadPeer(){Tt("/api/downloadPeer/"+this.$route.params.id,{id:this.Peer.id},e=>{if(e.status){const t=new Blob([e.data.file],{type:"text/plain"}),n=URL.createObjectURL(t),s=`${e.data.fileName}.conf`,i=document.createElement("a");i.href=n,i.download=s,i.click(),this.dashboardStore.newMessage("WGDashboard","Peer download started","success")}else this.dashboardStore.newMessage("Server",e.message,"danger")})},downloadQRCode(){Tt("/api/downloadPeer/"+this.$route.params.id,{id:this.Peer.id},e=>{e.status?this.$emit("qrcode",e.data.file):this.dashboardStore.newMessage("Server",e.message,"danger")})},deletePeer(){this.deleteBtnDisabled=!0,dt(`/api/deletePeers/${this.$route.params.id}`,{peers:[this.Peer.id]},e=>{this.dashboardStore.newMessage("Server",e.message,e.status?"success":"danger"),this.$emit("refresh"),this.deleteBtnDisabled=!1})},restrictPeer(){this.restrictBtnDisabled=!0,dt(`/api/restrictPeers/${this.$route.params.id}`,{peers:[this.Peer.id]},e=>{this.dashboardStore.newMessage("Server",e.message,e.status?"success":"danger"),this.$emit("refresh"),this.restrictBtnDisabled=!1})},allowAccessPeer(){this.allowAccessBtnDisabled=!0,dt(`/api/allowAccessPeers/${this.$route.params.id}`,{peers:[this.Peer.id]},e=>{this.dashboardStore.newMessage("Server",e.message,e.status?"success":"danger"),this.$emit("refresh"),this.allowAccessBtnDisabled=!1})}}},ps=e=>(En("data-v-772e5b77"),e=e(),Cn(),e),c5={class:"dropdown-menu mt-2 shadow-lg d-block rounded-3",style:{"max-width":"200px"}},u5={key:0},d5=ps(()=>h("small",{class:"w-100 dropdown-item text-muted",style:{"white-space":"break-spaces","font-size":"0.7rem"}},[we("Download & QR Code is not available due to no "),h("code",null,"private key"),we(" set for this peer ")],-1)),h5=[d5],f5={key:1,class:"d-flex",style:{"padding-left":"var(--bs-dropdown-item-padding-x)","padding-right":"var(--bs-dropdown-item-padding-x)"}},p5=ps(()=>h("i",{class:"me-auto bi bi-download"},null,-1)),m5=[p5],g5=ps(()=>h("i",{class:"me-auto bi bi-qr-code"},null,-1)),_5=[g5],b5=ps(()=>h("i",{class:"me-auto bi bi-share"},null,-1)),v5=[b5],y5=ps(()=>h("li",null,[h("hr",{class:"dropdown-divider"})],-1)),w5=ps(()=>h("i",{class:"me-auto bi bi-pen"},null,-1)),x5=ps(()=>h("i",{class:"me-auto bi bi-app-indicator"},null,-1)),k5=ps(()=>h("li",null,[h("hr",{class:"dropdown-divider"})],-1)),S5=ps(()=>h("i",{class:"me-auto bi bi-lock"},null,-1)),A5=ps(()=>h("i",{class:"me-auto bi bi-trash"},null,-1)),$5={key:1},E5=ps(()=>h("i",{class:"me-auto bi bi-unlock"},null,-1));function C5(e,t,n,s,i,o){return R(),B("ul",c5,[this.Peer.restricted?(R(),B("li",$5,[h("a",{class:Pe(["dropdown-item d-flex text-warning",{disabled:this.restrictBtnDisabled}]),onClick:t[7]||(t[7]=a=>this.allowAccessPeer()),role:"button"},[E5,we(" "+be(this.allowAccessBtnDisabled?"Allowing...":"Allow Access"),1)],2)])):(R(),B(Me,{key:0},[this.Peer.private_key?(R(),B("li",f5,[h("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:t[0]||(t[0]=a=>this.downloadPeer())},m5),h("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:t[1]||(t[1]=a=>this.downloadQRCode())},_5),h("a",{class:"dropdown-item text-center px-0 rounded-3",role:"button",onClick:t[2]||(t[2]=a=>this.$emit("share"))},v5)])):(R(),B("li",u5,h5)),y5,h("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:t[3]||(t[3]=a=>this.$emit("setting"))},[w5,we(" Edit ")])]),h("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:t[4]||(t[4]=a=>this.$emit("jobs"))},[x5,we(" Schedule Jobs ")])]),k5,h("li",null,[h("a",{class:Pe(["dropdown-item d-flex text-warning",{disabled:this.restrictBtnDisabled}]),onClick:t[5]||(t[5]=a=>this.restrictPeer()),role:"button"},[S5,we(" "+be(this.restrictBtnDisabled?"Restricting...":"Restrict Access"),1)],2)]),h("li",null,[h("a",{class:Pe(["dropdown-item d-flex fw-bold text-danger",{disabled:this.deleteBtnDisabled}]),onClick:t[6]||(t[6]=a=>this.deletePeer()),role:"button"},[A5,we(" "+be(this.deleteBtnDisabled?"Deleting...":"Delete"),1)],2)])],64))])}const P5=Ye(l5,[["render",C5],["__scopeId","data-v-772e5b77"]]),T5={name:"peer",components:{PeerSettingsDropdown:P5},props:{Peer:Object},data(){return{}},setup(){const e=ve(null),t=ve(!1);return r5(e,n=>{t.value=!1}),{target:e,subMenuOpened:t}},computed:{getLatestHandshake(){return this.Peer.latest_handshake.includes(",")?this.Peer.latest_handshake.split(",")[0]:this.Peer.latest_handshake}}},Ro=e=>(En("data-v-f311ec95"),e=e(),Cn(),e),M5={key:0,class:"card-header bg-transparent d-flex align-items-center gap-2 border-0"},D5={style:{"font-size":"0.8rem"},class:"ms-auto d-flex gap-2"},O5={class:"text-primary"},I5=Ro(()=>h("i",{class:"bi bi-arrow-down"},null,-1)),R5={class:"text-success"},L5=Ro(()=>h("i",{class:"bi bi-arrow-up"},null,-1)),N5={key:0,class:"text-secondary"},F5=Ro(()=>h("i",{class:"bi bi-arrows-angle-contract"},null,-1)),B5={key:1,class:"border-0 card-header bg-transparent text-warning fw-bold",style:{"font-size":"0.8rem"}},V5=Ro(()=>h("i",{class:"bi-lock-fill me-2"},null,-1)),H5={class:"card-body pt-1",style:{"font-size":"0.9rem"}},j5={class:"mb-2"},W5=Ro(()=>h("small",{class:"text-muted"},"Public Key",-1)),z5={class:"mb-0"},Y5={class:"d-flex align-items-end"},U5=Ro(()=>h("small",{class:"text-muted"},"Allowed IP",-1)),K5={class:"mb-0"},q5=Ro(()=>h("h5",{class:"mb-0"},[h("i",{class:"bi bi-three-dots"})],-1)),G5=[q5];function J5(e,t,n,s,i,o){const a=je("PeerSettingsDropdown");return R(),B("div",{class:Pe(["card shadow-sm rounded-3 peerCard bg-transparent",{"border-warning":n.Peer.restricted}])},[h("div",null,[n.Peer.restricted?(R(),B("div",B5,[V5,we(" Access Restricted ")])):(R(),B("div",M5,[h("div",{class:Pe(["dot ms-0",{active:n.Peer.status==="running"}])},null,2),h("div",D5,[h("span",O5,[I5,h("strong",null,be((n.Peer.cumu_receive+n.Peer.total_receive).toFixed(4)),1),we(" GB ")]),h("span",R5,[L5,h("strong",null,be((n.Peer.cumu_sent+n.Peer.total_sent).toFixed(4)),1),we(" GB ")]),n.Peer.latest_handshake!=="No Handshake"?(R(),B("span",N5,[F5,we(" "+be(o.getLatestHandshake)+" ago ",1)])):ce("",!0)])]))]),h("div",H5,[h("h6",null,be(n.Peer.name?n.Peer.name:"Untitled Peer"),1),h("div",j5,[W5,h("p",z5,[h("samp",null,be(n.Peer.id),1)])]),h("div",Y5,[h("div",null,[U5,h("p",K5,[h("samp",null,be(n.Peer.allowed_ip),1)])]),h("div",{class:Pe(["ms-auto px-2 rounded-3 subMenuBtn",{active:this.subMenuOpened}])},[h("a",{role:"button",class:"text-body",onClick:t[0]||(t[0]=r=>this.subMenuOpened=!0)},G5),$e(Bt,{name:"slide-fade"},{default:Te(()=>[this.subMenuOpened?(R(),Ne(a,{key:0,onQrcode:t[1]||(t[1]=r=>this.$emit("qrcode",r)),onSetting:t[2]||(t[2]=r=>this.$emit("setting")),onJobs:t[3]||(t[3]=r=>this.$emit("jobs")),onRefresh:t[4]||(t[4]=r=>this.$emit("refresh")),onShare:t[5]||(t[5]=r=>this.$emit("share")),Peer:n.Peer,ref:"target"},null,8,["Peer"])):ce("",!0)]),_:1})],2)])])],2)}const X5=Ye(T5,[["render",J5],["__scopeId","data-v-f311ec95"]]);/*! * @kurkle/color v0.3.2 * https://github.com/kurkle/color#readme * (c) 2023 Jukka Kurkela * Released under the MIT License - */function lr(e){return e+.5|0}const ln=(e,t,s)=>Math.max(Math.min(e,s),t);function vo(e){return ln(lr(e*2.55),0,255)}function mn(e){return ln(lr(e*255),0,255)}function Os(e){return ln(lr(e/2.55)/100,0,1)}function Ef(e){return ln(lr(e*100),0,100)}const Ye={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},Mc=[..."0123456789ABCDEF"],ED=e=>Mc[e&15],AD=e=>Mc[(e&240)>>4]+Mc[e&15],Fr=e=>(e&240)>>4===(e&15),CD=e=>Fr(e.r)&&Fr(e.g)&&Fr(e.b)&&Fr(e.a);function $D(e){var t=e.length,s;return e[0]==="#"&&(t===4||t===5?s={r:255&Ye[e[1]]*17,g:255&Ye[e[2]]*17,b:255&Ye[e[3]]*17,a:t===5?Ye[e[4]]*17:255}:(t===7||t===9)&&(s={r:Ye[e[1]]<<4|Ye[e[2]],g:Ye[e[3]]<<4|Ye[e[4]],b:Ye[e[5]]<<4|Ye[e[6]],a:t===9?Ye[e[7]]<<4|Ye[e[8]]:255})),s}const PD=(e,t)=>e<255?t(e):"";function kD(e){var t=CD(e)?ED:AD;return e?"#"+t(e.r)+t(e.g)+t(e.b)+PD(e.a,t):void 0}const TD=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function p_(e,t,s){const n=t*Math.min(s,1-s),i=(o,r=(o+e/30)%12)=>s-n*Math.max(Math.min(r-3,9-r,1),-1);return[i(0),i(8),i(4)]}function MD(e,t,s){const n=(i,o=(i+e/60)%6)=>s-s*t*Math.max(Math.min(o,4-o,1),0);return[n(5),n(3),n(1)]}function DD(e,t,s){const n=p_(e,1,.5);let i;for(t+s>1&&(i=1/(t+s),t*=i,s*=i),i=0;i<3;i++)n[i]*=1-t-s,n[i]+=t;return n}function ID(e,t,s,n,i){return e===i?(t-s)/n+(t.5?d/(2-o-r):d/(o+r),l=ID(s,n,i,d,o),l=l*60+.5),[l|0,c||0,a]}function Yd(e,t,s,n){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,s,n)).map(mn)}function qd(e,t,s){return Yd(p_,e,t,s)}function OD(e,t,s){return Yd(DD,e,t,s)}function LD(e,t,s){return Yd(MD,e,t,s)}function g_(e){return(e%360+360)%360}function RD(e){const t=TD.exec(e);let s=255,n;if(!t)return;t[5]!==n&&(s=t[6]?vo(+t[5]):mn(+t[5]));const i=g_(+t[2]),o=+t[3]/100,r=+t[4]/100;return t[1]==="hwb"?n=OD(i,o,r):t[1]==="hsv"?n=LD(i,o,r):n=qd(i,o,r),{r:n[0],g:n[1],b:n[2],a:s}}function ND(e,t){var s=Ud(e);s[0]=g_(s[0]+t),s=qd(s),e.r=s[0],e.g=s[1],e.b=s[2]}function FD(e){if(!e)return;const t=Ud(e),s=t[0],n=Ef(t[1]),i=Ef(t[2]);return e.a<255?`hsla(${s}, ${n}%, ${i}%, ${Os(e.a)})`:`hsl(${s}, ${n}%, ${i}%)`}const Af={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"},Cf={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 BD(){const e={},t=Object.keys(Cf),s=Object.keys(Af);let n,i,o,r,a;for(n=0;n>16&255,o>>8&255,o&255]}return e}let Br;function VD(e){Br||(Br=BD(),Br.transparent=[0,0,0,0]);const t=Br[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const jD=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function HD(e){const t=jD.exec(e);let s=255,n,i,o;if(t){if(t[7]!==n){const r=+t[7];s=t[8]?vo(r):ln(r*255,0,255)}return n=+t[1],i=+t[3],o=+t[5],n=255&(t[2]?vo(n):ln(n,0,255)),i=255&(t[4]?vo(i):ln(i,0,255)),o=255&(t[6]?vo(o):ln(o,0,255)),{r:n,g:i,b:o,a:s}}}function WD(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Os(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const Ul=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,bi=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function zD(e,t,s){const n=bi(Os(e.r)),i=bi(Os(e.g)),o=bi(Os(e.b));return{r:mn(Ul(n+s*(bi(Os(t.r))-n))),g:mn(Ul(i+s*(bi(Os(t.g))-i))),b:mn(Ul(o+s*(bi(Os(t.b))-o))),a:e.a+s*(t.a-e.a)}}function Vr(e,t,s){if(e){let n=Ud(e);n[t]=Math.max(0,Math.min(n[t]+n[t]*s,t===0?360:1)),n=qd(n),e.r=n[0],e.g=n[1],e.b=n[2]}}function m_(e,t){return e&&Object.assign(t||{},e)}function $f(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=mn(e[3]))):(t=m_(e,{r:0,g:0,b:0,a:1}),t.a=mn(t.a)),t}function KD(e){return e.charAt(0)==="r"?HD(e):RD(e)}class Yo{constructor(t){if(t instanceof Yo)return t;const s=typeof t;let n;s==="object"?n=$f(t):s==="string"&&(n=$D(t)||VD(t)||KD(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=m_(this._rgb);return t&&(t.a=Os(t.a)),t}set rgb(t){this._rgb=$f(t)}rgbString(){return this._valid?WD(this._rgb):void 0}hexString(){return this._valid?kD(this._rgb):void 0}hslString(){return this._valid?FD(this._rgb):void 0}mix(t,s){if(t){const n=this.rgb,i=t.rgb;let o;const r=s===o?.5:s,a=2*r-1,l=n.a-i.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,n.r=255&c*n.r+o*i.r+.5,n.g=255&c*n.g+o*i.g+.5,n.b=255&c*n.b+o*i.b+.5,n.a=r*n.a+(1-r)*i.a,this.rgb=n}return this}interpolate(t,s){return t&&(this._rgb=zD(this._rgb,t._rgb,s)),this}clone(){return new Yo(this.rgb)}alpha(t){return this._rgb.a=mn(t),this}clearer(t){const s=this._rgb;return s.a*=1-t,this}greyscale(){const t=this._rgb,s=lr(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=s,this}opaquer(t){const s=this._rgb;return s.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 Vr(this._rgb,2,t),this}darken(t){return Vr(this._rgb,2,-t),this}saturate(t){return Vr(this._rgb,1,t),this}desaturate(t){return Vr(this._rgb,1,-t),this}rotate(t){return ND(this._rgb,t),this}}/*! + */function al(e){return e+.5|0}const xi=(e,t,n)=>Math.max(Math.min(e,n),t);function or(e){return xi(al(e*2.55),0,255)}function Mi(e){return xi(al(e*255),0,255)}function zs(e){return xi(al(e/2.55)/100,0,1)}function Ng(e){return xi(al(e*100),0,100)}const zn={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},ih=[..."0123456789ABCDEF"],Q5=e=>ih[e&15],Z5=e=>ih[(e&240)>>4]+ih[e&15],Nl=e=>(e&240)>>4===(e&15),eF=e=>Nl(e.r)&&Nl(e.g)&&Nl(e.b)&&Nl(e.a);function tF(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255&zn[e[1]]*17,g:255&zn[e[2]]*17,b:255&zn[e[3]]*17,a:t===5?zn[e[4]]*17:255}:(t===7||t===9)&&(n={r:zn[e[1]]<<4|zn[e[2]],g:zn[e[3]]<<4|zn[e[4]],b:zn[e[5]]<<4|zn[e[6]],a:t===9?zn[e[7]]<<4|zn[e[8]]:255})),n}const nF=(e,t)=>e<255?t(e):"";function sF(e){var t=eF(e)?Q5:Z5;return e?"#"+t(e.r)+t(e.g)+t(e.b)+nF(e.a,t):void 0}const iF=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function _0(e,t,n){const s=t*Math.min(n,1-n),i=(o,a=(o+e/30)%12)=>n-s*Math.max(Math.min(a-3,9-a,1),-1);return[i(0),i(8),i(4)]}function oF(e,t,n){const s=(i,o=(i+e/60)%6)=>n-n*t*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function aF(e,t,n){const s=_0(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)s[i]*=1-t-n,s[i]+=t;return s}function rF(e,t,n,s,i){return e===i?(t-n)/s+(t.5?u/(2-o-a):u/(o+a),l=rF(n,s,i,u,o),l=l*60+.5),[l|0,c||0,r]}function Vf(e,t,n,s){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,s)).map(Mi)}function Hf(e,t,n){return Vf(_0,e,t,n)}function lF(e,t,n){return Vf(aF,e,t,n)}function cF(e,t,n){return Vf(oF,e,t,n)}function b0(e){return(e%360+360)%360}function uF(e){const t=iF.exec(e);let n=255,s;if(!t)return;t[5]!==s&&(n=t[6]?or(+t[5]):Mi(+t[5]));const i=b0(+t[2]),o=+t[3]/100,a=+t[4]/100;return t[1]==="hwb"?s=lF(i,o,a):t[1]==="hsv"?s=cF(i,o,a):s=Hf(i,o,a),{r:s[0],g:s[1],b:s[2],a:n}}function dF(e,t){var n=Bf(e);n[0]=b0(n[0]+t),n=Hf(n),e.r=n[0],e.g=n[1],e.b=n[2]}function hF(e){if(!e)return;const t=Bf(e),n=t[0],s=Ng(t[1]),i=Ng(t[2]);return e.a<255?`hsla(${n}, ${s}%, ${i}%, ${zs(e.a)})`:`hsl(${n}, ${s}%, ${i}%)`}const Fg={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"},Bg={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 fF(){const e={},t=Object.keys(Bg),n=Object.keys(Fg);let s,i,o,a,r;for(s=0;s>16&255,o>>8&255,o&255]}return e}let Fl;function pF(e){Fl||(Fl=fF(),Fl.transparent=[0,0,0,0]);const t=Fl[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const mF=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function gF(e){const t=mF.exec(e);let n=255,s,i,o;if(t){if(t[7]!==s){const a=+t[7];n=t[8]?or(a):xi(a*255,0,255)}return s=+t[1],i=+t[3],o=+t[5],s=255&(t[2]?or(s):xi(s,0,255)),i=255&(t[4]?or(i):xi(i,0,255)),o=255&(t[6]?or(o):xi(o,0,255)),{r:s,g:i,b:o,a:n}}}function _F(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${zs(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const hd=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Jo=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function bF(e,t,n){const s=Jo(zs(e.r)),i=Jo(zs(e.g)),o=Jo(zs(e.b));return{r:Mi(hd(s+n*(Jo(zs(t.r))-s))),g:Mi(hd(i+n*(Jo(zs(t.g))-i))),b:Mi(hd(o+n*(Jo(zs(t.b))-o))),a:e.a+n*(t.a-e.a)}}function Bl(e,t,n){if(e){let s=Bf(e);s[t]=Math.max(0,Math.min(s[t]+s[t]*n,t===0?360:1)),s=Hf(s),e.r=s[0],e.g=s[1],e.b=s[2]}}function v0(e,t){return e&&Object.assign(t||{},e)}function Vg(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=Mi(e[3]))):(t=v0(e,{r:0,g:0,b:0,a:1}),t.a=Mi(t.a)),t}function vF(e){return e.charAt(0)==="r"?gF(e):uF(e)}class Wr{constructor(t){if(t instanceof Wr)return t;const n=typeof t;let s;n==="object"?s=Vg(t):n==="string"&&(s=tF(t)||pF(t)||vF(t)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var t=v0(this._rgb);return t&&(t.a=zs(t.a)),t}set rgb(t){this._rgb=Vg(t)}rgbString(){return this._valid?_F(this._rgb):void 0}hexString(){return this._valid?sF(this._rgb):void 0}hslString(){return this._valid?hF(this._rgb):void 0}mix(t,n){if(t){const s=this.rgb,i=t.rgb;let o;const a=n===o?.5:n,r=2*a-1,l=s.a-i.a,c=((r*l===-1?r:(r+l)/(1+r*l))+1)/2;o=1-c,s.r=255&c*s.r+o*i.r+.5,s.g=255&c*s.g+o*i.g+.5,s.b=255&c*s.b+o*i.b+.5,s.a=a*s.a+(1-a)*i.a,this.rgb=s}return this}interpolate(t,n){return t&&(this._rgb=bF(this._rgb,t._rgb,n)),this}clone(){return new Wr(this.rgb)}alpha(t){return this._rgb.a=Mi(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=al(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 Bl(this._rgb,2,t),this}darken(t){return Bl(this._rgb,2,-t),this}saturate(t){return Bl(this._rgb,1,t),this}desaturate(t){return Bl(this._rgb,1,-t),this}rotate(t){return dF(this._rgb,t),this}}/*! * Chart.js v4.4.1 * https://www.chartjs.org * (c) 2023 Chart.js Contributors * Released under the MIT License - */function ks(){}const UD=(()=>{let e=0;return()=>e++})();function jt(e){return e===null||typeof e>"u"}function Jt(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 Ft(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function te(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function De(e,t){return te(e)?e:t}function $t(e,t){return typeof e>"u"?t:e}const YD=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,__=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Yt(e,t,s){if(e&&typeof e.call=="function")return e.apply(s,t)}function Kt(e,t,s,n){let i,o,r;if(Jt(e))if(o=e.length,n)for(i=o-1;i>=0;i--)t.call(s,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function JD(e){const t=e.split("."),s=[];let n="";for(const i of t)n+=i,n.endsWith("\\")?n=n.slice(0,-1)+".":(s.push(n),n="");return s}function XD(e){const t=JD(e);return s=>{for(const n of t){if(n==="")break;s=s&&s[n]}return s}}function yn(e,t){return(Pf[t]||(Pf[t]=XD(t)))(e)}function Gd(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Go=e=>typeof e<"u",xn=e=>typeof e=="function",kf=(e,t)=>{if(e.size!==t.size)return!1;for(const s of e)if(!t.has(s))return!1;return!0};function QD(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const Qt=Math.PI,Xt=2*Qt,ZD=Xt+Qt,Ta=Number.POSITIVE_INFINITY,tI=Qt/180,ne=Qt/2,Vn=Qt/4,Tf=Qt*2/3,cn=Math.log10,xs=Math.sign;function Oo(e,t,s){return Math.abs(e-t)i-o).pop(),t}function zi(e){return!isNaN(parseFloat(e))&&isFinite(e)}function sI(e,t){const s=Math.round(e);return s-t<=e&&s+t>=e}function v_(e,t,s){let n,i,o;for(n=0,i=e.length;nl&&c=Math.min(t,s)-n&&e<=Math.max(t,s)+n}function Xd(e,t,s){s=s||(r=>e[r]1;)o=i+n>>1,s(o)?i=o:n=o;return{lo:i,hi:n}}const Ns=(e,t,s,n)=>Xd(e,s,n?i=>{const o=e[i][t];return oe[i][t]Xd(e,s,n=>e[n][t]>=s);function rI(e,t,s){let n=0,i=e.length;for(;nn&&e[i-1]>s;)i--;return n>0||i{const n="_onData"+Gd(s),i=e[s];Object.defineProperty(e,s,{configurable:!0,enumerable:!1,value(...o){const r=i.apply(this,o);return e._chartjs.listeners.forEach(a=>{typeof a[n]=="function"&&a[n](...o)}),r}})})}function If(e,t){const s=e._chartjs;if(!s)return;const n=s.listeners,i=n.indexOf(t);i!==-1&&n.splice(i,1),!(n.length>0)&&(x_.forEach(o=>{delete e[o]}),delete e._chartjs)}function w_(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const S_=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function E_(e,t){let s=[],n=!1;return function(...i){s=i,n||(n=!0,S_.call(window,()=>{n=!1,e.apply(t,s)}))}}function lI(e,t){let s;return function(...n){return t?(clearTimeout(s),s=setTimeout(e,t,n)):e.apply(this,n),t}}const Qd=e=>e==="start"?"left":e==="end"?"right":"center",me=(e,t,s)=>e==="start"?t:e==="end"?s:(t+s)/2,cI=(e,t,s,n)=>e===(n?"left":"right")?s:e==="center"?(t+s)/2:t;function A_(e,t,s){const n=t.length;let i=0,o=n;if(e._sorted){const{iScale:r,_parsed:a}=e,l=r.axis,{min:c,max:d,minDefined:h,maxDefined:p}=r.getUserBounds();h&&(i=fe(Math.min(Ns(a,l,c).lo,s?n:Ns(t,l,r.getPixelForValue(c)).lo),0,n-1)),p?o=fe(Math.max(Ns(a,r.axis,d,!0).hi+1,s?0:Ns(t,l,r.getPixelForValue(d),!0).hi+1),i,n)-i:o=n-i}return{start:i,count:o}}function C_(e){const{xScale:t,yScale:s,_scaleRanges:n}=e,i={xmin:t.min,xmax:t.max,ymin:s.min,ymax:s.max};if(!n)return e._scaleRanges=i,!0;const o=n.xmin!==t.min||n.xmax!==t.max||n.ymin!==s.min||n.ymax!==s.max;return Object.assign(n,i),o}const jr=e=>e===0||e===1,Of=(e,t,s)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*Xt/s)),Lf=(e,t,s)=>Math.pow(2,-10*e)*Math.sin((e-t)*Xt/s)+1,Lo={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*ne)+1,easeOutSine:e=>Math.sin(e*ne),easeInOutSine:e=>-.5*(Math.cos(Qt*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=>jr(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=>jr(e)?e:Of(e,.075,.3),easeOutElastic:e=>jr(e)?e:Lf(e,.075,.3),easeInOutElastic(e){return jr(e)?e:e<.5?.5*Of(e*2,.1125,.45):.5+.5*Lf(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-Lo.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?Lo.easeInBounce(e*2)*.5:Lo.easeOutBounce(e*2-1)*.5+.5};function Zd(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Rf(e){return Zd(e)?e:new Yo(e)}function Yl(e){return Zd(e)?e:new Yo(e).saturate(.5).darken(.1).hexString()}const dI=["x","y","borderWidth","radius","tension"],uI=["color","borderColor","backgroundColor"];function hI(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:uI},numbers:{type:"number",properties:dI}}),e.describe("animations",{_fallback:"animation"}),e.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:t=>t|0}}}})}function fI(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Nf=new Map;function pI(e,t){t=t||{};const s=e+JSON.stringify(t);let n=Nf.get(s);return n||(n=new Intl.NumberFormat(e,t),Nf.set(s,n)),n}function cr(e,t,s){return pI(t,s).format(e)}const $_={values(e){return Jt(e)?e:""+e},numeric(e,t,s){if(e===0)return"0";const n=this.chart.options.locale;let i,o=e;if(s.length>1){const c=Math.max(Math.abs(s[0].value),Math.abs(s[s.length-1].value));(c<1e-4||c>1e15)&&(i="scientific"),o=gI(e,s)}const r=cn(Math.abs(o)),a=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:i,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),cr(e,n,l)},logarithmic(e,t,s){if(e===0)return"0";const n=s[t].significand||e/Math.pow(10,Math.floor(cn(e)));return[1,2,3,5,10,15].includes(n)||t>.8*s.length?$_.numeric.call(this,e,t,s):""}};function gI(e,t){let s=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(s)>=1&&e!==Math.floor(e)&&(s=e-Math.floor(e)),s}var rl={formatters:$_};function mI(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,s)=>s.lineWidth,tickColor:(t,s)=>s.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width: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:rl.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const ii=Object.create(null),Ic=Object.create(null);function Ro(e,t){if(!t)return e;const s=t.split(".");for(let n=0,i=s.length;nn.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,i)=>Yl(i.backgroundColor),this.hoverBorderColor=(n,i)=>Yl(i.borderColor),this.hoverColor=(n,i)=>Yl(i.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),this.apply(s)}set(t,s){return ql(this,t,s)}get(t){return Ro(this,t)}describe(t,s){return ql(Ic,t,s)}override(t,s){return ql(ii,t,s)}route(t,s,n,i){const o=Ro(this,t),r=Ro(this,n),a="_"+s;Object.defineProperties(o,{[a]:{value:o[s],writable:!0},[s]:{enumerable:!0,get(){const l=this[a],c=r[i];return Ft(l)?Object.assign({},c,l):$t(l,c)},set(l){this[a]=l}}})}apply(t){t.forEach(s=>s(this))}}var ee=new _I({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[hI,fI,mI]);function bI(e){return!e||jt(e.size)||jt(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function Ma(e,t,s,n,i){let o=t[i];return o||(o=t[i]=e.measureText(i).width,s.push(i)),o>n&&(n=o),n}function vI(e,t,s,n){n=n||{};let i=n.data=n.data||{},o=n.garbageCollect=n.garbageCollect||[];n.font!==t&&(i=n.data={},o=n.garbageCollect=[],n.font=t),e.save(),e.font=t;let r=0;const a=s.length;let l,c,d,h,p;for(l=0;ls.length){for(l=0;l0&&e.stroke()}}function Fs(e,t,s){return s=s||.5,!t||e&&e.x>t.left-s&&e.xt.top-s&&e.y0&&o.strokeColor!=="";let l,c;for(e.save(),e.font=i.string,wI(e,o),l=0;l+e||0;function tu(e,t){const s={},n=Ft(t),i=n?Object.keys(t):t,o=Ft(e)?n?r=>$t(e[r],e[t[r]]):r=>e[r]:()=>e;for(const r of i)s[r]=PI(o(r));return s}function k_(e){return tu(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Zn(e){return tu(e,["topLeft","topRight","bottomLeft","bottomRight"])}function be(e){const t=k_(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function ce(e,t){e=e||{},t=t||ee.font;let s=$t(e.size,t.size);typeof s=="string"&&(s=parseInt(s,10));let n=$t(e.style,t.style);n&&!(""+n).match(CI)&&(console.warn('Invalid font style specified: "'+n+'"'),n=void 0);const i={family:$t(e.family,t.family),lineHeight:$I($t(e.lineHeight,t.lineHeight),s),size:s,style:n,weight:$t(e.weight,t.weight),string:""};return i.string=bI(i),i}function yo(e,t,s,n){let i=!0,o,r,a;for(o=0,r=e.length;os&&a===0?0:a+l;return{min:r(n,-Math.abs(o)),max:r(i,o)}}function Cn(e,t){return Object.assign(Object.create(e),t)}function eu(e,t=[""],s,n,i=()=>e[0]){const o=s||e;typeof n>"u"&&(n=I_("_fallback",e));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:o,_fallback:n,_getTarget:i,override:a=>eu([a,...e],t,o,n)};return new Proxy(r,{deleteProperty(a,l){return delete a[l],delete a._keys,delete e[0][l],!0},get(a,l){return M_(a,l,()=>NI(l,t,e,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,l){return Vf(a).includes(l)},ownKeys(a){return Vf(a)},set(a,l,c){const d=a._storage||(a._storage=i());return a[l]=d[l]=c,delete a._keys,!0}})}function Ki(e,t,s,n){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:s,_stack:new Set,_descriptors:T_(e,n),setContext:o=>Ki(e,o,s,n),override:o=>Ki(e.override(o),t,s,n)};return new Proxy(i,{deleteProperty(o,r){return delete o[r],delete e[r],!0},get(o,r,a){return M_(o,r,()=>MI(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(e,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,r)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(o,r){return Reflect.has(e,r)},ownKeys(){return Reflect.ownKeys(e)},set(o,r,a){return e[r]=a,delete o[r],!0}})}function T_(e,t={scriptable:!0,indexable:!0}){const{_scriptable:s=t.scriptable,_indexable:n=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:s,indexable:n,isScriptable:xn(s)?s:()=>s,isIndexable:xn(n)?n:()=>n}}const TI=(e,t)=>e?e+Gd(t):t,su=(e,t)=>Ft(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function M_(e,t,s){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const n=s();return e[t]=n,n}function MI(e,t,s){const{_proxy:n,_context:i,_subProxy:o,_descriptors:r}=e;let a=n[t];return xn(a)&&r.isScriptable(t)&&(a=DI(t,a,e,s)),Jt(a)&&a.length&&(a=II(t,a,e,r.isIndexable)),su(t,a)&&(a=Ki(a,i,o&&o[t],r)),a}function DI(e,t,s,n){const{_proxy:i,_context:o,_subProxy:r,_stack:a}=s;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);a.add(e);let l=t(o,r||n);return a.delete(e),su(e,l)&&(l=nu(i._scopes,i,e,l)),l}function II(e,t,s,n){const{_proxy:i,_context:o,_subProxy:r,_descriptors:a}=s;if(typeof o.index<"u"&&n(e))return t[o.index%t.length];if(Ft(t[0])){const l=t,c=i._scopes.filter(d=>d!==l);t=[];for(const d of l){const h=nu(c,i,e,d);t.push(Ki(h,o,r&&r[e],a))}}return t}function D_(e,t,s){return xn(e)?e(t,s):e}const OI=(e,t)=>e===!0?t:typeof e=="string"?yn(t,e):void 0;function LI(e,t,s,n,i){for(const o of t){const r=OI(s,o);if(r){e.add(r);const a=D_(r._fallback,s,i);if(typeof a<"u"&&a!==s&&a!==n)return a}else if(r===!1&&typeof n<"u"&&s!==n)return null}return!1}function nu(e,t,s,n){const i=t._rootScopes,o=D_(t._fallback,s,n),r=[...e,...i],a=new Set;a.add(n);let l=Bf(a,r,s,o||s,n);return l===null||typeof o<"u"&&o!==s&&(l=Bf(a,r,o,l,n),l===null)?!1:eu(Array.from(a),[""],i,o,()=>RI(t,s,n))}function Bf(e,t,s,n,i){for(;s;)s=LI(e,t,s,n,i);return s}function RI(e,t,s){const n=e._getTarget();t in n||(n[t]={});const i=n[t];return Jt(i)&&Ft(s)?s:i||{}}function NI(e,t,s,n){let i;for(const o of t)if(i=I_(TI(o,e),s),typeof i<"u")return su(e,i)?nu(s,n,e,i):i}function I_(e,t){for(const s of t){if(!s)continue;const n=s[e];if(typeof n<"u")return n}}function Vf(e){let t=e._keys;return t||(t=e._keys=FI(e._scopes)),t}function FI(e){const t=new Set;for(const s of e)for(const n of Object.keys(s).filter(i=>!i.startsWith("_")))t.add(n);return Array.from(t)}function O_(e,t,s,n){const{iScale:i}=e,{key:o="r"}=this._parsing,r=new Array(n);let a,l,c,d;for(a=0,l=n;ate==="x"?"y":"x";function VI(e,t,s,n){const i=e.skip?t:e,o=t,r=s.skip?t:s,a=Dc(o,i),l=Dc(r,o);let c=a/(a+l),d=l/(a+l);c=isNaN(c)?0:c,d=isNaN(d)?0:d;const h=n*c,p=n*d;return{previous:{x:o.x-h*(r.x-i.x),y:o.y-h*(r.y-i.y)},next:{x:o.x+p*(r.x-i.x),y:o.y+p*(r.y-i.y)}}}function jI(e,t,s){const n=e.length;let i,o,r,a,l,c=Ui(e,0);for(let d=0;d!c.skip)),t.cubicInterpolationMode==="monotone")WI(e,i);else{let c=n?e[e.length-1]:e[0];for(o=0,r=e.length;oe.ownerDocument.defaultView.getComputedStyle(e,null);function UI(e,t){return cl(e).getPropertyValue(t)}const YI=["top","right","bottom","left"];function ti(e,t,s){const n={};s=s?"-"+s:"";for(let i=0;i<4;i++){const o=YI[i];n[o]=parseFloat(e[t+"-"+o+s])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}const qI=(e,t,s)=>(e>0||t>0)&&(!s||!s.shadowRoot);function GI(e,t){const s=e.touches,n=s&&s.length?s[0]:e,{offsetX:i,offsetY:o}=n;let r=!1,a,l;if(qI(i,o,e.target))a=i,l=o;else{const c=t.getBoundingClientRect();a=n.clientX-c.left,l=n.clientY-c.top,r=!0}return{x:a,y:l,box:r}}function zn(e,t){if("native"in e)return e;const{canvas:s,currentDevicePixelRatio:n}=t,i=cl(s),o=i.boxSizing==="border-box",r=ti(i,"padding"),a=ti(i,"border","width"),{x:l,y:c,box:d}=GI(e,s),h=r.left+(d&&a.left),p=r.top+(d&&a.top);let{width:g,height:m}=t;return o&&(g-=r.width+a.width,m-=r.height+a.height),{x:Math.round((l-h)/g*s.width/n),y:Math.round((c-p)/m*s.height/n)}}function JI(e,t,s){let n,i;if(t===void 0||s===void 0){const o=ou(e);if(!o)t=e.clientWidth,s=e.clientHeight;else{const r=o.getBoundingClientRect(),a=cl(o),l=ti(a,"border","width"),c=ti(a,"padding");t=r.width-c.width-l.width,s=r.height-c.height-l.height,n=Da(a.maxWidth,o,"clientWidth"),i=Da(a.maxHeight,o,"clientHeight")}}return{width:t,height:s,maxWidth:n||Ta,maxHeight:i||Ta}}const Wr=e=>Math.round(e*10)/10;function XI(e,t,s,n){const i=cl(e),o=ti(i,"margin"),r=Da(i.maxWidth,e,"clientWidth")||Ta,a=Da(i.maxHeight,e,"clientHeight")||Ta,l=JI(e,t,s);let{width:c,height:d}=l;if(i.boxSizing==="content-box"){const p=ti(i,"border","width"),g=ti(i,"padding");c-=g.width+p.width,d-=g.height+p.height}return c=Math.max(0,c-o.width),d=Math.max(0,n?c/n:d-o.height),c=Wr(Math.min(c,r,l.maxWidth)),d=Wr(Math.min(d,a,l.maxHeight)),c&&!d&&(d=Wr(c/2)),(t!==void 0||s!==void 0)&&n&&l.height&&d>l.height&&(d=l.height,c=Wr(Math.floor(d*n))),{width:c,height:d}}function jf(e,t,s){const n=t||1,i=Math.floor(e.height*n),o=Math.floor(e.width*n);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const r=e.canvas;return r.style&&(s||!r.style.height&&!r.style.width)&&(r.style.height=`${e.height}px`,r.style.width=`${e.width}px`),e.currentDevicePixelRatio!==n||r.height!==i||r.width!==o?(e.currentDevicePixelRatio=n,r.height=i,r.width=o,e.ctx.setTransform(n,0,0,n,0,0),!0):!1}const QI=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};iu()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e}();function Hf(e,t){const s=UI(e,t),n=s&&s.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}function Kn(e,t,s,n){return{x:e.x+s*(t.x-e.x),y:e.y+s*(t.y-e.y)}}function ZI(e,t,s,n){return{x:e.x+s*(t.x-e.x),y:n==="middle"?s<.5?e.y:t.y:n==="after"?s<1?e.y:t.y:s>0?t.y:e.y}}function tO(e,t,s,n){const i={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},r=Kn(e,i,s),a=Kn(i,o,s),l=Kn(o,t,s),c=Kn(r,a,s),d=Kn(a,l,s);return Kn(c,d,s)}const eO=function(e,t){return{x(s){return e+e+t-s},setWidth(s){t=s},textAlign(s){return s==="center"?s:s==="right"?"left":"right"},xPlus(s,n){return s-n},leftForLtr(s,n){return s-n}}},sO=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Ti(e,t,s){return e?eO(t,s):sO()}function R_(e,t){let s,n;(t==="ltr"||t==="rtl")&&(s=e.canvas.style,n=[s.getPropertyValue("direction"),s.getPropertyPriority("direction")],s.setProperty("direction",t,"important"),e.prevTextDirection=n)}function N_(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function F_(e){return e==="angle"?{between:Jo,compare:nI,normalize:Oe}:{between:Rs,compare:(t,s)=>t-s,normalize:t=>t}}function Wf({start:e,end:t,count:s,loop:n,style:i}){return{start:e%s,end:t%s,loop:n&&(t-e+1)%s===0,style:i}}function nO(e,t,s){const{property:n,start:i,end:o}=s,{between:r,normalize:a}=F_(n),l=t.length;let{start:c,end:d,loop:h}=e,p,g;if(h){for(c+=l,d+=l,p=0,g=l;pl(i,$,w)&&a(i,$)!==0,y=()=>a(o,w)===0||l(o,$,w),x=()=>_||T(),C=()=>!_||y();for(let E=d,P=d;E<=h;++E)S=t[E%r],!S.skip&&(w=c(S[n]),w!==$&&(_=l(w,i,o),v===null&&x()&&(v=a(w,i)===0?E:P),v!==null&&C()&&(m.push(Wf({start:v,end:E,loop:p,count:r,style:g})),v=null),P=E,$=w));return v!==null&&m.push(Wf({start:v,end:h,loop:p,count:r,style:g})),m}function V_(e,t){const s=[],n=e.segments;for(let i=0;ii&&e[o%t].skip;)o--;return o%=t,{start:i,end:o}}function oO(e,t,s,n){const i=e.length,o=[];let r=t,a=e[t],l;for(l=t+1;l<=s;++l){const c=e[l%i];c.skip||c.stop?a.skip||(n=!1,o.push({start:t%i,end:(l-1)%i,loop:n}),t=r=c.stop?l:null):(r=l,a.skip&&(t=l)),a=c}return r!==null&&o.push({start:t%i,end:r%i,loop:n}),o}function rO(e,t){const s=e.points,n=e.options.spanGaps,i=s.length;if(!i)return[];const o=!!e._loop,{start:r,end:a}=iO(s,i,o,n);if(n===!0)return zf(e,[{start:r,end:a,loop:o}],s,t);const l=a{let e=0;return()=>e++})();function ot(e){return e===null||typeof e>"u"}function vt(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 nt(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function $t(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function Pn(e,t){return $t(e)?e:t}function Ge(e,t){return typeof e>"u"?t:e}const wF=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/t,y0=(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 ut(e,t,n,s){let i,o,a;if(vt(e))if(o=e.length,s)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 SF(e){const t=e.split("."),n=[];let s="";for(const i of t)s+=i,s.endsWith("\\")?s=s.slice(0,-1)+".":(n.push(s),s="");return n}function AF(e){const t=SF(e);return n=>{for(const s of t){if(s==="")break;n=n&&n[s]}return n}}function Li(e,t){return(Hg[t]||(Hg[t]=AF(t)))(e)}function jf(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Yr=e=>typeof e<"u",Ni=e=>typeof e=="function",jg=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function $F(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const wt=Math.PI,yt=2*wt,EF=yt+wt,Oc=Number.POSITIVE_INFINITY,CF=wt/180,Rt=wt/2,oo=wt/4,Wg=wt*2/3,ki=Math.log10,Cs=Math.sign;function Sr(e,t,n){return Math.abs(e-t)i-o).pop(),t}function Ea(e){return!isNaN(parseFloat(e))&&isFinite(e)}function TF(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}function x0(e,t,n){let s,i,o;for(s=0,i=e.length;sl&&c=Math.min(t,n)-s&&e<=Math.max(t,n)+s}function zf(e,t,n){n=n||(a=>e[a]1;)o=i+s>>1,n(o)?i=o:s=o;return{lo:i,hi:s}}const qs=(e,t,n,s)=>zf(e,n,s?i=>{const o=e[i][t];return oe[i][t]zf(e,n,s=>e[s][t]>=n);function IF(e,t,n){let s=0,i=e.length;for(;ss&&e[i-1]>n;)i--;return s>0||i{const s="_onData"+jf(n),i=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...o){const a=i.apply(this,o);return e._chartjs.listeners.forEach(r=>{typeof r[s]=="function"&&r[s](...o)}),a}})})}function Ug(e,t){const n=e._chartjs;if(!n)return;const s=n.listeners,i=s.indexOf(t);i!==-1&&s.splice(i,1),!(s.length>0)&&(S0.forEach(o=>{delete e[o]}),delete e._chartjs)}function A0(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const $0=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function E0(e,t){let n=[],s=!1;return function(...i){n=i,s||(s=!0,$0.call(window,()=>{s=!1,e.apply(t,n)}))}}function LF(e,t){let n;return function(...s){return t?(clearTimeout(n),n=setTimeout(e,t,s)):e.apply(this,s),t}}const Yf=e=>e==="start"?"left":e==="end"?"right":"center",an=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2,NF=(e,t,n,s)=>e===(s?"left":"right")?n:e==="center"?(t+n)/2:t;function C0(e,t,n){const s=t.length;let i=0,o=s;if(e._sorted){const{iScale:a,_parsed:r}=e,l=a.axis,{min:c,max:u,minDefined:d,maxDefined:f}=a.getUserBounds();d&&(i=Qt(Math.min(qs(r,l,c).lo,n?s:qs(t,l,a.getPixelForValue(c)).lo),0,s-1)),f?o=Qt(Math.max(qs(r,a.axis,u,!0).hi+1,n?0:qs(t,l,a.getPixelForValue(u),!0).hi+1),i,s)-i:o=s-i}return{start:i,count:o}}function P0(e){const{xScale:t,yScale:n,_scaleRanges:s}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!s)return e._scaleRanges=i,!0;const o=s.xmin!==t.min||s.xmax!==t.max||s.ymin!==n.min||s.ymax!==n.max;return Object.assign(s,i),o}const Vl=e=>e===0||e===1,Kg=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*yt/n)),qg=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*yt/n)+1,Ar={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*Rt)+1,easeOutSine:e=>Math.sin(e*Rt),easeInOutSine:e=>-.5*(Math.cos(wt*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=>Vl(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=>Vl(e)?e:Kg(e,.075,.3),easeOutElastic:e=>Vl(e)?e:qg(e,.075,.3),easeInOutElastic(e){return Vl(e)?e:e<.5?.5*Kg(e*2,.1125,.45):.5+.5*qg(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-Ar.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?Ar.easeInBounce(e*2)*.5:Ar.easeOutBounce(e*2-1)*.5+.5};function Uf(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function Gg(e){return Uf(e)?e:new Wr(e)}function fd(e){return Uf(e)?e:new Wr(e).saturate(.5).darken(.1).hexString()}const FF=["x","y","borderWidth","radius","tension"],BF=["color","borderColor","backgroundColor"];function VF(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>t!=="onProgress"&&t!=="onComplete"&&t!=="fn"}),e.set("animations",{colors:{type:"color",properties:BF},numbers:{type:"number",properties:FF}}),e.describe("animations",{_fallback:"animation"}),e.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:t=>t|0}}}})}function HF(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const Jg=new Map;function jF(e,t){t=t||{};const n=e+JSON.stringify(t);let s=Jg.get(n);return s||(s=new Intl.NumberFormat(e,t),Jg.set(n,s)),s}function rl(e,t,n){return jF(t,n).format(e)}const T0={values(e){return vt(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const s=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=WF(e,n)}const a=ki(Math.abs(o)),r=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:i,minimumFractionDigits:r,maximumFractionDigits:r};return Object.assign(l,this.options.ticks.format),rl(e,s,l)},logarithmic(e,t,n){if(e===0)return"0";const s=n[t].significand||e/Math.pow(10,Math.floor(ki(e)));return[1,2,3,5,10,15].includes(s)||t>.8*n.length?T0.numeric.call(this,e,t,n):""}};function WF(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 pu={formatters:T0};function zF(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,n)=>n.lineWidth,tickColor:(t,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width: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:pu.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&t!=="callback"&&t!=="parser",_indexable:t=>t!=="borderDash"&&t!=="tickBorderDash"&&t!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:t=>t!=="backdropPadding"&&t!=="callback",_indexable:t=>t!=="backdropPadding"})}const Po=Object.create(null),ah=Object.create(null);function $r(e,t){if(!t)return e;const n=t.split(".");for(let s=0,i=n.length;ss.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=(s,i)=>fd(i.backgroundColor),this.hoverBorderColor=(s,i)=>fd(i.borderColor),this.hoverColor=(s,i)=>fd(i.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),this.apply(n)}set(t,n){return pd(this,t,n)}get(t){return $r(this,t)}describe(t,n){return pd(ah,t,n)}override(t,n){return pd(Po,t,n)}route(t,n,s,i){const o=$r(this,t),a=$r(this,s),r="_"+n;Object.defineProperties(o,{[r]:{value:o[n],writable:!0},[n]:{enumerable:!0,get(){const l=this[r],c=a[i];return nt(l)?Object.assign({},c,l):Ge(l,c)},set(l){this[r]=l}}})}apply(t){t.forEach(n=>n(this))}}var Et=new YF({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[VF,HF,zF]);function UF(e){return!e||ot(e.size)||ot(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function Ic(e,t,n,s,i){let o=t[i];return o||(o=t[i]=e.measureText(i).width,n.push(i)),o>s&&(s=o),s}function KF(e,t,n,s){s=s||{};let i=s.data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==t&&(i=s.data={},o=s.garbageCollect=[],s.font=t),e.save(),e.font=t;let a=0;const r=n.length;let l,c,u,d,f;for(l=0;ln.length){for(l=0;l0&&e.stroke()}}function Gs(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,JF(e,o),l=0;l+e||0;function Kf(e,t){const n={},s=nt(t),i=s?Object.keys(t):t,o=nt(e)?s?a=>Ge(e[a],e[t[a]]):a=>e[a]:()=>e;for(const a of i)n[a]=nB(o(a));return n}function D0(e){return Kf(e,{top:"y",right:"x",bottom:"y",left:"x"})}function ko(e){return Kf(e,["topLeft","topRight","bottomLeft","bottomRight"])}function dn(e){const t=D0(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Yt(e,t){e=e||{},t=t||Et.font;let n=Ge(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let s=Ge(e.style,t.style);s&&!(""+s).match(eB)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const i={family:Ge(e.family,t.family),lineHeight:tB(Ge(e.lineHeight,t.lineHeight),n),size:n,style:s,weight:Ge(e.weight,t.weight),string:""};return i.string=UF(i),i}function ar(e,t,n,s){let i=!0,o,a,r;for(o=0,a=e.length;on&&r===0?0:r+l;return{min:a(s,-Math.abs(o)),max:a(i,o)}}function Yi(e,t){return Object.assign(Object.create(e),t)}function qf(e,t=[""],n,s,i=()=>e[0]){const o=n||e;typeof s>"u"&&(s=L0("_fallback",e));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:o,_fallback:s,_getTarget:i,override:r=>qf([r,...e],t,o,s)};return new Proxy(a,{deleteProperty(r,l){return delete r[l],delete r._keys,delete e[0][l],!0},get(r,l){return I0(r,l,()=>dB(l,t,e,r))},getOwnPropertyDescriptor(r,l){return Reflect.getOwnPropertyDescriptor(r._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(r,l){return Zg(r).includes(l)},ownKeys(r){return Zg(r)},set(r,l,c){const u=r._storage||(r._storage=i());return r[l]=u[l]=c,delete r._keys,!0}})}function Ca(e,t,n,s){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:O0(e,s),setContext:o=>Ca(e,o,n,s),override:o=>Ca(e.override(o),t,n,s)};return new Proxy(i,{deleteProperty(o,a){return delete o[a],delete e[a],!0},get(o,a,r){return I0(o,a,()=>oB(o,a,r))},getOwnPropertyDescriptor(o,a){return o._descriptors.allKeys?Reflect.has(e,a)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,a)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(o,a){return Reflect.has(e,a)},ownKeys(){return Reflect.ownKeys(e)},set(o,a,r){return e[a]=r,delete o[a],!0}})}function O0(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:s=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:s,isScriptable:Ni(n)?n:()=>n,isIndexable:Ni(s)?s:()=>s}}const iB=(e,t)=>e?e+jf(t):t,Gf=(e,t)=>nt(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function I0(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const s=n();return e[t]=s,s}function oB(e,t,n){const{_proxy:s,_context:i,_subProxy:o,_descriptors:a}=e;let r=s[t];return Ni(r)&&a.isScriptable(t)&&(r=aB(t,r,e,n)),vt(r)&&r.length&&(r=rB(t,r,e,a.isIndexable)),Gf(t,r)&&(r=Ca(r,i,o&&o[t],a)),r}function aB(e,t,n,s){const{_proxy:i,_context:o,_subProxy:a,_stack:r}=n;if(r.has(e))throw new Error("Recursion detected: "+Array.from(r).join("->")+"->"+e);r.add(e);let l=t(o,a||s);return r.delete(e),Gf(e,l)&&(l=Jf(i._scopes,i,e,l)),l}function rB(e,t,n,s){const{_proxy:i,_context:o,_subProxy:a,_descriptors:r}=n;if(typeof o.index<"u"&&s(e))return t[o.index%t.length];if(nt(t[0])){const l=t,c=i._scopes.filter(u=>u!==l);t=[];for(const u of l){const d=Jf(c,i,e,u);t.push(Ca(d,o,a&&a[e],r))}}return t}function R0(e,t,n){return Ni(e)?e(t,n):e}const lB=(e,t)=>e===!0?t:typeof e=="string"?Li(t,e):void 0;function cB(e,t,n,s,i){for(const o of t){const a=lB(n,o);if(a){e.add(a);const r=R0(a._fallback,n,i);if(typeof r<"u"&&r!==n&&r!==s)return r}else if(a===!1&&typeof s<"u"&&n!==s)return null}return!1}function Jf(e,t,n,s){const i=t._rootScopes,o=R0(t._fallback,n,s),a=[...e,...i],r=new Set;r.add(s);let l=Qg(r,a,n,o||n,s);return l===null||typeof o<"u"&&o!==n&&(l=Qg(r,a,o,l,s),l===null)?!1:qf(Array.from(r),[""],i,o,()=>uB(t,n,s))}function Qg(e,t,n,s,i){for(;n;)n=cB(e,t,n,s,i);return n}function uB(e,t,n){const s=e._getTarget();t in s||(s[t]={});const i=s[t];return vt(i)&&nt(n)?n:i||{}}function dB(e,t,n,s){let i;for(const o of t)if(i=L0(iB(o,e),n),typeof i<"u")return Gf(e,i)?Jf(n,s,e,i):i}function L0(e,t){for(const n of t){if(!n)continue;const s=n[e];if(typeof s<"u")return s}}function Zg(e){let t=e._keys;return t||(t=e._keys=hB(e._scopes)),t}function hB(e){const t=new Set;for(const n of e)for(const s of Object.keys(n).filter(i=>!i.startsWith("_")))t.add(s);return Array.from(t)}function N0(e,t,n,s){const{iScale:i}=e,{key:o="r"}=this._parsing,a=new Array(s);let r,l,c,u;for(r=0,l=s;rte==="x"?"y":"x";function pB(e,t,n,s){const i=e.skip?t:e,o=t,a=n.skip?t:n,r=oh(o,i),l=oh(a,o);let c=r/(r+l),u=l/(r+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=s*c,f=s*u;return{previous:{x:o.x-d*(a.x-i.x),y:o.y-d*(a.y-i.y)},next:{x:o.x+f*(a.x-i.x),y:o.y+f*(a.y-i.y)}}}function mB(e,t,n){const s=e.length;let i,o,a,r,l,c=Pa(e,0);for(let u=0;u!c.skip)),t.cubicInterpolationMode==="monotone")_B(e,i);else{let c=s?e[e.length-1]:e[0];for(o=0,a=e.length;oe.ownerDocument.defaultView.getComputedStyle(e,null);function yB(e,t){return _u(e).getPropertyValue(t)}const wB=["top","right","bottom","left"];function So(e,t,n){const s={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=wB[i];s[o]=parseFloat(e[t+"-"+o+n])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const xB=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function kB(e,t){const n=e.touches,s=n&&n.length?n[0]:e,{offsetX:i,offsetY:o}=s;let a=!1,r,l;if(xB(i,o,e.target))r=i,l=o;else{const c=t.getBoundingClientRect();r=s.clientX-c.left,l=s.clientY-c.top,a=!0}return{x:r,y:l,box:a}}function ho(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:s}=t,i=_u(n),o=i.boxSizing==="border-box",a=So(i,"padding"),r=So(i,"border","width"),{x:l,y:c,box:u}=kB(e,n),d=a.left+(u&&r.left),f=a.top+(u&&r.top);let{width:p,height:g}=t;return o&&(p-=a.width+r.width,g-=a.height+r.height),{x:Math.round((l-d)/p*n.width/s),y:Math.round((c-f)/g*n.height/s)}}function SB(e,t,n){let s,i;if(t===void 0||n===void 0){const o=Qf(e);if(!o)t=e.clientWidth,n=e.clientHeight;else{const a=o.getBoundingClientRect(),r=_u(o),l=So(r,"border","width"),c=So(r,"padding");t=a.width-c.width-l.width,n=a.height-c.height-l.height,s=Rc(r.maxWidth,o,"clientWidth"),i=Rc(r.maxHeight,o,"clientHeight")}}return{width:t,height:n,maxWidth:s||Oc,maxHeight:i||Oc}}const jl=e=>Math.round(e*10)/10;function AB(e,t,n,s){const i=_u(e),o=So(i,"margin"),a=Rc(i.maxWidth,e,"clientWidth")||Oc,r=Rc(i.maxHeight,e,"clientHeight")||Oc,l=SB(e,t,n);let{width:c,height:u}=l;if(i.boxSizing==="content-box"){const f=So(i,"border","width"),p=So(i,"padding");c-=p.width+f.width,u-=p.height+f.height}return c=Math.max(0,c-o.width),u=Math.max(0,s?c/s:u-o.height),c=jl(Math.min(c,a,l.maxWidth)),u=jl(Math.min(u,r,l.maxHeight)),c&&!u&&(u=jl(c/2)),(t!==void 0||n!==void 0)&&s&&l.height&&u>l.height&&(u=l.height,c=jl(Math.floor(u*s))),{width:c,height:u}}function e_(e,t,n){const s=t||1,i=Math.floor(e.height*s),o=Math.floor(e.width*s);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const a=e.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${e.height}px`,a.style.width=`${e.width}px`),e.currentDevicePixelRatio!==s||a.height!==i||a.width!==o?(e.currentDevicePixelRatio=s,a.height=i,a.width=o,e.ctx.setTransform(s,0,0,s,0,0),!0):!1}const $B=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};Xf()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch{}return e}();function t_(e,t){const n=yB(e,t),s=n&&n.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function fo(e,t,n,s){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function EB(e,t,n,s){return{x:e.x+n*(t.x-e.x),y:s==="middle"?n<.5?e.y:t.y:s==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function CB(e,t,n,s){const i={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},a=fo(e,i,n),r=fo(i,o,n),l=fo(o,t,n),c=fo(a,r,n),u=fo(r,l,n);return fo(c,u,n)}const PB=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,s){return n-s},leftForLtr(n,s){return n-s}}},TB=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function ca(e,t,n){return e?PB(t,n):TB()}function B0(e,t){let n,s;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,s=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=s)}function V0(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function H0(e){return e==="angle"?{between:Ur,compare:MF,normalize:Mn}:{between:Ks,compare:(t,n)=>t-n,normalize:t=>t}}function n_({start:e,end:t,count:n,loop:s,style:i}){return{start:e%n,end:t%n,loop:s&&(t-e+1)%n===0,style:i}}function MB(e,t,n){const{property:s,start:i,end:o}=n,{between:a,normalize:r}=H0(s),l=t.length;let{start:c,end:u,loop:d}=e,f,p;if(d){for(c+=l,u+=l,f=0,p=l;fl(i,$,w)&&r(i,$)!==0,k=()=>r(o,w)===0||l(o,$,w),y=()=>_||M(),x=()=>!_||k();for(let E=u,P=u;E<=d;++E)A=t[E%a],!A.skip&&(w=c(A[s]),w!==$&&(_=l(w,i,o),v===null&&y()&&(v=r(w,i)===0?E:P),v!==null&&x()&&(g.push(n_({start:v,end:E,loop:f,count:a,style:p})),v=null),P=E,$=w));return v!==null&&g.push(n_({start:v,end:d,loop:f,count:a,style:p})),g}function W0(e,t){const n=[],s=e.segments;for(let i=0;ii&&e[o%t].skip;)o--;return o%=t,{start:i,end:o}}function OB(e,t,n,s){const i=e.length,o=[];let a=t,r=e[t],l;for(l=t+1;l<=n;++l){const c=e[l%i];c.skip||c.stop?r.skip||(s=!1,o.push({start:t%i,end:(l-1)%i,loop:s}),t=a=c.stop?l:null):(a=l,r.skip&&(t=l)),r=c}return a!==null&&o.push({start:t%i,end:a%i,loop:s}),o}function IB(e,t){const n=e.points,s=e.options.spanGaps,i=n.length;if(!i)return[];const o=!!e._loop,{start:a,end:r}=DB(n,i,o,s);if(s===!0)return s_(e,[{start:a,end:r,loop:o}],n,t);const l=ra({chart:t,initial:s.initial,numSteps:r,currentStep:Math.min(n-s.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=S_.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let s=0;this._charts.forEach((n,i)=>{if(!n.running||!n.items.length)return;const o=n.items;let r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>n.duration&&(n.duration=l._total),l.tick(t),a=!0):(o[r]=o[o.length-1],o.pop());a&&(i.draw(),this._notify(i,n,t,"progress")),o.length||(n.running=!1,this._notify(i,n,t,"complete"),n.initial=!1),s+=o.length}),this._lastDate=t,s===0&&(this._running=!1)}_getAnims(t){const s=this._charts;let n=s.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},s.set(t,n)),n}listen(t,s,n){this._getAnims(t).listeners[s].push(n)}add(t,s){!s||!s.length||this._getAnims(t).items.push(...s)}has(t){return this._getAnims(t).items.length>0}start(t){const s=this._charts.get(t);s&&(s.running=!0,s.start=Date.now(),s.duration=s.items.reduce((n,i)=>Math.max(n,i._duration),0),this._refresh())}running(t){if(!this._running)return!1;const s=this._charts.get(t);return!(!s||!s.running||!s.items.length)}stop(t){const s=this._charts.get(t);if(!s||!s.items.length)return;const n=s.items;let i=n.length-1;for(;i>=0;--i)n[i].cancel();s.items=[],this._notify(t,s,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Ms=new cO;const Uf="transparent",dO={boolean(e,t,s){return s>.5?t:e},color(e,t,s){const n=Rf(e||Uf),i=n.valid&&Rf(t||Uf);return i&&i.valid?i.mix(n,s).hexString():t},number(e,t,s){return e+(t-e)*s}};class uO{constructor(t,s,n,i){const o=s[n];i=yo([t.to,i,o,t.from]);const r=yo([t.from,o,i]);this._active=!0,this._fn=t.fn||dO[t.type||typeof r],this._easing=Lo[t.easing]||Lo.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=s,this._prop=n,this._from=r,this._to=i,this._promises=void 0}active(){return this._active}update(t,s,n){if(this._active){this._notify(!1);const i=this._target[this._prop],o=n-this._start,r=this._duration-o;this._start=n,this._duration=Math.floor(Math.max(r,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=yo([t.to,s,i,t.from]),this._from=yo([t.from,i,s])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const s=t-this._start,n=this._duration,i=this._prop,o=this._from,r=this._loop,a=this._to;let l;if(this._active=o!==a&&(r||s1?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((s,n)=>{t.push({res:s,rej:n})})}_notify(t){const s=t?"res":"rej",n=this._promises||[];for(let i=0;i{const o=t[i];if(!Ft(o))return;const r={};for(const a of s)r[a]=o[a];(Jt(o.properties)&&o.properties||[i]).forEach(a=>{(a===i||!n.has(a))&&n.set(a,r)})})}_animateOptions(t,s){const n=s.options,i=fO(t,n);if(!i)return[];const o=this._createAnimations(i,n);return n.$shared&&hO(t.options.$animations,n).then(()=>{t.options=n},()=>{}),o}_createAnimations(t,s){const n=this._properties,i=[],o=t.$animations||(t.$animations={}),r=Object.keys(s),a=Date.now();let l;for(l=r.length-1;l>=0;--l){const c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){i.push(...this._animateOptions(t,s));continue}const d=s[c];let h=o[c];const p=n.get(c);if(h)if(p&&h.active()){h.update(p,d,a);continue}else h.cancel();if(!p||!p.duration){t[c]=d;continue}o[c]=h=new uO(p,t,c,d),i.push(h)}return i}update(t,s){if(this._properties.size===0){Object.assign(t,s);return}const n=this._createAnimations(t,s);if(n.length)return Ms.add(this._chart,n),!0}}function hO(e,t){const s=[],n=Object.keys(t);for(let i=0;i0||!s&&o<0)return i.index}return null}function Xf(e,t){const{chart:s,_cachedMeta:n}=e,i=s._stacks||(s._stacks={}),{iScale:o,vScale:r,index:a}=n,l=o.axis,c=r.axis,d=_O(o,r,n),h=t.length;let p;for(let g=0;gs[n].axis===t).shift()}function yO(e,t){return Cn(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function xO(e,t,s){return Cn(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:s,index:t,mode:"default",type:"data"})}function ho(e,t){const s=e.controller.index,n=e.vScale&&e.vScale.axis;if(n){t=t||e._parsed;for(const i of t){const o=i._stacks;if(!o||o[n]===void 0||o[n][s]===void 0)return;delete o[n][s],o[n]._visualValues!==void 0&&o[n]._visualValues[s]!==void 0&&delete o[n]._visualValues[s]}}}const Jl=e=>e==="reset"||e==="none",Qf=(e,t)=>t?e:Object.assign({},e),wO=(e,t,s)=>e&&!t.hidden&&t._stacked&&{keys:H_(s,!0),values:null};class cs{constructor(t,s){this.chart=t,this._ctx=t.ctx,this.index=s,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.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Gf(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&ho(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,s=this._cachedMeta,n=this.getDataset(),i=(h,p,g,m)=>h==="x"?p:h==="r"?m:g,o=s.xAxisID=$t(n.xAxisID,Gl(t,"x")),r=s.yAxisID=$t(n.yAxisID,Gl(t,"y")),a=s.rAxisID=$t(n.rAxisID,Gl(t,"r")),l=s.indexAxis,c=s.iAxisID=i(l,o,r,a),d=s.vAxisID=i(l,r,o,a);s.xScale=this.getScaleForId(o),s.yScale=this.getScaleForId(r),s.rScale=this.getScaleForId(a),s.iScale=this.getScaleForId(c),s.vScale=this.getScaleForId(d)}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 s=this._cachedMeta;return t===s.iScale?s.vScale:s.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&If(this._data,this),t._stacked&&ho(t)}_dataCheck(){const t=this.getDataset(),s=t.data||(t.data=[]),n=this._data;if(Ft(s))this._data=mO(s);else if(n!==s){if(n){If(n,this);const i=this._cachedMeta;ho(i),i._parsed=[]}s&&Object.isExtensible(s)&&aI(s,this),this._syncList=[],this._data=s}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const s=this._cachedMeta,n=this.getDataset();let i=!1;this._dataCheck();const o=s._stacked;s._stacked=Gf(s.vScale,s),s.stack!==n.stack&&(i=!0,ho(s),s.stack=n.stack),this._resyncElements(t),(i||o!==s._stacked)&&Xf(this,s._parsed)}configure(){const t=this.chart.config,s=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),s,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,s){const{_cachedMeta:n,_data:i}=this,{iScale:o,_stacked:r}=n,a=o.axis;let l=t===0&&s===i.length?!0:n._sorted,c=t>0&&n._parsed[t-1],d,h,p;if(this._parsing===!1)n._parsed=i,n._sorted=!0,p=i;else{Jt(i[t])?p=this.parseArrayData(n,i,t,s):Ft(i[t])?p=this.parseObjectData(n,i,t,s):p=this.parsePrimitiveData(n,i,t,s);const g=()=>h[a]===null||c&&h[a]_||h<_}for(p=0;p=0;--p)if(!m()){this.updateRangeFromParsed(c,t,g,l);break}}return c}getAllParsedValues(t){const s=this._cachedMeta._parsed,n=[];let i,o,r;for(i=0,o=s.length;i=0&&tthis.getContext(n,i,s),_=c.resolveNamedOptions(p,g,m,h);return _.$shared&&(_.$shared=l,o[r]=Object.freeze(Qf(_,l))),_}_resolveAnimations(t,s,n){const i=this.chart,o=this._cachedDataOpts,r=`animation-${s}`,a=o[r];if(a)return a;let l;if(i.options.animation!==!1){const d=this.chart.config,h=d.datasetAnimationScopeKeys(this._type,s),p=d.getOptionScopes(this.getDataset(),h);l=d.createResolver(p,this.getContext(t,n,s))}const c=new j_(i,l&&l.animations);return l&&l._cacheable&&(o[r]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,s){return!s||Jl(t)||this.chart._animationsDisabled}_getSharedOptions(t,s){const n=this.resolveDataElementOptions(t,s),i=this._sharedOptions,o=this.getSharedOptions(n),r=this.includeOptions(s,o)||o!==i;return this.updateSharedOptions(o,s,n),{sharedOptions:o,includeOptions:r}}updateElement(t,s,n,i){Jl(i)?Object.assign(t,n):this._resolveAnimations(s,i).update(t,n)}updateSharedOptions(t,s,n){t&&!Jl(s)&&this._resolveAnimations(void 0,s).update(t,n)}_setStyle(t,s,n,i){t.active=i;const o=this.getStyle(s,i);this._resolveAnimations(s,n,i).update(t,{options:!i&&this.getSharedOptions(o)||o})}removeHoverStyle(t,s,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,s,n){this._setStyle(t,n,"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 s=this._data,n=this._cachedMeta.data;for(const[a,l,c]of this._syncList)this[a](l,c);this._syncList=[];const i=n.length,o=s.length,r=Math.min(o,i);r&&this.parse(0,r),o>i?this._insertElements(i,o-i,t):o{for(c.length+=s,a=c.length-1;a>=r;a--)c[a]=c[a-s]};for(l(o),a=t;ai-o))}return e._cache.$bar}function EO(e){const t=e.iScale,s=SO(t,e.type);let n=t._length,i,o,r,a;const l=()=>{r===32767||r===-32768||(Go(a)&&(n=Math.min(n,Math.abs(r-a)||n)),a=r)};for(i=0,o=s.length;i0?i[e-1]:null,a=eMath.abs(a)&&(l=a,c=r),t[s.axis]=c,t._custom={barStart:l,barEnd:c,start:i,end:o,min:r,max:a}}function W_(e,t,s,n){return Jt(e)?$O(e,t,s,n):t[s.axis]=s.parse(e,n),t}function Zf(e,t,s,n){const i=e.iScale,o=e.vScale,r=i.getLabels(),a=i===o,l=[];let c,d,h,p;for(c=s,d=s+n;c=s?1:-1)}function kO(e){let t,s,n,i,o;return e.horizontal?(t=e.base>e.x,s="left",n="right"):(t=e.basel.controller.options.grouped),o=n.options.stacked,r=[],a=l=>{const c=l.controller.getParsed(s),d=c&&c[l.vScale.axis];if(jt(d)||isNaN(d))return!0};for(const l of i)if(!(s!==void 0&&a(l))&&((o===!1||r.indexOf(l.stack)===-1||o===void 0&&l.stack===void 0)&&r.push(l.stack),l.index===t))break;return r.length||r.push(void 0),r}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,s,n){const i=this._getStacks(t,n),o=s!==void 0?i.indexOf(s):-1;return o===-1?i.length-1:o}_getRuler(){const t=this.options,s=this._cachedMeta,n=s.iScale,i=[];let o,r;for(o=0,r=s.data.length;o=0;--n)s=Math.max(s,t[n].size(this.resolveDataElementOptions(n))/2);return s>0&&s}getLabelAndValue(t){const s=this._cachedMeta,n=this.chart.data.labels||[],{xScale:i,yScale:o}=s,r=this.getParsed(t),a=i.getLabelForValue(r.x),l=o.getLabelForValue(r.y),c=r._custom;return{label:n[t]||"",value:"("+a+", "+l+(c?", "+c:"")+")"}}update(t){const s=this._cachedMeta.data;this.updateElements(s,0,s.length,t)}updateElements(t,s,n,i){const o=i==="reset",{iScale:r,vScale:a}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(s,i),d=r.axis,h=a.axis;for(let p=s;pJo($,a,l,!0)?1:Math.max(T,T*s,y,y*s),m=($,T,y)=>Jo($,a,l,!0)?-1:Math.min(T,T*s,y,y*s),_=g(0,c,h),v=g(ne,d,p),w=m(Qt,c,h),S=m(Qt+ne,d,p);n=(_-w)/2,i=(v-S)/2,o=-(_+w)/2,r=-(v+S)/2}return{ratioX:n,ratioY:i,offsetX:o,offsetY:r}}class Si extends cs{constructor(t,s){super(t,s),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,s){const n=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=n;else{let o=l=>+n[l];if(Ft(n[t])){const{key:l="value"}=this._parsing;o=c=>+yn(n[c],l)}let r,a;for(r=t,a=t+s;r0&&!isNaN(t)?Xt*(Math.abs(t)/s):0}getLabelAndValue(t){const s=this._cachedMeta,n=this.chart,i=n.data.labels||[],o=cr(s._parsed[t],n.options.locale);return{label:i[t]||"",value:o}}getMaxBorderWidth(t){let s=0;const n=this.chart;let i,o,r,a,l;if(!t){for(i=0,o=n.data.datasets.length;it!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),ot(Si,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const s=t.data;if(s.labels.length&&s.datasets.length){const{labels:{pointStyle:n,color:i}}=t.legend.options;return s.labels.map((o,r)=>{const l=t.getDatasetMeta(0).controller.getStyle(r);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(r),index:r}})}return[]}},onClick(t,s,n){n.chart.toggleDataVisibility(s.index),n.chart.update()}}}});class Fo extends cs{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const s=this._cachedMeta,{dataset:n,data:i=[],_dataset:o}=s,r=this.chart._animationsDisabled;let{start:a,count:l}=A_(s,i,r);this._drawStart=a,this._drawCount=l,C_(s)&&(a=0,l=i.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!o._decimated,n.points=i;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(n,void 0,{animated:!r,options:c},t),this.updateElements(i,a,l,t)}updateElements(t,s,n,i){const o=i==="reset",{iScale:r,vScale:a,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:d,includeOptions:h}=this._getSharedOptions(s,i),p=r.axis,g=a.axis,{spanGaps:m,segment:_}=this.options,v=zi(m)?m:Number.POSITIVE_INFINITY,w=this.chart._animationsDisabled||o||i==="none",S=s+n,$=t.length;let T=s>0&&this.getParsed(s-1);for(let y=0;y<$;++y){const x=t[y],C=w?x:{};if(y=S){C.skip=!0;continue}const E=this.getParsed(y),P=jt(E[g]),M=C[p]=r.getPixelForValue(E[p],y),L=C[g]=o||P?a.getBasePixel():a.getPixelForValue(l?this.applyStack(a,E,l):E[g],y);C.skip=isNaN(M)||isNaN(L)||P,C.stop=y>0&&Math.abs(E[p]-T[p])>v,_&&(C.parsed=E,C.raw=c.data[y]),h&&(C.options=d||this.resolveDataElementOptions(y,x.active?"active":i)),w||this.updateElement(x,y,C,i),T=E}}getMaxOverflow(){const t=this._cachedMeta,s=t.dataset,n=s.options&&s.options.borderWidth||0,i=t.data||[];if(!i.length)return n;const o=i[0].size(this.resolveDataElementOptions(0)),r=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(n,o,r)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}ot(Fo,"id","line"),ot(Fo,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),ot(Fo,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class ua extends cs{constructor(t,s){super(t,s),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const s=this._cachedMeta,n=this.chart,i=n.data.labels||[],o=cr(s._parsed[t].r,n.options.locale);return{label:i[t]||"",value:o}}parseObjectData(t,s,n,i){return O_.bind(this)(t,s,n,i)}update(t){const s=this._cachedMeta.data;this._updateRadius(),this.updateElements(s,0,s.length,t)}getMinMax(){const t=this._cachedMeta,s={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((n,i)=>{const o=this.getParsed(i).r;!isNaN(o)&&this.chart.getDataVisibility(i)&&(os.max&&(s.max=o))}),s}_updateRadius(){const t=this.chart,s=t.chartArea,n=t.options,i=Math.min(s.right-s.left,s.bottom-s.top),o=Math.max(i/2,0),r=Math.max(n.cutoutPercentage?o/100*n.cutoutPercentage:1,0),a=(o-r)/t.getVisibleDatasetCount();this.outerRadius=o-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(t,s,n,i){const o=i==="reset",r=this.chart,l=r.options.animation,c=this._cachedMeta.rScale,d=c.xCenter,h=c.yCenter,p=c.getIndexAngle(0)-.5*Qt;let g=p,m;const _=360/this.countVisibleElements();for(m=0;m{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&s++}),s}_computeAngle(t,s,n){return this.chart.getDataVisibility(t)?ls(this.resolveDataElementOptions(t,s).angle||n):0}}ot(ua,"id","polarArea"),ot(ua,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),ot(ua,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const s=t.data;if(s.labels.length&&s.datasets.length){const{labels:{pointStyle:n,color:i}}=t.legend.options;return s.labels.map((o,r)=>{const l=t.getDatasetMeta(0).controller.getStyle(r);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(r),index:r}})}return[]}},onClick(t,s,n){n.chart.toggleDataVisibility(s.index),n.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});class Lc extends Si{}ot(Lc,"id","pie"),ot(Lc,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class ha extends cs{getLabelAndValue(t){const s=this._cachedMeta.vScale,n=this.getParsed(t);return{label:s.getLabels()[t],value:""+s.getLabelForValue(n[s.axis])}}parseObjectData(t,s,n,i){return O_.bind(this)(t,s,n,i)}update(t){const s=this._cachedMeta,n=s.dataset,i=s.data||[],o=s.iScale.getLabels();if(n.points=i,t!=="resize"){const r=this.resolveDatasetElementOptions(t);this.options.showLine||(r.borderWidth=0);const a={_loop:!0,_fullLoop:o.length===i.length,options:r};this.updateElement(n,void 0,a,t)}this.updateElements(i,0,i.length,t)}updateElements(t,s,n,i){const o=this._cachedMeta.rScale,r=i==="reset";for(let a=s;a0&&this.getParsed(s-1);for(let T=s;T0&&Math.abs(x[g]-$[g])>w,v&&(C.parsed=x,C.raw=c.data[T]),p&&(C.options=h||this.resolveDataElementOptions(T,y.active?"active":i)),S||this.updateElement(y,T,C,i),$=x}this.updateSharedOptions(h,i,d)}getMaxOverflow(){const t=this._cachedMeta,s=t.data||[];if(!this.options.showLine){let a=0;for(let l=s.length-1;l>=0;--l)a=Math.max(a,s[l].size(this.resolveDataElementOptions(l))/2);return a>0&&a}const n=t.dataset,i=n.options&&n.options.borderWidth||0;if(!s.length)return i;const o=s[0].size(this.resolveDataElementOptions(0)),r=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,o,r)/2}}ot(fa,"id","scatter"),ot(fa,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),ot(fa,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});function Hn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class ru{constructor(t){ot(this,"options");this.options=t||{}}static override(t){Object.assign(ru.prototype,t)}init(){}formats(){return Hn()}parse(){return Hn()}format(){return Hn()}add(){return Hn()}diff(){return Hn()}startOf(){return Hn()}endOf(){return Hn()}}var OO={_date:ru};function LO(e,t,s,n){const{controller:i,data:o,_sorted:r}=e,a=i._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&r&&o.length){const l=a._reversePixels?oI:Ns;if(n){if(i._sharedOptions){const c=o[0],d=typeof c.getRange=="function"&&c.getRange(t);if(d){const h=l(o,t,s-d),p=l(o,t,s+d);return{lo:h.lo,hi:p.hi}}}}else return l(o,t,s)}return{lo:0,hi:o.length-1}}function dr(e,t,s,n,i){const o=e.getSortedVisibleDatasetMetas(),r=s[t];for(let a=0,l=o.length;a{l[r](t[s],i)&&(o.push({element:l,datasetIndex:c,index:d}),a=a||l.inRange(t.x,t.y,i))}),n&&!a?[]:o}var BO={evaluateInteractionItems:dr,modes:{index(e,t,s,n){const i=zn(t,e),o=s.axis||"x",r=s.includeInvisible||!1,a=s.intersect?Ql(e,i,o,n,r):Zl(e,i,o,!1,n,r),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{const d=a[0].index,h=c.data[d];h&&!h.skip&&l.push({element:h,datasetIndex:c.index,index:d})}),l):[]},dataset(e,t,s,n){const i=zn(t,e),o=s.axis||"xy",r=s.includeInvisible||!1;let a=s.intersect?Ql(e,i,o,n,r):Zl(e,i,o,!1,n,r);if(a.length>0){const l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let d=0;ds.pos===t)}function np(e,t){return e.filter(s=>z_.indexOf(s.pos)===-1&&s.box.axis===t)}function po(e,t){return e.sort((s,n)=>{const i=t?n:s,o=t?s:n;return i.weight===o.weight?i.index-o.index:i.weight-o.weight})}function VO(e){const t=[];let s,n,i,o,r,a;for(s=0,n=(e||[]).length;sc.box.fullSize),!0),n=po(fo(t,"left"),!0),i=po(fo(t,"right")),o=po(fo(t,"top"),!0),r=po(fo(t,"bottom")),a=np(t,"x"),l=np(t,"y");return{fullSize:s,leftAndTop:n.concat(o),rightAndBottom:i.concat(l).concat(r).concat(a),chartArea:fo(t,"chartArea"),vertical:n.concat(i).concat(l),horizontal:o.concat(r).concat(a)}}function ip(e,t,s,n){return Math.max(e[s],t[s])+Math.max(e[n],t[n])}function K_(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 zO(e,t,s,n){const{pos:i,box:o}=s,r=e.maxPadding;if(!Ft(i)){s.size&&(e[i]-=s.size);const h=n[s.stack]||{size:0,count:1};h.size=Math.max(h.size,s.horizontal?o.height:o.width),s.size=h.size/h.count,e[i]+=s.size}o.getPadding&&K_(r,o.getPadding());const a=Math.max(0,t.outerWidth-ip(r,e,"left","right")),l=Math.max(0,t.outerHeight-ip(r,e,"top","bottom")),c=a!==e.w,d=l!==e.h;return e.w=a,e.h=l,s.horizontal?{same:c,other:d}:{same:d,other:c}}function KO(e){const t=e.maxPadding;function s(n){const i=Math.max(t[n]-e[n],0);return e[n]+=i,i}e.y+=s("top"),e.x+=s("left"),s("right"),s("bottom")}function UO(e,t){const s=t.maxPadding;function n(i){const o={left:0,top:0,right:0,bottom:0};return i.forEach(r=>{o[r]=Math.max(t[r],s[r])}),o}return n(e?["left","right"]:["top","bottom"])}function xo(e,t,s,n){const i=[];let o,r,a,l,c,d;for(o=0,r=e.length,c=0;o{typeof _.beforeLayout=="function"&&_.beforeLayout()});const d=l.reduce((_,v)=>v.box.options&&v.box.options.display===!1?_:_+1,0)||1,h=Object.freeze({outerWidth:t,outerHeight:s,padding:i,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/d,hBoxMaxHeight:r/2}),p=Object.assign({},i);K_(p,be(n));const g=Object.assign({maxPadding:p,w:o,h:r,x:i.left,y:i.top},i),m=HO(l.concat(c),h);xo(a.fullSize,g,h,m),xo(l,g,h,m),xo(c,g,h,m)&&xo(l,g,h,m),KO(g),op(a.leftAndTop,g,h,m),g.x+=g.w,g.y+=g.h,op(a.rightAndBottom,g,h,m),e.chartArea={left:g.left,top:g.top,right:g.left+g.w,bottom:g.top+g.h,height:g.h,width:g.w},Kt(a.chartArea,_=>{const v=_.box;Object.assign(v,e.chartArea),v.update(g.w,g.h,{left:0,top:0,right:0,bottom:0})})}};class U_{acquireContext(t,s){}releaseContext(t){return!1}addEventListener(t,s,n){}removeEventListener(t,s,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,s,n,i){return s=Math.max(0,s||t.width),n=n||t.height,{width:s,height:Math.max(0,i?Math.floor(s/i):n)}}isAttached(t){return!0}updateConfig(t){}}class YO extends U_{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const pa="$chartjs",qO={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},rp=e=>e===null||e==="";function GO(e,t){const s=e.style,n=e.getAttribute("height"),i=e.getAttribute("width");if(e[pa]={initial:{height:n,width:i,style:{display:s.display,height:s.height,width:s.width}}},s.display=s.display||"block",s.boxSizing=s.boxSizing||"border-box",rp(i)){const o=Hf(e,"width");o!==void 0&&(e.width=o)}if(rp(n))if(e.style.height==="")e.height=e.width/(t||2);else{const o=Hf(e,"height");o!==void 0&&(e.height=o)}return e}const Y_=QI?{passive:!0}:!1;function JO(e,t,s){e.addEventListener(t,s,Y_)}function XO(e,t,s){e.canvas.removeEventListener(t,s,Y_)}function QO(e,t){const s=qO[e.type]||e.type,{x:n,y:i}=zn(e,t);return{type:s,chart:t,native:e,x:n!==void 0?n:null,y:i!==void 0?i:null}}function Ia(e,t){for(const s of e)if(s===t||s.contains(t))return!0}function ZO(e,t,s){const n=e.canvas,i=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Ia(a.addedNodes,n),r=r&&!Ia(a.removedNodes,n);r&&s()});return i.observe(document,{childList:!0,subtree:!0}),i}function t2(e,t,s){const n=e.canvas,i=new MutationObserver(o=>{let r=!1;for(const a of o)r=r||Ia(a.removedNodes,n),r=r&&!Ia(a.addedNodes,n);r&&s()});return i.observe(document,{childList:!0,subtree:!0}),i}const Qo=new Map;let ap=0;function q_(){const e=window.devicePixelRatio;e!==ap&&(ap=e,Qo.forEach((t,s)=>{s.currentDevicePixelRatio!==e&&t()}))}function e2(e,t){Qo.size||window.addEventListener("resize",q_),Qo.set(e,t)}function s2(e){Qo.delete(e),Qo.size||window.removeEventListener("resize",q_)}function n2(e,t,s){const n=e.canvas,i=n&&ou(n);if(!i)return;const o=E_((a,l)=>{const c=i.clientWidth;s(a,l),c{const l=a[0],c=l.contentRect.width,d=l.contentRect.height;c===0&&d===0||o(c,d)});return r.observe(i),e2(e,o),r}function tc(e,t,s){s&&s.disconnect(),t==="resize"&&s2(e)}function i2(e,t,s){const n=e.canvas,i=E_(o=>{e.ctx!==null&&s(QO(o,e))},e);return JO(n,t,i),i}class o2 extends U_{acquireContext(t,s){const n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(GO(t,s),n):null}releaseContext(t){const s=t.canvas;if(!s[pa])return!1;const n=s[pa].initial;["height","width"].forEach(o=>{const r=n[o];jt(r)?s.removeAttribute(o):s.setAttribute(o,r)});const i=n.style||{};return Object.keys(i).forEach(o=>{s.style[o]=i[o]}),s.width=s.width,delete s[pa],!0}addEventListener(t,s,n){this.removeEventListener(t,s);const i=t.$proxies||(t.$proxies={}),r={attach:ZO,detach:t2,resize:n2}[s]||i2;i[s]=r(t,s,n)}removeEventListener(t,s){const n=t.$proxies||(t.$proxies={}),i=n[s];if(!i)return;({attach:tc,detach:tc,resize:tc}[s]||XO)(t,s,i),n[s]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,s,n,i){return XI(t,s,n,i)}isAttached(t){const s=ou(t);return!!(s&&s.isConnected)}}function r2(e){return!iu()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?YO:o2}var ta;let Ks=(ta=class{constructor(){ot(this,"x");ot(this,"y");ot(this,"active",!1);ot(this,"options");ot(this,"$animations")}tooltipPosition(t){const{x:s,y:n}=this.getProps(["x","y"],t);return{x:s,y:n}}hasValue(){return zi(this.x)&&zi(this.y)}getProps(t,s){const n=this.$animations;if(!s||!n)return this;const i={};return t.forEach(o=>{i[o]=n[o]&&n[o].active()?n[o]._to:this[o]}),i}},ot(ta,"defaults",{}),ot(ta,"defaultRoutes"),ta);function a2(e,t){const s=e.options.ticks,n=l2(e),i=Math.min(s.maxTicksLimit||n,n),o=s.major.enabled?d2(t):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>i)return u2(t,c,o,r/i),c;const d=c2(o,t,i);if(r>0){let h,p;const g=r>1?Math.round((l-a)/(r-1)):null;for(Kr(t,c,d,jt(g)?0:a-g,a),h=0,p=r-1;hi)return l}return Math.max(i,1)}function d2(e){const t=[];let s,n;for(s=0,n=e.length;se==="left"?"right":e==="right"?"left":e,lp=(e,t,s)=>t==="top"||t==="left"?e[t]+s:e[t]-s,cp=(e,t)=>Math.min(t||e,e);function dp(e,t){const s=[],n=e.length/t,i=e.length;let o=0;for(;or+a)))return l}function g2(e,t){Kt(e,s=>{const n=s.gc,i=n.length/2;let o;if(i>t){for(o=0;on?n:s,n=i&&s>n?s:n,{min:De(s,De(n,s)),max:De(n,De(s,n))}}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||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Yt(this.options.beforeUpdate,[this])}update(t,s,n){const{beginAtZero:i,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=s,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=kI(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a=o||n<=1||!this.isHorizontal()){this.labelRotation=i;return}const d=this._getLabelSizes(),h=d.widest.width,p=d.highest.height,g=fe(this.chart.width-h,0,this.maxWidth);a=t.offset?this.maxWidth/n:g/(n-1),h+6>a&&(a=g/(n-(t.offset?.5:1)),l=this.maxHeight-go(t.grid)-s.padding-up(t.title,this.chart.options.font),c=Math.sqrt(h*h+p*p),r=Jd(Math.min(Math.asin(fe((d.highest.height+6)/a,-1,1)),Math.asin(fe(l/c,-1,1))-Math.asin(fe(p/c,-1,1)))),r=Math.max(i,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){Yt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Yt(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:s,options:{ticks:n,title:i,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){const l=up(i,s.options.font);if(a?(t.width=this.maxWidth,t.height=go(o)+l):(t.height=this.maxHeight,t.width=go(o)+l),n.display&&this.ticks.length){const{first:c,last:d,widest:h,highest:p}=this._getLabelSizes(),g=n.padding*2,m=ls(this.labelRotation),_=Math.cos(m),v=Math.sin(m);if(a){const w=n.mirror?0:v*h.width+_*p.height;t.height=Math.min(this.maxHeight,t.height+w+g)}else{const w=n.mirror?0:_*h.width+v*p.height;t.width=Math.min(this.maxWidth,t.width+w+g)}this._calculatePadding(c,d,v,_)}}this._handleMargins(),a?(this.width=this._length=s.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=s.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,s,n,i){const{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const d=this.getPixelForTick(0)-this.left,h=this.right-this.getPixelForTick(this.ticks.length-1);let p=0,g=0;l?c?(p=i*t.width,g=n*s.height):(p=n*t.height,g=i*s.width):o==="start"?g=s.width:o==="end"?p=t.width:o!=="inner"&&(p=t.width/2,g=s.width/2),this.paddingLeft=Math.max((p-d+r)*this.width/(this.width-d),0),this.paddingRight=Math.max((g-h+r)*this.width/(this.width-h),0)}else{let d=s.height/2,h=t.height/2;o==="start"?(d=0,h=t.height):o==="end"&&(d=s.height,h=0),this.paddingTop=d+r,this.paddingBottom=h+r}}_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(){Yt(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:s}=this.options;return s==="top"||s==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let s,n;for(s=0,n=t.length;s({width:r[P]||0,height:a[P]||0});return{first:E(0),last:E(s-1),widest:E(x),highest:E(C),widths:r,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,s){return NaN}getValueForPixel(t){}getPixelForTick(t){const s=this.ticks;return t<0||t>s.length-1?null:this.getPixelForValue(s[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const s=this._startPixel+t*this._length;return iI(this._alignToPixels?jn(this.chart,s,0):s)}getDecimalForPixel(t){const s=(t-this._startPixel)/this._length;return this._reversePixels?1-s:s}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:s}=this;return t<0&&s<0?s:t>0&&s>0?t:0}getContext(t){const s=this.ticks||[];if(t>=0&&ta*i?a/n:l/i:l*i0}_computeGridLineItems(t){const s=this.axis,n=this.chart,i=this.options,{grid:o,position:r,border:a}=i,l=o.offset,c=this.isHorizontal(),h=this.ticks.length+(l?1:0),p=go(o),g=[],m=a.setContext(this.getContext()),_=m.display?m.width:0,v=_/2,w=function(R){return jn(n,R,_)};let S,$,T,y,x,C,E,P,M,L,F,Q;if(r==="top")S=w(this.bottom),C=this.bottom-p,P=S-v,L=w(t.top)+v,Q=t.bottom;else if(r==="bottom")S=w(this.top),L=t.top,Q=w(t.bottom)-v,C=S+v,P=this.top+p;else if(r==="left")S=w(this.right),x=this.right-p,E=S-v,M=w(t.left)+v,F=t.right;else if(r==="right")S=w(this.left),M=t.left,F=w(t.right)-v,x=S+v,E=this.left+p;else if(s==="x"){if(r==="center")S=w((t.top+t.bottom)/2+.5);else if(Ft(r)){const R=Object.keys(r)[0],z=r[R];S=w(this.chart.scales[R].getPixelForValue(z))}L=t.top,Q=t.bottom,C=S+v,P=C+p}else if(s==="y"){if(r==="center")S=w((t.left+t.right)/2);else if(Ft(r)){const R=Object.keys(r)[0],z=r[R];S=w(this.chart.scales[R].getPixelForValue(z))}x=S-v,E=x-p,M=t.left,F=t.right}const G=$t(i.ticks.maxTicksLimit,h),H=Math.max(1,Math.ceil(h/G));for($=0;$0&&(kt-=Pt/2);break}vt={left:kt,top:Bt,width:Pt+_t.width,height:Dt+_t.height,color:H.backdropColor}}v.push({label:T,font:P,textOffset:F,options:{rotation:_,color:z,strokeColor:Y,strokeWidth:at,textAlign:ht,textBaseline:Q,translation:[y,x],backdrop:vt}})}return v}_getXAxisLabelAlignment(){const{position:t,ticks:s}=this.options;if(-ls(this.labelRotation))return t==="top"?"left":"right";let i="center";return s.align==="start"?i="left":s.align==="end"?i="right":s.align==="inner"&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:s,ticks:{crossAlign:n,mirror:i,padding:o}}=this.options,r=this._getLabelSizes(),a=t+o,l=r.widest.width;let c,d;return s==="left"?i?(d=this.right+o,n==="near"?c="left":n==="center"?(c="center",d+=l/2):(c="right",d+=l)):(d=this.right-a,n==="near"?c="right":n==="center"?(c="center",d-=l/2):(c="left",d=this.left)):s==="right"?i?(d=this.left+o,n==="near"?c="right":n==="center"?(c="center",d-=l/2):(c="left",d-=l)):(d=this.left+a,n==="near"?c="left":n==="center"?(c="center",d+=l/2):(c="right",d=this.right)):c="right",{textAlign:c,x:d}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,s=this.options.position;if(s==="left"||s==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(s==="top"||s==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:s},left:n,top:i,width:o,height:r}=this;s&&(t.save(),t.fillStyle=s,t.fillRect(n,i,o,r),t.restore())}getLineWidthForValue(t){const s=this.options.grid;if(!this._isVisible()||!s.display)return 0;const i=this.ticks.findIndex(o=>o.value===t);return i>=0?s.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const s=this.options.grid,n=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,r;const a=(l,c,d)=>{!d.width||!d.color||(n.save(),n.lineWidth=d.width,n.strokeStyle=d.color,n.setLineDash(d.borderDash||[]),n.lineDashOffset=d.borderDashOffset,n.beginPath(),n.moveTo(l.x,l.y),n.lineTo(c.x,c.y),n.stroke(),n.restore())};if(s.display)for(o=0,r=i.length;o{this.draw(o)}}]:[{z:n,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:s,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(t){const s=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",i=[];let o,r;for(o=0,r=s.length;o{const n=s.split("."),i=n.pop(),o=[e].concat(n).join("."),r=t[s].split("."),a=r.pop(),l=r.join(".");ee.route(o,i,l,a)})}function w2(e){return"id"in e&&"defaults"in e}class S2{constructor(){this.controllers=new Ur(cs,"datasets",!0),this.elements=new Ur(Ks,"elements"),this.plugins=new Ur(Object,"plugins"),this.scales=new Ur(ai,"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,s,n){[...s].forEach(i=>{const o=n||this._getRegistryForType(i);n||o.isForType(i)||o===this.plugins&&i.id?this._exec(t,o,i):Kt(i,r=>{const a=n||this._getRegistryForType(r);this._exec(t,a,r)})})}_exec(t,s,n){const i=Gd(t);Yt(n["before"+i],[],n),s[t](n),Yt(n["after"+i],[],n)}_getRegistryForType(t){for(let s=0;so.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(i(s,n),t,"stop"),this._notify(i(n,s),t,"start")}}function A2(e){const t={},s=[],n=Object.keys(ps.plugins.items);for(let o=0;o1&&hp(e[0].toLowerCase());if(n)return n}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function fp(e,t,s){if(s[t+"AxisID"]===e)return{axis:t}}function D2(e,t){if(t.data&&t.data.datasets){const s=t.data.datasets.filter(n=>n.xAxisID===e||n.yAxisID===e);if(s.length)return fp(e,"x",s[0])||fp(e,"y",s[0])}return{}}function I2(e,t){const s=ii[e.type]||{scales:{}},n=t.scales||{},i=Rc(e.type,t),o=Object.create(null);return Object.keys(n).forEach(r=>{const a=n[r];if(!Ft(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);const l=Nc(r,a,D2(r,e),ee.scales[a.type]),c=T2(l,i),d=s.scales||{};o[r]=Io(Object.create(null),[{axis:l},a,d[l],d[c]])}),e.data.datasets.forEach(r=>{const a=r.type||e.type,l=r.indexAxis||Rc(a,t),d=(ii[a]||{}).scales||{};Object.keys(d).forEach(h=>{const p=k2(h,l),g=r[p+"AxisID"]||p;o[g]=o[g]||Object.create(null),Io(o[g],[{axis:p},n[g],d[h]])})}),Object.keys(o).forEach(r=>{const a=o[r];Io(a,[ee.scales[a.type],ee.scale])}),o}function G_(e){const t=e.options||(e.options={});t.plugins=$t(t.plugins,{}),t.scales=I2(e,t)}function J_(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function O2(e){return e=e||{},e.data=J_(e.data),G_(e),e}const pp=new Map,X_=new Set;function Yr(e,t){let s=pp.get(e);return s||(s=t(),pp.set(e,s),X_.add(s)),s}const mo=(e,t,s)=>{const n=yn(t,s);n!==void 0&&e.add(n)};let L2=class{constructor(t){this._config=O2(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=J_(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(),G_(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Yr(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,s){return Yr(`${t}.transition.${s}`,()=>[[`datasets.${t}.transitions.${s}`,`transitions.${s}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,s){return Yr(`${t}-${s}`,()=>[[`datasets.${t}.elements.${s}`,`datasets.${t}`,`elements.${s}`,""]])}pluginScopeKeys(t){const s=t.id,n=this.type;return Yr(`${n}-plugin-${s}`,()=>[[`plugins.${s}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,s){const n=this._scopeCache;let i=n.get(t);return(!i||s)&&(i=new Map,n.set(t,i)),i}getOptionScopes(t,s,n){const{options:i,type:o}=this,r=this._cachedScopes(t,n),a=r.get(s);if(a)return a;const l=new Set;s.forEach(d=>{t&&(l.add(t),d.forEach(h=>mo(l,t,h))),d.forEach(h=>mo(l,i,h)),d.forEach(h=>mo(l,ii[o]||{},h)),d.forEach(h=>mo(l,ee,h)),d.forEach(h=>mo(l,Ic,h))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),X_.has(s)&&r.set(s,c),c}chartOptionScopes(){const{options:t,type:s}=this;return[t,ii[s]||{},ee.datasets[s]||{},{type:s},ee,Ic]}resolveNamedOptions(t,s,n,i=[""]){const o={$shared:!0},{resolver:r,subPrefixes:a}=gp(this._resolverCache,t,i);let l=r;if(N2(r,s)){o.$shared=!1,n=xn(n)?n():n;const c=this.createResolver(t,n,a);l=Ki(r,n,c)}for(const c of s)o[c]=l[c];return o}createResolver(t,s,n=[""],i){const{resolver:o}=gp(this._resolverCache,t,n);return Ft(s)?Ki(o,s,void 0,i):o}};function gp(e,t,s){let n=e.get(t);n||(n=new Map,e.set(t,n));const i=s.join();let o=n.get(i);return o||(o={resolver:eu(t,s),subPrefixes:s.filter(a=>!a.toLowerCase().includes("hover"))},n.set(i,o)),o}const R2=e=>Ft(e)&&Object.getOwnPropertyNames(e).some(t=>xn(e[t]));function N2(e,t){const{isScriptable:s,isIndexable:n}=T_(e);for(const i of t){const o=s(i),r=n(i),a=(r||o)&&e[i];if(o&&(xn(a)||R2(a))||r&&Jt(a))return!0}return!1}var F2="4.4.1";const B2=["top","bottom","left","right","chartArea"];function mp(e,t){return e==="top"||e==="bottom"||B2.indexOf(e)===-1&&t==="x"}function _p(e,t){return function(s,n){return s[e]===n[e]?s[t]-n[t]:s[e]-n[e]}}function bp(e){const t=e.chart,s=t.options.animation;t.notifyPlugins("afterRender"),Yt(s&&s.onComplete,[e],t)}function V2(e){const t=e.chart,s=t.options.animation;Yt(s&&s.onProgress,[e],t)}function Q_(e){return iu()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const ga={},vp=e=>{const t=Q_(e);return Object.values(ga).filter(s=>s.canvas===t).pop()};function j2(e,t,s){const n=Object.keys(e);for(const i of n){const o=+i;if(o>=t){const r=e[i];delete e[i],(s>0||o>t)&&(e[o+s]=r)}}}function H2(e,t,s,n){return!s||e.type==="mouseout"?null:n?t:e}function qr(e,t,s){return e.options.clip?e[s]:t[s]}function W2(e,t){const{xScale:s,yScale:n}=e;return s&&n?{left:qr(s,t,"left"),right:qr(s,t,"right"),top:qr(n,t,"top"),bottom:qr(n,t,"bottom")}:t}var Qs;let dl=(Qs=class{static register(...t){ps.add(...t),yp()}static unregister(...t){ps.remove(...t),yp()}constructor(t,s){const n=this.config=new L2(s),i=Q_(t),o=vp(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 r=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||r2(i)),this.platform.updateConfig(n);const a=this.platform.acquireContext(i,r.aspectRatio),l=a&&a.canvas,c=l&&l.height,d=l&&l.width;if(this.id=UD(),this.ctx=a,this.canvas=l,this.width=d,this.height=c,this._options=r,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 E2,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=lI(h=>this.update(h),r.resizeDelay||0),this._dataChanges=[],ga[this.id]=this,!a||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Ms.listen(this,"complete",bp),Ms.listen(this,"progress",V2),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:s},width:n,height:i,_aspectRatio:o}=this;return jt(t)?s&&o?o:i?n/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}get registry(){return ps}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():jf(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Ff(this.canvas,this.ctx),this}stop(){return Ms.stop(this),this}resize(t,s){Ms.running(this)?this._resizeBeforeDraw={width:t,height:s}:this._resize(t,s)}_resize(t,s){const n=this.options,i=this.canvas,o=n.maintainAspectRatio&&this.aspectRatio,r=this.platform.getMaximumSize(i,t,s,o),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=r.width,this.height=r.height,this._aspectRatio=this.aspectRatio,jf(this,a,!0)&&(this.notifyPlugins("resize",{size:r}),Yt(n.onResize,[this,r],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const s=this.options.scales||{};Kt(s,(n,i)=>{n.id=i})}buildOrUpdateScales(){const t=this.options,s=t.scales,n=this.scales,i=Object.keys(n).reduce((r,a)=>(r[a]=!1,r),{});let o=[];s&&(o=o.concat(Object.keys(s).map(r=>{const a=s[r],l=Nc(r,a),c=l==="r",d=l==="x";return{options:a,dposition:c?"chartArea":d?"bottom":"left",dtype:c?"radialLinear":d?"category":"linear"}}))),Kt(o,r=>{const a=r.options,l=a.id,c=Nc(l,a),d=$t(a.type,r.dtype);(a.position===void 0||mp(a.position,c)!==mp(r.dposition))&&(a.position=r.dposition),i[l]=!0;let h=null;if(l in n&&n[l].type===d)h=n[l];else{const p=ps.getScale(d);h=new p({id:l,type:d,ctx:this.ctx,chart:this}),n[h.id]=h}h.init(a,t)}),Kt(i,(r,a)=>{r||delete n[a]}),Kt(n,r=>{Qe.configure(this,r,r.options),Qe.addBox(this,r)})}_updateMetasets(){const t=this._metasets,s=this.data.datasets.length,n=t.length;if(t.sort((i,o)=>i.index-o.index),n>s){for(let i=s;is.length&&delete this._stacks,t.forEach((n,i)=>{s.filter(o=>o===n._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const t=[],s=this.data.datasets;let n,i;for(this._removeUnreferencedMetasets(),n=0,i=s.length;n{this.getDatasetMeta(s).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const s=this.config;s.update();const n=this._options=s.createResolver(s.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!n.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 r=0;for(let c=0,d=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(_p("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){Kt(this.scales,t=>{Qe.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,s=new Set(Object.keys(this._listeners)),n=new Set(t.events);(!kf(s,n)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,s=this._getUniformDataChanges()||[];for(const{method:n,start:i,count:o}of s){const r=n==="_removeElements"?-o:o;j2(t,i,r)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const s=this.data.datasets.length,n=o=>new Set(t.filter(r=>r[0]===o).map((r,a)=>a+","+r.splice(1).join(","))),i=n(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;Qe.update(this,this.width,this.height,t);const s=this.chartArea,n=s.width<=0||s.height<=0;this._layers=[],Kt(this.boxes,i=>{n&&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 s=0,n=this.data.datasets.length;s=0;--s)this._drawDataset(t[s]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const s=this.ctx,n=t._clip,i=!n.disabled,o=W2(t,this.chartArea),r={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",r)!==!1&&(i&&al(s,{left:n.left===!1?0:o.left-n.left,right:n.right===!1?this.width:o.right+n.right,top:n.top===!1?0:o.top-n.top,bottom:n.bottom===!1?this.height:o.bottom+n.bottom}),t.controller.draw(),i&&ll(s),r.cancelable=!1,this.notifyPlugins("afterDatasetDraw",r))}isPointInArea(t){return Fs(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,s,n,i){const o=BO.modes[s];return typeof o=="function"?o(this,t,n,i):[]}getDatasetMeta(t){const s=this.data.datasets[t],n=this._metasets;let i=n.filter(o=>o&&o._dataset===s).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:s&&s.order||0,index:t,_dataset:s,_parsed:[],_sorted:!1},n.push(i)),i}getContext(){return this.$context||(this.$context=Cn(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const s=this.data.datasets[t];if(!s)return!1;const n=this.getDatasetMeta(t);return typeof n.hidden=="boolean"?!n.hidden:!s.hidden}setDatasetVisibility(t,s){const n=this.getDatasetMeta(t);n.hidden=!s}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,s,n){const i=n?"show":"hide",o=this.getDatasetMeta(t),r=o.controller._resolveAnimations(void 0,i);Go(s)?(o.data[s].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),r.update(o,{visible:n}),this.update(a=>a.datasetIndex===t?i:void 0))}hide(t,s){this._updateVisibility(t,s,!1)}show(t,s){this._updateVisibility(t,s,!0)}_destroyDatasetMeta(t){const s=this._metasets[t];s&&s.controller&&s.controller._destroy(),delete this._metasets[t]}_stop(){let t,s;for(this.stop(),Ms.remove(this),t=0,s=this.data.datasets.length;t{s.addEventListener(this,o,r),t[o]=r},i=(o,r,a)=>{o.offsetX=r,o.offsetY=a,this._eventHandler(o)};Kt(this.options.events,o=>n(o,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,s=this.platform,n=(l,c)=>{s.addEventListener(this,l,c),t[l]=c},i=(l,c)=>{t[l]&&(s.removeEventListener(this,l,c),delete t[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let r;const a=()=>{i("attach",a),this.attached=!0,this.resize(),n("resize",o),n("detach",r)};r=()=>{this.attached=!1,i("resize",o),this._stop(),this._resize(0,0),n("attach",a)},s.isAttached(this.canvas)?a():r()}unbindEvents(){Kt(this._listeners,(t,s)=>{this.platform.removeEventListener(this,s,t)}),this._listeners={},Kt(this._responsiveListeners,(t,s)=>{this.platform.removeEventListener(this,s,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,s,n){const i=n?"set":"remove";let o,r,a,l;for(s==="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[r],index:r}});!Pa(n,s)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,s))}notifyPlugins(t,s,n){return this._plugins.notify(this,t,s,n)}isPluginEnabled(t){return this._plugins._cache.filter(s=>s.plugin.id===t).length===1}_updateHoverStyles(t,s,n){const i=this.options.hover,o=(l,c)=>l.filter(d=>!c.some(h=>d.datasetIndex===h.datasetIndex&&d.index===h.index)),r=o(s,t),a=n?t:o(t,s);r.length&&this.updateHoverStyle(r,i.mode,!1),a.length&&i.mode&&this.updateHoverStyle(a,i.mode,!0)}_eventHandler(t,s){const n={event:t,replay:s,cancelable:!0,inChartArea:this.isPointInArea(t)},i=r=>(r.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",n,i)===!1)return;const o=this._handleEvent(t,s,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,i),(o||n.changed)&&this.render(),this}_handleEvent(t,s,n){const{_active:i=[],options:o}=this,r=s,a=this._getActiveElements(t,i,n,r),l=QD(t),c=H2(t,this._lastEvent,n,l);n&&(this._lastEvent=null,Yt(o.onHover,[t,a,this],this),l&&Yt(o.onClick,[t,a,this],this));const d=!Pa(a,i);return(d||s)&&(this._active=a,this._updateHoverStyles(a,i,s)),this._lastEvent=c,d}_getActiveElements(t,s,n,i){if(t.type==="mouseout")return[];if(!n)return s;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,i)}},ot(Qs,"defaults",ee),ot(Qs,"instances",ga),ot(Qs,"overrides",ii),ot(Qs,"registry",ps),ot(Qs,"version",F2),ot(Qs,"getChart",vp),Qs);function yp(){return Kt(dl.instances,e=>e._plugins.invalidate())}function z2(e,t,s){const{startAngle:n,pixelMargin:i,x:o,y:r,outerRadius:a,innerRadius:l}=t;let c=i/a;e.beginPath(),e.arc(o,r,a,n-c,s+c),l>i?(c=i/l,e.arc(o,r,l,s+c,n-c,!0)):e.arc(o,r,i,s+ne,n-ne),e.closePath(),e.clip()}function K2(e){return tu(e,["outerStart","outerEnd","innerStart","innerEnd"])}function U2(e,t,s,n){const i=K2(e.options.borderRadius),o=(s-t)/2,r=Math.min(o,n*t/2),a=l=>{const c=(s-Math.min(o,l))*n/2;return fe(l,0,Math.min(o,c))};return{outerStart:a(i.outerStart),outerEnd:a(i.outerEnd),innerStart:fe(i.innerStart,0,r),innerEnd:fe(i.innerEnd,0,r)}}function vi(e,t,s,n){return{x:s+e*Math.cos(t),y:n+e*Math.sin(t)}}function Oa(e,t,s,n,i,o){const{x:r,y:a,startAngle:l,pixelMargin:c,innerRadius:d}=t,h=Math.max(t.outerRadius+n+s-c,0),p=d>0?d+n+s+c:0;let g=0;const m=i-l;if(n){const H=d>0?d-n:0,R=h>0?h-n:0,z=(H+R)/2,Y=z!==0?m*z/(z+n):m;g=(m-Y)/2}const _=Math.max(.001,m*h-s/Qt)/h,v=(m-_)/2,w=l+v+g,S=i-v-g,{outerStart:$,outerEnd:T,innerStart:y,innerEnd:x}=U2(t,p,h,S-w),C=h-$,E=h-T,P=w+$/C,M=S-T/E,L=p+y,F=p+x,Q=w+y/L,G=S-x/F;if(e.beginPath(),o){const H=(P+M)/2;if(e.arc(r,a,h,P,H),e.arc(r,a,h,H,M),T>0){const at=vi(E,M,r,a);e.arc(at.x,at.y,T,M,S+ne)}const R=vi(F,S,r,a);if(e.lineTo(R.x,R.y),x>0){const at=vi(F,G,r,a);e.arc(at.x,at.y,x,S+ne,G+Math.PI)}const z=(S-x/p+(w+y/p))/2;if(e.arc(r,a,p,S-x/p,z,!0),e.arc(r,a,p,z,w+y/p,!0),y>0){const at=vi(L,Q,r,a);e.arc(at.x,at.y,y,Q+Math.PI,w-ne)}const Y=vi(C,w,r,a);if(e.lineTo(Y.x,Y.y),$>0){const at=vi(C,P,r,a);e.arc(at.x,at.y,$,w-ne,P)}}else{e.moveTo(r,a);const H=Math.cos(P)*h+r,R=Math.sin(P)*h+a;e.lineTo(H,R);const z=Math.cos(M)*h+r,Y=Math.sin(M)*h+a;e.lineTo(z,Y)}e.closePath()}function Y2(e,t,s,n,i){const{fullCircles:o,startAngle:r,circumference:a}=t;let l=t.endAngle;if(o){Oa(e,t,s,n,l,i);for(let c=0;c=Xt||Jo(r,l,c),v=Rs(a,d+g,h+g);return _&&v}getCenterPoint(s){const{x:n,y:i,startAngle:o,endAngle:r,innerRadius:a,outerRadius:l}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],s),{offset:c,spacing:d}=this.options,h=(o+r)/2,p=(a+l+d+c)/2;return{x:n+Math.cos(h)*p,y:i+Math.sin(h)*p}}tooltipPosition(s){return this.getCenterPoint(s)}draw(s){const{options:n,circumference:i}=this,o=(n.offset||0)/4,r=(n.spacing||0)/2,a=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=i>Xt?Math.floor(i/Xt):0,i===0||this.innerRadius<0||this.outerRadius<0)return;s.save();const l=(this.startAngle+this.endAngle)/2;s.translate(Math.cos(l)*o,Math.sin(l)*o);const c=1-Math.sin(Math.min(Qt,i||0)),d=o*c;s.fillStyle=n.backgroundColor,s.strokeStyle=n.borderColor,Y2(s,this,d,r,a),q2(s,this,d,r,a),s.restore()}}ot(wo,"id","arc"),ot(wo,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),ot(wo,"defaultRoutes",{backgroundColor:"backgroundColor"}),ot(wo,"descriptors",{_scriptable:!0,_indexable:s=>s!=="borderDash"});function Z_(e,t,s=t){e.lineCap=$t(s.borderCapStyle,t.borderCapStyle),e.setLineDash($t(s.borderDash,t.borderDash)),e.lineDashOffset=$t(s.borderDashOffset,t.borderDashOffset),e.lineJoin=$t(s.borderJoinStyle,t.borderJoinStyle),e.lineWidth=$t(s.borderWidth,t.borderWidth),e.strokeStyle=$t(s.borderColor,t.borderColor)}function G2(e,t,s){e.lineTo(s.x,s.y)}function J2(e){return e.stepped?yI:e.tension||e.cubicInterpolationMode==="monotone"?xI:G2}function tb(e,t,s={}){const n=e.length,{start:i=0,end:o=n-1}=s,{start:r,end:a}=t,l=Math.max(i,r),c=Math.min(o,a),d=ia&&o>a;return{count:n,start:l,loop:t.loop,ilen:c(r+(c?a-T:T))%o,$=()=>{_!==v&&(e.lineTo(d,v),e.lineTo(d,_),e.lineTo(d,w))};for(l&&(g=i[S(0)],e.moveTo(g.x,g.y)),p=0;p<=a;++p){if(g=i[S(p)],g.skip)continue;const T=g.x,y=g.y,x=T|0;x===m?(y<_?_=y:y>v&&(v=y),d=(h*d+T)/++h):($(),e.lineTo(T,y),m=x,h=0,_=v=y),w=y}$()}function Fc(e){const t=e.options,s=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!s?Q2:X2}function Z2(e){return e.stepped?ZI:e.tension||e.cubicInterpolationMode==="monotone"?tO:Kn}function tL(e,t,s,n){let i=t._path;i||(i=t._path=new Path2D,t.path(i,s,n)&&i.closePath()),Z_(e,t.options),e.stroke(i)}function eL(e,t,s,n){const{segments:i,options:o}=t,r=Fc(t);for(const a of i)Z_(e,o,a.style),e.beginPath(),r(e,t,a,{start:s,end:s+n-1})&&e.closePath(),e.stroke()}const sL=typeof Path2D=="function";function nL(e,t,s,n){sL&&!t.options.segment?tL(e,t,s,n):eL(e,t,s,n)}class dn extends Ks{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,s){const n=this.options;if((n.tension||n.cubicInterpolationMode==="monotone")&&!n.stepped&&!this._pointsUpdated){const i=n.spanGaps?this._loop:this._fullLoop;KI(this._points,n,t,i,s),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=rO(this,this.options.segment))}first(){const t=this.segments,s=this.points;return t.length&&s[t[0].start]}last(){const t=this.segments,s=this.points,n=t.length;return n&&s[t[n-1].end]}interpolate(t,s){const n=this.options,i=t[s],o=this.points,r=V_(this,{property:s,start:i,end:i});if(!r.length)return;const a=[],l=Z2(n);let c,d;for(c=0,d=r.length;ct!=="borderDash"&&t!=="fill"});function xp(e,t,s,n){const i=e.options,{[s]:o}=e.getProps([s],n);return Math.abs(t-o)=s)return e.slice(t,t+s);const r=[],a=(s-2)/(o-2);let l=0;const c=t+s-1;let d=t,h,p,g,m,_;for(r[l++]=e[d],h=0;hg&&(g=m,p=e[S],_=S);r[l++]=p,d=_}return r[l++]=e[c],r}function dL(e,t,s,n){let i=0,o=0,r,a,l,c,d,h,p,g,m,_;const v=[],w=t+s-1,S=e[t].x,T=e[w].x-S;for(r=t;r_&&(_=c,p=r),i=(o*i+a.x)/++o;else{const x=r-1;if(!jt(h)&&!jt(p)){const C=Math.min(h,p),E=Math.max(h,p);C!==g&&C!==x&&v.push({...e[C],x:i}),E!==g&&E!==x&&v.push({...e[E],x:i})}r>0&&x!==g&&v.push(e[x]),v.push(a),d=y,o=0,m=_=c,h=p=g=r}}return v}function sb(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function wp(e){e.data.datasets.forEach(t=>{sb(t)})}function uL(e,t){const s=t.length;let n=0,i;const{iScale:o}=e,{min:r,max:a,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(n=fe(Ns(t,o.axis,r).lo,0,s-1)),c?i=fe(Ns(t,o.axis,a).hi+1,n,s)-n:i=s-n,{start:n,count:i}}var hL={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,s)=>{if(!s.enabled){wp(e);return}const n=e.width;e.data.datasets.forEach((i,o)=>{const{_data:r,indexAxis:a}=i,l=e.getDatasetMeta(o),c=r||i.data;if(yo([a,e.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;const d=e.scales[l.xAxisID];if(d.type!=="linear"&&d.type!=="time"||e.options.parsing)return;let{start:h,count:p}=uL(l,c);const g=s.threshold||4*n;if(p<=g){sb(i);return}jt(r)&&(i._data=c,delete i.data,Object.defineProperty(i,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(_){this._data=_}}));let m;switch(s.algorithm){case"lttb":m=cL(c,h,p,n,s);break;case"min-max":m=dL(c,h,p,n);break;default:throw new Error(`Unsupported decimation algorithm '${s.algorithm}'`)}i._decimated=m})},destroy(e){wp(e)}};function fL(e,t,s){const n=e.segments,i=e.points,o=t.points,r=[];for(const a of n){let{start:l,end:c}=a;c=au(l,c,i);const d=Bc(s,i[l],i[c],a.loop);if(!t.segments){r.push({source:a,target:d,start:i[l],end:i[c]});continue}const h=V_(t,d);for(const p of h){const g=Bc(s,o[p.start],o[p.end],p.loop),m=B_(a,i,g);for(const _ of m)r.push({source:_,target:p,start:{[s]:Sp(d,g,"start",Math.max)},end:{[s]:Sp(d,g,"end",Math.min)}})}}return r}function Bc(e,t,s,n){if(n)return;let i=t[e],o=s[e];return e==="angle"&&(i=Oe(i),o=Oe(o)),{property:e,start:i,end:o}}function pL(e,t){const{x:s=null,y:n=null}=e||{},i=t.points,o=[];return t.segments.forEach(({start:r,end:a})=>{a=au(r,a,i);const l=i[r],c=i[a];n!==null?(o.push({x:l.x,y:n}),o.push({x:c.x,y:n})):s!==null&&(o.push({x:s,y:l.y}),o.push({x:s,y:c.y}))}),o}function au(e,t,s){for(;t>e;t--){const n=s[t];if(!isNaN(n.x)&&!isNaN(n.y))break}return t}function Sp(e,t,s,n){return e&&t?n(e[s],t[s]):e?e[s]:t?t[s]:0}function nb(e,t){let s=[],n=!1;return Jt(e)?(n=!0,s=e):s=pL(e,t),s.length?new dn({points:s,options:{tension:0},_loop:n,_fullLoop:n}):null}function Ep(e){return e&&e.fill!==!1}function gL(e,t,s){let i=e[t].fill;const o=[t];let r;if(!s)return i;for(;i!==!1&&o.indexOf(i)===-1;){if(!te(i))return i;if(r=e[i],!r)return!1;if(r.visible)return i;o.push(i),i=r.fill}return!1}function mL(e,t,s){const n=yL(e);if(Ft(n))return isNaN(n.value)?!1:n;let i=parseFloat(n);return te(i)&&Math.floor(i)===i?_L(n[0],t,i,s):["origin","start","end","stack","shape"].indexOf(n)>=0&&n}function _L(e,t,s,n){return(e==="-"||e==="+")&&(s=t+s),s===t||s<0||s>=n?!1:s}function bL(e,t){let s=null;return e==="start"?s=t.bottom:e==="end"?s=t.top:Ft(e)?s=t.getPixelForValue(e.value):t.getBasePixel&&(s=t.getBasePixel()),s}function vL(e,t,s){let n;return e==="start"?n=s:e==="end"?n=t.options.reverse?t.min:t.max:Ft(e)?n=e.value:n=t.getBaseValue(),n}function yL(e){const t=e.options,s=t.fill;let n=$t(s&&s.target,s);return n===void 0&&(n=!!t.backgroundColor),n===!1||n===null?!1:n===!0?"origin":n}function xL(e){const{scale:t,index:s,line:n}=e,i=[],o=n.segments,r=n.points,a=wL(t,s);a.push(nb({x:null,y:t.bottom},n));for(let l=0;l=0;--r){const a=i[r].$filler;a&&(a.line.updateControlPoints(o,a.axis),n&&a.fill&&nc(e.ctx,a,o))}},beforeDatasetsDraw(e,t,s){if(s.drawTime!=="beforeDatasetsDraw")return;const n=e.getSortedVisibleDatasetMetas();for(let i=n.length-1;i>=0;--i){const o=n[i].$filler;Ep(o)&&nc(e.ctx,o,e.chartArea)}},beforeDatasetDraw(e,t,s){const n=t.meta.$filler;!Ep(n)||s.drawTime!=="beforeDatasetDraw"||nc(e.ctx,n,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Pp=(e,t)=>{let{boxHeight:s=t,boxWidth:n=t}=e;return e.usePointStyle&&(s=Math.min(s,t),n=e.pointStyleWidth||Math.min(n,t)),{boxWidth:n,boxHeight:s,itemHeight:Math.max(t,s)}},IL=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class kp extends Ks{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,s,n){this.maxWidth=t,this.maxHeight=s,this._margins=n,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 s=Yt(t.generateLabels,[this.chart],this)||[];t.filter&&(s=s.filter(n=>t.filter(n,this.chart.data))),t.sort&&(s=s.sort((n,i)=>t.sort(n,i,this.chart.data))),this.options.reverse&&s.reverse(),this.legendItems=s}fit(){const{options:t,ctx:s}=this;if(!t.display){this.width=this.height=0;return}const n=t.labels,i=ce(n.font),o=i.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=Pp(n,o);let c,d;s.font=i.string,this.isHorizontal()?(c=this.maxWidth,d=this._fitRows(r,o,a,l)+10):(d=this.maxHeight,c=this._fitCols(r,i,a,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(d,t.maxHeight||this.maxHeight)}_fitRows(t,s,n,i){const{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],d=i+a;let h=t;o.textAlign="left",o.textBaseline="middle";let p=-1,g=-d;return this.legendItems.forEach((m,_)=>{const v=n+s/2+o.measureText(m.text).width;(_===0||c[c.length-1]+v+2*a>r)&&(h+=d,c[c.length-(_>0?0:1)]=0,g+=d,p++),l[_]={left:0,top:g,row:p,width:v,height:i},c[c.length-1]+=v+a}),h}_fitCols(t,s,n,i){const{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],d=r-t;let h=a,p=0,g=0,m=0,_=0;return this.legendItems.forEach((v,w)=>{const{itemWidth:S,itemHeight:$}=OL(n,s,o,v,i);w>0&&g+$+2*a>d&&(h+=p+a,c.push({width:p,height:g}),m+=p+a,_++,p=g=0),l[w]={left:m,top:g,col:_,width:S,height:$},p=Math.max(p,S),g+=$+a}),h+=p,c.push({width:p,height:g}),h}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:s,options:{align:n,labels:{padding:i},rtl:o}}=this,r=Ti(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=me(n,this.left+i,this.right-this.lineWidths[a]);for(const c of s)a!==c.row&&(a=c.row,l=me(n,this.left+i,this.right-this.lineWidths[a])),c.top+=this.top+t+i,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+i}else{let a=0,l=me(n,this.top+t+i,this.bottom-this.columnSizes[a].height);for(const c of s)c.col!==a&&(a=c.col,l=me(n,this.top+t+i,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+i,c.left=r.leftForLtr(r.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;al(t,this),this._draw(),ll(t)}}_draw(){const{options:t,columnSizes:s,lineWidths:n,ctx:i}=this,{align:o,labels:r}=t,a=ee.color,l=Ti(t.rtl,this.left,this.width),c=ce(r.font),{padding:d}=r,h=c.size,p=h/2;let g;this.drawTitle(),i.textAlign=l.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:m,boxHeight:_,itemHeight:v}=Pp(r,h),w=function(x,C,E){if(isNaN(m)||m<=0||isNaN(_)||_<0)return;i.save();const P=$t(E.lineWidth,1);if(i.fillStyle=$t(E.fillStyle,a),i.lineCap=$t(E.lineCap,"butt"),i.lineDashOffset=$t(E.lineDashOffset,0),i.lineJoin=$t(E.lineJoin,"miter"),i.lineWidth=P,i.strokeStyle=$t(E.strokeStyle,a),i.setLineDash($t(E.lineDash,[])),r.usePointStyle){const M={radius:_*Math.SQRT2/2,pointStyle:E.pointStyle,rotation:E.rotation,borderWidth:P},L=l.xPlus(x,m/2),F=C+p;P_(i,M,L,F,r.pointStyleWidth&&m)}else{const M=C+Math.max((h-_)/2,0),L=l.leftForLtr(x,m),F=Zn(E.borderRadius);i.beginPath(),Object.values(F).some(Q=>Q!==0)?Xo(i,{x:L,y:M,w:m,h:_,radius:F}):i.rect(L,M,m,_),i.fill(),P!==0&&i.stroke()}i.restore()},S=function(x,C,E){oi(i,E.text,x,C+v/2,c,{strikethrough:E.hidden,textAlign:l.textAlign(E.textAlign)})},$=this.isHorizontal(),T=this._computeTitleHeight();$?g={x:me(o,this.left+d,this.right-n[0]),y:this.top+d+T,line:0}:g={x:this.left+d,y:me(o,this.top+T+d,this.bottom-s[0].height),line:0},R_(this.ctx,t.textDirection);const y=v+d;this.legendItems.forEach((x,C)=>{i.strokeStyle=x.fontColor,i.fillStyle=x.fontColor;const E=i.measureText(x.text).width,P=l.textAlign(x.textAlign||(x.textAlign=r.textAlign)),M=m+p+E;let L=g.x,F=g.y;l.setWidth(this.width),$?C>0&&L+M+d>this.right&&(F=g.y+=y,g.line++,L=g.x=me(o,this.left+d,this.right-n[g.line])):C>0&&F+y>this.bottom&&(L=g.x=L+s[g.line].width+d,g.line++,F=g.y=me(o,this.top+T+d,this.bottom-s[g.line].height));const Q=l.x(L);if(w(Q,F,x),L=cI(P,L+m+p,$?L+M:this.right,t.rtl),S(l.x(L),F,x),$)g.x+=M+d;else if(typeof x.text!="string"){const G=c.lineHeight;g.y+=ob(x,G)+d}else g.y+=y}),N_(this.ctx,t.textDirection)}drawTitle(){const t=this.options,s=t.title,n=ce(s.font),i=be(s.padding);if(!s.display)return;const o=Ti(t.rtl,this.left,this.width),r=this.ctx,a=s.position,l=n.size/2,c=i.top+l;let d,h=this.left,p=this.width;if(this.isHorizontal())p=Math.max(...this.lineWidths),d=this.top+c,h=me(t.align,h,this.right-p);else{const m=this.columnSizes.reduce((_,v)=>Math.max(_,v.height),0);d=c+me(t.align,this.top,this.bottom-m-t.labels.padding-this._computeTitleHeight())}const g=me(a,h,h+p);r.textAlign=o.textAlign(Qd(a)),r.textBaseline="middle",r.strokeStyle=s.color,r.fillStyle=s.color,r.font=n.string,oi(r,s.text,g,d,n)}_computeTitleHeight(){const t=this.options.title,s=ce(t.font),n=be(t.padding);return t.display?s.lineHeight+n.height:0}_getLegendItemAt(t,s){let n,i,o;if(Rs(t,this.left,this.right)&&Rs(s,this.top,this.bottom)){for(o=this.legendHitBoxes,n=0;no.length>r.length?o:r)),t+s.size/2+n.measureText(i).width}function RL(e,t,s){let n=e;return typeof t.text!="string"&&(n=ob(t,s)),n}function ob(e,t){const s=e.text?e.text.length:0;return t*s}function NL(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var FL={id:"legend",_element:kp,start(e,t,s){const n=e.legend=new kp({ctx:e.ctx,options:s,chart:e});Qe.configure(e,n,s),Qe.addBox(e,n)},stop(e){Qe.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,s){const n=e.legend;Qe.configure(e,n,s),n.options=s},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,s){const n=t.datasetIndex,i=s.chart;i.isDatasetVisible(n)?(i.hide(n),t.hidden=!0):(i.show(n),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:s,pointStyle:n,textAlign:i,color:o,useBorderRadius:r,borderRadius:a}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(s?0:void 0),d=be(c.borderWidth);return{text:t[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(d.width+d.height)/4,strokeStyle:c.borderColor,pointStyle:n||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:r&&(a||c.borderRadius),datasetIndex:l.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 rb extends Ks{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,s){const n=this.options;if(this.left=0,this.top=0,!n.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=s;const i=Jt(n.text)?n.text.length:1;this._padding=be(n.padding);const o=i*ce(n.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:s,left:n,bottom:i,right:o,options:r}=this,a=r.align;let l=0,c,d,h;return this.isHorizontal()?(d=me(a,n,o),h=s+t,c=o-n):(r.position==="left"?(d=n+t,h=me(a,i,s),l=Qt*-.5):(d=o-t,h=me(a,s,i),l=Qt*.5),c=i-s),{titleX:d,titleY:h,maxWidth:c,rotation:l}}draw(){const t=this.ctx,s=this.options;if(!s.display)return;const n=ce(s.font),o=n.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);oi(t,s.text,0,0,n,{color:s.color,maxWidth:l,rotation:c,textAlign:Qd(s.align),textBaseline:"middle",translation:[r,a]})}}function BL(e,t){const s=new rb({ctx:e.ctx,options:t,chart:e});Qe.configure(e,s,t),Qe.addBox(e,s),e.titleBlock=s}var VL={id:"title",_element:rb,start(e,t,s){BL(e,s)},stop(e){const t=e.titleBlock;Qe.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,s){const n=e.titleBlock;Qe.configure(e,n,s),n.options=s},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 So={average(e){if(!e.length)return!1;let t,s,n=0,i=0,o=0;for(t=0,s=e.length;tr({chart:t,initial:n.initial,numSteps:a,currentStep:Math.min(s-n.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=$0.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((s,i)=>{if(!s.running||!s.items.length)return;const o=s.items;let a=o.length-1,r=!1,l;for(;a>=0;--a)l=o[a],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(t),r=!0):(o[a]=o[o.length-1],o.pop());r&&(i.draw(),this._notify(i,s,t,"progress")),o.length||(s.running=!1,this._notify(i,s,t,"complete"),s.initial=!1),n+=o.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let s=n.get(t);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,s)),s}listen(t,n,s){this._getAnims(t).listeners[n].push(s)}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((s,i)=>Math.max(s,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 s=n.items;let i=s.length-1;for(;i>=0;--i)s[i].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Vs=new NB;const o_="transparent",FB={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const s=Gg(e||o_),i=s.valid&&Gg(t||o_);return i&&i.valid?i.mix(s,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class BB{constructor(t,n,s,i){const o=n[s];i=ar([t.to,i,o,t.from]);const a=ar([t.from,o,i]);this._active=!0,this._fn=t.fn||FB[t.type||typeof a],this._easing=Ar[t.easing]||Ar.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=s,this._from=a,this._to=i,this._promises=void 0}active(){return this._active}update(t,n,s){if(this._active){this._notify(!1);const i=this._target[this._prop],o=s-this._start,a=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(a,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=ar([t.to,n,i,t.from]),this._from=ar([t.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,s=this._duration,i=this._prop,o=this._from,a=this._loop,r=this._to;let l;if(this._active=o!==r&&(a||n1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[i]=this._fn(o,r,l)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,s)=>{t.push({res:n,rej:s})})}_notify(t){const n=t?"res":"rej",s=this._promises||[];for(let i=0;i{const o=t[i];if(!nt(o))return;const a={};for(const r of n)a[r]=o[r];(vt(o.properties)&&o.properties||[i]).forEach(r=>{(r===i||!s.has(r))&&s.set(r,a)})})}_animateOptions(t,n){const s=n.options,i=HB(t,s);if(!i)return[];const o=this._createAnimations(i,s);return s.$shared&&VB(t.options.$animations,s).then(()=>{t.options=s},()=>{}),o}_createAnimations(t,n){const s=this._properties,i=[],o=t.$animations||(t.$animations={}),a=Object.keys(n),r=Date.now();let l;for(l=a.length-1;l>=0;--l){const c=a[l];if(c.charAt(0)==="$")continue;if(c==="options"){i.push(...this._animateOptions(t,n));continue}const u=n[c];let d=o[c];const f=s.get(c);if(d)if(f&&d.active()){d.update(f,u,r);continue}else d.cancel();if(!f||!f.duration){t[c]=u;continue}o[c]=d=new BB(f,t,c,u),i.push(d)}return i}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const s=this._createAnimations(t,n);if(s.length)return Vs.add(this._chart,s),!0}}function VB(e,t){const n=[],s=Object.keys(t);for(let i=0;i0||!n&&o<0)return i.index}return null}function u_(e,t){const{chart:n,_cachedMeta:s}=e,i=n._stacks||(n._stacks={}),{iScale:o,vScale:a,index:r}=s,l=o.axis,c=a.axis,u=YB(o,a,s),d=t.length;let f;for(let p=0;pn[s].axis===t).shift()}function qB(e,t){return Yi(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function GB(e,t,n){return Yi(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function Qa(e,t){const n=e.controller.index,s=e.vScale&&e.vScale.axis;if(s){t=t||e._parsed;for(const i of t){const o=i._stacks;if(!o||o[s]===void 0||o[s][n]===void 0)return;delete o[s][n],o[s]._visualValues!==void 0&&o[s]._visualValues[n]!==void 0&&delete o[s]._visualValues[n]}}}const gd=e=>e==="reset"||e==="none",d_=(e,t)=>t?e:Object.assign({},e),JB=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:Y0(n,!0),values:null};class us{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.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=l_(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Qa(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,s=this.getDataset(),i=(d,f,p,g)=>d==="x"?f:d==="r"?g:p,o=n.xAxisID=Ge(s.xAxisID,md(t,"x")),a=n.yAxisID=Ge(s.yAxisID,md(t,"y")),r=n.rAxisID=Ge(s.rAxisID,md(t,"r")),l=n.indexAxis,c=n.iAxisID=i(l,o,a,r),u=n.vAxisID=i(l,a,o,r);n.xScale=this.getScaleForId(o),n.yScale=this.getScaleForId(a),n.rScale=this.getScaleForId(r),n.iScale=this.getScaleForId(c),n.vScale=this.getScaleForId(u)}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&&Ug(this._data,this),t._stacked&&Qa(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),s=this._data;if(nt(n))this._data=zB(n);else if(s!==n){if(s){Ug(s,this);const i=this._cachedMeta;Qa(i),i._parsed=[]}n&&Object.isExtensible(n)&&RF(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,s=this.getDataset();let i=!1;this._dataCheck();const o=n._stacked;n._stacked=l_(n.vScale,n),n.stack!==s.stack&&(i=!0,Qa(n),n.stack=s.stack),this._resyncElements(t),(i||o!==n._stacked)&&u_(this,n._parsed)}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),s=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:s,_data:i}=this,{iScale:o,_stacked:a}=s,r=o.axis;let l=t===0&&n===i.length?!0:s._sorted,c=t>0&&s._parsed[t-1],u,d,f;if(this._parsing===!1)s._parsed=i,s._sorted=!0,f=i;else{vt(i[t])?f=this.parseArrayData(s,i,t,n):nt(i[t])?f=this.parseObjectData(s,i,t,n):f=this.parsePrimitiveData(s,i,t,n);const p=()=>d[r]===null||c&&d[r]_||d<_}for(f=0;f=0;--f)if(!g()){this.updateRangeFromParsed(c,t,p,l);break}}return c}getAllParsedValues(t){const n=this._cachedMeta._parsed,s=[];let i,o,a;for(i=0,o=n.length;i=0&&tthis.getContext(s,i,n),_=c.resolveNamedOptions(f,p,g,d);return _.$shared&&(_.$shared=l,o[a]=Object.freeze(d_(_,l))),_}_resolveAnimations(t,n,s){const i=this.chart,o=this._cachedDataOpts,a=`animation-${n}`,r=o[a];if(r)return r;let l;if(i.options.animation!==!1){const u=this.chart.config,d=u.datasetAnimationScopeKeys(this._type,n),f=u.getOptionScopes(this.getDataset(),d);l=u.createResolver(f,this.getContext(t,s,n))}const c=new z0(i,l&&l.animations);return l&&l._cacheable&&(o[a]=Object.freeze(c)),c}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||gd(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const s=this.resolveDataElementOptions(t,n),i=this._sharedOptions,o=this.getSharedOptions(s),a=this.includeOptions(n,o)||o!==i;return this.updateSharedOptions(o,n,s),{sharedOptions:o,includeOptions:a}}updateElement(t,n,s,i){gd(i)?Object.assign(t,s):this._resolveAnimations(n,i).update(t,s)}updateSharedOptions(t,n,s){t&&!gd(n)&&this._resolveAnimations(void 0,n).update(t,s)}_setStyle(t,n,s,i){t.active=i;const o=this.getStyle(n,i);this._resolveAnimations(n,s,i).update(t,{options:!i&&this.getSharedOptions(o)||o})}removeHoverStyle(t,n,s){this._setStyle(t,s,"active",!1)}setHoverStyle(t,n,s){this._setStyle(t,s,"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,s=this._cachedMeta.data;for(const[r,l,c]of this._syncList)this[r](l,c);this._syncList=[];const i=s.length,o=n.length,a=Math.min(o,i);a&&this.parse(0,a),o>i?this._insertElements(i,o-i,t):o{for(c.length+=n,r=c.length-1;r>=a;r--)c[r]=c[r-n]};for(l(o),r=t;ri-o))}return e._cache.$bar}function QB(e){const t=e.iScale,n=XB(t,e.type);let s=t._length,i,o,a,r;const l=()=>{a===32767||a===-32768||(Yr(r)&&(s=Math.min(s,Math.abs(a-r)||s)),r=a)};for(i=0,o=n.length;i0?i[e-1]:null,r=eMath.abs(r)&&(l=r,c=a),t[n.axis]=c,t._custom={barStart:l,barEnd:c,start:i,end:o,min:a,max:r}}function U0(e,t,n,s){return vt(e)?t4(e,t,n,s):t[n.axis]=n.parse(e,s),t}function h_(e,t,n,s){const i=e.iScale,o=e.vScale,a=i.getLabels(),r=i===o,l=[];let c,u,d,f;for(c=n,u=n+s;c=n?1:-1)}function s4(e){let t,n,s,i,o;return e.horizontal?(t=e.base>e.x,n="left",s="right"):(t=e.basel.controller.options.grouped),o=s.options.stacked,a=[],r=l=>{const c=l.controller.getParsed(n),u=c&&c[l.vScale.axis];if(ot(u)||isNaN(u))return!0};for(const l of i)if(!(n!==void 0&&r(l))&&((o===!1||a.indexOf(l.stack)===-1||o===void 0&&l.stack===void 0)&&a.push(l.stack),l.index===t))break;return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,s){const i=this._getStacks(t,s),o=n!==void 0?i.indexOf(n):-1;return o===-1?i.length-1:o}_getRuler(){const t=this.options,n=this._cachedMeta,s=n.iScale,i=[];let o,a;for(o=0,a=n.data.length;o=0;--s)n=Math.max(n,t[s].size(this.resolveDataElementOptions(s))/2);return n>0&&n}getLabelAndValue(t){const n=this._cachedMeta,s=this.chart.data.labels||[],{xScale:i,yScale:o}=n,a=this.getParsed(t),r=i.getLabelForValue(a.x),l=o.getLabelForValue(a.y),c=a._custom;return{label:s[t]||"",value:"("+r+", "+l+(c?", "+c:"")+")"}}update(t){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,t)}updateElements(t,n,s,i){const o=i==="reset",{iScale:a,vScale:r}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(n,i),u=a.axis,d=r.axis;for(let f=n;fUr($,r,l,!0)?1:Math.max(M,M*n,k,k*n),g=($,M,k)=>Ur($,r,l,!0)?-1:Math.min(M,M*n,k,k*n),_=p(0,c,d),v=p(Rt,u,f),w=g(wt,c,d),A=g(wt+Rt,u,f);s=(_-w)/2,i=(v-A)/2,o=-(_+w)/2,a=-(v+A)/2}return{ratioX:s,ratioY:i,offsetX:o,offsetY:a}}class sa extends us{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 s=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=s;else{let o=l=>+s[l];if(nt(s[t])){const{key:l="value"}=this._parsing;o=c=>+Li(s[c],l)}let a,r;for(a=t,r=t+n;a0&&!isNaN(t)?yt*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,s=this.chart,i=s.data.labels||[],o=rl(n._parsed[t],s.options.locale);return{label:i[t]||"",value:o}}getMaxBorderWidth(t){let n=0;const s=this.chart;let i,o,a,r,l;if(!t){for(i=0,o=s.data.datasets.length;it!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),re(sa,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:s,color:i}}=t.legend.options;return n.labels.map((o,a)=>{const l=t.getDatasetMeta(0).controller.getStyle(a);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:s,hidden:!t.getDataVisibility(a),index:a}})}return[]}},onClick(t,n,s){s.chart.toggleDataVisibility(n.index),s.chart.update()}}}});class Cr extends us{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:s,data:i=[],_dataset:o}=n,a=this.chart._animationsDisabled;let{start:r,count:l}=C0(n,i,a);this._drawStart=r,this._drawCount=l,P0(n)&&(r=0,l=i.length),s._chart=this.chart,s._datasetIndex=this.index,s._decimated=!!o._decimated,s.points=i;const c=this.resolveDatasetElementOptions(t);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(s,void 0,{animated:!a,options:c},t),this.updateElements(i,r,l,t)}updateElements(t,n,s,i){const o=i==="reset",{iScale:a,vScale:r,_stacked:l,_dataset:c}=this._cachedMeta,{sharedOptions:u,includeOptions:d}=this._getSharedOptions(n,i),f=a.axis,p=r.axis,{spanGaps:g,segment:_}=this.options,v=Ea(g)?g:Number.POSITIVE_INFINITY,w=this.chart._animationsDisabled||o||i==="none",A=n+s,$=t.length;let M=n>0&&this.getParsed(n-1);for(let k=0;k<$;++k){const y=t[k],x=w?y:{};if(k=A){x.skip=!0;continue}const E=this.getParsed(k),P=ot(E[p]),C=x[f]=a.getPixelForValue(E[f],k),F=x[p]=o||P?r.getBasePixel():r.getPixelForValue(l?this.applyStack(r,E,l):E[p],k);x.skip=isNaN(C)||isNaN(F)||P,x.stop=k>0&&Math.abs(E[f]-M[f])>v,_&&(x.parsed=E,x.raw=c.data[k]),d&&(x.options=u||this.resolveDataElementOptions(k,y.active?"active":i)),w||this.updateElement(y,k,x,i),M=E}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,s=n.options&&n.options.borderWidth||0,i=t.data||[];if(!i.length)return s;const o=i[0].size(this.resolveDataElementOptions(0)),a=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(s,o,a)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}re(Cr,"id","line"),re(Cr,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),re(Cr,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class dc extends us{constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,s=this.chart,i=s.data.labels||[],o=rl(n._parsed[t].r,s.options.locale);return{label:i[t]||"",value:o}}parseObjectData(t,n,s,i){return N0.bind(this)(t,n,s,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((s,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,s=t.options,i=Math.min(n.right-n.left,n.bottom-n.top),o=Math.max(i/2,0),a=Math.max(s.cutoutPercentage?o/100*s.cutoutPercentage:1,0),r=(o-a)/t.getVisibleDatasetCount();this.outerRadius=o-r*this.index,this.innerRadius=this.outerRadius-r}updateElements(t,n,s,i){const o=i==="reset",a=this.chart,l=a.options.animation,c=this._cachedMeta.rScale,u=c.xCenter,d=c.yCenter,f=c.getIndexAngle(0)-.5*wt;let p=f,g;const _=360/this.countVisibleElements();for(g=0;g{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&n++}),n}_computeAngle(t,n,s){return this.chart.getDataVisibility(t)?rs(this.resolveDataElementOptions(t,n).angle||s):0}}re(dc,"id","polarArea"),re(dc,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),re(dc,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const n=t.data;if(n.labels.length&&n.datasets.length){const{labels:{pointStyle:s,color:i}}=t.legend.options;return n.labels.map((o,a)=>{const l=t.getDatasetMeta(0).controller.getStyle(a);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:i,lineWidth:l.borderWidth,pointStyle:s,hidden:!t.getDataVisibility(a),index:a}})}return[]}},onClick(t,n,s){s.chart.toggleDataVisibility(n.index),s.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});class lh extends sa{}re(lh,"id","pie"),re(lh,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class hc extends us{getLabelAndValue(t){const n=this._cachedMeta.vScale,s=this.getParsed(t);return{label:n.getLabels()[t],value:""+n.getLabelForValue(s[n.axis])}}parseObjectData(t,n,s,i){return N0.bind(this)(t,n,s,i)}update(t){const n=this._cachedMeta,s=n.dataset,i=n.data||[],o=n.iScale.getLabels();if(s.points=i,t!=="resize"){const a=this.resolveDatasetElementOptions(t);this.options.showLine||(a.borderWidth=0);const r={_loop:!0,_fullLoop:o.length===i.length,options:a};this.updateElement(s,void 0,r,t)}this.updateElements(i,0,i.length,t)}updateElements(t,n,s,i){const o=this._cachedMeta.rScale,a=i==="reset";for(let r=n;r0&&this.getParsed(n-1);for(let M=n;M0&&Math.abs(y[p]-$[p])>w,v&&(x.parsed=y,x.raw=c.data[M]),f&&(x.options=d||this.resolveDataElementOptions(M,k.active?"active":i)),A||this.updateElement(k,M,x,i),$=y}this.updateSharedOptions(d,i,u)}getMaxOverflow(){const t=this._cachedMeta,n=t.data||[];if(!this.options.showLine){let r=0;for(let l=n.length-1;l>=0;--l)r=Math.max(r,n[l].size(this.resolveDataElementOptions(l))/2);return r>0&&r}const s=t.dataset,i=s.options&&s.options.borderWidth||0;if(!n.length)return i;const o=n[0].size(this.resolveDataElementOptions(0)),a=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(i,o,a)/2}}re(fc,"id","scatter"),re(fc,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),re(fc,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});function ro(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Zf{constructor(t){re(this,"options");this.options=t||{}}static override(t){Object.assign(Zf.prototype,t)}init(){}formats(){return ro()}parse(){return ro()}format(){return ro()}add(){return ro()}diff(){return ro()}startOf(){return ro()}endOf(){return ro()}}var l4={_date:Zf};function c4(e,t,n,s){const{controller:i,data:o,_sorted:a}=e,r=i._cachedMeta.iScale;if(r&&t===r.axis&&t!=="r"&&a&&o.length){const l=r._reversePixels?OF:qs;if(s){if(i._sharedOptions){const c=o[0],u=typeof c.getRange=="function"&&c.getRange(t);if(u){const d=l(o,t,n-u),f=l(o,t,n+u);return{lo:d.lo,hi:f.hi}}}}else return l(o,t,n)}return{lo:0,hi:o.length-1}}function ll(e,t,n,s,i){const o=e.getSortedVisibleDatasetMetas(),a=n[t];for(let r=0,l=o.length;r{l[a](t[n],i)&&(o.push({element:l,datasetIndex:c,index:u}),r=r||l.inRange(t.x,t.y,i))}),s&&!r?[]:o}var f4={evaluateInteractionItems:ll,modes:{index(e,t,n,s){const i=ho(t,e),o=n.axis||"x",a=n.includeInvisible||!1,r=n.intersect?bd(e,i,o,s,a):vd(e,i,o,!1,s,a),l=[];return r.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{const u=r[0].index,d=c.data[u];d&&!d.skip&&l.push({element:d,datasetIndex:c.index,index:u})}),l):[]},dataset(e,t,n,s){const i=ho(t,e),o=n.axis||"xy",a=n.includeInvisible||!1;let r=n.intersect?bd(e,i,o,s,a):vd(e,i,o,!1,s,a);if(r.length>0){const l=r[0].datasetIndex,c=e.getDatasetMeta(l).data;r=[];for(let u=0;un.pos===t)}function g_(e,t){return e.filter(n=>K0.indexOf(n.pos)===-1&&n.box.axis===t)}function er(e,t){return e.sort((n,s)=>{const i=t?s:n,o=t?n:s;return i.weight===o.weight?i.index-o.index:i.weight-o.weight})}function p4(e){const t=[];let n,s,i,o,a,r;for(n=0,s=(e||[]).length;nc.box.fullSize),!0),s=er(Za(t,"left"),!0),i=er(Za(t,"right")),o=er(Za(t,"top"),!0),a=er(Za(t,"bottom")),r=g_(t,"x"),l=g_(t,"y");return{fullSize:n,leftAndTop:s.concat(o),rightAndBottom:i.concat(l).concat(a).concat(r),chartArea:Za(t,"chartArea"),vertical:s.concat(i).concat(l),horizontal:o.concat(a).concat(r)}}function __(e,t,n,s){return Math.max(e[n],t[n])+Math.max(e[s],t[s])}function q0(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 b4(e,t,n,s){const{pos:i,box:o}=n,a=e.maxPadding;if(!nt(i)){n.size&&(e[i]-=n.size);const d=s[n.stack]||{size:0,count:1};d.size=Math.max(d.size,n.horizontal?o.height:o.width),n.size=d.size/d.count,e[i]+=n.size}o.getPadding&&q0(a,o.getPadding());const r=Math.max(0,t.outerWidth-__(a,e,"left","right")),l=Math.max(0,t.outerHeight-__(a,e,"top","bottom")),c=r!==e.w,u=l!==e.h;return e.w=r,e.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function v4(e){const t=e.maxPadding;function n(s){const i=Math.max(t[s]-e[s],0);return e[s]+=i,i}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function y4(e,t){const n=t.maxPadding;function s(i){const o={left:0,top:0,right:0,bottom:0};return i.forEach(a=>{o[a]=Math.max(t[a],n[a])}),o}return s(e?["left","right"]:["top","bottom"])}function rr(e,t,n,s){const i=[];let o,a,r,l,c,u;for(o=0,a=e.length,c=0;o{typeof _.beforeLayout=="function"&&_.beforeLayout()});const u=l.reduce((_,v)=>v.box.options&&v.box.options.display===!1?_:_+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/u,hBoxMaxHeight:a/2}),f=Object.assign({},i);q0(f,dn(s));const p=Object.assign({maxPadding:f,w:o,h:a,x:i.left,y:i.top},i),g=g4(l.concat(c),d);rr(r.fullSize,p,d,g),rr(l,p,d,g),rr(c,p,d,g)&&rr(l,p,d,g),v4(p),b_(r.leftAndTop,p,d,g),p.x+=p.w,p.y+=p.h,b_(r.rightAndBottom,p,d,g),e.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},ut(r.chartArea,_=>{const v=_.box;Object.assign(v,e.chartArea),v.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}};class G0{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,s){}removeEventListener(t,n,s){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,s,i){return n=Math.max(0,n||t.width),s=s||t.height,{width:n,height:Math.max(0,i?Math.floor(n/i):s)}}isAttached(t){return!0}updateConfig(t){}}class w4 extends G0{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const pc="$chartjs",x4={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},v_=e=>e===null||e==="";function k4(e,t){const n=e.style,s=e.getAttribute("height"),i=e.getAttribute("width");if(e[pc]={initial:{height:s,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",v_(i)){const o=t_(e,"width");o!==void 0&&(e.width=o)}if(v_(s))if(e.style.height==="")e.height=e.width/(t||2);else{const o=t_(e,"height");o!==void 0&&(e.height=o)}return e}const J0=$B?{passive:!0}:!1;function S4(e,t,n){e.addEventListener(t,n,J0)}function A4(e,t,n){e.canvas.removeEventListener(t,n,J0)}function $4(e,t){const n=x4[e.type]||e.type,{x:s,y:i}=ho(e,t);return{type:n,chart:t,native:e,x:s!==void 0?s:null,y:i!==void 0?i:null}}function Lc(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function E4(e,t,n){const s=e.canvas,i=new MutationObserver(o=>{let a=!1;for(const r of o)a=a||Lc(r.addedNodes,s),a=a&&!Lc(r.removedNodes,s);a&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function C4(e,t,n){const s=e.canvas,i=new MutationObserver(o=>{let a=!1;for(const r of o)a=a||Lc(r.removedNodes,s),a=a&&!Lc(r.addedNodes,s);a&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const qr=new Map;let y_=0;function X0(){const e=window.devicePixelRatio;e!==y_&&(y_=e,qr.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function P4(e,t){qr.size||window.addEventListener("resize",X0),qr.set(e,t)}function T4(e){qr.delete(e),qr.size||window.removeEventListener("resize",X0)}function M4(e,t,n){const s=e.canvas,i=s&&Qf(s);if(!i)return;const o=E0((r,l)=>{const c=i.clientWidth;n(r,l),c{const l=r[0],c=l.contentRect.width,u=l.contentRect.height;c===0&&u===0||o(c,u)});return a.observe(i),P4(e,o),a}function yd(e,t,n){n&&n.disconnect(),t==="resize"&&T4(e)}function D4(e,t,n){const s=e.canvas,i=E0(o=>{e.ctx!==null&&n($4(o,e))},e);return S4(s,t,i),i}class O4 extends G0{acquireContext(t,n){const s=t&&t.getContext&&t.getContext("2d");return s&&s.canvas===t?(k4(t,n),s):null}releaseContext(t){const n=t.canvas;if(!n[pc])return!1;const s=n[pc].initial;["height","width"].forEach(o=>{const a=s[o];ot(a)?n.removeAttribute(o):n.setAttribute(o,a)});const i=s.style||{};return Object.keys(i).forEach(o=>{n.style[o]=i[o]}),n.width=n.width,delete n[pc],!0}addEventListener(t,n,s){this.removeEventListener(t,n);const i=t.$proxies||(t.$proxies={}),a={attach:E4,detach:C4,resize:M4}[n]||D4;i[n]=a(t,n,s)}removeEventListener(t,n){const s=t.$proxies||(t.$proxies={}),i=s[n];if(!i)return;({attach:yd,detach:yd,resize:yd}[n]||A4)(t,n,i),s[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,s,i){return AB(t,n,s,i)}isAttached(t){const n=Qf(t);return!!(n&&n.isConnected)}}function I4(e){return!Xf()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?w4:O4}var Zl;let si=(Zl=class{constructor(){re(this,"x");re(this,"y");re(this,"active",!1);re(this,"options");re(this,"$animations")}tooltipPosition(t){const{x:n,y:s}=this.getProps(["x","y"],t);return{x:n,y:s}}hasValue(){return Ea(this.x)&&Ea(this.y)}getProps(t,n){const s=this.$animations;if(!n||!s)return this;const i={};return t.forEach(o=>{i[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),i}},re(Zl,"defaults",{}),re(Zl,"defaultRoutes"),Zl);function R4(e,t){const n=e.options.ticks,s=L4(e),i=Math.min(n.maxTicksLimit||s,s),o=n.major.enabled?F4(t):[],a=o.length,r=o[0],l=o[a-1],c=[];if(a>i)return B4(t,c,o,a/i),c;const u=N4(o,t,i);if(a>0){let d,f;const p=a>1?Math.round((l-r)/(a-1)):null;for(zl(t,c,u,ot(p)?0:r-p,r),d=0,f=a-1;di)return l}return Math.max(i,1)}function F4(e){const t=[];let n,s;for(n=0,s=e.length;ne==="left"?"right":e==="right"?"left":e,w_=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n,x_=(e,t)=>Math.min(t||e,e);function k_(e,t){const n=[],s=e.length/t,i=e.length;let o=0;for(;oa+r)))return l}function W4(e,t){ut(e,n=>{const s=n.gc,i=s.length/2;let o;if(i>t){for(o=0;os?s:n,s=i&&n>s?n:s,{min:Pn(n,Pn(s,n)),max:Pn(s,Pn(n,s))}}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||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){pt(this.options.beforeUpdate,[this])}update(t,n,s){const{beginAtZero:i,grace:o,ticks:a}=this.options,r=a.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=sB(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=r=o||s<=1||!this.isHorizontal()){this.labelRotation=i;return}const u=this._getLabelSizes(),d=u.widest.width,f=u.highest.height,p=Qt(this.chart.width-d,0,this.maxWidth);r=t.offset?this.maxWidth/s:p/(s-1),d+6>r&&(r=p/(s-(t.offset?.5:1)),l=this.maxHeight-tr(t.grid)-n.padding-S_(t.title,this.chart.options.font),c=Math.sqrt(d*d+f*f),a=Wf(Math.min(Math.asin(Qt((u.highest.height+6)/r,-1,1)),Math.asin(Qt(l/c,-1,1))-Math.asin(Qt(f/c,-1,1)))),a=Math.max(i,Math.min(o,a))),this.labelRotation=a}afterCalculateLabelRotation(){pt(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){pt(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:s,title:i,grid:o}}=this,a=this._isVisible(),r=this.isHorizontal();if(a){const l=S_(i,n.options.font);if(r?(t.width=this.maxWidth,t.height=tr(o)+l):(t.height=this.maxHeight,t.width=tr(o)+l),s.display&&this.ticks.length){const{first:c,last:u,widest:d,highest:f}=this._getLabelSizes(),p=s.padding*2,g=rs(this.labelRotation),_=Math.cos(g),v=Math.sin(g);if(r){const w=s.mirror?0:v*d.width+_*f.height;t.height=Math.min(this.maxHeight,t.height+w+p)}else{const w=s.mirror?0:_*d.width+v*f.height;t.width=Math.min(this.maxWidth,t.width+w+p)}this._calculatePadding(c,u,v,_)}}this._handleMargins(),r?(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,s,i){const{ticks:{align:o,padding:a},position:r}=this.options,l=this.labelRotation!==0,c=r!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1);let f=0,p=0;l?c?(f=i*t.width,p=s*n.height):(f=s*t.height,p=i*n.width):o==="start"?p=n.width:o==="end"?f=t.width:o!=="inner"&&(f=t.width/2,p=n.width/2),this.paddingLeft=Math.max((f-u+a)*this.width/(this.width-u),0),this.paddingRight=Math.max((p-d+a)*this.width/(this.width-d),0)}else{let u=n.height/2,d=t.height/2;o==="start"?(u=0,d=t.height):o==="end"&&(u=n.height,d=0),this.paddingTop=u+a,this.paddingBottom=d+a}}_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,s;for(n=0,s=t.length;n({width:a[P]||0,height:r[P]||0});return{first:E(0),last:E(n-1),widest:E(y),highest:E(x),widths:a,heights:r}}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 DF(this._alignToPixels?ao(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&&tr*i?r/s:l/i:l*i0}_computeGridLineItems(t){const n=this.axis,s=this.chart,i=this.options,{grid:o,position:a,border:r}=i,l=o.offset,c=this.isHorizontal(),d=this.ticks.length+(l?1:0),f=tr(o),p=[],g=r.setContext(this.getContext()),_=g.display?g.width:0,v=_/2,w=function(O){return ao(s,O,_)};let A,$,M,k,y,x,E,P,C,F,G,ae;if(a==="top")A=w(this.bottom),x=this.bottom-f,P=A-v,F=w(t.top)+v,ae=t.bottom;else if(a==="bottom")A=w(this.top),F=t.top,ae=w(t.bottom)-v,x=A+v,P=this.top+f;else if(a==="left")A=w(this.right),y=this.right-f,E=A-v,C=w(t.left)+v,G=t.right;else if(a==="right")A=w(this.left),C=t.left,G=w(t.right)-v,y=A+v,E=this.left+f;else if(n==="x"){if(a==="center")A=w((t.top+t.bottom)/2+.5);else if(nt(a)){const O=Object.keys(a)[0],V=a[O];A=w(this.chart.scales[O].getPixelForValue(V))}F=t.top,ae=t.bottom,x=A+v,P=x+f}else if(n==="y"){if(a==="center")A=w((t.left+t.right)/2);else if(nt(a)){const O=Object.keys(a)[0],V=a[O];A=w(this.chart.scales[O].getPixelForValue(V))}y=A-v,E=y-f,C=t.left,G=t.right}const Y=Ge(i.ticks.maxTicksLimit,d),L=Math.max(1,Math.ceil(d/Y));for($=0;$0&&(oe-=I/2);break}ye={left:oe,top:ee,width:I+U.width,height:X+U.height,color:L.backdropColor}}v.push({label:M,font:P,textOffset:G,options:{rotation:_,color:V,strokeColor:Q,strokeWidth:Z,textAlign:le,textBaseline:ae,translation:[k,y],backdrop:ye}})}return v}_getXAxisLabelAlignment(){const{position:t,ticks:n}=this.options;if(-rs(this.labelRotation))return t==="top"?"left":"right";let i="center";return n.align==="start"?i="left":n.align==="end"?i="right":n.align==="inner"&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:n,ticks:{crossAlign:s,mirror:i,padding:o}}=this.options,a=this._getLabelSizes(),r=t+o,l=a.widest.width;let c,u;return n==="left"?i?(u=this.right+o,s==="near"?c="left":s==="center"?(c="center",u+=l/2):(c="right",u+=l)):(u=this.right-r,s==="near"?c="right":s==="center"?(c="center",u-=l/2):(c="left",u=this.left)):n==="right"?i?(u=this.left+o,s==="near"?c="right":s==="center"?(c="center",u-=l/2):(c="left",u-=l)):(u=this.left+r,s==="near"?c="left":s==="center"?(c="center",u+=l/2):(c="right",u=this.right)):c="right",{textAlign:c,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:t.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:t.width}}drawBackground(){const{ctx:t,options:{backgroundColor:n},left:s,top:i,width:o,height:a}=this;n&&(t.save(),t.fillStyle=n,t.fillRect(s,i,o,a),t.restore())}getLineWidthForValue(t){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const i=this.ticks.findIndex(o=>o.value===t);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const n=this.options.grid,s=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,a;const r=(l,c,u)=>{!u.width||!u.color||(s.save(),s.lineWidth=u.width,s.strokeStyle=u.color,s.setLineDash(u.borderDash||[]),s.lineDashOffset=u.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(n.display)for(o=0,a=i.length;o{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",i=[];let o,a;for(o=0,a=n.length;o{const s=n.split("."),i=s.pop(),o=[e].concat(s).join("."),a=t[n].split("."),r=a.pop(),l=a.join(".");Et.route(o,i,l,r)})}function J4(e){return"id"in e&&"defaults"in e}class X4{constructor(){this.controllers=new Yl(us,"datasets",!0),this.elements=new Yl(si,"elements"),this.plugins=new Yl(Object,"plugins"),this.scales=new Yl(Lo,"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,s){[...n].forEach(i=>{const o=s||this._getRegistryForType(i);s||o.isForType(i)||o===this.plugins&&i.id?this._exec(t,o,i):ut(i,a=>{const r=s||this._getRegistryForType(a);this._exec(t,r,a)})})}_exec(t,n,s){const i=jf(t);pt(s["before"+i],[],s),n[t](s),pt(s["after"+i],[],s)}_getRegistryForType(t){for(let n=0;no.filter(r=>!a.some(l=>r.plugin.id===l.plugin.id));this._notify(i(n,s),t,"stop"),this._notify(i(s,n),t,"start")}}function Z4(e){const t={},n=[],s=Object.keys(vs.plugins.items);for(let o=0;o1&&A_(e[0].toLowerCase());if(s)return s}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function $_(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function aV(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(s=>s.xAxisID===e||s.yAxisID===e);if(n.length)return $_(e,"x",n[0])||$_(e,"y",n[0])}return{}}function rV(e,t){const n=Po[e.type]||{scales:{}},s=t.scales||{},i=ch(e.type,t),o=Object.create(null);return Object.keys(s).forEach(a=>{const r=s[a];if(!nt(r))return console.error(`Invalid scale configuration for scale: ${a}`);if(r._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const l=uh(a,r,aV(a,e),Et.scales[r.type]),c=iV(l,i),u=n.scales||{};o[a]=kr(Object.create(null),[{axis:l},r,u[l],u[c]])}),e.data.datasets.forEach(a=>{const r=a.type||e.type,l=a.indexAxis||ch(r,t),u=(Po[r]||{}).scales||{};Object.keys(u).forEach(d=>{const f=sV(d,l),p=a[f+"AxisID"]||f;o[p]=o[p]||Object.create(null),kr(o[p],[{axis:f},s[p],u[d]])})}),Object.keys(o).forEach(a=>{const r=o[a];kr(r,[Et.scales[r.type],Et.scale])}),o}function Q0(e){const t=e.options||(e.options={});t.plugins=Ge(t.plugins,{}),t.scales=rV(e,t)}function Z0(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function lV(e){return e=e||{},e.data=Z0(e.data),Q0(e),e}const E_=new Map,e1=new Set;function Ul(e,t){let n=E_.get(e);return n||(n=t(),E_.set(e,n),e1.add(n)),n}const nr=(e,t,n)=>{const s=Li(t,n);s!==void 0&&e.add(s)};let cV=class{constructor(t){this._config=lV(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=Z0(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(),Q0(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Ul(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return Ul(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return Ul(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,s=this.type;return Ul(`${s}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const s=this._scopeCache;let i=s.get(t);return(!i||n)&&(i=new Map,s.set(t,i)),i}getOptionScopes(t,n,s){const{options:i,type:o}=this,a=this._cachedScopes(t,s),r=a.get(n);if(r)return r;const l=new Set;n.forEach(u=>{t&&(l.add(t),u.forEach(d=>nr(l,t,d))),u.forEach(d=>nr(l,i,d)),u.forEach(d=>nr(l,Po[o]||{},d)),u.forEach(d=>nr(l,Et,d)),u.forEach(d=>nr(l,ah,d))});const c=Array.from(l);return c.length===0&&c.push(Object.create(null)),e1.has(n)&&a.set(n,c),c}chartOptionScopes(){const{options:t,type:n}=this;return[t,Po[n]||{},Et.datasets[n]||{},{type:n},Et,ah]}resolveNamedOptions(t,n,s,i=[""]){const o={$shared:!0},{resolver:a,subPrefixes:r}=C_(this._resolverCache,t,i);let l=a;if(dV(a,n)){o.$shared=!1,s=Ni(s)?s():s;const c=this.createResolver(t,s,r);l=Ca(a,s,c)}for(const c of n)o[c]=l[c];return o}createResolver(t,n,s=[""],i){const{resolver:o}=C_(this._resolverCache,t,s);return nt(n)?Ca(o,n,void 0,i):o}};function C_(e,t,n){let s=e.get(t);s||(s=new Map,e.set(t,s));const i=n.join();let o=s.get(i);return o||(o={resolver:qf(t,n),subPrefixes:n.filter(r=>!r.toLowerCase().includes("hover"))},s.set(i,o)),o}const uV=e=>nt(e)&&Object.getOwnPropertyNames(e).some(t=>Ni(e[t]));function dV(e,t){const{isScriptable:n,isIndexable:s}=O0(e);for(const i of t){const o=n(i),a=s(i),r=(a||o)&&e[i];if(o&&(Ni(r)||uV(r))||a&&vt(r))return!0}return!1}var hV="4.4.1";const fV=["top","bottom","left","right","chartArea"];function P_(e,t){return e==="top"||e==="bottom"||fV.indexOf(e)===-1&&t==="x"}function T_(e,t){return function(n,s){return n[e]===s[e]?n[t]-s[t]:n[e]-s[e]}}function M_(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),pt(n&&n.onComplete,[e],t)}function pV(e){const t=e.chart,n=t.options.animation;pt(n&&n.onProgress,[e],t)}function t1(e){return Xf()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const mc={},D_=e=>{const t=t1(e);return Object.values(mc).filter(n=>n.canvas===t).pop()};function mV(e,t,n){const s=Object.keys(e);for(const i of s){const o=+i;if(o>=t){const a=e[i];delete e[i],(n>0||o>t)&&(e[o+n]=a)}}}function gV(e,t,n,s){return!n||e.type==="mouseout"?null:s?t:e}function Kl(e,t,n){return e.options.clip?e[n]:t[n]}function _V(e,t){const{xScale:n,yScale:s}=e;return n&&s?{left:Kl(n,t,"left"),right:Kl(n,t,"right"),top:Kl(s,t,"top"),bottom:Kl(s,t,"bottom")}:t}var hi;let bu=(hi=class{static register(...t){vs.add(...t),O_()}static unregister(...t){vs.remove(...t),O_()}constructor(t,n){const s=this.config=new cV(n),i=t1(t),o=D_(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 a=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||I4(i)),this.platform.updateConfig(s);const r=this.platform.acquireContext(i,a.aspectRatio),l=r&&r.canvas,c=l&&l.height,u=l&&l.width;if(this.id=yF(),this.ctx=r,this.canvas=l,this.width=u,this.height=c,this._options=a,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 Q4,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=LF(d=>this.update(d),a.resizeDelay||0),this._dataChanges=[],mc[this.id]=this,!r||!l){console.error("Failed to create chart: can't acquire context from the given item");return}Vs.listen(this,"complete",M_),Vs.listen(this,"progress",pV),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:s,height:i,_aspectRatio:o}=this;return ot(t)?n&&o?o:i?s/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}get registry(){return vs}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():e_(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Xg(this.canvas,this.ctx),this}stop(){return Vs.stop(this),this}resize(t,n){Vs.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const s=this.options,i=this.canvas,o=s.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(i,t,n,o),r=s.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,e_(this,r,!0)&&(this.notifyPlugins("resize",{size:a}),pt(s.onResize,[this,a],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};ut(n,(s,i)=>{s.id=i})}buildOrUpdateScales(){const t=this.options,n=t.scales,s=this.scales,i=Object.keys(s).reduce((a,r)=>(a[r]=!1,a),{});let o=[];n&&(o=o.concat(Object.keys(n).map(a=>{const r=n[a],l=uh(a,r),c=l==="r",u=l==="x";return{options:r,dposition:c?"chartArea":u?"bottom":"left",dtype:c?"radialLinear":u?"category":"linear"}}))),ut(o,a=>{const r=a.options,l=r.id,c=uh(l,r),u=Ge(r.type,a.dtype);(r.position===void 0||P_(r.position,c)!==P_(a.dposition))&&(r.position=a.dposition),i[l]=!0;let d=null;if(l in s&&s[l].type===u)d=s[l];else{const f=vs.getScale(u);d=new f({id:l,type:u,ctx:this.ctx,chart:this}),s[d.id]=d}d.init(r,t)}),ut(i,(a,r)=>{a||delete s[r]}),ut(s,a=>{qn.configure(this,a,a.options),qn.addBox(this,a)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,s=t.length;if(t.sort((i,o)=>i.index-o.index),s>n){for(let i=n;in.length&&delete this._stacks,t.forEach((s,i)=>{n.filter(o=>o===s._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let s,i;for(this._removeUnreferencedMetasets(),s=0,i=n.length;s{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const s=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!s.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 a=0;for(let c=0,u=this.data.datasets.length;c{c.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(T_("z","_idx"));const{_active:r,_lastEvent:l}=this;l?this._eventHandler(l,!0):r.length&&this._updateHoverStyles(r,r,!0),this.render()}_updateScales(){ut(this.scales,t=>{qn.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),s=new Set(t.events);(!jg(n,s)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:s,start:i,count:o}of n){const a=s==="_removeElements"?-o:o;mV(t,i,a)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,s=o=>new Set(t.filter(a=>a[0]===o).map((a,r)=>r+","+a.splice(1).join(","))),i=s(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,s=n.width<=0||n.height<=0;this._layers=[],ut(this.boxes,i=>{s&&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,s=this.data.datasets.length;n=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,s=t._clip,i=!s.disabled,o=_V(t,this.chartArea),a={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(i&&mu(n,{left:s.left===!1?0:o.left-s.left,right:s.right===!1?this.width:o.right+s.right,top:s.top===!1?0:o.top-s.top,bottom:s.bottom===!1?this.height:o.bottom+s.bottom}),t.controller.draw(),i&&gu(n),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(t){return Gs(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,s,i){const o=f4.modes[n];return typeof o=="function"?o(this,t,s,i):[]}getDatasetMeta(t){const n=this.data.datasets[t],s=this._metasets;let i=s.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},s.push(i)),i}getContext(){return this.$context||(this.$context=Yi(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const s=this.getDatasetMeta(t);return typeof s.hidden=="boolean"?!s.hidden:!n.hidden}setDatasetVisibility(t,n){const s=this.getDatasetMeta(t);s.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,s){const i=s?"show":"hide",o=this.getDatasetMeta(t),a=o.controller._resolveAnimations(void 0,i);Yr(n)?(o.data[n].hidden=!s,this.update()):(this.setDatasetVisibility(t,s),a.update(o,{visible:s}),this.update(r=>r.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(),Vs.remove(this),t=0,n=this.data.datasets.length;t{n.addEventListener(this,o,a),t[o]=a},i=(o,a,r)=>{o.offsetX=a,o.offsetY=r,this._eventHandler(o)};ut(this.options.events,o=>s(o,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,s=(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 a;const r=()=>{i("attach",r),this.attached=!0,this.resize(),s("resize",o),s("detach",a)};a=()=>{this.attached=!1,i("resize",o),this._stop(),this._resize(0,0),s("attach",r)},n.isAttached(this.canvas)?r():a()}unbindEvents(){ut(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},ut(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,s){const i=s?"set":"remove";let o,a,r,l;for(n==="dataset"&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+i+"DatasetHoverStyle"]()),r=0,l=t.length;r{const r=this.getDatasetMeta(o);if(!r)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:r.data[a],index:a}});!Mc(s,n)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,n))}notifyPlugins(t,n,s){return this._plugins.notify(this,t,n,s)}isPluginEnabled(t){return this._plugins._cache.filter(n=>n.plugin.id===t).length===1}_updateHoverStyles(t,n,s){const i=this.options.hover,o=(l,c)=>l.filter(u=>!c.some(d=>u.datasetIndex===d.datasetIndex&&u.index===d.index)),a=o(n,t),r=s?t:o(t,n);a.length&&this.updateHoverStyle(a,i.mode,!1),r.length&&i.mode&&this.updateHoverStyle(r,i.mode,!0)}_eventHandler(t,n){const s={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},i=a=>(a.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",s,i)===!1)return;const o=this._handleEvent(t,n,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,i),(o||s.changed)&&this.render(),this}_handleEvent(t,n,s){const{_active:i=[],options:o}=this,a=n,r=this._getActiveElements(t,i,s,a),l=$F(t),c=gV(t,this._lastEvent,s,l);s&&(this._lastEvent=null,pt(o.onHover,[t,r,this],this),l&&pt(o.onClick,[t,r,this],this));const u=!Mc(r,i);return(u||n)&&(this._active=r,this._updateHoverStyles(r,i,n)),this._lastEvent=c,u}_getActiveElements(t,n,s,i){if(t.type==="mouseout")return[];if(!s)return n;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,i)}},re(hi,"defaults",Et),re(hi,"instances",mc),re(hi,"overrides",Po),re(hi,"registry",vs),re(hi,"version",hV),re(hi,"getChart",D_),hi);function O_(){return ut(bu.instances,e=>e._plugins.invalidate())}function bV(e,t,n){const{startAngle:s,pixelMargin:i,x:o,y:a,outerRadius:r,innerRadius:l}=t;let c=i/r;e.beginPath(),e.arc(o,a,r,s-c,n+c),l>i?(c=i/l,e.arc(o,a,l,n+c,s-c,!0)):e.arc(o,a,i,n+Rt,s-Rt),e.closePath(),e.clip()}function vV(e){return Kf(e,["outerStart","outerEnd","innerStart","innerEnd"])}function yV(e,t,n,s){const i=vV(e.options.borderRadius),o=(n-t)/2,a=Math.min(o,s*t/2),r=l=>{const c=(n-Math.min(o,l))*s/2;return Qt(l,0,Math.min(o,c))};return{outerStart:r(i.outerStart),outerEnd:r(i.outerEnd),innerStart:Qt(i.innerStart,0,a),innerEnd:Qt(i.innerEnd,0,a)}}function Xo(e,t,n,s){return{x:n+e*Math.cos(t),y:s+e*Math.sin(t)}}function Nc(e,t,n,s,i,o){const{x:a,y:r,startAngle:l,pixelMargin:c,innerRadius:u}=t,d=Math.max(t.outerRadius+s+n-c,0),f=u>0?u+s+n+c:0;let p=0;const g=i-l;if(s){const L=u>0?u-s:0,O=d>0?d-s:0,V=(L+O)/2,Q=V!==0?g*V/(V+s):g;p=(g-Q)/2}const _=Math.max(.001,g*d-n/wt)/d,v=(g-_)/2,w=l+v+p,A=i-v-p,{outerStart:$,outerEnd:M,innerStart:k,innerEnd:y}=yV(t,f,d,A-w),x=d-$,E=d-M,P=w+$/x,C=A-M/E,F=f+k,G=f+y,ae=w+k/F,Y=A-y/G;if(e.beginPath(),o){const L=(P+C)/2;if(e.arc(a,r,d,P,L),e.arc(a,r,d,L,C),M>0){const Z=Xo(E,C,a,r);e.arc(Z.x,Z.y,M,C,A+Rt)}const O=Xo(G,A,a,r);if(e.lineTo(O.x,O.y),y>0){const Z=Xo(G,Y,a,r);e.arc(Z.x,Z.y,y,A+Rt,Y+Math.PI)}const V=(A-y/f+(w+k/f))/2;if(e.arc(a,r,f,A-y/f,V,!0),e.arc(a,r,f,V,w+k/f,!0),k>0){const Z=Xo(F,ae,a,r);e.arc(Z.x,Z.y,k,ae+Math.PI,w-Rt)}const Q=Xo(x,w,a,r);if(e.lineTo(Q.x,Q.y),$>0){const Z=Xo(x,P,a,r);e.arc(Z.x,Z.y,$,w-Rt,P)}}else{e.moveTo(a,r);const L=Math.cos(P)*d+a,O=Math.sin(P)*d+r;e.lineTo(L,O);const V=Math.cos(C)*d+a,Q=Math.sin(C)*d+r;e.lineTo(V,Q)}e.closePath()}function wV(e,t,n,s,i){const{fullCircles:o,startAngle:a,circumference:r}=t;let l=t.endAngle;if(o){Nc(e,t,n,s,l,i);for(let c=0;c=yt||Ur(a,l,c),v=Ks(r,u+p,d+p);return _&&v}getCenterPoint(n){const{x:s,y:i,startAngle:o,endAngle:a,innerRadius:r,outerRadius:l}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:c,spacing:u}=this.options,d=(o+a)/2,f=(r+l+u+c)/2;return{x:s+Math.cos(d)*f,y:i+Math.sin(d)*f}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:s,circumference:i}=this,o=(s.offset||0)/4,a=(s.spacing||0)/2,r=s.circular;if(this.pixelMargin=s.borderAlign==="inner"?.33:0,this.fullCircles=i>yt?Math.floor(i/yt):0,i===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const l=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(l)*o,Math.sin(l)*o);const c=1-Math.sin(Math.min(wt,i||0)),u=o*c;n.fillStyle=s.backgroundColor,n.strokeStyle=s.borderColor,wV(n,this,u,a,r),xV(n,this,u,a,r),n.restore()}}re(lr,"id","arc"),re(lr,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),re(lr,"defaultRoutes",{backgroundColor:"backgroundColor"}),re(lr,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});function n1(e,t,n=t){e.lineCap=Ge(n.borderCapStyle,t.borderCapStyle),e.setLineDash(Ge(n.borderDash,t.borderDash)),e.lineDashOffset=Ge(n.borderDashOffset,t.borderDashOffset),e.lineJoin=Ge(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=Ge(n.borderWidth,t.borderWidth),e.strokeStyle=Ge(n.borderColor,t.borderColor)}function kV(e,t,n){e.lineTo(n.x,n.y)}function SV(e){return e.stepped?qF:e.tension||e.cubicInterpolationMode==="monotone"?GF:kV}function s1(e,t,n={}){const s=e.length,{start:i=0,end:o=s-1}=n,{start:a,end:r}=t,l=Math.max(i,a),c=Math.min(o,r),u=ir&&o>r;return{count:s,start:l,loop:t.loop,ilen:c(a+(c?r-M:M))%o,$=()=>{_!==v&&(e.lineTo(u,v),e.lineTo(u,_),e.lineTo(u,w))};for(l&&(p=i[A(0)],e.moveTo(p.x,p.y)),f=0;f<=r;++f){if(p=i[A(f)],p.skip)continue;const M=p.x,k=p.y,y=M|0;y===g?(k<_?_=k:k>v&&(v=k),u=(d*u+M)/++d):($(),e.lineTo(M,k),g=y,d=0,_=v=k),w=k}$()}function dh(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?$V:AV}function EV(e){return e.stepped?EB:e.tension||e.cubicInterpolationMode==="monotone"?CB:fo}function CV(e,t,n,s){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,s)&&i.closePath()),n1(e,t.options),e.stroke(i)}function PV(e,t,n,s){const{segments:i,options:o}=t,a=dh(t);for(const r of i)n1(e,o,r.style),e.beginPath(),a(e,t,r,{start:n,end:n+s-1})&&e.closePath(),e.stroke()}const TV=typeof Path2D=="function";function MV(e,t,n,s){TV&&!t.options.segment?CV(e,t,n,s):PV(e,t,n,s)}class Si extends si{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 s=this.options;if((s.tension||s.cubicInterpolationMode==="monotone")&&!s.stepped&&!this._pointsUpdated){const i=s.spanGaps?this._loop:this._fullLoop;vB(this._points,s,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=IB(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,s=t.length;return s&&n[t[s-1].end]}interpolate(t,n){const s=this.options,i=t[n],o=this.points,a=W0(this,{property:n,start:i,end:i});if(!a.length)return;const r=[],l=EV(s);let c,u;for(c=0,u=a.length;ct!=="borderDash"&&t!=="fill"});function I_(e,t,n,s){const i=e.options,{[n]:o}=e.getProps([n],s);return Math.abs(t-o)=n)return e.slice(t,t+n);const a=[],r=(n-2)/(o-2);let l=0;const c=t+n-1;let u=t,d,f,p,g,_;for(a[l++]=e[u],d=0;dp&&(p=g,f=e[A],_=A);a[l++]=f,u=_}return a[l++]=e[c],a}function FV(e,t,n,s){let i=0,o=0,a,r,l,c,u,d,f,p,g,_;const v=[],w=t+n-1,A=e[t].x,M=e[w].x-A;for(a=t;a_&&(_=c,f=a),i=(o*i+r.x)/++o;else{const y=a-1;if(!ot(d)&&!ot(f)){const x=Math.min(d,f),E=Math.max(d,f);x!==p&&x!==y&&v.push({...e[x],x:i}),E!==p&&E!==y&&v.push({...e[E],x:i})}a>0&&y!==p&&v.push(e[y]),v.push(r),u=k,o=0,g=_=c,d=f=p=a}}return v}function o1(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function R_(e){e.data.datasets.forEach(t=>{o1(t)})}function BV(e,t){const n=t.length;let s=0,i;const{iScale:o}=e,{min:a,max:r,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(s=Qt(qs(t,o.axis,a).lo,0,n-1)),c?i=Qt(qs(t,o.axis,r).hi+1,s,n)-s:i=n-s,{start:s,count:i}}var VV={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,n)=>{if(!n.enabled){R_(e);return}const s=e.width;e.data.datasets.forEach((i,o)=>{const{_data:a,indexAxis:r}=i,l=e.getDatasetMeta(o),c=a||i.data;if(ar([r,e.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;const u=e.scales[l.xAxisID];if(u.type!=="linear"&&u.type!=="time"||e.options.parsing)return;let{start:d,count:f}=BV(l,c);const p=n.threshold||4*s;if(f<=p){o1(i);return}ot(a)&&(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=NV(c,d,f,s,n);break;case"min-max":g=FV(c,d,f,s);break;default:throw new Error(`Unsupported decimation algorithm '${n.algorithm}'`)}i._decimated=g})},destroy(e){R_(e)}};function HV(e,t,n){const s=e.segments,i=e.points,o=t.points,a=[];for(const r of s){let{start:l,end:c}=r;c=ep(l,c,i);const u=hh(n,i[l],i[c],r.loop);if(!t.segments){a.push({source:r,target:u,start:i[l],end:i[c]});continue}const d=W0(t,u);for(const f of d){const p=hh(n,o[f.start],o[f.end],f.loop),g=j0(r,i,p);for(const _ of g)a.push({source:_,target:f,start:{[n]:L_(u,p,"start",Math.max)},end:{[n]:L_(u,p,"end",Math.min)}})}}return a}function hh(e,t,n,s){if(s)return;let i=t[e],o=n[e];return e==="angle"&&(i=Mn(i),o=Mn(o)),{property:e,start:i,end:o}}function jV(e,t){const{x:n=null,y:s=null}=e||{},i=t.points,o=[];return t.segments.forEach(({start:a,end:r})=>{r=ep(a,r,i);const l=i[a],c=i[r];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):n!==null&&(o.push({x:n,y:l.y}),o.push({x:n,y:c.y}))}),o}function ep(e,t,n){for(;t>e;t--){const s=n[t];if(!isNaN(s.x)&&!isNaN(s.y))break}return t}function L_(e,t,n,s){return e&&t?s(e[n],t[n]):e?e[n]:t?t[n]:0}function a1(e,t){let n=[],s=!1;return vt(e)?(s=!0,n=e):n=jV(e,t),n.length?new Si({points:n,options:{tension:0},_loop:s,_fullLoop:s}):null}function N_(e){return e&&e.fill!==!1}function WV(e,t,n){let i=e[t].fill;const o=[t];let a;if(!n)return i;for(;i!==!1&&o.indexOf(i)===-1;){if(!$t(i))return i;if(a=e[i],!a)return!1;if(a.visible)return i;o.push(i),i=a.fill}return!1}function zV(e,t,n){const s=qV(e);if(nt(s))return isNaN(s.value)?!1:s;let i=parseFloat(s);return $t(i)&&Math.floor(i)===i?YV(s[0],t,i,n):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function YV(e,t,n,s){return(e==="-"||e==="+")&&(n=t+n),n===t||n<0||n>=s?!1:n}function UV(e,t){let n=null;return e==="start"?n=t.bottom:e==="end"?n=t.top:nt(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function KV(e,t,n){let s;return e==="start"?s=n:e==="end"?s=t.options.reverse?t.min:t.max:nt(e)?s=e.value:s=t.getBaseValue(),s}function qV(e){const t=e.options,n=t.fill;let s=Ge(n&&n.target,n);return s===void 0&&(s=!!t.backgroundColor),s===!1||s===null?!1:s===!0?"origin":s}function GV(e){const{scale:t,index:n,line:s}=e,i=[],o=s.segments,a=s.points,r=JV(t,n);r.push(a1({x:null,y:t.bottom},s));for(let l=0;l=0;--a){const r=i[a].$filler;r&&(r.line.updateControlPoints(o,r.axis),s&&r.fill&&kd(e.ctx,r,o))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!=="beforeDatasetsDraw")return;const s=e.getSortedVisibleDatasetMetas();for(let i=s.length-1;i>=0;--i){const o=s[i].$filler;N_(o)&&kd(e.ctx,o,e.chartArea)}},beforeDatasetDraw(e,t,n){const s=t.meta.$filler;!N_(s)||n.drawTime!=="beforeDatasetDraw"||kd(e.ctx,s,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const H_=(e,t)=>{let{boxHeight:n=t,boxWidth:s=t}=e;return e.usePointStyle&&(n=Math.min(n,t),s=e.pointStyleWidth||Math.min(s,t)),{boxWidth:s,boxHeight:n,itemHeight:Math.max(t,n)}},r6=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index;class j_ extends si{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,s){this.maxWidth=t,this.maxHeight=n,this._margins=s,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(s=>t.filter(s,this.chart.data))),t.sort&&(n=n.sort((s,i)=>t.sort(s,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 s=t.labels,i=Yt(s.font),o=i.size,a=this._computeTitleHeight(),{boxWidth:r,itemHeight:l}=H_(s,o);let c,u;n.font=i.string,this.isHorizontal()?(c=this.maxWidth,u=this._fitRows(a,o,r,l)+10):(u=this.maxHeight,c=this._fitCols(a,i,r,l)+10),this.width=Math.min(c,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,n,s,i){const{ctx:o,maxWidth:a,options:{labels:{padding:r}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],u=i+r;let d=t;o.textAlign="left",o.textBaseline="middle";let f=-1,p=-u;return this.legendItems.forEach((g,_)=>{const v=s+n/2+o.measureText(g.text).width;(_===0||c[c.length-1]+v+2*r>a)&&(d+=u,c[c.length-(_>0?0:1)]=0,p+=u,f++),l[_]={left:0,top:p,row:f,width:v,height:i},c[c.length-1]+=v+r}),d}_fitCols(t,n,s,i){const{ctx:o,maxHeight:a,options:{labels:{padding:r}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],u=a-t;let d=r,f=0,p=0,g=0,_=0;return this.legendItems.forEach((v,w)=>{const{itemWidth:A,itemHeight:$}=l6(s,n,o,v,i);w>0&&p+$+2*r>u&&(d+=f+r,c.push({width:f,height:p}),g+=f+r,_++,f=p=0),l[w]={left:g,top:p,col:_,width:A,height:$},f=Math.max(f,A),p+=$+r}),d+=f,c.push({width:f,height:p}),d}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:s,labels:{padding:i},rtl:o}}=this,a=ca(o,this.left,this.width);if(this.isHorizontal()){let r=0,l=an(s,this.left+i,this.right-this.lineWidths[r]);for(const c of n)r!==c.row&&(r=c.row,l=an(s,this.left+i,this.right-this.lineWidths[r])),c.top+=this.top+t+i,c.left=a.leftForLtr(a.x(l),c.width),l+=c.width+i}else{let r=0,l=an(s,this.top+t+i,this.bottom-this.columnSizes[r].height);for(const c of n)c.col!==r&&(r=c.col,l=an(s,this.top+t+i,this.bottom-this.columnSizes[r].height)),c.top=l,c.left+=this.left+i,c.left=a.leftForLtr(a.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;mu(t,this),this._draw(),gu(t)}}_draw(){const{options:t,columnSizes:n,lineWidths:s,ctx:i}=this,{align:o,labels:a}=t,r=Et.color,l=ca(t.rtl,this.left,this.width),c=Yt(a.font),{padding:u}=a,d=c.size,f=d/2;let p;this.drawTitle(),i.textAlign=l.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=c.string;const{boxWidth:g,boxHeight:_,itemHeight:v}=H_(a,d),w=function(y,x,E){if(isNaN(g)||g<=0||isNaN(_)||_<0)return;i.save();const P=Ge(E.lineWidth,1);if(i.fillStyle=Ge(E.fillStyle,r),i.lineCap=Ge(E.lineCap,"butt"),i.lineDashOffset=Ge(E.lineDashOffset,0),i.lineJoin=Ge(E.lineJoin,"miter"),i.lineWidth=P,i.strokeStyle=Ge(E.strokeStyle,r),i.setLineDash(Ge(E.lineDash,[])),a.usePointStyle){const C={radius:_*Math.SQRT2/2,pointStyle:E.pointStyle,rotation:E.rotation,borderWidth:P},F=l.xPlus(y,g/2),G=x+f;M0(i,C,F,G,a.pointStyleWidth&&g)}else{const C=x+Math.max((d-_)/2,0),F=l.leftForLtr(y,g),G=ko(E.borderRadius);i.beginPath(),Object.values(G).some(ae=>ae!==0)?Kr(i,{x:F,y:C,w:g,h:_,radius:G}):i.rect(F,C,g,_),i.fill(),P!==0&&i.stroke()}i.restore()},A=function(y,x,E){To(i,E.text,y,x+v/2,c,{strikethrough:E.hidden,textAlign:l.textAlign(E.textAlign)})},$=this.isHorizontal(),M=this._computeTitleHeight();$?p={x:an(o,this.left+u,this.right-s[0]),y:this.top+u+M,line:0}:p={x:this.left+u,y:an(o,this.top+M+u,this.bottom-n[0].height),line:0},B0(this.ctx,t.textDirection);const k=v+u;this.legendItems.forEach((y,x)=>{i.strokeStyle=y.fontColor,i.fillStyle=y.fontColor;const E=i.measureText(y.text).width,P=l.textAlign(y.textAlign||(y.textAlign=a.textAlign)),C=g+f+E;let F=p.x,G=p.y;l.setWidth(this.width),$?x>0&&F+C+u>this.right&&(G=p.y+=k,p.line++,F=p.x=an(o,this.left+u,this.right-s[p.line])):x>0&&G+k>this.bottom&&(F=p.x=F+n[p.line].width+u,p.line++,G=p.y=an(o,this.top+M+u,this.bottom-n[p.line].height));const ae=l.x(F);if(w(ae,G,y),F=NF(P,F+g+f,$?F+C:this.right,t.rtl),A(l.x(F),G,y),$)p.x+=C+u;else if(typeof y.text!="string"){const Y=c.lineHeight;p.y+=l1(y,Y)+u}else p.y+=k}),V0(this.ctx,t.textDirection)}drawTitle(){const t=this.options,n=t.title,s=Yt(n.font),i=dn(n.padding);if(!n.display)return;const o=ca(t.rtl,this.left,this.width),a=this.ctx,r=n.position,l=s.size/2,c=i.top+l;let u,d=this.left,f=this.width;if(this.isHorizontal())f=Math.max(...this.lineWidths),u=this.top+c,d=an(t.align,d,this.right-f);else{const g=this.columnSizes.reduce((_,v)=>Math.max(_,v.height),0);u=c+an(t.align,this.top,this.bottom-g-t.labels.padding-this._computeTitleHeight())}const p=an(r,d,d+f);a.textAlign=o.textAlign(Yf(r)),a.textBaseline="middle",a.strokeStyle=n.color,a.fillStyle=n.color,a.font=s.string,To(a,n.text,p,u,s)}_computeTitleHeight(){const t=this.options.title,n=Yt(t.font),s=dn(t.padding);return t.display?n.lineHeight+s.height:0}_getLegendItemAt(t,n){let s,i,o;if(Ks(t,this.left,this.right)&&Ks(n,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;so.length>a.length?o:a)),t+n.size/2+s.measureText(i).width}function u6(e,t,n){let s=e;return typeof t.text!="string"&&(s=l1(t,n)),s}function l1(e,t){const n=e.text?e.text.length:0;return t*n}function d6(e,t){return!!((e==="mousemove"||e==="mouseout")&&(t.onHover||t.onLeave)||t.onClick&&(e==="click"||e==="mouseup"))}var h6={id:"legend",_element:j_,start(e,t,n){const s=e.legend=new j_({ctx:e.ctx,options:n,chart:e});qn.configure(e,s,n),qn.addBox(e,s)},stop(e){qn.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const s=e.legend;qn.configure(e,s,n),s.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const s=t.datasetIndex,i=n.chart;i.isDatasetVisible(s)?(i.hide(s),t.hidden=!0):(i.show(s),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:s,textAlign:i,color:o,useBorderRadius:a,borderRadius:r}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{const c=l.controller.getStyle(n?0:void 0),u=dn(c.borderWidth);return{text:t[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:c.borderColor,pointStyle:s||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:a&&(r||c.borderRadius),datasetIndex:l.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 c1 extends si{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 s=this.options;if(this.left=0,this.top=0,!s.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=t,this.height=this.bottom=n;const i=vt(s.text)?s.text.length:1;this._padding=dn(s.padding);const o=i*Yt(s.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:s,bottom:i,right:o,options:a}=this,r=a.align;let l=0,c,u,d;return this.isHorizontal()?(u=an(r,s,o),d=n+t,c=o-s):(a.position==="left"?(u=s+t,d=an(r,i,n),l=wt*-.5):(u=o-t,d=an(r,n,i),l=wt*.5),c=i-n),{titleX:u,titleY:d,maxWidth:c,rotation:l}}draw(){const t=this.ctx,n=this.options;if(!n.display)return;const s=Yt(n.font),o=s.lineHeight/2+this._padding.top,{titleX:a,titleY:r,maxWidth:l,rotation:c}=this._drawArgs(o);To(t,n.text,0,0,s,{color:n.color,maxWidth:l,rotation:c,textAlign:Yf(n.align),textBaseline:"middle",translation:[a,r]})}}function f6(e,t){const n=new c1({ctx:e.ctx,options:t,chart:e});qn.configure(e,n,t),qn.addBox(e,n),e.titleBlock=n}var p6={id:"title",_element:c1,start(e,t,n){f6(e,n)},stop(e){const t=e.titleBlock;qn.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const s=e.titleBlock;qn.configure(e,s,n),s.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 cr={average(e){if(!e.length)return!1;let t,n,s=0,i=0,o=0;for(t=0,n=e.length;t-1?e.split(` -`):e}function jL(e,t){const{element:s,datasetIndex:n,index:i}=t,o=e.getDatasetMeta(n).controller,{label:r,value:a}=o.getLabelAndValue(i);return{chart:e,label:r,parsed:o.getParsed(i),raw:e.data.datasets[n].data[i],formattedValue:a,dataset:o.getDataset(),dataIndex:i,datasetIndex:n,element:s}}function Tp(e,t){const s=e.chart.ctx,{body:n,footer:i,title:o}=e,{boxWidth:r,boxHeight:a}=t,l=ce(t.bodyFont),c=ce(t.titleFont),d=ce(t.footerFont),h=o.length,p=i.length,g=n.length,m=be(t.padding);let _=m.height,v=0,w=n.reduce((T,y)=>T+y.before.length+y.lines.length+y.after.length,0);if(w+=e.beforeBody.length+e.afterBody.length,h&&(_+=h*c.lineHeight+(h-1)*t.titleSpacing+t.titleMarginBottom),w){const T=t.displayColors?Math.max(a,l.lineHeight):l.lineHeight;_+=g*T+(w-g)*l.lineHeight+(w-1)*t.bodySpacing}p&&(_+=t.footerMarginTop+p*d.lineHeight+(p-1)*t.footerSpacing);let S=0;const $=function(T){v=Math.max(v,s.measureText(T).width+S)};return s.save(),s.font=c.string,Kt(e.title,$),s.font=l.string,Kt(e.beforeBody.concat(e.afterBody),$),S=t.displayColors?r+2+t.boxPadding:0,Kt(n,T=>{Kt(T.before,$),Kt(T.lines,$),Kt(T.after,$)}),S=0,s.font=d.string,Kt(e.footer,$),s.restore(),v+=m.width,{width:v,height:_}}function HL(e,t){const{y:s,height:n}=t;return se.height-n/2?"bottom":"center"}function WL(e,t,s,n){const{x:i,width:o}=n,r=s.caretSize+s.caretPadding;if(e==="left"&&i+o+r>t.width||e==="right"&&i-o-r<0)return!0}function zL(e,t,s,n){const{x:i,width:o}=s,{width:r,chartArea:{left:a,right:l}}=e;let c="center";return n==="center"?c=i<=(a+l)/2?"left":"right":i<=o/2?c="left":i>=r-o/2&&(c="right"),WL(c,e,t,s)&&(c="center"),c}function Mp(e,t,s){const n=s.yAlign||t.yAlign||HL(e,s);return{xAlign:s.xAlign||t.xAlign||zL(e,t,s,n),yAlign:n}}function KL(e,t){let{x:s,width:n}=e;return t==="right"?s-=n:t==="center"&&(s-=n/2),s}function UL(e,t,s){let{y:n,height:i}=e;return t==="top"?n+=s:t==="bottom"?n-=i+s:n-=i/2,n}function Dp(e,t,s,n){const{caretSize:i,caretPadding:o,cornerRadius:r}=e,{xAlign:a,yAlign:l}=s,c=i+o,{topLeft:d,topRight:h,bottomLeft:p,bottomRight:g}=Zn(r);let m=KL(t,a);const _=UL(t,l,c);return l==="center"?a==="left"?m+=c:a==="right"&&(m-=c):a==="left"?m-=Math.max(d,p)+i:a==="right"&&(m+=Math.max(h,g)+i),{x:fe(m,0,n.width-t.width),y:fe(_,0,n.height-t.height)}}function Gr(e,t,s){const n=be(s.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-n.right:e.x+n.left}function Ip(e){return fs([],Ds(e))}function YL(e,t,s){return Cn(e,{tooltip:t,tooltipItems:s,type:"tooltip"})}function Op(e,t){const s=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return s?e.override(s):e}const ab={beforeTitle:ks,title(e){if(e.length>0){const t=e[0],s=t.chart.data.labels,n=s?s.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(n>0&&t.dataIndex"u"?ab[t].call(s,n):i}class Vc extends Ks{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,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 s=this.chart,n=this.options.setContext(this.getContext()),i=n.enabled&&s.options.animation&&n.animations,o=new j_(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=YL(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,s){const{callbacks:n}=s,i=Pe(n,"beforeTitle",this,t),o=Pe(n,"title",this,t),r=Pe(n,"afterTitle",this,t);let a=[];return a=fs(a,Ds(i)),a=fs(a,Ds(o)),a=fs(a,Ds(r)),a}getBeforeBody(t,s){return Ip(Pe(s.callbacks,"beforeBody",this,t))}getBody(t,s){const{callbacks:n}=s,i=[];return Kt(t,o=>{const r={before:[],lines:[],after:[]},a=Op(n,o);fs(r.before,Ds(Pe(a,"beforeLabel",this,o))),fs(r.lines,Pe(a,"label",this,o)),fs(r.after,Ds(Pe(a,"afterLabel",this,o))),i.push(r)}),i}getAfterBody(t,s){return Ip(Pe(s.callbacks,"afterBody",this,t))}getFooter(t,s){const{callbacks:n}=s,i=Pe(n,"beforeFooter",this,t),o=Pe(n,"footer",this,t),r=Pe(n,"afterFooter",this,t);let a=[];return a=fs(a,Ds(i)),a=fs(a,Ds(o)),a=fs(a,Ds(r)),a}_createItems(t){const s=this._active,n=this.chart.data,i=[],o=[],r=[];let a=[],l,c;for(l=0,c=s.length;lt.filter(d,h,p,n))),t.itemSort&&(a=a.sort((d,h)=>t.itemSort(d,h,n))),Kt(a,d=>{const h=Op(t.callbacks,d);i.push(Pe(h,"labelColor",this,d)),o.push(Pe(h,"labelPointStyle",this,d)),r.push(Pe(h,"labelTextColor",this,d))}),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=r,this.dataPoints=a,a}update(t,s){const n=this.options.setContext(this.getContext()),i=this._active;let o,r=[];if(!i.length)this.opacity!==0&&(o={opacity:0});else{const a=So[n.position].call(this,i,this._eventPosition);r=this._createItems(n),this.title=this.getTitle(r,n),this.beforeBody=this.getBeforeBody(r,n),this.body=this.getBody(r,n),this.afterBody=this.getAfterBody(r,n),this.footer=this.getFooter(r,n);const l=this._size=Tp(this,n),c=Object.assign({},a,l),d=Mp(this.chart,n,c),h=Dp(n,c,d,this.chart);this.xAlign=d.xAlign,this.yAlign=d.yAlign,o={opacity:1,x:h.x,y:h.y,width:l.width,height:l.height,caretX:a.x,caretY:a.y}}this._tooltipItems=r,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:s})}drawCaret(t,s,n,i){const o=this.getCaretPosition(t,n,i);s.lineTo(o.x1,o.y1),s.lineTo(o.x2,o.y2),s.lineTo(o.x3,o.y3)}getCaretPosition(t,s,n){const{xAlign:i,yAlign:o}=this,{caretSize:r,cornerRadius:a}=n,{topLeft:l,topRight:c,bottomLeft:d,bottomRight:h}=Zn(a),{x:p,y:g}=t,{width:m,height:_}=s;let v,w,S,$,T,y;return o==="center"?(T=g+_/2,i==="left"?(v=p,w=v-r,$=T+r,y=T-r):(v=p+m,w=v+r,$=T-r,y=T+r),S=v):(i==="left"?w=p+Math.max(l,d)+r:i==="right"?w=p+m-Math.max(c,h)-r:w=this.caretX,o==="top"?($=g,T=$-r,v=w-r,S=w+r):($=g+_,T=$+r,v=w+r,S=w-r),y=$),{x1:v,x2:w,x3:S,y1:$,y2:T,y3:y}}drawTitle(t,s,n){const i=this.title,o=i.length;let r,a,l;if(o){const c=Ti(n.rtl,this.x,this.width);for(t.x=Gr(this,n.titleAlign,n),s.textAlign=c.textAlign(n.titleAlign),s.textBaseline="middle",r=ce(n.titleFont),a=n.titleSpacing,s.fillStyle=n.titleColor,s.font=r.string,l=0;lS!==0)?(t.beginPath(),t.fillStyle=o.multiKeyBackground,Xo(t,{x:_,y:m,w:c,h:l,radius:w}),t.fill(),t.stroke(),t.fillStyle=r.backgroundColor,t.beginPath(),Xo(t,{x:v,y:m+1,w:c-2,h:l-2,radius:w}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(_,m,c,l),t.strokeRect(_,m,c,l),t.fillStyle=r.backgroundColor,t.fillRect(v,m+1,c-2,l-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,s,n){const{body:i}=this,{bodySpacing:o,bodyAlign:r,displayColors:a,boxHeight:l,boxWidth:c,boxPadding:d}=n,h=ce(n.bodyFont);let p=h.lineHeight,g=0;const m=Ti(n.rtl,this.x,this.width),_=function(E){s.fillText(E,m.x(t.x+g),t.y+p/2),t.y+=p+o},v=m.textAlign(r);let w,S,$,T,y,x,C;for(s.textAlign=r,s.textBaseline="middle",s.font=h.string,t.x=Gr(this,v,n),s.fillStyle=n.bodyColor,Kt(this.beforeBody,_),g=a&&v!=="right"?r==="center"?c/2+d:c+2+d:0,T=0,x=i.length;T0&&s.stroke()}_updateAnimationTarget(t){const s=this.chart,n=this.$animations,i=n&&n.x,o=n&&n.y;if(i||o){const r=So[t.position].call(this,this._active,this._eventPosition);if(!r)return;const a=this._size=Tp(this,t),l=Object.assign({},r,this._size),c=Mp(s,t,l),d=Dp(t,l,c,s);(i._to!==d.x||o._to!==d.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=a.width,this.height=a.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,d))}}_willRender(){return!!this.opacity}draw(t){const s=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(s);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const r=be(s.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;s.enabled&&a&&(t.save(),t.globalAlpha=n,this.drawBackground(o,t,i,s),R_(t,s.textDirection),o.y+=r.top,this.drawTitle(o,t,s),this.drawBody(o,t,s),this.drawFooter(o,t,s),N_(t,s.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,s){const n=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=!Pa(n,i),r=this._positionChanged(i,s);(o||r)&&(this._active=i,this._eventPosition=s,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,s,n=!0){if(s&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],r=this._getActiveElements(t,o,s,n),a=this._positionChanged(r,t),l=s||!Pa(r,o)||a;return l&&(this._active=r,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,s))),l}_getActiveElements(t,s,n,i){const o=this.options;if(t.type==="mouseout")return[];if(!i)return s.filter(a=>this.chart.data.datasets[a.datasetIndex]&&this.chart.getDatasetMeta(a.datasetIndex).controller.getParsed(a.index)!==void 0);const r=this.chart.getElementsAtEventForMode(t,o.mode,o,n);return o.reverse&&r.reverse(),r}_positionChanged(t,s){const{caretX:n,caretY:i,options:o}=this,r=So[o.position].call(this,t,s);return r!==!1&&(n!==r.x||i!==r.y)}}ot(Vc,"positioners",So);var qL={id:"tooltip",_element:Vc,positioners:So,afterInit(e,t,s){s&&(e.tooltip=new Vc({chart:e,options:s}))},beforeUpdate(e,t,s){e.tooltip&&e.tooltip.initialize(s)},reset(e,t,s){e.tooltip&&e.tooltip.initialize(s)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const s={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",{...s,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",s)}},afterEvent(e,t){if(e.tooltip){const s=t.replay;e.tooltip.handleEvent(t.event,s,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:ab},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const GL=(e,t,s,n)=>(typeof t=="string"?(s=e.push(t)-1,n.unshift({index:s,label:t})):isNaN(t)&&(s=null),s);function JL(e,t,s,n){const i=e.indexOf(t);if(i===-1)return GL(e,t,s,n);const o=e.lastIndexOf(t);return i!==o?s:i}const XL=(e,t)=>e===null?null:fe(Math.round(e),0,t);function Lp(e){const t=this.getLabels();return e>=0&&es.length-1?null:this.getPixelForValue(s[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}ot(jc,"id","category"),ot(jc,"defaults",{ticks:{callback:Lp}});function QL(e,t){const s=[],{bounds:i,step:o,min:r,max:a,precision:l,count:c,maxTicks:d,maxDigits:h,includeBounds:p}=e,g=o||1,m=d-1,{min:_,max:v}=t,w=!jt(r),S=!jt(a),$=!jt(c),T=(v-_)/(h+1);let y=Mf((v-_)/m/g)*g,x,C,E,P;if(y<1e-14&&!w&&!S)return[{value:_},{value:v}];P=Math.ceil(v/y)-Math.floor(_/y),P>m&&(y=Mf(P*y/m/g)*g),jt(l)||(x=Math.pow(10,l),y=Math.ceil(y*x)/x),i==="ticks"?(C=Math.floor(_/y)*y,E=Math.ceil(v/y)*y):(C=_,E=v),w&&S&&o&&sI((a-r)/o,y/1e3)?(P=Math.round(Math.min((a-r)/y,d)),y=(a-r)/P,C=r,E=a):$?(C=w?r:C,E=S?a:E,P=c-1,y=(E-C)/P):(P=(E-C)/y,Oo(P,Math.round(P),y/1e3)?P=Math.round(P):P=Math.ceil(P));const M=Math.max(Df(y),Df(C));x=Math.pow(10,jt(l)?M:l),C=Math.round(C*x)/x,E=Math.round(E*x)/x;let L=0;for(w&&(p&&C!==r?(s.push({value:r}),Ca)break;s.push({value:F})}return S&&p&&E!==a?s.length&&Oo(s[s.length-1].value,a,Rp(a,T,e))?s[s.length-1].value=a:s.push({value:a}):(!S||E===a)&&s.push({value:E}),s}function Rp(e,t,{horizontal:s,minRotation:n}){const i=ls(n),o=(s?Math.sin(i):Math.cos(i))||.001,r=.75*t*(""+e).length;return Math.min(t/o,r)}class La extends ai{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,s){return jt(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:s,maxDefined:n}=this.getUserBounds();let{min:i,max:o}=this;const r=l=>i=s?i:l,a=l=>o=n?o:l;if(t){const l=xs(i),c=xs(o);l<0&&c<0?a(0):l>0&&c>0&&r(0)}if(i===o){let l=o===0?1:Math.abs(o*.05);a(o+l),t||r(i-l)}this.min=i,this.max=o}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:s,stepSize:n}=t,i;return n?(i=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),s=s||11),s&&(i=Math.min(s,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,s=t.ticks;let n=this.getTickLimit();n=Math.max(2,n);const i={maxTicks:n,bounds:t.bounds,min:t.min,max:t.max,precision:s.precision,step:s.stepSize,count:s.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:s.minRotation||0,includeBounds:s.includeBounds!==!1},o=this._range||this,r=QL(i,o);return t.bounds==="ticks"&&v_(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const t=this.ticks;let s=this.min,n=this.max;if(super.configure(),this.options.offset&&t.length){const i=(n-s)/Math.max(t.length-1,1)/2;s-=i,n+=i}this._startValue=s,this._endValue=n,this._valueRange=n-s}getLabelForValue(t){return cr(t,this.chart.options.locale,this.options.ticks.format)}}class Hc extends La{determineDataLimits(){const{min:t,max:s}=this.getMinMax(!0);this.min=te(t)?t:0,this.max=te(s)?s:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),s=t?this.width:this.height,n=ls(this.options.ticks.minRotation),i=(t?Math.sin(n):Math.cos(n))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(s/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}}ot(Hc,"id","linear"),ot(Hc,"defaults",{ticks:{callback:rl.formatters.numeric}});const Zo=e=>Math.floor(cn(e)),Wn=(e,t)=>Math.pow(10,Zo(e)+t);function Np(e){return e/Math.pow(10,Zo(e))===1}function Fp(e,t,s){const n=Math.pow(10,s),i=Math.floor(e/n);return Math.ceil(t/n)-i}function ZL(e,t){const s=t-e;let n=Zo(s);for(;Fp(e,t,n)>10;)n++;for(;Fp(e,t,n)<10;)n--;return Math.min(n,Zo(e))}function tR(e,{min:t,max:s}){t=De(e.min,t);const n=[],i=Zo(t);let o=ZL(t,s),r=o<0?Math.pow(10,Math.abs(o)):1;const a=Math.pow(10,o),l=i>o?Math.pow(10,i):0,c=Math.round((t-l)*r)/r,d=Math.floor((t-l)/a/10)*a*10;let h=Math.floor((c-d)/Math.pow(10,o)),p=De(e.min,Math.round((l+d+h*Math.pow(10,o))*r)/r);for(;p=10?h=h<15?15:20:h++,h>=20&&(o++,h=2,r=o>=0?1:r),p=Math.round((l+d+h*Math.pow(10,o))*r)/r;const g=De(e.max,p);return n.push({value:g,major:Np(g),significand:h}),n}class Wc extends ai{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,s){const n=La.prototype.parse.apply(this,[t,s]);if(n===0){this._zero=!0;return}return te(n)&&n>0?n:null}determineDataLimits(){const{min:t,max:s}=this.getMinMax(!0);this.min=te(t)?Math.max(0,t):null,this.max=te(s)?Math.max(0,s):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!te(this._userMin)&&(this.min=t===Wn(this.min,0)?Wn(this.min,-1):Wn(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:s}=this.getUserBounds();let n=this.min,i=this.max;const o=a=>n=t?n:a,r=a=>i=s?i:a;n===i&&(n<=0?(o(1),r(10)):(o(Wn(n,-1)),r(Wn(i,1)))),n<=0&&o(Wn(i,-1)),i<=0&&r(Wn(n,1)),this.min=n,this.max=i}buildTicks(){const t=this.options,s={min:this._userMin,max:this._userMax},n=tR(s,this);return t.bounds==="ticks"&&v_(n,this,"value"),t.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}getLabelForValue(t){return t===void 0?"0":cr(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=cn(t),this._valueRange=cn(this.max)-cn(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(cn(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const s=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+s*this._valueRange)}}ot(Wc,"id","logarithmic"),ot(Wc,"defaults",{ticks:{callback:rl.formatters.logarithmic,major:{enabled:!0}}});function zc(e){const t=e.ticks;if(t.display&&e.display){const s=be(t.backdropPadding);return $t(t.font&&t.font.size,ee.font.size)+s.height}return 0}function eR(e,t,s){return s=Jt(s)?s:[s],{w:vI(e,t.string,s),h:s.length*t.lineHeight}}function Bp(e,t,s,n,i){return e===n||e===i?{start:t-s/2,end:t+s/2}:ei?{start:t-s,end:t}:{start:t,end:t+s}}function sR(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},s=Object.assign({},t),n=[],i=[],o=e._pointLabels.length,r=e.options.pointLabels,a=r.centerPointLabels?Qt/o:0;for(let l=0;lt.r&&(a=(n.end-t.r)/o,e.r=Math.max(e.r,t.r+a)),i.startt.b&&(l=(i.end-t.b)/r,e.b=Math.max(e.b,t.b+l))}function iR(e,t,s){const n=e.drawingArea,{extra:i,additionalAngle:o,padding:r,size:a}=s,l=e.getPointPosition(t,n+i+r,o),c=Math.round(Jd(Oe(l.angle+ne))),d=cR(l.y,a.h,c),h=aR(c),p=lR(l.x,a.w,h);return{visible:!0,x:l.x,y:d,textAlign:h,left:p,top:d,right:p+a.w,bottom:d+a.h}}function oR(e,t){if(!t)return!0;const{left:s,top:n,right:i,bottom:o}=e;return!(Fs({x:s,y:n},t)||Fs({x:s,y:o},t)||Fs({x:i,y:n},t)||Fs({x:i,y:o},t))}function rR(e,t,s){const n=[],i=e._pointLabels.length,o=e.options,{centerPointLabels:r,display:a}=o.pointLabels,l={extra:zc(o)/2,additionalAngle:r?Qt/i:0};let c;for(let d=0;d270||s<90)&&(e-=t),e}function dR(e,t,s){const{left:n,top:i,right:o,bottom:r}=s,{backdropColor:a}=t;if(!jt(a)){const l=Zn(t.borderRadius),c=be(t.backdropPadding);e.fillStyle=a;const d=n-c.left,h=i-c.top,p=o-n+c.width,g=r-i+c.height;Object.values(l).some(m=>m!==0)?(e.beginPath(),Xo(e,{x:d,y:h,w:p,h:g,radius:l}),e.fill()):e.fillRect(d,h,p,g)}}function uR(e,t){const{ctx:s,options:{pointLabels:n}}=e;for(let i=t-1;i>=0;i--){const o=e._pointLabelItems[i];if(!o.visible)continue;const r=n.setContext(e.getPointLabelContext(i));dR(s,r,o);const a=ce(r.font),{x:l,y:c,textAlign:d}=o;oi(s,e._pointLabels[i],l,c+a.lineHeight/2,a,{color:r.color,textAlign:d,textBaseline:"middle"})}}function lb(e,t,s,n){const{ctx:i}=e;if(s)i.arc(e.xCenter,e.yCenter,t,0,Xt);else{let o=e.getPointPosition(0,t);i.moveTo(o.x,o.y);for(let r=1;r{const i=Yt(this.options.pointLabels.callback,[s,n],this);return i||i===0?i:""}).filter((s,n)=>this.chart.getDataVisibility(n))}fit(){const t=this.options;t.display&&t.pointLabels.display?sR(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,s,n,i){this.xCenter+=Math.floor((t-s)/2),this.yCenter+=Math.floor((n-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,s,n,i))}getIndexAngle(t){const s=Xt/(this._pointLabels.length||1),n=this.options.startAngle||0;return Oe(t*s+ls(n))}getDistanceFromCenterForValue(t){if(jt(t))return NaN;const s=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*s:(t-this.min)*s}getValueForDistanceFromCenter(t){if(jt(t))return NaN;const s=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-s:this.min+s}getPointLabelContext(t){const s=this._pointLabels||[];if(t>=0&&t{if(h!==0){l=this.getDistanceFromCenterForValue(d.value);const p=this.getContext(h),g=i.setContext(p),m=o.setContext(p);hR(this,g,l,r,m)}}),n.display){for(t.save(),a=r-1;a>=0;a--){const d=n.setContext(this.getPointLabelContext(a)),{color:h,lineWidth:p}=d;!p||!h||(t.lineWidth=p,t.strokeStyle=h,t.setLineDash(d.borderDash),t.lineDashOffset=d.borderDashOffset,l=this.getDistanceFromCenterForValue(s.ticks.reverse?this.min:this.max),c=this.getPointPosition(a,l),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,s=this.options,n=s.ticks;if(!n.display)return;const i=this.getIndexAngle(0);let o,r;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&&!s.reverse)return;const c=n.setContext(this.getContext(l)),d=ce(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=d.string,r=t.measureText(a.label).width,t.fillStyle=c.backdropColor;const h=be(c.backdropPadding);t.fillRect(-r/2-h.left,-o-d.size/2-h.top,r+h.width,d.size+h.height)}oi(t,a.label,0,-o,d,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),t.restore()}drawTitle(){}}ot(Eo,"id","radialLinear"),ot(Eo,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:rl.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),ot(Eo,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),ot(Eo,"descriptors",{angleLines:{_fallback:"grid"}});const ul={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}},Te=Object.keys(ul);function Vp(e,t){return e-t}function jp(e,t){if(jt(t))return null;const s=e._adapter,{parser:n,round:i,isoWeekday:o}=e._parseOpts;let r=t;return typeof n=="function"&&(r=n(r)),te(r)||(r=typeof n=="string"?s.parse(r,n):s.parse(r)),r===null?null:(i&&(r=i==="week"&&(zi(o)||o===!0)?s.startOf(r,"isoWeek",o):s.startOf(r,i)),+r)}function Hp(e,t,s,n){const i=Te.length;for(let o=Te.indexOf(e);o=Te.indexOf(s);o--){const r=Te[o];if(ul[r].common&&e._adapter.diff(i,n,r)>=t-1)return r}return Te[s?Te.indexOf(s):0]}function gR(e){for(let t=Te.indexOf(e)+1,s=Te.length;t=t?s[n]:s[i];e[o]=!0}}function mR(e,t,s,n){const i=e._adapter,o=+i.startOf(t[0].value,n),r=t[t.length-1].value;let a,l;for(a=o;a<=r;a=+i.add(a,1,n))l=s[a],l>=0&&(t[l].major=!0);return t}function zp(e,t,s){const n=[],i={},o=t.length;let r,a;for(r=0;r+t.value))}initOffsets(t=[]){let s=0,n=0,i,o;this.options.offset&&t.length&&(i=this.getDecimalForValue(t[0]),t.length===1?s=1-i:s=(this.getDecimalForValue(t[1])-i)/2,o=this.getDecimalForValue(t[t.length-1]),t.length===1?n=o:n=(o-this.getDecimalForValue(t[t.length-2]))/2);const r=t.length<3?.5:.25;s=fe(s,0,r),n=fe(n,0,r),this._offsets={start:s,end:n,factor:1/(s+1+n)}}_generate(){const t=this._adapter,s=this.min,n=this.max,i=this.options,o=i.time,r=o.unit||Hp(o.minUnit,s,n,this._getLabelCapacity(s)),a=$t(i.ticks.stepSize,1),l=r==="week"?o.isoWeekday:!1,c=zi(l)||l===!0,d={};let h=s,p,g;if(c&&(h=+t.startOf(h,"isoWeek",l)),h=+t.startOf(h,c?"day":r),t.diff(n,s,r)>1e5*a)throw new Error(s+" and "+n+" are too far apart with stepSize of "+a+" "+r);const m=i.ticks.source==="data"&&this.getDataTimestamps();for(p=h,g=0;p+_)}getLabelForValue(t){const s=this._adapter,n=this.options.time;return n.tooltipFormat?s.format(t,n.tooltipFormat):s.format(t,n.displayFormats.datetime)}format(t,s){const i=this.options.time.displayFormats,o=this._unit,r=s||i[o];return this._adapter.format(t,r)}_tickFormatFunction(t,s,n,i){const o=this.options,r=o.ticks.callback;if(r)return Yt(r,[t,s,n],this);const a=o.time.displayFormats,l=this._unit,c=this._majorUnit,d=l&&a[l],h=c&&a[c],p=n[s],g=c&&h&&p&&p.major;return this._adapter.format(t,i||(g?h:d))}generateTickLabels(t){let s,n,i;for(s=0,n=t.length;s0?a:1}getDataTimestamps(){let t=this._cache.data||[],s,n;if(t.length)return t;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(s=0,n=i.length;s=e[n].pos&&t<=e[i].pos&&({lo:n,hi:i}=Ns(e,"pos",t)),{pos:o,time:a}=e[n],{pos:r,time:l}=e[i]):(t>=e[n].time&&t<=e[i].time&&({lo:n,hi:i}=Ns(e,"time",t)),{time:o,pos:a}=e[n],{time:r,pos:l}=e[i]);const c=r-o;return c?a+(l-a)*(t-o)/c:a}class Kc extends tr{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),s=this._table=this.buildLookupTable(t);this._minPos=Jr(s,this.min),this._tableRange=Jr(s,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:s,max:n}=this,i=[],o=[];let r,a,l,c,d;for(r=0,a=t.length;r=s&&c<=n&&i.push(c);if(i.length<2)return[{time:s,pos:0},{time:n,pos:1}];for(r=0,a=i.length;ri-o)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const s=this.getDataTimestamps(),n=this.getLabelTimestamps();return s.length&&n.length?t=this.normalize(s.concat(n)):t=s.length?s:n,t=this._cache.all=t,t}getDecimalForValue(t){return(Jr(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const s=this._offsets,n=this.getDecimalForPixel(t)/s.factor-s.end;return Jr(this._table,n*this._tableRange+this._minPos,!0)}}ot(Kc,"id","timeseries"),ot(Kc,"defaults",tr.defaults);const cb={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},_R={ariaLabel:{type:String},ariaDescribedby:{type:String}},bR={type:{type:String,required:!0},...cb,..._R},vR=Dm[0]==="2"?(e,t)=>Object.assign(e,{attrs:t}):(e,t)=>Object.assign(e,t);function yi(e){return Ua(e)?Ot(e):e}function yR(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return Ua(t)?new Proxy(e,{}):e}function xR(e,t){const s=e.options;s&&t&&Object.assign(s,t)}function db(e,t){e.labels=t}function ub(e,t,s){const n=[];e.datasets=t.map(i=>{const o=e.datasets.find(r=>r[s]===i[s]);return!o||!i.data||n.includes(o)?{...i}:(n.push(o),Object.assign(o,i),o)})}function wR(e,t){const s={labels:[],datasets:[]};return db(s,e.labels),ub(s,e.datasets,t),s}const SR=Xa({props:bR,setup(e,t){let{expose:s,slots:n}=t;const i=vs(null),o=$d(null);s({chart:o});const r=()=>{if(!i.value)return;const{type:c,data:d,options:h,plugins:p,datasetIdKey:g}=e,m=wR(d,g),_=yR(m,d);o.value=new dl(i.value,{type:c,data:_,options:{...h},plugins:p})},a=()=>{const c=Ot(o.value);c&&(c.destroy(),o.value=null)},l=c=>{c.update(e.updateMode)};return Ld(r),Rd(a),Qn([()=>e.options,()=>e.data],(c,d)=>{let[h,p]=c,[g,m]=d;const _=Ot(o.value);if(!_)return;let v=!1;if(h){const w=yi(h),S=yi(g);w&&w!==S&&(xR(_,w),v=!0)}if(p){const w=yi(p.labels),S=yi(m.labels),$=yi(p.datasets),T=yi(m.datasets);w!==S&&(db(_.config.data,w),v=!0),$&&$!==T&&(ub(_.config.data,$,e.datasetIdKey),v=!0)}v&&rr(()=>{l(_)})},{deep:!0}),()=>Bi("canvas",{role:"img",ariaLabel:e.ariaLabel,ariaDescribedby:e.ariaDescribedby,ref:i},[Bi("p",{},[n.default?n.default():""])])}});function hb(e,t){return dl.register(t),Xa({props:cb,setup(s,n){let{expose:i}=n;const o=$d(null),r=a=>{o.value=a==null?void 0:a.chart};return i({chart:o}),()=>Bi(SR,vR({ref:r},{type:e,...s}))}})}const ER=hb("bar",No),AR=hb("line",Fo);function Hs(e){return Array.isArray?Array.isArray(e):gb(e)==="[object Array]"}const CR=1/0;function $R(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-CR?"-0":t}function PR(e){return e==null?"":$R(e)}function _s(e){return typeof e=="string"}function fb(e){return typeof e=="number"}function kR(e){return e===!0||e===!1||TR(e)&&gb(e)=="[object Boolean]"}function pb(e){return typeof e=="object"}function TR(e){return pb(e)&&e!==null}function Le(e){return e!=null}function ic(e){return!e.trim().length}function gb(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const MR="Incorrect 'index' type",DR=e=>`Invalid value for key ${e}`,IR=e=>`Pattern length exceeds max of ${e}.`,OR=e=>`Missing ${e} property in key`,LR=e=>`Property 'weight' in key '${e}' must be a positive integer`,Kp=Object.prototype.hasOwnProperty;class RR{constructor(t){this._keys=[],this._keyMap={};let s=0;t.forEach(n=>{let i=mb(n);this._keys.push(i),this._keyMap[i.id]=i,s+=i.weight}),this._keys.forEach(n=>{n.weight/=s})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function mb(e){let t=null,s=null,n=null,i=1,o=null;if(_s(e)||Hs(e))n=e,t=Up(e),s=Uc(e);else{if(!Kp.call(e,"name"))throw new Error(OR("name"));const r=e.name;if(n=r,Kp.call(e,"weight")&&(i=e.weight,i<=0))throw new Error(LR(r));t=Up(r),s=Uc(r),o=e.getFn}return{path:t,id:s,weight:i,src:n,getFn:o}}function Up(e){return Hs(e)?e:e.split(".")}function Uc(e){return Hs(e)?e.join("."):e}function NR(e,t){let s=[],n=!1;const i=(o,r,a)=>{if(Le(o))if(!r[a])s.push(o);else{let l=r[a];const c=o[l];if(!Le(c))return;if(a===r.length-1&&(_s(c)||fb(c)||kR(c)))s.push(PR(c));else if(Hs(c)){n=!0;for(let d=0,h=c.length;de.score===t.score?e.idx{this._keysMap[s.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,_s(this.docs[0])?this.docs.forEach((t,s)=>{this._addString(t,s)}):this.docs.forEach((t,s)=>{this._addObject(t,s)}),this.norm.clear())}add(t){const s=this.size();_s(t)?this._addString(t,s):this._addObject(t,s)}removeAt(t){this.records.splice(t,1);for(let s=t,n=this.size();s{let r=i.getFn?i.getFn(t):this.getFn(t,i.path);if(Le(r)){if(Hs(r)){let a=[];const l=[{nestedArrIndex:-1,value:r}];for(;l.length;){const{nestedArrIndex:c,value:d}=l.pop();if(Le(d))if(_s(d)&&!ic(d)){let h={v:d,i:c,n:this.norm.get(d)};a.push(h)}else Hs(d)&&d.forEach((h,p)=>{l.push({nestedArrIndex:p,value:h})})}n.$[o]=a}else if(_s(r)&&!ic(r)){let a={v:r,n:this.norm.get(r)};n.$[o]=a}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function _b(e,t,{getFn:s=wt.getFn,fieldNormWeight:n=wt.fieldNormWeight}={}){const i=new lu({getFn:s,fieldNormWeight:n});return i.setKeys(e.map(mb)),i.setSources(t),i.create(),i}function zR(e,{getFn:t=wt.getFn,fieldNormWeight:s=wt.fieldNormWeight}={}){const{keys:n,records:i}=e,o=new lu({getFn:t,fieldNormWeight:s});return o.setKeys(n),o.setIndexRecords(i),o}function Xr(e,{errors:t=0,currentLocation:s=0,expectedLocation:n=0,distance:i=wt.distance,ignoreLocation:o=wt.ignoreLocation}={}){const r=t/e.length;if(o)return r;const a=Math.abs(n-s);return i?r+a/i:a?1:r}function KR(e=[],t=wt.minMatchCharLength){let s=[],n=-1,i=-1,o=0;for(let r=e.length;o=t&&s.push([n,i]),n=-1)}return e[o-1]&&o-n>=t&&s.push([n,o-1]),s}const Yn=32;function UR(e,t,s,{location:n=wt.location,distance:i=wt.distance,threshold:o=wt.threshold,findAllMatches:r=wt.findAllMatches,minMatchCharLength:a=wt.minMatchCharLength,includeMatches:l=wt.includeMatches,ignoreLocation:c=wt.ignoreLocation}={}){if(t.length>Yn)throw new Error(IR(Yn));const d=t.length,h=e.length,p=Math.max(0,Math.min(n,h));let g=o,m=p;const _=a>1||l,v=_?Array(h):[];let w;for(;(w=e.indexOf(t,m))>-1;){let C=Xr(t,{currentLocation:w,expectedLocation:p,distance:i,ignoreLocation:c});if(g=Math.min(C,g),m=w+d,_){let E=0;for(;E=M;G-=1){let H=G-1,R=s[e.charAt(H)];if(_&&(v[H]=+!!R),F[G]=(F[G+1]<<1|1)&R,C&&(F[G]|=(S[G+1]|S[G])<<1|1|S[G+1]),F[G]&y&&($=Xr(t,{errors:C,currentLocation:H,expectedLocation:p,distance:i,ignoreLocation:c}),$<=g)){if(g=$,m=H,m<=p)break;M=Math.max(1,2*p-m)}}if(Xr(t,{errors:C+1,currentLocation:p,expectedLocation:p,distance:i,ignoreLocation:c})>g)break;S=F}const x={isMatch:m>=0,score:Math.max(.001,$)};if(_){const C=KR(v,a);C.length?l&&(x.indices=C):x.isMatch=!1}return x}function YR(e){let t={};for(let s=0,n=e.length;s{this.chunks.push({pattern:p,alphabet:YR(p),startIndex:g})},h=this.pattern.length;if(h>Yn){let p=0;const g=h%Yn,m=h-g;for(;p{const{isMatch:w,score:S,indices:$}=UR(t,m,_,{location:i+v,distance:o,threshold:r,findAllMatches:a,minMatchCharLength:l,includeMatches:n,ignoreLocation:c});w&&(p=!0),h+=S,w&&$&&(d=[...d,...$])});let g={isMatch:p,score:p?h/this.chunks.length:1};return p&&n&&(g.indices=d),g}}class $n{constructor(t){this.pattern=t}static isMultiMatch(t){return Yp(t,this.multiRegex)}static isSingleMatch(t){return Yp(t,this.singleRegex)}search(){}}function Yp(e,t){const s=e.match(t);return s?s[1]:null}class qR extends $n{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const s=t===this.pattern;return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class GR extends $n{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const n=t.indexOf(this.pattern)===-1;return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class JR extends $n{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const s=t.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class XR extends $n{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const s=!t.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}}class QR extends $n{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const s=t.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class ZR extends $n{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const s=!t.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}}class vb extends $n{constructor(t,{location:s=wt.location,threshold:n=wt.threshold,distance:i=wt.distance,includeMatches:o=wt.includeMatches,findAllMatches:r=wt.findAllMatches,minMatchCharLength:a=wt.minMatchCharLength,isCaseSensitive:l=wt.isCaseSensitive,ignoreLocation:c=wt.ignoreLocation}={}){super(t),this._bitapSearch=new bb(t,{location:s,threshold:n,distance:i,includeMatches:o,findAllMatches:r,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class yb extends $n{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let s=0,n;const i=[],o=this.pattern.length;for(;(n=t.indexOf(this.pattern,s))>-1;)s=n+o,i.push([n,s-1]);const r=!!i.length;return{isMatch:r,score:r?0:1,indices:i}}}const Yc=[qR,yb,JR,XR,ZR,QR,GR,vb],qp=Yc.length,tN=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,eN="|";function sN(e,t={}){return e.split(eN).map(s=>{let n=s.trim().split(tN).filter(o=>o&&!!o.trim()),i=[];for(let o=0,r=n.length;o!!(e[Ra.AND]||e[Ra.OR]),rN=e=>!!e[Jc.PATH],aN=e=>!Hs(e)&&pb(e)&&!Xc(e),Gp=e=>({[Ra.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function xb(e,t,{auto:s=!0}={}){const n=i=>{let o=Object.keys(i);const r=rN(i);if(!r&&o.length>1&&!Xc(i))return n(Gp(i));if(aN(i)){const l=r?i[Jc.PATH]:o[0],c=r?i[Jc.PATTERN]:i[l];if(!_s(c))throw new Error(DR(l));const d={keyId:Uc(l),pattern:c};return s&&(d.searcher=Gc(c,t)),d}let a={children:[],operator:o[0]};return o.forEach(l=>{const c=i[l];Hs(c)&&c.forEach(d=>{a.children.push(n(d))})}),a};return Xc(e)||(e=Gp(e)),n(e)}function lN(e,{ignoreFieldNorm:t=wt.ignoreFieldNorm}){e.forEach(s=>{let n=1;s.matches.forEach(({key:i,norm:o,score:r})=>{const a=i?i.weight:null;n*=Math.pow(r===0&&a?Number.EPSILON:r,(a||1)*(t?1:o))}),s.score=n})}function cN(e,t){const s=e.matches;t.matches=[],Le(s)&&s.forEach(n=>{if(!Le(n.indices)||!n.indices.length)return;const{indices:i,value:o}=n;let r={indices:i,value:o};n.key&&(r.key=n.key.src),n.idx>-1&&(r.refIndex=n.idx),t.matches.push(r)})}function dN(e,t){t.score=e.score}function uN(e,t,{includeMatches:s=wt.includeMatches,includeScore:n=wt.includeScore}={}){const i=[];return s&&i.push(cN),n&&i.push(dN),e.map(o=>{const{idx:r}=o,a={item:t[r],refIndex:r};return i.length&&i.forEach(l=>{l(o,a)}),a})}class to{constructor(t,s={},n){this.options={...wt,...s},this.options.useExtendedSearch,this._keyStore=new RR(this.options.keys),this.setCollection(t,n)}setCollection(t,s){if(this._docs=t,s&&!(s instanceof lu))throw new Error(MR);this._myIndex=s||_b(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){Le(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const s=[];for(let n=0,i=this._docs.length;n-1&&(l=l.slice(0,s)),uN(l,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(t){const s=Gc(t,this.options),{records:n}=this._myIndex,i=[];return n.forEach(({v:o,i:r,n:a})=>{if(!Le(o))return;const{isMatch:l,score:c,indices:d}=s.searchIn(o);l&&i.push({item:o,idx:r,matches:[{score:c,value:o,norm:a,indices:d}]})}),i}_searchLogical(t){const s=xb(t,this.options),n=(a,l,c)=>{if(!a.children){const{keyId:h,searcher:p}=a,g=this._findMatches({key:this._keyStore.get(h),value:this._myIndex.getValueForItemAtKeyId(l,h),searcher:p});return g&&g.length?[{idx:c,item:l,matches:g}]:[]}const d=[];for(let h=0,p=a.children.length;h{if(Le(a)){let c=n(s,a,l);c.length&&(o[l]||(o[l]={idx:l,item:a,matches:[]},r.push(o[l])),c.forEach(({matches:d})=>{o[l].matches.push(...d)}))}}),r}_searchObjectList(t){const s=Gc(t,this.options),{keys:n,records:i}=this._myIndex,o=[];return i.forEach(({$:r,i:a})=>{if(!Le(r))return;let l=[];n.forEach((c,d)=>{l.push(...this._findMatches({key:c,value:r[d],searcher:s}))}),l.length&&o.push({idx:a,item:r,matches:l})}),o}_findMatches({key:t,value:s,searcher:n}){if(!Le(s))return[];let i=[];if(Hs(s))s.forEach(({v:o,i:r,n:a})=>{if(!Le(o))return;const{isMatch:l,score:c,indices:d}=n.searchIn(o);l&&i.push({score:c,key:t,value:o,idx:r,norm:a,indices:d})});else{const{v:o,n:r}=s,{isMatch:a,score:l,indices:c}=n.searchIn(o);a&&i.push({score:l,key:t,value:o,norm:r,indices:c})}return i}}to.version="7.0.0";to.createIndex=_b;to.parseIndex=zR;to.config=wt;to.parseQuery=xb;oN(iN);const hN={name:"peerSettings",props:{selectedPeer:Object},data(){return{data:void 0,dataChanged:!1,showKey:!1,saving:!1}},setup(){return{dashboardConfigurationStore:Ht()}},methods:{reset(){this.selectedPeer&&(this.data=JSON.parse(JSON.stringify(this.selectedPeer)),this.dataChanged=!1)},savePeer(){this.saving=!0,Zt(`/api/updatePeerSettings/${this.$route.params.id}`,this.data,e=>{this.saving=!1,e.status?this.dashboardConfigurationStore.newMessage("Server","Peer Updated!","success"):this.dashboardConfigurationStore.newMessage("Server",e.message,"danger"),this.$emit("refresh")})}},beforeMount(){this.reset()},mounted(){this.$el.querySelectorAll("input").forEach(e=>{e.addEventListener("keyup",()=>{this.dataChanged=!0})})}},Ce=e=>(ss("data-v-55ffd43e"),e=e(),ns(),e),fN={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},pN={class:"container d-flex h-100 w-100"},gN={class:"m-auto modal-dialog-centered dashboardModal"},mN={class:"card rounded-3 shadow flex-grow-1"},_N={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4"},bN=Ce(()=>u("h4",{class:"mb-0"},"Peer Settings",-1)),vN={key:0,class:"card-body px-4 pb-4"},yN={class:"d-flex flex-column gap-2 mb-4"},xN=Ce(()=>u("small",{class:"text-muted"},"Public Key",-1)),wN=Ce(()=>u("br",null,null,-1)),SN=Ce(()=>u("label",{for:"peer_name_textbox",class:"form-label"},[u("small",{class:"text-muted"},"Name")],-1)),EN=["disabled"],AN={class:"d-flex position-relative"},CN=Ce(()=>u("label",{for:"peer_private_key_textbox",class:"form-label"},[u("small",{class:"text-muted"},[rt("Private Key "),u("code",null,"(Required for QR Code and Download)")])],-1)),$N=["type","disabled"],PN=Ce(()=>u("label",{for:"peer_allowed_ip_textbox",class:"form-label"},[u("small",{class:"text-muted"},[rt("Allowed IPs "),u("code",null,"(Required)")])],-1)),kN=["disabled"],TN=Ce(()=>u("label",{for:"peer_endpoint_allowed_ips",class:"form-label"},[u("small",{class:"text-muted"},[rt("Endpoint Allowed IPs "),u("code",null,"(Required)")])],-1)),MN=["disabled"],DN=Ce(()=>u("label",{for:"peer_DNS_textbox",class:"form-label"},[u("small",{class:"text-muted"},"DNS")],-1)),IN=["disabled"],ON=Ce(()=>u("hr",null,null,-1)),LN={class:"accordion mt-2",id:"peerSettingsAccordion"},RN={class:"accordion-item"},NN=Ce(()=>u("h2",{class:"accordion-header"},[u("button",{class:"accordion-button rounded-3 collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#peerSettingsAccordionOptional"}," Optional Settings ")],-1)),FN={id:"peerSettingsAccordionOptional",class:"accordion-collapse collapse","data-bs-parent":"#peerSettingsAccordion"},BN={class:"accordion-body d-flex flex-column gap-2 mb-2"},VN=Ce(()=>u("label",{for:"peer_preshared_key_textbox",class:"form-label"},[u("small",{class:"text-muted"},"Pre-Shared Key")],-1)),jN=["disabled"],HN=Ce(()=>u("label",{for:"peer_mtu",class:"form-label"},[u("small",{class:"text-muted"},"MTU")],-1)),WN=["disabled"],zN=Ce(()=>u("label",{for:"peer_keep_alive",class:"form-label"},[u("small",{class:"text-muted"},"Persistent Keepalive")],-1)),KN=["disabled"],UN={class:"d-flex align-items-center gap-2"},YN=["disabled"],qN=Ce(()=>u("i",{class:"bi bi-arrow-clockwise ms-2"},null,-1)),GN=["disabled"],JN=Ce(()=>u("i",{class:"bi bi-save-fill ms-2"},null,-1));function XN(e,t,s,n,i,o){return O(),B("div",fN,[u("div",pN,[u("div",gN,[u("div",mN,[u("div",_N,[bN,u("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=r=>this.$emit("close"))})]),this.data?(O(),B("div",vN,[u("div",yN,[u("div",null,[xN,wN,u("small",null,[u("samp",null,nt(this.data.id),1)])]),u("div",null,[SN,ft(u("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[1]||(t[1]=r=>this.data.name=r),id:"peer_name_textbox",placeholder:""},null,8,EN),[[bt,this.data.name]])]),u("div",null,[u("div",AN,[CN,u("a",{role:"button",class:"ms-auto text-decoration-none toggleShowKey",onClick:t[2]||(t[2]=r=>this.showKey=!this.showKey)},[u("i",{class:Mt(["bi",[this.showKey?"bi-eye-slash-fill":"bi-eye-fill"]])},null,2)])]),ft(u("input",{type:[this.showKey?"text":"password"],class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[3]||(t[3]=r=>this.data.private_key=r),id:"peer_private_key_textbox",style:{"padding-right":"40px"}},null,8,$N),[[OS,this.data.private_key]])]),u("div",null,[PN,ft(u("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[4]||(t[4]=r=>this.data.allowed_ip=r),id:"peer_allowed_ip_textbox"},null,8,kN),[[bt,this.data.allowed_ip]])]),u("div",null,[TN,ft(u("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[5]||(t[5]=r=>this.data.endpoint_allowed_ip=r),id:"peer_endpoint_allowed_ips"},null,8,MN),[[bt,this.data.endpoint_allowed_ip]])]),u("div",null,[DN,ft(u("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[6]||(t[6]=r=>this.data.DNS=r),id:"peer_DNS_textbox"},null,8,IN),[[bt,this.data.DNS]])]),ON,u("div",LN,[u("div",RN,[NN,u("div",FN,[u("div",BN,[u("div",null,[VN,ft(u("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[7]||(t[7]=r=>this.data.preshared_key=r),id:"peer_preshared_key_textbox"},null,8,jN),[[bt,this.data.preshared_key]])]),u("div",null,[HN,ft(u("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[8]||(t[8]=r=>this.data.mtu=r),id:"peer_mtu"},null,8,WN),[[bt,this.data.mtu]])]),u("div",null,[zN,ft(u("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[9]||(t[9]=r=>this.data.keepalive=r),id:"peer_keep_alive"},null,8,KN),[[bt,this.data.keepalive]])])])])])])]),u("div",UN,[u("button",{class:"btn btn-secondary rounded-3 shadow",onClick:t[10]||(t[10]=r=>this.reset()),disabled:!this.dataChanged||this.saving},[rt(" Reset "),qN],8,YN),u("button",{class:"ms-auto btn btn-dark btn-brand rounded-3 px-3 py-2 shadow",disabled:!this.dataChanged||this.saving,onClick:t[11]||(t[11]=r=>this.savePeer())},[rt(" Save Peer"),JN],8,GN)])])):xt("",!0)])])])])}const QN=Et(hN,[["render",XN],["__scopeId","data-v-55ffd43e"]]);var eo={},ZN=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},wb={},je={};let cu;const tF=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];je.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};je.getSymbolTotalCodewords=function(t){return tF[t]};je.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};je.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');cu=t};je.isKanjiModeEnabled=function(){return typeof cu<"u"};je.toSJIS=function(t){return cu(t)};var hl={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(s){if(typeof s!="string")throw new Error("Param is not a string");switch(s.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+s)}}e.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},e.from=function(n,i){if(e.isValid(n))return n;try{return t(n)}catch{return i}}})(hl);function Sb(){this.buffer=[],this.length=0}Sb.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let s=0;s>>t-s-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var eF=Sb;function ur(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}ur.prototype.set=function(e,t,s,n){const i=e*this.size+t;this.data[i]=s,n&&(this.reservedBit[i]=!0)};ur.prototype.get=function(e,t){return this.data[e*this.size+t]};ur.prototype.xor=function(e,t,s){this.data[e*this.size+t]^=s};ur.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var sF=ur,Eb={};(function(e){const t=je.getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const i=Math.floor(n/7)+2,o=t(n),r=o===145?26:Math.ceil((o-13)/(2*i-2))*2,a=[o-7];for(let l=1;l=0&&i<=7},e.from=function(i){return e.isValid(i)?parseInt(i,10):void 0},e.getPenaltyN1=function(i){const o=i.size;let r=0,a=0,l=0,c=null,d=null;for(let h=0;h=5&&(r+=t.N1+(a-5)),c=g,a=1),g=i.get(p,h),g===d?l++:(l>=5&&(r+=t.N1+(l-5)),d=g,l=1)}a>=5&&(r+=t.N1+(a-5)),l>=5&&(r+=t.N1+(l-5))}return r},e.getPenaltyN2=function(i){const o=i.size;let r=0;for(let a=0;a=10&&(a===1488||a===93)&&r++,l=l<<1&2047|i.get(d,c),d>=10&&(l===1488||l===93)&&r++}return r*t.N3},e.getPenaltyN4=function(i){let o=0;const r=i.data.length;for(let l=0;l=0;){const r=o[0];for(let l=0;l0){const o=new Uint8Array(this.degree);return o.set(n,i),o}return n};var iF=du,kb={},Pn={},uu={};uu.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var As={};const Tb="[0-9]+",oF="[A-Z $%*+\\-./:]+";let er="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";er=er.replace(/u/g,"\\u");const rF="(?:(?![A-Z0-9 $%*+\\-./:]|"+er+`)(?:.|[\r -]))+`;As.KANJI=new RegExp(er,"g");As.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");As.BYTE=new RegExp(rF,"g");As.NUMERIC=new RegExp(Tb,"g");As.ALPHANUMERIC=new RegExp(oF,"g");const aF=new RegExp("^"+er+"$"),lF=new RegExp("^"+Tb+"$"),cF=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");As.testKanji=function(t){return aF.test(t)};As.testNumeric=function(t){return lF.test(t)};As.testAlphanumeric=function(t){return cF.test(t)};(function(e){const t=uu,s=As;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,r){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(r))throw new Error("Invalid version: "+r);return r>=1&&r<10?o.ccBits[0]:r<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return s.testNumeric(o)?e.NUMERIC:s.testAlphanumeric(o)?e.ALPHANUMERIC:s.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function n(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+i)}}e.from=function(o,r){if(e.isValid(o))return o;try{return n(o)}catch{return r}}})(Pn);(function(e){const t=je,s=fl,n=hl,i=Pn,o=uu,r=7973,a=t.getBCHDigit(r);function l(p,g,m){for(let _=1;_<=40;_++)if(g<=e.getCapacity(_,m,p))return _}function c(p,g){return i.getCharCountIndicator(p,g)+4}function d(p,g){let m=0;return p.forEach(function(_){const v=c(_.mode,g);m+=v+_.getBitsLength()}),m}function h(p,g){for(let m=1;m<=40;m++)if(d(p,m)<=e.getCapacity(m,g,i.MIXED))return m}e.from=function(g,m){return o.isValid(g)?parseInt(g,10):m},e.getCapacity=function(g,m,_){if(!o.isValid(g))throw new Error("Invalid QR Code version");typeof _>"u"&&(_=i.BYTE);const v=t.getSymbolTotalCodewords(g),w=s.getTotalCodewordsCount(g,m),S=(v-w)*8;if(_===i.MIXED)return S;const $=S-c(_,g);switch(_){case i.NUMERIC:return Math.floor($/10*3);case i.ALPHANUMERIC:return Math.floor($/11*2);case i.KANJI:return Math.floor($/13);case i.BYTE:default:return Math.floor($/8)}},e.getBestVersionForData=function(g,m){let _;const v=n.from(m,n.M);if(Array.isArray(g)){if(g.length>1)return h(g,v);if(g.length===0)return 1;_=g[0]}else _=g;return l(_.mode,_.getLength(),v)},e.getEncodedBits=function(g){if(!o.isValid(g)||g<7)throw new Error("Invalid QR Code version");let m=g<<12;for(;t.getBCHDigit(m)-a>=0;)m^=r<=0;)i^=Db<0&&(n=this.data.substr(s),i=parseInt(n,10),t.put(i,o*3+1))};var hF=Yi;const fF=Pn,oc=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function qi(e){this.mode=fF.ALPHANUMERIC,this.data=e}qi.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};qi.prototype.getLength=function(){return this.data.length};qi.prototype.getBitsLength=function(){return qi.getBitsLength(this.data.length)};qi.prototype.write=function(t){let s;for(s=0;s+2<=this.data.length;s+=2){let n=oc.indexOf(this.data[s])*45;n+=oc.indexOf(this.data[s+1]),t.put(n,11)}this.data.length%2&&t.put(oc.indexOf(this.data[s]),6)};var pF=qi,gF=function(t){for(var s=[],n=t.length,i=0;i=55296&&o<=56319&&n>i+1){var r=t.charCodeAt(i+1);r>=56320&&r<=57343&&(o=(o-55296)*1024+r-56320+65536,i+=1)}if(o<128){s.push(o);continue}if(o<2048){s.push(o>>6|192),s.push(o&63|128);continue}if(o<55296||o>=57344&&o<65536){s.push(o>>12|224),s.push(o>>6&63|128),s.push(o&63|128);continue}if(o>=65536&&o<=1114111){s.push(o>>18|240),s.push(o>>12&63|128),s.push(o>>6&63|128),s.push(o&63|128);continue}s.push(239,191,189)}return new Uint8Array(s).buffer};const mF=gF,_F=Pn;function Gi(e){this.mode=_F.BYTE,typeof e=="string"&&(e=mF(e)),this.data=new Uint8Array(e)}Gi.getBitsLength=function(t){return t*8};Gi.prototype.getLength=function(){return this.data.length};Gi.prototype.getBitsLength=function(){return Gi.getBitsLength(this.data.length)};Gi.prototype.write=function(e){for(let t=0,s=this.data.length;t=33088&&s<=40956)s-=33088;else if(s>=57408&&s<=60351)s-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+` -Make sure your charset is UTF-8`);s=(s>>>8&255)*192+(s&255),e.put(s,13)}};var xF=Ji,Ob={exports:{}};(function(e){var t={single_source_shortest_paths:function(s,n,i){var o={},r={};r[n]=0;var a=t.PriorityQueue.make();a.push(n,0);for(var l,c,d,h,p,g,m,_,v;!a.empty();){l=a.pop(),c=l.value,h=l.cost,p=s[c]||{};for(d in p)p.hasOwnProperty(d)&&(g=p[d],m=h+g,_=r[d],v=typeof r[d]>"u",(v||_>m)&&(r[d]=m,a.push(d,m),o[d]=c))}if(typeof i<"u"&&typeof r[i]>"u"){var w=["Could not find a path from ",n," to ",i,"."].join("");throw new Error(w)}return o},extract_shortest_path_from_predecessor_list:function(s,n){for(var i=[],o=n;o;)i.push(o),s[o],o=s[o];return i.reverse(),i},find_path:function(s,n,i){var o=t.single_source_shortest_paths(s,n,i);return t.extract_shortest_path_from_predecessor_list(o,i)},PriorityQueue:{make:function(s){var n=t.PriorityQueue,i={},o;s=s||{};for(o in n)n.hasOwnProperty(o)&&(i[o]=n[o]);return i.queue=[],i.sorter=s.sorter||n.default_sorter,i},default_sorter:function(s,n){return s.cost-n.cost},push:function(s,n){var i={value:s,cost:n};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Ob);var wF=Ob.exports;(function(e){const t=Pn,s=hF,n=pF,i=bF,o=xF,r=As,a=je,l=wF;function c(w){return unescape(encodeURIComponent(w)).length}function d(w,S,$){const T=[];let y;for(;(y=w.exec($))!==null;)T.push({data:y[0],index:y.index,mode:S,length:y[0].length});return T}function h(w){const S=d(r.NUMERIC,t.NUMERIC,w),$=d(r.ALPHANUMERIC,t.ALPHANUMERIC,w);let T,y;return a.isKanjiModeEnabled()?(T=d(r.BYTE,t.BYTE,w),y=d(r.KANJI,t.KANJI,w)):(T=d(r.BYTE_KANJI,t.BYTE,w),y=[]),S.concat($,T,y).sort(function(C,E){return C.index-E.index}).map(function(C){return{data:C.data,mode:C.mode,length:C.length}})}function p(w,S){switch(S){case t.NUMERIC:return s.getBitsLength(w);case t.ALPHANUMERIC:return n.getBitsLength(w);case t.KANJI:return o.getBitsLength(w);case t.BYTE:return i.getBitsLength(w)}}function g(w){return w.reduce(function(S,$){const T=S.length-1>=0?S[S.length-1]:null;return T&&T.mode===$.mode?(S[S.length-1].data+=$.data,S):(S.push($),S)},[])}function m(w){const S=[];for(let $=0;$=0&&a<=6&&(l===0||l===6)||l>=0&&l<=6&&(a===0||a===6)||a>=2&&a<=4&&l>=2&&l<=4?e.set(o+a,r+l,!0,!0):e.set(o+a,r+l,!1,!0))}}function MF(e){const t=e.size;for(let s=8;s>a&1)===1,e.set(i,o,r,!0),e.set(o,i,r,!0)}function lc(e,t,s){const n=e.size,i=PF.getEncodedBits(t,s);let o,r;for(o=0;o<15;o++)r=(i>>o&1)===1,o<6?e.set(o,8,r,!0):o<8?e.set(o+1,8,r,!0):e.set(n-15+o,8,r,!0),o<8?e.set(8,n-o-1,r,!0):o<9?e.set(8,15-o-1+1,r,!0):e.set(8,15-o-1,r,!0);e.set(n-8,8,1,!0)}function OF(e,t){const s=e.size;let n=-1,i=s-1,o=7,r=0;for(let a=s-1;a>0;a-=2)for(a===6&&a--;;){for(let l=0;l<2;l++)if(!e.isReserved(i,a-l)){let c=!1;r>>o&1)===1),e.set(i,a-l,c),o--,o===-1&&(r++,o=7)}if(i+=n,i<0||s<=i){i-=n,n=-n;break}}}function LF(e,t,s){const n=new SF;s.forEach(function(l){n.put(l.mode.bit,4),n.put(l.getLength(),kF.getCharCountIndicator(l.mode,e)),l.write(n)});const i=gl.getSymbolTotalCodewords(e),o=td.getTotalCodewordsCount(e,t),r=(i-o)*8;for(n.getLengthInBits()+4<=r&&n.put(0,4);n.getLengthInBits()%8!==0;)n.putBit(0);const a=(r-n.getLengthInBits())/8;for(let l=0;lM+k.before.length+k.lines.length+k.after.length,0);if(w+=e.beforeBody.length+e.afterBody.length,d&&(_+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),w){const M=t.displayColors?Math.max(r,l.lineHeight):l.lineHeight;_+=p*M+(w-p)*l.lineHeight+(w-1)*t.bodySpacing}f&&(_+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let A=0;const $=function(M){v=Math.max(v,n.measureText(M).width+A)};return n.save(),n.font=c.string,ut(e.title,$),n.font=l.string,ut(e.beforeBody.concat(e.afterBody),$),A=t.displayColors?a+2+t.boxPadding:0,ut(s,M=>{ut(M.before,$),ut(M.lines,$),ut(M.after,$)}),A=0,n.font=u.string,ut(e.footer,$),n.restore(),v+=g.width,{width:v,height:_}}function g6(e,t){const{y:n,height:s}=t;return ne.height-s/2?"bottom":"center"}function _6(e,t,n,s){const{x:i,width:o}=s,a=n.caretSize+n.caretPadding;if(e==="left"&&i+o+a>t.width||e==="right"&&i-o-a<0)return!0}function b6(e,t,n,s){const{x:i,width:o}=n,{width:a,chartArea:{left:r,right:l}}=e;let c="center";return s==="center"?c=i<=(r+l)/2?"left":"right":i<=o/2?c="left":i>=a-o/2&&(c="right"),_6(c,e,t,n)&&(c="center"),c}function z_(e,t,n){const s=n.yAlign||t.yAlign||g6(e,n);return{xAlign:n.xAlign||t.xAlign||b6(e,t,n,s),yAlign:s}}function v6(e,t){let{x:n,width:s}=e;return t==="right"?n-=s:t==="center"&&(n-=s/2),n}function y6(e,t,n){let{y:s,height:i}=e;return t==="top"?s+=n:t==="bottom"?s-=i+n:s-=i/2,s}function Y_(e,t,n,s){const{caretSize:i,caretPadding:o,cornerRadius:a}=e,{xAlign:r,yAlign:l}=n,c=i+o,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=ko(a);let g=v6(t,r);const _=y6(t,l,c);return l==="center"?r==="left"?g+=c:r==="right"&&(g-=c):r==="left"?g-=Math.max(u,f)+i:r==="right"&&(g+=Math.max(d,p)+i),{x:Qt(g,0,s.width-t.width),y:Qt(_,0,s.height-t.height)}}function ql(e,t,n){const s=dn(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-s.right:e.x+s.left}function U_(e){return bs([],Hs(e))}function w6(e,t,n){return Yi(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function K_(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const u1={beforeTitle:Fs,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,s=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(s>0&&t.dataIndex"u"?u1[t].call(n,s):i}class fh extends si{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,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,s=this.options.setContext(this.getContext()),i=s.enabled&&n.options.animation&&s.animations,o=new z0(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=w6(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:s}=n,i=xn(s,"beforeTitle",this,t),o=xn(s,"title",this,t),a=xn(s,"afterTitle",this,t);let r=[];return r=bs(r,Hs(i)),r=bs(r,Hs(o)),r=bs(r,Hs(a)),r}getBeforeBody(t,n){return U_(xn(n.callbacks,"beforeBody",this,t))}getBody(t,n){const{callbacks:s}=n,i=[];return ut(t,o=>{const a={before:[],lines:[],after:[]},r=K_(s,o);bs(a.before,Hs(xn(r,"beforeLabel",this,o))),bs(a.lines,xn(r,"label",this,o)),bs(a.after,Hs(xn(r,"afterLabel",this,o))),i.push(a)}),i}getAfterBody(t,n){return U_(xn(n.callbacks,"afterBody",this,t))}getFooter(t,n){const{callbacks:s}=n,i=xn(s,"beforeFooter",this,t),o=xn(s,"footer",this,t),a=xn(s,"afterFooter",this,t);let r=[];return r=bs(r,Hs(i)),r=bs(r,Hs(o)),r=bs(r,Hs(a)),r}_createItems(t){const n=this._active,s=this.chart.data,i=[],o=[],a=[];let r=[],l,c;for(l=0,c=n.length;lt.filter(u,d,f,s))),t.itemSort&&(r=r.sort((u,d)=>t.itemSort(u,d,s))),ut(r,u=>{const d=K_(t.callbacks,u);i.push(xn(d,"labelColor",this,u)),o.push(xn(d,"labelPointStyle",this,u)),a.push(xn(d,"labelTextColor",this,u))}),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=a,this.dataPoints=r,r}update(t,n){const s=this.options.setContext(this.getContext()),i=this._active;let o,a=[];if(!i.length)this.opacity!==0&&(o={opacity:0});else{const r=cr[s.position].call(this,i,this._eventPosition);a=this._createItems(s),this.title=this.getTitle(a,s),this.beforeBody=this.getBeforeBody(a,s),this.body=this.getBody(a,s),this.afterBody=this.getAfterBody(a,s),this.footer=this.getFooter(a,s);const l=this._size=W_(this,s),c=Object.assign({},r,l),u=z_(this.chart,s,c),d=Y_(s,c,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,o={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:r.x,caretY:r.y}}this._tooltipItems=a,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,s,i){const o=this.getCaretPosition(t,s,i);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)}getCaretPosition(t,n,s){const{xAlign:i,yAlign:o}=this,{caretSize:a,cornerRadius:r}=s,{topLeft:l,topRight:c,bottomLeft:u,bottomRight:d}=ko(r),{x:f,y:p}=t,{width:g,height:_}=n;let v,w,A,$,M,k;return o==="center"?(M=p+_/2,i==="left"?(v=f,w=v-a,$=M+a,k=M-a):(v=f+g,w=v+a,$=M-a,k=M+a),A=v):(i==="left"?w=f+Math.max(l,u)+a:i==="right"?w=f+g-Math.max(c,d)-a:w=this.caretX,o==="top"?($=p,M=$-a,v=w-a,A=w+a):($=p+_,M=$+a,v=w+a,A=w-a),k=$),{x1:v,x2:w,x3:A,y1:$,y2:M,y3:k}}drawTitle(t,n,s){const i=this.title,o=i.length;let a,r,l;if(o){const c=ca(s.rtl,this.x,this.width);for(t.x=ql(this,s.titleAlign,s),n.textAlign=c.textAlign(s.titleAlign),n.textBaseline="middle",a=Yt(s.titleFont),r=s.titleSpacing,n.fillStyle=s.titleColor,n.font=a.string,l=0;lA!==0)?(t.beginPath(),t.fillStyle=o.multiKeyBackground,Kr(t,{x:_,y:g,w:c,h:l,radius:w}),t.fill(),t.stroke(),t.fillStyle=a.backgroundColor,t.beginPath(),Kr(t,{x:v,y:g+1,w:c-2,h:l-2,radius:w}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(_,g,c,l),t.strokeRect(_,g,c,l),t.fillStyle=a.backgroundColor,t.fillRect(v,g+1,c-2,l-2))}t.fillStyle=this.labelTextColors[s]}drawBody(t,n,s){const{body:i}=this,{bodySpacing:o,bodyAlign:a,displayColors:r,boxHeight:l,boxWidth:c,boxPadding:u}=s,d=Yt(s.bodyFont);let f=d.lineHeight,p=0;const g=ca(s.rtl,this.x,this.width),_=function(E){n.fillText(E,g.x(t.x+p),t.y+f/2),t.y+=f+o},v=g.textAlign(a);let w,A,$,M,k,y,x;for(n.textAlign=a,n.textBaseline="middle",n.font=d.string,t.x=ql(this,v,s),n.fillStyle=s.bodyColor,ut(this.beforeBody,_),p=r&&v!=="right"?a==="center"?c/2+u:c+2+u:0,M=0,y=i.length;M0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,s=this.$animations,i=s&&s.x,o=s&&s.y;if(i||o){const a=cr[t.position].call(this,this._active,this._eventPosition);if(!a)return;const r=this._size=W_(this,t),l=Object.assign({},a,this._size),c=z_(n,t,l),u=Y_(t,l,c,n);(i._to!==u.x||o._to!==u.y)&&(this.xAlign=c.xAlign,this.yAlign=c.yAlign,this.width=r.width,this.height=r.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const a=dn(n.padding),r=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&r&&(t.save(),t.globalAlpha=s,this.drawBackground(o,t,i,n),B0(t,n.textDirection),o.y+=a.top,this.drawTitle(o,t,n),this.drawBody(o,t,n),this.drawFooter(o,t,n),V0(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const s=this._active,i=t.map(({datasetIndex:r,index:l})=>{const c=this.chart.getDatasetMeta(r);if(!c)throw new Error("Cannot find a dataset at index "+r);return{datasetIndex:r,element:c.data[l],index:l}}),o=!Mc(s,i),a=this._positionChanged(i,n);(o||a)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,s=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],a=this._getActiveElements(t,o,n,s),r=this._positionChanged(a,t),l=n||!Mc(a,o)||r;return l&&(this._active=a,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),l}_getActiveElements(t,n,s,i){const o=this.options;if(t.type==="mouseout")return[];if(!i)return n.filter(r=>this.chart.data.datasets[r.datasetIndex]&&this.chart.getDatasetMeta(r.datasetIndex).controller.getParsed(r.index)!==void 0);const a=this.chart.getElementsAtEventForMode(t,o.mode,o,s);return o.reverse&&a.reverse(),a}_positionChanged(t,n){const{caretX:s,caretY:i,options:o}=this,a=cr[o.position].call(this,t,n);return a!==!1&&(s!==a.x||i!==a.y)}}re(fh,"positioners",cr);var x6={id:"tooltip",_element:fh,positioners:cr,afterInit(e,t,n){n&&(e.tooltip=new fh({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,cancelable:!0})===!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:u1},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const k6=(e,t,n,s)=>(typeof t=="string"?(n=e.push(t)-1,s.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function S6(e,t,n,s){const i=e.indexOf(t);if(i===-1)return k6(e,t,n,s);const o=e.lastIndexOf(t);return i!==o?n:i}const A6=(e,t)=>e===null?null:Qt(Math.round(e),0,t);function q_(e){const t=this.getLabels();return e>=0&&en.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}re(ph,"id","category"),re(ph,"defaults",{ticks:{callback:q_}});function $6(e,t){const n=[],{bounds:i,step:o,min:a,max:r,precision:l,count:c,maxTicks:u,maxDigits:d,includeBounds:f}=e,p=o||1,g=u-1,{min:_,max:v}=t,w=!ot(a),A=!ot(r),$=!ot(c),M=(v-_)/(d+1);let k=zg((v-_)/g/p)*p,y,x,E,P;if(k<1e-14&&!w&&!A)return[{value:_},{value:v}];P=Math.ceil(v/k)-Math.floor(_/k),P>g&&(k=zg(P*k/g/p)*p),ot(l)||(y=Math.pow(10,l),k=Math.ceil(k*y)/y),i==="ticks"?(x=Math.floor(_/k)*k,E=Math.ceil(v/k)*k):(x=_,E=v),w&&A&&o&&TF((r-a)/o,k/1e3)?(P=Math.round(Math.min((r-a)/k,u)),k=(r-a)/P,x=a,E=r):$?(x=w?a:x,E=A?r:E,P=c-1,k=(E-x)/P):(P=(E-x)/k,Sr(P,Math.round(P),k/1e3)?P=Math.round(P):P=Math.ceil(P));const C=Math.max(Yg(k),Yg(x));y=Math.pow(10,ot(l)?C:l),x=Math.round(x*y)/y,E=Math.round(E*y)/y;let F=0;for(w&&(f&&x!==a?(n.push({value:a}),xr)break;n.push({value:G})}return A&&f&&E!==r?n.length&&Sr(n[n.length-1].value,r,G_(r,M,e))?n[n.length-1].value=r:n.push({value:r}):(!A||E===r)&&n.push({value:E}),n}function G_(e,t,{horizontal:n,minRotation:s}){const i=rs(s),o=(n?Math.sin(i):Math.cos(i))||.001,a=.75*t*(""+e).length;return Math.min(t/o,a)}class Fc extends Lo{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,n){return ot(t)||(typeof t=="number"||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:n,maxDefined:s}=this.getUserBounds();let{min:i,max:o}=this;const a=l=>i=n?i:l,r=l=>o=s?o:l;if(t){const l=Cs(i),c=Cs(o);l<0&&c<0?r(0):l>0&&c>0&&a(0)}if(i===o){let l=o===0?1:Math.abs(o*.05);r(o+l),t||a(i-l)}this.min=i,this.max=o}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:s}=t,i;return s?(i=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} 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 s=this.getTickLimit();s=Math.max(2,s);const i={maxTicks:s,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,a=$6(i,o);return t.bounds==="ticks"&&x0(a,this,"value"),t.reverse?(a.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),a}configure(){const t=this.ticks;let n=this.min,s=this.max;if(super.configure(),this.options.offset&&t.length){const i=(s-n)/Math.max(t.length-1,1)/2;n-=i,s+=i}this._startValue=n,this._endValue=s,this._valueRange=s-n}getLabelForValue(t){return rl(t,this.chart.options.locale,this.options.ticks.format)}}class mh extends Fc{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=$t(t)?t:0,this.max=$t(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,s=rs(this.options.ticks.minRotation),i=(t?Math.sin(s):Math.cos(s))||.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}}re(mh,"id","linear"),re(mh,"defaults",{ticks:{callback:pu.formatters.numeric}});const Gr=e=>Math.floor(ki(e)),lo=(e,t)=>Math.pow(10,Gr(e)+t);function J_(e){return e/Math.pow(10,Gr(e))===1}function X_(e,t,n){const s=Math.pow(10,n),i=Math.floor(e/s);return Math.ceil(t/s)-i}function E6(e,t){const n=t-e;let s=Gr(n);for(;X_(e,t,s)>10;)s++;for(;X_(e,t,s)<10;)s--;return Math.min(s,Gr(e))}function C6(e,{min:t,max:n}){t=Pn(e.min,t);const s=[],i=Gr(t);let o=E6(t,n),a=o<0?Math.pow(10,Math.abs(o)):1;const r=Math.pow(10,o),l=i>o?Math.pow(10,i):0,c=Math.round((t-l)*a)/a,u=Math.floor((t-l)/r/10)*r*10;let d=Math.floor((c-u)/Math.pow(10,o)),f=Pn(e.min,Math.round((l+u+d*Math.pow(10,o))*a)/a);for(;f=10?d=d<15?15:20:d++,d>=20&&(o++,d=2,a=o>=0?1:a),f=Math.round((l+u+d*Math.pow(10,o))*a)/a;const p=Pn(e.max,f);return s.push({value:p,major:J_(p),significand:d}),s}class gh extends Lo{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,n){const s=Fc.prototype.parse.apply(this,[t,n]);if(s===0){this._zero=!0;return}return $t(s)&&s>0?s:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=$t(t)?Math.max(0,t):null,this.max=$t(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!$t(this._userMin)&&(this.min=t===lo(this.min,0)?lo(this.min,-1):lo(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let s=this.min,i=this.max;const o=r=>s=t?s:r,a=r=>i=n?i:r;s===i&&(s<=0?(o(1),a(10)):(o(lo(s,-1)),a(lo(i,1)))),s<=0&&o(lo(i,-1)),i<=0&&a(lo(s,1)),this.min=s,this.max=i}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},s=C6(n,this);return t.bounds==="ticks"&&x0(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}getLabelForValue(t){return t===void 0?"0":rl(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=ki(t),this._valueRange=ki(this.max)-ki(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(ki(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}re(gh,"id","logarithmic"),re(gh,"defaults",{ticks:{callback:pu.formatters.logarithmic,major:{enabled:!0}}});function _h(e){const t=e.ticks;if(t.display&&e.display){const n=dn(t.backdropPadding);return Ge(t.font&&t.font.size,Et.font.size)+n.height}return 0}function P6(e,t,n){return n=vt(n)?n:[n],{w:KF(e,t.string,n),h:n.length*t.lineHeight}}function Q_(e,t,n,s,i){return e===s||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function T6(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),s=[],i=[],o=e._pointLabels.length,a=e.options.pointLabels,r=a.centerPointLabels?wt/o:0;for(let l=0;lt.r&&(r=(s.end-t.r)/o,e.r=Math.max(e.r,t.r+r)),i.startt.b&&(l=(i.end-t.b)/a,e.b=Math.max(e.b,t.b+l))}function D6(e,t,n){const s=e.drawingArea,{extra:i,additionalAngle:o,padding:a,size:r}=n,l=e.getPointPosition(t,s+i+a,o),c=Math.round(Wf(Mn(l.angle+Rt))),u=N6(l.y,r.h,c),d=R6(c),f=L6(l.x,r.w,d);return{visible:!0,x:l.x,y:u,textAlign:d,left:f,top:u,right:f+r.w,bottom:u+r.h}}function O6(e,t){if(!t)return!0;const{left:n,top:s,right:i,bottom:o}=e;return!(Gs({x:n,y:s},t)||Gs({x:n,y:o},t)||Gs({x:i,y:s},t)||Gs({x:i,y:o},t))}function I6(e,t,n){const s=[],i=e._pointLabels.length,o=e.options,{centerPointLabels:a,display:r}=o.pointLabels,l={extra:_h(o)/2,additionalAngle:a?wt/i:0};let c;for(let u=0;u270||n<90)&&(e-=t),e}function F6(e,t,n){const{left:s,top:i,right:o,bottom:a}=n,{backdropColor:r}=t;if(!ot(r)){const l=ko(t.borderRadius),c=dn(t.backdropPadding);e.fillStyle=r;const u=s-c.left,d=i-c.top,f=o-s+c.width,p=a-i+c.height;Object.values(l).some(g=>g!==0)?(e.beginPath(),Kr(e,{x:u,y:d,w:f,h:p,radius:l}),e.fill()):e.fillRect(u,d,f,p)}}function B6(e,t){const{ctx:n,options:{pointLabels:s}}=e;for(let i=t-1;i>=0;i--){const o=e._pointLabelItems[i];if(!o.visible)continue;const a=s.setContext(e.getPointLabelContext(i));F6(n,a,o);const r=Yt(a.font),{x:l,y:c,textAlign:u}=o;To(n,e._pointLabels[i],l,c+r.lineHeight/2,r,{color:a.color,textAlign:u,textBaseline:"middle"})}}function d1(e,t,n,s){const{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,yt);else{let o=e.getPointPosition(0,t);i.moveTo(o.x,o.y);for(let a=1;a{const i=pt(this.options.pointLabels.callback,[n,s],this);return i||i===0?i:""}).filter((n,s)=>this.chart.getDataVisibility(s))}fit(){const t=this.options;t.display&&t.pointLabels.display?T6(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,s,i){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((s-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,s,i))}getIndexAngle(t){const n=yt/(this._pointLabels.length||1),s=this.options.startAngle||0;return Mn(t*n+rs(s))}getDistanceFromCenterForValue(t){if(ot(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(ot(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(d!==0){l=this.getDistanceFromCenterForValue(u.value);const f=this.getContext(d),p=i.setContext(f),g=o.setContext(f);V6(this,p,l,a,g)}}),s.display){for(t.save(),r=a-1;r>=0;r--){const u=s.setContext(this.getPointLabelContext(r)),{color:d,lineWidth:f}=u;!f||!d||(t.lineWidth=f,t.strokeStyle=d,t.setLineDash(u.borderDash),t.lineDashOffset=u.borderDashOffset,l=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),c=this.getPointPosition(r,l),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(c.x,c.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,s=n.ticks;if(!s.display)return;const i=this.getIndexAngle(0);let o,a;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((r,l)=>{if(l===0&&!n.reverse)return;const c=s.setContext(this.getContext(l)),u=Yt(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){t.font=u.string,a=t.measureText(r.label).width,t.fillStyle=c.backdropColor;const d=dn(c.backdropPadding);t.fillRect(-a/2-d.left,-o-u.size/2-d.top,a+d.width,u.size+d.height)}To(t,r.label,0,-o,u,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),t.restore()}drawTitle(){}}re(ur,"id","radialLinear"),re(ur,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:pu.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}}),re(ur,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),re(ur,"descriptors",{angleLines:{_fallback:"grid"}});const vu={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}},Sn=Object.keys(vu);function Z_(e,t){return e-t}function eb(e,t){if(ot(t))return null;const n=e._adapter,{parser:s,round:i,isoWeekday:o}=e._parseOpts;let a=t;return typeof s=="function"&&(a=s(a)),$t(a)||(a=typeof s=="string"?n.parse(a,s):n.parse(a)),a===null?null:(i&&(a=i==="week"&&(Ea(o)||o===!0)?n.startOf(a,"isoWeek",o):n.startOf(a,i)),+a)}function tb(e,t,n,s){const i=Sn.length;for(let o=Sn.indexOf(e);o=Sn.indexOf(n);o--){const a=Sn[o];if(vu[a].common&&e._adapter.diff(i,s,a)>=t-1)return a}return Sn[n?Sn.indexOf(n):0]}function W6(e){for(let t=Sn.indexOf(e)+1,n=Sn.length;t=t?n[s]:n[i];e[o]=!0}}function z6(e,t,n,s){const i=e._adapter,o=+i.startOf(t[0].value,s),a=t[t.length-1].value;let r,l;for(r=o;r<=a;r=+i.add(r,1,s))l=n[r],l>=0&&(t[l].major=!0);return t}function sb(e,t,n){const s=[],i={},o=t.length;let a,r;for(a=0;a+t.value))}initOffsets(t=[]){let n=0,s=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?s=o:s=(o-this.getDecimalForValue(t[t.length-2]))/2);const a=t.length<3?.5:.25;n=Qt(n,0,a),s=Qt(s,0,a),this._offsets={start:n,end:s,factor:1/(n+1+s)}}_generate(){const t=this._adapter,n=this.min,s=this.max,i=this.options,o=i.time,a=o.unit||tb(o.minUnit,n,s,this._getLabelCapacity(n)),r=Ge(i.ticks.stepSize,1),l=a==="week"?o.isoWeekday:!1,c=Ea(l)||l===!0,u={};let d=n,f,p;if(c&&(d=+t.startOf(d,"isoWeek",l)),d=+t.startOf(d,c?"day":a),t.diff(s,n,a)>1e5*r)throw new Error(n+" and "+s+" are too far apart with stepSize of "+r+" "+a);const g=i.ticks.source==="data"&&this.getDataTimestamps();for(f=d,p=0;f+_)}getLabelForValue(t){const n=this._adapter,s=this.options.time;return s.tooltipFormat?n.format(t,s.tooltipFormat):n.format(t,s.displayFormats.datetime)}format(t,n){const i=this.options.time.displayFormats,o=this._unit,a=n||i[o];return this._adapter.format(t,a)}_tickFormatFunction(t,n,s,i){const o=this.options,a=o.ticks.callback;if(a)return pt(a,[t,n,s],this);const r=o.time.displayFormats,l=this._unit,c=this._majorUnit,u=l&&r[l],d=c&&r[c],f=s[n],p=c&&d&&f&&f.major;return this._adapter.format(t,i||(p?d:u))}generateTickLabels(t){let n,s,i;for(n=0,s=t.length;n0?r:1}getDataTimestamps(){let t=this._cache.data||[],n,s;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,s=i.length;n=e[s].pos&&t<=e[i].pos&&({lo:s,hi:i}=qs(e,"pos",t)),{pos:o,time:r}=e[s],{pos:a,time:l}=e[i]):(t>=e[s].time&&t<=e[i].time&&({lo:s,hi:i}=qs(e,"time",t)),{time:o,pos:r}=e[s],{time:a,pos:l}=e[i]);const c=a-o;return c?r+(l-r)*(t-o)/c:r}class bh extends Jr{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=Gl(n,this.min),this._tableRange=Gl(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:s}=this,i=[],o=[];let a,r,l,c,u;for(a=0,r=t.length;a=n&&c<=s&&i.push(c);if(i.length<2)return[{time:n,pos:0},{time:s,pos:1}];for(a=0,r=i.length;ai-o)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const n=this.getDataTimestamps(),s=this.getLabelTimestamps();return n.length&&s.length?t=this.normalize(n.concat(s)):t=n.length?n:s,t=this._cache.all=t,t}getDecimalForValue(t){return(Gl(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const n=this._offsets,s=this.getDecimalForPixel(t)/n.factor-n.end;return Gl(this._table,s*this._tableRange+this._minPos,!0)}}re(bh,"id","timeseries"),re(bh,"defaults",Jr.defaults);const h1={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},Y6={ariaLabel:{type:String},ariaDescribedby:{type:String}},U6={type:{type:String,required:!0},...h1,...Y6},K6=Kv[0]==="2"?(e,t)=>Object.assign(e,{attrs:t}):(e,t)=>Object.assign(e,t);function Qo(e){return Jc(e)?Ze(e):e}function q6(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return Jc(t)?new Proxy(e,{}):e}function G6(e,t){const n=e.options;n&&t&&Object.assign(n,t)}function f1(e,t){e.labels=t}function p1(e,t,n){const s=[];e.datasets=t.map(i=>{const o=e.datasets.find(a=>a[n]===i[n]);return!o||!i.data||s.includes(o)?{...i}:(s.push(o),Object.assign(o,i),o)})}function J6(e,t){const n={labels:[],datasets:[]};return f1(n,e.labels),p1(n,e.datasets,t),n}const X6=Nt({props:U6,setup(e,t){let{expose:n,slots:s}=t;const i=ve(null),o=ef(null);n({chart:o});const a=()=>{if(!i.value)return;const{type:c,data:u,options:d,plugins:f,datasetIdKey:p}=e,g=J6(u,p),_=q6(g,u);o.value=new bu(i.value,{type:c,data:_,options:{...d},plugins:f})},r=()=>{const c=Ze(o.value);c&&(c.destroy(),o.value=null)},l=c=>{c.update(e.updateMode)};return Kt(a),lf(r),Ut([()=>e.options,()=>e.data],(c,u)=>{let[d,f]=c,[p,g]=u;const _=Ze(o.value);if(!_)return;let v=!1;if(d){const w=Qo(d),A=Qo(p);w&&w!==A&&(G6(_,w),v=!0)}if(f){const w=Qo(f.labels),A=Qo(g.labels),$=Qo(f.datasets),M=Qo(g.datasets);w!==A&&(f1(_.config.data,w),v=!0),$&&$!==M&&(p1(_.config.data,$,e.datasetIdKey),v=!0)}v&&Zt(()=>{l(_)})},{deep:!0}),()=>Co("canvas",{role:"img",ariaLabel:e.ariaLabel,ariaDescribedby:e.ariaDescribedby,ref:i},[Co("p",{},[s.default?s.default():""])])}});function m1(e,t){return bu.register(t),Nt({props:h1,setup(n,s){let{expose:i}=s;const o=ef(null),a=r=>{o.value=r==null?void 0:r.chart};return i({chart:o}),()=>Co(X6,K6({ref:a},{type:e,...n}))}})}const Q6=m1("bar",Er),Z6=m1("line",Cr);function ei(e){return Array.isArray?Array.isArray(e):b1(e)==="[object Array]"}const eH=1/0;function tH(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-eH?"-0":t}function nH(e){return e==null?"":tH(e)}function As(e){return typeof e=="string"}function g1(e){return typeof e=="number"}function sH(e){return e===!0||e===!1||iH(e)&&b1(e)=="[object Boolean]"}function _1(e){return typeof e=="object"}function iH(e){return _1(e)&&e!==null}function Dn(e){return e!=null}function Sd(e){return!e.trim().length}function b1(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const oH="Incorrect 'index' type",aH=e=>`Invalid value for key ${e}`,rH=e=>`Pattern length exceeds max of ${e}.`,lH=e=>`Missing ${e} property in key`,cH=e=>`Property 'weight' in key '${e}' must be a positive integer`,ib=Object.prototype.hasOwnProperty;class uH{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(s=>{let i=v1(s);this._keys.push(i),this._keyMap[i.id]=i,n+=i.weight}),this._keys.forEach(s=>{s.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function v1(e){let t=null,n=null,s=null,i=1,o=null;if(As(e)||ei(e))s=e,t=ob(e),n=vh(e);else{if(!ib.call(e,"name"))throw new Error(lH("name"));const a=e.name;if(s=a,ib.call(e,"weight")&&(i=e.weight,i<=0))throw new Error(cH(a));t=ob(a),n=vh(a),o=e.getFn}return{path:t,id:n,weight:i,src:s,getFn:o}}function ob(e){return ei(e)?e:e.split(".")}function vh(e){return ei(e)?e.join("."):e}function dH(e,t){let n=[],s=!1;const i=(o,a,r)=>{if(Dn(o))if(!a[r])n.push(o);else{let l=a[r];const c=o[l];if(!Dn(c))return;if(r===a.length-1&&(As(c)||g1(c)||sH(c)))n.push(nH(c));else if(ei(c)){s=!0;for(let u=0,d=c.length;ue.score===t.score?e.idx{this._keysMap[n.id]=s})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,As(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();As(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,s=this.size();n{let a=i.getFn?i.getFn(t):this.getFn(t,i.path);if(Dn(a)){if(ei(a)){let r=[];const l=[{nestedArrIndex:-1,value:a}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(Dn(u))if(As(u)&&!Sd(u)){let d={v:u,i:c,n:this.norm.get(u)};r.push(d)}else ei(u)&&u.forEach((d,f)=>{l.push({nestedArrIndex:f,value:d})})}s.$[o]=r}else if(As(a)&&!Sd(a)){let r={v:a,n:this.norm.get(a)};s.$[o]=r}}}),this.records.push(s)}toJSON(){return{keys:this.keys,records:this.records}}}function y1(e,t,{getFn:n=Ke.getFn,fieldNormWeight:s=Ke.fieldNormWeight}={}){const i=new tp({getFn:n,fieldNormWeight:s});return i.setKeys(e.map(v1)),i.setSources(t),i.create(),i}function bH(e,{getFn:t=Ke.getFn,fieldNormWeight:n=Ke.fieldNormWeight}={}){const{keys:s,records:i}=e,o=new tp({getFn:t,fieldNormWeight:n});return o.setKeys(s),o.setIndexRecords(i),o}function Jl(e,{errors:t=0,currentLocation:n=0,expectedLocation:s=0,distance:i=Ke.distance,ignoreLocation:o=Ke.ignoreLocation}={}){const a=t/e.length;if(o)return a;const r=Math.abs(s-n);return i?a+r/i:r?1:a}function vH(e=[],t=Ke.minMatchCharLength){let n=[],s=-1,i=-1,o=0;for(let a=e.length;o=t&&n.push([s,i]),s=-1)}return e[o-1]&&o-s>=t&&n.push([s,o-1]),n}const mo=32;function yH(e,t,n,{location:s=Ke.location,distance:i=Ke.distance,threshold:o=Ke.threshold,findAllMatches:a=Ke.findAllMatches,minMatchCharLength:r=Ke.minMatchCharLength,includeMatches:l=Ke.includeMatches,ignoreLocation:c=Ke.ignoreLocation}={}){if(t.length>mo)throw new Error(rH(mo));const u=t.length,d=e.length,f=Math.max(0,Math.min(s,d));let p=o,g=f;const _=r>1||l,v=_?Array(d):[];let w;for(;(w=e.indexOf(t,g))>-1;){let x=Jl(t,{currentLocation:w,expectedLocation:f,distance:i,ignoreLocation:c});if(p=Math.min(x,p),g=w+u,_){let E=0;for(;E=C;Y-=1){let L=Y-1,O=n[e.charAt(L)];if(_&&(v[L]=+!!O),G[Y]=(G[Y+1]<<1|1)&O,x&&(G[Y]|=(A[Y+1]|A[Y])<<1|1|A[Y+1]),G[Y]&k&&($=Jl(t,{errors:x,currentLocation:L,expectedLocation:f,distance:i,ignoreLocation:c}),$<=p)){if(p=$,g=L,g<=f)break;C=Math.max(1,2*f-g)}}if(Jl(t,{errors:x+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:c})>p)break;A=G}const y={isMatch:g>=0,score:Math.max(.001,$)};if(_){const x=vH(v,r);x.length?l&&(y.indices=x):y.isMatch=!1}return y}function wH(e){let t={};for(let n=0,s=e.length;n{this.chunks.push({pattern:f,alphabet:wH(f),startIndex:p})},d=this.pattern.length;if(d>mo){let f=0;const p=d%mo,g=d-p;for(;f{const{isMatch:w,score:A,indices:$}=yH(t,g,_,{location:i+v,distance:o,threshold:a,findAllMatches:r,minMatchCharLength:l,includeMatches:s,ignoreLocation:c});w&&(f=!0),d+=A,w&&$&&(u=[...u,...$])});let p={isMatch:f,score:f?d/this.chunks.length:1};return f&&s&&(p.indices=u),p}}class Ui{constructor(t){this.pattern=t}static isMultiMatch(t){return ab(t,this.multiRegex)}static isSingleMatch(t){return ab(t,this.singleRegex)}search(){}}function ab(e,t){const n=e.match(t);return n?n[1]:null}class xH extends Ui{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class kH extends Ui{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const s=t.indexOf(this.pattern)===-1;return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}}class SH extends Ui{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class AH extends Ui{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class $H extends Ui{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class EH extends Ui{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class x1 extends Ui{constructor(t,{location:n=Ke.location,threshold:s=Ke.threshold,distance:i=Ke.distance,includeMatches:o=Ke.includeMatches,findAllMatches:a=Ke.findAllMatches,minMatchCharLength:r=Ke.minMatchCharLength,isCaseSensitive:l=Ke.isCaseSensitive,ignoreLocation:c=Ke.ignoreLocation}={}){super(t),this._bitapSearch=new w1(t,{location:n,threshold:s,distance:i,includeMatches:o,findAllMatches:a,minMatchCharLength:r,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class k1 extends Ui{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,s;const i=[],o=this.pattern.length;for(;(s=t.indexOf(this.pattern,n))>-1;)n=s+o,i.push([s,n-1]);const a=!!i.length;return{isMatch:a,score:a?0:1,indices:i}}}const yh=[xH,k1,SH,AH,EH,$H,kH,x1],rb=yh.length,CH=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,PH="|";function TH(e,t={}){return e.split(PH).map(n=>{let s=n.trim().split(CH).filter(o=>o&&!!o.trim()),i=[];for(let o=0,a=s.length;o!!(e[Bc.AND]||e[Bc.OR]),IH=e=>!!e[kh.PATH],RH=e=>!ei(e)&&_1(e)&&!Sh(e),lb=e=>({[Bc.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function S1(e,t,{auto:n=!0}={}){const s=i=>{let o=Object.keys(i);const a=IH(i);if(!a&&o.length>1&&!Sh(i))return s(lb(i));if(RH(i)){const l=a?i[kh.PATH]:o[0],c=a?i[kh.PATTERN]:i[l];if(!As(c))throw new Error(aH(l));const u={keyId:vh(l),pattern:c};return n&&(u.searcher=xh(c,t)),u}let r={children:[],operator:o[0]};return o.forEach(l=>{const c=i[l];ei(c)&&c.forEach(u=>{r.children.push(s(u))})}),r};return Sh(e)||(e=lb(e)),s(e)}function LH(e,{ignoreFieldNorm:t=Ke.ignoreFieldNorm}){e.forEach(n=>{let s=1;n.matches.forEach(({key:i,norm:o,score:a})=>{const r=i?i.weight:null;s*=Math.pow(a===0&&r?Number.EPSILON:a,(r||1)*(t?1:o))}),n.score=s})}function NH(e,t){const n=e.matches;t.matches=[],Dn(n)&&n.forEach(s=>{if(!Dn(s.indices)||!s.indices.length)return;const{indices:i,value:o}=s;let a={indices:i,value:o};s.key&&(a.key=s.key.src),s.idx>-1&&(a.refIndex=s.idx),t.matches.push(a)})}function FH(e,t){t.score=e.score}function BH(e,t,{includeMatches:n=Ke.includeMatches,includeScore:s=Ke.includeScore}={}){const i=[];return n&&i.push(NH),s&&i.push(FH),e.map(o=>{const{idx:a}=o,r={item:t[a],refIndex:a};return i.length&&i.forEach(l=>{l(o,r)}),r})}class Fa{constructor(t,n={},s){this.options={...Ke,...n},this.options.useExtendedSearch,this._keyStore=new uH(this.options.keys),this.setCollection(t,s)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof tp))throw new Error(oH);this._myIndex=n||y1(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){Dn(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let s=0,i=this._docs.length;s-1&&(l=l.slice(0,n)),BH(l,this._docs,{includeMatches:s,includeScore:i})}_searchStringList(t){const n=xh(t,this.options),{records:s}=this._myIndex,i=[];return s.forEach(({v:o,i:a,n:r})=>{if(!Dn(o))return;const{isMatch:l,score:c,indices:u}=n.searchIn(o);l&&i.push({item:o,idx:a,matches:[{score:c,value:o,norm:r,indices:u}]})}),i}_searchLogical(t){const n=S1(t,this.options),s=(r,l,c)=>{if(!r.children){const{keyId:d,searcher:f}=r,p=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(l,d),searcher:f});return p&&p.length?[{idx:c,item:l,matches:p}]:[]}const u=[];for(let d=0,f=r.children.length;d{if(Dn(r)){let c=s(n,r,l);c.length&&(o[l]||(o[l]={idx:l,item:r,matches:[]},a.push(o[l])),c.forEach(({matches:u})=>{o[l].matches.push(...u)}))}}),a}_searchObjectList(t){const n=xh(t,this.options),{keys:s,records:i}=this._myIndex,o=[];return i.forEach(({$:a,i:r})=>{if(!Dn(a))return;let l=[];s.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:a[u],searcher:n}))}),l.length&&o.push({idx:r,item:a,matches:l})}),o}_findMatches({key:t,value:n,searcher:s}){if(!Dn(n))return[];let i=[];if(ei(n))n.forEach(({v:o,i:a,n:r})=>{if(!Dn(o))return;const{isMatch:l,score:c,indices:u}=s.searchIn(o);l&&i.push({score:c,key:t,value:o,idx:a,norm:r,indices:u})});else{const{v:o,n:a}=n,{isMatch:r,score:l,indices:c}=s.searchIn(o);r&&i.push({score:l,key:t,value:o,norm:a,indices:c})}return i}}Fa.version="7.0.0";Fa.createIndex=y1;Fa.parseIndex=bH;Fa.config=Ke;Fa.parseQuery=S1;OH(DH);const VH={name:"peerSettings",props:{selectedPeer:Object},data(){return{data:void 0,dataChanged:!1,showKey:!1,saving:!1}},setup(){return{dashboardConfigurationStore:st()}},methods:{reset(){this.selectedPeer&&(this.data=JSON.parse(JSON.stringify(this.selectedPeer)),this.dataChanged=!1)},savePeer(){this.saving=!0,dt(`/api/updatePeerSettings/${this.$route.params.id}`,this.data,e=>{this.saving=!1,e.status?this.dashboardConfigurationStore.newMessage("Server","Peer Updated!","success"):this.dashboardConfigurationStore.newMessage("Server",e.message,"danger"),this.$emit("refresh")})},resetPeerData(e){this.saving=!0,dt(`/api/resetPeerData/${this.$route.params.id}`,{id:this.data.id,type:e},t=>{this.saving=!1,t.status?this.dashboardConfigurationStore.newMessage("Server","Peer data usage reset successfully.","success"):this.dashboardConfigurationStore.newMessage("Server",t.message,"danger"),this.$emit("refresh")})}},beforeMount(){this.reset()},mounted(){this.$el.querySelectorAll("input").forEach(e=>{e.addEventListener("keyup",()=>{this.dataChanged=!0})})}},en=e=>(En("data-v-5c34b056"),e=e(),Cn(),e),HH={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},jH={class:"container d-flex h-100 w-100"},WH={class:"m-auto modal-dialog-centered dashboardModal"},zH={class:"card rounded-3 shadow flex-grow-1"},YH={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},UH=en(()=>h("h4",{class:"mb-0"},"Peer Settings",-1)),KH={key:0,class:"card-body px-4 pb-4"},qH={class:"d-flex flex-column gap-2 mb-4"},GH={class:"d-flex align-items-center"},JH=en(()=>h("small",{class:"text-muted"},"Public Key",-1)),XH={class:"ms-auto"},QH=en(()=>h("label",{for:"peer_name_textbox",class:"form-label"},[h("small",{class:"text-muted"},"Name")],-1)),ZH=["disabled"],e8={class:"d-flex position-relative"},t8=en(()=>h("label",{for:"peer_private_key_textbox",class:"form-label"},[h("small",{class:"text-muted"},[we("Private Key "),h("code",null,"(Required for QR Code and Download)")])],-1)),n8=["type","disabled"],s8=en(()=>h("label",{for:"peer_allowed_ip_textbox",class:"form-label"},[h("small",{class:"text-muted"},[we("Allowed IPs "),h("code",null,"(Required)")])],-1)),i8=["disabled"],o8=en(()=>h("label",{for:"peer_endpoint_allowed_ips",class:"form-label"},[h("small",{class:"text-muted"},[we("Endpoint Allowed IPs "),h("code",null,"(Required)")])],-1)),a8=["disabled"],r8=en(()=>h("label",{for:"peer_DNS_textbox",class:"form-label"},[h("small",{class:"text-muted"},"DNS")],-1)),l8=["disabled"],c8={class:"accordion mt-3",id:"peerSettingsAccordion"},u8={class:"accordion-item"},d8=en(()=>h("h2",{class:"accordion-header"},[h("button",{class:"accordion-button rounded-3 collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#peerSettingsAccordionOptional"}," Optional Settings ")],-1)),h8={id:"peerSettingsAccordionOptional",class:"accordion-collapse collapse","data-bs-parent":"#peerSettingsAccordion"},f8={class:"accordion-body d-flex flex-column gap-2 mb-2"},p8=en(()=>h("label",{for:"peer_preshared_key_textbox",class:"form-label"},[h("small",{class:"text-muted"},"Pre-Shared Key")],-1)),m8=["disabled"],g8=en(()=>h("label",{for:"peer_mtu",class:"form-label"},[h("small",{class:"text-muted"},"MTU")],-1)),_8=["disabled"],b8=en(()=>h("label",{for:"peer_keep_alive",class:"form-label"},[h("small",{class:"text-muted"},"Persistent Keepalive")],-1)),v8=["disabled"],y8=en(()=>h("hr",null,null,-1)),w8={class:"d-flex gap-2 align-items-center"},x8=en(()=>h("strong",null,"Reset Data Usage",-1)),k8={class:"d-flex gap-2 ms-auto"},S8=en(()=>h("i",{class:"bi bi-arrow-down-up me-2"},null,-1)),A8=en(()=>h("i",{class:"bi bi-arrow-down me-2"},null,-1)),$8=en(()=>h("i",{class:"bi bi-arrow-up me-2"},null,-1)),E8={class:"d-flex align-items-center gap-2"},C8=["disabled"],P8=en(()=>h("i",{class:"bi bi-arrow-clockwise ms-2"},null,-1)),T8=["disabled"],M8=en(()=>h("i",{class:"bi bi-save-fill ms-2"},null,-1));function D8(e,t,n,s,i,o){return R(),B("div",HH,[h("div",jH,[h("div",WH,[h("div",zH,[h("div",YH,[UH,h("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=a=>this.$emit("close"))})]),this.data?(R(),B("div",KH,[h("div",qH,[h("div",GH,[JH,h("small",XH,[h("samp",null,be(this.data.id),1)])]),h("div",null,[QH,Le(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[1]||(t[1]=a=>this.data.name=a),id:"peer_name_textbox",placeholder:""},null,8,ZH),[[We,this.data.name]])]),h("div",null,[h("div",e8,[t8,h("a",{role:"button",class:"ms-auto text-decoration-none toggleShowKey",onClick:t[2]||(t[2]=a=>this.showKey=!this.showKey)},[h("i",{class:Pe(["bi",[this.showKey?"bi-eye-slash-fill":"bi-eye-fill"]])},null,2)])]),Le(h("input",{type:[this.showKey?"text":"password"],class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[3]||(t[3]=a=>this.data.private_key=a),id:"peer_private_key_textbox",style:{"padding-right":"40px"}},null,8,n8),[[EE,this.data.private_key]])]),h("div",null,[s8,Le(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[4]||(t[4]=a=>this.data.allowed_ip=a),id:"peer_allowed_ip_textbox"},null,8,i8),[[We,this.data.allowed_ip]])]),h("div",null,[o8,Le(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[5]||(t[5]=a=>this.data.endpoint_allowed_ip=a),id:"peer_endpoint_allowed_ips"},null,8,a8),[[We,this.data.endpoint_allowed_ip]])]),h("div",null,[r8,Le(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[6]||(t[6]=a=>this.data.DNS=a),id:"peer_DNS_textbox"},null,8,l8),[[We,this.data.DNS]])]),h("div",c8,[h("div",u8,[d8,h("div",h8,[h("div",f8,[h("div",null,[p8,Le(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[7]||(t[7]=a=>this.data.preshared_key=a),id:"peer_preshared_key_textbox"},null,8,m8),[[We,this.data.preshared_key]])]),h("div",null,[g8,Le(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[8]||(t[8]=a=>this.data.mtu=a),id:"peer_mtu"},null,8,_8),[[We,this.data.mtu]])]),h("div",null,[b8,Le(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[9]||(t[9]=a=>this.data.keepalive=a),id:"peer_keep_alive"},null,8,v8),[[We,this.data.keepalive]])])])])])]),y8,h("div",w8,[x8,h("div",k8,[h("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:t[10]||(t[10]=a=>this.resetPeerData("total"))},[S8,we(" Total ")]),h("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:t[11]||(t[11]=a=>this.resetPeerData("receive"))},[A8,we(" Received ")]),h("button",{class:"btn bg-primary-subtle text-primary-emphasis rounded-3 flex-grow-1 shadow-sm",onClick:t[12]||(t[12]=a=>this.resetPeerData("sent"))},[$8,we(" Sent ")])])])]),h("div",E8,[h("button",{class:"btn btn-secondary rounded-3 shadow",onClick:t[13]||(t[13]=a=>this.reset()),disabled:!this.dataChanged||this.saving},[we(" Revert "),P8],8,C8),h("button",{class:"ms-auto btn btn-dark btn-brand rounded-3 px-3 py-2 shadow",disabled:!this.dataChanged||this.saving,onClick:t[14]||(t[14]=a=>this.savePeer())},[we(" Save Peer"),M8],8,T8)])])):ce("",!0)])])])])}const O8=Ye(VH,[["render",D8],["__scopeId","data-v-5c34b056"]]);var No={},I8=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},A1={},Fn={};let np;const R8=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Fn.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};Fn.getSymbolTotalCodewords=function(t){return R8[t]};Fn.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};Fn.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');np=t};Fn.isKanjiModeEnabled=function(){return typeof np<"u"};Fn.toSJIS=function(t){return np(t)};var yu={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(s){return s&&typeof s.bit<"u"&&s.bit>=0&&s.bit<4},e.from=function(s,i){if(e.isValid(s))return s;try{return t(s)}catch{return i}}})(yu);function $1(){this.buffer=[],this.length=0}$1.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var L8=$1;function cl(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}cl.prototype.set=function(e,t,n,s){const i=e*this.size+t;this.data[i]=n,s&&(this.reservedBit[i]=!0)};cl.prototype.get=function(e,t){return this.data[e*this.size+t]};cl.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};cl.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var N8=cl,E1={};(function(e){const t=Fn.getSymbolSize;e.getRowColCoords=function(s){if(s===1)return[];const i=Math.floor(s/7)+2,o=t(s),a=o===145?26:Math.ceil((o-13)/(2*i-2))*2,r=[o-7];for(let l=1;l=0&&i<=7},e.from=function(i){return e.isValid(i)?parseInt(i,10):void 0},e.getPenaltyN1=function(i){const o=i.size;let a=0,r=0,l=0,c=null,u=null;for(let d=0;d=5&&(a+=t.N1+(r-5)),c=p,r=1),p=i.get(f,d),p===u?l++:(l>=5&&(a+=t.N1+(l-5)),u=p,l=1)}r>=5&&(a+=t.N1+(r-5)),l>=5&&(a+=t.N1+(l-5))}return a},e.getPenaltyN2=function(i){const o=i.size;let a=0;for(let r=0;r=10&&(r===1488||r===93)&&a++,l=l<<1&2047|i.get(u,c),u>=10&&(l===1488||l===93)&&a++}return a*t.N3},e.getPenaltyN4=function(i){let o=0;const a=i.data.length;for(let l=0;l=0;){const a=o[0];for(let l=0;l0){const o=new Uint8Array(this.degree);return o.set(s,i),o}return s};var B8=sp,D1={},Ki={},ip={};ip.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var Ds={};const O1="[0-9]+",V8="[A-Z $%*+\\-./:]+";let Xr="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";Xr=Xr.replace(/u/g,"\\u");const H8="(?:(?![A-Z0-9 $%*+\\-./:]|"+Xr+`)(?:.|[\r +]))+`;Ds.KANJI=new RegExp(Xr,"g");Ds.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Ds.BYTE=new RegExp(H8,"g");Ds.NUMERIC=new RegExp(O1,"g");Ds.ALPHANUMERIC=new RegExp(V8,"g");const j8=new RegExp("^"+Xr+"$"),W8=new RegExp("^"+O1+"$"),z8=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Ds.testKanji=function(t){return j8.test(t)};Ds.testNumeric=function(t){return W8.test(t)};Ds.testAlphanumeric=function(t){return z8.test(t)};(function(e){const t=ip,n=Ds;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,a){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?o.ccBits[0]:a<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return n.testNumeric(o)?e.NUMERIC:n.testAlphanumeric(o)?e.ALPHANUMERIC:n.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function s(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+i)}}e.from=function(o,a){if(e.isValid(o))return o;try{return s(o)}catch{return a}}})(Ki);(function(e){const t=Fn,n=wu,s=yu,i=Ki,o=ip,a=7973,r=t.getBCHDigit(a);function l(f,p,g){for(let _=1;_<=40;_++)if(p<=e.getCapacity(_,g,f))return _}function c(f,p){return i.getCharCountIndicator(f,p)+4}function u(f,p){let g=0;return f.forEach(function(_){const v=c(_.mode,p);g+=v+_.getBitsLength()}),g}function d(f,p){for(let g=1;g<=40;g++)if(u(f,g)<=e.getCapacity(g,p,i.MIXED))return g}e.from=function(p,g){return o.isValid(p)?parseInt(p,10):g},e.getCapacity=function(p,g,_){if(!o.isValid(p))throw new Error("Invalid QR Code version");typeof _>"u"&&(_=i.BYTE);const v=t.getSymbolTotalCodewords(p),w=n.getTotalCodewordsCount(p,g),A=(v-w)*8;if(_===i.MIXED)return A;const $=A-c(_,p);switch(_){case i.NUMERIC:return Math.floor($/10*3);case i.ALPHANUMERIC:return Math.floor($/11*2);case i.KANJI:return Math.floor($/13);case i.BYTE:default:return Math.floor($/8)}},e.getBestVersionForData=function(p,g){let _;const v=s.from(g,s.M);if(Array.isArray(p)){if(p.length>1)return d(p,v);if(p.length===0)return 1;_=p[0]}else _=p;return l(_.mode,_.getLength(),v)},e.getEncodedBits=function(p){if(!o.isValid(p)||p<7)throw new Error("Invalid QR Code version");let g=p<<12;for(;t.getBCHDigit(g)-r>=0;)g^=a<=0;)i^=R1<0&&(s=this.data.substr(n),i=parseInt(s,10),t.put(i,o*3+1))};var K8=Ta;const q8=Ki,Ad=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Ma(e){this.mode=q8.ALPHANUMERIC,this.data=e}Ma.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};Ma.prototype.getLength=function(){return this.data.length};Ma.prototype.getBitsLength=function(){return Ma.getBitsLength(this.data.length)};Ma.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let s=Ad.indexOf(this.data[n])*45;s+=Ad.indexOf(this.data[n+1]),t.put(s,11)}this.data.length%2&&t.put(Ad.indexOf(this.data[n]),6)};var G8=Ma,J8=function(t){for(var n=[],s=t.length,i=0;i=55296&&o<=56319&&s>i+1){var a=t.charCodeAt(i+1);a>=56320&&a<=57343&&(o=(o-55296)*1024+a-56320+65536,i+=1)}if(o<128){n.push(o);continue}if(o<2048){n.push(o>>6|192),n.push(o&63|128);continue}if(o<55296||o>=57344&&o<65536){n.push(o>>12|224),n.push(o>>6&63|128),n.push(o&63|128);continue}if(o>=65536&&o<=1114111){n.push(o>>18|240),n.push(o>>12&63|128),n.push(o>>6&63|128),n.push(o&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer};const X8=J8,Q8=Ki;function Da(e){this.mode=Q8.BYTE,typeof e=="string"&&(e=X8(e)),this.data=new Uint8Array(e)}Da.getBitsLength=function(t){return t*8};Da.prototype.getLength=function(){return this.data.length};Da.prototype.getBitsLength=function(){return Da.getBitsLength(this.data.length)};Da.prototype.write=function(e){for(let t=0,n=this.data.length;t=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+` +Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}};var nj=Oa,N1={exports:{}};(function(e){var t={single_source_shortest_paths:function(n,s,i){var o={},a={};a[s]=0;var r=t.PriorityQueue.make();r.push(s,0);for(var l,c,u,d,f,p,g,_,v;!r.empty();){l=r.pop(),c=l.value,d=l.cost,f=n[c]||{};for(u in f)f.hasOwnProperty(u)&&(p=f[u],g=d+p,_=a[u],v=typeof a[u]>"u",(v||_>g)&&(a[u]=g,r.push(u,g),o[u]=c))}if(typeof i<"u"&&typeof a[i]>"u"){var w=["Could not find a path from ",s," to ",i,"."].join("");throw new Error(w)}return o},extract_shortest_path_from_predecessor_list:function(n,s){for(var i=[],o=s;o;)i.push(o),n[o],o=n[o];return i.reverse(),i},find_path:function(n,s,i){var o=t.single_source_shortest_paths(n,s,i);return t.extract_shortest_path_from_predecessor_list(o,i)},PriorityQueue:{make:function(n){var s=t.PriorityQueue,i={},o;n=n||{};for(o in s)s.hasOwnProperty(o)&&(i[o]=s[o]);return i.queue=[],i.sorter=n.sorter||s.default_sorter,i},default_sorter:function(n,s){return n.cost-s.cost},push:function(n,s){var i={value:n,cost:s};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(N1);var sj=N1.exports;(function(e){const t=Ki,n=K8,s=G8,i=Z8,o=nj,a=Ds,r=Fn,l=sj;function c(w){return unescape(encodeURIComponent(w)).length}function u(w,A,$){const M=[];let k;for(;(k=w.exec($))!==null;)M.push({data:k[0],index:k.index,mode:A,length:k[0].length});return M}function d(w){const A=u(a.NUMERIC,t.NUMERIC,w),$=u(a.ALPHANUMERIC,t.ALPHANUMERIC,w);let M,k;return r.isKanjiModeEnabled()?(M=u(a.BYTE,t.BYTE,w),k=u(a.KANJI,t.KANJI,w)):(M=u(a.BYTE_KANJI,t.BYTE,w),k=[]),A.concat($,M,k).sort(function(x,E){return x.index-E.index}).map(function(x){return{data:x.data,mode:x.mode,length:x.length}})}function f(w,A){switch(A){case t.NUMERIC:return n.getBitsLength(w);case t.ALPHANUMERIC:return s.getBitsLength(w);case t.KANJI:return o.getBitsLength(w);case t.BYTE:return i.getBitsLength(w)}}function p(w){return w.reduce(function(A,$){const M=A.length-1>=0?A[A.length-1]:null;return M&&M.mode===$.mode?(A[A.length-1].data+=$.data,A):(A.push($),A)},[])}function g(w){const A=[];for(let $=0;$=0&&r<=6&&(l===0||l===6)||l>=0&&l<=6&&(r===0||r===6)||r>=2&&r<=4&&l>=2&&l<=4?e.set(o+r,a+l,!0,!0):e.set(o+r,a+l,!1,!0))}}function hj(e){const t=e.size;for(let n=8;n>r&1)===1,e.set(i,o,a,!0),e.set(o,i,a,!0)}function Cd(e,t,n){const s=e.size,i=cj.getEncodedBits(t,n);let o,a;for(o=0;o<15;o++)a=(i>>o&1)===1,o<6?e.set(o,8,a,!0):o<8?e.set(o+1,8,a,!0):e.set(s-15+o,8,a,!0),o<8?e.set(8,s-o-1,a,!0):o<9?e.set(8,15-o-1+1,a,!0):e.set(8,15-o-1,a,!0);e.set(s-8,8,1,!0)}function mj(e,t){const n=e.size;let s=-1,i=n-1,o=7,a=0;for(let r=n-1;r>0;r-=2)for(r===6&&r--;;){for(let l=0;l<2;l++)if(!e.isReserved(i,r-l)){let c=!1;a>>o&1)===1),e.set(i,r-l,c),o--,o===-1&&(a++,o=7)}if(i+=s,i<0||n<=i){i-=s,s=-s;break}}}function gj(e,t,n){const s=new ij;n.forEach(function(l){s.put(l.mode.bit,4),s.put(l.getLength(),uj.getCharCountIndicator(l.mode,e)),l.write(s)});const i=ku.getSymbolTotalCodewords(e),o=Eh.getTotalCodewordsCount(e,t),a=(i-o)*8;for(s.getLengthInBits()+4<=a&&s.put(0,4);s.getLengthInBits()%8!==0;)s.putBit(0);const r=(a-s.getLengthInBits())/8;for(let l=0;l=7&&IF(l,t),OF(l,r),isNaN(n)&&(n=Zc.getBestMask(l,lc.bind(null,l,s))),Zc.applyMask(n,l),lc(l,s,n),{modules:l,version:t,errorCorrectionLevel:s,maskPattern:n,segments:i}}wb.create=function(t,s){if(typeof t>"u"||t==="")throw new Error("No input text");let n=rc.M,i,o;return typeof s<"u"&&(n=rc.from(s.errorCorrectionLevel,rc.M),i=Fa.from(s.version),o=Zc.from(s.maskPattern),s.toSJISFunc&&gl.setToSJISFunction(s.toSJISFunc)),NF(t,i,n,o)};var Lb={},hu={};(function(e){function t(s){if(typeof s=="number"&&(s=s.toString()),typeof s!="string")throw new Error("Color should be defined as hex string");let n=s.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+s);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(o){return[o,o]}))),n.length===6&&n.push("F","F");const i=parseInt(n.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+n.slice(0,6).join("")}}e.getOptions=function(n){n||(n={}),n.color||(n.color={});const i=typeof n.margin>"u"||n.margin===null||n.margin<0?4:n.margin,o=n.width&&n.width>=21?n.width:void 0,r=n.scale||4;return{width:o,scale:o?4:r,margin:i,color:{dark:t(n.color.dark||"#000000ff"),light:t(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},e.getScale=function(n,i){return i.width&&i.width>=n+i.margin*2?i.width/(n+i.margin*2):i.scale},e.getImageWidth=function(n,i){const o=e.getScale(n,i);return Math.floor((n+i.margin*2)*o)},e.qrToImageData=function(n,i,o){const r=i.modules.size,a=i.modules.data,l=e.getScale(r,o),c=Math.floor((r+o.margin*2)*l),d=o.margin*l,h=[o.color.light,o.color.dark];for(let p=0;p=d&&g>=d&&p"u"&&(!r||!r.getContext)&&(l=r,r=void 0),r||(c=n()),l=t.getOptions(l);const d=t.getImageWidth(o.modules.size,l),h=c.getContext("2d"),p=h.createImageData(d,d);return t.qrToImageData(p.data,o,l),s(h,c,d),h.putImageData(p,0,0),c},e.renderToDataURL=function(o,r,a){let l=a;typeof l>"u"&&(!r||!r.getContext)&&(l=r,r=void 0),l||(l={});const c=e.render(o,r,l),d=l.type||"image/png",h=l.rendererOpts||{};return c.toDataURL(d,h.quality)}})(Lb);var Rb={};const FF=hu;function Qp(e,t){const s=e.a/255,n=t+'="'+e.hex+'"';return s<1?n+" "+t+'-opacity="'+s.toFixed(2).slice(1)+'"':n}function cc(e,t,s){let n=e+t;return typeof s<"u"&&(n+=" "+s),n}function BF(e,t,s){let n="",i=0,o=!1,r=0;for(let a=0;a0&&l>0&&e[a-1]||(n+=o?cc("M",l+s,.5+c+s):cc("m",i,0),i=0,o=!1),l+1':"",c="',d='viewBox="0 0 '+a+" "+a+'"',p=''+l+c+` -`;return typeof n=="function"&&n(null,p),p};const VF=ZN,ed=wb,Nb=Lb,jF=Rb;function fu(e,t,s,n,i){const o=[].slice.call(arguments,1),r=o.length,a=typeof o[r-1]=="function";if(!a&&!VF())throw new Error("Callback required as last argument");if(a){if(r<2)throw new Error("Too few arguments provided");r===2?(i=s,s=t,t=n=void 0):r===3&&(t.getContext&&typeof i>"u"?(i=n,n=void 0):(i=n,n=s,s=t,t=void 0))}else{if(r<1)throw new Error("Too few arguments provided");return r===1?(s=t,t=n=void 0):r===2&&!t.getContext&&(n=s,s=t,t=void 0),new Promise(function(l,c){try{const d=ed.create(s,n);l(e(d,t,n))}catch(d){c(d)}})}try{const l=ed.create(s,n);i(null,e(l,t,n))}catch(l){i(l)}}eo.create=ed.create;eo.toCanvas=fu.bind(null,Nb.render);eo.toDataURL=fu.bind(null,Nb.renderToDataURL);eo.toString=fu.bind(null,function(e,t,s){return jF.render(e,s)});const HF={name:"peerQRCode",props:{peerConfigData:String},mounted(){eo.toCanvas(document.querySelector("#qrcode"),this.peerConfigData,e=>{console.log(this.peerConfigData),e&&console.error(e)})}},WF={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0"},zF={class:"container d-flex h-100 w-100"},KF={class:"m-auto modal-dialog-centered dashboardModal justify-content-center"},UF={class:"card rounded-3 shadow"},YF={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},qF=u("h4",{class:"mb-0"},"QR Code",-1),GF={class:"card-body"},JF={id:"qrcode",class:"rounded-3 shadow",ref:"qrcode"};function XF(e,t,s,n,i,o){return O(),B("div",WF,[u("div",zF,[u("div",KF,[u("div",UF,[u("div",YF,[qF,u("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=r=>this.$emit("close"))})]),u("div",GF,[u("canvas",JF,null,512)])])])])])}const QF=Et(HF,[["render",XF]]),ZF={name:"nameInput",props:{bulk:Boolean,data:Object,saving:Boolean}},t3=u("label",{for:"peer_name_textbox",class:"form-label"},[u("small",{class:"text-muted"},"Name")],-1),e3=["disabled"];function s3(e,t,s,n,i,o){return O(),B("div",{class:Mt({inactiveField:this.bulk})},[t3,ft(u("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving||this.bulk,"onUpdate:modelValue":t[0]||(t[0]=r=>this.data.name=r),id:"peer_name_textbox",placeholder:""},null,8,e3),[[bt,this.data.name]])],2)}const n3=Et(ZF,[["render",s3]]),i3={name:"privatePublicKeyInput",props:{data:Object,saving:Boolean,bulk:Boolean},setup(){return{dashboardStore:Ht()}},data(){return{keypair:{publicKey:"",privateKey:"",presharedKey:""},editKey:!1,error:!1}},methods:{genKeyPair(){this.editKey=!1,this.keypair=window.wireguard.generateKeypair(),this.data.private_key=this.keypair.privateKey,this.data.public_key=this.keypair.publicKey},checkMatching(){try{window.wireguard.generatePublicKey(this.keypair.privateKey)!==this.keypair.publicKey&&(this.error=!0,this.dashboardStore.newMessage("WGDashboard","Private Key and Public Key does not match.","danger"))}catch{this.error=!0,this.data.private_key="",this.data.public_key=""}}},mounted(){this.genKeyPair()},watch:{keypair:{deep:!0,handler(){this.error=!1,this.checkMatching()}}}},o3=u("label",{for:"peer_private_key_textbox",class:"form-label"},[u("small",{class:"text-muted"},[rt("Private Key "),u("code",null,"(Required for QR Code and Download)")])],-1),r3={class:"input-group"},a3=["disabled"],l3=["disabled"],c3=u("i",{class:"bi bi-arrow-repeat"},null,-1),d3=[c3],u3={class:"d-flex"},h3=u("label",{for:"public_key",class:"form-label"},[u("small",{class:"text-muted"},[rt("Public Key "),u("code",null,"(Required)")])],-1),f3={class:"form-check form-switch ms-auto"},p3=["disabled"],g3=u("label",{class:"form-check-label",for:"enablePublicKeyEdit"},[u("small",null,"Edit")],-1),m3=["disabled"];function _3(e,t,s,n,i,o){return O(),B("div",{class:Mt(["d-flex gap-2 flex-column",{inactiveField:this.bulk}])},[u("div",null,[o3,u("div",r3,[ft(u("input",{type:"text",class:Mt(["form-control form-control-sm rounded-start-3",{"is-invalid":this.error}]),"onUpdate:modelValue":t[0]||(t[0]=r=>this.keypair.privateKey=r),disabled:!this.editKey||this.bulk,onBlur:t[1]||(t[1]=r=>this.checkMatching()),id:"peer_private_key_textbox"},null,42,a3),[[bt,this.keypair.privateKey]]),u("button",{class:"btn btn-outline-info btn-sm rounded-end-3",onClick:t[2]||(t[2]=r=>this.genKeyPair()),disabled:this.bulk,type:"button",id:"button-addon2"},d3,8,l3)])]),u("div",null,[u("div",u3,[h3,u("div",f3,[ft(u("input",{class:"form-check-input",type:"checkbox",role:"switch",disabled:this.bulk,id:"enablePublicKeyEdit","onUpdate:modelValue":t[3]||(t[3]=r=>this.editKey=r)},null,8,p3),[[Xe,this.editKey]]),g3])]),ft(u("input",{class:Mt(["form-control-sm form-control rounded-3",{"is-invalid":this.error}]),"onUpdate:modelValue":t[4]||(t[4]=r=>this.keypair.publicKey=r),onBlur:t[5]||(t[5]=r=>this.checkMatching()),disabled:!this.editKey||this.bulk,type:"text",id:"public_key"},null,42,m3),[[bt,this.keypair.publicKey]])])],2)}const b3=Et(i3,[["render",_3]]),v3={name:"allowedIPsInput",props:{data:Object,saving:Boolean,bulk:Boolean,availableIp:void 0},data(){return{allowedIp:[],availableIpSearchString:"",customAvailableIp:"",allowedIpFormatError:!1}},setup(){const e=Ve(),t=Ht();return{store:e,dashboardStore:t}},computed:{searchAvailableIps(){return this.availableIpSearchString?this.availableIp.filter(e=>e.includes(this.availableIpSearchString)&&!this.data.allowed_ips.includes(e)):this.availableIp.filter(e=>!this.data.allowed_ips.includes(e))}},methods:{addAllowedIp(e){return this.store.checkCIDR(e)?(this.data.allowed_ips.push(e),!0):!1}},watch:{customAvailableIp(){this.allowedIpFormatError=!1}}},hr=e=>(ss("data-v-99ae26e7"),e=e(),ns(),e),y3=hr(()=>u("label",{for:"peer_allowed_ip_textbox",class:"form-label"},[u("small",{class:"text-muted"},[rt("Allowed IPs "),u("code",null,"(Required)")])],-1)),x3=["onClick"],w3=hr(()=>u("i",{class:"bi bi-x-circle-fill ms-1"},null,-1)),S3=[w3],E3={class:"d-flex gap-2 align-items-center"},A3={class:"input-group"},C3=["disabled"],$3=["disabled"],P3=hr(()=>u("i",{class:"bi bi-plus-lg"},null,-1)),k3=[P3],T3=hr(()=>u("small",{class:"text-muted"},"or",-1)),M3={class:"dropdown flex-grow-1"},D3=["disabled"],I3=hr(()=>u("i",{class:"bi bi-filter-circle me-2"},null,-1)),O3={key:0,class:"dropdown-menu mt-2 shadow w-100 dropdown-menu-end rounded-3",style:{"overflow-y":"scroll","max-height":"270px",width:"300px !important"}},L3={class:"px-3 pb-2 pt-1"},R3=["onClick"],N3={class:"me-auto"},F3={key:0},B3={class:"px-3 text-muted"};function V3(e,t,s,n,i,o){return O(),B("div",{class:Mt({inactiveField:this.bulk})},[y3,u("div",{class:Mt(["d-flex gap-2 flex-wrap",{"mb-2":this.data.allowed_ips.length>0}])},[dt(An,{name:"list"},{default:It(()=>[(O(!0),B(Nt,null,se(this.data.allowed_ips,(r,a)=>(O(),B("span",{class:"badge rounded-pill text-bg-success",key:r},[rt(nt(r)+" ",1),u("a",{role:"button",onClick:l=>this.data.allowed_ips.splice(a,1)},S3,8,x3)]))),128))]),_:1})],2),u("div",E3,[u("div",A3,[ft(u("input",{type:"text",class:Mt(["form-control form-control-sm rounded-start-3",{"is-invalid":this.allowedIpFormatError}]),placeholder:"Enter IP Address/CIDR","onUpdate:modelValue":t[0]||(t[0]=r=>i.customAvailableIp=r),disabled:s.bulk},null,10,C3),[[bt,i.customAvailableIp]]),u("button",{class:"btn btn-outline-success btn-sm rounded-end-3",disabled:s.bulk||!this.customAvailableIp,onClick:t[1]||(t[1]=r=>{this.addAllowedIp(this.customAvailableIp)?this.customAvailableIp="":this.allowedIpFormatError=!0,this.dashboardStore.newMessage("WGDashboard","Allowed IP is invalid","danger")}),type:"button",id:"button-addon2"},k3,8,$3)]),T3,u("div",M3,[u("button",{class:"btn btn-outline-secondary btn-sm dropdown-toggle rounded-3 w-100",disabled:!s.availableIp||s.bulk,"data-bs-auto-close":"outside",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[I3,rt(" Pick Available IP ")],8,D3),this.availableIp?(O(),B("ul",O3,[u("li",null,[u("div",L3,[ft(u("input",{class:"form-control form-control-sm rounded-3","onUpdate:modelValue":t[2]||(t[2]=r=>this.availableIpSearchString=r),placeholder:"Search..."},null,512),[[bt,this.availableIpSearchString]])])]),(O(!0),B(Nt,null,se(this.searchAvailableIps,r=>(O(),B("li",null,[u("a",{class:"dropdown-item d-flex",role:"button",onClick:a=>this.addAllowedIp(r)},[u("span",N3,[u("small",null,nt(r),1)])],8,R3)]))),256)),this.searchAvailableIps.length===0?(O(),B("li",F3,[u("small",B3,'No available IP containing "'+nt(this.availableIpSearchString)+'"',1)])):xt("",!0)])):xt("",!0)])])],2)}const j3=Et(v3,[["render",V3],["__scopeId","data-v-99ae26e7"]]),H3={name:"dnsInput",props:{data:Object,saving:Boolean},data(){return{error:!1,dns:JSON.parse(JSON.stringify(this.data.DNS))}},setup(){const e=Ve(),t=Ht();return{store:e,dashboardStore:t}},methods:{checkDNS(){if(this.dns){let e=this.dns.split(",").map(t=>t.replaceAll(" ",""));for(let t in e)if(!this.store.regexCheckIP(e[t])){this.error||this.dashboardStore.newMessage("WGDashboard","DNS is invalid","danger"),this.error=!0,this.data.DNS="";return}this.error=!1,this.data.DNS=this.dns}}},watch:{dns(){this.checkDNS()}}},W3=u("label",{for:"peer_DNS_textbox",class:"form-label"},[u("small",{class:"text-muted"},"DNS")],-1),z3=["disabled"];function K3(e,t,s,n,i,o){return O(),B("div",null,[W3,ft(u("input",{type:"text",class:Mt(["form-control form-control-sm rounded-3",{"is-invalid":this.error}]),disabled:this.saving,"onUpdate:modelValue":t[0]||(t[0]=r=>this.dns=r),id:"peer_DNS_textbox"},null,10,z3),[[bt,this.dns]])])}const U3=Et(H3,[["render",K3]]),Y3={name:"endpointAllowedIps",props:{data:Object,saving:Boolean},setup(){const e=Ve(),t=Ht();return{store:e,dashboardStore:t}},data(){return{endpointAllowedIps:JSON.parse(JSON.stringify(this.data.endpoint_allowed_ip)),error:!1}},methods:{checkAllowedIP(){let e=this.endpointAllowedIps.split(",").map(t=>t.replaceAll(" ",""));for(let t in e)if(!this.store.checkCIDR(e[t])){this.error||this.dashboardStore.newMessage("WGDashboard","Endpoint Allowed IP is invalid.","danger"),this.data.endpoint_allowed_ip="",this.error=!0;return}this.error=!1,this.data.endpoint_allowed_ip=this.endpointAllowedIps}},watch:{endpointAllowedIps(){this.checkAllowedIP()}}},q3=u("label",{for:"peer_endpoint_allowed_ips",class:"form-label"},[u("small",{class:"text-muted"},[rt("Endpoint Allowed IPs "),u("code",null,"(Required)")])],-1),G3=["disabled"];function J3(e,t,s,n,i,o){return O(),B("div",null,[q3,ft(u("input",{type:"text",class:Mt(["form-control form-control-sm rounded-3",{"is-invalid":i.error}]),disabled:this.saving,"onUpdate:modelValue":t[0]||(t[0]=r=>this.endpointAllowedIps=r),onBlur:t[1]||(t[1]=r=>this.checkAllowedIP()),id:"peer_endpoint_allowed_ips"},null,42,G3),[[bt,this.endpointAllowedIps]])])}const X3=Et(Y3,[["render",J3]]),Q3={name:"presharedKeyInput",props:{data:Object,saving:Boolean}},Z3=u("label",{for:"peer_preshared_key_textbox",class:"form-label"},[u("small",{class:"text-muted"},"Pre-Shared Key")],-1),tB=["disabled"];function eB(e,t,s,n,i,o){return O(),B("div",null,[Z3,ft(u("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[0]||(t[0]=r=>this.data.preshared_key=r),id:"peer_preshared_key_textbox"},null,8,tB),[[bt,this.data.preshared_key]])])}const sB=Et(Q3,[["render",eB]]),nB={name:"mtuInput",props:{data:Object,saving:Boolean}},iB=u("label",{for:"peer_mtu",class:"form-label"},[u("small",{class:"text-muted"},"MTU")],-1),oB=["disabled"];function rB(e,t,s,n,i,o){return O(),B("div",null,[iB,ft(u("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[0]||(t[0]=r=>this.data.mtu=r),id:"peer_mtu"},null,8,oB),[[bt,this.data.mtu]])])}const aB=Et(nB,[["render",rB]]),lB={name:"persistentKeepAliveInput",props:{data:Object,saving:Boolean}},cB=u("label",{for:"peer_keep_alive",class:"form-label"},[u("small",{class:"text-muted"},"Persistent Keepalive")],-1),dB=["disabled"];function uB(e,t,s,n,i,o){return O(),B("div",null,[cB,ft(u("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[0]||(t[0]=r=>this.data.keepalive=r),id:"peer_keep_alive"},null,8,dB),[[bt,this.data.keepalive]])])}const hB=Et(lB,[["render",uB]]),fB={name:"bulkAdd",props:{saving:Boolean,data:Object,availableIp:void 0}},pB={class:"form-check form-switch"},gB=["disabled"],mB=u("label",{class:"form-check-label me-2",for:"bulk_add"},[u("small",null,[u("strong",null,"Bulk Add")])],-1),_B=u("small",{class:"text-muted d-block"}," By adding peers by bulk, each peer's name will be auto generated, and Allowed IP will be assign to the next available IP. ",-1),bB=[_B],vB={key:0,class:"form-group"},yB=["max"],xB={class:"text-muted"};function wB(e,t,s,n,i,o){return O(),B("div",null,[u("div",pB,[ft(u("input",{class:"form-check-input",type:"checkbox",role:"switch",disabled:!this.availableIp,id:"bulk_add","onUpdate:modelValue":t[0]||(t[0]=r=>this.data.bulkAdd=r)},null,8,gB),[[Xe,this.data.bulkAdd]]),mB]),u("p",{class:Mt({"mb-0":!this.data.bulkAdd})},bB,2),this.data.bulkAdd?(O(),B("div",vB,[ft(u("input",{class:"form-control form-control-sm rounded-3 mb-1",type:"number",min:"1",max:this.availableIp.length,"onUpdate:modelValue":t[1]||(t[1]=r=>this.data.bulkAddAmount=r),placeholder:"How many peers you want to add?"},null,8,yB),[[bt,this.data.bulkAddAmount]]),u("small",xB,[rt(" You can add up to "),u("strong",null,nt(this.availableIp.length),1),rt(" peers ")])])):xt("",!0)])}const SB=Et(fB,[["render",wB]]),EB={name:"peerCreate",components:{BulkAdd:SB,PersistentKeepAliveInput:hB,MtuInput:aB,PresharedKeyInput:sB,EndpointAllowedIps:X3,DnsInput:U3,AllowedIPsInput:j3,PrivatePublicKeyInput:b3,NameInput:n3},data(){return{data:{bulkAdd:!1,bulkAddAmount:"",name:"",allowed_ips:[],private_key:"",public_key:"",DNS:this.dashboardStore.Configuration.Peers.peer_global_dns,endpoint_allowed_ip:this.dashboardStore.Configuration.Peers.peer_endpoint_allowed_ip,keepalive:parseInt(this.dashboardStore.Configuration.Peers.peer_keep_alive),mtu:parseInt(this.dashboardStore.Configuration.Peers.peer_mtu),preshared_key:""},availableIp:void 0,availableIpSearchString:"",saving:!1,allowedIpDropdown:void 0}},mounted(){le("/api/getAvailableIPs/"+this.$route.params.id,{},e=>{e.status&&(this.availableIp=e.data)})},setup(){const e=Ve(),t=Ht();return{store:e,dashboardStore:t}},methods:{peerCreate(){this.saving=!0,Zt("/api/addPeers/"+this.$route.params.id,this.data,e=>{e.status?(this.$router.push(`/configuration/${this.$route.params.id}/peers`),this.dashboardStore.newMessage("Server","Peer create successfully","success")):this.dashboardStore.newMessage("Server",e.message,"danger"),this.saving=!1})}},computed:{allRequireFieldsFilled(){let e=!0;return this.data.bulkAdd?(this.data.bulkAddAmount.length===0||this.data.bulkAddAmount>this.availableIp.length)&&(e=!1):["allowed_ips","private_key","public_key","endpoint_allowed_ip","keepalive","mtu"].forEach(s=>{this.data[s].length===0&&(e=!1)}),e}},watch:{bulkAdd(e){e||(this.data.bulkAddAmount="")},"data.bulkAddAmount"(){this.data.bulkAddAmount>this.availableIp.length&&(this.data.bulkAddAmount=this.availableIp.length)}}},ml=e=>(ss("data-v-c3292318"),e=e(),ns(),e),AB={class:"container"},CB={class:"mb-4"},$B=ml(()=>u("h3",{class:"mb-0 text-body"},[u("i",{class:"bi bi-chevron-left"})],-1)),PB=ml(()=>u("h3",{class:"text-body mb-0"},"Add Peers",-1)),kB={class:"d-flex flex-column gap-2"},TB=ml(()=>u("hr",{class:"mb-0 mt-2"},null,-1)),MB=ml(()=>u("hr",{class:"mb-0 mt-2"},null,-1)),DB={class:"row"},IB={key:0,class:"col-sm"},OB={class:"col-sm"},LB={class:"col-sm"},RB={class:"d-flex mt-2"},NB=["disabled"],FB={key:0,class:"bi bi-plus-circle-fill me-2"};function BB(e,t,s,n,i,o){const r=At("RouterLink"),a=At("BulkAdd"),l=At("NameInput"),c=At("PrivatePublicKeyInput"),d=At("AllowedIPsInput"),h=At("EndpointAllowedIps"),p=At("DnsInput"),g=At("PresharedKeyInput"),m=At("MtuInput"),_=At("PersistentKeepAliveInput");return O(),B("div",AB,[u("div",CB,[dt(r,{to:"peers",is:"div",class:"d-flex align-items-center gap-4 text-decoration-none"},{default:It(()=>[$B,PB]),_:1})]),u("div",kB,[dt(a,{saving:i.saving,data:this.data,availableIp:this.availableIp},null,8,["saving","data","availableIp"]),TB,this.data.bulkAdd?xt("",!0):(O(),qt(l,{key:0,saving:i.saving,data:this.data},null,8,["saving","data"])),this.data.bulkAdd?xt("",!0):(O(),qt(c,{key:1,saving:i.saving,data:i.data},null,8,["saving","data"])),this.data.bulkAdd?xt("",!0):(O(),qt(d,{key:2,availableIp:this.availableIp,saving:i.saving,data:i.data},null,8,["availableIp","saving","data"])),dt(h,{saving:i.saving,data:i.data},null,8,["saving","data"]),dt(p,{saving:i.saving,data:i.data},null,8,["saving","data"]),MB,u("div",DB,[this.data.bulkAdd?xt("",!0):(O(),B("div",IB,[dt(g,{saving:i.saving,data:i.data,bulk:this.data.bulkAdd},null,8,["saving","data","bulk"])])),u("div",OB,[dt(m,{saving:i.saving,data:i.data},null,8,["saving","data"])]),u("div",LB,[dt(_,{saving:i.saving,data:i.data},null,8,["saving","data"])])]),u("div",RB,[u("button",{class:"ms-auto btn btn-dark btn-brand rounded-3 px-3 py-2 shadow",disabled:!this.allRequireFieldsFilled||this.saving,onClick:t[0]||(t[0]=v=>this.peerCreate())},[this.saving?xt("",!0):(O(),B("i",FB)),rt(" "+nt(this.saving?"Saving...":"Add"),1)],8,NB)])])])}const Fb=Et(EB,[["render",BB],["__scopeId","data-v-c3292318"]]),VB={name:"scheduleDropdown",props:{options:Array,data:String,edit:!1},setup(e){e.data===void 0&&this.$emit("update",this.options[0].value)},computed:{currentSelection(){return this.options.find(e=>e.value===this.data)}}},jB={class:"dropdown scheduleDropdown"},HB={class:"dropdown-menu rounded-3 shadow",style:{"font-size":"0.875rem",width:"200px"}},WB=["onClick"],zB={key:0,class:"bi bi-check ms-auto"};function KB(e,t,s,n,i,o){return O(),B("div",jB,[u("button",{class:Mt(["btn btn-sm btn-outline-primary rounded-3",{"disabled border-transparent":!s.edit}]),type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[u("samp",null,nt(this.currentSelection.display),1)],2),u("ul",HB,[s.edit?(O(!0),B(Nt,{key:0},se(this.options,r=>(O(),B("li",null,[u("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:a=>e.$emit("update",r.value)},[u("samp",null,nt(r.display),1),r.value===this.currentSelection.value?(O(),B("i",zB)):xt("",!0)],8,WB)]))),256)):xt("",!0)])])}const Bb=Et(VB,[["render",KB],["__scopeId","data-v-6a5aba2a"]]),UB={name:"schedulePeerJob",components:{ScheduleDropdown:Bb},props:{dropdowns:Array[Object],pjob:Object,viewOnly:!1},setup(e){const t=vs({}),s=vs(!1),n=vs(!1);t.value=JSON.parse(JSON.stringify(e.pjob)),t.value.CreationDate||(s.value=!0,n.value=!0);const i=Ht();return{job:t,edit:s,newJob:n,store:i}},data(){return{inputType:void 0}},watch:{pjob:{deep:!0,immediate:!0,handler(e){this.edit||(this.job=JSON.parse(JSON.stringify(e)))}}},methods:{save(){this.job.Field&&this.job.Operator&&this.job.Action&&this.job.Value?Zt("/api/savePeerScheduleJob/",{Job:this.job},e=>{e.status?(this.edit=!1,this.store.newMessage("Server","Job Saved!","success"),console.log(e.data),this.$emit("refresh",e.data[0]),this.newJob=!1):this.store.newMessage("Server",e.message,"danger")}):this.alert()},alert(){let e="animate__flash",t=this.$el.querySelectorAll(".scheduleDropdown"),s=this.$el.querySelectorAll("input");t.forEach(n=>n.classList.add("animate__animated",e)),s.forEach(n=>n.classList.add("animate__animated",e)),setTimeout(()=>{t.forEach(n=>n.classList.remove("animate__animated",e)),s.forEach(n=>n.classList.remove("animate__animated",e))},2e3)},reset(){this.job.CreationDate?(this.job=JSON.parse(JSON.stringify(this.pjob)),this.edit=!1):this.$emit("delete")},delete(){this.job.CreationDate&&Zt("/api/deletePeerScheduleJob/",{Job:this.job},e=>{e.status?this.store.newMessage("Server","Job Deleted!","success"):(this.store.newMessage("Server",e.message,"danger"),this.$emit("delete"))}),this.$emit("delete")}}},so=e=>(ss("data-v-decfcc69"),e=e(),ns(),e),YB={class:"card-header bg-transparent text-muted border-0"},qB={key:0,class:"d-flex"},GB=so(()=>u("strong",{class:"me-auto"},"Job ID",-1)),JB={key:1},XB=so(()=>u("span",{class:"badge text-bg-warning"},"Unsaved Job",-1)),QB=[XB],ZB={class:"card-body pt-1",style:{"font-family":"var(--bs-font-monospace)"}},t5={class:"d-flex gap-2 align-items-center mb-2"},e5=so(()=>u("samp",null," if ",-1)),s5=so(()=>u("samp",null," is ",-1)),n5=["disabled"],i5=["disabled"],o5={class:"px-5 d-flex gap-2 align-items-center"},r5=so(()=>u("samp",null,"then",-1)),a5={class:"d-flex gap-3"},l5=so(()=>u("samp",null,"}",-1)),c5={key:0,class:"ms-auto d-flex gap-3"},d5={key:1,class:"ms-auto d-flex gap-3"};function u5(e,t,s,n,i,o){var a;const r=At("ScheduleDropdown");return O(),B("div",{class:Mt(["card shadow-sm rounded-3 mb-2",{"border-warning-subtle":this.newJob}])},[u("div",YB,[this.newJob?(O(),B("small",JB,QB)):(O(),B("small",qB,[GB,u("samp",null,nt(this.job.JobID),1)]))]),u("div",ZB,[u("div",t5,[e5,dt(r,{edit:n.edit,options:this.dropdowns.Field,data:this.job.Field,onUpdate:t[0]||(t[0]=l=>{this.job.Field=l})},null,8,["edit","options","data"]),s5,dt(r,{edit:n.edit,options:this.dropdowns.Operator,data:this.job.Operator,onUpdate:t[1]||(t[1]=l=>this.job.Operator=l)},null,8,["edit","options","data"]),this.job.Field==="date"?ft((O(),B("input",{key:0,class:"form-control form-control-sm form-control-dark rounded-3 flex-grow-1",disabled:!n.edit,type:"datetime-local","onUpdate:modelValue":t[2]||(t[2]=l=>this.job.Value=l),style:{width:"auto"}},null,8,n5)),[[bt,this.job.Value]]):ft((O(),B("input",{key:1,class:"form-control form-control-sm form-control-dark rounded-3 flex-grow-1",disabled:!n.edit,"onUpdate:modelValue":t[3]||(t[3]=l=>this.job.Value=l),style:{width:"auto"}},null,8,i5)),[[bt,this.job.Value]]),u("samp",null,nt((a=this.dropdowns.Field.find(l=>l.value===this.job.Field))==null?void 0:a.unit)+" { ",1)]),u("div",o5,[r5,dt(r,{edit:n.edit,options:this.dropdowns.Action,data:this.job.Action,onUpdate:t[4]||(t[4]=l=>this.job.Action=l)},null,8,["edit","options","data"])]),u("div",a5,[l5,this.edit?(O(),B("div",d5,[u("a",{role:"button",class:"text-secondary text-decoration-none",onClick:t[7]||(t[7]=l=>this.reset())},"[C] Cancel"),u("a",{role:"button",class:"text-primary ms-auto text-decoration-none",onClick:t[8]||(t[8]=l=>this.save())},"[S] Save")])):(O(),B("div",c5,[u("a",{role:"button",class:"ms-auto text-decoration-none",onClick:t[5]||(t[5]=l=>this.edit=!0)},"[E] Edit"),u("a",{role:"button",onClick:t[6]||(t[6]=l=>this.delete()),class:"text-danger text-decoration-none"},"[D] Delete")]))])])],2)}const Vb=Et(UB,[["render",u5],["__scopeId","data-v-decfcc69"]]),h5={name:"peerJobs",setup(){return{store:Ve()}},props:{selectedPeer:Object},components:{SchedulePeerJob:Vb,ScheduleDropdown:Bb},data(){return{}},methods:{deleteJob(e){this.selectedPeer.jobs=this.selectedPeer.jobs.filter(t=>t.JobID!==e.JobID)},addJob(){this.selectedPeer.jobs.unshift(JSON.parse(JSON.stringify({JobID:zs().toString(),Configuration:this.selectedPeer.configuration.Name,Peer:this.selectedPeer.id,Field:this.store.PeerScheduleJobs.dropdowns.Field[0].value,Operator:this.store.PeerScheduleJobs.dropdowns.Operator[0].value,Value:"",CreationDate:"",ExpireDate:"",Action:this.store.PeerScheduleJobs.dropdowns.Action[0].value})))}}},pu=e=>(ss("data-v-31a1606a"),e=e(),ns(),e),f5={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},p5={class:"container d-flex h-100 w-100"},g5={class:"m-auto modal-dialog-centered dashboardModal"},m5={class:"card rounded-3 shadow",style:{width:"700px"}},_5={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},b5=pu(()=>u("h4",{class:"mb-0 fw-normal"},[rt("Schedule Jobs "),u("strong")],-1)),v5={class:"card-body px-4 pb-4 pt-2 position-relative"},y5={class:"d-flex align-items-center mb-3"},x5=pu(()=>u("i",{class:"bi bi-plus-lg me-2"},null,-1)),w5={class:"card shadow-sm",key:"none",style:{height:"153px"}},S5=pu(()=>u("div",{class:"card-body text-muted text-center d-flex"},[u("h6",{class:"m-auto"},"This peer does not have any job yet.")],-1)),E5=[S5];function A5(e,t,s,n,i,o){const r=At("SchedulePeerJob");return O(),B("div",f5,[u("div",p5,[u("div",g5,[u("div",m5,[u("div",_5,[b5,u("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=a=>this.$emit("close"))})]),u("div",v5,[u("div",y5,[u("button",{class:"btn bg-primary-subtle border-1 border-primary-subtle text-primary-emphasis rounded-3 shadow",onClick:t[1]||(t[1]=a=>this.addJob())},[x5,rt(" Job ")])]),dt(An,{name:"schedulePeerJobTransition",tag:"div",class:"position-relative"},{default:It(()=>[(O(!0),B(Nt,null,se(this.selectedPeer.jobs,(a,l)=>(O(),qt(r,{onRefresh:t[2]||(t[2]=c=>this.$emit("refresh")),onDelete:c=>this.deleteJob(a),dropdowns:this.store.PeerScheduleJobs.dropdowns,key:a.JobID,pjob:a},null,8,["onDelete","dropdowns","pjob"]))),128)),this.selectedPeer.jobs.length===0?(O(),B("div",w5,E5)):xt("",!0)]),_:1})])])])])])}const C5=Et(h5,[["render",A5],["__scopeId","data-v-31a1606a"]]),$5={name:"peerJobsAllModal",setup(){return{store:Ve()}},components:{SchedulePeerJob:Vb},props:{configurationPeers:Array[Object]},methods:{getuuid(){return zs()}},computed:{getAllJobs(){return this.configurationPeers.filter(e=>e.jobs.length>0)}}},P5={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},k5={class:"container d-flex h-100 w-100"},T5={class:"m-auto modal-dialog-centered dashboardModal"},M5={class:"card rounded-3 shadow",style:{width:"700px"}},D5={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},I5=u("h4",{class:"mb-0 fw-normal"},"All Active Jobs ",-1),O5={class:"card-body px-4 pb-4 pt-2"},L5={key:0,class:"accordion",id:"peerJobsLogsModalAccordion"},R5={class:"accordion-header"},N5=["data-bs-target"],F5={key:0},B5={class:"text-muted"},V5=["id"],j5={class:"accordion-body"},H5={key:1,class:"card shadow-sm",style:{height:"153px"}},W5=u("div",{class:"card-body text-muted text-center d-flex"},[u("h6",{class:"m-auto"},"No active job at the moment.")],-1),z5=[W5];function K5(e,t,s,n,i,o){const r=At("SchedulePeerJob");return O(),B("div",P5,[u("div",k5,[u("div",T5,[u("div",M5,[u("div",D5,[I5,u("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=a=>this.$emit("close"))})]),u("div",O5,[this.getAllJobs.length>0?(O(),B("div",L5,[(O(!0),B(Nt,null,se(this.getAllJobs,(a,l)=>(O(),B("div",{class:"accordion-item",key:a.id},[u("h2",R5,[u("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse_"+l},[u("small",null,[u("strong",null,[a.name?(O(),B("span",F5,nt(a.name)+" • ",1)):xt("",!0),u("samp",B5,nt(a.id),1)])])],8,N5)]),u("div",{id:"collapse_"+l,class:"accordion-collapse collapse","data-bs-parent":"#peerJobsLogsModalAccordion"},[u("div",j5,[(O(!0),B(Nt,null,se(a.jobs,c=>(O(),qt(r,{onDelete:t[1]||(t[1]=d=>this.$emit("refresh")),onRefresh:t[2]||(t[2]=d=>this.$emit("refresh")),dropdowns:this.store.PeerScheduleJobs.dropdowns,viewOnly:!0,key:c.JobID,pjob:c},null,8,["dropdowns","pjob"]))),128))])],8,V5)]))),128))])):(O(),B("div",H5,z5))])])])])])}const U5=Et($5,[["render",K5]]),Y5={name:"peerJobsLogsModal",props:{configurationInfo:Object},data(){return{dataLoading:!0,data:[],logFetchTime:void 0,showLogID:!1,showJobID:!0,showSuccessJob:!0,showFailedJob:!0,showLogAmount:10}},async mounted(){await this.fetchLog()},methods:{async fetchLog(){this.dataLoading=!0,await le(`/api/getPeerScheduleJobLogs/${this.configurationInfo.Name}`,{},e=>{this.data=e.data,this.logFetchTime=ki().format("YYYY-MM-DD HH:mm:ss"),this.dataLoading=!1})}},computed:{getLogs(){return this.data.filter(e=>this.showSuccessJob&&e.Status==="1"||this.showFailedJob&&e.Status==="0")},showLogs(){return this.getLogs.slice(0,this.showLogAmount)}}},q5={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},G5={class:"container-fluid d-flex h-100 w-100"},J5={class:"m-auto mt-0 modal-dialog-centered dashboardModal",style:{width:"100%"}},X5={class:"card rounded-3 shadow w-100"},Q5={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},Z5=u("h4",{class:"mb-0"},"Jobs Logs",-1),t4={class:"card-body px-4 pb-4 pt-2"},e4={key:0},s4={class:"mb-2 d-flex gap-3"},n4=u("i",{class:"bi bi-arrow-clockwise me-2"},null,-1),i4={class:"d-flex gap-3 align-items-center"},o4=u("span",{class:"text-muted"},"Filter",-1),r4={class:"form-check"},a4=u("label",{class:"form-check-label",for:"jobLogsShowSuccessCheck"},[u("span",{class:"badge text-success-emphasis bg-success-subtle"},"Success")],-1),l4={class:"form-check"},c4=u("label",{class:"form-check-label",for:"jobLogsShowFailedCheck"},[u("span",{class:"badge text-danger-emphasis bg-danger-subtle"},"Failed")],-1),d4={class:"d-flex gap-3 align-items-center ms-auto"},u4=u("span",{class:"text-muted"},"Display",-1),h4={class:"form-check"},f4=u("label",{class:"form-check-label",for:"jobLogsShowJobIDCheck"}," Job ID ",-1),p4={class:"form-check"},g4=u("label",{class:"form-check-label",for:"jobLogsShowLogIDCheck"}," Log ID ",-1),m4={class:"table"},_4=u("th",{scope:"col"},"Date",-1),b4={key:0,scope:"col"},v4={key:1,scope:"col"},y4=u("th",{scope:"col"},"Status",-1),x4=u("th",{scope:"col"},"Message",-1),w4={style:{"font-size":"0.875rem"}},S4={scope:"row"},E4={key:0},A4={class:"text-muted"},C4={key:1},$4={class:"text-muted"},P4={class:"d-flex gap-2"},k4=u("i",{class:"bi bi-chevron-down me-2"},null,-1),T4=u("i",{class:"bi bi-chevron-up me-2"},null,-1),M4={key:1,class:"d-flex align-items-center flex-column"},D4=u("div",{class:"spinner-border text-body",role:"status"},[u("span",{class:"visually-hidden"},"Loading...")],-1),I4=[D4];function O4(e,t,s,n,i,o){return O(),B("div",q5,[u("div",G5,[u("div",J5,[u("div",X5,[u("div",Q5,[Z5,u("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=r=>this.$emit("close"))})]),u("div",t4,[this.dataLoading?(O(),B("div",M4,I4)):(O(),B("div",e4,[u("p",null,"Updated at: "+nt(this.logFetchTime),1),u("div",s4,[u("button",{onClick:t[1]||(t[1]=r=>this.fetchLog()),class:"btn btn-sm rounded-3 shadow-sm text-info-emphasis bg-info-subtle border-1 border-info-subtle me-1"},[n4,rt(" Refresh ")]),u("div",i4,[o4,u("div",r4,[ft(u("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[2]||(t[2]=r=>this.showSuccessJob=r),id:"jobLogsShowSuccessCheck"},null,512),[[Xe,this.showSuccessJob]]),a4]),u("div",l4,[ft(u("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[3]||(t[3]=r=>this.showFailedJob=r),id:"jobLogsShowFailedCheck"},null,512),[[Xe,this.showFailedJob]]),c4])]),u("div",d4,[u4,u("div",h4,[ft(u("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[4]||(t[4]=r=>i.showJobID=r),id:"jobLogsShowJobIDCheck"},null,512),[[Xe,i.showJobID]]),f4]),u("div",p4,[ft(u("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[5]||(t[5]=r=>i.showLogID=r),id:"jobLogsShowLogIDCheck"},null,512),[[Xe,i.showLogID]]),g4])])]),u("table",m4,[u("thead",null,[u("tr",null,[_4,i.showLogID?(O(),B("th",b4,"Log ID")):xt("",!0),i.showJobID?(O(),B("th",v4,"Job ID")):xt("",!0),y4,x4])]),u("tbody",null,[(O(!0),B(Nt,null,se(this.showLogs,r=>(O(),B("tr",w4,[u("th",S4,nt(r.LogDate),1),i.showLogID?(O(),B("td",E4,[u("samp",A4,nt(r.LogID),1)])):xt("",!0),i.showJobID?(O(),B("td",C4,[u("samp",$4,nt(r.JobID),1)])):xt("",!0),u("td",null,[u("span",{class:Mt(["badge",[r.Status==="1"?"text-success-emphasis bg-success-subtle":"text-danger-emphasis bg-danger-subtle"]])},nt(r.Status==="1"?"Success":"Failed"),3)]),u("td",null,nt(r.Message),1)]))),256))])]),u("div",P4,[this.getLogs.length>this.showLogAmount?(O(),B("button",{key:0,onClick:t[6]||(t[6]=r=>this.showLogAmount+=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},[k4,rt(" Show More ")])):xt("",!0),this.showLogAmount>20?(O(),B("button",{key:1,onClick:t[7]||(t[7]=r=>this.showLogAmount=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},[T4,rt(" Collapse ")])):xt("",!0)])]))])])])])])}const L4=Et(Y5,[["render",O4]]);dl.register(wo,dn,_a,ma,No,da,Si,Fo,Lc,ua,ha,fa,jc,Hc,Wc,Eo,tr,Kc,hL,DL,FL,VL,qL);const R4={name:"peerList",components:{PeerJobsLogsModal:L4,PeerJobsAllModal:U5,PeerJobs:C5,PeerCreate:Fb,PeerQRCode:QF,PeerSettings:QN,PeerSearch:OM,Peer:SD,Line:AR,Bar:ER},setup(){const e=Ht(),t=Ve(),s=vs(void 0);return{dashboardConfigurationStore:e,wireguardConfigurationStore:t,interval:s}},data(){return{configurationToggling:!1,loading:!1,error:null,configurationInfo:[],configurationPeers:[],historyDataSentDifference:[],historyDataReceivedDifference:[],historySentData:{labels:[],datasets:[{label:"Data Sent",data:[],fill:!1,borderColor:"#198754",tension:0}]},historyReceiveData:{labels:[],datasets:[{label:"Data Received",data:[],fill:!1,borderColor:"#0d6efd",tension:0}]},peerSetting:{modalOpen:!1,selectedPeer:void 0},peerScheduleJobs:{modalOpen:!1,selectedPeer:void 0},peerQRCode:{modalOpen:!1,peerConfigData:void 0},peerCreate:{modalOpen:!1},peerScheduleJobsAll:{modalOpen:!1},peerScheduleJobsLogs:{modalOpen:!1}}},mounted(){},watch:{$route:{immediate:!0,handler(){console.log(this.dashboardConfigurationStore.Peers.RefreshInterval),clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval),console.log(this.dashboardConfigurationStore.Peers.RefreshInterval),this.loading=!0;let e=this.$route.params.id;this.configurationInfo=[],this.configurationPeers=[],e&&(this.getPeers(e),console.log("Changed.."),this.setPeerInterval())}},"dashboardConfigurationStore.Configuration.Server.dashboard_refresh_interval"(){console.log("Changed?"),clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval),this.setPeerInterval()}},beforeRouteLeave(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval)},methods:{toggle(){this.configurationToggling=!0,le("/api/toggleWireguardConfiguration/",{configurationName:this.configurationInfo.Name},e=>{e.status?this.dashboardConfigurationStore.newMessage("Server",`${this.configurationInfo.Name} is - ${e.data?"is on":"is off"}`,"Success"):this.dashboardConfigurationStore.newMessage("Server",e.message,"danger"),this.configurationInfo.Status=e.data,this.configurationToggling=!1})},getPeers(e=this.$route.params.id){le("/api/getWireguardConfigurationInfo",{configurationName:e},t=>{if(this.configurationInfo=t.data.configurationInfo,this.configurationPeers=t.data.configurationPeers,this.configurationPeers.forEach(s=>{s.restricted=!1}),t.data.configurationRestrictedPeers.forEach(s=>{s.restricted=!0,this.configurationPeers.push(s)}),this.loading=!1,this.configurationPeers.length>0){const s=this.configurationPeers.map(i=>i.total_sent+i.cumu_sent).reduce((i,o)=>i+o).toFixed(4),n=this.configurationPeers.map(i=>i.total_receive+i.cumu_receive).reduce((i,o)=>i+o).toFixed(4);this.historyDataSentDifference[this.historyDataSentDifference.length-1]!==s&&(this.historyDataSentDifference.length>0&&(this.historySentData={labels:[...this.historySentData.labels,ki().format("HH:mm:ss A")],datasets:[{label:"Data Sent",data:[...this.historySentData.datasets[0].data,((s-this.historyDataSentDifference[this.historyDataSentDifference.length-1])*1e3).toFixed(4)],fill:!1,borderColor:" #198754",tension:0}]}),this.historyDataSentDifference.push(s)),this.historyDataReceivedDifference[this.historyDataReceivedDifference.length-1]!==n&&(this.historyDataReceivedDifference.length>0&&(this.historyReceiveData={labels:[...this.historyReceiveData.labels,ki().format("HH:mm:ss A")],datasets:[{label:"Data Received",data:[...this.historyReceiveData.datasets[0].data,((n-this.historyDataReceivedDifference[this.historyDataReceivedDifference.length-1])*1e3).toFixed(4)],fill:!1,borderColor:"#0d6efd",tension:0}]}),this.historyDataReceivedDifference.push(n))}})},setPeerInterval(){this.dashboardConfigurationStore.Peers.RefreshInterval=setInterval(()=>{this.getPeers()},parseInt(this.dashboardConfigurationStore.Configuration.Server.dashboard_refresh_interval)),console.log(this.dashboardConfigurationStore.Peers.RefreshInterval)}},computed:{configurationSummary(){return{connectedPeers:this.configurationPeers.filter(e=>e.status==="running").length,totalUsage:this.configurationPeers.length>0?this.configurationPeers.map(e=>e.total_data+e.cumu_data).reduce((e,t)=>e+t):0,totalReceive:this.configurationPeers.length>0?this.configurationPeers.map(e=>e.total_receive+e.cumu_receive).reduce((e,t)=>e+t):0,totalSent:this.configurationPeers.length>0?this.configurationPeers.map(e=>e.total_sent+e.cumu_sent).reduce((e,t)=>e+t):0}},receiveData(){return this.historyReceiveData},sentData(){return this.historySentData},individualDataUsage(){return{labels:this.configurationPeers.map(e=>e.name?e.name:`Untitled Peer - ${e.id}`),datasets:[{label:"Total Data Usage",data:this.configurationPeers.map(e=>e.cumu_data+e.total_data),backgroundColor:this.configurationPeers.map(e=>"#0dcaf0"),tooltip:{callbacks:{label:e=>`${e.formattedValue} GB`}}}]}},individualDataUsageChartOption(){return{responsive:!0,plugins:{legend:{display:!1}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(e,t)=>`${e} GB`},grid:{display:!1}}}}},chartOptions(){return{responsive:!0,plugins:{legend:{display:!1},tooltip:{callbacks:{label:e=>`${e.formattedValue} MB/s`}}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(e,t)=>`${e} MB/s`},grid:{display:!1}}}}},searchPeers(){const e=new to(this.configurationPeers,{keys:["name","id","allowed_ip"]}),t=this.wireguardConfigurationStore.searchString?e.search(this.wireguardConfigurationStore.searchString).map(s=>s.item):this.configurationPeers;return this.dashboardConfigurationStore.Configuration.Server.dashboard_sort==="restricted"?t.slice().sort((s,n)=>s[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]n[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]?-1:0):t.slice().sort((s,n)=>s[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]n[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]?1:0)}}},ve=e=>(ss("data-v-4f6e612a"),e=e(),ns(),e),N4={key:0},F4={class:"d-flex align-items-center"},B4=ve(()=>u("small",{CLASS:"text-muted"},"CONFIGURATION",-1)),V4={class:"d-flex align-items-center gap-3"},j4={class:"mb-0"},H4={class:"card rounded-3 bg-transparent shadow-sm ms-auto"},W4={class:"card-body py-2 d-flex align-items-center"},z4=ve(()=>u("p",{class:"mb-0 text-muted"},[u("small",null,"Status")],-1)),K4={class:"form-check form-switch ms-auto"},U4=["for"],Y4={key:0,class:"spinner-border spinner-border-sm","aria-hidden":"true"},q4=["disabled","id"],G4={class:"row mt-3 gy-2 gx-2 mb-2"},J4={class:"col-6 col-lg-3"},X4={class:"card rounded-3 bg-transparent shadow-sm"},Q4={class:"card-body py-2"},Z4=ve(()=>u("p",{class:"mb-0 text-muted"},[u("small",null,"Address")],-1)),tV={class:"col-6 col-lg-3"},eV={class:"card rounded-3 bg-transparent shadow-sm"},sV={class:"card-body py-2"},nV=ve(()=>u("p",{class:"mb-0 text-muted"},[u("small",null,"Listen Port")],-1)),iV={style:{"word-break":"break-all"},class:"col-12 col-lg-6"},oV={class:"card rounded-3 bg-transparent shadow-sm"},rV={class:"card-body py-2"},aV=ve(()=>u("p",{class:"mb-0 text-muted"},[u("small",null,"Public Key")],-1)),lV={class:"row gx-2 gy-2 mb-2"},cV={class:"col-6 col-lg-3"},dV={class:"card rounded-3 bg-transparent shadow-sm"},uV={class:"card-body d-flex"},hV=ve(()=>u("p",{class:"mb-0 text-muted"},[u("small",null,"Connected Peers")],-1)),fV={class:"h4"},pV=ve(()=>u("i",{class:"bi bi-ethernet ms-auto h2 text-muted"},null,-1)),gV={class:"col-6 col-lg-3"},mV={class:"card rounded-3 bg-transparent shadow-sm"},_V={class:"card-body d-flex"},bV=ve(()=>u("p",{class:"mb-0 text-muted"},[u("small",null,"Total Usage")],-1)),vV={class:"h4"},yV=ve(()=>u("i",{class:"bi bi-arrow-down-up ms-auto h2 text-muted"},null,-1)),xV={class:"col-6 col-lg-3"},wV={class:"card rounded-3 bg-transparent shadow-sm"},SV={class:"card-body d-flex"},EV=ve(()=>u("p",{class:"mb-0 text-muted"},[u("small",null,"Total Received")],-1)),AV={class:"h4 text-primary"},CV=ve(()=>u("i",{class:"bi bi-arrow-down ms-auto h2 text-muted"},null,-1)),$V={class:"col-6 col-lg-3"},PV={class:"card rounded-3 bg-transparent shadow-sm"},kV={class:"card-body d-flex"},TV=ve(()=>u("p",{class:"mb-0 text-muted"},[u("small",null,"Total Sent")],-1)),MV={class:"h4 text-success"},DV=ve(()=>u("i",{class:"bi bi-arrow-up ms-auto h2 text-muted"},null,-1)),IV={class:"row gx-2 gy-2 mb-3"},OV={class:"col-12 col-lg-6"},LV={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},RV=ve(()=>u("div",{class:"card-header bg-transparent border-0"},[u("small",{class:"text-muted"},"Peers Total Data Usage")],-1)),NV={class:"card-body pt-1"},FV={class:"col-sm col-lg-3"},BV={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},VV=ve(()=>u("div",{class:"card-header bg-transparent border-0"},[u("small",{class:"text-muted"},"Real Time Received Data Usage")],-1)),jV={class:"card-body pt-1"},HV={class:"col-sm col-lg-3"},WV={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},zV=ve(()=>u("div",{class:"card-header bg-transparent border-0"},[u("small",{class:"text-muted"},"Real Time Sent Data Usage")],-1)),KV={class:"card-body pt-1"},UV={class:"mb-4"};function YV(e,t,s,n,i,o){const r=At("Bar"),a=At("Line"),l=At("PeerSearch"),c=At("Peer"),d=At("PeerSettings"),h=At("PeerQRCode"),p=At("PeerJobs"),g=At("PeerJobsAllModal"),m=At("PeerJobsLogsModal");return this.loading?xt("",!0):(O(),B("div",N4,[u("div",F4,[u("div",null,[B4,u("div",V4,[u("h1",j4,[u("samp",null,nt(this.configurationInfo.Name),1)])])]),u("div",H4,[u("div",W4,[u("div",null,[z4,u("div",K4,[u("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+this.configurationInfo.id},[rt(nt(this.configurationToggling?"Turning ":"")+" "+nt(this.configurationInfo.Status?"On":"Off")+" ",1),this.configurationToggling?(O(),B("span",Y4)):xt("",!0)],8,U4),ft(u("input",{class:"form-check-input",style:{cursor:"pointer"},disabled:this.configurationToggling,type:"checkbox",role:"switch",id:"switch"+this.configurationInfo.id,onChange:t[0]||(t[0]=_=>this.toggle()),"onUpdate:modelValue":t[1]||(t[1]=_=>this.configurationInfo.Status=_)},null,40,q4),[[Xe,this.configurationInfo.Status]])])]),u("div",{class:Mt(["dot ms-5",{active:this.configurationInfo.Status}])},null,2)])])]),u("div",G4,[u("div",J4,[u("div",X4,[u("div",Q4,[Z4,rt(" "+nt(this.configurationInfo.Address),1)])])]),u("div",tV,[u("div",eV,[u("div",sV,[nV,rt(" "+nt(this.configurationInfo.ListenPort),1)])])]),u("div",iV,[u("div",oV,[u("div",rV,[aV,u("samp",null,nt(this.configurationInfo.PublicKey),1)])])])]),u("div",lV,[u("div",cV,[u("div",dV,[u("div",uV,[u("div",null,[hV,u("strong",fV,nt(o.configurationSummary.connectedPeers),1)]),pV])])]),u("div",gV,[u("div",mV,[u("div",_V,[u("div",null,[bV,u("strong",vV,nt(o.configurationSummary.totalUsage.toFixed(4))+" GB",1)]),yV])])]),u("div",xV,[u("div",wV,[u("div",SV,[u("div",null,[EV,u("strong",AV,nt(o.configurationSummary.totalReceive.toFixed(4))+" GB",1)]),CV])])]),u("div",$V,[u("div",PV,[u("div",kV,[u("div",null,[TV,u("strong",MV,nt(o.configurationSummary.totalSent.toFixed(4))+" GB",1)]),DV])])])]),u("div",IV,[u("div",OV,[u("div",LV,[RV,u("div",NV,[dt(r,{data:o.individualDataUsage,options:o.individualDataUsageChartOption,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["data","options"])])])]),u("div",FV,[u("div",BV,[VV,u("div",jV,[dt(a,{options:o.chartOptions,data:o.receiveData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])]),u("div",HV,[u("div",WV,[zV,u("div",KV,[dt(a,{options:o.chartOptions,data:o.sentData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])])]),u("div",UV,[dt(l,{onJobsAll:t[2]||(t[2]=_=>this.peerScheduleJobsAll.modalOpen=!0),onJobLogs:t[3]||(t[3]=_=>this.peerScheduleJobsLogs.modalOpen=!0),configuration:this.configurationInfo},null,8,["configuration"]),dt(An,{name:"list",tag:"div",class:"row gx-2 gy-2 z-0"},{default:It(()=>[(O(!0),B(Nt,null,se(this.searchPeers,_=>(O(),B("div",{class:"col-12 col-lg-6 col-xl-4",key:_.id},[dt(c,{Peer:_,onRefresh:t[4]||(t[4]=v=>this.getPeers()),onJobs:v=>{i.peerScheduleJobs.modalOpen=!0,i.peerScheduleJobs.selectedPeer=this.configurationPeers.find(w=>w.id===_.id)},onSetting:v=>{i.peerSetting.modalOpen=!0,i.peerSetting.selectedPeer=this.configurationPeers.find(w=>w.id===_.id)},onQrcode:t[5]||(t[5]=v=>{this.peerQRCode.peerConfigData=v,this.peerQRCode.modalOpen=!0})},null,8,["Peer","onJobs","onSetting"])]))),128))]),_:1})]),dt(Re,{name:"zoom"},{default:It(()=>[this.peerSetting.modalOpen?(O(),qt(d,{key:"settings",selectedPeer:this.peerSetting.selectedPeer,onRefresh:t[6]||(t[6]=_=>this.getPeers()),onClose:t[7]||(t[7]=_=>this.peerSetting.modalOpen=!1)},null,8,["selectedPeer"])):xt("",!0)]),_:1}),dt(Re,{name:"zoom"},{default:It(()=>[i.peerQRCode.modalOpen?(O(),qt(h,{peerConfigData:this.peerQRCode.peerConfigData,key:"qrcode",onClose:t[8]||(t[8]=_=>this.peerQRCode.modalOpen=!1)},null,8,["peerConfigData"])):xt("",!0)]),_:1}),dt(Re,{name:"zoom"},{default:It(()=>[this.peerScheduleJobs.modalOpen?(O(),qt(p,{key:0,onRefresh:t[9]||(t[9]=_=>this.getPeers()),selectedPeer:this.peerScheduleJobs.selectedPeer,onClose:t[10]||(t[10]=_=>this.peerScheduleJobs.modalOpen=!1)},null,8,["selectedPeer"])):xt("",!0)]),_:1}),dt(Re,{name:"zoom"},{default:It(()=>[this.peerScheduleJobsAll.modalOpen?(O(),qt(g,{key:0,onRefresh:t[11]||(t[11]=_=>this.getPeers()),onClose:t[12]||(t[12]=_=>this.peerScheduleJobsAll.modalOpen=!1),configurationPeers:this.configurationPeers},null,8,["configurationPeers"])):xt("",!0)]),_:1}),dt(Re,{name:"zoom"},{default:It(()=>[this.peerScheduleJobsLogs.modalOpen?(O(),qt(m,{key:0,onClose:t[13]||(t[13]=_=>this.peerScheduleJobsLogs.modalOpen=!1),configurationInfo:this.configurationInfo},null,8,["configurationInfo"])):xt("",!0)]),_:1})]))}const qV=Et(R4,[["render",YV],["__scopeId","data-v-4f6e612a"]]),GV={name:"ping",data(){return{loading:!1,cips:{},selectedConfiguration:void 0,selectedPeer:void 0,selectedIp:void 0,count:4,pingResult:void 0,pinging:!1}},setup(){return{store:Ht()}},mounted(){le("/api/ping/getAllPeersIpAddress",{},e=>{e.status&&(this.loading=!0,this.cips=e.data,console.log(this.cips))})},methods:{execute(){this.selectedIp&&(this.pinging=!0,this.pingResult=void 0,le("/api/ping/execute",{ipAddress:this.selectedIp,count:this.count},e=>{e.status?this.pingResult=e.data:this.store.newMessage("Server",e.message,"danger")}))}},watch:{selectedConfiguration(){this.selectedPeer=void 0,this.selectedIp=void 0},selectedPeer(){this.selectedIp=void 0}}},He=e=>(ss("data-v-875f5a3c"),e=e(),ns(),e),JV={class:"mt-5 text-body"},XV={class:"container"},QV=He(()=>u("h3",{class:"mb-3 text-body"},"Ping",-1)),ZV={class:"row"},tj={class:"col-sm-4 d-flex gap-2 flex-column"},ej=He(()=>u("label",{class:"mb-1 text-muted",for:"configuration"},[u("small",null,"Configuration")],-1)),sj=He(()=>u("option",{disabled:"",selected:"",value:void 0},"Select a Configuration...",-1)),nj=["value"],ij=He(()=>u("label",{class:"mb-1 text-muted",for:"peer"},[u("small",null,"Peer")],-1)),oj=["disabled"],rj=He(()=>u("option",{disabled:"",selected:"",value:void 0},"Select a Peer...",-1)),aj=["value"],lj=He(()=>u("label",{class:"mb-1 text-muted",for:"ip"},[u("small",null,"IP Address")],-1)),cj=["disabled"],dj=He(()=>u("option",{disabled:"",selected:"",value:void 0},"Select a IP...",-1)),uj=He(()=>u("label",{class:"mb-1 text-muted",for:"count"},[u("small",null,"Ping Count")],-1)),hj=["disabled"],fj=He(()=>u("i",{class:"bi bi-person-walking me-2"},null,-1)),pj={class:"col-sm-8"},gj={key:"pingPlaceholder"},mj={key:"pingResult",class:"d-flex flex-column gap-2 w-100"},_j={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.15s"}},bj={class:"card-body"},vj=He(()=>u("p",{class:"mb-0 text-muted"},[u("small",null,"Address")],-1)),yj={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.3s"}},xj={class:"card-body"},wj=He(()=>u("p",{class:"mb-0 text-muted"},[u("small",null,"Is Alive")],-1)),Sj={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.45s"}},Ej={class:"card-body"},Aj=He(()=>u("p",{class:"mb-0 text-muted"},[u("small",null,"Average / Min / Max Round Trip Time")],-1)),Cj={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.6s"}},$j={class:"card-body"},Pj=He(()=>u("p",{class:"mb-0 text-muted"},[u("small",null,"Sent / Received / Lost Package")],-1));function kj(e,t,s,n,i,o){return O(),B("div",JV,[u("div",XV,[QV,u("div",ZV,[u("div",tj,[u("div",null,[ej,ft(u("select",{class:"form-select","onUpdate:modelValue":t[0]||(t[0]=r=>this.selectedConfiguration=r)},[sj,(O(!0),B(Nt,null,se(this.cips,(r,a)=>(O(),B("option",{value:a},nt(a),9,nj))),256))],512),[[la,this.selectedConfiguration]])]),u("div",null,[ij,ft(u("select",{id:"peer",class:"form-select","onUpdate:modelValue":t[1]||(t[1]=r=>this.selectedPeer=r),disabled:this.selectedConfiguration===void 0},[rj,this.selectedConfiguration!==void 0?(O(!0),B(Nt,{key:0},se(this.cips[this.selectedConfiguration],(r,a)=>(O(),B("option",{value:a},nt(a),9,aj))),256)):xt("",!0)],8,oj),[[la,this.selectedPeer]])]),u("div",null,[lj,ft(u("select",{id:"ip",class:"form-select","onUpdate:modelValue":t[2]||(t[2]=r=>this.selectedIp=r),disabled:this.selectedPeer===void 0},[dj,this.selectedPeer!==void 0?(O(!0),B(Nt,{key:0},se(this.cips[this.selectedConfiguration][this.selectedPeer].allowed_ips,r=>(O(),B("option",null,nt(r),1))),256)):xt("",!0)],8,cj),[[la,this.selectedIp]])]),u("div",null,[uj,ft(u("input",{class:"form-control",type:"number","onUpdate:modelValue":t[3]||(t[3]=r=>this.count=r),min:"1",id:"count",placeholder:"How many times you want to ping?"},null,512),[[bt,this.count]])]),u("button",{class:"btn btn-primary rounded-3 mt-3",disabled:!this.selectedIp,onClick:t[4]||(t[4]=r=>this.execute())},[fj,rt("Go! ")],8,hj)]),u("div",pj,[dt(An,{name:"ping"},{default:It(()=>[this.pingResult?(O(),B("div",mj,[u("div",_j,[u("div",bj,[vj,rt(" "+nt(this.pingResult.address),1)])]),u("div",yj,[u("div",xj,[wj,u("span",{class:Mt([this.pingResult.is_alive?"text-success":"text-danger"])},[u("i",{class:Mt(["bi me-1",[this.pingResult.is_alive?"bi-check-circle-fill":"bi-x-circle-fill"]])},null,2),rt(" "+nt(this.pingResult.is_alive?"Yes":"No"),1)],2)])]),u("div",Sj,[u("div",Ej,[Aj,u("samp",null,nt(this.pingResult.avg_rtt)+"ms / "+nt(this.pingResult.min_rtt)+"ms / "+nt(this.pingResult.max_rtt)+"ms ",1)])]),u("div",Cj,[u("div",$j,[Pj,u("samp",null,nt(this.pingResult.package_sent)+" / "+nt(this.pingResult.package_received)+" / "+nt(this.pingResult.package_loss),1)])])])):(O(),B("div",gj,[(O(),B(Nt,null,se(4,r=>u("div",{class:Mt(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.pinging}]),style:Ri({"animation-delay":`${r*.15}s`})},null,6)),64))]))]),_:1})])])])])}const Tj=Et(GV,[["render",kj],["__scopeId","data-v-875f5a3c"]]),Mj={name:"traceroute",data(){return{tracing:!1,ipAddress:void 0,tracerouteResult:void 0}},setup(){return{store:Ve()}},methods:{execute(){this.ipAddress&&(this.tracing=!0,this.tracerouteResult=void 0,le("/api/traceroute/execute",{ipAddress:this.ipAddress},e=>{e.status?this.tracerouteResult=e.data:this.store.newMessage("Server",e.message,"danger"),this.tracing=!1}))}}},_l=e=>(ss("data-v-dda37ccf"),e=e(),ns(),e),Dj={class:"mt-5 text-body"},Ij={class:"container"},Oj=_l(()=>u("h3",{class:"mb-3 text-body"},"Traceroute",-1)),Lj={class:"row"},Rj={class:"col-sm-4 d-flex gap-2 flex-column"},Nj=_l(()=>u("label",{class:"mb-1 text-muted",for:"ipAddress"},[u("small",null,"IP Address")],-1)),Fj=["disabled"],Bj=_l(()=>u("i",{class:"bi bi-bullseye me-2"},null,-1)),Vj={class:"col-sm-8 position-relative"},jj={key:"pingPlaceholder"},Hj={key:"table",class:"w-100"},Wj={class:"table table-borderless rounded-3 w-100"},zj=_l(()=>u("thead",null,[u("tr",null,[u("th",{scope:"col"},"Hop"),u("th",{scope:"col"},"IP Address"),u("th",{scope:"col"},"Average / Min / Max Round Trip Time")])],-1));function Kj(e,t,s,n,i,o){return O(),B("div",Dj,[u("div",Ij,[Oj,u("div",Lj,[u("div",Rj,[u("div",null,[Nj,ft(u("input",{id:"ipAddress",class:"form-control","onUpdate:modelValue":t[0]||(t[0]=r=>this.ipAddress=r),type:"text",placeholder:"Enter an IP Address you want to trace :)"},null,512),[[bt,this.ipAddress]])]),u("button",{class:"btn btn-primary rounded-3 mt-3",disabled:!this.store.regexCheckIP(this.ipAddress)||this.tracing,onClick:t[1]||(t[1]=r=>this.execute())},[Bj,rt(" "+nt(this.tracing?"Tracing...":"Trace It!"),1)],8,Fj)]),u("div",Vj,[dt(An,{name:"ping"},{default:It(()=>[this.tracerouteResult?(O(),B("div",Hj,[u("table",Wj,[zj,u("tbody",null,[(O(!0),B(Nt,null,se(this.tracerouteResult,(r,a)=>(O(),B("tr",{class:"animate__fadeInUp animate__animated",style:Ri({"animation-delay":`${a*.05}s`})},[u("td",null,nt(r.hop),1),u("td",null,nt(r.ip),1),u("td",null,nt(r.avg_rtt)+" / "+nt(r.min_rtt)+" / "+nt(r.max_rtt),1)],4))),256))])])])):(O(),B("div",jj,[(O(),B(Nt,null,se(10,r=>u("div",{class:Mt(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.tracing}]),style:Ri({"animation-delay":`${r*.05}s`})},null,6)),64))]))]),_:1})])])])])}const Uj=Et(Mj,[["render",Kj],["__scopeId","data-v-dda37ccf"]]),Yj={name:"totp",async setup(){const e=Ht();let t="";return await le("/api/Welcome_GetTotpLink",{},s=>{s.status&&(t=s.data)}),{l:t,store:e}},mounted(){this.l&&eo.toCanvas(document.getElementById("qrcode"),this.l,function(e){})},data(){return{totp:"",totpInvalidMessage:"",verified:!1}},methods:{validateTotp(){}},watch:{totp(e){const t=document.querySelector("#totp");t.classList.remove("is-invalid","is-valid"),e.length===6&&(console.log(e),/[0-9]{6}/.test(e)?Zt("/api/Welcome_VerifyTotpLink",{totp:e},s=>{s.status?(this.verified=!0,t.classList.add("is-valid"),this.$emit("verified")):(t.classList.add("is-invalid"),this.totpInvalidMessage="TOTP does not match.")}):(t.classList.add("is-invalid"),this.totpInvalidMessage="TOTP can only contain numbers"))}}},qj=["data-bs-theme"],Gj={class:"m-auto text-body",style:{width:"500px"}},Jj={class:"d-flex flex-column"},Xj=u("h1",{class:"dashboardLogo display-4"},"Multi-Factor Authentication",-1),Qj=u("p",{class:"mb-2"},[u("small",{class:"text-muted"},"1. Please scan the following QR Code to generate TOTP")],-1),Zj=u("canvas",{id:"qrcode",class:"rounded-3 mb-2"},null,-1),t8={class:"p-3 bg-body-secondary rounded-3 border mb-3"},e8=u("p",{class:"text-muted mb-0"},[u("small",null,"Or you can click the link below:")],-1),s8=["href"],n8={style:{"line-break":"anywhere"}},i8=u("label",{for:"totp",class:"mb-2"},[u("small",{class:"text-muted"},"2. Enter the TOTP generated by your authenticator to verify")],-1),o8={class:"form-group mb-2"},r8=["disabled"],a8={class:"invalid-feedback"},l8=u("div",{class:"valid-feedback"}," TOTP verified! ",-1),c8=u("div",{class:"alert alert-warning rounded-3"},[u("i",{class:"bi bi-exclamation-triangle-fill me-2"}),rt(" If you ever lost your TOTP and can't login, please follow instruction on "),u("a",{href:"https://github.com/donaldzou/WGDashboard",target:"_blank"},"readme.md"),rt(" to reset. ")],-1),d8=u("hr",null,null,-1),u8={class:"d-flex gap-3 mt-5 flex-column"},h8=u("i",{class:"bi bi-chevron-right ms-auto"},null,-1),f8=u("i",{class:"bi bi-chevron-right ms-auto"},null,-1);function p8(e,t,s,n,i,o){const r=At("RouterLink");return O(),B("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[u("div",Gj,[u("div",Jj,[u("div",null,[Xj,Qj,Zj,u("div",t8,[e8,u("a",{href:this.l},[u("code",n8,nt(this.l),1)],8,s8)]),i8,u("div",o8,[ft(u("input",{class:"form-control text-center totp",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code","onUpdate:modelValue":t[0]||(t[0]=a=>this.totp=a),disabled:this.verified},null,8,r8),[[bt,this.totp]]),u("div",a8,nt(this.totpInvalidMessage),1),l8]),c8]),d8,u("div",u8,[this.verified?(O(),qt(r,{key:1,to:"/",class:"btn btn-dark btn-lg d-flex btn-brand shadow align-items-center flex-grow-1 rounded-3"},{default:It(()=>[rt(" Complete "),f8]),_:1})):(O(),qt(r,{key:0,to:"/",class:"btn bg-secondary-subtle text-secondary-emphasis rounded-3 flex-grow-1 btn-lg border-1 border-secondary-subtle shadow d-flex"},{default:It(()=>[rt(" I don't need MFA "),h8]),_:1}))])])])],8,qj)}const g8=Et(Yj,[["render",p8]]),m8=async()=>{let e=!1;return await le("/api/validateAuthentication",{},t=>{e=t.status}),e},fr=GE({history:hE(),routes:[{name:"Index",path:"/",component:FA,meta:{requiresAuth:!0},children:[{name:"Configuration List",path:"",component:DC,meta:{title:"WireGuard Configurations"}},{name:"Settings",path:"/settings",component:Sk,meta:{title:"Settings"}},{path:"/ping",name:"Ping",component:Tj},{path:"/traceroute",name:"Traceroute",component:Uj},{name:"New Configuration",path:"/new_configuration",component:rM,meta:{title:"New Configuration"}},{name:"Configuration",path:"/configuration/:id",component:dM,meta:{title:"Configuration"},children:[{name:"Peers List",path:"peers",component:qV},{name:"Peers Create",path:"create",component:Fb}]}]},{path:"/signin",component:rC,meta:{title:"Sign In"}},{path:"/welcome",component:Kk,meta:{requiresAuth:!0}},{path:"/2FASetup",component:g8,meta:{requiresAuth:!0}}]});fr.beforeEach(async(e,t,s)=>{const n=Ve(),i=Ht();e.meta.title?e.params.id?document.title=e.params.id+" | WGDashboard":document.title=e.meta.title+" | WGDashboard":document.title="WGDashboard",e.meta.requiresAuth?XE.getCookie("authToken")&&await m8()?(await i.getConfiguration(),!n.Configurations&&e.name!=="Configuration List"&&await n.getConfigurations(),i.Redirect=void 0,s()):(i.Redirect=e,s("/signin"),i.newMessage("WGDashboard","Session Ended","warning")):s()});const le=async(e,t=void 0,s=void 0)=>{const n=new URLSearchParams(t);await fetch(`${e}?${n.toString()}`,{headers:{"content-type":"application/json"}}).then(i=>{const o=Ht();if(i.ok)return i.json();if(i.status!==200)throw i.status===401&&(fr.push({path:"/signin"}),o.newMessage("WGDashboard","Session Ended","warning")),new Error(i.statusText)}).then(i=>s?s(i):void 0).catch(i=>{console.log(i)})},Zt=async(e,t,s)=>{await fetch(`${e}`,{headers:{"content-type":"application/json"},method:"POST",body:JSON.stringify(t)}).then(n=>{const i=Ht();if(n.ok)return n.json();if(n.status!==200)throw n.status===401&&(fr.push({path:"/signin"}),i.newMessage("WGDashboard","Session Ended","warning")),new Error(n.statusText)}).then(n=>s?s(n):void 0).catch(n=>{console.log(n)})},Ht=jd("DashboardConfigurationStore",{state:()=>({Redirect:void 0,Configuration:void 0,Messages:[],Peers:{Selecting:!1,RefreshInterval:void 0}}),actions:{async getConfiguration(){await le("/api/getDashboardConfiguration",{},e=>{e.status&&(this.Configuration=e.data)})},async updateConfiguration(){await Zt("/api/updateDashboardConfiguration",{DashboardConfiguration:this.Configuration},e=>{console.log(e)})},async signOut(){await le("/api/signout",{},e=>{this.$router.go("/signin")})},newMessage(e,t,s){this.Messages.push({id:zs(),from:e,content:t,type:s,show:!0})}}}),_8=e=>(ss("data-v-ee3f3bad"),e=e(),ns(),e),b8=_8(()=>u("nav",{class:"navbar bg-dark sticky-top","data-bs-theme":"dark"},[u("div",{class:"container-fluid"},[u("span",{class:"navbar-brand mb-0 h1"},"WGDashboard")])],-1)),v8={__name:"App",setup(e){return Ht(),(t,s)=>(O(),B(Nt,null,[b8,(O(),qt(Id,null,{default:It(()=>[dt(pn(s_),null,{default:It(({Component:n})=>[dt(Re,{name:"fade2",mode:"out-in"},{default:It(()=>[(O(),qt(Dd(n)))]),_:2},1024)]),_:1})]),_:1}))],64))}},y8=Et(v8,[["__scopeId","data-v-ee3f3bad"]]),gu=FS(y8);gu.use(fr);const jb=HS();jb.use(({store:e})=>{e.$router=Ya(fr)});gu.use(jb);gu.mount("#app"); +`);const a=gj(t,n,i),r=ku.getSymbolSize(t),l=new oj(r);return dj(l,t),hj(l),fj(l,t),Cd(l,n,0),t>=7&&pj(l,t),mj(l,a),isNaN(s)&&(s=$h.getBestMask(l,Cd.bind(null,l,n))),$h.applyMask(s,l),Cd(l,n,s),{modules:l,version:t,errorCorrectionLevel:n,maskPattern:s,segments:i}}A1.create=function(t,n){if(typeof t>"u"||t==="")throw new Error("No input text");let s=$d.M,i,o;return typeof n<"u"&&(s=$d.from(n.errorCorrectionLevel,$d.M),i=Hc.from(n.version),o=$h.from(n.maskPattern),n.toSJISFunc&&ku.setToSJISFunction(n.toSJISFunc)),bj(t,i,s,o)};var F1={},op={};(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let s=n.slice().replace("#","").split("");if(s.length<3||s.length===5||s.length>8)throw new Error("Invalid hex color: "+n);(s.length===3||s.length===4)&&(s=Array.prototype.concat.apply([],s.map(function(o){return[o,o]}))),s.length===6&&s.push("F","F");const i=parseInt(s.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+s.slice(0,6).join("")}}e.getOptions=function(s){s||(s={}),s.color||(s.color={});const i=typeof s.margin>"u"||s.margin===null||s.margin<0?4:s.margin,o=s.width&&s.width>=21?s.width:void 0,a=s.scale||4;return{width:o,scale:o?4:a,margin:i,color:{dark:t(s.color.dark||"#000000ff"),light:t(s.color.light||"#ffffffff")},type:s.type,rendererOpts:s.rendererOpts||{}}},e.getScale=function(s,i){return i.width&&i.width>=s+i.margin*2?i.width/(s+i.margin*2):i.scale},e.getImageWidth=function(s,i){const o=e.getScale(s,i);return Math.floor((s+i.margin*2)*o)},e.qrToImageData=function(s,i,o){const a=i.modules.size,r=i.modules.data,l=e.getScale(a,o),c=Math.floor((a+o.margin*2)*l),u=o.margin*l,d=[o.color.light,o.color.dark];for(let f=0;f=u&&p>=u&&f"u"&&(!a||!a.getContext)&&(l=a,a=void 0),a||(c=s()),l=t.getOptions(l);const u=t.getImageWidth(o.modules.size,l),d=c.getContext("2d"),f=d.createImageData(u,u);return t.qrToImageData(f.data,o,l),n(d,c,u),d.putImageData(f,0,0),c},e.renderToDataURL=function(o,a,r){let l=r;typeof l>"u"&&(!a||!a.getContext)&&(l=a,a=void 0),l||(l={});const c=e.render(o,a,l),u=l.type||"image/png",d=l.rendererOpts||{};return c.toDataURL(u,d.quality)}})(F1);var B1={};const vj=op;function db(e,t){const n=e.a/255,s=t+'="'+e.hex+'"';return n<1?s+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':s}function Pd(e,t,n){let s=e+t;return typeof n<"u"&&(s+=" "+n),s}function yj(e,t,n){let s="",i=0,o=!1,a=0;for(let r=0;r0&&l>0&&e[r-1]||(s+=o?Pd("M",l+n,.5+c+n):Pd("m",i,0),i=0,o=!1),l+1':"",c="',u='viewBox="0 0 '+r+" "+r+'"',f=''+l+c+` +`;return typeof s=="function"&&s(null,f),f};const wj=I8,Ch=A1,V1=F1,xj=B1;function ap(e,t,n,s,i){const o=[].slice.call(arguments,1),a=o.length,r=typeof o[a-1]=="function";if(!r&&!wj())throw new Error("Callback required as last argument");if(r){if(a<2)throw new Error("Too few arguments provided");a===2?(i=n,n=t,t=s=void 0):a===3&&(t.getContext&&typeof i>"u"?(i=s,s=void 0):(i=s,s=n,n=t,t=void 0))}else{if(a<1)throw new Error("Too few arguments provided");return a===1?(n=t,t=s=void 0):a===2&&!t.getContext&&(s=n,n=t,t=void 0),new Promise(function(l,c){try{const u=Ch.create(n,s);l(e(u,t,s))}catch(u){c(u)}})}try{const l=Ch.create(n,s);i(null,e(l,t,s))}catch(l){i(l)}}No.create=Ch.create;No.toCanvas=ap.bind(null,V1.render);No.toDataURL=ap.bind(null,V1.renderToDataURL);No.toString=ap.bind(null,function(e,t,n){return xj.render(e,n)});const kj={name:"peerQRCode",props:{peerConfigData:String},mounted(){No.toCanvas(document.querySelector("#qrcode"),this.peerConfigData,e=>{e&&console.error(e)})}},Sj={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0"},Aj={class:"container d-flex h-100 w-100"},$j={class:"m-auto modal-dialog-centered dashboardModal justify-content-center"},Ej={class:"card rounded-3 shadow"},Cj={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},Pj=h("h4",{class:"mb-0"},"QR Code",-1),Tj={class:"card-body"},Mj={id:"qrcode",class:"rounded-3 shadow",ref:"qrcode"};function Dj(e,t,n,s,i,o){return R(),B("div",Sj,[h("div",Aj,[h("div",$j,[h("div",Ej,[h("div",Cj,[Pj,h("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=a=>this.$emit("close"))})]),h("div",Tj,[h("canvas",Mj,null,512)])])])])])}const Oj=Ye(kj,[["render",Dj]]),Ij={name:"nameInput",props:{bulk:Boolean,data:Object,saving:Boolean}},Rj=h("label",{for:"peer_name_textbox",class:"form-label"},[h("small",{class:"text-muted"},"Name")],-1),Lj=["disabled"];function Nj(e,t,n,s,i,o){return R(),B("div",{class:Pe({inactiveField:this.bulk})},[Rj,Le(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving||this.bulk,"onUpdate:modelValue":t[0]||(t[0]=a=>this.data.name=a),id:"peer_name_textbox",placeholder:""},null,8,Lj),[[We,this.data.name]])],2)}const Fj=Ye(Ij,[["render",Nj]]),Bj={name:"privatePublicKeyInput",props:{data:Object,saving:Boolean,bulk:Boolean},setup(){return{dashboardStore:st()}},data(){return{keypair:{publicKey:"",privateKey:"",presharedKey:""},editKey:!1,error:!1}},methods:{genKeyPair(){this.editKey=!1,this.keypair=window.wireguard.generateKeypair(),this.data.private_key=this.keypair.privateKey,this.data.public_key=this.keypair.publicKey},checkMatching(){try{window.wireguard.generatePublicKey(this.keypair.privateKey)!==this.keypair.publicKey&&(this.error=!0,this.dashboardStore.newMessage("WGDashboard","Private Key and Public Key does not match.","danger"))}catch{this.error=!0,this.data.private_key="",this.data.public_key=""}}},mounted(){this.genKeyPair()},watch:{keypair:{deep:!0,handler(){this.error=!1,this.checkMatching()}}}},Vj=h("label",{for:"peer_private_key_textbox",class:"form-label"},[h("small",{class:"text-muted"},[we("Private Key "),h("code",null,"(Required for QR Code and Download)")])],-1),Hj={class:"input-group"},jj=["disabled"],Wj=["disabled"],zj=h("i",{class:"bi bi-arrow-repeat"},null,-1),Yj=[zj],Uj={class:"d-flex"},Kj=h("label",{for:"public_key",class:"form-label"},[h("small",{class:"text-muted"},[we("Public Key "),h("code",null,"(Required)")])],-1),qj={class:"form-check form-switch ms-auto"},Gj=["disabled"],Jj=h("label",{class:"form-check-label",for:"enablePublicKeyEdit"},[h("small",null,"Edit")],-1),Xj=["disabled"];function Qj(e,t,n,s,i,o){return R(),B("div",{class:Pe(["d-flex gap-2 flex-column",{inactiveField:this.bulk}])},[h("div",null,[Vj,h("div",Hj,[Le(h("input",{type:"text",class:Pe(["form-control form-control-sm rounded-start-3",{"is-invalid":this.error}]),"onUpdate:modelValue":t[0]||(t[0]=a=>this.keypair.privateKey=a),disabled:!this.editKey||this.bulk,onBlur:t[1]||(t[1]=a=>this.checkMatching()),id:"peer_private_key_textbox"},null,42,jj),[[We,this.keypair.privateKey]]),h("button",{class:"btn btn-outline-info btn-sm rounded-end-3",onClick:t[2]||(t[2]=a=>this.genKeyPair()),disabled:this.bulk,type:"button",id:"button-addon2"},Yj,8,Wj)])]),h("div",null,[h("div",Uj,[Kj,h("div",qj,[Le(h("input",{class:"form-check-input",type:"checkbox",role:"switch",disabled:this.bulk,id:"enablePublicKeyEdit","onUpdate:modelValue":t[3]||(t[3]=a=>this.editKey=a)},null,8,Gj),[[Kn,this.editKey]]),Jj])]),Le(h("input",{class:Pe(["form-control-sm form-control rounded-3",{"is-invalid":this.error}]),"onUpdate:modelValue":t[4]||(t[4]=a=>this.keypair.publicKey=a),onBlur:t[5]||(t[5]=a=>this.checkMatching()),disabled:!this.editKey||this.bulk,type:"text",id:"public_key"},null,42,Xj),[[We,this.keypair.publicKey]])])],2)}const Zj=Ye(Bj,[["render",Qj]]),eW={name:"allowedIPsInput",props:{data:Object,saving:Boolean,bulk:Boolean,availableIp:void 0},data(){return{allowedIp:[],availableIpSearchString:"",customAvailableIp:"",allowedIpFormatError:!1}},setup(){const e=Nn(),t=st();return{store:e,dashboardStore:t}},computed:{searchAvailableIps(){return this.availableIpSearchString?this.availableIp.filter(e=>e.includes(this.availableIpSearchString)&&!this.data.allowed_ips.includes(e)):this.availableIp.filter(e=>!this.data.allowed_ips.includes(e))}},methods:{addAllowedIp(e){return this.store.checkCIDR(e)?(this.data.allowed_ips.push(e),!0):!1}},watch:{customAvailableIp(){this.allowedIpFormatError=!1},availableIp(){this.availableIp!==void 0&&this.availableIp.length>0&&this.addAllowedIp(this.availableIp[0])}},mounted(){}},ul=e=>(En("data-v-2af3b91a"),e=e(),Cn(),e),tW=ul(()=>h("label",{for:"peer_allowed_ip_textbox",class:"form-label"},[h("small",{class:"text-muted"},[we("Allowed IPs "),h("code",null,"(Required)")])],-1)),nW=["onClick"],sW=ul(()=>h("i",{class:"bi bi-x-circle-fill ms-1"},null,-1)),iW=[sW],oW={class:"d-flex gap-2 align-items-center"},aW={class:"input-group"},rW=["disabled"],lW=["disabled"],cW=ul(()=>h("i",{class:"bi bi-plus-lg"},null,-1)),uW=[cW],dW=ul(()=>h("small",{class:"text-muted"},"or",-1)),hW={class:"dropdown flex-grow-1"},fW=["disabled"],pW=ul(()=>h("i",{class:"bi bi-filter-circle me-2"},null,-1)),mW={key:0,class:"dropdown-menu mt-2 shadow w-100 dropdown-menu-end rounded-3",style:{"overflow-y":"scroll","max-height":"270px",width:"300px !important"}},gW={class:"px-3 pb-2 pt-1"},_W=["onClick"],bW={class:"me-auto"},vW={key:0},yW={class:"px-3 text-muted"};function wW(e,t,n,s,i,o){return R(),B("div",{class:Pe({inactiveField:this.bulk})},[tW,h("div",{class:Pe(["d-flex gap-2 flex-wrap",{"mb-2":this.data.allowed_ips.length>0}])},[$e(Hi,{name:"list"},{default:Te(()=>[(R(!0),B(Me,null,qe(this.data.allowed_ips,(a,r)=>(R(),B("span",{class:"badge rounded-pill text-bg-success",key:a},[we(be(a)+" ",1),h("a",{role:"button",onClick:l=>this.data.allowed_ips.splice(r,1)},iW,8,nW)]))),128))]),_:1})],2),h("div",oW,[h("div",aW,[Le(h("input",{type:"text",class:Pe(["form-control form-control-sm rounded-start-3",{"is-invalid":this.allowedIpFormatError}]),placeholder:"Enter IP Address/CIDR","onUpdate:modelValue":t[0]||(t[0]=a=>i.customAvailableIp=a),disabled:n.bulk},null,10,rW),[[We,i.customAvailableIp]]),h("button",{class:"btn btn-outline-success btn-sm rounded-end-3",disabled:n.bulk||!this.customAvailableIp,onClick:t[1]||(t[1]=a=>{this.addAllowedIp(this.customAvailableIp)?this.customAvailableIp="":this.allowedIpFormatError=!0,this.dashboardStore.newMessage("WGDashboard","Allowed IP is invalid","danger")}),type:"button",id:"button-addon2"},uW,8,lW)]),dW,h("div",hW,[h("button",{class:"btn btn-outline-secondary btn-sm dropdown-toggle rounded-3 w-100",disabled:!n.availableIp||n.bulk,"data-bs-auto-close":"outside",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[pW,we(" Pick Available IP ")],8,fW),this.availableIp?(R(),B("ul",mW,[h("li",null,[h("div",gW,[Le(h("input",{class:"form-control form-control-sm rounded-3","onUpdate:modelValue":t[2]||(t[2]=a=>this.availableIpSearchString=a),placeholder:"Search..."},null,512),[[We,this.availableIpSearchString]])])]),(R(!0),B(Me,null,qe(this.searchAvailableIps,a=>(R(),B("li",null,[h("a",{class:"dropdown-item d-flex",role:"button",onClick:r=>this.addAllowedIp(a)},[h("span",bW,[h("small",null,be(a),1)])],8,_W)]))),256)),this.searchAvailableIps.length===0?(R(),B("li",vW,[h("small",yW,'No available IP containing "'+be(this.availableIpSearchString)+'"',1)])):ce("",!0)])):ce("",!0)])])],2)}const xW=Ye(eW,[["render",wW],["__scopeId","data-v-2af3b91a"]]),kW={name:"dnsInput",props:{data:Object,saving:Boolean},data(){return{error:!1,dns:JSON.parse(JSON.stringify(this.data.DNS))}},setup(){const e=Nn(),t=st();return{store:e,dashboardStore:t}},methods:{checkDNS(){if(this.dns){let e=this.dns.split(",").map(t=>t.replaceAll(" ",""));for(let t in e)if(!this.store.regexCheckIP(e[t])){this.error||this.dashboardStore.newMessage("WGDashboard","DNS is invalid","danger"),this.error=!0,this.data.DNS="";return}this.error=!1,this.data.DNS=this.dns}}},watch:{dns(){this.checkDNS()}}},SW=h("label",{for:"peer_DNS_textbox",class:"form-label"},[h("small",{class:"text-muted"},"DNS")],-1),AW=["disabled"];function $W(e,t,n,s,i,o){return R(),B("div",null,[SW,Le(h("input",{type:"text",class:Pe(["form-control form-control-sm rounded-3",{"is-invalid":this.error}]),disabled:this.saving,"onUpdate:modelValue":t[0]||(t[0]=a=>this.dns=a),id:"peer_DNS_textbox"},null,10,AW),[[We,this.dns]])])}const EW=Ye(kW,[["render",$W]]),CW={name:"endpointAllowedIps",props:{data:Object,saving:Boolean},setup(){const e=Nn(),t=st();return{store:e,dashboardStore:t}},data(){return{endpointAllowedIps:JSON.parse(JSON.stringify(this.data.endpoint_allowed_ip)),error:!1}},methods:{checkAllowedIP(){let e=this.endpointAllowedIps.split(",").map(t=>t.replaceAll(" ",""));for(let t in e)if(!this.store.checkCIDR(e[t])){this.error||this.dashboardStore.newMessage("WGDashboard","Endpoint Allowed IP is invalid.","danger"),this.data.endpoint_allowed_ip="",this.error=!0;return}this.error=!1,this.data.endpoint_allowed_ip=this.endpointAllowedIps}},watch:{endpointAllowedIps(){this.checkAllowedIP()}}},PW=h("label",{for:"peer_endpoint_allowed_ips",class:"form-label"},[h("small",{class:"text-muted"},[we("Endpoint Allowed IPs "),h("code",null,"(Required)")])],-1),TW=["disabled"];function MW(e,t,n,s,i,o){return R(),B("div",null,[PW,Le(h("input",{type:"text",class:Pe(["form-control form-control-sm rounded-3",{"is-invalid":i.error}]),disabled:this.saving,"onUpdate:modelValue":t[0]||(t[0]=a=>this.endpointAllowedIps=a),onBlur:t[1]||(t[1]=a=>this.checkAllowedIP()),id:"peer_endpoint_allowed_ips"},null,42,TW),[[We,this.endpointAllowedIps]])])}const DW=Ye(CW,[["render",MW]]),OW={name:"presharedKeyInput",props:{data:Object,saving:Boolean}},IW=h("label",{for:"peer_preshared_key_textbox",class:"form-label"},[h("small",{class:"text-muted"},"Pre-Shared Key")],-1),RW=["disabled"];function LW(e,t,n,s,i,o){return R(),B("div",null,[IW,Le(h("input",{type:"text",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[0]||(t[0]=a=>this.data.preshared_key=a),id:"peer_preshared_key_textbox"},null,8,RW),[[We,this.data.preshared_key]])])}const NW=Ye(OW,[["render",LW]]),FW={name:"mtuInput",props:{data:Object,saving:Boolean}},BW=h("label",{for:"peer_mtu",class:"form-label"},[h("small",{class:"text-muted"},"MTU")],-1),VW=["disabled"];function HW(e,t,n,s,i,o){return R(),B("div",null,[BW,Le(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[0]||(t[0]=a=>this.data.mtu=a),id:"peer_mtu"},null,8,VW),[[We,this.data.mtu]])])}const jW=Ye(FW,[["render",HW]]),WW={name:"persistentKeepAliveInput",props:{data:Object,saving:Boolean}},zW=h("label",{for:"peer_keep_alive",class:"form-label"},[h("small",{class:"text-muted"},"Persistent Keepalive")],-1),YW=["disabled"];function UW(e,t,n,s,i,o){return R(),B("div",null,[zW,Le(h("input",{type:"number",class:"form-control form-control-sm rounded-3",disabled:this.saving,"onUpdate:modelValue":t[0]||(t[0]=a=>this.data.keepalive=a),id:"peer_keep_alive"},null,8,YW),[[We,this.data.keepalive]])])}const KW=Ye(WW,[["render",UW]]),qW={name:"bulkAdd",props:{saving:Boolean,data:Object,availableIp:void 0}},GW={class:"form-check form-switch"},JW=["disabled"],XW=h("label",{class:"form-check-label me-2",for:"bulk_add"},[h("small",null,[h("strong",null,"Bulk Add")])],-1),QW=h("small",{class:"text-muted d-block"}," By adding peers by bulk, each peer's name will be auto generated, and Allowed IP will be assign to the next available IP. ",-1),ZW=[QW],ez={key:0,class:"form-group"},tz=["max"],nz={class:"text-muted"};function sz(e,t,n,s,i,o){return R(),B("div",null,[h("div",GW,[Le(h("input",{class:"form-check-input",type:"checkbox",role:"switch",disabled:!this.availableIp,id:"bulk_add","onUpdate:modelValue":t[0]||(t[0]=a=>this.data.bulkAdd=a)},null,8,JW),[[Kn,this.data.bulkAdd]]),XW]),h("p",{class:Pe({"mb-0":!this.data.bulkAdd})},ZW,2),this.data.bulkAdd?(R(),B("div",ez,[Le(h("input",{class:"form-control form-control-sm rounded-3 mb-1",type:"number",min:"1",max:this.availableIp.length,"onUpdate:modelValue":t[1]||(t[1]=a=>this.data.bulkAddAmount=a),placeholder:"How many peers you want to add?"},null,8,tz),[[We,this.data.bulkAddAmount]]),h("small",nz,[we(" You can add up to "),h("strong",null,be(this.availableIp.length),1),we(" peers ")])])):ce("",!0)])}const iz=Ye(qW,[["render",sz]]),oz={name:"peerCreate",components:{BulkAdd:iz,PersistentKeepAliveInput:KW,MtuInput:jW,PresharedKeyInput:NW,EndpointAllowedIps:DW,DnsInput:EW,AllowedIPsInput:xW,PrivatePublicKeyInput:Zj,NameInput:Fj},data(){return{data:{bulkAdd:!1,bulkAddAmount:"",name:"",allowed_ips:[],private_key:"",public_key:"",DNS:this.dashboardStore.Configuration.Peers.peer_global_dns,endpoint_allowed_ip:this.dashboardStore.Configuration.Peers.peer_endpoint_allowed_ip,keepalive:parseInt(this.dashboardStore.Configuration.Peers.peer_keep_alive),mtu:parseInt(this.dashboardStore.Configuration.Peers.peer_mtu),preshared_key:""},availableIp:void 0,availableIpSearchString:"",saving:!1,allowedIpDropdown:void 0}},mounted(){Tt("/api/getAvailableIPs/"+this.$route.params.id,{},e=>{e.status&&(this.availableIp=e.data)})},setup(){const e=Nn(),t=st();return{store:e,dashboardStore:t}},methods:{peerCreate(){this.saving=!0,dt("/api/addPeers/"+this.$route.params.id,this.data,e=>{e.status?(this.$router.push(`/configuration/${this.$route.params.id}/peers`),this.dashboardStore.newMessage("Server","Peer create successfully","success")):this.dashboardStore.newMessage("Server",e.message,"danger"),this.saving=!1})}},computed:{allRequireFieldsFilled(){let e=!0;return this.data.bulkAdd?(this.data.bulkAddAmount.length===0||this.data.bulkAddAmount>this.availableIp.length)&&(e=!1):["allowed_ips","private_key","public_key","endpoint_allowed_ip","keepalive","mtu"].forEach(n=>{this.data[n].length===0&&(e=!1)}),e}},watch:{bulkAdd(e){e||(this.data.bulkAddAmount="")},"data.bulkAddAmount"(){this.data.bulkAddAmount>this.availableIp.length&&(this.data.bulkAddAmount=this.availableIp.length)}}},Su=e=>(En("data-v-c3292318"),e=e(),Cn(),e),az={class:"container"},rz={class:"mb-4"},lz=Su(()=>h("h3",{class:"mb-0 text-body"},[h("i",{class:"bi bi-chevron-left"})],-1)),cz=Su(()=>h("h3",{class:"text-body mb-0"},"Add Peers",-1)),uz={class:"d-flex flex-column gap-2"},dz=Su(()=>h("hr",{class:"mb-0 mt-2"},null,-1)),hz=Su(()=>h("hr",{class:"mb-0 mt-2"},null,-1)),fz={class:"row"},pz={key:0,class:"col-sm"},mz={class:"col-sm"},gz={class:"col-sm"},_z={class:"d-flex mt-2"},bz=["disabled"],vz={key:0,class:"bi bi-plus-circle-fill me-2"};function yz(e,t,n,s,i,o){const a=je("RouterLink"),r=je("BulkAdd"),l=je("NameInput"),c=je("PrivatePublicKeyInput"),u=je("AllowedIPsInput"),d=je("EndpointAllowedIps"),f=je("DnsInput"),p=je("PresharedKeyInput"),g=je("MtuInput"),_=je("PersistentKeepAliveInput");return R(),B("div",az,[h("div",rz,[$e(a,{to:"peers",is:"div",class:"d-flex align-items-center gap-4 text-decoration-none"},{default:Te(()=>[lz,cz]),_:1})]),h("div",uz,[$e(r,{saving:i.saving,data:this.data,availableIp:this.availableIp},null,8,["saving","data","availableIp"]),dz,this.data.bulkAdd?ce("",!0):(R(),Ne(l,{key:0,saving:i.saving,data:this.data},null,8,["saving","data"])),this.data.bulkAdd?ce("",!0):(R(),Ne(c,{key:1,saving:i.saving,data:i.data},null,8,["saving","data"])),this.data.bulkAdd?ce("",!0):(R(),Ne(u,{key:2,availableIp:this.availableIp,saving:i.saving,data:i.data},null,8,["availableIp","saving","data"])),$e(d,{saving:i.saving,data:i.data},null,8,["saving","data"]),$e(f,{saving:i.saving,data:i.data},null,8,["saving","data"]),hz,h("div",fz,[this.data.bulkAdd?ce("",!0):(R(),B("div",pz,[$e(p,{saving:i.saving,data:i.data,bulk:this.data.bulkAdd},null,8,["saving","data","bulk"])])),h("div",mz,[$e(g,{saving:i.saving,data:i.data},null,8,["saving","data"])]),h("div",gz,[$e(_,{saving:i.saving,data:i.data},null,8,["saving","data"])])]),h("div",_z,[h("button",{class:"ms-auto btn btn-dark btn-brand rounded-3 px-3 py-2 shadow",disabled:!this.allRequireFieldsFilled||this.saving,onClick:t[0]||(t[0]=v=>this.peerCreate())},[this.saving?ce("",!0):(R(),B("i",vz)),we(" "+be(this.saving?"Saving...":"Add"),1)],8,bz)])])])}const H1=Ye(oz,[["render",yz],["__scopeId","data-v-c3292318"]]),wz={name:"scheduleDropdown",props:{options:Array,data:String,edit:!1},setup(e){e.data===void 0&&this.$emit("update",this.options[0].value)},computed:{currentSelection(){return this.options.find(e=>e.value===this.data)}}},xz={class:"dropdown scheduleDropdown"},kz={class:"dropdown-menu rounded-3 shadow",style:{"font-size":"0.875rem",width:"200px"}},Sz=["onClick"],Az={key:0,class:"bi bi-check ms-auto"};function $z(e,t,n,s,i,o){return R(),B("div",xz,[h("button",{class:Pe(["btn btn-sm btn-outline-primary rounded-3",{"disabled border-transparent":!n.edit}]),type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},[h("samp",null,be(this.currentSelection.display),1)],2),h("ul",kz,[n.edit?(R(!0),B(Me,{key:0},qe(this.options,a=>(R(),B("li",null,[h("a",{class:"dropdown-item d-flex align-items-center",role:"button",onClick:r=>e.$emit("update",a.value)},[h("samp",null,be(a.display),1),a.value===this.currentSelection.value?(R(),B("i",Az)):ce("",!0)],8,Sz)]))),256)):ce("",!0)])])}const j1=Ye(wz,[["render",$z],["__scopeId","data-v-6a5aba2a"]]),Ez={name:"schedulePeerJob",components:{VueDatePicker:ol,ScheduleDropdown:j1},props:{dropdowns:Array[Object],pjob:Object,viewOnly:!1},setup(e){const t=ve({}),n=ve(!1),s=ve(!1);t.value=JSON.parse(JSON.stringify(e.pjob)),t.value.CreationDate||(n.value=!0,s.value=!0);const i=st();return{job:t,edit:n,newJob:s,store:i}},data(){return{inputType:void 0}},watch:{pjob:{deep:!0,immediate:!0,handler(e){this.edit||(this.job=JSON.parse(JSON.stringify(e)))}}},methods:{save(){this.job.Field&&this.job.Operator&&this.job.Action&&this.job.Value?dt("/api/savePeerScheduleJob/",{Job:this.job},e=>{e.status?(this.edit=!1,this.store.newMessage("Server","Job Saved!","success"),console.log(e.data),this.$emit("refresh",e.data[0]),this.newJob=!1):this.store.newMessage("Server",e.message,"danger")}):this.alert()},alert(){let e="animate__flash",t=this.$el.querySelectorAll(".scheduleDropdown"),n=this.$el.querySelectorAll("input");t.forEach(s=>s.classList.add("animate__animated",e)),n.forEach(s=>s.classList.add("animate__animated",e)),setTimeout(()=>{t.forEach(s=>s.classList.remove("animate__animated",e)),n.forEach(s=>s.classList.remove("animate__animated",e))},2e3)},reset(){this.job.CreationDate?(this.job=JSON.parse(JSON.stringify(this.pjob)),this.edit=!1):this.$emit("delete")},delete(){this.job.CreationDate&&dt("/api/deletePeerScheduleJob/",{Job:this.job},e=>{e.status?this.store.newMessage("Server","Job Deleted!","success"):(this.store.newMessage("Server",e.message,"danger"),this.$emit("delete"))}),this.$emit("delete")},parseTime(e){e&&(this.job.Value=as(e).format("YYYY-MM-DD HH:mm:ss"))}}},Ba=e=>(En("data-v-811b149e"),e=e(),Cn(),e),Cz={class:"card-header bg-transparent text-muted border-0"},Pz={key:0,class:"d-flex"},Tz=Ba(()=>h("strong",{class:"me-auto"},"Job ID",-1)),Mz={key:1},Dz=Ba(()=>h("span",{class:"badge text-bg-warning"},"Unsaved Job",-1)),Oz=[Dz],Iz={class:"card-body pt-1",style:{"font-family":"var(--bs-font-monospace)"}},Rz={class:"d-flex gap-2 align-items-center mb-2"},Lz=Ba(()=>h("samp",null," if ",-1)),Nz=Ba(()=>h("samp",null," is ",-1)),Fz=["disabled"],Bz={class:"px-5 d-flex gap-2 align-items-center"},Vz=Ba(()=>h("samp",null,"then",-1)),Hz={class:"d-flex gap-3"},jz=Ba(()=>h("samp",null,"}",-1)),Wz={key:0,class:"ms-auto d-flex gap-3"},zz={key:1,class:"ms-auto d-flex gap-3"};function Yz(e,t,n,s,i,o){var l;const a=je("ScheduleDropdown"),r=je("VueDatePicker");return R(),B("div",{class:Pe(["card shadow-sm rounded-3 mb-2",{"border-warning-subtle":this.newJob}])},[h("div",Cz,[this.newJob?(R(),B("small",Mz,Oz)):(R(),B("small",Pz,[Tz,h("samp",null,be(this.job.JobID),1)]))]),h("div",Iz,[h("div",Rz,[Lz,$e(a,{edit:s.edit,options:this.dropdowns.Field,data:this.job.Field,onUpdate:t[0]||(t[0]=c=>{this.job.Field=c})},null,8,["edit","options","data"]),Nz,$e(a,{edit:s.edit,options:this.dropdowns.Operator,data:this.job.Operator,onUpdate:t[1]||(t[1]=c=>this.job.Operator=c)},null,8,["edit","options","data"]),this.job.Field==="date"?(R(),Ne(r,{key:0,is24:!0,"min-date":new Date,"model-value":this.job.Value,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",clearable:!1,disabled:!s.edit,dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","disabled","dark"])):Le((R(),B("input",{key:1,class:"form-control form-control-sm form-control-dark rounded-3 flex-grow-1",disabled:!s.edit,"onUpdate:modelValue":t[2]||(t[2]=c=>this.job.Value=c),style:{width:"auto"}},null,8,Fz)),[[We,this.job.Value]]),h("samp",null,be((l=this.dropdowns.Field.find(c=>c.value===this.job.Field))==null?void 0:l.unit)+" { ",1)]),h("div",Bz,[Vz,$e(a,{edit:s.edit,options:this.dropdowns.Action,data:this.job.Action,onUpdate:t[3]||(t[3]=c=>this.job.Action=c)},null,8,["edit","options","data"])]),h("div",Hz,[jz,this.edit?(R(),B("div",zz,[h("a",{role:"button",class:"text-secondary text-decoration-none",onClick:t[6]||(t[6]=c=>this.reset())},"[C] Cancel"),h("a",{role:"button",class:"text-primary ms-auto text-decoration-none",onClick:t[7]||(t[7]=c=>this.save())},"[S] Save")])):(R(),B("div",Wz,[h("a",{role:"button",class:"ms-auto text-decoration-none",onClick:t[4]||(t[4]=c=>this.edit=!0)},"[E] Edit"),h("a",{role:"button",onClick:t[5]||(t[5]=c=>this.delete()),class:"text-danger text-decoration-none"},"[D] Delete")]))])])],2)}const W1=Ye(Ez,[["render",Yz],["__scopeId","data-v-811b149e"]]),Uz={name:"peerJobs",setup(){return{store:Nn()}},props:{selectedPeer:Object},components:{SchedulePeerJob:W1,ScheduleDropdown:j1},data(){return{}},methods:{deleteJob(e){this.selectedPeer.jobs=this.selectedPeer.jobs.filter(t=>t.JobID!==e.JobID)},addJob(){this.selectedPeer.jobs.unshift(JSON.parse(JSON.stringify({JobID:ni().toString(),Configuration:this.selectedPeer.configuration.Name,Peer:this.selectedPeer.id,Field:this.store.PeerScheduleJobs.dropdowns.Field[0].value,Operator:this.store.PeerScheduleJobs.dropdowns.Operator[0].value,Value:"",CreationDate:"",ExpireDate:"",Action:this.store.PeerScheduleJobs.dropdowns.Action[0].value})))}}},rp=e=>(En("data-v-31a1606a"),e=e(),Cn(),e),Kz={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},qz={class:"container d-flex h-100 w-100"},Gz={class:"m-auto modal-dialog-centered dashboardModal"},Jz={class:"card rounded-3 shadow",style:{width:"700px"}},Xz={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},Qz=rp(()=>h("h4",{class:"mb-0 fw-normal"},[we("Schedule Jobs "),h("strong")],-1)),Zz={class:"card-body px-4 pb-4 pt-2 position-relative"},eY={class:"d-flex align-items-center mb-3"},tY=rp(()=>h("i",{class:"bi bi-plus-lg me-2"},null,-1)),nY={class:"card shadow-sm",key:"none",style:{height:"153px"}},sY=rp(()=>h("div",{class:"card-body text-muted text-center d-flex"},[h("h6",{class:"m-auto"},"This peer does not have any job yet.")],-1)),iY=[sY];function oY(e,t,n,s,i,o){const a=je("SchedulePeerJob");return R(),B("div",Kz,[h("div",qz,[h("div",Gz,[h("div",Jz,[h("div",Xz,[Qz,h("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=r=>this.$emit("close"))})]),h("div",Zz,[h("div",eY,[h("button",{class:"btn bg-primary-subtle border-1 border-primary-subtle text-primary-emphasis rounded-3 shadow",onClick:t[1]||(t[1]=r=>this.addJob())},[tY,we(" Job ")])]),$e(Hi,{name:"schedulePeerJobTransition",tag:"div",class:"position-relative"},{default:Te(()=>[(R(!0),B(Me,null,qe(this.selectedPeer.jobs,(r,l)=>(R(),Ne(a,{onRefresh:t[2]||(t[2]=c=>this.$emit("refresh")),onDelete:c=>this.deleteJob(r),dropdowns:this.store.PeerScheduleJobs.dropdowns,key:r.JobID,pjob:r},null,8,["onDelete","dropdowns","pjob"]))),128)),this.selectedPeer.jobs.length===0?(R(),B("div",nY,iY)):ce("",!0)]),_:1})])])])])])}const aY=Ye(Uz,[["render",oY],["__scopeId","data-v-31a1606a"]]),rY={name:"peerJobsAllModal",setup(){return{store:Nn()}},components:{SchedulePeerJob:W1},props:{configurationPeers:Array[Object]},methods:{getuuid(){return ni()}},computed:{getAllJobs(){return this.configurationPeers.filter(e=>e.jobs.length>0)}}},lY={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},cY={class:"container d-flex h-100 w-100"},uY={class:"m-auto modal-dialog-centered dashboardModal"},dY={class:"card rounded-3 shadow",style:{width:"700px"}},hY={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-2"},fY=h("h4",{class:"mb-0 fw-normal"},"All Active Jobs ",-1),pY={class:"card-body px-4 pb-4 pt-2"},mY={key:0,class:"accordion",id:"peerJobsLogsModalAccordion"},gY={class:"accordion-header"},_Y=["data-bs-target"],bY={key:0},vY={class:"text-muted"},yY=["id"],wY={class:"accordion-body"},xY={key:1,class:"card shadow-sm",style:{height:"153px"}},kY=h("div",{class:"card-body text-muted text-center d-flex"},[h("h6",{class:"m-auto"},"No active job at the moment.")],-1),SY=[kY];function AY(e,t,n,s,i,o){const a=je("SchedulePeerJob");return R(),B("div",lY,[h("div",cY,[h("div",uY,[h("div",dY,[h("div",hY,[fY,h("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=r=>this.$emit("close"))})]),h("div",pY,[this.getAllJobs.length>0?(R(),B("div",mY,[(R(!0),B(Me,null,qe(this.getAllJobs,(r,l)=>(R(),B("div",{class:"accordion-item",key:r.id},[h("h2",gY,[h("button",{class:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse_"+l},[h("small",null,[h("strong",null,[r.name?(R(),B("span",bY,be(r.name)+" • ",1)):ce("",!0),h("samp",vY,be(r.id),1)])])],8,_Y)]),h("div",{id:"collapse_"+l,class:"accordion-collapse collapse","data-bs-parent":"#peerJobsLogsModalAccordion"},[h("div",wY,[(R(!0),B(Me,null,qe(r.jobs,c=>(R(),Ne(a,{onDelete:t[1]||(t[1]=u=>this.$emit("refresh")),onRefresh:t[2]||(t[2]=u=>this.$emit("refresh")),dropdowns:this.store.PeerScheduleJobs.dropdowns,viewOnly:!0,key:c.JobID,pjob:c},null,8,["dropdowns","pjob"]))),128))])],8,yY)]))),128))])):(R(),B("div",xY,SY))])])])])])}const $Y=Ye(rY,[["render",AY]]),EY={name:"peerJobsLogsModal",props:{configurationInfo:Object},data(){return{dataLoading:!0,data:[],logFetchTime:void 0,showLogID:!1,showJobID:!0,showSuccessJob:!0,showFailedJob:!0,showLogAmount:10}},async mounted(){await this.fetchLog()},methods:{async fetchLog(){this.dataLoading=!0,await Tt(`/api/getPeerScheduleJobLogs/${this.configurationInfo.Name}`,{},e=>{this.data=e.data,this.logFetchTime=as().format("YYYY-MM-DD HH:mm:ss"),this.dataLoading=!1})}},computed:{getLogs(){return this.data.filter(e=>this.showSuccessJob&&e.Status==="1"||this.showFailedJob&&e.Status==="0")},showLogs(){return this.getLogs.slice(0,this.showLogAmount)}}},CY={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},PY={class:"container-fluid d-flex h-100 w-100"},TY={class:"m-auto mt-0 modal-dialog-centered dashboardModal",style:{width:"100%"}},MY={class:"card rounded-3 shadow w-100"},DY={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4 pb-0"},OY=h("h4",{class:"mb-0"},"Jobs Logs",-1),IY={class:"card-body px-4 pb-4 pt-2"},RY={key:0},LY={class:"mb-2 d-flex gap-3"},NY=h("i",{class:"bi bi-arrow-clockwise me-2"},null,-1),FY={class:"d-flex gap-3 align-items-center"},BY=h("span",{class:"text-muted"},"Filter",-1),VY={class:"form-check"},HY=h("label",{class:"form-check-label",for:"jobLogsShowSuccessCheck"},[h("span",{class:"badge text-success-emphasis bg-success-subtle"},"Success")],-1),jY={class:"form-check"},WY=h("label",{class:"form-check-label",for:"jobLogsShowFailedCheck"},[h("span",{class:"badge text-danger-emphasis bg-danger-subtle"},"Failed")],-1),zY={class:"d-flex gap-3 align-items-center ms-auto"},YY=h("span",{class:"text-muted"},"Display",-1),UY={class:"form-check"},KY=h("label",{class:"form-check-label",for:"jobLogsShowJobIDCheck"}," Job ID ",-1),qY={class:"form-check"},GY=h("label",{class:"form-check-label",for:"jobLogsShowLogIDCheck"}," Log ID ",-1),JY={class:"table"},XY=h("th",{scope:"col"},"Date",-1),QY={key:0,scope:"col"},ZY={key:1,scope:"col"},eU=h("th",{scope:"col"},"Status",-1),tU=h("th",{scope:"col"},"Message",-1),nU={style:{"font-size":"0.875rem"}},sU={scope:"row"},iU={key:0},oU={class:"text-muted"},aU={key:1},rU={class:"text-muted"},lU={class:"d-flex gap-2"},cU=h("i",{class:"bi bi-chevron-down me-2"},null,-1),uU=h("i",{class:"bi bi-chevron-up me-2"},null,-1),dU={key:1,class:"d-flex align-items-center flex-column"},hU=h("div",{class:"spinner-border text-body",role:"status"},[h("span",{class:"visually-hidden"},"Loading...")],-1),fU=[hU];function pU(e,t,n,s,i,o){return R(),B("div",CY,[h("div",PY,[h("div",TY,[h("div",MY,[h("div",DY,[OY,h("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=a=>this.$emit("close"))})]),h("div",IY,[this.dataLoading?(R(),B("div",dU,fU)):(R(),B("div",RY,[h("p",null,"Updated at: "+be(this.logFetchTime),1),h("div",LY,[h("button",{onClick:t[1]||(t[1]=a=>this.fetchLog()),class:"btn btn-sm rounded-3 shadow-sm text-info-emphasis bg-info-subtle border-1 border-info-subtle me-1"},[NY,we(" Refresh ")]),h("div",FY,[BY,h("div",VY,[Le(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[2]||(t[2]=a=>this.showSuccessJob=a),id:"jobLogsShowSuccessCheck"},null,512),[[Kn,this.showSuccessJob]]),HY]),h("div",jY,[Le(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[3]||(t[3]=a=>this.showFailedJob=a),id:"jobLogsShowFailedCheck"},null,512),[[Kn,this.showFailedJob]]),WY])]),h("div",zY,[YY,h("div",UY,[Le(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[4]||(t[4]=a=>i.showJobID=a),id:"jobLogsShowJobIDCheck"},null,512),[[Kn,i.showJobID]]),KY]),h("div",qY,[Le(h("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[5]||(t[5]=a=>i.showLogID=a),id:"jobLogsShowLogIDCheck"},null,512),[[Kn,i.showLogID]]),GY])])]),h("table",JY,[h("thead",null,[h("tr",null,[XY,i.showLogID?(R(),B("th",QY,"Log ID")):ce("",!0),i.showJobID?(R(),B("th",ZY,"Job ID")):ce("",!0),eU,tU])]),h("tbody",null,[(R(!0),B(Me,null,qe(this.showLogs,a=>(R(),B("tr",nU,[h("th",sU,be(a.LogDate),1),i.showLogID?(R(),B("td",iU,[h("samp",oU,be(a.LogID),1)])):ce("",!0),i.showJobID?(R(),B("td",aU,[h("samp",rU,be(a.JobID),1)])):ce("",!0),h("td",null,[h("span",{class:Pe(["badge",[a.Status==="1"?"text-success-emphasis bg-success-subtle":"text-danger-emphasis bg-danger-subtle"]])},be(a.Status==="1"?"Success":"Failed"),3)]),h("td",null,be(a.Message),1)]))),256))])]),h("div",lU,[this.getLogs.length>this.showLogAmount?(R(),B("button",{key:0,onClick:t[6]||(t[6]=a=>this.showLogAmount+=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},[cU,we(" Show More ")])):ce("",!0),this.showLogAmount>20?(R(),B("button",{key:1,onClick:t[7]||(t[7]=a=>this.showLogAmount=20),class:"btn btn-sm rounded-3 shadow-sm text-primary-emphasis bg-primary-subtle border-1 border-primary-subtle"},[uU,we(" Collapse ")])):ce("",!0)])]))])])])])])}const mU=Ye(EY,[["render",pU]]),gU={name:"peerShareLinkModal",props:{peer:Object},components:{VueDatePicker:ol},data(){return{dataCopy:void 0,loading:!1}},setup(){return{store:st()}},mounted(){this.dataCopy=JSON.parse(JSON.stringify(this.peer.ShareLink)).at(0)},watch:{"peer.ShareLink":{deep:!0,handler(e,t){t.length!==e.length&&(this.dataCopy=JSON.parse(JSON.stringify(this.peer.ShareLink)).at(0))}}},methods:{startSharing(){this.loading=!0,dt("/api/sharePeer/create",{Configuration:this.peer.configuration.Name,Peer:this.peer.id,ExpireDate:as().add(7,"d").format("YYYY-MM-DD HH:mm:ss")},e=>{e.status?(this.peer.ShareLink=e.data,this.dataCopy=e.data.at(0),this.store.newMessage("Server","Share link created successfully","success")):this.store.newMessage("Server","Share link failed to create. Reason: "+e.message,"danger"),this.loading=!1})},updateLinkExpireDate(){dt("/api/sharePeer/update",this.dataCopy,e=>{e.status?(this.dataCopy=e.data.at(0),this.peer.ShareLink=e.data,this.store.newMessage("Server","Link expire date updated","success")):this.store.newMessage("Server","Link expire date failed to update. Reason: "+e.message,"danger"),this.loading=!1})},stopSharing(){this.loading=!0,this.dataCopy.ExpireDate=as().format("YYYY-MM-DD HH:mm:ss"),this.updateLinkExpireDate()},parseTime(e){e?this.dataCopy.ExpireDate=as(e).format("YYYY-MM-DD HH:mm:ss"):this.dataCopy.ExpireDate=void 0,this.updateLinkExpireDate()}},computed:{getUrl(){return window.location.origin+window.location.pathname+this.$router.resolve({path:"/share",query:{ShareID:this.dataCopy.ShareID}}).href}}},_U={class:"peerSettingContainer w-100 h-100 position-absolute top-0 start-0 overflow-y-scroll"},bU={class:"container d-flex h-100 w-100"},vU={class:"m-auto modal-dialog-centered dashboardModal",style:{width:"500px"}},yU={class:"card rounded-3 shadow flex-grow-1"},wU={class:"card-header bg-transparent d-flex align-items-center gap-2 border-0 p-4"},xU=h("h4",{class:"mb-0"},"Share Peer",-1),kU={key:0,class:"card-body px-4 pb-4"},SU={key:0},AU=h("h6",{class:"mb-3 text-muted"}," Currently the peer is not sharing ",-1),$U=["disabled"],EU=h("i",{class:"bi bi-send-fill me-2"},null,-1),CU=[EU],PU={key:1},TU={class:"d-flex gap-2 mb-4"},MU=h("i",{class:"bi bi-link-45deg"},null,-1),DU=["href"],OU={class:"d-flex flex-column gap-2 mb-3"},IU=h("small",null,[h("i",{class:"bi bi-calendar me-2"}),we(" Expire Date ")],-1),RU=["disabled"],LU=h("i",{class:"bi bi-send-slash-fill me-2"},null,-1),NU=[LU];function FU(e,t,n,s,i,o){const a=je("VueDatePicker");return R(),B("div",_U,[h("div",bU,[h("div",vU,[h("div",yU,[h("div",wU,[xU,h("button",{type:"button",class:"btn-close ms-auto",onClick:t[0]||(t[0]=r=>this.$emit("close"))})]),this.peer.ShareLink?(R(),B("div",kU,[this.dataCopy?(R(),B("div",PU,[h("div",TU,[MU,h("a",{href:this.getUrl,class:"text-decoration-none",target:"_blank"},be(o.getUrl),9,DU)]),h("div",OU,[IU,$e(a,{is24:!0,"min-date":new Date,"model-value":this.dataCopy.ExpireDate,"onUpdate:modelValue":this.parseTime,"time-picker-inline":"",format:"yyyy-MM-dd HH:mm:ss","preview-format":"yyyy-MM-dd HH:mm:ss",dark:this.store.Configuration.Server.dashboard_theme==="dark"},null,8,["min-date","model-value","onUpdate:modelValue","dark"])]),h("button",{onClick:t[2]||(t[2]=r=>this.stopSharing()),disabled:this.loading,class:"w-100 btn bg-danger-subtle text-danger-emphasis border-1 border-danger-subtle rounded-3 shadow-sm"},[h("span",{class:Pe({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},NU,2),we(" "+be(this.loading?"Stop Sharing...":"Stop Sharing"),1)],8,RU)])):(R(),B("div",SU,[AU,h("button",{onClick:t[1]||(t[1]=r=>this.startSharing()),disabled:this.loading,class:"w-100 btn bg-success-subtle text-success-emphasis border-1 border-success-subtle rounded-3 shadow-sm"},[h("span",{class:Pe({"animate__animated animate__flash animate__infinite animate__slower":this.loading})},CU,2),we(" "+be(this.loading?"Sharing...":"Start Sharing"),1)],8,$U)]))])):ce("",!0)])])])])}const BU=Ye(gU,[["render",FU]]);bu.register(lr,Si,_c,gc,Er,uc,sa,Cr,lh,dc,hc,fc,ph,mh,gh,ur,Jr,bh,VV,a6,h6,p6,x6);const VU={name:"peerList",components:{PeerShareLinkModal:BU,PeerJobsLogsModal:mU,PeerJobsAllModal:$Y,PeerJobs:aY,PeerCreate:H1,PeerQRCode:Oj,PeerSettings:O8,PeerSearch:t5,Peer:X5,Line:Z6,Bar:Q6},setup(){const e=st(),t=Nn(),n=ve(void 0);return{dashboardConfigurationStore:e,wireguardConfigurationStore:t,interval:n}},data(){return{configurationToggling:!1,loading:!1,error:null,configurationInfo:[],configurationPeers:[],historyDataSentDifference:[],historyDataReceivedDifference:[],historySentData:{labels:[],datasets:[{label:"Data Sent",data:[],fill:!1,borderColor:"#198754",tension:0}]},historyReceiveData:{labels:[],datasets:[{label:"Data Received",data:[],fill:!1,borderColor:"#0d6efd",tension:0}]},peerSetting:{modalOpen:!1,selectedPeer:void 0},peerScheduleJobs:{modalOpen:!1,selectedPeer:void 0},peerQRCode:{modalOpen:!1,peerConfigData:void 0},peerCreate:{modalOpen:!1},peerScheduleJobsAll:{modalOpen:!1},peerScheduleJobsLogs:{modalOpen:!1},peerShare:{modalOpen:!1,selectedPeer:void 0}}},mounted(){},watch:{$route:{immediate:!0,handler(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval),this.loading=!0;let e=this.$route.params.id;this.configurationInfo=[],this.configurationPeers=[],e&&(this.getPeers(e),this.setPeerInterval())}},"dashboardConfigurationStore.Configuration.Server.dashboard_refresh_interval"(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval),this.setPeerInterval()}},beforeRouteLeave(){clearInterval(this.dashboardConfigurationStore.Peers.RefreshInterval)},methods:{toggle(){this.configurationToggling=!0,Tt("/api/toggleWireguardConfiguration/",{configurationName:this.configurationInfo.Name},e=>{e.status?this.dashboardConfigurationStore.newMessage("Server",`${this.configurationInfo.Name} is + ${e.data?"is on":"is off"}`,"Success"):this.dashboardConfigurationStore.newMessage("Server",e.message,"danger"),this.configurationInfo.Status=e.data,this.configurationToggling=!1})},getPeers(e=this.$route.params.id){Tt("/api/getWireguardConfigurationInfo",{configurationName:e},t=>{if(this.configurationInfo=t.data.configurationInfo,this.configurationPeers=t.data.configurationPeers,this.configurationPeers.forEach(n=>{n.restricted=!1}),t.data.configurationRestrictedPeers.forEach(n=>{n.restricted=!0,this.configurationPeers.push(n)}),this.loading=!1,this.configurationPeers.length>0){const n=this.configurationPeers.map(i=>i.total_sent+i.cumu_sent).reduce((i,o)=>i+o).toFixed(4),s=this.configurationPeers.map(i=>i.total_receive+i.cumu_receive).reduce((i,o)=>i+o).toFixed(4);this.historyDataSentDifference[this.historyDataSentDifference.length-1]!==n&&(this.historyDataSentDifference.length>0&&(this.historySentData={labels:[...this.historySentData.labels,as().format("HH:mm:ss A")],datasets:[{label:"Data Sent",data:[...this.historySentData.datasets[0].data,((n-this.historyDataSentDifference[this.historyDataSentDifference.length-1])*1e3).toFixed(4)],fill:!1,borderColor:"#198754",tension:0}]}),this.historyDataSentDifference.push(n)),this.historyDataReceivedDifference[this.historyDataReceivedDifference.length-1]!==s&&(this.historyDataReceivedDifference.length>0&&(this.historyReceiveData={labels:[...this.historyReceiveData.labels,as().format("HH:mm:ss A")],datasets:[{label:"Data Received",data:[...this.historyReceiveData.datasets[0].data,((s-this.historyDataReceivedDifference[this.historyDataReceivedDifference.length-1])*1e3).toFixed(4)],fill:!1,borderColor:"#0d6efd",tension:0}]}),this.historyDataReceivedDifference.push(s))}})},setPeerInterval(){this.dashboardConfigurationStore.Peers.RefreshInterval=setInterval(()=>{this.getPeers()},parseInt(this.dashboardConfigurationStore.Configuration.Server.dashboard_refresh_interval))}},computed:{configurationSummary(){return{connectedPeers:this.configurationPeers.filter(t=>t.status==="running").length,totalUsage:this.configurationPeers.length>0?this.configurationPeers.filter(t=>!t.restricted).map(t=>t.total_data+t.cumu_data).reduce((t,n)=>t+n).toFixed(4):0,totalReceive:this.configurationPeers.length>0?this.configurationPeers.filter(t=>!t.restricted).map(t=>t.total_receive+t.cumu_receive).reduce((t,n)=>t+n).toFixed(4):0,totalSent:this.configurationPeers.length>0?this.configurationPeers.filter(t=>!t.restricted).map(t=>t.total_sent+t.cumu_sent).reduce((t,n)=>t+n).toFixed(4):0}},receiveData(){return this.historyReceiveData},sentData(){return this.historySentData},individualDataUsage(){return{labels:this.configurationPeers.map(e=>e.name?e.name:`Untitled Peer - ${e.id}`),datasets:[{label:"Total Data Usage",data:this.configurationPeers.map(e=>e.cumu_data+e.total_data),backgroundColor:this.configurationPeers.map(e=>"#0dcaf0"),tooltip:{callbacks:{label:e=>`${e.formattedValue} GB`}}}]}},individualDataUsageChartOption(){return{responsive:!0,plugins:{legend:{display:!1}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(e,t)=>`${e} GB`},grid:{display:!1}}}}},chartOptions(){return{responsive:!0,plugins:{legend:{display:!1},tooltip:{callbacks:{label:e=>`${e.formattedValue} MB/s`}}},scales:{x:{ticks:{display:!1},grid:{display:!1}},y:{ticks:{callback:(e,t)=>`${e} MB/s`},grid:{display:!1}}}}},searchPeers(){const e=new Fa(this.configurationPeers,{keys:["name","id","allowed_ip"]}),t=this.wireguardConfigurationStore.searchString?e.search(this.wireguardConfigurationStore.searchString).map(n=>n.item):this.configurationPeers;return this.dashboardConfigurationStore.Configuration.Server.dashboard_sort==="restricted"?t.slice().sort((n,s)=>n[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]s[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]?-1:0):t.slice().sort((n,s)=>n[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]s[this.dashboardConfigurationStore.Configuration.Server.dashboard_sort]?1:0)}}},hn=e=>(En("data-v-2a3b3231"),e=e(),Cn(),e),HU={key:0},jU={class:"d-flex align-items-center"},WU=hn(()=>h("small",{CLASS:"text-muted"},"CONFIGURATION",-1)),zU={class:"d-flex align-items-center gap-3"},YU={class:"mb-0"},UU={class:"card rounded-3 bg-transparent shadow-sm ms-auto"},KU={class:"card-body py-2 d-flex align-items-center"},qU=hn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Status")],-1)),GU={class:"form-check form-switch ms-auto"},JU=["for"],XU={key:0,class:"spinner-border spinner-border-sm","aria-hidden":"true"},QU=["disabled","id"],ZU={class:"row mt-3 gy-2 gx-2 mb-2"},eK={class:"col-6 col-lg-3"},tK={class:"card rounded-3 bg-transparent shadow-sm"},nK={class:"card-body py-2"},sK=hn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Address")],-1)),iK={class:"col-6 col-lg-3"},oK={class:"card rounded-3 bg-transparent shadow-sm"},aK={class:"card-body py-2"},rK=hn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Listen Port")],-1)),lK={style:{"word-break":"break-all"},class:"col-12 col-lg-6"},cK={class:"card rounded-3 bg-transparent shadow-sm"},uK={class:"card-body py-2"},dK=hn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Public Key")],-1)),hK={class:"row gx-2 gy-2 mb-2"},fK={class:"col-6 col-lg-3"},pK={class:"card rounded-3 bg-transparent shadow-sm"},mK={class:"card-body d-flex"},gK=hn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Connected Peers")],-1)),_K={class:"h4"},bK=hn(()=>h("i",{class:"bi bi-ethernet ms-auto h2 text-muted"},null,-1)),vK={class:"col-6 col-lg-3"},yK={class:"card rounded-3 bg-transparent shadow-sm"},wK={class:"card-body d-flex"},xK=hn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Total Usage")],-1)),kK={class:"h4"},SK=hn(()=>h("i",{class:"bi bi-arrow-down-up ms-auto h2 text-muted"},null,-1)),AK={class:"col-6 col-lg-3"},$K={class:"card rounded-3 bg-transparent shadow-sm"},EK={class:"card-body d-flex"},CK=hn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Total Received")],-1)),PK={class:"h4 text-primary"},TK=hn(()=>h("i",{class:"bi bi-arrow-down ms-auto h2 text-muted"},null,-1)),MK={class:"col-6 col-lg-3"},DK={class:"card rounded-3 bg-transparent shadow-sm"},OK={class:"card-body d-flex"},IK=hn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Total Sent")],-1)),RK={class:"h4 text-success"},LK=hn(()=>h("i",{class:"bi bi-arrow-up ms-auto h2 text-muted"},null,-1)),NK={class:"row gx-2 gy-2 mb-3"},FK={class:"col-12 col-lg-6"},BK={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},VK=hn(()=>h("div",{class:"card-header bg-transparent border-0"},[h("small",{class:"text-muted"},"Peers Total Data Usage")],-1)),HK={class:"card-body pt-1"},jK={class:"col-sm col-lg-3"},WK={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},zK=hn(()=>h("div",{class:"card-header bg-transparent border-0"},[h("small",{class:"text-muted"},"Real Time Received Data Usage")],-1)),YK={class:"card-body pt-1"},UK={class:"col-sm col-lg-3"},KK={class:"card rounded-3 bg-transparent shadow-sm",style:{height:"270px"}},qK=hn(()=>h("div",{class:"card-header bg-transparent border-0"},[h("small",{class:"text-muted"},"Real Time Sent Data Usage")],-1)),GK={class:"card-body pt-1"},JK={class:"mb-4"};function XK(e,t,n,s,i,o){const a=je("Bar"),r=je("Line"),l=je("PeerSearch"),c=je("Peer"),u=je("PeerSettings"),d=je("PeerQRCode"),f=je("PeerJobs"),p=je("PeerJobsAllModal"),g=je("PeerJobsLogsModal"),_=je("PeerShareLinkModal");return this.loading?ce("",!0):(R(),B("div",HU,[h("div",jU,[h("div",null,[WU,h("div",zU,[h("h1",YU,[h("samp",null,be(this.configurationInfo.Name),1)])])]),h("div",UU,[h("div",KU,[h("div",null,[qU,h("div",GU,[h("label",{class:"form-check-label",style:{cursor:"pointer"},for:"switch"+this.configurationInfo.id},[we(be(this.configurationToggling?"Turning ":"")+" "+be(this.configurationInfo.Status?"On":"Off")+" ",1),this.configurationToggling?(R(),B("span",XU)):ce("",!0)],8,JU),Le(h("input",{class:"form-check-input",style:{cursor:"pointer"},disabled:this.configurationToggling,type:"checkbox",role:"switch",id:"switch"+this.configurationInfo.id,onChange:t[0]||(t[0]=v=>this.toggle()),"onUpdate:modelValue":t[1]||(t[1]=v=>this.configurationInfo.Status=v)},null,40,QU),[[Kn,this.configurationInfo.Status]])])]),h("div",{class:Pe(["dot ms-5",{active:this.configurationInfo.Status}])},null,2)])])]),h("div",ZU,[h("div",eK,[h("div",tK,[h("div",nK,[sK,we(" "+be(this.configurationInfo.Address),1)])])]),h("div",iK,[h("div",oK,[h("div",aK,[rK,we(" "+be(this.configurationInfo.ListenPort),1)])])]),h("div",lK,[h("div",cK,[h("div",uK,[dK,h("samp",null,be(this.configurationInfo.PublicKey),1)])])])]),h("div",hK,[h("div",fK,[h("div",pK,[h("div",mK,[h("div",null,[gK,h("strong",_K,be(o.configurationSummary.connectedPeers),1)]),bK])])]),h("div",vK,[h("div",yK,[h("div",wK,[h("div",null,[xK,h("strong",kK,be(o.configurationSummary.totalUsage)+" GB",1)]),SK])])]),h("div",AK,[h("div",$K,[h("div",EK,[h("div",null,[CK,h("strong",PK,be(o.configurationSummary.totalReceive)+" GB",1)]),TK])])]),h("div",MK,[h("div",DK,[h("div",OK,[h("div",null,[IK,h("strong",RK,be(o.configurationSummary.totalSent)+" GB",1)]),LK])])])]),h("div",NK,[h("div",FK,[h("div",BK,[VK,h("div",HK,[$e(a,{data:o.individualDataUsage,options:o.individualDataUsageChartOption,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["data","options"])])])]),h("div",jK,[h("div",WK,[zK,h("div",YK,[$e(r,{options:o.chartOptions,data:o.receiveData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])]),h("div",UK,[h("div",KK,[qK,h("div",GK,[$e(r,{options:o.chartOptions,data:o.sentData,style:{width:"100%",height:"200px","max-height":"200px"}},null,8,["options","data"])])])])]),h("div",JK,[$e(l,{onJobsAll:t[2]||(t[2]=v=>this.peerScheduleJobsAll.modalOpen=!0),onJobLogs:t[3]||(t[3]=v=>this.peerScheduleJobsLogs.modalOpen=!0),configuration:this.configurationInfo},null,8,["configuration"]),$e(Hi,{name:"list",tag:"div",class:"row gx-2 gy-2 z-0"},{default:Te(()=>[(R(!0),B(Me,null,qe(this.searchPeers,v=>(R(),B("div",{class:"col-12 col-lg-6 col-xl-4",key:v.id},[$e(c,{Peer:v,onShare:w=>{this.peerShare.selectedPeer=v.id,this.peerShare.modalOpen=!0},onRefresh:t[4]||(t[4]=w=>this.getPeers()),onJobs:w=>{i.peerScheduleJobs.modalOpen=!0,i.peerScheduleJobs.selectedPeer=this.configurationPeers.find(A=>A.id===v.id)},onSetting:w=>{i.peerSetting.modalOpen=!0,i.peerSetting.selectedPeer=this.configurationPeers.find(A=>A.id===v.id)},onQrcode:t[5]||(t[5]=w=>{this.peerQRCode.peerConfigData=w,this.peerQRCode.modalOpen=!0})},null,8,["Peer","onShare","onJobs","onSetting"])]))),128))]),_:1})]),$e(Bt,{name:"zoom"},{default:Te(()=>[this.peerSetting.modalOpen?(R(),Ne(u,{key:"settings",selectedPeer:this.peerSetting.selectedPeer,onRefresh:t[6]||(t[6]=v=>this.getPeers()),onClose:t[7]||(t[7]=v=>this.peerSetting.modalOpen=!1)},null,8,["selectedPeer"])):ce("",!0)]),_:1}),$e(Bt,{name:"zoom"},{default:Te(()=>[i.peerQRCode.modalOpen?(R(),Ne(d,{peerConfigData:this.peerQRCode.peerConfigData,key:"qrcode",onClose:t[8]||(t[8]=v=>this.peerQRCode.modalOpen=!1)},null,8,["peerConfigData"])):ce("",!0)]),_:1}),$e(Bt,{name:"zoom"},{default:Te(()=>[this.peerScheduleJobs.modalOpen?(R(),Ne(f,{key:0,onRefresh:t[9]||(t[9]=v=>this.getPeers()),selectedPeer:this.peerScheduleJobs.selectedPeer,onClose:t[10]||(t[10]=v=>this.peerScheduleJobs.modalOpen=!1)},null,8,["selectedPeer"])):ce("",!0)]),_:1}),$e(Bt,{name:"zoom"},{default:Te(()=>[this.peerScheduleJobsAll.modalOpen?(R(),Ne(p,{key:0,onRefresh:t[11]||(t[11]=v=>this.getPeers()),onClose:t[12]||(t[12]=v=>this.peerScheduleJobsAll.modalOpen=!1),configurationPeers:this.configurationPeers},null,8,["configurationPeers"])):ce("",!0)]),_:1}),$e(Bt,{name:"zoom"},{default:Te(()=>[this.peerScheduleJobsLogs.modalOpen?(R(),Ne(g,{key:0,onClose:t[13]||(t[13]=v=>this.peerScheduleJobsLogs.modalOpen=!1),configurationInfo:this.configurationInfo},null,8,["configurationInfo"])):ce("",!0)]),_:1}),$e(Bt,{name:"zoom"},{default:Te(()=>[this.peerShare.modalOpen?(R(),Ne(_,{key:0,onClose:t[14]||(t[14]=v=>{this.peerShare.modalOpen=!1,this.peerShare.selectedPeer=void 0}),peer:this.configurationPeers.find(v=>v.id===this.peerShare.selectedPeer)},null,8,["peer"])):ce("",!0)]),_:1})]))}const QK=Ye(VU,[["render",XK],["__scopeId","data-v-2a3b3231"]]),ZK={name:"ping",data(){return{loading:!1,cips:{},selectedConfiguration:void 0,selectedPeer:void 0,selectedIp:void 0,count:4,pingResult:void 0,pinging:!1}},setup(){return{store:st()}},mounted(){Tt("/api/ping/getAllPeersIpAddress",{},e=>{e.status&&(this.loading=!0,this.cips=e.data,console.log(this.cips))})},methods:{execute(){this.selectedIp&&(this.pinging=!0,this.pingResult=void 0,Tt("/api/ping/execute",{ipAddress:this.selectedIp,count:this.count},e=>{e.status?this.pingResult=e.data:this.store.newMessage("Server",e.message,"danger")}))}},watch:{selectedConfiguration(){this.selectedPeer=void 0,this.selectedIp=void 0},selectedPeer(){this.selectedIp=void 0}}},Bn=e=>(En("data-v-875f5a3c"),e=e(),Cn(),e),e7={class:"mt-5 text-body"},t7={class:"container"},n7=Bn(()=>h("h3",{class:"mb-3 text-body"},"Ping",-1)),s7={class:"row"},i7={class:"col-sm-4 d-flex gap-2 flex-column"},o7=Bn(()=>h("label",{class:"mb-1 text-muted",for:"configuration"},[h("small",null,"Configuration")],-1)),a7=Bn(()=>h("option",{disabled:"",selected:"",value:void 0},"Select a Configuration...",-1)),r7=["value"],l7=Bn(()=>h("label",{class:"mb-1 text-muted",for:"peer"},[h("small",null,"Peer")],-1)),c7=["disabled"],u7=Bn(()=>h("option",{disabled:"",selected:"",value:void 0},"Select a Peer...",-1)),d7=["value"],h7=Bn(()=>h("label",{class:"mb-1 text-muted",for:"ip"},[h("small",null,"IP Address")],-1)),f7=["disabled"],p7=Bn(()=>h("option",{disabled:"",selected:"",value:void 0},"Select a IP...",-1)),m7=Bn(()=>h("label",{class:"mb-1 text-muted",for:"count"},[h("small",null,"Ping Count")],-1)),g7=["disabled"],_7=Bn(()=>h("i",{class:"bi bi-person-walking me-2"},null,-1)),b7={class:"col-sm-8"},v7={key:"pingPlaceholder"},y7={key:"pingResult",class:"d-flex flex-column gap-2 w-100"},w7={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.15s"}},x7={class:"card-body"},k7=Bn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Address")],-1)),S7={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.3s"}},A7={class:"card-body"},$7=Bn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Is Alive")],-1)),E7={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.45s"}},C7={class:"card-body"},P7=Bn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Average / Min / Max Round Trip Time")],-1)),T7={class:"card rounded-3 bg-transparent shadow-sm animate__animated animate__fadeIn",style:{"animation-delay":"0.6s"}},M7={class:"card-body"},D7=Bn(()=>h("p",{class:"mb-0 text-muted"},[h("small",null,"Sent / Received / Lost Package")],-1));function O7(e,t,n,s,i,o){return R(),B("div",e7,[h("div",t7,[n7,h("div",s7,[h("div",i7,[h("div",null,[o7,Le(h("select",{class:"form-select","onUpdate:modelValue":t[0]||(t[0]=a=>this.selectedConfiguration=a)},[a7,(R(!0),B(Me,null,qe(this.cips,(a,r)=>(R(),B("option",{value:r},be(r),9,r7))),256))],512),[[lc,this.selectedConfiguration]])]),h("div",null,[l7,Le(h("select",{id:"peer",class:"form-select","onUpdate:modelValue":t[1]||(t[1]=a=>this.selectedPeer=a),disabled:this.selectedConfiguration===void 0},[u7,this.selectedConfiguration!==void 0?(R(!0),B(Me,{key:0},qe(this.cips[this.selectedConfiguration],(a,r)=>(R(),B("option",{value:r},be(r),9,d7))),256)):ce("",!0)],8,c7),[[lc,this.selectedPeer]])]),h("div",null,[h7,Le(h("select",{id:"ip",class:"form-select","onUpdate:modelValue":t[2]||(t[2]=a=>this.selectedIp=a),disabled:this.selectedPeer===void 0},[p7,this.selectedPeer!==void 0?(R(!0),B(Me,{key:0},qe(this.cips[this.selectedConfiguration][this.selectedPeer].allowed_ips,a=>(R(),B("option",null,be(a),1))),256)):ce("",!0)],8,f7),[[lc,this.selectedIp]])]),h("div",null,[m7,Le(h("input",{class:"form-control",type:"number","onUpdate:modelValue":t[3]||(t[3]=a=>this.count=a),min:"1",id:"count",placeholder:"How many times you want to ping?"},null,512),[[We,this.count]])]),h("button",{class:"btn btn-primary rounded-3 mt-3",disabled:!this.selectedIp,onClick:t[4]||(t[4]=a=>this.execute())},[_7,we("Go! ")],8,g7)]),h("div",b7,[$e(Hi,{name:"ping"},{default:Te(()=>[this.pingResult?(R(),B("div",y7,[h("div",w7,[h("div",x7,[k7,we(" "+be(this.pingResult.address),1)])]),h("div",S7,[h("div",A7,[$7,h("span",{class:Pe([this.pingResult.is_alive?"text-success":"text-danger"])},[h("i",{class:Pe(["bi me-1",[this.pingResult.is_alive?"bi-check-circle-fill":"bi-x-circle-fill"]])},null,2),we(" "+be(this.pingResult.is_alive?"Yes":"No"),1)],2)])]),h("div",E7,[h("div",C7,[P7,h("samp",null,be(this.pingResult.avg_rtt)+"ms / "+be(this.pingResult.min_rtt)+"ms / "+be(this.pingResult.max_rtt)+"ms ",1)])]),h("div",T7,[h("div",M7,[D7,h("samp",null,be(this.pingResult.package_sent)+" / "+be(this.pingResult.package_received)+" / "+be(this.pingResult.package_loss),1)])])])):(R(),B("div",v7,[(R(),B(Me,null,qe(4,a=>h("div",{class:Pe(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.pinging}]),style:jt({"animation-delay":`${a*.15}s`})},null,6)),64))]))]),_:1})])])])])}const I7=Ye(ZK,[["render",O7],["__scopeId","data-v-875f5a3c"]]),R7={name:"traceroute",data(){return{tracing:!1,ipAddress:void 0,tracerouteResult:void 0}},setup(){return{store:Nn()}},methods:{execute(){this.ipAddress&&(this.tracing=!0,this.tracerouteResult=void 0,Tt("/api/traceroute/execute",{ipAddress:this.ipAddress},e=>{e.status?this.tracerouteResult=e.data:this.store.newMessage("Server",e.message,"danger"),this.tracing=!1}))}}},Au=e=>(En("data-v-dda37ccf"),e=e(),Cn(),e),L7={class:"mt-5 text-body"},N7={class:"container"},F7=Au(()=>h("h3",{class:"mb-3 text-body"},"Traceroute",-1)),B7={class:"row"},V7={class:"col-sm-4 d-flex gap-2 flex-column"},H7=Au(()=>h("label",{class:"mb-1 text-muted",for:"ipAddress"},[h("small",null,"IP Address")],-1)),j7=["disabled"],W7=Au(()=>h("i",{class:"bi bi-bullseye me-2"},null,-1)),z7={class:"col-sm-8 position-relative"},Y7={key:"pingPlaceholder"},U7={key:"table",class:"w-100"},K7={class:"table table-borderless rounded-3 w-100"},q7=Au(()=>h("thead",null,[h("tr",null,[h("th",{scope:"col"},"Hop"),h("th",{scope:"col"},"IP Address"),h("th",{scope:"col"},"Average / Min / Max Round Trip Time")])],-1));function G7(e,t,n,s,i,o){return R(),B("div",L7,[h("div",N7,[F7,h("div",B7,[h("div",V7,[h("div",null,[H7,Le(h("input",{id:"ipAddress",class:"form-control","onUpdate:modelValue":t[0]||(t[0]=a=>this.ipAddress=a),type:"text",placeholder:"Enter an IP Address you want to trace :)"},null,512),[[We,this.ipAddress]])]),h("button",{class:"btn btn-primary rounded-3 mt-3",disabled:!this.store.regexCheckIP(this.ipAddress)||this.tracing,onClick:t[1]||(t[1]=a=>this.execute())},[W7,we(" "+be(this.tracing?"Tracing...":"Trace It!"),1)],8,j7)]),h("div",z7,[$e(Hi,{name:"ping"},{default:Te(()=>[this.tracerouteResult?(R(),B("div",U7,[h("table",K7,[q7,h("tbody",null,[(R(!0),B(Me,null,qe(this.tracerouteResult,(a,r)=>(R(),B("tr",{class:"animate__fadeInUp animate__animated",style:jt({"animation-delay":`${r*.05}s`})},[h("td",null,be(a.hop),1),h("td",null,be(a.ip),1),h("td",null,be(a.avg_rtt)+" / "+be(a.min_rtt)+" / "+be(a.max_rtt),1)],4))),256))])])])):(R(),B("div",Y7,[(R(),B(Me,null,qe(10,a=>h("div",{class:Pe(["pingPlaceholder bg-body-secondary rounded-3 mb-3",{"animate__animated animate__flash animate__slower animate__infinite":this.tracing}]),style:jt({"animation-delay":`${a*.05}s`})},null,6)),64))]))]),_:1})])])])])}const J7=Ye(R7,[["render",G7],["__scopeId","data-v-dda37ccf"]]),X7={name:"totp",async setup(){const e=st();let t="";return await Tt("/api/Welcome_GetTotpLink",{},n=>{n.status&&(t=n.data)}),{l:t,store:e}},mounted(){this.l&&No.toCanvas(document.getElementById("qrcode"),this.l,function(e){})},data(){return{totp:"",totpInvalidMessage:"",verified:!1}},methods:{validateTotp(){}},watch:{totp(e){const t=document.querySelector("#totp");t.classList.remove("is-invalid","is-valid"),e.length===6&&(console.log(e),/[0-9]{6}/.test(e)?dt("/api/Welcome_VerifyTotpLink",{totp:e},n=>{n.status?(this.verified=!0,t.classList.add("is-valid"),this.$emit("verified")):(t.classList.add("is-invalid"),this.totpInvalidMessage="TOTP does not match.")}):(t.classList.add("is-invalid"),this.totpInvalidMessage="TOTP can only contain numbers"))}}},Q7=["data-bs-theme"],Z7={class:"m-auto text-body",style:{width:"500px"}},e9={class:"d-flex flex-column"},t9=h("h1",{class:"dashboardLogo display-4"},"Multi-Factor Authentication",-1),n9=h("p",{class:"mb-2"},[h("small",{class:"text-muted"},"1. Please scan the following QR Code to generate TOTP")],-1),s9=h("canvas",{id:"qrcode",class:"rounded-3 mb-2"},null,-1),i9={class:"p-3 bg-body-secondary rounded-3 border mb-3"},o9=h("p",{class:"text-muted mb-0"},[h("small",null,"Or you can click the link below:")],-1),a9=["href"],r9={style:{"line-break":"anywhere"}},l9=h("label",{for:"totp",class:"mb-2"},[h("small",{class:"text-muted"},"2. Enter the TOTP generated by your authenticator to verify")],-1),c9={class:"form-group mb-2"},u9=["disabled"],d9={class:"invalid-feedback"},h9=h("div",{class:"valid-feedback"}," TOTP verified! ",-1),f9=h("div",{class:"alert alert-warning rounded-3"},[h("i",{class:"bi bi-exclamation-triangle-fill me-2"}),we(" If you ever lost your TOTP and can't login, please follow instruction on "),h("a",{href:"https://github.com/donaldzou/WGDashboard",target:"_blank"},"readme.md"),we(" to reset. ")],-1),p9=h("hr",null,null,-1),m9={class:"d-flex gap-3 mt-5 flex-column"},g9=h("i",{class:"bi bi-chevron-right ms-auto"},null,-1),_9=h("i",{class:"bi bi-chevron-right ms-auto"},null,-1);function b9(e,t,n,s,i,o){const a=je("RouterLink");return R(),B("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.store.Configuration.Server.dashboard_theme},[h("div",Z7,[h("div",e9,[h("div",null,[t9,n9,s9,h("div",i9,[o9,h("a",{href:this.l},[h("code",r9,be(this.l),1)],8,a9)]),l9,h("div",c9,[Le(h("input",{class:"form-control text-center totp",id:"totp",maxlength:"6",type:"text",inputmode:"numeric",autocomplete:"one-time-code","onUpdate:modelValue":t[0]||(t[0]=r=>this.totp=r),disabled:this.verified},null,8,u9),[[We,this.totp]]),h("div",d9,be(this.totpInvalidMessage),1),h9]),f9]),p9,h("div",m9,[this.verified?(R(),Ne(a,{key:1,to:"/",class:"btn btn-dark btn-lg d-flex btn-brand shadow align-items-center flex-grow-1 rounded-3"},{default:Te(()=>[we(" Complete "),_9]),_:1})):(R(),Ne(a,{key:0,to:"/",class:"btn bg-secondary-subtle text-secondary-emphasis rounded-3 flex-grow-1 btn-lg border-1 border-secondary-subtle shadow d-flex"},{default:Te(()=>[we(" I don't need MFA "),g9]),_:1}))])])])],8,Q7)}const v9=Ye(X7,[["render",b9]]),y9={name:"share",async setup(){const e=KC(),t=ve(!1),n=st(),s=ve(""),i=ve(""),o=ve(new Blob);await Tt("/api/getDashboardTheme",{},r=>{s.value=r.data});const a=e.query.ShareID;return a===void 0||a.length===0?(i.value=void 0,t.value=!0):await Tt("/api/sharePeer/get",{ShareID:a},r=>{r.status?(i.value=r.data,o.value=new Blob([i.value.file],{type:"text/plain"})):i.value=void 0,t.value=!0}),{store:n,theme:s,peerConfiguration:i,blob:o}},mounted(){No.toCanvas(document.querySelector("#qrcode"),this.peerConfiguration.file,e=>{e&&console.error(e)})},methods:{download(){const e=new Blob([this.peerConfiguration.file],{type:"text/plain"}),t=URL.createObjectURL(e),n=`${this.peerConfiguration.fileName}.conf`,s=document.createElement("a");s.href=t,s.download=n,s.click()}},computed:{getBlob(){return URL.createObjectURL(this.blob)}}},lp=e=>(En("data-v-99d4b06a"),e=e(),Cn(),e),w9=["data-bs-theme"],x9={class:"m-auto text-body",style:{width:"500px"}},k9={key:0,class:"text-center position-relative",style:{}},S9=z$('

Oh no... This link is either expired or invalid.

',2),A9=[S9],$9={key:1,class:"d-flex align-items-center flex-column gap-3"},E9=lp(()=>h("div",{class:"h1 dashboardLogo text-center animate__animated animate__fadeInUp"},[h("h6",null,"WGDashboard"),we(" Scan QR Code from the WireGuard App ")],-1)),C9={id:"qrcode",class:"rounded-3 shadow animate__animated animate__fadeInUp mb-3",ref:"qrcode"},P9=lp(()=>h("p",{class:"text-muted animate__animated animate__fadeInUp mb-1",style:{"animation-delay":"0.2s"}},[we("or click the button below to download the "),h("samp",null,".conf"),we(" file")],-1)),T9=["download","href"],M9=lp(()=>h("i",{class:"bi bi-download"},null,-1)),D9=[M9];function O9(e,t,n,s,i,o){return R(),B("div",{class:"container-fluid login-container-fluid d-flex main pt-5 overflow-scroll","data-bs-theme":this.theme},[h("div",x9,[this.peerConfiguration?(R(),B("div",$9,[E9,h("canvas",C9,null,512),P9,h("a",{download:this.peerConfiguration.fileName+".conf",href:o.getBlob,class:"btn btn-lg bg-primary-subtle text-primary-emphasis border-1 border-primary-subtle animate__animated animate__fadeInUp shadow-sm",style:{"animation-delay":"0.25s"}},D9,8,T9)])):(R(),B("div",k9,A9))])],8,w9)}const I9=Ye(y9,[["render",O9],["__scopeId","data-v-99d4b06a"]]),R9=async()=>{let e=!1;return await Tt("/api/validateAuthentication",{},t=>{e=t.status}),e},dl=YC({history:lC(),routes:[{name:"Index",path:"/",component:FP,meta:{requiresAuth:!0},children:[{name:"Configuration List",path:"",component:jT,meta:{title:"WireGuard Configurations"}},{name:"Settings",path:"/settings",component:zL,meta:{title:"Settings"}},{path:"/ping",name:"Ping",component:I7},{path:"/traceroute",name:"Traceroute",component:J7},{name:"New Configuration",path:"/new_configuration",component:E3,meta:{title:"New Configuration"}},{name:"Configuration",path:"/configuration/:id",component:M3,meta:{title:"Configuration"},children:[{name:"Peers List",path:"peers",component:QK},{name:"Peers Create",path:"create",component:H1}]}]},{path:"/signin",component:lT,meta:{title:"Sign In"}},{path:"/welcome",component:hN,meta:{requiresAuth:!0,title:"Welcome to WGDashboard"}},{path:"/2FASetup",component:v9,meta:{requiresAuth:!0,title:"Multi-Factor Authentication Setup"}},{path:"/share",component:I9,meta:{title:"Share"}}]});dl.beforeEach(async(e,t,n)=>{const s=Nn(),i=st();e.meta.title?e.params.id?document.title=e.params.id+" | WGDashboard":document.title=e.meta.title+" | WGDashboard":document.title="WGDashboard",e.meta.requiresAuth?qC.getCookie("authToken")&&await R9()?(await i.getConfiguration(),!s.Configurations&&e.name!=="Configuration List"&&await s.getConfigurations(),i.Redirect=void 0,n()):(i.Redirect=e,n("/signin"),i.newMessage("WGDashboard","Session Ended","warning")):n()});const Tt=async(e,t=void 0,n=void 0)=>{const s=new URLSearchParams(t);await fetch(`${e}?${s.toString()}`,{headers:{"content-type":"application/json"}}).then(i=>{const o=st();if(i.ok)return i.json();if(i.status!==200)throw i.status===401&&(dl.push({path:"/signin"}),o.newMessage("WGDashboard","Session Ended","warning")),new Error(i.statusText)}).then(i=>n?n(i):void 0).catch(i=>{console.log(i)})},dt=async(e,t,n)=>{await fetch(`${e}`,{headers:{"content-type":"application/json"},method:"POST",body:JSON.stringify(t)}).then(s=>{const i=st();if(s.ok)return s.json();if(s.status!==200)throw s.status===401&&(dl.push({path:"/signin"}),i.newMessage("WGDashboard","Session Ended","warning")),new Error(s.statusText)}).then(s=>n?n(s):void 0).catch(s=>{console.log(s)})},st=mf("DashboardConfigurationStore",{state:()=>({Redirect:void 0,Configuration:void 0,Messages:[],Peers:{Selecting:!1,RefreshInterval:void 0}}),actions:{async getConfiguration(){await Tt("/api/getDashboardConfiguration",{},e=>{e.status&&(this.Configuration=e.data)})},async updateConfiguration(){await dt("/api/updateDashboardConfiguration",{DashboardConfiguration:this.Configuration},e=>{console.log(e)})},async signOut(){await Tt("/api/signout",{},e=>{this.$router.go("/signin")})},newMessage(e,t,n){this.Messages.push({id:ni(),from:e,content:t,type:n,show:!0})}}}),L9=e=>(En("data-v-cd76caca"),e=e(),Cn(),e),N9=L9(()=>h("nav",{class:"navbar bg-dark sticky-top","data-bs-theme":"dark"},[h("div",{class:"container-fluid"},[h("span",{class:"navbar-brand mb-0 h1"},"WGDashboard")])],-1)),F9={__name:"App",setup(e){return st(),(t,n)=>(R(),B(Me,null,[N9,(R(),Ne(af,null,{default:Te(()=>[$e(q(by),null,{default:Te(({Component:s})=>[$e(Bt,{name:"app",mode:"out-in"},{default:Te(()=>[(R(),Ne(Do(s)))]),_:2},1024)]),_:1})]),_:1}))],64))}},B9=Ye(F9,[["__scopeId","data-v-cd76caca"]]),cp=IE(B9);cp.use(dl);const z1=FE();z1.use(({store:e})=>{e.$router=Xc(dl)});cp.use(z1);cp.mount("#app"); diff --git a/src/static/app/package.json b/src/static/app/package.json index 5373acb..1e00a6f 100644 --- a/src/static/app/package.json +++ b/src/static/app/package.json @@ -1,11 +1,12 @@ { "name": "app", - "version": "0.0.0", + "version": "4.0.0", "private": true, "type": "module", "scripts": { "dev": "vite", "build": "vite build", + "build electron": "vite build --mode electron", "preview": "vite preview" }, "dependencies": { diff --git a/src/static/app/vite.config.js b/src/static/app/vite.config.js index 567ef26..eca3095 100644 --- a/src/static/app/vite.config.js +++ b/src/static/app/vite.config.js @@ -5,27 +5,62 @@ import {proxy} from "./proxy.js"; import vue from '@vitejs/plugin-vue' // https://vitejs.dev/config/ -export default defineConfig({ - base: "/static/app/dist", - plugins: [ - vue(), - ], - resolve: { - alias: { - '@': fileURLToPath(new URL('./src', import.meta.url)) +export default defineConfig(({mode}) => { + if (mode === 'production'){ + return { + base: "/static/app/dist", + plugins: [ + vue(), + ], + resolve: { + alias: { + '@': fileURLToPath(new URL('./src', import.meta.url)) + } + }, + server:{ + proxy: { + '/api': proxy + } + }, + build: { + outDir: 'dist', + rollupOptions: { + output: { + entryFileNames: `assets/[name].js`, + chunkFileNames: `assets/[name].js`, + assetFileNames: `assets/[name].[ext]` + } + } + } } - }, - server:{ - proxy: { - '/api': proxy - } - }, - build: { - rollupOptions: { - output: { - entryFileNames: `assets/[name].js`, - chunkFileNames: `assets/[name].js`, - assetFileNames: `assets/[name].[ext]` + } + + if (mode === 'electron'){ + return { + emptyOutDir: false, + base: './', + plugins: [ + vue(), + ], + resolve: { + alias: { + '@': fileURLToPath(new URL('./src', import.meta.url)) + } + }, + server:{ + proxy: { + '/api': proxy + } + }, + build: { + outDir: 'electron', + rollupOptions: { + output: { + entryFileNames: `assets/[name].js`, + chunkFileNames: `assets/[name].js`, + assetFileNames: `assets/[name].[ext]` + } + } } } }