From c3bbdb02d5c23eb4d28a9db3b11177a79581fcf0 Mon Sep 17 00:00:00 2001 From: Johnny Bouder Date: Wed, 27 May 2026 17:17:07 -0400 Subject: [PATCH 01/19] Shadcn foundation. --- jhub_apps/static/css/index.css | 2 +- jhub_apps/static/js/index.js | 92 +- ui/biome.json | 3 +- ui/components.json | 21 + ui/package-lock.json | 1486 ++++++++++++++++++++++++++---- ui/package.json | 12 +- ui/postcss.config.js | 6 + ui/src/components/ui/tooltip.tsx | 28 + ui/src/index.css | 106 ++- ui/src/main.tsx | 5 +- ui/tailwind.config.js | 121 +++ 11 files changed, 1642 insertions(+), 240 deletions(-) create mode 100644 ui/components.json create mode 100644 ui/postcss.config.js create mode 100644 ui/src/components/ui/tooltip.tsx create mode 100644 ui/tailwind.config.js diff --git a/jhub_apps/static/css/index.css b/jhub_apps/static/css/index.css index 95afc271..19b45095 100644 --- a/jhub_apps/static/css/index.css +++ b/jhub_apps/static/css/index.css @@ -1 +1 @@ -.context-menu{background-color:#fff;border:1px solid #e6e6e6;border-radius:50%;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;color:#1b1b1b;cursor:pointer;display:block;height:24px;position:absolute;right:8px;top:8px;width:24px;z-index:2}.context-menu button{top:-11px;right:21px}.context-menu button:hover,.context-menu button:focus{background-color:transparent}.context-menu-list{width:151px}.card{height:241px;width:286px;border-radius:.25rem;box-shadow:0 1px 2px #d2d2cfb3}.card.service{height:224px}.card.service .card-content-content{height:93px}.card>a{text-decoration:none}#card-test-app{position:relative}.card-content-header{position:relative;display:flex;justify-content:center;align-items:center;height:130px;padding:33px 0;overflow:hidden;background:linear-gradient(90deg,#fff,#ece9e6 95.83%)}.card-content-header img{width:100%;height:100%;max-height:130px;object-fit:contain}.card-content-header .img-overlay,.card-content-header .img-overlay-service{position:relative;display:inline-block}.card-content-header .img-overlay:after{content:"";object-fit:contain;position:absolute;inset:0;background:#ffffff40;pointer-events:none}.card-content-header .chip-container{position:absolute;display:flex;align-items:center;left:8px!important;top:8px!important;z-index:2}.card-content-content{position:relative;z-index:111;height:110px}.menu-chip{margin-right:4px}.card-content-container:not(.no-hover){background:#fff;position:relative;overflow:hidden}.card-content-container{background:#fff;position:relative;overflow:hidden;transition:all .5s ease-in-out}.card-content-container:not(.app-service){padding:12px 0 0}.card-content-container.app-service{top:16px}.card-content-content .card-inner-content{position:relative;padding-top:1px}.card-title{max-width:190px;overflow:hidden}.card-author{max-height:0;opacity:0;overflow:hidden;letter-spacing:.4px}.card-description{max-height:25px;max-width:240px;overflow:hidden;text-overflow:ellipsis;display:block;text-wrap:nowrap}.card-content-container-hover-1:hover{transform:translateY(-25%);height:120px}.card-content-container-hover-2:hover{transform:translateY(-30%);height:140px}.card-content-container-hover-3:hover{transform:translateY(-35%);height:160px}.card-content-container-hover-4:hover{transform:translateY(-40%);height:180px}.card-content-container-hover-5:hover{transform:translateY(-45%);height:200px}.card-content-container:hover .card-description{max-height:100px;text-wrap:wrap;overflow:visible}.card-content-container:hover .card-author:not(.no-hover){opacity:1;max-height:30px}.card-content-content .content{padding:.5rem 1rem 1rem}.card-content-content .card-inner-content .iconic{font-size:1rem!important;position:relative;top:2px;margin-right:8px}.card-content-content .card-content-container .card-title{font-size:1rem!important;font-weight:700!important;display:inline}.card-content-truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block}@media screen and (max-width:600px){.card{width:100%}}.form{max-width:600px}.form>.button-section{width:100%;margin:16px 0}.form>.button-section>.prev{float:left}.form>.button-section>.next{float:right}.form-paragraph{max-width:600px}.form-paragraph-link{color:var(--link-text-color);text-decoration:underline}.form-breadcrumb{margin:0 0 16px}@media screen and (max-width:768px){.form{max-width:unset}}.description_text-field{position:relative;padding:15px}.placeholder-text{position:absolute;top:10px;left:10px;color:#000000de;transition:all .2s;pointer-events:none}.description-container:focus-within{border-color:purple}.description-container:focus-within .placeholder-text{top:-10px;left:10px;background:#fff;padding:0 5px;font-size:.8em;color:purple}.description-container:not(:empty) .placeholder-text{visibility:hidden}.description_text-field:empty:before{content:attr(data-placeholder);color:#00000091;pointer-events:none;display:block}.description_text-field:empty:focus:before{content:attr(data-placeholder)}.description_text-field--not-empty+label{color:#000}.description-label{position:absolute;left:10px;top:16px;font-size:12px;transition:all .2s ease-in-out;background:#fff;padding:0 5px;color:#00000091;pointer-events:none}.description_text-field--not-empty+.description-label,.description_text-field:focus+.description-label{top:-8px;font-size:.75rem;color:#ba18da}.description_text-field:not(:empty):before{display:none}.description_text-field:before{content:attr(data-placeholder);position:absolute;left:15px;top:16px;color:#090a0991!important;pointer-events:none;display:block}.description_text-field:focus:before{content:""}.form-control{position:relative;width:100%;border:1px solid #ccc!important;border-radius:4px;transition:border-color .3s}.form-control:hover{border-color:#000!important}.form-control:focus-within{border:2px solid #ba18da!important}.form-helper-text{display:none;color:inherit;font-size:1rem;position:absolute;right:0;bottom:-30px}.exceeding-characters{color:red}.form-control.outer-div{height:125px!important;margin-bottom:0}.description_text-field,.overlay-text{outline:none;width:100%;padding:20px 10px 10px;box-sizing:border-box;border:1px solid #ccc;font-family:var(--app-font-family, "Inter", sans-serif);font-size:16px;line-height:20px;overflow:hidden;background-color:transparent}.overlay-text{position:absolute;top:1px;left:1px;bottom:1px;pointer-events:none;color:transparent;white-space:pre-wrap;overflow:hidden;z-index:5;overflow-wrap:break-word}.description_text-field,.overlay-text{outline:none;padding:20px 10px 10px;box-sizing:border-box;border:none;font-family:var(--app-font-family, "Inter", sans-serif);font-size:16px;line-height:20px;background-color:transparent;resize:none;height:125px!important}.overlay-text{position:absolute;inset:0;pointer-events:none;color:transparent;white-space:pre-wrap;overflow:hidden;z-index:5}.description-label{position:absolute;top:-15px;left:8px;transform:translateY(50%);color:#00000091;background-color:transparent;transition:all .2s ease;pointer-events:none}.description_text-field:focus+.description-label,.description_text-field:not(:empty)+.description-label{top:-8px;font-size:.75rem;color:#ba18da}.description_text-field:not(:focus):not(:placeholder-shown)+.description-label{color:#0f0!important}.form-control:focus-within .form-helper-text{display:block}.description-label{position:absolute;left:10px;transition:transform .3s ease,color .3s ease;transform-origin:left top;color:#0000008a;pointer-events:none}.textarea-container:focus-within .description-label,.description-label.label-float{transform:translateY(5px);font-size:12px;font-weight:500;color:#ba18da}#app-sharing .MuiTablePagination-selectLabel,#app-sharing .MuiTablePagination-input,#app-sharing .MuiTablePagination-displayedRows{display:none}.MuiTablePagination-root{border-bottom:0!important}.button-group{display:flex;flex-direction:row;justify-content:flex-end}.button-group-item{margin:.25rem;list-style:none}#app-bar #toolbar .button-menu{color:#0f1015;font-weight:700}#app-bar #toolbar .chip{background-color:#e0e0e0!important;color:#0f1015!important}.alert-wrapper{width:100%;padding:0 30px 25px}.card-content-header .chip-container span.MuiChip-label{padding-right:2px}.card-content-header .chip-container .chip-base span.MuiChip-label{padding-right:8px}.thumbnail-body.selected{background-color:transparent}.thumbnail-body.dragging{border:2px dashed var(--primary)}.error-msg{color:#5f2120}.weight600{font-weight:600}#filters-list{position:absolute;top:3px!important}.align-vertical-center{vertical-align:middle;position:relative;top:-6px}.icon-button{padding:0 20px!important}.icon-text{padding-left:.5rem;position:relative;top:-3px}.actions{padding:0}.actions .action-button{min-width:0px;padding:0 24px}.actions .action-button:hover{background-color:transparent;border-radius:50%}.actions button.button-icon{min-width:0px!important}.actions button.button-icon:hover{background-color:transparent;border-radius:50%}.action-button{min-width:0px!important;border-radius:50%!important;margin:0 1rem!important}.truncate{width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.MuiDataGrid-menuIcon.base-Popper-root.MuiDataGrid-menu{display:none}.app-header th{font-weight:600}.card-dialog-body-wrapper{padding:0 24px 8px}.card-dialog-body{padding-bottom:8px}.card-dialog-note{color:var(--text-secondary, rgba(15, 16, 21, .6));font-family:var(--app-font-family, "Inter", sans-serif);font-size:14px;font-style:normal;font-weight:400}.card-dialog-button-group{display:flex;padding:8px;justify-content:flex-end;align-items:center;gap:8px;align-self:stretch;background:#eee;margin-bottom:0}.server-type-card{margin:8px 0;cursor:pointer}.server-type-card:hover{background:var(--gray-lightest)}.server-type-card:focus{outline:2px solid var(--primary)}.server-type-card p{font-size:14px}#stop-pending.container{display:flex;flex-direction:column;align-items:center;text-align:center;font-family:var(--app-font-family, "Inter", sans-serif);padding-top:50px}.home-button{background-color:#a020f0;color:#fff;border:none;padding:10px 20px;border-radius:5px;cursor:pointer;font-size:16px}.home-button:hover{background-color:purple}:root{--primary-light: #ba18da10;--primary: #ba18da;--primary-dark: #9b00ce;--secondary-light: #20aaa110;--secondary: #18817a;--secondary-dark: #12635e;--white: #ffffff;--black: #000000;--gray-lightest: #f0f0f0;--gray-lighter: #e6e6e6;--gray-light: #adadad;--gray: #757575;--gray-dark: #454545;--gray-darker: #171717;--gray-darkest: #5c5c5c;--success: #00a91c;--success-light: #ecf3ec;--warning: #ffbe2e;--warning-light: #fde68a;--error: #d54309;--error-light: #f4e3db;--info: #00bde3;--info-light: #e7f6f8;--text-color: #1c1d26;--link-text-color: #276be9}html{background:#fafbfc}main{margin:24px 0}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}h1{font-size:30px;font-weight:700;padding:0 0 8px}h2{font-size:20px}hr{color:var(--gray-lightest)}p{font-size:16px}a{color:var(--link-text-color);text-decoration:none}.container{margin-left:auto;margin-right:auto;padding-left:30px;padding-right:30px}.container:before{content:unset}.grid-heading-left{width:120px;display:flex;justify-content:flex-start}.grid-heading-left>h2,.grid-heading-right>h2{font-weight:700;white-space:nowrap}.grid-heading-right{width:120px;display:flex;justify-content:flex-end}.grid-spacer{position:relative;top:12px}.font-bold{font-weight:700}#search{padding:10px 0}@media only screen and (min-width:1537px){.grid-spacer{width:1460px}}@media only screen and (min-width:1537px)and (max-width:1920px){.grid-spacer{width:1160px}}@media only screen and (min-width:1281px)and (max-width:1536px){.grid-spacer{width:960px}}@media only screen and (min-width:1025px)and (max-width:1280px){.grid-spacer{width:660px}}@media only screen and (min-width:769px)and (max-width:1024px){.grid-spacer{width:460px}}@media only screen and (min-width:641px)and (max-width:768px){h1{padding-bottom:24px}.grid-spacer{width:320px}#create-app{width:150px}}@media only screen and (max-width:640px){.container{padding-left:15px;padding-right:15px}h1{padding-bottom:24px}.grid-heading-center,.grid-heading-right,.grid-heading-right>h2{display:none}#create-app{width:150px}} +.context-menu{background-color:#fff;border:1px solid #e6e6e6;border-radius:50%;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f;color:#1b1b1b;cursor:pointer;display:block;height:24px;position:absolute;right:8px;top:8px;width:24px;z-index:2}.context-menu button{top:-11px;right:21px}.context-menu button:hover,.context-menu button:focus{background-color:transparent}.context-menu-list{width:151px}.card{height:241px;width:286px;border-radius:.25rem;box-shadow:0 1px 2px #d2d2cfb3}.card.service{height:224px}.card.service .card-content-content{height:93px}.card>a{text-decoration:none}#card-test-app{position:relative}.card-content-header{position:relative;display:flex;justify-content:center;align-items:center;height:130px;padding:33px 0;overflow:hidden;background:linear-gradient(90deg,#fff,#ece9e6 95.83%)}.card-content-header img{width:100%;height:100%;max-height:130px;-o-object-fit:contain;object-fit:contain}.card-content-header .img-overlay,.card-content-header .img-overlay-service{position:relative;display:inline-block}.card-content-header .img-overlay:after{content:"";-o-object-fit:contain;object-fit:contain;position:absolute;inset:0;background:#ffffff40;pointer-events:none}.card-content-header .chip-container{position:absolute;display:flex;align-items:center;left:8px!important;top:8px!important;z-index:2}.card-content-content{position:relative;z-index:111;height:110px}.menu-chip{margin-right:4px}.card-content-container:not(.no-hover){background:#fff;position:relative;overflow:hidden}.card-content-container{background:#fff;position:relative;overflow:hidden;transition:all .5s ease-in-out}.card-content-container:not(.app-service){padding:12px 0 0}.card-content-container.app-service{top:16px}.card-content-content .card-inner-content{position:relative;padding-top:1px}.card-title{max-width:190px;overflow:hidden}.card-author{max-height:0;opacity:0;overflow:hidden;letter-spacing:.4px}.card-description{max-height:25px;max-width:240px;overflow:hidden;text-overflow:ellipsis;display:block;text-wrap:nowrap}.card-content-container-hover-1:hover{transform:translateY(-25%);height:120px}.card-content-container-hover-2:hover{transform:translateY(-30%);height:140px}.card-content-container-hover-3:hover{transform:translateY(-35%);height:160px}.card-content-container-hover-4:hover{transform:translateY(-40%);height:180px}.card-content-container-hover-5:hover{transform:translateY(-45%);height:200px}.card-content-container:hover .card-description{max-height:100px;text-wrap:wrap;overflow:visible}.card-content-container:hover .card-author:not(.no-hover){opacity:1;max-height:30px}.card-content-content .content{padding:.5rem 1rem 1rem}.card-content-content .card-inner-content .iconic{font-size:1rem!important;position:relative;top:2px;margin-right:8px}.card-content-content .card-content-container .card-title{font-size:1rem!important;font-weight:700!important;display:inline}.card-content-truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block}@media screen and (max-width:600px){.card{width:100%}}.form{max-width:600px}.form>.button-section{width:100%;margin:16px 0}.form>.button-section>.prev{float:left}.form>.button-section>.next{float:right}.form-paragraph{max-width:600px}.form-paragraph-link{color:var(--link-text-color);text-decoration:underline}.form-breadcrumb{margin:0 0 16px}@media screen and (max-width:768px){.form{max-width:unset}}.description_text-field{position:relative;padding:15px}.placeholder-text{position:absolute;top:10px;left:10px;color:#000000de;transition:all .2s;pointer-events:none}.description-container:focus-within{border-color:purple}.description-container:focus-within .placeholder-text{top:-10px;left:10px;background:#fff;padding:0 5px;font-size:.8em;color:purple}.description-container:not(:empty) .placeholder-text{visibility:hidden}.description_text-field:empty:before{content:attr(data-placeholder);color:#00000091;pointer-events:none;display:block}.description_text-field:empty:focus:before{content:attr(data-placeholder)}.description_text-field--not-empty+label{color:#000}.description-label{position:absolute;left:10px;top:16px;font-size:12px;transition:all .2s ease-in-out;background:#fff;padding:0 5px;color:#00000091;pointer-events:none}.description_text-field--not-empty+.description-label,.description_text-field:focus+.description-label{top:-8px;font-size:.75rem;color:#ba18da}.description_text-field:not(:empty):before{display:none}.description_text-field:before{content:attr(data-placeholder);position:absolute;left:15px;top:16px;color:#090a0991!important;pointer-events:none;display:block}.description_text-field:focus:before{content:""}.form-control{position:relative;width:100%;border:1px solid #ccc!important;border-radius:4px;transition:border-color .3s}.form-control:hover{border-color:#000!important}.form-control:focus-within{border:2px solid #ba18da!important}.form-helper-text{display:none;color:inherit;font-size:1rem;position:absolute;right:0;bottom:-30px}.exceeding-characters{color:red}.form-control.outer-div{height:125px!important;margin-bottom:0}.description_text-field,.overlay-text{outline:none;width:100%;padding:20px 10px 10px;box-sizing:border-box;border:1px solid #ccc;font-family:var(--app-font-family, "Inter", sans-serif);font-size:16px;line-height:20px;overflow:hidden;background-color:transparent}.overlay-text{position:absolute;top:1px;left:1px;bottom:1px;pointer-events:none;color:transparent;white-space:pre-wrap;overflow:hidden;z-index:5;overflow-wrap:break-word}.description_text-field,.overlay-text{outline:none;padding:20px 10px 10px;box-sizing:border-box;border:none;font-family:var(--app-font-family, "Inter", sans-serif);font-size:16px;line-height:20px;background-color:transparent;resize:none;height:125px!important}.overlay-text{position:absolute;inset:0;pointer-events:none;color:transparent;white-space:pre-wrap;overflow:hidden;z-index:5}.description-label{position:absolute;top:-15px;left:8px;transform:translateY(50%);color:#00000091;background-color:transparent;transition:all .2s ease;pointer-events:none}.description_text-field:focus+.description-label,.description_text-field:not(:empty)+.description-label{top:-8px;font-size:.75rem;color:#ba18da}.description_text-field:not(:focus):not(:-moz-placeholder)+.description-label{color:#0f0!important}.description_text-field:not(:focus):not(:placeholder-shown)+.description-label{color:#0f0!important}.form-control:focus-within .form-helper-text{display:block}.description-label{position:absolute;left:10px;transition:transform .3s ease,color .3s ease;transform-origin:left top;color:#0000008a;pointer-events:none}.textarea-container:focus-within .description-label,.description-label.label-float{transform:translateY(5px);font-size:12px;font-weight:500;color:#ba18da}#app-sharing .MuiTablePagination-selectLabel,#app-sharing .MuiTablePagination-input,#app-sharing .MuiTablePagination-displayedRows{display:none}.MuiTablePagination-root{border-bottom:0!important}.button-group{display:flex;flex-direction:row;justify-content:flex-end}.button-group-item{margin:.25rem;list-style:none}#app-bar #toolbar .button-menu{color:#0f1015;font-weight:700}#app-bar #toolbar .chip{background-color:#e0e0e0!important;color:#0f1015!important}.alert-wrapper{width:100%;padding:0 30px 25px}.card-content-header .chip-container span.MuiChip-label{padding-right:2px}.card-content-header .chip-container .chip-base span.MuiChip-label{padding-right:8px}.thumbnail-body.selected{background-color:transparent}.thumbnail-body.dragging{border:2px dashed var(--primary)}.error-msg{color:#5f2120}.weight600{font-weight:600}#filters-list{position:absolute;top:3px!important}.align-vertical-center{vertical-align:middle;position:relative;top:-6px}.icon-button{padding:0 20px!important}.icon-text{padding-left:.5rem;position:relative;top:-3px}.actions{padding:0}.actions .action-button{min-width:0px;padding:0 24px}.actions .action-button:hover{background-color:transparent;border-radius:50%}.actions button.button-icon{min-width:0px!important}.actions button.button-icon:hover{background-color:transparent;border-radius:50%}.action-button{min-width:0px!important;border-radius:50%!important;margin:0 1rem!important}.truncate{width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.MuiDataGrid-menuIcon.base-Popper-root.MuiDataGrid-menu{display:none}.app-header th{font-weight:600}.card-dialog-body-wrapper{padding:0 24px 8px}.card-dialog-body{padding-bottom:8px}.card-dialog-note{color:var(--text-secondary, rgba(15, 16, 21, .6));font-family:var(--app-font-family, "Inter", sans-serif);font-size:14px;font-style:normal;font-weight:400}.card-dialog-button-group{display:flex;padding:8px;justify-content:flex-end;align-items:center;gap:8px;align-self:stretch;background:#eee;margin-bottom:0}.server-type-card{margin:8px 0;cursor:pointer}.server-type-card:hover{background:var(--gray-lightest)}.server-type-card:focus{outline:2px solid var(--primary)}.server-type-card p{font-size:14px}#stop-pending.container{display:flex;flex-direction:column;align-items:center;text-align:center;font-family:var(--app-font-family, "Inter", sans-serif);padding-top:50px}.home-button{background-color:#a020f0;color:#fff;border:none;padding:10px 20px;border-radius:5px;cursor:pointer;font-size:16px}.home-button:hover{background-color:purple}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(0 94 162 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(0 94 162 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }:root{--background: 210 25% 99%;--foreground: 225 17% 7%;--card: 0 0% 100%;--card-foreground: 225 17% 7%;--popover: 0 0% 100%;--popover-foreground: 225 17% 7%;--primary: 289 81% 47%;--primary-foreground: 0 0% 100%;--secondary: 0 0% 93%;--secondary-foreground: 225 17% 7%;--muted: 0 0% 96%;--muted-foreground: 210 4% 37%;--accent: 289 81% 95%;--accent-foreground: 289 81% 30%;--destructive: 351 67% 51%;--destructive-foreground: 0 0% 100%;--border: 0 0% 88%;--input: 0 0% 88%;--ring: 289 81% 47%;--radius: .5rem;--primary-light: #ba18da10;--primary-dark: #9b00ce;--secondary-light: #20aaa110;--secondary-dark: #12635e;--white: #ffffff;--black: #000000;--gray-lightest: #f0f0f0;--gray-lighter: #e6e6e6;--gray-light: #adadad;--gray: #757575;--gray-dark: #454545;--gray-darker: #171717;--gray-darkest: #5c5c5c;--success: #00a91c;--success-light: #ecf3ec;--warning: #ffbe2e;--warning-light: #fde68a;--error: #d54309;--error-light: #f4e3db;--info: #00bde3;--info-light: #e7f6f8;--text-color: #1c1d26;--link-text-color: #276be9}.dark{--background: 225 17% 7%;--foreground: 0 0% 98%;--card: 225 17% 10%;--card-foreground: 0 0% 98%;--popover: 225 17% 10%;--popover-foreground: 0 0% 98%;--primary: 289 81% 60%;--primary-foreground: 0 0% 100%;--secondary: 225 10% 18%;--secondary-foreground: 0 0% 98%;--muted: 225 10% 16%;--muted-foreground: 0 0% 65%;--accent: 289 50% 20%;--accent-foreground: 289 81% 90%;--destructive: 351 67% 51%;--destructive-foreground: 0 0% 100%;--border: 225 10% 20%;--input: 225 10% 20%;--ring: 289 81% 60%}.container{width:100%}@media(min-width:600px){.container{max-width:600px}}@media(min-width:900px){.container{max-width:900px}}@media(min-width:1200px){.container{max-width:1200px}}@media(min-width:1536px){.container{max-width:1536px}}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.z-50{z-index:50}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.shrink{flex-shrink:1}.grow{flex-grow:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.rounded-md{border-radius:calc(var(--radius) - 2px)}.border{border-width:1px}.bg-popover{background-color:hsl(var(--popover))}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.text-sm{font-size:.875rem;line-height:1.25rem}.uppercase{text-transform:uppercase}.text-popover-foreground{color:hsl(var(--popover-foreground))}.overline{text-decoration-line:overline}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.running{animation-play-state:running}html{background:#fafbfc}main{margin:24px 0}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}h1{font-size:30px;font-weight:700;padding:0 0 8px}h2{font-size:20px}hr{color:var(--gray-lightest)}p{font-size:16px}a{color:var(--link-text-color);text-decoration:none}.container{margin-left:auto;margin-right:auto;padding-left:30px;padding-right:30px}.container:before{content:unset}.grid-heading-left{width:120px;display:flex;justify-content:flex-start}.grid-heading-left>h2,.grid-heading-right>h2{font-weight:700;white-space:nowrap}.grid-heading-right{width:120px;display:flex;justify-content:flex-end}.grid-spacer{position:relative;top:12px}.font-bold{font-weight:700}#search{padding:10px 0}@media only screen and (min-width:1537px){.grid-spacer{width:1460px}}@media only screen and (min-width:1537px)and (max-width:1920px){.grid-spacer{width:1160px}}@media only screen and (min-width:1281px)and (max-width:1536px){.grid-spacer{width:960px}}@media only screen and (min-width:1025px)and (max-width:1280px){.grid-spacer{width:660px}}@media only screen and (min-width:769px)and (max-width:1024px){.grid-spacer{width:460px}}@media only screen and (min-width:641px)and (max-width:768px){h1{padding-bottom:24px}.grid-spacer{width:320px}#create-app{width:150px}}@media only screen and (max-width:640px){.container{padding-left:15px;padding-right:15px}h1{padding-bottom:24px}.grid-heading-center,.grid-heading-right,.grid-heading-right>h2{display:none}#create-app{width:150px}}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem} diff --git a/jhub_apps/static/js/index.js b/jhub_apps/static/js/index.js index 356ea260..05db74b9 100644 --- a/jhub_apps/static/js/index.js +++ b/jhub_apps/static/js/index.js @@ -1,8 +1,8 @@ -function QS(e,t){for(var n=0;nr[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();function vd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qh={exports:{}},Ol={},Kh={exports:{}},Rt={};var NP;function KS(){if(NP)return Rt;NP=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.iterator;function b(R){return R===null||typeof R!="object"?null:(R=m&&R[m]||R["@@iterator"],typeof R=="function"?R:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,A={};function x(R,J,L){this.props=R,this.context=J,this.refs=A,this.updater=L||S}x.prototype.isReactComponent={},x.prototype.setState=function(R,J){if(typeof R!="object"&&typeof R!="function"&&R!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,R,J,"setState")},x.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function z(){}z.prototype=x.prototype;function D(R,J,L){this.props=R,this.context=J,this.refs=A,this.updater=L||S}var C=D.prototype=new z;C.constructor=D,P(C,x.prototype),C.isPureReactComponent=!0;var j=Array.isArray,O=Object.prototype.hasOwnProperty,E={current:null},M={key:!0,ref:!0,__self:!0,__source:!0};function T(R,J,L){var Z,$={},oe=null,ae=null;if(J!=null)for(Z in J.ref!==void 0&&(ae=J.ref),J.key!==void 0&&(oe=""+J.key),J)O.call(J,Z)&&!M.hasOwnProperty(Z)&&($[Z]=J[Z]);var be=arguments.length-2;if(be===1)$.children=L;else if(1n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const no="$$material";function vs(){return vs=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?qn(Xa,--wr):0,za--,kn===10&&(za=1,gd--),kn}function Nr(){return kn=wr2||gc(kn)>3?"":" "}function h5(e,t){for(;--t&&Nr()&&!(kn<48||kn>102||kn>57&&kn<65||kn>70&&kn<97););return kc(e,Rf()+(t<6&&Go()==32&&Nr()==32))}function Iv(e){for(;Nr();)switch(kn){case e:return wr;case 34:case 39:e!==34&&e!==39&&Iv(kn);break;case 40:e===41&&Iv(e);break;case 92:Nr();break}return wr}function v5(e,t){for(;Nr()&&e+kn!==57;)if(e+kn===84&&Go()===47)break;return"/*"+kc(t,wr-1)+"*"+md(e===47?e:Nr())}function m5(e){for(;!gc(Go());)Nr();return kc(e,wr)}function g5(e){return nx(Tf("",null,null,null,[""],e=tx(e),0,[0],e))}function Tf(e,t,n,r,s,a,l,u,f){for(var h=0,v=0,m=l,b=0,S=0,P=0,A=1,x=1,z=1,D=0,C="",j=s,O=a,E=r,M=C;x;)switch(P=D,D=Nr()){case 40:if(P!=108&&qn(M,m-1)==58){Lv(M+=Ft(Ef(D),"&","&\f"),"&\f")!=-1&&(z=-1);break}case 34:case 39:case 91:M+=Ef(D);break;case 9:case 10:case 13:case 32:M+=p5(P);break;case 92:M+=h5(Rf()-1,7);continue;case 47:switch(Go()){case 42:case 47:cf(y5(v5(Nr(),Rf()),t,n),f);break;default:M+="/"}break;case 123*A:u[h++]=Wo(M)*z;case 125*A:case 59:case 0:switch(D){case 0:case 125:x=0;case 59+v:z==-1&&(M=Ft(M,/\f/g,"")),S>0&&Wo(M)-m&&cf(S>32?JP(M+";",r,n,m-1):JP(Ft(M," ","")+";",r,n,m-2),f);break;case 59:M+=";";default:if(cf(E=WP(M,t,n,h,v,s,u,C,j=[],O=[],m),a),D===123)if(v===0)Tf(M,t,E,E,j,a,m,u,O);else switch(b===99&&qn(M,3)===110?100:b){case 100:case 108:case 109:case 115:Tf(e,E,E,r&&cf(WP(e,E,E,0,0,s,u,C,s,j=[],m),O),s,O,m,u,r?j:O);break;default:Tf(M,E,E,E,[""],O,0,u,O)}}h=v=S=0,A=z=1,C=M="",m=l;break;case 58:m=1+Wo(M),S=P;default:if(A<1){if(D==123)--A;else if(D==125&&A++==0&&d5()==125)continue}switch(M+=md(D),D*A){case 38:z=v>0?1:(M+="\f",-1);break;case 44:u[h++]=(Wo(M)-1)*z,z=1;break;case 64:Go()===45&&(M+=Ef(Nr())),b=Go(),v=m=Wo(C=M+=m5(Rf())),D++;break;case 45:P===45&&Wo(M)==2&&(A=0)}}return a}function WP(e,t,n,r,s,a,l,u,f,h,v){for(var m=s-1,b=s===0?a:[""],S=Lm(b),P=0,A=0,x=0;P0?b[z]+" "+D:Ft(D,/&\f/g,b[z])))&&(f[x++]=C);return yd(e,t,n,s===0?Tm:u,f,h,v)}function y5(e,t,n){return yd(e,t,n,K8,md(f5()),mc(e,2,-2),0)}function JP(e,t,n,r){return yd(e,t,n,Mm,mc(e,0,r),mc(e,r+1,-1),r)}function Ca(e,t){for(var n="",r=Lm(e),s=0;s6)switch(qn(e,t+1)){case 109:if(qn(e,t+4)!==45)break;case 102:return Ft(e,/(.+:)(.+)-([^]+)/,"$1"+Xt+"$2-$3$1"+Qf+(qn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Lv(e,"stretch")?ox(Ft(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(qn(e,t+1)!==115)break;case 6444:switch(qn(e,Wo(e)-3-(~Lv(e,"!important")&&10))){case 107:return Ft(e,":",":"+Xt)+e;case 101:return Ft(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Xt+(qn(e,14)===45?"inline-":"")+"box$3$1"+Xt+"$2$3$1"+Kn+"$2box$3")+e}break;case 5936:switch(qn(e,t+11)){case 114:return Xt+e+Kn+Ft(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Xt+e+Kn+Ft(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Xt+e+Kn+Ft(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Xt+e+Kn+e+e}return e}var j5=function(t,n,r,s){if(t.length>-1&&!t.return)switch(t.type){case Mm:t.return=ox(t.value,t.length);break;case _8:return Ca([Rl(t,{value:Ft(t.value,"@","@"+Xt)})],s);case Tm:if(t.length)return u5(t.props,function(a){switch(c5(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ca([Rl(t,{props:[Ft(a,/:(read-\w+)/,":"+Qf+"$1")]})],s);case"::placeholder":return Ca([Rl(t,{props:[Ft(a,/:(plac\w+)/,":"+Xt+"input-$1")]}),Rl(t,{props:[Ft(a,/:(plac\w+)/,":"+Qf+"$1")]}),Rl(t,{props:[Ft(a,/:(plac\w+)/,Kn+"input-$1")]})],s)}return""})}},D5=[j5],z5=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(A){var x=A.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(A),A.setAttribute("data-s",""))})}var s=t.stylisPlugins||D5,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(A){for(var x=A.getAttribute("data-emotion").split(" "),z=1;z=4;++r,s-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(s){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var M5={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},L5=/[A-Z]|^ms/g,I5=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ix=function(t){return t.charCodeAt(1)===45},ZP=function(t){return t!=null&&typeof t!="boolean"},ev=rx(function(e){return ix(e)?e:e.replace(L5,"-$&").toLowerCase()}),QP=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(I5,function(r,s,a){return Jo={name:s,styles:a,next:Jo},s})}return M5[t]!==1&&!ix(t)&&typeof n=="number"&&n!==0?n+"px":n};function yc(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var s=n;if(s.anim===1)return Jo={name:s.name,styles:s.styles,next:Jo},s.name;var a=n;if(a.styles!==void 0){var l=a.next;if(l!==void 0)for(;l!==void 0;)Jo={name:l.name,styles:l.styles,next:Jo},l=l.next;var u=a.styles+";";return u}return B5(e,t,n)}case"function":{if(e!==void 0){var f=Jo,h=n(e);return Jo=f,yc(e,t,h)}break}}var v=n;if(t==null)return v;var m=t[v];return m!==void 0?m:v}function B5(e,t,n){var r="";if(Array.isArray(n))for(var s=0;s96?Y5:G5},tb=function(t,n,r){var s;if(n){var a=n.shouldForwardProp;s=t.__emotion_forwardProp&&a?function(l){return t.__emotion_forwardProp(l)&&a(l)}:a}return typeof s!="function"&&r&&(s=t.__emotion_forwardProp),s},Z5=function(t){var n=t.cache,r=t.serialized,s=t.isStringTag;return Im(n,r,s),lx(function(){return Bm(n,r,s)}),null},Q5=function e(t,n){var r=t.__emotion_real===t,s=r&&t.__emotion_base||t,a,l;n!==void 0&&(a=n.label,l=n.target);var u=tb(t,n,r),f=u||eb(s),h=!f("as");return function(){var v=arguments,m=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),v[0]==null||v[0].raw===void 0)m.push.apply(m,v);else{var b=v[0];m.push(b[0]);for(var S=v.length,P=1;Pt(_5(s)?n:s):t;return p.jsx(J5,{styles:r})}function fx(e,t){return Nv(e,t)}function $5(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const nb=[];function Js(e){return nb[0]=e,Rc(nb)}var tv={exports:{}},Yt={};var rb;function e3(){if(rb)return Yt;rb=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),S=Symbol.for("react.client.reference");function P(A){if(typeof A=="object"&&A!==null){var x=A.$$typeof;switch(x){case e:switch(A=A.type,A){case n:case s:case r:case f:case h:return A;default:switch(A=A&&A.$$typeof,A){case l:case u:case m:case v:return A;case a:return A;default:return x}}case t:return x}}}return Yt.ContextConsumer=a,Yt.ContextProvider=l,Yt.Element=e,Yt.ForwardRef=u,Yt.Fragment=n,Yt.Lazy=m,Yt.Memo=v,Yt.Portal=t,Yt.Profiler=s,Yt.StrictMode=r,Yt.Suspense=f,Yt.SuspenseList=h,Yt.isContextConsumer=function(A){return P(A)===a},Yt.isContextProvider=function(A){return P(A)===l},Yt.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===e},Yt.isForwardRef=function(A){return P(A)===u},Yt.isFragment=function(A){return P(A)===n},Yt.isLazy=function(A){return P(A)===m},Yt.isMemo=function(A){return P(A)===v},Yt.isPortal=function(A){return P(A)===t},Yt.isProfiler=function(A){return P(A)===s},Yt.isStrictMode=function(A){return P(A)===r},Yt.isSuspense=function(A){return P(A)===f},Yt.isSuspenseList=function(A){return P(A)===h},Yt.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===n||A===s||A===r||A===f||A===h||A===b||typeof A=="object"&&A!==null&&(A.$$typeof===m||A.$$typeof===v||A.$$typeof===l||A.$$typeof===a||A.$$typeof===u||A.$$typeof===S||A.getModuleId!==void 0)},Yt.typeOf=P,Yt}var ob;function t3(){return ob||(ob=1,tv.exports=e3()),tv.exports}var dx=t3();function qo(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function px(e){if(y.isValidElement(e)||dx.isValidElementType(e)||!qo(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=px(e[n])}),t}function Vn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return qo(e)&&qo(t)&&Object.keys(t).forEach(s=>{y.isValidElement(t[s])||dx.isValidElementType(t[s])?r[s]=t[s]:qo(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&qo(e[s])?r[s]=Vn(e[s],t[s],n):n.clone?r[s]=qo(t[s])?px(t[s]):t[s]:r[s]=t[s]}),r}const n3=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function r3(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...s}=e,a=n3(t),l=Object.keys(a);function u(b){return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${n})`}function f(b){return`@media (max-width:${(typeof t[b]=="number"?t[b]:b)-r/100}${n})`}function h(b,S){const P=l.indexOf(S);return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${n}) and (max-width:${(P!==-1&&typeof t[l[P]]=="number"?t[l[P]]:S)-r/100}${n})`}function v(b){return l.indexOf(b)+1r.startsWith("@container")).sort((r,s)=>{const a=/min-width:\s*([0-9.]+)/;return+(r.match(a)?.[1]||0)-+(s.match(a)?.[1]||0)});return n.length?n.reduce((r,s)=>{const a=t[s];return delete r[s],r[s]=a,r},{...t}):t}function o3(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function s3(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,s]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(s).up(a)}function i3(e){const t=(a,l)=>a.replace("@media",l?`@container ${l}`:"@container");function n(a,l){a.up=(...u)=>t(e.breakpoints.up(...u),l),a.down=(...u)=>t(e.breakpoints.down(...u),l),a.between=(...u)=>t(e.breakpoints.between(...u),l),a.only=(...u)=>t(e.breakpoints.only(...u),l),a.not=(...u)=>{const f=t(e.breakpoints.not(...u),l);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const r={},s=a=>(n(r,a),r);return n(s),{...e,containerQueries:s}}const a3={borderRadius:4};function sc(e,t){return t?Vn(e,t,{clone:!1}):e}const Ad={xs:0,sm:600,md:900,lg:1200,xl:1536},ib={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ad[e]}px)`},l3={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Ad[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function xr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||ib;return t.reduce((l,u,f)=>(l[a.up(a.keys[f])]=n(t[f]),l),{})}if(typeof t=="object"){const a=r.breakpoints||ib;return Object.keys(t).reduce((l,u)=>{if(o3(a.keys,u)){const f=s3(r.containerQueries?r:l3,u);f&&(l[f]=n(t[u],u))}else if(Object.keys(a.values||Ad).includes(u)){const f=a.up(u);l[f]=n(t[u],u)}else{const f=u;l[f]=t[f]}return l},{})}return n(t)}function hx(e={}){return e.keys?.reduce((n,r)=>{const s=e.up(r);return n[s]={},n},{})||{}}function Vv(e,t){return e.reduce((n,r)=>{const s=n[r];return(!s||Object.keys(s).length===0)&&delete n[r],n},t)}function c3(e,...t){const n=hx(e),r=[n,...t].reduce((s,a)=>Vn(s,a),{});return Vv(Object.keys(n),r)}function u3(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((s,a)=>{a{e[s]!=null&&(n[s]=!0)}),n}function Si({values:e,breakpoints:t,base:n}){const r=n||u3(e,t),s=Object.keys(r);if(s.length===0)return e;let a;return s.reduce((l,u,f)=>(Array.isArray(e)?(l[u]=e[f]!=null?e[f]:e[a],a=f):typeof e=="object"?(l[u]=e[u]!=null?e[u]:e[a],a=u):l[u]=e,l),{})}function pe(e){if(typeof e!="string")throw new Error(hs(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ws(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((s,a)=>s&&s[a]?s[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,s)=>r&&r[s]!=null?r[s]:null,e)}function Kf(e,t,n,r=n){let s;return typeof e=="function"?s=e(n):Array.isArray(e)?s=e[n]||r:s=Ws(e,n)||r,t&&(s=t(s,r,e)),s}function Hn(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:s}=e,a=l=>{if(l[t]==null)return null;const u=l[t],f=l.theme,h=Ws(f,r)||{};return xr(l,u,m=>{let b=Kf(h,s,m);return m===b&&typeof m=="string"&&(b=Kf(h,s,`${t}${m==="default"?"":pe(m)}`,m)),n===!1?b:{[n]:b}})};return a.propTypes={},a.filterProps=[t],a}function f3(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const d3={m:"margin",p:"padding"},p3={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ab={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},h3=f3(e=>{if(e.length>2)if(ab[e])e=ab[e];else return[e];const[t,n]=e.split(""),r=d3[t],s=p3[n]||"";return Array.isArray(s)?s.map(a=>r+a):[r+s]}),Fm=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Wm=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Fm,...Wm];function Mc(e,t,n,r){const s=Ws(e,t,!0)??n;return typeof s=="number"||typeof s=="string"?a=>typeof a=="string"?a:typeof s=="string"?`calc(${a} * ${s})`:s*a:Array.isArray(s)?a=>{if(typeof a=="string")return a;const l=Math.abs(a),u=s[l];return a>=0?u:typeof u=="number"?-u:`-${u}`}:typeof s=="function"?s:()=>{}}function Pd(e){return Mc(e,"spacing",8)}function ji(e,t){return typeof t=="string"||t==null?t:e(t)}function v3(e,t){return n=>e.reduce((r,s)=>(r[s]=ji(t,n),r),{})}function m3(e,t,n,r){if(!t.includes(n))return null;const s=h3(n),a=v3(s,r),l=e[n];return xr(e,l,a)}function vx(e,t){const n=Pd(e.theme);return Object.keys(e).map(r=>m3(e,t,r,n)).reduce(sc,{})}function yn(e){return vx(e,Fm)}yn.propTypes={};yn.filterProps=Fm;function An(e){return vx(e,Wm)}An.propTypes={};An.filterProps=Wm;function mx(e=8,t=Pd({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(a=>{const l=t(a);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function bd(...e){const t=e.reduce((r,s)=>(s.filterProps.forEach(a=>{r[a]=s}),r),{}),n=r=>Object.keys(r).reduce((s,a)=>t[a]?sc(s,t[a](r)):s,{});return n.propTypes={},n.filterProps=e.reduce((r,s)=>r.concat(s.filterProps),[]),n}function to(e){return typeof e!="number"?e:`${e}px solid`}function ao(e,t){return Hn({prop:e,themeKey:"borders",transform:t})}const g3=ao("border",to),y3=ao("borderTop",to),A3=ao("borderRight",to),P3=ao("borderBottom",to),b3=ao("borderLeft",to),w3=ao("borderColor"),x3=ao("borderTopColor"),S3=ao("borderRightColor"),H3=ao("borderBottomColor"),C3=ao("borderLeftColor"),j3=ao("outline",to),D3=ao("outlineColor"),wd=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Mc(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:ji(t,r)});return xr(e,e.borderRadius,n)}return null};wd.propTypes={};wd.filterProps=["borderRadius"];bd(g3,y3,A3,P3,b3,w3,x3,S3,H3,C3,wd,j3,D3);const xd=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Mc(e.theme,"spacing",8),n=r=>({gap:ji(t,r)});return xr(e,e.gap,n)}return null};xd.propTypes={};xd.filterProps=["gap"];const Sd=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Mc(e.theme,"spacing",8),n=r=>({columnGap:ji(t,r)});return xr(e,e.columnGap,n)}return null};Sd.propTypes={};Sd.filterProps=["columnGap"];const Hd=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Mc(e.theme,"spacing",8),n=r=>({rowGap:ji(t,r)});return xr(e,e.rowGap,n)}return null};Hd.propTypes={};Hd.filterProps=["rowGap"];const z3=Hn({prop:"gridColumn"}),O3=Hn({prop:"gridRow"}),k3=Hn({prop:"gridAutoFlow"}),R3=Hn({prop:"gridAutoColumns"}),E3=Hn({prop:"gridAutoRows"}),T3=Hn({prop:"gridTemplateColumns"}),M3=Hn({prop:"gridTemplateRows"}),L3=Hn({prop:"gridTemplateAreas"}),I3=Hn({prop:"gridArea"});bd(xd,Sd,Hd,z3,O3,k3,R3,E3,T3,M3,L3,I3);function ja(e,t){return t==="grey"?t:e}const B3=Hn({prop:"color",themeKey:"palette",transform:ja}),N3=Hn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ja}),V3=Hn({prop:"backgroundColor",themeKey:"palette",transform:ja});bd(B3,N3,V3);function Br(e){return e<=1&&e!==0?`${e*100}%`:e}const X3=Hn({prop:"width",transform:Br}),Jm=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{const r=e.theme?.breakpoints?.values?.[n]||Ad[n];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Br(n)}};return xr(e,e.maxWidth,t)}return null};Jm.filterProps=["maxWidth"];const F3=Hn({prop:"minWidth",transform:Br}),W3=Hn({prop:"height",transform:Br}),J3=Hn({prop:"maxHeight",transform:Br}),q3=Hn({prop:"minHeight",transform:Br});Hn({prop:"size",cssProperty:"width",transform:Br});Hn({prop:"size",cssProperty:"height",transform:Br});const U3=Hn({prop:"boxSizing"});bd(X3,Jm,F3,W3,J3,q3,U3);const Lc={border:{themeKey:"borders",transform:to},borderTop:{themeKey:"borders",transform:to},borderRight:{themeKey:"borders",transform:to},borderBottom:{themeKey:"borders",transform:to},borderLeft:{themeKey:"borders",transform:to},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:to},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:wd},color:{themeKey:"palette",transform:ja},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ja},backgroundColor:{themeKey:"palette",transform:ja},p:{style:An},pt:{style:An},pr:{style:An},pb:{style:An},pl:{style:An},px:{style:An},py:{style:An},padding:{style:An},paddingTop:{style:An},paddingRight:{style:An},paddingBottom:{style:An},paddingLeft:{style:An},paddingX:{style:An},paddingY:{style:An},paddingInline:{style:An},paddingInlineStart:{style:An},paddingInlineEnd:{style:An},paddingBlock:{style:An},paddingBlockStart:{style:An},paddingBlockEnd:{style:An},m:{style:yn},mt:{style:yn},mr:{style:yn},mb:{style:yn},ml:{style:yn},mx:{style:yn},my:{style:yn},margin:{style:yn},marginTop:{style:yn},marginRight:{style:yn},marginBottom:{style:yn},marginLeft:{style:yn},marginX:{style:yn},marginY:{style:yn},marginInline:{style:yn},marginInlineStart:{style:yn},marginInlineEnd:{style:yn},marginBlock:{style:yn},marginBlockStart:{style:yn},marginBlockEnd:{style:yn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:xd},rowGap:{style:Hd},columnGap:{style:Sd},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Br},maxWidth:{style:Jm},minWidth:{transform:Br},height:{transform:Br},maxHeight:{transform:Br},minHeight:{transform:Br},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Y3(...e){const t=e.reduce((r,s)=>r.concat(Object.keys(s)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function G3(e,t){return typeof e=="function"?e(t):e}function Z3(){function e(n,r,s,a){const l={[n]:r,theme:s},u=a[n];if(!u)return{[n]:r};const{cssProperty:f=n,themeKey:h,transform:v,style:m}=u;if(r==null)return null;if(h==="typography"&&r==="inherit")return{[n]:r};const b=Ws(s,h)||{};return m?m(l):xr(l,r,P=>{let A=Kf(b,v,P);return P===A&&typeof P=="string"&&(A=Kf(b,v,`${n}${P==="default"?"":pe(P)}`,P)),f===!1?A:{[f]:A}})}function t(n){const{sx:r,theme:s={},nested:a}=n||{};if(!r)return null;const l=s.unstable_sxConfig??Lc;function u(f){let h=f;if(typeof f=="function")h=f(s);else if(typeof f!="object")return f;if(!h)return null;const v=hx(s.breakpoints),m=Object.keys(v);let b=v;return Object.keys(h).forEach(S=>{const P=G3(h[S],s);if(P!=null)if(typeof P=="object")if(l[S])b=sc(b,e(S,P,s,l));else{const A=xr({theme:s},P,x=>({[S]:x}));Y3(A,P)?b[S]=t({sx:P,theme:s,nested:!0}):b=sc(b,A)}else b=sc(b,e(S,P,s,l))}),!a&&s.modularCssLayers?{"@layer sx":sb(s,Vv(m,b))}:sb(s,Vv(m,b))}return Array.isArray(r)?r.map(u):u(r)}return t}const Gs=Z3();Gs.filterProps=["sx"];function Q3(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!="function")return{};let r=n.getColorSchemeSelector(e);return r==="&"?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function Cd(e={},...t){const{breakpoints:n={},palette:r={},spacing:s,shape:a={},...l}=e,u=r3(n),f=mx(s);let h=Vn({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:f,shape:{...a3,...a}},l);return h=i3(h),h.applyStyles=Q3,h=t.reduce((v,m)=>Vn(v,m),h),h.unstable_sxConfig={...Lc,...l?.unstable_sxConfig},h.unstable_sx=function(m){return Gs({sx:m,theme:this})},h}function K3(e){return Object.keys(e).length===0}function jd(e=null){const t=y.useContext(Ec);return!t||K3(t)?e:t}const _3=Cd();function Dd(e=_3){return jd(e)}function nv(e){const t=Js(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function gx({styles:e,themeId:t,defaultTheme:n={}}){const r=Dd(n),s=t&&r[t]||r;let a=typeof e=="function"?e(s):e;return s.modularCssLayers&&(Array.isArray(a)?a=a.map(l=>nv(typeof l=="function"?l(s):l)):a=nv(a)),p.jsx(ux,{styles:a})}const $3=e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??Lc;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t};function zd(e){const{sx:t,...n}=e,{systemProps:r,otherProps:s}=$3(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...l)=>{const u=t(...l);return qo(u)?{...r,...u}:r}:a={...r,...t},{...s,sx:a}}const lb=e=>e,e4=()=>{let e=lb;return{configure(t){e=t},generate(t){return e(t)},reset(){e=lb}}},yx=e4();function Ax(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;tu!=="theme"&&u!=="sx"&&u!=="as"})(Gs);return y.forwardRef(function(f,h){const v=Dd(n),{className:m,component:b="div",...S}=zd(f);return p.jsx(a,{as:b,ref:h,className:ze(m,s?s(r):r),theme:t&&v[t]||v,...S})})}const n4={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Qe(e,t,n="Mui"){const r=n4[t];return r?`${n}-${r}`:`${yx.generate(e)}-${t}`}function Ke(e,t,n="Mui"){const r={};return t.forEach(s=>{r[s]=Qe(e,s,n)}),r}function Px(e){const{variants:t,...n}=e,r={variants:t,style:Js(n),isProcessed:!0};return r.style===n||t&&t.forEach(s=>{typeof s.style!="function"&&(s.style=Js(s.style))}),r}const r4=Cd();function rv(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function yi(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function o4(e){return e?(t,n)=>n[e]:null}function s4(e,t,n){e.theme=a4(e.theme)?n:e.theme[t]||e.theme}function Mf(e,t,n){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(s=>Mf(e,s,n));if(Array.isArray(r?.variants)){let s;if(r.isProcessed)s=n?yi(r.style,n):r.style;else{const{variants:a,...l}=r;s=n?yi(Js(l),n):l}return bx(e,r.variants,[s],n)}return r?.isProcessed?n?yi(Js(r.style),n):r.style:n?yi(Js(r),n):r}function bx(e,t,n=[],r=void 0){let s;e:for(let a=0;a{$5(u,E=>E.filter(M=>M!==Gs));const{name:h,slot:v,skipVariantsResolver:m,skipSx:b,overridesResolver:S=o4(c4(v)),...P}=f,A=h&&h.startsWith("Mui")||v?"components":"custom",x=m!==void 0?m:v&&v!=="Root"&&v!=="root"||!1,z=b||!1;let D=rv;v==="Root"||v==="root"?D=r:v?D=s:l4(u)&&(D=void 0);const C=fx(u,{shouldForwardProp:D,label:i4(),...P}),j=E=>{if(E.__emotion_real===E)return E;if(typeof E=="function")return function(T){return Mf(T,E,T.theme.modularCssLayers?A:void 0)};if(qo(E)){const M=Px(E);return function(I){return M.variants?Mf(I,M,I.theme.modularCssLayers?A:void 0):I.theme.modularCssLayers?yi(M.style,A):M.style}}return E},O=(...E)=>{const M=[],T=E.map(j),I=[];if(M.push(a),h&&S&&I.push(function(N){const q=N.theme.components?.[h]?.styleOverrides;if(!q)return null;const W={};for(const ne in q)W[ne]=Mf(N,q[ne],N.theme.modularCssLayers?"theme":void 0);return S(N,W)}),h&&!x&&I.push(function(N){const q=N.theme?.components?.[h]?.variants;return q?bx(N,q,[],N.theme.modularCssLayers?"theme":void 0):null}),z||I.push(Gs),Array.isArray(T[0])){const X=T.shift(),N=new Array(M.length).fill(""),Y=new Array(I.length).fill("");let q;q=[...N,...X,...Y],q.raw=[...N,...X.raw,...Y],M.unshift(q)}const H=[...M,...T,...I],V=C(...H);return u.muiName&&(V.muiName=u.muiName),V};return C.withConfig&&(O.withConfig=C.withConfig),O}}function i4(e,t){return void 0}function a4(e){for(const t in e)return!1;return!0}function l4(e){return typeof e=="string"&&e.charCodeAt(0)>96}function c4(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const u4=wx();function Oa(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const s=r;if(s==="components"||s==="slots")n[s]={...e[s],...n[s]};else if(s==="componentsProps"||s==="slotProps"){const a=e[s],l=t[s];if(!l)n[s]=a||{};else if(!a)n[s]=l;else{n[s]={...l};for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u)){const f=u;n[s][f]=Oa(a[f],l[f])}}}else n[s]===void 0&&(n[s]=e[s])}return n}function xx(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Oa(t.components[n].defaultProps,r)}function Sx({props:e,name:t,defaultTheme:n,themeId:r}){let s=Dd(n);return r&&(s=s[r]||s),xx({theme:s,name:t,props:e})}const Sr=typeof window<"u"?y.useLayoutEffect:y.useEffect;function f4(e,t,n,r,s){const[a,l]=y.useState(()=>s&&n?n(e).matches:r?r(e).matches:t);return Sr(()=>{if(!n)return;const u=n(e),f=()=>{l(u.matches)};return f(),u.addEventListener("change",f),()=>{u.removeEventListener("change",f)}},[e,n]),a}const d4={...Zf},Hx=d4.useSyncExternalStore;function p4(e,t,n,r,s){const a=y.useCallback(()=>t,[t]),l=y.useMemo(()=>{if(s&&n)return()=>n(e).matches;if(r!==null){const{matches:v}=r(e);return()=>v}return a},[a,e,r,s,n]),[u,f]=y.useMemo(()=>{if(n===null)return[a,()=>()=>{}];const v=n(e);return[()=>v.matches,m=>(v.addEventListener("change",m),()=>{v.removeEventListener("change",m)})]},[a,n,e]);return Hx(f,u,l)}function Cx(e={}){const{themeId:t}=e;return function(r,s={}){let a=jd();a&&t&&(a=a[t]||a);const l=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:u=!1,matchMedia:f=l?window.matchMedia:null,ssrMatchMedia:h=null,noSsr:v=!1}=xx({name:"MuiUseMediaQuery",props:s,theme:a});let m=typeof r=="function"?r(a):r;return m=m.replace(/^@media( ?)/m,""),m.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(` -`)),(Hx!==void 0?p4:f4)(m,u,f,h,v)}}Cx();function h4(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function qm(e,t=0,n=1){return h4(e,t,n)}function v4(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,s)=>s<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Zs(e){if(e.type)return e;if(e.charAt(0)==="#")return Zs(v4(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(hs(9,e));let r=e.substring(t+1,e.length-1),s;if(n==="color"){if(r=r.split(" "),s=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(hs(10,s))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:s}}const m4=e=>{const t=Zs(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Gl=(e,t)=>{try{return m4(e)}catch{return e}};function Od(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((s,a)=>a<3?parseInt(s,10):s):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function jx(e){e=Zs(e);const{values:t}=e,n=t[0],r=t[1]/100,s=t[2]/100,a=r*Math.min(s,1-s),l=(h,v=(h+n/30)%12)=>s-a*Math.max(Math.min(v-3,9-v,1),-1);let u="rgb";const f=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",f.push(t[3])),Od({type:u,values:f})}function Xv(e){e=Zs(e);let t=e.type==="hsl"||e.type==="hsla"?Zs(jx(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function g4(e,t){const n=Xv(e),r=Xv(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function bt(e,t){return e=Zs(e),t=qm(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Od(e)}function uf(e,t,n){try{return bt(e,t)}catch{return e}}function Di(e,t){if(e=Zs(e),t=qm(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Od(e)}function Gt(e,t,n){try{return Di(e,t)}catch{return e}}function zi(e,t){if(e=Zs(e),t=qm(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Od(e)}function Zt(e,t,n){try{return zi(e,t)}catch{return e}}function Dx(e,t=.15){return Xv(e)>.5?Di(e,t):zi(e,t)}function ff(e,t,n){try{return Dx(e,t)}catch{return e}}function Fv(...e){return e.reduce((t,n)=>n==null?t:function(...s){t.apply(this,s),n.apply(this,s)},()=>{})}function Um(e,t=166){let n;function r(...s){const a=()=>{e.apply(this,s)};clearTimeout(n),n=setTimeout(a,t)}return r.clear=()=>{clearTimeout(n)},r}function Lf(e,t){return y.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}function rr(e){return e&&e.ownerDocument||document}function Do(e){return rr(e).defaultView||window}function Wv(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let cb=0;function y4(e){const[t,n]=y.useState(e),r=e||t;return y.useEffect(()=>{t==null&&(cb+=1,n(`mui-${cb}`))},[t]),r}const A4={...Zf},ub=A4.useId;function oo(e){if(ub!==void 0){const t=ub();return e??t}return y4(e)}function qs({controlled:e,default:t,name:n,state:r="value"}){const{current:s}=y.useRef(e!==void 0),[a,l]=y.useState(t),u=s?e:a,f=y.useCallback(h=>{s||l(h)},[]);return[u,f]}function nr(e){const t=y.useRef(e);return Sr(()=>{t.current=e}),y.useRef((...n)=>(0,t.current)(...n)).current}function ln(...e){const t=y.useRef(void 0),n=y.useCallback(r=>{const s=e.map(a=>{if(a==null)return null;if(typeof a=="function"){const l=a,u=l(r);return typeof u=="function"?u:()=>{l(null)}}return a.current=r,()=>{a.current=null}});return()=>{s.forEach(a=>a?.())}},e);return y.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=n(r))},e)}const fb={};function zx(e,t){const n=y.useRef(fb);return n.current===fb&&(n.current=e(t)),n}const P4=[];function b4(e){y.useEffect(e,P4)}class kd{static create(){return new kd}currentId=null;start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Ai(){const e=zx(kd.create).current;return b4(e.disposeEffect),e}function ka(e){try{return e.matches(":focus-visible")}catch{}return!1}function Ox(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const w4=e=>{const t=y.useRef({});return y.useEffect(()=>{t.current=e}),t.current};function _e(e,t,n=void 0){const r={};for(const s in e){const a=e[s];let l="",u=!0;for(let f=0;fr.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function db(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function Rx(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:s,className:a}=e;if(!t){const S=ze(n?.className,a,s?.className,r?.className),P={...n?.style,...s?.style,...r?.style},A={...n,...s,...r};return S.length>0&&(A.className=S),Object.keys(P).length>0&&(A.style=P),{props:A,internalRef:void 0}}const l=_f({...s,...r}),u=db(r),f=db(s),h=t(l),v=ze(h?.className,n?.className,a,s?.className,r?.className),m={...h?.style,...n?.style,...s?.style,...r?.style},b={...h,...n,...f,...u};return v.length>0&&(b.className=v),Object.keys(m).length>0&&(b.style=m),{props:b,internalRef:h.ref}}function Ex(e,t,n){return typeof e=="function"?e(t,n):e}function Tx(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:s=!1,...a}=e,l=s?{}:Ex(n,r),{props:u,internalRef:f}=Rx({...a,externalSlotProps:l}),h=ln(f,l?.ref,e.additionalProps?.ref);return kx(t,{...u,ref:h},r)}function Qs(e){return parseInt(y.version,10)>=19?e?.props?.ref||null:e?.ref||null}const Mx=y.createContext(null);function Ym(){return y.useContext(Mx)}const S4=typeof Symbol=="function"&&Symbol.for,H4=S4?Symbol.for("mui.nested"):"__THEME_NESTED__";function C4(e,t){return typeof t=="function"?t(e):{...e,...t}}function j4(e){const{children:t,theme:n}=e,r=Ym(),s=y.useMemo(()=>{const a=r===null?{...n}:C4(r,n);return a!=null&&(a[H4]=r!==null),a},[n,r]);return p.jsx(Mx.Provider,{value:s,children:t})}const Lx=y.createContext();function D4({value:e,...t}){return p.jsx(Lx.Provider,{value:e??!0,...t})}const Ic=()=>y.useContext(Lx)??!1,Ix=y.createContext(void 0);function z4({value:e,children:t}){return p.jsx(Ix.Provider,{value:e,children:t})}function O4(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const s=t.components[n];return s.defaultProps?Oa(s.defaultProps,r):!s.styleOverrides&&!s.variants?Oa(s,r):r}function k4({props:e,name:t}){const n=y.useContext(Ix);return O4({props:e,name:t,theme:{components:n}})}function R4(e){const t=jd(),n=oo()||"",{modularCssLayers:r}=e;let s="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!r||t!==null?s="":typeof r=="string"?s=r.replace(/mui(?!\.)/g,s):s=`@layer ${s};`,Sr(()=>{const a=document.querySelector("head");if(!a)return;const l=a.firstChild;if(s){if(l&&l.hasAttribute?.("data-mui-layer-order")&&l.getAttribute("data-mui-layer-order")===n)return;const u=document.createElement("style");u.setAttribute("data-mui-layer-order",n),u.textContent=s,a.prepend(u)}else a.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[s,n]),s?p.jsx(gx,{styles:s}):null}const pb={};function hb(e,t,n,r=!1){return y.useMemo(()=>{const s=e&&t[e]||t;if(typeof n=="function"){const a=n(s),l=e?{...t,[e]:a}:a;return r?()=>l:l}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Bx(e){const{children:t,theme:n,themeId:r}=e,s=jd(pb),a=Ym()||pb,l=hb(r,s,n),u=hb(r,a,n,!0),f=(r?l[r]:l).direction==="rtl",h=R4(l);return p.jsx(j4,{theme:u,children:p.jsx(Ec.Provider,{value:l,children:p.jsx(D4,{value:f,children:p.jsxs(z4,{value:r?l[r].components:l.components,children:[h,t]})})})})}const vb={theme:void 0};function E4(e){let t,n;return function(s){let a=t;return(a===void 0||s.theme!==n)&&(vb.theme=s.theme,a=Px(e(vb)),t=a,n=s.theme),a}}const Gm="mode",Zm="color-scheme",T4="data-color-scheme";function M4(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:s=Gm,colorSchemeStorageKey:a=Zm,attribute:l=T4,colorSchemeNode:u="document.documentElement",nonce:f}=e||{};let h="",v=l;if(l==="class"&&(v=".%s"),l==="data"&&(v="[data-%s]"),v.startsWith(".")){const b=v.substring(1);h+=`${u}.classList.remove('${b}'.replace('%s', light), '${b}'.replace('%s', dark)); - ${u}.classList.add('${b}'.replace('%s', colorScheme));`}const m=v.match(/\[([^\]]+)\]/);if(m){const[b,S]=m[1].split("=");S||(h+=`${u}.removeAttribute('${b}'.replace('%s', light)); - ${u}.removeAttribute('${b}'.replace('%s', dark));`),h+=` - ${u}.setAttribute('${b}'.replace('%s', colorScheme), ${S?`${S}.replace('%s', colorScheme)`:'""'});`}else h+=`${u}.setAttribute('${v}', colorScheme);`;return p.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?f:"",dangerouslySetInnerHTML:{__html:`(function() { +function D4(e,t){for(var n=0;nr[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();function ap(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zv={exports:{}},ac={},Qv={exports:{}},Mt={};var ow;function O4(){if(ow)return Mt;ow=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.iterator;function b(z){return z===null||typeof z!="object"?null:(z=m&&z[m]||z["@@iterator"],typeof z=="function"?z:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,A={};function x(z,G,I){this.props=z,this.context=G,this.refs=A,this.updater=I||w}x.prototype.isReactComponent={},x.prototype.setState=function(z,G){if(typeof z!="object"&&typeof z!="function"&&z!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,z,G,"setState")},x.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function D(){}D.prototype=x.prototype;function j(z,G,I){this.props=z,this.context=G,this.refs=A,this.updater=I||w}var C=j.prototype=new D;C.constructor=j,P(C,x.prototype),C.isPureReactComponent=!0;var k=Array.isArray,O=Object.prototype.hasOwnProperty,T={current:null},M={key:!0,ref:!0,__self:!0,__source:!0};function E(z,G,I){var Z,$={},re=null,se=null;if(G!=null)for(Z in G.ref!==void 0&&(se=G.ref),G.key!==void 0&&(re=""+G.key),G)O.call(G,Z)&&!M.hasOwnProperty(Z)&&($[Z]=G[Z]);var ge=arguments.length-2;if(ge===1)$.children=I;else if(1n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const lo="$$material";function Ds(){return Ds=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Zn(ml,--Hr):0,nl--,Tn===10&&(nl=1,cp--),Tn}function Jr(){return Tn=Hr2||Zc(Tn)>3?"":" "}function Y4(e,t){for(;--t&&Jr()&&!(Tn<48||Tn>102||Tn>57&&Tn<65||Tn>70&&Tn<97););return du(e,yd()+(t<6&&rs()==32&&Jr()==32))}function Nm(e){for(;Jr();)switch(Tn){case e:return Hr;case 34:case 39:e!==34&&e!==39&&Nm(Tn);break;case 40:e===41&&Nm(e);break;case 92:Jr();break}return Hr}function G4(e,t){for(;Jr()&&e+Tn!==57;)if(e+Tn===84&&rs()===47)break;return"/*"+du(t,Hr-1)+"*"+lp(e===47?e:Jr())}function Z4(e){for(;!Zc(rs());)Jr();return du(e,Hr)}function Q4(e){return N0(bd("",null,null,null,[""],e=B0(e),0,[0],e))}function bd(e,t,n,r,s,a,l,c,f){for(var d=0,p=0,m=l,b=0,w=0,P=0,A=1,x=1,D=1,j=0,C="",k=s,O=a,T=r,M=C;x;)switch(P=j,j=Jr()){case 40:if(P!=108&&Zn(M,m-1)==58){Bm(M+=qt(Ad(j),"&","&\f"),"&\f")!=-1&&(D=-1);break}case 34:case 39:case 91:M+=Ad(j);break;case 9:case 10:case 13:case 32:M+=U4(P);break;case 92:M+=Y4(yd()-1,7);continue;case 47:switch(rs()){case 42:case 47:qf(K4(G4(Jr(),yd()),t,n),f);break;default:M+="/"}break;case 123*A:c[d++]=_o(M)*D;case 125*A:case 59:case 0:switch(j){case 0:case 125:x=0;case 59+p:D==-1&&(M=qt(M,/\f/g,"")),w>0&&_o(M)-m&&qf(w>32?cw(M+";",r,n,m-1):cw(qt(M," ","")+";",r,n,m-2),f);break;case 59:M+=";";default:if(qf(T=lw(M,t,n,d,p,s,c,C,k=[],O=[],m),a),j===123)if(p===0)bd(M,t,T,T,k,a,m,c,O);else switch(b===99&&Zn(M,3)===110?100:b){case 100:case 108:case 109:case 115:bd(e,T,T,r&&qf(lw(e,T,T,0,0,s,c,C,s,k=[],m),O),s,O,m,c,r?k:O);break;default:bd(M,T,T,T,[""],O,0,c,O)}}d=p=w=0,A=D=1,C=M="",m=l;break;case 58:m=1+_o(M),w=P;default:if(A<1){if(j==123)--A;else if(j==125&&A++==0&&q4()==125)continue}switch(M+=lp(j),j*A){case 38:D=p>0?1:(M+="\f",-1);break;case 44:c[d++]=(_o(M)-1)*D,D=1;break;case 64:rs()===45&&(M+=Ad(Jr())),b=rs(),p=m=_o(C=M+=Z4(yd())),j++;break;case 45:P===45&&_o(M)==2&&(A=0)}}return a}function lw(e,t,n,r,s,a,l,c,f,d,p){for(var m=s-1,b=s===0?a:[""],w=Jg(b),P=0,A=0,x=0;P0?b[D]+" "+j:qt(j,/&\f/g,b[D])))&&(f[x++]=C);return up(e,t,n,s===0?Fg:c,f,d,p)}function K4(e,t,n){return up(e,t,n,T0,lp(J4()),Gc(e,2,-2),0)}function cw(e,t,n,r){return up(e,t,n,Wg,Gc(e,0,r),Gc(e,r+1,-1),r)}function _a(e,t){for(var n="",r=Jg(e),s=0;s6)switch(Zn(e,t+1)){case 109:if(Zn(e,t+4)!==45)break;case 102:return qt(e,/(.+:)(.+)-([^]+)/,"$1"+Jt+"$2-$3$1"+Id+(Zn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Bm(e,"stretch")?X0(qt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Zn(e,t+1)!==115)break;case 6444:switch(Zn(e,_o(e)-3-(~Bm(e,"!important")&&10))){case 107:return qt(e,":",":"+Jt)+e;case 101:return qt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Jt+(Zn(e,14)===45?"inline-":"")+"box$3$1"+Jt+"$2$3$1"+tr+"$2box$3")+e}break;case 5936:switch(Zn(e,t+11)){case 114:return Jt+e+tr+qt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Jt+e+tr+qt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Jt+e+tr+qt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Jt+e+tr+e+e}return e}var iC=function(t,n,r,s){if(t.length>-1&&!t.return)switch(t.type){case Wg:t.return=X0(t.value,t.length);break;case M0:return _a([cc(t,{value:qt(t.value,"@","@"+Jt)})],s);case Fg:if(t.length)return W4(t.props,function(a){switch(F4(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return _a([cc(t,{props:[qt(a,/:(read-\w+)/,":"+Id+"$1")]})],s);case"::placeholder":return _a([cc(t,{props:[qt(a,/:(plac\w+)/,":"+Jt+"input-$1")]}),cc(t,{props:[qt(a,/:(plac\w+)/,":"+Id+"$1")]}),cc(t,{props:[qt(a,/:(plac\w+)/,tr+"input-$1")]})],s)}return""})}},aC=[iC],lC=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(A){var x=A.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(A),A.setAttribute("data-s",""))})}var s=t.stylisPlugins||aC,a={},l,c=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(A){for(var x=A.getAttribute("data-emotion").split(" "),D=1;D=4;++r,s-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(s){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var hC={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},vC=/[A-Z]|^ms/g,mC=/_EMO_([^_]+?)_([^]*?)_EMO_/g,W0=function(t){return t.charCodeAt(1)===45},hw=function(t){return t!=null&&typeof t!="boolean"},$v=V0(function(e){return W0(e)?e:e.replace(vC,"-$&").toLowerCase()}),vw=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(mC,function(r,s,a){return $o={name:s,styles:a,next:$o},s})}return hC[t]!==1&&!W0(t)&&typeof n=="number"&&n!==0?n+"px":n};function Qc(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var s=n;if(s.anim===1)return $o={name:s.name,styles:s.styles,next:$o},s.name;var a=n;if(a.styles!==void 0){var l=a.next;if(l!==void 0)for(;l!==void 0;)$o={name:l.name,styles:l.styles,next:$o},l=l.next;var c=a.styles+";";return c}return gC(e,t,n)}case"function":{if(e!==void 0){var f=$o,d=n(e);return $o=f,Qc(e,t,d)}break}}var p=n;if(t==null)return p;var m=t[p];return m!==void 0?m:p}function gC(e,t,n){var r="";if(Array.isArray(n))for(var s=0;s96?HC:jC},bw=function(t,n,r){var s;if(n){var a=n.shouldForwardProp;s=t.__emotion_forwardProp&&a?function(l){return t.__emotion_forwardProp(l)&&a(l)}:a}return typeof s!="function"&&r&&(s=t.__emotion_forwardProp),s},kC=function(t){var n=t.cache,r=t.serialized,s=t.isStringTag;return qg(n,r,s),q0(function(){return Ug(n,r,s)}),null},DC=function e(t,n){var r=t.__emotion_real===t,s=r&&t.__emotion_base||t,a,l;n!==void 0&&(a=n.label,l=n.target);var c=bw(t,n,r),f=c||Aw(s),d=!f("as");return function(){var p=arguments,m=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&m.push("label:"+a+";"),p[0]==null||p[0].raw===void 0)m.push.apply(m,p);else{var b=p[0];m.push(b[0]);for(var w=p.length,P=1;Pt(zC(s)?n:s):t;return v.jsx(xC,{styles:r})}function G0(e,t){return Xm(e,t)}function EC(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Pw=[];function ai(e){return Pw[0]=e,pu(Pw)}var em={exports:{}},Qt={};var ww;function RC(){if(ww)return Qt;ww=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),w=Symbol.for("react.client.reference");function P(A){if(typeof A=="object"&&A!==null){var x=A.$$typeof;switch(x){case e:switch(A=A.type,A){case n:case s:case r:case f:case d:return A;default:switch(A=A&&A.$$typeof,A){case l:case c:case m:case p:return A;case a:return A;default:return x}}case t:return x}}}return Qt.ContextConsumer=a,Qt.ContextProvider=l,Qt.Element=e,Qt.ForwardRef=c,Qt.Fragment=n,Qt.Lazy=m,Qt.Memo=p,Qt.Portal=t,Qt.Profiler=s,Qt.StrictMode=r,Qt.Suspense=f,Qt.SuspenseList=d,Qt.isContextConsumer=function(A){return P(A)===a},Qt.isContextProvider=function(A){return P(A)===l},Qt.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===e},Qt.isForwardRef=function(A){return P(A)===c},Qt.isFragment=function(A){return P(A)===n},Qt.isLazy=function(A){return P(A)===m},Qt.isMemo=function(A){return P(A)===p},Qt.isPortal=function(A){return P(A)===t},Qt.isProfiler=function(A){return P(A)===s},Qt.isStrictMode=function(A){return P(A)===r},Qt.isSuspense=function(A){return P(A)===f},Qt.isSuspenseList=function(A){return P(A)===d},Qt.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===n||A===s||A===r||A===f||A===d||A===b||typeof A=="object"&&A!==null&&(A.$$typeof===m||A.$$typeof===p||A.$$typeof===l||A.$$typeof===a||A.$$typeof===c||A.$$typeof===w||A.getModuleId!==void 0)},Qt.typeOf=P,Qt}var xw;function TC(){return xw||(xw=1,em.exports=RC()),em.exports}var Z0=TC();function es(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Q0(e){if(g.isValidElement(e)||Z0.isValidElementType(e)||!es(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Q0(e[n])}),t}function Jn(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return es(e)&&es(t)&&Object.keys(t).forEach(s=>{g.isValidElement(t[s])||Z0.isValidElementType(t[s])?r[s]=t[s]:es(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&es(e[s])?r[s]=Jn(e[s],t[s],n):n.clone?r[s]=es(t[s])?Q0(t[s]):t[s]:r[s]=t[s]}),r}const MC=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function LC(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...s}=e,a=MC(t),l=Object.keys(a);function c(b){return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${n})`}function f(b){return`@media (max-width:${(typeof t[b]=="number"?t[b]:b)-r/100}${n})`}function d(b,w){const P=l.indexOf(w);return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${n}) and (max-width:${(P!==-1&&typeof t[l[P]]=="number"?t[l[P]]:w)-r/100}${n})`}function p(b){return l.indexOf(b)+1r.startsWith("@container")).sort((r,s)=>{const a=/min-width:\s*([0-9.]+)/;return+(r.match(a)?.[1]||0)-+(s.match(a)?.[1]||0)});return n.length?n.reduce((r,s)=>{const a=t[s];return delete r[s],r[s]=a,r},{...t}):t}function IC(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function BC(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,s]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(s).up(a)}function NC(e){const t=(a,l)=>a.replace("@media",l?`@container ${l}`:"@container");function n(a,l){a.up=(...c)=>t(e.breakpoints.up(...c),l),a.down=(...c)=>t(e.breakpoints.down(...c),l),a.between=(...c)=>t(e.breakpoints.between(...c),l),a.only=(...c)=>t(e.breakpoints.only(...c),l),a.not=(...c)=>{const f=t(e.breakpoints.not(...c),l);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const r={},s=a=>(n(r,a),r);return n(s),{...e,containerQueries:s}}const VC={borderRadius:4};function Ic(e,t){return t?Jn(e,t,{clone:!1}):e}const fp={xs:0,sm:600,md:900,lg:1200,xl:1536},Cw={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${fp[e]}px)`},XC={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:fp[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function jr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||Cw;return t.reduce((l,c,f)=>(l[a.up(a.keys[f])]=n(t[f]),l),{})}if(typeof t=="object"){const a=r.breakpoints||Cw;return Object.keys(t).reduce((l,c)=>{if(IC(a.keys,c)){const f=BC(r.containerQueries?r:XC,c);f&&(l[f]=n(t[c],c))}else if(Object.keys(a.values||fp).includes(c)){const f=a.up(c);l[f]=n(t[c],c)}else{const f=c;l[f]=t[f]}return l},{})}return n(t)}function K0(e={}){return e.keys?.reduce((n,r)=>{const s=e.up(r);return n[s]={},n},{})||{}}function Fm(e,t){return e.reduce((n,r)=>{const s=n[r];return(!s||Object.keys(s).length===0)&&delete n[r],n},t)}function FC(e,...t){const n=K0(e),r=[n,...t].reduce((s,a)=>Jn(s,a),{});return Fm(Object.keys(n),r)}function WC(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((s,a)=>{a{e[s]!=null&&(n[s]=!0)}),n}function Ui({values:e,breakpoints:t,base:n}){const r=n||WC(e,t),s=Object.keys(r);if(s.length===0)return e;let a;return s.reduce((l,c,f)=>(Array.isArray(e)?(l[c]=e[f]!=null?e[f]:e[a],a=f):typeof e=="object"?(l[c]=e[c]!=null?e[c]:e[a],a=c):l[c]=e,l),{})}function pe(e){if(typeof e!="string")throw new Error(ks(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ii(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((s,a)=>s&&s[a]?s[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,s)=>r&&r[s]!=null?r[s]:null,e)}function Bd(e,t,n,r=n){let s;return typeof e=="function"?s=e(n):Array.isArray(e)?s=e[n]||r:s=ii(e,n)||r,t&&(s=t(s,r,e)),s}function kn(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:s}=e,a=l=>{if(l[t]==null)return null;const c=l[t],f=l.theme,d=ii(f,r)||{};return jr(l,c,m=>{let b=Bd(d,s,m);return m===b&&typeof m=="string"&&(b=Bd(d,s,`${t}${m==="default"?"":pe(m)}`,m)),n===!1?b:{[n]:b}})};return a.propTypes={},a.filterProps=[t],a}function JC(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const qC={m:"margin",p:"padding"},UC={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Hw={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},YC=JC(e=>{if(e.length>2)if(Hw[e])e=Hw[e];else return[e];const[t,n]=e.split(""),r=qC[t],s=UC[n]||"";return Array.isArray(s)?s.map(a=>r+a):[r+s]}),Qg=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Kg=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Qg,...Kg];function mu(e,t,n,r){const s=ii(e,t,!0)??n;return typeof s=="number"||typeof s=="string"?a=>typeof a=="string"?a:typeof s=="string"?`calc(${a} * ${s})`:s*a:Array.isArray(s)?a=>{if(typeof a=="string")return a;const l=Math.abs(a),c=s[l];return a>=0?c:typeof c=="number"?-c:`-${c}`}:typeof s=="function"?s:()=>{}}function dp(e){return mu(e,"spacing",8)}function Zi(e,t){return typeof t=="string"||t==null?t:e(t)}function GC(e,t){return n=>e.reduce((r,s)=>(r[s]=Zi(t,n),r),{})}function ZC(e,t,n,r){if(!t.includes(n))return null;const s=YC(n),a=GC(s,r),l=e[n];return jr(e,l,a)}function _0(e,t){const n=dp(e.theme);return Object.keys(e).map(r=>ZC(e,t,r,n)).reduce(Ic,{})}function Pn(e){return _0(e,Qg)}Pn.propTypes={};Pn.filterProps=Qg;function wn(e){return _0(e,Kg)}wn.propTypes={};wn.filterProps=Kg;function $0(e=8,t=dp({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(a=>{const l=t(a);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function pp(...e){const t=e.reduce((r,s)=>(s.filterProps.forEach(a=>{r[a]=s}),r),{}),n=r=>Object.keys(r).reduce((s,a)=>t[a]?Ic(s,t[a](r)):s,{});return n.propTypes={},n.filterProps=e.reduce((r,s)=>r.concat(s.filterProps),[]),n}function ao(e){return typeof e!="number"?e:`${e}px solid`}function ho(e,t){return kn({prop:e,themeKey:"borders",transform:t})}const QC=ho("border",ao),KC=ho("borderTop",ao),_C=ho("borderRight",ao),$C=ho("borderBottom",ao),eH=ho("borderLeft",ao),tH=ho("borderColor"),nH=ho("borderTopColor"),rH=ho("borderRightColor"),oH=ho("borderBottomColor"),sH=ho("borderLeftColor"),iH=ho("outline",ao),aH=ho("outlineColor"),hp=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=mu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Zi(t,r)});return jr(e,e.borderRadius,n)}return null};hp.propTypes={};hp.filterProps=["borderRadius"];pp(QC,KC,_C,$C,eH,tH,nH,rH,oH,sH,hp,iH,aH);const vp=e=>{if(e.gap!==void 0&&e.gap!==null){const t=mu(e.theme,"spacing",8),n=r=>({gap:Zi(t,r)});return jr(e,e.gap,n)}return null};vp.propTypes={};vp.filterProps=["gap"];const mp=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=mu(e.theme,"spacing",8),n=r=>({columnGap:Zi(t,r)});return jr(e,e.columnGap,n)}return null};mp.propTypes={};mp.filterProps=["columnGap"];const gp=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=mu(e.theme,"spacing",8),n=r=>({rowGap:Zi(t,r)});return jr(e,e.rowGap,n)}return null};gp.propTypes={};gp.filterProps=["rowGap"];const lH=kn({prop:"gridColumn"}),cH=kn({prop:"gridRow"}),uH=kn({prop:"gridAutoFlow"}),fH=kn({prop:"gridAutoColumns"}),dH=kn({prop:"gridAutoRows"}),pH=kn({prop:"gridTemplateColumns"}),hH=kn({prop:"gridTemplateRows"}),vH=kn({prop:"gridTemplateAreas"}),mH=kn({prop:"gridArea"});pp(vp,mp,gp,lH,cH,uH,fH,dH,pH,hH,vH,mH);function $a(e,t){return t==="grey"?t:e}const gH=kn({prop:"color",themeKey:"palette",transform:$a}),yH=kn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:$a}),AH=kn({prop:"backgroundColor",themeKey:"palette",transform:$a});pp(gH,yH,AH);function Wr(e){return e<=1&&e!==0?`${e*100}%`:e}const bH=kn({prop:"width",transform:Wr}),_g=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{const r=e.theme?.breakpoints?.values?.[n]||fp[n];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Wr(n)}};return jr(e,e.maxWidth,t)}return null};_g.filterProps=["maxWidth"];const PH=kn({prop:"minWidth",transform:Wr}),wH=kn({prop:"height",transform:Wr}),xH=kn({prop:"maxHeight",transform:Wr}),SH=kn({prop:"minHeight",transform:Wr});kn({prop:"size",cssProperty:"width",transform:Wr});kn({prop:"size",cssProperty:"height",transform:Wr});const CH=kn({prop:"boxSizing"});pp(bH,_g,PH,wH,xH,SH,CH);const gu={border:{themeKey:"borders",transform:ao},borderTop:{themeKey:"borders",transform:ao},borderRight:{themeKey:"borders",transform:ao},borderBottom:{themeKey:"borders",transform:ao},borderLeft:{themeKey:"borders",transform:ao},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ao},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:hp},color:{themeKey:"palette",transform:$a},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:$a},backgroundColor:{themeKey:"palette",transform:$a},p:{style:wn},pt:{style:wn},pr:{style:wn},pb:{style:wn},pl:{style:wn},px:{style:wn},py:{style:wn},padding:{style:wn},paddingTop:{style:wn},paddingRight:{style:wn},paddingBottom:{style:wn},paddingLeft:{style:wn},paddingX:{style:wn},paddingY:{style:wn},paddingInline:{style:wn},paddingInlineStart:{style:wn},paddingInlineEnd:{style:wn},paddingBlock:{style:wn},paddingBlockStart:{style:wn},paddingBlockEnd:{style:wn},m:{style:Pn},mt:{style:Pn},mr:{style:Pn},mb:{style:Pn},ml:{style:Pn},mx:{style:Pn},my:{style:Pn},margin:{style:Pn},marginTop:{style:Pn},marginRight:{style:Pn},marginBottom:{style:Pn},marginLeft:{style:Pn},marginX:{style:Pn},marginY:{style:Pn},marginInline:{style:Pn},marginInlineStart:{style:Pn},marginInlineEnd:{style:Pn},marginBlock:{style:Pn},marginBlockStart:{style:Pn},marginBlockEnd:{style:Pn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:vp},rowGap:{style:gp},columnGap:{style:mp},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Wr},maxWidth:{style:_g},minWidth:{transform:Wr},height:{transform:Wr},maxHeight:{transform:Wr},minHeight:{transform:Wr},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function HH(...e){const t=e.reduce((r,s)=>r.concat(Object.keys(s)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function jH(e,t){return typeof e=="function"?e(t):e}function kH(){function e(n,r,s,a){const l={[n]:r,theme:s},c=a[n];if(!c)return{[n]:r};const{cssProperty:f=n,themeKey:d,transform:p,style:m}=c;if(r==null)return null;if(d==="typography"&&r==="inherit")return{[n]:r};const b=ii(s,d)||{};return m?m(l):jr(l,r,P=>{let A=Bd(b,p,P);return P===A&&typeof P=="string"&&(A=Bd(b,p,`${n}${P==="default"?"":pe(P)}`,P)),f===!1?A:{[f]:A}})}function t(n){const{sx:r,theme:s={},nested:a}=n||{};if(!r)return null;const l=s.unstable_sxConfig??gu;function c(f){let d=f;if(typeof f=="function")d=f(s);else if(typeof f!="object")return f;if(!d)return null;const p=K0(s.breakpoints),m=Object.keys(p);let b=p;return Object.keys(d).forEach(w=>{const P=jH(d[w],s);if(P!=null)if(typeof P=="object")if(l[w])b=Ic(b,e(w,P,s,l));else{const A=jr({theme:s},P,x=>({[w]:x}));HH(A,P)?b[w]=t({sx:P,theme:s,nested:!0}):b=Ic(b,A)}else b=Ic(b,e(w,P,s,l))}),!a&&s.modularCssLayers?{"@layer sx":Sw(s,Fm(m,b))}:Sw(s,Fm(m,b))}return Array.isArray(r)?r.map(c):c(r)}return t}const fi=kH();fi.filterProps=["sx"];function DH(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!="function")return{};let r=n.getColorSchemeSelector(e);return r==="&"?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function yp(e={},...t){const{breakpoints:n={},palette:r={},spacing:s,shape:a={},...l}=e,c=LC(n),f=$0(s);let d=Jn({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:f,shape:{...VC,...a}},l);return d=NC(d),d.applyStyles=DH,d=t.reduce((p,m)=>Jn(p,m),d),d.unstable_sxConfig={...gu,...l?.unstable_sxConfig},d.unstable_sx=function(m){return fi({sx:m,theme:this})},d}function OH(e){return Object.keys(e).length===0}function Ap(e=null){const t=g.useContext(hu);return!t||OH(t)?e:t}const zH=yp();function bp(e=zH){return Ap(e)}function tm(e){const t=ai(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function e1({styles:e,themeId:t,defaultTheme:n={}}){const r=bp(n),s=t&&r[t]||r;let a=typeof e=="function"?e(s):e;return s.modularCssLayers&&(Array.isArray(a)?a=a.map(l=>tm(typeof l=="function"?l(s):l)):a=tm(a)),v.jsx(Y0,{styles:a})}const EH=e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??gu;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t};function Pp(e){const{sx:t,...n}=e,{systemProps:r,otherProps:s}=EH(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...l)=>{const c=t(...l);return es(c)?{...r,...c}:r}:a={...r,...t},{...s,sx:a}}const jw=e=>e,RH=()=>{let e=jw;return{configure(t){e=t},generate(t){return e(t)},reset(){e=jw}}},t1=RH();function n1(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;tc!=="theme"&&c!=="sx"&&c!=="as"})(fi);return g.forwardRef(function(f,d){const p=bp(n),{className:m,component:b="div",...w}=Pp(f);return v.jsx(a,{as:b,ref:d,className:De(m,s?s(r):r),theme:t&&p[t]||p,...w})})}const MH={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Qe(e,t,n="Mui"){const r=MH[t];return r?`${n}-${r}`:`${t1.generate(e)}-${t}`}function Ke(e,t,n="Mui"){const r={};return t.forEach(s=>{r[s]=Qe(e,s,n)}),r}function r1(e){const{variants:t,...n}=e,r={variants:t,style:ai(n),isProcessed:!0};return r.style===n||t&&t.forEach(s=>{typeof s.style!="function"&&(s.style=ai(s.style))}),r}const LH=yp();function nm(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Vi(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function IH(e){return e?(t,n)=>n[e]:null}function BH(e,t,n){e.theme=VH(e.theme)?n:e.theme[t]||e.theme}function Pd(e,t,n){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(s=>Pd(e,s,n));if(Array.isArray(r?.variants)){let s;if(r.isProcessed)s=n?Vi(r.style,n):r.style;else{const{variants:a,...l}=r;s=n?Vi(ai(l),n):l}return o1(e,r.variants,[s],n)}return r?.isProcessed?n?Vi(ai(r.style),n):r.style:n?Vi(ai(r),n):r}function o1(e,t,n=[],r=void 0){let s;e:for(let a=0;a{EC(c,T=>T.filter(M=>M!==fi));const{name:d,slot:p,skipVariantsResolver:m,skipSx:b,overridesResolver:w=IH(FH(p)),...P}=f,A=d&&d.startsWith("Mui")||p?"components":"custom",x=m!==void 0?m:p&&p!=="Root"&&p!=="root"||!1,D=b||!1;let j=nm;p==="Root"||p==="root"?j=r:p?j=s:XH(c)&&(j=void 0);const C=G0(c,{shouldForwardProp:j,label:NH(),...P}),k=T=>{if(T.__emotion_real===T)return T;if(typeof T=="function")return function(E){return Pd(E,T,E.theme.modularCssLayers?A:void 0)};if(es(T)){const M=r1(T);return function(L){return M.variants?Pd(L,M,L.theme.modularCssLayers?A:void 0):L.theme.modularCssLayers?Vi(M.style,A):M.style}}return T},O=(...T)=>{const M=[],E=T.map(k),L=[];if(M.push(a),d&&w&&L.push(function(B){const q=B.theme.components?.[d]?.styleOverrides;if(!q)return null;const F={};for(const _ in q)F[_]=Pd(B,q[_],B.theme.modularCssLayers?"theme":void 0);return w(B,F)}),d&&!x&&L.push(function(B){const q=B.theme?.components?.[d]?.variants;return q?o1(B,q,[],B.theme.modularCssLayers?"theme":void 0):null}),D||L.push(fi),Array.isArray(E[0])){const X=E.shift(),B=new Array(M.length).fill(""),J=new Array(L.length).fill("");let q;q=[...B,...X,...J],q.raw=[...B,...X.raw,...J],M.unshift(q)}const H=[...M,...E,...L],V=C(...H);return c.muiName&&(V.muiName=c.muiName),V};return C.withConfig&&(O.withConfig=C.withConfig),O}}function NH(e,t){return void 0}function VH(e){for(const t in e)return!1;return!0}function XH(e){return typeof e=="string"&&e.charCodeAt(0)>96}function FH(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const WH=s1();function rl(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const s=r;if(s==="components"||s==="slots")n[s]={...e[s],...n[s]};else if(s==="componentsProps"||s==="slotProps"){const a=e[s],l=t[s];if(!l)n[s]=a||{};else if(!a)n[s]=l;else{n[s]={...l};for(const c in a)if(Object.prototype.hasOwnProperty.call(a,c)){const f=c;n[s][f]=rl(a[f],l[f])}}}else n[s]===void 0&&(n[s]=e[s])}return n}function i1(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:rl(t.components[n].defaultProps,r)}function a1({props:e,name:t,defaultTheme:n,themeId:r}){let s=bp(n);return r&&(s=s[r]||s),i1({theme:s,name:t,props:e})}const kr=typeof window<"u"?g.useLayoutEffect:g.useEffect;function JH(e,t,n,r,s){const[a,l]=g.useState(()=>s&&n?n(e).matches:r?r(e).matches:t);return kr(()=>{if(!n)return;const c=n(e),f=()=>{l(c.matches)};return f(),c.addEventListener("change",f),()=>{c.removeEventListener("change",f)}},[e,n]),a}const qH={...Ld},l1=qH.useSyncExternalStore;function UH(e,t,n,r,s){const a=g.useCallback(()=>t,[t]),l=g.useMemo(()=>{if(s&&n)return()=>n(e).matches;if(r!==null){const{matches:p}=r(e);return()=>p}return a},[a,e,r,s,n]),[c,f]=g.useMemo(()=>{if(n===null)return[a,()=>()=>{}];const p=n(e);return[()=>p.matches,m=>(p.addEventListener("change",m),()=>{p.removeEventListener("change",m)})]},[a,n,e]);return l1(f,c,l)}function c1(e={}){const{themeId:t}=e;return function(r,s={}){let a=Ap();a&&t&&(a=a[t]||a);const l=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:c=!1,matchMedia:f=l?window.matchMedia:null,ssrMatchMedia:d=null,noSsr:p=!1}=i1({name:"MuiUseMediaQuery",props:s,theme:a});let m=typeof r=="function"?r(a):r;return m=m.replace(/^@media( ?)/m,""),m.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(` +`)),(l1!==void 0?UH:JH)(m,c,f,d,p)}}c1();function YH(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function $g(e,t=0,n=1){return YH(e,t,n)}function GH(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,s)=>s<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function di(e){if(e.type)return e;if(e.charAt(0)==="#")return di(GH(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(ks(9,e));let r=e.substring(t+1,e.length-1),s;if(n==="color"){if(r=r.split(" "),s=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(ks(10,s))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:s}}const ZH=e=>{const t=di(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Hc=(e,t)=>{try{return ZH(e)}catch{return e}};function wp(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((s,a)=>a<3?parseInt(s,10):s):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function u1(e){e=di(e);const{values:t}=e,n=t[0],r=t[1]/100,s=t[2]/100,a=r*Math.min(s,1-s),l=(d,p=(d+n/30)%12)=>s-a*Math.max(Math.min(p-3,9-p,1),-1);let c="rgb";const f=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(c+="a",f.push(t[3])),wp({type:c,values:f})}function Wm(e){e=di(e);let t=e.type==="hsl"||e.type==="hsla"?di(u1(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function QH(e,t){const n=Wm(e),r=Wm(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function xt(e,t){return e=di(e),t=$g(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,wp(e)}function Uf(e,t,n){try{return xt(e,t)}catch{return e}}function Qi(e,t){if(e=di(e),t=$g(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return wp(e)}function Kt(e,t,n){try{return Qi(e,t)}catch{return e}}function Ki(e,t){if(e=di(e),t=$g(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return wp(e)}function _t(e,t,n){try{return Ki(e,t)}catch{return e}}function f1(e,t=.15){return Wm(e)>.5?Qi(e,t):Ki(e,t)}function Yf(e,t,n){try{return f1(e,t)}catch{return e}}function Jm(...e){return e.reduce((t,n)=>n==null?t:function(...s){t.apply(this,s),n.apply(this,s)},()=>{})}function ey(e,t=166){let n;function r(...s){const a=()=>{e.apply(this,s)};clearTimeout(n),n=setTimeout(a,t)}return r.clear=()=>{clearTimeout(n)},r}function wd(e,t){return g.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}function ar(e){return e&&e.ownerDocument||document}function To(e){return ar(e).defaultView||window}function qm(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let kw=0;function KH(e){const[t,n]=g.useState(e),r=e||t;return g.useEffect(()=>{t==null&&(kw+=1,n(`mui-${kw}`))},[t]),r}const _H={...Ld},Dw=_H.useId;function uo(e){if(Dw!==void 0){const t=Dw();return e??t}return KH(e)}function li({controlled:e,default:t,name:n,state:r="value"}){const{current:s}=g.useRef(e!==void 0),[a,l]=g.useState(t),c=s?e:a,f=g.useCallback(d=>{s||l(d)},[]);return[c,f]}function ir(e){const t=g.useRef(e);return kr(()=>{t.current=e}),g.useRef((...n)=>(0,t.current)(...n)).current}function fn(...e){const t=g.useRef(void 0),n=g.useCallback(r=>{const s=e.map(a=>{if(a==null)return null;if(typeof a=="function"){const l=a,c=l(r);return typeof c=="function"?c:()=>{l(null)}}return a.current=r,()=>{a.current=null}});return()=>{s.forEach(a=>a?.())}},e);return g.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=n(r))},e)}const Ow={};function d1(e,t){const n=g.useRef(Ow);return n.current===Ow&&(n.current=e(t)),n}const $H=[];function e7(e){g.useEffect(e,$H)}class xp{static create(){return new xp}currentId=null;start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Xi(){const e=d1(xp.create).current;return e7(e.disposeEffect),e}function ol(e){try{return e.matches(":focus-visible")}catch{}return!1}function p1(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const t7=e=>{const t=g.useRef({});return g.useEffect(()=>{t.current=e}),t.current};function _e(e,t,n=void 0){const r={};for(const s in e){const a=e[s];let l="",c=!0;for(let f=0;fr.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function zw(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function v1(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:s,className:a}=e;if(!t){const w=De(n?.className,a,s?.className,r?.className),P={...n?.style,...s?.style,...r?.style},A={...n,...s,...r};return w.length>0&&(A.className=w),Object.keys(P).length>0&&(A.style=P),{props:A,internalRef:void 0}}const l=Nd({...s,...r}),c=zw(r),f=zw(s),d=t(l),p=De(d?.className,n?.className,a,s?.className,r?.className),m={...d?.style,...n?.style,...s?.style,...r?.style},b={...d,...n,...f,...c};return p.length>0&&(b.className=p),Object.keys(m).length>0&&(b.style=m),{props:b,internalRef:d.ref}}function m1(e,t,n){return typeof e=="function"?e(t,n):e}function g1(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:s=!1,...a}=e,l=s?{}:m1(n,r),{props:c,internalRef:f}=v1({...a,externalSlotProps:l}),d=fn(f,l?.ref,e.additionalProps?.ref);return h1(t,{...c,ref:d},r)}function mi(e){return parseInt(g.version,10)>=19?e?.props?.ref||null:e?.ref||null}const y1=g.createContext(null);function ty(){return g.useContext(y1)}const r7=typeof Symbol=="function"&&Symbol.for,o7=r7?Symbol.for("mui.nested"):"__THEME_NESTED__";function s7(e,t){return typeof t=="function"?t(e):{...e,...t}}function i7(e){const{children:t,theme:n}=e,r=ty(),s=g.useMemo(()=>{const a=r===null?{...n}:s7(r,n);return a!=null&&(a[o7]=r!==null),a},[n,r]);return v.jsx(y1.Provider,{value:s,children:t})}const A1=g.createContext();function a7({value:e,...t}){return v.jsx(A1.Provider,{value:e??!0,...t})}const yu=()=>g.useContext(A1)??!1,b1=g.createContext(void 0);function l7({value:e,children:t}){return v.jsx(b1.Provider,{value:e,children:t})}function c7(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const s=t.components[n];return s.defaultProps?rl(s.defaultProps,r):!s.styleOverrides&&!s.variants?rl(s,r):r}function u7({props:e,name:t}){const n=g.useContext(b1);return c7({props:e,name:t,theme:{components:n}})}function f7(e){const t=Ap(),n=uo()||"",{modularCssLayers:r}=e;let s="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!r||t!==null?s="":typeof r=="string"?s=r.replace(/mui(?!\.)/g,s):s=`@layer ${s};`,kr(()=>{const a=document.querySelector("head");if(!a)return;const l=a.firstChild;if(s){if(l&&l.hasAttribute?.("data-mui-layer-order")&&l.getAttribute("data-mui-layer-order")===n)return;const c=document.createElement("style");c.setAttribute("data-mui-layer-order",n),c.textContent=s,a.prepend(c)}else a.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[s,n]),s?v.jsx(e1,{styles:s}):null}const Ew={};function Rw(e,t,n,r=!1){return g.useMemo(()=>{const s=e&&t[e]||t;if(typeof n=="function"){const a=n(s),l=e?{...t,[e]:a}:a;return r?()=>l:l}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function P1(e){const{children:t,theme:n,themeId:r}=e,s=Ap(Ew),a=ty()||Ew,l=Rw(r,s,n),c=Rw(r,a,n,!0),f=(r?l[r]:l).direction==="rtl",d=f7(l);return v.jsx(i7,{theme:c,children:v.jsx(hu.Provider,{value:l,children:v.jsx(a7,{value:f,children:v.jsxs(l7,{value:r?l[r].components:l.components,children:[d,t]})})})})}const Tw={theme:void 0};function d7(e){let t,n;return function(s){let a=t;return(a===void 0||s.theme!==n)&&(Tw.theme=s.theme,a=r1(e(Tw)),t=a,n=s.theme),a}}const ny="mode",ry="color-scheme",p7="data-color-scheme";function h7(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:s=ny,colorSchemeStorageKey:a=ry,attribute:l=p7,colorSchemeNode:c="document.documentElement",nonce:f}=e||{};let d="",p=l;if(l==="class"&&(p=".%s"),l==="data"&&(p="[data-%s]"),p.startsWith(".")){const b=p.substring(1);d+=`${c}.classList.remove('${b}'.replace('%s', light), '${b}'.replace('%s', dark)); + ${c}.classList.add('${b}'.replace('%s', colorScheme));`}const m=p.match(/\[([^\]]+)\]/);if(m){const[b,w]=m[1].split("=");w||(d+=`${c}.removeAttribute('${b}'.replace('%s', light)); + ${c}.removeAttribute('${b}'.replace('%s', dark));`),d+=` + ${c}.setAttribute('${b}'.replace('%s', colorScheme), ${w?`${w}.replace('%s', colorScheme)`:'""'});`}else d+=`${c}.setAttribute('${p}', colorScheme);`;return v.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?f:"",dangerouslySetInnerHTML:{__html:`(function() { try { let colorScheme = ''; const mode = localStorage.getItem('${s}') || '${t}'; @@ -24,23 +24,23 @@ try { colorScheme = dark; } if (colorScheme) { - ${h} + ${d} } -} catch(e){}})();`}},"mui-color-scheme-init")}function L4(){}const I4=({key:e,storageWindow:t})=>(!t&&typeof window<"u"&&(t=window),{get(n){if(typeof window>"u")return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return L4;const r=s=>{const a=s.newValue;s.key===e&&n(a)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}});function ov(){}function mb(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Nx(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function B4(e){return Nx(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function N4(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:s=[],modeStorageKey:a=Gm,colorSchemeStorageKey:l=Zm,storageWindow:u=typeof window>"u"?void 0:window,storageManager:f=I4,noSsr:h=!1}=e,v=s.join(","),m=s.length>1,b=y.useMemo(()=>f?.({key:a,storageWindow:u}),[f,a,u]),S=y.useMemo(()=>f?.({key:`${l}-light`,storageWindow:u}),[f,l,u]),P=y.useMemo(()=>f?.({key:`${l}-dark`,storageWindow:u}),[f,l,u]),[A,x]=y.useState(()=>{const T=b?.get(t)||t,I=S?.get(n)||n,H=P?.get(r)||r;return{mode:T,systemMode:mb(T),lightColorScheme:I,darkColorScheme:H}}),[z,D]=y.useState(h||!m);y.useEffect(()=>{D(!0)},[]);const C=B4(A),j=y.useCallback(T=>{x(I=>{if(T===I.mode)return I;const H=T??t;return b?.set(H),{...I,mode:H,systemMode:mb(H)}})},[b,t]),O=y.useCallback(T=>{T?typeof T=="string"?T&&!v.includes(T)?console.error(`\`${T}\` does not exist in \`theme.colorSchemes\`.`):x(I=>{const H={...I};return Nx(I,V=>{V==="light"&&(S?.set(T),H.lightColorScheme=T),V==="dark"&&(P?.set(T),H.darkColorScheme=T)}),H}):x(I=>{const H={...I},V=T.light===null?n:T.light,X=T.dark===null?r:T.dark;return V&&(v.includes(V)?(H.lightColorScheme=V,S?.set(V)):console.error(`\`${V}\` does not exist in \`theme.colorSchemes\`.`)),X&&(v.includes(X)?(H.darkColorScheme=X,P?.set(X)):console.error(`\`${X}\` does not exist in \`theme.colorSchemes\`.`)),H}):x(I=>(S?.set(n),P?.set(r),{...I,lightColorScheme:n,darkColorScheme:r}))},[v,S,P,n,r]),E=y.useCallback(T=>{A.mode==="system"&&x(I=>{const H=T?.matches?"dark":"light";return I.systemMode===H?I:{...I,systemMode:H}})},[A.mode]),M=y.useRef(E);return M.current=E,y.useEffect(()=>{if(typeof window.matchMedia!="function"||!m)return;const T=(...H)=>M.current(...H),I=window.matchMedia("(prefers-color-scheme: dark)");return I.addListener(T),T(I),()=>{I.removeListener(T)}},[m]),y.useEffect(()=>{if(m){const T=b?.subscribe(V=>{(!V||["light","dark","system"].includes(V))&&j(V||t)})||ov,I=S?.subscribe(V=>{(!V||v.match(V))&&O({light:V})})||ov,H=P?.subscribe(V=>{(!V||v.match(V))&&O({dark:V})})||ov;return()=>{T(),I(),H()}}},[O,j,v,t,u,m,b,S,P]),{...A,mode:z?A.mode:void 0,systemMode:z?A.systemMode:void 0,colorScheme:z?C:void 0,setMode:j,setColorScheme:O}}const V4="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function X4(e){const{themeId:t,theme:n={},modeStorageKey:r=Gm,colorSchemeStorageKey:s=Zm,disableTransitionOnChange:a=!1,defaultColorScheme:l,resolveTheme:u}=e,f={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},h=y.createContext(void 0),v=()=>y.useContext(h)||f,m={},b={};function S(z){const{children:D,theme:C,modeStorageKey:j=r,colorSchemeStorageKey:O=s,disableTransitionOnChange:E=a,storageManager:M,storageWindow:T=typeof window>"u"?void 0:window,documentNode:I=typeof document>"u"?void 0:document,colorSchemeNode:H=typeof document>"u"?void 0:document.documentElement,disableNestedContext:V=!1,disableStyleSheetGeneration:X=!1,defaultMode:N="system",noSsr:Y}=z,q=y.useRef(!1),W=Ym(),ne=y.useContext(h),ee=!!ne&&!V,U=y.useMemo(()=>C||(typeof n=="function"?n():n),[C]),R=U[t],J=R||U,{colorSchemes:L=m,components:Z=b,cssVarPrefix:$}=J,oe=Object.keys(L).filter(B=>!!L[B]).join(","),ae=y.useMemo(()=>oe.split(","),[oe]),be=typeof l=="string"?l:l.light,ie=typeof l=="string"?l:l.dark,He=L[be]&&L[ie]?N:L[J.defaultColorScheme]?.palette?.mode||J.palette?.mode,{mode:ke,setMode:Le,systemMode:ge,lightColorScheme:Je,darkColorScheme:ve,colorScheme:Ge,setColorScheme:At}=N4({supportedColorSchemes:ae,defaultLightColorScheme:be,defaultDarkColorScheme:ie,modeStorageKey:j,colorSchemeStorageKey:O,defaultMode:He,storageManager:M,storageWindow:T,noSsr:Y});let Be=ke,ft=Ge;ee&&(Be=ne.mode,ft=ne.colorScheme);const lt=y.useMemo(()=>{const B=ft||J.defaultColorScheme,_=J.generateThemeVars?.()||J.vars,re={...J,components:Z,colorSchemes:L,cssVarPrefix:$,vars:_};if(typeof re.generateSpacing=="function"&&(re.spacing=re.generateSpacing()),B){const we=L[B];we&&typeof we=="object"&&Object.keys(we).forEach(Pe=>{we[Pe]&&typeof we[Pe]=="object"?re[Pe]={...re[Pe],...we[Pe]}:re[Pe]=we[Pe]})}return u?u(re):re},[J,ft,Z,L,$]),dt=J.colorSchemeSelector;Sr(()=>{if(ft&&H&&dt&&dt!=="media"){const B=dt;let _=dt;if(B==="class"&&(_=".%s"),B==="data"&&(_="[data-%s]"),B?.startsWith("data-")&&!B.includes("%s")&&(_=`[${B}="%s"]`),_.startsWith("."))H.classList.remove(...ae.map(re=>_.substring(1).replace("%s",re))),H.classList.add(_.substring(1).replace("%s",ft));else{const re=_.replace("%s",ft).match(/\[([^\]]+)\]/);if(re){const[we,Pe]=re[1].split("=");Pe||ae.forEach(ye=>{H.removeAttribute(we.replace(ft,ye))}),H.setAttribute(we,Pe?Pe.replace(/"|'/g,""):"")}else H.setAttribute(_,ft)}}},[ft,dt,H,ae]),y.useEffect(()=>{let B;if(E&&q.current&&I){const _=I.createElement("style");_.appendChild(I.createTextNode(V4)),I.head.appendChild(_),window.getComputedStyle(I.body),B=setTimeout(()=>{I.head.removeChild(_)},1)}return()=>{clearTimeout(B)}},[ft,E,I]),y.useEffect(()=>(q.current=!0,()=>{q.current=!1}),[]);const gt=y.useMemo(()=>({allColorSchemes:ae,colorScheme:ft,darkColorScheme:ve,lightColorScheme:Je,mode:Be,setColorScheme:At,setMode:Le,systemMode:ge}),[ae,ft,ve,Je,Be,At,Le,ge,lt.colorSchemeSelector]);let Xe=!0;(X||J.cssVariables===!1||ee&&W?.cssVarPrefix===$)&&(Xe=!1);const kt=p.jsxs(y.Fragment,{children:[p.jsx(Bx,{themeId:R?t:void 0,theme:lt,children:D}),Xe&&p.jsx(ux,{styles:lt.generateStyleSheets?.()||[]})]});return ee?kt:p.jsx(h.Provider,{value:gt,children:kt})}const P=typeof l=="string"?l:l.light,A=typeof l=="string"?l:l.dark;return{CssVarsProvider:S,useColorScheme:v,getInitColorSchemeScript:z=>M4({colorSchemeStorageKey:s,defaultLightColorScheme:P,defaultDarkColorScheme:A,modeStorageKey:r,...z})}}function F4(e=""){function t(...r){if(!r.length)return"";const s=r[0];return typeof s=="string"&&!s.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${s}${t(...r.slice(1))})`:`, ${s}`}return(r,...s)=>`var(--${e?`${e}-`:""}${r}${t(...s)})`}const gb=(e,t,n,r=[])=>{let s=e;t.forEach((a,l)=>{l===t.length-1?Array.isArray(s)?s[Number(a)]=n:s&&typeof s=="object"&&(s[a]=n):s&&typeof s=="object"&&(s[a]||(s[a]=r.includes(a)?[]:{}),s=s[a])})},W4=(e,t,n)=>{function r(s,a=[],l=[]){Object.entries(s).forEach(([u,f])=>{(!n||n&&!n([...a,u]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?r(f,[...a,u],Array.isArray(f)?[...l,u]:l):t([...a,u],f,l))})}r(e)},J4=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function sv(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},s={},a={},l={};return W4(e,(u,f,h)=>{if((typeof f=="string"||typeof f=="number")&&(!r||!r(u,f))){const v=`--${n?`${n}-`:""}${u.join("-")}`,m=J4(u,f);Object.assign(s,{[v]:m}),gb(a,u,`var(${v})`,h),gb(l,u,`var(${v}, ${m})`,h)}},u=>u[0]==="vars"),{css:s,vars:a,varsWithDefaults:l}}function q4(e,t={}){const{getSelector:n=x,disableCssColorScheme:r,colorSchemeSelector:s}=t,{colorSchemes:a={},components:l,defaultColorScheme:u="light",...f}=e,{vars:h,css:v,varsWithDefaults:m}=sv(f,t);let b=m;const S={},{[u]:P,...A}=a;if(Object.entries(A||{}).forEach(([C,j])=>{const{vars:O,css:E,varsWithDefaults:M}=sv(j,t);b=Vn(b,M),S[C]={css:E,vars:O}}),P){const{css:C,vars:j,varsWithDefaults:O}=sv(P,t);b=Vn(b,O),S[u]={css:C,vars:j}}function x(C,j){let O=s;if(s==="class"&&(O=".%s"),s==="data"&&(O="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(O=`[${s}="%s"]`),C){if(O==="media")return e.defaultColorScheme===C?":root":{[`@media (prefers-color-scheme: ${a[C]?.palette?.mode||C})`]:{":root":j}};if(O)return e.defaultColorScheme===C?`:root, ${O.replace("%s",String(C))}`:O.replace("%s",String(C))}return":root"}return{vars:b,generateThemeVars:()=>{let C={...h};return Object.entries(S).forEach(([,{vars:j}])=>{C=Vn(C,j)}),C},generateStyleSheets:()=>{const C=[],j=e.defaultColorScheme||"light";function O(T,I){Object.keys(I).length&&C.push(typeof T=="string"?{[T]:{...I}}:T)}O(n(void 0,{...v}),v);const{[j]:E,...M}=S;if(E){const{css:T}=E,I=a[j]?.palette?.mode,H=!r&&I?{colorScheme:I,...T}:{...T};O(n(j,{...H}),H)}return Object.entries(M).forEach(([T,{css:I}])=>{const H=a[T]?.palette?.mode,V=!r&&H?{colorScheme:H,...I}:{...I};O(n(T,{...V}),V)}),C}}}function U4(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const Y4=Cd(),G4=u4("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Z4(e){return Sx({props:e,name:"MuiStack",defaultTheme:Y4})}function Q4(e,t){const n=y.Children.toArray(e).filter(Boolean);return n.reduce((r,s,a)=>(r.push(s),a({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],_4=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...xr({theme:t},Si({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=Pd(t),s=Object.keys(t.breakpoints.values).reduce((f,h)=>((typeof e.spacing=="object"&&e.spacing[h]!=null||typeof e.direction=="object"&&e.direction[h]!=null)&&(f[h]=!0),f),{}),a=Si({values:e.direction,base:s}),l=Si({values:e.spacing,base:s});typeof a=="object"&&Object.keys(a).forEach((f,h,v)=>{if(!a[f]){const b=h>0?a[v[h-1]]:"column";a[f]=b}}),n=Vn(n,xr({theme:t},l,(f,h)=>e.useFlexGap?{gap:ji(r,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${K4(h?a[h]:e.direction)}`]:ji(r,f)}}))}return n=c3(t.breakpoints,n),n};function $4(e={}){const{createStyledComponent:t=G4,useThemeProps:n=Z4,componentName:r="MuiStack"}=e,s=()=>_e({root:["root"]},f=>Qe(r,f),{}),a=t(_4);return y.forwardRef(function(f,h){const v=n(f),m=zd(v),{component:b="div",direction:S="column",spacing:P=0,divider:A,children:x,className:z,useFlexGap:D=!1,...C}=m,j={direction:S,spacing:P,useFlexGap:D},O=s();return p.jsx(a,{as:b,ownerState:j,ref:h,className:ze(O.root,z),...C,children:A?Q4(x,A):x})})}function Vx(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:vc.white,default:vc.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const eH=Vx();function Xx(){return{text:{primary:vc.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:vc.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const yb=Xx();function Ab(e,t,n,r){const s=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=zi(e.main,s):t==="dark"&&(e.dark=Di(e.main,a)))}function tH(e="light"){return e==="dark"?{main:ua[200],light:ua[50],dark:ua[400]}:{main:ua[700],light:ua[400],dark:ua[800]}}function nH(e="light"){return e==="dark"?{main:ca[200],light:ca[50],dark:ca[400]}:{main:ca[500],light:ca[300],dark:ca[700]}}function rH(e="light"){return e==="dark"?{main:la[500],light:la[300],dark:la[700]}:{main:la[700],light:la[400],dark:la[800]}}function oH(e="light"){return e==="dark"?{main:fa[400],light:fa[300],dark:fa[700]}:{main:fa[700],light:fa[500],dark:fa[900]}}function sH(e="light"){return e==="dark"?{main:da[400],light:da[300],dark:da[700]}:{main:da[800],light:da[500],dark:da[900]}}function iH(e="light"){return e==="dark"?{main:kl[400],light:kl[300],dark:kl[700]}:{main:"#ed6c02",light:kl[500],dark:kl[900]}}function Qm(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...s}=e,a=e.primary||tH(t),l=e.secondary||nH(t),u=e.error||rH(t),f=e.info||oH(t),h=e.success||sH(t),v=e.warning||iH(t);function m(A){return g4(A,yb.text.primary)>=n?yb.text.primary:eH.text.primary}const b=({color:A,name:x,mainShade:z=500,lightShade:D=300,darkShade:C=700})=>{if(A={...A},!A.main&&A[z]&&(A.main=A[z]),!A.hasOwnProperty("main"))throw new Error(hs(11,x?` (${x})`:"",z));if(typeof A.main!="string")throw new Error(hs(12,x?` (${x})`:"",JSON.stringify(A.main)));return Ab(A,"light",D,r),Ab(A,"dark",C,r),A.contrastText||(A.contrastText=m(A.main)),A};let S;return t==="light"?S=Vx():t==="dark"&&(S=Xx()),Vn({common:{...vc},mode:t,primary:b({color:a,name:"primary"}),secondary:b({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:b({color:u,name:"error"}),warning:b({color:v,name:"warning"}),info:b({color:f,name:"info"}),success:b({color:h,name:"success"}),grey:e5,contrastThreshold:n,getContrastText:m,augmentColor:b,tonalOffset:r,...S},s)}function aH(e){const t={};return Object.entries(e).forEach(r=>{const[s,a]=r;typeof a=="object"&&(t[s]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function lH(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function cH(e){return Math.round(e*1e5)/1e5}const Pb={textTransform:"uppercase"},bb='"Roboto", "Helvetica", "Arial", sans-serif';function Fx(e,t){const{fontFamily:n=bb,fontSize:r=14,fontWeightLight:s=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:u=700,htmlFontSize:f=16,allVariants:h,pxToRem:v,...m}=typeof t=="function"?t(e):t,b=r/14,S=v||(x=>`${x/f*b}rem`),P=(x,z,D,C,j)=>({fontFamily:n,fontWeight:x,fontSize:S(z),lineHeight:D,...n===bb?{letterSpacing:`${cH(C/z)}em`}:{},...j,...h}),A={h1:P(s,96,1.167,-1.5),h2:P(s,60,1.2,-.5),h3:P(a,48,1.167,0),h4:P(a,34,1.235,.25),h5:P(a,24,1.334,0),h6:P(l,20,1.6,.15),subtitle1:P(a,16,1.75,.15),subtitle2:P(l,14,1.57,.1),body1:P(a,16,1.5,.15),body2:P(a,14,1.43,.15),button:P(l,14,1.75,.4,Pb),caption:P(a,12,1.66,.4),overline:P(a,12,2.66,1,Pb),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Vn({htmlFontSize:f,pxToRem:S,fontFamily:n,fontSize:r,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:u,...A},m,{clone:!1})}const uH=.2,fH=.14,dH=.12;function sn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${uH})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${fH})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${dH})`].join(",")}const pH=["none",sn(0,2,1,-1,0,1,1,0,0,1,3,0),sn(0,3,1,-2,0,2,2,0,0,1,5,0),sn(0,3,3,-2,0,3,4,0,0,1,8,0),sn(0,2,4,-1,0,4,5,0,0,1,10,0),sn(0,3,5,-1,0,5,8,0,0,1,14,0),sn(0,3,5,-1,0,6,10,0,0,1,18,0),sn(0,4,5,-2,0,7,10,1,0,2,16,1),sn(0,5,5,-3,0,8,10,1,0,3,14,2),sn(0,5,6,-3,0,9,12,1,0,3,16,2),sn(0,6,6,-3,0,10,14,1,0,4,18,3),sn(0,6,7,-4,0,11,15,1,0,4,20,3),sn(0,7,8,-4,0,12,17,2,0,5,22,4),sn(0,7,8,-4,0,13,19,2,0,5,24,4),sn(0,7,9,-4,0,14,21,2,0,5,26,4),sn(0,8,9,-5,0,15,22,2,0,6,28,5),sn(0,8,10,-5,0,16,24,2,0,6,30,5),sn(0,8,11,-5,0,17,26,2,0,6,32,5),sn(0,9,11,-5,0,18,28,2,0,7,34,6),sn(0,9,12,-6,0,19,29,2,0,7,36,6),sn(0,10,13,-6,0,20,31,3,0,8,38,7),sn(0,10,13,-6,0,21,33,3,0,8,40,7),sn(0,10,14,-6,0,22,35,3,0,8,42,7),sn(0,11,14,-7,0,23,36,3,0,9,44,8),sn(0,11,15,-7,0,24,38,3,0,9,46,8)],hH={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},vH={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function wb(e){return`${Math.round(e)}ms`}function mH(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function gH(e){const t={...hH,...e.easing},n={...vH,...e.duration};return{getAutoHeightDuration:mH,create:(s=["all"],a={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:f=0,...h}=a;return(Array.isArray(s)?s:[s]).map(v=>`${v} ${typeof l=="string"?l:wb(l)} ${u} ${typeof f=="string"?f:wb(f)}`).join(",")},...e,easing:t,duration:n}}const yH={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function AH(e){return qo(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Wx(e={}){const t={...e};function n(r){const s=Object.entries(r);for(let a=0;a(!t&&typeof window<"u"&&(t=window),{get(n){if(typeof window>"u")return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return v7;const r=s=>{const a=s.newValue;s.key===e&&n(a)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}});function rm(){}function Mw(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function w1(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function g7(e){return w1(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function y7(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:s=[],modeStorageKey:a=ny,colorSchemeStorageKey:l=ry,storageWindow:c=typeof window>"u"?void 0:window,storageManager:f=m7,noSsr:d=!1}=e,p=s.join(","),m=s.length>1,b=g.useMemo(()=>f?.({key:a,storageWindow:c}),[f,a,c]),w=g.useMemo(()=>f?.({key:`${l}-light`,storageWindow:c}),[f,l,c]),P=g.useMemo(()=>f?.({key:`${l}-dark`,storageWindow:c}),[f,l,c]),[A,x]=g.useState(()=>{const E=b?.get(t)||t,L=w?.get(n)||n,H=P?.get(r)||r;return{mode:E,systemMode:Mw(E),lightColorScheme:L,darkColorScheme:H}}),[D,j]=g.useState(d||!m);g.useEffect(()=>{j(!0)},[]);const C=g7(A),k=g.useCallback(E=>{x(L=>{if(E===L.mode)return L;const H=E??t;return b?.set(H),{...L,mode:H,systemMode:Mw(H)}})},[b,t]),O=g.useCallback(E=>{E?typeof E=="string"?E&&!p.includes(E)?console.error(`\`${E}\` does not exist in \`theme.colorSchemes\`.`):x(L=>{const H={...L};return w1(L,V=>{V==="light"&&(w?.set(E),H.lightColorScheme=E),V==="dark"&&(P?.set(E),H.darkColorScheme=E)}),H}):x(L=>{const H={...L},V=E.light===null?n:E.light,X=E.dark===null?r:E.dark;return V&&(p.includes(V)?(H.lightColorScheme=V,w?.set(V)):console.error(`\`${V}\` does not exist in \`theme.colorSchemes\`.`)),X&&(p.includes(X)?(H.darkColorScheme=X,P?.set(X)):console.error(`\`${X}\` does not exist in \`theme.colorSchemes\`.`)),H}):x(L=>(w?.set(n),P?.set(r),{...L,lightColorScheme:n,darkColorScheme:r}))},[p,w,P,n,r]),T=g.useCallback(E=>{A.mode==="system"&&x(L=>{const H=E?.matches?"dark":"light";return L.systemMode===H?L:{...L,systemMode:H}})},[A.mode]),M=g.useRef(T);return M.current=T,g.useEffect(()=>{if(typeof window.matchMedia!="function"||!m)return;const E=(...H)=>M.current(...H),L=window.matchMedia("(prefers-color-scheme: dark)");return L.addListener(E),E(L),()=>{L.removeListener(E)}},[m]),g.useEffect(()=>{if(m){const E=b?.subscribe(V=>{(!V||["light","dark","system"].includes(V))&&k(V||t)})||rm,L=w?.subscribe(V=>{(!V||p.match(V))&&O({light:V})})||rm,H=P?.subscribe(V=>{(!V||p.match(V))&&O({dark:V})})||rm;return()=>{E(),L(),H()}}},[O,k,p,t,c,m,b,w,P]),{...A,mode:D?A.mode:void 0,systemMode:D?A.systemMode:void 0,colorScheme:D?C:void 0,setMode:k,setColorScheme:O}}const A7="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function b7(e){const{themeId:t,theme:n={},modeStorageKey:r=ny,colorSchemeStorageKey:s=ry,disableTransitionOnChange:a=!1,defaultColorScheme:l,resolveTheme:c}=e,f={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},d=g.createContext(void 0),p=()=>g.useContext(d)||f,m={},b={};function w(D){const{children:j,theme:C,modeStorageKey:k=r,colorSchemeStorageKey:O=s,disableTransitionOnChange:T=a,storageManager:M,storageWindow:E=typeof window>"u"?void 0:window,documentNode:L=typeof document>"u"?void 0:document,colorSchemeNode:H=typeof document>"u"?void 0:document.documentElement,disableNestedContext:V=!1,disableStyleSheetGeneration:X=!1,defaultMode:B="system",noSsr:J}=D,q=g.useRef(!1),F=ty(),_=g.useContext(d),Y=!!_&&!V,U=g.useMemo(()=>C||(typeof n=="function"?n():n),[C]),z=U[t],G=z||U,{colorSchemes:I=m,components:Z=b,cssVarPrefix:$}=G,re=Object.keys(I).filter(N=>!!I[N]).join(","),se=g.useMemo(()=>re.split(","),[re]),ge=typeof l=="string"?l:l.light,ie=typeof l=="string"?l:l.dark,Ae=I[ge]&&I[ie]?B:I[G.defaultColorScheme]?.palette?.mode||G.palette?.mode,{mode:Oe,setMode:Ee,systemMode:me,lightColorScheme:Ne,darkColorScheme:ve,colorScheme:Ge,setColorScheme:Pt}=y7({supportedColorSchemes:se,defaultLightColorScheme:ge,defaultDarkColorScheme:ie,modeStorageKey:k,colorSchemeStorageKey:O,defaultMode:Ae,storageManager:M,storageWindow:E,noSsr:J});let Be=Oe,pt=Ge;Y&&(Be=_.mode,pt=_.colorScheme);const ut=g.useMemo(()=>{const N=pt||G.defaultColorScheme,te=G.generateThemeVars?.()||G.vars,oe={...G,components:Z,colorSchemes:I,cssVarPrefix:$,vars:te};if(typeof oe.generateSpacing=="function"&&(oe.spacing=oe.generateSpacing()),N){const xe=I[N];xe&&typeof xe=="object"&&Object.keys(xe).forEach(we=>{xe[we]&&typeof xe[we]=="object"?oe[we]={...oe[we],...xe[we]}:oe[we]=xe[we]})}return c?c(oe):oe},[G,pt,Z,I,$]),ht=G.colorSchemeSelector;kr(()=>{if(pt&&H&&ht&&ht!=="media"){const N=ht;let te=ht;if(N==="class"&&(te=".%s"),N==="data"&&(te="[data-%s]"),N?.startsWith("data-")&&!N.includes("%s")&&(te=`[${N}="%s"]`),te.startsWith("."))H.classList.remove(...se.map(oe=>te.substring(1).replace("%s",oe))),H.classList.add(te.substring(1).replace("%s",pt));else{const oe=te.replace("%s",pt).match(/\[([^\]]+)\]/);if(oe){const[xe,we]=oe[1].split("=");we||se.forEach(be=>{H.removeAttribute(xe.replace(pt,be))}),H.setAttribute(xe,we?we.replace(/"|'/g,""):"")}else H.setAttribute(te,pt)}}},[pt,ht,H,se]),g.useEffect(()=>{let N;if(T&&q.current&&L){const te=L.createElement("style");te.appendChild(L.createTextNode(A7)),L.head.appendChild(te),window.getComputedStyle(L.body),N=setTimeout(()=>{L.head.removeChild(te)},1)}return()=>{clearTimeout(N)}},[pt,T,L]),g.useEffect(()=>(q.current=!0,()=>{q.current=!1}),[]);const At=g.useMemo(()=>({allColorSchemes:se,colorScheme:pt,darkColorScheme:ve,lightColorScheme:Ne,mode:Be,setColorScheme:Pt,setMode:Ee,systemMode:me}),[se,pt,ve,Ne,Be,Pt,Ee,me,ut.colorSchemeSelector]);let Fe=!0;(X||G.cssVariables===!1||Y&&F?.cssVarPrefix===$)&&(Fe=!1);const Tt=v.jsxs(g.Fragment,{children:[v.jsx(P1,{themeId:z?t:void 0,theme:ut,children:j}),Fe&&v.jsx(Y0,{styles:ut.generateStyleSheets?.()||[]})]});return Y?Tt:v.jsx(d.Provider,{value:At,children:Tt})}const P=typeof l=="string"?l:l.light,A=typeof l=="string"?l:l.dark;return{CssVarsProvider:w,useColorScheme:p,getInitColorSchemeScript:D=>h7({colorSchemeStorageKey:s,defaultLightColorScheme:P,defaultDarkColorScheme:A,modeStorageKey:r,...D})}}function P7(e=""){function t(...r){if(!r.length)return"";const s=r[0];return typeof s=="string"&&!s.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${s}${t(...r.slice(1))})`:`, ${s}`}return(r,...s)=>`var(--${e?`${e}-`:""}${r}${t(...s)})`}const Lw=(e,t,n,r=[])=>{let s=e;t.forEach((a,l)=>{l===t.length-1?Array.isArray(s)?s[Number(a)]=n:s&&typeof s=="object"&&(s[a]=n):s&&typeof s=="object"&&(s[a]||(s[a]=r.includes(a)?[]:{}),s=s[a])})},w7=(e,t,n)=>{function r(s,a=[],l=[]){Object.entries(s).forEach(([c,f])=>{(!n||n&&!n([...a,c]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?r(f,[...a,c],Array.isArray(f)?[...l,c]:l):t([...a,c],f,l))})}r(e)},x7=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function om(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},s={},a={},l={};return w7(e,(c,f,d)=>{if((typeof f=="string"||typeof f=="number")&&(!r||!r(c,f))){const p=`--${n?`${n}-`:""}${c.join("-")}`,m=x7(c,f);Object.assign(s,{[p]:m}),Lw(a,c,`var(${p})`,d),Lw(l,c,`var(${p}, ${m})`,d)}},c=>c[0]==="vars"),{css:s,vars:a,varsWithDefaults:l}}function S7(e,t={}){const{getSelector:n=x,disableCssColorScheme:r,colorSchemeSelector:s}=t,{colorSchemes:a={},components:l,defaultColorScheme:c="light",...f}=e,{vars:d,css:p,varsWithDefaults:m}=om(f,t);let b=m;const w={},{[c]:P,...A}=a;if(Object.entries(A||{}).forEach(([C,k])=>{const{vars:O,css:T,varsWithDefaults:M}=om(k,t);b=Jn(b,M),w[C]={css:T,vars:O}}),P){const{css:C,vars:k,varsWithDefaults:O}=om(P,t);b=Jn(b,O),w[c]={css:C,vars:k}}function x(C,k){let O=s;if(s==="class"&&(O=".%s"),s==="data"&&(O="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(O=`[${s}="%s"]`),C){if(O==="media")return e.defaultColorScheme===C?":root":{[`@media (prefers-color-scheme: ${a[C]?.palette?.mode||C})`]:{":root":k}};if(O)return e.defaultColorScheme===C?`:root, ${O.replace("%s",String(C))}`:O.replace("%s",String(C))}return":root"}return{vars:b,generateThemeVars:()=>{let C={...d};return Object.entries(w).forEach(([,{vars:k}])=>{C=Jn(C,k)}),C},generateStyleSheets:()=>{const C=[],k=e.defaultColorScheme||"light";function O(E,L){Object.keys(L).length&&C.push(typeof E=="string"?{[E]:{...L}}:E)}O(n(void 0,{...p}),p);const{[k]:T,...M}=w;if(T){const{css:E}=T,L=a[k]?.palette?.mode,H=!r&&L?{colorScheme:L,...E}:{...E};O(n(k,{...H}),H)}return Object.entries(M).forEach(([E,{css:L}])=>{const H=a[E]?.palette?.mode,V=!r&&H?{colorScheme:H,...L}:{...L};O(n(E,{...V}),V)}),C}}}function C7(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const H7=yp(),j7=WH("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function k7(e){return a1({props:e,name:"MuiStack",defaultTheme:H7})}function D7(e,t){const n=g.Children.toArray(e).filter(Boolean);return n.reduce((r,s,a)=>(r.push(s),a({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],z7=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...jr({theme:t},Ui({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=dp(t),s=Object.keys(t.breakpoints.values).reduce((f,d)=>((typeof e.spacing=="object"&&e.spacing[d]!=null||typeof e.direction=="object"&&e.direction[d]!=null)&&(f[d]=!0),f),{}),a=Ui({values:e.direction,base:s}),l=Ui({values:e.spacing,base:s});typeof a=="object"&&Object.keys(a).forEach((f,d,p)=>{if(!a[f]){const b=d>0?a[p[d-1]]:"column";a[f]=b}}),n=Jn(n,jr({theme:t},l,(f,d)=>e.useFlexGap?{gap:Zi(r,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${O7(d?a[d]:e.direction)}`]:Zi(r,f)}}))}return n=FC(t.breakpoints,n),n};function E7(e={}){const{createStyledComponent:t=j7,useThemeProps:n=k7,componentName:r="MuiStack"}=e,s=()=>_e({root:["root"]},f=>Qe(r,f),{}),a=t(z7);return g.forwardRef(function(f,d){const p=n(f),m=Pp(p),{component:b="div",direction:w="column",spacing:P=0,divider:A,children:x,className:D,useFlexGap:j=!1,...C}=m,k={direction:w,spacing:P,useFlexGap:j},O=s();return v.jsx(a,{as:b,ownerState:k,ref:d,className:De(O.root,D),...C,children:A?D7(x,A):x})})}function x1(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Yc.white,default:Yc.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const R7=x1();function S1(){return{text:{primary:Yc.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Yc.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Iw=S1();function Bw(e,t,n,r){const s=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Ki(e.main,s):t==="dark"&&(e.dark=Qi(e.main,a)))}function T7(e="light"){return e==="dark"?{main:La[200],light:La[50],dark:La[400]}:{main:La[700],light:La[400],dark:La[800]}}function M7(e="light"){return e==="dark"?{main:Ma[200],light:Ma[50],dark:Ma[400]}:{main:Ma[500],light:Ma[300],dark:Ma[700]}}function L7(e="light"){return e==="dark"?{main:Ta[500],light:Ta[300],dark:Ta[700]}:{main:Ta[700],light:Ta[400],dark:Ta[800]}}function I7(e="light"){return e==="dark"?{main:Ia[400],light:Ia[300],dark:Ia[700]}:{main:Ia[700],light:Ia[500],dark:Ia[900]}}function B7(e="light"){return e==="dark"?{main:Ba[400],light:Ba[300],dark:Ba[700]}:{main:Ba[800],light:Ba[500],dark:Ba[900]}}function N7(e="light"){return e==="dark"?{main:lc[400],light:lc[300],dark:lc[700]}:{main:"#ed6c02",light:lc[500],dark:lc[900]}}function oy(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...s}=e,a=e.primary||T7(t),l=e.secondary||M7(t),c=e.error||L7(t),f=e.info||I7(t),d=e.success||B7(t),p=e.warning||N7(t);function m(A){return QH(A,Iw.text.primary)>=n?Iw.text.primary:R7.text.primary}const b=({color:A,name:x,mainShade:D=500,lightShade:j=300,darkShade:C=700})=>{if(A={...A},!A.main&&A[D]&&(A.main=A[D]),!A.hasOwnProperty("main"))throw new Error(ks(11,x?` (${x})`:"",D));if(typeof A.main!="string")throw new Error(ks(12,x?` (${x})`:"",JSON.stringify(A.main)));return Bw(A,"light",j,r),Bw(A,"dark",C,r),A.contrastText||(A.contrastText=m(A.main)),A};let w;return t==="light"?w=x1():t==="dark"&&(w=S1()),Jn({common:{...Yc},mode:t,primary:b({color:a,name:"primary"}),secondary:b({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:b({color:c,name:"error"}),warning:b({color:p,name:"warning"}),info:b({color:f,name:"info"}),success:b({color:d,name:"success"}),grey:R4,contrastThreshold:n,getContrastText:m,augmentColor:b,tonalOffset:r,...w},s)}function V7(e){const t={};return Object.entries(e).forEach(r=>{const[s,a]=r;typeof a=="object"&&(t[s]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function X7(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function F7(e){return Math.round(e*1e5)/1e5}const Nw={textTransform:"uppercase"},Vw='"Roboto", "Helvetica", "Arial", sans-serif';function C1(e,t){const{fontFamily:n=Vw,fontSize:r=14,fontWeightLight:s=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:c=700,htmlFontSize:f=16,allVariants:d,pxToRem:p,...m}=typeof t=="function"?t(e):t,b=r/14,w=p||(x=>`${x/f*b}rem`),P=(x,D,j,C,k)=>({fontFamily:n,fontWeight:x,fontSize:w(D),lineHeight:j,...n===Vw?{letterSpacing:`${F7(C/D)}em`}:{},...k,...d}),A={h1:P(s,96,1.167,-1.5),h2:P(s,60,1.2,-.5),h3:P(a,48,1.167,0),h4:P(a,34,1.235,.25),h5:P(a,24,1.334,0),h6:P(l,20,1.6,.15),subtitle1:P(a,16,1.75,.15),subtitle2:P(l,14,1.57,.1),body1:P(a,16,1.5,.15),body2:P(a,14,1.43,.15),button:P(l,14,1.75,.4,Nw),caption:P(a,12,1.66,.4),overline:P(a,12,2.66,1,Nw),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Jn({htmlFontSize:f,pxToRem:w,fontFamily:n,fontSize:r,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:c,...A},m,{clone:!1})}const W7=.2,J7=.14,q7=.12;function cn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${W7})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${J7})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${q7})`].join(",")}const U7=["none",cn(0,2,1,-1,0,1,1,0,0,1,3,0),cn(0,3,1,-2,0,2,2,0,0,1,5,0),cn(0,3,3,-2,0,3,4,0,0,1,8,0),cn(0,2,4,-1,0,4,5,0,0,1,10,0),cn(0,3,5,-1,0,5,8,0,0,1,14,0),cn(0,3,5,-1,0,6,10,0,0,1,18,0),cn(0,4,5,-2,0,7,10,1,0,2,16,1),cn(0,5,5,-3,0,8,10,1,0,3,14,2),cn(0,5,6,-3,0,9,12,1,0,3,16,2),cn(0,6,6,-3,0,10,14,1,0,4,18,3),cn(0,6,7,-4,0,11,15,1,0,4,20,3),cn(0,7,8,-4,0,12,17,2,0,5,22,4),cn(0,7,8,-4,0,13,19,2,0,5,24,4),cn(0,7,9,-4,0,14,21,2,0,5,26,4),cn(0,8,9,-5,0,15,22,2,0,6,28,5),cn(0,8,10,-5,0,16,24,2,0,6,30,5),cn(0,8,11,-5,0,17,26,2,0,6,32,5),cn(0,9,11,-5,0,18,28,2,0,7,34,6),cn(0,9,12,-6,0,19,29,2,0,7,36,6),cn(0,10,13,-6,0,20,31,3,0,8,38,7),cn(0,10,13,-6,0,21,33,3,0,8,40,7),cn(0,10,14,-6,0,22,35,3,0,8,42,7),cn(0,11,14,-7,0,23,36,3,0,9,44,8),cn(0,11,15,-7,0,24,38,3,0,9,46,8)],Y7={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},G7={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Xw(e){return`${Math.round(e)}ms`}function Z7(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Q7(e){const t={...Y7,...e.easing},n={...G7,...e.duration};return{getAutoHeightDuration:Z7,create:(s=["all"],a={})=>{const{duration:l=n.standard,easing:c=t.easeInOut,delay:f=0,...d}=a;return(Array.isArray(s)?s:[s]).map(p=>`${p} ${typeof l=="string"?l:Xw(l)} ${c} ${typeof f=="string"?f:Xw(f)}`).join(",")},...e,easing:t,duration:n}}const K7={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function _7(e){return es(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function H1(e={}){const t={...e};function n(r){const s=Object.entries(r);for(let a=0;aVn(S,P),b),b.unstable_sxConfig={...Lc,...h?.unstable_sxConfig},b.unstable_sx=function(P){return Gs({sx:P,theme:this})},b.toRuntimeSource=Wx,b}function qv(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const PH=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=qv(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Jx(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function qx(e){return e==="dark"?PH:[]}function bH(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...s}=e,a=Qm(t);return{palette:a,opacity:{...Jx(a.mode),...n},overlays:r||qx(a.mode),...s}}function wH(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const xH=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],SH=e=>(t,n)=>{const r=e.rootSelector||":root",s=e.colorSchemeSelector;let a=s;if(s==="class"&&(a=".%s"),s==="data"&&(a="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(a=`[${s}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const l={};return xH(e.cssVarPrefix).forEach(u=>{l[u]=n[u],delete n[u]}),a==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:l}}:a?{[a.replace("%s",t)]:l,[`${r}, ${a.replace("%s",t)}`]:n}:{[r]:{...n,...l}}}if(a&&a!=="media")return`${r}, ${a.replace("%s",String(t))}`}else if(t){if(a==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace("%s",String(t))}return r};function HH(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function me(e,t,n){!e[t]&&n&&(e[t]=n)}function Zl(e){return typeof e!="string"||!e.startsWith("hsl")?e:jx(e)}function cs(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Gl(Zl(e[t])))}function CH(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Fo=e=>{try{return e()}catch{}},jH=(e="mui")=>F4(e);function iv(e,t,n,r){if(!t)return;t=t===!0?{}:t;const s=r==="dark"?"dark":"light";if(!n){e[r]=bH({...t,palette:{mode:s,...t?.palette}});return}const{palette:a,...l}=Jv({...n,palette:{mode:s,...t?.palette}});return e[r]={...t,palette:a,opacity:{...Jx(s),...t?.opacity},overlays:t?.overlays||qx(s)},l}function DH(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:s=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:l=wH,colorSchemeSelector:u=n.light&&n.dark?"media":void 0,rootSelector:f=":root",...h}=e,v=Object.keys(n)[0],m=r||(n.light&&v!=="light"?"light":v),b=jH(a),{[m]:S,light:P,dark:A,...x}=n,z={...x};let D=S;if((m==="dark"&&!("dark"in n)||m==="light"&&!("light"in n))&&(D=!0),!D)throw new Error(hs(21,m));const C=iv(z,D,h,m);P&&!z.light&&iv(z,P,void 0,"light"),A&&!z.dark&&iv(z,A,void 0,"dark");let j={defaultColorScheme:m,...C,cssVarPrefix:a,colorSchemeSelector:u,rootSelector:f,getCssVar:b,colorSchemes:z,font:{...aH(C.typography),...C.font},spacing:CH(h.spacing)};Object.keys(j.colorSchemes).forEach(I=>{const H=j.colorSchemes[I].palette,V=X=>{const N=X.split("-"),Y=N[1],q=N[2];return b(X,H[Y][q])};if(H.mode==="light"&&(me(H.common,"background","#fff"),me(H.common,"onBackground","#000")),H.mode==="dark"&&(me(H.common,"background","#000"),me(H.common,"onBackground","#fff")),HH(H,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),H.mode==="light"){me(H.Alert,"errorColor",Gt(H.error.light,.6)),me(H.Alert,"infoColor",Gt(H.info.light,.6)),me(H.Alert,"successColor",Gt(H.success.light,.6)),me(H.Alert,"warningColor",Gt(H.warning.light,.6)),me(H.Alert,"errorFilledBg",V("palette-error-main")),me(H.Alert,"infoFilledBg",V("palette-info-main")),me(H.Alert,"successFilledBg",V("palette-success-main")),me(H.Alert,"warningFilledBg",V("palette-warning-main")),me(H.Alert,"errorFilledColor",Fo(()=>H.getContrastText(H.error.main))),me(H.Alert,"infoFilledColor",Fo(()=>H.getContrastText(H.info.main))),me(H.Alert,"successFilledColor",Fo(()=>H.getContrastText(H.success.main))),me(H.Alert,"warningFilledColor",Fo(()=>H.getContrastText(H.warning.main))),me(H.Alert,"errorStandardBg",Zt(H.error.light,.9)),me(H.Alert,"infoStandardBg",Zt(H.info.light,.9)),me(H.Alert,"successStandardBg",Zt(H.success.light,.9)),me(H.Alert,"warningStandardBg",Zt(H.warning.light,.9)),me(H.Alert,"errorIconColor",V("palette-error-main")),me(H.Alert,"infoIconColor",V("palette-info-main")),me(H.Alert,"successIconColor",V("palette-success-main")),me(H.Alert,"warningIconColor",V("palette-warning-main")),me(H.AppBar,"defaultBg",V("palette-grey-100")),me(H.Avatar,"defaultBg",V("palette-grey-400")),me(H.Button,"inheritContainedBg",V("palette-grey-300")),me(H.Button,"inheritContainedHoverBg",V("palette-grey-A100")),me(H.Chip,"defaultBorder",V("palette-grey-400")),me(H.Chip,"defaultAvatarColor",V("palette-grey-700")),me(H.Chip,"defaultIconColor",V("palette-grey-700")),me(H.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),me(H.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),me(H.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),me(H.LinearProgress,"primaryBg",Zt(H.primary.main,.62)),me(H.LinearProgress,"secondaryBg",Zt(H.secondary.main,.62)),me(H.LinearProgress,"errorBg",Zt(H.error.main,.62)),me(H.LinearProgress,"infoBg",Zt(H.info.main,.62)),me(H.LinearProgress,"successBg",Zt(H.success.main,.62)),me(H.LinearProgress,"warningBg",Zt(H.warning.main,.62)),me(H.Skeleton,"bg",`rgba(${V("palette-text-primaryChannel")} / 0.11)`),me(H.Slider,"primaryTrack",Zt(H.primary.main,.62)),me(H.Slider,"secondaryTrack",Zt(H.secondary.main,.62)),me(H.Slider,"errorTrack",Zt(H.error.main,.62)),me(H.Slider,"infoTrack",Zt(H.info.main,.62)),me(H.Slider,"successTrack",Zt(H.success.main,.62)),me(H.Slider,"warningTrack",Zt(H.warning.main,.62));const X=ff(H.background.default,.8);me(H.SnackbarContent,"bg",X),me(H.SnackbarContent,"color",Fo(()=>H.getContrastText(X))),me(H.SpeedDialAction,"fabHoverBg",ff(H.background.paper,.15)),me(H.StepConnector,"border",V("palette-grey-400")),me(H.StepContent,"border",V("palette-grey-400")),me(H.Switch,"defaultColor",V("palette-common-white")),me(H.Switch,"defaultDisabledColor",V("palette-grey-100")),me(H.Switch,"primaryDisabledColor",Zt(H.primary.main,.62)),me(H.Switch,"secondaryDisabledColor",Zt(H.secondary.main,.62)),me(H.Switch,"errorDisabledColor",Zt(H.error.main,.62)),me(H.Switch,"infoDisabledColor",Zt(H.info.main,.62)),me(H.Switch,"successDisabledColor",Zt(H.success.main,.62)),me(H.Switch,"warningDisabledColor",Zt(H.warning.main,.62)),me(H.TableCell,"border",Zt(uf(H.divider,1),.88)),me(H.Tooltip,"bg",uf(H.grey[700],.92))}if(H.mode==="dark"){me(H.Alert,"errorColor",Zt(H.error.light,.6)),me(H.Alert,"infoColor",Zt(H.info.light,.6)),me(H.Alert,"successColor",Zt(H.success.light,.6)),me(H.Alert,"warningColor",Zt(H.warning.light,.6)),me(H.Alert,"errorFilledBg",V("palette-error-dark")),me(H.Alert,"infoFilledBg",V("palette-info-dark")),me(H.Alert,"successFilledBg",V("palette-success-dark")),me(H.Alert,"warningFilledBg",V("palette-warning-dark")),me(H.Alert,"errorFilledColor",Fo(()=>H.getContrastText(H.error.dark))),me(H.Alert,"infoFilledColor",Fo(()=>H.getContrastText(H.info.dark))),me(H.Alert,"successFilledColor",Fo(()=>H.getContrastText(H.success.dark))),me(H.Alert,"warningFilledColor",Fo(()=>H.getContrastText(H.warning.dark))),me(H.Alert,"errorStandardBg",Gt(H.error.light,.9)),me(H.Alert,"infoStandardBg",Gt(H.info.light,.9)),me(H.Alert,"successStandardBg",Gt(H.success.light,.9)),me(H.Alert,"warningStandardBg",Gt(H.warning.light,.9)),me(H.Alert,"errorIconColor",V("palette-error-main")),me(H.Alert,"infoIconColor",V("palette-info-main")),me(H.Alert,"successIconColor",V("palette-success-main")),me(H.Alert,"warningIconColor",V("palette-warning-main")),me(H.AppBar,"defaultBg",V("palette-grey-900")),me(H.AppBar,"darkBg",V("palette-background-paper")),me(H.AppBar,"darkColor",V("palette-text-primary")),me(H.Avatar,"defaultBg",V("palette-grey-600")),me(H.Button,"inheritContainedBg",V("palette-grey-800")),me(H.Button,"inheritContainedHoverBg",V("palette-grey-700")),me(H.Chip,"defaultBorder",V("palette-grey-700")),me(H.Chip,"defaultAvatarColor",V("palette-grey-300")),me(H.Chip,"defaultIconColor",V("palette-grey-300")),me(H.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),me(H.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),me(H.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),me(H.LinearProgress,"primaryBg",Gt(H.primary.main,.5)),me(H.LinearProgress,"secondaryBg",Gt(H.secondary.main,.5)),me(H.LinearProgress,"errorBg",Gt(H.error.main,.5)),me(H.LinearProgress,"infoBg",Gt(H.info.main,.5)),me(H.LinearProgress,"successBg",Gt(H.success.main,.5)),me(H.LinearProgress,"warningBg",Gt(H.warning.main,.5)),me(H.Skeleton,"bg",`rgba(${V("palette-text-primaryChannel")} / 0.13)`),me(H.Slider,"primaryTrack",Gt(H.primary.main,.5)),me(H.Slider,"secondaryTrack",Gt(H.secondary.main,.5)),me(H.Slider,"errorTrack",Gt(H.error.main,.5)),me(H.Slider,"infoTrack",Gt(H.info.main,.5)),me(H.Slider,"successTrack",Gt(H.success.main,.5)),me(H.Slider,"warningTrack",Gt(H.warning.main,.5));const X=ff(H.background.default,.98);me(H.SnackbarContent,"bg",X),me(H.SnackbarContent,"color",Fo(()=>H.getContrastText(X))),me(H.SpeedDialAction,"fabHoverBg",ff(H.background.paper,.15)),me(H.StepConnector,"border",V("palette-grey-600")),me(H.StepContent,"border",V("palette-grey-600")),me(H.Switch,"defaultColor",V("palette-grey-300")),me(H.Switch,"defaultDisabledColor",V("palette-grey-600")),me(H.Switch,"primaryDisabledColor",Gt(H.primary.main,.55)),me(H.Switch,"secondaryDisabledColor",Gt(H.secondary.main,.55)),me(H.Switch,"errorDisabledColor",Gt(H.error.main,.55)),me(H.Switch,"infoDisabledColor",Gt(H.info.main,.55)),me(H.Switch,"successDisabledColor",Gt(H.success.main,.55)),me(H.Switch,"warningDisabledColor",Gt(H.warning.main,.55)),me(H.TableCell,"border",Gt(uf(H.divider,1),.68)),me(H.Tooltip,"bg",uf(H.grey[700],.92))}cs(H.background,"default"),cs(H.background,"paper"),cs(H.common,"background"),cs(H.common,"onBackground"),cs(H,"divider"),Object.keys(H).forEach(X=>{const N=H[X];X!=="tonalOffset"&&N&&typeof N=="object"&&(N.main&&me(H[X],"mainChannel",Gl(Zl(N.main))),N.light&&me(H[X],"lightChannel",Gl(Zl(N.light))),N.dark&&me(H[X],"darkChannel",Gl(Zl(N.dark))),N.contrastText&&me(H[X],"contrastTextChannel",Gl(Zl(N.contrastText))),X==="text"&&(cs(H[X],"primary"),cs(H[X],"secondary")),X==="action"&&(N.active&&cs(H[X],"active"),N.selected&&cs(H[X],"selected")))})}),j=t.reduce((I,H)=>Vn(I,H),j);const O={prefix:a,disableCssColorScheme:s,shouldSkipGeneratingVar:l,getSelector:SH(j)},{vars:E,generateThemeVars:M,generateStyleSheets:T}=q4(j,O);return j.vars=E,Object.entries(j.colorSchemes[j.defaultColorScheme]).forEach(([I,H])=>{j[I]=H}),j.generateThemeVars=M,j.generateStyleSheets=T,j.generateSpacing=function(){return mx(h.spacing,Pd(this))},j.getColorSchemeSelector=U4(u),j.spacing=j.generateSpacing(),j.shouldSkipGeneratingVar=l,j.unstable_sxConfig={...Lc,...h?.unstable_sxConfig},j.unstable_sx=function(H){return Gs({sx:H,theme:this})},j.toRuntimeSource=Wx,j}function xb(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Qm({...n===!0?{}:n.palette,mode:t})})}function Bc(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:s=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...l}=e,u=a||"light",f=s?.[u],h={...s,...n?{[u]:{...typeof f!="boolean"&&f,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Jv(e,...t);let v=n;"palette"in e||h[u]&&(h[u]!==!0?v=h[u].palette:u==="dark"&&(v={mode:"dark"}));const m=Jv({...e,palette:v},...t);return m.defaultColorScheme=u,m.colorSchemes=h,m.palette.mode==="light"&&(m.colorSchemes.light={...h.light!==!0&&h.light,palette:m.palette},xb(m,"dark",h.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...h.dark!==!0&&h.dark,palette:m.palette},xb(m,"light",h.light)),m}return!n&&!("light"in h)&&u==="light"&&(h.light=!0),DH({...l,colorSchemes:h,defaultColorScheme:u,...typeof r!="boolean"&&r},...t)}const Rd=Bc();function Fr(){const e=Dd(Rd);return e[no]||e}function zH({props:e,name:t}){return Sx({props:e,name:t,defaultTheme:Rd,themeId:no})}function Ux(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Xn=e=>Ux(e)&&e!=="classes",fe=wx({themeId:no,defaultTheme:Rd,rootShouldForwardProp:Xn});function OH({theme:e,...t}){const n=no in e?e[no]:void 0;return p.jsx(Bx,{...t,themeId:n?no:void 0,theme:n||e})}const df={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:kH}=X4({themeId:no,theme:()=>Bc({cssVariables:!0}),colorSchemeStorageKey:df.colorSchemeStorageKey,modeStorageKey:df.modeStorageKey,defaultColorScheme:{light:df.defaultLightColorScheme,dark:df.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:Fx(e.palette,e.typography)};return t.unstable_sx=function(r){return Gs({sx:r,theme:this})},t}}),RH=kH;function EH({theme:e,...t}){const n=y.useMemo(()=>{if(typeof e=="function")return e;const r=no in e?e[no]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return n?p.jsx(OH,{theme:n,...t}):p.jsx(RH,{theme:e,...t})}function TH(e){return p.jsx(gx,{...e,defaultTheme:Rd,themeId:no})}function Km(e){return function(n){return p.jsx(TH,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function MH(){return zd}const tt=E4;function nt(e){return k4(e)}function LH(e){return Qe("MuiSvgIcon",e)}Ke("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const IH=e=>{const{color:t,fontSize:n,classes:r}=e,s={root:["root",t!=="inherit"&&`color${pe(t)}`,`fontSize${pe(n)}`]};return _e(s,LH,r)},BH=fe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${pe(n.color)}`],t[`fontSize${pe(n.fontSize)}`]]}})(tt(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),$f=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiSvgIcon"}),{children:s,className:a,color:l="inherit",component:u="svg",fontSize:f="medium",htmlColor:h,inheritViewBox:v=!1,titleAccess:m,viewBox:b="0 0 24 24",...S}=r,P=y.isValidElement(s)&&s.type==="svg",A={...r,color:l,component:u,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:v,viewBox:b,hasSvgAsChild:P},x={};v||(x.viewBox=b);const z=IH(A);return p.jsxs(BH,{as:u,className:ze(z.root,a),focusable:"false",color:h,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n,...x,...S,...P&&s.props,ownerState:A,children:[P?s.props.children:s,m?p.jsx("title",{children:m}):null]})});$f.muiName="SvgIcon";function Pt(e,t){function n(r,s){return p.jsx($f,{"data-testid":`${t}Icon`,ref:s,...r,children:e})}return n.muiName=$f.muiName,y.memo(y.forwardRef(n))}function _m(e,t){if(!e)return t;if(typeof e=="function"||typeof t=="function")return s=>{const a=typeof t=="function"?t(s):t,l=typeof e=="function"?e({...s,...a}):e,u=ze(s?.className,a?.className,l?.className);return{...a,...l,...!!u&&{className:u},...a?.style&&l?.style&&{style:{...a.style,...l.style}},...a?.sx&&l?.sx&&{sx:[...Array.isArray(a.sx)?a.sx:[a.sx],...Array.isArray(l.sx)?l.sx:[l.sx]]}}};const n=t,r=ze(n?.className,e?.className);return{...t,...e,...!!r&&{className:r},...n?.style&&e?.style&&{style:{...n.style,...e.style}},...n?.sx&&e?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function $m(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Uv(e,t){return Uv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Uv(e,t)}function Yx(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Uv(e,t)}var av={exports:{}},mr={},lv={exports:{}},cv={};var Sb;function NH(){return Sb||(Sb=1,(function(e){function t(ee,U){var R=ee.length;ee.push(U);e:for(;0>>1,L=ee[J];if(0>>1;Js(oe,R))aes(be,oe)?(ee[J]=be,ee[ae]=R,J=ae):(ee[J]=oe,ee[$]=R,J=$);else if(aes(be,R))ee[J]=be,ee[ae]=R,J=ae;else break e}}return U}function s(ee,U){var R=ee.sortIndex-U.sortIndex;return R!==0?R:ee.id-U.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var f=[],h=[],v=1,m=null,b=3,S=!1,P=!1,A=!1,x=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(ee){for(var U=n(h);U!==null;){if(U.callback===null)r(h);else if(U.startTime<=ee)r(h),U.sortIndex=U.expirationTime,t(f,U);else break;U=n(h)}}function j(ee){if(A=!1,C(ee),!P)if(n(f)!==null)P=!0,W(O);else{var U=n(h);U!==null&&ne(j,U.startTime-ee)}}function O(ee,U){P=!1,A&&(A=!1,z(T),T=-1),S=!0;var R=b;try{for(C(U),m=n(f);m!==null&&(!(m.expirationTime>U)||ee&&!V());){var J=m.callback;if(typeof J=="function"){m.callback=null,b=m.priorityLevel;var L=J(m.expirationTime<=U);U=e.unstable_now(),typeof L=="function"?m.callback=L:m===n(f)&&r(f),C(U)}else r(f);m=n(f)}if(m!==null)var Z=!0;else{var $=n(h);$!==null&&ne(j,$.startTime-U),Z=!1}return Z}finally{m=null,b=R,S=!1}}var E=!1,M=null,T=-1,I=5,H=-1;function V(){return!(e.unstable_now()-Hee||125J?(ee.sortIndex=R,t(h,ee),n(f)===null&&ee===n(h)&&(A?(z(T),T=-1):A=!0,ne(j,R-J))):(ee.sortIndex=L,t(f,ee),P||S||(P=!0,W(O))),ee},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(ee){var U=b;return function(){var R=b;b=U;try{return ee.apply(this,arguments)}finally{b=R}}}})(cv)),cv}var Hb;function VH(){return Hb||(Hb=1,lv.exports=NH()),lv.exports}var Cb;function XH(){if(Cb)return mr;Cb=1;var e=Em(),t=VH();function n(o){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+o,c=1;c"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,v={},m={};function b(o){return f.call(m,o)?!0:f.call(v,o)?!1:h.test(o)?m[o]=!0:(v[o]=!0,!1)}function S(o,i,c,d){if(c!==null&&c.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return d?!1:c!==null?!c.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function P(o,i,c,d){if(i===null||typeof i>"u"||S(o,i,c,d))return!0;if(d)return!1;if(c!==null)switch(c.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function A(o,i,c,d,g,w,k){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=d,this.attributeNamespace=g,this.mustUseProperty=c,this.propertyName=o,this.type=i,this.sanitizeURL=w,this.removeEmptyString=k}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){x[o]=new A(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var i=o[0];x[i]=new A(i,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){x[o]=new A(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){x[o]=new A(o,2,!1,o,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(o){x[o]=new A(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){x[o]=new A(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){x[o]=new A(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){x[o]=new A(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){x[o]=new A(o,5,!1,o.toLowerCase(),null,!1,!1)});var z=/[\-:]([a-z])/g;function D(o){return o[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(o){var i=o.replace(z,D);x[i]=new A(i,1,!1,o,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var i=o.replace(z,D);x[i]=new A(i,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var i=o.replace(z,D);x[i]=new A(i,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){x[o]=new A(o,1,!1,o.toLowerCase(),null,!1,!1)}),x.xlinkHref=new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){x[o]=new A(o,1,!1,o.toLowerCase(),null,!0,!0)});function C(o,i,c,d){var g=x.hasOwnProperty(i)?x[i]:null;(g!==null?g.type!==0:d||!(2F||g[k]!==w[F]){var K=` -`+g[k].replace(" at new "," at ");return o.displayName&&K.includes("")&&(K=K.replace("",o.displayName)),K}while(1<=k&&0<=F);break}}}finally{Z=!1,Error.prepareStackTrace=c}return(o=o?o.displayName||o.name:"")?L(o):""}function oe(o){switch(o.tag){case 5:return L(o.type);case 16:return L("Lazy");case 13:return L("Suspense");case 19:return L("SuspenseList");case 0:case 2:case 15:return o=$(o.type,!1),o;case 11:return o=$(o.type.render,!1),o;case 1:return o=$(o.type,!0),o;default:return""}}function ae(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case M:return"Fragment";case E:return"Portal";case I:return"Profiler";case T:return"StrictMode";case N:return"Suspense";case Y:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case V:return(o.displayName||"Context")+".Consumer";case H:return(o._context.displayName||"Context")+".Provider";case X:var i=o.render;return o=o.displayName,o||(o=i.displayName||i.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case q:return i=o.displayName||null,i!==null?i:ae(o.type)||"Memo";case W:i=o._payload,o=o._init;try{return ae(o(i))}catch{}}return null}function be(o){var i=o.type;switch(o.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=i.render,o=o.displayName||o.name||"",i.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ae(i);case 8:return i===T?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function ie(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function He(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function ke(o){var i=He(o)?"checked":"value",c=Object.getOwnPropertyDescriptor(o.constructor.prototype,i),d=""+o[i];if(!o.hasOwnProperty(i)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var g=c.get,w=c.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return g.call(this)},set:function(k){d=""+k,w.call(this,k)}}),Object.defineProperty(o,i,{enumerable:c.enumerable}),{getValue:function(){return d},setValue:function(k){d=""+k},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function Le(o){o._valueTracker||(o._valueTracker=ke(o))}function ge(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var c=i.getValue(),d="";return o&&(d=He(o)?o.checked?"true":"false":o.value),o=d,o!==c?(i.setValue(o),!0):!1}function Je(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function ve(o,i){var c=i.checked;return R({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??o._wrapperState.initialChecked})}function Ge(o,i){var c=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;c=ie(i.value!=null?i.value:c),o._wrapperState={initialChecked:d,initialValue:c,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function At(o,i){i=i.checked,i!=null&&C(o,"checked",i,!1)}function Be(o,i){At(o,i);var c=ie(i.value),d=i.type;if(c!=null)d==="number"?(c===0&&o.value===""||o.value!=c)&&(o.value=""+c):o.value!==""+c&&(o.value=""+c);else if(d==="submit"||d==="reset"){o.removeAttribute("value");return}i.hasOwnProperty("value")?lt(o,i.type,c):i.hasOwnProperty("defaultValue")&<(o,i.type,ie(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function ft(o,i,c){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var d=i.type;if(!(d!=="submit"&&d!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+o._wrapperState.initialValue,c||i===o.value||(o.value=i),o.defaultValue=i}c=o.name,c!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,c!==""&&(o.name=c)}function lt(o,i,c){(i!=="number"||Je(o.ownerDocument)!==o)&&(c==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+c&&(o.defaultValue=""+c))}var dt=Array.isArray;function gt(o,i,c,d){if(o=o.options,i){i={};for(var g=0;g"+i.valueOf().toString()+"",i=Pe.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function xe(o,i){if(i){var c=o.firstChild;if(c&&c===o.lastChild&&c.nodeType===3){c.nodeValue=i;return}}o.textContent=i}var Se={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ct=["Webkit","ms","Moz","O"];Object.keys(Se).forEach(function(o){ct.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),Se[i]=Se[o]})});function wt(o,i,c){return i==null||typeof i=="boolean"||i===""?"":c||typeof i!="number"||i===0||Se.hasOwnProperty(o)&&Se[o]?(""+i).trim():i+"px"}function Ve(o,i){o=o.style;for(var c in i)if(i.hasOwnProperty(c)){var d=c.indexOf("--")===0,g=wt(c,i[c],d);c==="float"&&(c="cssFloat"),d?o.setProperty(c,g):o[c]=g}}var Q=R({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function G(o,i){if(i){if(Q[o]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,o));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function Ae(o,i){if(o.indexOf("-")===-1)return typeof i.is=="string";switch(o){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var De=null;function Re(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Ee=null,Ue=null,Ie=null;function rt(o){if(o=vl(o)){if(typeof Ee!="function")throw Error(n(280));var i=o.stateNode;i&&(i=xu(i),Ee(o.stateNode,o.type,i))}}function ut(o){Ue?Ie?Ie.push(o):Ie=[o]:Ue=o}function Tt(){if(Ue){var o=Ue,i=Ie;if(Ie=Ue=null,rt(o),i)for(o=0;o>>=0,o===0?32:31-(d9(o)/p9|0)|0}var su=64,iu=4194304;function Ka(o){switch(o&-o){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function au(o,i){var c=o.pendingLanes;if(c===0)return 0;var d=0,g=o.suspendedLanes,w=o.pingedLanes,k=c&268435455;if(k!==0){var F=k&~g;F!==0?d=Ka(F):(w&=k,w!==0&&(d=Ka(w)))}else k=c&~g,k!==0?d=Ka(k):w!==0&&(d=Ka(w));if(d===0)return 0;if(i!==0&&i!==d&&(i&g)===0&&(g=d&-d,w=i&-i,g>=w||g===16&&(w&4194240)!==0))return i;if((d&4)!==0&&(d|=c&16),i=o.entangledLanes,i!==0)for(o=o.entanglements,i&=d;0c;c++)i.push(o);return i}function _a(o,i,c){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-po(i),o[i]=c}function g9(o,i){var c=o.pendingLanes&~i;o.pendingLanes=i,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=i,o.mutableReadLanes&=i,o.entangledLanes&=i,i=o.entanglements;var d=o.eventTimes;for(o=o.expirationTimes;0=il),ky=" ",Ry=!1;function Ey(o,i){switch(o){case"keyup":return q9.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ty(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var Fi=!1;function Y9(o,i){switch(o){case"compositionend":return Ty(i);case"keypress":return i.which!==32?null:(Ry=!0,ky);case"textInput":return o=i.data,o===ky&&Ry?null:o;default:return null}}function G9(o,i){if(Fi)return o==="compositionend"||!Op&&Ey(o,i)?(o=Hy(),du=Sp=Ss=null,Fi=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1=i)return{node:c,offset:i-o};o=d}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=Xy(c)}}function Wy(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?Wy(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function Jy(){for(var o=window,i=Je();i instanceof o.HTMLIFrameElement;){try{var c=typeof i.contentWindow.location.href=="string"}catch{c=!1}if(c)o=i.contentWindow;else break;i=Je(o.document)}return i}function Ep(o){var i=o&&o.nodeName&&o.nodeName.toLowerCase();return i&&(i==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||i==="textarea"||o.contentEditable==="true")}function rS(o){var i=Jy(),c=o.focusedElem,d=o.selectionRange;if(i!==c&&c&&c.ownerDocument&&Wy(c.ownerDocument.documentElement,c)){if(d!==null&&Ep(c)){if(i=d.start,o=d.end,o===void 0&&(o=i),"selectionStart"in c)c.selectionStart=i,c.selectionEnd=Math.min(o,c.value.length);else if(o=(i=c.ownerDocument||document)&&i.defaultView||window,o.getSelection){o=o.getSelection();var g=c.textContent.length,w=Math.min(d.start,g);d=d.end===void 0?w:Math.min(d.end,g),!o.extend&&w>d&&(g=d,d=w,w=g),g=Fy(c,w);var k=Fy(c,d);g&&k&&(o.rangeCount!==1||o.anchorNode!==g.node||o.anchorOffset!==g.offset||o.focusNode!==k.node||o.focusOffset!==k.offset)&&(i=i.createRange(),i.setStart(g.node,g.offset),o.removeAllRanges(),w>d?(o.addRange(i),o.extend(k.node,k.offset)):(i.setEnd(k.node,k.offset),o.addRange(i)))}}for(i=[],o=c;o=o.parentNode;)o.nodeType===1&&i.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c=document.documentMode,Wi=null,Tp=null,ul=null,Mp=!1;function qy(o,i,c){var d=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;Mp||Wi==null||Wi!==Je(d)||(d=Wi,"selectionStart"in d&&Ep(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),ul&&cl(ul,d)||(ul=d,d=Pu(Tp,"onSelect"),0Gi||(o.current=Yp[Gi],Yp[Gi]=null,Gi--)}function _t(o,i){Gi++,Yp[Gi]=o.current,o.current=i}var Ds={},Yn=js(Ds),fr=js(!1),ti=Ds;function Zi(o,i){var c=o.type.contextTypes;if(!c)return Ds;var d=o.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===i)return d.__reactInternalMemoizedMaskedChildContext;var g={},w;for(w in c)g[w]=i[w];return d&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=i,o.__reactInternalMemoizedMaskedChildContext=g),g}function dr(o){return o=o.childContextTypes,o!=null}function Su(){tn(fr),tn(Yn)}function iA(o,i,c){if(Yn.current!==Ds)throw Error(n(168));_t(Yn,i),_t(fr,c)}function aA(o,i,c){var d=o.stateNode;if(i=i.childContextTypes,typeof d.getChildContext!="function")return c;d=d.getChildContext();for(var g in d)if(!(g in i))throw Error(n(108,be(o)||"Unknown",g));return R({},c,d)}function Hu(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Ds,ti=Yn.current,_t(Yn,o),_t(fr,fr.current),!0}function lA(o,i,c){var d=o.stateNode;if(!d)throw Error(n(169));c?(o=aA(o,i,ti),d.__reactInternalMemoizedMergedChildContext=o,tn(fr),tn(Yn),_t(Yn,o)):tn(fr),_t(fr,c)}var ns=null,Cu=!1,Gp=!1;function cA(o){ns===null?ns=[o]:ns.push(o)}function vS(o){Cu=!0,cA(o)}function zs(){if(!Gp&&ns!==null){Gp=!0;var o=0,i=Jt;try{var c=ns;for(Jt=1;o>=k,g-=k,rs=1<<32-po(i)+g|c<St?(Nn=mt,mt=null):Nn=mt.sibling;var Vt=Ce(se,mt,le[St],Te);if(Vt===null){mt===null&&(mt=Nn);break}o&&mt&&Vt.alternate===null&&i(se,mt),te=w(Vt,te,St),vt===null?it=Vt:vt.sibling=Vt,vt=Vt,mt=Nn}if(St===le.length)return c(se,mt),on&&ri(se,St),it;if(mt===null){for(;StSt?(Nn=mt,mt=null):Nn=mt.sibling;var Bs=Ce(se,mt,Vt.value,Te);if(Bs===null){mt===null&&(mt=Nn);break}o&&mt&&Bs.alternate===null&&i(se,mt),te=w(Bs,te,St),vt===null?it=Bs:vt.sibling=Bs,vt=Bs,mt=Nn}if(Vt.done)return c(se,mt),on&&ri(se,St),it;if(mt===null){for(;!Vt.done;St++,Vt=le.next())Vt=Oe(se,Vt.value,Te),Vt!==null&&(te=w(Vt,te,St),vt===null?it=Vt:vt.sibling=Vt,vt=Vt);return on&&ri(se,St),it}for(mt=d(se,mt);!Vt.done;St++,Vt=le.next())Vt=Ze(mt,se,St,Vt.value,Te),Vt!==null&&(o&&Vt.alternate!==null&&mt.delete(Vt.key===null?St:Vt.key),te=w(Vt,te,St),vt===null?it=Vt:vt.sibling=Vt,vt=Vt);return o&&mt.forEach(function(ZS){return i(se,ZS)}),on&&ri(se,St),it}function wn(se,te,le,Te){if(typeof le=="object"&&le!==null&&le.type===M&&le.key===null&&(le=le.props.children),typeof le=="object"&&le!==null){switch(le.$$typeof){case O:e:{for(var it=le.key,vt=te;vt!==null;){if(vt.key===it){if(it=le.type,it===M){if(vt.tag===7){c(se,vt.sibling),te=g(vt,le.props.children),te.return=se,se=te;break e}}else if(vt.elementType===it||typeof it=="object"&&it!==null&&it.$$typeof===W&&xA(it)===vt.type){c(se,vt.sibling),te=g(vt,le.props),te.ref=ml(se,vt,le),te.return=se,se=te;break e}c(se,vt);break}else i(se,vt);vt=vt.sibling}le.type===M?(te=fi(le.props.children,se.mode,Te,le.key),te.return=se,se=te):(Te=ef(le.type,le.key,le.props,null,se.mode,Te),Te.ref=ml(se,te,le),Te.return=se,se=Te)}return k(se);case E:e:{for(vt=le.key;te!==null;){if(te.key===vt)if(te.tag===4&&te.stateNode.containerInfo===le.containerInfo&&te.stateNode.implementation===le.implementation){c(se,te.sibling),te=g(te,le.children||[]),te.return=se,se=te;break e}else{c(se,te);break}else i(se,te);te=te.sibling}te=qh(le,se.mode,Te),te.return=se,se=te}return k(se);case W:return vt=le._init,wn(se,te,vt(le._payload),Te)}if(dt(le))return ot(se,te,le,Te);if(U(le))return st(se,te,le,Te);Mu(se,le)}return typeof le=="string"&&le!==""||typeof le=="number"?(le=""+le,te!==null&&te.tag===6?(c(se,te.sibling),te=g(te,le),te.return=se,se=te):(c(se,te),te=Jh(le,se.mode,Te),te.return=se,se=te),k(se)):c(se,te)}return wn}var ta=SA(!0),HA=SA(!1),gl={},No=js(gl),yl=js(gl),Al=js(gl);function si(o){if(o===gl)throw Error(n(174));return o}function lh(o,i){switch(_t(Al,i),_t(yl,o),_t(No,gl),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:we(null,"");break;default:o=o===8?i.parentNode:i,i=o.namespaceURI||null,o=o.tagName,i=we(i,o)}tn(No),_t(No,i)}function na(){tn(No),tn(yl),tn(Al)}function CA(o){si(Al.current);var i=si(No.current),c=we(i,o.type);i!==c&&(_t(yl,o),_t(No,c))}function ch(o){yl.current===o&&(tn(No),tn(yl))}var cn=js(0);function Lu(o){for(var i=o;i!==null;){if(i.tag===13){var c=i.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var uh=[];function fh(){for(var o=0;oc?c:4,o(!0);var d=dh.transition;dh.transition={};try{o(!1),i()}finally{Jt=c,dh.transition=d}}function JA(){return Zr().memoizedState}function AS(o,i,c){var d=Ms(o);if(c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null},qA(o))UA(i,c);else if(c=vA(o,i,c,d),c!==null){var g=sr();Ao(c,o,d,g),YA(c,i,d)}}function PS(o,i,c){var d=Ms(o),g={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(qA(o))UA(i,g);else{var w=o.alternate;if(o.lanes===0&&(w===null||w.lanes===0)&&(w=i.lastRenderedReducer,w!==null))try{var k=i.lastRenderedState,F=w(k,c);if(g.hasEagerState=!0,g.eagerState=F,ho(F,k)){var K=i.interleaved;K===null?(g.next=g,oh(i)):(g.next=K.next,K.next=g),i.interleaved=g;return}}catch{}c=vA(o,i,g,d),c!==null&&(g=sr(),Ao(c,o,d,g),YA(c,i,d))}}function qA(o){var i=o.alternate;return o===un||i!==null&&i===un}function UA(o,i){Pl=Bu=!0;var c=o.pending;c===null?i.next=i:(i.next=c.next,c.next=i),o.pending=i}function YA(o,i,c){if((c&4194240)!==0){var d=i.lanes;d&=o.pendingLanes,c|=d,i.lanes=c,Ap(o,c)}}var Xu={readContext:Gr,useCallback:Gn,useContext:Gn,useEffect:Gn,useImperativeHandle:Gn,useInsertionEffect:Gn,useLayoutEffect:Gn,useMemo:Gn,useReducer:Gn,useRef:Gn,useState:Gn,useDebugValue:Gn,useDeferredValue:Gn,useTransition:Gn,useMutableSource:Gn,useSyncExternalStore:Gn,useId:Gn,unstable_isNewReconciler:!1},bS={readContext:Gr,useCallback:function(o,i){return Vo().memoizedState=[o,i===void 0?null:i],o},useContext:Gr,useEffect:LA,useImperativeHandle:function(o,i,c){return c=c!=null?c.concat([o]):null,Nu(4194308,4,NA.bind(null,i,o),c)},useLayoutEffect:function(o,i){return Nu(4194308,4,o,i)},useInsertionEffect:function(o,i){return Nu(4,2,o,i)},useMemo:function(o,i){var c=Vo();return i=i===void 0?null:i,o=o(),c.memoizedState=[o,i],o},useReducer:function(o,i,c){var d=Vo();return i=c!==void 0?c(i):i,d.memoizedState=d.baseState=i,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:i},d.queue=o,o=o.dispatch=AS.bind(null,un,o),[d.memoizedState,o]},useRef:function(o){var i=Vo();return o={current:o},i.memoizedState=o},useState:TA,useDebugValue:Ah,useDeferredValue:function(o){return Vo().memoizedState=o},useTransition:function(){var o=TA(!1),i=o[0];return o=yS.bind(null,o[1]),Vo().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,c){var d=un,g=Vo();if(on){if(c===void 0)throw Error(n(407));c=c()}else{if(c=i(),Bn===null)throw Error(n(349));(ii&30)!==0||zA(d,i,c)}g.memoizedState=c;var w={value:c,getSnapshot:i};return g.queue=w,LA(kA.bind(null,d,w,o),[o]),d.flags|=2048,xl(9,OA.bind(null,d,w,c,i),void 0,null),c},useId:function(){var o=Vo(),i=Bn.identifierPrefix;if(on){var c=os,d=rs;c=(d&~(1<<32-po(d)-1)).toString(32)+c,i=":"+i+"R"+c,c=bl++,0<\/script>",o=o.removeChild(o.firstChild)):typeof d.is=="string"?o=k.createElement(c,{is:d.is}):(o=k.createElement(c),c==="select"&&(k=o,d.multiple?k.multiple=!0:d.size&&(k.size=d.size))):o=k.createElementNS(o,c),o[Bo]=i,o[hl]=d,uP(o,i,!1,!1),i.stateNode=o;e:{switch(k=Ae(c,d),c){case"dialog":en("cancel",o),en("close",o),g=d;break;case"iframe":case"object":case"embed":en("load",o),g=d;break;case"video":case"audio":for(g=0;gia&&(i.flags|=128,d=!0,Sl(w,!1),i.lanes=4194304)}else{if(!d)if(o=Lu(k),o!==null){if(i.flags|=128,d=!0,c=o.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),Sl(w,!0),w.tail===null&&w.tailMode==="hidden"&&!k.alternate&&!on)return Zn(i),null}else 2*Kt()-w.renderingStartTime>ia&&c!==1073741824&&(i.flags|=128,d=!0,Sl(w,!1),i.lanes=4194304);w.isBackwards?(k.sibling=i.child,i.child=k):(c=w.last,c!==null?c.sibling=k:i.child=k,w.last=k)}return w.tail!==null?(i=w.tail,w.rendering=i,w.tail=i.sibling,w.renderingStartTime=Kt(),i.sibling=null,c=cn.current,_t(cn,d?c&1|2:c&1),i):(Zn(i),null);case 22:case 23:return Xh(),d=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==d&&(i.flags|=8192),d&&(i.mode&1)!==0?(Or&1073741824)!==0&&(Zn(i),i.subtreeFlags&6&&(i.flags|=8192)):Zn(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function zS(o,i){switch(Qp(i),i.tag){case 1:return dr(i.type)&&Su(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return na(),tn(fr),tn(Yn),fh(),o=i.flags,(o&65536)!==0&&(o&128)===0?(i.flags=o&-65537|128,i):null;case 5:return ch(i),null;case 13:if(tn(cn),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(n(340));_i()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return tn(cn),null;case 4:return na(),null;case 10:return nh(i.type._context),null;case 22:case 23:return Xh(),null;case 24:return null;default:return null}}var Ju=!1,Qn=!1,OS=typeof WeakSet=="function"?WeakSet:Set,$e=null;function oa(o,i){var c=o.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(d){gn(o,i,d)}else c.current=null}function zh(o,i,c){try{c()}catch(d){gn(o,i,d)}}var pP=!1;function kS(o,i){if(Xp=uu,o=Jy(),Ep(o)){if("selectionStart"in o)var c={start:o.selectionStart,end:o.selectionEnd};else e:{c=(c=o.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&d.rangeCount!==0){c=d.anchorNode;var g=d.anchorOffset,w=d.focusNode;d=d.focusOffset;try{c.nodeType,w.nodeType}catch{c=null;break e}var k=0,F=-1,K=-1,ue=0,je=0,Oe=o,Ce=null;t:for(;;){for(var Ze;Oe!==c||g!==0&&Oe.nodeType!==3||(F=k+g),Oe!==w||d!==0&&Oe.nodeType!==3||(K=k+d),Oe.nodeType===3&&(k+=Oe.nodeValue.length),(Ze=Oe.firstChild)!==null;)Ce=Oe,Oe=Ze;for(;;){if(Oe===o)break t;if(Ce===c&&++ue===g&&(F=k),Ce===w&&++je===d&&(K=k),(Ze=Oe.nextSibling)!==null)break;Oe=Ce,Ce=Oe.parentNode}Oe=Ze}c=F===-1||K===-1?null:{start:F,end:K}}else c=null}c=c||{start:0,end:0}}else c=null;for(Fp={focusedElem:o,selectionRange:c},uu=!1,$e=i;$e!==null;)if(i=$e,o=i.child,(i.subtreeFlags&1028)!==0&&o!==null)o.return=i,$e=o;else for(;$e!==null;){i=$e;try{var ot=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(ot!==null){var st=ot.memoizedProps,wn=ot.memoizedState,se=i.stateNode,te=se.getSnapshotBeforeUpdate(i.elementType===i.type?st:mo(i.type,st),wn);se.__reactInternalSnapshotBeforeUpdate=te}break;case 3:var le=i.stateNode.containerInfo;le.nodeType===1?le.textContent="":le.nodeType===9&&le.documentElement&&le.removeChild(le.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Te){gn(i,i.return,Te)}if(o=i.sibling,o!==null){o.return=i.return,$e=o;break}$e=i.return}return ot=pP,pP=!1,ot}function Hl(o,i,c){var d=i.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var g=d=d.next;do{if((g.tag&o)===o){var w=g.destroy;g.destroy=void 0,w!==void 0&&zh(i,c,w)}g=g.next}while(g!==d)}}function qu(o,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var c=i=i.next;do{if((c.tag&o)===o){var d=c.create;c.destroy=d()}c=c.next}while(c!==i)}}function Oh(o){var i=o.ref;if(i!==null){var c=o.stateNode;o.tag,o=c,typeof i=="function"?i(o):i.current=o}}function hP(o){var i=o.alternate;i!==null&&(o.alternate=null,hP(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Bo],delete i[hl],delete i[Up],delete i[pS],delete i[hS])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function vP(o){return o.tag===5||o.tag===3||o.tag===4}function mP(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||vP(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function kh(o,i,c){var d=o.tag;if(d===5||d===6)o=o.stateNode,i?c.nodeType===8?c.parentNode.insertBefore(o,i):c.insertBefore(o,i):(c.nodeType===8?(i=c.parentNode,i.insertBefore(o,c)):(i=c,i.appendChild(o)),c=c._reactRootContainer,c!=null||i.onclick!==null||(i.onclick=wu));else if(d!==4&&(o=o.child,o!==null))for(kh(o,i,c),o=o.sibling;o!==null;)kh(o,i,c),o=o.sibling}function Rh(o,i,c){var d=o.tag;if(d===5||d===6)o=o.stateNode,i?c.insertBefore(o,i):c.appendChild(o);else if(d!==4&&(o=o.child,o!==null))for(Rh(o,i,c),o=o.sibling;o!==null;)Rh(o,i,c),o=o.sibling}var Wn=null,go=!1;function Rs(o,i,c){for(c=c.child;c!==null;)gP(o,i,c),c=c.sibling}function gP(o,i,c){if(qr&&typeof qr.onCommitFiberUnmount=="function")try{qr.onCommitFiberUnmount(Io,c)}catch{}switch(c.tag){case 5:Qn||oa(c,i);case 6:var d=Wn,g=go;Wn=null,Rs(o,i,c),Wn=d,go=g,Wn!==null&&(go?(o=Wn,c=c.stateNode,o.nodeType===8?o.parentNode.removeChild(c):o.removeChild(c)):Wn.removeChild(c.stateNode));break;case 18:Wn!==null&&(go?(o=Wn,c=c.stateNode,o.nodeType===8?qp(o.parentNode,c):o.nodeType===1&&qp(o,c),rl(o)):qp(Wn,c.stateNode));break;case 4:d=Wn,g=go,Wn=c.stateNode.containerInfo,go=!0,Rs(o,i,c),Wn=d,go=g;break;case 0:case 11:case 14:case 15:if(!Qn&&(d=c.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){g=d=d.next;do{var w=g,k=w.destroy;w=w.tag,k!==void 0&&((w&2)!==0||(w&4)!==0)&&zh(c,i,k),g=g.next}while(g!==d)}Rs(o,i,c);break;case 1:if(!Qn&&(oa(c,i),d=c.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(F){gn(c,i,F)}Rs(o,i,c);break;case 21:Rs(o,i,c);break;case 22:c.mode&1?(Qn=(d=Qn)||c.memoizedState!==null,Rs(o,i,c),Qn=d):Rs(o,i,c);break;default:Rs(o,i,c)}}function yP(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var c=o.stateNode;c===null&&(c=o.stateNode=new OS),i.forEach(function(d){var g=VS.bind(null,o,d);c.has(d)||(c.add(d),d.then(g,g))})}}function yo(o,i){var c=i.deletions;if(c!==null)for(var d=0;dg&&(g=k),d&=~w}if(d=g,d=Kt()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*ES(d/1960))-d,10o?16:o,Ts===null)var d=!1;else{if(o=Ts,Ts=null,Qu=0,(Bt&6)!==0)throw Error(n(331));var g=Bt;for(Bt|=4,$e=o.current;$e!==null;){var w=$e,k=w.child;if(($e.flags&16)!==0){var F=w.deletions;if(F!==null){for(var K=0;KKt()-Mh?ci(o,0):Th|=c),vr(o,i)}function kP(o,i){i===0&&((o.mode&1)===0?i=1:(i=iu,iu<<=1,(iu&130023424)===0&&(iu=4194304)));var c=sr();o=ss(o,i),o!==null&&(_a(o,i,c),vr(o,c))}function NS(o){var i=o.memoizedState,c=0;i!==null&&(c=i.retryLane),kP(o,c)}function VS(o,i){var c=0;switch(o.tag){case 13:var d=o.stateNode,g=o.memoizedState;g!==null&&(c=g.retryLane);break;case 19:d=o.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(i),kP(o,c)}var RP;RP=function(o,i,c){if(o!==null)if(o.memoizedProps!==i.pendingProps||fr.current)pr=!0;else{if((o.lanes&c)===0&&(i.flags&128)===0)return pr=!1,jS(o,i,c);pr=(o.flags&131072)!==0}else pr=!1,on&&(i.flags&1048576)!==0&&uA(i,Du,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;Wu(o,i),o=i.pendingProps;var g=Zi(i,Yn.current);ea(i,c),g=hh(null,i,d,o,g,c);var w=vh();return i.flags|=1,typeof g=="object"&&g!==null&&typeof g.render=="function"&&g.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,dr(d)?(w=!0,Hu(i)):w=!1,i.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,sh(i),g.updater=Tu,i.stateNode=g,g._reactInternals=i,ah(i,d,o,c),i=xh(null,i,d,!0,w,c)):(i.tag=0,on&&w&&Zp(i),or(null,i,g,c),i=i.child),i;case 16:d=i.elementType;e:{switch(Wu(o,i),o=i.pendingProps,g=d._init,d=g(d._payload),i.type=d,g=i.tag=FS(d),o=mo(d,o),g){case 0:i=wh(null,i,d,o,c);break e;case 1:i=oP(null,i,d,o,c);break e;case 11:i=$A(null,i,d,o,c);break e;case 14:i=eP(null,i,d,mo(d.type,o),c);break e}throw Error(n(306,d,""))}return i;case 0:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:mo(d,g),wh(o,i,d,g,c);case 1:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:mo(d,g),oP(o,i,d,g,c);case 3:e:{if(sP(i),o===null)throw Error(n(387));d=i.pendingProps,w=i.memoizedState,g=w.element,mA(o,i),Eu(i,d,null,c);var k=i.memoizedState;if(d=k.element,w.isDehydrated)if(w={element:d,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},i.updateQueue.baseState=w,i.memoizedState=w,i.flags&256){g=ra(Error(n(423)),i),i=iP(o,i,d,c,g);break e}else if(d!==g){g=ra(Error(n(424)),i),i=iP(o,i,d,c,g);break e}else for(zr=Cs(i.stateNode.containerInfo.firstChild),Dr=i,on=!0,vo=null,c=HA(i,null,d,c),i.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(_i(),d===g){i=as(o,i,c);break e}or(o,i,d,c)}i=i.child}return i;case 5:return CA(i),o===null&&_p(i),d=i.type,g=i.pendingProps,w=o!==null?o.memoizedProps:null,k=g.children,Wp(d,g)?k=null:w!==null&&Wp(d,w)&&(i.flags|=32),rP(o,i),or(o,i,k,c),i.child;case 6:return o===null&&_p(i),null;case 13:return aP(o,i,c);case 4:return lh(i,i.stateNode.containerInfo),d=i.pendingProps,o===null?i.child=ta(i,null,d,c):or(o,i,d,c),i.child;case 11:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:mo(d,g),$A(o,i,d,g,c);case 7:return or(o,i,i.pendingProps,c),i.child;case 8:return or(o,i,i.pendingProps.children,c),i.child;case 12:return or(o,i,i.pendingProps.children,c),i.child;case 10:e:{if(d=i.type._context,g=i.pendingProps,w=i.memoizedProps,k=g.value,_t(Ou,d._currentValue),d._currentValue=k,w!==null)if(ho(w.value,k)){if(w.children===g.children&&!fr.current){i=as(o,i,c);break e}}else for(w=i.child,w!==null&&(w.return=i);w!==null;){var F=w.dependencies;if(F!==null){k=w.child;for(var K=F.firstContext;K!==null;){if(K.context===d){if(w.tag===1){K=is(-1,c&-c),K.tag=2;var ue=w.updateQueue;if(ue!==null){ue=ue.shared;var je=ue.pending;je===null?K.next=K:(K.next=je.next,je.next=K),ue.pending=K}}w.lanes|=c,K=w.alternate,K!==null&&(K.lanes|=c),rh(w.return,c,i),F.lanes|=c;break}K=K.next}}else if(w.tag===10)k=w.type===i.type?null:w.child;else if(w.tag===18){if(k=w.return,k===null)throw Error(n(341));k.lanes|=c,F=k.alternate,F!==null&&(F.lanes|=c),rh(k,c,i),k=w.sibling}else k=w.child;if(k!==null)k.return=w;else for(k=w;k!==null;){if(k===i){k=null;break}if(w=k.sibling,w!==null){w.return=k.return,k=w;break}k=k.return}w=k}or(o,i,g.children,c),i=i.child}return i;case 9:return g=i.type,d=i.pendingProps.children,ea(i,c),g=Gr(g),d=d(g),i.flags|=1,or(o,i,d,c),i.child;case 14:return d=i.type,g=mo(d,i.pendingProps),g=mo(d.type,g),eP(o,i,d,g,c);case 15:return tP(o,i,i.type,i.pendingProps,c);case 17:return d=i.type,g=i.pendingProps,g=i.elementType===d?g:mo(d,g),Wu(o,i),i.tag=1,dr(d)?(o=!0,Hu(i)):o=!1,ea(i,c),bA(i,d,g),ah(i,d,g,c),xh(null,i,d,!0,o,c);case 19:return cP(o,i,c);case 22:return nP(o,i,c)}throw Error(n(156,i.tag))};function EP(o,i){return Nt(o,i)}function XS(o,i,c,d){this.tag=o,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Kr(o,i,c,d){return new XS(o,i,c,d)}function Wh(o){return o=o.prototype,!(!o||!o.isReactComponent)}function FS(o){if(typeof o=="function")return Wh(o)?1:0;if(o!=null){if(o=o.$$typeof,o===X)return 11;if(o===q)return 14}return 2}function Is(o,i){var c=o.alternate;return c===null?(c=Kr(o.tag,i,o.key,o.mode),c.elementType=o.elementType,c.type=o.type,c.stateNode=o.stateNode,c.alternate=o,o.alternate=c):(c.pendingProps=i,c.type=o.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=o.flags&14680064,c.childLanes=o.childLanes,c.lanes=o.lanes,c.child=o.child,c.memoizedProps=o.memoizedProps,c.memoizedState=o.memoizedState,c.updateQueue=o.updateQueue,i=o.dependencies,c.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},c.sibling=o.sibling,c.index=o.index,c.ref=o.ref,c}function ef(o,i,c,d,g,w){var k=2;if(d=o,typeof o=="function")Wh(o)&&(k=1);else if(typeof o=="string")k=5;else e:switch(o){case M:return fi(c.children,g,w,i);case T:k=8,g|=8;break;case I:return o=Kr(12,c,i,g|2),o.elementType=I,o.lanes=w,o;case N:return o=Kr(13,c,i,g),o.elementType=N,o.lanes=w,o;case Y:return o=Kr(19,c,i,g),o.elementType=Y,o.lanes=w,o;case ne:return tf(c,g,w,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case H:k=10;break e;case V:k=9;break e;case X:k=11;break e;case q:k=14;break e;case W:k=16,d=null;break e}throw Error(n(130,o==null?o:typeof o,""))}return i=Kr(k,c,i,g),i.elementType=o,i.type=d,i.lanes=w,i}function fi(o,i,c,d){return o=Kr(7,o,d,i),o.lanes=c,o}function tf(o,i,c,d){return o=Kr(22,o,d,i),o.elementType=ne,o.lanes=c,o.stateNode={isHidden:!1},o}function Jh(o,i,c){return o=Kr(6,o,null,i),o.lanes=c,o}function qh(o,i,c){return i=Kr(4,o.children!==null?o.children:[],o.key,i),i.lanes=c,i.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},i}function WS(o,i,c,d,g){this.tag=i,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=yp(0),this.expirationTimes=yp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yp(0),this.identifierPrefix=d,this.onRecoverableError=g,this.mutableSourceEagerHydrationData=null}function Uh(o,i,c,d,g,w,k,F,K){return o=new WS(o,i,c,F,K),i===1?(i=1,w===!0&&(i|=8)):i=0,w=Kr(3,null,null,i),o.current=w,w.stateNode=o,w.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},sh(w),o}function JS(o,i,c){var d=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),av.exports=XH(),av.exports}var Zx=Gx();const Ql=vd(Zx),Db={disabled:!1},ed=Ne.createContext(null);var FH=function(t){return t.scrollTop},Kl="unmounted",vi="exited",mi="entering",Aa="entered",Yv="exiting",ko=(function(e){Yx(t,e);function t(r,s){var a;a=e.call(this,r,s)||this;var l=s,u=l&&!l.isMounting?r.enter:r.appear,f;return a.appearStatus=null,r.in?u?(f=vi,a.appearStatus=mi):f=Aa:r.unmountOnExit||r.mountOnEnter?f=Kl:f=vi,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(s,a){var l=s.in;return l&&a.status===Kl?{status:vi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var a=null;if(s!==this.props){var l=this.state.status;this.props.in?l!==mi&&l!==Aa&&(a=mi):(l===mi||l===Aa)&&(a=Yv)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,a,l,u;return a=l=u=s,s!=null&&typeof s!="number"&&(a=s.exit,l=s.enter,u=s.appear!==void 0?s.appear:l),{exit:a,enter:l,appear:u}},n.updateStatus=function(s,a){if(s===void 0&&(s=!1),a!==null)if(this.cancelNextCallback(),a===mi){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:Ql.findDOMNode(this);l&&FH(l)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===vi&&this.setState({status:Kl})},n.performEnter=function(s){var a=this,l=this.props.enter,u=this.context?this.context.isMounting:s,f=this.props.nodeRef?[u]:[Ql.findDOMNode(this),u],h=f[0],v=f[1],m=this.getTimeouts(),b=u?m.appear:m.enter;if(!s&&!l||Db.disabled){this.safeSetState({status:Aa},function(){a.props.onEntered(h)});return}this.props.onEnter(h,v),this.safeSetState({status:mi},function(){a.props.onEntering(h,v),a.onTransitionEnd(b,function(){a.safeSetState({status:Aa},function(){a.props.onEntered(h,v)})})})},n.performExit=function(){var s=this,a=this.props.exit,l=this.getTimeouts(),u=this.props.nodeRef?void 0:Ql.findDOMNode(this);if(!a||Db.disabled){this.safeSetState({status:vi},function(){s.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:Yv},function(){s.props.onExiting(u),s.onTransitionEnd(l.exit,function(){s.safeSetState({status:vi},function(){s.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,a){a=this.setNextCallback(a),this.setState(s,a)},n.setNextCallback=function(s){var a=this,l=!0;return this.nextCallback=function(u){l&&(l=!1,a.nextCallback=null,s(u))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(s,a){this.setNextCallback(a);var l=this.props.nodeRef?this.props.nodeRef.current:Ql.findDOMNode(this),u=s==null&&!this.props.addEndListener;if(!l||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],h=f[0],v=f[1];this.props.addEndListener(h,v)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===Kl)return null;var a=this.props,l=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var u=$m(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ne.createElement(ed.Provider,{value:null},typeof l=="function"?l(s,u):Ne.cloneElement(Ne.Children.only(l),u))},t})(Ne.Component);ko.contextType=ed;ko.propTypes={};function pa(){}ko.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:pa,onEntering:pa,onEntered:pa,onExit:pa,onExiting:pa,onExited:pa};ko.UNMOUNTED=Kl;ko.EXITED=vi;ko.ENTERING=mi;ko.ENTERED=Aa;ko.EXITING=Yv;function WH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eg(e,t){var n=function(a){return t&&y.isValidElement(a)?t(a):a},r=Object.create(null);return e&&y.Children.map(e,function(s){return s}).forEach(function(s){r[s.key]=n(s)}),r}function JH(e,t){e=e||{},t=t||{};function n(v){return v in t?t[v]:e[v]}var r=Object.create(null),s=[];for(var a in e)a in t?s.length&&(r[a]=s,s=[]):s.push(a);var l,u={};for(var f in t){if(r[f])for(l=0;le.scrollTop;function Ra(e,t){const{timeout:n,easing:r,style:s={}}=e;return{duration:s.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:s.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:s.transitionDelay}}function ZH(e){return Qe("MuiPaper",e)}Ke("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const QH=e=>{const{square:t,elevation:n,variant:r,classes:s}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return _e(a,ZH,s)},KH=fe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(tt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Vr=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiPaper"}),s=Fr(),{className:a,component:l="div",elevation:u=1,square:f=!1,variant:h="elevation",...v}=r,m={...r,component:l,elevation:u,square:f,variant:h},b=QH(m);return p.jsx(KH,{as:l,ownerState:m,className:ze(b.root,a),ref:n,...v,style:{...h==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[u],...s.vars&&{"--Paper-overlay":s.vars.overlays?.[u]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${bt("#fff",qv(u))}, ${bt("#fff",qv(u))})`}},...v.style}})});function at(e,t){const{className:n,elementType:r,ownerState:s,externalForwardedProps:a,internalForwardedProps:l,shouldForwardComponentProp:u=!1,...f}=t,{component:h,slots:v={[e]:void 0},slotProps:m={[e]:void 0},...b}=a,S=v[e]||r,P=Ex(m[e],s),{props:{component:A,...x},internalRef:z}=Rx({className:n,...f,externalForwardedProps:e==="root"?b:void 0,externalSlotProps:P}),D=ln(z,P?.ref,t.ref),C=e==="root"?A||h:A,j=kx(S,{...e==="root"&&!h&&!v[e]&&l,...e!=="root"&&!v[e]&&l,...x,...C&&!u&&{as:C},...C&&u&&{component:C},ref:D},s);return[S,j]}class td{static create(){return new td}static use(){const t=zx(td.create).current,[n,r]=y.useState(!1);return t.shouldMount=n,t.setShouldMount=r,y.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=$H(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function _H(){return td.use()}function $H(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});return n.resolve=e,n.reject=t,n}function e7(e){const{className:t,classes:n,pulsate:r=!1,rippleX:s,rippleY:a,rippleSize:l,in:u,onExited:f,timeout:h}=e,[v,m]=y.useState(!1),b=ze(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),S={width:l,height:l,top:-(l/2)+a,left:-(l/2)+s},P=ze(n.child,v&&n.childLeaving,r&&n.childPulsate);return!u&&!v&&m(!0),y.useEffect(()=>{if(!u&&f!=null){const A=setTimeout(f,h);return()=>{clearTimeout(A)}}},[f,u,h]),p.jsx("span",{className:b,style:S,children:p.jsx("span",{className:P})})}const eo=Ke("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Gv=550,t7=80,n7=Tc` +export default theme;`}function Um(e={},...t){const{breakpoints:n,mixins:r={},spacing:s,palette:a={},transitions:l={},typography:c={},shape:f,...d}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(ks(20));const p=oy(a),m=yp(e);let b=Jn(m,{mixins:X7(m.breakpoints,r),palette:p,shadows:U7.slice(),typography:C1(p,c),transitions:Q7(l),zIndex:{...K7}});return b=Jn(b,d),b=t.reduce((w,P)=>Jn(w,P),b),b.unstable_sxConfig={...gu,...d?.unstable_sxConfig},b.unstable_sx=function(P){return fi({sx:P,theme:this})},b.toRuntimeSource=H1,b}function Ym(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const $7=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=Ym(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function j1(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function k1(e){return e==="dark"?$7:[]}function ej(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...s}=e,a=oy(t);return{palette:a,opacity:{...j1(a.mode),...n},overlays:r||k1(a.mode),...s}}function tj(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const nj=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],rj=e=>(t,n)=>{const r=e.rootSelector||":root",s=e.colorSchemeSelector;let a=s;if(s==="class"&&(a=".%s"),s==="data"&&(a="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(a=`[${s}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const l={};return nj(e.cssVarPrefix).forEach(c=>{l[c]=n[c],delete n[c]}),a==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:l}}:a?{[a.replace("%s",t)]:l,[`${r}, ${a.replace("%s",t)}`]:n}:{[r]:{...n,...l}}}if(a&&a!=="media")return`${r}, ${a.replace("%s",String(t))}`}else if(t){if(a==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace("%s",String(t))}return r};function oj(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function ye(e,t,n){!e[t]&&n&&(e[t]=n)}function jc(e){return typeof e!="string"||!e.startsWith("hsl")?e:u1(e)}function Ps(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Hc(jc(e[t])))}function sj(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Qo=e=>{try{return e()}catch{}},ij=(e="mui")=>P7(e);function sm(e,t,n,r){if(!t)return;t=t===!0?{}:t;const s=r==="dark"?"dark":"light";if(!n){e[r]=ej({...t,palette:{mode:s,...t?.palette}});return}const{palette:a,...l}=Um({...n,palette:{mode:s,...t?.palette}});return e[r]={...t,palette:a,opacity:{...j1(s),...t?.opacity},overlays:t?.overlays||k1(s)},l}function aj(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:s=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:l=tj,colorSchemeSelector:c=n.light&&n.dark?"media":void 0,rootSelector:f=":root",...d}=e,p=Object.keys(n)[0],m=r||(n.light&&p!=="light"?"light":p),b=ij(a),{[m]:w,light:P,dark:A,...x}=n,D={...x};let j=w;if((m==="dark"&&!("dark"in n)||m==="light"&&!("light"in n))&&(j=!0),!j)throw new Error(ks(21,m));const C=sm(D,j,d,m);P&&!D.light&&sm(D,P,void 0,"light"),A&&!D.dark&&sm(D,A,void 0,"dark");let k={defaultColorScheme:m,...C,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:f,getCssVar:b,colorSchemes:D,font:{...V7(C.typography),...C.font},spacing:sj(d.spacing)};Object.keys(k.colorSchemes).forEach(L=>{const H=k.colorSchemes[L].palette,V=X=>{const B=X.split("-"),J=B[1],q=B[2];return b(X,H[J][q])};if(H.mode==="light"&&(ye(H.common,"background","#fff"),ye(H.common,"onBackground","#000")),H.mode==="dark"&&(ye(H.common,"background","#000"),ye(H.common,"onBackground","#fff")),oj(H,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),H.mode==="light"){ye(H.Alert,"errorColor",Kt(H.error.light,.6)),ye(H.Alert,"infoColor",Kt(H.info.light,.6)),ye(H.Alert,"successColor",Kt(H.success.light,.6)),ye(H.Alert,"warningColor",Kt(H.warning.light,.6)),ye(H.Alert,"errorFilledBg",V("palette-error-main")),ye(H.Alert,"infoFilledBg",V("palette-info-main")),ye(H.Alert,"successFilledBg",V("palette-success-main")),ye(H.Alert,"warningFilledBg",V("palette-warning-main")),ye(H.Alert,"errorFilledColor",Qo(()=>H.getContrastText(H.error.main))),ye(H.Alert,"infoFilledColor",Qo(()=>H.getContrastText(H.info.main))),ye(H.Alert,"successFilledColor",Qo(()=>H.getContrastText(H.success.main))),ye(H.Alert,"warningFilledColor",Qo(()=>H.getContrastText(H.warning.main))),ye(H.Alert,"errorStandardBg",_t(H.error.light,.9)),ye(H.Alert,"infoStandardBg",_t(H.info.light,.9)),ye(H.Alert,"successStandardBg",_t(H.success.light,.9)),ye(H.Alert,"warningStandardBg",_t(H.warning.light,.9)),ye(H.Alert,"errorIconColor",V("palette-error-main")),ye(H.Alert,"infoIconColor",V("palette-info-main")),ye(H.Alert,"successIconColor",V("palette-success-main")),ye(H.Alert,"warningIconColor",V("palette-warning-main")),ye(H.AppBar,"defaultBg",V("palette-grey-100")),ye(H.Avatar,"defaultBg",V("palette-grey-400")),ye(H.Button,"inheritContainedBg",V("palette-grey-300")),ye(H.Button,"inheritContainedHoverBg",V("palette-grey-A100")),ye(H.Chip,"defaultBorder",V("palette-grey-400")),ye(H.Chip,"defaultAvatarColor",V("palette-grey-700")),ye(H.Chip,"defaultIconColor",V("palette-grey-700")),ye(H.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ye(H.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ye(H.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ye(H.LinearProgress,"primaryBg",_t(H.primary.main,.62)),ye(H.LinearProgress,"secondaryBg",_t(H.secondary.main,.62)),ye(H.LinearProgress,"errorBg",_t(H.error.main,.62)),ye(H.LinearProgress,"infoBg",_t(H.info.main,.62)),ye(H.LinearProgress,"successBg",_t(H.success.main,.62)),ye(H.LinearProgress,"warningBg",_t(H.warning.main,.62)),ye(H.Skeleton,"bg",`rgba(${V("palette-text-primaryChannel")} / 0.11)`),ye(H.Slider,"primaryTrack",_t(H.primary.main,.62)),ye(H.Slider,"secondaryTrack",_t(H.secondary.main,.62)),ye(H.Slider,"errorTrack",_t(H.error.main,.62)),ye(H.Slider,"infoTrack",_t(H.info.main,.62)),ye(H.Slider,"successTrack",_t(H.success.main,.62)),ye(H.Slider,"warningTrack",_t(H.warning.main,.62));const X=Yf(H.background.default,.8);ye(H.SnackbarContent,"bg",X),ye(H.SnackbarContent,"color",Qo(()=>H.getContrastText(X))),ye(H.SpeedDialAction,"fabHoverBg",Yf(H.background.paper,.15)),ye(H.StepConnector,"border",V("palette-grey-400")),ye(H.StepContent,"border",V("palette-grey-400")),ye(H.Switch,"defaultColor",V("palette-common-white")),ye(H.Switch,"defaultDisabledColor",V("palette-grey-100")),ye(H.Switch,"primaryDisabledColor",_t(H.primary.main,.62)),ye(H.Switch,"secondaryDisabledColor",_t(H.secondary.main,.62)),ye(H.Switch,"errorDisabledColor",_t(H.error.main,.62)),ye(H.Switch,"infoDisabledColor",_t(H.info.main,.62)),ye(H.Switch,"successDisabledColor",_t(H.success.main,.62)),ye(H.Switch,"warningDisabledColor",_t(H.warning.main,.62)),ye(H.TableCell,"border",_t(Uf(H.divider,1),.88)),ye(H.Tooltip,"bg",Uf(H.grey[700],.92))}if(H.mode==="dark"){ye(H.Alert,"errorColor",_t(H.error.light,.6)),ye(H.Alert,"infoColor",_t(H.info.light,.6)),ye(H.Alert,"successColor",_t(H.success.light,.6)),ye(H.Alert,"warningColor",_t(H.warning.light,.6)),ye(H.Alert,"errorFilledBg",V("palette-error-dark")),ye(H.Alert,"infoFilledBg",V("palette-info-dark")),ye(H.Alert,"successFilledBg",V("palette-success-dark")),ye(H.Alert,"warningFilledBg",V("palette-warning-dark")),ye(H.Alert,"errorFilledColor",Qo(()=>H.getContrastText(H.error.dark))),ye(H.Alert,"infoFilledColor",Qo(()=>H.getContrastText(H.info.dark))),ye(H.Alert,"successFilledColor",Qo(()=>H.getContrastText(H.success.dark))),ye(H.Alert,"warningFilledColor",Qo(()=>H.getContrastText(H.warning.dark))),ye(H.Alert,"errorStandardBg",Kt(H.error.light,.9)),ye(H.Alert,"infoStandardBg",Kt(H.info.light,.9)),ye(H.Alert,"successStandardBg",Kt(H.success.light,.9)),ye(H.Alert,"warningStandardBg",Kt(H.warning.light,.9)),ye(H.Alert,"errorIconColor",V("palette-error-main")),ye(H.Alert,"infoIconColor",V("palette-info-main")),ye(H.Alert,"successIconColor",V("palette-success-main")),ye(H.Alert,"warningIconColor",V("palette-warning-main")),ye(H.AppBar,"defaultBg",V("palette-grey-900")),ye(H.AppBar,"darkBg",V("palette-background-paper")),ye(H.AppBar,"darkColor",V("palette-text-primary")),ye(H.Avatar,"defaultBg",V("palette-grey-600")),ye(H.Button,"inheritContainedBg",V("palette-grey-800")),ye(H.Button,"inheritContainedHoverBg",V("palette-grey-700")),ye(H.Chip,"defaultBorder",V("palette-grey-700")),ye(H.Chip,"defaultAvatarColor",V("palette-grey-300")),ye(H.Chip,"defaultIconColor",V("palette-grey-300")),ye(H.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ye(H.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ye(H.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ye(H.LinearProgress,"primaryBg",Kt(H.primary.main,.5)),ye(H.LinearProgress,"secondaryBg",Kt(H.secondary.main,.5)),ye(H.LinearProgress,"errorBg",Kt(H.error.main,.5)),ye(H.LinearProgress,"infoBg",Kt(H.info.main,.5)),ye(H.LinearProgress,"successBg",Kt(H.success.main,.5)),ye(H.LinearProgress,"warningBg",Kt(H.warning.main,.5)),ye(H.Skeleton,"bg",`rgba(${V("palette-text-primaryChannel")} / 0.13)`),ye(H.Slider,"primaryTrack",Kt(H.primary.main,.5)),ye(H.Slider,"secondaryTrack",Kt(H.secondary.main,.5)),ye(H.Slider,"errorTrack",Kt(H.error.main,.5)),ye(H.Slider,"infoTrack",Kt(H.info.main,.5)),ye(H.Slider,"successTrack",Kt(H.success.main,.5)),ye(H.Slider,"warningTrack",Kt(H.warning.main,.5));const X=Yf(H.background.default,.98);ye(H.SnackbarContent,"bg",X),ye(H.SnackbarContent,"color",Qo(()=>H.getContrastText(X))),ye(H.SpeedDialAction,"fabHoverBg",Yf(H.background.paper,.15)),ye(H.StepConnector,"border",V("palette-grey-600")),ye(H.StepContent,"border",V("palette-grey-600")),ye(H.Switch,"defaultColor",V("palette-grey-300")),ye(H.Switch,"defaultDisabledColor",V("palette-grey-600")),ye(H.Switch,"primaryDisabledColor",Kt(H.primary.main,.55)),ye(H.Switch,"secondaryDisabledColor",Kt(H.secondary.main,.55)),ye(H.Switch,"errorDisabledColor",Kt(H.error.main,.55)),ye(H.Switch,"infoDisabledColor",Kt(H.info.main,.55)),ye(H.Switch,"successDisabledColor",Kt(H.success.main,.55)),ye(H.Switch,"warningDisabledColor",Kt(H.warning.main,.55)),ye(H.TableCell,"border",Kt(Uf(H.divider,1),.68)),ye(H.Tooltip,"bg",Uf(H.grey[700],.92))}Ps(H.background,"default"),Ps(H.background,"paper"),Ps(H.common,"background"),Ps(H.common,"onBackground"),Ps(H,"divider"),Object.keys(H).forEach(X=>{const B=H[X];X!=="tonalOffset"&&B&&typeof B=="object"&&(B.main&&ye(H[X],"mainChannel",Hc(jc(B.main))),B.light&&ye(H[X],"lightChannel",Hc(jc(B.light))),B.dark&&ye(H[X],"darkChannel",Hc(jc(B.dark))),B.contrastText&&ye(H[X],"contrastTextChannel",Hc(jc(B.contrastText))),X==="text"&&(Ps(H[X],"primary"),Ps(H[X],"secondary")),X==="action"&&(B.active&&Ps(H[X],"active"),B.selected&&Ps(H[X],"selected")))})}),k=t.reduce((L,H)=>Jn(L,H),k);const O={prefix:a,disableCssColorScheme:s,shouldSkipGeneratingVar:l,getSelector:rj(k)},{vars:T,generateThemeVars:M,generateStyleSheets:E}=S7(k,O);return k.vars=T,Object.entries(k.colorSchemes[k.defaultColorScheme]).forEach(([L,H])=>{k[L]=H}),k.generateThemeVars=M,k.generateStyleSheets=E,k.generateSpacing=function(){return $0(d.spacing,dp(this))},k.getColorSchemeSelector=C7(c),k.spacing=k.generateSpacing(),k.shouldSkipGeneratingVar=l,k.unstable_sxConfig={...gu,...d?.unstable_sxConfig},k.unstable_sx=function(H){return fi({sx:H,theme:this})},k.toRuntimeSource=H1,k}function Fw(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:oy({...n===!0?{}:n.palette,mode:t})})}function Au(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:s=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...l}=e,c=a||"light",f=s?.[c],d={...s,...n?{[c]:{...typeof f!="boolean"&&f,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Um(e,...t);let p=n;"palette"in e||d[c]&&(d[c]!==!0?p=d[c].palette:c==="dark"&&(p={mode:"dark"}));const m=Um({...e,palette:p},...t);return m.defaultColorScheme=c,m.colorSchemes=d,m.palette.mode==="light"&&(m.colorSchemes.light={...d.light!==!0&&d.light,palette:m.palette},Fw(m,"dark",d.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:m.palette},Fw(m,"light",d.light)),m}return!n&&!("light"in d)&&c==="light"&&(d.light=!0),aj({...l,colorSchemes:d,defaultColorScheme:c,...typeof r!="boolean"&&r},...t)}const Sp=Au();function Gr(){const e=bp(Sp);return e[lo]||e}function lj({props:e,name:t}){return a1({props:e,name:t,defaultTheme:Sp,themeId:lo})}function D1(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const qn=e=>D1(e)&&e!=="classes",fe=s1({themeId:lo,defaultTheme:Sp,rootShouldForwardProp:qn});function cj({theme:e,...t}){const n=lo in e?e[lo]:void 0;return v.jsx(P1,{...t,themeId:n?lo:void 0,theme:n||e})}const Gf={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:uj}=b7({themeId:lo,theme:()=>Au({cssVariables:!0}),colorSchemeStorageKey:Gf.colorSchemeStorageKey,modeStorageKey:Gf.modeStorageKey,defaultColorScheme:{light:Gf.defaultLightColorScheme,dark:Gf.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:C1(e.palette,e.typography)};return t.unstable_sx=function(r){return fi({sx:r,theme:this})},t}}),fj=uj;function dj({theme:e,...t}){const n=g.useMemo(()=>{if(typeof e=="function")return e;const r=lo in e?e[lo]:e;return"colorSchemes"in r?null:"vars"in r?e:{...e,vars:null}},[e]);return n?v.jsx(cj,{theme:n,...t}):v.jsx(fj,{theme:e,...t})}function pj(e){return v.jsx(e1,{...e,defaultTheme:Sp,themeId:lo})}function sy(e){return function(n){return v.jsx(pj,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function hj(){return Pp}const rt=d7;function ot(e){return u7(e)}function vj(e){return Qe("MuiSvgIcon",e)}Ke("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const mj=e=>{const{color:t,fontSize:n,classes:r}=e,s={root:["root",t!=="inherit"&&`color${pe(t)}`,`fontSize${pe(n)}`]};return _e(s,vj,r)},gj=fe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${pe(n.color)}`],t[`fontSize${pe(n.fontSize)}`]]}})(rt(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),Vd=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiSvgIcon"}),{children:s,className:a,color:l="inherit",component:c="svg",fontSize:f="medium",htmlColor:d,inheritViewBox:p=!1,titleAccess:m,viewBox:b="0 0 24 24",...w}=r,P=g.isValidElement(s)&&s.type==="svg",A={...r,color:l,component:c,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:b,hasSvgAsChild:P},x={};p||(x.viewBox=b);const D=mj(A);return v.jsxs(gj,{as:c,className:De(D.root,a),focusable:"false",color:d,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:n,...x,...w,...P&&s.props,ownerState:A,children:[P?s.props.children:s,m?v.jsx("title",{children:m}):null]})});Vd.muiName="SvgIcon";function wt(e,t){function n(r,s){return v.jsx(Vd,{"data-testid":`${t}Icon`,ref:s,...r,children:e})}return n.muiName=Vd.muiName,g.memo(g.forwardRef(n))}function iy(e,t){if(!e)return t;if(typeof e=="function"||typeof t=="function")return s=>{const a=typeof t=="function"?t(s):t,l=typeof e=="function"?e({...s,...a}):e,c=De(s?.className,a?.className,l?.className);return{...a,...l,...!!c&&{className:c},...a?.style&&l?.style&&{style:{...a.style,...l.style}},...a?.sx&&l?.sx&&{sx:[...Array.isArray(a.sx)?a.sx:[a.sx],...Array.isArray(l.sx)?l.sx:[l.sx]]}}};const n=t,r=De(n?.className,e?.className);return{...t,...e,...!!r&&{className:r},...n?.style&&e?.style&&{style:{...n.style,...e.style}},...n?.sx&&e?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function ay(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Gm(e,t){return Gm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Gm(e,t)}function O1(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Gm(e,t)}var im={exports:{}},br={},am={exports:{}},lm={};var Ww;function yj(){return Ww||(Ww=1,(function(e){function t(Y,U){var z=Y.length;Y.push(U);e:for(;0>>1,I=Y[G];if(0>>1;Gs(re,z))ses(ge,re)?(Y[G]=ge,Y[se]=z,G=se):(Y[G]=re,Y[$]=z,G=$);else if(ses(ge,z))Y[G]=ge,Y[se]=z,G=se;else break e}}return U}function s(Y,U){var z=Y.sortIndex-U.sortIndex;return z!==0?z:Y.id-U.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var f=[],d=[],p=1,m=null,b=3,w=!1,P=!1,A=!1,x=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(Y){for(var U=n(d);U!==null;){if(U.callback===null)r(d);else if(U.startTime<=Y)r(d),U.sortIndex=U.expirationTime,t(f,U);else break;U=n(d)}}function k(Y){if(A=!1,C(Y),!P)if(n(f)!==null)P=!0,F(O);else{var U=n(d);U!==null&&_(k,U.startTime-Y)}}function O(Y,U){P=!1,A&&(A=!1,D(E),E=-1),w=!0;var z=b;try{for(C(U),m=n(f);m!==null&&(!(m.expirationTime>U)||Y&&!V());){var G=m.callback;if(typeof G=="function"){m.callback=null,b=m.priorityLevel;var I=G(m.expirationTime<=U);U=e.unstable_now(),typeof I=="function"?m.callback=I:m===n(f)&&r(f),C(U)}else r(f);m=n(f)}if(m!==null)var Z=!0;else{var $=n(d);$!==null&&_(k,$.startTime-U),Z=!1}return Z}finally{m=null,b=z,w=!1}}var T=!1,M=null,E=-1,L=5,H=-1;function V(){return!(e.unstable_now()-HY||125G?(Y.sortIndex=z,t(d,Y),n(f)===null&&Y===n(d)&&(A?(D(E),E=-1):A=!0,_(k,z-G))):(Y.sortIndex=I,t(f,Y),P||w||(P=!0,F(O))),Y},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(Y){var U=b;return function(){var z=b;b=U;try{return Y.apply(this,arguments)}finally{b=z}}}})(lm)),lm}var Jw;function Aj(){return Jw||(Jw=1,am.exports=yj()),am.exports}var qw;function bj(){if(qw)return br;qw=1;var e=Xg(),t=Aj();function n(o){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+o,u=1;u"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},m={};function b(o){return f.call(m,o)?!0:f.call(p,o)?!1:d.test(o)?m[o]=!0:(p[o]=!0,!1)}function w(o,i,u,h){if(u!==null&&u.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return h?!1:u!==null?!u.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function P(o,i,u,h){if(i===null||typeof i>"u"||w(o,i,u,h))return!0;if(h)return!1;if(u!==null)switch(u.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function A(o,i,u,h,y,S,R){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=h,this.attributeNamespace=y,this.mustUseProperty=u,this.propertyName=o,this.type=i,this.sanitizeURL=S,this.removeEmptyString=R}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){x[o]=new A(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var i=o[0];x[i]=new A(i,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){x[o]=new A(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){x[o]=new A(o,2,!1,o,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(o){x[o]=new A(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){x[o]=new A(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){x[o]=new A(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){x[o]=new A(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){x[o]=new A(o,5,!1,o.toLowerCase(),null,!1,!1)});var D=/[\-:]([a-z])/g;function j(o){return o[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(o){var i=o.replace(D,j);x[i]=new A(i,1,!1,o,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var i=o.replace(D,j);x[i]=new A(i,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var i=o.replace(D,j);x[i]=new A(i,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){x[o]=new A(o,1,!1,o.toLowerCase(),null,!1,!1)}),x.xlinkHref=new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){x[o]=new A(o,1,!1,o.toLowerCase(),null,!0,!0)});function C(o,i,u,h){var y=x.hasOwnProperty(i)?x[i]:null;(y!==null?y.type!==0:h||!(2W||y[R]!==S[W]){var ee=` +`+y[R].replace(" at new "," at ");return o.displayName&&ee.includes("")&&(ee=ee.replace("",o.displayName)),ee}while(1<=R&&0<=W);break}}}finally{Z=!1,Error.prepareStackTrace=u}return(o=o?o.displayName||o.name:"")?I(o):""}function re(o){switch(o.tag){case 5:return I(o.type);case 16:return I("Lazy");case 13:return I("Suspense");case 19:return I("SuspenseList");case 0:case 2:case 15:return o=$(o.type,!1),o;case 11:return o=$(o.type.render,!1),o;case 1:return o=$(o.type,!0),o;default:return""}}function se(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case M:return"Fragment";case T:return"Portal";case L:return"Profiler";case E:return"StrictMode";case B:return"Suspense";case J:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case V:return(o.displayName||"Context")+".Consumer";case H:return(o._context.displayName||"Context")+".Provider";case X:var i=o.render;return o=o.displayName,o||(o=i.displayName||i.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case q:return i=o.displayName||null,i!==null?i:se(o.type)||"Memo";case F:i=o._payload,o=o._init;try{return se(o(i))}catch{}}return null}function ge(o){var i=o.type;switch(o.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=i.render,o=o.displayName||o.name||"",i.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return se(i);case 8:return i===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function ie(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function Ae(o){var i=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Oe(o){var i=Ae(o)?"checked":"value",u=Object.getOwnPropertyDescriptor(o.constructor.prototype,i),h=""+o[i];if(!o.hasOwnProperty(i)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var y=u.get,S=u.set;return Object.defineProperty(o,i,{configurable:!0,get:function(){return y.call(this)},set:function(R){h=""+R,S.call(this,R)}}),Object.defineProperty(o,i,{enumerable:u.enumerable}),{getValue:function(){return h},setValue:function(R){h=""+R},stopTracking:function(){o._valueTracker=null,delete o[i]}}}}function Ee(o){o._valueTracker||(o._valueTracker=Oe(o))}function me(o){if(!o)return!1;var i=o._valueTracker;if(!i)return!0;var u=i.getValue(),h="";return o&&(h=Ae(o)?o.checked?"true":"false":o.value),o=h,o!==u?(i.setValue(o),!0):!1}function Ne(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function ve(o,i){var u=i.checked;return z({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??o._wrapperState.initialChecked})}function Ge(o,i){var u=i.defaultValue==null?"":i.defaultValue,h=i.checked!=null?i.checked:i.defaultChecked;u=ie(i.value!=null?i.value:u),o._wrapperState={initialChecked:h,initialValue:u,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function Pt(o,i){i=i.checked,i!=null&&C(o,"checked",i,!1)}function Be(o,i){Pt(o,i);var u=ie(i.value),h=i.type;if(u!=null)h==="number"?(u===0&&o.value===""||o.value!=u)&&(o.value=""+u):o.value!==""+u&&(o.value=""+u);else if(h==="submit"||h==="reset"){o.removeAttribute("value");return}i.hasOwnProperty("value")?ut(o,i.type,u):i.hasOwnProperty("defaultValue")&&ut(o,i.type,ie(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(o.defaultChecked=!!i.defaultChecked)}function pt(o,i,u){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var h=i.type;if(!(h!=="submit"&&h!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+o._wrapperState.initialValue,u||i===o.value||(o.value=i),o.defaultValue=i}u=o.name,u!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,u!==""&&(o.name=u)}function ut(o,i,u){(i!=="number"||Ne(o.ownerDocument)!==o)&&(u==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+u&&(o.defaultValue=""+u))}var ht=Array.isArray;function At(o,i,u,h){if(o=o.options,i){i={};for(var y=0;y"+i.valueOf().toString()+"",i=we.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;i.firstChild;)o.appendChild(i.firstChild)}});function Se(o,i){if(i){var u=o.firstChild;if(u&&u===o.lastChild&&u.nodeType===3){u.nodeValue=i;return}}o.textContent=i}var Ce={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ft=["Webkit","ms","Moz","O"];Object.keys(Ce).forEach(function(o){ft.forEach(function(i){i=i+o.charAt(0).toUpperCase()+o.substring(1),Ce[i]=Ce[o]})});function St(o,i,u){return i==null||typeof i=="boolean"||i===""?"":u||typeof i!="number"||i===0||Ce.hasOwnProperty(o)&&Ce[o]?(""+i).trim():i+"px"}function Xe(o,i){o=o.style;for(var u in i)if(i.hasOwnProperty(u)){var h=u.indexOf("--")===0,y=St(u,i[u],h);u==="float"&&(u="cssFloat"),h?o.setProperty(u,y):o[u]=y}}var K=z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Q(o,i){if(i){if(K[o]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,o));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function Pe(o,i){if(o.indexOf("-")===-1)return typeof i.is=="string";switch(o){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ke=null;function Re(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var Te=null,Ue=null,Ie=null;function st(o){if(o=Ul(o)){if(typeof Te!="function")throw Error(n(280));var i=o.stateNode;i&&(i=sf(i),Te(o.stateNode,o.type,i))}}function dt(o){Ue?Ie?Ie.push(o):Ie=[o]:Ue=o}function It(){if(Ue){var o=Ue,i=Ie;if(Ie=Ue=null,st(o),i)for(o=0;o>>=0,o===0?32:31-(q5(o)/U5|0)|0}var Xu=64,Fu=4194304;function kl(o){switch(o&-o){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function Wu(o,i){var u=o.pendingLanes;if(u===0)return 0;var h=0,y=o.suspendedLanes,S=o.pingedLanes,R=u&268435455;if(R!==0){var W=R&~y;W!==0?h=kl(W):(S&=R,S!==0&&(h=kl(S)))}else R=u&~y,R!==0?h=kl(R):S!==0&&(h=kl(S));if(h===0)return 0;if(i!==0&&i!==h&&(i&y)===0&&(y=h&-h,S=i&-i,y>=S||y===16&&(S&4194240)!==0))return i;if((h&4)!==0&&(h|=u&16),i=o.entangledLanes,i!==0)for(o=o.entanglements,i&=h;0u;u++)i.push(o);return i}function Dl(o,i,u){o.pendingLanes|=i,i!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,i=31-Ao(i),o[i]=u}function Q5(o,i){var u=o.pendingLanes&~i;o.pendingLanes=i,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=i,o.mutableReadLanes&=i,o.entangledLanes&=i,i=o.entanglements;var h=o.eventTimes;for(o=o.expirationTimes;0=Il),QA=" ",KA=!1;function _A(o,i){switch(o){case"keyup":return S3.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $A(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var ha=!1;function H3(o,i){switch(o){case"compositionend":return $A(i);case"keypress":return i.which!==32?null:(KA=!0,QA);case"textInput":return o=i.data,o===QA&&KA?null:o;default:return null}}function j3(o,i){if(ha)return o==="compositionend"||!Dh&&_A(o,i)?(o=JA(),Gu=xh=Vs=null,ha=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1=i)return{node:u,offset:i-o};o=h}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=ib(u)}}function lb(o,i){return o&&i?o===i?!0:o&&o.nodeType===3?!1:i&&i.nodeType===3?lb(o,i.parentNode):"contains"in o?o.contains(i):o.compareDocumentPosition?!!(o.compareDocumentPosition(i)&16):!1:!1}function cb(){for(var o=window,i=Ne();i instanceof o.HTMLIFrameElement;){try{var u=typeof i.contentWindow.location.href=="string"}catch{u=!1}if(u)o=i.contentWindow;else break;i=Ne(o.document)}return i}function Eh(o){var i=o&&o.nodeName&&o.nodeName.toLowerCase();return i&&(i==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||i==="textarea"||o.contentEditable==="true")}function L3(o){var i=cb(),u=o.focusedElem,h=o.selectionRange;if(i!==u&&u&&u.ownerDocument&&lb(u.ownerDocument.documentElement,u)){if(h!==null&&Eh(u)){if(i=h.start,o=h.end,o===void 0&&(o=i),"selectionStart"in u)u.selectionStart=i,u.selectionEnd=Math.min(o,u.value.length);else if(o=(i=u.ownerDocument||document)&&i.defaultView||window,o.getSelection){o=o.getSelection();var y=u.textContent.length,S=Math.min(h.start,y);h=h.end===void 0?S:Math.min(h.end,y),!o.extend&&S>h&&(y=h,h=S,S=y),y=ab(u,S);var R=ab(u,h);y&&R&&(o.rangeCount!==1||o.anchorNode!==y.node||o.anchorOffset!==y.offset||o.focusNode!==R.node||o.focusOffset!==R.offset)&&(i=i.createRange(),i.setStart(y.node,y.offset),o.removeAllRanges(),S>h?(o.addRange(i),o.extend(R.node,R.offset)):(i.setEnd(R.node,R.offset),o.addRange(i)))}}for(i=[],o=u;o=o.parentNode;)o.nodeType===1&&i.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u=document.documentMode,va=null,Rh=null,Xl=null,Th=!1;function ub(o,i,u){var h=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Th||va==null||va!==Ne(h)||(h=va,"selectionStart"in h&&Eh(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),Xl&&Vl(Xl,h)||(Xl=h,h=nf(Rh,"onSelect"),0ba||(o.current=Uh[ba],Uh[ba]=null,ba--)}function tn(o,i){ba++,Uh[ba]=o.current,o.current=i}var Js={},Kn=Ws(Js),vr=Ws(!1),wi=Js;function Pa(o,i){var u=o.type.contextTypes;if(!u)return Js;var h=o.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===i)return h.__reactInternalMemoizedMaskedChildContext;var y={},S;for(S in u)y[S]=i[S];return h&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=i,o.__reactInternalMemoizedMaskedChildContext=y),y}function mr(o){return o=o.childContextTypes,o!=null}function af(){on(vr),on(Kn)}function Cb(o,i,u){if(Kn.current!==Js)throw Error(n(168));tn(Kn,i),tn(vr,u)}function Hb(o,i,u){var h=o.stateNode;if(i=i.childContextTypes,typeof h.getChildContext!="function")return u;h=h.getChildContext();for(var y in h)if(!(y in i))throw Error(n(108,ge(o)||"Unknown",y));return z({},u,h)}function lf(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Js,wi=Kn.current,tn(Kn,o),tn(vr,vr.current),!0}function jb(o,i,u){var h=o.stateNode;if(!h)throw Error(n(169));u?(o=Hb(o,i,wi),h.__reactInternalMemoizedMergedChildContext=o,on(vr),on(Kn),tn(Kn,o)):on(vr),tn(vr,u)}var hs=null,cf=!1,Yh=!1;function kb(o){hs===null?hs=[o]:hs.push(o)}function G3(o){cf=!0,kb(o)}function qs(){if(!Yh&&hs!==null){Yh=!0;var o=0,i=Yt;try{var u=hs;for(Yt=1;o>=R,y-=R,vs=1<<32-Ao(i)+y|u<Ht?(Wn=yt,yt=null):Wn=yt.sibling;var Wt=He(ae,yt,le[Ht],Me);if(Wt===null){yt===null&&(yt=Wn);break}o&&yt&&Wt.alternate===null&&i(ae,yt),ne=S(Wt,ne,Ht),gt===null?lt=Wt:gt.sibling=Wt,gt=Wt,yt=Wn}if(Ht===le.length)return u(ae,yt),ln&&Si(ae,Ht),lt;if(yt===null){for(;HtHt?(Wn=yt,yt=null):Wn=yt.sibling;var ei=He(ae,yt,Wt.value,Me);if(ei===null){yt===null&&(yt=Wn);break}o&&yt&&ei.alternate===null&&i(ae,yt),ne=S(ei,ne,Ht),gt===null?lt=ei:gt.sibling=ei,gt=ei,yt=Wn}if(Wt.done)return u(ae,yt),ln&&Si(ae,Ht),lt;if(yt===null){for(;!Wt.done;Ht++,Wt=le.next())Wt=ze(ae,Wt.value,Me),Wt!==null&&(ne=S(Wt,ne,Ht),gt===null?lt=Wt:gt.sibling=Wt,gt=Wt);return ln&&Si(ae,Ht),lt}for(yt=h(ae,yt);!Wt.done;Ht++,Wt=le.next())Wt=Ze(yt,ae,Ht,Wt.value,Me),Wt!==null&&(o&&Wt.alternate!==null&&yt.delete(Wt.key===null?Ht:Wt.key),ne=S(Wt,ne,Ht),gt===null?lt=Wt:gt.sibling=Wt,gt=Wt);return o&&yt.forEach(function(k4){return i(ae,k4)}),ln&&Si(ae,Ht),lt}function Cn(ae,ne,le,Me){if(typeof le=="object"&&le!==null&&le.type===M&&le.key===null&&(le=le.props.children),typeof le=="object"&&le!==null){switch(le.$$typeof){case O:e:{for(var lt=le.key,gt=ne;gt!==null;){if(gt.key===lt){if(lt=le.type,lt===M){if(gt.tag===7){u(ae,gt.sibling),ne=y(gt,le.props.children),ne.return=ae,ae=ne;break e}}else if(gt.elementType===lt||typeof lt=="object"&<!==null&<.$$typeof===F&&Fb(lt)===gt.type){u(ae,gt.sibling),ne=y(gt,le.props),ne.ref=Yl(ae,gt,le),ne.return=ae,ae=ne;break e}u(ae,gt);break}else i(ae,gt);gt=gt.sibling}le.type===M?(ne=Ei(le.props.children,ae.mode,Me,le.key),ne.return=ae,ae=ne):(Me=If(le.type,le.key,le.props,null,ae.mode,Me),Me.ref=Yl(ae,ne,le),Me.return=ae,ae=Me)}return R(ae);case T:e:{for(gt=le.key;ne!==null;){if(ne.key===gt)if(ne.tag===4&&ne.stateNode.containerInfo===le.containerInfo&&ne.stateNode.implementation===le.implementation){u(ae,ne.sibling),ne=y(ne,le.children||[]),ne.return=ae,ae=ne;break e}else{u(ae,ne);break}else i(ae,ne);ne=ne.sibling}ne=Jv(le,ae.mode,Me),ne.return=ae,ae=ne}return R(ae);case F:return gt=le._init,Cn(ae,ne,gt(le._payload),Me)}if(ht(le))return it(ae,ne,le,Me);if(U(le))return at(ae,ne,le,Me);yf(ae,le)}return typeof le=="string"&&le!==""||typeof le=="number"?(le=""+le,ne!==null&&ne.tag===6?(u(ae,ne.sibling),ne=y(ne,le),ne.return=ae,ae=ne):(u(ae,ne),ne=Wv(le,ae.mode,Me),ne.return=ae,ae=ne),R(ae)):u(ae,ne)}return Cn}var ja=Wb(!0),Jb=Wb(!1),Gl={},Yo=Ws(Gl),Zl=Ws(Gl),Ql=Ws(Gl);function Hi(o){if(o===Gl)throw Error(n(174));return o}function av(o,i){switch(tn(Ql,i),tn(Zl,o),tn(Yo,Gl),o=i.nodeType,o){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:xe(null,"");break;default:o=o===8?i.parentNode:i,i=o.namespaceURI||null,o=o.tagName,i=xe(i,o)}on(Yo),tn(Yo,i)}function ka(){on(Yo),on(Zl),on(Ql)}function qb(o){Hi(Ql.current);var i=Hi(Yo.current),u=xe(i,o.type);i!==u&&(tn(Zl,o),tn(Yo,u))}function lv(o){Zl.current===o&&(on(Yo),on(Zl))}var dn=Ws(0);function Af(o){for(var i=o;i!==null;){if(i.tag===13){var u=i.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data==="$?"||u.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===o)break;for(;i.sibling===null;){if(i.return===null||i.return===o)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var cv=[];function uv(){for(var o=0;ou?u:4,o(!0);var h=fv.transition;fv.transition={};try{o(!1),i()}finally{Yt=u,fv.transition=h}}function cP(){return to().memoizedState}function _3(o,i,u){var h=Ks(o);if(u={lane:h,action:u,hasEagerState:!1,eagerState:null,next:null},uP(o))fP(i,u);else if(u=Tb(o,i,u,h),u!==null){var y=cr();Co(u,o,h,y),dP(u,i,h)}}function $3(o,i,u){var h=Ks(o),y={lane:h,action:u,hasEagerState:!1,eagerState:null,next:null};if(uP(o))fP(i,y);else{var S=o.alternate;if(o.lanes===0&&(S===null||S.lanes===0)&&(S=i.lastRenderedReducer,S!==null))try{var R=i.lastRenderedState,W=S(R,u);if(y.hasEagerState=!0,y.eagerState=W,bo(W,R)){var ee=i.interleaved;ee===null?(y.next=y,rv(i)):(y.next=ee.next,ee.next=y),i.interleaved=y;return}}catch{}u=Tb(o,i,y,h),u!==null&&(y=cr(),Co(u,o,h,y),dP(u,i,h))}}function uP(o){var i=o.alternate;return o===pn||i!==null&&i===pn}function fP(o,i){Kl=Pf=!0;var u=o.pending;u===null?i.next=i:(i.next=u.next,u.next=i),o.pending=i}function dP(o,i,u){if((u&4194240)!==0){var h=i.lanes;h&=o.pendingLanes,u|=h,i.lanes=u,yh(o,u)}}var Sf={readContext:eo,useCallback:_n,useContext:_n,useEffect:_n,useImperativeHandle:_n,useInsertionEffect:_n,useLayoutEffect:_n,useMemo:_n,useReducer:_n,useRef:_n,useState:_n,useDebugValue:_n,useDeferredValue:_n,useTransition:_n,useMutableSource:_n,useSyncExternalStore:_n,useId:_n,unstable_isNewReconciler:!1},e4={readContext:eo,useCallback:function(o,i){return Go().memoizedState=[o,i===void 0?null:i],o},useContext:eo,useEffect:tP,useImperativeHandle:function(o,i,u){return u=u!=null?u.concat([o]):null,wf(4194308,4,oP.bind(null,i,o),u)},useLayoutEffect:function(o,i){return wf(4194308,4,o,i)},useInsertionEffect:function(o,i){return wf(4,2,o,i)},useMemo:function(o,i){var u=Go();return i=i===void 0?null:i,o=o(),u.memoizedState=[o,i],o},useReducer:function(o,i,u){var h=Go();return i=u!==void 0?u(i):i,h.memoizedState=h.baseState=i,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:i},h.queue=o,o=o.dispatch=_3.bind(null,pn,o),[h.memoizedState,o]},useRef:function(o){var i=Go();return o={current:o},i.memoizedState=o},useState:$b,useDebugValue:yv,useDeferredValue:function(o){return Go().memoizedState=o},useTransition:function(){var o=$b(!1),i=o[0];return o=K3.bind(null,o[1]),Go().memoizedState=o,[i,o]},useMutableSource:function(){},useSyncExternalStore:function(o,i,u){var h=pn,y=Go();if(ln){if(u===void 0)throw Error(n(407));u=u()}else{if(u=i(),Fn===null)throw Error(n(349));(ji&30)!==0||Gb(h,i,u)}y.memoizedState=u;var S={value:u,getSnapshot:i};return y.queue=S,tP(Qb.bind(null,h,S,o),[o]),h.flags|=2048,ec(9,Zb.bind(null,h,S,u,i),void 0,null),u},useId:function(){var o=Go(),i=Fn.identifierPrefix;if(ln){var u=ms,h=vs;u=(h&~(1<<32-Ao(h)-1)).toString(32)+u,i=":"+i+"R"+u,u=_l++,0<\/script>",o=o.removeChild(o.firstChild)):typeof h.is=="string"?o=R.createElement(u,{is:h.is}):(o=R.createElement(u),u==="select"&&(R=o,h.multiple?R.multiple=!0:h.size&&(R.size=h.size))):o=R.createElementNS(o,u),o[Uo]=i,o[ql]=h,DP(o,i,!1,!1),i.stateNode=o;e:{switch(R=Pe(u,h),u){case"dialog":rn("cancel",o),rn("close",o),y=h;break;case"iframe":case"object":case"embed":rn("load",o),y=h;break;case"video":case"audio":for(y=0;yEa&&(i.flags|=128,h=!0,tc(S,!1),i.lanes=4194304)}else{if(!h)if(o=Af(R),o!==null){if(i.flags|=128,h=!0,u=o.updateQueue,u!==null&&(i.updateQueue=u,i.flags|=4),tc(S,!0),S.tail===null&&S.tailMode==="hidden"&&!R.alternate&&!ln)return $n(i),null}else 2*en()-S.renderingStartTime>Ea&&u!==1073741824&&(i.flags|=128,h=!0,tc(S,!1),i.lanes=4194304);S.isBackwards?(R.sibling=i.child,i.child=R):(u=S.last,u!==null?u.sibling=R:i.child=R,S.last=R)}return S.tail!==null?(i=S.tail,S.rendering=i,S.tail=i.sibling,S.renderingStartTime=en(),i.sibling=null,u=dn.current,tn(dn,h?u&1|2:u&1),i):($n(i),null);case 22:case 23:return Vv(),h=i.memoizedState!==null,o!==null&&o.memoizedState!==null!==h&&(i.flags|=8192),h&&(i.mode&1)!==0?(Tr&1073741824)!==0&&($n(i),i.subtreeFlags&6&&(i.flags|=8192)):$n(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function l4(o,i){switch(Zh(i),i.tag){case 1:return mr(i.type)&&af(),o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 3:return ka(),on(vr),on(Kn),uv(),o=i.flags,(o&65536)!==0&&(o&128)===0?(i.flags=o&-65537|128,i):null;case 5:return lv(i),null;case 13:if(on(dn),o=i.memoizedState,o!==null&&o.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Sa()}return o=i.flags,o&65536?(i.flags=o&-65537|128,i):null;case 19:return on(dn),null;case 4:return ka(),null;case 10:return tv(i.type._context),null;case 22:case 23:return Vv(),null;case 24:return null;default:return null}}var jf=!1,er=!1,c4=typeof WeakSet=="function"?WeakSet:Set,et=null;function Oa(o,i){var u=o.ref;if(u!==null)if(typeof u=="function")try{u(null)}catch(h){bn(o,i,h)}else u.current=null}function kv(o,i,u){try{u()}catch(h){bn(o,i,h)}}var EP=!1;function u4(o,i){if(Vh=Uu,o=cb(),Eh(o)){if("selectionStart"in o)var u={start:o.selectionStart,end:o.selectionEnd};else e:{u=(u=o.ownerDocument)&&u.defaultView||window;var h=u.getSelection&&u.getSelection();if(h&&h.rangeCount!==0){u=h.anchorNode;var y=h.anchorOffset,S=h.focusNode;h=h.focusOffset;try{u.nodeType,S.nodeType}catch{u=null;break e}var R=0,W=-1,ee=-1,ue=0,je=0,ze=o,He=null;t:for(;;){for(var Ze;ze!==u||y!==0&&ze.nodeType!==3||(W=R+y),ze!==S||h!==0&&ze.nodeType!==3||(ee=R+h),ze.nodeType===3&&(R+=ze.nodeValue.length),(Ze=ze.firstChild)!==null;)He=ze,ze=Ze;for(;;){if(ze===o)break t;if(He===u&&++ue===y&&(W=R),He===S&&++je===h&&(ee=R),(Ze=ze.nextSibling)!==null)break;ze=He,He=ze.parentNode}ze=Ze}u=W===-1||ee===-1?null:{start:W,end:ee}}else u=null}u=u||{start:0,end:0}}else u=null;for(Xh={focusedElem:o,selectionRange:u},Uu=!1,et=i;et!==null;)if(i=et,o=i.child,(i.subtreeFlags&1028)!==0&&o!==null)o.return=i,et=o;else for(;et!==null;){i=et;try{var it=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(it!==null){var at=it.memoizedProps,Cn=it.memoizedState,ae=i.stateNode,ne=ae.getSnapshotBeforeUpdate(i.elementType===i.type?at:wo(i.type,at),Cn);ae.__reactInternalSnapshotBeforeUpdate=ne}break;case 3:var le=i.stateNode.containerInfo;le.nodeType===1?le.textContent="":le.nodeType===9&&le.documentElement&&le.removeChild(le.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Me){bn(i,i.return,Me)}if(o=i.sibling,o!==null){o.return=i.return,et=o;break}et=i.return}return it=EP,EP=!1,it}function nc(o,i,u){var h=i.updateQueue;if(h=h!==null?h.lastEffect:null,h!==null){var y=h=h.next;do{if((y.tag&o)===o){var S=y.destroy;y.destroy=void 0,S!==void 0&&kv(i,u,S)}y=y.next}while(y!==h)}}function kf(o,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var u=i=i.next;do{if((u.tag&o)===o){var h=u.create;u.destroy=h()}u=u.next}while(u!==i)}}function Dv(o){var i=o.ref;if(i!==null){var u=o.stateNode;o.tag,o=u,typeof i=="function"?i(o):i.current=o}}function RP(o){var i=o.alternate;i!==null&&(o.alternate=null,RP(i)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(i=o.stateNode,i!==null&&(delete i[Uo],delete i[ql],delete i[qh],delete i[U3],delete i[Y3])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function TP(o){return o.tag===5||o.tag===3||o.tag===4}function MP(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||TP(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Ov(o,i,u){var h=o.tag;if(h===5||h===6)o=o.stateNode,i?u.nodeType===8?u.parentNode.insertBefore(o,i):u.insertBefore(o,i):(u.nodeType===8?(i=u.parentNode,i.insertBefore(o,u)):(i=u,i.appendChild(o)),u=u._reactRootContainer,u!=null||i.onclick!==null||(i.onclick=of));else if(h!==4&&(o=o.child,o!==null))for(Ov(o,i,u),o=o.sibling;o!==null;)Ov(o,i,u),o=o.sibling}function zv(o,i,u){var h=o.tag;if(h===5||h===6)o=o.stateNode,i?u.insertBefore(o,i):u.appendChild(o);else if(h!==4&&(o=o.child,o!==null))for(zv(o,i,u),o=o.sibling;o!==null;)zv(o,i,u),o=o.sibling}var Yn=null,xo=!1;function Gs(o,i,u){for(u=u.child;u!==null;)LP(o,i,u),u=u.sibling}function LP(o,i,u){if(Kr&&typeof Kr.onCommitFiberUnmount=="function")try{Kr.onCommitFiberUnmount(qo,u)}catch{}switch(u.tag){case 5:er||Oa(u,i);case 6:var h=Yn,y=xo;Yn=null,Gs(o,i,u),Yn=h,xo=y,Yn!==null&&(xo?(o=Yn,u=u.stateNode,o.nodeType===8?o.parentNode.removeChild(u):o.removeChild(u)):Yn.removeChild(u.stateNode));break;case 18:Yn!==null&&(xo?(o=Yn,u=u.stateNode,o.nodeType===8?Jh(o.parentNode,u):o.nodeType===1&&Jh(o,u),Tl(o)):Jh(Yn,u.stateNode));break;case 4:h=Yn,y=xo,Yn=u.stateNode.containerInfo,xo=!0,Gs(o,i,u),Yn=h,xo=y;break;case 0:case 11:case 14:case 15:if(!er&&(h=u.updateQueue,h!==null&&(h=h.lastEffect,h!==null))){y=h=h.next;do{var S=y,R=S.destroy;S=S.tag,R!==void 0&&((S&2)!==0||(S&4)!==0)&&kv(u,i,R),y=y.next}while(y!==h)}Gs(o,i,u);break;case 1:if(!er&&(Oa(u,i),h=u.stateNode,typeof h.componentWillUnmount=="function"))try{h.props=u.memoizedProps,h.state=u.memoizedState,h.componentWillUnmount()}catch(W){bn(u,i,W)}Gs(o,i,u);break;case 21:Gs(o,i,u);break;case 22:u.mode&1?(er=(h=er)||u.memoizedState!==null,Gs(o,i,u),er=h):Gs(o,i,u);break;default:Gs(o,i,u)}}function IP(o){var i=o.updateQueue;if(i!==null){o.updateQueue=null;var u=o.stateNode;u===null&&(u=o.stateNode=new c4),i.forEach(function(h){var y=A4.bind(null,o,h);u.has(h)||(u.add(h),h.then(y,y))})}}function So(o,i){var u=i.deletions;if(u!==null)for(var h=0;hy&&(y=R),h&=~S}if(h=y,h=en()-h,h=(120>h?120:480>h?480:1080>h?1080:1920>h?1920:3e3>h?3e3:4320>h?4320:1960*d4(h/1960))-h,10o?16:o,Qs===null)var h=!1;else{if(o=Qs,Qs=null,Rf=0,(Xt&6)!==0)throw Error(n(331));var y=Xt;for(Xt|=4,et=o.current;et!==null;){var S=et,R=S.child;if((et.flags&16)!==0){var W=S.deletions;if(W!==null){for(var ee=0;eeen()-Tv?Oi(o,0):Rv|=u),Ar(o,i)}function QP(o,i){i===0&&((o.mode&1)===0?i=1:(i=Fu,Fu<<=1,(Fu&130023424)===0&&(Fu=4194304)));var u=cr();o=gs(o,i),o!==null&&(Dl(o,i,u),Ar(o,u))}function y4(o){var i=o.memoizedState,u=0;i!==null&&(u=i.retryLane),QP(o,u)}function A4(o,i){var u=0;switch(o.tag){case 13:var h=o.stateNode,y=o.memoizedState;y!==null&&(u=y.retryLane);break;case 19:h=o.stateNode;break;default:throw Error(n(314))}h!==null&&h.delete(i),QP(o,u)}var KP;KP=function(o,i,u){if(o!==null)if(o.memoizedProps!==i.pendingProps||vr.current)gr=!0;else{if((o.lanes&u)===0&&(i.flags&128)===0)return gr=!1,i4(o,i,u);gr=(o.flags&131072)!==0}else gr=!1,ln&&(i.flags&1048576)!==0&&Db(i,ff,i.index);switch(i.lanes=0,i.tag){case 2:var h=i.type;Hf(o,i),o=i.pendingProps;var y=Pa(i,Kn.current);Ha(i,u),y=pv(null,i,h,o,y,u);var S=hv();return i.flags|=1,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,mr(h)?(S=!0,lf(i)):S=!1,i.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,ov(i),y.updater=gf,i.stateNode=y,y._reactInternals=i,iv(i,h,o,u),i=wv(null,i,h,!0,S,u)):(i.tag=0,ln&&S&&Gh(i),lr(null,i,y,u),i=i.child),i;case 16:h=i.elementType;e:{switch(Hf(o,i),o=i.pendingProps,y=h._init,h=y(h._payload),i.type=h,y=i.tag=P4(h),o=wo(h,o),y){case 0:i=Pv(null,i,h,o,u);break e;case 1:i=xP(null,i,h,o,u);break e;case 11:i=yP(null,i,h,o,u);break e;case 14:i=AP(null,i,h,wo(h.type,o),u);break e}throw Error(n(306,h,""))}return i;case 0:return h=i.type,y=i.pendingProps,y=i.elementType===h?y:wo(h,y),Pv(o,i,h,y,u);case 1:return h=i.type,y=i.pendingProps,y=i.elementType===h?y:wo(h,y),xP(o,i,h,y,u);case 3:e:{if(SP(i),o===null)throw Error(n(387));h=i.pendingProps,S=i.memoizedState,y=S.element,Mb(o,i),mf(i,h,null,u);var R=i.memoizedState;if(h=R.element,S.isDehydrated)if(S={element:h,isDehydrated:!1,cache:R.cache,pendingSuspenseBoundaries:R.pendingSuspenseBoundaries,transitions:R.transitions},i.updateQueue.baseState=S,i.memoizedState=S,i.flags&256){y=Da(Error(n(423)),i),i=CP(o,i,h,u,y);break e}else if(h!==y){y=Da(Error(n(424)),i),i=CP(o,i,h,u,y);break e}else for(Rr=Fs(i.stateNode.containerInfo.firstChild),Er=i,ln=!0,Po=null,u=Jb(i,null,h,u),i.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(Sa(),h===y){i=As(o,i,u);break e}lr(o,i,h,u)}i=i.child}return i;case 5:return qb(i),o===null&&Kh(i),h=i.type,y=i.pendingProps,S=o!==null?o.memoizedProps:null,R=y.children,Fh(h,y)?R=null:S!==null&&Fh(h,S)&&(i.flags|=32),wP(o,i),lr(o,i,R,u),i.child;case 6:return o===null&&Kh(i),null;case 13:return HP(o,i,u);case 4:return av(i,i.stateNode.containerInfo),h=i.pendingProps,o===null?i.child=ja(i,null,h,u):lr(o,i,h,u),i.child;case 11:return h=i.type,y=i.pendingProps,y=i.elementType===h?y:wo(h,y),yP(o,i,h,y,u);case 7:return lr(o,i,i.pendingProps,u),i.child;case 8:return lr(o,i,i.pendingProps.children,u),i.child;case 12:return lr(o,i,i.pendingProps.children,u),i.child;case 10:e:{if(h=i.type._context,y=i.pendingProps,S=i.memoizedProps,R=y.value,tn(pf,h._currentValue),h._currentValue=R,S!==null)if(bo(S.value,R)){if(S.children===y.children&&!vr.current){i=As(o,i,u);break e}}else for(S=i.child,S!==null&&(S.return=i);S!==null;){var W=S.dependencies;if(W!==null){R=S.child;for(var ee=W.firstContext;ee!==null;){if(ee.context===h){if(S.tag===1){ee=ys(-1,u&-u),ee.tag=2;var ue=S.updateQueue;if(ue!==null){ue=ue.shared;var je=ue.pending;je===null?ee.next=ee:(ee.next=je.next,je.next=ee),ue.pending=ee}}S.lanes|=u,ee=S.alternate,ee!==null&&(ee.lanes|=u),nv(S.return,u,i),W.lanes|=u;break}ee=ee.next}}else if(S.tag===10)R=S.type===i.type?null:S.child;else if(S.tag===18){if(R=S.return,R===null)throw Error(n(341));R.lanes|=u,W=R.alternate,W!==null&&(W.lanes|=u),nv(R,u,i),R=S.sibling}else R=S.child;if(R!==null)R.return=S;else for(R=S;R!==null;){if(R===i){R=null;break}if(S=R.sibling,S!==null){S.return=R.return,R=S;break}R=R.return}S=R}lr(o,i,y.children,u),i=i.child}return i;case 9:return y=i.type,h=i.pendingProps.children,Ha(i,u),y=eo(y),h=h(y),i.flags|=1,lr(o,i,h,u),i.child;case 14:return h=i.type,y=wo(h,i.pendingProps),y=wo(h.type,y),AP(o,i,h,y,u);case 15:return bP(o,i,i.type,i.pendingProps,u);case 17:return h=i.type,y=i.pendingProps,y=i.elementType===h?y:wo(h,y),Hf(o,i),i.tag=1,mr(h)?(o=!0,lf(i)):o=!1,Ha(i,u),Vb(i,h,y),iv(i,h,y,u),wv(null,i,h,!0,o,u);case 19:return kP(o,i,u);case 22:return PP(o,i,u)}throw Error(n(156,i.tag))};function _P(o,i){return Ft(o,i)}function b4(o,i,u,h){this.tag=o,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ro(o,i,u,h){return new b4(o,i,u,h)}function Fv(o){return o=o.prototype,!(!o||!o.isReactComponent)}function P4(o){if(typeof o=="function")return Fv(o)?1:0;if(o!=null){if(o=o.$$typeof,o===X)return 11;if(o===q)return 14}return 2}function $s(o,i){var u=o.alternate;return u===null?(u=ro(o.tag,i,o.key,o.mode),u.elementType=o.elementType,u.type=o.type,u.stateNode=o.stateNode,u.alternate=o,o.alternate=u):(u.pendingProps=i,u.type=o.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=o.flags&14680064,u.childLanes=o.childLanes,u.lanes=o.lanes,u.child=o.child,u.memoizedProps=o.memoizedProps,u.memoizedState=o.memoizedState,u.updateQueue=o.updateQueue,i=o.dependencies,u.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},u.sibling=o.sibling,u.index=o.index,u.ref=o.ref,u}function If(o,i,u,h,y,S){var R=2;if(h=o,typeof o=="function")Fv(o)&&(R=1);else if(typeof o=="string")R=5;else e:switch(o){case M:return Ei(u.children,y,S,i);case E:R=8,y|=8;break;case L:return o=ro(12,u,i,y|2),o.elementType=L,o.lanes=S,o;case B:return o=ro(13,u,i,y),o.elementType=B,o.lanes=S,o;case J:return o=ro(19,u,i,y),o.elementType=J,o.lanes=S,o;case _:return Bf(u,y,S,i);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case H:R=10;break e;case V:R=9;break e;case X:R=11;break e;case q:R=14;break e;case F:R=16,h=null;break e}throw Error(n(130,o==null?o:typeof o,""))}return i=ro(R,u,i,y),i.elementType=o,i.type=h,i.lanes=S,i}function Ei(o,i,u,h){return o=ro(7,o,h,i),o.lanes=u,o}function Bf(o,i,u,h){return o=ro(22,o,h,i),o.elementType=_,o.lanes=u,o.stateNode={isHidden:!1},o}function Wv(o,i,u){return o=ro(6,o,null,i),o.lanes=u,o}function Jv(o,i,u){return i=ro(4,o.children!==null?o.children:[],o.key,i),i.lanes=u,i.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},i}function w4(o,i,u,h,y){this.tag=i,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gh(0),this.expirationTimes=gh(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gh(0),this.identifierPrefix=h,this.onRecoverableError=y,this.mutableSourceEagerHydrationData=null}function qv(o,i,u,h,y,S,R,W,ee){return o=new w4(o,i,u,W,ee),i===1?(i=1,S===!0&&(i|=8)):i=0,S=ro(3,null,null,i),o.current=S,S.stateNode=o,S.memoizedState={element:h,isDehydrated:u,cache:null,transitions:null,pendingSuspenseBoundaries:null},ov(S),o}function x4(o,i,u){var h=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),im.exports=bj(),im.exports}var Cp=z1();const kc=ap(Cp),Yw={disabled:!1},Xd=Ve.createContext(null);var Pj=function(t){return t.scrollTop},Dc="unmounted",Ii="exited",Bi="entering",qa="entered",Zm="exiting",No=(function(e){O1(t,e);function t(r,s){var a;a=e.call(this,r,s)||this;var l=s,c=l&&!l.isMounting?r.enter:r.appear,f;return a.appearStatus=null,r.in?c?(f=Ii,a.appearStatus=Bi):f=qa:r.unmountOnExit||r.mountOnEnter?f=Dc:f=Ii,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(s,a){var l=s.in;return l&&a.status===Dc?{status:Ii}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var a=null;if(s!==this.props){var l=this.state.status;this.props.in?l!==Bi&&l!==qa&&(a=Bi):(l===Bi||l===qa)&&(a=Zm)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,a,l,c;return a=l=c=s,s!=null&&typeof s!="number"&&(a=s.exit,l=s.enter,c=s.appear!==void 0?s.appear:l),{exit:a,enter:l,appear:c}},n.updateStatus=function(s,a){if(s===void 0&&(s=!1),a!==null)if(this.cancelNextCallback(),a===Bi){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:kc.findDOMNode(this);l&&Pj(l)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ii&&this.setState({status:Dc})},n.performEnter=function(s){var a=this,l=this.props.enter,c=this.context?this.context.isMounting:s,f=this.props.nodeRef?[c]:[kc.findDOMNode(this),c],d=f[0],p=f[1],m=this.getTimeouts(),b=c?m.appear:m.enter;if(!s&&!l||Yw.disabled){this.safeSetState({status:qa},function(){a.props.onEntered(d)});return}this.props.onEnter(d,p),this.safeSetState({status:Bi},function(){a.props.onEntering(d,p),a.onTransitionEnd(b,function(){a.safeSetState({status:qa},function(){a.props.onEntered(d,p)})})})},n.performExit=function(){var s=this,a=this.props.exit,l=this.getTimeouts(),c=this.props.nodeRef?void 0:kc.findDOMNode(this);if(!a||Yw.disabled){this.safeSetState({status:Ii},function(){s.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:Zm},function(){s.props.onExiting(c),s.onTransitionEnd(l.exit,function(){s.safeSetState({status:Ii},function(){s.props.onExited(c)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,a){a=this.setNextCallback(a),this.setState(s,a)},n.setNextCallback=function(s){var a=this,l=!0;return this.nextCallback=function(c){l&&(l=!1,a.nextCallback=null,s(c))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(s,a){this.setNextCallback(a);var l=this.props.nodeRef?this.props.nodeRef.current:kc.findDOMNode(this),c=s==null&&!this.props.addEndListener;if(!l||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],d=f[0],p=f[1];this.props.addEndListener(d,p)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===Dc)return null;var a=this.props,l=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var c=ay(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ve.createElement(Xd.Provider,{value:null},typeof l=="function"?l(s,c):Ve.cloneElement(Ve.Children.only(l),c))},t})(Ve.Component);No.contextType=Xd;No.propTypes={};function Na(){}No.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Na,onEntering:Na,onEntered:Na,onExit:Na,onExiting:Na,onExited:Na};No.UNMOUNTED=Dc;No.EXITED=Ii;No.ENTERING=Bi;No.ENTERED=qa;No.EXITING=Zm;function wj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ly(e,t){var n=function(a){return t&&g.isValidElement(a)?t(a):a},r=Object.create(null);return e&&g.Children.map(e,function(s){return s}).forEach(function(s){r[s.key]=n(s)}),r}function xj(e,t){e=e||{},t=t||{};function n(p){return p in t?t[p]:e[p]}var r=Object.create(null),s=[];for(var a in e)a in t?s.length&&(r[a]=s,s=[]):s.push(a);var l,c={};for(var f in t){if(r[f])for(l=0;le.scrollTop;function sl(e,t){const{timeout:n,easing:r,style:s={}}=e;return{duration:s.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:s.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:s.transitionDelay}}function kj(e){return Qe("MuiPaper",e)}Ke("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Dj=e=>{const{square:t,elevation:n,variant:r,classes:s}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return _e(a,kj,s)},Oj=fe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(rt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Ur=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiPaper"}),s=Gr(),{className:a,component:l="div",elevation:c=1,square:f=!1,variant:d="elevation",...p}=r,m={...r,component:l,elevation:c,square:f,variant:d},b=Dj(m);return v.jsx(Oj,{as:l,ownerState:m,className:De(b.root,a),ref:n,...p,style:{...d==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[c],...s.vars&&{"--Paper-overlay":s.vars.overlays?.[c]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${xt("#fff",Ym(c))}, ${xt("#fff",Ym(c))})`}},...p.style}})});function ct(e,t){const{className:n,elementType:r,ownerState:s,externalForwardedProps:a,internalForwardedProps:l,shouldForwardComponentProp:c=!1,...f}=t,{component:d,slots:p={[e]:void 0},slotProps:m={[e]:void 0},...b}=a,w=p[e]||r,P=m1(m[e],s),{props:{component:A,...x},internalRef:D}=v1({className:n,...f,externalForwardedProps:e==="root"?b:void 0,externalSlotProps:P}),j=fn(D,P?.ref,t.ref),C=e==="root"?A||d:A,k=h1(w,{...e==="root"&&!d&&!p[e]&&l,...e!=="root"&&!p[e]&&l,...x,...C&&!c&&{as:C},...C&&c&&{component:C},ref:j},s);return[w,k]}class Fd{static create(){return new Fd}static use(){const t=d1(Fd.create).current,[n,r]=g.useState(!1);return t.shouldMount=n,t.setShouldMount=r,g.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=Ej(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function zj(){return Fd.use()}function Ej(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});return n.resolve=e,n.reject=t,n}function Rj(e){const{className:t,classes:n,pulsate:r=!1,rippleX:s,rippleY:a,rippleSize:l,in:c,onExited:f,timeout:d}=e,[p,m]=g.useState(!1),b=De(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),w={width:l,height:l,top:-(l/2)+a,left:-(l/2)+s},P=De(n.child,p&&n.childLeaving,r&&n.childPulsate);return!c&&!p&&m(!0),g.useEffect(()=>{if(!c&&f!=null){const A=setTimeout(f,d);return()=>{clearTimeout(A)}}},[f,c,d]),v.jsx("span",{className:b,style:w,children:v.jsx("span",{className:P})})}const io=Ke("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Qm=550,Tj=80,Mj=vu` 0% { transform: scale(0); opacity: 0.1; @@ -50,7 +50,7 @@ Error generating stack: `+w.message+` transform: scale(1); opacity: 0.3; } -`,r7=Tc` +`,Lj=vu` 0% { opacity: 1; } @@ -58,7 +58,7 @@ Error generating stack: `+w.message+` 100% { opacity: 0; } -`,o7=Tc` +`,Ij=vu` 0% { transform: scale(1); } @@ -70,23 +70,23 @@ Error generating stack: `+w.message+` 100% { transform: scale(1); } -`,s7=fe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),i7=fe(e7,{name:"MuiTouchRipple",slot:"Ripple"})` +`,Bj=fe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Nj=fe(Rj,{name:"MuiTouchRipple",slot:"Ripple"})` opacity: 0; position: absolute; - &.${eo.rippleVisible} { + &.${io.rippleVisible} { opacity: 0.3; transform: scale(1); - animation-name: ${n7}; - animation-duration: ${Gv}ms; + animation-name: ${Mj}; + animation-duration: ${Qm}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } - &.${eo.ripplePulsate} { + &.${io.ripplePulsate} { animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; } - & .${eo.child} { + & .${io.child} { opacity: 1; display: block; width: 100%; @@ -95,25 +95,25 @@ Error generating stack: `+w.message+` background-color: currentColor; } - & .${eo.childLeaving} { + & .${io.childLeaving} { opacity: 0; - animation-name: ${r7}; - animation-duration: ${Gv}ms; + animation-name: ${Lj}; + animation-duration: ${Qm}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } - & .${eo.childPulsate} { + & .${io.childPulsate} { position: absolute; /* @noflip */ left: 0px; top: 0; - animation-name: ${o7}; + animation-name: ${Ij}; animation-duration: 2500ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; animation-iteration-count: infinite; animation-delay: 200ms; } -`,a7=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:l,...u}=r,[f,h]=y.useState([]),v=y.useRef(0),m=y.useRef(null);y.useEffect(()=>{m.current&&(m.current(),m.current=null)},[f]);const b=y.useRef(!1),S=Ai(),P=y.useRef(null),A=y.useRef(null),x=y.useCallback(j=>{const{pulsate:O,rippleX:E,rippleY:M,rippleSize:T,cb:I}=j;h(H=>[...H,p.jsx(i7,{classes:{ripple:ze(a.ripple,eo.ripple),rippleVisible:ze(a.rippleVisible,eo.rippleVisible),ripplePulsate:ze(a.ripplePulsate,eo.ripplePulsate),child:ze(a.child,eo.child),childLeaving:ze(a.childLeaving,eo.childLeaving),childPulsate:ze(a.childPulsate,eo.childPulsate)},timeout:Gv,pulsate:O,rippleX:E,rippleY:M,rippleSize:T},v.current)]),v.current+=1,m.current=I},[a]),z=y.useCallback((j={},O={},E=()=>{})=>{const{pulsate:M=!1,center:T=s||O.pulsate,fakeElement:I=!1}=O;if(j?.type==="mousedown"&&b.current){b.current=!1;return}j?.type==="touchstart"&&(b.current=!0);const H=I?null:A.current,V=H?H.getBoundingClientRect():{width:0,height:0,left:0,top:0};let X,N,Y;if(T||j===void 0||j.clientX===0&&j.clientY===0||!j.clientX&&!j.touches)X=Math.round(V.width/2),N=Math.round(V.height/2);else{const{clientX:q,clientY:W}=j.touches&&j.touches.length>0?j.touches[0]:j;X=Math.round(q-V.left),N=Math.round(W-V.top)}if(T)Y=Math.sqrt((2*V.width**2+V.height**2)/3),Y%2===0&&(Y+=1);else{const q=Math.max(Math.abs((H?H.clientWidth:0)-X),X)*2+2,W=Math.max(Math.abs((H?H.clientHeight:0)-N),N)*2+2;Y=Math.sqrt(q**2+W**2)}j?.touches?P.current===null&&(P.current=()=>{x({pulsate:M,rippleX:X,rippleY:N,rippleSize:Y,cb:E})},S.start(t7,()=>{P.current&&(P.current(),P.current=null)})):x({pulsate:M,rippleX:X,rippleY:N,rippleSize:Y,cb:E})},[s,x,S]),D=y.useCallback(()=>{z({},{pulsate:!0})},[z]),C=y.useCallback((j,O)=>{if(S.clear(),j?.type==="touchend"&&P.current){P.current(),P.current=null,S.start(0,()=>{C(j,O)});return}P.current=null,h(E=>E.length>0?E.slice(1):E),m.current=O},[S]);return y.useImperativeHandle(n,()=>({pulsate:D,start:z,stop:C}),[D,z,C]),p.jsx(s7,{className:ze(eo.root,a.root,l),ref:A,...u,children:p.jsx(tg,{component:null,exit:!0,children:f})})});function l7(e){return Qe("MuiButtonBase",e)}const c7=Ke("MuiButtonBase",["root","disabled","focusVisible"]),u7=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:s}=e,l=_e({root:["root",t&&"disabled",n&&"focusVisible"]},l7,s);return n&&r&&(l.root+=` ${r}`),l},f7=fe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${c7.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Oi=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiButtonBase"}),{action:s,centerRipple:a=!1,children:l,className:u,component:f="button",disabled:h=!1,disableRipple:v=!1,disableTouchRipple:m=!1,focusRipple:b=!1,focusVisibleClassName:S,LinkComponent:P="a",onBlur:A,onClick:x,onContextMenu:z,onDragLeave:D,onFocus:C,onFocusVisible:j,onKeyDown:O,onKeyUp:E,onMouseDown:M,onMouseLeave:T,onMouseUp:I,onTouchEnd:H,onTouchMove:V,onTouchStart:X,tabIndex:N=0,TouchRippleProps:Y,touchRippleRef:q,type:W,...ne}=r,ee=y.useRef(null),U=_H(),R=ln(U.ref,q),[J,L]=y.useState(!1);h&&J&&L(!1),y.useImperativeHandle(s,()=>({focusVisible:()=>{L(!0),ee.current.focus()}}),[]);const Z=U.shouldMount&&!v&&!h;y.useEffect(()=>{J&&b&&!v&&U.pulsate()},[v,b,J,U]);const $=us(U,"start",M,m),oe=us(U,"stop",z,m),ae=us(U,"stop",D,m),be=us(U,"stop",I,m),ie=us(U,"stop",Xe=>{J&&Xe.preventDefault(),T&&T(Xe)},m),He=us(U,"start",X,m),ke=us(U,"stop",H,m),Le=us(U,"stop",V,m),ge=us(U,"stop",Xe=>{ka(Xe.target)||L(!1),A&&A(Xe)},!1),Je=nr(Xe=>{ee.current||(ee.current=Xe.currentTarget),ka(Xe.target)&&(L(!0),j&&j(Xe)),C&&C(Xe)}),ve=()=>{const Xe=ee.current;return f&&f!=="button"&&!(Xe.tagName==="A"&&Xe.href)},Ge=nr(Xe=>{b&&!Xe.repeat&&J&&Xe.key===" "&&U.stop(Xe,()=>{U.start(Xe)}),Xe.target===Xe.currentTarget&&ve()&&Xe.key===" "&&Xe.preventDefault(),O&&O(Xe),Xe.target===Xe.currentTarget&&ve()&&Xe.key==="Enter"&&!h&&(Xe.preventDefault(),x&&x(Xe))}),At=nr(Xe=>{b&&Xe.key===" "&&J&&!Xe.defaultPrevented&&U.stop(Xe,()=>{U.pulsate(Xe)}),E&&E(Xe),x&&Xe.target===Xe.currentTarget&&ve()&&Xe.key===" "&&!Xe.defaultPrevented&&x(Xe)});let Be=f;Be==="button"&&(ne.href||ne.to)&&(Be=P);const ft={};Be==="button"?(ft.type=W===void 0?"button":W,ft.disabled=h):(!ne.href&&!ne.to&&(ft.role="button"),h&&(ft["aria-disabled"]=h));const lt=ln(n,ee),dt={...r,centerRipple:a,component:f,disabled:h,disableRipple:v,disableTouchRipple:m,focusRipple:b,tabIndex:N,focusVisible:J},gt=u7(dt);return p.jsxs(f7,{as:Be,className:ze(gt.root,u),ownerState:dt,onBlur:ge,onClick:x,onContextMenu:oe,onFocus:Je,onKeyDown:Ge,onKeyUp:At,onMouseDown:$,onMouseLeave:ie,onMouseUp:be,onDragLeave:ae,onTouchEnd:ke,onTouchMove:Le,onTouchStart:He,ref:lt,tabIndex:h?-1:N,type:W,...ft,...ne,children:[l,Z?p.jsx(a7,{ref:R,center:a,...Y}):null]})});function us(e,t,n,r=!1){return nr(s=>(n&&n(s),r||e[t](s),!0))}function d7(e){return typeof e.main=="string"}function p7(e,t=[]){if(!d7(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function dn(e=[]){return([,t])=>t&&p7(t,e)}function h7(e){return Qe("MuiAlert",e)}const zb=Ke("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function v7(e){return Qe("MuiCircularProgress",e)}Ke("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Ns=44,Zv=Tc` +`,Vj=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:l,...c}=r,[f,d]=g.useState([]),p=g.useRef(0),m=g.useRef(null);g.useEffect(()=>{m.current&&(m.current(),m.current=null)},[f]);const b=g.useRef(!1),w=Xi(),P=g.useRef(null),A=g.useRef(null),x=g.useCallback(k=>{const{pulsate:O,rippleX:T,rippleY:M,rippleSize:E,cb:L}=k;d(H=>[...H,v.jsx(Nj,{classes:{ripple:De(a.ripple,io.ripple),rippleVisible:De(a.rippleVisible,io.rippleVisible),ripplePulsate:De(a.ripplePulsate,io.ripplePulsate),child:De(a.child,io.child),childLeaving:De(a.childLeaving,io.childLeaving),childPulsate:De(a.childPulsate,io.childPulsate)},timeout:Qm,pulsate:O,rippleX:T,rippleY:M,rippleSize:E},p.current)]),p.current+=1,m.current=L},[a]),D=g.useCallback((k={},O={},T=()=>{})=>{const{pulsate:M=!1,center:E=s||O.pulsate,fakeElement:L=!1}=O;if(k?.type==="mousedown"&&b.current){b.current=!1;return}k?.type==="touchstart"&&(b.current=!0);const H=L?null:A.current,V=H?H.getBoundingClientRect():{width:0,height:0,left:0,top:0};let X,B,J;if(E||k===void 0||k.clientX===0&&k.clientY===0||!k.clientX&&!k.touches)X=Math.round(V.width/2),B=Math.round(V.height/2);else{const{clientX:q,clientY:F}=k.touches&&k.touches.length>0?k.touches[0]:k;X=Math.round(q-V.left),B=Math.round(F-V.top)}if(E)J=Math.sqrt((2*V.width**2+V.height**2)/3),J%2===0&&(J+=1);else{const q=Math.max(Math.abs((H?H.clientWidth:0)-X),X)*2+2,F=Math.max(Math.abs((H?H.clientHeight:0)-B),B)*2+2;J=Math.sqrt(q**2+F**2)}k?.touches?P.current===null&&(P.current=()=>{x({pulsate:M,rippleX:X,rippleY:B,rippleSize:J,cb:T})},w.start(Tj,()=>{P.current&&(P.current(),P.current=null)})):x({pulsate:M,rippleX:X,rippleY:B,rippleSize:J,cb:T})},[s,x,w]),j=g.useCallback(()=>{D({},{pulsate:!0})},[D]),C=g.useCallback((k,O)=>{if(w.clear(),k?.type==="touchend"&&P.current){P.current(),P.current=null,w.start(0,()=>{C(k,O)});return}P.current=null,d(T=>T.length>0?T.slice(1):T),m.current=O},[w]);return g.useImperativeHandle(n,()=>({pulsate:j,start:D,stop:C}),[j,D,C]),v.jsx(Bj,{className:De(io.root,a.root,l),ref:A,...c,children:v.jsx(cy,{component:null,exit:!0,children:f})})});function Xj(e){return Qe("MuiButtonBase",e)}const Fj=Ke("MuiButtonBase",["root","disabled","focusVisible"]),Wj=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:s}=e,l=_e({root:["root",t&&"disabled",n&&"focusVisible"]},Xj,s);return n&&r&&(l.root+=` ${r}`),l},Jj=fe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Fj.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),_i=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiButtonBase"}),{action:s,centerRipple:a=!1,children:l,className:c,component:f="button",disabled:d=!1,disableRipple:p=!1,disableTouchRipple:m=!1,focusRipple:b=!1,focusVisibleClassName:w,LinkComponent:P="a",onBlur:A,onClick:x,onContextMenu:D,onDragLeave:j,onFocus:C,onFocusVisible:k,onKeyDown:O,onKeyUp:T,onMouseDown:M,onMouseLeave:E,onMouseUp:L,onTouchEnd:H,onTouchMove:V,onTouchStart:X,tabIndex:B=0,TouchRippleProps:J,touchRippleRef:q,type:F,..._}=r,Y=g.useRef(null),U=zj(),z=fn(U.ref,q),[G,I]=g.useState(!1);d&&G&&I(!1),g.useImperativeHandle(s,()=>({focusVisible:()=>{I(!0),Y.current.focus()}}),[]);const Z=U.shouldMount&&!p&&!d;g.useEffect(()=>{G&&b&&!p&&U.pulsate()},[p,b,G,U]);const $=ws(U,"start",M,m),re=ws(U,"stop",D,m),se=ws(U,"stop",j,m),ge=ws(U,"stop",L,m),ie=ws(U,"stop",Fe=>{G&&Fe.preventDefault(),E&&E(Fe)},m),Ae=ws(U,"start",X,m),Oe=ws(U,"stop",H,m),Ee=ws(U,"stop",V,m),me=ws(U,"stop",Fe=>{ol(Fe.target)||I(!1),A&&A(Fe)},!1),Ne=ir(Fe=>{Y.current||(Y.current=Fe.currentTarget),ol(Fe.target)&&(I(!0),k&&k(Fe)),C&&C(Fe)}),ve=()=>{const Fe=Y.current;return f&&f!=="button"&&!(Fe.tagName==="A"&&Fe.href)},Ge=ir(Fe=>{b&&!Fe.repeat&&G&&Fe.key===" "&&U.stop(Fe,()=>{U.start(Fe)}),Fe.target===Fe.currentTarget&&ve()&&Fe.key===" "&&Fe.preventDefault(),O&&O(Fe),Fe.target===Fe.currentTarget&&ve()&&Fe.key==="Enter"&&!d&&(Fe.preventDefault(),x&&x(Fe))}),Pt=ir(Fe=>{b&&Fe.key===" "&&G&&!Fe.defaultPrevented&&U.stop(Fe,()=>{U.pulsate(Fe)}),T&&T(Fe),x&&Fe.target===Fe.currentTarget&&ve()&&Fe.key===" "&&!Fe.defaultPrevented&&x(Fe)});let Be=f;Be==="button"&&(_.href||_.to)&&(Be=P);const pt={};Be==="button"?(pt.type=F===void 0?"button":F,pt.disabled=d):(!_.href&&!_.to&&(pt.role="button"),d&&(pt["aria-disabled"]=d));const ut=fn(n,Y),ht={...r,centerRipple:a,component:f,disabled:d,disableRipple:p,disableTouchRipple:m,focusRipple:b,tabIndex:B,focusVisible:G},At=Wj(ht);return v.jsxs(Jj,{as:Be,className:De(At.root,c),ownerState:ht,onBlur:me,onClick:x,onContextMenu:re,onFocus:Ne,onKeyDown:Ge,onKeyUp:Pt,onMouseDown:$,onMouseLeave:ie,onMouseUp:ge,onDragLeave:se,onTouchEnd:Oe,onTouchMove:Ee,onTouchStart:Ae,ref:ut,tabIndex:d?-1:B,type:F,...pt,..._,children:[l,Z?v.jsx(Vj,{ref:z,center:a,...J}):null]})});function ws(e,t,n,r=!1){return ir(s=>(n&&n(s),r||e[t](s),!0))}function qj(e){return typeof e.main=="string"}function Uj(e,t=[]){if(!qj(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function vn(e=[]){return([,t])=>t&&Uj(t,e)}function Yj(e){return Qe("MuiAlert",e)}const Gw=Ke("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function Gj(e){return Qe("MuiCircularProgress",e)}Ke("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const ti=44,Km=vu` 0% { transform: rotate(0deg); } @@ -121,7 +121,7 @@ Error generating stack: `+w.message+` 100% { transform: rotate(360deg); } -`,Qv=Tc` +`,_m=vu` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; @@ -136,22 +136,22 @@ Error generating stack: `+w.message+` stroke-dasharray: 1px, 200px; stroke-dashoffset: -126px; } -`,m7=typeof Zv!="string"?Xm` - animation: ${Zv} 1.4s linear infinite; - `:null,g7=typeof Qv!="string"?Xm` - animation: ${Qv} 1.4s ease-in-out infinite; - `:null,y7=e=>{const{classes:t,variant:n,color:r,disableShrink:s}=e,a={root:["root",n,`color${pe(r)}`],svg:["svg"],circle:["circle",`circle${pe(n)}`,s&&"circleDisableShrink"]};return _e(a,v7,t)},A7=fe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${pe(n.color)}`]]}})(tt(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:m7||{animation:`${Zv} 1.4s linear infinite`}},...Object.entries(e.palette).filter(dn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),P7=fe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),b7=fe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${pe(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(tt(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:g7||{animation:`${Qv} 1.4s ease-in-out infinite`}}]}))),Fa=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCircularProgress"}),{className:s,color:a="primary",disableShrink:l=!1,size:u=40,style:f,thickness:h=3.6,value:v=0,variant:m="indeterminate",...b}=r,S={...r,color:a,disableShrink:l,size:u,thickness:h,value:v,variant:m},P=y7(S),A={},x={},z={};if(m==="determinate"){const D=2*Math.PI*((Ns-h)/2);A.strokeDasharray=D.toFixed(3),z["aria-valuenow"]=Math.round(v),A.strokeDashoffset=`${((100-v)/100*D).toFixed(3)}px`,x.transform="rotate(-90deg)"}return p.jsx(A7,{className:ze(P.root,s),style:{width:u,height:u,...x,...f},ownerState:S,ref:n,role:"progressbar",...z,...b,children:p.jsx(P7,{className:P.svg,ownerState:S,viewBox:`${Ns/2} ${Ns/2} ${Ns} ${Ns}`,children:p.jsx(b7,{className:P.circle,style:A,ownerState:S,cx:Ns,cy:Ns,r:(Ns-h)/2,fill:"none",strokeWidth:h})})})});function w7(e){return Qe("MuiIconButton",e)}const Ob=Ke("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),x7=e=>{const{classes:t,disabled:n,color:r,edge:s,size:a,loading:l}=e,u={root:["root",l&&"loading",n&&"disabled",r!=="default"&&`color${pe(r)}`,s&&`edge${pe(s)}`,`size${pe(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return _e(u,w7,t)},S7=fe(Oi,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${pe(n.color)}`],n.edge&&t[`edge${pe(n.edge)}`],t[`size${pe(n.size)}`]]}})(tt(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),tt(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(dn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(dn()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:bt((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Ob.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Ob.loading}`]:{color:"transparent"}}))),H7=fe("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),gr=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiIconButton"}),{edge:s=!1,children:a,className:l,color:u="default",disabled:f=!1,disableFocusRipple:h=!1,size:v="medium",id:m,loading:b=null,loadingIndicator:S,...P}=r,A=oo(m),x=S??p.jsx(Fa,{"aria-labelledby":A,color:"inherit",size:16}),z={...r,edge:s,color:u,disabled:f,disableFocusRipple:h,loading:b,loadingIndicator:x,size:v},D=x7(z);return p.jsxs(S7,{id:b?A:m,className:ze(D.root,l),centerRipple:!0,focusRipple:!h,disabled:f||b,ref:n,...P,ownerState:z,children:[typeof b=="boolean"&&p.jsx("span",{className:D.loadingWrapper,style:{display:"contents"},children:p.jsx(H7,{className:D.loadingIndicator,ownerState:z,children:b&&x})}),a]})}),C7=Pt(p.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),j7=Pt(p.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),D7=Pt(p.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),z7=Pt(p.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),Qx=Pt(p.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),O7=e=>{const{variant:t,color:n,severity:r,classes:s}=e,a={root:["root",`color${pe(n||r)}`,`${t}${pe(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return _e(a,h7,s)},k7=fe(Vr,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${pe(n.color||n.severity)}`]]}})(tt(({theme:e})=>{const t=e.palette.mode==="light"?Di:zi,n=e.palette.mode==="light"?zi:Di;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(dn(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${zb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(dn(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${zb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(dn(["dark"])).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)}}}))]}})),R7=fe("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),E7=fe("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),T7=fe("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),kb={success:p.jsx(C7,{fontSize:"inherit"}),warning:p.jsx(j7,{fontSize:"inherit"}),error:p.jsx(D7,{fontSize:"inherit"}),info:p.jsx(z7,{fontSize:"inherit"})},rg=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiAlert"}),{action:s,children:a,className:l,closeText:u="Close",color:f,components:h={},componentsProps:v={},icon:m,iconMapping:b=kb,onClose:S,role:P="alert",severity:A="success",slotProps:x={},slots:z={},variant:D="standard",...C}=r,j={...r,color:f,severity:A,variant:D,colorSeverity:f||A},O=O7(j),E={slots:{closeButton:h.CloseButton,closeIcon:h.CloseIcon,...z},slotProps:{...v,...x}},[M,T]=at("root",{ref:n,shouldForwardComponentProp:!0,className:ze(O.root,l),elementType:k7,externalForwardedProps:{...E,...C},ownerState:j,additionalProps:{role:P,elevation:0}}),[I,H]=at("icon",{className:O.icon,elementType:R7,externalForwardedProps:E,ownerState:j}),[V,X]=at("message",{className:O.message,elementType:E7,externalForwardedProps:E,ownerState:j}),[N,Y]=at("action",{className:O.action,elementType:T7,externalForwardedProps:E,ownerState:j}),[q,W]=at("closeButton",{elementType:gr,externalForwardedProps:E,ownerState:j}),[ne,ee]=at("closeIcon",{elementType:Qx,externalForwardedProps:E,ownerState:j});return p.jsxs(M,{...T,children:[m!==!1?p.jsx(I,{...H,children:m||b[A]||kb[A]}):null,p.jsx(V,{...X,children:a}),s!=null?p.jsx(N,{...Y,children:s}):null,s==null&&S?p.jsx(N,{...Y,children:p.jsx(q,{size:"small","aria-label":u,title:u,color:"inherit",onClick:S,...W,children:p.jsx(ne,{fontSize:"small",...ee})})}):null]})});function M7(e){return Qe("MuiTypography",e)}const Rb=Ke("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),L7={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},I7=MH(),B7=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:s,variant:a,classes:l}=e,u={root:["root",a,e.align!=="inherit"&&`align${pe(t)}`,n&&"gutterBottom",r&&"noWrap",s&&"paragraph"]};return _e(u,M7,l)},N7=fe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${pe(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(tt(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,n])=>t!=="inherit"&&n&&typeof n=="object").map(([t,n])=>({props:{variant:t},style:n})),...Object.entries(e.palette).filter(dn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${pe(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}))),Eb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Ht=y.forwardRef(function(t,n){const{color:r,...s}=nt({props:t,name:"MuiTypography"}),a=!L7[r],l=I7({...s,...a&&{color:r}}),{align:u="inherit",className:f,component:h,gutterBottom:v=!1,noWrap:m=!1,paragraph:b=!1,variant:S="body1",variantMapping:P=Eb,...A}=l,x={...l,align:u,color:r,className:f,component:h,gutterBottom:v,noWrap:m,paragraph:b,variant:S,variantMapping:P},z=h||(b?"p":P[S]||Eb[S])||"span",D=B7(x);return p.jsx(N7,{as:z,ref:n,className:ze(D.root,f),...A,ownerState:x,style:{...u!=="inherit"&&{"--Typography-textAlign":u},...A.style}})});function V7(e){return Qe("MuiAppBar",e)}Ke("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const X7=e=>{const{color:t,position:n,classes:r}=e,s={root:["root",`color${pe(t)}`,`position${pe(n)}`]};return _e(s,V7,r)},Tb=(e,t)=>e?`${e?.replace(")","")}, ${t})`:t,F7=fe(Vr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${pe(n.position)}`],t[`color${pe(n.color)}`]]}})(tt(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(dn(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?Tb(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?Tb(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),W7=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiAppBar"}),{className:s,color:a="primary",enableColorOnDark:l=!1,position:u="fixed",...f}=r,h={...r,color:a,position:u,enableColorOnDark:l},v=X7(h);return p.jsx(F7,{square:!0,component:"header",ownerState:h,elevation:4,className:ze(v.root,s,u==="fixed"&&"mui-fixed"),ref:n,...f})});function Mb(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function J7(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:s="any",stringify:a,trim:l=!1}=e;return(u,{inputValue:f,getOptionLabel:h})=>{let v=l?f.trim():f;n&&(v=v.toLowerCase()),t&&(v=Mb(v));const m=v?u.filter(b=>{let S=(a||h)(b);return n&&(S=S.toLowerCase()),t&&(S=Mb(S)),s==="start"?S.startsWith(v):S.includes(v)}):u;return typeof r=="number"?m.slice(0,r):m}}const q7=J7(),Lb=5,U7=e=>e.current!==null&&e.current.parentElement?.contains(document.activeElement),Y7=[];function Ib(e,t,n){if(t||e==null)return"";const r=n(e);return typeof r=="string"?r:""}function G7(e){const{unstable_isActiveElementInListbox:t=U7,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:s=!1,autoSelect:a=!1,blurOnSelect:l=!1,clearOnBlur:u=!e.freeSolo,clearOnEscape:f=!1,componentName:h="useAutocomplete",defaultValue:v=e.multiple?Y7:null,disableClearable:m=!1,disableCloseOnSelect:b=!1,disabled:S,disabledItemsFocusable:P=!1,disableListWrap:A=!1,filterOptions:x=q7,filterSelectedOptions:z=!1,freeSolo:D=!1,getOptionDisabled:C,getOptionKey:j,getOptionLabel:O=de=>de.label??de,groupBy:E,handleHomeEndKeys:M=!e.freeSolo,id:T,includeInputInList:I=!1,inputValue:H,isOptionEqualToValue:V=(de,he)=>de===he,multiple:X=!1,onChange:N,onClose:Y,onHighlightChange:q,onInputChange:W,onOpen:ne,open:ee,openOnFocus:U=!1,options:R,readOnly:J=!1,selectOnFocus:L=!e.freeSolo,value:Z}=e,$=oo(T);let oe=O;oe=de=>{const he=O(de);return typeof he!="string"?String(he):he};const ae=y.useRef(!1),be=y.useRef(!0),ie=y.useRef(null),He=y.useRef(null),[ke,Le]=y.useState(null),[ge,Je]=y.useState(-1),ve=s?0:-1,Ge=y.useRef(ve),At=y.useRef(Ib(v??Z,X,oe)).current,[Be,ft]=qs({controlled:Z,default:v,name:h}),[lt,dt]=qs({controlled:H,default:At,name:h,state:"inputValue"}),[gt,Xe]=y.useState(!1),kt=y.useCallback((de,he,We)=>{if(!(X?Be.length!(z&&(X?Be:[Be]).some(he=>he!==null&&V(de,he)))),{inputValue:Pe&&re?"":lt,getOptionLabel:oe}):[],Se=w4({filteredOptions:xe,value:Be,inputValue:lt});y.useEffect(()=>{const de=Be!==Se.value;gt&&!de||D&&!de||kt(null,Be,"reset")},[Be,kt,gt,Se.value,D]);const ct=B&&xe.length>0&&!J,wt=nr(de=>{de===-1?ie.current.focus():ke.querySelector(`[data-tag-index="${de}"]`).focus()});y.useEffect(()=>{X&&ge>Be.length-1&&(Je(-1),wt(-1))},[Be,X,ge,wt]);function Ve(de,he){if(!He.current||de<0||de>=xe.length)return-1;let We=de;for(;;){const xt=He.current.querySelector(`[data-option-index="${We}"]`),Ct=P?!1:!xt||xt.disabled||xt.getAttribute("aria-disabled")==="true";if(xt&&xt.hasAttribute("tabindex")&&!Ct)return We;if(he==="next"?We=(We+1)%xe.length:We=(We-1+xe.length)%xe.length,We===de)return-1}}const Q=nr(({event:de,index:he,reason:We})=>{if(Ge.current=he,he===-1?ie.current.removeAttribute("aria-activedescendant"):ie.current.setAttribute("aria-activedescendant",`${$}-option-${he}`),q&&["mouse","keyboard","touch"].includes(We)&&q(de,he===-1?null:xe[he],We),!He.current)return;const xt=He.current.querySelector(`[role="option"].${n}-focused`);xt&&(xt.classList.remove(`${n}-focused`),xt.classList.remove(`${n}-focusVisible`));let Ct=He.current;if(He.current.getAttribute("role")!=="listbox"&&(Ct=He.current.parentElement.querySelector('[role="listbox"]')),!Ct)return;if(he===-1){Ct.scrollTop=0;return}const Nt=He.current.querySelector(`[data-option-index="${he}"]`);if(Nt&&(Nt.classList.add(`${n}-focused`),We==="keyboard"&&Nt.classList.add(`${n}-focusVisible`),Ct.scrollHeight>Ct.clientHeight&&We!=="mouse"&&We!=="touch")){const Ut=Nt,En=Ct.clientHeight+Ct.scrollTop,Wr=Ut.offsetTop+Ut.offsetHeight;Wr>En?Ct.scrollTop=Wr-Ct.clientHeight:Ut.offsetTop-Ut.offsetHeight*(E?1.3:0){if(!ye)return;const Nt=Ve((()=>{const Ut=xe.length-1;if(he==="reset")return ve;if(he==="start")return 0;if(he==="end")return Ut;const En=Ge.current+he;return En<0?En===-1&&I?-1:A&&Ge.current!==-1||Math.abs(he)>1?0:Ut:En>Ut?En===Ut+1&&I?-1:A||Math.abs(he)>1?Ut:0:En})(),We);if(Q({index:Nt,reason:xt,event:de}),r&&he!=="reset")if(Nt===-1)ie.current.value=lt;else{const Ut=oe(xe[Nt]);ie.current.value=Ut,Ut.toLowerCase().indexOf(lt.toLowerCase())===0&<.length>0&&ie.current.setSelectionRange(lt.length,Ut.length)}}),Ae=()=>{const de=(he,We)=>{const xt=he?oe(he):"",Ct=We?oe(We):"";return xt===Ct};if(Ge.current!==-1&&Se.filteredOptions&&Se.filteredOptions.length!==xe.length&&Se.inputValue===lt&&(X?Be.length===Se.value.length&&Se.value.every((he,We)=>oe(Be[We])===oe(he)):de(Se.value,Be))){const he=Se.filteredOptions[Ge.current];if(he)return xe.findIndex(We=>oe(We)===oe(he))}return-1},De=y.useCallback(()=>{if(!ye)return;const de=Ae();if(de!==-1){Ge.current=de;return}const he=X?Be[0]:Be;if(xe.length===0||he==null){G({diff:"reset"});return}if(He.current){if(he!=null){const We=xe[Ge.current];if(X&&We&&Be.findIndex(Ct=>V(We,Ct))!==-1)return;const xt=xe.findIndex(Ct=>V(Ct,he));xt===-1?G({diff:"reset"}):Q({index:xt});return}if(Ge.current>=xe.length-1){Q({index:xe.length-1});return}Q({index:Ge.current})}},[xe.length,X?!1:Be,z,G,Q,ye,lt,X]),Re=nr(de=>{Wv(He,de),de&&De()});y.useEffect(()=>{De()},[De]);const Ee=de=>{B||(_(!0),we(!0),ne&&ne(de))},Ue=(de,he)=>{B&&(_(!1),Y&&Y(de,he))},Ie=(de,he,We,xt)=>{if(X){if(Be.length===he.length&&Be.every((Ct,Nt)=>Ct===he[Nt]))return}else if(Be===he)return;N&&N(de,he,We,xt),ft(he)},rt=y.useRef(!1),ut=(de,he,We="selectOption",xt="options")=>{let Ct=We,Nt=he;if(X){Nt=Array.isArray(Be)?Be.slice():[];const Ut=Nt.findIndex(En=>V(he,En));Ut===-1?Nt.push(he):xt!=="freeSolo"&&(Nt.splice(Ut,1),Ct="removeOption")}kt(de,Nt,Ct),Ie(de,Nt,Ct,{option:he}),!b&&(!de||!de.ctrlKey&&!de.metaKey)&&Ue(de,Ct),(l===!0||l==="touch"&&rt.current||l==="mouse"&&!rt.current)&&ie.current.blur()};function Tt(de,he){if(de===-1)return-1;let We=de;for(;;){if(he==="next"&&We===Be.length||he==="previous"&&We===-1)return-1;const xt=ke.querySelector(`[data-tag-index="${We}"]`);if(!xt||!xt.hasAttribute("tabindex")||xt.disabled||xt.getAttribute("aria-disabled")==="true")We+=he==="next"?1:-1;else return We}}const qt=(de,he)=>{if(!X)return;lt===""&&Ue(de,"toggleInput");let We=ge;ge===-1?lt===""&&he==="previous"&&(We=Be.length-1):(We+=he==="next"?1:-1,We<0&&(We=0),We===Be.length&&(We=-1)),We=Tt(We,he),Je(We),wt(We)},Ye=de=>{ae.current=!0,dt(""),W&&W(de,"","clear"),Ie(de,X?[]:null,"clear")},It=de=>he=>{if(de.onKeyDown&&de.onKeyDown(he),!he.defaultMuiPrevented&&(ge!==-1&&!["ArrowLeft","ArrowRight"].includes(he.key)&&(Je(-1),wt(-1)),he.which!==229))switch(he.key){case"Home":ye&&M&&(he.preventDefault(),G({diff:"start",direction:"next",reason:"keyboard",event:he}));break;case"End":ye&&M&&(he.preventDefault(),G({diff:"end",direction:"previous",reason:"keyboard",event:he}));break;case"PageUp":he.preventDefault(),G({diff:-Lb,direction:"previous",reason:"keyboard",event:he}),Ee(he);break;case"PageDown":he.preventDefault(),G({diff:Lb,direction:"next",reason:"keyboard",event:he}),Ee(he);break;case"ArrowDown":he.preventDefault(),G({diff:1,direction:"next",reason:"keyboard",event:he}),Ee(he);break;case"ArrowUp":he.preventDefault(),G({diff:-1,direction:"previous",reason:"keyboard",event:he}),Ee(he);break;case"ArrowLeft":qt(he,"previous");break;case"ArrowRight":qt(he,"next");break;case"Enter":if(Ge.current!==-1&&ye){const We=xe[Ge.current],xt=C?C(We):!1;if(he.preventDefault(),xt)return;ut(he,We,"selectOption"),r&&ie.current.setSelectionRange(ie.current.value.length,ie.current.value.length)}else D&<!==""&&Pe===!1&&(X&&he.preventDefault(),ut(he,lt,"createOption","freeSolo"));break;case"Escape":ye?(he.preventDefault(),he.stopPropagation(),Ue(he,"escape")):f&&(lt!==""||X&&Be.length>0)&&(he.preventDefault(),he.stopPropagation(),Ye(he));break;case"Backspace":if(X&&!J&<===""&&Be.length>0){const We=ge===-1?Be.length-1:ge,xt=Be.slice();xt.splice(We,1),Ie(he,xt,"removeOption",{option:Be[We]})}break;case"Delete":if(X&&!J&<===""&&Be.length>0&&ge!==-1){const We=ge,xt=Be.slice();xt.splice(We,1),Ie(he,xt,"removeOption",{option:Be[We]})}break}},Cn=de=>{Xe(!0),U&&!ae.current&&Ee(de)},hn=de=>{if(t(He)){ie.current.focus();return}Xe(!1),be.current=!0,ae.current=!1,a&&Ge.current!==-1&&ye?ut(de,xe[Ge.current],"blur"):a&&D&<!==""?ut(de,lt,"blur","freeSolo"):u&&kt(de,Be,"blur"),Ue(de,"blur")},Fn=de=>{const he=de.target.value;lt!==he&&(dt(he),we(!1),W&&W(de,he,"input")),he===""?!m&&!X&&Ie(de,null,"clear"):Ee(de)},vn=de=>{const he=Number(de.currentTarget.getAttribute("data-option-index"));Ge.current!==he&&Q({event:de,index:he,reason:"mouse"})},Cr=de=>{Q({event:de,index:Number(de.currentTarget.getAttribute("data-option-index")),reason:"touch"}),rt.current=!0},co=de=>{const he=Number(de.currentTarget.getAttribute("data-option-index"));ut(de,xe[he],"selectOption"),rt.current=!1},Mo=de=>he=>{const We=Be.slice();We.splice(de,1),Ie(he,We,"removeOption",{option:Be[de]})},Lo=de=>{B?Ue(de,"toggleInput"):Ee(de)},uo=de=>{de.currentTarget.contains(de.target)&&de.target.getAttribute("id")!==$&&de.preventDefault()},mn=de=>{de.currentTarget.contains(de.target)&&(ie.current.focus(),L&&be.current&&ie.current.selectionEnd-ie.current.selectionStart===0&&ie.current.select(),be.current=!1)},Me=de=>{!S&&(lt===""||!B)&&Lo(de)};let qe=D&<.length>0;qe=qe||(X?Be.length>0:Be!==null);let ht=xe;return E&&(ht=xe.reduce((de,he,We)=>{const xt=E(he);return de.length>0&&de[de.length-1].group===xt?de[de.length-1].options.push(he):de.push({key:We,index:We,group:xt,options:[he]}),de},[])),S&>&&hn(),{getRootProps:(de={})=>({...de,onKeyDown:It(de),onMouseDown:uo,onClick:mn}),getInputLabelProps:()=>({id:`${$}-label`,htmlFor:$}),getInputProps:()=>({id:$,value:lt,onBlur:hn,onFocus:Cn,onChange:Fn,onMouseDown:Me,"aria-activedescendant":ye?"":null,"aria-autocomplete":r?"both":"list","aria-controls":ct?`${$}-listbox`:void 0,"aria-expanded":ct,autoComplete:"off",ref:ie,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:S}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ye}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Lo}),getTagProps:({index:de})=>({key:de,"data-tag-index":de,tabIndex:-1,...!J&&{onDelete:Mo(de)}}),getListboxProps:()=>({role:"listbox",id:`${$}-listbox`,"aria-labelledby":`${$}-label`,ref:Re,onMouseDown:de=>{de.preventDefault()}}),getOptionProps:({index:de,option:he})=>{const We=(X?Be:[Be]).some(Ct=>Ct!=null&&V(he,Ct)),xt=C?C(he):!1;return{key:j?.(he)??oe(he),tabIndex:-1,role:"option",id:`${$}-option-${de}`,onMouseMove:vn,onClick:co,onTouchStart:Cr,"data-option-index":de,"aria-disabled":xt,"aria-selected":We}},id:$,inputValue:lt,value:Be,dirty:qe,expanded:ye&&ke,popupOpen:ye,focused:gt||ge!==-1,anchorEl:ke,setAnchorEl:Le,focusedTag:ge,groupedOptions:ht}}var yr="top",so="bottom",io="right",Ar="left",og="auto",Nc=[yr,so,io,Ar],Ea="start",Ac="end",Z7="clippingParents",Kx="viewport",El="popper",Q7="reference",Bb=Nc.reduce(function(e,t){return e.concat([t+"-"+Ea,t+"-"+Ac])},[]),_x=[].concat(Nc,[og]).reduce(function(e,t){return e.concat([t,t+"-"+Ea,t+"-"+Ac])},[]),K7="beforeRead",_7="read",$7="afterRead",eC="beforeMain",tC="main",nC="afterMain",rC="beforeWrite",oC="write",sC="afterWrite",iC=[K7,_7,$7,eC,tC,nC,rC,oC,sC];function Ko(e){return e?(e.nodeName||"").toLowerCase():null}function Xr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ki(e){var t=Xr(e).Element;return e instanceof t||e instanceof Element}function ro(e){var t=Xr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function sg(e){if(typeof ShadowRoot>"u")return!1;var t=Xr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function aC(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},a=t.elements[n];!ro(a)||!Ko(a)||(Object.assign(a.style,r),Object.keys(s).forEach(function(l){var u=s[l];u===!1?a.removeAttribute(l):a.setAttribute(l,u===!0?"":u)}))})}function lC(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var s=t.elements[r],a=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),u=l.reduce(function(f,h){return f[h]="",f},{});!ro(s)||!Ko(s)||(Object.assign(s.style,u),Object.keys(a).forEach(function(f){s.removeAttribute(f)}))})}}const cC={name:"applyStyles",enabled:!0,phase:"write",fn:aC,effect:lC,requires:["computeStyles"]};function Zo(e){return e.split("-")[0]}var Hi=Math.max,nd=Math.min,Ta=Math.round;function Kv(){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 $x(){return!/^((?!chrome|android).)*safari/i.test(Kv())}function Ma(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,a=1;t&&ro(e)&&(s=e.offsetWidth>0&&Ta(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Ta(r.height)/e.offsetHeight||1);var l=ki(e)?Xr(e):window,u=l.visualViewport,f=!$x()&&n,h=(r.left+(f&&u?u.offsetLeft:0))/s,v=(r.top+(f&&u?u.offsetTop:0))/a,m=r.width/s,b=r.height/a;return{width:m,height:b,top:v,right:h+m,bottom:v+b,left:h,x:h,y:v}}function ig(e){var t=Ma(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function e0(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&sg(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ms(e){return Xr(e).getComputedStyle(e)}function uC(e){return["table","td","th"].indexOf(Ko(e))>=0}function Ks(e){return((ki(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ed(e){return Ko(e)==="html"?e:e.assignedSlot||e.parentNode||(sg(e)?e.host:null)||Ks(e)}function Nb(e){return!ro(e)||ms(e).position==="fixed"?null:e.offsetParent}function fC(e){var t=/firefox/i.test(Kv()),n=/Trident/i.test(Kv());if(n&&ro(e)){var r=ms(e);if(r.position==="fixed")return null}var s=Ed(e);for(sg(s)&&(s=s.host);ro(s)&&["html","body"].indexOf(Ko(s))<0;){var a=ms(s);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return s;s=s.parentNode}return null}function Vc(e){for(var t=Xr(e),n=Nb(e);n&&uC(n)&&ms(n).position==="static";)n=Nb(n);return n&&(Ko(n)==="html"||Ko(n)==="body"&&ms(n).position==="static")?t:n||fC(e)||t}function ag(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ic(e,t,n){return Hi(e,nd(t,n))}function dC(e,t,n){var r=ic(e,t,n);return r>n?n:r}function t0(){return{top:0,right:0,bottom:0,left:0}}function n0(e){return Object.assign({},t0(),e)}function r0(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var pC=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,n0(typeof t!="number"?t:r0(t,Nc))};function hC(e){var t,n=e.state,r=e.name,s=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=Zo(n.placement),f=ag(u),h=[Ar,io].indexOf(u)>=0,v=h?"height":"width";if(!(!a||!l)){var m=pC(s.padding,n),b=ig(a),S=f==="y"?yr:Ar,P=f==="y"?so:io,A=n.rects.reference[v]+n.rects.reference[f]-l[f]-n.rects.popper[v],x=l[f]-n.rects.reference[f],z=Vc(a),D=z?f==="y"?z.clientHeight||0:z.clientWidth||0:0,C=A/2-x/2,j=m[S],O=D-b[v]-m[P],E=D/2-b[v]/2+C,M=ic(j,E,O),T=f;n.modifiersData[r]=(t={},t[T]=M,t.centerOffset=M-E,t)}}function vC(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||e0(t.elements.popper,s)&&(t.elements.arrow=s))}const mC={name:"arrow",enabled:!0,phase:"main",fn:hC,effect:vC,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function La(e){return e.split("-")[1]}var gC={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yC(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:Ta(n*s)/s||0,y:Ta(r*s)/s||0}}function Vb(e){var t,n=e.popper,r=e.popperRect,s=e.placement,a=e.variation,l=e.offsets,u=e.position,f=e.gpuAcceleration,h=e.adaptive,v=e.roundOffsets,m=e.isFixed,b=l.x,S=b===void 0?0:b,P=l.y,A=P===void 0?0:P,x=typeof v=="function"?v({x:S,y:A}):{x:S,y:A};S=x.x,A=x.y;var z=l.hasOwnProperty("x"),D=l.hasOwnProperty("y"),C=Ar,j=yr,O=window;if(h){var E=Vc(n),M="clientHeight",T="clientWidth";if(E===Xr(n)&&(E=Ks(n),ms(E).position!=="static"&&u==="absolute"&&(M="scrollHeight",T="scrollWidth")),E=E,s===yr||(s===Ar||s===io)&&a===Ac){j=so;var I=m&&E===O&&O.visualViewport?O.visualViewport.height:E[M];A-=I-r.height,A*=f?1:-1}if(s===Ar||(s===yr||s===so)&&a===Ac){C=io;var H=m&&E===O&&O.visualViewport?O.visualViewport.width:E[T];S-=H-r.width,S*=f?1:-1}}var V=Object.assign({position:u},h&&gC),X=v===!0?yC({x:S,y:A},Xr(n)):{x:S,y:A};if(S=X.x,A=X.y,f){var N;return Object.assign({},V,(N={},N[j]=D?"0":"",N[C]=z?"0":"",N.transform=(O.devicePixelRatio||1)<=1?"translate("+S+"px, "+A+"px)":"translate3d("+S+"px, "+A+"px, 0)",N))}return Object.assign({},V,(t={},t[j]=D?A+"px":"",t[C]=z?S+"px":"",t.transform="",t))}function AC(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,a=n.adaptive,l=a===void 0?!0:a,u=n.roundOffsets,f=u===void 0?!0:u,h={placement:Zo(t.placement),variation:La(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Vb(Object.assign({},h,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Vb(Object.assign({},h,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const PC={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:AC,data:{}};var pf={passive:!0};function bC(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,a=s===void 0?!0:s,l=r.resize,u=l===void 0?!0:l,f=Xr(t.elements.popper),h=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&h.forEach(function(v){v.addEventListener("scroll",n.update,pf)}),u&&f.addEventListener("resize",n.update,pf),function(){a&&h.forEach(function(v){v.removeEventListener("scroll",n.update,pf)}),u&&f.removeEventListener("resize",n.update,pf)}}const wC={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:bC,data:{}};var xC={left:"right",right:"left",bottom:"top",top:"bottom"};function If(e){return e.replace(/left|right|bottom|top/g,function(t){return xC[t]})}var SC={start:"end",end:"start"};function Xb(e){return e.replace(/start|end/g,function(t){return SC[t]})}function lg(e){var t=Xr(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function cg(e){return Ma(Ks(e)).left+lg(e).scrollLeft}function HC(e,t){var n=Xr(e),r=Ks(e),s=n.visualViewport,a=r.clientWidth,l=r.clientHeight,u=0,f=0;if(s){a=s.width,l=s.height;var h=$x();(h||!h&&t==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:a,height:l,x:u+cg(e),y:f}}function CC(e){var t,n=Ks(e),r=lg(e),s=(t=e.ownerDocument)==null?void 0:t.body,a=Hi(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),l=Hi(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),u=-r.scrollLeft+cg(e),f=-r.scrollTop;return ms(s||n).direction==="rtl"&&(u+=Hi(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:l,x:u,y:f}}function ug(e){var t=ms(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function o0(e){return["html","body","#document"].indexOf(Ko(e))>=0?e.ownerDocument.body:ro(e)&&ug(e)?e:o0(Ed(e))}function ac(e,t){var n;t===void 0&&(t=[]);var r=o0(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),a=Xr(r),l=s?[a].concat(a.visualViewport||[],ug(r)?r:[]):r,u=t.concat(l);return s?u:u.concat(ac(Ed(l)))}function _v(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function jC(e,t){var n=Ma(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 Fb(e,t,n){return t===Kx?_v(HC(e,n)):ki(t)?jC(t,n):_v(CC(Ks(e)))}function DC(e){var t=ac(Ed(e)),n=["absolute","fixed"].indexOf(ms(e).position)>=0,r=n&&ro(e)?Vc(e):e;return ki(r)?t.filter(function(s){return ki(s)&&e0(s,r)&&Ko(s)!=="body"}):[]}function zC(e,t,n,r){var s=t==="clippingParents"?DC(e):[].concat(t),a=[].concat(s,[n]),l=a[0],u=a.reduce(function(f,h){var v=Fb(e,h,r);return f.top=Hi(v.top,f.top),f.right=nd(v.right,f.right),f.bottom=nd(v.bottom,f.bottom),f.left=Hi(v.left,f.left),f},Fb(e,l,r));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function s0(e){var t=e.reference,n=e.element,r=e.placement,s=r?Zo(r):null,a=r?La(r):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,f;switch(s){case yr:f={x:l,y:t.y-n.height};break;case so:f={x:l,y:t.y+t.height};break;case io:f={x:t.x+t.width,y:u};break;case Ar:f={x:t.x-n.width,y:u};break;default:f={x:t.x,y:t.y}}var h=s?ag(s):null;if(h!=null){var v=h==="y"?"height":"width";switch(a){case Ea:f[h]=f[h]-(t[v]/2-n[v]/2);break;case Ac:f[h]=f[h]+(t[v]/2-n[v]/2);break}}return f}function Pc(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,a=n.strategy,l=a===void 0?e.strategy:a,u=n.boundary,f=u===void 0?Z7:u,h=n.rootBoundary,v=h===void 0?Kx:h,m=n.elementContext,b=m===void 0?El:m,S=n.altBoundary,P=S===void 0?!1:S,A=n.padding,x=A===void 0?0:A,z=n0(typeof x!="number"?x:r0(x,Nc)),D=b===El?Q7:El,C=e.rects.popper,j=e.elements[P?D:b],O=zC(ki(j)?j:j.contextElement||Ks(e.elements.popper),f,v,l),E=Ma(e.elements.reference),M=s0({reference:E,element:C,placement:s}),T=_v(Object.assign({},C,M)),I=b===El?T:E,H={top:O.top-I.top+z.top,bottom:I.bottom-O.bottom+z.bottom,left:O.left-I.left+z.left,right:I.right-O.right+z.right},V=e.modifiersData.offset;if(b===El&&V){var X=V[s];Object.keys(H).forEach(function(N){var Y=[io,so].indexOf(N)>=0?1:-1,q=[yr,so].indexOf(N)>=0?"y":"x";H[N]+=X[q]*Y})}return H}function OC(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,a=n.rootBoundary,l=n.padding,u=n.flipVariations,f=n.allowedAutoPlacements,h=f===void 0?_x:f,v=La(r),m=v?u?Bb:Bb.filter(function(P){return La(P)===v}):Nc,b=m.filter(function(P){return h.indexOf(P)>=0});b.length===0&&(b=m);var S=b.reduce(function(P,A){return P[A]=Pc(e,{placement:A,boundary:s,rootBoundary:a,padding:l})[Zo(A)],P},{});return Object.keys(S).sort(function(P,A){return S[P]-S[A]})}function kC(e){if(Zo(e)===og)return[];var t=If(e);return[Xb(e),t,Xb(t)]}function RC(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!0:l,f=n.fallbackPlacements,h=n.padding,v=n.boundary,m=n.rootBoundary,b=n.altBoundary,S=n.flipVariations,P=S===void 0?!0:S,A=n.allowedAutoPlacements,x=t.options.placement,z=Zo(x),D=z===x,C=f||(D||!P?[If(x)]:kC(x)),j=[x].concat(C).reduce(function($,oe){return $.concat(Zo(oe)===og?OC(t,{placement:oe,boundary:v,rootBoundary:m,padding:h,flipVariations:P,allowedAutoPlacements:A}):oe)},[]),O=t.rects.reference,E=t.rects.popper,M=new Map,T=!0,I=j[0],H=0;H=0,q=Y?"width":"height",W=Pc(t,{placement:V,boundary:v,rootBoundary:m,altBoundary:b,padding:h}),ne=Y?N?io:Ar:N?so:yr;O[q]>E[q]&&(ne=If(ne));var ee=If(ne),U=[];if(a&&U.push(W[X]<=0),u&&U.push(W[ne]<=0,W[ee]<=0),U.every(function($){return $})){I=V,T=!1;break}M.set(V,U)}if(T)for(var R=P?3:1,J=function(oe){var ae=j.find(function(be){var ie=M.get(be);if(ie)return ie.slice(0,oe).every(function(He){return He})});if(ae)return I=ae,"break"},L=R;L>0;L--){var Z=J(L);if(Z==="break")break}t.placement!==I&&(t.modifiersData[r]._skip=!0,t.placement=I,t.reset=!0)}}const EC={name:"flip",enabled:!0,phase:"main",fn:RC,requiresIfExists:["offset"],data:{_skip:!1}};function Wb(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 Jb(e){return[yr,io,so,Ar].some(function(t){return e[t]>=0})}function TC(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,l=Pc(t,{elementContext:"reference"}),u=Pc(t,{altBoundary:!0}),f=Wb(l,r),h=Wb(u,s,a),v=Jb(f),m=Jb(h);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:h,isReferenceHidden:v,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":v,"data-popper-escaped":m})}const MC={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:TC};function LC(e,t,n){var r=Zo(e),s=[Ar,yr].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],u=a[1];return l=l||0,u=(u||0)*s,[Ar,io].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}function IC(e){var t=e.state,n=e.options,r=e.name,s=n.offset,a=s===void 0?[0,0]:s,l=_x.reduce(function(v,m){return v[m]=LC(m,t.rects,a),v},{}),u=l[t.placement],f=u.x,h=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=h),t.modifiersData[r]=l}const BC={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:IC};function NC(e){var t=e.state,n=e.name;t.modifiersData[n]=s0({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const VC={name:"popperOffsets",enabled:!0,phase:"read",fn:NC,data:{}};function XC(e){return e==="x"?"y":"x"}function FC(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!1:l,f=n.boundary,h=n.rootBoundary,v=n.altBoundary,m=n.padding,b=n.tether,S=b===void 0?!0:b,P=n.tetherOffset,A=P===void 0?0:P,x=Pc(t,{boundary:f,rootBoundary:h,padding:m,altBoundary:v}),z=Zo(t.placement),D=La(t.placement),C=!D,j=ag(z),O=XC(j),E=t.modifiersData.popperOffsets,M=t.rects.reference,T=t.rects.popper,I=typeof A=="function"?A(Object.assign({},t.rects,{placement:t.placement})):A,H=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,X={x:0,y:0};if(E){if(a){var N,Y=j==="y"?yr:Ar,q=j==="y"?so:io,W=j==="y"?"height":"width",ne=E[j],ee=ne+x[Y],U=ne-x[q],R=S?-T[W]/2:0,J=D===Ea?M[W]:T[W],L=D===Ea?-T[W]:-M[W],Z=t.elements.arrow,$=S&&Z?ig(Z):{width:0,height:0},oe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:t0(),ae=oe[Y],be=oe[q],ie=ic(0,M[W],$[W]),He=C?M[W]/2-R-ie-ae-H.mainAxis:J-ie-ae-H.mainAxis,ke=C?-M[W]/2+R+ie+be+H.mainAxis:L+ie+be+H.mainAxis,Le=t.elements.arrow&&Vc(t.elements.arrow),ge=Le?j==="y"?Le.clientTop||0:Le.clientLeft||0:0,Je=(N=V?.[j])!=null?N:0,ve=ne+He-Je-ge,Ge=ne+ke-Je,At=ic(S?nd(ee,ve):ee,ne,S?Hi(U,Ge):U);E[j]=At,X[j]=At-ne}if(u){var Be,ft=j==="x"?yr:Ar,lt=j==="x"?so:io,dt=E[O],gt=O==="y"?"height":"width",Xe=dt+x[ft],kt=dt-x[lt],B=[yr,Ar].indexOf(z)!==-1,_=(Be=V?.[O])!=null?Be:0,re=B?Xe:dt-M[gt]-T[gt]-_+H.altAxis,we=B?dt+M[gt]+T[gt]-_-H.altAxis:kt,Pe=S&&B?dC(re,dt,we):ic(S?re:Xe,dt,S?we:kt);E[O]=Pe,X[O]=Pe-dt}t.modifiersData[r]=X}}const WC={name:"preventOverflow",enabled:!0,phase:"main",fn:FC,requiresIfExists:["offset"]};function JC(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function qC(e){return e===Xr(e)||!ro(e)?lg(e):JC(e)}function UC(e){var t=e.getBoundingClientRect(),n=Ta(t.width)/e.offsetWidth||1,r=Ta(t.height)/e.offsetHeight||1;return n!==1||r!==1}function YC(e,t,n){n===void 0&&(n=!1);var r=ro(t),s=ro(t)&&UC(t),a=Ks(t),l=Ma(e,s,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((Ko(t)!=="body"||ug(a))&&(u=qC(t)),ro(t)?(f=Ma(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=cg(a))),{x:l.left+u.scrollLeft-f.x,y:l.top+u.scrollTop-f.y,width:l.width,height:l.height}}function GC(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function s(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var f=t.get(u);f&&s(f)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||s(a)}),r}function ZC(e){var t=GC(e);return iC.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function QC(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function KC(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var qb={placement:"bottom",modifiers:[],strategy:"absolute"};function Ub(){for(var e=arguments.length,t=new Array(e),n=0;n{a||u(tj(s)||document.body)},[s,a]),Sr(()=>{if(l&&!a)return Wv(n,l),()=>{Wv(n,null)}},[n,l,a]),a){if(y.isValidElement(r)){const h={ref:f};return y.cloneElement(r,h)}return r}return l&&Zx.createPortal(r,l)});function nj(e){return Qe("MuiPopper",e)}Ke("MuiPopper",["root"]);function rj(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function $v(e){return typeof e=="function"?e():e}function oj(e){return e.nodeType!==void 0}const sj=e=>{const{classes:t}=e;return _e({root:["root"]},nj,t)},ij={},aj=y.forwardRef(function(t,n){const{anchorEl:r,children:s,direction:a,disablePortal:l,modifiers:u,open:f,placement:h,popperOptions:v,popperRef:m,slotProps:b={},slots:S={},TransitionProps:P,ownerState:A,...x}=t,z=y.useRef(null),D=ln(z,n),C=y.useRef(null),j=ln(C,m),O=y.useRef(j);Sr(()=>{O.current=j},[j]),y.useImperativeHandle(m,()=>C.current,[]);const E=rj(h,a),[M,T]=y.useState(E),[I,H]=y.useState($v(r));y.useEffect(()=>{C.current&&C.current.forceUpdate()}),y.useEffect(()=>{r&&H($v(r))},[r]),Sr(()=>{if(!I||!f)return;const q=ee=>{T(ee.placement)};let W=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:ee})=>{q(ee)}}];u!=null&&(W=W.concat(u)),v&&v.modifiers!=null&&(W=W.concat(v.modifiers));const ne=ej(I,z.current,{placement:E,...v,modifiers:W});return O.current(ne),()=>{ne.destroy(),O.current(null)}},[I,l,u,f,v,E]);const V={placement:M};P!==null&&(V.TransitionProps=P);const X=sj(t),N=S.root??"div",Y=Tx({elementType:N,externalSlotProps:b.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:D},ownerState:t,className:X.root});return p.jsx(N,{...Y,children:typeof s=="function"?s(V):s})}),lj=y.forwardRef(function(t,n){const{anchorEl:r,children:s,container:a,direction:l="ltr",disablePortal:u=!1,keepMounted:f=!1,modifiers:h,open:v,placement:m="bottom",popperOptions:b=ij,popperRef:S,style:P,transition:A=!1,slotProps:x={},slots:z={},...D}=t,[C,j]=y.useState(!0),O=()=>{j(!1)},E=()=>{j(!0)};if(!f&&!v&&(!A||C))return null;let M;if(a)M=a;else if(r){const H=$v(r);M=H&&oj(H)?rr(H).body:rr(null).body}const T=!v&&f&&(!A||C)?"none":void 0,I=A?{in:v,onEnter:O,onExited:E}:void 0;return p.jsx(i0,{disablePortal:u,container:M,children:p.jsx(aj,{anchorEl:r,direction:l,disablePortal:u,modifiers:h,ref:n,open:A?!C:v,placement:m,popperOptions:b,popperRef:S,slotProps:x,slots:z,...D,style:{position:"fixed",top:0,left:0,display:T,...P},TransitionProps:I,children:s})})}),cj=fe(lj,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Td=y.forwardRef(function(t,n){const r=Ic(),s=nt({props:t,name:"MuiPopper"}),{anchorEl:a,component:l,components:u,componentsProps:f,container:h,disablePortal:v,keepMounted:m,modifiers:b,open:S,placement:P,popperOptions:A,popperRef:x,transition:z,slots:D,slotProps:C,...j}=s,O=D?.root??u?.Root,E={anchorEl:a,container:h,disablePortal:v,keepMounted:m,modifiers:b,open:S,placement:P,popperOptions:A,popperRef:x,transition:z,...j};return p.jsx(cj,{as:l,direction:r?"rtl":"ltr",slots:{root:O},slotProps:C??f,...E,ref:n})});function uj(e){return Qe("MuiListSubheader",e)}Ke("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const fj=e=>{const{classes:t,color:n,disableGutters:r,inset:s,disableSticky:a}=e,l={root:["root",n!=="default"&&`color${pe(n)}`,!r&&"gutters",s&&"inset",!a&&"sticky"]};return _e(l,uj,t)},dj=fe("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${pe(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(tt(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),em=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListSubheader"}),{className:s,color:a="default",component:l="li",disableGutters:u=!1,disableSticky:f=!1,inset:h=!1,...v}=r,m={...r,color:a,component:l,disableGutters:u,disableSticky:f,inset:h},b=fj(m);return p.jsx(dj,{as:l,className:ze(b.root,s),ref:n,ownerState:m,...v})});em&&(em.muiSkipListHighlight=!0);const pj=Pt(p.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function hj(e){return Qe("MuiChip",e)}const Et=Ke("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),vj=e=>{const{classes:t,disabled:n,size:r,color:s,iconColor:a,onDelete:l,clickable:u,variant:f}=e,h={root:["root",f,n&&"disabled",`size${pe(r)}`,`color${pe(s)}`,u&&"clickable",u&&`clickableColor${pe(s)}`,l&&"deletable",l&&`deletableColor${pe(s)}`,`${f}${pe(s)}`],label:["label",`label${pe(r)}`],avatar:["avatar",`avatar${pe(r)}`,`avatarColor${pe(s)}`],icon:["icon",`icon${pe(r)}`,`iconColor${pe(a)}`],deleteIcon:["deleteIcon",`deleteIcon${pe(r)}`,`deleteIconColor${pe(s)}`,`deleteIcon${pe(f)}Color${pe(s)}`]};return _e(h,hj,t)},mj=fe("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:s,clickable:a,onDelete:l,size:u,variant:f}=n;return[{[`& .${Et.avatar}`]:t.avatar},{[`& .${Et.avatar}`]:t[`avatar${pe(u)}`]},{[`& .${Et.avatar}`]:t[`avatarColor${pe(r)}`]},{[`& .${Et.icon}`]:t.icon},{[`& .${Et.icon}`]:t[`icon${pe(u)}`]},{[`& .${Et.icon}`]:t[`iconColor${pe(s)}`]},{[`& .${Et.deleteIcon}`]:t.deleteIcon},{[`& .${Et.deleteIcon}`]:t[`deleteIcon${pe(u)}`]},{[`& .${Et.deleteIcon}`]:t[`deleteIconColor${pe(r)}`]},{[`& .${Et.deleteIcon}`]:t[`deleteIcon${pe(f)}Color${pe(r)}`]},t.root,t[`size${pe(u)}`],t[`color${pe(r)}`],a&&t.clickable,a&&r!=="default"&&t[`clickableColor${pe(r)})`],l&&t.deletable,l&&r!=="default"&&t[`deletableColor${pe(r)}`],t[f],t[`${f}${pe(r)}`]]}})(tt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Et.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Et.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Et.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Et.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Et.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Et.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Et.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:bt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:bt(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Et.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Et.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(dn(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${Et.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:bt(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${Et.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Et.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Et.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:bt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(dn(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${Et.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:bt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Et.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:bt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(dn(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${Et.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Et.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Et.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Et.avatar}`]:{marginLeft:4},[`& .${Et.avatarSmall}`]:{marginLeft:2},[`& .${Et.icon}`]:{marginLeft:4},[`& .${Et.iconSmall}`]:{marginLeft:2},[`& .${Et.deleteIcon}`]:{marginRight:5},[`& .${Et.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(dn()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:bt(e.palette[n].main,.7)}`,[`&.${Et.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${Et.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:bt(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${Et.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:bt(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),gj=fe("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${pe(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function Yb(e){return e.key==="Backspace"||e.key==="Delete"}const Xc=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiChip"}),{avatar:s,className:a,clickable:l,color:u="default",component:f,deleteIcon:h,disabled:v=!1,icon:m,label:b,onClick:S,onDelete:P,onKeyDown:A,onKeyUp:x,size:z="medium",variant:D="filled",tabIndex:C,skipFocusWhenDisabled:j=!1,...O}=r,E=y.useRef(null),M=ln(E,n),T=U=>{U.stopPropagation(),P&&P(U)},I=U=>{U.currentTarget===U.target&&Yb(U)&&U.preventDefault(),A&&A(U)},H=U=>{U.currentTarget===U.target&&P&&Yb(U)&&P(U),x&&x(U)},V=l!==!1&&S?!0:l,X=V||P?Oi:f||"div",N={...r,component:X,disabled:v,size:z,color:u,iconColor:y.isValidElement(m)&&m.props.color||u,onDelete:!!P,clickable:V,variant:D},Y=vj(N),q=X===Oi?{component:f||"div",focusVisibleClassName:Y.focusVisible,...P&&{disableRipple:!0}}:{};let W=null;P&&(W=h&&y.isValidElement(h)?y.cloneElement(h,{className:ze(h.props.className,Y.deleteIcon),onClick:T}):p.jsx(pj,{className:ze(Y.deleteIcon),onClick:T}));let ne=null;s&&y.isValidElement(s)&&(ne=y.cloneElement(s,{className:ze(Y.avatar,s.props.className)}));let ee=null;return m&&y.isValidElement(m)&&(ee=y.cloneElement(m,{className:ze(Y.icon,m.props.className)})),p.jsxs(mj,{as:X,className:ze(Y.root,a),disabled:V&&v?!0:void 0,onClick:S,onKeyDown:I,onKeyUp:H,ref:M,tabIndex:j&&v?-1:C,ownerState:N,...q,...O,children:[ne||ee,p.jsx(gj,{className:ze(Y.label),ownerState:N,children:b}),W]})});function hf(e){return parseInt(e,10)||0}const yj={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Aj(e){for(const t in e)return!1;return!0}function Gb(e){return Aj(e)||e.outerHeightStyle===0&&!e.overflowing}const Pj=y.forwardRef(function(t,n){const{onChange:r,maxRows:s,minRows:a=1,style:l,value:u,...f}=t,{current:h}=y.useRef(u!=null),v=y.useRef(null),m=ln(n,v),b=y.useRef(null),S=y.useRef(null),P=y.useCallback(()=>{const C=v.current,j=S.current;if(!C||!j)return;const E=Do(C).getComputedStyle(C);if(E.width==="0px")return{outerHeightStyle:0,overflowing:!1};j.style.width=E.width,j.value=C.value||t.placeholder||"x",j.value.slice(-1)===` -`&&(j.value+=" ");const M=E.boxSizing,T=hf(E.paddingBottom)+hf(E.paddingTop),I=hf(E.borderBottomWidth)+hf(E.borderTopWidth),H=j.scrollHeight;j.value="x";const V=j.scrollHeight;let X=H;a&&(X=Math.max(Number(a)*V,X)),s&&(X=Math.min(Number(s)*V,X)),X=Math.max(X,V);const N=X+(M==="border-box"?T+I:0),Y=Math.abs(X-H)<=1;return{outerHeightStyle:N,overflowing:Y}},[s,a,t.placeholder]),A=nr(()=>{const C=v.current,j=P();if(!C||!j||Gb(j))return!1;const O=j.outerHeightStyle;return b.current!=null&&b.current!==O}),x=y.useCallback(()=>{const C=v.current,j=P();if(!C||!j||Gb(j))return;const O=j.outerHeightStyle;b.current!==O&&(b.current=O,C.style.height=`${O}px`),C.style.overflow=j.overflowing?"hidden":""},[P]),z=y.useRef(-1);Sr(()=>{const C=Um(x),j=v?.current;if(!j)return;const O=Do(j);O.addEventListener("resize",C);let E;return typeof ResizeObserver<"u"&&(E=new ResizeObserver(()=>{A()&&(E.unobserve(j),cancelAnimationFrame(z.current),x(),z.current=requestAnimationFrame(()=>{E.observe(j)}))}),E.observe(j)),()=>{C.clear(),cancelAnimationFrame(z.current),O.removeEventListener("resize",C),E&&E.disconnect()}},[P,x,A]),Sr(()=>{x()});const D=C=>{h||x(),r&&r(C)};return p.jsxs(y.Fragment,{children:[p.jsx("textarea",{value:u,onChange:D,ref:m,rows:a,style:l,...f}),p.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:S,tabIndex:-1,style:{...yj.shadow,...l,paddingTop:0,paddingBottom:0}})]})});function bc(e){return typeof e=="string"}function _s({props:e,states:t,muiFormControl:n}){return t.reduce((r,s)=>(r[s]=e[s],n&&typeof e[s]>"u"&&(r[s]=n[s]),r),{})}const Md=y.createContext(void 0);function Ro(){return y.useContext(Md)}function Zb(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function rd(e,t=!1){return e&&(Zb(e.value)&&e.value!==""||t&&Zb(e.defaultValue)&&e.defaultValue!=="")}function bj(e){return e.startAdornment}function wj(e){return Qe("MuiInputBase",e)}const Rr=Ke("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var Qb;const Ld=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${pe(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Id=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},xj=e=>{const{classes:t,color:n,disabled:r,error:s,endAdornment:a,focused:l,formControl:u,fullWidth:f,hiddenLabel:h,multiline:v,readOnly:m,size:b,startAdornment:S,type:P}=e,A={root:["root",`color${pe(n)}`,r&&"disabled",s&&"error",f&&"fullWidth",l&&"focused",u&&"formControl",b&&b!=="medium"&&`size${pe(b)}`,v&&"multiline",S&&"adornedStart",a&&"adornedEnd",h&&"hiddenLabel",m&&"readOnly"],input:["input",r&&"disabled",P==="search"&&"inputTypeSearch",v&&"inputMultiline",b==="small"&&"inputSizeSmall",h&&"inputHiddenLabel",S&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return _e(A,wj,t)},Bd=fe("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Ld})(tt(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Rr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Nd=fe("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Id})(tt(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},s=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Rr.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${Rr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),Kb=Km({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Vd=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:a,autoFocus:l,className:u,color:f,components:h={},componentsProps:v={},defaultValue:m,disabled:b,disableInjectingGlobalStyles:S,endAdornment:P,error:A,fullWidth:x=!1,id:z,inputComponent:D="input",inputProps:C={},inputRef:j,margin:O,maxRows:E,minRows:M,multiline:T=!1,name:I,onBlur:H,onChange:V,onClick:X,onFocus:N,onKeyDown:Y,onKeyUp:q,placeholder:W,readOnly:ne,renderSuffix:ee,rows:U,size:R,slotProps:J={},slots:L={},startAdornment:Z,type:$="text",value:oe,...ae}=r,be=C.value!=null?C.value:oe,{current:ie}=y.useRef(be!=null),He=y.useRef(),ke=y.useCallback(Se=>{},[]),Le=ln(He,j,C.ref,ke),[ge,Je]=y.useState(!1),ve=Ro(),Ge=_s({props:r,muiFormControl:ve,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Ge.focused=ve?ve.focused:ge,y.useEffect(()=>{!ve&&b&&ge&&(Je(!1),H&&H())},[ve,b,ge,H]);const At=ve&&ve.onFilled,Be=ve&&ve.onEmpty,ft=y.useCallback(Se=>{rd(Se)?At&&At():Be&&Be()},[At,Be]);Sr(()=>{ie&&ft({value:be})},[be,ft,ie]);const lt=Se=>{N&&N(Se),C.onFocus&&C.onFocus(Se),ve&&ve.onFocus?ve.onFocus(Se):Je(!0)},dt=Se=>{H&&H(Se),C.onBlur&&C.onBlur(Se),ve&&ve.onBlur?ve.onBlur(Se):Je(!1)},gt=(Se,...ct)=>{if(!ie){const wt=Se.target||He.current;if(wt==null)throw new Error(hs(1));ft({value:wt.value})}C.onChange&&C.onChange(Se,...ct),V&&V(Se,...ct)};y.useEffect(()=>{ft(He.current)},[]);const Xe=Se=>{He.current&&Se.currentTarget===Se.target&&He.current.focus(),X&&X(Se)};let kt=D,B=C;T&&kt==="input"&&(U?B={type:void 0,minRows:U,maxRows:U,...B}:B={type:void 0,maxRows:E,minRows:M,...B},kt=Pj);const _=Se=>{ft(Se.animationName==="mui-auto-fill-cancel"?He.current:{value:"x"})};y.useEffect(()=>{ve&&ve.setAdornedStart(!!Z)},[ve,Z]);const re={...r,color:Ge.color||"primary",disabled:Ge.disabled,endAdornment:P,error:Ge.error,focused:Ge.focused,formControl:ve,fullWidth:x,hiddenLabel:Ge.hiddenLabel,multiline:T,size:Ge.size,startAdornment:Z,type:$},we=xj(re),Pe=L.root||h.Root||Bd,ye=J.root||v.root||{},xe=L.input||h.Input||Nd;return B={...B,...J.input??v.input},p.jsxs(y.Fragment,{children:[!S&&typeof Kb=="function"&&(Qb||(Qb=p.jsx(Kb,{}))),p.jsxs(Pe,{...ye,ref:n,onClick:Xe,...ae,...!bc(Pe)&&{ownerState:{...re,...ye.ownerState}},className:ze(we.root,ye.className,u,ne&&"MuiInputBase-readOnly"),children:[Z,p.jsx(Md.Provider,{value:null,children:p.jsx(xe,{"aria-invalid":Ge.error,"aria-describedby":s,autoComplete:a,autoFocus:l,defaultValue:m,disabled:Ge.disabled,id:z,onAnimationStart:_,name:I,placeholder:W,readOnly:ne,required:Ge.required,rows:U,value:be,onKeyDown:Y,onKeyUp:q,type:$,...B,...!bc(xe)&&{as:kt,ownerState:{...re,...B.ownerState}},ref:Le,className:ze(we.input,B.className,ne&&"MuiInputBase-readOnly"),onBlur:dt,onChange:gt,onFocus:lt})}),P,ee?ee({...Ge,startAdornment:Z}):null]})]})});function Sj(e){return Qe("MuiInput",e)}const Fs={...Rr,...Ke("MuiInput",["root","underline","input"])};function Hj(e){return Qe("MuiOutlinedInput",e)}const $r={...Rr,...Ke("MuiOutlinedInput",["root","notchedOutline","input"])};function Cj(e){return Qe("MuiFilledInput",e)}const Er={...Rr,...Ke("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},a0=Pt(p.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function jj(e){return Qe("MuiAutocomplete",e)}const Dt=Ke("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var _b,$b;const Dj=e=>{const{classes:t,disablePortal:n,expanded:r,focused:s,fullWidth:a,hasClearIcon:l,hasPopupIcon:u,inputFocused:f,popupOpen:h,size:v}=e,m={root:["root",r&&"expanded",s&&"focused",a&&"fullWidth",l&&"hasClearIcon",u&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",f&&"inputFocused"],tag:["tag",`tagSize${pe(v)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",h&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return _e(m,jj,t)},zj=fe("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:s,hasPopupIcon:a,inputFocused:l,size:u}=n;return[{[`& .${Dt.tag}`]:t.tag},{[`& .${Dt.tag}`]:t[`tagSize${pe(u)}`]},{[`& .${Dt.inputRoot}`]:t.inputRoot},{[`& .${Dt.input}`]:t.input},{[`& .${Dt.input}`]:l&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,s&&t.hasClearIcon]}})({[`&.${Dt.focused} .${Dt.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Dt.clearIndicator}`]:{visibility:"visible"}},[`& .${Dt.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Dt.inputRoot}`]:{[`.${Dt.hasPopupIcon}&, .${Dt.hasClearIcon}&`]:{paddingRight:30},[`.${Dt.hasPopupIcon}.${Dt.hasClearIcon}&`]:{paddingRight:56},[`& .${Dt.input}`]:{width:0,minWidth:30}},[`& .${Fs.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Fs.root}.${Rr.sizeSmall}`]:{[`& .${Fs.input}`]:{padding:"2px 4px 3px 0"}},[`& .${$r.root}`]:{padding:9,[`.${Dt.hasPopupIcon}&, .${Dt.hasClearIcon}&`]:{paddingRight:39},[`.${Dt.hasPopupIcon}.${Dt.hasClearIcon}&`]:{paddingRight:65},[`& .${Dt.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Dt.endAdornment}`]:{right:9}},[`& .${$r.root}.${Rr.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Dt.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Er.root}`]:{paddingTop:19,paddingLeft:8,[`.${Dt.hasPopupIcon}&, .${Dt.hasClearIcon}&`]:{paddingRight:39},[`.${Dt.hasPopupIcon}.${Dt.hasClearIcon}&`]:{paddingRight:65},[`& .${Er.input}`]:{padding:"7px 4px"},[`& .${Dt.endAdornment}`]:{right:9}},[`& .${Er.root}.${Rr.sizeSmall}`]:{paddingBottom:1,[`& .${Er.input}`]:{padding:"2.5px 4px"}},[`& .${Rr.hiddenLabel}`]:{paddingTop:8},[`& .${Er.root}.${Rr.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Dt.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Er.root}.${Rr.hiddenLabel}.${Rr.sizeSmall}`]:{[`& .${Dt.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Dt.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Dt.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Dt.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Dt.inputRoot}`]:{flexWrap:"wrap"}}}]}),Oj=fe("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),kj=fe(gr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),Rj=fe(gr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),Ej=fe(Td,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Dt.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),Tj=fe(Vr,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(tt(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),Mj=fe("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),Lj=fe("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),Ij=fe("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(tt(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Dt.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Dt.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Dt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:bt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Dt.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:bt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Dt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:bt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),Bj=fe(em,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(tt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),Nj=fe("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Dt.option}`]:{paddingLeft:24}}),Vj=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:a=!1,autoSelect:l=!1,blurOnSelect:u=!1,ChipProps:f,className:h,clearIcon:v=_b||(_b=p.jsx(Qx,{fontSize:"small"})),clearOnBlur:m=!r.freeSolo,clearOnEscape:b=!1,clearText:S="Clear",closeText:P="Close",componentsProps:A,defaultValue:x=r.multiple?[]:null,disableClearable:z=!1,disableCloseOnSelect:D=!1,disabled:C=!1,disabledItemsFocusable:j=!1,disableListWrap:O=!1,disablePortal:E=!1,filterOptions:M,filterSelectedOptions:T=!1,forcePopupIcon:I="auto",freeSolo:H=!1,fullWidth:V=!1,getLimitTagsText:X=Mt=>`+${Mt}`,getOptionDisabled:N,getOptionKey:Y,getOptionLabel:q,isOptionEqualToValue:W,groupBy:ne,handleHomeEndKeys:ee=!r.freeSolo,id:U,includeInputInList:R=!1,inputValue:J,limitTags:L=-1,ListboxComponent:Z,ListboxProps:$,loading:oe=!1,loadingText:ae="Loading…",multiple:be=!1,noOptionsText:ie="No options",onChange:He,onClose:ke,onHighlightChange:Le,onInputChange:ge,onOpen:Je,open:ve,openOnFocus:Ge=!1,openText:At="Open",options:Be,PaperComponent:ft,PopperComponent:lt,popupIcon:dt=$b||($b=p.jsx(a0,{})),readOnly:gt=!1,renderGroup:Xe,renderInput:kt,renderOption:B,renderTags:_,selectOnFocus:re=!r.freeSolo,size:we="medium",slots:Pe={},slotProps:ye={},value:xe,...Se}=r,{getRootProps:ct,getInputProps:wt,getInputLabelProps:Ve,getPopupIndicatorProps:Q,getClearProps:G,getTagProps:Ae,getListboxProps:De,getOptionProps:Re,value:Ee,dirty:Ue,expanded:Ie,id:rt,popupOpen:ut,focused:Tt,focusedTag:qt,anchorEl:Ye,setAnchorEl:It,inputValue:Cn,groupedOptions:hn}=G7({...r,componentName:"Autocomplete"}),Fn=!z&&!C&&Ue&&!gt,vn=(!H||I===!0)&&I!==!1,{onMouseDown:Cr}=wt(),{ref:co,...Mo}=De(),uo=q||(Mt=>Mt.label??Mt),mn={...r,disablePortal:E,expanded:Ie,focused:Tt,fullWidth:V,getOptionLabel:uo,hasClearIcon:Fn,hasPopupIcon:vn,inputFocused:qt===-1,popupOpen:ut,size:we},Me=Dj(mn),qe={slots:{paper:ft,popper:lt,...Pe},slotProps:{chip:f,listbox:$,...A,...ye}},[ht,de]=at("listbox",{elementType:Ij,externalForwardedProps:qe,ownerState:mn,className:Me.listbox,additionalProps:Mo,ref:co}),[he,We]=at("paper",{elementType:Vr,externalForwardedProps:qe,ownerState:mn,className:Me.paper}),[xt,Ct]=at("popper",{elementType:Td,externalForwardedProps:qe,ownerState:mn,className:Me.popper,additionalProps:{disablePortal:E,style:{width:Ye?Ye.clientWidth:null},role:"presentation",anchorEl:Ye,open:ut}});let Nt;if(be&&Ee.length>0){const Mt=Jr=>({className:Me.tag,disabled:C,...Ae(Jr)});_?Nt=_(Ee,Mt,mn):Nt=Ee.map((Jr,fo)=>{const{key:Io,...qr}=Mt({index:fo});return p.jsx(Xc,{label:uo(Jr),size:we,...qr,...qe.slotProps.chip},Io)})}if(L>-1&&Array.isArray(Nt)){const Mt=Nt.length-L;!Tt&&Mt>0&&(Nt=Nt.splice(0,L),Nt.push(p.jsx("span",{className:Me.tag,children:X(Mt)},Nt.length)))}const En=Xe||(Mt=>p.jsxs("li",{children:[p.jsx(Bj,{className:Me.groupLabel,ownerState:mn,component:"div",children:Mt.group}),p.jsx(Nj,{className:Me.groupUl,ownerState:mn,children:Mt.children})]},Mt.key)),Kt=B||((Mt,Jr)=>{const{key:fo,...Io}=Mt;return p.jsx("li",{...Io,children:uo(Jr)},fo)}),$s=(Mt,Jr)=>{const fo=Re({option:Mt,index:Jr});return Kt({...fo,className:Me.option},Mt,{selected:fo["aria-selected"],index:Jr,inputValue:Cn},mn)},Ni=qe.slotProps.clearIndicator,Qa=qe.slotProps.popupIndicator;return p.jsxs(y.Fragment,{children:[p.jsx(zj,{ref:n,className:ze(Me.root,h),ownerState:mn,...ct(Se),children:kt({id:rt,disabled:C,fullWidth:!0,size:we==="small"?"small":void 0,InputLabelProps:Ve(),InputProps:{ref:It,className:Me.inputRoot,startAdornment:Nt,onMouseDown:Mt=>{Mt.target===Mt.currentTarget&&Cr(Mt)},...(Fn||vn)&&{endAdornment:p.jsxs(Oj,{className:Me.endAdornment,ownerState:mn,children:[Fn?p.jsx(kj,{...G(),"aria-label":S,title:S,ownerState:mn,...Ni,className:ze(Me.clearIndicator,Ni?.className),children:v}):null,vn?p.jsx(Rj,{...Q(),disabled:C,"aria-label":ut?P:At,title:ut?P:At,ownerState:mn,...Qa,className:ze(Me.popupIndicator,Qa?.className),children:dt}):null]})}},inputProps:{className:Me.input,disabled:C,readOnly:gt,...wt()}})}),Ye?p.jsx(Ej,{as:xt,...Ct,children:p.jsxs(Tj,{as:he,...We,children:[oe&&hn.length===0?p.jsx(Mj,{className:Me.loading,ownerState:mn,children:ae}):null,hn.length===0&&!H&&!oe?p.jsx(Lj,{className:Me.noOptions,ownerState:mn,role:"presentation",onMouseDown:Mt=>{Mt.preventDefault()},children:ie}):null,hn.length>0?p.jsx(ht,{as:Z,...de,children:hn.map((Mt,Jr)=>ne?En({key:Mt.key,group:Mt.group,children:Mt.options.map((fo,Io)=>$s(fo,Mt.index+Io))}):$s(Mt,Jr))}):null]})}):null]})}),Xj={entering:{opacity:1},entered:{opacity:1}},tm=y.forwardRef(function(t,n){const r=Fr(),s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:l=!0,children:u,easing:f,in:h,onEnter:v,onEntered:m,onEntering:b,onExit:S,onExited:P,onExiting:A,style:x,timeout:z=s,TransitionComponent:D=ko,...C}=t,j=y.useRef(null),O=ln(j,Qs(u),n),E=Y=>q=>{if(Y){const W=j.current;q===void 0?Y(W):Y(W,q)}},M=E(b),T=E((Y,q)=>{ng(Y);const W=Ra({style:x,timeout:z,easing:f},{mode:"enter"});Y.style.webkitTransition=r.transitions.create("opacity",W),Y.style.transition=r.transitions.create("opacity",W),v&&v(Y,q)}),I=E(m),H=E(A),V=E(Y=>{const q=Ra({style:x,timeout:z,easing:f},{mode:"exit"});Y.style.webkitTransition=r.transitions.create("opacity",q),Y.style.transition=r.transitions.create("opacity",q),S&&S(Y)}),X=E(P),N=Y=>{a&&a(j.current,Y)};return p.jsx(D,{appear:l,in:h,nodeRef:j,onEnter:T,onEntered:I,onEntering:M,onExit:V,onExited:X,onExiting:H,addEndListener:N,timeout:z,...C,children:(Y,{ownerState:q,...W})=>y.cloneElement(u,{style:{opacity:0,visibility:Y==="exited"&&!h?"hidden":void 0,...Xj[Y],...x,...u.props.style},ref:O,...W})})});function Fj(e){return Qe("MuiBackdrop",e)}Ke("MuiBackdrop",["root","invisible"]);const Wj=e=>{const{classes:t,invisible:n}=e;return _e({root:["root",n&&"invisible"]},Fj,t)},Jj=fe("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),l0=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiBackdrop"}),{children:s,className:a,component:l="div",invisible:u=!1,open:f,components:h={},componentsProps:v={},slotProps:m={},slots:b={},TransitionComponent:S,transitionDuration:P,...A}=r,x={...r,component:l,invisible:u},z=Wj(x),D={transition:S,root:h.Root,...b},C={...v,...m},j={slots:D,slotProps:C},[O,E]=at("root",{elementType:Jj,externalForwardedProps:j,className:ze(z.root,a),ownerState:x}),[M,T]=at("transition",{elementType:tm,externalForwardedProps:j,ownerState:x});return p.jsx(M,{in:f,timeout:P,...A,...T,children:p.jsx(O,{"aria-hidden":!0,...E,classes:z,ref:n,children:s})})}),qj=Ke("MuiBox",["root"]),Uj=Bc(),pt=t4({themeId:no,defaultTheme:Uj,defaultClassName:qj.root,generateClassName:yx.generate});function Yj(e){return Qe("MuiButton",e)}const di=Ke("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),c0=y.createContext({}),Gj=y.createContext(void 0),Zj=e=>{const{color:t,disableElevation:n,fullWidth:r,size:s,variant:a,loading:l,loadingPosition:u,classes:f}=e,h={root:["root",l&&"loading",a,`${a}${pe(t)}`,`size${pe(s)}`,`${a}Size${pe(s)}`,`color${pe(t)}`,n&&"disableElevation",r&&"fullWidth",l&&`loadingPosition${pe(u)}`],startIcon:["icon","startIcon",`iconSize${pe(s)}`],endIcon:["icon","endIcon",`iconSize${pe(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},v=_e(h,Yj,f);return{...f,...v}},u0=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],Qj=fe(Oi,{shouldForwardProp:e=>Xn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${pe(n.color)}`],t[`size${pe(n.size)}`],t[`${n.variant}Size${pe(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(tt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${di.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${di.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${di.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${di.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(dn()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.5)`:bt(e.palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette[r].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette[r].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${di.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${di.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${di.loading}`]:{color:"transparent"}}}]}})),Kj=fe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${pe(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...u0]})),_j=fe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${pe(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...u0]})),$j=fe("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),ew=fe("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Lt=y.forwardRef(function(t,n){const r=y.useContext(c0),s=y.useContext(Gj),a=Oa(r,t),l=nt({props:a,name:"MuiButton"}),{children:u,color:f="primary",component:h="button",className:v,disabled:m=!1,disableElevation:b=!1,disableFocusRipple:S=!1,endIcon:P,focusVisibleClassName:A,fullWidth:x=!1,id:z,loading:D=null,loadingIndicator:C,loadingPosition:j="center",size:O="medium",startIcon:E,type:M,variant:T="text",...I}=l,H=oo(z),V=C??p.jsx(Fa,{"aria-labelledby":H,color:"inherit",size:16}),X={...l,color:f,component:h,disabled:m,disableElevation:b,disableFocusRipple:S,fullWidth:x,loading:D,loadingIndicator:V,loadingPosition:j,size:O,type:M,variant:T},N=Zj(X),Y=(E||D&&j==="start")&&p.jsx(Kj,{className:N.startIcon,ownerState:X,children:E||p.jsx(ew,{className:N.loadingIconPlaceholder,ownerState:X})}),q=(P||D&&j==="end")&&p.jsx(_j,{className:N.endIcon,ownerState:X,children:P||p.jsx(ew,{className:N.loadingIconPlaceholder,ownerState:X})}),W=s||"",ne=typeof D=="boolean"?p.jsx("span",{className:N.loadingWrapper,style:{display:"contents"},children:D&&p.jsx($j,{className:N.loadingIndicator,ownerState:X,children:V})}):null;return p.jsxs(Qj,{ownerState:X,className:ze(r.className,N.root,v,W),component:h,disabled:m||D,focusRipple:!S,focusVisibleClassName:ze(N.focusVisible,A),ref:n,type:M,id:D?H:z,...I,classes:N,children:[Y,j!=="end"&&ne,u,j==="end"&&ne,q]})});function eD(e){return Qe("MuiCard",e)}Ke("MuiCard",["root"]);const tD=e=>{const{classes:t}=e;return _e({root:["root"]},eD,t)},nD=fe(Vr,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),f0=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCard"}),{className:s,raised:a=!1,...l}=r,u={...r,raised:a},f=tD(u);return p.jsx(nD,{className:ze(f.root,s),elevation:a?8:void 0,ref:n,ownerState:u,...l})});function rD(e){return Qe("MuiCardContent",e)}Ke("MuiCardContent",["root"]);const oD=e=>{const{classes:t}=e;return _e({root:["root"]},rD,t)},sD=fe("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),nm=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCardContent"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=oD(u);return p.jsx(sD,{as:a,className:ze(f.root,s),ownerState:u,ref:n,...l})});function iD(e){return Qe("MuiCardMedia",e)}Ke("MuiCardMedia",["root","media","img"]);const aD=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return _e({root:["root",n&&"media",r&&"img"]},iD,t)},lD=fe("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:s}=n;return[t.root,r&&t.media,s&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),cD=["video","audio","picture","iframe","img"],uD=["picture","img"],fD=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCardMedia"}),{children:s,className:a,component:l="div",image:u,src:f,style:h,...v}=r,m=cD.includes(l),b=!m&&u?{backgroundImage:`url("${u}")`,...h}:h,S={...r,component:l,isMediaComponent:m,isImageComponent:uD.includes(l)},P=aD(S);return p.jsx(lD,{className:ze(P.root,a),as:l,role:!m&&u?"img":void 0,ref:n,style:b,ownerState:S,src:m?u||f:void 0,...v,children:s})});function dD(e){return Qe("PrivateSwitchBase",e)}Ke("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const pD=e=>{const{classes:t,checked:n,disabled:r,edge:s}=e,a={root:["root",n&&"checked",r&&"disabled",s&&`edge${pe(s)}`],input:["input"]};return _e(a,dD,t)},hD=fe(Oi,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),vD=fe("input",{name:"MuiSwitchBase",shouldForwardProp:Xn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),fg=y.forwardRef(function(t,n){const{autoFocus:r,checked:s,checkedIcon:a,defaultChecked:l,disabled:u,disableFocusRipple:f=!1,edge:h=!1,icon:v,id:m,inputProps:b,inputRef:S,name:P,onBlur:A,onChange:x,onFocus:z,readOnly:D,required:C=!1,tabIndex:j,type:O,value:E,slots:M={},slotProps:T={},...I}=t,[H,V]=qs({controlled:s,default:!!l,name:"SwitchBase",state:"checked"}),X=Ro(),N=oe=>{z&&z(oe),X&&X.onFocus&&X.onFocus(oe)},Y=oe=>{A&&A(oe),X&&X.onBlur&&X.onBlur(oe)},q=oe=>{if(oe.nativeEvent.defaultPrevented)return;const ae=oe.target.checked;V(ae),x&&x(oe,ae)};let W=u;X&&typeof W>"u"&&(W=X.disabled);const ne=O==="checkbox"||O==="radio",ee={...t,checked:H,disabled:W,disableFocusRipple:f,edge:h},U=pD(ee),R={slots:M,slotProps:{input:b,...T}},[J,L]=at("root",{ref:n,elementType:hD,className:U.root,shouldForwardComponentProp:!0,externalForwardedProps:{...R,component:"span",...I},getSlotProps:oe=>({...oe,onFocus:ae=>{oe.onFocus?.(ae),N(ae)},onBlur:ae=>{oe.onBlur?.(ae),Y(ae)}}),ownerState:ee,additionalProps:{centerRipple:!0,focusRipple:!f,disabled:W,role:void 0,tabIndex:null}}),[Z,$]=at("input",{ref:S,elementType:vD,className:U.input,externalForwardedProps:R,getSlotProps:oe=>({onChange:ae=>{oe.onChange?.(ae),q(ae)}}),ownerState:ee,additionalProps:{autoFocus:r,checked:s,defaultChecked:l,disabled:W,id:ne?m:void 0,name:P,readOnly:D,required:C,tabIndex:j,type:O,...O==="checkbox"&&E===void 0?{}:{value:E}}});return p.jsxs(J,{...L,children:[p.jsx(Z,{...$}),H?a:v]})}),mD=Pt(p.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),gD=Pt(p.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),yD=Pt(p.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function AD(e){return Qe("MuiCheckbox",e)}const uv=Ke("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),PD=e=>{const{classes:t,indeterminate:n,color:r,size:s}=e,a={root:["root",n&&"indeterminate",`color${pe(r)}`,`size${pe(s)}`]},l=_e(a,AD,t);return{...t,...l}},bD=fe(fg,{shouldForwardProp:e=>Xn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${pe(n.size)}`],n.color!=="default"&&t[`color${pe(n.color)}`]]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(dn()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(dn()).map(([t])=>({props:{color:t},style:{[`&.${uv.checked}, &.${uv.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${uv.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),wD=p.jsx(gD,{}),xD=p.jsx(mD,{}),SD=p.jsx(yD,{}),fv=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCheckbox"}),{checkedIcon:s=wD,color:a="primary",icon:l=xD,indeterminate:u=!1,indeterminateIcon:f=SD,inputProps:h,size:v="medium",disableRipple:m=!1,className:b,slots:S={},slotProps:P={},...A}=r,x=u?f:l,z=u?f:s,D={...r,disableRipple:m,color:a,indeterminate:u,size:v},C=PD(D),j=P.input??h,[O,E]=at("root",{ref:n,elementType:bD,className:ze(C.root,b),shouldForwardComponentProp:!0,externalForwardedProps:{slots:S,slotProps:P,...A},ownerState:D,additionalProps:{type:"checkbox",icon:y.cloneElement(x,{fontSize:x.props.fontSize??v}),checkedIcon:y.cloneElement(z,{fontSize:z.props.fontSize??v}),disableRipple:m,slots:S,slotProps:{input:_m(typeof j=="function"?j(D):j,{"data-indeterminate":u})}}});return p.jsx(O,{...E,classes:C})});function tw(e){return e.substring(2).toLowerCase()}function HD(e,t){return t.documentElement.clientWidth(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);const v=ln(Qs(t),u),m=nr(P=>{const A=h.current;h.current=!1;const x=rr(u.current);if(!f.current||!u.current||"clientX"in P&&HD(P,x))return;if(l.current){l.current=!1;return}let z;P.composedPath?z=P.composedPath().includes(u.current):z=!x.documentElement.contains(P.target)||u.current.contains(P.target),!z&&(n||!A)&&s(P)}),b=P=>A=>{h.current=!0;const x=t.props[P];x&&x(A)},S={ref:v};return a!==!1&&(S[a]=b(a)),y.useEffect(()=>{if(a!==!1){const P=tw(a),A=rr(u.current),x=()=>{l.current=!0};return A.addEventListener(P,m),A.addEventListener("touchmove",x),()=>{A.removeEventListener(P,m),A.removeEventListener("touchmove",x)}}},[m,a]),r!==!1&&(S[r]=b(r)),y.useEffect(()=>{if(r!==!1){const P=tw(r),A=rr(u.current);return A.addEventListener(P,m),()=>{A.removeEventListener(P,m)}}},[m,r]),y.cloneElement(t,S)}const rm=typeof Km({})=="function",CD=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),jD=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),p0=(e,t=!1)=>{const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([a,l])=>{const u=e.getColorSchemeSelector(a);u.startsWith("@")?n[u]={":root":{colorScheme:l.palette?.mode}}:n[u.replace(/\s*&/,"")]={colorScheme:l.palette?.mode}});let r={html:CD(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...jD(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const s=e.components?.MuiCssBaseline?.styleOverrides;return s&&(r=[r,s]),r},Bf="mui-ecs",DD=e=>{const t=p0(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Bf})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,s])=>{const a=e.getColorSchemeSelector(r);a.startsWith("@")?n[a]={[`:root:not(:has(.${Bf}))`]:{colorScheme:s.palette?.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Bf}))`]:{colorScheme:s.palette?.mode}}}),t},zD=Km(rm?({theme:e,enableColorScheme:t})=>p0(e,t):({theme:e})=>DD(e));function OD(e){const t=nt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return p.jsxs(y.Fragment,{children:[rm&&p.jsx(zD,{enableColorScheme:r}),!rm&&!r&&p.jsx("span",{className:Bf,style:{display:"none"}}),n]})}function kD(e){const t=rr(e);return t.body===e?Do(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function lc(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function nw(e){return parseInt(Do(e).getComputedStyle(e).paddingRight,10)||0}function RD(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function rw(e,t,n,r,s){const a=[t,n,...r];[].forEach.call(e.children,l=>{const u=!a.includes(l),f=!RD(l);u&&f&&lc(l,s)})}function dv(e,t){let n=-1;return e.some((r,s)=>t(r)?(n=s,!0):!1),n}function ED(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(kD(r)){const l=Ox(Do(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${nw(r)+l}px`;const u=rr(r).querySelectorAll(".mui-fixed");[].forEach.call(u,f=>{n.push({value:f.style.paddingRight,property:"padding-right",el:f}),f.style.paddingRight=`${nw(f)+l}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=rr(r).body;else{const l=r.parentElement,u=Do(r);a=l?.nodeName==="HTML"&&u.getComputedStyle(l).overflowY==="scroll"?l:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:a,el:l,property:u})=>{a?l.style.setProperty(u,a):l.style.removeProperty(u)})}}function TD(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class MD{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&lc(t.modalRef,!1);const s=TD(n);rw(n,t.mount,t.modalRef,s,!0);const a=dv(this.containers,l=>l.container===n);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:s}),r)}mount(t,n){const r=dv(this.containers,a=>a.modals.includes(t)),s=this.containers[r];s.restore||(s.restore=ED(s,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const s=dv(this.containers,l=>l.modals.includes(t)),a=this.containers[s];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&lc(t.modalRef,n),rw(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(s,1);else{const l=a.modals[a.modals.length-1];l.modalRef&&lc(l.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const LD=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function ID(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function BD(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function ND(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||BD(e))}function VD(e){const t=[],n=[];return Array.from(e.querySelectorAll(LD)).forEach((r,s)=>{const a=ID(r);a===-1||!ND(r)||(a===0?t.push(r):n.push({documentOrder:s,tabIndex:a,node:r}))}),n.sort((r,s)=>r.tabIndex===s.tabIndex?r.documentOrder-s.documentOrder:r.tabIndex-s.tabIndex).map(r=>r.node).concat(t)}function XD(){return!0}function FD(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:s=!1,getTabbable:a=VD,isEnabled:l=XD,open:u}=e,f=y.useRef(!1),h=y.useRef(null),v=y.useRef(null),m=y.useRef(null),b=y.useRef(null),S=y.useRef(!1),P=y.useRef(null),A=ln(Qs(t),P),x=y.useRef(null);y.useEffect(()=>{!u||!P.current||(S.current=!n)},[n,u]),y.useEffect(()=>{if(!u||!P.current)return;const C=rr(P.current);return P.current.contains(C.activeElement)||(P.current.hasAttribute("tabIndex")||P.current.setAttribute("tabIndex","-1"),S.current&&P.current.focus()),()=>{s||(m.current&&m.current.focus&&(f.current=!0,m.current.focus()),m.current=null)}},[u]),y.useEffect(()=>{if(!u||!P.current)return;const C=rr(P.current),j=M=>{x.current=M,!(r||!l()||M.key!=="Tab")&&C.activeElement===P.current&&M.shiftKey&&(f.current=!0,v.current&&v.current.focus())},O=()=>{const M=P.current;if(M===null)return;if(!C.hasFocus()||!l()||f.current){f.current=!1;return}if(M.contains(C.activeElement)||r&&C.activeElement!==h.current&&C.activeElement!==v.current)return;if(C.activeElement!==b.current)b.current=null;else if(b.current!==null)return;if(!S.current)return;let T=[];if((C.activeElement===h.current||C.activeElement===v.current)&&(T=a(P.current)),T.length>0){const I=!!(x.current?.shiftKey&&x.current?.key==="Tab"),H=T[0],V=T[T.length-1];typeof H!="string"&&typeof V!="string"&&(I?V.focus():H.focus())}else M.focus()};C.addEventListener("focusin",O),C.addEventListener("keydown",j,!0);const E=setInterval(()=>{C.activeElement&&C.activeElement.tagName==="BODY"&&O()},50);return()=>{clearInterval(E),C.removeEventListener("focusin",O),C.removeEventListener("keydown",j,!0)}},[n,r,s,l,u,a]);const z=C=>{m.current===null&&(m.current=C.relatedTarget),S.current=!0,b.current=C.target;const j=t.props.onFocus;j&&j(C)},D=C=>{m.current===null&&(m.current=C.relatedTarget),S.current=!0};return p.jsxs(y.Fragment,{children:[p.jsx("div",{tabIndex:u?0:-1,onFocus:D,ref:h,"data-testid":"sentinelStart"}),y.cloneElement(t,{ref:A,onFocus:z}),p.jsx("div",{tabIndex:u?0:-1,onFocus:D,ref:v,"data-testid":"sentinelEnd"})]})}function WD(e){return typeof e=="function"?e():e}function JD(e){return e?e.props.hasOwnProperty("in"):!1}const ow=()=>{},vf=new MD;function qD(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:s=!1,onTransitionEnter:a,onTransitionExited:l,children:u,onClose:f,open:h,rootRef:v}=e,m=y.useRef({}),b=y.useRef(null),S=y.useRef(null),P=ln(S,v),[A,x]=y.useState(!h),z=JD(u);let D=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(D=!1);const C=()=>rr(b.current),j=()=>(m.current.modalRef=S.current,m.current.mount=b.current,m.current),O=()=>{vf.mount(j(),{disableScrollLock:r}),S.current&&(S.current.scrollTop=0)},E=nr(()=>{const q=WD(t)||C().body;vf.add(j(),q),S.current&&O()}),M=()=>vf.isTopModal(j()),T=nr(q=>{b.current=q,q&&(h&&M()?O():S.current&&lc(S.current,D))}),I=y.useCallback(()=>{vf.remove(j(),D)},[D]);y.useEffect(()=>()=>{I()},[I]),y.useEffect(()=>{h?E():(!z||!s)&&I()},[h,I,z,s,E]);const H=q=>W=>{q.onKeyDown?.(W),!(W.key!=="Escape"||W.which===229||!M())&&(n||(W.stopPropagation(),f&&f(W,"escapeKeyDown")))},V=q=>W=>{q.onClick?.(W),W.target===W.currentTarget&&f&&f(W,"backdropClick")};return{getRootProps:(q={})=>{const W=_f(e);delete W.onTransitionEnter,delete W.onTransitionExited;const ne={...W,...q};return{role:"presentation",...ne,onKeyDown:H(ne),ref:P}},getBackdropProps:(q={})=>{const W=q;return{"aria-hidden":!0,...W,onClick:V(W),open:h}},getTransitionProps:()=>{const q=()=>{x(!1),a&&a()},W=()=>{x(!0),l&&l(),s&&I()};return{onEnter:Fv(q,u?.props.onEnter??ow),onExited:Fv(W,u?.props.onExited??ow)}},rootRef:P,portalRef:T,isTopModal:M,exited:A,hasTransition:z}}function UD(e){return Qe("MuiModal",e)}Ke("MuiModal",["root","hidden","backdrop"]);const YD=e=>{const{open:t,exited:n,classes:r}=e;return _e({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},UD,r)},GD=fe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(tt(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),ZD=fe(l0,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),dg=y.forwardRef(function(t,n){const r=nt({name:"MuiModal",props:t}),{BackdropComponent:s=ZD,BackdropProps:a,classes:l,className:u,closeAfterTransition:f=!1,children:h,container:v,component:m,components:b={},componentsProps:S={},disableAutoFocus:P=!1,disableEnforceFocus:A=!1,disableEscapeKeyDown:x=!1,disablePortal:z=!1,disableRestoreFocus:D=!1,disableScrollLock:C=!1,hideBackdrop:j=!1,keepMounted:O=!1,onBackdropClick:E,onClose:M,onTransitionEnter:T,onTransitionExited:I,open:H,slotProps:V={},slots:X={},theme:N,...Y}=r,q={...r,closeAfterTransition:f,disableAutoFocus:P,disableEnforceFocus:A,disableEscapeKeyDown:x,disablePortal:z,disableRestoreFocus:D,disableScrollLock:C,hideBackdrop:j,keepMounted:O},{getRootProps:W,getBackdropProps:ne,getTransitionProps:ee,portalRef:U,isTopModal:R,exited:J,hasTransition:L}=qD({...q,rootRef:n}),Z={...q,exited:J},$=YD(Z),oe={};if(h.props.tabIndex===void 0&&(oe.tabIndex="-1"),L){const{onEnter:Le,onExited:ge}=ee();oe.onEnter=Le,oe.onExited=ge}const ae={slots:{root:b.Root,backdrop:b.Backdrop,...X},slotProps:{...S,...V}},[be,ie]=at("root",{ref:n,elementType:GD,externalForwardedProps:{...ae,...Y,component:m},getSlotProps:W,ownerState:Z,className:ze(u,$?.root,!Z.open&&Z.exited&&$?.hidden)}),[He,ke]=at("backdrop",{ref:a?.ref,elementType:s,externalForwardedProps:ae,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:Le=>ne({...Le,onClick:ge=>{E&&E(ge),Le?.onClick&&Le.onClick(ge)}}),className:ze(a?.className,$?.backdrop),ownerState:Z});return!O&&!H&&(!L||J)?null:p.jsx(i0,{ref:U,container:v,disablePortal:z,children:p.jsxs(be,{...ie,children:[!j&&s?p.jsx(He,{...ke}):null,p.jsx(FD,{disableEnforceFocus:A,disableAutoFocus:P,disableRestoreFocus:D,isEnabled:R,open:H,children:y.cloneElement(h,oe)})]})})});function QD(e){return Qe("MuiDialog",e)}const pv=Ke("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),h0=y.createContext({}),KD=fe(l0,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),_D=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:s,fullScreen:a}=e,l={root:["root"],container:["container",`scroll${pe(n)}`],paper:["paper",`paperScroll${pe(n)}`,`paperWidth${pe(String(r))}`,s&&"paperFullWidth",a&&"paperFullScreen"]};return _e(l,QD,t)},$D=fe(dg,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),ez=fe("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${pe(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),tz=fe(Vr,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${pe(n.scroll)}`],t[`paperWidth${pe(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(tt(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${pv.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${pv.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${pv.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),Sa=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDialog"}),s=Fr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":u,"aria-modal":f=!0,BackdropComponent:h,BackdropProps:v,children:m,className:b,disableEscapeKeyDown:S=!1,fullScreen:P=!1,fullWidth:A=!1,maxWidth:x="sm",onBackdropClick:z,onClick:D,onClose:C,open:j,PaperComponent:O=Vr,PaperProps:E={},scroll:M="paper",slots:T={},slotProps:I={},TransitionComponent:H=tm,transitionDuration:V=a,TransitionProps:X,...N}=r,Y={...r,disableEscapeKeyDown:S,fullScreen:P,fullWidth:A,maxWidth:x,scroll:M},q=_D(Y),W=y.useRef(),ne=ve=>{W.current=ve.target===ve.currentTarget},ee=ve=>{D&&D(ve),W.current&&(W.current=null,z&&z(ve),C&&C(ve,"backdropClick"))},U=oo(u),R=y.useMemo(()=>({titleId:U}),[U]),J={transition:H,...T},L={transition:X,paper:E,backdrop:v,...I},Z={slots:J,slotProps:L},[$,oe]=at("root",{elementType:$D,shouldForwardComponentProp:!0,externalForwardedProps:Z,ownerState:Y,className:ze(q.root,b),ref:n}),[ae,be]=at("backdrop",{elementType:KD,shouldForwardComponentProp:!0,externalForwardedProps:Z,ownerState:Y}),[ie,He]=at("paper",{elementType:tz,shouldForwardComponentProp:!0,externalForwardedProps:Z,ownerState:Y,className:ze(q.paper,E.className)}),[ke,Le]=at("container",{elementType:ez,externalForwardedProps:Z,ownerState:Y,className:ze(q.container)}),[ge,Je]=at("transition",{elementType:tm,externalForwardedProps:Z,ownerState:Y,additionalProps:{appear:!0,in:j,timeout:V,role:"presentation"}});return p.jsx($,{closeAfterTransition:!0,slots:{backdrop:ae},slotProps:{backdrop:{transitionDuration:V,as:h,...be}},disableEscapeKeyDown:S,onClose:C,open:j,onClick:ee,...oe,...N,children:p.jsx(ge,{...Je,children:p.jsx(ke,{onMouseDown:ne,...Le,children:p.jsx(ie,{as:O,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":U,"aria-modal":f,...He,children:p.jsx(h0.Provider,{value:R,children:m})})})})})});function nz(e){return Qe("MuiDialogActions",e)}Ke("MuiDialogActions",["root","spacing"]);const rz=e=>{const{classes:t,disableSpacing:n}=e;return _e({root:["root",!n&&"spacing"]},nz,t)},oz=fe("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),sz=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDialogActions"}),{className:s,disableSpacing:a=!1,...l}=r,u={...r,disableSpacing:a},f=rz(u);return p.jsx(oz,{className:ze(f.root,s),ownerState:u,ref:n,...l})});function iz(e){return Qe("MuiDialogContent",e)}Ke("MuiDialogContent",["root","dividers"]);function az(e){return Qe("MuiDialogTitle",e)}const lz=Ke("MuiDialogTitle",["root"]),cz=e=>{const{classes:t,dividers:n}=e;return _e({root:["root",n&&"dividers"]},iz,t)},uz=fe("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(tt(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${lz.root} + &`]:{paddingTop:0}}}]}))),_l=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDialogContent"}),{className:s,dividers:a=!1,...l}=r,u={...r,dividers:a},f=cz(u);return p.jsx(uz,{className:ze(f.root,s),ownerState:u,ref:n,...l})}),fz=e=>{const{classes:t}=e;return _e({root:["root"]},az,t)},dz=fe(Ht,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),$l=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDialogTitle"}),{className:s,id:a,...l}=r,u=r,f=fz(u),{titleId:h=a}=y.useContext(h0);return p.jsx(dz,{component:"h2",className:ze(f.root,s),ownerState:u,ref:n,variant:"h6",id:a??h,...l})});function pz(e){return Qe("MuiDivider",e)}const sw=Ke("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),hz=e=>{const{absolute:t,children:n,classes:r,flexItem:s,light:a,orientation:l,textAlign:u,variant:f}=e;return _e({root:["root",t&&"absolute",f,a&&"light",l==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&l==="vertical"&&"withChildrenVertical",u==="right"&&l!=="vertical"&&"textAlignRight",u==="left"&&l!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",l==="vertical"&&"wrapperVertical"]},pz,r)},vz=fe("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(tt(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:bt(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),mz=fe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(tt(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),Us=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDivider"}),{absolute:s=!1,children:a,className:l,orientation:u="horizontal",component:f=a||u==="vertical"?"div":"hr",flexItem:h=!1,light:v=!1,role:m=f!=="hr"?"separator":void 0,textAlign:b="center",variant:S="fullWidth",...P}=r,A={...r,absolute:s,component:f,flexItem:h,light:v,orientation:u,role:m,textAlign:b,variant:S},x=hz(A);return p.jsx(vz,{as:f,className:ze(x.root,l),role:m,ref:n,ownerState:A,"aria-orientation":m==="separator"&&(f!=="hr"||u==="vertical")?u:void 0,...P,children:a?p.jsx(mz,{className:x.wrapper,ownerState:A,children:a}):null})});Us&&(Us.muiSkipListHighlight=!0);function gz(e,t,n){const r=t.getBoundingClientRect(),s=n&&n.getBoundingClientRect(),a=Do(t);let l;if(t.fakeTransform)l=t.fakeTransform;else{const h=a.getComputedStyle(t);l=h.getPropertyValue("-webkit-transform")||h.getPropertyValue("transform")}let u=0,f=0;if(l&&l!=="none"&&typeof l=="string"){const h=l.split("(")[1].split(")")[0].split(",");u=parseInt(h[4],10),f=parseInt(h[5],10)}return e==="left"?s?`translateX(${s.right+u-r.left}px)`:`translateX(${a.innerWidth+u-r.left}px)`:e==="right"?s?`translateX(-${r.right-s.left-u}px)`:`translateX(-${r.left+r.width-u}px)`:e==="up"?s?`translateY(${s.bottom+f-r.top}px)`:`translateY(${a.innerHeight+f-r.top}px)`:s?`translateY(-${r.top-s.top+r.height-f}px)`:`translateY(-${r.top+r.height-f}px)`}function yz(e){return typeof e=="function"?e():e}function mf(e,t,n){const r=yz(n),s=gz(e,t,r);s&&(t.style.webkitTransform=s,t.style.transform=s)}const Az=y.forwardRef(function(t,n){const r=Fr(),s={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:l,appear:u=!0,children:f,container:h,direction:v="down",easing:m=s,in:b,onEnter:S,onEntered:P,onEntering:A,onExit:x,onExited:z,onExiting:D,style:C,timeout:j=a,TransitionComponent:O=ko,...E}=t,M=y.useRef(null),T=ln(Qs(f),M,n),I=ee=>U=>{ee&&(U===void 0?ee(M.current):ee(M.current,U))},H=I((ee,U)=>{mf(v,ee,h),ng(ee),S&&S(ee,U)}),V=I((ee,U)=>{const R=Ra({timeout:j,style:C,easing:m},{mode:"enter"});ee.style.webkitTransition=r.transitions.create("-webkit-transform",{...R}),ee.style.transition=r.transitions.create("transform",{...R}),ee.style.webkitTransform="none",ee.style.transform="none",A&&A(ee,U)}),X=I(P),N=I(D),Y=I(ee=>{const U=Ra({timeout:j,style:C,easing:m},{mode:"exit"});ee.style.webkitTransition=r.transitions.create("-webkit-transform",U),ee.style.transition=r.transitions.create("transform",U),mf(v,ee,h),x&&x(ee)}),q=I(ee=>{ee.style.webkitTransition="",ee.style.transition="",z&&z(ee)}),W=ee=>{l&&l(M.current,ee)},ne=y.useCallback(()=>{M.current&&mf(v,M.current,h)},[v,h]);return y.useEffect(()=>{if(b||v==="down"||v==="right")return;const ee=Um(()=>{M.current&&mf(v,M.current,h)}),U=Do(M.current);return U.addEventListener("resize",ee),()=>{ee.clear(),U.removeEventListener("resize",ee)}},[v,b,h]),y.useEffect(()=>{b||ne()},[b,ne]),p.jsx(O,{nodeRef:M,onEnter:H,onEntered:X,onEntering:V,onExit:Y,onExited:q,onExiting:N,addEndListener:W,appear:u,in:b,timeout:j,...E,children:(ee,{ownerState:U,...R})=>y.cloneElement(f,{ref:T,style:{visibility:ee==="exited"&&!b?"hidden":void 0,...C,...f.props.style},...R})})});function Pz(e){return Qe("MuiDrawer",e)}Ke("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const v0=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},bz=e=>{const{classes:t,anchor:n,variant:r}=e,s={root:["root",`anchor${pe(n)}`],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${pe(n)}`,r!=="temporary"&&`paperAnchorDocked${pe(n)}`]};return _e(s,Pz,t)},wz=fe(dg,{name:"MuiDrawer",slot:"Root",overridesResolver:v0})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),xz=fe("div",{shouldForwardProp:Xn,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:v0})({flex:"0 0 auto"}),Sz=fe(Vr,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${pe(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${pe(n.anchor)}`]]}})(tt(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:t})=>t.anchor==="left"&&t.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="top"&&t.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="right"&&t.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="bottom"&&t.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),m0={left:"right",right:"left",top:"down",bottom:"up"};function Hz(e){return["left","right"].includes(e)}function Cz({direction:e},t){return e==="rtl"&&Hz(t)?m0[t]:t}const jz=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiDrawer"}),s=Fr(),a=Ic(),l={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:u="left",BackdropProps:f,children:h,className:v,elevation:m=16,hideBackdrop:b=!1,ModalProps:{BackdropProps:S,...P}={},onClose:A,open:x=!1,PaperProps:z={},SlideProps:D,TransitionComponent:C,transitionDuration:j=l,variant:O="temporary",slots:E={},slotProps:M={},...T}=r,I=y.useRef(!1);y.useEffect(()=>{I.current=!0},[]);const H=Cz({direction:a?"rtl":"ltr"},u),X={...r,anchor:u,elevation:m,open:x,variant:O,...T},N=bz(X),Y={slots:{transition:C,...E},slotProps:{paper:z,transition:D,...M,backdrop:_m(M.backdrop||{...f,...S},{transitionDuration:j})}},[q,W]=at("root",{ref:n,elementType:wz,className:ze(N.root,N.modal,v),shouldForwardComponentProp:!0,ownerState:X,externalForwardedProps:{...Y,...T,...P},additionalProps:{open:x,onClose:A,hideBackdrop:b,slots:{backdrop:Y.slots.backdrop},slotProps:{backdrop:Y.slotProps.backdrop}}}),[ne,ee]=at("paper",{elementType:Sz,shouldForwardComponentProp:!0,className:ze(N.paper,z.className),ownerState:X,externalForwardedProps:Y,additionalProps:{elevation:O==="temporary"?m:0,square:!0}}),[U,R]=at("docked",{elementType:xz,ref:n,className:ze(N.root,N.docked,v),ownerState:X,externalForwardedProps:Y,additionalProps:T}),[J,L]=at("transition",{elementType:Az,ownerState:X,externalForwardedProps:Y,additionalProps:{in:x,direction:m0[H],timeout:j,appear:I.current}}),Z=p.jsx(ne,{...ee,children:h});if(O==="permanent")return p.jsx(U,{...R,children:Z});const $=p.jsx(J,{...L,children:Z});return O==="persistent"?p.jsx(U,{...R,children:$}):p.jsx(q,{...W,children:$})}),Dz=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:s,size:a,hiddenLabel:l,multiline:u}=e,f={root:["root",!n&&"underline",r&&"adornedStart",s&&"adornedEnd",a==="small"&&`size${pe(a)}`,l&&"hiddenLabel",u&&"multiline"],input:["input"]},h=_e(f,Cj,t);return{...t,...h}},zz=fe(Bd,{shouldForwardProp:e=>Xn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Ld(e,t),!n.disableUnderline&&t.underline]}})(tt(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Er.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Er.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:l})=>!l.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Er.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Er.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Er.disabled}, .${Er.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Er.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(dn()).map(([l])=>({props:{disableUnderline:!1,color:l},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[l]?.main}`}}})),{props:({ownerState:l})=>l.startAdornment,style:{paddingLeft:12}},{props:({ownerState:l})=>l.endAdornment,style:{paddingRight:12}},{props:({ownerState:l})=>l.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:l,size:u})=>l.multiline&&u==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel&&l.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),Oz=fe(Nd,{name:"MuiFilledInput",slot:"Input",overridesResolver:Id})(tt(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),pg=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFilledInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,hiddenLabel:f,inputComponent:h="input",multiline:v=!1,slotProps:m,slots:b={},type:S="text",...P}=r,A={...r,disableUnderline:s,fullWidth:u,inputComponent:h,multiline:v,type:S},x=Dz(r),z={root:{ownerState:A},input:{ownerState:A}},D=m??l?Vn(z,m??l):z,C=b.root??a.Root??zz,j=b.input??a.Input??Oz;return p.jsx(Vd,{slots:{root:C,input:j},slotProps:D,fullWidth:u,inputComponent:h,multiline:v,ref:n,type:S,...P,classes:x})});pg.muiName="Input";function kz(e){return Qe("MuiFormControl",e)}Ke("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const Rz=e=>{const{classes:t,margin:n,fullWidth:r}=e,s={root:["root",n!=="none"&&`margin${pe(n)}`,r&&"fullWidth"]};return _e(s,kz,t)},Ez=fe("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${pe(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),ir=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFormControl"}),{children:s,className:a,color:l="primary",component:u="div",disabled:f=!1,error:h=!1,focused:v,fullWidth:m=!1,hiddenLabel:b=!1,margin:S="none",required:P=!1,size:A="medium",variant:x="outlined",...z}=r,D={...r,color:l,component:u,disabled:f,error:h,fullWidth:m,hiddenLabel:b,margin:S,required:P,size:A,variant:x},C=Rz(D),[j,O]=y.useState(()=>{let q=!1;return s&&y.Children.forEach(s,W=>{if(!Lf(W,["Input","Select"]))return;const ne=Lf(W,["Select"])?W.props.input:W;ne&&bj(ne.props)&&(q=!0)}),q}),[E,M]=y.useState(()=>{let q=!1;return s&&y.Children.forEach(s,W=>{Lf(W,["Input","Select"])&&(rd(W.props,!0)||rd(W.props.inputProps,!0))&&(q=!0)}),q}),[T,I]=y.useState(!1);f&&T&&I(!1);const H=v!==void 0&&!f?v:T;let V;y.useRef(!1);const X=y.useCallback(()=>{M(!0)},[]),N=y.useCallback(()=>{M(!1)},[]),Y=y.useMemo(()=>({adornedStart:j,setAdornedStart:O,color:l,disabled:f,error:h,filled:E,focused:H,fullWidth:m,hiddenLabel:b,size:A,onBlur:()=>{I(!1)},onFocus:()=>{I(!0)},onEmpty:N,onFilled:X,registerEffect:V,required:P,variant:x}),[j,l,f,h,E,H,m,b,V,N,X,P,A,x]);return p.jsx(Md.Provider,{value:Y,children:p.jsx(Ez,{as:u,ownerState:D,className:ze(C.root,a),ref:n,...z,children:s})})});function Tz(e){return Qe("MuiFormControlLabel",e)}const ec=Ke("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),Mz=e=>{const{classes:t,disabled:n,labelPlacement:r,error:s,required:a}=e,l={root:["root",n&&"disabled",`labelPlacement${pe(r)}`,s&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",s&&"error"]};return _e(l,Tz,t)},Lz=fe("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ec.label}`]:t.label},t.root,t[`labelPlacement${pe(n.labelPlacement)}`]]}})(tt(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${ec.disabled}`]:{cursor:"default"},[`& .${ec.label}`]:{[`&.${ec.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),Iz=fe("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(tt(({theme:e})=>({[`&.${ec.error}`]:{color:(e.vars||e).palette.error.main}}))),Uo=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFormControlLabel"}),{checked:s,className:a,componentsProps:l={},control:u,disabled:f,disableTypography:h,inputRef:v,label:m,labelPlacement:b="end",name:S,onChange:P,required:A,slots:x={},slotProps:z={},value:D,...C}=r,j=Ro(),O=f??u.props.disabled??j?.disabled,E=A??u.props.required,M={disabled:O,required:E};["checked","name","onChange","value","inputRef"].forEach(q=>{typeof u.props[q]>"u"&&typeof r[q]<"u"&&(M[q]=r[q])});const T=_s({props:r,muiFormControl:j,states:["error"]}),I={...r,disabled:O,labelPlacement:b,required:E,error:T.error},H=Mz(I),V={slots:x,slotProps:{...l,...z}},[X,N]=at("typography",{elementType:Ht,externalForwardedProps:V,ownerState:I});let Y=m;return Y!=null&&Y.type!==Ht&&!h&&(Y=p.jsx(X,{component:"span",...N,className:ze(H.label,N?.className),children:Y})),p.jsxs(Lz,{className:ze(H.root,a),ownerState:I,ref:n,...C,children:[y.cloneElement(u,M),E?p.jsxs("div",{children:[Y,p.jsxs(Iz,{ownerState:I,"aria-hidden":!0,className:H.asterisk,children:[" ","*"]})]}):Y]})});function Bz(e){return Qe("MuiFormGroup",e)}Ke("MuiFormGroup",["root","row","error"]);const Nz=e=>{const{classes:t,row:n,error:r}=e;return _e({root:["root",n&&"row",r&&"error"]},Bz,t)},Vz=fe("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),Xz=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFormGroup"}),{className:s,row:a=!1,...l}=r,u=Ro(),f=_s({props:r,muiFormControl:u,states:["error"]}),h={...r,row:a,error:f.error},v=Nz(h);return p.jsx(Vz,{className:ze(v.root,s),ownerState:h,ref:n,...l})});function Fz(e){return Qe("MuiFormHelperText",e)}const iw=Ke("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var aw;const Wz=e=>{const{classes:t,contained:n,size:r,disabled:s,error:a,filled:l,focused:u,required:f}=e,h={root:["root",s&&"disabled",a&&"error",r&&`size${pe(r)}`,n&&"contained",u&&"focused",l&&"filled",f&&"required"]};return _e(h,Fz,t)},Jz=fe("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${pe(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${iw.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${iw.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),Pa=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFormHelperText"}),{children:s,className:a,component:l="p",disabled:u,error:f,filled:h,focused:v,margin:m,required:b,variant:S,...P}=r,A=Ro(),x=_s({props:r,muiFormControl:A,states:["variant","size","disabled","error","filled","focused","required"]}),z={...r,component:l,contained:x.variant==="filled"||x.variant==="outlined",variant:x.variant,size:x.size,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required};delete z.ownerState;const D=Wz(z);return p.jsx(Jz,{as:l,className:ze(D.root,a),ref:n,...P,ownerState:z,children:s===" "?aw||(aw=p.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):s})});function qz(e){return Qe("MuiFormLabel",e)}const cc=Ke("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Uz=e=>{const{classes:t,color:n,focused:r,disabled:s,error:a,filled:l,required:u}=e,f={root:["root",`color${pe(n)}`,s&&"disabled",a&&"error",l&&"filled",r&&"focused",u&&"required"],asterisk:["asterisk",a&&"error"]};return _e(f,qz,t)},Yz=fe("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color==="secondary"&&t.colorSecondary,n.filled&&t.filled]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(dn()).map(([t])=>({props:{color:t},style:{[`&.${cc.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${cc.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${cc.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),Gz=fe("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(tt(({theme:e})=>({[`&.${cc.error}`]:{color:(e.vars||e).palette.error.main}}))),ba=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiFormLabel"}),{children:s,className:a,color:l,component:u="label",disabled:f,error:h,filled:v,focused:m,required:b,...S}=r,P=Ro(),A=_s({props:r,muiFormControl:P,states:["color","required","focused","disabled","error","filled"]}),x={...r,color:A.color||"primary",component:u,disabled:A.disabled,error:A.error,filled:A.filled,focused:A.focused,required:A.required},z=Uz(x);return p.jsxs(Yz,{as:u,ownerState:x,className:ze(z.root,a),ref:n,...S,children:[s,A.required&&p.jsxs(Gz,{ownerState:x,"aria-hidden":!0,className:z.asterisk,children:[" ","*"]})]})}),lw=y.createContext();function Zz(e){return Qe("MuiGrid",e)}const Qz=[0,1,2,3,4,5,6,7,8,9,10],Kz=["column-reverse","column","row-reverse","row"],_z=["nowrap","wrap-reverse","wrap"],Tl=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],wc=Ke("MuiGrid",["root","container","item","zeroMinWidth",...Qz.map(e=>`spacing-xs-${e}`),...Kz.map(e=>`direction-xs-${e}`),..._z.map(e=>`wrap-xs-${e}`),...Tl.map(e=>`grid-xs-${e}`),...Tl.map(e=>`grid-sm-${e}`),...Tl.map(e=>`grid-md-${e}`),...Tl.map(e=>`grid-lg-${e}`),...Tl.map(e=>`grid-xl-${e}`)]);function $z({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,s)=>{let a={};if(t[s]&&(n=t[s]),!n)return r;if(n===!0)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=Si({values:t.columns,breakpoints:e.breakpoints.values}),u=typeof l=="object"?l[s]:l;if(u==null)return r;const f=`${Math.round(n/u*1e8)/1e6}%`;let h={};if(t.container&&t.item&&t.columnSpacing!==0){const v=e.spacing(t.columnSpacing);if(v!=="0px"){const m=`calc(${f} + ${v})`;h={flexBasis:m,maxWidth:m}}}a={flexBasis:f,flexGrow:0,maxWidth:f,...h}}return e.breakpoints.values[s]===0?Object.assign(r,a):r[e.breakpoints.up(s)]=a,r},{})}function eO({theme:e,ownerState:t}){const n=Si({values:t.direction,breakpoints:e.breakpoints.values});return xr({theme:e},n,r=>{const s={flexDirection:r};return r.startsWith("column")&&(s[`& > .${wc.item}`]={maxWidth:"none"}),s})}function g0({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(s=>{n===""&&t[s]!==0&&(n=s)});const r=Object.keys(e).sort((s,a)=>e[s]-e[a]);return r.slice(0,r.indexOf(n))}function tO({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let s={};if(n&&r!==0){const a=Si({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=g0({breakpoints:e.breakpoints.values,values:a})),s=xr({theme:e},a,(u,f)=>{const h=e.spacing(u);return h!=="0px"?{marginTop:`calc(-1 * ${h})`,[`& > .${wc.item}`]:{paddingTop:h}}:l?.includes(f)?{}:{marginTop:0,[`& > .${wc.item}`]:{paddingTop:0}}})}return s}function nO({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let s={};if(n&&r!==0){const a=Si({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=g0({breakpoints:e.breakpoints.values,values:a})),s=xr({theme:e},a,(u,f)=>{const h=e.spacing(u);if(h!=="0px"){const v=`calc(-1 * ${h})`;return{width:`calc(100% + ${h})`,marginLeft:v,[`& > .${wc.item}`]:{paddingLeft:h}}}return l?.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${wc.item}`]:{paddingLeft:0}}})}return s}function rO(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(s=>{const a=e[s];Number(a)>0&&r.push(n[`spacing-${s}-${String(a)}`])}),r}const oO=fe("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:s,item:a,spacing:l,wrap:u,zeroMinWidth:f,breakpoints:h}=n;let v=[];r&&(v=rO(l,h,t));const m=[];return h.forEach(b=>{const S=n[b];S&&m.push(t[`grid-${b}-${String(S)}`])}),[t.root,r&&t.container,a&&t.item,f&&t.zeroMinWidth,...v,s!=="row"&&t[`direction-xs-${String(s)}`],u!=="wrap"&&t[`wrap-xs-${String(u)}`],...m]}})(({ownerState:e})=>({boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...e.item&&{margin:0},...e.zeroMinWidth&&{minWidth:0},...e.wrap!=="wrap"&&{flexWrap:e.wrap}}),eO,tO,nO,$z);function sO(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const s=e[r];if(Number(s)>0){const a=`spacing-${r}-${String(s)}`;n.push(a)}}),n}const iO=e=>{const{classes:t,container:n,direction:r,item:s,spacing:a,wrap:l,zeroMinWidth:u,breakpoints:f}=e;let h=[];n&&(h=sO(a,f));const v=[];f.forEach(b=>{const S=e[b];S&&v.push(`grid-${b}-${String(S)}`)});const m={root:["root",n&&"container",s&&"item",u&&"zeroMinWidth",...h,r!=="row"&&`direction-xs-${String(r)}`,l!=="wrap"&&`wrap-xs-${String(l)}`,...v]};return _e(m,Zz,t)},Qo=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiGrid"}),{breakpoints:s}=Fr(),a=zd(r),{className:l,columns:u,columnSpacing:f,component:h="div",container:v=!1,direction:m="row",item:b=!1,rowSpacing:S,spacing:P=0,wrap:A="wrap",zeroMinWidth:x=!1,...z}=a,D=S||P,C=f||P,j=y.useContext(lw),O=v?u||12:j,E={},M={...z};s.keys.forEach(H=>{z[H]!=null&&(E[H]=z[H],delete M[H])});const T={...a,columns:O,container:v,direction:m,item:b,rowSpacing:D,columnSpacing:C,wrap:A,zeroMinWidth:x,spacing:P,...E,breakpoints:s.keys},I=iO(T);return p.jsx(lw.Provider,{value:O,children:p.jsx(oO,{ownerState:T,className:ze(I.root,l),as:h,ref:n,...M})})});function om(e){return`scale(${e}, ${e**2})`}const aO={entering:{opacity:1,transform:om(1)},entered:{opacity:1,transform:"none"}},hv=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),xc=y.forwardRef(function(t,n){const{addEndListener:r,appear:s=!0,children:a,easing:l,in:u,onEnter:f,onEntered:h,onEntering:v,onExit:m,onExited:b,onExiting:S,style:P,timeout:A="auto",TransitionComponent:x=ko,...z}=t,D=Ai(),C=y.useRef(),j=Fr(),O=y.useRef(null),E=ln(O,Qs(a),n),M=q=>W=>{if(q){const ne=O.current;W===void 0?q(ne):q(ne,W)}},T=M(v),I=M((q,W)=>{ng(q);const{duration:ne,delay:ee,easing:U}=Ra({style:P,timeout:A,easing:l},{mode:"enter"});let R;A==="auto"?(R=j.transitions.getAutoHeightDuration(q.clientHeight),C.current=R):R=ne,q.style.transition=[j.transitions.create("opacity",{duration:R,delay:ee}),j.transitions.create("transform",{duration:hv?R:R*.666,delay:ee,easing:U})].join(","),f&&f(q,W)}),H=M(h),V=M(S),X=M(q=>{const{duration:W,delay:ne,easing:ee}=Ra({style:P,timeout:A,easing:l},{mode:"exit"});let U;A==="auto"?(U=j.transitions.getAutoHeightDuration(q.clientHeight),C.current=U):U=W,q.style.transition=[j.transitions.create("opacity",{duration:U,delay:ne}),j.transitions.create("transform",{duration:hv?U:U*.666,delay:hv?ne:ne||U*.333,easing:ee})].join(","),q.style.opacity=0,q.style.transform=om(.75),m&&m(q)}),N=M(b),Y=q=>{A==="auto"&&D.start(C.current||0,q),r&&r(O.current,q)};return p.jsx(x,{appear:s,in:u,nodeRef:O,onEnter:I,onEntered:H,onEntering:T,onExit:X,onExited:N,onExiting:V,addEndListener:Y,timeout:A==="auto"?null:A,...z,children:(q,{ownerState:W,...ne})=>y.cloneElement(a,{style:{opacity:0,transform:om(.75),visibility:q==="exited"&&!u?"hidden":void 0,...aO[q],...P,...a.props.style},ref:E,...ne})})});xc&&(xc.muiSupportAuto=!0);const lO=Cx({themeId:no}),cO=e=>{const{classes:t,disableUnderline:n}=e,s=_e({root:["root",!n&&"underline"],input:["input"]},Sj,t);return{...t,...s}},uO=fe(Bd,{shouldForwardProp:e=>Xn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Ld(e,t),!n.disableUnderline&&t.underline]}})(tt(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Fs.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Fs.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Fs.disabled}, .${Fs.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Fs.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(dn()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),fO=fe(Nd,{name:"MuiInput",slot:"Input",overridesResolver:Id})({}),hg=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,inputComponent:f="input",multiline:h=!1,slotProps:v,slots:m={},type:b="text",...S}=r,P=cO(r),x={root:{ownerState:{disableUnderline:s}}},z=v??l?Vn(v??l,x):x,D=m.root??a.Root??uO,C=m.input??a.Input??fO;return p.jsx(Vd,{slots:{root:D,input:C},slotProps:z,fullWidth:u,inputComponent:f,multiline:h,ref:n,type:b,...S,classes:P})});hg.muiName="Input";function dO(e){return Qe("MuiInputAdornment",e)}const cw=Ke("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var uw;const pO=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${pe(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},hO=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:s,size:a,variant:l}=e,u={root:["root",n&&"disablePointerEvents",s&&`position${pe(s)}`,l,r&&"hiddenLabel",a&&`size${pe(a)}`]};return _e(u,dO,t)},vO=fe("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:pO})(tt(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${cw.positionStart}&:not(.${cw.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),y0=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiInputAdornment"}),{children:s,className:a,component:l="div",disablePointerEvents:u=!1,disableTypography:f=!1,position:h,variant:v,...m}=r,b=Ro()||{};let S=v;v&&b.variant,b&&!S&&(S=b.variant);const P={...r,hiddenLabel:b.hiddenLabel,size:b.size,disablePointerEvents:u,position:h,variant:S},A=hO(P);return p.jsx(Md.Provider,{value:null,children:p.jsx(vO,{as:l,ownerState:P,className:ze(A.root,a),ref:n,...m,children:typeof s=="string"&&!f?p.jsx(Ht,{color:"textSecondary",children:s}):p.jsxs(y.Fragment,{children:[h==="start"?uw||(uw=p.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,s]})})})});function mO(e){return Qe("MuiInputLabel",e)}Ke("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const gO=e=>{const{classes:t,formControl:n,size:r,shrink:s,disableAnimation:a,variant:l,required:u}=e,f={root:["root",n&&"formControl",!a&&"animated",s&&"shrink",r&&r!=="normal"&&`size${pe(r)}`,l],asterisk:[u&&"asterisk"]},h=_e(f,mO,t);return{...t,...h}},yO=fe(ba,{shouldForwardProp:e=>Xn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${cc.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(tt(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Nf=y.forwardRef(function(t,n){const r=nt({name:"MuiInputLabel",props:t}),{disableAnimation:s=!1,margin:a,shrink:l,variant:u,className:f,...h}=r,v=Ro();let m=l;typeof m>"u"&&v&&(m=v.filled||v.focused||v.adornedStart);const b=_s({props:r,muiFormControl:v,states:["size","variant","required","focused"]}),S={...r,disableAnimation:s,formControl:v,shrink:m,size:b.size,variant:b.variant,required:b.required,focused:b.focused},P=gO(S);return p.jsx(yO,{"data-shrink":m,ref:n,className:ze(P.root,f),...h,ownerState:S,classes:P})});function AO(e){return Qe("MuiLink",e)}const PO=Ke("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),bO=({theme:e,ownerState:t})=>{const n=t.color,r=Ws(e,`palette.${n}.main`,!1)||Ws(e,`palette.${n}`,!1)||t.color,s=Ws(e,`palette.${n}.mainChannel`)||Ws(e,`palette.${n}Channel`);return"vars"in e&&s?`rgba(${s} / 0.4)`:bt(r,.4)},fw={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},wO=e=>{const{classes:t,component:n,focusVisible:r,underline:s}=e,a={root:["root",`underline${pe(s)}`,n==="button"&&"button",r&&"focusVisible"]};return _e(a,AO,t)},xO=fe(Ht,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${pe(n.underline)}`],n.component==="button"&&t.button]}})(tt(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:n})=>t==="always"&&n.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(dn()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:bt(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:bt(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:bt(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${PO.focusVisible}`]:{outline:"auto"}}}]}))),Vf=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiLink"}),s=Fr(),{className:a,color:l="primary",component:u="a",onBlur:f,onFocus:h,TypographyClasses:v,underline:m="always",variant:b="inherit",sx:S,...P}=r,[A,x]=y.useState(!1),z=O=>{ka(O.target)||x(!1),f&&f(O)},D=O=>{ka(O.target)&&x(!0),h&&h(O)},C={...r,color:l,component:u,focusVisible:A,underline:m,variant:b},j=wO(C);return p.jsx(xO,{color:l,className:ze(j.root,a),classes:v,component:u,onBlur:z,onFocus:D,ref:n,ownerState:C,variant:b,...P,sx:[...fw[l]===void 0?[{color:l}]:[],...Array.isArray(S)?S:[S]],style:{...P.style,...m==="always"&&l!=="inherit"&&!fw[l]&&{"--Link-underlineColor":bO({theme:s,ownerState:C})}}})}),Ho=y.createContext({});function SO(e){return Qe("MuiList",e)}Ke("MuiList",["root","padding","dense","subheader"]);const HO=e=>{const{classes:t,disablePadding:n,dense:r,subheader:s}=e;return _e({root:["root",!n&&"padding",r&&"dense",s&&"subheader"]},SO,t)},CO=fe("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),sm=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiList"}),{children:s,className:a,component:l="ul",dense:u=!1,disablePadding:f=!1,subheader:h,...v}=r,m=y.useMemo(()=>({dense:u}),[u]),b={...r,component:l,dense:u,disablePadding:f},S=HO(b);return p.jsx(Ho.Provider,{value:m,children:p.jsxs(CO,{as:l,className:ze(S.root,a),ref:n,ownerState:b,...v,children:[h,s]})})});function jO(e){return Qe("MuiListItem",e)}Ke("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function DO(e){return Qe("MuiListItemButton",e)}const wa=Ke("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),zO=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},OO=e=>{const{alignItems:t,classes:n,dense:r,disabled:s,disableGutters:a,divider:l,selected:u}=e,h=_e({root:["root",r&&"dense",!a&&"gutters",l&&"divider",s&&"disabled",t==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},DO,n);return{...n,...h}},kO=fe(Oi,{shouldForwardProp:e=>Xn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:zO})(tt(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${wa.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:bt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${wa.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:bt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${wa.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:bt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:bt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${wa.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${wa.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.dense,style:{paddingTop:4,paddingBottom:4}}]}))),A0=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListItemButton"}),{alignItems:s="center",autoFocus:a=!1,component:l="div",children:u,dense:f=!1,disableGutters:h=!1,divider:v=!1,focusVisibleClassName:m,selected:b=!1,className:S,...P}=r,A=y.useContext(Ho),x=y.useMemo(()=>({dense:f||A.dense||!1,alignItems:s,disableGutters:h}),[s,A.dense,f,h]),z=y.useRef(null);Sr(()=>{a&&z.current&&z.current.focus()},[a]);const D={...r,alignItems:s,dense:x.dense,disableGutters:h,divider:v,selected:b},C=OO(D),j=ln(z,n);return p.jsx(Ho.Provider,{value:x,children:p.jsx(kO,{ref:j,href:P.href||P.to,component:(P.href||P.to)&&l==="div"?"button":l,focusVisibleClassName:ze(C.focusVisible,m),ownerState:D,className:ze(C.root,S),...P,classes:C,children:u})})});function RO(e){return Qe("MuiListItemSecondaryAction",e)}Ke("MuiListItemSecondaryAction",["root","disableGutters"]);const EO=e=>{const{disableGutters:t,classes:n}=e;return _e({root:["root",t&&"disableGutters"]},RO,n)},TO=fe("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),P0=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListItemSecondaryAction"}),{className:s,...a}=r,l=y.useContext(Ho),u={...r,disableGutters:l.disableGutters},f=EO(u);return p.jsx(TO,{className:ze(f.root,s),ownerState:u,ref:n,...a})});P0.muiName="ListItemSecondaryAction";const MO=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},LO=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:u}=e;return _e({root:["root",r&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction"],container:["container"]},jO,n)},IO=fe("div",{name:"MuiListItem",slot:"Root",overridesResolver:MO})(tt(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${wa.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),BO=fe("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),gf=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListItem"}),{alignItems:s="center",children:a,className:l,component:u,components:f={},componentsProps:h={},ContainerComponent:v="li",ContainerProps:{className:m,...b}={},dense:S=!1,disableGutters:P=!1,disablePadding:A=!1,divider:x=!1,secondaryAction:z,slotProps:D={},slots:C={},...j}=r,O=y.useContext(Ho),E=y.useMemo(()=>({dense:S||O.dense||!1,alignItems:s,disableGutters:P}),[s,O.dense,S,P]),M=y.useRef(null),T=y.Children.toArray(a),I=T.length&&Lf(T[T.length-1],["ListItemSecondaryAction"]),H={...r,alignItems:s,dense:E.dense,disableGutters:P,disablePadding:A,divider:x,hasSecondaryAction:I},V=LO(H),X=ln(M,n),N=C.root||f.Root||IO,Y=D.root||h.root||{},q={className:ze(V.root,Y.className,l),...j};let W=u||"li";return I?(W=!q.component&&!u?"div":W,v==="li"&&(W==="li"?W="div":q.component==="li"&&(q.component="div")),p.jsx(Ho.Provider,{value:E,children:p.jsxs(BO,{as:v,className:ze(V.container,m),ref:X,ownerState:H,...b,children:[p.jsx(N,{...Y,...!bc(N)&&{as:W,ownerState:{...H,...Y.ownerState}},...q,children:T}),T.pop()]})})):p.jsx(Ho.Provider,{value:E,children:p.jsxs(N,{...Y,as:W,ref:X,...!bc(N)&&{ownerState:{...H,...Y.ownerState}},...q,children:[T,z&&p.jsx(P0,{children:z})]})})});function NO(e){return Qe("MuiListItemIcon",e)}const dw=Ke("MuiListItemIcon",["root","alignItemsFlexStart"]),VO=e=>{const{alignItems:t,classes:n}=e;return _e({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},NO,n)},XO=fe("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(tt(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),FO=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListItemIcon"}),{className:s,...a}=r,l=y.useContext(Ho),u={...r,alignItems:l.alignItems},f=VO(u);return p.jsx(XO,{className:ze(f.root,s),ownerState:u,ref:n,...a})});function WO(e){return Qe("MuiListItemText",e)}const Ha=Ke("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),JO=e=>{const{classes:t,inset:n,primary:r,secondary:s,dense:a}=e;return _e({root:["root",n&&"inset",a&&"dense",r&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},WO,t)},qO=fe("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ha.primary}`]:t.primary},{[`& .${Ha.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${Rb.root}:where(& .${Ha.primary})`]:{display:"block"},[`.${Rb.root}:where(& .${Ha.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),uc=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiListItemText"}),{children:s,className:a,disableTypography:l=!1,inset:u=!1,primary:f,primaryTypographyProps:h,secondary:v,secondaryTypographyProps:m,slots:b={},slotProps:S={},...P}=r,{dense:A}=y.useContext(Ho);let x=f??s,z=v;const D={...r,disableTypography:l,inset:u,primary:!!x,secondary:!!z,dense:A},C=JO(D),j={slots:b,slotProps:{primary:h,secondary:m,...S}},[O,E]=at("root",{className:ze(C.root,a),elementType:qO,externalForwardedProps:{...j,...P},ownerState:D,ref:n}),[M,T]=at("primary",{className:C.primary,elementType:Ht,externalForwardedProps:j,ownerState:D}),[I,H]=at("secondary",{className:C.secondary,elementType:Ht,externalForwardedProps:j,ownerState:D});return x!=null&&x.type!==Ht&&!l&&(x=p.jsx(M,{variant:A?"body2":"body1",component:T?.variant?void 0:"span",...T,children:x})),z!=null&&z.type!==Ht&&!l&&(z=p.jsx(I,{variant:"body2",color:"textSecondary",...H,children:z})),p.jsxs(O,{...E,children:[x,z]})});function vv(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function pw(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function b0(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function Ml(e,t,n,r,s,a){let l=!1,u=s(e,t,t?n:!1);for(;u;){if(u===e.firstChild){if(l)return!1;l=!0}const f=r?!1:u.disabled||u.getAttribute("aria-disabled")==="true";if(!u.hasAttribute("tabindex")||!b0(u,a)||f)u=s(e,u,n);else return u.focus(),!0}return!1}const UO=y.forwardRef(function(t,n){const{actions:r,autoFocus:s=!1,autoFocusItem:a=!1,children:l,className:u,disabledItemsFocusable:f=!1,disableListWrap:h=!1,onKeyDown:v,variant:m="selectedMenu",...b}=t,S=y.useRef(null),P=y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Sr(()=>{s&&S.current.focus()},[s]),y.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(C,{direction:j})=>{const O=!S.current.style.width;if(C.clientHeight{const j=S.current,O=C.key;if(C.ctrlKey||C.metaKey||C.altKey){v&&v(C);return}const M=rr(j).activeElement;if(O==="ArrowDown")C.preventDefault(),Ml(j,M,h,f,vv);else if(O==="ArrowUp")C.preventDefault(),Ml(j,M,h,f,pw);else if(O==="Home")C.preventDefault(),Ml(j,null,h,f,vv);else if(O==="End")C.preventDefault(),Ml(j,null,h,f,pw);else if(O.length===1){const T=P.current,I=O.toLowerCase(),H=performance.now();T.keys.length>0&&(H-T.lastTime>500?(T.keys=[],T.repeating=!0,T.previousKeyMatched=!0):T.repeating&&I!==T.keys[0]&&(T.repeating=!1)),T.lastTime=H,T.keys.push(I);const V=M&&!T.repeating&&b0(M,T);T.previousKeyMatched&&(V||Ml(j,M,!1,f,vv,T))?C.preventDefault():T.previousKeyMatched=!1}v&&v(C)},x=ln(S,n);let z=-1;y.Children.forEach(l,(C,j)=>{if(!y.isValidElement(C)){z===j&&(z+=1,z>=l.length&&(z=-1));return}C.props.disabled||(m==="selectedMenu"&&C.props.selected||z===-1)&&(z=j),z===j&&(C.props.disabled||C.props.muiSkipListHighlight||C.type.muiSkipListHighlight)&&(z+=1,z>=l.length&&(z=-1))});const D=y.Children.map(l,(C,j)=>{if(j===z){const O={};return a&&(O.autoFocus=!0),C.props.tabIndex===void 0&&m==="selectedMenu"&&(O.tabIndex=0),y.cloneElement(C,O)}return C});return p.jsx(sm,{role:"menu",ref:x,className:u,onKeyDown:A,tabIndex:s?0:-1,...b,children:D})});function YO(e){return Qe("MuiPopover",e)}Ke("MuiPopover",["root","paper"]);function hw(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function vw(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function mw(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function yf(e){return typeof e=="function"?e():e}const GO=e=>{const{classes:t}=e;return _e({root:["root"],paper:["paper"]},YO,t)},ZO=fe(dg,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),w0=fe(Vr,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),QO=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiPopover"}),{action:s,anchorEl:a,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:f="anchorEl",children:h,className:v,container:m,elevation:b=8,marginThreshold:S=16,open:P,PaperProps:A={},slots:x={},slotProps:z={},transformOrigin:D={vertical:"top",horizontal:"left"},TransitionComponent:C,transitionDuration:j="auto",TransitionProps:O={},disableScrollLock:E=!1,...M}=r,T=y.useRef(),I={...r,anchorOrigin:l,anchorReference:f,elevation:b,marginThreshold:S,transformOrigin:D,TransitionComponent:C,transitionDuration:j,TransitionProps:O},H=GO(I),V=y.useCallback(()=>{if(f==="anchorPosition")return u;const ke=yf(a),ge=(ke&&ke.nodeType===1?ke:rr(T.current).body).getBoundingClientRect();return{top:ge.top+hw(ge,l.vertical),left:ge.left+vw(ge,l.horizontal)}},[a,l.horizontal,l.vertical,u,f]),X=y.useCallback(ke=>({vertical:hw(ke,D.vertical),horizontal:vw(ke,D.horizontal)}),[D.horizontal,D.vertical]),N=y.useCallback(ke=>{const Le={width:ke.offsetWidth,height:ke.offsetHeight},ge=X(Le);if(f==="none")return{top:null,left:null,transformOrigin:mw(ge)};const Je=V();let ve=Je.top-ge.vertical,Ge=Je.left-ge.horizontal;const At=ve+Le.height,Be=Ge+Le.width,ft=Do(yf(a)),lt=ft.innerHeight-S,dt=ft.innerWidth-S;if(S!==null&&velt){const gt=At-lt;ve-=gt,ge.vertical+=gt}if(S!==null&&Gedt){const gt=Be-dt;Ge-=gt,ge.horizontal+=gt}return{top:`${Math.round(ve)}px`,left:`${Math.round(Ge)}px`,transformOrigin:mw(ge)}},[a,f,V,X,S]),[Y,q]=y.useState(P),W=y.useCallback(()=>{const ke=T.current;if(!ke)return;const Le=N(ke);Le.top!==null&&ke.style.setProperty("top",Le.top),Le.left!==null&&(ke.style.left=Le.left),ke.style.transformOrigin=Le.transformOrigin,q(!0)},[N]);y.useEffect(()=>(E&&window.addEventListener("scroll",W),()=>window.removeEventListener("scroll",W)),[a,E,W]);const ne=()=>{W()},ee=()=>{q(!1)};y.useEffect(()=>{P&&W()}),y.useImperativeHandle(s,()=>P?{updatePosition:()=>{W()}}:null,[P,W]),y.useEffect(()=>{if(!P)return;const ke=Um(()=>{W()}),Le=Do(yf(a));return Le.addEventListener("resize",ke),()=>{ke.clear(),Le.removeEventListener("resize",ke)}},[a,P,W]);let U=j;const R={slots:{transition:C,...x},slotProps:{transition:O,paper:A,...z}},[J,L]=at("transition",{elementType:xc,externalForwardedProps:R,ownerState:I,getSlotProps:ke=>({...ke,onEntering:(Le,ge)=>{ke.onEntering?.(Le,ge),ne()},onExited:Le=>{ke.onExited?.(Le),ee()}}),additionalProps:{appear:!0,in:P}});j==="auto"&&!J.muiSupportAuto&&(U=void 0);const Z=m||(a?rr(yf(a)).body:void 0),[$,{slots:oe,slotProps:ae,...be}]=at("root",{ref:n,elementType:ZO,externalForwardedProps:{...R,...M},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:x.backdrop},slotProps:{backdrop:_m(typeof z.backdrop=="function"?z.backdrop(I):z.backdrop,{invisible:!0})},container:Z,open:P},ownerState:I,className:ze(H.root,v)}),[ie,He]=at("paper",{ref:T,className:H.paper,elementType:w0,externalForwardedProps:R,shouldForwardComponentProp:!0,additionalProps:{elevation:b,style:Y?void 0:{opacity:0}},ownerState:I});return p.jsx($,{...be,...!bc($)&&{slots:oe,slotProps:ae,disableScrollLock:E},children:p.jsx(J,{...L,timeout:U,children:p.jsx(ie,{...He,children:h})})})});function KO(e){return Qe("MuiMenu",e)}Ke("MuiMenu",["root","paper","list"]);const _O={vertical:"top",horizontal:"right"},$O={vertical:"top",horizontal:"left"},ek=e=>{const{classes:t}=e;return _e({root:["root"],paper:["paper"],list:["list"]},KO,t)},tk=fe(QO,{shouldForwardProp:e=>Xn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),nk=fe(w0,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),rk=fe(UO,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Sc=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:u=!1,MenuListProps:f={},onClose:h,open:v,PaperProps:m={},PopoverClasses:b,transitionDuration:S="auto",TransitionProps:{onEntering:P,...A}={},variant:x="selectedMenu",slots:z={},slotProps:D={},...C}=r,j=Ic(),O={...r,autoFocus:s,disableAutoFocusItem:u,MenuListProps:f,onEntering:P,PaperProps:m,transitionDuration:S,TransitionProps:A,variant:x},E=ek(O),M=s&&!u&&v,T=y.useRef(null),I=(U,R)=>{T.current&&T.current.adjustStyleForScrollbar(U,{direction:j?"rtl":"ltr"}),P&&P(U,R)},H=U=>{U.key==="Tab"&&(U.preventDefault(),h&&h(U,"tabKeyDown"))};let V=-1;y.Children.map(a,(U,R)=>{y.isValidElement(U)&&(U.props.disabled||(x==="selectedMenu"&&U.props.selected||V===-1)&&(V=R))});const X={slots:z,slotProps:{list:f,transition:A,paper:m,...D}},N=Tx({elementType:z.root,externalSlotProps:D.root,ownerState:O,className:[E.root,l]}),[Y,q]=at("paper",{className:E.paper,elementType:nk,externalForwardedProps:X,shouldForwardComponentProp:!0,ownerState:O}),[W,ne]=at("list",{className:ze(E.list,f.className),elementType:rk,shouldForwardComponentProp:!0,externalForwardedProps:X,getSlotProps:U=>({...U,onKeyDown:R=>{H(R),U.onKeyDown?.(R)}}),ownerState:O}),ee=typeof X.slotProps.transition=="function"?X.slotProps.transition(O):X.slotProps.transition;return p.jsx(tk,{onClose:h,anchorOrigin:{vertical:"bottom",horizontal:j?"right":"left"},transformOrigin:j?_O:$O,slots:{root:z.root,paper:Y,backdrop:z.backdrop,...z.transition&&{transition:z.transition}},slotProps:{root:N,paper:q,backdrop:typeof D.backdrop=="function"?D.backdrop(O):D.backdrop,transition:{...ee,onEntering:(...U)=>{I(...U),ee?.onEntering?.(...U)}}},open:v,ref:n,transitionDuration:S,ownerState:O,...C,classes:b,children:p.jsx(W,{actions:T,autoFocus:s&&(V===-1||u),autoFocusItem:M,variant:x,...ne,children:a})})});function ok(e){return Qe("MuiMenuItem",e)}const Ll=Ke("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),sk=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},ik=e=>{const{disabled:t,dense:n,divider:r,disableGutters:s,selected:a,classes:l}=e,f=_e({root:["root",n&&"dense",t&&"disabled",!s&&"gutters",r&&"divider",a&&"selected"]},ok,l);return{...l,...f}},ak=fe(Oi,{shouldForwardProp:e=>Xn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:sk})(tt(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ll.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:bt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ll.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:bt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ll.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:bt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:bt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ll.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ll.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${sw.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${sw.inset}`]:{marginLeft:52},[`& .${Ha.root}`]:{marginTop:0,marginBottom:0},[`& .${Ha.inset}`]:{paddingLeft:36},[`& .${dw.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${dw.root} svg`]:{fontSize:"1.25rem"}}}]}))),Yo=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiMenuItem"}),{autoFocus:s=!1,component:a="li",dense:l=!1,divider:u=!1,disableGutters:f=!1,focusVisibleClassName:h,role:v="menuitem",tabIndex:m,className:b,...S}=r,P=y.useContext(Ho),A=y.useMemo(()=>({dense:l||P.dense||!1,disableGutters:f}),[P.dense,l,f]),x=y.useRef(null);Sr(()=>{s&&x.current&&x.current.focus()},[s]);const z={...r,dense:A.dense,divider:u,disableGutters:f},D=ik(r),C=ln(x,n);let j;return r.disabled||(j=m!==void 0?m:-1),p.jsx(Ho.Provider,{value:A,children:p.jsx(ak,{ref:C,role:v,tabIndex:j,component:a,focusVisibleClassName:ze(D.focusVisible,h),className:ze(D.root,b),...S,ownerState:z,classes:D})})});function lk(e){return Qe("MuiNativeSelect",e)}const vg=Ke("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),ck=e=>{const{classes:t,variant:n,disabled:r,multiple:s,open:a,error:l}=e,u={select:["select",n,r&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${pe(n)}`,a&&"iconOpen",r&&"disabled"]};return _e(u,lk,t)},x0=fe("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${vg.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),uk=fe(x0,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Xn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${vg.multiple}`]:t.multiple}]}})({}),S0=fe("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${vg.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),fk=fe(S0,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${pe(n.variant)}`],n.open&&t.iconOpen]}})({}),dk=y.forwardRef(function(t,n){const{className:r,disabled:s,error:a,IconComponent:l,inputRef:u,variant:f="standard",...h}=t,v={...t,disabled:s,variant:f,error:a},m=ck(v);return p.jsxs(y.Fragment,{children:[p.jsx(uk,{ownerState:v,className:ze(m.select,r),disabled:s,ref:u||n,...h}),t.multiple?null:p.jsx(fk,{as:l,ownerState:v,className:m.icon})]})});var gw;const pk=fe("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:Xn})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),hk=fe("legend",{name:"MuiNotchedOutlined",shouldForwardProp:Xn})(tt(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function vk(e){const{children:t,classes:n,className:r,label:s,notched:a,...l}=e,u=s!=null&&s!=="",f={...e,notched:a,withLabel:u};return p.jsx(pk,{"aria-hidden":!0,className:r,ownerState:f,...l,children:p.jsx(hk,{ownerState:f,children:u?p.jsx("span",{children:s}):gw||(gw=p.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const mk=e=>{const{classes:t}=e,r=_e({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Hj,t);return{...t,...r}},gk=fe(Bd,{shouldForwardProp:e=>Xn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ld})(tt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${$r.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${$r.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${$r.focused} .${$r.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(dn()).map(([n])=>({props:{color:n},style:{[`&.${$r.focused} .${$r.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${$r.error} .${$r.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${$r.disabled} .${$r.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),yk=fe(vk,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(tt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),Ak=fe(Nd,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Id})(tt(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),mg=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiOutlinedInput"}),{components:s={},fullWidth:a=!1,inputComponent:l="input",label:u,multiline:f=!1,notched:h,slots:v={},slotProps:m={},type:b="text",...S}=r,P=mk(r),A=Ro(),x=_s({props:r,muiFormControl:A,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),z={...r,color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:A,fullWidth:a,hiddenLabel:x.hiddenLabel,multiline:f,size:x.size,type:b},D=v.root??s.Root??gk,C=v.input??s.Input??Ak,[j,O]=at("notchedOutline",{elementType:yk,className:P.notchedOutline,shouldForwardComponentProp:!0,ownerState:z,externalForwardedProps:{slots:v,slotProps:m},additionalProps:{label:u!=null&&u!==""&&x.required?p.jsxs(y.Fragment,{children:[u," ","*"]}):u}});return p.jsx(Vd,{slots:{root:D,input:C},slotProps:m,renderSuffix:E=>p.jsx(j,{...O,notched:typeof h<"u"?h:!!(E.startAdornment||E.filled||E.focused)}),fullWidth:a,inputComponent:l,multiline:f,ref:n,type:b,...S,classes:{...P,notchedOutline:null}})});mg.muiName="Input";const Pk=Pt(p.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),bk=Pt(p.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),wk=Pt(p.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),xk=Pt(p.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),Sk=fe("span",{name:"MuiRadioButtonIcon",shouldForwardProp:Xn})({position:"relative",display:"flex"}),Hk=fe(wk,{name:"MuiRadioButtonIcon"})({transform:"scale(1)"}),Ck=fe(xk,{name:"MuiRadioButtonIcon"})(tt(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function H0(e){const{checked:t=!1,classes:n={},fontSize:r}=e,s={...e,checked:t};return p.jsxs(Sk,{className:n.root,ownerState:s,children:[p.jsx(Hk,{fontSize:r,className:n.background,ownerState:s}),p.jsx(Ck,{fontSize:r,className:n.dot,ownerState:s})]})}const C0=y.createContext(void 0);function jk(){return y.useContext(C0)}function Dk(e){return Qe("MuiRadio",e)}const yw=Ke("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),zk=e=>{const{classes:t,color:n,size:r}=e,s={root:["root",`color${pe(n)}`,r!=="medium"&&`size${pe(r)}`]};return{...t,..._e(s,Dk,t)}},Ok=fe(fg,{shouldForwardProp:e=>Xn(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${pe(n.size)}`],t[`color${pe(n.color)}`]]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${yw.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(dn()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(dn()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${yw.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function kk(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const Rk=p.jsx(H0,{checked:!0}),Ek=p.jsx(H0,{}),Hc=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiRadio"}),{checked:s,checkedIcon:a=Rk,color:l="primary",icon:u=Ek,name:f,onChange:h,size:v="medium",className:m,disabled:b,disableRipple:S=!1,slots:P={},slotProps:A={},inputProps:x,...z}=r,D=Ro();let C=b;D&&typeof C>"u"&&(C=D.disabled),C??=!1;const j={...r,disabled:C,disableRipple:S,color:l,size:v},O=zk(j),E=jk();let M=s;const T=Fv(h,E&&E.onChange);let I=f;E&&(typeof M>"u"&&(M=kk(E.value,r.value)),typeof I>"u"&&(I=E.name));const H=A.input??x,[V,X]=at("root",{ref:n,elementType:Ok,className:ze(O.root,m),shouldForwardComponentProp:!0,externalForwardedProps:{slots:P,slotProps:A,...z},getSlotProps:N=>({...N,onChange:(Y,...q)=>{N.onChange?.(Y,...q),T(Y,...q)}}),ownerState:j,additionalProps:{type:"radio",icon:y.cloneElement(u,{fontSize:u.props.fontSize??v}),checkedIcon:y.cloneElement(a,{fontSize:a.props.fontSize??v}),disabled:C,name:I,checked:M,slots:P,slotProps:{input:typeof H=="function"?H(j):H}}});return p.jsx(V,{...X,classes:O})});function Tk(e){return Qe("MuiRadioGroup",e)}Ke("MuiRadioGroup",["root","row","error"]);const Mk=e=>{const{classes:t,row:n,error:r}=e;return _e({root:["root",n&&"row",r&&"error"]},Tk,t)},od=y.forwardRef(function(t,n){const{actions:r,children:s,className:a,defaultValue:l,name:u,onChange:f,value:h,...v}=t,m=y.useRef(null),b=Mk(t),[S,P]=qs({controlled:h,default:l,name:"RadioGroup"});y.useImperativeHandle(r,()=>({focus:()=>{let D=m.current.querySelector("input:not(:disabled):checked");D||(D=m.current.querySelector("input:not(:disabled)")),D&&D.focus()}}),[]);const A=ln(n,m),x=oo(u),z=y.useMemo(()=>({name:x,onChange(D){P(D.target.value),f&&f(D,D.target.value)},value:S}),[x,f,P,S]);return p.jsx(C0.Provider,{value:z,children:p.jsx(Xz,{role:"radiogroup",ref:A,className:ze(b.root,a),...v,children:s})})});function j0(e){return Qe("MuiSelect",e)}const Il=Ke("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Aw;const Lk=fe(x0,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Il.select}`]:t.select},{[`&.${Il.select}`]:t[n.variant]},{[`&.${Il.error}`]:t.error},{[`&.${Il.multiple}`]:t.multiple}]}})({[`&.${Il.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Ik=fe(S0,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${pe(n.variant)}`],n.open&&t.iconOpen]}})({}),Bk=fe("input",{shouldForwardProp:e=>Ux(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Pw(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function Nk(e){return e==null||typeof e=="string"&&!e.trim()}const Vk=e=>{const{classes:t,variant:n,disabled:r,multiple:s,open:a,error:l}=e,u={select:["select",n,r&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${pe(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return _e(u,j0,t)},Xk=y.forwardRef(function(t,n){const{"aria-describedby":r,"aria-label":s,autoFocus:a,autoWidth:l,children:u,className:f,defaultOpen:h,defaultValue:v,disabled:m,displayEmpty:b,error:S=!1,IconComponent:P,inputRef:A,labelId:x,MenuProps:z={},multiple:D,name:C,onBlur:j,onChange:O,onClose:E,onFocus:M,onOpen:T,open:I,readOnly:H,renderValue:V,required:X,SelectDisplayProps:N={},tabIndex:Y,type:q,value:W,variant:ne="standard",...ee}=t,[U,R]=qs({controlled:W,default:v,name:"Select"}),[J,L]=qs({controlled:I,default:h,name:"Select"}),Z=y.useRef(null),$=y.useRef(null),[oe,ae]=y.useState(null),{current:be}=y.useRef(I!=null),[ie,He]=y.useState(),ke=ln(n,A),Le=y.useCallback(Ve=>{$.current=Ve,Ve&&ae(Ve)},[]),ge=oe?.parentNode;y.useImperativeHandle(ke,()=>({focus:()=>{$.current.focus()},node:Z.current,value:U}),[U]),y.useEffect(()=>{h&&J&&oe&&!be&&(He(l?null:ge.clientWidth),$.current.focus())},[oe,l]),y.useEffect(()=>{a&&$.current.focus()},[a]),y.useEffect(()=>{if(!x)return;const Ve=rr($.current).getElementById(x);if(Ve){const Q=()=>{getSelection().isCollapsed&&$.current.focus()};return Ve.addEventListener("click",Q),()=>{Ve.removeEventListener("click",Q)}}},[x]);const Je=(Ve,Q)=>{Ve?T&&T(Q):E&&E(Q),be||(He(l?null:ge.clientWidth),L(Ve))},ve=Ve=>{Ve.button===0&&(Ve.preventDefault(),$.current.focus(),Je(!0,Ve))},Ge=Ve=>{Je(!1,Ve)},At=y.Children.toArray(u),Be=Ve=>{const Q=At.find(G=>G.props.value===Ve.target.value);Q!==void 0&&(R(Q.props.value),O&&O(Ve,Q))},ft=Ve=>Q=>{let G;if(Q.currentTarget.hasAttribute("tabindex")){if(D){G=Array.isArray(U)?U.slice():[];const Ae=U.indexOf(Ve.props.value);Ae===-1?G.push(Ve.props.value):G.splice(Ae,1)}else G=Ve.props.value;if(Ve.props.onClick&&Ve.props.onClick(Q),U!==G&&(R(G),O)){const Ae=Q.nativeEvent||Q,De=new Ae.constructor(Ae.type,Ae);Object.defineProperty(De,"target",{writable:!0,value:{value:G,name:C}}),O(De,Ve)}D||Je(!1,Q)}},lt=Ve=>{H||[" ","ArrowUp","ArrowDown","Enter"].includes(Ve.key)&&(Ve.preventDefault(),Je(!0,Ve))},dt=oe!==null&&J,gt=Ve=>{!dt&&j&&(Object.defineProperty(Ve,"target",{writable:!0,value:{value:U,name:C}}),j(Ve))};delete ee["aria-invalid"];let Xe,kt;const B=[];let _=!1;(rd({value:U})||b)&&(V?Xe=V(U):_=!0);const re=At.map(Ve=>{if(!y.isValidElement(Ve))return null;let Q;if(D){if(!Array.isArray(U))throw new Error(hs(2));Q=U.some(G=>Pw(G,Ve.props.value)),Q&&_&&B.push(Ve.props.children)}else Q=Pw(U,Ve.props.value),Q&&_&&(kt=Ve.props.children);return y.cloneElement(Ve,{"aria-selected":Q?"true":"false",onClick:ft(Ve),onKeyUp:G=>{G.key===" "&&G.preventDefault(),Ve.props.onKeyUp&&Ve.props.onKeyUp(G)},role:"option",selected:Q,value:void 0,"data-value":Ve.props.value})});_&&(D?B.length===0?Xe=null:Xe=B.reduce((Ve,Q,G)=>(Ve.push(Q),G{const{classes:t}=e,r=_e({root:["root"]},j0,t);return{...t,...r}},gg={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Xn(e)&&e!=="variant",slot:"Root"},Wk=fe(hg,gg)(""),Jk=fe(mg,gg)(""),qk=fe(pg,gg)(""),Cc=y.forwardRef(function(t,n){const r=nt({name:"MuiSelect",props:t}),{autoWidth:s=!1,children:a,classes:l={},className:u,defaultOpen:f=!1,displayEmpty:h=!1,IconComponent:v=a0,id:m,input:b,inputProps:S,label:P,labelId:A,MenuProps:x,multiple:z=!1,native:D=!1,onClose:C,onOpen:j,open:O,renderValue:E,SelectDisplayProps:M,variant:T="outlined",...I}=r,H=D?dk:Xk,V=Ro(),X=_s({props:r,muiFormControl:V,states:["variant","error"]}),N=X.variant||T,Y={...r,variant:N,classes:l},q=Fk(Y),{root:W,...ne}=q,ee=b||{standard:p.jsx(Wk,{ownerState:Y}),outlined:p.jsx(Jk,{label:P,ownerState:Y}),filled:p.jsx(qk,{ownerState:Y})}[N],U=ln(n,Qs(ee));return p.jsx(y.Fragment,{children:y.cloneElement(ee,{inputComponent:H,inputProps:{children:a,error:X.error,IconComponent:v,variant:N,type:void 0,multiple:z,...D?{id:m}:{autoWidth:s,defaultOpen:f,displayEmpty:h,labelId:A,MenuProps:x,onClose:C,onOpen:j,open:O,renderValue:E,SelectDisplayProps:{id:m,...M}},...S,classes:S?Vn(ne,S.classes):ne,...b?b.props.inputProps:{}},...(z&&D||h)&&N==="outlined"?{notched:!0}:{},ref:U,className:ze(ee.props.className,u,q.root),...!b&&{variant:N},...I})})});Cc.muiName="Select";function Uk(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:s,resumeHideDuration:a}=e,l=Ai();y.useEffect(()=>{if(!s)return;function z(D){D.defaultPrevented||D.key==="Escape"&&r?.(D,"escapeKeyDown")}return document.addEventListener("keydown",z),()=>{document.removeEventListener("keydown",z)}},[s,r]);const u=nr((z,D)=>{r?.(z,D)}),f=nr(z=>{!r||z==null||l.start(z,()=>{u(null,"timeout")})});y.useEffect(()=>(s&&f(t),l.clear),[s,t,f,l]);const h=z=>{r?.(z,"clickaway")},v=l.clear,m=y.useCallback(()=>{t!=null&&f(a??t*.5)},[t,a,f]),b=z=>D=>{const C=z.onBlur;C?.(D),m()},S=z=>D=>{const C=z.onFocus;C?.(D),v()},P=z=>D=>{const C=z.onMouseEnter;C?.(D),v()},A=z=>D=>{const C=z.onMouseLeave;C?.(D),m()};return y.useEffect(()=>{if(!n&&s)return window.addEventListener("focus",m),window.addEventListener("blur",v),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",v)}},[n,s,m,v]),{getRootProps:(z={})=>{const D={..._f(e),..._f(z)};return{role:"presentation",...z,...D,onBlur:b(D),onFocus:S(D),onMouseEnter:P(D),onMouseLeave:A(D)}},onClickAway:h}}function Yk(e){return Qe("MuiSnackbarContent",e)}Ke("MuiSnackbarContent",["root","message","action"]);const Gk=e=>{const{classes:t}=e;return _e({root:["root"],action:["action"],message:["message"]},Yk,t)},Zk=fe(Vr,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(tt(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=Dx(e.palette.background.default,t);return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),Qk=fe("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),Kk=fe("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),_k=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiSnackbarContent"}),{action:s,className:a,message:l,role:u="alert",...f}=r,h=r,v=Gk(h);return p.jsxs(Zk,{role:u,square:!0,elevation:6,className:ze(v.root,a),ownerState:h,ref:n,...f,children:[p.jsx(Qk,{className:v.message,ownerState:h,children:l}),s?p.jsx(Kk,{className:v.action,ownerState:h,children:s}):null]})});function $k(e){return Qe("MuiSnackbar",e)}Ke("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const eR=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${pe(n.vertical)}${pe(n.horizontal)}`]};return _e(r,$k,t)},tR=fe("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${pe(n.anchorOrigin.vertical)}${pe(n.anchorOrigin.horizontal)}`]]}})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:t})=>t.anchorOrigin.vertical==="top",style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:t})=>t.anchorOrigin.vertical!=="top",style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="center",style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),nR=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiSnackbar"}),s=Fr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{action:l,anchorOrigin:{vertical:u,horizontal:f}={vertical:"bottom",horizontal:"left"},autoHideDuration:h=null,children:v,className:m,ClickAwayListenerProps:b,ContentProps:S,disableWindowBlurListener:P=!1,message:A,onBlur:x,onClose:z,onFocus:D,onMouseEnter:C,onMouseLeave:j,open:O,resumeHideDuration:E,slots:M={},slotProps:T={},TransitionComponent:I,transitionDuration:H=a,TransitionProps:{onEnter:V,onExited:X,...N}={},...Y}=r,q={...r,anchorOrigin:{vertical:u,horizontal:f},autoHideDuration:h,disableWindowBlurListener:P,TransitionComponent:I,transitionDuration:H},W=eR(q),{getRootProps:ne,onClickAway:ee}=Uk({...q}),[U,R]=y.useState(!0),J=Je=>{R(!0),X&&X(Je)},L=(Je,ve)=>{R(!1),V&&V(Je,ve)},Z={slots:{transition:I,...M},slotProps:{content:S,clickAwayListener:b,transition:N,...T}},[$,oe]=at("root",{ref:n,className:[W.root,m],elementType:tR,getSlotProps:ne,externalForwardedProps:{...Z,...Y},ownerState:q}),[ae,{ownerState:be,...ie}]=at("clickAwayListener",{elementType:d0,externalForwardedProps:Z,getSlotProps:Je=>({onClickAway:(...ve)=>{Je.onClickAway?.(...ve),ee(...ve)}}),ownerState:q}),[He,ke]=at("content",{elementType:_k,shouldForwardComponentProp:!0,externalForwardedProps:Z,additionalProps:{message:A,action:l},ownerState:q}),[Le,ge]=at("transition",{elementType:xc,externalForwardedProps:Z,getSlotProps:Je=>({onEnter:(...ve)=>{Je.onEnter?.(...ve),L(...ve)},onExited:(...ve)=>{Je.onExited?.(...ve),J(...ve)}}),additionalProps:{appear:!0,in:O,timeout:H,direction:u==="top"?"down":"up"},ownerState:q});return!O&&U?null:p.jsx(ae,{...ie,...M.clickAwayListener&&{ownerState:be},children:p.jsx($,{...oe,children:p.jsx(Le,{...ge,children:v||p.jsx(He,{...ke})})})})});function rR(e){return Qe("MuiTooltip",e)}const Pn=Ke("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function oR(e){return Math.round(e*1e5)/1e5}const sR=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:s,placement:a}=e,l={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",s&&"touch",`tooltipPlacement${pe(a.split("-")[0])}`],arrow:["arrow"]};return _e(l,rR,t)},iR=fe(Td,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Pn.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Pn.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Pn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Pn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Pn.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Pn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Pn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Pn.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),aR=fe("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${pe(n.placement.split("-")[0])}`]]}})(tt(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:bt(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Pn.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Pn.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Pn.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Pn.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${oR(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Pn.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Pn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Pn.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Pn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Pn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Pn.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Pn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Pn.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Pn.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Pn.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),lR=fe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(tt(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:bt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Af=!1;const bw=new kd;let Bl={x:0,y:0};function Pf(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const yg=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTooltip"}),{arrow:s=!1,children:a,classes:l,components:u={},componentsProps:f={},describeChild:h=!1,disableFocusListener:v=!1,disableHoverListener:m=!1,disableInteractive:b=!1,disableTouchListener:S=!1,enterDelay:P=100,enterNextDelay:A=0,enterTouchDelay:x=700,followCursor:z=!1,id:D,leaveDelay:C=0,leaveTouchDelay:j=1500,onClose:O,onOpen:E,open:M,placement:T="bottom",PopperComponent:I,PopperProps:H={},slotProps:V={},slots:X={},title:N,TransitionComponent:Y,TransitionProps:q,...W}=r,ne=y.isValidElement(a)?a:p.jsx("span",{children:a}),ee=Fr(),U=Ic(),[R,J]=y.useState(),[L,Z]=y.useState(null),$=y.useRef(!1),oe=b||z,ae=Ai(),be=Ai(),ie=Ai(),He=Ai(),[ke,Le]=qs({controlled:M,default:!1,name:"Tooltip",state:"open"});let ge=ke;const Je=oo(D),ve=y.useRef(),Ge=nr(()=>{ve.current!==void 0&&(document.body.style.WebkitUserSelect=ve.current,ve.current=void 0),He.clear()});y.useEffect(()=>Ge,[Ge]);const At=Ye=>{bw.clear(),Af=!0,Le(!0),E&&!ge&&E(Ye)},Be=nr(Ye=>{bw.start(800+C,()=>{Af=!1}),Le(!1),O&&ge&&O(Ye),ae.start(ee.transitions.duration.shortest,()=>{$.current=!1})}),ft=Ye=>{$.current&&Ye.type!=="touchstart"||(R&&R.removeAttribute("title"),be.clear(),ie.clear(),P||Af&&A?be.start(Af?A:P,()=>{At(Ye)}):At(Ye))},lt=Ye=>{be.clear(),ie.start(C,()=>{Be(Ye)})},[,dt]=y.useState(!1),gt=Ye=>{ka(Ye.target)||(dt(!1),lt(Ye))},Xe=Ye=>{R||J(Ye.currentTarget),ka(Ye.target)&&(dt(!0),ft(Ye))},kt=Ye=>{$.current=!0;const It=ne.props;It.onTouchStart&&It.onTouchStart(Ye)},B=Ye=>{kt(Ye),ie.clear(),ae.clear(),Ge(),ve.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",He.start(x,()=>{document.body.style.WebkitUserSelect=ve.current,ft(Ye)})},_=Ye=>{ne.props.onTouchEnd&&ne.props.onTouchEnd(Ye),Ge(),ie.start(j,()=>{Be(Ye)})};y.useEffect(()=>{if(!ge)return;function Ye(It){It.key==="Escape"&&Be(It)}return document.addEventListener("keydown",Ye),()=>{document.removeEventListener("keydown",Ye)}},[Be,ge]);const re=ln(Qs(ne),J,n);!N&&N!==0&&(ge=!1);const we=y.useRef(),Pe=Ye=>{const It=ne.props;It.onMouseMove&&It.onMouseMove(Ye),Bl={x:Ye.clientX,y:Ye.clientY},we.current&&we.current.update()},ye={},xe=typeof N=="string";h?(ye.title=!ge&&xe&&!m?N:null,ye["aria-describedby"]=ge?Je:null):(ye["aria-label"]=xe?N:null,ye["aria-labelledby"]=ge&&!xe?Je:null);const Se={...ye,...W,...ne.props,className:ze(W.className,ne.props.className),onTouchStart:kt,ref:re,...z?{onMouseMove:Pe}:{}},ct={};S||(Se.onTouchStart=B,Se.onTouchEnd=_),m||(Se.onMouseOver=Pf(ft,Se.onMouseOver),Se.onMouseLeave=Pf(lt,Se.onMouseLeave),oe||(ct.onMouseOver=ft,ct.onMouseLeave=lt)),v||(Se.onFocus=Pf(Xe,Se.onFocus),Se.onBlur=Pf(gt,Se.onBlur),oe||(ct.onFocus=Xe,ct.onBlur=gt));const wt={...r,isRtl:U,arrow:s,disableInteractive:oe,placement:T,PopperComponentProp:I,touch:$.current},Ve=typeof V.popper=="function"?V.popper(wt):V.popper,Q=y.useMemo(()=>{let Ye=[{name:"arrow",enabled:!!L,options:{element:L,padding:4}}];return H.popperOptions?.modifiers&&(Ye=Ye.concat(H.popperOptions.modifiers)),Ve?.popperOptions?.modifiers&&(Ye=Ye.concat(Ve.popperOptions.modifiers)),{...H.popperOptions,...Ve?.popperOptions,modifiers:Ye}},[L,H.popperOptions,Ve?.popperOptions]),G=sR(wt),Ae=typeof V.transition=="function"?V.transition(wt):V.transition,De={slots:{popper:u.Popper,transition:u.Transition??Y,tooltip:u.Tooltip,arrow:u.Arrow,...X},slotProps:{arrow:V.arrow??f.arrow,popper:{...H,...Ve??f.popper},tooltip:V.tooltip??f.tooltip,transition:{...q,...Ae??f.transition}}},[Re,Ee]=at("popper",{elementType:iR,externalForwardedProps:De,ownerState:wt,className:ze(G.popper,H?.className)}),[Ue,Ie]=at("transition",{elementType:xc,externalForwardedProps:De,ownerState:wt}),[rt,ut]=at("tooltip",{elementType:aR,className:G.tooltip,externalForwardedProps:De,ownerState:wt}),[Tt,qt]=at("arrow",{elementType:lR,className:G.arrow,externalForwardedProps:De,ownerState:wt,ref:Z});return p.jsxs(y.Fragment,{children:[y.cloneElement(ne,Se),p.jsx(Re,{as:I??Td,placement:T,anchorEl:z?{getBoundingClientRect:()=>({top:Bl.y,left:Bl.x,right:Bl.x,bottom:Bl.y,width:0,height:0})}:R,popperRef:we,open:R?ge:!1,id:Je,transition:!0,...ct,...Ee,popperOptions:Q,children:({TransitionProps:Ye})=>p.jsx(Ue,{timeout:ee.transitions.duration.shorter,...Ye,...Ie,children:p.jsxs(rt,{...ut,children:[N,s?p.jsx(Tt,{...qt}):null]})})})]})}),_o=$4({createStyledComponent:fe("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>nt({props:e,name:"MuiStack"})});function cR(e){return Qe("MuiSwitch",e)}const ar=Ke("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),uR=e=>{const{classes:t,edge:n,size:r,color:s,checked:a,disabled:l}=e,u={root:["root",n&&`edge${pe(n)}`,`size${pe(r)}`],switchBase:["switchBase",`color${pe(s)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},f=_e(u,cR,t);return{...t,...f}},fR=fe("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${pe(n.edge)}`],t[`size${pe(n.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${ar.thumb}`]:{width:16,height:16},[`& .${ar.switchBase}`]:{padding:4,[`&.${ar.checked}`]:{transform:"translateX(16px)"}}}}]}),dR=fe(fg,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${ar.input}`]:t.input},n.color!=="default"&&t[`color${pe(n.color)}`]]}})(tt(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${ar.checked}`]:{transform:"translateX(20px)"},[`&.${ar.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${ar.checked} + .${ar.track}`]:{opacity:.5},[`&.${ar.disabled} + .${ar.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${ar.input}`]:{left:"-100%",width:"300%"}})),tt(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(dn(["light"])).map(([t])=>({props:{color:t},style:{[`&.${ar.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:bt(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ar.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?zi(e.palette[t].main,.62):Di(e.palette[t].main,.55)}`}},[`&.${ar.checked} + .${ar.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),pR=fe("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(tt(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),hR=fe("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(tt(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),D0=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiSwitch"}),{className:s,color:a="primary",edge:l=!1,size:u="medium",sx:f,slots:h={},slotProps:v={},...m}=r,b={...r,color:a,edge:l,size:u},S=uR(b),P={slots:h,slotProps:v},[A,x]=at("root",{className:ze(S.root,s),elementType:fR,externalForwardedProps:P,ownerState:b,additionalProps:{sx:f}}),[z,D]=at("thumb",{className:S.thumb,elementType:hR,externalForwardedProps:P,ownerState:b}),C=p.jsx(z,{...D}),[j,O]=at("track",{className:S.track,elementType:pR,externalForwardedProps:P,ownerState:b});return p.jsxs(A,{...x,children:[p.jsx(dR,{type:"checkbox",icon:C,checkedIcon:C,ref:n,ownerState:b,...m,classes:{...S,root:S.switchBase},slots:{...h.switchBase&&{root:h.switchBase},...h.input&&{input:h.input}},slotProps:{...v.switchBase&&{root:typeof v.switchBase=="function"?v.switchBase(b):v.switchBase},...v.input&&{input:typeof v.input=="function"?v.input(b):v.input}}}),p.jsx(j,{...O})]})}),z0=y.createContext();function vR(e){return Qe("MuiTable",e)}Ke("MuiTable",["root","stickyHeader"]);const mR=e=>{const{classes:t,stickyHeader:n}=e;return _e({root:["root",n&&"stickyHeader"]},vR,t)},gR=fe("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(tt(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),ww="table",O0=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTable"}),{className:s,component:a=ww,padding:l="normal",size:u="medium",stickyHeader:f=!1,...h}=r,v={...r,component:a,padding:l,size:u,stickyHeader:f},m=mR(v),b=y.useMemo(()=>({padding:l,size:u,stickyHeader:f}),[l,u,f]);return p.jsx(z0.Provider,{value:b,children:p.jsx(gR,{as:a,role:a===ww?null:"table",ref:n,className:ze(m.root,s),ownerState:v,...h})})}),Fc=y.createContext();function yR(e){return Qe("MuiTableBody",e)}Ke("MuiTableBody",["root"]);const AR=e=>{const{classes:t}=e;return _e({root:["root"]},yR,t)},PR=fe("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),bR={variant:"body"},xw="tbody",k0=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableBody"}),{className:s,component:a=xw,...l}=r,u={...r,component:a},f=AR(u);return p.jsx(Fc.Provider,{value:bR,children:p.jsx(PR,{className:ze(f.root,s),as:a,ref:n,role:a===xw?null:"rowgroup",ownerState:u,...l})})});function wR(e){return Qe("MuiTableCell",e)}const xR=Ke("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),SR=e=>{const{classes:t,variant:n,align:r,padding:s,size:a,stickyHeader:l}=e,u={root:["root",n,l&&"stickyHeader",r!=="inherit"&&`align${pe(r)}`,s!=="normal"&&`padding${pe(s)}`,`size${pe(a)}`]};return _e(u,wR,t)},HR=fe("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${pe(n.size)}`],n.padding!=="normal"&&t[`padding${pe(n.padding)}`],n.align!=="inherit"&&t[`align${pe(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(tt(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid - ${e.palette.mode==="light"?zi(bt(e.palette.divider,1),.88):Di(bt(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${xR.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),lr=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableCell"}),{align:s="inherit",className:a,component:l,padding:u,scope:f,size:h,sortDirection:v,variant:m,...b}=r,S=y.useContext(z0),P=y.useContext(Fc),A=P&&P.variant==="head";let x;l?x=l:x=A?"th":"td";let z=f;x==="td"?z=void 0:!z&&A&&(z="col");const D=m||P&&P.variant,C={...r,align:s,component:x,padding:u||(S&&S.padding?S.padding:"normal"),size:h||(S&&S.size?S.size:"medium"),sortDirection:v,stickyHeader:D==="head"&&S&&S.stickyHeader,variant:D},j=SR(C);let O=null;return v&&(O=v==="asc"?"ascending":"descending"),p.jsx(HR,{as:x,ref:n,className:ze(j.root,a),"aria-sort":O,scope:z,ownerState:C,...b})});function CR(e){return Qe("MuiTableContainer",e)}Ke("MuiTableContainer",["root"]);const jR=e=>{const{classes:t}=e;return _e({root:["root"]},CR,t)},DR=fe("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),R0=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableContainer"}),{className:s,component:a="div",...l}=r,u={...r,component:a},f=jR(u);return p.jsx(DR,{ref:n,as:a,className:ze(f.root,s),ownerState:u,...l})});function zR(e){return Qe("MuiTableFooter",e)}Ke("MuiTableFooter",["root"]);const OR=e=>{const{classes:t}=e;return _e({root:["root"]},zR,t)},kR=fe("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),RR={variant:"footer"},Sw="tfoot",ER=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableFooter"}),{className:s,component:a=Sw,...l}=r,u={...r,component:a},f=OR(u);return p.jsx(Fc.Provider,{value:RR,children:p.jsx(kR,{as:a,className:ze(f.root,s),ref:n,role:a===Sw?null:"rowgroup",ownerState:u,...l})})});function TR(e){return Qe("MuiTableHead",e)}Ke("MuiTableHead",["root"]);const MR=e=>{const{classes:t}=e;return _e({root:["root"]},TR,t)},LR=fe("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),IR={variant:"head"},Hw="thead",BR=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableHead"}),{className:s,component:a=Hw,...l}=r,u={...r,component:a},f=MR(u);return p.jsx(Fc.Provider,{value:IR,children:p.jsx(LR,{as:a,className:ze(f.root,s),ref:n,role:a===Hw?null:"rowgroup",ownerState:u,...l})})});function NR(e){return Qe("MuiToolbar",e)}Ke("MuiToolbar",["root","gutters","regular","dense"]);const VR=e=>{const{classes:t,disableGutters:n,variant:r}=e;return _e({root:["root",!n&&"gutters",r]},NR,t)},XR=fe("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(tt(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),E0=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiToolbar"}),{className:s,component:a="div",disableGutters:l=!1,variant:u="regular",...f}=r,h={...r,component:a,disableGutters:l,variant:u},v=VR(h);return p.jsx(XR,{as:a,className:ze(v.root,s),ref:n,ownerState:h,...f})}),FR=Pt(p.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),WR=Pt(p.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),JR=y.forwardRef(function(t,n){const{backIconButtonProps:r,count:s,disabled:a=!1,getItemAriaLabel:l,nextIconButtonProps:u,onPageChange:f,page:h,rowsPerPage:v,showFirstButton:m,showLastButton:b,slots:S={},slotProps:P={},...A}=t,x=Ic(),z=J=>{f(J,0)},D=J=>{f(J,h-1)},C=J=>{f(J,h+1)},j=J=>{f(J,Math.max(0,Math.ceil(s/v)-1))},O=S.firstButton??gr,E=S.lastButton??gr,M=S.nextButton??gr,T=S.previousButton??gr,I=S.firstButtonIcon??Pk,H=S.lastButtonIcon??bk,V=S.nextButtonIcon??WR,X=S.previousButtonIcon??FR,N=x?E:O,Y=x?M:T,q=x?T:M,W=x?O:E,ne=x?P.lastButton:P.firstButton,ee=x?P.nextButton:P.previousButton,U=x?P.previousButton:P.nextButton,R=x?P.firstButton:P.lastButton;return p.jsxs("div",{ref:n,...A,children:[m&&p.jsx(N,{onClick:z,disabled:a||h===0,"aria-label":l("first",h),title:l("first",h),...ne,children:x?p.jsx(H,{...P.lastButtonIcon}):p.jsx(I,{...P.firstButtonIcon})}),p.jsx(Y,{onClick:D,disabled:a||h===0,color:"inherit","aria-label":l("previous",h),title:l("previous",h),...ee??r,children:x?p.jsx(V,{...P.nextButtonIcon}):p.jsx(X,{...P.previousButtonIcon})}),p.jsx(q,{onClick:C,disabled:a||(s!==-1?h>=Math.ceil(s/v)-1:!1),color:"inherit","aria-label":l("next",h),title:l("next",h),...U??u,children:x?p.jsx(X,{...P.previousButtonIcon}):p.jsx(V,{...P.nextButtonIcon})}),b&&p.jsx(W,{onClick:j,disabled:a||h>=Math.ceil(s/v)-1,"aria-label":l("last",h),title:l("last",h),...R,children:x?p.jsx(I,{...P.firstButtonIcon}):p.jsx(H,{...P.lastButtonIcon})})]})});function qR(e){return Qe("MuiTablePagination",e)}const fc=Ke("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var Cw;const UR=fe(lr,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(tt(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),YR=fe(E0,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${fc.actions}`]:t.actions,...t.toolbar})})(tt(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${fc.actions}`]:{flexShrink:0,marginLeft:20}}))),GR=fe("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),ZR=fe("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(tt(({theme:e})=>({...e.typography.body2,flexShrink:0}))),QR=fe(Cc,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${fc.selectIcon}`]:t.selectIcon,[`& .${fc.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${fc.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),KR=fe(Yo,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),_R=fe("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(tt(({theme:e})=>({...e.typography.body2,flexShrink:0})));function $R({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function eE(e){return`Go to ${e} page`}const tE=e=>{const{classes:t}=e;return _e({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},qR,t)},nE=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTablePagination"}),{ActionsComponent:s=JR,backIconButtonProps:a,colSpan:l,component:u=lr,count:f,disabled:h=!1,getItemAriaLabel:v=eE,labelDisplayedRows:m=$R,labelRowsPerPage:b="Rows per page:",nextIconButtonProps:S,onPageChange:P,onRowsPerPageChange:A,page:x,rowsPerPage:z,rowsPerPageOptions:D=[10,25,50,100],SelectProps:C={},showFirstButton:j=!1,showLastButton:O=!1,slotProps:E={},slots:M={},...T}=r,I=r,H=tE(I),V=E?.select??C,X=V.native?"option":KR;let N;(u===lr||u==="td")&&(N=l||1e3);const Y=oo(V.id),q=oo(V.labelId),W=()=>f===-1?(x+1)*z:z===-1?f:Math.min(f,(x+1)*z),ne={slots:M,slotProps:E},[ee,U]=at("root",{ref:n,className:H.root,elementType:UR,externalForwardedProps:{...ne,component:u,...T},ownerState:I,additionalProps:{colSpan:N}}),[R,J]=at("toolbar",{className:H.toolbar,elementType:YR,externalForwardedProps:ne,ownerState:I}),[L,Z]=at("spacer",{className:H.spacer,elementType:GR,externalForwardedProps:ne,ownerState:I}),[$,oe]=at("selectLabel",{className:H.selectLabel,elementType:ZR,externalForwardedProps:ne,ownerState:I,additionalProps:{id:q}}),[ae,be]=at("select",{className:H.select,elementType:QR,externalForwardedProps:ne,ownerState:I}),[ie,He]=at("menuItem",{className:H.menuItem,elementType:X,externalForwardedProps:ne,ownerState:I}),[ke,Le]=at("displayedRows",{className:H.displayedRows,elementType:_R,externalForwardedProps:ne,ownerState:I});return p.jsx(ee,{...U,children:p.jsxs(R,{...J,children:[p.jsx(L,{...Z}),D.length>1&&p.jsx($,{...oe,children:b}),D.length>1&&p.jsx(ae,{variant:"standard",...!V.variant&&{input:Cw||(Cw=p.jsx(Vd,{}))},value:z,onChange:A,id:Y,labelId:q,...V,classes:{...V.classes,root:ze(H.input,H.selectRoot,(V.classes||{}).root),select:ze(H.select,(V.classes||{}).select),icon:ze(H.selectIcon,(V.classes||{}).icon)},disabled:h,...be,children:D.map(ge=>y.createElement(ie,{...He,key:ge.label?ge.label:ge,value:ge.value?ge.value:ge},ge.label?ge.label:ge))}),p.jsx(ke,{...Le,children:m({from:f===0?0:x*z+1,to:W(),count:f===-1?-1:f,page:x})}),p.jsx(s,{className:H.actions,backIconButtonProps:a,count:f,nextIconButtonProps:S,onPageChange:P,page:x,rowsPerPage:z,showFirstButton:j,showLastButton:O,slotProps:E.actions,slots:M.actions,getItemAriaLabel:v,disabled:h})]})})});function rE(e){return Qe("MuiTableRow",e)}const jw=Ke("MuiTableRow",["root","selected","hover","head","footer"]),oE=e=>{const{classes:t,selected:n,hover:r,head:s,footer:a}=e;return _e({root:["root",n&&"selected",r&&"hover",s&&"head",a&&"footer"]},rE,t)},sE=fe("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(tt(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${jw.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${jw.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:bt(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:bt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),Dw="tr",sd=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTableRow"}),{className:s,component:a=Dw,hover:l=!1,selected:u=!1,...f}=r,h=y.useContext(Fc),v={...r,component:a,hover:l,selected:u,head:h&&h.variant==="head",footer:h&&h.variant==="footer"},m=oE(v);return p.jsx(sE,{as:a,ref:n,className:ze(m.root,s),role:a===Dw?null:"row",ownerState:v,...f})});function iE(e){return Qe("MuiTextField",e)}Ke("MuiTextField",["root"]);const aE={standard:hg,filled:pg,outlined:mg},lE=e=>{const{classes:t}=e;return _e({root:["root"]},iE,t)},cE=fe(ir,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Tr=y.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTextField"}),{autoComplete:s,autoFocus:a=!1,children:l,className:u,color:f="primary",defaultValue:h,disabled:v=!1,error:m=!1,FormHelperTextProps:b,fullWidth:S=!1,helperText:P,id:A,InputLabelProps:x,inputProps:z,InputProps:D,inputRef:C,label:j,maxRows:O,minRows:E,multiline:M=!1,name:T,onBlur:I,onChange:H,onFocus:V,placeholder:X,required:N=!1,rows:Y,select:q=!1,SelectProps:W,slots:ne={},slotProps:ee={},type:U,value:R,variant:J="outlined",...L}=r,Z={...r,autoFocus:a,color:f,disabled:v,error:m,fullWidth:S,multiline:M,required:N,select:q,variant:J},$=lE(Z),oe=oo(A),ae=P&&oe?`${oe}-helper-text`:void 0,be=j&&oe?`${oe}-label`:void 0,ie=aE[J],He={slots:ne,slotProps:{input:D,inputLabel:x,htmlInput:z,formHelperText:b,select:W,...ee}},ke={},Le=He.slotProps.inputLabel;J==="outlined"&&(Le&&typeof Le.shrink<"u"&&(ke.notched=Le.shrink),ke.label=j),q&&((!W||!W.native)&&(ke.id=void 0),ke["aria-describedby"]=void 0);const[ge,Je]=at("root",{elementType:cE,shouldForwardComponentProp:!0,externalForwardedProps:{...He,...L},ownerState:Z,className:ze($.root,u),ref:n,additionalProps:{disabled:v,error:m,fullWidth:S,required:N,color:f,variant:J}}),[ve,Ge]=at("input",{elementType:ie,externalForwardedProps:He,additionalProps:ke,ownerState:Z}),[At,Be]=at("inputLabel",{elementType:Nf,externalForwardedProps:He,ownerState:Z}),[ft,lt]=at("htmlInput",{elementType:"input",externalForwardedProps:He,ownerState:Z}),[dt,gt]=at("formHelperText",{elementType:Pa,externalForwardedProps:He,ownerState:Z}),[Xe,kt]=at("select",{elementType:Cc,externalForwardedProps:He,ownerState:Z}),B=p.jsx(ve,{"aria-describedby":ae,autoComplete:s,autoFocus:a,defaultValue:h,fullWidth:S,multiline:M,name:T,rows:Y,maxRows:O,minRows:E,type:U,value:R,id:oe,inputRef:C,onBlur:I,onChange:H,onFocus:V,placeholder:X,inputProps:lt,slots:{input:ne.htmlInput?ft:void 0},...Ge});return p.jsxs(ge,{...Je,children:[j!=null&&j!==""&&p.jsx(At,{htmlFor:oe,id:be,...Be,children:j}),q?p.jsx(Xe,{"aria-describedby":ae,id:oe,labelId:be,value:R,input:B,...kt,children:l}):B,P&&p.jsx(dt,{id:ae,...gt,children:P})]})}),xn="/hub",Xd="/services/japps",uE=["Any","Owned by me","Shared with me"],fE=["Recently modified","Name: A-Z","Name: Z-A"],dE=["Running","Ready","Pending","Unknown"],Ag="startAppId";var Wa=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},pE=class extends Wa{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Pg=new pE,hE={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},vE=class{#e=hE;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},bi=new vE;function mE(e){setTimeout(e,0)}var gE=typeof window>"u"||"Deno"in globalThis;function cr(){}function yE(e,t){return typeof e=="function"?e(t):e}function im(e){return typeof e=="number"&&e>=0&&e!==1/0}function T0(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ys(e,t){return typeof e=="function"?e(t):e}function Mr(e,t){return typeof e=="function"?e(t):e}function zw(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:a,queryKey:l,stale:u}=e;if(l){if(r){if(t.queryHash!==bg(l,t.options))return!1}else if(!jc(t.queryKey,l))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||s&&s!==t.state.fetchStatus||a&&!a(t))}function Ow(e,t){const{exact:n,status:r,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Ri(t.options.mutationKey)!==Ri(a))return!1}else if(!jc(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function bg(e,t){return(t?.queryKeyHashFn||Ri)(e)}function Ri(e){return JSON.stringify(e,(t,n)=>am(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function jc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>jc(e[n],t[n])):!1}var AE=Object.prototype.hasOwnProperty;function M0(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=kw(e)&&kw(t);if(!r&&!(am(e)&&am(t)))return t;const a=(r?e:Object.keys(e)).length,l=r?t:Object.keys(t),u=l.length,f=r?new Array(u):{};let h=0;for(let v=0;v{bi.setTimeout(t,e)})}function lm(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?M0(e,t):t}function bE(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function wE(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var wg=Symbol();function L0(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===wg?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function xg(e,t){return typeof e=="function"?e(...t):!!e}function xE(e,t,n){let r=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??=t(),r||(r=!0,s.aborted?n():s.addEventListener("abort",n,{once:!0})),s)}),e}var Dc=(()=>{let e=()=>gE;return{isServer(){return e()},setIsServer(t){e=t}}})();function cm(){let e,t;const n=new Promise((s,a)=>{e=s,t=a});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}var SE=mE;function HE(){let e=[],t=0,n=u=>{u()},r=u=>{u()},s=SE;const a=u=>{t?e.push(u):s(()=>{n(u)})},l=()=>{const u=e;e=[],u.length&&s(()=>{r(()=>{u.forEach(f=>{n(f)})})})};return{batch:u=>{let f;t++;try{f=u()}finally{t--,t||l()}return f},batchCalls:u=>(...f)=>{a(()=>{u(...f)})},schedule:a,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{s=u}}}var Ln=HE(),CE=class extends Wa{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},ad=new CE;function jE(e){return Math.min(1e3*2**e,3e4)}function I0(e){return(e??"online")==="online"?ad.isOnline():!0}var um=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function B0(e){let t=!1,n=0,r;const s=cm(),a=()=>s.status!=="pending",l=A=>{if(!a()){const x=new um(A);b(x),e.onCancel?.(x)}},u=()=>{t=!0},f=()=>{t=!1},h=()=>Pg.isFocused()&&(e.networkMode==="always"||ad.isOnline())&&e.canRun(),v=()=>I0(e.networkMode)&&e.canRun(),m=A=>{a()||(r?.(),s.resolve(A))},b=A=>{a()||(r?.(),s.reject(A))},S=()=>new Promise(A=>{r=x=>{(a()||h())&&A(x)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),P=()=>{if(a())return;let A;const x=n===0?e.initialPromise:void 0;try{A=x??e.fn()}catch(z){A=Promise.reject(z)}Promise.resolve(A).then(m).catch(z=>{if(a())return;const D=e.retry??(Dc.isServer()?0:3),C=e.retryDelay??jE,j=typeof C=="function"?C(n,z):C,O=D===!0||typeof D=="number"&&nh()?void 0:S()).then(()=>{t?b(z):P()})})};return{promise:s,status:()=>s.status,cancel:l,continue:()=>(r?.(),s),cancelRetry:u,continueRetry:f,canStart:v,start:()=>(v()?P():S().then(P),s)}}var N0=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),im(this.gcTime)&&(this.#e=bi.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Dc.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(bi.clearTimeout(this.#e),this.#e=void 0)}};function DE(e){return{onFetch:(t,n)=>{const r=t.options,s=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],l=t.state.data?.pageParams||[];let u={pages:[],pageParams:[]},f=0;const h=async()=>{let v=!1;const m=P=>{xE(P,()=>t.signal,()=>v=!0)},b=L0(t.options,t.fetchOptions),S=async(P,A,x)=>{if(v)return Promise.reject(t.signal.reason);if(A==null&&P.pages.length)return Promise.resolve(P);const D=(()=>{const E={client:t.client,queryKey:t.queryKey,pageParam:A,direction:x?"backward":"forward",meta:t.options.meta};return m(E),E})(),C=await b(D),{maxPages:j}=t.options,O=x?wE:bE;return{pages:O(P.pages,C,j),pageParams:O(P.pageParams,A,j)}};if(s&&a.length){const P=s==="backward",A=P?zE:Ew,x={pages:a,pageParams:l},z=A(r,x);u=await S(x,z,P)}else{const P=e??a.length;do{const A=f===0?l[0]??r.initialPageParam:Ew(r,u);if(f>0&&A==null)break;u=await S(u,A),f++}while(ft.options.persister?.(h,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=h}}}function Ew(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function zE(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var OE=class extends N0{#e;#t;#n;#r;#s;#o;#a;#i;constructor(e){super(),this.#i=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#s=e.client,this.#r=this.#s.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=Mw(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#o?.promise}setOptions(e){if(this.options={...this.#a,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=Mw(this.options);t.data!==void 0&&(this.setState(Tw(t.data,t.dataUpdatedAt)),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#r.remove(this)}setData(e,t){const n=lm(this.state.data,e,this.options);return this.#l({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:"setState",state:e})}cancel(e){const t=this.#o?.promise;return this.#o?.cancel(e),t?t.then(cr).catch(cr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>Mr(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===wg||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Ys(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!T0(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#o?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#o?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#o&&(this.#i||this.#u()?this.#o.cancel({revert:!0}):this.#o.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#o?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#o)return this.#o.continueRetry(),this.#o.promise}if(e&&this.setOptions(e),!this.options.queryFn){const f=this.observers.find(h=>h.options.queryFn);f&&this.setOptions(f.options)}const n=new AbortController,r=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(this.#i=!0,n.signal)})},s=()=>{const f=L0(this.options,t),v=(()=>{const m={client:this.#s,queryKey:this.queryKey,meta:this.meta};return r(m),m})();return this.#i=!1,this.options.persister?this.options.persister(f,v,this):f(v)},l=(()=>{const f={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#s,state:this.state,fetchFn:s};return r(f),f})();(this.#e==="infinite"?DE(this.options.pages):this.options.behavior)?.onFetch(l,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#l({type:"fetch",meta:l.fetchOptions?.meta}),this.#o=B0({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:f=>{f instanceof um&&f.revert&&this.setState({...this.#n,fetchStatus:"idle"}),n.abort()},onFail:(f,h)=>{this.#l({type:"failed",failureCount:f,error:h})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{const f=await this.#o.start();if(f===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(f),this.#r.config.onSuccess?.(f,this),this.#r.config.onSettled?.(f,this.state.error,this),f}catch(f){if(f instanceof um){if(f.silent)return this.#o.promise;if(f.revert){if(this.state.data===void 0)throw f;return this.state.data}}throw this.#l({type:"error",error:f}),this.#r.config.onError?.(f,this),this.#r.config.onSettled?.(this.state.data,f,this),f}finally{this.scheduleGc()}}#l(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...V0(n.data,this.options),fetchMeta:e.meta??null};case"success":const r={...n,...Tw(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?r:void 0,r;case"error":const s=e.error;return{...n,error:s,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),Ln.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function V0(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:I0(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Tw(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Mw(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var kE=class extends Wa{constructor(e,t){super(),this.options=t,this.#e=e,this.#i=null,this.#a=cm(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#s;#o;#a;#i;#u;#l;#h;#f;#d;#c;#v=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Lw(this.#t,this.options)?this.#p():this.updateResult(),this.#A())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return fm(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return fm(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#P(),this.#b(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Mr(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#w(),this.#t.setOptions(this.options),t._defaulted&&!id(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const r=this.hasListeners();r&&Iw(this.#t,n,this.options,t)&&this.#p(),this.updateResult(),r&&(this.#t!==n||Mr(this.options.enabled,this.#t)!==Mr(t.enabled,this.#t)||Ys(this.options.staleTime,this.#t)!==Ys(t.staleTime,this.#t))&&this.#m();const s=this.#g();r&&(this.#t!==n||Mr(this.options.enabled,this.#t)!==Mr(t.enabled,this.#t)||s!==this.#c)&&this.#y(s)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return EE(this,n)&&(this.#r=n,this.#o=this.options,this.#s=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(n,r)=>(this.trackProp(r),t?.(r),r==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#a.status==="pending"&&this.#a.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(n,r))})}trackProp(e){this.#v.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#p({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#p(e){this.#w();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(cr)),t}#m(){this.#P();const e=Ys(this.options.staleTime,this.#t);if(Dc.isServer()||this.#r.isStale||!im(e))return;const n=T0(this.#r.dataUpdatedAt,e)+1;this.#f=bi.setTimeout(()=>{this.#r.isStale||this.updateResult()},n)}#g(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#y(e){this.#b(),this.#c=e,!(Dc.isServer()||Mr(this.options.enabled,this.#t)===!1||!im(this.#c)||this.#c===0)&&(this.#d=bi.setInterval(()=>{(this.options.refetchIntervalInBackground||Pg.isFocused())&&this.#p()},this.#c))}#A(){this.#m(),this.#y(this.#g())}#P(){this.#f!==void 0&&(bi.clearTimeout(this.#f),this.#f=void 0)}#b(){this.#d!==void 0&&(bi.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){const n=this.#t,r=this.options,s=this.#r,a=this.#s,l=this.#o,f=e!==n?e.state:this.#n,{state:h}=e;let v={...h},m=!1,b;if(t._optimisticResults){const T=this.hasListeners(),I=!T&&Lw(e,t),H=T&&Iw(e,n,t,r);(I||H)&&(v={...v,...V0(h.data,e.options)}),t._optimisticResults==="isRestoring"&&(v.fetchStatus="idle")}let{error:S,errorUpdatedAt:P,status:A}=v;b=v.data;let x=!1;if(t.placeholderData!==void 0&&b===void 0&&A==="pending"){let T;s?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(T=s.data,x=!0):T=typeof t.placeholderData=="function"?t.placeholderData(this.#h?.state.data,this.#h):t.placeholderData,T!==void 0&&(A="success",b=lm(s?.data,T,t),m=!0)}if(t.select&&b!==void 0&&!x)if(s&&b===a?.data&&t.select===this.#u)b=this.#l;else try{this.#u=t.select,b=t.select(b),b=lm(s?.data,b,t),this.#l=b,this.#i=null}catch(T){this.#i=T}this.#i&&(S=this.#i,b=this.#l,P=Date.now(),A="error");const z=v.fetchStatus==="fetching",D=A==="pending",C=A==="error",j=D&&z,O=b!==void 0,M={status:A,fetchStatus:v.fetchStatus,isPending:D,isSuccess:A==="success",isError:C,isInitialLoading:j,isLoading:j,data:b,dataUpdatedAt:v.dataUpdatedAt,error:S,errorUpdatedAt:P,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:v.dataUpdateCount>f.dataUpdateCount||v.errorUpdateCount>f.errorUpdateCount,isFetching:z,isRefetching:z&&!D,isLoadingError:C&&!O,isPaused:v.fetchStatus==="paused",isPlaceholderData:m,isRefetchError:C&&O,isStale:Sg(e,t),refetch:this.refetch,promise:this.#a,isEnabled:Mr(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const T=M.data!==void 0,I=M.status==="error"&&!T,H=N=>{I?N.reject(M.error):T&&N.resolve(M.data)},V=()=>{const N=this.#a=M.promise=cm();H(N)},X=this.#a;switch(X.status){case"pending":e.queryHash===n.queryHash&&H(X);break;case"fulfilled":(I||M.data!==X.value)&&V();break;case"rejected":(!I||M.error!==X.reason)&&V();break}}return M}updateResult(){const e=this.#r,t=this.createResult(this.#t,this.options);if(this.#s=this.#t.state,this.#o=this.options,this.#s.data!==void 0&&(this.#h=this.#t),id(t,e))return;this.#r=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:r}=this.options,s=typeof r=="function"?r():r;if(s==="all"||!s&&!this.#v.size)return!0;const a=new Set(s??this.#v);return this.options.throwOnError&&a.add("error"),Object.keys(this.#r).some(l=>{const u=l;return this.#r[u]!==e[u]&&a.has(u)})};this.#x({listeners:n()})}#w(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#A()}#x(e){Ln.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function RE(e,t){return Mr(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&Mr(t.retryOnMount,e)===!1)}function Lw(e,t){return RE(e,t)||e.state.data!==void 0&&fm(e,t,t.refetchOnMount)}function fm(e,t,n){if(Mr(t.enabled,e)!==!1&&Ys(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Sg(e,t)}return!1}function Iw(e,t,n,r){return(e!==t||Mr(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Sg(e,n)}function Sg(e,t){return Mr(t.enabled,e)!==!1&&e.isStaleByTime(Ys(t.staleTime,e))}function EE(e,t){return!id(e.getCurrentResult(),t)}var TE=class extends N0{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||X0(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#s({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=B0({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(a,l)=>{this.#s({type:"failed",failureCount:a,error:l})},onPause:()=>{this.#s({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",s=!this.#r.canStart();try{if(r)t();else{this.#s({type:"pending",variables:e,isPaused:s}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);const l=await this.options.onMutate?.(e,n);l!==this.state.context&&this.#s({type:"pending",context:l,variables:e,isPaused:s})}const a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#s({type:"success",data:a}),a}catch(a){try{await this.#n.config.onError?.(a,e,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onError?.(a,e,this.state.context,n)}catch(l){Promise.reject(l)}try{await this.#n.config.onSettled?.(void 0,a,this.state.variables,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onSettled?.(void 0,a,e,this.state.context,n)}catch(l){Promise.reject(l)}throw this.#s({type:"error",error:a}),a}finally{this.#n.runNext(this)}}#s(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Ln.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function X0(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ME=class extends Wa{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){const r=new TE({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);const t=bf(e);if(typeof t=="string"){const n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=bf(e);if(typeof t=="string"){const n=this.#t.get(t);if(n)if(n.length>1){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=bf(e);if(typeof t=="string"){const r=this.#t.get(t)?.find(s=>s.state.status==="pending");return!r||r===e}else return!0}runNext(e){const t=bf(e);return typeof t=="string"?this.#t.get(t)?.find(r=>r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Ln.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>Ow(t,n))}findAll(e={}){return this.getAll().filter(t=>Ow(e,t))}notify(e){Ln.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return Ln.batch(()=>Promise.all(e.map(t=>t.continue().catch(cr))))}};function bf(e){return e.options.scope?.id}var LE=class extends Wa{#e;#t=void 0;#n;#r;constructor(t,n){super(),this.#e=t,this.setOptions(n),this.bindMethods(),this.#s()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const n=this.options;this.options=this.#e.defaultMutationOptions(t),id(this.options,n)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&Ri(n.mutationKey)!==Ri(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#s(),this.#o(t)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#s(),this.#o()}mutate(t,n){return this.#r=n,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(t)}#s(){const t=this.#n?.state??X0();this.#t={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#o(t){Ln.batch(()=>{if(this.#r&&this.hasListeners()){const n=this.#t.variables,r=this.#t.context,s={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#r.onSuccess?.(t.data,n,r,s)}catch(a){Promise.reject(a)}try{this.#r.onSettled?.(t.data,null,n,r,s)}catch(a){Promise.reject(a)}}else if(t?.type==="error"){try{this.#r.onError?.(t.error,n,r,s)}catch(a){Promise.reject(a)}try{this.#r.onSettled?.(void 0,t.error,n,r,s)}catch(a){Promise.reject(a)}}}this.listeners.forEach(n=>{n(this.#t)})})}},IE=class extends Wa{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){const r=t.queryKey,s=t.queryHash??bg(r,t);let a=this.get(s);return a||(a=new OE({client:e,queryKey:r,queryHash:s,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Ln.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>zw(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>zw(e,n)):t}notify(e){Ln.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Ln.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Ln.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},BE=class{#e;#t;#n;#r;#s;#o;#a;#i;constructor(e={}){this.#e=e.queryCache||new IE,this.#t=e.mutationCache||new ME,this.#n=e.defaultOptions||{},this.#r=new Map,this.#s=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#a=Pg.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=ad.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#a?.(),this.#a=void 0,this.#i?.(),this.#i=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Ys(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),a=this.#e.get(r.queryHash)?.state.data,l=yE(t,a);if(l!==void 0)return this.#e.build(this,r).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return Ln.batch(()=>this.#e.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;Ln.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#e;return Ln.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ln.batch(()=>this.#e.findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(cr).catch(cr)}invalidateQueries(e,t={}){return Ln.batch(()=>(this.#e.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Ln.batch(()=>this.#e.findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let a=s.fetch(void 0,n);return n.throwOnError||(a=a.catch(cr)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(cr)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#e.build(this,t);return n.isStaleByTime(Ys(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(cr).catch(cr)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(cr).catch(cr)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return ad.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(Ri(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(r=>{jc(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){this.#s.set(Ri(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#s.values()],n={};return t.forEach(r=>{jc(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=bg(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===wg&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},F0=y.createContext(void 0),Fd=e=>{const t=y.useContext(F0);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},NE=({client:e,children:t})=>(y.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),p.jsx(F0.Provider,{value:e,children:t})),W0=y.createContext(!1),VE=()=>y.useContext(W0);W0.Provider;function XE(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var FE=y.createContext(XE()),WE=()=>y.useContext(FE),JE=(e,t,n)=>{const r=n?.state.error&&typeof e.throwOnError=="function"?xg(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},qE=e=>{y.useEffect(()=>{e.clearReset()},[e])},UE=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:s})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(s&&e.data===void 0||xg(n,[e.error,r])),YE=e=>{if(e.suspense){const n=s=>s==="static"?s:Math.max(s??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...s)=>n(r(...s)):n(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},GE=(e,t)=>e.isLoading&&e.isFetching&&!t,ZE=(e,t)=>e?.suspense&&t.isPending,Bw=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function QE(e,t,n){const r=VE(),s=WE(),a=Fd(),l=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(l);const u=a.getQueryCache().get(l.queryHash);l._optimisticResults=r?"isRestoring":"optimistic",YE(l),JE(l,s,u),qE(s);const f=!a.getQueryCache().get(l.queryHash),[h]=y.useState(()=>new t(a,l)),v=h.getOptimisticResult(l),m=!r&&e.subscribed!==!1;if(y.useSyncExternalStore(y.useCallback(b=>{const S=m?h.subscribe(Ln.batchCalls(b)):cr;return h.updateResult(),S},[h,m]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),y.useEffect(()=>{h.setOptions(l)},[l,h]),ZE(l,v))throw Bw(l,h,s);if(UE({result:v,errorResetBoundary:s,throwOnError:l.throwOnError,query:u,suspense:l.suspense}))throw v.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(l,v),l.experimental_prefetchInRender&&!Dc.isServer()&&GE(v,r)&&(f?Bw(l,h,s):u?.promise)?.catch(cr).finally(()=>{h.updateResult()}),l.notifyOnChangeProps?v:h.trackResult(v)}function Un(e,t){return QE(e,kE)}function Ia(e,t){const n=Fd(),[r]=y.useState(()=>new LE(n,e));y.useEffect(()=>{r.setOptions(e)},[r,e]);const s=y.useSyncExternalStore(y.useCallback(l=>r.subscribe(Ln.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=y.useCallback((l,u)=>{r.mutate(l,u).catch(cr)},[r]);if(s.error&&xg(r.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:a,mutateAsync:s.mutate}}var wf={},Nw;function KE(){if(Nw)return wf;Nw=1;var e=Gx();return wf.createRoot=e.createRoot,wf.hydrateRoot=e.hydrateRoot,wf}var _E=KE();const $E=vd(_E);var Vw="popstate";function Xw(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function eT(e={}){function t(r,s){let a=s.state?.masked,{pathname:l,search:u,hash:f}=a||r.location;return dm("",{pathname:l,search:u,hash:f},s.state&&s.state.usr||null,s.state&&s.state.key||"default",a?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,s){return typeof s=="string"?s:zc(s)}return nT(t,n,null,e)}function pn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function zo(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function tT(){return Math.random().toString(36).substring(2,10)}function Fw(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function dm(e,t,n=null,r,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Ja(t):t,state:n,key:t&&t.key||r||tT(),unstable_mask:s}}function zc({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Ja(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function nT(e,t,n,r={}){let{window:s=document.defaultView,v5Compat:a=!1}=r,l=s.history,u="POP",f=null,h=v();h==null&&(h=0,l.replaceState({...l.state,idx:h},""));function v(){return(l.state||{idx:null}).idx}function m(){u="POP";let x=v(),z=x==null?null:x-h;h=x,f&&f({action:u,location:A.location,delta:z})}function b(x,z){u="PUSH";let D=Xw(x)?x:dm(A.location,x,z);h=v()+1;let C=Fw(D,h),j=A.createHref(D.unstable_mask||D);try{l.pushState(C,"",j)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;s.location.assign(j)}a&&f&&f({action:u,location:A.location,delta:1})}function S(x,z){u="REPLACE";let D=Xw(x)?x:dm(A.location,x,z);h=v();let C=Fw(D,h),j=A.createHref(D.unstable_mask||D);l.replaceState(C,"",j),a&&f&&f({action:u,location:A.location,delta:0})}function P(x){return rT(x)}let A={get action(){return u},get location(){return e(s,l)},listen(x){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(Vw,m),f=x,()=>{s.removeEventListener(Vw,m),f=null}},createHref(x){return t(s,x)},createURL:P,encodeLocation(x){let z=P(x);return{pathname:z.pathname,search:z.search,hash:z.hash}},push:b,replace:S,go(x){return l.go(x)}};return A}function rT(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),pn(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:zc(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function J0(e,t,n="/"){return oT(e,t,n,!1)}function oT(e,t,n,r){let s=typeof t=="string"?Ja(t):t,a=gs(s.pathname||"/",n);if(a==null)return null;let l=q0(e);sT(l);let u=null;for(let f=0;u==null&&f{let v={relativePath:h===void 0?l.path||"":h,caseSensitive:l.caseSensitive===!0,childrenIndex:u,route:l};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(r)&&f)return;pn(v.relativePath.startsWith(r),`Absolute route path "${v.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(r.length)}let m=Co([r,v.relativePath]),b=n.concat(v);l.children&&l.children.length>0&&(pn(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),q0(l.children,t,b,m,f)),!(l.path==null&&!l.index)&&t.push({path:m,score:dT(m,l.index),routesMeta:b})};return e.forEach((l,u)=>{if(l.path===""||!l.path?.includes("?"))a(l,u);else for(let f of U0(l.path))a(l,u,!0,f)}),t}function U0(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return s?[a,""]:[a];let l=U0(r.join("/")),u=[];return u.push(...l.map(f=>f===""?a:[a,f].join("/"))),s&&u.push(...l),u.map(f=>e.startsWith("/")&&f===""?"/":f)}function sT(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:pT(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var iT=/^:[\w-]+$/,aT=3,lT=2,cT=1,uT=10,fT=-2,Ww=e=>e==="*";function dT(e,t){let n=e.split("/"),r=n.length;return n.some(Ww)&&(r+=fT),t&&(r+=lT),n.filter(s=>!Ww(s)).reduce((s,a)=>s+(iT.test(a)?aT:a===""?cT:uT),r)}function pT(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function hT(e,t,n=!1){let{routesMeta:r}=e,s={},a="/",l=[];for(let u=0;u{if(v==="*"){let P=u[b]||"";l=a.slice(0,a.length-P.length).replace(/(.)\/+$/,"$1")}const S=u[b];return m&&!S?h[v]=void 0:h[v]=(S||"").replace(/%2F/g,"/"),h},{}),pathname:a,pathnameBase:l,pattern:e}}function vT(e,t=!1,n=!0){zo(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,u,f,h,v)=>{if(r.push({paramName:u,isOptional:f!=null}),f){let m=v.charAt(h+l.length);return m&&m!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function mT(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return zo(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function gs(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}var gT=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function yT(e,t="/"){let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Ja(e):e,a;return n?(n=G0(n),n.startsWith("/")?a=Jw(n.substring(1),"/"):a=Jw(n,t)):a=t,{pathname:a,search:bT(r),hash:wT(s)}}function Jw(e,t){let n=cd(t).split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function mv(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function AT(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Y0(e){let t=AT(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Hg(e,t,n,r=!1){let s;typeof e=="string"?s=Ja(e):(s={...e},pn(!s.pathname||!s.pathname.includes("?"),mv("?","pathname","search",s)),pn(!s.pathname||!s.pathname.includes("#"),mv("#","pathname","hash",s)),pn(!s.search||!s.search.includes("#"),mv("#","search","hash",s)));let a=e===""||s.pathname==="",l=a?"/":s.pathname,u;if(l==null)u=n;else{let m=t.length-1;if(!r&&l.startsWith("..")){let b=l.split("/");for(;b[0]==="..";)b.shift(),m-=1;s.pathname=b.join("/")}u=m>=0?t[m]:"/"}let f=yT(s,u),h=l&&l!=="/"&&l.endsWith("/"),v=(a||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(h||v)&&(f.pathname+="/"),f}var G0=e=>e.replace(/\/\/+/g,"/"),Co=e=>G0(e.join("/")),cd=e=>e.replace(/\/+$/,""),PT=e=>cd(e).replace(/^\/*/,"/"),bT=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,wT=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,xT=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function ST(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function HT(e){let t=e.map(n=>n.route.path).filter(Boolean);return Co(t)||"/"}var Z0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Q0(e,t){let n=e;if(typeof n!="string"||!gT.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,s=!1;if(Z0)try{let a=new URL(window.location.href),l=n.startsWith("//")?new URL(a.protocol+n):new URL(n),u=gs(l.pathname,t);l.origin===a.origin&&u!=null?n=u+l.search+l.hash:s=!0}catch{zo(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:s,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var K0=["POST","PUT","PATCH","DELETE"];new Set(K0);var CT=["GET",...K0];new Set(CT);var qa=y.createContext(null);qa.displayName="DataRouter";var Wd=y.createContext(null);Wd.displayName="DataRouterState";var _0=y.createContext(!1);function jT(){return y.useContext(_0)}var $0=y.createContext({isTransitioning:!1});$0.displayName="ViewTransition";var DT=y.createContext(new Map);DT.displayName="Fetchers";var zT=y.createContext(null);zT.displayName="Await";var lo=y.createContext(null);lo.displayName="Navigation";var Wc=y.createContext(null);Wc.displayName="Location";var ys=y.createContext({outlet:null,matches:[],isDataRoute:!1});ys.displayName="Route";var Cg=y.createContext(null);Cg.displayName="RouteError";var e1="REACT_ROUTER_ERROR",OT="REDIRECT",kT="ROUTE_ERROR_RESPONSE";function RT(e){if(e.startsWith(`${e1}:${OT}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function ET(e){if(e.startsWith(`${e1}:${kT}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new xT(t.status,t.statusText,t.data)}catch{}}function TT(e,{relative:t}={}){pn(Jc(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=y.useContext(lo),{hash:s,pathname:a,search:l}=qc(e,{relative:t}),u=a;return n!=="/"&&(u=a==="/"?n:Co([n,a])),r.createHref({pathname:u,search:l,hash:s})}function Jc(){return y.useContext(Wc)!=null}function $o(){return pn(Jc(),"useLocation() may be used only in the context of a component."),y.useContext(Wc).location}var t1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function n1(e){y.useContext(lo).static||y.useLayoutEffect(e)}function Jd(){let{isDataRoute:e}=y.useContext(ys);return e?YT():MT()}function MT(){pn(Jc(),"useNavigate() may be used only in the context of a component.");let e=y.useContext(qa),{basename:t,navigator:n}=y.useContext(lo),{matches:r}=y.useContext(ys),{pathname:s}=$o(),a=JSON.stringify(Y0(r)),l=y.useRef(!1);return n1(()=>{l.current=!0}),y.useCallback((f,h={})=>{if(zo(l.current,t1),!l.current)return;if(typeof f=="number"){n.go(f);return}let v=Hg(f,JSON.parse(a),s,h.relative==="path");e==null&&t!=="/"&&(v.pathname=v.pathname==="/"?t:Co([t,v.pathname])),(h.replace?n.replace:n.push)(v,h.state,h)},[t,n,a,s,e])}y.createContext(null);function qc(e,{relative:t}={}){let{matches:n}=y.useContext(ys),{pathname:r}=$o(),s=JSON.stringify(Y0(n));return y.useMemo(()=>Hg(e,JSON.parse(s),r,t==="path"),[e,s,r,t])}function LT(e,t){return r1(e,t)}function r1(e,t,n){pn(Jc(),"useRoutes() may be used only in the context of a component.");let{navigator:r}=y.useContext(lo),{matches:s}=y.useContext(ys),a=s[s.length-1],l=a?a.params:{},u=a?a.pathname:"/",f=a?a.pathnameBase:"/",h=a&&a.route;{let x=h&&h.path||"";s1(u,!h||x.endsWith("*")||x.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${u}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. +`,Zj=typeof Km!="string"?Zg` + animation: ${Km} 1.4s linear infinite; + `:null,Qj=typeof _m!="string"?Zg` + animation: ${_m} 1.4s ease-in-out infinite; + `:null,Kj=e=>{const{classes:t,variant:n,color:r,disableShrink:s}=e,a={root:["root",n,`color${pe(r)}`],svg:["svg"],circle:["circle",`circle${pe(n)}`,s&&"circleDisableShrink"]};return _e(a,Gj,t)},_j=fe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${pe(n.color)}`]]}})(rt(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Zj||{animation:`${Km} 1.4s linear infinite`}},...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),$j=fe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),ek=fe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${pe(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(rt(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:Qj||{animation:`${_m} 1.4s ease-in-out infinite`}}]}))),gl=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiCircularProgress"}),{className:s,color:a="primary",disableShrink:l=!1,size:c=40,style:f,thickness:d=3.6,value:p=0,variant:m="indeterminate",...b}=r,w={...r,color:a,disableShrink:l,size:c,thickness:d,value:p,variant:m},P=Kj(w),A={},x={},D={};if(m==="determinate"){const j=2*Math.PI*((ti-d)/2);A.strokeDasharray=j.toFixed(3),D["aria-valuenow"]=Math.round(p),A.strokeDashoffset=`${((100-p)/100*j).toFixed(3)}px`,x.transform="rotate(-90deg)"}return v.jsx(_j,{className:De(P.root,s),style:{width:c,height:c,...x,...f},ownerState:w,ref:n,role:"progressbar",...D,...b,children:v.jsx($j,{className:P.svg,ownerState:w,viewBox:`${ti/2} ${ti/2} ${ti} ${ti}`,children:v.jsx(ek,{className:P.circle,style:A,ownerState:w,cx:ti,cy:ti,r:(ti-d)/2,fill:"none",strokeWidth:d})})})});function tk(e){return Qe("MuiIconButton",e)}const Zw=Ke("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),nk=e=>{const{classes:t,disabled:n,color:r,edge:s,size:a,loading:l}=e,c={root:["root",l&&"loading",n&&"disabled",r!=="default"&&`color${pe(r)}`,s&&`edge${pe(s)}`,`size${pe(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return _e(c,tk,t)},rk=fe(_i,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${pe(n.color)}`],n.edge&&t[`edge${pe(n.edge)}`],t[`size${pe(n.size)}`]]}})(rt(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),rt(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Zw.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Zw.loading}`]:{color:"transparent"}}))),ok=fe("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Pr=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiIconButton"}),{edge:s=!1,children:a,className:l,color:c="default",disabled:f=!1,disableFocusRipple:d=!1,size:p="medium",id:m,loading:b=null,loadingIndicator:w,...P}=r,A=uo(m),x=w??v.jsx(gl,{"aria-labelledby":A,color:"inherit",size:16}),D={...r,edge:s,color:c,disabled:f,disableFocusRipple:d,loading:b,loadingIndicator:x,size:p},j=nk(D);return v.jsxs(rk,{id:b?A:m,className:De(j.root,l),centerRipple:!0,focusRipple:!d,disabled:f||b,ref:n,...P,ownerState:D,children:[typeof b=="boolean"&&v.jsx("span",{className:j.loadingWrapper,style:{display:"contents"},children:v.jsx(ok,{className:j.loadingIndicator,ownerState:D,children:b&&x})}),a]})}),sk=wt(v.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),ik=wt(v.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),ak=wt(v.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),lk=wt(v.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),E1=wt(v.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),ck=e=>{const{variant:t,color:n,severity:r,classes:s}=e,a={root:["root",`color${pe(n||r)}`,`${t}${pe(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return _e(a,Yj,s)},uk=fe(Ur,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${pe(n.color||n.severity)}`]]}})(rt(({theme:e})=>{const t=e.palette.mode==="light"?Qi:Ki,n=e.palette.mode==="light"?Ki:Qi;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(vn(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${Gw.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(vn(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${Gw.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(vn(["dark"])).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)}}}))]}})),fk=fe("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),dk=fe("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),pk=fe("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Qw={success:v.jsx(sk,{fontSize:"inherit"}),warning:v.jsx(ik,{fontSize:"inherit"}),error:v.jsx(ak,{fontSize:"inherit"}),info:v.jsx(lk,{fontSize:"inherit"})},fy=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiAlert"}),{action:s,children:a,className:l,closeText:c="Close",color:f,components:d={},componentsProps:p={},icon:m,iconMapping:b=Qw,onClose:w,role:P="alert",severity:A="success",slotProps:x={},slots:D={},variant:j="standard",...C}=r,k={...r,color:f,severity:A,variant:j,colorSeverity:f||A},O=ck(k),T={slots:{closeButton:d.CloseButton,closeIcon:d.CloseIcon,...D},slotProps:{...p,...x}},[M,E]=ct("root",{ref:n,shouldForwardComponentProp:!0,className:De(O.root,l),elementType:uk,externalForwardedProps:{...T,...C},ownerState:k,additionalProps:{role:P,elevation:0}}),[L,H]=ct("icon",{className:O.icon,elementType:fk,externalForwardedProps:T,ownerState:k}),[V,X]=ct("message",{className:O.message,elementType:dk,externalForwardedProps:T,ownerState:k}),[B,J]=ct("action",{className:O.action,elementType:pk,externalForwardedProps:T,ownerState:k}),[q,F]=ct("closeButton",{elementType:Pr,externalForwardedProps:T,ownerState:k}),[_,Y]=ct("closeIcon",{elementType:E1,externalForwardedProps:T,ownerState:k});return v.jsxs(M,{...E,children:[m!==!1?v.jsx(L,{...H,children:m||b[A]||Qw[A]}):null,v.jsx(V,{...X,children:a}),s!=null?v.jsx(B,{...J,children:s}):null,s==null&&w?v.jsx(B,{...J,children:v.jsx(q,{size:"small","aria-label":c,title:c,color:"inherit",onClick:w,...F,children:v.jsx(_,{fontSize:"small",...Y})})}):null]})});function hk(e){return Qe("MuiTypography",e)}const Kw=Ke("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),vk={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},mk=hj(),gk=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:s,variant:a,classes:l}=e,c={root:["root",a,e.align!=="inherit"&&`align${pe(t)}`,n&&"gutterBottom",r&&"noWrap",s&&"paragraph"]};return _e(c,hk,l)},yk=fe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${pe(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(rt(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,n])=>t!=="inherit"&&n&&typeof n=="object").map(([t,n])=>({props:{variant:t},style:n})),...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${pe(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}))),_w={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},jt=g.forwardRef(function(t,n){const{color:r,...s}=ot({props:t,name:"MuiTypography"}),a=!vk[r],l=mk({...s,...a&&{color:r}}),{align:c="inherit",className:f,component:d,gutterBottom:p=!1,noWrap:m=!1,paragraph:b=!1,variant:w="body1",variantMapping:P=_w,...A}=l,x={...l,align:c,color:r,className:f,component:d,gutterBottom:p,noWrap:m,paragraph:b,variant:w,variantMapping:P},D=d||(b?"p":P[w]||_w[w])||"span",j=gk(x);return v.jsx(yk,{as:D,ref:n,className:De(j.root,f),...A,ownerState:x,style:{...c!=="inherit"&&{"--Typography-textAlign":c},...A.style}})});function Ak(e){return Qe("MuiAppBar",e)}Ke("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const bk=e=>{const{color:t,position:n,classes:r}=e,s={root:["root",`color${pe(t)}`,`position${pe(n)}`]};return _e(s,Ak,r)},$w=(e,t)=>e?`${e?.replace(")","")}, ${t})`:t,Pk=fe(Ur,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${pe(n.position)}`],t[`color${pe(n.color)}`]]}})(rt(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(vn(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?$w(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?$w(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),wk=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiAppBar"}),{className:s,color:a="primary",enableColorOnDark:l=!1,position:c="fixed",...f}=r,d={...r,color:a,position:c,enableColorOnDark:l},p=bk(d);return v.jsx(Pk,{square:!0,component:"header",ownerState:d,elevation:4,className:De(p.root,s,c==="fixed"&&"mui-fixed"),ref:n,...f})});function ex(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function xk(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:s="any",stringify:a,trim:l=!1}=e;return(c,{inputValue:f,getOptionLabel:d})=>{let p=l?f.trim():f;n&&(p=p.toLowerCase()),t&&(p=ex(p));const m=p?c.filter(b=>{let w=(a||d)(b);return n&&(w=w.toLowerCase()),t&&(w=ex(w)),s==="start"?w.startsWith(p):w.includes(p)}):c;return typeof r=="number"?m.slice(0,r):m}}const Sk=xk(),tx=5,Ck=e=>e.current!==null&&e.current.parentElement?.contains(document.activeElement),Hk=[];function nx(e,t,n){if(t||e==null)return"";const r=n(e);return typeof r=="string"?r:""}function jk(e){const{unstable_isActiveElementInListbox:t=Ck,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:s=!1,autoSelect:a=!1,blurOnSelect:l=!1,clearOnBlur:c=!e.freeSolo,clearOnEscape:f=!1,componentName:d="useAutocomplete",defaultValue:p=e.multiple?Hk:null,disableClearable:m=!1,disableCloseOnSelect:b=!1,disabled:w,disabledItemsFocusable:P=!1,disableListWrap:A=!1,filterOptions:x=Sk,filterSelectedOptions:D=!1,freeSolo:j=!1,getOptionDisabled:C,getOptionKey:k,getOptionLabel:O=de=>de.label??de,groupBy:T,handleHomeEndKeys:M=!e.freeSolo,id:E,includeInputInList:L=!1,inputValue:H,isOptionEqualToValue:V=(de,he)=>de===he,multiple:X=!1,onChange:B,onClose:J,onHighlightChange:q,onInputChange:F,onOpen:_,open:Y,openOnFocus:U=!1,options:z,readOnly:G=!1,selectOnFocus:I=!e.freeSolo,value:Z}=e,$=uo(E);let re=O;re=de=>{const he=O(de);return typeof he!="string"?String(he):he};const se=g.useRef(!1),ge=g.useRef(!0),ie=g.useRef(null),Ae=g.useRef(null),[Oe,Ee]=g.useState(null),[me,Ne]=g.useState(-1),ve=s?0:-1,Ge=g.useRef(ve),Pt=g.useRef(nx(p??Z,X,re)).current,[Be,pt]=li({controlled:Z,default:p,name:d}),[ut,ht]=li({controlled:H,default:Pt,name:d,state:"inputValue"}),[At,Fe]=g.useState(!1),Tt=g.useCallback((de,he,Je)=>{if(!(X?Be.length!(D&&(X?Be:[Be]).some(he=>he!==null&&V(de,he)))),{inputValue:we&&oe?"":ut,getOptionLabel:re}):[],Ce=t7({filteredOptions:Se,value:Be,inputValue:ut});g.useEffect(()=>{const de=Be!==Ce.value;At&&!de||j&&!de||Tt(null,Be,"reset")},[Be,Tt,At,Ce.value,j]);const ft=N&&Se.length>0&&!G,St=ir(de=>{de===-1?ie.current.focus():Oe.querySelector(`[data-tag-index="${de}"]`).focus()});g.useEffect(()=>{X&&me>Be.length-1&&(Ne(-1),St(-1))},[Be,X,me,St]);function Xe(de,he){if(!Ae.current||de<0||de>=Se.length)return-1;let Je=de;for(;;){const Ct=Ae.current.querySelector(`[data-option-index="${Je}"]`),kt=P?!1:!Ct||Ct.disabled||Ct.getAttribute("aria-disabled")==="true";if(Ct&&Ct.hasAttribute("tabindex")&&!kt)return Je;if(he==="next"?Je=(Je+1)%Se.length:Je=(Je-1+Se.length)%Se.length,Je===de)return-1}}const K=ir(({event:de,index:he,reason:Je})=>{if(Ge.current=he,he===-1?ie.current.removeAttribute("aria-activedescendant"):ie.current.setAttribute("aria-activedescendant",`${$}-option-${he}`),q&&["mouse","keyboard","touch"].includes(Je)&&q(de,he===-1?null:Se[he],Je),!Ae.current)return;const Ct=Ae.current.querySelector(`[role="option"].${n}-focused`);Ct&&(Ct.classList.remove(`${n}-focused`),Ct.classList.remove(`${n}-focusVisible`));let kt=Ae.current;if(Ae.current.getAttribute("role")!=="listbox"&&(kt=Ae.current.parentElement.querySelector('[role="listbox"]')),!kt)return;if(he===-1){kt.scrollTop=0;return}const Ft=Ae.current.querySelector(`[data-option-index="${he}"]`);if(Ft&&(Ft.classList.add(`${n}-focused`),Je==="keyboard"&&Ft.classList.add(`${n}-focusVisible`),kt.scrollHeight>kt.clientHeight&&Je!=="mouse"&&Je!=="touch")){const Zt=Ft,Ln=kt.clientHeight+kt.scrollTop,Zr=Zt.offsetTop+Zt.offsetHeight;Zr>Ln?kt.scrollTop=Zr-kt.clientHeight:Zt.offsetTop-Zt.offsetHeight*(T?1.3:0){if(!be)return;const Ft=Xe((()=>{const Zt=Se.length-1;if(he==="reset")return ve;if(he==="start")return 0;if(he==="end")return Zt;const Ln=Ge.current+he;return Ln<0?Ln===-1&&L?-1:A&&Ge.current!==-1||Math.abs(he)>1?0:Zt:Ln>Zt?Ln===Zt+1&&L?-1:A||Math.abs(he)>1?Zt:0:Ln})(),Je);if(K({index:Ft,reason:Ct,event:de}),r&&he!=="reset")if(Ft===-1)ie.current.value=ut;else{const Zt=re(Se[Ft]);ie.current.value=Zt,Zt.toLowerCase().indexOf(ut.toLowerCase())===0&&ut.length>0&&ie.current.setSelectionRange(ut.length,Zt.length)}}),Pe=()=>{const de=(he,Je)=>{const Ct=he?re(he):"",kt=Je?re(Je):"";return Ct===kt};if(Ge.current!==-1&&Ce.filteredOptions&&Ce.filteredOptions.length!==Se.length&&Ce.inputValue===ut&&(X?Be.length===Ce.value.length&&Ce.value.every((he,Je)=>re(Be[Je])===re(he)):de(Ce.value,Be))){const he=Ce.filteredOptions[Ge.current];if(he)return Se.findIndex(Je=>re(Je)===re(he))}return-1},ke=g.useCallback(()=>{if(!be)return;const de=Pe();if(de!==-1){Ge.current=de;return}const he=X?Be[0]:Be;if(Se.length===0||he==null){Q({diff:"reset"});return}if(Ae.current){if(he!=null){const Je=Se[Ge.current];if(X&&Je&&Be.findIndex(kt=>V(Je,kt))!==-1)return;const Ct=Se.findIndex(kt=>V(kt,he));Ct===-1?Q({diff:"reset"}):K({index:Ct});return}if(Ge.current>=Se.length-1){K({index:Se.length-1});return}K({index:Ge.current})}},[Se.length,X?!1:Be,D,Q,K,be,ut,X]),Re=ir(de=>{qm(Ae,de),de&&ke()});g.useEffect(()=>{ke()},[ke]);const Te=de=>{N||(te(!0),xe(!0),_&&_(de))},Ue=(de,he)=>{N&&(te(!1),J&&J(de,he))},Ie=(de,he,Je,Ct)=>{if(X){if(Be.length===he.length&&Be.every((kt,Ft)=>kt===he[Ft]))return}else if(Be===he)return;B&&B(de,he,Je,Ct),pt(he)},st=g.useRef(!1),dt=(de,he,Je="selectOption",Ct="options")=>{let kt=Je,Ft=he;if(X){Ft=Array.isArray(Be)?Be.slice():[];const Zt=Ft.findIndex(Ln=>V(he,Ln));Zt===-1?Ft.push(he):Ct!=="freeSolo"&&(Ft.splice(Zt,1),kt="removeOption")}Tt(de,Ft,kt),Ie(de,Ft,kt,{option:he}),!b&&(!de||!de.ctrlKey&&!de.metaKey)&&Ue(de,kt),(l===!0||l==="touch"&&st.current||l==="mouse"&&!st.current)&&ie.current.blur()};function It(de,he){if(de===-1)return-1;let Je=de;for(;;){if(he==="next"&&Je===Be.length||he==="previous"&&Je===-1)return-1;const Ct=Oe.querySelector(`[data-tag-index="${Je}"]`);if(!Ct||!Ct.hasAttribute("tabindex")||Ct.disabled||Ct.getAttribute("aria-disabled")==="true")Je+=he==="next"?1:-1;else return Je}}const Gt=(de,he)=>{if(!X)return;ut===""&&Ue(de,"toggleInput");let Je=me;me===-1?ut===""&&he==="previous"&&(Je=Be.length-1):(Je+=he==="next"?1:-1,Je<0&&(Je=0),Je===Be.length&&(Je=-1)),Je=It(Je,he),Ne(Je),St(Je)},Ye=de=>{se.current=!0,ht(""),F&&F(de,"","clear"),Ie(de,X?[]:null,"clear")},Vt=de=>he=>{if(de.onKeyDown&&de.onKeyDown(he),!he.defaultMuiPrevented&&(me!==-1&&!["ArrowLeft","ArrowRight"].includes(he.key)&&(Ne(-1),St(-1)),he.which!==229))switch(he.key){case"Home":be&&M&&(he.preventDefault(),Q({diff:"start",direction:"next",reason:"keyboard",event:he}));break;case"End":be&&M&&(he.preventDefault(),Q({diff:"end",direction:"previous",reason:"keyboard",event:he}));break;case"PageUp":he.preventDefault(),Q({diff:-tx,direction:"previous",reason:"keyboard",event:he}),Te(he);break;case"PageDown":he.preventDefault(),Q({diff:tx,direction:"next",reason:"keyboard",event:he}),Te(he);break;case"ArrowDown":he.preventDefault(),Q({diff:1,direction:"next",reason:"keyboard",event:he}),Te(he);break;case"ArrowUp":he.preventDefault(),Q({diff:-1,direction:"previous",reason:"keyboard",event:he}),Te(he);break;case"ArrowLeft":Gt(he,"previous");break;case"ArrowRight":Gt(he,"next");break;case"Enter":if(Ge.current!==-1&&be){const Je=Se[Ge.current],Ct=C?C(Je):!1;if(he.preventDefault(),Ct)return;dt(he,Je,"selectOption"),r&&ie.current.setSelectionRange(ie.current.value.length,ie.current.value.length)}else j&&ut!==""&&we===!1&&(X&&he.preventDefault(),dt(he,ut,"createOption","freeSolo"));break;case"Escape":be?(he.preventDefault(),he.stopPropagation(),Ue(he,"escape")):f&&(ut!==""||X&&Be.length>0)&&(he.preventDefault(),he.stopPropagation(),Ye(he));break;case"Backspace":if(X&&!G&&ut===""&&Be.length>0){const Je=me===-1?Be.length-1:me,Ct=Be.slice();Ct.splice(Je,1),Ie(he,Ct,"removeOption",{option:Be[Je]})}break;case"Delete":if(X&&!G&&ut===""&&Be.length>0&&me!==-1){const Je=me,Ct=Be.slice();Ct.splice(Je,1),Ie(he,Ct,"removeOption",{option:Be[Je]})}break}},Dn=de=>{Fe(!0),U&&!se.current&&Te(de)},gn=de=>{if(t(Ae)){ie.current.focus();return}Fe(!1),ge.current=!0,se.current=!1,a&&Ge.current!==-1&&be?dt(de,Se[Ge.current],"blur"):a&&j&&ut!==""?dt(de,ut,"blur","freeSolo"):c&&Tt(de,Be,"blur"),Ue(de,"blur")},Un=de=>{const he=de.target.value;ut!==he&&(ht(he),xe(!1),F&&F(de,he,"input")),he===""?!m&&!X&&Ie(de,null,"clear"):Te(de)},yn=de=>{const he=Number(de.currentTarget.getAttribute("data-option-index"));Ge.current!==he&&K({event:de,index:he,reason:"mouse"})},Or=de=>{K({event:de,index:Number(de.currentTarget.getAttribute("data-option-index")),reason:"touch"}),st.current=!0},mo=de=>{const he=Number(de.currentTarget.getAttribute("data-option-index"));dt(de,Se[he],"selectOption"),st.current=!1},Wo=de=>he=>{const Je=Be.slice();Je.splice(de,1),Ie(he,Je,"removeOption",{option:Be[de]})},Jo=de=>{N?Ue(de,"toggleInput"):Te(de)},go=de=>{de.currentTarget.contains(de.target)&&de.target.getAttribute("id")!==$&&de.preventDefault()},An=de=>{de.currentTarget.contains(de.target)&&(ie.current.focus(),I&&ge.current&&ie.current.selectionEnd-ie.current.selectionStart===0&&ie.current.select(),ge.current=!1)},Le=de=>{!w&&(ut===""||!N)&&Jo(de)};let qe=j&&ut.length>0;qe=qe||(X?Be.length>0:Be!==null);let mt=Se;return T&&(mt=Se.reduce((de,he,Je)=>{const Ct=T(he);return de.length>0&&de[de.length-1].group===Ct?de[de.length-1].options.push(he):de.push({key:Je,index:Je,group:Ct,options:[he]}),de},[])),w&&At&&gn(),{getRootProps:(de={})=>({...de,onKeyDown:Vt(de),onMouseDown:go,onClick:An}),getInputLabelProps:()=>({id:`${$}-label`,htmlFor:$}),getInputProps:()=>({id:$,value:ut,onBlur:gn,onFocus:Dn,onChange:Un,onMouseDown:Le,"aria-activedescendant":be?"":null,"aria-autocomplete":r?"both":"list","aria-controls":ft?`${$}-listbox`:void 0,"aria-expanded":ft,autoComplete:"off",ref:ie,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:w}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ye}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Jo}),getTagProps:({index:de})=>({key:de,"data-tag-index":de,tabIndex:-1,...!G&&{onDelete:Wo(de)}}),getListboxProps:()=>({role:"listbox",id:`${$}-listbox`,"aria-labelledby":`${$}-label`,ref:Re,onMouseDown:de=>{de.preventDefault()}}),getOptionProps:({index:de,option:he})=>{const Je=(X?Be:[Be]).some(kt=>kt!=null&&V(he,kt)),Ct=C?C(he):!1;return{key:k?.(he)??re(he),tabIndex:-1,role:"option",id:`${$}-option-${de}`,onMouseMove:yn,onClick:mo,onTouchStart:Or,"data-option-index":de,"aria-disabled":Ct,"aria-selected":Je}},id:$,inputValue:ut,value:Be,dirty:qe,expanded:be&&Oe,popupOpen:be,focused:At||me!==-1,anchorEl:Oe,setAnchorEl:Ee,focusedTag:me,groupedOptions:mt}}var wr="top",fo="bottom",po="right",xr="left",dy="auto",bu=[wr,fo,po,xr],il="start",Kc="end",kk="clippingParents",R1="viewport",uc="popper",Dk="reference",rx=bu.reduce(function(e,t){return e.concat([t+"-"+il,t+"-"+Kc])},[]),T1=[].concat(bu,[dy]).reduce(function(e,t){return e.concat([t,t+"-"+il,t+"-"+Kc])},[]),Ok="beforeRead",zk="read",Ek="afterRead",Rk="beforeMain",Tk="main",Mk="afterMain",Lk="beforeWrite",Ik="write",Bk="afterWrite",Nk=[Ok,zk,Ek,Rk,Tk,Mk,Lk,Ik,Bk];function as(e){return e?(e.nodeName||"").toLowerCase():null}function Yr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function $i(e){var t=Yr(e).Element;return e instanceof t||e instanceof Element}function co(e){var t=Yr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function py(e){if(typeof ShadowRoot>"u")return!1;var t=Yr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Vk(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},a=t.elements[n];!co(a)||!as(a)||(Object.assign(a.style,r),Object.keys(s).forEach(function(l){var c=s[l];c===!1?a.removeAttribute(l):a.setAttribute(l,c===!0?"":c)}))})}function Xk(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var s=t.elements[r],a=t.attributes[r]||{},l=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),c=l.reduce(function(f,d){return f[d]="",f},{});!co(s)||!as(s)||(Object.assign(s.style,c),Object.keys(a).forEach(function(f){s.removeAttribute(f)}))})}}const Fk={name:"applyStyles",enabled:!0,phase:"write",fn:Vk,effect:Xk,requires:["computeStyles"]};function os(e){return e.split("-")[0]}var Yi=Math.max,Wd=Math.min,al=Math.round;function $m(){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 M1(){return!/^((?!chrome|android).)*safari/i.test($m())}function ll(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,a=1;t&&co(e)&&(s=e.offsetWidth>0&&al(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&al(r.height)/e.offsetHeight||1);var l=$i(e)?Yr(e):window,c=l.visualViewport,f=!M1()&&n,d=(r.left+(f&&c?c.offsetLeft:0))/s,p=(r.top+(f&&c?c.offsetTop:0))/a,m=r.width/s,b=r.height/a;return{width:m,height:b,top:p,right:d+m,bottom:p+b,left:d,x:d,y:p}}function hy(e){var t=ll(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function L1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&py(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Os(e){return Yr(e).getComputedStyle(e)}function Wk(e){return["table","td","th"].indexOf(as(e))>=0}function gi(e){return(($i(e)?e.ownerDocument:e.document)||window.document).documentElement}function Hp(e){return as(e)==="html"?e:e.assignedSlot||e.parentNode||(py(e)?e.host:null)||gi(e)}function ox(e){return!co(e)||Os(e).position==="fixed"?null:e.offsetParent}function Jk(e){var t=/firefox/i.test($m()),n=/Trident/i.test($m());if(n&&co(e)){var r=Os(e);if(r.position==="fixed")return null}var s=Hp(e);for(py(s)&&(s=s.host);co(s)&&["html","body"].indexOf(as(s))<0;){var a=Os(s);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return s;s=s.parentNode}return null}function Pu(e){for(var t=Yr(e),n=ox(e);n&&Wk(n)&&Os(n).position==="static";)n=ox(n);return n&&(as(n)==="html"||as(n)==="body"&&Os(n).position==="static")?t:n||Jk(e)||t}function vy(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Bc(e,t,n){return Yi(e,Wd(t,n))}function qk(e,t,n){var r=Bc(e,t,n);return r>n?n:r}function I1(){return{top:0,right:0,bottom:0,left:0}}function B1(e){return Object.assign({},I1(),e)}function N1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Uk=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,B1(typeof t!="number"?t:N1(t,bu))};function Yk(e){var t,n=e.state,r=e.name,s=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,c=os(n.placement),f=vy(c),d=[xr,po].indexOf(c)>=0,p=d?"height":"width";if(!(!a||!l)){var m=Uk(s.padding,n),b=hy(a),w=f==="y"?wr:xr,P=f==="y"?fo:po,A=n.rects.reference[p]+n.rects.reference[f]-l[f]-n.rects.popper[p],x=l[f]-n.rects.reference[f],D=Pu(a),j=D?f==="y"?D.clientHeight||0:D.clientWidth||0:0,C=A/2-x/2,k=m[w],O=j-b[p]-m[P],T=j/2-b[p]/2+C,M=Bc(k,T,O),E=f;n.modifiersData[r]=(t={},t[E]=M,t.centerOffset=M-T,t)}}function Gk(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||L1(t.elements.popper,s)&&(t.elements.arrow=s))}const Zk={name:"arrow",enabled:!0,phase:"main",fn:Yk,effect:Gk,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function cl(e){return e.split("-")[1]}var Qk={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Kk(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:al(n*s)/s||0,y:al(r*s)/s||0}}function sx(e){var t,n=e.popper,r=e.popperRect,s=e.placement,a=e.variation,l=e.offsets,c=e.position,f=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,m=e.isFixed,b=l.x,w=b===void 0?0:b,P=l.y,A=P===void 0?0:P,x=typeof p=="function"?p({x:w,y:A}):{x:w,y:A};w=x.x,A=x.y;var D=l.hasOwnProperty("x"),j=l.hasOwnProperty("y"),C=xr,k=wr,O=window;if(d){var T=Pu(n),M="clientHeight",E="clientWidth";if(T===Yr(n)&&(T=gi(n),Os(T).position!=="static"&&c==="absolute"&&(M="scrollHeight",E="scrollWidth")),T=T,s===wr||(s===xr||s===po)&&a===Kc){k=fo;var L=m&&T===O&&O.visualViewport?O.visualViewport.height:T[M];A-=L-r.height,A*=f?1:-1}if(s===xr||(s===wr||s===fo)&&a===Kc){C=po;var H=m&&T===O&&O.visualViewport?O.visualViewport.width:T[E];w-=H-r.width,w*=f?1:-1}}var V=Object.assign({position:c},d&&Qk),X=p===!0?Kk({x:w,y:A},Yr(n)):{x:w,y:A};if(w=X.x,A=X.y,f){var B;return Object.assign({},V,(B={},B[k]=j?"0":"",B[C]=D?"0":"",B.transform=(O.devicePixelRatio||1)<=1?"translate("+w+"px, "+A+"px)":"translate3d("+w+"px, "+A+"px, 0)",B))}return Object.assign({},V,(t={},t[k]=j?A+"px":"",t[C]=D?w+"px":"",t.transform="",t))}function _k(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,a=n.adaptive,l=a===void 0?!0:a,c=n.roundOffsets,f=c===void 0?!0:c,d={placement:os(t.placement),variation:cl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,sx(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,sx(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const $k={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:_k,data:{}};var Zf={passive:!0};function eD(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,a=s===void 0?!0:s,l=r.resize,c=l===void 0?!0:l,f=Yr(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&d.forEach(function(p){p.addEventListener("scroll",n.update,Zf)}),c&&f.addEventListener("resize",n.update,Zf),function(){a&&d.forEach(function(p){p.removeEventListener("scroll",n.update,Zf)}),c&&f.removeEventListener("resize",n.update,Zf)}}const tD={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:eD,data:{}};var nD={left:"right",right:"left",bottom:"top",top:"bottom"};function xd(e){return e.replace(/left|right|bottom|top/g,function(t){return nD[t]})}var rD={start:"end",end:"start"};function ix(e){return e.replace(/start|end/g,function(t){return rD[t]})}function my(e){var t=Yr(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function gy(e){return ll(gi(e)).left+my(e).scrollLeft}function oD(e,t){var n=Yr(e),r=gi(e),s=n.visualViewport,a=r.clientWidth,l=r.clientHeight,c=0,f=0;if(s){a=s.width,l=s.height;var d=M1();(d||!d&&t==="fixed")&&(c=s.offsetLeft,f=s.offsetTop)}return{width:a,height:l,x:c+gy(e),y:f}}function sD(e){var t,n=gi(e),r=my(e),s=(t=e.ownerDocument)==null?void 0:t.body,a=Yi(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),l=Yi(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),c=-r.scrollLeft+gy(e),f=-r.scrollTop;return Os(s||n).direction==="rtl"&&(c+=Yi(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:l,x:c,y:f}}function yy(e){var t=Os(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function V1(e){return["html","body","#document"].indexOf(as(e))>=0?e.ownerDocument.body:co(e)&&yy(e)?e:V1(Hp(e))}function Nc(e,t){var n;t===void 0&&(t=[]);var r=V1(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),a=Yr(r),l=s?[a].concat(a.visualViewport||[],yy(r)?r:[]):r,c=t.concat(l);return s?c:c.concat(Nc(Hp(l)))}function eg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function iD(e,t){var n=ll(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 ax(e,t,n){return t===R1?eg(oD(e,n)):$i(t)?iD(t,n):eg(sD(gi(e)))}function aD(e){var t=Nc(Hp(e)),n=["absolute","fixed"].indexOf(Os(e).position)>=0,r=n&&co(e)?Pu(e):e;return $i(r)?t.filter(function(s){return $i(s)&&L1(s,r)&&as(s)!=="body"}):[]}function lD(e,t,n,r){var s=t==="clippingParents"?aD(e):[].concat(t),a=[].concat(s,[n]),l=a[0],c=a.reduce(function(f,d){var p=ax(e,d,r);return f.top=Yi(p.top,f.top),f.right=Wd(p.right,f.right),f.bottom=Wd(p.bottom,f.bottom),f.left=Yi(p.left,f.left),f},ax(e,l,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function X1(e){var t=e.reference,n=e.element,r=e.placement,s=r?os(r):null,a=r?cl(r):null,l=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2,f;switch(s){case wr:f={x:l,y:t.y-n.height};break;case fo:f={x:l,y:t.y+t.height};break;case po:f={x:t.x+t.width,y:c};break;case xr:f={x:t.x-n.width,y:c};break;default:f={x:t.x,y:t.y}}var d=s?vy(s):null;if(d!=null){var p=d==="y"?"height":"width";switch(a){case il:f[d]=f[d]-(t[p]/2-n[p]/2);break;case Kc:f[d]=f[d]+(t[p]/2-n[p]/2);break}}return f}function _c(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,a=n.strategy,l=a===void 0?e.strategy:a,c=n.boundary,f=c===void 0?kk:c,d=n.rootBoundary,p=d===void 0?R1:d,m=n.elementContext,b=m===void 0?uc:m,w=n.altBoundary,P=w===void 0?!1:w,A=n.padding,x=A===void 0?0:A,D=B1(typeof x!="number"?x:N1(x,bu)),j=b===uc?Dk:uc,C=e.rects.popper,k=e.elements[P?j:b],O=lD($i(k)?k:k.contextElement||gi(e.elements.popper),f,p,l),T=ll(e.elements.reference),M=X1({reference:T,element:C,placement:s}),E=eg(Object.assign({},C,M)),L=b===uc?E:T,H={top:O.top-L.top+D.top,bottom:L.bottom-O.bottom+D.bottom,left:O.left-L.left+D.left,right:L.right-O.right+D.right},V=e.modifiersData.offset;if(b===uc&&V){var X=V[s];Object.keys(H).forEach(function(B){var J=[po,fo].indexOf(B)>=0?1:-1,q=[wr,fo].indexOf(B)>=0?"y":"x";H[B]+=X[q]*J})}return H}function cD(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,a=n.rootBoundary,l=n.padding,c=n.flipVariations,f=n.allowedAutoPlacements,d=f===void 0?T1:f,p=cl(r),m=p?c?rx:rx.filter(function(P){return cl(P)===p}):bu,b=m.filter(function(P){return d.indexOf(P)>=0});b.length===0&&(b=m);var w=b.reduce(function(P,A){return P[A]=_c(e,{placement:A,boundary:s,rootBoundary:a,padding:l})[os(A)],P},{});return Object.keys(w).sort(function(P,A){return w[P]-w[A]})}function uD(e){if(os(e)===dy)return[];var t=xd(e);return[ix(e),t,ix(t)]}function fD(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,c=l===void 0?!0:l,f=n.fallbackPlacements,d=n.padding,p=n.boundary,m=n.rootBoundary,b=n.altBoundary,w=n.flipVariations,P=w===void 0?!0:w,A=n.allowedAutoPlacements,x=t.options.placement,D=os(x),j=D===x,C=f||(j||!P?[xd(x)]:uD(x)),k=[x].concat(C).reduce(function($,re){return $.concat(os(re)===dy?cD(t,{placement:re,boundary:p,rootBoundary:m,padding:d,flipVariations:P,allowedAutoPlacements:A}):re)},[]),O=t.rects.reference,T=t.rects.popper,M=new Map,E=!0,L=k[0],H=0;H=0,q=J?"width":"height",F=_c(t,{placement:V,boundary:p,rootBoundary:m,altBoundary:b,padding:d}),_=J?B?po:xr:B?fo:wr;O[q]>T[q]&&(_=xd(_));var Y=xd(_),U=[];if(a&&U.push(F[X]<=0),c&&U.push(F[_]<=0,F[Y]<=0),U.every(function($){return $})){L=V,E=!1;break}M.set(V,U)}if(E)for(var z=P?3:1,G=function(re){var se=k.find(function(ge){var ie=M.get(ge);if(ie)return ie.slice(0,re).every(function(Ae){return Ae})});if(se)return L=se,"break"},I=z;I>0;I--){var Z=G(I);if(Z==="break")break}t.placement!==L&&(t.modifiersData[r]._skip=!0,t.placement=L,t.reset=!0)}}const dD={name:"flip",enabled:!0,phase:"main",fn:fD,requiresIfExists:["offset"],data:{_skip:!1}};function lx(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 cx(e){return[wr,po,fo,xr].some(function(t){return e[t]>=0})}function pD(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,l=_c(t,{elementContext:"reference"}),c=_c(t,{altBoundary:!0}),f=lx(l,r),d=lx(c,s,a),p=cx(f),m=cx(d);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}const hD={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:pD};function vD(e,t,n){var r=os(e),s=[xr,wr].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],c=a[1];return l=l||0,c=(c||0)*s,[xr,po].indexOf(r)>=0?{x:c,y:l}:{x:l,y:c}}function mD(e){var t=e.state,n=e.options,r=e.name,s=n.offset,a=s===void 0?[0,0]:s,l=T1.reduce(function(p,m){return p[m]=vD(m,t.rects,a),p},{}),c=l[t.placement],f=c.x,d=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=l}const gD={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:mD};function yD(e){var t=e.state,n=e.name;t.modifiersData[n]=X1({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const AD={name:"popperOffsets",enabled:!0,phase:"read",fn:yD,data:{}};function bD(e){return e==="x"?"y":"x"}function PD(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,c=l===void 0?!1:l,f=n.boundary,d=n.rootBoundary,p=n.altBoundary,m=n.padding,b=n.tether,w=b===void 0?!0:b,P=n.tetherOffset,A=P===void 0?0:P,x=_c(t,{boundary:f,rootBoundary:d,padding:m,altBoundary:p}),D=os(t.placement),j=cl(t.placement),C=!j,k=vy(D),O=bD(k),T=t.modifiersData.popperOffsets,M=t.rects.reference,E=t.rects.popper,L=typeof A=="function"?A(Object.assign({},t.rects,{placement:t.placement})):A,H=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),V=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,X={x:0,y:0};if(T){if(a){var B,J=k==="y"?wr:xr,q=k==="y"?fo:po,F=k==="y"?"height":"width",_=T[k],Y=_+x[J],U=_-x[q],z=w?-E[F]/2:0,G=j===il?M[F]:E[F],I=j===il?-E[F]:-M[F],Z=t.elements.arrow,$=w&&Z?hy(Z):{width:0,height:0},re=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:I1(),se=re[J],ge=re[q],ie=Bc(0,M[F],$[F]),Ae=C?M[F]/2-z-ie-se-H.mainAxis:G-ie-se-H.mainAxis,Oe=C?-M[F]/2+z+ie+ge+H.mainAxis:I+ie+ge+H.mainAxis,Ee=t.elements.arrow&&Pu(t.elements.arrow),me=Ee?k==="y"?Ee.clientTop||0:Ee.clientLeft||0:0,Ne=(B=V?.[k])!=null?B:0,ve=_+Ae-Ne-me,Ge=_+Oe-Ne,Pt=Bc(w?Wd(Y,ve):Y,_,w?Yi(U,Ge):U);T[k]=Pt,X[k]=Pt-_}if(c){var Be,pt=k==="x"?wr:xr,ut=k==="x"?fo:po,ht=T[O],At=O==="y"?"height":"width",Fe=ht+x[pt],Tt=ht-x[ut],N=[wr,xr].indexOf(D)!==-1,te=(Be=V?.[O])!=null?Be:0,oe=N?Fe:ht-M[At]-E[At]-te+H.altAxis,xe=N?ht+M[At]+E[At]-te-H.altAxis:Tt,we=w&&N?qk(oe,ht,xe):Bc(w?oe:Fe,ht,w?xe:Tt);T[O]=we,X[O]=we-ht}t.modifiersData[r]=X}}const wD={name:"preventOverflow",enabled:!0,phase:"main",fn:PD,requiresIfExists:["offset"]};function xD(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function SD(e){return e===Yr(e)||!co(e)?my(e):xD(e)}function CD(e){var t=e.getBoundingClientRect(),n=al(t.width)/e.offsetWidth||1,r=al(t.height)/e.offsetHeight||1;return n!==1||r!==1}function HD(e,t,n){n===void 0&&(n=!1);var r=co(t),s=co(t)&&CD(t),a=gi(t),l=ll(e,s,n),c={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((as(t)!=="body"||yy(a))&&(c=SD(t)),co(t)?(f=ll(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=gy(a))),{x:l.left+c.scrollLeft-f.x,y:l.top+c.scrollTop-f.y,width:l.width,height:l.height}}function jD(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function s(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(c){if(!n.has(c)){var f=t.get(c);f&&s(f)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||s(a)}),r}function kD(e){var t=jD(e);return Nk.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function DD(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function OD(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var ux={placement:"bottom",modifiers:[],strategy:"absolute"};function fx(){for(var e=arguments.length,t=new Array(e),n=0;n{a||c(TD(s)||document.body)},[s,a]),kr(()=>{if(l&&!a)return qm(n,l),()=>{qm(n,null)}},[n,l,a]),a){if(g.isValidElement(r)){const d={ref:f};return g.cloneElement(r,d)}return r}return l&&Cp.createPortal(r,l)});function MD(e){return Qe("MuiPopper",e)}Ke("MuiPopper",["root"]);function LD(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function tg(e){return typeof e=="function"?e():e}function ID(e){return e.nodeType!==void 0}const BD=e=>{const{classes:t}=e;return _e({root:["root"]},MD,t)},ND={},VD=g.forwardRef(function(t,n){const{anchorEl:r,children:s,direction:a,disablePortal:l,modifiers:c,open:f,placement:d,popperOptions:p,popperRef:m,slotProps:b={},slots:w={},TransitionProps:P,ownerState:A,...x}=t,D=g.useRef(null),j=fn(D,n),C=g.useRef(null),k=fn(C,m),O=g.useRef(k);kr(()=>{O.current=k},[k]),g.useImperativeHandle(m,()=>C.current,[]);const T=LD(d,a),[M,E]=g.useState(T),[L,H]=g.useState(tg(r));g.useEffect(()=>{C.current&&C.current.forceUpdate()}),g.useEffect(()=>{r&&H(tg(r))},[r]),kr(()=>{if(!L||!f)return;const q=Y=>{E(Y.placement)};let F=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:Y})=>{q(Y)}}];c!=null&&(F=F.concat(c)),p&&p.modifiers!=null&&(F=F.concat(p.modifiers));const _=RD(L,D.current,{placement:T,...p,modifiers:F});return O.current(_),()=>{_.destroy(),O.current(null)}},[L,l,c,f,p,T]);const V={placement:M};P!==null&&(V.TransitionProps=P);const X=BD(t),B=w.root??"div",J=g1({elementType:B,externalSlotProps:b.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:j},ownerState:t,className:X.root});return v.jsx(B,{...J,children:typeof s=="function"?s(V):s})}),XD=g.forwardRef(function(t,n){const{anchorEl:r,children:s,container:a,direction:l="ltr",disablePortal:c=!1,keepMounted:f=!1,modifiers:d,open:p,placement:m="bottom",popperOptions:b=ND,popperRef:w,style:P,transition:A=!1,slotProps:x={},slots:D={},...j}=t,[C,k]=g.useState(!0),O=()=>{k(!1)},T=()=>{k(!0)};if(!f&&!p&&(!A||C))return null;let M;if(a)M=a;else if(r){const H=tg(r);M=H&&ID(H)?ar(H).body:ar(null).body}const E=!p&&f&&(!A||C)?"none":void 0,L=A?{in:p,onEnter:O,onExited:T}:void 0;return v.jsx(F1,{disablePortal:c,container:M,children:v.jsx(VD,{anchorEl:r,direction:l,disablePortal:c,modifiers:d,ref:n,open:A?!C:p,placement:m,popperOptions:b,popperRef:w,slotProps:x,slots:D,...j,style:{position:"fixed",top:0,left:0,display:E,...P},TransitionProps:L,children:s})})}),FD=fe(XD,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),jp=g.forwardRef(function(t,n){const r=yu(),s=ot({props:t,name:"MuiPopper"}),{anchorEl:a,component:l,components:c,componentsProps:f,container:d,disablePortal:p,keepMounted:m,modifiers:b,open:w,placement:P,popperOptions:A,popperRef:x,transition:D,slots:j,slotProps:C,...k}=s,O=j?.root??c?.Root,T={anchorEl:a,container:d,disablePortal:p,keepMounted:m,modifiers:b,open:w,placement:P,popperOptions:A,popperRef:x,transition:D,...k};return v.jsx(FD,{as:l,direction:r?"rtl":"ltr",slots:{root:O},slotProps:C??f,...T,ref:n})});function WD(e){return Qe("MuiListSubheader",e)}Ke("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const JD=e=>{const{classes:t,color:n,disableGutters:r,inset:s,disableSticky:a}=e,l={root:["root",n!=="default"&&`color${pe(n)}`,!r&&"gutters",s&&"inset",!a&&"sticky"]};return _e(l,WD,t)},qD=fe("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${pe(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(rt(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),ng=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiListSubheader"}),{className:s,color:a="default",component:l="li",disableGutters:c=!1,disableSticky:f=!1,inset:d=!1,...p}=r,m={...r,color:a,component:l,disableGutters:c,disableSticky:f,inset:d},b=JD(m);return v.jsx(qD,{as:l,className:De(b.root,s),ref:n,ownerState:m,...p})});ng&&(ng.muiSkipListHighlight=!0);const UD=wt(v.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function YD(e){return Qe("MuiChip",e)}const Lt=Ke("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),GD=e=>{const{classes:t,disabled:n,size:r,color:s,iconColor:a,onDelete:l,clickable:c,variant:f}=e,d={root:["root",f,n&&"disabled",`size${pe(r)}`,`color${pe(s)}`,c&&"clickable",c&&`clickableColor${pe(s)}`,l&&"deletable",l&&`deletableColor${pe(s)}`,`${f}${pe(s)}`],label:["label",`label${pe(r)}`],avatar:["avatar",`avatar${pe(r)}`,`avatarColor${pe(s)}`],icon:["icon",`icon${pe(r)}`,`iconColor${pe(a)}`],deleteIcon:["deleteIcon",`deleteIcon${pe(r)}`,`deleteIconColor${pe(s)}`,`deleteIcon${pe(f)}Color${pe(s)}`]};return _e(d,YD,t)},ZD=fe("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:s,clickable:a,onDelete:l,size:c,variant:f}=n;return[{[`& .${Lt.avatar}`]:t.avatar},{[`& .${Lt.avatar}`]:t[`avatar${pe(c)}`]},{[`& .${Lt.avatar}`]:t[`avatarColor${pe(r)}`]},{[`& .${Lt.icon}`]:t.icon},{[`& .${Lt.icon}`]:t[`icon${pe(c)}`]},{[`& .${Lt.icon}`]:t[`iconColor${pe(s)}`]},{[`& .${Lt.deleteIcon}`]:t.deleteIcon},{[`& .${Lt.deleteIcon}`]:t[`deleteIcon${pe(c)}`]},{[`& .${Lt.deleteIcon}`]:t[`deleteIconColor${pe(r)}`]},{[`& .${Lt.deleteIcon}`]:t[`deleteIcon${pe(f)}Color${pe(r)}`]},t.root,t[`size${pe(c)}`],t[`color${pe(r)}`],a&&t.clickable,a&&r!=="default"&&t[`clickableColor${pe(r)})`],l&&t.deletable,l&&r!=="default"&&t[`deletableColor${pe(r)}`],t[f],t[`${f}${pe(r)}`]]}})(rt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Lt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Lt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Lt.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Lt.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Lt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Lt.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Lt.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:xt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:xt(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Lt.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Lt.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(vn(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${Lt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:xt(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${Lt.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Lt.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Lt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(vn(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${Lt.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Lt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(vn(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${Lt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Lt.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Lt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Lt.avatar}`]:{marginLeft:4},[`& .${Lt.avatarSmall}`]:{marginLeft:2},[`& .${Lt.icon}`]:{marginLeft:4},[`& .${Lt.iconSmall}`]:{marginLeft:2},[`& .${Lt.deleteIcon}`]:{marginRight:5},[`& .${Lt.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(vn()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:xt(e.palette[n].main,.7)}`,[`&.${Lt.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${Lt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:xt(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${Lt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:xt(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),QD=fe("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${pe(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function dx(e){return e.key==="Backspace"||e.key==="Delete"}const wu=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiChip"}),{avatar:s,className:a,clickable:l,color:c="default",component:f,deleteIcon:d,disabled:p=!1,icon:m,label:b,onClick:w,onDelete:P,onKeyDown:A,onKeyUp:x,size:D="medium",variant:j="filled",tabIndex:C,skipFocusWhenDisabled:k=!1,...O}=r,T=g.useRef(null),M=fn(T,n),E=U=>{U.stopPropagation(),P&&P(U)},L=U=>{U.currentTarget===U.target&&dx(U)&&U.preventDefault(),A&&A(U)},H=U=>{U.currentTarget===U.target&&P&&dx(U)&&P(U),x&&x(U)},V=l!==!1&&w?!0:l,X=V||P?_i:f||"div",B={...r,component:X,disabled:p,size:D,color:c,iconColor:g.isValidElement(m)&&m.props.color||c,onDelete:!!P,clickable:V,variant:j},J=GD(B),q=X===_i?{component:f||"div",focusVisibleClassName:J.focusVisible,...P&&{disableRipple:!0}}:{};let F=null;P&&(F=d&&g.isValidElement(d)?g.cloneElement(d,{className:De(d.props.className,J.deleteIcon),onClick:E}):v.jsx(UD,{className:De(J.deleteIcon),onClick:E}));let _=null;s&&g.isValidElement(s)&&(_=g.cloneElement(s,{className:De(J.avatar,s.props.className)}));let Y=null;return m&&g.isValidElement(m)&&(Y=g.cloneElement(m,{className:De(J.icon,m.props.className)})),v.jsxs(ZD,{as:X,className:De(J.root,a),disabled:V&&p?!0:void 0,onClick:w,onKeyDown:L,onKeyUp:H,ref:M,tabIndex:k&&p?-1:C,ownerState:B,...q,...O,children:[_||Y,v.jsx(QD,{className:De(J.label),ownerState:B,children:b}),F]})});function Qf(e){return parseInt(e,10)||0}const KD={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function _D(e){for(const t in e)return!1;return!0}function px(e){return _D(e)||e.outerHeightStyle===0&&!e.overflowing}const $D=g.forwardRef(function(t,n){const{onChange:r,maxRows:s,minRows:a=1,style:l,value:c,...f}=t,{current:d}=g.useRef(c!=null),p=g.useRef(null),m=fn(n,p),b=g.useRef(null),w=g.useRef(null),P=g.useCallback(()=>{const C=p.current,k=w.current;if(!C||!k)return;const T=To(C).getComputedStyle(C);if(T.width==="0px")return{outerHeightStyle:0,overflowing:!1};k.style.width=T.width,k.value=C.value||t.placeholder||"x",k.value.slice(-1)===` +`&&(k.value+=" ");const M=T.boxSizing,E=Qf(T.paddingBottom)+Qf(T.paddingTop),L=Qf(T.borderBottomWidth)+Qf(T.borderTopWidth),H=k.scrollHeight;k.value="x";const V=k.scrollHeight;let X=H;a&&(X=Math.max(Number(a)*V,X)),s&&(X=Math.min(Number(s)*V,X)),X=Math.max(X,V);const B=X+(M==="border-box"?E+L:0),J=Math.abs(X-H)<=1;return{outerHeightStyle:B,overflowing:J}},[s,a,t.placeholder]),A=ir(()=>{const C=p.current,k=P();if(!C||!k||px(k))return!1;const O=k.outerHeightStyle;return b.current!=null&&b.current!==O}),x=g.useCallback(()=>{const C=p.current,k=P();if(!C||!k||px(k))return;const O=k.outerHeightStyle;b.current!==O&&(b.current=O,C.style.height=`${O}px`),C.style.overflow=k.overflowing?"hidden":""},[P]),D=g.useRef(-1);kr(()=>{const C=ey(x),k=p?.current;if(!k)return;const O=To(k);O.addEventListener("resize",C);let T;return typeof ResizeObserver<"u"&&(T=new ResizeObserver(()=>{A()&&(T.unobserve(k),cancelAnimationFrame(D.current),x(),D.current=requestAnimationFrame(()=>{T.observe(k)}))}),T.observe(k)),()=>{C.clear(),cancelAnimationFrame(D.current),O.removeEventListener("resize",C),T&&T.disconnect()}},[P,x,A]),kr(()=>{x()});const j=C=>{d||x(),r&&r(C)};return v.jsxs(g.Fragment,{children:[v.jsx("textarea",{value:c,onChange:j,ref:m,rows:a,style:l,...f}),v.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:w,tabIndex:-1,style:{...KD.shadow,...l,paddingTop:0,paddingBottom:0}})]})});function $c(e){return typeof e=="string"}function yi({props:e,states:t,muiFormControl:n}){return t.reduce((r,s)=>(r[s]=e[s],n&&typeof e[s]>"u"&&(r[s]=n[s]),r),{})}const kp=g.createContext(void 0);function Vo(){return g.useContext(kp)}function hx(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Jd(e,t=!1){return e&&(hx(e.value)&&e.value!==""||t&&hx(e.defaultValue)&&e.defaultValue!=="")}function eO(e){return e.startAdornment}function tO(e){return Qe("MuiInputBase",e)}const Lr=Ke("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var vx;const Dp=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${pe(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Op=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},nO=e=>{const{classes:t,color:n,disabled:r,error:s,endAdornment:a,focused:l,formControl:c,fullWidth:f,hiddenLabel:d,multiline:p,readOnly:m,size:b,startAdornment:w,type:P}=e,A={root:["root",`color${pe(n)}`,r&&"disabled",s&&"error",f&&"fullWidth",l&&"focused",c&&"formControl",b&&b!=="medium"&&`size${pe(b)}`,p&&"multiline",w&&"adornedStart",a&&"adornedEnd",d&&"hiddenLabel",m&&"readOnly"],input:["input",r&&"disabled",P==="search"&&"inputTypeSearch",p&&"inputMultiline",b==="small"&&"inputSizeSmall",d&&"inputHiddenLabel",w&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return _e(A,tO,t)},zp=fe("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Dp})(rt(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Lr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Ep=fe("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Op})(rt(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},s=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Lr.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${Lr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),mx=sy({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Rp=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:a,autoFocus:l,className:c,color:f,components:d={},componentsProps:p={},defaultValue:m,disabled:b,disableInjectingGlobalStyles:w,endAdornment:P,error:A,fullWidth:x=!1,id:D,inputComponent:j="input",inputProps:C={},inputRef:k,margin:O,maxRows:T,minRows:M,multiline:E=!1,name:L,onBlur:H,onChange:V,onClick:X,onFocus:B,onKeyDown:J,onKeyUp:q,placeholder:F,readOnly:_,renderSuffix:Y,rows:U,size:z,slotProps:G={},slots:I={},startAdornment:Z,type:$="text",value:re,...se}=r,ge=C.value!=null?C.value:re,{current:ie}=g.useRef(ge!=null),Ae=g.useRef(),Oe=g.useCallback(Ce=>{},[]),Ee=fn(Ae,k,C.ref,Oe),[me,Ne]=g.useState(!1),ve=Vo(),Ge=yi({props:r,muiFormControl:ve,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Ge.focused=ve?ve.focused:me,g.useEffect(()=>{!ve&&b&&me&&(Ne(!1),H&&H())},[ve,b,me,H]);const Pt=ve&&ve.onFilled,Be=ve&&ve.onEmpty,pt=g.useCallback(Ce=>{Jd(Ce)?Pt&&Pt():Be&&Be()},[Pt,Be]);kr(()=>{ie&&pt({value:ge})},[ge,pt,ie]);const ut=Ce=>{B&&B(Ce),C.onFocus&&C.onFocus(Ce),ve&&ve.onFocus?ve.onFocus(Ce):Ne(!0)},ht=Ce=>{H&&H(Ce),C.onBlur&&C.onBlur(Ce),ve&&ve.onBlur?ve.onBlur(Ce):Ne(!1)},At=(Ce,...ft)=>{if(!ie){const St=Ce.target||Ae.current;if(St==null)throw new Error(ks(1));pt({value:St.value})}C.onChange&&C.onChange(Ce,...ft),V&&V(Ce,...ft)};g.useEffect(()=>{pt(Ae.current)},[]);const Fe=Ce=>{Ae.current&&Ce.currentTarget===Ce.target&&Ae.current.focus(),X&&X(Ce)};let Tt=j,N=C;E&&Tt==="input"&&(U?N={type:void 0,minRows:U,maxRows:U,...N}:N={type:void 0,maxRows:T,minRows:M,...N},Tt=$D);const te=Ce=>{pt(Ce.animationName==="mui-auto-fill-cancel"?Ae.current:{value:"x"})};g.useEffect(()=>{ve&&ve.setAdornedStart(!!Z)},[ve,Z]);const oe={...r,color:Ge.color||"primary",disabled:Ge.disabled,endAdornment:P,error:Ge.error,focused:Ge.focused,formControl:ve,fullWidth:x,hiddenLabel:Ge.hiddenLabel,multiline:E,size:Ge.size,startAdornment:Z,type:$},xe=nO(oe),we=I.root||d.Root||zp,be=G.root||p.root||{},Se=I.input||d.Input||Ep;return N={...N,...G.input??p.input},v.jsxs(g.Fragment,{children:[!w&&typeof mx=="function"&&(vx||(vx=v.jsx(mx,{}))),v.jsxs(we,{...be,ref:n,onClick:Fe,...se,...!$c(we)&&{ownerState:{...oe,...be.ownerState}},className:De(xe.root,be.className,c,_&&"MuiInputBase-readOnly"),children:[Z,v.jsx(kp.Provider,{value:null,children:v.jsx(Se,{"aria-invalid":Ge.error,"aria-describedby":s,autoComplete:a,autoFocus:l,defaultValue:m,disabled:Ge.disabled,id:D,onAnimationStart:te,name:L,placeholder:F,readOnly:_,required:Ge.required,rows:U,value:ge,onKeyDown:J,onKeyUp:q,type:$,...N,...!$c(Se)&&{as:Tt,ownerState:{...oe,...N.ownerState}},ref:Ee,className:De(xe.input,N.className,_&&"MuiInputBase-readOnly"),onBlur:ht,onChange:At,onFocus:ut})}),P,Y?Y({...Ge,startAdornment:Z}):null]})]})});function rO(e){return Qe("MuiInput",e)}const si={...Lr,...Ke("MuiInput",["root","underline","input"])};function oO(e){return Qe("MuiOutlinedInput",e)}const so={...Lr,...Ke("MuiOutlinedInput",["root","notchedOutline","input"])};function sO(e){return Qe("MuiFilledInput",e)}const Ir={...Lr,...Ke("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},W1=wt(v.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function iO(e){return Qe("MuiAutocomplete",e)}const Ot=Ke("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var gx,yx;const aO=e=>{const{classes:t,disablePortal:n,expanded:r,focused:s,fullWidth:a,hasClearIcon:l,hasPopupIcon:c,inputFocused:f,popupOpen:d,size:p}=e,m={root:["root",r&&"expanded",s&&"focused",a&&"fullWidth",l&&"hasClearIcon",c&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",f&&"inputFocused"],tag:["tag",`tagSize${pe(p)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",d&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return _e(m,iO,t)},lO=fe("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:s,hasPopupIcon:a,inputFocused:l,size:c}=n;return[{[`& .${Ot.tag}`]:t.tag},{[`& .${Ot.tag}`]:t[`tagSize${pe(c)}`]},{[`& .${Ot.inputRoot}`]:t.inputRoot},{[`& .${Ot.input}`]:t.input},{[`& .${Ot.input}`]:l&&t.inputFocused},t.root,r&&t.fullWidth,a&&t.hasPopupIcon,s&&t.hasClearIcon]}})({[`&.${Ot.focused} .${Ot.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Ot.clearIndicator}`]:{visibility:"visible"}},[`& .${Ot.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Ot.inputRoot}`]:{[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:30},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:56},[`& .${Ot.input}`]:{width:0,minWidth:30}},[`& .${si.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${si.root}.${Lr.sizeSmall}`]:{[`& .${si.input}`]:{padding:"2px 4px 3px 0"}},[`& .${so.root}`]:{padding:9,[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:39},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:65},[`& .${Ot.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Ot.endAdornment}`]:{right:9}},[`& .${so.root}.${Lr.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Ot.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Ir.root}`]:{paddingTop:19,paddingLeft:8,[`.${Ot.hasPopupIcon}&, .${Ot.hasClearIcon}&`]:{paddingRight:39},[`.${Ot.hasPopupIcon}.${Ot.hasClearIcon}&`]:{paddingRight:65},[`& .${Ir.input}`]:{padding:"7px 4px"},[`& .${Ot.endAdornment}`]:{right:9}},[`& .${Ir.root}.${Lr.sizeSmall}`]:{paddingBottom:1,[`& .${Ir.input}`]:{padding:"2.5px 4px"}},[`& .${Lr.hiddenLabel}`]:{paddingTop:8},[`& .${Ir.root}.${Lr.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Ot.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Ir.root}.${Lr.hiddenLabel}.${Lr.sizeSmall}`]:{[`& .${Ot.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Ot.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Ot.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Ot.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Ot.inputRoot}`]:{flexWrap:"wrap"}}}]}),cO=fe("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),uO=fe(Pr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),fO=fe(Pr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),dO=fe(jp,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ot.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(rt(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),pO=fe(Ur,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(rt(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),hO=fe("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(rt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),vO=fe("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(rt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),mO=fe("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(rt(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Ot.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Ot.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Ot.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ot.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Ot.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),gO=fe(ng,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(rt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),yO=fe("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Ot.option}`]:{paddingLeft:24}}),AO=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:a=!1,autoSelect:l=!1,blurOnSelect:c=!1,ChipProps:f,className:d,clearIcon:p=gx||(gx=v.jsx(E1,{fontSize:"small"})),clearOnBlur:m=!r.freeSolo,clearOnEscape:b=!1,clearText:w="Clear",closeText:P="Close",componentsProps:A,defaultValue:x=r.multiple?[]:null,disableClearable:D=!1,disableCloseOnSelect:j=!1,disabled:C=!1,disabledItemsFocusable:k=!1,disableListWrap:O=!1,disablePortal:T=!1,filterOptions:M,filterSelectedOptions:E=!1,forcePopupIcon:L="auto",freeSolo:H=!1,fullWidth:V=!1,getLimitTagsText:X=Bt=>`+${Bt}`,getOptionDisabled:B,getOptionKey:J,getOptionLabel:q,isOptionEqualToValue:F,groupBy:_,handleHomeEndKeys:Y=!r.freeSolo,id:U,includeInputInList:z=!1,inputValue:G,limitTags:I=-1,ListboxComponent:Z,ListboxProps:$,loading:re=!1,loadingText:se="Loading…",multiple:ge=!1,noOptionsText:ie="No options",onChange:Ae,onClose:Oe,onHighlightChange:Ee,onInputChange:me,onOpen:Ne,open:ve,openOnFocus:Ge=!1,openText:Pt="Open",options:Be,PaperComponent:pt,PopperComponent:ut,popupIcon:ht=yx||(yx=v.jsx(W1,{})),readOnly:At=!1,renderGroup:Fe,renderInput:Tt,renderOption:N,renderTags:te,selectOnFocus:oe=!r.freeSolo,size:xe="medium",slots:we={},slotProps:be={},value:Se,...Ce}=r,{getRootProps:ft,getInputProps:St,getInputLabelProps:Xe,getPopupIndicatorProps:K,getClearProps:Q,getTagProps:Pe,getListboxProps:ke,getOptionProps:Re,value:Te,dirty:Ue,expanded:Ie,id:st,popupOpen:dt,focused:It,focusedTag:Gt,anchorEl:Ye,setAnchorEl:Vt,inputValue:Dn,groupedOptions:gn}=jk({...r,componentName:"Autocomplete"}),Un=!D&&!C&&Ue&&!At,yn=(!H||L===!0)&&L!==!1,{onMouseDown:Or}=St(),{ref:mo,...Wo}=ke(),go=q||(Bt=>Bt.label??Bt),An={...r,disablePortal:T,expanded:Ie,focused:It,fullWidth:V,getOptionLabel:go,hasClearIcon:Un,hasPopupIcon:yn,inputFocused:Gt===-1,popupOpen:dt,size:xe},Le=aO(An),qe={slots:{paper:pt,popper:ut,...we},slotProps:{chip:f,listbox:$,...A,...be}},[mt,de]=ct("listbox",{elementType:mO,externalForwardedProps:qe,ownerState:An,className:Le.listbox,additionalProps:Wo,ref:mo}),[he,Je]=ct("paper",{elementType:Ur,externalForwardedProps:qe,ownerState:An,className:Le.paper}),[Ct,kt]=ct("popper",{elementType:jp,externalForwardedProps:qe,ownerState:An,className:Le.popper,additionalProps:{disablePortal:T,style:{width:Ye?Ye.clientWidth:null},role:"presentation",anchorEl:Ye,open:dt}});let Ft;if(ge&&Te.length>0){const Bt=Qr=>({className:Le.tag,disabled:C,...Pe(Qr)});te?Ft=te(Te,Bt,An):Ft=Te.map((Qr,yo)=>{const{key:qo,...Kr}=Bt({index:yo});return v.jsx(wu,{label:go(Qr),size:xe,...Kr,...qe.slotProps.chip},qo)})}if(I>-1&&Array.isArray(Ft)){const Bt=Ft.length-I;!It&&Bt>0&&(Ft=Ft.splice(0,I),Ft.push(v.jsx("span",{className:Le.tag,children:X(Bt)},Ft.length)))}const Ln=Fe||(Bt=>v.jsxs("li",{children:[v.jsx(gO,{className:Le.groupLabel,ownerState:An,component:"div",children:Bt.group}),v.jsx(yO,{className:Le.groupUl,ownerState:An,children:Bt.children})]},Bt.key)),en=N||((Bt,Qr)=>{const{key:yo,...qo}=Bt;return v.jsx("li",{...qo,children:go(Qr)},yo)}),bi=(Bt,Qr)=>{const yo=Re({option:Bt,index:Qr});return en({...yo,className:Le.option},Bt,{selected:yo["aria-selected"],index:Qr,inputValue:Dn},An)},fa=qe.slotProps.clearIndicator,jl=qe.slotProps.popupIndicator;return v.jsxs(g.Fragment,{children:[v.jsx(lO,{ref:n,className:De(Le.root,d),ownerState:An,...ft(Ce),children:Tt({id:st,disabled:C,fullWidth:!0,size:xe==="small"?"small":void 0,InputLabelProps:Xe(),InputProps:{ref:Vt,className:Le.inputRoot,startAdornment:Ft,onMouseDown:Bt=>{Bt.target===Bt.currentTarget&&Or(Bt)},...(Un||yn)&&{endAdornment:v.jsxs(cO,{className:Le.endAdornment,ownerState:An,children:[Un?v.jsx(uO,{...Q(),"aria-label":w,title:w,ownerState:An,...fa,className:De(Le.clearIndicator,fa?.className),children:p}):null,yn?v.jsx(fO,{...K(),disabled:C,"aria-label":dt?P:Pt,title:dt?P:Pt,ownerState:An,...jl,className:De(Le.popupIndicator,jl?.className),children:ht}):null]})}},inputProps:{className:Le.input,disabled:C,readOnly:At,...St()}})}),Ye?v.jsx(dO,{as:Ct,...kt,children:v.jsxs(pO,{as:he,...Je,children:[re&&gn.length===0?v.jsx(hO,{className:Le.loading,ownerState:An,children:se}):null,gn.length===0&&!H&&!re?v.jsx(vO,{className:Le.noOptions,ownerState:An,role:"presentation",onMouseDown:Bt=>{Bt.preventDefault()},children:ie}):null,gn.length>0?v.jsx(mt,{as:Z,...de,children:gn.map((Bt,Qr)=>_?Ln({key:Bt.key,group:Bt.group,children:Bt.options.map((yo,qo)=>bi(yo,Bt.index+qo))}):bi(Bt,Qr))}):null]})}):null]})}),bO={entering:{opacity:1},entered:{opacity:1}},rg=g.forwardRef(function(t,n){const r=Gr(),s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:l=!0,children:c,easing:f,in:d,onEnter:p,onEntered:m,onEntering:b,onExit:w,onExited:P,onExiting:A,style:x,timeout:D=s,TransitionComponent:j=No,...C}=t,k=g.useRef(null),O=fn(k,mi(c),n),T=J=>q=>{if(J){const F=k.current;q===void 0?J(F):J(F,q)}},M=T(b),E=T((J,q)=>{uy(J);const F=sl({style:x,timeout:D,easing:f},{mode:"enter"});J.style.webkitTransition=r.transitions.create("opacity",F),J.style.transition=r.transitions.create("opacity",F),p&&p(J,q)}),L=T(m),H=T(A),V=T(J=>{const q=sl({style:x,timeout:D,easing:f},{mode:"exit"});J.style.webkitTransition=r.transitions.create("opacity",q),J.style.transition=r.transitions.create("opacity",q),w&&w(J)}),X=T(P),B=J=>{a&&a(k.current,J)};return v.jsx(j,{appear:l,in:d,nodeRef:k,onEnter:E,onEntered:L,onEntering:M,onExit:V,onExited:X,onExiting:H,addEndListener:B,timeout:D,...C,children:(J,{ownerState:q,...F})=>g.cloneElement(c,{style:{opacity:0,visibility:J==="exited"&&!d?"hidden":void 0,...bO[J],...x,...c.props.style},ref:O,...F})})});function PO(e){return Qe("MuiBackdrop",e)}Ke("MuiBackdrop",["root","invisible"]);const wO=e=>{const{classes:t,invisible:n}=e;return _e({root:["root",n&&"invisible"]},PO,t)},xO=fe("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),J1=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiBackdrop"}),{children:s,className:a,component:l="div",invisible:c=!1,open:f,components:d={},componentsProps:p={},slotProps:m={},slots:b={},TransitionComponent:w,transitionDuration:P,...A}=r,x={...r,component:l,invisible:c},D=wO(x),j={transition:w,root:d.Root,...b},C={...p,...m},k={slots:j,slotProps:C},[O,T]=ct("root",{elementType:xO,externalForwardedProps:k,className:De(D.root,a),ownerState:x}),[M,E]=ct("transition",{elementType:rg,externalForwardedProps:k,ownerState:x});return v.jsx(M,{in:f,timeout:P,...A,...E,children:v.jsx(O,{"aria-hidden":!0,...T,classes:D,ref:n,children:s})})}),SO=Ke("MuiBox",["root"]),CO=Au(),vt=TH({themeId:lo,defaultTheme:CO,defaultClassName:SO.root,generateClassName:t1.generate});function HO(e){return Qe("MuiButton",e)}const Ri=Ke("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),q1=g.createContext({}),jO=g.createContext(void 0),kO=e=>{const{color:t,disableElevation:n,fullWidth:r,size:s,variant:a,loading:l,loadingPosition:c,classes:f}=e,d={root:["root",l&&"loading",a,`${a}${pe(t)}`,`size${pe(s)}`,`${a}Size${pe(s)}`,`color${pe(t)}`,n&&"disableElevation",r&&"fullWidth",l&&`loadingPosition${pe(c)}`],startIcon:["icon","startIcon",`iconSize${pe(s)}`],endIcon:["icon","endIcon",`iconSize${pe(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},p=_e(d,HO,f);return{...f,...p}},U1=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],DO=fe(_i,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${pe(n.color)}`],t[`size${pe(n.size)}`],t[`${n.variant}Size${pe(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(rt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Ri.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Ri.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Ri.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Ri.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(vn()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.5)`:xt(e.palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[r].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[r].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Ri.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ri.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Ri.loading}`]:{color:"transparent"}}}]}})),OO=fe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${pe(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...U1]})),zO=fe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${pe(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...U1]})),EO=fe("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),Ax=fe("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Nt=g.forwardRef(function(t,n){const r=g.useContext(q1),s=g.useContext(jO),a=rl(r,t),l=ot({props:a,name:"MuiButton"}),{children:c,color:f="primary",component:d="button",className:p,disabled:m=!1,disableElevation:b=!1,disableFocusRipple:w=!1,endIcon:P,focusVisibleClassName:A,fullWidth:x=!1,id:D,loading:j=null,loadingIndicator:C,loadingPosition:k="center",size:O="medium",startIcon:T,type:M,variant:E="text",...L}=l,H=uo(D),V=C??v.jsx(gl,{"aria-labelledby":H,color:"inherit",size:16}),X={...l,color:f,component:d,disabled:m,disableElevation:b,disableFocusRipple:w,fullWidth:x,loading:j,loadingIndicator:V,loadingPosition:k,size:O,type:M,variant:E},B=kO(X),J=(T||j&&k==="start")&&v.jsx(OO,{className:B.startIcon,ownerState:X,children:T||v.jsx(Ax,{className:B.loadingIconPlaceholder,ownerState:X})}),q=(P||j&&k==="end")&&v.jsx(zO,{className:B.endIcon,ownerState:X,children:P||v.jsx(Ax,{className:B.loadingIconPlaceholder,ownerState:X})}),F=s||"",_=typeof j=="boolean"?v.jsx("span",{className:B.loadingWrapper,style:{display:"contents"},children:j&&v.jsx(EO,{className:B.loadingIndicator,ownerState:X,children:V})}):null;return v.jsxs(DO,{ownerState:X,className:De(r.className,B.root,p,F),component:d,disabled:m||j,focusRipple:!w,focusVisibleClassName:De(B.focusVisible,A),ref:n,type:M,id:j?H:D,...L,classes:B,children:[J,k!=="end"&&_,c,k==="end"&&_,q]})});function RO(e){return Qe("MuiCard",e)}Ke("MuiCard",["root"]);const TO=e=>{const{classes:t}=e;return _e({root:["root"]},RO,t)},MO=fe(Ur,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),Y1=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiCard"}),{className:s,raised:a=!1,...l}=r,c={...r,raised:a},f=TO(c);return v.jsx(MO,{className:De(f.root,s),elevation:a?8:void 0,ref:n,ownerState:c,...l})});function LO(e){return Qe("MuiCardContent",e)}Ke("MuiCardContent",["root"]);const IO=e=>{const{classes:t}=e;return _e({root:["root"]},LO,t)},BO=fe("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),og=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiCardContent"}),{className:s,component:a="div",...l}=r,c={...r,component:a},f=IO(c);return v.jsx(BO,{as:a,className:De(f.root,s),ownerState:c,ref:n,...l})});function NO(e){return Qe("MuiCardMedia",e)}Ke("MuiCardMedia",["root","media","img"]);const VO=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return _e({root:["root",n&&"media",r&&"img"]},NO,t)},XO=fe("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:s}=n;return[t.root,r&&t.media,s&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),FO=["video","audio","picture","iframe","img"],WO=["picture","img"],JO=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiCardMedia"}),{children:s,className:a,component:l="div",image:c,src:f,style:d,...p}=r,m=FO.includes(l),b=!m&&c?{backgroundImage:`url("${c}")`,...d}:d,w={...r,component:l,isMediaComponent:m,isImageComponent:WO.includes(l)},P=VO(w);return v.jsx(XO,{className:De(P.root,a),as:l,role:!m&&c?"img":void 0,ref:n,style:b,ownerState:w,src:m?c||f:void 0,...p,children:s})});function qO(e){return Qe("PrivateSwitchBase",e)}Ke("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const UO=e=>{const{classes:t,checked:n,disabled:r,edge:s}=e,a={root:["root",n&&"checked",r&&"disabled",s&&`edge${pe(s)}`],input:["input"]};return _e(a,qO,t)},YO=fe(_i,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),GO=fe("input",{name:"MuiSwitchBase",shouldForwardProp:qn})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Ay=g.forwardRef(function(t,n){const{autoFocus:r,checked:s,checkedIcon:a,defaultChecked:l,disabled:c,disableFocusRipple:f=!1,edge:d=!1,icon:p,id:m,inputProps:b,inputRef:w,name:P,onBlur:A,onChange:x,onFocus:D,readOnly:j,required:C=!1,tabIndex:k,type:O,value:T,slots:M={},slotProps:E={},...L}=t,[H,V]=li({controlled:s,default:!!l,name:"SwitchBase",state:"checked"}),X=Vo(),B=re=>{D&&D(re),X&&X.onFocus&&X.onFocus(re)},J=re=>{A&&A(re),X&&X.onBlur&&X.onBlur(re)},q=re=>{if(re.nativeEvent.defaultPrevented)return;const se=re.target.checked;V(se),x&&x(re,se)};let F=c;X&&typeof F>"u"&&(F=X.disabled);const _=O==="checkbox"||O==="radio",Y={...t,checked:H,disabled:F,disableFocusRipple:f,edge:d},U=UO(Y),z={slots:M,slotProps:{input:b,...E}},[G,I]=ct("root",{ref:n,elementType:YO,className:U.root,shouldForwardComponentProp:!0,externalForwardedProps:{...z,component:"span",...L},getSlotProps:re=>({...re,onFocus:se=>{re.onFocus?.(se),B(se)},onBlur:se=>{re.onBlur?.(se),J(se)}}),ownerState:Y,additionalProps:{centerRipple:!0,focusRipple:!f,disabled:F,role:void 0,tabIndex:null}}),[Z,$]=ct("input",{ref:w,elementType:GO,className:U.input,externalForwardedProps:z,getSlotProps:re=>({onChange:se=>{re.onChange?.(se),q(se)}}),ownerState:Y,additionalProps:{autoFocus:r,checked:s,defaultChecked:l,disabled:F,id:_?m:void 0,name:P,readOnly:j,required:C,tabIndex:k,type:O,...O==="checkbox"&&T===void 0?{}:{value:T}}});return v.jsxs(G,{...I,children:[v.jsx(Z,{...$}),H?a:p]})}),ZO=wt(v.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),QO=wt(v.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),KO=wt(v.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function _O(e){return Qe("MuiCheckbox",e)}const cm=Ke("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),$O=e=>{const{classes:t,indeterminate:n,color:r,size:s}=e,a={root:["root",n&&"indeterminate",`color${pe(r)}`,`size${pe(s)}`]},l=_e(a,_O,t);return{...t,...l}},ez=fe(Ay,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${pe(n.size)}`],n.color!=="default"&&t[`color${pe(n.color)}`]]}})(rt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t},style:{[`&.${cm.checked}, &.${cm.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${cm.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),tz=v.jsx(QO,{}),nz=v.jsx(ZO,{}),rz=v.jsx(KO,{}),um=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiCheckbox"}),{checkedIcon:s=tz,color:a="primary",icon:l=nz,indeterminate:c=!1,indeterminateIcon:f=rz,inputProps:d,size:p="medium",disableRipple:m=!1,className:b,slots:w={},slotProps:P={},...A}=r,x=c?f:l,D=c?f:s,j={...r,disableRipple:m,color:a,indeterminate:c,size:p},C=$O(j),k=P.input??d,[O,T]=ct("root",{ref:n,elementType:ez,className:De(C.root,b),shouldForwardComponentProp:!0,externalForwardedProps:{slots:w,slotProps:P,...A},ownerState:j,additionalProps:{type:"checkbox",icon:g.cloneElement(x,{fontSize:x.props.fontSize??p}),checkedIcon:g.cloneElement(D,{fontSize:D.props.fontSize??p}),disableRipple:m,slots:w,slotProps:{input:iy(typeof k=="function"?k(j):k,{"data-indeterminate":c})}}});return v.jsx(O,{...T,classes:C})});function bx(e){return e.substring(2).toLowerCase()}function oz(e,t){return t.documentElement.clientWidth(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);const p=fn(mi(t),c),m=ir(P=>{const A=d.current;d.current=!1;const x=ar(c.current);if(!f.current||!c.current||"clientX"in P&&oz(P,x))return;if(l.current){l.current=!1;return}let D;P.composedPath?D=P.composedPath().includes(c.current):D=!x.documentElement.contains(P.target)||c.current.contains(P.target),!D&&(n||!A)&&s(P)}),b=P=>A=>{d.current=!0;const x=t.props[P];x&&x(A)},w={ref:p};return a!==!1&&(w[a]=b(a)),g.useEffect(()=>{if(a!==!1){const P=bx(a),A=ar(c.current),x=()=>{l.current=!0};return A.addEventListener(P,m),A.addEventListener("touchmove",x),()=>{A.removeEventListener(P,m),A.removeEventListener("touchmove",x)}}},[m,a]),r!==!1&&(w[r]=b(r)),g.useEffect(()=>{if(r!==!1){const P=bx(r),A=ar(c.current);return A.addEventListener(P,m),()=>{A.removeEventListener(P,m)}}},[m,r]),g.cloneElement(t,w)}const sg=typeof sy({})=="function",sz=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),iz=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Z1=(e,t=!1)=>{const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([a,l])=>{const c=e.getColorSchemeSelector(a);c.startsWith("@")?n[c]={":root":{colorScheme:l.palette?.mode}}:n[c.replace(/\s*&/,"")]={colorScheme:l.palette?.mode}});let r={html:sz(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...iz(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const s=e.components?.MuiCssBaseline?.styleOverrides;return s&&(r=[r,s]),r},Sd="mui-ecs",az=e=>{const t=Z1(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Sd})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,s])=>{const a=e.getColorSchemeSelector(r);a.startsWith("@")?n[a]={[`:root:not(:has(.${Sd}))`]:{colorScheme:s.palette?.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Sd}))`]:{colorScheme:s.palette?.mode}}}),t},lz=sy(sg?({theme:e,enableColorScheme:t})=>Z1(e,t):({theme:e})=>az(e));function cz(e){const t=ot({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return v.jsxs(g.Fragment,{children:[sg&&v.jsx(lz,{enableColorScheme:r}),!sg&&!r&&v.jsx("span",{className:Sd,style:{display:"none"}}),n]})}function uz(e){const t=ar(e);return t.body===e?To(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Vc(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Px(e){return parseInt(To(e).getComputedStyle(e).paddingRight,10)||0}function fz(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function wx(e,t,n,r,s){const a=[t,n,...r];[].forEach.call(e.children,l=>{const c=!a.includes(l),f=!fz(l);c&&f&&Vc(l,s)})}function fm(e,t){let n=-1;return e.some((r,s)=>t(r)?(n=s,!0):!1),n}function dz(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(uz(r)){const l=p1(To(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Px(r)+l}px`;const c=ar(r).querySelectorAll(".mui-fixed");[].forEach.call(c,f=>{n.push({value:f.style.paddingRight,property:"padding-right",el:f}),f.style.paddingRight=`${Px(f)+l}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=ar(r).body;else{const l=r.parentElement,c=To(r);a=l?.nodeName==="HTML"&&c.getComputedStyle(l).overflowY==="scroll"?l:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:a,el:l,property:c})=>{a?l.style.setProperty(c,a):l.style.removeProperty(c)})}}function pz(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class hz{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Vc(t.modalRef,!1);const s=pz(n);wx(n,t.mount,t.modalRef,s,!0);const a=fm(this.containers,l=>l.container===n);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:s}),r)}mount(t,n){const r=fm(this.containers,a=>a.modals.includes(t)),s=this.containers[r];s.restore||(s.restore=dz(s,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const s=fm(this.containers,l=>l.modals.includes(t)),a=this.containers[s];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&Vc(t.modalRef,n),wx(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(s,1);else{const l=a.modals[a.modals.length-1];l.modalRef&&Vc(l.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const vz=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function mz(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function gz(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function yz(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||gz(e))}function Az(e){const t=[],n=[];return Array.from(e.querySelectorAll(vz)).forEach((r,s)=>{const a=mz(r);a===-1||!yz(r)||(a===0?t.push(r):n.push({documentOrder:s,tabIndex:a,node:r}))}),n.sort((r,s)=>r.tabIndex===s.tabIndex?r.documentOrder-s.documentOrder:r.tabIndex-s.tabIndex).map(r=>r.node).concat(t)}function bz(){return!0}function Pz(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:s=!1,getTabbable:a=Az,isEnabled:l=bz,open:c}=e,f=g.useRef(!1),d=g.useRef(null),p=g.useRef(null),m=g.useRef(null),b=g.useRef(null),w=g.useRef(!1),P=g.useRef(null),A=fn(mi(t),P),x=g.useRef(null);g.useEffect(()=>{!c||!P.current||(w.current=!n)},[n,c]),g.useEffect(()=>{if(!c||!P.current)return;const C=ar(P.current);return P.current.contains(C.activeElement)||(P.current.hasAttribute("tabIndex")||P.current.setAttribute("tabIndex","-1"),w.current&&P.current.focus()),()=>{s||(m.current&&m.current.focus&&(f.current=!0,m.current.focus()),m.current=null)}},[c]),g.useEffect(()=>{if(!c||!P.current)return;const C=ar(P.current),k=M=>{x.current=M,!(r||!l()||M.key!=="Tab")&&C.activeElement===P.current&&M.shiftKey&&(f.current=!0,p.current&&p.current.focus())},O=()=>{const M=P.current;if(M===null)return;if(!C.hasFocus()||!l()||f.current){f.current=!1;return}if(M.contains(C.activeElement)||r&&C.activeElement!==d.current&&C.activeElement!==p.current)return;if(C.activeElement!==b.current)b.current=null;else if(b.current!==null)return;if(!w.current)return;let E=[];if((C.activeElement===d.current||C.activeElement===p.current)&&(E=a(P.current)),E.length>0){const L=!!(x.current?.shiftKey&&x.current?.key==="Tab"),H=E[0],V=E[E.length-1];typeof H!="string"&&typeof V!="string"&&(L?V.focus():H.focus())}else M.focus()};C.addEventListener("focusin",O),C.addEventListener("keydown",k,!0);const T=setInterval(()=>{C.activeElement&&C.activeElement.tagName==="BODY"&&O()},50);return()=>{clearInterval(T),C.removeEventListener("focusin",O),C.removeEventListener("keydown",k,!0)}},[n,r,s,l,c,a]);const D=C=>{m.current===null&&(m.current=C.relatedTarget),w.current=!0,b.current=C.target;const k=t.props.onFocus;k&&k(C)},j=C=>{m.current===null&&(m.current=C.relatedTarget),w.current=!0};return v.jsxs(g.Fragment,{children:[v.jsx("div",{tabIndex:c?0:-1,onFocus:j,ref:d,"data-testid":"sentinelStart"}),g.cloneElement(t,{ref:A,onFocus:D}),v.jsx("div",{tabIndex:c?0:-1,onFocus:j,ref:p,"data-testid":"sentinelEnd"})]})}function wz(e){return typeof e=="function"?e():e}function xz(e){return e?e.props.hasOwnProperty("in"):!1}const xx=()=>{},Kf=new hz;function Sz(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:s=!1,onTransitionEnter:a,onTransitionExited:l,children:c,onClose:f,open:d,rootRef:p}=e,m=g.useRef({}),b=g.useRef(null),w=g.useRef(null),P=fn(w,p),[A,x]=g.useState(!d),D=xz(c);let j=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(j=!1);const C=()=>ar(b.current),k=()=>(m.current.modalRef=w.current,m.current.mount=b.current,m.current),O=()=>{Kf.mount(k(),{disableScrollLock:r}),w.current&&(w.current.scrollTop=0)},T=ir(()=>{const q=wz(t)||C().body;Kf.add(k(),q),w.current&&O()}),M=()=>Kf.isTopModal(k()),E=ir(q=>{b.current=q,q&&(d&&M()?O():w.current&&Vc(w.current,j))}),L=g.useCallback(()=>{Kf.remove(k(),j)},[j]);g.useEffect(()=>()=>{L()},[L]),g.useEffect(()=>{d?T():(!D||!s)&&L()},[d,L,D,s,T]);const H=q=>F=>{q.onKeyDown?.(F),!(F.key!=="Escape"||F.which===229||!M())&&(n||(F.stopPropagation(),f&&f(F,"escapeKeyDown")))},V=q=>F=>{q.onClick?.(F),F.target===F.currentTarget&&f&&f(F,"backdropClick")};return{getRootProps:(q={})=>{const F=Nd(e);delete F.onTransitionEnter,delete F.onTransitionExited;const _={...F,...q};return{role:"presentation",..._,onKeyDown:H(_),ref:P}},getBackdropProps:(q={})=>{const F=q;return{"aria-hidden":!0,...F,onClick:V(F),open:d}},getTransitionProps:()=>{const q=()=>{x(!1),a&&a()},F=()=>{x(!0),l&&l(),s&&L()};return{onEnter:Jm(q,c?.props.onEnter??xx),onExited:Jm(F,c?.props.onExited??xx)}},rootRef:P,portalRef:E,isTopModal:M,exited:A,hasTransition:D}}function Cz(e){return Qe("MuiModal",e)}Ke("MuiModal",["root","hidden","backdrop"]);const Hz=e=>{const{open:t,exited:n,classes:r}=e;return _e({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Cz,r)},jz=fe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(rt(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),kz=fe(J1,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),by=g.forwardRef(function(t,n){const r=ot({name:"MuiModal",props:t}),{BackdropComponent:s=kz,BackdropProps:a,classes:l,className:c,closeAfterTransition:f=!1,children:d,container:p,component:m,components:b={},componentsProps:w={},disableAutoFocus:P=!1,disableEnforceFocus:A=!1,disableEscapeKeyDown:x=!1,disablePortal:D=!1,disableRestoreFocus:j=!1,disableScrollLock:C=!1,hideBackdrop:k=!1,keepMounted:O=!1,onBackdropClick:T,onClose:M,onTransitionEnter:E,onTransitionExited:L,open:H,slotProps:V={},slots:X={},theme:B,...J}=r,q={...r,closeAfterTransition:f,disableAutoFocus:P,disableEnforceFocus:A,disableEscapeKeyDown:x,disablePortal:D,disableRestoreFocus:j,disableScrollLock:C,hideBackdrop:k,keepMounted:O},{getRootProps:F,getBackdropProps:_,getTransitionProps:Y,portalRef:U,isTopModal:z,exited:G,hasTransition:I}=Sz({...q,rootRef:n}),Z={...q,exited:G},$=Hz(Z),re={};if(d.props.tabIndex===void 0&&(re.tabIndex="-1"),I){const{onEnter:Ee,onExited:me}=Y();re.onEnter=Ee,re.onExited=me}const se={slots:{root:b.Root,backdrop:b.Backdrop,...X},slotProps:{...w,...V}},[ge,ie]=ct("root",{ref:n,elementType:jz,externalForwardedProps:{...se,...J,component:m},getSlotProps:F,ownerState:Z,className:De(c,$?.root,!Z.open&&Z.exited&&$?.hidden)}),[Ae,Oe]=ct("backdrop",{ref:a?.ref,elementType:s,externalForwardedProps:se,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:Ee=>_({...Ee,onClick:me=>{T&&T(me),Ee?.onClick&&Ee.onClick(me)}}),className:De(a?.className,$?.backdrop),ownerState:Z});return!O&&!H&&(!I||G)?null:v.jsx(F1,{ref:U,container:p,disablePortal:D,children:v.jsxs(ge,{...ie,children:[!k&&s?v.jsx(Ae,{...Oe}):null,v.jsx(Pz,{disableEnforceFocus:A,disableAutoFocus:P,disableRestoreFocus:j,isEnabled:z,open:H,children:g.cloneElement(d,re)})]})})});function Dz(e){return Qe("MuiDialog",e)}const dm=Ke("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Q1=g.createContext({}),Oz=fe(J1,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),zz=e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:s,fullScreen:a}=e,l={root:["root"],container:["container",`scroll${pe(n)}`],paper:["paper",`paperScroll${pe(n)}`,`paperWidth${pe(String(r))}`,s&&"paperFullWidth",a&&"paperFullScreen"]};return _e(l,Dz,t)},Ez=fe(by,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),Rz=fe("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${pe(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),Tz=fe(Ur,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${pe(n.scroll)}`],t[`paperWidth${pe(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(rt(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${dm.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${dm.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${dm.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),Qa=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiDialog"}),s=Gr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":c,"aria-modal":f=!0,BackdropComponent:d,BackdropProps:p,children:m,className:b,disableEscapeKeyDown:w=!1,fullScreen:P=!1,fullWidth:A=!1,maxWidth:x="sm",onBackdropClick:D,onClick:j,onClose:C,open:k,PaperComponent:O=Ur,PaperProps:T={},scroll:M="paper",slots:E={},slotProps:L={},TransitionComponent:H=rg,transitionDuration:V=a,TransitionProps:X,...B}=r,J={...r,disableEscapeKeyDown:w,fullScreen:P,fullWidth:A,maxWidth:x,scroll:M},q=zz(J),F=g.useRef(),_=ve=>{F.current=ve.target===ve.currentTarget},Y=ve=>{j&&j(ve),F.current&&(F.current=null,D&&D(ve),C&&C(ve,"backdropClick"))},U=uo(c),z=g.useMemo(()=>({titleId:U}),[U]),G={transition:H,...E},I={transition:X,paper:T,backdrop:p,...L},Z={slots:G,slotProps:I},[$,re]=ct("root",{elementType:Ez,shouldForwardComponentProp:!0,externalForwardedProps:Z,ownerState:J,className:De(q.root,b),ref:n}),[se,ge]=ct("backdrop",{elementType:Oz,shouldForwardComponentProp:!0,externalForwardedProps:Z,ownerState:J}),[ie,Ae]=ct("paper",{elementType:Tz,shouldForwardComponentProp:!0,externalForwardedProps:Z,ownerState:J,className:De(q.paper,T.className)}),[Oe,Ee]=ct("container",{elementType:Rz,externalForwardedProps:Z,ownerState:J,className:De(q.container)}),[me,Ne]=ct("transition",{elementType:rg,externalForwardedProps:Z,ownerState:J,additionalProps:{appear:!0,in:k,timeout:V,role:"presentation"}});return v.jsx($,{closeAfterTransition:!0,slots:{backdrop:se},slotProps:{backdrop:{transitionDuration:V,as:d,...ge}},disableEscapeKeyDown:w,onClose:C,open:k,onClick:Y,...re,...B,children:v.jsx(me,{...Ne,children:v.jsx(Oe,{onMouseDown:_,...Ee,children:v.jsx(ie,{as:O,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":U,"aria-modal":f,...Ae,children:v.jsx(Q1.Provider,{value:z,children:m})})})})})});function Mz(e){return Qe("MuiDialogActions",e)}Ke("MuiDialogActions",["root","spacing"]);const Lz=e=>{const{classes:t,disableSpacing:n}=e;return _e({root:["root",!n&&"spacing"]},Mz,t)},Iz=fe("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),Bz=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiDialogActions"}),{className:s,disableSpacing:a=!1,...l}=r,c={...r,disableSpacing:a},f=Lz(c);return v.jsx(Iz,{className:De(f.root,s),ownerState:c,ref:n,...l})});function Nz(e){return Qe("MuiDialogContent",e)}Ke("MuiDialogContent",["root","dividers"]);function Vz(e){return Qe("MuiDialogTitle",e)}const Xz=Ke("MuiDialogTitle",["root"]),Fz=e=>{const{classes:t,dividers:n}=e;return _e({root:["root",n&&"dividers"]},Nz,t)},Wz=fe("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(rt(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${Xz.root} + &`]:{paddingTop:0}}}]}))),Oc=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiDialogContent"}),{className:s,dividers:a=!1,...l}=r,c={...r,dividers:a},f=Fz(c);return v.jsx(Wz,{className:De(f.root,s),ownerState:c,ref:n,...l})}),Jz=e=>{const{classes:t}=e;return _e({root:["root"]},Vz,t)},qz=fe(jt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),zc=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiDialogTitle"}),{className:s,id:a,...l}=r,c=r,f=Jz(c),{titleId:d=a}=g.useContext(Q1);return v.jsx(qz,{component:"h2",className:De(f.root,s),ownerState:c,ref:n,variant:"h6",id:a??d,...l})});function Uz(e){return Qe("MuiDivider",e)}const Sx=Ke("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Yz=e=>{const{absolute:t,children:n,classes:r,flexItem:s,light:a,orientation:l,textAlign:c,variant:f}=e;return _e({root:["root",t&&"absolute",f,a&&"light",l==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&l==="vertical"&&"withChildrenVertical",c==="right"&&l!=="vertical"&&"textAlignRight",c==="left"&&l!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",l==="vertical"&&"wrapperVertical"]},Uz,r)},Gz=fe("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(rt(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:xt(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),Zz=fe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(rt(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),ci=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiDivider"}),{absolute:s=!1,children:a,className:l,orientation:c="horizontal",component:f=a||c==="vertical"?"div":"hr",flexItem:d=!1,light:p=!1,role:m=f!=="hr"?"separator":void 0,textAlign:b="center",variant:w="fullWidth",...P}=r,A={...r,absolute:s,component:f,flexItem:d,light:p,orientation:c,role:m,textAlign:b,variant:w},x=Yz(A);return v.jsx(Gz,{as:f,className:De(x.root,l),role:m,ref:n,ownerState:A,"aria-orientation":m==="separator"&&(f!=="hr"||c==="vertical")?c:void 0,...P,children:a?v.jsx(Zz,{className:x.wrapper,ownerState:A,children:a}):null})});ci&&(ci.muiSkipListHighlight=!0);function Qz(e,t,n){const r=t.getBoundingClientRect(),s=n&&n.getBoundingClientRect(),a=To(t);let l;if(t.fakeTransform)l=t.fakeTransform;else{const d=a.getComputedStyle(t);l=d.getPropertyValue("-webkit-transform")||d.getPropertyValue("transform")}let c=0,f=0;if(l&&l!=="none"&&typeof l=="string"){const d=l.split("(")[1].split(")")[0].split(",");c=parseInt(d[4],10),f=parseInt(d[5],10)}return e==="left"?s?`translateX(${s.right+c-r.left}px)`:`translateX(${a.innerWidth+c-r.left}px)`:e==="right"?s?`translateX(-${r.right-s.left-c}px)`:`translateX(-${r.left+r.width-c}px)`:e==="up"?s?`translateY(${s.bottom+f-r.top}px)`:`translateY(${a.innerHeight+f-r.top}px)`:s?`translateY(-${r.top-s.top+r.height-f}px)`:`translateY(-${r.top+r.height-f}px)`}function Kz(e){return typeof e=="function"?e():e}function _f(e,t,n){const r=Kz(n),s=Qz(e,t,r);s&&(t.style.webkitTransform=s,t.style.transform=s)}const _z=g.forwardRef(function(t,n){const r=Gr(),s={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:l,appear:c=!0,children:f,container:d,direction:p="down",easing:m=s,in:b,onEnter:w,onEntered:P,onEntering:A,onExit:x,onExited:D,onExiting:j,style:C,timeout:k=a,TransitionComponent:O=No,...T}=t,M=g.useRef(null),E=fn(mi(f),M,n),L=Y=>U=>{Y&&(U===void 0?Y(M.current):Y(M.current,U))},H=L((Y,U)=>{_f(p,Y,d),uy(Y),w&&w(Y,U)}),V=L((Y,U)=>{const z=sl({timeout:k,style:C,easing:m},{mode:"enter"});Y.style.webkitTransition=r.transitions.create("-webkit-transform",{...z}),Y.style.transition=r.transitions.create("transform",{...z}),Y.style.webkitTransform="none",Y.style.transform="none",A&&A(Y,U)}),X=L(P),B=L(j),J=L(Y=>{const U=sl({timeout:k,style:C,easing:m},{mode:"exit"});Y.style.webkitTransition=r.transitions.create("-webkit-transform",U),Y.style.transition=r.transitions.create("transform",U),_f(p,Y,d),x&&x(Y)}),q=L(Y=>{Y.style.webkitTransition="",Y.style.transition="",D&&D(Y)}),F=Y=>{l&&l(M.current,Y)},_=g.useCallback(()=>{M.current&&_f(p,M.current,d)},[p,d]);return g.useEffect(()=>{if(b||p==="down"||p==="right")return;const Y=ey(()=>{M.current&&_f(p,M.current,d)}),U=To(M.current);return U.addEventListener("resize",Y),()=>{Y.clear(),U.removeEventListener("resize",Y)}},[p,b,d]),g.useEffect(()=>{b||_()},[b,_]),v.jsx(O,{nodeRef:M,onEnter:H,onEntered:X,onEntering:V,onExit:J,onExited:q,onExiting:B,addEndListener:F,appear:c,in:b,timeout:k,...T,children:(Y,{ownerState:U,...z})=>g.cloneElement(f,{ref:E,style:{visibility:Y==="exited"&&!b?"hidden":void 0,...C,...f.props.style},...z})})});function $z(e){return Qe("MuiDrawer",e)}Ke("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const K1=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},eE=e=>{const{classes:t,anchor:n,variant:r}=e,s={root:["root",`anchor${pe(n)}`],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${pe(n)}`,r!=="temporary"&&`paperAnchorDocked${pe(n)}`]};return _e(s,$z,t)},tE=fe(by,{name:"MuiDrawer",slot:"Root",overridesResolver:K1})(rt(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),nE=fe("div",{shouldForwardProp:qn,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:K1})({flex:"0 0 auto"}),rE=fe(Ur,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${pe(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${pe(n.anchor)}`]]}})(rt(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:t})=>t.anchor==="left"&&t.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="top"&&t.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="right"&&t.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="bottom"&&t.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),_1={left:"right",right:"left",top:"down",bottom:"up"};function oE(e){return["left","right"].includes(e)}function sE({direction:e},t){return e==="rtl"&&oE(t)?_1[t]:t}const iE=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiDrawer"}),s=Gr(),a=yu(),l={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:c="left",BackdropProps:f,children:d,className:p,elevation:m=16,hideBackdrop:b=!1,ModalProps:{BackdropProps:w,...P}={},onClose:A,open:x=!1,PaperProps:D={},SlideProps:j,TransitionComponent:C,transitionDuration:k=l,variant:O="temporary",slots:T={},slotProps:M={},...E}=r,L=g.useRef(!1);g.useEffect(()=>{L.current=!0},[]);const H=sE({direction:a?"rtl":"ltr"},c),X={...r,anchor:c,elevation:m,open:x,variant:O,...E},B=eE(X),J={slots:{transition:C,...T},slotProps:{paper:D,transition:j,...M,backdrop:iy(M.backdrop||{...f,...w},{transitionDuration:k})}},[q,F]=ct("root",{ref:n,elementType:tE,className:De(B.root,B.modal,p),shouldForwardComponentProp:!0,ownerState:X,externalForwardedProps:{...J,...E,...P},additionalProps:{open:x,onClose:A,hideBackdrop:b,slots:{backdrop:J.slots.backdrop},slotProps:{backdrop:J.slotProps.backdrop}}}),[_,Y]=ct("paper",{elementType:rE,shouldForwardComponentProp:!0,className:De(B.paper,D.className),ownerState:X,externalForwardedProps:J,additionalProps:{elevation:O==="temporary"?m:0,square:!0}}),[U,z]=ct("docked",{elementType:nE,ref:n,className:De(B.root,B.docked,p),ownerState:X,externalForwardedProps:J,additionalProps:E}),[G,I]=ct("transition",{elementType:_z,ownerState:X,externalForwardedProps:J,additionalProps:{in:x,direction:_1[H],timeout:k,appear:L.current}}),Z=v.jsx(_,{...Y,children:d});if(O==="permanent")return v.jsx(U,{...z,children:Z});const $=v.jsx(G,{...I,children:Z});return O==="persistent"?v.jsx(U,{...z,children:$}):v.jsx(q,{...F,children:$})}),aE=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:s,size:a,hiddenLabel:l,multiline:c}=e,f={root:["root",!n&&"underline",r&&"adornedStart",s&&"adornedEnd",a==="small"&&`size${pe(a)}`,l&&"hiddenLabel",c&&"multiline"],input:["input"]},d=_e(f,sO,t);return{...t,...d}},lE=fe(zp,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Dp(e,t),!n.disableUnderline&&t.underline]}})(rt(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Ir.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Ir.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:l})=>!l.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Ir.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ir.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Ir.disabled}, .${Ir.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Ir.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(vn()).map(([l])=>({props:{disableUnderline:!1,color:l},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[l]?.main}`}}})),{props:({ownerState:l})=>l.startAdornment,style:{paddingLeft:12}},{props:({ownerState:l})=>l.endAdornment,style:{paddingRight:12}},{props:({ownerState:l})=>l.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:l,size:c})=>l.multiline&&c==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel&&l.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),cE=fe(Ep,{name:"MuiFilledInput",slot:"Input",overridesResolver:Op})(rt(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Py=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiFilledInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:c=!1,hiddenLabel:f,inputComponent:d="input",multiline:p=!1,slotProps:m,slots:b={},type:w="text",...P}=r,A={...r,disableUnderline:s,fullWidth:c,inputComponent:d,multiline:p,type:w},x=aE(r),D={root:{ownerState:A},input:{ownerState:A}},j=m??l?Jn(D,m??l):D,C=b.root??a.Root??lE,k=b.input??a.Input??cE;return v.jsx(Rp,{slots:{root:C,input:k},slotProps:j,fullWidth:c,inputComponent:d,multiline:p,ref:n,type:w,...P,classes:x})});Py.muiName="Input";function uE(e){return Qe("MuiFormControl",e)}Ke("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const fE=e=>{const{classes:t,margin:n,fullWidth:r}=e,s={root:["root",n!=="none"&&`margin${pe(n)}`,r&&"fullWidth"]};return _e(s,uE,t)},dE=fe("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${pe(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),ur=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiFormControl"}),{children:s,className:a,color:l="primary",component:c="div",disabled:f=!1,error:d=!1,focused:p,fullWidth:m=!1,hiddenLabel:b=!1,margin:w="none",required:P=!1,size:A="medium",variant:x="outlined",...D}=r,j={...r,color:l,component:c,disabled:f,error:d,fullWidth:m,hiddenLabel:b,margin:w,required:P,size:A,variant:x},C=fE(j),[k,O]=g.useState(()=>{let q=!1;return s&&g.Children.forEach(s,F=>{if(!wd(F,["Input","Select"]))return;const _=wd(F,["Select"])?F.props.input:F;_&&eO(_.props)&&(q=!0)}),q}),[T,M]=g.useState(()=>{let q=!1;return s&&g.Children.forEach(s,F=>{wd(F,["Input","Select"])&&(Jd(F.props,!0)||Jd(F.props.inputProps,!0))&&(q=!0)}),q}),[E,L]=g.useState(!1);f&&E&&L(!1);const H=p!==void 0&&!f?p:E;let V;g.useRef(!1);const X=g.useCallback(()=>{M(!0)},[]),B=g.useCallback(()=>{M(!1)},[]),J=g.useMemo(()=>({adornedStart:k,setAdornedStart:O,color:l,disabled:f,error:d,filled:T,focused:H,fullWidth:m,hiddenLabel:b,size:A,onBlur:()=>{L(!1)},onFocus:()=>{L(!0)},onEmpty:B,onFilled:X,registerEffect:V,required:P,variant:x}),[k,l,f,d,T,H,m,b,V,B,X,P,A,x]);return v.jsx(kp.Provider,{value:J,children:v.jsx(dE,{as:c,ownerState:j,className:De(C.root,a),ref:n,...D,children:s})})});function pE(e){return Qe("MuiFormControlLabel",e)}const Ec=Ke("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),hE=e=>{const{classes:t,disabled:n,labelPlacement:r,error:s,required:a}=e,l={root:["root",n&&"disabled",`labelPlacement${pe(r)}`,s&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",s&&"error"]};return _e(l,pE,t)},vE=fe("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ec.label}`]:t.label},t.root,t[`labelPlacement${pe(n.labelPlacement)}`]]}})(rt(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Ec.disabled}`]:{cursor:"default"},[`& .${Ec.label}`]:{[`&.${Ec.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),mE=fe("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(rt(({theme:e})=>({[`&.${Ec.error}`]:{color:(e.vars||e).palette.error.main}}))),ts=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiFormControlLabel"}),{checked:s,className:a,componentsProps:l={},control:c,disabled:f,disableTypography:d,inputRef:p,label:m,labelPlacement:b="end",name:w,onChange:P,required:A,slots:x={},slotProps:D={},value:j,...C}=r,k=Vo(),O=f??c.props.disabled??k?.disabled,T=A??c.props.required,M={disabled:O,required:T};["checked","name","onChange","value","inputRef"].forEach(q=>{typeof c.props[q]>"u"&&typeof r[q]<"u"&&(M[q]=r[q])});const E=yi({props:r,muiFormControl:k,states:["error"]}),L={...r,disabled:O,labelPlacement:b,required:T,error:E.error},H=hE(L),V={slots:x,slotProps:{...l,...D}},[X,B]=ct("typography",{elementType:jt,externalForwardedProps:V,ownerState:L});let J=m;return J!=null&&J.type!==jt&&!d&&(J=v.jsx(X,{component:"span",...B,className:De(H.label,B?.className),children:J})),v.jsxs(vE,{className:De(H.root,a),ownerState:L,ref:n,...C,children:[g.cloneElement(c,M),T?v.jsxs("div",{children:[J,v.jsxs(mE,{ownerState:L,"aria-hidden":!0,className:H.asterisk,children:[" ","*"]})]}):J]})});function gE(e){return Qe("MuiFormGroup",e)}Ke("MuiFormGroup",["root","row","error"]);const yE=e=>{const{classes:t,row:n,error:r}=e;return _e({root:["root",n&&"row",r&&"error"]},gE,t)},AE=fe("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),bE=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiFormGroup"}),{className:s,row:a=!1,...l}=r,c=Vo(),f=yi({props:r,muiFormControl:c,states:["error"]}),d={...r,row:a,error:f.error},p=yE(d);return v.jsx(AE,{className:De(p.root,s),ownerState:d,ref:n,...l})});function PE(e){return Qe("MuiFormHelperText",e)}const Cx=Ke("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Hx;const wE=e=>{const{classes:t,contained:n,size:r,disabled:s,error:a,filled:l,focused:c,required:f}=e,d={root:["root",s&&"disabled",a&&"error",r&&`size${pe(r)}`,n&&"contained",c&&"focused",l&&"filled",f&&"required"]};return _e(d,PE,t)},xE=fe("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${pe(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(rt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Cx.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Cx.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),Ua=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiFormHelperText"}),{children:s,className:a,component:l="p",disabled:c,error:f,filled:d,focused:p,margin:m,required:b,variant:w,...P}=r,A=Vo(),x=yi({props:r,muiFormControl:A,states:["variant","size","disabled","error","filled","focused","required"]}),D={...r,component:l,contained:x.variant==="filled"||x.variant==="outlined",variant:x.variant,size:x.size,disabled:x.disabled,error:x.error,filled:x.filled,focused:x.focused,required:x.required};delete D.ownerState;const j=wE(D);return v.jsx(xE,{as:l,className:De(j.root,a),ref:n,...P,ownerState:D,children:s===" "?Hx||(Hx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):s})});function SE(e){return Qe("MuiFormLabel",e)}const Xc=Ke("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),CE=e=>{const{classes:t,color:n,focused:r,disabled:s,error:a,filled:l,required:c}=e,f={root:["root",`color${pe(n)}`,s&&"disabled",a&&"error",l&&"filled",r&&"focused",c&&"required"],asterisk:["asterisk",a&&"error"]};return _e(f,SE,t)},HE=fe("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color==="secondary"&&t.colorSecondary,n.filled&&t.filled]}})(rt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t},style:{[`&.${Xc.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Xc.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Xc.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),jE=fe("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(rt(({theme:e})=>({[`&.${Xc.error}`]:{color:(e.vars||e).palette.error.main}}))),Ya=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiFormLabel"}),{children:s,className:a,color:l,component:c="label",disabled:f,error:d,filled:p,focused:m,required:b,...w}=r,P=Vo(),A=yi({props:r,muiFormControl:P,states:["color","required","focused","disabled","error","filled"]}),x={...r,color:A.color||"primary",component:c,disabled:A.disabled,error:A.error,filled:A.filled,focused:A.focused,required:A.required},D=CE(x);return v.jsxs(HE,{as:c,ownerState:x,className:De(D.root,a),ref:n,...w,children:[s,A.required&&v.jsxs(jE,{ownerState:x,"aria-hidden":!0,className:D.asterisk,children:[" ","*"]})]})}),jx=g.createContext();function kE(e){return Qe("MuiGrid",e)}const DE=[0,1,2,3,4,5,6,7,8,9,10],OE=["column-reverse","column","row-reverse","row"],zE=["nowrap","wrap-reverse","wrap"],fc=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],eu=Ke("MuiGrid",["root","container","item","zeroMinWidth",...DE.map(e=>`spacing-xs-${e}`),...OE.map(e=>`direction-xs-${e}`),...zE.map(e=>`wrap-xs-${e}`),...fc.map(e=>`grid-xs-${e}`),...fc.map(e=>`grid-sm-${e}`),...fc.map(e=>`grid-md-${e}`),...fc.map(e=>`grid-lg-${e}`),...fc.map(e=>`grid-xl-${e}`)]);function EE({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,s)=>{let a={};if(t[s]&&(n=t[s]),!n)return r;if(n===!0)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=Ui({values:t.columns,breakpoints:e.breakpoints.values}),c=typeof l=="object"?l[s]:l;if(c==null)return r;const f=`${Math.round(n/c*1e8)/1e6}%`;let d={};if(t.container&&t.item&&t.columnSpacing!==0){const p=e.spacing(t.columnSpacing);if(p!=="0px"){const m=`calc(${f} + ${p})`;d={flexBasis:m,maxWidth:m}}}a={flexBasis:f,flexGrow:0,maxWidth:f,...d}}return e.breakpoints.values[s]===0?Object.assign(r,a):r[e.breakpoints.up(s)]=a,r},{})}function RE({theme:e,ownerState:t}){const n=Ui({values:t.direction,breakpoints:e.breakpoints.values});return jr({theme:e},n,r=>{const s={flexDirection:r};return r.startsWith("column")&&(s[`& > .${eu.item}`]={maxWidth:"none"}),s})}function $1({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(s=>{n===""&&t[s]!==0&&(n=s)});const r=Object.keys(e).sort((s,a)=>e[s]-e[a]);return r.slice(0,r.indexOf(n))}function TE({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let s={};if(n&&r!==0){const a=Ui({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=$1({breakpoints:e.breakpoints.values,values:a})),s=jr({theme:e},a,(c,f)=>{const d=e.spacing(c);return d!=="0px"?{marginTop:`calc(-1 * ${d})`,[`& > .${eu.item}`]:{paddingTop:d}}:l?.includes(f)?{}:{marginTop:0,[`& > .${eu.item}`]:{paddingTop:0}}})}return s}function ME({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let s={};if(n&&r!==0){const a=Ui({values:r,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=$1({breakpoints:e.breakpoints.values,values:a})),s=jr({theme:e},a,(c,f)=>{const d=e.spacing(c);if(d!=="0px"){const p=`calc(-1 * ${d})`;return{width:`calc(100% + ${d})`,marginLeft:p,[`& > .${eu.item}`]:{paddingLeft:d}}}return l?.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${eu.item}`]:{paddingLeft:0}}})}return s}function LE(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(s=>{const a=e[s];Number(a)>0&&r.push(n[`spacing-${s}-${String(a)}`])}),r}const IE=fe("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:s,item:a,spacing:l,wrap:c,zeroMinWidth:f,breakpoints:d}=n;let p=[];r&&(p=LE(l,d,t));const m=[];return d.forEach(b=>{const w=n[b];w&&m.push(t[`grid-${b}-${String(w)}`])}),[t.root,r&&t.container,a&&t.item,f&&t.zeroMinWidth,...p,s!=="row"&&t[`direction-xs-${String(s)}`],c!=="wrap"&&t[`wrap-xs-${String(c)}`],...m]}})(({ownerState:e})=>({boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...e.item&&{margin:0},...e.zeroMinWidth&&{minWidth:0},...e.wrap!=="wrap"&&{flexWrap:e.wrap}}),RE,TE,ME,EE);function BE(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const s=e[r];if(Number(s)>0){const a=`spacing-${r}-${String(s)}`;n.push(a)}}),n}const NE=e=>{const{classes:t,container:n,direction:r,item:s,spacing:a,wrap:l,zeroMinWidth:c,breakpoints:f}=e;let d=[];n&&(d=BE(a,f));const p=[];f.forEach(b=>{const w=e[b];w&&p.push(`grid-${b}-${String(w)}`)});const m={root:["root",n&&"container",s&&"item",c&&"zeroMinWidth",...d,r!=="row"&&`direction-xs-${String(r)}`,l!=="wrap"&&`wrap-xs-${String(l)}`,...p]};return _e(m,kE,t)},ss=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiGrid"}),{breakpoints:s}=Gr(),a=Pp(r),{className:l,columns:c,columnSpacing:f,component:d="div",container:p=!1,direction:m="row",item:b=!1,rowSpacing:w,spacing:P=0,wrap:A="wrap",zeroMinWidth:x=!1,...D}=a,j=w||P,C=f||P,k=g.useContext(jx),O=p?c||12:k,T={},M={...D};s.keys.forEach(H=>{D[H]!=null&&(T[H]=D[H],delete M[H])});const E={...a,columns:O,container:p,direction:m,item:b,rowSpacing:j,columnSpacing:C,wrap:A,zeroMinWidth:x,spacing:P,...T,breakpoints:s.keys},L=NE(E);return v.jsx(jx.Provider,{value:O,children:v.jsx(IE,{ownerState:E,className:De(L.root,l),as:d,ref:n,...M})})});function ig(e){return`scale(${e}, ${e**2})`}const VE={entering:{opacity:1,transform:ig(1)},entered:{opacity:1,transform:"none"}},pm=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),tu=g.forwardRef(function(t,n){const{addEndListener:r,appear:s=!0,children:a,easing:l,in:c,onEnter:f,onEntered:d,onEntering:p,onExit:m,onExited:b,onExiting:w,style:P,timeout:A="auto",TransitionComponent:x=No,...D}=t,j=Xi(),C=g.useRef(),k=Gr(),O=g.useRef(null),T=fn(O,mi(a),n),M=q=>F=>{if(q){const _=O.current;F===void 0?q(_):q(_,F)}},E=M(p),L=M((q,F)=>{uy(q);const{duration:_,delay:Y,easing:U}=sl({style:P,timeout:A,easing:l},{mode:"enter"});let z;A==="auto"?(z=k.transitions.getAutoHeightDuration(q.clientHeight),C.current=z):z=_,q.style.transition=[k.transitions.create("opacity",{duration:z,delay:Y}),k.transitions.create("transform",{duration:pm?z:z*.666,delay:Y,easing:U})].join(","),f&&f(q,F)}),H=M(d),V=M(w),X=M(q=>{const{duration:F,delay:_,easing:Y}=sl({style:P,timeout:A,easing:l},{mode:"exit"});let U;A==="auto"?(U=k.transitions.getAutoHeightDuration(q.clientHeight),C.current=U):U=F,q.style.transition=[k.transitions.create("opacity",{duration:U,delay:_}),k.transitions.create("transform",{duration:pm?U:U*.666,delay:pm?_:_||U*.333,easing:Y})].join(","),q.style.opacity=0,q.style.transform=ig(.75),m&&m(q)}),B=M(b),J=q=>{A==="auto"&&j.start(C.current||0,q),r&&r(O.current,q)};return v.jsx(x,{appear:s,in:c,nodeRef:O,onEnter:L,onEntered:H,onEntering:E,onExit:X,onExited:B,onExiting:V,addEndListener:J,timeout:A==="auto"?null:A,...D,children:(q,{ownerState:F,..._})=>g.cloneElement(a,{style:{opacity:0,transform:ig(.75),visibility:q==="exited"&&!c?"hidden":void 0,...VE[q],...P,...a.props.style},ref:T,..._})})});tu&&(tu.muiSupportAuto=!0);const XE=c1({themeId:lo}),FE=e=>{const{classes:t,disableUnderline:n}=e,s=_e({root:["root",!n&&"underline"],input:["input"]},rO,t);return{...t,...s}},WE=fe(zp,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Dp(e,t),!n.disableUnderline&&t.underline]}})(rt(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${si.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${si.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${si.disabled}, .${si.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${si.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(vn()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),JE=fe(Ep,{name:"MuiInput",slot:"Input",overridesResolver:Op})({}),wy=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:c=!1,inputComponent:f="input",multiline:d=!1,slotProps:p,slots:m={},type:b="text",...w}=r,P=FE(r),x={root:{ownerState:{disableUnderline:s}}},D=p??l?Jn(p??l,x):x,j=m.root??a.Root??WE,C=m.input??a.Input??JE;return v.jsx(Rp,{slots:{root:j,input:C},slotProps:D,fullWidth:c,inputComponent:f,multiline:d,ref:n,type:b,...w,classes:P})});wy.muiName="Input";function qE(e){return Qe("MuiInputAdornment",e)}const kx=Ke("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Dx;const UE=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${pe(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},YE=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:s,size:a,variant:l}=e,c={root:["root",n&&"disablePointerEvents",s&&`position${pe(s)}`,l,r&&"hiddenLabel",a&&`size${pe(a)}`]};return _e(c,qE,t)},GE=fe("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:UE})(rt(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${kx.positionStart}&:not(.${kx.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),e2=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiInputAdornment"}),{children:s,className:a,component:l="div",disablePointerEvents:c=!1,disableTypography:f=!1,position:d,variant:p,...m}=r,b=Vo()||{};let w=p;p&&b.variant,b&&!w&&(w=b.variant);const P={...r,hiddenLabel:b.hiddenLabel,size:b.size,disablePointerEvents:c,position:d,variant:w},A=YE(P);return v.jsx(kp.Provider,{value:null,children:v.jsx(GE,{as:l,ownerState:P,className:De(A.root,a),ref:n,...m,children:typeof s=="string"&&!f?v.jsx(jt,{color:"textSecondary",children:s}):v.jsxs(g.Fragment,{children:[d==="start"?Dx||(Dx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,s]})})})});function ZE(e){return Qe("MuiInputLabel",e)}Ke("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const QE=e=>{const{classes:t,formControl:n,size:r,shrink:s,disableAnimation:a,variant:l,required:c}=e,f={root:["root",n&&"formControl",!a&&"animated",s&&"shrink",r&&r!=="normal"&&`size${pe(r)}`,l],asterisk:[c&&"asterisk"]},d=_e(f,ZE,t);return{...t,...d}},KE=fe(Ya,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Xc.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(rt(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Cd=g.forwardRef(function(t,n){const r=ot({name:"MuiInputLabel",props:t}),{disableAnimation:s=!1,margin:a,shrink:l,variant:c,className:f,...d}=r,p=Vo();let m=l;typeof m>"u"&&p&&(m=p.filled||p.focused||p.adornedStart);const b=yi({props:r,muiFormControl:p,states:["size","variant","required","focused"]}),w={...r,disableAnimation:s,formControl:p,shrink:m,size:b.size,variant:b.variant,required:b.required,focused:b.focused},P=QE(w);return v.jsx(KE,{"data-shrink":m,ref:n,className:De(P.root,f),...d,ownerState:w,classes:P})});function _E(e){return Qe("MuiLink",e)}const $E=Ke("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),eR=({theme:e,ownerState:t})=>{const n=t.color,r=ii(e,`palette.${n}.main`,!1)||ii(e,`palette.${n}`,!1)||t.color,s=ii(e,`palette.${n}.mainChannel`)||ii(e,`palette.${n}Channel`);return"vars"in e&&s?`rgba(${s} / 0.4)`:xt(r,.4)},Ox={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},tR=e=>{const{classes:t,component:n,focusVisible:r,underline:s}=e,a={root:["root",`underline${pe(s)}`,n==="button"&&"button",r&&"focusVisible"]};return _e(a,_E,t)},nR=fe(jt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${pe(n.underline)}`],n.component==="button"&&t.button]}})(rt(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:n})=>t==="always"&&n.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:xt(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:xt(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:xt(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${$E.focusVisible}`]:{outline:"auto"}}}]}))),Hd=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiLink"}),s=Gr(),{className:a,color:l="primary",component:c="a",onBlur:f,onFocus:d,TypographyClasses:p,underline:m="always",variant:b="inherit",sx:w,...P}=r,[A,x]=g.useState(!1),D=O=>{ol(O.target)||x(!1),f&&f(O)},j=O=>{ol(O.target)&&x(!0),d&&d(O)},C={...r,color:l,component:c,focusVisible:A,underline:m,variant:b},k=tR(C);return v.jsx(nR,{color:l,className:De(k.root,a),classes:p,component:c,onBlur:D,onFocus:j,ref:n,ownerState:C,variant:b,...P,sx:[...Ox[l]===void 0?[{color:l}]:[],...Array.isArray(w)?w:[w]],style:{...P.style,...m==="always"&&l!=="inherit"&&!Ox[l]&&{"--Link-underlineColor":eR({theme:s,ownerState:C})}}})}),zo=g.createContext({});function rR(e){return Qe("MuiList",e)}Ke("MuiList",["root","padding","dense","subheader"]);const oR=e=>{const{classes:t,disablePadding:n,dense:r,subheader:s}=e;return _e({root:["root",!n&&"padding",r&&"dense",s&&"subheader"]},rR,t)},sR=fe("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),ag=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiList"}),{children:s,className:a,component:l="ul",dense:c=!1,disablePadding:f=!1,subheader:d,...p}=r,m=g.useMemo(()=>({dense:c}),[c]),b={...r,component:l,dense:c,disablePadding:f},w=oR(b);return v.jsx(zo.Provider,{value:m,children:v.jsxs(sR,{as:l,className:De(w.root,a),ref:n,ownerState:b,...p,children:[d,s]})})});function iR(e){return Qe("MuiListItem",e)}Ke("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function aR(e){return Qe("MuiListItemButton",e)}const Ga=Ke("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),lR=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},cR=e=>{const{alignItems:t,classes:n,dense:r,disabled:s,disableGutters:a,divider:l,selected:c}=e,d=_e({root:["root",r&&"dense",!a&&"gutters",l&&"divider",s&&"disabled",t==="flex-start"&&"alignItemsFlexStart",c&&"selected"]},aR,n);return{...n,...d}},uR=fe(_i,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:lR})(rt(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ga.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ga.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ga.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ga.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ga.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.dense,style:{paddingTop:4,paddingBottom:4}}]}))),t2=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiListItemButton"}),{alignItems:s="center",autoFocus:a=!1,component:l="div",children:c,dense:f=!1,disableGutters:d=!1,divider:p=!1,focusVisibleClassName:m,selected:b=!1,className:w,...P}=r,A=g.useContext(zo),x=g.useMemo(()=>({dense:f||A.dense||!1,alignItems:s,disableGutters:d}),[s,A.dense,f,d]),D=g.useRef(null);kr(()=>{a&&D.current&&D.current.focus()},[a]);const j={...r,alignItems:s,dense:x.dense,disableGutters:d,divider:p,selected:b},C=cR(j),k=fn(D,n);return v.jsx(zo.Provider,{value:x,children:v.jsx(uR,{ref:k,href:P.href||P.to,component:(P.href||P.to)&&l==="div"?"button":l,focusVisibleClassName:De(C.focusVisible,m),ownerState:j,className:De(C.root,w),...P,classes:C,children:c})})});function fR(e){return Qe("MuiListItemSecondaryAction",e)}Ke("MuiListItemSecondaryAction",["root","disableGutters"]);const dR=e=>{const{disableGutters:t,classes:n}=e;return _e({root:["root",t&&"disableGutters"]},fR,n)},pR=fe("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),n2=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiListItemSecondaryAction"}),{className:s,...a}=r,l=g.useContext(zo),c={...r,disableGutters:l.disableGutters},f=dR(c);return v.jsx(pR,{className:De(f.root,s),ownerState:c,ref:n,...a})});n2.muiName="ListItemSecondaryAction";const hR=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},vR=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:c}=e;return _e({root:["root",r&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",t==="flex-start"&&"alignItemsFlexStart",c&&"secondaryAction"],container:["container"]},iR,n)},mR=fe("div",{name:"MuiListItem",slot:"Root",overridesResolver:hR})(rt(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${Ga.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),gR=fe("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),$f=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiListItem"}),{alignItems:s="center",children:a,className:l,component:c,components:f={},componentsProps:d={},ContainerComponent:p="li",ContainerProps:{className:m,...b}={},dense:w=!1,disableGutters:P=!1,disablePadding:A=!1,divider:x=!1,secondaryAction:D,slotProps:j={},slots:C={},...k}=r,O=g.useContext(zo),T=g.useMemo(()=>({dense:w||O.dense||!1,alignItems:s,disableGutters:P}),[s,O.dense,w,P]),M=g.useRef(null),E=g.Children.toArray(a),L=E.length&&wd(E[E.length-1],["ListItemSecondaryAction"]),H={...r,alignItems:s,dense:T.dense,disableGutters:P,disablePadding:A,divider:x,hasSecondaryAction:L},V=vR(H),X=fn(M,n),B=C.root||f.Root||mR,J=j.root||d.root||{},q={className:De(V.root,J.className,l),...k};let F=c||"li";return L?(F=!q.component&&!c?"div":F,p==="li"&&(F==="li"?F="div":q.component==="li"&&(q.component="div")),v.jsx(zo.Provider,{value:T,children:v.jsxs(gR,{as:p,className:De(V.container,m),ref:X,ownerState:H,...b,children:[v.jsx(B,{...J,...!$c(B)&&{as:F,ownerState:{...H,...J.ownerState}},...q,children:E}),E.pop()]})})):v.jsx(zo.Provider,{value:T,children:v.jsxs(B,{...J,as:F,ref:X,...!$c(B)&&{ownerState:{...H,...J.ownerState}},...q,children:[E,D&&v.jsx(n2,{children:D})]})})});function yR(e){return Qe("MuiListItemIcon",e)}const zx=Ke("MuiListItemIcon",["root","alignItemsFlexStart"]),AR=e=>{const{alignItems:t,classes:n}=e;return _e({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},yR,n)},bR=fe("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(rt(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),PR=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiListItemIcon"}),{className:s,...a}=r,l=g.useContext(zo),c={...r,alignItems:l.alignItems},f=AR(c);return v.jsx(bR,{className:De(f.root,s),ownerState:c,ref:n,...a})});function wR(e){return Qe("MuiListItemText",e)}const Ka=Ke("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),xR=e=>{const{classes:t,inset:n,primary:r,secondary:s,dense:a}=e;return _e({root:["root",n&&"inset",a&&"dense",r&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},wR,t)},SR=fe("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ka.primary}`]:t.primary},{[`& .${Ka.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${Kw.root}:where(& .${Ka.primary})`]:{display:"block"},[`.${Kw.root}:where(& .${Ka.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),Fc=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiListItemText"}),{children:s,className:a,disableTypography:l=!1,inset:c=!1,primary:f,primaryTypographyProps:d,secondary:p,secondaryTypographyProps:m,slots:b={},slotProps:w={},...P}=r,{dense:A}=g.useContext(zo);let x=f??s,D=p;const j={...r,disableTypography:l,inset:c,primary:!!x,secondary:!!D,dense:A},C=xR(j),k={slots:b,slotProps:{primary:d,secondary:m,...w}},[O,T]=ct("root",{className:De(C.root,a),elementType:SR,externalForwardedProps:{...k,...P},ownerState:j,ref:n}),[M,E]=ct("primary",{className:C.primary,elementType:jt,externalForwardedProps:k,ownerState:j}),[L,H]=ct("secondary",{className:C.secondary,elementType:jt,externalForwardedProps:k,ownerState:j});return x!=null&&x.type!==jt&&!l&&(x=v.jsx(M,{variant:A?"body2":"body1",component:E?.variant?void 0:"span",...E,children:x})),D!=null&&D.type!==jt&&!l&&(D=v.jsx(L,{variant:"body2",color:"textSecondary",...H,children:D})),v.jsxs(O,{...T,children:[x,D]})});function hm(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Ex(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function r2(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function dc(e,t,n,r,s,a){let l=!1,c=s(e,t,t?n:!1);for(;c;){if(c===e.firstChild){if(l)return!1;l=!0}const f=r?!1:c.disabled||c.getAttribute("aria-disabled")==="true";if(!c.hasAttribute("tabindex")||!r2(c,a)||f)c=s(e,c,n);else return c.focus(),!0}return!1}const CR=g.forwardRef(function(t,n){const{actions:r,autoFocus:s=!1,autoFocusItem:a=!1,children:l,className:c,disabledItemsFocusable:f=!1,disableListWrap:d=!1,onKeyDown:p,variant:m="selectedMenu",...b}=t,w=g.useRef(null),P=g.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});kr(()=>{s&&w.current.focus()},[s]),g.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(C,{direction:k})=>{const O=!w.current.style.width;if(C.clientHeight{const k=w.current,O=C.key;if(C.ctrlKey||C.metaKey||C.altKey){p&&p(C);return}const M=ar(k).activeElement;if(O==="ArrowDown")C.preventDefault(),dc(k,M,d,f,hm);else if(O==="ArrowUp")C.preventDefault(),dc(k,M,d,f,Ex);else if(O==="Home")C.preventDefault(),dc(k,null,d,f,hm);else if(O==="End")C.preventDefault(),dc(k,null,d,f,Ex);else if(O.length===1){const E=P.current,L=O.toLowerCase(),H=performance.now();E.keys.length>0&&(H-E.lastTime>500?(E.keys=[],E.repeating=!0,E.previousKeyMatched=!0):E.repeating&&L!==E.keys[0]&&(E.repeating=!1)),E.lastTime=H,E.keys.push(L);const V=M&&!E.repeating&&r2(M,E);E.previousKeyMatched&&(V||dc(k,M,!1,f,hm,E))?C.preventDefault():E.previousKeyMatched=!1}p&&p(C)},x=fn(w,n);let D=-1;g.Children.forEach(l,(C,k)=>{if(!g.isValidElement(C)){D===k&&(D+=1,D>=l.length&&(D=-1));return}C.props.disabled||(m==="selectedMenu"&&C.props.selected||D===-1)&&(D=k),D===k&&(C.props.disabled||C.props.muiSkipListHighlight||C.type.muiSkipListHighlight)&&(D+=1,D>=l.length&&(D=-1))});const j=g.Children.map(l,(C,k)=>{if(k===D){const O={};return a&&(O.autoFocus=!0),C.props.tabIndex===void 0&&m==="selectedMenu"&&(O.tabIndex=0),g.cloneElement(C,O)}return C});return v.jsx(ag,{role:"menu",ref:x,className:c,onKeyDown:A,tabIndex:s?0:-1,...b,children:j})});function HR(e){return Qe("MuiPopover",e)}Ke("MuiPopover",["root","paper"]);function Rx(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Tx(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Mx(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function ed(e){return typeof e=="function"?e():e}const jR=e=>{const{classes:t}=e;return _e({root:["root"],paper:["paper"]},HR,t)},kR=fe(by,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),o2=fe(Ur,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),DR=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiPopover"}),{action:s,anchorEl:a,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:f="anchorEl",children:d,className:p,container:m,elevation:b=8,marginThreshold:w=16,open:P,PaperProps:A={},slots:x={},slotProps:D={},transformOrigin:j={vertical:"top",horizontal:"left"},TransitionComponent:C,transitionDuration:k="auto",TransitionProps:O={},disableScrollLock:T=!1,...M}=r,E=g.useRef(),L={...r,anchorOrigin:l,anchorReference:f,elevation:b,marginThreshold:w,transformOrigin:j,TransitionComponent:C,transitionDuration:k,TransitionProps:O},H=jR(L),V=g.useCallback(()=>{if(f==="anchorPosition")return c;const Oe=ed(a),me=(Oe&&Oe.nodeType===1?Oe:ar(E.current).body).getBoundingClientRect();return{top:me.top+Rx(me,l.vertical),left:me.left+Tx(me,l.horizontal)}},[a,l.horizontal,l.vertical,c,f]),X=g.useCallback(Oe=>({vertical:Rx(Oe,j.vertical),horizontal:Tx(Oe,j.horizontal)}),[j.horizontal,j.vertical]),B=g.useCallback(Oe=>{const Ee={width:Oe.offsetWidth,height:Oe.offsetHeight},me=X(Ee);if(f==="none")return{top:null,left:null,transformOrigin:Mx(me)};const Ne=V();let ve=Ne.top-me.vertical,Ge=Ne.left-me.horizontal;const Pt=ve+Ee.height,Be=Ge+Ee.width,pt=To(ed(a)),ut=pt.innerHeight-w,ht=pt.innerWidth-w;if(w!==null&&veut){const At=Pt-ut;ve-=At,me.vertical+=At}if(w!==null&&Geht){const At=Be-ht;Ge-=At,me.horizontal+=At}return{top:`${Math.round(ve)}px`,left:`${Math.round(Ge)}px`,transformOrigin:Mx(me)}},[a,f,V,X,w]),[J,q]=g.useState(P),F=g.useCallback(()=>{const Oe=E.current;if(!Oe)return;const Ee=B(Oe);Ee.top!==null&&Oe.style.setProperty("top",Ee.top),Ee.left!==null&&(Oe.style.left=Ee.left),Oe.style.transformOrigin=Ee.transformOrigin,q(!0)},[B]);g.useEffect(()=>(T&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F)),[a,T,F]);const _=()=>{F()},Y=()=>{q(!1)};g.useEffect(()=>{P&&F()}),g.useImperativeHandle(s,()=>P?{updatePosition:()=>{F()}}:null,[P,F]),g.useEffect(()=>{if(!P)return;const Oe=ey(()=>{F()}),Ee=To(ed(a));return Ee.addEventListener("resize",Oe),()=>{Oe.clear(),Ee.removeEventListener("resize",Oe)}},[a,P,F]);let U=k;const z={slots:{transition:C,...x},slotProps:{transition:O,paper:A,...D}},[G,I]=ct("transition",{elementType:tu,externalForwardedProps:z,ownerState:L,getSlotProps:Oe=>({...Oe,onEntering:(Ee,me)=>{Oe.onEntering?.(Ee,me),_()},onExited:Ee=>{Oe.onExited?.(Ee),Y()}}),additionalProps:{appear:!0,in:P}});k==="auto"&&!G.muiSupportAuto&&(U=void 0);const Z=m||(a?ar(ed(a)).body:void 0),[$,{slots:re,slotProps:se,...ge}]=ct("root",{ref:n,elementType:kR,externalForwardedProps:{...z,...M},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:x.backdrop},slotProps:{backdrop:iy(typeof D.backdrop=="function"?D.backdrop(L):D.backdrop,{invisible:!0})},container:Z,open:P},ownerState:L,className:De(H.root,p)}),[ie,Ae]=ct("paper",{ref:E,className:H.paper,elementType:o2,externalForwardedProps:z,shouldForwardComponentProp:!0,additionalProps:{elevation:b,style:J?void 0:{opacity:0}},ownerState:L});return v.jsx($,{...ge,...!$c($)&&{slots:re,slotProps:se,disableScrollLock:T},children:v.jsx(G,{...I,timeout:U,children:v.jsx(ie,{...Ae,children:d})})})});function OR(e){return Qe("MuiMenu",e)}Ke("MuiMenu",["root","paper","list"]);const zR={vertical:"top",horizontal:"right"},ER={vertical:"top",horizontal:"left"},RR=e=>{const{classes:t}=e;return _e({root:["root"],paper:["paper"],list:["list"]},OR,t)},TR=fe(DR,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),MR=fe(o2,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),LR=fe(CR,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),nu=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:c=!1,MenuListProps:f={},onClose:d,open:p,PaperProps:m={},PopoverClasses:b,transitionDuration:w="auto",TransitionProps:{onEntering:P,...A}={},variant:x="selectedMenu",slots:D={},slotProps:j={},...C}=r,k=yu(),O={...r,autoFocus:s,disableAutoFocusItem:c,MenuListProps:f,onEntering:P,PaperProps:m,transitionDuration:w,TransitionProps:A,variant:x},T=RR(O),M=s&&!c&&p,E=g.useRef(null),L=(U,z)=>{E.current&&E.current.adjustStyleForScrollbar(U,{direction:k?"rtl":"ltr"}),P&&P(U,z)},H=U=>{U.key==="Tab"&&(U.preventDefault(),d&&d(U,"tabKeyDown"))};let V=-1;g.Children.map(a,(U,z)=>{g.isValidElement(U)&&(U.props.disabled||(x==="selectedMenu"&&U.props.selected||V===-1)&&(V=z))});const X={slots:D,slotProps:{list:f,transition:A,paper:m,...j}},B=g1({elementType:D.root,externalSlotProps:j.root,ownerState:O,className:[T.root,l]}),[J,q]=ct("paper",{className:T.paper,elementType:MR,externalForwardedProps:X,shouldForwardComponentProp:!0,ownerState:O}),[F,_]=ct("list",{className:De(T.list,f.className),elementType:LR,shouldForwardComponentProp:!0,externalForwardedProps:X,getSlotProps:U=>({...U,onKeyDown:z=>{H(z),U.onKeyDown?.(z)}}),ownerState:O}),Y=typeof X.slotProps.transition=="function"?X.slotProps.transition(O):X.slotProps.transition;return v.jsx(TR,{onClose:d,anchorOrigin:{vertical:"bottom",horizontal:k?"right":"left"},transformOrigin:k?zR:ER,slots:{root:D.root,paper:J,backdrop:D.backdrop,...D.transition&&{transition:D.transition}},slotProps:{root:B,paper:q,backdrop:typeof j.backdrop=="function"?j.backdrop(O):j.backdrop,transition:{...Y,onEntering:(...U)=>{L(...U),Y?.onEntering?.(...U)}}},open:p,ref:n,transitionDuration:w,ownerState:O,...C,classes:b,children:v.jsx(F,{actions:E,autoFocus:s&&(V===-1||c),autoFocusItem:M,variant:x,..._,children:a})})});function IR(e){return Qe("MuiMenuItem",e)}const pc=Ke("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),BR=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},NR=e=>{const{disabled:t,dense:n,divider:r,disableGutters:s,selected:a,classes:l}=e,f=_e({root:["root",n&&"dense",t&&"disabled",!s&&"gutters",r&&"divider",a&&"selected"]},IR,l);return{...l,...f}},VR=fe(_i,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:BR})(rt(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${pc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${pc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${pc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${pc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${pc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Sx.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Sx.inset}`]:{marginLeft:52},[`& .${Ka.root}`]:{marginTop:0,marginBottom:0},[`& .${Ka.inset}`]:{paddingLeft:36},[`& .${zx.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${zx.root} svg`]:{fontSize:"1.25rem"}}}]}))),ns=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiMenuItem"}),{autoFocus:s=!1,component:a="li",dense:l=!1,divider:c=!1,disableGutters:f=!1,focusVisibleClassName:d,role:p="menuitem",tabIndex:m,className:b,...w}=r,P=g.useContext(zo),A=g.useMemo(()=>({dense:l||P.dense||!1,disableGutters:f}),[P.dense,l,f]),x=g.useRef(null);kr(()=>{s&&x.current&&x.current.focus()},[s]);const D={...r,dense:A.dense,divider:c,disableGutters:f},j=NR(r),C=fn(x,n);let k;return r.disabled||(k=m!==void 0?m:-1),v.jsx(zo.Provider,{value:A,children:v.jsx(VR,{ref:C,role:p,tabIndex:k,component:a,focusVisibleClassName:De(j.focusVisible,d),className:De(j.root,b),...w,ownerState:D,classes:j})})});function XR(e){return Qe("MuiNativeSelect",e)}const xy=Ke("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),FR=e=>{const{classes:t,variant:n,disabled:r,multiple:s,open:a,error:l}=e,c={select:["select",n,r&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${pe(n)}`,a&&"iconOpen",r&&"disabled"]};return _e(c,XR,t)},s2=fe("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${xy.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),WR=fe(s2,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:qn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${xy.multiple}`]:t.multiple}]}})({}),i2=fe("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${xy.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),JR=fe(i2,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${pe(n.variant)}`],n.open&&t.iconOpen]}})({}),qR=g.forwardRef(function(t,n){const{className:r,disabled:s,error:a,IconComponent:l,inputRef:c,variant:f="standard",...d}=t,p={...t,disabled:s,variant:f,error:a},m=FR(p);return v.jsxs(g.Fragment,{children:[v.jsx(WR,{ownerState:p,className:De(m.select,r),disabled:s,ref:c||n,...d}),t.multiple?null:v.jsx(JR,{as:l,ownerState:p,className:m.icon})]})});var Lx;const UR=fe("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:qn})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),YR=fe("legend",{name:"MuiNotchedOutlined",shouldForwardProp:qn})(rt(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function GR(e){const{children:t,classes:n,className:r,label:s,notched:a,...l}=e,c=s!=null&&s!=="",f={...e,notched:a,withLabel:c};return v.jsx(UR,{"aria-hidden":!0,className:r,ownerState:f,...l,children:v.jsx(YR,{ownerState:f,children:c?v.jsx("span",{children:s}):Lx||(Lx=v.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const ZR=e=>{const{classes:t}=e,r=_e({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},oO,t);return{...t,...r}},QR=fe(zp,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Dp})(rt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${so.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${so.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${so.focused} .${so.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(vn()).map(([n])=>({props:{color:n},style:{[`&.${so.focused} .${so.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${so.error} .${so.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${so.disabled} .${so.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),KR=fe(GR,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(rt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),_R=fe(Ep,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Op})(rt(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),Sy=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiOutlinedInput"}),{components:s={},fullWidth:a=!1,inputComponent:l="input",label:c,multiline:f=!1,notched:d,slots:p={},slotProps:m={},type:b="text",...w}=r,P=ZR(r),A=Vo(),x=yi({props:r,muiFormControl:A,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),D={...r,color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:A,fullWidth:a,hiddenLabel:x.hiddenLabel,multiline:f,size:x.size,type:b},j=p.root??s.Root??QR,C=p.input??s.Input??_R,[k,O]=ct("notchedOutline",{elementType:KR,className:P.notchedOutline,shouldForwardComponentProp:!0,ownerState:D,externalForwardedProps:{slots:p,slotProps:m},additionalProps:{label:c!=null&&c!==""&&x.required?v.jsxs(g.Fragment,{children:[c," ","*"]}):c}});return v.jsx(Rp,{slots:{root:j,input:C},slotProps:m,renderSuffix:T=>v.jsx(k,{...O,notched:typeof d<"u"?d:!!(T.startAdornment||T.filled||T.focused)}),fullWidth:a,inputComponent:l,multiline:f,ref:n,type:b,...w,classes:{...P,notchedOutline:null}})});Sy.muiName="Input";const $R=wt(v.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),eT=wt(v.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),tT=wt(v.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),nT=wt(v.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),rT=fe("span",{name:"MuiRadioButtonIcon",shouldForwardProp:qn})({position:"relative",display:"flex"}),oT=fe(tT,{name:"MuiRadioButtonIcon"})({transform:"scale(1)"}),sT=fe(nT,{name:"MuiRadioButtonIcon"})(rt(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function a2(e){const{checked:t=!1,classes:n={},fontSize:r}=e,s={...e,checked:t};return v.jsxs(rT,{className:n.root,ownerState:s,children:[v.jsx(oT,{fontSize:r,className:n.background,ownerState:s}),v.jsx(sT,{fontSize:r,className:n.dot,ownerState:s})]})}const l2=g.createContext(void 0);function iT(){return g.useContext(l2)}function aT(e){return Qe("MuiRadio",e)}const Ix=Ke("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),lT=e=>{const{classes:t,color:n,size:r}=e,s={root:["root",`color${pe(n)}`,r!=="medium"&&`size${pe(r)}`]};return{...t,..._e(s,aT,t)}},cT=fe(Ay,{shouldForwardProp:e=>qn(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${pe(n.size)}`],t[`color${pe(n.color)}`]]}})(rt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${Ix.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${Ix.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function uT(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const fT=v.jsx(a2,{checked:!0}),dT=v.jsx(a2,{}),ru=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiRadio"}),{checked:s,checkedIcon:a=fT,color:l="primary",icon:c=dT,name:f,onChange:d,size:p="medium",className:m,disabled:b,disableRipple:w=!1,slots:P={},slotProps:A={},inputProps:x,...D}=r,j=Vo();let C=b;j&&typeof C>"u"&&(C=j.disabled),C??=!1;const k={...r,disabled:C,disableRipple:w,color:l,size:p},O=lT(k),T=iT();let M=s;const E=Jm(d,T&&T.onChange);let L=f;T&&(typeof M>"u"&&(M=uT(T.value,r.value)),typeof L>"u"&&(L=T.name));const H=A.input??x,[V,X]=ct("root",{ref:n,elementType:cT,className:De(O.root,m),shouldForwardComponentProp:!0,externalForwardedProps:{slots:P,slotProps:A,...D},getSlotProps:B=>({...B,onChange:(J,...q)=>{B.onChange?.(J,...q),E(J,...q)}}),ownerState:k,additionalProps:{type:"radio",icon:g.cloneElement(c,{fontSize:c.props.fontSize??p}),checkedIcon:g.cloneElement(a,{fontSize:a.props.fontSize??p}),disabled:C,name:L,checked:M,slots:P,slotProps:{input:typeof H=="function"?H(k):H}}});return v.jsx(V,{...X,classes:O})});function pT(e){return Qe("MuiRadioGroup",e)}Ke("MuiRadioGroup",["root","row","error"]);const hT=e=>{const{classes:t,row:n,error:r}=e;return _e({root:["root",n&&"row",r&&"error"]},pT,t)},qd=g.forwardRef(function(t,n){const{actions:r,children:s,className:a,defaultValue:l,name:c,onChange:f,value:d,...p}=t,m=g.useRef(null),b=hT(t),[w,P]=li({controlled:d,default:l,name:"RadioGroup"});g.useImperativeHandle(r,()=>({focus:()=>{let j=m.current.querySelector("input:not(:disabled):checked");j||(j=m.current.querySelector("input:not(:disabled)")),j&&j.focus()}}),[]);const A=fn(n,m),x=uo(c),D=g.useMemo(()=>({name:x,onChange(j){P(j.target.value),f&&f(j,j.target.value)},value:w}),[x,f,P,w]);return v.jsx(l2.Provider,{value:D,children:v.jsx(bE,{role:"radiogroup",ref:A,className:De(b.root,a),...p,children:s})})});function c2(e){return Qe("MuiSelect",e)}const hc=Ke("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Bx;const vT=fe(s2,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${hc.select}`]:t.select},{[`&.${hc.select}`]:t[n.variant]},{[`&.${hc.error}`]:t.error},{[`&.${hc.multiple}`]:t.multiple}]}})({[`&.${hc.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),mT=fe(i2,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${pe(n.variant)}`],n.open&&t.iconOpen]}})({}),gT=fe("input",{shouldForwardProp:e=>D1(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Nx(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function yT(e){return e==null||typeof e=="string"&&!e.trim()}const AT=e=>{const{classes:t,variant:n,disabled:r,multiple:s,open:a,error:l}=e,c={select:["select",n,r&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${pe(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return _e(c,c2,t)},bT=g.forwardRef(function(t,n){const{"aria-describedby":r,"aria-label":s,autoFocus:a,autoWidth:l,children:c,className:f,defaultOpen:d,defaultValue:p,disabled:m,displayEmpty:b,error:w=!1,IconComponent:P,inputRef:A,labelId:x,MenuProps:D={},multiple:j,name:C,onBlur:k,onChange:O,onClose:T,onFocus:M,onOpen:E,open:L,readOnly:H,renderValue:V,required:X,SelectDisplayProps:B={},tabIndex:J,type:q,value:F,variant:_="standard",...Y}=t,[U,z]=li({controlled:F,default:p,name:"Select"}),[G,I]=li({controlled:L,default:d,name:"Select"}),Z=g.useRef(null),$=g.useRef(null),[re,se]=g.useState(null),{current:ge}=g.useRef(L!=null),[ie,Ae]=g.useState(),Oe=fn(n,A),Ee=g.useCallback(Xe=>{$.current=Xe,Xe&&se(Xe)},[]),me=re?.parentNode;g.useImperativeHandle(Oe,()=>({focus:()=>{$.current.focus()},node:Z.current,value:U}),[U]),g.useEffect(()=>{d&&G&&re&&!ge&&(Ae(l?null:me.clientWidth),$.current.focus())},[re,l]),g.useEffect(()=>{a&&$.current.focus()},[a]),g.useEffect(()=>{if(!x)return;const Xe=ar($.current).getElementById(x);if(Xe){const K=()=>{getSelection().isCollapsed&&$.current.focus()};return Xe.addEventListener("click",K),()=>{Xe.removeEventListener("click",K)}}},[x]);const Ne=(Xe,K)=>{Xe?E&&E(K):T&&T(K),ge||(Ae(l?null:me.clientWidth),I(Xe))},ve=Xe=>{Xe.button===0&&(Xe.preventDefault(),$.current.focus(),Ne(!0,Xe))},Ge=Xe=>{Ne(!1,Xe)},Pt=g.Children.toArray(c),Be=Xe=>{const K=Pt.find(Q=>Q.props.value===Xe.target.value);K!==void 0&&(z(K.props.value),O&&O(Xe,K))},pt=Xe=>K=>{let Q;if(K.currentTarget.hasAttribute("tabindex")){if(j){Q=Array.isArray(U)?U.slice():[];const Pe=U.indexOf(Xe.props.value);Pe===-1?Q.push(Xe.props.value):Q.splice(Pe,1)}else Q=Xe.props.value;if(Xe.props.onClick&&Xe.props.onClick(K),U!==Q&&(z(Q),O)){const Pe=K.nativeEvent||K,ke=new Pe.constructor(Pe.type,Pe);Object.defineProperty(ke,"target",{writable:!0,value:{value:Q,name:C}}),O(ke,Xe)}j||Ne(!1,K)}},ut=Xe=>{H||[" ","ArrowUp","ArrowDown","Enter"].includes(Xe.key)&&(Xe.preventDefault(),Ne(!0,Xe))},ht=re!==null&&G,At=Xe=>{!ht&&k&&(Object.defineProperty(Xe,"target",{writable:!0,value:{value:U,name:C}}),k(Xe))};delete Y["aria-invalid"];let Fe,Tt;const N=[];let te=!1;(Jd({value:U})||b)&&(V?Fe=V(U):te=!0);const oe=Pt.map(Xe=>{if(!g.isValidElement(Xe))return null;let K;if(j){if(!Array.isArray(U))throw new Error(ks(2));K=U.some(Q=>Nx(Q,Xe.props.value)),K&&te&&N.push(Xe.props.children)}else K=Nx(U,Xe.props.value),K&&te&&(Tt=Xe.props.children);return g.cloneElement(Xe,{"aria-selected":K?"true":"false",onClick:pt(Xe),onKeyUp:Q=>{Q.key===" "&&Q.preventDefault(),Xe.props.onKeyUp&&Xe.props.onKeyUp(Q)},role:"option",selected:K,value:void 0,"data-value":Xe.props.value})});te&&(j?N.length===0?Fe=null:Fe=N.reduce((Xe,K,Q)=>(Xe.push(K),Q{const{classes:t}=e,r=_e({root:["root"]},c2,t);return{...t,...r}},Cy={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>qn(e)&&e!=="variant",slot:"Root"},wT=fe(wy,Cy)(""),xT=fe(Sy,Cy)(""),ST=fe(Py,Cy)(""),ou=g.forwardRef(function(t,n){const r=ot({name:"MuiSelect",props:t}),{autoWidth:s=!1,children:a,classes:l={},className:c,defaultOpen:f=!1,displayEmpty:d=!1,IconComponent:p=W1,id:m,input:b,inputProps:w,label:P,labelId:A,MenuProps:x,multiple:D=!1,native:j=!1,onClose:C,onOpen:k,open:O,renderValue:T,SelectDisplayProps:M,variant:E="outlined",...L}=r,H=j?qR:bT,V=Vo(),X=yi({props:r,muiFormControl:V,states:["variant","error"]}),B=X.variant||E,J={...r,variant:B,classes:l},q=PT(J),{root:F,..._}=q,Y=b||{standard:v.jsx(wT,{ownerState:J}),outlined:v.jsx(xT,{label:P,ownerState:J}),filled:v.jsx(ST,{ownerState:J})}[B],U=fn(n,mi(Y));return v.jsx(g.Fragment,{children:g.cloneElement(Y,{inputComponent:H,inputProps:{children:a,error:X.error,IconComponent:p,variant:B,type:void 0,multiple:D,...j?{id:m}:{autoWidth:s,defaultOpen:f,displayEmpty:d,labelId:A,MenuProps:x,onClose:C,onOpen:k,open:O,renderValue:T,SelectDisplayProps:{id:m,...M}},...w,classes:w?Jn(_,w.classes):_,...b?b.props.inputProps:{}},...(D&&j||d)&&B==="outlined"?{notched:!0}:{},ref:U,className:De(Y.props.className,c,q.root),...!b&&{variant:B},...L})})});ou.muiName="Select";function CT(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:s,resumeHideDuration:a}=e,l=Xi();g.useEffect(()=>{if(!s)return;function D(j){j.defaultPrevented||j.key==="Escape"&&r?.(j,"escapeKeyDown")}return document.addEventListener("keydown",D),()=>{document.removeEventListener("keydown",D)}},[s,r]);const c=ir((D,j)=>{r?.(D,j)}),f=ir(D=>{!r||D==null||l.start(D,()=>{c(null,"timeout")})});g.useEffect(()=>(s&&f(t),l.clear),[s,t,f,l]);const d=D=>{r?.(D,"clickaway")},p=l.clear,m=g.useCallback(()=>{t!=null&&f(a??t*.5)},[t,a,f]),b=D=>j=>{const C=D.onBlur;C?.(j),m()},w=D=>j=>{const C=D.onFocus;C?.(j),p()},P=D=>j=>{const C=D.onMouseEnter;C?.(j),p()},A=D=>j=>{const C=D.onMouseLeave;C?.(j),m()};return g.useEffect(()=>{if(!n&&s)return window.addEventListener("focus",m),window.addEventListener("blur",p),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",p)}},[n,s,m,p]),{getRootProps:(D={})=>{const j={...Nd(e),...Nd(D)};return{role:"presentation",...D,...j,onBlur:b(j),onFocus:w(j),onMouseEnter:P(j),onMouseLeave:A(j)}},onClickAway:d}}function HT(e){return Qe("MuiSnackbarContent",e)}Ke("MuiSnackbarContent",["root","message","action"]);const jT=e=>{const{classes:t}=e;return _e({root:["root"],action:["action"],message:["message"]},HT,t)},kT=fe(Ur,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(rt(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=f1(e.palette.background.default,t);return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),DT=fe("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),OT=fe("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),zT=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiSnackbarContent"}),{action:s,className:a,message:l,role:c="alert",...f}=r,d=r,p=jT(d);return v.jsxs(kT,{role:c,square:!0,elevation:6,className:De(p.root,a),ownerState:d,ref:n,...f,children:[v.jsx(DT,{className:p.message,ownerState:d,children:l}),s?v.jsx(OT,{className:p.action,ownerState:d,children:s}):null]})});function ET(e){return Qe("MuiSnackbar",e)}Ke("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const RT=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${pe(n.vertical)}${pe(n.horizontal)}`]};return _e(r,ET,t)},TT=fe("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${pe(n.anchorOrigin.vertical)}${pe(n.anchorOrigin.horizontal)}`]]}})(rt(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:t})=>t.anchorOrigin.vertical==="top",style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:t})=>t.anchorOrigin.vertical!=="top",style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="center",style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),MT=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiSnackbar"}),s=Gr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{action:l,anchorOrigin:{vertical:c,horizontal:f}={vertical:"bottom",horizontal:"left"},autoHideDuration:d=null,children:p,className:m,ClickAwayListenerProps:b,ContentProps:w,disableWindowBlurListener:P=!1,message:A,onBlur:x,onClose:D,onFocus:j,onMouseEnter:C,onMouseLeave:k,open:O,resumeHideDuration:T,slots:M={},slotProps:E={},TransitionComponent:L,transitionDuration:H=a,TransitionProps:{onEnter:V,onExited:X,...B}={},...J}=r,q={...r,anchorOrigin:{vertical:c,horizontal:f},autoHideDuration:d,disableWindowBlurListener:P,TransitionComponent:L,transitionDuration:H},F=RT(q),{getRootProps:_,onClickAway:Y}=CT({...q}),[U,z]=g.useState(!0),G=Ne=>{z(!0),X&&X(Ne)},I=(Ne,ve)=>{z(!1),V&&V(Ne,ve)},Z={slots:{transition:L,...M},slotProps:{content:w,clickAwayListener:b,transition:B,...E}},[$,re]=ct("root",{ref:n,className:[F.root,m],elementType:TT,getSlotProps:_,externalForwardedProps:{...Z,...J},ownerState:q}),[se,{ownerState:ge,...ie}]=ct("clickAwayListener",{elementType:G1,externalForwardedProps:Z,getSlotProps:Ne=>({onClickAway:(...ve)=>{Ne.onClickAway?.(...ve),Y(...ve)}}),ownerState:q}),[Ae,Oe]=ct("content",{elementType:zT,shouldForwardComponentProp:!0,externalForwardedProps:Z,additionalProps:{message:A,action:l},ownerState:q}),[Ee,me]=ct("transition",{elementType:tu,externalForwardedProps:Z,getSlotProps:Ne=>({onEnter:(...ve)=>{Ne.onEnter?.(...ve),I(...ve)},onExited:(...ve)=>{Ne.onExited?.(...ve),G(...ve)}}),additionalProps:{appear:!0,in:O,timeout:H,direction:c==="top"?"down":"up"},ownerState:q});return!O&&U?null:v.jsx(se,{...ie,...M.clickAwayListener&&{ownerState:ge},children:v.jsx($,{...re,children:v.jsx(Ee,{...me,children:p||v.jsx(Ae,{...Oe})})})})});function LT(e){return Qe("MuiTooltip",e)}const xn=Ke("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function IT(e){return Math.round(e*1e5)/1e5}const BT=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:s,placement:a}=e,l={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",s&&"touch",`tooltipPlacement${pe(a.split("-")[0])}`],arrow:["arrow"]};return _e(l,LT,t)},NT=fe(jp,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(rt(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${xn.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${xn.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${xn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${xn.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${xn.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${xn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${xn.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${xn.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),VT=fe("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${pe(n.placement.split("-")[0])}`]]}})(rt(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:xt(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${xn.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${xn.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${xn.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${xn.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${IT(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${xn.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${xn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${xn.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${xn.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${xn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${xn.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${xn.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${xn.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${xn.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${xn.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),XT=fe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(rt(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:xt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let td=!1;const Vx=new xp;let vc={x:0,y:0};function nd(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Hy=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiTooltip"}),{arrow:s=!1,children:a,classes:l,components:c={},componentsProps:f={},describeChild:d=!1,disableFocusListener:p=!1,disableHoverListener:m=!1,disableInteractive:b=!1,disableTouchListener:w=!1,enterDelay:P=100,enterNextDelay:A=0,enterTouchDelay:x=700,followCursor:D=!1,id:j,leaveDelay:C=0,leaveTouchDelay:k=1500,onClose:O,onOpen:T,open:M,placement:E="bottom",PopperComponent:L,PopperProps:H={},slotProps:V={},slots:X={},title:B,TransitionComponent:J,TransitionProps:q,...F}=r,_=g.isValidElement(a)?a:v.jsx("span",{children:a}),Y=Gr(),U=yu(),[z,G]=g.useState(),[I,Z]=g.useState(null),$=g.useRef(!1),re=b||D,se=Xi(),ge=Xi(),ie=Xi(),Ae=Xi(),[Oe,Ee]=li({controlled:M,default:!1,name:"Tooltip",state:"open"});let me=Oe;const Ne=uo(j),ve=g.useRef(),Ge=ir(()=>{ve.current!==void 0&&(document.body.style.WebkitUserSelect=ve.current,ve.current=void 0),Ae.clear()});g.useEffect(()=>Ge,[Ge]);const Pt=Ye=>{Vx.clear(),td=!0,Ee(!0),T&&!me&&T(Ye)},Be=ir(Ye=>{Vx.start(800+C,()=>{td=!1}),Ee(!1),O&&me&&O(Ye),se.start(Y.transitions.duration.shortest,()=>{$.current=!1})}),pt=Ye=>{$.current&&Ye.type!=="touchstart"||(z&&z.removeAttribute("title"),ge.clear(),ie.clear(),P||td&&A?ge.start(td?A:P,()=>{Pt(Ye)}):Pt(Ye))},ut=Ye=>{ge.clear(),ie.start(C,()=>{Be(Ye)})},[,ht]=g.useState(!1),At=Ye=>{ol(Ye.target)||(ht(!1),ut(Ye))},Fe=Ye=>{z||G(Ye.currentTarget),ol(Ye.target)&&(ht(!0),pt(Ye))},Tt=Ye=>{$.current=!0;const Vt=_.props;Vt.onTouchStart&&Vt.onTouchStart(Ye)},N=Ye=>{Tt(Ye),ie.clear(),se.clear(),Ge(),ve.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Ae.start(x,()=>{document.body.style.WebkitUserSelect=ve.current,pt(Ye)})},te=Ye=>{_.props.onTouchEnd&&_.props.onTouchEnd(Ye),Ge(),ie.start(k,()=>{Be(Ye)})};g.useEffect(()=>{if(!me)return;function Ye(Vt){Vt.key==="Escape"&&Be(Vt)}return document.addEventListener("keydown",Ye),()=>{document.removeEventListener("keydown",Ye)}},[Be,me]);const oe=fn(mi(_),G,n);!B&&B!==0&&(me=!1);const xe=g.useRef(),we=Ye=>{const Vt=_.props;Vt.onMouseMove&&Vt.onMouseMove(Ye),vc={x:Ye.clientX,y:Ye.clientY},xe.current&&xe.current.update()},be={},Se=typeof B=="string";d?(be.title=!me&&Se&&!m?B:null,be["aria-describedby"]=me?Ne:null):(be["aria-label"]=Se?B:null,be["aria-labelledby"]=me&&!Se?Ne:null);const Ce={...be,...F,..._.props,className:De(F.className,_.props.className),onTouchStart:Tt,ref:oe,...D?{onMouseMove:we}:{}},ft={};w||(Ce.onTouchStart=N,Ce.onTouchEnd=te),m||(Ce.onMouseOver=nd(pt,Ce.onMouseOver),Ce.onMouseLeave=nd(ut,Ce.onMouseLeave),re||(ft.onMouseOver=pt,ft.onMouseLeave=ut)),p||(Ce.onFocus=nd(Fe,Ce.onFocus),Ce.onBlur=nd(At,Ce.onBlur),re||(ft.onFocus=Fe,ft.onBlur=At));const St={...r,isRtl:U,arrow:s,disableInteractive:re,placement:E,PopperComponentProp:L,touch:$.current},Xe=typeof V.popper=="function"?V.popper(St):V.popper,K=g.useMemo(()=>{let Ye=[{name:"arrow",enabled:!!I,options:{element:I,padding:4}}];return H.popperOptions?.modifiers&&(Ye=Ye.concat(H.popperOptions.modifiers)),Xe?.popperOptions?.modifiers&&(Ye=Ye.concat(Xe.popperOptions.modifiers)),{...H.popperOptions,...Xe?.popperOptions,modifiers:Ye}},[I,H.popperOptions,Xe?.popperOptions]),Q=BT(St),Pe=typeof V.transition=="function"?V.transition(St):V.transition,ke={slots:{popper:c.Popper,transition:c.Transition??J,tooltip:c.Tooltip,arrow:c.Arrow,...X},slotProps:{arrow:V.arrow??f.arrow,popper:{...H,...Xe??f.popper},tooltip:V.tooltip??f.tooltip,transition:{...q,...Pe??f.transition}}},[Re,Te]=ct("popper",{elementType:NT,externalForwardedProps:ke,ownerState:St,className:De(Q.popper,H?.className)}),[Ue,Ie]=ct("transition",{elementType:tu,externalForwardedProps:ke,ownerState:St}),[st,dt]=ct("tooltip",{elementType:VT,className:Q.tooltip,externalForwardedProps:ke,ownerState:St}),[It,Gt]=ct("arrow",{elementType:XT,className:Q.arrow,externalForwardedProps:ke,ownerState:St,ref:Z});return v.jsxs(g.Fragment,{children:[g.cloneElement(_,Ce),v.jsx(Re,{as:L??jp,placement:E,anchorEl:D?{getBoundingClientRect:()=>({top:vc.y,left:vc.x,right:vc.x,bottom:vc.y,width:0,height:0})}:z,popperRef:xe,open:z?me:!1,id:Ne,transition:!0,...ft,...Te,popperOptions:K,children:({TransitionProps:Ye})=>v.jsx(Ue,{timeout:Y.transitions.duration.shorter,...Ye,...Ie,children:v.jsxs(st,{...dt,children:[B,s?v.jsx(It,{...Gt}):null]})})})]})}),ls=E7({createStyledComponent:fe("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>ot({props:e,name:"MuiStack"})});function FT(e){return Qe("MuiSwitch",e)}const fr=Ke("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),WT=e=>{const{classes:t,edge:n,size:r,color:s,checked:a,disabled:l}=e,c={root:["root",n&&`edge${pe(n)}`,`size${pe(r)}`],switchBase:["switchBase",`color${pe(s)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},f=_e(c,FT,t);return{...t,...f}},JT=fe("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${pe(n.edge)}`],t[`size${pe(n.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${fr.thumb}`]:{width:16,height:16},[`& .${fr.switchBase}`]:{padding:4,[`&.${fr.checked}`]:{transform:"translateX(16px)"}}}}]}),qT=fe(Ay,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${fr.input}`]:t.input},n.color!=="default"&&t[`color${pe(n.color)}`]]}})(rt(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${fr.checked}`]:{transform:"translateX(20px)"},[`&.${fr.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${fr.checked} + .${fr.track}`]:{opacity:.5},[`&.${fr.disabled} + .${fr.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${fr.input}`]:{left:"-100%",width:"300%"}})),rt(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(vn(["light"])).map(([t])=>({props:{color:t},style:{[`&.${fr.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${fr.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?Ki(e.palette[t].main,.62):Qi(e.palette[t].main,.55)}`}},[`&.${fr.checked} + .${fr.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),UT=fe("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(rt(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),YT=fe("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(rt(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),u2=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiSwitch"}),{className:s,color:a="primary",edge:l=!1,size:c="medium",sx:f,slots:d={},slotProps:p={},...m}=r,b={...r,color:a,edge:l,size:c},w=WT(b),P={slots:d,slotProps:p},[A,x]=ct("root",{className:De(w.root,s),elementType:JT,externalForwardedProps:P,ownerState:b,additionalProps:{sx:f}}),[D,j]=ct("thumb",{className:w.thumb,elementType:YT,externalForwardedProps:P,ownerState:b}),C=v.jsx(D,{...j}),[k,O]=ct("track",{className:w.track,elementType:UT,externalForwardedProps:P,ownerState:b});return v.jsxs(A,{...x,children:[v.jsx(qT,{type:"checkbox",icon:C,checkedIcon:C,ref:n,ownerState:b,...m,classes:{...w,root:w.switchBase},slots:{...d.switchBase&&{root:d.switchBase},...d.input&&{input:d.input}},slotProps:{...p.switchBase&&{root:typeof p.switchBase=="function"?p.switchBase(b):p.switchBase},...p.input&&{input:typeof p.input=="function"?p.input(b):p.input}}}),v.jsx(k,{...O})]})}),f2=g.createContext();function GT(e){return Qe("MuiTable",e)}Ke("MuiTable",["root","stickyHeader"]);const ZT=e=>{const{classes:t,stickyHeader:n}=e;return _e({root:["root",n&&"stickyHeader"]},GT,t)},QT=fe("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(rt(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),Xx="table",d2=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiTable"}),{className:s,component:a=Xx,padding:l="normal",size:c="medium",stickyHeader:f=!1,...d}=r,p={...r,component:a,padding:l,size:c,stickyHeader:f},m=ZT(p),b=g.useMemo(()=>({padding:l,size:c,stickyHeader:f}),[l,c,f]);return v.jsx(f2.Provider,{value:b,children:v.jsx(QT,{as:a,role:a===Xx?null:"table",ref:n,className:De(m.root,s),ownerState:p,...d})})}),xu=g.createContext();function KT(e){return Qe("MuiTableBody",e)}Ke("MuiTableBody",["root"]);const _T=e=>{const{classes:t}=e;return _e({root:["root"]},KT,t)},$T=fe("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),e6={variant:"body"},Fx="tbody",p2=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiTableBody"}),{className:s,component:a=Fx,...l}=r,c={...r,component:a},f=_T(c);return v.jsx(xu.Provider,{value:e6,children:v.jsx($T,{className:De(f.root,s),as:a,ref:n,role:a===Fx?null:"rowgroup",ownerState:c,...l})})});function t6(e){return Qe("MuiTableCell",e)}const n6=Ke("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),r6=e=>{const{classes:t,variant:n,align:r,padding:s,size:a,stickyHeader:l}=e,c={root:["root",n,l&&"stickyHeader",r!=="inherit"&&`align${pe(r)}`,s!=="normal"&&`padding${pe(s)}`,`size${pe(a)}`]};return _e(c,t6,t)},o6=fe("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${pe(n.size)}`],n.padding!=="normal"&&t[`padding${pe(n.padding)}`],n.align!=="inherit"&&t[`align${pe(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(rt(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid + ${e.palette.mode==="light"?Ki(xt(e.palette.divider,1),.88):Qi(xt(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${n6.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),dr=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiTableCell"}),{align:s="inherit",className:a,component:l,padding:c,scope:f,size:d,sortDirection:p,variant:m,...b}=r,w=g.useContext(f2),P=g.useContext(xu),A=P&&P.variant==="head";let x;l?x=l:x=A?"th":"td";let D=f;x==="td"?D=void 0:!D&&A&&(D="col");const j=m||P&&P.variant,C={...r,align:s,component:x,padding:c||(w&&w.padding?w.padding:"normal"),size:d||(w&&w.size?w.size:"medium"),sortDirection:p,stickyHeader:j==="head"&&w&&w.stickyHeader,variant:j},k=r6(C);let O=null;return p&&(O=p==="asc"?"ascending":"descending"),v.jsx(o6,{as:x,ref:n,className:De(k.root,a),"aria-sort":O,scope:D,ownerState:C,...b})});function s6(e){return Qe("MuiTableContainer",e)}Ke("MuiTableContainer",["root"]);const i6=e=>{const{classes:t}=e;return _e({root:["root"]},s6,t)},a6=fe("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),h2=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiTableContainer"}),{className:s,component:a="div",...l}=r,c={...r,component:a},f=i6(c);return v.jsx(a6,{ref:n,as:a,className:De(f.root,s),ownerState:c,...l})});function l6(e){return Qe("MuiTableFooter",e)}Ke("MuiTableFooter",["root"]);const c6=e=>{const{classes:t}=e;return _e({root:["root"]},l6,t)},u6=fe("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),f6={variant:"footer"},Wx="tfoot",d6=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiTableFooter"}),{className:s,component:a=Wx,...l}=r,c={...r,component:a},f=c6(c);return v.jsx(xu.Provider,{value:f6,children:v.jsx(u6,{as:a,className:De(f.root,s),ref:n,role:a===Wx?null:"rowgroup",ownerState:c,...l})})});function p6(e){return Qe("MuiTableHead",e)}Ke("MuiTableHead",["root"]);const h6=e=>{const{classes:t}=e;return _e({root:["root"]},p6,t)},v6=fe("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),m6={variant:"head"},Jx="thead",g6=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiTableHead"}),{className:s,component:a=Jx,...l}=r,c={...r,component:a},f=h6(c);return v.jsx(xu.Provider,{value:m6,children:v.jsx(v6,{as:a,className:De(f.root,s),ref:n,role:a===Jx?null:"rowgroup",ownerState:c,...l})})});function y6(e){return Qe("MuiToolbar",e)}Ke("MuiToolbar",["root","gutters","regular","dense"]);const A6=e=>{const{classes:t,disableGutters:n,variant:r}=e;return _e({root:["root",!n&&"gutters",r]},y6,t)},b6=fe("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(rt(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),v2=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiToolbar"}),{className:s,component:a="div",disableGutters:l=!1,variant:c="regular",...f}=r,d={...r,component:a,disableGutters:l,variant:c},p=A6(d);return v.jsx(b6,{as:a,className:De(p.root,s),ref:n,ownerState:d,...f})}),P6=wt(v.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),w6=wt(v.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),x6=g.forwardRef(function(t,n){const{backIconButtonProps:r,count:s,disabled:a=!1,getItemAriaLabel:l,nextIconButtonProps:c,onPageChange:f,page:d,rowsPerPage:p,showFirstButton:m,showLastButton:b,slots:w={},slotProps:P={},...A}=t,x=yu(),D=G=>{f(G,0)},j=G=>{f(G,d-1)},C=G=>{f(G,d+1)},k=G=>{f(G,Math.max(0,Math.ceil(s/p)-1))},O=w.firstButton??Pr,T=w.lastButton??Pr,M=w.nextButton??Pr,E=w.previousButton??Pr,L=w.firstButtonIcon??$R,H=w.lastButtonIcon??eT,V=w.nextButtonIcon??w6,X=w.previousButtonIcon??P6,B=x?T:O,J=x?M:E,q=x?E:M,F=x?O:T,_=x?P.lastButton:P.firstButton,Y=x?P.nextButton:P.previousButton,U=x?P.previousButton:P.nextButton,z=x?P.firstButton:P.lastButton;return v.jsxs("div",{ref:n,...A,children:[m&&v.jsx(B,{onClick:D,disabled:a||d===0,"aria-label":l("first",d),title:l("first",d),..._,children:x?v.jsx(H,{...P.lastButtonIcon}):v.jsx(L,{...P.firstButtonIcon})}),v.jsx(J,{onClick:j,disabled:a||d===0,color:"inherit","aria-label":l("previous",d),title:l("previous",d),...Y??r,children:x?v.jsx(V,{...P.nextButtonIcon}):v.jsx(X,{...P.previousButtonIcon})}),v.jsx(q,{onClick:C,disabled:a||(s!==-1?d>=Math.ceil(s/p)-1:!1),color:"inherit","aria-label":l("next",d),title:l("next",d),...U??c,children:x?v.jsx(X,{...P.previousButtonIcon}):v.jsx(V,{...P.nextButtonIcon})}),b&&v.jsx(F,{onClick:k,disabled:a||d>=Math.ceil(s/p)-1,"aria-label":l("last",d),title:l("last",d),...z,children:x?v.jsx(L,{...P.firstButtonIcon}):v.jsx(H,{...P.lastButtonIcon})})]})});function S6(e){return Qe("MuiTablePagination",e)}const Wc=Ke("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var qx;const C6=fe(dr,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(rt(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),H6=fe(v2,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${Wc.actions}`]:t.actions,...t.toolbar})})(rt(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${Wc.actions}`]:{flexShrink:0,marginLeft:20}}))),j6=fe("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),k6=fe("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(rt(({theme:e})=>({...e.typography.body2,flexShrink:0}))),D6=fe(ou,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${Wc.selectIcon}`]:t.selectIcon,[`& .${Wc.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${Wc.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),O6=fe(ns,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),z6=fe("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(rt(({theme:e})=>({...e.typography.body2,flexShrink:0})));function E6({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function R6(e){return`Go to ${e} page`}const T6=e=>{const{classes:t}=e;return _e({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},S6,t)},M6=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiTablePagination"}),{ActionsComponent:s=x6,backIconButtonProps:a,colSpan:l,component:c=dr,count:f,disabled:d=!1,getItemAriaLabel:p=R6,labelDisplayedRows:m=E6,labelRowsPerPage:b="Rows per page:",nextIconButtonProps:w,onPageChange:P,onRowsPerPageChange:A,page:x,rowsPerPage:D,rowsPerPageOptions:j=[10,25,50,100],SelectProps:C={},showFirstButton:k=!1,showLastButton:O=!1,slotProps:T={},slots:M={},...E}=r,L=r,H=T6(L),V=T?.select??C,X=V.native?"option":O6;let B;(c===dr||c==="td")&&(B=l||1e3);const J=uo(V.id),q=uo(V.labelId),F=()=>f===-1?(x+1)*D:D===-1?f:Math.min(f,(x+1)*D),_={slots:M,slotProps:T},[Y,U]=ct("root",{ref:n,className:H.root,elementType:C6,externalForwardedProps:{..._,component:c,...E},ownerState:L,additionalProps:{colSpan:B}}),[z,G]=ct("toolbar",{className:H.toolbar,elementType:H6,externalForwardedProps:_,ownerState:L}),[I,Z]=ct("spacer",{className:H.spacer,elementType:j6,externalForwardedProps:_,ownerState:L}),[$,re]=ct("selectLabel",{className:H.selectLabel,elementType:k6,externalForwardedProps:_,ownerState:L,additionalProps:{id:q}}),[se,ge]=ct("select",{className:H.select,elementType:D6,externalForwardedProps:_,ownerState:L}),[ie,Ae]=ct("menuItem",{className:H.menuItem,elementType:X,externalForwardedProps:_,ownerState:L}),[Oe,Ee]=ct("displayedRows",{className:H.displayedRows,elementType:z6,externalForwardedProps:_,ownerState:L});return v.jsx(Y,{...U,children:v.jsxs(z,{...G,children:[v.jsx(I,{...Z}),j.length>1&&v.jsx($,{...re,children:b}),j.length>1&&v.jsx(se,{variant:"standard",...!V.variant&&{input:qx||(qx=v.jsx(Rp,{}))},value:D,onChange:A,id:J,labelId:q,...V,classes:{...V.classes,root:De(H.input,H.selectRoot,(V.classes||{}).root),select:De(H.select,(V.classes||{}).select),icon:De(H.selectIcon,(V.classes||{}).icon)},disabled:d,...ge,children:j.map(me=>g.createElement(ie,{...Ae,key:me.label?me.label:me,value:me.value?me.value:me},me.label?me.label:me))}),v.jsx(Oe,{...Ee,children:m({from:f===0?0:x*D+1,to:F(),count:f===-1?-1:f,page:x})}),v.jsx(s,{className:H.actions,backIconButtonProps:a,count:f,nextIconButtonProps:w,onPageChange:P,page:x,rowsPerPage:D,showFirstButton:k,showLastButton:O,slotProps:T.actions,slots:M.actions,getItemAriaLabel:p,disabled:d})]})})});function L6(e){return Qe("MuiTableRow",e)}const Ux=Ke("MuiTableRow",["root","selected","hover","head","footer"]),I6=e=>{const{classes:t,selected:n,hover:r,head:s,footer:a}=e;return _e({root:["root",n&&"selected",r&&"hover",s&&"head",a&&"footer"]},L6,t)},B6=fe("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(rt(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${Ux.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Ux.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xt(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),Yx="tr",Ud=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiTableRow"}),{className:s,component:a=Yx,hover:l=!1,selected:c=!1,...f}=r,d=g.useContext(xu),p={...r,component:a,hover:l,selected:c,head:d&&d.variant==="head",footer:d&&d.variant==="footer"},m=I6(p);return v.jsx(B6,{as:a,ref:n,className:De(m.root,s),role:a===Yx?null:"row",ownerState:p,...f})});function N6(e){return Qe("MuiTextField",e)}Ke("MuiTextField",["root"]);const V6={standard:wy,filled:Py,outlined:Sy},X6=e=>{const{classes:t}=e;return _e({root:["root"]},N6,t)},F6=fe(ur,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Br=g.forwardRef(function(t,n){const r=ot({props:t,name:"MuiTextField"}),{autoComplete:s,autoFocus:a=!1,children:l,className:c,color:f="primary",defaultValue:d,disabled:p=!1,error:m=!1,FormHelperTextProps:b,fullWidth:w=!1,helperText:P,id:A,InputLabelProps:x,inputProps:D,InputProps:j,inputRef:C,label:k,maxRows:O,minRows:T,multiline:M=!1,name:E,onBlur:L,onChange:H,onFocus:V,placeholder:X,required:B=!1,rows:J,select:q=!1,SelectProps:F,slots:_={},slotProps:Y={},type:U,value:z,variant:G="outlined",...I}=r,Z={...r,autoFocus:a,color:f,disabled:p,error:m,fullWidth:w,multiline:M,required:B,select:q,variant:G},$=X6(Z),re=uo(A),se=P&&re?`${re}-helper-text`:void 0,ge=k&&re?`${re}-label`:void 0,ie=V6[G],Ae={slots:_,slotProps:{input:j,inputLabel:x,htmlInput:D,formHelperText:b,select:F,...Y}},Oe={},Ee=Ae.slotProps.inputLabel;G==="outlined"&&(Ee&&typeof Ee.shrink<"u"&&(Oe.notched=Ee.shrink),Oe.label=k),q&&((!F||!F.native)&&(Oe.id=void 0),Oe["aria-describedby"]=void 0);const[me,Ne]=ct("root",{elementType:F6,shouldForwardComponentProp:!0,externalForwardedProps:{...Ae,...I},ownerState:Z,className:De($.root,c),ref:n,additionalProps:{disabled:p,error:m,fullWidth:w,required:B,color:f,variant:G}}),[ve,Ge]=ct("input",{elementType:ie,externalForwardedProps:Ae,additionalProps:Oe,ownerState:Z}),[Pt,Be]=ct("inputLabel",{elementType:Cd,externalForwardedProps:Ae,ownerState:Z}),[pt,ut]=ct("htmlInput",{elementType:"input",externalForwardedProps:Ae,ownerState:Z}),[ht,At]=ct("formHelperText",{elementType:Ua,externalForwardedProps:Ae,ownerState:Z}),[Fe,Tt]=ct("select",{elementType:ou,externalForwardedProps:Ae,ownerState:Z}),N=v.jsx(ve,{"aria-describedby":se,autoComplete:s,autoFocus:a,defaultValue:d,fullWidth:w,multiline:M,name:E,rows:J,maxRows:O,minRows:T,type:U,value:z,id:re,inputRef:C,onBlur:L,onChange:H,onFocus:V,placeholder:X,inputProps:ut,slots:{input:_.htmlInput?pt:void 0},...Ge});return v.jsxs(me,{...Ne,children:[k!=null&&k!==""&&v.jsx(Pt,{htmlFor:re,id:ge,...Be,children:k}),q?v.jsx(Fe,{"aria-describedby":se,id:re,labelId:ge,value:z,input:N,...Tt,children:l}):N,P&&v.jsx(ht,{id:se,...At,children:P})]})}),Hn="/hub",Tp="/services/japps",W6=["Any","Owned by me","Shared with me"],J6=["Recently modified","Name: A-Z","Name: Z-A"],q6=["Running","Ready","Pending","Unknown"],jy="startAppId";var yl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},U6=class extends yl{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},ky=new U6,Y6={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},G6=class{#e=Y6;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},Wi=new G6;function Z6(e){setTimeout(e,0)}var Q6=typeof window>"u"||"Deno"in globalThis;function pr(){}function K6(e,t){return typeof e=="function"?e(t):e}function lg(e){return typeof e=="number"&&e>=0&&e!==1/0}function m2(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ui(e,t){return typeof e=="function"?e(t):e}function Nr(e,t){return typeof e=="function"?e(t):e}function Gx(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:a,queryKey:l,stale:c}=e;if(l){if(r){if(t.queryHash!==Dy(l,t.options))return!1}else if(!su(t.queryKey,l))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||s&&s!==t.state.fetchStatus||a&&!a(t))}function Zx(e,t){const{exact:n,status:r,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(ea(t.options.mutationKey)!==ea(a))return!1}else if(!su(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function Dy(e,t){return(t?.queryKeyHashFn||ea)(e)}function ea(e){return JSON.stringify(e,(t,n)=>cg(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function su(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>su(e[n],t[n])):!1}var _6=Object.prototype.hasOwnProperty;function g2(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=Qx(e)&&Qx(t);if(!r&&!(cg(e)&&cg(t)))return t;const a=(r?e:Object.keys(e)).length,l=r?t:Object.keys(t),c=l.length,f=r?new Array(c):{};let d=0;for(let p=0;p{Wi.setTimeout(t,e)})}function ug(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?g2(e,t):t}function eM(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function tM(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Oy=Symbol();function y2(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Oy?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function zy(e,t){return typeof e=="function"?e(...t):!!e}function nM(e,t,n){let r=!1,s;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??=t(),r||(r=!0,s.aborted?n():s.addEventListener("abort",n,{once:!0})),s)}),e}var iu=(()=>{let e=()=>Q6;return{isServer(){return e()},setIsServer(t){e=t}}})();function fg(){let e,t;const n=new Promise((s,a)=>{e=s,t=a});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}var rM=Z6;function oM(){let e=[],t=0,n=c=>{c()},r=c=>{c()},s=rM;const a=c=>{t?e.push(c):s(()=>{n(c)})},l=()=>{const c=e;e=[],c.length&&s(()=>{r(()=>{c.forEach(f=>{n(f)})})})};return{batch:c=>{let f;t++;try{f=c()}finally{t--,t||l()}return f},batchCalls:c=>(...f)=>{a(()=>{c(...f)})},schedule:a,setNotifyFunction:c=>{n=c},setBatchNotifyFunction:c=>{r=c},setScheduler:c=>{s=c}}}var Vn=oM(),sM=class extends yl{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#e}},Gd=new sM;function iM(e){return Math.min(1e3*2**e,3e4)}function A2(e){return(e??"online")==="online"?Gd.isOnline():!0}var dg=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function b2(e){let t=!1,n=0,r;const s=fg(),a=()=>s.status!=="pending",l=A=>{if(!a()){const x=new dg(A);b(x),e.onCancel?.(x)}},c=()=>{t=!0},f=()=>{t=!1},d=()=>ky.isFocused()&&(e.networkMode==="always"||Gd.isOnline())&&e.canRun(),p=()=>A2(e.networkMode)&&e.canRun(),m=A=>{a()||(r?.(),s.resolve(A))},b=A=>{a()||(r?.(),s.reject(A))},w=()=>new Promise(A=>{r=x=>{(a()||d())&&A(x)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),P=()=>{if(a())return;let A;const x=n===0?e.initialPromise:void 0;try{A=x??e.fn()}catch(D){A=Promise.reject(D)}Promise.resolve(A).then(m).catch(D=>{if(a())return;const j=e.retry??(iu.isServer()?0:3),C=e.retryDelay??iM,k=typeof C=="function"?C(n,D):C,O=j===!0||typeof j=="number"&&nd()?void 0:w()).then(()=>{t?b(D):P()})})};return{promise:s,status:()=>s.status,cancel:l,continue:()=>(r?.(),s),cancelRetry:c,continueRetry:f,canStart:p,start:()=>(p()?P():w().then(P),s)}}var P2=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),lg(this.gcTime)&&(this.#e=Wi.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(iu.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(Wi.clearTimeout(this.#e),this.#e=void 0)}};function aM(e){return{onFetch:(t,n)=>{const r=t.options,s=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],l=t.state.data?.pageParams||[];let c={pages:[],pageParams:[]},f=0;const d=async()=>{let p=!1;const m=P=>{nM(P,()=>t.signal,()=>p=!0)},b=y2(t.options,t.fetchOptions),w=async(P,A,x)=>{if(p)return Promise.reject(t.signal.reason);if(A==null&&P.pages.length)return Promise.resolve(P);const j=(()=>{const T={client:t.client,queryKey:t.queryKey,pageParam:A,direction:x?"backward":"forward",meta:t.options.meta};return m(T),T})(),C=await b(j),{maxPages:k}=t.options,O=x?tM:eM;return{pages:O(P.pages,C,k),pageParams:O(P.pageParams,A,k)}};if(s&&a.length){const P=s==="backward",A=P?lM:_x,x={pages:a,pageParams:l},D=A(r,x);c=await w(x,D,P)}else{const P=e??a.length;do{const A=f===0?l[0]??r.initialPageParam:_x(r,c);if(f>0&&A==null)break;c=await w(c,A),f++}while(ft.options.persister?.(d,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=d}}}function _x(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function lM(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var cM=class extends P2{#e;#t;#n;#r;#s;#o;#a;#i;constructor(e){super(),this.#i=!1,this.#a=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#s=e.client,this.#r=this.#s.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=e8(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#o?.promise}setOptions(e){if(this.options={...this.#a,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=e8(this.options);t.data!==void 0&&(this.setState($x(t.data,t.dataUpdatedAt)),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#r.remove(this)}setData(e,t){const n=ug(this.state.data,e,this.options);return this.#l({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:"setState",state:e})}cancel(e){const t=this.#o?.promise;return this.#o?.cancel(e),t?t.then(pr).catch(pr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>Nr(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Oy||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>ui(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!m2(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#o?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#o?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#o&&(this.#i||this.#u()?this.#o.cancel({revert:!0}):this.#o.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#o?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#o)return this.#o.continueRetry(),this.#o.promise}if(e&&this.setOptions(e),!this.options.queryFn){const f=this.observers.find(d=>d.options.queryFn);f&&this.setOptions(f.options)}const n=new AbortController,r=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(this.#i=!0,n.signal)})},s=()=>{const f=y2(this.options,t),p=(()=>{const m={client:this.#s,queryKey:this.queryKey,meta:this.meta};return r(m),m})();return this.#i=!1,this.options.persister?this.options.persister(f,p,this):f(p)},l=(()=>{const f={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#s,state:this.state,fetchFn:s};return r(f),f})();(this.#e==="infinite"?aM(this.options.pages):this.options.behavior)?.onFetch(l,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#l({type:"fetch",meta:l.fetchOptions?.meta}),this.#o=b2({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:f=>{f instanceof dg&&f.revert&&this.setState({...this.#n,fetchStatus:"idle"}),n.abort()},onFail:(f,d)=>{this.#l({type:"failed",failureCount:f,error:d})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{const f=await this.#o.start();if(f===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(f),this.#r.config.onSuccess?.(f,this),this.#r.config.onSettled?.(f,this.state.error,this),f}catch(f){if(f instanceof dg){if(f.silent)return this.#o.promise;if(f.revert){if(this.state.data===void 0)throw f;return this.state.data}}throw this.#l({type:"error",error:f}),this.#r.config.onError?.(f,this),this.#r.config.onSettled?.(this.state.data,f,this),f}finally{this.scheduleGc()}}#l(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...w2(n.data,this.options),fetchMeta:e.meta??null};case"success":const r={...n,...$x(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?r:void 0,r;case"error":const s=e.error;return{...n,error:s,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),Vn.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function w2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:A2(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function $x(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function e8(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var uM=class extends yl{constructor(e,t){super(),this.options=t,this.#e=e,this.#i=null,this.#a=fg(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#s;#o;#a;#i;#u;#l;#h;#f;#d;#c;#v=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),t8(this.#t,this.options)?this.#p():this.updateResult(),this.#A())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return pg(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return pg(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#P(),this.#t.removeObserver(this)}setOptions(e){const t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Nr(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#w(),this.#t.setOptions(this.options),t._defaulted&&!Yd(this.options,t)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const r=this.hasListeners();r&&n8(this.#t,n,this.options,t)&&this.#p(),this.updateResult(),r&&(this.#t!==n||Nr(this.options.enabled,this.#t)!==Nr(t.enabled,this.#t)||ui(this.options.staleTime,this.#t)!==ui(t.staleTime,this.#t))&&this.#m();const s=this.#g();r&&(this.#t!==n||Nr(this.options.enabled,this.#t)!==Nr(t.enabled,this.#t)||s!==this.#c)&&this.#y(s)}getOptimisticResult(e){const t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return dM(this,n)&&(this.#r=n,this.#o=this.options,this.#s=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(n,r)=>(this.trackProp(r),t?.(r),r==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#a.status==="pending"&&this.#a.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(n,r))})}trackProp(e){this.#v.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#p({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#p(e){this.#w();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(pr)),t}#m(){this.#b();const e=ui(this.options.staleTime,this.#t);if(iu.isServer()||this.#r.isStale||!lg(e))return;const n=m2(this.#r.dataUpdatedAt,e)+1;this.#f=Wi.setTimeout(()=>{this.#r.isStale||this.updateResult()},n)}#g(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#y(e){this.#P(),this.#c=e,!(iu.isServer()||Nr(this.options.enabled,this.#t)===!1||!lg(this.#c)||this.#c===0)&&(this.#d=Wi.setInterval(()=>{(this.options.refetchIntervalInBackground||ky.isFocused())&&this.#p()},this.#c))}#A(){this.#m(),this.#y(this.#g())}#b(){this.#f!==void 0&&(Wi.clearTimeout(this.#f),this.#f=void 0)}#P(){this.#d!==void 0&&(Wi.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){const n=this.#t,r=this.options,s=this.#r,a=this.#s,l=this.#o,f=e!==n?e.state:this.#n,{state:d}=e;let p={...d},m=!1,b;if(t._optimisticResults){const E=this.hasListeners(),L=!E&&t8(e,t),H=E&&n8(e,n,t,r);(L||H)&&(p={...p,...w2(d.data,e.options)}),t._optimisticResults==="isRestoring"&&(p.fetchStatus="idle")}let{error:w,errorUpdatedAt:P,status:A}=p;b=p.data;let x=!1;if(t.placeholderData!==void 0&&b===void 0&&A==="pending"){let E;s?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(E=s.data,x=!0):E=typeof t.placeholderData=="function"?t.placeholderData(this.#h?.state.data,this.#h):t.placeholderData,E!==void 0&&(A="success",b=ug(s?.data,E,t),m=!0)}if(t.select&&b!==void 0&&!x)if(s&&b===a?.data&&t.select===this.#u)b=this.#l;else try{this.#u=t.select,b=t.select(b),b=ug(s?.data,b,t),this.#l=b,this.#i=null}catch(E){this.#i=E}this.#i&&(w=this.#i,b=this.#l,P=Date.now(),A="error");const D=p.fetchStatus==="fetching",j=A==="pending",C=A==="error",k=j&&D,O=b!==void 0,M={status:A,fetchStatus:p.fetchStatus,isPending:j,isSuccess:A==="success",isError:C,isInitialLoading:k,isLoading:k,data:b,dataUpdatedAt:p.dataUpdatedAt,error:w,errorUpdatedAt:P,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:p.dataUpdateCount>f.dataUpdateCount||p.errorUpdateCount>f.errorUpdateCount,isFetching:D,isRefetching:D&&!j,isLoadingError:C&&!O,isPaused:p.fetchStatus==="paused",isPlaceholderData:m,isRefetchError:C&&O,isStale:Ey(e,t),refetch:this.refetch,promise:this.#a,isEnabled:Nr(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const E=M.data!==void 0,L=M.status==="error"&&!E,H=B=>{L?B.reject(M.error):E&&B.resolve(M.data)},V=()=>{const B=this.#a=M.promise=fg();H(B)},X=this.#a;switch(X.status){case"pending":e.queryHash===n.queryHash&&H(X);break;case"fulfilled":(L||M.data!==X.value)&&V();break;case"rejected":(!L||M.error!==X.reason)&&V();break}}return M}updateResult(){const e=this.#r,t=this.createResult(this.#t,this.options);if(this.#s=this.#t.state,this.#o=this.options,this.#s.data!==void 0&&(this.#h=this.#t),Yd(t,e))return;this.#r=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:r}=this.options,s=typeof r=="function"?r():r;if(s==="all"||!s&&!this.#v.size)return!0;const a=new Set(s??this.#v);return this.options.throwOnError&&a.add("error"),Object.keys(this.#r).some(l=>{const c=l;return this.#r[c]!==e[c]&&a.has(c)})};this.#x({listeners:n()})}#w(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#A()}#x(e){Vn.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function fM(e,t){return Nr(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&Nr(t.retryOnMount,e)===!1)}function t8(e,t){return fM(e,t)||e.state.data!==void 0&&pg(e,t,t.refetchOnMount)}function pg(e,t,n){if(Nr(t.enabled,e)!==!1&&ui(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Ey(e,t)}return!1}function n8(e,t,n,r){return(e!==t||Nr(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Ey(e,n)}function Ey(e,t){return Nr(t.enabled,e)!==!1&&e.isStaleByTime(ui(t.staleTime,e))}function dM(e,t){return!Yd(e.getCurrentResult(),t)}var pM=class extends P2{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||x2(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#s({type:"continue"})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=b2({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(a,l)=>{this.#s({type:"failed",failureCount:a,error:l})},onPause:()=>{this.#s({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",s=!this.#r.canStart();try{if(r)t();else{this.#s({type:"pending",variables:e,isPaused:s}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);const l=await this.options.onMutate?.(e,n);l!==this.state.context&&this.#s({type:"pending",context:l,variables:e,isPaused:s})}const a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#s({type:"success",data:a}),a}catch(a){try{await this.#n.config.onError?.(a,e,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onError?.(a,e,this.state.context,n)}catch(l){Promise.reject(l)}try{await this.#n.config.onSettled?.(void 0,a,this.state.variables,this.state.context,this,n)}catch(l){Promise.reject(l)}try{await this.options.onSettled?.(void 0,a,e,this.state.context,n)}catch(l){Promise.reject(l)}throw this.#s({type:"error",error:a}),a}finally{this.#n.runNext(this)}}#s(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Vn.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function x2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hM=class extends yl{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){const r=new pM({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);const t=rd(e);if(typeof t=="string"){const n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=rd(e);if(typeof t=="string"){const n=this.#t.get(t);if(n)if(n.length>1){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=rd(e);if(typeof t=="string"){const r=this.#t.get(t)?.find(s=>s.state.status==="pending");return!r||r===e}else return!0}runNext(e){const t=rd(e);return typeof t=="string"?this.#t.get(t)?.find(r=>r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Vn.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>Zx(t,n))}findAll(e={}){return this.getAll().filter(t=>Zx(e,t))}notify(e){Vn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return Vn.batch(()=>Promise.all(e.map(t=>t.continue().catch(pr))))}};function rd(e){return e.options.scope?.id}var vM=class extends yl{#e;#t=void 0;#n;#r;constructor(t,n){super(),this.#e=t,this.setOptions(n),this.bindMethods(),this.#s()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const n=this.options;this.options=this.#e.defaultMutationOptions(t),Yd(this.options,n)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&ea(n.mutationKey)!==ea(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#s(),this.#o(t)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#s(),this.#o()}mutate(t,n){return this.#r=n,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(t)}#s(){const t=this.#n?.state??x2();this.#t={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#o(t){Vn.batch(()=>{if(this.#r&&this.hasListeners()){const n=this.#t.variables,r=this.#t.context,s={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#r.onSuccess?.(t.data,n,r,s)}catch(a){Promise.reject(a)}try{this.#r.onSettled?.(t.data,null,n,r,s)}catch(a){Promise.reject(a)}}else if(t?.type==="error"){try{this.#r.onError?.(t.error,n,r,s)}catch(a){Promise.reject(a)}try{this.#r.onSettled?.(void 0,t.error,n,r,s)}catch(a){Promise.reject(a)}}}this.listeners.forEach(n=>{n(this.#t)})})}},mM=class extends yl{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){const r=t.queryKey,s=t.queryHash??Dy(r,t);let a=this.get(s);return a||(a=new cM({client:e,queryKey:r,queryHash:s,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Vn.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>Gx(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>Gx(e,n)):t}notify(e){Vn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Vn.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Vn.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},gM=class{#e;#t;#n;#r;#s;#o;#a;#i;constructor(e={}){this.#e=e.queryCache||new mM,this.#t=e.mutationCache||new hM,this.#n=e.defaultOptions||{},this.#r=new Map,this.#s=new Map,this.#o=0}mount(){this.#o++,this.#o===1&&(this.#a=ky.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#i=Gd.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#o--,this.#o===0&&(this.#a?.(),this.#a=void 0,this.#i?.(),this.#i=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(ui(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),a=this.#e.get(r.queryHash)?.state.data,l=K6(t,a);if(l!==void 0)return this.#e.build(this,r).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return Vn.batch(()=>this.#e.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;Vn.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#e;return Vn.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Vn.batch(()=>this.#e.findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(pr).catch(pr)}invalidateQueries(e,t={}){return Vn.batch(()=>(this.#e.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Vn.batch(()=>this.#e.findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let a=s.fetch(void 0,n);return n.throwOnError||(a=a.catch(pr)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(r).then(pr)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#e.build(this,t);return n.isStaleByTime(ui(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(pr).catch(pr)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(pr).catch(pr)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return Gd.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(ea(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(r=>{su(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){this.#s.set(ea(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#s.values()],n={};return t.forEach(r=>{su(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Dy(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Oy&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},S2=g.createContext(void 0),Mp=e=>{const t=g.useContext(S2);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},yM=({client:e,children:t})=>(g.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),v.jsx(S2.Provider,{value:e,children:t})),C2=g.createContext(!1),AM=()=>g.useContext(C2);C2.Provider;function bM(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var PM=g.createContext(bM()),wM=()=>g.useContext(PM),xM=(e,t,n)=>{const r=n?.state.error&&typeof e.throwOnError=="function"?zy(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},SM=e=>{g.useEffect(()=>{e.clearReset()},[e])},CM=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:s})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(s&&e.data===void 0||zy(n,[e.error,r])),HM=e=>{if(e.suspense){const n=s=>s==="static"?s:Math.max(s??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...s)=>n(r(...s)):n(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},jM=(e,t)=>e.isLoading&&e.isFetching&&!t,kM=(e,t)=>e?.suspense&&t.isPending,r8=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function DM(e,t,n){const r=AM(),s=wM(),a=Mp(),l=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(l);const c=a.getQueryCache().get(l.queryHash);l._optimisticResults=r?"isRestoring":"optimistic",HM(l),xM(l,s,c),SM(s);const f=!a.getQueryCache().get(l.queryHash),[d]=g.useState(()=>new t(a,l)),p=d.getOptimisticResult(l),m=!r&&e.subscribed!==!1;if(g.useSyncExternalStore(g.useCallback(b=>{const w=m?d.subscribe(Vn.batchCalls(b)):pr;return d.updateResult(),w},[d,m]),()=>d.getCurrentResult(),()=>d.getCurrentResult()),g.useEffect(()=>{d.setOptions(l)},[l,d]),kM(l,p))throw r8(l,d,s);if(CM({result:p,errorResetBoundary:s,throwOnError:l.throwOnError,query:c,suspense:l.suspense}))throw p.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(l,p),l.experimental_prefetchInRender&&!iu.isServer()&&jM(p,r)&&(f?r8(l,d,s):c?.promise)?.catch(pr).finally(()=>{d.updateResult()}),l.notifyOnChangeProps?p:d.trackResult(p)}function Qn(e,t){return DM(e,uM)}function ul(e,t){const n=Mp(),[r]=g.useState(()=>new vM(n,e));g.useEffect(()=>{r.setOptions(e)},[r,e]);const s=g.useSyncExternalStore(g.useCallback(l=>r.subscribe(Vn.batchCalls(l)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=g.useCallback((l,c)=>{r.mutate(l,c).catch(pr)},[r]);if(s.error&&zy(r.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:a,mutateAsync:s.mutate}}var od={},o8;function OM(){if(o8)return od;o8=1;var e=z1();return od.createRoot=e.createRoot,od.hydrateRoot=e.hydrateRoot,od}var zM=OM();const EM=ap(zM);var s8="popstate";function i8(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function RM(e={}){function t(r,s){let a=s.state?.masked,{pathname:l,search:c,hash:f}=a||r.location;return hg("",{pathname:l,search:c,hash:f},s.state&&s.state.usr||null,s.state&&s.state.key||"default",a?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,s){return typeof s=="string"?s:au(s)}return MM(t,n,null,e)}function mn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Mo(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function TM(){return Math.random().toString(36).substring(2,10)}function a8(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function hg(e,t,n=null,r,s){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Al(t):t,state:n,key:t&&t.key||r||TM(),unstable_mask:s}}function au({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Al(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function MM(e,t,n,r={}){let{window:s=document.defaultView,v5Compat:a=!1}=r,l=s.history,c="POP",f=null,d=p();d==null&&(d=0,l.replaceState({...l.state,idx:d},""));function p(){return(l.state||{idx:null}).idx}function m(){c="POP";let x=p(),D=x==null?null:x-d;d=x,f&&f({action:c,location:A.location,delta:D})}function b(x,D){c="PUSH";let j=i8(x)?x:hg(A.location,x,D);d=p()+1;let C=a8(j,d),k=A.createHref(j.unstable_mask||j);try{l.pushState(C,"",k)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;s.location.assign(k)}a&&f&&f({action:c,location:A.location,delta:1})}function w(x,D){c="REPLACE";let j=i8(x)?x:hg(A.location,x,D);d=p();let C=a8(j,d),k=A.createHref(j.unstable_mask||j);l.replaceState(C,"",k),a&&f&&f({action:c,location:A.location,delta:0})}function P(x){return LM(x)}let A={get action(){return c},get location(){return e(s,l)},listen(x){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(s8,m),f=x,()=>{s.removeEventListener(s8,m),f=null}},createHref(x){return t(s,x)},createURL:P,encodeLocation(x){let D=P(x);return{pathname:D.pathname,search:D.search,hash:D.hash}},push:b,replace:w,go(x){return l.go(x)}};return A}function LM(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),mn(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:au(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function H2(e,t,n="/"){return IM(e,t,n,!1)}function IM(e,t,n,r){let s=typeof t=="string"?Al(t):t,a=zs(s.pathname||"/",n);if(a==null)return null;let l=j2(e);BM(l);let c=null;for(let f=0;c==null&&f{let p={relativePath:d===void 0?l.path||"":d,caseSensitive:l.caseSensitive===!0,childrenIndex:c,route:l};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(r)&&f)return;mn(p.relativePath.startsWith(r),`Absolute route path "${p.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(r.length)}let m=Eo([r,p.relativePath]),b=n.concat(p);l.children&&l.children.length>0&&(mn(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),j2(l.children,t,b,m,f)),!(l.path==null&&!l.index)&&t.push({path:m,score:qM(m,l.index),routesMeta:b})};return e.forEach((l,c)=>{if(l.path===""||!l.path?.includes("?"))a(l,c);else for(let f of k2(l.path))a(l,c,!0,f)}),t}function k2(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return s?[a,""]:[a];let l=k2(r.join("/")),c=[];return c.push(...l.map(f=>f===""?a:[a,f].join("/"))),s&&c.push(...l),c.map(f=>e.startsWith("/")&&f===""?"/":f)}function BM(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:UM(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var NM=/^:[\w-]+$/,VM=3,XM=2,FM=1,WM=10,JM=-2,l8=e=>e==="*";function qM(e,t){let n=e.split("/"),r=n.length;return n.some(l8)&&(r+=JM),t&&(r+=XM),n.filter(s=>!l8(s)).reduce((s,a)=>s+(NM.test(a)?VM:a===""?FM:WM),r)}function UM(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function YM(e,t,n=!1){let{routesMeta:r}=e,s={},a="/",l=[];for(let c=0;c{if(p==="*"){let P=c[b]||"";l=a.slice(0,a.length-P.length).replace(/(.)\/+$/,"$1")}const w=c[b];return m&&!w?d[p]=void 0:d[p]=(w||"").replace(/%2F/g,"/"),d},{}),pathname:a,pathnameBase:l,pattern:e}}function GM(e,t=!1,n=!0){Mo(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,c,f,d,p)=>{if(r.push({paramName:c,isOptional:f!=null}),f){let m=p.charAt(d+l.length);return m&&m!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function ZM(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Mo(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function zs(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}var QM=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function KM(e,t="/"){let{pathname:n,search:r="",hash:s=""}=typeof e=="string"?Al(e):e,a;return n?(n=O2(n),n.startsWith("/")?a=c8(n.substring(1),"/"):a=c8(n,t)):a=t,{pathname:a,search:eL(r),hash:tL(s)}}function c8(e,t){let n=Qd(t).split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function vm(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function _M(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function D2(e){let t=_M(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Ry(e,t,n,r=!1){let s;typeof e=="string"?s=Al(e):(s={...e},mn(!s.pathname||!s.pathname.includes("?"),vm("?","pathname","search",s)),mn(!s.pathname||!s.pathname.includes("#"),vm("#","pathname","hash",s)),mn(!s.search||!s.search.includes("#"),vm("#","search","hash",s)));let a=e===""||s.pathname==="",l=a?"/":s.pathname,c;if(l==null)c=n;else{let m=t.length-1;if(!r&&l.startsWith("..")){let b=l.split("/");for(;b[0]==="..";)b.shift(),m-=1;s.pathname=b.join("/")}c=m>=0?t[m]:"/"}let f=KM(s,c),d=l&&l!=="/"&&l.endsWith("/"),p=(a||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(d||p)&&(f.pathname+="/"),f}var O2=e=>e.replace(/\/\/+/g,"/"),Eo=e=>O2(e.join("/")),Qd=e=>e.replace(/\/+$/,""),$M=e=>Qd(e).replace(/^\/*/,"/"),eL=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,tL=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,nL=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function rL(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function oL(e){let t=e.map(n=>n.route.path).filter(Boolean);return Eo(t)||"/"}var z2=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function E2(e,t){let n=e;if(typeof n!="string"||!QM.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,s=!1;if(z2)try{let a=new URL(window.location.href),l=n.startsWith("//")?new URL(a.protocol+n):new URL(n),c=zs(l.pathname,t);l.origin===a.origin&&c!=null?n=c+l.search+l.hash:s=!0}catch{Mo(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:s,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var R2=["POST","PUT","PATCH","DELETE"];new Set(R2);var sL=["GET",...R2];new Set(sL);var bl=g.createContext(null);bl.displayName="DataRouter";var Lp=g.createContext(null);Lp.displayName="DataRouterState";var T2=g.createContext(!1);function iL(){return g.useContext(T2)}var M2=g.createContext({isTransitioning:!1});M2.displayName="ViewTransition";var aL=g.createContext(new Map);aL.displayName="Fetchers";var lL=g.createContext(null);lL.displayName="Await";var vo=g.createContext(null);vo.displayName="Navigation";var Su=g.createContext(null);Su.displayName="Location";var Ts=g.createContext({outlet:null,matches:[],isDataRoute:!1});Ts.displayName="Route";var Ty=g.createContext(null);Ty.displayName="RouteError";var L2="REACT_ROUTER_ERROR",cL="REDIRECT",uL="ROUTE_ERROR_RESPONSE";function fL(e){if(e.startsWith(`${L2}:${cL}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function dL(e){if(e.startsWith(`${L2}:${uL}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new nL(t.status,t.statusText,t.data)}catch{}}function pL(e,{relative:t}={}){mn(Cu(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=g.useContext(vo),{hash:s,pathname:a,search:l}=Hu(e,{relative:t}),c=a;return n!=="/"&&(c=a==="/"?n:Eo([n,a])),r.createHref({pathname:c,search:l,hash:s})}function Cu(){return g.useContext(Su)!=null}function us(){return mn(Cu(),"useLocation() may be used only in the context of a component."),g.useContext(Su).location}var I2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function B2(e){g.useContext(vo).static||g.useLayoutEffect(e)}function Ip(){let{isDataRoute:e}=g.useContext(Ts);return e?HL():hL()}function hL(){mn(Cu(),"useNavigate() may be used only in the context of a component.");let e=g.useContext(bl),{basename:t,navigator:n}=g.useContext(vo),{matches:r}=g.useContext(Ts),{pathname:s}=us(),a=JSON.stringify(D2(r)),l=g.useRef(!1);return B2(()=>{l.current=!0}),g.useCallback((f,d={})=>{if(Mo(l.current,I2),!l.current)return;if(typeof f=="number"){n.go(f);return}let p=Ry(f,JSON.parse(a),s,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Eo([t,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[t,n,a,s,e])}g.createContext(null);function Hu(e,{relative:t}={}){let{matches:n}=g.useContext(Ts),{pathname:r}=us(),s=JSON.stringify(D2(n));return g.useMemo(()=>Ry(e,JSON.parse(s),r,t==="path"),[e,s,r,t])}function vL(e,t){return N2(e,t)}function N2(e,t,n){mn(Cu(),"useRoutes() may be used only in the context of a component.");let{navigator:r}=g.useContext(vo),{matches:s}=g.useContext(Ts),a=s[s.length-1],l=a?a.params:{},c=a?a.pathname:"/",f=a?a.pathnameBase:"/",d=a&&a.route;{let x=d&&d.path||"";X2(c,!d||x.endsWith("*")||x.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${c}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. -Please change the parent to .`)}let v=$o(),m;if(t){let x=typeof t=="string"?Ja(t):t;pn(f==="/"||x.pathname?.startsWith(f),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${x.pathname}" was given in the \`location\` prop.`),m=x}else m=v;let b=m.pathname||"/",S=b;if(f!=="/"){let x=f.replace(/^\//,"").split("/");S="/"+b.replace(/^\//,"").split("/").slice(x.length).join("/")}let P=J0(e,{pathname:S});zo(h||P!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),zo(P==null||P[P.length-1].route.element!==void 0||P[P.length-1].route.Component!==void 0||P[P.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let A=XT(P&&P.map(x=>Object.assign({},x,{params:Object.assign({},l,x.params),pathname:Co([f,r.encodeLocation?r.encodeLocation(x.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?f:Co([f,r.encodeLocation?r.encodeLocation(x.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:x.pathnameBase])})),s,n);return t&&A?y.createElement(Wc.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...m},navigationType:"POP"}},A):A}function IT(){let e=UT(),t=ST(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=y.createElement(y.Fragment,null,y.createElement("p",null,"💿 Hey developer 👋"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:a},"ErrorBoundary")," or"," ",y.createElement("code",{style:a},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),n?y.createElement("pre",{style:s},n):null,l)}var BT=y.createElement(IT,null),o1=class extends y.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=ET(e.digest);n&&(e=n)}let t=e!==void 0?y.createElement(ys.Provider,{value:this.props.routeContext},y.createElement(Cg.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?y.createElement(NT,{error:e},t):t}};o1.contextType=_0;var gv=new WeakMap;function NT({children:e,error:t}){let{basename:n}=y.useContext(lo);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=RT(t.digest);if(r){let s=gv.get(t);if(s)throw s;let a=Q0(r.location,n);if(Z0&&!gv.get(t))if(a.isExternal||r.reloadDocument)window.location.href=a.absoluteURL||a.to;else{const l=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:r.replace}));throw gv.set(t,l),l}return y.createElement("meta",{httpEquiv:"refresh",content:`0;url=${a.absoluteURL||a.to}`})}}return e}function VT({routeContext:e,match:t,children:n}){let r=y.useContext(qa);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),y.createElement(ys.Provider,{value:e},n)}function XT(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let s=e,a=r?.errors;if(a!=null){let v=s.findIndex(m=>m.route.id&&a?.[m.route.id]!==void 0);pn(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),s=s.slice(0,Math.min(s.length,v+1))}let l=!1,u=-1;if(n&&r){l=r.renderFallback;for(let v=0;v=0?s=s.slice(0,u+1):s=[s[0]];break}}}}let f=n?.onError,h=r&&f?(v,m)=>{f(v,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:HT(r.matches),errorInfo:m})}:void 0;return s.reduceRight((v,m,b)=>{let S,P=!1,A=null,x=null;r&&(S=a&&m.route.id?a[m.route.id]:void 0,A=m.route.errorElement||BT,l&&(u<0&&b===0?(s1("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),P=!0,x=null):u===b&&(P=!0,x=m.route.hydrateFallbackElement||null)));let z=t.concat(s.slice(0,b+1)),D=()=>{let C;return S?C=A:P?C=x:m.route.Component?C=y.createElement(m.route.Component,null):m.route.element?C=m.route.element:C=v,y.createElement(VT,{match:m,routeContext:{outlet:v,matches:z,isDataRoute:r!=null},children:C})};return r&&(m.route.ErrorBoundary||m.route.errorElement||b===0)?y.createElement(o1,{location:r.location,revalidation:r.revalidation,component:A,error:S,children:D(),routeContext:{outlet:null,matches:z,isDataRoute:!0},onError:h}):D()},null)}function jg(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function FT(e){let t=y.useContext(qa);return pn(t,jg(e)),t}function WT(e){let t=y.useContext(Wd);return pn(t,jg(e)),t}function JT(e){let t=y.useContext(ys);return pn(t,jg(e)),t}function Dg(e){let t=JT(e),n=t.matches[t.matches.length-1];return pn(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function qT(){return Dg("useRouteId")}function UT(){let e=y.useContext(Cg),t=WT("useRouteError"),n=Dg("useRouteError");return e!==void 0?e:t.errors?.[n]}function YT(){let{router:e}=FT("useNavigate"),t=Dg("useNavigate"),n=y.useRef(!1);return n1(()=>{n.current=!0}),y.useCallback(async(s,a={})=>{zo(n.current,t1),n.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:t,...a}))},[e,t])}var qw={};function s1(e,t,n){!t&&!qw[e]&&(qw[e]=!0,zo(!1,n))}y.memo(GT);function GT({routes:e,future:t,state:n,isStatic:r,onError:s}){return r1(e,void 0,{state:n,isStatic:r,onError:s})}function ds(e){pn(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function ZT({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:s,static:a=!1,unstable_useTransitions:l}){pn(!Jc(),"You cannot render a inside another . You should never have more than one in your app.");let u=e.replace(/^\/*/,"/"),f=y.useMemo(()=>({basename:u,navigator:s,static:a,unstable_useTransitions:l,future:{}}),[u,s,a,l]);typeof n=="string"&&(n=Ja(n));let{pathname:h="/",search:v="",hash:m="",state:b=null,key:S="default",unstable_mask:P}=n,A=y.useMemo(()=>{let x=gs(h,u);return x==null?null:{location:{pathname:x,search:v,hash:m,state:b,key:S,unstable_mask:P},navigationType:r}},[u,h,v,m,b,S,r,P]);return zo(A!=null,` is not able to match the URL "${h}${v}${m}" because it does not start with the basename, so the won't render anything.`),A==null?null:y.createElement(lo.Provider,{value:f},y.createElement(Wc.Provider,{children:t,value:A}))}function QT({children:e,location:t}){return LT(pm(e),t)}function pm(e,t=[]){let n=[];return y.Children.forEach(e,(r,s)=>{if(!y.isValidElement(r))return;let a=[...t,s];if(r.type===y.Fragment){n.push.apply(n,pm(r.props.children,a));return}pn(r.type===ds,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),pn(!r.props.index||!r.props.children,"An index route cannot have child routes.");let l={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=pm(r.props.children,a)),n.push(l)}),n}var Xf="get",Ff="application/x-www-form-urlencoded";function qd(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function KT(e){return qd(e)&&e.tagName.toLowerCase()==="button"}function _T(e){return qd(e)&&e.tagName.toLowerCase()==="form"}function $T(e){return qd(e)&&e.tagName.toLowerCase()==="input"}function e6(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function t6(e,t){return e.button===0&&(!t||t==="_self")&&!e6(e)}function hm(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(s=>[n,s]):[[n,r]])},[]))}function n6(e,t){let n=hm(e);return t&&t.forEach((r,s)=>{n.has(s)||t.getAll(s).forEach(a=>{n.append(s,a)})}),n}var xf=null;function r6(){if(xf===null)try{new FormData(document.createElement("form"),0),xf=!1}catch{xf=!0}return xf}var o6=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function yv(e){return e!=null&&!o6.has(e)?(zo(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Ff}"`),null):e}function s6(e,t){let n,r,s,a,l;if(_T(e)){let u=e.getAttribute("action");r=u?gs(u,t):null,n=e.getAttribute("method")||Xf,s=yv(e.getAttribute("enctype"))||Ff,a=new FormData(e)}else if(KT(e)||$T(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a