From af3345b2680b617b70cd436e6c7d4c9cda6bfe02 Mon Sep 17 00:00:00 2001 From: Johnny Bouder Date: Fri, 5 Jan 2024 12:59:12 -0500 Subject: [PATCH 1/2] Add toggle component. Update app form to allow setting public app. --- jhub_apps/static/css/index.css | 2 +- jhub_apps/static/js/index.js | 34 +++++------ jhub_apps/templates/style.css | 4 ++ ui/src/components/index.ts | 1 + ui/src/components/toggle/toggle.test.tsx | 30 ++++++++++ ui/src/components/toggle/toggle.tsx | 74 ++++++++++++++++++++++++ ui/src/data/api.ts | 1 + ui/src/index.css | 21 +++++++ ui/src/pages/home/app-form/app-form.tsx | 23 ++++++++ ui/src/types/api.ts | 1 + ui/src/types/form.ts | 1 + ui/vite.config.ts | 9 ++- 12 files changed, 181 insertions(+), 20 deletions(-) create mode 100644 ui/src/components/toggle/toggle.test.tsx create mode 100644 ui/src/components/toggle/toggle.tsx diff --git a/jhub_apps/static/css/index.css b/jhub_apps/static/css/index.css index dd759675..82b9b759 100644 --- a/jhub_apps/static/css/index.css +++ b/jhub_apps/static/css/index.css @@ -1 +1 @@ -*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Graphik,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,: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(59 130 246 / .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: }::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(59 130 246 / .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: }.container{width:100%}@media (min-width: 480px){.container{max-width:480px}}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}@media (min-width: 1920px){.container{max-width:1920px}}.container{margin-left:auto;margin-right:auto}.container:before{content:unset}.form{min-width:400px}.form .btn{margin-top:1.5rem}.form .text-input{max-width:none}.form-group{margin-top:1rem}.form-group-error{margin-left:-1.25rem;border-left-width:.25rem;border-left-color:#d54309;border-left-style:solid;padding-left:1rem;position:relative}.btn{padding:.4rem 1rem}.btn-primary{background-color:#005ea2;color:#fff;border-color:#005ea2}.btn-primary:hover{background-color:#1a4480;border-color:#1a4480}.btn-primary:active{background-color:#162e51;border-color:#162e51}.btn-primary:focus,.btn-secondary:focus{outline:.2rem solid #2491ff;outline-offset:.15rem}.btn-secondary{background-color:#fff;color:#005ea2;border-color:#005ea2}.btn-secondary:hover{color:#1a4480;border-color:#1a4480}.btn-secondary:active{color:#162e51;border-color:#162e51}.button-group{display:flex;flex-direction:row;justify-content:flex-end}.button-group-item{margin:.25rem}.label{max-width:30rem}.text-input,.file-input,.text-area,.select{width:100%;margin-top:.5rem}.text-input,.text-area,.select{border:1px solid #5c5c5c;border-radius:0}.text-input:focus,.file-input:focus,.text-area:focus,.select:focus{outline:.2rem solid #2491ff}.text-area{min-height:6rem}.text-red{color:#d54309}.card{width:280px;border:2px solid #e6e6e6;border-radius:.25rem}.card:focus{outline:.2rem solid #2491ff}.card-header{padding:1.5rem 1.5rem .5rem}.card-header-menu{width:100%;display:flex;justify-content:right;position:relative;top:5px;right:5px}.card-header-media{min-height:1px}.card-header-img{height:150px;background-color:#e6e6e6;overflow:hidden}.card-header-img>img{margin:auto}.card-body{min-height:75px;padding:.5rem 1.5rem}.card-footer{padding:.5rem 1.5rem 1.5rem}.modal-overlay{background-color:#00000080;width:100vw;height:100vh;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);position:fixed}.modal-container{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1001}.modal-main{min-width:280px;min-height:160px;background-color:#fff;z-index:1000;border-radius:4px;box-shadow:0 5px 20px #0000000a}.modal-heading{background-color:#fff;border-top-left-radius:4px;border-top-right-radius:4px}.modal-title{margin:0;padding:10px 24px;color:#1b1b1b;font-weight:700;font-size:1rem;border-bottom:1px solid #e6e6e6}.modal-close-btn{color:#1b1b1b;font-weight:700;width:12px;height:12px;margin:8px;border:none;background-color:#fff;box-shadow:0 5px 20px #0000000f;position:absolute;right:8px;top:8px;align-self:flex-end}.modal-close-btn:active{border:2px solid #162e51}.modal-body{min-height:120px;max-height:90vh;overflow-y:auto;color:#1b1b1b;padding:16px 24px;font-size:.93rem}.modal-footer{border-top:1px solid #e6e6e6;padding:10px 24px}.tag{background-color:#e6e6e6;color:#5c5c5c;font-size:.93rem;border-radius:.25rem;padding:.25rem .5rem}.alert{border-left:.5rem solid #e6e6e6;color:#1b1b1b}.alert-body{padding-left:4rem;padding-right:4rem;color:#1b1b1b;margin-left:auto;margin-right:auto;padding:.5rem;font-size:1rem}.alert-text{color:#1b1b1b}.alert-success{border-left-color:#00a91c;background-color:#ecf3ec}.alert-warning{border-left-color:#ffbe2e;background-color:#faf3d1}.alert-error{border-left-color:#d54309;background-color:#f4e3db}.alert-info{border-left-color:#00bde3;background-color:#e7f6f8}.card:hover .context-menu-container,.card:focus .context-menu-container{display:block}.context-menu-container{display:none;position:absolute;color:#1b1b1b;width:24px;height:24px;border:1px solid #e6e6e6;border-radius:50%;background-color:#fff;cursor:pointer}.context-menu-container:focus .context-menu{display:block}.context-menu{display:none;list-style:none;position:absolute;top:28px;right:0;background-color:#fff;border:#e6e6e6;border-radius:4px;box-shadow:0 2px 5px #0000001a;padding:0;min-width:120px}.context-menu li{padding:6px 12px;cursor:pointer}.context-menu li:hover{background-color:#f0f0f0}.context-menu li a{text-decoration:none;color:#1b1b1b;display:block;font-size:.875rem;line-height:1.25rem}.context-menu li a.disabled{cursor:not-allowed;color:#adadad!important}.spacer{position:relative;top:12px}@media only screen and (max-width: 768px){h1{padding-bottom:24px}#create-app{width:120px}}@media only screen and (max-width: 640px){.container{padding-left:15px;padding-right:15px}h1{padding-bottom:24px}.btn,.card{width:100%}.card-header-media{display:none}#create-app{width:120px}hr{width:250px;margin:auto}}.visible{visibility:visible}.col-span-1{grid-column:span 1 / span 1}.col-span-10{grid-column:span 10 / span 10}.col-span-12{grid-column:span 12 / span 12}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-6{margin-bottom:1.5rem}.mt-0{margin-top:0}.flex{display:flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.w-\[400px\]{width:400px}.w-full{width:100%}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.justify-end{justify-content:flex-end}.gap-4{gap:1rem}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.border-2{border-width:2px}.p-2{padding:.5rem}.pb-12{padding-bottom:3rem}.pb-2{padding-bottom:.5rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.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)}@media (min-width: 480px){.xs\:col-span-12{grid-column:span 12 / span 12}.xs\:col-span-4{grid-column:span 4 / span 4}.xs\:col-span-8{grid-column:span 8 / span 8}}@media (min-width: 768px){.md\:col-span-2{grid-column:span 2 / span 2}.md\:col-span-8{grid-column:span 8 / span 8}} +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Graphik,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,: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(59 130 246 / .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: }::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(59 130 246 / .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: }.container{width:100%}@media (min-width: 480px){.container{max-width:480px}}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}@media (min-width: 1920px){.container{max-width:1920px}}.container{margin-left:auto;margin-right:auto}.container:before{content:unset}.form{min-width:400px}.form .btn{margin-top:1.5rem}.form .text-input{max-width:none}.form-group{margin-top:1rem}.form-group-error{margin-left:-1.25rem;border-left-width:.25rem;border-left-color:#d54309;border-left-style:solid;padding-left:1rem;position:relative}.btn{padding:.4rem 1rem}.btn-primary{background-color:#005ea2;color:#fff;border-color:#005ea2}.btn-primary:hover{background-color:#1a4480;border-color:#1a4480}.btn-primary:active{background-color:#162e51;border-color:#162e51}.btn-primary:focus,.btn-secondary:focus{outline:.2rem solid #2491ff;outline-offset:.15rem}.btn-secondary{background-color:#fff;color:#005ea2;border-color:#005ea2}.btn-secondary:hover{color:#1a4480;border-color:#1a4480}.btn-secondary:active{color:#162e51;border-color:#162e51}.button-group{display:flex;flex-direction:row;justify-content:flex-end}.button-group-item{margin:.25rem}.label{max-width:30rem}.text-input,.file-input,.text-area,.select{width:100%;margin-top:.5rem}.text-input,.text-area,.select{border:1px solid #5c5c5c;border-radius:0}.text-input:focus,.file-input:focus,.text-area:focus,.select:focus{outline:.2rem solid #2491ff}.text-area{min-height:6rem}.toggle{margin-top:.5rem}.toggle-dot{background-color:#fff;border:1px solid #e6e6e6}.toggle-body{background-color:#e6e6e6}.toggle-body-on{background-color:#c316e9}.toggle-label{color:#1b1b1b}.text-red{color:#d54309}.card{width:280px;border:2px solid #e6e6e6;border-radius:.25rem}.card:focus{outline:.2rem solid #2491ff}.card-header{padding:1.5rem 1.5rem .5rem}.card-header-menu{width:100%;display:flex;justify-content:right;position:relative;top:5px;right:5px}.card-header-media{min-height:1px}.card-header-img{height:150px;background-color:#e6e6e6;overflow:hidden}.card-header-img>img{margin:auto}.card-body{min-height:75px;padding:.5rem 1.5rem}.card-footer{padding:.5rem 1.5rem 1.5rem}.modal-overlay{background-color:#00000080;width:100vw;height:100vh;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);position:fixed}.modal-container{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1001}.modal-main{min-width:280px;min-height:160px;background-color:#fff;z-index:1000;border-radius:4px;box-shadow:0 5px 20px #0000000a}.modal-heading{background-color:#fff;border-top-left-radius:4px;border-top-right-radius:4px}.modal-title{margin:0;padding:10px 24px;color:#1b1b1b;font-weight:700;font-size:1rem;border-bottom:1px solid #e6e6e6}.modal-close-btn{color:#1b1b1b;font-weight:700;width:12px;height:12px;margin:8px;border:none;background-color:#fff;box-shadow:0 5px 20px #0000000f;position:absolute;right:8px;top:8px;align-self:flex-end}.modal-close-btn:active{border:2px solid #162e51}.modal-body{min-height:120px;max-height:90vh;overflow-y:auto;color:#1b1b1b;padding:16px 24px;font-size:.93rem}.modal-footer{border-top:1px solid #e6e6e6;padding:10px 24px}.tag{background-color:#e6e6e6;color:#5c5c5c;font-size:.93rem;border-radius:.25rem;padding:.25rem .5rem}.alert{border-left:.5rem solid #e6e6e6;color:#1b1b1b}.alert-body{padding-left:4rem;padding-right:4rem;color:#1b1b1b;margin-left:auto;margin-right:auto;padding:.5rem;font-size:1rem}.alert-text{color:#1b1b1b}.alert-success{border-left-color:#00a91c;background-color:#ecf3ec}.alert-warning{border-left-color:#ffbe2e;background-color:#faf3d1}.alert-error{border-left-color:#d54309;background-color:#f4e3db}.alert-info{border-left-color:#00bde3;background-color:#e7f6f8}.card:hover .context-menu-container,.card:focus .context-menu-container{display:block}.context-menu-container{display:none;position:absolute;color:#1b1b1b;width:24px;height:24px;border:1px solid #e6e6e6;border-radius:50%;background-color:#fff;cursor:pointer}.context-menu-container:focus .context-menu{display:block}.context-menu{display:none;list-style:none;position:absolute;top:28px;right:0;background-color:#fff;border:#e6e6e6;border-radius:4px;box-shadow:0 2px 5px #0000001a;padding:0;min-width:120px}.context-menu li{padding:6px 12px;cursor:pointer}.context-menu li:hover{background-color:#f0f0f0}.context-menu li a{text-decoration:none;color:#1b1b1b;display:block;font-size:.875rem;line-height:1.25rem}.context-menu li a.disabled{cursor:not-allowed;color:#adadad!important}.spacer{position:relative;top:12px}@media only screen and (max-width: 768px){h1{padding-bottom:24px}#create-app{width:120px}}@media only screen and (max-width: 640px){.container{padding-left:15px;padding-right:15px}h1{padding-bottom:24px}.btn,.card{width:100%}.card-header-media{display:none}#create-app{width:120px}hr{width:250px;margin:auto}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.inset-y-0{top:0;bottom:0}.left-0{left:0}.col-span-1{grid-column:span 1 / span 1}.col-span-10{grid-column:span 10 / span 10}.col-span-12{grid-column:span 12 / span 12}.my-6{margin-top:1.5rem;margin-bottom:1.5rem}.mb-6{margin-bottom:1.5rem}.ml-0{margin-left:0}.ml-3{margin-left:.75rem}.ml-6{margin-left:1.5rem}.mt-0{margin-top:0}.flex{display:flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-6{height:1.5rem}.w-12{width:3rem}.w-6{width:1.5rem}.w-\[400px\]{width:400px}.w-full{width:100%}.cursor-pointer{cursor:pointer}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.gap-4{gap:1rem}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.border-2{border-width:2px}.p-2{padding:.5rem}.pb-12{padding-bottom:3rem}.pb-2{padding-bottom:.5rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 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)}@media (min-width: 480px){.xs\:col-span-12{grid-column:span 12 / span 12}.xs\:col-span-4{grid-column:span 4 / span 4}.xs\:col-span-8{grid-column:span 8 / span 8}}@media (min-width: 768px){.md\:col-span-2{grid-column:span 2 / span 2}.md\:col-span-8{grid-column:span 8 / span 8}} diff --git a/jhub_apps/static/js/index.js b/jhub_apps/static/js/index.js index a36ebb00..2807e1e5 100644 --- a/jhub_apps/static/js/index.js +++ b/jhub_apps/static/js/index.js @@ -1,4 +1,4 @@ -function t0(e,t){for(var n=0;nr[o]})}}}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 o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Sc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mp={exports:{}},vl={},yp={exports:{}},me={};/** +function t0(e,t){for(var n=0;nr[o]})}}}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 o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Sc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mp={exports:{}},vl={},yp={exports:{}},pe={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function t0(e,t){for(var n=0;n>>1,R=V[te];if(0>>1;teo(Q,ee))jo(re,Q)?(V[te]=re,V[j]=ee,te=j):(V[te]=Q,V[P]=ee,te=P);else if(jo(re,ee))V[te]=re,V[j]=ee,te=j;else break e}}return X}function o(V,X){var ee=V.sortIndex-X.sortIndex;return ee!==0?ee:V.id-X.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var a=[],u=[],f=1,c=null,h=3,S=!1,m=!1,v=!1,x=typeof setTimeout=="function"?setTimeout:null,y=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 p(V){for(var X=n(u);X!==null;){if(X.callback===null)r(u);else if(X.startTime<=V)r(u),X.sortIndex=X.expirationTime,t(a,X);else break;X=n(u)}}function w(V){if(v=!1,p(V),!m)if(n(a)!==null)m=!0,we(k);else{var X=n(u);X!==null&&_e(w,X.startTime-V)}}function k(V,X){m=!1,v&&(v=!1,y(F),F=-1),S=!0;var ee=h;try{for(p(X),c=n(a);c!==null&&(!(c.expirationTime>X)||V&&!ye());){var te=c.callback;if(typeof te=="function"){c.callback=null,h=c.priorityLevel;var R=te(c.expirationTime<=X);X=e.unstable_now(),typeof R=="function"?c.callback=R:c===n(a)&&r(a),p(X)}else r(a);c=n(a)}if(c!==null)var A=!0;else{var P=n(u);P!==null&&_e(w,P.startTime-X),A=!1}return A}finally{c=null,h=ee,S=!1}}var L=!1,N=null,F=-1,J=5,Y=-1;function ye(){return!(e.unstable_now()-YV||125te?(V.sortIndex=ee,t(u,V),n(a)===null&&V===n(u)&&(v?(y(F),F=-1):v=!0,_e(w,ee-te))):(V.sortIndex=R,t(a,V),m||S||(m=!0,we(k))),V},e.unstable_shouldYield=ye,e.unstable_wrapCallback=function(V){var X=h;return function(){var ee=h;h=X;try{return V.apply(this,arguments)}finally{h=ee}}}})(kp);Tp.exports=kp;var C0=Tp.exports;/** + */(function(e){function t(j,Z){var ee=j.length;j.push(Z);e:for(;0>>1,E=j[me];if(0>>1;meo($,ee))Uo(ne,$)?(j[me]=ne,j[U]=ee,me=U):(j[me]=$,j[L]=ee,me=L);else if(Uo(ne,ee))j[me]=ne,j[U]=ee,me=U;else break e}}return Z}function o(j,Z){var ee=j.sortIndex-Z.sortIndex;return ee!==0?ee:j.id-Z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var a=[],u=[],f=1,c=null,h=3,g=!1,y=!1,v=!1,x=typeof setTimeout=="function"?setTimeout:null,p=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 m(j){for(var Z=n(u);Z!==null;){if(Z.callback===null)r(u);else if(Z.startTime<=j)r(u),Z.sortIndex=Z.expirationTime,t(a,Z);else break;Z=n(u)}}function R(j){if(v=!1,m(j),!y)if(n(a)!==null)y=!0,Se(A);else{var Z=n(u);Z!==null&&we(R,Z.startTime-j)}}function A(j,Z){y=!1,v&&(v=!1,p(F),F=-1),g=!0;var ee=h;try{for(m(Z),c=n(a);c!==null&&(!(c.expirationTime>Z)||j&&!ve());){var me=c.callback;if(typeof me=="function"){c.callback=null,h=c.priorityLevel;var E=me(c.expirationTime<=Z);Z=e.unstable_now(),typeof E=="function"?c.callback=E:c===n(a)&&r(a),m(Z)}else r(a);c=n(a)}if(c!==null)var N=!0;else{var L=n(u);L!==null&&we(R,L.startTime-Z),N=!1}return N}finally{c=null,h=ee,g=!1}}var T=!1,P=null,F=-1,X=5,Y=-1;function ve(){return!(e.unstable_now()-Yj||125me?(j.sortIndex=ee,t(u,j),n(a)===null&&j===n(u)&&(v?(p(F),F=-1):v=!0,we(R,ee-me))):(j.sortIndex=E,t(a,j),y||g||(y=!0,Se(A))),j},e.unstable_shouldYield=ve,e.unstable_wrapCallback=function(j){var Z=h;return function(){var ee=h;h=Z;try{return j.apply(this,arguments)}finally{h=ee}}}})(kp);Tp.exports=kp;var C0=Tp.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ function t0(e,t){for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nu=Object.prototype.hasOwnProperty,x0=/^[: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]*$/,td={},nd={};function T0(e){return nu.call(nd,e)?!0:nu.call(td,e)?!1:x0.test(e)?nd[e]=!0:(td[e]=!0,!1)}function k0(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function N0(e,t,n,r){if(t===null||typeof t>"u"||k0(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ft(e,t,n,r,o,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var tt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){tt[e]=new ft(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];tt[t]=new ft(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){tt[e]=new ft(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){tt[e]=new ft(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){tt[e]=new ft(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){tt[e]=new ft(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){tt[e]=new ft(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){tt[e]=new ft(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){tt[e]=new ft(e,5,!1,e.toLowerCase(),null,!1,!1)});var Cc=/[\-:]([a-z])/g;function xc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Cc,xc);tt[t]=new ft(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Cc,xc);tt[t]=new ft(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Cc,xc);tt[t]=new ft(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){tt[e]=new ft(e,1,!1,e.toLowerCase(),null,!1,!1)});tt.xlinkHref=new ft("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){tt[e]=new ft(e,1,!1,e.toLowerCase(),null,!0,!0)});function Tc(e,t,n,r){var o=tt.hasOwnProperty(t)?tt[t]:null;(o!==null?o.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nu=Object.prototype.hasOwnProperty,x0=/^[: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]*$/,td={},nd={};function T0(e){return nu.call(nd,e)?!0:nu.call(td,e)?!1:x0.test(e)?nd[e]=!0:(td[e]=!0,!1)}function k0(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function N0(e,t,n,r){if(t===null||typeof t>"u"||k0(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function dt(e,t,n,r,o,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var tt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){tt[e]=new dt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];tt[t]=new dt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){tt[e]=new dt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){tt[e]=new dt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){tt[e]=new dt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){tt[e]=new dt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){tt[e]=new dt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){tt[e]=new dt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){tt[e]=new dt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Cc=/[\-:]([a-z])/g;function xc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Cc,xc);tt[t]=new dt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Cc,xc);tt[t]=new dt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Cc,xc);tt[t]=new dt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){tt[e]=new dt(e,1,!1,e.toLowerCase(),null,!1,!1)});tt.xlinkHref=new dt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){tt[e]=new dt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Tc(e,t,n,r){var o=tt.hasOwnProperty(t)?tt[t]:null;(o!==null?o.type!==0:r||!(2l||o[i]!==s[l]){var a=` -`+o[i].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=i&&0<=l);break}}}finally{ha=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Io(e):""}function A0(e){switch(e.tag){case 5:return Io(e.type);case 16:return Io("Lazy");case 13:return Io("Suspense");case 19:return Io("SuspenseList");case 0:case 2:case 15:return e=pa(e.type,!1),e;case 11:return e=pa(e.type.render,!1),e;case 1:return e=pa(e.type,!0),e;default:return""}}function iu(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case kr:return"Fragment";case Tr:return"Portal";case ru:return"Profiler";case kc:return"StrictMode";case ou:return"Suspense";case su:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Pp:return(e.displayName||"Context")+".Consumer";case Lp:return(e._context.displayName||"Context")+".Provider";case Nc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ac:return t=e.displayName||null,t!==null?t:iu(e.type)||"Memo";case Nn:t=e._payload,e=e._init;try{return iu(e(t))}catch{}}return null}function L0(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return iu(t);case 8:return t===kc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function qn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function bp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function P0(e){var t=bp(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ws(e){e._valueTracker||(e._valueTracker=P0(e))}function Fp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=bp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Pi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function lu(e,t){var n=t.checked;return Ve({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function od(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=qn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Dp(e,t){t=t.checked,t!=null&&Tc(e,"checked",t,!1)}function au(e,t){Dp(e,t);var n=qn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?uu(e,t.type,n):t.hasOwnProperty("defaultValue")&&uu(e,t.type,qn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function sd(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function uu(e,t,n){(t!=="number"||Pi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Vo=Array.isArray;function jr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Qs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function rs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ho={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},O0=["Webkit","ms","Moz","O"];Object.keys(Ho).forEach(function(e){O0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ho[t]=Ho[e]})});function Vp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ho.hasOwnProperty(e)&&Ho[e]?(""+t).trim():t+"px"}function jp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Vp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var b0=Ve({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 du(e,t){if(t){if(b0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function hu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var pu=null;function Lc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mu=null,$r=null,Br=null;function ad(e){if(e=Cs(e)){if(typeof mu!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Rl(t),mu(e.stateNode,e.type,t))}}function $p(e){$r?Br?Br.push(e):Br=[e]:$r=e}function Bp(){if($r){var e=$r,t=Br;if(Br=$r=null,ad(e),t)for(e=0;e>>=0,e===0?32:31-(H0(e)/W0|0)|0}var qs=64,Ks=4194304;function jo(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Di(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var l=i&~o;l!==0?r=jo(l):(s&=i,s!==0&&(r=jo(s)))}else i=n&~o,i!==0?r=jo(i):s!==0&&(r=jo(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,s=t&-t,o>=s||o===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Rs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Qt(t),e[t]=n}function G0(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Qo),vd=String.fromCharCode(32),gd=!1;function am(e,t){switch(e){case"keyup":return ES.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function um(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Nr=!1;function xS(e,t){switch(e){case"compositionend":return um(t);case"keypress":return t.which!==32?null:(gd=!0,vd);case"textInput":return e=t.data,e===vd&&gd?null:e;default:return null}}function TS(e,t){if(Nr)return e==="compositionend"||!Ic&&am(e,t)?(e=im(),pi=Dc=Fn=null,Nr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Rd(n)}}function hm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?hm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function pm(){for(var e=window,t=Pi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Pi(e.document)}return t}function Vc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function DS(e){var t=pm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&hm(n.ownerDocument.documentElement,n)){if(r!==null&&Vc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,s=Math.min(r.start,o);r=r.end===void 0?s:Math.min(r.end,o),!e.extend&&s>r&&(o=r,r=s,s=o),o=Ed(n,s);var i=Ed(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ar=null,_u=null,Ko=null,Ru=!1;function Cd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ru||Ar==null||Ar!==Pi(r)||(r=Ar,"selectionStart"in r&&Vc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ko&&us(Ko,r)||(Ko=r,r=Ii(_u,"onSelect"),0Or||(e.current=Nu[Or],Nu[Or]=null,Or--)}function Ne(e,t){Or++,Nu[Or]=e.current,e.current=t}var Kn={},it=Jn(Kn),mt=Jn(!1),fr=Kn;function Gr(e,t){var n=e.type.contextTypes;if(!n)return Kn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function yt(e){return e=e.childContextTypes,e!=null}function ji(){Oe(mt),Oe(it)}function Pd(e,t,n){if(it.current!==Kn)throw Error(M(168));Ne(it,t),Ne(mt,n)}function Em(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(M(108,L0(e)||"Unknown",o));return Ve({},n,r)}function $i(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Kn,fr=it.current,Ne(it,e),Ne(mt,mt.current),!0}function Od(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=Em(e,t,fr),r.__reactInternalMemoizedMergedChildContext=e,Oe(mt),Oe(it),Ne(it,e)):Oe(mt),Ne(mt,n)}var un=null,El=!1,Na=!1;function Cm(e){un===null?un=[e]:un.push(e)}function qS(e){El=!0,Cm(e)}function Xn(){if(!Na&&un!==null){Na=!0;var e=0,t=Re;try{var n=un;for(Re=1;e>=i,o-=i,fn=1<<32-Qt(t)+o|n<F?(J=N,N=null):J=N.sibling;var Y=h(y,N,p[F],w);if(Y===null){N===null&&(N=J);break}e&&N&&Y.alternate===null&&t(y,N),d=s(Y,d,F),L===null?k=Y:L.sibling=Y,L=Y,N=J}if(F===p.length)return n(y,N),Fe&&tr(y,F),k;if(N===null){for(;FF?(J=N,N=null):J=N.sibling;var ye=h(y,N,Y.value,w);if(ye===null){N===null&&(N=J);break}e&&N&&ye.alternate===null&&t(y,N),d=s(ye,d,F),L===null?k=ye:L.sibling=ye,L=ye,N=J}if(Y.done)return n(y,N),Fe&&tr(y,F),k;if(N===null){for(;!Y.done;F++,Y=p.next())Y=c(y,Y.value,w),Y!==null&&(d=s(Y,d,F),L===null?k=Y:L.sibling=Y,L=Y);return Fe&&tr(y,F),k}for(N=r(y,N);!Y.done;F++,Y=p.next())Y=S(N,y,F,Y.value,w),Y!==null&&(e&&Y.alternate!==null&&N.delete(Y.key===null?F:Y.key),d=s(Y,d,F),L===null?k=Y:L.sibling=Y,L=Y);return e&&N.forEach(function(ue){return t(y,ue)}),Fe&&tr(y,F),k}function x(y,d,p,w){if(typeof p=="object"&&p!==null&&p.type===kr&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Hs:e:{for(var k=p.key,L=d;L!==null;){if(L.key===k){if(k=p.type,k===kr){if(L.tag===7){n(y,L.sibling),d=o(L,p.props.children),d.return=y,y=d;break e}}else if(L.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Nn&&Vd(k)===L.type){n(y,L.sibling),d=o(L,p.props),d.ref=To(y,L,p),d.return=y,y=d;break e}n(y,L);break}else t(y,L);L=L.sibling}p.type===kr?(d=cr(p.props.children,y.mode,w,p.key),d.return=y,y=d):(w=Ri(p.type,p.key,p.props,null,y.mode,w),w.ref=To(y,d,p),w.return=y,y=w)}return i(y);case Tr:e:{for(L=p.key;d!==null;){if(d.key===L)if(d.tag===4&&d.stateNode.containerInfo===p.containerInfo&&d.stateNode.implementation===p.implementation){n(y,d.sibling),d=o(d,p.children||[]),d.return=y,y=d;break e}else{n(y,d);break}else t(y,d);d=d.sibling}d=Ma(p,y.mode,w),d.return=y,y=d}return i(y);case Nn:return L=p._init,x(y,d,L(p._payload),w)}if(Vo(p))return m(y,d,p,w);if(_o(p))return v(y,d,p,w);ti(y,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,d!==null&&d.tag===6?(n(y,d.sibling),d=o(d,p),d.return=y,y=d):(n(y,d),d=Da(p,y.mode,w),d.return=y,y=d),i(y)):n(y,d)}return x}var Jr=Om(!0),bm=Om(!1),xs={},nn=Jn(xs),hs=Jn(xs),ps=Jn(xs);function ir(e){if(e===xs)throw Error(M(174));return e}function Kc(e,t){switch(Ne(ps,t),Ne(hs,e),Ne(nn,xs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=fu(t,e)}Oe(nn),Ne(nn,t)}function Xr(){Oe(nn),Oe(hs),Oe(ps)}function Fm(e){ir(ps.current);var t=ir(nn.current),n=fu(t,e.type);t!==n&&(Ne(hs,e),Ne(nn,n))}function Gc(e){hs.current===e&&(Oe(nn),Oe(hs))}var Ue=Jn(0);function qi(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Aa=[];function Yc(){for(var e=0;en?n:4,e(!0);var r=La.transition;La.transition={};try{e(!1),t()}finally{Re=n,La.transition=r}}function Ym(){return Ut().memoizedState}function JS(e,t,n){var r=Wn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Jm(e))Xm(t,n);else if(n=Nm(e,t,n,r),n!==null){var o=ut();qt(n,e,r,o),Zm(n,t,r)}}function XS(e,t,n){var r=Wn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Jm(e))Xm(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,l=s(i,n);if(o.hasEagerState=!0,o.eagerState=l,Kt(l,i)){var a=t.interleaved;a===null?(o.next=o,Qc(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=Nm(e,t,o,r),n!==null&&(o=ut(),qt(n,e,r,o),Zm(n,t,r))}}function Jm(e){var t=e.alternate;return e===Ie||t!==null&&t===Ie}function Xm(e,t){Go=Ki=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Zm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Oc(e,n)}}var Gi={readContext:Mt,useCallback:rt,useContext:rt,useEffect:rt,useImperativeHandle:rt,useInsertionEffect:rt,useLayoutEffect:rt,useMemo:rt,useReducer:rt,useRef:rt,useState:rt,useDebugValue:rt,useDeferredValue:rt,useTransition:rt,useMutableSource:rt,useSyncExternalStore:rt,useId:rt,unstable_isNewReconciler:!1},ZS={readContext:Mt,useCallback:function(e,t){return Jt().memoizedState=[e,t===void 0?null:t],e},useContext:Mt,useEffect:$d,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,gi(4194308,4,Wm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return gi(4194308,4,e,t)},useInsertionEffect:function(e,t){return gi(4,2,e,t)},useMemo:function(e,t){var n=Jt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Jt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=JS.bind(null,Ie,e),[r.memoizedState,e]},useRef:function(e){var t=Jt();return e={current:e},t.memoizedState=e},useState:jd,useDebugValue:tf,useDeferredValue:function(e){return Jt().memoizedState=e},useTransition:function(){var e=jd(!1),t=e[0];return e=YS.bind(null,e[1]),Jt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ie,o=Jt();if(Fe){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),Je===null)throw Error(M(349));hr&30||Um(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,$d(Vm.bind(null,r,s,e),[e]),r.flags|=2048,vs(9,Im.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Jt(),t=Je.identifierPrefix;if(Fe){var n=dn,r=fn;n=(r&~(1<<32-Qt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ms++,0")&&(a=a.replace("",e.displayName)),a}while(1<=i&&0<=l);break}}}finally{ha=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Uo(e):""}function A0(e){switch(e.tag){case 5:return Uo(e.type);case 16:return Uo("Lazy");case 13:return Uo("Suspense");case 19:return Uo("SuspenseList");case 0:case 2:case 15:return e=pa(e.type,!1),e;case 11:return e=pa(e.type.render,!1),e;case 1:return e=pa(e.type,!0),e;default:return""}}function iu(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case kr:return"Fragment";case Tr:return"Portal";case ru:return"Profiler";case kc:return"StrictMode";case ou:return"Suspense";case su:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Pp:return(e.displayName||"Context")+".Consumer";case Lp:return(e._context.displayName||"Context")+".Provider";case Nc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ac:return t=e.displayName||null,t!==null?t:iu(e.type)||"Memo";case Nn:t=e._payload,e=e._init;try{return iu(e(t))}catch{}}return null}function L0(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return iu(t);case 8:return t===kc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function qn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function bp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function P0(e){var t=bp(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ws(e){e._valueTracker||(e._valueTracker=P0(e))}function Fp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=bp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Pi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function lu(e,t){var n=t.checked;return Ve({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function od(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=qn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Dp(e,t){t=t.checked,t!=null&&Tc(e,"checked",t,!1)}function au(e,t){Dp(e,t);var n=qn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?uu(e,t.type,n):t.hasOwnProperty("defaultValue")&&uu(e,t.type,qn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function sd(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function uu(e,t,n){(t!=="number"||Pi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Vo=Array.isArray;function jr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Qs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function rs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ho={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},O0=["Webkit","ms","Moz","O"];Object.keys(Ho).forEach(function(e){O0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ho[t]=Ho[e]})});function Vp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ho.hasOwnProperty(e)&&Ho[e]?(""+t).trim():t+"px"}function jp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Vp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var b0=Ve({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 du(e,t){if(t){if(b0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(I(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(I(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(I(61))}if(t.style!=null&&typeof t.style!="object")throw Error(I(62))}}function hu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var pu=null;function Lc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mu=null,$r=null,Br=null;function ad(e){if(e=Cs(e)){if(typeof mu!="function")throw Error(I(280));var t=e.stateNode;t&&(t=Rl(t),mu(e.stateNode,e.type,t))}}function $p(e){$r?Br?Br.push(e):Br=[e]:$r=e}function Bp(){if($r){var e=$r,t=Br;if(Br=$r=null,ad(e),t)for(e=0;e>>=0,e===0?32:31-(H0(e)/W0|0)|0}var qs=64,Ks=4194304;function jo(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Di(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,s=e.pingedLanes,i=n&268435455;if(i!==0){var l=i&~o;l!==0?r=jo(l):(s&=i,s!==0&&(r=jo(s)))}else i=n&~o,i!==0?r=jo(i):s!==0&&(r=jo(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,s=t&-t,o>=s||o===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Rs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Qt(t),e[t]=n}function G0(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Qo),vd=String.fromCharCode(32),gd=!1;function am(e,t){switch(e){case"keyup":return ES.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function um(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Nr=!1;function xS(e,t){switch(e){case"compositionend":return um(t);case"keypress":return t.which!==32?null:(gd=!0,vd);case"textInput":return e=t.data,e===vd&&gd?null:e;default:return null}}function TS(e,t){if(Nr)return e==="compositionend"||!Uc&&am(e,t)?(e=im(),pi=Dc=Fn=null,Nr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Rd(n)}}function hm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?hm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function pm(){for(var e=window,t=Pi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Pi(e.document)}return t}function Vc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function DS(e){var t=pm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&hm(n.ownerDocument.documentElement,n)){if(r!==null&&Vc(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,s=Math.min(r.start,o);r=r.end===void 0?s:Math.min(r.end,o),!e.extend&&s>r&&(o=r,r=s,s=o),o=Ed(n,s);var i=Ed(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ar=null,_u=null,Ko=null,Ru=!1;function Cd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ru||Ar==null||Ar!==Pi(r)||(r=Ar,"selectionStart"in r&&Vc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ko&&us(Ko,r)||(Ko=r,r=Ui(_u,"onSelect"),0Or||(e.current=Nu[Or],Nu[Or]=null,Or--)}function Ne(e,t){Or++,Nu[Or]=e.current,e.current=t}var Kn={},it=Jn(Kn),yt=Jn(!1),fr=Kn;function Gr(e,t){var n=e.type.contextTypes;if(!n)return Kn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function vt(e){return e=e.childContextTypes,e!=null}function ji(){Oe(yt),Oe(it)}function Pd(e,t,n){if(it.current!==Kn)throw Error(I(168));Ne(it,t),Ne(yt,n)}function Em(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(I(108,L0(e)||"Unknown",o));return Ve({},n,r)}function $i(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Kn,fr=it.current,Ne(it,e),Ne(yt,yt.current),!0}function Od(e,t,n){var r=e.stateNode;if(!r)throw Error(I(169));n?(e=Em(e,t,fr),r.__reactInternalMemoizedMergedChildContext=e,Oe(yt),Oe(it),Ne(it,e)):Oe(yt),Ne(yt,n)}var dn=null,El=!1,Na=!1;function Cm(e){dn===null?dn=[e]:dn.push(e)}function qS(e){El=!0,Cm(e)}function Xn(){if(!Na&&dn!==null){Na=!0;var e=0,t=Ee;try{var n=dn;for(Ee=1;e>=i,o-=i,pn=1<<32-Qt(t)+o|n<F?(X=P,P=null):X=P.sibling;var Y=h(p,P,m[F],R);if(Y===null){P===null&&(P=X);break}e&&P&&Y.alternate===null&&t(p,P),d=s(Y,d,F),T===null?A=Y:T.sibling=Y,T=Y,P=X}if(F===m.length)return n(p,P),Fe&&tr(p,F),A;if(P===null){for(;FF?(X=P,P=null):X=P.sibling;var ve=h(p,P,Y.value,R);if(ve===null){P===null&&(P=X);break}e&&P&&ve.alternate===null&&t(p,P),d=s(ve,d,F),T===null?A=ve:T.sibling=ve,T=ve,P=X}if(Y.done)return n(p,P),Fe&&tr(p,F),A;if(P===null){for(;!Y.done;F++,Y=m.next())Y=c(p,Y.value,R),Y!==null&&(d=s(Y,d,F),T===null?A=Y:T.sibling=Y,T=Y);return Fe&&tr(p,F),A}for(P=r(p,P);!Y.done;F++,Y=m.next())Y=g(P,p,F,Y.value,R),Y!==null&&(e&&Y.alternate!==null&&P.delete(Y.key===null?F:Y.key),d=s(Y,d,F),T===null?A=Y:T.sibling=Y,T=Y);return e&&P.forEach(function(ue){return t(p,ue)}),Fe&&tr(p,F),A}function x(p,d,m,R){if(typeof m=="object"&&m!==null&&m.type===kr&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Hs:e:{for(var A=m.key,T=d;T!==null;){if(T.key===A){if(A=m.type,A===kr){if(T.tag===7){n(p,T.sibling),d=o(T,m.props.children),d.return=p,p=d;break e}}else if(T.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===Nn&&Vd(A)===T.type){n(p,T.sibling),d=o(T,m.props),d.ref=To(p,T,m),d.return=p,p=d;break e}n(p,T);break}else t(p,T);T=T.sibling}m.type===kr?(d=cr(m.props.children,p.mode,R,m.key),d.return=p,p=d):(R=Ri(m.type,m.key,m.props,null,p.mode,R),R.ref=To(p,d,m),R.return=p,p=R)}return i(p);case Tr:e:{for(T=m.key;d!==null;){if(d.key===T)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(p,d.sibling),d=o(d,m.children||[]),d.return=p,p=d;break e}else{n(p,d);break}else t(p,d);d=d.sibling}d=Ma(m,p.mode,R),d.return=p,p=d}return i(p);case Nn:return T=m._init,x(p,d,T(m._payload),R)}if(Vo(m))return y(p,d,m,R);if(_o(m))return v(p,d,m,R);ti(p,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(p,d.sibling),d=o(d,m),d.return=p,p=d):(n(p,d),d=Da(m,p.mode,R),d.return=p,p=d),i(p)):n(p,d)}return x}var Jr=Om(!0),bm=Om(!1),xs={},nn=Jn(xs),hs=Jn(xs),ps=Jn(xs);function ir(e){if(e===xs)throw Error(I(174));return e}function Kc(e,t){switch(Ne(ps,t),Ne(hs,e),Ne(nn,xs),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=fu(t,e)}Oe(nn),Ne(nn,t)}function Xr(){Oe(nn),Oe(hs),Oe(ps)}function Fm(e){ir(ps.current);var t=ir(nn.current),n=fu(t,e.type);t!==n&&(Ne(hs,e),Ne(nn,n))}function Gc(e){hs.current===e&&(Oe(nn),Oe(hs))}var Ie=Jn(0);function qi(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Aa=[];function Yc(){for(var e=0;en?n:4,e(!0);var r=La.transition;La.transition={};try{e(!1),t()}finally{Ee=n,La.transition=r}}function Ym(){return It().memoizedState}function JS(e,t,n){var r=Wn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Jm(e))Xm(t,n);else if(n=Nm(e,t,n,r),n!==null){var o=ct();qt(n,e,r,o),Zm(n,t,r)}}function XS(e,t,n){var r=Wn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Jm(e))Xm(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,l=s(i,n);if(o.hasEagerState=!0,o.eagerState=l,Kt(l,i)){var a=t.interleaved;a===null?(o.next=o,Qc(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=Nm(e,t,o,r),n!==null&&(o=ct(),qt(n,e,r,o),Zm(n,t,r))}}function Jm(e){var t=e.alternate;return e===Ue||t!==null&&t===Ue}function Xm(e,t){Go=Ki=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Zm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Oc(e,n)}}var Gi={readContext:Mt,useCallback:rt,useContext:rt,useEffect:rt,useImperativeHandle:rt,useInsertionEffect:rt,useLayoutEffect:rt,useMemo:rt,useReducer:rt,useRef:rt,useState:rt,useDebugValue:rt,useDeferredValue:rt,useTransition:rt,useMutableSource:rt,useSyncExternalStore:rt,useId:rt,unstable_isNewReconciler:!1},ZS={readContext:Mt,useCallback:function(e,t){return Jt().memoizedState=[e,t===void 0?null:t],e},useContext:Mt,useEffect:$d,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,gi(4194308,4,Wm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return gi(4194308,4,e,t)},useInsertionEffect:function(e,t){return gi(4,2,e,t)},useMemo:function(e,t){var n=Jt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Jt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=JS.bind(null,Ue,e),[r.memoizedState,e]},useRef:function(e){var t=Jt();return e={current:e},t.memoizedState=e},useState:jd,useDebugValue:tf,useDeferredValue:function(e){return Jt().memoizedState=e},useTransition:function(){var e=jd(!1),t=e[0];return e=YS.bind(null,e[1]),Jt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ue,o=Jt();if(Fe){if(n===void 0)throw Error(I(407));n=n()}else{if(n=t(),Je===null)throw Error(I(349));hr&30||Im(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,$d(Vm.bind(null,r,s,e),[e]),r.flags|=2048,vs(9,Um.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Jt(),t=Je.identifierPrefix;if(Fe){var n=mn,r=pn;n=(r&~(1<<32-Qt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ms++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Xt]=t,e[ds]=r,ay(e,t,!1,!1),t.stateNode=e;e:{switch(i=hu(n,r),n){case"dialog":Le("cancel",e),Le("close",e),o=r;break;case"iframe":case"object":case"embed":Le("load",e),o=r;break;case"video":case"audio":for(o=0;o<$o.length;o++)Le($o[o],e);o=r;break;case"source":Le("error",e),o=r;break;case"img":case"image":case"link":Le("error",e),Le("load",e),o=r;break;case"details":Le("toggle",e),o=r;break;case"input":od(e,r),o=lu(e,r),Le("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Ve({},r,{value:void 0}),Le("invalid",e);break;case"textarea":id(e,r),o=cu(e,r),Le("invalid",e);break;default:o=r}du(n,o),l=o;for(s in l)if(l.hasOwnProperty(s)){var a=l[s];s==="style"?jp(e,a):s==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Ip(e,a)):s==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&rs(e,a):typeof a=="number"&&rs(e,""+a):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(ns.hasOwnProperty(s)?a!=null&&s==="onScroll"&&Le("scroll",e):a!=null&&Tc(e,s,a,i))}switch(n){case"input":Ws(e),sd(e,r,!1);break;case"textarea":Ws(e),ld(e);break;case"option":r.value!=null&&e.setAttribute("value",""+qn(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?jr(e,!!r.multiple,s,!1):r.defaultValue!=null&&jr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Vi)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ot(t),null;case 6:if(e&&t.stateNode!=null)cy(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=ir(ps.current),ir(nn.current),ei(t)){if(r=t.stateNode,n=t.memoizedProps,r[Xt]=t,(s=r.nodeValue!==n)&&(e=Ct,e!==null))switch(e.tag){case 3:Zs(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Zs(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Xt]=t,t.stateNode=r}return ot(t),null;case 13:if(Oe(Ue),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Fe&&Et!==null&&t.mode&1&&!(t.flags&128))km(),Yr(),t.flags|=98560,s=!1;else if(s=ei(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(M(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(M(317));s[Xt]=t}else Yr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ot(t),s=!1}else Ht!==null&&(qu(Ht),Ht=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Ue.current&1?qe===0&&(qe=3):uf())),t.updateQueue!==null&&(t.flags|=4),ot(t),null);case 4:return Xr(),Vu(e,t),e===null&&cs(t.stateNode.containerInfo),ot(t),null;case 10:return Wc(t.type._context),ot(t),null;case 17:return yt(t.type)&&ji(),ot(t),null;case 19:if(Oe(Ue),s=t.memoizedState,s===null)return ot(t),null;if(r=(t.flags&128)!==0,i=s.rendering,i===null)if(r)ko(s,!1);else{if(qe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=qi(e),i!==null){for(t.flags|=128,ko(s,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ne(Ue,Ue.current&1|2),t.child}e=e.sibling}s.tail!==null&&ze()>eo&&(t.flags|=128,r=!0,ko(s,!1),t.lanes=4194304)}else{if(!r)if(e=qi(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ko(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!Fe)return ot(t),null}else 2*ze()-s.renderingStartTime>eo&&n!==1073741824&&(t.flags|=128,r=!0,ko(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(n=s.last,n!==null?n.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=ze(),t.sibling=null,n=Ue.current,Ne(Ue,r?n&1|2:n&1),t):(ot(t),null);case 22:case 23:return af(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Rt&1073741824&&(ot(t),t.subtreeFlags&6&&(t.flags|=8192)):ot(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function lw(e,t){switch($c(t),t.tag){case 1:return yt(t.type)&&ji(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Xr(),Oe(mt),Oe(it),Yc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Gc(t),null;case 13:if(Oe(Ue),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));Yr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Oe(Ue),null;case 4:return Xr(),null;case 10:return Wc(t.type._context),null;case 22:case 23:return af(),null;case 24:return null;default:return null}}var ri=!1,st=!1,aw=typeof WeakSet=="function"?WeakSet:Set,q=null;function Mr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){je(e,t,r)}else n.current=null}function ju(e,t,n){try{n()}catch(r){je(e,t,r)}}var Yd=!1;function uw(e,t){if(Eu=Mi,e=pm(),Vc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var i=0,l=-1,a=-1,u=0,f=0,c=e,h=null;t:for(;;){for(var S;c!==n||o!==0&&c.nodeType!==3||(l=i+o),c!==s||r!==0&&c.nodeType!==3||(a=i+r),c.nodeType===3&&(i+=c.nodeValue.length),(S=c.firstChild)!==null;)h=c,c=S;for(;;){if(c===e)break t;if(h===n&&++u===o&&(l=i),h===s&&++f===r&&(a=i),(S=c.nextSibling)!==null)break;c=h,h=c.parentNode}c=S}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Cu={focusedElem:e,selectionRange:n},Mi=!1,q=t;q!==null;)if(t=q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var v=m.memoizedProps,x=m.memoizedState,y=t.stateNode,d=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:$t(t.type,v),x);y.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(w){je(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return m=Yd,Yd=!1,m}function Yo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var s=o.destroy;o.destroy=void 0,s!==void 0&&ju(t,n,s)}o=o.next}while(o!==r)}}function Tl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function $u(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function fy(e){var t=e.alternate;t!==null&&(e.alternate=null,fy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Xt],delete t[ds],delete t[ku],delete t[WS],delete t[QS])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function dy(e){return e.tag===5||e.tag===3||e.tag===4}function Jd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||dy(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Bu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Vi));else if(r!==4&&(e=e.child,e!==null))for(Bu(e,t,n),e=e.sibling;e!==null;)Bu(e,t,n),e=e.sibling}function zu(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(zu(e,t,n),e=e.sibling;e!==null;)zu(e,t,n),e=e.sibling}var Ze=null,zt=!1;function En(e,t,n){for(n=n.child;n!==null;)hy(e,t,n),n=n.sibling}function hy(e,t,n){if(tn&&typeof tn.onCommitFiberUnmount=="function")try{tn.onCommitFiberUnmount(gl,n)}catch{}switch(n.tag){case 5:st||Mr(n,t);case 6:var r=Ze,o=zt;Ze=null,En(e,t,n),Ze=r,zt=o,Ze!==null&&(zt?(e=Ze,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ze.removeChild(n.stateNode));break;case 18:Ze!==null&&(zt?(e=Ze,n=n.stateNode,e.nodeType===8?ka(e.parentNode,n):e.nodeType===1&&ka(e,n),ls(e)):ka(Ze,n.stateNode));break;case 4:r=Ze,o=zt,Ze=n.stateNode.containerInfo,zt=!0,En(e,t,n),Ze=r,zt=o;break;case 0:case 11:case 14:case 15:if(!st&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var s=o,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&ju(n,t,i),o=o.next}while(o!==r)}En(e,t,n);break;case 1:if(!st&&(Mr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){je(n,t,l)}En(e,t,n);break;case 21:En(e,t,n);break;case 22:n.mode&1?(st=(r=st)||n.memoizedState!==null,En(e,t,n),st=r):En(e,t,n);break;default:En(e,t,n)}}function Xd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new aw),t.forEach(function(r){var o=gw.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Vt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=i),r&=~s}if(r=o,r=ze()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*fw(r/1960))-r,10e?16:e,Dn===null)var r=!1;else{if(e=Dn,Dn=null,Xi=0,Se&6)throw Error(M(331));var o=Se;for(Se|=4,q=e.current;q!==null;){var s=q,i=s.child;if(q.flags&16){var l=s.deletions;if(l!==null){for(var a=0;aze()-sf?ur(e,0):of|=n),vt(e,t)}function _y(e,t){t===0&&(e.mode&1?(t=Ks,Ks<<=1,!(Ks&130023424)&&(Ks=4194304)):t=1);var n=ut();e=vn(e,t),e!==null&&(Rs(e,t,n),vt(e,n))}function vw(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),_y(e,n)}function gw(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),_y(e,n)}var Ry;Ry=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||mt.current)pt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return pt=!1,sw(e,t,n);pt=!!(e.flags&131072)}else pt=!1,Fe&&t.flags&1048576&&xm(t,zi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Si(e,t),e=t.pendingProps;var o=Gr(t,it.current);Hr(t,n),o=Xc(null,t,r,e,o,n);var s=Zc();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,yt(r)?(s=!0,$i(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,qc(t),o.updater=Cl,t.stateNode=o,o._reactInternals=t,bu(t,r,e,n),t=Mu(null,t,r,!0,s,n)):(t.tag=0,Fe&&s&&jc(t),lt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Si(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=ww(r),e=$t(r,e),o){case 0:t=Du(null,t,r,e,n);break e;case 1:t=qd(null,t,r,e,n);break e;case 11:t=Wd(null,t,r,e,n);break e;case 14:t=Qd(null,t,r,$t(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$t(r,o),Du(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$t(r,o),qd(e,t,r,o,n);case 3:e:{if(sy(t),e===null)throw Error(M(387));r=t.pendingProps,s=t.memoizedState,o=s.element,Am(e,t),Qi(t,r,null,n);var i=t.memoizedState;if(r=i.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=Zr(Error(M(423)),t),t=Kd(e,t,r,n,o);break e}else if(r!==o){o=Zr(Error(M(424)),t),t=Kd(e,t,r,n,o);break e}else for(Et=Bn(t.stateNode.containerInfo.firstChild),Ct=t,Fe=!0,Ht=null,n=bm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Yr(),r===o){t=gn(e,t,n);break e}lt(e,t,r,n)}t=t.child}return t;case 5:return Fm(t),e===null&&Lu(t),r=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,xu(r,o)?i=null:s!==null&&xu(r,s)&&(t.flags|=32),oy(e,t),lt(e,t,i,n),t.child;case 6:return e===null&&Lu(t),null;case 13:return iy(e,t,n);case 4:return Kc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Jr(t,null,r,n):lt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$t(r,o),Wd(e,t,r,o,n);case 7:return lt(e,t,t.pendingProps,n),t.child;case 8:return lt(e,t,t.pendingProps.children,n),t.child;case 12:return lt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value,Ne(Hi,r._currentValue),r._currentValue=i,s!==null)if(Kt(s.value,i)){if(s.children===o.children&&!mt.current){t=gn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){i=s.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(s.tag===1){a=hn(-1,n&-n),a.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?a.next=a:(a.next=f.next,f.next=a),u.pending=a}}s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Pu(s.return,n,t),l.lanes|=n;break}a=a.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(M(341));i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Pu(i,n,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}lt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Hr(t,n),o=Mt(o),r=r(o),t.flags|=1,lt(e,t,r,n),t.child;case 14:return r=t.type,o=$t(r,t.pendingProps),o=$t(r.type,o),Qd(e,t,r,o,n);case 15:return ny(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:$t(r,o),Si(e,t),t.tag=1,yt(r)?(e=!0,$i(t)):e=!1,Hr(t,n),Pm(t,r,o),bu(t,r,o,n),Mu(null,t,r,!0,e,n);case 19:return ly(e,t,n);case 22:return ry(e,t,n)}throw Error(M(156,t.tag))};function Ey(e,t){return Gp(e,t)}function Sw(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bt(e,t,n,r){return new Sw(e,t,n,r)}function cf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ww(e){if(typeof e=="function")return cf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Nc)return 11;if(e===Ac)return 14}return 2}function Qn(e,t){var n=e.alternate;return n===null?(n=bt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ri(e,t,n,r,o,s){var i=2;if(r=e,typeof e=="function")cf(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case kr:return cr(n.children,o,s,t);case kc:i=8,o|=8;break;case ru:return e=bt(12,n,t,o|2),e.elementType=ru,e.lanes=s,e;case ou:return e=bt(13,n,t,o),e.elementType=ou,e.lanes=s,e;case su:return e=bt(19,n,t,o),e.elementType=su,e.lanes=s,e;case Op:return Nl(n,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Lp:i=10;break e;case Pp:i=9;break e;case Nc:i=11;break e;case Ac:i=14;break e;case Nn:i=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=bt(i,n,t,o),t.elementType=e,t.type=r,t.lanes=s,t}function cr(e,t,n,r){return e=bt(7,e,r,t),e.lanes=n,e}function Nl(e,t,n,r){return e=bt(22,e,r,t),e.elementType=Op,e.lanes=n,e.stateNode={isHidden:!1},e}function Da(e,t,n){return e=bt(6,e,null,t),e.lanes=n,e}function Ma(e,t,n){return t=bt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function _w(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ya(0),this.expirationTimes=ya(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ya(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ff(e,t,n,r,o,s,i,l,a){return e=new _w(e,t,n,l,a),t===1?(t=1,s===!0&&(t|=8)):t=0,s=bt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},qc(s),e}function Rw(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ky)}catch(e){console.error(e)}}ky(),xp.exports=Tt;var Ny=xp.exports;const kw=Sc(Ny);var ih=Ny;tu.createRoot=ih.createRoot,tu.hydrateRoot=ih.hydrateRoot;/** +`+s.stack}return{value:e,source:t,stack:o,digest:null}}function ba(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Fu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var nw=typeof WeakMap=="function"?WeakMap:Map;function ey(e,t,n){n=yn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ji||(Ji=!0,Hu=r),Fu(e,t)},n}function ty(e,t,n){n=yn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Fu(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Fu(e,t),typeof r!="function"&&(Hn===null?Hn=new Set([this]):Hn.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function Bd(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new nw;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=yw.bind(null,e,t,n),t.then(e,e))}function zd(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Hd(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=yn(-1,1),t.tag=2,zn(n,t,1))),n.lanes|=1),e)}var rw=Rn.ReactCurrentOwner,mt=!1;function at(e,t,n,r){t.child=e===null?bm(t,null,n,r):Jr(t,e.child,n,r)}function Wd(e,t,n,r,o){n=n.render;var s=t.ref;return Hr(t,o),r=Xc(e,t,n,r,s,o),n=Zc(),e!==null&&!mt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,_n(e,t,o)):(Fe&&n&&jc(t),t.flags|=1,at(e,t,r,o),t.child)}function Qd(e,t,n,r,o){if(e===null){var s=n.type;return typeof s=="function"&&!cf(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,ny(e,t,s,r,o)):(e=Ri(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&o)){var i=s.memoizedProps;if(n=n.compare,n=n!==null?n:us,n(i,r)&&e.ref===t.ref)return _n(e,t,o)}return t.flags|=1,e=Qn(s,r),e.ref=t.ref,e.return=t,t.child=e}function ny(e,t,n,r,o){if(e!==null){var s=e.memoizedProps;if(us(s,r)&&e.ref===t.ref)if(mt=!1,t.pendingProps=r=s,(e.lanes&o)!==0)e.flags&131072&&(mt=!0);else return t.lanes=e.lanes,_n(e,t,o)}return Du(e,t,n,r,o)}function ry(e,t,n){var r=t.pendingProps,o=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ne(Ir,Rt),Rt|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ne(Ir,Rt),Rt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,Ne(Ir,Rt),Rt|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,Ne(Ir,Rt),Rt|=r;return at(e,t,o,n),t.child}function oy(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Du(e,t,n,r,o){var s=vt(n)?fr:it.current;return s=Gr(t,s),Hr(t,o),n=Xc(e,t,n,r,s,o),r=Zc(),e!==null&&!mt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,_n(e,t,o)):(Fe&&r&&jc(t),t.flags|=1,at(e,t,n,o),t.child)}function qd(e,t,n,r,o){if(vt(n)){var s=!0;$i(t)}else s=!1;if(Hr(t,o),t.stateNode===null)Si(e,t),Pm(t,n,r),bu(t,n,r,o),r=!0;else if(e===null){var i=t.stateNode,l=t.memoizedProps;i.props=l;var a=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=Mt(u):(u=vt(n)?fr:it.current,u=Gr(t,u));var f=n.getDerivedStateFromProps,c=typeof f=="function"||typeof i.getSnapshotBeforeUpdate=="function";c||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==r||a!==u)&&Ud(t,i,r,u),An=!1;var h=t.memoizedState;i.state=h,Qi(t,r,i,o),a=t.memoizedState,l!==r||h!==a||yt.current||An?(typeof f=="function"&&(Ou(t,n,f,r),a=t.memoizedState),(l=An||Id(t,n,l,r,h,a,u))?(c||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),i.props=r,i.state=a,i.context=u,r=l):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Am(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:$t(t.type,l),i.props=u,c=t.pendingProps,h=i.context,a=n.contextType,typeof a=="object"&&a!==null?a=Mt(a):(a=vt(n)?fr:it.current,a=Gr(t,a));var g=n.getDerivedStateFromProps;(f=typeof g=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==c||h!==a)&&Ud(t,i,r,a),An=!1,h=t.memoizedState,i.state=h,Qi(t,r,i,o);var y=t.memoizedState;l!==c||h!==y||yt.current||An?(typeof g=="function"&&(Ou(t,n,g,r),y=t.memoizedState),(u=An||Id(t,n,u,r,h,y,a)||!1)?(f||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,y,a),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,y,a)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),i.props=r,i.state=y,i.context=a,r=u):(typeof i.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Mu(e,t,n,r,s,o)}function Mu(e,t,n,r,o,s){oy(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return o&&Od(t,n,!1),_n(e,t,s);r=t.stateNode,rw.current=t;var l=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=Jr(t,e.child,null,s),t.child=Jr(t,null,l,s)):at(e,t,l,s),t.memoizedState=r.state,o&&Od(t,n,!0),t.child}function sy(e){var t=e.stateNode;t.pendingContext?Pd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Pd(e,t.context,!1),Kc(e,t.containerInfo)}function Kd(e,t,n,r,o){return Yr(),Bc(o),t.flags|=256,at(e,t,n,r),t.child}var Iu={dehydrated:null,treeContext:null,retryLane:0};function Uu(e){return{baseLanes:e,cachePool:null,transitions:null}}function iy(e,t,n){var r=t.pendingProps,o=Ie.current,s=!1,i=(t.flags&128)!==0,l;if((l=i)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),Ne(Ie,o&1),e===null)return Lu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,s?(r=t.mode,s=t.child,i={mode:"hidden",children:i},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=Nl(i,r,0,null),e=cr(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Uu(n),t.memoizedState=Iu,e):nf(t,i));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return ow(e,t,i,r,l,o,n);if(s){s=r.fallback,i=t.mode,o=e.child,l=o.sibling;var a={mode:"hidden",children:r.children};return!(i&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=Qn(o,a),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?s=Qn(l,s):(s=cr(s,i,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,i=e.child.memoizedState,i=i===null?Uu(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~n,t.memoizedState=Iu,r}return s=e.child,e=s.sibling,r=Qn(s,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function nf(e,t){return t=Nl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ni(e,t,n,r){return r!==null&&Bc(r),Jr(t,e.child,null,n),e=nf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ow(e,t,n,r,o,s,i){if(n)return t.flags&256?(t.flags&=-257,r=ba(Error(I(422))),ni(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,o=t.mode,r=Nl({mode:"visible",children:r.children},o,0,null),s=cr(s,o,i,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&Jr(t,e.child,null,i),t.child.memoizedState=Uu(i),t.memoizedState=Iu,s);if(!(t.mode&1))return ni(e,t,i,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,s=Error(I(419)),r=ba(s,r,void 0),ni(e,t,i,r)}if(l=(i&e.childLanes)!==0,mt||l){if(r=Je,r!==null){switch(i&-i){case 4:o=2;break;case 16:o=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|i)?0:o,o!==0&&o!==s.retryLane&&(s.retryLane=o,wn(e,o),qt(r,e,o,-1))}return uf(),r=ba(Error(I(421))),ni(e,t,i,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=vw.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,Et=Bn(o.nextSibling),Ct=t,Fe=!0,Ht=null,e!==null&&(Pt[Ot++]=pn,Pt[Ot++]=mn,Pt[Ot++]=dr,pn=e.id,mn=e.overflow,dr=t),t=nf(t,r.children),t.flags|=4096,t)}function Gd(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Pu(e.return,t,n)}function Fa(e,t,n,r,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=o)}function ly(e,t,n){var r=t.pendingProps,o=r.revealOrder,s=r.tail;if(at(e,t,r.children,n),r=Ie.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Gd(e,n,t);else if(e.tag===19)Gd(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ne(Ie,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&qi(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Fa(t,!1,o,n,s);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&qi(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Fa(t,!0,n,null,s);break;case"together":Fa(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Si(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function _n(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),pr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(I(153));if(t.child!==null){for(e=t.child,n=Qn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Qn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function sw(e,t,n){switch(t.tag){case 3:sy(t),Yr();break;case 5:Fm(t);break;case 1:vt(t.type)&&$i(t);break;case 4:Kc(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Ne(Hi,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ne(Ie,Ie.current&1),t.flags|=128,null):n&t.child.childLanes?iy(e,t,n):(Ne(Ie,Ie.current&1),e=_n(e,t,n),e!==null?e.sibling:null);Ne(Ie,Ie.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return ly(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ne(Ie,Ie.current),r)break;return null;case 22:case 23:return t.lanes=0,ry(e,t,n)}return _n(e,t,n)}var ay,Vu,uy,cy;ay=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Vu=function(){};uy=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ir(nn.current);var s=null;switch(n){case"input":o=lu(e,o),r=lu(e,r),s=[];break;case"select":o=Ve({},o,{value:void 0}),r=Ve({},r,{value:void 0}),s=[];break;case"textarea":o=cu(e,o),r=cu(e,r),s=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Vi)}du(n,r);var i;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ns.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var a=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(i in l)!l.hasOwnProperty(i)||a&&a.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in a)a.hasOwnProperty(i)&&l[i]!==a[i]&&(n||(n={}),n[i]=a[i])}else n||(s||(s=[]),s.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(s=s||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(s=s||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ns.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&Le("scroll",e),s||l===a||(s=[])):(s=s||[]).push(u,a))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};cy=function(e,t,n,r){n!==r&&(t.flags|=4)};function ko(e,t){if(!Fe)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ot(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function iw(e,t,n){var r=t.pendingProps;switch($c(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ot(t),null;case 1:return vt(t.type)&&ji(),ot(t),null;case 3:return r=t.stateNode,Xr(),Oe(yt),Oe(it),Yc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ei(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ht!==null&&(qu(Ht),Ht=null))),Vu(e,t),ot(t),null;case 5:Gc(t);var o=ir(ps.current);if(n=t.type,e!==null&&t.stateNode!=null)uy(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(I(166));return ot(t),null}if(e=ir(nn.current),ei(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Xt]=t,r[ds]=s,e=(t.mode&1)!==0,n){case"dialog":Le("cancel",r),Le("close",r);break;case"iframe":case"object":case"embed":Le("load",r);break;case"video":case"audio":for(o=0;o<$o.length;o++)Le($o[o],r);break;case"source":Le("error",r);break;case"img":case"image":case"link":Le("error",r),Le("load",r);break;case"details":Le("toggle",r);break;case"input":od(r,s),Le("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Le("invalid",r);break;case"textarea":id(r,s),Le("invalid",r)}du(n,s),o=null;for(var i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="children"?typeof l=="string"?r.textContent!==l&&(s.suppressHydrationWarning!==!0&&Zs(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(s.suppressHydrationWarning!==!0&&Zs(r.textContent,l,e),o=["children",""+l]):ns.hasOwnProperty(i)&&l!=null&&i==="onScroll"&&Le("scroll",r)}switch(n){case"input":Ws(r),sd(r,s,!0);break;case"textarea":Ws(r),ld(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=Vi)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ip(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="